ooxml-ui 1.44.0 → 1.45.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 +4 -0
- package/dist/base.d.ts +1 -0
- package/dist/chart/format-pane-3d.d.ts +1 -0
- package/dist/chart/format-pane-advanced-intent.d.ts +1 -0
- package/dist/chart/format-pane-analysis.d.ts +1 -0
- package/dist/chart/format-pane-axis.d.ts +1 -0
- package/dist/chart/format-pane-common.d.ts +1 -0
- package/dist/chart/format-pane-effects.d.ts +1 -0
- package/dist/chart/format-pane-fields.d.ts +1 -0
- package/dist/chart/format-pane-fill-kinds.d.ts +1 -0
- package/dist/chart/format-pane-fill-line.d.ts +1 -0
- package/dist/chart/format-pane-locales/es.d.ts +1 -0
- package/dist/chart/format-pane-model.d.ts +1 -0
- package/dist/chart/format-pane-options.d.ts +1 -0
- package/dist/chart/format-pane-space.d.ts +1 -0
- package/dist/chart/format-pane-text.d.ts +1 -0
- package/dist/chart/format-pane-types.d.ts +1 -0
- package/dist/chart/format-pane-view.d.ts +1 -0
- package/dist/chrome/find-bar.d.ts +2 -1
- package/dist/{chunk-NH5ZSZMI.js → chunk-2YRHRV4H.js} +1 -1
- package/dist/{chunk-JWBWLGEY.js → chunk-LPI7LT4B.js} +2 -2
- package/dist/{chunk-2ZYRZANE.js → chunk-MWDG776V.js} +1 -1
- package/dist/{chunk-I57TCM2Q.js → chunk-UEFVC6V4.js} +1 -1
- package/dist/{chunk-M4ARYL3L.js → chunk-ZTLP52FH.js} +1 -1
- package/dist/controls.d.ts +1 -0
- package/dist/controls.js +1 -1
- package/dist/docx.js +4 -4
- package/dist/embedding/region-host.d.ts +1 -0
- package/dist/files/save-progress-label.d.ts +1 -0
- package/dist/fonts/custom-fonts.d.ts +1 -0
- package/dist/form/color-swatches.d.ts +1 -0
- package/dist/image-native-size.d.ts +1 -0
- package/dist/index.js +4 -4
- package/dist/picture-artistic-filters.d.ts +1 -0
- package/dist/picture-artistic-preview.d.ts +1 -0
- package/dist/picture-paint.d.ts +1 -0
- package/dist/pptx/{chart-3d-view-scene-D6OJTZYC.mjs → chart-3d-view-scene-7LIMCTEM.mjs} +3 -3
- package/dist/pptx/{chart-3d-view-scene-PC2RUBL4.cjs → chart-3d-view-scene-RCWYLVC3.cjs} +38 -38
- package/dist/pptx/{chunk-W2QJX2ON.mjs → chunk-2P6TH4ZE.mjs} +3 -0
- package/dist/pptx/{chunk-H6M3FKNG.mjs → chunk-3DJZBAQ2.mjs} +1 -1
- package/dist/pptx/{chunk-BNPTGOEZ.mjs → chunk-6JTQ7AG6.mjs} +3 -3
- package/dist/pptx/{chunk-LK35P6RE.cjs → chunk-CWBVJ4DC.cjs} +1043 -427
- package/dist/pptx/{chunk-HWJKBKCW.cjs → chunk-FI2ATACZ.cjs} +3 -3
- package/dist/pptx/{chunk-EDIAPF6J.mjs → chunk-G5NEBI7N.mjs} +3 -3
- package/dist/pptx/{chunk-HB6CH2FF.cjs → chunk-GYI2TFSW.cjs} +3 -3
- package/dist/pptx/{chunk-D3DQS2J2.mjs → chunk-HGT3CA36.mjs} +796 -200
- package/dist/pptx/{chunk-2SO3BL67.cjs → chunk-HTFYAGHG.cjs} +238 -87
- package/dist/pptx/{chunk-2GDYTHUY.cjs → chunk-LOUVYGWX.cjs} +12 -12
- package/dist/pptx/{chunk-ZH35NTNU.cjs → chunk-MZCAYJ7H.cjs} +49 -49
- package/dist/pptx/{chunk-KYTG7WNC.mjs → chunk-S6P7UWGZ.mjs} +2 -2
- package/dist/pptx/{chunk-ZHVKGGLQ.cjs → chunk-UFJBHFSD.cjs} +3 -0
- package/dist/pptx/{chunk-TDALHSYV.mjs → chunk-XL5AF4U3.mjs} +211 -73
- package/dist/pptx/dom/elements/connector.d.ts.map +1 -1
- package/dist/pptx/dom/index.cjs +458 -449
- package/dist/pptx/dom/index.mjs +32 -23
- package/dist/pptx/export/html2canvas-clone.cjs +7 -7
- package/dist/pptx/export/html2canvas-clone.mjs +2 -2
- package/dist/pptx/i18n/index.cjs +6 -6
- package/dist/pptx/i18n/index.mjs +1 -1
- package/dist/pptx/i18n/translations-en.d.ts.map +1 -1
- package/dist/pptx/index.cjs +3547 -3459
- package/dist/pptx/index.mjs +6 -6
- package/dist/pptx/render/chart-combo-stock.cjs +4 -4
- package/dist/pptx/render/chart-combo-stock.mjs +2 -2
- package/dist/pptx/render/chart-overlays.cjs +8 -8
- package/dist/pptx/render/chart-overlays.mjs +2 -2
- package/dist/pptx/render/chart-surface-treemap.cjs +5 -5
- package/dist/pptx/render/chart-surface-treemap.mjs +2 -2
- package/dist/pptx/render/chart-view-model.cjs +45 -45
- package/dist/pptx/render/chart-view-model.mjs +2 -2
- package/dist/pptx/render/chart-waterfall-map.cjs +7 -7
- package/dist/pptx/render/chart-waterfall-map.mjs +2 -2
- package/dist/pptx/render/connector-dash.d.ts +15 -0
- package/dist/pptx/render/connector-dash.d.ts.map +1 -1
- package/dist/pptx/render/connector-path.d.ts +1 -1
- package/dist/pptx/render/connector-path.d.ts.map +1 -1
- package/dist/pptx/render/customization/customization-controller.d.ts +8 -0
- package/dist/pptx/render/customization/customization-controller.d.ts.map +1 -1
- package/dist/pptx/render/dash-pattern.d.ts +5 -56
- package/dist/pptx/render/dash-pattern.d.ts.map +1 -1
- package/dist/pptx/render/dash-square-cap.d.ts +34 -0
- package/dist/pptx/render/dash-square-cap.d.ts.map +1 -0
- package/dist/pptx/render/deck-webfont-outlines.d.ts +25 -0
- package/dist/pptx/render/deck-webfont-outlines.d.ts.map +1 -0
- package/dist/pptx/render/deck-webfont-readiness.d.ts +59 -0
- package/dist/pptx/render/deck-webfont-readiness.d.ts.map +1 -0
- package/dist/pptx/render/device-pixel-stroke.d.ts +1 -1
- package/dist/pptx/render/device-pixel-stroke.d.ts.map +1 -1
- package/dist/pptx/render/fill-style.d.ts +6 -0
- package/dist/pptx/render/fill-style.d.ts.map +1 -1
- package/dist/pptx/render/google-webfonts.d.ts +11 -1
- package/dist/pptx/render/google-webfonts.d.ts.map +1 -1
- package/dist/pptx/render/gradient-svg-image.d.ts +9 -0
- package/dist/pptx/render/gradient-svg-image.d.ts.map +1 -1
- package/dist/pptx/render/index.d.ts +4 -0
- package/dist/pptx/render/index.d.ts.map +1 -1
- package/dist/pptx/render/options/font-download-policy.d.ts +52 -0
- package/dist/pptx/render/options/font-download-policy.d.ts.map +1 -0
- package/dist/pptx/render/options/index.d.ts +1 -0
- package/dist/pptx/render/options/index.d.ts.map +1 -1
- package/dist/pptx/render/options/viewer-options-tabs-advanced.d.ts.map +1 -1
- package/dist/pptx/render/options/viewer-options.d.ts +2 -0
- package/dist/pptx/render/options/viewer-options.d.ts.map +1 -1
- package/dist/pptx/render/paragraph-baseline.d.ts +13 -2
- package/dist/pptx/render/paragraph-baseline.d.ts.map +1 -1
- package/dist/pptx/render/paragraph-run-build.d.ts.map +1 -1
- package/dist/pptx/render/paragraph-trailing-break.d.ts +15 -0
- package/dist/pptx/render/paragraph-trailing-break.d.ts.map +1 -0
- package/dist/pptx/render/shape-path-gradient-fill.d.ts +20 -0
- package/dist/pptx/render/shape-path-gradient-fill.d.ts.map +1 -0
- package/dist/pptx/render/silhouette-effects.d.ts.map +1 -1
- package/dist/pptx/render/stroke-outline.d.ts.map +1 -1
- package/dist/pptx/render/svg-attr-escape.d.ts +30 -0
- package/dist/pptx/render/svg-attr-escape.d.ts.map +1 -0
- package/dist/pptx/render/svg-gradient-paint.d.ts +6 -1
- package/dist/pptx/render/svg-gradient-paint.d.ts.map +1 -1
- package/dist/pptx/render/table-cell-baseline.d.ts +2 -1
- package/dist/pptx/render/table-cell-baseline.d.ts.map +1 -1
- package/dist/pptx/render/table-cell-paragraphs.d.ts.map +1 -1
- package/dist/pptx/render/text-body-top-snap.d.ts +43 -0
- package/dist/pptx/render/text-body-top-snap.d.ts.map +1 -0
- package/dist/pptx/render/text-design-tracking.d.ts +20 -0
- package/dist/pptx/render/text-design-tracking.d.ts.map +1 -0
- package/dist/pptx/render/text-line-height.d.ts +8 -0
- package/dist/pptx/render/text-line-height.d.ts.map +1 -1
- package/dist/pptx/render/text-metric-tracking.d.ts.map +1 -1
- package/dist/pptx/render/text-paragraphs.d.ts.map +1 -1
- package/dist/pptx/render/text-warp-arch-fit.d.ts +51 -0
- package/dist/pptx/render/text-warp-arch-fit.d.ts.map +1 -0
- package/dist/pptx/render/text-warp-arch.d.ts +53 -13
- package/dist/pptx/render/text-warp-arch.d.ts.map +1 -1
- package/dist/pptx/render/text-warp-envelope-measure.d.ts +5 -0
- package/dist/pptx/render/text-warp-envelope-measure.d.ts.map +1 -1
- package/dist/pptx/render/text-warp-outline-webfont-fetch.d.ts.map +1 -1
- package/dist/pptx/render/text-warp.d.ts +3 -1
- package/dist/pptx/render/text-warp.d.ts.map +1 -1
- package/dist/pptx/render/visual-effects.d.ts +2 -21
- package/dist/pptx/render/visual-effects.d.ts.map +1 -1
- package/dist/pptx/{smartart-insert-preview-55QCEISC.cjs → smartart-insert-preview-R7USUBIX.cjs} +8 -8
- package/dist/pptx/{smartart-insert-preview-GPBTE3HU.mjs → smartart-insert-preview-ZKVFXFSI.mjs} +7 -7
- package/dist/render-cache.d.ts +1 -0
- package/dist/ribbon/ribbon-group.d.ts +2 -1
- package/dist/ribbon/svg-preview.d.ts +1 -0
- package/dist/teams.js +2 -2
- package/dist/theme-bridge.d.ts +1 -0
- package/dist/theme.d.ts +1 -0
- package/dist/visio.js +23 -6
- package/dist/xlsx.js +7 -7
- package/package.json +2 -2
|
@@ -1,179 +1,179 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkHTFYAGHG_cjs = require('../chunk-HTFYAGHG.cjs');
|
|
4
|
+
require('../chunk-FI2ATACZ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "AXIS_LABEL_COLOR", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkHTFYAGHG_cjs.AXIS_LABEL_COLOR; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "DEFAULT_PALETTE", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkHTFYAGHG_cjs.DEFAULT_PALETTE; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "GRIDLINE_COLOR", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkHTFYAGHG_cjs.GRIDLINE_COLOR; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "PIE_AUTO_INSET_PX", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkHTFYAGHG_cjs.PIE_AUTO_INSET_PX; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "ZERO_LINE_COLOR", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkHTFYAGHG_cjs.ZERO_LINE_COLOR; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "axisTickValues", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkHTFYAGHG_cjs.axisTickValues; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "buildCategoryLabels", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkHTFYAGHG_cjs.buildCategoryLabels; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "buildChartViewModel", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkHTFYAGHG_cjs.buildChartViewModel; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "buildFallbackViewModel", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkHTFYAGHG_cjs.buildFallbackViewModel; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "buildGridlinesAndLabels", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkHTFYAGHG_cjs.buildGridlinesAndLabels; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "buildLegend", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkHTFYAGHG_cjs.buildLegend; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "buildMarkTooltip", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkHTFYAGHG_cjs.buildMarkTooltip; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "buildPieViewModel", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkHTFYAGHG_cjs.buildPieViewModel; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "buildRadarViewModel", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkHTFYAGHG_cjs.buildRadarViewModel; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "buildZeroLine", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkHTFYAGHG_cjs.buildZeroLine; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "chartPreserveAspectRatio", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkHTFYAGHG_cjs.chartPreserveAspectRatio; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "clipStackedSegment", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkHTFYAGHG_cjs.clipStackedSegment; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "computeBarRects", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkHTFYAGHG_cjs.computeBarRects; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "computeBubbleRadius", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkHTFYAGHG_cjs.computeBubbleRadius; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "computeLinePoints", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkHTFYAGHG_cjs.computeLinePoints; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "computePieLayout", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkHTFYAGHG_cjs.computePieLayout; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "computePieSlicePath", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkHTFYAGHG_cjs.computePieSlicePath; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "computePieSlices", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkHTFYAGHG_cjs.computePieSlices; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "computePlotLayout", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkHTFYAGHG_cjs.computePlotLayout; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "computeRadarPoints", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkHTFYAGHG_cjs.computeRadarPoints; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "computeScatterDots", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkHTFYAGHG_cjs.computeScatterDots; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "computeScatterXDomain", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkHTFYAGHG_cjs.computeScatterXDomain; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "computeStackedBarRects", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkHTFYAGHG_cjs.computeStackedBarRects; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "computeStackedValueRange", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkHTFYAGHG_cjs.computeStackedValueRange; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "computeValueRange", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkHTFYAGHG_cjs.computeValueRange2; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "formatAxisValue", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkHTFYAGHG_cjs.formatAxisValue2; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "linePointsToSvgString", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkHTFYAGHG_cjs.linePointsToSvgString; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "paletteColor", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkHTFYAGHG_cjs.paletteColor2; }
|
|
139
139
|
});
|
|
140
140
|
Object.defineProperty(exports, "radarAngle", {
|
|
141
141
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkHTFYAGHG_cjs.radarAngle; }
|
|
143
143
|
});
|
|
144
144
|
Object.defineProperty(exports, "radarRingPoints", {
|
|
145
145
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkHTFYAGHG_cjs.radarRingPoints; }
|
|
147
147
|
});
|
|
148
148
|
Object.defineProperty(exports, "resolveChartKind", {
|
|
149
149
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkHTFYAGHG_cjs.resolveChartKind; }
|
|
151
151
|
});
|
|
152
152
|
Object.defineProperty(exports, "resolveLegendAnchorPosition", {
|
|
153
153
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkHTFYAGHG_cjs.resolveLegendAnchorPosition; }
|
|
155
155
|
});
|
|
156
156
|
Object.defineProperty(exports, "seriesColor", {
|
|
157
157
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkHTFYAGHG_cjs.seriesColor2; }
|
|
159
159
|
});
|
|
160
160
|
Object.defineProperty(exports, "seriesXValues", {
|
|
161
161
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkHTFYAGHG_cjs.seriesXValues; }
|
|
163
163
|
});
|
|
164
164
|
Object.defineProperty(exports, "stackedBarWidth", {
|
|
165
165
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkHTFYAGHG_cjs.stackedBarWidth; }
|
|
167
167
|
});
|
|
168
168
|
Object.defineProperty(exports, "stackedSegmentExtent", {
|
|
169
169
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkHTFYAGHG_cjs.stackedSegmentExtent; }
|
|
171
171
|
});
|
|
172
172
|
Object.defineProperty(exports, "valueToY", {
|
|
173
173
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkHTFYAGHG_cjs.valueToY2; }
|
|
175
175
|
});
|
|
176
176
|
Object.defineProperty(exports, "withManualLayouts", {
|
|
177
177
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkHTFYAGHG_cjs.withManualLayouts; }
|
|
179
179
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
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-
|
|
2
|
-
import '../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-XL5AF4U3.mjs';
|
|
2
|
+
import '../chunk-G5NEBI7N.mjs';
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkHTFYAGHG_cjs = require('../chunk-HTFYAGHG.cjs');
|
|
4
|
+
require('../chunk-FI2ATACZ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "buildRegionMapViewModel", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkHTFYAGHG_cjs.buildRegionMapViewModel; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "buildWaterfallViewModel", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkHTFYAGHG_cjs.buildWaterfallViewModel; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "normalizeValue", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkHTFYAGHG_cjs.normalizeValue; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "resolveRegionCode", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkHTFYAGHG_cjs.resolveRegionCode; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "sequentialColorScale", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkHTFYAGHG_cjs.sequentialColorScale; }
|
|
27
27
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { buildRegionMapViewModel, buildWaterfallViewModel, normalizeValue, resolveRegionCode, sequentialColorScale } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { buildRegionMapViewModel, buildWaterfallViewModel, normalizeValue, resolveRegionCode, sequentialColorScale } from '../chunk-XL5AF4U3.mjs';
|
|
2
|
+
import '../chunk-G5NEBI7N.mjs';
|
|
@@ -29,4 +29,19 @@ export interface DashSegment {
|
|
|
29
29
|
* @param lineCap `a:ln/@cap`: a round cap is part of each dash.
|
|
30
30
|
*/
|
|
31
31
|
export declare function buildDashArray(dash: string | undefined, strokeWidth: number, customDashSegments?: ReadonlyArray<DashSegment>, lineCap?: 'flat' | 'rnd' | 'sq'): string | undefined;
|
|
32
|
+
/** The `a:ln` fields {@link connectorSquareCapPath} reads. */
|
|
33
|
+
export interface ConnectorDashStyle {
|
|
34
|
+
strokeDash?: string | undefined;
|
|
35
|
+
lineCap?: 'flat' | 'rnd' | 'sq' | undefined;
|
|
36
|
+
customDashSegments?: ReadonlyArray<DashSegment> | undefined;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* The path data a connector's painted line must use to show PowerPoint's
|
|
40
|
+
* overshoot at the two ends of a dashed square-cap line (see `dash-square-cap`),
|
|
41
|
+
* or `undefined` when its own geometry is right as it is. `d` is the connector's
|
|
42
|
+
* absolute `M`/`L` path (`M x1,y1 L x2,y2` for a straight one). A line with
|
|
43
|
+
* arrowheads or several strands is left alone: markers would attach to the
|
|
44
|
+
* extra sub-paths.
|
|
45
|
+
*/
|
|
46
|
+
export declare function connectorSquareCapPath(d: string, style: ConnectorDashStyle | undefined, strokeWidth: number, hasMarkersOrStrands: boolean): string | undefined;
|
|
32
47
|
//# sourceMappingURL=connector-dash.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector-dash.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/connector-dash.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;
|
|
1
|
+
{"version":3,"file":"connector-dash.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/connector-dash.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAKH,kFAAkF;AAClF,MAAM,WAAW,WAAW;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACd;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,cAAc,CAC7B,IAAI,EAAE,MAAM,GAAG,SAAS,EACxB,WAAW,EAAE,MAAM,EACnB,kBAAkB,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,EAC/C,OAAO,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAC7B,MAAM,GAAG,SAAS,CASpB;AAED,8DAA8D;AAC9D,MAAM,WAAW,kBAAkB;IAClC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C,kBAAkB,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;CAC5D;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CACrC,CAAC,EAAE,MAAM,EACT,KAAK,EAAE,kBAAkB,GAAG,SAAS,EACrC,WAAW,EAAE,MAAM,EACnB,mBAAmB,EAAE,OAAO,GAC1B,MAAM,GAAG,SAAS,CAWpB"}
|
|
@@ -16,7 +16,7 @@ import type { RouterRect } from './connector-router.js';
|
|
|
16
16
|
export { CONNECTOR_HIT_MIN_WIDTH, connectorHitStrokeWidth } from './connector-hit-target.js';
|
|
17
17
|
export { markerPath, normalizeArrow } from './connector-markers.js';
|
|
18
18
|
export type { ArrowSize, MarkerShape } from './connector-markers.js';
|
|
19
|
-
export { buildDashArray } from './connector-dash.js';
|
|
19
|
+
export { buildDashArray, connectorSquareCapPath } from './connector-dash.js';
|
|
20
20
|
export type { DashSegment } from './connector-dash.js';
|
|
21
21
|
export { connectorAdjustmentFraction, connectorBendFraction } from './connector-elbow-geometry.js';
|
|
22
22
|
export type { ElbowSegments } from './connector-elbow-geometry.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector-path.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/connector-path.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"connector-path.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/connector-path.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AASnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAKvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAWrD,OAAO,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAC1F,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACjE,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAC1E,YAAY,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,2BAA2B,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAChG,YAAY,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAEhE;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAChC,SAAS,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;CACrB;AAED,6EAA6E;AAC7E,MAAM,WAAW,iBAAiB;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,E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E,MAAM,GACjB,MAAM,GAAG,SAAS,CAYpB;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACrC,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,gBAAgB,GACxB,iBAAiB,CA+GnB;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,mBAAmB,CAClC,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,KAAK,SAAM,EACX,KAAK,SAAM,GACT,MAAM,GAAG,SAAS,CAsBpB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,GAAG,SAAS,CAElF;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAsB9E"}
|
|
@@ -16,6 +16,7 @@ import type { BackstageCardId } from '../backstage-cards.js';
|
|
|
16
16
|
import type { CanvasContextMenuCommandId } from '../canvas-context-menu-commands.js';
|
|
17
17
|
import type { ContextMenuCommandId } from '../context-menu-commands.js';
|
|
18
18
|
import type { EditorKeyActionName } from '../editor-keymap.js';
|
|
19
|
+
import type { GoogleFontsOption } from '../google-webfonts.js';
|
|
19
20
|
import type { ViewerOptionPrimitive } from '../options/viewer-options.js';
|
|
20
21
|
import type { RibbonContextualTabId, ToolbarButtonId, ToolbarTabId } from '../toolbar-actions.js';
|
|
21
22
|
import type { ResolvedCustomization } from './customization-resolve.js';
|
|
@@ -93,6 +94,13 @@ export interface ViewerCustomizationController {
|
|
|
93
94
|
* drop it.
|
|
94
95
|
*/
|
|
95
96
|
setAllowExternalContent(allow: boolean | undefined): void;
|
|
97
|
+
/**
|
|
98
|
+
* Apply the host `googleFonts` value: `false` (or an invalid mirror URL)
|
|
99
|
+
* locks the Trust Center setting `trust.allowFontDownloads` off, a valid
|
|
100
|
+
* `{ baseUrl }` locks it on, `undefined` leaves it to the user. Kept
|
|
101
|
+
* beside the customisation like {@link setAllowExternalContent}.
|
|
102
|
+
*/
|
|
103
|
+
setGoogleFonts(host: GoogleFontsOption | undefined): void;
|
|
96
104
|
}
|
|
97
105
|
/** Create the store for one viewer instance, seeded with `initial`. */
|
|
98
106
|
export declare function createCustomizationController(initial?: ViewerCustomization): ViewerCustomizationController;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customization-controller.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/customization/customization-controller.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"customization-controller.d.ts","sourceRoot":"","sources":["../../../../src/pptx/render/customization/customization-controller.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AA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C;CAC1D;AAkCD,uEAAuE;AACvE,wBAAgB,6BAA6B,CAC5C,OAAO,CAAC,EAAE,mBAAmB,GAC3B,6BAA6B,CA4I/B"}
|
|
@@ -1,61 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* PowerPoint's dash patterns
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* | preset | dash, gap, ... |
|
|
7
|
-
* | --------------------------- | ---------------------------------- |
|
|
8
|
-
* | `dash` | 4 3 |
|
|
9
|
-
* | `dot` | 1 3 |
|
|
10
|
-
* | `lgDash` | 8 3 |
|
|
11
|
-
* | `dashDot` | 4 3 1 3 |
|
|
12
|
-
* | `lgDashDot` | 8 3 1 3 |
|
|
13
|
-
* | `lgDashDotDot` | 8 3 1 3 1 3 |
|
|
14
|
-
* | `sysDash` | 3 1 |
|
|
15
|
-
* | `sysDot` | 1 1 |
|
|
16
|
-
* | `sysDashDot` | 3 1 1 1 |
|
|
17
|
-
* | `sysDashDotDot` | 3 1 1 1 1 1 |
|
|
18
|
-
* | `custDash` (`a:ds d sp`) | d, sp in 1000ths of a percent |
|
|
19
|
-
*
|
|
20
|
-
* Three behaviours the numbers alone do not say:
|
|
21
|
-
*
|
|
22
|
-
* - The unit is the pen width rounded to WHOLE device pixels (at least one),
|
|
23
|
-
* the same rounding the line itself gets: at 1280 px a 2 pt line (2.67 px)
|
|
24
|
-
* dashes as a 3 px pen, 1 pt (1.33 px) as 1 px. See {@link dashPenWidth}.
|
|
25
|
-
* - The pattern starts at the first point of the path with a dash.
|
|
26
|
-
* - Caps are part of the dash, not added to it. A `rnd` dash is the pattern's
|
|
27
|
-
* dash length INCLUDING its round ends (a `dot` is a circle one pen wide and
|
|
28
|
-
* the period is unchanged), and `sq` adds nothing to interior dashes: they
|
|
29
|
-
* are the flat dashes, only the line's own ends overshoot. SVG draws a cap
|
|
30
|
-
* on top of the dash, so {@link capCompensatedDashArray} shortens round dashes
|
|
31
|
-
* by one pen width, and the stroke uses a `butt` cap for dashed square lines
|
|
32
|
-
* (`svgLineCap(cap, true)`).
|
|
33
|
-
*
|
|
34
|
-
* Pure and framework-agnostic.
|
|
2
|
+
* PowerPoint's measured dash patterns. The logic lives in the core
|
|
3
|
+
* (`ooxml-core/drawingml`, `dash-pattern.ts`) so other formats can use it;
|
|
4
|
+
* this module keeps the render-layer exports in place.
|
|
35
5
|
*
|
|
36
6
|
* @module render/dash-pattern
|
|
37
7
|
*/
|
|
38
|
-
|
|
39
|
-
export
|
|
40
|
-
dash: number;
|
|
41
|
-
space: number;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* The pen width dash lengths scale with: the stroke width rounded to whole
|
|
45
|
-
* pixels, at least one (ties round down: 4.5 px dashes as 4 px, measured).
|
|
46
|
-
*/
|
|
47
|
-
export declare function dashPenWidth(strokeWidth: number): number;
|
|
48
|
-
/**
|
|
49
|
-
* The dash pattern of a preset or custom dash in pen widths, or `undefined` for
|
|
50
|
-
* a solid line.
|
|
51
|
-
*/
|
|
52
|
-
export declare function dashPatternUnits(dashType: string | undefined, customSegments?: ReadonlyArray<DashSegmentInput>): readonly number[] | undefined;
|
|
53
|
-
/** Whether an `a:ln` dash token paints a dashed (not solid) line. */
|
|
54
|
-
export declare function isDashedStroke(dashType: string | undefined): boolean;
|
|
55
|
-
/**
|
|
56
|
-
* The SVG dash array (user units) for a pattern at a stroke width. With a
|
|
57
|
-
* `rnd` cap each dash gives up one pen width to its two round ends, and the gap
|
|
58
|
-
* gains it back, so dots and dashes land where PowerPoint puts them.
|
|
59
|
-
*/
|
|
60
|
-
export declare function capCompensatedDashArray(pattern: readonly number[], strokeWidth: number, lineCap?: 'flat' | 'rnd' | 'sq'): string;
|
|
8
|
+
export { capCompensatedDashArray, dashPatternUnits, dashPenWidth, isDashedStroke, } from 'ooxml-core/drawingml';
|
|
9
|
+
export type { DashSegmentInput } from 'ooxml-core/drawingml';
|
|
61
10
|
//# sourceMappingURL=dash-pattern.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dash-pattern.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/dash-pattern.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"dash-pattern.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/dash-pattern.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EACN,uBAAuB,EACvB,gBAAgB,EAChB,YAAY,EACZ,cAAc,GACd,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Where PowerPoint puts the ends of a DASHED line with square caps.
|
|
3
|
+
*
|
|
4
|
+
* Measured on its own 1280x720 exports (0.75 pt to 9 pt, all ten presets): a
|
|
5
|
+
* square cap is applied to the line, not to every dash. The interior dashes
|
|
6
|
+
* are the flat dashes of the pattern; the FIRST dash reaches back past the
|
|
7
|
+
* start of the line by half the pen width, and the LAST one reaches past the
|
|
8
|
+
* end by half the pen width when the line ends inside a dash (a line that ends
|
|
9
|
+
* in a gap gains nothing). SVG's own `square` cap would lengthen every dash, so
|
|
10
|
+
* a dashed square line is stroked with `butt` caps (`svgLineCap(cap, true)`)
|
|
11
|
+
* and these two overshoots are drawn as extra sub-paths: a dash pattern
|
|
12
|
+
* restarts at every sub-path, and each sub-path here is shorter than the
|
|
13
|
+
* pattern's first dash, so it is painted solid.
|
|
14
|
+
*
|
|
15
|
+
* Only a single sub-path of absolute `M`/`L` (a straight line or a polyline,
|
|
16
|
+
* which covers straight and bent connectors and the line presets) is
|
|
17
|
+
* rewritten; curves, closed outlines and anything else come back unchanged.
|
|
18
|
+
*
|
|
19
|
+
* Pure and framework-agnostic.
|
|
20
|
+
*
|
|
21
|
+
* @module render/dash-square-cap
|
|
22
|
+
*/
|
|
23
|
+
import type { DashSegmentInput } from './dash-pattern.js';
|
|
24
|
+
/**
|
|
25
|
+
* The path data of a dashed square-cap line with PowerPoint's overshoot at its
|
|
26
|
+
* two ends (see the module comment), or `d` unchanged when it does not apply.
|
|
27
|
+
*
|
|
28
|
+
* @param d Absolute `M`/`L` path data of one open sub-path.
|
|
29
|
+
* @param strokeWidth The authored stroke width in px.
|
|
30
|
+
* @param dashType The `a:prstDash` token (`custom` with `customSegments`).
|
|
31
|
+
* @param lineCap `a:ln/@cap`; anything but `sq` returns `d`.
|
|
32
|
+
*/
|
|
33
|
+
export declare function squareCapDashedPathData(d: string, strokeWidth: number, dashType: string | undefined, lineCap: string | undefined, customSegments?: ReadonlyArray<DashSegmentInput>): string;
|
|
34
|
+
//# sourceMappingURL=dash-square-cap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dash-square-cap.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/dash-square-cap.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AA4CvD;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CACtC,CAAC,EAAE,MAAM,EACT,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,cAAc,CAAC,EAAE,aAAa,CAAC,gBAAgB,CAAC,GAC9C,MAAM,CAoCR"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { PptxEmbeddedFont, PptxSlide } from 'ooxml-core/pptx';
|
|
2
|
+
import type { FetchLike } from './text-warp-outline-webfont-fetch.js';
|
|
3
|
+
/** What {@link loadDeckWebfontOutlines} needs from a `GlyphOutlineFontCache`. */
|
|
4
|
+
export interface WebfontOutlineRegistrar {
|
|
5
|
+
registerFontBytes(family: string, bold: boolean, italic: boolean, bytes: Uint8Array): boolean;
|
|
6
|
+
}
|
|
7
|
+
/** Families used by glyph-envelope WordArt anywhere in `slides`. */
|
|
8
|
+
export declare function collectGlyphEnvelopeFontFamilies(slides: readonly PptxSlide[]): Set<string>;
|
|
9
|
+
export interface LoadDeckWebfontOutlinesOptions {
|
|
10
|
+
slides: readonly PptxSlide[];
|
|
11
|
+
embeddedFonts: readonly PptxEmbeddedFont[];
|
|
12
|
+
/** From `resolveGoogleFontsCss2Base`; `null` disables the fallback. */
|
|
13
|
+
googleFontsBase: string | null;
|
|
14
|
+
cache: WebfontOutlineRegistrar;
|
|
15
|
+
/** Checked between fetches; a superseded deck stops registering. */
|
|
16
|
+
isCancelled?: () => boolean;
|
|
17
|
+
fetchImpl?: FetchLike;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Fetch and register the outline bytes of the webfonts glyph-envelope
|
|
21
|
+
* WordArt uses. Resolves `true` when any font was registered (the binding
|
|
22
|
+
* then repaints), `false` otherwise. Best-effort; never rejects.
|
|
23
|
+
*/
|
|
24
|
+
export declare function loadDeckWebfontOutlines(options: LoadDeckWebfontOutlinesOptions): Promise<boolean>;
|
|
25
|
+
//# sourceMappingURL=deck-webfont-outlines.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deck-webfont-outlines.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/deck-webfont-outlines.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAe,gBAAgB,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAMhF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAGnE,iFAAiF;AACjF,MAAM,WAAW,uBAAuB;IACvC,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC;CAC9F;AAaD,oEAAoE;AACpE,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,CAQ1F;AAED,MAAM,WAAW,8BAA8B;IAC9C,MAAM,EAAE,SAAS,SAAS,EAAE,CAAC;IAC7B,aAAa,EAAE,SAAS,gBAAgB,EAAE,CAAC;IAC3C,uEAAuE;IACvE,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,KAAK,EAAE,uBAAuB,CAAC;IAC/B,oEAAoE;IACpE,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,SAAS,CAAC;CACtB;AAOD;;;;GAIG;AACH,wBAAsB,uBAAuB,CAC5C,OAAO,EAAE,8BAA8B,GACrC,OAAO,CAAC,OAAO,CAAC,CAgClB"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { PptxEmbeddedFont, PptxSlide } from 'ooxml-core/pptx';
|
|
2
|
+
/** How long the wait may last before the deck is shown with stand-in faces. */
|
|
3
|
+
export declare const DECK_WEBFONT_TIMEOUT_MS = 8000;
|
|
4
|
+
/** How long the wait lasts before progress is reported. */
|
|
5
|
+
export declare const DECK_WEBFONT_PROGRESS_DELAY_MS = 400;
|
|
6
|
+
/** Progress of the wait, by webfont family (the names the stylesheet serves). */
|
|
7
|
+
export interface DeckWebfontProgress {
|
|
8
|
+
/** Families whose faces have all loaded or failed. */
|
|
9
|
+
loaded: number;
|
|
10
|
+
total: number;
|
|
11
|
+
/** Every family being downloaded, in deck order. */
|
|
12
|
+
families: readonly string[];
|
|
13
|
+
}
|
|
14
|
+
/** Outcome of {@link prepareDeckWebfonts}. */
|
|
15
|
+
export interface DeckWebfontReadiness {
|
|
16
|
+
/** The stylesheet the binding's `<link>` now points at, or `null`. */
|
|
17
|
+
href: string | null;
|
|
18
|
+
/** Webfont families the deck waited for (canonical catalogue names). */
|
|
19
|
+
families: readonly string[];
|
|
20
|
+
/** Referenced families with no installed, embedded or catalogue face. */
|
|
21
|
+
unavailable: readonly string[];
|
|
22
|
+
/** The wait ended at `timeoutMs` with faces still downloading. */
|
|
23
|
+
timedOut: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface PrepareDeckWebfontsOptions {
|
|
26
|
+
document: Document;
|
|
27
|
+
/** The binding's managed `<link>` id (the one its webfont effect syncs). */
|
|
28
|
+
linkId: string;
|
|
29
|
+
/** The slides the binding's webfont effect will read, so both resolve one href. */
|
|
30
|
+
slides: readonly PptxSlide[];
|
|
31
|
+
embeddedFonts: readonly PptxEmbeddedFont[];
|
|
32
|
+
/** From `resolveGoogleFontsCss2Base`; `null` disables the fallback and the wait. */
|
|
33
|
+
googleFontsBase: string | null;
|
|
34
|
+
onProgress?: (progress: DeckWebfontProgress) => void;
|
|
35
|
+
timeoutMs?: number;
|
|
36
|
+
progressDelayMs?: number;
|
|
37
|
+
isLocallyInstalled?: (family: string) => boolean;
|
|
38
|
+
}
|
|
39
|
+
/** One face the slides draw: CSS `font` shorthand plus the characters drawn in it. */
|
|
40
|
+
interface FaceUse {
|
|
41
|
+
family: string;
|
|
42
|
+
font: string;
|
|
43
|
+
chars: Set<string>;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* The faces the slides draw in `candidates`, by served family, and the
|
|
47
|
+
* candidates the catalogue does not serve.
|
|
48
|
+
*/
|
|
49
|
+
export declare function collectDeckWebfontFaces(slides: readonly PptxSlide[], candidates: readonly string[]): {
|
|
50
|
+
faces: Map<string, FaceUse[]>;
|
|
51
|
+
unavailable: string[];
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Inject the deck's webfont stylesheet and wait (bounded) for the faces its
|
|
55
|
+
* slides draw, as described in the module comment. Never rejects.
|
|
56
|
+
*/
|
|
57
|
+
export declare function prepareDeckWebfonts(options: PrepareDeckWebfontsOptions): Promise<DeckWebfontReadiness>;
|
|
58
|
+
export {};
|
|
59
|
+
//# sourceMappingURL=deck-webfont-readiness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deck-webfont-readiness.d.ts","sourceRoot":"","sources":["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MAAM,CAAC;IACb,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CACnB;AA4DD;;;GAGG;AACH,wBAAgB,uBAAuB,CACtC,MAAM,EAAE,SAAS,SAAS,EAAE,EAC5B,UAAU,EAAE,SAAS,MAAM,EAAE,GAC3B;IAAE,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IAAC,WAAW,EAAE,MAAM,EAAE,CAAA;CAAE,CA2C1D;AAqBD;;;GAGG;AACH,wBAAsB,mBAAmB,CACxC,OAAO,EAAE,0BAA0B,GACjC,OAAO,CAAC,oBAAoB,CAAC,CAuE/B"}
|
|
@@ -92,7 +92,7 @@ export declare function snappedStrokeShift(coord: number, width: number | undefi
|
|
|
92
92
|
export declare function snappedStrokeTransform(axis: 'h' | 'v' | 'box', x: number, y: number, width: number | undefined, size?: {
|
|
93
93
|
width: number;
|
|
94
94
|
height: number;
|
|
95
|
-
}, exact?: DeviceBox): string | undefined;
|
|
95
|
+
}, exact?: DeviceBox, alongDashed?: boolean): string | undefined;
|
|
96
96
|
/**
|
|
97
97
|
* The on-screen CSS width of a `border-width`: never under one device pixel
|
|
98
98
|
* inside a stage, the authored width anywhere else. Unlike
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-pixel-stroke.d.ts","sourceRoot":"","sources":["../../../src/pptx/render/device-pixel-stroke.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEtD,uEAAuE;AACvE,eAAO,MAAM,aAAa,qBAAqB,CAAC;AAChD,mFAAmF;AACnF,eAAO,MAAM,sBAAsB,eAAe,CAAC;AAqBnD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,eAAe,SAAI,GAAG,MAAM,CAQxF;AAeD;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B,CAAC,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,CAwBjF"}
|
|
@@ -199,6 +199,12 @@ export interface GradientRenderContext {
|
|
|
199
199
|
* gradient then follows the box, which is the `path="rect"` field.
|
|
200
200
|
*/
|
|
201
201
|
rectangular?: boolean;
|
|
202
|
+
/** The element's preset geometry name, for the `path="shape"` field. */
|
|
203
|
+
shapeType?: string;
|
|
204
|
+
/** The element's preset adjustments. */
|
|
205
|
+
shapeAdjustments?: Record<string, number> | undefined;
|
|
206
|
+
/** The element is a freeform (`a:custGeom`): `path="shape"` paints the circle. */
|
|
207
|
+
freeform?: boolean;
|
|
202
208
|
}
|
|
203
209
|
/**
|
|
204
210
|
* Converts a structured OOXML gradient on a `ShapeStyle` to a CSS
|