pptx-vue-viewer 1.19.1 → 1.21.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 +12 -0
- package/README.md +11 -10
- package/dist/composables-unstable.cjs +1 -1
- package/dist/composables-unstable.cjs.br +0 -0
- package/dist/composables-unstable.cjs.gz +0 -0
- package/dist/composables-unstable.js +5 -5
- package/dist/composables-unstable.js.br +0 -0
- package/dist/composables-unstable.js.gz +0 -0
- package/dist/gif-encoder-EaT8NgXE.js +2 -0
- package/dist/gif-encoder-EaT8NgXE.js.br +0 -0
- package/dist/gif-encoder-EaT8NgXE.js.gz +0 -0
- package/dist/gif-encoder-r3HNbg-K.cjs +2 -0
- package/dist/gif-encoder-r3HNbg-K.cjs.br +0 -0
- package/dist/gif-encoder-r3HNbg-K.cjs.gz +0 -0
- package/dist/{i18n-Bj26NRJG.cjs → i18n-CnaYA09j.js} +45 -10
- package/dist/i18n-CnaYA09j.js.br +0 -0
- package/dist/i18n-CnaYA09j.js.gz +0 -0
- package/dist/{i18n-dsaVECo9.js → i18n-F0JF8XNP.cjs} +61 -1
- package/dist/i18n-F0JF8XNP.cjs.br +0 -0
- package/dist/i18n-F0JF8XNP.cjs.gz +0 -0
- package/dist/i18n.cjs +2 -2
- package/dist/i18n.cjs.br +0 -0
- package/dist/i18n.cjs.gz +0 -0
- package/dist/i18n.d.ts +3 -2
- package/dist/i18n.d.ts.map +1 -1
- package/dist/i18n.js +7 -7
- package/dist/i18n.js.br +0 -0
- package/dist/i18n.js.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 +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/dist/pptx-vue-viewer.css +1 -1
- package/dist/pptx-vue-viewer.css.br +0 -0
- package/dist/pptx-vue-viewer.css.gz +0 -0
- package/dist/theme/index.d.ts +2 -0
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/theme-catalog.d.ts +8 -0
- package/dist/theme/theme-catalog.d.ts.map +1 -0
- package/dist/{useViewerSettingsDialog-CCK6Gk-q.cjs → useViewerSettingsDialog--9WzSA9C.cjs} +3488 -3192
- package/dist/useViewerSettingsDialog--9WzSA9C.cjs.br +0 -0
- package/dist/useViewerSettingsDialog--9WzSA9C.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-CRiOD6Ia.js → useViewerSettingsDialog-F-cKHwL2.js} +2948 -2722
- package/dist/useViewerSettingsDialog-F-cKHwL2.js.br +0 -0
- package/dist/useViewerSettingsDialog-F-cKHwL2.js.gz +0 -0
- package/dist/version.d.ts +2 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/viewer/PowerPointViewer.vue.d.ts.map +1 -1
- package/dist/viewer/components/EditorToolbar.vue.d.ts +4 -4
- package/dist/viewer/components/MobileBottomBar.vue.d.ts +5 -2
- package/dist/viewer/components/MobileBottomBar.vue.d.ts.map +1 -1
- package/dist/viewer/components/MobileMenuSheet.vue.d.ts.map +1 -1
- package/dist/viewer/components/MobileToolbar.vue.d.ts.map +1 -1
- package/dist/viewer/components/SettingsAppearanceTab.vue.d.ts +13 -0
- package/dist/viewer/components/SettingsAppearanceTab.vue.d.ts.map +1 -0
- package/dist/viewer/components/SettingsDialog.vue.d.ts +22 -2
- package/dist/viewer/components/SettingsDialog.vue.d.ts.map +1 -1
- package/dist/viewer/components/SettingsLanguageTab.vue.d.ts +13 -0
- package/dist/viewer/components/SettingsLanguageTab.vue.d.ts.map +1 -0
- package/dist/viewer/components/StatusBar.vue.d.ts +3 -0
- package/dist/viewer/components/StatusBar.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/AccountPage.vue.d.ts +4 -0
- package/dist/viewer/components/ribbon/AccountPage.vue.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/FileSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/HelpSection.vue.d.ts +8 -0
- package/dist/viewer/components/ribbon/HelpSection.vue.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/RibbonTabBar.vue.d.ts +21 -0
- package/dist/viewer/components/ribbon/RibbonTabBar.vue.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/RibbonToolbar.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/SlideShowSection.vue.d.ts +3 -0
- package/dist/viewer/components/ribbon/SlideShowSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/TabRowActions.vue.d.ts +3 -0
- package/dist/viewer/components/ribbon/TabRowActions.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/TitleBar.vue.d.ts +3 -0
- package/dist/viewer/components/ribbon/TitleBar.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/file-section-actions.d.ts +16 -0
- package/dist/viewer/components/ribbon/file-section-actions.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/file-section-types.d.ts +3 -0
- package/dist/viewer/components/ribbon/file-section-types.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/mobile-menu-items.d.ts +16 -0
- package/dist/viewer/components/ribbon/mobile-menu-items.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/ribbon-constants.d.ts +1 -5
- package/dist/viewer/components/ribbon/ribbon-constants.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/ribbon-props-fixture.d.ts +10 -0
- package/dist/viewer/components/ribbon/ribbon-props-fixture.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/ribbon-types.d.ts +3 -1
- package/dist/viewer/components/ribbon/ribbon-types.d.ts.map +1 -1
- package/dist/viewer/composables/account-auth.d.ts +7 -0
- package/dist/viewer/composables/account-auth.d.ts.map +1 -0
- package/dist/viewer/composables/index.d.ts +2 -0
- package/dist/viewer/composables/index.d.ts.map +1 -1
- package/dist/viewer/composables/useToolbarVisibility.d.ts +22 -0
- package/dist/viewer/composables/useToolbarVisibility.d.ts.map +1 -0
- package/dist/viewer/index.cjs +2 -2
- package/dist/viewer/index.cjs.br +0 -0
- package/dist/viewer/index.cjs.gz +0 -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/types.d.ts +54 -2
- package/dist/viewer/types.d.ts.map +1 -1
- package/dist/{viewer-AXsYi0Ug.js → viewer-8lQirLGh.js} +7022 -6759
- package/dist/viewer-8lQirLGh.js.br +0 -0
- package/dist/viewer-8lQirLGh.js.gz +0 -0
- package/dist/viewer-CcJb5Fpw.cjs +24125 -0
- package/dist/viewer-CcJb5Fpw.cjs.br +0 -0
- package/dist/viewer-CcJb5Fpw.cjs.gz +0 -0
- package/package.json +1 -1
- package/dist/gif-encoder-CIv54D72.cjs +0 -2
- package/dist/gif-encoder-CIv54D72.cjs.br +0 -0
- package/dist/gif-encoder-CIv54D72.cjs.gz +0 -0
- package/dist/gif-encoder-QvkMCN7g.js +0 -2
- package/dist/gif-encoder-QvkMCN7g.js.br +0 -0
- package/dist/gif-encoder-QvkMCN7g.js.gz +0 -0
- package/dist/i18n-Bj26NRJG.cjs.br +0 -0
- package/dist/i18n-Bj26NRJG.cjs.gz +0 -0
- package/dist/i18n-dsaVECo9.js.br +0 -0
- package/dist/i18n-dsaVECo9.js.gz +0 -0
- package/dist/useViewerSettingsDialog-CCK6Gk-q.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-CCK6Gk-q.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-CRiOD6Ia.js.br +0 -0
- package/dist/useViewerSettingsDialog-CRiOD6Ia.js.gz +0 -0
- package/dist/viewer-AXsYi0Ug.js.br +0 -0
- package/dist/viewer-AXsYi0Ug.js.gz +0 -0
- package/dist/viewer-CWLIYH_F.cjs +0 -23858
- package/dist/viewer-CWLIYH_F.cjs.br +0 -0
- package/dist/viewer-CWLIYH_F.cjs.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@ All notable changes to this project are documented here.
|
|
|
4
4
|
This file is generated from [Conventional Commits](https://www.conventionalcommits.org)
|
|
5
5
|
by [git-cliff](https://git-cliff.org); do not edit it by hand.
|
|
6
6
|
|
|
7
|
+
## [1.20.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.20.0) - 2026-07-17
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
- **vue:** Add hiddenActions prop to hide individual toolbar/ribbon actions (by @ChristopherVR) ([2e917df](https://github.com/ChristopherVR/pptx-viewer/commit/2e917df9f2703fe5e56de0015b20744697092ff7))
|
|
12
|
+
|
|
13
|
+
## [1.19.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.19.1) - 2026-07-17
|
|
14
|
+
|
|
15
|
+
### Dependencies
|
|
16
|
+
|
|
17
|
+
- **deps:** Update outdated dependencies within semver ranges (by @ChristopherVR) ([3249d8e](https://github.com/ChristopherVR/pptx-viewer/commit/3249d8ecd53ea79089f87f942f2c88caae840466))
|
|
18
|
+
|
|
7
19
|
## [1.19.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.19.0) - 2026-07-17
|
|
8
20
|
|
|
9
21
|
## [1.18.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.18.0) - 2026-07-16
|
package/README.md
CHANGED
|
@@ -162,15 +162,16 @@ async function save() {
|
|
|
162
162
|
|
|
163
163
|
### Props
|
|
164
164
|
|
|
165
|
-
| Prop | Type | Default | Description
|
|
166
|
-
| --------------- | --------------------------- | ------- |
|
|
167
|
-
| `content` | `Uint8Array \| ArrayBuffer` | n/a | The `.pptx` bytes to render. **Required.**
|
|
168
|
-
| `theme` | `ViewerTheme` | n/a | Color/radius overrides applied as CSS custom properties.
|
|
169
|
-
| `class` | `string` | n/a | Class applied to the root element.
|
|
170
|
-
| `canEdit` | `boolean` | `false` | Enables the editor toolbar, inspector, and drag-and-drop editing.
|
|
171
|
-
| `filePath` | `string` | n/a | Passed to autosave / recovery logic.
|
|
172
|
-
| `authorName` | `string` | n/a | Displayed in comment annotations.
|
|
173
|
-
| `collaboration` | `CollaborationConfig` | n/a | Yjs real-time collaboration config (server URL, room, role).
|
|
165
|
+
| Prop | Type | Default | Description |
|
|
166
|
+
| --------------- | --------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------- |
|
|
167
|
+
| `content` | `Uint8Array \| ArrayBuffer` | n/a | The `.pptx` bytes to render. **Required.** |
|
|
168
|
+
| `theme` | `ViewerTheme` | n/a | Color/radius overrides applied as CSS custom properties. |
|
|
169
|
+
| `class` | `string` | n/a | Class applied to the root element. |
|
|
170
|
+
| `canEdit` | `boolean` | `false` | Enables the editor toolbar, inspector, and drag-and-drop editing. |
|
|
171
|
+
| `filePath` | `string` | n/a | Passed to autosave / recovery logic. |
|
|
172
|
+
| `authorName` | `string` | n/a | Displayed in comment annotations. |
|
|
173
|
+
| `collaboration` | `CollaborationConfig` | n/a | Yjs real-time collaboration config (server URL, room, role). |
|
|
174
|
+
| `hiddenActions` | `ToolbarActionId[]` | n/a | Individual toolbar buttons and/or ribbon tabs to hide (e.g. `['share', 'broadcast', 'insert']`). Omit to show everything. |
|
|
174
175
|
|
|
175
176
|
### Events
|
|
176
177
|
|
|
@@ -214,7 +215,7 @@ async function save() {
|
|
|
214
215
|
|
|
215
216
|
`PowerPointViewer`, `SlideCanvas`, `SlideStage`, `ElementRenderer`,
|
|
216
217
|
`provideViewerTheme`, `useViewerTheme`, and the `ViewerTheme` / `CanvasSize` /
|
|
217
|
-
`CollaborationConfig` types.
|
|
218
|
+
`CollaborationConfig` / `ToolbarActionId` types.
|
|
218
219
|
|
|
219
220
|
## Localization (i18n)
|
|
220
221
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("./useViewerSettingsDialog
|
|
2
|
+
const e = require("./useViewerSettingsDialog--9WzSA9C.cjs");
|
|
3
3
|
let t = require("vue");
|
|
4
4
|
function s(e) {
|
|
5
5
|
const t = /* @__PURE__ */ new Set(), s = [];
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { $ as a, $
|
|
1
|
+
import { $ as a, $n as s, $t as t, A as e, At as n, B as u, Bt as l, Ct as i, D as o, Dt as c, E as r, Et as v, F as f, G as d, Gt as g, H as h, Ht as m, I as p, J as w, Jt as y, K as S, Kt as j, L as k, La as x, M as D, Mt as E, N as M, Nt as V, O as $, Ot as q, P as z, Q as A, Qn as B, R as G, St as H, T as I, Tt as J, U as K, Ut as L, V as N, Vt as O, W as Q, Wt as T, X as U, Xt as W, Y as X, Yt as Y, Z, Zt as _, _ as b, _t as C, a as F, an as P, at as R, bt as aa, c as sa, cn as ta, ct as ea, d as na, dt as ua, et as la, f as ia, ft as oa, g as ca, gt as ra, h as va, hn as fa, ht as da, i as ga, in as ha, it as ma, j as pa, jt as wa, k as ya, kr as Sa, kt as ja, l as ka, ln as xa, m as Da, mt as Ea, n as Ma, nn as Va, nt as $a, o as qa, on as za, ot as Aa, p as Ba, pt as Ga, q as Ha, qt as Ia, r as Ja, ri as Ka, rn as La, rt as Na, s as Oa, sn as Qa, st as Ta, t as Ua, tt as Wa, u as Xa, ur as Ya, v as Za, vt as _a, w as ba, wt as Ca, xi as Fa, xt as Pa, y as Ra, yt as as, z as ss, zt as ts } from "./useViewerSettingsDialog-F-cKHwL2.js";
|
|
2
2
|
import { computed as es, readonly as ns, ref as us } from "vue";
|
|
3
3
|
function ls(a = []) {
|
|
4
|
-
const s = us(
|
|
4
|
+
const s = us(is(a)), t = es(() => 0 === s.value.length);
|
|
5
5
|
return {
|
|
6
6
|
selectedIds: ns(s),
|
|
7
7
|
isEmpty: t,
|
|
@@ -12,7 +12,7 @@ function ls(a = []) {
|
|
|
12
12
|
s.value.includes(a) ? s.value = s.value.filter((s) => s !== a) : s.value = [...s.value, a];
|
|
13
13
|
},
|
|
14
14
|
selectMany: function(a) {
|
|
15
|
-
s.value =
|
|
15
|
+
s.value = is(a);
|
|
16
16
|
},
|
|
17
17
|
clear: function() {
|
|
18
18
|
s.value.length > 0 && (s.value = []);
|
|
@@ -22,9 +22,9 @@ function ls(a = []) {
|
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function is(a) {
|
|
26
26
|
const s = /* @__PURE__ */ new Set(), t = [];
|
|
27
27
|
for (const e of a) s.has(e) || (s.add(e), t.push(e));
|
|
28
28
|
return t;
|
|
29
29
|
}
|
|
30
|
-
export {
|
|
30
|
+
export { Ja as DEFAULT_MAX_VERSIONS, Ca as ERASER_RADIUS, J as HIGHLIGHTER_OPACITY, v as HIGHLIGHTER_WIDTH, B as MOBILE_BREAKPOINT, s as MOBILE_LANDSCAPE_MAX_HEIGHT, oa as NUDGE_LARGE, Ga as NUDGE_SMALL, c as PEN_WIDTH, ca as RIBBON_ALIGN, Ea as SHORTCUT_CATALOG, da as SHORTCUT_GROUP_LABEL_KEYS, l as SMARTART_COLOR_SCHEMES, O as SMARTART_STYLE_OPTIONS, ta as SmartArt3DKey, Ya as TABLET_BREAKPOINT, Ia as TableSelectionKey, Sa as buildClickGroups, k as buildSearchRegex, q as buildStrokePathD, y as computeCellSelection, Ka as computeDocumentStatistics, as as computeElapsed, Fa as countWords, ja as createStroke, n as eraseStrokesAtPoint, G as findMatches, aa as formatRehearseMs, $a as generateCommentId, ra as groupShortcutCatalog, Y as injectTableSelection, Va as inlineEditorRect, x as isMobileViewport, La as nodeIdsInRenderOrder, W as provideTableSelection, ss as replaceInElement, C as resolveShortcutAction, m as smartArtLayoutLabel, ha as textNodeIdsInRenderOrder, b as toShapePreset, ea as useAccessibility, Ta as useAlignGroup, V as useAnimationPlayback, Aa as useAutosave, g as useChartEditing, R as useCollaboration, ma as useCollaborationWiring, Qa as useColorChangeImage, Na as useComments, Wa as useCommentsWiring, la as useContextMenu, a as useCustomShows, A as useCustomShowsWiring, T as useDebouncedCallback, Z as useDocumentPropertiesDialog, j as useDocumentStatistics, U as useEditorHistory, X as useEditorKeyboard, w as useEditorOperations, Ha as useElementDrag, S as useElementInsertion, d as useEmbeddedFonts, Q as useExport, K as useExportProgress, N as useExportWiring, u as useFindReplace, p as useFontEmbedding, f as useFormatPainter, z as useHeaderFooterDialog, M as useInkDrawing, D as useInlineEditing, pa as useInsertElementDialogs, E as useIsMobile, e as useKeyboardInsets, _a as useKeyboardShortcuts, ya as useLoadContent, $ as useMasterViewState, h as useMediaExport, o as useMobileChrome, za as useModel3dScene, r as useMultiSelectOps, I as usePasswordProtection, wa as usePresentationAnnotations, ba as usePresentationModeWiring, Ra as usePrint, Pa as useRehearseTimings, Za as useRibbonActions, va as useRibbonProps, Da as useRibbonUiState, Ba as useSectionOperations, ls as useSelection, ia as useSelectionPaneWiring, fa as useSheetDismissDrag, na as useSignatureWorkflow, ua as useSignatures, Xa as useSlideMutations, ka as useSlideOperations, sa as useSlideShowSettings, xa as useSmartArt3D, ts as useSmartArtEditing, L as useSmartArtFocus, t as useSmartArtHoverRect, P as useSmartArtInlineEditState, Oa as useSmartArtNodeEditContext, qa as useTableCellEditingContext, _ as useTableCellSelection, F as useThemeEditing, i as useToolbarAutoHide, H as useTouchGestures, ga as useVersionHistory, Ma as useVersionHistoryWiring, Ua as useViewerSettingsDialog };
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -205,6 +205,29 @@ var t = {
|
|
|
205
205
|
"pptx.settings.showRulers": "Show rulers",
|
|
206
206
|
"pptx.settings.snapToGrid": "Snap to grid",
|
|
207
207
|
"pptx.settings.reducedMotion": "Reduced motion",
|
|
208
|
+
"pptx.settings.appearance": "Appearance",
|
|
209
|
+
"pptx.settings.language": "Language",
|
|
210
|
+
"pptx.settings.theme.default": "Default",
|
|
211
|
+
"pptx.settings.theme.light": "Light",
|
|
212
|
+
"pptx.settings.theme.vermilionLight": "Vermilion Light",
|
|
213
|
+
"pptx.settings.theme.vermilionDark": "Vermilion Dark",
|
|
214
|
+
"pptx.account.profile.title": "Profile",
|
|
215
|
+
"pptx.account.profile.nameLabel": "Display name",
|
|
216
|
+
"pptx.account.profile.namePlaceholder": "Your name",
|
|
217
|
+
"pptx.account.profile.avatarColorLabel": "Avatar color",
|
|
218
|
+
"pptx.account.storage.title": "Storage & Privacy",
|
|
219
|
+
"pptx.account.storage.usage": "{{count}} saved presentation(s), {{size}} used",
|
|
220
|
+
"pptx.account.storage.usageEmpty": "No presentations saved locally yet.",
|
|
221
|
+
"pptx.account.storage.clear": "Clear local data",
|
|
222
|
+
"pptx.account.storage.clearConfirm": "This permanently deletes every locally saved presentation and recovery snapshot on this device. This cannot be undone. Continue?",
|
|
223
|
+
"pptx.account.storage.clearedNotice": "Local data cleared.",
|
|
224
|
+
"pptx.account.storage.privacyBlurb": "Your presentations and recovery history stay in your browser unless you explicitly share or download them.",
|
|
225
|
+
"pptx.account.about.title": "About",
|
|
226
|
+
"pptx.account.about.version": "Version {{version}}",
|
|
227
|
+
"pptx.account.signIn.title": "Sign in",
|
|
228
|
+
"pptx.account.signIn.description": "Sign in to sync your presentations and settings across devices.",
|
|
229
|
+
"pptx.account.signIn.button": "Sign in",
|
|
230
|
+
"pptx.account.signIn.signedInAs": "Signed in as {{name}}",
|
|
208
231
|
"pptx.sections.slides": "Slides",
|
|
209
232
|
"pptx.sections.collapsePane": "Collapse pane",
|
|
210
233
|
"pptx.sections.addSlide": "Add Slide",
|
|
@@ -2372,14 +2395,26 @@ var t = {
|
|
|
2372
2395
|
function e(t) {
|
|
2373
2396
|
return (t.split(".").pop() ?? t).replace(/(?<lower>[a-z])(?<upper>[A-Z])/gu, "$<lower> $<upper>").replace(/^./u, (t) => t.toUpperCase());
|
|
2374
2397
|
}
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2398
|
+
var p = [
|
|
2399
|
+
{
|
|
2400
|
+
code: "en",
|
|
2401
|
+
label: "English",
|
|
2402
|
+
nativeLabel: "English"
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
code: "fr",
|
|
2406
|
+
label: "French",
|
|
2407
|
+
nativeLabel: "Français"
|
|
2408
|
+
},
|
|
2409
|
+
{
|
|
2410
|
+
code: "es",
|
|
2411
|
+
label: "Spanish",
|
|
2412
|
+
nativeLabel: "Español"
|
|
2413
|
+
},
|
|
2414
|
+
{
|
|
2415
|
+
code: "de",
|
|
2416
|
+
label: "German",
|
|
2417
|
+
nativeLabel: "Deutsch"
|
|
2379
2418
|
}
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
get: function() {
|
|
2383
|
-
return t;
|
|
2384
|
-
}
|
|
2385
|
-
});
|
|
2419
|
+
];
|
|
2420
|
+
export { e as n, t as r, p as t };
|
|
Binary file
|
|
Binary file
|
|
@@ -205,6 +205,29 @@ var t = {
|
|
|
205
205
|
"pptx.settings.showRulers": "Show rulers",
|
|
206
206
|
"pptx.settings.snapToGrid": "Snap to grid",
|
|
207
207
|
"pptx.settings.reducedMotion": "Reduced motion",
|
|
208
|
+
"pptx.settings.appearance": "Appearance",
|
|
209
|
+
"pptx.settings.language": "Language",
|
|
210
|
+
"pptx.settings.theme.default": "Default",
|
|
211
|
+
"pptx.settings.theme.light": "Light",
|
|
212
|
+
"pptx.settings.theme.vermilionLight": "Vermilion Light",
|
|
213
|
+
"pptx.settings.theme.vermilionDark": "Vermilion Dark",
|
|
214
|
+
"pptx.account.profile.title": "Profile",
|
|
215
|
+
"pptx.account.profile.nameLabel": "Display name",
|
|
216
|
+
"pptx.account.profile.namePlaceholder": "Your name",
|
|
217
|
+
"pptx.account.profile.avatarColorLabel": "Avatar color",
|
|
218
|
+
"pptx.account.storage.title": "Storage & Privacy",
|
|
219
|
+
"pptx.account.storage.usage": "{{count}} saved presentation(s), {{size}} used",
|
|
220
|
+
"pptx.account.storage.usageEmpty": "No presentations saved locally yet.",
|
|
221
|
+
"pptx.account.storage.clear": "Clear local data",
|
|
222
|
+
"pptx.account.storage.clearConfirm": "This permanently deletes every locally saved presentation and recovery snapshot on this device. This cannot be undone. Continue?",
|
|
223
|
+
"pptx.account.storage.clearedNotice": "Local data cleared.",
|
|
224
|
+
"pptx.account.storage.privacyBlurb": "Your presentations and recovery history stay in your browser unless you explicitly share or download them.",
|
|
225
|
+
"pptx.account.about.title": "About",
|
|
226
|
+
"pptx.account.about.version": "Version {{version}}",
|
|
227
|
+
"pptx.account.signIn.title": "Sign in",
|
|
228
|
+
"pptx.account.signIn.description": "Sign in to sync your presentations and settings across devices.",
|
|
229
|
+
"pptx.account.signIn.button": "Sign in",
|
|
230
|
+
"pptx.account.signIn.signedInAs": "Signed in as {{name}}",
|
|
208
231
|
"pptx.sections.slides": "Slides",
|
|
209
232
|
"pptx.sections.collapsePane": "Collapse pane",
|
|
210
233
|
"pptx.sections.addSlide": "Add Slide",
|
|
@@ -2372,4 +2395,41 @@ var t = {
|
|
|
2372
2395
|
function e(t) {
|
|
2373
2396
|
return (t.split(".").pop() ?? t).replace(/(?<lower>[a-z])(?<upper>[A-Z])/gu, "$<lower> $<upper>").replace(/^./u, (t) => t.toUpperCase());
|
|
2374
2397
|
}
|
|
2375
|
-
|
|
2398
|
+
var p = [
|
|
2399
|
+
{
|
|
2400
|
+
code: "en",
|
|
2401
|
+
label: "English",
|
|
2402
|
+
nativeLabel: "English"
|
|
2403
|
+
},
|
|
2404
|
+
{
|
|
2405
|
+
code: "fr",
|
|
2406
|
+
label: "French",
|
|
2407
|
+
nativeLabel: "Français"
|
|
2408
|
+
},
|
|
2409
|
+
{
|
|
2410
|
+
code: "es",
|
|
2411
|
+
label: "Spanish",
|
|
2412
|
+
nativeLabel: "Español"
|
|
2413
|
+
},
|
|
2414
|
+
{
|
|
2415
|
+
code: "de",
|
|
2416
|
+
label: "German",
|
|
2417
|
+
nativeLabel: "Deutsch"
|
|
2418
|
+
}
|
|
2419
|
+
];
|
|
2420
|
+
Object.defineProperty(exports, "LOCALE_CATALOG", {
|
|
2421
|
+
enumerable: !0,
|
|
2422
|
+
get: function() {
|
|
2423
|
+
return p;
|
|
2424
|
+
}
|
|
2425
|
+
}), Object.defineProperty(exports, "keyToLabel", {
|
|
2426
|
+
enumerable: !0,
|
|
2427
|
+
get: function() {
|
|
2428
|
+
return e;
|
|
2429
|
+
}
|
|
2430
|
+
}), Object.defineProperty(exports, "translationsEn", {
|
|
2431
|
+
enumerable: !0,
|
|
2432
|
+
get: function() {
|
|
2433
|
+
return t;
|
|
2434
|
+
}
|
|
2435
|
+
});
|
|
Binary file
|
|
Binary file
|
package/dist/i18n.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("./i18n-
|
|
2
|
+
const e = require("./i18n-F0JF8XNP.cjs");
|
|
3
3
|
function t(e) {
|
|
4
4
|
const t = {};
|
|
5
5
|
for (const [n, o] of Object.entries(e)) t[n] = o.replace(/\{\{(?<name>\w+)\}\}/gu, "{$<name>}");
|
|
6
6
|
return t;
|
|
7
7
|
}
|
|
8
8
|
var n = t(e.translationsEn);
|
|
9
|
-
exports.keyToLabel = e.keyToLabel, exports.toVueI18nSyntax = t, exports.translationsEn = n;
|
|
9
|
+
exports.LOCALE_CATALOG = e.LOCALE_CATALOG, exports.keyToLabel = e.keyToLabel, exports.toVueI18nSyntax = t, exports.translationsEn = n;
|
package/dist/i18n.cjs.br
CHANGED
|
Binary file
|
package/dist/i18n.cjs.gz
CHANGED
|
Binary file
|
package/dist/i18n.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { keyToLabel, TranslationKey } from 'pptx-viewer-shared/i18n';
|
|
2
|
-
export type { TranslationKey };
|
|
1
|
+
import { keyToLabel, LOCALE_CATALOG, LocaleCatalogEntry, TranslationKey } from 'pptx-viewer-shared/i18n';
|
|
2
|
+
export type { LocaleCatalogEntry, TranslationKey };
|
|
3
|
+
export { LOCALE_CATALOG };
|
|
3
4
|
/**
|
|
4
5
|
* vue-i18n's message compiler only supports single-brace `{var}` named
|
|
5
6
|
* interpolation and throws a fatal "Not allowed nest placeholder" parse
|
package/dist/i18n.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../src/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../src/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,UAAU,EACV,cAAc,EAEd,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAElF,YAAY,EAAE,kBAAkB,EAAE,cAAc,EAAE,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAMxF;AAED,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAyC,CAAC;AAC5F,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/i18n.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n, t as e } from "./i18n-
|
|
2
|
-
function
|
|
3
|
-
const
|
|
4
|
-
for (const [
|
|
5
|
-
return
|
|
1
|
+
import { n, r, t as e } from "./i18n-CnaYA09j.js";
|
|
2
|
+
function t(n) {
|
|
3
|
+
const r = {};
|
|
4
|
+
for (const [e, t] of Object.entries(n)) r[e] = t.replace(/\{\{(?<name>\w+)\}\}/gu, "{$<name>}");
|
|
5
|
+
return r;
|
|
6
6
|
}
|
|
7
|
-
var
|
|
8
|
-
export { e as keyToLabel,
|
|
7
|
+
var o = t(r);
|
|
8
|
+
export { e as LOCALE_CATALOG, n as keyToLabel, t as toVueI18nSyntax, o as translationsEn };
|
package/dist/i18n.js.br
CHANGED
|
Binary file
|
package/dist/i18n.js.gz
CHANGED
|
Binary file
|
package/dist/index.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("./useViewerSettingsDialog
|
|
2
|
+
const e = require("./useViewerSettingsDialog--9WzSA9C.cjs"), o = require("./viewer-CcJb5Fpw.cjs");
|
|
3
3
|
exports.AUDIENCE_HASH = o.AUDIENCE_HASH, exports.CollaborationCursors = o.CollaborationCursors_default, exports.CollaborationStatusIndicator = o.CollaborationStatusIndicator_default, exports.ElementRenderer = o.ElementRenderer_default, exports.FollowModeBar = o.FollowModeBar_default, exports.PowerPointViewer = o.PowerPointViewer_default, exports.RemoteSelectionOverlay = o.RemoteSelectionOverlay_default, exports.SlideCanvas = o.SlideCanvas_default, exports.SlideStage = o.SlideStage_default, exports.clearAudienceContent = o.clearAudienceContent, exports.cn = o.cn, exports.defaultCssVars = e.defaultCssVars, exports.defaultRadius = e.defaultRadius, exports.defaultThemeColors = e.defaultThemeColors, exports.exportAllSlidesToSvg = e.exportAllSlidesToSvg, exports.exportAllSlidesToSvgBlobs = e.exportAllSlidesToSvgBlobs, exports.exportSlideToSvg = e.exportSlideToSvg, exports.exportSlideToSvgBlob = e.exportSlideToSvgBlob, exports.isAudienceTab = o.isAudienceTab, exports.loadAudienceContent = o.loadAudienceContent, exports.parsePresentationSessionId = e.parsePresentationSessionId, exports.provideViewerTheme = o.provideViewerTheme, exports.storeAudienceContent = o.storeAudienceContent, exports.themeToCssVars = e.themeToCssVars, exports.useCollaboration = e.useCollaboration, exports.useCollaborationWiring = e.useCollaborationWiring, exports.useThemeStyle = o.useThemeStyle, exports.useViewerTheme = o.useViewerTheme, exports.vermilionDarkColors = e.vermilionDarkColors, exports.vermilionDarkTheme = e.vermilionDarkTheme, exports.vermilionLightColors = e.vermilionLightColors, exports.vermilionLightTheme = e.vermilionLightTheme, exports.vermilionRadius = e.vermilionRadius;
|
package/dist/index.cjs.br
CHANGED
|
Binary file
|
package/dist/index.cjs.gz
CHANGED
|
Binary file
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { PowerPointViewer, SlideCanvas, SlideStage, ElementRenderer, CollaborationCursors, CollaborationStatusIndicator, RemoteSelectionOverlay, FollowModeBar, useCollaboration, useCollaborationWiring, exportSlideToSvg, exportSlideToSvgBlob, exportAllSlidesToSvg, exportAllSlidesToSvgBlobs, } from './viewer';
|
|
2
2
|
export type { PowerPointViewerProps, PowerPointViewerEmits, PowerPointViewerExpose, CollaborationConfig, CollaborationRole, CanvasSize, RemoteCursor, RemotePresence, RemoteSelectionBox, UseCollaborationOptions, UseCollaborationResult, UseCollaborationWiringInput, UseCollaborationWiringResult, SvgExportSingleSlideOptions, SvgExportAllOptions, } from './viewer';
|
|
3
|
-
export type { ViewerMode, PowerPointViewerAPI } from 'pptx-viewer-shared';
|
|
3
|
+
export type { ViewerMode, PowerPointViewerAPI, ToolbarActionId, ToolbarButtonId, ToolbarTabId, } from 'pptx-viewer-shared';
|
|
4
4
|
export { AUDIENCE_HASH, isAudienceTab, storeAudienceContent, loadAudienceContent, clearAudienceContent, } from './viewer';
|
|
5
5
|
export { parsePresentationSessionId } from 'pptx-viewer-shared';
|
|
6
6
|
export { cn } from './utils';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACN,gBAAgB,EAChB,WAAW,EACX,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,4BAA4B,EAC5B,sBAAsB,EACtB,aAAa,EACb,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,GACzB,MAAM,UAAU,CAAC;AAClB,YAAY,EACX,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,UAAU,EACV,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,4BAA4B,EAC5B,2BAA2B,EAC3B,mBAAmB,GACnB,MAAM,UAAU,CAAC;AAGlB,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACN,gBAAgB,EAChB,WAAW,EACX,UAAU,EACV,eAAe,EACf,oBAAoB,EACpB,4BAA4B,EAC5B,sBAAsB,EACtB,aAAa,EACb,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,EAChB,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,GACzB,MAAM,UAAU,CAAC;AAClB,YAAY,EACX,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,UAAU,EACV,YAAY,EACZ,cAAc,EACd,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,4BAA4B,EAC5B,2BAA2B,EAC3B,mBAAmB,GACnB,MAAM,UAAU,CAAC;AAGlB,YAAY,EACX,UAAU,EACV,mBAAmB,EACnB,eAAe,EACf,eAAe,EACf,YAAY,GACZ,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACN,aAAa,EACb,aAAa,EACb,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,GACpB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAGhE,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;AAG7B,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAC9D,OAAO,EACN,kBAAkB,EAClB,aAAa,EACb,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,eAAe,GACf,MAAM,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as
|
|
3
|
-
export {
|
|
1
|
+
import { C as a, Di as s, Ei as o, Go as e, Ko as r, Ro as i, S as t, Uo as l, Wo as n, at as S, b as d, it as m, ki as w, qo as C, ro as p, x as b } from "./useViewerSettingsDialog-F-cKHwL2.js";
|
|
2
|
+
import { A as c, M as f, O as g, a as j, c as u, d as v, f as R, i as k, j as x, k as D, l as E, n as M, o as O, p as P, r as V, s as q, t as y } from "./viewer-8lQirLGh.js";
|
|
3
|
+
export { k as AUDIENCE_HASH, D as CollaborationCursors, g as CollaborationStatusIndicator, P as ElementRenderer, v as FollowModeBar, y as PowerPointViewer, V as RemoteSelectionOverlay, M as SlideCanvas, R as SlideStage, j as clearAudienceContent, E as cn, o as defaultCssVars, s as defaultRadius, w as defaultThemeColors, d as exportAllSlidesToSvg, b as exportAllSlidesToSvgBlobs, t as exportSlideToSvg, a as exportSlideToSvgBlob, O as isAudienceTab, q as loadAudienceContent, p as parsePresentationSessionId, c as provideViewerTheme, u as storeAudienceContent, i as themeToCssVars, S as useCollaboration, m as useCollaborationWiring, x as useThemeStyle, f as useViewerTheme, l as vermilionDarkColors, n as vermilionDarkTheme, e as vermilionLightColors, r as vermilionLightTheme, C as vermilionRadius };
|
package/dist/index.js.br
CHANGED
|
Binary file
|
package/dist/index.js.gz
CHANGED
|
Binary file
|