pptx-svelte-viewer 4.36.3 → 4.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3726,8 +3726,58 @@ var translations31 = {
3726
3726
  "pptx.smartart.category.bending": "\u5F2F\u66F2"
3727
3727
  };
3728
3728
 
3729
- // src/zh-CN/tables.ts
3729
+ // src/zh-CN/table-layout.ts
3730
3730
  var translations32 = {
3731
+ "pptx.ribbon.tab.tableLayout": "\u8868\u683C\u5E03\u5C40",
3732
+ "pptx.ribbon.groupTable": "\u8868",
3733
+ "pptx.ribbon.groupRowsColumns": "\u884C\u548C\u5217",
3734
+ "pptx.ribbon.groupMerge": "\u5408\u5E76",
3735
+ "pptx.ribbon.groupCellSize": "\u5355\u5143\u683C\u5927\u5C0F",
3736
+ "pptx.ribbon.groupAlignment": "\u5BF9\u9F50\u65B9\u5F0F",
3737
+ "pptx.ribbon.groupTableSize": "\u8868\u683C\u5C3A\u5BF8",
3738
+ "pptx.ribbon.groupArrange": "\u6392\u5217",
3739
+ "pptx.gallery.tableLayout.select": "\u9009\u62E9",
3740
+ "pptx.gallery.tableLayout.viewGridlines": "\u67E5\u770B\u7F51\u683C\u7EBF",
3741
+ "pptx.gallery.tableLayout.deleteRows": "\u5220\u9664\u884C",
3742
+ "pptx.gallery.tableLayout.deleteColumns": "\u5220\u9664\u5217",
3743
+ "pptx.gallery.tableLayout.insertAbove": "\u5728\u4E0A\u65B9\u63D2\u5165",
3744
+ "pptx.gallery.tableLayout.insertBelow": "\u5728\u4E0B\u65B9\u63D2\u5165",
3745
+ "pptx.gallery.tableLayout.insertLeft": "\u5728\u5DE6\u4FA7\u63D2\u5165",
3746
+ "pptx.gallery.tableLayout.insertRight": "\u5728\u53F3\u4FA7\u63D2\u5165",
3747
+ "pptx.gallery.tableLayout.mergeCells": "\u5408\u5E76\u5355\u5143\u683C",
3748
+ "pptx.gallery.tableLayout.splitCells": "\u62C6\u5206\u5355\u5143\u683C",
3749
+ "pptx.gallery.tableLayout.distributeRows": "\u5206\u5E03\u884C",
3750
+ "pptx.gallery.tableLayout.distributeColumns": "\u5206\u5E03\u5217",
3751
+ "pptx.gallery.tableLayout.alignLeft": "\u5DE6\u5BF9\u9F50",
3752
+ "pptx.gallery.tableLayout.alignCenter": "\u5C45\u4E2D",
3753
+ "pptx.gallery.tableLayout.alignRight": "\u53F3\u5BF9\u9F50",
3754
+ "pptx.gallery.tableLayout.alignTop": "\u9876\u7AEF\u5BF9\u9F50",
3755
+ "pptx.gallery.tableLayout.alignMiddle": "\u5782\u76F4\u5C45\u4E2D",
3756
+ "pptx.gallery.tableLayout.alignBottom": "\u5E95\u7AEF\u5BF9\u9F50",
3757
+ "pptx.gallery.tableLayout.textDirection": "\u6587\u5B57\u65B9\u5411",
3758
+ "pptx.gallery.tableLayout.cellMargins": "\u5355\u5143\u683C\u8FB9\u8DDD",
3759
+ "pptx.gallery.tableLayout.tableSize": "\u8868\u683C\u5C3A\u5BF8",
3760
+ "pptx.gallery.tableLayout.arrange": "\u6392\u5217",
3761
+ "pptx.gallery.tableLayout.direction.horizontal": "\u6C34\u5E73",
3762
+ "pptx.gallery.tableLayout.direction.rotate90": "\u5C06\u6240\u6709\u6587\u5B57\u65CB\u8F6C 90\xB0",
3763
+ "pptx.gallery.tableLayout.direction.rotate270": "\u5C06\u6240\u6709\u6587\u5B57\u65CB\u8F6C 270\xB0",
3764
+ "pptx.gallery.tableLayout.direction.stacked": "\u5806\u79EF",
3765
+ "pptx.gallery.tableLayout.needsCells": "\u8BF7\u5148\u5728\u8868\u683C\u4E2D\u9009\u62E9\u5355\u5143\u683C\u518D\u4F7F\u7528\u6B64\u547D\u4EE4",
3766
+ "pptx.gallery.tableLayout.selectHint": "\u5728\u8868\u683C\u4E2D\u5355\u51FB\u6216\u62D6\u52A8\u5373\u53EF\u9009\u62E9\u5355\u5143\u683C",
3767
+ "pptx.gallery.tableLayout.inInspector": "\u9009\u4E2D\u8868\u683C\u540E\u53EF\u5728\u68C0\u67E5\u5668\u4E2D\u8BBE\u7F6E",
3768
+ "pptx.gallery.tableLayout.inHome": "\u8BF7\u4F7F\u7528\u201C\u5F00\u59CB\u201D>\u201C\u6392\u5217\u201D",
3769
+ "pptx.review.deleteSlideComments": "\u5220\u9664\u5E7B\u706F\u7247\u6279\u6CE8",
3770
+ "pptx.review.deleteAllComments": "\u5220\u9664\u6240\u6709\u6279\u6CE8",
3771
+ "pptx.review.deleteCommentTitle": "\u5220\u9664\u6240\u9009\u6279\u6CE8",
3772
+ "pptx.review.previousCommentTitle": "\u8F6C\u5230\u4E0A\u4E00\u6761\u6279\u6CE8",
3773
+ "pptx.review.nextCommentTitle": "\u8F6C\u5230\u4E0B\u4E00\u6761\u6279\u6CE8",
3774
+ "pptx.review.noCommentsHint": "\u6B64\u6F14\u793A\u6587\u7A3F\u6CA1\u6709\u6279\u6CE8",
3775
+ "pptx.review.noSelectedCommentHint": "\u8BF7\u5148\u4F7F\u7528\u201C\u4E0A\u4E00\u6761\u201D\u6216\u201C\u4E0B\u4E00\u6761\u201D\u9009\u62E9\u6279\u6CE8",
3776
+ "pptx.review.markAllReadHint": "\u6B64\u67E5\u770B\u5668\u4E2D\u7684\u6279\u6CE8\u6CA1\u6709\u5DF2\u8BFB\u72B6\u6001\uFF0C\u56E0\u6B64\u65E0\u9700\u6807\u8BB0"
3777
+ };
3778
+
3779
+ // src/zh-CN/tables.ts
3780
+ var translations33 = {
3731
3781
  "pptx.table.background": "\u80CC\u666F",
3732
3782
  "pptx.table.bandColCycle": "\u5217\u6761\u7EB9\u5927\u5C0F",
3733
3783
  "pptx.table.bandRowCycle": "\u884C\u6761\u7EB9\u5927\u5C0F",
@@ -3859,7 +3909,7 @@ var translations32 = {
3859
3909
  };
3860
3910
 
3861
3911
  // src/zh-CN/text-and-equations.ts
3862
- var translations33 = {
3912
+ var translations34 = {
3863
3913
  "pptx.font.group.theme": "\u4E3B\u9898\u5B57\u4F53",
3864
3914
  "pptx.font.group.embedded": "\u5D4C\u5165\u672C\u6F14\u793A\u6587\u7A3F\u4E2D",
3865
3915
  "pptx.font.group.custom": "\u672C\u6B21\u4F1A\u8BDD\u6DFB\u52A0\u7684\u5B57\u4F53",
@@ -4037,7 +4087,7 @@ var translations33 = {
4037
4087
  };
4038
4088
 
4039
4089
  // src/zh-CN/viewer-options.ts
4040
- var translations34 = {
4090
+ var translations35 = {
4041
4091
  "pptx.options.title": "\u9009\u9879",
4042
4092
  "pptx.options.resetAll": "\u91CD\u7F6E\u6240\u6709\u9009\u9879",
4043
4093
  "pptx.options.resetTab": "\u91CD\u7F6E\u6B64\u9009\u9879\u5361",
@@ -4222,7 +4272,7 @@ var translations34 = {
4222
4272
  };
4223
4273
 
4224
4274
  // src/zh-CN/viewer-options-2.ts
4225
- var translations35 = {
4275
+ var translations36 = {
4226
4276
  "pptx.options.addIns.mtxDecompressor": "MicroType Express \u5B57\u4F53\u89E3\u538B\u7F29\u5668",
4227
4277
  "pptx.options.addIns.mtxDecompressorDescription": "\u89E3\u538B\u7F29\u5D4C\u5165\u7684 MicroType Express \u5B57\u4F53\u3002",
4228
4278
  "pptx.options.addIns.collaboration": "\u5B9E\u65F6\u534F\u4F5C",
@@ -4256,7 +4306,7 @@ var translationsZhCN = {
4256
4306
  ...translations11,
4257
4307
  ...translations19,
4258
4308
  ...translations20,
4259
- ...translations33,
4309
+ ...translations34,
4260
4310
  ...translations18,
4261
4311
  ...translations21,
4262
4312
  ...translations22,
@@ -4265,18 +4315,19 @@ var translationsZhCN = {
4265
4315
  ...translations31,
4266
4316
  ...translations17,
4267
4317
  ...translations16,
4268
- ...translations32,
4318
+ ...translations33,
4269
4319
  ...translations23,
4270
4320
  ...translations24,
4271
4321
  ...translations30,
4272
- ...translations34,
4273
4322
  ...translations35,
4323
+ ...translations36,
4274
4324
  ...translations8,
4275
4325
  ...translations25,
4276
4326
  ...translations28,
4277
4327
  ...translations29,
4278
4328
  ...translations26,
4279
- ...translations27
4329
+ ...translations27,
4330
+ ...translations32
4280
4331
  };
4281
4332
  // Annotate the CommonJS export names for ESM import in node:
4282
4333
  0 && (module.exports = {
@@ -3700,8 +3700,58 @@ var translations31 = {
3700
3700
  "pptx.smartart.category.bending": "\u5F2F\u66F2"
3701
3701
  };
3702
3702
 
3703
- // src/zh-CN/tables.ts
3703
+ // src/zh-CN/table-layout.ts
3704
3704
  var translations32 = {
3705
+ "pptx.ribbon.tab.tableLayout": "\u8868\u683C\u5E03\u5C40",
3706
+ "pptx.ribbon.groupTable": "\u8868",
3707
+ "pptx.ribbon.groupRowsColumns": "\u884C\u548C\u5217",
3708
+ "pptx.ribbon.groupMerge": "\u5408\u5E76",
3709
+ "pptx.ribbon.groupCellSize": "\u5355\u5143\u683C\u5927\u5C0F",
3710
+ "pptx.ribbon.groupAlignment": "\u5BF9\u9F50\u65B9\u5F0F",
3711
+ "pptx.ribbon.groupTableSize": "\u8868\u683C\u5C3A\u5BF8",
3712
+ "pptx.ribbon.groupArrange": "\u6392\u5217",
3713
+ "pptx.gallery.tableLayout.select": "\u9009\u62E9",
3714
+ "pptx.gallery.tableLayout.viewGridlines": "\u67E5\u770B\u7F51\u683C\u7EBF",
3715
+ "pptx.gallery.tableLayout.deleteRows": "\u5220\u9664\u884C",
3716
+ "pptx.gallery.tableLayout.deleteColumns": "\u5220\u9664\u5217",
3717
+ "pptx.gallery.tableLayout.insertAbove": "\u5728\u4E0A\u65B9\u63D2\u5165",
3718
+ "pptx.gallery.tableLayout.insertBelow": "\u5728\u4E0B\u65B9\u63D2\u5165",
3719
+ "pptx.gallery.tableLayout.insertLeft": "\u5728\u5DE6\u4FA7\u63D2\u5165",
3720
+ "pptx.gallery.tableLayout.insertRight": "\u5728\u53F3\u4FA7\u63D2\u5165",
3721
+ "pptx.gallery.tableLayout.mergeCells": "\u5408\u5E76\u5355\u5143\u683C",
3722
+ "pptx.gallery.tableLayout.splitCells": "\u62C6\u5206\u5355\u5143\u683C",
3723
+ "pptx.gallery.tableLayout.distributeRows": "\u5206\u5E03\u884C",
3724
+ "pptx.gallery.tableLayout.distributeColumns": "\u5206\u5E03\u5217",
3725
+ "pptx.gallery.tableLayout.alignLeft": "\u5DE6\u5BF9\u9F50",
3726
+ "pptx.gallery.tableLayout.alignCenter": "\u5C45\u4E2D",
3727
+ "pptx.gallery.tableLayout.alignRight": "\u53F3\u5BF9\u9F50",
3728
+ "pptx.gallery.tableLayout.alignTop": "\u9876\u7AEF\u5BF9\u9F50",
3729
+ "pptx.gallery.tableLayout.alignMiddle": "\u5782\u76F4\u5C45\u4E2D",
3730
+ "pptx.gallery.tableLayout.alignBottom": "\u5E95\u7AEF\u5BF9\u9F50",
3731
+ "pptx.gallery.tableLayout.textDirection": "\u6587\u5B57\u65B9\u5411",
3732
+ "pptx.gallery.tableLayout.cellMargins": "\u5355\u5143\u683C\u8FB9\u8DDD",
3733
+ "pptx.gallery.tableLayout.tableSize": "\u8868\u683C\u5C3A\u5BF8",
3734
+ "pptx.gallery.tableLayout.arrange": "\u6392\u5217",
3735
+ "pptx.gallery.tableLayout.direction.horizontal": "\u6C34\u5E73",
3736
+ "pptx.gallery.tableLayout.direction.rotate90": "\u5C06\u6240\u6709\u6587\u5B57\u65CB\u8F6C 90\xB0",
3737
+ "pptx.gallery.tableLayout.direction.rotate270": "\u5C06\u6240\u6709\u6587\u5B57\u65CB\u8F6C 270\xB0",
3738
+ "pptx.gallery.tableLayout.direction.stacked": "\u5806\u79EF",
3739
+ "pptx.gallery.tableLayout.needsCells": "\u8BF7\u5148\u5728\u8868\u683C\u4E2D\u9009\u62E9\u5355\u5143\u683C\u518D\u4F7F\u7528\u6B64\u547D\u4EE4",
3740
+ "pptx.gallery.tableLayout.selectHint": "\u5728\u8868\u683C\u4E2D\u5355\u51FB\u6216\u62D6\u52A8\u5373\u53EF\u9009\u62E9\u5355\u5143\u683C",
3741
+ "pptx.gallery.tableLayout.inInspector": "\u9009\u4E2D\u8868\u683C\u540E\u53EF\u5728\u68C0\u67E5\u5668\u4E2D\u8BBE\u7F6E",
3742
+ "pptx.gallery.tableLayout.inHome": "\u8BF7\u4F7F\u7528\u201C\u5F00\u59CB\u201D>\u201C\u6392\u5217\u201D",
3743
+ "pptx.review.deleteSlideComments": "\u5220\u9664\u5E7B\u706F\u7247\u6279\u6CE8",
3744
+ "pptx.review.deleteAllComments": "\u5220\u9664\u6240\u6709\u6279\u6CE8",
3745
+ "pptx.review.deleteCommentTitle": "\u5220\u9664\u6240\u9009\u6279\u6CE8",
3746
+ "pptx.review.previousCommentTitle": "\u8F6C\u5230\u4E0A\u4E00\u6761\u6279\u6CE8",
3747
+ "pptx.review.nextCommentTitle": "\u8F6C\u5230\u4E0B\u4E00\u6761\u6279\u6CE8",
3748
+ "pptx.review.noCommentsHint": "\u6B64\u6F14\u793A\u6587\u7A3F\u6CA1\u6709\u6279\u6CE8",
3749
+ "pptx.review.noSelectedCommentHint": "\u8BF7\u5148\u4F7F\u7528\u201C\u4E0A\u4E00\u6761\u201D\u6216\u201C\u4E0B\u4E00\u6761\u201D\u9009\u62E9\u6279\u6CE8",
3750
+ "pptx.review.markAllReadHint": "\u6B64\u67E5\u770B\u5668\u4E2D\u7684\u6279\u6CE8\u6CA1\u6709\u5DF2\u8BFB\u72B6\u6001\uFF0C\u56E0\u6B64\u65E0\u9700\u6807\u8BB0"
3751
+ };
3752
+
3753
+ // src/zh-CN/tables.ts
3754
+ var translations33 = {
3705
3755
  "pptx.table.background": "\u80CC\u666F",
3706
3756
  "pptx.table.bandColCycle": "\u5217\u6761\u7EB9\u5927\u5C0F",
3707
3757
  "pptx.table.bandRowCycle": "\u884C\u6761\u7EB9\u5927\u5C0F",
@@ -3833,7 +3883,7 @@ var translations32 = {
3833
3883
  };
3834
3884
 
3835
3885
  // src/zh-CN/text-and-equations.ts
3836
- var translations33 = {
3886
+ var translations34 = {
3837
3887
  "pptx.font.group.theme": "\u4E3B\u9898\u5B57\u4F53",
3838
3888
  "pptx.font.group.embedded": "\u5D4C\u5165\u672C\u6F14\u793A\u6587\u7A3F\u4E2D",
3839
3889
  "pptx.font.group.custom": "\u672C\u6B21\u4F1A\u8BDD\u6DFB\u52A0\u7684\u5B57\u4F53",
@@ -4011,7 +4061,7 @@ var translations33 = {
4011
4061
  };
4012
4062
 
4013
4063
  // src/zh-CN/viewer-options.ts
4014
- var translations34 = {
4064
+ var translations35 = {
4015
4065
  "pptx.options.title": "\u9009\u9879",
4016
4066
  "pptx.options.resetAll": "\u91CD\u7F6E\u6240\u6709\u9009\u9879",
4017
4067
  "pptx.options.resetTab": "\u91CD\u7F6E\u6B64\u9009\u9879\u5361",
@@ -4196,7 +4246,7 @@ var translations34 = {
4196
4246
  };
4197
4247
 
4198
4248
  // src/zh-CN/viewer-options-2.ts
4199
- var translations35 = {
4249
+ var translations36 = {
4200
4250
  "pptx.options.addIns.mtxDecompressor": "MicroType Express \u5B57\u4F53\u89E3\u538B\u7F29\u5668",
4201
4251
  "pptx.options.addIns.mtxDecompressorDescription": "\u89E3\u538B\u7F29\u5D4C\u5165\u7684 MicroType Express \u5B57\u4F53\u3002",
4202
4252
  "pptx.options.addIns.collaboration": "\u5B9E\u65F6\u534F\u4F5C",
@@ -4230,7 +4280,7 @@ var translationsZhCN = {
4230
4280
  ...translations11,
4231
4281
  ...translations19,
4232
4282
  ...translations20,
4233
- ...translations33,
4283
+ ...translations34,
4234
4284
  ...translations18,
4235
4285
  ...translations21,
4236
4286
  ...translations22,
@@ -4239,18 +4289,19 @@ var translationsZhCN = {
4239
4289
  ...translations31,
4240
4290
  ...translations17,
4241
4291
  ...translations16,
4242
- ...translations32,
4292
+ ...translations33,
4243
4293
  ...translations23,
4244
4294
  ...translations24,
4245
4295
  ...translations30,
4246
- ...translations34,
4247
4296
  ...translations35,
4297
+ ...translations36,
4248
4298
  ...translations8,
4249
4299
  ...translations25,
4250
4300
  ...translations28,
4251
4301
  ...translations29,
4252
4302
  ...translations26,
4253
- ...translations27
4303
+ ...translations27,
4304
+ ...translations32
4254
4305
  };
4255
4306
  export {
4256
4307
  translationsZhCN
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as o, c as s, l as r, o as t, s as S, t as a, y as i } from "./export-Bcd9Kw5a.js";
1
+ import { a as o, c as s, l as r, o as t, s as S, t as a, y as i } from "./export-BSqSY17f.js";
2
2
  import { i as T } from "./translator-2U8GG-ce.js";
3
3
  import "./i18n.js";
4
4
  import { BACKSTAGE_CARD_IDS as n, BACKSTAGE_PAGE_IDS as E, CANVAS_CONTEXT_MENU_COMMAND_IDS as O, EDITOR_SHORTCUT_ACTION_IDS as D, ELEMENT_CONTEXT_MENU_COMMAND_IDS as N, OPTIONS_PAGE_IDS as A, OPTIONS_SECTION_IDS as m, OPTIONS_SETTING_IDS as C, PPTX_OPEN_ACCEPT as P, PRESENTATION_OPEN_EXTENSIONS as d, RIBBON_CONTROL_IDS as R, RIBBON_GROUP_IDS as p, RIBBON_TAB_IDS as v, TOOLBAR_BUTTON_IDS as B, VIEWER_DIALOG_IDS as g, VIEWER_EXPORT_FORMAT_IDS as h, VIEWER_FEATURE_IDS as c, VIEWER_PANEL_IDS as u, createImageElementFromFile as L, defaultCssVars as M, defaultRadius as V, defaultThemeColors as f, deleteAutosaveSnapshot as k, describeCollaborationShellState as G, forgetSessionDeck as b, getAutosaveSnapshot as x, getSessionTabId as F, isLegacyBinaryPresentation as U, isSupportedPresentationFile as X, listAutosaveSnapshots as W, loadPresentationDeck as y, loadSessionDeck as w, parsePresentationSessionId as K, presentationBaseName as H, rememberSessionDeck as j, restoreSessionDeck as q, savedPresentationFileName as z, themeToCssVars as J, vermilionDarkColors as Q, vermilionDarkTheme as Y, vermilionLightColors as Z, vermilionLightTheme as $, vermilionRadius as ee } from "ooxml-ui/pptx";
@@ -1,5 +1,5 @@
1
1
  import "../transition-overlay-DeClCKuO.js";
2
- import { S as e, _ as a, a as S, b as o, c as v, d as n, f as d, g as r, h as b, i as p, l as c, m, n as g, o as x, p as w, r as C, s as T, t as $, u as y, v as s, x as t } from "../export-Bcd9Kw5a.js";
2
+ import { S as e, _ as a, a as S, b as o, c as v, d as n, f as d, g as r, h as b, i as p, l as c, m, n as g, o as x, p as w, r as C, s as T, t as $, u as y, v as s, x as t } from "../export-BSqSY17f.js";
3
3
  var P = e, V = t, u = s, A = a, R = r, f = o;
4
4
  export {
5
5
  A as CollaborationCursors,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pptx-svelte-viewer",
3
- "version": "4.36.3",
3
+ "version": "4.37.0",
4
4
  "description": "pptx-viewer for Svelte 5: a PowerPoint viewer and editor component to render, edit, present, and export PPTX slides in the browser.",
5
5
  "keywords": [
6
6
  "office",
@@ -116,8 +116,8 @@
116
116
  "html2canvas-pro": "^2.5.2",
117
117
  "jspdf": "^4.2.1",
118
118
  "jszip": "^3.10.2",
119
- "ooxml-core": "^1.12.2",
120
- "ooxml-ui": "^1.12.3",
119
+ "ooxml-core": "^1.13.0",
120
+ "ooxml-ui": "^1.13.0",
121
121
  "opentype.js": "^2.0.0"
122
122
  },
123
123
  "devDependencies": {