UNPKG

@vertigis/viewer-spec

Version:

VertiGIS Viewer Specification

1 lines 1.27 kB
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export class SystemCommands extends e{_prefix="system";get displaySharingLink(){return this._get("display-sharing-link")}get repeatAction(){return this._get("repeat-action")}get downloadFile(){return this._get("download-file")}get openUrl(){return this._get("open-url")}get keepScreenOn(){return this._get("keep-screen-on")}get enableBackgroundLocationUpdates(){return this._get("enable-background-location-updates")}get disableBackgroundLocationUpdates(){return this._get("disable-background-location-updates")}get haptics(){return this._get("haptics")}}export class SystemOperations extends r{_prefix="system";get readUrl(){return this._get("read-url")}get readFile(){return this._get("read-file")}get readFiles(){return this._get("read-files")}get getSharingLink(){return this._get("get-sharing-link")}}export class SystemEvents extends t{_prefix="system";get backgroundLocationUpdatesEnabled(){return this._get("background-location-updates-enabled")}get backgroundLocationUpdatesDisabled(){return this._get("background-location-updates-disabled")}get urlOpened(){return this._get("url-opened")}}