UNPKG

@vertigis/viewer-spec

Version:

VertiGIS Viewer Specification

1 lines 1 kB
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export class ViewerCommands extends e{_prefix="viewer";get loadLayout(){return this._get("load-layout")}get logDebug(){return this._get("log-debug")}get postMessage(){return this._get("post-message")}get publishEvent(){return this._get("publish-event")}get setDebugMode(){return this._get("set-debug-mode")}}export class ViewerEvents extends t{_prefix="viewer";get layoutChanged(){return this._get("layout-changed")}}export class ViewerOperations extends r{_prefix="viewer";get getAllLayouts(){return this._get("get-all-layouts")}get getCurrentLayout(){return this._get("get-current-layout")}get getCapabilities(){return this._get("get-capabilities")}get getInDebugMode(){return this._get("get-in-debug-mode")}get getVersion(){return this._get("get-version")}get postMessageAwaitReply(){return this._get("post-message-await-reply")}}