@officedk/pptxdk 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +48 -2
- package/dist/build.d.ts +94 -0
- package/dist/build.js +148 -0
- package/dist/capabilities/dist/all.js +32 -0
- package/dist/capabilities/dist/box/box-codegen.js +51 -0
- package/dist/capabilities/dist/box/box-declaration.js +31 -0
- package/dist/capabilities/dist/box/box-elements.js +17 -0
- package/dist/capabilities/dist/box/box.js +138 -0
- package/dist/capabilities/dist/chart/chart-codegen.js +77 -0
- package/dist/capabilities/dist/chart/chart-declaration.js +7 -0
- package/dist/capabilities/dist/chart/chart-elements.js +12 -0
- package/dist/capabilities/dist/chart/chart-import.js +2272 -0
- package/dist/capabilities/dist/chart/chart-labels.js +86 -0
- package/dist/capabilities/dist/chart/chart-model.js +9 -0
- package/dist/capabilities/dist/chart/chart-schemas.js +1078 -0
- package/dist/capabilities/dist/chart/chart-xml.js +788 -0
- package/dist/capabilities/dist/chart/chart.js +1124 -0
- package/dist/capabilities/dist/chart/preview/axes-and-grid.js +298 -0
- package/dist/capabilities/dist/chart/preview/bar-column.js +143 -0
- package/dist/capabilities/dist/chart/preview/data-labels.js +334 -0
- package/dist/capabilities/dist/chart/preview/error-bars.js +213 -0
- package/dist/capabilities/dist/chart/preview/index.js +190 -0
- package/dist/capabilities/dist/chart/preview/layout.js +519 -0
- package/dist/capabilities/dist/chart/preview/legend.js +273 -0
- package/dist/capabilities/dist/chart/preview/line-area.js +404 -0
- package/dist/capabilities/dist/chart/preview/markers.js +100 -0
- package/dist/capabilities/dist/chart/preview/number-format.js +247 -0
- package/dist/capabilities/dist/chart/preview/pie-doughnut.js +159 -0
- package/dist/capabilities/dist/chart/preview/scales.js +365 -0
- package/dist/capabilities/dist/chart/preview/scatter.js +131 -0
- package/dist/capabilities/dist/chart/preview/style.js +48 -0
- package/dist/capabilities/dist/chart/preview/text-render.js +116 -0
- package/dist/capabilities/dist/chart/preview/trendlines.js +537 -0
- package/dist/capabilities/dist/chart/preview/types.js +5 -0
- package/dist/capabilities/dist/document.js +148 -0
- package/dist/capabilities/dist/font/font-embedding.js +289 -0
- package/dist/capabilities/dist/font/font-family.js +10 -0
- package/dist/capabilities/dist/font/font-import.js +302 -0
- package/dist/capabilities/dist/font/font-subset.js +55 -0
- package/dist/capabilities/dist/font/font.js +25 -0
- package/dist/capabilities/dist/group/group-codegen.js +51 -0
- package/dist/capabilities/dist/group/group-declaration.js +42 -0
- package/dist/capabilities/dist/group/group-elements.js +12 -0
- package/dist/capabilities/dist/group/group-import.js +319 -0
- package/dist/capabilities/dist/group/group-xml.js +7 -0
- package/dist/capabilities/dist/group/group.js +211 -0
- package/dist/capabilities/dist/image/gif-decoder.js +244 -0
- package/dist/capabilities/dist/image/image-codegen.js +94 -0
- package/dist/capabilities/dist/image/image-declaration.js +8 -0
- package/dist/capabilities/dist/image/image-decode.js +221 -0
- package/dist/capabilities/dist/image/image-elements.js +12 -0
- package/dist/capabilities/dist/image/image-import.js +778 -0
- package/dist/capabilities/dist/image/image-schemas.js +149 -0
- package/dist/capabilities/dist/image/image-xml.js +12 -0
- package/dist/capabilities/dist/image/image.js +472 -0
- package/dist/capabilities/dist/masters/footer-placeholder.js +685 -0
- package/dist/capabilities/dist/masters/masters-codegen.js +21 -0
- package/dist/capabilities/dist/masters/masters.js +250 -0
- package/dist/capabilities/dist/motion/motion-api.js +527 -0
- package/dist/capabilities/dist/motion/motion-codegen.js +340 -0
- package/dist/capabilities/dist/motion/motion-elements.js +43 -0
- package/dist/capabilities/dist/motion/motion-import.js +1033 -0
- package/dist/capabilities/dist/motion/motion-plan.js +2189 -0
- package/dist/capabilities/dist/motion/motion-query.js +420 -0
- package/dist/capabilities/dist/motion/motion-schemas.js +216 -0
- package/dist/capabilities/dist/motion/motion.js +1372 -0
- package/dist/capabilities/dist/notes/notes-codegen.js +20 -0
- package/dist/capabilities/dist/notes/notes-declaration.js +8 -0
- package/dist/capabilities/dist/notes/notes-elements.js +12 -0
- package/dist/capabilities/dist/notes/notes-import.js +292 -0
- package/dist/capabilities/dist/notes/notes-schemas.js +35 -0
- package/dist/capabilities/dist/notes/notes-xml.js +38 -0
- package/dist/capabilities/dist/notes/notes.js +191 -0
- package/dist/capabilities/dist/placeholder/placeholder-codegen.js +23 -0
- package/dist/capabilities/dist/placeholder/placeholder-elements.js +12 -0
- package/dist/capabilities/dist/placeholder/placeholder.js +292 -0
- package/dist/capabilities/dist/shape/shape-codegen.js +166 -0
- package/dist/capabilities/dist/shape/shape-declaration.js +57 -0
- package/dist/capabilities/dist/shape/shape-elements.js +12 -0
- package/dist/capabilities/dist/shape/shape-import.js +579 -0
- package/dist/capabilities/dist/shape/shape-xml.js +6 -0
- package/dist/capabilities/dist/shape/shape.js +337 -0
- package/dist/capabilities/dist/shared/geometry.js +1423 -0
- package/dist/capabilities/dist/shared/identity.js +205 -0
- package/dist/capabilities/dist/shared/morph-api.js +11 -0
- package/dist/capabilities/dist/shared/placeholder-import.js +113 -0
- package/dist/capabilities/dist/shared/preset-definitions.js +21390 -0
- package/dist/capabilities/dist/shared/style-inheritance.js +166 -0
- package/dist/capabilities/dist/shared/style-parse.js +11 -0
- package/dist/capabilities/dist/shared/text-schemas.js +216 -0
- package/dist/capabilities/dist/shared/text-service.js +1883 -0
- package/dist/capabilities/dist/shared/visual.js +918 -0
- package/dist/capabilities/dist/slide-background/slide-background-codegen.js +44 -0
- package/dist/capabilities/dist/slide-background/slide-background-import.js +161 -0
- package/dist/capabilities/dist/slide-background/slide-background-xml.js +21 -0
- package/dist/capabilities/dist/slide-background/slide-background.js +221 -0
- package/dist/capabilities/dist/table/table-codegen.js +81 -0
- package/dist/capabilities/dist/table/table-declaration.js +15 -0
- package/dist/capabilities/dist/table/table-elements.js +27 -0
- package/dist/capabilities/dist/table/table-import.js +539 -0
- package/dist/capabilities/dist/table/table-schemas.js +279 -0
- package/dist/capabilities/dist/table/table-xml.js +37 -0
- package/dist/capabilities/dist/table/table.js +662 -0
- package/dist/capabilities/dist/text/text-codegen.js +129 -0
- package/dist/capabilities/dist/text/text-declaration.js +19 -0
- package/dist/capabilities/dist/text/text-elements.js +38 -0
- package/dist/capabilities/dist/text/text-import.js +1077 -0
- package/dist/capabilities/dist/text/text-xml.js +9 -0
- package/dist/capabilities/dist/text/text.js +335 -0
- package/dist/capabilities/dist/transition/transition-api.js +139 -0
- package/dist/capabilities/dist/transition/transition-codegen.js +45 -0
- package/dist/capabilities/dist/transition/transition-import.js +477 -0
- package/dist/capabilities/dist/transition/transition.js +260 -0
- package/dist/capability-D_xeNVIw.d.ts +29496 -0
- package/dist/cli.js +20 -0
- package/dist/codegen/dist/assets.js +78 -0
- package/dist/codegen/dist/codegen.js +611 -0
- package/dist/codegen/dist/identifiers.js +193 -0
- package/dist/codegen/dist/index.js +3 -0
- package/dist/codegen/dist/printer.js +143 -0
- package/dist/codegen/dist/types.js +49 -0
- package/dist/core/dist/author-ids.js +48 -0
- package/dist/core/dist/author-schemas.js +313 -0
- package/dist/core/dist/block-flex-layout.js +749 -0
- package/dist/core/dist/build.js +4 -0
- package/dist/core/dist/capability.js +13 -0
- package/dist/core/dist/declaration.js +15 -0
- package/dist/core/dist/diagnostics.js +21 -0
- package/dist/core/dist/document-internals.js +13 -0
- package/dist/core/dist/document.js +408 -0
- package/dist/core/dist/geometry-schemas.js +249 -0
- package/dist/core/dist/grid-layout.js +445 -0
- package/dist/core/dist/host.js +40 -0
- package/dist/core/dist/index.js +15 -0
- package/dist/core/dist/input-values.js +45 -0
- package/dist/core/dist/layout-protocol.js +66 -0
- package/dist/core/dist/layout-schemas.js +208 -0
- package/dist/core/dist/layout.js +299 -0
- package/dist/core/dist/masters.js +169 -0
- package/dist/core/dist/morph.js +30 -0
- package/dist/core/dist/placeholders.js +213 -0
- package/dist/core/dist/query.js +155 -0
- package/dist/core/dist/resolution.js +11 -0
- package/dist/core/dist/resolve.js +1827 -0
- package/dist/core/dist/stage-options.js +67 -0
- package/dist/core/dist/theme.js +931 -0
- package/dist/document-BHPUODPP.d.ts +27759 -0
- package/dist/emit/dist/emit.js +936 -0
- package/dist/emit/dist/index.js +5 -0
- package/dist/emit/dist/ooxml.js +606 -0
- package/dist/emit/dist/shape-tree.js +12 -0
- package/dist/import/dist/alternate-content.js +54 -0
- package/dist/import/dist/diagnostics.js +153 -0
- package/dist/import/dist/fonts.js +250 -0
- package/dist/import/dist/import.js +504 -0
- package/dist/import/dist/index.js +16 -0
- package/dist/import/dist/masters.js +1153 -0
- package/dist/import/dist/mechanism.js +10 -0
- package/dist/import/dist/namespaces.js +60 -0
- package/dist/import/dist/notes-masters.js +300 -0
- package/dist/import/dist/opc.js +233 -0
- package/dist/import/dist/resources.js +166 -0
- package/dist/import/dist/sections.js +139 -0
- package/dist/import/dist/themes.js +671 -0
- package/dist/import/dist/visual.js +761 -0
- package/dist/import/dist/xml-fragments.js +36 -0
- package/dist/import/dist/xml-reader.js +267 -0
- package/dist/index-B5m3hqjC.d.ts +7 -0
- package/dist/index-CCy-Yo8G.d.ts +1208 -0
- package/dist/index-DpxcZ4Gs.d.ts +725 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +70 -0
- package/dist/node.d.ts +53 -0
- package/dist/node.js +194 -0
- package/dist/pptxdk/src/cli-commands.js +913 -0
- package/dist/pptxdk/src/compose.js +44 -0
- package/dist/pptxdk/src/slide.js +9 -0
- package/dist/preview/dist/index.js +240 -0
- package/dist/preview/dist/options.js +53 -0
- package/dist/preview-Cfw0QdMM.d.ts +86 -0
- package/dist/preview.d.ts +3 -0
- package/dist/preview.js +27 -0
- package/dist/react/dist/append.js +66 -0
- package/dist/react/dist/document-adapter.js +65 -0
- package/dist/react/dist/elements.js +59 -0
- package/dist/react/dist/index.js +68 -0
- package/dist/react/dist/reconciler.js +290 -0
- package/dist/react.d.ts +145 -0
- package/dist/react.js +27 -0
- package/dist/transition-Cips9wma.d.ts +82 -0
- package/dist/vanilla.d.ts +4 -0
- package/dist/vanilla.js +14 -0
- package/package.json +78 -3
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { r as ArrowType } from "./index-DpxcZ4Gs.js";
|
|
2
|
+
import { $n as FontFace, Cn as LayoutLength, Cr as VisualStyle, Dr as defaultColorMap, En as PaddingStyle, Er as darker, Fr as lighter, Ft as MorphKey, Gr as AuthorId, Gt as SlideLayoutDefinition, Ht as FooterPlaceholders, In as SlideBackground, Ir as nativeColorSlots, It as MorphScope, Jt as SlideLayoutType, Ln as SlideFooterValue, Lr as schemeColorNames, Lt as createMorphScope, Mr as isSchemeColorName, Nn as LinkTarget, Nr as isSchemeColorSlot, Or as defaultTheme, Pn as PlaceholderSize, Pr as isTheme, Qn as Font, Rn as SlideNumberValue, Rr as schemeColorSlots, Rt as isMorphKey, S as PresetGeometryName, Sn as TextPlaceholderRole, Sr as ThemeShade, Tn as LayoutStyle, Ut as HeaderFooter, Vt as FooterPlaceholderSpec, Wt as SlideLayoutDataProps, Xn as ColorMapOverride, Yn as ColorMap, Zn as ColorValue, _ as CustomGeometry, _n as PlaceholderOrient, a as CommonContainer, ar as GradientStop, b as PathCommand, bn as PlaceholderSz, br as ThemeOverride, c as DocumentProps, cn as EmptyPlaceholderMap, cr as RadialGradient, d as RichTextContainer, dn as MasterPlaceholderSpec, dr as SchemeColorSlot, en as isSlideLayoutDefinition, er as FontFaceStyle, f as RichTextItem, fn as MasterTextStyles, fr as Shadow, g as StyleUpdate, gn as PlaceholderMap, gr as ThemeColor, h as SlideMasterContainer, hn as PlaceholderListStyles, hr as Theme, i as AuthorQueryError, ir as FormatScheme, jr as isNativeColorSlot, kr as defineTheme, l as DocumentStyle, ln as LayoutPlaceholderSpec, m as SlideLayoutContainer, mn as PlaceholderLevelStyle, mr as TextStyle, n as AuthorNodeGuard, nr as FontReference, o as CommonNode, or as LinearGradient, p as SlideContainer, pn as NativePlaceholderRef, pr as TextAlignment, r as AuthorQuery, rr as FontSize, s as DeckContainer, sn as ContentPlaceholderRole, sr as NativeColorSlot, tr as FontOptions, u as DocumentUpdate, un as MasterPlaceholderMap, ur as SchemeColorName, v as Geometry, vr as ThemeData, wn as LayoutSpacing, x as PresetGeometry, xn as TextList, xr as ThemeScope, y as GeometryPath, yn as PlaceholderStyle, yr as ThemeInput } from "./capability-D_xeNVIw.js";
|
|
3
|
+
import { $ as placeholder, $n as MotionDirection, $r as LineOrAreaChartGroup, $t as NotesDeclarationProps, A as SlideLayoutSource, Ai as ParagraphStyle, An as fade, Ar as ChartErrorBars, B as TextAuthorProps, Bn as zoom, Br as ChartSeries, C as SectionAuthorProps, Ci as PathOptions, Cr as ChartCustomErrorBars, D as SlideAuthorProps, Dn as after, Dr as ChartDisplayBlanksAs, Dt as RowNode, E as ShapeNode, Ei as preset, Er as ChartDataLabels, Et as CellNode, F as SlideNumberNode, Fn as repeat, Fr as ChartLineDash, Ft as ImageSource, G as chart, Gn as EffectOptions, Gr as ChartTrendline, Gt as TableRowStyle, H as TextNode, Hn as BreatheOptions, Hr as ChartTickLabelPosition, Ht as TableCellStyle, I as SpanAuthorProps, In as spin, Ir as ChartMarker, It as ImageVisualStyle, J as group, Jn as EmphasisEffectDeclaration, Jr as ChartXYAxisReferences, Jt as TableTextStyle, K as deck, Kn as EffectPreset, Kr as ChartTrendlineType, Kt as TableSpacing, L as SpanContent, Ln as spinIn, Lr as ChartMarkerSymbol, M as SlideMasterNode, Mi as font, Mn as floatDown, Mr as ChartGroupData, Mt as PlaceholderNode, N as SlideNode, Nn as floatUp, Nr as ChartKind, O as SlideLayoutAuthorProps, On as breathe, Or as ChartErrorBarInclude, Ot as TableNode, P as SlideNumberAuthorProps, Pn as fly, Pr as ChartLine, Q as paragraph, Qn as MotionCompletionState, Qr as IndependentCategorySeries, R as SpanNode, Rn as stretch, Rr as ChartPoint, Rt as ChartNode, S as RowAuthorProps, Si as radialGradient, Sn as MotionScopeObservation, Sr as ChartCategoryAxisReferences, St as ShapeTextStyle, T as ShapeAuthorProps, Ti as path, Tn as MotionStepObservation, U as box, Un as Easing, Ur as ChartTickMark, Ut as TableColumn, V as TextContent, Vn as BreatheEffect, Vr as ChartSeriesDataLabelOverride, W as cell, Wn as Effect, Wr as ChartTitle, X as motionScope, Xn as EntranceEffectDeclaration, Xr as DoughnutChartGroup, Xt as TableVerticalAlign, Y as image, Yn as EntranceEffect, Yr as ColumnOrBarChartGroup, Z as notes, Zn as FillColorOptions, Zr as IndependentCategoryData, _ as NotesNode, _n as MotionTime, _r as ChartAxis, _t as TransitionDirection, a as DeckAuthorProps, ai as ScatterDataLabelOverride, an as MotionDifference, ar as MotionScopeHandle, at as slideMaster, b as ParagraphNode, bi as ShapeVisualStyle, bn as MotionNativeProjection, br as ChartAxisReferences, bt as transitions, c as GroupNode, ci as ScatterLine, cn as MotionMembership, cr as MotionTargetRange, ct as step, d as ImperativePlaceholders, dn as MotionQuery, dr as OwnerMotionEffect, dt as MorphProps, ei as PieChartGroup, en as EffectInstanceObservation, er as MotionGranularity, et as row, f as InferPlaceholderMap, fn as MotionScopeQueryMember, fr as OwnerMotionStep, ft as FlipTransition, g as NotesAuthorProps, gn as MotionStepRef, gr as SpinOptions, gt as Transition, h as MotionStepNode, hi as LineEndStyle, hn as MotionStepQuery, hr as RepeatedEffect, ht as StripsDirection, i as ChartAuthorProps, ii as ScatterData, in as MotionDependencyObservation, ir as MotionScopeAuthorProps, it as slideLayout, j as SlideMasterAuthorProps, jn as fillColor, jr as ChartGroup, k as SlideLayoutNode, kn as createMotionScopeHandle, kr as ChartErrorBarValues, l as ImageAuthorProps, li as SharedCategoryData, ln as MotionMomentObservation, lr as MotionTiming, lt as table, m as MotionScopeNode, mn as MotionScopeRef, mr as RepeatCount, mt as StandardTransition, n as BoxNode, ni as ScatterChartPoint, nn as MotionCueRef, nr as MotionMomentOffset, nt as shape, o as DeckNode, oi as ScatterDataLabels, on as MotionEffectRef, or as MotionScopeMode, ot as slideNumber, pn as MotionScopeQueryObservation, pr as OwnerMotionTarget, pt as MorphTransition, q as defineSlideLayout, qn as EmphasisEffect, qr as ChartValueAxis, qt as TableStyle, r as CellAuthorProps, ri as ScatterChartSeries, rn as MotionDecision, rr as MotionProps, rt as slide, s as GroupAuthorProps, si as ScatterErrorBars, sn as MotionIntervalRef, sr as MotionStepAuthorProps, st as span, t as BoxAuthorProps, ti as ScatterChartGroup, tn as MotionCueObservation, tr as MotionMoment, tt as section, u as ImageNode, un as MotionMomentRef, ur as OwnerMotion, ut as text, v as ParagraphAuthorProps, vn as observeMotion, vr as ChartAxisCrossing, vt as TransitionDuration, w as SectionNode, wi as blockArc, wn as MotionStartDependency, wr as ChartDataLabelOverride, x as PlaceholderAuthorProps, xi as linearGradient, xn as MotionObservation, xr as ChartCategoryAxis, y as ParagraphContent, yn as MotionEffectObservation, yr as ChartAxisPosition, yt as TransitionSpeed, z as TableAuthorProps, zn as wipe } from "./document-BHPUODPP.js";
|
|
4
|
+
export { type ArrowType, type AuthorId, type AuthorNodeGuard, AuthorQuery, AuthorQueryError, type BoxAuthorProps, type BoxNode, type BreatheEffect, type BreatheOptions, type CellAuthorProps, type CellNode, type ChartAuthorProps, type ChartAxis, type ChartAxisCrossing, type ChartAxisPosition, type ChartAxisReferences, type ChartCategoryAxis, type ChartCategoryAxisReferences, type ChartCustomErrorBars, type ChartDataLabelOverride, type ChartDataLabels, type ChartDisplayBlanksAs, type ChartErrorBarInclude, type ChartErrorBarValues, type ChartErrorBars, type ChartGroup, type ChartGroupData, type ChartKind, type ChartLine, type ChartLineDash, type ChartMarker, type ChartMarkerSymbol, type ChartNode, type ChartPoint, type ChartSeries, type ChartSeriesDataLabelOverride, type ChartTickLabelPosition, type ChartTickMark, type ChartTitle, type ChartTrendline, type ChartTrendlineType, type ChartValueAxis, type ChartXYAxisReferences, type ColorMap, type ColorMapOverride, type ColorValue, type ColumnOrBarChartGroup, CommonContainer, CommonNode, type ContentPlaceholderRole, type CustomGeometry, type DeckAuthorProps, DeckContainer, type DeckNode, type DocumentProps, type DocumentStyle, type DocumentUpdate, type DoughnutChartGroup, type Easing, type Effect, type EffectInstanceObservation, type EffectOptions, type EffectPreset, type EmphasisEffect, type EmphasisEffectDeclaration, type EmptyPlaceholderMap, type EntranceEffect, type EntranceEffectDeclaration, type FillColorOptions, type FlipTransition, type Font, type FontFace, type FontFaceStyle, type FontOptions, type FontReference, type FontSize, type FooterPlaceholderSpec, type FooterPlaceholders, type FormatScheme, type Geometry, type GeometryPath, type GradientStop, type GroupAuthorProps, type GroupNode, type HeaderFooter, type ImageAuthorProps, type ImageNode, type ImageSource, type ImageVisualStyle, type ImperativePlaceholders, type IndependentCategoryData, type IndependentCategorySeries, type InferPlaceholderMap, type LayoutLength, type LayoutPlaceholderSpec, type LayoutSpacing, type LayoutStyle, type LineEndStyle, type LineOrAreaChartGroup, type LinearGradient, type LinkTarget, type MasterPlaceholderMap, type MasterPlaceholderSpec, type MasterTextStyles, type MorphKey, type MorphProps, type MorphScope, type MorphTransition, type MotionCompletionState, type MotionCueObservation, type MotionCueRef, type MotionDecision, type MotionDependencyObservation, type MotionDifference, type MotionDirection, type MotionEffectObservation, type MotionEffectRef, type MotionGranularity, type MotionIntervalRef, type MotionMembership, type MotionMoment, type MotionMomentObservation, type MotionMomentOffset, type MotionMomentRef, type MotionNativeProjection, type MotionObservation, type MotionProps, type MotionQuery, type MotionScopeAuthorProps, type MotionScopeHandle, type MotionScopeMode, type MotionScopeNode, type MotionScopeObservation, type MotionScopeQueryMember, type MotionScopeQueryObservation, type MotionScopeRef, type MotionStartDependency, type MotionStepAuthorProps, type MotionStepNode, type MotionStepObservation, type MotionStepQuery, type MotionStepRef, type MotionTargetRange, type MotionTime, type MotionTiming, type NativeColorSlot, type NativePlaceholderRef, type NotesAuthorProps, type NotesDeclarationProps, type NotesNode, type OwnerMotion, type OwnerMotionEffect, type OwnerMotionStep, type OwnerMotionTarget, type PaddingStyle, type ParagraphAuthorProps, type ParagraphContent, type ParagraphNode, type ParagraphStyle, type PathCommand, type PathOptions, type PieChartGroup, type PlaceholderAuthorProps, type PlaceholderLevelStyle, type PlaceholderListStyles, type PlaceholderMap, type PlaceholderNode, type PlaceholderOrient, type PlaceholderSize, type PlaceholderStyle, type PlaceholderSz, type PresetGeometry, type PresetGeometryName, type RadialGradient, type RepeatCount, type RepeatedEffect, RichTextContainer, type RichTextItem, type RowAuthorProps, type RowNode, type ScatterChartGroup, type ScatterChartPoint, type ScatterChartSeries, type ScatterData, type ScatterDataLabelOverride, type ScatterDataLabels, type ScatterErrorBars, type ScatterLine, type SchemeColorName, type SchemeColorSlot, type SectionAuthorProps, type SectionNode, type Shadow, type ShapeAuthorProps, type ShapeNode, type ShapeTextStyle, type ShapeVisualStyle, type SharedCategoryData, type SlideAuthorProps, type SlideBackground, SlideContainer, type SlideFooterValue, type SlideLayoutAuthorProps, SlideLayoutContainer, type SlideLayoutDataProps, type SlideLayoutDefinition, type SlideLayoutNode, type SlideLayoutSource, type SlideLayoutType, type SlideMasterAuthorProps, SlideMasterContainer, type SlideMasterNode, type SlideNode, type SlideNumberAuthorProps, type SlideNumberNode, type SlideNumberValue, type SpanAuthorProps, type SpanContent, type SpanNode, type SpinOptions, type StandardTransition, type StripsDirection, type StyleUpdate, type TableAuthorProps, type TableCellStyle, type TableColumn, type TableNode, type TableRowStyle, type TableSpacing, type TableStyle, type TableTextStyle, type TableVerticalAlign, type TextAlignment, type TextAuthorProps, type TextContent, type TextList, type TextNode, type TextPlaceholderRole, type TextStyle, type Theme, type ThemeColor, type ThemeData, type ThemeInput, type ThemeOverride, type ThemeScope, type ThemeShade, type Transition, type TransitionDirection, type TransitionDuration, type TransitionSpeed, type VisualStyle, after, blockArc, box, breathe, cell, chart, createMorphScope, createMotionScopeHandle, darker, deck, defaultColorMap, defaultTheme, defineSlideLayout, defineTheme, fade, fillColor, floatDown, floatUp, fly, font, group, image, isMorphKey, isNativeColorSlot, isSchemeColorName, isSchemeColorSlot, isSlideLayoutDefinition, isTheme, lighter, linearGradient, motionScope, nativeColorSlots, notes, observeMotion, paragraph, path, placeholder, preset, radialGradient, repeat, row, schemeColorNames, schemeColorSlots, section, shape, slide, slideLayout, slideMaster, slideNumber, span, spin, spinIn, step, stretch, table, text, transitions, wipe, zoom };
|
package/dist/vanilla.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createMorphScope, isMorphKey } from "./core/dist/morph.js";
|
|
2
|
+
import { darker, defaultColorMap, defaultTheme, defineTheme, isNativeColorSlot, isSchemeColorName, isSchemeColorSlot, isTheme, lighter, nativeColorSlots, schemeColorNames, schemeColorSlots } from "./core/dist/theme.js";
|
|
3
|
+
import { isSlideLayoutDefinition } from "./core/dist/masters.js";
|
|
4
|
+
import "./core/dist/index.js";
|
|
5
|
+
import { AuthorQuery, AuthorQueryError, CommonContainer, CommonNode, DeckContainer, RichTextContainer, SlideContainer, SlideLayoutContainer, SlideMasterContainer } from "./core/dist/document.js";
|
|
6
|
+
import { after, breathe, createMotionScopeHandle, fade, fillColor, floatDown, floatUp, fly, repeat, spin, spinIn, stretch, wipe, zoom } from "./capabilities/dist/motion/motion-api.js";
|
|
7
|
+
import "./core/dist/capability.js";
|
|
8
|
+
import { blockArc, path, preset } from "./capabilities/dist/shared/geometry.js";
|
|
9
|
+
import { linearGradient, radialGradient } from "./capabilities/dist/shared/visual.js";
|
|
10
|
+
import { observeMotion } from "./capabilities/dist/motion/motion-query.js";
|
|
11
|
+
import { font } from "./capabilities/dist/font/font.js";
|
|
12
|
+
import { transitions } from "./capabilities/dist/transition/transition-api.js";
|
|
13
|
+
import { box, cell, chart, deck, defineSlideLayout, group, image, motionScope, notes, paragraph, placeholder, row, section, shape, slide, slideLayout, slideMaster, slideNumber, span, step, table, text } from "./capabilities/dist/document.js";
|
|
14
|
+
export { AuthorQuery, AuthorQueryError, CommonContainer, CommonNode, DeckContainer, RichTextContainer, SlideContainer, SlideLayoutContainer, SlideMasterContainer, after, blockArc, box, breathe, cell, chart, createMorphScope, createMotionScopeHandle, darker, deck, defaultColorMap, defaultTheme, defineSlideLayout, defineTheme, fade, fillColor, floatDown, floatUp, fly, font, group, image, isMorphKey, isNativeColorSlot, isSchemeColorName, isSchemeColorSlot, isSlideLayoutDefinition, isTheme, lighter, linearGradient, motionScope, nativeColorSlots, notes, observeMotion, paragraph, path, placeholder, preset, radialGradient, repeat, row, schemeColorNames, schemeColorSlots, section, shape, slide, slideLayout, slideMaster, slideNumber, span, spin, spinIn, step, stretch, table, text, transitions, wipe, zoom };
|
package/package.json
CHANGED
|
@@ -1,6 +1,81 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@officedk/pptxdk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Build, preview, and import editable PowerPoint presentations with TypeScript or React.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/officedk/pptxdk.git",
|
|
9
|
+
"directory": "packages/pptxdk"
|
|
10
|
+
},
|
|
11
|
+
"bin": {
|
|
12
|
+
"pptxdk": "./dist/cli.js"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"type": "module",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": "./dist/index.js",
|
|
20
|
+
"./build": "./dist/build.js",
|
|
21
|
+
"./react": "./dist/react.js",
|
|
22
|
+
"./vanilla": "./dist/vanilla.js",
|
|
23
|
+
"./node": "./dist/node.js",
|
|
24
|
+
"./preview": "./dist/preview.js"
|
|
25
|
+
},
|
|
26
|
+
"publishConfig": {
|
|
27
|
+
"access": "public"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@resvg/resvg-js": "2.6.2",
|
|
31
|
+
"@types/fontkit": "^2.0.9",
|
|
32
|
+
"@types/node": "^26.0.0",
|
|
33
|
+
"@types/react": "19.3.0",
|
|
34
|
+
"@xmldom/xmldom": "^0.9.12",
|
|
35
|
+
"@ykdz/cli-contract": "0.7.0",
|
|
36
|
+
"esbuild": "^0.28.2",
|
|
37
|
+
"fflate": "^0.8.3",
|
|
38
|
+
"fontkit": "^2.0.4",
|
|
39
|
+
"harfbuzzjs": "^1.6.4",
|
|
40
|
+
"jpeg-js": "0.4.4",
|
|
41
|
+
"linebreak": "^1.1.0",
|
|
42
|
+
"pngjs": "7.0.0",
|
|
43
|
+
"react": "19.3.1",
|
|
44
|
+
"react-reconciler": "0.34.0",
|
|
45
|
+
"yoga-layout": "^3.2.1",
|
|
46
|
+
"zod": "^4.6.7"
|
|
47
|
+
},
|
|
48
|
+
"devDependencies": {
|
|
49
|
+
"@pptxdk/capabilities": "0.0.0",
|
|
50
|
+
"@pptxdk/codegen": "0.0.0",
|
|
51
|
+
"@pptxdk/core": "0.0.0",
|
|
52
|
+
"@pptxdk/emit": "0.0.0",
|
|
53
|
+
"@pptxdk/import": "0.0.0",
|
|
54
|
+
"@pptxdk/preview": "0.0.0",
|
|
55
|
+
"@pptxdk/react": "0.0.0",
|
|
56
|
+
"@pptxdk/tooling-config": "0.0.0",
|
|
57
|
+
"@pptxdk/validation": "0.0.0",
|
|
58
|
+
"@types/emscripten": "^1.41.6",
|
|
59
|
+
"@types/pngjs": "6.0.5",
|
|
60
|
+
"oxfmt": "^0.74.0",
|
|
61
|
+
"oxlint": "^1.89.0",
|
|
62
|
+
"oxlint-tsgolint": "^7.0.2001",
|
|
63
|
+
"rolldown": "1.2.16",
|
|
64
|
+
"rolldown-plugin-dts": "0.30.2",
|
|
65
|
+
"typescript-7": "npm:typescript@^7.0.2",
|
|
66
|
+
"vite": "8.3.5",
|
|
67
|
+
"vitest": "5.0.5"
|
|
68
|
+
},
|
|
69
|
+
"engines": {
|
|
70
|
+
"node": "^26.13.0"
|
|
71
|
+
},
|
|
72
|
+
"scripts": {
|
|
73
|
+
"format:check": "oxfmt --list-different .",
|
|
74
|
+
"format:write": "oxfmt --write .",
|
|
75
|
+
"lint": "oxlint --quiet --format=unix --ignore-pattern node_modules .",
|
|
76
|
+
"lint:fix": "oxlint --format=unix . --fix",
|
|
77
|
+
"typecheck": "tsc -p tsconfig.node.json --noEmit --pretty false",
|
|
78
|
+
"build": "rm -rf dist && tsc -p tsconfig.build.json --pretty false && rolldown -c && rm -rf dist/.declarations && chmod +x dist/cli.js",
|
|
79
|
+
"test": "vitest run"
|
|
80
|
+
}
|
|
6
81
|
}
|