@officedk/pptxdk 0.2.0 → 0.2.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/dist/build.d.ts +5 -8
- package/dist/build.js +44 -52
- package/dist/core/dist/capabilities/audio/audio-declaration.js +7 -0
- package/dist/core/dist/capabilities/audio/audio-source.js +172 -0
- package/dist/core/dist/capabilities/audio/entry.js +122 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/box/box-codegen.js +7 -8
- package/dist/{capabilities/dist → core/dist/capabilities}/box/box-declaration.js +8 -8
- package/dist/{capabilities/dist → core/dist/capabilities}/box/box.js +14 -15
- package/dist/core/dist/capabilities/box/entry.js +2 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/chart-codegen.js +11 -18
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/chart-declaration.js +2 -2
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/chart-import.js +891 -468
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/chart-labels.js +30 -3
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/chart-model.js +1 -1
- package/dist/{capabilities/dist/chart/preview/number-format.js → core/dist/capabilities/chart/chart-number-format.js} +1 -1
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/chart-schemas.js +73 -79
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/chart-xml.js +41 -36
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/chart.js +175 -113
- package/dist/core/dist/capabilities/chart/entry.js +2 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/preview/axes-and-grid.js +2 -2
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/preview/bar-column.js +1 -1
- package/dist/core/dist/capabilities/chart/preview/data-labels.js +474 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/preview/error-bars.js +3 -1
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/preview/index.js +28 -9
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/preview/layout.js +7 -9
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/preview/legend.js +1 -1
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/preview/line-area.js +1 -1
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/preview/markers.js +1 -1
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/preview/pie-doughnut.js +39 -60
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/preview/scales.js +1 -1
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/preview/scatter.js +1 -1
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/preview/style.js +1 -1
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/preview/text-render.js +34 -24
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/preview/trendlines.js +3 -3
- package/dist/{capabilities/dist → core/dist/capabilities}/chart/preview/types.js +1 -1
- package/dist/core/dist/capabilities/comment/comment-codegen.js +25 -0
- package/dist/core/dist/capabilities/comment/comment-declaration.js +37 -0
- package/dist/core/dist/capabilities/comment/comment-import.js +176 -0
- package/dist/core/dist/capabilities/comment/comment.js +141 -0
- package/dist/core/dist/capabilities/comment/entry.js +1 -0
- package/dist/core/dist/capabilities/footer-placeholder/entry.js +2 -0
- package/dist/core/dist/capabilities/footer-placeholder/footer-placeholder-codegen.js +16 -0
- package/dist/{capabilities/dist/masters → core/dist/capabilities/footer-placeholder}/footer-placeholder.js +113 -50
- package/dist/core/dist/capabilities/footer-placeholder/print-header-footer-import.js +121 -0
- package/dist/core/dist/capabilities/footer-placeholder/print-header-footer.js +123 -0
- package/dist/core/dist/capabilities/group/entry.js +2 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/group/group-codegen.js +6 -7
- package/dist/{capabilities/dist → core/dist/capabilities}/group/group-declaration.js +8 -8
- package/dist/{capabilities/dist → core/dist/capabilities}/group/group-import.js +36 -77
- package/dist/{capabilities/dist → core/dist/capabilities}/group/group-xml.js +1 -1
- package/dist/{capabilities/dist → core/dist/capabilities}/group/group.js +17 -17
- package/dist/core/dist/capabilities/image/entry.js +4 -0
- package/dist/core/dist/capabilities/image/image-codegen.js +59 -0
- package/dist/core/dist/capabilities/image/image-declaration.js +8 -0
- package/dist/core/dist/capabilities/image/image-import.js +26 -0
- package/dist/core/dist/capabilities/image/image.js +57 -0
- package/dist/core/dist/capabilities/line/entry.js +3 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/line/line-codegen.js +6 -7
- package/dist/{capabilities/dist → core/dist/capabilities}/line/line-declaration.js +15 -9
- package/dist/{capabilities/dist → core/dist/capabilities}/line/line-import.js +15 -95
- package/dist/{capabilities/dist → core/dist/capabilities}/line/line-xml.js +1 -1
- package/dist/{capabilities/dist → core/dist/capabilities}/line/line.js +41 -43
- package/dist/core/dist/capabilities/masters/entry.js +1 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/masters/masters-codegen.js +7 -26
- package/dist/{capabilities/dist → core/dist/capabilities}/masters/masters.js +23 -35
- package/dist/core/dist/capabilities/motion/entry.js +5 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/motion/motion-codegen.js +15 -35
- package/dist/{capabilities/dist → core/dist/capabilities}/motion/motion-import.js +25 -9
- package/dist/{capabilities/dist → core/dist/capabilities}/motion/motion-plan.js +17 -14
- package/dist/{capabilities/dist → core/dist/capabilities}/motion/motion-query.js +2 -2
- package/dist/{capabilities/dist → core/dist/capabilities}/motion/motion.js +79 -75
- package/dist/core/dist/capabilities/notes/entry.js +2 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/notes/notes-codegen.js +4 -5
- package/dist/{capabilities/dist → core/dist/capabilities}/notes/notes-declaration.js +2 -2
- package/dist/{capabilities/dist → core/dist/capabilities}/notes/notes-import.js +16 -13
- package/dist/{capabilities/dist → core/dist/capabilities}/notes/notes-schemas.js +6 -6
- package/dist/{capabilities/dist → core/dist/capabilities}/notes/notes.js +16 -41
- package/dist/{import/dist/sections.js → core/dist/capabilities/notes/sections-import.js} +5 -5
- package/dist/core/dist/capabilities/placeholder/entry.js +3 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/placeholder/placeholder-codegen.js +5 -15
- package/dist/{capabilities/dist → core/dist/capabilities}/placeholder/placeholder-schemas.js +7 -9
- package/dist/{capabilities/dist → core/dist/capabilities}/placeholder/placeholder.js +50 -107
- package/dist/core/dist/capabilities/shape/entry.js +6 -0
- package/dist/core/dist/capabilities/shape/shape-codegen.js +112 -0
- package/dist/core/dist/capabilities/shape/shape-import.js +152 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/shape/shape-xml.js +1 -1
- package/dist/{capabilities/dist → core/dist/capabilities}/shape/shape.js +44 -30
- package/dist/core/dist/capabilities/shared/container-slots.js +59 -0
- package/dist/core/dist/capabilities/shared/date-time.js +98 -0
- package/dist/{capabilities/dist → core/dist/capabilities/shared}/font/font-embedding.js +5 -6
- package/dist/{capabilities/dist → core/dist/capabilities/shared}/font/font-engine.js +34 -13
- package/dist/{capabilities/dist → core/dist/capabilities/shared}/font/font-import.js +62 -23
- package/dist/{capabilities/dist → core/dist/capabilities/shared}/font/font-subset.js +24 -9
- package/dist/{capabilities/dist → core/dist/capabilities/shared}/font/font.js +4 -4
- package/dist/core/dist/capabilities/shared/geometry-codegen.js +101 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/shared/geometry.js +47 -44
- package/dist/{capabilities/dist → core/dist/capabilities}/shared/identity.js +56 -38
- package/dist/core/dist/capabilities/shared/image-codegen.js +94 -0
- package/dist/{capabilities/dist/image → core/dist/capabilities/shared}/image-decode.js +17 -79
- package/dist/{capabilities/dist/image → core/dist/capabilities/shared}/image-schemas.js +16 -26
- package/dist/core/dist/capabilities/shared/line-match.js +78 -0
- package/dist/core/dist/capabilities/shared/media-codegen.js +86 -0
- package/dist/core/dist/capabilities/shared/media-import.js +156 -0
- package/dist/core/dist/capabilities/shared/media-placement.js +20 -0
- package/dist/core/dist/capabilities/shared/media-poster.js +50 -0
- package/dist/core/dist/capabilities/shared/media-schemas.js +60 -0
- package/dist/core/dist/capabilities/shared/media-source.js +107 -0
- package/dist/core/dist/capabilities/shared/media-trim.js +102 -0
- package/dist/core/dist/capabilities/shared/media.js +134 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/shared/morph-api.js +5 -5
- package/dist/{capabilities/dist/motion → core/dist/capabilities/shared}/motion-api.js +112 -99
- package/dist/{capabilities/dist/motion → core/dist/capabilities/shared}/motion-schemas.js +19 -5
- package/dist/{capabilities/dist/image/image-import.js → core/dist/capabilities/shared/picture-import.js} +97 -158
- package/dist/core/dist/capabilities/shared/picture-xml.js +13 -0
- package/dist/core/dist/capabilities/shared/picture.js +510 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/shared/placeholder-import.js +50 -20
- package/dist/core/dist/capabilities/shared/placeholder-roles.js +42 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/shared/preset-definitions.js +1 -1
- package/dist/core/dist/capabilities/shared/print-xml.js +77 -0
- package/dist/{capabilities/dist/text/text-codegen.js → core/dist/capabilities/shared/rich-text-codegen.js} +23 -102
- package/dist/core/dist/capabilities/shared/rich-text-import.js +472 -0
- package/dist/{capabilities/dist/shape → core/dist/capabilities/shared}/shape-declaration.js +14 -14
- package/dist/{capabilities/dist → core/dist/capabilities}/shared/style-inheritance.js +12 -5
- package/dist/{capabilities/dist/text → core/dist/capabilities/shared}/text-declaration.js +7 -3
- package/dist/{capabilities/dist → core/dist/capabilities}/shared/text-schemas.js +77 -77
- package/dist/{capabilities/dist → core/dist/capabilities}/shared/text-service.js +571 -260
- package/dist/{capabilities/dist → core/dist/capabilities}/shared/visual.js +137 -112
- package/dist/core/dist/capabilities/slide-background/entry.js +1 -0
- package/dist/core/dist/capabilities/slide-background/slide-background-codegen.js +15 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/slide-background/slide-background-import.js +5 -5
- package/dist/{capabilities/dist → core/dist/capabilities}/slide-background/slide-background-xml.js +2 -3
- package/dist/{capabilities/dist → core/dist/capabilities}/slide-background/slide-background.js +27 -33
- package/dist/core/dist/capabilities/table/entry.js +2 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/table/table-codegen.js +6 -13
- package/dist/{capabilities/dist → core/dist/capabilities}/table/table-declaration.js +2 -2
- package/dist/{capabilities/dist → core/dist/capabilities}/table/table-import.js +22 -57
- package/dist/{capabilities/dist → core/dist/capabilities}/table/table-schemas.js +40 -37
- package/dist/{capabilities/dist → core/dist/capabilities}/table/table-xml.js +9 -4
- package/dist/{capabilities/dist → core/dist/capabilities}/table/table.js +60 -45
- package/dist/core/dist/capabilities/text/entry.js +3 -0
- package/dist/core/dist/capabilities/text/text-codegen.js +66 -0
- package/dist/core/dist/capabilities/text/text-import.js +468 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/text/text-xml.js +3 -4
- package/dist/{capabilities/dist → core/dist/capabilities}/text/text.js +61 -54
- package/dist/core/dist/capabilities/transition/entry.js +3 -0
- package/dist/{capabilities/dist → core/dist/capabilities}/transition/transition-api.js +1 -1
- package/dist/{capabilities/dist → core/dist/capabilities}/transition/transition-codegen.js +2 -3
- package/dist/{capabilities/dist → core/dist/capabilities}/transition/transition-import.js +25 -27
- package/dist/{capabilities/dist → core/dist/capabilities}/transition/transition.js +23 -23
- package/dist/core/dist/capabilities/video/entry.js +77 -0
- package/dist/core/dist/capabilities/video/video-declaration.js +7 -0
- package/dist/core/dist/capabilities/video/video-source.js +42 -0
- package/dist/{codegen/dist → core/dist/codegen}/assets.js +13 -8
- package/dist/{codegen/dist → core/dist/codegen}/codegen.js +54 -122
- package/dist/{codegen/dist → core/dist/codegen}/identifiers.js +17 -1
- package/dist/{codegen/dist → core/dist/codegen}/index.js +2 -2
- package/dist/{codegen/dist → core/dist/codegen}/printer.js +23 -4
- package/dist/core/dist/document/all.js +41 -0
- package/dist/core/dist/document/default.js +10 -0
- package/dist/core/dist/document/document.js +218 -0
- package/dist/core/dist/document/index.js +62 -0
- package/dist/core/dist/document/stages.js +54 -0
- package/dist/{emit/dist → core/dist/emit}/emit.js +122 -60
- package/dist/core/dist/emit/index.js +6 -0
- package/dist/core/dist/emit/ooxml.js +241 -0
- package/dist/{import/dist → core/dist/import}/import.js +221 -187
- package/dist/core/dist/import/index.js +19 -0
- package/dist/{import/dist → core/dist/import}/masters.js +253 -317
- package/dist/core/dist/import/media-timing.js +233 -0
- package/dist/{import/dist → core/dist/import}/notes-masters.js +48 -45
- package/dist/core/dist/index.js +47 -15
- package/dist/core/dist/{author-ids.js → kernel/author-ids.js} +1 -1
- package/dist/core/dist/{author-schemas.js → kernel/author-schemas.js} +59 -98
- package/dist/core/dist/{block-flex-layout.js → kernel/block-flex-layout.js} +109 -78
- package/dist/core/dist/kernel/build.js +4 -0
- package/dist/core/dist/kernel/capability.js +17 -0
- package/dist/{codegen/dist/types.js → core/dist/kernel/codegen.js} +22 -2
- package/dist/core/dist/kernel/container-slots.js +104 -0
- package/dist/core/dist/kernel/date-time-format.js +18 -0
- package/dist/core/dist/kernel/declaration-snapshot.js +68 -0
- package/dist/core/dist/{declaration.js → kernel/declaration.js} +1 -1
- package/dist/core/dist/{diagnostics.js → kernel/diagnostics.js} +22 -5
- package/dist/core/dist/{document-internals.js → kernel/document-internals.js} +1 -1
- package/dist/core/dist/{document.js → kernel/document.js} +6 -5
- package/dist/core/dist/kernel/drawing-units.js +14 -0
- package/dist/core/dist/{font-seal.js → kernel/font-seal.js} +2 -2
- package/dist/core/dist/{geometry-schemas.js → kernel/geometry-schemas.js} +2 -6
- package/dist/core/dist/{grid-layout.js → kernel/grid-layout.js} +156 -55
- package/dist/core/dist/{host.js → kernel/host.js} +1 -1
- package/dist/core/dist/kernel/index.js +24 -0
- package/dist/core/dist/{input-values.js → kernel/input-values.js} +4 -3
- package/dist/core/dist/kernel/layout-definition.js +7 -0
- package/dist/core/dist/{layout-protocol.js → kernel/layout-protocol.js} +1 -1
- package/dist/core/dist/{layout-schemas.js → kernel/layout-schemas.js} +2 -6
- package/dist/core/dist/{layout.js → kernel/layout.js} +37 -38
- package/dist/core/dist/{masters.js → kernel/masters.js} +32 -55
- package/dist/core/dist/{morph.js → kernel/morph.js} +1 -1
- package/dist/core/dist/{placeholders.js → kernel/placeholders.js} +23 -9
- package/dist/{import/dist → core/dist/kernel/pptx-read}/alternate-content.js +1 -1
- package/dist/{import/dist → core/dist/kernel/pptx-read}/diagnostics.js +1 -1
- package/dist/core/dist/kernel/pptx-read/drawing-list-import.js +251 -0
- package/dist/{import/dist → core/dist/kernel/pptx-read}/fonts.js +1 -1
- package/dist/core/dist/kernel/pptx-read/index.js +15 -0
- package/dist/{import/dist → core/dist/kernel/pptx-read}/mechanism.js +1 -1
- package/dist/core/dist/kernel/pptx-read/media.js +26 -0
- package/dist/{import/dist → core/dist/kernel/pptx-read}/namespaces.js +5 -7
- package/dist/{import/dist → core/dist/kernel/pptx-read}/opc.js +62 -13
- package/dist/{import/dist → core/dist/kernel/pptx-read}/resources.js +1 -1
- package/dist/core/dist/kernel/pptx-read/shape-tree.js +57 -0
- package/dist/{import/dist → core/dist/kernel/pptx-read}/themes.js +40 -5
- package/dist/{import/dist → core/dist/kernel/pptx-read}/visual.js +94 -67
- package/dist/{import/dist → core/dist/kernel/pptx-read}/xml-fragments.js +56 -13
- package/dist/{import/dist → core/dist/kernel/pptx-read}/xml-reader.js +8 -1
- package/dist/{emit/dist → core/dist/kernel/pptx-write}/shape-tree.js +1 -1
- package/dist/core/dist/kernel/pptx-write/timing.js +52 -0
- package/dist/{emit/dist/ooxml.js → core/dist/kernel/pptx-write/xml.js} +62 -274
- package/dist/core/dist/{query.js → kernel/query.js} +5 -1
- package/dist/core/dist/{resolution.js → kernel/resolution.js} +1 -1
- package/dist/core/dist/kernel/resolve-work.js +58 -0
- package/dist/core/dist/{resolve.js → kernel/resolve.js} +226 -257
- package/dist/core/dist/kernel/resource-source.js +11 -0
- package/dist/core/dist/{stage-options.js → kernel/stage-options.js} +23 -11
- package/dist/core/dist/{theme.js → kernel/theme.js} +54 -36
- package/dist/core/dist/{transform-geometry.js → kernel/transform-geometry.js} +1 -1
- package/dist/core/dist/kernel/xml-values.js +13 -0
- package/dist/{document-41spD7bq.d.ts → document-C0lPlH-L.d.ts} +614 -522
- package/dist/{capability-BbKW9w4O.d.ts → index-B9_OUeA-.d.ts} +660 -553
- package/dist/{index-BEwhk7c8.d.ts → index-BJEzQxWV.d.ts} +27 -24
- package/dist/{index-cK2KtukZ.d.ts → index-DA9flrlR.d.ts} +2 -17
- package/dist/{index-v77CTJev.d.ts → index-GSt0t9VO.d.ts} +3 -4
- package/dist/index.d.ts +7 -8
- package/dist/index.js +68 -66
- package/dist/node.d.ts +16 -14
- package/dist/node.js +86 -43
- package/dist/pptxdk/src/cli-commands.js +9 -5
- package/dist/pptxdk/src/compose.js +28 -29
- package/dist/pptxdk/src/preview-result.js +24 -0
- package/dist/{capabilities/dist/image → preview/dist}/gif-decoder.js +5 -5
- package/dist/preview/dist/index.js +84 -34
- package/dist/preview/dist/options.js +8 -4
- package/dist/preview/dist/raster.js +66 -0
- package/dist/preview/dist/svg-guard.js +8 -7
- package/dist/preview.d.ts +3 -9
- package/dist/preview.js +7 -25
- package/dist/react/dist/append.js +3 -3
- package/dist/react/dist/author/audio-elements.js +14 -0
- package/dist/{capabilities/dist/box → react/dist/author}/box-elements.js +5 -3
- package/dist/react/dist/author/chart-elements.js +14 -0
- package/dist/react/dist/author/comment-elements.js +15 -0
- package/dist/react/dist/author/group-elements.js +14 -0
- package/dist/react/dist/author/image-elements.js +14 -0
- package/dist/react/dist/author/line-elements.js +14 -0
- package/dist/{capabilities/dist/motion → react/dist/author}/motion-elements.js +6 -4
- package/dist/react/dist/author/notes-elements.js +14 -0
- package/dist/react/dist/author/placeholder-elements.js +14 -0
- package/dist/react/dist/author/shape-elements.js +14 -0
- package/dist/{capabilities/dist/table → react/dist/author}/table-elements.js +6 -4
- package/dist/{capabilities/dist/text → react/dist/author}/text-elements.js +15 -5
- package/dist/react/dist/author/video-elements.js +14 -0
- package/dist/react/dist/document-adapter.js +4 -4
- package/dist/react/dist/elements.js +7 -4
- package/dist/react/dist/from-vanilla.js +3 -3
- package/dist/react/dist/index.js +17 -3
- package/dist/react/dist/reconciler.js +3 -3
- package/dist/react.d.ts +103 -69
- package/dist/react.js +28 -28
- package/dist/{index-1ag7U9Jt.d.ts → stages-DYHSHKt4.d.ts} +23 -6
- package/dist/vanilla.d.ts +4 -4
- package/dist/vanilla.js +14 -15
- package/package.json +2 -5
- package/dist/build-zrZuX4fK.d.ts +0 -3
- package/dist/capabilities/dist/all.js +0 -34
- package/dist/capabilities/dist/chart/chart-elements.js +0 -12
- package/dist/capabilities/dist/chart/preview/data-labels.js +0 -334
- package/dist/capabilities/dist/document.js +0 -168
- package/dist/capabilities/dist/group/group-elements.js +0 -12
- package/dist/capabilities/dist/image/image-codegen.js +0 -164
- package/dist/capabilities/dist/image/image-declaration.js +0 -8
- package/dist/capabilities/dist/image/image-elements.js +0 -12
- package/dist/capabilities/dist/image/image-xml.js +0 -12
- package/dist/capabilities/dist/image/image.js +0 -552
- package/dist/capabilities/dist/line/line-elements.js +0 -12
- package/dist/capabilities/dist/notes/notes-elements.js +0 -12
- package/dist/capabilities/dist/notes/notes-xml.js +0 -38
- package/dist/capabilities/dist/placeholder/placeholder-elements.js +0 -13
- package/dist/capabilities/dist/shape/shape-codegen.js +0 -236
- package/dist/capabilities/dist/shape/shape-elements.js +0 -12
- package/dist/capabilities/dist/shape/shape-import.js +0 -628
- package/dist/capabilities/dist/slide-background/slide-background-codegen.js +0 -44
- package/dist/capabilities/dist/text/text-import.js +0 -1224
- package/dist/core/dist/build.js +0 -4
- package/dist/core/dist/capability.js +0 -15
- package/dist/emit/dist/index.js +0 -5
- package/dist/import/dist/index.js +0 -16
- package/dist/pptxdk/src/slide.js +0 -9
- package/dist/transition-6n8GZxSg.d.ts +0 -9
|
@@ -1,7 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { $
|
|
1
|
+
import { t as ArrowType } from "./index-DA9flrlR.js";
|
|
2
|
+
import { $n as TextStyle, A as SlideContainer, C as CommonNode, Cn as PresetGeometryName, Dn as BorderValue, Fn as FontOptions, G as SlideMasterCoreProps, Gn as LinearGradient, H as SlideLayoutDefinition$1, Ht as MorphKey, I as FooterPlaceholders, It as ScreenPoint, Jt as ContentPlaceholderRole, L as HeaderFooter, M as SlideMasterContainer, Mn as Font, Nn as FontFace, O as RichTextContainer, On as BoxShadowValue, Rt as SlideLocator, S as CommonContainer, Sn as PresetGeometry, Tn as BorderObject, V as SlideLayoutCoreDataProps, W as SlideMasterCoreDataProps, Yt as EmptyPlaceholderMap, a as SectionProps, ar as ThemeOverride, c as SlideDateTimeValue, d as SlideStyle, dn as LayoutStyle, fn as NonNegativeLayoutSpacing, i as LinkTarget, j as SlideLayoutContainer, jn as ColorValue, jt as ResolvedSlide, k as RichTextItem, kn as ColorMap, l as SlideFooterValue, mi as AuthorId, mt as MediaTrim, nn as PlaceholderMap, o as SlideBackground, on as TextList, pn as PaddingStyle, qn as RadialGradient, r as DeckCoreProps, s as SlideCoreDataProps, sr as VisualStyle, u as SlideNumberValue, vn as CustomGeometry, w as DeckContainer, wi as DateTimeFormat, wn as BackgroundValue, xi as ResourceSource, yn as Geometry, zn as GradientStop } from "./index-B9_OUeA-.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
|
-
|
|
4
|
+
declare function preset(name: PresetGeometryName, adjust?: Readonly<Record<string, number>>): PresetGeometry;
|
|
5
|
+
/**
|
|
6
|
+
* Native blockArc (annular arc segment). Angles are in degrees, measured clockwise from 3 o'clock, consistent with DrawingML;
|
|
7
|
+
* thickness represents the ring width as a fraction of the shape's shorter side.
|
|
8
|
+
*/
|
|
9
|
+
declare function blockArc(options: {
|
|
10
|
+
readonly startAngle: number;
|
|
11
|
+
readonly endAngle: number;
|
|
12
|
+
readonly thickness: number;
|
|
13
|
+
}): PresetGeometry;
|
|
14
|
+
type PathOptions = {
|
|
15
|
+
/** Dimensions of the local coordinate space, similar to an SVG viewBox starting from 0,0. */
|
|
16
|
+
readonly viewBox: readonly [number, number];
|
|
17
|
+
readonly fill?: boolean | undefined;
|
|
18
|
+
readonly stroke?: boolean | undefined;
|
|
19
|
+
/** Fill rule for SVG path data; see `path`. */
|
|
20
|
+
readonly fillRule?: "nonzero" | "evenodd" | undefined;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Creates custom geometry from SVG path data. Multiple subpaths in a single string constitute the same native path; pass an array for separately stroked paths.
|
|
24
|
+
*
|
|
25
|
+
* PPTX does not have fill rules, so different applications interpret them individually. The default `fillRule: "nonzero"` writes paths as-is;
|
|
26
|
+
* in all applications, inner subpaths whose direction opposes the outer contour form holes. When set to `"evenodd"`, subpaths alternate directions according to nesting
|
|
27
|
+
* depth, allowing applications to display even-odd fill results. Subpaths that overlap without nesting, or self-intersecting subpaths, cannot achieve consistency this way.
|
|
28
|
+
*/
|
|
29
|
+
declare function path(data: string | readonly string[], options: PathOptions): CustomGeometry;
|
|
30
|
+
type MorphProps = {
|
|
31
|
+
readonly morphKey?: MorphKey | undefined;
|
|
32
|
+
};
|
|
5
33
|
type MotionDirection = "left" | "right" | "top" | "bottom";
|
|
6
34
|
type EntrancePreset = "appear" | "fade" | "wipe" | "zoom" | "fly" | "floatUp" | "floatDown" | "spinIn" | "stretch";
|
|
7
35
|
type EmphasisPreset = "spin" | "breathe" | "fillColor";
|
|
@@ -166,9 +194,77 @@ type OwnerMotionStep = {
|
|
|
166
194
|
type OwnerMotion = {
|
|
167
195
|
readonly steps: readonly OwnerMotionStep[];
|
|
168
196
|
};
|
|
169
|
-
type
|
|
197
|
+
type ImageFit = "fill" | "cover" | "contain";
|
|
198
|
+
type ImageCropInput = {
|
|
199
|
+
readonly left?: number | undefined;
|
|
200
|
+
readonly top?: number | undefined;
|
|
201
|
+
readonly right?: number | undefined;
|
|
202
|
+
readonly bottom?: number | undefined;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Image source accepted by `Image` / `image()`.
|
|
206
|
+
*
|
|
207
|
+
* Supports raster bitmap formats (**PNG, JPEG, GIF**) passed as a local file path, `file:` `URL`,
|
|
208
|
+
* or `Uint8Array` bytes, or `{ externalUrl }` for linked external images. `.svg` files are not
|
|
209
|
+
* supported; use `Shape` with `path()` custom geometry (`geometry={path(...)}`) for native
|
|
210
|
+
* editable vector graphics.
|
|
211
|
+
*/
|
|
212
|
+
type ImageSource = ResourceSource;
|
|
213
|
+
/** Visual styling supported on Image objects. */
|
|
214
|
+
type ImageVisualStyle = {
|
|
215
|
+
readonly background?: BackgroundValue | undefined;
|
|
216
|
+
readonly border?: BorderValue | undefined;
|
|
217
|
+
readonly opacity?: number | undefined;
|
|
218
|
+
readonly boxShadow?: BoxShadowValue | undefined;
|
|
219
|
+
readonly softEdge?: number | undefined;
|
|
220
|
+
readonly rotate?: number | undefined;
|
|
221
|
+
readonly flipH?: boolean | undefined;
|
|
222
|
+
readonly flipV?: boolean | undefined;
|
|
223
|
+
};
|
|
224
|
+
type ImageStyle = LayoutStyle & ImageVisualStyle;
|
|
225
|
+
type ImageDeclarationProps = MotionProps & {
|
|
226
|
+
readonly id?: AuthorId | undefined;
|
|
227
|
+
readonly name?: string | undefined;
|
|
228
|
+
readonly placeholder?: string | undefined;
|
|
170
229
|
readonly morphKey?: MorphKey | undefined;
|
|
230
|
+
readonly link?: LinkTarget | undefined;
|
|
231
|
+
/**
|
|
232
|
+
* Image source (PNG, JPEG, or GIF local path, `file:` `URL`, or `Uint8Array` bytes; or `{ externalUrl }`).
|
|
233
|
+
*
|
|
234
|
+
* `.svg` files are not supported; for native editable vector graphics, use `Shape` with `path()`
|
|
235
|
+
* custom geometry (`geometry={path(...)}`).
|
|
236
|
+
*/
|
|
237
|
+
readonly src: ImageSource;
|
|
238
|
+
/** Alternative text for the image. */
|
|
239
|
+
readonly alt?: string | undefined;
|
|
240
|
+
readonly geometry?: Geometry | undefined;
|
|
241
|
+
readonly style?: ImageStyle | undefined;
|
|
242
|
+
/** `fill` stretches, `cover` crops centered, `contain` preserves aspect ratio; defaults to `fill`. */
|
|
243
|
+
readonly fit?: ImageFit | undefined;
|
|
244
|
+
/** Explicit crop fraction for each side of the original image; takes precedence over `fit` when provided. */
|
|
245
|
+
readonly crop?: ImageCropInput | undefined;
|
|
171
246
|
};
|
|
247
|
+
/** Standalone playback controls for an audio or video object. */
|
|
248
|
+
type MediaPlaybackProps = {
|
|
249
|
+
readonly autoPlay?: boolean | undefined;
|
|
250
|
+
readonly loop?: boolean | undefined;
|
|
251
|
+
readonly muted?: boolean | undefined;
|
|
252
|
+
/** Volume from 0 to 1, defaulting to 0 when muted and otherwise 1. */
|
|
253
|
+
readonly volume?: number | undefined;
|
|
254
|
+
readonly trim?: MediaTrim | undefined;
|
|
255
|
+
};
|
|
256
|
+
type CommonMediaProps = Pick<ImageDeclarationProps, "id" | "name" | "alt"> & MediaPlaybackProps & {
|
|
257
|
+
readonly src: ResourceSource;
|
|
258
|
+
readonly poster?: ImageSource | undefined;
|
|
259
|
+
};
|
|
260
|
+
type AudioDeclarationProps = CommonMediaProps & {
|
|
261
|
+
readonly style?: LayoutStyle | undefined;
|
|
262
|
+
/** Defaults to the value of autoPlay. */
|
|
263
|
+
readonly hideDuringShow?: boolean | undefined;
|
|
264
|
+
};
|
|
265
|
+
type VideoDeclarationProps = CommonMediaProps & Pick<ImageDeclarationProps, "placeholder" | "morphKey" | "geometry" | "style" | "fit" | "crop">;
|
|
266
|
+
type AudioSource = ResourceSource;
|
|
267
|
+
type AudioNode = CommonNode<"audio", AudioDeclarationProps, LayoutStyle>;
|
|
172
268
|
type BoxStyle = LayoutStyle & TextStyle & VisualStyle;
|
|
173
269
|
/** Layout container appearance with visual styling that optionally generates a native background shape. */
|
|
174
270
|
type BoxDeclarationProps = MotionProps & {
|
|
@@ -177,275 +273,60 @@ type BoxDeclarationProps = MotionProps & {
|
|
|
177
273
|
readonly link?: LinkTarget | undefined;
|
|
178
274
|
readonly style?: BoxStyle | undefined;
|
|
179
275
|
};
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
*/
|
|
187
|
-
declare function fromFontCollection(bytes: Uint8Array, family: string, options?: FontOptions): Font;
|
|
188
|
-
/** Unknown start constraint points to the start or end time of an effect, effect collection for the same object, or real scope. */
|
|
189
|
-
type MotionStartDependency = {
|
|
190
|
-
readonly targetId: number;
|
|
191
|
-
readonly effectIndex: number;
|
|
192
|
-
readonly partIndex?: number;
|
|
193
|
-
readonly point: "end";
|
|
194
|
-
readonly offsetMs: number;
|
|
195
|
-
} | {
|
|
196
|
-
readonly targetId: number;
|
|
197
|
-
readonly group: "effects";
|
|
198
|
-
readonly point: "end";
|
|
199
|
-
readonly offsetMs: number;
|
|
200
|
-
} | {
|
|
201
|
-
readonly scopeId: string;
|
|
202
|
-
readonly point: "start" | "end";
|
|
203
|
-
readonly offsetMs: number;
|
|
276
|
+
type ChartKind = "column" | "bar" | "line" | "area" | "pie" | "doughnut" | "scatter";
|
|
277
|
+
type ChartTextStyle = Omit<TextStyle, "textWrap">;
|
|
278
|
+
type ChartStyle = LayoutStyle & ChartTextStyle;
|
|
279
|
+
type ChartTitle = string | {
|
|
280
|
+
readonly text: string;
|
|
281
|
+
readonly style?: ChartTextStyle | undefined;
|
|
204
282
|
};
|
|
205
|
-
type
|
|
206
|
-
|
|
283
|
+
type ChartLineDash = "solid" | "dash" | "dot" | "dashDot" | "longDash" | "longDashDot" | "longDashDotDot";
|
|
284
|
+
type ChartLine = {
|
|
285
|
+
readonly color?: ColorValue | undefined;
|
|
286
|
+
readonly width?: number | undefined;
|
|
287
|
+
readonly dash?: ChartLineDash | undefined;
|
|
207
288
|
};
|
|
208
|
-
type
|
|
209
|
-
|
|
289
|
+
type ChartMarkerSymbol = "auto" | "circle" | "dash" | "diamond" | "dot" | "none" | "plus" | "square" | "star" | "triangle" | "x";
|
|
290
|
+
type ChartMarker = {
|
|
291
|
+
readonly symbol?: ChartMarkerSymbol | undefined;
|
|
292
|
+
readonly size?: number | undefined;
|
|
293
|
+
readonly fill?: ColorValue | undefined;
|
|
294
|
+
readonly line?: ChartLine | undefined;
|
|
210
295
|
};
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
declare function appear(options?: InstantEffectOptions): EntranceEffect;
|
|
223
|
-
/** Creates pure fade-in declaration; default duration is 500 ms. */
|
|
224
|
-
declare function fade(options?: EffectOptions): EntranceEffect;
|
|
225
|
-
/** Wipes in from specified edge; default direction is bottom. */
|
|
226
|
-
declare function wipe(options?: EffectOptions & {
|
|
227
|
-
readonly from?: MotionDirection;
|
|
228
|
-
}): EntranceEffect;
|
|
229
|
-
/** Zooms in from origin and fades in. */
|
|
230
|
-
declare function zoom(options?: EffectOptions): EntranceEffect;
|
|
231
|
-
/** Flies in from specified slide edge; default direction is bottom. */
|
|
232
|
-
declare function fly(options?: EffectOptions & {
|
|
233
|
-
readonly from?: MotionDirection;
|
|
234
|
-
}): EntranceEffect;
|
|
235
|
-
/** Fades in and floats up. */
|
|
236
|
-
declare function floatUp(options?: EffectOptions): EntranceEffect;
|
|
237
|
-
/** Fades in and floats down from above; default duration is 500 ms. */
|
|
238
|
-
declare function floatDown(options?: EffectOptions): EntranceEffect;
|
|
239
|
-
/** Zooms, rotates, and fades in. */
|
|
240
|
-
declare function spinIn(options?: EffectOptions): EntranceEffect;
|
|
241
|
-
/** Stretches from center line. */
|
|
242
|
-
declare function stretch(options?: EffectOptions): EntranceEffect;
|
|
243
|
-
/** Creates instant hide declaration (`exit#1`); sets visibility hidden without transition duration. */
|
|
244
|
-
declare function disappear(options?: InstantEffectOptions): ExitEffect;
|
|
245
|
-
/** Fades out and sets visibility hidden at completion; default duration is 500 ms. */
|
|
246
|
-
declare function fadeOut(options?: EffectOptions): ExitEffect;
|
|
247
|
-
/** Wipes out toward specified edge and hides at completion; default direction is bottom. */
|
|
248
|
-
declare function wipeOut(options?: EffectOptions & {
|
|
249
|
-
readonly from?: MotionDirection;
|
|
250
|
-
}): ExitEffect;
|
|
251
|
-
/** Flies out toward specified slide edge and hides at completion; default direction is bottom. */
|
|
252
|
-
declare function flyOut(options?: EffectOptions & {
|
|
253
|
-
readonly from?: MotionDirection;
|
|
254
|
-
}): ExitEffect;
|
|
255
|
-
/** Zooms out to center, fades out, and hides at completion. */
|
|
256
|
-
declare function zoomOut(options?: EffectOptions): ExitEffect;
|
|
257
|
-
/** Fades out, floats downward, and hides at completion. */
|
|
258
|
-
declare function floatOut(options?: EffectOptions): ExitEffect;
|
|
259
|
-
/** Spins out, shrinks, fades out, and hides at completion. */
|
|
260
|
-
declare function spinOut(options?: EffectOptions): ExitEffect;
|
|
261
|
-
/** Collapses toward center line and hides at completion. */
|
|
262
|
-
declare function collapse(options?: EffectOptions): ExitEffect;
|
|
263
|
-
/** Rotates between specified `from`/`to` endpoint angles (defaulting to 360 -> 0, or 0 -> `to` when only `to` is declared), or rotates relative to initial angle using signed `by`. */
|
|
264
|
-
declare function spin(options?: SpinOptions): EmphasisEffect;
|
|
265
|
-
/** Changes from from to to and maintains terminal state; non-repeating, non-reversing, default duration is 500 ms. */
|
|
266
|
-
declare function fillColor(options: FillColorOptions): EmphasisEffect;
|
|
267
|
-
/** Declares dark->light half-cycle of Shape fill color; native autoRev reverses it to form a full cycle. */
|
|
268
|
-
declare function breathe(options: BreatheOptions): BreatheEffect;
|
|
269
|
-
/** Wraps supported effect with specified total rounds; forever applies only to breathe. */
|
|
270
|
-
declare function repeat<E extends Effect>(effect: E, count: RepeatCount): RepeatedEffect<E>;
|
|
271
|
-
/** Routes an entrance, emphasis, or exit effect declaration to the 1-based click step `n`. */
|
|
272
|
-
declare function onStep<D extends EntranceEffect | RepeatedEffect<EntranceEffect> | EmphasisEffect | RepeatedEffect<EmphasisEffect> | ExitEffect | RepeatedEffect<ExitEffect>>(n: number, effect: D): SteppedEffect<D>;
|
|
273
|
-
type ResolvedMotionEffect = {
|
|
274
|
-
readonly target: {
|
|
275
|
-
readonly id: number;
|
|
276
|
-
readonly name: string;
|
|
277
|
-
readonly authorId?: string;
|
|
278
|
-
readonly range?: MotionTargetRange;
|
|
279
|
-
};
|
|
280
|
-
readonly kind: Effect["kind"];
|
|
281
|
-
readonly preset: EffectPreset;
|
|
282
|
-
/** Single effect duration; breathe indicates full round-trip cycle, not representing total length of fine-grained unfolding. */
|
|
283
|
-
readonly durationMs: number;
|
|
284
|
-
/** Total rounds of complete breathe cycle; forever indicates persisting on current slide with no natural completion. */
|
|
285
|
-
readonly repeatCount?: RepeatCount;
|
|
286
|
-
readonly delayMs: number;
|
|
287
|
-
/** Text or chart granularity; in spin, represents relative rotation angle in degrees. */
|
|
288
|
-
readonly by?: MotionGranularity | number;
|
|
289
|
-
readonly intervalMs?: number;
|
|
290
|
-
readonly from?: MotionDirection | number;
|
|
291
|
-
readonly to?: number;
|
|
292
|
-
readonly fromColor?: string;
|
|
293
|
-
readonly toColor?: string;
|
|
294
|
-
readonly easing?: Easing;
|
|
295
|
-
readonly startMs?: number;
|
|
296
|
-
readonly endMs?: number;
|
|
297
|
-
readonly completion?: Exclude<MotionCompletionState, "known">;
|
|
298
|
-
readonly startAfter?: MotionStartDependency;
|
|
299
|
-
/** When unknown start is jointly constrained by multiple real moments, lists all sources and relative offsets. */
|
|
300
|
-
readonly startAfterAll?: readonly MotionStartDependency[];
|
|
296
|
+
type ChartDataLabelPosition = "center" | "insideEnd" | "insideBase" | "outsideEnd" | "bestFit" | "left" | "right" | "bottom" | "top";
|
|
297
|
+
type ChartDataLabels<Position extends ChartDataLabelPosition = ChartDataLabelPosition> = {
|
|
298
|
+
readonly value?: boolean | undefined;
|
|
299
|
+
readonly percent?: boolean | undefined;
|
|
300
|
+
readonly category?: boolean | undefined;
|
|
301
|
+
readonly seriesName?: boolean | undefined;
|
|
302
|
+
readonly separator?: string | undefined;
|
|
303
|
+
readonly numberFormat?: string | undefined;
|
|
304
|
+
readonly leaderLines?: boolean | ChartLine | undefined;
|
|
305
|
+
readonly style?: ChartTextStyle | undefined;
|
|
306
|
+
readonly position?: Position | undefined;
|
|
301
307
|
};
|
|
302
|
-
type
|
|
303
|
-
|
|
304
|
-
readonly
|
|
305
|
-
readonly
|
|
308
|
+
type ChartDataLabelOverride = {
|
|
309
|
+
/** Custom label text replaces the automatic fields. Newlines start separate lines. */
|
|
310
|
+
readonly text?: string | undefined;
|
|
311
|
+
readonly value?: boolean | undefined;
|
|
312
|
+
readonly percent?: boolean | undefined;
|
|
313
|
+
readonly category?: boolean | undefined;
|
|
314
|
+
readonly seriesName?: boolean | undefined;
|
|
315
|
+
readonly separator?: string | undefined;
|
|
316
|
+
readonly numberFormat?: string | undefined;
|
|
317
|
+
readonly style?: ChartTextStyle | undefined;
|
|
318
|
+
readonly position?: ChartDataLabelPosition | undefined;
|
|
306
319
|
};
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
readonly
|
|
310
|
-
readonly
|
|
311
|
-
readonly
|
|
312
|
-
readonly
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
type ResolvedMotionScope = {
|
|
318
|
-
readonly id: string;
|
|
319
|
-
readonly parentId?: string;
|
|
320
|
-
readonly mode: MotionScopeMode;
|
|
321
|
-
readonly eachMs?: number;
|
|
322
|
-
readonly delayMs: number;
|
|
323
|
-
readonly startMs?: number;
|
|
324
|
-
readonly endMs?: number;
|
|
325
|
-
readonly completion: MotionCompletionState;
|
|
326
|
-
readonly startAfter?: MotionStartDependency;
|
|
327
|
-
/** When unknown start is jointly constrained by multiple real moments, lists all sources and relative offsets. */
|
|
328
|
-
readonly startAfterAll?: readonly MotionStartDependency[];
|
|
329
|
-
readonly members: readonly ({
|
|
330
|
-
readonly kind: "scope";
|
|
331
|
-
readonly id: string;
|
|
332
|
-
} | {
|
|
333
|
-
readonly kind: "object";
|
|
334
|
-
readonly id: number;
|
|
335
|
-
})[];
|
|
336
|
-
};
|
|
337
|
-
type RunTextStyle = Pick<TextStyle, "fontFamily" | "eastAsianFontFamily" | "fontSize" | "fontWeight" | "fontStyle" | "color" | "letterSpacing" | "textTransform" | "textDecoration" | "textShadow" | "lang"> & {
|
|
338
|
-
/** Non-zero baseline offset percentage (e.g. `"30%"` for superscript, `"-25%"` for subscript). */
|
|
339
|
-
readonly baselineShift?: `${number}%` | undefined;
|
|
340
|
-
};
|
|
341
|
-
type ParagraphStyle = Omit<RunTextStyle, "baselineShift"> & Pick<TextStyle, "lineHeight" | "align" | "spacingAfter"> & {
|
|
342
|
-
readonly list?: TextList | undefined;
|
|
343
|
-
};
|
|
344
|
-
type TextBoxStyle = LayoutStyle & TextStyle & VisualStyle;
|
|
345
|
-
type TextDeclarationProps = MotionProps & {
|
|
346
|
-
readonly id?: AuthorId | undefined;
|
|
347
|
-
readonly name?: string | undefined;
|
|
348
|
-
readonly placeholder?: string | undefined;
|
|
349
|
-
readonly nativePlaceholder?: NativePlaceholderRef | undefined;
|
|
350
|
-
readonly morphKey?: MorphKey | undefined;
|
|
351
|
-
readonly link?: LinkTarget | undefined;
|
|
352
|
-
readonly style?: TextBoxStyle | undefined;
|
|
353
|
-
};
|
|
354
|
-
type ParagraphDeclarationProps = MotionProps & {
|
|
355
|
-
readonly id?: AuthorId | undefined;
|
|
356
|
-
readonly style?: ParagraphStyle | undefined;
|
|
357
|
-
};
|
|
358
|
-
type SpanDeclarationProps = {
|
|
359
|
-
readonly id?: AuthorId | undefined;
|
|
360
|
-
readonly style?: RunTextStyle | undefined;
|
|
361
|
-
};
|
|
362
|
-
type SlideNumberDeclarationProps = SpanDeclarationProps;
|
|
363
|
-
type SupDeclarationProps = SpanDeclarationProps;
|
|
364
|
-
type SubDeclarationProps = SpanDeclarationProps;
|
|
365
|
-
declare function preset(name: PresetGeometryName, adjust?: Readonly<Record<string, number>>): PresetGeometry;
|
|
366
|
-
/**
|
|
367
|
-
* Native blockArc (annular arc segment). Angles are in degrees, measured clockwise from 3 o'clock, consistent with DrawingML;
|
|
368
|
-
* thickness represents the ring width as a fraction of the shape's shorter side.
|
|
369
|
-
*/
|
|
370
|
-
declare function blockArc(options: {
|
|
371
|
-
readonly startAngle: number;
|
|
372
|
-
readonly endAngle: number;
|
|
373
|
-
readonly thickness: number;
|
|
374
|
-
}): PresetGeometry;
|
|
375
|
-
type PathOptions = {
|
|
376
|
-
/** Dimensions of the local coordinate space, similar to an SVG viewBox starting from 0,0. */
|
|
377
|
-
readonly viewBox: readonly [number, number];
|
|
378
|
-
readonly fill?: boolean | undefined;
|
|
379
|
-
readonly stroke?: boolean | undefined;
|
|
380
|
-
/** Fill rule for SVG path data; see `path`. */
|
|
381
|
-
readonly fillRule?: "nonzero" | "evenodd" | undefined;
|
|
382
|
-
};
|
|
383
|
-
/**
|
|
384
|
-
* Creates custom geometry from SVG path data. Multiple subpaths in a single string constitute the same native path; pass an array for separately stroked paths.
|
|
385
|
-
*
|
|
386
|
-
* PPTX does not have fill rules, so different applications interpret them individually. The default `fillRule: "nonzero"` writes paths as-is;
|
|
387
|
-
* in all applications, inner subpaths whose direction opposes the outer contour form holes. When set to `"evenodd"`, subpaths alternate directions according to nesting
|
|
388
|
-
* depth, allowing applications to display even-odd fill results. Subpaths that overlap without nesting, or self-intersecting subpaths, cannot achieve consistency this way.
|
|
389
|
-
*/
|
|
390
|
-
declare function path(data: string | readonly string[], options: PathOptions): CustomGeometry;
|
|
391
|
-
declare function linearGradient(angle: number, ...stops: readonly (GradientStop | ColorValue)[]): LinearGradient;
|
|
392
|
-
declare function radialGradient(...stops: readonly (GradientStop | ColorValue)[]): RadialGradient;
|
|
393
|
-
type LineEndStyle = {
|
|
394
|
-
readonly startArrow?: ArrowType | undefined;
|
|
395
|
-
readonly endArrow?: ArrowType | undefined;
|
|
396
|
-
};
|
|
397
|
-
type LineStroke = BorderObject & LineEndStyle;
|
|
398
|
-
type LineStrokeValue = "none" | LineStroke;
|
|
399
|
-
type ChartKind = "column" | "bar" | "line" | "area" | "pie" | "doughnut" | "scatter";
|
|
400
|
-
type ChartTextStyle = Omit<TextStyle, "textWrap">;
|
|
401
|
-
type ChartStyle = LayoutStyle & ChartTextStyle;
|
|
402
|
-
type ChartTitle = string | {
|
|
403
|
-
readonly text: string;
|
|
404
|
-
readonly style?: ChartTextStyle | undefined;
|
|
405
|
-
};
|
|
406
|
-
type ChartLineDash = "solid" | "dash" | "dot" | "dashDot" | "longDash" | "longDashDot" | "longDashDotDot";
|
|
407
|
-
type ChartLine = {
|
|
408
|
-
readonly color?: ColorValue | undefined;
|
|
409
|
-
readonly width?: number | undefined;
|
|
410
|
-
readonly dash?: ChartLineDash | undefined;
|
|
411
|
-
};
|
|
412
|
-
type ChartMarkerSymbol = "auto" | "circle" | "dash" | "diamond" | "dot" | "none" | "plus" | "square" | "star" | "triangle" | "x";
|
|
413
|
-
type ChartMarker = {
|
|
414
|
-
readonly symbol?: ChartMarkerSymbol | undefined;
|
|
415
|
-
readonly size?: number | undefined;
|
|
416
|
-
readonly fill?: ColorValue | undefined;
|
|
417
|
-
readonly line?: ChartLine | undefined;
|
|
418
|
-
};
|
|
419
|
-
type ChartDataLabelPosition = "center" | "insideEnd" | "insideBase" | "outsideEnd" | "bestFit" | "left" | "right" | "bottom" | "top";
|
|
420
|
-
type ChartDataLabels<Position extends ChartDataLabelPosition = ChartDataLabelPosition> = {
|
|
421
|
-
readonly value?: boolean | undefined;
|
|
422
|
-
readonly percent?: boolean | undefined;
|
|
423
|
-
readonly category?: boolean | undefined;
|
|
424
|
-
readonly seriesName?: boolean | undefined;
|
|
425
|
-
readonly separator?: string | undefined;
|
|
426
|
-
readonly numberFormat?: string | undefined;
|
|
427
|
-
readonly leaderLines?: boolean | ChartLine | undefined;
|
|
428
|
-
readonly style?: ChartTextStyle | undefined;
|
|
429
|
-
readonly position?: Position | undefined;
|
|
430
|
-
};
|
|
431
|
-
type ChartDataLabelOverride = {
|
|
432
|
-
readonly value?: boolean | undefined;
|
|
433
|
-
readonly percent?: boolean | undefined;
|
|
434
|
-
readonly category?: boolean | undefined;
|
|
435
|
-
readonly seriesName?: boolean | undefined;
|
|
436
|
-
readonly separator?: string | undefined;
|
|
437
|
-
readonly numberFormat?: string | undefined;
|
|
438
|
-
readonly position?: ChartDataLabelPosition | undefined;
|
|
439
|
-
};
|
|
440
|
-
type ChartSeriesDataLabelOverride = {
|
|
441
|
-
readonly value?: boolean | undefined;
|
|
442
|
-
readonly percent?: boolean | undefined;
|
|
443
|
-
readonly category?: boolean | undefined;
|
|
444
|
-
readonly seriesName?: boolean | undefined;
|
|
445
|
-
readonly separator?: string | undefined;
|
|
446
|
-
readonly numberFormat?: string | undefined;
|
|
447
|
-
readonly leaderLines?: boolean | ChartLine | undefined;
|
|
448
|
-
readonly position?: ChartDataLabelPosition | undefined;
|
|
320
|
+
type ChartSeriesDataLabelOverride = {
|
|
321
|
+
readonly value?: boolean | undefined;
|
|
322
|
+
readonly percent?: boolean | undefined;
|
|
323
|
+
readonly category?: boolean | undefined;
|
|
324
|
+
readonly seriesName?: boolean | undefined;
|
|
325
|
+
readonly separator?: string | undefined;
|
|
326
|
+
readonly numberFormat?: string | undefined;
|
|
327
|
+
readonly leaderLines?: boolean | ChartLine | undefined;
|
|
328
|
+
readonly style?: ChartTextStyle | undefined;
|
|
329
|
+
readonly position?: ChartDataLabelPosition | undefined;
|
|
449
330
|
};
|
|
450
331
|
type ScatterDataLabels = {
|
|
451
332
|
readonly value?: boolean | undefined;
|
|
@@ -457,18 +338,20 @@ type ScatterDataLabels = {
|
|
|
457
338
|
readonly position?: "left" | "right" | "bottom" | "top" | "center" | undefined;
|
|
458
339
|
};
|
|
459
340
|
type ScatterDataLabelOverride = {
|
|
341
|
+
/** Custom label text replaces the automatic fields. Newlines start separate lines. */
|
|
342
|
+
readonly text?: string | undefined;
|
|
460
343
|
readonly value?: boolean | undefined;
|
|
461
344
|
readonly seriesName?: boolean | undefined;
|
|
462
345
|
readonly xValue?: boolean | undefined;
|
|
463
346
|
readonly separator?: string | undefined;
|
|
464
347
|
readonly numberFormat?: string | undefined;
|
|
348
|
+
readonly style?: ChartTextStyle | undefined;
|
|
465
349
|
readonly position?: "left" | "right" | "bottom" | "top" | "center" | undefined;
|
|
466
350
|
};
|
|
467
351
|
type ChartPoint = {
|
|
468
352
|
readonly color?: ColorValue | undefined;
|
|
469
353
|
readonly line?: ChartLine | undefined;
|
|
470
354
|
readonly explosion?: number | undefined;
|
|
471
|
-
readonly labelColor?: ColorValue | undefined;
|
|
472
355
|
readonly marker?: boolean | ChartMarker | undefined;
|
|
473
356
|
readonly dataLabels?: false | ChartDataLabelOverride | undefined;
|
|
474
357
|
};
|
|
@@ -476,7 +359,6 @@ type ScatterChartPoint = {
|
|
|
476
359
|
readonly color?: ColorValue | undefined;
|
|
477
360
|
readonly line?: ChartLine | undefined;
|
|
478
361
|
readonly marker?: boolean | ChartMarker | undefined;
|
|
479
|
-
readonly labelColor?: ColorValue | undefined;
|
|
480
362
|
readonly dataLabels?: false | ScatterDataLabelOverride | undefined;
|
|
481
363
|
};
|
|
482
364
|
type ChartTrendlineType = "linear" | "exponential" | "logarithmic" | "polynomial" | "power" | "movingAverage";
|
|
@@ -602,7 +484,7 @@ type ScatterChartSeries = {
|
|
|
602
484
|
readonly y: readonly (number | null)[];
|
|
603
485
|
readonly color?: ColorValue | undefined;
|
|
604
486
|
readonly line?: ChartLine | undefined;
|
|
605
|
-
readonly dataLabels?: false |
|
|
487
|
+
readonly dataLabels?: false | ScatterDataLabels | undefined;
|
|
606
488
|
readonly marker?: boolean | ChartMarker | undefined;
|
|
607
489
|
readonly points?: Readonly<Record<number, ScatterChartPoint>> | undefined;
|
|
608
490
|
readonly trendlines?: readonly ChartTrendline[] | undefined;
|
|
@@ -766,7 +648,6 @@ type ChartProps = MotionProps & {
|
|
|
766
648
|
readonly id?: AuthorId | undefined;
|
|
767
649
|
readonly name?: string | undefined;
|
|
768
650
|
readonly placeholder?: string | undefined;
|
|
769
|
-
readonly nativePlaceholder?: NativePlaceholderRef | undefined;
|
|
770
651
|
readonly morphKey?: MorphKey | undefined;
|
|
771
652
|
readonly link?: LinkTarget | undefined;
|
|
772
653
|
readonly axes?: ChartAxes | undefined;
|
|
@@ -785,9 +666,15 @@ type ChartProps = MotionProps & {
|
|
|
785
666
|
* ```
|
|
786
667
|
*/
|
|
787
668
|
readonly groups: readonly ChartGroup[];
|
|
669
|
+
/** Overrides native theme colors, fonts, and formatting for this chart part. */
|
|
670
|
+
readonly themeOverride?: ThemeOverride | undefined;
|
|
671
|
+
/** Maps all twelve scheme color slots within this chart's effective theme. */
|
|
672
|
+
readonly colorMapOverride?: ColorMap | undefined;
|
|
788
673
|
readonly title?: ChartTitle | undefined;
|
|
789
674
|
readonly displayBlanksAs?: ChartDisplayBlanksAs | undefined;
|
|
790
675
|
readonly legend?: ChartLegend | undefined;
|
|
676
|
+
/** Text style overrides for the visible legend. */
|
|
677
|
+
readonly legendStyle?: ChartTextStyle | undefined;
|
|
791
678
|
/**
|
|
792
679
|
* Explicit plot-area rectangle `{ left, top, width, height }` in pixels (`px`) relative to the
|
|
793
680
|
* chart box's top-left corner (not `0..1` fractions). When omitted, automatic margins are computed.
|
|
@@ -796,6 +683,18 @@ type ChartProps = MotionProps & {
|
|
|
796
683
|
readonly style?: ChartStyle | undefined;
|
|
797
684
|
};
|
|
798
685
|
type ChartNode = CommonNode<"chart", ChartProps, NonNullable<ChartProps["style"]>>;
|
|
686
|
+
/** Fixed text or an enabled native date field with format and language overrides. */
|
|
687
|
+
type PrintDateTimeValue = boolean | string | {
|
|
688
|
+
readonly format?: DateTimeFormat | undefined;
|
|
689
|
+
readonly lang?: string | undefined;
|
|
690
|
+
};
|
|
691
|
+
/** Four independent print slots. A string enables its slot, including empty text. */
|
|
692
|
+
type PrintHeaderFooter = {
|
|
693
|
+
readonly header?: boolean | string | undefined;
|
|
694
|
+
readonly footer?: boolean | string | undefined;
|
|
695
|
+
readonly pageNumber?: boolean | undefined;
|
|
696
|
+
readonly dateTime?: PrintDateTimeValue | undefined;
|
|
697
|
+
};
|
|
799
698
|
type GroupStyle = LayoutStyle & TextStyle & Pick<VisualStyle, "rotate" | "flipH" | "flipV">;
|
|
800
699
|
/** Native Group preserves member relationships; style allows it to arrange as a layout child, with output bounds computed from the union of member geometries. */
|
|
801
700
|
type GroupDeclarationProps = MotionProps & {
|
|
@@ -805,60 +704,14 @@ type GroupDeclarationProps = MotionProps & {
|
|
|
805
704
|
readonly link?: LinkTarget | undefined;
|
|
806
705
|
readonly style?: GroupStyle | undefined;
|
|
807
706
|
};
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
readonly
|
|
812
|
-
readonly
|
|
813
|
-
readonly bottom?: number | undefined;
|
|
814
|
-
};
|
|
815
|
-
type ExternalImageSource = {
|
|
816
|
-
readonly externalUrl: string;
|
|
817
|
-
};
|
|
818
|
-
/**
|
|
819
|
-
* Image source accepted by `Image` / `image()`.
|
|
820
|
-
*
|
|
821
|
-
* Supports raster bitmap formats (**PNG, JPEG, GIF**) passed as a local file path, `file:` `URL`,
|
|
822
|
-
* or `Uint8Array` bytes, or `{ externalUrl }` for linked external images. `.svg` files are not
|
|
823
|
-
* supported; use `Shape` with `path()` custom geometry (`geometry={path(...)}`) for native
|
|
824
|
-
* editable vector graphics.
|
|
825
|
-
*/
|
|
826
|
-
type ImageSource = string | URL | Uint8Array | ExternalImageSource;
|
|
827
|
-
/** Visual styling supported on Image objects. */
|
|
828
|
-
type ImageVisualStyle = {
|
|
829
|
-
readonly background?: BackgroundValue | undefined;
|
|
830
|
-
readonly border?: BorderValue | undefined;
|
|
831
|
-
readonly opacity?: number | undefined;
|
|
832
|
-
readonly boxShadow?: BoxShadowValue | undefined;
|
|
833
|
-
readonly softEdge?: number | undefined;
|
|
834
|
-
readonly rotate?: number | undefined;
|
|
835
|
-
readonly flipH?: boolean | undefined;
|
|
836
|
-
readonly flipV?: boolean | undefined;
|
|
837
|
-
};
|
|
838
|
-
type ImageStyle = LayoutStyle & ImageVisualStyle;
|
|
839
|
-
type ImageDeclarationProps = MotionProps & {
|
|
840
|
-
readonly id?: AuthorId | undefined;
|
|
841
|
-
readonly name?: string | undefined;
|
|
842
|
-
readonly placeholder?: string | undefined;
|
|
843
|
-
readonly nativePlaceholder?: NativePlaceholderRef | undefined;
|
|
844
|
-
readonly morphKey?: MorphKey | undefined;
|
|
845
|
-
readonly link?: LinkTarget | undefined;
|
|
846
|
-
/**
|
|
847
|
-
* Image source (PNG, JPEG, or GIF local path, `file:` `URL`, or `Uint8Array` bytes; or `{ externalUrl }`).
|
|
848
|
-
*
|
|
849
|
-
* `.svg` files are not supported; for native editable vector graphics, use `Shape` with `path()`
|
|
850
|
-
* custom geometry (`geometry={path(...)}`).
|
|
851
|
-
*/
|
|
852
|
-
readonly src: ImageSource;
|
|
853
|
-
/** Alternative text for the image. */
|
|
854
|
-
readonly alt?: string | undefined;
|
|
855
|
-
readonly geometry?: Geometry | undefined;
|
|
856
|
-
readonly style?: ImageStyle | undefined;
|
|
857
|
-
/** `fill` stretches, `cover` crops centered, `contain` preserves aspect ratio; defaults to `fill`. */
|
|
858
|
-
readonly fit?: ImageFit | undefined;
|
|
859
|
-
/** Explicit crop fraction for each side of the original image; takes precedence over `fit` when provided. */
|
|
860
|
-
readonly crop?: ImageCropInput | undefined;
|
|
707
|
+
declare function linearGradient(angle: number, ...stops: readonly (GradientStop | ColorValue)[]): LinearGradient;
|
|
708
|
+
declare function radialGradient(...stops: readonly (GradientStop | ColorValue)[]): RadialGradient;
|
|
709
|
+
type LineEndStyle = {
|
|
710
|
+
readonly startArrow?: ArrowType | undefined;
|
|
711
|
+
readonly endArrow?: ArrowType | undefined;
|
|
861
712
|
};
|
|
713
|
+
type LineStroke = BorderObject & LineEndStyle;
|
|
714
|
+
type LineStrokeValue = "none" | LineStroke;
|
|
862
715
|
type LineRouting = "straight" | "elbow" | "curved";
|
|
863
716
|
type LinePort = "top" | "right" | "bottom" | "left" | number;
|
|
864
717
|
type LineEndpoint = {
|
|
@@ -888,151 +741,193 @@ type LineDeclarationProps = MotionProps & {
|
|
|
888
741
|
readonly to?: LineEndpoint | undefined;
|
|
889
742
|
readonly style?: LineStyle | undefined;
|
|
890
743
|
};
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
readonly value: boolean;
|
|
902
|
-
} | {
|
|
903
|
-
readonly state: "unknown";
|
|
904
|
-
readonly reason: "insufficient-facts" | "different-step";
|
|
905
|
-
} | {
|
|
906
|
-
readonly state: "no-natural-completion";
|
|
907
|
-
};
|
|
908
|
-
type MotionDifference = {
|
|
909
|
-
readonly state: "known";
|
|
910
|
-
readonly ms: number;
|
|
911
|
-
} | {
|
|
912
|
-
readonly state: "unknown";
|
|
913
|
-
readonly reason: "insufficient-facts" | "different-step";
|
|
914
|
-
readonly minimumMs?: number;
|
|
915
|
-
readonly maximumMs?: number;
|
|
916
|
-
} | {
|
|
917
|
-
readonly state: "no-natural-completion";
|
|
918
|
-
};
|
|
919
|
-
type MotionStepRef = object;
|
|
920
|
-
type MotionEffectRef = {
|
|
744
|
+
/** Creates a Font value; resources are read only from caller-provided bytes. */
|
|
745
|
+
declare function font(family: string, faces?: readonly FontFace[], options?: FontOptions): Font;
|
|
746
|
+
/**
|
|
747
|
+
* Unpacks a TrueType/OpenType Collection (`.ttc` / `.otc`) buffer by extracting all static
|
|
748
|
+
* faces matching `family` (or the sole family when `options.substitute` is `true`) and returns
|
|
749
|
+
* a sealed `Font` value with isolated face byte buffers.
|
|
750
|
+
*/
|
|
751
|
+
declare function fromFontCollection(bytes: Uint8Array, family: string, options?: FontOptions): Font;
|
|
752
|
+
/** Unknown start constraint points to the start or end time of an effect, effect collection for the same object, or real scope. */
|
|
753
|
+
type MotionStartDependency = {
|
|
921
754
|
readonly targetId: number;
|
|
922
755
|
readonly effectIndex: number;
|
|
923
756
|
readonly partIndex?: number;
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
readonly
|
|
757
|
+
readonly point: "end";
|
|
758
|
+
readonly offsetMs: number;
|
|
759
|
+
} | {
|
|
760
|
+
readonly targetId: number;
|
|
761
|
+
readonly group: "effects";
|
|
762
|
+
readonly point: "end";
|
|
763
|
+
readonly offsetMs: number;
|
|
764
|
+
} | {
|
|
930
765
|
readonly scopeId: string;
|
|
931
766
|
readonly point: "start" | "end";
|
|
767
|
+
readonly offsetMs: number;
|
|
932
768
|
};
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
769
|
+
/**
|
|
770
|
+
* Creates a React-independent scope identity and its start/end/named moments.
|
|
771
|
+
*
|
|
772
|
+
* The returned handle keeps its identity when nodes are moved or rebuilt. React authoring keeps one
|
|
773
|
+
* handle per component instance and passes it to `MotionScope`, while plain authoring can create it
|
|
774
|
+
* directly. Cues are values derived from the same identity, not React keys or author ids.
|
|
775
|
+
*/
|
|
776
|
+
declare function createMotionScopeHandle(): MotionScopeHandle;
|
|
777
|
+
/** Schedules an explicit non-negative offset after any moment handle. */
|
|
778
|
+
declare function after(timing: MotionTiming, offsetMs: number): MotionMomentOffset;
|
|
779
|
+
/** Creates instant reveal declaration (`entr#1`); no transition filter or duration. */
|
|
780
|
+
declare function appear(options?: InstantEffectOptions): EntranceEffect;
|
|
781
|
+
/** Creates pure fade-in declaration; default duration is 500 ms. */
|
|
782
|
+
declare function fade(options?: EffectOptions): EntranceEffect;
|
|
783
|
+
/** Wipes in from specified edge; default direction is bottom. */
|
|
784
|
+
declare function wipe(options?: EffectOptions & {
|
|
785
|
+
readonly from?: MotionDirection;
|
|
786
|
+
}): EntranceEffect;
|
|
787
|
+
/** Zooms in from origin and fades in. */
|
|
788
|
+
declare function zoom(options?: EffectOptions): EntranceEffect;
|
|
789
|
+
/** Flies in from specified slide edge; default direction is bottom. */
|
|
790
|
+
declare function fly(options?: EffectOptions & {
|
|
791
|
+
readonly from?: MotionDirection;
|
|
792
|
+
}): EntranceEffect;
|
|
793
|
+
/** Fades in and floats up. */
|
|
794
|
+
declare function floatUp(options?: EffectOptions): EntranceEffect;
|
|
795
|
+
/** Fades in and floats down from above; default duration is 500 ms. */
|
|
796
|
+
declare function floatDown(options?: EffectOptions): EntranceEffect;
|
|
797
|
+
/** Zooms, rotates, and fades in. */
|
|
798
|
+
declare function spinIn(options?: EffectOptions): EntranceEffect;
|
|
799
|
+
/** Stretches from center line. */
|
|
800
|
+
declare function stretch(options?: EffectOptions): EntranceEffect;
|
|
801
|
+
/** Creates instant hide declaration (`exit#1`); sets visibility hidden without transition duration. */
|
|
802
|
+
declare function disappear(options?: InstantEffectOptions): ExitEffect;
|
|
803
|
+
/** Fades out and sets visibility hidden at completion; default duration is 500 ms. */
|
|
804
|
+
declare function fadeOut(options?: EffectOptions): ExitEffect;
|
|
805
|
+
/** Wipes out toward specified edge and hides at completion; default direction is bottom. */
|
|
806
|
+
declare function wipeOut(options?: EffectOptions & {
|
|
807
|
+
readonly from?: MotionDirection;
|
|
808
|
+
}): ExitEffect;
|
|
809
|
+
/** Flies out toward specified slide edge and hides at completion; default direction is bottom. */
|
|
810
|
+
declare function flyOut(options?: EffectOptions & {
|
|
811
|
+
readonly from?: MotionDirection;
|
|
812
|
+
}): ExitEffect;
|
|
813
|
+
/** Zooms out to center, fades out, and hides at completion. */
|
|
814
|
+
declare function zoomOut(options?: EffectOptions): ExitEffect;
|
|
815
|
+
/** Fades out, floats downward, and hides at completion. */
|
|
816
|
+
declare function floatOut(options?: EffectOptions): ExitEffect;
|
|
817
|
+
/** Spins out, shrinks, fades out, and hides at completion. */
|
|
818
|
+
declare function spinOut(options?: EffectOptions): ExitEffect;
|
|
819
|
+
/** Collapses toward center line and hides at completion. */
|
|
820
|
+
declare function collapse(options?: EffectOptions): ExitEffect;
|
|
821
|
+
/** Rotates between specified `from`/`to` endpoint angles (defaulting to 360 -> 0, or 0 -> `to` when only `to` is declared), or rotates relative to initial angle using signed `by`. */
|
|
822
|
+
declare function spin(options?: SpinOptions): EmphasisEffect;
|
|
823
|
+
/** Changes from from to to and maintains terminal state; non-repeating, non-reversing, default duration is 500 ms. */
|
|
824
|
+
declare function fillColor(options: FillColorOptions): EmphasisEffect;
|
|
825
|
+
/** Declares dark->light half-cycle of Shape fill color; native autoRev reverses it to form a full cycle. */
|
|
826
|
+
declare function breathe(options: BreatheOptions): BreatheEffect;
|
|
827
|
+
/** Wraps supported effect with specified total rounds; forever applies only to breathe. */
|
|
828
|
+
declare function repeat<E extends Effect>(effect: E, count: RepeatCount): RepeatedEffect<E>;
|
|
829
|
+
/** Routes an entrance, emphasis, or exit effect declaration to the 1-based click step `n`. */
|
|
830
|
+
declare function onStep<D extends EntranceEffect | RepeatedEffect<EntranceEffect> | EmphasisEffect | RepeatedEffect<EmphasisEffect> | ExitEffect | RepeatedEffect<ExitEffect>>(n: number, effect: D): SteppedEffect<D>;
|
|
831
|
+
type ResolvedMotionEffect = {
|
|
832
|
+
readonly target: {
|
|
833
|
+
readonly id: number;
|
|
834
|
+
readonly name: string;
|
|
835
|
+
readonly authorId?: string;
|
|
836
|
+
readonly range?: MotionTargetRange;
|
|
837
|
+
};
|
|
838
|
+
readonly kind: Effect["kind"];
|
|
839
|
+
readonly preset: EffectPreset;
|
|
840
|
+
/** Single effect duration; breathe indicates full round-trip cycle, not representing total length of fine-grained unfolding. */
|
|
841
|
+
readonly durationMs: number;
|
|
842
|
+
/** Total rounds of complete breathe cycle; forever indicates persisting on current slide with no natural completion. */
|
|
843
|
+
readonly repeatCount?: RepeatCount;
|
|
844
|
+
readonly delayMs: number;
|
|
845
|
+
/** Text or chart granularity; in spin, represents relative rotation angle in degrees. */
|
|
846
|
+
readonly by?: MotionGranularity | number;
|
|
847
|
+
readonly intervalMs?: number;
|
|
848
|
+
readonly from?: MotionDirection | number;
|
|
849
|
+
readonly to?: number;
|
|
850
|
+
readonly fromColor?: string;
|
|
851
|
+
readonly toColor?: string;
|
|
852
|
+
readonly easing?: Easing;
|
|
853
|
+
readonly startMs?: number;
|
|
854
|
+
readonly endMs?: number;
|
|
855
|
+
readonly completion?: Exclude<MotionCompletionState, "known">;
|
|
856
|
+
readonly startAfter?: MotionStartDependency;
|
|
857
|
+
/** When unknown start is jointly constrained by multiple real moments, lists all sources and relative offsets. */
|
|
858
|
+
readonly startAfterAll?: readonly MotionStartDependency[];
|
|
941
859
|
};
|
|
942
|
-
type
|
|
943
|
-
|
|
944
|
-
readonly
|
|
945
|
-
|
|
946
|
-
readonly state: "known";
|
|
947
|
-
readonly ms: number;
|
|
948
|
-
}) | ({
|
|
949
|
-
readonly ref: MotionMomentRef;
|
|
950
|
-
} & {
|
|
951
|
-
readonly state: "unknown";
|
|
952
|
-
}) | ({
|
|
953
|
-
readonly ref: MotionMomentRef;
|
|
954
|
-
} & {
|
|
955
|
-
readonly state: "no-natural-completion";
|
|
956
|
-
});
|
|
957
|
-
type EffectInstance = ResolvedMotionEffect & {
|
|
958
|
-
readonly ref: MotionEffectRef;
|
|
959
|
-
readonly effectIndex: number;
|
|
960
|
-
readonly partIndex?: number;
|
|
961
|
-
readonly scopes: readonly MotionScopeRef[];
|
|
962
|
-
readonly start: ResolvedMotionMoment;
|
|
963
|
-
readonly end: ResolvedMotionMoment;
|
|
860
|
+
type ResolvedMotionStep = {
|
|
861
|
+
readonly trigger: "auto" | "click";
|
|
862
|
+
readonly number?: number;
|
|
863
|
+
readonly effects: readonly ResolvedMotionEffect[];
|
|
964
864
|
};
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
readonly
|
|
968
|
-
|
|
969
|
-
readonly
|
|
970
|
-
readonly
|
|
865
|
+
/** Corresponding real member effects and timing identity in PPTX for a logical Group effect. */
|
|
866
|
+
type MotionNativeProjection = {
|
|
867
|
+
readonly logicalTargetId: number;
|
|
868
|
+
readonly logicalEffectIndex: number;
|
|
869
|
+
readonly preset: EffectPreset;
|
|
870
|
+
readonly nativeEffects: readonly {
|
|
871
|
+
readonly targetId: number;
|
|
872
|
+
readonly timingId: number;
|
|
873
|
+
}[];
|
|
874
|
+
};
|
|
875
|
+
type ResolvedMotionScope = {
|
|
876
|
+
readonly id: string;
|
|
877
|
+
readonly parentId?: string;
|
|
878
|
+
readonly mode: MotionScopeMode;
|
|
879
|
+
readonly eachMs?: number;
|
|
880
|
+
readonly delayMs: number;
|
|
881
|
+
readonly startMs?: number;
|
|
882
|
+
readonly endMs?: number;
|
|
883
|
+
readonly completion: MotionCompletionState;
|
|
884
|
+
readonly startAfter?: MotionStartDependency;
|
|
885
|
+
/** When unknown start is jointly constrained by multiple real moments, lists all sources and relative offsets. */
|
|
886
|
+
readonly startAfterAll?: readonly MotionStartDependency[];
|
|
887
|
+
readonly members: readonly ({
|
|
888
|
+
readonly kind: "scope";
|
|
889
|
+
readonly id: string;
|
|
890
|
+
} | {
|
|
891
|
+
readonly kind: "object";
|
|
892
|
+
readonly id: number;
|
|
893
|
+
})[];
|
|
971
894
|
};
|
|
972
|
-
type
|
|
973
|
-
|
|
974
|
-
readonly
|
|
975
|
-
readonly parent?: MotionScopeRef;
|
|
976
|
-
readonly mode: MotionScopeMode;
|
|
977
|
-
readonly eachMs?: number;
|
|
978
|
-
readonly delayMs: number;
|
|
979
|
-
readonly members: readonly MotionScopeQueryMember[];
|
|
980
|
-
readonly start: ResolvedMotionMoment;
|
|
981
|
-
readonly end: ResolvedMotionMoment;
|
|
895
|
+
type RunTextStyle = Pick<TextStyle, "fontFamily" | "eastAsianFontFamily" | "fontSize" | "fontWeight" | "fontStyle" | "color" | "letterSpacing" | "textTransform" | "textDecoration" | "textShadow" | "textStroke" | "lang"> & {
|
|
896
|
+
/** Non-zero baseline offset percentage (e.g. `"30%"` for superscript, `"-25%"` for subscript). */
|
|
897
|
+
readonly baselineShift?: `${number}%` | undefined;
|
|
982
898
|
};
|
|
983
|
-
type
|
|
984
|
-
|
|
985
|
-
readonly
|
|
986
|
-
|
|
987
|
-
readonly
|
|
988
|
-
readonly
|
|
899
|
+
type ParagraphStyle = Omit<RunTextStyle, "baselineShift"> & Pick<TextStyle, "lineHeight" | "align" | "spacingAfter"> & {
|
|
900
|
+
/** Left margin of the paragraph in logical pixels. */
|
|
901
|
+
readonly marginLeft?: number | undefined;
|
|
902
|
+
/** Offset of the first line from the paragraph margin in logical pixels. Negative values produce a hanging indent. */
|
|
903
|
+
readonly indent?: number | undefined;
|
|
904
|
+
readonly list?: TextList | undefined;
|
|
989
905
|
};
|
|
990
|
-
type
|
|
991
|
-
|
|
992
|
-
readonly
|
|
993
|
-
readonly
|
|
994
|
-
readonly
|
|
995
|
-
|
|
996
|
-
readonly
|
|
997
|
-
readonly
|
|
998
|
-
readonly cue: MotionCueRef;
|
|
999
|
-
readonly offsetMs: number;
|
|
1000
|
-
} | {
|
|
1001
|
-
readonly kind: "cue-publish";
|
|
1002
|
-
readonly cue: MotionCueRef;
|
|
1003
|
-
readonly scope: MotionScopeRef;
|
|
1004
|
-
readonly point: "start" | "end";
|
|
1005
|
-
} | {
|
|
1006
|
-
readonly kind: "start-after";
|
|
1007
|
-
readonly effect: MotionEffectRef;
|
|
1008
|
-
readonly source: MotionStartDependency;
|
|
906
|
+
type TextBoxStyle = LayoutStyle & TextStyle & VisualStyle;
|
|
907
|
+
type TextDeclarationProps = MotionProps & {
|
|
908
|
+
readonly id?: AuthorId | undefined;
|
|
909
|
+
readonly name?: string | undefined;
|
|
910
|
+
readonly placeholder?: string | undefined;
|
|
911
|
+
readonly morphKey?: MorphKey | undefined;
|
|
912
|
+
readonly link?: LinkTarget | undefined;
|
|
913
|
+
readonly style?: TextBoxStyle | undefined;
|
|
1009
914
|
};
|
|
1010
|
-
type
|
|
1011
|
-
readonly
|
|
1012
|
-
readonly
|
|
1013
|
-
readonly effect: MotionEffectRef;
|
|
1014
|
-
readonly result: MotionDecision;
|
|
1015
|
-
}[];
|
|
915
|
+
type ParagraphDeclarationProps = MotionProps & {
|
|
916
|
+
readonly id?: AuthorId | undefined;
|
|
917
|
+
readonly style?: ParagraphStyle | undefined;
|
|
1016
918
|
};
|
|
1017
|
-
type
|
|
1018
|
-
readonly
|
|
1019
|
-
readonly
|
|
1020
|
-
readonly number?: number;
|
|
1021
|
-
readonly effects: readonly EffectInstance[];
|
|
1022
|
-
readonly scopes: readonly MotionScopeSchedule[];
|
|
1023
|
-
readonly dependencies: readonly MotionDependency[];
|
|
1024
|
-
readonly cues: readonly MotionCue[];
|
|
1025
|
-
difference(from: MotionMomentRef, to: MotionMomentRef): MotionDifference;
|
|
1026
|
-
before(from: MotionMomentRef, to: MotionMomentRef): MotionDecision;
|
|
1027
|
-
overlap(a: MotionIntervalRef, b: MotionIntervalRef): MotionDecision;
|
|
1028
|
-
intervalsCovering(ms: number, effects?: readonly MotionEffectRef[]): MotionMembership;
|
|
919
|
+
type SpanDeclarationProps = {
|
|
920
|
+
readonly id?: AuthorId | undefined;
|
|
921
|
+
readonly style?: RunTextStyle | undefined;
|
|
1029
922
|
};
|
|
1030
|
-
type
|
|
1031
|
-
readonly
|
|
1032
|
-
readonly
|
|
923
|
+
type DateTimeDeclarationProps = {
|
|
924
|
+
readonly id?: AuthorId | undefined;
|
|
925
|
+
readonly format?: DateTimeFormat | undefined;
|
|
926
|
+
readonly style?: SpanDeclarationProps["style"];
|
|
1033
927
|
};
|
|
1034
|
-
|
|
1035
|
-
|
|
928
|
+
type SlideNumberDeclarationProps = SpanDeclarationProps;
|
|
929
|
+
type SupDeclarationProps = SpanDeclarationProps;
|
|
930
|
+
type SubDeclarationProps = SpanDeclarationProps;
|
|
1036
931
|
type NotesDeclarationProps = {
|
|
1037
932
|
readonly id?: AuthorId | undefined;
|
|
1038
933
|
readonly style?: TextStyle | undefined;
|
|
@@ -1043,13 +938,29 @@ type PlaceholderDeclarationProps = {
|
|
|
1043
938
|
readonly name?: string | undefined;
|
|
1044
939
|
readonly morphKey?: MorphKey | undefined;
|
|
1045
940
|
readonly placeholder?: string | undefined;
|
|
1046
|
-
readonly nativePlaceholder?: NativePlaceholderRef | undefined;
|
|
1047
941
|
readonly link?: LinkTarget | undefined;
|
|
1048
942
|
readonly style?: PlaceholderObjectStyle | undefined;
|
|
1049
943
|
};
|
|
1050
944
|
type PlaceholderNode = CommonNode<"placeholder", PlaceholderDeclarationProps>;
|
|
1051
|
-
|
|
1052
|
-
|
|
945
|
+
declare const placeholderFillsByRole: {
|
|
946
|
+
readonly title: readonly ["text"];
|
|
947
|
+
readonly ctrTitle: readonly ["text"];
|
|
948
|
+
readonly subTitle: readonly ["text"];
|
|
949
|
+
readonly body: readonly ["text"];
|
|
950
|
+
readonly dt: readonly ["text"];
|
|
951
|
+
readonly ftr: readonly ["text"];
|
|
952
|
+
readonly hdr: readonly ["text"];
|
|
953
|
+
readonly sldNum: readonly ["slide-number"];
|
|
954
|
+
readonly pic: readonly ["image"];
|
|
955
|
+
readonly clipArt: readonly ["image"];
|
|
956
|
+
readonly tbl: readonly ["table"];
|
|
957
|
+
readonly chart: readonly ["chart"];
|
|
958
|
+
readonly content: readonly ["text", "image", "video", "table", "chart"];
|
|
959
|
+
readonly obj: readonly ["text", "image", "video", "table", "chart"];
|
|
960
|
+
readonly dgm: readonly ["placeholder"];
|
|
961
|
+
readonly media: readonly ["placeholder", "video"];
|
|
962
|
+
};
|
|
963
|
+
type PlaceholderFillKindForRole<Role extends ContentPlaceholderRole> = (typeof placeholderFillsByRole)[Role][number];
|
|
1053
964
|
type ShapeStyle = LayoutStyle & VisualStyle & TextStyle;
|
|
1054
965
|
type ShapeDeclarationProps = MotionProps & {
|
|
1055
966
|
readonly id?: AuthorId | undefined;
|
|
@@ -1059,10 +970,12 @@ type ShapeDeclarationProps = MotionProps & {
|
|
|
1059
970
|
readonly geometry?: Geometry | undefined;
|
|
1060
971
|
readonly style?: ShapeStyle | undefined;
|
|
1061
972
|
};
|
|
973
|
+
/** Pure text style type for Shape; does not depend on the text box capability module. */
|
|
974
|
+
type ShapeTextStyle = TextStyle;
|
|
1062
975
|
type TableVerticalAlign = "top" | "middle" | "bottom";
|
|
1063
976
|
type TableColumn = number | `${number}fr` | "auto";
|
|
1064
977
|
type TableSpacing = NonNegativeLayoutSpacing;
|
|
1065
|
-
type TableTextStyle = Pick<TextStyle, "fontFamily" | "eastAsianFontFamily" | "fontSize" | "fontWeight" | "fontStyle" | "color" | "lineHeight" | "align" | "verticalAlign" | "letterSpacing" | "textTransform" | "textDecoration" | "textShadow" | "lang">;
|
|
978
|
+
type TableTextStyle = Pick<TextStyle, "fontFamily" | "eastAsianFontFamily" | "fontSize" | "fontWeight" | "fontStyle" | "color" | "lineHeight" | "align" | "verticalAlign" | "letterSpacing" | "textTransform" | "textDecoration" | "textShadow" | "textStroke" | "lang">;
|
|
1066
979
|
type TableStyle = TableTextStyle & LayoutStyle & {
|
|
1067
980
|
readonly background?: BackgroundValue | undefined;
|
|
1068
981
|
readonly border?: BorderValue | undefined;
|
|
@@ -1098,7 +1011,6 @@ type TableDeclarationProps = MotionProps & {
|
|
|
1098
1011
|
readonly id?: string | undefined;
|
|
1099
1012
|
readonly name?: string | undefined;
|
|
1100
1013
|
readonly placeholder?: string | undefined;
|
|
1101
|
-
readonly nativePlaceholder?: NativePlaceholderRef | undefined;
|
|
1102
1014
|
readonly morphKey?: MorphKey | undefined;
|
|
1103
1015
|
readonly link?: LinkTarget | undefined;
|
|
1104
1016
|
readonly columns: readonly TableColumn[];
|
|
@@ -1117,8 +1029,6 @@ type CellDeclarationProps = {
|
|
|
1117
1029
|
type TableNode = CommonContainer<"table", TableDeclarationProps, NonNullable<TableDeclarationProps["style"]>>;
|
|
1118
1030
|
type RowNode = CommonContainer<"row", RowDeclarationProps, NonNullable<RowDeclarationProps["style"]>>;
|
|
1119
1031
|
type CellNode = RichTextContainer<"cell", CellDeclarationProps, NonNullable<CellDeclarationProps["style"]>>;
|
|
1120
|
-
/** Pure text style type for Shape; does not depend on the text box capability module. */
|
|
1121
|
-
type ShapeTextStyle = TextStyle;
|
|
1122
1032
|
type TransitionDuration = number;
|
|
1123
1033
|
type TransitionDirection = "left" | "right" | "top" | "bottom";
|
|
1124
1034
|
type StripsDirection = "leftUp" | "rightUp" | "leftDown" | "rightDown";
|
|
@@ -1189,56 +1099,242 @@ declare const transitions: Readonly<{
|
|
|
1189
1099
|
/** Uses p159 Morph with an explicit baseline fallback for targets that exclude extensions. */
|
|
1190
1100
|
morph: (options: MorphTransitionOptions) => MorphTransition;
|
|
1191
1101
|
}>;
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
readonly
|
|
1199
|
-
}
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
readonly
|
|
1102
|
+
type VideoSource = ResourceSource;
|
|
1103
|
+
type VideoNode = CommonNode<"video", VideoDeclarationProps, NonNullable<VideoDeclarationProps["style"]>>;
|
|
1104
|
+
type MotionTime = {
|
|
1105
|
+
readonly state: "known";
|
|
1106
|
+
readonly ms: number;
|
|
1107
|
+
} | {
|
|
1108
|
+
readonly state: "unknown";
|
|
1109
|
+
} | {
|
|
1110
|
+
readonly state: "no-natural-completion";
|
|
1111
|
+
};
|
|
1112
|
+
type MotionDecision = {
|
|
1113
|
+
readonly state: "known";
|
|
1114
|
+
readonly value: boolean;
|
|
1115
|
+
} | {
|
|
1116
|
+
readonly state: "unknown";
|
|
1117
|
+
readonly reason: "insufficient-facts" | "different-step";
|
|
1118
|
+
} | {
|
|
1119
|
+
readonly state: "no-natural-completion";
|
|
1120
|
+
};
|
|
1121
|
+
type MotionDifference = {
|
|
1122
|
+
readonly state: "known";
|
|
1123
|
+
readonly ms: number;
|
|
1124
|
+
} | {
|
|
1125
|
+
readonly state: "unknown";
|
|
1126
|
+
readonly reason: "insufficient-facts" | "different-step";
|
|
1127
|
+
readonly minimumMs?: number;
|
|
1128
|
+
readonly maximumMs?: number;
|
|
1129
|
+
} | {
|
|
1130
|
+
readonly state: "no-natural-completion";
|
|
1131
|
+
};
|
|
1132
|
+
type MotionStepRef = object;
|
|
1133
|
+
type MotionEffectRef = {
|
|
1134
|
+
readonly targetId: number;
|
|
1135
|
+
readonly effectIndex: number;
|
|
1136
|
+
readonly partIndex?: number;
|
|
1137
|
+
};
|
|
1138
|
+
type MotionScopeRef = {
|
|
1139
|
+
readonly id: string;
|
|
1140
|
+
};
|
|
1141
|
+
type MotionCueRef = {
|
|
1142
|
+
readonly name: string;
|
|
1143
|
+
readonly scopeId: string;
|
|
1144
|
+
readonly point: "start" | "end";
|
|
1145
|
+
};
|
|
1146
|
+
type MotionMomentRef = {
|
|
1147
|
+
readonly kind: "effect";
|
|
1148
|
+
readonly effect: MotionEffectRef;
|
|
1149
|
+
readonly point: "start" | "end";
|
|
1150
|
+
} | {
|
|
1151
|
+
readonly kind: "scope";
|
|
1152
|
+
readonly scope: MotionScopeRef;
|
|
1153
|
+
readonly point: "start" | "end";
|
|
1154
|
+
};
|
|
1155
|
+
type MotionIntervalRef = MotionEffectRef | MotionScopeRef;
|
|
1156
|
+
type ResolvedMotionMoment = ({
|
|
1157
|
+
readonly ref: MotionMomentRef;
|
|
1158
|
+
} & {
|
|
1159
|
+
readonly state: "known";
|
|
1160
|
+
readonly ms: number;
|
|
1161
|
+
}) | ({
|
|
1162
|
+
readonly ref: MotionMomentRef;
|
|
1163
|
+
} & {
|
|
1164
|
+
readonly state: "unknown";
|
|
1165
|
+
}) | ({
|
|
1166
|
+
readonly ref: MotionMomentRef;
|
|
1167
|
+
} & {
|
|
1168
|
+
readonly state: "no-natural-completion";
|
|
1169
|
+
});
|
|
1170
|
+
type EffectInstance = ResolvedMotionEffect & {
|
|
1171
|
+
readonly ref: MotionEffectRef;
|
|
1172
|
+
readonly effectIndex: number;
|
|
1173
|
+
readonly partIndex?: number;
|
|
1174
|
+
readonly scopes: readonly MotionScopeRef[];
|
|
1175
|
+
readonly start: ResolvedMotionMoment;
|
|
1176
|
+
readonly end: ResolvedMotionMoment;
|
|
1177
|
+
};
|
|
1178
|
+
type MotionScopeQueryMember = {
|
|
1179
|
+
readonly kind: "scope";
|
|
1180
|
+
readonly ref: MotionScopeRef;
|
|
1181
|
+
} | {
|
|
1182
|
+
readonly kind: "effect";
|
|
1183
|
+
readonly ref: MotionEffectRef;
|
|
1184
|
+
};
|
|
1185
|
+
type MotionScopeSchedule = {
|
|
1186
|
+
readonly ref: MotionScopeRef;
|
|
1187
|
+
readonly step: MotionStepRef;
|
|
1188
|
+
readonly parent?: MotionScopeRef;
|
|
1189
|
+
readonly mode: MotionScopeMode;
|
|
1190
|
+
readonly eachMs?: number;
|
|
1191
|
+
readonly delayMs: number;
|
|
1192
|
+
readonly members: readonly MotionScopeQueryMember[];
|
|
1193
|
+
readonly start: ResolvedMotionMoment;
|
|
1194
|
+
readonly end: ResolvedMotionMoment;
|
|
1195
|
+
};
|
|
1196
|
+
type MotionCue = {
|
|
1197
|
+
readonly ref: MotionCueRef;
|
|
1198
|
+
readonly name: string;
|
|
1199
|
+
readonly publishedBy: MotionScopeRef;
|
|
1200
|
+
readonly point: "start" | "end";
|
|
1201
|
+
readonly at: MotionMomentRef;
|
|
1202
|
+
};
|
|
1203
|
+
type MotionDependency = {
|
|
1204
|
+
readonly kind: "scope-start";
|
|
1205
|
+
readonly scope: MotionScopeRef;
|
|
1206
|
+
readonly source: MotionMomentRef;
|
|
1207
|
+
readonly offsetMs: number;
|
|
1208
|
+
} | {
|
|
1209
|
+
readonly kind: "cue-use";
|
|
1210
|
+
readonly scope: MotionScopeRef;
|
|
1211
|
+
readonly cue: MotionCueRef;
|
|
1212
|
+
readonly offsetMs: number;
|
|
1213
|
+
} | {
|
|
1214
|
+
readonly kind: "cue-publish";
|
|
1215
|
+
readonly cue: MotionCueRef;
|
|
1216
|
+
readonly scope: MotionScopeRef;
|
|
1217
|
+
readonly point: "start" | "end";
|
|
1218
|
+
} | {
|
|
1219
|
+
readonly kind: "start-after";
|
|
1220
|
+
readonly effect: MotionEffectRef;
|
|
1221
|
+
readonly source: MotionStartDependency;
|
|
1222
|
+
};
|
|
1223
|
+
type MotionMembership = {
|
|
1224
|
+
readonly complete: boolean;
|
|
1225
|
+
readonly items: readonly {
|
|
1226
|
+
readonly effect: MotionEffectRef;
|
|
1227
|
+
readonly result: MotionDecision;
|
|
1228
|
+
}[];
|
|
1229
|
+
};
|
|
1230
|
+
type MotionStepQuery = {
|
|
1231
|
+
readonly ref: MotionStepRef;
|
|
1232
|
+
readonly trigger: "auto" | "click";
|
|
1233
|
+
readonly number?: number;
|
|
1234
|
+
readonly effects: readonly EffectInstance[];
|
|
1235
|
+
readonly scopes: readonly MotionScopeSchedule[];
|
|
1236
|
+
readonly dependencies: readonly MotionDependency[];
|
|
1237
|
+
readonly cues: readonly MotionCue[];
|
|
1238
|
+
difference(from: MotionMomentRef, to: MotionMomentRef): MotionDifference;
|
|
1239
|
+
before(from: MotionMomentRef, to: MotionMomentRef): MotionDecision;
|
|
1240
|
+
overlap(a: MotionIntervalRef, b: MotionIntervalRef): MotionDecision;
|
|
1241
|
+
intervalsCovering(ms: number, effects?: readonly MotionEffectRef[]): MotionMembership;
|
|
1242
|
+
};
|
|
1243
|
+
type MotionSchedule = {
|
|
1244
|
+
readonly evidence: "generation";
|
|
1245
|
+
readonly steps: readonly MotionStepQuery[];
|
|
1213
1246
|
};
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1247
|
+
/** Accepts only resolved slides or slide locators directly emitted by the current build; reread files will not masquerade as build results. */
|
|
1248
|
+
declare function motionSchedule(slide: ResolvedSlide | SlideLocator): MotionSchedule | undefined;
|
|
1249
|
+
type CommentAuthorProps = {
|
|
1250
|
+
readonly id?: AuthorId | undefined;
|
|
1251
|
+
readonly author: string;
|
|
1252
|
+
/** Defaults to the uppercase first character of each whitespace-delimited word in the author name. */
|
|
1253
|
+
readonly initials?: string | undefined;
|
|
1254
|
+
/** Anchor in slide pixels. Defaults to a per-slide diagonal starting at (24, 24). */
|
|
1255
|
+
readonly position?: ScreenPoint | undefined;
|
|
1256
|
+
/** XML date-time string or Date. Omit to leave the timestamp unset. */
|
|
1257
|
+
readonly createdAt?: Date | string | undefined;
|
|
1258
|
+
};
|
|
1259
|
+
type CommentDeclarationProps = CommentAuthorProps & {
|
|
1260
|
+
readonly text: string;
|
|
1217
1261
|
};
|
|
1218
|
-
type
|
|
1219
|
-
|
|
1220
|
-
|
|
1262
|
+
type CommentNode = CommonNode<"comment", CommentDeclarationProps>;
|
|
1263
|
+
/** Attaches a plain-text review comment when appended directly to a slide. */
|
|
1264
|
+
declare function comment(props: CommentAuthorProps, text: string): CommentNode;
|
|
1265
|
+
type DeckProps = DeckCoreProps & {
|
|
1266
|
+
/** Header, date, footer and page number on the notes print master. */
|
|
1267
|
+
readonly notesHeaderFooter?: PrintHeaderFooter | undefined;
|
|
1268
|
+
/** Header, date, footer and page number on the handout print master. */
|
|
1269
|
+
readonly handoutHeaderFooter?: PrintHeaderFooter | undefined;
|
|
1270
|
+
};
|
|
1271
|
+
/** Complete root `DeckProps` schema including capability-owned print header/footer properties. */
|
|
1272
|
+
declare const deckPropsSchema: z.ZodType<DeckProps>;
|
|
1273
|
+
type AnimatedContainerProps = {
|
|
1274
|
+
readonly background?: SlideBackground | undefined;
|
|
1275
|
+
readonly style?: SlideStyle | undefined;
|
|
1276
|
+
readonly transition?: Transition | undefined;
|
|
1277
|
+
readonly advanceAfter?: number | undefined;
|
|
1278
|
+
};
|
|
1279
|
+
type MasterLayoutCapabilityProps = AnimatedContainerProps & {
|
|
1280
|
+
readonly headerFooter?: HeaderFooter | undefined;
|
|
1281
|
+
readonly footerPlaceholders?: FooterPlaceholders | undefined;
|
|
1282
|
+
readonly motion?: OwnerMotion | undefined;
|
|
1283
|
+
};
|
|
1284
|
+
type SlideMasterDataProps = SlideMasterCoreDataProps & MasterLayoutCapabilityProps;
|
|
1285
|
+
type SlideMasterProps = SlideMasterCoreProps & MasterLayoutCapabilityProps;
|
|
1286
|
+
type SlideLayoutDataProps<P extends PlaceholderMap = EmptyPlaceholderMap> = SlideLayoutCoreDataProps<P> & MasterLayoutCapabilityProps;
|
|
1287
|
+
type SlideLayoutDefinition<P extends PlaceholderMap = PlaceholderMap> = SlideLayoutDefinition$1<P, SlideLayoutDataProps<P>>;
|
|
1288
|
+
/** Recognizes a reusable layout while preserving the complete author property type. */
|
|
1289
|
+
declare function isSlideLayoutDefinition(value: unknown): value is SlideLayoutDefinition;
|
|
1290
|
+
type SlideLayoutProps<P extends PlaceholderMap = PlaceholderMap> = SlideLayoutDataProps<P> & {
|
|
1291
|
+
readonly layout?: SlideLayoutDefinition<P> | undefined;
|
|
1221
1292
|
};
|
|
1222
1293
|
type SlideLayoutSource<P extends PlaceholderMap = PlaceholderMap> = SlideLayoutDefinition<P> | SlideLayoutContainer<P>;
|
|
1223
|
-
|
|
1224
|
-
declare
|
|
1294
|
+
declare const slideMasterDataPropsSchema: z.ZodType<SlideMasterDataProps>;
|
|
1295
|
+
declare const slideLayoutDataPropsSchema: z.ZodType<SlideLayoutDataProps<PlaceholderMap>>;
|
|
1296
|
+
/** Defines a reusable native layout with a typed placeholder map. */
|
|
1297
|
+
declare function defineSlideLayout<const P extends PlaceholderMap = EmptyPlaceholderMap>(spec: SlideLayoutDataProps<P>): SlideLayoutDefinition<P>;
|
|
1298
|
+
type DeckAuthorProps = DeckProps;
|
|
1299
|
+
type SlideMasterAuthorProps = SlideMasterProps;
|
|
1300
|
+
type SlideLayoutAuthorProps<P extends PlaceholderMap = PlaceholderMap> = SlideLayoutProps<P>;
|
|
1301
|
+
type SlideLayoutAuthorDataProps<P extends PlaceholderMap = EmptyPlaceholderMap> = SlideLayoutDataProps<P>;
|
|
1225
1302
|
type InferPlaceholderMap<L> = L extends SlideLayoutSource<infer P> ? P : EmptyPlaceholderMap;
|
|
1226
|
-
type ImperativeTextPlaceholderValue = string | TextNode | ParagraphNode | SpanNode | SupNode | SubNode | SlideNumberNode | readonly (string | ParagraphNode | SpanNode | SupNode | SubNode | SlideNumberNode)[];
|
|
1227
|
-
type
|
|
1303
|
+
type ImperativeTextPlaceholderValue = string | TextNode | ParagraphNode | SpanNode | SupNode | SubNode | SlideNumberNode | DateTimeNode | readonly (string | ParagraphNode | SpanNode | SupNode | SubNode | SlideNumberNode | DateTimeNode)[];
|
|
1304
|
+
type ImperativePlaceholderFillByKind = {
|
|
1305
|
+
readonly text: ImperativeTextPlaceholderValue;
|
|
1306
|
+
readonly "slide-number": string | SlideNumberNode | TextNode;
|
|
1307
|
+
readonly image: ImageNode;
|
|
1308
|
+
readonly video: VideoNode;
|
|
1309
|
+
readonly table: TableNode;
|
|
1310
|
+
readonly chart: ChartNode;
|
|
1311
|
+
readonly placeholder: PlaceholderNode;
|
|
1312
|
+
};
|
|
1313
|
+
type ImperativePlaceholderFillByRole = { readonly [Role in ContentPlaceholderRole]: ImperativePlaceholderFillByKind[PlaceholderFillKindForRole<Role>]; };
|
|
1314
|
+
type ImperativePlaceholderFillForRole<Role extends ContentPlaceholderRole> = ImperativePlaceholderFillByRole[Role];
|
|
1228
1315
|
type ImperativePlaceholders<P extends PlaceholderMap> = { readonly [K in keyof P]?: ImperativePlaceholderFillForRole<P[K]["type"]>; };
|
|
1229
|
-
type
|
|
1230
|
-
readonly
|
|
1231
|
-
readonly
|
|
1232
|
-
readonly
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
type
|
|
1236
|
-
|
|
1237
|
-
|
|
1316
|
+
type SlidePropsBase = SlideCoreDataProps & AnimatedContainerProps & {
|
|
1317
|
+
readonly motion?: OwnerMotion | undefined;
|
|
1318
|
+
readonly dateTime?: SlideDateTimeValue | undefined;
|
|
1319
|
+
readonly footer?: SlideFooterValue | undefined;
|
|
1320
|
+
readonly slideNumber?: SlideNumberValue | undefined;
|
|
1321
|
+
};
|
|
1322
|
+
type SlideLayoutBinding<L, Placeholders> = [L] extends [undefined] ? {
|
|
1323
|
+
readonly layout?: undefined;
|
|
1324
|
+
readonly placeholders?: never;
|
|
1325
|
+
} : {
|
|
1326
|
+
readonly layout: Exclude<L, undefined>;
|
|
1327
|
+
readonly placeholders?: Placeholders;
|
|
1328
|
+
} | (undefined extends L ? {
|
|
1329
|
+
readonly layout?: undefined;
|
|
1330
|
+
readonly placeholders?: never;
|
|
1331
|
+
} : never);
|
|
1332
|
+
type SlideProps<L extends SlideLayoutSource | undefined = SlideLayoutSource | undefined> = SlidePropsBase & SlideLayoutBinding<L, ImperativePlaceholders<InferPlaceholderMap<Exclude<L, undefined>>>>;
|
|
1333
|
+
type SlideAuthorProps<L extends SlideLayoutSource = SlideLayoutSource> = SlidePropsBase & {
|
|
1238
1334
|
readonly layout?: L | undefined;
|
|
1239
|
-
readonly placeholders?: ImperativePlaceholders<InferPlaceholderMap<L
|
|
1240
|
-
readonly transition?: Transition;
|
|
1335
|
+
readonly placeholders?: ImperativePlaceholders<InferPlaceholderMap<L>> | undefined;
|
|
1241
1336
|
};
|
|
1337
|
+
declare const slidePropsSchema: z.ZodType<SlideAuthorProps>;
|
|
1242
1338
|
type SectionAuthorProps = SectionProps;
|
|
1243
1339
|
type BoxAuthorProps = BoxDeclarationProps;
|
|
1244
1340
|
type ImageAuthorProps = ImageDeclarationProps;
|
|
@@ -1251,16 +1347,17 @@ type SpanAuthorProps = SpanDeclarationProps;
|
|
|
1251
1347
|
type SupAuthorProps = SupDeclarationProps;
|
|
1252
1348
|
type SubAuthorProps = SubDeclarationProps;
|
|
1253
1349
|
type SlideNumberAuthorProps = SlideNumberDeclarationProps;
|
|
1350
|
+
type DateTimeAuthorProps = DateTimeDeclarationProps;
|
|
1254
1351
|
type ChartAuthorProps = ChartProps;
|
|
1255
1352
|
type TableAuthorProps = TableDeclarationProps;
|
|
1256
1353
|
type RowAuthorProps = RowDeclarationProps;
|
|
1257
1354
|
type CellAuthorProps = CellDeclarationProps;
|
|
1258
1355
|
type NotesAuthorProps = NotesDeclarationProps;
|
|
1259
1356
|
type PlaceholderAuthorProps = PlaceholderDeclarationProps;
|
|
1260
|
-
type DeckNode = DeckContainer
|
|
1261
|
-
type SlideMasterNode = SlideMasterContainer
|
|
1262
|
-
type SlideLayoutNode<P extends PlaceholderMap = PlaceholderMap> = SlideLayoutContainer<P
|
|
1263
|
-
type SlideNode = SlideContainer<SlideAuthorProps>;
|
|
1357
|
+
type DeckNode = DeckContainer<DeckProps, SlideMasterNode>;
|
|
1358
|
+
type SlideMasterNode = SlideMasterContainer<SlideMasterProps, SlideLayoutNode>;
|
|
1359
|
+
type SlideLayoutNode<P extends PlaceholderMap = PlaceholderMap> = SlideLayoutContainer<P, SlideLayoutProps<P>>;
|
|
1360
|
+
type SlideNode = SlideContainer<SlideAuthorProps, SlideStyle>;
|
|
1264
1361
|
type SectionNode = CommonContainer<"section", SectionAuthorProps>;
|
|
1265
1362
|
type BoxNode = CommonContainer<"box", BoxAuthorProps, NonNullable<BoxDeclarationProps["style"]>>;
|
|
1266
1363
|
type ShapeNode = RichTextContainer<"shape", ShapeDeclarationProps, NonNullable<ShapeDeclarationProps["style"]>>;
|
|
@@ -1273,6 +1370,7 @@ type ParagraphNode = RichTextContainer<"paragraph", ParagraphAuthorProps, NonNul
|
|
|
1273
1370
|
type SpanNode = RichTextContainer<"span", SpanAuthorProps, NonNullable<SpanDeclarationProps["style"]>>;
|
|
1274
1371
|
type SupNode = RichTextContainer<"sup", SupAuthorProps, NonNullable<SupDeclarationProps["style"]>>;
|
|
1275
1372
|
type SubNode = RichTextContainer<"sub", SubAuthorProps, NonNullable<SubDeclarationProps["style"]>>;
|
|
1373
|
+
type DateTimeNode = CommonNode<"date-time", DateTimeAuthorProps, NonNullable<DateTimeDeclarationProps["style"]>>;
|
|
1276
1374
|
type SlideNumberNode = CommonNode<"slide-number", SlideNumberAuthorProps, NonNullable<SlideNumberDeclarationProps["style"]>>;
|
|
1277
1375
|
type MotionScopeNode = CommonContainer<"motion-scope", MotionScopeAuthorProps>;
|
|
1278
1376
|
type MotionStepNode = CommonContainer<"motion-step", MotionStepAuthorProps>;
|
|
@@ -1284,19 +1382,7 @@ declare function deck(props?: DeckAuthorProps): DeckNode;
|
|
|
1284
1382
|
declare function slideMaster(props?: SlideMasterAuthorProps): SlideMasterNode;
|
|
1285
1383
|
/** Creates an editable native SlideLayout node from inline props or a `defineSlideLayout` spec. */
|
|
1286
1384
|
declare function slideLayout<const P extends PlaceholderMap = EmptyPlaceholderMap>(propsOrDefinition?: SlideLayoutAuthorDataProps<P> | SlideLayoutDefinition<P>): SlideLayoutNode<P>;
|
|
1287
|
-
type ImperativeSlideProps<L extends SlideLayoutSource | undefined = SlideLayoutSource | undefined> =
|
|
1288
|
-
readonly layout?: undefined;
|
|
1289
|
-
readonly placeholders?: never;
|
|
1290
|
-
} : [L] extends [SlideLayoutSource] ? {
|
|
1291
|
-
readonly layout: L;
|
|
1292
|
-
readonly placeholders?: ImperativePlaceholders<InferPlaceholderMap<L>>;
|
|
1293
|
-
} : {
|
|
1294
|
-
readonly layout: SlideLayoutSource;
|
|
1295
|
-
readonly placeholders?: ImperativePlaceholders<PlaceholderMap>;
|
|
1296
|
-
} | {
|
|
1297
|
-
readonly layout?: undefined;
|
|
1298
|
-
readonly placeholders?: never;
|
|
1299
|
-
});
|
|
1385
|
+
type ImperativeSlideProps<L extends SlideLayoutSource | undefined = SlideLayoutSource | undefined> = SlideProps<L>;
|
|
1300
1386
|
declare function slide<const L extends SlideLayoutSource | undefined = undefined>(props: ImperativeSlideProps<L>): SlideNode;
|
|
1301
1387
|
declare function section(props: SectionAuthorProps): SectionNode;
|
|
1302
1388
|
declare function box(props?: BoxAuthorProps): BoxNode;
|
|
@@ -1341,10 +1427,16 @@ declare function sup(...content: readonly SpanContent[]): SupNode;
|
|
|
1341
1427
|
/** Creates an inline subscript run (`baseline="-25000"`). */
|
|
1342
1428
|
declare function sub(content?: SpanContent, props?: SubAuthorProps): SubNode;
|
|
1343
1429
|
declare function sub(...content: readonly SpanContent[]): SubNode;
|
|
1430
|
+
/** Creates a native date/time field that presentation applications can refresh. */
|
|
1431
|
+
declare function dateTime(props?: DateTimeAuthorProps): DateTimeNode;
|
|
1344
1432
|
/** Emits the native slide number field, resolved by the presentation application. */
|
|
1345
1433
|
declare function slideNumber(props?: SlideNumberAuthorProps): SlideNumberNode;
|
|
1346
1434
|
/** Creates an orchestration scope whose parent chain and click step are derived by each build. */
|
|
1347
1435
|
declare function motionScope(scope: MotionScopeHandle, props?: Omit<MotionScopeAuthorProps, "scope">): MotionScopeNode;
|
|
1348
1436
|
/** Creates a click-step container; omitted n gives this Step its own independent trigger. */
|
|
1349
1437
|
declare function step(props?: MotionStepAuthorProps): MotionStepNode;
|
|
1350
|
-
|
|
1438
|
+
/** Declares a native MP4 video or an external video link. */
|
|
1439
|
+
declare function video(props: VideoDeclarationProps): VideoNode;
|
|
1440
|
+
/** Declares a native audio clip or an external audio link. */
|
|
1441
|
+
declare function audio(props: AudioDeclarationProps): AudioNode;
|
|
1442
|
+
export { SupNode as $, MotionCompletionState as $i, createMotionScopeHandle as $n, ChartLine as $r, MotionScopeSchedule as $t, ShapeNode as A, AudioNode as Ai, ShapeDeclarationProps as An, LineStrokeValue as Ar, span as At, SlideMasterNode as B, Easing as Bi, SpanDeclarationProps as Bn, ChartAxisReferences as Br, EffectInstance as Bt, ParagraphContent as C, path as Ca, ScatterData as Ci, TableDeclarationProps as Cn, LineEndpoint as Cr, slide as Ct, SectionAuthorProps as D, ScatterLine as Di, TableTextStyle as Dn, LineStyle as Dr, slideMasterDataPropsSchema as Dt, RowAuthorProps as E, ScatterErrorBars as Ei, TableStyle as En, LineRouting as Er, slideMaster as Et, SlideLayoutDefinition as F, ImageDeclarationProps as Fi, DateTimeDeclarationProps as Fn, PrintHeaderFooter as Fr, text as Ft, SlideProps as G, EmphasisEffectDeclaration as Gi, MotionStartDependency as Gn, ChartDataLabels as Gr, MotionDifference as Gt, SlideNode as H, EffectOptions as Hi, SupDeclarationProps as Hn, ChartCategoryAxisReferences as Hr, MotionCueRef as Ht, SlideLayoutNode as I, ImageSource as Ii, ParagraphDeclarationProps as In, ChartNode as Ir, video as It, SpanContent as J, ExitEffect as Ji, ResolvedMotionStep as Jn, ChartErrorBarValues as Jr, MotionMembership as Jt, SlidePropsBase as K, EntranceEffect as Ki, ResolvedMotionEffect as Kn, ChartDisplayBlanksAs as Kr, MotionEffectRef as Kt, SlideLayoutProps as L, ImageVisualStyle as Li, ParagraphStyle as Ln, ChartAxis as Lr, CommentAuthorProps as Lt, SlideLayoutAuthorProps as M, AudioDeclarationProps as Mi, PlaceholderDeclarationProps as Mn, radialGradient as Mr, sub as Mt, SlideLayoutBinding as N, MediaPlaybackProps as Ni, PlaceholderNode as Nn, GroupDeclarationProps as Nr, sup as Nt, SectionNode as O, SharedCategoryData as Oi, TableVerticalAlign as On, LineVisualStyle as Or, slideNumber as Ot, SlideLayoutDataProps as P, VideoDeclarationProps as Pi, NotesDeclarationProps as Pn, PrintDateTimeValue as Pr, table as Pt, SupAuthorProps as Q, InstantEffectOptions as Qi, collapse as Qn, ChartKind as Qr, MotionScopeRef as Qt, SlideLayoutSource as R, BreatheEffect as Ri, RunTextStyle as Rn, ChartAxisCrossing as Rr, CommentNode as Rt, ParagraphAuthorProps as S, blockArc as Sa, ScatterChartSeries as Si, TableColumn as Sn, LineDeclarationProps as Sr, shape as St, PlaceholderAuthorProps as T, ScatterDataLabels as Ti, TableSpacing as Tn, LinePort as Tr, slideLayoutDataPropsSchema as Tt, SlideNumberAuthorProps as U, EffectPreset as Ui, TextDeclarationProps as Un, ChartCustomErrorBars as Ur, MotionDecision as Ut, SlideMasterProps as V, Effect as Vi, SubDeclarationProps as Vn, ChartCategoryAxis as Vr, MotionCue as Vt, SlideNumberNode as W, EmphasisEffect as Wi, MotionNativeProjection as Wn, ChartDataLabelOverride as Wr, MotionDependency as Wt, SubAuthorProps as X, ExitPreset as Xi, appear as Xn, ChartGroup as Xr, MotionSchedule as Xt, SpanNode as Y, ExitEffectDeclaration as Yi, after as Yn, ChartErrorBars as Yr, MotionMomentRef as Yt, SubNode as Z, FillColorOptions as Zi, breathe as Zn, ChartGroupData as Zr, MotionScopeQueryMember as Zt, LineNode as _, SpinOptions as _a, IndependentCategorySeries as _i, RowNode as _n, zoom as _r, notes as _t, DateTimeAuthorProps as a, MotionScopeAuthorProps as aa, ChartSeries as ai, VideoNode as an, floatOut as ar, box as at, NotesAuthorProps as b, MorphProps as ba, ScatterChartGroup as bi, RowDeclarationProps as bn, fromFontCollection as br, row as bt, DeckNode as c, MotionStepAuthorProps as ca, ChartTickMark as ci, MorphTransition as cn, flyOut as cr, dateTime as ct, GroupNode as d, OwnerMotion as da, ChartTrendlineType as di, Transition as dn, spin as dr, defineSlideLayout as dt, MotionDirection as ea, ChartLineDash as ei, MotionStepQuery as en, disappear as er, TableAuthorProps as et, ImageAuthorProps as f, OwnerMotionEffect as fa, ChartValueAxis as fi, TransitionDirection as fn, spinIn as fr, group as ft, LineAuthorProps as g, RepeatedEffect as ga, IndependentCategoryData as gi, CellNode as gn, wipeOut as gr, motionScope as gt, InferPlaceholderMap as h, RepeatCount as ha, DoughnutChartGroup as hi, transitions as hn, wipe as hr, line as ht, ChartAuthorProps as i, MotionProps as ia, ChartProps as ii, motionSchedule as in, floatDown as ir, audio as it, SlideAuthorProps as j, AudioSource as ji, PlaceholderFillKindForRole as jn, linearGradient as jr, step as jt, ShapeAuthorProps as k, BoxDeclarationProps as ki, ShapeTextStyle as kn, LineStroke as kr, slidePropsSchema as kt, DeckProps as l, MotionTargetRange as la, ChartTitle as li, StandardTransition as ln, onStep as lr, deck as lt, ImperativePlaceholders as m, OwnerMotionTarget as ma, ColumnOrBarChartGroup as mi, TransitionSpeed as mn, stretch as mr, isSlideLayoutDefinition as mt, BoxNode as n, MotionMoment as na, ChartMarkerSymbol as ni, MotionTime as nn, fadeOut as nr, TextContent as nt, DateTimeNode as o, MotionScopeHandle as oa, ChartSeriesDataLabelOverride as oi, VideoSource as on, floatUp as or, cell as ot, ImageNode as p, OwnerMotionStep as pa, ChartXYAxisReferences as pi, TransitionDuration as pn, spinOut as pr, image as pt, SpanAuthorProps as q, EntranceEffectDeclaration as qi, ResolvedMotionScope as qn, ChartErrorBarInclude as qr, MotionIntervalRef as qt, CellAuthorProps as r, MotionMomentOffset as ra, ChartPoint as ri, ResolvedMotionMoment as rn, fillColor as rr, TextNode as rt, DeckAuthorProps as s, MotionScopeMode as sa, ChartTickLabelPosition as si, FlipTransition as sn, fly as sr, chart as st, BoxAuthorProps as t, MotionGranularity as ta, ChartMarker as ti, MotionStepRef as tn, fade as tr, TextAuthorProps as tt, GroupAuthorProps as u, MotionTiming as ua, ChartTrendline as ui, StripsDirection as un, repeat as ur, deckPropsSchema as ut, MotionScopeNode as v, SteppedEffect as va, LineOrAreaChartGroup as vi, TableNode as vn, zoomOut as vr, paragraph as vt, ParagraphNode as w, preset as wa, ScatterDataLabelOverride as wi, TableRowStyle as wn, LineLayoutStyle as wr, slideLayout as wt, NotesNode as x, PathOptions as xa, ScatterChartPoint as xi, TableCellStyle as xn, LineAdjust as xr, section as xt, MotionStepNode as y, spinOptionsSchema as ya, PieChartGroup as yi, CellDeclarationProps as yn, font as yr, placeholder as yt, SlideMasterAuthorProps as z, BreatheOptions as zi, SlideNumberDeclarationProps as zn, ChartAxisPosition as zr, comment as zt };
|