UNPKG

@vertigis/viewer-spec

Version:

VertiGIS Viewer Specification

36 lines (35 loc) 1.14 kB
import type { Command } from "../Command.js"; import { CommandRegistry } from "../CommandRegistry.js"; import type { Features, HasFeatures } from "../common.js"; /** * Arguments for the "bulk-editing" commands. Web only. */ export type BulkEditingArgs = Features | HasFeatures; /** * Commands for managing bulk editing functionality in ViewerSpec. * * Core bulk editing functionality is handled by the edit registry. */ export declare class BulkEditingCommands extends CommandRegistry { protected readonly _prefix = "bulk-editing"; /** * Adds features to the bulk editing session. Typically used to stage * features for later bulk updates. Web only. * * @webOnly */ get add(): Command<BulkEditingArgs>; /** * Displays the bulk editing interface for a given set of features. Updates * the UI to show editable attributes for the provided features. Web only. * * @webOnly */ get display(): Command<BulkEditingArgs>; /** * Removes features from the bulk editing session. Web only. * * @webOnly */ get remove(): Command<BulkEditingArgs>; }