larksr_websdk 3.2.7 → 3.2.8
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 +3 -0
- package/dist/larksr-web-sdk.min.js +2 -2
- package/dist/types/api.d.ts +20 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/larksr.d.ts +28 -3
- package/dist/types/screen_state.d.ts +5 -1
- package/package.json +1 -1
- package/types/api.d.ts +20 -0
- package/types/index.d.ts +2 -1
- package/types/lark/application.d.ts +5 -0
- package/types/larksr.d.ts +28 -3
- package/types/operation/operation.d.ts +3 -1
- package/types/protobuf/cloudlark.d.ts +6466 -5944
- package/types/screen_state.d.ts +5 -1
- package/types/utils/log.d.ts +1 -1
- package/types/utils/unit.d.ts +1 -0
package/types/screen_state.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { IAppliParams } from "./appli_params";
|
|
|
3
3
|
import { CloudLark } from "./protobuf/cloudlark";
|
|
4
4
|
import ScaleMode from "./utils/scale_mode";
|
|
5
5
|
import { LocalEvent, EventBase } from './event/event_base';
|
|
6
|
+
import { LarkSR } from "./larksr";
|
|
6
7
|
export interface ContainerSize {
|
|
7
8
|
marginTop: number;
|
|
8
9
|
marginLeft: number;
|
|
@@ -83,7 +84,9 @@ export default class ScreenState extends EventBase<SCREEN_EVENT_TYPE, ScreenEven
|
|
|
83
84
|
get isLockMouse(): boolean;
|
|
84
85
|
private _isLockMouse;
|
|
85
86
|
get cursorStyle(): SyncCursorStyle;
|
|
87
|
+
set cursorStyle(style: SyncCursorStyle);
|
|
86
88
|
private _cursorStyle;
|
|
89
|
+
private get cursorCSSStyle();
|
|
87
90
|
get appMouseMode(): CloudLark.IAppMouseMode;
|
|
88
91
|
set appMouseMode(mode: CloudLark.IAppMouseMode);
|
|
89
92
|
private _appMouseMode;
|
|
@@ -103,7 +106,8 @@ export default class ScreenState extends EventBase<SCREEN_EVENT_TYPE, ScreenEven
|
|
|
103
106
|
private mobileForceLandScape;
|
|
104
107
|
private bgColor;
|
|
105
108
|
private handelRootElementSize;
|
|
106
|
-
|
|
109
|
+
private larksr;
|
|
110
|
+
constructor(rootElement: HTMLElement, params: IAppliParams, larksr: LarkSR, handelRootElementSize?: boolean);
|
|
107
111
|
reset(params: IAppliParams): void;
|
|
108
112
|
resize(): void;
|
|
109
113
|
}
|
package/types/utils/log.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export declare class Level {
|
|
|
3
3
|
static WARN: string;
|
|
4
4
|
static ERR: string;
|
|
5
5
|
static TRACE: string;
|
|
6
|
-
static getLevelIndex(level: string):
|
|
6
|
+
static getLevelIndex(level: string): 2 | 0 | 1 | 3 | 4;
|
|
7
7
|
}
|
|
8
8
|
export interface LogObserver {
|
|
9
9
|
onLog(msg: string): void;
|
package/types/utils/unit.d.ts
CHANGED