@syncfusion/ej2-documenteditor
Version:
Feature-rich document editor control with built-in support for context menu, options pane and dialogs.
99 lines (98 loc) • 2.35 kB
TypeScript
import { L10n } from '@syncfusion/ej2-base';
import { DocumentEditor } from '../../document-editor';
import { ChangeEventArgs } from '@syncfusion/ej2-dropdowns';
/**
* Form field text dialog is used to modify the value in text form field.
*/
export declare class TextFormFieldDialog {
private target;
private owner;
private defaultTextInput;
private maxLengthNumber;
private tooltipTextInput;
private bookmarkTextInput;
private fillInEnable;
private defaultTextLabel;
private defaultTextDiv;
private textFormatLabel;
private typeDropDown;
private textFormatDropDown;
private fieldBegin;
private dialogDiv;
private firstDiv;
private typeDiv;
private typeDropDownList;
private secondDiv;
private maxLengthDiv;
private maxLength;
private textFromatDiv;
private textFormatList;
private fileSettingsLabel;
private thirdDiv;
private toolTipTotalDiv;
private bookmarkTotalDiv;
private fillInEnableDiv;
private fillInEnableEle;
private localObj;
/**
* @param {DocumentHelper} owner - Specifies the document helper.
* @private
*/
constructor(owner: DocumentEditor);
private readonly documentHelper;
private getModuleName;
/**
* @private
* @param {L10n} locale - Specifies the locale.
* @returns {void}
*/
private initTextDialog;
/**
* @private
* @returns {void}
*/
show(): void;
/**
* @private
* @param {ChangeEventArgs} args - Specifies the event args.
* @returns {void}
*/
changeTypeDropDown(args: ChangeEventArgs): void;
/**
* @private
* @returns {void}
*/
loadTextDialog(local?: L10n): void;
/**
* @private
* @returns {void}
*/
updateTextFormtas: () => void;
private updateFormats;
/**
* @private
* @returns {void}
*/
onCancelButtonClick: () => void;
/**
* @private
* @returns {boolean} returns is valid date format.
*/
isValidDateFormat(): boolean;
/**
* @private
* @returns {void}
*/
insertTextField: () => void;
/**
* @private
* @returns {void}
*/
private closeTextField;
/**
* @private
* @returns {void}
*/
destroy(): void;
private removeElements;
}