ooxml-ui 1.41.0 → 1.42.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/base.d.ts +1 -0
- package/dist/building-block-styles.d.ts +1 -0
- package/dist/chart/data-sheet-keys.d.ts +1 -0
- package/dist/chart/data-sheet.d.ts +2 -1
- package/dist/chart/design-galleries.d.ts +0 -1
- package/dist/chart/format-pane-3d.d.ts +1 -0
- package/dist/chart/format-pane-advanced-space.d.ts +1 -0
- package/dist/chart/format-pane-analysis.d.ts +1 -0
- package/dist/chart/format-pane-common.d.ts +1 -0
- package/dist/chart/format-pane-fields.d.ts +1 -0
- package/dist/chart/format-pane-fill-line.d.ts +1 -0
- package/dist/chart/format-pane-intent.d.ts +1 -0
- package/dist/chart/format-pane-locales/de.d.ts +1 -0
- package/dist/chart/format-pane-locales/en.d.ts +1 -0
- package/dist/chart/format-pane-text.d.ts +1 -0
- package/dist/chart/format-pane-translate.d.ts +1 -0
- package/dist/chart/format-pane-types.d.ts +0 -1
- package/dist/chart/format-pane-view.d.ts +0 -1
- package/dist/chrome/account.d.ts +2 -1
- package/dist/chrome/print-preview.d.ts +2 -1
- package/dist/chrome/ruler.d.ts +2 -1
- package/dist/chrome/status-bar.d.ts +2 -1
- package/dist/chrome/tab-drag.d.ts +1 -0
- package/dist/chrome/task-pane.d.ts +2 -1
- package/dist/comments/mentions.d.ts +1 -0
- package/dist/comments/types.d.ts +1 -0
- package/dist/controls.d.ts +1 -0
- package/dist/dialog/chart-picker.d.ts +2 -1
- package/dist/dialog/dialog-footer.d.ts +2 -1
- package/dist/dialog/dialog-session.d.ts +1 -0
- package/dist/dialog/dialog.d.ts +2 -1
- package/dist/dialog/focus.d.ts +1 -0
- package/dist/dialog/message-dialogs.d.ts +1 -0
- package/dist/dialog/options-categories.d.ts +1 -0
- package/dist/dialog/options-controls.d.ts +1 -0
- package/dist/dialog/progress-dialog.d.ts +2 -1
- package/dist/dialog/share-dialog-locales.d.ts +1 -0
- package/dist/dialog/share-dialog.d.ts +2 -1
- package/dist/files/cloud-files-view.d.ts +1 -0
- package/dist/files/connected-services.d.ts +2 -1
- package/dist/files/open-places.d.ts +2 -1
- package/dist/fonts/availability.d.ts +1 -0
- package/dist/fonts/catalog.d.ts +1 -0
- package/dist/fonts/custom-fonts.d.ts +1 -0
- package/dist/form/checkbox.d.ts +2 -1
- package/dist/form/color-custom.d.ts +2 -1
- package/dist/form/color-grid.d.ts +2 -1
- package/dist/form/color-input/live-color-leaves.d.ts +1 -0
- package/dist/form/radio.d.ts +2 -1
- package/dist/form/search-field.d.ts +2 -1
- package/dist/form/symbol-picker.d.ts +2 -1
- package/dist/form/zoom-slider.d.ts +2 -1
- package/dist/image-native-size.d.ts +1 -0
- package/dist/menu/command-search.d.ts +2 -1
- package/dist/menu/context-menu.d.ts +2 -1
- package/dist/menu/menu-item.d.ts +2 -1
- package/dist/notices/paste-options.d.ts +2 -1
- package/dist/notices/toasts.d.ts +2 -1
- package/dist/picture-standard-filter.d.ts +1 -0
- package/dist/pptx/{chunk-IN46QNJE.mjs → chunk-BA4CJI4U.mjs} +35 -3
- package/dist/pptx/{chunk-JU3ZV73R.mjs → chunk-C7G2CSU2.mjs} +2 -2
- package/dist/pptx/{chunk-7XXOLM7H.cjs → chunk-CK6RYGB4.cjs} +37 -2
- package/dist/pptx/{chunk-J6PRXB72.mjs → chunk-OPLK7GPB.mjs} +2568 -1673
- package/dist/pptx/{chunk-RN3JVXVN.cjs → chunk-RI4YZ4AG.cjs} +2588 -1681
- package/dist/pptx/{chunk-4SZSTDER.cjs → chunk-XTYRGVT5.cjs} +47 -47
- package/dist/pptx/dom/elements/connector.d.ts.map +1 -1
- package/dist/pptx/dom/elements/edge-bleed-restore.d.ts +19 -0
- package/dist/pptx/dom/elements/edge-bleed-restore.d.ts.map +1 -0
- package/dist/pptx/dom/elements/shape-filter-defs.d.ts.map +1 -1
- package/dist/pptx/dom/elements/text-shape.d.ts.map +1 -1
- package/dist/pptx/dom/index.cjs +438 -395
- package/dist/pptx/dom/index.d.ts +1 -0
- package/dist/pptx/dom/index.d.ts.map +1 -1
- package/dist/pptx/dom/index.mjs +56 -15
- package/dist/pptx/export/html2canvas-clone.cjs +6 -6
- package/dist/pptx/export/html2canvas-clone.mjs +1 -1
- package/dist/pptx/index.cjs +3169 -3109
- package/dist/pptx/index.mjs +2 -2
- package/dist/pptx/render/connector-path.d.ts +15 -0
- package/dist/pptx/render/connector-path.d.ts.map +1 -1
- package/dist/pptx/render/connector-style.d.ts +10 -0
- package/dist/pptx/render/connector-style.d.ts.map +1 -1
- package/dist/pptx/render/device-pixel-stroke.d.ts +43 -6
- package/dist/pptx/render/device-pixel-stroke.d.ts.map +1 -1
- package/dist/pptx/render/effect-profile.d.ts +53 -0
- package/dist/pptx/render/effect-profile.d.ts.map +1 -0
- package/dist/pptx/render/font-settled.d.ts +14 -0
- package/dist/pptx/render/font-settled.d.ts.map +1 -0
- package/dist/pptx/render/index.d.ts +1 -0
- package/dist/pptx/render/index.d.ts.map +1 -1
- package/dist/pptx/render/morph-animation.d.ts +1 -24
- package/dist/pptx/render/morph-animation.d.ts.map +1 -1
- package/dist/pptx/render/morph-body-carry.d.ts +1 -1
- package/dist/pptx/render/morph-body-carry.d.ts.map +1 -1
- package/dist/pptx/render/morph-carry.d.ts.map +1 -1
- package/dist/pptx/render/morph-effect-carry.d.ts +4 -5
- package/dist/pptx/render/morph-effect-carry.d.ts.map +1 -1
- package/dist/pptx/render/morph-flip-turn.d.ts.map +1 -1
- package/dist/pptx/render/morph-line-carry.d.ts +40 -0
- package/dist/pptx/render/morph-line-carry.d.ts.map +1 -0
- package/dist/pptx/render/morph-plan.d.ts +13 -0
- package/dist/pptx/render/morph-plan.d.ts.map +1 -1
- package/dist/pptx/render/morph-rotation.d.ts +30 -0
- package/dist/pptx/render/morph-rotation.d.ts.map +1 -0
- package/dist/pptx/render/morph-shape-carry-strands.d.ts +36 -0
- package/dist/pptx/render/morph-shape-carry-strands.d.ts.map +1 -0
- package/dist/pptx/render/morph-shape-carry.d.ts +5 -0
- package/dist/pptx/render/morph-shape-carry.d.ts.map +1 -1
- package/dist/pptx/render/morph-soft-edge-blend.d.ts +38 -0
- package/dist/pptx/render/morph-soft-edge-blend.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-body.d.ts +1 -1
- package/dist/pptx/render/morph-text-body.d.ts.map +1 -1
- package/dist/pptx/render/morph-text-frame.d.ts +2 -0
- package/dist/pptx/render/morph-text-frame.d.ts.map +1 -1
- package/dist/pptx/render/morph-text-glyph-plan.d.ts +31 -0
- package/dist/pptx/render/morph-text-glyph-plan.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-glyphs.d.ts +27 -0
- package/dist/pptx/render/morph-text-glyphs.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-lines.d.ts +8 -6
- package/dist/pptx/render/morph-text-lines.d.ts.map +1 -1
- package/dist/pptx/render/morph-text-piece-caps.d.ts +36 -0
- package/dist/pptx/render/morph-text-piece-caps.d.ts.map +1 -0
- package/dist/pptx/render/morph-text-pieces.d.ts +6 -1
- package/dist/pptx/render/morph-text-pieces.d.ts.map +1 -1
- package/dist/pptx/render/morph-text-transform.d.ts +2 -0
- package/dist/pptx/render/morph-text-transform.d.ts.map +1 -1
- package/dist/pptx/render/morph-types.d.ts +11 -2
- package/dist/pptx/render/morph-types.d.ts.map +1 -1
- package/dist/pptx/render/paragraph-baseline-settle.d.ts +8 -0
- package/dist/pptx/render/paragraph-baseline-settle.d.ts.map +1 -0
- package/dist/pptx/render/paragraph-baseline.d.ts +76 -13
- package/dist/pptx/render/paragraph-baseline.d.ts.map +1 -1
- package/dist/pptx/render/paragraph-types.d.ts +6 -0
- package/dist/pptx/render/paragraph-types.d.ts.map +1 -1
- package/dist/pptx/render/stroke-outline.d.ts +7 -0
- package/dist/pptx/render/stroke-outline.d.ts.map +1 -1
- package/dist/pptx/render/table-cell-paragraphs.d.ts.map +1 -1
- package/dist/pptx/render/text-body-layout.d.ts.map +1 -1
- package/dist/pptx/render/text-effects.d.ts +6 -11
- package/dist/pptx/render/text-effects.d.ts.map +1 -1
- package/dist/pptx/render/text-line-height.d.ts +8 -8
- package/dist/pptx/render/text-line-height.d.ts.map +1 -1
- package/dist/pptx/render/text-paragraph-style.d.ts +13 -0
- package/dist/pptx/render/text-paragraph-style.d.ts.map +1 -1
- package/dist/pptx/render/text-paragraphs.d.ts.map +1 -1
- package/dist/pptx/render/text-shrink-block.d.ts +23 -0
- package/dist/pptx/render/text-shrink-block.d.ts.map +1 -0
- package/dist/pptx/render/visual-effects.d.ts +3 -1
- package/dist/pptx/render/visual-effects.d.ts.map +1 -1
- package/dist/pptx/{smartart-insert-preview-GA6ELFRB.mjs → smartart-insert-preview-AE7D4I7L.mjs} +3 -3
- package/dist/pptx/{smartart-insert-preview-PQTEVG7C.cjs → smartart-insert-preview-P4NV2FRD.cjs} +4 -4
- package/dist/render-cache.d.ts +1 -0
- package/dist/ribbon/auto-collapse.d.ts +1 -0
- package/dist/ribbon/button.d.ts +2 -1
- package/dist/ribbon/gallery-styles.d.ts +1 -0
- package/dist/ribbon/keytip-run.d.ts +1 -0
- package/dist/ribbon/overflow.d.ts +1 -0
- package/dist/ribbon/ribbon-section.d.ts +2 -1
- package/dist/ribbon/ribbon-stack.d.ts +2 -1
- package/dist/ribbon/safe-svg.d.ts +1 -0
- package/dist/ribbon/scroll-more.d.ts +1 -0
- package/dist/smartart/smartart-picker.d.ts +2 -1
- package/dist/smartart/smartart-text-pane-tools.d.ts +1 -0
- package/package.json +2 -2
package/dist/base.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ export type OfficeUiBlockKind = 'toolbar' | 'formula-bar' | 'tabs' | 'inspector'
|
|
|
2
2
|
export type OfficeUiProduct = 'docx' | 'xlsx' | 'visio' | 'pptx';
|
|
3
3
|
/** Opt-in styles for native framework controls. They never target host-owned controls implicitly. */
|
|
4
4
|
export declare const BUILDING_BLOCKS_CSS: string;
|
|
5
|
+
//# sourceMappingURL=building-block-styles.d.ts.map
|
|
@@ -35,3 +35,4 @@ 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
|
|
@@ -64,4 +64,5 @@ export declare class OfficeUiChartDataSheet extends OfficeElement {
|
|
|
64
64
|
private removeButton;
|
|
65
65
|
protected render(): import("lit").TemplateResult<1>;
|
|
66
66
|
}
|
|
67
|
-
export declare const defineChartDataSheet: import("../
|
|
67
|
+
export declare const defineChartDataSheet: import("../registry.js").Definer;
|
|
68
|
+
//# sourceMappingURL=data-sheet.d.ts.map
|
|
@@ -49,4 +49,3 @@ export declare function chartColorGallerySections(scheme: ChartColorScheme, appl
|
|
|
49
49
|
export declare function chartQuickLayoutGallerySection(appliedN?: number): ChartGallerySection;
|
|
50
50
|
/** The layout number of a Quick Layout item id (`layout5` is 5), or `undefined`. */
|
|
51
51
|
export declare function chartQuickLayoutItemNumber(id: string): number | undefined;
|
|
52
|
-
//# sourceMappingURL=design-galleries.d.ts.map
|
|
@@ -4,3 +4,4 @@ import type { ChartFormatThreeDView } from './format-pane-view.js';
|
|
|
4
4
|
export declare const CHART_BEVEL_TYPES: readonly ['circle', 'relaxedInset', 'cross', 'coolSlant', 'angle', 'softRound', 'convex', 'slope', 'divot', 'riblet', 'hardEdge', 'artDeco'];
|
|
5
5
|
/** The 3-D Format section for an element with `threeD` as its current 3-D settings. */
|
|
6
6
|
export declare function threeDSection(threeD: ChartFormatThreeDView): ChartFormatSection;
|
|
7
|
+
//# sourceMappingURL=format-pane-3d.d.ts.map
|
|
@@ -11,3 +11,4 @@ export declare function chartEffectsView(list: DrawingEffectList | undefined, re
|
|
|
11
11
|
export declare function chartThreeDView(space: ChartSpace, target: ChartFormatTarget, resolve: Resolve): ChartFormatThreeDView;
|
|
12
12
|
export declare function chartAdvancedElementView(space: ChartSpace, target: ChartFormatTarget, resolve: Resolve, fillView: (fill: DrawingFill | undefined) => ChartFormatFillView, lineView: (line: DrawingLine | undefined) => ChartFormatLineView, threeD: boolean): Pick<ChartFormatElementView, 'effects' | 'text' | 'threeD'>;
|
|
13
13
|
export {};
|
|
14
|
+
//# sourceMappingURL=format-pane-advanced-space.d.ts.map
|
|
@@ -4,3 +4,4 @@ import type { ChartFormatSeriesOptionsView } from './format-pane-view.js';
|
|
|
4
4
|
export declare function chartAnalysisSections(series: ChartFormatSeriesOptionsView): ChartFormatSection[];
|
|
5
5
|
/** Converts only the selected analysis property, retaining other trendlines, bars and styles. */
|
|
6
6
|
export declare function chartAnalysisFieldIntent(series: ChartFormatSeriesOptionsView | undefined, target: ChartFormatTarget, field: string, value: ChartFormatFieldValue): ChartEditIntent | null | undefined;
|
|
7
|
+
//# sourceMappingURL=format-pane-analysis.d.ts.map
|
|
@@ -20,3 +20,4 @@ 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,3 +10,4 @@ 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
|
|
@@ -22,3 +22,4 @@ export declare function defaultPaneGradient(color?: string): ChartGradientFill;
|
|
|
22
22
|
export declare function gradientEdit(current: ChartGradientFill, part: string, value: ChartFormatFieldValue): ChartGradientFill | null;
|
|
23
23
|
/** The intent of field `field` set to `value` on `target`, or `null` (see the module notes). */
|
|
24
24
|
export declare function chartFormatFieldIntent(view: ChartFormatElementView, target: ChartFormatTarget, field: string, value: ChartFormatFieldValue): ChartEditIntent | null;
|
|
25
|
+
//# sourceMappingURL=format-pane-intent.d.ts.map
|
|
@@ -4,3 +4,4 @@ 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
|
|
@@ -7,3 +7,4 @@ export declare const chartFormatLocale: (value: string | null | undefined) => Ch
|
|
|
7
7
|
* where it knows the key, that is where it returns neither the key nor an empty string.
|
|
8
8
|
*/
|
|
9
9
|
export declare function chartFormatTranslator(locale: string | null | undefined, override?: ChartFormatTranslate): ChartFormatTranslate;
|
|
10
|
+
//# sourceMappingURL=format-pane-translate.d.ts.map
|
package/dist/chrome/account.d.ts
CHANGED
|
@@ -14,4 +14,5 @@ export declare class OfficeUiAccount extends OfficeElement {
|
|
|
14
14
|
private onSwatchKey;
|
|
15
15
|
protected render(): import("lit").TemplateResult<1>;
|
|
16
16
|
}
|
|
17
|
-
export declare const defineAccount: import("../
|
|
17
|
+
export declare const defineAccount: import("../registry.js").Definer;
|
|
18
|
+
//# sourceMappingURL=account.d.ts.map
|
|
@@ -36,4 +36,5 @@ export declare class OfficeUiPrintPreview extends OfficeElement {
|
|
|
36
36
|
protected willUpdate(changed: PropertyValues<this>): void;
|
|
37
37
|
protected render(): import("lit").TemplateResult<1>;
|
|
38
38
|
}
|
|
39
|
-
export declare const definePrintPreview: import("../
|
|
39
|
+
export declare const definePrintPreview: import("../registry.js").Definer;
|
|
40
|
+
//# sourceMappingURL=print-preview.d.ts.map
|
package/dist/chrome/ruler.d.ts
CHANGED
|
@@ -104,4 +104,5 @@ export declare class OfficeUiRuler extends OfficeElement {
|
|
|
104
104
|
private draw;
|
|
105
105
|
protected render(): import("lit").TemplateResult<1>;
|
|
106
106
|
}
|
|
107
|
-
export declare const defineRuler: import("../
|
|
107
|
+
export declare const defineRuler: import("../registry.js").Definer;
|
|
108
|
+
//# sourceMappingURL=ruler.d.ts.map
|
|
@@ -81,4 +81,5 @@ export declare class OfficeUiStatusBar extends OfficeElement {
|
|
|
81
81
|
private zoomStep;
|
|
82
82
|
protected render(): TemplateResult<1>;
|
|
83
83
|
}
|
|
84
|
-
export declare const defineStatusBar: import("../
|
|
84
|
+
export declare const defineStatusBar: import("../registry.js").Definer;
|
|
85
|
+
//# sourceMappingURL=status-bar.d.ts.map
|
|
@@ -25,4 +25,5 @@ export declare class OfficeUiTaskPane extends OfficeElement {
|
|
|
25
25
|
protected willUpdate(): void;
|
|
26
26
|
protected render(): import("lit").TemplateResult<1>;
|
|
27
27
|
}
|
|
28
|
-
export declare const defineTaskPane: import("../
|
|
28
|
+
export declare const defineTaskPane: import("../registry.js").Definer;
|
|
29
|
+
//# sourceMappingURL=task-pane.d.ts.map
|
|
@@ -60,3 +60,4 @@ export declare function trimMentionText(text: string, mentions: readonly OfficeC
|
|
|
60
60
|
* the edit touches is dropped. The same array when the text did not change.
|
|
61
61
|
*/
|
|
62
62
|
export declare function followTextEdit(before: string, after: string, mentions: readonly OfficeCommentMention[]): readonly OfficeCommentMention[];
|
|
63
|
+
//# sourceMappingURL=mentions.d.ts.map
|
package/dist/comments/types.d.ts
CHANGED
|
@@ -77,3 +77,4 @@ export interface OfficeThreadDetail {
|
|
|
77
77
|
export declare function commentInitials(author: string): string;
|
|
78
78
|
/** A comment's time for display: ISO date-times are formatted for `locale`, other text is kept. */
|
|
79
79
|
export declare function formatCommentTime(created: string | undefined, locale?: string): string;
|
|
80
|
+
//# sourceMappingURL=types.d.ts.map
|
package/dist/controls.d.ts
CHANGED
|
@@ -74,4 +74,5 @@ export declare class OfficeUiChartPicker extends OfficeElement {
|
|
|
74
74
|
protected updated(): void;
|
|
75
75
|
protected render(): import("lit").TemplateResult<1>;
|
|
76
76
|
}
|
|
77
|
-
export declare const defineChartPicker: import("../
|
|
77
|
+
export declare const defineChartPicker: import("../registry.js").Definer;
|
|
78
|
+
//# sourceMappingURL=chart-picker.d.ts.map
|
|
@@ -37,4 +37,5 @@ export declare class OfficeUiDialogFooter extends OfficeElement {
|
|
|
37
37
|
private classes;
|
|
38
38
|
protected render(): import("lit").TemplateResult<1>;
|
|
39
39
|
}
|
|
40
|
-
export declare const defineDialogFooter: import("../
|
|
40
|
+
export declare const defineDialogFooter: import("../registry.js").Definer;
|
|
41
|
+
//# sourceMappingURL=dialog-footer.d.ts.map
|
package/dist/dialog/dialog.d.ts
CHANGED
|
@@ -61,4 +61,5 @@ export declare class OfficeUiDialog extends OfficeElement {
|
|
|
61
61
|
protected updated(changed: PropertyValues<this>): void;
|
|
62
62
|
protected render(): import("lit").TemplateResult<1>;
|
|
63
63
|
}
|
|
64
|
-
export declare const defineDialog: import("../
|
|
64
|
+
export declare const defineDialog: import("../registry.js").Definer;
|
|
65
|
+
//# sourceMappingURL=dialog.d.ts.map
|
package/dist/dialog/focus.d.ts
CHANGED
|
@@ -4,3 +4,4 @@ export declare const MODAL_FOCUSABLE_SELECTOR: string;
|
|
|
4
4
|
export declare function modalFocusableElements(panel: HTMLElement): HTMLElement[];
|
|
5
5
|
/** The focused element of `doc`, resolved through nested open shadow roots. */
|
|
6
6
|
export declare function modalActiveElement(doc: Document): Element | null;
|
|
7
|
+
//# sourceMappingURL=focus.d.ts.map
|
|
@@ -36,3 +36,4 @@ export declare function confirmDialog(options: MessageDialogOptions): Promise<bo
|
|
|
36
36
|
export declare function promptDialog(options: PromptDialogOptions): Promise<string | null>;
|
|
37
37
|
/** Tell the user something; resolves when it is dismissed (button, Enter, Escape or backdrop). */
|
|
38
38
|
export declare function alertDialog(options: MessageDialogOptions): Promise<void>;
|
|
39
|
+
//# sourceMappingURL=message-dialogs.d.ts.map
|
|
@@ -36,3 +36,4 @@ export declare function personalizeSection(context: OptionsContext, controls: re
|
|
|
36
36
|
/** The dialog's own buttons in the product's language. */
|
|
37
37
|
export declare function optionsLabels(context: OptionsContext): OfficeOptionsLabels;
|
|
38
38
|
export {};
|
|
39
|
+
//# sourceMappingURL=options-categories.d.ts.map
|
|
@@ -38,4 +38,5 @@ export declare class OfficeUiProgressDialog extends OfficeElement {
|
|
|
38
38
|
protected updated(_changed: PropertyValues<this>): void;
|
|
39
39
|
protected render(): import("lit").TemplateResult<1>;
|
|
40
40
|
}
|
|
41
|
-
export declare const defineProgressDialog: import("../
|
|
41
|
+
export declare const defineProgressDialog: import("../registry.js").Definer;
|
|
42
|
+
//# sourceMappingURL=progress-dialog.d.ts.map
|
|
@@ -45,3 +45,4 @@ export type ShareDialogLocale = (typeof SHARE_DIALOG_LOCALES)[number];
|
|
|
45
45
|
export declare const SHARE_DIALOG_LABELS: Readonly<Record<ShareDialogLocale, Readonly<OfficeShareDialogLabels>>>;
|
|
46
46
|
/** The captions for a product locale (`fr-CA` uses French), English when it is not shipped. */
|
|
47
47
|
export declare function shareDialogLabels(locale: string | undefined): OfficeShareDialogLabels;
|
|
48
|
+
//# sourceMappingURL=share-dialog-locales.d.ts.map
|
|
@@ -117,5 +117,6 @@ export declare class OfficeUiShareDialog extends OfficeElement {
|
|
|
117
117
|
private renderActive;
|
|
118
118
|
protected render(): import("lit").TemplateResult<1>;
|
|
119
119
|
}
|
|
120
|
-
export declare const defineShareDialog: import("../
|
|
120
|
+
export declare const defineShareDialog: import("../registry.js").Definer;
|
|
121
121
|
export {};
|
|
122
|
+
//# sourceMappingURL=share-dialog.d.ts.map
|
|
@@ -40,3 +40,4 @@ export interface CloudFilesViewModel {
|
|
|
40
40
|
export declare function renderSignedOut(vm: CloudFilesViewModel, provider: CloudFileProvider): import("lit").TemplateResult<1>;
|
|
41
41
|
/** The signed-in browser: toolbar, optional link field, breadcrumb, listing and open status. */
|
|
42
42
|
export declare function renderBrowser(vm: CloudFilesViewModel, provider: CloudFileProvider, account: CloudAccount): import("lit").TemplateResult<1>;
|
|
43
|
+
//# sourceMappingURL=cloud-files-view.d.ts.map
|
|
@@ -67,4 +67,5 @@ export declare class OfficeUiConnectedServices extends OfficeElement {
|
|
|
67
67
|
private row;
|
|
68
68
|
protected render(): typeof nothing | import("lit").TemplateResult<1>;
|
|
69
69
|
}
|
|
70
|
-
export declare const defineConnectedServices: import("../
|
|
70
|
+
export declare const defineConnectedServices: import("../registry.js").Definer;
|
|
71
|
+
//# sourceMappingURL=connected-services.d.ts.map
|
|
@@ -55,4 +55,5 @@ export declare class OfficeUiOpenPlaces extends OfficeElement {
|
|
|
55
55
|
private onKeydown;
|
|
56
56
|
protected render(): import("lit").TemplateResult<1>;
|
|
57
57
|
}
|
|
58
|
-
export declare const defineOpenPlaces: import("../
|
|
58
|
+
export declare const defineOpenPlaces: import("../registry.js").Definer;
|
|
59
|
+
//# sourceMappingURL=open-places.d.ts.map
|
|
@@ -7,3 +7,4 @@ export interface FontAvailabilitySource {
|
|
|
7
7
|
export declare function isFontFamilyAvailable(family: string, source?: FontAvailabilitySource | undefined): boolean;
|
|
8
8
|
/** Wait for fonts to settle, then return every locally available family. */
|
|
9
9
|
export declare function scanAvailableFontFamilies(families: readonly string[], source?: FontAvailabilitySource | undefined): Promise<Set<string>>;
|
|
10
|
+
//# sourceMappingURL=availability.d.ts.map
|
package/dist/fonts/catalog.d.ts
CHANGED
package/dist/form/checkbox.d.ts
CHANGED
|
@@ -5,4 +5,5 @@ export declare class OfficeUiCheckbox extends OfficeUiCheckable {
|
|
|
5
5
|
protected readonly semantics = "checkbox";
|
|
6
6
|
protected render(): import("lit").TemplateResult<1>;
|
|
7
7
|
}
|
|
8
|
-
export declare const defineCheckbox: import("../
|
|
8
|
+
export declare const defineCheckbox: import("../registry.js").Definer;
|
|
9
|
+
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -74,5 +74,6 @@ export declare class OfficeUiColorCustom extends OfficeElement {
|
|
|
74
74
|
protected willUpdate(): void;
|
|
75
75
|
protected render(): import("lit").TemplateResult<1>;
|
|
76
76
|
}
|
|
77
|
-
export declare const defineColorCustom: import("../
|
|
77
|
+
export declare const defineColorCustom: import("../registry.js").Definer;
|
|
78
78
|
export {};
|
|
79
|
+
//# sourceMappingURL=color-custom.d.ts.map
|
|
@@ -147,4 +147,5 @@ export declare class OfficeUiColorGrid extends OfficeElement {
|
|
|
147
147
|
protected willUpdate(): void;
|
|
148
148
|
protected render(): import("lit").TemplateResult<1>;
|
|
149
149
|
}
|
|
150
|
-
export declare const defineColorGrid: import("../
|
|
150
|
+
export declare const defineColorGrid: import("../registry.js").Definer;
|
|
151
|
+
//# sourceMappingURL=color-grid.d.ts.map
|
package/dist/form/radio.d.ts
CHANGED
|
@@ -65,4 +65,5 @@ export declare class OfficeUiRadio extends OfficeElement {
|
|
|
65
65
|
protected willUpdate(): void;
|
|
66
66
|
protected render(): import("lit").TemplateResult<1>;
|
|
67
67
|
}
|
|
68
|
-
export declare const defineRadio: import("../
|
|
68
|
+
export declare const defineRadio: import("../registry.js").Definer;
|
|
69
|
+
//# sourceMappingURL=radio.d.ts.map
|
|
@@ -51,4 +51,5 @@ export declare class OfficeUiSearch extends OfficeElement {
|
|
|
51
51
|
private onChange;
|
|
52
52
|
protected render(): import("lit").TemplateResult<1>;
|
|
53
53
|
}
|
|
54
|
-
export declare const defineSearchField: import("../
|
|
54
|
+
export declare const defineSearchField: import("../registry.js").Definer;
|
|
55
|
+
//# sourceMappingURL=search-field.d.ts.map
|
|
@@ -41,4 +41,5 @@ export declare class OfficeUiSymbolPicker extends OfficeElement {
|
|
|
41
41
|
protected willUpdate(): void;
|
|
42
42
|
protected render(): import("lit").TemplateResult<1>;
|
|
43
43
|
}
|
|
44
|
-
export declare const defineSymbolPicker: import("../
|
|
44
|
+
export declare const defineSymbolPicker: import("../registry.js").Definer;
|
|
45
|
+
//# sourceMappingURL=symbol-picker.d.ts.map
|
|
@@ -75,4 +75,5 @@ export declare class OfficeUiZoomSlider extends OfficeElement {
|
|
|
75
75
|
protected willUpdate(): void;
|
|
76
76
|
protected render(): import("lit").TemplateResult<1>;
|
|
77
77
|
}
|
|
78
|
-
export declare const defineZoomSlider: import("../
|
|
78
|
+
export declare const defineZoomSlider: import("../registry.js").Definer;
|
|
79
|
+
//# sourceMappingURL=zoom-slider.d.ts.map
|
|
@@ -40,3 +40,4 @@ export declare function probeNativeImageSize(src: string): Promise<NativeImageSi
|
|
|
40
40
|
export declare function clearNativeImageSizeCache(): void;
|
|
41
41
|
/** Test-only compatibility alias. */
|
|
42
42
|
export declare function _resetNativeImageSizeCacheForTests(): void;
|
|
43
|
+
//# sourceMappingURL=image-native-size.d.ts.map
|
|
@@ -71,4 +71,5 @@ export declare class OfficeUiCommandSearch extends OfficeElement {
|
|
|
71
71
|
private optionTemplates;
|
|
72
72
|
protected render(): import("lit").TemplateResult<1>;
|
|
73
73
|
}
|
|
74
|
-
export declare const defineCommandSearch: import("../
|
|
74
|
+
export declare const defineCommandSearch: import("../registry.js").Definer;
|
|
75
|
+
//# sourceMappingURL=command-search.d.ts.map
|
|
@@ -86,4 +86,5 @@ export declare class OfficeUiContextMenu extends OfficeElement {
|
|
|
86
86
|
private rowTemplates;
|
|
87
87
|
protected render(): TemplateResult<1>;
|
|
88
88
|
}
|
|
89
|
-
export declare const defineContextMenu: import("../
|
|
89
|
+
export declare const defineContextMenu: import("../registry.js").Definer;
|
|
90
|
+
//# sourceMappingURL=context-menu.d.ts.map
|
package/dist/menu/menu-item.d.ts
CHANGED
|
@@ -49,4 +49,5 @@ export declare class OfficeUiMenuItem extends OfficeElement {
|
|
|
49
49
|
private onClick;
|
|
50
50
|
protected render(): import("lit").TemplateResult<1>;
|
|
51
51
|
}
|
|
52
|
-
export declare const defineMenuItem: import("../
|
|
52
|
+
export declare const defineMenuItem: import("../registry.js").Definer;
|
|
53
|
+
//# sourceMappingURL=menu-item.d.ts.map
|
|
@@ -38,4 +38,5 @@ export declare class OfficeUiPasteOptions extends OfficeElement {
|
|
|
38
38
|
protected willUpdate(): void;
|
|
39
39
|
protected render(): import("lit").TemplateResult<1>;
|
|
40
40
|
}
|
|
41
|
-
export declare const definePasteOptions: import("../
|
|
41
|
+
export declare const definePasteOptions: import("../registry.js").Definer;
|
|
42
|
+
//# sourceMappingURL=paste-options.d.ts.map
|
package/dist/notices/toasts.d.ts
CHANGED
|
@@ -37,4 +37,5 @@ export declare class OfficeUiToasts extends OfficeElement {
|
|
|
37
37
|
protected willUpdate(_changed: PropertyValues<this>): void;
|
|
38
38
|
protected render(): import("lit").TemplateResult<1>;
|
|
39
39
|
}
|
|
40
|
-
export declare const defineToasts: import("../
|
|
40
|
+
export declare const defineToasts: import("../registry.js").Definer;
|
|
41
|
+
//# sourceMappingURL=toasts.d.ts.map
|
|
@@ -8,14 +8,46 @@ function cssPx(width) {
|
|
|
8
8
|
const rounded = Number(width.toFixed(4));
|
|
9
9
|
return `${rounded > 0 ? rounded : 1e-4}px`;
|
|
10
10
|
}
|
|
11
|
-
|
|
11
|
+
var STEP = `max(var(${DEVICE_PX_VAR}, 0px), 0.001px)`;
|
|
12
|
+
function quantizedWidth(widthExpr) {
|
|
13
|
+
return `max(${STEP}, round(${widthExpr}, ${STEP}))`;
|
|
14
|
+
}
|
|
15
|
+
function screenStrokeWidth(width, minOutsideStage = 0) {
|
|
16
|
+
if (typeof width !== "number" || !Number.isFinite(width) || width <= 0) {
|
|
17
|
+
return "0px";
|
|
18
|
+
}
|
|
19
|
+
const quantized = quantizedWidth(cssPx(width));
|
|
20
|
+
return minOutsideStage > 0 ? `max(${quantized}, ${outsideStageFloor(minOutsideStage)})` : quantized;
|
|
21
|
+
}
|
|
22
|
+
function outsideStageFloor(min) {
|
|
23
|
+
const dp = `var(${DEVICE_PX_VAR}, 1000px)`;
|
|
24
|
+
const px = cssPx(min);
|
|
25
|
+
return `max(clamp(0px, calc(${dp} - 100px), ${px}), clamp(0px, calc((0.001px - ${dp}) * 1000), ${px}))`;
|
|
26
|
+
}
|
|
27
|
+
function snappedStrokeShift(coord, width) {
|
|
28
|
+
if (typeof width !== "number" || !Number.isFinite(width) || width <= 0 || !Number.isFinite(coord)) {
|
|
29
|
+
return "0px";
|
|
30
|
+
}
|
|
31
|
+
const at = `${Number(coord.toFixed(4))}px`;
|
|
32
|
+
const full = quantizedWidth(cssPx(width));
|
|
33
|
+
return `calc(round(${at}, ${STEP}) - round(down, calc(${full} / 2), ${STEP}) + ${full} / 2 - ${at})`;
|
|
34
|
+
}
|
|
35
|
+
function snappedStrokeTransform(axis, x, y, width) {
|
|
36
|
+
if (typeof width !== "number" || !Number.isFinite(width) || width <= 0) {
|
|
37
|
+
return void 0;
|
|
38
|
+
}
|
|
39
|
+
const dx = axis === "h" ? "0px" : snappedStrokeShift(x, width);
|
|
40
|
+
const dy = axis === "v" ? "0px" : snappedStrokeShift(y, width);
|
|
41
|
+
return `translate(${dx}, ${dy})`;
|
|
42
|
+
}
|
|
43
|
+
function screenBorderWidth(width) {
|
|
12
44
|
if (typeof width !== "number" || !Number.isFinite(width) || width <= 0) {
|
|
13
45
|
return "0px";
|
|
14
46
|
}
|
|
15
47
|
return `max(${cssPx(width)}, var(${DEVICE_PX_VAR}, 0px))`;
|
|
16
48
|
}
|
|
17
49
|
function screenBorder(width, style, color) {
|
|
18
|
-
return `${
|
|
50
|
+
return `${screenBorderWidth(width)} ${style ?? "solid"} ${color}`;
|
|
19
51
|
}
|
|
20
52
|
var watchedWindows = /* @__PURE__ */ new WeakSet();
|
|
21
53
|
function watchDevicePixelRatio(win = typeof window === "undefined" ? void 0 : window) {
|
|
@@ -1034,4 +1066,4 @@ function pinCapturedSize(original, clonedEl) {
|
|
|
1034
1066
|
});
|
|
1035
1067
|
}
|
|
1036
1068
|
|
|
1037
|
-
export { CLONE_STYLE_SHEET_TIMEOUT_MS, DEVICE_PIXEL_RATIO_VAR, DEVICE_PX_VAR, MAX_DEVICE_PIXEL_RATIO, THREE_VIEW_MARKER_ATTR, THREE_VIEW_SETTLE_TIMEOUT_MS, THREE_VIEW_SNAPSHOT_ATTR, THREE_VIEW_TAG, clonedStyleSheetsLoaded, computeThreeViewSize, defineThreeViewElement, deviceStrokeStageStyle, flatten3dTransform, flatten3dTransforms, flattenBackdropFilter, flattenMixBlendMode, has3dTransform, html2canvasCaptureScope, isExportIgnoredElement, neutralizeDeviceStrokes, parseBlurValue, pinCapturedSize, prepareExportClone, prepareHtml2CanvasClone, preprocessCssForCapture, removeUnsupportedFeatures, resolveCustomProperties, screenBorder, screenStrokeWidth, settleThreeViews, snapshotThreeViewsIntoClone, watchDevicePixelRatio, withAuthoredStrokeWidths };
|
|
1069
|
+
export { CLONE_STYLE_SHEET_TIMEOUT_MS, DEVICE_PIXEL_RATIO_VAR, DEVICE_PX_VAR, MAX_DEVICE_PIXEL_RATIO, THREE_VIEW_MARKER_ATTR, THREE_VIEW_SETTLE_TIMEOUT_MS, THREE_VIEW_SNAPSHOT_ATTR, THREE_VIEW_TAG, clonedStyleSheetsLoaded, computeThreeViewSize, defineThreeViewElement, deviceStrokeStageStyle, flatten3dTransform, flatten3dTransforms, flattenBackdropFilter, flattenMixBlendMode, has3dTransform, html2canvasCaptureScope, isExportIgnoredElement, neutralizeDeviceStrokes, parseBlurValue, pinCapturedSize, prepareExportClone, prepareHtml2CanvasClone, preprocessCssForCapture, removeUnsupportedFeatures, resolveCustomProperties, screenBorder, screenBorderWidth, screenStrokeWidth, settleThreeViews, snappedStrokeShift, snappedStrokeTransform, snapshotThreeViewsIntoClone, watchDevicePixelRatio, withAuthoredStrokeWidths };
|
|
@@ -1,7 +1,7 @@
|
|
|
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, refreshSmartArtPictureImage, SMARTART_PREVIEW_ELEMENT_WIDTH, SMARTART_PREVIEW_ELEMENT_HEIGHT, buildSmartArtPreviewElement, isForwardedEditLayerEvent } from './chunk-
|
|
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, refreshSmartArtPictureImage, SMARTART_PREVIEW_ELEMENT_WIDTH, SMARTART_PREVIEW_ELEMENT_HEIGHT, buildSmartArtPreviewElement, isForwardedEditLayerEvent } from './chunk-OPLK7GPB.mjs';
|
|
2
2
|
import { canDrillDown } from './chunk-FUKVYJPM.mjs';
|
|
3
3
|
import { formatAxisValue } from './chunk-TW5UQCZS.mjs';
|
|
4
|
-
import { THREE_VIEW_TAG, defineThreeViewElement } from './chunk-
|
|
4
|
+
import { THREE_VIEW_TAG, defineThreeViewElement } from './chunk-BA4CJI4U.mjs';
|
|
5
5
|
|
|
6
6
|
// src/pptx/dom/dom.ts
|
|
7
7
|
function toCssPropertyName(key) {
|
|
@@ -10,14 +10,46 @@ function cssPx(width) {
|
|
|
10
10
|
const rounded = Number(width.toFixed(4));
|
|
11
11
|
return `${rounded > 0 ? rounded : 1e-4}px`;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
var STEP = `max(var(${DEVICE_PX_VAR}, 0px), 0.001px)`;
|
|
14
|
+
function quantizedWidth(widthExpr) {
|
|
15
|
+
return `max(${STEP}, round(${widthExpr}, ${STEP}))`;
|
|
16
|
+
}
|
|
17
|
+
function screenStrokeWidth(width, minOutsideStage = 0) {
|
|
18
|
+
if (typeof width !== "number" || !Number.isFinite(width) || width <= 0) {
|
|
19
|
+
return "0px";
|
|
20
|
+
}
|
|
21
|
+
const quantized = quantizedWidth(cssPx(width));
|
|
22
|
+
return minOutsideStage > 0 ? `max(${quantized}, ${outsideStageFloor(minOutsideStage)})` : quantized;
|
|
23
|
+
}
|
|
24
|
+
function outsideStageFloor(min) {
|
|
25
|
+
const dp = `var(${DEVICE_PX_VAR}, 1000px)`;
|
|
26
|
+
const px = cssPx(min);
|
|
27
|
+
return `max(clamp(0px, calc(${dp} - 100px), ${px}), clamp(0px, calc((0.001px - ${dp}) * 1000), ${px}))`;
|
|
28
|
+
}
|
|
29
|
+
function snappedStrokeShift(coord, width) {
|
|
30
|
+
if (typeof width !== "number" || !Number.isFinite(width) || width <= 0 || !Number.isFinite(coord)) {
|
|
31
|
+
return "0px";
|
|
32
|
+
}
|
|
33
|
+
const at = `${Number(coord.toFixed(4))}px`;
|
|
34
|
+
const full = quantizedWidth(cssPx(width));
|
|
35
|
+
return `calc(round(${at}, ${STEP}) - round(down, calc(${full} / 2), ${STEP}) + ${full} / 2 - ${at})`;
|
|
36
|
+
}
|
|
37
|
+
function snappedStrokeTransform(axis, x, y, width) {
|
|
38
|
+
if (typeof width !== "number" || !Number.isFinite(width) || width <= 0) {
|
|
39
|
+
return void 0;
|
|
40
|
+
}
|
|
41
|
+
const dx = axis === "h" ? "0px" : snappedStrokeShift(x, width);
|
|
42
|
+
const dy = axis === "v" ? "0px" : snappedStrokeShift(y, width);
|
|
43
|
+
return `translate(${dx}, ${dy})`;
|
|
44
|
+
}
|
|
45
|
+
function screenBorderWidth(width) {
|
|
14
46
|
if (typeof width !== "number" || !Number.isFinite(width) || width <= 0) {
|
|
15
47
|
return "0px";
|
|
16
48
|
}
|
|
17
49
|
return `max(${cssPx(width)}, var(${DEVICE_PX_VAR}, 0px))`;
|
|
18
50
|
}
|
|
19
51
|
function screenBorder(width, style, color) {
|
|
20
|
-
return `${
|
|
52
|
+
return `${screenBorderWidth(width)} ${style ?? "solid"} ${color}`;
|
|
21
53
|
}
|
|
22
54
|
var watchedWindows = /* @__PURE__ */ new WeakSet();
|
|
23
55
|
function watchDevicePixelRatio(win = typeof window === "undefined" ? void 0 : window) {
|
|
@@ -1064,8 +1096,11 @@ exports.preprocessCssForCapture = preprocessCssForCapture;
|
|
|
1064
1096
|
exports.removeUnsupportedFeatures = removeUnsupportedFeatures;
|
|
1065
1097
|
exports.resolveCustomProperties = resolveCustomProperties;
|
|
1066
1098
|
exports.screenBorder = screenBorder;
|
|
1099
|
+
exports.screenBorderWidth = screenBorderWidth;
|
|
1067
1100
|
exports.screenStrokeWidth = screenStrokeWidth;
|
|
1068
1101
|
exports.settleThreeViews = settleThreeViews;
|
|
1102
|
+
exports.snappedStrokeShift = snappedStrokeShift;
|
|
1103
|
+
exports.snappedStrokeTransform = snappedStrokeTransform;
|
|
1069
1104
|
exports.snapshotThreeViewsIntoClone = snapshotThreeViewsIntoClone;
|
|
1070
1105
|
exports.watchDevicePixelRatio = watchDevicePixelRatio;
|
|
1071
1106
|
exports.withAuthoredStrokeWidths = withAuthoredStrokeWidths;
|