@netless/slide 1.4.39 → 1.4.41
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/README.md +10 -0
- package/lib/Slide.d.ts +3 -1
- package/lib/Slide.js +16 -16
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -4,6 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
## changelog
|
|
6
6
|
|
|
7
|
+
### 1.4.41 (2025-10-22)
|
|
8
|
+
* 修复图形渐变色填充带有透明度时渲染异常问题
|
|
9
|
+
* 修复矩形判断误判, 导致空心矩形渲染异常问题
|
|
10
|
+
* 添加 `slide.getNotesForCurrentSlide` 方法, 用于获取当前页面的备注
|
|
11
|
+
|
|
12
|
+
### 1.4.40 (2025-10-10)
|
|
13
|
+
* 修复部分 PPT 中含有空 path 时, 渲染报错问题
|
|
14
|
+
* 修复 antialias 参数类型位置错误问题
|
|
15
|
+
* 修复带有特效的图形中含有图片时, 图片显示问题
|
|
16
|
+
|
|
7
17
|
### 1.4.39 (2025-09-15)
|
|
8
18
|
* 针对 IOS 15.4 版本开放 antialias 参数, 修复渲染异常问题
|
|
9
19
|
|
package/lib/Slide.d.ts
CHANGED
|
@@ -176,6 +176,7 @@ export interface ISlideRenderOptions {
|
|
|
176
176
|
* [4] 3K 3200 × 1800, greater than 4 is calculated as 4; --- default setting for PC devices.
|
|
177
177
|
*/
|
|
178
178
|
transitionResolutionLevel?: number;
|
|
179
|
+
antialias?: boolean;
|
|
179
180
|
}
|
|
180
181
|
export interface INavigatorDelegate {
|
|
181
182
|
gotoPage?: (index: number) => void;
|
|
@@ -274,7 +275,6 @@ export interface ISlideConfig {
|
|
|
274
275
|
skipActionWhenFrozen?: boolean;
|
|
275
276
|
enableAutoForward?: boolean;
|
|
276
277
|
customLinks?: CustomLink[];
|
|
277
|
-
antialias?: boolean;
|
|
278
278
|
}
|
|
279
279
|
interface MediaState {
|
|
280
280
|
type: "pause" | "play";
|
|
@@ -469,6 +469,7 @@ export declare class Slide extends Slide_base {
|
|
|
469
469
|
private resizeView;
|
|
470
470
|
private handleViewClick;
|
|
471
471
|
static trackLogger: AliTrackLogger;
|
|
472
|
+
private slideNots;
|
|
472
473
|
private resourceList;
|
|
473
474
|
private get dispatchIncrId();
|
|
474
475
|
constructor(initConfig: ISlideConfig);
|
|
@@ -705,4 +706,5 @@ export declare class Slide extends Slide_base {
|
|
|
705
706
|
* @deprecated This API is no longer functional. Please use `slideInstance.clearSlideCache` and `Slide.clearLocalCache` instead.
|
|
706
707
|
*/
|
|
707
708
|
static disposeLocalCache(): void;
|
|
709
|
+
getNoteForCurrentSlide(slideIndex: number): Promise<any>;
|
|
708
710
|
}
|