pptx-vue-viewer 4.52.0 → 4.52.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.
Files changed (60) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{AiChatPanel-DP6KnhTx.cjs → AiChatPanel-BJIBW-5_.cjs} +1 -1
  3. package/dist/AiChatPanel-BJIBW-5_.cjs.br +0 -0
  4. package/dist/AiChatPanel-BJIBW-5_.cjs.gz +0 -0
  5. package/dist/{AiChatPanel-Y4-m9X2v.js → AiChatPanel-tpFmNCU7.js} +2 -2
  6. package/dist/AiChatPanel-tpFmNCU7.js.br +0 -0
  7. package/dist/AiChatPanel-tpFmNCU7.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 +2 -2
  12. package/dist/index.js.br +0 -0
  13. package/dist/index.js.gz +0 -0
  14. package/dist/internals.cjs +1 -1
  15. package/dist/internals.cjs.br +0 -0
  16. package/dist/internals.cjs.gz +0 -0
  17. package/dist/internals.d.ts +3 -6
  18. package/dist/internals.js +1 -1
  19. package/dist/internals.js.br +0 -0
  20. package/dist/internals.js.gz +0 -0
  21. package/dist/{useViewerSettingsDialog-BzrOAuvq.cjs → useViewerSettingsDialog-lj_TAwRL.cjs} +3 -28
  22. package/dist/useViewerSettingsDialog-lj_TAwRL.cjs.br +0 -0
  23. package/dist/{useViewerSettingsDialog-BzrOAuvq.cjs.gz → useViewerSettingsDialog-lj_TAwRL.cjs.gz} +0 -0
  24. package/dist/{useViewerSettingsDialog-EEv9VhZX.js → useViewerSettingsDialog-uOPQHITn.js} +1582 -1607
  25. package/dist/useViewerSettingsDialog-uOPQHITn.js.br +0 -0
  26. package/dist/useViewerSettingsDialog-uOPQHITn.js.gz +0 -0
  27. package/dist/viewer/index.cjs +1 -1
  28. package/dist/viewer/index.cjs.br +0 -0
  29. package/dist/viewer/index.cjs.gz +0 -0
  30. package/dist/viewer/index.js +2 -2
  31. package/dist/viewer/index.js.br +0 -0
  32. package/dist/viewer/index.js.gz +0 -0
  33. package/dist/{viewer-DJyFUehP.cjs → viewer-DLoFhpPl.cjs} +62 -62
  34. package/dist/viewer-DLoFhpPl.cjs.br +0 -0
  35. package/dist/viewer-DLoFhpPl.cjs.gz +0 -0
  36. package/dist/{viewer-23TDN7yS.js → viewer-Y8ayJeex.js} +5895 -5895
  37. package/dist/viewer-Y8ayJeex.js.br +0 -0
  38. package/dist/viewer-Y8ayJeex.js.gz +0 -0
  39. package/dist/{y-webrtc-qrKRE_dp.cjs → y-webrtc-CHFoitao.cjs} +1 -1
  40. package/dist/y-webrtc-CHFoitao.cjs.br +0 -0
  41. package/dist/y-webrtc-CHFoitao.cjs.gz +0 -0
  42. package/dist/{y-webrtc-Dux5fgCn.js → y-webrtc-alqckhj0.js} +1 -1
  43. package/dist/y-webrtc-alqckhj0.js.br +0 -0
  44. package/dist/y-webrtc-alqckhj0.js.gz +0 -0
  45. package/package.json +3 -3
  46. package/dist/AiChatPanel-DP6KnhTx.cjs.br +0 -0
  47. package/dist/AiChatPanel-DP6KnhTx.cjs.gz +0 -0
  48. package/dist/AiChatPanel-Y4-m9X2v.js.br +0 -0
  49. package/dist/AiChatPanel-Y4-m9X2v.js.gz +0 -0
  50. package/dist/useViewerSettingsDialog-BzrOAuvq.cjs.br +0 -0
  51. package/dist/useViewerSettingsDialog-EEv9VhZX.js.br +0 -0
  52. package/dist/useViewerSettingsDialog-EEv9VhZX.js.gz +0 -0
  53. package/dist/viewer-23TDN7yS.js.br +0 -0
  54. package/dist/viewer-23TDN7yS.js.gz +0 -0
  55. package/dist/viewer-DJyFUehP.cjs.br +0 -0
  56. package/dist/viewer-DJyFUehP.cjs.gz +0 -0
  57. package/dist/y-webrtc-Dux5fgCn.js.br +0 -0
  58. package/dist/y-webrtc-Dux5fgCn.js.gz +0 -0
  59. package/dist/y-webrtc-qrKRE_dp.cjs.br +0 -0
  60. package/dist/y-webrtc-qrKRE_dp.cjs.gz +0 -0
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const e = require("../useViewerSettingsDialog-BzrOAuvq.cjs"), t = require("../viewer-DJyFUehP.cjs");
2
+ const e = require("../useViewerSettingsDialog-lj_TAwRL.cjs"), t = require("../viewer-DLoFhpPl.cjs");
3
3
  let r = require("ooxml-ui/pptx");
4
4
  Object.defineProperty(exports, "AUDIENCE_HASH", {
5
5
  enumerable: !0,
Binary file
Binary file
@@ -1,3 +1,3 @@
1
- import { $n as a, An as s, C as e, Cr as r, Dr as n, Er as o, In as t, L as i, M as l, Mn as d, N as R, P as S, S as m, Sr as C, Tr as b, X as w, Z as u, br as c, er as p, j as v, jn as x, lr as T, nr as g, pt as j, qn as y, rr as E, rt as I, ur as M, w as f, wr as A, x as D, xr as O, yr as P, zn as h } from "../useViewerSettingsDialog-EEv9VhZX.js";
2
- import { C as q, S as V, _ as Z, a as k, b as z, c as B, d as F, f as L, g as N, h as W, i as X, m as $, n as _, o as G, p as H, r as J, s as K, t as Q, u as U, v as Y, w as aa, y as sa } from "../viewer-23TDN7yS.js";
1
+ import { $n as a, An as s, C as e, Cr as r, Dr as n, Er as o, In as t, L as i, M as l, Mn as d, N as R, P as S, S as m, Sr as C, Tr as b, X as w, Z as u, br as c, er as p, j as v, jn as x, lr as T, nr as g, pt as j, qn as y, rr as E, rt as I, ur as M, w as f, wr as A, x as D, xr as O, yr as P, zn as h } from "../useViewerSettingsDialog-uOPQHITn.js";
2
+ import { C as q, S as V, _ as Z, a as k, b as z, c as B, d as F, f as L, g as N, h as W, i as X, m as $, n as _, o as G, p as H, r as J, s as K, t as Q, u as U, v as Y, w as aa, y as sa } from "../viewer-Y8ayJeex.js";
3
3
  export { F as AUDIENCE_HASH, M as ChartRenderer, Y as CollaborationCursors, aa as CollaborationStatusIndicator, T as ConnectorRenderer, r as DEFAULT_CANVAS_HEIGHT, A as DEFAULT_CANVAS_WIDTH, b as DEFAULT_FILL_COLOR, o as DEFAULT_STROKE_COLOR, n as DEFAULT_TEXT_COLOR, x as ElementRenderer, E as EquationRenderer, U as FollowModeBar, g as InkRenderer, q as InlineTextEditor, p as Model3DRenderer, a as OleRenderer, B as PowerPointViewer, Z as RemoteSelectionOverlay, z as RibbonToolbar, V as SelectionOverlay, sa as SlideCanvas, s as SlideStage, y as SmartArtRenderer, h as TableRenderer, t as WordArtText, d as ZoomRenderer, l as buildInitialGuides, L as clearAudienceContent, R as collectImagePaths, S as collectMediaElements, D as exportAllSlidesToSvg, m as exportAllSlidesToSvgBlobs, e as exportSlideToSvg, f as exportSlideToSvgBlob, P as getContainerStyle, c as getImageSrc, _ as getResolvedShapeClipPath, J as getResolvedShapeClipPathFor, O as getShapeFillStrokeStyle, C as getTextBlockStyle, H as isAudienceTab, $ as loadAudienceContent, Q as overlayInlineTextSnapshot, W as parseAudienceNonce, N as storeAudienceContent, j as useCollaboration, X as useCollaborativeHistory, k as useCollaborativeState, I as useEditorHistory, u as useEditorOperations, w as useElementDrag, i as useInlineEditing, v as useLoadContent, G as usePresenceTracking, K as useYjsProvider };
Binary file
Binary file
@@ -1,4 +1,4 @@
1
- const e = require("./useViewerSettingsDialog-BzrOAuvq.cjs");
1
+ const e = require("./useViewerSettingsDialog-lj_TAwRL.cjs");
2
2
  require("./i18n.cjs");
3
3
  let t = require("ooxml-ui/pptx"), n = require("vue"), o = require("lucide-vue-next"), a = require("clsx"), l = require("tailwind-merge"), r = require("ooxml-ui/pptx/ai"), i = require("ooxml-ui/pptx/i18n");
4
4
  var s = Symbol("pptx-viewer-theme");
@@ -2870,7 +2870,7 @@ var oo = [".state"], ao = (0, n.defineComponent)({
2870
2870
  function ro() {
2871
2871
  return (0, n.inject)(lo, () => {});
2872
2872
  }
2873
- var io = "4.52.0", so = Symbol("pptx-account-auth");
2873
+ var io = "4.52.2", so = Symbol("pptx-account-auth");
2874
2874
  var co = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, po = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, uo = { class: "text-base font-semibold" }, mo = { class: "mt-4 flex items-center gap-4" }, vo = { class: "min-w-0 flex-1" }, go = { class: "block text-xs font-medium text-muted-foreground" }, fo = ["value", "placeholder"], xo = { class: "mt-4" }, yo = { class: "block text-xs font-medium text-muted-foreground" }, ho = { class: "mt-2 flex gap-2" }, bo = [
2875
2875
  "aria-pressed",
2876
2876
  "aria-label",
@@ -12981,26 +12981,26 @@ var Vx = { class: "pptx-comment-mention-input relative" }, Tx = [
12981
12981
  "resolve",
12982
12982
  "reply"
12983
12983
  ],
12984
- setup(t, { emit: o }) {
12985
- const a = t, l = o, { t: r } = e.useI18n(), i = (0, n.computed)(() => a.modernCommentAuthors ?? []), s = (0, n.ref)(""), c = (0, n.ref)([]), d = (0, n.ref)(null), p = (0, n.ref)({}), u = (0, n.ref)({});
12986
- const m = (0, n.computed)(() => s.value.trim().length > 0), v = () => {
12987
- const e = s.value.trim();
12988
- 0 !== e.length && (l("add", {
12984
+ setup(o, { emit: a }) {
12985
+ const l = o, r = a, { t: i } = e.useI18n(), s = (0, n.computed)(() => l.modernCommentAuthors ?? []), c = (0, n.ref)(""), d = (0, n.ref)([]), p = (0, n.ref)(null), u = (0, n.ref)({}), m = (0, n.ref)({});
12986
+ const v = (0, n.computed)(() => c.value.trim().length > 0), g = () => {
12987
+ const { text: e, mentions: n } = (0, t.trimCommentMentions)(c.value, d.value);
12988
+ 0 !== e.length && (r("add", {
12989
12989
  text: e,
12990
- mentions: c.value
12991
- }), s.value = "", c.value = []);
12992
- }, g = (t) => (0, e.dist_exports.formatCommentTimestamp)(t);
12993
- return (e, o) => ((0, n.openBlock)(), (0, n.createElementBlock)("aside", {
12990
+ mentions: n
12991
+ }), c.value = "", d.value = []);
12992
+ }, f = (t) => (0, e.dist_exports.formatCommentTimestamp)(t);
12993
+ return (e, a) => ((0, n.openBlock)(), (0, n.createElementBlock)("aside", {
12994
12994
  class: "pptx-comments-panel flex h-full min-h-0 w-full flex-col border-l border-border bg-card text-foreground",
12995
- "aria-label": (0, n.unref)(r)("pptx.comments.slideComments")
12995
+ "aria-label": (0, n.unref)(i)("pptx.comments.slideComments")
12996
12996
  }, [
12997
- t.embedded ? (0, n.createCommentVNode)("", !0) : ((0, n.openBlock)(), (0, n.createElementBlock)("header", _x, [(0, n.createElementVNode)("h2", Ax, (0, n.toDisplayString)((0, n.unref)(r)("pptx.toolbar.comments")), 1), (0, n.createElementVNode)("span", zx, (0, n.toDisplayString)(a.comments.length), 1)])),
12998
- a.comments.length > 0 ? ((0, n.openBlock)(), (0, n.createElementBlock)("ul", Mx, [((0, n.openBlock)(!0), (0, n.createElementBlock)(n.Fragment, null, (0, n.renderList)(a.comments, (e) => ((0, n.openBlock)(), (0, n.createElementBlock)("li", {
12997
+ o.embedded ? (0, n.createCommentVNode)("", !0) : ((0, n.openBlock)(), (0, n.createElementBlock)("header", _x, [(0, n.createElementVNode)("h2", Ax, (0, n.toDisplayString)((0, n.unref)(i)("pptx.toolbar.comments")), 1), (0, n.createElementVNode)("span", zx, (0, n.toDisplayString)(l.comments.length), 1)])),
12998
+ l.comments.length > 0 ? ((0, n.openBlock)(), (0, n.createElementBlock)("ul", Mx, [((0, n.openBlock)(!0), (0, n.createElementBlock)(n.Fragment, null, (0, n.renderList)(l.comments, (e) => ((0, n.openBlock)(), (0, n.createElementBlock)("li", {
12999
12999
  key: e.id,
13000
13000
  class: (0, n.normalizeClass)(["pptx-comments-panel__item mb-2 rounded-lg border border-border px-3 py-2.5", { "pptx-comments-panel__item--resolved opacity-60": e.resolved }]),
13001
13001
  "data-comment-id": e.id
13002
13002
  }, [
13003
- (0, n.createElementVNode)("div", Rx, [(0, n.createElementVNode)("span", Lx, (0, n.toDisplayString)(e.author || (0, n.unref)(r)("pptx.comments.unknownAuthor")), 1), g(e.createdAt) ? ((0, n.openBlock)(), (0, n.createElementBlock)("time", Ux, (0, n.toDisplayString)(g(e.createdAt)), 1)) : (0, n.createCommentVNode)("", !0)]),
13003
+ (0, n.createElementVNode)("div", Rx, [(0, n.createElementVNode)("span", Lx, (0, n.toDisplayString)(e.author || (0, n.unref)(i)("pptx.comments.unknownAuthor")), 1), f(e.createdAt) ? ((0, n.openBlock)(), (0, n.createElementBlock)("time", Ux, (0, n.toDisplayString)(f(e.createdAt)), 1)) : (0, n.createCommentVNode)("", !0)]),
13004
13004
  (0, n.createElementVNode)("p", Hx, [(0, n.createVNode)(Nx, {
13005
13005
  text: e.text,
13006
13006
  mentions: e.mentions
@@ -13009,7 +13009,7 @@ var Vx = { class: "pptx-comment-mention-input relative" }, Tx = [
13009
13009
  key: e.id,
13010
13010
  class: "pptx-comments-panel__reply mb-1.5",
13011
13011
  "data-comment-id": e.id
13012
- }, [(0, n.createElementVNode)("div", $x, [(0, n.createElementVNode)("span", jx, (0, n.toDisplayString)(e.author || (0, n.unref)(r)("pptx.comments.unknownAuthor")), 1), g(e.createdAt) ? ((0, n.openBlock)(), (0, n.createElementBlock)("time", Wx, (0, n.toDisplayString)(g(e.createdAt)), 1)) : (0, n.createCommentVNode)("", !0)]), (0, n.createElementVNode)("p", qx, [(0, n.createVNode)(Nx, {
13012
+ }, [(0, n.createElementVNode)("div", $x, [(0, n.createElementVNode)("span", jx, (0, n.toDisplayString)(e.author || (0, n.unref)(i)("pptx.comments.unknownAuthor")), 1), f(e.createdAt) ? ((0, n.openBlock)(), (0, n.createElementBlock)("time", Wx, (0, n.toDisplayString)(f(e.createdAt)), 1)) : (0, n.createCommentVNode)("", !0)]), (0, n.createElementVNode)("p", qx, [(0, n.createVNode)(Nx, {
13013
13013
  text: e.text,
13014
13014
  mentions: e.mentions
13015
13015
  }, null, 8, ["text", "mentions"])])], 8, Kx))), 128))])) : (0, n.createCommentVNode)("", !0),
@@ -13019,42 +13019,42 @@ var Vx = { class: "pptx-comment-mention-input relative" }, Tx = [
13019
13019
  class: "pptx-comments-panel__action cursor-pointer rounded-md border border-border bg-transparent px-2 py-1 text-xs text-foreground hover:bg-muted max-md:min-h-[44px]!",
13020
13020
  "data-comment-id": e.id,
13021
13021
  "aria-pressed": e.resolved ? "true" : "false",
13022
- onClick: (t) => l("resolve", e.id)
13023
- }, (0, n.toDisplayString)(e.resolved ? (0, n.unref)(r)("pptx.comments.reopen") : (0, n.unref)(r)("pptx.comments.resolve")), 9, Xx),
13022
+ onClick: (t) => r("resolve", e.id)
13023
+ }, (0, n.toDisplayString)(e.resolved ? (0, n.unref)(i)("pptx.comments.reopen") : (0, n.unref)(i)("pptx.comments.resolve")), 9, Xx),
13024
13024
  (0, n.createElementVNode)("button", {
13025
13025
  type: "button",
13026
13026
  class: "pptx-comments-panel__action cursor-pointer rounded-md border border-border bg-transparent px-2 py-1 text-xs text-foreground hover:bg-muted max-md:min-h-[44px]!",
13027
13027
  "data-comment-id": e.id,
13028
13028
  onClick: (t) => {
13029
- n = e.id, d.value = n, n in p.value || (p.value = {
13030
- ...p.value,
13031
- [n]: ""
13032
- }, u.value = {
13029
+ n = e.id, p.value = n, n in u.value || (u.value = {
13033
13030
  ...u.value,
13031
+ [n]: ""
13032
+ }, m.value = {
13033
+ ...m.value,
13034
13034
  [n]: []
13035
13035
  });
13036
13036
  return;
13037
13037
  var n;
13038
13038
  }
13039
- }, (0, n.toDisplayString)((0, n.unref)(r)("pptx.comments.reply")), 9, Zx),
13039
+ }, (0, n.toDisplayString)((0, n.unref)(i)("pptx.comments.reply")), 9, Zx),
13040
13040
  (0, n.createElementVNode)("button", {
13041
13041
  type: "button",
13042
13042
  class: "pptx-comments-panel__action pptx-comments-panel__action--danger cursor-pointer rounded-md border border-border bg-transparent px-2 py-1 text-xs text-red-400 hover:bg-muted max-md:min-h-[44px]!",
13043
13043
  "data-comment-id": e.id,
13044
- "aria-label": (0, n.unref)(r)("pptx.comments.removeComment"),
13045
- onClick: (t) => l("remove", e.id)
13046
- }, (0, n.toDisplayString)((0, n.unref)(r)("pptx.comments.remove")), 9, Qx)
13044
+ "aria-label": (0, n.unref)(i)("pptx.comments.removeComment"),
13045
+ onClick: (t) => r("remove", e.id)
13046
+ }, (0, n.toDisplayString)((0, n.unref)(i)("pptx.comments.remove")), 9, Qx)
13047
13047
  ]),
13048
- d.value === e.id ? ((0, n.openBlock)(), (0, n.createElementBlock)("div", Jx, [(0, n.createVNode)(Dx, {
13049
- "model-value": p.value[e.id] ?? "",
13050
- mentions: u.value[e.id] ?? [],
13051
- authors: i.value,
13048
+ p.value === e.id ? ((0, n.openBlock)(), (0, n.createElementBlock)("div", Jx, [(0, n.createVNode)(Dx, {
13049
+ "model-value": u.value[e.id] ?? "",
13050
+ mentions: m.value[e.id] ?? [],
13051
+ authors: s.value,
13052
13052
  "textarea-class": "w-full resize-y rounded-md border border-border bg-background p-2 text-[12px] text-foreground",
13053
13053
  rows: 2,
13054
- placeholder: (0, n.unref)(r)("pptx.comments.replyPlaceholder"),
13055
- "aria-label": (0, n.unref)(r)("pptx.comments.reply"),
13056
- "onUpdate:modelValue": (t) => p.value[e.id] = t,
13057
- "onUpdate:mentions": (t) => u.value[e.id] = t
13054
+ placeholder: (0, n.unref)(i)("pptx.comments.replyPlaceholder"),
13055
+ "aria-label": (0, n.unref)(i)("pptx.comments.reply"),
13056
+ "onUpdate:modelValue": (t) => u.value[e.id] = t,
13057
+ "onUpdate:mentions": (t) => m.value[e.id] = t
13058
13058
  }, null, 8, [
13059
13059
  "model-value",
13060
13060
  "mentions",
@@ -13066,44 +13066,44 @@ var Vx = { class: "pptx-comment-mention-input relative" }, Tx = [
13066
13066
  ]), (0, n.createElementVNode)("div", ey, [(0, n.createElementVNode)("button", {
13067
13067
  type: "button",
13068
13068
  class: "cursor-pointer rounded-md border border-border bg-transparent px-2 py-1 text-xs text-foreground hover:bg-muted",
13069
- onClick: o[0] || (o[0] = (e) => d.value = null)
13070
- }, (0, n.toDisplayString)((0, n.unref)(r)("pptx.comments.cancel")), 1), (0, n.createElementVNode)("button", {
13069
+ onClick: a[0] || (a[0] = (e) => p.value = null)
13070
+ }, (0, n.toDisplayString)((0, n.unref)(i)("pptx.comments.cancel")), 1), (0, n.createElementVNode)("button", {
13071
13071
  type: "button",
13072
13072
  class: "cursor-pointer rounded-md border-none bg-primary px-2.5 py-1 text-xs text-primary-foreground disabled:cursor-not-allowed disabled:opacity-50",
13073
- disabled: 0 === (p.value[e.id] ?? "").trim().length,
13074
- onClick: (t) => function(e) {
13075
- const t = (p.value[e] ?? "").trim();
13076
- if (0 === t.length) return;
13077
- l("reply", {
13073
+ disabled: 0 === (u.value[e.id] ?? "").trim().length,
13074
+ onClick: (n) => function(e) {
13075
+ const { text: n, mentions: o } = (0, t.trimCommentMentions)(u.value[e] ?? "", m.value[e]);
13076
+ if (0 === n.length) return;
13077
+ r("reply", {
13078
13078
  parentId: e,
13079
- text: t,
13080
- mentions: u.value[e]
13079
+ text: n,
13080
+ mentions: o
13081
13081
  });
13082
- const n = { ...p.value };
13083
- delete n[e], p.value = n;
13084
- const o = { ...u.value };
13085
- delete o[e], u.value = o, d.value = null;
13082
+ const a = { ...u.value };
13083
+ delete a[e], u.value = a;
13084
+ const l = { ...m.value };
13085
+ delete l[e], m.value = l, p.value = null;
13086
13086
  }(e.id)
13087
- }, (0, n.toDisplayString)((0, n.unref)(r)("pptx.comments.reply")), 9, ty)])])) : (0, n.createCommentVNode)("", !0)
13088
- ], 10, Ox))), 128))])) : ((0, n.openBlock)(), (0, n.createElementBlock)("p", ny, (0, n.toDisplayString)((0, n.unref)(r)("pptx.comments.noneOnSlide")), 1)),
13087
+ }, (0, n.toDisplayString)((0, n.unref)(i)("pptx.comments.reply")), 9, ty)])])) : (0, n.createCommentVNode)("", !0)
13088
+ ], 10, Ox))), 128))])) : ((0, n.openBlock)(), (0, n.createElementBlock)("p", ny, (0, n.toDisplayString)((0, n.unref)(i)("pptx.comments.noneOnSlide")), 1)),
13089
13089
  (0, n.createElementVNode)("form", {
13090
13090
  class: "pptx-comments-panel__compose flex flex-col gap-2 border-t border-border px-4 py-3",
13091
- onSubmit: (0, n.withModifiers)(v, ["prevent"])
13091
+ onSubmit: (0, n.withModifiers)(g, ["prevent"])
13092
13092
  }, [
13093
13093
  (0, n.createElementVNode)("label", {
13094
13094
  class: "pptx-comments-panel__compose-label text-xs font-semibold",
13095
- title: (0, n.unref)(r)("pptx.comments.commentingAs", { name: a.authorName })
13096
- }, (0, n.toDisplayString)((0, n.unref)(r)("pptx.comments.addComment")), 9, oy),
13095
+ title: (0, n.unref)(i)("pptx.comments.commentingAs", { name: l.authorName })
13096
+ }, (0, n.toDisplayString)((0, n.unref)(i)("pptx.comments.addComment")), 9, oy),
13097
13097
  (0, n.createVNode)(Dx, {
13098
- modelValue: s.value,
13099
- "onUpdate:modelValue": o[1] || (o[1] = (e) => s.value = e),
13100
- mentions: c.value,
13101
- authors: i.value,
13098
+ modelValue: c.value,
13099
+ "onUpdate:modelValue": a[1] || (a[1] = (e) => c.value = e),
13100
+ mentions: d.value,
13101
+ authors: s.value,
13102
13102
  "textarea-class": "pptx-comments-panel__textarea w-full resize-y rounded-md border border-border bg-background p-2 text-[13px] text-foreground",
13103
13103
  rows: 3,
13104
- placeholder: (0, n.unref)(r)("pptx.comments.addCommentPlaceholder"),
13105
- "aria-label": (0, n.unref)(r)("pptx.comments.addComment"),
13106
- "onUpdate:mentions": o[2] || (o[2] = (e) => c.value = e)
13104
+ placeholder: (0, n.unref)(i)("pptx.comments.addCommentPlaceholder"),
13105
+ "aria-label": (0, n.unref)(i)("pptx.comments.addComment"),
13106
+ "onUpdate:mentions": a[2] || (a[2] = (e) => d.value = e)
13107
13107
  }, null, 8, [
13108
13108
  "modelValue",
13109
13109
  "mentions",
@@ -13114,9 +13114,9 @@ var Vx = { class: "pptx-comment-mention-input relative" }, Tx = [
13114
13114
  (0, n.createElementVNode)("button", {
13115
13115
  type: "submit",
13116
13116
  class: "pptx-comments-panel__submit cursor-pointer self-end rounded-md border-none bg-primary px-3.5 py-1.5 text-[13px] text-primary-foreground disabled:cursor-not-allowed disabled:opacity-50 max-md:min-h-[44px]!",
13117
- disabled: !m.value,
13117
+ disabled: !v.value,
13118
13118
  "data-testid": "add-comment"
13119
- }, (0, n.toDisplayString)((0, n.unref)(r)("pptx.comments.addComment")), 9, ay)
13119
+ }, (0, n.toDisplayString)((0, n.unref)(i)("pptx.comments.addComment")), 9, ay)
13120
13120
  ], 32)
13121
13121
  ], 8, Ix));
13122
13122
  }
@@ -24498,7 +24498,7 @@ var xU = (0, n.defineComponent)({
24498
24498
  var a;
24499
24499
  }), 128))])], 8, dH))), 128))])) : ((0, n.openBlock)(), (0, n.createElementBlock)("div", rH, [(0, n.createElementVNode)("p", iH, (0, n.toDisplayString)((0, n.unref)(i)("pptx.accessibility.noIssuesFound")), 1), (0, n.createElementVNode)("p", sH, (0, n.toDisplayString)((0, n.unref)(i)("pptx.accessibility.noIssuesHint")), 1)]))], 8, nH));
24500
24500
  }
24501
- }), hH = (0, n.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-DP6KnhTx.cjs"))), bH = { class: "pptx-vue-custom-shows flex flex-col gap-2 p-2.5 text-xs text-foreground" }, kH = { class: "pptx-vue-cs-header flex items-center" }, SH = { class: "pptx-vue-cs-title m-0 text-[13px] font-semibold" }, EH = { class: "pptx-vue-cs-list-row flex items-center gap-1.5" }, wH = ["aria-label", "value"], CH = {
24501
+ }), hH = (0, n.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-BJIBW-5_.cjs"))), bH = { class: "pptx-vue-custom-shows flex flex-col gap-2 p-2.5 text-xs text-foreground" }, kH = { class: "pptx-vue-cs-header flex items-center" }, SH = { class: "pptx-vue-cs-title m-0 text-[13px] font-semibold" }, EH = { class: "pptx-vue-cs-list-row flex items-center gap-1.5" }, wH = ["aria-label", "value"], CH = {
24502
24502
  key: 0,
24503
24503
  value: "",
24504
24504
  disabled: ""
Binary file
Binary file