UNPKG

@aurigma/design-atoms

Version:

Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.

16 lines (15 loc) 938 B
import { BaseItemsCommand } from "./BaseItemsCommand"; import { IHistoryArgs } from "../ModelUpdateCommand"; import { Item } from "@aurigma/design-atoms-model/Product/Items"; import { ProductHandler } from "../../Services/ProductHandler"; import { ICommandManager } from "../ICommandManager"; import { IInsertItemsIntoAreaCommandArgs as IInsertItemsIntoAreaCommandArgsAbstraction } from "@aurigma/design-atoms-interfaces"; export interface IInsertItemsIntoAreaCommandArgs extends IInsertItemsIntoAreaCommandArgsAbstraction<Item> { } export declare class InsertItemsIntoAreaCommand extends BaseItemsCommand<IInsertItemsIntoAreaCommandArgs, void> { private _commandManager; constructor(productHandler: ProductHandler, args: IInsertItemsIntoAreaCommandArgs, historyArgs: IHistoryArgs, _commandManager: ICommandManager); _executeCommandBody(): Promise<void>; redo(): Promise<void>; undo(): Promise<void>; }