ooxml-ui 1.0.0 → 1.2.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 +40 -36
- package/custom-elements.json +211 -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-T3HB5LMH.js → chunk-7FNDOWTX.js} +393 -15
- package/dist/{chunk-FLHM5Q4O.js → chunk-AYXFLBSV.js} +92 -13
- package/dist/{chunk-X7RINDJQ.js → chunk-JAJFLFAV.js} +1 -1
- package/dist/{chunk-OXKWNNNJ.js → chunk-VUB44CAJ.js} +1 -1
- package/dist/{chunk-JFJXBYRD.js → chunk-XNCWB2X6.js} +5 -0
- package/dist/{chunk-XDUYS4KK.js → chunk-Y2E22JVO.js} +1 -1
- package/dist/{chunk-ZV2Z4IWH.js → chunk-YK2DPYMU.js} +5 -2
- package/dist/{chunk-4QQASR5A.js → chunk-YP5S7DTT.js} +6 -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 +4 -2
- package/dist/controls.d.ts.map +1 -1
- package/dist/controls.js +4 -4
- package/dist/docx/comments-panel.d.ts +8 -1
- package/dist/docx/image-media.d.ts +1 -1
- package/dist/docx/locales/en-ribbon.d.ts +1 -0
- package/dist/docx/locales/en.d.ts +1 -0
- package/dist/docx/localization-strings.d.ts +2 -1
- package/dist/docx/localization.d.ts +7 -1
- 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/ruler.d.ts +7 -10
- package/dist/docx.js +289 -339
- package/dist/form/gradient-preset-gallery.d.ts +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +8 -8
- package/dist/pptx/{chart-3d-view-scene-2KRQ5667.mjs → chart-3d-view-scene-6B5TOWB6.mjs} +3 -3
- package/dist/pptx/{chart-3d-view-scene-36DMZWZ3.cjs → chart-3d-view-scene-MJ6YNT56.cjs} +37 -37
- package/dist/pptx/{chunk-YOGDIDPB.mjs → chunk-AWKKC3VW.mjs} +8 -2
- package/dist/pptx/{chunk-XQZWZMGZ.cjs → chunk-SM3CWDIQ.cjs} +7 -17
- package/dist/pptx/{chunk-CJU4P5FT.cjs → chunk-STKGUT5S.cjs} +18 -12
- package/dist/pptx/{chunk-JSBGBVBH.mjs → chunk-VRFNAF3Q.mjs} +7 -17
- package/dist/pptx/{chunk-YHA6XAB3.cjs → chunk-XIQMFSNG.cjs} +1 -1
- package/dist/pptx/{chunk-YARCML7O.mjs → chunk-XQVKQD5Z.mjs} +294 -265
- package/dist/pptx/{chunk-XWE5GSE7.mjs → chunk-YI5LH5NN.mjs} +533 -428
- package/dist/pptx/{chunk-ADOC5JLI.mjs → chunk-YMTQLZ2I.mjs} +1 -1
- package/dist/pptx/{chunk-AIL3BNZS.cjs → chunk-YRHK45AB.cjs} +301 -265
- package/dist/pptx/{chunk-FEFQTZDM.cjs → chunk-ZK344LOB.cjs} +689 -574
- 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/table.d.ts.map +1 -1
- package/dist/pptx/dom/index.cjs +257 -246
- package/dist/pptx/dom/index.mjs +28 -17
- package/dist/pptx/export/html2canvas-clone.cjs +2 -2
- package/dist/pptx/export/html2canvas-clone.mjs +1 -1
- package/dist/pptx/i18n/index.cjs +6 -6
- package/dist/pptx/i18n/index.mjs +1 -1
- package/dist/pptx/i18n/translator.d.ts.map +1 -1
- package/dist/pptx/index.cjs +3035 -2991
- package/dist/pptx/index.mjs +5 -5
- 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-cartesian-axes.d.ts.map +1 -1
- package/dist/pptx/render/chart-cartesian-bars.d.ts +3 -3
- package/dist/pptx/render/chart-cartesian-bars.d.ts.map +1 -1
- package/dist/pptx/render/chart-cartesian-percent-stacked.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-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-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-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 +31 -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/connector-elbow-geometry.d.ts +7 -43
- package/dist/pptx/render/connector-elbow-geometry.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 +2 -0
- package/dist/pptx/render/index.d.ts.map +1 -1
- 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.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 +54 -0
- package/dist/pptx/render/viewer-root-options.d.ts.map +1 -0
- package/dist/pptx/web-components/office-token-bridge.d.ts.map +1 -1
- package/dist/pptx/web-components/registration-contract.d.ts.map +1 -1
- package/dist/presence.js +3 -3
- package/dist/registry.d.ts +2 -0
- package/dist/registry.d.ts.map +1 -1
- 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 +6 -6
- package/dist/theme.js +2 -2
- package/dist/tokens.d.ts +5 -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 +76 -25
- 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/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 +3 -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 +21 -0
- package/dist/xlsx/shell-commands.d.ts +1 -1
- package/dist/xlsx/title-bar.d.ts +4 -2
- package/dist/xlsx.js +712 -90
- package/package.json +3 -3
- 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
|
@@ -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,CAiOhB"}
|
|
@@ -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"}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYRHK45AB_cjs = require('../chunk-YRHK45AB.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 chunkYRHK45AB_cjs.computeAxisTitlePrimitives; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "computeErrorBarPrimitives", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkYRHK45AB_cjs.computeErrorBarPrimitives; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "computeLinearRegression", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkYRHK45AB_cjs.computeLinearRegression; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "computeRSquared", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkYRHK45AB_cjs.computeRSquared; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "computeTrendlinePrimitives", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkYRHK45AB_cjs.computeTrendlinePrimitives; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "fitPolynomial", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkYRHK45AB_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-XQVKQD5Z.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"}
|
|
@@ -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 chunkYRHK45AB_cjs = require('../chunk-YRHK45AB.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 chunkYRHK45AB_cjs.buildSurfaceViewModel; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "buildTreemapViewModel", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkYRHK45AB_cjs.buildTreemapViewModel; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "surfaceColor", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkYRHK45AB_cjs.surfaceColor; }
|
|
18
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { buildSurfaceViewModel, buildTreemapViewModel, surfaceColor } from '../chunk-
|
|
1
|
+
export { buildSurfaceViewModel, buildTreemapViewModel, surfaceColor } from '../chunk-XQVKQD5Z.mjs';
|
|
@@ -20,7 +20,37 @@ 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; without it the bar keeps its old `fallbackFraction` of the slot.
|
|
27
|
+
*/
|
|
28
|
+
export declare function stackedBarWidth(slotWidth: number, gapWidth: number | undefined, fallbackFraction: number): number;
|
|
29
|
+
/**
|
|
30
|
+
* Clip one stacked segment, running from `base` to `base + value` on the value
|
|
31
|
+
* axis, to the axis range. An explicit `c:min` / `c:max` cuts the segment at
|
|
32
|
+
* the plot edge, as PowerPoint draws it, and a segment wholly outside the
|
|
33
|
+
* range is dropped (`undefined`). Every stacked bar path goes through here.
|
|
34
|
+
*/
|
|
35
|
+
export declare function clipStackedSegment(base: number, value: number, range: ValueRange): {
|
|
36
|
+
low: number;
|
|
37
|
+
high: number;
|
|
38
|
+
} | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* Pixel extent of a clipped stacked segment between `baseCoord` (where it
|
|
41
|
+
* sits on the stack) and `tipCoord`. A segment thinner than `minSize` grows
|
|
42
|
+
* away from its base, so it never covers the segment it sits on.
|
|
43
|
+
*/
|
|
44
|
+
export declare function stackedSegmentExtent(baseCoord: number, tipCoord: number, minSize: number): {
|
|
45
|
+
start: number;
|
|
46
|
+
size: number;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* One rect per non-zero segment of a stacked column chart: each series sits on
|
|
50
|
+
* the running total of the same-sign series below it, and the segment is
|
|
51
|
+
* clipped to the value axis by {@link clipStackedSegment}.
|
|
52
|
+
*/
|
|
53
|
+
export declare function computeStackedBarRects(series: ReadonlyArray<PptxChartSeries>, catCount: number, layout: PlotLayout, range: ValueRange, colorPalette: readonly string[] | undefined, gapWidth?: number): BarRect[];
|
|
24
54
|
export interface LinePoint {
|
|
25
55
|
x: number;
|
|
26
56
|
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;;;;GAIG;AACH,wBAAgB,eAAe,CAC9B,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,gBAAgB,EAAE,MAAM,GACtB,MAAM,CAIR;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"}
|
|
@@ -1,166 +1,178 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYRHK45AB_cjs = require('../chunk-YRHK45AB.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "AXIS_LABEL_COLOR", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkYRHK45AB_cjs.AXIS_LABEL_COLOR; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "DEFAULT_PALETTE", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkYRHK45AB_cjs.DEFAULT_PALETTE; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "GRIDLINE_COLOR", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkYRHK45AB_cjs.GRIDLINE_COLOR; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "PIE_AUTO_INSET_PX", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkYRHK45AB_cjs.PIE_AUTO_INSET_PX; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ZERO_LINE_COLOR", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkYRHK45AB_cjs.ZERO_LINE_COLOR; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "axisTickValues", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkYRHK45AB_cjs.axisTickValues; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "buildCategoryLabels", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkYRHK45AB_cjs.buildCategoryLabels; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "buildChartViewModel", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkYRHK45AB_cjs.buildChartViewModel; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "buildFallbackViewModel", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkYRHK45AB_cjs.buildFallbackViewModel; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "buildGridlinesAndLabels", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkYRHK45AB_cjs.buildGridlinesAndLabels; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "buildLegend", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkYRHK45AB_cjs.buildLegend; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "buildMarkTooltip", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkYRHK45AB_cjs.buildMarkTooltip; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "buildPieViewModel", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkYRHK45AB_cjs.buildPieViewModel; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "buildRadarViewModel", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkYRHK45AB_cjs.buildRadarViewModel; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "buildZeroLine", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkYRHK45AB_cjs.buildZeroLine; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "chartPreserveAspectRatio", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkYRHK45AB_cjs.chartPreserveAspectRatio; }
|
|
70
|
+
});
|
|
71
|
+
Object.defineProperty(exports, "clipStackedSegment", {
|
|
72
|
+
enumerable: true,
|
|
73
|
+
get: function () { return chunkYRHK45AB_cjs.clipStackedSegment; }
|
|
70
74
|
});
|
|
71
75
|
Object.defineProperty(exports, "computeBarRects", {
|
|
72
76
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkYRHK45AB_cjs.computeBarRects; }
|
|
74
78
|
});
|
|
75
79
|
Object.defineProperty(exports, "computeBubbleRadius", {
|
|
76
80
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkYRHK45AB_cjs.computeBubbleRadius; }
|
|
78
82
|
});
|
|
79
83
|
Object.defineProperty(exports, "computeLinePoints", {
|
|
80
84
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkYRHK45AB_cjs.computeLinePoints; }
|
|
82
86
|
});
|
|
83
87
|
Object.defineProperty(exports, "computePieLayout", {
|
|
84
88
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkYRHK45AB_cjs.computePieLayout; }
|
|
86
90
|
});
|
|
87
91
|
Object.defineProperty(exports, "computePieSlicePath", {
|
|
88
92
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkYRHK45AB_cjs.computePieSlicePath; }
|
|
90
94
|
});
|
|
91
95
|
Object.defineProperty(exports, "computePieSlices", {
|
|
92
96
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkYRHK45AB_cjs.computePieSlices; }
|
|
94
98
|
});
|
|
95
99
|
Object.defineProperty(exports, "computePlotLayout", {
|
|
96
100
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkYRHK45AB_cjs.computePlotLayout; }
|
|
98
102
|
});
|
|
99
103
|
Object.defineProperty(exports, "computeRadarPoints", {
|
|
100
104
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkYRHK45AB_cjs.computeRadarPoints; }
|
|
102
106
|
});
|
|
103
107
|
Object.defineProperty(exports, "computeScatterDots", {
|
|
104
108
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkYRHK45AB_cjs.computeScatterDots; }
|
|
106
110
|
});
|
|
107
111
|
Object.defineProperty(exports, "computeScatterXDomain", {
|
|
108
112
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkYRHK45AB_cjs.computeScatterXDomain; }
|
|
110
114
|
});
|
|
111
115
|
Object.defineProperty(exports, "computeStackedBarRects", {
|
|
112
116
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkYRHK45AB_cjs.computeStackedBarRects; }
|
|
114
118
|
});
|
|
115
119
|
Object.defineProperty(exports, "computeStackedValueRange", {
|
|
116
120
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkYRHK45AB_cjs.computeStackedValueRange; }
|
|
118
122
|
});
|
|
119
123
|
Object.defineProperty(exports, "computeValueRange", {
|
|
120
124
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkYRHK45AB_cjs.computeValueRange2; }
|
|
122
126
|
});
|
|
123
127
|
Object.defineProperty(exports, "formatAxisValue", {
|
|
124
128
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkYRHK45AB_cjs.formatAxisValue2; }
|
|
126
130
|
});
|
|
127
131
|
Object.defineProperty(exports, "linePointsToSvgString", {
|
|
128
132
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkYRHK45AB_cjs.linePointsToSvgString; }
|
|
130
134
|
});
|
|
131
135
|
Object.defineProperty(exports, "paletteColor", {
|
|
132
136
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkYRHK45AB_cjs.paletteColor2; }
|
|
134
138
|
});
|
|
135
139
|
Object.defineProperty(exports, "radarAngle", {
|
|
136
140
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkYRHK45AB_cjs.radarAngle; }
|
|
138
142
|
});
|
|
139
143
|
Object.defineProperty(exports, "radarRingPoints", {
|
|
140
144
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkYRHK45AB_cjs.radarRingPoints; }
|
|
142
146
|
});
|
|
143
147
|
Object.defineProperty(exports, "resolveChartKind", {
|
|
144
148
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkYRHK45AB_cjs.resolveChartKind; }
|
|
146
150
|
});
|
|
147
151
|
Object.defineProperty(exports, "resolveLegendAnchorPosition", {
|
|
148
152
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkYRHK45AB_cjs.resolveLegendAnchorPosition; }
|
|
150
154
|
});
|
|
151
155
|
Object.defineProperty(exports, "seriesColor", {
|
|
152
156
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkYRHK45AB_cjs.seriesColor2; }
|
|
154
158
|
});
|
|
155
159
|
Object.defineProperty(exports, "seriesXValues", {
|
|
156
160
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkYRHK45AB_cjs.seriesXValues; }
|
|
162
|
+
});
|
|
163
|
+
Object.defineProperty(exports, "stackedBarWidth", {
|
|
164
|
+
enumerable: true,
|
|
165
|
+
get: function () { return chunkYRHK45AB_cjs.stackedBarWidth; }
|
|
166
|
+
});
|
|
167
|
+
Object.defineProperty(exports, "stackedSegmentExtent", {
|
|
168
|
+
enumerable: true,
|
|
169
|
+
get: function () { return chunkYRHK45AB_cjs.stackedSegmentExtent; }
|
|
158
170
|
});
|
|
159
171
|
Object.defineProperty(exports, "valueToY", {
|
|
160
172
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkYRHK45AB_cjs.valueToY2; }
|
|
162
174
|
});
|
|
163
175
|
Object.defineProperty(exports, "withManualLayouts", {
|
|
164
176
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkYRHK45AB_cjs.withManualLayouts; }
|
|
166
178
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { AXIS_LABEL_COLOR, DEFAULT_PALETTE, GRIDLINE_COLOR, PIE_AUTO_INSET_PX, ZERO_LINE_COLOR, axisTickValues, buildCategoryLabels, buildChartViewModel, buildFallbackViewModel, buildGridlinesAndLabels, buildLegend, buildMarkTooltip, buildPieViewModel, buildRadarViewModel, buildZeroLine, chartPreserveAspectRatio, computeBarRects, computeBubbleRadius, computeLinePoints, computePieLayout, computePieSlicePath, computePieSlices, computePlotLayout, computeRadarPoints, computeScatterDots, computeScatterXDomain, computeStackedBarRects, computeStackedValueRange, computeValueRange2 as computeValueRange, formatAxisValue2 as formatAxisValue, linePointsToSvgString, paletteColor2 as paletteColor, radarAngle, radarRingPoints, resolveChartKind, resolveLegendAnchorPosition, seriesColor2 as seriesColor, seriesXValues, valueToY2 as valueToY, withManualLayouts } from '../chunk-
|
|
1
|
+
export { AXIS_LABEL_COLOR, DEFAULT_PALETTE, GRIDLINE_COLOR, PIE_AUTO_INSET_PX, ZERO_LINE_COLOR, axisTickValues, buildCategoryLabels, buildChartViewModel, buildFallbackViewModel, buildGridlinesAndLabels, buildLegend, buildMarkTooltip, buildPieViewModel, buildRadarViewModel, buildZeroLine, chartPreserveAspectRatio, clipStackedSegment, computeBarRects, computeBubbleRadius, computeLinePoints, computePieLayout, computePieSlicePath, computePieSlices, computePlotLayout, computeRadarPoints, computeScatterDots, computeScatterXDomain, computeStackedBarRects, computeStackedValueRange, computeValueRange2 as computeValueRange, formatAxisValue2 as formatAxisValue, linePointsToSvgString, paletteColor2 as paletteColor, radarAngle, radarRingPoints, resolveChartKind, resolveLegendAnchorPosition, seriesColor2 as seriesColor, seriesXValues, stackedBarWidth, stackedSegmentExtent, valueToY2 as valueToY, withManualLayouts } from '../chunk-XQVKQD5Z.mjs';
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYRHK45AB_cjs = require('../chunk-YRHK45AB.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "buildRegionMapViewModel", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkYRHK45AB_cjs.buildRegionMapViewModel; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "buildWaterfallViewModel", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkYRHK45AB_cjs.buildWaterfallViewModel; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "normalizeValue", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkYRHK45AB_cjs.normalizeValue; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "resolveRegionCode", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkYRHK45AB_cjs.resolveRegionCode; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "sequentialColorScale", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkYRHK45AB_cjs.sequentialColorScale; }
|
|
26
26
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { buildRegionMapViewModel, buildWaterfallViewModel, normalizeValue, resolveRegionCode, sequentialColorScale } from '../chunk-
|
|
1
|
+
export { buildRegionMapViewModel, buildWaterfallViewModel, normalizeValue, resolveRegionCode, sequentialColorScale } from '../chunk-XQVKQD5Z.mjs';
|