mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-03 19:42:27 +08:00
Merge pull request #24611 from Syncfusion-JavaScript/master
16.1.32 added
This commit is contained in:
162
types/ej.web.all/index.d.ts
vendored
162
types/ej.web.all/index.d.ts
vendored
@@ -8,7 +8,7 @@
|
||||
|
||||
/*!
|
||||
* filename: ej.web.all.d.ts
|
||||
* version : 16.1.0.24
|
||||
* version : 16.1.0.32
|
||||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved.
|
||||
* Use of this code is subject to the terms of our license.
|
||||
* A copy of the current license can be obtained at any time by e-mailing
|
||||
@@ -378,7 +378,7 @@ declare namespace ej {
|
||||
update(dm: ej.DataManager, keyField: string, value: any, tableName: string): any;
|
||||
}
|
||||
class ForeignKeyAdaptor extends ej.JsonAdaptor {
|
||||
constructor();
|
||||
constructor(data: any, type: string);
|
||||
processQuery(ds: any, query: ej.Query): any;
|
||||
insert(dm: ej.DataManager, data: any, tableName: string): { url: string; data: any };
|
||||
update(dm: ej.DataManager, keyField: string, value: any, tableName: string): { url: string; type: string; data: any };
|
||||
@@ -9567,8 +9567,8 @@ declare namespace ej {
|
||||
*/
|
||||
cssClass?: string;
|
||||
|
||||
/** Sets the separator when the multiSelectMode with delimiter option or checkbox is enabled.When you enter the delimiter value, the text after the delimiter is considered as a
|
||||
* separateword or query. The delimiter string is a single character and must be a symbol. Mostly,the delimiter symbol is used as comma (,), semi-colon (;), or any other special
|
||||
/** Sets the separator when the multiSelectMode with delimiter option or checkbox is enabled. When you enter the delimiter value, the text after the delimiter is considered as a
|
||||
* separate word or query. The delimiter string is a single character and must be a symbol. Mostly, the delimiter symbol is used as comma (,), semi-colon (;), or any other special
|
||||
* character.
|
||||
* @Default {,}
|
||||
*/
|
||||
@@ -9628,12 +9628,12 @@ declare namespace ej {
|
||||
*/
|
||||
readOnly?: boolean;
|
||||
|
||||
/** The DropDownTree’s textbox is displayed with rounded corner style.
|
||||
/** The DropDownTree's textbox is displayed with rounded corner style.
|
||||
* @Default {false}
|
||||
*/
|
||||
showRoundedCorner?: boolean;
|
||||
|
||||
/** Specifies the targetID for the DropDownTree’s items.
|
||||
/** Specifies the targetID for the DropDownTree's items.
|
||||
* @Default {null}
|
||||
*/
|
||||
targetID?: string;
|
||||
@@ -9653,8 +9653,8 @@ declare namespace ej {
|
||||
*/
|
||||
validationRules?: any;
|
||||
|
||||
/** Specifies the value (text content) for the DropDownTree control. For the single selection mode, the selected item’s value will be returned in its data type, and for
|
||||
* MultiSelectMode, returns the selected items’ values separated by delimiter in string type.
|
||||
/** Specifies the value (text content) for the DropDownTree control. For the single selection mode, the selected item's value will be returned in its data type, and for
|
||||
* MultiSelectMode, returns the selected items values separated by delimiter in string type.
|
||||
* @Default {null}
|
||||
*/
|
||||
value?: string;
|
||||
@@ -9678,7 +9678,7 @@ declare namespace ej {
|
||||
*/
|
||||
blur?(e: BlurEventArgs): void;
|
||||
|
||||
/** Fires the action when the DropDownTree control’s value is changed.
|
||||
/** Fires the action when the DropDownTree control's value is changed.
|
||||
*/
|
||||
change?(e: ChangeEventArgs): void;
|
||||
|
||||
@@ -9744,15 +9744,15 @@ declare namespace ej {
|
||||
*/
|
||||
model?: any;
|
||||
|
||||
/** Selected item’s text.
|
||||
/** Selected item's text.
|
||||
*/
|
||||
selectedText?: string;
|
||||
|
||||
/** Selected item’s text.
|
||||
/** Selected item's text.
|
||||
*/
|
||||
text?: string;
|
||||
|
||||
/** Selected item’s value.
|
||||
/** Selected item's value.
|
||||
*/
|
||||
value?: string;
|
||||
|
||||
@@ -9779,11 +9779,11 @@ declare namespace ej {
|
||||
*/
|
||||
model?: any;
|
||||
|
||||
/** Selected item’s text.
|
||||
/** Selected item's text.
|
||||
*/
|
||||
text?: string;
|
||||
|
||||
/** Selected item’s value.
|
||||
/** Selected item's value.
|
||||
*/
|
||||
value?: string;
|
||||
|
||||
@@ -9810,11 +9810,11 @@ declare namespace ej {
|
||||
*/
|
||||
model?: any;
|
||||
|
||||
/** Selected item’s text.
|
||||
/** Selected item's text.
|
||||
*/
|
||||
text?: string;
|
||||
|
||||
/** Selected item’s value.
|
||||
/** Selected item's value.
|
||||
*/
|
||||
value?: string;
|
||||
}
|
||||
@@ -9863,7 +9863,7 @@ declare namespace ej {
|
||||
*/
|
||||
model?: any;
|
||||
|
||||
/** Selected item’s text.
|
||||
/** Selected item's text.
|
||||
*/
|
||||
selectedText?: string;
|
||||
|
||||
@@ -9905,11 +9905,11 @@ declare namespace ej {
|
||||
*/
|
||||
model?: any;
|
||||
|
||||
/** Selected item’s text.
|
||||
/** Selected item's text.
|
||||
*/
|
||||
text?: string;
|
||||
|
||||
/** Selected item’s value.
|
||||
/** Selected item's value.
|
||||
*/
|
||||
value?: string;
|
||||
}
|
||||
@@ -9928,11 +9928,11 @@ declare namespace ej {
|
||||
*/
|
||||
model?: any;
|
||||
|
||||
/** Selected item’s text.
|
||||
/** Selected item's text.
|
||||
*/
|
||||
text?: string;
|
||||
|
||||
/** Selected item’s value.
|
||||
/** Selected item's value.
|
||||
*/
|
||||
value?: string;
|
||||
|
||||
@@ -9961,7 +9961,7 @@ declare namespace ej {
|
||||
}
|
||||
}
|
||||
enum Textmode {
|
||||
//When TextMode property is set to none, only selected/checked node’s text is presented.
|
||||
//When TextMode property is set to none, only selected/checked node's text is presented.
|
||||
None,
|
||||
//When FullPath option is selected, the full path of the selected node is shown in the control.
|
||||
FullPath,
|
||||
@@ -19622,6 +19622,11 @@ declare namespace ej {
|
||||
*/
|
||||
value?: string|Date;
|
||||
|
||||
/** Specifies the water mark text to be displayed in input text.
|
||||
* @Default {select a time}
|
||||
*/
|
||||
watermarkText?: string;
|
||||
|
||||
/** Defines the width of the TimePicker textbox.
|
||||
*/
|
||||
width?: string|number;
|
||||
@@ -30758,6 +30763,11 @@ declare namespace ej {
|
||||
*/
|
||||
operationalMode?: ej.Pivot.OperationalMode|string;
|
||||
|
||||
/** To override x axis for particular series, create an axis object by providing unique name by using name property and add it to axes array.
|
||||
* @Default {[]}
|
||||
*/
|
||||
axes?: any[];
|
||||
|
||||
/** This is a horizontal axis that contains options to configure the axis and it is the primary x-axis for all series in the series array. To override x-axis for particular series,
|
||||
* create an axis object by providing a unique name by using the name property and add it to the axes array. Then, assign the name to the series’s xAxisName property to link both
|
||||
* the axis and the series.
|
||||
@@ -30818,10 +30828,6 @@ declare namespace ej {
|
||||
*/
|
||||
beforeServiceInvoke?(e: BeforeServiceInvokeEventArgs): void;
|
||||
|
||||
/** Triggers before the pivot engine starts to populate.
|
||||
*/
|
||||
beforePivotEnginePopulate?(e: BeforePivotEnginePopulateEventArgs): void;
|
||||
|
||||
/** Triggers when performing drill up/down operation in the pivot chart control.
|
||||
*/
|
||||
drillSuccess?(e: DrillSuccessEventArgs): void;
|
||||
@@ -30888,13 +30894,6 @@ declare namespace ej {
|
||||
element?: any;
|
||||
}
|
||||
|
||||
export interface BeforePivotEnginePopulateEventArgs {
|
||||
|
||||
/** returns the current instance of PivotChart.
|
||||
*/
|
||||
chartObj?: any;
|
||||
}
|
||||
|
||||
export interface DrillSuccessEventArgs {
|
||||
|
||||
/** returns the current instance of PivotChart.
|
||||
@@ -33505,6 +33504,11 @@ declare namespace ej {
|
||||
*/
|
||||
allowInline?: boolean;
|
||||
|
||||
/** When set to false, disables the appointment delete option on the Scheduler.
|
||||
* @Default {true}
|
||||
*/
|
||||
allowDelete?: boolean;
|
||||
|
||||
/** When set to true, Scheduler allows interaction through keyboard shortcut keys.
|
||||
* @Default {true}
|
||||
*/
|
||||
@@ -37077,6 +37081,11 @@ declare namespace ej {
|
||||
* @Default {0}
|
||||
*/
|
||||
weekStartDay?: number;
|
||||
|
||||
/** Enable or disable the automatic timescale update on cell editing, dialog editing and taskbar editing.
|
||||
* @Default {true}
|
||||
*/
|
||||
updateTimescaleView?: boolean;
|
||||
}
|
||||
|
||||
export interface SelectedCellIndex {
|
||||
@@ -38114,6 +38123,14 @@ declare namespace ej {
|
||||
*/
|
||||
sortColumn(fieldName: string, columnSortDirection: string): void;
|
||||
|
||||
/** To move the TreeGrid rows programmatically with from index ,to index and position.
|
||||
* @param {number} you can pass drag Index of the row
|
||||
* @param {number} you can pass target Index of the row.
|
||||
* @param {string} you can pass the drop position as above,below,child
|
||||
* @returns {void}
|
||||
*/
|
||||
moveRow(fromIndex: number, toIndex: number, position: string): void;
|
||||
|
||||
/** To reorder the column with field name and target index values
|
||||
* @param {string} you can pass a name of column to reorder.
|
||||
* @param {string} you can pass a target column index to be inserted.
|
||||
@@ -38651,6 +38668,10 @@ declare namespace ej {
|
||||
*/
|
||||
rowDragStop?(e: RowDragStopEventArgs): void;
|
||||
|
||||
/** Triggered before row drop action begins.
|
||||
*/
|
||||
rowDropActionBegin?(e: RowDropActionBeginEventArgs): void;
|
||||
|
||||
/** Triggered before selecting a cell
|
||||
*/
|
||||
cellSelecting?(e: CellSelectingEventArgs): void;
|
||||
@@ -39378,6 +39399,45 @@ declare namespace ej {
|
||||
type?: string;
|
||||
}
|
||||
|
||||
export interface RowDropActionBeginEventArgs {
|
||||
|
||||
/** Returns the cancel option value.
|
||||
*/
|
||||
cancel?: boolean;
|
||||
|
||||
/** Returns the row which we start to drag.
|
||||
*/
|
||||
draggedRow?: any;
|
||||
|
||||
/** Returns the row index which we start to drag.
|
||||
*/
|
||||
draggedRowIndex?: number;
|
||||
|
||||
/** Returns the multiple dragged row collection for multiple reorder
|
||||
*/
|
||||
draggedRecords?: any[];
|
||||
|
||||
/** Returns the drop position.
|
||||
*/
|
||||
dropPosition?: string;
|
||||
|
||||
/** Returns the row which we are dropped to row.
|
||||
*/
|
||||
targetRow?: any;
|
||||
|
||||
/** Returns the row index which we are dropped to row.
|
||||
*/
|
||||
targetRowIndex?: number;
|
||||
|
||||
/** Returns the TreeGrid model.
|
||||
*/
|
||||
model?: any;
|
||||
|
||||
/** Returns the name of the event.
|
||||
*/
|
||||
type?: string;
|
||||
}
|
||||
|
||||
export interface CellSelectingEventArgs {
|
||||
|
||||
/** Returns the cancel option value.
|
||||
@@ -42693,6 +42753,8 @@ declare namespace ej {
|
||||
|
||||
XLSort: Spreadsheet.XLSort;
|
||||
|
||||
XLSparkline: Spreadsheet.XLSparkline;
|
||||
|
||||
XLValidate: Spreadsheet.XLValidate;
|
||||
}
|
||||
export namespace Spreadsheet {
|
||||
@@ -43547,6 +43609,35 @@ declare namespace ej {
|
||||
sortByRange(range: any[]|string, columnName: string, direction: any): boolean;
|
||||
}
|
||||
|
||||
export interface XLSparkline {
|
||||
|
||||
/** This method used for creating the sparkline chart for specified range in spreadsheet.
|
||||
* @param {string} Pass the data range
|
||||
* @param {string} Pass the location range
|
||||
* @param {string} Pass the sparkline chart type
|
||||
* @param {any} Pass the sparkline chart options
|
||||
* @param {number} Pass the sheetIndex
|
||||
* @returns {void}
|
||||
*/
|
||||
createSparkline(dataRange: string, locationRange: string, type: string, options: any, sheetIndex: number): void;
|
||||
|
||||
/** This method used to change the sparkline color and marker point color in the spreadsheet.
|
||||
* @param {string} Pass the sparkline ID
|
||||
* @param {any} Pass the sparkline options
|
||||
* @param {number} Optional. Pass the sheet index
|
||||
* @returns {void}
|
||||
*/
|
||||
changePointColor(sparklineId: string, option: any, sheetIdx: number): void;
|
||||
|
||||
/** This method used to change the sparkline type in the spreadsheet.
|
||||
* @param {string} Pass the sparkline ID
|
||||
* @param {string} Pass the sparkline type
|
||||
* @param {number} Optional. Pass the sheet index
|
||||
* @returns {void}
|
||||
*/
|
||||
changeType(sparklineId: string, type: string, sheetIdx: number): void;
|
||||
}
|
||||
|
||||
export interface XLValidate {
|
||||
|
||||
/** This method is used to apply data validation rules in a selected range of cells based on the defined condition in the Spreadsheet.
|
||||
@@ -43737,6 +43828,11 @@ declare namespace ej {
|
||||
*/
|
||||
allowSorting?: boolean;
|
||||
|
||||
/** Gets or sets a value that indicates whether to enable the sparkline feature in the Spreadsheet.
|
||||
* @Default {false}
|
||||
*/
|
||||
allowSparkline?: boolean;
|
||||
|
||||
/** Gets or sets a value that indicates whether to enable or disable undo and redo feature in the Spreadsheet.
|
||||
* @Default {true}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user