pptx-svelte-viewer 2.12.0 → 2.13.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/dist/i18n.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as s, c as e, i as t, n as r, o, r as n, s as i, t as l } from "./translator-DvI_ky16.js";
1
+ import { a as s, c as e, i as t, n as r, o, r as n, s as i, t as l } from "./translator-DqUAMimH.js";
2
2
  export {
3
3
  o as LOCALE_CATALOG,
4
4
  l as createTranslator,
package/dist/index.d.ts CHANGED
@@ -2485,6 +2485,14 @@ interface PptxChartSeries {
2485
2485
  * `c:dispBlanksAs` (gap / zero / span) using this mask.
2486
2486
  */
2487
2487
  blanks?: boolean[];
2488
+ /**
2489
+ * ECMA-376 number-format code for this series' values, resolved from
2490
+ * `c:ser/c:dLbls/c:numFmt/@formatCode` and falling back to the value cache's
2491
+ * own `c:numCache/c:formatCode` (which is what `@sourceLinked="1"` means).
2492
+ * Data labels render through it: a percentage series caches fractions, so
2493
+ * without the code `0.52` reaches the label where PowerPoint shows `52%`.
2494
+ */
2495
+ numberFormat?: string;
2488
2496
  color?: string;
2489
2497
  trendlines?: PptxChartTrendline[];
2490
2498
  errBars?: PptxChartErrBars[];
@@ -2591,6 +2599,16 @@ interface PptxChartStyle {
2591
2599
  hasTitle?: boolean;
2592
2600
  /** Whether gridlines are visible. */
2593
2601
  hasGridlines?: boolean;
2602
+ /**
2603
+ * Chart-area fill from `c:chartSpace/c:spPr`: a resolved colour, or the
2604
+ * literal `'none'` when the source declares `<a:noFill/>`. Absent when the
2605
+ * chart says nothing, in which case the renderer picks its own default.
2606
+ * PowerPoint decks routinely set `a:noFill` so the chart floats on the slide
2607
+ * background; painting a panel behind it boxes the chart in.
2608
+ */
2609
+ chartAreaFill?: string;
2610
+ /** Plot-area fill from `c:plotArea/c:spPr`. See {@link chartAreaFill}. */
2611
+ plotAreaFill?: string;
2594
2612
  /** Whether data labels are shown. */
2595
2613
  hasDataLabels?: boolean;
2596
2614
  /** Chart-level data-label content/position options (when `hasDataLabels`). */
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { B as e, G as a, H as o, J as t, K as i, Q as r, U as l, V as n, W as m, X as S, Y as d, Z as p, a as v, c as g, l as h, o as T, q as u, s as x, t as A, z as f } from "./export-BGT5Ohf0.js";
2
- import { i as P } from "./translator-DvI_ky16.js";
1
+ import { B as e, G as a, H as o, J as t, K as i, Q as r, U as l, V as n, W as m, X as S, Y as d, Z as p, a as v, c as g, l as h, o as T, q as u, s as x, t as A, z as f } from "./export-BAvoKLTO.js";
2
+ import { i as P } from "./translator-DqUAMimH.js";
3
3
  import "./i18n.js";
4
4
  export {
5
5
  A as PowerPointViewer,