pptx-vue-viewer 4.72.1 → 4.74.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/index.cjs +2 -2
  3. package/dist/index.cjs.br +0 -0
  4. package/dist/index.cjs.gz +0 -0
  5. package/dist/index.d.ts +99 -39
  6. package/dist/index.js +5 -5
  7. package/dist/index.js.br +0 -0
  8. package/dist/index.js.gz +0 -0
  9. package/dist/internals.cjs +1 -1
  10. package/dist/internals.cjs.br +0 -0
  11. package/dist/internals.cjs.gz +0 -0
  12. package/dist/internals.js +1 -1
  13. package/dist/internals.js.br +0 -0
  14. package/dist/internals.js.gz +0 -0
  15. package/dist/{useViewerSettingsDialog-Bgy-6QAK.cjs → useViewerSettingsDialog-B33MOSx-.cjs} +83 -82
  16. package/dist/useViewerSettingsDialog-B33MOSx-.cjs.br +0 -0
  17. package/dist/useViewerSettingsDialog-B33MOSx-.cjs.gz +0 -0
  18. package/dist/{useViewerSettingsDialog-BbtAGHdZ.js → useViewerSettingsDialog-Bz0RdicV.js} +1599 -1598
  19. package/dist/useViewerSettingsDialog-Bz0RdicV.js.br +0 -0
  20. package/dist/useViewerSettingsDialog-Bz0RdicV.js.gz +0 -0
  21. package/dist/viewer/index.cjs +2 -2
  22. package/dist/viewer/index.cjs.br +0 -0
  23. package/dist/viewer/index.cjs.gz +0 -0
  24. package/dist/viewer/index.d.ts +101 -41
  25. package/dist/viewer/index.js +3 -3
  26. package/dist/viewer/index.js.br +0 -0
  27. package/dist/viewer/index.js.gz +0 -0
  28. package/dist/{viewer-CXeAhlqC.cjs → viewer-Co39Flri.cjs} +437 -384
  29. package/dist/viewer-Co39Flri.cjs.br +0 -0
  30. package/dist/viewer-Co39Flri.cjs.gz +0 -0
  31. package/dist/{viewer-BW6vsxRO.js → viewer-Dwl_oBxY.js} +6419 -6371
  32. package/dist/viewer-Dwl_oBxY.js.br +0 -0
  33. package/dist/viewer-Dwl_oBxY.js.gz +0 -0
  34. package/dist/{y-webrtc-BgcE4lbF.js → y-webrtc-CwHdtPzt.js} +1 -1
  35. package/dist/y-webrtc-CwHdtPzt.js.br +0 -0
  36. package/dist/y-webrtc-CwHdtPzt.js.gz +0 -0
  37. package/dist/{y-webrtc-DjfDRwd4.cjs → y-webrtc-DOVNm7CC.cjs} +1 -1
  38. package/dist/y-webrtc-DOVNm7CC.cjs.br +0 -0
  39. package/dist/y-webrtc-DOVNm7CC.cjs.gz +0 -0
  40. package/package.json +4 -4
  41. package/dist/useViewerSettingsDialog-BbtAGHdZ.js.br +0 -0
  42. package/dist/useViewerSettingsDialog-BbtAGHdZ.js.gz +0 -0
  43. package/dist/useViewerSettingsDialog-Bgy-6QAK.cjs.br +0 -0
  44. package/dist/useViewerSettingsDialog-Bgy-6QAK.cjs.gz +0 -0
  45. package/dist/viewer-BW6vsxRO.js.br +0 -0
  46. package/dist/viewer-BW6vsxRO.js.gz +0 -0
  47. package/dist/viewer-CXeAhlqC.cjs.br +0 -0
  48. package/dist/viewer-CXeAhlqC.cjs.gz +0 -0
  49. package/dist/y-webrtc-BgcE4lbF.js.br +0 -0
  50. package/dist/y-webrtc-BgcE4lbF.js.gz +0 -0
  51. package/dist/y-webrtc-DjfDRwd4.cjs.br +0 -0
  52. package/dist/y-webrtc-DjfDRwd4.cjs.gz +0 -0
@@ -143,27 +143,27 @@ function D() {
143
143
  function z(e) {
144
144
  return e ? (0, p.toValue)(e) : void 0;
145
145
  }
146
- var A = Symbol("pptx-vue-slide-elements");
147
- function O(e, t, n) {
148
- return (0, p.computed)(() => {
149
- return (0, d.shouldRenderHitTarget)(!0 === t(), !0 === n()) ? (l = e(), (0, d.elementHitTargetStyle)(l)) : void 0;
150
- var l;
151
- });
152
- }
153
- var M = Symbol("pptx-vue-presentation-element-states");
154
- function F(e) {
155
- (0, p.provide)(M, e);
156
- }
157
- var L = {
146
+ var A = {
158
147
  smartArt3D: !1,
159
148
  surfaceChart3D: !1,
160
149
  barChart3D: !1,
161
150
  lineChart3D: !1,
162
151
  areaChart3D: !1,
163
152
  pieChart3D: !1
164
- }, R = Symbol("pptx-rendering-3d-flags");
165
- function V() {
166
- return (0, p.inject)(R, (0, p.computed)(() => L));
153
+ }, O = Symbol("pptx-rendering-3d-flags");
154
+ function M() {
155
+ return (0, p.inject)(O, (0, p.computed)(() => A));
156
+ }
157
+ var F = Symbol("pptx-vue-slide-elements");
158
+ function L(e, t, n) {
159
+ return (0, p.computed)(() => {
160
+ return (0, d.shouldRenderHitTarget)(!0 === t(), !0 === n()) ? (l = e(), (0, d.elementHitTargetStyle)(l)) : void 0;
161
+ var l;
162
+ });
163
+ }
164
+ var R = Symbol("pptx-vue-presentation-element-states");
165
+ function V(e) {
166
+ (0, p.provide)(R, e);
167
167
  }
168
168
  d.CHART_DRAG_THRESHOLD_PX;
169
169
  var N = d.ensureChartInteractionStyles, _ = d.applyChartPartHighlight, j = d.beginChartValueDrag, U = d.advanceChartValueDrag, $ = d.buildChartMarkDragGeometry, W = d.beginChartMarkDrag, H = d.advanceChartMarkDrag, G = Symbol("pptx-vue-chart-format");
@@ -874,7 +874,7 @@ var Ue = (0, p.defineComponent)({
874
874
  const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => ({
875
875
  ...B(t.element, t.zIndex),
876
876
  ...(0, d.getFrameEffectStyle)(t.element)
877
- })), o = O(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.ref)(null), { interactiveClass: r, renderedElement: i, dragLabel: s, titleDraft: u, onPointerdown: m, onPointermove: v, onPointerup: f, onDblclick: h, setTitleDraft: y, commitTitle: g, cancelTitle: k } = function(e) {
877
+ })), o = L(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.ref)(null), { interactiveClass: r, renderedElement: i, dragLabel: s, titleDraft: u, onPointerdown: m, onPointermove: v, onPointerup: f, onDblclick: h, setTitleDraft: y, commitTitle: g, cancelTitle: k } = function(e) {
878
878
  const t = X(), n = q(), l = (t) => (0, d.chartFormatTargetFromEvent)(t, e.rootEl.value, e.element()), o = (0, p.shallowRef)(null), a = (0, p.ref)(null), r = (0, p.ref)(null);
879
879
  let i = null, s = null;
880
880
  const u = (0, p.computed)(() => e.interactive() && Boolean(t?.canEditChart(e.element().id)) && (0, d.canDrillDown)(e.element())), c = (0, p.computed)(() => e.interactive() && Boolean(t?.canSelectCharts())), m = (0, p.computed)(() => [...c.value ? ["pptx-vue-chart-selectable"] : [], ...u.value ? ["pptx-chart-interactive"] : []]), v = (0, p.computed)(() => o.value ? {
@@ -1007,7 +1007,7 @@ var Ue = (0, p.defineComponent)({
1007
1007
  const t = e.chartData;
1008
1008
  return t && 0 !== t.series.length ? t : void 0;
1009
1009
  }), b = (0, p.computed)(() => S.value?.chartType ?? "bar"), w = (0, p.computed)(() => S.value ? (0, d.resolveChartKind)(b.value) : "unsupported"), E = (0, p.computed)(() => "unsupported" === w.value), C = function(e, t) {
1010
- const n = V(), l = X(), o = (0, p.ref)(null), a = (0, p.computed)(() => (0, d.resolveChartThreeViewSpec)(e(), n.value)), r = (0, p.computed)(() => {
1010
+ const n = M(), l = X(), o = (0, p.ref)(null), a = (0, p.computed)(() => (0, d.resolveChartThreeViewSpec)(e(), n.value)), r = (0, p.computed)(() => {
1011
1011
  const t = l?.selection.value;
1012
1012
  return t && t.elementId === e().id ? t.part : null;
1013
1013
  }), i = (0, p.computed)(() => t() && Boolean(l?.canEditChart(e().id)));
@@ -1433,7 +1433,7 @@ var ut = ["data-element-id"], ct = ["viewBox"], dt = ["opacity"], pt = [
1433
1433
  interactive: { type: Boolean }
1434
1434
  },
1435
1435
  setup(e) {
1436
- const t = e, n = st(), l = (0, p.computed)(() => B(t.element, t.zIndex)), o = O(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.computed)(() => "contentPart" === t.element.type ? t.element : void 0), r = (0, p.computed)(() => a.value ? (0, d.buildContentPartStrokes)(a.value) : []), i = (0, p.computed)(() => a.value ? (0, d.contentPartViewBox)(a.value) : "0 0 1 1"), s = (0, p.computed)(() => t.presenting && a.value ? (0, d.getContentPartReplayStyles)(a.value.inkStrokes ?? []) : []);
1436
+ const t = e, n = st(), l = (0, p.computed)(() => B(t.element, t.zIndex)), o = L(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.computed)(() => "contentPart" === t.element.type ? t.element : void 0), r = (0, p.computed)(() => a.value ? (0, d.buildContentPartStrokes)(a.value) : []), i = (0, p.computed)(() => a.value ? (0, d.contentPartViewBox)(a.value) : "0 0 1 1"), s = (0, p.computed)(() => t.presenting && a.value ? (0, d.getContentPartReplayStyles)(a.value.inkStrokes ?? []) : []);
1437
1437
  function u(e) {
1438
1438
  return "multiply" === e ? { mixBlendMode: "multiply" } : void 0;
1439
1439
  }
@@ -2084,7 +2084,7 @@ var Pt = { style: {
2084
2084
  const n = t.element.imageEffects?.clrChange;
2085
2085
  return n?.clrFrom ? n : void 0;
2086
2086
  })
2087
- }), g = (0, p.computed)(() => t.interactive ? null : { pointerEvents: "none" }), x = O(() => t.element, () => t.interactive, () => t.presenting);
2087
+ }), g = (0, p.computed)(() => t.interactive ? null : { pointerEvents: "none" }), x = L(() => t.element, () => t.interactive, () => t.presenting);
2088
2088
  return (t, n) => ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
2089
2089
  class: "pptx-vue-element pptx-vue-image",
2090
2090
  style: (0, p.normalizeStyle)([a.value, g.value]),
@@ -2271,7 +2271,7 @@ var xn = ["data-element-id", "data-pptx-element"], Sn = [
2271
2271
  const w = (0, p.computed)(() => (0, d.mediaFallbackVisual)(x.value, {
2272
2272
  hasPoster: Boolean(y.value),
2273
2273
  missing: "media" === t.element.type && !0 === t.element.mediaMissing
2274
- })), E = (0, p.computed)(() => (0, d.mediaFallbackIcon)(w.value, f.value)), C = (0, p.computed)(() => (0, d.mediaFallbackLabelKey)(w.value, f.value)), I = (0, p.computed)(() => s.active.value ? { pointerEvents: "auto" } : t.interactive ? null : { pointerEvents: "none" }), T = O(() => t.element, () => t.interactive, () => t.presenting);
2274
+ })), E = (0, p.computed)(() => (0, d.mediaFallbackIcon)(w.value, f.value)), C = (0, p.computed)(() => (0, d.mediaFallbackLabelKey)(w.value, f.value)), I = (0, p.computed)(() => s.active.value ? { pointerEvents: "auto" } : t.interactive ? null : { pointerEvents: "none" }), T = L(() => t.element, () => t.interactive, () => t.presenting);
2275
2275
  return (t, o) => ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
2276
2276
  class: "pptx-vue-element pptx-vue-media",
2277
2277
  style: (0, p.normalizeStyle)([u.value, I.value]),
@@ -2396,7 +2396,7 @@ var xn = ["data-element-id", "data-pptx-element"], Sn = [
2396
2396
  const t = e, n = (0, p.computed)(() => ({
2397
2397
  ...(0, d.buildEquationBlockStyle)(I(t.element)),
2398
2398
  ...B(t.element, t.zIndex)
2399
- })), l = O(() => t.element, () => t.interactive, () => t.presenting), o = (0, p.computed)(() => {
2399
+ })), l = L(() => t.element, () => t.interactive, () => t.presenting), o = (0, p.computed)(() => {
2400
2400
  const e = t.element;
2401
2401
  if (!(0, k.hasTextProperties)(e)) return [];
2402
2402
  const n = e.textSegments ?? [], l = [];
@@ -2499,7 +2499,7 @@ var xn = ["data-element-id", "data-pptx-element"], Sn = [
2499
2499
  presenting: { type: Boolean }
2500
2500
  },
2501
2501
  setup(e) {
2502
- const t = e, n = (0, p.computed)(() => B(t.element, t.zIndex)), l = O(() => t.element, () => t.interactive, () => t.presenting), o = (0, p.computed)(() => (0, k.isInkElement)(t.element) ? t.element : void 0), a = (0, p.computed)(() => Math.max(t.element.width, 1)), r = (0, p.computed)(() => Math.max(t.element.height, 1)), i = (0, p.computed)(() => {
2502
+ const t = e, n = (0, p.computed)(() => B(t.element, t.zIndex)), l = L(() => t.element, () => t.interactive, () => t.presenting), o = (0, p.computed)(() => (0, k.isInkElement)(t.element) ? t.element : void 0), a = (0, p.computed)(() => Math.max(t.element.width, 1)), r = (0, p.computed)(() => Math.max(t.element.height, 1)), i = (0, p.computed)(() => {
2503
2503
  const e = o.value;
2504
2504
  return e ? (0, d.buildInkGroupStrokes)(e, {
2505
2505
  color: E,
@@ -2620,7 +2620,7 @@ var tl = ["data-element-id"], nl = ["src", "alt"], ll = {
2620
2620
  presenting: { type: Boolean }
2621
2621
  },
2622
2622
  setup(e) {
2623
- const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => B(t.element, t.zIndex)), o = O(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.computed)(() => "model3d" === t.element.type ? t.element : void 0), r = (0, p.computed)(() => {
2623
+ const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => B(t.element, t.zIndex)), o = L(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.computed)(() => "model3d" === t.element.type ? t.element : void 0), r = (0, p.computed)(() => {
2624
2624
  const e = a.value;
2625
2625
  if (e) return e.posterImage ?? e.imageData;
2626
2626
  }), i = (0, p.ref)(null), { mounted: m } = el({
@@ -2714,7 +2714,7 @@ var tl = ["data-element-id"], nl = ["src", "alt"], ll = {
2714
2714
  presenting: { type: Boolean }
2715
2715
  },
2716
2716
  setup(e) {
2717
- const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => B(t.element, t.zIndex)), o = O(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.computed)(() => (0, d.oleActionsVisible)((0, d.mediaSurfaceOf)({
2717
+ const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => B(t.element, t.zIndex)), o = L(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.computed)(() => (0, d.oleActionsVisible)((0, d.mediaSurfaceOf)({
2718
2718
  interactive: !0 === t.interactive,
2719
2719
  presenting: !0 === t.presenting
2720
2720
  }))), r = (0, p.computed)(() => "ole" === t.element.type ? t.element : void 0), i = (0, p.computed)(() => {
@@ -3043,7 +3043,7 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3043
3043
  function i(e) {
3044
3044
  return e ? r.value.get(e) : void 0;
3045
3045
  }
3046
- const s = (0, p.computed)(() => (0, d.resolvePalette)(l.value)), u = (0, p.computed)(() => l.value?.style ?? "flat"), m = (0, p.computed)(() => l.value?.chrome), v = (0, p.computed)(() => B(t.element, t.zIndex)), f = (0, p.computed)(() => t.interactive ? null : { pointerEvents: "none" }), h = O(() => t.element, () => t.interactive, () => t.presenting), y = (0, p.computed)(() => (0, d.buildChromeStyle)(m.value)), g = (0, p.computed)(() => l.value?.drawingShapes ?? []), x = (0, p.computed)(() => g.value.length > 0), S = (0, p.computed)(() => (0, d.resolveRevealedSmartArtNodes)(o.value, t.animationState, l.value?.presLayoutVars)), b = (0, p.computed)(() => S.value.nodes), w = (0, p.computed)(() => 0 === g.value.length ? g.value : (0, d.resolveRevealedDrawingShapes)(g.value, o.value, t.animationState)), E = (0, p.computed)(() => (0, d.computeDrawingViewBox)(g.value)), C = (0, p.computed)(() => {
3046
+ const s = (0, p.computed)(() => (0, d.resolvePalette)(l.value)), u = (0, p.computed)(() => l.value?.style ?? "flat"), m = (0, p.computed)(() => l.value?.chrome), v = (0, p.computed)(() => B(t.element, t.zIndex)), f = (0, p.computed)(() => t.interactive ? null : { pointerEvents: "none" }), h = L(() => t.element, () => t.interactive, () => t.presenting), y = (0, p.computed)(() => (0, d.buildChromeStyle)(m.value)), g = (0, p.computed)(() => l.value?.drawingShapes ?? []), x = (0, p.computed)(() => g.value.length > 0), S = (0, p.computed)(() => (0, d.resolveRevealedSmartArtNodes)(o.value, t.animationState, l.value?.presLayoutVars)), b = (0, p.computed)(() => S.value.nodes), w = (0, p.computed)(() => 0 === g.value.length ? g.value : (0, d.resolveRevealedDrawingShapes)(g.value, o.value, t.animationState)), E = (0, p.computed)(() => (0, d.computeDrawingViewBox)(g.value)), C = (0, p.computed)(() => {
3047
3047
  const e = w.value, n = (0, d.resolveRevealedDrawingShapeNodeIds)(g.value, e, o.value);
3048
3048
  return (0, d.projectDrawingShapes)(t.element.id, e, E.value, s.value, u.value).map((e, t) => ({
3049
3049
  ...e,
@@ -3060,7 +3060,7 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3060
3060
  width: t.element.width,
3061
3061
  height: t.element.height
3062
3062
  }, s.value, u.value, t.element.id);
3063
- }), D = (0, p.computed)(() => (T.value?.connectors ?? []).map((e) => (0, d.smartArtConnectorPaint)(e))), z = (0, p.computed)(() => (T.value?.nodes ?? []).map((e) => (0, d.smartArtNodeLabel)(e))), A = (0, p.computed)(() => 0 === o.value.length && !x.value), M = Il(), F = (0, p.computed)(() => Boolean(M?.canEdit()) && (0, d.canDrillDown)(t.element)), L = (0, p.computed)(() => T.value ? bl(b.value) : []), R = Bl(), V = (0, p.ref)(null), N = (0, p.ref)(null), _ = (0, p.ref)(null), { hoveredNodeId: j, hoveredNodeRect: U, onMouseMove: $, onMouseLeave: W } = Tl(V);
3063
+ }), D = (0, p.computed)(() => (T.value?.connectors ?? []).map((e) => (0, d.smartArtConnectorPaint)(e))), z = (0, p.computed)(() => (T.value?.nodes ?? []).map((e) => (0, d.smartArtNodeLabel)(e))), A = (0, p.computed)(() => 0 === o.value.length && !x.value), O = Il(), M = (0, p.computed)(() => Boolean(O?.canEdit()) && (0, d.canDrillDown)(t.element)), F = (0, p.computed)(() => T.value ? bl(b.value) : []), R = Bl(), V = (0, p.ref)(null), N = (0, p.ref)(null), _ = (0, p.ref)(null), { hoveredNodeId: j, hoveredNodeRect: U, onMouseMove: $, onMouseLeave: W } = Tl(V);
3064
3064
  function H(e) {
3065
3065
  $(e, _.value);
3066
3066
  }
@@ -3076,7 +3076,7 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3076
3076
  };
3077
3077
  });
3078
3078
  function K(e, t, n) {
3079
- if (!F.value || !e) return;
3079
+ if (!M.value || !e) return;
3080
3080
  const l = n.currentTarget, o = V.value;
3081
3081
  if (!l || !o) return;
3082
3082
  const a = (0, d.measureSvgViewportRect)(l);
@@ -3086,7 +3086,7 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3086
3086
  }
3087
3087
  function q() {
3088
3088
  const e = R.editingNodeId.value, n = l.value;
3089
- e && n && M && (0, d.shouldCommitSmartArtNodeText)(n, e, R.draft.value) && M.commit(t.element.id, e, R.draft.value), R.cancel();
3089
+ e && n && O && (0, d.shouldCommitSmartArtNodeText)(n, e, R.draft.value) && O.commit(t.element.id, e, R.draft.value), R.cancel();
3090
3090
  }
3091
3091
  function Y(e) {
3092
3092
  e.stopPropagation(), "Enter" !== e.key || e.shiftKey ? "Escape" === e.key && (e.preventDefault(), R.cancel()) : (e.preventDefault(), q());
@@ -3126,10 +3126,10 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3126
3126
  preserveAspectRatio: "xMidYMid meet"
3127
3127
  }, [((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)(C.value, (e) => ((0, p.openBlock)(), (0, p.createElementBlock)("g", {
3128
3128
  key: e.key,
3129
- class: (0, p.normalizeClass)({ "pptx-vue-smartart-editable": F.value && e.nodeId }),
3129
+ class: (0, p.normalizeClass)({ "pptx-vue-smartart-editable": M.value && e.nodeId }),
3130
3130
  "data-node-id": e.nodeId,
3131
3131
  "data-smartart-node-id": e.nodeId || void 0,
3132
- tabindex: F.value && e.nodeId ? 0 : void 0,
3132
+ tabindex: M.value && e.nodeId ? 0 : void 0,
3133
3133
  role: i(e.nodeId) ? "img" : void 0,
3134
3134
  "aria-label": i(e.nodeId),
3135
3135
  style: (0, p.normalizeStyle)(P.value ? { filter: P.value } : void 0),
@@ -3235,17 +3235,17 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3235
3235
  "stroke-dasharray": D.value[t].dash
3236
3236
  }, null, 8, Xl))), 128)), ((0, p.openBlock)(!0), (0, p.createElementBlock)(p.Fragment, null, (0, p.renderList)(T.value.nodes, (e, t) => ((0, p.openBlock)(), (0, p.createElementBlock)("g", {
3237
3237
  key: e.key,
3238
- class: (0, p.normalizeClass)({ "pptx-vue-smartart-editable": F.value && L.value[t] }),
3239
- "data-node-id": L.value[t],
3240
- "data-smartart-node-id": L.value[t] || void 0,
3241
- tabindex: F.value && L.value[t] ? 0 : void 0,
3242
- role: i(L.value[t]) ? "img" : void 0,
3243
- "aria-label": i(L.value[t]),
3238
+ class: (0, p.normalizeClass)({ "pptx-vue-smartart-editable": M.value && F.value[t] }),
3239
+ "data-node-id": F.value[t],
3240
+ "data-smartart-node-id": F.value[t] || void 0,
3241
+ tabindex: M.value && F.value[t] ? 0 : void 0,
3242
+ role: i(F.value[t]) ? "img" : void 0,
3243
+ "aria-label": i(F.value[t]),
3244
3244
  style: (0, p.normalizeStyle)(T.value.shadowFilter ? { filter: T.value.shadowFilter } : void 0),
3245
- onDblclick: (n) => K(L.value[t], e.text, n),
3246
- onKeydown: (0, p.withKeys)((0, p.withModifiers)((n) => K(L.value[t], e.text, n), ["prevent"]), ["enter"])
3245
+ onDblclick: (n) => K(F.value[t], e.text, n),
3246
+ onKeydown: (0, p.withKeys)((0, p.withModifiers)((n) => K(F.value[t], e.text, n), ["prevent"]), ["enter"])
3247
3247
  }, [
3248
- i(L.value[t]) ? ((0, p.openBlock)(), (0, p.createElementBlock)("title", Jl, (0, p.toDisplayString)(i(L.value[t])), 1)) : (0, p.createCommentVNode)("", !0),
3248
+ i(F.value[t]) ? ((0, p.openBlock)(), (0, p.createElementBlock)("title", Jl, (0, p.toDisplayString)(i(F.value[t])), 1)) : (0, p.createCommentVNode)("", !0),
3249
3249
  "circle" === e.kind ? ((0, p.openBlock)(), (0, p.createElementBlock)("circle", {
3250
3250
  key: 1,
3251
3251
  cx: e.cx,
@@ -3289,7 +3289,7 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3289
3289
  y: e.y
3290
3290
  }, (0, p.toDisplayString)(e.text), 9, lo))), 128))], 8, no)) : (0, p.createCommentVNode)("", !0)
3291
3291
  ], 46, Zl))), 128))], 8, Yl)) : (0, p.createCommentVNode)("", !0),
3292
- F.value && (0, p.unref)(j) && !(0, p.unref)(R).isEditing.value && (0, p.unref)(U) ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
3292
+ M.value && (0, p.unref)(j) && !(0, p.unref)(R).isEditing.value && (0, p.unref)(U) ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
3293
3293
  key: 3,
3294
3294
  ref_key: "styleBarEl",
3295
3295
  ref: _,
@@ -3298,9 +3298,9 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3298
3298
  palette: s.value,
3299
3299
  onPickFill: r[0] || (r[0] = (e) => function(e, n) {
3300
3300
  const o = l.value;
3301
- if (!o || !M) return;
3301
+ if (!o || !O) return;
3302
3302
  const a = (0, k.setSmartArtNodeStyle)(o, e, { fillColor: n });
3303
- a !== o && M.commitStyle?.(t.element.id, { smartArtData: a });
3303
+ a !== o && O.commitStyle?.(t.element.id, { smartArtData: a });
3304
3304
  }((0, p.unref)(j), e))
3305
3305
  }, null, 8, ["palette"])], 4)) : (0, p.createCommentVNode)("", !0),
3306
3306
  (0, p.unref)(R).isEditing.value && (0, p.unref)(R).rect.value ? (0, p.withDirectives)(((0, p.openBlock)(), (0, p.createElementBlock)("textarea", {
@@ -3351,7 +3351,7 @@ var Dl = ["aria-label", "onClick"], zl = (0, p.defineComponent)({
3351
3351
  textStyleOverrideCss: {}
3352
3352
  },
3353
3353
  setup(e) {
3354
- const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => "smartArt" === t.element.type ? t.element.smartArtData : void 0), o = V(), a = (0, p.computed)(() => (0, d.resolveSmartArtThreeViewSpec)(t.element, o.value.smartArt3D)), r = (0, p.computed)(() => (0, d.elementInLocalFrame)(t.element)), i = (0, p.ref)(null), s = (0, p.ref)(null), u = (0, p.computed)(() => B(t.element, t.zIndex)), m = O(() => t.element, () => t.interactive, () => t.presenting), v = Il(), f = (0, p.computed)(() => Boolean(v?.canEdit())), h = Bl(), y = (0, p.computed)(() => (0, d.resolvePalette)(l.value)), g = (0, p.ref)(null), { hoveredNodeId: k, hoveredNodeRect: x, onMouseMove: S, onMouseLeave: b } = Tl(i), w = (0, p.computed)(() => {
3354
+ const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => "smartArt" === t.element.type ? t.element.smartArtData : void 0), o = M(), a = (0, p.computed)(() => (0, d.resolveSmartArtThreeViewSpec)(t.element, o.value.smartArt3D)), r = (0, p.computed)(() => (0, d.elementInLocalFrame)(t.element)), i = (0, p.ref)(null), s = (0, p.ref)(null), u = (0, p.computed)(() => B(t.element, t.zIndex)), m = L(() => t.element, () => t.interactive, () => t.presenting), v = Il(), f = (0, p.computed)(() => Boolean(v?.canEdit())), h = Bl(), y = (0, p.computed)(() => (0, d.resolvePalette)(l.value)), g = (0, p.ref)(null), { hoveredNodeId: k, hoveredNodeRect: x, onMouseMove: S, onMouseLeave: b } = Tl(i), w = (0, p.computed)(() => {
3355
3355
  const e = x.value, t = i.value;
3356
3356
  if (!e || !t) return;
3357
3357
  const n = Math.max(0, t.clientWidth - 168), l = Math.max(0, t.clientHeight - 40);
@@ -3703,7 +3703,7 @@ var wo = b((0, p.defineComponent)({
3703
3703
  }),
3704
3704
  ...B(t.element, t.zIndex)
3705
3705
  };
3706
- }), l = (0, p.computed)(() => t.interactive ? null : { pointerEvents: "none" }), o = O(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.inject)(ko, void 0), r = (0, p.computed)(() => {
3706
+ }), l = (0, p.computed)(() => t.interactive ? null : { pointerEvents: "none" }), o = L(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.inject)(ko, void 0), r = (0, p.computed)(() => {
3707
3707
  const e = t.element;
3708
3708
  if ("table" !== e.type) return;
3709
3709
  const n = e.tableData;
@@ -4224,7 +4224,7 @@ var aa = [
4224
4224
  presenting: { type: Boolean }
4225
4225
  },
4226
4226
  setup(e) {
4227
- const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => B(t.element, t.zIndex)), o = O(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.computed)(() => (0, k.isZoomElement)(t.element) ? t.element : void 0), r = (0, p.computed)(() => a.value?.imageData), i = (0, p.computed)(() => a.value?.targetSlideIndex ?? 0), s = (0, p.computed)(() => a.value?.zoomType ?? "slide"), u = (0, p.computed)(() => a.value?.targetSectionId), m = (0, p.computed)(() => "section" === s.value ? n("pptx.zoom.sectionZoom") : n("pptx.zoom.slideZoom")), v = (0, p.inject)(na, void 0), f = (0, p.computed)(() => v?.(i.value)), h = (0, p.computed)(() => a.value ? (0, d.buildSummaryZoomView)(a.value, v, (e, t) => n(e, t ?? {})) : void 0), y = (0, p.computed)(() => ({ backgroundColor: f.value?.backgroundColor ?? "#f0f0f0" })), g = (0, p.computed)(() => void 0 !== f.value?.slideNumber ? n("pptx.notes.slideN", { n: f.value.slideNumber }) : n("pptx.notes.slideN", { n: i.value + 1 })), x = (0, p.computed)(() => f.value?.sectionName ?? u.value), S = (0, p.computed)(() => "section" === s.value && u.value ? n("pptx.zoom.ariaLabelSection", {
4227
+ const t = e, { t: n } = c.useI18n(), l = (0, p.computed)(() => B(t.element, t.zIndex)), o = L(() => t.element, () => t.interactive, () => t.presenting), a = (0, p.computed)(() => (0, k.isZoomElement)(t.element) ? t.element : void 0), r = (0, p.computed)(() => a.value?.imageData), i = (0, p.computed)(() => a.value?.targetSlideIndex ?? 0), s = (0, p.computed)(() => a.value?.zoomType ?? "slide"), u = (0, p.computed)(() => a.value?.targetSectionId), m = (0, p.computed)(() => "section" === s.value ? n("pptx.zoom.sectionZoom") : n("pptx.zoom.slideZoom")), v = (0, p.inject)(na, void 0), f = (0, p.computed)(() => v?.(i.value)), h = (0, p.computed)(() => a.value ? (0, d.buildSummaryZoomView)(a.value, v, (e, t) => n(e, t ?? {})) : void 0), y = (0, p.computed)(() => ({ backgroundColor: f.value?.backgroundColor ?? "#f0f0f0" })), g = (0, p.computed)(() => void 0 !== f.value?.slideNumber ? n("pptx.notes.slideN", { n: f.value.slideNumber }) : n("pptx.notes.slideN", { n: i.value + 1 })), x = (0, p.computed)(() => f.value?.sectionName ?? u.value), S = (0, p.computed)(() => "section" === s.value && u.value ? n("pptx.zoom.ariaLabelSection", {
4228
4228
  number: i.value + 1,
4229
4229
  section: u.value
4230
4230
  }) : n("pptx.zoom.ariaLabel", { number: i.value + 1 })), b = (0, p.inject)(ea, void 0), w = (0, p.computed)(() => Boolean(b && a.value));
@@ -4314,7 +4314,7 @@ var aa = [
4314
4314
  inlineEditingElementId: {}
4315
4315
  },
4316
4316
  setup(e) {
4317
- const t = e, n = V(), l = (0, p.computed)(() => n.value.smartArt3D), o = D(), a = (0, p.inject)(A, void 0), r = (0, p.inject)(M, () => (0, p.shallowRef)(/* @__PURE__ */ new Map()), !0), i = (0, p.computed)(() => r.value.get(t.element.id)), s = (0, p.computed)(() => (0, d.getBackgroundAnimationState)(t.element, r.value)), u = (0, p.computed)(() => (0, d.buildTextStyleOverrideCss)(t.element.id, i.value?.textStyle)), c = (0, p.computed)(() => B(t.element, t.zIndex)), m = (0, p.computed)(() => C(t.element, t.parentGroupFill, (s.value ?? i.value)?.animatesFill, (s.value ?? i.value)?.animatesStroke)), v = (0, p.computed)(() => (0, d.getGroupChildParentFill)(t.element, t.parentGroupFill)), f = (0, p.computed)(() => {
4317
+ const t = e, n = M(), l = (0, p.computed)(() => n.value.smartArt3D), o = D(), a = (0, p.inject)(F, void 0), r = (0, p.inject)(R, () => (0, p.shallowRef)(/* @__PURE__ */ new Map()), !0), i = (0, p.computed)(() => r.value.get(t.element.id)), s = (0, p.computed)(() => (0, d.getBackgroundAnimationState)(t.element, r.value)), u = (0, p.computed)(() => (0, d.buildTextStyleOverrideCss)(t.element.id, i.value?.textStyle)), c = (0, p.computed)(() => B(t.element, t.zIndex)), m = (0, p.computed)(() => C(t.element, t.parentGroupFill, (s.value ?? i.value)?.animatesFill, (s.value ?? i.value)?.animatesStroke)), v = (0, p.computed)(() => (0, d.getGroupChildParentFill)(t.element, t.parentGroupFill)), f = (0, p.computed)(() => {
4318
4318
  const e = c.value, n = m.value, l = {
4319
4319
  ...e,
4320
4320
  ...n
@@ -4340,21 +4340,21 @@ var aa = [
4340
4340
  }), x = (0, p.computed)(() => "text" === t.element.type || "shape" === t.element.type), S = (0, p.computed)(() => "picture" === t.element.type || "image" === t.element.type), b = (0, p.computed)(() => (0, k.hasTextProperties)(t.element) && (0, d.isEquationOnlyText)(t.element.textSegments)), w = (0, p.computed)(() => (0, d.hasTextWarp)(t.element)), E = (0, p.computed)(() => {
4341
4341
  return (0, d.getOverflowSegments)(t.element, (e = a) ? (0, p.toValue)(e) : void 0);
4342
4342
  var e;
4343
- }), P = (0, p.computed)(() => (0, d.buildParagraphs)(t.element, z(o), E.value)), T = (0, p.computed)(() => P.value.some((e) => e.runs.length > 0 || void 0 !== e.bulletMarker)), F = (0, p.computed)(() => T.value ? null : (0, d.placeholderPromptDescriptor)(t.element, t.interactive && !t.presenting ? "edit" : "present")), L = (0, p.computed)(() => t.templateEditing ? "pptx-vue-template-editing" : null), R = (0, p.computed)(() => t.interactive || t.marked ? "true" : void 0), N = (0, p.computed)(() => {
4343
+ }), P = (0, p.computed)(() => (0, d.buildParagraphs)(t.element, z(o), E.value)), T = (0, p.computed)(() => P.value.some((e) => e.runs.length > 0 || void 0 !== e.bulletMarker)), A = (0, p.computed)(() => T.value ? null : (0, d.placeholderPromptDescriptor)(t.element, t.interactive && !t.presenting ? "edit" : "present")), O = (0, p.computed)(() => t.templateEditing ? "pptx-vue-template-editing" : null), V = (0, p.computed)(() => t.interactive || t.marked ? "true" : void 0), N = (0, p.computed)(() => {
4344
4344
  const e = (0, d.inlineElementPointerEvents)({
4345
4345
  interactive: !0 === t.interactive,
4346
4346
  presenting: !0 === t.presenting
4347
4347
  });
4348
4348
  return e ? { pointerEvents: e } : null;
4349
- }), _ = (0, p.computed)(() => (0, d.isElementRendered)(t.element)), j = (0, p.computed)(() => t.element.id === t.inlineEditingElementId), U = O(() => t.element, () => t.interactive, () => t.presenting);
4349
+ }), _ = (0, p.computed)(() => (0, d.isElementRendered)(t.element)), j = (0, p.computed)(() => t.element.id === t.inlineEditingElementId), U = L(() => t.element, () => t.interactive, () => t.presenting);
4350
4350
  return (t, n) => {
4351
4351
  const o = (0, p.resolveComponent)("ElementRenderer", !0);
4352
4352
  return _.value ? "group" === e.element.type ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
4353
4353
  key: 1,
4354
- class: (0, p.normalizeClass)(["pptx-vue-element pptx-vue-group", L.value]),
4354
+ class: (0, p.normalizeClass)(["pptx-vue-element pptx-vue-group", O.value]),
4355
4355
  style: (0, p.normalizeStyle)([f.value, N.value]),
4356
4356
  "data-element-id": e.element.id,
4357
- "data-pptx-element": R.value
4357
+ "data-pptx-element": V.value
4358
4358
  }, [
4359
4359
  (0, p.unref)(U) ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
4360
4360
  key: 0,
@@ -4394,7 +4394,7 @@ var aa = [
4394
4394
  interactive: e.interactive,
4395
4395
  marked: e.marked,
4396
4396
  presenting: e.presenting,
4397
- class: (0, p.normalizeClass)(L.value)
4397
+ class: (0, p.normalizeClass)(O.value)
4398
4398
  }, null, 8, [
4399
4399
  "element",
4400
4400
  "media-data-urls",
@@ -4412,7 +4412,7 @@ var aa = [
4412
4412
  selected: e.selected,
4413
4413
  marked: e.marked,
4414
4414
  presenting: e.presenting,
4415
- class: (0, p.normalizeClass)(L.value)
4415
+ class: (0, p.normalizeClass)(O.value)
4416
4416
  }, null, 8, [
4417
4417
  "element",
4418
4418
  "media-data-urls",
@@ -4428,7 +4428,7 @@ var aa = [
4428
4428
  "z-index": e.zIndex,
4429
4429
  "animation-state": i.value,
4430
4430
  "text-style-override-css": u.value,
4431
- "data-pptx-element": R.value
4431
+ "data-pptx-element": V.value
4432
4432
  }, null, 8, [
4433
4433
  "element",
4434
4434
  "z-index",
@@ -4481,7 +4481,7 @@ var aa = [
4481
4481
  replay: e.presenting,
4482
4482
  "text-style": i.value?.textStyle,
4483
4483
  "text-style-override-css": u.value,
4484
- "data-pptx-element": R.value
4484
+ "data-pptx-element": V.value
4485
4485
  }, null, 8, [
4486
4486
  "element",
4487
4487
  "media-data-urls",
@@ -4519,7 +4519,7 @@ var aa = [
4519
4519
  interactive: e.interactive,
4520
4520
  presenting: e.presenting,
4521
4521
  replay: e.presenting,
4522
- "data-pptx-element": R.value
4522
+ "data-pptx-element": V.value
4523
4523
  }, null, 8, [
4524
4524
  "element",
4525
4525
  "media-data-urls",
@@ -4534,7 +4534,7 @@ var aa = [
4534
4534
  "z-index": e.zIndex,
4535
4535
  interactive: e.interactive,
4536
4536
  presenting: e.presenting,
4537
- "data-pptx-element": R.value
4537
+ "data-pptx-element": V.value
4538
4538
  }, null, 8, [
4539
4539
  "element",
4540
4540
  "z-index",
@@ -4548,7 +4548,7 @@ var aa = [
4548
4548
  "z-index": e.zIndex,
4549
4549
  interactive: e.interactive,
4550
4550
  presenting: e.presenting,
4551
- "data-pptx-element": R.value
4551
+ "data-pptx-element": V.value
4552
4552
  }, null, 8, [
4553
4553
  "element",
4554
4554
  "media-data-urls",
@@ -4563,7 +4563,7 @@ var aa = [
4563
4563
  "z-index": e.zIndex,
4564
4564
  interactive: e.interactive,
4565
4565
  presenting: e.presenting,
4566
- "data-pptx-element": R.value
4566
+ "data-pptx-element": V.value
4567
4567
  }, null, 8, [
4568
4568
  "element",
4569
4569
  "media-data-urls",
@@ -4578,7 +4578,7 @@ var aa = [
4578
4578
  "z-index": e.zIndex,
4579
4579
  interactive: e.interactive,
4580
4580
  presenting: e.presenting,
4581
- "data-pptx-element": R.value
4581
+ "data-pptx-element": V.value
4582
4582
  }, null, 8, [
4583
4583
  "element",
4584
4584
  "media-data-urls",
@@ -4593,7 +4593,7 @@ var aa = [
4593
4593
  "z-index": e.zIndex,
4594
4594
  interactive: e.interactive,
4595
4595
  presenting: e.presenting,
4596
- "data-pptx-element": R.value
4596
+ "data-pptx-element": V.value
4597
4597
  }, null, 8, [
4598
4598
  "element",
4599
4599
  "media-data-urls",
@@ -4603,10 +4603,10 @@ var aa = [
4603
4603
  "data-pptx-element"
4604
4604
  ])) : x.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
4605
4605
  key: 15,
4606
- class: (0, p.normalizeClass)(["pptx-vue-element pptx-vue-shape", L.value]),
4606
+ class: (0, p.normalizeClass)(["pptx-vue-element pptx-vue-shape", O.value]),
4607
4607
  style: (0, p.normalizeStyle)([h.value.box, N.value]),
4608
4608
  "data-element-id": e.element.id,
4609
- "data-pptx-element": R.value
4609
+ "data-pptx-element": V.value
4610
4610
  }, [
4611
4611
  (0, p.createVNode)(bt, { element: e.element }, null, 8, ["element"]),
4612
4612
  (0, p.unref)(U) ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
@@ -4645,17 +4645,17 @@ var aa = [
4645
4645
  "text-style",
4646
4646
  "element-id",
4647
4647
  "sub-element-anim-states"
4648
- ])) : F.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
4648
+ ])) : A.value ? ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
4649
4649
  key: 2,
4650
4650
  class: "pptx-vue-text pptx-vue-placeholder-prompt",
4651
- style: (0, p.normalizeStyle)([y.value, F.value.style])
4652
- }, (0, p.toDisplayString)(F.value.text), 5)) : (0, p.createCommentVNode)("", !0)], 64))
4651
+ style: (0, p.normalizeStyle)([y.value, A.value.style])
4652
+ }, (0, p.toDisplayString)(A.value.text), 5)) : (0, p.createCommentVNode)("", !0)], 64))
4653
4653
  ], 14, ha)) : ((0, p.openBlock)(), (0, p.createElementBlock)("div", {
4654
4654
  key: 16,
4655
- class: (0, p.normalizeClass)(["pptx-vue-element pptx-vue-unsupported", L.value]),
4655
+ class: (0, p.normalizeClass)(["pptx-vue-element pptx-vue-unsupported", O.value]),
4656
4656
  style: (0, p.normalizeStyle)([c.value, N.value]),
4657
4657
  "data-element-id": e.element.id,
4658
- "data-pptx-element": R.value
4658
+ "data-pptx-element": V.value
4659
4659
  }, [(0, p.createElementVNode)("div", ka, (0, p.toDisplayString)(e.element.type), 1)], 14, ga)) : ((0, p.openBlock)(), (0, p.createElementBlock)(p.Fragment, { key: 0 }, [], 64));
4660
4660
  };
4661
4661
  }
@@ -4688,21 +4688,22 @@ var aa = [
4688
4688
  })(() => t.slide);
4689
4689
  const o = (0, p.computed)(() => [...(0, d.visibleTemplateElements)(t.slide, t.templateElements ?? [])]);
4690
4690
  var a = () => [...o.value, ...t.slide?.elements ?? []];
4691
- (0, p.provide)(A, a);
4692
- const r = (0, p.computed)(() => t.preserveElementIds ? /* @__PURE__ */ new Map() : (0, d.resolveStageEdgeBleeds)(o.value, t.slide, t.selectedElementIds?.length ? new Set(t.selectedElementIds) : void 0)), i = (0, p.computed)(() => o.value.length), s = (0, p.computed)(() => [...o.value, ...t.slide?.elements ?? []]), u = (0, p.computed)(() => (t.interactive ?? !1) && (t.editTemplateMode ?? !1));
4691
+ (0, p.provide)(F, a);
4692
+ const r = (0, p.computed)(() => t.preserveElementIds ? /* @__PURE__ */ new Map() : (0, d.resolveStageEdgeBleeds)(o.value, t.slide, t.selectedElementIds?.length ? new Set(t.selectedElementIds) : void 0)), i = (0, p.computed)(() => o.value.length), s = (0, p.computed)(() => [...o.value, ...t.slide?.elements ?? []]), u = (0, p.computed)(() => (t.interactive ?? !1) && (t.editTemplateMode ?? !1)), m = M();
4693
4693
  (0, p.watchPostEffect)(() => {
4694
4694
  const e = l.value, a = s.value;
4695
- e && (t.interactive || t.presenting ? ((0, d.applyRenderedElementAccessibility)(e, a, { presenting: !0 === t.presenting }), (0, d.applyElementActionAffordances)(e, [...u.value ? o.value : [], ...t.slide?.elements ?? []], {
4695
+ if (m.value, !e) return;
4696
+ (0, d.stageKeepsElementIds)({
4697
+ interactive: t.interactive,
4698
+ presenting: t.presenting,
4699
+ preserveElementIds: t.preserveElementIds
4700
+ }) ? (t.interactive || t.presenting) && ((0, d.applyRenderedElementAccessibility)(e, a, { presenting: !0 === t.presenting }), (0, d.applyElementActionAffordances)(e, [...u.value ? o.value : [], ...t.slide?.elements ?? []], {
4696
4701
  canInteract: !0 === t.interactive,
4697
4702
  presenting: !0 === t.presenting,
4698
4703
  labels: (0, d.actionAffordanceLabels)((e) => n(e))
4699
- })) : t.preserveElementIds || function(e) {
4700
- const t = e.querySelectorAll("[data-element-id]");
4701
- for (const e of t) e.removeAttribute("data-element-id");
4702
- t.length;
4703
- }(e));
4704
+ })) : (0, d.stripElementIdMarkers)(e);
4704
4705
  });
4705
- const m = (0, p.computed)(() => ({
4706
+ const v = (0, p.computed)(() => ({
4706
4707
  width: `${t.canvasSize.width}px`,
4707
4708
  height: `${t.canvasSize.height}px`,
4708
4709
  transform: `scale(${t.scale})`,
@@ -4725,7 +4726,7 @@ var aa = [
4725
4726
  ref: l,
4726
4727
  class: "pptx-vue-stage",
4727
4728
  "data-pptx-scope": "",
4728
- style: (0, p.normalizeStyle)(m.value),
4729
+ style: (0, p.normalizeStyle)(v.value),
4729
4730
  role: e.presenting ? "region" : void 0,
4730
4731
  "aria-roledescription": e.presenting ? "slide" : void 0,
4731
4732
  "aria-label": e.presenting ? (0, p.unref)(n)("pptx.canvas.slide") : void 0,
@@ -5779,7 +5780,7 @@ function fr(e) {
5779
5780
  var hr = {
5780
5781
  loadYjs: () => import("yjs"),
5781
5782
  loadWebsocket: () => import("y-websocket"),
5782
- loadWebrtc: () => Promise.resolve().then(() => require("./y-webrtc-DjfDRwd4.cjs"))
5783
+ loadWebrtc: () => Promise.resolve().then(() => require("./y-webrtc-DOVNm7CC.cjs"))
5783
5784
  };
5784
5785
  function yr(e, t) {
5785
5786
  const n = (0, p.ref)(!1), l = (0, p.ref)(!1), o = (0, p.ref)(void 0), a = (0, d.createCollaborationLivePatcher)();
@@ -9263,7 +9264,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9263
9264
  }), Object.defineProperty(exports, "DEFAULT_RENDERING_3D_FLAGS", {
9264
9265
  enumerable: !0,
9265
9266
  get: function() {
9266
- return L;
9267
+ return A;
9267
9268
  }
9268
9269
  }), Object.defineProperty(exports, "DEFAULT_STROKE_COLOR", {
9269
9270
  enumerable: !0,
@@ -9348,7 +9349,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9348
9349
  }), Object.defineProperty(exports, "Rendering3DFlagsKey", {
9349
9350
  enumerable: !0,
9350
9351
  get: function() {
9351
- return R;
9352
+ return O;
9352
9353
  }
9353
9354
  }), Object.defineProperty(exports, "SMARTART_COLOR_SCHEMES", {
9354
9355
  enumerable: !0,
@@ -9558,7 +9559,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9558
9559
  }), Object.defineProperty(exports, "providePresentationElementStates", {
9559
9560
  enumerable: !0,
9560
9561
  get: function() {
9561
- return F;
9562
+ return V;
9562
9563
  }
9563
9564
  }), Object.defineProperty(exports, "provideTableSelection", {
9564
9565
  enumerable: !0,
@@ -9873,7 +9874,7 @@ Object.defineProperty(exports, "ChartRenderer_default", {
9873
9874
  }), Object.defineProperty(exports, "useRendering3DFlags", {
9874
9875
  enumerable: !0,
9875
9876
  get: function() {
9876
- return V;
9877
+ return M;
9877
9878
  }
9878
9879
  }), Object.defineProperty(exports, "useRibbonActions", {
9879
9880
  enumerable: !0,