pptx-react-viewer 3.9.0 → 3.11.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/CHANGELOG.md +37 -0
- package/dist/{AiChatPanel-3A42W7RW.js → AiChatPanel-A3ZMMVUA.js} +25 -25
- package/dist/AiChatPanel-A3ZMMVUA.js.br +0 -0
- package/dist/AiChatPanel-A3ZMMVUA.js.gz +0 -0
- package/dist/{AiChatPanel-II6VOOAL.mjs → AiChatPanel-L5H455NZ.mjs} +4 -4
- package/dist/AiChatPanel-L5H455NZ.mjs.br +0 -0
- package/dist/AiChatPanel-L5H455NZ.mjs.gz +0 -0
- package/dist/{Area3DChartScene-JM3CQ3WQ.mjs → Area3DChartScene-OAD36KIX.mjs} +1 -1
- package/dist/{Area3DChartScene-JM3CQ3WQ.mjs.br → Area3DChartScene-OAD36KIX.mjs.br} +0 -0
- package/dist/Area3DChartScene-OAD36KIX.mjs.gz +0 -0
- package/dist/{Area3DChartScene-XJK4ZA4R.js → Area3DChartScene-R2CKCYCB.js} +2 -2
- package/dist/{Area3DChartScene-XJK4ZA4R.js.br → Area3DChartScene-R2CKCYCB.js.br} +0 -0
- package/dist/Area3DChartScene-R2CKCYCB.js.gz +0 -0
- package/dist/{Bar3DChartScene-RGRZY5P6.js → Bar3DChartScene-CRRPMXGQ.js} +2 -2
- package/dist/Bar3DChartScene-CRRPMXGQ.js.br +0 -0
- package/dist/Bar3DChartScene-CRRPMXGQ.js.gz +0 -0
- package/dist/{Bar3DChartScene-VNFWI2QG.mjs → Bar3DChartScene-XNNXF26T.mjs} +1 -1
- package/dist/{Bar3DChartScene-VNFWI2QG.mjs.br → Bar3DChartScene-XNNXF26T.mjs.br} +0 -0
- package/dist/Bar3DChartScene-XNNXF26T.mjs.gz +0 -0
- package/dist/{Line3DChartScene-MEY42DBF.js → Line3DChartScene-44PLZML2.js} +2 -2
- package/dist/Line3DChartScene-44PLZML2.js.br +0 -0
- package/dist/Line3DChartScene-44PLZML2.js.gz +0 -0
- package/dist/{Line3DChartScene-GXOWGIFJ.mjs → Line3DChartScene-MNNPB3LZ.mjs} +1 -1
- package/dist/{Line3DChartScene-GXOWGIFJ.mjs.br → Line3DChartScene-MNNPB3LZ.mjs.br} +0 -0
- package/dist/Line3DChartScene-MNNPB3LZ.mjs.gz +0 -0
- package/dist/{Model3DScene-WJ3MMIZH.mjs → Model3DScene-5MUREFLY.mjs} +1 -1
- package/dist/Model3DScene-5MUREFLY.mjs.br +0 -0
- package/dist/Model3DScene-5MUREFLY.mjs.gz +0 -0
- package/dist/{Model3DScene-MWXTGHDM.js → Model3DScene-RYPYQPJH.js} +2 -2
- package/dist/Model3DScene-RYPYQPJH.js.br +0 -0
- package/dist/Model3DScene-RYPYQPJH.js.gz +0 -0
- package/dist/{PieChart3DScene-FJJGOQIS.js → PieChart3DScene-GACYCSSQ.js} +2 -2
- package/dist/{PieChart3DScene-FJJGOQIS.js.br → PieChart3DScene-GACYCSSQ.js.br} +0 -0
- package/dist/PieChart3DScene-GACYCSSQ.js.gz +0 -0
- package/dist/{PieChart3DScene-WXJEDYMK.mjs → PieChart3DScene-KYZSSG5X.mjs} +1 -1
- package/dist/PieChart3DScene-KYZSSG5X.mjs.br +0 -0
- package/dist/PieChart3DScene-KYZSSG5X.mjs.gz +0 -0
- package/dist/{SurfaceChart3DScene-VDK3F224.js → SurfaceChart3DScene-RI5G4BHS.js} +2 -2
- package/dist/{SurfaceChart3DScene-VDK3F224.js.br → SurfaceChart3DScene-RI5G4BHS.js.br} +0 -0
- package/dist/SurfaceChart3DScene-RI5G4BHS.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-IKPE2SVE.mjs → SurfaceChart3DScene-ZUP4PRUZ.mjs} +1 -1
- package/dist/SurfaceChart3DScene-ZUP4PRUZ.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-ZUP4PRUZ.mjs.gz +0 -0
- package/dist/{chunk-3NIJ5HIZ.js → chunk-4PL3GBSD.js} +1818 -1279
- package/dist/chunk-4PL3GBSD.js.br +0 -0
- package/dist/chunk-4PL3GBSD.js.gz +0 -0
- package/dist/{chunk-NTWFXLZX.mjs → chunk-5T4Y4QPV.mjs} +2 -2
- package/dist/chunk-5T4Y4QPV.mjs.br +0 -0
- package/dist/chunk-5T4Y4QPV.mjs.gz +0 -0
- package/dist/{chunk-VQX7G75Z.mjs → chunk-6BNPHEEX.mjs} +70521 -52117
- package/dist/chunk-6BNPHEEX.mjs.br +0 -0
- package/dist/chunk-6BNPHEEX.mjs.gz +0 -0
- package/dist/{chunk-K6Q6KLA6.js → chunk-BX4XVY5X.js} +6168 -1929
- package/dist/chunk-BX4XVY5X.js.br +0 -0
- package/dist/chunk-BX4XVY5X.js.gz +0 -0
- package/dist/{chunk-LBJAVP3H.js → chunk-IK25LY4C.js} +176 -176
- package/dist/chunk-IK25LY4C.js.br +0 -0
- package/dist/chunk-IK25LY4C.js.gz +0 -0
- package/dist/{chunk-G3JPCRKN.js → chunk-LY5535CF.js} +70559 -52147
- package/dist/chunk-LY5535CF.js.br +0 -0
- package/dist/chunk-LY5535CF.js.gz +0 -0
- package/dist/{chunk-5CPGDXD6.js → chunk-MRBHJ26I.js} +457 -445
- package/dist/chunk-MRBHJ26I.js.br +0 -0
- package/dist/chunk-MRBHJ26I.js.gz +0 -0
- package/dist/{chunk-76Z3X6JX.mjs → chunk-N75WRHON.mjs} +599 -60
- package/dist/chunk-N75WRHON.mjs.br +0 -0
- package/dist/chunk-N75WRHON.mjs.gz +0 -0
- package/dist/{chunk-3Y63XPIN.mjs → chunk-SUEZMQRT.mjs} +6164 -1925
- package/dist/chunk-SUEZMQRT.mjs.br +0 -0
- package/dist/chunk-SUEZMQRT.mjs.gz +0 -0
- package/dist/{chunk-JBSAKP4Z.mjs → chunk-TAGG5YNA.mjs} +61 -1
- package/dist/chunk-TAGG5YNA.mjs.br +0 -0
- package/dist/chunk-TAGG5YNA.mjs.gz +0 -0
- package/dist/{chunk-PCCM7NVY.mjs → chunk-VHFPZBUW.mjs} +21 -10
- package/dist/chunk-VHFPZBUW.mjs.br +0 -0
- package/dist/chunk-VHFPZBUW.mjs.gz +0 -0
- package/dist/{chunk-TEVGDXVW.js → chunk-Y6GG2OOW.js} +61 -1
- package/dist/chunk-Y6GG2OOW.js.br +0 -0
- package/dist/chunk-Y6GG2OOW.js.gz +0 -0
- package/dist/i18n.js +4 -4
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.gz +0 -0
- package/dist/i18n.mjs +1 -1
- package/dist/i18n.mjs.br +0 -0
- package/dist/i18n.mjs.gz +0 -0
- package/dist/index-CGKutKk1.d.ts.map +1 -1
- package/dist/index.d.ts +241 -19
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +47 -47
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.br +0 -0
- package/dist/index.mjs.gz +0 -0
- package/dist/internals.d.ts +230 -10
- package/dist/internals.d.ts.map +1 -1
- package/dist/internals.js +79 -79
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/internals.mjs +4 -4
- package/dist/internals.mjs.br +0 -0
- package/dist/internals.mjs.gz +0 -0
- package/dist/pptx-viewer.css +1 -1
- package/dist/pptx-viewer.css.br +0 -0
- package/dist/pptx-viewer.css.gz +0 -0
- package/dist/{useViewerBuildingBlocks-C8F_4Pzb.d.ts → useViewerBuildingBlocks-FbK-4ORi.d.ts} +2 -1
- package/dist/useViewerBuildingBlocks-FbK-4ORi.d.ts.map +1 -0
- package/dist/viewer/index.d.ts +220 -5
- package/dist/viewer/index.d.ts.map +1 -1
- package/dist/viewer/index.js +27 -27
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/viewer/index.mjs +6 -6
- package/dist/viewer/index.mjs.br +0 -0
- package/dist/viewer/index.mjs.gz +0 -0
- package/package.json +9 -9
- package/dist/AiChatPanel-3A42W7RW.js.br +0 -0
- package/dist/AiChatPanel-3A42W7RW.js.gz +0 -0
- package/dist/AiChatPanel-II6VOOAL.mjs.br +0 -0
- package/dist/AiChatPanel-II6VOOAL.mjs.gz +0 -0
- package/dist/Area3DChartScene-JM3CQ3WQ.mjs.gz +0 -0
- package/dist/Area3DChartScene-XJK4ZA4R.js.gz +0 -0
- package/dist/Bar3DChartScene-RGRZY5P6.js.br +0 -0
- package/dist/Bar3DChartScene-RGRZY5P6.js.gz +0 -0
- package/dist/Bar3DChartScene-VNFWI2QG.mjs.gz +0 -0
- package/dist/Line3DChartScene-GXOWGIFJ.mjs.gz +0 -0
- package/dist/Line3DChartScene-MEY42DBF.js.br +0 -0
- package/dist/Line3DChartScene-MEY42DBF.js.gz +0 -0
- package/dist/Model3DScene-MWXTGHDM.js.br +0 -0
- package/dist/Model3DScene-MWXTGHDM.js.gz +0 -0
- package/dist/Model3DScene-WJ3MMIZH.mjs.br +0 -0
- package/dist/Model3DScene-WJ3MMIZH.mjs.gz +0 -0
- package/dist/PieChart3DScene-FJJGOQIS.js.gz +0 -0
- package/dist/PieChart3DScene-WXJEDYMK.mjs.br +0 -0
- package/dist/PieChart3DScene-WXJEDYMK.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-IKPE2SVE.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-IKPE2SVE.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-VDK3F224.js.gz +0 -0
- package/dist/chunk-3NIJ5HIZ.js.br +0 -0
- package/dist/chunk-3NIJ5HIZ.js.gz +0 -0
- package/dist/chunk-3Y63XPIN.mjs.br +0 -0
- package/dist/chunk-3Y63XPIN.mjs.gz +0 -0
- package/dist/chunk-5CPGDXD6.js.br +0 -0
- package/dist/chunk-5CPGDXD6.js.gz +0 -0
- package/dist/chunk-76Z3X6JX.mjs.br +0 -0
- package/dist/chunk-76Z3X6JX.mjs.gz +0 -0
- package/dist/chunk-G3JPCRKN.js.br +0 -0
- package/dist/chunk-G3JPCRKN.js.gz +0 -0
- package/dist/chunk-JBSAKP4Z.mjs.br +0 -0
- package/dist/chunk-JBSAKP4Z.mjs.gz +0 -0
- package/dist/chunk-K6Q6KLA6.js.br +0 -0
- package/dist/chunk-K6Q6KLA6.js.gz +0 -0
- package/dist/chunk-LBJAVP3H.js.br +0 -0
- package/dist/chunk-LBJAVP3H.js.gz +0 -0
- package/dist/chunk-NTWFXLZX.mjs.br +0 -0
- package/dist/chunk-NTWFXLZX.mjs.gz +0 -0
- package/dist/chunk-PCCM7NVY.mjs.br +0 -0
- package/dist/chunk-PCCM7NVY.mjs.gz +0 -0
- package/dist/chunk-TEVGDXVW.js.br +0 -0
- package/dist/chunk-TEVGDXVW.js.gz +0 -0
- package/dist/chunk-VQX7G75Z.mjs.br +0 -0
- package/dist/chunk-VQX7G75Z.mjs.gz +0 -0
- package/dist/useViewerBuildingBlocks-C8F_4Pzb.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -3096,6 +3096,18 @@ interface PptxChartDataPoint {
|
|
|
3096
3096
|
}
|
|
3097
3097
|
/** Schema values accepted by `c:dLblPos`. */
|
|
3098
3098
|
type PptxChartDataLabelPosition = 'bestFit' | 'b' | 'ctr' | 'inBase' | 'inEnd' | 'l' | 'outEnd' | 'r' | 't';
|
|
3099
|
+
/**
|
|
3100
|
+
* `c15:dlblRangeCache`/`c15:datalabelsRange` (CT_SeriesDataLabelsRange):
|
|
3101
|
+
* PowerPoint 2013+'s "Value From Cells" custom label source, one cell range
|
|
3102
|
+
* supplying every label in a group (chart-type or series `c:dLbls`), with a
|
|
3103
|
+
* cache aligned to point order. See `utils/chart-data-labels-range.ts`.
|
|
3104
|
+
*/
|
|
3105
|
+
interface PptxChartDataLabelsRange {
|
|
3106
|
+
/** `c15:f`: the cell range formula (e.g. `Sheet1!$D$2:$D$5`). */
|
|
3107
|
+
formula: string;
|
|
3108
|
+
/** `c15:dlblRangeCache`: cached label text, index-aligned with data points. */
|
|
3109
|
+
cache: string[];
|
|
3110
|
+
}
|
|
3099
3111
|
/** Individual data label override (c:dLbl). */
|
|
3100
3112
|
interface PptxChartDataLabel {
|
|
3101
3113
|
idx: number;
|
|
@@ -3137,6 +3149,14 @@ interface PptxChartDataLabel {
|
|
|
3137
3149
|
* over any chart/series-level default when set.
|
|
3138
3150
|
*/
|
|
3139
3151
|
spPr?: PptxChartShapeProps;
|
|
3152
|
+
/**
|
|
3153
|
+
* `c15:xForSave`: this override exists only so its properties survive a
|
|
3154
|
+
* save/reload round trip; PowerPoint merges it back onto the series'
|
|
3155
|
+
* default label on load. Round-tripped as-is (an edited chart keeps an
|
|
3156
|
+
* existing point's whole `extLst`, this flag included); introspection
|
|
3157
|
+
* only otherwise. See `utils/chart-data-labels-range.ts`.
|
|
3158
|
+
*/
|
|
3159
|
+
savedForCompatibilityOnly?: boolean;
|
|
3140
3160
|
}
|
|
3141
3161
|
/** Axis number format. */
|
|
3142
3162
|
interface PptxChartAxisNumFmt {
|
|
@@ -3525,6 +3545,22 @@ interface PptxChartDataLabelOptions {
|
|
|
3525
3545
|
* (point > series > chart-type).
|
|
3526
3546
|
*/
|
|
3527
3547
|
txPr?: PptxChartLegendTextStyle;
|
|
3548
|
+
/**
|
|
3549
|
+
* PowerPoint 2013+ "Value From Cells", series-wide form
|
|
3550
|
+
* (`c15:datalabelsRange`, chart15 uri `{CE6537A1-...}`): one cell range
|
|
3551
|
+
* supplies every label in this group, aligned by point index. A
|
|
3552
|
+
* SERIES-WIDE alternative to the per-point `c15:dlblFieldTable` mechanism
|
|
3553
|
+
* (already resolved into {@link PptxChartDataLabel.text} at parse time).
|
|
3554
|
+
* See `utils/chart-data-labels-range.ts`.
|
|
3555
|
+
*/
|
|
3556
|
+
dataLabelsRange?: PptxChartDataLabelsRange;
|
|
3557
|
+
/**
|
|
3558
|
+
* `c15:showDataLabelsRange` at the SAME level as {@link dataLabelsRange}:
|
|
3559
|
+
* whether every label in this group resolves through the range's cache.
|
|
3560
|
+
* Distinct from the per-point {@link PptxChartDataLabel} flag of the same
|
|
3561
|
+
* XML name. Only meaningful when {@link dataLabelsRange} is set.
|
|
3562
|
+
*/
|
|
3563
|
+
showDataLabelsRange?: boolean;
|
|
3528
3564
|
}
|
|
3529
3565
|
/** Typed text defaults for a single chart legend entry. */
|
|
3530
3566
|
interface PptxChartLegendTextStyle {
|
|
@@ -3799,6 +3835,19 @@ interface PptxChartData {
|
|
|
3799
3835
|
* when the chart has no such extension. See {@link PptxChartFilteredSeries}.
|
|
3800
3836
|
*/
|
|
3801
3837
|
filteredSeries?: PptxChartFilteredSeries[];
|
|
3838
|
+
/**
|
|
3839
|
+
* `c15:filteredSeriesTitle`: the auto-generated series title text (e.g.
|
|
3840
|
+
* "Series 3") PowerPoint preserved when the chart filter hid the series
|
|
3841
|
+
* whose data would otherwise have supplied it. See
|
|
3842
|
+
* `utils/chart-ext-titles.ts`. Read-mostly like {@link filteredSeries}.
|
|
3843
|
+
*/
|
|
3844
|
+
filteredSeriesTitle?: string;
|
|
3845
|
+
/**
|
|
3846
|
+
* `c15:filteredCategoryTitle`: the auto-numbered category labels ("1",
|
|
3847
|
+
* "2", "3", ...) PowerPoint preserved when the chart filter hid the
|
|
3848
|
+
* category axis source entirely. See `utils/chart-ext-titles.ts`.
|
|
3849
|
+
*/
|
|
3850
|
+
filteredCategoryTitle?: string[];
|
|
3802
3851
|
/** Chart style/formatting metadata. */
|
|
3803
3852
|
style?: PptxChartStyle;
|
|
3804
3853
|
/** Grouping mode for bar/area/line charts: 'clustered' | 'stacked' | 'percentStacked' */
|
|
@@ -4721,7 +4770,108 @@ interface PptxSmartArtLayoutNode {
|
|
|
4721
4770
|
rules?: PptxSmartArtNumericRule[];
|
|
4722
4771
|
/** `dgm:shape`: this node's own preset geometry override, when present. */
|
|
4723
4772
|
shape?: PptxSmartArtLayoutNodeShape;
|
|
4773
|
+
/**
|
|
4774
|
+
* `dgm:presOf` (CT_PresentationOf, same iterator shape as `dgm:forEach`):
|
|
4775
|
+
* which data-model point(s) this node's OWN text/geometry binds to -
|
|
4776
|
+
* `axis: ['self']` the point currently being iterated, `['des']` all of
|
|
4777
|
+
* its descendants, `['ch']` its direct children, and so on. Absent or
|
|
4778
|
+
* empty `axis` (including a bare `<dgm:presOf/>`) means the node carries
|
|
4779
|
+
* no text of its own (a pure positioning/decoration wrapper - `composite`,
|
|
4780
|
+
* `sp` spacer, connector cap). See `smartart-layout-interpreter-item-
|
|
4781
|
+
* roles.ts`, the one consumer: it is what lets the interpreter tell a
|
|
4782
|
+
* text-bearing per-item role (a list layout's `childText`, a card
|
|
4783
|
+
* layout's `roleText`/`bodyText`) apart from a same-generation sibling
|
|
4784
|
+
* that positions or decorates instead.
|
|
4785
|
+
*/
|
|
4786
|
+
presentationOf?: PptxSmartArtIteratorAttributes;
|
|
4787
|
+
/**
|
|
4788
|
+
* EVERY `dgm:constr` reachable from this node, including ones declared
|
|
4789
|
+
* inside a `dgm:choose`/`dgm:if`/`dgm:else` that wraps THIS layoutNode's
|
|
4790
|
+
* `constrLst` (a genuinely conditional constraint set, e.g. one branch
|
|
4791
|
+
* per data-point count - `gear`'s composite positions its `gear1`/
|
|
4792
|
+
* `gear2`/`gear3` slots this way, so its plain, direct-child-only
|
|
4793
|
+
* `constraints` above is empty for it). Stops at a nested `dgm:layoutNode`
|
|
4794
|
+
* boundary: that child's own conditional constrLst becomes ITS
|
|
4795
|
+
* `allConstraints`, not folded into the parent's. Read-only /
|
|
4796
|
+
* interpretation-only - `constraints` above (this node's own DIRECT
|
|
4797
|
+
* constrLst) remains the one `applySmartArtLayoutDefinition` round-trips,
|
|
4798
|
+
* so editing an unrelated property can never collapse a genuinely
|
|
4799
|
+
* conditional constrLst into a single branch. `undefined` when this node
|
|
4800
|
+
* declares no constrLst at all, in or out of a choose (the common case);
|
|
4801
|
+
* otherwise a superset of `constraints` (every branch, blindly unioned -
|
|
4802
|
+
* this interpreter does not evaluate `dgm:choose` conditions when
|
|
4803
|
+
* indexing constraints, matching the same "flatten both branches"
|
|
4804
|
+
* convention `nestedLayoutNodes` already uses for `children`). See
|
|
4805
|
+
* `smartart-constraint-solver.ts`'s `buildConstraintIndex`, the only
|
|
4806
|
+
* consumer.
|
|
4807
|
+
*/
|
|
4808
|
+
allConstraints?: PptxSmartArtConstraint[];
|
|
4724
4809
|
children?: PptxSmartArtLayoutNode[];
|
|
4810
|
+
/**
|
|
4811
|
+
* The iterator attributes of the ENCLOSING `dgm:forEach` this node was
|
|
4812
|
+
* found through, when `nestedLayoutNodes` (`smartart-layout-definition
|
|
4813
|
+
* .ts`) reached it by walking one - as opposed to being a direct child of
|
|
4814
|
+
* its parent layoutNode, or reached only through a `dgm:choose` wrapper
|
|
4815
|
+
* (a condition, not an iteration, leaves this `undefined`).
|
|
4816
|
+
*
|
|
4817
|
+
* `forEach` above records a node's OWN direct `dgm:forEach` children
|
|
4818
|
+
* (which wrap ITS descendants); this is the opposite direction - the
|
|
4819
|
+
* forEach that wraps the node ITSELF, one level up. A layoutNode can sit
|
|
4820
|
+
* inside more than one enclosing forEach only via nesting, so this is
|
|
4821
|
+
* always the SINGLE nearest one, not a list.
|
|
4822
|
+
*
|
|
4823
|
+
* This is what tells a genuinely repeated per-child template
|
|
4824
|
+
* (`axis="ch"`, `ptType` absent or `"node"`) apart from a once-only or
|
|
4825
|
+
* transition-only sibling that merely happens to sit inside SOME
|
|
4826
|
+
* `dgm:forEach` (a `ptType="parTrans"`/`"sibTrans"` connector, or
|
|
4827
|
+
* `axis="followSib" cnt="1"`) - both can be direct siblings under the
|
|
4828
|
+
* SAME parent layoutNode (`lProcess1`'s `vertFlow` has one forEach for
|
|
4829
|
+
* its `parTrans` connector and a SEPARATE one, `axis="ch"`, for its
|
|
4830
|
+
* repeated `child` items; `vertFlow.forEach` bundles both, but only
|
|
4831
|
+
* `child.forEachOrigin` says which ONE produced it). See
|
|
4832
|
+
* `smartart-layout-interpreter-item-roles-recursive.ts`, the one
|
|
4833
|
+
* consumer. Read-only / interpretation-only, like `allConstraints`:
|
|
4834
|
+
* never round-tripped by `applySmartArtLayoutDefinition`.
|
|
4835
|
+
*/
|
|
4836
|
+
forEachOrigin?: PptxSmartArtIteratorAttributes;
|
|
4837
|
+
/**
|
|
4838
|
+
* The conditions of EVERY enclosing `dgm:if` this node was found through,
|
|
4839
|
+
* outermost first, when `nestedLayoutNodes` (`smartart-layout-
|
|
4840
|
+
* definition.ts`) reached it via one or more `dgm:choose`'s `if` branches
|
|
4841
|
+
* (as opposed to a direct child, a `dgm:else` branch contributing no
|
|
4842
|
+
* condition of its own - see below - or a `dgm:forEach`, which sets
|
|
4843
|
+
* {@link forEachOrigin} instead). ALL must hold (evaluate `!== false`,
|
|
4844
|
+
* per {@link chooseGuard}'s own AND semantics - see `evaluateWhen`) for
|
|
4845
|
+
* this node's branch to be genuinely live. A caller that already has the
|
|
4846
|
+
* data-model node list can use this instead of treating every
|
|
4847
|
+
* choose-flattened branch as unconditionally present
|
|
4848
|
+
* (`nestedLayoutNodes`' pre-existing "flatten every branch" convention,
|
|
4849
|
+
* still the default when this is absent or a caller does not evaluate
|
|
4850
|
+
* it) - e.g. `cycle-matrix--fallback-n2.pptx`'s `child1group`..
|
|
4851
|
+
* `child4group`, each gated on a DIFFERENT top-level point existing and
|
|
4852
|
+
* having its own child (`axis="ch ch" st="N 1" cnt="1 0" func="cnt"
|
|
4853
|
+
* op="gte" val="1"`).
|
|
4854
|
+
*
|
|
4855
|
+
* A CHAIN, not a single condition, because a node can sit inside NESTED
|
|
4856
|
+
* `dgm:choose`s whose OWN conditions are each individually necessary -
|
|
4857
|
+
* `sub-step-process--hier5.pptx`'s `chLin1`..`chLin7` each sit inside
|
|
4858
|
+
* BOTH an outer `dgm:if func="pos" op="equ" val="N"` (which one of the
|
|
4859
|
+
* 7 hand-duplicated per-position templates this is) AND an inner,
|
|
4860
|
+
* nearly-vacuous `dgm:if func="cnt" op="gte" val="1"` (has >= 1 point at
|
|
4861
|
+
* all) - keeping only the NEAREST (inner) one, as an earlier single-
|
|
4862
|
+
* condition design did, loses the ONE piece of information (the outer
|
|
4863
|
+
* `pos` guard) that actually discriminates `chLin1` from `chLin2`.
|
|
4864
|
+
*
|
|
4865
|
+
* A `dgm:else` branch contributes NO condition of its own (ECMA-376
|
|
4866
|
+
* defines it as "none of the sibling ifs matched", which would need the
|
|
4867
|
+
* FULL sibling list's conditions negated and ANDed together, not a
|
|
4868
|
+
* single condition - no gallery fixture measured needs an else branch's
|
|
4869
|
+
* own guard yet, so it is left unconditional, matching the pre-existing
|
|
4870
|
+
* flatten-everything behaviour) but does NOT clear any OUTER ancestor
|
|
4871
|
+
* guard already accumulated before it. Evaluate with `smartart-layout-
|
|
4872
|
+
* interpreter-when.ts`'s `evaluateWhen`, once per entry, ANDed.
|
|
4873
|
+
*/
|
|
4874
|
+
chooseGuard?: PptxSmartArtWhen[];
|
|
4725
4875
|
}
|
|
4726
4876
|
/** Metadata and root node from DiagramML CT_DiagramDefinition. */
|
|
4727
4877
|
interface PptxSmartArtLayoutDefinition {
|
|
@@ -5354,6 +5504,14 @@ interface PptxSmartArtData {
|
|
|
5354
5504
|
* Consulted by the fallback layout engine for direction/org-chart hints.
|
|
5355
5505
|
*/
|
|
5356
5506
|
presLayoutVars?: PptxSmartArtPresLayoutVars;
|
|
5507
|
+
/**
|
|
5508
|
+
* The deck's own theme minor-Latin font (`a:fontScheme/a:minorFont/a:latin/
|
|
5509
|
+
* @typeface`): what SmartArt text actually renders in when no per-run
|
|
5510
|
+
* `a:latin` override is present (the common case - see
|
|
5511
|
+
* `smartart-layout-item-font-size.ts`'s font-fit, the one consumer).
|
|
5512
|
+
* Undefined when the theme carries no font scheme at all.
|
|
5513
|
+
*/
|
|
5514
|
+
themeMinorFont?: string;
|
|
5357
5515
|
/** Relationship ID for the diagram data part (for round-trip save). */
|
|
5358
5516
|
dataRelId?: string;
|
|
5359
5517
|
/** Relationship ID for the diagram layout part. */
|
|
@@ -6313,7 +6471,7 @@ interface SmartArtPptxElement extends PptxElementBase {
|
|
|
6313
6471
|
*
|
|
6314
6472
|
* Used to show type-specific icons and previews in the editor.
|
|
6315
6473
|
*/
|
|
6316
|
-
type OleObjectType = 'excel' | 'word' | 'pdf' | 'visio' | 'mathtype' | 'package' | 'unknown';
|
|
6474
|
+
type OleObjectType = 'excel' | 'word' | 'powerpoint' | 'pdf' | 'visio' | 'mathtype' | 'package' | 'unknown';
|
|
6317
6475
|
/**
|
|
6318
6476
|
* An OLE (Object Linking and Embedding) object.
|
|
6319
6477
|
*
|
|
@@ -6391,6 +6549,15 @@ interface OlePptxElement extends PptxElementBase {
|
|
|
6391
6549
|
* `false`; `undefined` means the source authored no explicit value.
|
|
6392
6550
|
*/
|
|
6393
6551
|
oleUpdateAutomatic?: boolean;
|
|
6552
|
+
/**
|
|
6553
|
+
* Set by the in-viewer OLE content editors (`ole-edit-api.ts`) whenever
|
|
6554
|
+
* `oleEmbeddedData` and/or `previewImageData` have been changed in memory
|
|
6555
|
+
* and still need to be written back into the saved package. Never
|
|
6556
|
+
* authored from a parsed file; purely an in-memory save signal, mirroring
|
|
6557
|
+
* `PptxSlide.isDirty`. The save writer clears it once the pending write
|
|
6558
|
+
* has been queued.
|
|
6559
|
+
*/
|
|
6560
|
+
oleContentDirty?: boolean;
|
|
6394
6561
|
/** Accessibility description from `p:nvGraphicFramePr/p:cNvPr/@descr`. */
|
|
6395
6562
|
altText?: string;
|
|
6396
6563
|
/** Accessibility title from `p:nvGraphicFramePr/p:cNvPr/@title`. */
|
|
@@ -7310,10 +7477,27 @@ interface PptxNativeAnimation {
|
|
|
7310
7477
|
buildLevel?: number;
|
|
7311
7478
|
/** Group ID linking a `p:bldP` entry to its timing animation node. */
|
|
7312
7479
|
groupId?: string;
|
|
7313
|
-
/**
|
|
7480
|
+
/**
|
|
7481
|
+
* Sound relationship ID to play when animation triggers. Modern PowerPoint
|
|
7482
|
+
* (COM-verified against 2016) writes this as a `p:audio/p:cMediaNode`
|
|
7483
|
+
* sibling of the effect's own `p:childTnLst`, targeting `p:sndTgt` rather
|
|
7484
|
+
* than a shape; the legacy `p:stSnd` form (directly on `p:cTn`) is still
|
|
7485
|
+
* accepted on load for round-trip of older-authored decks, but PowerPoint
|
|
7486
|
+
* itself no longer writes it and does not recognise it back
|
|
7487
|
+
* (`Effect.EffectInformation.SoundEffect` reads empty against it).
|
|
7488
|
+
*/
|
|
7314
7489
|
soundRId?: string;
|
|
7315
7490
|
/** Resolved sound file path from relationship. */
|
|
7316
7491
|
soundPath?: string;
|
|
7492
|
+
/**
|
|
7493
|
+
* The embedded sound's `@_name` (from `p:snd`/`p:sndTgt`). For one of
|
|
7494
|
+
* PowerPoint's 19 built-in stock sounds this is the exact upper-case file
|
|
7495
|
+
* name PowerPoint itself writes (e.g. `"CHIMES.WAV"`); see
|
|
7496
|
+
* `pptx-viewer-shared`'s `effect-sound-catalogue.ts`, which matches this
|
|
7497
|
+
* value back to a gallery entry. Absent for a custom sound with no name,
|
|
7498
|
+
* or when unresolved.
|
|
7499
|
+
*/
|
|
7500
|
+
soundName?: string;
|
|
7317
7501
|
/** Whether to stop any currently playing sound (`p:endSnd`). */
|
|
7318
7502
|
stopSound?: boolean;
|
|
7319
7503
|
/**
|
|
@@ -7873,10 +8057,24 @@ interface PptxElementAnimation {
|
|
|
7873
8057
|
motionPathRotationCenterX?: number;
|
|
7874
8058
|
/** Motion-path rotation centre Y in slide percentage units (`p:rCtr/@y`). */
|
|
7875
8059
|
motionPathRotationCenterY?: number;
|
|
7876
|
-
/**
|
|
8060
|
+
/**
|
|
8061
|
+
* Sound relationship ID to play when animation triggers. Written on save
|
|
8062
|
+
* as a `p:audio/p:cMediaNode` sibling of the effect's own `p:childTnLst`
|
|
8063
|
+
* (see `PptxNativeAnimation.soundRId` for the COM-verified detail).
|
|
8064
|
+
*/
|
|
7877
8065
|
soundRId?: string;
|
|
7878
8066
|
/** Resolved sound file path from relationship. */
|
|
7879
8067
|
soundPath?: string;
|
|
8068
|
+
/**
|
|
8069
|
+
* The `@_name` to write on the embedded sound (`p:sndTgt`). For a stock
|
|
8070
|
+
* gallery pick this is the exact PowerPoint file name (e.g.
|
|
8071
|
+
* `"CHIMES.WAV"`), which is what makes PowerPoint itself recognise the
|
|
8072
|
+
* sound as that built-in entry when it reopens the saved deck (there is no
|
|
8073
|
+
* separate "built-in" flag anywhere in the schema). Set by
|
|
8074
|
+
* `pptx-viewer-shared`'s `setEffectSound` when the pick carries a
|
|
8075
|
+
* `soundName`; absent for a custom file with no meaningful name.
|
|
8076
|
+
*/
|
|
8077
|
+
soundName?: string;
|
|
7880
8078
|
/** Whether to stop any currently playing sound (`p:endSnd`). */
|
|
7881
8079
|
stopSound?: boolean;
|
|
7882
8080
|
/**
|
|
@@ -7891,7 +8089,9 @@ interface PptxElementAnimation {
|
|
|
7891
8089
|
/**
|
|
7892
8090
|
* Display name for the chosen sound (e.g. the uploaded file's name),
|
|
7893
8091
|
* shown by the authoring UI's sound picker. Purely cosmetic; has no
|
|
7894
|
-
* OOXML equivalent and is not required for playback.
|
|
8092
|
+
* OOXML equivalent and is not required for playback. For a stock gallery
|
|
8093
|
+
* pick, the UI derives its label from {@link soundName} via the catalogue
|
|
8094
|
+
* instead of this field.
|
|
7895
8095
|
*/
|
|
7896
8096
|
soundFileName?: string;
|
|
7897
8097
|
/**
|
|
@@ -10239,7 +10439,7 @@ interface PptxHandlerLoadOptions {
|
|
|
10239
10439
|
allowExternalImages?: boolean;
|
|
10240
10440
|
}
|
|
10241
10441
|
/** Output format for the save pipeline. */
|
|
10242
|
-
type PptxSaveFormat = 'pptx' | 'ppsx' | 'pptm';
|
|
10442
|
+
type PptxSaveFormat = 'pptx' | 'ppsx' | 'pptm' | 'ppt';
|
|
10243
10443
|
interface PptxHandlerSaveOptions {
|
|
10244
10444
|
headerFooter?: PptxHeaderFooter;
|
|
10245
10445
|
presentationProperties?: PptxPresentationProperties;
|
|
@@ -10335,8 +10535,23 @@ interface PptxHandlerSaveOptions {
|
|
|
10335
10535
|
* - `'pptx'` (default): Standard presentation.
|
|
10336
10536
|
* - `'ppsx'`: Slide-show file (opens in presentation mode).
|
|
10337
10537
|
* - `'pptm'`: Macro-enabled presentation (requires VBA data).
|
|
10538
|
+
* - `'ppt'`: Legacy binary PowerPoint 97-2003 presentation. Bypasses the
|
|
10539
|
+
* OOXML ZIP pipeline entirely; see `PptxHandlerRuntimeSaveLegacyPpt`.
|
|
10540
|
+
* Elements with no binary equivalent (charts, SmartArt, media, OLE, ink,
|
|
10541
|
+
* 3D models) are degraded to a rasterised preview picture or a labelled
|
|
10542
|
+
* placeholder, each reported via a `scope: 'save'`-adjacent
|
|
10543
|
+
* `PptxCompatibilityWarning`.
|
|
10338
10544
|
*/
|
|
10339
10545
|
outputFormat?: PptxSaveFormat;
|
|
10546
|
+
/**
|
|
10547
|
+
* Password for RC4 CryptoAPI encryption of a `'ppt'`-format save. Ignored
|
|
10548
|
+
* for every other {@link outputFormat}; encrypting a `.pptx`/`.ppsx`/`.pptm`
|
|
10549
|
+
* save uses {@link IPptxHandlerRuntime.saveEncrypted}'s separate AES/Agile
|
|
10550
|
+
* OLE2 wrapping instead, since the legacy binary format's own encryption
|
|
10551
|
+
* scheme is embedded directly in the `.ppt` stream rather than wrapping an
|
|
10552
|
+
* already-produced package.
|
|
10553
|
+
*/
|
|
10554
|
+
pptPassword?: string;
|
|
10340
10555
|
/**
|
|
10341
10556
|
* Embedded fonts to write back (or add) to the saved PPTX.
|
|
10342
10557
|
*
|
|
@@ -11737,16 +11952,17 @@ interface ViewerFontSource {
|
|
|
11737
11952
|
* working loader unreachable in practice. Whenever the loader learns a format,
|
|
11738
11953
|
* exactly one list has to change.
|
|
11739
11954
|
*
|
|
11740
|
-
* ## Read many, write
|
|
11955
|
+
* ## Read many, write several
|
|
11741
11956
|
*
|
|
11742
11957
|
* Input is a superset of output. We READ `.pptx`, `.ppsx`, `.pptm`, `.potx`,
|
|
11743
|
-
* legacy binary `.ppt` and portable `pptx-viewer-json`; we WRITE
|
|
11744
|
-
*
|
|
11745
|
-
*
|
|
11746
|
-
*
|
|
11747
|
-
* rather than keeping
|
|
11748
|
-
* `report.
|
|
11749
|
-
* the kind of
|
|
11958
|
+
* legacy binary `.ppt` and portable `pptx-viewer-json`; we WRITE the OpenXML
|
|
11959
|
+
* family plus legacy binary `.ppt` (via `packages/core/src/core/ppt/writer/`,
|
|
11960
|
+
* a real MS-PPT/OLE2 encoder, not a stub). `savedPresentationFileName`
|
|
11961
|
+
* REPLACES the source extension with the extension of the format actually
|
|
11962
|
+
* being written rather than keeping the source's: a deck opened as
|
|
11963
|
+
* `report.pptx` and saved back as `.ppt` (or vice versa) must have its name
|
|
11964
|
+
* agree with its bytes, which is the kind of mismatch PowerPoint itself
|
|
11965
|
+
* refuses to open.
|
|
11750
11966
|
*
|
|
11751
11967
|
* This module deliberately imports nothing, so any layer (render, export, a
|
|
11752
11968
|
* binding, a host app) can depend on it without risking an import cycle.
|
|
@@ -11775,10 +11991,14 @@ declare const PPTX_OPEN_ACCEPT: string;
|
|
|
11775
11991
|
* before it hands bytes to the loader.
|
|
11776
11992
|
*/
|
|
11777
11993
|
declare function isSupportedPresentationFile(name: string | null | undefined): boolean;
|
|
11778
|
-
/**
|
|
11994
|
+
/**
|
|
11995
|
+
* True for the binary PowerPoint 97-2003 family. `.ppt` itself is now also a
|
|
11996
|
+
* SAVE target (see {@link SavedPresentationFormat}); `.pps`/`.pot` (97-2003
|
|
11997
|
+
* show/template) remain read-only siblings sharing the same record format.
|
|
11998
|
+
*/
|
|
11779
11999
|
declare function isLegacyBinaryPresentation(name: string | null | undefined): boolean;
|
|
11780
|
-
/** The formats the save path can produce.
|
|
11781
|
-
type SavedPresentationFormat = 'pptx' | 'ppsx' | 'pptm';
|
|
12000
|
+
/** The formats the save path can produce. */
|
|
12001
|
+
type SavedPresentationFormat = 'pptx' | 'ppsx' | 'pptm' | 'ppt';
|
|
11782
12002
|
/**
|
|
11783
12003
|
* The stem of a presentation file name: directories and any loadable extension
|
|
11784
12004
|
* removed. `C:\decks\report.ppt` becomes `report`; a name with no recognised
|
|
@@ -11790,9 +12010,10 @@ declare function presentationBaseName(sourceName: string | null | undefined, fal
|
|
|
11790
12010
|
* The name a saved copy should be offered under: the source stem plus the
|
|
11791
12011
|
* extension of the format actually being written.
|
|
11792
12012
|
*
|
|
11793
|
-
* This is what turns `report.ppt` into `report.pptx` on Save As
|
|
11794
|
-
*
|
|
11795
|
-
* the
|
|
12013
|
+
* This is what turns `report.ppt` into `report.pptx` on a regular Save As,
|
|
12014
|
+
* and `report.pptx` into `report.ppt` when the user explicitly picks the
|
|
12015
|
+
* PowerPoint 97-2003 format. Keeping the source extension would mislabel the
|
|
12016
|
+
* bytes either way.
|
|
11796
12017
|
*/
|
|
11797
12018
|
declare function savedPresentationFileName(sourceName: string | null | undefined, format?: SavedPresentationFormat): string;
|
|
11798
12019
|
//#endregion
|
|
@@ -12784,6 +13005,7 @@ interface ToolbarProps {
|
|
|
12784
13005
|
onSaveAsPptx: () => void;
|
|
12785
13006
|
onSaveAsPpsx: () => void;
|
|
12786
13007
|
onSaveAsPptm: () => void;
|
|
13008
|
+
onSaveAsPpt: () => void;
|
|
12787
13009
|
hasMacros: boolean;
|
|
12788
13010
|
onCopySlideAsImage: () => void;
|
|
12789
13011
|
onPrint: () => void;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/viewer/components/Toolbar.tsx","../src/viewer/components/SlideCanvas.tsx","../src/viewer/components/SlideTemplateGalleryDialog.tsx","../src/viewer/components/SlideTemplatePreview.tsx","../src/lib/canvas-export.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/viewer/components/Toolbar.tsx","../src/viewer/components/SlideCanvas.tsx","../src/viewer/components/SlideTemplateGalleryDialog.tsx","../src/viewer/components/SlideTemplatePreview.tsx","../src/lib/canvas-export.ts"],"mappings":";;;;;;;;wBA+BgB,QAAQ,GAAG,eAAe,MAAM;;;wBCIhC,cACf,aACA,kBACA,YACA,MACA,MACA,SACA,kBACA,sBACA,iBACA,wBACA,mBACA,mBACA,eACA,kBACA,uBACA,WACA,UACA,eACA,YACA,WACA,QACA,2BACA,0BACA,SACA,eACA,aACA,eACA,mBACA,qBACA,yBACA,UACA,oBACA,oBACA,oBACA,mBACA,kBACA,yBACA,cACA,sBACA,kBACA,aACA,iBACA,kBACA,YACA,cACA,cACA,cACA,iBACA,oBACA,mBACA,eACA,kBACA,UACA,oBACA,sBACA,aACA,eACA,wBACA,uBACA,mBACA,yBACA,WACA,aACA,kBACA,cACA,mBACA,sBACA,YACE,mCAAgB,IAAA;;;UCrFF;EAChB;EACA;EACA,WAAW,YAAY;;EAEvB,SAAS;;wBAGM,6BACf,QACA,SACA,UACA,UACE,kCAAkC,MAAM;;;UCT1B;EAChB,YAAY;;EAEZ,SAAS;;wBAGM,uBACf,YACA,UACE,4BAA4B,MAAM;;;;;;;;;;;;;;;;;;;wBCGf,eACrB,SAAS,aACT,UAAS,QAAQ,WACf,QAAQ"}
|
package/dist/index.js
CHANGED
|
@@ -1,176 +1,176 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
3
|
+
var chunk4PL3GBSD_js = require('./chunk-4PL3GBSD.js');
|
|
4
|
+
require('./chunk-BX4XVY5X.js');
|
|
5
|
+
var chunkMRBHJ26I_js = require('./chunk-MRBHJ26I.js');
|
|
6
|
+
var chunkIK25LY4C_js = require('./chunk-IK25LY4C.js');
|
|
7
|
+
var chunkLY5535CF_js = require('./chunk-LY5535CF.js');
|
|
8
|
+
var chunkY6GG2OOW_js = require('./chunk-Y6GG2OOW.js');
|
|
9
9
|
require('./chunk-4VNS5WPM.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "PowerPointViewer", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk4PL3GBSD_js.PowerPointViewer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk4PL3GBSD_js.SlideCanvas; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk4PL3GBSD_js.SlideTemplateGalleryDialog; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "SlideTemplatePreview", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk4PL3GBSD_js.SlideTemplatePreview; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "Toolbar", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk4PL3GBSD_js.Toolbar; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk4PL3GBSD_js.ViewerThemeProvider; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk4PL3GBSD_js.useViewerTheme; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkMRBHJ26I_js.renderToCanvas; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "useViewerBuildingBlocks", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkMRBHJ26I_js.useViewerBuildingBlocks; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkIK25LY4C_js.getAnimationInitialStyle; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkLY5535CF_js.AVATAR_COLOR_SWATCHES; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "DEFAULT_VIEWER_PROFILE", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkLY5535CF_js.DEFAULT_VIEWER_PROFILE; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "PPTX_OPEN_ACCEPT", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkLY5535CF_js.PPTX_OPEN_ACCEPT; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "PRESENTATION_OPEN_EXTENSIONS", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkLY5535CF_js.PRESENTATION_OPEN_EXTENSIONS; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "SLIDE_TEMPLATES", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkLY5535CF_js.SLIDE_TEMPLATES; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "THEME_CATALOG", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkLY5535CF_js.THEME_CATALOG; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "VIEWER_PREFS_STORAGE_KEY", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkLY5535CF_js.VIEWER_PREFS_STORAGE_KEY; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "buildSlideTemplateContent", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkLY5535CF_js.buildSlideTemplateContent; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "buildSlideTemplateSlide", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkLY5535CF_js.buildSlideTemplateSlide; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "clearAllLocalViewerData", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkLY5535CF_js.clearAllLocalViewerData; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "clearStoredViewerPrefs", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkLY5535CF_js.clearStoredViewerPrefs; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "defaultCssVars", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkLY5535CF_js.defaultCssVars; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "defaultRadius", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkLY5535CF_js.defaultRadius; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "defaultThemeColors", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkLY5535CF_js.defaultThemeColors; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "getLocalStorageUsageSummary", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkLY5535CF_js.getLocalStorageUsageSummary; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "isLegacyBinaryPresentation", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkLY5535CF_js.isLegacyBinaryPresentation; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "isSupportedPresentationFile", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkLY5535CF_js.isSupportedPresentationFile; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "presentationBaseName", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkLY5535CF_js.presentationBaseName; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "readStoredViewerPrefs", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkLY5535CF_js.readStoredViewerPrefs; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "resolveProfileInitial", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkLY5535CF_js.resolveProfileInitial; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "resolveThemeCatalogEntry", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkLY5535CF_js.resolveThemeCatalogEntry; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "saveViewerProfile", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkLY5535CF_js.saveViewerProfile; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "savedPresentationFileName", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkLY5535CF_js.savedPresentationFileName; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "themeToCssVars", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkLY5535CF_js.themeToCssVars; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "vermilionDarkColors", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkLY5535CF_js.vermilionDarkColors; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "vermilionDarkTheme", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkLY5535CF_js.vermilionDarkTheme; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "vermilionLightColors", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkLY5535CF_js.vermilionLightColors; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "vermilionLightTheme", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkLY5535CF_js.vermilionLightTheme; }
|
|
164
164
|
});
|
|
165
165
|
Object.defineProperty(exports, "vermilionRadius", {
|
|
166
166
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkLY5535CF_js.vermilionRadius; }
|
|
168
168
|
});
|
|
169
169
|
Object.defineProperty(exports, "writeStoredViewerPrefs", {
|
|
170
170
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunkLY5535CF_js.writeStoredViewerPrefs; }
|
|
172
172
|
});
|
|
173
173
|
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
174
174
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunkY6GG2OOW_js.LOCALE_CATALOG; }
|
|
176
176
|
});
|
package/dist/index.js.br
CHANGED
|
Binary file
|
package/dist/index.js.gz
CHANGED
|
Binary file
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-
|
|
4
|
-
export { getAnimationInitialStyle } from './chunk-
|
|
5
|
-
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-
|
|
6
|
-
export { LOCALE_CATALOG } from './chunk-
|
|
1
|
+
export { PowerPointViewer, SlideCanvas, SlideTemplateGalleryDialog, SlideTemplatePreview, Toolbar, ViewerThemeProvider, useViewerTheme } from './chunk-N75WRHON.mjs';
|
|
2
|
+
import './chunk-SUEZMQRT.mjs';
|
|
3
|
+
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-VHFPZBUW.mjs';
|
|
4
|
+
export { getAnimationInitialStyle } from './chunk-5T4Y4QPV.mjs';
|
|
5
|
+
export { AVATAR_COLOR_SWATCHES, DEFAULT_VIEWER_PROFILE, PPTX_OPEN_ACCEPT, PRESENTATION_OPEN_EXTENSIONS, SLIDE_TEMPLATES, THEME_CATALOG, VIEWER_PREFS_STORAGE_KEY, buildSlideTemplateContent, buildSlideTemplateSlide, clearAllLocalViewerData, clearStoredViewerPrefs, defaultCssVars, defaultRadius, defaultThemeColors, getLocalStorageUsageSummary, isLegacyBinaryPresentation, isSupportedPresentationFile, presentationBaseName, readStoredViewerPrefs, resolveProfileInitial, resolveThemeCatalogEntry, saveViewerProfile, savedPresentationFileName, themeToCssVars, vermilionDarkColors, vermilionDarkTheme, vermilionLightColors, vermilionLightTheme, vermilionRadius, writeStoredViewerPrefs } from './chunk-6BNPHEEX.mjs';
|
|
6
|
+
export { LOCALE_CATALOG } from './chunk-TAGG5YNA.mjs';
|
|
7
7
|
import './chunk-XGB3TDIC.mjs';
|
package/dist/index.mjs.br
CHANGED
|
Binary file
|
package/dist/index.mjs.gz
CHANGED
|
Binary file
|