pptx-react-viewer 3.10.0 → 3.12.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 +39 -0
- package/dist/{AiChatPanel-BQSUE2OO.mjs → AiChatPanel-SCA4RLFI.mjs} +4 -4
- package/dist/AiChatPanel-SCA4RLFI.mjs.br +0 -0
- package/dist/AiChatPanel-SCA4RLFI.mjs.gz +0 -0
- package/dist/{AiChatPanel-NSVSBJC7.js → AiChatPanel-TXCDQDHD.js} +25 -25
- package/dist/AiChatPanel-TXCDQDHD.js.br +0 -0
- package/dist/AiChatPanel-TXCDQDHD.js.gz +0 -0
- package/dist/{Area3DChartScene-2FQHPGNE.mjs → Area3DChartScene-NSV5AIMM.mjs} +1 -1
- package/dist/{Area3DChartScene-2FQHPGNE.mjs.br → Area3DChartScene-NSV5AIMM.mjs.br} +0 -0
- package/dist/Area3DChartScene-NSV5AIMM.mjs.gz +0 -0
- package/dist/{Area3DChartScene-V3W2V7N5.js → Area3DChartScene-YAK6W2J5.js} +2 -2
- package/dist/Area3DChartScene-YAK6W2J5.js.br +0 -0
- package/dist/Area3DChartScene-YAK6W2J5.js.gz +0 -0
- package/dist/{Bar3DChartScene-PSJEVANA.mjs → Bar3DChartScene-DFJ7XK3Q.mjs} +1 -1
- package/dist/{Bar3DChartScene-PSJEVANA.mjs.br → Bar3DChartScene-DFJ7XK3Q.mjs.br} +0 -0
- package/dist/Bar3DChartScene-DFJ7XK3Q.mjs.gz +0 -0
- package/dist/{Bar3DChartScene-55XMAUC7.js → Bar3DChartScene-WNBEX3TN.js} +2 -2
- package/dist/Bar3DChartScene-WNBEX3TN.js.br +0 -0
- package/dist/Bar3DChartScene-WNBEX3TN.js.gz +0 -0
- package/dist/{Line3DChartScene-5KACYRSQ.js → Line3DChartScene-PXA6WAQG.js} +2 -2
- package/dist/Line3DChartScene-PXA6WAQG.js.br +0 -0
- package/dist/Line3DChartScene-PXA6WAQG.js.gz +0 -0
- package/dist/{Line3DChartScene-BUVNUFNO.mjs → Line3DChartScene-TK6RPGET.mjs} +1 -1
- package/dist/{Line3DChartScene-BUVNUFNO.mjs.br → Line3DChartScene-TK6RPGET.mjs.br} +0 -0
- package/dist/Line3DChartScene-TK6RPGET.mjs.gz +0 -0
- package/dist/{Model3DScene-REKMR2L6.mjs → Model3DScene-7FZSQ3SP.mjs} +1 -1
- package/dist/Model3DScene-7FZSQ3SP.mjs.br +0 -0
- package/dist/Model3DScene-7FZSQ3SP.mjs.gz +0 -0
- package/dist/{Model3DScene-6U6TN36M.js → Model3DScene-FJQOUWCV.js} +2 -2
- package/dist/Model3DScene-FJQOUWCV.js.br +0 -0
- package/dist/Model3DScene-FJQOUWCV.js.gz +0 -0
- package/dist/{PieChart3DScene-4L2VVIUJ.mjs → PieChart3DScene-KKZTAIFB.mjs} +1 -1
- package/dist/{PieChart3DScene-4L2VVIUJ.mjs.br → PieChart3DScene-KKZTAIFB.mjs.br} +0 -0
- package/dist/PieChart3DScene-KKZTAIFB.mjs.gz +0 -0
- package/dist/{PieChart3DScene-MV3JF7EM.js → PieChart3DScene-P25IGVT6.js} +2 -2
- package/dist/PieChart3DScene-P25IGVT6.js.br +0 -0
- package/dist/PieChart3DScene-P25IGVT6.js.gz +0 -0
- package/dist/PowerPointViewer-Cl6jBPNw.d.ts.map +1 -1
- package/dist/{SurfaceChart3DScene-SFIOK3G3.js → SurfaceChart3DScene-36MT6QAK.js} +2 -2
- package/dist/SurfaceChart3DScene-36MT6QAK.js.br +0 -0
- package/dist/SurfaceChart3DScene-36MT6QAK.js.gz +0 -0
- package/dist/{SurfaceChart3DScene-ARE7OBFI.mjs → SurfaceChart3DScene-LWJCERTR.mjs} +1 -1
- package/dist/SurfaceChart3DScene-LWJCERTR.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-LWJCERTR.mjs.gz +0 -0
- package/dist/{chunk-T4ZRSRQZ.mjs → chunk-2FSNTJVI.mjs} +1 -1
- package/dist/chunk-2FSNTJVI.mjs.br +0 -0
- package/dist/chunk-2FSNTJVI.mjs.gz +0 -0
- package/dist/{chunk-Y6GG2OOW.js → chunk-3AJ54EAB.js} +5 -0
- package/dist/chunk-3AJ54EAB.js.br +0 -0
- package/dist/chunk-3AJ54EAB.js.gz +0 -0
- package/dist/{chunk-2Q2NFPXA.js → chunk-3WK4AE52.js} +6144 -1844
- package/dist/chunk-3WK4AE52.js.br +0 -0
- package/dist/chunk-3WK4AE52.js.gz +0 -0
- package/dist/{chunk-HYUPPQJW.js → chunk-45AVHO7M.js} +5 -5
- package/dist/chunk-45AVHO7M.js.br +0 -0
- package/dist/chunk-45AVHO7M.js.gz +0 -0
- package/dist/{chunk-FHOUTYMB.js → chunk-AARQTIMN.js} +489 -456
- package/dist/chunk-AARQTIMN.js.br +0 -0
- package/dist/chunk-AARQTIMN.js.gz +0 -0
- package/dist/{chunk-UKPGYJ7G.mjs → chunk-C2BDHCL2.mjs} +6139 -1845
- package/dist/chunk-C2BDHCL2.mjs.br +0 -0
- package/dist/chunk-C2BDHCL2.mjs.gz +0 -0
- package/dist/{chunk-TAGG5YNA.mjs → chunk-HMX3MQR7.mjs} +5 -0
- package/dist/chunk-HMX3MQR7.mjs.br +0 -0
- package/dist/chunk-HMX3MQR7.mjs.gz +0 -0
- package/dist/{chunk-M6GIPAY4.mjs → chunk-HXDNYDRJ.mjs} +22 -8
- package/dist/chunk-HXDNYDRJ.mjs.br +0 -0
- package/dist/chunk-HXDNYDRJ.mjs.gz +0 -0
- package/dist/{chunk-XW46A7DN.js → chunk-O27KNZLJ.js} +195 -181
- package/dist/chunk-O27KNZLJ.js.br +0 -0
- package/dist/chunk-O27KNZLJ.js.gz +0 -0
- package/dist/{chunk-DZ3HWACD.js → chunk-T7MY5L3O.js} +1607 -1388
- package/dist/chunk-T7MY5L3O.js.br +0 -0
- package/dist/chunk-T7MY5L3O.js.gz +0 -0
- package/dist/{chunk-HJZA3O3S.mjs → chunk-WRHPPTYF.mjs} +53 -20
- package/dist/chunk-WRHPPTYF.mjs.br +0 -0
- package/dist/chunk-WRHPPTYF.mjs.gz +0 -0
- package/dist/{chunk-KWHURCVT.mjs → chunk-ZOEKVSSU.mjs} +361 -142
- package/dist/chunk-ZOEKVSSU.mjs.br +0 -0
- package/dist/chunk-ZOEKVSSU.mjs.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.d.ts +122 -17
- 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 +187 -17
- 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/viewer/index.d.ts +111 -17
- 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 +2 -2
- package/dist/AiChatPanel-BQSUE2OO.mjs.br +0 -0
- package/dist/AiChatPanel-BQSUE2OO.mjs.gz +0 -0
- package/dist/AiChatPanel-NSVSBJC7.js.br +0 -0
- package/dist/AiChatPanel-NSVSBJC7.js.gz +0 -0
- package/dist/Area3DChartScene-2FQHPGNE.mjs.gz +0 -0
- package/dist/Area3DChartScene-V3W2V7N5.js.br +0 -0
- package/dist/Area3DChartScene-V3W2V7N5.js.gz +0 -0
- package/dist/Bar3DChartScene-55XMAUC7.js.br +0 -0
- package/dist/Bar3DChartScene-55XMAUC7.js.gz +0 -0
- package/dist/Bar3DChartScene-PSJEVANA.mjs.gz +0 -0
- package/dist/Line3DChartScene-5KACYRSQ.js.br +0 -0
- package/dist/Line3DChartScene-5KACYRSQ.js.gz +0 -0
- package/dist/Line3DChartScene-BUVNUFNO.mjs.gz +0 -0
- package/dist/Model3DScene-6U6TN36M.js.br +0 -0
- package/dist/Model3DScene-6U6TN36M.js.gz +0 -0
- package/dist/Model3DScene-REKMR2L6.mjs.br +0 -0
- package/dist/Model3DScene-REKMR2L6.mjs.gz +0 -0
- package/dist/PieChart3DScene-4L2VVIUJ.mjs.gz +0 -0
- package/dist/PieChart3DScene-MV3JF7EM.js.br +0 -0
- package/dist/PieChart3DScene-MV3JF7EM.js.gz +0 -0
- package/dist/SurfaceChart3DScene-ARE7OBFI.mjs.br +0 -0
- package/dist/SurfaceChart3DScene-ARE7OBFI.mjs.gz +0 -0
- package/dist/SurfaceChart3DScene-SFIOK3G3.js.br +0 -0
- package/dist/SurfaceChart3DScene-SFIOK3G3.js.gz +0 -0
- package/dist/chunk-2Q2NFPXA.js.br +0 -0
- package/dist/chunk-2Q2NFPXA.js.gz +0 -0
- package/dist/chunk-DZ3HWACD.js.br +0 -0
- package/dist/chunk-DZ3HWACD.js.gz +0 -0
- package/dist/chunk-FHOUTYMB.js.br +0 -0
- package/dist/chunk-FHOUTYMB.js.gz +0 -0
- package/dist/chunk-HJZA3O3S.mjs.br +0 -0
- package/dist/chunk-HJZA3O3S.mjs.gz +0 -0
- package/dist/chunk-HYUPPQJW.js.br +0 -0
- package/dist/chunk-HYUPPQJW.js.gz +0 -0
- package/dist/chunk-KWHURCVT.mjs.br +0 -0
- package/dist/chunk-KWHURCVT.mjs.gz +0 -0
- package/dist/chunk-M6GIPAY4.mjs.br +0 -0
- package/dist/chunk-M6GIPAY4.mjs.gz +0 -0
- package/dist/chunk-T4ZRSRQZ.mjs.br +0 -0
- package/dist/chunk-T4ZRSRQZ.mjs.gz +0 -0
- package/dist/chunk-TAGG5YNA.mjs.br +0 -0
- package/dist/chunk-TAGG5YNA.mjs.gz +0 -0
- package/dist/chunk-UKPGYJ7G.mjs.br +0 -0
- package/dist/chunk-UKPGYJ7G.mjs.gz +0 -0
- package/dist/chunk-XW46A7DN.js.br +0 -0
- package/dist/chunk-XW46A7DN.js.gz +0 -0
- package/dist/chunk-Y6GG2OOW.js.br +0 -0
- package/dist/chunk-Y6GG2OOW.js.gz +0 -0
|
Binary file
|
|
Binary file
|
package/dist/i18n.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3AJ54EAB_js = require('./chunk-3AJ54EAB.js');
|
|
4
4
|
require('./chunk-4VNS5WPM.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk3AJ54EAB_js.LOCALE_CATALOG; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "keyToLabel", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk3AJ54EAB_js.keyToLabel; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "translationsEn", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk3AJ54EAB_js.translationsEn; }
|
|
19
19
|
});
|
package/dist/i18n.js.br
CHANGED
|
Binary file
|
package/dist/i18n.js.gz
CHANGED
|
Binary file
|
package/dist/i18n.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { LOCALE_CATALOG, keyToLabel, translationsEn } from './chunk-
|
|
1
|
+
export { LOCALE_CATALOG, keyToLabel, translationsEn } from './chunk-HMX3MQR7.mjs';
|
|
2
2
|
import './chunk-XGB3TDIC.mjs';
|
package/dist/i18n.mjs.br
CHANGED
|
Binary file
|
package/dist/i18n.mjs.gz
CHANGED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -4835,14 +4835,16 @@ interface PptxSmartArtLayoutNode {
|
|
|
4835
4835
|
*/
|
|
4836
4836
|
forEachOrigin?: PptxSmartArtIteratorAttributes;
|
|
4837
4837
|
/**
|
|
4838
|
-
* The
|
|
4839
|
-
*
|
|
4840
|
-
* reached it via
|
|
4841
|
-
* child, a `dgm:else` branch
|
|
4842
|
-
* `dgm:forEach`, which sets
|
|
4843
|
-
*
|
|
4844
|
-
*
|
|
4845
|
-
*
|
|
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
|
|
4846
4848
|
* (`nestedLayoutNodes`' pre-existing "flatten every branch" convention,
|
|
4847
4849
|
* still the default when this is absent or a caller does not evaluate
|
|
4848
4850
|
* it) - e.g. `cycle-matrix--fallback-n2.pptx`'s `child1group`..
|
|
@@ -4850,15 +4852,107 @@ interface PptxSmartArtLayoutNode {
|
|
|
4850
4852
|
* having its own child (`axis="ch ch" st="N 1" cnt="1 0" func="cnt"
|
|
4851
4853
|
* op="gte" val="1"`).
|
|
4852
4854
|
*
|
|
4853
|
-
*
|
|
4854
|
-
*
|
|
4855
|
-
*
|
|
4856
|
-
*
|
|
4857
|
-
*
|
|
4858
|
-
*
|
|
4859
|
-
*
|
|
4860
|
-
|
|
4861
|
-
|
|
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[];
|
|
4875
|
+
/**
|
|
4876
|
+
* The chain of every enclosing `dgm:choose`'s own GROUP identity + this
|
|
4877
|
+
* node's ordinal position within it + THAT branch's own condition,
|
|
4878
|
+
* outermost first - identifies WHICH `dgm:choose` instance and WHERE
|
|
4879
|
+
* within its own `dgm:if`/`dgm:else` list this node's branch sits, unlike
|
|
4880
|
+
* {@link chooseGuard} (a flat AND-chain of every condition with no group/
|
|
4881
|
+
* position identity, and no entry at all for a `dgm:else` branch, which
|
|
4882
|
+
* has no condition of its own - see that field's doc comment). `id` is a
|
|
4883
|
+
* synthetic, process-unique identifier assigned per `dgm:choose` instance
|
|
4884
|
+
* during flattening (`smartart-layout-definition-nesting.ts`'s
|
|
4885
|
+
* `nestedLayoutNodes`, a monotonic counter - NOT round-tripped, NOT the
|
|
4886
|
+
* choose's own `@_name`, which is not guaranteed unique across a whole
|
|
4887
|
+
* layoutDef); `ordinal` is 0-based document order within that ONE choose
|
|
4888
|
+
* (every `dgm:if` in order, then `dgm:else` last, if present); `guard` is
|
|
4889
|
+
* that branch's OWN condition (`undefined` for a `dgm:else` entry, which
|
|
4890
|
+
* has none - deliberately kept PER-ENTRY rather than cross-referenced by
|
|
4891
|
+
* index against {@link chooseGuard}, whose own length can diverge from
|
|
4892
|
+
* this chain's whenever an ancestor `dgm:else` contributed a group
|
|
4893
|
+
* position but no guard).
|
|
4894
|
+
*
|
|
4895
|
+
* Lets a consumer recover ECMA-376's real `dgm:choose` semantics - "the
|
|
4896
|
+
* FIRST branch whose condition holds wins, siblings never coexist" -
|
|
4897
|
+
* from the flattened `.children` array, where that grouping would
|
|
4898
|
+
* otherwise be lost: `balance--hier5.pptx`'s `balance_NN`/`left_NN_M`/
|
|
4899
|
+
* `right_NN_M` family (127 members across ~30 NESTED `dgm:choose`
|
|
4900
|
+
* instances, not one flat 127-branch choose) needs first-match-wins
|
|
4901
|
+
* WITHIN each individual choose to resolve to the single genuinely-live
|
|
4902
|
+
* arrangement, not the "every guard-true node is an independent
|
|
4903
|
+
* candidate" reading `smartart-layout-interpreter-composite-choose.ts`'s
|
|
4904
|
+
* `collectRawCandidates` used before this field existed - see that
|
|
4905
|
+
* module's own consumer of this field for the actual selection rule.
|
|
4906
|
+
* `undefined` (or an empty array) for a node reached without any
|
|
4907
|
+
* enclosing choose (a direct child, or a `dgm:forEach`-only path) -
|
|
4908
|
+
* every PRE-EXISTING caller that does not consult this field is
|
|
4909
|
+
* unaffected by its mere presence.
|
|
4910
|
+
*/
|
|
4911
|
+
chooseGroups?: {
|
|
4912
|
+
id: string;
|
|
4913
|
+
ordinal: number;
|
|
4914
|
+
guard?: PptxSmartArtWhen;
|
|
4915
|
+
}[];
|
|
4916
|
+
/**
|
|
4917
|
+
* Every `dgm:presOf` candidate reachable through a `dgm:choose`/`dgm:if`/
|
|
4918
|
+
* `dgm:else` wrapping THIS node's OWN presOf (as opposed to
|
|
4919
|
+
* {@link chooseGuard}, which gates the layoutNode's own EXISTENCE), each
|
|
4920
|
+
* tagged with the FULL chain of enclosing `dgm:if` conditions that select
|
|
4921
|
+
* it (`guard`, empty for an unconditional or `dgm:else`-reached
|
|
4922
|
+
* candidate), in document order (every `dgm:if` then `dgm:else` last).
|
|
4923
|
+
* `undefined` when this node's presOf is not choose-guarded at all (the
|
|
4924
|
+
* overwhelmingly common case) - {@link presentationOf} already carries
|
|
4925
|
+
* the one-and-only value then. Exists for a genuinely conditional presOf
|
|
4926
|
+
* where TWO OR MORE branches each declare a real, DIFFERENT axis
|
|
4927
|
+
* (`funnel--flat3.pptx`'s `item1`/`item2`/`item3`, one literal axis per
|
|
4928
|
+
* data-point count): `smartart-layout-definition-constraints.ts`'s
|
|
4929
|
+
* `choosePresentationOf` (feeding {@link presentationOf}) can only ever
|
|
4930
|
+
* guess ONE branch statically, at parse time, with no diagram to
|
|
4931
|
+
* evaluate against; this field lets an interpret-time caller with the
|
|
4932
|
+
* actual diagram (`smartart-layout-interpreter-when.ts`'s
|
|
4933
|
+
* `resolvePresentationOf`, the one consumer) pick the branch PowerPoint's
|
|
4934
|
+
* own runtime would, first-match-wins.
|
|
4935
|
+
*/
|
|
4936
|
+
presentationOfCandidates?: {
|
|
4937
|
+
guard: PptxSmartArtWhen[];
|
|
4938
|
+
presentationOf: PptxSmartArtIteratorAttributes;
|
|
4939
|
+
}[];
|
|
4940
|
+
/**
|
|
4941
|
+
* SESSION 17: every `dgm:rule` reachable through a `dgm:choose`/`dgm:if`/
|
|
4942
|
+
* `dgm:else` wrapping THIS node's `ruleLst` (a genuinely count-gated rule
|
|
4943
|
+
* set, e.g. `diverging-radial`'s own `w for="ch" forName="node"` ceiling:
|
|
4944
|
+
* 6 `dgm:if cnt<=N` branches, each its own `fact`), tagged with its guard
|
|
4945
|
+
* chain - the SAME shape {@link presentationOfCandidates} uses for
|
|
4946
|
+
* choose-guarded `presOf`, applied to `dgm:rule`. `undefined` when not
|
|
4947
|
+
* choose-guarded (`rules` above then carries the one set, the common
|
|
4948
|
+
* case). See `smartart-layout-interpreter-cycle-hub-ratio.ts`'s
|
|
4949
|
+
* `resolveHubToNodeRatio` (COM-verified live mechanism, not a guess) for
|
|
4950
|
+
* how the guard is evaluated against the real satellite count.
|
|
4951
|
+
*/
|
|
4952
|
+
ruleCandidates?: {
|
|
4953
|
+
guard: PptxSmartArtWhen[];
|
|
4954
|
+
rule: PptxSmartArtNumericRule;
|
|
4955
|
+
}[];
|
|
4862
4956
|
}
|
|
4863
4957
|
/** Metadata and root node from DiagramML CT_DiagramDefinition. */
|
|
4864
4958
|
interface PptxSmartArtLayoutDefinition {
|
|
@@ -12198,6 +12292,17 @@ interface ViewerAdvancedOptions {
|
|
|
12198
12292
|
* for their machine. See `resolve3DRenderingFlags`.
|
|
12199
12293
|
*/
|
|
12200
12294
|
disable3DRendering: boolean;
|
|
12295
|
+
/**
|
|
12296
|
+
* `p:animEffect/@filter="pixelate"` defaults to snapping the element to
|
|
12297
|
+
* its end state (`cutIn`/`cutOut`), matching PowerPoint's own behaviour
|
|
12298
|
+
* (COM `CreateVideo` frame-diffing shows PowerPoint performs no animation
|
|
12299
|
+
* at all for this filter value). This turns on the blocky mosaic reveal
|
|
12300
|
+
* this renderer can build instead, for a viewer that would rather show
|
|
12301
|
+
* something animating than PowerPoint's own instant swap. See
|
|
12302
|
+
* `resolveFilterEffect` in `animation-filter-effects.ts` and
|
|
12303
|
+
* `docs/guide/visual-effects.md`.
|
|
12304
|
+
*/
|
|
12305
|
+
pixelateMosaicAnimation: boolean;
|
|
12201
12306
|
openDocumentsView: OpenDocumentsView;
|
|
12202
12307
|
slideShowShowMenuOnRightClick: boolean;
|
|
12203
12308
|
slideShowShowPopupToolbar: boolean;
|
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 chunkT7MY5L3O_js = require('./chunk-T7MY5L3O.js');
|
|
4
|
+
require('./chunk-45AVHO7M.js');
|
|
5
|
+
var chunkAARQTIMN_js = require('./chunk-AARQTIMN.js');
|
|
6
|
+
var chunkO27KNZLJ_js = require('./chunk-O27KNZLJ.js');
|
|
7
|
+
var chunk3WK4AE52_js = require('./chunk-3WK4AE52.js');
|
|
8
|
+
var chunk3AJ54EAB_js = require('./chunk-3AJ54EAB.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 chunkT7MY5L3O_js.PowerPointViewer; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "SlideCanvas", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkT7MY5L3O_js.SlideCanvas; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "SlideTemplateGalleryDialog", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkT7MY5L3O_js.SlideTemplateGalleryDialog; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "SlideTemplatePreview", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkT7MY5L3O_js.SlideTemplatePreview; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "Toolbar", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkT7MY5L3O_js.Toolbar; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "ViewerThemeProvider", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkT7MY5L3O_js.ViewerThemeProvider; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "useViewerTheme", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkT7MY5L3O_js.useViewerTheme; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "renderToCanvas", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkAARQTIMN_js.renderToCanvas; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "useViewerBuildingBlocks", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkAARQTIMN_js.useViewerBuildingBlocks; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "getAnimationInitialStyle", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkO27KNZLJ_js.getAnimationInitialStyle; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "AVATAR_COLOR_SWATCHES", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunk3WK4AE52_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 chunk3WK4AE52_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 chunk3WK4AE52_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 chunk3WK4AE52_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 chunk3WK4AE52_js.SLIDE_TEMPLATES; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "THEME_CATALOG", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunk3WK4AE52_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 chunk3WK4AE52_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 chunk3WK4AE52_js.buildSlideTemplateContent; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "buildSlideTemplateSlide", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunk3WK4AE52_js.buildSlideTemplateSlide; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "clearAllLocalViewerData", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunk3WK4AE52_js.clearAllLocalViewerData; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "clearStoredViewerPrefs", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunk3WK4AE52_js.clearStoredViewerPrefs; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "defaultCssVars", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunk3WK4AE52_js.defaultCssVars; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "defaultRadius", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunk3WK4AE52_js.defaultRadius; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "defaultThemeColors", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunk3WK4AE52_js.defaultThemeColors; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "getLocalStorageUsageSummary", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunk3WK4AE52_js.getLocalStorageUsageSummary; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "isLegacyBinaryPresentation", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunk3WK4AE52_js.isLegacyBinaryPresentation; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "isSupportedPresentationFile", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunk3WK4AE52_js.isSupportedPresentationFile; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "presentationBaseName", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunk3WK4AE52_js.presentationBaseName; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "readStoredViewerPrefs", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunk3WK4AE52_js.readStoredViewerPrefs; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "resolveProfileInitial", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunk3WK4AE52_js.resolveProfileInitial; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "resolveThemeCatalogEntry", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunk3WK4AE52_js.resolveThemeCatalogEntry; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "saveViewerProfile", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunk3WK4AE52_js.saveViewerProfile; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "savedPresentationFileName", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunk3WK4AE52_js.savedPresentationFileName; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "themeToCssVars", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunk3WK4AE52_js.themeToCssVars; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "vermilionDarkColors", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunk3WK4AE52_js.vermilionDarkColors; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "vermilionDarkTheme", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunk3WK4AE52_js.vermilionDarkTheme; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "vermilionLightColors", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunk3WK4AE52_js.vermilionLightColors; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "vermilionLightTheme", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunk3WK4AE52_js.vermilionLightTheme; }
|
|
164
164
|
});
|
|
165
165
|
Object.defineProperty(exports, "vermilionRadius", {
|
|
166
166
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunk3WK4AE52_js.vermilionRadius; }
|
|
168
168
|
});
|
|
169
169
|
Object.defineProperty(exports, "writeStoredViewerPrefs", {
|
|
170
170
|
enumerable: true,
|
|
171
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunk3WK4AE52_js.writeStoredViewerPrefs; }
|
|
172
172
|
});
|
|
173
173
|
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
174
174
|
enumerable: true,
|
|
175
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunk3AJ54EAB_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-ZOEKVSSU.mjs';
|
|
2
|
+
import './chunk-2FSNTJVI.mjs';
|
|
3
|
+
export { renderToCanvas, useViewerBuildingBlocks } from './chunk-WRHPPTYF.mjs';
|
|
4
|
+
export { getAnimationInitialStyle } from './chunk-HXDNYDRJ.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-C2BDHCL2.mjs';
|
|
6
|
+
export { LOCALE_CATALOG } from './chunk-HMX3MQR7.mjs';
|
|
7
7
|
import './chunk-XGB3TDIC.mjs';
|
package/dist/index.mjs.br
CHANGED
|
Binary file
|
package/dist/index.mjs.gz
CHANGED
|
Binary file
|