Merge pull request #20127 from Syncfusion-JavaScript/master

15.3.33 added
This commit is contained in:
Nathan Shively-Sanders
2017-10-06 11:59:46 -07:00
committed by GitHub
2 changed files with 240 additions and 138 deletions
File diff suppressed because one or more lines are too long
+150 -46
View File
@@ -8,7 +8,7 @@
/*!
* filename: ej.web.all.d.ts
* version : 15.3.0.29
* version : 15.3.0.33
* Copyright Syncfusion Inc. 2001 - 2017. 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
@@ -37,7 +37,7 @@ declare namespace ej {
function createObject(nameSpace: string, value: any, initIn: any): JQuery;
function createObject(element: any, eventEmitter: any, model: any): any;
function setCulture(culture: string): void;
function getObject<T>(element: string, model: any): T;
function getObject(element: string, model: any): any;
function getObject(nameSpace: string, fromdata?: any): any;
function defineClass(className: string, constructor: any, proto: any, replace: boolean): any;
function destroyWidgets(element: any): void;
@@ -7732,7 +7732,7 @@ declare namespace ej {
*/
enableRTL?: boolean;
/** The CSS class name to display the favicon in the dialog header. In order to display favicon, you need to set "showHeader" as true since the favicon will be displayed in the dialog
/** The CSS class name to display the favicon in the dialog header. In order to display favicon, you need to set 'showHeader' as true since the favicon will be displayed in the dialog
* header.
*/
faviconCSS?: string;
@@ -7791,7 +7791,7 @@ declare namespace ej {
*/
target?: string;
/** The title text to be displayed in the dialog header. In order to set title, you need to set "showHeader" as true since the title will be displayed in the dialog header.
/** The title text to be displayed in the dialog header. In order to set title, you need to set showHeader as true since the title will be displayed in the dialog header.
*/
title?: string;
@@ -8443,6 +8443,12 @@ declare namespace ej {
*/
enableFilterSearch?: boolean;
/** The serverfiltering is to perform filter action when text is typed in the search box and filtering will be done based on the collection which contains the matched item from entire
* datasource. Serverfiltering will be done based on the entire items in DataSource.
* @Default {false}
*/
enableServerFiltering?: boolean;
/** Saves the current model value to the browser cookies for state maintenance. While refreshing the DropDownList control page, it retains the model value and it is applied from the
* browser cookies.
* @Default {false}
@@ -10273,7 +10279,7 @@ declare namespace ej {
/** Specifies the field settings to map the datasource.
*/
fieldSettings?: any;
fieldSettings?: FieldSettings;
/** Contains the array of items to be added in ListView.
* @Default {[]}
@@ -10644,6 +10650,61 @@ declare namespace ej {
*/
type?: string;
}
export interface FieldSettings {
/** Defines the specific field name which contains Boolean values to specify whether the list items to be checked by default or not.
*/
checked?: boolean;
/** Defines the URL to be navigated while clicking the list item.
*/
navigateUrl?: string;
/** Defines the HTML attributes such as id, class, styles for the specific list item.
*/
attributes?: any;
/** Defines the specific field name which contains id values for the list items.
*/
id?: string;
/** Defines the URL for the image to be displayed in the list item.
*/
imageUrl?: string;
/** Defines the class name for image in that specific list items.
*/
imageClass?: string;
/** Specifies whether to prevent the selection of the list item.
*/
preventSelection?: boolean;
/** Specifies whether to retain the selection of the list item.
*/
persistSelection?: boolean;
/** To define the first level of list items.
*/
primaryKey?: string;
/** To define the child level of list items inside the parent items.
*/
parentPrimaryKey?: string;
/** Defines the specific field name in the data source to load the list with data.
*/
text?: string;
/** To trigger the mouseup event for specific list items.
*/
mouseUP?: string;
/** To trigger the mousedown event for specific list items.
*/
mouseDown?: string;
}
}
class MaskEdit extends ej.Widget {
@@ -10721,6 +10782,11 @@ declare namespace ej {
*/
inputMode?: ej.InputMode|string;
/** Defines the localization culture for MaskEdit.
* @Default {en-US}
*/
locale?: string;
/** Specifies the input mask.
* @Default {null}
*/
@@ -11741,7 +11807,7 @@ declare namespace ej {
*/
externalStyles?: string;
/** Prepend a doctype to the document frame.
/** Prepend a docType to the document frame.
* @Default {&lt;!doctype html&gt;}
*/
docType?: string;
@@ -15901,7 +15967,7 @@ declare namespace ej {
/** Performs the action value based on the given command.
* @param {string} Command Name.
* @param {any} Content to be inserted as argument.
* @param {boolean} Boolean value to specify whether the argument is textnode or not, this is optional.
* @param {boolean} Boolean value to specify whether the argument is textNode or not, this is optional.
* @returns {void}
*/
executeCommand(cmdName: string, args: any, textnodeType?: boolean): void;
@@ -22044,6 +22110,19 @@ declare namespace ej {
*/
cancelEditCell(): void;
/** Returns the total page size need to be displayed in grid based on the given container height. This method will also work when the property allowTextWrap as true only when wrap
* mode is header.
* @param {number} When passing the container height as integer or percentage, it will returns the page size that need to be displayed for grid.
* @returns {number}
*/
calculatePageSizeByParentHeight(containerHeight: number): number;
/** It is used to change the number of records displayed per page in grid based on the given page size.
* @param {number} When passing the page size, it will change the number of records displayed per page in grid.
* @returns {void}
*/
changePageSize(pageSize: number): void;
/** It is used to clear all the cell selection.
* @returns {boolean}
*/
@@ -22169,7 +22248,7 @@ declare namespace ej {
export(action?: string, serverEvent?: string, multipleExport?: boolean, gridIds?: any[]): void;
/** Send a filtering request to filter one column in grid.
* @param {any[]} Pass the field name of the column
* @param {any[]|string} Pass the field name of the column
* @param {string} string/integer/dateTime operator
* @param {string} Pass the value to be filtered in a column
* @param {string} Pass the predicate as and/or
@@ -22177,7 +22256,7 @@ declare namespace ej {
* @param {any} optionalactualFilterValue denote the filter object of current filtered columns.Pass the value to filtered in a column
* @returns {void}
*/
filterColumn(fieldName: any[], filterOperator: string, filterValue: string, predicate: string, matchcase?: boolean, actualFilterValue?: any): void;
filterColumn(fieldName: any[]|string, filterOperator: string, filterValue: string, predicate: string, matchcase?: boolean, actualFilterValue?: any): void;
/** Send a filtering request to filter single or multiple column in grid.
* @param {any[]} Pass array of filterColumn query for performing filter operation
@@ -25152,7 +25231,7 @@ declare namespace ej {
/** Gets or sets a value that indicates to display a column value as checkbox or string
* @Default {true}
*/
displayAsCheckBox?: boolean;
displayAsCheckbox?: boolean;
/** Gets or sets a value that indicates to customize ejNumericTextbox of an editable column. See editingType
*/
@@ -25288,6 +25367,11 @@ declare namespace ej {
* @Default {[]}
*/
subMenu?: any[];
/** Used to get or set the sub menu items to the custom context menu item using JsRender template.
* @Default {null}
*/
template?: string;
}
export interface ContextMenuSettings {
@@ -51454,6 +51538,11 @@ declare namespace ej.datavisualization {
/** Name of the event
*/
type?: string;
/** location - X and Y co-ordinate of the points with respect to chart area.id - ID of the target element. size - Width and height of the chart. pageX - x-coordinate of the
* pointer, relative to the page pageY - y-coordinate of the pointer, relative to the page
*/
data?: any;
}
export interface ChartDoubleClickEventArgs {
@@ -51469,6 +51558,11 @@ declare namespace ej.datavisualization {
/** Name of the event
*/
type?: string;
/** location - X and Y co-ordinate of the points with respect to chart area.id - ID of the target element. size - Width and height of the chart. pageX - x-coordinate of the
* pointer, relative to the page pageY - y-coordinate of the pointer, relative to the page
*/
data?: any;
}
export interface ChartMouseLeaveEventArgs {
@@ -51564,7 +51658,7 @@ declare namespace ej.datavisualization {
*/
type?: string;
/** errorbar - Error bar Object
/** errorBar - Error bar Object
*/
data?: any;
}
@@ -51583,7 +51677,7 @@ declare namespace ej.datavisualization {
*/
type?: string;
/** multilevellabels - MultiLevel Label Object
/** MultiLevelLabels - MultiLevel Label Object
*/
data?: any;
}
@@ -51996,7 +52090,7 @@ declare namespace ej.datavisualization {
export interface CommonSeriesOptionsBubbleOptions {
/** Used for the calculation of the bubble radius based on the mode selected
* @Default {minmax}
* @Default {minMax}
*/
radiusMode?: ej.datavisualization.Chart.RadiusMode|string;
@@ -52980,7 +53074,7 @@ declare namespace ej.datavisualization {
*/
pieOfPieCoefficient?: number;
/** Split Value of pieofpie series.
/** Split Value of pieOfPie series.
* @Default {null}
*/
splitValue?: string;
@@ -55968,7 +56062,7 @@ declare namespace ej.datavisualization {
export interface SeriesBubbleOptions {
/** Used for the calculation of the bubble radius based on the mode selected
* @Default {minmax .See RadiusMode}
* @Default {minMax .See RadiusMode}
*/
radiusMode?: ej.datavisualization.Chart.RadiusMode|string;
@@ -57257,7 +57351,7 @@ declare namespace ej.datavisualization {
*/
pieOfPieCoefficient?: number;
/** Split Value of pieofpie series.
/** Split Value of pieOfPie series.
* @Default {null}
*/
splitValue?: string;
@@ -61343,7 +61437,7 @@ declare namespace ej.datavisualization {
valuePath?: string;
}
export interface LayersSublayersBubbleSettingsColorMappingsRangeColorMapping {
export interface LayersSubLayersBubbleSettingsColorMappingsRangeColorMapping {
/** Start range colorMappings in the bubble layer.
* @Default {null}
@@ -61365,15 +61459,15 @@ declare namespace ej.datavisualization {
color?: string;
}
export interface LayersSublayersBubbleSettingsColorMappings {
export interface LayersSubLayersBubbleSettingsColorMappings {
/** Specifies the range colorMappings in the bubble layer.
* @Default {null}
*/
rangeColorMapping?: LayersSublayersBubbleSettingsColorMappingsRangeColorMapping[];
rangeColorMapping?: LayersSubLayersBubbleSettingsColorMappingsRangeColorMapping[];
}
export interface LayersSublayersBubbleSettings {
export interface LayersSubLayersBubbleSettings {
/** Specifies the bubble Opacity value of bubbles for shape layer in map
* @Default {0.9}
@@ -61388,7 +61482,7 @@ declare namespace ej.datavisualization {
/** Specifies the colorMappings of the shape layer in map
* @Default {null}
*/
colorMappings?: LayersSublayersBubbleSettingsColorMappings;
colorMappings?: LayersSubLayersBubbleSettingsColorMappings;
/** Specifies the bubble color valuePath of the shape layer in map
* @Default {null}
@@ -61426,7 +61520,7 @@ declare namespace ej.datavisualization {
valuePath?: string;
}
export interface LayersSublayersLabelSettings {
export interface LayersSubLayersLabelSettings {
/** enable or disable the enableSmartLabel property
* @Default {false}
@@ -61454,7 +61548,7 @@ declare namespace ej.datavisualization {
smartLabelSize?: ej.datavisualization.Map.LabelSize|string;
}
export interface LayersSublayersLegendSettings {
export interface LayersSubLayersLegendSettings {
/** Determines whether the legend should be placed outside or inside the map bounds
* @Default {false}
@@ -61547,7 +61641,7 @@ declare namespace ej.datavisualization {
width?: number;
}
export interface LayersSublayersShapeSettingsColorMappingsRangeColorMapping {
export interface LayersSubLayersShapeSettingsColorMappingsRangeColorMapping {
/** Specifies the start range colorMappings in the shape layer of map.
* @Default {null}
@@ -61565,7 +61659,7 @@ declare namespace ej.datavisualization {
gradientColors?: any[];
}
export interface LayersSublayersShapeSettingsColorMappingsEqualColorMapping {
export interface LayersSubLayersShapeSettingsColorMappingsEqualColorMapping {
/** Specifies the equalColorMapping value in the shape layer of map.
* @Default {null}
@@ -61578,20 +61672,20 @@ declare namespace ej.datavisualization {
color?: string;
}
export interface LayersSublayersShapeSettingsColorMappings {
export interface LayersSubLayersShapeSettingsColorMappings {
/** Specifies the range colorMappings in the shape layer of map.
* @Default {null}
*/
rangeColorMapping?: LayersSublayersShapeSettingsColorMappingsRangeColorMapping[];
rangeColorMapping?: LayersSubLayersShapeSettingsColorMappingsRangeColorMapping[];
/** Specifies the equalColorMapping in the shape layer of map.
* @Default {null}
*/
equalColorMapping?: LayersSublayersShapeSettingsColorMappingsEqualColorMapping[];
equalColorMapping?: LayersSubLayersShapeSettingsColorMappingsEqualColorMapping[];
}
export interface LayersSublayersShapeSettings {
export interface LayersSubLayersShapeSettings {
/** Enables or Disables the auto fill colors for shape layer in map. When this property value set to true, shapes will be filled with palette colors.
* @Default {false}
@@ -61601,7 +61695,7 @@ declare namespace ej.datavisualization {
/** Specifies the colorMappings of the shape layer in map
* @Default {null}
*/
colorMappings?: LayersSublayersShapeSettingsColorMappings;
colorMappings?: LayersSubLayersShapeSettingsColorMappings;
/** Specifies the shape color palette value of the shape layer in map. Accepted colorPalette values are palette1, palette2, palette3 and custompalette.
* @Default {palette1}
@@ -61669,7 +61763,7 @@ declare namespace ej.datavisualization {
valuePath?: string;
}
export interface LayersSublayer {
export interface LayersSubLayer {
/** to get the type of bing map.
* @Default {aerial}
@@ -61678,7 +61772,7 @@ declare namespace ej.datavisualization {
/** Specifies the bubble settings for map
*/
bubbleSettings?: LayersSublayersBubbleSettings;
bubbleSettings?: LayersSubLayersBubbleSettings;
/** Specifies the datasource for the shape layer
*/
@@ -61709,7 +61803,7 @@ declare namespace ej.datavisualization {
/** Options for enabling and configuring labelSettings labelPath, smartLabelSize, labelLength etc.,
*/
labelSettings?: LayersSublayersLabelSettings;
labelSettings?: LayersSubLayersLabelSettings;
/** Specifies the map view type.
* @Default {'geographic'}
@@ -61723,7 +61817,7 @@ declare namespace ej.datavisualization {
/** Options for enabling and configuring legendSettings position, height, width, mode, type etc.,
*/
legendSettings?: LayersSublayersLegendSettings;
legendSettings?: LayersSubLayersLegendSettings;
/** Specifies the map items template for shapes.
*/
@@ -61754,7 +61848,7 @@ declare namespace ej.datavisualization {
/** Specifies the shape settings of map layer
*/
shapeSettings?: LayersSublayersShapeSettings;
shapeSettings?: LayersSubLayersShapeSettings;
/** Shows or hides the map items.
* @Default {false}
@@ -61884,7 +61978,7 @@ declare namespace ej.datavisualization {
/** Sublayer is the collection of shape Layer
*/
sublayers?: LayersSublayer[];
subLayers?: LayersSubLayer[];
}
}
namespace Map {
@@ -62606,7 +62700,7 @@ declare namespace ej.datavisualization {
//Wrap the label by letter when its width exceeds grid width
Wrap,
//Wrap the label by word when its width exceeds grid width
Wrapbyword,
WrapByWord,
}
}
namespace TreeMap {
@@ -64075,11 +64169,11 @@ declare namespace ej.datavisualization {
/** A method that defines whether the command is executable at the moment or not.
*/
canExecute?: '() => void';
canExecute?: any;
/** A method that defines what to be executed when the key combination is recognized.
*/
execute?: '() => void';
execute?: any;
/** Defines a combination of keys and key modifiers, on recognition of which the command will be executed
*/
@@ -64871,24 +64965,24 @@ declare namespace ej.datavisualization {
/** A method that takes a history entry as argument and returns whether the specific entry can be popped or not
*/
canPop?: '() => void';
canPop?: any;
/** A method that ends grouping the changes
*/
closeGroupAction?: '() => void';
closeGroupAction?: any;
/** A method that removes the history of a recent change made in diagram
*/
pop?: '() => void';
pop?: any;
/** A method that allows to track the custom changes made in diagram
*/
push?: '() => void';
push?: any;
/** Defines what should be happened while trying to restore a custom change
* @Default {null}
*/
redo?: '() => void';
redo?: any;
/** The redoStack property is used to get the number of redo actions to be stored on the history manager. Its an read-only property and the collection should not be modified.
* @Default {[]}
@@ -64902,11 +64996,11 @@ declare namespace ej.datavisualization {
/** A method that starts to group the changes to revert/restore them in a single undo or redo
*/
startGroupAction?: '() => void';
startGroupAction?: any;
/** Defines what should be happened while trying to revert a custom change
*/
undo?: '() => void';
undo?: any;
/** The undoStack property is used to get the number of undo actions to be stored on the history manager. Its an read-only property and the collection should not be modified.
* @Default {[]}
@@ -65197,6 +65291,11 @@ declare namespace ej.datavisualization {
*/
stops?: any[];
/** Defines the type of gradient
* @Default {linear}
*/
type?: string;
/** Defines the left most position(relative to node) of the rectangular region that needs to be painted
* @Default {0}
*/
@@ -65220,6 +65319,11 @@ declare namespace ej.datavisualization {
export interface NodesGradientRadialGradient {
/** Defines the type of gradient
* @Default {radial}
*/
type?: string;
/** Defines the position of the outermost circle
* @Default {0}
*/