larksr_websdk 3.2.7 → 3.2.11

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.
@@ -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
- constructor(rootElement: HTMLElement, params: IAppliParams, handelRootElementSize?: boolean);
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
  }
@@ -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): 0 | 1 | 2 | 3 | 4;
6
+ static getLevelIndex(level: string): 2 | 0 | 1 | 3 | 4;
7
7
  }
8
8
  export interface LogObserver {
9
9
  onLog(msg: string): void;
@@ -4,6 +4,7 @@
4
4
  import { CSSPosition, Point, ViewPort, OffsetView, Vector } from '../common/interface';
5
5
  export default class Unit {
6
6
  static queryString(name: string): string;
7
+ static queryURL(uri: URL, name: string): string;
7
8
  /**
8
9
  * 深度拷贝对象,创建新对象
9
10
  * @param source 输入对象