ooxml-ui 1.12.1 → 1.12.2
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/chrome/find-bar.d.ts +2 -1
- package/dist/{chunk-TXUIQPHW.js → chunk-NLJVBHLG.js} +1 -1
- package/dist/controls.d.ts +1 -0
- package/dist/docx.js +8 -1
- package/dist/form/zoom-slider.d.ts +2 -1
- package/dist/index.js +2 -2
- package/dist/keytips.d.ts +1 -0
- package/dist/ribbon/ribbon-tabs.d.ts +2 -1
- package/dist/ribbon/svg-preview.d.ts +1 -0
- package/dist/teams.js +1 -1
- package/dist/xlsx.js +3 -3
- package/package.json +2 -2
- /package/dist/{chunk-2LUIF3FX.js → chunk-3H5NR32A.js} +0 -0
|
@@ -193,4 +193,5 @@ export declare class OfficeUiFindBar extends OfficeElement {
|
|
|
193
193
|
private replaceOptions;
|
|
194
194
|
protected render(): import("lit").TemplateResult<1>;
|
|
195
195
|
}
|
|
196
|
-
export declare const defineFindBar: import("../
|
|
196
|
+
export declare const defineFindBar: import("../registry.js").Definer;
|
|
197
|
+
//# sourceMappingURL=find-bar.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineSmartArt } from './chunk-PXIYHFZ5.js';
|
|
2
|
-
import { TEAMS_TAGS, registerTeams } from './chunk-
|
|
2
|
+
import { TEAMS_TAGS, registerTeams } from './chunk-3H5NR32A.js';
|
|
3
3
|
import { installOfficeUiTheme } from './chunk-S6ZXU442.js';
|
|
4
4
|
import { registerControls } from './chunk-FUQYUUIQ.js';
|
|
5
5
|
import { definePresence } from './chunk-L7JV5FVE.js';
|
package/dist/controls.d.ts
CHANGED
|
@@ -78,3 +78,4 @@ export { clampOptionNumber, type OfficeOptionCategory, type OfficeOptionChoice,
|
|
|
78
78
|
export declare const CONTROL_DEFINERS: readonly [import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer, import("./registry.js").Definer];
|
|
79
79
|
/** Idempotent, SSR-safe (no-op without a DOM). */
|
|
80
80
|
export declare function registerControls(registry?: CustomElementRegistry): void;
|
|
81
|
+
//# sourceMappingURL=controls.d.ts.map
|
package/dist/docx.js
CHANGED
|
@@ -14430,11 +14430,15 @@ function dispatchDocumentError(element, cause) {
|
|
|
14430
14430
|
emit(element, "document-error", cause instanceof Error ? cause : new Error(String(cause)));
|
|
14431
14431
|
}
|
|
14432
14432
|
function reviewDisplayPlugin(getMode) {
|
|
14433
|
+
let cachedDoc;
|
|
14434
|
+
let cachedMode;
|
|
14435
|
+
let cachedDecorations;
|
|
14433
14436
|
return new Plugin({
|
|
14434
14437
|
props: {
|
|
14435
14438
|
attributes: () => ({ "data-review-display": getMode() }),
|
|
14436
14439
|
decorations(state) {
|
|
14437
14440
|
const mode = getMode();
|
|
14441
|
+
if (state.doc === cachedDoc && mode === cachedMode) return cachedDecorations;
|
|
14438
14442
|
const decorations2 = [];
|
|
14439
14443
|
state.doc.descendants((node, pos) => {
|
|
14440
14444
|
if (mode === "all" && paragraphFormattingRevision(node))
|
|
@@ -14452,7 +14456,10 @@ function reviewDisplayPlugin(getMode) {
|
|
|
14452
14456
|
Decoration.inline(pos, pos + node.nodeSize, { class: "dve-revision-hidden" })
|
|
14453
14457
|
);
|
|
14454
14458
|
});
|
|
14455
|
-
|
|
14459
|
+
cachedDoc = state.doc;
|
|
14460
|
+
cachedMode = mode;
|
|
14461
|
+
cachedDecorations = decorations2.length ? DecorationSet.create(state.doc, decorations2) : null;
|
|
14462
|
+
return cachedDecorations;
|
|
14456
14463
|
}
|
|
14457
14464
|
}
|
|
14458
14465
|
});
|
|
@@ -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
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { OFFICE_UI_TAGS, registerOfficeUi } from './chunk-
|
|
1
|
+
export { OFFICE_UI_TAGS, registerOfficeUi } from './chunk-NLJVBHLG.js';
|
|
2
2
|
export { RIBBON_ADD_IN_EVENT, defineRibbonAddInElements, syncRibbonAddIns } from './chunk-GI3WX6LZ.js';
|
|
3
3
|
export { OfficeUiSmartArt, defineSmartArt, renderDiagramDrawing } from './chunk-PXIYHFZ5.js';
|
|
4
|
-
export { EMOJI, OfficeUiAppRail, OfficeUiAvatar, OfficeUiCallControls, OfficeUiCallGrid, OfficeUiChannelList, OfficeUiChatComposer, OfficeUiChatList, OfficeUiPrejoin, QUICK_REACTIONS, TEAMS_TAGS, TeamsApp, TeamsChannelTab, TeamsContentPreview, TeamsController, TeamsElement, TeamsFilesPanel, TeamsSettings, applyTeamsProps, colorFor, createTeams, dayLabel, defineAppRail, defineAvatar, defineCallControls, defineCallGrid, defineChannelList, defineChatComposer, defineChatList, definePrejoin, defineTeamsApp, defineTeamsChannelTab, defineTeamsContentPreview, defineTeamsFilesPanel, defineTeamsSettings, formatElapsed, formatSize, formatTime, icon, listenTeamsEvents, loadConfig, loadIdentity, parseIceLines, registerTeams, safeStorage, saveConfig, saveIdentity, withStyles } from './chunk-
|
|
4
|
+
export { EMOJI, OfficeUiAppRail, OfficeUiAvatar, OfficeUiCallControls, OfficeUiCallGrid, OfficeUiChannelList, OfficeUiChatComposer, OfficeUiChatList, OfficeUiPrejoin, QUICK_REACTIONS, TEAMS_TAGS, TeamsApp, TeamsChannelTab, TeamsContentPreview, TeamsController, TeamsElement, TeamsFilesPanel, TeamsSettings, applyTeamsProps, colorFor, createTeams, dayLabel, defineAppRail, defineAvatar, defineCallControls, defineCallGrid, defineChannelList, defineChatComposer, defineChatList, definePrejoin, defineTeamsApp, defineTeamsChannelTab, defineTeamsContentPreview, defineTeamsFilesPanel, defineTeamsSettings, formatElapsed, formatSize, formatTime, icon, listenTeamsEvents, loadConfig, loadIdentity, parseIceLines, registerTeams, safeStorage, saveConfig, saveIdentity, withStyles } from './chunk-3H5NR32A.js';
|
|
5
5
|
export { TeamsPresentationPreview, defineTeamsPresentationPreview } from './chunk-HZSYGNNB.js';
|
|
6
6
|
export { THEME_CSS, THEME_STYLE_ID, installOfficeUiTheme, shadcnBridge, themeBridge } from './chunk-S6ZXU442.js';
|
|
7
7
|
export { CONTROL_DEFINERS, DEFAULT_COMMENTS_LABELS, DEFAULT_OFFICE_PROFILE, EMPTY_MENU_STATE, OFFICE_AVATAR_SWATCHES, OFFICE_COLOR_SWATCHES, OFFICE_COLOR_SWATCH_HEXES, OFFICE_PROFILE_STORAGE_KEY, OFFICE_SYMBOLS, OFFICE_TITLE_BAR_SEARCH_LIMIT, OFFICE_TOAST_VISIBLE_LIMIT, assignKeyTips, attachKeyTips, attachRibbonGroupOverflow, clampFlyoutPosition, clampOptionNumber, clearOfficeProfile, commentInitials, createRibbonOverflow, defineAccount, defineBackstage, defineButton, defineCheckbox, defineColorCustom, defineColorGrid, defineCommandSearch, defineCommentsPane, defineContextMenu, defineDialog, defineDialogFooter, defineFindBar, defineGallery, defineIcon, defineMenuButton, defineMenuItem, defineMenuSeparator, defineOptionsDialog, definePasteOptions, definePrintPreview, defineRadio, defineReadOnlyBanner, defineRibbon, defineRibbonActions, defineRibbonGroup, defineRibbonSection, defineRibbonStack, defineRibbonToggle, defineRuler, defineSearchField, defineSelect, defineStatusBar, defineStatusItem, defineSwitch, defineSymbolPicker, defineTabStrip, defineTaskPane, defineTitleBar, defineToasts, defineToolbar, defineZoomSlider, fitRibbonGroups, formatCommentTime, glyph, nextEnabledIndex, parseOfficeSymbolCode, parseSvgPreview, profileInitials, readOfficeProfile, registerControls, rulerDivisions, runKeyTips, sanitizeOfficeProfile, typeAheadIndex, writeOfficeProfile } from './chunk-FUQYUUIQ.js';
|
package/dist/keytips.d.ts
CHANGED
|
@@ -142,5 +142,6 @@ export declare class OfficeUiRibbon extends OfficeElement {
|
|
|
142
142
|
protected updated(): void;
|
|
143
143
|
protected render(): import("lit").TemplateResult<1>;
|
|
144
144
|
}
|
|
145
|
-
export declare const defineRibbon: import("../
|
|
145
|
+
export declare const defineRibbon: import("../registry.js").Definer;
|
|
146
146
|
export {};
|
|
147
|
+
//# sourceMappingURL=ribbon-tabs.d.ts.map
|
|
@@ -4,3 +4,4 @@ export declare function escapeSvgText(text: string): string;
|
|
|
4
4
|
export declare function safeColor(color: string | undefined, fallback?: string): string;
|
|
5
5
|
/** The shared shell every tile uses. */
|
|
6
6
|
export declare function svgTile(width: number, height: number, defs: string, body: string): string;
|
|
7
|
+
//# sourceMappingURL=svg-preview.d.ts.map
|
package/dist/teams.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { EMOJI, OfficeUiAppRail, OfficeUiAvatar, OfficeUiCallControls, OfficeUiCallGrid, OfficeUiChannelList, OfficeUiChatComposer, OfficeUiChatList, OfficeUiPrejoin, QUICK_REACTIONS, TEAMS_TAGS, TeamsApp, TeamsChannelTab, TeamsContentPreview, TeamsController, TeamsElement, TeamsFilesPanel, TeamsSettings, applyTeamsProps, colorFor, createTeams, dayLabel, defineAppRail, defineAvatar, defineCallControls, defineCallGrid, defineChannelList, defineChatComposer, defineChatList, definePrejoin, defineTeamsApp, defineTeamsChannelTab, defineTeamsContentPreview, defineTeamsFilesPanel, defineTeamsSettings, formatElapsed, formatSize, formatTime, icon, listenTeamsEvents, loadConfig, loadIdentity, parseIceLines, registerTeams, safeStorage, saveConfig, saveIdentity, withStyles } from './chunk-
|
|
1
|
+
export { EMOJI, OfficeUiAppRail, OfficeUiAvatar, OfficeUiCallControls, OfficeUiCallGrid, OfficeUiChannelList, OfficeUiChatComposer, OfficeUiChatList, OfficeUiPrejoin, QUICK_REACTIONS, TEAMS_TAGS, TeamsApp, TeamsChannelTab, TeamsContentPreview, TeamsController, TeamsElement, TeamsFilesPanel, TeamsSettings, applyTeamsProps, colorFor, createTeams, dayLabel, defineAppRail, defineAvatar, defineCallControls, defineCallGrid, defineChannelList, defineChatComposer, defineChatList, definePrejoin, defineTeamsApp, defineTeamsChannelTab, defineTeamsContentPreview, defineTeamsFilesPanel, defineTeamsSettings, formatElapsed, formatSize, formatTime, icon, listenTeamsEvents, loadConfig, loadIdentity, parseIceLines, registerTeams, safeStorage, saveConfig, saveIdentity, withStyles } from './chunk-3H5NR32A.js';
|
|
2
2
|
export { TeamsPresentationPreview, defineTeamsPresentationPreview } from './chunk-HZSYGNNB.js';
|
|
3
3
|
import './chunk-S6ZXU442.js';
|
|
4
4
|
import './chunk-FUQYUUIQ.js';
|
package/dist/xlsx.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { trackPointerGesture } from './chunk-GSXOZCAN.js';
|
|
2
|
-
import './chunk-
|
|
2
|
+
import './chunk-NLJVBHLG.js';
|
|
3
3
|
import { syncRibbonAddIns } from './chunk-GI3WX6LZ.js';
|
|
4
4
|
export { RIBBON_ADD_IN_EVENT } from './chunk-GI3WX6LZ.js';
|
|
5
5
|
import { defineSmartArt } from './chunk-PXIYHFZ5.js';
|
|
6
|
-
import { withExtension, saveExtension, downloadBytes, emit, emitEvent, blobFor, announceFileCommand, pickFile } from './chunk-
|
|
7
|
-
export { XLSX_EDITOR_EVENTS } from './chunk-
|
|
6
|
+
import { withExtension, saveExtension, downloadBytes, emit, emitEvent, blobFor, announceFileCommand, pickFile } from './chunk-3H5NR32A.js';
|
|
7
|
+
export { XLSX_EDITOR_EVENTS } from './chunk-3H5NR32A.js';
|
|
8
8
|
import './chunk-HZSYGNNB.js';
|
|
9
9
|
import { shadcnBridge } from './chunk-S6ZXU442.js';
|
|
10
10
|
import { range_control_default, createRibbonOverflow, defineBackstage, defineRibbon, defineRibbonActions, defineTitleBar, defineStatusBar, defineZoomSlider, rangeControl, defineDialog, runKeyTips, assignKeyTips, defineCheckbox, defineGallery, defineColorGrid, defineContextMenu, defineCommentsPane, parseSvgPreview } from './chunk-FUQYUUIQ.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ooxml-ui",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.2",
|
|
4
4
|
"description": "Shared, format-neutral web components and styles for the Office viewers (Word, PowerPoint, Excel)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"custom-elements",
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"dompurify": "^3.4.16",
|
|
147
147
|
"emf-converter": "4.18.1",
|
|
148
148
|
"lit": "^3.3.3",
|
|
149
|
-
"ooxml-core": "^1.12.
|
|
149
|
+
"ooxml-core": "^1.12.1",
|
|
150
150
|
"opentype.js": "^2.0.0",
|
|
151
151
|
"prosemirror-collab": "^1.3.1",
|
|
152
152
|
"prosemirror-commands": "^1.7.2",
|
|
File without changes
|