pptx-vue-viewer 1.1.13 → 1.1.15
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/index.cjs +1 -1
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.js +1 -1
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/viewer/PowerPointViewer.vue.d.ts.map +1 -1
- package/dist/viewer/components/ChartRenderer.vue.d.ts +19 -18
- package/dist/viewer/components/ChartRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/ConnectorRenderer.vue.d.ts +17 -9
- package/dist/viewer/components/ConnectorRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/ConnectorTextOverlay.vue.d.ts +26 -0
- package/dist/viewer/components/ConnectorTextOverlay.vue.d.ts.map +1 -0
- package/dist/viewer/components/SmartArtRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/TableRenderer.vue.d.ts +17 -5
- package/dist/viewer/components/TableRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/chart/BoxWhiskerChart.vue.d.ts +17 -0
- package/dist/viewer/components/chart/BoxWhiskerChart.vue.d.ts.map +1 -0
- package/dist/viewer/components/chart/BubbleChart.vue.d.ts +16 -0
- package/dist/viewer/components/chart/BubbleChart.vue.d.ts.map +1 -0
- package/dist/viewer/components/chart/ChartTrendlines.vue.d.ts +28 -0
- package/dist/viewer/components/chart/ChartTrendlines.vue.d.ts.map +1 -0
- package/dist/viewer/components/chart/ComboChart.vue.d.ts +17 -0
- package/dist/viewer/components/chart/ComboChart.vue.d.ts.map +1 -0
- package/dist/viewer/components/chart/FunnelChart.vue.d.ts +15 -0
- package/dist/viewer/components/chart/FunnelChart.vue.d.ts.map +1 -0
- package/dist/viewer/components/chart/HistogramChart.vue.d.ts +17 -0
- package/dist/viewer/components/chart/HistogramChart.vue.d.ts.map +1 -0
- package/dist/viewer/components/chart/RadarChart.vue.d.ts +15 -0
- package/dist/viewer/components/chart/RadarChart.vue.d.ts.map +1 -0
- package/dist/viewer/components/chart/RegionMapChart.vue.d.ts +17 -0
- package/dist/viewer/components/chart/RegionMapChart.vue.d.ts.map +1 -0
- package/dist/viewer/components/chart/ScatterChart.vue.d.ts +15 -0
- package/dist/viewer/components/chart/ScatterChart.vue.d.ts.map +1 -0
- package/dist/viewer/components/chart/StockChart.vue.d.ts +17 -0
- package/dist/viewer/components/chart/StockChart.vue.d.ts.map +1 -0
- package/dist/viewer/components/chart/SunburstChart.vue.d.ts +15 -0
- package/dist/viewer/components/chart/SunburstChart.vue.d.ts.map +1 -0
- package/dist/viewer/components/chart/SurfaceChart.vue.d.ts +25 -0
- package/dist/viewer/components/chart/SurfaceChart.vue.d.ts.map +1 -0
- package/dist/viewer/components/chart/TreemapChart.vue.d.ts +16 -0
- package/dist/viewer/components/chart/TreemapChart.vue.d.ts.map +1 -0
- package/dist/viewer/components/chart/WaterfallChart.vue.d.ts +16 -0
- package/dist/viewer/components/chart/WaterfallChart.vue.d.ts.map +1 -0
- package/dist/viewer/composables/connector-routing.d.ts +41 -0
- package/dist/viewer/composables/connector-routing.d.ts.map +1 -0
- package/dist/viewer/composables/smartart-layout.d.ts +190 -0
- package/dist/viewer/composables/smartart-layout.d.ts.map +1 -0
- package/dist/viewer/composables/table-theme.d.ts +26 -0
- package/dist/viewer/composables/table-theme.d.ts.map +1 -0
- package/dist/viewer/composables/useLoadContent.d.ts +7 -1
- package/dist/viewer/composables/useLoadContent.d.ts.map +1 -1
- package/dist/viewer/index.cjs +1 -1
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.js +1 -1
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-DOKNVF1b.js → viewer-Bpxq5Oc5.js} +4645 -1923
- package/dist/viewer-Bpxq5Oc5.js.br +0 -0
- package/dist/viewer-Bpxq5Oc5.js.gz +0 -0
- package/dist/{viewer-QVDbby6z.cjs → viewer-y-czgCly.cjs} +5489 -2768
- package/dist/viewer-y-czgCly.cjs.br +0 -0
- package/dist/viewer-y-czgCly.cjs.gz +0 -0
- package/package.json +1 -1
- package/dist/viewer-DOKNVF1b.js.br +0 -0
- package/dist/viewer-DOKNVF1b.js.gz +0 -0
- package/dist/viewer-QVDbby6z.cjs.br +0 -0
- package/dist/viewer-QVDbby6z.cjs.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-
|
|
2
|
+
const e = require("./viewer-y-czgCly.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-
|
|
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-Bpxq5Oc5.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":"
|
|
1
|
+
{"version":3,"file":"PowerPointViewer.vue.d.ts","sourceRoot":"","sources":["../../src/viewer/PowerPointViewer.vue"],"names":[],"mappings":"AA4xCA,OAAO,KAAK,EACX,mBAAmB,EAEnB,sBAAsB,EACtB,qBAAqB,EACrB,MAAM,SAAS,CAAC;AAs9DjB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;6EAKhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -3,31 +3,32 @@ 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
|
|
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`
|
|
23
|
+
* - surface — isometric SVG mesh (`SurfaceChart.vue`)
|
|
24
|
+
* - regionMap — choropleth map (`RegionMapChart.vue`)
|
|
25
|
+
* - trendlines (regression overlays) — React `chart-trendlines.tsx`
|
|
12
26
|
* - chrome (title, axes, gridlines, legend, data labels) — `chart-chrome.tsx`
|
|
13
27
|
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* //
|
|
17
|
-
* //
|
|
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)
|
|
26
|
-
* // 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
|
-
* // TODO(vue): port trendlines + overlay lines (React chart-overlays/-trendlines)
|
|
30
|
-
* // TODO(vue): port secondary axes + data tables + log/display-unit axes
|
|
28
|
+
* Remaining TODOs:
|
|
29
|
+
* // TODO(vue): port secondary axes (right-hand value axis for series on a
|
|
30
|
+
* // second axisId) + data tables. Log/display-unit value axes are also not
|
|
31
|
+
* // yet honoured — the value axis is always linear.
|
|
31
32
|
*/
|
|
32
33
|
type __VLS_Props = {
|
|
33
34
|
element: PptxElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ChartRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChartRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ChartRenderer.vue"],"names":[],"mappings":"AAi/BA,OAAO,KAAK,EAAgC,WAAW,EAAE,MAAM,kBAAkB,CAAC;AA+BlF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;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;AAooCF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,16 +1,24 @@
|
|
|
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
|
|
7
|
-
* bounding box, with stroke colour/width/dash
|
|
8
|
-
*
|
|
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
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
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
|
+
* Connector labels (a non-empty `<p:txBody>` on the connector) render via the
|
|
19
|
+
* {@link ConnectorTextOverlay} child, centred over the bounding box.
|
|
20
|
+
*
|
|
21
|
+
* Not yet ported (TODO, see PORTING.md): line shadows/glow effects.
|
|
14
22
|
*/
|
|
15
23
|
type __VLS_Props = {
|
|
16
24
|
element: PptxElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectorRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ConnectorRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConnectorRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ConnectorRenderer.vue"],"names":[],"mappings":"AAoSA,OAAO,KAAK,EAAsB,WAAW,EAA0B,MAAM,kBAAkB,CAAC;AAchG;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CACf,CAAC;AAmUF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { TextSegment, TextStyle } from 'pptx-viewer-core';
|
|
2
|
+
/**
|
|
3
|
+
* ConnectorTextOverlay — Vue port of the React `ConnectorTextOverlay`.
|
|
4
|
+
*
|
|
5
|
+
* Renders a connector's label text centred over its bounding box. PowerPoint
|
|
6
|
+
* lets authors attach a text run to a connector (`<p:cxnSp>` with a non-empty
|
|
7
|
+
* `<p:txBody>`); the label is painted on top of the connector path, centred
|
|
8
|
+
* both horizontally and vertically within the element box.
|
|
9
|
+
*
|
|
10
|
+
* The overlay is a plain absolutely-positioned flex container (not part of the
|
|
11
|
+
* SVG) so per-segment rich text renders with normal HTML text layout. It is
|
|
12
|
+
* `pointer-events: none` so it never intercepts selection / hit-testing on the
|
|
13
|
+
* connector beneath it.
|
|
14
|
+
*/
|
|
15
|
+
type __VLS_Props = {
|
|
16
|
+
/** Trimmed plain-text label (empty → nothing rendered). */
|
|
17
|
+
text: string;
|
|
18
|
+
/** Per-run styled segments (empty → nothing rendered). */
|
|
19
|
+
segments: readonly TextSegment[] | undefined;
|
|
20
|
+
/** Paragraph-level text style (alignment, default font, colour). */
|
|
21
|
+
textStyle?: TextStyle;
|
|
22
|
+
};
|
|
23
|
+
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>;
|
|
24
|
+
declare const _default: typeof __VLS_export;
|
|
25
|
+
export default _default;
|
|
26
|
+
//# sourceMappingURL=ConnectorTextOverlay.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConnectorTextOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ConnectorTextOverlay.vue"],"names":[],"mappings":"AA8GA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAI/D;;;;;;;;;;;;GAYG;AACH,KAAK,WAAW,GAAG;IAClB,2DAA2D;IAC3D,IAAI,EAAE,MAAM,CAAC;IACb,0DAA0D;IAC1D,QAAQ,EAAE,SAAS,WAAW,EAAE,GAAG,SAAS,CAAC;IAC7C,oEAAoE;IACpE,SAAS,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAoGF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SmartArtRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/SmartArtRenderer.vue"],"names":[],"mappings":"
|
|
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.
|
|
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":"
|
|
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,28 @@
|
|
|
1
|
+
import { PptxChartData } from 'pptx-viewer-core';
|
|
2
|
+
import { PlotLayout, ValueRange } from 'pptx-viewer-shared';
|
|
3
|
+
/**
|
|
4
|
+
* ChartTrendlines — Vue port of the React `renderTrendlines`
|
|
5
|
+
* (`viewer/utils/chart-trendlines.tsx`).
|
|
6
|
+
*
|
|
7
|
+
* Renders the per-series regression trendlines (linear / exponential /
|
|
8
|
+
* logarithmic / power / polynomial / moving-average) as dashed SVG `<path>`
|
|
9
|
+
* overlays, optionally annotated with the equation and/or R² value when the
|
|
10
|
+
* trendline requests it. Emits a `<g>` group meant to sit on TOP of the plot
|
|
11
|
+
* inside the parent chart `<svg>`.
|
|
12
|
+
*
|
|
13
|
+
* The regression maths lives in the framework-agnostic
|
|
14
|
+
* `computeChartTrendlines` helper so React, Vue, and Angular share it.
|
|
15
|
+
*/
|
|
16
|
+
type __VLS_Props = {
|
|
17
|
+
chartData: PptxChartData;
|
|
18
|
+
layout: PlotLayout;
|
|
19
|
+
range: ValueRange;
|
|
20
|
+
/** 'bar' for bar/column/stacked plots, 'line' for line/area plots. */
|
|
21
|
+
mode: 'line' | 'bar';
|
|
22
|
+
styleId?: number;
|
|
23
|
+
colorPalette?: string[];
|
|
24
|
+
};
|
|
25
|
+
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>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
28
|
+
//# sourceMappingURL=ChartTrendlines.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChartTrendlines.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/ChartTrendlines.vue"],"names":[],"mappings":"AAoEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAuB,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAItF;;;;;;;;;;;;GAYG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,UAAU,CAAC;IACnB,KAAK,EAAE,UAAU,CAAC;IAClB,sEAAsE;IACtE,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB,CAAC;AAkEF,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,17 @@
|
|
|
1
|
+
import { PptxChartData } from 'pptx-viewer-core';
|
|
2
|
+
import { PlotLayout } from 'pptx-viewer-shared';
|
|
3
|
+
/**
|
|
4
|
+
* RegionMapChart — Vue port of React `chart-map.tsx` choropleth map renderer.
|
|
5
|
+
* Rendered inside the parent chart `<svg>` as a `<g>` group.
|
|
6
|
+
* Uses a 1000x500 coordinate system for region outlines and scales them
|
|
7
|
+
* to fit the available layout area.
|
|
8
|
+
*/
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
chartData: PptxChartData;
|
|
11
|
+
layout: PlotLayout;
|
|
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=RegionMapChart.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RegionMapChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/RegionMapChart.vue"],"names":[],"mappings":"AA0kBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIrD;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IAClB,SAAS,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,UAAU,CAAC;IACnB,UAAU,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;CAClC,CAAC;AAkpBF,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,25 @@
|
|
|
1
|
+
import { PptxChartData } from 'pptx-viewer-core';
|
|
2
|
+
import { PlotLayout, ValueRange } from 'pptx-viewer-shared';
|
|
3
|
+
/**
|
|
4
|
+
* SurfaceChart — Vue port of the isometric SVG surface renderer from
|
|
5
|
+
* `packages/react/src/viewer/utils/chart-surface-treemap.tsx`.
|
|
6
|
+
*
|
|
7
|
+
* Renders both `surface` and `surface3D` chart types as an isometric/2.5D
|
|
8
|
+
* SVG mesh of filled parallelogram quads, colour-banded by data value.
|
|
9
|
+
* Emits a `<g>` group meant to sit INSIDE the parent chart `<svg>`.
|
|
10
|
+
*
|
|
11
|
+
* For grids with at least 2 series × 2 categories, draws an isometric
|
|
12
|
+
* projection (painter's algorithm, back-to-front). For degenerate grids
|
|
13
|
+
* (single series or single category), falls back to a flat 2-D colour-mapped
|
|
14
|
+
* heat grid.
|
|
15
|
+
*/
|
|
16
|
+
type __VLS_Props = {
|
|
17
|
+
chartData: PptxChartData;
|
|
18
|
+
layout: PlotLayout;
|
|
19
|
+
range: ValueRange;
|
|
20
|
+
categories: ReadonlyArray<string>;
|
|
21
|
+
};
|
|
22
|
+
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>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
25
|
+
//# sourceMappingURL=SurfaceChart.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SurfaceChart.vue.d.ts","sourceRoot":"","sources":["../../../../src/viewer/components/chart/SurfaceChart.vue"],"names":[],"mappings":"AAiQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGjE;;;;;;;;;;;;GAYG;AAEH,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;AAiQF,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"}
|