Merge pull request #28485 from Syncfusion-JavaScript/master

16.2.50 added
This commit is contained in:
Mine Starks
2018-09-07 15:49:15 -07:00
committed by GitHub
2 changed files with 247 additions and 21 deletions
File diff suppressed because one or more lines are too long
+238 -16
View File
@@ -8,7 +8,7 @@
/*!
* filename: ej.web.all.d.ts
* version : 16.2.0.41
* version : 16.2.0.50
* 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
@@ -4994,7 +4994,7 @@ declare namespace ej {
enableThumbnailCompress?: boolean;
/** Allows specified type of files only to display in FileExplorer control.
* @Default {.}
* @Default {* . *}
*/
fileTypes?: string;
@@ -15861,6 +15861,19 @@ declare namespace ej {
toolbarData?: any;
}
export interface SwimlaneSettingsHeader {
/** Gets or sets a value that indicates to render the Kanban with specified swimlane header text.
* @Default {null}
*/
text?: string;
/** Gets or sets a value that indicates to render the Kanban with specified swimlane header key.
* @Default {null}
*/
key?: string;
}
export interface SwimlaneSettingsUnassignedGroup {
/** To enable or disable unassigned category change with swim lane key values.
@@ -15886,6 +15899,16 @@ declare namespace ej {
*/
allowDragAndDrop?: boolean;
/** To enable or disable empty swimlane on Kanban board. It is used to shown empty swimlane when no data's present on headers key mapping value.
* @Default {false}
*/
showEmptySwimlane?: boolean;
/** Gets or sets an object that indicates to render the swimlane rows with specified swimlane headers.
* @Default {[]}
*/
headers?: SwimlaneSettingsHeader[];
/** Customize the settings for unassigned category of swim lane.
* @Default {Object}
*/
@@ -16880,9 +16903,10 @@ declare namespace ej {
/** This method helps to insert/paste the content at the current cursor (caret) position or the selected content to be replaced with our text by passing the value as parameter to the
* pasteContent method in the Editor.
* @param {string} paste content
* @returns {void}
*/
pasteContent(): void;
pasteContent(html: string): void;
/** Refreshes the RTE control.
* @returns {void}
@@ -23382,6 +23406,13 @@ declare namespace ej {
*/
refreshContent(templateRefresh?: boolean): void;
/** Refresh the grid contents with updated server Data, using XMLHttpRequest. Url Path should be provided in Grid datasource otherwise it refreshes with local data without
* XMLHttpRequest.
* @param {any} optionalData to the server
* @returns {void}
*/
refreshData(additionalParameters?: any): void;
/** Refresh the template of the grid
* @returns {void}
*/
@@ -36252,6 +36283,10 @@ declare namespace ej {
*/
rowSelecting?(e: RowSelectingEventArgs): void;
/** Triggered after splitter resizing action in Gantt
*/
splitterResized?(e: SplitterResizedEventArgs): void;
/** Triggered when taskbar item is clicked in Gantt.
*/
taskbarClick?(e: TaskbarClickEventArgs): void;
@@ -36852,6 +36887,33 @@ declare namespace ej {
previousGridRow?: any;
}
export interface SplitterResizedEventArgs {
/** Returns the cancel option value.
*/
cancel?: boolean;
/** Returns the value based on current splitter position.
*/
currentSplitterPosition?: string;
/** To set custom position for splitter after resize action.
*/
customSplitterPosition?: string;
/** Returns the value to differentiate whether splitter resizing is performed either by manual resizing or by method
*/
isOnResize?: boolean;
/** To differentiate `customSplitterPosition` value was index or position.
*/
isSplitterIndex?: boolean;
/** Returns the previous splitter position
*/
prevSplitterPosition?: string;
}
export interface TaskbarClickEventArgs {
/** Returns currently clicked row data
@@ -37455,8 +37517,14 @@ declare namespace ej {
///Enables the next time span icon in toolbar
NextTimeSpan,
///Enables the critical path icon in toolbar
CriticalPath,
///Enables the excel export toolbar icon
ExcelExport
ExcelExport,
///Enables the pdf export toolbar icon
PdfExport
}
@@ -37688,6 +37756,10 @@ declare namespace ej {
/** Fires when click the View Report Button.
*/
viewReportClick?(e: ViewReportClickEventArgs): void;
/** This event will be triggered on rendering the Report Viewer toolbar.
*/
toolbarRendering?(e: ToolbarRenderingEventArgs): void;
}
export interface DestroyEventArgs {
@@ -37826,6 +37898,9 @@ declare namespace ej {
type?: string;
}
export interface ToolbarRenderingEventArgs {
}
export interface DataSource {
/** Gets or sets the name of the data source.
@@ -40076,7 +40151,7 @@ declare namespace ej {
editMode?: ej.TreeGrid.EditMode|string;
/** Specifies the position where the new row has to be added.
* @Default {top}
* @Default {ej.TreeGrid.RowPosition.Top}
*/
rowPosition?: ej.TreeGrid.RowPosition|string;
@@ -40140,7 +40215,7 @@ declare namespace ej {
/** Gets or sets a value that indicates the maximum number of filter choices that can be showed in the excel styled filter menu.
* @Default {1000}
*/
maxFilterChoice?: number;
maxFilterChoices?: number;
}
export interface PageSettings {
@@ -40307,6 +40382,10 @@ declare namespace ej {
export interface SummaryRowsSummaryColumn {
/** Specifies the custom summary calculate function or text.
*/
customSummaryValue?: string;
/** Specifies summary column used to perform the summary calculation.
*/
dataMember?: string;
@@ -40380,11 +40459,11 @@ declare namespace ej {
///At load time column are rendered with given width value, while resizing the column only current column width is changed
FixedColumns,
///At load time columns are stretched with control width,while resizing the column, current column width updated based on next column
Normal,
///At load time columns are stretched with control width, while resizing the column, current column width adjusted based on next column
NextColumn,
///In this mode columns are stretched with control width in load time and on resizing action.
NextColumn
///In this mode columns are stretched with control width in load time and on resizing action current column width was adjusted with all columns.
Normal
}
@@ -40600,7 +40679,10 @@ declare namespace ej {
TrueCount,
///Displays the false count value for boolean summary columns
FalseCount
FalseCount,
///Displays the value from custom summary function
Custom
}
@@ -40634,7 +40716,10 @@ declare namespace ej {
ExcelExport,
///Enables the printing icon in toolbar
Print
Print,
///Enables the search textbox in toolbar
Search
}
}
@@ -43154,9 +43239,10 @@ declare namespace ej {
* @param {string} Specifies the context menu type in which the item to be inserted.
* @param {any[]} Pass the items to be inserted
* @param {string} Specifies the type of operation to be performed
* @param {number} Specifies the item index
* @returns {void}
*/
addItem(target: string, itemColl: any[], operation: string): void;
addItem(target: string, itemColl: any[], operation: string, itemIdx: number): void;
/** This method is used to change data source in the context menu.
* @param {string} Specifies the context menu type to bind the data source.
@@ -53707,6 +53793,34 @@ declare namespace ej.datavisualization {
RoundedRectangle,
//string
Image,
//string
Triangle,
//string
Diamond,
//string
Trapezoid,
//string
Pentagon,
//string
Wedge,
//string
Star,
//string
HorizontalLine,
//string
Verticalline,
//string
Cross,
//string
Uparrow,
//string
Downarrow,
//string
Leftarrow,
//string
Rightarrow,
//string
InvertedTriangle,
}
}
namespace CircularGauge {
@@ -62232,6 +62346,12 @@ declare namespace ej.datavisualization {
*/
allowSnapping?: boolean;
/** It allows to show the value between the particular periods (i.e) from 1st January to 31st February and so on. The default value is true. If we set the property as false, it allows
* to show the value between the particular periods.(i.e) from 1st January to 31st January and so on.
* @Default {true}
*/
allowNextValue?: boolean;
/** Options for customizing the color, opacity and width of the chart border.
*/
border?: Border;
@@ -62805,6 +62925,11 @@ declare namespace ej.datavisualization {
*/
labelPlacement?: ej.datavisualization.RangeNavigator.LabelPlacement|string;
/** Specifies to hide the labels when it intersects with each other.
* @Default {none}
*/
labelIntersectAction?: ej.datavisualization.RangeNavigator.LabelIntersectAction|string;
/** Specifies the position of the labels in higher level
* @Default {top}
*/
@@ -62921,6 +63046,11 @@ declare namespace ej.datavisualization {
*/
labelPlacement?: ej.datavisualization.RangeNavigator.LabelPlacement|string;
/** Specifies to hide the labels when it intersects with each other.
* @Default {none}
*/
labelIntersectAction?: ej.datavisualization.RangeNavigator.LabelIntersectAction|string;
/** Specifies the position of the labels in lower level.See Position
* @Default {bottom}
*/
@@ -63435,6 +63565,14 @@ declare namespace ej.datavisualization {
Outside,
}
}
namespace RangeNavigator {
enum LabelIntersectAction {
//string
None,
//string
Hide,
}
}
namespace RangeNavigator {
enum Position {
//string
@@ -64868,7 +65006,7 @@ declare namespace ej.datavisualization {
*/
zoom(level: number, isAnimate: boolean): void;
/** Method to reload the shape marker with updated values.
/** Method to reload the specified layer based on layer and sublayer index value.
* @returns {void}
*/
refreshLayer(): void;
@@ -65025,6 +65163,10 @@ declare namespace ej.datavisualization {
/** Triggers after refreshing the map items.
*/
refreshed?(e: RefreshedEventArgs): void;
/** Fires before rendering the data labels. This event is triggered for each data label in the layers. You can use this event to add custom text in data labels.
*/
displayTextRendering?(e: DisplayTextRenderingEventArgs): void;
}
export interface MarkerSelectedEventArgs {
@@ -65206,6 +65348,26 @@ declare namespace ej.datavisualization {
originalEvent?: any;
}
export interface DisplayTextRenderingEventArgs {
/** text - Text displayed in data label. You can add custom text to the data label locationX - X-coordinate of data label location locationY - Y-coordinate of data label
* location
*/
data?: any;
/** Set this option to true to cancel the event.
*/
cancel?: boolean;
/** Instance of the map model object.
*/
model?: any;
/** Name of the event
*/
type?: string;
}
export interface ZoomSettings {
/** Specifies animation duration for map shapes while zooming.
@@ -65360,6 +65522,39 @@ declare namespace ej.datavisualization {
valuePath?: string;
}
export interface LayersLabelSettingsFont {
/** Font family of the data label.
* @Default {Segoe UI}
*/
fontFamily?: string;
/** Font style of the data label.
* @Default {normal.}
*/
fontStyle?: ej.datavisualization.Map.FontStyle|string;
/** NameType DescriptionRegularstring Specifies the font weight as regular.BoldstringSpecifies the font weight as bold.LighterstringSpecifies the font weight as lighter.
* @Default {regular. See}
*/
fontWeight?: ej.datavisualization.Map.FontWeight|string;
/** Opacity of the text.
* @Default {1}
*/
opacity?: number;
/** Font color of the data label text.
* @Default {null}
*/
color?: string;
/** Font size of the data label.
* @Default {12px}
*/
size?: string;
}
export interface LayersLabelSettings {
/** enable or disable the enableSmartLabel property
@@ -65386,6 +65581,10 @@ declare namespace ej.datavisualization {
* @Default {fixed}
*/
smartLabelSize?: ej.datavisualization.Map.LabelSize|string;
/** Options for customizing the data label font.
*/
font?: LayersLabelSettingsFont;
}
export interface LayersLegendSettings {
@@ -66222,6 +66421,24 @@ declare namespace ej.datavisualization {
Default,
}
}
namespace Map {
enum FontStyle {
//string
Normal,
//string
Italic,
}
}
namespace Map {
enum FontWeight {
//string
Regular,
//string
Bold,
//string
Lighter,
}
}
namespace Map {
enum GeometryType {
//specifies the geographic view of map
@@ -70516,6 +70733,11 @@ declare namespace ej.datavisualization {
*/
gradient?: NodesGradient;
/** defines the node border with a smooth transition from one color to another color.
* @Default {null}
*/
borderGradient?: any;
/** Defines the header of a swimlane/lane
* @Default {{ text: Title, fontSize: 11 }}
*/
@@ -72093,8 +72315,8 @@ declare namespace ej.datavisualization {
Parallel,
//Used to set Event Trigger as Conditional
Conditional,
//Used to set Event Trigger as Termination
Termination,
//Used to set Event Trigger as Terminate
Terminate,
//Used to set Event Trigger as Cancel
Cancel,
}