pptx-vue-viewer 1.17.1 → 1.19.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 +8 -0
- package/README.md +2 -2
- package/dist/composables-unstable.cjs +10 -62
- package/dist/composables-unstable.cjs.br +0 -0
- package/dist/composables-unstable.cjs.gz +0 -0
- package/dist/composables-unstable.js +8 -62
- package/dist/composables-unstable.js.br +0 -0
- package/dist/composables-unstable.js.gz +0 -0
- package/dist/dist-BeU-Xk9e.cjs +65335 -0
- package/dist/dist-BeU-Xk9e.cjs.br +0 -0
- package/dist/dist-BeU-Xk9e.cjs.gz +0 -0
- package/dist/dist-C4ONEm7a.js +64929 -0
- package/dist/dist-C4ONEm7a.js.br +0 -0
- package/dist/dist-C4ONEm7a.js.gz +0 -0
- package/dist/gif-encoder-roYEJr-T.cjs +2 -0
- package/dist/gif-encoder-roYEJr-T.cjs.br +0 -0
- package/dist/gif-encoder-roYEJr-T.cjs.gz +0 -0
- package/dist/gif-encoder-x3k1sOGn.js +2 -0
- package/dist/gif-encoder-x3k1sOGn.js.br +0 -0
- package/dist/gif-encoder-x3k1sOGn.js.gz +0 -0
- package/dist/{i18n-BR22H-eU.cjs → i18n-Bj26NRJG.cjs} +7 -0
- package/dist/i18n-Bj26NRJG.cjs.br +0 -0
- package/dist/i18n-Bj26NRJG.cjs.gz +0 -0
- package/dist/{i18n-Ce7Lc34J.js → i18n-dsaVECo9.js} +7 -0
- package/dist/i18n-dsaVECo9.js.br +0 -0
- package/dist/i18n-dsaVECo9.js.gz +0 -0
- package/dist/i18n.cjs +1 -1
- package/dist/i18n.cjs.br +0 -0
- package/dist/i18n.cjs.gz +0 -0
- package/dist/i18n.js +1 -1
- package/dist/i18n.js.br +1 -2
- package/dist/i18n.js.gz +0 -0
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.br +0 -0
- package/dist/index.cjs.gz +0 -0
- package/dist/index.d.ts +3 -2
- 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/{useViewerSettingsDialog-4Q87MwFy.cjs → useViewerSettingsDialog-B_XQk-63.cjs} +6493 -4189
- package/dist/useViewerSettingsDialog-B_XQk-63.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-B_XQk-63.cjs.gz +0 -0
- package/dist/{useViewerSettingsDialog-B_SUoVkv.js → useViewerSettingsDialog-DokVPkyv.js} +6097 -4029
- package/dist/useViewerSettingsDialog-DokVPkyv.js.br +0 -0
- package/dist/useViewerSettingsDialog-DokVPkyv.js.gz +0 -0
- package/dist/viewer/PowerPointViewer.vue.d.ts.map +1 -1
- package/dist/viewer/components/ElementImageBox.vue.d.ts.map +1 -1
- package/dist/viewer/components/ElementRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/FontEmbeddingPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/HandoutMasterCanvas.vue.d.ts +13 -0
- package/dist/viewer/components/HandoutMasterCanvas.vue.d.ts.map +1 -0
- package/dist/viewer/components/HandoutMasterPanel.vue.d.ts +2 -0
- package/dist/viewer/components/HandoutMasterPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/InkRenderer.vue.d.ts +4 -2
- package/dist/viewer/components/InkRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/MasterViewSidebar.vue.d.ts +4 -0
- package/dist/viewer/components/MasterViewSidebar.vue.d.ts.map +1 -1
- package/dist/viewer/components/MobileMenuSheet.vue.d.ts.map +1 -1
- package/dist/viewer/components/MobileSheet.vue.d.ts.map +1 -1
- package/dist/viewer/components/ModalDialog.vue.d.ts.map +1 -1
- package/dist/viewer/components/NotesMasterCanvas.vue.d.ts +14 -0
- package/dist/viewer/components/NotesMasterCanvas.vue.d.ts.map +1 -0
- package/dist/viewer/components/NotesMasterPanel.vue.d.ts +5 -1
- package/dist/viewer/components/NotesMasterPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/PasswordProtectionDialog.vue.d.ts.map +1 -1
- package/dist/viewer/components/PresentationMode.vue.d.ts +5 -1
- package/dist/viewer/components/PresentationMode.vue.d.ts.map +1 -1
- package/dist/viewer/components/PresentationSubtitleBar.vue.d.ts +9 -0
- package/dist/viewer/components/PresentationSubtitleBar.vue.d.ts.map +1 -1
- package/dist/viewer/components/PresenterControlStrip.vue.d.ts +31 -0
- package/dist/viewer/components/PresenterControlStrip.vue.d.ts.map +1 -0
- package/dist/viewer/components/PresenterSlideGrid.vue.d.ts +18 -0
- package/dist/viewer/components/PresenterSlideGrid.vue.d.ts.map +1 -0
- package/dist/viewer/components/PresenterView.vue.d.ts +17 -4
- package/dist/viewer/components/PresenterView.vue.d.ts.map +1 -1
- package/dist/viewer/components/RehearseTimingsHud.vue.d.ts +24 -0
- package/dist/viewer/components/RehearseTimingsHud.vue.d.ts.map +1 -0
- package/dist/viewer/components/RehearseTimingsSummary.vue.d.ts +13 -0
- package/dist/viewer/components/RehearseTimingsSummary.vue.d.ts.map +1 -0
- package/dist/viewer/components/SettingsDialog.vue.d.ts +2 -2
- package/dist/viewer/components/ShareDialog.vue.d.ts.map +1 -1
- package/dist/viewer/components/SlideMastersList.vue.d.ts.map +1 -1
- package/dist/viewer/components/SlideStage.vue.d.ts.map +1 -1
- package/dist/viewer/components/SlideTextBlock.vue.d.ts.map +1 -1
- package/dist/viewer/components/SlidesPaneSidebar.vue.d.ts.map +1 -1
- package/dist/viewer/components/ZoomRenderer.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/ActionSettingsPanel.vue.d.ts +17 -0
- package/dist/viewer/components/inspector/ActionSettingsPanel.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/AnimationEditorControls.vue.d.ts +17 -0
- package/dist/viewer/components/inspector/AnimationEditorControls.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/AnimationPanel.vue.d.ts +8 -25
- package/dist/viewer/components/inspector/AnimationPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/AnimationTimeline.vue.d.ts +14 -0
- package/dist/viewer/components/inspector/AnimationTimeline.vue.d.ts.map +1 -0
- package/dist/viewer/components/inspector/InspectorPane.vue.d.ts +7 -1
- package/dist/viewer/components/inspector/InspectorPane.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/MediaPropertiesPanel.vue.d.ts +1 -0
- package/dist/viewer/components/inspector/MediaPropertiesPanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/SlideThemeOverridePanel.vue.d.ts.map +1 -1
- package/dist/viewer/components/inspector/animation-panel-model.d.ts +9 -0
- package/dist/viewer/components/inspector/animation-panel-model.d.ts.map +1 -0
- package/dist/viewer/components/inspector/animation-preview-player.d.ts +4 -0
- package/dist/viewer/components/inspector/animation-preview-player.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/FileSection.vue.d.ts +2 -20
- package/dist/viewer/components/ribbon/FileSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/InsertSection.vue.d.ts +1 -0
- package/dist/viewer/components/ribbon/InsertSection.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/RecordSection.vue.d.ts +8 -0
- package/dist/viewer/components/ribbon/RecordSection.vue.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/RibbonToolbar.vue.d.ts.map +1 -1
- package/dist/viewer/components/ribbon/file-section-icons.d.ts +4 -0
- package/dist/viewer/components/ribbon/file-section-icons.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/file-section-types.d.ts +25 -0
- package/dist/viewer/components/ribbon/file-section-types.d.ts.map +1 -0
- package/dist/viewer/components/ribbon/ribbon-types.d.ts +4 -0
- package/dist/viewer/components/ribbon/ribbon-types.d.ts.map +1 -1
- package/dist/viewer/components/viewer-settings.d.ts +5 -53
- package/dist/viewer/components/viewer-settings.d.ts.map +1 -1
- package/dist/viewer/composables/animation-persistence.d.ts +4 -0
- package/dist/viewer/composables/animation-persistence.d.ts.map +1 -0
- package/dist/viewer/composables/audience-content-store.d.ts +3 -3
- package/dist/viewer/composables/audience-content-store.d.ts.map +1 -1
- package/dist/viewer/composables/index.d.ts +4 -0
- package/dist/viewer/composables/index.d.ts.map +1 -1
- package/dist/viewer/composables/package-sharing.d.ts +3 -0
- package/dist/viewer/composables/package-sharing.d.ts.map +1 -0
- package/dist/viewer/composables/ribbon-props-actions.d.ts +9 -6
- package/dist/viewer/composables/ribbon-props-actions.d.ts.map +1 -1
- package/dist/viewer/composables/ribbon-props-types.d.ts +9 -0
- package/dist/viewer/composables/ribbon-props-types.d.ts.map +1 -1
- package/dist/viewer/composables/useAnimationPlayback.d.ts +2 -0
- package/dist/viewer/composables/useAnimationPlayback.d.ts.map +1 -1
- package/dist/viewer/composables/useDocumentStatistics.d.ts +4 -52
- package/dist/viewer/composables/useDocumentStatistics.d.ts.map +1 -1
- package/dist/viewer/composables/useElementInsertion.d.ts +1 -0
- package/dist/viewer/composables/useElementInsertion.d.ts.map +1 -1
- package/dist/viewer/composables/useExportWiring.d.ts +2 -0
- package/dist/viewer/composables/useExportWiring.d.ts.map +1 -1
- package/dist/viewer/composables/useFontEmbedding.d.ts.map +1 -1
- package/dist/viewer/composables/useLoadContent.d.ts.map +1 -1
- package/dist/viewer/composables/usePresentationModeWiring.d.ts.map +1 -1
- package/dist/viewer/composables/usePresenterSession.d.ts +79 -0
- package/dist/viewer/composables/usePresenterSession.d.ts.map +1 -0
- package/dist/viewer/composables/usePrint.d.ts +6 -4
- package/dist/viewer/composables/usePrint.d.ts.map +1 -1
- package/dist/viewer/composables/useRehearseTimings.d.ts +2 -0
- package/dist/viewer/composables/useRehearseTimings.d.ts.map +1 -1
- package/dist/viewer/composables/useRibbonProps.d.ts +3 -4
- package/dist/viewer/composables/useRibbonProps.d.ts.map +1 -1
- package/dist/viewer/composables/useRibbonUiState.d.ts +2 -0
- package/dist/viewer/composables/useRibbonUiState.d.ts.map +1 -1
- package/dist/viewer/composables/useSectionOperations.d.ts +2 -8
- package/dist/viewer/composables/useSectionOperations.d.ts.map +1 -1
- package/dist/viewer/composables/useVersionHistoryWiring.d.ts +1 -0
- package/dist/viewer/composables/useVersionHistoryWiring.d.ts.map +1 -1
- package/dist/viewer/composables/useViewerSettingsDialog.d.ts +9 -1
- package/dist/viewer/composables/useViewerSettingsDialog.d.ts.map +1 -1
- package/dist/viewer/export-svg.d.ts +12 -0
- package/dist/viewer/export-svg.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.d.ts +8 -0
- package/dist/viewer/index.d.ts.map +1 -1
- 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 +3 -1
- package/dist/viewer/types.d.ts.map +1 -1
- package/dist/{viewer-CpHqUi16.cjs → viewer-C3XDJDkA.cjs} +6145 -4373
- package/dist/viewer-C3XDJDkA.cjs.br +0 -0
- package/dist/viewer-C3XDJDkA.cjs.gz +0 -0
- package/dist/viewer-uMi8jbrm.js +23700 -0
- package/dist/viewer-uMi8jbrm.js.br +0 -0
- package/dist/viewer-uMi8jbrm.js.gz +0 -0
- package/package.json +1 -1
- package/dist/dist-BlFqSet9.js +0 -51398
- package/dist/dist-BlFqSet9.js.br +0 -0
- package/dist/dist-BlFqSet9.js.gz +0 -0
- package/dist/dist-BrxEgUUb.cjs +0 -51799
- package/dist/dist-BrxEgUUb.cjs.br +0 -0
- package/dist/dist-BrxEgUUb.cjs.gz +0 -0
- package/dist/gif-encoder-BUQpfVOi.cjs +0 -2
- package/dist/gif-encoder-BUQpfVOi.cjs.br +0 -0
- package/dist/gif-encoder-BUQpfVOi.cjs.gz +0 -0
- package/dist/gif-encoder-pgAcu8Mi.js +0 -2
- package/dist/gif-encoder-pgAcu8Mi.js.br +0 -0
- package/dist/gif-encoder-pgAcu8Mi.js.gz +0 -0
- package/dist/i18n-BR22H-eU.cjs.br +0 -0
- package/dist/i18n-BR22H-eU.cjs.gz +0 -0
- package/dist/i18n-Ce7Lc34J.js.br +0 -0
- package/dist/i18n-Ce7Lc34J.js.gz +0 -0
- package/dist/useViewerSettingsDialog-4Q87MwFy.cjs.br +0 -0
- package/dist/useViewerSettingsDialog-4Q87MwFy.cjs.gz +0 -0
- package/dist/useViewerSettingsDialog-B_SUoVkv.js.br +0 -0
- package/dist/useViewerSettingsDialog-B_SUoVkv.js.gz +0 -0
- package/dist/viewer-CASQbUfq.js +0 -21948
- package/dist/viewer-CASQbUfq.js.br +0 -0
- package/dist/viewer-CASQbUfq.js.gz +0 -0
- package/dist/viewer-CpHqUi16.cjs.br +0 -0
- package/dist/viewer-CpHqUi16.cjs.gz +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ 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.18.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.18.0) - 2026-07-16
|
|
8
|
+
|
|
9
|
+
### Documentation
|
|
10
|
+
|
|
11
|
+
- **packages:** Add package-specific readme visuals (by @ChristopherVR) ([9e20f13](https://github.com/ChristopherVR/pptx-viewer/commit/9e20f133dc8f21db75a1ca5e46e77c0af3c96d66))
|
|
12
|
+
|
|
13
|
+
## [1.17.1](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.17.1) - 2026-07-15
|
|
14
|
+
|
|
7
15
|
## [1.17.0](https://github.com/ChristopherVR/pptx-viewer/releases/tag/pptx-vue-viewer@1.17.0) - 2026-07-13
|
|
8
16
|
|
|
9
17
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Vue 3 app: no server, no conversion step, no PowerPoint install required. Drop
|
|
|
8
8
|
in a `<PowerPointViewer>` component, hand it the file's bytes, and it renders
|
|
9
9
|
slides as real HTML and CSS with full editing and export support.
|
|
10
10
|
|
|
11
|
-

|
|
12
12
|
|
|
13
13
|
The rendering is done by the framework-agnostic [`pptx-viewer-core`](https://www.npmjs.com/package/pptx-viewer-core) engine, which turns a `.pptx` file into a structured slide model. This package is the Vue layer that draws that model on screen, and the engine is **bundled in**, so you install just one package.
|
|
14
14
|
|
|
@@ -233,7 +233,7 @@ const i18n = createI18n({
|
|
|
233
233
|
});
|
|
234
234
|
```
|
|
235
235
|
|
|
236
|
-
Switch languages with `i18n.global.locale.value = 'fr'`. `pptx-vue-viewer/i18n` also exports a `TranslationKey` type for type-checking a new locale dictionary (`Record<TranslationKey, string>`) at compile time. See the [Localization guide](https://christophervr.github.io/pptx-viewer/guide/localization) for the full picture across all
|
|
236
|
+
Switch languages with `i18n.global.locale.value = 'fr'`. `pptx-vue-viewer/i18n` also exports a `TranslationKey` type for type-checking a new locale dictionary (`Record<TranslationKey, string>`) at compile time. See the [Localization guide](https://christophervr.github.io/pptx-viewer/guide/localization) for the full picture across all five viewer bindings and how to contribute a translation upstream; the live demo's language picker is a working reference.
|
|
237
237
|
|
|
238
238
|
## Limitations
|
|
239
239
|
|
|
@@ -1,82 +1,30 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const e = require("./useViewerSettingsDialog-
|
|
2
|
+
const e = require("./useViewerSettingsDialog-B_XQk-63.cjs");
|
|
3
3
|
let t = require("vue");
|
|
4
|
-
function s(e
|
|
5
|
-
if (null === e) return 0;
|
|
6
|
-
let r = s;
|
|
7
|
-
return null !== o && (r += t - o), Math.max(0, t - e - r);
|
|
8
|
-
}
|
|
9
|
-
function o(e) {
|
|
4
|
+
function s(e) {
|
|
10
5
|
const t = /* @__PURE__ */ new Set(), s = [];
|
|
11
6
|
for (const o of e) t.has(o) || (t.add(o), s.push(o));
|
|
12
7
|
return s;
|
|
13
8
|
}
|
|
14
|
-
exports.DEFAULT_MAX_VERSIONS = e.DEFAULT_MAX_VERSIONS, exports.ERASER_RADIUS = e.ERASER_RADIUS, exports.HIGHLIGHTER_OPACITY = e.HIGHLIGHTER_OPACITY, exports.HIGHLIGHTER_WIDTH = e.HIGHLIGHTER_WIDTH, exports.MOBILE_BREAKPOINT = e.MOBILE_BREAKPOINT, exports.MOBILE_LANDSCAPE_MAX_HEIGHT = e.MOBILE_LANDSCAPE_MAX_HEIGHT, exports.NUDGE_LARGE = e.NUDGE_LARGE, exports.NUDGE_SMALL = e.NUDGE_SMALL, exports.PEN_WIDTH = e.PEN_WIDTH, exports.RIBBON_ALIGN = e.RIBBON_ALIGN, exports.SHORTCUT_CATALOG = e.SHORTCUT_CATALOG, exports.SHORTCUT_GROUP_LABEL_KEYS = e.SHORTCUT_GROUP_LABEL_KEYS, exports.SMARTART_COLOR_SCHEMES = e.SMARTART_COLOR_SCHEMES, exports.SMARTART_STYLE_OPTIONS = e.SMARTART_STYLE_OPTIONS, exports.SmartArt3DKey = e.SmartArt3DKey, exports.TABLET_BREAKPOINT = e.TABLET_BREAKPOINT, exports.TableSelectionKey = e.TableSelectionKey, exports.buildClickGroups = e.buildClickGroups, exports.buildSearchRegex = e.buildSearchRegex, exports.buildStrokePathD = e.buildStrokePathD, exports.computeCellSelection = e.computeCellSelection, exports.computeDocumentStatistics = e.computeDocumentStatistics, exports.computeElapsed =
|
|
15
|
-
const
|
|
16
|
-
return `${String(s)}:${String(o).padStart(2, "0")}`;
|
|
17
|
-
}, exports.generateCommentId = e.generateCommentId, exports.groupShortcutCatalog = e.groupShortcutCatalog, exports.injectTableSelection = e.injectTableSelection, exports.inlineEditorRect = e.inlineEditorRect, exports.isMobileViewport = e.isMobileViewport, exports.nodeIdsInRenderOrder = e.nodeIdsInRenderOrder, exports.provideTableSelection = e.provideTableSelection, exports.replaceInElement = e.replaceInElement, exports.resolveShortcutAction = e.resolveShortcutAction, exports.smartArtLayoutLabel = e.smartArtLayoutLabel, exports.textNodeIdsInRenderOrder = e.textNodeIdsInRenderOrder, exports.toShapePreset = e.toShapePreset, exports.useAccessibility = e.useAccessibility, exports.useAlignGroup = e.useAlignGroup, exports.useAnimationPlayback = e.useAnimationPlayback, exports.useAutosave = e.useAutosave, exports.useChartEditing = e.useChartEditing, exports.useCollaboration = e.useCollaboration, exports.useCollaborationWiring = e.useCollaborationWiring, exports.useColorChangeImage = e.useColorChangeImage, exports.useComments = e.useComments, exports.useCommentsWiring = e.useCommentsWiring, exports.useContextMenu = e.useContextMenu, exports.useCustomShows = e.useCustomShows, exports.useCustomShowsWiring = e.useCustomShowsWiring, exports.useDebouncedCallback = e.useDebouncedCallback, exports.useDocumentPropertiesDialog = e.useDocumentPropertiesDialog, exports.useDocumentStatistics = e.useDocumentStatistics, exports.useEditorHistory = e.useEditorHistory, exports.useEditorKeyboard = e.useEditorKeyboard, exports.useEditorOperations = e.useEditorOperations, exports.useElementDrag = e.useElementDrag, exports.useElementInsertion = e.useElementInsertion, exports.useEmbeddedFonts = e.useEmbeddedFonts, exports.useExport = e.useExport, exports.useExportProgress = e.useExportProgress, exports.useExportWiring = e.useExportWiring, exports.useFindReplace = e.useFindReplace, exports.useFontEmbedding = e.useFontEmbedding, exports.useFormatPainter = e.useFormatPainter, exports.useHeaderFooterDialog = e.useHeaderFooterDialog, exports.useInkDrawing = e.useInkDrawing, exports.useInlineEditing = e.useInlineEditing, exports.useInsertElementDialogs = e.useInsertElementDialogs, exports.useIsMobile = e.useIsMobile, exports.useKeyboardInsets = e.useKeyboardInsets, exports.useKeyboardShortcuts = e.useKeyboardShortcuts, exports.useLoadContent = e.useLoadContent, exports.useMasterViewState = e.useMasterViewState, exports.useMediaExport = e.useMediaExport, exports.useMobileChrome = e.useMobileChrome, exports.useModel3dScene = e.useModel3dScene, exports.useMultiSelectOps = e.useMultiSelectOps, exports.usePasswordProtection = e.usePasswordProtection, exports.usePresentationAnnotations = e.usePresentationAnnotations, exports.usePresentationModeWiring = e.usePresentationModeWiring, exports.usePrint = e.usePrint, exports.useRehearseTimings = function(e = {}) {
|
|
18
|
-
const o = e.now ?? Date.now, r = e.tickIntervalMs ?? 250, u = (0, t.ref)(!1), n = (0, t.ref)(!1), i = (0, t.ref)(!1), a = (0, t.ref)({}), l = (0, t.ref)(null), p = (0, t.ref)(null);
|
|
19
|
-
let x = 0, c = null;
|
|
20
|
-
const d = (0, t.ref)(0);
|
|
21
|
-
let S = null;
|
|
22
|
-
function E() {
|
|
23
|
-
null !== S && (clearInterval(S), S = null);
|
|
24
|
-
}
|
|
25
|
-
function m() {
|
|
26
|
-
E(), "function" == typeof setInterval && (S = setInterval(() => {
|
|
27
|
-
d.value += 1;
|
|
28
|
-
}, r));
|
|
29
|
-
}
|
|
30
|
-
const g = (0, t.computed)(() => (d.value, u.value ? s(p.value, o(), x, c) : 0)), A = (0, t.computed)(() => (d.value, u.value ? s(l.value, o()) : 0)), I = (0, t.computed)(() => Object.values(a.value).reduce((e, t) => e + t, 0));
|
|
31
|
-
return (0, t.onScopeDispose)(E), {
|
|
32
|
-
rehearsing: u,
|
|
33
|
-
paused: n,
|
|
34
|
-
showSummary: i,
|
|
35
|
-
recordedTimings: a,
|
|
36
|
-
slideElapsedMs: g,
|
|
37
|
-
totalElapsedMs: A,
|
|
38
|
-
totalRecordedMs: I,
|
|
39
|
-
start: function() {
|
|
40
|
-
const e = o();
|
|
41
|
-
u.value = !0, n.value = !1, i.value = !1, a.value = {}, x = 0, c = null, l.value = e, p.value = e, m();
|
|
42
|
-
},
|
|
43
|
-
recordCurrentSlideTime: function(e) {
|
|
44
|
-
if (null === p.value) return;
|
|
45
|
-
const t = s(p.value, o(), x, c);
|
|
46
|
-
a.value = {
|
|
47
|
-
...a.value,
|
|
48
|
-
[e]: t
|
|
49
|
-
}, x = 0, c = n.value ? o() : null, p.value = o();
|
|
50
|
-
},
|
|
51
|
-
togglePause: function() {
|
|
52
|
-
d.value += 1, n.value ? (null !== c && (x += o() - c, c = null), n.value = !1, m()) : (c = o(), n.value = !0, E());
|
|
53
|
-
},
|
|
54
|
-
saveTimings: function() {
|
|
55
|
-
e.onSave?.(a.value), i.value = !1, u.value = !1, E();
|
|
56
|
-
},
|
|
57
|
-
dismissSummary: function() {
|
|
58
|
-
i.value = !1, u.value = !1, a.value = {}, E();
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
}, exports.useRibbonActions = e.useRibbonActions, exports.useRibbonProps = e.useRibbonProps, exports.useRibbonUiState = e.useRibbonUiState, exports.useSectionOperations = e.useSectionOperations, exports.useSelection = function(e = []) {
|
|
62
|
-
const s = (0, t.ref)(o(e)), r = (0, t.computed)(() => 0 === s.value.length);
|
|
9
|
+
exports.DEFAULT_MAX_VERSIONS = e.DEFAULT_MAX_VERSIONS, exports.ERASER_RADIUS = e.ERASER_RADIUS, exports.HIGHLIGHTER_OPACITY = e.HIGHLIGHTER_OPACITY, exports.HIGHLIGHTER_WIDTH = e.HIGHLIGHTER_WIDTH, exports.MOBILE_BREAKPOINT = e.MOBILE_BREAKPOINT, exports.MOBILE_LANDSCAPE_MAX_HEIGHT = e.MOBILE_LANDSCAPE_MAX_HEIGHT, exports.NUDGE_LARGE = e.NUDGE_LARGE, exports.NUDGE_SMALL = e.NUDGE_SMALL, exports.PEN_WIDTH = e.PEN_WIDTH, exports.RIBBON_ALIGN = e.RIBBON_ALIGN, exports.SHORTCUT_CATALOG = e.SHORTCUT_CATALOG, exports.SHORTCUT_GROUP_LABEL_KEYS = e.SHORTCUT_GROUP_LABEL_KEYS, exports.SMARTART_COLOR_SCHEMES = e.SMARTART_COLOR_SCHEMES, exports.SMARTART_STYLE_OPTIONS = e.SMARTART_STYLE_OPTIONS, exports.SmartArt3DKey = e.SmartArt3DKey, exports.TABLET_BREAKPOINT = e.TABLET_BREAKPOINT, exports.TableSelectionKey = e.TableSelectionKey, exports.buildClickGroups = e.buildClickGroups, exports.buildSearchRegex = e.buildSearchRegex, exports.buildStrokePathD = e.buildStrokePathD, exports.computeCellSelection = e.computeCellSelection, exports.computeDocumentStatistics = e.computeDocumentStatistics, exports.computeElapsed = e.computeElapsed, exports.countWords = e.countWords, exports.createStroke = e.createStroke, exports.eraseStrokesAtPoint = e.eraseStrokesAtPoint, exports.findMatches = e.findMatches, exports.formatRehearseMs = e.formatRehearseMs, exports.generateCommentId = e.generateCommentId, exports.groupShortcutCatalog = e.groupShortcutCatalog, exports.injectTableSelection = e.injectTableSelection, exports.inlineEditorRect = e.inlineEditorRect, exports.isMobileViewport = e.isMobileViewport, exports.nodeIdsInRenderOrder = e.nodeIdsInRenderOrder, exports.provideTableSelection = e.provideTableSelection, exports.replaceInElement = e.replaceInElement, exports.resolveShortcutAction = e.resolveShortcutAction, exports.smartArtLayoutLabel = e.smartArtLayoutLabel, exports.textNodeIdsInRenderOrder = e.textNodeIdsInRenderOrder, exports.toShapePreset = e.toShapePreset, exports.useAccessibility = e.useAccessibility, exports.useAlignGroup = e.useAlignGroup, exports.useAnimationPlayback = e.useAnimationPlayback, exports.useAutosave = e.useAutosave, exports.useChartEditing = e.useChartEditing, exports.useCollaboration = e.useCollaboration, exports.useCollaborationWiring = e.useCollaborationWiring, exports.useColorChangeImage = e.useColorChangeImage, exports.useComments = e.useComments, exports.useCommentsWiring = e.useCommentsWiring, exports.useContextMenu = e.useContextMenu, exports.useCustomShows = e.useCustomShows, exports.useCustomShowsWiring = e.useCustomShowsWiring, exports.useDebouncedCallback = e.useDebouncedCallback, exports.useDocumentPropertiesDialog = e.useDocumentPropertiesDialog, exports.useDocumentStatistics = e.useDocumentStatistics, exports.useEditorHistory = e.useEditorHistory, exports.useEditorKeyboard = e.useEditorKeyboard, exports.useEditorOperations = e.useEditorOperations, exports.useElementDrag = e.useElementDrag, exports.useElementInsertion = e.useElementInsertion, exports.useEmbeddedFonts = e.useEmbeddedFonts, exports.useExport = e.useExport, exports.useExportProgress = e.useExportProgress, exports.useExportWiring = e.useExportWiring, exports.useFindReplace = e.useFindReplace, exports.useFontEmbedding = e.useFontEmbedding, exports.useFormatPainter = e.useFormatPainter, exports.useHeaderFooterDialog = e.useHeaderFooterDialog, exports.useInkDrawing = e.useInkDrawing, exports.useInlineEditing = e.useInlineEditing, exports.useInsertElementDialogs = e.useInsertElementDialogs, exports.useIsMobile = e.useIsMobile, exports.useKeyboardInsets = e.useKeyboardInsets, exports.useKeyboardShortcuts = e.useKeyboardShortcuts, exports.useLoadContent = e.useLoadContent, exports.useMasterViewState = e.useMasterViewState, exports.useMediaExport = e.useMediaExport, exports.useMobileChrome = e.useMobileChrome, exports.useModel3dScene = e.useModel3dScene, exports.useMultiSelectOps = e.useMultiSelectOps, exports.usePasswordProtection = e.usePasswordProtection, exports.usePresentationAnnotations = e.usePresentationAnnotations, exports.usePresentationModeWiring = e.usePresentationModeWiring, exports.usePrint = e.usePrint, exports.useRehearseTimings = e.useRehearseTimings, exports.useRibbonActions = e.useRibbonActions, exports.useRibbonProps = e.useRibbonProps, exports.useRibbonUiState = e.useRibbonUiState, exports.useSectionOperations = e.useSectionOperations, exports.useSelection = function(e = []) {
|
|
10
|
+
const o = (0, t.ref)(s(e)), r = (0, t.computed)(() => 0 === o.value.length);
|
|
63
11
|
return {
|
|
64
|
-
selectedIds: (0, t.readonly)(
|
|
12
|
+
selectedIds: (0, t.readonly)(o),
|
|
65
13
|
isEmpty: r,
|
|
66
14
|
select: function(e, t = !1) {
|
|
67
|
-
t ?
|
|
15
|
+
t ? o.value.includes(e) || (o.value = [...o.value, e]) : 1 === o.value.length && o.value[0] === e || (o.value = [e]);
|
|
68
16
|
},
|
|
69
17
|
toggle: function(e) {
|
|
70
|
-
|
|
18
|
+
o.value.includes(e) ? o.value = o.value.filter((t) => t !== e) : o.value = [...o.value, e];
|
|
71
19
|
},
|
|
72
20
|
selectMany: function(e) {
|
|
73
|
-
|
|
21
|
+
o.value = s(e);
|
|
74
22
|
},
|
|
75
23
|
clear: function() {
|
|
76
|
-
|
|
24
|
+
o.value.length > 0 && (o.value = []);
|
|
77
25
|
},
|
|
78
26
|
isSelected: function(e) {
|
|
79
|
-
return
|
|
27
|
+
return o.value.includes(e);
|
|
80
28
|
}
|
|
81
29
|
};
|
|
82
30
|
}, exports.useSelectionPaneWiring = e.useSelectionPaneWiring, exports.useSheetDismissDrag = e.useSheetDismissDrag, exports.useSignatureWorkflow = e.useSignatureWorkflow, exports.useSignatures = e.useSignatures, exports.useSlideMutations = e.useSlideMutations, exports.useSlideOperations = e.useSlideOperations, exports.useSlideShowSettings = e.useSlideShowSettings, exports.useSmartArt3D = e.useSmartArt3D, exports.useSmartArtEditing = e.useSmartArtEditing, exports.useSmartArtFocus = e.useSmartArtFocus, exports.useSmartArtHoverRect = e.useSmartArtHoverRect, exports.useSmartArtInlineEditState = e.useSmartArtInlineEditState, exports.useSmartArtNodeEditContext = e.useSmartArtNodeEditContext, exports.useTableCellEditingContext = e.useTableCellEditingContext, exports.useTableCellSelection = e.useTableCellSelection, exports.useThemeEditing = e.useThemeEditing, exports.useToolbarAutoHide = e.useToolbarAutoHide, exports.useTouchGestures = e.useTouchGestures, exports.useVersionHistory = e.useVersionHistory, exports.useVersionHistoryWiring = e.useVersionHistoryWiring, exports.useViewerSettingsDialog = e.useViewerSettingsDialog;
|
|
Binary file
|
|
Binary file
|
|
@@ -1,63 +1,9 @@
|
|
|
1
|
-
import { $ as a, $t as s, A as t,
|
|
2
|
-
import { computed as
|
|
3
|
-
function ls(a) {
|
|
4
|
-
const s =
|
|
5
|
-
return `${String(t)}:${String(e).padStart(2, "0")}`;
|
|
6
|
-
}
|
|
7
|
-
function us(a, s, t = 0, e = null) {
|
|
8
|
-
if (null === a) return 0;
|
|
9
|
-
let l = t;
|
|
10
|
-
return null !== e && (l += s - e), Math.max(0, s - a - l);
|
|
11
|
-
}
|
|
12
|
-
function ns(a = {}) {
|
|
13
|
-
const s = a.now ?? Date.now, t = a.tickIntervalMs ?? 250, e = es(!1), l = es(!1), u = es(!1), n = es({}), v = es(null), o = es(null);
|
|
14
|
-
let r = 0, i = null;
|
|
15
|
-
const c = es(0);
|
|
16
|
-
let f = null;
|
|
17
|
-
function d() {
|
|
18
|
-
null !== f && (clearInterval(f), f = null);
|
|
19
|
-
}
|
|
20
|
-
function m() {
|
|
21
|
-
d(), "function" == typeof setInterval && (f = setInterval(() => {
|
|
22
|
-
c.value += 1;
|
|
23
|
-
}, t));
|
|
24
|
-
}
|
|
25
|
-
const g = as(() => (c.value, e.value ? us(o.value, s(), r, i) : 0)), h = as(() => (c.value, e.value ? us(v.value, s()) : 0)), p = as(() => Object.values(n.value).reduce((a, s) => a + s, 0));
|
|
26
|
-
return ss(d), {
|
|
27
|
-
rehearsing: e,
|
|
28
|
-
paused: l,
|
|
29
|
-
showSummary: u,
|
|
30
|
-
recordedTimings: n,
|
|
31
|
-
slideElapsedMs: g,
|
|
32
|
-
totalElapsedMs: h,
|
|
33
|
-
totalRecordedMs: p,
|
|
34
|
-
start: function() {
|
|
35
|
-
const a = s();
|
|
36
|
-
e.value = !0, l.value = !1, u.value = !1, n.value = {}, r = 0, i = null, v.value = a, o.value = a, m();
|
|
37
|
-
},
|
|
38
|
-
recordCurrentSlideTime: function(a) {
|
|
39
|
-
if (null === o.value) return;
|
|
40
|
-
const t = us(o.value, s(), r, i);
|
|
41
|
-
n.value = {
|
|
42
|
-
...n.value,
|
|
43
|
-
[a]: t
|
|
44
|
-
}, r = 0, i = l.value ? s() : null, o.value = s();
|
|
45
|
-
},
|
|
46
|
-
togglePause: function() {
|
|
47
|
-
c.value += 1, l.value ? (null !== i && (r += s() - i, i = null), l.value = !1, m()) : (i = s(), l.value = !0, d());
|
|
48
|
-
},
|
|
49
|
-
saveTimings: function() {
|
|
50
|
-
a.onSave?.(n.value), u.value = !1, e.value = !1, d();
|
|
51
|
-
},
|
|
52
|
-
dismissSummary: function() {
|
|
53
|
-
u.value = !1, e.value = !1, n.value = {}, d();
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
function vs(a = []) {
|
|
58
|
-
const s = es(os(a)), t = as(() => 0 === s.value.length);
|
|
1
|
+
import { $ as a, $t as s, A as t, At as e, B as n, Bt as u, Ct as l, D as c, Dt as i, E as o, Et as r, F as v, G as f, Gt as d, H as g, Ht as h, I as m, J as p, Jt as w, K as y, Kt as S, L as j, M as k, Mt as D, N as E, Nt as M, O as T, Ot as V, P as X, Q as Z, Qr as q, R as x, St as z, T as A, Tr as B, Tt as G, U as H, Ut as I, V as J, Vt as K, W as N, Wt as O, X as Q, Xn as U, Xt as W, Y, Yt as $, Z as _, Zn as b, Zt as C, _ as F, _t as L, a as P, an as R, at as aa, bt as sa, c as ta, cn as ea, cr as na, ct as ua, d as la, dt as ca, et as ia, f as oa, ft as ra, g as va, gi as fa, gt as da, h as ga, hn as ha, ht as ma, i as pa, in as wa, it as ya, j as Sa, jt as ja, k as ka, ka as Da, kt as Ea, l as Ma, ln as Ta, m as Va, mt as Xa, n as Za, nn as qa, nt as xa, o as za, on as Aa, ot as Ba, p as Ga, pt as Ha, q as Ia, qt as Ja, r as Ka, rn as Na, rt as Oa, s as Qa, sn as Ua, st as Wa, t as Ya, tt as $a, u as _a, v as ba, vt as Ca, w as Fa, wt as La, xt as Pa, y as Ra, yt as as, z as ss, zt as ts } from "./useViewerSettingsDialog-DokVPkyv.js";
|
|
2
|
+
import { computed as es, readonly as ns, ref as us } from "vue";
|
|
3
|
+
function ls(a = []) {
|
|
4
|
+
const s = us(cs(a)), t = es(() => 0 === s.value.length);
|
|
59
5
|
return {
|
|
60
|
-
selectedIds:
|
|
6
|
+
selectedIds: ns(s),
|
|
61
7
|
isEmpty: t,
|
|
62
8
|
select: function(a, t = !1) {
|
|
63
9
|
t ? s.value.includes(a) || (s.value = [...s.value, a]) : 1 === s.value.length && s.value[0] === a || (s.value = [a]);
|
|
@@ -66,7 +12,7 @@ function vs(a = []) {
|
|
|
66
12
|
s.value.includes(a) ? s.value = s.value.filter((s) => s !== a) : s.value = [...s.value, a];
|
|
67
13
|
},
|
|
68
14
|
selectMany: function(a) {
|
|
69
|
-
s.value =
|
|
15
|
+
s.value = cs(a);
|
|
70
16
|
},
|
|
71
17
|
clear: function() {
|
|
72
18
|
s.value.length > 0 && (s.value = []);
|
|
@@ -76,9 +22,9 @@ function vs(a = []) {
|
|
|
76
22
|
}
|
|
77
23
|
};
|
|
78
24
|
}
|
|
79
|
-
function
|
|
25
|
+
function cs(a) {
|
|
80
26
|
const s = /* @__PURE__ */ new Set(), t = [];
|
|
81
27
|
for (const e of a) s.has(e) || (s.add(e), t.push(e));
|
|
82
28
|
return t;
|
|
83
29
|
}
|
|
84
|
-
export {
|
|
30
|
+
export { Ka as DEFAULT_MAX_VERSIONS, La as ERASER_RADIUS, G as HIGHLIGHTER_OPACITY, r as HIGHLIGHTER_WIDTH, U as MOBILE_BREAKPOINT, b as MOBILE_LANDSCAPE_MAX_HEIGHT, ra as NUDGE_LARGE, Ha as NUDGE_SMALL, i as PEN_WIDTH, va as RIBBON_ALIGN, Xa as SHORTCUT_CATALOG, ma as SHORTCUT_GROUP_LABEL_KEYS, u as SMARTART_COLOR_SCHEMES, K as SMARTART_STYLE_OPTIONS, ea as SmartArt3DKey, na as TABLET_BREAKPOINT, Ja as TableSelectionKey, B as buildClickGroups, j as buildSearchRegex, V as buildStrokePathD, w as computeCellSelection, q as computeDocumentStatistics, as as computeElapsed, fa as countWords, Ea as createStroke, e as eraseStrokesAtPoint, x as findMatches, sa as formatRehearseMs, xa as generateCommentId, da as groupShortcutCatalog, $ as injectTableSelection, qa as inlineEditorRect, Da as isMobileViewport, Na as nodeIdsInRenderOrder, W as provideTableSelection, ss as replaceInElement, L as resolveShortcutAction, h as smartArtLayoutLabel, wa as textNodeIdsInRenderOrder, F as toShapePreset, ua as useAccessibility, Wa as useAlignGroup, M as useAnimationPlayback, Ba as useAutosave, d as useChartEditing, aa as useCollaboration, ya as useCollaborationWiring, Ua as useColorChangeImage, Oa as useComments, $a as useCommentsWiring, ia as useContextMenu, a as useCustomShows, Z as useCustomShowsWiring, O as useDebouncedCallback, _ as useDocumentPropertiesDialog, S as useDocumentStatistics, Q as useEditorHistory, Y as useEditorKeyboard, p as useEditorOperations, Ia as useElementDrag, y as useElementInsertion, f as useEmbeddedFonts, N as useExport, H as useExportProgress, J as useExportWiring, n as useFindReplace, m as useFontEmbedding, v as useFormatPainter, X as useHeaderFooterDialog, E as useInkDrawing, k as useInlineEditing, Sa as useInsertElementDialogs, D as useIsMobile, t as useKeyboardInsets, Ca as useKeyboardShortcuts, ka as useLoadContent, T as useMasterViewState, g as useMediaExport, c as useMobileChrome, Aa as useModel3dScene, o as useMultiSelectOps, A as usePasswordProtection, ja as usePresentationAnnotations, Fa as usePresentationModeWiring, Ra as usePrint, Pa as useRehearseTimings, ba as useRibbonActions, ga as useRibbonProps, Va as useRibbonUiState, Ga as useSectionOperations, ls as useSelection, oa as useSelectionPaneWiring, ha as useSheetDismissDrag, la as useSignatureWorkflow, ca as useSignatures, _a as useSlideMutations, Ma as useSlideOperations, ta as useSlideShowSettings, Ta as useSmartArt3D, ts as useSmartArtEditing, I as useSmartArtFocus, s as useSmartArtHoverRect, R as useSmartArtInlineEditState, Qa as useSmartArtNodeEditContext, za as useTableCellEditingContext, C as useTableCellSelection, P as useThemeEditing, l as useToolbarAutoHide, z as useTouchGestures, pa as useVersionHistory, Za as useVersionHistoryWiring, Ya as useViewerSettingsDialog };
|
|
Binary file
|
|
Binary file
|