/*! * Jodit Editor PRO (https://xdsoft.net/jodit/) * See LICENSE.md in the project root for license information. * Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/ */ import type { IJodit } from "jodit/esm/types/index"; import type { IChartData } from "../../interface"; import { UIElement } from "jodit/esm/core/ui/index"; /** * Dialog body of the chart editor: live preview, type/title fields and the * editable list of data points. */ export declare class UIChartEditor extends UIElement { className(): string; state: IChartData; private typeSelect; private titleInput; private addButton; private backgroundInput; private textColorInput; private borderColorInput; private transparentButton; protected render(): string; constructor(jodit: IJodit); private syncTransparent; private createColorInput; private colorField; /** * Loads a copy of the data into the form. */ setData(data: IChartData): void; /** * Returns a normalized copy of the edited data. */ getData(): IChartData; private addPoint; private removePoint; private rebuildPoints; private createPointRow; private __dragIndex; /** * Native drag and drop of a row. The grip is the draggable element so text * selection inside the inputs keeps working. */ private bindDragAndDrop; /** * Moves a point before or after another one and rebuilds the list. */ movePoint(from: number, to: number, after: boolean): void; private refresh; private __render; }