ooxml-ui 1.1.0 → 1.3.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/README.md +38 -36
- package/custom-elements.json +372 -4
- package/dist/chrome/ruler.d.ts +60 -2
- package/dist/chrome/ruler.d.ts.map +1 -1
- package/dist/chrome/status-bar.d.ts +3 -1
- package/dist/chrome/status-bar.d.ts.map +1 -1
- package/dist/{chunk-JFJXBYRD.js → chunk-2WLRFPMW.js} +9 -0
- package/dist/{chunk-X7RINDJQ.js → chunk-56A2JK63.js} +1 -1
- package/dist/{chunk-KVKKXRL7.js → chunk-5OFAJDMQ.js} +93 -14
- package/dist/{chunk-M5DTJSOV.js → chunk-723JC3OC.js} +461 -16
- package/dist/{chunk-USDLALB5.js → chunk-IY7QJLQG.js} +1 -1
- package/dist/{chunk-BOX43CZD.js → chunk-M6GF5ED2.js} +2 -1
- package/dist/{chunk-BEN3453I.js → chunk-NYRRH2MD.js} +1 -1
- package/dist/{chunk-3FPW7M6U.js → chunk-TWQ45BFL.js} +1 -1
- package/dist/{chunk-ZU7GX4SY.js → chunk-V6P6KZCO.js} +7 -5
- package/dist/comments/comments-pane.d.ts +116 -0
- package/dist/comments/comments-pane.d.ts.map +1 -0
- package/dist/comments/types.d.ts +80 -0
- package/dist/comments/types.d.ts.map +1 -0
- package/dist/controls.d.ts +6 -2
- package/dist/controls.d.ts.map +1 -1
- package/dist/controls.js +5 -5
- package/dist/docx/comments-panel.d.ts +8 -1
- package/dist/docx/editor-chrome.d.ts +8 -1
- package/dist/docx/file-commands.d.ts +1 -1
- package/dist/docx/image-media.d.ts +1 -1
- package/dist/docx/locales/en-app.d.ts +1 -0
- package/dist/docx/locales/en-ribbon.d.ts +1 -0
- package/dist/docx/locales/en.d.ts +2 -0
- package/dist/docx/localization-strings.d.ts +2 -0
- package/dist/docx/localization.d.ts +7 -0
- package/dist/docx/print-layout.d.ts +2 -2
- package/dist/docx/print-picture.d.ts +12 -0
- package/dist/docx/review-controller.d.ts +2 -0
- package/dist/docx/ribbon-actions.d.ts +22 -0
- package/dist/docx/ruler.d.ts +7 -10
- package/dist/docx/title-bar.d.ts +3 -5
- package/dist/docx.js +342 -362
- package/dist/form/gradient-preset-gallery.d.ts +2 -2
- package/dist/icons.d.ts.map +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -9
- package/dist/pptx/{chart-3d-view-scene-2KRQ5667.mjs → chart-3d-view-scene-OYJ4CDCO.mjs} +4 -5
- package/dist/pptx/{chart-3d-view-scene-36DMZWZ3.cjs → chart-3d-view-scene-SE2Y6QRE.cjs} +38 -39
- package/dist/pptx/{chunk-YOGDIDPB.mjs → chunk-CIVA3MLN.mjs} +8 -2
- package/dist/pptx/{chunk-KPZWYF44.cjs → chunk-FPE5PZMI.cjs} +789 -491
- package/dist/pptx/{chunk-AIL3BNZS.cjs → chunk-IURZJAWP.cjs} +529 -387
- package/dist/pptx/{chunk-YHA6XAB3.cjs → chunk-KRMMJUCO.cjs} +83 -1
- package/dist/pptx/{chunk-Y2W4SZER.mjs → chunk-MWHGUEIJ.mjs} +637 -348
- package/dist/pptx/{chunk-YARCML7O.mjs → chunk-STLXPKJJ.mjs} +519 -388
- package/dist/pptx/{chunk-ADOC5JLI.mjs → chunk-TC7HCF5M.mjs} +76 -2
- package/dist/pptx/{chunk-CJU4P5FT.cjs → chunk-WKLHJEPD.cjs} +18 -12
- package/dist/pptx/dom/element-styles.d.ts.map +1 -1
- package/dist/pptx/dom/elements/chart.d.ts +2 -3
- package/dist/pptx/dom/elements/chart.d.ts.map +1 -1
- package/dist/pptx/dom/elements/connector.d.ts.map +1 -1
- package/dist/pptx/dom/elements/shape-filter-defs.d.ts.map +1 -1
- package/dist/pptx/dom/elements/table.d.ts.map +1 -1
- package/dist/pptx/dom/index.cjs +272 -261
- package/dist/pptx/dom/index.mjs +46 -35
- package/dist/pptx/dom/slide-stage.d.ts.map +1 -1
- package/dist/pptx/export/html2canvas-clone.cjs +2 -2
- package/dist/pptx/export/html2canvas-clone.mjs +1 -1
- package/dist/pptx/index.cjs +3065 -2993
- package/dist/pptx/index.mjs +4 -4
- package/dist/pptx/render/chart-3d-oblique-layout.d.ts.map +1 -1
- package/dist/pptx/render/chart-3d-persp-bars.d.ts.map +1 -1
- package/dist/pptx/render/chart-3d-persp-layout.d.ts.map +1 -1
- package/dist/pptx/render/chart-axis-range.d.ts +7 -0
- package/dist/pptx/render/chart-axis-range.d.ts.map +1 -1
- package/dist/pptx/render/chart-axis-render.d.ts +3 -1
- package/dist/pptx/render/chart-axis-render.d.ts.map +1 -1
- package/dist/pptx/render/chart-axis-style.d.ts +5 -0
- package/dist/pptx/render/chart-axis-style.d.ts.map +1 -1
- package/dist/pptx/render/chart-axis.d.ts +1 -1
- package/dist/pptx/render/chart-axis.d.ts.map +1 -1
- package/dist/pptx/render/chart-bar-cluster-geometry.d.ts +1 -1
- package/dist/pptx/render/chart-bar-cluster-geometry.d.ts.map +1 -1
- package/dist/pptx/render/chart-cartesian-area.d.ts.map +1 -1
- package/dist/pptx/render/chart-cartesian-axes.d.ts.map +1 -1
- package/dist/pptx/render/chart-cartesian-bars.d.ts +3 -3
- package/dist/pptx/render/chart-cartesian-line-area.d.ts.map +1 -1
- package/dist/pptx/render/chart-cartesian-percent-stacked.d.ts.map +1 -1
- package/dist/pptx/render/chart-cartesian-stacked-labels.d.ts +11 -7
- package/dist/pptx/render/chart-cartesian-stacked-labels.d.ts.map +1 -1
- package/dist/pptx/render/chart-cartesian.d.ts.map +1 -1
- package/dist/pptx/render/chart-combo-stock.cjs +3 -3
- package/dist/pptx/render/chart-combo-stock.mjs +1 -1
- package/dist/pptx/render/chart-combo.d.ts.map +1 -1
- package/dist/pptx/render/chart-data-label-anchor.d.ts +4 -1
- package/dist/pptx/render/chart-data-label-anchor.d.ts.map +1 -1
- package/dist/pptx/render/chart-gridlines-toggle.d.ts +13 -1
- package/dist/pptx/render/chart-gridlines-toggle.d.ts.map +1 -1
- package/dist/pptx/render/chart-helpers.d.ts +13 -13
- package/dist/pptx/render/chart-helpers.d.ts.map +1 -1
- package/dist/pptx/render/chart-horizontal-bars-helpers.d.ts +7 -3
- package/dist/pptx/render/chart-horizontal-bars-helpers.d.ts.map +1 -1
- package/dist/pptx/render/chart-horizontal-bars.d.ts.map +1 -1
- package/dist/pptx/render/chart-interaction-stacked.d.ts.map +1 -1
- package/dist/pptx/render/chart-line-path.d.ts +9 -0
- package/dist/pptx/render/chart-line-path.d.ts.map +1 -1
- package/dist/pptx/render/chart-overlays.cjs +7 -7
- package/dist/pptx/render/chart-overlays.mjs +1 -1
- package/dist/pptx/render/chart-palette.d.ts +5 -14
- package/dist/pptx/render/chart-palette.d.ts.map +1 -1
- package/dist/pptx/render/chart-plot-clip.d.ts +37 -0
- package/dist/pptx/render/chart-plot-clip.d.ts.map +1 -0
- package/dist/pptx/render/chart-quick-action-styles.d.ts +5 -3
- package/dist/pptx/render/chart-quick-action-styles.d.ts.map +1 -1
- package/dist/pptx/render/chart-scatter-x-axis.d.ts.map +1 -1
- package/dist/pptx/render/chart-style-palette.d.ts +52 -0
- package/dist/pptx/render/chart-style-palette.d.ts.map +1 -0
- package/dist/pptx/render/chart-surface-treemap.cjs +4 -4
- package/dist/pptx/render/chart-surface-treemap.mjs +1 -1
- package/dist/pptx/render/chart-view-model-bars.d.ts +32 -1
- package/dist/pptx/render/chart-view-model-bars.d.ts.map +1 -1
- package/dist/pptx/render/chart-view-model-build.d.ts.map +1 -1
- package/dist/pptx/render/chart-view-model.cjs +53 -41
- package/dist/pptx/render/chart-view-model.mjs +1 -1
- package/dist/pptx/render/chart-waterfall-map.cjs +6 -6
- package/dist/pptx/render/chart-waterfall-map.mjs +1 -1
- package/dist/pptx/render/device-pixel-stroke.d.ts +101 -0
- package/dist/pptx/render/device-pixel-stroke.d.ts.map +1 -0
- package/dist/pptx/render/export-clone.d.ts +4 -0
- package/dist/pptx/render/export-clone.d.ts.map +1 -1
- package/dist/pptx/render/foreign-object-svg-document.d.ts +12 -0
- package/dist/pptx/render/foreign-object-svg-document.d.ts.map +1 -1
- package/dist/pptx/render/index.d.ts +3 -0
- package/dist/pptx/render/index.d.ts.map +1 -1
- package/dist/pptx/render/stroke-outline.d.ts +6 -0
- package/dist/pptx/render/stroke-outline.d.ts.map +1 -1
- package/dist/pptx/render/stroke-style.d.ts +8 -2
- package/dist/pptx/render/stroke-style.d.ts.map +1 -1
- package/dist/pptx/render/tab-row-actions.d.ts +40 -0
- package/dist/pptx/render/tab-row-actions.d.ts.map +1 -0
- package/dist/pptx/render/table-cell-css.d.ts +3 -2
- package/dist/pptx/render/table-cell-css.d.ts.map +1 -1
- package/dist/pptx/render/table-cell-edit.d.ts +1 -1
- package/dist/pptx/render/table-cell-edit.d.ts.map +1 -1
- package/dist/pptx/render/table-cell-paragraphs.d.ts +29 -0
- package/dist/pptx/render/table-cell-paragraphs.d.ts.map +1 -0
- package/dist/pptx/render/table-style-borders.d.ts.map +1 -1
- package/dist/pptx/render/table-style.d.ts +2 -0
- package/dist/pptx/render/table-style.d.ts.map +1 -1
- package/dist/pptx/render/title-bar.d.ts +5 -0
- package/dist/pptx/render/title-bar.d.ts.map +1 -1
- package/dist/pptx/render/viewer-root-options.d.ts +11 -3
- package/dist/pptx/render/viewer-root-options.d.ts.map +1 -1
- package/dist/pptx/web-components/index.d.ts.map +1 -1
- package/dist/pptx/web-components/office-token-bridge.d.ts +1 -1
- package/dist/pptx/web-components/office-token-bridge.d.ts.map +1 -1
- package/dist/pptx/web-components/ribbon-actions.d.ts +8 -0
- package/dist/pptx/web-components/ribbon-actions.d.ts.map +1 -0
- package/dist/presence.js +3 -3
- package/dist/ribbon/ribbon-actions.d.ts +119 -0
- package/dist/ribbon/ribbon-actions.d.ts.map +1 -0
- package/dist/ribbon/ribbon-tabs.d.ts +2 -1
- package/dist/ribbon/ribbon-tabs.d.ts.map +1 -1
- package/dist/smartart/smartart-svg.d.ts +3 -2
- package/dist/smartart.js +3 -3
- package/dist/suite/attachment-store.d.ts +13 -0
- package/dist/suite/document-store.d.ts +31 -0
- package/dist/suite/index.d.ts +2 -0
- package/dist/suite.js +132 -1
- package/dist/teams/app/channel-tab.d.ts +5 -0
- package/dist/teams/chat-composer.d.ts +3 -0
- package/dist/teams.js +7 -7
- package/dist/theme.js +2 -2
- package/dist/tokens.d.ts +9 -0
- package/dist/tokens.d.ts.map +1 -1
- package/dist/visio/styles/index.d.ts +2 -0
- package/dist/visio/styles/theme.d.ts +11 -0
- package/dist/visio/styles.d.ts +2 -2
- package/dist/visio.js +66 -21
- package/dist/xlsx/backstage/index.d.ts +4 -1
- package/dist/xlsx/backstage/pages-share.d.ts +19 -0
- package/dist/xlsx/backstage/parts.d.ts +3 -0
- package/dist/xlsx/calc-preparation.d.ts +44 -0
- package/dist/xlsx/chart-fill-binding.d.ts +2 -2
- package/dist/xlsx/chart-series-gradient-type.d.ts +3 -2
- package/dist/xlsx/collaboration-session.d.ts +9 -0
- package/dist/xlsx/collaboration-types.d.ts +41 -0
- package/dist/xlsx/collaboration.d.ts +56 -0
- package/dist/xlsx/component.d.ts +8 -0
- package/dist/xlsx/dialogs/comments-list.d.ts +4 -0
- package/dist/xlsx/dialogs/help-dialogs.d.ts +1 -1
- package/dist/xlsx/editor-core.d.ts +6 -0
- package/dist/xlsx/element-api.d.ts +19 -1
- package/dist/xlsx/events.d.ts +4 -1
- package/dist/xlsx/grid/remote-layer.d.ts +3 -0
- package/dist/xlsx/grid/sparkline.d.ts +3 -0
- package/dist/xlsx/grid/styles.d.ts +1 -1
- package/dist/xlsx/index.d.ts +1 -0
- package/dist/xlsx/ribbon-actions.d.ts +22 -0
- package/dist/xlsx/shell-commands.d.ts +1 -1
- package/dist/xlsx/title-bar.d.ts +4 -2
- package/dist/xlsx.js +801 -92
- package/package.json +2 -2
- package/dist/pptx/web-components/status-bar-styles.d.ts +0 -3
- package/dist/pptx/web-components/status-bar-styles.d.ts.map +0 -1
- package/dist/pptx/web-components/title-bar-styles.d.ts +0 -7
- package/dist/pptx/web-components/title-bar-styles.d.ts.map +0 -1
|
@@ -60,8 +60,11 @@ export declare function resolveMarkerLabelAnchor(position: PptxChartDataLabelPos
|
|
|
60
60
|
* `c:dLbl/c:layout` manual drag. `frame` is the chart element's own pixel box
|
|
61
61
|
* (`layout.svgWidth` / `svgHeight` in every cartesian builder), which is what
|
|
62
62
|
* a manual layout's fractional coordinates are measured against.
|
|
63
|
+
* `defaultPosition` applies when no level authors a `c:dLblPos`: a stacked
|
|
64
|
+
* segment passes `ctr`, PowerPoint's default (and `outEnd` is not offered
|
|
65
|
+
* for stacked bars), while a clustered bar keeps the outside-end fallback.
|
|
63
66
|
*/
|
|
64
|
-
export declare function resolveBarLabelPlacement(chartData: PptxChartData, series: PptxChartSeries, pointIndex: number, rect: LabelAnchorRect, value: number, orientation: 'vertical' | 'horizontal', frame: ChartFrameSize): LabelAnchor;
|
|
67
|
+
export declare function resolveBarLabelPlacement(chartData: PptxChartData, series: PptxChartSeries, pointIndex: number, rect: LabelAnchorRect, value: number, orientation: 'vertical' | 'horizontal', frame: ChartFrameSize, defaultPosition?: PptxChartDataLabelPosition): LabelAnchor;
|
|
65
68
|
/**
|
|
66
69
|
* Full per-point placement pipeline for a line/area/scatter/bubble marker
|
|
67
70
|
* label: resolve `c:dLblPos`, anchor it against the marker point, then shift
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-data-label-anchor.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-data-label-anchor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,EACX,aAAa,EACb,kBAAkB,EAClB,0BAA0B,EAC1B,eAAe,EACf,MAAM,iBAAiB,CAAC;AAGzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE9E,yDAAyD;AACzD,MAAM,WAAW,eAAe;IAC/B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CACf;AAED,8EAA8E;AAC9E,MAAM,WAAW,WAAW;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,UAAU,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACvC,gBAAgB,CAAC,EAAE,SAAS,CAAC;CAC7B;AAED,oEAAoE;AACpE,wBAAgB,cAAc,CAC7B,MAAM,EAAE,eAAe,EACvB,UAAU,EAAE,MAAM,GAChB,kBAAkB,GAAG,SAAS,CAEhC;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CACnC,SAAS,EAAE,aAAa,EACxB,MAAM,EAAE,eAAe,EACvB,UAAU,EAAE,MAAM,GAChB,0BAA0B,GAAG,SAAS,CAMxC;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACpC,QAAQ,EAAE,0BAA0B,GAAG,SAAS,EAChD,IAAI,EAAE,eAAe,EACrB,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,UAAU,GAAG,YAAY,GACpC,WAAW,CAmEb;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACvC,QAAQ,EAAE,0BAA0B,GAAG,SAAS,EAChD,KAAK,EAAE,gBAAgB,EACvB,MAAM,SAAI,GACR,WAAW,CAyBb;AAED
|
|
1
|
+
{"version":3,"file":"chart-data-label-anchor.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-data-label-anchor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,EACX,aAAa,EACb,kBAAkB,EAClB,0BAA0B,EAC1B,eAAe,EACf,MAAM,iBAAiB,CAAC;AAGzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAE9E,yDAAyD;AACzD,MAAM,WAAW,eAAe;IAC/B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CACf;AAED,8EAA8E;AAC9E,MAAM,WAAW,WAAW;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,UAAU,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACvC,gBAAgB,CAAC,EAAE,SAAS,CAAC;CAC7B;AAED,oEAAoE;AACpE,wBAAgB,cAAc,CAC7B,MAAM,EAAE,eAAe,EACvB,UAAU,EAAE,MAAM,GAChB,kBAAkB,GAAG,SAAS,CAEhC;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CACnC,SAAS,EAAE,aAAa,EACxB,MAAM,EAAE,eAAe,EACvB,UAAU,EAAE,MAAM,GAChB,0BAA0B,GAAG,SAAS,CAMxC;AAED;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CACpC,QAAQ,EAAE,0BAA0B,GAAG,SAAS,EAChD,IAAI,EAAE,eAAe,EACrB,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,UAAU,GAAG,YAAY,GACpC,WAAW,CAmEb;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACvC,QAAQ,EAAE,0BAA0B,GAAG,SAAS,EAChD,KAAK,EAAE,gBAAgB,EACvB,MAAM,SAAI,GACR,WAAW,CAyBb;AAED;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CACvC,SAAS,EAAE,aAAa,EACxB,MAAM,EAAE,eAAe,EACvB,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,eAAe,EACrB,KAAK,EAAE,MAAM,EACb,WAAW,EAAE,UAAU,GAAG,YAAY,EACtC,KAAK,EAAE,cAAc,EACrB,eAAe,CAAC,EAAE,0BAA0B,GAC1C,WAAW,CAUb;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,2BAA2B,CAC1C,SAAS,EAAE,aAAa,EACxB,MAAM,EAAE,eAAe,EACvB,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,gBAAgB,EACvB,KAAK,EAAE,cAAc,EACrB,MAAM,SAAI,EACV,eAAe,CAAC,EAAE,0BAA0B,GAC1C,WAAW,CAUb"}
|
|
@@ -18,7 +18,14 @@
|
|
|
18
18
|
*
|
|
19
19
|
* @module render/chart-gridlines-toggle
|
|
20
20
|
*/
|
|
21
|
-
import type { PptxChartData } from 'ooxml-core/pptx';
|
|
21
|
+
import type { PptxChartAxisFormatting, PptxChartData } from 'ooxml-core/pptx';
|
|
22
|
+
/**
|
|
23
|
+
* Find the chart's primary (non-secondary) value axis: the one positioned
|
|
24
|
+
* "l" (left), or else the first `valAx` entry (a horizontal bar chart's
|
|
25
|
+
* value axis sits at the bottom). Mirrors `getPrimaryValueAxisId` in
|
|
26
|
+
* `chart-axis.ts`.
|
|
27
|
+
*/
|
|
28
|
+
export declare function primaryValueAxis(axes: PptxChartAxisFormatting[] | undefined): PptxChartAxisFormatting | undefined;
|
|
22
29
|
/**
|
|
23
30
|
* Whether the chart's primary value axis currently shows major gridlines.
|
|
24
31
|
*
|
|
@@ -36,6 +43,11 @@ import type { PptxChartData } from 'ooxml-core/pptx';
|
|
|
36
43
|
export declare function chartGridlinesState(chartData: PptxChartData): boolean;
|
|
37
44
|
/** Whether the cartesian renderer should draw primary major gridlines. */
|
|
38
45
|
export declare const shouldRenderMajorGridlines: typeof chartGridlinesState;
|
|
46
|
+
/**
|
|
47
|
+
* Whether one value axis draws major gridlines: a parsed axis follows its own
|
|
48
|
+
* `c:majorGridlines`; with no parsed axis, gridlines are drawn.
|
|
49
|
+
*/
|
|
50
|
+
export declare function axisShowsMajorGridlines(axis: PptxChartAxisFormatting | undefined): boolean;
|
|
39
51
|
/**
|
|
40
52
|
* Build a `Partial<PptxChartData>` patch that toggles major gridlines on the
|
|
41
53
|
* primary value axis, creating a minimal `valAx` entry when the chart's
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-gridlines-toggle.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-gridlines-toggle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"chart-gridlines-toggle.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-gridlines-toggle.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAE9E;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC/B,IAAI,EAAE,uBAAuB,EAAE,GAAG,SAAS,GACzC,uBAAuB,GAAG,SAAS,CAQrC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,aAAa,GAAG,OAAO,CAMrE;AAED,0EAA0E;AAC1E,eAAO,MAAM,0BAA0B,4BAAsB,CAAC;AAE9D;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,uBAAuB,GAAG,SAAS,GAAG,OAAO,CAE1F;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAClC,SAAS,EAAE,aAAa,EACxB,IAAI,EAAE,OAAO,GACX,OAAO,CAAC,aAAa,CAAC,CAexB"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import type { PptxChartData, PptxChartSeries, PptxChartStyle, PptxChartAxisFormatting } from 'ooxml-core/pptx';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Framework-agnostic chart helpers, a focused Vue port of the React package's
|
|
4
|
+
* `viewer/utils/chart-helpers.ts`, `chart-layout.ts`, and
|
|
5
|
+
* `chart-style-palettes.ts`.
|
|
4
6
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
* Get the colour palette for a chart style index (1–48). Falls back to the
|
|
15
|
-
* default palette when undefined or out of range.
|
|
7
|
+
* This module only covers the common-type renderers (bar / column / stacked /
|
|
8
|
+
* line / area / pie / doughnut) and the shared chrome. Advanced axis/overlay
|
|
9
|
+
* features (log axes, secondary axes, display units, trendlines, error bars,
|
|
10
|
+
* data tables) live in `chart-axis.ts` / `chart-axis-render.ts` /
|
|
11
|
+
* `chart-cartesian.ts` and are consumed via `chart/ChartViewModelSvg.vue`.
|
|
12
|
+
*
|
|
13
|
+
* These small pure helpers are an extraction candidate: long-term they (and
|
|
14
|
+
* their React counterparts) should live in a shared, framework-agnostic
|
|
15
|
+
* package so all three UI bindings reuse one implementation.
|
|
16
16
|
*/
|
|
17
|
-
export
|
|
17
|
+
export { DEFAULT_CHART_PALETTE, getChartStylePalette } from './chart-style-palette.js';
|
|
18
18
|
/**
|
|
19
19
|
* Resolve a series colour: explicit colour → marker fill → parsed palette →
|
|
20
20
|
* style palette. The marker fallback covers scatter series authored with
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-helpers.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,aAAa,EACb,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"chart-helpers.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,aAAa,EACb,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,MAAM,iBAAiB,CAAC;AASzB;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAEpF;;;;;;GAMG;AACH,wBAAgB,WAAW,CAC1B,MAAM,EAAE,eAAe,EACvB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,MAAM,EAChB,YAAY,CAAC,EAAE,MAAM,EAAE,GACrB,MAAM,CAUR;AAED,wFAAwF;AACxF,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAM7F;AAID,MAAM,WAAW,UAAU;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oFAAoF;IACpF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAChC,MAAM,EAAE,aAAa,CAAC,eAAe,CAAC,EACtC,YAAY,CAAC,EAAE,MAAM,GACnB,UAAU,CAWZ;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAa9F;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAexE;AAID,MAAM,WAAW,UAAU;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CAClB;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACpC,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAC5B,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,KAAK,EAAE,cAAc,GAAG,SAAS,EACjC,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,oBAAoB,GAC5B,UAAU,CAqDZ;AAID,0EAA0E;AAC1E,wBAAgB,mBAAmB,CAClC,IAAI,EAAE,uBAAuB,EAAE,GAAG,SAAS,GACzC,uBAAuB,GAAG,SAAS,CAQrC;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,aAAa,GAAG,MAAM,EAAE,CAMxE"}
|
|
@@ -5,12 +5,16 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @module chart-horizontal-bars-helpers
|
|
7
7
|
*/
|
|
8
|
-
import type { PptxChartData, PptxChartSeries } from 'ooxml-core/pptx';
|
|
8
|
+
import type { PptxChartAxisFormatting, PptxChartData, PptxChartSeries } from 'ooxml-core/pptx';
|
|
9
9
|
import type { PlotLayout, SvgLine, SvgText, ValueRange } from './chart-view-model.js';
|
|
10
10
|
/** Map a value onto the horizontal (x) axis: min at the left, max at the right. */
|
|
11
11
|
export declare function valueToX(val: number, range: ValueRange, leftX: number, rightX: number): number;
|
|
12
|
-
/**
|
|
13
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Vertical value gridlines + bottom tick labels (the transposed value axis).
|
|
14
|
+
* `showMajorGridlines` comes from `shouldRenderMajorGridlines`, as on the
|
|
15
|
+
* column engine; gridlines take their line from `c:majorGridlines/c:spPr`.
|
|
16
|
+
*/
|
|
17
|
+
export declare function buildTransposedValueAxis(range: ValueRange, layout: PlotLayout, axis?: PptxChartAxisFormatting, showMajorGridlines?: boolean): {
|
|
14
18
|
gridlines: SvgLine[];
|
|
15
19
|
axisLabels: SvgText[];
|
|
16
20
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-horizontal-bars-helpers.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-horizontal-bars-helpers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"chart-horizontal-bars-helpers.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-horizontal-bars-helpers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAM/F,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAWnF,mFAAmF;AACnF,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAa9F;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CACvC,KAAK,EAAE,UAAU,EACjB,MAAM,EAAE,UAAU,EAClB,IAAI,CAAC,EAAE,uBAAuB,EAC9B,kBAAkB,UAAO,GACvB;IAAE,SAAS,EAAE,OAAO,EAAE,CAAC;IAAC,UAAU,EAAE,OAAO,EAAE,CAAA;CAAE,CA8BjD;AAED,wEAAwE;AACxE,wBAAgB,uBAAuB,CACtC,cAAc,EAAE,aAAa,CAAC,MAAM,CAAC,EACrC,MAAM,EAAE,UAAU,GAChB,OAAO,EAAE,CAaX;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACvC,cAAc,EAAE,aAAa,CAAC,MAAM,CAAC,EACrC,QAAQ,EAAE,MAAM,GACd,MAAM,CAKR;AAED,uEAAuE;AACvE,wBAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,CAAC,eAAe,CAAC,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAIjG;AAED,4EAA4E;AAC5E,wBAAgB,OAAO,CACtB,SAAS,EAAE,aAAa,EACxB,MAAM,EAAE,eAAe,EACvB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GAChB,MAAM,CASR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-horizontal-bars.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-horizontal-bars.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"chart-horizontal-bars.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-horizontal-bars.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAiBlE,OAAO,KAAK,EACX,cAAc,EAMd,MAAM,oBAAoB,CAAC;AAY5B,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAE3D;;;GAGG;AACH,wBAAgB,2BAA2B,CAC1C,OAAO,EAAE,WAAW,EACpB,SAAS,EAAE,aAAa,EACxB,cAAc,EAAE,aAAa,CAAC,MAAM,CAAC,GACnC,cAAc,CAmOhB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-interaction-stacked.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-interaction-stacked.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"chart-interaction-stacked.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-interaction-stacked.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD,yFAAyF;AACzF,MAAM,WAAW,mBAAmB;IACnC,KAAK,EAAE,UAAU,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,4EAA4E;IAC5E,SAAS,EAAE,MAAM,CAAC;IAClB,wFAAwF;IACxF,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;CACjB;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CACvC,OAAO,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EAC1C,SAAS,EAAE,aAAa,EACxB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,MAAM,GAChB,mBAAmB,GAAG,IAAI,CA0C5B;AAED;;;;;;;;;GASG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAe/F"}
|
|
@@ -15,4 +15,13 @@ import type { LinePoint } from './chart-view-model.js';
|
|
|
15
15
|
* Returns a straight `M…L…` fallback for fewer than three points.
|
|
16
16
|
*/
|
|
17
17
|
export declare function smoothLinePath(points: ReadonlyArray<LinePoint>): string;
|
|
18
|
+
/**
|
|
19
|
+
* Flatten the curve {@link smoothLinePath} draws into a polyline of
|
|
20
|
+
* `stepsPerSegment` points per segment, so it can be clipped geometrically
|
|
21
|
+
* (`chart-plot-clip.ts`). Fewer than three points are returned as they are,
|
|
22
|
+
* since `smoothLinePath` draws those straight.
|
|
23
|
+
*/
|
|
24
|
+
export declare function sampleSmoothLine(points: ReadonlyArray<LinePoint>, stepsPerSegment?: number): LinePoint[];
|
|
25
|
+
/** An SVG path `d` drawing each run as its own straight-segment subpath. */
|
|
26
|
+
export declare function polylineRunsPath(runs: ReadonlyArray<ReadonlyArray<LinePoint>>): string;
|
|
18
27
|
//# sourceMappingURL=chart-line-path.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-line-path.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-line-path.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,CAAC,SAAS,CAAC,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"chart-line-path.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-line-path.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD;;;GAGG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,aAAa,CAAC,SAAS,CAAC,GAAG,MAAM,CAiBvE;AAkBD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAC/B,MAAM,EAAE,aAAa,CAAC,SAAS,CAAC,EAChC,eAAe,SAAK,GAClB,SAAS,EAAE,CA0Bb;AAED,4EAA4E;AAC5E,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,aAAa,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC,GAAG,MAAM,CAMtF"}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkIURZJAWP_cjs = require('../chunk-IURZJAWP.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "computeAxisTitlePrimitives", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkIURZJAWP_cjs.computeAxisTitlePrimitives; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "computeErrorBarPrimitives", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkIURZJAWP_cjs.computeErrorBarPrimitives; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "computeLinearRegression", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkIURZJAWP_cjs.computeLinearRegression; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "computeRSquared", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkIURZJAWP_cjs.computeRSquared; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "computeTrendlinePrimitives", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkIURZJAWP_cjs.computeTrendlinePrimitives; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "fitPolynomial", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkIURZJAWP_cjs.fitPolynomial; }
|
|
30
30
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { computeAxisTitlePrimitives, computeErrorBarPrimitives, computeLinearRegression, computeRSquared, computeTrendlinePrimitives, fitPolynomial } from '../chunk-
|
|
1
|
+
export { computeAxisTitlePrimitives, computeErrorBarPrimitives, computeLinearRegression, computeRSquared, computeTrendlinePrimitives, fitPolynomial } from '../chunk-STLXPKJJ.mjs';
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
* chart-palette.ts - colour-ramp helpers for chart styling.
|
|
3
3
|
*
|
|
4
4
|
* `tint` (lighten toward white) and `shade` (darken toward black) are the two
|
|
5
|
-
* primitive colour transforms behind the Office chart style-id palettes.
|
|
6
|
-
*
|
|
7
|
-
*
|
|
5
|
+
* primitive colour transforms behind the Office chart style-id palettes. They,
|
|
6
|
+
* the style-id → palette mapping (`getChartStylePalette`), the palette
|
|
7
|
+
* precedence (`resolveChartPalette`) and the default fallback palette
|
|
8
|
+
* (`DEFAULT_CHART_PALETTE`) live in `chart-style-palette.ts` and are
|
|
8
9
|
* re-exported here so a binding can pull the whole palette surface from one
|
|
9
10
|
* module.
|
|
10
11
|
*
|
|
@@ -12,15 +13,5 @@
|
|
|
12
13
|
*
|
|
13
14
|
* @module chart-palette
|
|
14
15
|
*/
|
|
15
|
-
export { DEFAULT_CHART_PALETTE, getChartStylePalette } from './chart-
|
|
16
|
-
/**
|
|
17
|
-
* Apply a tint (lighten towards white) to a colour.
|
|
18
|
-
* `amount` in [0, 1] where 0 = no change, 1 = white.
|
|
19
|
-
*/
|
|
20
|
-
export declare function tint(hex: string, amount: number): string;
|
|
21
|
-
/**
|
|
22
|
-
* Apply a shade (darken towards black) to a colour.
|
|
23
|
-
* `amount` in [0, 1] where 0 = no change, 1 = black.
|
|
24
|
-
*/
|
|
25
|
-
export declare function shade(hex: string, amount: number): string;
|
|
16
|
+
export { DEFAULT_CHART_PALETTE, getChartStylePalette, resolveChartPalette, shade, tint, } from './chart-style-palette.js';
|
|
26
17
|
//# sourceMappingURL=chart-palette.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-palette.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-palette.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"chart-palette.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-palette.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACN,qBAAqB,EACrB,oBAAoB,EACpB,mBAAmB,EACnB,KAAK,EACL,IAAI,GACJ,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { SvgPath, SvgPolyline } from './chart-svg-primitives.js';
|
|
2
|
+
import type { LinePoint } from './chart-view-model-bars.js';
|
|
3
|
+
import type { PlotLayout } from './chart-view-model-types.js';
|
|
4
|
+
/** Vertical extent (pixel y) a series is clipped to. */
|
|
5
|
+
export interface PlotBand {
|
|
6
|
+
top: number;
|
|
7
|
+
bottom: number;
|
|
8
|
+
}
|
|
9
|
+
/** The plot area's vertical extent. */
|
|
10
|
+
export declare function plotBand(layout: Pick<PlotLayout, 'plotTop' | 'plotBottom'>): PlotBand;
|
|
11
|
+
/** Whether a point lies inside the band (edges included). */
|
|
12
|
+
export declare function insideBand(point: LinePoint, band: PlotBand): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Split an open polyline into the runs that lie inside the band. A line that
|
|
15
|
+
* leaves the plot and comes back yields one run per visible stretch, each
|
|
16
|
+
* ending where it crosses the edge. A line wholly inside comes back as one
|
|
17
|
+
* run with its own points; runs of fewer than two points are dropped.
|
|
18
|
+
*/
|
|
19
|
+
export declare function clipPolylineToBand(points: ReadonlyArray<LinePoint>, band: PlotBand): LinePoint[][];
|
|
20
|
+
/**
|
|
21
|
+
* Clip a closed polygon (an area fill) to the band. A polygon wholly inside
|
|
22
|
+
* comes back unchanged; one wholly outside comes back empty.
|
|
23
|
+
*/
|
|
24
|
+
export declare function clipPolygonToBand(polygon: ReadonlyArray<LinePoint>, band: PlotBand): LinePoint[];
|
|
25
|
+
/**
|
|
26
|
+
* Centre of the visible part of the vertical span `y1`..`y2` (a stacked band
|
|
27
|
+
* at one category), or `undefined` when none of it is inside the band.
|
|
28
|
+
*/
|
|
29
|
+
export declare function visibleSpanCentre(y1: number, y2: number, band: PlotBand): number | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* The stroke of one line series, clipped to the band: a polyline per visible
|
|
32
|
+
* run, or one path for a `c:smooth` curve (flattened only when it has to be
|
|
33
|
+
* cut). A line wholly inside the band gives exactly the primitive it always
|
|
34
|
+
* did; one wholly outside gives none.
|
|
35
|
+
*/
|
|
36
|
+
export declare function clippedSeriesLine(points: ReadonlyArray<LinePoint>, smooth: boolean, style: Omit<SvgPolyline, 'kind' | 'points'>, band: PlotBand): Array<SvgPath | SvgPolyline>;
|
|
37
|
+
//# sourceMappingURL=chart-plot-clip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-plot-clip.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-plot-clip.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAEnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAE3D,wDAAwD;AACxD,MAAM,WAAW,QAAQ;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;CACf;AAKD,uCAAuC;AACvC,wBAAgB,QAAQ,CAAC,MAAM,EAAE,IAAI,CAAC,UAAU,EAAE,SAAS,GAAG,YAAY,CAAC,GAAG,QAAQ,CAKrF;AAED,6DAA6D;AAC7D,wBAAgB,UAAU,CAAC,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,GAAG,OAAO,CAEpE;AA4BD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CACjC,MAAM,EAAE,aAAa,CAAC,SAAS,CAAC,EAChC,IAAI,EAAE,QAAQ,GACZ,SAAS,EAAE,EAAE,CA8Bf;AA8BD;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,EAAE,IAAI,EAAE,QAAQ,GAAG,SAAS,EAAE,CAMhG;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,CAO5F;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAChC,MAAM,EAAE,aAAa,CAAC,SAAS,CAAC,EAChC,MAAM,EAAE,OAAO,EACf,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,QAAQ,CAAC,EAC3C,IAAI,EAAE,QAAQ,GACZ,KAAK,CAAC,OAAO,GAAG,WAAW,CAAC,CAiB9B"}
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* built-in style palettes, but nothing curated a small user-facing subset of
|
|
11
11
|
* them or applied one to a chart. This module is deliberately modest (six
|
|
12
12
|
* presets) rather than PowerPoint's full 48+ gallery, per this feature's
|
|
13
|
-
* scope:
|
|
14
|
-
* model.
|
|
13
|
+
* scope: two presets are Office style palettes from `getChartStylePalette`
|
|
14
|
+
* and four are recolours of the colourful one, not a new colour model.
|
|
15
15
|
*
|
|
16
16
|
* The 2D SVG chart engine (`chart-view-model-scale.ts`'s `seriesColor`/
|
|
17
17
|
* `paletteColor`) reads `PptxChartData.colorPalette` directly and does NOT
|
|
@@ -52,6 +52,8 @@ export interface ChartStylePresetDescriptor {
|
|
|
52
52
|
/** Whether this preset's palette matches the chart's current `colorPalette`. */
|
|
53
53
|
applied: boolean;
|
|
54
54
|
}
|
|
55
|
+
/** The resolved colours of a "Chart Styles" preset, or `undefined` for an unknown id. */
|
|
56
|
+
export declare function chartStylePresetPalette(id: string): readonly string[] | undefined;
|
|
55
57
|
/**
|
|
56
58
|
* Build the "Chart Styles" gallery descriptor for the currently-selected
|
|
57
59
|
* chart: every preset's resolved colours plus whether it is the one
|
|
@@ -62,7 +64,7 @@ export declare function buildChartStylePresets(chartData: Pick<PptxChartData, 'c
|
|
|
62
64
|
export declare function clearSeriesColor(series: PptxChartSeries): PptxChartSeries;
|
|
63
65
|
/**
|
|
64
66
|
* Apply a "Chart Styles" preset by id: resolves its palette via
|
|
65
|
-
*
|
|
67
|
+
* its preset entry, writes it onto `colorPalette` (also mirroring
|
|
66
68
|
* `style.styleId`), and clears every series'/data-point's own explicit fill
|
|
67
69
|
* so the new palette is not immediately shadowed by pre-existing colours
|
|
68
70
|
* (see this module's header). Returns `null` for an unknown preset id so a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-quick-action-styles.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-quick-action-styles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,OAAO,KAAK,EAAE,aAAa,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"chart-quick-action-styles.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-quick-action-styles.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AACH,OAAO,KAAK,EAAE,aAAa,EAAsB,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAK1F,iDAAiD;AACjD,MAAM,WAAW,0BAA0B;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,4EAA4E;IAC5E,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1B,gFAAgF;IAChF,OAAO,EAAE,OAAO,CAAC;CACjB;AAyDD,yFAAyF;AACzF,wBAAgB,uBAAuB,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,MAAM,EAAE,GAAG,SAAS,CAEjF;AAcD;;;;GAIG;AACH,wBAAgB,sBAAsB,CACrC,SAAS,EAAE,IAAI,CAAC,aAAa,EAAE,cAAc,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC,GACrF,0BAA0B,EAAE,CAiB9B;AAaD,wFAAwF;AACxF,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,eAAe,GAAG,eAAe,CAQzE;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACpC,SAAS,EAAE,aAAa,EACxB,QAAQ,EAAE,MAAM,GACd,aAAa,GAAG,IAAI,CAYtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-scatter-x-axis.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-scatter-x-axis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,KAAK,EAA2B,aAAa,EAAmB,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"chart-scatter-x-axis.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-scatter-x-axis.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,OAAO,KAAK,EAA2B,aAAa,EAAmB,MAAM,iBAAiB,CAAC;AAQ/F,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAOnF,MAAM,WAAW,gBAAgB;IAChC;;;;;;OAMG;IACH,KAAK,EAAE,UAAU,GAAG,SAAS,CAAC;IAC9B,SAAS,EAAE,OAAO,EAAE,CAAC;IACrB,MAAM,EAAE,OAAO,EAAE,CAAC;IAClB,mGAAmG;IACnG,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;CACpC;AAYD;;;GAGG;AACH,wBAAgB,qBAAqB,CACpC,SAAS,EAAE,aAAa,EACxB,MAAM,EAAE,UAAU,GAChB,gBAAgB,CAqDlB"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* chart-style-palette.ts: the series colour cycle of a chart with no explicit
|
|
3
|
+
* series colours.
|
|
4
|
+
*
|
|
5
|
+
* Precedence, decided once here for every binding ({@link resolveChartPalette}):
|
|
6
|
+
* the palette parsed from the chart's colour-style part (`colorsN.xml`, already
|
|
7
|
+
* resolved against the theme by core) wins; otherwise the built-in chart style
|
|
8
|
+
* (`c:style/@val`) picks a column of Office's chart-style gallery, built over
|
|
9
|
+
* the deck theme's accent colours when core resolved them
|
|
10
|
+
* (`PptxChartData.themeAccentColors`), or over the Office theme's when it did not.
|
|
11
|
+
*
|
|
12
|
+
* @module chart-style-palette
|
|
13
|
+
*/
|
|
14
|
+
import type { PptxChartData } from 'ooxml-core/pptx';
|
|
15
|
+
/**
|
|
16
|
+
* Apply a tint (lighten towards white) to a colour.
|
|
17
|
+
* `amount` in [0, 1] where 0 = no change, 1 = white.
|
|
18
|
+
*/
|
|
19
|
+
export declare function tint(hex: string, amount: number): string;
|
|
20
|
+
/**
|
|
21
|
+
* Apply a shade (darken towards black) to a colour.
|
|
22
|
+
* `amount` in [0, 1] where 0 = no change, 1 = black.
|
|
23
|
+
*/
|
|
24
|
+
export declare function shade(hex: string, amount: number): string;
|
|
25
|
+
/**
|
|
26
|
+
* The default fallback palette used when no chart style is specified.
|
|
27
|
+
*
|
|
28
|
+
* The Office accent cycle (accent1-6 plus the two chart extras), i.e. what
|
|
29
|
+
* PowerPoint paints for a chart with no style part. This MUST stay identical
|
|
30
|
+
* to `chart-view-model.ts`'s `DEFAULT_PALETTE` (which aliases it): the two
|
|
31
|
+
* used to differ (this one was a Tailwind-ish set), and since the bindings
|
|
32
|
+
* reach the shared engine through both entry points, the same deck fell back
|
|
33
|
+
* to two different palettes depending on the binding.
|
|
34
|
+
*/
|
|
35
|
+
export declare const DEFAULT_CHART_PALETTE: ReadonlyArray<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Get the colour palette for a chart style index (1–48), built over
|
|
38
|
+
* `themeAccents` (the deck theme's accent1 to accent6; the Office theme's when
|
|
39
|
+
* absent). Falls back to {@link DEFAULT_CHART_PALETTE}, with the theme's accents
|
|
40
|
+
* in place of the Office ones, when `styleId` is undefined or out of range.
|
|
41
|
+
*/
|
|
42
|
+
export declare function getChartStylePalette(styleId?: number, themeAccents?: readonly string[]): ReadonlyArray<string>;
|
|
43
|
+
/**
|
|
44
|
+
* The series colour cycle a chart paints with: its parsed colour-style palette
|
|
45
|
+
* when it has one, otherwise its chart style's palette over the deck theme.
|
|
46
|
+
* Every binding resolves the palette through here (and `buildChartViewModel`
|
|
47
|
+
* applies it), so the same chart cannot paint two colour cycles.
|
|
48
|
+
*/
|
|
49
|
+
export declare function resolveChartPalette(chartData: PptxChartData): string[];
|
|
50
|
+
/** `chartData` with {@link resolveChartPalette}'s palette as its `colorPalette`. */
|
|
51
|
+
export declare function withResolvedPalette(chartData: PptxChartData): PptxChartData;
|
|
52
|
+
//# sourceMappingURL=chart-style-palette.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chart-style-palette.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-style-palette.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAoBrD;;;GAGG;AACH,wBAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAGxD;AAED;;;GAGG;AACH,wBAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAGzD;AAeD;;;;;;;;;GASG;AACH,eAAO,MAAM,qBAAqB,EAAE,aAAa,CAAC,MAAM,CAA0C,CAAC;AA+CnG;;;;;GAKG;AACH,wBAAgB,oBAAoB,CACnC,OAAO,CAAC,EAAE,MAAM,EAChB,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,GAC9B,aAAa,CAAC,MAAM,CAAC,CAcvB;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,aAAa,GAAG,MAAM,EAAE,CAKtE;AAED,oFAAoF;AACpF,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,aAAa,GAAG,aAAa,CAI3E"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkIURZJAWP_cjs = require('../chunk-IURZJAWP.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "buildSurfaceViewModel", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkIURZJAWP_cjs.buildSurfaceViewModel; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "buildTreemapViewModel", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkIURZJAWP_cjs.buildTreemapViewModel; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "surfaceColor", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkIURZJAWP_cjs.surfaceColor; }
|
|
18
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { buildSurfaceViewModel, buildTreemapViewModel, surfaceColor } from '../chunk-
|
|
1
|
+
export { buildSurfaceViewModel, buildTreemapViewModel, surfaceColor } from '../chunk-STLXPKJJ.mjs';
|
|
@@ -20,7 +20,38 @@ export interface BarRect {
|
|
|
20
20
|
pointIndex?: number;
|
|
21
21
|
}
|
|
22
22
|
export declare function computeBarRects(series: ReadonlyArray<PptxChartSeries>, catCount: number, layout: PlotLayout, range: ValueRange, colorPalette: readonly string[] | undefined): BarRect[];
|
|
23
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Width of a stacked bar in one category slot. All the series of a stacked
|
|
25
|
+
* chart share one bar, so `c:gapWidth` sizes it the way it sizes a cluster of
|
|
26
|
+
* one. An absent `c:gapWidth` takes the ECMA-376 default of 150%
|
|
27
|
+
* (`DEFAULT_BAR_GAP_WIDTH`), so the bar is 40% of the slot.
|
|
28
|
+
*/
|
|
29
|
+
export declare function stackedBarWidth(slotWidth: number, gapWidth: number | undefined): number;
|
|
30
|
+
/**
|
|
31
|
+
* Clip one stacked segment, running from `base` to `base + value` on the value
|
|
32
|
+
* axis, to the axis range. An explicit `c:min` / `c:max` cuts the segment at
|
|
33
|
+
* the plot edge, as PowerPoint draws it, and a segment wholly outside the
|
|
34
|
+
* range is dropped (`undefined`). Every stacked bar path goes through here.
|
|
35
|
+
*/
|
|
36
|
+
export declare function clipStackedSegment(base: number, value: number, range: ValueRange): {
|
|
37
|
+
low: number;
|
|
38
|
+
high: number;
|
|
39
|
+
} | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Pixel extent of a clipped stacked segment between `baseCoord` (where it
|
|
42
|
+
* sits on the stack) and `tipCoord`. A segment thinner than `minSize` grows
|
|
43
|
+
* away from its base, so it never covers the segment it sits on.
|
|
44
|
+
*/
|
|
45
|
+
export declare function stackedSegmentExtent(baseCoord: number, tipCoord: number, minSize: number): {
|
|
46
|
+
start: number;
|
|
47
|
+
size: number;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* One rect per non-zero segment of a stacked column chart: each series sits on
|
|
51
|
+
* the running total of the same-sign series below it, and the segment is
|
|
52
|
+
* clipped to the value axis by {@link clipStackedSegment}.
|
|
53
|
+
*/
|
|
54
|
+
export declare function computeStackedBarRects(series: ReadonlyArray<PptxChartSeries>, catCount: number, layout: PlotLayout, range: ValueRange, colorPalette: readonly string[] | undefined, gapWidth?: number): BarRect[];
|
|
24
55
|
export interface LinePoint {
|
|
25
56
|
x: number;
|
|
26
57
|
y: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-view-model-bars.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-view-model-bars.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"chart-view-model-bars.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-view-model-bars.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAM3D,MAAM,WAAW,OAAO;IACvB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;IACb,+EAA+E;IAC/E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iFAAiF;IACjF,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,eAAe,CAC9B,MAAM,EAAE,aAAa,CAAC,eAAe,CAAC,EACtC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,UAAU,EAClB,KAAK,EAAE,UAAU,EACjB,YAAY,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,GACzC,OAAO,EAAE,CAyBX;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAGvF;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CACjC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,UAAU,GACf;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAI3C;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CACnC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,MAAM,GACb;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAGjC;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CACrC,MAAM,EAAE,aAAa,CAAC,eAAe,CAAC,EACtC,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,UAAU,EAClB,KAAK,EAAE,UAAU,EACjB,YAAY,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,EAC3C,QAAQ,CAAC,EAAE,MAAM,GACf,OAAO,EAAE,CAkDX;AAMD,MAAM,WAAW,SAAS;IACzB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACV;AAED,wBAAgB,iBAAiB,CAChC,MAAM,EAAE,aAAa,CAAC,MAAM,CAAC,EAC7B,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,UAAU,EAClB,KAAK,EAAE,UAAU,GACf,SAAS,EAAE,CAQb;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,aAAa,CAAC,SAAS,CAAC,GAAG,MAAM,CAE9E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chart-view-model-build.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-view-model-build.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,OAAO,KAAK,EAAmC,WAAW,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"chart-view-model-build.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/chart-view-model-build.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,OAAO,KAAK,EAAmC,WAAW,EAAE,MAAM,iBAAiB,CAAC;AA6BpF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAO/D,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,WAAW,GAAG,cAAc,CAOxE"}
|