ooxml-ui 1.26.2 → 1.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chart/format-pane-types.d.ts +0 -1
- package/dist/chart/format-pane-view.d.ts +0 -1
- package/dist/pptx/{chunk-43NFRLCD.cjs → chunk-37VJFRCP.cjs} +2 -2
- package/dist/pptx/{chunk-3ZI57W7O.mjs → chunk-3LOVEO7U.mjs} +5 -0
- package/dist/pptx/{chunk-72P6AWRA.mjs → chunk-67L75M6K.mjs} +1 -1
- package/dist/pptx/{chunk-B4GBGPNL.cjs → chunk-CWWL7MCL.cjs} +99 -0
- package/dist/pptx/{chunk-7DIZOCO4.mjs → chunk-FUKVYJPM.mjs} +59 -2
- package/dist/pptx/{chunk-OOQMIQT3.cjs → chunk-GWKTHP6U.cjs} +0 -23
- package/dist/pptx/{chunk-LB3A3GF6.mjs → chunk-MJACF7Y2.mjs} +0 -23
- package/dist/pptx/{chunk-HF2YJASV.mjs → chunk-OD6REJDV.mjs} +2 -1
- package/dist/pptx/{chunk-4PYBBOIK.cjs → chunk-TMCN2OVN.cjs} +44 -43
- package/dist/pptx/{chunk-NFP4PCTP.cjs → chunk-VMDMICQC.cjs} +1346 -325
- package/dist/pptx/{chunk-R5GKUSHI.mjs → chunk-XZX7EHX4.mjs} +1290 -233
- package/dist/pptx/{chunk-X4FNVH7J.cjs → chunk-YMITEJST.cjs} +32 -0
- package/dist/pptx/dom/index.cjs +390 -390
- package/dist/pptx/dom/index.mjs +9 -9
- package/dist/pptx/export/index.d.ts +1 -0
- package/dist/pptx/export/index.d.ts.map +1 -1
- package/dist/pptx/export/print-document.cjs +17 -17
- package/dist/pptx/export/print-document.d.ts +7 -5
- package/dist/pptx/export/print-document.d.ts.map +1 -1
- package/dist/pptx/export/print-document.mjs +1 -1
- package/dist/pptx/export/print-job.d.ts +134 -0
- package/dist/pptx/export/print-job.d.ts.map +1 -0
- 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 +3268 -3116
- package/dist/pptx/index.mjs +5 -5
- package/dist/pptx/render/controller/history-controller.d.ts +6 -0
- package/dist/pptx/render/controller/history-controller.d.ts.map +1 -1
- package/dist/pptx/render/deck-save-encryption.d.ts +10 -1
- package/dist/pptx/render/deck-save-encryption.d.ts.map +1 -1
- package/dist/pptx/render/deck-style.d.ts +12 -1
- package/dist/pptx/render/deck-style.d.ts.map +1 -1
- package/dist/pptx/render/find-replace-session-actions.d.ts +44 -0
- package/dist/pptx/render/find-replace-session-actions.d.ts.map +1 -0
- package/dist/pptx/render/find-replace-session.d.ts +120 -0
- package/dist/pptx/render/find-replace-session.d.ts.map +1 -0
- package/dist/pptx/render/format-painter.cjs +5 -5
- package/dist/pptx/render/format-painter.mjs +2 -2
- package/dist/pptx/render/google-webfonts.d.ts +32 -1
- package/dist/pptx/render/google-webfonts.d.ts.map +1 -1
- package/dist/pptx/render/index.d.ts +7 -0
- package/dist/pptx/render/index.d.ts.map +1 -1
- package/dist/pptx/render/inserted-slide-layout.d.ts +28 -0
- package/dist/pptx/render/inserted-slide-layout.d.ts.map +1 -0
- package/dist/pptx/render/inspector/index.d.ts +4 -0
- package/dist/pptx/render/inspector/index.d.ts.map +1 -1
- package/dist/pptx/render/inspector/inspector-color-fields.d.ts +38 -0
- package/dist/pptx/render/inspector/inspector-color-fields.d.ts.map +1 -0
- package/dist/pptx/render/inspector/text-effect-fields.d.ts +29 -0
- package/dist/pptx/render/inspector/text-effect-fields.d.ts.map +1 -0
- package/dist/pptx/render/inspector-helpers.cjs +21 -13
- package/dist/pptx/render/inspector-helpers.d.ts +10 -1
- package/dist/pptx/render/inspector-helpers.d.ts.map +1 -1
- package/dist/pptx/render/inspector-helpers.mjs +1 -1
- package/dist/pptx/render/live-color-input.d.ts +93 -0
- package/dist/pptx/render/live-color-input.d.ts.map +1 -0
- package/dist/pptx/render/live-color-leaves.d.ts +34 -0
- package/dist/pptx/render/live-color-leaves.d.ts.map +1 -0
- package/dist/pptx/render/master-view-crud-history.d.ts +45 -0
- package/dist/pptx/render/master-view-crud-history.d.ts.map +1 -0
- package/dist/pptx/render/master-view-crud.d.ts +11 -0
- package/dist/pptx/render/master-view-crud.d.ts.map +1 -1
- package/dist/pptx/render/theme-by-path.d.ts +61 -0
- package/dist/pptx/render/theme-by-path.d.ts.map +1 -0
- package/dist/pptx/render/theme-history.d.ts +146 -0
- package/dist/pptx/render/theme-history.d.ts.map +1 -0
- package/dist/pptx/render/theme-write-queue.d.ts +21 -0
- package/dist/pptx/render/theme-write-queue.d.ts.map +1 -0
- package/dist/pptx/render/viewer-preferences.d.ts +11 -0
- package/dist/pptx/render/viewer-preferences.d.ts.map +1 -1
- package/dist/pptx/render/viewer-props-manifest.d.ts.map +1 -1
- package/dist/pptx/{smartart-insert-preview-CTBWMXNX.cjs → smartart-insert-preview-MCDHVWHZ.cjs} +7 -7
- package/dist/pptx/{smartart-insert-preview-QJBRDU4C.mjs → smartart-insert-preview-QQH5ZBSF.mjs} +6 -6
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCWWL7MCL_cjs = require('./chunk-CWWL7MCL.cjs');
|
|
4
4
|
var pptx = require('ooxml-core/pptx');
|
|
5
5
|
|
|
6
6
|
function copyFormatFromElement(element) {
|
|
@@ -77,7 +77,7 @@ function applyFormatToElement(element, format) {
|
|
|
77
77
|
if (format.textStyle && pptx.hasTextProperties(updated)) {
|
|
78
78
|
updated = {
|
|
79
79
|
...updated,
|
|
80
|
-
...
|
|
80
|
+
...chunkCWWL7MCL_cjs.textStylePatch(updated, definedEntries(format.textStyle))
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
return updated;
|
|
@@ -2,6 +2,8 @@ import { handoutMasterChrome } from './chunk-IXFG46KB.mjs';
|
|
|
2
2
|
import { escapeHtml, safeDataImageSrc } from './chunk-IEAO7N4E.mjs';
|
|
3
3
|
import { HANDOUT_OPTIONS, getHandoutGrid } from './chunk-WHUMPYEM.mjs';
|
|
4
4
|
import DOMPurify from 'dompurify';
|
|
5
|
+
import { isTemplateElement } from 'ooxml-core/pptx/editor/render/element';
|
|
6
|
+
export { formatCommentTimestamp, getCommentMarkerPosition, getConnectionSitePosition, getElementLabel, isEditableTextElement, isTemplateElement, isTemplateElementId } from 'ooxml-core/pptx/editor/render/element';
|
|
5
7
|
|
|
6
8
|
function purifyFn() {
|
|
7
9
|
const purify = DOMPurify;
|
|
@@ -179,6 +181,9 @@ function slideTitle(slide, index) {
|
|
|
179
181
|
}
|
|
180
182
|
const elements = slide.elements ?? [];
|
|
181
183
|
for (const el of elements) {
|
|
184
|
+
if (isTemplateElement(el)) {
|
|
185
|
+
continue;
|
|
186
|
+
}
|
|
182
187
|
if ("text" in el) {
|
|
183
188
|
const text = el.text;
|
|
184
189
|
if (typeof text === "string" && text.trim()) {
|
|
@@ -5,9 +5,59 @@ var chunkPBZWDEXQ_cjs = require('./chunk-PBZWDEXQ.cjs');
|
|
|
5
5
|
var pptx = require('ooxml-core/pptx');
|
|
6
6
|
var textRunsStylePatch = require('ooxml-core/pptx/editor/render/text-runs-style-patch');
|
|
7
7
|
var fontFamilyUpdate = require('ooxml-core/pptx/editor/render/font-family-update');
|
|
8
|
+
var elementLocks = require('ooxml-core/pptx/editor/render/element-locks');
|
|
8
9
|
var textContentStyle = require('ooxml-core/pptx/editor/render/text-content-style');
|
|
9
10
|
var textStyleScope = require('ooxml-core/pptx/editor/render/text-style-scope');
|
|
10
11
|
|
|
12
|
+
// src/pptx/render/arrange-extras.ts
|
|
13
|
+
var DEFAULT_STROKE_WIDTH = 1;
|
|
14
|
+
function canGroupSelection(canEdit, selectedCount, selectionGroupable = true) {
|
|
15
|
+
return canEdit && selectedCount >= 2 && selectionGroupable;
|
|
16
|
+
}
|
|
17
|
+
function canUngroupSelection(canEdit, element) {
|
|
18
|
+
return canEdit && element?.type === "group" && elementLocks.canInteractWithElement(element, "group");
|
|
19
|
+
}
|
|
20
|
+
function canSetStrokeWidth(canEdit, element) {
|
|
21
|
+
return canEdit && element !== null && pptx.hasShapeProperties(element);
|
|
22
|
+
}
|
|
23
|
+
function strokeWidthOf(element) {
|
|
24
|
+
if (element === null || !pptx.hasShapeProperties(element)) {
|
|
25
|
+
return DEFAULT_STROKE_WIDTH;
|
|
26
|
+
}
|
|
27
|
+
return element.shapeStyle?.strokeWidth ?? DEFAULT_STROKE_WIDTH;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// src/pptx/render/ribbon-home-commands.ts
|
|
31
|
+
function resetSlideLayoutPath(slide) {
|
|
32
|
+
const path = slide?.layoutPath;
|
|
33
|
+
return typeof path === "string" && path !== "" ? path : void 0;
|
|
34
|
+
}
|
|
35
|
+
function shapeFillChange(hex, ref) {
|
|
36
|
+
return { fillColor: hex, fillColorRef: ref, fillMode: "solid" };
|
|
37
|
+
}
|
|
38
|
+
function shapeOutlineChange(hex, ref, current) {
|
|
39
|
+
const change = { strokeColor: hex, strokeColorRef: ref };
|
|
40
|
+
const lineShows = (current?.strokeWidth ?? 0) > 0;
|
|
41
|
+
if (current && !lineShows) {
|
|
42
|
+
change.strokeWidth = DEFAULT_STROKE_WIDTH;
|
|
43
|
+
change.strokeFillMode = "solid";
|
|
44
|
+
}
|
|
45
|
+
return change;
|
|
46
|
+
}
|
|
47
|
+
var RIBBON_SHAPE_SWATCHES = [
|
|
48
|
+
"#ffffff",
|
|
49
|
+
"#000000",
|
|
50
|
+
"#c00000",
|
|
51
|
+
"#ff0000",
|
|
52
|
+
"#ffc000",
|
|
53
|
+
"#ffff00",
|
|
54
|
+
"#92d050",
|
|
55
|
+
"#00b050",
|
|
56
|
+
"#00b0f0",
|
|
57
|
+
"#0070c0",
|
|
58
|
+
"#002060",
|
|
59
|
+
"#7030a0"
|
|
60
|
+
];
|
|
11
61
|
function contentSegmentsInSelection(segments, selection) {
|
|
12
62
|
if (!segments) {
|
|
13
63
|
return [];
|
|
@@ -103,6 +153,12 @@ function shapeStylePatch(el, changes) {
|
|
|
103
153
|
}
|
|
104
154
|
};
|
|
105
155
|
}
|
|
156
|
+
function strokeColorChange(el, hex, ref) {
|
|
157
|
+
return shapeOutlineChange(hex, ref, pptx.hasShapeProperties(el) ? el.shapeStyle ?? {} : {});
|
|
158
|
+
}
|
|
159
|
+
function strokeColorPatch(el, hex, ref) {
|
|
160
|
+
return shapeStylePatch(el, strokeColorChange(el, hex, ref));
|
|
161
|
+
}
|
|
106
162
|
function textStylePatch(el, changes) {
|
|
107
163
|
const base = pptx.hasTextProperties(el) ? el.textStyle ?? {} : {};
|
|
108
164
|
const exclusive = textStyleScope.withExclusiveLineSpacing(changes);
|
|
@@ -147,6 +203,38 @@ Object.defineProperty(exports, "mergeTextStyleUpdate", {
|
|
|
147
203
|
enumerable: true,
|
|
148
204
|
get: function () { return fontFamilyUpdate.mergeTextStyleUpdate; }
|
|
149
205
|
});
|
|
206
|
+
Object.defineProperty(exports, "canDrillDown", {
|
|
207
|
+
enumerable: true,
|
|
208
|
+
get: function () { return elementLocks.canDrillDown; }
|
|
209
|
+
});
|
|
210
|
+
Object.defineProperty(exports, "canInteractWithElement", {
|
|
211
|
+
enumerable: true,
|
|
212
|
+
get: function () { return elementLocks.canInteractWithElement; }
|
|
213
|
+
});
|
|
214
|
+
Object.defineProperty(exports, "elementLockTogglePatch", {
|
|
215
|
+
enumerable: true,
|
|
216
|
+
get: function () { return elementLocks.elementLockTogglePatch; }
|
|
217
|
+
});
|
|
218
|
+
Object.defineProperty(exports, "filterInteractableIds", {
|
|
219
|
+
enumerable: true,
|
|
220
|
+
get: function () { return elementLocks.filterInteractableIds; }
|
|
221
|
+
});
|
|
222
|
+
Object.defineProperty(exports, "getElementLocks", {
|
|
223
|
+
enumerable: true,
|
|
224
|
+
get: function () { return elementLocks.getElementLocks; }
|
|
225
|
+
});
|
|
226
|
+
Object.defineProperty(exports, "isElementInteractionLocked", {
|
|
227
|
+
enumerable: true,
|
|
228
|
+
get: function () { return elementLocks.isElementInteractionLocked; }
|
|
229
|
+
});
|
|
230
|
+
Object.defineProperty(exports, "isElementLocked", {
|
|
231
|
+
enumerable: true,
|
|
232
|
+
get: function () { return elementLocks.isElementLocked; }
|
|
233
|
+
});
|
|
234
|
+
Object.defineProperty(exports, "resolveElementInteractivity", {
|
|
235
|
+
enumerable: true,
|
|
236
|
+
get: function () { return elementLocks.resolveElementInteractivity; }
|
|
237
|
+
});
|
|
150
238
|
Object.defineProperty(exports, "TEXT_DECORATION_FLAGS", {
|
|
151
239
|
enumerable: true,
|
|
152
240
|
get: function () { return textContentStyle.TEXT_DECORATION_FLAGS; }
|
|
@@ -188,6 +276,11 @@ Object.defineProperty(exports, "withExclusiveLineSpacing", {
|
|
|
188
276
|
get: function () { return textStyleScope.withExclusiveLineSpacing; }
|
|
189
277
|
});
|
|
190
278
|
exports.DEFAULT_FONT_SIZE = DEFAULT_FONT_SIZE;
|
|
279
|
+
exports.DEFAULT_STROKE_WIDTH = DEFAULT_STROKE_WIDTH;
|
|
280
|
+
exports.RIBBON_SHAPE_SWATCHES = RIBBON_SHAPE_SWATCHES;
|
|
281
|
+
exports.canGroupSelection = canGroupSelection;
|
|
282
|
+
exports.canSetStrokeWidth = canSetStrokeWidth;
|
|
283
|
+
exports.canUngroupSelection = canUngroupSelection;
|
|
191
284
|
exports.contentSegmentsInSelection = contentSegmentsInSelection;
|
|
192
285
|
exports.fillColorOf = fillColorOf;
|
|
193
286
|
exports.fontSizeOf = fontSizeOf;
|
|
@@ -196,8 +289,14 @@ exports.isBold = isBold;
|
|
|
196
289
|
exports.isItalic = isItalic;
|
|
197
290
|
exports.isUnderline = isUnderline;
|
|
198
291
|
exports.nextToggleValue = nextToggleValue;
|
|
292
|
+
exports.resetSlideLayoutPath = resetSlideLayoutPath;
|
|
293
|
+
exports.shapeFillChange = shapeFillChange;
|
|
294
|
+
exports.shapeOutlineChange = shapeOutlineChange;
|
|
199
295
|
exports.shapeStylePatch = shapeStylePatch;
|
|
296
|
+
exports.strokeColorChange = strokeColorChange;
|
|
200
297
|
exports.strokeColorOf = strokeColorOf;
|
|
298
|
+
exports.strokeColorPatch = strokeColorPatch;
|
|
299
|
+
exports.strokeWidthOf = strokeWidthOf;
|
|
201
300
|
exports.textColorOf = textColorOf;
|
|
202
301
|
exports.textFontFamilyPatch = textFontFamilyPatch;
|
|
203
302
|
exports.textFontSizePatch = textFontSizePatch;
|
|
@@ -1,14 +1,65 @@
|
|
|
1
1
|
import { textFontSizePxToPt } from './chunk-SMSCEGAE.mjs';
|
|
2
2
|
import { updateTextSegmentStyle } from './chunk-PEDGPFLR.mjs';
|
|
3
|
-
import {
|
|
3
|
+
import { hasShapeProperties, hasTextProperties } from 'ooxml-core/pptx';
|
|
4
4
|
import { textRunsStylePatch } from 'ooxml-core/pptx/editor/render/text-runs-style-patch';
|
|
5
5
|
import { mergeTextStyleUpdate } from 'ooxml-core/pptx/editor/render/font-family-update';
|
|
6
6
|
export { fontFamilyStyleUpdates, mergeTextStyleUpdate } from 'ooxml-core/pptx/editor/render/font-family-update';
|
|
7
|
+
import { canInteractWithElement } from 'ooxml-core/pptx/editor/render/element-locks';
|
|
8
|
+
export { canDrillDown, canInteractWithElement, elementLockTogglePatch, filterInteractableIds, getElementLocks, isElementInteractionLocked, isElementLocked, resolveElementInteractivity } from 'ooxml-core/pptx/editor/render/element-locks';
|
|
7
9
|
import { isContentSegment, TEXT_DECORATION_FLAGS } from 'ooxml-core/pptx/editor/render/text-content-style';
|
|
8
10
|
export { TEXT_DECORATION_FLAGS, isContentSegment } from 'ooxml-core/pptx/editor/render/text-content-style';
|
|
9
11
|
import { withExclusiveLineSpacing, paragraphOverridePatch } from 'ooxml-core/pptx/editor/render/text-style-scope';
|
|
10
12
|
export { BODY_TEXT_STYLE_KEYS, isBodyTextStyleKey, overrideParagraphIndents, overrideParagraphProperties, paragraphOverridePatch, reconcileDecorationFlags, splitTextStyleUpdate, withExclusiveLineSpacing } from 'ooxml-core/pptx/editor/render/text-style-scope';
|
|
11
13
|
|
|
14
|
+
// src/pptx/render/arrange-extras.ts
|
|
15
|
+
var DEFAULT_STROKE_WIDTH = 1;
|
|
16
|
+
function canGroupSelection(canEdit, selectedCount, selectionGroupable = true) {
|
|
17
|
+
return canEdit && selectedCount >= 2 && selectionGroupable;
|
|
18
|
+
}
|
|
19
|
+
function canUngroupSelection(canEdit, element) {
|
|
20
|
+
return canEdit && element?.type === "group" && canInteractWithElement(element, "group");
|
|
21
|
+
}
|
|
22
|
+
function canSetStrokeWidth(canEdit, element) {
|
|
23
|
+
return canEdit && element !== null && hasShapeProperties(element);
|
|
24
|
+
}
|
|
25
|
+
function strokeWidthOf(element) {
|
|
26
|
+
if (element === null || !hasShapeProperties(element)) {
|
|
27
|
+
return DEFAULT_STROKE_WIDTH;
|
|
28
|
+
}
|
|
29
|
+
return element.shapeStyle?.strokeWidth ?? DEFAULT_STROKE_WIDTH;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// src/pptx/render/ribbon-home-commands.ts
|
|
33
|
+
function resetSlideLayoutPath(slide) {
|
|
34
|
+
const path = slide?.layoutPath;
|
|
35
|
+
return typeof path === "string" && path !== "" ? path : void 0;
|
|
36
|
+
}
|
|
37
|
+
function shapeFillChange(hex, ref) {
|
|
38
|
+
return { fillColor: hex, fillColorRef: ref, fillMode: "solid" };
|
|
39
|
+
}
|
|
40
|
+
function shapeOutlineChange(hex, ref, current) {
|
|
41
|
+
const change = { strokeColor: hex, strokeColorRef: ref };
|
|
42
|
+
const lineShows = (current?.strokeWidth ?? 0) > 0;
|
|
43
|
+
if (current && !lineShows) {
|
|
44
|
+
change.strokeWidth = DEFAULT_STROKE_WIDTH;
|
|
45
|
+
change.strokeFillMode = "solid";
|
|
46
|
+
}
|
|
47
|
+
return change;
|
|
48
|
+
}
|
|
49
|
+
var RIBBON_SHAPE_SWATCHES = [
|
|
50
|
+
"#ffffff",
|
|
51
|
+
"#000000",
|
|
52
|
+
"#c00000",
|
|
53
|
+
"#ff0000",
|
|
54
|
+
"#ffc000",
|
|
55
|
+
"#ffff00",
|
|
56
|
+
"#92d050",
|
|
57
|
+
"#00b050",
|
|
58
|
+
"#00b0f0",
|
|
59
|
+
"#0070c0",
|
|
60
|
+
"#002060",
|
|
61
|
+
"#7030a0"
|
|
62
|
+
];
|
|
12
63
|
function contentSegmentsInSelection(segments, selection) {
|
|
13
64
|
if (!segments) {
|
|
14
65
|
return [];
|
|
@@ -104,6 +155,12 @@ function shapeStylePatch(el, changes) {
|
|
|
104
155
|
}
|
|
105
156
|
};
|
|
106
157
|
}
|
|
158
|
+
function strokeColorChange(el, hex, ref) {
|
|
159
|
+
return shapeOutlineChange(hex, ref, hasShapeProperties(el) ? el.shapeStyle ?? {} : {});
|
|
160
|
+
}
|
|
161
|
+
function strokeColorPatch(el, hex, ref) {
|
|
162
|
+
return shapeStylePatch(el, strokeColorChange(el, hex, ref));
|
|
163
|
+
}
|
|
107
164
|
function textStylePatch(el, changes) {
|
|
108
165
|
const base = hasTextProperties(el) ? el.textStyle ?? {} : {};
|
|
109
166
|
const exclusive = withExclusiveLineSpacing(changes);
|
|
@@ -140,4 +197,4 @@ function textFontFamilyPatch(el, fontFamily) {
|
|
|
140
197
|
return textRunsPatch(el, { fontFamily });
|
|
141
198
|
}
|
|
142
199
|
|
|
143
|
-
export { DEFAULT_FONT_SIZE, contentSegmentsInSelection, fillColorOf, fontSizeOf, getSelectionTextStyleFlags, isBold, isItalic, isUnderline, nextToggleValue, shapeStylePatch, strokeColorOf, textColorOf, textFontFamilyPatch, textFontSizePatch, textStyleFlagsOf, textStylePatch };
|
|
200
|
+
export { DEFAULT_FONT_SIZE, DEFAULT_STROKE_WIDTH, RIBBON_SHAPE_SWATCHES, canGroupSelection, canSetStrokeWidth, canUngroupSelection, contentSegmentsInSelection, fillColorOf, fontSizeOf, getSelectionTextStyleFlags, isBold, isItalic, isUnderline, nextToggleValue, resetSlideLayoutPath, shapeFillChange, shapeOutlineChange, shapeStylePatch, strokeColorChange, strokeColorOf, strokeColorPatch, strokeWidthOf, textColorOf, textFontFamilyPatch, textFontSizePatch, textStyleFlagsOf, textStylePatch };
|
|
@@ -2272,9 +2272,7 @@ var translationsEn = {
|
|
|
2272
2272
|
// Comments
|
|
2273
2273
|
"pptx.comments.addComment": "Add Comment",
|
|
2274
2274
|
"pptx.comments.noComments": "No comments",
|
|
2275
|
-
"pptx.comments.author": "Author",
|
|
2276
2275
|
"pptx.comments.resolved": "Resolved",
|
|
2277
|
-
"pptx.comments.clickToSelect": "Click to select element",
|
|
2278
2276
|
"pptx.comments.deletedElement": "Deleted element",
|
|
2279
2277
|
"pptx.comments.save": "Save",
|
|
2280
2278
|
"pptx.comments.cancel": "Cancel",
|
|
@@ -2284,7 +2282,6 @@ var translationsEn = {
|
|
|
2284
2282
|
"pptx.comments.unresolve": "Unresolve",
|
|
2285
2283
|
"pptx.comments.delete": "Delete",
|
|
2286
2284
|
"pptx.comments.commentingOn": "Commenting on:",
|
|
2287
|
-
"pptx.comments.commentOnElement": "Comment on {{element}}...",
|
|
2288
2285
|
"pptx.comments.addCommentPlaceholder": "Add a comment...",
|
|
2289
2286
|
// Header & Footer
|
|
2290
2287
|
"pptx.headerFooter.title": "Header & Footer",
|
|
@@ -2845,15 +2842,10 @@ var translationsEn = {
|
|
|
2845
2842
|
"pptx.smartart.extraConnections": "This diagram has {{count}} extra connection(s) that the text pane does not edit.",
|
|
2846
2843
|
"pptx.smartart.tabHint": "Enter adds an item, Backspace removes an empty one, Tab demotes, Shift+Tab promotes.",
|
|
2847
2844
|
// 3D text / text effects / text panel / text warp
|
|
2848
|
-
"pptx.text3d.type": "Type",
|
|
2849
|
-
"pptx.text3d.width": "Width",
|
|
2850
|
-
"pptx.text3d.height": "Height",
|
|
2851
2845
|
"pptx.text3d.title": "3D Text",
|
|
2852
2846
|
"pptx.text3d.extrusion": "3D Extrusion",
|
|
2853
2847
|
"pptx.text3d.depth": "Depth (pt)",
|
|
2854
|
-
"pptx.text3d.color": "Color",
|
|
2855
2848
|
"pptx.text3d.topBevel": "Top Bevel",
|
|
2856
|
-
"pptx.text3d.bottomBevel": "Bottom Bevel",
|
|
2857
2849
|
"pptx.text3d.material": "Material",
|
|
2858
2850
|
"pptx.textEffects.title": "Text Effects",
|
|
2859
2851
|
"pptx.textEffects.shadow": "Text Shadow",
|
|
@@ -3815,7 +3807,6 @@ var translationsEn = {
|
|
|
3815
3807
|
"pptx.print.rangeCurrent": "Current slide ({{count}})",
|
|
3816
3808
|
"pptx.print.rangeCustom": "Custom range",
|
|
3817
3809
|
// Document properties (Vue's variant, alongside pptx.documentProperties.*)
|
|
3818
|
-
"pptx.properties.title": "Document properties",
|
|
3819
3810
|
"pptx.properties.titleLabel": "Title",
|
|
3820
3811
|
"pptx.properties.author": "Author",
|
|
3821
3812
|
"pptx.properties.subject": "Subject",
|
|
@@ -4025,8 +4016,6 @@ var translationsEn = {
|
|
|
4025
4016
|
"pptx.ribbon.alignTop": "Align top",
|
|
4026
4017
|
"pptx.ribbon.alignMiddle": "Align middle",
|
|
4027
4018
|
"pptx.ribbon.alignBottom": "Align bottom",
|
|
4028
|
-
"pptx.ribbon.distributeHorizontally": "Distribute horizontally",
|
|
4029
|
-
"pptx.ribbon.distributeVertically": "Distribute vertically",
|
|
4030
4019
|
"pptx.ribbon.group": "Group",
|
|
4031
4020
|
"pptx.ribbon.ungroup": "Ungroup",
|
|
4032
4021
|
"pptx.ribbon.setUpShow": "Set Up Show",
|
|
@@ -4346,7 +4335,6 @@ var translationsEn = {
|
|
|
4346
4335
|
// truth reference these were derived from). Appended flat rather than
|
|
4347
4336
|
// interleaved into their semantic sections above, to keep this batch
|
|
4348
4337
|
// change safe/reviewable as one block.
|
|
4349
|
-
"pptx.align.toolbarLabel": "Align and distribute",
|
|
4350
4338
|
"pptx.arrange.deleteSelection": "Delete selection",
|
|
4351
4339
|
"pptx.arrange.duplicateSelection": "Duplicate selection",
|
|
4352
4340
|
"pptx.arrange.groupLabel": "Arrange",
|
|
@@ -4565,7 +4553,6 @@ var translationsEn = {
|
|
|
4565
4553
|
"pptx.review.translate": "Translate",
|
|
4566
4554
|
"pptx.review.translateTooltip": "Translate selected text",
|
|
4567
4555
|
"pptx.shortcuts.action.cancelTextEdit": "Cancel inline text / close menus",
|
|
4568
|
-
"pptx.shortcuts.action.clearSelection": "Clear selection / close menus / cancel edit",
|
|
4569
4556
|
"pptx.shortcuts.action.commitTextEdit": "Commit inline text edit",
|
|
4570
4557
|
"pptx.shortcuts.action.copyElement": "Copy selected element",
|
|
4571
4558
|
"pptx.shortcuts.action.cutElement": "Cut selected element",
|
|
@@ -4576,7 +4563,6 @@ var translationsEn = {
|
|
|
4576
4563
|
"pptx.shortcuts.action.nudgeElementLarge": "Nudge selected element (large)",
|
|
4577
4564
|
"pptx.shortcuts.action.pasteElement": "Paste element",
|
|
4578
4565
|
"pptx.shortcuts.action.prevSlide": "Previous slide (no selection)",
|
|
4579
|
-
"pptx.shortcuts.action.redoAlternate": "Redo (alternate)",
|
|
4580
4566
|
"pptx.shortcuts.action.selectAll": "Select all elements",
|
|
4581
4567
|
"pptx.shortcuts.action.zoomCanvas": "Zoom canvas",
|
|
4582
4568
|
"pptx.shortcuts.close": "Close",
|
|
@@ -4668,12 +4654,6 @@ var translationsEn = {
|
|
|
4668
4654
|
"pptx.accessibility.typeLowContrast": "Low contrast",
|
|
4669
4655
|
"pptx.accessibility.typeMissingAltText": "Missing alt text",
|
|
4670
4656
|
"pptx.accessibility.typeMissingSlideTitle": "Missing slide title",
|
|
4671
|
-
"pptx.align.bottom": "Align bottom",
|
|
4672
|
-
"pptx.align.centerH": "Align center",
|
|
4673
|
-
"pptx.align.left": "Align left",
|
|
4674
|
-
"pptx.align.middle": "Align middle",
|
|
4675
|
-
"pptx.align.right": "Align right",
|
|
4676
|
-
"pptx.align.top": "Align top",
|
|
4677
4657
|
"pptx.documentProperties.custom.typeDate": "Date",
|
|
4678
4658
|
"pptx.documentProperties.custom.typeNumber": "Number",
|
|
4679
4659
|
"pptx.documentProperties.custom.typeText": "Text",
|
|
@@ -4810,7 +4790,6 @@ var translationsEn = {
|
|
|
4810
4790
|
"pptx.chart.rowLabelsAria": "Row labels",
|
|
4811
4791
|
"pptx.chart.seriesDefaultName": "Series {{number}}",
|
|
4812
4792
|
"pptx.comments.defaultAuthorName": "You",
|
|
4813
|
-
"pptx.comments.selectSlidePrompt": "Select a slide to view comments.",
|
|
4814
4793
|
"pptx.connectorOptions.bent": "Bent",
|
|
4815
4794
|
"pptx.connectorOptions.curved": "Curved",
|
|
4816
4795
|
"pptx.connectorOptions.curved4": "Curved 4",
|
|
@@ -5507,10 +5486,8 @@ var translationsEn = {
|
|
|
5507
5486
|
"pptx.textAdvanced.marginLeft": "Left Margin",
|
|
5508
5487
|
// Text and shape effects
|
|
5509
5488
|
"pptx.textEffects.adjustment": "Adjustment",
|
|
5510
|
-
"pptx.textEffects.glowColor": "Glow Color",
|
|
5511
5489
|
"pptx.textEffects.outline": "Text Outline",
|
|
5512
5490
|
"pptx.textEffects.outlineWidth": "Outline Width",
|
|
5513
|
-
"pptx.textEffects.shadowColor": "Shadow Color",
|
|
5514
5491
|
"pptx.textEffects.transform": "Transform",
|
|
5515
5492
|
"pptx.textFormatting.columns": "Columns",
|
|
5516
5493
|
"pptx.textFormatting.columnSpacing": "Column Spacing",
|
|
@@ -2270,9 +2270,7 @@ var translationsEn = {
|
|
|
2270
2270
|
// Comments
|
|
2271
2271
|
"pptx.comments.addComment": "Add Comment",
|
|
2272
2272
|
"pptx.comments.noComments": "No comments",
|
|
2273
|
-
"pptx.comments.author": "Author",
|
|
2274
2273
|
"pptx.comments.resolved": "Resolved",
|
|
2275
|
-
"pptx.comments.clickToSelect": "Click to select element",
|
|
2276
2274
|
"pptx.comments.deletedElement": "Deleted element",
|
|
2277
2275
|
"pptx.comments.save": "Save",
|
|
2278
2276
|
"pptx.comments.cancel": "Cancel",
|
|
@@ -2282,7 +2280,6 @@ var translationsEn = {
|
|
|
2282
2280
|
"pptx.comments.unresolve": "Unresolve",
|
|
2283
2281
|
"pptx.comments.delete": "Delete",
|
|
2284
2282
|
"pptx.comments.commentingOn": "Commenting on:",
|
|
2285
|
-
"pptx.comments.commentOnElement": "Comment on {{element}}...",
|
|
2286
2283
|
"pptx.comments.addCommentPlaceholder": "Add a comment...",
|
|
2287
2284
|
// Header & Footer
|
|
2288
2285
|
"pptx.headerFooter.title": "Header & Footer",
|
|
@@ -2843,15 +2840,10 @@ var translationsEn = {
|
|
|
2843
2840
|
"pptx.smartart.extraConnections": "This diagram has {{count}} extra connection(s) that the text pane does not edit.",
|
|
2844
2841
|
"pptx.smartart.tabHint": "Enter adds an item, Backspace removes an empty one, Tab demotes, Shift+Tab promotes.",
|
|
2845
2842
|
// 3D text / text effects / text panel / text warp
|
|
2846
|
-
"pptx.text3d.type": "Type",
|
|
2847
|
-
"pptx.text3d.width": "Width",
|
|
2848
|
-
"pptx.text3d.height": "Height",
|
|
2849
2843
|
"pptx.text3d.title": "3D Text",
|
|
2850
2844
|
"pptx.text3d.extrusion": "3D Extrusion",
|
|
2851
2845
|
"pptx.text3d.depth": "Depth (pt)",
|
|
2852
|
-
"pptx.text3d.color": "Color",
|
|
2853
2846
|
"pptx.text3d.topBevel": "Top Bevel",
|
|
2854
|
-
"pptx.text3d.bottomBevel": "Bottom Bevel",
|
|
2855
2847
|
"pptx.text3d.material": "Material",
|
|
2856
2848
|
"pptx.textEffects.title": "Text Effects",
|
|
2857
2849
|
"pptx.textEffects.shadow": "Text Shadow",
|
|
@@ -3813,7 +3805,6 @@ var translationsEn = {
|
|
|
3813
3805
|
"pptx.print.rangeCurrent": "Current slide ({{count}})",
|
|
3814
3806
|
"pptx.print.rangeCustom": "Custom range",
|
|
3815
3807
|
// Document properties (Vue's variant, alongside pptx.documentProperties.*)
|
|
3816
|
-
"pptx.properties.title": "Document properties",
|
|
3817
3808
|
"pptx.properties.titleLabel": "Title",
|
|
3818
3809
|
"pptx.properties.author": "Author",
|
|
3819
3810
|
"pptx.properties.subject": "Subject",
|
|
@@ -4023,8 +4014,6 @@ var translationsEn = {
|
|
|
4023
4014
|
"pptx.ribbon.alignTop": "Align top",
|
|
4024
4015
|
"pptx.ribbon.alignMiddle": "Align middle",
|
|
4025
4016
|
"pptx.ribbon.alignBottom": "Align bottom",
|
|
4026
|
-
"pptx.ribbon.distributeHorizontally": "Distribute horizontally",
|
|
4027
|
-
"pptx.ribbon.distributeVertically": "Distribute vertically",
|
|
4028
4017
|
"pptx.ribbon.group": "Group",
|
|
4029
4018
|
"pptx.ribbon.ungroup": "Ungroup",
|
|
4030
4019
|
"pptx.ribbon.setUpShow": "Set Up Show",
|
|
@@ -4344,7 +4333,6 @@ var translationsEn = {
|
|
|
4344
4333
|
// truth reference these were derived from). Appended flat rather than
|
|
4345
4334
|
// interleaved into their semantic sections above, to keep this batch
|
|
4346
4335
|
// change safe/reviewable as one block.
|
|
4347
|
-
"pptx.align.toolbarLabel": "Align and distribute",
|
|
4348
4336
|
"pptx.arrange.deleteSelection": "Delete selection",
|
|
4349
4337
|
"pptx.arrange.duplicateSelection": "Duplicate selection",
|
|
4350
4338
|
"pptx.arrange.groupLabel": "Arrange",
|
|
@@ -4563,7 +4551,6 @@ var translationsEn = {
|
|
|
4563
4551
|
"pptx.review.translate": "Translate",
|
|
4564
4552
|
"pptx.review.translateTooltip": "Translate selected text",
|
|
4565
4553
|
"pptx.shortcuts.action.cancelTextEdit": "Cancel inline text / close menus",
|
|
4566
|
-
"pptx.shortcuts.action.clearSelection": "Clear selection / close menus / cancel edit",
|
|
4567
4554
|
"pptx.shortcuts.action.commitTextEdit": "Commit inline text edit",
|
|
4568
4555
|
"pptx.shortcuts.action.copyElement": "Copy selected element",
|
|
4569
4556
|
"pptx.shortcuts.action.cutElement": "Cut selected element",
|
|
@@ -4574,7 +4561,6 @@ var translationsEn = {
|
|
|
4574
4561
|
"pptx.shortcuts.action.nudgeElementLarge": "Nudge selected element (large)",
|
|
4575
4562
|
"pptx.shortcuts.action.pasteElement": "Paste element",
|
|
4576
4563
|
"pptx.shortcuts.action.prevSlide": "Previous slide (no selection)",
|
|
4577
|
-
"pptx.shortcuts.action.redoAlternate": "Redo (alternate)",
|
|
4578
4564
|
"pptx.shortcuts.action.selectAll": "Select all elements",
|
|
4579
4565
|
"pptx.shortcuts.action.zoomCanvas": "Zoom canvas",
|
|
4580
4566
|
"pptx.shortcuts.close": "Close",
|
|
@@ -4666,12 +4652,6 @@ var translationsEn = {
|
|
|
4666
4652
|
"pptx.accessibility.typeLowContrast": "Low contrast",
|
|
4667
4653
|
"pptx.accessibility.typeMissingAltText": "Missing alt text",
|
|
4668
4654
|
"pptx.accessibility.typeMissingSlideTitle": "Missing slide title",
|
|
4669
|
-
"pptx.align.bottom": "Align bottom",
|
|
4670
|
-
"pptx.align.centerH": "Align center",
|
|
4671
|
-
"pptx.align.left": "Align left",
|
|
4672
|
-
"pptx.align.middle": "Align middle",
|
|
4673
|
-
"pptx.align.right": "Align right",
|
|
4674
|
-
"pptx.align.top": "Align top",
|
|
4675
4655
|
"pptx.documentProperties.custom.typeDate": "Date",
|
|
4676
4656
|
"pptx.documentProperties.custom.typeNumber": "Number",
|
|
4677
4657
|
"pptx.documentProperties.custom.typeText": "Text",
|
|
@@ -4808,7 +4788,6 @@ var translationsEn = {
|
|
|
4808
4788
|
"pptx.chart.rowLabelsAria": "Row labels",
|
|
4809
4789
|
"pptx.chart.seriesDefaultName": "Series {{number}}",
|
|
4810
4790
|
"pptx.comments.defaultAuthorName": "You",
|
|
4811
|
-
"pptx.comments.selectSlidePrompt": "Select a slide to view comments.",
|
|
4812
4791
|
"pptx.connectorOptions.bent": "Bent",
|
|
4813
4792
|
"pptx.connectorOptions.curved": "Curved",
|
|
4814
4793
|
"pptx.connectorOptions.curved4": "Curved 4",
|
|
@@ -5505,10 +5484,8 @@ var translationsEn = {
|
|
|
5505
5484
|
"pptx.textAdvanced.marginLeft": "Left Margin",
|
|
5506
5485
|
// Text and shape effects
|
|
5507
5486
|
"pptx.textEffects.adjustment": "Adjustment",
|
|
5508
|
-
"pptx.textEffects.glowColor": "Glow Color",
|
|
5509
5487
|
"pptx.textEffects.outline": "Text Outline",
|
|
5510
5488
|
"pptx.textEffects.outlineWidth": "Outline Width",
|
|
5511
|
-
"pptx.textEffects.shadowColor": "Shadow Color",
|
|
5512
5489
|
"pptx.textEffects.transform": "Transform",
|
|
5513
5490
|
"pptx.textFormatting.columns": "Columns",
|
|
5514
5491
|
"pptx.textFormatting.columnSpacing": "Column Spacing",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { THREE_VIEW_EVENTS, applyChart3DSelect, applyChart3DDrag, resolveSmartArtThreeViewSpec, elementInLocalFrame, SMARTART_3D_EDIT_LAYER_ATTRIBUTE, stripEditLayerMarkers, routeEditLayerPointerToNodes, measureSvgViewportRect, findSmartArtNodeText, resolvePalette, smartArtConnectorPaint, smartArtNodeLabel, getContainerStyle, buildChromeStyle, buildSmartArtA11y, resolveRevealedSmartArtNodes, resolveRevealedDrawingShapes, computeSmartArtElementLayout, flattenNodes, computeDrawingViewBox, projectDrawingShapes, styleShadowFilter, resolveRevealedDrawingShapeNodeIds, SMARTART_PREVIEW_ELEMENT_WIDTH, SMARTART_PREVIEW_ELEMENT_HEIGHT, buildSmartArtPreviewElement, isForwardedEditLayerEvent } from './chunk-XZX7EHX4.mjs';
|
|
2
|
+
import { canDrillDown } from './chunk-FUKVYJPM.mjs';
|
|
2
3
|
import { formatAxisValue } from './chunk-34LEUH5R.mjs';
|
|
3
4
|
import { THREE_VIEW_TAG, defineThreeViewElement } from './chunk-AMW2AR7J.mjs';
|
|
4
5
|
|