This commit is contained in:
Christiaan Rakowski
2013-06-29 16:27:41 +02:00
29 changed files with 1203 additions and 5141 deletions
+2 -2
View File
@@ -800,7 +800,7 @@ var DefinitelyTyped;
SyntaxCheking.prototype.run = function (it, file, len, maxLen, callback) {
var _this = this;
if (!endsWith(file, '-tests.ts')) {
if (!endsWith(file.toUpperCase(), '-TESTS.TS') && file.indexOf('../_infrastructure') < 0) {
new Test(file).run(function (o) {
var failed = false;
@@ -915,7 +915,7 @@ var DefinitelyTyped;
TestEval.prototype.run = function (it, file, len, maxLen, callback) {
var _this = this;
if (endsWith(file, '-tests.ts')) {
if (endsWith(file.toUpperCase(), '-TESTS.TS')) {
new Test(file).run(function (o) {
var failed = false;
+3 -3
View File
@@ -291,8 +291,8 @@ module DefinitelyTyped {
}
}
private run(it, file, len, maxLen, callback: Function) {
if (!endsWith(file, '-tests.ts')) {
private run(it, file, len, maxLen, callback: Function) {
if (!endsWith(file.toUpperCase(), '-TESTS.TS') && file.indexOf('../_infrastructure') < 0) {
new Test(file).run((o) => {
var failed = false;
@@ -408,7 +408,7 @@ module DefinitelyTyped {
}
private run(it, file, len, maxLen, callback: Function) {
if (endsWith(file, '-tests.ts')) {
if (endsWith(file.toUpperCase(), '-TESTS.TS')) {
new Test(file).run((o) => {
var failed = false;
+1
View File
@@ -295,6 +295,7 @@ declare module Backbone {
collection: Collection;
make(tagName: string, attrs?, opts?): View;
setElement(element: HTMLElement, delegate?: boolean);
setElement(element: JQuery, delegate?: boolean);
id: string;
cid: string;
className: string;
+1 -1
View File
@@ -183,7 +183,7 @@ declare module Breeze {
parseDateFromServer(date: any): Date;
}
declare var DataType: DataType;
var DataType: DataType;
class EntityActionSymbol extends BreezeCore.EnumSymbol {
}
+2 -2
View File
@@ -484,7 +484,7 @@ declare module createjs {
y: number;
// methods
constructor (x: number, y: number);
constructor (x?: number, y?: number);
clone(): Point;
toString(): string;
}
@@ -498,7 +498,7 @@ declare module createjs {
height: number;
// methods
constructor (x: number, y: number, width: number, height: number);
constructor (x?: number, y?: number, width?: number, height?: number);
clone(): Rectangle;
toString(): string;
}
+72 -52
View File
@@ -164,9 +164,9 @@ declare module Ext {
* @param oldHeight Number The old height, or undefined if this was the initial layout.
*/
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:any ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:any ): void;
/** [Method] Allows addition of behavior after rendering is complete */
afterRender?(): void;
/** [Method] Template method called after a Component has been positioned
@@ -2063,9 +2063,9 @@ declare module Ext.chart {
* @param oldHeight Number The old height, or undefined if this was the initial layout.
*/
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:any ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:any ): void;
/** [Method] set the store after rendering the chart */
afterRender?(): void;
/** [Method] Binds a store to this instance
@@ -3419,9 +3419,9 @@ declare module Ext {
* @param oldHeight Number The old height, or undefined if this was the initial layout.
*/
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:any ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:any ): void;
/** [Method] Invoked after the Component has been hidden
* @param callback Function
* @param scope Object
@@ -3482,7 +3482,7 @@ declare module Ext {
focus?( selectText?:bool, delay?:bool ): Ext.IComponent;
focus?( selectText?:bool, delay?:number ): Ext.IComponent;
/** [Method] Implements an upward event bubbling policy */
getBubbleTarget?(): void;
getBubbleTarget? (): Ext.IContainer;
/** [Method] Retrieves the top level element representing this component */
getEl?(): Ext.dom.IElement;
/** [Method] Retrieves the id of this component */
@@ -3710,9 +3710,9 @@ declare module Ext.container {
* @param oldHeight Number The old height, or undefined if this was the initial layout.
*/
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:any ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:any ): void;
/** [Method] Invoked after the Container has laid out and rendered if necessary its child Components
* @param layout Ext.layout.container.IContainer
*/
@@ -14114,7 +14114,7 @@ declare module Ext.form.field {
/** [Method] Returns the name attribute of the field */
getName?(): string;
/** [Method] Returns the raw value of the field without performing any normalization conversion or validation */
getRawValue?(): string;
getRawValue?(): any;
/** [Method] Creates and returns the data object to be used when rendering the fieldSubTpl */
getSubTplData?(): any;
/** [Method] Gets the markup to be inserted into the outer template s bodyEl */
@@ -16469,7 +16469,7 @@ declare module Ext.form.field {
/** [Method] Returns the value s that should be saved to the Ext data Model instance for this field when Ext form Basic updateRe */
getModelData?(): any;
/** [Method] Returns the submit value for the checkbox which can be used when submitting forms */
getSubmitValue?(): any;
getSubmitValue?(): string;
/** [Method] Method to manage awareness of when components are removed from their respective Container firing a removed event
* @param destroying Boolean Will be passed as true if the Container performing the remove operation will delete this Component upon remove.
*/
@@ -16495,7 +16495,7 @@ declare module Ext.form {
/** [Method] Returns the value s that should be saved to the Ext data Model instance for this field when Ext form Basic updateRe */
getModelData?(): any;
/** [Method] Returns the submit value for the checkbox which can be used when submitting forms */
getSubmitValue?(): any;
getSubmitValue?(): string;
/** [Method] Method to manage awareness of when components are removed from their respective Container firing a removed event
* @param destroying Boolean Will be passed as true if the Container performing the remove operation will delete this Component upon remove.
*/
@@ -16655,9 +16655,9 @@ declare module Ext.form.field {
* @param oldHeight Number The old height, or undefined if this was the initial layout.
*/
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:any ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:any ): void;
/** [Method] Allows addition of behavior after rendering is complete */
afterRender?(): void;
/** [Method] Applies the state to the object
@@ -16774,9 +16774,9 @@ declare module Ext.form {
* @param oldHeight Number The old height, or undefined if this was the initial layout.
*/
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:any ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:any ): void;
/** [Method] Allows addition of behavior after rendering is complete */
afterRender?(): void;
/** [Method] Applies the state to the object
@@ -16893,9 +16893,9 @@ declare module Ext.form {
* @param oldHeight Number The old height, or undefined if this was the initial layout.
*/
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:any ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:any ): void;
/** [Method] Allows addition of behavior after rendering is complete */
afterRender?(): void;
/** [Method] Applies the state to the object
@@ -18825,9 +18825,9 @@ declare module Ext.grid.column {
* @param oldHeight Number The old height, or undefined if this was the initial layout.
*/
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:any ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:any ): void;
/** [Method] Allows addition of behavior after rendering is complete */
afterRender?(): void;
/** [Method] Sizes this Column to fit the max content width
@@ -18968,9 +18968,9 @@ declare module Ext.grid {
* @param oldHeight Number The old height, or undefined if this was the initial layout.
*/
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:any ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:any ): void;
/** [Method] Allows addition of behavior after rendering is complete */
afterRender?(): void;
/** [Method] Sizes this Column to fit the max content width
@@ -20200,9 +20200,9 @@ declare module Ext.grid {
* @param oldHeight Number The old height, or undefined if this was the initial layout.
*/
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:any ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:any ): void;
}
}
declare module Ext.grid {
@@ -20751,8 +20751,8 @@ declare module Ext {
* @param version any The version, for example: '1.2.3alpha', '2.4.0-dev'
*/
export function setVersion( packageName?:any, version?:any ): any;
export function setVersion( packageName?:string, version?:string ): Ext;
export function setVersion( packageName?:string, version?:Ext.IVersion ): Ext;
export function setVersion( packageName?:string, version?:string ): any;
export function setVersion( packageName?:string, version?:Ext.IVersion ): any;
/** [Method] */
export function suspendLayouts(): void;
/** [Method] Synchronously loads all classes by the given names and all their direct dependencies optionally executes the given c
@@ -25432,7 +25432,7 @@ declare module Ext.slider {
/** [Method] private override Creates and returns the data object to be used when rendering the fieldSubTpl */
getSubTplData?(): any;
/** [Method] Returns the value that would be included in a standard form submit for this field */
getSubmitValue?(): any;
getSubmitValue?(): string;
/** [Method] Returns the current value of the slider
* @param index Number The index of the thumb to return a value for
*/
@@ -25523,7 +25523,7 @@ declare module Ext.slider {
/** [Method] private override Creates and returns the data object to be used when rendering the fieldSubTpl */
getSubTplData?(): any;
/** [Method] Returns the value that would be included in a standard form submit for this field */
getSubmitValue?(): any;
getSubmitValue?(): string;
/** [Method] Returns the current value of the slider
* @param index Number The index of the thumb to return a value for
*/
@@ -26130,9 +26130,9 @@ declare module Ext.tab {
* @param oldHeight Number The old height, or undefined if this was the initial layout.
*/
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:any ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:any ): void;
/** [Method] Invoked after the Container has laid out and rendered if necessary its child Components
* @param layout Ext.layout.container.IContainer
*/
@@ -26427,7 +26427,10 @@ declare module Ext.tip {
cancelShow?( el?:HTMLElement ): void;
cancelShow?( el?:Ext.IElement ): void;
/** [Method] Hides this tooltip if visible */
hide?(): void;
hide? (animateTarget?: any, callback?: any, scope?: any): any;
hide? (animateTarget?: string, callback?: any, scope?: any): Ext.IComponent;
hide? (animateTarget?: Ext.IElement, callback?: any, scope?: any): Ext.IComponent;
hide? (animateTarget?: Ext.IComponent, callback?: any, scope?: any): Ext.IComponent;
/** [Method] The initComponent template method is an important initialization step for a Component */
initComponent?(): void;
/** [Method] Configures a new quick tip instance and assigns it to a target element
@@ -26435,7 +26438,9 @@ declare module Ext.tip {
*/
register?( config?:any ): void;
/** [Method] Shows this tooltip at the current event target XY position */
show?(): void;
show? (animateTarget?: any, callback?: any, scope?: any): any;
show? (animateTarget?: string, callback?: any, scope?: any): Ext.IComponent;
show? (animateTarget?: Ext.IElement, callback?: any, scope?: any): Ext.IComponent;
/** [Method] Removes this quick tip from its element and destroys it
* @param el String The element from which the quick tip is to be removed or ID of the element.
*/
@@ -26459,7 +26464,10 @@ declare module Ext {
cancelShow?( el?:HTMLElement ): void;
cancelShow?( el?:Ext.IElement ): void;
/** [Method] Hides this tooltip if visible */
hide?(): void;
hide? (animateTarget?: any, callback?: any, scope?: any): any;
hide? (animateTarget?: string, callback?: any, scope?: any): Ext.IComponent;
hide? (animateTarget?: Ext.IElement, callback?: any, scope?: any): Ext.IComponent;
hide? (animateTarget?: Ext.IComponent, callback?: any, scope?: any): Ext.IComponent;
/** [Method] The initComponent template method is an important initialization step for a Component */
initComponent?(): void;
/** [Method] Configures a new quick tip instance and assigns it to a target element
@@ -26467,7 +26475,9 @@ declare module Ext {
*/
register?( config?:any ): void;
/** [Method] Shows this tooltip at the current event target XY position */
show?(): void;
show? (animateTarget?: any, callback?: any, scope?: any): any;
show? (animateTarget?: string, callback?: any, scope?: any): Ext.IComponent;
show? (animateTarget?: Ext.IElement, callback?: any, scope?: any): Ext.IComponent;
/** [Method] Removes this quick tip from its element and destroys it
* @param el String The element from which the quick tip is to be removed or ID of the element.
*/
@@ -26608,7 +26618,10 @@ declare module Ext.tip {
/** [Method] Invoked before the Component is destroyed */
beforeDestroy?(): void;
/** [Method] Hides this tooltip if visible */
hide?(): void;
hide? (animateTarget?: any, callback?: any, scope?: any): any;
hide? (animateTarget?: string, callback?: any, scope?: any): Ext.IComponent;
hide? (animateTarget?: Ext.IElement, callback?: any, scope?: any): Ext.IComponent;
hide? (animateTarget?: Ext.IComponent, callback?: any, scope?: any): Ext.IComponent;
/** [Method] The initComponent template method is an important initialization step for a Component */
initComponent?(): void;
/** [Method] Allows addition of behavior to the destroy operation */
@@ -26642,7 +26655,9 @@ declare module Ext.tip {
setTarget?( t?:HTMLElement ): void;
setTarget?( t?:Ext.IElement ): void;
/** [Method] Shows this tooltip at the current event target XY position */
show?(): void;
show? (animateTarget?: any, callback?: any, scope?: any): any;
show? (animateTarget?: string, callback?: any, scope?: any): Ext.IComponent;
show? (animateTarget?: Ext.IElement, callback?: any, scope?: any): Ext.IComponent;
}
}
declare module Ext {
@@ -26674,7 +26689,10 @@ declare module Ext {
/** [Method] Invoked before the Component is destroyed */
beforeDestroy?(): void;
/** [Method] Hides this tooltip if visible */
hide?(): void;
hide? (animateTarget?: any, callback?: any, scope?: any): any;
hide? (animateTarget?: string, callback?: any, scope?: any): Ext.IComponent;
hide? (animateTarget?: Ext.IElement, callback?: any, scope?: any): Ext.IComponent;
hide? (animateTarget?: Ext.IComponent, callback?: any, scope?: any): Ext.IComponent;
/** [Method] The initComponent template method is an important initialization step for a Component */
initComponent?(): void;
/** [Method] Allows addition of behavior to the destroy operation */
@@ -26708,7 +26726,9 @@ declare module Ext {
setTarget?( t?:HTMLElement ): void;
setTarget?( t?:Ext.IElement ): void;
/** [Method] Shows this tooltip at the current event target XY position */
show?(): void;
show? (animateTarget?: any, callback?: any, scope?: any): any;
show? (animateTarget?: string, callback?: any, scope?: any): Ext.IComponent;
show? (animateTarget?: Ext.IElement, callback?: any, scope?: any): Ext.IComponent;
}
}
declare module Ext.toolbar {
@@ -27359,9 +27379,9 @@ declare module Ext.tree {
* @param oldHeight Number The old height, or undefined if this was the initial layout.
*/
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:any ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:any ): void;
/** [Method] Allows addition of behavior after rendering is complete */
afterRender?(): void;
/** [Method] Collapses a record that is loaded in the view
+26 -16
View File
@@ -173,9 +173,9 @@ declare module Ext {
*/
afterComponentLayout?( width?:any, height?:any, oldWidth?:any, oldHeight?:any ): any;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:undefined, oldHeight?:undefined ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:number ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:number, oldHeight?:any ): void;
afterComponentLayout?( width?:number, height?:number, oldWidth?:any, oldHeight?:any ): void;
/** [Method] Allows addition of behavior after rendering is complete */
afterRender?(): void;
/** [Method] Template method called after a Component has been positioned
@@ -3996,7 +3996,7 @@ declare module Ext {
focus?( selectText?:bool, delay?:bool, callback?:any, scope?:any ): Ext.IComponent;
focus?( selectText?:bool, delay?:number, callback?:any, scope?:any ): Ext.IComponent;
/** [Method] Implements an upward event bubbling policy */
getBubbleTarget?(): void;
getBubbleTarget? (): Ext.container.IContainer;
/** [Method] Retrieves the top level element representing this component */
getEl?(): Ext.dom.IElement;
/** [Method] Retrieves the id of this component */
@@ -18229,7 +18229,7 @@ declare module Ext.form.field {
/** [Method] Returns the name attribute of the field */
getName?(): string;
/** [Method] Returns the raw value of the field without performing any normalization conversion or validation */
getRawValue?(): string;
getRawValue?(): any;
/** [Method] Creates and returns the data object to be used when rendering the fieldSubTpl */
getSubTplData?(): any;
/** [Method] Gets the markup to be inserted into the outer template s bodyEl */
@@ -19611,7 +19611,7 @@ declare module Ext.form.field {
/** [Method] Returns the value s that should be saved to the Ext data Model instance for this field when Ext form Basic updateRe */
getModelData?(): any;
/** [Method] Returns the name attribute of the field */
getName?(): any;
getName?(): string;
/** [Method] Returns the parameter s that would be included in a standard form submit for this field */
getSubmitData?(): any;
/** [Method] Returns the current data value of the field */
@@ -20480,7 +20480,7 @@ declare module Ext.form.field {
/** [Method] Returns the value s that should be saved to the Ext data Model instance for this field when Ext form Basic updateRe */
getModelData?(): any;
/** [Method] Returns the submit value for the checkbox which can be used when submitting forms */
getSubmitValue?(): any;
getSubmitValue?(): string;
/** [Method] Method to manage awareness of when components are removed from their respective Container firing a removed event */
onRemoved?(): void;
/** [Method] Sets either the checked unchecked status of this Radio or if a string value is passed checks a sibling Radio of th
@@ -20504,7 +20504,7 @@ declare module Ext.form {
/** [Method] Returns the value s that should be saved to the Ext data Model instance for this field when Ext form Basic updateRe */
getModelData?(): any;
/** [Method] Returns the submit value for the checkbox which can be used when submitting forms */
getSubmitValue?(): any;
getSubmitValue?(): string;
/** [Method] Method to manage awareness of when components are removed from their respective Container firing a removed event */
onRemoved?(): void;
/** [Method] Sets either the checked unchecked status of this Radio or if a string value is passed checks a sibling Radio of th
@@ -25343,8 +25343,8 @@ declare module Ext {
* @param version String/Ext.Version The version, for example: '1.2.3alpha', '2.4.0-dev'
*/
export function setVersion( packageName?:any, version?:any ): any;
export function setVersion( packageName?:string, version?:string ): Ext;
export function setVersion( packageName?:string, version?:Ext.IVersion ): Ext;
export function setVersion( packageName?:string, version?:string ): any;
export function setVersion( packageName?:string, version?:Ext.IVersion ): any;
/** [Method] Old alias to Ext Array sum
* @param array Array The Array to calculate the sum value of.
*/
@@ -32643,7 +32643,7 @@ declare module Ext.slider {
/** [Method] private override */
getSubTplData?(): any;
/** [Method] Returns the value that would be included in a standard form submit for this field */
getSubmitValue?(): any;
getSubmitValue?(): string;
/** [Method] Returns the current value of the slider
* @param index Number The index of the thumb to return a value for
*/
@@ -32731,7 +32731,7 @@ declare module Ext.slider {
/** [Method] private override */
getSubTplData?(): any;
/** [Method] Returns the value that would be included in a standard form submit for this field */
getSubmitValue?(): any;
getSubmitValue?(): string;
/** [Method] Returns the current value of the slider
* @param index Number The index of the thumb to return a value for
*/
@@ -33971,7 +33971,10 @@ declare module Ext.tip {
/** [Property] (HTMLElement) */
triggerElement?: HTMLElement;
/** [Method] Hides this tooltip if visible */
hide?(): void;
hide? (animateTarget?: any, callback?: any, scope?: any): any;
hide? (animateTarget?: string, callback?: any, scope?: any): Ext.IComponent;
hide? (animateTarget?: Ext.IElement, callback?: any, scope?: any): Ext.IComponent;
hide? (animateTarget?: Ext.IComponent, callback?: any, scope?: any): Ext.IComponent;
/** [Method] Binds this ToolTip to the specified element
* @param t String/HTMLElement/Ext.Element The Element, HtmlElement, or ID of an element to bind to
*/
@@ -33980,7 +33983,9 @@ declare module Ext.tip {
setTarget?( t?:HTMLElement ): void;
setTarget?( t?:Ext.IElement ): void;
/** [Method] Shows this tooltip at the current event target XY position */
show?(): void;
show? (animateTarget?: any, callback?: any, scope?: any): any;
show? (animateTarget?: string, callback?: any, scope?: any): Ext.IComponent;
show? (animateTarget?: Ext.IElement, callback?: any, scope?: any): Ext.IComponent;
}
}
declare module Ext {
@@ -34010,7 +34015,10 @@ declare module Ext {
/** [Property] (HTMLElement) */
triggerElement?: HTMLElement;
/** [Method] Hides this tooltip if visible */
hide?(): void;
hide? (animateTarget?: any, callback?: any, scope?: any): any;
hide? (animateTarget?: string, callback?: any, scope?: any): Ext.IComponent;
hide? (animateTarget?: Ext.IElement, callback?: any, scope?: any): Ext.IComponent;
hide? (animateTarget?: Ext.IComponent, callback?: any, scope?: any): Ext.IComponent;
/** [Method] Binds this ToolTip to the specified element
* @param t String/HTMLElement/Ext.Element The Element, HtmlElement, or ID of an element to bind to
*/
@@ -34019,7 +34027,9 @@ declare module Ext {
setTarget?( t?:HTMLElement ): void;
setTarget?( t?:Ext.IElement ): void;
/** [Method] Shows this tooltip at the current event target XY position */
show?(): void;
show? (animateTarget?: any, callback?: any, scope?: any): any;
show? (animateTarget?: string, callback?: any, scope?: any): Ext.IComponent;
show? (animateTarget?: Ext.IElement, callback?: any, scope?: any): Ext.IComponent;
}
}
declare module Ext.toolbar {
@@ -1,99 +1,99 @@
/// <reference path="highcharts.d.ts" />
var animate: HighchartsBoolOrAnimation;
animate = true;
animate = { duration: 200, easing: "linear" };
var gradient: HighchartsColorOrGradient;
gradient = {
linearGradient: { x0: 0, y0: 0, x1: 500, y1: 500 },
stops: [
[0, 'rgb(255, 255, 255)'],
[1, 'rgb(200, 200, 255)']
]
}
var color = "#fcfcff";
var backgound: HighchartsColorOrGradient;
backgound = gradient;
backgound = color;
var chart1 = new Highcharts.Chart({
chart: {
renderTo: "container"
},
xAxis: [{
}],
series: [{
data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
}]
});
var chart2 = new Highcharts.Chart({
chart: {
renderTo: 'container',
width: 400,
height: 400,
spacingRight: 20
},
xAxis: [{
type: 'logarithmic',
min: 1,
max: 1000,
endOnTick: true,
tickInterval: 1,
minorTickInterval: 0.1,
gridLineWidth: 1
}],
yAxis: [{
type: 'logarithmic',
min: 1,
max: 1000,
tickInterval: 1,
minorTickInterval: 0.1,
title: {
text: null
}
}],
legend: {
enabled: false
},
series: [{
data: [
[550, 870], [738, 362], [719, 711], [547, 665], [595, 197], [332, 144],
[581, 555], [196, 862], [6, 837], [400, 924], [888, 148], [785, 730],
[374, 358], [440, 69], [704, 318], [646, 506], [238, 662], [233, 56],
[622, 572], [563, 903], [744, 672], [904, 646], [390, 325], [536, 491],
[676, 186], [467, 145], [790, 114], [437, 793], [853, 243], [947, 196],
[395, 728], [527, 148], [516, 675], [632, 562], [52, 552], [605, 580],
[790, 865], [156, 87], [584, 290], [339, 921], [383, 633], [106, 373],
[762, 863], [424, 149], [608, 959], [574, 711], [468, 664], [268, 77],
[894, 850], [171, 102], [203, 565], [592, 549], [86, 486], [526, 244],
[323, 575], [488, 842], [401, 618], [148, 43], [828, 314], [554, 711],
[685, 868], [387, 435], [469, 828], [623, 506], [436, 184], [450, 156],
[805, 517], [465, 997], [728, 802], [231, 438], [935, 438], [519, 856],
[378, 579], [73, 765], [223, 219], [359, 317], [686, 742], [17, 790],
[20, 35], [410, 644], [984, 325], [503, 882], [900, 187], [578, 968],
[27, 718], [355, 704], [395, 332], [641, 548], [964, 374], [215, 472],
[323, 66], [882, 542], [671, 327], [650, 193], [828, 632], [760, 929],
[607, 335], [928, 826], [462, 598], [631, 411]
],
type: 'scatter'
}]
});
chart1.exportChart(null, {
chart: {
backgroundColor: '#FFFFFF'
}
});
var div: HTMLDivElement;
var r = new Highcharts.Renderer(div, 20, 30);
var box = r.text("Hello", 10, 10).getBBox();
/// <reference path="highcharts.d.ts" />
var animate: HighchartsBoolOrAnimation;
animate = true;
animate = { duration: 200, easing: "linear" };
var gradient: HighchartsColorOrGradient;
gradient = {
linearGradient: { x0: 0, y0: 0, x1: 500, y1: 500 },
stops: [
[0, 'rgb(255, 255, 255)'],
[1, 'rgb(200, 200, 255)']
]
}
var color = "#fcfcff";
var backgound: HighchartsColorOrGradient;
backgound = gradient;
backgound = color;
var chart1 = new Highcharts.Chart({
chart: {
renderTo: "container"
},
xAxis: [{
}],
series: [{
data: [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
}]
});
var chart2 = new Highcharts.Chart({
chart: {
renderTo: 'container',
width: 400,
height: 400,
spacingRight: 20
},
xAxis: [{
type: 'logarithmic',
min: 1,
max: 1000,
endOnTick: true,
tickInterval: 1,
minorTickInterval: 0.1,
gridLineWidth: 1
}],
yAxis: [{
type: 'logarithmic',
min: 1,
max: 1000,
tickInterval: 1,
minorTickInterval: 0.1,
title: {
text: null
}
}],
legend: {
enabled: false
},
series: [{
data: [
[550, 870], [738, 362], [719, 711], [547, 665], [595, 197], [332, 144],
[581, 555], [196, 862], [6, 837], [400, 924], [888, 148], [785, 730],
[374, 358], [440, 69], [704, 318], [646, 506], [238, 662], [233, 56],
[622, 572], [563, 903], [744, 672], [904, 646], [390, 325], [536, 491],
[676, 186], [467, 145], [790, 114], [437, 793], [853, 243], [947, 196],
[395, 728], [527, 148], [516, 675], [632, 562], [52, 552], [605, 580],
[790, 865], [156, 87], [584, 290], [339, 921], [383, 633], [106, 373],
[762, 863], [424, 149], [608, 959], [574, 711], [468, 664], [268, 77],
[894, 850], [171, 102], [203, 565], [592, 549], [86, 486], [526, 244],
[323, 575], [488, 842], [401, 618], [148, 43], [828, 314], [554, 711],
[685, 868], [387, 435], [469, 828], [623, 506], [436, 184], [450, 156],
[805, 517], [465, 997], [728, 802], [231, 438], [935, 438], [519, 856],
[378, 579], [73, 765], [223, 219], [359, 317], [686, 742], [17, 790],
[20, 35], [410, 644], [984, 325], [503, 882], [900, 187], [578, 968],
[27, 718], [355, 704], [395, 332], [641, 548], [964, 374], [215, 472],
[323, 66], [882, 542], [671, 327], [650, 193], [828, 632], [760, 929],
[607, 335], [928, 826], [462, 598], [631, 411]
],
type: 'scatter'
}]
});
chart1.exportChart(null, {
chart: {
backgroundColor: '#FFFFFF'
}
});
var div: HTMLDivElement;
var r = new Highcharts.Renderer(div, 20, 30);
var box = r.text("Hello", 10, 10).getBBox();
-3
View File
@@ -291,11 +291,8 @@ interface JQueryMobile extends JQueryMobileOptions {
showPageLoadingMsg();
hidePageLoadingMsg();
loader;
loading;
loadPage;
page;
silentScroll;
touchOverflow;
showCategory;
path;
+6 -6
View File
@@ -12,7 +12,7 @@ interface JSONEditorOptions {
search?: bool;
}
class JSONEditorHistory {
declare class JSONEditorHistory {
constructor(editor: JSONEditor);
onChange(): void;
add(action: string, params: Object);
@@ -40,7 +40,7 @@ interface JSONEditorConstructorParams {
value?: any;
}
class JSONEditorNode {
declare class JSONEditorNode {
constructor(editor: JSONEditor, params: JSONEditorConstructorParams);
setParent(parent: JSONEditorNode): void;
getParent(): JSONEditorNode;
@@ -77,7 +77,7 @@ class JSONEditorNode {
getAppend(): HTMLElement;
}
class JSONEditorAppendNode extends JSONEditorNode {
declare class JSONEditorAppendNode extends JSONEditorNode {
constructor(editor: JSONEditor);
}
@@ -92,7 +92,7 @@ interface JSONEditorShowDropDownListParams {
callback: (value: any) => void;
}
class JSONEditorSearchBox {
declare class JSONEditorSearchBox {
constructor(editor: JSONEditor, container: HTMLElement);
next(): void;
previous(): void;
@@ -126,7 +126,7 @@ interface JSONEditorActionParams {
newType?: JSONEditorNodeType;
}
class JSONEditor {
declare class JSONEditor {
constructor(container: HTMLElement, options?: JSONEditorOptions, json?: any);
set(json: Object, name?: string): void;
setName(name?: string): void;
@@ -170,7 +170,7 @@ interface JSONFormatterOptions {
indentation?: number;
}
class JSONFormatter {
declare class JSONFormatter {
constructor(container: HTMLElement, options?: JSONFormatterOptions, json?: any);
set(json: Object);
get(): Object;
+1
View File
@@ -1,3 +1,4 @@
/// <reference path="../jquery/jquery.d.ts" />
/// <reference path="jstorage.d.ts" />
// Test set first overload
+29 -25
View File
@@ -3,15 +3,15 @@
// Definitions by: Danil Flores <https://github.com/dflor003/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module $.jStorage {
interface JStorageOptions {
TTL: number;
}
class IStorageOptions {
TTL: number;
}
interface JStorageReadonlyStore {
[key: string]: any;
}
interface IJStorage {
[key: string]: any;
}
interface JStorageStatic {
/**
* Sets a key's value.
@@ -24,7 +24,7 @@ declare module $.jStorage {
* @param [options.TTL] - optional TTL value
* @return the used value
*/
function set <TValue>(key: string, value: TValue, options?: IStorageOptions): TValue;
set<TValue>(key: string, value: TValue, options?: JStorageOptions): TValue;
/**
* Looks up a key in cache
@@ -33,7 +33,7 @@ declare module $.jStorage {
* @param defaultIfNotFound - Default value to return, if key didn't exist.
* @return the key value, default value or null
*/
function get <TValue>(key: string, defaultIfNotFound?: TValue): TValue;
get <TValue>(key: string, defaultIfNotFound?: TValue): TValue;
/**
* Deletes a key from cache.
@@ -41,7 +41,7 @@ declare module $.jStorage {
* @param key - Key to delete.
* @return true if key existed or false if it didn't
*/
function deleteKey(key: string): boolean;
deleteKey(key: string): boolean;
/**
* Sets a TTL for a key, or remove it if ttl value is 0 or below
@@ -50,7 +50,7 @@ declare module $.jStorage {
* @param ttl - TTL timeout in milliseconds
* @return true if key existed or false if it didn't
*/
function setTTL(key: string, ttl: number): boolean;
setTTL(key: string, ttl: number): boolean;
/**
* Gets remaining TTL (in milliseconds) for a key or 0 when no TTL has been set
@@ -58,21 +58,21 @@ declare module $.jStorage {
* @param key Key to check
* @return Remaining TTL in milliseconds
*/
function getTTL(key: string): number;
getTTL(key: string): number;
/**
* Deletes everything in cache.
*
* @return Always true
*/
function flush(): boolean;
flush(): boolean;
/**
* Returns a read-only copy of _storage
*
* @return Read-only copy of _storage
*/
function storageObj(): IJStorage
storageObj(): JStorageReadonlyStore
/**
* Returns an index of all used keys as an array
@@ -80,7 +80,7 @@ declare module $.jStorage {
*
* @return Used keys
*/
function index(): string[];
index(): string[];
/**
* How much space in bytes does the storage take?
@@ -88,21 +88,21 @@ declare module $.jStorage {
* @return Storage size in chars (not the same as in bytes,
* since some chars may take several bytes)
*/
function storageSize(): number;
storageSize(): number;
/**
* Which backend is currently in use?
*
* @return Backend name
*/
function currentBackend(): Storage;
currentBackend(): Storage;
/**
* Test if storage is available
*
* @return True if storage can be used
*/
function storageAvailable(): boolean;
storageAvailable(): boolean;
/**
* Register change listeners
@@ -110,7 +110,7 @@ declare module $.jStorage {
* @param key Key name
* @param callback Function to run when the key changes
*/
function listenKeyChange(key: string, callback: (key: string, value: any) => void ): void;
listenKeyChange(key: string, callback: (key: string, value: any) => void ): void;
/**
* Register change listeners
@@ -118,7 +118,7 @@ declare module $.jStorage {
* @param key Key name
* @param callback Function to run when the key changes
*/
function listenKeyChange<TValue>(key: string, callback: (key: string, value: TValue) => void ): void;
listenKeyChange<TValue>(key: string, callback: (key: string, value: TValue) => void ): void;
/**
* Remove change listeners
@@ -126,7 +126,7 @@ declare module $.jStorage {
* @param key Key name to unregister listeners against
* @param [callback] If set, unregister the callback, if not - unregister all
*/
function stopListening(key: string, callback?: Function): void;
stopListening(key: string, callback?: Function): void;
/**
* Subscribe to a Publish/Subscribe event stream
@@ -134,7 +134,7 @@ declare module $.jStorage {
* @param channel Channel name
* @param callback Function to run when the something is published to the channel
*/
function subscribe(channel: string, callback: (channel: string, value: any) => void ): void;
subscribe(channel: string, callback: (channel: string, value: any) => void ): void;
/**
* Subscribe to a Publish/Subscribe event stream
@@ -142,7 +142,7 @@ declare module $.jStorage {
* @param channel Channel name
* @param callback Function to run when the something is published to the channel
*/
function subscribe<TValue>(channel: string, callback: (channel: string, value: TValue) => void ): void;
subscribe<TValue>(channel: string, callback: (channel: string, value: TValue) => void ): void;
/**
* Publish data to an event stream
@@ -150,10 +150,14 @@ declare module $.jStorage {
* @param channel Channel name
* @param payload Payload to deliver
*/
function publish(channel: string, payload: any): void;
publish(channel: string, payload: any): void;
/**
* Reloads the data from browser storage
*/
function reInit(): void;
reInit(): void;
}
interface JQueryStatic {
jStorage: JStorageStatic;
}
+2 -2
View File
@@ -41,7 +41,7 @@ interface JQuery {
// DirtyFlag /////////////////////////////////////////////
interface DirtyFlag {
isDirty: KnockoutComputed;
isDirty: KnockoutComputed<boolean>;
new (objectToTrack: any, isInitiallyDirty?: bool, hashFunction?: () => any);
reset(): void;
}
@@ -54,7 +54,7 @@ interface KnockoutStatic {
// Command /////////////////////////////////////////////
interface KoliteCommand {
canExecute: KnockoutComputed;
canExecute: KnockoutComputed<boolean>;
execute(...args: any[]): any;
}
+9 -5
View File
@@ -5,11 +5,15 @@
declare module "marked" {
export function (src: string, opt?: Options): string;
export function lexer(src: string, opt?: Options): any[];
export function parser(src: any[], opt?: Options): string;
export function parse(src: string, opt?: Options): string;
export function setOptions(opt: Options): void;
function marked(src: string, opt?: Options): string;
module marked {
export function lexer(src: string, opt?: Options): any[];
export function parser(src: any[], opt?: Options): string;
export function parse(src: string, opt?: Options): string;
export function setOptions(opt: Options): void;
}
export = marked;
}
interface Options {
+18 -25
View File
@@ -12,17 +12,6 @@
declare var process: NodeProcess;
declare var global: any;
declare var console: {
log(...data: any[]): void;
info(...data: any[]): void;
error(...data: any[]): void;
warn(...data: any[]): void;
dir(obj: any): void;
timeEnd(label: string): void;
trace(label: string): void;
assert(expression: any, ...message: string[]): void;
}
declare var __filename: string;
declare var __dirname: string;
@@ -309,7 +298,7 @@ declare module "cluster" {
}
export interface Worker {
id: string;
process: child_process;
process: child_process.ChildProcess;
suicide: bool;
send(message: any, sendHandle?: any): void;
destroy(): void;
@@ -1015,19 +1004,23 @@ declare module "util" {
}
declare module "assert" {
export function (booleanValue: bool, message?: string);
export function fail(actual: any, expected: any, message: string, operator: string): void;
export function assert(value: any, message: string): void;
export function ok(value: any, message?: string): void;
export function equal(actual: any, expected: any, message?: string): void;
export function notEqual(actual: any, expected: any, message?: string): void;
export function deepEqual(actual: any, expected: any, message?: string): void;
export function notDeepEqual(acutal: any, expected: any, message?: string): void;
export function strictEqual(actual: any, expected: any, message?: string): void;
export function notStrictEqual(actual: any, expected: any, message?: string): void;
export function throws(block: any, error?: any, messsage?: string): void;
export function doesNotThrow(block: any, error?: any, messsage?: string): void;
export function ifError(value: any): void;
function internal(booleanValue: boolean, message?: string): void;
module internal {
export function fail(actual: any, expected: any, message: string, operator: string): void;
export function assert(value: any, message: string): void;
export function ok(value: any, message?: string): void;
export function equal(actual: any, expected: any, message?: string): void;
export function notEqual(actual: any, expected: any, message?: string): void;
export function deepEqual(actual: any, expected: any, message?: string): void;
export function notDeepEqual(acutal: any, expected: any, message?: string): void;
export function strictEqual(actual: any, expected: any, message?: string): void;
export function notStrictEqual(actual: any, expected: any, message?: string): void;
export function throws(block: any, error?: any, messsage?: string): void;
export function doesNotThrow(block: any, error?: any, messsage?: string): void;
export function ifError(value: any): void;
}
export = internal;
}
declare module "tty" {
+2 -2
View File
@@ -4,7 +4,7 @@
// Definitions by: Vincent Bortone <https://github.com/vbortone/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
class Transport {
declare class Transport {
static transports: {
SMTP: Transport;
SES: Transport;
@@ -47,7 +47,7 @@ interface DKIMOptions{
privateKey: any;
}
class XOAuthGenerator {
declare class XOAuthGenerator {
constructor(options: XOAuthGeneratorOptions);
generate(callback: () => any): string;
}
+1 -1
View File
@@ -215,7 +215,7 @@ interface Pouch extends PouchApi {
destroy(name: string, callback: (err: PouchError) => void): void;
}
var Pouch: Pouch;
declare var Pouch: Pouch;
//
// emit is the function that the PouchFilter.map function should call in order to add a particular item to
// a filter view.
+1 -1
View File
@@ -10,7 +10,7 @@
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
module createjs {
declare module createjs {
export class AbstractLoader {
// properties
canceled: bool;
+1 -1
View File
@@ -1,6 +1,6 @@
// Type definitions for PubSubJS 1.3.5
module PubSubJS {
declare module PubSubJS {
interface Base extends Publish, Subscribe, Unsubscribe {
version: string;
name: string;
+1 -1
View File
@@ -12,4 +12,4 @@ interface Route {
toURL(params: any): string;
}
function routie(path: string, fn: Function): void;
declare function routie(path: string, fn: Function): void;
+277 -155
View File
@@ -69,7 +69,8 @@ declare module Ext {
/** [Method] Returns the value of baseCls */
getBaseCls?(): string;
/** [Method] Returns the value of bottom */
getBottom?(): number;
getBottom? (): any;
getBottom? (): number;
/** [Method] Returns the value of defaultType */
getDefaultType?(): string;
/** [Method] Returns the value of height */
@@ -2294,7 +2295,7 @@ declare module Ext.carousel {
/** [Config Option] (Boolean) */
indicator?: bool;
/** [Method] Returns the value of indicator */
getIndicator?(): any;
getIndicator?(): boolean;
/** [Method] Returns the value of innerItemConfig */
getInnerItemConfig?(): any;
/** [Method] Returns the value of maxItemIndex */
@@ -3943,7 +3944,7 @@ declare module Ext.chart {
*/
clear?( category?:string ): void;
/** [Method] Not supported */
getBBox?(): undefined;
getBBox?(): any;
/** [Method]
* @param category String
* @param index Mixed
@@ -4331,7 +4332,8 @@ declare module Ext.chart.series {
/** [Method] Returns the value of donut */
getDonut?(): number;
/** [Method] Returns the value of hidden */
getHidden?(): any[];
getHidden? (): boolean;
getHidden? (): any[];
/** [Method] For a given x y point relative to the main region find a corresponding item from this series if any
* @param x Object
* @param y Object
@@ -5253,6 +5255,7 @@ declare module Ext.chart.series {
/** [Config Option] (Boolean) */
stacked?: bool;
/** [Method] Returns the value of hidden */
getHidden? (): boolean;
getHidden?(): any[];
/** [Method] For a given x y point relative to the main region find a corresponding item from this series if any
* @param x Object
@@ -7024,7 +7027,7 @@ declare module Ext.data.association {
/** [Method] Returns the value of associationKey */
getAssociationKey?(): string;
/** [Method] Returns the value of name */
getName?(): any;
getName?(): string;
/** [Method] Returns the value of ownerModel */
getOwnerModel?(): Ext.data.IModel;
/** [Method] Returns the value of ownerModel */
@@ -7100,7 +7103,7 @@ declare module Ext.data {
/** [Method] Returns the value of associationKey */
getAssociationKey?(): string;
/** [Method] Returns the value of name */
getName?(): any;
getName?(): string;
/** [Method] Returns the value of ownerModel */
getOwnerModel?(): Ext.data.IModel;
/** [Method] Returns the value of ownerModel */
@@ -8655,7 +8658,7 @@ declare module Ext.data {
/** [Method] Marks this Record as dirty */
setDirty?(): void;
/** [Method] Updates the collection of Fields that all instances of this Model use */
setFields?(): any[];
setFields? (fields?: any[]): void;
/** [Method] Sets the value of hasMany
* @param hasMany String/Object/String[]/Object[]
*/
@@ -11310,9 +11313,9 @@ declare module Ext.data.reader {
/** [Config Option] (String) */
totalProperty?: string;
/** [Method] Returns the value of successProperty */
getSuccessProperty?(): any;
getSuccessProperty?(): string;
/** [Method] Returns the value of totalProperty */
getTotalProperty?(): any;
getTotalProperty?(): string;
/** [Method] Sets the value of successProperty
* @param successProperty Object
*/
@@ -11330,9 +11333,9 @@ declare module Ext.data {
/** [Config Option] (String) */
totalProperty?: string;
/** [Method] Returns the value of successProperty */
getSuccessProperty?(): any;
getSuccessProperty?(): string;
/** [Method] Returns the value of totalProperty */
getTotalProperty?(): any;
getTotalProperty?(): string;
/** [Method] Sets the value of successProperty
* @param successProperty Object
*/
@@ -14605,6 +14608,7 @@ declare module Ext.dataview.component {
/** [Method] Returns the value of record */
getRecord?(): Ext.data.IModel;
/** [Method] Returns the value of width */
getWidth? (): number;
getWidth?(): string;
/** [Method] Sets the value of baseCls
* @param baseCls String
@@ -14659,9 +14663,15 @@ declare module Ext.dataview.component {
/** [Method] Returns the value of header */
getHeader?(): any;
/** [Method] Returns the value of items */
getItems?(): any;
getItems? (): any[];
/** [Method] Returns the value of tpl */
getTpl?(): any;
getTpl? (): string;
/** [Method] Returns the value of tpl */
getTpl? (): string[];
/** [Method] Returns the value of tpl */
getTpl? (): Ext.ITemplate[];
/** [Method] Returns the value of tpl */
getTpl? (): Ext.IXTemplate[];
/** [Method] Sets the value of baseCls
* @param baseCls String
*/
@@ -15609,7 +15619,7 @@ declare module Ext.dataview {
/** [Method] Returns all the items that are docked in the scroller in this list */
getScrollDockedItems?(): any[];
/** [Method] Returns the value of scrollable */
getScrollable?(): any;
getScrollable?(): boolean;
/** [Method] Returns the value of striped */
getStriped?(): bool;
/** [Method] Returns the value of ui */
@@ -15767,7 +15777,7 @@ declare module Ext {
/** [Method] Returns all the items that are docked in the scroller in this list */
getScrollDockedItems?(): any[];
/** [Method] Returns the value of scrollable */
getScrollable?(): any;
getScrollable?(): boolean;
/** [Method] Returns the value of striped */
getStriped?(): bool;
/** [Method] Returns the value of ui */
@@ -15965,7 +15975,7 @@ declare module Ext.dataview {
/** [Method] Returns the value of toolbar */
getToolbar?(): any;
/** [Method] Returns the value of ui */
getUi?(): any;
getUi?(): string;
/** [Method] Returns the value of updateTitleText */
getUpdateTitleText?(): bool;
/** [Method] Returns the value of useSimpleItems */
@@ -16176,7 +16186,7 @@ declare module Ext {
/** [Method] Returns the value of toolbar */
getToolbar?(): any;
/** [Method] Returns the value of ui */
getUi?(): any;
getUi?(): string;
/** [Method] Returns the value of updateTitleText */
getUpdateTitleText?(): bool;
/** [Method] Returns the value of useSimpleItems */
@@ -19574,8 +19584,8 @@ declare module Ext.direct {
/** [Method] Removes the provider
* @param provider String/Ext.direct.Provider The provider instance or the id of the provider.
*/
static removeProvider( provider?:string ): undefined;
static removeProvider( provider?:Ext.direct.IProvider ): undefined;
static removeProvider( provider?:string ): any;
static removeProvider( provider?:Ext.direct.IProvider ): any;
/** [Method] Resumes firing events see suspendEvents
* @param discardQueuedEvents Boolean Pass as true to discard any queued events.
*/
@@ -19853,8 +19863,8 @@ declare module Ext {
/** [Method] Removes the provider
* @param provider String/Ext.direct.Provider The provider instance or the id of the provider.
*/
static removeProvider( provider?:string ): undefined;
static removeProvider( provider?:Ext.direct.IProvider ): undefined;
static removeProvider( provider?:string ): any;
static removeProvider( provider?:Ext.direct.IProvider ): any;
/** [Method] Resumes firing events see suspendEvents
* @param discardQueuedEvents Boolean Pass as true to discard any queued events.
*/
@@ -20211,7 +20221,7 @@ declare module Ext.direct {
/** [Method] Returns the value of len */
getLen?(): any;
/** [Method] Returns the value of name */
getName?(): any;
getName?(): string;
/** [Method] Returns the value of ordered */
getOrdered?(): bool;
/** [Method] Returns the value of params */
@@ -20488,10 +20498,10 @@ declare module Ext.dom {
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 50 || document.body)
* @param returnEl Boolean true to return a Ext.Element object instead of DOM node.
*/
findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): any;
findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): any;
findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): any;
findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): any;
/** [Method] Looks at parent nodes for a match of the passed simple selector e g
* @param simpleSelector String The simple selector to test.
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 10 || document.body).
@@ -20507,12 +20517,25 @@ declare module Ext.dom {
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 10 || document.body).
* @param returnEl Boolean true to return a Ext.Element object instead of DOM node.
*/
findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): undefined;
findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): undefined;
findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): undefined;
findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): undefined;
/** [Method] Returns the first Element */
first?(): Ext.dom.IElement;
findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): any;
findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): any;
findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): any;
findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): any;
/** [Method] Gets the first child skipping text nodes
* @param selector String Find the next sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
first? (selector?: string, returnDom?: bool): Ext.dom.IElement;
/** [Method] Gets the first child skipping text nodes
* @param selector String Find the next sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
first? (selector?: string, returnDom?: bool): HTMLElement;
/** [Method] Gets the first child skipping text nodes
* @param selector String Find the next sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
first? (selector?: string, returnDom?: bool): any;
/** [Method] Gets the x y coordinates to align this element with another element
* @param element Mixed The element to align to.
* @param position String The position to align to.
@@ -20682,9 +20705,22 @@ declare module Ext.dom {
/** [Method] Returns a flyweight Element of the dom element object at the specified index
* @param index Number
*/
item?( index?:number ): Ext.dom.IElement;
/** [Method] Returns the last Element */
last?(): Ext.dom.IElement;
item? (index?: number): Ext.dom.IElement;
/** [Method] Gets the last child skipping text nodes
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
last? (selector?: string, returnDom?: bool): Ext.dom.IElement;
/** [Method] Gets the last child skipping text nodes
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
last? (selector?: string, returnDom?: bool): HTMLElement;
/** [Method] Gets the last child skipping text nodes
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
last? (selector?: string, returnDom?: bool): any;
/** [Method] Puts a mask over this element to disable user interaction */
mask?(): void;
/** [Method] Gets the next sibling skipping text nodes
@@ -20701,7 +20737,7 @@ declare module Ext.dom {
* @param selector String Find the next sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw dom node instead of an Ext.dom.Element.
*/
next?( selector?:string, returnDom?:bool ): undefined;
next?( selector?:string, returnDom?:bool ): any;
/** [Method] Gets the parent node for this element optionally chaining up trying to match a selector
* @param selector String Find a parent node that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
@@ -20716,7 +20752,7 @@ declare module Ext.dom {
* @param selector String Find a parent node that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
parent?( selector?:string, returnDom?:bool ): undefined;
parent?( selector?:string, returnDom?:bool ): any;
/** [Method] Gets the previous sibling skipping text nodes
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element
@@ -20731,7 +20767,7 @@ declare module Ext.dom {
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element
*/
prev?( selector?:string, returnDom?:bool ): undefined;
prev?( selector?:string, returnDom?:bool ): any;
/** [Method] Removes all listeners for this object */
purgeAllListeners?(): void;
/** [Method] Selects child nodes based on the passed CSS selector the selector should not contain an id
@@ -20947,10 +20983,10 @@ declare module Ext.dom {
* @param simpleSelector String The simple selector to test
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 10 || document.body).
*/
up?( simpleSelector?:string, maxDepth?:number ): undefined;
up?( simpleSelector?:string, maxDepth?:string ): undefined;
up?( simpleSelector?:string, maxDepth?:HTMLElement ): undefined;
up?( simpleSelector?:string, maxDepth?:Ext.IElement ): undefined;
up?( simpleSelector?:string, maxDepth?:number ): any;
up?( simpleSelector?:string, maxDepth?:string ): any;
up?( simpleSelector?:string, maxDepth?:HTMLElement ): any;
up?( simpleSelector?:string, maxDepth?:Ext.IElement ): any;
/** [Method] Sets the innerHTML of this element
* @param html String The new HTML.
*/
@@ -21081,10 +21117,10 @@ declare module Ext {
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 50 || document.body)
* @param returnEl Boolean true to return a Ext.Element object instead of DOM node.
*/
findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): any;
findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): any;
findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): any;
findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): any;
/** [Method] Looks at parent nodes for a match of the passed simple selector e g
* @param simpleSelector String The simple selector to test.
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 10 || document.body).
@@ -21100,12 +21136,25 @@ declare module Ext {
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 10 || document.body).
* @param returnEl Boolean true to return a Ext.Element object instead of DOM node.
*/
findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): undefined;
findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): undefined;
findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): undefined;
findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): undefined;
/** [Method] Returns the first Element */
first?(): Ext.dom.IElement;
findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): any;
findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): any;
findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): any;
findParentNode? (simpleSelector?: string, maxDepth?: Ext.IElement, returnEl?: bool): any;
/** [Method] Gets the first child skipping text nodes
* @param selector String Find the next sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
first? (selector?: string, returnDom?: bool): Ext.dom.IElement;
/** [Method] Gets the first child skipping text nodes
* @param selector String Find the next sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
first? (selector?: string, returnDom?: bool): HTMLElement;
/** [Method] Gets the first child skipping text nodes
* @param selector String Find the next sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
first? (selector?: string, returnDom?: bool): any;
/** [Method] Gets the x y coordinates to align this element with another element
* @param element Mixed The element to align to.
* @param position String The position to align to.
@@ -21275,9 +21324,22 @@ declare module Ext {
/** [Method] Returns a flyweight Element of the dom element object at the specified index
* @param index Number
*/
item?( index?:number ): Ext.dom.IElement;
/** [Method] Returns the last Element */
last?(): Ext.dom.IElement;
item? (index?: number): Ext.dom.IElement;
/** [Method] Gets the last child skipping text nodes
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
last? (selector?: string, returnDom?: bool): Ext.dom.IElement;
/** [Method] Gets the last child skipping text nodes
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
last? (selector?: string, returnDom?: bool): HTMLElement;
/** [Method] Gets the last child skipping text nodes
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
last? (selector?: string, returnDom?: bool): any;
/** [Method] Puts a mask over this element to disable user interaction */
mask?(): void;
/** [Method] Gets the next sibling skipping text nodes
@@ -21294,7 +21356,7 @@ declare module Ext {
* @param selector String Find the next sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw dom node instead of an Ext.dom.Element.
*/
next?( selector?:string, returnDom?:bool ): undefined;
next?( selector?:string, returnDom?:bool ): any;
/** [Method] Gets the parent node for this element optionally chaining up trying to match a selector
* @param selector String Find a parent node that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
@@ -21309,7 +21371,7 @@ declare module Ext {
* @param selector String Find a parent node that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
parent?( selector?:string, returnDom?:bool ): undefined;
parent?( selector?:string, returnDom?:bool ): any;
/** [Method] Gets the previous sibling skipping text nodes
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element
@@ -21324,7 +21386,7 @@ declare module Ext {
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element
*/
prev?( selector?:string, returnDom?:bool ): undefined;
prev?( selector?:string, returnDom?:bool ): any;
/** [Method] Removes all listeners for this object */
purgeAllListeners?(): void;
/** [Method] Selects child nodes based on the passed CSS selector the selector should not contain an id
@@ -21540,10 +21602,10 @@ declare module Ext {
* @param simpleSelector String The simple selector to test
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 10 || document.body).
*/
up?( simpleSelector?:string, maxDepth?:number ): undefined;
up?( simpleSelector?:string, maxDepth?:string ): undefined;
up?( simpleSelector?:string, maxDepth?:HTMLElement ): undefined;
up?( simpleSelector?:string, maxDepth?:Ext.IElement ): undefined;
up?( simpleSelector?:string, maxDepth?:number ): any;
up?( simpleSelector?:string, maxDepth?:string ): any;
up?( simpleSelector?:string, maxDepth?:HTMLElement ): any;
up?( simpleSelector?:string, maxDepth?:Ext.IElement ): any;
/** [Method] Sets the innerHTML of this element
* @param html String The new HTML.
*/
@@ -21674,10 +21736,10 @@ declare module Ext {
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 50 || document.body)
* @param returnEl Boolean true to return a Ext.Element object instead of DOM node.
*/
findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): any;
findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): any;
findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): any;
findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): any;
/** [Method] Looks at parent nodes for a match of the passed simple selector e g
* @param simpleSelector String The simple selector to test.
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 10 || document.body).
@@ -21693,12 +21755,25 @@ declare module Ext {
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 10 || document.body).
* @param returnEl Boolean true to return a Ext.Element object instead of DOM node.
*/
findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): undefined;
findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): undefined;
findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): undefined;
findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): undefined;
/** [Method] Returns the first Element */
first?(): Ext.dom.IElement;
findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): any;
findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): any;
findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): any;
findParentNode? (simpleSelector?: string, maxDepth?: Ext.IElement, returnEl?: bool): any;
/** [Method] Gets the first child skipping text nodes
* @param selector String Find the next sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
first? (selector?: string, returnDom?: bool): Ext.dom.IElement;
/** [Method] Gets the first child skipping text nodes
* @param selector String Find the next sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
first? (selector?: string, returnDom?: bool): HTMLElement;
/** [Method] Gets the first child skipping text nodes
* @param selector String Find the next sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
first? (selector?: string, returnDom?: bool): any;
/** [Method] Gets the x y coordinates to align this element with another element
* @param element Mixed The element to align to.
* @param position String The position to align to.
@@ -21868,9 +21943,22 @@ declare module Ext {
/** [Method] Returns a flyweight Element of the dom element object at the specified index
* @param index Number
*/
item?( index?:number ): Ext.dom.IElement;
/** [Method] Returns the last Element */
last?(): Ext.dom.IElement;
item? (index?: number): Ext.dom.IElement;
/** [Method] Gets the last child skipping text nodes
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
last? (selector?: string, returnDom?: bool): Ext.dom.IElement;
/** [Method] Gets the last child skipping text nodes
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
last? (selector?: string, returnDom?: bool): HTMLElement;
/** [Method] Gets the last child skipping text nodes
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
last? (selector?: string, returnDom?: bool): any;
/** [Method] Puts a mask over this element to disable user interaction */
mask?(): void;
/** [Method] Gets the next sibling skipping text nodes
@@ -21887,7 +21975,7 @@ declare module Ext {
* @param selector String Find the next sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw dom node instead of an Ext.dom.Element.
*/
next?( selector?:string, returnDom?:bool ): undefined;
next?( selector?:string, returnDom?:bool ): any;
/** [Method] Gets the parent node for this element optionally chaining up trying to match a selector
* @param selector String Find a parent node that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
@@ -21902,7 +21990,7 @@ declare module Ext {
* @param selector String Find a parent node that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
parent?( selector?:string, returnDom?:bool ): undefined;
parent?( selector?:string, returnDom?:bool ): any;
/** [Method] Gets the previous sibling skipping text nodes
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element
@@ -21917,7 +22005,7 @@ declare module Ext {
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element
*/
prev?( selector?:string, returnDom?:bool ): undefined;
prev?( selector?:string, returnDom?:bool ): any;
/** [Method] Removes all listeners for this object */
purgeAllListeners?(): void;
/** [Method] Selects child nodes based on the passed CSS selector the selector should not contain an id
@@ -22133,10 +22221,10 @@ declare module Ext {
* @param simpleSelector String The simple selector to test
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 10 || document.body).
*/
up?( simpleSelector?:string, maxDepth?:number ): undefined;
up?( simpleSelector?:string, maxDepth?:string ): undefined;
up?( simpleSelector?:string, maxDepth?:HTMLElement ): undefined;
up?( simpleSelector?:string, maxDepth?:Ext.IElement ): undefined;
up?( simpleSelector?:string, maxDepth?:number ): any;
up?( simpleSelector?:string, maxDepth?:string ): any;
up?( simpleSelector?:string, maxDepth?:HTMLElement ): any;
up?( simpleSelector?:string, maxDepth?:Ext.IElement ): any;
/** [Method] Sets the innerHTML of this element
* @param html String The new HTML.
*/
@@ -22289,10 +22377,10 @@ declare module Ext.dom {
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 50 || document.body)
* @param returnEl Boolean true to return a Ext.Element object instead of DOM node.
*/
findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): any;
findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): any;
findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): any;
findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): any;
/** [Method] Looks at parent nodes for a match of the passed simple selector e g
* @param simpleSelector String The simple selector to test.
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 10 || document.body).
@@ -22308,10 +22396,10 @@ declare module Ext.dom {
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 10 || document.body).
* @param returnEl Boolean true to return a Ext.Element object instead of DOM node.
*/
findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): undefined;
findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): undefined;
findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): undefined;
findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): undefined;
findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): any;
findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): any;
findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): any;
findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): any;
/** [Method] Fires the specified event with the passed parameters and execute a function action at the end if there are no liste
* @param eventName String The name of the event to fire.
* @param args Array Arguments to pass to handers.
@@ -22338,7 +22426,7 @@ declare module Ext.dom {
* @param selector String Find the next sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
first?( selector?:string, returnDom?:bool ): undefined;
first?( selector?:string, returnDom?:bool ): any;
/** [Method] Gets the x y coordinates to align this element with another element
* @param element Mixed The element to align to.
* @param position String The position to align to.
@@ -22519,7 +22607,7 @@ declare module Ext.dom {
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
last?( selector?:string, returnDom?:bool ): undefined;
last?( selector?:string, returnDom?:bool ): any;
/** [Method] Puts a mask over this element to disable user interaction */
mask?(): void;
/** [Method] Alias for addManagedListener
@@ -22555,7 +22643,7 @@ declare module Ext.dom {
* @param selector String Find the next sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw dom node instead of an Ext.dom.Element.
*/
next?( selector?:string, returnDom?:bool ): undefined;
next?( selector?:string, returnDom?:bool ): any;
/** [Method] Alias for addListener
* @param eventName String/String[]/Object The name of the event to listen for. May also be an object who's property names are event names.
* @param fn Function/String The method the event invokes. Will be called with arguments given to fireEvent plus the options parameter described below.
@@ -22596,7 +22684,7 @@ declare module Ext.dom {
* @param selector String Find a parent node that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
parent?( selector?:string, returnDom?:bool ): undefined;
parent?( selector?:string, returnDom?:bool ): any;
/** [Method] Gets the previous sibling skipping text nodes
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element
@@ -22611,7 +22699,7 @@ declare module Ext.dom {
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element
*/
prev?( selector?:string, returnDom?:bool ): undefined;
prev?( selector?:string, returnDom?:bool ): any;
/** [Method] Removes all listeners for this object */
purgeAllListeners?(): void;
/** [Method] Selects child nodes based on the passed CSS selector the selector should not contain an id
@@ -22879,10 +22967,10 @@ declare module Ext.dom {
* @param simpleSelector String The simple selector to test
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 10 || document.body).
*/
up?( simpleSelector?:string, maxDepth?:number ): undefined;
up?( simpleSelector?:string, maxDepth?:string ): undefined;
up?( simpleSelector?:string, maxDepth?:HTMLElement ): undefined;
up?( simpleSelector?:string, maxDepth?:Ext.IElement ): undefined;
up?( simpleSelector?:string, maxDepth?:number ): any;
up?( simpleSelector?:string, maxDepth?:string ): any;
up?( simpleSelector?:string, maxDepth?:HTMLElement ): any;
up?( simpleSelector?:string, maxDepth?:Ext.IElement ): any;
/** [Method] Sets the innerHTML of this element
* @param html String The new HTML.
*/
@@ -23085,10 +23173,10 @@ declare module Ext {
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 50 || document.body)
* @param returnEl Boolean true to return a Ext.Element object instead of DOM node.
*/
findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): undefined;
findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): any;
findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): any;
findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): any;
findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): any;
/** [Method] Looks at parent nodes for a match of the passed simple selector e g
* @param simpleSelector String The simple selector to test.
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 10 || document.body).
@@ -23104,10 +23192,10 @@ declare module Ext {
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 10 || document.body).
* @param returnEl Boolean true to return a Ext.Element object instead of DOM node.
*/
findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): undefined;
findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): undefined;
findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): undefined;
findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): undefined;
findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): any;
findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): any;
findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): any;
findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): any;
/** [Method] Fires the specified event with the passed parameters and execute a function action at the end if there are no liste
* @param eventName String The name of the event to fire.
* @param args Array Arguments to pass to handers.
@@ -23134,7 +23222,7 @@ declare module Ext {
* @param selector String Find the next sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
first?( selector?:string, returnDom?:bool ): undefined;
first?( selector?:string, returnDom?:bool ): any;
/** [Method] Gets the x y coordinates to align this element with another element
* @param element Mixed The element to align to.
* @param position String The position to align to.
@@ -23315,7 +23403,7 @@ declare module Ext {
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
last?( selector?:string, returnDom?:bool ): undefined;
last?( selector?:string, returnDom?:bool ): any;
/** [Method] Puts a mask over this element to disable user interaction */
mask?(): void;
/** [Method] Alias for addManagedListener
@@ -23351,7 +23439,7 @@ declare module Ext {
* @param selector String Find the next sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw dom node instead of an Ext.dom.Element.
*/
next?( selector?:string, returnDom?:bool ): undefined;
next?( selector?:string, returnDom?:bool ): any;
/** [Method] Alias for addListener
* @param eventName String/String[]/Object The name of the event to listen for. May also be an object who's property names are event names.
* @param fn Function/String The method the event invokes. Will be called with arguments given to fireEvent plus the options parameter described below.
@@ -23392,7 +23480,7 @@ declare module Ext {
* @param selector String Find a parent node that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element.
*/
parent?( selector?:string, returnDom?:bool ): undefined;
parent?( selector?:string, returnDom?:bool ): any;
/** [Method] Gets the previous sibling skipping text nodes
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element
@@ -23407,7 +23495,7 @@ declare module Ext {
* @param selector String Find the previous sibling that matches the passed simple selector.
* @param returnDom Boolean true to return a raw DOM node instead of an Ext.dom.Element
*/
prev?( selector?:string, returnDom?:bool ): undefined;
prev?( selector?:string, returnDom?:bool ): any;
/** [Method] Removes all listeners for this object */
purgeAllListeners?(): void;
/** [Method] Selects child nodes based on the passed CSS selector the selector should not contain an id
@@ -23675,10 +23763,10 @@ declare module Ext {
* @param simpleSelector String The simple selector to test
* @param maxDepth Number/String/HTMLElement/Ext.Element The max depth to search as a number or element (defaults to 10 || document.body).
*/
up?( simpleSelector?:string, maxDepth?:number ): undefined;
up?( simpleSelector?:string, maxDepth?:string ): undefined;
up?( simpleSelector?:string, maxDepth?:HTMLElement ): undefined;
up?( simpleSelector?:string, maxDepth?:Ext.IElement ): undefined;
up?( simpleSelector?:string, maxDepth?:number ): any;
up?( simpleSelector?:string, maxDepth?:string ): any;
up?( simpleSelector?:string, maxDepth?:HTMLElement ): any;
up?( simpleSelector?:string, maxDepth?:Ext.IElement ): any;
/** [Method] Sets the innerHTML of this element
* @param html String The new HTML.
*/
@@ -24348,7 +24436,8 @@ declare module Ext.draw {
/** [Method] Returns the value of background */
getBackground?(): any;
/** [Method] Returns the value of cls */
getCls?(): string;
getCls? (): string;
getCls? (): string[];
/** [Method] Returns the value of fitSurface */
getFitSurface?(): bool;
/** [Method] Returns the value of resizeHandler */
@@ -25118,9 +25207,9 @@ declare module Ext.draw {
*/
rotate?( angle?:any, rcx?:any, rcy?:any, prepend?:any ): any;
rotate?( angle?:number, rcx?:number, rcy?:number, prepend?:bool ): Ext.draw.IMatrix;
rotate?( angle?:number, rcx?:undefined, rcy?:number, prepend?:bool ): Ext.draw.IMatrix;
rotate?( angle?:number, rcx?:number, rcy?:undefined, prepend?:bool ): Ext.draw.IMatrix;
rotate?( angle?:number, rcx?:undefined, rcy?:undefined, prepend?:bool ): Ext.draw.IMatrix;
rotate?( angle?:number, rcx?:any, rcy?:number, prepend?:bool ): Ext.draw.IMatrix;
rotate?( angle?:number, rcx?:number, rcy?:any, prepend?:bool ): Ext.draw.IMatrix;
rotate?( angle?:number, rcx?:any, rcy?:any, prepend?:bool ): Ext.draw.IMatrix;
/** [Method] Rotate the matrix by the angle of a vector
* @param x Number
* @param y Number
@@ -26094,7 +26183,7 @@ declare module Ext.draw.sprite {
/** [Method] Removes the sprite and clears all listeners */
destroy?(): void;
/** [Method] Not supported */
getBBox?(): undefined;
getBBox?(): any;
/** [Method] Returns the bounding box for the instance at the given index
* @param index Number The index of the instance.
* @param isWithoutTransform Boolean 'true' to not apply sprite transforms to the bounding box.
@@ -28195,7 +28284,8 @@ declare module Ext.field {
/** [Method] Returns the checked value of this field */
getChecked?(): any;
/** [Method] Returns the value of cls */
getCls?(): string;
getCls? (): string;
getCls? (): string[];
/** [Method] Returns the value of disabled */
getDisabled?(): bool;
/** [Method] Returns the value of focusCls */
@@ -28826,7 +28916,8 @@ declare module Ext.field {
/** [Config Option] (Number/Number[]) */
values?: any;
/** [Method] Returns the value of cls */
getCls?(): string;
getCls? (): string;
getCls? (): string[];
/** [Method] Returns the value of increment */
getIncrement?(): number;
/** [Method] Returns the value of maxValue */
@@ -28836,7 +28927,7 @@ declare module Ext.field {
/** [Method] Returns the value of readOnly */
getReadOnly?(): bool;
/** [Method] Returns the value of tabIndex */
getTabIndex?(): any;
getTabIndex?(): number;
/** [Method] Returns the value of value */
getValue?(): number;
/** [Method] Returns the value of value */
@@ -28902,7 +28993,8 @@ declare module Ext.form {
/** [Config Option] (Number/Number[]) */
values?: any;
/** [Method] Returns the value of cls */
getCls?(): string;
getCls? (): string;
getCls? (): string[];
/** [Method] Returns the value of increment */
getIncrement?(): number;
/** [Method] Returns the value of maxValue */
@@ -28912,7 +29004,7 @@ declare module Ext.form {
/** [Method] Returns the value of readOnly */
getReadOnly?(): bool;
/** [Method] Returns the value of tabIndex */
getTabIndex?(): any;
getTabIndex? (): number;
/** [Method] Returns the value of value */
getValue?(): number;
/** [Method] Returns the value of value */
@@ -28986,7 +29078,8 @@ declare module Ext.field {
/** [Method] Returns the value of accelerateOnTapHold */
getAccelerateOnTapHold?(): bool;
/** [Method] Returns the value of cls */
getCls?(): string;
getCls? (): string;
getCls? (): string[];
/** [Method] Returns the value of component */
getComponent?(): any;
/** [Method] Returns the value of cycle */
@@ -29072,7 +29165,8 @@ declare module Ext.form {
/** [Method] Returns the value of accelerateOnTapHold */
getAccelerateOnTapHold?(): bool;
/** [Method] Returns the value of cls */
getCls?(): string;
getCls? (): string;
getCls? (): string[];
/** [Method] Returns the value of component */
getComponent?(): any;
/** [Method] Returns the value of cycle */
@@ -29166,7 +29260,8 @@ declare module Ext.field {
/** [Method] Returns the value of autoCorrect */
getAutoCorrect?(): bool;
/** [Method] Returns the value of bubbleEvents */
getBubbleEvents?(): any[];
getBubbleEvents? (): string;
getBubbleEvents?(): string[];
/** [Method] Returns the value of clearIcon */
getClearIcon?(): bool;
/** [Method] Returns the value of component */
@@ -29266,7 +29361,8 @@ declare module Ext.form {
/** [Method] Returns the value of autoCorrect */
getAutoCorrect?(): bool;
/** [Method] Returns the value of bubbleEvents */
getBubbleEvents?(): any[];
getBubbleEvents? (): string;
getBubbleEvents? (): string[];
/** [Method] Returns the value of clearIcon */
getClearIcon?(): bool;
/** [Method] Returns the value of component */
@@ -29422,7 +29518,8 @@ declare module Ext.field {
/** [Property] (String) */
toggleOnLabel?: string;
/** [Method] Returns the value of cls */
getCls?(): string;
getCls? (): string;
getCls? (): string[];
/** [Method] Returns the value of labelAlign */
getLabelAlign?(): string;
/** [Method] Returns the value of maxValueCls */
@@ -29472,7 +29569,8 @@ declare module Ext.form {
/** [Property] (String) */
toggleOnLabel?: string;
/** [Method] Returns the value of cls */
getCls?(): string;
getCls? (): string;
getCls? (): string[];
/** [Method] Returns the value of labelAlign */
getLabelAlign?(): string;
/** [Method] Returns the value of maxValueCls */
@@ -34516,7 +34614,8 @@ declare module Ext.picker {
/** [Method] Returns the value of baseCls */
getBaseCls?(): string;
/** [Method] Returns the value of bottom */
getBottom?(): number;
getBottom? (): number;
getBottom? (): string;
/** [Method] Returns the value of cancelButton */
getCancelButton?(): string;
/** [Method] Returns the value of cancelButton */
@@ -34528,13 +34627,16 @@ declare module Ext.picker {
/** [Method] Returns the value of doneButton */
getDoneButton?(): any;
/** [Method] Returns the value of height */
getHeight?(): number;
getHeight? (): number;
getHeight? (): string;
/** [Method] Returns the value of layout */
getLayout?(): any;
/** [Method] Returns the value of left */
getLeft?(): number;
getLeft? (): number;
getLeft? (): string;
/** [Method] Returns the value of right */
getRight?(): number;
getRight? (): number;
getRight? (): string;
/** [Method] Returns the value of slots */
getSlots?(): any[];
/** [Method] Returns the value of toolbar */
@@ -34655,7 +34757,8 @@ declare module Ext {
/** [Method] Returns the value of baseCls */
getBaseCls?(): string;
/** [Method] Returns the value of bottom */
getBottom?(): number;
getBottom? (): number;
getBottom? (): string;
/** [Method] Returns the value of cancelButton */
getCancelButton?(): string;
/** [Method] Returns the value of cancelButton */
@@ -34667,13 +34770,16 @@ declare module Ext {
/** [Method] Returns the value of doneButton */
getDoneButton?(): any;
/** [Method] Returns the value of height */
getHeight?(): number;
getHeight? (): number;
getHeight? (): string;
/** [Method] Returns the value of layout */
getLayout?(): any;
/** [Method] Returns the value of left */
getLeft?(): number;
getLeft? (): number;
getLeft? (): string;
/** [Method] Returns the value of right */
getRight?(): number;
getRight? (): number;
getRight? (): string;
/** [Method] Returns the value of slots */
getSlots?(): any[];
/** [Method] Returns the value of toolbar */
@@ -34780,9 +34886,13 @@ declare module Ext.picker {
/** [Method] Returns the value of align */
getAlign?(): string;
/** [Method] Returns the value of displayField */
getDisplayField?(): string;
getDisplayField? (): string;
/** [Method] Returns the value of itemTpl */
getItemTpl?(): string;
getItemTpl? (): string;
/** [Method] Returns the value of itemTpl */
getItemTpl? (): string[];
/** [Method] Returns the value of itemTpl */
getItemTpl? (): Ext.IXTemplate;
/** [Method] Returns the value of name */
getName?(): string;
/** [Method] Returns the value of title */
@@ -35040,7 +35150,8 @@ declare module Ext.scroll.indicator {
/** [Config Option] (String/String[]) */
cls?: any;
/** [Method] Returns the value of cls */
getCls?(): string;
getCls? (): string;
getCls? (): string[];
/** [Method] Sets the value of cls
* @param cls String
*/
@@ -35060,7 +35171,8 @@ declare module Ext.scroll.indicator {
/** [Config Option] (String/String[]) */
cls?: any;
/** [Method] Returns the value of cls */
getCls?(): string;
getCls? (): string;
getCls? (): string[];
/** [Method] Sets the value of cls
* @param cls String
*/
@@ -35072,7 +35184,8 @@ declare module Ext.scroll.indicator {
/** [Config Option] (String/String[]) */
cls?: any;
/** [Method] Returns the value of cls */
getCls?(): string;
getCls? (): string;
getCls? (): string[];
/** [Method] Sets the value of cls
* @param cls String
*/
@@ -35377,11 +35490,13 @@ declare module Ext {
/** [Method] Returns the value of exit */
getExit?(): string;
/** [Method] Returns the value of hideAnimation */
getHideAnimation? (): string;
getHideAnimation?(): any;
/** [Method] Returns the value of modal */
getModal?(): bool;
/** [Method] Returns the value of showAnimation */
getShowAnimation?(): any;
getShowAnimation? (): any;
getShowAnimation? (): string;
/** [Method] Returns the value of stretchX */
getStretchX?(): bool;
/** [Method] Returns the value of stretchY */
@@ -35595,7 +35710,8 @@ declare module Ext {
/** [Method] Returns the value of flex */
getFlex?(): number;
/** [Method] Returns the value of width */
getWidth?(): number;
getWidth? (): number;
getWidth? (): string;
/** [Method] Sets the value of flex
* @param flex Number
*/
@@ -35762,7 +35878,8 @@ declare module Ext.tab {
*/
doTabChange?( tabBar?:any, newTab?:any ): bool;
/** [Method] Returns the value of cls */
getCls?(): string;
getCls? (): string;
getCls? (): string[];
/** [Method] Returns the value of layout */
getLayout?(): any;
/** [Method] Returns the value of tabBar */
@@ -35820,7 +35937,8 @@ declare module Ext {
*/
doTabChange?( tabBar?:any, newTab?:any ): bool;
/** [Method] Returns the value of cls */
getCls?(): string;
getCls? (): string;
getCls? (): string[];
/** [Method] Returns the value of layout */
getLayout?(): any;
/** [Method] Returns the value of tabBar */
@@ -36161,13 +36279,15 @@ declare module Ext {
/** [Method] Returns the value of baseCls */
getBaseCls?(): string;
/** [Method] Returns the value of cls */
getCls?(): string;
getCls? (): string;
getCls? (): string[];
/** [Method] Returns the value of defaultType */
getDefaultType?(): string;
/** [Method] Returns the value of items */
getItems?(): any;
/** [Method] Returns the value of minHeight */
getMinHeight?(): string;
getMinHeight? (): string;
getMinHeight? (): number;
/** [Method] Returns the value of title */
getTitle?(): string;
/** [Method] Returns the value of ui */
@@ -36231,7 +36351,8 @@ declare module Ext {
/** [Method] Returns the value of layout */
getLayout?(): any;
/** [Method] Returns the value of minHeight */
getMinHeight?(): string;
getMinHeight? (): string;
getMinHeight? (): number;
/** [Method] Returns an Ext Title component */
getTitle?(): Ext.ITitle;
/** [Method] Returns the value of ui */
@@ -38821,8 +38942,8 @@ declare module Ext {
* @param version String/Ext.Version The version, for example: '1.2.3alpha', '2.4.0-dev'.
*/
setVersion?( packageName?:any, version?:any ): any;
setVersion?( packageName?:string, version?:string ): Ext;
setVersion?( packageName?:string, version?:Ext.IVersion ): Ext;
setVersion?( packageName?:string, version?:string ): any;
setVersion?( packageName?:string, version?:Ext.IVersion ): any;
/** [Method] Returns this format major minor patch build release */
toArray?(): number[];
/** [Method]
@@ -38853,7 +38974,8 @@ declare module Ext {
/** [Method] Returns the value of url */
getUrl?(): string;
/** [Method] Returns the value of url */
getUrl?(): any[];
getUrl? (): any[];
getCls? (): string[];
/** [Method] Allows addition of behavior to the rendering phase */
initialize?(): void;
/** [Method] Sets the value of cls
+1 -1
View File
@@ -20,7 +20,7 @@ interface PageHTMLElement extends HTMLElement {
dataset: any;
}
class SwipeView {
declare class SwipeView {
masterPages: PageHTMLElement[];
currentMasterPage: number;
+2 -2
View File
@@ -3,7 +3,7 @@
// Definitions by: https://github.com/sunetos
// Definitions: https://github.com/borisyankov/DefinitelyTyped
module TWEEN {
declare module TWEEN {
export var REVISION: string;
export function getAll(): Tween[];
export function removeAll(): void;
@@ -24,7 +24,7 @@ module TWEEN {
onUpdate(callback:Function): Tween;
onComplete(callback:Function): Tween;
update(time:number): bool;
};
}
export var Easing: TweenEasing;
export var Interpolation: TweenInterpolation;
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+18 -8
View File
@@ -3,7 +3,7 @@
declare var $;
_.each([1, 2, 3], (num) => alert(num.toString()));
_.each({ one: 1, two: 2, three: 3 }, (value: number, key?: string) => alert(value.toString()));
_.each({ one: 1, two: 2, three: 3 }, (value) => alert(value.toString()));
_.map([1, 2, 3], (num) => num * 3);
_.map({ one: 1, two: 2, three: 3 }, (value: number, key?: string) => value * 3);
@@ -41,16 +41,15 @@ _.min(numbers);
_.sortBy([1, 2, 3, 4, 5, 6], (num) => Math.sin(num));
// not sure how this is typechecking at all.. Math.floor(e) is number not string..?
_([1.3, 2.1, 2.4]).groupBy((e: number, i?: number, list?: number[]) => Math.floor(e));
_.groupBy([1.3, 2.1, 2.4], (num: number) => Math.floor(num));
_([1.3, 2.1, 2.4]).groupBy((e, i?: number, list?: any[]) => Math.floor(e));
_.groupBy([1.3, 2.1, 2.4], (num: number) => Math.floor(num).toString());
_.groupBy(['one', 'two', 'three'], 'length');
_.countBy([1, 2, 3, 4, 5], (num) => num % 2 == 0 ? 'even' : 'odd');
_.shuffle([1, 2, 3, 4, 5, 6]);
// (function(){ return _.toArray(arguments).slice(1); })(1, 2, 3, 4);
(function(a, b, c, d){ return _.toArray(arguments).slice(1); })(1, 2, 3, 4);
_.size({ one: 1, two: 2, three: 3 });
@@ -74,7 +73,7 @@ _.intersection([1, 2, 3], [101, 2, 1, 10], [2, 1]);
_.difference([1, 2, 3, 4, 5], [5, 2, 10]);
_.uniq([1, 2, 1, 3, 1, 4]);
_.zip(['moe', 'larry', 'curly'], [30, 40, 50], [true, false, false]);
_.object(['moe', 'larry', 'curly'], [30, 40, 50]);
var r = _.object<{ [key: string]: number }>(['moe', 'larry', 'curly'], [30, 40, 50]);
_.object([[<any>'moe', 30], [<any>'larry', 40], [<any>'curly', 50]]);
_.indexOf([1, 2, 3], 2);
_.lastIndexOf([1, 2, 3, 1, 2, 3], 2);
@@ -154,10 +153,20 @@ _.defaults(iceCream, { flavor: "vanilla", sprinkles: "lots" });
_.clone({ name: 'moe' });
_([1, 2, 3, 4])
.chain()
.filter((num: number) => {
return num % 2 == 0;
}).tap(alert)
.map((num: number) => {
return num * num;
})
.value();
_.chain([1, 2, 3, 200])
.filter(function (num) { return num % 2 == 0; })
.filter(function (num: number) { return num % 2 == 0; })
.tap(alert)
.map(function (num) { return num * num })
.map(function (num: number) { return num * num })
.value();
_.has({ a: 1, b: 2, c: 3 }, "b");
@@ -215,6 +224,7 @@ var moe2 = { name: 'moe' };
moe2 === _.identity(moe);
var genie;
var r2 = _.times<number>(3, (n) => { return n * n });
_(3).times(function (n) { genie.grantWishNumber(n); });
_.random(0, 100);
+628 -689
View File
File diff suppressed because it is too large Load Diff