lt-ppt 1.0.34 → 1.0.35

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.
@@ -1,6 +1,6 @@
1
1
  import { defineStore as Js } from "./pinia-CVat9nJz.js";
2
2
  import { customAlphabet as Uy } from "./index.browser-Wq18ov6h.js";
3
- import { c as Jy } from "./lib-BkSt5-a-.js";
3
+ import { c as Jy } from "./lib-DPIfjgLV.js";
4
4
  var Yf = /* @__PURE__ */ ((u) => (u.EL_ANIMATION = "elAnimation", u.EL_STYLE = "elStyle", u.EL_POSITION = "elPosition", u.SLIDE_DESIGN = "slideDesign", u.SLIDE_ANIMATION = "slideAnimation", u.MULTI_STYLE = "multiStyle", u.MULTI_POSITION = "multiPosition", u))(Yf || {});
5
5
  function it(u) {
6
6
  this.content = u;
@@ -6,6 +6,7 @@ declare const _default: import('vue').DefineComponent<LtPPTProps, {
6
6
  setSlides: (slides: Slide[]) => void;
7
7
  startScreening: () => void;
8
8
  getCurrentIndex: () => number;
9
+ downloadPPT: () => void;
9
10
  setMode: (mode: LtPPTMode) => void;
10
11
  insertImage: (params: InsertImageParams) => Promise<PPTImageElement | null>;
11
12
  replaceImage: (params: ReplaceImageParams) => Promise<PPTImageElement | null>;
@@ -84,6 +84,11 @@ declare const _default: {
84
84
  fitScreen: string;
85
85
  fitScreenShortcut: string;
86
86
  };
87
+ miniStatus: {
88
+ pagePrefix: string;
89
+ pageUnit: string;
90
+ totalPrefix: string;
91
+ };
87
92
  exportDialog: {
88
93
  exportPptist: string;
89
94
  exportPptx: string;
@@ -88,6 +88,11 @@ declare const i18n: import('./useLocale.ts').I18n<{
88
88
  fitScreen: string;
89
89
  fitScreenShortcut: string;
90
90
  };
91
+ miniStatus: {
92
+ pagePrefix: string;
93
+ pageUnit: string;
94
+ totalPrefix: string;
95
+ };
91
96
  exportDialog: {
92
97
  exportPptist: string;
93
98
  exportPptx: string;
@@ -1212,6 +1217,11 @@ declare const i18n: import('./useLocale.ts').I18n<{
1212
1217
  fitScreen: string;
1213
1218
  fitScreenShortcut: string;
1214
1219
  };
1220
+ miniStatus: {
1221
+ pagePrefix: string;
1222
+ pageUnit: string;
1223
+ totalPrefix: string;
1224
+ };
1215
1225
  exportDialog: {
1216
1226
  exportPptist: string;
1217
1227
  exportPptx: string;
@@ -84,6 +84,11 @@ declare const _default: {
84
84
  fitScreen: string;
85
85
  fitScreenShortcut: string;
86
86
  };
87
+ miniStatus: {
88
+ pagePrefix: string;
89
+ pageUnit: string;
90
+ totalPrefix: string;
91
+ };
87
92
  exportDialog: {
88
93
  exportPptist: string;
89
94
  exportPptx: string;
@@ -163,6 +163,8 @@ export interface LtPPTInstance {
163
163
  startScreening: () => void;
164
164
  /** 获取当前幻灯片索引 */
165
165
  getCurrentIndex: () => number;
166
+ /** 打开下载 PPT 弹层 */
167
+ downloadPPT: () => void;
166
168
  /** 切换编辑器显示模式 */
167
169
  setMode: (mode: LtPPTMode) => void;
168
170
  /** 向指定页面插入图片 */
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lt-ppt",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/lt-ppt.umd.js",