larksr_websdk 3.2.3 → 3.2.4
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/doc/functions.md +2 -2
- package/dist/doc/member_variables.md +148 -0
- package/dist/larksr-web-sdk.min.js +3 -3
- package/dist/types/index.d.ts +5 -2
- package/dist/types/lark/lark_event_type.d.ts +1 -1
- package/dist/types/larksr.d.ts +4 -4
- package/dist/types/operation/keymap.d.ts +9 -5
- package/package.json +3 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'core-js/stable/symbol';
|
|
2
|
-
import { LarkSR, CreateLarkSRClientFromeAPI, CreateLarkSRClientFromeUrl, LarkEventType, LarkSRClientEvent, AppliParams, LoadAppliParamsFromUrl, AppliParamsUtils, LoadAppliParamsStartAppInfo, EventBase, API, Operation, Capabilities, ScaleMode, CloudLark, FullScreen, LockPointer,
|
|
2
|
+
import { LarkSR, CreateLarkSRClientFromeAPI, CreateLarkSRClientFromeUrl, LarkEventType, LarkSRClientEvent, AppliParams, LoadAppliParamsFromUrl, AppliParamsUtils, LoadAppliParamsStartAppInfo, EventBase, API, Operation, Capabilities, ScaleMode, CloudLark, FullScreen, LockPointer, ILarkSRConfig, PlayerModeType, UserType, LarkSREvent } from "./larksr";
|
|
3
3
|
declare const _default: {
|
|
4
4
|
LarkSR: typeof LarkSR;
|
|
5
5
|
CreateLarkSRClientFromeAPI: typeof CreateLarkSRClientFromeAPI;
|
|
@@ -16,6 +16,9 @@ declare const _default: {
|
|
|
16
16
|
FullScreen: typeof FullScreen;
|
|
17
17
|
LockPointer: typeof LockPointer;
|
|
18
18
|
Operation: typeof Operation;
|
|
19
|
+
LarkSRClientEvent: typeof LarkSRClientEvent;
|
|
20
|
+
LarkEventType: typeof LarkEventType;
|
|
21
|
+
KEYMAP: import("./operation/keymap").VritualKeyMapOptions;
|
|
19
22
|
};
|
|
20
23
|
export default _default;
|
|
21
|
-
export {
|
|
24
|
+
export { ILarkSRConfig, PlayerModeType, UserType, LarkSREvent, };
|
package/dist/types/larksr.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import API from './api';
|
|
|
10
10
|
import ScreenState from './screen_state';
|
|
11
11
|
import Operation from './operation/operation';
|
|
12
12
|
import { CloudLark } from './protobuf/cloudlark';
|
|
13
|
-
import { KEYMAP } from './operation/keymap';
|
|
13
|
+
import { KEYMAP, VirtualKey } from './operation/keymap';
|
|
14
14
|
import FullScreen from './utils/full_screen';
|
|
15
15
|
import LockPointer from './utils/lock_pointer';
|
|
16
16
|
import ScaleMode from './utils/scale_mode';
|
|
@@ -45,7 +45,7 @@ declare const enum UserType {
|
|
|
45
45
|
/**
|
|
46
46
|
* LarkSR 实例会发出的事件
|
|
47
47
|
*/
|
|
48
|
-
declare
|
|
48
|
+
declare enum LarkSRClientEvent {
|
|
49
49
|
/**
|
|
50
50
|
* 连接渲染服务器成功 .
|
|
51
51
|
*/
|
|
@@ -333,7 +333,7 @@ declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
|
|
|
333
333
|
private _fullScreen;
|
|
334
334
|
get lockPointer(): LockPointer;
|
|
335
335
|
private _lockPointer;
|
|
336
|
-
private
|
|
336
|
+
private _view;
|
|
337
337
|
/**
|
|
338
338
|
* 视频元素
|
|
339
339
|
*/
|
|
@@ -455,4 +455,4 @@ declare class LarkSR extends EventBase<LarkSRClientEvent, LarkSREvent> {
|
|
|
455
455
|
private onOperationTimeout;
|
|
456
456
|
private onOperationInput;
|
|
457
457
|
}
|
|
458
|
-
export { LarkSR, ILarkSRConfig, PlayerModeType, UserType, LarkSREvent, LarkEventType, LarkSRClientEvent, AppliParams, AppliParamsUtils, LoadAppliParamsFromUrl, LoadAppliParamsStartAppInfo, EventBase, API, Operation, Capabilities, ScaleMode, KEYMAP, CloudLark, FullScreen, LockPointer, };
|
|
458
|
+
export { LarkSR, ILarkSRConfig, PlayerModeType, UserType, LarkSREvent, LarkEventType, LarkSRClientEvent, AppliParams, AppliParamsUtils, LoadAppliParamsFromUrl, LoadAppliParamsStartAppInfo, EventBase, API, Operation, Capabilities, ScaleMode, VirtualKey, KEYMAP, CloudLark, FullScreen, LockPointer, };
|
|
@@ -8,13 +8,17 @@
|
|
|
8
8
|
* TODO fix:atl + tab, f5,ctr,bug
|
|
9
9
|
* REMOVE F11
|
|
10
10
|
*/
|
|
11
|
-
interface
|
|
11
|
+
export interface IVirtualKey {
|
|
12
12
|
scancode: number;
|
|
13
13
|
vkey: number;
|
|
14
14
|
unicode: number;
|
|
15
15
|
}
|
|
16
|
-
declare
|
|
17
|
-
|
|
16
|
+
export declare class VirtualKey implements IVirtualKey {
|
|
17
|
+
scancode: number;
|
|
18
|
+
vkey: number;
|
|
19
|
+
unicode: number;
|
|
20
|
+
}
|
|
21
|
+
export declare type VritualKeyMapOptions = {
|
|
22
|
+
[key: string]: VirtualKey;
|
|
18
23
|
};
|
|
19
|
-
export declare const KEYMAP:
|
|
20
|
-
export {};
|
|
24
|
+
export declare const KEYMAP: VritualKeyMapOptions;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "larksr_websdk",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.4",
|
|
4
4
|
"description": "larksr websdk. http://www.pingxingyun.com",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pingxingyun",
|
|
@@ -30,7 +30,8 @@
|
|
|
30
30
|
"core-js": "^3.18.1",
|
|
31
31
|
"crypto-js": "^4.1.1",
|
|
32
32
|
"protobufjs": "^6.11.2",
|
|
33
|
-
"webrtc-adapter": "^8.1.0"
|
|
33
|
+
"webrtc-adapter": "^8.1.0",
|
|
34
|
+
"weixin-js-sdk": "^1.6.0"
|
|
34
35
|
},
|
|
35
36
|
"devDependencies": {
|
|
36
37
|
"@babel/core": "^7.15.5",
|