UNPKG

@aurigma/design-editor-iframe

Version:

Using this module you can embed Design Editor (a part of Customer's Canvas) to your page through the IFrame API.

58 lines 2.5 kB
/** @internal */ export var IColorPickerConfigParsed; (function (IColorPickerConfigParsed) { IColorPickerConfigParsed.injectName = "$cc.IColorPickerConfigParsed"; })(IColorPickerConfigParsed || (IColorPickerConfigParsed = {})); /** * Sections of the predefined colors in the Color picker. * @public */ export var SectionType; (function (SectionType) { /** A {@link IPaletteSection|predefined set} of color swatches. */ SectionType["PaletteSection"] = "PaletteSection"; /** A set of {@link IRecentSection|recently selected} colors. */ SectionType["RecentSection"] = "RecentSection"; /** A set of {@link IThemeSection|theme colors} defined for a product. */ SectionType["ThemeSection"] = "ThemeSection"; /** The {@link INoColorSection|"NoColor"} section. */ SectionType["NoColorSection"] = "NoColorSection"; })(SectionType || (SectionType = {})); /** * Targets for color sections of Color picker. * @remarks This enum contains all properties that can be colored. You can configure a color picker in a {@link INoColorSection|special way} for each of these targets. * @public */ export var ColorPickerTarget; (function (ColorPickerTarget) { /** The background color. */ ColorPickerTarget["Background"] = "Background"; /** The fill color. */ ColorPickerTarget["Fill"] = "Fill"; /** The border color. */ ColorPickerTarget["Border"] = "Border"; /** The color of plain text. */ ColorPickerTarget["Text"] = "Text"; /** The color of rich formatted text. */ ColorPickerTarget["RichText"] = "RichText"; /** The shadow color. */ ColorPickerTarget["Shadow"] = "Shadow"; /** The stroke color. */ ColorPickerTarget["Stroke"] = "Stroke"; /** The color of lines. */ ColorPickerTarget["Line"] = "Line"; /** All item properties for which you can specify a color. */ ColorPickerTarget["All"] = "All"; })(ColorPickerTarget || (ColorPickerTarget = {})); /** * The appearance of the Color picker sections. * @public */ export var ColorPickerSectionViewType; (function (ColorPickerSectionViewType) { /** Displays a palette as a block of color swatches. */ ColorPickerSectionViewType["Block"] = "Block"; /** Displays a palette as a list of color swatches and their names. */ ColorPickerSectionViewType["Line"] = "Line"; })(ColorPickerSectionViewType || (ColorPickerSectionViewType = {})); //# sourceMappingURL=IColorPickerConfigParsed.js.map