@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
49 lines (48 loc) • 1.4 kB
TypeScript
import type { Action } from "@vertigis/arcgis-extensions/support/Action";
import type { ComponentModelProperties } from "../common/ComponentModelProperties.js";
/**
* Configuration for an offline component.
*/
export interface OfflineModelProperties extends ComponentModelProperties {
/**
* The action to perform when a user selects Download.
*/
onDownloadArea?: Action;
/**
* The action to perform when a user selects Delete Area.
*/
onDeleteArea?: Action;
/**
* The action to perform when a user selects Go Online.
*/
onGoOnline?: Action;
/**
* The action to perform when a user selects Activate Area.
*/
onActivateArea?: Action;
/**
* The action to perform when the list of map areas is produced.
*/
onGetAreas?: Action;
/**
* The action to perform when a user selects Cancel Download.
*/
onCancelDownload?: Action;
/**
* The action to perform when a user selects Update Area.
*/
onUpdateArea?: Action;
/**
* The action to perform when a user selects Submit Edits.
*/
onSubmitEdits?: Action;
/**
* The action to perform when a user selects Add Area.
*/
onDisplayCreateArea?: Action;
/**
* The action to perform when a user select Create when creating a new
* offline map area.
*/
onCreateArea?: Action;
}