@aurigma/design-atoms
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
17 lines (16 loc) • 930 B
TypeScript
import { BaseCommand } from "../BaseCommand";
import { Item } from "@aurigma/design-atoms-model/Product/Items/Item";
import { ProductHandler } from "../../Services/ProductHandler";
import { Canvas } from "../../Canvas";
import { IQueryOptions, ISelectItemsCommandArgs as ISelectItemsCommandArgsAbstraction } from "@aurigma/design-atoms-interfaces";
export interface ISelectItemsCommandArgs extends ISelectItemsCommandArgsAbstraction<Item> {
}
export { MultiSelectMode } from "@aurigma/design-atoms-interfaces";
export declare class SelectItemsCommand extends BaseCommand<ISelectItemsCommandArgs, void> {
private _productHandler;
private _canvas;
constructor(_productHandler: ProductHandler, args: ISelectItemsCommandArgs, _canvas?: Canvas);
lastSelectedItem: Item;
execute(): Promise<void>;
protected _getTargetItems(items?: Item[], query?: string, queryOptions?: IQueryOptions): Item[];
}