@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
1 lines • 1.78 kB
JavaScript
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export class AppCommands extends e{_prefix="app";get goToAppSelector(){return this._get("go-to-app-selector")}get refresh(){return this._get("refresh")}get setPersistentData(){return this._get("set-persistent-data")}get favorite(){return this._get("favorite")}get unfavorite(){return this._get("unfavorite")}get loadProject(){return this._get("load-project")}}export class AppEvents extends t{custom=new AppCustomEvents(this._messages);generic=new AppGenericEvents(this._messages);_prefix="app";get activated(){return this._get("activated")}get backgrounded(){return this._get("backgrounded")}get interrupted(){return this._get("interrupted")}get goingToAppSelector(){return this._get("navigating-to-app-selector")}get refreshed(){return this._get("refreshed")}get refreshing(){return this._get("refreshing")}get favorited(){return this._get("favorited")}get unfavorited(){return this._get("unfavorited")}}export class AppCustomEvents extends t{_prefix="app.custom";get started(){return this._get("started")}}export class AppGenericEvents extends t{_prefix="app.generic";get appsListed(){return this._get("apps-listed")}get specificAppStarting(){return this._get("generic.specific-app-starting")}get specificAppStarted(){return this._get("generic.specific-app-started")}get started(){return this._get("generic.started")}}export class AppOperations extends r{_prefix="app";get getVersion(){return this._get("get-version")}get createProject(){return this._get("create-project")}get getPersistentData(){return this._get("get-persistent-data")}get removePersistentData(){return this._get("remove-persistent-data")}}