From bad3048dc1bc81b02707d829005314c5a42f8092 Mon Sep 17 00:00:00 2001 From: Alexander Ziborov <1420883+San4es@users.noreply.github.com> Date: Thu, 18 Oct 2018 12:24:23 +0300 Subject: [PATCH] Update TS declarations (#5835) --- ts/dx.all.d.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ts/dx.all.d.ts b/ts/dx.all.d.ts index ac504d11ebc8..1e46152cd6d1 100644 --- a/ts/dx.all.d.ts +++ b/ts/dx.all.d.ts @@ -1725,6 +1725,7 @@ declare module DevExpress.ui { multiple?: boolean; /** A function that is executed when an accordion item's title is clicked or tapped. */ onItemTitleClick?: ((e: { component?: dxAccordion, element?: DevExpress.core.dxElement, model?: any, itemData?: any, itemElement?: DevExpress.core.dxElement, itemIndex?: number, event?: event }) => any) | string; + /** Specifies whether to repaint only those elements whose data changed. */ repaintChangesOnly?: boolean; /** The index number of the currently selected item. */ selectedIndex?: number; @@ -2052,6 +2053,7 @@ declare module DevExpress.ui { highlightChanges?: boolean; /** Configures the load panel. */ loadPanel?: { enabled?: boolean | 'auto', text?: string, width?: number, height?: number, showIndicator?: boolean, indicatorSrc?: string, showPane?: boolean }; + navigateToRow?: ((key: any) => any); /** Specifies text shown when the widget does not display any data. */ noDataText?: string; /** A function that is executed before an adaptive detail row is rendered. */ @@ -2290,7 +2292,6 @@ declare module DevExpress.ui { isRowSelected(key: any): boolean; /** Gets a data object's key. */ keyOf(obj: any): any; - navigateToRow(key: any): void; /** Gets the total page count. */ pageCount(): number; /** Gets the current page index. */ @@ -2578,6 +2579,7 @@ declare module DevExpress.ui { dropDownOptions?: dxPopupOptions; /** Specifies a custom template for the text field. Must contain the TextBox widget. */ fieldTemplate?: template | ((value: any, fieldElement: DevExpress.core.dxElement) => string | Element | JQuery); + /** Specifies whether a user can open the drop-down list by clicking a text field. */ openOnFieldClick?: boolean; /** Specifies the DOM events after which the widget's value should be updated. */ valueChangeEvent?: string; @@ -2940,6 +2942,7 @@ declare module DevExpress.ui { pullRefreshEnabled?: boolean; /** Specifies the text displayed in the pullDown panel while the list is being refreshed. */ refreshingText?: string; + /** Specifies whether to repaint only those elements whose data changed. */ repaintChangesOnly?: boolean; /** A Boolean value specifying if the list is scrolled by content. */ scrollByContent?: boolean; @@ -3907,6 +3910,7 @@ declare module DevExpress.ui { fieldTemplate?: template | ((selectedItem: any, fieldElement: DevExpress.core.dxElement) => string | Element | JQuery); /** A function that is executed when a user adds a custom item. Requires acceptCustomValue to be set to true. */ onCustomItemCreating?: ((e: { component?: T, element?: DevExpress.core.dxElement, model?: any, text?: string, customItem?: string | any | Promise | JQueryPromise }) => any); + /** Specifies whether a user can open the drop-down list by clicking a text field. */ openOnFieldClick?: boolean; /** The text that is provided as a hint in the select box editor. */ placeholder?: string; @@ -4024,6 +4028,7 @@ declare module DevExpress.ui { focusStateEnabled?: boolean; /** Specifies whether the widget changes its state when a user pauses on it. */ hoverStateEnabled?: boolean; + /** Specifies whether to repaint only those elements whose data changed. */ repaintChangesOnly?: boolean; /** Specifies whether or not an end-user can scroll tabs by swiping. */ scrollByContent?: boolean; @@ -4063,6 +4068,7 @@ declare module DevExpress.ui { onTitleHold?: ((e: { component?: dxTabPanel, element?: DevExpress.core.dxElement, model?: any, itemData?: any, itemElement?: DevExpress.core.dxElement, event?: event }) => any); /** A function that is executed after a tab is rendered. */ onTitleRendered?: ((e: { component?: dxTabPanel, element?: DevExpress.core.dxElement, model?: any, itemData?: any, itemElement?: DevExpress.core.dxElement }) => any); + repaintChangesOnly?: boolean; /** A Boolean value specifying if tabs in the title are scrolled by content. */ scrollByContent?: boolean; /** A Boolean indicating whether or not to add scrolling support for tabs in the title. */ @@ -4796,6 +4802,7 @@ declare module DevExpress.ui { onOpened?: ((e: { component?: T, element?: DevExpress.core.dxElement, model?: any }) => any); /** Specifies whether or not the drop-down editor is displayed. */ opened?: boolean; + /** Specifies whether a user can open the drop-down list by clicking a text field. */ openOnFieldClick?: boolean; /** Specifies whether the drop-down button is visible. */ showDropDownButton?: boolean;