pptx-vue-viewer 4.36.2 → 4.37.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.
- package/CHANGELOG.md +13 -0
- package/dist/{AiChatPanel-t6dL7YP4.js → AiChatPanel-C6b7B9gF.js} +2 -2
- package/dist/AiChatPanel-C6b7B9gF.js.br +0 -0
- package/dist/AiChatPanel-C6b7B9gF.js.gz +0 -0
- package/dist/{AiChatPanel-BeOTgP5C.cjs → AiChatPanel-Ctnnmz7J.cjs} +1 -1
- package/dist/AiChatPanel-Ctnnmz7J.cjs.br +0 -0
- package/dist/AiChatPanel-Ctnnmz7J.cjs.gz +0 -0
- package/dist/i18n/de.cjs +134 -8
- package/dist/i18n/de.cjs.br +0 -0
- package/dist/i18n/de.cjs.gz +0 -0
- package/dist/i18n/de.mjs +134 -8
- package/dist/i18n/de.mjs.br +0 -0
- package/dist/i18n/de.mjs.gz +0 -0
- package/dist/i18n/es.cjs +134 -8
- package/dist/i18n/es.cjs.br +0 -0
- package/dist/i18n/es.cjs.gz +0 -0
- package/dist/i18n/es.mjs +134 -8
- package/dist/i18n/es.mjs.br +0 -0
- package/dist/i18n/es.mjs.gz +0 -0
- package/dist/i18n/fr.cjs +134 -8
- package/dist/i18n/fr.cjs.br +0 -0
- package/dist/i18n/fr.cjs.gz +0 -0
- package/dist/i18n/fr.mjs +134 -8
- package/dist/i18n/fr.mjs.br +0 -0
- package/dist/i18n/fr.mjs.gz +0 -0
- package/dist/i18n/zh-CN.cjs +135 -9
- package/dist/i18n/zh-CN.cjs.br +0 -0
- package/dist/i18n/zh-CN.cjs.gz +0 -0
- package/dist/i18n/zh-CN.mjs +135 -9
- package/dist/i18n/zh-CN.mjs.br +0 -0
- package/dist/i18n/zh-CN.mjs.gz +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -2
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/internals.cjs +1 -1
- package/dist/internals.cjs.br +0 -0
- package/dist/internals.cjs.gz +0 -0
- package/dist/internals.d.ts +7 -0
- package/dist/internals.js +2 -2
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/pptx-vue-viewer.css +11 -11
- package/dist/pptx-vue-viewer.css.br +0 -0
- package/dist/pptx-vue-viewer.css.gz +0 -0
- package/dist/{useViewerSettingsDialog-TAbf4Ixp.cjs → useViewerSettingsDialog-Deo8WA7S.cjs} +459 -423
- package/dist/useViewerSettingsDialog-Deo8WA7S.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-Deo8WA7S.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-r1bUiLdb.js → useViewerSettingsDialog-fd8zrghi.js} +348 -317
- package/dist/useViewerSettingsDialog-fd8zrghi.js.br +0 -0
- package/dist/{useViewerSettingsDialog-r1bUiLdb.js.gz → useViewerSettingsDialog-fd8zrghi.js.gz} +0 -0
- package/dist/viewer/index.cjs +1 -1
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -0
- package/dist/viewer/index.d.ts +3 -0
- package/dist/viewer/index.js +3 -3
- package/dist/viewer/index.js.br +0 -0
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-CDJjPn4g.cjs → viewer-CGm4yC4h.cjs} +69 -37
- package/dist/viewer-CGm4yC4h.cjs.br +0 -0
- package/dist/viewer-CGm4yC4h.cjs.gz +0 -0
- package/dist/{viewer-SxxyChcY.js → viewer-nP5gJuGF.js} +9683 -9651
- package/dist/viewer-nP5gJuGF.js.br +0 -0
- package/dist/viewer-nP5gJuGF.js.gz +0 -0
- package/dist/{y-webrtc-KiXq-fxq.cjs → y-webrtc-DwByYfBA.cjs} +1 -1
- package/dist/y-webrtc-DwByYfBA.cjs.br +0 -0
- package/dist/y-webrtc-DwByYfBA.cjs.gz +0 -0
- package/dist/{y-webrtc-swexTCT2.js → y-webrtc-rRVx0xtd.js} +74 -74
- package/dist/y-webrtc-rRVx0xtd.js.br +0 -0
- package/dist/y-webrtc-rRVx0xtd.js.gz +0 -0
- package/package.json +3 -3
- package/dist/AiChatPanel-BeOTgP5C.cjs.br +0 -0
- package/dist/AiChatPanel-BeOTgP5C.cjs.gz +0 -0
- package/dist/AiChatPanel-t6dL7YP4.js.br +0 -0
- package/dist/AiChatPanel-t6dL7YP4.js.gz +0 -0
- package/dist/useViewerSettingsDialog-TAbf4Ixp.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-TAbf4Ixp.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-r1bUiLdb.js.br +0 -0
- package/dist/viewer-CDJjPn4g.cjs.br +0 -0
- package/dist/viewer-CDJjPn4g.cjs.gz +0 -0
- package/dist/viewer-SxxyChcY.js.br +0 -0
- package/dist/viewer-SxxyChcY.js.gz +0 -0
- package/dist/y-webrtc-KiXq-fxq.cjs.br +0 -0
- package/dist/y-webrtc-KiXq-fxq.cjs.gz +0 -0
- package/dist/y-webrtc-swexTCT2.js.br +0 -0
- package/dist/y-webrtc-swexTCT2.js.gz +0 -0
|
Binary file
|
package/dist/{useViewerSettingsDialog-r1bUiLdb.js.gz → useViewerSettingsDialog-fd8zrghi.js.gz}
RENAMED
|
Binary file
|
package/dist/viewer/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("../useViewerSettingsDialog-
|
|
2
|
+
const e = require("../useViewerSettingsDialog-Deo8WA7S.cjs"), t = require("../viewer-CGm4yC4h.cjs");
|
|
3
3
|
let r = require("ooxml-ui/pptx");
|
|
4
4
|
Object.defineProperty(exports, "AUDIENCE_HASH", {
|
|
5
5
|
enumerable: !0,
|
package/dist/viewer/index.cjs.br
CHANGED
|
Binary file
|
package/dist/viewer/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/viewer/index.d.ts
CHANGED
|
@@ -81,6 +81,7 @@ import { PptxThemeOption } from 'ooxml-core/pptx';
|
|
|
81
81
|
import { PptxViewProperties } from 'ooxml-core/pptx';
|
|
82
82
|
import { PublicProps } from 'vue';
|
|
83
83
|
import { Ref } from 'vue';
|
|
84
|
+
import { ReviewCommentsHost } from 'ooxml-ui/pptx';
|
|
84
85
|
import { RibbonAddInTab } from 'ooxml-ui/pptx';
|
|
85
86
|
import { RibbonContextualTabId } from 'ooxml-ui/pptx';
|
|
86
87
|
import { RulerUnit } from 'ooxml-ui/pptx';
|
|
@@ -1579,6 +1580,8 @@ export declare interface RibbonProps {
|
|
|
1579
1580
|
isThemeGalleryOpen: boolean;
|
|
1580
1581
|
isCommentsPanelOpen?: boolean;
|
|
1581
1582
|
slideCommentCount?: number;
|
|
1583
|
+
/** Review > Comments Previous / Next / Delete over the whole deck. */
|
|
1584
|
+
reviewComments?: ReviewCommentsHost;
|
|
1582
1585
|
formatPainterActive?: boolean;
|
|
1583
1586
|
canActivateFormatPainter?: boolean;
|
|
1584
1587
|
isSelectionPaneOpen?: boolean;
|
package/dist/viewer/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as a, Ar as s, Bn as r, C as e, Dr as o,
|
|
2
|
-
import { C as h, S as k, _ as B, a as
|
|
3
|
-
export {
|
|
1
|
+
import { $ as a, Ar as s, Bn as r, C as e, Dr as o, Fr as n, Hn as t, Kn as l, L as i, M as d, Mr as R, N as S, Nr as m, Or as b, P as C, Pr as w, S as u, Vn as c, X as p, Yn as v, Z as f, br as g, fr as j, j as x, jr as y, kr as M, lr as O, lt as P, pr as T, rr as A, ur as D, w as E, x as I, yr as V } from "../useViewerSettingsDialog-fd8zrghi.js";
|
|
2
|
+
import { C as h, S as k, _ as B, a as F, b as N, c as Z, d as q, f as H, g as K, h as L, i as W, m as X, n as Y, o as $, p as _, r as z, s as G, t as J, u as Q, v as U, w as aa, y as sa } from "../viewer-nP5gJuGF.js";
|
|
3
|
+
export { q as AUDIENCE_HASH, g as ChartRenderer, U as CollaborationCursors, aa as CollaborationStatusIndicator, V as ConnectorRenderer, y as DEFAULT_CANVAS_HEIGHT, R as DEFAULT_CANVAS_WIDTH, m as DEFAULT_FILL_COLOR, w as DEFAULT_STROKE_COLOR, n as DEFAULT_TEXT_COLOR, c as ElementRenderer, T as EquationRenderer, Q as FollowModeBar, j as InkRenderer, h as InlineTextEditor, D as Model3DRenderer, O as OleRenderer, Z as PowerPointViewer, B as RemoteSelectionOverlay, N as RibbonToolbar, k as SelectionOverlay, sa as SlideCanvas, r as SlideStage, A as SmartArtRenderer, v as TableRenderer, l as WordArtText, t as ZoomRenderer, d as buildInitialGuides, H as clearAudienceContent, S as collectImagePaths, C as collectMediaElements, I as exportAllSlidesToSvg, u as exportAllSlidesToSvgBlobs, e as exportSlideToSvg, E as exportSlideToSvgBlob, o as getContainerStyle, b as getImageSrc, Y as getResolvedShapeClipPath, z as getResolvedShapeClipPathFor, M as getShapeFillStrokeStyle, s as getTextBlockStyle, _ as isAudienceTab, X as loadAudienceContent, J as overlayInlineTextSnapshot, L as parseAudienceNonce, K as storeAudienceContent, P as useCollaboration, W as useCollaborativeHistory, F as useCollaborativeState, a as useEditorHistory, f as useEditorOperations, p as useElementDrag, i as useInlineEditing, x as useLoadContent, $ as usePresenceTracking, G as useYjsProvider };
|
package/dist/viewer/index.js.br
CHANGED
|
Binary file
|
package/dist/viewer/index.js.gz
CHANGED
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./useViewerSettingsDialog-
|
|
1
|
+
const e = require("./useViewerSettingsDialog-Deo8WA7S.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");
|
|
@@ -2129,7 +2129,7 @@ var Pn = [".state"], In = (0, n.defineComponent)({
|
|
|
2129
2129
|
onDrawRequest: i
|
|
2130
2130
|
}, null, 40, Pn));
|
|
2131
2131
|
}
|
|
2132
|
-
}), _n = "4.
|
|
2132
|
+
}), _n = "4.37.0", An = Symbol("pptx-account-auth");
|
|
2133
2133
|
var zn = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, Mn = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, On = { class: "text-base font-semibold" }, Rn = { class: "mt-4 flex items-center gap-4" }, Ln = { class: "min-w-0 flex-1" }, Un = { class: "block text-xs font-medium text-muted-foreground" }, Hn = ["value", "placeholder"], Kn = { class: "mt-4" }, Gn = { class: "block text-xs font-medium text-muted-foreground" }, $n = { class: "mt-2 flex gap-2" }, jn = [
|
|
2134
2134
|
"aria-pressed",
|
|
2135
2135
|
"aria-label",
|
|
@@ -3141,23 +3141,46 @@ var va = { class: "rounded-lg border border-border bg-popover shadow-2xl p-4 w-7
|
|
|
3141
3141
|
onToggleComments: { type: Function },
|
|
3142
3142
|
isCommentsPanelOpen: { type: Boolean },
|
|
3143
3143
|
slideCommentCount: {},
|
|
3144
|
+
commentsHost: {},
|
|
3144
3145
|
onCompare: { type: Function },
|
|
3145
3146
|
onOpenAccessibilityCheck: { type: Function },
|
|
3146
3147
|
onSetLanguage: { type: Function }
|
|
3147
3148
|
},
|
|
3148
3149
|
setup(o) {
|
|
3149
|
-
const a = o, { t: l } = e.useI18n(), r = (0, n.
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3150
|
+
const a = o, { t: l } = e.useI18n(), r = (0, n.ref)(null);
|
|
3151
|
+
let i;
|
|
3152
|
+
(0, n.onMounted)(() => {
|
|
3153
|
+
i = (0, t.trackActiveComment)(document, (e) => {
|
|
3154
|
+
r.value = e;
|
|
3155
|
+
});
|
|
3156
|
+
}), (0, n.onBeforeUnmount)(() => i?.());
|
|
3157
|
+
const s = (0, n.computed)(() => {
|
|
3158
|
+
const e = a.commentsHost, n = e?.slides() ?? [], o = (0, t.commentCounts)(n, e?.currentSlide() ?? 0);
|
|
3159
|
+
return (0, t.buildReviewRibbon)(l, {
|
|
3160
|
+
editable: a.canEdit,
|
|
3161
|
+
spellCheck: a.spellCheckEnabled,
|
|
3162
|
+
canAccessibility: Boolean(a.onOpenAccessibilityCheck),
|
|
3163
|
+
canLanguage: Boolean(a.onSetLanguage),
|
|
3164
|
+
canCompare: Boolean(a.onCompare),
|
|
3165
|
+
canComments: Boolean(a.onToggleComments),
|
|
3166
|
+
commentsOpen: a.isCommentsPanelOpen,
|
|
3167
|
+
commentCount: a.slideCommentCount,
|
|
3168
|
+
totalCommentCount: o.total,
|
|
3169
|
+
canNavigateComments: Boolean(e),
|
|
3170
|
+
hasActiveComment: null !== (0, t.findCommentLocation)(n, r.value)
|
|
3171
|
+
});
|
|
3172
|
+
});
|
|
3173
|
+
function c(e) {
|
|
3174
|
+
const n = e.detail.id;
|
|
3175
|
+
if ((0, t.isReviewCommentCommand)(n)) {
|
|
3176
|
+
const e = "review.comments.previous" === n || "review.comments.next" === n;
|
|
3177
|
+
if (a.commentsHost && (e || a.canEdit)) {
|
|
3178
|
+
const e = (0, t.runReviewCommentCommand)(n, a.commentsHost, r.value);
|
|
3179
|
+
void 0 !== e && (r.value = e);
|
|
3180
|
+
}
|
|
3181
|
+
return;
|
|
3182
|
+
}
|
|
3183
|
+
switch (n) {
|
|
3161
3184
|
case "review.proofing.spelling":
|
|
3162
3185
|
a.onSetSpellCheckEnabled(!a.spellCheckEnabled);
|
|
3163
3186
|
break;
|
|
@@ -3175,8 +3198,8 @@ var va = { class: "rounded-lg border border-border bg-popover shadow-2xl p-4 w-7
|
|
|
3175
3198
|
}
|
|
3176
3199
|
}
|
|
3177
3200
|
return (e, t) => ((0, n.openBlock)(), (0, n.createElementBlock)("pptx-ui-ribbon-section", {
|
|
3178
|
-
".groups":
|
|
3179
|
-
onCommandRequest:
|
|
3201
|
+
".groups": s.value,
|
|
3202
|
+
onCommandRequest: c
|
|
3180
3203
|
}, null, 40, Ca));
|
|
3181
3204
|
}
|
|
3182
3205
|
}), Na = /* @__PURE__ */ new WeakMap();
|
|
@@ -3949,6 +3972,7 @@ var nl = [".state"], ol = (0, n.defineComponent)({
|
|
|
3949
3972
|
isThemeGalleryOpen: { type: Boolean },
|
|
3950
3973
|
isCommentsPanelOpen: { type: Boolean },
|
|
3951
3974
|
slideCommentCount: {},
|
|
3975
|
+
reviewComments: {},
|
|
3952
3976
|
formatPainterActive: { type: Boolean },
|
|
3953
3977
|
canActivateFormatPainter: { type: Boolean },
|
|
3954
3978
|
isSelectionPaneOpen: { type: Boolean },
|
|
@@ -4347,6 +4371,7 @@ var nl = [".state"], ol = (0, n.defineComponent)({
|
|
|
4347
4371
|
"on-toggle-comments": l.onToggleComments,
|
|
4348
4372
|
"is-comments-panel-open": l.isCommentsPanelOpen,
|
|
4349
4373
|
"slide-comment-count": l.slideCommentCount,
|
|
4374
|
+
"comments-host": l.reviewComments,
|
|
4350
4375
|
"on-compare": l.onCompare,
|
|
4351
4376
|
"on-set-language": l.onOpenSettings,
|
|
4352
4377
|
"on-open-accessibility-check": l.onRunAccessibilityCheck
|
|
@@ -4357,6 +4382,7 @@ var nl = [".state"], ol = (0, n.defineComponent)({
|
|
|
4357
4382
|
"on-toggle-comments",
|
|
4358
4383
|
"is-comments-panel-open",
|
|
4359
4384
|
"slide-comment-count",
|
|
4385
|
+
"comments-host",
|
|
4360
4386
|
"on-compare",
|
|
4361
4387
|
"on-set-language",
|
|
4362
4388
|
"on-open-accessibility-check"
|
|
@@ -4522,6 +4548,7 @@ var nl = [".state"], ol = (0, n.defineComponent)({
|
|
|
4522
4548
|
isThemeGalleryOpen: { type: Boolean },
|
|
4523
4549
|
isCommentsPanelOpen: { type: Boolean },
|
|
4524
4550
|
slideCommentCount: {},
|
|
4551
|
+
reviewComments: {},
|
|
4525
4552
|
formatPainterActive: { type: Boolean },
|
|
4526
4553
|
canActivateFormatPainter: { type: Boolean },
|
|
4527
4554
|
isSelectionPaneOpen: { type: Boolean },
|
|
@@ -5372,6 +5399,7 @@ var Gl = {
|
|
|
5372
5399
|
isThemeGalleryOpen: { type: Boolean },
|
|
5373
5400
|
isCommentsPanelOpen: { type: Boolean },
|
|
5374
5401
|
slideCommentCount: {},
|
|
5402
|
+
reviewComments: {},
|
|
5375
5403
|
formatPainterActive: { type: Boolean },
|
|
5376
5404
|
canActivateFormatPainter: { type: Boolean },
|
|
5377
5405
|
isSelectionPaneOpen: { type: Boolean },
|
|
@@ -5545,6 +5573,7 @@ var Gl = {
|
|
|
5545
5573
|
"on-toggle-comments": t.onToggleComments,
|
|
5546
5574
|
"is-comments-panel-open": t.isCommentsPanelOpen,
|
|
5547
5575
|
"slide-comment-count": t.slideCommentCount,
|
|
5576
|
+
"comments-host": t.reviewComments,
|
|
5548
5577
|
"on-compare": t.onCompare,
|
|
5549
5578
|
"on-set-language": t.onOpenSettings,
|
|
5550
5579
|
"on-open-accessibility-check": t.onRunAccessibilityCheck
|
|
@@ -5555,6 +5584,7 @@ var Gl = {
|
|
|
5555
5584
|
"on-toggle-comments",
|
|
5556
5585
|
"is-comments-panel-open",
|
|
5557
5586
|
"slide-comment-count",
|
|
5587
|
+
"comments-host",
|
|
5558
5588
|
"on-compare",
|
|
5559
5589
|
"on-set-language",
|
|
5560
5590
|
"on-open-accessibility-check"
|
|
@@ -5818,6 +5848,7 @@ var Gl = {
|
|
|
5818
5848
|
isThemeGalleryOpen: { type: Boolean },
|
|
5819
5849
|
isCommentsPanelOpen: { type: Boolean },
|
|
5820
5850
|
slideCommentCount: {},
|
|
5851
|
+
reviewComments: {},
|
|
5821
5852
|
formatPainterActive: { type: Boolean },
|
|
5822
5853
|
canActivateFormatPainter: { type: Boolean },
|
|
5823
5854
|
isSelectionPaneOpen: { type: Boolean },
|
|
@@ -6049,6 +6080,7 @@ var Gl = {
|
|
|
6049
6080
|
isThemeGalleryOpen: { type: Boolean },
|
|
6050
6081
|
isCommentsPanelOpen: { type: Boolean },
|
|
6051
6082
|
slideCommentCount: {},
|
|
6083
|
+
reviewComments: {},
|
|
6052
6084
|
formatPainterActive: { type: Boolean },
|
|
6053
6085
|
canActivateFormatPainter: { type: Boolean },
|
|
6054
6086
|
isSelectionPaneOpen: { type: Boolean },
|
|
@@ -6310,6 +6342,7 @@ var Gl = {
|
|
|
6310
6342
|
isThemeGalleryOpen: { type: Boolean },
|
|
6311
6343
|
isCommentsPanelOpen: { type: Boolean },
|
|
6312
6344
|
slideCommentCount: {},
|
|
6345
|
+
reviewComments: {},
|
|
6313
6346
|
formatPainterActive: { type: Boolean },
|
|
6314
6347
|
canActivateFormatPainter: { type: Boolean },
|
|
6315
6348
|
isSelectionPaneOpen: { type: Boolean },
|
|
@@ -16449,26 +16482,26 @@ var Ly = {
|
|
|
16449
16482
|
__name: "QuickStylesGallery",
|
|
16450
16483
|
emits: ["select"],
|
|
16451
16484
|
setup(o) {
|
|
16452
|
-
const { t: a } = e.useI18n(), { viewportWidth:
|
|
16453
|
-
function
|
|
16485
|
+
const { t: a } = e.useI18n(), l = (e) => (0, t.shapeQuickStyleLabel)(t.SHAPE_QUICK_STYLES[e], (e) => a(e)), { viewportWidth: r } = e.useIsMobile(), i = (0, n.computed)(() => `${(0, t.getDensePanelTouchTargetPx)(r.value)}px`);
|
|
16486
|
+
function s(e) {
|
|
16454
16487
|
if (!e.shadowColor) return;
|
|
16455
16488
|
return `${e.shadowOffsetX ?? 2}px ${e.shadowOffsetY ?? 2}px ${e.shadowBlur ?? 4}px ${e.shadowColor}`;
|
|
16456
16489
|
}
|
|
16457
|
-
function
|
|
16490
|
+
function c(e) {
|
|
16458
16491
|
if (e.strokeColor) return `${e.strokeWidth ?? 1}px solid ${e.strokeColor}`;
|
|
16459
16492
|
}
|
|
16460
16493
|
return (e, o) => ((0, n.openBlock)(), (0, n.createElementBlock)("div", WV, [(0, n.createElementVNode)("span", qV, (0, n.toDisplayString)((0, n.unref)(a)("pptx.shape.quickStyles")), 1), (0, n.createElementVNode)("div", YV, [((0, n.openBlock)(!0), (0, n.createElementBlock)(n.Fragment, null, (0, n.renderList)((0, n.unref)(t.SHAPE_QUICK_STYLES), (t, o) => {
|
|
16461
16494
|
return (0, n.openBlock)(), (0, n.createElementBlock)("button", {
|
|
16462
16495
|
key: o,
|
|
16463
16496
|
type: "button",
|
|
16464
|
-
title:
|
|
16465
|
-
"aria-label":
|
|
16497
|
+
title: l(o),
|
|
16498
|
+
"aria-label": l(o),
|
|
16466
16499
|
class: "pptx-vue-quickstyles-swatch w-full rounded border border-border hover:border-primary transition-colors",
|
|
16467
16500
|
style: (0, n.normalizeStyle)({
|
|
16468
16501
|
background: (a = t.style, a.fillGradient || a.fillColor || "transparent"),
|
|
16469
|
-
boxShadow:
|
|
16470
|
-
border:
|
|
16471
|
-
minHeight:
|
|
16502
|
+
boxShadow: s(t.style),
|
|
16503
|
+
border: c(t.style),
|
|
16504
|
+
minHeight: i.value
|
|
16472
16505
|
}),
|
|
16473
16506
|
onClick: (n) => e.$emit("select", t.style)
|
|
16474
16507
|
}, null, 12, XV);
|
|
@@ -16566,7 +16599,7 @@ var Ly = {
|
|
|
16566
16599
|
},
|
|
16567
16600
|
emits: ["pick"],
|
|
16568
16601
|
setup(o, { emit: a }) {
|
|
16569
|
-
const l = o, r = a, { t: i } = e.useI18n(), s = el(), c = (0, n.computed)(() => (0, t.buildThemeColorSwatchGrid)(s?.value)), d = (0, n.computed)(() => (0, t.themeColorSwatchRows)(c.value)), p = (0, n.computed)(() => (0, t.findSelectedThemeSwatch)(c.value, l.selectedRef, l.selectedHex));
|
|
16602
|
+
const l = o, r = a, { t: i } = e.useI18n(), s = el(), c = (0, n.computed)(() => (0, t.buildThemeColorSwatchGrid)(s?.value, (e, t) => t ? i(e, { ...t }) : i(e))), d = (0, n.computed)(() => (0, t.themeColorSwatchRows)(c.value)), p = (0, n.computed)(() => (0, t.findSelectedThemeSwatch)(c.value, l.selectedRef, l.selectedHex));
|
|
16570
16603
|
return (e, a) => c.value.length > 0 ? ((0, n.openBlock)(), (0, n.createElementBlock)("div", cT, [(0, n.createElementVNode)("div", dT, (0, n.toDisplayString)((0, n.unref)(i)("pptx.colorPicker.themeColors")), 1), (0, n.createElementVNode)("div", pT, [((0, n.openBlock)(!0), (0, n.createElementBlock)(n.Fragment, null, (0, n.renderList)(d.value, (e, a) => ((0, n.openBlock)(), (0, n.createElementBlock)("div", {
|
|
16571
16604
|
key: a,
|
|
16572
16605
|
class: "flex gap-0.5"
|
|
@@ -24460,7 +24493,7 @@ var WK = (0, n.defineComponent)({
|
|
|
24460
24493
|
var a;
|
|
24461
24494
|
}), 128))])], 8, LG))), 128))])) : ((0, n.openBlock)(), (0, n.createElementBlock)("div", zG, [(0, n.createElementVNode)("p", MG, (0, n.toDisplayString)((0, n.unref)(i)("pptx.accessibility.noIssuesFound")), 1), (0, n.createElementVNode)("p", OG, (0, n.toDisplayString)((0, n.unref)(i)("pptx.accessibility.noIssuesHint")), 1)]))], 8, PG));
|
|
24462
24495
|
}
|
|
24463
|
-
}), YG = (0, n.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-
|
|
24496
|
+
}), YG = (0, n.defineAsyncComponent)(() => Promise.resolve().then(() => require("./AiChatPanel-Ctnnmz7J.cjs"))), XG = { class: "pptx-vue-custom-shows flex flex-col gap-2 p-2.5 text-xs text-foreground" }, ZG = { class: "pptx-vue-cs-header flex items-center" }, QG = { class: "pptx-vue-cs-title m-0 text-[13px] font-semibold" }, JG = { class: "pptx-vue-cs-list-row flex items-center gap-1.5" }, e$ = ["aria-label", "value"], t$ = {
|
|
24464
24497
|
key: 0,
|
|
24465
24498
|
value: "",
|
|
24466
24499
|
disabled: ""
|
|
@@ -26256,11 +26289,7 @@ var Nj = ["aria-busy", "tabindex"], Vj = {
|
|
|
26256
26289
|
}
|
|
26257
26290
|
};
|
|
26258
26291
|
}({ warnings: j });
|
|
26259
|
-
(0, n.provide)(e.TableThemeKey, () => (
|
|
26260
|
-
colorScheme: ie.value?.colorScheme,
|
|
26261
|
-
tableStyleMap: X.value,
|
|
26262
|
-
fontScheme: ie.value?.fontScheme
|
|
26263
|
-
}));
|
|
26292
|
+
(0, n.provide)(e.TableThemeKey, () => e.tableThemeContextFor(ie.value, X.value));
|
|
26264
26293
|
const he = function(e) {
|
|
26265
26294
|
const o = (0, n.ref)((0, t.seedRecentColors)(e.presentationProperties.value));
|
|
26266
26295
|
return e.loadVersion && (0, n.watch)(e.loadVersion, () => {
|
|
@@ -27591,17 +27620,18 @@ var Nj = ["aria-busy", "tabindex"], Vj = {
|
|
|
27591
27620
|
n && _o.applyTheme(n, e.fontScheme ?? t?.fontScheme, e.name ?? t?.name ?? "Theme");
|
|
27592
27621
|
}
|
|
27593
27622
|
(function(e) {
|
|
27594
|
-
const
|
|
27595
|
-
const
|
|
27623
|
+
const o = (0, n.computed)(() => {
|
|
27624
|
+
const n = e.handler.value;
|
|
27596
27625
|
return {
|
|
27597
27626
|
element: e.selectedElement(),
|
|
27598
27627
|
theme: e.theme.value,
|
|
27599
27628
|
themeColorMap: e.themeColorMap.value,
|
|
27600
|
-
resolveStyleMatrix:
|
|
27629
|
+
resolveStyleMatrix: n ? (e) => n.resolveStyleMatrixReferences(e) : void 0,
|
|
27630
|
+
selectedTableCells: (0, t.tableLayoutCells)(e.tableSelection?.())
|
|
27601
27631
|
};
|
|
27602
|
-
}),
|
|
27632
|
+
}), a = {
|
|
27603
27633
|
editable: (0, n.computed)(e.editable),
|
|
27604
|
-
context:
|
|
27634
|
+
context: o,
|
|
27605
27635
|
dispatch: (t) => function(e, t) {
|
|
27606
27636
|
switch (e.kind) {
|
|
27607
27637
|
case "element":
|
|
@@ -27614,13 +27644,14 @@ var Nj = ["aria-busy", "tabindex"], Vj = {
|
|
|
27614
27644
|
}
|
|
27615
27645
|
}(t, e)
|
|
27616
27646
|
};
|
|
27617
|
-
(0, n.provide)(Sn,
|
|
27647
|
+
(0, n.provide)(Sn, a);
|
|
27618
27648
|
})({
|
|
27619
27649
|
editable: () => xe.value,
|
|
27620
27650
|
selectedElement: () => Le.value[0] ?? null,
|
|
27621
27651
|
theme: ie,
|
|
27622
27652
|
themeColorMap: se,
|
|
27623
27653
|
handler: ce,
|
|
27654
|
+
tableSelection: () => ke.value,
|
|
27624
27655
|
updateElement: (e, t) => Ge.updateElement(e, t),
|
|
27625
27656
|
applyTheme: Ao
|
|
27626
27657
|
});
|
|
@@ -27865,6 +27896,7 @@ var Nj = ["aria-busy", "tabindex"], Vj = {
|
|
|
27865
27896
|
eyedropperActive: Oo.ui.eyedropperActive,
|
|
27866
27897
|
showComments: Oo.comments.showComments,
|
|
27867
27898
|
activeComments: Oo.comments.activeComments,
|
|
27899
|
+
reviewComments: Oo.comments.reviewHost,
|
|
27868
27900
|
formatPainterActive: Oo.editing.formatPainterActive,
|
|
27869
27901
|
canActivateFormatPainter: Oo.editing.canActivateFormatPainter,
|
|
27870
27902
|
showSelectionPane: Oo.selectionPane.showSelectionPane,
|
|
Binary file
|
|
Binary file
|