gis-common 5.0.1 → 5.0.3

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.
@@ -0,0 +1,16 @@
1
+ type EventName = 'change' | 'error';
2
+ interface FullScreenAPI {
3
+ request(element: HTMLElement | undefined, options: FullscreenOptions): Promise<void>;
4
+ exit(): Promise<void>;
5
+ toggle(element: HTMLElement, options: FullscreenOptions): Promise<void>;
6
+ onchange(callback: (event: Event) => void): void;
7
+ onerror(callback: (event: Event) => void): void;
8
+ on(event: EventName, callback: (event: Event) => void): void;
9
+ off(event: EventName, callback: (event: Event) => void): void;
10
+ readonly isFullscreen: boolean;
11
+ readonly element: HTMLElement | undefined;
12
+ readonly isEnabled: boolean;
13
+ raw: any;
14
+ }
15
+ declare let FullScreen: FullScreenAPI;
16
+ export default FullScreen;
@@ -10,6 +10,7 @@ type MqttContext = {
10
10
  MQTT_PASSWORD: string;
11
11
  MQTT_TIMEOUTM: number;
12
12
  MQTT_MAX_RETRY: number;
13
+ REJECT_UNAUTHORIZED: boolean;
13
14
  };
14
15
  export default class MqttClient extends EventDispatcher {
15
16
  /**
@@ -45,7 +45,7 @@ export default class Storage {
45
45
  static sessionkeys(): string[];
46
46
  static getAllLocal(includeKeys: string[] | undefined): any[];
47
47
  static getAllSession(includeKeys: string[] | undefined): any[];
48
- static remove(key: string, options: any): void;
49
- static clearLocal(options: any): void;
50
- static clearSession(options: any): void;
48
+ static remove(key: string, options?: any): void;
49
+ static clearLocal(options?: any): void;
50
+ static clearSession(options?: any): void;
51
51
  }
@@ -3,6 +3,7 @@ export { default as Cookie } from './Cookie';
3
3
  export { default as Color } from './Color';
4
4
  export { default as CanvasDrawer } from './CanvasDrawer';
5
5
  export { default as EventDispatcher } from './EventDispatcher';
6
+ export { default as FullScreen } from './FullScreen';
6
7
  export { default as HashMap } from './HashMap';
7
8
  export { default as WebSocketClient } from './WebSocketClient';
8
9
  export { default as MqttClient } from './MqttClient';