ooxml-ui 1.8.1 → 1.8.3
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/{chunk-KF72ZA6V.js → chunk-CTPXTRDT.js} +2 -2
- package/dist/{chunk-BCH2ZLWI.js → chunk-S6ZXU442.js} +20 -1
- package/dist/{chunk-7US5GCXF.js → chunk-SUHT5S2P.js} +1 -1
- package/dist/docx.js +5 -2
- package/dist/index.js +3 -3
- package/dist/pptx/{chunk-MCHPNO42.mjs → chunk-GHFJ46NS.mjs} +24 -3
- package/dist/pptx/{chunk-GCS5KBMR.cjs → chunk-KMNNTEGF.cjs} +24 -2
- package/dist/pptx/dom/index.cjs +199 -199
- package/dist/pptx/dom/index.mjs +2 -2
- package/dist/pptx/index.cjs +2721 -2717
- package/dist/pptx/index.mjs +1 -1
- package/dist/pptx/render/autosave-recovery.d.ts.map +1 -1
- package/dist/pptx/render/autosave-store.d.ts +2 -0
- package/dist/pptx/render/autosave-store.d.ts.map +1 -1
- package/dist/pptx/render/ribbon-galleries/gallery-types.d.ts +6 -0
- package/dist/pptx/render/ribbon-galleries/gallery-types.d.ts.map +1 -1
- package/dist/pptx/render/ribbon-galleries/smartart-layouts-gallery.d.ts.map +1 -1
- package/dist/pptx/web-components/ribbon-gallery.d.ts.map +1 -1
- package/dist/teams.js +2 -2
- package/dist/theme-bridge.d.ts +6 -2
- package/dist/theme.js +1 -1
- package/dist/visio.js +74 -21
- package/dist/xlsx.js +8 -6
- package/package.json +3 -3
package/dist/xlsx.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import './chunk-
|
|
1
|
+
import './chunk-CTPXTRDT.js';
|
|
2
2
|
import { syncRibbonAddIns } from './chunk-W6AV3GHC.js';
|
|
3
3
|
export { RIBBON_ADD_IN_EVENT } from './chunk-W6AV3GHC.js';
|
|
4
4
|
import { defineSmartArt } from './chunk-PXIYHFZ5.js';
|
|
5
|
-
import { withExtension, saveExtension, downloadBytes, emit, emitEvent, blobFor, announceFileCommand, pickFile } from './chunk-
|
|
6
|
-
export { XLSX_EDITOR_EVENTS } from './chunk-
|
|
5
|
+
import { withExtension, saveExtension, downloadBytes, emit, emitEvent, blobFor, announceFileCommand, pickFile } from './chunk-SUHT5S2P.js';
|
|
6
|
+
export { XLSX_EDITOR_EVENTS } from './chunk-SUHT5S2P.js';
|
|
7
7
|
import './chunk-SNV6YKPC.js';
|
|
8
|
-
import { shadcnBridge } from './chunk-
|
|
8
|
+
import { shadcnBridge } from './chunk-S6ZXU442.js';
|
|
9
9
|
import { range_control_default, createRibbonOverflow, defineBackstage, defineRibbon, defineRibbonActions, defineTitleBar, defineStatusBar, defineZoomSlider, rangeControl, defineDialog, runKeyTips, assignKeyTips, defineCheckbox, defineGallery, defineColorGrid, defineContextMenu, defineCommentsPane, parseSvgPreview } from './chunk-O7APCA5N.js';
|
|
10
10
|
import { getIcon, registerIcon } from './chunk-M6GF5ED2.js';
|
|
11
11
|
import { definePresence } from './chunk-L7JV5FVE.js';
|
|
@@ -8929,7 +8929,8 @@ function createGradientStopTrack(doc) {
|
|
|
8929
8929
|
const previous = drag;
|
|
8930
8930
|
drag = void 0;
|
|
8931
8931
|
paintStops(current.stops);
|
|
8932
|
-
element.querySelectorAll("button")
|
|
8932
|
+
const buttons = element.querySelectorAll("button");
|
|
8933
|
+
buttons[previous.index]?.style.setProperty("left", `calc(${previous.origin}% - 7px)`);
|
|
8933
8934
|
current.onPreview?.(previous.index, void 0);
|
|
8934
8935
|
if (element.hasPointerCapture?.(previous.pointer))
|
|
8935
8936
|
element.releasePointerCapture(previous.pointer);
|
|
@@ -8994,7 +8995,8 @@ function createGradientStopTrack(doc) {
|
|
|
8994
8995
|
);
|
|
8995
8996
|
if (value === drag.value) return;
|
|
8996
8997
|
drag.value = value;
|
|
8997
|
-
element.querySelectorAll("button")
|
|
8998
|
+
const buttons = element.querySelectorAll("button");
|
|
8999
|
+
buttons[drag.index]?.style.setProperty("left", `calc(${value}% - 7px)`);
|
|
8998
9000
|
paintStops(
|
|
8999
9001
|
current.stops.map(
|
|
9000
9002
|
(stop, index) => index === drag.index ? { ...stop, position: value } : stop
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ooxml-ui",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.3",
|
|
4
4
|
"description": "Shared, format-neutral web components and styles for the Office viewers (Word, PowerPoint, Excel)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"custom-elements",
|
|
@@ -140,13 +140,13 @@
|
|
|
140
140
|
"test": "vitest run",
|
|
141
141
|
"test:package": "node scripts/package-smoke.mjs",
|
|
142
142
|
"gen:manifest": "node scripts/gen-manifest.mjs",
|
|
143
|
-
"test:pptx": "vitest run --project pptx
|
|
143
|
+
"test:pptx": "vitest run --project 'pptx*'"
|
|
144
144
|
},
|
|
145
145
|
"dependencies": {
|
|
146
146
|
"dompurify": "^3.4.16",
|
|
147
147
|
"emf-converter": "4.11.2",
|
|
148
148
|
"lit": "^3.3.3",
|
|
149
|
-
"ooxml-core": "^1.8.
|
|
149
|
+
"ooxml-core": "^1.8.2",
|
|
150
150
|
"opentype.js": "^2.0.0",
|
|
151
151
|
"prosemirror-collab": "^1.3.1",
|
|
152
152
|
"prosemirror-commands": "^1.7.2",
|