pptx-vue-viewer 3.5.4 → 3.5.5

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.
Files changed (35) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/{AiChatPanel-CGZdR_3_.cjs → AiChatPanel-B2KwDkZn.cjs} +1 -1
  3. package/dist/AiChatPanel-B2KwDkZn.cjs.br +0 -0
  4. package/dist/AiChatPanel-B2KwDkZn.cjs.gz +0 -0
  5. package/dist/{AiChatPanel-DhDQAeaB.js → AiChatPanel-ouM2KR_5.js} +1 -1
  6. package/dist/AiChatPanel-ouM2KR_5.js.br +0 -0
  7. package/dist/AiChatPanel-ouM2KR_5.js.gz +0 -0
  8. package/dist/index.cjs +1 -1
  9. package/dist/index.cjs.br +0 -0
  10. package/dist/index.cjs.gz +0 -0
  11. package/dist/index.js +1 -1
  12. package/dist/index.js.br +0 -0
  13. package/dist/index.js.gz +0 -0
  14. package/dist/viewer/components/ElementImageBox.vue.d.ts.map +1 -1
  15. package/dist/viewer/index.cjs +1 -1
  16. package/dist/viewer/index.cjs.br +0 -0
  17. package/dist/viewer/index.cjs.gz +0 -0
  18. package/dist/viewer/index.js +1 -1
  19. package/dist/viewer/index.js.br +0 -0
  20. package/dist/viewer/index.js.gz +0 -0
  21. package/dist/{viewer-D4-c1S11.cjs → viewer-9B8QVY98.cjs} +29 -24
  22. package/dist/viewer-9B8QVY98.cjs.br +0 -0
  23. package/dist/viewer-9B8QVY98.cjs.gz +0 -0
  24. package/dist/{viewer-DaZv3P9o.js → viewer-BKUh6PdB.js} +29 -24
  25. package/dist/viewer-BKUh6PdB.js.br +0 -0
  26. package/dist/viewer-BKUh6PdB.js.gz +0 -0
  27. package/package.json +1 -1
  28. package/dist/AiChatPanel-CGZdR_3_.cjs.br +0 -0
  29. package/dist/AiChatPanel-CGZdR_3_.cjs.gz +0 -0
  30. package/dist/AiChatPanel-DhDQAeaB.js.br +0 -0
  31. package/dist/AiChatPanel-DhDQAeaB.js.gz +0 -0
  32. package/dist/viewer-D4-c1S11.cjs.br +0 -0
  33. package/dist/viewer-D4-c1S11.cjs.gz +0 -0
  34. package/dist/viewer-DaZv3P9o.js.br +0 -0
  35. package/dist/viewer-DaZv3P9o.js.gz +0 -0
package/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ A release listed with no entries carried no Conventional Commit in this package'
7
7
  scope: scripts/release-plan.mjs re-releases a package whenever any of its files
8
8
  change, not only on conventional ones.
9
9
 
10
+ ## [3.5.4](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@3.5.4) - 2026-09-04
11
+
12
+ ### Bug Fixes
13
+
14
+ - **shared,vanilla:** Continue appended numbered paragraphs ([#211](https://github.com/ChristopherVR/pptx-viewer/issues/211)) (by @Sudhansh6) ([1c3a8c5](https://github.com/ChristopherVR/pptx-viewer/commit/1c3a8c5d9511b482b6903a6895ac68aa84b9d577))
15
+
10
16
  ## [3.5.3](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@3.5.3) - 2026-09-03
11
17
 
12
18
  ### Bug Fixes
@@ -1,4 +1,4 @@
1
- const e = require("./useViewerSettingsDialog-B_Jtypp5.cjs"), t = require("./viewer-D4-c1S11.cjs");
1
+ const e = require("./useViewerSettingsDialog-B_Jtypp5.cjs"), t = require("./viewer-9B8QVY98.cjs");
2
2
  let r = require("vue"), a = require("lucide-vue-next"), o = require("ai");
3
3
  var n = /* @__PURE__ */ new Set([
4
4
  "input-available",
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  import { gn as e } from "./useViewerSettingsDialog-9BlKG1Ob.js";
2
- import { S as t, T as a, _ as s, b as r, d as l, f as o, g as n, h as i, m as p, o as d, p as c, u, v as m, x, y as g } from "./viewer-DaZv3P9o.js";
2
+ import { S as t, T as a, _ as s, b as r, d as l, f as o, g as n, h as i, m as p, o as d, p as c, u, v as m, x, y as g } from "./viewer-BKUh6PdB.js";
3
3
  import { Fragment as f, Suspense as b, computed as v, createBlock as h, createCommentVNode as y, createElementBlock as k, createElementVNode as w, createTextVNode as C, createVNode as P, defineComponent as S, nextTick as T, normalizeClass as I, normalizeStyle as _, onBeforeUnmount as A, onMounted as E, openBlock as j, ref as M, renderList as F, resolveDynamicComponent as B, shallowRef as D, toDisplayString as N, unref as L, vModelText as R, watch as H, withAsyncContext as W, withCtx as z, withDirectives as V } from "vue";
4
4
  import { Bot as K, ChartColumn as O, Check as U, Crosshair as $, Eye as q, Film as G, GitMerge as J, History as Q, LayoutTemplate as X, LoaderCircle as Y, MessageSquare as Z, MessageSquarePlus as ee, Move as te, Navigation as ae, Palette as se, Pin as re, PinOff as le, Plus as oe, Search as ne, Send as ie, Shapes as pe, Sparkles as de, Square as ce, StickyNote as ue, Table as me, Trash2 as xe, TriangleAlert as ge, Type as fe, User as be, Wrench as ve, X as he } from "lucide-vue-next";
5
5
  import { getToolOrDynamicToolName as ye, isDynamicToolUIPart as ke, isToolUIPart as we } from "ai";
Binary file
Binary file
package/dist/index.cjs CHANGED
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const e = require("./useViewerSettingsDialog-B_Jtypp5.cjs"), o = require("./viewer-D4-c1S11.cjs");
2
+ const e = require("./useViewerSettingsDialog-B_Jtypp5.cjs"), o = require("./viewer-9B8QVY98.cjs");
3
3
  exports.AUDIENCE_HASH = e.AUDIENCE_HASH, exports.CollaborationCursors = o.CollaborationCursors_default, exports.CollaborationStatusIndicator = o.CollaborationStatusIndicator_default, exports.ElementRenderer = o.ElementRenderer_default, exports.FollowModeBar = o.FollowModeBar_default, exports.PPTX_OPEN_ACCEPT = e.PPTX_OPEN_ACCEPT, exports.PRESENTATION_OPEN_EXTENSIONS = e.PRESENTATION_OPEN_EXTENSIONS, exports.PowerPointViewer = o.PowerPointViewer_default, exports.RemoteSelectionOverlay = o.RemoteSelectionOverlay_default, exports.RibbonToolbar = o.RibbonToolbar_default, exports.SlideCanvas = o.SlideCanvas_default, exports.SlideStage = o.SlideStage_default, exports.clearAudienceContent = e.clearAudienceContent, exports.cn = o.cn, exports.defaultCssVars = e.defaultCssVars, exports.defaultRadius = e.defaultRadius, exports.defaultThemeColors = e.defaultThemeColors, exports.exportAllSlidesToSvg = e.exportAllSlidesToSvg, exports.exportAllSlidesToSvgBlobs = e.exportAllSlidesToSvgBlobs, exports.exportSlideToSvg = e.exportSlideToSvg, exports.exportSlideToSvgBlob = e.exportSlideToSvgBlob, exports.forgetSessionDeck = e.forgetSessionDeck, exports.getSessionTabId = e.getSessionTabId, exports.isAudienceTab = e.isAudienceTab, exports.isLegacyBinaryPresentation = e.isLegacyBinaryPresentation, exports.isSupportedPresentationFile = e.isSupportedPresentationFile, exports.loadAudienceContent = e.loadAudienceContent, exports.loadSessionDeck = e.loadSessionDeck, exports.parseAudienceNonce = e.parseAudienceNonce, exports.parsePresentationSessionId = e.parsePresentationSessionId, exports.presentationBaseName = e.presentationBaseName, exports.provideViewerTheme = o.provideViewerTheme, exports.rememberSessionDeck = e.rememberSessionDeck, exports.renderToCanvas = e.renderToCanvas, exports.restoreSessionDeck = e.restoreSessionDeck, exports.savedPresentationFileName = e.savedPresentationFileName, exports.storeAudienceContent = e.storeAudienceContent, exports.themeToCssVars = e.themeToCssVars, exports.useCollaboration = e.useCollaboration, exports.useCollaborativeHistory = o.useCollaborativeHistory, exports.useCollaborativeState = o.useCollaborativeState, exports.usePresenceTracking = o.usePresenceTracking, exports.useThemeStyle = o.useThemeStyle, exports.useViewerTheme = o.useViewerTheme, exports.useYjsProvider = o.useYjsProvider, exports.vermilionDarkColors = e.vermilionDarkColors, exports.vermilionDarkTheme = e.vermilionDarkTheme, exports.vermilionLightColors = e.vermilionLightColors, exports.vermilionLightTheme = e.vermilionLightTheme, exports.vermilionRadius = e.vermilionRadius;
package/dist/index.cjs.br CHANGED
Binary file
package/dist/index.cjs.gz CHANGED
Binary file
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { Ap as a, Bu as s, C as e, Co as o, Dp as r, Ep as l, Il as i, Ir as t, Mr as n, Nl as p, Op as m, S as u, Ul as w, Vu as C, W as S, Wl as b, Xc as d, Xs as c, _s as f, bd as g, ep as v, gs as x, it as y, kp as D, mp as E, qu as I, uf as R, vl as V, w as W, x as j, xn as B, yf as M, ys as O } from "./useViewerSettingsDialog-9BlKG1Ob.js";
2
- import { C as P, D as T, E as U, G as X, H as k, T as q, U as A, W as F, a as G, c as H, i as N, l as _, n as h, r as z, s as J, t as K, w as L } from "./viewer-DaZv3P9o.js";
2
+ import { C as P, D as T, E as U, G as X, H as k, T as q, U as A, W as F, a as G, c as H, i as N, l as _, n as h, r as z, s as J, t as K, w as L } from "./viewer-BKUh6PdB.js";
3
3
  export { B as AUDIENCE_HASH, _ as CollaborationCursors, k as CollaborationStatusIndicator, T as ElementRenderer, J as FollowModeBar, n as PPTX_OPEN_ACCEPT, t as PRESENTATION_OPEN_EXTENSIONS, G as PowerPointViewer, H as RemoteSelectionOverlay, L as RibbonToolbar, P as SlideCanvas, U as SlideStage, o as clearAudienceContent, q as cn, x as defaultCssVars, f as defaultRadius, O as defaultThemeColors, j as exportAllSlidesToSvg, u as exportAllSlidesToSvgBlobs, e as exportSlideToSvg, W as exportSlideToSvgBlob, c as forgetSessionDeck, d as getSessionTabId, V as isAudienceTab, p as isLegacyBinaryPresentation, i as isSupportedPresentationFile, w as loadAudienceContent, b as loadSessionDeck, s as parseAudienceNonce, C as parsePresentationSessionId, I as presentationBaseName, A as provideViewerTheme, g as rememberSessionDeck, S as renderToCanvas, R as restoreSessionDeck, M as savedPresentationFileName, v as storeAudienceContent, E as themeToCssVars, y as useCollaboration, K as useCollaborativeHistory, h as useCollaborativeState, z as usePresenceTracking, F as useThemeStyle, X as useViewerTheme, N as useYjsProvider, l as vermilionDarkColors, r as vermilionDarkTheme, m as vermilionLightColors, D as vermilionLightTheme, a as vermilionRadius };
package/dist/index.js.br CHANGED
Binary file
package/dist/index.js.gz CHANGED
Binary file
@@ -1 +1 @@
1
- {"version":3,"file":"ElementImageBox.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ElementImageBox.vue"],"names":[],"mappings":"AAiJA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,WAAW,EAAoB,MAAM,kBAAkB,CAAC;AAiBtE,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oFAAoF;IACpF,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAoJF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"ElementImageBox.vue.d.ts","sourceRoot":"","sources":["../../../src/viewer/components/ElementImageBox.vue"],"names":[],"mappings":"AAwKA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,WAAW,EAAoB,MAAM,kBAAkB,CAAC;AAkBtE,KAAK,WAAW,GAAG;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oFAAoF;IACpF,MAAM,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AA0KF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,3 +1,3 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const e = require("../useViewerSettingsDialog-B_Jtypp5.cjs"), t = require("../viewer-D4-c1S11.cjs");
2
+ const e = require("../useViewerSettingsDialog-B_Jtypp5.cjs"), t = require("../viewer-9B8QVY98.cjs");
3
3
  exports.AUDIENCE_HASH = e.AUDIENCE_HASH, exports.ChartRenderer = t.ChartRenderer_default, exports.CollaborationCursors = t.CollaborationCursors_default, exports.CollaborationStatusIndicator = t.CollaborationStatusIndicator_default, exports.ConnectorRenderer = t.ConnectorRenderer_default, exports.DEFAULT_CANVAS_HEIGHT = e.DEFAULT_CANVAS_HEIGHT, exports.DEFAULT_CANVAS_WIDTH = e.DEFAULT_CANVAS_WIDTH, exports.DEFAULT_FILL_COLOR = e.DEFAULT_FILL_COLOR, exports.DEFAULT_STROKE_COLOR = e.DEFAULT_STROKE_COLOR, exports.DEFAULT_TEXT_COLOR = e.DEFAULT_TEXT_COLOR, exports.ElementRenderer = t.ElementRenderer_default, exports.EquationRenderer = t.EquationRenderer_default, exports.FollowModeBar = t.FollowModeBar_default, exports.InkRenderer = t.InkRenderer_default, exports.Model3DRenderer = t.Model3DRenderer_default, exports.OleRenderer = t.OleRenderer_default, exports.PowerPointViewer = t.PowerPointViewer_default, exports.RemoteSelectionOverlay = t.RemoteSelectionOverlay_default, exports.RibbonToolbar = t.RibbonToolbar_default, exports.SlideCanvas = t.SlideCanvas_default, exports.SlideStage = t.SlideStage_default, exports.SmartArtRenderer = t.SmartArtRenderer_default, exports.TableRenderer = t.TableRenderer_default, exports.WordArtText = t.WordArtText_default, exports.ZoomRenderer = t.ZoomRenderer_default, exports.buildInitialGuides = e.buildInitialGuides, exports.clearAudienceContent = e.clearAudienceContent, exports.collectImagePaths = e.collectImagePaths, exports.collectMediaElements = e.collectMediaElements, exports.exportAllSlidesToSvg = e.exportAllSlidesToSvg, exports.exportAllSlidesToSvgBlobs = e.exportAllSlidesToSvgBlobs, exports.exportSlideToSvg = e.exportSlideToSvg, exports.exportSlideToSvgBlob = e.exportSlideToSvgBlob, exports.getContainerStyle = t.getContainerStyle, exports.getImageSrc = t.getImageSrc, exports.getResolvedShapeClipPath = e.getResolvedShapeClipPath, exports.getResolvedShapeClipPathFor = e.getResolvedShapeClipPathFor, exports.getShapeFillStrokeStyle = t.getShapeFillStrokeStyle, exports.getTextBlockStyle = t.getTextBlockStyle, exports.isAudienceTab = e.isAudienceTab, exports.loadAudienceContent = e.loadAudienceContent, exports.parseAudienceNonce = e.parseAudienceNonce, exports.storeAudienceContent = e.storeAudienceContent, exports.useCollaboration = e.useCollaboration, exports.useCollaborativeHistory = t.useCollaborativeHistory, exports.useCollaborativeState = t.useCollaborativeState, exports.useEditorHistory = e.useEditorHistory, exports.useEditorOperations = e.useEditorOperations, exports.useLoadContent = e.useLoadContent, exports.usePresenceTracking = t.usePresenceTracking, exports.useYjsProvider = t.useYjsProvider;
Binary file
Binary file
@@ -1,3 +1,3 @@
1
1
  import { Ao as a, Bu as s, C as e, Co as r, J as o, Jc as n, S as t, Ta as l, Ul as i, X as d, Yc as R, dn as m, ep as C, fn as S, it as w, j as b, ko as c, mn as u, pn as p, un as j, vl as v, w as x, x as A, xn as T } from "../useViewerSettingsDialog-9BlKG1Ob.js";
2
- import { A as f, B as g, C as k, D as B, E as D, F as E, H as I, I as M, L as O, M as P, N as V, O as F, P as J, R as h, V as q, a as y, c as z, i as H, j as L, k as N, l as U, n as W, r as X, s as Y, t as Z, w as G, z as K } from "../viewer-DaZv3P9o.js";
2
+ import { A as f, B as g, C as k, D as B, E as D, F as E, H as I, I as M, L as O, M as P, N as V, O as F, P as J, R as h, V as q, a as y, c as z, i as H, j as L, k as N, l as U, n as W, r as X, s as Y, t as Z, w as G, z as K } from "../viewer-BKUh6PdB.js";
3
3
  export { T as AUDIENCE_HASH, O as ChartRenderer, U as CollaborationCursors, I as CollaborationStatusIndicator, M as ConnectorRenderer, j as DEFAULT_CANVAS_HEIGHT, m as DEFAULT_CANVAS_WIDTH, S as DEFAULT_FILL_COLOR, p as DEFAULT_STROKE_COLOR, u as DEFAULT_TEXT_COLOR, B as ElementRenderer, E as EquationRenderer, Y as FollowModeBar, J as InkRenderer, V as Model3DRenderer, P as OleRenderer, y as PowerPointViewer, z as RemoteSelectionOverlay, G as RibbonToolbar, k as SlideCanvas, D as SlideStage, L as SmartArtRenderer, f as TableRenderer, N as WordArtText, F as ZoomRenderer, l as buildInitialGuides, r as clearAudienceContent, c as collectImagePaths, a as collectMediaElements, A as exportAllSlidesToSvg, t as exportAllSlidesToSvgBlobs, e as exportSlideToSvg, x as exportSlideToSvgBlob, h as getContainerStyle, K as getImageSrc, n as getResolvedShapeClipPath, R as getResolvedShapeClipPathFor, g as getShapeFillStrokeStyle, q as getTextBlockStyle, v as isAudienceTab, i as loadAudienceContent, s as parseAudienceNonce, C as storeAudienceContent, w as useCollaboration, Z as useCollaborativeHistory, W as useCollaborativeState, d as useEditorHistory, o as useEditorOperations, b as useLoadContent, X as usePresenceTracking, H as useYjsProvider };
Binary file
Binary file
@@ -2073,27 +2073,32 @@ var Wt = pe((0, a.defineComponent)({
2073
2073
  marked: { type: Boolean }
2074
2074
  },
2075
2075
  setup(e) {
2076
- const o = e, r = (0, a.computed)(() => t.isImageLikeElement(o.element) ? n.getCropShapeClipPath(o.element.cropShape, o.element.width, o.element.height) : void 0), l = (0, a.computed)(() => ({
2076
+ const o = e, r = (0, a.computed)(() => {
2077
+ if (!t.isImageLikeElement(o.element)) return;
2078
+ const e = n.resolveShapeGeometry(o.element);
2079
+ return "borderRadius" === e.kind ? { borderRadius: e.radius } : "clipPath" === e.kind ? { clipPath: e.clipPath } : void 0;
2080
+ }), l = (0, a.computed)(() => t.isImageLikeElement(o.element) ? n.getCropShapeClipPath(o.element.cropShape, o.element.width, o.element.height) : void 0), i = (0, a.computed)(() => ({
2077
2081
  ...Ze(o.element, o.zIndex),
2078
2082
  overflow: n.getImageOverflow(o.element),
2079
- clipPath: r.value
2080
- })), i = (0, a.computed)(() => n.getImageFitStyle(o.element)), s = (0, a.computed)(() => n.getImageTilingStyle(o.element)), c = (0, a.computed)(() => qe(o.element, o.mediaDataUrls)), d = (0, a.computed)(() => n.getComputedImageStyle(o.element)), p = (0, a.computed)(() => {
2083
+ ...r.value ?? {},
2084
+ clipPath: r.value?.clipPath ?? l.value
2085
+ })), s = (0, a.computed)(() => n.getImageFitStyle(o.element)), c = (0, a.computed)(() => n.getImageTilingStyle(o.element)), d = (0, a.computed)(() => qe(o.element, o.mediaDataUrls)), p = (0, a.computed)(() => n.getComputedImageStyle(o.element)), u = (0, a.computed)(() => {
2081
2086
  const e = o.element.imageEffects;
2082
2087
  return n.getImageColorWashStyle(e?.colorWash);
2083
- }), u = (0, a.computed)(() => {
2088
+ }), m = (0, a.computed)(() => {
2084
2089
  const t = o.element.imageEffects?.clrChange;
2085
2090
  return t?.clrFrom ? t : void 0;
2086
- }), { displaySrc: m } = n.useColorChangeImage({
2087
- src: c,
2088
- clrChange: u
2089
- }), f = (0, a.computed)(() => o.interactive ? null : { pointerEvents: "none" });
2091
+ }), { displaySrc: f } = n.useColorChangeImage({
2092
+ src: d,
2093
+ clrChange: m
2094
+ }), v = (0, a.computed)(() => o.interactive ? null : { pointerEvents: "none" });
2090
2095
  return (t, n) => ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
2091
2096
  class: "pptx-vue-element pptx-vue-image",
2092
- style: (0, a.normalizeStyle)([l.value, f.value]),
2097
+ style: (0, a.normalizeStyle)([i.value, v.value]),
2093
2098
  "data-element-id": e.element.id,
2094
2099
  "data-pptx-element": e.interactive || e.marked ? "true" : void 0
2095
2100
  }, [
2096
- ((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(d.value.svgFilters, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("svg", {
2101
+ ((0, a.openBlock)(!0), (0, a.createElementBlock)(a.Fragment, null, (0, a.renderList)(p.value.svgFilters, (e) => ((0, a.openBlock)(), (0, a.createElementBlock)("svg", {
2097
2102
  key: e.id,
2098
2103
  width: "0",
2099
2104
  height: "0",
@@ -2109,34 +2114,34 @@ var Wt = pe((0, a.defineComponent)({
2109
2114
  "color-interpolation-filters": "sRGB",
2110
2115
  innerHTML: e.markup
2111
2116
  }, null, 8, Dn)])]))), 128)),
2112
- s.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
2117
+ c.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
2113
2118
  key: 0,
2114
2119
  class: "pptx-vue-image-tile",
2115
2120
  style: (0, a.normalizeStyle)({
2116
- ...s.value,
2117
- filter: d.value.filter,
2118
- opacity: d.value.opacity
2121
+ ...c.value,
2122
+ filter: p.value.filter,
2123
+ opacity: p.value.opacity
2119
2124
  })
2120
- }, null, 4)) : c.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("img", {
2125
+ }, null, 4)) : d.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("img", {
2121
2126
  key: 1,
2122
- src: (0, a.unref)(m) ?? c.value,
2127
+ src: (0, a.unref)(f) ?? d.value,
2123
2128
  alt: "",
2124
2129
  style: (0, a.normalizeStyle)({
2125
- ...i.value,
2130
+ ...s.value,
2126
2131
  display: "block",
2127
- filter: d.value.filter,
2128
- opacity: d.value.opacity
2132
+ filter: p.value.filter,
2133
+ opacity: p.value.opacity
2129
2134
  })
2130
2135
  }, null, 12, Tn)) : (0, a.createCommentVNode)("", !0),
2131
- p.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
2136
+ u.value ? ((0, a.openBlock)(), (0, a.createElementBlock)("div", {
2132
2137
  key: 2,
2133
2138
  class: "pptx-vue-image-color-wash",
2134
2139
  style: (0, a.normalizeStyle)({
2135
2140
  position: "absolute",
2136
2141
  inset: "0",
2137
2142
  pointerEvents: "none",
2138
- backgroundColor: p.value.backgroundColor,
2139
- opacity: p.value.opacity
2143
+ backgroundColor: u.value.backgroundColor,
2144
+ opacity: u.value.opacity
2140
2145
  })
2141
2146
  }, null, 4)) : (0, a.createCommentVNode)("", !0)
2142
2147
  ], 12, Vn));
@@ -6042,7 +6047,7 @@ var Ki = ["title", "onClick"], Hi = { class: "inline-flex items-center gap-2 tex
6042
6047
  (0, a.createElementVNode)("span", Xi, (0, a.toDisplayString)(t.drawingWidth), 1)
6043
6048
  ], 8, Wi)])], 64));
6044
6049
  }
6045
- }), Ji = "3.5.3", Qi = Symbol("pptx-account-auth");
6050
+ }), Ji = "3.5.4", Qi = Symbol("pptx-account-auth");
6046
6051
  var es = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, ts = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, ns = { class: "text-base font-semibold" }, os = { class: "mt-4 flex items-center gap-4" }, as = { class: "min-w-0 flex-1" }, rs = { class: "block text-xs font-medium text-muted-foreground" }, ls = ["value", "placeholder"], is = { class: "mt-4" }, ss = { class: "block text-xs font-medium text-muted-foreground" }, cs = { class: "mt-2 flex gap-2" }, ds = [
6047
6052
  "aria-pressed",
6048
6053
  "aria-label",
@@ -35440,7 +35445,7 @@ var fee = pe((0, a.defineComponent)({
35440
35445
  var o;
35441
35446
  }), 128))])], 8, rte))), 128))])) : ((0, a.openBlock)(), (0, a.createElementBlock)("div", tte, [(0, a.createElementVNode)("p", nte, (0, a.toDisplayString)((0, a.unref)(l)("pptx.accessibility.noIssuesFound")), 1), (0, a.createElementVNode)("p", ote, (0, a.toDisplayString)((0, a.unref)(l)("pptx.accessibility.noIssuesHint")), 1)]))], 8, Yee));
35442
35447
  }
35443
- }), vte = (0, a.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-CGZdR_3_.cjs"))), gte = { class: "pptx-vue-custom-shows flex flex-col gap-2 p-2.5 text-xs text-foreground" }, xte = { class: "pptx-vue-cs-header flex items-center" }, hte = { class: "pptx-vue-cs-title m-0 text-[13px] font-semibold" }, yte = { class: "pptx-vue-cs-list-row flex items-center gap-1.5" }, bte = ["aria-label", "value"], kte = {
35448
+ }), vte = (0, a.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-B2KwDkZn.cjs"))), gte = { class: "pptx-vue-custom-shows flex flex-col gap-2 p-2.5 text-xs text-foreground" }, xte = { class: "pptx-vue-cs-header flex items-center" }, hte = { class: "pptx-vue-cs-title m-0 text-[13px] font-semibold" }, yte = { class: "pptx-vue-cs-list-row flex items-center gap-1.5" }, bte = ["aria-label", "value"], kte = {
35444
35449
  key: 0,
35445
35450
  value: "",
35446
35451
  disabled: ""
Binary file
Binary file
@@ -2079,27 +2079,32 @@ var lf = kg(nm({
2079
2079
  marked: { type: Boolean }
2080
2080
  },
2081
2081
  setup(e) {
2082
- const t = e, n = Gc(() => le(t.element) ? tt(t.element.cropShape, t.element.width, t.element.height) : void 0), o = Gc(() => ({
2082
+ const t = e, n = Gc(() => {
2083
+ if (!le(t.element)) return;
2084
+ const e = wa(t.element);
2085
+ return "borderRadius" === e.kind ? { borderRadius: e.radius } : "clipPath" === e.kind ? { clipPath: e.clipPath } : void 0;
2086
+ }), o = Gc(() => le(t.element) ? tt(t.element.cropShape, t.element.width, t.element.height) : void 0), a = Gc(() => ({
2083
2087
  ...ob(t.element, t.zIndex),
2084
2088
  overflow: So(t.element),
2085
- clipPath: n.value
2086
- })), a = Gc(() => Gs(t.element)), l = Gc(() => ra(t.element)), i = Gc(() => ib(t.element, t.mediaDataUrls)), r = Gc(() => Lu(t.element)), s = Gc(() => {
2089
+ ...n.value ?? {},
2090
+ clipPath: n.value?.clipPath ?? o.value
2091
+ })), l = Gc(() => Gs(t.element)), i = Gc(() => ra(t.element)), r = Gc(() => ib(t.element, t.mediaDataUrls)), s = Gc(() => Lu(t.element)), d = Gc(() => {
2087
2092
  const e = t.element.imageEffects;
2088
2093
  return De(e?.colorWash);
2089
- }), d = Gc(() => {
2094
+ }), p = Gc(() => {
2090
2095
  const n = t.element.imageEffects?.clrChange;
2091
2096
  return n?.clrFrom ? n : void 0;
2092
- }), { displaySrc: p } = dp({
2093
- src: i,
2094
- clrChange: d
2095
- }), u = Gc(() => t.interactive ? null : { pointerEvents: "none" });
2097
+ }), { displaySrc: u } = dp({
2098
+ src: r,
2099
+ clrChange: p
2100
+ }), c = Gc(() => t.interactive ? null : { pointerEvents: "none" });
2096
2101
  return (t, n) => (hm(), Xc("div", {
2097
2102
  class: "pptx-vue-element pptx-vue-image",
2098
- style: pm([o.value, u.value]),
2103
+ style: pm([a.value, c.value]),
2099
2104
  "data-element-id": e.element.id,
2100
2105
  "data-pptx-element": e.interactive || e.marked ? "true" : void 0
2101
2106
  }, [
2102
- (hm(!0), Xc(Hc, null, ym(r.value.svgFilters, (e) => (hm(), Xc("svg", {
2107
+ (hm(!0), Xc(Hc, null, ym(s.value.svgFilters, (e) => (hm(), Xc("svg", {
2103
2108
  key: e.id,
2104
2109
  width: "0",
2105
2110
  height: "0",
@@ -2115,34 +2120,34 @@ var lf = kg(nm({
2115
2120
  "color-interpolation-filters": "sRGB",
2116
2121
  innerHTML: e.markup
2117
2122
  }, null, 8, Nf)])]))), 128)),
2118
- l.value ? (hm(), Xc("div", {
2123
+ i.value ? (hm(), Xc("div", {
2119
2124
  key: 0,
2120
2125
  class: "pptx-vue-image-tile",
2121
2126
  style: pm({
2122
- ...l.value,
2123
- filter: r.value.filter,
2124
- opacity: r.value.opacity
2127
+ ...i.value,
2128
+ filter: s.value.filter,
2129
+ opacity: s.value.opacity
2125
2130
  })
2126
- }, null, 4)) : i.value ? (hm(), Xc("img", {
2131
+ }, null, 4)) : r.value ? (hm(), Xc("img", {
2127
2132
  key: 1,
2128
- src: Em(p) ?? i.value,
2133
+ src: Em(u) ?? r.value,
2129
2134
  alt: "",
2130
2135
  style: pm({
2131
- ...a.value,
2136
+ ...l.value,
2132
2137
  display: "block",
2133
- filter: r.value.filter,
2134
- opacity: r.value.opacity
2138
+ filter: s.value.filter,
2139
+ opacity: s.value.opacity
2135
2140
  })
2136
2141
  }, null, 12, Lf)) : qc("", !0),
2137
- s.value ? (hm(), Xc("div", {
2142
+ d.value ? (hm(), Xc("div", {
2138
2143
  key: 2,
2139
2144
  class: "pptx-vue-image-color-wash",
2140
2145
  style: pm({
2141
2146
  position: "absolute",
2142
2147
  inset: "0",
2143
2148
  pointerEvents: "none",
2144
- backgroundColor: s.value.backgroundColor,
2145
- opacity: s.value.opacity
2149
+ backgroundColor: d.value.backgroundColor,
2150
+ opacity: d.value.opacity
2146
2151
  })
2147
2152
  }, null, 4)) : qc("", !0)
2148
2153
  ], 12, Uf));
@@ -6046,7 +6051,7 @@ var t_ = ["title", "onClick"], n_ = { class: "inline-flex items-center gap-2 tex
6046
6051
  Jc("span", r_, _m(t.drawingWidth), 1)
6047
6052
  ], 8, l_)])], 64));
6048
6053
  }
6049
- }), d_ = "3.5.3", p_ = Symbol("pptx-account-auth");
6054
+ }), d_ = "3.5.4", p_ = Symbol("pptx-account-auth");
6050
6055
  var u_ = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, c_ = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, m_ = { class: "text-base font-semibold" }, v_ = { class: "mt-4 flex items-center gap-4" }, x_ = { class: "min-w-0 flex-1" }, h_ = { class: "block text-xs font-medium text-muted-foreground" }, g_ = ["value", "placeholder"], b_ = { class: "mt-4" }, f_ = { class: "block text-xs font-medium text-muted-foreground" }, y_ = { class: "mt-2 flex gap-2" }, w_ = [
6051
6056
  "aria-pressed",
6052
6057
  "aria-label",
@@ -35425,7 +35430,7 @@ var Cge = kg(nm({
35425
35430
  var n;
35426
35431
  }), 128))])], 8, xbe))), 128))])) : (hm(), Xc("div", ube, [Jc("p", cbe, _m(Em(a)("pptx.accessibility.noIssuesFound")), 1), Jc("p", mbe, _m(Em(a)("pptx.accessibility.noIssuesHint")), 1)]))], 8, rbe));
35427
35432
  }
35428
- }), _be = tm(() => import("./AiChatPanel-DhDQAeaB.js")), Ibe = { class: "pptx-vue-custom-shows flex flex-col gap-2 p-2.5 text-xs text-foreground" }, Ebe = { class: "pptx-vue-cs-header flex items-center" }, Pbe = { class: "pptx-vue-cs-title m-0 text-[13px] font-semibold" }, Tbe = { class: "pptx-vue-cs-list-row flex items-center gap-1.5" }, Fbe = ["aria-label", "value"], Abe = {
35433
+ }), _be = tm(() => import("./AiChatPanel-ouM2KR_5.js")), Ibe = { class: "pptx-vue-custom-shows flex flex-col gap-2 p-2.5 text-xs text-foreground" }, Ebe = { class: "pptx-vue-cs-header flex items-center" }, Pbe = { class: "pptx-vue-cs-title m-0 text-[13px] font-semibold" }, Tbe = { class: "pptx-vue-cs-list-row flex items-center gap-1.5" }, Fbe = ["aria-label", "value"], Abe = {
35429
35434
  key: 0,
35430
35435
  value: "",
35431
35436
  disabled: ""
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-vue-viewer",
3
- "version": "3.5.4",
3
+ "version": "3.5.5",
4
4
  "description": "Vue 3 PowerPoint viewer and editor component: render, edit, and export PPTX slides in the browser.",
5
5
  "keywords": [
6
6
  "editor",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file