ooxml-ui 1.26.2 → 1.27.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/dist/chart/data-sheet-keys.d.ts +0 -1
- package/dist/chart/format-pane-common.d.ts +0 -1
- package/dist/chart/format-pane-fill-line.d.ts +0 -1
- package/dist/chart/format-pane-text.d.ts +0 -1
- package/dist/pptx/{chunk-3ZI57W7O.mjs → chunk-3LOVEO7U.mjs} +5 -0
- package/dist/pptx/{chunk-R5GKUSHI.mjs → chunk-6QLGEV3I.mjs} +845 -159
- package/dist/pptx/{chunk-4PYBBOIK.cjs → chunk-A3JJOLTS.cjs} +43 -43
- package/dist/pptx/{chunk-OOQMIQT3.cjs → chunk-GWKTHP6U.cjs} +0 -23
- package/dist/pptx/{chunk-NFP4PCTP.cjs → chunk-I6ZVSJAR.cjs} +875 -194
- package/dist/pptx/{chunk-HF2YJASV.mjs → chunk-LAF5W2UR.mjs} +1 -1
- package/dist/pptx/{chunk-LB3A3GF6.mjs → chunk-MJACF7Y2.mjs} +0 -23
- package/dist/pptx/{chunk-X4FNVH7J.cjs → chunk-YMITEJST.cjs} +32 -0
- package/dist/pptx/dom/index.cjs +388 -388
- package/dist/pptx/dom/index.mjs +7 -7
- 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 +3137 -3033
- package/dist/pptx/index.mjs +3 -3
- 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/google-webfonts.d.ts +32 -1
- package/dist/pptx/render/google-webfonts.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/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 +2 -0
- package/dist/pptx/render/inspector/index.d.ts.map +1 -1
- 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/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-AERZURUO.cjs} +5 -5
- package/dist/pptx/{smartart-insert-preview-QJBRDU4C.mjs → smartart-insert-preview-CGAZP5JP.mjs} +4 -4
- package/dist/theme-bridge.d.ts +0 -1
- package/package.json +2 -2
|
@@ -35,4 +35,3 @@ export type ChartDataSheetKeyAction = {
|
|
|
35
35
|
};
|
|
36
36
|
/** What a key does in a cell at (`row`, `col`) of a sheet `rows` x `cols` (corner included). */
|
|
37
37
|
export declare function chartDataSheetKeyAction(key: ChartDataSheetKey, mode: ChartDataSheetMode, row: number, col: number, rows: number, cols: number): ChartDataSheetKeyAction;
|
|
38
|
-
//# sourceMappingURL=data-sheet-keys.d.ts.map
|
|
@@ -20,4 +20,3 @@ export declare function hexForInput(color: string | undefined, fallback?: string
|
|
|
20
20
|
export type ChartFormatTranslate = (key: string, params?: Readonly<Record<string, string | number>>, fallback?: string) => string;
|
|
21
21
|
/** Resolves a caption with `tr`, filling `{{name}}` parameters in either result. */
|
|
22
22
|
export declare function translateChartFormatText(value: ChartFormatText, tr: ChartFormatTranslate): string;
|
|
23
|
-
//# sourceMappingURL=format-pane-common.d.ts.map
|
|
@@ -10,4 +10,3 @@ import type { ChartFormatElementView, ChartFormatSource } from './format-pane-vi
|
|
|
10
10
|
export declare const ARROWS: Array<[string, string]>;
|
|
11
11
|
/** The Fill & Line tab's sections. */
|
|
12
12
|
export declare function fillLineSections(view: ChartFormatElementView, target: ChartFormatTarget, source?: Pick<ChartFormatSource, 'patternPresets' | 'slots'>): ChartFormatSection[];
|
|
13
|
-
//# sourceMappingURL=format-pane-fill-line.d.ts.map
|
|
@@ -4,4 +4,3 @@ import type { ChartFormatTextView } from './format-pane-view.js';
|
|
|
4
4
|
export declare function chartTextTabs(): ChartFormatTab[];
|
|
5
5
|
/** The sections of Text Options tab `tab`. */
|
|
6
6
|
export declare function textOptionsSections(text: ChartFormatTextView, tab: 'textFill' | 'textEffects' | 'textBox'): ChartFormatSection[];
|
|
7
|
-
//# sourceMappingURL=format-pane-text.d.ts.map
|
|
@@ -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()) {
|