pptx-vue-viewer 4.64.0 → 4.65.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 +44 -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 +2 -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 +2 -4
- package/dist/internals.js +1 -1
- package/dist/internals.js.br +0 -0
- package/dist/internals.js.gz +0 -0
- package/dist/pptx-vue-viewer.css +46 -37
- package/dist/pptx-vue-viewer.css.br +0 -0
- package/dist/pptx-vue-viewer.css.gz +0 -0
- package/dist/{useViewerSettingsDialog-D2C68gva.cjs → useViewerSettingsDialog-CuiWscv-.cjs} +2102 -2175
- package/dist/useViewerSettingsDialog-CuiWscv-.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-CuiWscv-.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-DQ-7sQiE.js → useViewerSettingsDialog-D5C2Wbjw.js} +2049 -2122
- package/dist/useViewerSettingsDialog-D5C2Wbjw.js.br +0 -0
- package/dist/useViewerSettingsDialog-D5C2Wbjw.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 +2 -0
- package/dist/viewer/index.js +2 -2
- package/dist/viewer/index.js.br +6 -5
- package/dist/viewer/index.js.gz +0 -0
- package/dist/{viewer-Ct-iuQ5z.js → viewer-DQPBgO7l.js} +6314 -6311
- package/dist/viewer-DQPBgO7l.js.br +0 -0
- package/dist/viewer-DQPBgO7l.js.gz +0 -0
- package/dist/{viewer-CyKE_1FR.cjs → viewer-q1mZieZF.cjs} +178 -175
- package/dist/viewer-q1mZieZF.cjs.br +0 -0
- package/dist/viewer-q1mZieZF.cjs.gz +0 -0
- package/dist/{y-webrtc-J37L1eue.cjs → y-webrtc-CTBB9Ok0.cjs} +1 -1
- package/dist/y-webrtc-CTBB9Ok0.cjs.br +0 -0
- package/dist/y-webrtc-CTBB9Ok0.cjs.gz +0 -0
- package/dist/{y-webrtc-DFA3NALq.js → y-webrtc-CpZkvep1.js} +1 -1
- package/dist/y-webrtc-CpZkvep1.js.br +0 -0
- package/dist/y-webrtc-CpZkvep1.js.gz +0 -0
- package/package.json +3 -3
- package/dist/useViewerSettingsDialog-D2C68gva.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-D2C68gva.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-DQ-7sQiE.js.br +0 -0
- package/dist/useViewerSettingsDialog-DQ-7sQiE.js.gz +0 -0
- package/dist/viewer-Ct-iuQ5z.js.br +0 -0
- package/dist/viewer-Ct-iuQ5z.js.gz +0 -0
- package/dist/viewer-CyKE_1FR.cjs.br +0 -0
- package/dist/viewer-CyKE_1FR.cjs.gz +0 -0
- package/dist/y-webrtc-DFA3NALq.js.br +0 -0
- package/dist/y-webrtc-DFA3NALq.js.gz +0 -0
- package/dist/y-webrtc-J37L1eue.cjs.br +0 -0
- package/dist/y-webrtc-J37L1eue.cjs.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e = require("./useViewerSettingsDialog-
|
|
1
|
+
const e = require("./useViewerSettingsDialog-CuiWscv-.cjs"), t = require("./useController-CYBNpWy-.cjs"), n = require("./ai-8VTpsXre.cjs"), o = require("./useAiPanelController-aOhIHxkq.cjs");
|
|
2
2
|
require("./i18n.cjs");
|
|
3
3
|
let a = require("ooxml-ui/pptx"), l = require("vue"), r = require("lucide-vue-next"), i = require("ooxml-ui/pptx/ai/host"), s = require("ooxml-ui/pptx/i18n");
|
|
4
4
|
var c = Symbol("pptx-viewer-theme");
|
|
@@ -2874,7 +2874,7 @@ var so = Symbol("pptx-viewer-storage");
|
|
|
2874
2874
|
function co() {
|
|
2875
2875
|
return (0, l.inject)(so, () => {});
|
|
2876
2876
|
}
|
|
2877
|
-
var po = "4.
|
|
2877
|
+
var po = "4.65.0", uo = Symbol("pptx-account-auth");
|
|
2878
2878
|
var mo = { class: "pptx-vue-account mt-8 flex max-w-[760px] flex-col gap-6" }, vo = { class: "pptx-vue-account-section border border-border bg-card p-6 text-card-foreground" }, go = { class: "text-base font-semibold" }, fo = { class: "mt-4 flex items-center gap-4" }, xo = { class: "min-w-0 flex-1" }, yo = { class: "block text-xs font-medium text-muted-foreground" }, ho = ["value", "placeholder"], bo = { class: "mt-4" }, ko = { class: "block text-xs font-medium text-muted-foreground" }, So = { class: "mt-2 flex gap-2" }, Eo = [
|
|
2879
2879
|
"aria-pressed",
|
|
2880
2880
|
"aria-label",
|
|
@@ -27756,22 +27756,25 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27756
27756
|
function Xo() {
|
|
27757
27757
|
(0, a.clearAutosaveSnapshots)(N.value.storage).catch(() => {});
|
|
27758
27758
|
}
|
|
27759
|
-
|
|
27759
|
+
let Zo;
|
|
27760
|
+
function Qo() {
|
|
27760
27761
|
(0, a.shouldClearAutosaveCacheOnClose)(M.value) && Xo();
|
|
27761
27762
|
}
|
|
27762
27763
|
(0, l.watch)(() => $n.isDirty.value, (e) => h("dirty-change", e), { immediate: !0 }), (0, l.watch)(jn, (e) => h("autosave-toggle", e)), (0, l.watch)(() => (0, a.autosaveStatusKind)($n.status.value), (e) => h("autosave-status", e)), (0, l.watch)(() => ao.collab.status.value, (e) => h("collaboration-status", e)), (0, l.onMounted)(() => {
|
|
27764
|
+
Zo = (0, a.installSvgIdScope)();
|
|
27765
|
+
}), (0, l.onBeforeUnmount)(() => Zo?.()), (0, l.onMounted)(() => {
|
|
27763
27766
|
(0, a.pruneExpiredAutosaveSnapshots)(M.value, N.value.storage).catch(() => {});
|
|
27764
|
-
}), "undefined" != typeof window && window.addEventListener("beforeunload",
|
|
27765
|
-
"undefined" != typeof window && window.removeEventListener("beforeunload",
|
|
27767
|
+
}), "undefined" != typeof window && window.addEventListener("beforeunload", Qo), (0, l.onBeforeUnmount)(() => {
|
|
27768
|
+
"undefined" != typeof window && window.removeEventListener("beforeunload", Qo), Qo();
|
|
27766
27769
|
});
|
|
27767
|
-
const { drawingActive:
|
|
27770
|
+
const { drawingActive: Jo, addInkStroke: ea, eraseInkAt: ta } = e.useInkDrawing({
|
|
27768
27771
|
canEdit: () => De.value,
|
|
27769
27772
|
presenting: Ut.presenting,
|
|
27770
27773
|
activeTool: En,
|
|
27771
27774
|
activeSlide: Re,
|
|
27772
27775
|
selectedElementIds: Qe,
|
|
27773
27776
|
ops: it
|
|
27774
|
-
}),
|
|
27777
|
+
}), na = e.useThemeEditing({
|
|
27775
27778
|
handler: Ce,
|
|
27776
27779
|
slides: Z,
|
|
27777
27780
|
pptxTheme: Se,
|
|
@@ -27782,8 +27785,8 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27782
27785
|
templateElementsBySlideId: Q,
|
|
27783
27786
|
loadedThemeName: lt
|
|
27784
27787
|
});
|
|
27785
|
-
function
|
|
27786
|
-
|
|
27788
|
+
function oa(e) {
|
|
27789
|
+
na.applyThemeUpdates(e);
|
|
27787
27790
|
}
|
|
27788
27791
|
Wn({
|
|
27789
27792
|
deckStyle: function(e) {
|
|
@@ -27829,9 +27832,9 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27829
27832
|
handler: Ce,
|
|
27830
27833
|
tableSelection: () => ze.value,
|
|
27831
27834
|
updateElement: (e, t) => it.updateElement(e, t),
|
|
27832
|
-
applyTheme:
|
|
27835
|
+
applyTheme: oa
|
|
27833
27836
|
});
|
|
27834
|
-
const
|
|
27837
|
+
const aa = function(e) {
|
|
27835
27838
|
return (0, i.createPptxAiBridge)({
|
|
27836
27839
|
getSlides: () => e.slides.value,
|
|
27837
27840
|
getActiveSlideIndex: () => e.activeSlideIndex.value,
|
|
@@ -27928,11 +27931,11 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
27928
27931
|
setSelection: (e) => {
|
|
27929
27932
|
Qe.value = e;
|
|
27930
27933
|
},
|
|
27931
|
-
applyThemeUpdates:
|
|
27934
|
+
applyThemeUpdates: oa,
|
|
27932
27935
|
selectedElementIds: () => Qe.value,
|
|
27933
27936
|
pinnedFocus: () => mt.pinnedFocus.value,
|
|
27934
27937
|
pickedFocus: () => mt.pickTargets.value
|
|
27935
|
-
}),
|
|
27938
|
+
}), la = (ra = {
|
|
27936
27939
|
canEdit: () => De.value,
|
|
27937
27940
|
isMobile: Bo,
|
|
27938
27941
|
zoom: Ge,
|
|
@@ -28027,144 +28030,144 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28027
28030
|
n && yo.compareWithSlides(n.slides);
|
|
28028
28031
|
}
|
|
28029
28032
|
}, e.useRibbonProps({
|
|
28030
|
-
ribbonMode:
|
|
28031
|
-
canEdit:
|
|
28032
|
-
isMobile:
|
|
28033
|
-
sidebarCollapsed:
|
|
28034
|
-
inspectorOpen:
|
|
28035
|
-
ribbonExpanded:
|
|
28036
|
-
toolbarSection:
|
|
28037
|
-
zoom:
|
|
28038
|
-
canUndo:
|
|
28039
|
-
canRedo:
|
|
28040
|
-
findOpen:
|
|
28041
|
-
selectedElements:
|
|
28042
|
-
activeTableSelection:
|
|
28043
|
-
editTemplateMode:
|
|
28044
|
-
newShapeType:
|
|
28045
|
-
activeTool:
|
|
28046
|
-
drawingColor:
|
|
28047
|
-
drawingWidth:
|
|
28048
|
-
clipboard:
|
|
28049
|
-
spellCheckEnabled:
|
|
28050
|
-
showGrid:
|
|
28051
|
-
showRulers:
|
|
28052
|
-
showGuides:
|
|
28053
|
-
snapToGrid:
|
|
28054
|
-
snapToShape:
|
|
28055
|
-
overflowOpen:
|
|
28056
|
-
layoutOptions:
|
|
28057
|
-
embeddedFontFamilies:
|
|
28058
|
-
customFontFamilies:
|
|
28059
|
-
theme:
|
|
28060
|
-
customShows:
|
|
28061
|
-
activeCustomShowId:
|
|
28062
|
-
isCurrentSlideInActiveShow:
|
|
28063
|
-
themeEditorOpen:
|
|
28064
|
-
themeGalleryOpen:
|
|
28065
|
-
eyedropperActive:
|
|
28066
|
-
showComments:
|
|
28067
|
-
activeComments:
|
|
28068
|
-
reviewComments:
|
|
28069
|
-
formatPainterActive:
|
|
28070
|
-
canActivateFormatPainter:
|
|
28071
|
-
showSelectionPane:
|
|
28072
|
-
showSubtitles:
|
|
28073
|
-
activeSlide:
|
|
28074
|
-
activeSlideIndex:
|
|
28075
|
-
toggleSlideHidden:
|
|
28076
|
-
presentationProperties:
|
|
28077
|
-
presenting:
|
|
28078
|
-
canDistribute:
|
|
28079
|
-
shareOpen:
|
|
28080
|
-
showShortcuts:
|
|
28081
|
-
showSettings:
|
|
28082
|
-
showHeaderFooter:
|
|
28083
|
-
showA11y:
|
|
28084
|
-
showSorter:
|
|
28085
|
-
showReadingView:
|
|
28086
|
-
showOutlineView:
|
|
28087
|
-
showCustomShows:
|
|
28088
|
-
showVersionHistory:
|
|
28089
|
-
showPasswordDialog:
|
|
28090
|
-
propertiesOpen:
|
|
28091
|
-
showFontEmbedding:
|
|
28092
|
-
showSignatures:
|
|
28093
|
-
showMasterView:
|
|
28094
|
-
showSetUpSlideShow:
|
|
28095
|
-
broadcastOpen:
|
|
28096
|
-
showInsertSmartArt:
|
|
28097
|
-
showEquationEditor:
|
|
28098
|
-
collab:
|
|
28099
|
-
startPresenting:
|
|
28100
|
-
presentFromBeginning:
|
|
28101
|
-
startPresenterView:
|
|
28102
|
-
startRehearsal:
|
|
28103
|
-
compareWithPresentation:
|
|
28104
|
-
onAddAnimation:
|
|
28105
|
-
onRemoveAnimation:
|
|
28106
|
-
zoomIn:
|
|
28107
|
-
zoomOut:
|
|
28108
|
-
zoomReset:
|
|
28109
|
-
undo:
|
|
28110
|
-
redo:
|
|
28111
|
-
addText:
|
|
28112
|
-
addShape:
|
|
28113
|
-
addTable:
|
|
28114
|
-
addChart:
|
|
28115
|
-
addField:
|
|
28116
|
-
addActionButton:
|
|
28117
|
-
openImagePicker:
|
|
28118
|
-
openMediaPicker:
|
|
28119
|
-
addGuide:
|
|
28120
|
-
onAlign:
|
|
28121
|
-
onDistribute:
|
|
28122
|
-
copySelected:
|
|
28123
|
-
cutSelected:
|
|
28124
|
-
pasteElement:
|
|
28125
|
-
ribbonFlip:
|
|
28126
|
-
bringForward:
|
|
28127
|
-
sendBackward:
|
|
28128
|
-
ribbonMoveToEdge:
|
|
28129
|
-
onGroup:
|
|
28130
|
-
onUngroup:
|
|
28131
|
-
updateSelectedShapeStyle:
|
|
28132
|
-
openHyperlinkForSelection:
|
|
28133
|
-
duplicateSelected:
|
|
28134
|
-
deleteSelected:
|
|
28135
|
-
handleOpenFile:
|
|
28136
|
-
handleOpenRecentFile:
|
|
28137
|
-
createPresentation:
|
|
28138
|
-
onExportPng:
|
|
28139
|
-
onExportPdf:
|
|
28140
|
-
onExportWebm:
|
|
28141
|
-
onExportGif:
|
|
28142
|
-
onExportJson:
|
|
28143
|
-
downloadAs:
|
|
28144
|
-
save:
|
|
28145
|
-
onCopySlideAsImage:
|
|
28146
|
-
openPrintDialog:
|
|
28147
|
-
ribbonUpdateTextStyle:
|
|
28148
|
-
ribbonUpdateTextCase:
|
|
28149
|
-
insertSlideFromLayout:
|
|
28150
|
-
applyLayoutToActiveSlide:
|
|
28151
|
-
loadLayoutPreviews:
|
|
28152
|
-
insertSlideFromTemplate:
|
|
28153
|
-
onRenameActiveCustomShow:
|
|
28154
|
-
onDeleteActiveCustomShow:
|
|
28155
|
-
onToggleCurrentSlideInActiveShow:
|
|
28156
|
-
toggleFormatPainter:
|
|
28157
|
-
onToggleSubtitles:
|
|
28158
|
-
onTransitionChange:
|
|
28159
|
-
onApplyTransitionToAll:
|
|
28160
|
-
addSection:
|
|
28161
|
-
defaultSectionName:
|
|
28162
|
-
selectAllElements:
|
|
28163
|
-
clearSelection:
|
|
28164
|
-
onPresentationPropertiesUpdate:
|
|
28033
|
+
ribbonMode: ra.chromeMode,
|
|
28034
|
+
canEdit: ra.canEdit,
|
|
28035
|
+
isMobile: ra.isMobile,
|
|
28036
|
+
sidebarCollapsed: ra.ui.sidebarCollapsed,
|
|
28037
|
+
inspectorOpen: ra.ui.inspectorOpen,
|
|
28038
|
+
ribbonExpanded: ra.ui.ribbonExpanded,
|
|
28039
|
+
toolbarSection: ra.ui.toolbarSection,
|
|
28040
|
+
zoom: ra.zoom,
|
|
28041
|
+
canUndo: ra.history.canUndo,
|
|
28042
|
+
canRedo: ra.history.canRedo,
|
|
28043
|
+
findOpen: ra.findOpen,
|
|
28044
|
+
selectedElements: ra.selection.selectedElements,
|
|
28045
|
+
activeTableSelection: ra.ribbonActions.activeTableSelection,
|
|
28046
|
+
editTemplateMode: ra.selection.editTemplateMode,
|
|
28047
|
+
newShapeType: ra.ui.newShapeType,
|
|
28048
|
+
activeTool: ra.ui.activeTool,
|
|
28049
|
+
drawingColor: ra.ui.drawingColor,
|
|
28050
|
+
drawingWidth: ra.ui.drawingWidth,
|
|
28051
|
+
clipboard: ra.editing.clipboard,
|
|
28052
|
+
spellCheckEnabled: ra.ui.spellCheckEnabled,
|
|
28053
|
+
showGrid: ra.ui.showGrid,
|
|
28054
|
+
showRulers: ra.ui.showRulers,
|
|
28055
|
+
showGuides: ra.ui.showGuides,
|
|
28056
|
+
snapToGrid: ra.drag.snapToGrid,
|
|
28057
|
+
snapToShape: ra.drag.snapToShape,
|
|
28058
|
+
overflowOpen: ra.ui.overflowOpen,
|
|
28059
|
+
layoutOptions: ra.deck.layoutOptions,
|
|
28060
|
+
embeddedFontFamilies: ra.embeddedFontFamilies,
|
|
28061
|
+
customFontFamilies: ra.customFontFamilies,
|
|
28062
|
+
theme: ra.deck.theme,
|
|
28063
|
+
customShows: ra.deck.customShows,
|
|
28064
|
+
activeCustomShowId: ra.customShows.activeCustomShowId,
|
|
28065
|
+
isCurrentSlideInActiveShow: ra.customShows.isCurrentSlideInActiveShow,
|
|
28066
|
+
themeEditorOpen: ra.ui.themeEditorOpen,
|
|
28067
|
+
themeGalleryOpen: ra.ui.themeGalleryOpen,
|
|
28068
|
+
eyedropperActive: ra.ui.eyedropperActive,
|
|
28069
|
+
showComments: ra.comments.showComments,
|
|
28070
|
+
activeComments: ra.comments.activeComments,
|
|
28071
|
+
reviewComments: ra.comments.reviewHost,
|
|
28072
|
+
formatPainterActive: ra.editing.formatPainterActive,
|
|
28073
|
+
canActivateFormatPainter: ra.editing.canActivateFormatPainter,
|
|
28074
|
+
showSelectionPane: ra.selectionPane.showSelectionPane,
|
|
28075
|
+
showSubtitles: ra.slideShow.showSubtitles,
|
|
28076
|
+
activeSlide: ra.activeSlide,
|
|
28077
|
+
activeSlideIndex: ra.activeSlideIndex,
|
|
28078
|
+
toggleSlideHidden: ra.slideMutations.toggleSlideHidden,
|
|
28079
|
+
presentationProperties: ra.presentationProperties,
|
|
28080
|
+
presenting: ra.presentation.presenting,
|
|
28081
|
+
canDistribute: ra.arrange.canDistribute,
|
|
28082
|
+
shareOpen: ra.collaboration.shareOpen,
|
|
28083
|
+
showShortcuts: ra.showShortcuts,
|
|
28084
|
+
showSettings: ra.showSettings,
|
|
28085
|
+
showHeaderFooter: ra.headerFooterDialog.showHeaderFooter,
|
|
28086
|
+
showA11y: ra.showA11y,
|
|
28087
|
+
showSorter: ra.deckViews.showSorter,
|
|
28088
|
+
showReadingView: ra.deckViews.showReadingView,
|
|
28089
|
+
showOutlineView: ra.deckViews.showOutlineView,
|
|
28090
|
+
showCustomShows: ra.customShows.showCustomShows,
|
|
28091
|
+
showVersionHistory: ra.versionHistory.showVersionHistory,
|
|
28092
|
+
showPasswordDialog: ra.password.showPasswordDialog,
|
|
28093
|
+
propertiesOpen: ra.documentProperties.propertiesOpen,
|
|
28094
|
+
showFontEmbedding: ra.fontEmbedding.showFontEmbedding,
|
|
28095
|
+
showSignatures: ra.signatureWorkflow.showSignatures,
|
|
28096
|
+
showMasterView: ra.masterView.showMasterView,
|
|
28097
|
+
showSetUpSlideShow: ra.slideShow.showSetUpSlideShow,
|
|
28098
|
+
broadcastOpen: ra.collaboration.broadcastOpen,
|
|
28099
|
+
showInsertSmartArt: ra.insertDialogs.showInsertSmartArt,
|
|
28100
|
+
showEquationEditor: ra.insertDialogs.showEquationEditor,
|
|
28101
|
+
collab: ra.collaboration.collab,
|
|
28102
|
+
startPresenting: ra.presentation.startPresenting,
|
|
28103
|
+
presentFromBeginning: ra.presentation.presentFromBeginning,
|
|
28104
|
+
startPresenterView: ra.presentation.startPresenterView,
|
|
28105
|
+
startRehearsal: ra.presentation.startRehearsal,
|
|
28106
|
+
compareWithPresentation: ra.compareWithPresentation,
|
|
28107
|
+
onAddAnimation: ra.slideMutations.onAddAnimation,
|
|
28108
|
+
onRemoveAnimation: ra.slideMutations.onRemoveAnimation,
|
|
28109
|
+
zoomIn: ra.zoomIn,
|
|
28110
|
+
zoomOut: ra.zoomOut,
|
|
28111
|
+
zoomReset: ra.zoomReset,
|
|
28112
|
+
undo: ra.history.undo,
|
|
28113
|
+
redo: ra.history.redo,
|
|
28114
|
+
addText: ra.insertion.addText,
|
|
28115
|
+
addShape: ra.insertion.addShape,
|
|
28116
|
+
addTable: ra.insertion.addTable,
|
|
28117
|
+
addChart: ra.insertion.addChart,
|
|
28118
|
+
addField: ra.insertion.addField,
|
|
28119
|
+
addActionButton: ra.insertion.addActionButton,
|
|
28120
|
+
openImagePicker: ra.insertion.openImagePicker,
|
|
28121
|
+
openMediaPicker: ra.insertion.openMediaPicker,
|
|
28122
|
+
addGuide: ra.drag.addGuide,
|
|
28123
|
+
onAlign: ra.arrange.onAlign,
|
|
28124
|
+
onDistribute: ra.arrange.onDistribute,
|
|
28125
|
+
copySelected: ra.editing.copySelected,
|
|
28126
|
+
cutSelected: ra.editing.cutSelected,
|
|
28127
|
+
pasteElement: ra.editing.pasteElement,
|
|
28128
|
+
ribbonFlip: ra.ribbonActions.ribbonFlip,
|
|
28129
|
+
bringForward: ra.arrange.bringForward,
|
|
28130
|
+
sendBackward: ra.arrange.sendBackward,
|
|
28131
|
+
ribbonMoveToEdge: ra.ribbonActions.ribbonMoveToEdge,
|
|
28132
|
+
onGroup: ra.arrange.onGroup,
|
|
28133
|
+
onUngroup: ra.arrange.onUngroup,
|
|
28134
|
+
updateSelectedShapeStyle: ra.editing.updateSelectedShapeStyle,
|
|
28135
|
+
openHyperlinkForSelection: ra.editing.openHyperlinkForSelection,
|
|
28136
|
+
duplicateSelected: ra.arrange.duplicateSelected,
|
|
28137
|
+
deleteSelected: ra.arrange.deleteSelected,
|
|
28138
|
+
handleOpenFile: ra.handleOpenFile,
|
|
28139
|
+
handleOpenRecentFile: ra.handleOpenRecentFile,
|
|
28140
|
+
createPresentation: ra.createPresentation,
|
|
28141
|
+
onExportPng: ra.exporter.onExportPng,
|
|
28142
|
+
onExportPdf: ra.exporter.onExportPdf,
|
|
28143
|
+
onExportWebm: ra.exporter.onExportWebm,
|
|
28144
|
+
onExportGif: ra.exporter.onExportGif,
|
|
28145
|
+
onExportJson: ra.exporter.onExportJson,
|
|
28146
|
+
downloadAs: ra.exporter.downloadAs,
|
|
28147
|
+
save: ra.exporter.save,
|
|
28148
|
+
onCopySlideAsImage: ra.exporter.onCopySlideAsImage,
|
|
28149
|
+
openPrintDialog: ra.printer.openPrintDialog,
|
|
28150
|
+
ribbonUpdateTextStyle: ra.ribbonActions.ribbonUpdateTextStyle,
|
|
28151
|
+
ribbonUpdateTextCase: ra.ribbonActions.ribbonUpdateTextCase,
|
|
28152
|
+
insertSlideFromLayout: ra.insertion.insertSlideFromLayout,
|
|
28153
|
+
applyLayoutToActiveSlide: ra.insertion.applyLayoutToActiveSlide,
|
|
28154
|
+
loadLayoutPreviews: ra.insertion.loadLayoutPreviews,
|
|
28155
|
+
insertSlideFromTemplate: ra.templateInsertion.insertSlideFromTemplate,
|
|
28156
|
+
onRenameActiveCustomShow: ra.customShows.onRenameActiveCustomShow,
|
|
28157
|
+
onDeleteActiveCustomShow: ra.customShows.onDeleteActiveCustomShow,
|
|
28158
|
+
onToggleCurrentSlideInActiveShow: ra.customShows.onToggleCurrentSlideInActiveShow,
|
|
28159
|
+
toggleFormatPainter: ra.editing.toggleFormatPainter,
|
|
28160
|
+
onToggleSubtitles: ra.slideShow.onToggleSubtitles,
|
|
28161
|
+
onTransitionChange: ra.slideMutations.onTransitionChange,
|
|
28162
|
+
onApplyTransitionToAll: ra.slideMutations.onApplyTransitionToAll,
|
|
28163
|
+
addSection: ra.slideCommands.addSection,
|
|
28164
|
+
defaultSectionName: ra.slideCommands.defaultSectionName,
|
|
28165
|
+
selectAllElements: ra.slideCommands.selectAllElements,
|
|
28166
|
+
clearSelection: ra.slideCommands.clearSelection,
|
|
28167
|
+
onPresentationPropertiesUpdate: ra.slideShow.onPresentationPropertiesUpdate
|
|
28165
28168
|
}));
|
|
28166
|
-
var
|
|
28167
|
-
const { handleCommandSearch:
|
|
28169
|
+
var ra;
|
|
28170
|
+
const { handleCommandSearch: ia, handleQuickAccessCommand: sa } = function(e) {
|
|
28168
28171
|
const t = {
|
|
28169
28172
|
format: {
|
|
28170
28173
|
bold: () => e.updateTextStyle({ bold: !0 }),
|
|
@@ -28273,8 +28276,8 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28273
28276
|
openPrintDialog: Jt.openPrintDialog,
|
|
28274
28277
|
exportPdf: Qt,
|
|
28275
28278
|
addSlide: Mt.addSlide
|
|
28276
|
-
}),
|
|
28277
|
-
var
|
|
28279
|
+
}), ca = NG(la, L.resolved);
|
|
28280
|
+
var da = wo, pa = {
|
|
28278
28281
|
getCanvas: () => To.value,
|
|
28279
28282
|
getTarget: () => !De.value || te.value || ne.value || Ut.presenting.value || ko.showMasterView.value || Je.value || ht.inlineEditingElementId.value || "select" !== En.value || Ln.value?.open || !Re.value || !Ce.value ? null : {
|
|
28280
28283
|
documentId: Ce.value,
|
|
@@ -28284,18 +28287,18 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28284
28287
|
insertElement: it.addElement
|
|
28285
28288
|
};
|
|
28286
28289
|
(0, l.watch)([
|
|
28287
|
-
|
|
28288
|
-
() =>
|
|
28289
|
-
() =>
|
|
28290
|
-
() =>
|
|
28291
|
-
() =>
|
|
28290
|
+
da,
|
|
28291
|
+
() => pa.getTarget()?.documentId,
|
|
28292
|
+
() => pa.getTarget()?.slideId,
|
|
28293
|
+
() => pa.getTarget()?.canvasSize.width,
|
|
28294
|
+
() => pa.getTarget()?.canvasSize.height
|
|
28292
28295
|
], (e, t, n) => {
|
|
28293
|
-
|
|
28296
|
+
da.value && n((0, a.attachEditorImagePaste)(da.value, pa));
|
|
28294
28297
|
}, {
|
|
28295
28298
|
immediate: !0,
|
|
28296
28299
|
flush: "sync"
|
|
28297
28300
|
});
|
|
28298
|
-
const
|
|
28301
|
+
const ua = {
|
|
28299
28302
|
...RG({
|
|
28300
28303
|
slides: Z,
|
|
28301
28304
|
activeSlide: Re,
|
|
@@ -28331,8 +28334,8 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28331
28334
|
}),
|
|
28332
28335
|
...L.api
|
|
28333
28336
|
};
|
|
28334
|
-
p(
|
|
28335
|
-
viewer:
|
|
28337
|
+
p(ua), (0, l.provide)(y, (0, l.computed)(() => ({
|
|
28338
|
+
viewer: ua,
|
|
28336
28339
|
mode: Io.value,
|
|
28337
28340
|
canEdit: De.value,
|
|
28338
28341
|
activeSlideIndex: Me.value,
|
|
@@ -28340,7 +28343,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28340
28343
|
selectedElementIds: Qe.value,
|
|
28341
28344
|
locale: k.localeCode.value
|
|
28342
28345
|
})));
|
|
28343
|
-
const
|
|
28346
|
+
const ma = (0, a.createSlidePackageClipboard)({
|
|
28344
28347
|
getSnapshot: () => Ce.value ? {
|
|
28345
28348
|
handler: Ce.value,
|
|
28346
28349
|
slides: Z.value,
|
|
@@ -28354,7 +28357,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28354
28357
|
Me.value = e.insertAt, $n.isDirty.value = !0;
|
|
28355
28358
|
}
|
|
28356
28359
|
});
|
|
28357
|
-
return (0, l.onBeforeUnmount)(() =>
|
|
28360
|
+
return (0, l.onBeforeUnmount)(() => ma.dispose()), (t, n) => ((0, l.openBlock)(), (0, l.createElementBlock)("div", (0, l.mergeProps)({
|
|
28358
28361
|
ref_key: "viewerRootRef",
|
|
28359
28362
|
ref: wo,
|
|
28360
28363
|
class: ["pptx-vue-viewer", [
|
|
@@ -28434,8 +28437,8 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28434
28437
|
},
|
|
28435
28438
|
"find-replace-open": Kt.value,
|
|
28436
28439
|
"on-toggle-find-replace": () => Kt.value = !Kt.value,
|
|
28437
|
-
"on-command-search": (0, l.unref)(
|
|
28438
|
-
"on-quick-command": (0, l.unref)(
|
|
28440
|
+
"on-command-search": (0, l.unref)(ia),
|
|
28441
|
+
"on-quick-command": (0, l.unref)(sa),
|
|
28439
28442
|
"hidden-actions": (0, l.unref)(K)
|
|
28440
28443
|
}, null, 8, [
|
|
28441
28444
|
"mode",
|
|
@@ -28460,7 +28463,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28460
28463
|
"on-quick-command",
|
|
28461
28464
|
"hidden-actions"
|
|
28462
28465
|
])) : (0, l.createCommentVNode)("", !0),
|
|
28463
|
-
(0, l.unref)(Bo) ? ((0, l.openBlock)(), (0, l.createBlock)(wl, (0, l.mergeProps)({ key: 4 }, (0, l.unref)(
|
|
28466
|
+
(0, l.unref)(Bo) ? ((0, l.openBlock)(), (0, l.createBlock)(wl, (0, l.mergeProps)({ key: 4 }, (0, l.unref)(ca), {
|
|
28464
28467
|
"hidden-actions": (0, l.unref)(K),
|
|
28465
28468
|
"recent-presentations-count": (0, l.unref)(M).advanced.recentPresentationsCount,
|
|
28466
28469
|
"ai-enabled": (0, l.unref)($),
|
|
@@ -28475,7 +28478,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28475
28478
|
"is-ai-panel-open",
|
|
28476
28479
|
"on-toggle-ai-panel",
|
|
28477
28480
|
"insert-open"
|
|
28478
|
-
])) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 3 }, [(0, l.createVNode)(ni, (0, l.mergeProps)((0, l.unref)(
|
|
28481
|
+
])) : ((0, l.openBlock)(), (0, l.createElementBlock)(l.Fragment, { key: 3 }, [(0, l.createVNode)(ni, (0, l.mergeProps)((0, l.unref)(ca), {
|
|
28479
28482
|
"hidden-actions": (0, l.unref)(K),
|
|
28480
28483
|
"recent-presentations-count": (0, l.unref)(M).advanced.recentPresentationsCount,
|
|
28481
28484
|
"ai-enabled": (0, l.unref)($),
|
|
@@ -28493,7 +28496,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28493
28496
|
"can-edit": De.value,
|
|
28494
28497
|
"is-dirty": (0, l.unref)($n).isDirty.value,
|
|
28495
28498
|
"autosave-enabled": (0, l.unref)(qn),
|
|
28496
|
-
"on-quick-command": (0, l.unref)(
|
|
28499
|
+
"on-quick-command": (0, l.unref)(sa)
|
|
28497
28500
|
}, null, 8, [
|
|
28498
28501
|
"mode",
|
|
28499
28502
|
"can-edit",
|
|
@@ -28649,12 +28652,12 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28649
28652
|
inspector: (0, l.unref)(zt),
|
|
28650
28653
|
collaboration: (0, l.unref)(ao),
|
|
28651
28654
|
"spell-check-enabled": (0, l.unref)(In),
|
|
28652
|
-
"drawing-active": (0, l.unref)(
|
|
28655
|
+
"drawing-active": (0, l.unref)(Jo),
|
|
28653
28656
|
"active-tool": (0, l.unref)(En),
|
|
28654
28657
|
"drawing-color": (0, l.unref)(Cn),
|
|
28655
28658
|
"drawing-width": (0, l.unref)(wn),
|
|
28656
|
-
"on-stroke": (0, l.unref)(
|
|
28657
|
-
"on-erase": (0, l.unref)(
|
|
28659
|
+
"on-stroke": (0, l.unref)(ea),
|
|
28660
|
+
"on-erase": (0, l.unref)(ta),
|
|
28658
28661
|
ai: (0, l.unref)(j),
|
|
28659
28662
|
"ai-panel": (0, l.unref)(mt),
|
|
28660
28663
|
"on-request-edit": (0, l.unref)(St),
|
|
@@ -28733,7 +28736,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28733
28736
|
"ai-panel-open": ut.value,
|
|
28734
28737
|
"on-close-ai-panel": () => ut.value = !1,
|
|
28735
28738
|
"ai-panel": (0, l.unref)(mt),
|
|
28736
|
-
"ai-bridge": (0, l.unref)(
|
|
28739
|
+
"ai-bridge": (0, l.unref)(aa),
|
|
28737
28740
|
"ribbon-mode": zo.value,
|
|
28738
28741
|
"go-to": (0, l.unref)(Le),
|
|
28739
28742
|
"on-inspector-update": (0, l.unref)(zt).onInspectorUpdate,
|
|
@@ -28847,7 +28850,7 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
28847
28850
|
"on-close-theme-gallery": () => _n.value = !1,
|
|
28848
28851
|
"theme-editor-open": (0, l.unref)(An),
|
|
28849
28852
|
"on-close-theme-editor": () => An.value = !1,
|
|
28850
|
-
"theme-editing": (0, l.unref)(
|
|
28853
|
+
"theme-editing": (0, l.unref)(na),
|
|
28851
28854
|
"context-menu": (0, l.unref)(Ln),
|
|
28852
28855
|
"context-items": (0, l.unref)(Un),
|
|
28853
28856
|
"on-context-select": (0, l.unref)(Gn),
|
|
@@ -29144,8 +29147,8 @@ var UG = ["aria-busy", "tabindex"], HG = {
|
|
|
29144
29147
|
"pixelate-mosaic-animation": (0, l.unref)(M).advanced.pixelateMosaicAnimation,
|
|
29145
29148
|
"duplicate-slide": (0, l.unref)(Mt).duplicateSlide,
|
|
29146
29149
|
"paste-slides": (0, l.unref)(Mt).pasteSlides,
|
|
29147
|
-
"copy-system-slides": (e) => (0, l.unref)(
|
|
29148
|
-
"paste-system-slides": (e) => (0, l.unref)(
|
|
29150
|
+
"copy-system-slides": (e) => (0, l.unref)(ma).copy(e),
|
|
29151
|
+
"paste-system-slides": (e) => (0, l.unref)(ma).paste(e),
|
|
29149
29152
|
"delete-slide": (0, l.unref)(Mt).deleteSlide,
|
|
29150
29153
|
"toggle-slide-hidden": (0, l.unref)(an)
|
|
29151
29154
|
}, null, 8, [
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Mr as e, Nr as t, Pr as n } from "./useViewerSettingsDialog-
|
|
1
|
+
import { Mr as e, Nr as t, Pr as n } from "./useViewerSettingsDialog-D5C2Wbjw.js";
|
|
2
2
|
import * as r from "yjs";
|
|
3
3
|
var i = () => /* @__PURE__ */ new Map(), s = (e, t, n) => {
|
|
4
4
|
let r = e.get(t);
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pptx-vue-viewer",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.65.0",
|
|
4
4
|
"description": "pptx-viewer for Vue 3: a PowerPoint viewer and editor component to render, edit, and export PPTX slides in the browser.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"editor",
|
|
@@ -124,8 +124,8 @@
|
|
|
124
124
|
"html2canvas-pro": "^2.5.4",
|
|
125
125
|
"jspdf": "^4.2.1",
|
|
126
126
|
"lucide-vue-next": "^1.0.0",
|
|
127
|
-
"ooxml-core": "^1.
|
|
128
|
-
"ooxml-ui": "^1.
|
|
127
|
+
"ooxml-core": "^1.41.0",
|
|
128
|
+
"ooxml-ui": "^1.44.0",
|
|
129
129
|
"opentype.js": "^2.0.0",
|
|
130
130
|
"tailwind-merge": "^3.7.0"
|
|
131
131
|
},
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|