lt-ppt 1.0.47 → 1.0.48
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/dist/{InnerApp-RanxT5ji.js → InnerApp-BtUPJ4ZS.js} +13 -16
- package/dist/{database-DXLrpgFP.js → database-Bf4mf4zB.js} +1 -1
- package/dist/{index-DgR62zpM.js → index-BCi1-wbw.js} +2 -2
- package/dist/{index-Blg5vWtv.js → index-Bq-Ibq6O.js} +1 -1
- package/dist/{lib-CGw0UBt0.js → lib-rw4q3jVO.js} +6 -6
- package/dist/lt-ppt.css +1 -1
- package/dist/lt-ppt.es.js +1 -1
- package/dist/lt-ppt.umd.js +3 -3
- package/dist/{screen-BGIvkPSs.js → screen-DyQzVM2d.js} +1 -1
- package/dist/types/src/LtPPT.vue.d.ts +1 -1
- package/dist/types/src/types/lt-ppt.d.ts +2 -2
- package/dist/{useExport-BigJsh_r.js → useExport-as1vhZAE.js} +2 -2
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ declare const _default: import('vue').DefineComponent<LtPPTProps, {
|
|
|
9
9
|
hasUnsavedChanges: () => boolean;
|
|
10
10
|
save: () => Promise<void>;
|
|
11
11
|
downloadPPT: () => void;
|
|
12
|
-
|
|
12
|
+
generateDefaultPPT: () => Promise<File>;
|
|
13
13
|
setMode: (mode: LtPPTMode) => void;
|
|
14
14
|
insertImage: (params: InsertImageParams) => Promise<PPTImageElement | null>;
|
|
15
15
|
insertImageFromDrag: (params: InsertImageFromDragParams) => Promise<PPTImageElement | null>;
|
|
@@ -27,7 +27,7 @@ export interface SaveCallbackParams {
|
|
|
27
27
|
pptUrl: string;
|
|
28
28
|
/** JSON 数据 */
|
|
29
29
|
json: Record<string, any>;
|
|
30
|
-
/**
|
|
30
|
+
/** 首页预览图 URL 列表,无页面或生成失败时为空 */
|
|
31
31
|
slideImages: string[];
|
|
32
32
|
}
|
|
33
33
|
export type ImageAIEntryElement = PPTImageElement & {
|
|
@@ -198,7 +198,7 @@ export interface LtPPTInstance {
|
|
|
198
198
|
/** 打开下载 PPT 弹层 */
|
|
199
199
|
downloadPPT: () => void;
|
|
200
200
|
/** 使用全部幻灯片、保留音视频并覆盖默认母版生成 PPTX 文件 */
|
|
201
|
-
|
|
201
|
+
generateDefaultPPT: () => Promise<File>;
|
|
202
202
|
/** 切换编辑器显示模式 */
|
|
203
203
|
setMode: (mode: LtPPTMode) => void;
|
|
204
204
|
/** 向指定页面插入图片 */
|
|
@@ -3,8 +3,8 @@ var iA = (e, r, t) => r in e ? aA(e, r, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var ft = (e, r, t) => iA(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
import { markRaw as ma, openBlock as nt, createElementBlock as gt, createElementVNode as Re, defineComponent as vi, ref as vl, onBeforeMount as oA, onMounted as sA, createBlock as Yr, Transition as lA, withCtx as cA, createCommentVNode as Lr, toDisplayString as q0, createVNode as po, render as ra, normalizeStyle as na, computed as Tt, Fragment as X0, renderList as j0, unref as Xr, normalizeClass as fA } from "vue";
|
|
5
5
|
import { storeToRefs as Bu } from "./pinia-CVat9nJz.js";
|
|
6
|
-
import { g as $l, a as Be, b as uA, _ as e0, l as gl } from "./lib-
|
|
7
|
-
import { a as Du } from "./database-
|
|
6
|
+
import { g as $l, a as Be, b as uA, _ as e0, l as gl } from "./lib-rw4q3jVO.js";
|
|
7
|
+
import { a as Du } from "./database-Bf4mf4zB.js";
|
|
8
8
|
import { nanoid as xl } from "./index.browser-Wq18ov6h.js";
|
|
9
9
|
function Ia(e) {
|
|
10
10
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|