pptx-vue-viewer 1.1.12 → 1.1.14

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.
Files changed (61) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.cjs.br +0 -0
  3. package/dist/index.cjs.gz +0 -0
  4. package/dist/index.js +1 -1
  5. package/dist/index.js.br +0 -0
  6. package/dist/index.js.gz +0 -0
  7. package/dist/viewer/PowerPointViewer.vue.d.ts.map +1 -1
  8. package/dist/viewer/components/ChartRenderer.vue.d.ts +14 -15
  9. package/dist/viewer/components/ChartRenderer.vue.d.ts.map +1 -1
  10. package/dist/viewer/components/ConnectorRenderer.vue.d.ts +16 -9
  11. package/dist/viewer/components/ConnectorRenderer.vue.d.ts.map +1 -1
  12. package/dist/viewer/components/SlideCanvas.vue.d.ts +12 -1
  13. package/dist/viewer/components/SlideCanvas.vue.d.ts.map +1 -1
  14. package/dist/viewer/components/SmartArtRenderer.vue.d.ts.map +1 -1
  15. package/dist/viewer/components/TableRenderer.vue.d.ts +17 -5
  16. package/dist/viewer/components/TableRenderer.vue.d.ts.map +1 -1
  17. package/dist/viewer/components/chart/BoxWhiskerChart.vue.d.ts +17 -0
  18. package/dist/viewer/components/chart/BoxWhiskerChart.vue.d.ts.map +1 -0
  19. package/dist/viewer/components/chart/BubbleChart.vue.d.ts +16 -0
  20. package/dist/viewer/components/chart/BubbleChart.vue.d.ts.map +1 -0
  21. package/dist/viewer/components/chart/ComboChart.vue.d.ts +17 -0
  22. package/dist/viewer/components/chart/ComboChart.vue.d.ts.map +1 -0
  23. package/dist/viewer/components/chart/FunnelChart.vue.d.ts +15 -0
  24. package/dist/viewer/components/chart/FunnelChart.vue.d.ts.map +1 -0
  25. package/dist/viewer/components/chart/HistogramChart.vue.d.ts +17 -0
  26. package/dist/viewer/components/chart/HistogramChart.vue.d.ts.map +1 -0
  27. package/dist/viewer/components/chart/RadarChart.vue.d.ts +15 -0
  28. package/dist/viewer/components/chart/RadarChart.vue.d.ts.map +1 -0
  29. package/dist/viewer/components/chart/ScatterChart.vue.d.ts +15 -0
  30. package/dist/viewer/components/chart/ScatterChart.vue.d.ts.map +1 -0
  31. package/dist/viewer/components/chart/StockChart.vue.d.ts +17 -0
  32. package/dist/viewer/components/chart/StockChart.vue.d.ts.map +1 -0
  33. package/dist/viewer/components/chart/SunburstChart.vue.d.ts +15 -0
  34. package/dist/viewer/components/chart/SunburstChart.vue.d.ts.map +1 -0
  35. package/dist/viewer/components/chart/TreemapChart.vue.d.ts +16 -0
  36. package/dist/viewer/components/chart/TreemapChart.vue.d.ts.map +1 -0
  37. package/dist/viewer/components/chart/WaterfallChart.vue.d.ts +16 -0
  38. package/dist/viewer/components/chart/WaterfallChart.vue.d.ts.map +1 -0
  39. package/dist/viewer/composables/connector-routing.d.ts +41 -0
  40. package/dist/viewer/composables/connector-routing.d.ts.map +1 -0
  41. package/dist/viewer/composables/smartart-layout.d.ts +190 -0
  42. package/dist/viewer/composables/smartart-layout.d.ts.map +1 -0
  43. package/dist/viewer/composables/table-theme.d.ts +26 -0
  44. package/dist/viewer/composables/table-theme.d.ts.map +1 -0
  45. package/dist/viewer/index.cjs +1 -1
  46. package/dist/viewer/index.cjs.br +0 -0
  47. package/dist/viewer/index.cjs.gz +0 -0
  48. package/dist/viewer/index.js +1 -1
  49. package/dist/viewer/index.js.br +0 -0
  50. package/dist/viewer/index.js.gz +0 -0
  51. package/dist/{viewer-hGgMcu9l.js → viewer-Bi7iG1IX.js} +3828 -1954
  52. package/dist/viewer-Bi7iG1IX.js.br +0 -0
  53. package/dist/viewer-Bi7iG1IX.js.gz +0 -0
  54. package/dist/{viewer-CuMsRAEv.cjs → viewer-DDcaEXYx.cjs} +4527 -2654
  55. package/dist/viewer-DDcaEXYx.cjs.br +0 -0
  56. package/dist/viewer-DDcaEXYx.cjs.gz +0 -0
  57. package/package.json +1 -1
  58. package/dist/viewer-CuMsRAEv.cjs.br +0 -0
  59. package/dist/viewer-CuMsRAEv.cjs.gz +0 -0
  60. package/dist/viewer-hGgMcu9l.js.br +0 -0
  61. package/dist/viewer-hGgMcu9l.js.gz +0 -0
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const e = require("./viewer-CuMsRAEv.cjs");
2
+ const e = require("./viewer-DDcaEXYx.cjs");
3
3
  let r = require("clsx"), t = require("tailwind-merge");
4
4
  exports.ElementRenderer = e.ElementRenderer_default, exports.PowerPointViewer = e.PowerPointViewer_default, exports.SlideCanvas = e.SlideCanvas_default, exports.SlideStage = e.SlideStage_default, exports.cn = function(...e) {
5
5
  return (0, t.twMerge)((0, r.clsx)(e));
package/dist/index.cjs.br CHANGED
Binary file
package/dist/index.cjs.gz CHANGED
Binary file
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as a, F as s, N as e, P as r, R as i, S as o, a as t, o as m, s as n, t as l, w } from "./viewer-hGgMcu9l.js";
1
+ import { C as a, F as s, N as e, P as r, R as i, S as o, a as t, o as m, s as n, t as l, w } from "./viewer-Bi7iG1IX.js";
2
2
  import { clsx as d } from "clsx";
3
3
  import { twMerge as f } from "tailwind-merge";
4
4
  function p(...a) {
package/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
@@ -1 +1 @@
1
- {"version":3,"file":"PowerPointViewer.vue.d.ts","sourceRoot":"","sources":["../../src/viewer/PowerPointViewer.vue"],"names":[],"mappings":"AAswCA,OAAO,KAAK,EACX,mBAAmB,EAEnB,sBAAsB,EACtB,qBAAqB,EACrB,MAAM,SAAS,CAAC;AAm7DjB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"PowerPointViewer.vue.d.ts","sourceRoot":"","sources":["../../src/viewer/PowerPointViewer.vue"],"names":[],"mappings":"AAuxCA,OAAO,KAAK,EACX,mBAAmB,EAEnB,sBAAsB,EACtB,qBAAqB,EACrB,MAAM,SAAS,CAAC;AAi9DjB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -3,29 +3,28 @@ import { PptxElement } from 'pptx-viewer-core';
3
3
  * ChartRenderer — Vue port of the React chart renderer (`viewer/utils/chart.tsx`
4
4
  * and friends). Renders a PPTX chart element as an inline SVG.
5
5
  *
6
- * Implemented chart types (faithful subset):
6
+ * Implemented chart types:
7
7
  * - bar / column (clustered) — React `chart-bar.tsx`
8
8
  * - stacked + 100%-stacked bar — React `chart-stacked-bar.tsx`
9
9
  * - line / line3D — React `chart-area-line.tsx`
10
10
  * - area / area3D — React `chart-area-line.tsx`
11
11
  * - pie / doughnut / pie3D — React `chart-pie.tsx`
12
+ * - radar — React `chart-radar.tsx`
13
+ * - scatter — React `chart-scatter-bubble.tsx`
14
+ * - bubble — React `chart-scatter-bubble.tsx`
15
+ * - waterfall — React `chart-waterfall-combo.tsx`
16
+ * - funnel — React `chart-sunburst-funnel.tsx`
17
+ * - treemap — React `chart-surface-treemap.tsx`
18
+ * - sunburst — React `chart-sunburst-funnel.tsx`
19
+ * - combo (column+line) — React `chart-waterfall-combo.tsx`
20
+ * - stock (HLC / OHLC) — React `chart-stock.tsx`
21
+ * - histogram — React `chart-bar.tsx`
22
+ * - boxWhisker — React `chart-bar.tsx`
12
23
  * - chrome (title, axes, gridlines, legend, data labels) — `chart-chrome.tsx`
13
24
  *
14
- * Everything else renders a labelled placeholder box `Chart: <type>`.
15
- * Deferred types (see the dispatch below):
16
- * // TODO(vue): port radar (React chart-radar.tsx)
17
- * // TODO(vue): port scatter (React chart-scatter-bubble.tsx)
18
- * // TODO(vue): port bubble (React chart-scatter-bubble.tsx)
19
- * // TODO(vue): port stock (React chart-stock.tsx)
20
- * // TODO(vue): port surface (React chart-surface-treemap.tsx)
21
- * // TODO(vue): port treemap (React chart-surface-treemap.tsx)
22
- * // TODO(vue): port sunburst (React chart-sunburst-funnel.tsx)
23
- * // TODO(vue): port funnel (React chart-sunburst-funnel.tsx)
24
- * // TODO(vue): port waterfall (React chart-waterfall-combo.tsx)
25
- * // TODO(vue): port combo (React chart-waterfall-combo.tsx)
25
+ * Remaining TODOs:
26
+ * // TODO(vue): port surface (React chart-surface-treemap.tsx) Three.js 3D
26
27
  * // TODO(vue): port regionMap (React chart-map.tsx)
27
- * // TODO(vue): port boxWhisker (React chart-bar.tsx)
28
- * // TODO(vue): port histogram (React chart-bar.tsx)
29
28
  * // TODO(vue): port trendlines + overlay lines (React chart-overlays/-trendlines)
30
29
  * // TODO(vue): port secondary axes + data tables + log/display-unit axes
31
30
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ChartRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ChartRenderer.vue"],"names":[],"mappings":"AAqpBA,OAAO,KAAK,EAAgC,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAiBlF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACpC,CAAC;AAssBF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"ChartRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ChartRenderer.vue"],"names":[],"mappings":"AAm5BA,OAAO,KAAK,EAAgC,WAAW,EAAE,MAAM,kBAAkB,CAAC;AA4BlF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACpC,CAAC;AAwgCF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,16 +1,23 @@
1
1
  import { PptxElement } from 'pptx-viewer-core';
2
2
  /**
3
- * ConnectorRenderer — Vue port of the React `ConnectorElementRenderer`
4
- * (basic subset).
3
+ * ConnectorRenderer — Vue port of the React `ConnectorElementRenderer`.
5
4
  *
6
- * Renders straight connectors/lines as an inline SVG spanning the element's
7
- * bounding box, with stroke colour/width/dash and start/end arrowheads. Flip
8
- * is baked into the endpoints (not a CSS transform) so arrowheads point the
9
- * right way.
5
+ * Renders straight, bent, and curved connectors as an inline SVG spanning the
6
+ * element's bounding box, with stroke colour/width/dash, start/end arrowheads,
7
+ * and compound (double/triple) line support.
10
8
  *
11
- * Not yet ported (TODO, see PORTING.md): bent/curved connector routing
12
- * (`getConnectorPathGeometry`), compound lines, connector text overlay, line
13
- * shadows/glow. Bent/curved connectors currently fall back to a straight line.
9
+ * Supported connector types:
10
+ * - straightConnector1 / line → simple <line> element
11
+ * - bentConnector2/3/4/5 → orthogonal elbow path (L commands)
12
+ * - curvedConnector2/3/4/5 → Bézier curve path (Q / C commands)
13
+ * - compound lines (dbl/thickThin/thinThick/tri) → parallel offset strokes
14
+ *
15
+ * Flip is baked into the path geometry (not a CSS transform) so arrowheads
16
+ * point the right way for both straight and multi-segment connectors.
17
+ *
18
+ * Not yet ported (TODO, see PORTING.md): line shadows/glow effects,
19
+ * connector text overlay (data model does carry textSegments on some connectors
20
+ * but no Vue text-overlay component exists yet).
14
21
  */
15
22
  type __VLS_Props = {
16
23
  element: PptxElement;
@@ -1 +1 @@
1
- {"version":3,"file":"ConnectorRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ConnectorRenderer.vue"],"names":[],"mappings":"AA4KA,OAAO,KAAK,EAAsB,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAOxE;;;;;;;;;;;;GAYG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AA0MF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"ConnectorRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ConnectorRenderer.vue"],"names":[],"mappings":"AAgRA,OAAO,KAAK,EAAsB,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAaxE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAoSF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -7,18 +7,29 @@ import { CanvasSize } from '../types';
7
7
  * The React version additionally layered in rulers, grid, guides, marquee/
8
8
  * selection, connector-creation, drawing, and collaboration overlays — all
9
9
  * tracked in PORTING.md.
10
+ *
11
+ * Responsive sizing: the slide has a fixed authored pixel size (e.g. 1280×720),
12
+ * which overflows small/mobile viewports. We measure the scroll viewport and
13
+ * emit a `fitScale` (how much the slide must shrink to fit, capped at 1, never
14
+ * upscaling) so the parent can fold it into the effective zoom — mirroring the
15
+ * React viewer's `fitScale * scale` model where "100%" means "fit to viewport".
10
16
  */
11
17
  type __VLS_Props = {
12
18
  slide: PptxSlide | undefined;
13
19
  canvasSize: CanvasSize;
14
20
  mediaDataUrls: Map<string, string>;
21
+ /** Effective scale (fitScale × user zoom) supplied by the parent. */
15
22
  zoom?: number;
16
23
  };
17
24
  declare var __VLS_7: {};
18
25
  type __VLS_Slots = {} & {
19
26
  default?: (props: typeof __VLS_7) => any;
20
27
  };
21
- declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
+ "update:fitScale": (args_0: number) => any;
30
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
31
+ "onUpdate:fitScale"?: ((args_0: number) => any) | undefined;
32
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
33
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
34
  declare const _default: typeof __VLS_export;
24
35
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"SlideCanvas.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideCanvas.vue"],"names":[],"mappings":"AAmDA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAIlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAG3C;;;;;;;GAOG;AACH,KAAK,WAAW,GAAG;IAClB,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AA6DF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SlideCanvas.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SlideCanvas.vue"],"names":[],"mappings":"AAwGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAIlD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAG3C;;;;;;;;;;;;;GAaG;AACH,KAAK,WAAW,GAAG;IAClB,KAAK,EAAE,SAAS,GAAG,SAAS,CAAC;IAC7B,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,qEAAqE;IACrE,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AA+GF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/C,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SmartArtRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SmartArtRenderer.vue"],"names":[],"mappings":"AAsYA,OAAO,KAAK,EACX,WAAW,EAMX,MAAM,kBAAkB,CAAC;AAM1B;;;;;;;;;;;;;;;;;;GAkBG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AA6VF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"SmartArtRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SmartArtRenderer.vue"],"names":[],"mappings":"AAkdA,OAAO,KAAK,EACX,WAAW,EAMX,MAAM,kBAAkB,CAAC;AAa1B;;;;;;;;;;;;;;;;;;GAkBG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAyZF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,4 +1,4 @@
1
- import { PptxElement } from 'pptx-viewer-core';
1
+ import { ParsedTableStyleMap, PptxElement, PptxThemeColorScheme } from 'pptx-viewer-core';
2
2
  /**
3
3
  * TableRenderer — Vue port of the React table renderer
4
4
  * (`viewer/utils/table-render.tsx` + `table-render-data.tsx`).
@@ -10,19 +10,31 @@ import { PptxElement } from 'pptx-viewer-core';
10
10
  * - per-row heights
11
11
  * - per-cell fill / border / alignment / text effects
12
12
  * - rowspan / colspan, skipping cells covered by a merge
13
- * - banded-row / header-row / first-last emphasis
13
+ * - banded-row / header-row / first-last emphasis (theme-aware when
14
+ * `colorScheme` + `tableStyleMap` props are supplied)
15
+ * - pattern fills rendered as tiled inline SVG (not a flat colour)
16
+ * - rich per-run cell text via optional `CellTextRun[]` on cells
14
17
  * - diagonal cell borders via an SVG overlay
15
18
  *
16
19
  * Not ported (editing concerns, see PORTING.md): resize handles, inline cell
17
- * editing, cell selection, and the raw-OOXML render path. Cell text is the
18
- * cell's plain string; rich per-run cell text is a future enhancement. Pattern
19
- * fills are approximated by their background colour.
20
+ * editing, cell selection, and the raw-OOXML render path.
20
21
  */
21
22
  type __VLS_Props = {
22
23
  element: PptxElement;
23
24
  /** Accepted for parity with `ElementRenderer`; unused (no image fills yet). */
24
25
  mediaDataUrls?: Map<string, string>;
25
26
  zIndex: number;
27
+ /**
28
+ * PPTX theme colour scheme from the active presentation theme.
29
+ * When supplied, band / header emphasis colours are resolved against
30
+ * the real scheme instead of using hardcoded fallback colours.
31
+ */
32
+ colorScheme?: PptxThemeColorScheme;
33
+ /**
34
+ * Parsed table style map (from `ppt/tableStyles.xml`).
35
+ * Enables accurate banding / header style lookups by table style GUID.
36
+ */
37
+ tableStyleMap?: ParsedTableStyleMap;
26
38
  };
27
39
  declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
40
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- {"version":3,"file":"TableRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/TableRenderer.vue"],"names":[],"mappings":"AA6NA,OAAO,KAAK,EAAE,WAAW,EAAiB,MAAM,kBAAkB,CAAC;AAQnE;;;;;;;;;;;;;;;;;;GAkBG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,+EAA+E;IAC/E,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAsMF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"TableRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/TableRenderer.vue"],"names":[],"mappings":"AAuWA,OAAO,KAAK,EACX,mBAAmB,EACnB,WAAW,EAGX,oBAAoB,EACpB,MAAM,kBAAkB,CAAC;AAoB1B;;;;;;;;;;;;;;;;;;;GAmBG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,+EAA+E;IAC/E,aAAa,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,WAAW,CAAC,EAAE,oBAAoB,CAAC;IACnC;;;OAGG;IACH,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACpC,CAAC;AA0TF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,17 @@
1
+ import { PptxChartData } from 'pptx-viewer-core';
2
+ import { PlotLayout, ValueRange } from 'pptx-viewer-shared';
3
+ /**
4
+ * BoxWhiskerChart — Vue port of React `chart-bar.tsx` box-whisker variant.
5
+ * Rendered inside the parent chart `<svg>` (emits a `<g>` group).
6
+ * Cross-series values per category form the whisker statistics.
7
+ */
8
+ type __VLS_Props = {
9
+ chartData: PptxChartData;
10
+ layout: PlotLayout;
11
+ range: ValueRange;
12
+ categories: ReadonlyArray<string>;
13
+ };
14
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ //# sourceMappingURL=BoxWhiskerChart.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BoxWhiskerChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/BoxWhiskerChart.vue"],"names":[],"mappings":"AAsJA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIjE;;;;GAIG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,UAAU,CAAC;IAClB,UAAU,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAClC,CAAC;AAyJF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,16 @@
1
+ import { PptxChartData } from 'pptx-viewer-core';
2
+ import { PlotLayout, ValueRange } from 'pptx-viewer-shared';
3
+ /**
4
+ * BubbleChart — Vue port of React `chart-scatter-bubble.tsx` bubble variant.
5
+ * Rendered inside the parent chart `<svg>` (emits a `<g>` group).
6
+ * First two series provide X/Y positions; third series (if present) controls bubble size.
7
+ */
8
+ type __VLS_Props = {
9
+ chartData: PptxChartData;
10
+ layout: PlotLayout;
11
+ range: ValueRange;
12
+ };
13
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ //# sourceMappingURL=BubbleChart.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BubbleChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/BubbleChart.vue"],"names":[],"mappings":"AAyGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIjE;;;;GAIG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,UAAU,CAAC;CAClB,CAAC;AAiHF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,17 @@
1
+ import { PptxChartData } from 'pptx-viewer-core';
2
+ import { PlotLayout, ValueRange } from 'pptx-viewer-shared';
3
+ /**
4
+ * ComboChart — Vue port of React `chart-waterfall-combo.tsx` combo variant.
5
+ * Rendered inside the parent chart `<svg>` (emits a `<g>` group).
6
+ * First series renders as bars; remaining series render as lines with dots.
7
+ */
8
+ type __VLS_Props = {
9
+ chartData: PptxChartData;
10
+ layout: PlotLayout;
11
+ range: ValueRange;
12
+ categories: ReadonlyArray<string>;
13
+ };
14
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ //# sourceMappingURL=ComboChart.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ComboChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/ComboChart.vue"],"names":[],"mappings":"AA2JA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIjE;;;;GAIG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,UAAU,CAAC;IAClB,UAAU,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAClC,CAAC;AAiLF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,15 @@
1
+ import { PptxChartData } from 'pptx-viewer-core';
2
+ import { PlotLayout } from 'pptx-viewer-shared';
3
+ /**
4
+ * FunnelChart — Vue port of React `chart-sunburst-funnel.tsx` funnel variant.
5
+ * Rendered inside the parent chart `<svg>` (emits a `<g>` group).
6
+ */
7
+ type __VLS_Props = {
8
+ chartData: PptxChartData;
9
+ layout: PlotLayout;
10
+ categories: ReadonlyArray<string>;
11
+ };
12
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ //# sourceMappingURL=FunnelChart.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunnelChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/FunnelChart.vue"],"names":[],"mappings":"AAgGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIrD;;;GAGG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,UAAU,CAAC;IACnB,UAAU,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAClC,CAAC;AAyGF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,17 @@
1
+ import { PptxChartData } from 'pptx-viewer-core';
2
+ import { PlotLayout, ValueRange } from 'pptx-viewer-shared';
3
+ /**
4
+ * HistogramChart — Vue port of React `chart-bar.tsx` histogram variant.
5
+ * Rendered inside the parent chart `<svg>` (emits a `<g>` group).
6
+ * Contiguous bars with no gaps, from a single series.
7
+ */
8
+ type __VLS_Props = {
9
+ chartData: PptxChartData;
10
+ layout: PlotLayout;
11
+ range: ValueRange;
12
+ categories: ReadonlyArray<string>;
13
+ };
14
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ //# sourceMappingURL=HistogramChart.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HistogramChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/HistogramChart.vue"],"names":[],"mappings":"AA6FA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIjE;;;;GAIG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,UAAU,CAAC;IAClB,UAAU,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAClC,CAAC;AAoGF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,15 @@
1
+ import { PptxChartData } from 'pptx-viewer-core';
2
+ import { PlotLayout } from 'pptx-viewer-shared';
3
+ /**
4
+ * RadarChart — Vue port of React `chart-radar.tsx`.
5
+ * Rendered inside the parent chart `<svg>` (emits a `<g>` group).
6
+ */
7
+ type __VLS_Props = {
8
+ chartData: PptxChartData;
9
+ layout: PlotLayout;
10
+ categories: ReadonlyArray<string>;
11
+ };
12
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ //# sourceMappingURL=RadarChart.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadarChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/RadarChart.vue"],"names":[],"mappings":"AA8MA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIrD;;;GAGG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,UAAU,CAAC;IACnB,UAAU,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAClC,CAAC;AAmOF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,15 @@
1
+ import { PptxChartData } from 'pptx-viewer-core';
2
+ import { PlotLayout, ValueRange } from 'pptx-viewer-shared';
3
+ /**
4
+ * ScatterChart — Vue port of React `chart-scatter-bubble.tsx` scatter variant.
5
+ * Rendered inside the parent chart `<svg>` (emits a `<g>` group).
6
+ */
7
+ type __VLS_Props = {
8
+ chartData: PptxChartData;
9
+ layout: PlotLayout;
10
+ range: ValueRange;
11
+ };
12
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ //# sourceMappingURL=ScatterChart.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScatterChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/ScatterChart.vue"],"names":[],"mappings":"AAkFA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIjE;;;GAGG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,UAAU,CAAC;CAClB,CAAC;AA2FF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,17 @@
1
+ import { PptxChartData } from 'pptx-viewer-core';
2
+ import { PlotLayout, ValueRange } from 'pptx-viewer-shared';
3
+ /**
4
+ * StockChart — Vue port of React `chart-stock.tsx`.
5
+ * Rendered inside the parent chart `<svg>` (emits a `<g>` group).
6
+ * Supports 3-series (H/L/C) and 4-series (O/H/L/C) OHLC candlestick charts.
7
+ */
8
+ type __VLS_Props = {
9
+ chartData: PptxChartData;
10
+ layout: PlotLayout;
11
+ range: ValueRange;
12
+ categories: ReadonlyArray<string>;
13
+ };
14
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ //# sourceMappingURL=StockChart.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StockChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/StockChart.vue"],"names":[],"mappings":"AAkIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIjE;;;;GAIG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,UAAU,CAAC;IAClB,UAAU,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAClC,CAAC;AAsIF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,15 @@
1
+ import { PptxChartData } from 'pptx-viewer-core';
2
+ import { PlotLayout } from 'pptx-viewer-shared';
3
+ /**
4
+ * SunburstChart — Vue port of React `chart-sunburst-funnel.tsx` sunburst variant.
5
+ * Rendered inside the parent chart `<svg>` (emits a `<g>` group).
6
+ * Draws concentric arc rings, one per series.
7
+ */
8
+ type __VLS_Props = {
9
+ chartData: PptxChartData;
10
+ layout: PlotLayout;
11
+ };
12
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ //# sourceMappingURL=SunburstChart.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SunburstChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/SunburstChart.vue"],"names":[],"mappings":"AAqFA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIrD;;;;GAIG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,UAAU,CAAC;CACnB,CAAC;AA4FF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,16 @@
1
+ import { PptxChartData } from 'pptx-viewer-core';
2
+ import { PlotLayout } from 'pptx-viewer-shared';
3
+ /**
4
+ * TreemapChart — Vue port of React `chart-surface-treemap.tsx` treemap variant.
5
+ * Rendered inside the parent chart `<svg>` (emits a `<g>` group).
6
+ * Uses a greedy horizontal/vertical cut layout.
7
+ */
8
+ type __VLS_Props = {
9
+ chartData: PptxChartData;
10
+ layout: PlotLayout;
11
+ categories: ReadonlyArray<string>;
12
+ };
13
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ //# sourceMappingURL=TreemapChart.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TreemapChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/TreemapChart.vue"],"names":[],"mappings":"AAgHA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIrD;;;;GAIG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,UAAU,CAAC;IACnB,UAAU,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAClC,CAAC;AAwHF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,16 @@
1
+ import { PptxChartData } from 'pptx-viewer-core';
2
+ import { PlotLayout, ValueRange } from 'pptx-viewer-shared';
3
+ /**
4
+ * WaterfallChart — Vue port of React `chart-waterfall-combo.tsx` waterfall variant.
5
+ * Rendered inside the parent chart `<svg>` (emits a `<g>` group).
6
+ */
7
+ type __VLS_Props = {
8
+ chartData: PptxChartData;
9
+ layout: PlotLayout;
10
+ range: ValueRange;
11
+ categories: ReadonlyArray<string>;
12
+ };
13
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ //# sourceMappingURL=WaterfallChart.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WaterfallChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/WaterfallChart.vue"],"names":[],"mappings":"AAqIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIjE;;;GAGG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,UAAU,CAAC;IAClB,UAAU,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAClC,CAAC;AAgJF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Connector routing helpers for the Vue viewer.
3
+ *
4
+ * Thin framework-agnostic wrappers around the core connector geometry engine.
5
+ * Designed so this file can be extracted to `pptx-viewer-shared` later without
6
+ * any Vue-specific entanglement.
7
+ *
8
+ * For connector path geometry (bent / curved / straight) we delegate directly
9
+ * to the core's `getConnectorPathGeometry` — no re-implementation needed.
10
+ * We add the compound-line helpers (parallel stroke offsets / widths) which
11
+ * live in the React renderer today but are framework-agnostic.
12
+ */
13
+ export { getConnectorPathGeometry, getConnectorAdjustment } from 'pptx-viewer-core';
14
+ export type { ConnectorPathGeometry } from 'pptx-viewer-core';
15
+ /** OOXML compound line token type. */
16
+ export type CompoundLineType = 'sng' | 'dbl' | 'thickThin' | 'thinThick' | 'tri';
17
+ /**
18
+ * Compute perpendicular offsets for compound (double/triple) line styles.
19
+ * Returns an array of Y-axis offset distances from the centre line in px.
20
+ * A single-line style returns `[0]`.
21
+ *
22
+ * @param compoundLine - OOXML `a:ln/@cmpd` value (e.g. `"dbl"`, `"tri"`).
23
+ * @param strokeWidth - The resolved stroke width in pixels.
24
+ */
25
+ export declare function getCompoundLineOffsets(compoundLine: string | undefined, strokeWidth: number): number[];
26
+ /**
27
+ * Compute individual stroke widths for each parallel path in a compound line.
28
+ * The array length matches the one returned by {@link getCompoundLineOffsets}.
29
+ *
30
+ * @param compoundLine - OOXML `a:ln/@cmpd` value.
31
+ * @param strokeWidth - The resolved stroke width in pixels.
32
+ */
33
+ export declare function getCompoundLineWidths(compoundLine: string | undefined, strokeWidth: number): number[];
34
+ /**
35
+ * Determine whether a connector shapeType requires multi-segment (path)
36
+ * rendering rather than a simple `<line>` element.
37
+ *
38
+ * @param shapeType - The `shapeType` string from the element (may be undefined).
39
+ */
40
+ export declare function connectorNeedsPath(shapeType: string | undefined): boolean;
41
+ //# sourceMappingURL=connector-routing.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connector-routing.d.ts","sourceRoot":"","sources":["../../../src/viewer/composables/connector-routing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AACpF,YAAY,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAI9D,sCAAsC;AACtC,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,KAAK,GAAG,WAAW,GAAG,WAAW,GAAG,KAAK,CAAC;AAEjF;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CACrC,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,WAAW,EAAE,MAAM,GACjB,MAAM,EAAE,CAkBV;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACpC,YAAY,EAAE,MAAM,GAAG,SAAS,EAChC,WAAW,EAAE,MAAM,GACjB,MAAM,EAAE,CAkBV;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAMzE"}