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.

15 lines (14 loc) 683 B
import { Violation, IViolationInfo } from "./Violation"; import { Item, BaseTextItem } from "@aurigma/design-atoms-model/Product/Items"; import { ProductHandler } from "../../ProductHandler"; import { IViewerMessagesConfig } from "../../../Viewer/Interfaces"; export declare class TextCropViolation extends Violation { private _productHandler; private _messages; constructor(_productHandler: ProductHandler, _messages: IViewerMessagesConfig); prepareItem: (item: Item) => void; isAvailableFor(item: Item): boolean; getViolationInfo(item: BaseTextItem): IViolationInfo; getStatePropertyName(): string; static statePropertyName: string; }