pptx-react-viewer 1.24.0 → 1.25.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.
Files changed (92) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +46 -21
  3. package/dist/{Model3DScene-RD4XEC3F.js → Model3DScene-G434BPF4.js} +2 -2
  4. package/dist/Model3DScene-G434BPF4.js.br +0 -0
  5. package/dist/Model3DScene-G434BPF4.js.gz +0 -0
  6. package/dist/{Model3DScene-QTNGCODM.mjs → Model3DScene-GGNUAOGD.mjs} +1 -1
  7. package/dist/Model3DScene-GGNUAOGD.mjs.br +0 -0
  8. package/dist/Model3DScene-GGNUAOGD.mjs.gz +0 -0
  9. package/dist/PowerPointViewer-CnADroqZ.d.ts.map +1 -1
  10. package/dist/{SurfaceChart3DScene-VKS3ELTU.mjs → SurfaceChart3DScene-JU737NN5.mjs} +1 -1
  11. package/dist/SurfaceChart3DScene-JU737NN5.mjs.br +0 -0
  12. package/dist/SurfaceChart3DScene-JU737NN5.mjs.gz +0 -0
  13. package/dist/{SurfaceChart3DScene-YR3GX4X6.js → SurfaceChart3DScene-UFFJ3P6T.js} +2 -2
  14. package/dist/{SurfaceChart3DScene-YR3GX4X6.js.br → SurfaceChart3DScene-UFFJ3P6T.js.br} +0 -0
  15. package/dist/SurfaceChart3DScene-UFFJ3P6T.js.gz +0 -0
  16. package/dist/{chunk-ZISXRMDJ.js → chunk-2EFVXYNA.js} +187 -1
  17. package/dist/chunk-2EFVXYNA.js.br +0 -0
  18. package/dist/{chunk-ZISXRMDJ.js.gz → chunk-2EFVXYNA.js.gz} +0 -0
  19. package/dist/{chunk-3YMK5VLS.js → chunk-EM77GISR.js} +1675 -1033
  20. package/dist/chunk-EM77GISR.js.br +0 -0
  21. package/dist/chunk-EM77GISR.js.gz +0 -0
  22. package/dist/{chunk-GKST4OS7.js → chunk-IHHK6WEQ.js} +555 -446
  23. package/dist/chunk-IHHK6WEQ.js.br +0 -0
  24. package/dist/chunk-IHHK6WEQ.js.gz +0 -0
  25. package/dist/{chunk-E3KJKCSV.mjs → chunk-M3SIFXWD.mjs} +187 -1
  26. package/dist/chunk-M3SIFXWD.mjs.br +0 -0
  27. package/dist/{chunk-E3KJKCSV.mjs.gz → chunk-M3SIFXWD.mjs.gz} +0 -0
  28. package/dist/{chunk-PUQ6GIOM.mjs → chunk-NKSIDFYP.mjs} +972 -330
  29. package/dist/chunk-NKSIDFYP.mjs.br +0 -0
  30. package/dist/chunk-NKSIDFYP.mjs.gz +0 -0
  31. package/dist/{chunk-KPT54MHG.mjs → chunk-QOBKJKLT.mjs} +861 -10
  32. package/dist/chunk-QOBKJKLT.mjs.br +0 -0
  33. package/dist/{chunk-KPT54MHG.mjs.gz → chunk-QOBKJKLT.mjs.gz} +0 -0
  34. package/dist/{chunk-YJVMOX2Y.mjs → chunk-VDALVGDT.mjs} +151 -43
  35. package/dist/chunk-VDALVGDT.mjs.br +0 -0
  36. package/dist/chunk-VDALVGDT.mjs.gz +0 -0
  37. package/dist/{chunk-I5SO5OV4.js → chunk-VKOVFVDJ.js} +876 -10
  38. package/dist/chunk-VKOVFVDJ.js.br +0 -0
  39. package/dist/{chunk-I5SO5OV4.js.gz → chunk-VKOVFVDJ.js.gz} +0 -0
  40. package/dist/hooks-unstable.d.ts +231 -4
  41. package/dist/hooks-unstable.d.ts.map +1 -1
  42. package/dist/hooks-unstable.js +81 -77
  43. package/dist/hooks-unstable.js.br +0 -0
  44. package/dist/hooks-unstable.js.gz +0 -0
  45. package/dist/hooks-unstable.mjs +3 -3
  46. package/dist/hooks-unstable.mjs.br +0 -0
  47. package/dist/hooks-unstable.mjs.gz +0 -0
  48. package/dist/i18n.js +4 -4
  49. package/dist/i18n.js.br +0 -0
  50. package/dist/i18n.js.gz +0 -0
  51. package/dist/i18n.mjs +1 -1
  52. package/dist/i18n.mjs.br +0 -0
  53. package/dist/i18n.mjs.gz +0 -0
  54. package/dist/{index-hm2FF-FU.d.ts → index-DWvM1PBB.d.ts} +25 -2
  55. package/dist/index-DWvM1PBB.d.ts.map +1 -0
  56. package/dist/index.d.ts +146 -26
  57. package/dist/index.js +34 -34
  58. package/dist/index.js.br +0 -0
  59. package/dist/index.js.gz +0 -0
  60. package/dist/index.mjs +4 -4
  61. package/dist/index.mjs.br +0 -0
  62. package/dist/index.mjs.gz +0 -0
  63. package/dist/pptx-viewer.css +1 -1
  64. package/dist/pptx-viewer.css.br +0 -0
  65. package/dist/pptx-viewer.css.gz +0 -0
  66. package/dist/viewer/index.js +20 -20
  67. package/dist/viewer/index.js.br +0 -0
  68. package/dist/viewer/index.js.gz +0 -0
  69. package/dist/viewer/index.mjs +4 -4
  70. package/dist/viewer/index.mjs.br +0 -0
  71. package/dist/viewer/index.mjs.gz +0 -0
  72. package/package.json +1 -1
  73. package/dist/Model3DScene-QTNGCODM.mjs.br +0 -0
  74. package/dist/Model3DScene-QTNGCODM.mjs.gz +0 -0
  75. package/dist/Model3DScene-RD4XEC3F.js.br +0 -0
  76. package/dist/Model3DScene-RD4XEC3F.js.gz +0 -0
  77. package/dist/SurfaceChart3DScene-VKS3ELTU.mjs.br +0 -0
  78. package/dist/SurfaceChart3DScene-VKS3ELTU.mjs.gz +0 -0
  79. package/dist/SurfaceChart3DScene-YR3GX4X6.js.gz +0 -0
  80. package/dist/chunk-3YMK5VLS.js.br +0 -0
  81. package/dist/chunk-3YMK5VLS.js.gz +0 -0
  82. package/dist/chunk-E3KJKCSV.mjs.br +0 -0
  83. package/dist/chunk-GKST4OS7.js.br +0 -0
  84. package/dist/chunk-GKST4OS7.js.gz +0 -0
  85. package/dist/chunk-I5SO5OV4.js.br +0 -0
  86. package/dist/chunk-KPT54MHG.mjs.br +0 -0
  87. package/dist/chunk-PUQ6GIOM.mjs.br +0 -0
  88. package/dist/chunk-PUQ6GIOM.mjs.gz +0 -0
  89. package/dist/chunk-YJVMOX2Y.mjs.br +0 -0
  90. package/dist/chunk-YJVMOX2Y.mjs.gz +0 -0
  91. package/dist/chunk-ZISXRMDJ.js.br +0 -0
  92. package/dist/index-hm2FF-FU.d.ts.map +0 -1
@@ -14822,7 +14822,8 @@ function decodeDelta(delta) {
14822
14822
  } catch {
14823
14823
  }
14824
14824
  }
14825
- if (op.insert !== "\n" && op.insert !== "\u200B") {
14825
+ const isBreakMarker = op.insert === "\n" && (a.pb === "1" || a.lb === "1");
14826
+ if (!isBreakMarker && op.insert !== "\u200B") {
14826
14827
  seg.text = op.insert;
14827
14828
  }
14828
14829
  segments.push(seg);
@@ -20476,15 +20477,21 @@ async function scanAvailableFontFamilies(families, source = browserFontSource())
20476
20477
  return /* @__PURE__ */ new Set();
20477
20478
  }
20478
20479
  }
20479
- var VIEWER_PREFERENCE_TOGGLES = [
20480
- { key: "autoSave", labelKey: "pptx.settings.autoSave" },
20481
- { key: "spellCheck", labelKey: "pptx.settings.spellCheck" },
20482
- { key: "showGrid", labelKey: "pptx.settings.showGrid" },
20483
- { key: "showRulers", labelKey: "pptx.settings.showRulers" },
20484
- { key: "snapToGrid", labelKey: "pptx.settings.snapToGrid" },
20485
- { key: "reducedMotion", labelKey: "pptx.settings.reducedMotion" }
20480
+ var VIEWER_SHORTCUT_REFERENCE = [
20481
+ { actionKey: "pptx.toolbar.undo", shortcut: "Ctrl/Cmd+Z" },
20482
+ { actionKey: "pptx.toolbar.redo", shortcut: "Ctrl/Cmd+Shift+Z or Ctrl/Cmd+Y" },
20483
+ { actionKey: "pptx.shortcuts.action.copyElement", shortcut: "Ctrl/Cmd+C" },
20484
+ { actionKey: "pptx.shortcuts.action.cutElement", shortcut: "Ctrl/Cmd+X" },
20485
+ { actionKey: "pptx.shortcuts.action.pasteElement", shortcut: "Ctrl/Cmd+V" },
20486
+ { actionKey: "pptx.shortcuts.action.duplicateElement", shortcut: "Ctrl/Cmd+D" },
20487
+ { actionKey: "pptx.shortcuts.action.deleteElement", shortcut: "Delete / Backspace" },
20488
+ { actionKey: "pptx.shortcuts.action.nudgeElement", shortcut: "Arrow keys" },
20489
+ { actionKey: "pptx.shortcuts.action.nudgeElementLarge", shortcut: "Shift+Arrow keys" },
20490
+ { actionKey: "pptx.shortcuts.action.zoomCanvas", shortcut: "Ctrl/Cmd+Mouse wheel" },
20491
+ { actionKey: "pptx.shortcuts.action.commitTextEdit", shortcut: "Ctrl/Cmd+Enter" },
20492
+ { actionKey: "pptx.shortcuts.action.cancelTextEdit", shortcut: "Escape" }
20486
20493
  ];
20487
- var SETTING_TOGGLES = VIEWER_PREFERENCE_TOGGLES;
20494
+ var SHORTCUT_REFERENCE_ITEMS = VIEWER_SHORTCUT_REFERENCE;
20488
20495
  function shouldLoopContinuously(input) {
20489
20496
  return Boolean(input.loopContinuously) || input.showType === "kiosk";
20490
20497
  }
@@ -20604,6 +20611,850 @@ var TOOLBAR_TABS = [
20604
20611
  function isActionHidden(id, hiddenActions) {
20605
20612
  return hiddenActions !== void 0 && hiddenActions.includes(id);
20606
20613
  }
20614
+ var QUICK_ACCESS_COMMAND_CATALOG = [
20615
+ { id: "save", labelKey: "pptx.toolbar.save", icon: "save" },
20616
+ { id: "undo", labelKey: "pptx.toolbar.undo", icon: "undo" },
20617
+ { id: "redo", labelKey: "pptx.toolbar.redo", icon: "redo" },
20618
+ {
20619
+ id: "presentFromStart",
20620
+ labelKey: "pptx.options.quickAccess.command.presentFromStart",
20621
+ icon: "play"
20622
+ },
20623
+ { id: "print", labelKey: "pptx.options.quickAccess.command.print", icon: "printer" },
20624
+ { id: "exportPdf", labelKey: "pptx.options.quickAccess.command.exportPdf", icon: "fileDown" },
20625
+ { id: "newSlide", labelKey: "pptx.options.quickAccess.command.newSlide", icon: "plus" },
20626
+ { id: "spellCheck", labelKey: "pptx.settings.spellCheck", icon: "spellCheck" },
20627
+ { id: "zoomIn", labelKey: "pptx.options.quickAccess.command.zoomIn", icon: "zoomIn" },
20628
+ { id: "zoomOut", labelKey: "pptx.options.quickAccess.command.zoomOut", icon: "zoomOut" }
20629
+ ];
20630
+ var DEFAULT_QUICK_ACCESS_COMMAND_IDS = [
20631
+ "save",
20632
+ "undo",
20633
+ "redo",
20634
+ "presentFromStart"
20635
+ ];
20636
+ function getQuickAccessCommand(id) {
20637
+ return QUICK_ACCESS_COMMAND_CATALOG.find((entry) => entry.id === id);
20638
+ }
20639
+ function availableQuickAccessCommands(commandIds) {
20640
+ return QUICK_ACCESS_COMMAND_CATALOG.filter((entry) => !commandIds.includes(entry.id));
20641
+ }
20642
+ function addQuickAccessCommand(commandIds, id) {
20643
+ if (commandIds.includes(id) || !getQuickAccessCommand(id)) {
20644
+ return [...commandIds];
20645
+ }
20646
+ return [...commandIds, id];
20647
+ }
20648
+ function removeQuickAccessCommand(commandIds, id) {
20649
+ return commandIds.filter((entry) => entry !== id);
20650
+ }
20651
+ function moveQuickAccessCommand(commandIds, id, direction) {
20652
+ const index = commandIds.indexOf(id);
20653
+ const target = direction === "up" ? index - 1 : index + 1;
20654
+ if (index < 0 || target < 0 || target >= commandIds.length) {
20655
+ return [...commandIds];
20656
+ }
20657
+ const next = [...commandIds];
20658
+ const swapped = next[target];
20659
+ if (swapped === void 0) {
20660
+ return next;
20661
+ }
20662
+ next[target] = id;
20663
+ next[index] = swapped;
20664
+ return next;
20665
+ }
20666
+ var VIEWER_ADDIN_CATALOG = [
20667
+ {
20668
+ id: "smartArt3d",
20669
+ nameKey: "pptx.options.addIns.smartArt3d",
20670
+ descriptionKey: "pptx.options.addIns.smartArt3dDescription",
20671
+ type: "renderer",
20672
+ location: "pptx-viewer-shared/smartart-3d"
20673
+ },
20674
+ {
20675
+ id: "model3d",
20676
+ nameKey: "pptx.options.addIns.model3d",
20677
+ descriptionKey: "pptx.options.addIns.model3dDescription",
20678
+ type: "renderer",
20679
+ location: "pptx-viewer-shared (three)"
20680
+ },
20681
+ {
20682
+ id: "emfConverter",
20683
+ nameKey: "pptx.options.addIns.emfConverter",
20684
+ descriptionKey: "pptx.options.addIns.emfConverterDescription",
20685
+ type: "converter",
20686
+ location: "emf-converter"
20687
+ },
20688
+ {
20689
+ id: "mtxDecompressor",
20690
+ nameKey: "pptx.options.addIns.mtxDecompressor",
20691
+ descriptionKey: "pptx.options.addIns.mtxDecompressorDescription",
20692
+ type: "converter",
20693
+ location: "mtx-decompressor"
20694
+ },
20695
+ {
20696
+ id: "collaboration",
20697
+ nameKey: "pptx.options.addIns.collaboration",
20698
+ descriptionKey: "pptx.options.addIns.collaborationDescription",
20699
+ type: "collaboration",
20700
+ location: "pptx-viewer-shared (collaboration)"
20701
+ },
20702
+ {
20703
+ id: "locales",
20704
+ nameKey: "pptx.options.addIns.locales",
20705
+ descriptionKey: "pptx.options.addIns.localesDescription",
20706
+ type: "localization",
20707
+ location: "pptx-viewer-locales"
20708
+ }
20709
+ ];
20710
+ function resolveViewerAddinRows(status) {
20711
+ return VIEWER_ADDIN_CATALOG.map((definition) => ({
20712
+ ...definition,
20713
+ active: status?.[definition.id] ?? true
20714
+ }));
20715
+ }
20716
+ var DEFAULT_VIEWER_OPTIONS = {
20717
+ general: {
20718
+ displayOptimization: "appearance",
20719
+ showMiniToolbar: true,
20720
+ enableLivePreview: true,
20721
+ collapseRibbonAutomatically: false,
20722
+ collapseSearchByDefault: false,
20723
+ screenTipStyle: "descriptions",
20724
+ userName: "",
20725
+ userInitials: "",
20726
+ showStartScreen: true
20727
+ },
20728
+ proofing: {
20729
+ autoCorrectTwoInitialCapitals: true,
20730
+ autoCorrectCapitalizeFirstLetter: true,
20731
+ autoCorrectCapitalizeDayNames: true,
20732
+ autoCorrectSmartQuotes: true,
20733
+ autoCorrectHyphensToDash: true,
20734
+ autoCorrectFractions: true,
20735
+ autoCorrectOrdinals: true,
20736
+ ignoreUppercase: true,
20737
+ ignoreWordsWithNumbers: true,
20738
+ ignoreInternetAddresses: true,
20739
+ flagRepeatedWords: true,
20740
+ checkSpellingAsYouType: false,
20741
+ hideSpellingErrors: false
20742
+ },
20743
+ save: {
20744
+ autoSave: true,
20745
+ autoRecoverIntervalMinutes: 2,
20746
+ keepLastAutoRecoveredVersion: true,
20747
+ defaultExportFormat: "pptx",
20748
+ embedFonts: false,
20749
+ embedAllFontCharacters: false,
20750
+ cacheRetentionDays: 14,
20751
+ clearCacheOnClose: false
20752
+ },
20753
+ accessibility: {
20754
+ showAccessibilityStatus: true,
20755
+ feedbackWithSound: false,
20756
+ soundScheme: "modern",
20757
+ showShortcutKeysInScreenTips: true,
20758
+ reducedMotion: false
20759
+ },
20760
+ advanced: {
20761
+ autoSelectEntireWord: true,
20762
+ allowTextDragAndDrop: true,
20763
+ maximumUndoSteps: 100,
20764
+ useSmartCutAndPaste: true,
20765
+ showPasteOptionsButton: true,
20766
+ imageDefaultResolution: "highFidelity",
20767
+ doNotCompressImages: false,
20768
+ chartPropertiesFollowDataPoint: true,
20769
+ recentPresentationsCount: 50,
20770
+ showVerticalRuler: false,
20771
+ showGrid: false,
20772
+ snapToGrid: false,
20773
+ disableHardwareAcceleration: false,
20774
+ openDocumentsView: "savedView",
20775
+ slideShowShowMenuOnRightClick: true,
20776
+ slideShowShowPopupToolbar: true,
20777
+ slideShowPromptKeepInkAnnotations: true,
20778
+ slideShowEndWithBlackSlide: true,
20779
+ printInBackground: true,
20780
+ printHighQuality: false,
20781
+ printUseMostRecentSettings: true,
20782
+ printWhat: "slides",
20783
+ printColorMode: "color",
20784
+ printHiddenSlides: false,
20785
+ printScaleToFit: false,
20786
+ printFrameSlides: false
20787
+ },
20788
+ ribbon: { hiddenTabIds: [] },
20789
+ quickAccess: {
20790
+ visible: true,
20791
+ position: "above",
20792
+ showCommandLabels: false,
20793
+ commandIds: ["save", "undo", "redo", "presentFromStart"]
20794
+ },
20795
+ trust: {
20796
+ openInProtectedView: false,
20797
+ allowExternalContent: true,
20798
+ confirmExternalHyperlinks: true
20799
+ }
20800
+ };
20801
+ function cloneOptions(options) {
20802
+ return {
20803
+ general: { ...options.general },
20804
+ proofing: { ...options.proofing },
20805
+ save: { ...options.save },
20806
+ accessibility: { ...options.accessibility },
20807
+ advanced: { ...options.advanced },
20808
+ ribbon: { hiddenTabIds: [...options.ribbon.hiddenTabIds] },
20809
+ quickAccess: { ...options.quickAccess, commandIds: [...options.quickAccess.commandIds] },
20810
+ trust: { ...options.trust }
20811
+ };
20812
+ }
20813
+ function mergeViewerOptions(stored) {
20814
+ const merged = cloneOptions(DEFAULT_VIEWER_OPTIONS);
20815
+ if (!stored || typeof stored !== "object") {
20816
+ return merged;
20817
+ }
20818
+ for (const groupId of Object.keys(merged)) {
20819
+ const patch = stored[groupId];
20820
+ if (!patch || typeof patch !== "object") {
20821
+ continue;
20822
+ }
20823
+ const target = merged[groupId];
20824
+ const defaults = DEFAULT_VIEWER_OPTIONS[groupId];
20825
+ for (const [key, value] of Object.entries(patch)) {
20826
+ if (!(key in defaults) || value === void 0) {
20827
+ continue;
20828
+ }
20829
+ const defaultValue = defaults[key];
20830
+ if (Array.isArray(defaultValue)) {
20831
+ if (Array.isArray(value)) {
20832
+ target[key] = value.filter((entry) => typeof entry === "string");
20833
+ }
20834
+ } else if (typeof value === typeof defaultValue) {
20835
+ target[key] = value;
20836
+ }
20837
+ }
20838
+ }
20839
+ return merged;
20840
+ }
20841
+ function diffViewerOptions(options) {
20842
+ const diff = {};
20843
+ for (const groupId of Object.keys(DEFAULT_VIEWER_OPTIONS)) {
20844
+ const defaults = DEFAULT_VIEWER_OPTIONS[groupId];
20845
+ const current = options[groupId];
20846
+ let groupDiff;
20847
+ for (const key of Object.keys(defaults)) {
20848
+ const defaultValue = defaults[key];
20849
+ const value = current[key];
20850
+ const changed = Array.isArray(defaultValue) ? JSON.stringify(defaultValue) !== JSON.stringify(value) : defaultValue !== value;
20851
+ if (changed) {
20852
+ groupDiff ??= {};
20853
+ groupDiff[key] = value;
20854
+ }
20855
+ }
20856
+ if (groupDiff) {
20857
+ diff[groupId] = groupDiff;
20858
+ }
20859
+ }
20860
+ return diff;
20861
+ }
20862
+ function viewerOptionsToPreferences(options) {
20863
+ return {
20864
+ autoSave: options.save.autoSave,
20865
+ spellCheck: options.proofing.checkSpellingAsYouType,
20866
+ showGrid: options.advanced.showGrid,
20867
+ showRulers: options.advanced.showVerticalRuler,
20868
+ snapToGrid: options.advanced.snapToGrid,
20869
+ reducedMotion: options.accessibility.reducedMotion
20870
+ };
20871
+ }
20872
+ function applyPreferenceToOptions(options, key, value) {
20873
+ const next = cloneOptions(options);
20874
+ switch (key) {
20875
+ case "autoSave":
20876
+ next.save.autoSave = value;
20877
+ break;
20878
+ case "spellCheck":
20879
+ next.proofing.checkSpellingAsYouType = value;
20880
+ break;
20881
+ case "showGrid":
20882
+ next.advanced.showGrid = value;
20883
+ break;
20884
+ case "showRulers":
20885
+ next.advanced.showVerticalRuler = value;
20886
+ break;
20887
+ case "snapToGrid":
20888
+ next.advanced.snapToGrid = value;
20889
+ break;
20890
+ case "reducedMotion":
20891
+ next.accessibility.reducedMotion = value;
20892
+ break;
20893
+ }
20894
+ return next;
20895
+ }
20896
+ function shouldConfirmExternalHyperlink(options, href) {
20897
+ if (!options.trust.confirmExternalHyperlinks) {
20898
+ return false;
20899
+ }
20900
+ return /^https?:/i.test(href);
20901
+ }
20902
+ function toggle(group, key, labelKey, extra) {
20903
+ return { kind: "toggle", group, key, labelKey, ...extra };
20904
+ }
20905
+ function select(group, key, labelKey, choiceList) {
20906
+ return { kind: "select", group, key, labelKey, choices: choiceList };
20907
+ }
20908
+ function numberControl(group, key, labelKey, min, max, unitKey) {
20909
+ return { kind: "number", group, key, labelKey, min, max, unitKey };
20910
+ }
20911
+ function textControl(group, key, labelKey) {
20912
+ return { kind: "text", group, key, labelKey, maxLength: 64 };
20913
+ }
20914
+ function choices(prefix, values) {
20915
+ return values.map((value) => ({ value, labelKey: `${prefix}.${value}` }));
20916
+ }
20917
+ var SCREEN_TIP_CHOICES = choices("pptx.options.screenTipStyle", [
20918
+ "descriptions",
20919
+ "plain",
20920
+ "off"
20921
+ ]);
20922
+ var ADVANCED_TAB = {
20923
+ id: "advanced",
20924
+ labelKey: "pptx.options.advanced.label",
20925
+ descriptionKey: "pptx.options.advanced.description",
20926
+ sections: [
20927
+ {
20928
+ id: "editing",
20929
+ titleKey: "pptx.options.advanced.editing",
20930
+ controls: [
20931
+ toggle("advanced", "autoSelectEntireWord", "pptx.options.advanced.autoSelectWord"),
20932
+ toggle("advanced", "allowTextDragAndDrop", "pptx.options.advanced.textDragAndDrop"),
20933
+ numberControl(
20934
+ "advanced",
20935
+ "maximumUndoSteps",
20936
+ "pptx.options.advanced.maximumUndoSteps",
20937
+ 3,
20938
+ 150
20939
+ )
20940
+ ]
20941
+ },
20942
+ {
20943
+ id: "cutCopyPaste",
20944
+ titleKey: "pptx.options.advanced.cutCopyPaste",
20945
+ controls: [
20946
+ toggle("advanced", "useSmartCutAndPaste", "pptx.options.advanced.smartCutAndPaste"),
20947
+ toggle("advanced", "showPasteOptionsButton", "pptx.options.advanced.showPasteOptions")
20948
+ ]
20949
+ },
20950
+ {
20951
+ id: "imageQuality",
20952
+ titleKey: "pptx.options.advanced.imageQuality",
20953
+ controls: [
20954
+ toggle("advanced", "doNotCompressImages", "pptx.options.advanced.doNotCompressImages"),
20955
+ select(
20956
+ "advanced",
20957
+ "imageDefaultResolution",
20958
+ "pptx.options.advanced.defaultResolution",
20959
+ choices("pptx.options.resolution", [
20960
+ "highFidelity",
20961
+ "ppi330",
20962
+ "ppi220",
20963
+ "ppi150",
20964
+ "ppi96"
20965
+ ])
20966
+ )
20967
+ ]
20968
+ },
20969
+ {
20970
+ id: "chart",
20971
+ titleKey: "pptx.options.advanced.chart",
20972
+ controls: [
20973
+ toggle(
20974
+ "advanced",
20975
+ "chartPropertiesFollowDataPoint",
20976
+ "pptx.options.advanced.chartFollowDataPoint"
20977
+ )
20978
+ ]
20979
+ },
20980
+ {
20981
+ id: "display",
20982
+ titleKey: "pptx.options.advanced.display",
20983
+ controls: [
20984
+ numberControl(
20985
+ "advanced",
20986
+ "recentPresentationsCount",
20987
+ "pptx.options.advanced.recentCount",
20988
+ 0,
20989
+ 50
20990
+ ),
20991
+ toggle("advanced", "showVerticalRuler", "pptx.settings.showRulers"),
20992
+ toggle("advanced", "showGrid", "pptx.settings.showGrid"),
20993
+ toggle("advanced", "snapToGrid", "pptx.settings.snapToGrid"),
20994
+ toggle(
20995
+ "advanced",
20996
+ "disableHardwareAcceleration",
20997
+ "pptx.options.advanced.disableHardwareAcceleration"
20998
+ ),
20999
+ select(
21000
+ "advanced",
21001
+ "openDocumentsView",
21002
+ "pptx.options.advanced.openDocumentsView",
21003
+ choices("pptx.options.openView", [
21004
+ "savedView",
21005
+ "normal",
21006
+ "outline",
21007
+ "slideSorter",
21008
+ "notes"
21009
+ ])
21010
+ )
21011
+ ]
21012
+ },
21013
+ {
21014
+ id: "slideShow",
21015
+ titleKey: "pptx.options.advanced.slideShow",
21016
+ controls: [
21017
+ toggle(
21018
+ "advanced",
21019
+ "slideShowShowMenuOnRightClick",
21020
+ "pptx.options.advanced.showMenuOnRightClick"
21021
+ ),
21022
+ toggle("advanced", "slideShowShowPopupToolbar", "pptx.options.advanced.showPopupToolbar"),
21023
+ toggle(
21024
+ "advanced",
21025
+ "slideShowPromptKeepInkAnnotations",
21026
+ "pptx.options.advanced.promptKeepInk"
21027
+ ),
21028
+ toggle("advanced", "slideShowEndWithBlackSlide", "pptx.options.advanced.endWithBlackSlide")
21029
+ ]
21030
+ },
21031
+ {
21032
+ id: "print",
21033
+ titleKey: "pptx.options.advanced.print",
21034
+ controls: [
21035
+ toggle("advanced", "printInBackground", "pptx.options.advanced.printInBackground"),
21036
+ toggle("advanced", "printHighQuality", "pptx.options.advanced.printHighQuality"),
21037
+ toggle(
21038
+ "advanced",
21039
+ "printUseMostRecentSettings",
21040
+ "pptx.options.advanced.printUseMostRecent"
21041
+ ),
21042
+ select(
21043
+ "advanced",
21044
+ "printWhat",
21045
+ "pptx.options.advanced.printWhat",
21046
+ choices("pptx.options.printWhat", ["slides", "handouts", "notes", "outline"])
21047
+ ),
21048
+ select(
21049
+ "advanced",
21050
+ "printColorMode",
21051
+ "pptx.options.advanced.printColorMode",
21052
+ choices("pptx.options.printColorMode", ["color", "grayscale", "blackAndWhite"])
21053
+ ),
21054
+ toggle("advanced", "printHiddenSlides", "pptx.options.advanced.printHiddenSlides", {
21055
+ indent: true
21056
+ }),
21057
+ toggle("advanced", "printScaleToFit", "pptx.options.advanced.printScaleToFit", {
21058
+ indent: true
21059
+ }),
21060
+ toggle("advanced", "printFrameSlides", "pptx.options.advanced.printFrameSlides", {
21061
+ indent: true
21062
+ })
21063
+ ]
21064
+ }
21065
+ ]
21066
+ };
21067
+ var RIBBON_TAB = {
21068
+ id: "ribbon",
21069
+ labelKey: "pptx.options.ribbon.label",
21070
+ descriptionKey: "pptx.options.ribbon.description",
21071
+ custom: "ribbon",
21072
+ sections: [
21073
+ {
21074
+ id: "shortcutReference",
21075
+ titleKey: "pptx.settings.keyboardShortcuts",
21076
+ special: "shortcutReference",
21077
+ controls: []
21078
+ }
21079
+ ]
21080
+ };
21081
+ var QUICK_ACCESS_TAB = {
21082
+ id: "quickAccess",
21083
+ labelKey: "pptx.options.quickAccess.label",
21084
+ descriptionKey: "pptx.options.quickAccess.description",
21085
+ custom: "quickAccess",
21086
+ sections: [
21087
+ {
21088
+ id: "quickAccessOptions",
21089
+ titleKey: "pptx.options.quickAccess.optionsTitle",
21090
+ controls: [
21091
+ toggle("quickAccess", "visible", "pptx.options.quickAccess.show"),
21092
+ select(
21093
+ "quickAccess",
21094
+ "position",
21095
+ "pptx.options.quickAccess.position",
21096
+ choices("pptx.options.quickAccessPosition", ["above", "below"])
21097
+ ),
21098
+ toggle("quickAccess", "showCommandLabels", "pptx.options.quickAccess.showLabels")
21099
+ ]
21100
+ }
21101
+ ]
21102
+ };
21103
+ var ADD_INS_TAB = {
21104
+ id: "addIns",
21105
+ labelKey: "pptx.options.addIns.label",
21106
+ descriptionKey: "pptx.options.addIns.description",
21107
+ custom: "addIns",
21108
+ sections: []
21109
+ };
21110
+ var TRUST_TAB = {
21111
+ id: "trust",
21112
+ labelKey: "pptx.options.trust.label",
21113
+ descriptionKey: "pptx.options.trust.description",
21114
+ sections: [
21115
+ {
21116
+ id: "trustSettings",
21117
+ titleKey: "pptx.options.trust.settingsTitle",
21118
+ descriptionKey: "pptx.options.trust.settingsDescription",
21119
+ controls: [
21120
+ toggle("trust", "openInProtectedView", "pptx.options.trust.protectedView", {
21121
+ infoKey: "pptx.options.trust.protectedViewInfo"
21122
+ }),
21123
+ toggle("trust", "allowExternalContent", "pptx.options.trust.allowExternalContent", {
21124
+ infoKey: "pptx.options.trust.allowExternalContentInfo"
21125
+ }),
21126
+ toggle("trust", "confirmExternalHyperlinks", "pptx.options.trust.confirmHyperlinks")
21127
+ ]
21128
+ }
21129
+ ]
21130
+ };
21131
+ var GENERAL_TAB = {
21132
+ id: "general",
21133
+ labelKey: "pptx.settings.general",
21134
+ descriptionKey: "pptx.options.general.description",
21135
+ sections: [
21136
+ {
21137
+ id: "userInterface",
21138
+ titleKey: "pptx.options.general.userInterface",
21139
+ controls: [
21140
+ select(
21141
+ "general",
21142
+ "displayOptimization",
21143
+ "pptx.options.general.displayOptimization",
21144
+ choices("pptx.options.displayOptimization", ["appearance", "compatibility"])
21145
+ ),
21146
+ toggle("general", "showMiniToolbar", "pptx.options.general.showMiniToolbar", {
21147
+ infoKey: "pptx.options.general.showMiniToolbarInfo"
21148
+ }),
21149
+ toggle("general", "enableLivePreview", "pptx.options.general.enableLivePreview", {
21150
+ infoKey: "pptx.options.general.enableLivePreviewInfo"
21151
+ }),
21152
+ toggle("general", "collapseRibbonAutomatically", "pptx.options.general.collapseRibbon"),
21153
+ toggle("general", "collapseSearchByDefault", "pptx.options.general.collapseSearch"),
21154
+ select(
21155
+ "general",
21156
+ "screenTipStyle",
21157
+ "pptx.options.general.screenTipStyle",
21158
+ SCREEN_TIP_CHOICES
21159
+ )
21160
+ ]
21161
+ },
21162
+ {
21163
+ id: "personalize",
21164
+ titleKey: "pptx.options.general.personalize",
21165
+ controls: [
21166
+ textControl("general", "userName", "pptx.options.general.userName"),
21167
+ textControl("general", "userInitials", "pptx.options.general.userInitials")
21168
+ ]
21169
+ },
21170
+ {
21171
+ id: "appearance",
21172
+ titleKey: "pptx.options.general.appearance",
21173
+ special: "themePicker",
21174
+ controls: []
21175
+ },
21176
+ {
21177
+ id: "startup",
21178
+ titleKey: "pptx.options.general.startup",
21179
+ controls: [toggle("general", "showStartScreen", "pptx.options.general.showStartScreen")]
21180
+ }
21181
+ ]
21182
+ };
21183
+ var PROOFING_TAB = {
21184
+ id: "proofing",
21185
+ labelKey: "pptx.options.proofing.label",
21186
+ descriptionKey: "pptx.options.proofing.description",
21187
+ sections: [
21188
+ {
21189
+ id: "autoCorrect",
21190
+ titleKey: "pptx.options.proofing.autoCorrect",
21191
+ descriptionKey: "pptx.options.proofing.autoCorrectDescription",
21192
+ controls: [
21193
+ toggle(
21194
+ "proofing",
21195
+ "autoCorrectTwoInitialCapitals",
21196
+ "pptx.options.proofing.twoInitialCapitals"
21197
+ ),
21198
+ toggle(
21199
+ "proofing",
21200
+ "autoCorrectCapitalizeFirstLetter",
21201
+ "pptx.options.proofing.capitalizeFirstLetter"
21202
+ ),
21203
+ toggle(
21204
+ "proofing",
21205
+ "autoCorrectCapitalizeDayNames",
21206
+ "pptx.options.proofing.capitalizeDayNames"
21207
+ ),
21208
+ toggle("proofing", "autoCorrectSmartQuotes", "pptx.options.proofing.smartQuotes"),
21209
+ toggle("proofing", "autoCorrectHyphensToDash", "pptx.options.proofing.hyphensToDash"),
21210
+ toggle("proofing", "autoCorrectFractions", "pptx.options.proofing.fractions"),
21211
+ toggle("proofing", "autoCorrectOrdinals", "pptx.options.proofing.ordinals")
21212
+ ]
21213
+ },
21214
+ {
21215
+ id: "spellingOffice",
21216
+ titleKey: "pptx.options.proofing.spellingOffice",
21217
+ controls: [
21218
+ toggle("proofing", "ignoreUppercase", "pptx.options.proofing.ignoreUppercase"),
21219
+ toggle(
21220
+ "proofing",
21221
+ "ignoreWordsWithNumbers",
21222
+ "pptx.options.proofing.ignoreWordsWithNumbers"
21223
+ ),
21224
+ toggle(
21225
+ "proofing",
21226
+ "ignoreInternetAddresses",
21227
+ "pptx.options.proofing.ignoreInternetAddresses"
21228
+ ),
21229
+ toggle("proofing", "flagRepeatedWords", "pptx.options.proofing.flagRepeatedWords")
21230
+ ]
21231
+ },
21232
+ {
21233
+ id: "spellingViewer",
21234
+ titleKey: "pptx.options.proofing.spellingViewer",
21235
+ controls: [
21236
+ toggle(
21237
+ "proofing",
21238
+ "checkSpellingAsYouType",
21239
+ "pptx.options.proofing.checkSpellingAsYouType"
21240
+ ),
21241
+ toggle("proofing", "hideSpellingErrors", "pptx.options.proofing.hideSpellingErrors", {
21242
+ indent: true
21243
+ })
21244
+ ]
21245
+ }
21246
+ ]
21247
+ };
21248
+ var SAVE_TAB = {
21249
+ id: "save",
21250
+ labelKey: "pptx.options.save.label",
21251
+ descriptionKey: "pptx.options.save.description",
21252
+ sections: [
21253
+ {
21254
+ id: "savePresentations",
21255
+ titleKey: "pptx.options.save.savePresentations",
21256
+ controls: [
21257
+ toggle("save", "autoSave", "pptx.options.save.autoSave", {
21258
+ infoKey: "pptx.options.save.autoSaveInfo"
21259
+ }),
21260
+ select(
21261
+ "save",
21262
+ "defaultExportFormat",
21263
+ "pptx.options.save.defaultFormat",
21264
+ choices("pptx.options.saveFormat", ["pptx", "pdf", "png"])
21265
+ ),
21266
+ numberControl(
21267
+ "save",
21268
+ "autoRecoverIntervalMinutes",
21269
+ "pptx.options.save.autoRecoverInterval",
21270
+ 1,
21271
+ 120,
21272
+ "pptx.options.save.minutes"
21273
+ ),
21274
+ toggle("save", "keepLastAutoRecoveredVersion", "pptx.options.save.keepLastAutoRecovered", {
21275
+ indent: true
21276
+ })
21277
+ ]
21278
+ },
21279
+ {
21280
+ id: "fidelity",
21281
+ titleKey: "pptx.options.save.fidelity",
21282
+ controls: [
21283
+ toggle("save", "embedFonts", "pptx.options.save.embedFonts", {
21284
+ infoKey: "pptx.options.save.embedFontsInfo"
21285
+ }),
21286
+ toggle("save", "embedAllFontCharacters", "pptx.options.save.embedAllCharacters", {
21287
+ indent: true
21288
+ })
21289
+ ]
21290
+ },
21291
+ {
21292
+ id: "cache",
21293
+ titleKey: "pptx.options.save.cache",
21294
+ special: "clearCache",
21295
+ controls: [
21296
+ numberControl(
21297
+ "save",
21298
+ "cacheRetentionDays",
21299
+ "pptx.options.save.cacheRetentionDays",
21300
+ 1,
21301
+ 90,
21302
+ "pptx.options.save.days"
21303
+ ),
21304
+ toggle("save", "clearCacheOnClose", "pptx.options.save.clearCacheOnClose")
21305
+ ]
21306
+ }
21307
+ ]
21308
+ };
21309
+ var LANGUAGE_TAB = {
21310
+ id: "language",
21311
+ labelKey: "pptx.settings.language",
21312
+ descriptionKey: "pptx.options.language.description",
21313
+ custom: "language",
21314
+ sections: []
21315
+ };
21316
+ var ACCESSIBILITY_TAB = {
21317
+ id: "accessibility",
21318
+ labelKey: "pptx.options.accessibility.label",
21319
+ descriptionKey: "pptx.options.accessibility.description",
21320
+ sections: [
21321
+ {
21322
+ id: "assistant",
21323
+ titleKey: "pptx.options.accessibility.assistant",
21324
+ controls: [
21325
+ toggle("accessibility", "showAccessibilityStatus", "pptx.options.accessibility.showStatus")
21326
+ ]
21327
+ },
21328
+ {
21329
+ id: "feedback",
21330
+ titleKey: "pptx.options.accessibility.feedback",
21331
+ controls: [
21332
+ toggle(
21333
+ "accessibility",
21334
+ "feedbackWithSound",
21335
+ "pptx.options.accessibility.feedbackWithSound"
21336
+ ),
21337
+ select(
21338
+ "accessibility",
21339
+ "soundScheme",
21340
+ "pptx.options.accessibility.soundScheme",
21341
+ choices("pptx.options.soundScheme", ["modern", "classic"])
21342
+ )
21343
+ ]
21344
+ },
21345
+ {
21346
+ id: "display",
21347
+ titleKey: "pptx.options.accessibility.display",
21348
+ controls: [
21349
+ select(
21350
+ "general",
21351
+ "screenTipStyle",
21352
+ "pptx.options.general.screenTipStyle",
21353
+ SCREEN_TIP_CHOICES
21354
+ ),
21355
+ toggle(
21356
+ "accessibility",
21357
+ "showShortcutKeysInScreenTips",
21358
+ "pptx.options.accessibility.showShortcutKeys"
21359
+ ),
21360
+ toggle("accessibility", "reducedMotion", "pptx.settings.reducedMotion")
21361
+ ]
21362
+ }
21363
+ ]
21364
+ };
21365
+ var VIEWER_OPTIONS_TABS = [
21366
+ GENERAL_TAB,
21367
+ PROOFING_TAB,
21368
+ SAVE_TAB,
21369
+ LANGUAGE_TAB,
21370
+ ACCESSIBILITY_TAB,
21371
+ ADVANCED_TAB,
21372
+ RIBBON_TAB,
21373
+ QUICK_ACCESS_TAB,
21374
+ ADD_INS_TAB,
21375
+ TRUST_TAB
21376
+ ];
21377
+ function createViewerOptionsStore(init) {
21378
+ const persist = init?.persist !== false;
21379
+ const seeded = mergeViewerOptions(init?.initial);
21380
+ let options = persist ? overlayStored(seeded, readStoredViewerPrefs().options) : seeded;
21381
+ const listeners = /* @__PURE__ */ new Set();
21382
+ function commit(next) {
21383
+ options = next;
21384
+ if (persist) {
21385
+ writeStoredViewerPrefs({ options: diffViewerOptions(next) });
21386
+ }
21387
+ for (const listener of listeners) {
21388
+ listener(options);
21389
+ }
21390
+ }
21391
+ return {
21392
+ getOptions: () => options,
21393
+ setOptions: (next) => commit(cloneOptions(next)),
21394
+ setValue: (group, key, value) => {
21395
+ const defaults = DEFAULT_VIEWER_OPTIONS[group];
21396
+ if (!(key in defaults) || typeof defaults[key] !== typeof value) {
21397
+ return;
21398
+ }
21399
+ const next = cloneOptions(options);
21400
+ next[group][key] = value;
21401
+ commit(next);
21402
+ },
21403
+ getValue: (group, key) => {
21404
+ const record = options[group];
21405
+ const value = record[key];
21406
+ return typeof value === "boolean" || typeof value === "number" || typeof value === "string" ? value : void 0;
21407
+ },
21408
+ setRibbonTabHidden: (tabId, hidden) => {
21409
+ if (tabId === "file") {
21410
+ return;
21411
+ }
21412
+ const current = options.ribbon.hiddenTabIds;
21413
+ const has = current.includes(tabId);
21414
+ if (hidden === has) {
21415
+ return;
21416
+ }
21417
+ const next = cloneOptions(options);
21418
+ next.ribbon.hiddenTabIds = hidden ? [...current, tabId] : current.filter((id) => id !== tabId);
21419
+ commit(next);
21420
+ },
21421
+ setQuickAccessCommands: (commandIds) => {
21422
+ const next = cloneOptions(options);
21423
+ next.quickAccess.commandIds = [...commandIds];
21424
+ commit(next);
21425
+ },
21426
+ reset: (group) => {
21427
+ if (!group) {
21428
+ commit(cloneOptions(DEFAULT_VIEWER_OPTIONS));
21429
+ return;
21430
+ }
21431
+ const next = cloneOptions(options);
21432
+ const defaults = cloneOptions(DEFAULT_VIEWER_OPTIONS);
21433
+ next[group] = defaults[group];
21434
+ commit(next);
21435
+ },
21436
+ subscribe: (listener) => {
21437
+ listeners.add(listener);
21438
+ return () => listeners.delete(listener);
21439
+ }
21440
+ };
21441
+ }
21442
+ function overlayStored(base, stored) {
21443
+ if (!stored) {
21444
+ return base;
21445
+ }
21446
+ const fromStored = mergeViewerOptions(stored);
21447
+ const merged = cloneOptions(base);
21448
+ const diff = diffViewerOptions(fromStored);
21449
+ for (const groupId of Object.keys(diff)) {
21450
+ const patch = diff[groupId];
21451
+ if (!patch) {
21452
+ continue;
21453
+ }
21454
+ Object.assign(merged[groupId], patch);
21455
+ }
21456
+ return merged;
21457
+ }
20607
21458
  var FALLBACK_DOWNLOAD_NAME = "presentation.pptx";
20608
21459
  var REVOKE_DELAY_MS = 200;
20609
21460
  var OPEN_REVOKE_DELAY_MS = 6e4;
@@ -22243,7 +23094,9 @@ exports.CONNECTION_TIMEOUT_MS = CONNECTION_TIMEOUT_MS;
22243
23094
  exports.DEFAULT_BROADCAST_SERVER_URL = DEFAULT_BROADCAST_SERVER_URL;
22244
23095
  exports.DEFAULT_COLOR_CHANGE_TOLERANCE = DEFAULT_COLOR_CHANGE_TOLERANCE;
22245
23096
  exports.DEFAULT_INSERT_CHART_TYPE = DEFAULT_INSERT_CHART_TYPE;
23097
+ exports.DEFAULT_QUICK_ACCESS_COMMAND_IDS = DEFAULT_QUICK_ACCESS_COMMAND_IDS;
22246
23098
  exports.DEFAULT_ROW_HEIGHT = DEFAULT_ROW_HEIGHT;
23099
+ exports.DEFAULT_VIEWER_OPTIONS = DEFAULT_VIEWER_OPTIONS;
22247
23100
  exports.DEFAULT_VIEWER_PROFILE = DEFAULT_VIEWER_PROFILE;
22248
23101
  exports.DEFAULT_VIRTUAL_OVERSCAN = DEFAULT_VIRTUAL_OVERSCAN;
22249
23102
  exports.DIRECTIONAL_PRESETS = DIRECTIONAL_PRESETS;
@@ -22270,12 +23123,13 @@ exports.PRESENTATION_HASH = PRESENTATION_HASH;
22270
23123
  exports.PRESENTATION_MESSAGE_ORIGIN = PRESENTATION_MESSAGE_ORIGIN;
22271
23124
  exports.PRESENTATION_NONCE_KEY = PRESENTATION_NONCE_KEY;
22272
23125
  exports.PRESETS = PRESETS;
23126
+ exports.QUICK_ACCESS_COMMAND_CATALOG = QUICK_ACCESS_COMMAND_CATALOG;
22273
23127
  exports.RULER_FONT_SIZE = RULER_FONT_SIZE;
22274
23128
  exports.RULER_THICKNESS = RULER_THICKNESS;
22275
23129
  exports.SECTION_HEADING = SECTION_HEADING;
22276
23130
  exports.SEL = SEL;
22277
- exports.SETTING_TOGGLES = SETTING_TOGGLES;
22278
23131
  exports.SHAPE_PRESET_DEFS = SHAPE_PRESET_DEFS;
23132
+ exports.SHORTCUT_REFERENCE_ITEMS = SHORTCUT_REFERENCE_ITEMS;
22279
23133
  exports.SLIDE_TRANSITION_KEYFRAMES = SLIDE_TRANSITION_KEYFRAMES;
22280
23134
  exports.SLIDE_VIRTUALIZATION_THRESHOLD = SLIDE_VIRTUALIZATION_THRESHOLD;
22281
23135
  exports.TABLET_BREAKPOINT = TABLET_BREAKPOINT;
@@ -22288,9 +23142,11 @@ exports.TITLE_BAR_CLASSES = TITLE_BAR_CLASSES;
22288
23142
  exports.TITLE_BAR_DEFAULT_FILE_KEY = TITLE_BAR_DEFAULT_FILE_KEY;
22289
23143
  exports.TOOLBAR_TABS = TOOLBAR_TABS;
22290
23144
  exports.TimelineEngine = TimelineEngine;
23145
+ exports.VIEWER_OPTIONS_TABS = VIEWER_OPTIONS_TABS;
22291
23146
  exports.VIEWER_PREFS_STORAGE_KEY = VIEWER_PREFS_STORAGE_KEY;
22292
23147
  exports.WEBM_MIME_CANDIDATES = WEBM_MIME_CANDIDATES;
22293
23148
  exports.activateModalFocus = activateModalFocus;
23149
+ exports.addQuickAccessCommand = addQuickAccessCommand;
22294
23150
  exports.addSection = addSection;
22295
23151
  exports.alignElements = alignElements;
22296
23152
  exports.appendPresentationInkPoint = appendPresentationInkPoint;
@@ -22301,10 +23157,12 @@ exports.applyCaseTransformToSegments = applyCaseTransformToSegments;
22301
23157
  exports.applyColorChange = applyColorChange;
22302
23158
  exports.applyDuotone = applyDuotone;
22303
23159
  exports.applyFormatToElement = applyFormatToElement;
23160
+ exports.applyPreferenceToOptions = applyPreferenceToOptions;
22304
23161
  exports.applyRehearsalTimings = applyRehearsalTimings;
22305
23162
  exports.applyReroutedConnectors = applyReroutedConnectors;
22306
23163
  exports.applyResize = applyResize;
22307
23164
  exports.applyStyleToSelectedSegments = applyStyleToSelectedSegments;
23165
+ exports.availableQuickAccessCommands = availableQuickAccessCommands;
22308
23166
  exports.bringForward = bringForward;
22309
23167
  exports.bringToFront = bringToFront;
22310
23168
  exports.build3DExtrusionData = build3DExtrusionData;
@@ -22398,9 +23256,11 @@ exports.createPresentationSessionId = createPresentationSessionId;
22398
23256
  exports.createPresenterTimer = createPresenterTimer;
22399
23257
  exports.createSyncGate = createSyncGate;
22400
23258
  exports.createTouchGestureRecognizer = createTouchGestureRecognizer;
23259
+ exports.createViewerOptionsStore = createViewerOptionsStore;
22401
23260
  exports.defaultCssVars = defaultCssVars;
22402
23261
  exports.defaultRadius = defaultRadius;
22403
23262
  exports.defaultThemeColors = defaultThemeColors;
23263
+ exports.deleteAutosaveSnapshot = deleteAutosaveSnapshot;
22404
23264
  exports.deleteSection = deleteSection;
22405
23265
  exports.deleteTableColumn = deleteTableColumn;
22406
23266
  exports.deleteTableRow = deleteTableRow;
@@ -22507,6 +23367,7 @@ exports.isPresentationSessionMessage = isPresentationSessionMessage;
22507
23367
  exports.isTemplateElement = isTemplateElement;
22508
23368
  exports.isTemplateElementId = isTemplateElementId;
22509
23369
  exports.isUrlSafe = isUrlSafe;
23370
+ exports.listAutosaveSnapshots = listAutosaveSnapshots;
22510
23371
  exports.listBackstageRecentFiles = listBackstageRecentFiles;
22511
23372
  exports.loadPresentationDeck = loadPresentationDeck;
22512
23373
  exports.makeCloneId = makeCloneId;
@@ -22519,6 +23380,7 @@ exports.mobileSlideCounter = mobileSlideCounter;
22519
23380
  exports.mountModel3D = mountModel3D;
22520
23381
  exports.mountSurfaceChart3D = mountSurfaceChart3D;
22521
23382
  exports.movePresenterPointer = movePresenterPointer;
23383
+ exports.moveQuickAccessCommand = moveQuickAccessCommand;
22522
23384
  exports.moveSectionDown = moveSectionDown;
22523
23385
  exports.moveSectionUp = moveSectionUp;
22524
23386
  exports.moveSlidesToSection = moveSlidesToSection;
@@ -22551,6 +23413,7 @@ exports.reconcileSlidesInYDoc = reconcileSlidesInYDoc;
22551
23413
  exports.recordProgressPercent = recordProgressPercent;
22552
23414
  exports.rectToCells = rectToCells;
22553
23415
  exports.remapTextToSegments = remapTextToSegments;
23416
+ exports.removeQuickAccessCommand = removeQuickAccessCommand;
22554
23417
  exports.renameSection = renameSection;
22555
23418
  exports.rerouteConnectorsForMovedElements = rerouteConnectorsForMovedElements;
22556
23419
  exports.resetPresenterTimer = resetPresenterTimer;
@@ -22573,6 +23436,7 @@ exports.resolveTitleBarStatusKey = resolveTitleBarStatusKey;
22573
23436
  exports.resolveTransitionDurationMs = resolveTransitionDurationMs;
22574
23437
  exports.resolveTransportForServerUrl = resolveTransportForServerUrl;
22575
23438
  exports.resolveUnderlineDecorationStyle = resolveUnderlineDecorationStyle;
23439
+ exports.resolveViewerAddinRows = resolveViewerAddinRows;
22576
23440
  exports.restoreSegmentSelection = restoreSegmentSelection;
22577
23441
  exports.safeOpenUrl = safeOpenUrl;
22578
23442
  exports.sanitizeColor = sanitizeColor;
@@ -22592,6 +23456,7 @@ exports.setDuotoneCachedResult = setDuotoneCachedResult;
22592
23456
  exports.setPendingSelectionRestore = setPendingSelectionRestore;
22593
23457
  exports.shadeColor2 = shadeColor2;
22594
23458
  exports.shouldCommitSmartArtNodeText = shouldCommitSmartArtNodeText;
23459
+ exports.shouldConfirmExternalHyperlink = shouldConfirmExternalHyperlink;
22595
23460
  exports.shouldLoopContinuously = shouldLoopContinuously;
22596
23461
  exports.shouldUseSvgWarp = shouldUseSvgWarp;
22597
23462
  exports.slideProgressPercent = slideProgressPercent;
@@ -22618,6 +23483,7 @@ exports.vermilionDarkTheme = vermilionDarkTheme;
22618
23483
  exports.vermilionLightColors = vermilionLightColors;
22619
23484
  exports.vermilionLightTheme = vermilionLightTheme;
22620
23485
  exports.vermilionRadius = vermilionRadius;
23486
+ exports.viewerOptionsToPreferences = viewerOptionsToPreferences;
22621
23487
  exports.withChartPointValue = withChartPointValue;
22622
23488
  exports.withChartTitle = withChartTitle;
22623
23489
  exports.writeStoredViewerPrefs = writeStoredViewerPrefs;