pptx-svelte-viewer 3.20.2 → 3.21.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 +10 -0
- package/dist/{AiChatPanel-BMqwxaiL.js → AiChatPanel-DcDBUTiw.js} +2 -2
- package/dist/{export-BgaECw4Y.js → export-CFSKhk51.js} +7272 -7099
- package/dist/i18n/de.cjs +11 -0
- package/dist/i18n/de.mjs +11 -0
- package/dist/i18n/es.cjs +11 -0
- package/dist/i18n/es.mjs +11 -0
- package/dist/i18n/fr.cjs +11 -0
- package/dist/i18n/fr.mjs +11 -0
- package/dist/i18n/zh-CN.cjs +11 -0
- package/dist/i18n/zh-CN.mjs +11 -0
- package/dist/i18n.js +1 -1
- package/dist/index.d.ts +37 -0
- package/dist/index.js +33 -33
- package/dist/internals.d.ts +37 -0
- package/dist/internals.js +23 -23
- package/dist/pptx-svelte-viewer.css +1 -1
- package/dist/{transition-overlay-CMzV6QTe.js → transition-overlay-Ntj3H3-l.js} +24376 -24081
- package/dist/{translator-wOMMyMjv.js → translator-De5ZGYTS.js} +11 -0
- package/dist/viewer/index.d.ts +46 -9
- package/dist/viewer/index.js +6 -6
- package/package.json +1 -1
package/dist/i18n/de.cjs
CHANGED
|
@@ -1108,6 +1108,17 @@ var translations7 = {
|
|
|
1108
1108
|
"pptx.chart.chartFilters": "Diagrammfilter",
|
|
1109
1109
|
"pptx.chart.hideSeries": "{{name}} ausblenden",
|
|
1110
1110
|
"pptx.chart.showSeries": "{{name}} einblenden",
|
|
1111
|
+
"pptx.chart.quickElements": "Diagrammelemente",
|
|
1112
|
+
"pptx.chart.quickStyles": "Diagrammformatvorlagen",
|
|
1113
|
+
"pptx.chart.quickFilters": "Diagrammfilter",
|
|
1114
|
+
"pptx.chart.quickAxes": "Achsen",
|
|
1115
|
+
"pptx.chart.quickAxisTitles": "Achsentitel",
|
|
1116
|
+
"pptx.chart.styleColorful": "Farbig",
|
|
1117
|
+
"pptx.chart.styleMonochrome": "Einfarbig",
|
|
1118
|
+
"pptx.chart.styleColorfulLight": "Farbig hell",
|
|
1119
|
+
"pptx.chart.styleColorfulDark": "Farbig dunkel",
|
|
1120
|
+
"pptx.chart.styleMutedDark": "Ged\xE4mpft dunkel",
|
|
1121
|
+
"pptx.chart.stylePastel": "Pastell",
|
|
1111
1122
|
"pptx.chart.valueFromCells": "Wert aus Zellen: {{name}}",
|
|
1112
1123
|
"pptx.chart.removeCategory": "Kategorie entfernen",
|
|
1113
1124
|
"pptx.chart.axes": "Achsen",
|
package/dist/i18n/de.mjs
CHANGED
|
@@ -1082,6 +1082,17 @@ var translations7 = {
|
|
|
1082
1082
|
"pptx.chart.chartFilters": "Diagrammfilter",
|
|
1083
1083
|
"pptx.chart.hideSeries": "{{name}} ausblenden",
|
|
1084
1084
|
"pptx.chart.showSeries": "{{name}} einblenden",
|
|
1085
|
+
"pptx.chart.quickElements": "Diagrammelemente",
|
|
1086
|
+
"pptx.chart.quickStyles": "Diagrammformatvorlagen",
|
|
1087
|
+
"pptx.chart.quickFilters": "Diagrammfilter",
|
|
1088
|
+
"pptx.chart.quickAxes": "Achsen",
|
|
1089
|
+
"pptx.chart.quickAxisTitles": "Achsentitel",
|
|
1090
|
+
"pptx.chart.styleColorful": "Farbig",
|
|
1091
|
+
"pptx.chart.styleMonochrome": "Einfarbig",
|
|
1092
|
+
"pptx.chart.styleColorfulLight": "Farbig hell",
|
|
1093
|
+
"pptx.chart.styleColorfulDark": "Farbig dunkel",
|
|
1094
|
+
"pptx.chart.styleMutedDark": "Ged\xE4mpft dunkel",
|
|
1095
|
+
"pptx.chart.stylePastel": "Pastell",
|
|
1085
1096
|
"pptx.chart.valueFromCells": "Wert aus Zellen: {{name}}",
|
|
1086
1097
|
"pptx.chart.removeCategory": "Kategorie entfernen",
|
|
1087
1098
|
"pptx.chart.axes": "Achsen",
|
package/dist/i18n/es.cjs
CHANGED
|
@@ -1108,6 +1108,17 @@ var translations7 = {
|
|
|
1108
1108
|
"pptx.chart.chartFilters": "Filtros de gr\xE1fico",
|
|
1109
1109
|
"pptx.chart.hideSeries": "Ocultar {{name}}",
|
|
1110
1110
|
"pptx.chart.showSeries": "Mostrar {{name}}",
|
|
1111
|
+
"pptx.chart.quickElements": "Elementos del gr\xE1fico",
|
|
1112
|
+
"pptx.chart.quickStyles": "Estilos de gr\xE1fico",
|
|
1113
|
+
"pptx.chart.quickFilters": "Filtros de gr\xE1fico",
|
|
1114
|
+
"pptx.chart.quickAxes": "Ejes",
|
|
1115
|
+
"pptx.chart.quickAxisTitles": "T\xEDtulos de los ejes",
|
|
1116
|
+
"pptx.chart.styleColorful": "Colorido",
|
|
1117
|
+
"pptx.chart.styleMonochrome": "Monocromo",
|
|
1118
|
+
"pptx.chart.styleColorfulLight": "Colorido claro",
|
|
1119
|
+
"pptx.chart.styleColorfulDark": "Colorido oscuro",
|
|
1120
|
+
"pptx.chart.styleMutedDark": "Oscuro apagado",
|
|
1121
|
+
"pptx.chart.stylePastel": "Pastel",
|
|
1111
1122
|
"pptx.chart.valueFromCells": "Valor de celdas: {{name}}",
|
|
1112
1123
|
"pptx.chart.removeCategory": "Eliminar categor\xEDa",
|
|
1113
1124
|
"pptx.chart.axes": "ejes",
|
package/dist/i18n/es.mjs
CHANGED
|
@@ -1082,6 +1082,17 @@ var translations7 = {
|
|
|
1082
1082
|
"pptx.chart.chartFilters": "Filtros de gr\xE1fico",
|
|
1083
1083
|
"pptx.chart.hideSeries": "Ocultar {{name}}",
|
|
1084
1084
|
"pptx.chart.showSeries": "Mostrar {{name}}",
|
|
1085
|
+
"pptx.chart.quickElements": "Elementos del gr\xE1fico",
|
|
1086
|
+
"pptx.chart.quickStyles": "Estilos de gr\xE1fico",
|
|
1087
|
+
"pptx.chart.quickFilters": "Filtros de gr\xE1fico",
|
|
1088
|
+
"pptx.chart.quickAxes": "Ejes",
|
|
1089
|
+
"pptx.chart.quickAxisTitles": "T\xEDtulos de los ejes",
|
|
1090
|
+
"pptx.chart.styleColorful": "Colorido",
|
|
1091
|
+
"pptx.chart.styleMonochrome": "Monocromo",
|
|
1092
|
+
"pptx.chart.styleColorfulLight": "Colorido claro",
|
|
1093
|
+
"pptx.chart.styleColorfulDark": "Colorido oscuro",
|
|
1094
|
+
"pptx.chart.styleMutedDark": "Oscuro apagado",
|
|
1095
|
+
"pptx.chart.stylePastel": "Pastel",
|
|
1085
1096
|
"pptx.chart.valueFromCells": "Valor de celdas: {{name}}",
|
|
1086
1097
|
"pptx.chart.removeCategory": "Eliminar categor\xEDa",
|
|
1087
1098
|
"pptx.chart.axes": "ejes",
|
package/dist/i18n/fr.cjs
CHANGED
|
@@ -1108,6 +1108,17 @@ var translations7 = {
|
|
|
1108
1108
|
"pptx.chart.chartFilters": "Filtres du graphique",
|
|
1109
1109
|
"pptx.chart.hideSeries": "Masquer {{name}}",
|
|
1110
1110
|
"pptx.chart.showSeries": "Afficher {{name}}",
|
|
1111
|
+
"pptx.chart.quickElements": "\xC9l\xE9ments de graphique",
|
|
1112
|
+
"pptx.chart.quickStyles": "Styles de graphique",
|
|
1113
|
+
"pptx.chart.quickFilters": "Filtres de graphique",
|
|
1114
|
+
"pptx.chart.quickAxes": "Axes",
|
|
1115
|
+
"pptx.chart.quickAxisTitles": "Titres des axes",
|
|
1116
|
+
"pptx.chart.styleColorful": "Color\xE9",
|
|
1117
|
+
"pptx.chart.styleMonochrome": "Monochrome",
|
|
1118
|
+
"pptx.chart.styleColorfulLight": "Color\xE9 clair",
|
|
1119
|
+
"pptx.chart.styleColorfulDark": "Color\xE9 fonc\xE9",
|
|
1120
|
+
"pptx.chart.styleMutedDark": "Sombre att\xE9nu\xE9",
|
|
1121
|
+
"pptx.chart.stylePastel": "Pastel",
|
|
1111
1122
|
"pptx.chart.valueFromCells": "Valeur des cellules : {{name}}",
|
|
1112
1123
|
"pptx.chart.removeCategory": "Supprimer la cat\xE9gorie",
|
|
1113
1124
|
"pptx.chart.axes": "Haches",
|
package/dist/i18n/fr.mjs
CHANGED
|
@@ -1082,6 +1082,17 @@ var translations7 = {
|
|
|
1082
1082
|
"pptx.chart.chartFilters": "Filtres du graphique",
|
|
1083
1083
|
"pptx.chart.hideSeries": "Masquer {{name}}",
|
|
1084
1084
|
"pptx.chart.showSeries": "Afficher {{name}}",
|
|
1085
|
+
"pptx.chart.quickElements": "\xC9l\xE9ments de graphique",
|
|
1086
|
+
"pptx.chart.quickStyles": "Styles de graphique",
|
|
1087
|
+
"pptx.chart.quickFilters": "Filtres de graphique",
|
|
1088
|
+
"pptx.chart.quickAxes": "Axes",
|
|
1089
|
+
"pptx.chart.quickAxisTitles": "Titres des axes",
|
|
1090
|
+
"pptx.chart.styleColorful": "Color\xE9",
|
|
1091
|
+
"pptx.chart.styleMonochrome": "Monochrome",
|
|
1092
|
+
"pptx.chart.styleColorfulLight": "Color\xE9 clair",
|
|
1093
|
+
"pptx.chart.styleColorfulDark": "Color\xE9 fonc\xE9",
|
|
1094
|
+
"pptx.chart.styleMutedDark": "Sombre att\xE9nu\xE9",
|
|
1095
|
+
"pptx.chart.stylePastel": "Pastel",
|
|
1085
1096
|
"pptx.chart.valueFromCells": "Valeur des cellules : {{name}}",
|
|
1086
1097
|
"pptx.chart.removeCategory": "Supprimer la cat\xE9gorie",
|
|
1087
1098
|
"pptx.chart.axes": "Haches",
|
package/dist/i18n/zh-CN.cjs
CHANGED
|
@@ -1148,6 +1148,17 @@ var translations9 = {
|
|
|
1148
1148
|
"pptx.chart.chartFilters": "\u56FE\u8868\u7B5B\u9009\u5668",
|
|
1149
1149
|
"pptx.chart.hideSeries": "\u9690\u85CF {{name}}",
|
|
1150
1150
|
"pptx.chart.showSeries": "\u663E\u793A {{name}}",
|
|
1151
|
+
"pptx.chart.quickElements": "\u56FE\u8868\u5143\u7D20",
|
|
1152
|
+
"pptx.chart.quickStyles": "\u56FE\u8868\u6837\u5F0F",
|
|
1153
|
+
"pptx.chart.quickFilters": "\u56FE\u8868\u7B5B\u9009\u5668",
|
|
1154
|
+
"pptx.chart.quickAxes": "\u5750\u6807\u8F74",
|
|
1155
|
+
"pptx.chart.quickAxisTitles": "\u5750\u6807\u8F74\u6807\u9898",
|
|
1156
|
+
"pptx.chart.styleColorful": "\u5F69\u8272",
|
|
1157
|
+
"pptx.chart.styleMonochrome": "\u5355\u8272",
|
|
1158
|
+
"pptx.chart.styleColorfulLight": "\u5F69\u8272\uFF08\u6D45\uFF09",
|
|
1159
|
+
"pptx.chart.styleColorfulDark": "\u5F69\u8272\uFF08\u6DF1\uFF09",
|
|
1160
|
+
"pptx.chart.styleMutedDark": "\u67D4\u548C\u6DF1\u8272",
|
|
1161
|
+
"pptx.chart.stylePastel": "\u67D4\u5F69\u8272",
|
|
1151
1162
|
"pptx.chart.valueFromCells": "\u5355\u5143\u683C\u4E2D\u7684\u503C\uFF1A{{name}}",
|
|
1152
1163
|
"pptx.chart.removeCategory": "\u5220\u9664\u7C7B\u522B",
|
|
1153
1164
|
"pptx.chart.axes": "\u5750\u6807\u8F74",
|
package/dist/i18n/zh-CN.mjs
CHANGED
|
@@ -1122,6 +1122,17 @@ var translations9 = {
|
|
|
1122
1122
|
"pptx.chart.chartFilters": "\u56FE\u8868\u7B5B\u9009\u5668",
|
|
1123
1123
|
"pptx.chart.hideSeries": "\u9690\u85CF {{name}}",
|
|
1124
1124
|
"pptx.chart.showSeries": "\u663E\u793A {{name}}",
|
|
1125
|
+
"pptx.chart.quickElements": "\u56FE\u8868\u5143\u7D20",
|
|
1126
|
+
"pptx.chart.quickStyles": "\u56FE\u8868\u6837\u5F0F",
|
|
1127
|
+
"pptx.chart.quickFilters": "\u56FE\u8868\u7B5B\u9009\u5668",
|
|
1128
|
+
"pptx.chart.quickAxes": "\u5750\u6807\u8F74",
|
|
1129
|
+
"pptx.chart.quickAxisTitles": "\u5750\u6807\u8F74\u6807\u9898",
|
|
1130
|
+
"pptx.chart.styleColorful": "\u5F69\u8272",
|
|
1131
|
+
"pptx.chart.styleMonochrome": "\u5355\u8272",
|
|
1132
|
+
"pptx.chart.styleColorfulLight": "\u5F69\u8272\uFF08\u6D45\uFF09",
|
|
1133
|
+
"pptx.chart.styleColorfulDark": "\u5F69\u8272\uFF08\u6DF1\uFF09",
|
|
1134
|
+
"pptx.chart.styleMutedDark": "\u67D4\u548C\u6DF1\u8272",
|
|
1135
|
+
"pptx.chart.stylePastel": "\u67D4\u5F69\u8272",
|
|
1125
1136
|
"pptx.chart.valueFromCells": "\u5355\u5143\u683C\u4E2D\u7684\u503C\uFF1A{{name}}",
|
|
1126
1137
|
"pptx.chart.removeCategory": "\u5220\u9664\u7C7B\u522B",
|
|
1127
1138
|
"pptx.chart.axes": "\u5750\u6807\u8F74",
|
package/dist/i18n.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -3365,6 +3365,17 @@ interface PptxChartTreemapOptions {
|
|
|
3365
3365
|
*/
|
|
3366
3366
|
interface PptxChartSeries {
|
|
3367
3367
|
name: string;
|
|
3368
|
+
/**
|
|
3369
|
+
* This series' own `c:ser/c:idx/@val`. PowerPoint keys per-series identity
|
|
3370
|
+
* (data-point picking, and the automatic marker-symbol cycle when no
|
|
3371
|
+
* `c:marker/c:symbol` is authored) off this value, NOT off the series'
|
|
3372
|
+
* position in this array: a series can be reordered (`c:order`) without its
|
|
3373
|
+
* `idx` changing, and a chart with a deleted/filtered series leaves a gap
|
|
3374
|
+
* (e.g. idx 1, 2 with no idx 0). Absent only for chart kinds this parser
|
|
3375
|
+
* does not tag (rare); render code that needs it should fall back to the
|
|
3376
|
+
* array position.
|
|
3377
|
+
*/
|
|
3378
|
+
idx?: number;
|
|
3368
3379
|
values: number[];
|
|
3369
3380
|
/**
|
|
3370
3381
|
* Per-series x values from `c:ser/c:xVal` (scatter and bubble series only).
|
|
@@ -3515,6 +3526,24 @@ interface PptxChartFilteredSeries {
|
|
|
3515
3526
|
values?: number[];
|
|
3516
3527
|
/** This hidden series' own identity GUID (`c16:uniqueId`), when present. */
|
|
3517
3528
|
uniqueId?: string;
|
|
3529
|
+
/**
|
|
3530
|
+
* A full snapshot of the series as it looked the moment it was hidden
|
|
3531
|
+
* (`render/chart-ext-editor-actions.ts`'s `hideChartSeries`), so
|
|
3532
|
+
* `restoreFilteredSeries` can bring it back exactly as it was: full fill/
|
|
3533
|
+
* line formatting, marker, data-label options, everything, not just the
|
|
3534
|
+
* bare name/values/idx the other fields above capture.
|
|
3535
|
+
*
|
|
3536
|
+
* NOT derived from XML and NEVER written to disk (the save writer,
|
|
3537
|
+
* `chart-filtered-series-writer.ts`, only reads the named fields above):
|
|
3538
|
+
* this exists purely for the live "Chart Filters" hide/show round-trip
|
|
3539
|
+
* within one editing session. A filtered series read from an actually
|
|
3540
|
+
* parsed file (one that was already hidden when opened) has no snapshot
|
|
3541
|
+
* to draw on, since real PowerPoint's `c15:ser` node is parsed only for
|
|
3542
|
+
* the fields above (`chart-filtered-series.ts`'s `parseOneFilteredSeries`);
|
|
3543
|
+
* `restoreFilteredSeries` falls back to reconstructing a bare series from
|
|
3544
|
+
* those for that case, same as before this field existed.
|
|
3545
|
+
*/
|
|
3546
|
+
originalSeries?: PptxChartSeries;
|
|
3518
3547
|
}
|
|
3519
3548
|
/**
|
|
3520
3549
|
* Chart-level data-label options (`c:dLbls` directly under a chart-type
|
|
@@ -3625,6 +3654,14 @@ interface PptxChartStyle {
|
|
|
3625
3654
|
legendPosition?: string;
|
|
3626
3655
|
/** Per-series visibility and text-style overrides. */
|
|
3627
3656
|
legendEntries?: PptxChartLegendEntry[];
|
|
3657
|
+
/**
|
|
3658
|
+
* The legend's own default text style (`c:legend/c:txPr`), falling back to
|
|
3659
|
+
* the chart-wide default (`c:chartSpace/c:txPr`) when the legend has none
|
|
3660
|
+
* of its own. Applies to every legend entry that has no per-entry
|
|
3661
|
+
* `c:legendEntry/c:txPr` override (see {@link PptxChartLegendEntry.textStyle}),
|
|
3662
|
+
* which always wins over this chart-level default.
|
|
3663
|
+
*/
|
|
3664
|
+
legendTextStyle?: PptxChartLegendTextStyle;
|
|
3628
3665
|
/** Whether the chart has a title. */
|
|
3629
3666
|
hasTitle?: boolean;
|
|
3630
3667
|
/** Whether gridlines are visible. */
|
package/dist/index.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as
|
|
3
|
-
import { a as
|
|
1
|
+
import { Bd as e, Cl as a, Lo as o, Ml as r, Nl as i, Pu as t, Xs as l, Zu as n, cc as m, es as S, fh as p, fn as d, gh as T, hh as h, is as v, kc as g, kl as P, mh as u, ph as c, rp as f, rs as k, sn as C, ts as N, up as A, yl as E, zm as D } from "./transition-overlay-Ntj3H3-l.js";
|
|
2
|
+
import { i as B } from "./translator-De5ZGYTS.js";
|
|
3
|
+
import { a as b, c as F, l as L, o as O, s as _, t as y, u as R } from "./export-CFSKhk51.js";
|
|
4
4
|
import "./i18n.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
C as PPTX_OPEN_ACCEPT,
|
|
7
|
+
d as PRESENTATION_OPEN_EXTENSIONS,
|
|
8
|
+
y as PowerPointViewer,
|
|
9
|
+
o as createImageElementFromFile,
|
|
10
|
+
S as defaultCssVars,
|
|
11
|
+
N as defaultRadius,
|
|
12
|
+
k as defaultThemeColors,
|
|
13
|
+
v as deleteAutosaveSnapshot,
|
|
14
14
|
O as exportAllSlidesToSvg,
|
|
15
15
|
_ as exportAllSlidesToSvgBlobs,
|
|
16
16
|
F as exportSlideAsSvg,
|
|
17
17
|
L as exportSlideToSvg,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
18
|
+
R as exportSlideToSvgBlob,
|
|
19
|
+
l as forgetSessionDeck,
|
|
20
|
+
m as getAutosaveSnapshot,
|
|
21
|
+
g as getSessionTabId,
|
|
22
|
+
E as isLegacyBinaryPresentation,
|
|
23
|
+
a as isSupportedPresentationFile,
|
|
24
|
+
P as listAutosaveSnapshots,
|
|
25
|
+
r as loadPresentationDeck,
|
|
26
|
+
i as loadSessionDeck,
|
|
27
|
+
t as parsePresentationSessionId,
|
|
28
|
+
n as presentationBaseName,
|
|
29
|
+
B as registerTranslations,
|
|
30
|
+
e as rememberSessionDeck,
|
|
31
|
+
b as renderToCanvas,
|
|
32
|
+
f as restoreSessionDeck,
|
|
33
|
+
A as savedPresentationFileName,
|
|
34
|
+
D as themeToCssVars,
|
|
35
|
+
p as vermilionDarkColors,
|
|
36
|
+
c as vermilionDarkTheme,
|
|
37
|
+
u as vermilionLightColors,
|
|
38
|
+
h as vermilionLightTheme,
|
|
39
|
+
T as vermilionRadius
|
|
40
40
|
};
|
package/dist/internals.d.ts
CHANGED
|
@@ -3282,6 +3282,17 @@ interface PptxChartTreemapOptions {
|
|
|
3282
3282
|
*/
|
|
3283
3283
|
interface PptxChartSeries {
|
|
3284
3284
|
name: string;
|
|
3285
|
+
/**
|
|
3286
|
+
* This series' own `c:ser/c:idx/@val`. PowerPoint keys per-series identity
|
|
3287
|
+
* (data-point picking, and the automatic marker-symbol cycle when no
|
|
3288
|
+
* `c:marker/c:symbol` is authored) off this value, NOT off the series'
|
|
3289
|
+
* position in this array: a series can be reordered (`c:order`) without its
|
|
3290
|
+
* `idx` changing, and a chart with a deleted/filtered series leaves a gap
|
|
3291
|
+
* (e.g. idx 1, 2 with no idx 0). Absent only for chart kinds this parser
|
|
3292
|
+
* does not tag (rare); render code that needs it should fall back to the
|
|
3293
|
+
* array position.
|
|
3294
|
+
*/
|
|
3295
|
+
idx?: number;
|
|
3285
3296
|
values: number[];
|
|
3286
3297
|
/**
|
|
3287
3298
|
* Per-series x values from `c:ser/c:xVal` (scatter and bubble series only).
|
|
@@ -3432,6 +3443,24 @@ interface PptxChartFilteredSeries {
|
|
|
3432
3443
|
values?: number[];
|
|
3433
3444
|
/** This hidden series' own identity GUID (`c16:uniqueId`), when present. */
|
|
3434
3445
|
uniqueId?: string;
|
|
3446
|
+
/**
|
|
3447
|
+
* A full snapshot of the series as it looked the moment it was hidden
|
|
3448
|
+
* (`render/chart-ext-editor-actions.ts`'s `hideChartSeries`), so
|
|
3449
|
+
* `restoreFilteredSeries` can bring it back exactly as it was: full fill/
|
|
3450
|
+
* line formatting, marker, data-label options, everything, not just the
|
|
3451
|
+
* bare name/values/idx the other fields above capture.
|
|
3452
|
+
*
|
|
3453
|
+
* NOT derived from XML and NEVER written to disk (the save writer,
|
|
3454
|
+
* `chart-filtered-series-writer.ts`, only reads the named fields above):
|
|
3455
|
+
* this exists purely for the live "Chart Filters" hide/show round-trip
|
|
3456
|
+
* within one editing session. A filtered series read from an actually
|
|
3457
|
+
* parsed file (one that was already hidden when opened) has no snapshot
|
|
3458
|
+
* to draw on, since real PowerPoint's `c15:ser` node is parsed only for
|
|
3459
|
+
* the fields above (`chart-filtered-series.ts`'s `parseOneFilteredSeries`);
|
|
3460
|
+
* `restoreFilteredSeries` falls back to reconstructing a bare series from
|
|
3461
|
+
* those for that case, same as before this field existed.
|
|
3462
|
+
*/
|
|
3463
|
+
originalSeries?: PptxChartSeries;
|
|
3435
3464
|
}
|
|
3436
3465
|
/**
|
|
3437
3466
|
* Chart-level data-label options (`c:dLbls` directly under a chart-type
|
|
@@ -3542,6 +3571,14 @@ interface PptxChartStyle {
|
|
|
3542
3571
|
legendPosition?: string;
|
|
3543
3572
|
/** Per-series visibility and text-style overrides. */
|
|
3544
3573
|
legendEntries?: PptxChartLegendEntry[];
|
|
3574
|
+
/**
|
|
3575
|
+
* The legend's own default text style (`c:legend/c:txPr`), falling back to
|
|
3576
|
+
* the chart-wide default (`c:chartSpace/c:txPr`) when the legend has none
|
|
3577
|
+
* of its own. Applies to every legend entry that has no per-entry
|
|
3578
|
+
* `c:legendEntry/c:txPr` override (see {@link PptxChartLegendEntry.textStyle}),
|
|
3579
|
+
* which always wins over this chart-level default.
|
|
3580
|
+
*/
|
|
3581
|
+
legendTextStyle?: PptxChartLegendTextStyle;
|
|
3545
3582
|
/** Whether the chart has a title. */
|
|
3546
3583
|
hasTitle?: boolean;
|
|
3547
3584
|
/** Whether gridlines are visible. */
|
package/dist/internals.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $f as a, Bn as n, Cf as i, Hf as S, Lf as T, Sc as t, Sf as e, Ut as _, Vn as A, Yf as E, cr as I, dc as o, ft as r, gr as N, ht as R, in as O, jc as M, nn as D, rn as l, t as L, tt as P, wn as f, xt as F } from "./transition-overlay-Ntj3H3-l.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
3
|
+
P as CINEMATIC_TRANSITION_KEYFRAMES,
|
|
4
|
+
r as DEFAULT_MORPH_DURATION_MS,
|
|
5
|
+
R as DEFAULT_TRANSITION_DURATION_MS,
|
|
6
|
+
F as EASE,
|
|
7
|
+
_ as INSTANT,
|
|
8
|
+
D as P14_TRANSITION_KEYFRAMES,
|
|
9
|
+
l as P14_TRANSITION_KEYFRAMES_2,
|
|
10
|
+
O as P14_TRANSITION_KEYFRAMES_ALL,
|
|
11
|
+
L as PresentationTransitionOverlay,
|
|
12
|
+
f as RANDOM_ELIGIBLE_TYPES,
|
|
13
|
+
n as SLIDE_TRANSITION_KEYFRAMES,
|
|
14
|
+
A as SLIDE_TRANSITION_KEYFRAMES_CSS,
|
|
15
|
+
I as TRANSITION_SPEED_DURATION_MS,
|
|
16
|
+
N as WHEEL_SPOKE_COUNTS,
|
|
17
|
+
o as getCinematicTransitionAnimations,
|
|
18
|
+
t as getP14TransitionAnimations,
|
|
19
|
+
M as getSlideTransitionAnimations,
|
|
20
|
+
e as resolveDirection,
|
|
21
|
+
i as resolveDirection8,
|
|
22
22
|
T as resolveOrientation,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
S as resolveSlideTransition,
|
|
24
|
+
E as resolveTransitionDurationMs,
|
|
25
|
+
a as resolveWheelSpokeCount
|
|
26
26
|
};
|