@netless/app-presentation 0.1.9 → 0.1.10
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/index.d.ts +1 -2
- package/dist/index.global.js +296 -5489
- package/dist/index.js +296 -5489
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +296 -5489
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -4
- package/src/app-presentation.ts +1 -1
- package/src/scrollbar/index.ts +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netless/app-presentation",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Netless App for presentation slides (images)",
|
|
5
5
|
"author": "netless",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,14 +41,12 @@
|
|
|
41
41
|
"@wopjs/dom": "^0.1.3",
|
|
42
42
|
"esbuild": "^0.20.2",
|
|
43
43
|
"jspdf": "^2.5.1",
|
|
44
|
+
"lodash": "^4.17.21",
|
|
44
45
|
"rollup": "^4.13.1",
|
|
45
46
|
"sass": "^1.72.0",
|
|
46
47
|
"vanilla-lazyload": "^18.0.0",
|
|
47
48
|
"vite": "^5.2.6",
|
|
48
49
|
"white-web-sdk": "^2.16.53",
|
|
49
50
|
"@netless/appliance-plugin": "1.1.22-beta.11"
|
|
50
|
-
},
|
|
51
|
-
"dependencies": {
|
|
52
|
-
"lodash": "^4.17.21"
|
|
53
51
|
}
|
|
54
52
|
}
|
package/src/app-presentation.ts
CHANGED
|
@@ -7,7 +7,7 @@ import styles from './style.scss?inline';
|
|
|
7
7
|
import { Presentation, type PresentationConfig, type PresentationPage } from "./presentation";
|
|
8
8
|
import { readable, type Readable } from "./store";
|
|
9
9
|
import { Scrollbar, type ScrollbarEventCallback } from "./scrollbar";
|
|
10
|
-
import
|
|
10
|
+
import debounce from "lodash/debounce";
|
|
11
11
|
|
|
12
12
|
export type Logger = (...data: any[]) => void
|
|
13
13
|
|
package/src/scrollbar/index.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import './style.scss?inline';
|
|
2
2
|
import type { View, AnimationMode } from "@netless/window-manager";
|
|
3
3
|
import { makeDraggable } from "./Draggable";
|
|
4
|
-
import
|
|
4
|
+
import debounce from "lodash/debounce";
|
|
5
|
+
import isNumber from "lodash/isNumber";
|
|
5
6
|
|
|
6
7
|
export interface ScrollbarOption {
|
|
7
8
|
appId: string;
|
|
@@ -295,4 +296,4 @@ export class Scrollbar {
|
|
|
295
296
|
this.option.syncView();
|
|
296
297
|
}
|
|
297
298
|
|
|
298
|
-
}
|
|
299
|
+
}
|