diff --git a/extjs/ExtJS.d.ts b/extjs/ExtJS.d.ts index b37966299..570942e32 100644 --- a/extjs/ExtJS.d.ts +++ b/extjs/ExtJS.d.ts @@ -12,7 +12,7 @@ declare module Ext { /** [Config Option] (Boolean/String/HTMLElement/Ext.Element) */ autoRender?: any; /** [Config Option] (Boolean) */ - autoShow?: bool; + autoShow?: boolean; /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Number/String/Boolean) */ @@ -30,19 +30,19 @@ declare module Ext { /** [Config Option] (Object) */ data?: any; /** [Config Option] (Boolean) */ - disabled?: bool; + disabled?: boolean; /** [Config Option] (String) */ disabledCls?: string; /** [Config Option] (Boolean) */ - draggable?: bool; + draggable?: boolean; /** [Config Option] (Boolean) */ - floating?: bool; + floating?: boolean; /** [Config Option] (Boolean) */ - frame?: bool; + frame?: boolean; /** [Config Option] (Number) */ height?: number; /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (String) */ hideMode?: string; /** [Config Option] (String/Object) */ @@ -78,7 +78,7 @@ declare module Ext { /** [Config Option] (Ext.XTemplate/String/String[]) */ renderTpl?: any; /** [Config Option] (Boolean) */ - rtl?: bool; + rtl?: boolean; /** [Config Option] (Boolean/Number) */ shrinkWrap?: any; /** [Config Option] (String/Object) */ @@ -94,19 +94,19 @@ declare module Ext { /** [Config Option] (Ext.enums.Widget) */ xtype?: Ext.enums.IWidget; /** [Property] (Boolean) */ - _isLayoutRoot?: bool; + _isLayoutRoot?: boolean; /** [Property] (String) */ contentPaddingProperty?: string; /** [Property] (Object) */ frameSize?: any; /** [Property] (Boolean) */ - isComponent?: bool; + isComponent?: boolean; /** [Property] (Boolean) */ - maskOnDisable?: bool; + maskOnDisable?: boolean; /** [Property] (Ext.Container) */ ownerCt?: Ext.IContainer; /** [Property] (Boolean) */ - rendered?: bool; + rendered?: boolean; /** [Method] Adds each argument passed to this method to the childEls array */ addChildEls?(): void; /** [Method] Adds a CSS class to the top level element representing this component @@ -154,7 +154,7 @@ declare module Ext { * @param propName String The name of the property on this object to save. * @param value String The value of the state property (defaults to this[propName]). */ - addPropertyToState?( state?:any, propName?:string, value?:string ): bool; + addPropertyToState?( state?:any, propName?:string, value?:string ): boolean; /** [Method] Add events that will trigger the state to be saved * @param events String/String[] The event name or an array of event names. */ @@ -202,9 +202,9 @@ declare module Ext { * @param callback Function The function to call after the animation finishes */ anchorTo?( element?:any, position?:any, offsets?:any, animate?:any, monitorScroll?:any, callback?:any ): any; - anchorTo?( element?:Ext.util.IPositionable, position?:string, offsets?:number[], animate?:any, monitorScroll?:bool, callback?:any ): Ext.util.IPositionable; - anchorTo?( element?:HTMLElement, position?:string, offsets?:number[], animate?:any, monitorScroll?:bool, callback?:any ): Ext.util.IPositionable; - anchorTo?( element?:string, position?:string, offsets?:number[], animate?:any, monitorScroll?:bool, callback?:any ): Ext.util.IPositionable; + anchorTo?( element?:Ext.util.IPositionable, position?:string, offsets?:number[], animate?:any, monitorScroll?:boolean, callback?:any ): Ext.util.IPositionable; + anchorTo?( element?:HTMLElement, position?:string, offsets?:number[], animate?:any, monitorScroll?:boolean, callback?:any ): Ext.util.IPositionable; + anchorTo?( element?:string, position?:string, offsets?:number[], animate?:any, monitorScroll?:boolean, callback?:any ): Ext.util.IPositionable; anchorTo?( element?:Ext.util.IPositionable, position?:string, offsets?:number[], animate?:any, monitorScroll?:number, callback?:any ): Ext.util.IPositionable; anchorTo?( element?:HTMLElement, position?:string, offsets?:number[], animate?:any, monitorScroll?:number, callback?:any ): Ext.util.IPositionable; anchorTo?( element?:string, position?:string, offsets?:number[], animate?:any, monitorScroll?:number, callback?:any ): Ext.util.IPositionable; @@ -238,10 +238,10 @@ declare module Ext { * @param proposedSize Number[] A proposed [width, height] size to use when calculating constraints instead of using this Positionable's current size. */ calculateConstrainedPosition?( constrainTo?:any, proposedPosition?:any, local?:any, proposedSize?:any ): any; - calculateConstrainedPosition?( constrainTo?:string, proposedPosition?:number[], local?:bool, proposedSize?:number[] ): number[]; - calculateConstrainedPosition?( constrainTo?:HTMLElement, proposedPosition?:number[], local?:bool, proposedSize?:number[] ): number[]; - calculateConstrainedPosition?( constrainTo?:Ext.IElement, proposedPosition?:number[], local?:bool, proposedSize?:number[] ): number[]; - calculateConstrainedPosition?( constrainTo?:Ext.util.IRegion, proposedPosition?:number[], local?:bool, proposedSize?:number[] ): number[]; + calculateConstrainedPosition?( constrainTo?:string, proposedPosition?:number[], local?:boolean, proposedSize?:number[] ): number[]; + calculateConstrainedPosition?( constrainTo?:HTMLElement, proposedPosition?:number[], local?:boolean, proposedSize?:number[] ): number[]; + calculateConstrainedPosition?( constrainTo?:Ext.IElement, proposedPosition?:number[], local?:boolean, proposedSize?:number[] ): number[]; + calculateConstrainedPosition?( constrainTo?:Ext.util.IRegion, proposedPosition?:number[], local?:boolean, proposedSize?:number[] ): number[]; /** [Method] Removes all listeners for this object including the managed listeners */ clearListeners?(): void; /** [Method] Removes all managed listeners for this object */ @@ -251,7 +251,7 @@ declare module Ext { /** [Method] Disable the component * @param silent Boolean Passing true will suppress the disable event from being fired. */ - disable?( silent?:bool ): void; + disable?( silent?:boolean ): void; /** [Method] Handles autoRender */ doAutoRender?(): void; /** [Method] This method needs to be called whenever you change something on this component that requires the Component s layout t */ @@ -259,7 +259,7 @@ declare module Ext { /** [Method] Enable the component * @param silent Boolean Passing true will suppress the enable event from being fired. */ - enable?( silent?:bool ): void; + enable?( silent?:boolean ): void; /** [Method] Enables events fired by this Observable to bubble up an owner hierarchy by calling this getBubbleTarget if present * @param eventNames String/String[] The event name to bubble, or an Array of event names. */ @@ -269,7 +269,7 @@ declare module Ext { /** [Method] Ensures that this component is attached to document body * @param runLayout Boolean True to run the component's layout. */ - ensureAttachedToBody?( runLayout?:bool ): void; + ensureAttachedToBody?( runLayout?:boolean ): void; /** [Method] Retrieves plugin from this component s collection by its ptype * @param ptype String The Plugin's ptype as specified by the class's alias configuration. */ @@ -278,18 +278,18 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Forces this component to redo its componentLayout */ forceComponentLayout?(): void; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ getActiveAnimation?(): Ext.fx.IAnim; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ - getActiveAnimation?(): bool; + getActiveAnimation?(): boolean; /** [Method] Gets the x y coordinates to align this element with another element * @param element Ext.util.Positionable/HTMLElement/String The Positionable, HTMLElement, or id of the element to align to. * @param position String The position to align to @@ -304,12 +304,12 @@ declare module Ext { * @param local Boolean True to get the local (element top/left-relative) anchor position instead of page coordinates * @param size Object An object containing the size to use for calculating anchor position {width: (target width), height: (target height)} (defaults to the element's current size) */ - getAnchorXY?( anchor?:string, local?:bool, size?:any ): number[]; + getAnchorXY?( anchor?:string, local?:boolean, size?:any ): number[]; /** [Method] Return an object defining the area of this Element which can be passed to setBox to set another Element s size locati * @param contentBox Boolean If true a box for the content of the element is returned. * @param local Boolean If true the element's left and top relative to its offsetParent are returned instead of page x/y. */ - getBox?( contentBox?:bool, local?:bool ): any; + getBox?( contentBox?:boolean, local?:boolean ): any; /** [Method] Provides the link for Observable s fireEvent method to bubble up the ownership hierarchy */ getBubbleTarget?(): Ext.container.IContainer; /** [Method] Returns the X Y vector by which this Positionable s element must be translated to make a best attempt to constrain @@ -327,10 +327,10 @@ declare module Ext { * @param proposedPosition Number[] A proposed [X, Y] position to test for validity and to produce a vector for instead of using the element's current position * @param proposedSize Number[] A proposed [width, height] size to constrain instead of using the element's current size */ - getConstrainVector?( constrainTo?:Ext.util.IPositionable, proposedPosition?:number[], proposedSize?:number[] ): bool; - getConstrainVector?( constrainTo?:HTMLElement, proposedPosition?:number[], proposedSize?:number[] ): bool; - getConstrainVector?( constrainTo?:string, proposedPosition?:number[], proposedSize?:number[] ): bool; - getConstrainVector?( constrainTo?:Ext.util.IRegion, proposedPosition?:number[], proposedSize?:number[] ): bool; + getConstrainVector?( constrainTo?:Ext.util.IPositionable, proposedPosition?:number[], proposedSize?:number[] ): boolean; + getConstrainVector?( constrainTo?:HTMLElement, proposedPosition?:number[], proposedSize?:number[] ): boolean; + getConstrainVector?( constrainTo?:string, proposedPosition?:number[], proposedSize?:number[] ): boolean; + getConstrainVector?( constrainTo?:Ext.util.IRegion, proposedPosition?:number[], proposedSize?:number[] ): boolean; /** [Method] Retrieves the top level element representing this component */ getEl?(): Ext.dom.IElement; /** [Method] Gets the current height of the component s underlying element */ @@ -391,15 +391,15 @@ declare module Ext { /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ hasActiveFx?(): Ext.fx.IAnim; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ - hasActiveFx?(): bool; + hasActiveFx?(): boolean; /** [Method] Checks if the specified CSS class exists on this element s DOM node * @param className String The CSS class to check for. */ - hasCls?( className?:string ): bool; + hasCls?( className?:string ): boolean; /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Checks if there is currently a specified uiCls * @param cls String The cls to check. */ @@ -411,34 +411,34 @@ declare module Ext { /** [Method] Tests whether this Component matches the selector string * @param selector String The selector string to test against. */ - is?( selector?:string ): bool; + is?( selector?:string ): boolean; /** [Method] Determines whether this component is the descendant of a particular container * @param container Ext.Container */ - isDescendantOf?( container?:Ext.IContainer ): bool; + isDescendantOf?( container?:Ext.IContainer ): boolean; /** [Method] Method to determine whether this Component is currently disabled */ - isDisabled?(): bool; + isDisabled?(): boolean; /** [Method] Method to determine whether this Component is draggable */ - isDraggable?(): bool; + isDraggable?(): boolean; /** [Method] Method to determine whether this Component is droppable */ - isDroppable?(): bool; + isDroppable?(): boolean; /** [Method] Method to determine whether this Component is floating */ - isFloating?(): bool; + isFloating?(): boolean; /** [Method] Method to determine whether this Component is currently set to hidden */ - isHidden?(): bool; + isHidden?(): boolean; /** [Method] Determines whether this Component is the root of a layout */ isLayoutRoot?(): void; /** [Method] Returns true if layout is suspended for this component */ - isLayoutSuspended?(): bool; + isLayoutSuspended?(): boolean; /** [Method] Returns true if this component is visible * @param deep Boolean Pass true to interrogate the visibility status of all parent Containers to determine whether this Component is truly visible to the user. Generally, to determine whether a Component is hidden, the no argument form is needed. For example when creating dynamically laid out UIs in a hidden Container before showing them. */ - isVisible?( deep?:bool ): bool; + isVisible?( deep?:boolean ): boolean; /** [Method] Tests whether or not this Component is of a specific xtype * @param xtype String The xtype to check for this Component * @param shallow Boolean true to check whether this Component is directly of the specified xtype, false to check whether this Component is descended from the xtype. */ - isXType?( xtype?:string, shallow?:bool ): bool; + isXType?( xtype?:string, shallow?:boolean ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -496,7 +496,7 @@ declare module Ext { /** [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. */ - onRemoved?( destroying?:bool ): void; + onRemoved?( destroying?:boolean ): void; /** [Method] Template method called when this Component s DOM structure is created * @param parentNode Ext.core.Element The parent Element in which this Component's encapsulating element is contained. * @param containerIdx Number The index within the parent Container's child collection of this Component. @@ -590,7 +590,7 @@ declare module Ext { * @param state Object The state object in to which to save the property. * @param stateName String The name to use for the property in state. */ - savePropToState?( propName?:string, state?:any, stateName?:string ): bool; + savePropToState?( propName?:string, state?:any, stateName?:string ): boolean; /** [Method] Gathers additional named properties of the instance and adds their current values to the passed state object * @param propNames String/String[] The name (or array of names) of the property to save. * @param state Object The state object in to which to save the property values. @@ -616,12 +616,12 @@ declare module Ext { /** [Method] Enable or disable the component * @param disabled Boolean true to disable. */ - setDisabled?( disabled?:bool ): void; + setDisabled?( disabled?:boolean ): void; /** [Method] Sets the dock position of this component in its parent panel * @param dock Object The dock position. * @param layoutParent Boolean true to re-layout parent. */ - setDocked?( dock?:any, layoutParent?:bool ): Ext.IComponent; + setDocked?( dock?:any, layoutParent?:boolean ): Ext.IComponent; /** [Method] Sets the height of the component * @param height Number The new height to set. This may be one of: A Number specifying the new height in the Element's Ext.Element.defaultUnits (by default, pixels). A String used to set the CSS height style. undefined to leave the height unchanged. */ @@ -664,7 +664,7 @@ declare module Ext { /** [Method] Convenience function to hide or show this component by Boolean * @param visible Boolean true to show, false to hide. */ - setVisible?( visible?:bool ): Ext.IComponent; + setVisible?( visible?:boolean ): Ext.IComponent; /** [Method] Sets the width of the component * @param width Number The new width to setThis may be one of: A Number specifying the new width in the Element's Ext.Element.defaultUnits (by default, pixels). A String used to set the CSS width style. */ @@ -695,7 +695,7 @@ declare module Ext { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Ensures that all effects queued after syncFx is called on this object are run concurrently */ syncFx?(): any; /** [Method] Translates the passed page coordinates into left top css values for the element @@ -727,23 +727,53 @@ declare module Ext { * @param loadScripts Boolean Only legitimate when using the html configuration. * @param callback Function Only legitimate when using the html configuration. Callback to execute when scripts have finished loading. */ - update?( htmlOrData?:any, loadScripts?:bool, callback?:any ): void; + update?( htmlOrData?:any, loadScripts?:boolean, callback?:any ): void; /** [Method] Updates this component s layout * @param options Object An object with layout options. */ updateLayout?( options?:any ): void; + } + export class AbstractComponent { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; /** [Method] Cancels layout of a component * @param comp Ext.Component */ - cancelLayout?( comp?:Ext.IComponent ): void; + static cancelLayout( comp?:Ext.IComponent ): void; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Performs all pending layouts that were scheduled while suspendLayouts was in effect */ - flushLayouts?(): void; + static flushLayouts(): void; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Adds members to class */ + static implement(): void; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; /** [Method] Resumes layout activity in the whole framework * @param flush Boolean true to perform all the pending layouts. This can also be achieved by calling flushLayouts directly. */ - resumeLayouts?( flush?:bool ): void; + static resumeLayouts( flush?:boolean ): void; /** [Method] Stops layouts from happening in the whole framework */ - suspendLayouts?(): void; + static suspendLayouts(): void; + /** [Method] Updates layout of a component + * @param comp Ext.Component The component to update. + * @param defer Boolean true to just queue the layout if this component. + */ + static updateLayout( comp?:Ext.IComponent, defer?:boolean ): void; } } declare module Ext { @@ -769,7 +799,7 @@ declare module Ext { /** [Method] Checks if an item type is registered * @param type String The mnemonic string by which the class may be looked up */ - isRegistered?( type?:string ): bool; + isRegistered?( type?:string ): boolean; /** [Method] Registers a function that will be called when an item with the specified id is added to the manager * @param id String The item id * @param fn Function The callback function. Called with a single parameter, the item. @@ -796,7 +826,7 @@ declare module Ext { /** [Config Option] (String) */ pluginId?: string; /** [Property] (Boolean) */ - isPlugin?: bool; + isPlugin?: boolean; /** [Method] Creates clone of the plugin * @param overrideCfg Object Additional config for the derived plugin. */ @@ -822,11 +852,11 @@ declare module Ext { declare module Ext { export interface IAction extends Ext.IBase { /** [Config Option] (Boolean) */ - disabled?: bool; + disabled?: boolean; /** [Config Option] (Function) */ handler?: any; /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (String) */ iconCls?: string; /** [Config Option] (String) */ @@ -861,7 +891,7 @@ declare module Ext { /** [Method] Sets the disabled state of all components configured by this Action * @param disabled Boolean True to disable the component, false to enable it */ - setDisabled?( disabled?:bool ): void; + setDisabled?( disabled?:boolean ): void; /** [Method] Sets the function that will be called by each Component using this action when its primary event is triggered * @param fn Function The function that will be invoked by the action's components. The function will be called with no arguments. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the Component firing the event. @@ -870,7 +900,7 @@ declare module Ext { /** [Method] Sets the hidden state of all components configured by this Action * @param hidden Boolean True to hide the component, false to show it. */ - setHidden?( hidden?:bool ): void; + setHidden?( hidden?:boolean ): void; /** [Method] Sets the icon CSS class for all components configured by this Action * @param cls String The CSS class supplying the icon image */ @@ -943,12 +973,12 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - static fireEventArgs( eventName?:string, args?:any[] ): bool; + static fireEventArgs( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the initial configuration passed to constructor when instantiating this class * @param name String Name of the config option to return. */ @@ -956,7 +986,7 @@ declare module Ext { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Initialize configuration for this class * @param config Object */ @@ -964,7 +994,7 @@ declare module Ext { /** [Method] Determines whether this object has a request outstanding * @param request Object Defaults to the last transaction */ - static isLoading( request?:any ): bool; + static isLoading( request?:any ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -1040,7 +1070,7 @@ declare module Ext { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - static suspendEvents( queueSuspended?:bool ): void; + static suspendEvents( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -1057,29 +1087,6 @@ declare module Ext { static upload( form?:string, url?:string, params?:string, options?:any ): void; static upload( form?:HTMLElement, url?:string, params?:string, options?:any ): void; static upload( form?:Ext.IElement, url?:string, params?:string, options?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.app { @@ -1089,11 +1096,11 @@ declare module Ext.app { /** [Config Option] (String) */ appProperty?: string; /** [Config Option] (Boolean) */ - autoCreateViewport?: bool; + autoCreateViewport?: boolean; /** [Config Option] (String/String[]) */ controllers?: any; /** [Config Option] (Boolean) */ - enableQuickTips?: bool; + enableQuickTips?: boolean; /** [Config Option] (String) */ name?: string; /** [Config Option] (String/String[]) */ @@ -1111,7 +1118,7 @@ declare module Ext.app { /** [Method] Called automatically when the page has completely loaded * @param profile String The detected application profile */ - launch?( profile?:string ): bool; + launch?( profile?:string ): boolean; } } declare module Ext.app { @@ -1172,12 +1179,12 @@ declare module Ext.app { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the base Ext app Application for this controller */ getApplication?(): Ext.app.IApplication; /** [Method] Returns instance of a Controller with the given id @@ -1199,11 +1206,11 @@ declare module Ext.app { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Returns true if a reference is registered * @param ref Object */ - hasRef?( ref?:any ): bool; + hasRef?( ref?:any ): boolean; /** [Method] A template method that is called when your application boots * @param application Ext.app.Application */ @@ -1276,7 +1283,7 @@ declare module Ext.app { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -1316,36 +1323,13 @@ declare module Ext.app.domain { * @param target Object * @param selector Object */ - static match( target?:any, selector?:any ): bool; + static match( target?:any, selector?:any ): boolean; /** [Method] This method is called by the derived class to monitor fireEvent calls * @param observable Ext.Class The Observable to monitor for events. */ static monitor( observable?:Ext.IClass ): void; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.app.domain { @@ -1379,36 +1363,13 @@ declare module Ext.app.domain { * @param target Object The firer of the event. * @param selector String The selector to which to match the target. */ - static match( target?:any, selector?:string ): bool; + static match( target?:any, selector?:string ): boolean; /** [Method] This method is called by the derived class to monitor fireEvent calls * @param observable Ext.Class The Observable to monitor for events. */ static monitor( observable?:Ext.IClass ): void; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.app.domain { @@ -1442,36 +1403,13 @@ declare module Ext.app.domain { * @param target Object The firer of the event. * @param selector String The selector to which to match the target. */ - static match( target?:any, selector?:string ): bool; + static match( target?:any, selector?:string ): boolean; /** [Method] This method is called by the derived class to monitor fireEvent calls * @param observable Ext.Class The Observable to monitor for events. */ static monitor( observable?:Ext.IClass ): void; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.app.domain { @@ -1502,36 +1440,13 @@ declare module Ext.app.domain { */ static initConfig( config?:any ): Ext.IBase; /** [Method] This method matches the firer of the event the target to the given selector */ - static match(): bool; + static match(): boolean; /** [Method] This method is called by the derived class to monitor fireEvent calls * @param observable Ext.Class The Observable to monitor for events. */ static monitor( observable?:Ext.IClass ): void; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.app.domain { @@ -1565,36 +1480,13 @@ declare module Ext.app.domain { * @param target Object The firer of the event. * @param selector String The selector to which to match the target. */ - static match( target?:any, selector?:string ): bool; + static match( target?:any, selector?:string ): boolean; /** [Method] This method is called by the derived class to monitor fireEvent calls * @param observable Ext.Class The Observable to monitor for events. */ static monitor( observable?:Ext.IClass ): void; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.app { @@ -1640,29 +1532,6 @@ declare module Ext.app { * @param controllerId String The id of the controller. */ static unlisten( controllerId?:string ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.app { @@ -1675,7 +1544,7 @@ declare module Ext.app { * @param target Object The firer of the event. * @param selector String The selector to which to match the target. */ - match?( target?:any, selector?:string ): bool; + match?( target?:any, selector?:string ): boolean; /** [Method] This method is called by the derived class to monitor fireEvent calls * @param observable Ext.Class The Observable to monitor for events. */ @@ -1698,7 +1567,7 @@ declare module Ext { * @param array Array The array to check * @param item Object The item to look for */ - static contains( array?:any[], item?:any ): bool; + static contains( array?:any[], item?:any ): boolean; /** [Method] Perform a set difference A B by subtracting all items in array B from array A * @param arrayA Array * @param arrayB Array @@ -1710,12 +1579,12 @@ declare module Ext { * @param scope Object The scope (this reference) in which the specified function is executed. * @param reverse Boolean Reverse the iteration order (loop from the end to the beginning) Defaults false */ - static each( iterable?:any, fn?:any, scope?:any, reverse?:bool ): bool; + static each( iterable?:any, fn?:any, scope?:any, reverse?:boolean ): boolean; /** [Method] Shallow compares the contents of 2 arrays using strict equality * @param array1 Array * @param array2 Array */ - static equals( array1?:any[], array2?:any[] ): bool; + static equals( array1?:any[], array2?:any[] ): boolean; /** [Method] Removes items from an array * @param array Array The Array on which to replace. * @param index Number The index in the array at which to operate. @@ -1727,7 +1596,7 @@ declare module Ext { * @param fn Function Callback function for each item * @param scope Object Callback function scope */ - static every( array?:any[], fn?:any, scope?:any ): bool; + static every( array?:any[], fn?:any, scope?:any ): boolean; /** [Method] Creates a new array with all of the elements of this array for which the provided filtering function returns true * @param array Array * @param fn Function Callback function for each item @@ -1754,7 +1623,7 @@ declare module Ext { * @param value Object The value to convert to an array if it's not already is an array * @param newReference Boolean True to clone the given array and return a new reference if necessary, defaults to false */ - static from( value?:any, newReference?:bool ): any[]; + static from( value?:any, newReference?:boolean ): any[]; /** [Method] Push an item into the array only if the array doesn t contain it yet * @param array Array The array * @param item Object The item to include @@ -1843,7 +1712,7 @@ declare module Ext { * @param fn Function Callback function for each item * @param scope Object Callback function scope */ - static some( array?:any[], fn?:any, scope?:any ): bool; + static some( array?:any[], fn?:any, scope?:any ): boolean; /** [Method] Sorts the elements of an Array * @param array Array The array to sort. * @param sortFn Function The comparison function. @@ -1921,35 +1790,37 @@ declare module Ext { * @param config Object */ initConfig?( config?:any ): Ext.IBase; + } + export class Base { /** [Method] Add methods properties to the prototype of this class * @param members Object */ - addMembers?( members?:any ): void; + static addMembers( members?:any ): void; /** [Method] Add override static properties of this class * @param members Object */ - addStatics?( members?:any ): Ext.IBase; + static addStatics( members?:any ): Ext.IBase; /** [Method] Create a new instance of this Class */ - create?(): any; + static create(): any; /** [Method] Create aliases for existing prototype methods * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter * @param origin String/Object The original method name */ - createAlias?( alias?:any, origin?:any ): void; + static createAlias( alias?:any, origin?:any ): void; /** [Method] Get the current class name in string format */ - getName?(): string; + static getName(): string; /** [Method] Adds members to class */ - implement?(): void; + static implement(): void; /** [Method] Override members of this class * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. */ - override?( members?:any ): Ext.IBase; + static override( members?:any ): Ext.IBase; } } declare module Ext.button { export interface IButton extends Ext.IComponent,Ext.IQueryable { /** [Config Option] (Boolean) */ - allowDepress?: bool; + allowDepress?: boolean; /** [Config Option] (String) */ arrowAlign?: string; /** [Config Option] (String) */ @@ -1965,23 +1836,23 @@ declare module Ext.button { /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Boolean) */ - destroyMenu?: bool; + destroyMenu?: boolean; /** [Config Option] (Boolean) */ - disabled?: bool; + disabled?: boolean; /** [Config Option] (Boolean) */ - enableToggle?: bool; + enableToggle?: boolean; /** [Config Option] (String) */ focusCls?: string; /** [Config Option] (Boolean) */ - frame?: bool; + frame?: boolean; /** [Config Option] (Number/String) */ glyph?: any; /** [Config Option] (Boolean) */ - handleMouseEvents?: bool; + handleMouseEvents?: boolean; /** [Config Option] (Function) */ handler?: any; /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (String) */ href?: string; /** [Config Option] (String) */ @@ -2007,11 +1878,11 @@ declare module Ext.button { /** [Config Option] (Object) */ params?: any; /** [Config Option] (Boolean) */ - pressed?: bool; + pressed?: boolean; /** [Config Option] (String) */ pressedCls?: string; /** [Config Option] (Boolean) */ - preventDefault?: bool; + preventDefault?: boolean; /** [Config Option] (Ext.XTemplate/String/String[]) */ renderTpl?: any; /** [Config Option] (Boolean/Object) */ @@ -2021,7 +1892,7 @@ declare module Ext.button { /** [Config Option] (Object) */ scope?: any; /** [Config Option] (Boolean) */ - showEmptyMenu?: bool; + showEmptyMenu?: boolean; /** [Config Option] (Boolean/Number) */ shrinkWrap?: any; /** [Config Option] (Number) */ @@ -2039,7 +1910,7 @@ declare module Ext.button { /** [Config Option] (String) */ tooltipType?: string; /** [Property] (Boolean) */ - isAction?: bool; + isAction?: boolean; /** [Property] (Ext.Template) */ template?: Ext.ITemplate; /** [Method] Retrieves the first direct child of this container which matches the passed selector or component @@ -2067,7 +1938,7 @@ declare module Ext.button { /** [Method] Gets the text for this Button */ getText?(): string; /** [Method] Returns true if the button has a menu and it is visible */ - hasVisibleMenu?(): bool; + hasVisibleMenu?(): boolean; /** [Method] Hides this button s menu if it has one */ hideMenu?(): Ext.button.IButton; /** [Method] inherit docs */ @@ -2142,13 +2013,13 @@ declare module Ext.button { * @param state Boolean Force a particular state * @param suppressEvent Boolean True to stop events being fired when calling this method. */ - toggle?( state?:bool, suppressEvent?:bool ): Ext.button.IButton; + toggle?( state?:boolean, suppressEvent?:boolean ): Ext.button.IButton; } } declare module Ext { export interface IButton extends Ext.IComponent,Ext.IQueryable { /** [Config Option] (Boolean) */ - allowDepress?: bool; + allowDepress?: boolean; /** [Config Option] (String) */ arrowAlign?: string; /** [Config Option] (String) */ @@ -2164,23 +2035,23 @@ declare module Ext { /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Boolean) */ - destroyMenu?: bool; + destroyMenu?: boolean; /** [Config Option] (Boolean) */ - disabled?: bool; + disabled?: boolean; /** [Config Option] (Boolean) */ - enableToggle?: bool; + enableToggle?: boolean; /** [Config Option] (String) */ focusCls?: string; /** [Config Option] (Boolean) */ - frame?: bool; + frame?: boolean; /** [Config Option] (Number/String) */ glyph?: any; /** [Config Option] (Boolean) */ - handleMouseEvents?: bool; + handleMouseEvents?: boolean; /** [Config Option] (Function) */ handler?: any; /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (String) */ href?: string; /** [Config Option] (String) */ @@ -2206,11 +2077,11 @@ declare module Ext { /** [Config Option] (Object) */ params?: any; /** [Config Option] (Boolean) */ - pressed?: bool; + pressed?: boolean; /** [Config Option] (String) */ pressedCls?: string; /** [Config Option] (Boolean) */ - preventDefault?: bool; + preventDefault?: boolean; /** [Config Option] (Ext.XTemplate/String/String[]) */ renderTpl?: any; /** [Config Option] (Boolean/Object) */ @@ -2220,7 +2091,7 @@ declare module Ext { /** [Config Option] (Object) */ scope?: any; /** [Config Option] (Boolean) */ - showEmptyMenu?: bool; + showEmptyMenu?: boolean; /** [Config Option] (Boolean/Number) */ shrinkWrap?: any; /** [Config Option] (Number) */ @@ -2238,7 +2109,7 @@ declare module Ext { /** [Config Option] (String) */ tooltipType?: string; /** [Property] (Boolean) */ - isAction?: bool; + isAction?: boolean; /** [Property] (Ext.Template) */ template?: Ext.ITemplate; /** [Method] Retrieves the first direct child of this container which matches the passed selector or component @@ -2266,7 +2137,7 @@ declare module Ext { /** [Method] Gets the text for this Button */ getText?(): string; /** [Method] Returns true if the button has a menu and it is visible */ - hasVisibleMenu?(): bool; + hasVisibleMenu?(): boolean; /** [Method] Hides this button s menu if it has one */ hideMenu?(): Ext.button.IButton; /** [Method] inherit docs */ @@ -2341,7 +2212,7 @@ declare module Ext { * @param state Boolean Force a particular state * @param suppressEvent Boolean True to stop events being fired when calling this method. */ - toggle?( state?:bool, suppressEvent?:bool ): Ext.button.IButton; + toggle?( state?:boolean, suppressEvent?:boolean ): Ext.button.IButton; } } declare module Ext.button { @@ -2357,7 +2228,7 @@ declare module Ext.button { /** [Config Option] (String) */ prependText?: string; /** [Config Option] (Boolean) */ - showText?: bool; + showText?: boolean; /** [Property] (Ext.menu.Menu) */ menu?: Ext.menu.IMenu; /** [Method] Gets the currently active menu item */ @@ -2366,7 +2237,7 @@ declare module Ext.button { * @param item Ext.menu.CheckItem The item to activate * @param suppressEvent Boolean True to prevent the button's change event from firing. */ - setActiveItem?( item?:Ext.menu.ICheckItem, suppressEvent?:bool ): void; + setActiveItem?( item?:Ext.menu.ICheckItem, suppressEvent?:boolean ): void; /** [Method] This is normally called internally on button click but can be called externally to advance the button s active item */ toggleSelected?(): void; } @@ -2384,7 +2255,7 @@ declare module Ext { /** [Config Option] (String) */ prependText?: string; /** [Config Option] (Boolean) */ - showText?: bool; + showText?: boolean; /** [Property] (Ext.menu.Menu) */ menu?: Ext.menu.IMenu; /** [Method] Gets the currently active menu item */ @@ -2393,7 +2264,7 @@ declare module Ext { * @param item Ext.menu.CheckItem The item to activate * @param suppressEvent Boolean True to prevent the button's change event from firing. */ - setActiveItem?( item?:Ext.menu.ICheckItem, suppressEvent?:bool ): void; + setActiveItem?( item?:Ext.menu.ICheckItem, suppressEvent?:boolean ): void; /** [Method] This is normally called internally on button click but can be called externally to advance the button s active item */ toggleSelected?(): void; } @@ -2427,29 +2298,6 @@ declare module Ext.button { static initConfig( config?:any ): Ext.IBase; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -2481,29 +2329,6 @@ declare module Ext { static initConfig( config?:any ): Ext.IBase; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.button { @@ -2543,13 +2368,13 @@ declare module Ext.chart.axis { declare module Ext.chart.axis { export interface IAxis extends Ext.chart.axis.IAbstract { /** [Config Option] (Boolean) */ - adjustEnd?: bool; + adjustEnd?: boolean; /** [Config Option] (Number) */ dashSize?: number; /** [Config Option] (Boolean/Object) */ grid?: any; /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (Number) */ length?: number; /** [Config Option] (Number) */ @@ -2579,13 +2404,13 @@ declare module Ext.chart.axis { declare module Ext.chart { export interface IAxis extends Ext.chart.axis.IAbstract { /** [Config Option] (Boolean) */ - adjustEnd?: bool; + adjustEnd?: boolean; /** [Config Option] (Number) */ dashSize?: number; /** [Config Option] (Boolean/Object) */ grid?: any; /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (Number) */ length?: number; /** [Config Option] (Number) */ @@ -2615,7 +2440,7 @@ declare module Ext.chart { declare module Ext.chart.axis { export interface ICategory extends Ext.chart.axis.IAxis { /** [Config Option] (Boolean) */ - calculateCategoryCount?: bool; + calculateCategoryCount?: boolean; /** [Config Option] (String) */ categoryNames?: string; } @@ -2623,7 +2448,7 @@ declare module Ext.chart.axis { declare module Ext.chart { export interface ICategoryAxis extends Ext.chart.axis.IAxis { /** [Config Option] (Boolean) */ - calculateCategoryCount?: bool; + calculateCategoryCount?: boolean; /** [Config Option] (String) */ categoryNames?: string; } @@ -2649,11 +2474,11 @@ declare module Ext.chart.axis { declare module Ext.chart.axis { export interface INumeric extends Ext.chart.axis.IAxis { /** [Config Option] (Boolean) */ - adjustMaximumByMajorUnit?: bool; + adjustMaximumByMajorUnit?: boolean; /** [Config Option] (Boolean) */ - adjustMinimumByMajorUnit?: bool; + adjustMinimumByMajorUnit?: boolean; /** [Config Option] (Boolean) */ - constrain?: bool; + constrain?: boolean; /** [Config Option] (Number) */ decimals?: number; /** [Config Option] (Number) */ @@ -2667,11 +2492,11 @@ declare module Ext.chart.axis { declare module Ext.chart { export interface INumericAxis extends Ext.chart.axis.IAxis { /** [Config Option] (Boolean) */ - adjustMaximumByMajorUnit?: bool; + adjustMaximumByMajorUnit?: boolean; /** [Config Option] (Boolean) */ - adjustMinimumByMajorUnit?: bool; + adjustMinimumByMajorUnit?: boolean; /** [Config Option] (Boolean) */ - constrain?: bool; + constrain?: boolean; /** [Config Option] (Number) */ decimals?: number; /** [Config Option] (Number) */ @@ -2697,7 +2522,7 @@ declare module Ext.chart.axis { declare module Ext.chart.axis { export interface ITime extends Ext.chart.axis.INumeric { /** [Config Option] (Boolean) */ - constrain?: bool; + constrain?: boolean; /** [Config Option] (String/Boolean) */ dateFormat?: any; /** [Config Option] (Date) */ @@ -2711,7 +2536,7 @@ declare module Ext.chart.axis { declare module Ext.chart { export interface ITimeAxis extends Ext.chart.axis.INumeric { /** [Config Option] (Boolean) */ - constrain?: bool; + constrain?: boolean; /** [Config Option] (String/Boolean) */ dateFormat?: any; /** [Config Option] (Date) */ @@ -2790,12 +2615,12 @@ declare module Ext.chart { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Gets the current store instance */ getStore?(): Ext.data.IAbstractStore; /** [Method] Gets the listeners to bind to a new store */ @@ -2803,7 +2628,7 @@ declare module Ext.chart { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] The initComponent template method is an important initialization step for a Component */ initComponent?(): void; /** [Method] Shorthand for addManagedListener @@ -2836,18 +2661,18 @@ declare module Ext.chart { * @param store Ext.data.AbstractStore The store being bound * @param initial Boolean True if this store is being bound as initialization of the instance. */ - onBindStore?( store?:Ext.data.IAbstractStore, initial?:bool ): void; + onBindStore?( store?:Ext.data.IAbstractStore, initial?:boolean ): void; /** [Method] Allows addition of behavior to the show operation */ onShow?(): void; /** [Method] Template method it is called when an existing store is unbound from the current instance * @param store Ext.data.AbstractStore The store being unbound * @param initial Boolean True if this store is being bound as initialization of the instance. */ - onUnbindStore?( store?:Ext.data.IAbstractStore, initial?:bool ): void; + onUnbindStore?( store?:Ext.data.IAbstractStore, initial?:boolean ): void; /** [Method] Redraws the chart * @param resize Boolean flag which changes the default origin points of the chart for animations. */ - redraw?( resize?:bool ): void; + redraw?( resize?:boolean ): void; /** [Method] Relays selected events from the specified Observable as if the events were fired by this * @param origin Object The Observable whose events this object is to relay. * @param events String[] Array of event names to relay. @@ -2892,7 +2717,7 @@ declare module Ext.chart { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -2939,7 +2764,7 @@ declare module Ext.chart { * @param animate Boolean A boolean value to set or unset animations for the labels. * @param index Number The series index. */ - onPlaceLabel?( label?:Ext.draw.ISprite, storeItem?:Ext.data.IModel, item?:any, i?:number, display?:string, animate?:bool, index?:number ): void; + onPlaceLabel?( label?:Ext.draw.ISprite, storeItem?:Ext.data.IModel, item?:any, i?:number, display?:string, animate?:boolean, index?:number ): void; } } declare module Ext.chart { @@ -2963,19 +2788,19 @@ declare module Ext.chart { /** [Config Option] (String) */ position?: string; /** [Config Option] (Boolean) */ - update?: bool; + update?: boolean; /** [Config Option] (Boolean) */ - visible?: bool; + visible?: boolean; /** [Config Option] (Number) */ x?: number; /** [Config Option] (Number) */ y?: number; /** [Property] (Boolean) */ - isVertical?: bool; + isVertical?: boolean; /** [Method] toggle * @param show Boolean Whether to show or hide the legend. */ - toggle?( show?:bool ): void; + toggle?( show?:boolean ): void; } } declare module Ext.chart { @@ -3045,13 +2870,13 @@ declare module Ext.chart.series { declare module Ext.chart.series { export interface IBar extends Ext.chart.series.ICartesian { /** [Config Option] (Boolean) */ - column?: bool; + column?: boolean; /** [Config Option] (Number) */ groupGutter?: number; /** [Config Option] (Number) */ gutter?: number; /** [Config Option] (Boolean) */ - stacked?: bool; + stacked?: boolean; /** [Config Option] (Object) */ style?: any; /** [Config Option] (String) */ @@ -3077,13 +2902,13 @@ declare module Ext.chart.series { declare module Ext.chart { export interface IBarSeries extends Ext.chart.series.ICartesian { /** [Config Option] (Boolean) */ - column?: bool; + column?: boolean; /** [Config Option] (Number) */ groupGutter?: number; /** [Config Option] (Number) */ gutter?: number; /** [Config Option] (Boolean) */ - stacked?: bool; + stacked?: boolean; /** [Config Option] (Object) */ style?: any; /** [Config Option] (String) */ @@ -3109,13 +2934,13 @@ declare module Ext.chart { declare module Ext.chart { export interface IBarChart extends Ext.chart.series.ICartesian { /** [Config Option] (Boolean) */ - column?: bool; + column?: boolean; /** [Config Option] (Number) */ groupGutter?: number; /** [Config Option] (Number) */ gutter?: number; /** [Config Option] (Boolean) */ - stacked?: bool; + stacked?: boolean; /** [Config Option] (Object) */ style?: any; /** [Config Option] (String) */ @@ -3141,13 +2966,13 @@ declare module Ext.chart { declare module Ext.chart { export interface IStackedBarChart extends Ext.chart.series.ICartesian { /** [Config Option] (Boolean) */ - column?: bool; + column?: boolean; /** [Config Option] (Number) */ groupGutter?: number; /** [Config Option] (Number) */ gutter?: number; /** [Config Option] (Boolean) */ - stacked?: bool; + stacked?: boolean; /** [Config Option] (Object) */ style?: any; /** [Config Option] (String) */ @@ -3247,7 +3072,7 @@ declare module Ext.chart.series { /** [Config Option] (String) */ axis?: string; /** [Config Option] (Boolean) */ - column?: bool; + column?: boolean; /** [Config Option] (String) */ type?: string; /** [Config Option] (Number/Object) */ @@ -3261,7 +3086,7 @@ declare module Ext.chart { /** [Config Option] (String) */ axis?: string; /** [Config Option] (Boolean) */ - column?: bool; + column?: boolean; /** [Config Option] (String) */ type?: string; /** [Config Option] (Number/Object) */ @@ -3275,7 +3100,7 @@ declare module Ext.chart { /** [Config Option] (String) */ axis?: string; /** [Config Option] (Boolean) */ - column?: bool; + column?: boolean; /** [Config Option] (String) */ type?: string; /** [Config Option] (Number/Object) */ @@ -3289,7 +3114,7 @@ declare module Ext.chart { /** [Config Option] (String) */ axis?: string; /** [Config Option] (Boolean) */ - column?: bool; + column?: boolean; /** [Config Option] (String) */ type?: string; /** [Config Option] (Number/Object) */ @@ -3307,9 +3132,9 @@ declare module Ext.chart.series { /** [Config Option] (Number) */ highlightDuration?: number; /** [Config Option] (Boolean) */ - needle?: bool; + needle?: boolean; /** [Config Option] (Boolean) */ - showInLegend?: bool; + showInLegend?: boolean; /** [Config Option] (Object) */ style?: any; /** [Config Option] (String) */ @@ -3329,13 +3154,13 @@ declare module Ext.chart.series { declare module Ext.chart.series { export interface ILine extends Ext.chart.series.ICartesian { /** [Config Option] (Boolean) */ - fill?: bool; + fill?: boolean; /** [Config Option] (Object) */ markerConfig?: any; /** [Config Option] (Number) */ selectionTolerance?: number; /** [Config Option] (Boolean) */ - showMarkers?: bool; + showMarkers?: boolean; /** [Config Option] (Boolean/Number) */ smooth?: any; /** [Config Option] (Object) */ @@ -3349,13 +3174,13 @@ declare module Ext.chart.series { declare module Ext.chart { export interface ILineSeries extends Ext.chart.series.ICartesian { /** [Config Option] (Boolean) */ - fill?: bool; + fill?: boolean; /** [Config Option] (Object) */ markerConfig?: any; /** [Config Option] (Number) */ selectionTolerance?: number; /** [Config Option] (Boolean) */ - showMarkers?: bool; + showMarkers?: boolean; /** [Config Option] (Boolean/Number) */ smooth?: any; /** [Config Option] (Object) */ @@ -3369,13 +3194,13 @@ declare module Ext.chart { declare module Ext.chart { export interface ILineChart extends Ext.chart.series.ICartesian { /** [Config Option] (Boolean) */ - fill?: bool; + fill?: boolean; /** [Config Option] (Object) */ markerConfig?: any; /** [Config Option] (Number) */ selectionTolerance?: number; /** [Config Option] (Boolean) */ - showMarkers?: bool; + showMarkers?: boolean; /** [Config Option] (Boolean/Number) */ smooth?: any; /** [Config Option] (Object) */ @@ -3401,7 +3226,7 @@ declare module Ext.chart.series { /** [Config Option] (String) */ lengthField?: string; /** [Config Option] (Boolean) */ - showInLegend?: bool; + showInLegend?: boolean; /** [Config Option] (Object) */ style?: any; /** [Config Option] (String) */ @@ -3439,7 +3264,7 @@ declare module Ext.chart { /** [Config Option] (String) */ lengthField?: string; /** [Config Option] (Boolean) */ - showInLegend?: bool; + showInLegend?: boolean; /** [Config Option] (Object) */ style?: any; /** [Config Option] (String) */ @@ -3477,7 +3302,7 @@ declare module Ext.chart { /** [Config Option] (String) */ lengthField?: string; /** [Config Option] (Boolean) */ - showInLegend?: bool; + showInLegend?: boolean; /** [Config Option] (Object) */ style?: any; /** [Config Option] (String) */ @@ -3505,9 +3330,9 @@ declare module Ext.chart.series { /** [Config Option] (Object) */ markerConfig?: any; /** [Config Option] (Boolean) */ - showInLegend?: bool; + showInLegend?: boolean; /** [Config Option] (Boolean) */ - showMarkers?: bool; + showMarkers?: boolean; /** [Config Option] (Object) */ style?: any; /** [Config Option] (String) */ @@ -3543,7 +3368,7 @@ declare module Ext.chart.series { /** [Config Option] (Array) */ shadowAttributes?: any[]; /** [Config Option] (Boolean) */ - showInLegend?: bool; + showInLegend?: boolean; /** [Config Option] (Object) */ tips?: any; /** [Config Option] (String) */ @@ -3590,12 +3415,12 @@ declare module Ext.chart.series { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] For a given x y point relative to the Surface find a corresponding item from this series if any * @param x Number * @param y Number @@ -3610,7 +3435,7 @@ declare module Ext.chart.series { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Hides all the elements in the series */ hideAll?(): void; /** [Method] Highlight the given series item @@ -3663,7 +3488,7 @@ declare module Ext.chart.series { * @param animate Boolean A boolean value to set or unset animations for the labels. * @param index Number The series index. */ - onPlaceLabel?( label?:Ext.draw.ISprite, storeItem?:Ext.data.IModel, item?:any, i?:number, display?:string, animate?:bool, index?:number ): void; + onPlaceLabel?( label?:Ext.draw.ISprite, storeItem?:Ext.data.IModel, item?:any, i?:number, display?:string, animate?:boolean, index?:number ): void; /** [Method] Relays selected events from the specified Observable as if the events were fired by this * @param origin Object The Observable whose events this object is to relay. * @param events String[] Array of event names to relay. @@ -3705,7 +3530,7 @@ declare module Ext.chart.series { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -3745,29 +3570,6 @@ declare module Ext.chart { static initConfig( config?:any ): Ext.IBase; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.chart.theme { @@ -3803,7 +3605,7 @@ declare module Ext { /** [Config Option] (String[]) */ requires?: string[]; /** [Config Option] (Boolean) */ - singleton?: bool; + singleton?: boolean; /** [Config Option] (Object) */ statics?: any; /** [Config Option] (String[]) */ @@ -3872,7 +3674,7 @@ declare module Ext { /** [Method] Checks if a class has already been created * @param className String */ - static isCreated( className?:string ): bool; + static isCreated( className?:string ): boolean; /** [Method] Sets a name reference to a class * @param name String * @param value Object @@ -3895,7 +3697,7 @@ declare module Ext { declare module Ext { export interface IComponent extends Ext.IAbstractComponent,Ext.util.IFloating { /** [Config Option] (Boolean) */ - autoScroll?: bool; + autoScroll?: boolean; /** [Config Option] (Number/String) */ columnWidth?: any; /** [Config Option] (Ext.util.Region/Ext.Element) */ @@ -3905,9 +3707,9 @@ declare module Ext { /** [Config Option] (String) */ defaultAlign?: string; /** [Config Option] (Boolean) */ - floating?: bool; + floating?: boolean; /** [Config Option] (Boolean) */ - formBind?: bool; + formBind?: boolean; /** [Config Option] (String) */ overflowX?: string; /** [Config Option] (String) */ @@ -3919,7 +3721,7 @@ declare module Ext { /** [Config Option] (String) */ resizeHandles?: string; /** [Config Option] (Boolean) */ - toFrontOnShow?: bool; + toFrontOnShow?: boolean; /** [Property] (Ext.Container) */ floatParent?: Ext.IContainer; /** [Property] (Object) */ @@ -3993,8 +3795,8 @@ declare module Ext { * @param scope Function Only needed if the delay parameter is used. The scope (this reference) in which to execute the callback. */ focus?( selectText?:any, delay?:any, callback?:any, scope?:any ): any; - focus?( selectText?:bool, delay?:bool, callback?:any, scope?:any ): Ext.IComponent; - focus?( selectText?:bool, delay?:number, callback?:any, scope?:any ): Ext.IComponent; + focus?( selectText?:boolean, delay?:boolean, callback?:any, scope?:any ): Ext.IComponent; + focus?( selectText?:boolean, delay?:number, callback?:any, scope?:any ): Ext.IComponent; /** [Method] Retrieves the top level element representing this component */ getEl?(): Ext.dom.IElement; /** [Method] Retrieves the id of this component */ @@ -4002,7 +3804,7 @@ declare module Ext { /** [Method] Gets the current XY position of the component s underlying element * @param local Boolean If true the element's left and top are returned instead of page XY. */ - getPosition?( local?:bool ): number[]; + getPosition?( local?:boolean ): number[]; /** [Method] Gets the xtype for this component as registered with Ext ComponentManager */ getXType?(): string; /** [Method] Hides this Component setting it to invisible using the configured hideMode @@ -4052,11 +3854,11 @@ declare module Ext { * @param active Boolean True to activate the Component, false to deactivate it. * @param newActive Ext.Component The newly active Component which is taking over topmost zIndex position. */ - setActive?( active?:bool, newActive?:Ext.IComponent ): void; + setActive?( active?:boolean, newActive?:Ext.IComponent ): void; /** [Method] Sets the overflow on the content element of the component * @param scroll Boolean True to allow the Component to auto scroll. */ - setAutoScroll?( scroll?:bool ): Ext.IComponent; + setAutoScroll?( scroll?:boolean ): Ext.IComponent; /** [Method] This method changes the region config property for this border region * @param region String The new region value ("north", "south", "east" or "west"). */ @@ -4065,7 +3867,7 @@ declare module Ext { * @param load Boolean/Object/String True to show the default LoadMask, a config object that will be passed to the LoadMask constructor, or a message String to show. False to hide the current LoadMask. * @param targetEl Boolean True to mask the targetEl of this Component instead of the this.el. For example, setting this to true on a Panel will cause only the body to be masked. */ - setLoading?( load?:any, targetEl?:bool ): Ext.ILoadMask; + setLoading?( load?:any, targetEl?:boolean ): Ext.ILoadMask; /** [Method] Sets the overflow x y on the content element of the component * @param overflowX String The overflow-x value. * @param overflowY String The overflow-y value. @@ -4118,7 +3920,7 @@ declare module Ext { /** [Method] Brings this floating Component to the front of any other visible floating Components managed by the same ZIndexManag * @param preventFocus Boolean Specify true to prevent the Component from being focused. */ - toFront?( preventFocus?:bool ): Ext.IComponent; + toFront?( preventFocus?:boolean ): Ext.IComponent; /** [Method] Sets the current box measurements of the component s underlying element * @param box Object An object in the format {x, y, width, height} */ @@ -4130,7 +3932,7 @@ declare module Ext { /** [Config Option] (Boolean/Object) */ loadMask?: any; /** [Config Option] (Boolean) */ - scripts?: bool; + scripts?: boolean; /** [Config Option] (Ext.Component/String) */ target?: any; /** [Method] Set a Ext Component as the target of this loader @@ -4187,7 +3989,7 @@ declare module Ext { /** [Method] Checks if an item type is registered * @param type String The mnemonic string by which the class may be looked up */ - static isRegistered( type?:string ): bool; + static isRegistered( type?:string ): boolean; /** [Method] Registers a function that will be called when an item with the specified id is added to the manager * @param id String The item id * @param fn Function The callback function. Called with a single parameter, the item. @@ -4209,27 +4011,6 @@ declare module Ext { * @param item Object The item to unregister */ static unregister( item?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -4278,7 +4059,7 @@ declare module Ext { /** [Method] Checks if an item type is registered * @param type String The mnemonic string by which the class may be looked up */ - static isRegistered( type?:string ): bool; + static isRegistered( type?:string ): boolean; /** [Method] Registers a function that will be called when an item with the specified id is added to the manager * @param id String The item id * @param fn Function The callback function. Called with a single parameter, the item. @@ -4300,27 +4081,6 @@ declare module Ext { * @param item Object The item to unregister */ static unregister( item?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -4354,7 +4114,7 @@ declare module Ext { * @param component Ext.Component The Component to test * @param selector String The selector string to test against. */ - static is( component?:Ext.IComponent, selector?:string ): bool; + static is( component?:Ext.IComponent, selector?:string ): boolean; /** [Method] Returns an array of matched Components from within the passed root object * @param selector String The selector string to filter returned Components * @param root Ext.container.Container The Container within which to perform the query. If omitted, all Components within the document are included in the search. This parameter may also be an array of Components to filter according to the selector. @@ -4362,29 +4122,6 @@ declare module Ext { static query( selector?:string, root?:Ext.container.IContainer ): Ext.IComponent[]; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.container { @@ -4392,7 +4129,7 @@ declare module Ext.container { /** [Config Option] (String/Number) */ activeItem?: any; /** [Config Option] (Boolean) */ - autoDestroy?: bool; + autoDestroy?: boolean; /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (String[]) */ @@ -4402,7 +4139,7 @@ declare module Ext.container { /** [Config Option] (Object/Function) */ defaults?: any; /** [Config Option] (Boolean) */ - detachOnRemove?: bool; + detachOnRemove?: boolean; /** [Config Option] (Object/Object[]) */ items?: any; /** [Config Option] (Ext.enums.Layout/Object) */ @@ -4410,7 +4147,7 @@ declare module Ext.container { /** [Config Option] (Ext.XTemplate/String/String[]) */ renderTpl?: any; /** [Config Option] (Boolean) */ - suspendLayout?: bool; + suspendLayout?: boolean; /** [Method] Adds Component s to this Container * @param component Ext.Component[]|Object[]/Ext.Component.../Object... Either one or more Components to add or an Array of Components to add. See items for additional information. */ @@ -4441,7 +4178,7 @@ declare module Ext.container { * @param comp Ext.Component The Component to test. * @param deep Boolean Pass true to test for the Component being a descendant at any level. */ - contains?( comp?:Ext.IComponent, deep?:bool ): bool; + contains?( comp?:Ext.IComponent, deep?:boolean ): boolean; /** [Method] Inherit docs Disable all immediate children that was previously disabled Override disable because onDisable only gets */ disable?(): Ext.container.IAbstractContainer; /** [Method] Manually force this container s layout to be recalculated */ @@ -4495,7 +4232,7 @@ declare module Ext.container { * @param component Ext.Component * @param autoDestroy Boolean */ - onRemove?( component?:Ext.IComponent, autoDestroy?:bool ): void; + onRemove?( component?:Ext.IComponent, autoDestroy?:boolean ): void; /** [Method] Allows addition of behavior to the resize operation */ onResize?(): void; /** [Method] Retrieves all descendant components which match the passed selector @@ -4516,12 +4253,12 @@ declare module Ext.container { * @param autoDestroy Boolean True to automatically invoke the removed Component's Ext.Component.destroy function. Defaults to the value of this Container's autoDestroy config. */ remove?( component?:any, autoDestroy?:any ): any; - remove?( component?:Ext.IComponent, autoDestroy?:bool ): Ext.IComponent; - remove?( component?:string, autoDestroy?:bool ): Ext.IComponent; + remove?( component?:Ext.IComponent, autoDestroy?:boolean ): Ext.IComponent; + remove?( component?:string, autoDestroy?:boolean ): Ext.IComponent; /** [Method] Removes all components from this container * @param autoDestroy Boolean True to automatically invoke the removed Component's Ext.Component.destroy function. Defaults to the value of this Container's autoDestroy config. */ - removeAll?( autoDestroy?:bool ): Ext.IComponent[]; + removeAll?( autoDestroy?:boolean ): Ext.IComponent[]; } } declare module Ext.container { @@ -4535,7 +4272,7 @@ declare module Ext.container { /** [Config Option] (String) */ defaultType?: string; /** [Config Option] (Boolean) */ - frame?: bool; + frame?: boolean; /** [Config Option] (Ext.enums.Layout/Object) */ layout?: any; /** [Config Option] (String) */ @@ -4557,7 +4294,7 @@ declare module Ext { /** [Config Option] (String) */ defaultType?: string; /** [Config Option] (Boolean) */ - frame?: bool; + frame?: boolean; /** [Config Option] (Ext.enums.Layout/Object) */ layout?: any; /** [Config Option] (String) */ @@ -4577,9 +4314,9 @@ declare module Ext.container { * @param deep Boolean If true, returns the deepest descendant Component which contains the passed element. */ getChildByElement?( el?:any, deep?:any ): any; - getChildByElement?( el?:Ext.IElement, deep?:bool ): Ext.IComponent; - getChildByElement?( el?:HTMLElement, deep?:bool ): Ext.IComponent; - getChildByElement?( el?:string, deep?:bool ): Ext.IComponent; + getChildByElement?( el?:Ext.IElement, deep?:boolean ): Ext.IComponent; + getChildByElement?( el?:HTMLElement, deep?:boolean ): Ext.IComponent; + getChildByElement?( el?:string, deep?:boolean ): Ext.IComponent; } } declare module Ext { @@ -4591,9 +4328,9 @@ declare module Ext { * @param deep Boolean If true, returns the deepest descendant Component which contains the passed element. */ getChildByElement?( el?:any, deep?:any ): any; - getChildByElement?( el?:Ext.IElement, deep?:bool ): Ext.IComponent; - getChildByElement?( el?:HTMLElement, deep?:bool ): Ext.IComponent; - getChildByElement?( el?:string, deep?:bool ): Ext.IComponent; + getChildByElement?( el?:Ext.IElement, deep?:boolean ): Ext.IComponent; + getChildByElement?( el?:HTMLElement, deep?:boolean ): Ext.IComponent; + getChildByElement?( el?:string, deep?:boolean ): Ext.IComponent; } } declare module Ext.container { @@ -4615,7 +4352,7 @@ declare module Ext.container { * @param selector String A ComponentQuery selector string to filter the returned items. * @param beforeBody Boolean An optional flag to limit the set of items to only those before the body (true) or after the body (false). All components are returned by default. */ - getDockedItems?( selector?:string, beforeBody?:bool ): Ext.IComponent[]; + getDockedItems?( selector?:string, beforeBody?:boolean ): Ext.IComponent[]; /** [Method] Inserts docked item s to the panel at the indicated position * @param pos Number The index at which the Component will be inserted * @param component Object/Object[] The Component or array of components to add. The components must include a 'dock' paramater on each component to indicate where it should be docked ('top', 'right', 'bottom', 'left'). @@ -4633,7 +4370,7 @@ declare module Ext.container { * @param item Ext.Component The Component to remove. * @param autoDestroy Boolean Destroy the component after removal. */ - removeDocked?( item?:Ext.IComponent, autoDestroy?:bool ): void; + removeDocked?( item?:Ext.IComponent, autoDestroy?:boolean ): void; } } declare module Ext.container { @@ -4643,7 +4380,7 @@ declare module Ext.container { declare module Ext.container { export interface IViewport extends Ext.container.IContainer { /** [Property] (Boolean) */ - isViewport?: bool; + isViewport?: boolean; /** [Method] Template method called when this Component s DOM structure is created */ onRender?(): void; } @@ -4651,7 +4388,7 @@ declare module Ext.container { declare module Ext { export interface IViewport extends Ext.container.IContainer { /** [Property] (Boolean) */ - isViewport?: bool; + isViewport?: boolean; /** [Method] Template method called when this Component s DOM structure is created */ onRender?(): void; } @@ -4661,13 +4398,13 @@ declare module Ext.data { /** [Config Option] (Boolean/Object) */ autoLoad?: any; /** [Config Option] (Boolean) */ - autoSync?: bool; + autoSync?: boolean; /** [Config Option] (String) */ batchUpdateMode?: string; /** [Config Option] (Object[]) */ fields?: any[]; /** [Config Option] (Boolean) */ - filterOnLoad?: bool; + filterOnLoad?: boolean; /** [Config Option] (Object[]/Function[]) */ filters?: any; /** [Config Option] (String) */ @@ -4675,21 +4412,21 @@ declare module Ext.data { /** [Config Option] (String/Ext.data.proxy.Proxy/Object) */ proxy?: any; /** [Config Option] (Boolean) */ - remoteFilter?: bool; + remoteFilter?: boolean; /** [Config Option] (Boolean) */ - remoteSort?: bool; + remoteSort?: boolean; /** [Config Option] (Boolean) */ - sortOnLoad?: bool; + sortOnLoad?: boolean; /** [Config Option] (Boolean) */ - statefulFilters?: bool; + statefulFilters?: boolean; /** [Config Option] (String) */ storeId?: string; /** [Property] (String) */ defaultProxyType?: string; /** [Property] (Boolean) */ - isDestroyed?: bool; + isDestroyed?: boolean; /** [Property] (Boolean) */ - isStore?: bool; + isStore?: boolean; /** [Property] (Ext.data.Model[]) */ removed?: Ext.data.IModel[]; /** [Method] Adds the specified events to the list of events which this Observable may fire @@ -4727,12 +4464,12 @@ declare module Ext.data { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Returns a comparator function which compares two items and returns 1 0 or 1 depending on the currently defined set */ generateComparator?(): void; /** [Method] Gets the first sorter from the sorters collection excluding any groupers that may be in place */ @@ -4750,11 +4487,11 @@ declare module Ext.data { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Performs initialization of this mixin */ initSortable?(): void; /** [Method] Returns true if the Store is currently performing a load operation */ - isLoading?(): bool; + isLoading?(): boolean; /** [Method] Loads the Store using its configured proxy * @param options Object config object. This is passed into the Operation object that is created and then sent to the proxy's Ext.data.proxy.Proxy.read function */ @@ -4842,7 +4579,7 @@ declare module Ext.data { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Synchronizes the store with its proxy * @param options Object Object containing one or more properties supported by the sync method (these get passed along to the underlying proxy's batch method): */ @@ -4853,10 +4590,33 @@ declare module Ext.data { * @param scope Object The scope originally specified for the handler. It must be the same as the scope argument specified in the original call to Ext.util.Observable.addListener or the listener will not be removed. */ un?( eventName?:string, fn?:any, scope?:any ): void; + } + export class AbstractStore { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; /** [Method] Creates a store from config object * @param store Object/Ext.data.AbstractStore A config for the store to be created. It may contain a type field which defines the particular type of store to create. Alteratively passing an actual store to this method will just return it, no changes made. */ - create?( store?:any ): Ext.data.IAbstractStore; + static create( store?:any ): Ext.data.IAbstractStore; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Adds members to class */ + static implement(): void; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext.data { @@ -4939,7 +4699,7 @@ declare module Ext.data { declare module Ext.data.association { export interface IHasMany extends Ext.data.association.IAssociation { /** [Config Option] (Boolean) */ - autoLoad?: bool; + autoLoad?: boolean; /** [Config Option] (String) */ filterProperty?: string; /** [Config Option] (String) */ @@ -4955,7 +4715,7 @@ declare module Ext.data.association { declare module Ext.data { export interface IHasManyAssociation extends Ext.data.association.IAssociation { /** [Config Option] (Boolean) */ - autoLoad?: bool; + autoLoad?: boolean; /** [Config Option] (String) */ filterProperty?: string; /** [Config Option] (String) */ @@ -4995,19 +4755,19 @@ declare module Ext.data { declare module Ext.data { export interface IBatch extends Ext.IBase,Ext.util.IObservable { /** [Config Option] (Boolean) */ - autoStart?: bool; + autoStart?: boolean; /** [Config Option] (Boolean) */ - pauseOnException?: bool; + pauseOnException?: boolean; /** [Property] (Number) */ current?: number; /** [Property] (Ext.data.Operation[]) */ exceptions?: Ext.data.IOperation[]; /** [Property] (Boolean) */ - hasException?: bool; + hasException?: boolean; /** [Property] (Boolean) */ - isComplete?: bool; + isComplete?: boolean; /** [Property] (Boolean) */ - isRunning?: bool; + isRunning?: boolean; /** [Property] (Ext.data.Operation[]) */ operations?: Ext.data.IOperation[]; /** [Property] (Number) */ @@ -5051,16 +4811,16 @@ declare module Ext.data { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -5133,7 +4893,7 @@ declare module Ext.data { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -5145,23 +4905,23 @@ declare module Ext.data { declare module Ext.data { export interface IBufferStore extends Ext.data.IStore { /** [Config Option] (Boolean) */ - filterOnLoad?: bool; + filterOnLoad?: boolean; /** [Config Option] (Boolean) */ - sortOnLoad?: bool; + sortOnLoad?: boolean; } } declare module Ext.data { export interface IConnection extends Ext.IBase,Ext.util.IObservable { /** [Config Option] (Boolean) */ - autoAbort?: bool; + autoAbort?: boolean; /** [Config Option] (Boolean) */ - binary?: bool; + binary?: boolean; /** [Config Option] (Boolean) */ - cors?: bool; + cors?: boolean; /** [Config Option] (Object) */ defaultHeaders?: any; /** [Config Option] (Boolean) */ - disableCaching?: bool; + disableCaching?: boolean; /** [Config Option] (String) */ disableCachingParam?: string; /** [Config Option] (Object) */ @@ -5171,7 +4931,7 @@ declare module Ext.data { /** [Config Option] (Number) */ timeout?: number; /** [Config Option] (Boolean) */ - withCredentials?: bool; + withCredentials?: boolean; /** [Method] Aborts an active request * @param request Object Defaults to the last request */ @@ -5213,20 +4973,20 @@ declare module Ext.data { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Determines whether this object has a request outstanding * @param request Object Defaults to the last transaction */ - isLoading?( request?:any ): bool; + isLoading?( request?:any ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -5300,7 +5060,7 @@ declare module Ext.data { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -5330,7 +5090,7 @@ declare module Ext.data { */ getByField?( fieldName?:string ): any[]; /** [Method] Returns true if there are no errors in the collection */ - isValid?(): bool; + isValid?(): boolean; } } declare module Ext.data { @@ -5350,7 +5110,7 @@ declare module Ext.data { /** [Config Option] (String) */ name?: string; /** [Config Option] (Boolean) */ - persist?: bool; + persist?: boolean; /** [Config Option] (Function) */ serialize?: any; /** [Config Option] (String) */ @@ -5360,7 +5120,7 @@ declare module Ext.data { /** [Config Option] (String/Object) */ type?: any; /** [Config Option] (Boolean) */ - useNull?: bool; + useNull?: boolean; } } declare module Ext.data.flash { @@ -5415,13 +5175,38 @@ declare module Ext.data { /** [Config Option] (String) */ id?: string; /** [Property] (Boolean) */ - isGenerator?: bool; + isGenerator?: boolean; /** [Method] Generates and returns the next id */ generate?(): string; + } + export class IdGenerator { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Returns the IdGenerator given its config description * @param config String/Object If this parameter is an IdGenerator instance, it is simply returned. If this is a string, it is first used as an id for lookup and then, if there is no match, as a type to create a new instance. This parameter can also be a config object that contains a type property (among others) that are used to create and configure the instance. */ - get?( config?:any ): void; + static get( config?:any ): void; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Adds members to class */ + static implement(): void; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext.data { @@ -5461,29 +5246,6 @@ declare module Ext.data { static request( options?:any ): any; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.data { @@ -5519,15 +5281,15 @@ declare module Ext.data { /** [Config Option] (Object[]) */ validations?: any[]; /** [Property] (Boolean) */ - dirty?: bool; + dirty?: boolean; /** [Property] (Boolean) */ - editing?: bool; + editing?: boolean; /** [Property] (Boolean) */ - isModel?: bool; + isModel?: boolean; /** [Property] (Object) */ modified?: any; /** [Property] (Boolean) */ - phantom?: bool; + phantom?: boolean; /** [Property] (Object) */ raw?: any; /** [Property] (Ext.data.Store) */ @@ -5573,7 +5335,7 @@ declare module Ext.data { * @param silent Boolean Pass true to skip notification of the owning store of the change. * @param modifiedFieldNames String[] Array of field names changed during sync with server if known. Omit or pass null if unknown. An empty array means that it is known that no fields were modified by the server's response. Defaults to false. */ - commit?( silent?:bool, modifiedFieldNames?:string[] ): void; + commit?( silent?:boolean, modifiedFieldNames?:string[] ): void; /** [Method] Creates a copy clone of this Model instance * @param id String A new id, defaults to the id of the instance being copied. See id. To generate a phantom instance with a new id use: var rec = record.copy(); // clone the record Ext.data.Model.id(rec); // automatically generate a unique sequential id */ @@ -5592,17 +5354,17 @@ declare module Ext.data { * @param silent Boolean True to not notify the store of the change * @param modifiedFieldNames String[] Array of field names changed during edit. */ - endEdit?( silent?:bool, modifiedFieldNames?:string[] ): void; + endEdit?( silent?:boolean, modifiedFieldNames?:string[] ): void; /** [Method] Fires the specified event with the passed parameters minus the event name plus the options object passed to addList * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the value of the given field * @param fieldName String The field to fetch the value for */ @@ -5614,7 +5376,7 @@ declare module Ext.data { /** [Method] Gets all values for each field in this model and returns an object containing the current data * @param includeAssociated Boolean True to also include associated data. Defaults to false. */ - getData?( includeAssociated?:bool ): any; + getData?( includeAssociated?:boolean ): any; /** [Method] Returns the unique ID allocated to this model instance as defined by idProperty */ getId?(): number; /** [Method] Returns the unique ID allocated to this model instance as defined by idProperty */ @@ -5624,13 +5386,13 @@ declare module Ext.data { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Returns true if the passed field name has been modified since the load or last commit * @param fieldName String Ext.data.Field.name */ - isModified?( fieldName?:string ): bool; + isModified?( fieldName?:string ): boolean; /** [Method] Checks if the model is valid */ - isValid?(): bool; + isValid?(): boolean; /** [Method] Tells this model instance that it has been added to a store * @param store Ext.data.Store The store to which this model has been added. */ @@ -5664,7 +5426,7 @@ declare module Ext.data { /** [Method] Usually called by the Ext data Store to which this model instance has been joined * @param silent Boolean True to skip notification of the owning store of the change. Defaults to false. */ - reject?( silent?:bool ): void; + reject?( silent?:boolean ): void; /** [Method] Relays selected events from the specified Observable as if the events were fired by this * @param origin Object The Observable whose events this object is to relay. * @param events String[] Array of event names to relay. @@ -5720,7 +5482,7 @@ declare module Ext.data { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -5733,25 +5495,56 @@ declare module Ext.data { unjoin?( store?:Ext.data.IStore ): void; /** [Method] Validates the current data against all of its configured validations */ validate?(): Ext.data.IErrors; + } + export class Model { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Returns an Array of Field definitions which define this Model s structure Fields are sorted upon Model class definit */ - getFields?(): Ext.data.IField[]; + static getFields(): Ext.data.IField[]; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Returns the configured Proxy for this Model */ + static getProxy(): Ext.data.proxy.IProxy; /** [Method] Generates a sequential id * @param rec Ext.data.Model The record being created. The record does not exist, it's a phantom. */ - id?( rec?:Ext.data.IModel ): string; + static id( rec?:Ext.data.IModel ): string; + /** [Method] Adds members to class */ + static implement(): void; /** [Method] Asynchronously loads a model instance by id * @param id Number/String The id of the model to load * @param config Object config object containing success, failure and callback functions, plus optional scope */ - load?( id?:any, config?:any ): any; - load?( id?:number, config?:any ): void; - load?( id?:string, config?:any ): void; + static load( id?:any, config?:any ): any; + static load( id?:number, config?:any ): void; + static load( id?:string, config?:any ): void; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; /** [Method] Apply a new set of field and or property definitions to the existing model * @param fields Object * @param idProperty Object * @param clientIdProperty Object */ - setFields?( fields?:any, idProperty?:any, clientIdProperty?:any ): void; + static setFields( fields?:any, idProperty?:any, clientIdProperty?:any ): void; + /** [Method] Sets the Proxy to use for this model + * @param proxy String/Object/Ext.data.proxy.Proxy The proxy + */ + static setProxy( proxy?:any ): Ext.data.proxy.IProxy; } } declare module Ext.data { @@ -5779,15 +5572,15 @@ declare module Ext.data { /** [Config Option] (Object[]) */ validations?: any[]; /** [Property] (Boolean) */ - dirty?: bool; + dirty?: boolean; /** [Property] (Boolean) */ - editing?: bool; + editing?: boolean; /** [Property] (Boolean) */ - isModel?: bool; + isModel?: boolean; /** [Property] (Object) */ modified?: any; /** [Property] (Boolean) */ - phantom?: bool; + phantom?: boolean; /** [Property] (Object) */ raw?: any; /** [Property] (Ext.data.Store) */ @@ -5833,7 +5626,7 @@ declare module Ext.data { * @param silent Boolean Pass true to skip notification of the owning store of the change. * @param modifiedFieldNames String[] Array of field names changed during sync with server if known. Omit or pass null if unknown. An empty array means that it is known that no fields were modified by the server's response. Defaults to false. */ - commit?( silent?:bool, modifiedFieldNames?:string[] ): void; + commit?( silent?:boolean, modifiedFieldNames?:string[] ): void; /** [Method] Creates a copy clone of this Model instance * @param id String A new id, defaults to the id of the instance being copied. See id. To generate a phantom instance with a new id use: var rec = record.copy(); // clone the record Ext.data.Model.id(rec); // automatically generate a unique sequential id */ @@ -5852,17 +5645,17 @@ declare module Ext.data { * @param silent Boolean True to not notify the store of the change * @param modifiedFieldNames String[] Array of field names changed during edit. */ - endEdit?( silent?:bool, modifiedFieldNames?:string[] ): void; + endEdit?( silent?:boolean, modifiedFieldNames?:string[] ): void; /** [Method] Fires the specified event with the passed parameters minus the event name plus the options object passed to addList * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the value of the given field * @param fieldName String The field to fetch the value for */ @@ -5874,7 +5667,7 @@ declare module Ext.data { /** [Method] Gets all values for each field in this model and returns an object containing the current data * @param includeAssociated Boolean True to also include associated data. Defaults to false. */ - getData?( includeAssociated?:bool ): any; + getData?( includeAssociated?:boolean ): any; /** [Method] Returns the unique ID allocated to this model instance as defined by idProperty */ getId?(): number; /** [Method] Returns the unique ID allocated to this model instance as defined by idProperty */ @@ -5884,13 +5677,13 @@ declare module Ext.data { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Returns true if the passed field name has been modified since the load or last commit * @param fieldName String Ext.data.Field.name */ - isModified?( fieldName?:string ): bool; + isModified?( fieldName?:string ): boolean; /** [Method] Checks if the model is valid */ - isValid?(): bool; + isValid?(): boolean; /** [Method] Tells this model instance that it has been added to a store * @param store Ext.data.Store The store to which this model has been added. */ @@ -5924,7 +5717,7 @@ declare module Ext.data { /** [Method] Usually called by the Ext data Store to which this model instance has been joined * @param silent Boolean True to skip notification of the owning store of the change. Defaults to false. */ - reject?( silent?:bool ): void; + reject?( silent?:boolean ): void; /** [Method] Relays selected events from the specified Observable as if the events were fired by this * @param origin Object The Observable whose events this object is to relay. * @param events String[] Array of event names to relay. @@ -5980,7 +5773,7 @@ declare module Ext.data { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -5993,35 +5786,66 @@ declare module Ext.data { unjoin?( store?:Ext.data.IStore ): void; /** [Method] Validates the current data against all of its configured validations */ validate?(): Ext.data.IErrors; + } + export class Record { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Returns an Array of Field definitions which define this Model s structure Fields are sorted upon Model class definit */ - getFields?(): Ext.data.IField[]; + static getFields(): Ext.data.IField[]; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Returns the configured Proxy for this Model */ + static getProxy(): Ext.data.proxy.IProxy; /** [Method] Generates a sequential id * @param rec Ext.data.Model The record being created. The record does not exist, it's a phantom. */ - id?( rec?:Ext.data.IModel ): string; + static id( rec?:Ext.data.IModel ): string; + /** [Method] Adds members to class */ + static implement(): void; /** [Method] Asynchronously loads a model instance by id * @param id Number/String The id of the model to load * @param config Object config object containing success, failure and callback functions, plus optional scope */ - load?( id?:any, config?:any ): any; - load?( id?:number, config?:any ): void; - load?( id?:string, config?:any ): void; + static load( id?:any, config?:any ): any; + static load( id?:number, config?:any ): void; + static load( id?:string, config?:any ): void; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; /** [Method] Apply a new set of field and or property definitions to the existing model * @param fields Object * @param idProperty Object * @param clientIdProperty Object */ - setFields?( fields?:any, idProperty?:any, clientIdProperty?:any ): void; + static setFields( fields?:any, idProperty?:any, clientIdProperty?:any ): void; + /** [Method] Sets the Proxy to use for this model + * @param proxy String/Object/Ext.data.proxy.Proxy The proxy + */ + static setProxy( proxy?:any ): Ext.data.proxy.IProxy; } } declare module Ext.data { export interface INodeInterface extends Ext.IBase { /** [Config Option] (Boolean) */ - allowDrag?: bool; + allowDrag?: boolean; /** [Config Option] (Boolean) */ - allowDrop?: bool; + allowDrop?: boolean; /** [Config Option] (Boolean) */ - checked?: bool; + checked?: boolean; /** [Config Option] (Ext.data.NodeInterface[]) */ children?: Ext.data.INodeInterface[]; /** [Config Option] (String) */ @@ -6029,9 +5853,9 @@ declare module Ext.data { /** [Config Option] (Number) */ depth?: number; /** [Config Option] (Boolean) */ - expandable?: bool; + expandable?: boolean; /** [Config Option] (Boolean) */ - expanded?: bool; + expanded?: boolean; /** [Config Option] (String) */ href?: string; /** [Config Option] (String) */ @@ -6043,15 +5867,15 @@ declare module Ext.data { /** [Config Option] (Number) */ index?: number; /** [Config Option] (Boolean) */ - isFirst?: bool; + isFirst?: boolean; /** [Config Option] (Boolean) */ - isLast?: bool; + isLast?: boolean; /** [Config Option] (Boolean) */ - leaf?: bool; + leaf?: boolean; /** [Config Option] (Boolean) */ - loaded?: bool; + loaded?: boolean; /** [Config Option] (Boolean) */ - loading?: bool; + loading?: boolean; /** [Config Option] (String) */ parentId?: string; /** [Config Option] (Number) */ @@ -6061,7 +5885,7 @@ declare module Ext.data { /** [Config Option] (String) */ qtitle?: string; /** [Config Option] (Boolean) */ - root?: bool; + root?: boolean; /** [Config Option] (String) */ text?: string; /** [Property] (Ext.data.NodeInterface[]) */ @@ -6069,7 +5893,7 @@ declare module Ext.data { /** [Property] (Ext.data.NodeInterface) */ firstChild?: Ext.data.INodeInterface; /** [Property] (Boolean) */ - isNode?: bool; + isNode?: boolean; /** [Property] (Ext.data.NodeInterface) */ lastChild?: Ext.data.INodeInterface; /** [Property] (Ext.data.NodeInterface) */ @@ -6083,7 +5907,7 @@ declare module Ext.data { * @param suppressEvents Boolean True to suppress firering of events. * @param commit Boolean */ - appendChild?( node?:any, suppressEvents?:bool, commit?:bool ): Ext.data.INodeInterface; + appendChild?( node?:any, suppressEvents?:boolean, commit?:boolean ): Ext.data.INodeInterface; /** [Method] Bubbles up the tree from this node calling the specified function with each node * @param fn Function The function to call * @param scope Object The scope (this reference) in which the function is executed. Defaults to the current Node. @@ -6101,7 +5925,7 @@ declare module Ext.data { * @param callback Function The function to execute once the collapse completes * @param scope Object The scope to run the callback in */ - collapse?( recursive?:bool, callback?:any, scope?:any ): void; + collapse?( recursive?:boolean, callback?:any, scope?:any ): void; /** [Method] Collapse all the children of this node * @param recursive Function True to recursively collapse all the children * @param callback Function The function to execute once all the children are collapsed @@ -6111,12 +5935,12 @@ declare module Ext.data { /** [Method] Returns true if this node is an ancestor at any point of the passed node * @param node Ext.data.NodeInterface */ - contains?( node?:Ext.data.INodeInterface ): bool; + contains?( node?:Ext.data.INodeInterface ): boolean; /** [Method] Creates a copy clone of this Node * @param id String A new id, defaults to this Node's id. * @param deep Boolean True to recursively copy all child Nodes into the new Node. False to copy without child Nodes. */ - copy?( id?:string, deep?:bool ): Ext.data.INodeInterface; + copy?( id?:string, deep?:boolean ): Ext.data.INodeInterface; /** [Method] Ensures that the passed object is an instance of a Record with the NodeInterface applied * @param node Object */ @@ -6136,25 +5960,25 @@ declare module Ext.data { * @param callback Function The function to execute once the expand completes * @param scope Object The scope to run the callback in */ - expand?( recursive?:bool, callback?:any, scope?:any ): void; + expand?( recursive?:boolean, callback?:any, scope?:any ): void; /** [Method] Expand all the children of this node * @param recursive Boolean True to recursively expand all the children * @param callback Function The function to execute once all the children are expanded * @param scope Object The scope to run the callback in */ - expandChildren?( recursive?:bool, callback?:any, scope?:any ): void; + expandChildren?( recursive?:boolean, callback?:any, scope?:any ): void; /** [Method] Finds the first child that has the attribute with the specified value * @param attribute String The attribute name * @param value Object The value to search for * @param deep Boolean True to search through nodes deeper than the immediate children */ - findChild?( attribute?:string, value?:any, deep?:bool ): Ext.data.INodeInterface; + findChild?( attribute?:string, value?:any, deep?:boolean ): Ext.data.INodeInterface; /** [Method] Finds the first child by a custom function * @param fn Function A function which must return true if the passed Node is the required Node. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the Node being tested. * @param deep Boolean True to search through nodes deeper than the immediate children */ - findChildBy?( fn?:any, scope?:any, deep?:bool ): Ext.data.INodeInterface; + findChildBy?( fn?:any, scope?:any, deep?:boolean ): Ext.data.INodeInterface; /** [Method] Returns the child node at the specified index * @param index Number */ @@ -6169,7 +5993,7 @@ declare module Ext.data { */ getPath?( field?:string, separator?:string ): string; /** [Method] Returns true if this node has one or more child nodes else false */ - hasChildNodes?(): bool; + hasChildNodes?(): boolean; /** [Method] Returns the index of a child node * @param node Ext.data.NodeInterface */ @@ -6191,34 +6015,34 @@ declare module Ext.data { /** [Method] Returns true if the passed node is an ancestor at any point of this node * @param node Ext.data.NodeInterface */ - isAncestor?( node?:Ext.data.INodeInterface ): bool; + isAncestor?( node?:Ext.data.INodeInterface ): boolean; /** [Method] Returns true if this node has one or more child nodes or if the expandable node attribute is explicitly specified as */ - isExpandable?(): bool; + isExpandable?(): boolean; /** [Method] Returns true if this node is expaned */ - isExpanded?(): bool; + isExpanded?(): boolean; /** [Method] Returns true if this node is a leaf */ - isLeaf?(): bool; + isLeaf?(): boolean; /** [Method] Returns true if this node is loaded */ - isLoaded?(): bool; + isLoaded?(): boolean; /** [Method] Returns true if this node is loading */ - isLoading?(): bool; + isLoading?(): boolean; /** [Method] Returns true if this node is the root node */ - isRoot?(): bool; + isRoot?(): boolean; /** [Method] Returns true if this node is visible */ - isVisible?(): bool; + isVisible?(): boolean; /** [Method] Removes this node from its parent * @param destroy Boolean True to destroy the node upon removal. */ - remove?( destroy?:bool ): Ext.data.INodeInterface; + remove?( destroy?:boolean ): Ext.data.INodeInterface; /** [Method] Removes all child nodes from this node * @param destroy Boolean True to destroy the node upon removal. */ - removeAll?( destroy?:bool ): Ext.data.INodeInterface; + removeAll?( destroy?:boolean ): Ext.data.INodeInterface; /** [Method] Removes a child node from this node * @param node Ext.data.NodeInterface The node to remove * @param destroy Boolean True to destroy the node upon removal. */ - removeChild?( node?:Ext.data.INodeInterface, destroy?:bool ): Ext.data.INodeInterface; + removeChild?( node?:Ext.data.INodeInterface, destroy?:boolean ): Ext.data.INodeInterface; /** [Method] Replaces one child node in this node with another * @param newChild Ext.data.NodeInterface The replacement node * @param oldChild Ext.data.NodeInterface The node to replace @@ -6231,18 +6055,43 @@ declare module Ext.data { * @param recursive Boolean True to apply this sort recursively * @param suppressEvent Boolean True to not fire a sort event. */ - sort?( fn?:any, recursive?:bool, suppressEvent?:bool ): void; + sort?( fn?:any, recursive?:boolean, suppressEvent?:boolean ): void; /** [Method] Updates general data of this node like isFirst isLast depth * @param commit Boolean * @param info Object The info to update. May contain any of the following */ - updateInfo?( commit?:bool, info?:any ): void; + updateInfo?( commit?:boolean, info?:any ): void; + } + export class NodeInterface { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] This method allows you to decorate a Model s class to implement the NodeInterface * @param modelClass Ext.Class/Ext.data.Model The Model class or an instance of the Model class you want to decorate the prototype of. */ - decorate?( modelClass?:any ): any; - decorate?( modelClass?:Ext.IClass ): void; - decorate?( modelClass?:Ext.data.IModel ): void; + static decorate( modelClass?:any ): any; + static decorate( modelClass?:Ext.IClass ): void; + static decorate( modelClass?:Ext.data.IModel ): void; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Adds members to class */ + static implement(): void; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext.data { @@ -6250,15 +6099,15 @@ declare module Ext.data { /** [Config Option] (Ext.data.Model) */ node?: Ext.data.IModel; /** [Config Option] (Boolean) */ - recursive?: bool; + recursive?: boolean; /** [Config Option] (Boolean) */ - rootVisible?: bool; + rootVisible?: boolean; /** [Config Option] (Ext.data.TreeStore) */ treeStore?: Ext.data.ITreeStore; /** [Property] (Number) */ isExpandingOrCollapsing?: number; /** [Property] (Boolean) */ - isNodeStore?: bool; + isNodeStore?: boolean; /** [Method] NodeStores are never buffered or paged */ getTotalCount?(): number; } @@ -6286,13 +6135,13 @@ declare module Ext.data { /** [Config Option] (Number) */ start?: number; /** [Config Option] (Boolean) */ - synchronous?: bool; + synchronous?: boolean; /** [Property] (RegExp) */ actionCommitRecordsRe?: RegExp; /** [Property] (RegExp) */ actionSkipSyncRe?: RegExp; /** [Method] Checks whether this operation should cause writing to occur */ - allowWrite?(): bool; + allowWrite?(): boolean; /** [Method] This method is called to commit data to this instance s records given the records in the server response * @param serverRecords Ext.data.Model[] An array of Ext.data.Model objects returned by the server. */ @@ -6304,13 +6153,13 @@ declare module Ext.data { /** [Method] Returns the ResultSet object if set by the Proxy */ getResultSet?(): Ext.data.IResultSet; /** [Method] Returns true if this Operation encountered an exception see also getError */ - hasException?(): bool; + hasException?(): boolean; /** [Method] Returns true if the Operation has been completed */ - isComplete?(): bool; + isComplete?(): boolean; /** [Method] Returns true if the Operation has been started but has not yet completed */ - isRunning?(): bool; + isRunning?(): boolean; /** [Method] Returns true if the Operation has been started */ - isStarted?(): bool; + isStarted?(): boolean; /** [Method] Marks the Operation as completed */ setCompleted?(): void; /** [Method] Marks the Operation as having experienced an exception @@ -6322,7 +6171,7 @@ declare module Ext.data { /** [Method] Marks the Operation as successful */ setSuccessful?(): void; /** [Method] Returns true if the Operation has completed and was successful */ - wasSuccessful?(): bool; + wasSuccessful?(): boolean; } } declare module Ext.data { @@ -6344,13 +6193,13 @@ declare module Ext.data { /** [Method] Gets the number of items in the hash */ getCount?(): number; /** [Method] Remove an item from the hash */ - remove?(): bool; + remove?(): boolean; } } declare module Ext.data.proxy { export interface IAjax extends Ext.data.proxy.IServer { /** [Config Option] (Boolean) */ - binary?: bool; + binary?: boolean; /** [Config Option] (Object) */ headers?: any; /** [Property] (Object) */ @@ -6364,7 +6213,7 @@ declare module Ext.data.proxy { declare module Ext.data { export interface IHttpProxy extends Ext.data.proxy.IServer { /** [Config Option] (Boolean) */ - binary?: bool; + binary?: boolean; /** [Config Option] (Object) */ headers?: any; /** [Property] (Object) */ @@ -6378,7 +6227,7 @@ declare module Ext.data { declare module Ext.data { export interface IAjaxProxy extends Ext.data.proxy.IServer { /** [Config Option] (Boolean) */ - binary?: bool; + binary?: boolean; /** [Config Option] (Object) */ headers?: any; /** [Property] (Object) */ @@ -6392,7 +6241,7 @@ declare module Ext.data { declare module Ext.data.proxy { export interface IClient extends Ext.data.proxy.IProxy { /** [Property] (Boolean) */ - isSynchronous?: bool; + isSynchronous?: boolean; /** [Method] Abstract function that must be implemented by each ClientProxy subclass */ clear?(): void; } @@ -6400,7 +6249,7 @@ declare module Ext.data.proxy { declare module Ext.data { export interface IClientProxy extends Ext.data.proxy.IProxy { /** [Property] (Boolean) */ - isSynchronous?: bool; + isSynchronous?: boolean; /** [Method] Abstract function that must be implemented by each ClientProxy subclass */ clear?(): void; } @@ -6416,7 +6265,7 @@ declare module Ext.data.proxy { /** [Config Option] (String/String[]) */ paramOrder?: any; /** [Config Option] (Boolean) */ - paramsAsHash?: bool; + paramsAsHash?: boolean; /** [Method] inherit docs */ buildUrl?(): string; /** [Method] In ServerProxy subclasses the create read update and destroy methods all pass through to doRequest @@ -6438,7 +6287,7 @@ declare module Ext.data { /** [Config Option] (String/String[]) */ paramOrder?: any; /** [Config Option] (Boolean) */ - paramsAsHash?: bool; + paramsAsHash?: boolean; /** [Method] inherit docs */ buildUrl?(): string; /** [Method] In ServerProxy subclasses the create read update and destroy methods all pass through to doRequest @@ -6452,7 +6301,7 @@ declare module Ext.data { declare module Ext.data.proxy { export interface IJsonP extends Ext.data.proxy.IServer { /** [Config Option] (Boolean) */ - autoAppendParams?: bool; + autoAppendParams?: boolean; /** [Config Option] (String) */ callbackKey?: string; /** [Config Option] (String) */ @@ -6472,7 +6321,7 @@ declare module Ext.data.proxy { declare module Ext.data { export interface IScriptTagProxy extends Ext.data.proxy.IServer { /** [Config Option] (Boolean) */ - autoAppendParams?: bool; + autoAppendParams?: boolean; /** [Config Option] (String) */ callbackKey?: string; /** [Config Option] (String) */ @@ -6502,7 +6351,7 @@ declare module Ext.data.proxy { /** [Config Option] (Object) */ data?: any; /** [Config Option] (Boolean) */ - enablePaging?: bool; + enablePaging?: boolean; /** [Method] Abstract function that must be implemented by each ClientProxy subclass */ clear?(): void; /** [Method] Currently this is a hard coded method that simply commits any records and sets the operation to successful then call @@ -6536,7 +6385,7 @@ declare module Ext.data { /** [Config Option] (Object) */ data?: any; /** [Config Option] (Boolean) */ - enablePaging?: bool; + enablePaging?: boolean; /** [Method] Abstract function that must be implemented by each ClientProxy subclass */ clear?(): void; /** [Method] Currently this is a hard coded method that simply commits any records and sets the operation to successful then call @@ -6568,7 +6417,7 @@ declare module Ext.data { declare module Ext.data.proxy { export interface IProxy extends Ext.IBase,Ext.util.IObservable { /** [Config Option] (Boolean) */ - batchActions?: bool; + batchActions?: boolean; /** [Config Option] (String) */ batchOrder?: string; /** [Config Option] (String/Ext.data.Model) */ @@ -6578,9 +6427,9 @@ declare module Ext.data.proxy { /** [Config Option] (Object/String/Ext.data.writer.Writer) */ writer?: any; /** [Property] (Boolean) */ - isProxy?: bool; + isProxy?: boolean; /** [Property] (Boolean) */ - isSynchronous?: bool; + isSynchronous?: boolean; /** [Method] Adds the specified events to the list of events which this Observable may fire * @param eventNames Object/String... Either an object with event names as properties with a value of true. For example: this.addEvents({ storeloaded: true, storecleared: true }); Or any number of event names as separate parameters. For example: this.addEvents('storeloaded', 'storecleared'); */ @@ -6632,12 +6481,12 @@ declare module Ext.data.proxy { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the model attached to this Proxy */ getModel?(): Ext.data.IModel; /** [Method] Returns the reader currently attached to this proxy instance */ @@ -6647,7 +6496,7 @@ declare module Ext.data.proxy { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -6712,8 +6561,8 @@ declare module Ext.data.proxy { * @param setOnStore Boolean Sets the new model on the associated Store, if one is present */ setModel?( model?:any, setOnStore?:any ): any; - setModel?( model?:string, setOnStore?:bool ): void; - setModel?( model?:Ext.data.IModel, setOnStore?:bool ): void; + setModel?( model?:string, setOnStore?:boolean ): void; + setModel?( model?:Ext.data.IModel, setOnStore?:boolean ): void; /** [Method] Sets the Proxy s Reader by string config object or Reader instance * @param reader String/Object/Ext.data.reader.Reader The new Reader, which can be either a type string, a configuration object or an Ext.data.reader.Reader instance */ @@ -6729,7 +6578,7 @@ declare module Ext.data.proxy { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -6747,7 +6596,7 @@ declare module Ext.data.proxy { declare module Ext.data { export interface IDataProxy extends Ext.IBase,Ext.util.IObservable { /** [Config Option] (Boolean) */ - batchActions?: bool; + batchActions?: boolean; /** [Config Option] (String) */ batchOrder?: string; /** [Config Option] (String/Ext.data.Model) */ @@ -6757,9 +6606,9 @@ declare module Ext.data { /** [Config Option] (Object/String/Ext.data.writer.Writer) */ writer?: any; /** [Property] (Boolean) */ - isProxy?: bool; + isProxy?: boolean; /** [Property] (Boolean) */ - isSynchronous?: bool; + isSynchronous?: boolean; /** [Method] Adds the specified events to the list of events which this Observable may fire * @param eventNames Object/String... Either an object with event names as properties with a value of true. For example: this.addEvents({ storeloaded: true, storecleared: true }); Or any number of event names as separate parameters. For example: this.addEvents('storeloaded', 'storecleared'); */ @@ -6811,12 +6660,12 @@ declare module Ext.data { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the model attached to this Proxy */ getModel?(): Ext.data.IModel; /** [Method] Returns the reader currently attached to this proxy instance */ @@ -6826,7 +6675,7 @@ declare module Ext.data { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -6891,8 +6740,8 @@ declare module Ext.data { * @param setOnStore Boolean Sets the new model on the associated Store, if one is present */ setModel?( model?:any, setOnStore?:any ): any; - setModel?( model?:string, setOnStore?:bool ): void; - setModel?( model?:Ext.data.IModel, setOnStore?:bool ): void; + setModel?( model?:string, setOnStore?:boolean ): void; + setModel?( model?:Ext.data.IModel, setOnStore?:boolean ): void; /** [Method] Sets the Proxy s Reader by string config object or Reader instance * @param reader String/Object/Ext.data.reader.Reader The new Reader, which can be either a type string, a configuration object or an Ext.data.reader.Reader instance */ @@ -6908,7 +6757,7 @@ declare module Ext.data { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -6926,7 +6775,7 @@ declare module Ext.data { declare module Ext.data { export interface IProxy extends Ext.IBase,Ext.util.IObservable { /** [Config Option] (Boolean) */ - batchActions?: bool; + batchActions?: boolean; /** [Config Option] (String) */ batchOrder?: string; /** [Config Option] (String/Ext.data.Model) */ @@ -6936,9 +6785,9 @@ declare module Ext.data { /** [Config Option] (Object/String/Ext.data.writer.Writer) */ writer?: any; /** [Property] (Boolean) */ - isProxy?: bool; + isProxy?: boolean; /** [Property] (Boolean) */ - isSynchronous?: bool; + isSynchronous?: boolean; /** [Method] Adds the specified events to the list of events which this Observable may fire * @param eventNames Object/String... Either an object with event names as properties with a value of true. For example: this.addEvents({ storeloaded: true, storecleared: true }); Or any number of event names as separate parameters. For example: this.addEvents('storeloaded', 'storecleared'); */ @@ -6990,12 +6839,12 @@ declare module Ext.data { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the model attached to this Proxy */ getModel?(): Ext.data.IModel; /** [Method] Returns the reader currently attached to this proxy instance */ @@ -7005,7 +6854,7 @@ declare module Ext.data { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -7070,8 +6919,8 @@ declare module Ext.data { * @param setOnStore Boolean Sets the new model on the associated Store, if one is present */ setModel?( model?:any, setOnStore?:any ): any; - setModel?( model?:string, setOnStore?:bool ): void; - setModel?( model?:Ext.data.IModel, setOnStore?:bool ): void; + setModel?( model?:string, setOnStore?:boolean ): void; + setModel?( model?:Ext.data.IModel, setOnStore?:boolean ): void; /** [Method] Sets the Proxy s Reader by string config object or Reader instance * @param reader String/Object/Ext.data.reader.Reader The new Reader, which can be either a type string, a configuration object or an Ext.data.reader.Reader instance */ @@ -7087,7 +6936,7 @@ declare module Ext.data { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -7105,9 +6954,9 @@ declare module Ext.data { declare module Ext.data.proxy { export interface IRest extends Ext.data.proxy.IAjax { /** [Config Option] (Boolean) */ - appendId?: bool; + appendId?: boolean; /** [Config Option] (Boolean) */ - batchActions?: bool; + batchActions?: boolean; /** [Config Option] (String) */ format?: string; /** [Property] (Object) */ @@ -7121,9 +6970,9 @@ declare module Ext.data.proxy { declare module Ext.data { export interface IRestProxy extends Ext.data.proxy.IAjax { /** [Config Option] (Boolean) */ - appendId?: bool; + appendId?: boolean; /** [Config Option] (Boolean) */ - batchActions?: bool; + batchActions?: boolean; /** [Config Option] (String) */ format?: string; /** [Property] (Object) */ @@ -7155,13 +7004,13 @@ declare module Ext.data.proxy { /** [Config Option] (String) */ limitParam?: string; /** [Config Option] (Boolean) */ - noCache?: bool; + noCache?: boolean; /** [Config Option] (String) */ pageParam?: string; /** [Config Option] (Boolean) */ - simpleGroupMode?: bool; + simpleGroupMode?: boolean; /** [Config Option] (Boolean) */ - simpleSortMode?: bool; + simpleSortMode?: boolean; /** [Config Option] (String) */ sortParam?: string; /** [Config Option] (String) */ @@ -7174,7 +7023,7 @@ declare module Ext.data.proxy { * @param request Ext.data.Request The Request object * @param success Boolean True if the request was successful */ - afterRequest?( request?:Ext.data.IRequest, success?:bool ): void; + afterRequest?( request?:Ext.data.IRequest, success?:boolean ): void; /** [Method] Creates an Request object from Operation * @param operation Ext.data.Operation The operation to execute */ @@ -7233,13 +7082,13 @@ declare module Ext.data { /** [Config Option] (String) */ limitParam?: string; /** [Config Option] (Boolean) */ - noCache?: bool; + noCache?: boolean; /** [Config Option] (String) */ pageParam?: string; /** [Config Option] (Boolean) */ - simpleGroupMode?: bool; + simpleGroupMode?: boolean; /** [Config Option] (Boolean) */ - simpleSortMode?: bool; + simpleSortMode?: boolean; /** [Config Option] (String) */ sortParam?: string; /** [Config Option] (String) */ @@ -7252,7 +7101,7 @@ declare module Ext.data { * @param request Ext.data.Request The Request object * @param success Boolean True if the request was successful */ - afterRequest?( request?:Ext.data.IRequest, success?:bool ): void; + afterRequest?( request?:Ext.data.IRequest, success?:boolean ): void; /** [Method] Creates an Request object from Operation * @param operation Ext.data.Operation The operation to execute */ @@ -7401,7 +7250,7 @@ declare module Ext.data.reader { /** [Config Option] (String) */ root?: string; /** [Config Option] (Boolean) */ - useSimpleAccessors?: bool; + useSimpleAccessors?: boolean; /** [Property] (Object) */ jsonData?: any; /** [Method] inherit docs @@ -7423,7 +7272,7 @@ declare module Ext.data { /** [Config Option] (String) */ root?: string; /** [Config Option] (Boolean) */ - useSimpleAccessors?: bool; + useSimpleAccessors?: boolean; /** [Property] (Object) */ jsonData?: any; /** [Method] inherit docs @@ -7441,11 +7290,11 @@ declare module Ext.data.reader { /** [Config Option] (String) */ idProperty?: string; /** [Config Option] (Boolean) */ - implicitIncludes?: bool; + implicitIncludes?: boolean; /** [Config Option] (String) */ messageProperty?: string; /** [Config Option] (Boolean) */ - readRecordsOnFailure?: bool; + readRecordsOnFailure?: boolean; /** [Config Option] (String) */ root?: string; /** [Config Option] (String) */ @@ -7491,12 +7340,12 @@ declare module Ext.data.reader { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Takes a raw response object as passed to the read method and returns the useful data segment from it * @param response Object The response object */ @@ -7504,7 +7353,7 @@ declare module Ext.data.reader { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -7573,7 +7422,7 @@ declare module Ext.data.reader { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -7587,11 +7436,11 @@ declare module Ext.data { /** [Config Option] (String) */ idProperty?: string; /** [Config Option] (Boolean) */ - implicitIncludes?: bool; + implicitIncludes?: boolean; /** [Config Option] (String) */ messageProperty?: string; /** [Config Option] (Boolean) */ - readRecordsOnFailure?: bool; + readRecordsOnFailure?: boolean; /** [Config Option] (String) */ root?: string; /** [Config Option] (String) */ @@ -7637,12 +7486,12 @@ declare module Ext.data { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Takes a raw response object as passed to the read method and returns the useful data segment from it * @param response Object The response object */ @@ -7650,7 +7499,7 @@ declare module Ext.data { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -7719,7 +7568,7 @@ declare module Ext.data { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -7733,11 +7582,11 @@ declare module Ext.data { /** [Config Option] (String) */ idProperty?: string; /** [Config Option] (Boolean) */ - implicitIncludes?: bool; + implicitIncludes?: boolean; /** [Config Option] (String) */ messageProperty?: string; /** [Config Option] (Boolean) */ - readRecordsOnFailure?: bool; + readRecordsOnFailure?: boolean; /** [Config Option] (String) */ root?: string; /** [Config Option] (String) */ @@ -7783,12 +7632,12 @@ declare module Ext.data { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Takes a raw response object as passed to the read method and returns the useful data segment from it * @param response Object The response object */ @@ -7796,7 +7645,7 @@ declare module Ext.data { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -7865,7 +7714,7 @@ declare module Ext.data { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -7935,11 +7784,11 @@ declare module Ext.data { /** [Config Option] (Number) */ count?: number; /** [Config Option] (Boolean) */ - loaded?: bool; + loaded?: boolean; /** [Config Option] (Ext.data.Model[]) */ records?: Ext.data.IModel[]; /** [Config Option] (Boolean) */ - success?: bool; + success?: boolean; /** [Config Option] (Number) */ total?: number; /** [Property] (Number) */ @@ -8013,41 +7862,18 @@ declare module Ext.data { static none( s?:any ): any; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.data { export interface IStore extends Ext.data.IAbstractStore { /** [Config Option] (Boolean) */ - autoDestroy?: bool; + autoDestroy?: boolean; /** [Config Option] (Boolean) */ - buffered?: bool; + buffered?: boolean; /** [Config Option] (Boolean) */ - clearOnPageLoad?: bool; + clearOnPageLoad?: boolean; /** [Config Option] (Boolean) */ - clearRemovedOnLoad?: bool; + clearRemovedOnLoad?: boolean; /** [Config Option] (Object[]/Ext.data.Model[]) */ data?: any; /** [Config Option] (String) */ @@ -8065,13 +7891,13 @@ declare module Ext.data { /** [Config Option] (Number) */ purgePageCount?: number; /** [Config Option] (Boolean) */ - remoteFilter?: bool; + remoteFilter?: boolean; /** [Config Option] (Boolean) */ - remoteGroup?: bool; + remoteGroup?: boolean; /** [Config Option] (Boolean) */ - remoteSort?: bool; + remoteSort?: boolean; /** [Config Option] (Boolean) */ - sortOnFilter?: bool; + sortOnFilter?: boolean; /** [Config Option] (Number) */ trailingBufferZone?: number; /** [Property] (Number) */ @@ -8086,7 +7912,7 @@ declare module Ext.data { * @param filters Object[]/Ext.util.Filter[] The set of filters to add to the current filter set. * @param applyFilters Boolean Pass as false to add the filter but not apply the updated filter set. */ - addFilter?( filters?:any, applyFilters?:bool ): void; + addFilter?( filters?:any, applyFilters?:boolean ): void; /** [Method] Local sort only Inserts the passed Record into the Store at the index where it should go based on the current sort * @param record Ext.data.Record */ @@ -8097,16 +7923,16 @@ declare module Ext.data { * @param grouped Boolean True to perform the operation for each group in the store. The value returned will be an object literal with the key being the group name and the group average being the value. The grouped parameter is only honored if the store has a groupField. * @param args Array Any arguments to append to the function call */ - aggregate?( fn?:any, scope?:any, grouped?:bool, args?:any[] ): any; + aggregate?( fn?:any, scope?:any, grouped?:boolean, args?:any[] ): any; /** [Method] Gets the average value in the store * @param field String The field in each record * @param grouped Boolean True to perform the operation for each group in the store. The value returned will be an object literal with the key being the group name and the group average being the value. The grouped parameter is only honored if the store has a groupField. */ - average?( field?:string, grouped?:bool ): any; + average?( field?:string, grouped?:boolean ): any; /** [Method] Reverts to a view of the Record cache with no filtering applied * @param suppressEvent Boolean If true the filter is cleared silently. For a locally filtered Store, this means that the filter collection is cleared without firing the datachanged event. For a remotely filtered Store, this means that the filter collection is cleared, but the store is not reloaded from the server. */ - clearFilter?( suppressEvent?:bool ): void; + clearFilter?( suppressEvent?:boolean ): void; /** [Method] Clear any groupers in the store */ clearGrouping?(): void; /** [Method] Collects unique values for a particular dataIndex from this store @@ -8114,13 +7940,13 @@ declare module Ext.data { * @param allowNull Boolean Pass true to allow null, undefined or empty string values * @param bypassFilter Boolean Pass true to collect from all records, even ones which are filtered. */ - collect?( dataIndex?:string, allowNull?:bool, bypassFilter?:bool ): any[]; + collect?( dataIndex?:string, allowNull?:boolean, bypassFilter?:boolean ): any[]; /** [Method] Commits all Records with outstanding changes */ commitChanges?(): void; /** [Method] Gets the count of items in the store * @param grouped Boolean True to perform the operation for each group in the store. The value returned will be an object literal with the key being the group name and the count for each group being the value. The grouped parameter is only honored if the store has a groupField. */ - count?( grouped?:bool ): number; + count?( grouped?:boolean ): number; /** [Method] Calls the specified function for each record in the store * @param fn Function The function to call. The Record is passed as the first parameter. Returning false aborts and exits the iteration. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the current record in the iteration. @@ -8145,8 +7971,8 @@ declare module Ext.data { * @param exactMatch Boolean True to force exact match (^ and $ characters added to the regex). */ find?( fieldName?:any, value?:any, startIndex?:any, anyMatch?:any, caseSensitive?:any, exactMatch?:any ): any; - find?( fieldName?:string, value?:string, startIndex?:number, anyMatch?:bool, caseSensitive?:bool, exactMatch?:bool ): number; - find?( fieldName?:string, value?:RegExp, startIndex?:number, anyMatch?:bool, caseSensitive?:bool, exactMatch?:bool ): number; + find?( fieldName?:string, value?:string, startIndex?:number, anyMatch?:boolean, caseSensitive?:boolean, exactMatch?:boolean ): number; + find?( fieldName?:string, value?:RegExp, startIndex?:number, anyMatch?:boolean, caseSensitive?:boolean, exactMatch?:boolean ): number; /** [Method] Find the index of the first matching Record in this Store by a function * @param fn Function The function to be called. It will be passed the following parameters: * @param scope Object The scope (this reference) in which the function is executed. Defaults to this Store. @@ -8168,16 +7994,16 @@ declare module Ext.data { * @param exactMatch Boolean True to force exact match (^ and $ characters added to the regex). */ findRecord?( fieldName?:any, value?:any, startIndex?:any, anyMatch?:any, caseSensitive?:any, exactMatch?:any ): any; - findRecord?( fieldName?:string, value?:string, startIndex?:number, anyMatch?:bool, caseSensitive?:bool, exactMatch?:bool ): Ext.data.IModel; - findRecord?( fieldName?:string, value?:RegExp, startIndex?:number, anyMatch?:bool, caseSensitive?:bool, exactMatch?:bool ): Ext.data.IModel; + findRecord?( fieldName?:string, value?:string, startIndex?:number, anyMatch?:boolean, caseSensitive?:boolean, exactMatch?:boolean ): Ext.data.IModel; + findRecord?( fieldName?:string, value?:RegExp, startIndex?:number, anyMatch?:boolean, caseSensitive?:boolean, exactMatch?:boolean ): Ext.data.IModel; /** [Method] Convenience function for getting the first model instance in the store * @param grouped Boolean True to perform the operation for each group in the store. The value returned will be an object literal with the key being the group name and the first record being the value. The grouped parameter is only honored if the store has a groupField. */ - first?( grouped?:bool ): Ext.data.IModel; + first?( grouped?:boolean ): Ext.data.IModel; /** [Method] Convenience function for getting the first model instance in the store * @param grouped Boolean True to perform the operation for each group in the store. The value returned will be an object literal with the key being the group name and the first record being the value. The grouped parameter is only honored if the store has a groupField. */ - first?( grouped?:bool ): void; + first?( grouped?:boolean ): void; /** [Method] Get the Record at the specified index * @param index Number The index of the Record to find. */ @@ -8243,17 +8069,17 @@ declare module Ext.data { */ insert?( index?:number, records?:Ext.data.IModel[] ): Ext.data.IModel[]; /** [Method] Returns true if this store is currently filtered */ - isFiltered?(): bool; + isFiltered?(): boolean; /** [Method] Checks if the store is currently grouped */ - isGrouped?(): bool; + isGrouped?(): boolean; /** [Method] Convenience function for getting the last model instance in the store * @param grouped Boolean True to perform the operation for each group in the store. The value returned will be an object literal with the key being the group name and the last record being the value. The grouped parameter is only honored if the store has a groupField. */ - last?( grouped?:bool ): Ext.data.IModel; + last?( grouped?:boolean ): Ext.data.IModel; /** [Method] Convenience function for getting the last model instance in the store * @param grouped Boolean True to perform the operation for each group in the store. The value returned will be an object literal with the key being the group name and the last record being the value. The grouped parameter is only honored if the store has a groupField. */ - last?( grouped?:bool ): void; + last?( grouped?:boolean ): void; /** [Method] Loads data into the Store via the configured proxy * @param options Object/Function config object, passed into the Ext.data.Operation object before loading. Additionally addRecords: true can be specified to add these records to the existing records, default is to remove the Store's existing records first. */ @@ -8262,7 +8088,7 @@ declare module Ext.data { * @param data Ext.data.Model[]/Object[] Array of data to load. Any non-model instances will be cast into model instances first. * @param append Boolean true to add the records to the existing records in the store, false to remove the old ones first. */ - loadData?( data?:any, append?:bool ): void; + loadData?( data?:any, append?:boolean ): void; /** [Method] Loads a given page of data by setting the start and limit values appropriately * @param page Number The number of the page to load. * @param options Object See options for load. @@ -8272,7 +8098,7 @@ declare module Ext.data { * @param data Object[] The full JSON object you'd like to load into the Data store. * @param append Boolean true to add the records to the existing records in the store, false to remove the old ones first. */ - loadRawData?( data?:any[], append?:bool ): void; + loadRawData?( data?:any[], append?:boolean ): void; /** [Method] Loads an array of model instances into the store fires the datachanged event * @param records Ext.data.Model[] The array of records to load * @param options Object @@ -8282,12 +8108,12 @@ declare module Ext.data { * @param field String The field in each record * @param grouped Boolean True to perform the operation for each group in the store. The value returned will be an object literal with the key being the group name and the maximum in the group being the value. The grouped parameter is only honored if the store has a groupField. */ - max?( field?:string, grouped?:bool ): any; + max?( field?:string, grouped?:boolean ): any; /** [Method] Gets the minimum value in the store * @param field String The field in each record * @param grouped Boolean True to perform the operation for each group in the store. The value returned will be an object literal with the key being the group name and the minimum in the group being the value. The grouped parameter is only honored if the store has a groupField. */ - min?( field?:string, grouped?:bool ): any; + min?( field?:string, grouped?:boolean ): any; /** [Method] Loads the next page in the current data set * @param options Object See options for load */ @@ -8318,8 +8144,8 @@ declare module Ext.data { * @param exactMatch Boolean true to force exact match (^ and $ characters added to the regex). Ignored if anyMatch is true. */ query?( property?:any, value?:any, anyMatch?:any, caseSensitive?:any, exactMatch?:any ): any; - query?( property?:string, value?:string, anyMatch?:bool, caseSensitive?:bool, exactMatch?:bool ): Ext.util.IMixedCollection; - query?( property?:string, value?:RegExp, anyMatch?:bool, caseSensitive?:bool, exactMatch?:bool ): Ext.util.IMixedCollection; + query?( property?:string, value?:string, anyMatch?:boolean, caseSensitive?:boolean, exactMatch?:boolean ): Ext.util.IMixedCollection; + query?( property?:string, value?:RegExp, anyMatch?:boolean, caseSensitive?:boolean, exactMatch?:boolean ): Ext.util.IMixedCollection; /** [Method] Query all the cached records in this Store using a filtering function * @param fn Function The function to be called. It will be passed the following parameters: * @param scope Object The scope (this reference) in which the function is executed Defaults to this Store. @@ -8342,7 +8168,7 @@ declare module Ext.data { /** [Method] Removes all items from the store * @param silent Boolean Pass true to prevent the record bulkremove and clear events from being fired. */ - removeAll?( silent?:bool ): void; + removeAll?( silent?:boolean ): void; /** [Method] Removes the model instance s at the given index * @param index Number The record index * @param count Number The number of records to delete @@ -8352,14 +8178,14 @@ declare module Ext.data { * @param toRemove Mixed The id of a Filter to remove from the filter set, or a Filter instance to remove. * @param applyFilters Boolean Pass as false to remove the filter but not apply the updated filter set. If null is passed, all anonymous Filters (Filters with no id property) will be removed. */ - removeFilter?( toRemove?:any, applyFilters?:bool ): void; + removeFilter?( toRemove?:any, applyFilters?:boolean ): void; /** [Method] because prefetchData is stored by index this invalidates all of the prefetchedData */ sort?(): Ext.util.ISorter[]; /** [Method] Sums the value of field for each record in store and returns the result * @param field String A field in each record * @param grouped Boolean True to perform the operation for each group in the store. The value returned will be an object literal with the key being the group name and the sum for that group being the value. The grouped parameter is only honored if the store has a groupField. */ - sum?( field?:string, grouped?:bool ): number; + sum?( field?:string, grouped?:boolean ): number; } } declare module Ext.data { @@ -8424,15 +8250,15 @@ declare module Ext.data { * @param root String 'root' property to extract the first argument from. This is used mainly when summing fields in records, where the fields are all stored inside the 'data' object * @param allowBlank Boolean Pass true to allow null, undefined or empty string values */ - static collect( property?:string, root?:string, allowBlank?:bool ): any[]; + static collect( property?:string, root?:string, allowBlank?:boolean ): any[]; /** [Method] Returns true if the collection contains the passed Object as an item * @param o Object The Object to look for in the collection. */ - static contains( o?:any ): bool; + static contains( o?:any ): boolean; /** [Method] Returns true if the collection contains the passed Object as a key * @param key String The key to look for in the collection. */ - static containsKey( key?:string ): bool; + static containsKey( key?:string ): boolean; /** [Method] Executes the specified function once for every item in the collection * @param fn Function The function to execute for each item. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the current item in the iteration. @@ -8456,10 +8282,10 @@ declare module Ext.data { * @param caseSensitive Boolean True for case sensitive comparison. */ static filter( property?:any, value?:any, anyMatch?:any, caseSensitive?:any ): any; - static filter( property?:Ext.util.IFilter[], value?:string, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:string, value?:string, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:Ext.util.IFilter[], value?:RegExp, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:string, value?:RegExp, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; + static filter( property?:Ext.util.IFilter[], value?:string, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:string, value?:string, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:Ext.util.IFilter[], value?:RegExp, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:string, value?:RegExp, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; /** [Method] Filter by a function * @param fn Function The function to be called. * @param scope Object The scope (this reference) in which the function is executed. Defaults to this MixedCollection. @@ -8480,8 +8306,8 @@ declare module Ext.data { * @param caseSensitive Boolean True for case sensitive comparison. */ static findIndex( property?:any, value?:any, start?:any, anyMatch?:any, caseSensitive?:any ): any; - static findIndex( property?:string, value?:string, start?:number, anyMatch?:bool, caseSensitive?:bool ): number; - static findIndex( property?:string, value?:RegExp, start?:number, anyMatch?:bool, caseSensitive?:bool ): number; + static findIndex( property?:string, value?:string, start?:number, anyMatch?:boolean, caseSensitive?:boolean ): number; + static findIndex( property?:string, value?:RegExp, start?:number, anyMatch?:boolean, caseSensitive?:boolean ): number; /** [Method] Find the index of the first matching object in this collection by a function * @param fn Function The function to be called. * @param scope Object The scope (this reference) in which the function is executed. Defaults to this MixedCollection. @@ -8497,12 +8323,12 @@ declare module Ext.data { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - static fireEventArgs( eventName?:string, args?:any[] ): bool; + static fireEventArgs( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the first item in the collection */ static first(): any; /** [Method] Returns a comparator function which compares two items and returns 1 0 or 1 depending on the currently defined set */ @@ -8543,7 +8369,7 @@ declare module Ext.data { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Returns index within the collection of the passed Object * @param o Object The item to find the index of. */ @@ -8689,7 +8515,7 @@ declare module Ext.data { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - static suspendEvents( queueSuspended?:bool ): void; + static suspendEvents( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -8705,29 +8531,6 @@ declare module Ext.data { * @param newKey Object The new key */ static updateKey( oldKey?:any, newKey?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -8792,15 +8595,15 @@ declare module Ext { * @param root String 'root' property to extract the first argument from. This is used mainly when summing fields in records, where the fields are all stored inside the 'data' object * @param allowBlank Boolean Pass true to allow null, undefined or empty string values */ - static collect( property?:string, root?:string, allowBlank?:bool ): any[]; + static collect( property?:string, root?:string, allowBlank?:boolean ): any[]; /** [Method] Returns true if the collection contains the passed Object as an item * @param o Object The Object to look for in the collection. */ - static contains( o?:any ): bool; + static contains( o?:any ): boolean; /** [Method] Returns true if the collection contains the passed Object as a key * @param key String The key to look for in the collection. */ - static containsKey( key?:string ): bool; + static containsKey( key?:string ): boolean; /** [Method] Executes the specified function once for every item in the collection * @param fn Function The function to execute for each item. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the current item in the iteration. @@ -8824,10 +8627,10 @@ declare module Ext { * @param caseSensitive Boolean True for case sensitive comparison. */ static filter( property?:any, value?:any, anyMatch?:any, caseSensitive?:any ): any; - static filter( property?:Ext.util.IFilter[], value?:string, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:string, value?:string, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:Ext.util.IFilter[], value?:RegExp, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:string, value?:RegExp, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; + static filter( property?:Ext.util.IFilter[], value?:string, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:string, value?:string, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:Ext.util.IFilter[], value?:RegExp, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:string, value?:RegExp, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; /** [Method] Filter by a function * @param fn Function The function to be called. * @param scope Object The scope (this reference) in which the function is executed. Defaults to this MixedCollection. @@ -8848,8 +8651,8 @@ declare module Ext { * @param caseSensitive Boolean True for case sensitive comparison. */ static findIndex( property?:any, value?:any, start?:any, anyMatch?:any, caseSensitive?:any ): any; - static findIndex( property?:string, value?:string, start?:number, anyMatch?:bool, caseSensitive?:bool ): number; - static findIndex( property?:string, value?:RegExp, start?:number, anyMatch?:bool, caseSensitive?:bool ): number; + static findIndex( property?:string, value?:string, start?:number, anyMatch?:boolean, caseSensitive?:boolean ): number; + static findIndex( property?:string, value?:RegExp, start?:number, anyMatch?:boolean, caseSensitive?:boolean ): number; /** [Method] Find the index of the first matching object in this collection by a function * @param fn Function The function to be called. * @param scope Object The scope (this reference) in which the function is executed. Defaults to this MixedCollection. @@ -8865,12 +8668,12 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - static fireEventArgs( eventName?:string, args?:any[] ): bool; + static fireEventArgs( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the first item in the collection */ static first(): any; /** [Method] Returns a comparator function which compares two items and returns 1 0 or 1 depending on the currently defined set */ @@ -8911,7 +8714,7 @@ declare module Ext { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Returns index within the collection of the passed Object * @param o Object The item to find the index of. */ @@ -9057,7 +8860,7 @@ declare module Ext { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - static suspendEvents( queueSuspended?:bool ): void; + static suspendEvents( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -9073,29 +8876,6 @@ declare module Ext { * @param newKey Object The new key */ static updateKey( oldKey?:any, newKey?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.data { @@ -9160,15 +8940,15 @@ declare module Ext.data { * @param root String 'root' property to extract the first argument from. This is used mainly when summing fields in records, where the fields are all stored inside the 'data' object * @param allowBlank Boolean Pass true to allow null, undefined or empty string values */ - static collect( property?:string, root?:string, allowBlank?:bool ): any[]; + static collect( property?:string, root?:string, allowBlank?:boolean ): any[]; /** [Method] Returns true if the collection contains the passed Object as an item * @param o Object The Object to look for in the collection. */ - static contains( o?:any ): bool; + static contains( o?:any ): boolean; /** [Method] Returns true if the collection contains the passed Object as a key * @param key String The key to look for in the collection. */ - static containsKey( key?:string ): bool; + static containsKey( key?:string ): boolean; /** [Method] Executes the specified function once for every item in the collection * @param fn Function The function to execute for each item. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the current item in the iteration. @@ -9192,10 +8972,10 @@ declare module Ext.data { * @param caseSensitive Boolean True for case sensitive comparison. */ static filter( property?:any, value?:any, anyMatch?:any, caseSensitive?:any ): any; - static filter( property?:Ext.util.IFilter[], value?:string, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:string, value?:string, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:Ext.util.IFilter[], value?:RegExp, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:string, value?:RegExp, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; + static filter( property?:Ext.util.IFilter[], value?:string, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:string, value?:string, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:Ext.util.IFilter[], value?:RegExp, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:string, value?:RegExp, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; /** [Method] Filter by a function * @param fn Function The function to be called. * @param scope Object The scope (this reference) in which the function is executed. Defaults to this MixedCollection. @@ -9216,8 +8996,8 @@ declare module Ext.data { * @param caseSensitive Boolean True for case sensitive comparison. */ static findIndex( property?:any, value?:any, start?:any, anyMatch?:any, caseSensitive?:any ): any; - static findIndex( property?:string, value?:string, start?:number, anyMatch?:bool, caseSensitive?:bool ): number; - static findIndex( property?:string, value?:RegExp, start?:number, anyMatch?:bool, caseSensitive?:bool ): number; + static findIndex( property?:string, value?:string, start?:number, anyMatch?:boolean, caseSensitive?:boolean ): number; + static findIndex( property?:string, value?:RegExp, start?:number, anyMatch?:boolean, caseSensitive?:boolean ): number; /** [Method] Find the index of the first matching object in this collection by a function * @param fn Function The function to be called. * @param scope Object The scope (this reference) in which the function is executed. Defaults to this MixedCollection. @@ -9233,12 +9013,12 @@ declare module Ext.data { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - static fireEventArgs( eventName?:string, args?:any[] ): bool; + static fireEventArgs( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the first item in the collection */ static first(): any; /** [Method] Returns a comparator function which compares two items and returns 1 0 or 1 depending on the currently defined set */ @@ -9279,7 +9059,7 @@ declare module Ext.data { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Returns index within the collection of the passed Object * @param o Object The item to find the index of. */ @@ -9425,7 +9205,7 @@ declare module Ext.data { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - static suspendEvents( queueSuspended?:bool ): void; + static suspendEvents( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -9441,29 +9221,6 @@ declare module Ext.data { * @param newKey Object The new key */ static updateKey( oldKey?:any, newKey?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -9528,15 +9285,15 @@ declare module Ext { * @param root String 'root' property to extract the first argument from. This is used mainly when summing fields in records, where the fields are all stored inside the 'data' object * @param allowBlank Boolean Pass true to allow null, undefined or empty string values */ - static collect( property?:string, root?:string, allowBlank?:bool ): any[]; + static collect( property?:string, root?:string, allowBlank?:boolean ): any[]; /** [Method] Returns true if the collection contains the passed Object as an item * @param o Object The Object to look for in the collection. */ - static contains( o?:any ): bool; + static contains( o?:any ): boolean; /** [Method] Returns true if the collection contains the passed Object as a key * @param key String The key to look for in the collection. */ - static containsKey( key?:string ): bool; + static containsKey( key?:string ): boolean; /** [Method] Executes the specified function once for every item in the collection * @param fn Function The function to execute for each item. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the current item in the iteration. @@ -9560,10 +9317,10 @@ declare module Ext { * @param caseSensitive Boolean True for case sensitive comparison. */ static filter( property?:any, value?:any, anyMatch?:any, caseSensitive?:any ): any; - static filter( property?:Ext.util.IFilter[], value?:string, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:string, value?:string, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:Ext.util.IFilter[], value?:RegExp, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:string, value?:RegExp, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; + static filter( property?:Ext.util.IFilter[], value?:string, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:string, value?:string, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:Ext.util.IFilter[], value?:RegExp, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:string, value?:RegExp, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; /** [Method] Filter by a function * @param fn Function The function to be called. * @param scope Object The scope (this reference) in which the function is executed. Defaults to this MixedCollection. @@ -9584,8 +9341,8 @@ declare module Ext { * @param caseSensitive Boolean True for case sensitive comparison. */ static findIndex( property?:any, value?:any, start?:any, anyMatch?:any, caseSensitive?:any ): any; - static findIndex( property?:string, value?:string, start?:number, anyMatch?:bool, caseSensitive?:bool ): number; - static findIndex( property?:string, value?:RegExp, start?:number, anyMatch?:bool, caseSensitive?:bool ): number; + static findIndex( property?:string, value?:string, start?:number, anyMatch?:boolean, caseSensitive?:boolean ): number; + static findIndex( property?:string, value?:RegExp, start?:number, anyMatch?:boolean, caseSensitive?:boolean ): number; /** [Method] Find the index of the first matching object in this collection by a function * @param fn Function The function to be called. * @param scope Object The scope (this reference) in which the function is executed. Defaults to this MixedCollection. @@ -9601,12 +9358,12 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - static fireEventArgs( eventName?:string, args?:any[] ): bool; + static fireEventArgs( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the first item in the collection */ static first(): any; /** [Method] Returns a comparator function which compares two items and returns 1 0 or 1 depending on the currently defined set */ @@ -9647,7 +9404,7 @@ declare module Ext { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Returns index within the collection of the passed Object * @param o Object The item to find the index of. */ @@ -9793,7 +9550,7 @@ declare module Ext { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - static suspendEvents( queueSuspended?:bool ): void; + static suspendEvents( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -9809,29 +9566,6 @@ declare module Ext { * @param newKey Object The new key */ static updateKey( oldKey?:any, newKey?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.data { @@ -9873,12 +9607,12 @@ declare module Ext.data { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Gets a node in this tree by its id * @param id String */ @@ -9888,7 +9622,7 @@ declare module Ext.data { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -9955,7 +9689,7 @@ declare module Ext.data { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -9971,9 +9705,9 @@ declare module Ext.data { declare module Ext.data { export interface ITreeStore extends Ext.data.IAbstractStore { /** [Config Option] (Boolean) */ - clearOnLoad?: bool; + clearOnLoad?: boolean; /** [Config Option] (Boolean) */ - clearRemovedOnLoad?: bool; + clearRemovedOnLoad?: boolean; /** [Config Option] (String) */ defaultRootId?: string; /** [Config Option] (String) */ @@ -9981,7 +9715,7 @@ declare module Ext.data { /** [Config Option] (String) */ defaultRootText?: string; /** [Config Option] (Boolean) */ - folderSort?: bool; + folderSort?: boolean; /** [Config Option] (String) */ nodeParam?: string; /** [Config Option] (Ext.data.Model/Ext.data.NodeInterface/Object) */ @@ -10041,29 +9775,6 @@ declare module Ext.data { static initConfig( config?:any ): Ext.IBase; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.data { @@ -10103,17 +9814,17 @@ declare module Ext.data { * @param config Object Config object * @param email String The email address */ - static email( config?:any, email?:string ): bool; + static email( config?:any, email?:string ): boolean; /** [Method] Validates that the given value is not present in the configured list * @param config Object Config object * @param value String The value to validate */ - static exclusion( config?:any, value?:string ): bool; + static exclusion( config?:any, value?:string ): boolean; /** [Method] Returns true if the given value passes validation against the configured matcher regex * @param config Object Config object * @param value String The value to validate */ - static format( config?:any, value?:string ): bool; + static format( config?:any, value?:string ): boolean; /** [Method] Returns the initial configuration passed to constructor when instantiating this class * @param name String Name of the config option to return. */ @@ -10122,7 +9833,7 @@ declare module Ext.data { * @param config Object Config object * @param value String The value to validate */ - static inclusion( config?:any, value?:string ): bool; + static inclusion( config?:any, value?:string ): boolean; /** [Method] Initialize configuration for this class * @param config Object */ @@ -10131,47 +9842,24 @@ declare module Ext.data { * @param config Object Config object * @param value String The value to validate */ - static length( config?:any, value?:string ): bool; + static length( config?:any, value?:string ): boolean; /** [Method] Validates that the given value is present * @param config Object Config object * @param value Object The value to validate */ - static presence( config?:any, value?:any ): bool; + static presence( config?:any, value?:any ): boolean; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.data.writer { export interface IJson extends Ext.data.writer.IWriter { /** [Config Option] (Boolean) */ - allowSingle?: bool; + allowSingle?: boolean; /** [Config Option] (Boolean) */ - encode?: bool; + encode?: boolean; /** [Config Option] (Boolean) */ - expandData?: bool; + expandData?: boolean; /** [Config Option] (String) */ root?: string; /** [Method] The Reader classes support dot delimited data mappings for extracting nested raw data into fields so the writer must @@ -10183,11 +9871,11 @@ declare module Ext.data.writer { declare module Ext.data { export interface IJsonWriter extends Ext.data.writer.IWriter { /** [Config Option] (Boolean) */ - allowSingle?: bool; + allowSingle?: boolean; /** [Config Option] (Boolean) */ - encode?: bool; + encode?: boolean; /** [Config Option] (Boolean) */ - expandData?: bool; + expandData?: boolean; /** [Config Option] (String) */ root?: string; /** [Method] The Reader classes support dot delimited data mappings for extracting nested raw data into fields so the writer must @@ -10203,9 +9891,9 @@ declare module Ext.data.writer { /** [Config Option] (String) */ nameProperty?: string; /** [Config Option] (Boolean) */ - writeAllFields?: bool; + writeAllFields?: boolean; /** [Config Option] (Boolean) */ - writeRecordId?: bool; + writeRecordId?: boolean; /** [Method] Formats the data for each record before sending it to the server * @param record Ext.data.Model The record that we are writing to the server. * @param operation Ext.data.Operation An operation object. @@ -10224,9 +9912,9 @@ declare module Ext.data { /** [Config Option] (String) */ nameProperty?: string; /** [Config Option] (Boolean) */ - writeAllFields?: bool; + writeAllFields?: boolean; /** [Config Option] (Boolean) */ - writeRecordId?: bool; + writeRecordId?: boolean; /** [Method] Formats the data for each record before sending it to the server * @param record Ext.data.Model The record that we are writing to the server. * @param operation Ext.data.Operation An operation object. @@ -10245,9 +9933,9 @@ declare module Ext.data { /** [Config Option] (String) */ nameProperty?: string; /** [Config Option] (Boolean) */ - writeAllFields?: bool; + writeAllFields?: boolean; /** [Config Option] (Boolean) */ - writeRecordId?: bool; + writeRecordId?: boolean; /** [Method] Formats the data for each record before sending it to the server * @param record Ext.data.Model The record that we are writing to the server. * @param operation Ext.data.Operation An operation object. @@ -10302,12 +9990,12 @@ declare module Ext { * @param start Date Start date * @param end Date End date */ - static between( date?:any, start?:any, end?:any ): bool; + static between( date?:any, start?:any, end?:any ): boolean; /** [Method] Attempts to clear all time information from this Date by setting the time to midnight of the same day automatically * @param date Date The date * @param clone Boolean true to create a clone of this date, clear the time and return it. */ - static clearTime( date?:any, clone?:bool ): any; + static clearTime( date?:any, clone?:boolean ): any; /** [Method] Creates and returns a new Date instance with the exact same date value as the called instance * @param date Date The date. */ @@ -10320,11 +10008,11 @@ declare module Ext { /** [Method] Checks if the specified format contains information about anything other than the time * @param format String The format to check */ - static formatContainsDateInfo( format?:string ): bool; + static formatContainsDateInfo( format?:string ): boolean; /** [Method] Checks if the specified format contains hour information * @param format String The format to check */ - static formatContainsHourInfo( format?:string ): bool; + static formatContainsHourInfo( format?:string ): boolean; /** [Method] Get the numeric day number of the year adjusted for leap year * @param date Date The date */ @@ -10350,7 +10038,7 @@ declare module Ext { * @param date Date The date * @param colon Boolean true to separate the hours and minutes with a colon. */ - static getGMTOffset( date?:any, colon?:bool ): string; + static getGMTOffset( date?:any, colon?:boolean ): string; /** [Method] Get the date of the last day of the month in which this date resides * @param date Date The date */ @@ -10386,16 +10074,16 @@ declare module Ext { /** [Method] Checks if the current date is affected by Daylight Saving Time DST * @param date Date The date */ - static isDST( date?:any ): bool; + static isDST( date?:any ): boolean; /** [Method] Compares if two dates are equal by comparing their values * @param date1 Date * @param date2 Date */ - static isEqual( date1?:any, date2?:any ): bool; + static isEqual( date1?:any, date2?:any ): boolean; /** [Method] Checks if the current date falls within a leap year * @param date Date The date */ - static isLeapYear( date?:any ): bool; + static isLeapYear( date?:any ): boolean; /** [Method] Checks if the passed Date parameters will cause a JavaScript Date rollover * @param year Number 4-digit year * @param month Number 1-based month-of-year @@ -10405,7 +10093,7 @@ declare module Ext { * @param second Number Second * @param millisecond Number Millisecond */ - static isValid( year?:number, month?:number, day?:number, hour?:number, minute?:number, second?:number, millisecond?:number ): bool; + static isValid( year?:number, month?:number, day?:number, hour?:number, minute?:number, second?:number, millisecond?:number ): boolean; /** [Method] Returns the current timestamp */ static now(): number; /** [Method] Parses the passed string using the specified date format @@ -10413,7 +10101,7 @@ declare module Ext { * @param format String The expected date string format. * @param strict Boolean true to validate date strings while parsing (i.e. prevents JavaScript Date "rollover"). Invalid date strings will return null when parsed. */ - static parse( input?:string, format?:string, strict?:bool ): any; + static parse( input?:string, format?:string, strict?:boolean ): any; /** [Method] Provides a convenient method for performing basic date arithmetic * @param date Date The date to modify * @param interval String A valid date interval enum value. @@ -10429,7 +10117,7 @@ declare module Ext { declare module Ext.dd { export interface IDD extends Ext.dd.IDragDrop { /** [Property] (Boolean) */ - scroll?: bool; + scroll?: boolean; /** [Method] Sets the element to the location of the mousedown or click event maintaining the cursor location relative to the loc * @param el HTMLElement the element to move * @param iPageX Number the X coordinate of the mousedown or drag event @@ -10473,9 +10161,9 @@ declare module Ext.dd { declare module Ext.dd { export interface IDDProxy extends Ext.dd.IDD { /** [Property] (Boolean) */ - centerFrame?: bool; + centerFrame?: boolean; /** [Property] (Boolean) */ - resizeFrame?: bool; + resizeFrame?: boolean; /** [Property] (String) */ dragElId?: string; /** [Method] Sets up config options specific to this class */ @@ -10559,7 +10247,7 @@ declare module Ext.dd { declare module Ext.dd { export interface IDragDrop extends Ext.IBase { /** [Property] (Boolean) */ - available?: bool; + available?: boolean; /** [Property] (Object) */ config?: any; /** [Property] (Object) */ @@ -10567,11 +10255,11 @@ declare module Ext.dd { /** [Property] (Object) */ groups?: any; /** [Property] (Boolean) */ - hasOuterHandles?: bool; + hasOuterHandles?: boolean; /** [Property] (String) */ id?: string; /** [Property] (Boolean) */ - ignoreSelf?: bool; + ignoreSelf?: boolean; /** [Property] (String[]) */ invalidHandleClasses?: string[]; /** [Property] (Object) */ @@ -10579,15 +10267,15 @@ declare module Ext.dd { /** [Property] (Object) */ invalidHandleTypes?: any; /** [Property] (Boolean) */ - isTarget?: bool; + isTarget?: boolean; /** [Property] (Boolean) */ - maintainOffset?: bool; + maintainOffset?: boolean; /** [Property] (Boolean) */ - moveOnly?: bool; + moveOnly?: boolean; /** [Property] (Number[]) */ padding?: number[]; /** [Property] (Boolean) */ - primaryButtonOnly?: bool; + primaryButtonOnly?: boolean; /** [Property] (Number[]) */ xTicks?: number[]; /** [Property] (Number[]) */ @@ -10620,9 +10308,9 @@ declare module Ext.dd { * @param inContent Boolean Constrain the draggable in the content box of the element (inside padding and borders) */ constrainTo?( constrainTo?:any, pad?:any, inContent?:any ): any; - constrainTo?( constrainTo?:string, pad?:any, inContent?:bool ): void; - constrainTo?( constrainTo?:HTMLElement, pad?:any, inContent?:bool ): void; - constrainTo?( constrainTo?:Ext.IElement, pad?:any, inContent?:bool ): void; + constrainTo?( constrainTo?:string, pad?:any, inContent?:boolean ): void; + constrainTo?( constrainTo?:HTMLElement, pad?:any, inContent?:boolean ): void; + constrainTo?( constrainTo?:Ext.IElement, pad?:any, inContent?:boolean ): void; /** [Method] Destroy this DragDrop instance */ destroy?(): void; /** [Method] Called when we are done dragging the object @@ -10646,11 +10334,11 @@ declare module Ext.dd { */ initTarget?( id?:string, sGroup?:string, config?:any ): void; /** [Method] Returns true if this instance is locked or the drag drop mgr is locked meaning that all drag drop is disabled on th */ - isLocked?(): bool; + isLocked?(): boolean; /** [Method] Checks the tag exclusion list to see if this click should be ignored * @param node HTMLElement the HTMLElement to evaluate */ - isValidHandleChild?( node?:HTMLElement ): bool; + isValidHandleChild?( node?:HTMLElement ): boolean; /** [Method] Locks this instance */ lock?(): void; /** [Method] Override the onAvailable method to do what is needed after the initial position was determined */ @@ -10718,7 +10406,7 @@ declare module Ext.dd { /** [Method] Must be called if you manually reposition a dd element * @param maintainOffset Boolean */ - resetConstraints?( maintainOffset?:bool ): void; + resetConstraints?( maintainOffset?:boolean ): void; /** [Method] Allows you to specify that an element other than the linked element will be moved with the cursor during a drag * @param id String the id of the element that will be used to initiate the drag */ @@ -10865,7 +10553,7 @@ declare module Ext.dd { * @param p_oDD Ext.dd.DragDrop the obj to get related data for * @param bTargetsOnly Boolean if true, only return targetable objs */ - static getRelated( p_oDD?:Ext.dd.IDragDrop, bTargetsOnly?:bool ): Ext.dd.IDragDrop[]; + static getRelated( p_oDD?:Ext.dd.IDragDrop, bTargetsOnly?:boolean ): Ext.dd.IDragDrop[]; /** [Method] Initialize configuration for this class * @param config Object */ @@ -10873,22 +10561,22 @@ declare module Ext.dd { /** [Method] Utility function to determine if a given element has been registered as a drag drop item * @param id String the element id to check */ - static isDragDrop( id?:string ): bool; + static isDragDrop( id?:string ): boolean; /** [Method] Utility function to determine if a given element has been registered as a drag drop handle for the given Drag Drop ob * @param id String the element id to check */ - static isHandle( id?:string ): bool; + static isHandle( id?:string ): boolean; /** [Method] Returns true if the specified dd target is a legal target for the specifice drag obj * @param oDD Ext.dd.DragDrop the drag obj * @param oTargetDD Ext.dd.DragDrop the target */ - static isLegalTarget( oDD?:Ext.dd.IDragDrop, oTargetDD?:Ext.dd.IDragDrop ): bool; + static isLegalTarget( oDD?:Ext.dd.IDragDrop, oTargetDD?:Ext.dd.IDragDrop ): boolean; /** [Method] Is drag and drop locked */ - static isLocked(): bool; + static isLocked(): boolean; /** [Method] My goal is to be able to transparently determine if an object is typeof DragDrop and the exact subclass of DragDrop * @param the Object object to evaluate */ - static isTypeOfDD( the?:any ): bool; + static isTypeOfDD( the?:any ): boolean; /** [Method] Lock all drag and drop functionality */ static lock(): void; /** [Method] Refreshes the cache of the top left and bottom right points of the drag and drop objects in the specified group s @@ -10921,30 +10609,7 @@ declare module Ext.dd { /** [Method] This checks to make sure an element exists and is in the DOM * @param el HTMLElement the element to check */ - static verifyEl( el?:HTMLElement ): bool; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; + static verifyEl( el?:HTMLElement ): boolean; } } declare module Ext.dd { @@ -10994,7 +10659,7 @@ declare module Ext.dd { * @param p_oDD Ext.dd.DragDrop the obj to get related data for * @param bTargetsOnly Boolean if true, only return targetable objs */ - static getRelated( p_oDD?:Ext.dd.IDragDrop, bTargetsOnly?:bool ): Ext.dd.IDragDrop[]; + static getRelated( p_oDD?:Ext.dd.IDragDrop, bTargetsOnly?:boolean ): Ext.dd.IDragDrop[]; /** [Method] Initialize configuration for this class * @param config Object */ @@ -11002,22 +10667,22 @@ declare module Ext.dd { /** [Method] Utility function to determine if a given element has been registered as a drag drop item * @param id String the element id to check */ - static isDragDrop( id?:string ): bool; + static isDragDrop( id?:string ): boolean; /** [Method] Utility function to determine if a given element has been registered as a drag drop handle for the given Drag Drop ob * @param id String the element id to check */ - static isHandle( id?:string ): bool; + static isHandle( id?:string ): boolean; /** [Method] Returns true if the specified dd target is a legal target for the specifice drag obj * @param oDD Ext.dd.DragDrop the drag obj * @param oTargetDD Ext.dd.DragDrop the target */ - static isLegalTarget( oDD?:Ext.dd.IDragDrop, oTargetDD?:Ext.dd.IDragDrop ): bool; + static isLegalTarget( oDD?:Ext.dd.IDragDrop, oTargetDD?:Ext.dd.IDragDrop ): boolean; /** [Method] Is drag and drop locked */ - static isLocked(): bool; + static isLocked(): boolean; /** [Method] My goal is to be able to transparently determine if an object is typeof DragDrop and the exact subclass of DragDrop * @param the Object object to evaluate */ - static isTypeOfDD( the?:any ): bool; + static isTypeOfDD( the?:any ): boolean; /** [Method] Lock all drag and drop functionality */ static lock(): void; /** [Method] Refreshes the cache of the top left and bottom right points of the drag and drop objects in the specified group s @@ -11050,30 +10715,7 @@ declare module Ext.dd { /** [Method] This checks to make sure an element exists and is in the DOM * @param el HTMLElement the element to check */ - static verifyEl( el?:HTMLElement ): bool; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; + static verifyEl( el?:HTMLElement ): boolean; } } declare module Ext.dd { @@ -11123,7 +10765,7 @@ declare module Ext.dd { * @param p_oDD Ext.dd.DragDrop the obj to get related data for * @param bTargetsOnly Boolean if true, only return targetable objs */ - static getRelated( p_oDD?:Ext.dd.IDragDrop, bTargetsOnly?:bool ): Ext.dd.IDragDrop[]; + static getRelated( p_oDD?:Ext.dd.IDragDrop, bTargetsOnly?:boolean ): Ext.dd.IDragDrop[]; /** [Method] Initialize configuration for this class * @param config Object */ @@ -11131,22 +10773,22 @@ declare module Ext.dd { /** [Method] Utility function to determine if a given element has been registered as a drag drop item * @param id String the element id to check */ - static isDragDrop( id?:string ): bool; + static isDragDrop( id?:string ): boolean; /** [Method] Utility function to determine if a given element has been registered as a drag drop handle for the given Drag Drop ob * @param id String the element id to check */ - static isHandle( id?:string ): bool; + static isHandle( id?:string ): boolean; /** [Method] Returns true if the specified dd target is a legal target for the specifice drag obj * @param oDD Ext.dd.DragDrop the drag obj * @param oTargetDD Ext.dd.DragDrop the target */ - static isLegalTarget( oDD?:Ext.dd.IDragDrop, oTargetDD?:Ext.dd.IDragDrop ): bool; + static isLegalTarget( oDD?:Ext.dd.IDragDrop, oTargetDD?:Ext.dd.IDragDrop ): boolean; /** [Method] Is drag and drop locked */ - static isLocked(): bool; + static isLocked(): boolean; /** [Method] My goal is to be able to transparently determine if an object is typeof DragDrop and the exact subclass of DragDrop * @param the Object object to evaluate */ - static isTypeOfDD( the?:any ): bool; + static isTypeOfDD( the?:any ): boolean; /** [Method] Lock all drag and drop functionality */ static lock(): void; /** [Method] Refreshes the cache of the top left and bottom right points of the drag and drop objects in the specified group s @@ -11179,36 +10821,13 @@ declare module Ext.dd { /** [Method] This checks to make sure an element exists and is in the DOM * @param el HTMLElement the element to check */ - static verifyEl( el?:HTMLElement ): bool; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; + static verifyEl( el?:HTMLElement ): boolean; } } declare module Ext.dd { export interface IDragSource extends Ext.dd.IDDProxy { /** [Config Option] (Boolean) */ - animRepair?: bool; + animRepair?: boolean; /** [Config Option] (String) */ ddGroup?: string; /** [Config Option] (String) */ @@ -11261,31 +10880,31 @@ declare module Ext.dd { * @param e Event The event object * @param id String The id of the dragged element */ - beforeDragDrop?( target?:Ext.dd.IDragDrop, e?:Event, id?:string ): bool; + beforeDragDrop?( target?:Ext.dd.IDragDrop, e?:Event, id?:string ): boolean; /** [Method] An empty function by default but provided so that you can perform a custom action before the dragged item enters the * @param target Ext.dd.DragDrop The drop target * @param e Event The event object * @param id String The id of the dragged element */ - beforeDragEnter?( target?:Ext.dd.IDragDrop, e?:Event, id?:string ): bool; + beforeDragEnter?( target?:Ext.dd.IDragDrop, e?:Event, id?:string ): boolean; /** [Method] An empty function by default but provided so that you can perform a custom action before the dragged item is dragged * @param target Ext.dd.DragDrop The drop target * @param e Event The event object * @param id String The id of the dragged element */ - beforeDragOut?( target?:Ext.dd.IDragDrop, e?:Event, id?:string ): bool; + beforeDragOut?( target?:Ext.dd.IDragDrop, e?:Event, id?:string ): boolean; /** [Method] An empty function by default but provided so that you can perform a custom action while the dragged item is over the * @param target Ext.dd.DragDrop The drop target * @param e Event The event object * @param id String The id of the dragged element */ - beforeDragOver?( target?:Ext.dd.IDragDrop, e?:Event, id?:string ): bool; + beforeDragOver?( target?:Ext.dd.IDragDrop, e?:Event, id?:string ): boolean; /** [Method] An empty function by default but provided so that you can perform a custom action after an invalid drop has occurred * @param target Ext.dd.DragDrop The drop target * @param e Event The event object * @param id String The id of the dragged element */ - beforeInvalidDrop?( target?:Ext.dd.IDragDrop, e?:Event, id?:string ): bool; + beforeInvalidDrop?( target?:Ext.dd.IDragDrop, e?:Event, id?:string ): boolean; /** [Method] Destroy this DragDrop instance */ destroy?(): void; /** [Method] Returns the data object associated with this drag source @@ -11300,7 +10919,7 @@ declare module Ext.dd { * @param data Object An object containing arbitrary data to be shared with drop targets * @param e Event The event object */ - onBeforeDrag?( data?:any, e?:Event ): bool; + onBeforeDrag?( data?:any, e?:Event ): boolean; /** [Method] An empty function by default but provided so that you can perform a custom action once the initial drag event has be * @param x Number The x position of the click on the dragged object * @param y Number The y position of the click on the dragged object @@ -11319,15 +10938,15 @@ declare module Ext.dd { /** [Config Option] (String) */ overCls?: string; /** [Config Option] (Boolean) */ - preventDefault?: bool; + preventDefault?: boolean; /** [Config Option] (Boolean) */ - stopEvent?: bool; + stopEvent?: boolean; /** [Config Option] (Number) */ tolerance?: number; /** [Config Option] (Boolean) */ - trackOver?: bool; + trackOver?: boolean; /** [Property] (Boolean) */ - active?: bool; + active?: boolean; /** [Property] (HTMLElement) */ dragTarget?: HTMLElement; /** [Method] Adds the specified events to the list of events which this Observable may fire @@ -11365,12 +10984,12 @@ declare module Ext.dd { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the drag target */ getDragTarget?(): Ext.IElement; /** [Method] Returns the X Y offset of the current mouse position from the mousedown point @@ -11380,7 +10999,7 @@ declare module Ext.dd { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Initializes the DragTracker on a given element * @param el Ext.Element/HTMLElement The element */ @@ -11463,7 +11082,7 @@ declare module Ext.dd { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -11492,7 +11111,7 @@ declare module Ext.dd { * @param x Number The x position of the click on the dragged object * @param y Number The y position of the click on the dragged object */ - onInitDrag?( x?:number, y?:number ): bool; + onInitDrag?( x?:number, y?:number ): boolean; } } declare module Ext.dd { @@ -11506,7 +11125,7 @@ declare module Ext.dd { /** [Config Option] (String) */ overClass?: string; /** [Property] (Boolean) */ - isTarget?: bool; + isTarget?: boolean; /** [Method] Destroy this DragDrop instance */ destroy?(): void; /** [Method] The function a Ext dd DragSource calls once to notify this drop target that the dragged item has been dropped on it @@ -11514,7 +11133,7 @@ declare module Ext.dd { * @param e Event The event * @param data Object An object containing arbitrary data supplied by the drag source */ - notifyDrop?( source?:Ext.dd.IDragSource, e?:Event, data?:any ): bool; + notifyDrop?( source?:Ext.dd.IDragSource, e?:Event, data?:any ): boolean; /** [Method] The function a Ext dd DragSource calls once to notify this drop target that the source is now over the target * @param source Ext.dd.DragSource The drag source that was dragged over this drop target * @param e Event The event @@ -11546,7 +11165,7 @@ declare module Ext.dd { * @param e Event The event * @param data Object An object containing arbitrary data supplied by the drag source */ - notifyDrop?( source?:Ext.dd.IDragSource, e?:Event, data?:any ): bool; + notifyDrop?( source?:Ext.dd.IDragSource, e?:Event, data?:any ): boolean; /** [Method] The function a Ext dd DragSource calls once to notify this drop zone that the source is now over the zone * @param source Ext.dd.DragSource The drag source that was dragged over this drop zone * @param e Event The event @@ -11570,7 +11189,7 @@ declare module Ext.dd { * @param e Event The event * @param data Object An object containing arbitrary data supplied by the drag source */ - onContainerDrop?( source?:Ext.dd.IDragSource, e?:Event, data?:any ): bool; + onContainerDrop?( source?:Ext.dd.IDragSource, e?:Event, data?:any ): boolean; /** [Method] Called while the DropZone determines that a Ext dd DragSource is being dragged over it but not over any of its regis * @param source Ext.dd.DragSource The drag source that was dragged over this drop zone * @param e Event The event @@ -11583,7 +11202,7 @@ declare module Ext.dd { * @param e Event The event * @param data Object An object containing arbitrary data supplied by the drag source */ - onNodeDrop?( nodeData?:any, source?:Ext.dd.IDragSource, e?:Event, data?:any ): bool; + onNodeDrop?( nodeData?:any, source?:Ext.dd.IDragSource, e?:Event, data?:any ): boolean; /** [Method] Called when the DropZone determines that a Ext dd DragSource has entered a drop node that has either been registered * @param nodeData Object The custom data associated with the drop node (this is the same value returned from getTargetFromEvent for this node) * @param source Ext.dd.DragSource The drag source that was dragged over this drop zone @@ -11669,29 +11288,6 @@ declare module Ext.dd { static unregister( element?:any ): any; static unregister( element?:string ): void; static unregister( element?:HTMLElement ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.dd { @@ -11745,29 +11341,6 @@ declare module Ext.dd { static unregister( el?:string[] ): void; static unregister( el?:HTMLElement[] ): void; static unregister( el?:Ext.IElement[] ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.dd { @@ -11789,7 +11362,7 @@ declare module Ext.dd { /** [Method] Resets the status indicator to the default dropNotAllowed value * @param clearGhost Boolean True to also remove all content from the ghost, false to preserve it */ - reset?( clearGhost?:bool ): void; + reset?( clearGhost?:boolean ): void; /** [Method] Updates the proxy s visual element to indicate the status of whether or not drop is allowed over the current target e * @param cssClass String The css class for the new drop status indicator image */ @@ -11888,12 +11461,12 @@ declare module Ext.direct { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - static fireEventArgs( eventName?:string, args?:any[] ): bool; + static fireEventArgs( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the initial configuration passed to constructor when instantiating this class * @param name String Name of the config option to return. */ @@ -11907,7 +11480,7 @@ declare module Ext.direct { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Initialize configuration for this class * @param config Object */ @@ -11985,36 +11558,13 @@ declare module Ext.direct { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - static suspendEvents( queueSuspended?:bool ): void; + static suspendEvents( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. * @param scope Object The scope originally specified for the handler. It must be the same as the scope argument specified in the original call to Ext.util.Observable.addListener or the listener will not be removed. */ static un( eventName?:string, fn?:any, scope?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -12075,12 +11625,12 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - static fireEventArgs( eventName?:string, args?:any[] ): bool; + static fireEventArgs( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the initial configuration passed to constructor when instantiating this class * @param name String Name of the config option to return. */ @@ -12094,7 +11644,7 @@ declare module Ext { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Initialize configuration for this class * @param config Object */ @@ -12172,36 +11722,13 @@ declare module Ext { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - static suspendEvents( queueSuspended?:bool ): void; + static suspendEvents( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. * @param scope Object The scope originally specified for the handler. It must be the same as the scope argument specified in the original call to Ext.util.Observable.addListener or the listener will not be removed. */ static un( eventName?:string, fn?:any, scope?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.direct { @@ -12265,16 +11792,16 @@ declare module Ext.direct { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Returns whether or not the server side is currently connected */ isConnected?(): void; /** [Method] Shorthand for addManagedListener @@ -12337,7 +11864,7 @@ declare module Ext.direct { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -12365,7 +11892,7 @@ declare module Ext.direct { /** [Config Option] (Object) */ actions?: any; /** [Config Option] (Boolean) */ - disableNestedActions?: bool; + disableNestedActions?: boolean; /** [Config Option] (Number/Boolean) */ enableBuffer?: any; /** [Config Option] (String) */ @@ -12418,7 +11945,7 @@ declare module Ext.dom { * @param el String/HTMLElement/Ext.dom.AbstractElement/Object The id or element to insert or a DomHelper config The id of the node, a DOM Node or an existing Element. * @param returnDom Boolean True to return the raw DOM element instead of Ext.dom.AbstractElement */ - appendChild?( el?:any, returnDom?:bool ): Ext.dom.IAbstractElement; + appendChild?( el?:any, returnDom?:boolean ): Ext.dom.IAbstractElement; /** [Method] Appends this element to the passed element Defined in override Ext dom AbstractElement_insertion * @param el String/HTMLElement/Ext.dom.AbstractElement The new parent element. The id of the node, a DOM Node or an existing Element. */ @@ -12434,66 +11961,66 @@ declare module Ext.dom { * @param selector String The CSS selector * @param returnDom Boolean True to return the DOM node instead of Ext.dom.Element. */ - child?( selector?:string, returnDom?:bool ): HTMLElement; + child?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Selects a single direct child based on the passed CSS selector the selector should not contain an id * @param selector String The CSS selector * @param returnDom Boolean True to return the DOM node instead of Ext.dom.Element. */ - child?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + child?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Returns true if this element is an ancestor of the passed element * @param el HTMLElement/String The element to check */ contains?( el?:any ): any; - contains?( el?:HTMLElement ): bool; - contains?( el?:string ): bool; + contains?( el?:HTMLElement ): boolean; + contains?( el?:string ): boolean; /** [Method] Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child e * @param config Object DomHelper element config object. If no tag is specified (e.g., {tag:'input'}) then a div will be automatically generated with the specified attributes. * @param insertBefore HTMLElement a child element of this element * @param returnDom Boolean true to return the dom node instead of creating an Element */ - createChild?( config?:any, insertBefore?:HTMLElement, returnDom?:bool ): Ext.dom.IAbstractElement; + createChild?( config?:any, insertBefore?:HTMLElement, returnDom?:boolean ): Ext.dom.IAbstractElement; /** [Method] Alias to remove */ destroy?(): void; /** [Method] Selects a single child at any depth below this element based on the passed CSS selector the selector should not cont * @param selector String The CSS selector * @param returnDom Boolean True to return the DOM node instead of Ext.dom.Element */ - down?( selector?:string, returnDom?:bool ): HTMLElement; + down?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Selects a single child at any depth below this element based on the passed CSS selector the selector should not cont * @param selector String The CSS selector * @param returnDom Boolean True to return the DOM node instead of Ext.dom.Element */ - down?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + down?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Looks at this node and then at parent nodes for a match of the passed simple selector e g * @param selector String The simple selector to test * @param limit Number/String/HTMLElement/Ext.Element The max depth to search as a number or an element which causes the upward traversal to stop and is not considered for inclusion as the result. (defaults to 50 || document.documentElement) * @param returnEl Boolean True to return a Ext.Element object instead of DOM node */ findParent?( selector?:any, limit?:any, returnEl?:any ): any; - findParent?( selector?:string, limit?:number, returnEl?:bool ): HTMLElement; - findParent?( selector?:string, limit?:string, returnEl?:bool ): HTMLElement; - findParent?( selector?:string, limit?:HTMLElement, returnEl?:bool ): HTMLElement; - findParent?( selector?:string, limit?:Ext.IElement, returnEl?:bool ): HTMLElement; + findParent?( selector?:string, limit?:number, returnEl?:boolean ): HTMLElement; + findParent?( selector?:string, limit?:string, returnEl?:boolean ): HTMLElement; + findParent?( selector?:string, limit?:HTMLElement, returnEl?:boolean ): HTMLElement; + findParent?( selector?:string, limit?:Ext.IElement, returnEl?:boolean ): HTMLElement; /** [Method] Looks at parent nodes for a match of the passed simple selector e g * @param selector String The simple selector to test * @param limit Number/String/HTMLElement/Ext.Element The max depth to search as a number or an element which causes the upward traversal to stop and is not considered for inclusion as the result. (defaults to 50 || document.documentElement) * @param returnEl Boolean True to return a Ext.Element object instead of DOM node */ findParentNode?( selector?:any, limit?:any, returnEl?:any ): any; - findParentNode?( selector?:string, limit?:number, returnEl?:bool ): HTMLElement; - findParentNode?( selector?:string, limit?:string, returnEl?:bool ): HTMLElement; - findParentNode?( selector?:string, limit?:HTMLElement, returnEl?:bool ): HTMLElement; - findParentNode?( selector?:string, limit?:Ext.IElement, returnEl?:bool ): HTMLElement; + findParentNode?( selector?:string, limit?:number, returnEl?:boolean ): HTMLElement; + findParentNode?( selector?:string, limit?:string, returnEl?:boolean ): HTMLElement; + findParentNode?( selector?:string, limit?:HTMLElement, returnEl?:boolean ): HTMLElement; + findParentNode?( selector?:string, limit?:Ext.IElement, returnEl?:boolean ): HTMLElement; /** [Method] Gets the first child skipping text nodes Defined in override Ext dom AbstractElement_traversal * @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; + first?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Gets the first child skipping text nodes Defined in override Ext dom AbstractElement_traversal * @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; + first?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Returns the active element in the DOM */ getActiveElement?(): HTMLElement; /** [Method] Returns the value of an attribute from the element s underlying DOM node @@ -12509,13 +12036,13 @@ declare module Ext.dom { * @param id String The id of the desired child element. * @param asDom Boolean True to return the DOM element, false to return a wrapped Element object. */ - getById?( id?:string, asDom?:bool ): void; + getById?( id?:string, asDom?:boolean ): void; /** [Method] Returns the innerHTML of an Element or an empty string if the element s dom no longer exists */ getHTML?(): void; /** [Method] Returns the offset height of the element Defined in override Ext dom AbstractElement_style * @param contentHeight Boolean true to get the height minus borders and padding */ - getHeight?( contentHeight?:bool ): number; + getHeight?( contentHeight?:boolean ): number; /** [Method] Returns an object with properties top left right and bottom representing the margins of this element unless sides i * @param sides String Any combination of l, r, t, b to get the sum of those sides */ @@ -12527,32 +12054,32 @@ declare module Ext.dom { /** [Method] Returns the size of the element * @param contentSize Boolean true to get the width/size minus borders and padding */ - getSize?( contentSize?:bool ): any; + getSize?( contentSize?:boolean ): any; /** [Method] Returns a named style property based on computed currentStyle primary and inline style if primary is not available * @param property String/String[] The style property (or multiple property names in an array) whose value is returned. * @param inline Boolean if true only inline styles will be returned. */ getStyle?( property?:any, inline?:any ): any; - getStyle?( property?:string, inline?:bool ): any; - getStyle?( property?:string[], inline?:bool ): any; + getStyle?( property?:string, inline?:boolean ): any; + getStyle?( property?:string[], inline?:boolean ): any; /** [Method] Returns the value of the value attribute * @param asNumber Boolean true to parse the value as a number */ - getValue?( asNumber?:bool ): string; + getValue?( asNumber?:boolean ): string; /** [Method] Returns the value of the value attribute * @param asNumber Boolean true to parse the value as a number */ - getValue?( asNumber?:bool ): number; + getValue?( asNumber?:boolean ): number; /** [Method] Returns the dimensions of the element available to lay content out in */ getViewSize?(): any; /** [Method] Returns the offset width of the element Defined in override Ext dom AbstractElement_style * @param contentWidth Boolean true to get the width minus borders and padding */ - getWidth?( contentWidth?:bool ): number; + getWidth?( contentWidth?:boolean ): number; /** [Method] Checks if the specified CSS class exists on this element s DOM node * @param className String The CSS class to check for */ - hasCls?( className?:string ): bool; + hasCls?( className?:string ): boolean; /** [Method] Hide this element Uses display mode to determine whether to use display or visibility * @param animate Boolean/Object true for the default animation or a standard Element animation config object */ @@ -12580,42 +12107,42 @@ declare module Ext.dom { * @param html String The HTML fragment * @param returnEl Boolean True to return an Ext.dom.AbstractElement */ - insertHtml?( where?:string, html?:string, returnEl?:bool ): HTMLElement; + insertHtml?( where?:string, html?:string, returnEl?:boolean ): HTMLElement; /** [Method] Inserts an html fragment into this element Defined in override Ext dom AbstractElement_insertion * @param where String Where to insert the html in relation to this element - beforeBegin, afterBegin, beforeEnd, afterEnd. See Ext.dom.Helper.insertHtml for details. * @param html String The HTML fragment * @param returnEl Boolean True to return an Ext.dom.AbstractElement */ - insertHtml?( where?:string, html?:string, returnEl?:bool ): Ext.dom.IAbstractElement; + insertHtml?( where?:string, html?:string, returnEl?:boolean ): Ext.dom.IAbstractElement; /** [Method] Inserts or creates the passed element or DomHelper config as a sibling of this element Defined in override Ext d * @param el String/HTMLElement/Ext.dom.AbstractElement/Object/Array The id, element to insert or a DomHelper config to create and insert or an array of any of those. * @param where String 'before' or 'after' * @param returnDom Boolean True to return the raw DOM element instead of Ext.dom.AbstractElement */ - insertSibling?( el?:any, where?:string, returnDom?:bool ): Ext.dom.IAbstractElement; + insertSibling?( el?:any, where?:string, returnDom?:boolean ): Ext.dom.IAbstractElement; /** [Method] Returns true if this element matches the passed simple selector e g * @param selector String The simple selector to test */ - is?( selector?:string ): bool; + is?( selector?:string ): boolean; /** [Method] Checks if the current value of a style is equal to a given value * @param style String property whose value is returned. * @param value String to check against. */ - isStyle?( style?:string, value?:string ): bool; + isStyle?( style?:string, value?:string ): boolean; /** [Method] Returns true if the value of the given property is visually transparent * @param prop String The style property whose value is to be tested. */ - isTransparent?( prop?:string ): bool; + isTransparent?( prop?:string ): boolean; /** [Method] Gets the last child skipping text nodes Defined in override Ext dom AbstractElement_traversal * @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; + last?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Gets the last child skipping text nodes Defined in override Ext dom AbstractElement_traversal * @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; + last?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Puts a mask over this element to disable user interaction * @param msg String A message to display in the mask * @param msgCls String A css class to apply to the msg element @@ -12625,32 +12152,32 @@ 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 ): Ext.dom.IElement; + next?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Gets the next sibling skipping text nodes Defined in override Ext dom AbstractElement_traversal * @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 ): HTMLElement; + next?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Gets the parent node for this element optionally chaining up trying to match a selector Defined in override 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 ): Ext.dom.IElement; + parent?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Gets the parent node for this element optionally chaining up trying to match a selector Defined in override 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 ): HTMLElement; + parent?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Gets the previous sibling skipping text nodes Defined in override Ext dom AbstractElement_traversal * @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 ): Ext.dom.IElement; + prev?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Gets the previous sibling skipping text nodes Defined in override Ext dom AbstractElement_traversal * @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 ): HTMLElement; + prev?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Selects child nodes based on the passed CSS selector the selector should not contain an id * @param selector String The CSS selector */ @@ -12691,7 +12218,7 @@ declare module Ext.dom { * @param selector String The CSS selector * @param unique Boolean True to create a unique Ext.Element for each element. Defaults to a shared flyweight object. */ - select?( selector?:string, unique?:bool ): Ext.ICompositeElement; + select?( selector?:string, unique?:boolean ): Ext.ICompositeElement; /** [Method] Serializes a DOM form into a url encoded string Defined in override Ext dom AbstractElement_static * @param form Object The form */ @@ -12700,7 +12227,7 @@ declare module Ext.dom { * @param o Object The object with the attributes * @param useSet Boolean false to override the default setAttribute to use expandos. */ - set?( o?:any, useSet?:bool ): Ext.dom.IElement; + set?( o?:any, useSet?:boolean ): Ext.dom.IElement; /** [Method] Set the innerHTML of this element * @param html String The new HTML */ @@ -12733,7 +12260,7 @@ declare module Ext.dom { * @param visible Boolean Whether the element is visible * @param animate Boolean/Object True for the default animation, or a standard Element animation config object */ - setVisible?( visible?:bool, animate?:any ): Ext.dom.IElement; + setVisible?( visible?:boolean, animate?:any ): Ext.dom.IElement; /** [Method] Set the width of this Element * @param width Number/String The new width. This may be one of: A Number specifying the new width in this Element's defaultUnits (by default, pixels). A String used to set the CSS width style. Animation may not be used. */ @@ -12756,10 +12283,10 @@ declare module Ext.dom { * @param returnDom Boolean True to return the DOM node instead of Ext.dom.Element */ up?( selector?:any, limit?:any, returnDom?:any ): any; - up?( selector?:string, limit?:number, returnDom?:bool ): Ext.IElement; - up?( selector?:string, limit?:string, returnDom?:bool ): Ext.IElement; - up?( selector?:string, limit?:HTMLElement, returnDom?:bool ): Ext.IElement; - up?( selector?:string, limit?:Ext.IElement, returnDom?:bool ): Ext.IElement; + up?( selector?:string, limit?:number, returnDom?:boolean ): Ext.IElement; + up?( selector?:string, limit?:string, returnDom?:boolean ): Ext.IElement; + up?( selector?:string, limit?:HTMLElement, returnDom?:boolean ): Ext.IElement; + up?( selector?:string, limit?:Ext.IElement, returnDom?:boolean ): Ext.IElement; /** [Method] Update the innerHTML of this element * @param html String The new HTML */ @@ -12769,66 +12296,98 @@ declare module Ext.dom { * @param returnDom Boolean True to return the raw DOM element instead of Ext.dom.AbstractElement * @param selector String A DomQuery selector to select a descendant node within the created element to use as the wrapping element. */ - wrap?( config?:any, returnDom?:bool, selector?:string ): HTMLElement; + wrap?( config?:any, returnDom?:boolean, selector?:string ): HTMLElement; /** [Method] Creates and wraps this element with another element Defined in override Ext dom AbstractElement_insertion * @param config Object DomHelper element config object for the wrapper element or null for an empty div * @param returnDom Boolean True to return the raw DOM element instead of Ext.dom.AbstractElement * @param selector String A DomQuery selector to select a descendant node within the created element to use as the wrapping element. */ - wrap?( config?:any, returnDom?:bool, selector?:string ): Ext.dom.IAbstractElement; + wrap?( config?:any, returnDom?:boolean, selector?:string ): Ext.dom.IAbstractElement; + } + export class AbstractElement { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Gets the singleton flyweight element with the passed node as the active element * @param dom String/HTMLElement The dom node or id * @param named String Allows for creation of named reusable flyweights to prevent conflicts (e.g. internally Ext uses "_global") */ - fly?( dom?:any, named?:any ): any; - fly?( dom?:string, named?:string ): Ext.dom.element.IFly; - fly?( dom?:HTMLElement, named?:string ): Ext.dom.element.IFly; + static fly( dom?:any, named?:any ): any; + static fly( dom?:string, named?:string ): Ext.dom.element.IFly; + static fly( dom?:HTMLElement, named?:string ): Ext.dom.element.IFly; /** [Method] Returns the top Element that is located at the passed coordinates Defined in override Ext dom AbstractElement_static * @param x Number The x coordinate * @param y Number The y coordinate */ - fromPoint?( x?:number, y?:number ): string; + static fromPoint( x?:number, y?:number ): string; /** [Method] Retrieves Ext dom Element objects * @param el String/HTMLElement/Ext.Element The id of the node, a DOM Node or an existing Element. */ - get?( el?:any ): any; - get?( el?:string ): Ext.dom.IElement; - get?( el?:HTMLElement ): Ext.dom.IElement; - get?( el?:Ext.IElement ): Ext.dom.IElement; + static get( el?:any ): any; + static get( el?:string ): Ext.dom.IElement; + static get( el?:HTMLElement ): Ext.dom.IElement; + static get( el?:Ext.IElement ): Ext.dom.IElement; /** [Method] Retrieves the document height Defined in override Ext dom AbstractElement_static */ - getDocumentHeight?(): number; + static getDocumentHeight(): number; /** [Method] Retrieves the document width Defined in override Ext dom AbstractElement_static */ - getDocumentWidth?(): number; + static getDocumentWidth(): number; + /** [Method] Get the current class name in string format */ + static getName(): string; /** [Method] Retrieves the current orientation of the window */ - getOrientation?(): string; + static getOrientation(): string; + /** [Method] Retrieves the viewport size of the window */ + static getViewSize(): any; /** [Method] Retrieves the viewport height of the window */ - getViewportHeight?(): number; + static getViewportHeight(): number; /** [Method] Retrieves the viewport width of the window */ - getViewportWidth?(): number; + static getViewportWidth(): number; + /** [Method] Adds members to class */ + static implement(): void; /** [Method] Returns an array of unique class names based upon the input strings or string arrays * @param clsList1 Mixed A string of class names, or an array of class names. * @param clsList2 Mixed A string of class names, or an array of class names. */ - mergeClsList?( clsList1?:any, clsList2?:any ): any[]; + static mergeClsList( clsList1?:any, clsList2?:any ): any[]; /** [Method] Normalizes CSS property keys from dash delimited to camel case JavaScript Syntax * @param prop String The property to normalize */ - normalize?( prop?:string ): string; + static normalize( prop?:string ): string; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; /** [Method] Parses a number or string representing margin sizes into an object * @param box Number/String The encoded margins */ - parseBox?( box?:any ): any; - parseBox?( box?:number ): any; - parseBox?( box?:string ): any; + static parseBox( box?:any ): any; + static parseBox( box?:number ): any; + static parseBox( box?:string ): any; /** [Method] Converts a CSS string into an object with a property for each style * @param styles String A CSS string */ - parseStyles?( styles?:string ): any; + static parseStyles( styles?:string ): any; + /** [Method] Returns an array of unique class names deom the first parameter with all class names from the second parameter removed + * @param existingClsList Mixed A string of class names, or an array of class names. + * @param removeClsList Mixed A string of class names, or an array of class names to remove from existingClsList. + */ + static removeCls( existingClsList?:any, removeClsList?:any ): any[]; /** [Method] Parses a number or string representing margin sizes into an object * @param box Number/String/Object The encoded margins, or an object with top, right, bottom, and left properties * @param units String The type of units to add */ - unitizeBox?( box?:any, units?:string ): string; + static unitizeBox( box?:any, units?:string ): string; } } declare module Ext.dom { @@ -12839,17 +12398,17 @@ declare module Ext.dom { * @param returnElement Boolean true to return a Ext.Element */ append?( el?:any, o?:any, returnElement?:any ): any; - append?( el?:string, o?:any, returnElement?:bool ): HTMLElement; - append?( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - append?( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + append?( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + append?( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + append?( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and appends them to el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - append?( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - append?( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - append?( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + append?( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + append?( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + append?( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Applies a style specification to an element * @param el String/HTMLElement The element to apply styles to * @param styles String/Object/Function A style specification string e.g. 'width:100px', or object in the form {width:'100px'}, or a function which returns such a specification. @@ -12873,51 +12432,51 @@ declare module Ext.dom { * @param returnElement Boolean true to return a Ext.Element */ insertAfter?( el?:any, o?:any, returnElement?:any ): any; - insertAfter?( el?:string, o?:any, returnElement?:bool ): HTMLElement; - insertAfter?( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - insertAfter?( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + insertAfter?( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + insertAfter?( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + insertAfter?( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and inserts them after el * @param el String/HTMLElement/Ext.Element The context element * @param o Object The DOM object spec (and children) * @param returnElement Boolean true to return a Ext.Element */ - insertAfter?( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - insertAfter?( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - insertAfter?( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + insertAfter?( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + insertAfter?( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + insertAfter?( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Creates new DOM element s and inserts them before el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ insertBefore?( el?:any, o?:any, returnElement?:any ): any; - insertBefore?( el?:string, o?:any, returnElement?:bool ): HTMLElement; - insertBefore?( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - insertBefore?( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + insertBefore?( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + insertBefore?( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + insertBefore?( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and inserts them before el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - insertBefore?( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - insertBefore?( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - insertBefore?( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + insertBefore?( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + insertBefore?( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + insertBefore?( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Creates new DOM element s and inserts them as the first child of el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ insertFirst?( el?:any, o?:any, returnElement?:any ): any; - insertFirst?( el?:string, o?:any, returnElement?:bool ): HTMLElement; - insertFirst?( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - insertFirst?( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + insertFirst?( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + insertFirst?( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + insertFirst?( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and inserts them as the first child of el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - insertFirst?( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - insertFirst?( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - insertFirst?( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + insertFirst?( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + insertFirst?( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + insertFirst?( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Inserts an HTML fragment into the DOM * @param where String Where to insert the html in relation to el - beforeBegin, afterBegin, beforeEnd, afterEnd. For example take the following HTML: <div>Contents</div> Using different where values inserts element to the following places: beforeBegin: <HERE><div>Contents</div> afterBegin: <div><HERE>Contents</div> beforeEnd: <div>Contents<HERE></div> afterEnd: <div>Contents</div><HERE> * @param el HTMLElement/TextNode The context element @@ -12936,17 +12495,17 @@ declare module Ext.dom { * @param returnElement Boolean true to return a Ext.Element */ overwrite?( el?:any, o?:any, returnElement?:any ): any; - overwrite?( el?:string, o?:any, returnElement?:bool ): HTMLElement; - overwrite?( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - overwrite?( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + overwrite?( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + overwrite?( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + overwrite?( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and overwrites the contents of el with them * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - overwrite?( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - overwrite?( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - overwrite?( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + overwrite?( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + overwrite?( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + overwrite?( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; } } declare module Ext.dom { @@ -12956,9 +12515,9 @@ declare module Ext.dom { * @param selector String The simple selector to test */ is?( el?:any, selector?:any ): any; - is?( el?:string, selector?:string ): bool; - is?( el?:HTMLElement, selector?:string ): bool; - is?( el?:any[], selector?:string ): bool; + is?( el?:string, selector?:string ): boolean; + is?( el?:HTMLElement, selector?:string ): boolean; + is?( el?:any[], selector?:string ): boolean; /** [Method] Selects a group of elements * @param selector String The selector/xpath query (can be a comma separated list of selectors) * @param root HTMLElement/String The start of the query (defaults to document). @@ -12988,7 +12547,7 @@ declare module Ext.dom { /** [Property] (HTMLElement[]) */ elements?: HTMLElement[]; /** [Property] (Boolean) */ - isComposite?: bool; + isComposite?: boolean; /** [Method] Adds elements to this Composite object * @param els HTMLElement[]/Ext.dom.CompositeElement Either an Array of DOM elements to add, or another Composite object who's elements should be added. */ @@ -12998,15 +12557,15 @@ declare module Ext.dom { /** [Method] Removes all elements from this Composite * @param removeDom Boolean True to also remove the elements from the document. */ - clear?( removeDom?:bool ): void; + clear?( removeDom?:boolean ): void; /** [Method] Returns true if this composite contains the passed element * @param el String/HTMLElement/Ext.Element/Number The id of an element, or an Ext.Element, or an HtmlElement to find within the composite collection. */ contains?( el?:any ): any; - contains?( el?:string ): bool; - contains?( el?:HTMLElement ): bool; - contains?( el?:Ext.IElement ): bool; - contains?( el?:number ): bool; + contains?( el?:string ): boolean; + contains?( el?:HTMLElement ): boolean; + contains?( el?:Ext.IElement ): boolean; + contains?( el?:number ): boolean; /** [Method] Calls the passed function for each element in this composite * @param fn Function The function to call. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the Element. @@ -13046,24 +12605,24 @@ declare module Ext.dom { * @param removeDom Boolean True to also remove the element from the document. */ removeElement?( el?:any, removeDom?:any ): any; - removeElement?( el?:string, removeDom?:bool ): Ext.dom.ICompositeElement; - removeElement?( el?:HTMLElement, removeDom?:bool ): Ext.dom.ICompositeElement; - removeElement?( el?:Ext.IElement, removeDom?:bool ): Ext.dom.ICompositeElement; - removeElement?( el?:number, removeDom?:bool ): Ext.dom.ICompositeElement; + removeElement?( el?:string, removeDom?:boolean ): Ext.dom.ICompositeElement; + removeElement?( el?:HTMLElement, removeDom?:boolean ): Ext.dom.ICompositeElement; + removeElement?( el?:Ext.IElement, removeDom?:boolean ): Ext.dom.ICompositeElement; + removeElement?( el?:number, removeDom?:boolean ): Ext.dom.ICompositeElement; /** [Method] Replaces the specified element with the passed element * @param el String/HTMLElement/Ext.Element/Number The id of an element, the Element itself, the index of the element in this composite to replace. * @param replacement String/Ext.Element The id of an element or the Element itself. * @param domReplace Boolean True to remove and replace the element in the document too. */ replaceElement?( el?:any, replacement?:any, domReplace?:any ): any; - replaceElement?( el?:string, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElement; - replaceElement?( el?:HTMLElement, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElement; - replaceElement?( el?:Ext.IElement, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElement; - replaceElement?( el?:number, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElement; - replaceElement?( el?:string, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElement; - replaceElement?( el?:HTMLElement, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElement; - replaceElement?( el?:Ext.IElement, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElement; - replaceElement?( el?:number, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElement; + replaceElement?( el?:string, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElement; + replaceElement?( el?:HTMLElement, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElement; + replaceElement?( el?:Ext.IElement, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElement; + replaceElement?( el?:number, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElement; + replaceElement?( el?:string, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElement; + replaceElement?( el?:HTMLElement, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElement; + replaceElement?( el?:Ext.IElement, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElement; + replaceElement?( el?:number, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElement; /** [Method] Gets a range nodes * @param start Number The index of the first node in the range * @param end Number The index of the last node in the range @@ -13076,7 +12635,7 @@ declare module Ext { /** [Property] (HTMLElement[]) */ elements?: HTMLElement[]; /** [Property] (Boolean) */ - isComposite?: bool; + isComposite?: boolean; /** [Method] Adds elements to this Composite object * @param els HTMLElement[]/Ext.dom.CompositeElement Either an Array of DOM elements to add, or another Composite object who's elements should be added. */ @@ -13086,15 +12645,15 @@ declare module Ext { /** [Method] Removes all elements from this Composite * @param removeDom Boolean True to also remove the elements from the document. */ - clear?( removeDom?:bool ): void; + clear?( removeDom?:boolean ): void; /** [Method] Returns true if this composite contains the passed element * @param el String/HTMLElement/Ext.Element/Number The id of an element, or an Ext.Element, or an HtmlElement to find within the composite collection. */ contains?( el?:any ): any; - contains?( el?:string ): bool; - contains?( el?:HTMLElement ): bool; - contains?( el?:Ext.IElement ): bool; - contains?( el?:number ): bool; + contains?( el?:string ): boolean; + contains?( el?:HTMLElement ): boolean; + contains?( el?:Ext.IElement ): boolean; + contains?( el?:number ): boolean; /** [Method] Calls the passed function for each element in this composite * @param fn Function The function to call. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the Element. @@ -13134,24 +12693,24 @@ declare module Ext { * @param removeDom Boolean True to also remove the element from the document. */ removeElement?( el?:any, removeDom?:any ): any; - removeElement?( el?:string, removeDom?:bool ): Ext.dom.ICompositeElement; - removeElement?( el?:HTMLElement, removeDom?:bool ): Ext.dom.ICompositeElement; - removeElement?( el?:Ext.IElement, removeDom?:bool ): Ext.dom.ICompositeElement; - removeElement?( el?:number, removeDom?:bool ): Ext.dom.ICompositeElement; + removeElement?( el?:string, removeDom?:boolean ): Ext.dom.ICompositeElement; + removeElement?( el?:HTMLElement, removeDom?:boolean ): Ext.dom.ICompositeElement; + removeElement?( el?:Ext.IElement, removeDom?:boolean ): Ext.dom.ICompositeElement; + removeElement?( el?:number, removeDom?:boolean ): Ext.dom.ICompositeElement; /** [Method] Replaces the specified element with the passed element * @param el String/HTMLElement/Ext.Element/Number The id of an element, the Element itself, the index of the element in this composite to replace. * @param replacement String/Ext.Element The id of an element or the Element itself. * @param domReplace Boolean True to remove and replace the element in the document too. */ replaceElement?( el?:any, replacement?:any, domReplace?:any ): any; - replaceElement?( el?:string, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElement; - replaceElement?( el?:HTMLElement, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElement; - replaceElement?( el?:Ext.IElement, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElement; - replaceElement?( el?:number, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElement; - replaceElement?( el?:string, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElement; - replaceElement?( el?:HTMLElement, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElement; - replaceElement?( el?:Ext.IElement, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElement; - replaceElement?( el?:number, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElement; + replaceElement?( el?:string, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElement; + replaceElement?( el?:HTMLElement, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElement; + replaceElement?( el?:Ext.IElement, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElement; + replaceElement?( el?:number, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElement; + replaceElement?( el?:string, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElement; + replaceElement?( el?:HTMLElement, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElement; + replaceElement?( el?:Ext.IElement, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElement; + replaceElement?( el?:number, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElement; /** [Method] Gets a range nodes * @param start Number The index of the first node in the range * @param end Number The index of the last node in the range @@ -13162,19 +12721,19 @@ declare module Ext { declare module Ext.dom.element { export interface IFly extends Ext.dom.IElement { /** [Property] (Boolean) */ - isFly?: bool; + isFly?: boolean; } } declare module Ext.dom.abstractelement { export interface IFly extends Ext.dom.IElement { /** [Property] (Boolean) */ - isFly?: bool; + isFly?: boolean; } } declare module Ext.dom { export interface IElement extends Ext.dom.IAbstractElement { /** [Property] (Boolean) */ - autoBoxAdjust?: bool; + autoBoxAdjust?: boolean; /** [Property] (String) */ originalDisplay?: string; /** [Method] Sets up event handlers to add and remove a css class when the mouse is down and then up on this element a click effe @@ -13234,7 +12793,7 @@ declare module Ext.dom { /** [Method] Removes Empty or whitespace filled text nodes * @param forceReclean Boolean By default the element keeps track if it has been cleaned already so you can call this over and over. However, if you update the element and need to force a reclean, you can pass true. */ - clean?( forceReclean?:bool ): void; + clean?( forceReclean?:boolean ): void; /** [Method] Alias for removeAllListeners */ clearListeners?(): Ext.dom.IElement; /** [Method] Clears any opacity settings from this element */ @@ -13251,8 +12810,8 @@ declare module Ext.dom { * @param matchBox Boolean True to align and size the proxy to this element now. */ createProxy?( config?:any, renderTo?:any, matchBox?:any ): any; - createProxy?( config?:any, renderTo?:string, matchBox?:bool ): Ext.dom.IElement; - createProxy?( config?:any, renderTo?:HTMLElement, matchBox?:bool ): Ext.dom.IElement; + createProxy?( config?:any, renderTo?:string, matchBox?:boolean ): Ext.dom.IElement; + createProxy?( config?:any, renderTo?:HTMLElement, matchBox?:boolean ): Ext.dom.IElement; /** [Method] Creates an iframe shim for this element to keep selects and other windowed objects from showing through */ createShim?(): Ext.dom.IElement; /** [Method] Convenience method for setVisibilityMode Element DISPLAY @@ -13272,7 +12831,7 @@ declare module Ext.dom { */ focus?( defer?:number ): Ext.dom.IElement; /** [Method] Alias for isFocusable */ - focusable?(): bool; + focusable?(): boolean; /** [Method] Shows a ripple of exploding attenuating borders to draw attention to an Element * @param color String The hex color value for the border. * @param count Number The number of ripples to display. @@ -13287,7 +12846,7 @@ declare module Ext.dom { /** [Method] Gets the bottom Y coordinate of the element element Y position element height Defined in override Ext dom Elemen * @param local Boolean True to get the local css position instead of page coordinate */ - getBottom?( local?:bool ): number; + getBottom?( local?:boolean ): number; /** [Method] Calculates the x y to center this element on the screen Defined in override Ext dom Element_position */ getCenterXY?(): number[]; /** [Method] Return the CSS color for the specified CSS attribute @@ -13307,7 +12866,7 @@ declare module Ext.dom { /** [Method] Gets the left X coordinate Defined in override Ext dom Element_position * @param local Boolean True to get the local css position instead of page coordinate */ - getLeft?( local?:bool ): number; + getLeft?( local?:boolean ): number; /** [Method] Gets this element s ElementLoader */ getLoader?(): Ext.IElementLoader; /** [Method] Gets the local CSS X position for the element Defined in override Ext dom Element_position */ @@ -13319,15 +12878,15 @@ declare module Ext.dom { /** [Method] Returns an object defining the area of this Element which can be passed to Ext util Positionable setBox to set anothe * @param asRegion Boolean If true an Ext.util.Region will be returned */ - getPageBox?( asRegion?:bool ): any; + getPageBox?( asRegion?:boolean ): any; /** [Method] Gets an object with all CSS positioning properties * @param autoPx Boolean true to return pixel values for "auto" styles. */ - getPositioning?( autoPx?:bool ): any; + getPositioning?( autoPx?:boolean ): any; /** [Method] Gets the right X coordinate of the element element X position element width Defined in override Ext dom Element_ * @param local Boolean True to get the local css position instead of page coordinates */ - getRight?( local?:bool ): number; + getRight?( local?:boolean ): number; /** [Method] Returns the current scroll position of the element */ getScroll?(): any; /** [Method] Gets the left scroll position Defined in override Ext dom Element_scroll */ @@ -13345,7 +12904,7 @@ declare module Ext.dom { /** [Method] Gets the top Y coordinate Defined in override Ext dom Element_position * @param local Boolean True to get the local css position instead of page coordinates */ - getTop?( local?:bool ): number; + getTop?( local?:boolean ): number; /** [Method] Gets element X position in page coordinates Defined in override Ext dom Element_position */ getX?(): number; /** [Method] Gets element X and Y positions in page coordinates Defined in override Ext dom Element_position */ @@ -13392,21 +12951,21 @@ declare module Ext.dom { */ initDDTarget?( group?:string, config?:any, overrides?:any ): Ext.dd.IDDTarget; /** [Method] Tests various css rules browsers to determine if this element uses a border box */ - isBorderBox?(): bool; + isBorderBox?(): boolean; /** [Method] Returns true if display is not none */ - isDisplayed?(): bool; + isDisplayed?(): boolean; /** [Method] Checks whether this element can be focused * @param asFocusEl Object */ - isFocusable?( asFocusEl?:any ): bool; + isFocusable?( asFocusEl?:any ): boolean; /** [Method] Returns true if this element is masked */ - isMasked?(): bool; + isMasked?(): boolean; /** [Method] Returns true if this element is scrollable */ - isScrollable?(): bool; + isScrollable?(): boolean; /** [Method] Checks whether the element is currently visible using both visibility and display properties * @param deep Boolean True to walk the dom and see if parent elements are hidden. If false, the function only checks the visibility of the element itself and it may return true even though a parent is not visible. */ - isVisible?( deep?:bool ): bool; + isVisible?( deep?:boolean ): boolean; /** [Method] Direct access to the Ext ElementLoader Ext ElementLoader load method * @param options Object */ @@ -13478,7 +13037,7 @@ declare module Ext.dom { * @param distance Number How far to scroll the element in pixels * @param animate Boolean/Object true for the default animation or a standard Element animation config object */ - scroll?( direction?:string, distance?:number, animate?:any ): bool; + scroll?( direction?:string, distance?:number, animate?:any ): boolean; /** [Method] Scrolls this element by the passed delta values optionally animating * @param deltaX Number/Number[]/Object Either the x delta, an Array specifying x and y deltas or an object with "x" and "y" properties. * @param deltaY Number/Boolean/Object Either the y delta, or an animate flag or config object. @@ -13492,9 +13051,9 @@ declare module Ext.dom { * @param highlight Boolean true to highlight the element when it is in view. animation config object */ scrollIntoView?( container?:any, hscroll?:any, animate?:any, highlight?:any ): any; - scrollIntoView?( container?:string, hscroll?:bool, animate?:any, highlight?:bool ): Ext.dom.IElement; - scrollIntoView?( container?:HTMLElement, hscroll?:bool, animate?:any, highlight?:bool ): Ext.dom.IElement; - scrollIntoView?( container?:Ext.IElement, hscroll?:bool, animate?:any, highlight?:bool ): Ext.dom.IElement; + scrollIntoView?( container?:string, hscroll?:boolean, animate?:any, highlight?:boolean ): Ext.dom.IElement; + scrollIntoView?( container?:HTMLElement, hscroll?:boolean, animate?:any, highlight?:boolean ): Ext.dom.IElement; + scrollIntoView?( container?:Ext.IElement, hscroll?:boolean, animate?:any, highlight?:boolean ): Ext.dom.IElement; /** [Method] Scrolls this element the specified scroll point * @param side String Either "left" for scrollLeft values or "top" for scrollTop values. * @param value Number The new scroll value @@ -13525,7 +13084,7 @@ declare module Ext.dom { * @param value Boolean/String Boolean value to display the element using its default display, or a string to set the display directly. */ setDisplayed?( value?:any ): any; - setDisplayed?( value?:bool ): Ext.dom.IElement; + setDisplayed?( value?:boolean ): Ext.dom.IElement; setDisplayed?( value?:string ): Ext.dom.IElement; /** [Method] Sets the element s left position directly using CSS style instead of setX * @param left Number/String Number of pixels or CSS string value to set as the left CSS property value @@ -13581,7 +13140,7 @@ declare module Ext.dom { * @param visible Boolean Whether the element is visible * @param animate Boolean/Object True for the default animation, or a standard Element animation config object */ - setVisible?( visible?:bool, animate?:any ): Ext.dom.IElement; + setVisible?( visible?:boolean, animate?:any ): Ext.dom.IElement; /** [Method] Animates the transition of any combination of an element s dimensions xy position and or opacity * @param options Object Object literal with any of the Ext.fx.Anim config options */ @@ -13605,8 +13164,8 @@ declare module Ext.dom { * @param preventDefault Boolean true to prevent the default action too */ swallowEvent?( eventName?:any, preventDefault?:any ): any; - swallowEvent?( eventName?:string, preventDefault?:bool ): Ext.dom.IElement; - swallowEvent?( eventName?:string[], preventDefault?:bool ): Ext.dom.IElement; + swallowEvent?( eventName?:string, preventDefault?:boolean ): Ext.dom.IElement; + swallowEvent?( eventName?:string[], preventDefault?:boolean ): Ext.dom.IElement; /** [Method] Blinks the element as if it was clicked and then collapses on its center similar to switching off a television * @param options Object Object literal with any of the Ext.fx.Anim config options */ @@ -13632,13 +13191,110 @@ declare module Ext.dom { * @param loadScripts Boolean True to look for and process scripts (defaults to false) * @param callback Function For async script loading you can be notified when the update completes */ - update?( html?:string, loadScripts?:bool, callback?:any ): Ext.dom.IElement; + update?( html?:string, loadScripts?:boolean, callback?:any ): Ext.dom.IElement; + } + export class Element { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; + /** [Method] Returns the top Element that is located at the passed coordinates Defined in override Ext dom AbstractElement_static + * @param x Number The x coordinate + * @param y Number The y coordinate + */ + static fromPoint( x?:number, y?:number ): string; + /** [Method] Retrieves Ext dom Element objects + * @param el String/HTMLElement/Ext.Element The id of the node, a DOM Node or an existing Element. + */ + static get( el?:any ): any; + static get( el?:string ): Ext.dom.IElement; + static get( el?:HTMLElement ): Ext.dom.IElement; + static get( el?:Ext.IElement ): Ext.dom.IElement; + /** [Method] Retrieves the document height Defined in override Ext dom AbstractElement_static */ + static getDocumentHeight(): number; + /** [Method] Retrieves the document width Defined in override Ext dom AbstractElement_static */ + static getDocumentWidth(): number; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Retrieves the current orientation of the window */ + static getOrientation(): string; + /** [Method] Retrieves the viewport size of the window */ + static getViewSize(): any; + /** [Method] Retrieves the viewport height of the window */ + static getViewportHeight(): number; + /** [Method] Retrieves the viewport width of the window */ + static getViewportWidth(): number; + /** [Method] Adds members to class */ + static implement(): void; + /** [Method] Returns an array of unique class names based upon the input strings or string arrays + * @param clsList1 Mixed A string of class names, or an array of class names. + * @param clsList2 Mixed A string of class names, or an array of class names. + */ + static mergeClsList( clsList1?:any, clsList2?:any ): any[]; + /** [Method] Normalizes CSS property keys from dash delimited to camel case JavaScript Syntax + * @param prop String The property to normalize + */ + static normalize( prop?:string ): string; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; + /** [Method] Parses a number or string representing margin sizes into an object + * @param box Number/String The encoded margins + */ + static parseBox( box?:any ): any; + static parseBox( box?:number ): any; + static parseBox( box?:string ): any; + /** [Method] Converts a CSS string into an object with a property for each style + * @param styles String A CSS string + */ + static parseStyles( styles?:string ): any; + /** [Method] Returns an array of unique class names deom the first parameter with all class names from the second parameter removed + * @param existingClsList Mixed A string of class names, or an array of class names. + * @param removeClsList Mixed A string of class names, or an array of class names to remove from existingClsList. + */ + static removeCls( existingClsList?:any, removeClsList?:any ): any[]; + /** [Method] Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in + * @param selector String/HTMLElement[] The CSS selector or an array of elements + * @param unique Boolean true to create a unique Ext.Element for each element (defaults to a shared flyweight object) + * @param root HTMLElement/String The root element of the query or id of the root + */ + static select( selector?:any, unique?:any, root?:any ): any; + static select( selector?:string, unique?:boolean, root?:HTMLElement ): Ext.ICompositeElementLite; + static select( selector?:HTMLElement[], unique?:boolean, root?:HTMLElement ): Ext.ICompositeElementLite; + static select( selector?:string, unique?:boolean, root?:string ): Ext.ICompositeElementLite; + static select( selector?:HTMLElement[], unique?:boolean, root?:string ): Ext.ICompositeElementLite; + /** [Method] Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in + * @param selector String/HTMLElement[] The CSS selector or an array of elements + * @param unique Boolean true to create a unique Ext.Element for each element (defaults to a shared flyweight object) + * @param root HTMLElement/String The root element of the query or id of the root + */ + static select( selector?:string, unique?:boolean, root?:HTMLElement ): Ext.ICompositeElement; + static select( selector?:HTMLElement[], unique?:boolean, root?:HTMLElement ): Ext.ICompositeElement; + static select( selector?:string, unique?:boolean, root?:string ): Ext.ICompositeElement; + static select( selector?:HTMLElement[], unique?:boolean, root?:string ): Ext.ICompositeElement; + /** [Method] Parses a number or string representing margin sizes into an object + * @param box Number/String/Object The encoded margins, or an object with top, right, bottom, and left properties + * @param units String The type of units to add + */ + static unitizeBox( box?:any, units?:string ): string; } } declare module Ext { export interface IElement extends Ext.dom.IAbstractElement { /** [Property] (Boolean) */ - autoBoxAdjust?: bool; + autoBoxAdjust?: boolean; /** [Property] (String) */ originalDisplay?: string; /** [Method] Sets up event handlers to add and remove a css class when the mouse is down and then up on this element a click effe @@ -13698,7 +13354,7 @@ declare module Ext { /** [Method] Removes Empty or whitespace filled text nodes * @param forceReclean Boolean By default the element keeps track if it has been cleaned already so you can call this over and over. However, if you update the element and need to force a reclean, you can pass true. */ - clean?( forceReclean?:bool ): void; + clean?( forceReclean?:boolean ): void; /** [Method] Alias for removeAllListeners */ clearListeners?(): Ext.dom.IElement; /** [Method] Clears any opacity settings from this element */ @@ -13715,8 +13371,8 @@ declare module Ext { * @param matchBox Boolean True to align and size the proxy to this element now. */ createProxy?( config?:any, renderTo?:any, matchBox?:any ): any; - createProxy?( config?:any, renderTo?:string, matchBox?:bool ): Ext.dom.IElement; - createProxy?( config?:any, renderTo?:HTMLElement, matchBox?:bool ): Ext.dom.IElement; + createProxy?( config?:any, renderTo?:string, matchBox?:boolean ): Ext.dom.IElement; + createProxy?( config?:any, renderTo?:HTMLElement, matchBox?:boolean ): Ext.dom.IElement; /** [Method] Creates an iframe shim for this element to keep selects and other windowed objects from showing through */ createShim?(): Ext.dom.IElement; /** [Method] Convenience method for setVisibilityMode Element DISPLAY @@ -13736,7 +13392,7 @@ declare module Ext { */ focus?( defer?:number ): Ext.dom.IElement; /** [Method] Alias for isFocusable */ - focusable?(): bool; + focusable?(): boolean; /** [Method] Shows a ripple of exploding attenuating borders to draw attention to an Element * @param color String The hex color value for the border. * @param count Number The number of ripples to display. @@ -13751,7 +13407,7 @@ declare module Ext { /** [Method] Gets the bottom Y coordinate of the element element Y position element height Defined in override Ext dom Elemen * @param local Boolean True to get the local css position instead of page coordinate */ - getBottom?( local?:bool ): number; + getBottom?( local?:boolean ): number; /** [Method] Calculates the x y to center this element on the screen Defined in override Ext dom Element_position */ getCenterXY?(): number[]; /** [Method] Return the CSS color for the specified CSS attribute @@ -13771,7 +13427,7 @@ declare module Ext { /** [Method] Gets the left X coordinate Defined in override Ext dom Element_position * @param local Boolean True to get the local css position instead of page coordinate */ - getLeft?( local?:bool ): number; + getLeft?( local?:boolean ): number; /** [Method] Gets this element s ElementLoader */ getLoader?(): Ext.IElementLoader; /** [Method] Gets the local CSS X position for the element Defined in override Ext dom Element_position */ @@ -13783,15 +13439,15 @@ declare module Ext { /** [Method] Returns an object defining the area of this Element which can be passed to Ext util Positionable setBox to set anothe * @param asRegion Boolean If true an Ext.util.Region will be returned */ - getPageBox?( asRegion?:bool ): any; + getPageBox?( asRegion?:boolean ): any; /** [Method] Gets an object with all CSS positioning properties * @param autoPx Boolean true to return pixel values for "auto" styles. */ - getPositioning?( autoPx?:bool ): any; + getPositioning?( autoPx?:boolean ): any; /** [Method] Gets the right X coordinate of the element element X position element width Defined in override Ext dom Element_ * @param local Boolean True to get the local css position instead of page coordinates */ - getRight?( local?:bool ): number; + getRight?( local?:boolean ): number; /** [Method] Returns the current scroll position of the element */ getScroll?(): any; /** [Method] Gets the left scroll position Defined in override Ext dom Element_scroll */ @@ -13809,7 +13465,7 @@ declare module Ext { /** [Method] Gets the top Y coordinate Defined in override Ext dom Element_position * @param local Boolean True to get the local css position instead of page coordinates */ - getTop?( local?:bool ): number; + getTop?( local?:boolean ): number; /** [Method] Gets element X position in page coordinates Defined in override Ext dom Element_position */ getX?(): number; /** [Method] Gets element X and Y positions in page coordinates Defined in override Ext dom Element_position */ @@ -13856,21 +13512,21 @@ declare module Ext { */ initDDTarget?( group?:string, config?:any, overrides?:any ): Ext.dd.IDDTarget; /** [Method] Tests various css rules browsers to determine if this element uses a border box */ - isBorderBox?(): bool; + isBorderBox?(): boolean; /** [Method] Returns true if display is not none */ - isDisplayed?(): bool; + isDisplayed?(): boolean; /** [Method] Checks whether this element can be focused * @param asFocusEl Object */ - isFocusable?( asFocusEl?:any ): bool; + isFocusable?( asFocusEl?:any ): boolean; /** [Method] Returns true if this element is masked */ - isMasked?(): bool; + isMasked?(): boolean; /** [Method] Returns true if this element is scrollable */ - isScrollable?(): bool; + isScrollable?(): boolean; /** [Method] Checks whether the element is currently visible using both visibility and display properties * @param deep Boolean True to walk the dom and see if parent elements are hidden. If false, the function only checks the visibility of the element itself and it may return true even though a parent is not visible. */ - isVisible?( deep?:bool ): bool; + isVisible?( deep?:boolean ): boolean; /** [Method] Direct access to the Ext ElementLoader Ext ElementLoader load method * @param options Object */ @@ -13942,7 +13598,7 @@ declare module Ext { * @param distance Number How far to scroll the element in pixels * @param animate Boolean/Object true for the default animation or a standard Element animation config object */ - scroll?( direction?:string, distance?:number, animate?:any ): bool; + scroll?( direction?:string, distance?:number, animate?:any ): boolean; /** [Method] Scrolls this element by the passed delta values optionally animating * @param deltaX Number/Number[]/Object Either the x delta, an Array specifying x and y deltas or an object with "x" and "y" properties. * @param deltaY Number/Boolean/Object Either the y delta, or an animate flag or config object. @@ -13956,9 +13612,9 @@ declare module Ext { * @param highlight Boolean true to highlight the element when it is in view. animation config object */ scrollIntoView?( container?:any, hscroll?:any, animate?:any, highlight?:any ): any; - scrollIntoView?( container?:string, hscroll?:bool, animate?:any, highlight?:bool ): Ext.dom.IElement; - scrollIntoView?( container?:HTMLElement, hscroll?:bool, animate?:any, highlight?:bool ): Ext.dom.IElement; - scrollIntoView?( container?:Ext.IElement, hscroll?:bool, animate?:any, highlight?:bool ): Ext.dom.IElement; + scrollIntoView?( container?:string, hscroll?:boolean, animate?:any, highlight?:boolean ): Ext.dom.IElement; + scrollIntoView?( container?:HTMLElement, hscroll?:boolean, animate?:any, highlight?:boolean ): Ext.dom.IElement; + scrollIntoView?( container?:Ext.IElement, hscroll?:boolean, animate?:any, highlight?:boolean ): Ext.dom.IElement; /** [Method] Scrolls this element the specified scroll point * @param side String Either "left" for scrollLeft values or "top" for scrollTop values. * @param value Number The new scroll value @@ -13989,7 +13645,7 @@ declare module Ext { * @param value Boolean/String Boolean value to display the element using its default display, or a string to set the display directly. */ setDisplayed?( value?:any ): any; - setDisplayed?( value?:bool ): Ext.dom.IElement; + setDisplayed?( value?:boolean ): Ext.dom.IElement; setDisplayed?( value?:string ): Ext.dom.IElement; /** [Method] Sets the element s left position directly using CSS style instead of setX * @param left Number/String Number of pixels or CSS string value to set as the left CSS property value @@ -14045,7 +13701,7 @@ declare module Ext { * @param visible Boolean Whether the element is visible * @param animate Boolean/Object True for the default animation, or a standard Element animation config object */ - setVisible?( visible?:bool, animate?:any ): Ext.dom.IElement; + setVisible?( visible?:boolean, animate?:any ): Ext.dom.IElement; /** [Method] Animates the transition of any combination of an element s dimensions xy position and or opacity * @param options Object Object literal with any of the Ext.fx.Anim config options */ @@ -14069,8 +13725,8 @@ declare module Ext { * @param preventDefault Boolean true to prevent the default action too */ swallowEvent?( eventName?:any, preventDefault?:any ): any; - swallowEvent?( eventName?:string, preventDefault?:bool ): Ext.dom.IElement; - swallowEvent?( eventName?:string[], preventDefault?:bool ): Ext.dom.IElement; + swallowEvent?( eventName?:string, preventDefault?:boolean ): Ext.dom.IElement; + swallowEvent?( eventName?:string[], preventDefault?:boolean ): Ext.dom.IElement; /** [Method] Blinks the element as if it was clicked and then collapses on its center similar to switching off a television * @param options Object Object literal with any of the Ext.fx.Anim config options */ @@ -14096,13 +13752,110 @@ declare module Ext { * @param loadScripts Boolean True to look for and process scripts (defaults to false) * @param callback Function For async script loading you can be notified when the update completes */ - update?( html?:string, loadScripts?:bool, callback?:any ): Ext.dom.IElement; + update?( html?:string, loadScripts?:boolean, callback?:any ): Ext.dom.IElement; + } + export class Element { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; + /** [Method] Returns the top Element that is located at the passed coordinates Defined in override Ext dom AbstractElement_static + * @param x Number The x coordinate + * @param y Number The y coordinate + */ + static fromPoint( x?:number, y?:number ): string; + /** [Method] Retrieves Ext dom Element objects + * @param el String/HTMLElement/Ext.Element The id of the node, a DOM Node or an existing Element. + */ + static get( el?:any ): any; + static get( el?:string ): Ext.dom.IElement; + static get( el?:HTMLElement ): Ext.dom.IElement; + static get( el?:Ext.IElement ): Ext.dom.IElement; + /** [Method] Retrieves the document height Defined in override Ext dom AbstractElement_static */ + static getDocumentHeight(): number; + /** [Method] Retrieves the document width Defined in override Ext dom AbstractElement_static */ + static getDocumentWidth(): number; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Retrieves the current orientation of the window */ + static getOrientation(): string; + /** [Method] Retrieves the viewport size of the window */ + static getViewSize(): any; + /** [Method] Retrieves the viewport height of the window */ + static getViewportHeight(): number; + /** [Method] Retrieves the viewport width of the window */ + static getViewportWidth(): number; + /** [Method] Adds members to class */ + static implement(): void; + /** [Method] Returns an array of unique class names based upon the input strings or string arrays + * @param clsList1 Mixed A string of class names, or an array of class names. + * @param clsList2 Mixed A string of class names, or an array of class names. + */ + static mergeClsList( clsList1?:any, clsList2?:any ): any[]; + /** [Method] Normalizes CSS property keys from dash delimited to camel case JavaScript Syntax + * @param prop String The property to normalize + */ + static normalize( prop?:string ): string; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; + /** [Method] Parses a number or string representing margin sizes into an object + * @param box Number/String The encoded margins + */ + static parseBox( box?:any ): any; + static parseBox( box?:number ): any; + static parseBox( box?:string ): any; + /** [Method] Converts a CSS string into an object with a property for each style + * @param styles String A CSS string + */ + static parseStyles( styles?:string ): any; + /** [Method] Returns an array of unique class names deom the first parameter with all class names from the second parameter removed + * @param existingClsList Mixed A string of class names, or an array of class names. + * @param removeClsList Mixed A string of class names, or an array of class names to remove from existingClsList. + */ + static removeCls( existingClsList?:any, removeClsList?:any ): any[]; + /** [Method] Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in + * @param selector String/HTMLElement[] The CSS selector or an array of elements + * @param unique Boolean true to create a unique Ext.Element for each element (defaults to a shared flyweight object) + * @param root HTMLElement/String The root element of the query or id of the root + */ + static select( selector?:any, unique?:any, root?:any ): any; + static select( selector?:string, unique?:boolean, root?:HTMLElement ): Ext.ICompositeElementLite; + static select( selector?:HTMLElement[], unique?:boolean, root?:HTMLElement ): Ext.ICompositeElementLite; + static select( selector?:string, unique?:boolean, root?:string ): Ext.ICompositeElementLite; + static select( selector?:HTMLElement[], unique?:boolean, root?:string ): Ext.ICompositeElementLite; + /** [Method] Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in + * @param selector String/HTMLElement[] The CSS selector or an array of elements + * @param unique Boolean true to create a unique Ext.Element for each element (defaults to a shared flyweight object) + * @param root HTMLElement/String The root element of the query or id of the root + */ + static select( selector?:string, unique?:boolean, root?:HTMLElement ): Ext.ICompositeElement; + static select( selector?:HTMLElement[], unique?:boolean, root?:HTMLElement ): Ext.ICompositeElement; + static select( selector?:string, unique?:boolean, root?:string ): Ext.ICompositeElement; + static select( selector?:HTMLElement[], unique?:boolean, root?:string ): Ext.ICompositeElement; + /** [Method] Parses a number or string representing margin sizes into an object + * @param box Number/String/Object The encoded margins, or an object with top, right, bottom, and left properties + * @param units String The type of units to add + */ + static unitizeBox( box?:any, units?:string ): string; } } declare module Ext.core { export interface IElement extends Ext.dom.IAbstractElement { /** [Property] (Boolean) */ - autoBoxAdjust?: bool; + autoBoxAdjust?: boolean; /** [Property] (String) */ originalDisplay?: string; /** [Method] Sets up event handlers to add and remove a css class when the mouse is down and then up on this element a click effe @@ -14162,7 +13915,7 @@ declare module Ext.core { /** [Method] Removes Empty or whitespace filled text nodes * @param forceReclean Boolean By default the element keeps track if it has been cleaned already so you can call this over and over. However, if you update the element and need to force a reclean, you can pass true. */ - clean?( forceReclean?:bool ): void; + clean?( forceReclean?:boolean ): void; /** [Method] Alias for removeAllListeners */ clearListeners?(): Ext.dom.IElement; /** [Method] Clears any opacity settings from this element */ @@ -14179,8 +13932,8 @@ declare module Ext.core { * @param matchBox Boolean True to align and size the proxy to this element now. */ createProxy?( config?:any, renderTo?:any, matchBox?:any ): any; - createProxy?( config?:any, renderTo?:string, matchBox?:bool ): Ext.dom.IElement; - createProxy?( config?:any, renderTo?:HTMLElement, matchBox?:bool ): Ext.dom.IElement; + createProxy?( config?:any, renderTo?:string, matchBox?:boolean ): Ext.dom.IElement; + createProxy?( config?:any, renderTo?:HTMLElement, matchBox?:boolean ): Ext.dom.IElement; /** [Method] Creates an iframe shim for this element to keep selects and other windowed objects from showing through */ createShim?(): Ext.dom.IElement; /** [Method] Convenience method for setVisibilityMode Element DISPLAY @@ -14200,7 +13953,7 @@ declare module Ext.core { */ focus?( defer?:number ): Ext.dom.IElement; /** [Method] Alias for isFocusable */ - focusable?(): bool; + focusable?(): boolean; /** [Method] Shows a ripple of exploding attenuating borders to draw attention to an Element * @param color String The hex color value for the border. * @param count Number The number of ripples to display. @@ -14215,7 +13968,7 @@ declare module Ext.core { /** [Method] Gets the bottom Y coordinate of the element element Y position element height Defined in override Ext dom Elemen * @param local Boolean True to get the local css position instead of page coordinate */ - getBottom?( local?:bool ): number; + getBottom?( local?:boolean ): number; /** [Method] Calculates the x y to center this element on the screen Defined in override Ext dom Element_position */ getCenterXY?(): number[]; /** [Method] Return the CSS color for the specified CSS attribute @@ -14235,7 +13988,7 @@ declare module Ext.core { /** [Method] Gets the left X coordinate Defined in override Ext dom Element_position * @param local Boolean True to get the local css position instead of page coordinate */ - getLeft?( local?:bool ): number; + getLeft?( local?:boolean ): number; /** [Method] Gets this element s ElementLoader */ getLoader?(): Ext.IElementLoader; /** [Method] Gets the local CSS X position for the element Defined in override Ext dom Element_position */ @@ -14247,15 +14000,15 @@ declare module Ext.core { /** [Method] Returns an object defining the area of this Element which can be passed to Ext util Positionable setBox to set anothe * @param asRegion Boolean If true an Ext.util.Region will be returned */ - getPageBox?( asRegion?:bool ): any; + getPageBox?( asRegion?:boolean ): any; /** [Method] Gets an object with all CSS positioning properties * @param autoPx Boolean true to return pixel values for "auto" styles. */ - getPositioning?( autoPx?:bool ): any; + getPositioning?( autoPx?:boolean ): any; /** [Method] Gets the right X coordinate of the element element X position element width Defined in override Ext dom Element_ * @param local Boolean True to get the local css position instead of page coordinates */ - getRight?( local?:bool ): number; + getRight?( local?:boolean ): number; /** [Method] Returns the current scroll position of the element */ getScroll?(): any; /** [Method] Gets the left scroll position Defined in override Ext dom Element_scroll */ @@ -14273,7 +14026,7 @@ declare module Ext.core { /** [Method] Gets the top Y coordinate Defined in override Ext dom Element_position * @param local Boolean True to get the local css position instead of page coordinates */ - getTop?( local?:bool ): number; + getTop?( local?:boolean ): number; /** [Method] Gets element X position in page coordinates Defined in override Ext dom Element_position */ getX?(): number; /** [Method] Gets element X and Y positions in page coordinates Defined in override Ext dom Element_position */ @@ -14320,21 +14073,21 @@ declare module Ext.core { */ initDDTarget?( group?:string, config?:any, overrides?:any ): Ext.dd.IDDTarget; /** [Method] Tests various css rules browsers to determine if this element uses a border box */ - isBorderBox?(): bool; + isBorderBox?(): boolean; /** [Method] Returns true if display is not none */ - isDisplayed?(): bool; + isDisplayed?(): boolean; /** [Method] Checks whether this element can be focused * @param asFocusEl Object */ - isFocusable?( asFocusEl?:any ): bool; + isFocusable?( asFocusEl?:any ): boolean; /** [Method] Returns true if this element is masked */ - isMasked?(): bool; + isMasked?(): boolean; /** [Method] Returns true if this element is scrollable */ - isScrollable?(): bool; + isScrollable?(): boolean; /** [Method] Checks whether the element is currently visible using both visibility and display properties * @param deep Boolean True to walk the dom and see if parent elements are hidden. If false, the function only checks the visibility of the element itself and it may return true even though a parent is not visible. */ - isVisible?( deep?:bool ): bool; + isVisible?( deep?:boolean ): boolean; /** [Method] Direct access to the Ext ElementLoader Ext ElementLoader load method * @param options Object */ @@ -14406,7 +14159,7 @@ declare module Ext.core { * @param distance Number How far to scroll the element in pixels * @param animate Boolean/Object true for the default animation or a standard Element animation config object */ - scroll?( direction?:string, distance?:number, animate?:any ): bool; + scroll?( direction?:string, distance?:number, animate?:any ): boolean; /** [Method] Scrolls this element by the passed delta values optionally animating * @param deltaX Number/Number[]/Object Either the x delta, an Array specifying x and y deltas or an object with "x" and "y" properties. * @param deltaY Number/Boolean/Object Either the y delta, or an animate flag or config object. @@ -14420,9 +14173,9 @@ declare module Ext.core { * @param highlight Boolean true to highlight the element when it is in view. animation config object */ scrollIntoView?( container?:any, hscroll?:any, animate?:any, highlight?:any ): any; - scrollIntoView?( container?:string, hscroll?:bool, animate?:any, highlight?:bool ): Ext.dom.IElement; - scrollIntoView?( container?:HTMLElement, hscroll?:bool, animate?:any, highlight?:bool ): Ext.dom.IElement; - scrollIntoView?( container?:Ext.IElement, hscroll?:bool, animate?:any, highlight?:bool ): Ext.dom.IElement; + scrollIntoView?( container?:string, hscroll?:boolean, animate?:any, highlight?:boolean ): Ext.dom.IElement; + scrollIntoView?( container?:HTMLElement, hscroll?:boolean, animate?:any, highlight?:boolean ): Ext.dom.IElement; + scrollIntoView?( container?:Ext.IElement, hscroll?:boolean, animate?:any, highlight?:boolean ): Ext.dom.IElement; /** [Method] Scrolls this element the specified scroll point * @param side String Either "left" for scrollLeft values or "top" for scrollTop values. * @param value Number The new scroll value @@ -14453,7 +14206,7 @@ declare module Ext.core { * @param value Boolean/String Boolean value to display the element using its default display, or a string to set the display directly. */ setDisplayed?( value?:any ): any; - setDisplayed?( value?:bool ): Ext.dom.IElement; + setDisplayed?( value?:boolean ): Ext.dom.IElement; setDisplayed?( value?:string ): Ext.dom.IElement; /** [Method] Sets the element s left position directly using CSS style instead of setX * @param left Number/String Number of pixels or CSS string value to set as the left CSS property value @@ -14509,7 +14262,7 @@ declare module Ext.core { * @param visible Boolean Whether the element is visible * @param animate Boolean/Object True for the default animation, or a standard Element animation config object */ - setVisible?( visible?:bool, animate?:any ): Ext.dom.IElement; + setVisible?( visible?:boolean, animate?:any ): Ext.dom.IElement; /** [Method] Animates the transition of any combination of an element s dimensions xy position and or opacity * @param options Object Object literal with any of the Ext.fx.Anim config options */ @@ -14533,8 +14286,8 @@ declare module Ext.core { * @param preventDefault Boolean true to prevent the default action too */ swallowEvent?( eventName?:any, preventDefault?:any ): any; - swallowEvent?( eventName?:string, preventDefault?:bool ): Ext.dom.IElement; - swallowEvent?( eventName?:string[], preventDefault?:bool ): Ext.dom.IElement; + swallowEvent?( eventName?:string, preventDefault?:boolean ): Ext.dom.IElement; + swallowEvent?( eventName?:string[], preventDefault?:boolean ): Ext.dom.IElement; /** [Method] Blinks the element as if it was clicked and then collapses on its center similar to switching off a television * @param options Object Object literal with any of the Ext.fx.Anim config options */ @@ -14560,13 +14313,110 @@ declare module Ext.core { * @param loadScripts Boolean True to look for and process scripts (defaults to false) * @param callback Function For async script loading you can be notified when the update completes */ - update?( html?:string, loadScripts?:bool, callback?:any ): Ext.dom.IElement; + update?( html?:string, loadScripts?:boolean, callback?:any ): Ext.dom.IElement; + } + export class Element { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; + /** [Method] Returns the top Element that is located at the passed coordinates Defined in override Ext dom AbstractElement_static + * @param x Number The x coordinate + * @param y Number The y coordinate + */ + static fromPoint( x?:number, y?:number ): string; + /** [Method] Retrieves Ext dom Element objects + * @param el String/HTMLElement/Ext.Element The id of the node, a DOM Node or an existing Element. + */ + static get( el?:any ): any; + static get( el?:string ): Ext.dom.IElement; + static get( el?:HTMLElement ): Ext.dom.IElement; + static get( el?:Ext.IElement ): Ext.dom.IElement; + /** [Method] Retrieves the document height Defined in override Ext dom AbstractElement_static */ + static getDocumentHeight(): number; + /** [Method] Retrieves the document width Defined in override Ext dom AbstractElement_static */ + static getDocumentWidth(): number; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Retrieves the current orientation of the window */ + static getOrientation(): string; + /** [Method] Retrieves the viewport size of the window */ + static getViewSize(): any; + /** [Method] Retrieves the viewport height of the window */ + static getViewportHeight(): number; + /** [Method] Retrieves the viewport width of the window */ + static getViewportWidth(): number; + /** [Method] Adds members to class */ + static implement(): void; + /** [Method] Returns an array of unique class names based upon the input strings or string arrays + * @param clsList1 Mixed A string of class names, or an array of class names. + * @param clsList2 Mixed A string of class names, or an array of class names. + */ + static mergeClsList( clsList1?:any, clsList2?:any ): any[]; + /** [Method] Normalizes CSS property keys from dash delimited to camel case JavaScript Syntax + * @param prop String The property to normalize + */ + static normalize( prop?:string ): string; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; + /** [Method] Parses a number or string representing margin sizes into an object + * @param box Number/String The encoded margins + */ + static parseBox( box?:any ): any; + static parseBox( box?:number ): any; + static parseBox( box?:string ): any; + /** [Method] Converts a CSS string into an object with a property for each style + * @param styles String A CSS string + */ + static parseStyles( styles?:string ): any; + /** [Method] Returns an array of unique class names deom the first parameter with all class names from the second parameter removed + * @param existingClsList Mixed A string of class names, or an array of class names. + * @param removeClsList Mixed A string of class names, or an array of class names to remove from existingClsList. + */ + static removeCls( existingClsList?:any, removeClsList?:any ): any[]; + /** [Method] Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in + * @param selector String/HTMLElement[] The CSS selector or an array of elements + * @param unique Boolean true to create a unique Ext.Element for each element (defaults to a shared flyweight object) + * @param root HTMLElement/String The root element of the query or id of the root + */ + static select( selector?:any, unique?:any, root?:any ): any; + static select( selector?:string, unique?:boolean, root?:HTMLElement ): Ext.ICompositeElementLite; + static select( selector?:HTMLElement[], unique?:boolean, root?:HTMLElement ): Ext.ICompositeElementLite; + static select( selector?:string, unique?:boolean, root?:string ): Ext.ICompositeElementLite; + static select( selector?:HTMLElement[], unique?:boolean, root?:string ): Ext.ICompositeElementLite; + /** [Method] Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in + * @param selector String/HTMLElement[] The CSS selector or an array of elements + * @param unique Boolean true to create a unique Ext.Element for each element (defaults to a shared flyweight object) + * @param root HTMLElement/String The root element of the query or id of the root + */ + static select( selector?:string, unique?:boolean, root?:HTMLElement ): Ext.ICompositeElement; + static select( selector?:HTMLElement[], unique?:boolean, root?:HTMLElement ): Ext.ICompositeElement; + static select( selector?:string, unique?:boolean, root?:string ): Ext.ICompositeElement; + static select( selector?:HTMLElement[], unique?:boolean, root?:string ): Ext.ICompositeElement; + /** [Method] Parses a number or string representing margin sizes into an object + * @param box Number/String/Object The encoded margins, or an object with top, right, bottom, and left properties + * @param units String The type of units to add + */ + static unitizeBox( box?:any, units?:string ): string; } } declare module Ext.dom { export interface IHelper extends Ext.dom.IAbstractHelper { /** [Property] (Boolean) */ - useDom?: bool; + useDom?: boolean; /** [Method] Creates new DOM element s without inserting them to the document * @param o Object/String The DOM object spec (and children) or raw HTML blob */ @@ -14585,17 +14435,17 @@ declare module Ext.dom { * @param returnElement Boolean true to return an Ext.Element */ overwrite?( el?:any, o?:any, returnElement?:any ): any; - overwrite?( el?:string, o?:any, returnElement?:bool ): HTMLElement; - overwrite?( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - overwrite?( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + overwrite?( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + overwrite?( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + overwrite?( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and overwrites the contents of el with them * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return an Ext.Element */ - overwrite?( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - overwrite?( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - overwrite?( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + overwrite?( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + overwrite?( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + overwrite?( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; } } declare module Ext.dom { @@ -14603,7 +14453,7 @@ declare module Ext.dom { /** [Config Option] (String) */ cls?: string; /** [Config Option] (Boolean) */ - constrain?: bool; + constrain?: boolean; /** [Config Option] (Object) */ dh?: any; /** [Config Option] (String) */ @@ -14613,9 +14463,9 @@ declare module Ext.dom { /** [Config Option] (Number) */ shadowOffset?: number; /** [Config Option] (Boolean) */ - shim?: bool; + shim?: boolean; /** [Config Option] (Boolean) */ - useDisplay?: bool; + useDisplay?: boolean; /** [Config Option] (String) */ visibilityCls?: string; /** [Config Option] (Number) */ @@ -14690,7 +14540,7 @@ declare module Ext { /** [Config Option] (String) */ cls?: string; /** [Config Option] (Boolean) */ - constrain?: bool; + constrain?: boolean; /** [Config Option] (Object) */ dh?: any; /** [Config Option] (String) */ @@ -14700,9 +14550,9 @@ declare module Ext { /** [Config Option] (Number) */ shadowOffset?: number; /** [Config Option] (Boolean) */ - shim?: bool; + shim?: boolean; /** [Config Option] (Boolean) */ - useDisplay?: bool; + useDisplay?: boolean; /** [Config Option] (String) */ visibilityCls?: string; /** [Config Option] (Number) */ @@ -14786,15 +14636,15 @@ declare module Ext.dom { * @param selector String The simple selector to test * @param nonMatches Boolean If true, it returns the elements that DON'T match the selector instead of the ones that match */ - static filter( el?:HTMLElement[], selector?:string, nonMatches?:bool ): HTMLElement[]; + static filter( el?:HTMLElement[], selector?:string, nonMatches?:boolean ): HTMLElement[]; /** [Method] Returns true if the passed element s match the passed simple selector e g * @param el String/HTMLElement/HTMLElement[] An element id, element or array of elements * @param selector String The simple selector to test */ static is( el?:any, selector?:any ): any; - static is( el?:string, selector?:string ): bool; - static is( el?:HTMLElement, selector?:string ): bool; - static is( el?:HTMLElement[], selector?:string ): bool; + static is( el?:string, selector?:string ): boolean; + static is( el?:HTMLElement, selector?:string ): boolean; + static is( el?:HTMLElement[], selector?:string ): boolean; /** [Method] Selects an array of DOM nodes using JavaScript only implementation * @param selector String The selector/xpath query (can be a comma separated list of selectors) * @param root HTMLElement/String The start of the query. @@ -14808,7 +14658,7 @@ declare module Ext.dom { * @param type String Either "select" or "simple" for a simple selector match (only valid when used when the call is deferred to the jsSelect method) * @param single Boolean Pass true to select only the first matching node using document.querySelector (where available) */ - static select( path?:string, root?:HTMLElement, type?:string, single?:bool ): HTMLElement[]; + static select( path?:string, root?:HTMLElement, type?:string, single?:boolean ): HTMLElement[]; /** [Method] Selects a single element * @param selector String The selector/xpath query * @param root HTMLElement The start of the query. @@ -14842,15 +14692,15 @@ declare module Ext { * @param selector String The simple selector to test * @param nonMatches Boolean If true, it returns the elements that DON'T match the selector instead of the ones that match */ - static filter( el?:HTMLElement[], selector?:string, nonMatches?:bool ): HTMLElement[]; + static filter( el?:HTMLElement[], selector?:string, nonMatches?:boolean ): HTMLElement[]; /** [Method] Returns true if the passed element s match the passed simple selector e g * @param el String/HTMLElement/HTMLElement[] An element id, element or array of elements * @param selector String The simple selector to test */ static is( el?:any, selector?:any ): any; - static is( el?:string, selector?:string ): bool; - static is( el?:HTMLElement, selector?:string ): bool; - static is( el?:HTMLElement[], selector?:string ): bool; + static is( el?:string, selector?:string ): boolean; + static is( el?:HTMLElement, selector?:string ): boolean; + static is( el?:HTMLElement[], selector?:string ): boolean; /** [Method] Selects an array of DOM nodes using JavaScript only implementation * @param selector String The selector/xpath query (can be a comma separated list of selectors) * @param root HTMLElement/String The start of the query. @@ -14864,7 +14714,7 @@ declare module Ext { * @param type String Either "select" or "simple" for a simple selector match (only valid when used when the call is deferred to the jsSelect method) * @param single Boolean Pass true to select only the first matching node using document.querySelector (where available) */ - static select( path?:string, root?:HTMLElement, type?:string, single?:bool ): HTMLElement[]; + static select( path?:string, root?:HTMLElement, type?:string, single?:boolean ): HTMLElement[]; /** [Method] Selects a single element * @param selector String The selector/xpath query * @param root HTMLElement The start of the query. @@ -14898,15 +14748,15 @@ declare module Ext.core { * @param selector String The simple selector to test * @param nonMatches Boolean If true, it returns the elements that DON'T match the selector instead of the ones that match */ - static filter( el?:HTMLElement[], selector?:string, nonMatches?:bool ): HTMLElement[]; + static filter( el?:HTMLElement[], selector?:string, nonMatches?:boolean ): HTMLElement[]; /** [Method] Returns true if the passed element s match the passed simple selector e g * @param el String/HTMLElement/HTMLElement[] An element id, element or array of elements * @param selector String The simple selector to test */ static is( el?:any, selector?:any ): any; - static is( el?:string, selector?:string ): bool; - static is( el?:HTMLElement, selector?:string ): bool; - static is( el?:HTMLElement[], selector?:string ): bool; + static is( el?:string, selector?:string ): boolean; + static is( el?:HTMLElement, selector?:string ): boolean; + static is( el?:HTMLElement[], selector?:string ): boolean; /** [Method] Selects an array of DOM nodes using JavaScript only implementation * @param selector String The selector/xpath query (can be a comma separated list of selectors) * @param root HTMLElement/String The start of the query. @@ -14920,7 +14770,7 @@ declare module Ext.core { * @param type String Either "select" or "simple" for a simple selector match (only valid when used when the call is deferred to the jsSelect method) * @param single Boolean Pass true to select only the first matching node using document.querySelector (where available) */ - static select( path?:string, root?:HTMLElement, type?:string, single?:bool ): HTMLElement[]; + static select( path?:string, root?:HTMLElement, type?:string, single?:boolean ): HTMLElement[]; /** [Method] Selects a single element * @param selector String The selector/xpath query * @param root HTMLElement The start of the query. @@ -14950,17 +14800,17 @@ declare module Ext { * @param returnElement Boolean true to return a Ext.Element */ static append( el?:any, o?:any, returnElement?:any ): any; - static append( el?:string, o?:any, returnElement?:bool ): HTMLElement; - static append( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - static append( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + static append( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + static append( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + static append( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and appends them to el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - static append( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - static append( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - static append( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + static append( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + static append( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + static append( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Applies a style specification to an element * @param el String/HTMLElement The element to apply styles to * @param styles String/Object/Function A style specification string e.g. 'width:100px', or object in the form {width:'100px'}, or a function which returns such a specification. @@ -15019,51 +14869,51 @@ declare module Ext { * @param returnElement Boolean true to return a Ext.Element */ static insertAfter( el?:any, o?:any, returnElement?:any ): any; - static insertAfter( el?:string, o?:any, returnElement?:bool ): HTMLElement; - static insertAfter( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - static insertAfter( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + static insertAfter( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + static insertAfter( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + static insertAfter( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and inserts them after el * @param el String/HTMLElement/Ext.Element The context element * @param o Object The DOM object spec (and children) * @param returnElement Boolean true to return a Ext.Element */ - static insertAfter( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - static insertAfter( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - static insertAfter( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + static insertAfter( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + static insertAfter( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + static insertAfter( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Creates new DOM element s and inserts them before el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ static insertBefore( el?:any, o?:any, returnElement?:any ): any; - static insertBefore( el?:string, o?:any, returnElement?:bool ): HTMLElement; - static insertBefore( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - static insertBefore( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + static insertBefore( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + static insertBefore( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + static insertBefore( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and inserts them before el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - static insertBefore( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - static insertBefore( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - static insertBefore( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + static insertBefore( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + static insertBefore( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + static insertBefore( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Creates new DOM element s and inserts them as the first child of el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ static insertFirst( el?:any, o?:any, returnElement?:any ): any; - static insertFirst( el?:string, o?:any, returnElement?:bool ): HTMLElement; - static insertFirst( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - static insertFirst( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + static insertFirst( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + static insertFirst( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + static insertFirst( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and inserts them as the first child of el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - static insertFirst( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - static insertFirst( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - static insertFirst( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + static insertFirst( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + static insertFirst( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + static insertFirst( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Inserts an HTML fragment into the DOM * @param where String Where to insert the html in relation to el - beforeBegin, afterBegin, beforeEnd, afterEnd. For example take the following HTML: <div>Contents</div> Using different where values inserts element to the following places: beforeBegin: <HERE><div>Contents</div> afterBegin: <div><HERE>Contents</div> beforeEnd: <div>Contents<HERE></div> afterEnd: <div>Contents</div><HERE> * @param el HTMLElement/TextNode The context element @@ -15082,42 +14932,19 @@ declare module Ext { * @param returnElement Boolean true to return an Ext.Element */ static overwrite( el?:any, o?:any, returnElement?:any ): any; - static overwrite( el?:string, o?:any, returnElement?:bool ): HTMLElement; - static overwrite( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - static overwrite( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + static overwrite( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + static overwrite( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + static overwrite( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and overwrites the contents of el with them * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return an Ext.Element */ - static overwrite( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - static overwrite( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - static overwrite( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + static overwrite( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + static overwrite( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + static overwrite( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.core { @@ -15130,17 +14957,17 @@ declare module Ext.core { * @param returnElement Boolean true to return a Ext.Element */ static append( el?:any, o?:any, returnElement?:any ): any; - static append( el?:string, o?:any, returnElement?:bool ): HTMLElement; - static append( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - static append( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + static append( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + static append( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + static append( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and appends them to el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - static append( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - static append( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - static append( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + static append( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + static append( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + static append( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Applies a style specification to an element * @param el String/HTMLElement The element to apply styles to * @param styles String/Object/Function A style specification string e.g. 'width:100px', or object in the form {width:'100px'}, or a function which returns such a specification. @@ -15199,51 +15026,51 @@ declare module Ext.core { * @param returnElement Boolean true to return a Ext.Element */ static insertAfter( el?:any, o?:any, returnElement?:any ): any; - static insertAfter( el?:string, o?:any, returnElement?:bool ): HTMLElement; - static insertAfter( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - static insertAfter( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + static insertAfter( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + static insertAfter( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + static insertAfter( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and inserts them after el * @param el String/HTMLElement/Ext.Element The context element * @param o Object The DOM object spec (and children) * @param returnElement Boolean true to return a Ext.Element */ - static insertAfter( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - static insertAfter( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - static insertAfter( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + static insertAfter( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + static insertAfter( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + static insertAfter( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Creates new DOM element s and inserts them before el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ static insertBefore( el?:any, o?:any, returnElement?:any ): any; - static insertBefore( el?:string, o?:any, returnElement?:bool ): HTMLElement; - static insertBefore( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - static insertBefore( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + static insertBefore( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + static insertBefore( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + static insertBefore( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and inserts them before el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - static insertBefore( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - static insertBefore( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - static insertBefore( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + static insertBefore( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + static insertBefore( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + static insertBefore( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Creates new DOM element s and inserts them as the first child of el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ static insertFirst( el?:any, o?:any, returnElement?:any ): any; - static insertFirst( el?:string, o?:any, returnElement?:bool ): HTMLElement; - static insertFirst( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - static insertFirst( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + static insertFirst( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + static insertFirst( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + static insertFirst( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and inserts them as the first child of el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - static insertFirst( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - static insertFirst( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - static insertFirst( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + static insertFirst( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + static insertFirst( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + static insertFirst( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Inserts an HTML fragment into the DOM * @param where String Where to insert the html in relation to el - beforeBegin, afterBegin, beforeEnd, afterEnd. For example take the following HTML: <div>Contents</div> Using different where values inserts element to the following places: beforeBegin: <HERE><div>Contents</div> afterBegin: <div><HERE>Contents</div> beforeEnd: <div>Contents<HERE></div> afterEnd: <div>Contents</div><HERE> * @param el HTMLElement/TextNode The context element @@ -15262,42 +15089,19 @@ declare module Ext.core { * @param returnElement Boolean true to return an Ext.Element */ static overwrite( el?:any, o?:any, returnElement?:any ): any; - static overwrite( el?:string, o?:any, returnElement?:bool ): HTMLElement; - static overwrite( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - static overwrite( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + static overwrite( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + static overwrite( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + static overwrite( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and overwrites the contents of el with them * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return an Ext.Element */ - static overwrite( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - static overwrite( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - static overwrite( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + static overwrite( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + static overwrite( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + static overwrite( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.draw { @@ -15326,28 +15130,53 @@ declare module Ext.draw { getRed?(): number; /** [Method] Return the color in the hex format i e */ toString?(): string; + } + export class Color { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Create a new color based on the specified HSL values * @param h Number Hue component (0..359) * @param s Number Saturation component (0..1) * @param l Number Lightness component (0..1) */ - fromHSL?( h?:number, s?:number, l?:number ): any; + static fromHSL( h?:number, s?:number, l?:number ): any; /** [Method] Parse the string and create a new color * @param str String Color in string. */ - fromString?( str?:string ): any; + static fromString( str?:string ): any; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Adds members to class */ + static implement(): void; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; /** [Method] Convert a color to hexadecimal format * @param color String/String[] The color value (i.e 'rgb(255, 255, 255)', 'color: #ffffff'). Can also be an Array, in this case the function handles the first member. */ - toHex?( color?:any ): any; - toHex?( color?:string ): string; - toHex?( color?:string[] ): string; + static toHex( color?:any ): any; + static toHex( color?:string ): string; + static toHex( color?:string[] ): string; } } declare module Ext.draw { export interface IComponent extends Ext.IComponent { /** [Config Option] (Boolean) */ - autoSize?: bool; + autoSize?: boolean; /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (String/Object) */ @@ -15361,7 +15190,7 @@ declare module Ext.draw { /** [Config Option] (Boolean/Number) */ shrinkWrap?: any; /** [Config Option] (Boolean) */ - viewBox?: bool; + viewBox?: boolean; /** [Property] (Ext.draw.Surface) */ surface?: Ext.draw.ISurface; } @@ -15386,17 +15215,17 @@ declare module Ext.draw { /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ getActiveAnimation?(): Ext.fx.IAnim; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ - getActiveAnimation?(): bool; + getActiveAnimation?(): boolean; /** [Method] Returns the group bounding box */ getBBox?(): any; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ hasActiveFx?(): Ext.fx.IAnim; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ - hasActiveFx?(): bool; + hasActiveFx?(): boolean; /** [Method] Hides all sprites * @param redraw Boolean Flag to immediately draw the change. */ - hide?( redraw?:bool ): Ext.draw.ICompositeSprite; + hide?( redraw?:boolean ): Ext.draw.ICompositeSprite; /** [Method] Inserts an item at the specified index in the collection * @param index Object * @param key Object @@ -15419,7 +15248,7 @@ declare module Ext.draw { * @param attrs Object Attributes to be changed on the sprite. * @param redraw Boolean Flag to immediately draw the change. */ - setAttributes?( attrs?:any, redraw?:bool ): Ext.draw.ICompositeSprite; + setAttributes?( attrs?:any, redraw?:boolean ): Ext.draw.ICompositeSprite; /** [Method] Sets style for all sprites * @param style String CSS Style definition. */ @@ -15427,7 +15256,7 @@ declare module Ext.draw { /** [Method] Shows all sprites * @param redraw Boolean Flag to immediately draw the change. */ - show?( redraw?:bool ): Ext.draw.ICompositeSprite; + show?( redraw?:boolean ): Ext.draw.ICompositeSprite; /** [Method] Stops any running effects and clears this object s internal effects queue if it contains any additional effects that */ stopAnimation?(): Ext.IElement; /** [Method] Stops any running effects and clears this object s internal effects queue if it contains any additional effects that */ @@ -15469,39 +15298,16 @@ declare module Ext.draw { * @param stepsMax Number The maximum number of ticks * @param lockEnds Boolean If true, the 'from' and 'to' parameters will be used as fixed end values and will not be adjusted */ - static snapEndsByDate( from?:any, to?:any, stepsMax?:number, lockEnds?:bool ): any; + static snapEndsByDate( from?:any, to?:any, stepsMax?:number, lockEnds?:boolean ): any; /** [Method] snapEndsByDateAndStep is a utility method to deduce an appropriate tick configuration for the data set of given featu * @param from Date The minimum value in the data * @param to Date The maximum value in the data * @param step Array An array with two components: The first is the unit of the step (day, month, year, etc). The second is the number of units for the step (1, 2, etc.). If the number is an integer, it represents the number of units for the step ([Ext.Date.DAY, 2] means "Every other day"). If the number is a fraction, it represents the number of steps per unit ([Ext.Date.DAY, 1/2] means "Twice a day"). If the unit is the month, the steps may be adjusted depending on the month. For instance [Ext.Date.MONTH, 1/3], which means "Three times a month", generates steps on the 1st, the 10th and the 20th of every month regardless of whether a month has 28 days or 31 days. The steps are generated as follows: - [Ext.Date.MONTH, n]: on the current date every 'n' months, maxed to the number of days in the month. - [Ext.Date.MONTH, 1/2]: on the 1st and 15th of every month. - [Ext.Date.MONTH, 1/3]: on the 1st, 10th and 20th of every month. - [Ext.Date.MONTH, 1/4]: on the 1st, 8th, 15th and 22nd of every month. * @param lockEnds Boolean If true, the 'from' and 'to' parameters will be used as fixed end values and will not be adjusted */ - static snapEndsByDateAndStep( from?:any, to?:any, step?:any[], lockEnds?:bool ): any; + static snapEndsByDateAndStep( from?:any, to?:any, step?:any[], lockEnds?:boolean ): any; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.draw.engine { @@ -15527,7 +15333,7 @@ declare module Ext.draw.engine { * @param surface Ext.draw.Surface The surface to export * @param config Object The following config options are supported: */ - static generate( surface?:Ext.draw.ISurface, config?:any ): bool; + static generate( surface?:Ext.draw.ISurface, config?:any ): boolean; /** [Method] Returns the initial configuration passed to constructor when instantiating this class * @param name String Name of the config option to return. */ @@ -15538,29 +15344,6 @@ declare module Ext.draw.engine { static initConfig( config?:any ): Ext.IBase; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.draw.engine { @@ -15586,7 +15369,7 @@ declare module Ext.draw.engine { * @param sprite Ext.draw.Sprite The sprite to look into. * @param className String The CSS class to check for */ - hasCls?( sprite?:Ext.draw.ISprite, className?:string ): bool; + hasCls?( sprite?:Ext.draw.ISprite, className?:string ): boolean; /** [Method] Removes one or more CSS classes from the element * @param sprite Object * @param className Object @@ -15638,29 +15421,6 @@ declare module Ext.draw.engine { static initConfig( config?:any ): Ext.IBase; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.draw.engine { @@ -15700,7 +15460,7 @@ declare module Ext.draw { declare module Ext.draw { export interface ISprite extends Ext.IBase,Ext.util.IObservable,Ext.util.IAnimate { /** [Config Option] (Boolean) */ - draggable?: bool; + draggable?: boolean; /** [Config Option] (String) */ fill?: string; /** [Config Option] (String) */ @@ -15738,7 +15498,7 @@ declare module Ext.draw { /** [Property] (Ext.dd.DragSource) */ dd?: Ext.dd.IDragSource; /** [Property] (Boolean) */ - isSprite?: bool; + isSprite?: boolean; /** [Method] Adds one or more CSS classes to the element * @param className String/String[] The CSS class to add, or an array of classes */ @@ -15786,30 +15546,30 @@ declare module Ext.draw { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ getActiveAnimation?(): Ext.fx.IAnim; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ - getActiveAnimation?(): bool; + getActiveAnimation?(): boolean; /** [Method] Retrieves the bounding box of the sprite */ getBBox?(): any; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ hasActiveFx?(): Ext.fx.IAnim; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ - hasActiveFx?(): bool; + hasActiveFx?(): boolean; /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Hides the sprite * @param redraw Boolean Flag to immediately draw the change. */ - hide?( redraw?:bool ): Ext.draw.ISprite; + hide?( redraw?:boolean ): Ext.draw.ISprite; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -15845,7 +15605,7 @@ declare module Ext.draw { */ relayEvents?( origin?:any, events?:string[], prefix?:string ): any; /** [Method] Removes the sprite */ - remove?(): bool; + remove?(): boolean; /** [Method] Removes one or more CSS classes from the element * @param className String/String[] The CSS class to remove, or an array of classes. Note this method is severly limited in VML. */ @@ -15879,7 +15639,7 @@ declare module Ext.draw { * @param attrs Object attributes to be changed on the sprite. * @param redraw Boolean Flag to immediately draw the change. */ - setAttributes?( attrs?:any, redraw?:bool ): Ext.draw.ISprite; + setAttributes?( attrs?:any, redraw?:boolean ): Ext.draw.ISprite; /** [Method] Wrapper for setting style properties also takes single object parameter of multiple styles * @param property String/Object The style property to be set, or an object of multiple styles. * @param value String The value to apply to the given property, or null if an object was passed. @@ -15888,7 +15648,7 @@ declare module Ext.draw { /** [Method] Shows the sprite * @param redraw Boolean Flag to immediately draw the change. */ - show?( redraw?:bool ): Ext.draw.ISprite; + show?( redraw?:boolean ): Ext.draw.ISprite; /** [Method] Stops any running effects and clears this object s internal effects queue if it contains any additional effects that */ stopAnimation?(): Ext.IElement; /** [Method] Stops any running effects and clears this object s internal effects queue if it contains any additional effects that */ @@ -15900,7 +15660,7 @@ declare module Ext.draw { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Ensures that all effects queued after syncFx is called on this object are run concurrently */ syncFx?(): any; /** [Method] Shorthand for removeListener @@ -15994,12 +15754,12 @@ declare module Ext.draw { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Returns a new group or an existent group associated with the current surface * @param id String The unique identifier of the group. */ @@ -16009,7 +15769,7 @@ declare module Ext.draw { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -16046,11 +15806,11 @@ declare module Ext.draw { * @param sprite Ext.draw.Sprite * @param destroySprite Boolean */ - remove?( sprite?:Ext.draw.ISprite, destroySprite?:bool ): void; + remove?( sprite?:Ext.draw.ISprite, destroySprite?:boolean ): void; /** [Method] Removes all sprites from the surface optionally destroying the sprites in the process * @param destroySprites Boolean Whether to destroy all sprites when removing them. */ - removeAll?( destroySprites?:bool ): void; + removeAll?( destroySprites?:boolean ): void; /** [Method] Removes one or more CSS classes from the element * @param sprite Object The sprite to remove the class from. * @param className String/String[] The CSS class to remove, or an array of classes @@ -16101,29 +15861,52 @@ declare module Ext.draw { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. * @param scope Object The scope originally specified for the handler. It must be the same as the scope argument specified in the original call to Ext.util.Observable.addListener or the listener will not be removed. */ un?( eventName?:string, fn?:any, scope?:any ): void; + } + export class Surface { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; /** [Method] Creates and returns a new concrete Surface instance appropriate for the current environment * @param config Object Initial configuration for the Surface instance * @param enginePriority String[] order of implementations to use; the first one that is available in the current environment will be used. Defaults to ['Svg', 'Vml']. */ - create?( config?:any, enginePriority?:string[] ): any; + static create( config?:any, enginePriority?:string[] ): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Adds members to class */ + static implement(): void; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; /** [Method] Exports a surface in a different format * @param surface Ext.draw.Surface The surface to export. * @param config Object The configuration to be passed to the exporter. See the export method for the appropriate exporter for the relevant configuration options */ - save?( surface?:Ext.draw.ISurface, config?:any ): any; + static save( surface?:Ext.draw.ISurface, config?:any ): any; } } declare module Ext.draw { export interface IText extends Ext.draw.IComponent { /** [Config Option] (Boolean) */ - autoSize?: bool; + autoSize?: boolean; /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Number) */ @@ -16133,7 +15916,7 @@ declare module Ext.draw { /** [Config Option] (String) */ text?: string; /** [Config Option] (Boolean) */ - viewBox?: bool; + viewBox?: boolean; /** [Method] The initComponent template method is an important initialization step for a Component */ initComponent?(): void; /** [Method] Sets the clockwise rotation angle relative to the horizontal axis @@ -16151,27 +15934,27 @@ declare module Ext { /** [Config Option] (String) */ alignment?: string; /** [Config Option] (Boolean) */ - allowBlur?: bool; + allowBlur?: boolean; /** [Config Option] (Boolean/Object) */ autoSize?: any; /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - cancelOnEsc?: bool; + cancelOnEsc?: boolean; /** [Config Option] (Boolean) */ - completeOnEnter?: bool; + completeOnEnter?: boolean; /** [Config Option] (Boolean) */ - constrain?: bool; + constrain?: boolean; /** [Config Option] (Ext.form.field.Field) */ field?: Ext.form.field.IField; /** [Config Option] (Boolean) */ - focusOnToFront?: bool; + focusOnToFront?: boolean; /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (Boolean) */ - hideEl?: bool; + hideEl?: boolean; /** [Config Option] (Boolean) */ - ignoreNoChange?: bool; + ignoreNoChange?: boolean; /** [Config Option] (Ext.enums.Layout/Object) */ layout?: any; /** [Config Option] (Number[]) */ @@ -16179,13 +15962,13 @@ declare module Ext { /** [Config Option] (String/HTMLElement/Ext.Element) */ parentEl?: any; /** [Config Option] (Boolean) */ - revertInvalid?: bool; + revertInvalid?: boolean; /** [Config Option] (Boolean/String) */ shadow?: any; /** [Config Option] (Boolean) */ - swallowKeys?: bool; + swallowKeys?: boolean; /** [Config Option] (Boolean) */ - updateEl?: bool; + updateEl?: boolean; /** [Config Option] (Object) */ value?: any; /** [Method] private @@ -16196,11 +15979,11 @@ declare module Ext { /** [Method] Cancels the editing process and hides the editor without persisting any changes * @param remainVisible Boolean Override the default behavior and keep the editor visible after cancel */ - cancelEdit?( remainVisible?:bool ): void; + cancelEdit?( remainVisible?:boolean ): void; /** [Method] Ends the editing process persists the changed value to the underlying field and hides the editor * @param remainVisible Boolean Override the default behavior and keep the editor visible after edit */ - completeEdit?( remainVisible?:bool ): void; + completeEdit?( remainVisible?:boolean ): void; /** [Method] Gets the data value of the editor */ getValue?(): any; /** [Method] private */ @@ -16210,7 +15993,7 @@ declare module Ext { /** [Method] Realigns the editor to the bound field based on the current alignment config value * @param autoSize Boolean True to size the field to the dimensions of the bound element. */ - realign?( autoSize?:bool ): void; + realign?( autoSize?:boolean ): void; /** [Method] Sets the data value of the editor * @param value Object Any valid value supported by the underlying field */ @@ -16246,7 +16029,7 @@ declare module Ext { /** [Config Option] (Object) */ scope?: any; /** [Config Option] (Boolean) */ - scripts?: bool; + scripts?: boolean; /** [Config Option] (Function) */ success?: any; /** [Config Option] (HTMLElement/Ext.Element/String) */ @@ -16254,7 +16037,7 @@ declare module Ext { /** [Config Option] (String) */ url?: string; /** [Property] (Boolean) */ - isLoader?: bool; + isLoader?: boolean; /** [Method] Aborts the active load request */ abort?(): void; /** [Method] Adds the specified events to the list of events which this Observable may fire @@ -16294,20 +16077,20 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the target of this loader */ getTarget?(): Ext.IComponent; /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Checks whether the loader is automatically refreshing */ - isAutoRefreshing?(): bool; + isAutoRefreshing?(): boolean; /** [Method] Loads new data from the server * @param options Object The options for the request. They can be any configuration option that can be specified for the class, with the exception of the target option. Note that any options passed to the method will override any class defaults. */ @@ -16386,7 +16169,7 @@ declare module Ext { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -16672,19 +16455,21 @@ declare module Ext.enums { declare module Ext { export interface IError { /** [Property] (Boolean) */ - ignore?: bool; + ignore?: boolean; /** [Property] (Boolean) */ - notify?: bool; + notify?: boolean; /** [Method] Provides a custom string representation of the error object */ toString?(): string; + } + export class Error { /** [Method] Globally handle any Ext errors that may be raised optionally providing custom logic to handle different errors indiv * @param err Ext.Error The Ext.Error object being raised. It will contain any attributes that were originally raised with it, plus properties about the method and class from which the error originated (if raised from a class that uses the Ext 4 class system). */ - handle?( err?:Ext.IError ): void; + static handle( err?:Ext.IError ): void; /** [Method] Raise an error that can include additional data and supports automatic console logging if available * @param err String/Object The error message string, or an object containing the attribute "msg" that will be used as the error message. Any other data included in the object will also be logged to the browser console, if available. */ - raise?( err?:any ): void; + static raise( err?:any ): void; } } declare module Ext { @@ -16762,13 +16547,13 @@ declare module Ext { * @param scope Object The scope (this reference) in which the handler function executes. Defaults to the browser window. * @param options Boolean Options object as passed to Ext.Element.addListener */ - static onWindowResize( fn?:any, scope?:any, options?:bool ): void; + static onWindowResize( fn?:any, scope?:any, options?:boolean ): void; /** [Method] Adds a listener to be notified when the browser window is unloaded * @param fn Function The handler function the window unload event invokes. * @param scope Object The scope (this reference) in which the handler function executes. Defaults to the browser window. * @param options Boolean Options object as passed to Ext.Element.addListener */ - static onWindowUnload( fn?:any, scope?:any, options?:bool ): void; + static onWindowUnload( fn?:any, scope?:any, options?:boolean ): void; /** [Method] This strategy has minimal benefits for Sencha solutions that build themselves ie */ static pollScroll(): void; /** [Method] Prevents the browsers default handling of the event @@ -16858,16 +16643,16 @@ declare module Ext { * @param returnEl Boolean True to return a Ext.Element object instead of DOM node */ static getRelatedTarget( selector?:any, maxDepth?:any, returnEl?:any ): any; - static getRelatedTarget( selector?:string, maxDepth?:number, returnEl?:bool ): HTMLElement; - static getRelatedTarget( selector?:string, maxDepth?:HTMLElement, returnEl?:bool ): HTMLElement; + static getRelatedTarget( selector?:string, maxDepth?:number, returnEl?:boolean ): HTMLElement; + static getRelatedTarget( selector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): HTMLElement; /** [Method] Gets the target for the event * @param selector String A simple selector to filter the target or look for an ancestor of the target * @param maxDepth Number/HTMLElement 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 */ static getTarget( selector?:any, maxDepth?:any, returnEl?:any ): any; - static getTarget( selector?:string, maxDepth?:number, returnEl?:bool ): HTMLElement; - static getTarget( selector?:string, maxDepth?:HTMLElement, returnEl?:bool ): HTMLElement; + static getTarget( selector?:string, maxDepth?:number, returnEl?:boolean ): HTMLElement; + static getTarget( selector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): HTMLElement; /** [Method] Normalizes mouse wheel y delta across browsers */ static getWheelDelta(): number; /** [Method] Returns the mouse wheel deltas for this event */ @@ -16879,7 +16664,7 @@ declare module Ext { /** [Method] Gets the y coordinate of the event */ static getY(): number; /** [Method] Returns true if the control meta shift or alt key was pressed during this event */ - static hasModifier(): bool; + static hasModifier(): boolean; /** [Method] Injects a DOM event using the data in this object and optionally a new target * @param target Ext.Element/HTMLElement If specified, the target for the event. This is likely to be used when relaying a DOM event. If not specified, getTarget is used to determine the target. */ @@ -16887,9 +16672,9 @@ declare module Ext { static injectEvent( target?:Ext.IElement ): void; static injectEvent( target?:HTMLElement ): void; /** [Method] Checks if the key pressed was a navigation key */ - static isNavKeyPress(): bool; + static isNavKeyPress(): boolean; /** [Method] Checks if the key pressed was a special key */ - static isSpecialKey(): bool; + static isSpecialKey(): boolean; /** [Method] Prevents the browsers default handling of the event */ static preventDefault(): void; /** [Method] Stop the event preventDefault and stopPropagation */ @@ -16902,9 +16687,9 @@ declare module Ext { * @param allowEl Boolean true to also check if the passed element is the target or related target */ static within( el?:any, related?:any, allowEl?:any ): any; - static within( el?:string, related?:bool, allowEl?:bool ): bool; - static within( el?:HTMLElement, related?:bool, allowEl?:bool ): bool; - static within( el?:Ext.IElement, related?:bool, allowEl?:bool ): bool; + static within( el?:string, related?:boolean, allowEl?:boolean ): boolean; + static within( el?:HTMLElement, related?:boolean, allowEl?:boolean ): boolean; + static within( el?:Ext.IElement, related?:boolean, allowEl?:boolean ): boolean; } } declare module Ext.flash { @@ -16912,7 +16697,7 @@ declare module Ext.flash { /** [Config Option] (String) */ backgroundColor?: string; /** [Config Option] (Boolean) */ - expressInstall?: bool; + expressInstall?: boolean; /** [Config Option] (Object) */ flashAttributes?: any; /** [Config Option] (Object) */ @@ -16950,7 +16735,7 @@ declare module Ext { /** [Config Option] (String) */ backgroundColor?: string; /** [Config Option] (Boolean) */ - expressInstall?: bool; + expressInstall?: boolean; /** [Config Option] (Object) */ flashAttributes?: any; /** [Config Option] (Object) */ @@ -17049,12 +16834,12 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - static fireEventArgs( eventName?:string, args?:any[] ): bool; + static fireEventArgs( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the initial configuration passed to constructor when instantiating this class * @param name String Name of the config option to return. */ @@ -17062,7 +16847,7 @@ declare module Ext { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Initialize configuration for this class * @param config Object */ @@ -17135,36 +16920,13 @@ declare module Ext { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - static suspendEvents( queueSuspended?:bool ): void; + static suspendEvents( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. * @param scope Object The scope originally specified for the handler. It must be the same as the scope argument specified in the original call to Ext.util.Observable.addListener or the listener will not be removed. */ static un( eventName?:string, fn?:any, scope?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -17233,12 +16995,12 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - static fireEventArgs( eventName?:string, args?:any[] ): bool; + static fireEventArgs( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the initial configuration passed to constructor when instantiating this class * @param name String Name of the config option to return. */ @@ -17246,7 +17008,7 @@ declare module Ext { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Initialize configuration for this class * @param config Object */ @@ -17319,36 +17081,13 @@ declare module Ext { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - static suspendEvents( queueSuspended?:bool ): void; + static suspendEvents( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. * @param scope Object The scope originally specified for the handler. It must be the same as the scope argument specified in the original call to Ext.util.Observable.addListener or the listener will not be removed. */ static un( eventName?:string, fn?:any, scope?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.form.action { @@ -17364,11 +17103,11 @@ declare module Ext.form.action { /** [Config Option] (Object/String) */ params?: any; /** [Config Option] (Boolean) */ - reset?: bool; + reset?: boolean; /** [Config Option] (Object) */ scope?: any; /** [Config Option] (Boolean) */ - submitEmptyText?: bool; + submitEmptyText?: boolean; /** [Config Option] (Function) */ success?: any; /** [Config Option] (Number) */ @@ -17412,11 +17151,11 @@ declare module Ext.form { /** [Config Option] (Object/String) */ params?: any; /** [Config Option] (Boolean) */ - reset?: bool; + reset?: boolean; /** [Config Option] (Object) */ scope?: any; /** [Config Option] (Boolean) */ - submitEmptyText?: bool; + submitEmptyText?: boolean; /** [Config Option] (Function) */ success?: any; /** [Config Option] (Number) */ @@ -17474,7 +17213,7 @@ declare module Ext.form.action { declare module Ext.form.action { export interface ISubmit extends Ext.form.action.IAction { /** [Config Option] (Boolean) */ - clientValidation?: bool; + clientValidation?: boolean; /** [Property] (String) */ type?: string; /** [Method] inherit docs */ @@ -17490,21 +17229,21 @@ declare module Ext.form { /** [Config Option] (Object/Ext.data.reader.Reader) */ errorReader?: any; /** [Config Option] (Boolean) */ - jsonSubmit?: bool; + jsonSubmit?: boolean; /** [Config Option] (String) */ method?: string; /** [Config Option] (String/String[]) */ paramOrder?: any; /** [Config Option] (Boolean) */ - paramsAsHash?: bool; + paramsAsHash?: boolean; /** [Config Option] (Object/Ext.data.reader.Reader) */ reader?: any; /** [Config Option] (Boolean) */ - standardSubmit?: bool; + standardSubmit?: boolean; /** [Config Option] (Number) */ timeout?: number; /** [Config Option] (Boolean) */ - trackResetOnLoad?: bool; + trackResetOnLoad?: boolean; /** [Config Option] (String) */ url?: string; /** [Config Option] (String/HTMLElement/Ext.Element) */ @@ -17543,7 +17282,7 @@ declare module Ext.form { /** [Method] Retrieves the fields in the form as a set of key value pairs using their getModelData method to collect the values * @param dirtyOnly Boolean If true, only fields that are dirty will be included in the result. */ - getFieldValues?( dirtyOnly?:bool ): any; + getFieldValues?( dirtyOnly?:boolean ): any; /** [Method] Return all the Ext form field Field components in the owner container */ getFields?(): Ext.util.IMixedCollection; /** [Method] Returns the last Ext data Model instance that was loaded via loadRecord */ @@ -17554,15 +17293,15 @@ declare module Ext.form { * @param includeEmptyText Boolean If true, the configured emptyText of empty fields will be used. * @param useDataValues Boolean If true, the getModelData method is used to retrieve values from fields, otherwise the getSubmitData method is used. */ - getValues?( asString?:bool, dirtyOnly?:bool, includeEmptyText?:bool, useDataValues?:bool ): any; + getValues?( asString?:boolean, dirtyOnly?:boolean, includeEmptyText?:boolean, useDataValues?:boolean ): any; /** [Method] Returns true if the form contains any invalid fields */ hasInvalidField?(): void; /** [Method] Returns true if the form contains a file upload field */ - hasUpload?(): bool; + hasUpload?(): boolean; /** [Method] Returns true if any fields in this form have changed from their original values */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Returns true if client side validation on the form is successful */ - isValid?(): bool; + isValid?(): boolean; /** [Method] Shortcut to do a load action * @param options Object The options to pass to the action (see doAction for details) */ @@ -17578,7 +17317,7 @@ declare module Ext.form { /** [Method] Resets all fields in this form * @param resetRecord Boolean True to unbind any record set by loadRecord */ - reset?( resetRecord?:bool ): Ext.form.IBasic; + reset?( resetRecord?:boolean ): Ext.form.IBasic; /** [Method] Set values for fields in this form in bulk * @param values Object/Object[] Either an array in the form: [{id:'clientName', value:'Fred. Olsen Lines'}, {id:'portOfLoading', value:'FXT'}, {id:'portOfDischarge', value:'OSL'} ] or an object hash of the form: { clientName: 'Fred. Olsen Lines', portOfLoading: 'FXT', portOfDischarge: 'OSL' } */ @@ -17602,21 +17341,21 @@ declare module Ext.form { /** [Config Option] (Object/Ext.data.reader.Reader) */ errorReader?: any; /** [Config Option] (Boolean) */ - jsonSubmit?: bool; + jsonSubmit?: boolean; /** [Config Option] (String) */ method?: string; /** [Config Option] (String/String[]) */ paramOrder?: any; /** [Config Option] (Boolean) */ - paramsAsHash?: bool; + paramsAsHash?: boolean; /** [Config Option] (Object/Ext.data.reader.Reader) */ reader?: any; /** [Config Option] (Boolean) */ - standardSubmit?: bool; + standardSubmit?: boolean; /** [Config Option] (Number) */ timeout?: number; /** [Config Option] (Boolean) */ - trackResetOnLoad?: bool; + trackResetOnLoad?: boolean; /** [Config Option] (String) */ url?: string; /** [Config Option] (String/HTMLElement/Ext.Element) */ @@ -17655,7 +17394,7 @@ declare module Ext.form { /** [Method] Retrieves the fields in the form as a set of key value pairs using their getModelData method to collect the values * @param dirtyOnly Boolean If true, only fields that are dirty will be included in the result. */ - getFieldValues?( dirtyOnly?:bool ): any; + getFieldValues?( dirtyOnly?:boolean ): any; /** [Method] Return all the Ext form field Field components in the owner container */ getFields?(): Ext.util.IMixedCollection; /** [Method] Returns the last Ext data Model instance that was loaded via loadRecord */ @@ -17666,15 +17405,15 @@ declare module Ext.form { * @param includeEmptyText Boolean If true, the configured emptyText of empty fields will be used. * @param useDataValues Boolean If true, the getModelData method is used to retrieve values from fields, otherwise the getSubmitData method is used. */ - getValues?( asString?:bool, dirtyOnly?:bool, includeEmptyText?:bool, useDataValues?:bool ): any; + getValues?( asString?:boolean, dirtyOnly?:boolean, includeEmptyText?:boolean, useDataValues?:boolean ): any; /** [Method] Returns true if the form contains any invalid fields */ hasInvalidField?(): void; /** [Method] Returns true if the form contains a file upload field */ - hasUpload?(): bool; + hasUpload?(): boolean; /** [Method] Returns true if any fields in this form have changed from their original values */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Returns true if client side validation on the form is successful */ - isValid?(): bool; + isValid?(): boolean; /** [Method] Shortcut to do a load action * @param options Object The options to pass to the action (see doAction for details) */ @@ -17690,7 +17429,7 @@ declare module Ext.form { /** [Method] Resets all fields in this form * @param resetRecord Boolean True to unbind any record set by loadRecord */ - reset?( resetRecord?:bool ): Ext.form.IBasic; + reset?( resetRecord?:boolean ): Ext.form.IBasic; /** [Method] Set values for fields in this form in bulk * @param values Object/Object[] Either an array in the form: [{id:'clientName', value:'Fred. Olsen Lines'}, {id:'portOfLoading', value:'FXT'}, {id:'portOfDischarge', value:'OSL'} ] or an object hash of the form: { clientName: 'Fred. Olsen Lines', portOfLoading: 'FXT', portOfDischarge: 'OSL' } */ @@ -17708,7 +17447,7 @@ declare module Ext.form { declare module Ext.form { export interface ICheckboxGroup extends Ext.form.IFieldContainer,Ext.form.field.IField { /** [Config Option] (Boolean) */ - allowBlank?: bool; + allowBlank?: boolean; /** [Config Option] (String) */ blankText?: string; /** [Config Option] (String/Number/Number[]) */ @@ -17722,7 +17461,7 @@ declare module Ext.form { /** [Config Option] (Ext.enums.Layout/Object) */ layout?: any; /** [Config Option] (Boolean) */ - vertical?: bool; + vertical?: boolean; /** [Method] A utility for grouping a set of modifications which may trigger value changes into a single transaction to prevent e * @param fn Object A function containing the transaction code */ @@ -17754,16 +17493,16 @@ declare module Ext.form { /** [Method] Initializes the field s value based on the initial config */ initValue?(): void; /** [Method] private override */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] private override the group value is a complex object compare using object serialization * @param value1 Object * @param value2 Object */ - isEqual?( value1?:any, value2?:any ): bool; + isEqual?( value1?:any, value2?:any ): boolean; /** [Method] Returns whether this Field is a file upload field if it returns true forms will use special techniques for submitti */ - isFileUpload?(): bool; + isFileUpload?(): boolean; /** [Method] Returns whether or not the field value is currently valid by validating the field s current value */ - isValid?(): bool; + isValid?(): boolean; /** [Method] Associate one or more error messages with this field * @param errors String/String[] The error message(s) for the field. */ @@ -17791,7 +17530,7 @@ declare module Ext.form { */ transformOriginalValue?( value?:any ): any; /** [Method] Returns whether or not the field value is currently valid by validating the field s current value and fires the vali */ - validate?(): bool; + validate?(): boolean; } } declare module Ext.form { @@ -17856,15 +17595,15 @@ declare module Ext.form { * @param root String 'root' property to extract the first argument from. This is used mainly when summing fields in records, where the fields are all stored inside the 'data' object * @param allowBlank Boolean Pass true to allow null, undefined or empty string values */ - static collect( property?:string, root?:string, allowBlank?:bool ): any[]; + static collect( property?:string, root?:string, allowBlank?:boolean ): any[]; /** [Method] Returns true if the collection contains the passed Object as an item * @param o Object The Object to look for in the collection. */ - static contains( o?:any ): bool; + static contains( o?:any ): boolean; /** [Method] Returns true if the collection contains the passed Object as a key * @param key String The key to look for in the collection. */ - static containsKey( key?:string ): bool; + static containsKey( key?:string ): boolean; /** [Method] Executes the specified function once for every item in the collection * @param fn Function The function to execute for each item. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the current item in the iteration. @@ -17888,10 +17627,10 @@ declare module Ext.form { * @param caseSensitive Boolean True for case sensitive comparison. */ static filter( property?:any, value?:any, anyMatch?:any, caseSensitive?:any ): any; - static filter( property?:Ext.util.IFilter[], value?:string, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:string, value?:string, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:Ext.util.IFilter[], value?:RegExp, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:string, value?:RegExp, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; + static filter( property?:Ext.util.IFilter[], value?:string, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:string, value?:string, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:Ext.util.IFilter[], value?:RegExp, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:string, value?:RegExp, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; /** [Method] Filter by a function * @param fn Function The function to be called. * @param scope Object The scope (this reference) in which the function is executed. Defaults to this MixedCollection. @@ -17912,8 +17651,8 @@ declare module Ext.form { * @param caseSensitive Boolean True for case sensitive comparison. */ static findIndex( property?:any, value?:any, start?:any, anyMatch?:any, caseSensitive?:any ): any; - static findIndex( property?:string, value?:string, start?:number, anyMatch?:bool, caseSensitive?:bool ): number; - static findIndex( property?:string, value?:RegExp, start?:number, anyMatch?:bool, caseSensitive?:bool ): number; + static findIndex( property?:string, value?:string, start?:number, anyMatch?:boolean, caseSensitive?:boolean ): number; + static findIndex( property?:string, value?:RegExp, start?:number, anyMatch?:boolean, caseSensitive?:boolean ): number; /** [Method] Find the index of the first matching object in this collection by a function * @param fn Function The function to be called. * @param scope Object The scope (this reference) in which the function is executed. Defaults to this MixedCollection. @@ -17929,12 +17668,12 @@ declare module Ext.form { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - static fireEventArgs( eventName?:string, args?:any[] ): bool; + static fireEventArgs( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the first item in the collection */ static first(): any; /** [Method] Returns a comparator function which compares two items and returns 1 0 or 1 depending on the currently defined set */ @@ -17975,7 +17714,7 @@ declare module Ext.form { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Returns index within the collection of the passed Object * @param o Object The item to find the index of. */ @@ -18113,7 +17852,7 @@ declare module Ext.form { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - static suspendEvents( queueSuspended?:bool ): void; + static suspendEvents( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -18125,29 +17864,6 @@ declare module Ext.form { * @param newKey Object The new key */ static updateKey( oldKey?:any, newKey?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.form.field { @@ -18179,17 +17895,17 @@ declare module Ext.form.field { /** [Config Option] (String) */ name?: string; /** [Config Option] (Boolean) */ - readOnly?: bool; + readOnly?: boolean; /** [Config Option] (String) */ readOnlyCls?: string; /** [Config Option] (Number) */ tabIndex?: number; /** [Config Option] (Boolean) */ - validateOnBlur?: bool; + validateOnBlur?: boolean; /** [Property] (Ext.Element) */ inputEl?: Ext.IElement; /** [Property] (Boolean) */ - maskOnDisable?: bool; + maskOnDisable?: boolean; /** [Method] A utility for grouping a set of modifications which may trigger value changes into a single transaction to prevent e * @param fn Object A function containing the transaction code */ @@ -18239,9 +17955,9 @@ declare module Ext.form.field { /** [Method] Returns the current data value of the field */ getValue?(): any; /** [Method] Tells whether the field currently has an active error message */ - hasActiveError?(): bool; + hasActiveError?(): boolean; /** [Method] Checks if the field has a visible label */ - hasVisibleLabel?(): bool; + hasVisibleLabel?(): boolean; /** [Method] private */ initComponent?(): void; /** [Method] private */ @@ -18255,16 +17971,16 @@ declare module Ext.form.field { /** [Method] Initializes the field s value based on the initial config */ initValue?(): void; /** [Method] Returns true if the value of this Field has been changed from its originalValue */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Returns whether two field values are logically equal * @param value1 Object The first value to compare * @param value2 Object The second value to compare */ - isEqual?( value1?:any, value2?:any ): bool; + isEqual?( value1?:any, value2?:any ): boolean; /** [Method] Returns whether this Field is a file upload field if it returns true forms will use special techniques for submitti */ - isFileUpload?(): bool; + isFileUpload?(): boolean; /** [Method] Returns whether or not the field value is currently valid by validating the processed raw value of the field */ - isValid?(): bool; + isValid?(): boolean; /** [Method] Display one or more error messages associated with this field using msgTarget to determine how to display the messag * @param errors String/String[] The validation message(s) to display. */ @@ -18316,7 +18032,7 @@ declare module Ext.form.field { /** [Method] Sets the read only state of this field * @param readOnly Boolean Whether the field should be read only. */ - setReadOnly?( readOnly?:bool ): void; + setReadOnly?( readOnly?:boolean ): void; /** [Method] Sets a data value into the field and runs the change detection and validation * @param value Object The value to set */ @@ -18334,11 +18050,11 @@ declare module Ext.form.field { /** [Method] Clears the active error message s */ unsetActiveError?(): void; /** [Method] Returns whether or not the field value is currently valid by validating the field s current value and fires the vali */ - validate?(): bool; + validate?(): boolean; /** [Method] Uses getErrors to build an array of validation errors * @param value Object The value to validate */ - validateValue?( value?:any ): bool; + validateValue?( value?:any ): boolean; /** [Method] Converts a mixed type value to a raw representation suitable for displaying in the field * @param value Object The mixed-type value to convert to the raw representation. */ @@ -18374,17 +18090,17 @@ declare module Ext.form { /** [Config Option] (String) */ name?: string; /** [Config Option] (Boolean) */ - readOnly?: bool; + readOnly?: boolean; /** [Config Option] (String) */ readOnlyCls?: string; /** [Config Option] (Number) */ tabIndex?: number; /** [Config Option] (Boolean) */ - validateOnBlur?: bool; + validateOnBlur?: boolean; /** [Property] (Ext.Element) */ inputEl?: Ext.IElement; /** [Property] (Boolean) */ - maskOnDisable?: bool; + maskOnDisable?: boolean; /** [Method] A utility for grouping a set of modifications which may trigger value changes into a single transaction to prevent e * @param fn Object A function containing the transaction code */ @@ -18434,9 +18150,9 @@ declare module Ext.form { /** [Method] Returns the current data value of the field */ getValue?(): any; /** [Method] Tells whether the field currently has an active error message */ - hasActiveError?(): bool; + hasActiveError?(): boolean; /** [Method] Checks if the field has a visible label */ - hasVisibleLabel?(): bool; + hasVisibleLabel?(): boolean; /** [Method] private */ initComponent?(): void; /** [Method] private */ @@ -18450,16 +18166,16 @@ declare module Ext.form { /** [Method] Initializes the field s value based on the initial config */ initValue?(): void; /** [Method] Returns true if the value of this Field has been changed from its originalValue */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Returns whether two field values are logically equal * @param value1 Object The first value to compare * @param value2 Object The second value to compare */ - isEqual?( value1?:any, value2?:any ): bool; + isEqual?( value1?:any, value2?:any ): boolean; /** [Method] Returns whether this Field is a file upload field if it returns true forms will use special techniques for submitti */ - isFileUpload?(): bool; + isFileUpload?(): boolean; /** [Method] Returns whether or not the field value is currently valid by validating the processed raw value of the field */ - isValid?(): bool; + isValid?(): boolean; /** [Method] Display one or more error messages associated with this field using msgTarget to determine how to display the messag * @param errors String/String[] The validation message(s) to display. */ @@ -18511,7 +18227,7 @@ declare module Ext.form { /** [Method] Sets the read only state of this field * @param readOnly Boolean Whether the field should be read only. */ - setReadOnly?( readOnly?:bool ): void; + setReadOnly?( readOnly?:boolean ): void; /** [Method] Sets a data value into the field and runs the change detection and validation * @param value Object The value to set */ @@ -18529,11 +18245,11 @@ declare module Ext.form { /** [Method] Clears the active error message s */ unsetActiveError?(): void; /** [Method] Returns whether or not the field value is currently valid by validating the field s current value and fires the vali */ - validate?(): bool; + validate?(): boolean; /** [Method] Uses getErrors to build an array of validation errors * @param value Object The value to validate */ - validateValue?( value?:any ): bool; + validateValue?( value?:any ): boolean; /** [Method] Converts a mixed type value to a raw representation suitable for displaying in the field * @param value Object The mixed-type value to convert to the raw representation. */ @@ -18569,17 +18285,17 @@ declare module Ext.form { /** [Config Option] (String) */ name?: string; /** [Config Option] (Boolean) */ - readOnly?: bool; + readOnly?: boolean; /** [Config Option] (String) */ readOnlyCls?: string; /** [Config Option] (Number) */ tabIndex?: number; /** [Config Option] (Boolean) */ - validateOnBlur?: bool; + validateOnBlur?: boolean; /** [Property] (Ext.Element) */ inputEl?: Ext.IElement; /** [Property] (Boolean) */ - maskOnDisable?: bool; + maskOnDisable?: boolean; /** [Method] A utility for grouping a set of modifications which may trigger value changes into a single transaction to prevent e * @param fn Object A function containing the transaction code */ @@ -18629,9 +18345,9 @@ declare module Ext.form { /** [Method] Returns the current data value of the field */ getValue?(): any; /** [Method] Tells whether the field currently has an active error message */ - hasActiveError?(): bool; + hasActiveError?(): boolean; /** [Method] Checks if the field has a visible label */ - hasVisibleLabel?(): bool; + hasVisibleLabel?(): boolean; /** [Method] private */ initComponent?(): void; /** [Method] private */ @@ -18645,16 +18361,16 @@ declare module Ext.form { /** [Method] Initializes the field s value based on the initial config */ initValue?(): void; /** [Method] Returns true if the value of this Field has been changed from its originalValue */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Returns whether two field values are logically equal * @param value1 Object The first value to compare * @param value2 Object The second value to compare */ - isEqual?( value1?:any, value2?:any ): bool; + isEqual?( value1?:any, value2?:any ): boolean; /** [Method] Returns whether this Field is a file upload field if it returns true forms will use special techniques for submitti */ - isFileUpload?(): bool; + isFileUpload?(): boolean; /** [Method] Returns whether or not the field value is currently valid by validating the processed raw value of the field */ - isValid?(): bool; + isValid?(): boolean; /** [Method] Display one or more error messages associated with this field using msgTarget to determine how to display the messag * @param errors String/String[] The validation message(s) to display. */ @@ -18706,7 +18422,7 @@ declare module Ext.form { /** [Method] Sets the read only state of this field * @param readOnly Boolean Whether the field should be read only. */ - setReadOnly?( readOnly?:bool ): void; + setReadOnly?( readOnly?:boolean ): void; /** [Method] Sets a data value into the field and runs the change detection and validation * @param value Object The value to set */ @@ -18724,11 +18440,11 @@ declare module Ext.form { /** [Method] Clears the active error message s */ unsetActiveError?(): void; /** [Method] Returns whether or not the field value is currently valid by validating the field s current value and fires the vali */ - validate?(): bool; + validate?(): boolean; /** [Method] Uses getErrors to build an array of validation errors * @param value Object The value to validate */ - validateValue?( value?:any ): bool; + validateValue?( value?:any ): boolean; /** [Method] Converts a mixed type value to a raw representation suitable for displaying in the field * @param value Object The mixed-type value to convert to the raw representation. */ @@ -18756,7 +18472,7 @@ declare module Ext.form.field { /** [Config Option] (String[]) */ checkChangeEvents?: string[]; /** [Config Option] (Boolean) */ - checked?: bool; + checked?: boolean; /** [Config Option] (String) */ checkedCls?: string; /** [Config Option] (String/Object) */ @@ -18782,13 +18498,13 @@ declare module Ext.form.field { /** [Method] inherit docs */ beforeDestroy?(): void; /** [Method] Returns the checked state of the checkbox */ - getRawValue?(): bool; + getRawValue?(): boolean; /** [Method] Creates and returns the data object to be used when rendering the fieldSubTpl */ getSubTplData?(): any; /** [Method] Returns the submit value for the checkbox which can be used when submitting forms */ getSubmitValue?(): any; /** [Method] Returns the checked state of the checkbox */ - getValue?(): bool; + getValue?(): boolean; /** [Method] private */ initComponent?(): void; /** [Method] private */ @@ -18809,9 +18525,9 @@ declare module Ext.form.field { * @param value Boolean/String/Number The following values will check the checkbox: true, 'true', '1', 1, or 'on', as well as a String that matches the inputValue. Any other value will uncheck the checkbox. */ setRawValue?( value?:any ): any; - setRawValue?( value?:bool ): bool; - setRawValue?( value?:string ): bool; - setRawValue?( value?:number ): bool; + setRawValue?( value?:boolean ): boolean; + setRawValue?( value?:string ): boolean; + setRawValue?( value?:number ): boolean; /** [Method] Sets the read only state of this field * @param readOnly Object */ @@ -18820,7 +18536,7 @@ declare module Ext.form.field { * @param checked Boolean/String The following values will check the checkbox: true, 'true', '1', or 'on', as well as a String that matches the inputValue. Any other value will uncheck the checkbox. */ setValue?( checked?:any ): any; - setValue?( checked?:bool ): Ext.form.field.ICheckbox; + setValue?( checked?:boolean ): Ext.form.field.ICheckbox; setValue?( checked?:string ): Ext.form.field.ICheckbox; /** [Method] private * @param value Object @@ -18849,7 +18565,7 @@ declare module Ext.form { /** [Config Option] (String[]) */ checkChangeEvents?: string[]; /** [Config Option] (Boolean) */ - checked?: bool; + checked?: boolean; /** [Config Option] (String) */ checkedCls?: string; /** [Config Option] (String/Object) */ @@ -18875,13 +18591,13 @@ declare module Ext.form { /** [Method] inherit docs */ beforeDestroy?(): void; /** [Method] Returns the checked state of the checkbox */ - getRawValue?(): bool; + getRawValue?(): boolean; /** [Method] Creates and returns the data object to be used when rendering the fieldSubTpl */ getSubTplData?(): any; /** [Method] Returns the submit value for the checkbox which can be used when submitting forms */ getSubmitValue?(): any; /** [Method] Returns the checked state of the checkbox */ - getValue?(): bool; + getValue?(): boolean; /** [Method] private */ initComponent?(): void; /** [Method] private */ @@ -18902,9 +18618,9 @@ declare module Ext.form { * @param value Boolean/String/Number The following values will check the checkbox: true, 'true', '1', 1, or 'on', as well as a String that matches the inputValue. Any other value will uncheck the checkbox. */ setRawValue?( value?:any ): any; - setRawValue?( value?:bool ): bool; - setRawValue?( value?:string ): bool; - setRawValue?( value?:number ): bool; + setRawValue?( value?:boolean ): boolean; + setRawValue?( value?:string ): boolean; + setRawValue?( value?:number ): boolean; /** [Method] Sets the read only state of this field * @param readOnly Object */ @@ -18913,7 +18629,7 @@ declare module Ext.form { * @param checked Boolean/String The following values will check the checkbox: true, 'true', '1', or 'on', as well as a String that matches the inputValue. Any other value will uncheck the checkbox. */ setValue?( checked?:any ): any; - setValue?( checked?:bool ): Ext.form.field.ICheckbox; + setValue?( checked?:boolean ): Ext.form.field.ICheckbox; setValue?( checked?:string ): Ext.form.field.ICheckbox; /** [Method] private * @param value Object @@ -18926,11 +18642,11 @@ declare module Ext.form.field { /** [Config Option] (String) */ allQuery?: string; /** [Config Option] (Boolean) */ - anyMatch?: bool; + anyMatch?: boolean; /** [Config Option] (Boolean) */ - autoSelect?: bool; + autoSelect?: boolean; /** [Config Option] (Boolean) */ - caseSensitive?: bool; + caseSensitive?: boolean; /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Object) */ @@ -18940,13 +18656,13 @@ declare module Ext.form.field { /** [Config Option] (String) */ displayField?: string; /** [Config Option] (Boolean) */ - enableRegEx?: bool; + enableRegEx?: boolean; /** [Config Option] (Ext.XTemplate) */ fieldSubTpl?: Ext.IXTemplate; /** [Config Option] (Boolean) */ - forceSelection?: bool; + forceSelection?: boolean; /** [Config Option] (Boolean) */ - growToLongestValue?: bool; + growToLongestValue?: boolean; /** [Config Option] (String) */ hiddenName?: string; /** [Config Option] (Object) */ @@ -18954,11 +18670,11 @@ declare module Ext.form.field { /** [Config Option] (Number) */ minChars?: number; /** [Config Option] (Boolean) */ - multiSelect?: bool; + multiSelect?: boolean; /** [Config Option] (Number) */ pageSize?: number; /** [Config Option] (Boolean) */ - queryCaching?: bool; + queryCaching?: boolean; /** [Config Option] (Number) */ queryDelay?: number; /** [Config Option] (String) */ @@ -18966,7 +18682,7 @@ declare module Ext.form.field { /** [Config Option] (String) */ queryParam?: string; /** [Config Option] (Boolean) */ - selectOnTab?: bool; + selectOnTab?: boolean; /** [Config Option] (Ext.data.Store/String/Array) */ store?: any; /** [Config Option] (String/HTMLElement/Ext.Element) */ @@ -18976,7 +18692,7 @@ declare module Ext.form.field { /** [Config Option] (String) */ triggerCls?: string; /** [Config Option] (Boolean) */ - typeAhead?: bool; + typeAhead?: boolean; /** [Config Option] (Number) */ typeAheadDelay?: number; /** [Config Option] (String) */ @@ -19020,7 +18736,7 @@ declare module Ext.form.field { * @param forceAll Boolean true to force the query to execute even if there are currently fewer characters in the field than the minimum specified by the minChars config option. It also clears any filter previously saved in the current store. * @param rawQuery Boolean Pass as true if the raw typed value is being used as the query string. This causes the resulting store load to leave the raw value undisturbed. */ - doQuery?( queryString?:string, forceAll?:bool, rawQuery?:bool ): bool; + doQuery?( queryString?:string, forceAll?:boolean, rawQuery?:boolean ): boolean; /** [Method] Finds the record by searching for a specific field value combination * @param field String The name of the field to test. * @param value Object The value to match the field against. @@ -19082,11 +18798,11 @@ declare module Ext.form { /** [Config Option] (String) */ allQuery?: string; /** [Config Option] (Boolean) */ - anyMatch?: bool; + anyMatch?: boolean; /** [Config Option] (Boolean) */ - autoSelect?: bool; + autoSelect?: boolean; /** [Config Option] (Boolean) */ - caseSensitive?: bool; + caseSensitive?: boolean; /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Object) */ @@ -19096,13 +18812,13 @@ declare module Ext.form { /** [Config Option] (String) */ displayField?: string; /** [Config Option] (Boolean) */ - enableRegEx?: bool; + enableRegEx?: boolean; /** [Config Option] (Ext.XTemplate) */ fieldSubTpl?: Ext.IXTemplate; /** [Config Option] (Boolean) */ - forceSelection?: bool; + forceSelection?: boolean; /** [Config Option] (Boolean) */ - growToLongestValue?: bool; + growToLongestValue?: boolean; /** [Config Option] (String) */ hiddenName?: string; /** [Config Option] (Object) */ @@ -19110,11 +18826,11 @@ declare module Ext.form { /** [Config Option] (Number) */ minChars?: number; /** [Config Option] (Boolean) */ - multiSelect?: bool; + multiSelect?: boolean; /** [Config Option] (Number) */ pageSize?: number; /** [Config Option] (Boolean) */ - queryCaching?: bool; + queryCaching?: boolean; /** [Config Option] (Number) */ queryDelay?: number; /** [Config Option] (String) */ @@ -19122,7 +18838,7 @@ declare module Ext.form { /** [Config Option] (String) */ queryParam?: string; /** [Config Option] (Boolean) */ - selectOnTab?: bool; + selectOnTab?: boolean; /** [Config Option] (Ext.data.Store/String/Array) */ store?: any; /** [Config Option] (String/HTMLElement/Ext.Element) */ @@ -19132,7 +18848,7 @@ declare module Ext.form { /** [Config Option] (String) */ triggerCls?: string; /** [Config Option] (Boolean) */ - typeAhead?: bool; + typeAhead?: boolean; /** [Config Option] (Number) */ typeAheadDelay?: number; /** [Config Option] (String) */ @@ -19176,7 +18892,7 @@ declare module Ext.form { * @param forceAll Boolean true to force the query to execute even if there are currently fewer characters in the field than the minimum specified by the minChars config option. It also clears any filter previously saved in the current store. * @param rawQuery Boolean Pass as true if the raw typed value is being used as the query string. This causes the resulting store load to leave the raw value undisturbed. */ - doQuery?( queryString?:string, forceAll?:bool, rawQuery?:bool ): bool; + doQuery?( queryString?:string, forceAll?:boolean, rawQuery?:boolean ): boolean; /** [Method] Finds the record by searching for a specific field value combination * @param field String The name of the field to test. * @param value Object The value to match the field against. @@ -19250,7 +18966,7 @@ declare module Ext.form.field { /** [Config Option] (String) */ invalidText?: string; /** [Config Option] (Boolean) */ - matchFieldWidth?: bool; + matchFieldWidth?: boolean; /** [Config Option] (String) */ maxText?: string; /** [Config Option] (Date/String) */ @@ -19260,7 +18976,7 @@ declare module Ext.form.field { /** [Config Option] (Date/String) */ minValue?: any; /** [Config Option] (Boolean) */ - showToday?: bool; + showToday?: boolean; /** [Config Option] (Number) */ startDay?: number; /** [Config Option] (String) */ @@ -19268,7 +18984,7 @@ declare module Ext.form.field { /** [Config Option] (String) */ triggerCls?: string; /** [Config Option] (Boolean) */ - useStrict?: bool; + useStrict?: boolean; /** [Method] private */ beforeBlur?(): void; /** [Method] Creates and returns the component to be used as this field s picker */ @@ -19331,7 +19047,7 @@ declare module Ext.form { /** [Config Option] (String) */ invalidText?: string; /** [Config Option] (Boolean) */ - matchFieldWidth?: bool; + matchFieldWidth?: boolean; /** [Config Option] (String) */ maxText?: string; /** [Config Option] (Date/String) */ @@ -19341,7 +19057,7 @@ declare module Ext.form { /** [Config Option] (Date/String) */ minValue?: any; /** [Config Option] (Boolean) */ - showToday?: bool; + showToday?: boolean; /** [Config Option] (Number) */ startDay?: number; /** [Config Option] (String) */ @@ -19349,7 +19065,7 @@ declare module Ext.form { /** [Config Option] (String) */ triggerCls?: string; /** [Config Option] (Boolean) */ - useStrict?: bool; + useStrict?: boolean; /** [Method] private */ beforeBlur?(): void; /** [Method] Creates and returns the component to be used as this field s picker */ @@ -19412,7 +19128,7 @@ declare module Ext.form { /** [Config Option] (String) */ invalidText?: string; /** [Config Option] (Boolean) */ - matchFieldWidth?: bool; + matchFieldWidth?: boolean; /** [Config Option] (String) */ maxText?: string; /** [Config Option] (Date/String) */ @@ -19422,7 +19138,7 @@ declare module Ext.form { /** [Config Option] (Date/String) */ minValue?: any; /** [Config Option] (Boolean) */ - showToday?: bool; + showToday?: boolean; /** [Config Option] (Number) */ startDay?: number; /** [Config Option] (String) */ @@ -19430,7 +19146,7 @@ declare module Ext.form { /** [Config Option] (String) */ triggerCls?: string; /** [Config Option] (Boolean) */ - useStrict?: bool; + useStrict?: boolean; /** [Method] private */ beforeBlur?(): void; /** [Method] Creates and returns the component to be used as this field s picker */ @@ -19483,13 +19199,13 @@ declare module Ext.form.field { /** [Config Option] (String) */ fieldCls?: string; /** [Config Option] (Boolean) */ - htmlEncode?: bool; + htmlEncode?: boolean; /** [Config Option] (Function) */ renderer?: any; /** [Config Option] (Object) */ scope?: any; /** [Config Option] (Boolean) */ - submitValue?: bool; + submitValue?: boolean; /** [Method] Returns the raw value of the field without performing any normalization conversion or validation */ getRawValue?(): string; /** [Method] Creates and returns the data object to be used when rendering the fieldSubTpl */ @@ -19497,15 +19213,15 @@ declare module Ext.form.field { /** [Method] private */ initEvents?(): void; /** [Method] Returns true if the value of this Field has been changed from its originalValue */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Returns whether or not the field value is currently valid by validating the processed raw value of the field */ - isValid?(): bool; + isValid?(): boolean; /** [Method] Sets the field s raw value directly bypassing value conversion change detection and validation * @param value Object */ setRawValue?( value?:any ): any; /** [Method] Returns whether or not the field value is currently valid by validating the field s current value and fires the vali */ - validate?(): bool; + validate?(): boolean; } } declare module Ext.form { @@ -19515,13 +19231,13 @@ declare module Ext.form { /** [Config Option] (String) */ fieldCls?: string; /** [Config Option] (Boolean) */ - htmlEncode?: bool; + htmlEncode?: boolean; /** [Config Option] (Function) */ renderer?: any; /** [Config Option] (Object) */ scope?: any; /** [Config Option] (Boolean) */ - submitValue?: bool; + submitValue?: boolean; /** [Method] Returns the raw value of the field without performing any normalization conversion or validation */ getRawValue?(): string; /** [Method] Creates and returns the data object to be used when rendering the fieldSubTpl */ @@ -19529,15 +19245,15 @@ declare module Ext.form { /** [Method] private */ initEvents?(): void; /** [Method] Returns true if the value of this Field has been changed from its originalValue */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Returns whether or not the field value is currently valid by validating the processed raw value of the field */ - isValid?(): bool; + isValid?(): boolean; /** [Method] Sets the field s raw value directly bypassing value conversion change detection and validation * @param value Object */ setRawValue?( value?:any ): any; /** [Method] Returns whether or not the field value is currently valid by validating the field s current value and fires the vali */ - validate?(): bool; + validate?(): boolean; } } declare module Ext.form { @@ -19547,13 +19263,13 @@ declare module Ext.form { /** [Config Option] (String) */ fieldCls?: string; /** [Config Option] (Boolean) */ - htmlEncode?: bool; + htmlEncode?: boolean; /** [Config Option] (Function) */ renderer?: any; /** [Config Option] (Object) */ scope?: any; /** [Config Option] (Boolean) */ - submitValue?: bool; + submitValue?: boolean; /** [Method] Returns the raw value of the field without performing any normalization conversion or validation */ getRawValue?(): string; /** [Method] Creates and returns the data object to be used when rendering the fieldSubTpl */ @@ -19561,31 +19277,31 @@ declare module Ext.form { /** [Method] private */ initEvents?(): void; /** [Method] Returns true if the value of this Field has been changed from its originalValue */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Returns whether or not the field value is currently valid by validating the processed raw value of the field */ - isValid?(): bool; + isValid?(): boolean; /** [Method] Sets the field s raw value directly bypassing value conversion change detection and validation * @param value Object */ setRawValue?( value?:any ): any; /** [Method] Returns whether or not the field value is currently valid by validating the field s current value and fires the vali */ - validate?(): bool; + validate?(): boolean; } } declare module Ext.form.field { export interface IField extends Ext.IBase { /** [Config Option] (Boolean) */ - disabled?: bool; + disabled?: boolean; /** [Config Option] (String) */ name?: string; /** [Config Option] (Boolean) */ - submitValue?: bool; + submitValue?: boolean; /** [Config Option] (Boolean) */ - validateOnChange?: bool; + validateOnChange?: boolean; /** [Config Option] (Object) */ value?: any; /** [Property] (Boolean) */ - isFormField?: bool; + isFormField?: boolean; /** [Property] (Object) */ originalValue?: any; /** [Method] A utility for grouping a set of modifications which may trigger value changes into a single transaction to prevent e @@ -19658,15 +19374,15 @@ declare module Ext.form.field { /** [Config Option] (Number) */ buttonMargin?: number; /** [Config Option] (Boolean) */ - buttonOnly?: bool; + buttonOnly?: boolean; /** [Config Option] (String) */ buttonText?: string; /** [Config Option] (Boolean) */ - clearOnSubmit?: bool; + clearOnSubmit?: boolean; /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Boolean) */ - readOnly?: bool; + readOnly?: boolean; /** [Property] (Ext.button.Button) */ button?: Ext.button.IButton; /** [Property] (Ext.Element) */ @@ -19676,7 +19392,7 @@ declare module Ext.form.field { /** [Method] Gets the markup to be inserted into the subTplMarkup */ getTriggerMarkup?(): void; /** [Method] Returns whether this Field is a file upload field if it returns true forms will use special techniques for submitti */ - isFileUpload?(): bool; + isFileUpload?(): boolean; /** [Method] private */ onDisable?(): void; /** [Method] private */ @@ -19698,15 +19414,15 @@ declare module Ext.form { /** [Config Option] (Number) */ buttonMargin?: number; /** [Config Option] (Boolean) */ - buttonOnly?: bool; + buttonOnly?: boolean; /** [Config Option] (String) */ buttonText?: string; /** [Config Option] (Boolean) */ - clearOnSubmit?: bool; + clearOnSubmit?: boolean; /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Boolean) */ - readOnly?: bool; + readOnly?: boolean; /** [Property] (Ext.button.Button) */ button?: Ext.button.IButton; /** [Property] (Ext.Element) */ @@ -19716,7 +19432,7 @@ declare module Ext.form { /** [Method] Gets the markup to be inserted into the subTplMarkup */ getTriggerMarkup?(): void; /** [Method] Returns whether this Field is a file upload field if it returns true forms will use special techniques for submitti */ - isFileUpload?(): bool; + isFileUpload?(): boolean; /** [Method] private */ onDisable?(): void; /** [Method] private */ @@ -19738,15 +19454,15 @@ declare module Ext.ux.form { /** [Config Option] (Number) */ buttonMargin?: number; /** [Config Option] (Boolean) */ - buttonOnly?: bool; + buttonOnly?: boolean; /** [Config Option] (String) */ buttonText?: string; /** [Config Option] (Boolean) */ - clearOnSubmit?: bool; + clearOnSubmit?: boolean; /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Boolean) */ - readOnly?: bool; + readOnly?: boolean; /** [Property] (Ext.button.Button) */ button?: Ext.button.IButton; /** [Property] (Ext.Element) */ @@ -19756,7 +19472,7 @@ declare module Ext.ux.form { /** [Method] Gets the markup to be inserted into the subTplMarkup */ getTriggerMarkup?(): void; /** [Method] Returns whether this Field is a file upload field if it returns true forms will use special techniques for submitti */ - isFileUpload?(): bool; + isFileUpload?(): boolean; /** [Method] private */ onDisable?(): void; /** [Method] private */ @@ -19778,15 +19494,15 @@ declare module Ext.form { /** [Config Option] (Number) */ buttonMargin?: number; /** [Config Option] (Boolean) */ - buttonOnly?: bool; + buttonOnly?: boolean; /** [Config Option] (String) */ buttonText?: string; /** [Config Option] (Boolean) */ - clearOnSubmit?: bool; + clearOnSubmit?: boolean; /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Boolean) */ - readOnly?: bool; + readOnly?: boolean; /** [Property] (Ext.button.Button) */ button?: Ext.button.IButton; /** [Property] (Ext.Element) */ @@ -19796,7 +19512,7 @@ declare module Ext.form { /** [Method] Gets the markup to be inserted into the subTplMarkup */ getTriggerMarkup?(): void; /** [Method] Returns whether this Field is a file upload field if it returns true forms will use special techniques for submitti */ - isFileUpload?(): bool; + isFileUpload?(): boolean; /** [Method] private */ onDisable?(): void; /** [Method] private */ @@ -19816,7 +19532,7 @@ declare module Ext.form.field { /** [Config Option] (String) */ cls?: string; /** [Config Option] (Boolean) */ - preventDefault?: bool; + preventDefault?: boolean; /** [Config Option] (Ext.XTemplate/String/String[]) */ renderTpl?: any; /** [Method] Allows addition of behavior after rendering is complete */ @@ -19832,9 +19548,9 @@ declare module Ext.form.field { declare module Ext.form.field { export interface IHidden extends Ext.form.field.IBase { /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (Boolean) */ - hideLabel?: bool; + hideLabel?: boolean; /** [Config Option] (String) */ inputType?: string; /** [Method] Clear any invalid styles messages for this field */ @@ -19860,9 +19576,9 @@ declare module Ext.form.field { declare module Ext.form { export interface IHidden extends Ext.form.field.IBase { /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (Boolean) */ - hideLabel?: bool; + hideLabel?: boolean; /** [Config Option] (String) */ inputType?: string; /** [Method] Clear any invalid styles messages for this field */ @@ -19906,21 +19622,21 @@ declare module Ext.form.field { /** [Config Option] (String) */ defaultValue?: string; /** [Config Option] (Boolean) */ - enableAlignments?: bool; + enableAlignments?: boolean; /** [Config Option] (Boolean) */ - enableColors?: bool; + enableColors?: boolean; /** [Config Option] (Boolean) */ - enableFont?: bool; + enableFont?: boolean; /** [Config Option] (Boolean) */ - enableFontSize?: bool; + enableFontSize?: boolean; /** [Config Option] (Boolean) */ - enableFormat?: bool; + enableFormat?: boolean; /** [Config Option] (Boolean) */ - enableLinks?: bool; + enableLinks?: boolean; /** [Config Option] (Boolean) */ - enableLists?: bool; + enableLists?: boolean; /** [Config Option] (Boolean) */ - enableSourceEdit?: bool; + enableSourceEdit?: boolean; /** [Config Option] (String[]) */ fontFamilies?: string[]; /** [Config Option] (String/Array/Ext.XTemplate) */ @@ -19928,7 +19644,7 @@ declare module Ext.form.field { /** [Property] (Object) */ buttonTips?: any; /** [Property] (Boolean) */ - maskOnDisable?: bool; + maskOnDisable?: boolean; /** [Method] A utility for grouping a set of modifications which may trigger value changes into a single transaction to prevent e * @param fn Object A function containing the transaction code */ @@ -19951,7 +19667,7 @@ declare module Ext.form.field { */ execCmd?( cmd?:any, value?:any ): any; execCmd?( cmd?:string, value?:string ): void; - execCmd?( cmd?:string, value?:bool ): void; + execCmd?( cmd?:string, value?:boolean ): void; /** [Method] Only relevant if the instance s isFileUpload method returns true */ extractFileInput?(): HTMLElement; /** [Method] Try to focus this component @@ -19984,16 +19700,16 @@ declare module Ext.form.field { */ insertAtCursor?( text?:string ): void; /** [Method] Returns true if the value of this Field has been changed from its originalValue */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Returns whether two field values are logically equal * @param value1 Object * @param value2 Object */ - isEqual?( value1?:any, value2?:any ): bool; + isEqual?( value1?:any, value2?:any ): boolean; /** [Method] Returns whether this Field is a file upload field if it returns true forms will use special techniques for submitti */ - isFileUpload?(): bool; + isFileUpload?(): boolean; /** [Method] Returns whether or not the field value is currently valid by validating the field s current value */ - isValid?(): bool; + isValid?(): boolean; /** [Method] Associate one or more error messages with this field * @param errors String/String[] The error message(s) for the field. */ @@ -20008,7 +19724,7 @@ declare module Ext.form.field { */ relayCmd?( cmd?:any, value?:any ): any; relayCmd?( cmd?:string, value?:string ): void; - relayCmd?( cmd?:string, value?:bool ): void; + relayCmd?( cmd?:string, value?:boolean ): void; /** [Method] Resets the current field value to the originally loaded value and clears any validation messages */ reset?(): void; /** [Method] Resets the field s originalValue property so it matches the current value */ @@ -20016,7 +19732,7 @@ declare module Ext.form.field { /** [Method] Sets the read only state of this field * @param readOnly Boolean Whether the field should be read only. */ - setReadOnly?( readOnly?:bool ): void; + setReadOnly?( readOnly?:boolean ): void; /** [Method] Sets a data value into the field and runs the change detection and validation * @param value Object */ @@ -20026,7 +19742,7 @@ declare module Ext.form.field { /** [Method] Toggles the editor between standard and source edit mode * @param sourceEditMode Boolean True for source edit, false for standard */ - toggleSourceEdit?( sourceEditMode?:bool ): void; + toggleSourceEdit?( sourceEditMode?:boolean ): void; /** [Method] Allows for any necessary modifications before the original value is set * @param value Object The initial value */ @@ -20056,21 +19772,21 @@ declare module Ext.form { /** [Config Option] (String) */ defaultValue?: string; /** [Config Option] (Boolean) */ - enableAlignments?: bool; + enableAlignments?: boolean; /** [Config Option] (Boolean) */ - enableColors?: bool; + enableColors?: boolean; /** [Config Option] (Boolean) */ - enableFont?: bool; + enableFont?: boolean; /** [Config Option] (Boolean) */ - enableFontSize?: bool; + enableFontSize?: boolean; /** [Config Option] (Boolean) */ - enableFormat?: bool; + enableFormat?: boolean; /** [Config Option] (Boolean) */ - enableLinks?: bool; + enableLinks?: boolean; /** [Config Option] (Boolean) */ - enableLists?: bool; + enableLists?: boolean; /** [Config Option] (Boolean) */ - enableSourceEdit?: bool; + enableSourceEdit?: boolean; /** [Config Option] (String[]) */ fontFamilies?: string[]; /** [Config Option] (String/Array/Ext.XTemplate) */ @@ -20078,7 +19794,7 @@ declare module Ext.form { /** [Property] (Object) */ buttonTips?: any; /** [Property] (Boolean) */ - maskOnDisable?: bool; + maskOnDisable?: boolean; /** [Method] A utility for grouping a set of modifications which may trigger value changes into a single transaction to prevent e * @param fn Object A function containing the transaction code */ @@ -20101,7 +19817,7 @@ declare module Ext.form { */ execCmd?( cmd?:any, value?:any ): any; execCmd?( cmd?:string, value?:string ): void; - execCmd?( cmd?:string, value?:bool ): void; + execCmd?( cmd?:string, value?:boolean ): void; /** [Method] Only relevant if the instance s isFileUpload method returns true */ extractFileInput?(): HTMLElement; /** [Method] Try to focus this component @@ -20134,16 +19850,16 @@ declare module Ext.form { */ insertAtCursor?( text?:string ): void; /** [Method] Returns true if the value of this Field has been changed from its originalValue */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Returns whether two field values are logically equal * @param value1 Object * @param value2 Object */ - isEqual?( value1?:any, value2?:any ): bool; + isEqual?( value1?:any, value2?:any ): boolean; /** [Method] Returns whether this Field is a file upload field if it returns true forms will use special techniques for submitti */ - isFileUpload?(): bool; + isFileUpload?(): boolean; /** [Method] Returns whether or not the field value is currently valid by validating the field s current value */ - isValid?(): bool; + isValid?(): boolean; /** [Method] Associate one or more error messages with this field * @param errors String/String[] The error message(s) for the field. */ @@ -20158,7 +19874,7 @@ declare module Ext.form { */ relayCmd?( cmd?:any, value?:any ): any; relayCmd?( cmd?:string, value?:string ): void; - relayCmd?( cmd?:string, value?:bool ): void; + relayCmd?( cmd?:string, value?:boolean ): void; /** [Method] Resets the current field value to the originally loaded value and clears any validation messages */ reset?(): void; /** [Method] Resets the field s originalValue property so it matches the current value */ @@ -20166,7 +19882,7 @@ declare module Ext.form { /** [Method] Sets the read only state of this field * @param readOnly Boolean Whether the field should be read only. */ - setReadOnly?( readOnly?:bool ): void; + setReadOnly?( readOnly?:boolean ): void; /** [Method] Sets a data value into the field and runs the change detection and validation * @param value Object */ @@ -20176,7 +19892,7 @@ declare module Ext.form { /** [Method] Toggles the editor between standard and source edit mode * @param sourceEditMode Boolean True for source edit, false for standard */ - toggleSourceEdit?( sourceEditMode?:bool ): void; + toggleSourceEdit?( sourceEditMode?:boolean ): void; /** [Method] Allows for any necessary modifications before the original value is set * @param value Object The initial value */ @@ -20188,11 +19904,11 @@ declare module Ext.form { declare module Ext.form.field { export interface INumber extends Ext.form.field.ISpinner { /** [Config Option] (Boolean) */ - allowDecimals?: bool; + allowDecimals?: boolean; /** [Config Option] (Boolean) */ - allowExponential?: bool; + allowExponential?: boolean; /** [Config Option] (Boolean) */ - autoStripChars?: bool; + autoStripChars?: boolean; /** [Config Option] (String) */ baseChars?: string; /** [Config Option] (Number) */ @@ -20214,7 +19930,7 @@ declare module Ext.form.field { /** [Config Option] (Number) */ step?: number; /** [Config Option] (Boolean) */ - submitLocaleSeparator?: bool; + submitLocaleSeparator?: boolean; /** [Method] Template method to do any pre blur processing */ beforeBlur?(): void; /** [Method] Runs all of Number s validations and returns an array of any errors @@ -20260,11 +19976,11 @@ declare module Ext.form.field { declare module Ext.form { export interface INumberField extends Ext.form.field.ISpinner { /** [Config Option] (Boolean) */ - allowDecimals?: bool; + allowDecimals?: boolean; /** [Config Option] (Boolean) */ - allowExponential?: bool; + allowExponential?: boolean; /** [Config Option] (Boolean) */ - autoStripChars?: bool; + autoStripChars?: boolean; /** [Config Option] (String) */ baseChars?: string; /** [Config Option] (Number) */ @@ -20286,7 +20002,7 @@ declare module Ext.form { /** [Config Option] (Number) */ step?: number; /** [Config Option] (Boolean) */ - submitLocaleSeparator?: bool; + submitLocaleSeparator?: boolean; /** [Method] Template method to do any pre blur processing */ beforeBlur?(): void; /** [Method] Runs all of Number s validations and returns an array of any errors @@ -20332,11 +20048,11 @@ declare module Ext.form { declare module Ext.form { export interface INumber extends Ext.form.field.ISpinner { /** [Config Option] (Boolean) */ - allowDecimals?: bool; + allowDecimals?: boolean; /** [Config Option] (Boolean) */ - allowExponential?: bool; + allowExponential?: boolean; /** [Config Option] (Boolean) */ - autoStripChars?: bool; + autoStripChars?: boolean; /** [Config Option] (String) */ baseChars?: string; /** [Config Option] (Number) */ @@ -20358,7 +20074,7 @@ declare module Ext.form { /** [Config Option] (Number) */ step?: number; /** [Config Option] (Boolean) */ - submitLocaleSeparator?: bool; + submitLocaleSeparator?: boolean; /** [Method] Template method to do any pre blur processing */ beforeBlur?(): void; /** [Method] Runs all of Number s validations and returns an array of any errors @@ -20404,9 +20120,9 @@ declare module Ext.form { declare module Ext.form.field { export interface IPicker extends Ext.form.field.ITrigger { /** [Config Option] (Boolean) */ - editable?: bool; + editable?: boolean; /** [Config Option] (Boolean) */ - matchFieldWidth?: bool; + matchFieldWidth?: boolean; /** [Config Option] (String) */ openCls?: string; /** [Config Option] (String) */ @@ -20414,7 +20130,7 @@ declare module Ext.form.field { /** [Config Option] (Number[]) */ pickerOffset?: number[]; /** [Property] (Boolean) */ - isExpanded?: bool; + isExpanded?: boolean; /** [Method] Aligns the picker to the input element */ alignPicker?(): void; /** [Method] Collapses this field s picker dropdown */ @@ -20436,9 +20152,9 @@ declare module Ext.form.field { declare module Ext.form { export interface IPicker extends Ext.form.field.ITrigger { /** [Config Option] (Boolean) */ - editable?: bool; + editable?: boolean; /** [Config Option] (Boolean) */ - matchFieldWidth?: bool; + matchFieldWidth?: boolean; /** [Config Option] (String) */ openCls?: string; /** [Config Option] (String) */ @@ -20446,7 +20162,7 @@ declare module Ext.form { /** [Config Option] (Number[]) */ pickerOffset?: number[]; /** [Property] (Boolean) */ - isExpanded?: bool; + isExpanded?: boolean; /** [Method] Aligns the picker to the input element */ alignPicker?(): void; /** [Method] Collapses this field s picker dropdown */ @@ -20472,7 +20188,7 @@ declare module Ext.form.field { /** [Config Option] (String) */ inputType?: string; /** [Property] (Boolean) */ - isRadio?: bool; + isRadio?: boolean; /** [Method] If this radio is part of a group it will return the selected value */ getGroupValue?(): string; /** [Method] Returns the value s that should be saved to the Ext data Model instance for this field when Ext form Basic updateRe */ @@ -20486,7 +20202,7 @@ declare module Ext.form.field { */ setValue?( value?:any ): any; setValue?( value?:string ): Ext.form.field.IRadio; - setValue?( value?:bool ): Ext.form.field.IRadio; + setValue?( value?:boolean ): Ext.form.field.IRadio; } } declare module Ext.form { @@ -20496,7 +20212,7 @@ declare module Ext.form { /** [Config Option] (String) */ inputType?: string; /** [Property] (Boolean) */ - isRadio?: bool; + isRadio?: boolean; /** [Method] If this radio is part of a group it will return the selected value */ getGroupValue?(): string; /** [Method] Returns the value s that should be saved to the Ext data Model instance for this field when Ext form Basic updateRe */ @@ -20510,21 +20226,21 @@ declare module Ext.form { */ setValue?( value?:any ): any; setValue?( value?:string ): Ext.form.field.IRadio; - setValue?( value?:bool ): Ext.form.field.IRadio; + setValue?( value?:boolean ): Ext.form.field.IRadio; } } declare module Ext.form.field { export interface ISpinner extends Ext.form.field.ITrigger { /** [Config Option] (Boolean) */ - keyNavEnabled?: bool; + keyNavEnabled?: boolean; /** [Config Option] (Boolean) */ - mouseWheelEnabled?: bool; + mouseWheelEnabled?: boolean; /** [Config Option] (Boolean) */ - repeatTriggerClick?: bool; + repeatTriggerClick?: boolean; /** [Config Option] (Boolean) */ - spinDownEnabled?: bool; + spinDownEnabled?: boolean; /** [Config Option] (Boolean) */ - spinUpEnabled?: bool; + spinUpEnabled?: boolean; /** [Property] (Ext.Element) */ spinDownEl?: Ext.IElement; /** [Property] (Ext.Element) */ @@ -20544,11 +20260,11 @@ declare module Ext.form.field { /** [Method] Sets whether the spinner down button is enabled * @param enabled Boolean true to enable the button, false to disable it. */ - setSpinDownEnabled?( enabled?:bool ): void; + setSpinDownEnabled?( enabled?:boolean ): void; /** [Method] Sets whether the spinner up button is enabled * @param enabled Boolean true to enable the button, false to disable it. */ - setSpinUpEnabled?( enabled?:bool ): void; + setSpinUpEnabled?( enabled?:boolean ): void; /** [Method] Triggers the spinner to step down fires the spin and spindown events and calls the onSpinDown method */ spinDown?(): void; /** [Method] Triggers the spinner to step up fires the spin and spinup events and calls the onSpinUp method */ @@ -20558,15 +20274,15 @@ declare module Ext.form.field { declare module Ext.form { export interface ISpinner extends Ext.form.field.ITrigger { /** [Config Option] (Boolean) */ - keyNavEnabled?: bool; + keyNavEnabled?: boolean; /** [Config Option] (Boolean) */ - mouseWheelEnabled?: bool; + mouseWheelEnabled?: boolean; /** [Config Option] (Boolean) */ - repeatTriggerClick?: bool; + repeatTriggerClick?: boolean; /** [Config Option] (Boolean) */ - spinDownEnabled?: bool; + spinDownEnabled?: boolean; /** [Config Option] (Boolean) */ - spinUpEnabled?: bool; + spinUpEnabled?: boolean; /** [Property] (Ext.Element) */ spinDownEl?: Ext.IElement; /** [Property] (Ext.Element) */ @@ -20586,11 +20302,11 @@ declare module Ext.form { /** [Method] Sets whether the spinner down button is enabled * @param enabled Boolean true to enable the button, false to disable it. */ - setSpinDownEnabled?( enabled?:bool ): void; + setSpinDownEnabled?( enabled?:boolean ): void; /** [Method] Sets whether the spinner up button is enabled * @param enabled Boolean true to enable the button, false to disable it. */ - setSpinUpEnabled?( enabled?:bool ): void; + setSpinUpEnabled?( enabled?:boolean ): void; /** [Method] Triggers the spinner to step down fires the spin and spindown events and calls the onSpinDown method */ spinDown?(): void; /** [Method] Triggers the spinner to step up fires the spin and spinup events and calls the onSpinUp method */ @@ -20600,23 +20316,23 @@ declare module Ext.form { declare module Ext.form.field { export interface IText extends Ext.form.field.IBase { /** [Config Option] (Boolean) */ - allowBlank?: bool; + allowBlank?: boolean; /** [Config Option] (Boolean) */ - allowOnlyWhitespace?: bool; + allowOnlyWhitespace?: boolean; /** [Config Option] (String) */ blankText?: string; /** [Config Option] (Boolean) */ - disableKeyFilter?: bool; + disableKeyFilter?: boolean; /** [Config Option] (String) */ emptyCls?: string; /** [Config Option] (String) */ emptyText?: string; /** [Config Option] (Boolean) */ - enableKeyEvents?: bool; + enableKeyEvents?: boolean; /** [Config Option] (Boolean) */ - enforceMaxLength?: bool; + enforceMaxLength?: boolean; /** [Config Option] (Boolean) */ - grow?: bool; + grow?: boolean; /** [Config Option] (String) */ growAppend?: string; /** [Config Option] (Number) */ @@ -20640,13 +20356,13 @@ declare module Ext.form.field { /** [Config Option] (String) */ requiredCls?: string; /** [Config Option] (Boolean) */ - selectOnFocus?: bool; + selectOnFocus?: boolean; /** [Config Option] (Number) */ size?: number; /** [Config Option] (RegExp) */ stripCharsRe?: RegExp; /** [Config Option] (Boolean) */ - validateBlank?: bool; + validateBlank?: boolean; /** [Config Option] (Function) */ validator?: any; /** [Config Option] (String) */ @@ -20707,23 +20423,23 @@ declare module Ext.form.field { declare module Ext.form { export interface ITextField extends Ext.form.field.IBase { /** [Config Option] (Boolean) */ - allowBlank?: bool; + allowBlank?: boolean; /** [Config Option] (Boolean) */ - allowOnlyWhitespace?: bool; + allowOnlyWhitespace?: boolean; /** [Config Option] (String) */ blankText?: string; /** [Config Option] (Boolean) */ - disableKeyFilter?: bool; + disableKeyFilter?: boolean; /** [Config Option] (String) */ emptyCls?: string; /** [Config Option] (String) */ emptyText?: string; /** [Config Option] (Boolean) */ - enableKeyEvents?: bool; + enableKeyEvents?: boolean; /** [Config Option] (Boolean) */ - enforceMaxLength?: bool; + enforceMaxLength?: boolean; /** [Config Option] (Boolean) */ - grow?: bool; + grow?: boolean; /** [Config Option] (String) */ growAppend?: string; /** [Config Option] (Number) */ @@ -20747,13 +20463,13 @@ declare module Ext.form { /** [Config Option] (String) */ requiredCls?: string; /** [Config Option] (Boolean) */ - selectOnFocus?: bool; + selectOnFocus?: boolean; /** [Config Option] (Number) */ size?: number; /** [Config Option] (RegExp) */ stripCharsRe?: RegExp; /** [Config Option] (Boolean) */ - validateBlank?: bool; + validateBlank?: boolean; /** [Config Option] (Function) */ validator?: any; /** [Config Option] (String) */ @@ -20814,23 +20530,23 @@ declare module Ext.form { declare module Ext.form { export interface IText extends Ext.form.field.IBase { /** [Config Option] (Boolean) */ - allowBlank?: bool; + allowBlank?: boolean; /** [Config Option] (Boolean) */ - allowOnlyWhitespace?: bool; + allowOnlyWhitespace?: boolean; /** [Config Option] (String) */ blankText?: string; /** [Config Option] (Boolean) */ - disableKeyFilter?: bool; + disableKeyFilter?: boolean; /** [Config Option] (String) */ emptyCls?: string; /** [Config Option] (String) */ emptyText?: string; /** [Config Option] (Boolean) */ - enableKeyEvents?: bool; + enableKeyEvents?: boolean; /** [Config Option] (Boolean) */ - enforceMaxLength?: bool; + enforceMaxLength?: boolean; /** [Config Option] (Boolean) */ - grow?: bool; + grow?: boolean; /** [Config Option] (String) */ growAppend?: string; /** [Config Option] (Number) */ @@ -20854,13 +20570,13 @@ declare module Ext.form { /** [Config Option] (String) */ requiredCls?: string; /** [Config Option] (Boolean) */ - selectOnFocus?: bool; + selectOnFocus?: boolean; /** [Config Option] (Number) */ size?: number; /** [Config Option] (RegExp) */ stripCharsRe?: RegExp; /** [Config Option] (Boolean) */ - validateBlank?: bool; + validateBlank?: boolean; /** [Config Option] (Function) */ validator?: any; /** [Config Option] (String) */ @@ -20925,7 +20641,7 @@ declare module Ext.form.field { /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Boolean) */ - enterIsSpecial?: bool; + enterIsSpecial?: boolean; /** [Config Option] (String) */ growAppend?: string; /** [Config Option] (Number) */ @@ -20933,7 +20649,7 @@ declare module Ext.form.field { /** [Config Option] (Number) */ growMin?: number; /** [Config Option] (Boolean) */ - preventScrollbars?: bool; + preventScrollbars?: boolean; /** [Config Option] (Number) */ rows?: number; /** [Method] Allows addition of behavior after rendering is complete */ @@ -20967,7 +20683,7 @@ declare module Ext.form { /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Boolean) */ - enterIsSpecial?: bool; + enterIsSpecial?: boolean; /** [Config Option] (String) */ growAppend?: string; /** [Config Option] (Number) */ @@ -20975,7 +20691,7 @@ declare module Ext.form { /** [Config Option] (Number) */ growMin?: number; /** [Config Option] (Boolean) */ - preventScrollbars?: bool; + preventScrollbars?: boolean; /** [Config Option] (Number) */ rows?: number; /** [Method] Allows addition of behavior after rendering is complete */ @@ -21027,9 +20743,9 @@ declare module Ext.form.field { /** [Config Option] (String) */ queryMode?: string; /** [Config Option] (Boolean) */ - selectOnTab?: bool; + selectOnTab?: boolean; /** [Config Option] (Boolean) */ - snapToIncrement?: bool; + snapToIncrement?: boolean; /** [Config Option] (String) */ submitFormat?: string; /** [Config Option] (String) */ @@ -21093,9 +20809,9 @@ declare module Ext.form { /** [Config Option] (String) */ queryMode?: string; /** [Config Option] (Boolean) */ - selectOnTab?: bool; + selectOnTab?: boolean; /** [Config Option] (Boolean) */ - snapToIncrement?: bool; + snapToIncrement?: boolean; /** [Config Option] (String) */ submitFormat?: string; /** [Config Option] (String) */ @@ -21159,9 +20875,9 @@ declare module Ext.form { /** [Config Option] (String) */ queryMode?: string; /** [Config Option] (Boolean) */ - selectOnTab?: bool; + selectOnTab?: boolean; /** [Config Option] (Boolean) */ - snapToIncrement?: bool; + snapToIncrement?: boolean; /** [Config Option] (String) */ submitFormat?: string; /** [Config Option] (String) */ @@ -21205,15 +20921,15 @@ declare module Ext.form.field { /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Boolean) */ - editable?: bool; + editable?: boolean; /** [Config Option] (Boolean) */ - hideTrigger?: bool; + hideTrigger?: boolean; /** [Config Option] (Boolean) */ - readOnly?: bool; + readOnly?: boolean; /** [Config Option] (Boolean) */ - repeatTriggerClick?: bool; + repeatTriggerClick?: boolean; /** [Config Option] (Boolean) */ - selectOnFocus?: bool; + selectOnFocus?: boolean; /** [Config Option] (String) */ triggerBaseCls?: string; /** [Config Option] (String) */ @@ -21249,11 +20965,11 @@ declare module Ext.form.field { /** [Method] Sets the editable state of this field * @param editable Boolean True to allow the user to directly edit the field text. If false is passed, the user will only be able to modify the field using the trigger. Will also add a click event to the text field which will call the trigger. */ - setEditable?( editable?:bool ): void; + setEditable?( editable?:boolean ): void; /** [Method] Sets the read only state of this field * @param readOnly Boolean True to prevent the user changing the field and explicitly hide the trigger. Setting this to true will supercede settings editable and hideTrigger. Setting this to false will defer back to editable and hideTrigger. */ - setReadOnly?( readOnly?:bool ): void; + setReadOnly?( readOnly?:boolean ): void; } } declare module Ext.form { @@ -21261,15 +20977,15 @@ declare module Ext.form { /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Boolean) */ - editable?: bool; + editable?: boolean; /** [Config Option] (Boolean) */ - hideTrigger?: bool; + hideTrigger?: boolean; /** [Config Option] (Boolean) */ - readOnly?: bool; + readOnly?: boolean; /** [Config Option] (Boolean) */ - repeatTriggerClick?: bool; + repeatTriggerClick?: boolean; /** [Config Option] (Boolean) */ - selectOnFocus?: bool; + selectOnFocus?: boolean; /** [Config Option] (String) */ triggerBaseCls?: string; /** [Config Option] (String) */ @@ -21305,11 +21021,11 @@ declare module Ext.form { /** [Method] Sets the editable state of this field * @param editable Boolean True to allow the user to directly edit the field text. If false is passed, the user will only be able to modify the field using the trigger. Will also add a click event to the text field which will call the trigger. */ - setEditable?( editable?:bool ): void; + setEditable?( editable?:boolean ): void; /** [Method] Sets the read only state of this field * @param readOnly Boolean True to prevent the user changing the field and explicitly hide the trigger. Setting this to true will supercede settings editable and hideTrigger. Setting this to false will defer back to editable and hideTrigger. */ - setReadOnly?( readOnly?:bool ): void; + setReadOnly?( readOnly?:boolean ): void; } } declare module Ext.form { @@ -21317,15 +21033,15 @@ declare module Ext.form { /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Boolean) */ - editable?: bool; + editable?: boolean; /** [Config Option] (Boolean) */ - hideTrigger?: bool; + hideTrigger?: boolean; /** [Config Option] (Boolean) */ - readOnly?: bool; + readOnly?: boolean; /** [Config Option] (Boolean) */ - repeatTriggerClick?: bool; + repeatTriggerClick?: boolean; /** [Config Option] (Boolean) */ - selectOnFocus?: bool; + selectOnFocus?: boolean; /** [Config Option] (String) */ triggerBaseCls?: string; /** [Config Option] (String) */ @@ -21361,11 +21077,11 @@ declare module Ext.form { /** [Method] Sets the editable state of this field * @param editable Boolean True to allow the user to directly edit the field text. If false is passed, the user will only be able to modify the field using the trigger. Will also add a click event to the text field which will call the trigger. */ - setEditable?( editable?:bool ): void; + setEditable?( editable?:boolean ): void; /** [Method] Sets the read only state of this field * @param readOnly Boolean True to prevent the user changing the field and explicitly hide the trigger. Setting this to true will supercede settings editable and hideTrigger. Setting this to false will defer back to editable and hideTrigger. */ - setReadOnly?( readOnly?:bool ): void; + setReadOnly?( readOnly?:boolean ): void; } } declare module Ext.form { @@ -21373,15 +21089,15 @@ declare module Ext.form { /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Boolean) */ - editable?: bool; + editable?: boolean; /** [Config Option] (Boolean) */ - hideTrigger?: bool; + hideTrigger?: boolean; /** [Config Option] (Boolean) */ - readOnly?: bool; + readOnly?: boolean; /** [Config Option] (Boolean) */ - repeatTriggerClick?: bool; + repeatTriggerClick?: boolean; /** [Config Option] (Boolean) */ - selectOnFocus?: bool; + selectOnFocus?: boolean; /** [Config Option] (String) */ triggerBaseCls?: string; /** [Config Option] (String) */ @@ -21417,11 +21133,11 @@ declare module Ext.form { /** [Method] Sets the editable state of this field * @param editable Boolean True to allow the user to directly edit the field text. If false is passed, the user will only be able to modify the field using the trigger. Will also add a click event to the text field which will call the trigger. */ - setEditable?( editable?:bool ): void; + setEditable?( editable?:boolean ): void; /** [Method] Sets the read only state of this field * @param readOnly Boolean True to prevent the user changing the field and explicitly hide the trigger. Setting this to true will supercede settings editable and hideTrigger. Setting this to false will defer back to editable and hideTrigger. */ - setReadOnly?( readOnly?:bool ): void; + setReadOnly?( readOnly?:boolean ): void; } } declare module Ext.form.field { @@ -21431,11 +21147,11 @@ declare module Ext.form.field { /** [Method] The function used to validate alpha values * @param value String The value */ - static alpha( value?:string ): bool; + static alpha( value?:string ): boolean; /** [Method] The function used to validate alphanumeric values * @param value String The value */ - static alphanum( value?:string ): bool; + static alphanum( value?:string ): boolean; /** [Method] Call the original method that was previously overridden with override Ext define My Cat constructor functi * @param args Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments) */ @@ -21454,7 +21170,7 @@ declare module Ext.form.field { /** [Method] The function used to validate email addresses * @param value String The email address */ - static email( value?:string ): bool; + static email( value?:string ): boolean; /** [Method] Returns the initial configuration passed to constructor when instantiating this class * @param name String Name of the config option to return. */ @@ -21468,30 +21184,7 @@ declare module Ext.form.field { /** [Method] The function used to validate URLs * @param value String The URL */ - static url( value?:string ): bool; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; + static url( value?:string ): boolean; } } declare module Ext.form { @@ -21501,11 +21194,11 @@ declare module Ext.form { /** [Method] The function used to validate alpha values * @param value String The value */ - static alpha( value?:string ): bool; + static alpha( value?:string ): boolean; /** [Method] The function used to validate alphanumeric values * @param value String The value */ - static alphanum( value?:string ): bool; + static alphanum( value?:string ): boolean; /** [Method] Call the original method that was previously overridden with override Ext define My Cat constructor functi * @param args Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments) */ @@ -21524,7 +21217,7 @@ declare module Ext.form { /** [Method] The function used to validate email addresses * @param value String The email address */ - static email( value?:string ): bool; + static email( value?:string ): boolean; /** [Method] Returns the initial configuration passed to constructor when instantiating this class * @param name String Name of the config option to return. */ @@ -21538,30 +21231,7 @@ declare module Ext.form { /** [Method] The function used to validate URLs * @param value String The URL */ - static url( value?:string ): bool; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; + static url( value?:string ): boolean; } } declare module Ext.form { @@ -21579,15 +21249,15 @@ declare module Ext.form { * @param field Ext.form.field.Field The sub-field whose validity changed * @param valid Boolean The new validity state */ - onFieldValidityChange?( field?:Ext.form.field.IField, valid?:bool ): void; + onFieldValidityChange?( field?:Ext.form.field.IField, valid?:boolean ): void; } } declare module Ext.form { export interface IFieldContainer extends Ext.container.IContainer,Ext.form.ILabelable,Ext.form.IFieldAncestor { /** [Config Option] (Boolean) */ - combineErrors?: bool; + combineErrors?: boolean; /** [Config Option] (Boolean) */ - combineLabels?: bool; + combineLabels?: boolean; /** [Config Option] (String) */ componentCls?: string; /** [Config Option] (String/Object) */ @@ -21597,7 +21267,7 @@ declare module Ext.form { /** [Config Option] (String) */ labelConnector?: string; /** [Property] (Boolean) */ - maskOnDisable?: bool; + maskOnDisable?: boolean; /** [Method] Gets the active error message for this component if any */ getActiveError?(): string; /** [Method] Gets an Array of any active error messages currently applied to the field */ @@ -21617,9 +21287,9 @@ declare module Ext.form { /** [Method] Gets the markup to be inserted into the outer template s bodyEl */ getSubTplMarkup?(): string; /** [Method] Tells whether the field currently has an active error message */ - hasActiveError?(): bool; + hasActiveError?(): boolean; /** [Method] Checks if the field has a visible label */ - hasVisibleLabel?(): bool; + hasVisibleLabel?(): boolean; /** [Method] Initializes the FieldAncestor s state this must be called from the initComponent method of any components importing */ initFieldAncestor?(): void; /** [Method] Performs initialization of this mixin */ @@ -21634,7 +21304,7 @@ declare module Ext.form { * @param field Ext.form.field.Field The sub-field whose validity changed * @param valid Boolean The new validity state */ - onFieldValidityChange?( field?:Ext.form.field.IField, valid?:bool ): void; + onFieldValidityChange?( field?:Ext.form.field.IField, valid?:boolean ): void; /** [Method] Called when a Ext form Labelable instance is removed from the container s subtree * @param labelable Ext.form.Labelable The instance that was removed */ @@ -21670,11 +21340,11 @@ declare module Ext.form { /** [Config Option] (String) */ checkboxName?: string; /** [Config Option] (Boolean) */ - checkboxToggle?: bool; + checkboxToggle?: boolean; /** [Config Option] (Boolean) */ - collapsed?: bool; + collapsed?: boolean; /** [Config Option] (Boolean) */ - collapsible?: bool; + collapsible?: boolean; /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Ext.enums.Layout/Object) */ @@ -21686,13 +21356,13 @@ declare module Ext.form { /** [Config Option] (String) */ title?: string; /** [Config Option] (Boolean) */ - toggleOnTitleClick?: bool; + toggleOnTitleClick?: boolean; /** [Property] (Ext.form.field.Checkbox) */ checkboxCmp?: Ext.form.field.ICheckbox; /** [Property] (Ext.Component) */ legend?: Ext.IComponent; /** [Property] (Boolean) */ - maskOnDisable?: bool; + maskOnDisable?: boolean; /** [Property] (Ext.panel.Tool) */ toggleCmp?: Ext.panel.ITool; /** [Method] Collapses the fieldset */ @@ -21722,7 +21392,7 @@ declare module Ext.form { * @param field Ext.form.field.Field The sub-field whose validity changed * @param valid Boolean The new validity state */ - onFieldValidityChange?( field?:Ext.form.field.IField, valid?:bool ): void; + onFieldValidityChange?( field?:Ext.form.field.IField, valid?:boolean ): void; /** [Method] Sets the title of this fieldset * @param title String The new title. */ @@ -21745,7 +21415,7 @@ declare module Ext.form { * @param text String The new label text * @param encode Boolean False to skip HTML-encoding the text when rendering it to the label. This might be useful if you want to include tags in the label's innerHTML rather than rendering them as string literals per the default logic. */ - setText?( text?:string, encode?:bool ): Ext.form.ILabel; + setText?( text?:string, encode?:boolean ): Ext.form.ILabel; } } declare module Ext.form { @@ -21763,7 +21433,7 @@ declare module Ext.form { /** [Config Option] (String/Array/Ext.XTemplate) */ afterSubTpl?: any; /** [Config Option] (Boolean) */ - autoFitErrors?: bool; + autoFitErrors?: boolean; /** [Config Option] (String) */ baseBodyCls?: string; /** [Config Option] (String/Array/Ext.XTemplate) */ @@ -21785,9 +21455,9 @@ declare module Ext.form { /** [Config Option] (String) */ formItemCls?: string; /** [Config Option] (Boolean) */ - hideEmptyLabel?: bool; + hideEmptyLabel?: boolean; /** [Config Option] (Boolean) */ - hideLabel?: bool; + hideLabel?: boolean; /** [Config Option] (String) */ invalidCls?: string; /** [Config Option] (String) */ @@ -21809,13 +21479,13 @@ declare module Ext.form { /** [Config Option] (String) */ msgTarget?: string; /** [Config Option] (Boolean) */ - preventMark?: bool; + preventMark?: boolean; /** [Property] (Ext.Element) */ bodyEl?: Ext.IElement; /** [Property] (Ext.Element) */ errorEl?: Ext.IElement; /** [Property] (Boolean) */ - isFieldLabelable?: bool; + isFieldLabelable?: boolean; /** [Property] (Ext.Element) */ labelCell?: Ext.IElement; /** [Property] (Ext.Element) */ @@ -21835,9 +21505,9 @@ declare module Ext.form { /** [Method] Gets the markup to be inserted into the outer template s bodyEl */ getSubTplMarkup?(): string; /** [Method] Tells whether the field currently has an active error message */ - hasActiveError?(): bool; + hasActiveError?(): boolean; /** [Method] Checks if the field has a visible label */ - hasVisibleLabel?(): bool; + hasVisibleLabel?(): boolean; /** [Method] Performs initialization of this mixin */ initLabelable?(): void; /** [Method] Sets the active error message to the given string @@ -21867,7 +21537,7 @@ declare module Ext.form { /** [Config Option] (Ext.enums.Layout/Object) */ layout?: any; /** [Config Option] (Boolean) */ - pollForChanges?: bool; + pollForChanges?: boolean; /** [Config Option] (Number) */ pollInterval?: number; /** [Method] Forces each field within the form panel to check if its value has changed */ @@ -21882,15 +21552,15 @@ declare module Ext.form { * @param includeEmptyText Boolean If true, the configured emptyText of empty fields will be used. * @param useDataValues Boolean If true, the getModelData method is used to retrieve values from fields, otherwise the getSubmitData method is used. */ - getValues?( asString?:bool, dirtyOnly?:bool, includeEmptyText?:bool, useDataValues?:bool ): any; + getValues?( asString?:boolean, dirtyOnly?:boolean, includeEmptyText?:boolean, useDataValues?:boolean ): any; /** [Method] Convenience function to check if the form has any invalid fields */ hasInvalidField?(): void; /** [Method] Initializes the FieldAncestor s state this must be called from the initComponent method of any components importing */ initFieldAncestor?(): void; /** [Method] Convenience function to check if the form has any dirty fields */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Convenience function to check if the form has all valid fields */ - isValid?(): bool; + isValid?(): boolean; /** [Method] This is a proxy for the underlying BasicForm s Ext form Basic load call * @param options Object The options to pass to the action (see Ext.form.Basic.load and Ext.form.Basic.doAction for details) */ @@ -21908,7 +21578,7 @@ declare module Ext.form { * @param field Ext.form.field.Field The sub-field whose validity changed * @param valid Boolean The new validity state */ - onFieldValidityChange?( field?:Ext.form.field.IField, valid?:bool ): void; + onFieldValidityChange?( field?:Ext.form.field.IField, valid?:boolean ): void; /** [Method] Start an interval task to continuously poll all the fields in the form for changes in their values * @param interval Number The interval in milliseconds at which the check should run. */ @@ -21930,7 +21600,7 @@ declare module Ext { /** [Config Option] (Ext.enums.Layout/Object) */ layout?: any; /** [Config Option] (Boolean) */ - pollForChanges?: bool; + pollForChanges?: boolean; /** [Config Option] (Number) */ pollInterval?: number; /** [Method] Forces each field within the form panel to check if its value has changed */ @@ -21945,15 +21615,15 @@ declare module Ext { * @param includeEmptyText Boolean If true, the configured emptyText of empty fields will be used. * @param useDataValues Boolean If true, the getModelData method is used to retrieve values from fields, otherwise the getSubmitData method is used. */ - getValues?( asString?:bool, dirtyOnly?:bool, includeEmptyText?:bool, useDataValues?:bool ): any; + getValues?( asString?:boolean, dirtyOnly?:boolean, includeEmptyText?:boolean, useDataValues?:boolean ): any; /** [Method] Convenience function to check if the form has any invalid fields */ hasInvalidField?(): void; /** [Method] Initializes the FieldAncestor s state this must be called from the initComponent method of any components importing */ initFieldAncestor?(): void; /** [Method] Convenience function to check if the form has any dirty fields */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Convenience function to check if the form has all valid fields */ - isValid?(): bool; + isValid?(): boolean; /** [Method] This is a proxy for the underlying BasicForm s Ext form Basic load call * @param options Object The options to pass to the action (see Ext.form.Basic.load and Ext.form.Basic.doAction for details) */ @@ -21971,7 +21641,7 @@ declare module Ext { * @param field Ext.form.field.Field The sub-field whose validity changed * @param valid Boolean The new validity state */ - onFieldValidityChange?( field?:Ext.form.field.IField, valid?:bool ): void; + onFieldValidityChange?( field?:Ext.form.field.IField, valid?:boolean ): void; /** [Method] Start an interval task to continuously poll all the fields in the form for changes in their values * @param interval Number The interval in milliseconds at which the check should run. */ @@ -21993,7 +21663,7 @@ declare module Ext.form { /** [Config Option] (Ext.enums.Layout/Object) */ layout?: any; /** [Config Option] (Boolean) */ - pollForChanges?: bool; + pollForChanges?: boolean; /** [Config Option] (Number) */ pollInterval?: number; /** [Method] Forces each field within the form panel to check if its value has changed */ @@ -22008,15 +21678,15 @@ declare module Ext.form { * @param includeEmptyText Boolean If true, the configured emptyText of empty fields will be used. * @param useDataValues Boolean If true, the getModelData method is used to retrieve values from fields, otherwise the getSubmitData method is used. */ - getValues?( asString?:bool, dirtyOnly?:bool, includeEmptyText?:bool, useDataValues?:bool ): any; + getValues?( asString?:boolean, dirtyOnly?:boolean, includeEmptyText?:boolean, useDataValues?:boolean ): any; /** [Method] Convenience function to check if the form has any invalid fields */ hasInvalidField?(): void; /** [Method] Initializes the FieldAncestor s state this must be called from the initComponent method of any components importing */ initFieldAncestor?(): void; /** [Method] Convenience function to check if the form has any dirty fields */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Convenience function to check if the form has all valid fields */ - isValid?(): bool; + isValid?(): boolean; /** [Method] This is a proxy for the underlying BasicForm s Ext form Basic load call * @param options Object The options to pass to the action (see Ext.form.Basic.load and Ext.form.Basic.doAction for details) */ @@ -22034,7 +21704,7 @@ declare module Ext.form { * @param field Ext.form.field.Field The sub-field whose validity changed * @param valid Boolean The new validity state */ - onFieldValidityChange?( field?:Ext.form.field.IField, valid?:bool ): void; + onFieldValidityChange?( field?:Ext.form.field.IField, valid?:boolean ): void; /** [Method] Start an interval task to continuously poll all the fields in the form for changes in their values * @param interval Number The interval in milliseconds at which the check should run. */ @@ -22054,7 +21724,7 @@ declare module Ext.form { declare module Ext.form { export interface IRadioGroup extends Ext.form.ICheckboxGroup { /** [Config Option] (Boolean) */ - allowBlank?: bool; + allowBlank?: boolean; /** [Config Option] (String) */ blankText?: string; /** [Config Option] (String) */ @@ -22131,15 +21801,15 @@ declare module Ext.form { * @param root String 'root' property to extract the first argument from. This is used mainly when summing fields in records, where the fields are all stored inside the 'data' object * @param allowBlank Boolean Pass true to allow null, undefined or empty string values */ - static collect( property?:string, root?:string, allowBlank?:bool ): any[]; + static collect( property?:string, root?:string, allowBlank?:boolean ): any[]; /** [Method] Returns true if the collection contains the passed Object as an item * @param o Object The Object to look for in the collection. */ - static contains( o?:any ): bool; + static contains( o?:any ): boolean; /** [Method] Returns true if the collection contains the passed Object as a key * @param key String The key to look for in the collection. */ - static containsKey( key?:string ): bool; + static containsKey( key?:string ): boolean; /** [Method] Executes the specified function once for every item in the collection * @param fn Function The function to execute for each item. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the current item in the iteration. @@ -22163,10 +21833,10 @@ declare module Ext.form { * @param caseSensitive Boolean True for case sensitive comparison. */ static filter( property?:any, value?:any, anyMatch?:any, caseSensitive?:any ): any; - static filter( property?:Ext.util.IFilter[], value?:string, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:string, value?:string, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:Ext.util.IFilter[], value?:RegExp, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - static filter( property?:string, value?:RegExp, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; + static filter( property?:Ext.util.IFilter[], value?:string, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:string, value?:string, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:Ext.util.IFilter[], value?:RegExp, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + static filter( property?:string, value?:RegExp, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; /** [Method] Filter by a function * @param fn Function The function to be called. * @param scope Object The scope (this reference) in which the function is executed. Defaults to this MixedCollection. @@ -22187,8 +21857,8 @@ declare module Ext.form { * @param caseSensitive Boolean True for case sensitive comparison. */ static findIndex( property?:any, value?:any, start?:any, anyMatch?:any, caseSensitive?:any ): any; - static findIndex( property?:string, value?:string, start?:number, anyMatch?:bool, caseSensitive?:bool ): number; - static findIndex( property?:string, value?:RegExp, start?:number, anyMatch?:bool, caseSensitive?:bool ): number; + static findIndex( property?:string, value?:string, start?:number, anyMatch?:boolean, caseSensitive?:boolean ): number; + static findIndex( property?:string, value?:RegExp, start?:number, anyMatch?:boolean, caseSensitive?:boolean ): number; /** [Method] Find the index of the first matching object in this collection by a function * @param fn Function The function to be called. * @param scope Object The scope (this reference) in which the function is executed. Defaults to this MixedCollection. @@ -22204,12 +21874,12 @@ declare module Ext.form { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - static fireEventArgs( eventName?:string, args?:any[] ): bool; + static fireEventArgs( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the first item in the collection */ static first(): any; /** [Method] Returns a comparator function which compares two items and returns 1 0 or 1 depending on the currently defined set */ @@ -22250,7 +21920,7 @@ declare module Ext.form { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Returns index within the collection of the passed Object * @param o Object The item to find the index of. */ @@ -22388,7 +22058,7 @@ declare module Ext.form { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - static suspendEvents( queueSuspended?:bool ): void; + static suspendEvents( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -22400,29 +22070,6 @@ declare module Ext.form { * @param newKey Object The new key */ static updateKey( oldKey?:any, newKey?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -22441,7 +22088,7 @@ declare module Ext { * @param appendArgs Boolean/Number if True args are appended to call args instead of overriding, if a number the args are inserted at the specified position */ static bind( fn?:any, scope?:any, args?:any, appendArgs?:any ): any; - static bind( fn?:any, scope?:any, args?:any[], appendArgs?:bool ): any; + static bind( fn?:any, scope?:any, args?:any[], appendArgs?:boolean ): any; static bind( fn?:any, scope?:any, args?:any[], appendArgs?:number ): any; /** [Method] Create a clone of the provided method * @param method Function @@ -22462,7 +22109,7 @@ declare module Ext { * @param appendArgs Boolean/Number if True args are appended to call args instead of overriding, if a number the args are inserted at the specified position. */ static createDelayed( fn?:any, delay?:any, scope?:any, args?:any, appendArgs?:any ): any; - static createDelayed( fn?:any, delay?:number, scope?:any, args?:any[], appendArgs?:bool ): any; + static createDelayed( fn?:any, delay?:number, scope?:any, args?:any[], appendArgs?:boolean ): any; static createDelayed( fn?:any, delay?:number, scope?:any, args?:any[], appendArgs?:number ): any; /** [Method] Creates an interceptor function * @param origFn Function The original function. @@ -22491,7 +22138,7 @@ declare module Ext { * @param appendArgs Boolean/Number if True args are appended to call args instead of overriding, if a number the args are inserted at the specified position */ static defer( fn?:any, millis?:any, scope?:any, args?:any, appendArgs?:any ): any; - static defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:bool ): number; + static defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:boolean ): number; static defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:number ): number; /** [Method] A very commonly used method throughout the framework * @param setter Function @@ -22535,7 +22182,7 @@ declare module Ext.util { * @param appendArgs Boolean/Number if True args are appended to call args instead of overriding, if a number the args are inserted at the specified position */ static bind( fn?:any, scope?:any, args?:any, appendArgs?:any ): any; - static bind( fn?:any, scope?:any, args?:any[], appendArgs?:bool ): any; + static bind( fn?:any, scope?:any, args?:any[], appendArgs?:boolean ): any; static bind( fn?:any, scope?:any, args?:any[], appendArgs?:number ): any; /** [Method] Create a clone of the provided method * @param method Function @@ -22556,7 +22203,7 @@ declare module Ext.util { * @param appendArgs Boolean/Number if True args are appended to call args instead of overriding, if a number the args are inserted at the specified position. */ static createDelayed( fn?:any, delay?:any, scope?:any, args?:any, appendArgs?:any ): any; - static createDelayed( fn?:any, delay?:number, scope?:any, args?:any[], appendArgs?:bool ): any; + static createDelayed( fn?:any, delay?:number, scope?:any, args?:any[], appendArgs?:boolean ): any; static createDelayed( fn?:any, delay?:number, scope?:any, args?:any[], appendArgs?:number ): any; /** [Method] Creates an interceptor function * @param origFn Function The original function. @@ -22585,7 +22232,7 @@ declare module Ext.util { * @param appendArgs Boolean/Number if True args are appended to call args instead of overriding, if a number the args are inserted at the specified position */ static defer( fn?:any, millis?:any, scope?:any, args?:any, appendArgs?:any ): any; - static defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:bool ): number; + static defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:boolean ): number; static defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:number ): number; /** [Method] A very commonly used method throughout the framework * @param setter Function @@ -22616,7 +22263,7 @@ declare module Ext.util { declare module Ext.fx { export interface IAnim extends Ext.IBase,Ext.util.IObservable { /** [Config Option] (Boolean) */ - alternate?: bool; + alternate?: boolean; /** [Config Option] (Function) */ callback?: any; /** [Config Option] (Number) */ @@ -22624,7 +22271,7 @@ declare module Ext.fx { /** [Config Option] (Number) */ duration?: number; /** [Config Option] (Boolean) */ - dynamic?: bool; + dynamic?: boolean; /** [Config Option] (String) */ easing?: string; /** [Config Option] (Object) */ @@ -22634,7 +22281,7 @@ declare module Ext.fx { /** [Config Option] (Object) */ keyframes?: any; /** [Config Option] (Boolean) */ - reverse?: bool; + reverse?: boolean; /** [Config Option] (Function) */ scope?: any; /** [Config Option] (String/Object) */ @@ -22644,11 +22291,11 @@ declare module Ext.fx { /** [Property] (Number) */ currentIteration?: number; /** [Property] (Boolean) */ - isAnimation?: bool; + isAnimation?: boolean; /** [Property] (Boolean) */ - paused?: bool; + paused?: boolean; /** [Property] (Boolean) */ - running?: bool; + running?: boolean; /** [Property] (Date) */ startTime?: any; /** [Method] Adds the specified events to the list of events which this Observable may fire @@ -22688,16 +22335,16 @@ declare module Ext.fx { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -22758,7 +22405,7 @@ declare module Ext.fx { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -22774,7 +22421,7 @@ declare module Ext.fx { /** [Config Option] (Number) */ duration?: number; /** [Config Option] (Boolean) */ - dynamic?: bool; + dynamic?: boolean; /** [Config Option] (String) */ easing?: string; /** [Config Option] (Number) */ @@ -22786,13 +22433,13 @@ declare module Ext.fx { /** [Property] (Number) */ currentIteration?: number; /** [Property] (Boolean) */ - isAnimator?: bool; + isAnimator?: boolean; /** [Property] (Number) */ keyframeStep?: number; /** [Property] (Boolean) */ - paused?: bool; + paused?: boolean; /** [Property] (Boolean) */ - running?: bool; + running?: boolean; /** [Method] Adds the specified events to the list of events which this Observable may fire * @param eventNames Object/String... Either an object with event names as properties with a value of true. For example: this.addEvents({ storeloaded: true, storecleared: true }); Or any number of event names as separate parameters. For example: this.addEvents('storeloaded', 'storecleared'); */ @@ -22830,16 +22477,16 @@ declare module Ext.fx { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -22900,7 +22547,7 @@ declare module Ext.fx { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -22938,29 +22585,6 @@ declare module Ext.fx { static initConfig( config?:any ): Ext.IBase; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.fx { @@ -23006,29 +22630,6 @@ declare module Ext.fx { static removeAnim( anim?:Ext.fx.IAnim ): void; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.fx { @@ -23046,7 +22647,7 @@ declare module Ext.fx.target { declare module Ext.fx.target { export interface ICompositeElement extends Ext.fx.target.IElement { /** [Property] (Boolean) */ - isComposite?: bool; + isComposite?: boolean; } } declare module Ext.fx.target { @@ -23076,7 +22677,7 @@ declare module Ext.fx.target { declare module Ext.grid { export interface ICellContext extends Ext.IBase { /** [Property] (Boolean) */ - isCellContext?: bool; + isCellContext?: boolean; } } declare module Ext.grid { @@ -23086,7 +22687,7 @@ declare module Ext.grid { /** [Config Option] (String) */ cls?: string; /** [Config Option] (Boolean) */ - hideEl?: bool; + hideEl?: boolean; /** [Config Option] (Boolean/String) */ shadow?: any; } @@ -23096,7 +22697,7 @@ declare module Ext.grid.column { /** [Config Option] (String) */ altText?: string; /** [Config Option] (Boolean) */ - disabled?: bool; + disabled?: boolean; /** [Config Option] (Function) */ getClass?: any; /** [Config Option] (Function) */ @@ -23114,9 +22715,9 @@ declare module Ext.grid.column { /** [Config Option] (Object) */ scope?: any; /** [Config Option] (Boolean) */ - sortable?: bool; + sortable?: boolean; /** [Config Option] (Boolean) */ - stopSelection?: bool; + stopSelection?: boolean; /** [Config Option] (String) */ tooltip?: string; /** [Method] Cascades down the component container heirarchy from this component passed in the first call calling the specified @@ -23139,15 +22740,15 @@ declare module Ext.grid.column { * @param silent Boolean */ disableAction?( index?:any, silent?:any ): any; - disableAction?( index?:number, silent?:bool ): void; - disableAction?( index?:Ext.grid.column.IAction, silent?:bool ): void; + disableAction?( index?:number, silent?:boolean ): void; + disableAction?( index?:Ext.grid.column.IAction, silent?:boolean ): void; /** [Method] Enables this ActionColumn s action at the specified index * @param index Number/Ext.grid.column.Action * @param silent Boolean */ enableAction?( index?:any, silent?:any ): any; - enableAction?( index?:number, silent?:bool ): void; - enableAction?( index?:Ext.grid.column.IAction, silent?:bool ): void; + enableAction?( index?:number, silent?:boolean ): void; + enableAction?( index?:Ext.grid.column.IAction, silent?:boolean ): void; /** [Method] Private override because this cannot function as a Container and it has an items property which is an Array NOT a M */ getRefItems?(): void; } @@ -23157,7 +22758,7 @@ declare module Ext.grid { /** [Config Option] (String) */ altText?: string; /** [Config Option] (Boolean) */ - disabled?: bool; + disabled?: boolean; /** [Config Option] (Function) */ getClass?: any; /** [Config Option] (Function) */ @@ -23175,9 +22776,9 @@ declare module Ext.grid { /** [Config Option] (Object) */ scope?: any; /** [Config Option] (Boolean) */ - sortable?: bool; + sortable?: boolean; /** [Config Option] (Boolean) */ - stopSelection?: bool; + stopSelection?: boolean; /** [Config Option] (String) */ tooltip?: string; /** [Method] Cascades down the component container heirarchy from this component passed in the first call calling the specified @@ -23200,15 +22801,15 @@ declare module Ext.grid { * @param silent Boolean */ disableAction?( index?:any, silent?:any ): any; - disableAction?( index?:number, silent?:bool ): void; - disableAction?( index?:Ext.grid.column.IAction, silent?:bool ): void; + disableAction?( index?:number, silent?:boolean ): void; + disableAction?( index?:Ext.grid.column.IAction, silent?:boolean ): void; /** [Method] Enables this ActionColumn s action at the specified index * @param index Number/Ext.grid.column.Action * @param silent Boolean */ enableAction?( index?:any, silent?:any ): any; - enableAction?( index?:number, silent?:bool ): void; - enableAction?( index?:Ext.grid.column.IAction, silent?:bool ): void; + enableAction?( index?:number, silent?:boolean ): void; + enableAction?( index?:Ext.grid.column.IAction, silent?:boolean ): void; /** [Method] Private override because this cannot function as a Container and it has an items property which is an Array NOT a M */ getRefItems?(): void; } @@ -23236,33 +22837,33 @@ declare module Ext.grid { declare module Ext.grid.column { export interface ICheckColumn extends Ext.grid.column.IColumn { /** [Config Option] (Boolean) */ - stopSelection?: bool; + stopSelection?: boolean; /** [Config Option] (String) */ tdCls?: string; /** [Method] Disables this CheckColumn * @param silent Boolean */ - onDisable?( silent?:bool ): void; + onDisable?( silent?:boolean ): void; /** [Method] Enables this CheckColumn * @param silent Boolean */ - onEnable?( silent?:bool ): void; + onEnable?( silent?:boolean ): void; } } declare module Ext.ux { export interface ICheckColumn extends Ext.grid.column.IColumn { /** [Config Option] (Boolean) */ - stopSelection?: bool; + stopSelection?: boolean; /** [Config Option] (String) */ tdCls?: string; /** [Method] Disables this CheckColumn * @param silent Boolean */ - onDisable?( silent?:bool ): void; + onDisable?( silent?:boolean ): void; /** [Method] Enables this CheckColumn * @param silent Boolean */ - onEnable?( silent?:bool ): void; + onEnable?( silent?:boolean ): void; } } declare module Ext.grid.column { @@ -23278,9 +22879,9 @@ declare module Ext.grid.column { /** [Config Option] (String) */ dataIndex?: string; /** [Config Option] (Boolean) */ - detachOnRemove?: bool; + detachOnRemove?: boolean; /** [Config Option] (Boolean) */ - draggable?: bool; + draggable?: boolean; /** [Config Option] (Function) */ editRenderer?: any; /** [Config Option] (Object/String) */ @@ -23290,19 +22891,19 @@ declare module Ext.grid.column { /** [Config Option] (Object/String) */ field?: any; /** [Config Option] (Boolean) */ - fixed?: bool; + fixed?: boolean; /** [Config Option] (Boolean) */ - groupable?: bool; + groupable?: boolean; /** [Config Option] (String) */ header?: string; /** [Config Option] (Boolean) */ - hideable?: bool; + hideable?: boolean; /** [Config Option] (Boolean) */ - lockable?: bool; + lockable?: boolean; /** [Config Option] (Boolean) */ - locked?: bool; + locked?: boolean; /** [Config Option] (Boolean) */ - menuDisabled?: bool; + menuDisabled?: boolean; /** [Config Option] (String) */ menuText?: string; /** [Config Option] (Ext.XTemplate/String/String[]) */ @@ -23310,11 +22911,11 @@ declare module Ext.grid.column { /** [Config Option] (Function/String) */ renderer?: any; /** [Config Option] (Boolean) */ - resizable?: bool; + resizable?: boolean; /** [Config Option] (Object) */ scope?: any; /** [Config Option] (Boolean) */ - sortable?: bool; + sortable?: boolean; /** [Config Option] (String) */ stateId?: string; /** [Config Option] (String) */ @@ -23326,9 +22927,9 @@ declare module Ext.grid.column { /** [Config Option] (String) */ tooltipType?: string; /** [Property] (Boolean) */ - isColumn?: bool; + isColumn?: boolean; /** [Property] (Boolean) */ - isHeader?: bool; + isHeader?: boolean; /** [Property] (Ext.Element) */ textEl?: Ext.IElement; /** [Property] (Ext.Element) */ @@ -23409,9 +23010,9 @@ declare module Ext.grid { /** [Config Option] (String) */ dataIndex?: string; /** [Config Option] (Boolean) */ - detachOnRemove?: bool; + detachOnRemove?: boolean; /** [Config Option] (Boolean) */ - draggable?: bool; + draggable?: boolean; /** [Config Option] (Function) */ editRenderer?: any; /** [Config Option] (Object/String) */ @@ -23421,19 +23022,19 @@ declare module Ext.grid { /** [Config Option] (Object/String) */ field?: any; /** [Config Option] (Boolean) */ - fixed?: bool; + fixed?: boolean; /** [Config Option] (Boolean) */ - groupable?: bool; + groupable?: boolean; /** [Config Option] (String) */ header?: string; /** [Config Option] (Boolean) */ - hideable?: bool; + hideable?: boolean; /** [Config Option] (Boolean) */ - lockable?: bool; + lockable?: boolean; /** [Config Option] (Boolean) */ - locked?: bool; + locked?: boolean; /** [Config Option] (Boolean) */ - menuDisabled?: bool; + menuDisabled?: boolean; /** [Config Option] (String) */ menuText?: string; /** [Config Option] (Ext.XTemplate/String/String[]) */ @@ -23441,11 +23042,11 @@ declare module Ext.grid { /** [Config Option] (Function/String) */ renderer?: any; /** [Config Option] (Boolean) */ - resizable?: bool; + resizable?: boolean; /** [Config Option] (Object) */ scope?: any; /** [Config Option] (Boolean) */ - sortable?: bool; + sortable?: boolean; /** [Config Option] (String) */ stateId?: string; /** [Config Option] (String) */ @@ -23457,9 +23058,9 @@ declare module Ext.grid { /** [Config Option] (String) */ tooltipType?: string; /** [Property] (Boolean) */ - isColumn?: bool; + isColumn?: boolean; /** [Property] (Boolean) */ - isHeader?: bool; + isHeader?: boolean; /** [Property] (Ext.Element) */ textEl?: Ext.IElement; /** [Property] (Ext.Element) */ @@ -23568,15 +23169,15 @@ declare module Ext.grid.column { /** [Config Option] (String) */ dataIndex?: string; /** [Config Option] (Boolean) */ - draggable?: bool; + draggable?: boolean; /** [Config Option] (Boolean) */ - hideable?: bool; + hideable?: boolean; /** [Config Option] (Boolean) */ - lockable?: bool; + lockable?: boolean; /** [Config Option] (Boolean) */ - menuDisabled?: bool; + menuDisabled?: boolean; /** [Config Option] (Boolean) */ - resizable?: bool; + resizable?: boolean; /** [Config Option] (String) */ tdCls?: string; /** [Config Option] (String) */ @@ -23594,15 +23195,15 @@ declare module Ext.grid { /** [Config Option] (String) */ dataIndex?: string; /** [Config Option] (Boolean) */ - draggable?: bool; + draggable?: boolean; /** [Config Option] (Boolean) */ - hideable?: bool; + hideable?: boolean; /** [Config Option] (Boolean) */ - lockable?: bool; + lockable?: boolean; /** [Config Option] (Boolean) */ - menuDisabled?: bool; + menuDisabled?: boolean; /** [Config Option] (Boolean) */ - resizable?: bool; + resizable?: boolean; /** [Config Option] (String) */ tdCls?: string; /** [Config Option] (String) */ @@ -23638,7 +23239,7 @@ declare module Ext.grid { declare module Ext.grid { export interface IColumnComponentLayout extends Ext.layout.component.IAuto { /** [Config Option] (Boolean) */ - setWidthInDom?: bool; + setWidthInDom?: boolean; /** [Method] Called before any calculation cycles to prepare for layout * @param ownerContext Object */ @@ -23712,17 +23313,17 @@ declare module Ext.grid.feature { /** [Config Option] (String) */ remoteRoot?: string; /** [Config Option] (Boolean) */ - showSummaryRow?: bool; + showSummaryRow?: boolean; /** [Method] Toggle whether or not to show the summary row * @param visible Boolean True to show the summary row */ - toggleSummaryRow?( visible?:bool ): void; + toggleSummaryRow?( visible?:boolean ): void; } } declare module Ext.grid.feature { export interface IFeature extends Ext.util.IObservable { /** [Property] (Boolean) */ - disabled?: bool; + disabled?: boolean; /** [Property] (String) */ eventPrefix?: string; /** [Property] (String) */ @@ -23730,7 +23331,7 @@ declare module Ext.grid.feature { /** [Property] (Ext.grid.Panel) */ grid?: Ext.grid.IPanel; /** [Property] (Boolean) */ - hasFeatureEvent?: bool; + hasFeatureEvent?: boolean; /** [Property] (Ext.view.Table) */ view?: Ext.view.ITable; /** [Method] Disables the feature */ @@ -23749,25 +23350,25 @@ declare module Ext.grid.feature { declare module Ext.grid.feature { export interface IGrouping extends Ext.grid.feature.IFeature,Ext.grid.feature.IAbstractSummary { /** [Config Option] (Boolean) */ - collapsible?: bool; + collapsible?: boolean; /** [Config Option] (Number) */ depthToIndent?: number; /** [Config Option] (Boolean) */ - enableGroupingMenu?: bool; + enableGroupingMenu?: boolean; /** [Config Option] (Boolean) */ - enableNoGroups?: bool; + enableNoGroups?: boolean; /** [Config Option] (String) */ groupByText?: string; /** [Config Option] (String/Array/Ext.Template) */ groupHeaderTpl?: any; /** [Config Option] (Boolean) */ - hideGroupedHeader?: bool; + hideGroupedHeader?: boolean; /** [Config Option] (String) */ showGroupsText?: string; /** [Config Option] (Boolean) */ - showSummaryRow?: bool; + showSummaryRow?: boolean; /** [Config Option] (Boolean) */ - startCollapsed?: bool; + startCollapsed?: boolean; /** [Property] (String) */ eventPrefix?: string; /** [Property] (String) */ @@ -23776,7 +23377,7 @@ declare module Ext.grid.feature { * @param groupName String The group name * @param focus Boolean Pass true to focus the group after expand. */ - collapse?( groupName?:string, focus?:bool ): void; + collapse?( groupName?:string, focus?:boolean ): void; /** [Method] Collapse all groups */ collapseAll?(): void; /** [Method] Disables the feature */ @@ -23787,7 +23388,7 @@ declare module Ext.grid.feature { * @param groupName String The group name * @param focus Boolean Pass true to focus the group after expand. */ - expand?( groupName?:string, focus?:bool ): void; + expand?( groupName?:string, focus?:boolean ): void; /** [Method] Expand all groups */ expandAll?(): void; /** [Method] Abstract method to be overriden when a feature should add additional arguments to its event signature @@ -23804,17 +23405,17 @@ declare module Ext.grid.feature { /** [Method] Returns true if the named group is expanded * @param groupName String The group name as returned from getGroupString. This is usually the value of the groupField. */ - isExpanded?( groupName?:string ): bool; + isExpanded?( groupName?:string ): boolean; /** [Method] Toggle whether or not to show the summary row * @param visible Boolean True to show the summary row */ - toggleSummaryRow?( visible?:bool ): void; + toggleSummaryRow?( visible?:boolean ): void; } } declare module Ext.grid.feature { export interface IGroupingSummary extends Ext.grid.feature.IGrouping { /** [Config Option] (Boolean) */ - showSummaryRow?: bool; + showSummaryRow?: boolean; } } declare module Ext.grid.feature { @@ -23843,7 +23444,7 @@ declare module Ext.grid.feature { declare module Ext.grid.feature { export interface IRowWrap extends Ext.grid.feature.IFeature { /** [Property] (Boolean) */ - hasFeatureEvent?: bool; + hasFeatureEvent?: boolean; } } declare module Ext.grid.feature { @@ -23863,17 +23464,17 @@ declare module Ext.grid.header { /** [Config Option] (Number) */ defaultWidth?: number; /** [Config Option] (Boolean) */ - detachOnRemove?: bool; + detachOnRemove?: boolean; /** [Config Option] (Boolean) */ - enableColumnHide?: bool; + enableColumnHide?: boolean; /** [Config Option] (Boolean) */ - sealed?: bool; + sealed?: boolean; /** [Config Option] (Boolean) */ - sortable?: bool; + sortable?: boolean; /** [Config Option] (Number) */ weight?: number; /** [Property] (Boolean) */ - isGroupHeader?: bool; + isGroupHeader?: boolean; /** [Method] Returns the number of grid columns descended from this HeaderContainer */ getColumnCount?(): void; /** [Method] Returns an array of menu CheckItems corresponding to all immediate children of the passed Container which have been c @@ -23928,9 +23529,9 @@ declare module Ext.grid.header { /** [Method] Called before a repair of an invalid drop to get the XY to animate to */ getRepairXY?(): number[]; /** [Method] An empty function by default but provided so that you can perform a custom action before the initial drag event begi */ - onBeforeDrag?(): bool; + onBeforeDrag?(): boolean; /** [Method] Called once drag threshold has been reached to initialize the proxy element */ - onInitDrag?(): bool; + onInitDrag?(): boolean; } } declare module Ext.grid.header { @@ -23945,7 +23546,7 @@ declare module Ext.grid.header { * @param e Object * @param data Object */ - onNodeDrop?( node?:any, dragZone?:any, e?:any, data?:any ): bool; + onNodeDrop?( node?:any, dragZone?:any, e?:any, data?:any ): boolean; /** [Method] Called when the DropZone determines that a Ext dd DragSource has been dragged out of the drop node without dropping */ onNodeOut?(): void; /** [Method] Called while the DropZone determines that a Ext dd DragSource is over a drop node that has either been registered or @@ -23980,7 +23581,7 @@ declare module Ext.grid.locking { /** [Config Option] (String) */ subGridXType?: string; /** [Config Option] (Boolean) */ - syncRowHeight?: bool; + syncRowHeight?: boolean; /** [Method] Synchronizes the row heights between the locked and non locked portion of the grid for each row */ syncRowHeights?(): void; } @@ -24000,7 +23601,7 @@ declare module Ext.grid { /** [Config Option] (String) */ subGridXType?: string; /** [Config Option] (Boolean) */ - syncRowHeight?: bool; + syncRowHeight?: boolean; /** [Method] Synchronizes the row heights between the locked and non locked portion of the grid for each row */ syncRowHeights?(): void; } @@ -24008,7 +23609,7 @@ declare module Ext.grid { declare module Ext.grid.locking { export interface IView extends Ext.IBase,Ext.util.IObservable { /** [Property] (Boolean) */ - isLockingView?: bool; + isLockingView?: boolean; /** [Method] Adds the specified events to the list of events which this Observable may fire * @param eventNames Object/String... Either an object with event names as properties with a value of true. For example: this.addEvents({ storeloaded: true, storecleared: true }); Or any number of event names as separate parameters. For example: this.addEvents('storeloaded', 'storecleared'); */ @@ -24044,16 +23645,16 @@ declare module Ext.grid.locking { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -24114,7 +23715,7 @@ declare module Ext.grid.locking { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -24126,7 +23727,7 @@ declare module Ext.grid.locking { declare module Ext.grid { export interface ILockingView extends Ext.IBase,Ext.util.IObservable { /** [Property] (Boolean) */ - isLockingView?: bool; + isLockingView?: boolean; /** [Method] Adds the specified events to the list of events which this Observable may fire * @param eventNames Object/String... Either an object with event names as properties with a value of true. For example: this.addEvents({ storeloaded: true, storecleared: true }); Or any number of event names as separate parameters. For example: this.addEvents('storeloaded', 'storecleared'); */ @@ -24162,16 +23763,16 @@ declare module Ext.grid { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -24232,7 +23833,7 @@ declare module Ext.grid { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -24246,7 +23847,7 @@ declare module Ext.grid { /** [Config Option] (Ext.grid.column.Column[]/Object) */ columns?: any; /** [Config Option] (Boolean) */ - rowLines?: bool; + rowLines?: boolean; /** [Config Option] (String) */ viewType?: string; /** [Method] Reconfigures the grid with a new store columns @@ -24261,7 +23862,7 @@ declare module Ext.list { /** [Config Option] (Ext.grid.column.Column[]/Object) */ columns?: any; /** [Config Option] (Boolean) */ - rowLines?: bool; + rowLines?: boolean; /** [Config Option] (String) */ viewType?: string; /** [Method] Reconfigures the grid with a new store columns @@ -24276,7 +23877,7 @@ declare module Ext { /** [Config Option] (Ext.grid.column.Column[]/Object) */ columns?: any; /** [Config Option] (Boolean) */ - rowLines?: bool; + rowLines?: boolean; /** [Config Option] (String) */ viewType?: string; /** [Method] Reconfigures the grid with a new store columns @@ -24291,7 +23892,7 @@ declare module Ext.grid { /** [Config Option] (Ext.grid.column.Column[]/Object) */ columns?: any; /** [Config Option] (Boolean) */ - rowLines?: bool; + rowLines?: boolean; /** [Config Option] (String) */ viewType?: string; /** [Method] Reconfigures the grid with a new store columns @@ -24312,11 +23913,11 @@ declare module Ext.grid.plugin { /** [Config Option] (Number) */ scrollToLoadBuffer?: number; /** [Config Option] (Boolean) */ - synchronousRender?: bool; + synchronousRender?: boolean; /** [Config Option] (Number) */ trailingBufferZone?: number; /** [Config Option] (Boolean) */ - variableRowHeight?: bool; + variableRowHeight?: boolean; /** [Property] (Number) */ position?: number; /** [Method] The destroy method is invoked by the owning Component at the time the Component is being destroyed */ @@ -24331,7 +23932,7 @@ declare module Ext.grid.plugin { * @param callback Function A function to call when the row has been scrolled to. * @param scope Object The scope (this reference) in which to execute the callback. Defaults to this BufferedRenderer. */ - scrollTo?( recordIdx?:number, doSelect?:bool, callback?:any, scope?:any ): void; + scrollTo?( recordIdx?:number, doSelect?:boolean, callback?:any, scope?:any ): void; } } declare module Ext.grid.plugin { @@ -24345,10 +23946,10 @@ declare module Ext.grid.plugin { * @param columnHeader Ext.grid.column.Column/Number The Column object defining the column to be edited, or index of the column. */ startEdit?( record?:any, columnHeader?:any ): any; - startEdit?( record?:Ext.data.IModel, columnHeader?:Ext.grid.column.IColumn ): bool; - startEdit?( record?:number, columnHeader?:Ext.grid.column.IColumn ): bool; - startEdit?( record?:Ext.data.IModel, columnHeader?:number ): bool; - startEdit?( record?:number, columnHeader?:number ): bool; + startEdit?( record?:Ext.data.IModel, columnHeader?:Ext.grid.column.IColumn ): boolean; + startEdit?( record?:number, columnHeader?:Ext.grid.column.IColumn ): boolean; + startEdit?( record?:Ext.data.IModel, columnHeader?:number ): boolean; + startEdit?( record?:number, columnHeader?:number ): boolean; /** [Method] Starts editing by position row column * @param position Object A position with keys of row and column. */ @@ -24368,9 +23969,9 @@ declare module Ext.grid.plugin { /** [Config Option] (String) */ dropGroup?: string; /** [Config Option] (Boolean) */ - enableDrag?: bool; + enableDrag?: boolean; /** [Config Option] (Boolean) */ - enableDrop?: bool; + enableDrop?: boolean; /** [Method] The base implementation just sets the plugin s disabled flag to true Plugin subclasses which need more complex proce */ disable?(): void; /** [Method] The base implementation just sets the plugin s disabled flag to false Plugin subclasses which need more complex proc */ @@ -24388,7 +23989,7 @@ declare module Ext.grid.plugin { /** [Config Option] (String) */ triggerEvent?: string; /** [Property] (Boolean) */ - editing?: bool; + editing?: boolean; /** [Method] Adds the specified events to the list of events which this Observable may fire * @param eventNames Object/String... Either an object with event names as properties with a value of true. For example: this.addEvents({ storeloaded: true, storecleared: true }); Or any number of event names as separate parameters. For example: this.addEvents('storeloaded', 'storecleared'); */ @@ -24428,16 +24029,16 @@ declare module Ext.grid.plugin { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -24507,7 +24108,7 @@ declare module Ext.grid.plugin { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -24531,13 +24132,13 @@ declare module Ext.grid.plugin { declare module Ext.grid.plugin { export interface IHeaderResizer extends Ext.IAbstractPlugin { /** [Config Option] (Boolean) */ - dynamic?: bool; + dynamic?: boolean; /** [Method] The base implementation just sets the plugin s disabled flag to true Plugin subclasses which need more complex proce */ disable?(): void; /** [Method] The base implementation just sets the plugin s disabled flag to false Plugin subclasses which need more complex proc */ enable?(): void; /** [Method] Returns the value of dynamic */ - getDynamic?(): bool; + getDynamic?(): boolean; /** [Method] not using w and e resize bc we are only ever resizing one column wResizeCursor Ext isWebKit w resize col resi * @param headerCt Object */ @@ -24545,32 +24146,32 @@ declare module Ext.grid.plugin { /** [Method] Sets the value of dynamic * @param dynamic Boolean */ - setDynamic?( dynamic?:bool ): void; + setDynamic?( dynamic?:boolean ): void; } } declare module Ext.grid.plugin { export interface IRowEditing extends Ext.grid.plugin.IEditing { /** [Config Option] (Boolean) */ - autoCancel?: bool; + autoCancel?: boolean; /** [Config Option] (Number) */ clicksToMoveEditor?: number; /** [Config Option] (Boolean) */ - errorSummary?: bool; + errorSummary?: boolean; /** [Method] Starts editing the specified record using the specified Column definition to define which field is being edited * @param record Ext.data.Model The Store data record which backs the row to be edited. * @param columnHeader Ext.data.Model The Column object defining the column to be edited. */ - startEdit?( record?:Ext.data.IModel, columnHeader?:Ext.data.IModel ): bool; + startEdit?( record?:Ext.data.IModel, columnHeader?:Ext.data.IModel ): boolean; } } declare module Ext.grid.plugin { export interface IRowExpander extends Ext.IAbstractPlugin { /** [Config Option] (Boolean) */ - expandOnDblClick?: bool; + expandOnDblClick?: boolean; /** [Config Option] (Boolean) */ - expandOnEnter?: bool; + expandOnEnter?: boolean; /** [Config Option] (Boolean) */ - selectRowOnExpand?: bool; + selectRowOnExpand?: boolean; /** [Method] The init method is invoked after initComponent method has been run for the client Component * @param grid Object */ @@ -24580,15 +24181,15 @@ declare module Ext.grid.plugin { declare module Ext.grid.property { export interface IGrid extends Ext.grid.IPanel { /** [Config Option] (Boolean) */ - columnLines?: bool; + columnLines?: boolean; /** [Config Option] (Object) */ customEditors?: any; /** [Config Option] (Object) */ customRenderers?: any; /** [Config Option] (Boolean) */ - enableColumnMove?: bool; + enableColumnMove?: boolean; /** [Config Option] (Boolean) */ - inferTypes?: bool; + inferTypes?: boolean; /** [Config Option] (Number/String) */ nameColumnWidth?: any; /** [Config Option] (String) */ @@ -24612,7 +24213,7 @@ declare module Ext.grid.property { * @param value Object The value to test. * @param create Boolean true to create the property if it doesn't already exist. */ - setProperty?( prop?:string, value?:any, create?:bool ): void; + setProperty?( prop?:string, value?:any, create?:boolean ): void; /** [Method] Sets the source data object containing the property data * @param source Object The data object. * @param sourceConfig Object A new object. If this argument is not passed the current configuration will be re-used. To reset the config, pass null or an empty object literal. @@ -24623,15 +24224,15 @@ declare module Ext.grid.property { declare module Ext.grid { export interface IPropertyGrid extends Ext.grid.IPanel { /** [Config Option] (Boolean) */ - columnLines?: bool; + columnLines?: boolean; /** [Config Option] (Object) */ customEditors?: any; /** [Config Option] (Object) */ customRenderers?: any; /** [Config Option] (Boolean) */ - enableColumnMove?: bool; + enableColumnMove?: boolean; /** [Config Option] (Boolean) */ - inferTypes?: bool; + inferTypes?: boolean; /** [Config Option] (Number/String) */ nameColumnWidth?: any; /** [Config Option] (String) */ @@ -24655,7 +24256,7 @@ declare module Ext.grid { * @param value Object The value to test. * @param create Boolean true to create the property if it doesn't already exist. */ - setProperty?( prop?:string, value?:any, create?:bool ): void; + setProperty?( prop?:string, value?:any, create?:boolean ): void; /** [Method] Sets the source data object containing the property data * @param source Object The data object. * @param sourceConfig Object A new object. If this argument is not passed the current configuration will be re-used. To reset the config, pass null or an empty object literal. @@ -24690,7 +24291,7 @@ declare module Ext { declare module Ext.grid.property { export interface IStore extends Ext.data.IStore { /** [Config Option] (Boolean) */ - sortOnLoad?: bool; + sortOnLoad?: boolean; /** [Method] Return a singleton customized Proxy object which configures itself with a custom Reader */ getProxy?(): Ext.data.proxy.IProxy; } @@ -24698,7 +24299,7 @@ declare module Ext.grid.property { declare module Ext.grid { export interface IPropertyStore extends Ext.data.IStore { /** [Config Option] (Boolean) */ - sortOnLoad?: bool; + sortOnLoad?: boolean; /** [Method] Return a singleton customized Proxy object which configures itself with a custom Reader */ getProxy?(): Ext.data.proxy.IProxy; } @@ -24714,7 +24315,7 @@ declare module Ext.grid { /** [Method] Lie to the CQ system about our nesting structure */ getRefItems?(): void; /** [Method] Convenience function to check if the form has any dirty fields */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Loads an Ext data Model into this form internally just calls Ext form Basic loadRecord See also trackResetOnLoad * @param record Object */ @@ -24733,7 +24334,7 @@ declare module Ext.grid { declare module Ext.grid { export interface IRowEditorButtons extends Ext.container.IContainer { /** [Config Option] (Boolean) */ - frame?: bool; + frame?: boolean; /** [Config Option] (Boolean/Number) */ shrinkWrap?: any; } @@ -24741,9 +24342,9 @@ declare module Ext.grid { declare module Ext.grid { export interface IView extends Ext.view.ITable { /** [Config Option] (Boolean) */ - autoScroll?: bool; + autoScroll?: boolean; /** [Config Option] (Boolean) */ - stripeRows?: bool; + stripeRows?: boolean; } } declare module Ext.grid { @@ -24788,7 +24389,7 @@ declare module Ext { /** [Property] (String) */ export var SSL_SECURE_URL: string; /** [Property] (Boolean) */ - export var USE_NATIVE_JSON: bool; + export var USE_NATIVE_JSON: boolean; /** [Property] (Number) */ export var chromeVersion: number; /** [Property] (Function) */ @@ -24796,13 +24397,13 @@ declare module Ext { /** [Property] (Object) */ export var emptyString: any; /** [Property] (Boolean) */ - export var enableFx: bool; + export var enableFx: boolean; /** [Property] (Boolean) */ - export var enableGarbageCollector: bool; + export var enableGarbageCollector: boolean; /** [Property] (Boolean) */ - export var enableListenerCollection: bool; + export var enableListenerCollection: boolean; /** [Property] (Boolean) */ - export var enableNestedListenerRemoval: bool; + export var enableNestedListenerRemoval: boolean; /** [Property] (String[]) */ export var enumerables: string[]; /** [Property] (Number) */ @@ -24812,85 +24413,85 @@ declare module Ext { /** [Property] (Number) */ export var ieVersion: number; /** [Property] (Boolean) */ - export var isChrome: bool; + export var isChrome: boolean; /** [Property] (Boolean) */ - export var isFF10: bool; + export var isFF10: boolean; /** [Property] (Boolean) */ - export var isFF3_0: bool; + export var isFF3_0: boolean; /** [Property] (Boolean) */ - export var isFF3_5: bool; + export var isFF3_5: boolean; /** [Property] (Boolean) */ - export var isFF3_6: bool; + export var isFF3_6: boolean; /** [Property] (Boolean) */ - export var isFF4: bool; + export var isFF4: boolean; /** [Property] (Boolean) */ - export var isFF5: bool; + export var isFF5: boolean; /** [Property] (Boolean) */ - export var isGecko: bool; + export var isGecko: boolean; /** [Property] (Boolean) */ - export var isGecko10: bool; + export var isGecko10: boolean; /** [Property] (Boolean) */ - export var isGecko3: bool; + export var isGecko3: boolean; /** [Property] (Boolean) */ - export var isGecko4: bool; + export var isGecko4: boolean; /** [Property] (Boolean) */ - export var isGecko5: bool; + export var isGecko5: boolean; /** [Property] (Boolean) */ - export var isIE: bool; + export var isIE: boolean; /** [Property] (Boolean) */ - export var isIE10: bool; + export var isIE10: boolean; /** [Property] (Boolean) */ - export var isIE10m: bool; + export var isIE10m: boolean; /** [Property] (Boolean) */ - export var isIE10p: bool; + export var isIE10p: boolean; /** [Property] (Boolean) */ - export var isIE6: bool; + export var isIE6: boolean; /** [Property] (Boolean) */ - export var isIE7: bool; + export var isIE7: boolean; /** [Property] (Boolean) */ - export var isIE7m: bool; + export var isIE7m: boolean; /** [Property] (Boolean) */ - export var isIE7p: bool; + export var isIE7p: boolean; /** [Property] (Boolean) */ - export var isIE8: bool; + export var isIE8: boolean; /** [Property] (Boolean) */ - export var isIE8m: bool; + export var isIE8m: boolean; /** [Property] (Boolean) */ - export var isIE8p: bool; + export var isIE8p: boolean; /** [Property] (Boolean) */ - export var isIE9: bool; + export var isIE9: boolean; /** [Property] (Boolean) */ - export var isIE9m: bool; + export var isIE9m: boolean; /** [Property] (Boolean) */ - export var isIE9p: bool; + export var isIE9p: boolean; /** [Property] (Boolean) */ - export var isLinux: bool; + export var isLinux: boolean; /** [Property] (Boolean) */ - export var isMac: bool; + export var isMac: boolean; /** [Property] (Boolean) */ - export var isOpera: bool; + export var isOpera: boolean; /** [Property] (Boolean) */ - export var isOpera10_5: bool; + export var isOpera10_5: boolean; /** [Property] (Boolean) */ - export var isReady: bool; + export var isReady: boolean; /** [Property] (Boolean) */ - export var isSafari: bool; + export var isSafari: boolean; /** [Property] (Boolean) */ - export var isSafari2: bool; + export var isSafari2: boolean; /** [Property] (Boolean) */ - export var isSafari3: bool; + export var isSafari3: boolean; /** [Property] (Boolean) */ - export var isSafari4: bool; + export var isSafari4: boolean; /** [Property] (Boolean) */ - export var isSafari5: bool; + export var isSafari5: boolean; /** [Property] (Boolean) */ - export var isSafari5_0: bool; + export var isSafari5_0: boolean; /** [Property] (Boolean) */ - export var isSecure: bool; + export var isSecure: boolean; /** [Property] (Boolean) */ - export var isWebKit: bool; + export var isWebKit: boolean; /** [Property] (Boolean) */ - export var isWindows: bool; + export var isWindows: boolean; /** [Property] (String) */ export var name: string; /** [Property] (Number) */ @@ -24898,7 +24499,7 @@ declare module Ext { /** [Property] (Number) */ export var safariVersion: number; /** [Property] (Boolean) */ - export var useShims: bool; + export var useShims: boolean; /** [Property] (Number) */ export var webKitVersion: number; /** [Method] Applies event listeners to elements by selectors when the document is ready @@ -24938,7 +24539,7 @@ declare module Ext { * @param appendArgs Boolean/Number if True args are appended to call args instead of overriding, if a number the args are inserted at the specified position */ export function bind( fn?:any, scope?:any, args?:any, appendArgs?:any ): any; - export function bind( fn?:any, scope?:any, args?:any[], appendArgs?:bool ): any; + export function bind( fn?:any, scope?:any, args?:any[], appendArgs?:boolean ): any; export function bind( fn?:any, scope?:any, args?:any[], appendArgs?:number ): any; /** [Method] Execute a callback function in a particular scope * @param callback Function The callback to execute @@ -24967,8 +24568,8 @@ declare module Ext { * @param usePrototypeKeys Boolean Defaults to false. Pass true to copy keys off of the prototype as well as the instance. */ export function copyTo( dest?:any, source?:any, names?:any, usePrototypeKeys?:any ): any; - export function copyTo( dest?:any, source?:any, names?:string, usePrototypeKeys?:bool ): any; - export function copyTo( dest?:any, source?:any, names?:string[], usePrototypeKeys?:bool ): any; + export function copyTo( dest?:any, source?:any, names?:string, usePrototypeKeys?:boolean ): any; + export function copyTo( dest?:any, source?:any, names?:string[], usePrototypeKeys?:boolean ): any; /** [Method] Instantiate a class by either full name alias or alternate name * @param name String The class name or alias. Can be specified as xclass property if only one object parameter is specified. * @param args Object... Additional arguments after the name will be passed to the class' constructor. @@ -24985,7 +24586,7 @@ declare module Ext { * @param json String The JSON string * @param safe Boolean True to return null, false to throw an exception if the JSON is invalid. */ - export function decode( json?:string, safe?:bool ): any; + export function decode( json?:string, safe?:boolean ): any; /** [Method] Calls this function after the number of millseconds specified optionally in a specific scope * @param fn Function The function to defer. * @param millis Number The number of milliseconds for the setTimeout call (if less than or equal to 0 the function is executed immediately) @@ -24994,7 +24595,7 @@ declare module Ext { * @param appendArgs Boolean/Number if True args are appended to call args instead of overriding, if a number the args are inserted at the specified position */ export function defer( fn?:any, millis?:any, scope?:any, args?:any, appendArgs?:any ): any; - export function defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:bool ): number; + export function defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:boolean ): number; export function defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:number ): number; /** [Method] Defines a class or override * @param className String The class name to create in string dot-namespaced format, for example: 'My.very.awesome.Class', 'FeedViewer.plugin.CoolPager' It is highly recommended to follow this simple convention: - The root and the class name are 'CamelCased' - Everything else is lower-cased Pass null to create an anonymous class. @@ -25028,7 +24629,7 @@ declare module Ext { * @param scope Object The scope (this reference) in which the specified function is executed. * @param reverse Boolean Reverse the iteration order (loop from the end to the beginning) Defaults false */ - export function each( iterable?:any, fn?:any, scope?:any, reverse?:bool ): bool; + export function each( iterable?:any, fn?:any, scope?:any, reverse?:boolean ): boolean; /** [Method] Shorthand for Ext JSON encode * @param o Object The variable to encode */ @@ -25098,11 +24699,11 @@ declare module Ext { /** [Method] Utility method for getting the width of the browser s vertical scrollbar * @param force Boolean true to force a recalculation of the value. */ - export function getScrollBarWidth( force?:bool ): number; + export function getScrollBarWidth( force?:boolean ): number; /** [Method] Returns the size of the browser scrollbars * @param force Boolean true to force a recalculation of the value. */ - export function getScrollbarSize( force?:bool ): any; + export function getScrollbarSize( force?:boolean ): any; /** [Method] Shortcut to Ext data StoreManager lookup * @param store String/Object The id of the Store, or a Store instance, or a store configuration */ @@ -25141,60 +24742,60 @@ declare module Ext { /** [Method] Returns true if the passed value is a JavaScript Array false otherwise * @param target Object The target to test */ - export function isArray( target?:any ): bool; + export function isArray( target?:any ): boolean; /** [Method] Returns true if the passed value is a boolean * @param value Object The value to test */ - export function isBoolean( value?:any ): bool; + export function isBoolean( value?:any ): boolean; /** [Method] Returns true if the passed value is a JavaScript Date object false otherwise * @param object Object The object to test */ - export function isDate( object?:any ): bool; + export function isDate( object?:any ): boolean; /** [Method] Returns true if the passed value is defined * @param value Object The value to test */ - export function isDefined( value?:any ): bool; + export function isDefined( value?:any ): boolean; /** [Method] Returns true if the passed value is an HTMLElement * @param value Object The value to test */ - export function isElement( value?:any ): bool; + export function isElement( value?:any ): boolean; /** [Method] Returns true if the passed value is empty false otherwise * @param value Object The value to test * @param allowEmptyString Boolean true to allow empty strings (defaults to false) */ - export function isEmpty( value?:any, allowEmptyString?:bool ): bool; + export function isEmpty( value?:any, allowEmptyString?:boolean ): boolean; /** [Method] Returns true if the passed value is a JavaScript Function false otherwise * @param value Object The value to test */ - export function isFunction( value?:any ): bool; + export function isFunction( value?:any ): boolean; /** [Method] Returns true if the passed value is iterable that is if elements of it are addressable using array notation with nu * @param value Object The value to test */ - export function isIterable( value?:any ): bool; + export function isIterable( value?:any ): boolean; /** [Method] Returns true if the passed value is a number * @param value Object The value to test */ - export function isNumber( value?:any ): bool; + export function isNumber( value?:any ): boolean; /** [Method] Validates that a value is numeric * @param value Object Examples: 1, '1', '2.34' */ - export function isNumeric( value?:any ): bool; + export function isNumeric( value?:any ): boolean; /** [Method] Returns true if the passed value is a JavaScript Object false otherwise * @param value Object The value to test */ - export function isObject( value?:any ): bool; + export function isObject( value?:any ): boolean; /** [Method] Returns true if the passed value is a JavaScript primitive a string number or boolean * @param value Object The value to test */ - export function isPrimitive( value?:any ): bool; + export function isPrimitive( value?:any ): boolean; /** [Method] Returns true if the passed value is a string * @param value Object The value to test */ - export function isString( value?:any ): bool; + export function isString( value?:any ): boolean; /** [Method] Returns true if the passed value is a TextNode * @param value Object The value to test */ - export function isTextNode( value?:any ): bool; + export function isTextNode( value?:any ): boolean; /** [Method] Iterates either an array or an object * @param object Object/Array The object or array to be iterated. * @param fn Function The function to be called for each iteration. See and Ext.Array.each and Ext.Object.each for detailed lists of arguments passed to this function depending on the given object type that is being iterated. @@ -25297,7 +24898,7 @@ declare module Ext { * @param type String Either "select" or "simple" for a simple selector match (only valid when used when the call is deferred to the jsSelect method) * @param single Boolean Pass true to select only the first matching node using document.querySelector (where available) */ - export function query( path?:string, root?:HTMLElement, type?:string, single?:bool ): HTMLElement[]; + export function query( path?:string, root?:HTMLElement, type?:string, single?:boolean ): HTMLElement[]; /** [Method] Old way for creating Model classes * @param name String Name of the Model class. * @param config Object A configuration object for the Model you wish to create. @@ -25331,7 +24932,7 @@ declare module Ext { * @param selector String The CSS selector * @param unique Boolean True to create a unique Ext.Element for each element. Defaults to a shared flyweight object. */ - export function select( selector?:string, unique?:bool ): Ext.ICompositeElement; + export function select( selector?:string, unique?:boolean ): Ext.ICompositeElement; /** [Method] Sets the default font family to use for components that support a glyph config * @param fontFamily String The name of the font-family */ @@ -25398,24 +24999,24 @@ declare module Ext { * @param queryString String The query string to decode * @param recursive Boolean Whether or not to recursively decode the string. This format is supported by PHP / Ruby on Rails servers and similar. */ - export function urlDecode( queryString?:string, recursive?:bool ): any; + export function urlDecode( queryString?:string, recursive?:boolean ): any; /** [Method] Takes an object and converts it to an encoded query string * @param object Object The object to encode * @param recursive Boolean Whether or not to interpret the object in recursive format. (PHP / Ruby on Rails servers and similar). */ - export function urlEncode( object?:any, recursive?:bool ): string; + export function urlEncode( object?:any, recursive?:boolean ): string; /** [Method] Utility method for returning a default value if the passed value is empty * @param value Object The value to test * @param defaultValue Object The value to return if the original value is empty * @param allowBlank Boolean true to allow zero length strings to qualify as non-empty. */ - export function value( value?:any, defaultValue?:any, allowBlank?:bool ): any; + export function value( value?:any, defaultValue?:any, allowBlank?:boolean ): any; /** [Method] Returns the given value itself if it s not empty as described in isEmpty returns the default value second argument * @param value Object The value to test * @param defaultValue Object The value to return if the original value is empty * @param allowBlank Boolean true to allow zero length strings to qualify as non-empty (defaults to false) */ - export function valueFrom( value?:any, defaultValue?:any, allowBlank?:bool ): any; + export function valueFrom( value?:any, defaultValue?:any, allowBlank?:boolean ): any; /** [Method] Convenient shorthand to create a widget by its xtype or a config object * @param name String The xtype of the widget to create. * @param config Object The configuration object for the widget constructor. @@ -25437,7 +25038,7 @@ declare module Ext { * @param json String The JSON string * @param safe Boolean True to return null, false to throw an exception if the JSON is invalid. */ - static decode( json?:string, safe?:bool ): any; + static decode( json?:string, safe?:boolean ): any; /** [Method] Encodes an Object Array or other value * @param o Object The variable to encode */ @@ -25479,9 +25080,9 @@ declare module Ext.layout { declare module Ext.layout.component { export interface IAuto extends Ext.layout.component.IComponent { /** [Config Option] (Boolean) */ - setHeightInDom?: bool; + setHeightInDom?: boolean; /** [Config Option] (Boolean) */ - setWidthInDom?: bool; + setWidthInDom?: boolean; /** [Method] Called before any calculation cycles to reset DOM values and prepare for calculation * @param ownerContext Object * @param firstCycle Object @@ -25593,7 +25194,7 @@ declare module Ext.layout.component { * @param order String The desired ordering of the items ('render' or 'visual'). * @param beforeBody Boolean An optional flag to limit the set of items to only those before the body (true) or after the body (false). All components are returned by default. */ - getDockedItems?( order?:string, beforeBody?:bool ): Ext.IComponent[]; + getDockedItems?( order?:string, beforeBody?:boolean ): Ext.IComponent[]; /** [Method] Returns an object describing how this layout manages the size of the given component * @param item Object * @param ownerSizeModel Object @@ -25644,7 +25245,7 @@ declare module Ext.layout.component { * @param order String The desired ordering of the items ('render' or 'visual'). * @param beforeBody Boolean An optional flag to limit the set of items to only those before the body (true) or after the body (false). All components are returned by default. */ - getDockedItems?( order?:string, beforeBody?:bool ): Ext.IComponent[]; + getDockedItems?( order?:string, beforeBody?:boolean ): Ext.IComponent[]; /** [Method] Returns an object describing how this layout manages the size of the given component * @param item Object * @param ownerSizeModel Object @@ -25668,9 +25269,9 @@ declare module Ext.layout.component { declare module Ext.layout.component { export interface IDraw extends Ext.layout.component.IAuto { /** [Config Option] (Boolean) */ - setHeightInDom?: bool; + setHeightInDom?: boolean; /** [Config Option] (Boolean) */ - setWidthInDom?: bool; + setWidthInDom?: boolean; /** [Method] This method is called after all layouts are complete and their calculations flushed to the DOM * @param ownerContext Object */ @@ -25719,10 +25320,33 @@ declare module Ext.layout.component.field { getErrorStrategy?(): void; /** [Method] Return the set of strategy functions from the labelStrategies collection that is appropriate for the field s labelAli */ getLabelStrategy?(): void; + } + export class Field { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Destroy the error tip instance */ - destroyTip?(): void; + static destroyTip(): void; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Adds members to class */ + static implement(): void; /** [Method] Use a custom QuickTip instance separate from the main QuickTips singleton so that we can give it a custom frame style */ - initTip?(): void; + static initTip(): void; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext.layout.component.field { @@ -25812,7 +25436,7 @@ declare module Ext.layout.component { declare module Ext.layout.container { export interface IAbsolute extends Ext.layout.container.IAnchor { /** [Config Option] (Boolean) */ - ignoreOnContentChange?: bool; + ignoreOnContentChange?: boolean; /** [Config Option] (String) */ itemCls?: string; /** [Method] In addition to work done by our base classes containers benefit from some extra cached data @@ -25820,13 +25444,13 @@ declare module Ext.layout.container { */ beginLayout?( ownerContext?:any ): void; /** [Method] This method is called when a child item changes in some way */ - onContentChange?(): bool; + onContentChange?(): boolean; } } declare module Ext.layout { export interface IAbsoluteLayout extends Ext.layout.container.IAnchor { /** [Config Option] (Boolean) */ - ignoreOnContentChange?: bool; + ignoreOnContentChange?: boolean; /** [Config Option] (String) */ itemCls?: string; /** [Method] In addition to work done by our base classes containers benefit from some extra cached data @@ -25834,31 +25458,31 @@ declare module Ext.layout { */ beginLayout?( ownerContext?:any ): void; /** [Method] This method is called when a child item changes in some way */ - onContentChange?(): bool; + onContentChange?(): boolean; } } declare module Ext.layout.container { export interface IAccordion extends Ext.layout.container.IVBox { /** [Config Option] (Boolean) */ - activeOnTop?: bool; + activeOnTop?: boolean; /** [Config Option] (String) */ align?: string; /** [Config Option] (Boolean) */ - animate?: bool; + animate?: boolean; /** [Config Option] (Boolean) */ - autoWidth?: bool; + autoWidth?: boolean; /** [Config Option] (Boolean) */ - collapseFirst?: bool; + collapseFirst?: boolean; /** [Config Option] (Boolean) */ - fill?: bool; + fill?: boolean; /** [Config Option] (Boolean) */ - hideCollapseTool?: bool; + hideCollapseTool?: boolean; /** [Config Option] (String) */ itemCls?: string; /** [Config Option] (Boolean) */ - multi?: bool; + multi?: boolean; /** [Config Option] (Boolean) */ - titleCollapse?: bool; + titleCollapse?: boolean; /** [Method] In addition to work done by our base classes containers benefit from some extra cached data * @param ownerContext Object */ @@ -25877,25 +25501,25 @@ declare module Ext.layout.container { declare module Ext.layout { export interface IAccordionLayout extends Ext.layout.container.IVBox { /** [Config Option] (Boolean) */ - activeOnTop?: bool; + activeOnTop?: boolean; /** [Config Option] (String) */ align?: string; /** [Config Option] (Boolean) */ - animate?: bool; + animate?: boolean; /** [Config Option] (Boolean) */ - autoWidth?: bool; + autoWidth?: boolean; /** [Config Option] (Boolean) */ - collapseFirst?: bool; + collapseFirst?: boolean; /** [Config Option] (Boolean) */ - fill?: bool; + fill?: boolean; /** [Config Option] (Boolean) */ - hideCollapseTool?: bool; + hideCollapseTool?: boolean; /** [Config Option] (String) */ itemCls?: string; /** [Config Option] (Boolean) */ - multi?: bool; + multi?: boolean; /** [Config Option] (Boolean) */ - titleCollapse?: bool; + titleCollapse?: boolean; /** [Method] In addition to work done by our base classes containers benefit from some extra cached data * @param ownerContext Object */ @@ -25918,7 +25542,7 @@ declare module Ext.layout.container { /** [Config Option] (String) */ defaultAnchor?: string; /** [Property] (Boolean) */ - manageOverflow?: bool; + manageOverflow?: boolean; /** [Method] Called before any calculation cycles to reset DOM values and prepare for calculation * @param ownerContext Object */ @@ -25940,7 +25564,7 @@ declare module Ext.layout { /** [Config Option] (String) */ defaultAnchor?: string; /** [Property] (Boolean) */ - manageOverflow?: bool; + manageOverflow?: boolean; /** [Method] Called before any calculation cycles to reset DOM values and prepare for calculation * @param ownerContext Object */ @@ -25958,11 +25582,11 @@ declare module Ext.layout { declare module Ext.layout.container { export interface IAuto extends Ext.layout.container.IContainer { /** [Config Option] (Boolean) */ - reserveScrollbar?: bool; + reserveScrollbar?: boolean; /** [Property] (Boolean) */ - manageOverflow?: bool; + manageOverflow?: boolean; /** [Property] (Boolean) */ - managePadding?: bool; + managePadding?: boolean; /** [Method] In addition to work done by our base classes containers benefit from some extra cached data * @param ownerContext Object */ @@ -25991,7 +25615,7 @@ declare module Ext.layout.container { * @param ownerContext Ext.layout.ContextItem The owner's context item. * @param inDom Boolean True if the container size must be in the DOM. */ - getContainerSize?( ownerContext?:Ext.layout.IContextItem, inDom?:bool ): any; + getContainerSize?( ownerContext?:Ext.layout.IContextItem, inDom?:boolean ): any; /** [Method] Overridden method from Ext layout container Container */ getElementTarget?(): Ext.IElement; /** [Method] Returns the overflow x style of the render target @@ -26022,9 +25646,9 @@ declare module Ext.layout.container { /** [Config Option] (Object) */ regionWeights?: any; /** [Config Option] (Boolean) */ - split?: bool; + split?: boolean; /** [Config Option] (Boolean) */ - splitterResize?: bool; + splitterResize?: boolean; /** [Method] In addition to work done by our base classes containers benefit from some extra cached data * @param ownerContext Object */ @@ -26050,9 +25674,9 @@ declare module Ext.layout { /** [Config Option] (Object) */ regionWeights?: any; /** [Config Option] (Boolean) */ - split?: bool; + split?: boolean; /** [Config Option] (Boolean) */ - splitterResize?: bool; + splitterResize?: boolean; /** [Method] In addition to work done by our base classes containers benefit from some extra cached data * @param ownerContext Object */ @@ -26204,7 +25828,7 @@ declare module Ext.layout.container.boxoverflow { /** [Config Option] (String) */ afterScrollerCls?: string; /** [Config Option] (Boolean) */ - animateScroll?: bool; + animateScroll?: boolean; /** [Config Option] (String) */ beforeCtCls?: string; /** [Config Option] (String) */ @@ -26254,18 +25878,18 @@ declare module Ext.layout.container.boxoverflow { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the current scroll position of the innerCt element */ getScrollPosition?(): number; /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -26324,9 +25948,9 @@ declare module Ext.layout.container.boxoverflow { * @param animate Boolean True to animate the scrolling */ scrollToItem?( item?:any, animate?:any ): any; - scrollToItem?( item?:string, animate?:bool ): void; - scrollToItem?( item?:number, animate?:bool ): void; - scrollToItem?( item?:Ext.IComponent, animate?:bool ): void; + scrollToItem?( item?:string, animate?:boolean ): void; + scrollToItem?( item?:number, animate?:boolean ): void; + scrollToItem?( item?:Ext.IComponent, animate?:boolean ): void; /** [Method] Suspends firing of the named event s * @param eventName String... Multiple event names to suspend. */ @@ -26334,7 +25958,7 @@ declare module Ext.layout.container.boxoverflow { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -26350,7 +25974,7 @@ declare module Ext.layout.boxoverflow { /** [Config Option] (String) */ afterScrollerCls?: string; /** [Config Option] (Boolean) */ - animateScroll?: bool; + animateScroll?: boolean; /** [Config Option] (String) */ beforeCtCls?: string; /** [Config Option] (String) */ @@ -26400,18 +26024,18 @@ declare module Ext.layout.boxoverflow { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the current scroll position of the innerCt element */ getScrollPosition?(): number; /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -26470,9 +26094,9 @@ declare module Ext.layout.boxoverflow { * @param animate Boolean True to animate the scrolling */ scrollToItem?( item?:any, animate?:any ): any; - scrollToItem?( item?:string, animate?:bool ): void; - scrollToItem?( item?:number, animate?:bool ): void; - scrollToItem?( item?:Ext.IComponent, animate?:bool ): void; + scrollToItem?( item?:string, animate?:boolean ): void; + scrollToItem?( item?:number, animate?:boolean ): void; + scrollToItem?( item?:Ext.IComponent, animate?:boolean ): void; /** [Method] Suspends firing of the named event s * @param eventName String... Multiple event names to suspend. */ @@ -26480,7 +26104,7 @@ declare module Ext.layout.boxoverflow { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -26492,7 +26116,7 @@ declare module Ext.layout.boxoverflow { declare module Ext.layout.container { export interface ICard extends Ext.layout.container.IFit { /** [Config Option] (Boolean) */ - deferredRender?: bool; + deferredRender?: boolean; /** [Method] Return the active visible component in the layout */ getActiveItem?(): Ext.IComponent; /** [Method] Return the active visible component in the layout to the next card */ @@ -26521,7 +26145,7 @@ declare module Ext.layout.container { declare module Ext.layout { export interface ICardLayout extends Ext.layout.container.IFit { /** [Config Option] (Boolean) */ - deferredRender?: bool; + deferredRender?: boolean; /** [Method] Return the active visible component in the layout */ getActiveItem?(): Ext.IComponent; /** [Method] Return the active visible component in the layout to the next card */ @@ -26550,7 +26174,7 @@ declare module Ext.layout { declare module Ext.layout.container { export interface ICheckboxGroup extends Ext.layout.container.IContainer { /** [Config Option] (Boolean) */ - autoFlex?: bool; + autoFlex?: boolean; /** [Method] In addition to work done by our base classes containers benefit from some extra cached data * @param ownerContext Object */ @@ -26578,7 +26202,7 @@ declare module Ext.layout.container { /** [Config Option] (String) */ itemCls?: string; /** [Property] (Boolean) */ - manageOverflow?: bool; + manageOverflow?: boolean; /** [Method] Returns an object describing how this layout manages the size of the given component * @param item Object * @param ownerSizeModel Object @@ -26596,7 +26220,7 @@ declare module Ext.layout { /** [Config Option] (String) */ itemCls?: string; /** [Property] (Boolean) */ - manageOverflow?: bool; + manageOverflow?: boolean; /** [Method] Returns an object describing how this layout manages the size of the given component * @param item Object * @param ownerSizeModel Object @@ -26634,7 +26258,7 @@ declare module Ext.layout.container { * @param ownerContext Ext.layout.ContextItem The owner's context item. * @param inDom Boolean True if the container size must be in the DOM. */ - getContainerSize?( ownerContext?:Ext.layout.IContextItem, inDom?:bool ): any; + getContainerSize?( ownerContext?:Ext.layout.IContextItem, inDom?:boolean ): any; /** [Method] Returns the element into which extra functional DOM elements can be inserted */ getElementTarget?(): Ext.IElement; /** [Method] Returns an array of child components either for a render phase Performed in the beforeLayout method of the layout s */ @@ -26678,7 +26302,7 @@ declare module Ext.layout { * @param ownerContext Ext.layout.ContextItem The owner's context item. * @param inDom Boolean True if the container size must be in the DOM. */ - getContainerSize?( ownerContext?:Ext.layout.IContextItem, inDom?:bool ): any; + getContainerSize?( ownerContext?:Ext.layout.IContextItem, inDom?:boolean ): any; /** [Method] Returns the element into which extra functional DOM elements can be inserted */ getElementTarget?(): Ext.IElement; /** [Method] Returns an array of child components either for a render phase Performed in the beforeLayout method of the layout s */ @@ -26786,7 +26410,7 @@ declare module Ext.layout.container { * @param inDom Boolean True if the container size must be in the DOM. * @param ignoreOverflow Boolean if true scrollbar size will not be subtracted from container size. */ - getContainerSize?( ownerContext?:Ext.layout.IContextItem, inDom?:bool, ignoreOverflow?:bool ): any; + getContainerSize?( ownerContext?:Ext.layout.IContextItem, inDom?:boolean, ignoreOverflow?:boolean ): any; /** [Method] Returns an object describing how this layout manages the size of the given component * @param item Object */ @@ -26844,7 +26468,7 @@ declare module Ext.layout { * @param inDom Boolean True if the container size must be in the DOM. * @param ignoreOverflow Boolean if true scrollbar size will not be subtracted from container size. */ - getContainerSize?( ownerContext?:Ext.layout.IContextItem, inDom?:bool, ignoreOverflow?:bool ): any; + getContainerSize?( ownerContext?:Ext.layout.IContextItem, inDom?:boolean, ignoreOverflow?:boolean ): any; /** [Method] Returns an object describing how this layout manages the size of the given component * @param item Object */ @@ -26876,7 +26500,7 @@ declare module Ext.layout.container { /** [Config Option] ("round"/"floor"/"ceil") */ alignRoundingMethod?: any; /** [Config Option] (Boolean) */ - constrainAlign?: bool; + constrainAlign?: boolean; } } declare module Ext.layout { @@ -26886,7 +26510,7 @@ declare module Ext.layout { /** [Config Option] ("round"/"floor"/"ceil") */ alignRoundingMethod?: any; /** [Config Option] (Boolean) */ - constrainAlign?: bool; + constrainAlign?: boolean; } } declare module Ext.layout.container { @@ -26950,7 +26574,7 @@ declare module Ext.layout.container { /** [Config Option] ("round"/"floor"/"ceil") */ alignRoundingMethod?: any; /** [Config Option] (Boolean) */ - constrainAlign?: bool; + constrainAlign?: boolean; } } declare module Ext.layout { @@ -26960,7 +26584,7 @@ declare module Ext.layout { /** [Config Option] ("round"/"floor"/"ceil") */ alignRoundingMethod?: any; /** [Config Option] (Boolean) */ - constrainAlign?: bool; + constrainAlign?: boolean; } } declare module Ext.layout { @@ -26985,8 +26609,8 @@ declare module Ext.layout { * @param full Boolean True if all properties should be invalidated, otherwise only those calculated by the component should be invalidated. */ invalidate?( components?:any, full?:any ): any; - invalidate?( components?:Ext.IComponent, full?:bool ): void; - invalidate?( components?:any[], full?:bool ): void; + invalidate?( components?:Ext.IComponent, full?:boolean ): void; + invalidate?( components?:any[], full?:boolean ): void; /** [Method] Removes the ContextItem for an element from the cache and from the parent s children array * @param parent Ext.layout.ContextItem * @param el Ext.dom.Element @@ -26999,9 +26623,9 @@ declare module Ext.layout { */ resetLayout?( layout?:any, ownerContext?:any, firstTime?:any ): void; /** [Method] Runs the layout calculations */ - run?(): bool; + run?(): boolean; /** [Method] Performs one layout cycle by calling each layout in the layout queue */ - runCycle?(): bool; + runCycle?(): boolean; /** [Method] Set the size of a component element or composite or an array of components or elements * @param items Ext.Component/Ext.Component[]/Ext.dom.Element/Ext.dom.Element[]/Ext.dom.CompositeElement The item(s) to size. * @param width Number The new width to set (ignored if undefined or NaN). @@ -27020,7 +26644,7 @@ declare module Ext.layout { /** [Property] (Object) */ state?: any; /** [Property] (Boolean) */ - wrapsComponent?: bool; + wrapsComponent?: boolean; /** [Method] Queue the addition of a class name or array of class names to this ContextItem s target when next flushed * @param newCls Object */ @@ -27078,11 +26702,11 @@ declare module Ext.layout { /** [Method] Returns true if the given property is correct in the DOM * @param propName String The property name (e.g., 'width'). */ - hasDomProp?( propName?:string ): bool; + hasDomProp?( propName?:string ): boolean; /** [Method] Returns true if the given property has been set * @param propName String The property name (e.g., 'width'). */ - hasProp?( propName?:string ): bool; + hasProp?( propName?:string ): boolean; /** [Method] Invalidates the component associated with this item * @param options Object An object describing how to handle the invalidation. */ @@ -27131,26 +26755,26 @@ declare module Ext.layout { * @param height Number The height. * @param dirty Boolean Specifies if the value is currently in the DOM. A value of false indicates that the value is already in the DOM. */ - setHeight?( height?:number, dirty?:bool ): number; + setHeight?( height?:number, dirty?:boolean ): number; /** [Method] Sets a property value * @param propName String The property name (e.g., 'width'). * @param value Object The new value of the property. * @param dirty Boolean Optionally specifies if the value is currently in the DOM (default is true which indicates the value is not in the DOM and must be flushed at some point). */ - setProp?( propName?:string, value?:any, dirty?:bool ): number; + setProp?( propName?:string, value?:any, dirty?:boolean ): number; /** [Method] Sets the height and constrains the width to min maxWidth range * @param width Number The width. * @param dirty Boolean Specifies if the value is currently in the DOM. A value of false indicates that the value is already in the DOM. */ - setWidth?( width?:number, dirty?:bool ): number; + setWidth?( width?:number, dirty?:boolean ): number; } } declare module Ext.layout { export interface ILayout extends Ext.IBase { /** [Property] (Boolean) */ - done?: bool; + done?: boolean; /** [Property] (Boolean) */ - isLayout?: bool; + isLayout?: boolean; /** [Method] Removes layout s itemCls and owning Container s itemCls * @param item Object */ @@ -27206,7 +26830,7 @@ declare module Ext.layout { /** [Method] This method is called when a child item changes in some way * @param child Ext.Component The child item that has changed. */ - onContentChange?( child?:Ext.IComponent ): bool; + onContentChange?( child?:Ext.IComponent ): boolean; /** [Method] Iterates over all passed items ensuring they are rendered * @param items Object * @param target Object @@ -27217,47 +26841,47 @@ declare module Ext.layout { declare module Ext.layout { export interface ISizeModel extends Ext.IBase { /** [Property] (Boolean) */ - auto?: bool; + auto?: boolean; /** [Property] (Boolean) */ - calculated?: bool; + calculated?: boolean; /** [Property] (Boolean) */ - calculatedFromConfigured?: bool; + calculatedFromConfigured?: boolean; /** [Property] (Boolean) */ - calculatedFromNatural?: bool; + calculatedFromNatural?: boolean; /** [Property] (Boolean) */ - calculatedFromShrinkWrap?: bool; + calculatedFromShrinkWrap?: boolean; /** [Property] (Boolean) */ - configured?: bool; + configured?: boolean; /** [Property] (Boolean) */ - constrainedMax?: bool; + constrainedMax?: boolean; /** [Property] (Boolean) */ - constrainedMin?: bool; + constrainedMin?: boolean; /** [Property] (Boolean) */ - fixed?: bool; + fixed?: boolean; /** [Property] (String) */ name?: string; /** [Property] (Object) */ names?: any; /** [Property] (Boolean) */ - natural?: bool; + natural?: boolean; /** [Property] (Number) */ ordinal?: number; /** [Property] (Object[]) */ pairsByHeightOrdinal?: any[]; /** [Property] (Boolean) */ - shrinkWrap?: bool; + shrinkWrap?: boolean; } } declare module Ext.layout { export interface ISizePolicy { /** [Property] (Boolean) */ - readsHeight?: bool; + readsHeight?: boolean; /** [Property] (Boolean) */ - readsWidth?: bool; + readsWidth?: boolean; /** [Property] (Boolean) */ - setsHeight?: bool; + setsHeight?: boolean; /** [Property] (Boolean) */ - setsWidth?: bool; + setsWidth?: boolean; } } declare module Ext { @@ -27289,7 +26913,7 @@ declare module Ext { * @param scope Object The execution scope (this) of the callback function * @param withDomReady Boolean Whether or not to wait for document dom ready as well */ - static onReady( fn?:any, scope?:any, withDomReady?:bool ): void; + static onReady( fn?:any, scope?:any, withDomReady?:boolean ): void; /** [Method] Loads all classes by the given names and all their direct dependencies optionally executes the given callback functi * @param expressions String/Array Can either be a string or an array of string * @param fn Function The callback function @@ -27340,9 +26964,9 @@ declare module Ext { /** [Config Option] (Ext.Component) */ target?: Ext.IComponent; /** [Config Option] (Boolean) */ - useMsg?: bool; + useMsg?: boolean; /** [Config Option] (Boolean) */ - useTargetEl?: bool; + useTargetEl?: boolean; /** [Method] Allows addition of behavior after rendering is complete */ afterRender?(): void; /** [Method] Invoked after the Component is shown after onShow is called */ @@ -27377,7 +27001,7 @@ declare module Ext { * @param store Ext.data.AbstractStore The store being bound * @param initial Boolean True if this store is being bound as initialization of the instance. */ - onBindStore?( store?:Ext.data.IAbstractStore, initial?:bool ): void; + onBindStore?( store?:Ext.data.IAbstractStore, initial?:boolean ): void; /** [Method] Allows addition of behavior to the destroy operation */ onDestroy?(): void; /** [Method] Allows addition of behavior to the disable operation */ @@ -27390,12 +27014,12 @@ declare module Ext { * @param store Ext.data.AbstractStore The store being unbound * @param initial Boolean True if this store is being bound as initialization of the instance. */ - onUnbindStore?( store?:Ext.data.IAbstractStore, initial?:bool ): void; + onUnbindStore?( store?:Ext.data.IAbstractStore, initial?:boolean ): void; /** [Method] This method is called internally by Ext ZIndexManager to signal that a floating Component has either been moved to th * @param active Boolean True to activate the Component, false to deactivate it. * @param newActive Ext.Component The newly active Component which is taking over topmost zIndex position. */ - setActive?( active?:bool, newActive?:Ext.IComponent ): void; + setActive?( active?:boolean, newActive?:Ext.IComponent ): void; /** [Method] Shows this Component rendering it first if autoRender or floating are true */ show?(): Ext.IComponent; /** [Method] Sends this Component to the back of lower z index than any other visible windows */ @@ -27403,7 +27027,7 @@ declare module Ext { /** [Method] Brings this floating Component to the front of any other visible floating Components managed by the same ZIndexManag * @param preventFocus Boolean Specify true to prevent the Component from being focused. */ - toFront?( preventFocus?:bool ): Ext.IComponent; + toFront?( preventFocus?:boolean ): Ext.IComponent; /** [Method] Unbinds listeners from this component to the store * @param store Ext.data.AbstractStore The store to unbind from */ @@ -27413,11 +27037,11 @@ declare module Ext { declare module Ext.menu { export interface ICheckItem extends Ext.menu.IItem { /** [Config Option] (Boolean) */ - checkChangeDisabled?: bool; + checkChangeDisabled?: boolean; /** [Config Option] (Function) */ checkHandler?: any; /** [Config Option] (Boolean) */ - checked?: bool; + checked?: boolean; /** [Config Option] (String) */ checkedCls?: string; /** [Config Option] (String) */ @@ -27425,7 +27049,7 @@ declare module Ext.menu { /** [Config Option] (String) */ groupCls?: string; /** [Config Option] (Boolean) */ - hideOnClick?: bool; + hideOnClick?: boolean; /** [Config Option] (Ext.XTemplate/String/String[]) */ renderTpl?: any; /** [Config Option] (Object) */ @@ -27446,13 +27070,13 @@ declare module Ext.menu { * @param checked Boolean True to check, false to uncheck * @param suppressEvents Boolean True to prevent firing the checkchange events. */ - setChecked?( checked?:bool, suppressEvents?:bool ): void; + setChecked?( checked?:boolean, suppressEvents?:boolean ): void; } } declare module Ext.menu { export interface IColorPicker extends Ext.menu.IMenu { /** [Config Option] (Boolean) */ - hideOnClick?: bool; + hideOnClick?: boolean; /** [Config Option] (String) */ pickerId?: string; /** [Property] (Ext.picker.Color) */ @@ -27462,7 +27086,7 @@ declare module Ext.menu { declare module Ext.menu { export interface IDatePicker extends Ext.menu.IMenu { /** [Config Option] (Boolean) */ - hideOnClick?: bool; + hideOnClick?: boolean; /** [Config Option] (String) */ pickerId?: string; /** [Property] (Ext.picker.Date) */ @@ -27474,11 +27098,11 @@ declare module Ext.menu { /** [Config Option] (String) */ activeCls?: string; /** [Config Option] (Boolean) */ - canActivate?: bool; + canActivate?: boolean; /** [Config Option] (Number) */ clickHideDelay?: number; /** [Config Option] (Boolean) */ - destroyMenu?: bool; + destroyMenu?: boolean; /** [Config Option] (String) */ disabledCls?: string; /** [Config Option] (Number/String) */ @@ -27486,7 +27110,7 @@ declare module Ext.menu { /** [Config Option] (Function) */ handler?: any; /** [Config Option] (Boolean) */ - hideOnClick?: bool; + hideOnClick?: boolean; /** [Config Option] (String) */ href?: string; /** [Config Option] (String) */ @@ -27504,7 +27128,7 @@ declare module Ext.menu { /** [Config Option] (Number) */ menuHideDelay?: number; /** [Config Option] (Boolean) */ - plain?: bool; + plain?: boolean; /** [Config Option] (Ext.XTemplate/String/String[]) */ renderTpl?: any; /** [Config Option] (String) */ @@ -27514,9 +27138,9 @@ declare module Ext.menu { /** [Config Option] (String) */ tooltipType?: string; /** [Property] (Boolean) */ - activated?: bool; + activated?: boolean; /** [Property] (Boolean) */ - maskOnDisable?: bool; + maskOnDisable?: boolean; /** [Property] (Ext.menu.Menu) */ parentMenu?: Ext.menu.IMenu; /** [Method] Retrieves the first direct child of this container which matches the passed selector or component @@ -27569,7 +27193,7 @@ declare module Ext.menu { * @param menu Ext.menu.Menu/Object A menu, or menu configuration. null may be passed to remove the menu. * @param destroyMenu Boolean True to destroy any existing menu. False to prevent destruction. If not specified, the destroyMenu configuration will be used. */ - setMenu?( menu?:any, destroyMenu?:bool ): void; + setMenu?( menu?:any, destroyMenu?:boolean ): void; /** [Method] Sets the text of this item * @param text String The text */ @@ -27585,11 +27209,11 @@ declare module Ext.menu { /** [Config Option] (String) */ activeCls?: string; /** [Config Option] (Boolean) */ - canActivate?: bool; + canActivate?: boolean; /** [Config Option] (Number) */ clickHideDelay?: number; /** [Config Option] (Boolean) */ - destroyMenu?: bool; + destroyMenu?: boolean; /** [Config Option] (String) */ disabledCls?: string; /** [Config Option] (Number/String) */ @@ -27597,7 +27221,7 @@ declare module Ext.menu { /** [Config Option] (Function) */ handler?: any; /** [Config Option] (Boolean) */ - hideOnClick?: bool; + hideOnClick?: boolean; /** [Config Option] (String) */ href?: string; /** [Config Option] (String) */ @@ -27615,7 +27239,7 @@ declare module Ext.menu { /** [Config Option] (Number) */ menuHideDelay?: number; /** [Config Option] (Boolean) */ - plain?: bool; + plain?: boolean; /** [Config Option] (Ext.XTemplate/String/String[]) */ renderTpl?: any; /** [Config Option] (String) */ @@ -27625,9 +27249,9 @@ declare module Ext.menu { /** [Config Option] (String) */ tooltipType?: string; /** [Property] (Boolean) */ - activated?: bool; + activated?: boolean; /** [Property] (Boolean) */ - maskOnDisable?: bool; + maskOnDisable?: boolean; /** [Property] (Ext.menu.Menu) */ parentMenu?: Ext.menu.IMenu; /** [Method] Retrieves the first direct child of this container which matches the passed selector or component @@ -27680,7 +27304,7 @@ declare module Ext.menu { * @param menu Ext.menu.Menu/Object A menu, or menu configuration. null may be passed to remove the menu. * @param destroyMenu Boolean True to destroy any existing menu. False to prevent destruction. If not specified, the destroyMenu configuration will be used. */ - setMenu?( menu?:any, destroyMenu?:bool ): void; + setMenu?( menu?:any, destroyMenu?:boolean ): void; /** [Method] Sets the text of this item * @param text String The text */ @@ -27723,36 +27347,13 @@ declare module Ext.menu { */ static getInitialConfig( name?:string ): any; /** [Method] Hides all menus that are currently visible */ - static hideAll(): bool; + static hideAll(): boolean; /** [Method] Initialize configuration for this class * @param config Object */ static initConfig( config?:any ): Ext.IBase; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.menu { @@ -27783,60 +27384,37 @@ declare module Ext.menu { */ static getInitialConfig( name?:string ): any; /** [Method] Hides all menus that are currently visible */ - static hideAll(): bool; + static hideAll(): boolean; /** [Method] Initialize configuration for this class * @param config Object */ static initConfig( config?:any ): Ext.IBase; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.menu { export interface IMenu extends Ext.panel.IPanel { /** [Config Option] (Boolean) */ - allowOtherMenus?: bool; + allowOtherMenus?: boolean; /** [Config Option] (Boolean) */ - enableKeyNav?: bool; + enableKeyNav?: boolean; /** [Config Option] (Boolean) */ - floating?: bool; + floating?: boolean; /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (String) */ hideMode?: string; /** [Config Option] (Boolean) */ - ignoreParentClicks?: bool; + ignoreParentClicks?: boolean; /** [Config Option] (Number) */ minWidth?: number; /** [Config Option] (Boolean) */ - plain?: bool; + plain?: boolean; /** [Config Option] (Boolean) */ - showSeparator?: bool; + showSeparator?: boolean; /** [Property] (Boolean) */ - isMenu?: bool; + isMenu?: boolean; /** [Property] (Ext.menu.Menu) */ parentMenu?: Ext.menu.IMenu; /** [Method] Invoked after the Component is shown after onShow is called */ @@ -27846,7 +27424,7 @@ declare module Ext.menu { /** [Method] Returns whether a menu item can be activated or not * @param item Object */ - canActivateItem?( item?:any ): bool; + canActivateItem?( item?:any ): boolean; /** [Method] Deactivates the current active item on the menu if one exists * @param andBlurFocusedItem Object */ @@ -27854,7 +27432,7 @@ declare module Ext.menu { /** [Method] Hides this Component setting it to invisible using the configured hideMode */ hide?(): Ext.IComponent; /** [Method] Menus are never contained and must not ascertain their visibility from the ancestor hierarchy */ - isVisible?(): bool; + isVisible?(): boolean; /** [Method] Allows addition of behavior to the destroy operation */ onDestroy?(): void; /** [Method] Shows this component by the specified Component or Element @@ -27939,7 +27517,7 @@ declare module Ext { * @param propName String The name of the property on this object to save. * @param value String The value of the state property (defaults to this[propName]). */ - static addPropertyToState( state?:any, propName?:string, value?:string ): bool; + static addPropertyToState( state?:any, propName?:string, value?:string ): boolean; /** [Method] Add events that will trigger the state to be saved * @param events String/String[] The event name or an array of event names. */ @@ -28003,9 +27581,9 @@ declare module Ext { * @param callback Function The function to call after the animation finishes */ static anchorTo( element?:any, position?:any, offsets?:any, animate?:any, monitorScroll?:any, callback?:any ): any; - static anchorTo( element?:Ext.util.IPositionable, position?:string, offsets?:number[], animate?:any, monitorScroll?:bool, callback?:any ): Ext.util.IPositionable; - static anchorTo( element?:HTMLElement, position?:string, offsets?:number[], animate?:any, monitorScroll?:bool, callback?:any ): Ext.util.IPositionable; - static anchorTo( element?:string, position?:string, offsets?:number[], animate?:any, monitorScroll?:bool, callback?:any ): Ext.util.IPositionable; + static anchorTo( element?:Ext.util.IPositionable, position?:string, offsets?:number[], animate?:any, monitorScroll?:boolean, callback?:any ): Ext.util.IPositionable; + static anchorTo( element?:HTMLElement, position?:string, offsets?:number[], animate?:any, monitorScroll?:boolean, callback?:any ): Ext.util.IPositionable; + static anchorTo( element?:string, position?:string, offsets?:number[], animate?:any, monitorScroll?:boolean, callback?:any ): Ext.util.IPositionable; static anchorTo( element?:Ext.util.IPositionable, position?:string, offsets?:number[], animate?:any, monitorScroll?:number, callback?:any ): Ext.util.IPositionable; static anchorTo( element?:HTMLElement, position?:string, offsets?:number[], animate?:any, monitorScroll?:number, callback?:any ): Ext.util.IPositionable; static anchorTo( element?:string, position?:string, offsets?:number[], animate?:any, monitorScroll?:number, callback?:any ): Ext.util.IPositionable; @@ -28047,10 +27625,10 @@ declare module Ext { * @param proposedSize Number[] A proposed [width, height] size to use when calculating constraints instead of using this Positionable's current size. */ static calculateConstrainedPosition( constrainTo?:any, proposedPosition?:any, local?:any, proposedSize?:any ): any; - static calculateConstrainedPosition( constrainTo?:string, proposedPosition?:number[], local?:bool, proposedSize?:number[] ): number[]; - static calculateConstrainedPosition( constrainTo?:HTMLElement, proposedPosition?:number[], local?:bool, proposedSize?:number[] ): number[]; - static calculateConstrainedPosition( constrainTo?:Ext.IElement, proposedPosition?:number[], local?:bool, proposedSize?:number[] ): number[]; - static calculateConstrainedPosition( constrainTo?:Ext.util.IRegion, proposedPosition?:number[], local?:bool, proposedSize?:number[] ): number[]; + static calculateConstrainedPosition( constrainTo?:string, proposedPosition?:number[], local?:boolean, proposedSize?:number[] ): number[]; + static calculateConstrainedPosition( constrainTo?:HTMLElement, proposedPosition?:number[], local?:boolean, proposedSize?:number[] ): number[]; + static calculateConstrainedPosition( constrainTo?:Ext.IElement, proposedPosition?:number[], local?:boolean, proposedSize?:number[] ): number[]; + static calculateConstrainedPosition( constrainTo?:Ext.util.IRegion, proposedPosition?:number[], local?:boolean, proposedSize?:number[] ): number[]; /** [Method] Call the original method that was previously overridden with override Ext define My Cat constructor functi * @param args Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments) */ @@ -28096,7 +27674,7 @@ declare module Ext { * @param direction String The direction to collapse towards. Must be one of Ext.Component.DIRECTION_TOP Ext.Component.DIRECTION_RIGHT Ext.Component.DIRECTION_BOTTOM Ext.Component.DIRECTION_LEFT Defaults to collapseDirection. * @param animate Boolean True to animate the transition, else false (defaults to the value of the animCollapse panel config). May also be specified as the animation duration in milliseconds. */ - static collapse( direction?:string, animate?:bool ): Ext.panel.IPanel; + static collapse( direction?:string, animate?:boolean ): Ext.panel.IPanel; /** [Method] Displays a confirmation message box with Yes and No buttons comparable to JavaScript s confirm * @param title String The title bar text * @param msg String The message box body text @@ -28108,7 +27686,7 @@ declare module Ext { * @param comp Ext.Component The Component to test. * @param deep Boolean Pass true to test for the Component being a descendant at any level. */ - static contains( comp?:Ext.IComponent, deep?:bool ): bool; + static contains( comp?:Ext.IComponent, deep?:boolean ): boolean; /** [Method] converts a collapsdDir into an anchor argument for Element slideIn overridden in rtl mode to switch l and r * @param collapseDir Object */ @@ -28144,11 +27722,11 @@ declare module Ext { /** [Method] Ensures that this component is attached to document body * @param runLayout Boolean True to run the component's layout. */ - static ensureAttachedToBody( runLayout?:bool ): void; + static ensureAttachedToBody( runLayout?:boolean ): void; /** [Method] Expands the panel body so that it becomes visible * @param animate Boolean True to animate the transition, else false (defaults to the value of the animCollapse panel config). May also be specified as the animation duration in milliseconds. */ - static expand( animate?:bool ): Ext.panel.IPanel; + static expand( animate?:boolean ): Ext.panel.IPanel; /** [Method] Find a container above this component at any level by a custom function * @param fn Function The custom function to call with the arguments (container, this component). */ @@ -28167,12 +27745,12 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - static fireEventArgs( eventName?:string, args?:any[] ): bool; + static fireEventArgs( eventName?:string, args?:any[] ): boolean; /** [Method] Try to focus this component * @param selectText Boolean If applicable, true to also select the text in this component * @param delay Boolean/Number Delay the focus this number of milliseconds (true for 10 milliseconds). @@ -28180,14 +27758,14 @@ declare module Ext { * @param scope Function Only needed if the delay parameter is used. The scope (this reference) in which to execute the callback. */ static focus( selectText?:any, delay?:any, callback?:any, scope?:any ): any; - static focus( selectText?:bool, delay?:bool, callback?:any, scope?:any ): Ext.IComponent; - static focus( selectText?:bool, delay?:number, callback?:any, scope?:any ): Ext.IComponent; + static focus( selectText?:boolean, delay?:boolean, callback?:any, scope?:any ): Ext.IComponent; + static focus( selectText?:boolean, delay?:number, callback?:any, scope?:any ): Ext.IComponent; /** [Method] Forces this component to redo its componentLayout */ static forceComponentLayout(): void; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ static getActiveAnimation(): Ext.fx.IAnim; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ - static getActiveAnimation(): bool; + static getActiveAnimation(): boolean; /** [Method] Gets the x y coordinates to align this element with another element * @param element Ext.util.Positionable/HTMLElement/String The Positionable, HTMLElement, or id of the element to align to. * @param position String The position to align to @@ -28202,12 +27780,12 @@ declare module Ext { * @param local Boolean True to get the local (element top/left-relative) anchor position instead of page coordinates * @param size Object An object containing the size to use for calculating anchor position {width: (target width), height: (target height)} (defaults to the element's current size) */ - static getAnchorXY( anchor?:string, local?:bool, size?:any ): number[]; + static getAnchorXY( anchor?:string, local?:boolean, size?:any ): number[]; /** [Method] Return an object defining the area of this Element which can be passed to setBox to set another Element s size locati * @param contentBox Boolean If true a box for the content of the element is returned. * @param local Boolean If true the element's left and top relative to its offsetParent are returned instead of page x/y. */ - static getBox( contentBox?:bool, local?:bool ): any; + static getBox( contentBox?:boolean, local?:boolean ): any; /** [Method] Implements an upward event bubbling policy */ static getBubbleTarget(): void; /** [Method] Return the immediate child Component in which the passed element is located @@ -28215,11 +27793,11 @@ declare module Ext { * @param deep Boolean If true, returns the deepest descendant Component which contains the passed element. */ static getChildByElement( el?:any, deep?:any ): any; - static getChildByElement( el?:Ext.IElement, deep?:bool ): Ext.IComponent; - static getChildByElement( el?:HTMLElement, deep?:bool ): Ext.IComponent; - static getChildByElement( el?:string, deep?:bool ): Ext.IComponent; + static getChildByElement( el?:Ext.IElement, deep?:boolean ): Ext.IComponent; + static getChildByElement( el?:HTMLElement, deep?:boolean ): Ext.IComponent; + static getChildByElement( el?:string, deep?:boolean ): Ext.IComponent; /** [Method] Returns the current collapsed state of the panel */ - static getCollapsed(): bool; + static getCollapsed(): boolean; /** [Method] Returns the current collapsed state of the panel */ static getCollapsed(): string; /** [Method] Attempts a default component lookup see Ext container Container getComponent @@ -28243,10 +27821,10 @@ declare module Ext { * @param proposedPosition Number[] A proposed [X, Y] position to test for validity and to produce a vector for instead of using the element's current position * @param proposedSize Number[] A proposed [width, height] size to constrain instead of using the element's current size */ - static getConstrainVector( constrainTo?:Ext.util.IPositionable, proposedPosition?:number[], proposedSize?:number[] ): bool; - static getConstrainVector( constrainTo?:HTMLElement, proposedPosition?:number[], proposedSize?:number[] ): bool; - static getConstrainVector( constrainTo?:string, proposedPosition?:number[], proposedSize?:number[] ): bool; - static getConstrainVector( constrainTo?:Ext.util.IRegion, proposedPosition?:number[], proposedSize?:number[] ): bool; + static getConstrainVector( constrainTo?:Ext.util.IPositionable, proposedPosition?:number[], proposedSize?:number[] ): boolean; + static getConstrainVector( constrainTo?:HTMLElement, proposedPosition?:number[], proposedSize?:number[] ): boolean; + static getConstrainVector( constrainTo?:string, proposedPosition?:number[], proposedSize?:number[] ): boolean; + static getConstrainVector( constrainTo?:Ext.util.IRegion, proposedPosition?:number[], proposedSize?:number[] ): boolean; /** [Method] Gets the configured default focus item */ static getDefaultFocus(): void; /** [Method] Finds a docked component by id itemId or position @@ -28259,7 +27837,7 @@ declare module Ext { * @param selector String A ComponentQuery selector string to filter the returned items. * @param beforeBody Boolean An optional flag to limit the set of items to only those before the body (true) or after the body (false). All components are returned by default. */ - static getDockedItems( selector?:string, beforeBody?:bool ): Ext.IComponent[]; + static getDockedItems( selector?:string, beforeBody?:boolean ): Ext.IComponent[]; /** [Method] Retrieves the top level element representing this component */ static getEl(): Ext.dom.IElement; /** [Method] Gets the Header for this panel */ @@ -28306,7 +27884,7 @@ declare module Ext { /** [Method] Gets the current XY position of the component s underlying element * @param local Boolean If true the element's left and top are returned instead of page XY. */ - static getPosition( local?:bool ): number[]; + static getPosition( local?:boolean ): number[]; /** [Method] Used by ComponentQuery child and down to retrieve all of the items which can potentially be considered a child of th * @param deep Object */ @@ -28336,15 +27914,15 @@ declare module Ext { /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ static hasActiveFx(): Ext.fx.IAnim; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ - static hasActiveFx(): bool; + static hasActiveFx(): boolean; /** [Method] Checks if the specified CSS class exists on this element s DOM node * @param className String The CSS class to check for. */ - static hasCls( className?:string ): bool; + static hasCls( className?:string ): boolean; /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Checks if there is currently a specified uiCls * @param cls String The cls to check. */ @@ -28370,7 +27948,7 @@ declare module Ext { /** [Method] Tests whether this Component matches the selector string * @param selector String The selector string to test against. */ - static is( selector?:string ): bool; + static is( selector?:string ): boolean; /** [Method] Determines whether this Container is an ancestor of the passed Component * @param possibleDescendant Ext.Component The Component to test for presence within this Container's subtree. */ @@ -28378,34 +27956,34 @@ declare module Ext { /** [Method] Determines whether this component is the descendant of a particular container * @param container Ext.Container */ - static isDescendantOf( container?:Ext.IContainer ): bool; + static isDescendantOf( container?:Ext.IContainer ): boolean; /** [Method] Method to determine whether this Component is currently disabled */ - static isDisabled(): bool; + static isDisabled(): boolean; /** [Method] Method to determine whether this Component is draggable */ - static isDraggable(): bool; + static isDraggable(): boolean; /** [Method] Method to determine whether this Component is droppable */ - static isDroppable(): bool; + static isDroppable(): boolean; /** [Method] Method to determine whether this Component is floating */ - static isFloating(): bool; + static isFloating(): boolean; /** [Method] Method to determine whether this Component is currently set to hidden */ - static isHidden(): bool; + static isHidden(): boolean; /** [Method] Determines whether this Component is the root of a layout */ static isLayoutRoot(): void; /** [Method] Returns true if layout is suspended for this component */ - static isLayoutSuspended(): bool; + static isLayoutSuspended(): boolean; /** [Method] Returns true if this component is visible * @param deep Object */ - static isVisible( deep?:any ): bool; + static isVisible( deep?:any ): boolean; /** [Method] Tests whether or not this Component is of a specific xtype * @param xtype String The xtype to check for this Component * @param shallow Boolean true to check whether this Component is directly of the specified xtype, false to check whether this Component is descended from the xtype. */ - static isXType( xtype?:string, shallow?:bool ): bool; + static isXType( xtype?:string, shallow?:boolean ): boolean; /** [Method] Fits the window within its current container and automatically replaces the maximize tool button with the restore * @param animate Boolean true to animate this Window to full size. */ - static maximize( animate?:bool ): Ext.window.IWindow; + static maximize( animate?:boolean ): Ext.window.IWindow; /** [Method] Placeholder method for minimizing the window */ static minimize(): Ext.window.IWindow; /** [Method] Shorthand for addManagedListener @@ -28482,7 +28060,7 @@ declare module Ext { * @param component Ext.Component * @param autoDestroy Boolean */ - static onRemove( component?:Ext.IComponent, autoDestroy?:bool ): void; + static onRemove( component?:Ext.IComponent, autoDestroy?:boolean ): void; /** [Method] Method to manage awareness of when components are removed from their respective Container firing a removed event * @param destroying Object */ @@ -28523,7 +28101,7 @@ declare module Ext { * @param value String Default value of the text input element */ static prompt( title?:any, msg?:any, fn?:any, scope?:any, multiline?:any, value?:any ): any; - static prompt( title?:string, msg?:string, fn?:any, scope?:any, multiline?:bool, value?:string ): Ext.window.IMessageBox; + static prompt( title?:string, msg?:string, fn?:any, scope?:any, multiline?:boolean, value?:string ): Ext.window.IMessageBox; static prompt( title?:string, msg?:string, fn?:any, scope?:any, multiline?:number, value?:string ): Ext.window.IMessageBox; /** [Method] Retrieves all descendant components which match the passed selector * @param selector String Selector complying to an Ext.ComponentQuery selector. If no selector is specified all items will be returned. @@ -28553,12 +28131,12 @@ declare module Ext { * @param autoDestroy Boolean True to automatically invoke the removed Component's Ext.Component.destroy function. Defaults to the value of this Container's autoDestroy config. */ static remove( component?:any, autoDestroy?:any ): any; - static remove( component?:Ext.IComponent, autoDestroy?:bool ): Ext.IComponent; - static remove( component?:string, autoDestroy?:bool ): Ext.IComponent; + static remove( component?:Ext.IComponent, autoDestroy?:boolean ): Ext.IComponent; + static remove( component?:string, autoDestroy?:boolean ): Ext.IComponent; /** [Method] Removes all components from this container * @param autoDestroy Boolean True to automatically invoke the removed Component's Ext.Component.destroy function. Defaults to the value of this Container's autoDestroy config. */ - static removeAll( autoDestroy?:bool ): Ext.IComponent[]; + static removeAll( autoDestroy?:boolean ): Ext.IComponent[]; /** [Method] Remove any anchor to this element */ static removeAnchor(): Ext.util.IPositionable; /** [Method] Removes a CSS class from the body element @@ -28585,7 +28163,7 @@ declare module Ext { * @param item Ext.Component The Component to remove. * @param autoDestroy Boolean Destroy the component after removal. */ - static removeDocked( item?:Ext.IComponent, autoDestroy?:bool ): void; + static removeDocked( item?:Ext.IComponent, autoDestroy?:boolean ): void; /** [Method] Removes an event handler * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -28631,7 +28209,7 @@ declare module Ext { * @param state Object The state object in to which to save the property. * @param stateName String The name to use for the property in state. */ - static savePropToState( propName?:string, state?:any, stateName?:string ): bool; + static savePropToState( propName?:string, state?:any, stateName?:string ): boolean; /** [Method] Gathers additional named properties of the instance and adds their current values to the passed state object * @param propNames String/String[] The name (or array of names) of the property to save. * @param state Object The state object in to which to save the property values. @@ -28653,11 +28231,11 @@ declare module Ext { * @param active Boolean True to activate the Component, false to deactivate it. * @param newActive Ext.Component The newly active Component which is taking over topmost zIndex position. */ - static setActive( active?:bool, newActive?:Ext.IComponent ): void; + static setActive( active?:boolean, newActive?:Ext.IComponent ): void; /** [Method] Sets the overflow on the content element of the component * @param scroll Boolean True to allow the Component to auto scroll. */ - static setAutoScroll( scroll?:bool ): Ext.IComponent; + static setAutoScroll( scroll?:boolean ): Ext.IComponent; /** [Method] Sets the body style according to the passed parameters * @param style Mixed A full style specification string, or object, or the name of a style property to set. * @param value String If the first param was a style property name, the style property value. @@ -28680,12 +28258,12 @@ declare module Ext { /** [Method] Enable or disable the component * @param disabled Boolean true to disable. */ - static setDisabled( disabled?:bool ): void; + static setDisabled( disabled?:boolean ): void; /** [Method] Sets the dock position of this component in its parent panel * @param dock Object The dock position. * @param layoutParent Boolean true to re-layout parent. */ - static setDocked( dock?:any, layoutParent?:bool ): Ext.IComponent; + static setDocked( dock?:any, layoutParent?:boolean ): Ext.IComponent; /** [Method] Set the glyph for the panel s header * @param newGlyph Number/String The new glyph This parameter expects a format consistent with that of glyph */ @@ -28710,7 +28288,7 @@ declare module Ext { * @param load Boolean/Object/String True to show the default LoadMask, a config object that will be passed to the LoadMask constructor, or a message String to show. False to hide the current LoadMask. * @param targetEl Boolean True to mask the targetEl of this Component instead of the this.el. For example, setting this to true on a Panel will cause only the body to be masked. */ - static setLoading( load?:any, targetEl?:bool ): Ext.ILoadMask; + static setLoading( load?:any, targetEl?:boolean ): Ext.ILoadMask; /** [Method] Overridden in Ext rtl AbstractComponent * @param x Object */ @@ -28776,7 +28354,7 @@ declare module Ext { /** [Method] Convenience function to hide or show this component by Boolean * @param visible Boolean true to show, false to hide. */ - static setVisible( visible?:bool ): Ext.IComponent; + static setVisible( visible?:boolean ): Ext.IComponent; /** [Method] Sets the width of the component * @param width Number The new width to setThis may be one of: A Number specifying the new width in the Element's Ext.Element.defaultUnits (by default, pixels). A String used to set the CSS width style. */ @@ -28829,7 +28407,7 @@ declare module Ext { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - static suspendEvents( queueSuspended?:bool ): void; + static suspendEvents( queueSuspended?:boolean ): void; /** [Method] Ensures that all effects queued after syncFx is called on this object are run concurrently */ static syncFx(): any; /** [Method] Sends this Component to the back of lower z index than any other visible windows */ @@ -28837,7 +28415,7 @@ declare module Ext { /** [Method] Brings this floating Component to the front of any other visible floating Components managed by the same ZIndexManag * @param preventFocus Boolean Specify true to prevent the Component from being focused. */ - static toFront( preventFocus?:bool ): Ext.IComponent; + static toFront( preventFocus?:boolean ): Ext.IComponent; /** [Method] Shortcut for performing an expand or collapse based on the current state of the panel */ static toggleCollapse(): Ext.panel.IPanel; /** [Method] A shortcut method for toggling between maximize and restore based on the current maximized state of the window */ @@ -28871,7 +28449,7 @@ declare module Ext { * @param loadScripts Boolean Only legitimate when using the html configuration. * @param callback Function Only legitimate when using the html configuration. Callback to execute when scripts have finished loading. */ - static update( htmlOrData?:any, loadScripts?:bool, callback?:any ): void; + static update( htmlOrData?:any, loadScripts?:boolean, callback?:any ): void; /** [Method] Sets the current box measurements of the component s underlying element * @param box Object An object in the format {x, y, width, height} */ @@ -28892,29 +28470,6 @@ declare module Ext { * @param config Object A Ext.ProgressBar.wait config object */ static wait( msg?:string, title?:string, config?:any ): Ext.window.IMessageBox; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -28985,7 +28540,7 @@ declare module Ext { * @param propName String The name of the property on this object to save. * @param value String The value of the state property (defaults to this[propName]). */ - static addPropertyToState( state?:any, propName?:string, value?:string ): bool; + static addPropertyToState( state?:any, propName?:string, value?:string ): boolean; /** [Method] Add events that will trigger the state to be saved * @param events String/String[] The event name or an array of event names. */ @@ -29049,9 +28604,9 @@ declare module Ext { * @param callback Function The function to call after the animation finishes */ static anchorTo( element?:any, position?:any, offsets?:any, animate?:any, monitorScroll?:any, callback?:any ): any; - static anchorTo( element?:Ext.util.IPositionable, position?:string, offsets?:number[], animate?:any, monitorScroll?:bool, callback?:any ): Ext.util.IPositionable; - static anchorTo( element?:HTMLElement, position?:string, offsets?:number[], animate?:any, monitorScroll?:bool, callback?:any ): Ext.util.IPositionable; - static anchorTo( element?:string, position?:string, offsets?:number[], animate?:any, monitorScroll?:bool, callback?:any ): Ext.util.IPositionable; + static anchorTo( element?:Ext.util.IPositionable, position?:string, offsets?:number[], animate?:any, monitorScroll?:boolean, callback?:any ): Ext.util.IPositionable; + static anchorTo( element?:HTMLElement, position?:string, offsets?:number[], animate?:any, monitorScroll?:boolean, callback?:any ): Ext.util.IPositionable; + static anchorTo( element?:string, position?:string, offsets?:number[], animate?:any, monitorScroll?:boolean, callback?:any ): Ext.util.IPositionable; static anchorTo( element?:Ext.util.IPositionable, position?:string, offsets?:number[], animate?:any, monitorScroll?:number, callback?:any ): Ext.util.IPositionable; static anchorTo( element?:HTMLElement, position?:string, offsets?:number[], animate?:any, monitorScroll?:number, callback?:any ): Ext.util.IPositionable; static anchorTo( element?:string, position?:string, offsets?:number[], animate?:any, monitorScroll?:number, callback?:any ): Ext.util.IPositionable; @@ -29093,10 +28648,10 @@ declare module Ext { * @param proposedSize Number[] A proposed [width, height] size to use when calculating constraints instead of using this Positionable's current size. */ static calculateConstrainedPosition( constrainTo?:any, proposedPosition?:any, local?:any, proposedSize?:any ): any; - static calculateConstrainedPosition( constrainTo?:string, proposedPosition?:number[], local?:bool, proposedSize?:number[] ): number[]; - static calculateConstrainedPosition( constrainTo?:HTMLElement, proposedPosition?:number[], local?:bool, proposedSize?:number[] ): number[]; - static calculateConstrainedPosition( constrainTo?:Ext.IElement, proposedPosition?:number[], local?:bool, proposedSize?:number[] ): number[]; - static calculateConstrainedPosition( constrainTo?:Ext.util.IRegion, proposedPosition?:number[], local?:bool, proposedSize?:number[] ): number[]; + static calculateConstrainedPosition( constrainTo?:string, proposedPosition?:number[], local?:boolean, proposedSize?:number[] ): number[]; + static calculateConstrainedPosition( constrainTo?:HTMLElement, proposedPosition?:number[], local?:boolean, proposedSize?:number[] ): number[]; + static calculateConstrainedPosition( constrainTo?:Ext.IElement, proposedPosition?:number[], local?:boolean, proposedSize?:number[] ): number[]; + static calculateConstrainedPosition( constrainTo?:Ext.util.IRegion, proposedPosition?:number[], local?:boolean, proposedSize?:number[] ): number[]; /** [Method] Call the original method that was previously overridden with override Ext define My Cat constructor functi * @param args Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments) */ @@ -29142,7 +28697,7 @@ declare module Ext { * @param direction String The direction to collapse towards. Must be one of Ext.Component.DIRECTION_TOP Ext.Component.DIRECTION_RIGHT Ext.Component.DIRECTION_BOTTOM Ext.Component.DIRECTION_LEFT Defaults to collapseDirection. * @param animate Boolean True to animate the transition, else false (defaults to the value of the animCollapse panel config). May also be specified as the animation duration in milliseconds. */ - static collapse( direction?:string, animate?:bool ): Ext.panel.IPanel; + static collapse( direction?:string, animate?:boolean ): Ext.panel.IPanel; /** [Method] Displays a confirmation message box with Yes and No buttons comparable to JavaScript s confirm * @param title String The title bar text * @param msg String The message box body text @@ -29154,7 +28709,7 @@ declare module Ext { * @param comp Ext.Component The Component to test. * @param deep Boolean Pass true to test for the Component being a descendant at any level. */ - static contains( comp?:Ext.IComponent, deep?:bool ): bool; + static contains( comp?:Ext.IComponent, deep?:boolean ): boolean; /** [Method] converts a collapsdDir into an anchor argument for Element slideIn overridden in rtl mode to switch l and r * @param collapseDir Object */ @@ -29190,11 +28745,11 @@ declare module Ext { /** [Method] Ensures that this component is attached to document body * @param runLayout Boolean True to run the component's layout. */ - static ensureAttachedToBody( runLayout?:bool ): void; + static ensureAttachedToBody( runLayout?:boolean ): void; /** [Method] Expands the panel body so that it becomes visible * @param animate Boolean True to animate the transition, else false (defaults to the value of the animCollapse panel config). May also be specified as the animation duration in milliseconds. */ - static expand( animate?:bool ): Ext.panel.IPanel; + static expand( animate?:boolean ): Ext.panel.IPanel; /** [Method] Find a container above this component at any level by a custom function * @param fn Function The custom function to call with the arguments (container, this component). */ @@ -29213,12 +28768,12 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - static fireEventArgs( eventName?:string, args?:any[] ): bool; + static fireEventArgs( eventName?:string, args?:any[] ): boolean; /** [Method] Try to focus this component * @param selectText Boolean If applicable, true to also select the text in this component * @param delay Boolean/Number Delay the focus this number of milliseconds (true for 10 milliseconds). @@ -29226,14 +28781,14 @@ declare module Ext { * @param scope Function Only needed if the delay parameter is used. The scope (this reference) in which to execute the callback. */ static focus( selectText?:any, delay?:any, callback?:any, scope?:any ): any; - static focus( selectText?:bool, delay?:bool, callback?:any, scope?:any ): Ext.IComponent; - static focus( selectText?:bool, delay?:number, callback?:any, scope?:any ): Ext.IComponent; + static focus( selectText?:boolean, delay?:boolean, callback?:any, scope?:any ): Ext.IComponent; + static focus( selectText?:boolean, delay?:number, callback?:any, scope?:any ): Ext.IComponent; /** [Method] Forces this component to redo its componentLayout */ static forceComponentLayout(): void; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ static getActiveAnimation(): Ext.fx.IAnim; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ - static getActiveAnimation(): bool; + static getActiveAnimation(): boolean; /** [Method] Gets the x y coordinates to align this element with another element * @param element Ext.util.Positionable/HTMLElement/String The Positionable, HTMLElement, or id of the element to align to. * @param position String The position to align to @@ -29248,12 +28803,12 @@ declare module Ext { * @param local Boolean True to get the local (element top/left-relative) anchor position instead of page coordinates * @param size Object An object containing the size to use for calculating anchor position {width: (target width), height: (target height)} (defaults to the element's current size) */ - static getAnchorXY( anchor?:string, local?:bool, size?:any ): number[]; + static getAnchorXY( anchor?:string, local?:boolean, size?:any ): number[]; /** [Method] Return an object defining the area of this Element which can be passed to setBox to set another Element s size locati * @param contentBox Boolean If true a box for the content of the element is returned. * @param local Boolean If true the element's left and top relative to its offsetParent are returned instead of page x/y. */ - static getBox( contentBox?:bool, local?:bool ): any; + static getBox( contentBox?:boolean, local?:boolean ): any; /** [Method] Implements an upward event bubbling policy */ static getBubbleTarget(): void; /** [Method] Return the immediate child Component in which the passed element is located @@ -29261,11 +28816,11 @@ declare module Ext { * @param deep Boolean If true, returns the deepest descendant Component which contains the passed element. */ static getChildByElement( el?:any, deep?:any ): any; - static getChildByElement( el?:Ext.IElement, deep?:bool ): Ext.IComponent; - static getChildByElement( el?:HTMLElement, deep?:bool ): Ext.IComponent; - static getChildByElement( el?:string, deep?:bool ): Ext.IComponent; + static getChildByElement( el?:Ext.IElement, deep?:boolean ): Ext.IComponent; + static getChildByElement( el?:HTMLElement, deep?:boolean ): Ext.IComponent; + static getChildByElement( el?:string, deep?:boolean ): Ext.IComponent; /** [Method] Returns the current collapsed state of the panel */ - static getCollapsed(): bool; + static getCollapsed(): boolean; /** [Method] Returns the current collapsed state of the panel */ static getCollapsed(): string; /** [Method] Attempts a default component lookup see Ext container Container getComponent @@ -29289,10 +28844,10 @@ declare module Ext { * @param proposedPosition Number[] A proposed [X, Y] position to test for validity and to produce a vector for instead of using the element's current position * @param proposedSize Number[] A proposed [width, height] size to constrain instead of using the element's current size */ - static getConstrainVector( constrainTo?:Ext.util.IPositionable, proposedPosition?:number[], proposedSize?:number[] ): bool; - static getConstrainVector( constrainTo?:HTMLElement, proposedPosition?:number[], proposedSize?:number[] ): bool; - static getConstrainVector( constrainTo?:string, proposedPosition?:number[], proposedSize?:number[] ): bool; - static getConstrainVector( constrainTo?:Ext.util.IRegion, proposedPosition?:number[], proposedSize?:number[] ): bool; + static getConstrainVector( constrainTo?:Ext.util.IPositionable, proposedPosition?:number[], proposedSize?:number[] ): boolean; + static getConstrainVector( constrainTo?:HTMLElement, proposedPosition?:number[], proposedSize?:number[] ): boolean; + static getConstrainVector( constrainTo?:string, proposedPosition?:number[], proposedSize?:number[] ): boolean; + static getConstrainVector( constrainTo?:Ext.util.IRegion, proposedPosition?:number[], proposedSize?:number[] ): boolean; /** [Method] Gets the configured default focus item */ static getDefaultFocus(): void; /** [Method] Finds a docked component by id itemId or position @@ -29305,7 +28860,7 @@ declare module Ext { * @param selector String A ComponentQuery selector string to filter the returned items. * @param beforeBody Boolean An optional flag to limit the set of items to only those before the body (true) or after the body (false). All components are returned by default. */ - static getDockedItems( selector?:string, beforeBody?:bool ): Ext.IComponent[]; + static getDockedItems( selector?:string, beforeBody?:boolean ): Ext.IComponent[]; /** [Method] Retrieves the top level element representing this component */ static getEl(): Ext.dom.IElement; /** [Method] Gets the Header for this panel */ @@ -29352,7 +28907,7 @@ declare module Ext { /** [Method] Gets the current XY position of the component s underlying element * @param local Boolean If true the element's left and top are returned instead of page XY. */ - static getPosition( local?:bool ): number[]; + static getPosition( local?:boolean ): number[]; /** [Method] Used by ComponentQuery child and down to retrieve all of the items which can potentially be considered a child of th * @param deep Object */ @@ -29382,15 +28937,15 @@ declare module Ext { /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ static hasActiveFx(): Ext.fx.IAnim; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ - static hasActiveFx(): bool; + static hasActiveFx(): boolean; /** [Method] Checks if the specified CSS class exists on this element s DOM node * @param className String The CSS class to check for. */ - static hasCls( className?:string ): bool; + static hasCls( className?:string ): boolean; /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Checks if there is currently a specified uiCls * @param cls String The cls to check. */ @@ -29416,7 +28971,7 @@ declare module Ext { /** [Method] Tests whether this Component matches the selector string * @param selector String The selector string to test against. */ - static is( selector?:string ): bool; + static is( selector?:string ): boolean; /** [Method] Determines whether this Container is an ancestor of the passed Component * @param possibleDescendant Ext.Component The Component to test for presence within this Container's subtree. */ @@ -29424,34 +28979,34 @@ declare module Ext { /** [Method] Determines whether this component is the descendant of a particular container * @param container Ext.Container */ - static isDescendantOf( container?:Ext.IContainer ): bool; + static isDescendantOf( container?:Ext.IContainer ): boolean; /** [Method] Method to determine whether this Component is currently disabled */ - static isDisabled(): bool; + static isDisabled(): boolean; /** [Method] Method to determine whether this Component is draggable */ - static isDraggable(): bool; + static isDraggable(): boolean; /** [Method] Method to determine whether this Component is droppable */ - static isDroppable(): bool; + static isDroppable(): boolean; /** [Method] Method to determine whether this Component is floating */ - static isFloating(): bool; + static isFloating(): boolean; /** [Method] Method to determine whether this Component is currently set to hidden */ - static isHidden(): bool; + static isHidden(): boolean; /** [Method] Determines whether this Component is the root of a layout */ static isLayoutRoot(): void; /** [Method] Returns true if layout is suspended for this component */ - static isLayoutSuspended(): bool; + static isLayoutSuspended(): boolean; /** [Method] Returns true if this component is visible * @param deep Object */ - static isVisible( deep?:any ): bool; + static isVisible( deep?:any ): boolean; /** [Method] Tests whether or not this Component is of a specific xtype * @param xtype String The xtype to check for this Component * @param shallow Boolean true to check whether this Component is directly of the specified xtype, false to check whether this Component is descended from the xtype. */ - static isXType( xtype?:string, shallow?:bool ): bool; + static isXType( xtype?:string, shallow?:boolean ): boolean; /** [Method] Fits the window within its current container and automatically replaces the maximize tool button with the restore * @param animate Boolean true to animate this Window to full size. */ - static maximize( animate?:bool ): Ext.window.IWindow; + static maximize( animate?:boolean ): Ext.window.IWindow; /** [Method] Placeholder method for minimizing the window */ static minimize(): Ext.window.IWindow; /** [Method] Shorthand for addManagedListener @@ -29528,7 +29083,7 @@ declare module Ext { * @param component Ext.Component * @param autoDestroy Boolean */ - static onRemove( component?:Ext.IComponent, autoDestroy?:bool ): void; + static onRemove( component?:Ext.IComponent, autoDestroy?:boolean ): void; /** [Method] Method to manage awareness of when components are removed from their respective Container firing a removed event * @param destroying Object */ @@ -29569,7 +29124,7 @@ declare module Ext { * @param value String Default value of the text input element */ static prompt( title?:any, msg?:any, fn?:any, scope?:any, multiline?:any, value?:any ): any; - static prompt( title?:string, msg?:string, fn?:any, scope?:any, multiline?:bool, value?:string ): Ext.window.IMessageBox; + static prompt( title?:string, msg?:string, fn?:any, scope?:any, multiline?:boolean, value?:string ): Ext.window.IMessageBox; static prompt( title?:string, msg?:string, fn?:any, scope?:any, multiline?:number, value?:string ): Ext.window.IMessageBox; /** [Method] Retrieves all descendant components which match the passed selector * @param selector String Selector complying to an Ext.ComponentQuery selector. If no selector is specified all items will be returned. @@ -29599,12 +29154,12 @@ declare module Ext { * @param autoDestroy Boolean True to automatically invoke the removed Component's Ext.Component.destroy function. Defaults to the value of this Container's autoDestroy config. */ static remove( component?:any, autoDestroy?:any ): any; - static remove( component?:Ext.IComponent, autoDestroy?:bool ): Ext.IComponent; - static remove( component?:string, autoDestroy?:bool ): Ext.IComponent; + static remove( component?:Ext.IComponent, autoDestroy?:boolean ): Ext.IComponent; + static remove( component?:string, autoDestroy?:boolean ): Ext.IComponent; /** [Method] Removes all components from this container * @param autoDestroy Boolean True to automatically invoke the removed Component's Ext.Component.destroy function. Defaults to the value of this Container's autoDestroy config. */ - static removeAll( autoDestroy?:bool ): Ext.IComponent[]; + static removeAll( autoDestroy?:boolean ): Ext.IComponent[]; /** [Method] Remove any anchor to this element */ static removeAnchor(): Ext.util.IPositionable; /** [Method] Removes a CSS class from the body element @@ -29631,7 +29186,7 @@ declare module Ext { * @param item Ext.Component The Component to remove. * @param autoDestroy Boolean Destroy the component after removal. */ - static removeDocked( item?:Ext.IComponent, autoDestroy?:bool ): void; + static removeDocked( item?:Ext.IComponent, autoDestroy?:boolean ): void; /** [Method] Removes an event handler * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -29677,7 +29232,7 @@ declare module Ext { * @param state Object The state object in to which to save the property. * @param stateName String The name to use for the property in state. */ - static savePropToState( propName?:string, state?:any, stateName?:string ): bool; + static savePropToState( propName?:string, state?:any, stateName?:string ): boolean; /** [Method] Gathers additional named properties of the instance and adds their current values to the passed state object * @param propNames String/String[] The name (or array of names) of the property to save. * @param state Object The state object in to which to save the property values. @@ -29699,11 +29254,11 @@ declare module Ext { * @param active Boolean True to activate the Component, false to deactivate it. * @param newActive Ext.Component The newly active Component which is taking over topmost zIndex position. */ - static setActive( active?:bool, newActive?:Ext.IComponent ): void; + static setActive( active?:boolean, newActive?:Ext.IComponent ): void; /** [Method] Sets the overflow on the content element of the component * @param scroll Boolean True to allow the Component to auto scroll. */ - static setAutoScroll( scroll?:bool ): Ext.IComponent; + static setAutoScroll( scroll?:boolean ): Ext.IComponent; /** [Method] Sets the body style according to the passed parameters * @param style Mixed A full style specification string, or object, or the name of a style property to set. * @param value String If the first param was a style property name, the style property value. @@ -29726,12 +29281,12 @@ declare module Ext { /** [Method] Enable or disable the component * @param disabled Boolean true to disable. */ - static setDisabled( disabled?:bool ): void; + static setDisabled( disabled?:boolean ): void; /** [Method] Sets the dock position of this component in its parent panel * @param dock Object The dock position. * @param layoutParent Boolean true to re-layout parent. */ - static setDocked( dock?:any, layoutParent?:bool ): Ext.IComponent; + static setDocked( dock?:any, layoutParent?:boolean ): Ext.IComponent; /** [Method] Set the glyph for the panel s header * @param newGlyph Number/String The new glyph This parameter expects a format consistent with that of glyph */ @@ -29756,7 +29311,7 @@ declare module Ext { * @param load Boolean/Object/String True to show the default LoadMask, a config object that will be passed to the LoadMask constructor, or a message String to show. False to hide the current LoadMask. * @param targetEl Boolean True to mask the targetEl of this Component instead of the this.el. For example, setting this to true on a Panel will cause only the body to be masked. */ - static setLoading( load?:any, targetEl?:bool ): Ext.ILoadMask; + static setLoading( load?:any, targetEl?:boolean ): Ext.ILoadMask; /** [Method] Overridden in Ext rtl AbstractComponent * @param x Object */ @@ -29822,7 +29377,7 @@ declare module Ext { /** [Method] Convenience function to hide or show this component by Boolean * @param visible Boolean true to show, false to hide. */ - static setVisible( visible?:bool ): Ext.IComponent; + static setVisible( visible?:boolean ): Ext.IComponent; /** [Method] Sets the width of the component * @param width Number The new width to setThis may be one of: A Number specifying the new width in the Element's Ext.Element.defaultUnits (by default, pixels). A String used to set the CSS width style. */ @@ -29875,7 +29430,7 @@ declare module Ext { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - static suspendEvents( queueSuspended?:bool ): void; + static suspendEvents( queueSuspended?:boolean ): void; /** [Method] Ensures that all effects queued after syncFx is called on this object are run concurrently */ static syncFx(): any; /** [Method] Sends this Component to the back of lower z index than any other visible windows */ @@ -29883,7 +29438,7 @@ declare module Ext { /** [Method] Brings this floating Component to the front of any other visible floating Components managed by the same ZIndexManag * @param preventFocus Boolean Specify true to prevent the Component from being focused. */ - static toFront( preventFocus?:bool ): Ext.IComponent; + static toFront( preventFocus?:boolean ): Ext.IComponent; /** [Method] Shortcut for performing an expand or collapse based on the current state of the panel */ static toggleCollapse(): Ext.panel.IPanel; /** [Method] A shortcut method for toggling between maximize and restore based on the current maximized state of the window */ @@ -29917,7 +29472,7 @@ declare module Ext { * @param loadScripts Boolean Only legitimate when using the html configuration. * @param callback Function Only legitimate when using the html configuration. Callback to execute when scripts have finished loading. */ - static update( htmlOrData?:any, loadScripts?:bool, callback?:any ): void; + static update( htmlOrData?:any, loadScripts?:boolean, callback?:any ): void; /** [Method] Sets the current box measurements of the component s underlying element * @param box Object An object in the format {x, y, width, height} */ @@ -29938,29 +29493,6 @@ declare module Ext { * @param config Object A Ext.ProgressBar.wait config object */ static wait( msg?:string, title?:string, config?:any ): Ext.window.IMessageBox; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -30014,7 +29546,7 @@ declare module Ext { /** [Method] Checks if an item type is registered * @param type String The mnemonic string by which the class may be looked up */ - static isRegistered( type?:string ): bool; + static isRegistered( type?:string ): boolean; /** [Method] Registers a function that will be called when an item with the specified id is added to the manager * @param id String The item id * @param fn Function The callback function. Called with a single parameter, the item. @@ -30031,27 +29563,6 @@ declare module Ext { * @param item Object The item to unregister */ static unregister( item?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -30105,7 +29616,7 @@ declare module Ext { /** [Method] Checks if an item type is registered * @param type String The mnemonic string by which the class may be looked up */ - static isRegistered( type?:string ): bool; + static isRegistered( type?:string ): boolean; /** [Method] Registers a function that will be called when an item with the specified id is added to the manager * @param id String The item id * @param fn Function The callback function. Called with a single parameter, the item. @@ -30122,27 +29633,6 @@ declare module Ext { * @param item Object The item to unregister */ static unregister( item?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -30208,12 +29698,12 @@ declare module Ext { * @param object1 Object * @param object2 Object */ - static equals( object1?:any, object2?:any ): bool; + static equals( object1?:any, object2?:any ): boolean; /** [Method] Converts a query string back into an object * @param queryString String The query string to decode * @param recursive Boolean Whether or not to recursively decode the string. This format is supported by PHP / Ruby on Rails servers and similar. */ - static fromQueryString( queryString?:string, recursive?:bool ): any; + static fromQueryString( queryString?:string, recursive?:boolean ): any; /** [Method] Returns the first matching key corresponding to the given value * @param object Object * @param value Object The value to find @@ -30234,7 +29724,7 @@ declare module Ext { /** [Method] Checks if there are any properties on this object * @param object Object */ - static isEmpty( object?:any ): bool; + static isEmpty( object?:any ): boolean; /** [Method] Merges any number of objects recursively without referencing them or their children * @param destination Object The object into which all subsequent objects are merged. * @param object Object... Any number of objects to merge into the destination. @@ -30245,12 +29735,12 @@ declare module Ext { * @param value Object/Array * @param recursive Boolean True to traverse object recursively */ - static toQueryObjects( name?:string, value?:any, recursive?:bool ): any[]; + static toQueryObjects( name?:string, value?:any, recursive?:boolean ): any[]; /** [Method] Takes an object and converts it to an encoded query string * @param object Object The object to encode * @param recursive Boolean Whether or not to interpret the object in recursive format. (PHP / Ruby on Rails servers and similar). */ - static toQueryString( object?:any, recursive?:bool ): string; + static toQueryString( object?:any, recursive?:boolean ): string; } } declare module Ext.panel { @@ -30258,7 +29748,7 @@ declare module Ext.panel { /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - bodyBorder?: bool; + bodyBorder?: boolean; /** [Config Option] (String/String[]) */ bodyCls?: any; /** [Config Option] (Number/String) */ @@ -30280,7 +29770,7 @@ declare module Ext.panel { /** [Property] (String) */ contentPaddingProperty?: string; /** [Property] (Boolean) */ - isPanel?: bool; + isPanel?: boolean; /** [Method] Adds a CSS class to the body element * @param cls String The class to add */ @@ -30310,7 +29800,7 @@ declare module Ext.panel { * @param selector String A ComponentQuery selector string to filter the returned items. * @param beforeBody Boolean An optional flag to limit the set of items to only those before the body (true) or after the body (false). All components are returned by default. */ - getDockedItems?( selector?:string, beforeBody?:bool ): Ext.IComponent[]; + getDockedItems?( selector?:string, beforeBody?:boolean ): Ext.IComponent[]; /** [Method] Used by ComponentQuery child and down to retrieve all of the items which can potentially be considered a child of th * @param deep Object */ @@ -30336,7 +29826,7 @@ declare module Ext.panel { * @param item Ext.Component The Component to remove. * @param autoDestroy Boolean Destroy the component after removal. */ - removeDocked?( item?:Ext.IComponent, autoDestroy?:bool ): void; + removeDocked?( item?:Ext.IComponent, autoDestroy?:boolean ): void; /** [Method] inherit docs * @param cls Object */ @@ -30390,7 +29880,7 @@ declare module Ext.panel { /** [Config Option] (Number) */ titlePosition?: number; /** [Property] (Boolean) */ - isHeader?: bool; + isHeader?: boolean; /** [Method] Add a tool to the header * @param tool Object */ @@ -30437,7 +29927,7 @@ declare module Ext.panel { declare module Ext.panel { export interface IPanel extends Ext.panel.IAbstractPanel { /** [Config Option] (Boolean) */ - animCollapse?: bool; + animCollapse?: boolean; /** [Config Option] (Object/Object[]) */ bbar?: any; /** [Config Option] (String) */ @@ -30445,35 +29935,35 @@ declare module Ext.panel { /** [Config Option] (Object/Object[]) */ buttons?: any; /** [Config Option] (Boolean) */ - closable?: bool; + closable?: boolean; /** [Config Option] (String) */ closeAction?: string; /** [Config Option] (String) */ collapseDirection?: string; /** [Config Option] (Boolean) */ - collapseFirst?: bool; + collapseFirst?: boolean; /** [Config Option] (String) */ collapseMode?: string; /** [Config Option] (Boolean) */ - collapsed?: bool; + collapsed?: boolean; /** [Config Option] (String) */ collapsedCls?: string; /** [Config Option] (Boolean) */ - collapsible?: bool; + collapsible?: boolean; /** [Config Option] (Boolean) */ - constrain?: bool; + constrain?: boolean; /** [Config Option] (Boolean) */ - constrainHeader?: bool; + constrainHeader?: boolean; /** [Config Option] (Object/Object[]) */ dockedItems?: any; /** [Config Option] (Object/Object[]) */ fbar?: any; /** [Config Option] (Boolean) */ - floatable?: bool; + floatable?: boolean; /** [Config Option] (Boolean) */ - frame?: bool; + frame?: boolean; /** [Config Option] (Boolean) */ - frameHeader?: bool; + frameHeader?: boolean; /** [Config Option] (Number/String) */ glyph?: any; /** [Config Option] (Boolean/Object) */ @@ -30483,7 +29973,7 @@ declare module Ext.panel { /** [Config Option] (String) */ headerPosition?: string; /** [Config Option] (Boolean) */ - hideCollapseTool?: bool; + hideCollapseTool?: boolean; /** [Config Option] (String) */ icon?: string; /** [Config Option] (String) */ @@ -30491,21 +29981,21 @@ declare module Ext.panel { /** [Config Option] (Object/Object[]) */ lbar?: any; /** [Config Option] (Boolean) */ - manageHeight?: bool; + manageHeight?: boolean; /** [Config Option] (Number) */ minButtonWidth?: number; /** [Config Option] (Boolean) */ - overlapHeader?: bool; + overlapHeader?: boolean; /** [Config Option] (Ext.Component/Object) */ placeholder?: any; /** [Config Option] (Number) */ placeholderCollapseHideMode?: number; /** [Config Option] (Boolean) */ - preventHeader?: bool; + preventHeader?: boolean; /** [Config Option] (Object/Object[]) */ rbar?: any; /** [Config Option] (Boolean) */ - simpleDrag?: bool; + simpleDrag?: boolean; /** [Config Option] (Object/Object[]) */ tbar?: any; /** [Config Option] (String) */ @@ -30513,7 +30003,7 @@ declare module Ext.panel { /** [Config Option] (String) */ titleAlign?: string; /** [Config Option] (Boolean) */ - titleCollapse?: bool; + titleCollapse?: boolean; /** [Config Option] (Object[]/Ext.panel.Tool[]) */ tools?: any; /** [Property] (Ext.dd.DragSource/Ext.util.ComponentDragger) */ @@ -30525,18 +30015,18 @@ declare module Ext.panel { /** [Method] Invoked after the Panel is Collapsed * @param animated Boolean */ - afterCollapse?( animated?:bool ): void; + afterCollapse?( animated?:boolean ): void; /** [Method] Invoked after the Panel is Expanded * @param animated Boolean */ - afterExpand?( animated?:bool ): void; + afterExpand?( animated?:boolean ): void; /** [Method] Closes the Panel */ close?(): void; /** [Method] Collapses the panel body so that the body becomes hidden * @param direction String The direction to collapse towards. Must be one of Ext.Component.DIRECTION_TOP Ext.Component.DIRECTION_RIGHT Ext.Component.DIRECTION_BOTTOM Ext.Component.DIRECTION_LEFT Defaults to collapseDirection. * @param animate Boolean True to animate the transition, else false (defaults to the value of the animCollapse panel config). May also be specified as the animation duration in milliseconds. */ - collapse?( direction?:string, animate?:bool ): Ext.panel.IPanel; + collapse?( direction?:string, animate?:boolean ): Ext.panel.IPanel; /** [Method] converts a collapsdDir into an anchor argument for Element slideIn overridden in rtl mode to switch l and r * @param collapseDir Object */ @@ -30544,9 +30034,9 @@ declare module Ext.panel { /** [Method] Expands the panel body so that it becomes visible * @param animate Boolean True to animate the transition, else false (defaults to the value of the animCollapse panel config). May also be specified as the animation duration in milliseconds. */ - expand?( animate?:bool ): Ext.panel.IPanel; + expand?( animate?:boolean ): Ext.panel.IPanel; /** [Method] Returns the current collapsed state of the panel */ - getCollapsed?(): bool; + getCollapsed?(): boolean; /** [Method] Returns the current collapsed state of the panel */ getCollapsed?(): string; /** [Method] Gets the Header for this panel */ @@ -30558,7 +30048,7 @@ declare module Ext.panel { /** [Method] Returns true if this component is visible * @param deep Object */ - isVisible?( deep?:any ): bool; + isVisible?( deep?:any ): boolean; /** [Method] Possibly animates down to a target element */ onHide?(): void; /** [Method] Method to manage awareness of when components are removed from their respective Container firing a removed event @@ -30601,7 +30091,7 @@ declare module Ext.panel { declare module Ext { export interface IPanel extends Ext.panel.IAbstractPanel { /** [Config Option] (Boolean) */ - animCollapse?: bool; + animCollapse?: boolean; /** [Config Option] (Object/Object[]) */ bbar?: any; /** [Config Option] (String) */ @@ -30609,35 +30099,35 @@ declare module Ext { /** [Config Option] (Object/Object[]) */ buttons?: any; /** [Config Option] (Boolean) */ - closable?: bool; + closable?: boolean; /** [Config Option] (String) */ closeAction?: string; /** [Config Option] (String) */ collapseDirection?: string; /** [Config Option] (Boolean) */ - collapseFirst?: bool; + collapseFirst?: boolean; /** [Config Option] (String) */ collapseMode?: string; /** [Config Option] (Boolean) */ - collapsed?: bool; + collapsed?: boolean; /** [Config Option] (String) */ collapsedCls?: string; /** [Config Option] (Boolean) */ - collapsible?: bool; + collapsible?: boolean; /** [Config Option] (Boolean) */ - constrain?: bool; + constrain?: boolean; /** [Config Option] (Boolean) */ - constrainHeader?: bool; + constrainHeader?: boolean; /** [Config Option] (Object/Object[]) */ dockedItems?: any; /** [Config Option] (Object/Object[]) */ fbar?: any; /** [Config Option] (Boolean) */ - floatable?: bool; + floatable?: boolean; /** [Config Option] (Boolean) */ - frame?: bool; + frame?: boolean; /** [Config Option] (Boolean) */ - frameHeader?: bool; + frameHeader?: boolean; /** [Config Option] (Number/String) */ glyph?: any; /** [Config Option] (Boolean/Object) */ @@ -30647,7 +30137,7 @@ declare module Ext { /** [Config Option] (String) */ headerPosition?: string; /** [Config Option] (Boolean) */ - hideCollapseTool?: bool; + hideCollapseTool?: boolean; /** [Config Option] (String) */ icon?: string; /** [Config Option] (String) */ @@ -30655,21 +30145,21 @@ declare module Ext { /** [Config Option] (Object/Object[]) */ lbar?: any; /** [Config Option] (Boolean) */ - manageHeight?: bool; + manageHeight?: boolean; /** [Config Option] (Number) */ minButtonWidth?: number; /** [Config Option] (Boolean) */ - overlapHeader?: bool; + overlapHeader?: boolean; /** [Config Option] (Ext.Component/Object) */ placeholder?: any; /** [Config Option] (Number) */ placeholderCollapseHideMode?: number; /** [Config Option] (Boolean) */ - preventHeader?: bool; + preventHeader?: boolean; /** [Config Option] (Object/Object[]) */ rbar?: any; /** [Config Option] (Boolean) */ - simpleDrag?: bool; + simpleDrag?: boolean; /** [Config Option] (Object/Object[]) */ tbar?: any; /** [Config Option] (String) */ @@ -30677,7 +30167,7 @@ declare module Ext { /** [Config Option] (String) */ titleAlign?: string; /** [Config Option] (Boolean) */ - titleCollapse?: bool; + titleCollapse?: boolean; /** [Config Option] (Object[]/Ext.panel.Tool[]) */ tools?: any; /** [Property] (Ext.dd.DragSource/Ext.util.ComponentDragger) */ @@ -30689,18 +30179,18 @@ declare module Ext { /** [Method] Invoked after the Panel is Collapsed * @param animated Boolean */ - afterCollapse?( animated?:bool ): void; + afterCollapse?( animated?:boolean ): void; /** [Method] Invoked after the Panel is Expanded * @param animated Boolean */ - afterExpand?( animated?:bool ): void; + afterExpand?( animated?:boolean ): void; /** [Method] Closes the Panel */ close?(): void; /** [Method] Collapses the panel body so that the body becomes hidden * @param direction String The direction to collapse towards. Must be one of Ext.Component.DIRECTION_TOP Ext.Component.DIRECTION_RIGHT Ext.Component.DIRECTION_BOTTOM Ext.Component.DIRECTION_LEFT Defaults to collapseDirection. * @param animate Boolean True to animate the transition, else false (defaults to the value of the animCollapse panel config). May also be specified as the animation duration in milliseconds. */ - collapse?( direction?:string, animate?:bool ): Ext.panel.IPanel; + collapse?( direction?:string, animate?:boolean ): Ext.panel.IPanel; /** [Method] converts a collapsdDir into an anchor argument for Element slideIn overridden in rtl mode to switch l and r * @param collapseDir Object */ @@ -30708,9 +30198,9 @@ declare module Ext { /** [Method] Expands the panel body so that it becomes visible * @param animate Boolean True to animate the transition, else false (defaults to the value of the animCollapse panel config). May also be specified as the animation duration in milliseconds. */ - expand?( animate?:bool ): Ext.panel.IPanel; + expand?( animate?:boolean ): Ext.panel.IPanel; /** [Method] Returns the current collapsed state of the panel */ - getCollapsed?(): bool; + getCollapsed?(): boolean; /** [Method] Returns the current collapsed state of the panel */ getCollapsed?(): string; /** [Method] Gets the Header for this panel */ @@ -30722,7 +30212,7 @@ declare module Ext { /** [Method] Returns true if this component is visible * @param deep Object */ - isVisible?( deep?:any ): bool; + isVisible?( deep?:any ): boolean; /** [Method] Possibly animates down to a target element */ onHide?(): void; /** [Method] Method to manage awareness of when components are removed from their respective Container firing a removed event @@ -30765,9 +30255,9 @@ declare module Ext { declare module Ext.panel { export interface IProxy extends Ext.IBase { /** [Config Option] (Boolean) */ - insertProxy?: bool; + insertProxy?: boolean; /** [Config Option] (Boolean) */ - moveOnDrag?: bool; + moveOnDrag?: boolean; /** [Property] (Ext.panel.Panel) */ panel?: Ext.panel.IPanel; /** [Method] Gets the proxy s element */ @@ -30790,9 +30280,9 @@ declare module Ext.panel { declare module Ext.dd { export interface IPanelProxy extends Ext.IBase { /** [Config Option] (Boolean) */ - insertProxy?: bool; + insertProxy?: boolean; /** [Config Option] (Boolean) */ - moveOnDrag?: bool; + moveOnDrag?: boolean; /** [Property] (Ext.panel.Panel) */ panel?: Ext.panel.IPanel; /** [Method] Gets the proxy s element */ @@ -30815,49 +30305,49 @@ declare module Ext.dd { declare module Ext.panel { export interface ITable extends Ext.panel.IPanel,Ext.grid.locking.ILockable { /** [Config Option] (Boolean) */ - allowDeselect?: bool; + allowDeselect?: boolean; /** [Config Option] (Boolean) */ - columnLines?: bool; + columnLines?: boolean; /** [Config Option] (Ext.grid.column.Column[]/Object) */ columns?: any; /** [Config Option] (Boolean) */ - deferRowRender?: bool; + deferRowRender?: boolean; /** [Config Option] (Boolean) */ - disableSelection?: bool; + disableSelection?: boolean; /** [Config Option] (String) */ emptyText?: string; /** [Config Option] (Boolean) */ - enableColumnHide?: bool; + enableColumnHide?: boolean; /** [Config Option] (Boolean) */ - enableColumnMove?: bool; + enableColumnMove?: boolean; /** [Config Option] (Boolean) */ - enableColumnResize?: bool; + enableColumnResize?: boolean; /** [Config Option] (Boolean) */ - enableLocking?: bool; + enableLocking?: boolean; /** [Config Option] (Ext.grid.feature.Feature[]/Object[]/Ext.enums.Feature[]) */ features?: any; /** [Config Option] (Boolean) */ - forceFit?: bool; + forceFit?: boolean; /** [Config Option] (Boolean) */ - hideHeaders?: bool; + hideHeaders?: boolean; /** [Config Option] (Ext.enums.Layout/Object) */ layout?: any; /** [Config Option] (Boolean) */ - multiSelect?: bool; + multiSelect?: boolean; /** [Config Option] (Boolean) */ - rowLines?: bool; + rowLines?: boolean; /** [Config Option] (String/Boolean) */ scroll?: any; /** [Config Option] (Boolean) */ - sealedColumns?: bool; + sealedColumns?: boolean; /** [Config Option] (Ext.selection.Model/Object) */ selModel?: any; /** [Config Option] (String) */ selType?: string; /** [Config Option] (Boolean) */ - simpleSelect?: bool; + simpleSelect?: boolean; /** [Config Option] (Boolean) */ - sortableColumns?: bool; + sortableColumns?: boolean; /** [Config Option] (Ext.data.Store) */ store?: Ext.data.IStore; /** [Config Option] (Object) */ @@ -30869,9 +30359,9 @@ declare module Ext.panel { /** [Config Option] (String) */ viewType?: string; /** [Property] (Boolean) */ - hasView?: bool; + hasView?: boolean; /** [Property] (Boolean) */ - optimizedColumnMove?: bool; + optimizedColumnMove?: boolean; /** [Method] Invoked after the Panel is Collapsed */ afterCollapse?(): void; /** [Method] Invoked after the Panel is Expanded */ @@ -30915,7 +30405,7 @@ declare module Ext.panel { /** [Config Option] (Object) */ scope?: any; /** [Config Option] (Boolean) */ - stopEvent?: bool; + stopEvent?: boolean; /** [Config Option] (Ext.Component) */ toolOwner?: Ext.IComponent; /** [Config Option] (String/Object) */ @@ -30927,7 +30417,7 @@ declare module Ext.panel { /** [Config Option] (Number) */ width?: number; /** [Property] (Boolean) */ - isTool?: bool; + isTool?: boolean; /** [Method] inherit docs */ afterRender?(): void; /** [Method] */ @@ -30973,29 +30463,6 @@ declare module Ext.perf { static initConfig( config?:any ): Ext.IBase; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -31027,35 +30494,12 @@ declare module Ext { static initConfig( config?:any ): Ext.IBase; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.picker { export interface IColor extends Ext.IComponent { /** [Config Option] (Boolean) */ - allowReselect?: bool; + allowReselect?: boolean; /** [Config Option] (String) */ clickEvent?: string; /** [Config Option] (String) */ @@ -31084,13 +30528,13 @@ declare module Ext.picker { * @param color String A valid 6-digit color hex code (# will be stripped if included) * @param suppressEvent Boolean True to stop the select event from firing. */ - select?( color?:string, suppressEvent?:bool ): void; + select?( color?:string, suppressEvent?:boolean ): void; } } declare module Ext { export interface IColorPalette extends Ext.IComponent { /** [Config Option] (Boolean) */ - allowReselect?: bool; + allowReselect?: boolean; /** [Config Option] (String) */ clickEvent?: string; /** [Config Option] (String) */ @@ -31119,7 +30563,7 @@ declare module Ext { * @param color String A valid 6-digit color hex code (# will be stripped if included) * @param suppressEvent Boolean True to stop the select event from firing. */ - select?( color?:string, suppressEvent?:bool ): void; + select?( color?:string, suppressEvent?:boolean ): void; } } declare module Ext.picker { @@ -31135,7 +30579,7 @@ declare module Ext.picker { /** [Config Option] (String[]) */ dayNames?: string[]; /** [Config Option] (Boolean) */ - disableAnim?: bool; + disableAnim?: boolean; /** [Config Option] (String) */ disabledCellCls?: string; /** [Config Option] (String[]) */ @@ -31149,7 +30593,7 @@ declare module Ext.picker { /** [Config Option] (String) */ disabledDaysText?: string; /** [Config Option] (Boolean) */ - focusOnShow?: bool; + focusOnShow?: boolean; /** [Config Option] (String) */ format?: string; /** [Config Option] (Function) */ @@ -31183,7 +30627,7 @@ declare module Ext.picker { /** [Config Option] (String) */ selectedCls?: string; /** [Config Option] (Boolean) */ - showToday?: bool; + showToday?: boolean; /** [Config Option] (Number) */ startDay?: number; /** [Config Option] (String) */ @@ -31199,7 +30643,7 @@ declare module Ext.picker { /** [Method] Hides the month picker if it s visible * @param animate Boolean Indicates whether to animate this action. If the animate parameter is not specified, the behavior will use disableAnim to determine whether to animate or not. */ - hideMonthPicker?( animate?:bool ): Ext.picker.IDate; + hideMonthPicker?( animate?:boolean ): Ext.picker.IDate; /** [Method] private inherit docs */ initComponent?(): void; /** [Method] Sets the current value to today */ @@ -31229,7 +30673,7 @@ declare module Ext.picker { /** [Method] Show the month picker * @param animate Boolean Indicates whether to animate this action. If the animate parameter is not specified, the behavior will use disableAnim to determine whether to animate or not. */ - showMonthPicker?( animate?:bool ): Ext.picker.IDate; + showMonthPicker?( animate?:boolean ): Ext.picker.IDate; /** [Method] Show the next month * @param e Object */ @@ -31257,7 +30701,7 @@ declare module Ext { /** [Config Option] (String[]) */ dayNames?: string[]; /** [Config Option] (Boolean) */ - disableAnim?: bool; + disableAnim?: boolean; /** [Config Option] (String) */ disabledCellCls?: string; /** [Config Option] (String[]) */ @@ -31271,7 +30715,7 @@ declare module Ext { /** [Config Option] (String) */ disabledDaysText?: string; /** [Config Option] (Boolean) */ - focusOnShow?: bool; + focusOnShow?: boolean; /** [Config Option] (String) */ format?: string; /** [Config Option] (Function) */ @@ -31305,7 +30749,7 @@ declare module Ext { /** [Config Option] (String) */ selectedCls?: string; /** [Config Option] (Boolean) */ - showToday?: bool; + showToday?: boolean; /** [Config Option] (Number) */ startDay?: number; /** [Config Option] (String) */ @@ -31321,7 +30765,7 @@ declare module Ext { /** [Method] Hides the month picker if it s visible * @param animate Boolean Indicates whether to animate this action. If the animate parameter is not specified, the behavior will use disableAnim to determine whether to animate or not. */ - hideMonthPicker?( animate?:bool ): Ext.picker.IDate; + hideMonthPicker?( animate?:boolean ): Ext.picker.IDate; /** [Method] private inherit docs */ initComponent?(): void; /** [Method] Sets the current value to today */ @@ -31351,7 +30795,7 @@ declare module Ext { /** [Method] Show the month picker * @param animate Boolean Indicates whether to animate this action. If the animate parameter is not specified, the behavior will use disableAnim to determine whether to animate or not. */ - showMonthPicker?( animate?:bool ): Ext.picker.IDate; + showMonthPicker?( animate?:boolean ): Ext.picker.IDate; /** [Method] Show the next month * @param e Object */ @@ -31379,7 +30823,7 @@ declare module Ext.picker { /** [Config Option] (String) */ selectedCls?: string; /** [Config Option] (Boolean) */ - showButtons?: bool; + showButtons?: boolean; /** [Config Option] (Date/Number[]) */ value?: any; /** [Method] Modify the year display by passing an offset @@ -31389,7 +30833,7 @@ declare module Ext.picker { /** [Method] Gets the selected value */ getValue?(): number[]; /** [Method] Checks whether the picker has a selection */ - hasSelection?(): bool; + hasSelection?(): boolean; /** [Method] Allows addition of behavior to the destroy operation */ onDestroy?(): void; /** [Method] Set the value for the picker @@ -31412,7 +30856,7 @@ declare module Ext { /** [Config Option] (String) */ selectedCls?: string; /** [Config Option] (Boolean) */ - showButtons?: bool; + showButtons?: boolean; /** [Config Option] (Date/Number[]) */ value?: any; /** [Method] Modify the year display by passing an offset @@ -31422,7 +30866,7 @@ declare module Ext { /** [Method] Gets the selected value */ getValue?(): number[]; /** [Method] Checks whether the picker has a selection */ - hasSelection?(): bool; + hasSelection?(): boolean; /** [Method] Allows addition of behavior to the destroy operation */ onDestroy?(): void; /** [Method] Set the value for the picker @@ -31495,7 +30939,7 @@ declare module Ext { * @param type String The type to search for * @param defaultsOnly Boolean True to only return plugins of this type where the plugin's isDefault property is truthy */ - static findByType( type?:string, defaultsOnly?:bool ): Ext.IAbstractPlugin[]; + static findByType( type?:string, defaultsOnly?:boolean ): Ext.IAbstractPlugin[]; /** [Method] Returns an item by id * @param id String The id of the item */ @@ -31513,7 +30957,7 @@ declare module Ext { /** [Method] Checks if an item type is registered * @param type String The mnemonic string by which the class may be looked up */ - static isRegistered( type?:string ): bool; + static isRegistered( type?:string ): boolean; /** [Method] Registers a function that will be called when an item with the specified id is added to the manager * @param id String The item id * @param fn Function The callback function. Called with a single parameter, the item. @@ -31535,27 +30979,6 @@ declare module Ext { * @param item Object The item to unregister */ static unregister( item?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -31591,7 +31014,7 @@ declare module Ext { * @param type String The type to search for * @param defaultsOnly Boolean True to only return plugins of this type where the plugin's isDefault property is truthy */ - static findByType( type?:string, defaultsOnly?:bool ): Ext.IAbstractPlugin[]; + static findByType( type?:string, defaultsOnly?:boolean ): Ext.IAbstractPlugin[]; /** [Method] Returns an item by id * @param id String The id of the item */ @@ -31609,7 +31032,7 @@ declare module Ext { /** [Method] Checks if an item type is registered * @param type String The mnemonic string by which the class may be looked up */ - static isRegistered( type?:string ): bool; + static isRegistered( type?:string ): boolean; /** [Method] Registers a function that will be called when an item with the specified id is added to the manager * @param id String The item id * @param fn Function The callback function. Called with a single parameter, the item. @@ -31631,27 +31054,6 @@ declare module Ext { * @param item Object The item to unregister */ static unregister( item?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -31677,7 +31079,7 @@ declare module Ext { /** [Method] Initialized the renderData to be used when rendering the renderTpl */ initRenderData?(): any; /** [Method] Returns true if the progress bar is currently in a wait operation */ - isWaiting?(): bool; + isWaiting?(): boolean; /** [Method] Allows addition of behavior to the destroy operation */ onDestroy?(): void; /** [Method] Template method called when this Component s DOM structure is created */ @@ -31685,13 +31087,13 @@ declare module Ext { /** [Method] Resets the progress bar value to 0 and text to empty string * @param hide Boolean True to hide the progress bar. */ - reset?( hide?:bool ): Ext.IProgressBar; + reset?( hide?:boolean ): Ext.IProgressBar; /** [Method] Updates the progress bar value and optionally its text * @param value Number A floating point value between 0 and 1 (e.g., .5) * @param text String The string to display in the progress text element * @param animate Boolean Whether to animate the transition of the progress bar. If this value is not specified, the default for the class is used */ - updateProgress?( value?:number, text?:string, animate?:bool ): Ext.IProgressBar; + updateProgress?( value?:number, text?:string, animate?:boolean ): Ext.IProgressBar; /** [Method] Updates the progress bar text * @param text String The string to display in the progress text element */ @@ -31758,7 +31160,7 @@ declare module Ext.resizer { /** [Config Option] (Ext.Element/Ext.util.Region) */ constrainTo?: any; /** [Config Option] (Boolean) */ - dynamic?: bool; + dynamic?: boolean; /** [Config Option] (String) */ handles?: string; /** [Config Option] (Number) */ @@ -31774,13 +31176,13 @@ declare module Ext.resizer { /** [Config Option] (Number) */ minWidth?: number; /** [Config Option] (Boolean) */ - pinned?: bool; + pinned?: boolean; /** [Config Option] (Boolean) */ - preserveRatio?: bool; + preserveRatio?: boolean; /** [Config Option] (Ext.Element/Ext.Component) */ target?: any; /** [Config Option] (Boolean) */ - transparent?: bool; + transparent?: boolean; /** [Config Option] (Number) */ width?: number; /** [Config Option] (Number) */ @@ -31826,12 +31228,12 @@ declare module Ext.resizer { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the element that was configured with the el or target config property */ getEl?(): Ext.IElement; /** [Method] Returns the element or component that was configured with the target config property */ @@ -31841,7 +31243,7 @@ declare module Ext.resizer { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -31907,7 +31309,7 @@ declare module Ext.resizer { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -31921,7 +31323,7 @@ declare module Ext { /** [Config Option] (Ext.Element/Ext.util.Region) */ constrainTo?: any; /** [Config Option] (Boolean) */ - dynamic?: bool; + dynamic?: boolean; /** [Config Option] (String) */ handles?: string; /** [Config Option] (Number) */ @@ -31937,13 +31339,13 @@ declare module Ext { /** [Config Option] (Number) */ minWidth?: number; /** [Config Option] (Boolean) */ - pinned?: bool; + pinned?: boolean; /** [Config Option] (Boolean) */ - preserveRatio?: bool; + preserveRatio?: boolean; /** [Config Option] (Ext.Element/Ext.Component) */ target?: any; /** [Config Option] (Boolean) */ - transparent?: bool; + transparent?: boolean; /** [Config Option] (Number) */ width?: number; /** [Config Option] (Number) */ @@ -31989,12 +31391,12 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the element that was configured with the el or target config property */ getEl?(): Ext.IElement; /** [Method] Returns the element or component that was configured with the target config property */ @@ -32004,7 +31406,7 @@ declare module Ext { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -32070,7 +31472,7 @@ declare module Ext { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -32112,19 +31514,19 @@ declare module Ext.resizer { /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - collapseOnDblClick?: bool; + collapseOnDblClick?: boolean; /** [Config Option] (String/Ext.panel.Panel) */ collapseTarget?: any; /** [Config Option] (String) */ collapsedCls?: string; /** [Config Option] (Boolean) */ - collapsible?: bool; + collapsible?: boolean; /** [Config Option] (Number) */ defaultSplitMax?: number; /** [Config Option] (Number) */ defaultSplitMin?: number; /** [Config Option] (Boolean) */ - performCollapse?: bool; + performCollapse?: boolean; /** [Config Option] (Ext.XTemplate/String/String[]) */ renderTpl?: any; /** [Config Option] (Number) */ @@ -32164,11 +31566,11 @@ declare module Ext.resizer { declare module Ext.selection { export interface ICellModel extends Ext.selection.IModel { /** [Config Option] (Boolean) */ - enableKeyNav?: bool; + enableKeyNav?: boolean; /** [Config Option] ("SINGLE") */ mode?: string; /** [Config Option] (Boolean) */ - preventWrap?: bool; + preventWrap?: boolean; /** [Method] Deselects a record instance by record instance or index * @param record Object * @param suppressEvent Object @@ -32186,13 +31588,13 @@ declare module Ext.selection { * @param position Object The position to set. * @param suppressEvent Boolean True to suppress selection events */ - setCurrentPosition?( position?:any, suppressEvent?:bool ): void; + setCurrentPosition?( position?:any, suppressEvent?:boolean ): void; } } declare module Ext.selection { export interface ICheckboxModel extends Ext.selection.IRowModel { /** [Config Option] (Boolean) */ - checkOnly?: bool; + checkOnly?: boolean; /** [Config Option] (String) */ checkSelector?: string; /** [Config Option] (Number/String) */ @@ -32200,7 +31602,7 @@ declare module Ext.selection { /** [Config Option] ("SINGLE"/"SIMPLE"/"MULTI") */ mode?: any; /** [Config Option] (Boolean) */ - showHeaderCheckbox?: bool; + showHeaderCheckbox?: boolean; /** [Method] Retrieve a configuration to be used in a HeaderContainer */ getHeaderConfig?(): void; /** [Method] Toggle between selecting all and deselecting all when clicking on a checkbox header @@ -32224,19 +31626,19 @@ declare module Ext.selection { declare module Ext.selection { export interface IDataViewModel extends Ext.selection.IModel { /** [Config Option] (Boolean) */ - enableKeyNav?: bool; + enableKeyNav?: boolean; } } declare module Ext.selection { export interface IModel extends Ext.util.IObservable,Ext.util.IBindable { /** [Config Option] (Boolean) */ - allowDeselect?: bool; + allowDeselect?: boolean; /** [Config Option] ("SINGLE"/"SIMPLE"/"MULTI") */ mode?: any; /** [Config Option] (Boolean) */ - pruneRemoved?: bool; + pruneRemoved?: boolean; /** [Config Option] (Boolean) */ - toggleOnClick?: bool; + toggleOnClick?: boolean; /** [Property] (Ext.util.MixedCollection) */ selected?: Ext.util.IMixedCollection; /** [Method] binds the store to the selModel @@ -32253,12 +31655,12 @@ declare module Ext.selection { * @param suppressEvent Boolean True to not fire a deselect event */ deselect?( records?:any, suppressEvent?:any ): any; - deselect?( records?:Ext.data.IModel[], suppressEvent?:bool ): void; - deselect?( records?:number, suppressEvent?:bool ): void; + deselect?( records?:Ext.data.IModel[], suppressEvent?:boolean ): void; + deselect?( records?:number, suppressEvent?:boolean ): void; /** [Method] Deselects all records in the view * @param suppressEvent Boolean True to suppress any deselect events */ - deselectAll?( suppressEvent?:bool ): void; + deselectAll?( suppressEvent?:boolean ): void; /** [Method] Deselects a range of rows if the selection model is not locked * @param startRow Ext.data.Model/Number The record or index of the first row in the range * @param endRow Ext.data.Model/Number The record or index of the last row in the range @@ -32281,60 +31683,60 @@ declare module Ext.selection { /** [Method] Gets the listeners to bind to a new store */ getStoreListeners?(): any; /** [Method] Returns true if there are any a selected records */ - hasSelection?(): bool; + hasSelection?(): boolean; /** [Method] Determines if this record is currently focused * @param record Ext.data.Model */ isFocused?( record?:Ext.data.IModel ): void; /** [Method] Returns true if the selections are locked */ - isLocked?(): bool; + isLocked?(): boolean; /** [Method] Returns true if the specified row is selected * @param from Ext.data.Model/Number The start of the range to check. * @param to Ext.data.Model/Number The end of the range to check. */ isRangeSelected?( from?:any, to?:any ): any; - isRangeSelected?( from?:Ext.data.IModel, to?:Ext.data.IModel ): bool; - isRangeSelected?( from?:number, to?:Ext.data.IModel ): bool; - isRangeSelected?( from?:Ext.data.IModel, to?:number ): bool; - isRangeSelected?( from?:number, to?:number ): bool; + isRangeSelected?( from?:Ext.data.IModel, to?:Ext.data.IModel ): boolean; + isRangeSelected?( from?:number, to?:Ext.data.IModel ): boolean; + isRangeSelected?( from?:Ext.data.IModel, to?:number ): boolean; + isRangeSelected?( from?:number, to?:number ): boolean; /** [Method] Returns true if the specified row is selected * @param record Ext.data.Model/Number The record or index of the record to check */ isSelected?( record?:any ): any; - isSelected?( record?:Ext.data.IModel ): bool; - isSelected?( record?:number ): bool; + isSelected?( record?:Ext.data.IModel ): boolean; + isSelected?( record?:number ): boolean; /** [Method] Template method it is called when a new store is bound to the current instance * @param store Ext.data.AbstractStore The store being bound * @param initial Boolean True if this store is being bound as initialization of the instance. */ - onBindStore?( store?:Ext.data.IAbstractStore, initial?:bool ): void; + onBindStore?( store?:Ext.data.IAbstractStore, initial?:boolean ): void; /** [Method] Template method it is called when an existing store is unbound from the current instance * @param store Ext.data.AbstractStore The store being unbound * @param initial Boolean True if this store is being bound as initialization of the instance. */ - onUnbindStore?( store?:Ext.data.IAbstractStore, initial?:bool ): void; + onUnbindStore?( store?:Ext.data.IAbstractStore, initial?:boolean ): void; /** [Method] Selects a record instance by record instance or index * @param records Ext.data.Model[]/Number An array of records or an index * @param keepExisting Boolean True to retain existing selections * @param suppressEvent Boolean True to not fire a select event */ select?( records?:any, keepExisting?:any, suppressEvent?:any ): any; - select?( records?:Ext.data.IModel[], keepExisting?:bool, suppressEvent?:bool ): void; - select?( records?:number, keepExisting?:bool, suppressEvent?:bool ): void; + select?( records?:Ext.data.IModel[], keepExisting?:boolean, suppressEvent?:boolean ): void; + select?( records?:number, keepExisting?:boolean, suppressEvent?:boolean ): void; /** [Method] Selects all records in the view * @param suppressEvent Boolean True to suppress any select events */ - selectAll?( suppressEvent?:bool ): void; + selectAll?( suppressEvent?:boolean ): void; /** [Method] Selects a range of rows if the selection model is not locked * @param startRow Ext.data.Model/Number The record or index of the first row in the range * @param endRow Ext.data.Model/Number The record or index of the last row in the range * @param keepExisting Boolean True to retain existing selections */ selectRange?( startRow?:any, endRow?:any, keepExisting?:any ): any; - selectRange?( startRow?:Ext.data.IModel, endRow?:Ext.data.IModel, keepExisting?:bool ): void; - selectRange?( startRow?:number, endRow?:Ext.data.IModel, keepExisting?:bool ): void; - selectRange?( startRow?:Ext.data.IModel, endRow?:number, keepExisting?:bool ): void; - selectRange?( startRow?:number, endRow?:number, keepExisting?:bool ): void; + selectRange?( startRow?:Ext.data.IModel, endRow?:Ext.data.IModel, keepExisting?:boolean ): void; + selectRange?( startRow?:number, endRow?:Ext.data.IModel, keepExisting?:boolean ): void; + selectRange?( startRow?:Ext.data.IModel, endRow?:number, keepExisting?:boolean ): void; + selectRange?( startRow?:number, endRow?:number, keepExisting?:boolean ): void; /** [Method] Sets a record as the last focused record * @param record Ext.data.Model */ @@ -32342,7 +31744,7 @@ declare module Ext.selection { /** [Method] Locks the current selection and disables any changes from happening to the selection * @param locked Boolean True to lock, false to unlock. */ - setLocked?( locked?:bool ): void; + setLocked?( locked?:boolean ): void; /** [Method] Sets the current selectionMode * @param selMode String 'SINGLE', 'MULTI' or 'SIMPLE'. */ @@ -32356,13 +31758,13 @@ declare module Ext.selection { declare module Ext { export interface IAbstractSelectionModel extends Ext.util.IObservable,Ext.util.IBindable { /** [Config Option] (Boolean) */ - allowDeselect?: bool; + allowDeselect?: boolean; /** [Config Option] ("SINGLE"/"SIMPLE"/"MULTI") */ mode?: any; /** [Config Option] (Boolean) */ - pruneRemoved?: bool; + pruneRemoved?: boolean; /** [Config Option] (Boolean) */ - toggleOnClick?: bool; + toggleOnClick?: boolean; /** [Property] (Ext.util.MixedCollection) */ selected?: Ext.util.IMixedCollection; /** [Method] binds the store to the selModel @@ -32379,12 +31781,12 @@ declare module Ext { * @param suppressEvent Boolean True to not fire a deselect event */ deselect?( records?:any, suppressEvent?:any ): any; - deselect?( records?:Ext.data.IModel[], suppressEvent?:bool ): void; - deselect?( records?:number, suppressEvent?:bool ): void; + deselect?( records?:Ext.data.IModel[], suppressEvent?:boolean ): void; + deselect?( records?:number, suppressEvent?:boolean ): void; /** [Method] Deselects all records in the view * @param suppressEvent Boolean True to suppress any deselect events */ - deselectAll?( suppressEvent?:bool ): void; + deselectAll?( suppressEvent?:boolean ): void; /** [Method] Deselects a range of rows if the selection model is not locked * @param startRow Ext.data.Model/Number The record or index of the first row in the range * @param endRow Ext.data.Model/Number The record or index of the last row in the range @@ -32407,60 +31809,60 @@ declare module Ext { /** [Method] Gets the listeners to bind to a new store */ getStoreListeners?(): any; /** [Method] Returns true if there are any a selected records */ - hasSelection?(): bool; + hasSelection?(): boolean; /** [Method] Determines if this record is currently focused * @param record Ext.data.Model */ isFocused?( record?:Ext.data.IModel ): void; /** [Method] Returns true if the selections are locked */ - isLocked?(): bool; + isLocked?(): boolean; /** [Method] Returns true if the specified row is selected * @param from Ext.data.Model/Number The start of the range to check. * @param to Ext.data.Model/Number The end of the range to check. */ isRangeSelected?( from?:any, to?:any ): any; - isRangeSelected?( from?:Ext.data.IModel, to?:Ext.data.IModel ): bool; - isRangeSelected?( from?:number, to?:Ext.data.IModel ): bool; - isRangeSelected?( from?:Ext.data.IModel, to?:number ): bool; - isRangeSelected?( from?:number, to?:number ): bool; + isRangeSelected?( from?:Ext.data.IModel, to?:Ext.data.IModel ): boolean; + isRangeSelected?( from?:number, to?:Ext.data.IModel ): boolean; + isRangeSelected?( from?:Ext.data.IModel, to?:number ): boolean; + isRangeSelected?( from?:number, to?:number ): boolean; /** [Method] Returns true if the specified row is selected * @param record Ext.data.Model/Number The record or index of the record to check */ isSelected?( record?:any ): any; - isSelected?( record?:Ext.data.IModel ): bool; - isSelected?( record?:number ): bool; + isSelected?( record?:Ext.data.IModel ): boolean; + isSelected?( record?:number ): boolean; /** [Method] Template method it is called when a new store is bound to the current instance * @param store Ext.data.AbstractStore The store being bound * @param initial Boolean True if this store is being bound as initialization of the instance. */ - onBindStore?( store?:Ext.data.IAbstractStore, initial?:bool ): void; + onBindStore?( store?:Ext.data.IAbstractStore, initial?:boolean ): void; /** [Method] Template method it is called when an existing store is unbound from the current instance * @param store Ext.data.AbstractStore The store being unbound * @param initial Boolean True if this store is being bound as initialization of the instance. */ - onUnbindStore?( store?:Ext.data.IAbstractStore, initial?:bool ): void; + onUnbindStore?( store?:Ext.data.IAbstractStore, initial?:boolean ): void; /** [Method] Selects a record instance by record instance or index * @param records Ext.data.Model[]/Number An array of records or an index * @param keepExisting Boolean True to retain existing selections * @param suppressEvent Boolean True to not fire a select event */ select?( records?:any, keepExisting?:any, suppressEvent?:any ): any; - select?( records?:Ext.data.IModel[], keepExisting?:bool, suppressEvent?:bool ): void; - select?( records?:number, keepExisting?:bool, suppressEvent?:bool ): void; + select?( records?:Ext.data.IModel[], keepExisting?:boolean, suppressEvent?:boolean ): void; + select?( records?:number, keepExisting?:boolean, suppressEvent?:boolean ): void; /** [Method] Selects all records in the view * @param suppressEvent Boolean True to suppress any select events */ - selectAll?( suppressEvent?:bool ): void; + selectAll?( suppressEvent?:boolean ): void; /** [Method] Selects a range of rows if the selection model is not locked * @param startRow Ext.data.Model/Number The record or index of the first row in the range * @param endRow Ext.data.Model/Number The record or index of the last row in the range * @param keepExisting Boolean True to retain existing selections */ selectRange?( startRow?:any, endRow?:any, keepExisting?:any ): any; - selectRange?( startRow?:Ext.data.IModel, endRow?:Ext.data.IModel, keepExisting?:bool ): void; - selectRange?( startRow?:number, endRow?:Ext.data.IModel, keepExisting?:bool ): void; - selectRange?( startRow?:Ext.data.IModel, endRow?:number, keepExisting?:bool ): void; - selectRange?( startRow?:number, endRow?:number, keepExisting?:bool ): void; + selectRange?( startRow?:Ext.data.IModel, endRow?:Ext.data.IModel, keepExisting?:boolean ): void; + selectRange?( startRow?:number, endRow?:Ext.data.IModel, keepExisting?:boolean ): void; + selectRange?( startRow?:Ext.data.IModel, endRow?:number, keepExisting?:boolean ): void; + selectRange?( startRow?:number, endRow?:number, keepExisting?:boolean ): void; /** [Method] Sets a record as the last focused record * @param record Ext.data.Model */ @@ -32468,7 +31870,7 @@ declare module Ext { /** [Method] Locks the current selection and disables any changes from happening to the selection * @param locked Boolean True to lock, false to unlock. */ - setLocked?( locked?:bool ): void; + setLocked?( locked?:boolean ): void; /** [Method] Sets the current selectionMode * @param selMode String 'SINGLE', 'MULTI' or 'SIMPLE'. */ @@ -32482,21 +31884,21 @@ declare module Ext { declare module Ext.selection { export interface IRowModel extends Ext.selection.IModel { /** [Config Option] (Boolean) */ - enableKeyNav?: bool; + enableKeyNav?: boolean; /** [Config Option] (Boolean) */ - ignoreRightMouseSelection?: bool; + ignoreRightMouseSelection?: boolean; /** [Method] Returns position of the first selected cell in the selection in the format row row column column */ getCurrentPosition?(): void; /** [Method] Selects the record immediately following the currently selected record * @param keepExisting Boolean True to retain existing selections * @param suppressEvent Boolean Set to false to not fire a select event */ - selectNext?( keepExisting?:bool, suppressEvent?:bool ): bool; + selectNext?( keepExisting?:boolean, suppressEvent?:boolean ): boolean; /** [Method] Selects the record that precedes the currently selected record * @param keepExisting Boolean True to retain existing selections * @param suppressEvent Boolean Set to false to not fire a select event */ - selectPrevious?( keepExisting?:bool, suppressEvent?:bool ): bool; + selectPrevious?( keepExisting?:boolean, suppressEvent?:boolean ): boolean; } } declare module Ext.selection { @@ -32571,41 +31973,18 @@ declare module Ext { static initConfig( config?:any ): Ext.IBase; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.slider { export interface IMulti extends Ext.form.field.IBase { /** [Config Option] (Boolean) */ - animate?: bool; + animate?: boolean; /** [Config Option] (Boolean) */ - clickToChange?: bool; + clickToChange?: boolean; /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Boolean) */ - constrainThumbs?: bool; + constrainThumbs?: boolean; /** [Config Option] (Number/Boolean) */ decimalPrecision?: any; /** [Config Option] (Number) */ @@ -32625,11 +32004,11 @@ declare module Ext.slider { /** [Config Option] (Number[]) */ values?: number[]; /** [Config Option] (Boolean) */ - vertical?: bool; + vertical?: boolean; /** [Config Option] (Boolean) */ - zeroBasedSnapping?: bool; + zeroBasedSnapping?: boolean; /** [Property] (Boolean) */ - dragging?: bool; + dragging?: boolean; /** [Property] (Array) */ thumbs?: any[]; /** [Method] Creates a new thumb and adds it to the slider @@ -32678,8 +32057,8 @@ declare module Ext.slider { * @param animate Boolean Turn on or off animation */ setValue?( index?:any, value?:any, animate?:any ): any; - setValue?( index?:number, value?:number, animate?:bool ): any; - setValue?( index?:number[], value?:number, animate?:bool ): any; + setValue?( index?:number, value?:number, animate?:boolean ): any; + setValue?( index?:number[], value?:number, animate?:boolean ): any; /** [Method] Synchronizes thumbs position to the proper proportion of the total component width based on the current slider value */ syncThumbs?(): void; } @@ -32687,13 +32066,13 @@ declare module Ext.slider { declare module Ext.slider { export interface IMultiSlider extends Ext.form.field.IBase { /** [Config Option] (Boolean) */ - animate?: bool; + animate?: boolean; /** [Config Option] (Boolean) */ - clickToChange?: bool; + clickToChange?: boolean; /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Boolean) */ - constrainThumbs?: bool; + constrainThumbs?: boolean; /** [Config Option] (Number/Boolean) */ decimalPrecision?: any; /** [Config Option] (Number) */ @@ -32713,11 +32092,11 @@ declare module Ext.slider { /** [Config Option] (Number[]) */ values?: number[]; /** [Config Option] (Boolean) */ - vertical?: bool; + vertical?: boolean; /** [Config Option] (Boolean) */ - zeroBasedSnapping?: bool; + zeroBasedSnapping?: boolean; /** [Property] (Boolean) */ - dragging?: bool; + dragging?: boolean; /** [Property] (Array) */ thumbs?: any[]; /** [Method] Creates a new thumb and adds it to the slider @@ -32766,8 +32145,8 @@ declare module Ext.slider { * @param animate Boolean Turn on or off animation */ setValue?( index?:any, value?:any, animate?:any ): any; - setValue?( index?:number, value?:number, animate?:bool ): any; - setValue?( index?:number[], value?:number, animate?:bool ): any; + setValue?( index?:number, value?:number, animate?:boolean ): any; + setValue?( index?:number[], value?:number, animate?:boolean ): any; /** [Method] Synchronizes thumbs position to the proper proportion of the total component width based on the current slider value */ syncThumbs?(): void; } @@ -32780,7 +32159,7 @@ declare module Ext.slider { * @param value Number The value to set the slider to. (This will be constrained within minValue and maxValue) * @param animate Boolean Turn on or off animation */ - setValue?( value?:number, animate?:bool ): void; + setValue?( value?:number, animate?:boolean ): void; } } declare module Ext { @@ -32791,7 +32170,7 @@ declare module Ext { * @param value Number The value to set the slider to. (This will be constrained within minValue and maxValue) * @param animate Boolean Turn on or off animation */ - setValue?( value?:number, animate?:bool ): void; + setValue?( value?:number, animate?:boolean ): void; } } declare module Ext.form { @@ -32802,7 +32181,7 @@ declare module Ext.form { * @param value Number The value to set the slider to. (This will be constrained within minValue and maxValue) * @param animate Boolean Turn on or off animation */ - setValue?( value?:number, animate?:bool ): void; + setValue?( value?:number, animate?:boolean ): void; } } declare module Ext.slider { @@ -32813,7 +32192,7 @@ declare module Ext.slider { * @param value Number The value to set the slider to. (This will be constrained within minValue and maxValue) * @param animate Boolean Turn on or off animation */ - setValue?( value?:number, animate?:bool ): void; + setValue?( value?:number, animate?:boolean ): void; } } declare module Ext.slider { @@ -32824,13 +32203,13 @@ declare module Ext.slider { * @param value Number The value to set the slider to. (This will be constrained within minValue and maxValue) * @param animate Boolean Turn on or off animation */ - setValue?( value?:number, animate?:bool ): void; + setValue?( value?:number, animate?:boolean ): void; } } declare module Ext.slider { export interface IThumb extends Ext.IBase { /** [Config Option] (Boolean) */ - constrain?: bool; + constrain?: boolean; /** [Config Option] (Ext.slider.MultiSlider) */ slider?: Ext.slider.IMultiSlider; /** [Method] Disables the thumb if it is currently enabled */ @@ -32868,7 +32247,7 @@ declare module Ext.state { /** [Config Option] (String) */ path?: string; /** [Config Option] (Boolean) */ - secure?: bool; + secure?: boolean; /** [Method] private * @param name Object */ @@ -32942,29 +32321,6 @@ declare module Ext.state { static setProvider( stateProvider?:Ext.state.IProvider ): void; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.state { @@ -33018,12 +32374,12 @@ declare module Ext.state { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the current value for a key * @param name String The key name * @param defaultValue Object A default value to return if the key's value is not found @@ -33032,7 +32388,7 @@ declare module Ext.state { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -33098,7 +32454,7 @@ declare module Ext.state { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -33116,7 +32472,7 @@ declare module Ext.state { /** [Config Option] (String) */ stateId?: string; /** [Config Option] (Boolean) */ - stateful?: bool; + stateful?: boolean; /** [Method] Adds the specified events to the list of events which this Observable may fire * @param eventNames Object/String... Either an object with event names as properties with a value of true. For example: this.addEvents({ storeloaded: true, storecleared: true }); Or any number of event names as separate parameters. For example: this.addEvents('storeloaded', 'storecleared'); */ @@ -33164,18 +32520,18 @@ declare module Ext.state { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Gets the current state of the object */ getState?(): any; /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -33234,7 +32590,7 @@ declare module Ext.state { * @param state Object The state object in to which to save the property. * @param stateName String The name to use for the property in state. */ - savePropToState?( propName?:string, state?:any, stateName?:string ): bool; + savePropToState?( propName?:string, state?:any, stateName?:string ): boolean; /** [Method] Gathers additional named properties of the instance and adds their current values to the passed state object * @param propNames String/String[] The name (or array of names) of the property to save. * @param state Object The state object in to which to save the property values. @@ -33251,7 +32607,7 @@ declare module Ext.state { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -33281,13 +32637,13 @@ declare module Ext { * @param length Number The maximum length to allow before truncating. * @param word Boolean true to try to find a common word break. */ - static ellipsis( value?:string, length?:number, word?:bool ): string; + static ellipsis( value?:string, length?:number, word?:boolean ): string; /** [Method] Checks if a string ends with a substring * @param s String The original string * @param start String The substring to check * @param ignoreCase Boolean True to ignore the case in the comparison */ - static endsWith( s?:string, start?:string, ignoreCase?:bool ): void; + static endsWith( s?:string, start?:string, ignoreCase?:boolean ): void; /** [Method] Escapes the passed string for and * @param string String The string to escape */ @@ -33340,7 +32696,7 @@ declare module Ext { * @param start String The substring to check * @param ignoreCase Boolean True to ignore the case in the comparison */ - static startsWith( s?:string, start?:string, ignoreCase?:bool ): void; + static startsWith( s?:string, start?:string, ignoreCase?:boolean ): void; /** [Method] Utility function that allows you to easily switch a string between two alternating values * @param string String The current string. * @param value String The value to compare to the current string. @@ -33377,9 +32733,9 @@ declare module Ext.tab { /** [Config Option] (Number) */ minTabWidth?: number; /** [Config Option] (Boolean) */ - plain?: bool; + plain?: boolean; /** [Property] (Boolean) */ - isTabBar?: bool; + isTabBar?: boolean; /** [Method] Called by the layout system after the Component has been laid out * @param width Object */ @@ -33405,7 +32761,7 @@ declare module Ext.tab { /** [Config Option] (String/Number/Ext.Component) */ activeTab?: any; /** [Config Option] (Boolean) */ - deferredRender?: bool; + deferredRender?: boolean; /** [Config Option] (String) */ itemCls?: string; /** [Config Option] (Ext.enums.Layout/Object) */ @@ -33415,9 +32771,9 @@ declare module Ext.tab { /** [Config Option] (Number) */ minTabWidth?: number; /** [Config Option] (Boolean) */ - plain?: bool; + plain?: boolean; /** [Config Option] (Boolean) */ - removePanelHeader?: bool; + removePanelHeader?: boolean; /** [Config Option] (Object) */ tabBar?: any; /** [Config Option] ("top"/"bottom"/"left"/"right") */ @@ -33447,7 +32803,7 @@ declare module Ext { /** [Config Option] (String/Number/Ext.Component) */ activeTab?: any; /** [Config Option] (Boolean) */ - deferredRender?: bool; + deferredRender?: boolean; /** [Config Option] (String) */ itemCls?: string; /** [Config Option] (Ext.enums.Layout/Object) */ @@ -33457,9 +32813,9 @@ declare module Ext { /** [Config Option] (Number) */ minTabWidth?: number; /** [Config Option] (Boolean) */ - plain?: bool; + plain?: boolean; /** [Config Option] (Boolean) */ - removePanelHeader?: bool; + removePanelHeader?: boolean; /** [Config Option] (Object) */ tabBar?: any; /** [Config Option] ("top"/"bottom"/"left"/"right") */ @@ -33489,7 +32845,7 @@ declare module Ext.tab { /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - closable?: bool; + closable?: boolean; /** [Config Option] (String) */ closableCls?: string; /** [Config Option] (String) */ @@ -33499,9 +32855,9 @@ declare module Ext.tab { /** [Config Option] ("small"/"medium"/"large") */ scale?: any; /** [Property] (Boolean) */ - active?: bool; + active?: boolean; /** [Property] (Boolean) */ - isTab?: bool; + isTab?: boolean; /** [Method] inherit docs * @param silent Object */ @@ -33521,34 +32877,34 @@ declare module Ext.tab { /** [Method] Sets the tab as either closable or not * @param closable Boolean Pass false to make the tab not closable. Otherwise the tab will be made closable (eg a close button will appear on the tab) */ - setClosable?( closable?:bool ): void; + setClosable?( closable?:boolean ): void; } } declare module Ext { export interface ITemplate extends Ext.IBase { /** [Config Option] (Boolean) */ - compiled?: bool; + compiled?: boolean; /** [Config Option] (Boolean) */ - disableFormats?: bool; + disableFormats?: boolean; /** [Property] (Boolean) */ - isTemplate?: bool; + isTemplate?: boolean; /** [Method] Applies the supplied values to the template and appends the new node s to the specified el * @param el String/HTMLElement/Ext.Element The context element * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return an Ext.Element. */ append?( el?:any, values?:any, returnElement?:any ): any; - append?( el?:string, values?:any, returnElement?:bool ): HTMLElement; - append?( el?:HTMLElement, values?:any, returnElement?:bool ): HTMLElement; - append?( el?:Ext.IElement, values?:any, returnElement?:bool ): HTMLElement; + append?( el?:string, values?:any, returnElement?:boolean ): HTMLElement; + append?( el?:HTMLElement, values?:any, returnElement?:boolean ): HTMLElement; + append?( el?:Ext.IElement, values?:any, returnElement?:boolean ): HTMLElement; /** [Method] Applies the supplied values to the template and appends the new node s to the specified el * @param el String/HTMLElement/Ext.Element The context element * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return an Ext.Element. */ - append?( el?:string, values?:any, returnElement?:bool ): Ext.IElement; - append?( el?:HTMLElement, values?:any, returnElement?:bool ): Ext.IElement; - append?( el?:Ext.IElement, values?:any, returnElement?:bool ): Ext.IElement; + append?( el?:string, values?:any, returnElement?:boolean ): Ext.IElement; + append?( el?:HTMLElement, values?:any, returnElement?:boolean ): Ext.IElement; + append?( el?:Ext.IElement, values?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Returns an HTML fragment of this template with the specified values applied * @param values Object/Array The template values. Can be an array if your params are numeric: var tpl = new Ext.Template('Name: {0}, Age: {1}'); tpl.apply(['John', 25]); or an object: var tpl = new Ext.Template('Name: {name}, Age: {age}'); tpl.apply({name: 'John', age: 25}); */ @@ -33570,86 +32926,111 @@ declare module Ext { * @param returnElement Boolean true to return a Ext.Element. */ insertAfter?( el?:any, values?:any, returnElement?:any ): any; - insertAfter?( el?:string, values?:any, returnElement?:bool ): HTMLElement; - insertAfter?( el?:HTMLElement, values?:any, returnElement?:bool ): HTMLElement; - insertAfter?( el?:Ext.IElement, values?:any, returnElement?:bool ): HTMLElement; + insertAfter?( el?:string, values?:any, returnElement?:boolean ): HTMLElement; + insertAfter?( el?:HTMLElement, values?:any, returnElement?:boolean ): HTMLElement; + insertAfter?( el?:Ext.IElement, values?:any, returnElement?:boolean ): HTMLElement; /** [Method] Applies the supplied values to the template and inserts the new node s after el * @param el String/HTMLElement/Ext.Element The context element * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return a Ext.Element. */ - insertAfter?( el?:string, values?:any, returnElement?:bool ): Ext.IElement; - insertAfter?( el?:HTMLElement, values?:any, returnElement?:bool ): Ext.IElement; - insertAfter?( el?:Ext.IElement, values?:any, returnElement?:bool ): Ext.IElement; + insertAfter?( el?:string, values?:any, returnElement?:boolean ): Ext.IElement; + insertAfter?( el?:HTMLElement, values?:any, returnElement?:boolean ): Ext.IElement; + insertAfter?( el?:Ext.IElement, values?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Applies the supplied values to the template and inserts the new node s before el * @param el String/HTMLElement/Ext.Element The context element * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return a Ext.Element. */ insertBefore?( el?:any, values?:any, returnElement?:any ): any; - insertBefore?( el?:string, values?:any, returnElement?:bool ): HTMLElement; - insertBefore?( el?:HTMLElement, values?:any, returnElement?:bool ): HTMLElement; - insertBefore?( el?:Ext.IElement, values?:any, returnElement?:bool ): HTMLElement; + insertBefore?( el?:string, values?:any, returnElement?:boolean ): HTMLElement; + insertBefore?( el?:HTMLElement, values?:any, returnElement?:boolean ): HTMLElement; + insertBefore?( el?:Ext.IElement, values?:any, returnElement?:boolean ): HTMLElement; /** [Method] Applies the supplied values to the template and inserts the new node s before el * @param el String/HTMLElement/Ext.Element The context element * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return a Ext.Element. */ - insertBefore?( el?:string, values?:any, returnElement?:bool ): Ext.IElement; - insertBefore?( el?:HTMLElement, values?:any, returnElement?:bool ): Ext.IElement; - insertBefore?( el?:Ext.IElement, values?:any, returnElement?:bool ): Ext.IElement; + insertBefore?( el?:string, values?:any, returnElement?:boolean ): Ext.IElement; + insertBefore?( el?:HTMLElement, values?:any, returnElement?:boolean ): Ext.IElement; + insertBefore?( el?:Ext.IElement, values?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Applies the supplied values to the template and inserts the new node s as the first child of el * @param el String/HTMLElement/Ext.Element The context element * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return a Ext.Element. */ insertFirst?( el?:any, values?:any, returnElement?:any ): any; - insertFirst?( el?:string, values?:any, returnElement?:bool ): HTMLElement; - insertFirst?( el?:HTMLElement, values?:any, returnElement?:bool ): HTMLElement; - insertFirst?( el?:Ext.IElement, values?:any, returnElement?:bool ): HTMLElement; + insertFirst?( el?:string, values?:any, returnElement?:boolean ): HTMLElement; + insertFirst?( el?:HTMLElement, values?:any, returnElement?:boolean ): HTMLElement; + insertFirst?( el?:Ext.IElement, values?:any, returnElement?:boolean ): HTMLElement; /** [Method] Applies the supplied values to the template and inserts the new node s as the first child of el * @param el String/HTMLElement/Ext.Element The context element * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return a Ext.Element. */ - insertFirst?( el?:string, values?:any, returnElement?:bool ): Ext.IElement; - insertFirst?( el?:HTMLElement, values?:any, returnElement?:bool ): Ext.IElement; - insertFirst?( el?:Ext.IElement, values?:any, returnElement?:bool ): Ext.IElement; + insertFirst?( el?:string, values?:any, returnElement?:boolean ): Ext.IElement; + insertFirst?( el?:HTMLElement, values?:any, returnElement?:boolean ): Ext.IElement; + insertFirst?( el?:Ext.IElement, values?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Applies the supplied values to the template and overwrites the content of el with the new node s * @param el String/HTMLElement/Ext.Element The context element * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return a Ext.Element. */ overwrite?( el?:any, values?:any, returnElement?:any ): any; - overwrite?( el?:string, values?:any, returnElement?:bool ): HTMLElement; - overwrite?( el?:HTMLElement, values?:any, returnElement?:bool ): HTMLElement; - overwrite?( el?:Ext.IElement, values?:any, returnElement?:bool ): HTMLElement; + overwrite?( el?:string, values?:any, returnElement?:boolean ): HTMLElement; + overwrite?( el?:HTMLElement, values?:any, returnElement?:boolean ): HTMLElement; + overwrite?( el?:Ext.IElement, values?:any, returnElement?:boolean ): HTMLElement; /** [Method] Applies the supplied values to the template and overwrites the content of el with the new node s * @param el String/HTMLElement/Ext.Element The context element * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return a Ext.Element. */ - overwrite?( el?:string, values?:any, returnElement?:bool ): Ext.IElement; - overwrite?( el?:HTMLElement, values?:any, returnElement?:bool ): Ext.IElement; - overwrite?( el?:Ext.IElement, values?:any, returnElement?:bool ): Ext.IElement; + overwrite?( el?:string, values?:any, returnElement?:boolean ): Ext.IElement; + overwrite?( el?:HTMLElement, values?:any, returnElement?:boolean ): Ext.IElement; + overwrite?( el?:Ext.IElement, values?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Sets the HTML used as the template and optionally compiles it * @param html String * @param compile Boolean True to compile the template. */ - set?( html?:string, compile?:bool ): Ext.ITemplate; + set?( html?:string, compile?:boolean ): Ext.ITemplate; + } + export class Template { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Creates a template from the passed element s value display none textarea preferred or innerHTML * @param el String/HTMLElement A DOM element or its id * @param config Object Config object */ - from?( el?:any, config?:any ): any; - from?( el?:string, config?:any ): Ext.ITemplate; - from?( el?:HTMLElement, config?:any ): Ext.ITemplate; + static from( el?:any, config?:any ): any; + static from( el?:string, config?:any ): Ext.ITemplate; + static from( el?:HTMLElement, config?:any ): Ext.ITemplate; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Adds members to class */ + static implement(): void; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext.tip { export interface IQuickTip extends Ext.tip.IToolTip { /** [Config Option] (Boolean) */ - interceptTitles?: bool; + interceptTitles?: boolean; /** [Config Option] (String/HTMLElement/Ext.Element) */ target?: any; /** [Config Option] (String) */ @@ -33677,7 +33058,7 @@ declare module Ext.tip { declare module Ext { export interface IQuickTip extends Ext.tip.IToolTip { /** [Config Option] (Boolean) */ - interceptTitles?: bool; + interceptTitles?: boolean; /** [Config Option] (String/HTMLElement/Ext.Element) */ target?: any; /** [Config Option] (String) */ @@ -33737,13 +33118,13 @@ declare module Ext.tip { * @param autoRender Boolean True to render the QuickTips container immediately to preload images. * @param config Object config object for the created QuickTip. By default, the QuickTip class is instantiated, but this can be changed by supplying an xtype property or a className property in this object. All other properties on this object are configuration for the created component. */ - static init( autoRender?:bool, config?:any ): void; + static init( autoRender?:boolean, config?:any ): void; /** [Method] Initialize configuration for this class * @param config Object */ static initConfig( config?:any ): Ext.IBase; /** [Method] Returns true if quick tips are enabled else false */ - static isEnabled(): bool; + static isEnabled(): boolean; /** [Method] Configures a new quick tip instance and assigns it to a target element * @param config Object The config object */ @@ -33761,29 +33142,6 @@ declare module Ext.tip { static unregister( el?:string ): void; static unregister( el?:HTMLElement ): void; static unregister( el?:Ext.IElement ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -33821,13 +33179,13 @@ declare module Ext { * @param autoRender Boolean True to render the QuickTips container immediately to preload images. * @param config Object config object for the created QuickTip. By default, the QuickTip class is instantiated, but this can be changed by supplying an xtype property or a className property in this object. All other properties on this object are configuration for the created component. */ - static init( autoRender?:bool, config?:any ): void; + static init( autoRender?:boolean, config?:any ): void; /** [Method] Initialize configuration for this class * @param config Object */ static initConfig( config?:any ): Ext.IBase; /** [Method] Returns true if quick tips are enabled else false */ - static isEnabled(): bool; + static isEnabled(): boolean; /** [Method] Configures a new quick tip instance and assigns it to a target element * @param config Object The config object */ @@ -33845,29 +33203,6 @@ declare module Ext { static unregister( el?:string ): void; static unregister( el?:HTMLElement ): void; static unregister( el?:Ext.IElement ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.tip { @@ -33877,21 +33212,21 @@ declare module Ext.tip { /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - closable?: bool; + closable?: boolean; /** [Config Option] (String) */ closeAction?: string; /** [Config Option] (Boolean) */ - constrainPosition?: bool; + constrainPosition?: boolean; /** [Config Option] (String) */ defaultAlign?: string; /** [Config Option] (Boolean) */ - floating?: bool; + floating?: boolean; /** [Config Option] (Boolean) */ - focusOnToFront?: bool; + focusOnToFront?: boolean; /** [Config Option] (Boolean) */ - frameHeader?: bool; + frameHeader?: boolean; /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (Number) */ maxWidth?: number; /** [Config Option] (Number) */ @@ -33909,21 +33244,21 @@ declare module Ext { /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - closable?: bool; + closable?: boolean; /** [Config Option] (String) */ closeAction?: string; /** [Config Option] (Boolean) */ - constrainPosition?: bool; + constrainPosition?: boolean; /** [Config Option] (String) */ defaultAlign?: string; /** [Config Option] (Boolean) */ - floating?: bool; + floating?: boolean; /** [Config Option] (Boolean) */ - focusOnToFront?: bool; + focusOnToFront?: boolean; /** [Config Option] (Boolean) */ - frameHeader?: bool; + frameHeader?: boolean; /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (Number) */ maxWidth?: number; /** [Config Option] (Number) */ @@ -33941,9 +33276,9 @@ declare module Ext.tip { /** [Config Option] (Number) */ anchorOffset?: number; /** [Config Option] (Boolean) */ - anchorToTarget?: bool; + anchorToTarget?: boolean; /** [Config Option] (Boolean) */ - autoHide?: bool; + autoHide?: boolean; /** [Config Option] (String) */ delegate?: string; /** [Config Option] (Number) */ @@ -33957,7 +33292,7 @@ declare module Ext.tip { /** [Config Option] (HTMLElement/Ext.Element/String) */ target?: any; /** [Config Option] (Boolean) */ - trackMouse?: bool; + trackMouse?: boolean; /** [Property] (HTMLElement) */ triggerElement?: HTMLElement; /** [Method] Binds this ToolTip to the specified element @@ -33976,9 +33311,9 @@ declare module Ext { /** [Config Option] (Number) */ anchorOffset?: number; /** [Config Option] (Boolean) */ - anchorToTarget?: bool; + anchorToTarget?: boolean; /** [Config Option] (Boolean) */ - autoHide?: bool; + autoHide?: boolean; /** [Config Option] (String) */ delegate?: string; /** [Config Option] (Number) */ @@ -33992,7 +33327,7 @@ declare module Ext { /** [Config Option] (HTMLElement/Ext.Element/String) */ target?: any; /** [Config Option] (Boolean) */ - trackMouse?: bool; + trackMouse?: boolean; /** [Property] (HTMLElement) */ triggerElement?: HTMLElement; /** [Method] Binds this ToolTip to the specified element @@ -34007,7 +33342,7 @@ declare module Ext { declare module Ext.toolbar { export interface IFill extends Ext.IComponent { /** [Property] (Boolean) */ - isFill?: bool; + isFill?: boolean; } } declare module Ext.toolbar { @@ -34029,7 +33364,7 @@ declare module Ext.toolbar { /** [Config Option] (String) */ beforePageText?: string; /** [Config Option] (Boolean) */ - displayInfo?: bool; + displayInfo?: boolean; /** [Config Option] (String) */ displayMsg?: string; /** [Config Option] (String) */ @@ -34043,7 +33378,7 @@ declare module Ext.toolbar { /** [Config Option] (String) */ nextText?: string; /** [Config Option] (Boolean) */ - prependButtons?: bool; + prependButtons?: boolean; /** [Config Option] (String) */ prevText?: string; /** [Config Option] (String) */ @@ -34082,12 +33417,12 @@ declare module Ext.toolbar { * @param store Ext.data.AbstractStore The store being bound * @param initial Boolean True if this store is being bound as initialization of the instance. */ - onBindStore?( store?:Ext.data.IAbstractStore, initial?:bool ): void; + onBindStore?( store?:Ext.data.IAbstractStore, initial?:boolean ): void; /** [Method] Template method it is called when an existing store is unbound from the current instance * @param store Ext.data.AbstractStore The store being unbound * @param initial Boolean True if this store is being bound as initialization of the instance. */ - onUnbindStore?( store?:Ext.data.IAbstractStore, initial?:bool ): void; + onUnbindStore?( store?:Ext.data.IAbstractStore, initial?:boolean ): void; /** [Method] Unbinds the paging toolbar from the specified Ext data Store deprecated * @param store Ext.data.Store The data store to unbind */ @@ -34105,7 +33440,7 @@ declare module Ext { /** [Config Option] (String) */ beforePageText?: string; /** [Config Option] (Boolean) */ - displayInfo?: bool; + displayInfo?: boolean; /** [Config Option] (String) */ displayMsg?: string; /** [Config Option] (String) */ @@ -34119,7 +33454,7 @@ declare module Ext { /** [Config Option] (String) */ nextText?: string; /** [Config Option] (Boolean) */ - prependButtons?: bool; + prependButtons?: boolean; /** [Config Option] (String) */ prevText?: string; /** [Config Option] (String) */ @@ -34158,12 +33493,12 @@ declare module Ext { * @param store Ext.data.AbstractStore The store being bound * @param initial Boolean True if this store is being bound as initialization of the instance. */ - onBindStore?( store?:Ext.data.IAbstractStore, initial?:bool ): void; + onBindStore?( store?:Ext.data.IAbstractStore, initial?:boolean ): void; /** [Method] Template method it is called when an existing store is unbound from the current instance * @param store Ext.data.AbstractStore The store being unbound * @param initial Boolean True if this store is being bound as initialization of the instance. */ - onUnbindStore?( store?:Ext.data.IAbstractStore, initial?:bool ): void; + onUnbindStore?( store?:Ext.data.IAbstractStore, initial?:boolean ): void; /** [Method] Unbinds the paging toolbar from the specified Ext data Store deprecated * @param store Ext.data.Store The data store to unbind */ @@ -34209,15 +33544,15 @@ declare module Ext.toolbar { /** [Config Option] (String) */ defaultType?: string; /** [Config Option] (Boolean) */ - enableOverflow?: bool; + enableOverflow?: boolean; /** [Config Option] (Ext.enums.Layout/Object) */ layout?: any; /** [Config Option] (String) */ menuTriggerCls?: string; /** [Config Option] (Boolean) */ - vertical?: bool; + vertical?: boolean; /** [Property] (Boolean) */ - isToolbar?: bool; + isToolbar?: boolean; /** [Method] Adds element s to the toolbar this function takes a variable number of arguments of mixed type and adds them to t * @param args Ext.Component.../Object.../String.../HTMLElement... The following types of arguments are all valid: config: A valid button config object HtmlElement: Any standard HTML element Field: Any form field Item: Any subclass of Ext.toolbar.Item String: Any generic string (gets wrapped in a Ext.toolbar.TextItem). Note that there are a few special strings that are treated differently as explained next: '-': Creates a separator element ' ': Creates a spacer element '->': Creates a fill element */ @@ -34246,15 +33581,15 @@ declare module Ext { /** [Config Option] (String) */ defaultType?: string; /** [Config Option] (Boolean) */ - enableOverflow?: bool; + enableOverflow?: boolean; /** [Config Option] (Ext.enums.Layout/Object) */ layout?: any; /** [Config Option] (String) */ menuTriggerCls?: string; /** [Config Option] (Boolean) */ - vertical?: bool; + vertical?: boolean; /** [Property] (Boolean) */ - isToolbar?: bool; + isToolbar?: boolean; /** [Method] Adds element s to the toolbar this function takes a variable number of arguments of mixed type and adds them to t * @param args Ext.Component.../Object.../String.../HTMLElement... The following types of arguments are all valid: config: A valid button config object HtmlElement: Any standard HTML element Field: Any form field Item: Any subclass of Ext.toolbar.Item String: Any generic string (gets wrapped in a Ext.toolbar.TextItem). Note that there are a few special strings that are treated differently as explained next: '-': Creates a separator element ' ': Creates a spacer element '->': Creates a fill element */ @@ -34277,43 +33612,43 @@ declare module Ext { declare module Ext.tree { export interface IColumn extends Ext.grid.column.IColumn { /** [Config Option] (Boolean) */ - hideable?: bool; + hideable?: boolean; /** [Config Option] (Boolean) */ - lockable?: bool; + lockable?: boolean; /** [Config Option] (String) */ tdCls?: string; /** [Property] (Boolean) */ - draggable?: bool; + draggable?: boolean; } } declare module Ext.tree { export interface IPanel extends Ext.panel.ITable { /** [Config Option] (Boolean) */ - animate?: bool; + animate?: boolean; /** [Config Option] (Boolean) */ - deferRowRender?: bool; + deferRowRender?: boolean; /** [Config Option] (String) */ displayField?: string; /** [Config Option] (Boolean) */ - folderSort?: bool; + folderSort?: boolean; /** [Config Option] (Boolean) */ - hideHeaders?: bool; + hideHeaders?: boolean; /** [Config Option] (Boolean) */ - lines?: bool; + lines?: boolean; /** [Config Option] (Ext.data.Model/Ext.data.NodeInterface/Object) */ root?: any; /** [Config Option] (Boolean) */ - rootVisible?: bool; + rootVisible?: boolean; /** [Config Option] (Boolean) */ - rowLines?: bool; + rowLines?: boolean; /** [Config Option] (String) */ selType?: string; /** [Config Option] (Boolean) */ - singleExpand?: bool; + singleExpand?: boolean; /** [Config Option] (Ext.data.TreeStore) */ store?: Ext.data.ITreeStore; /** [Config Option] (Boolean) */ - useArrows?: bool; + useArrows?: boolean; /** [Config Option] (String) */ viewType?: string; /** [Method] Collapse all nodes @@ -34327,7 +33662,7 @@ declare module Ext.tree { * @param callback Function The function to run after the collapse is completed * @param scope Object The scope of the callback function. */ - collapseNode?( record?:Ext.data.IModel, deep?:bool, callback?:any, scope?:any ): void; + collapseNode?( record?:Ext.data.IModel, deep?:boolean, callback?:any, scope?:any ): void; /** [Method] Expand all nodes * @param callback Function A function to execute when the expand finishes. * @param scope Object The scope of the callback function @@ -34339,7 +33674,7 @@ declare module Ext.tree { * @param callback Function The function to run after the expand is completed * @param scope Object The scope of the callback function. */ - expandNode?( record?:Ext.data.IModel, deep?:bool, callback?:any, scope?:any ): void; + expandNode?( record?:Ext.data.IModel, deep?:boolean, callback?:any, scope?:any ): void; /** [Method] Expand the tree to the path of a particular node * @param path String The path to expand. The path should include a leading separator. * @param field String The field to get the data from. Defaults to the model idProperty. @@ -34369,31 +33704,31 @@ declare module Ext.tree { declare module Ext.tree { export interface ITreePanel extends Ext.panel.ITable { /** [Config Option] (Boolean) */ - animate?: bool; + animate?: boolean; /** [Config Option] (Boolean) */ - deferRowRender?: bool; + deferRowRender?: boolean; /** [Config Option] (String) */ displayField?: string; /** [Config Option] (Boolean) */ - folderSort?: bool; + folderSort?: boolean; /** [Config Option] (Boolean) */ - hideHeaders?: bool; + hideHeaders?: boolean; /** [Config Option] (Boolean) */ - lines?: bool; + lines?: boolean; /** [Config Option] (Ext.data.Model/Ext.data.NodeInterface/Object) */ root?: any; /** [Config Option] (Boolean) */ - rootVisible?: bool; + rootVisible?: boolean; /** [Config Option] (Boolean) */ - rowLines?: bool; + rowLines?: boolean; /** [Config Option] (String) */ selType?: string; /** [Config Option] (Boolean) */ - singleExpand?: bool; + singleExpand?: boolean; /** [Config Option] (Ext.data.TreeStore) */ store?: Ext.data.ITreeStore; /** [Config Option] (Boolean) */ - useArrows?: bool; + useArrows?: boolean; /** [Config Option] (String) */ viewType?: string; /** [Method] Collapse all nodes @@ -34407,7 +33742,7 @@ declare module Ext.tree { * @param callback Function The function to run after the collapse is completed * @param scope Object The scope of the callback function. */ - collapseNode?( record?:Ext.data.IModel, deep?:bool, callback?:any, scope?:any ): void; + collapseNode?( record?:Ext.data.IModel, deep?:boolean, callback?:any, scope?:any ): void; /** [Method] Expand all nodes * @param callback Function A function to execute when the expand finishes. * @param scope Object The scope of the callback function @@ -34419,7 +33754,7 @@ declare module Ext.tree { * @param callback Function The function to run after the expand is completed * @param scope Object The scope of the callback function. */ - expandNode?( record?:Ext.data.IModel, deep?:bool, callback?:any, scope?:any ): void; + expandNode?( record?:Ext.data.IModel, deep?:boolean, callback?:any, scope?:any ): void; /** [Method] Expand the tree to the path of a particular node * @param path String The path to expand. The path should include a leading separator. * @param field String The field to get the data from. Defaults to the model idProperty. @@ -34449,31 +33784,31 @@ declare module Ext.tree { declare module Ext { export interface ITreePanel extends Ext.panel.ITable { /** [Config Option] (Boolean) */ - animate?: bool; + animate?: boolean; /** [Config Option] (Boolean) */ - deferRowRender?: bool; + deferRowRender?: boolean; /** [Config Option] (String) */ displayField?: string; /** [Config Option] (Boolean) */ - folderSort?: bool; + folderSort?: boolean; /** [Config Option] (Boolean) */ - hideHeaders?: bool; + hideHeaders?: boolean; /** [Config Option] (Boolean) */ - lines?: bool; + lines?: boolean; /** [Config Option] (Ext.data.Model/Ext.data.NodeInterface/Object) */ root?: any; /** [Config Option] (Boolean) */ - rootVisible?: bool; + rootVisible?: boolean; /** [Config Option] (Boolean) */ - rowLines?: bool; + rowLines?: boolean; /** [Config Option] (String) */ selType?: string; /** [Config Option] (Boolean) */ - singleExpand?: bool; + singleExpand?: boolean; /** [Config Option] (Ext.data.TreeStore) */ store?: Ext.data.ITreeStore; /** [Config Option] (Boolean) */ - useArrows?: bool; + useArrows?: boolean; /** [Config Option] (String) */ viewType?: string; /** [Method] Collapse all nodes @@ -34487,7 +33822,7 @@ declare module Ext { * @param callback Function The function to run after the collapse is completed * @param scope Object The scope of the callback function. */ - collapseNode?( record?:Ext.data.IModel, deep?:bool, callback?:any, scope?:any ): void; + collapseNode?( record?:Ext.data.IModel, deep?:boolean, callback?:any, scope?:any ): void; /** [Method] Expand all nodes * @param callback Function A function to execute when the expand finishes. * @param scope Object The scope of the callback function @@ -34499,7 +33834,7 @@ declare module Ext { * @param callback Function The function to run after the expand is completed * @param scope Object The scope of the callback function. */ - expandNode?( record?:Ext.data.IModel, deep?:bool, callback?:any, scope?:any ): void; + expandNode?( record?:Ext.data.IModel, deep?:boolean, callback?:any, scope?:any ): void; /** [Method] Expand the tree to the path of a particular node * @param path String The path to expand. The path should include a leading separator. * @param field String The field to get the data from. Defaults to the model idProperty. @@ -34529,11 +33864,11 @@ declare module Ext { declare module Ext.tree.plugin { export interface ITreeViewDragDrop extends Ext.IAbstractPlugin { /** [Config Option] (Boolean) */ - allowContainerDrops?: bool; + allowContainerDrops?: boolean; /** [Config Option] (Boolean) */ - allowParentInserts?: bool; + allowParentInserts?: boolean; /** [Config Option] (Boolean) */ - appendOnly?: bool; + appendOnly?: boolean; /** [Config Option] (Object/Boolean) */ containerScroll?: any; /** [Config Option] (String) */ @@ -34547,19 +33882,19 @@ declare module Ext.tree.plugin { /** [Config Option] (String) */ dropGroup?: string; /** [Config Option] (Boolean) */ - enableDrag?: bool; + enableDrag?: boolean; /** [Config Option] (Boolean) */ - enableDrop?: bool; + enableDrop?: boolean; /** [Config Option] (Number) */ expandDelay?: number; /** [Config Option] (String) */ nodeHighlightColor?: string; /** [Config Option] (Boolean) */ - nodeHighlightOnDrop?: bool; + nodeHighlightOnDrop?: boolean; /** [Config Option] (Boolean) */ - nodeHighlightOnRepair?: bool; + nodeHighlightOnRepair?: boolean; /** [Config Option] (Boolean) */ - sortOnDrop?: bool; + sortOnDrop?: boolean; /** [Method] The init method is invoked after initComponent method has been run for the client Component * @param view Object */ @@ -34569,21 +33904,21 @@ declare module Ext.tree.plugin { declare module Ext.tree { export interface IView extends Ext.view.ITable { /** [Config Option] (Boolean) */ - animate?: bool; + animate?: boolean; /** [Config Option] (Boolean) */ - blockRefresh?: bool; + blockRefresh?: boolean; /** [Config Option] (Boolean) */ - deferInitialRefresh?: bool; + deferInitialRefresh?: boolean; /** [Config Option] (Boolean) */ - loadMask?: bool; + loadMask?: boolean; /** [Config Option] (String) */ loadingCls?: string; /** [Config Option] (Boolean) */ - rootVisible?: bool; + rootVisible?: boolean; /** [Config Option] (Boolean) */ - stripeRows?: bool; + stripeRows?: boolean; /** [Property] (Boolean) */ - isTreeView?: bool; + isTreeView?: boolean; /** [Method] Called by the layout system after the Component has been laid out */ afterComponentLayout?(): void; /** [Method] Collapses a record that is loaded in the view @@ -34592,14 +33927,14 @@ declare module Ext.tree { * @param callback Function The function to run after the collapse is completed * @param scope Object The scope of the callback function. */ - collapse?( record?:Ext.data.IModel, deep?:bool, callback?:any, scope?:any ): void; + collapse?( record?:Ext.data.IModel, deep?:boolean, callback?:any, scope?:any ): void; /** [Method] Expands a record that is loaded in the view * @param record Ext.data.Model The record to expand * @param deep Boolean True to expand nodes all the way down the tree hierarchy. * @param callback Function The function to run after the expand is completed * @param scope Object The scope of the callback function. */ - expand?( record?:Ext.data.IModel, deep?:bool, callback?:any, scope?:any ): void; + expand?( record?:Ext.data.IModel, deep?:boolean, callback?:any, scope?:any ): void; /** [Method] Gets the listeners to bind to a new store */ getStoreListeners?(): any; /** [Method] Gets the base TreeStore from the bound TreePanel */ @@ -34616,7 +33951,7 @@ declare module Ext.tree { * @param callback Function The function to run after the expand/collapse is completed * @param scope Object The scope of the callback function. */ - toggle?( record?:Ext.data.IModel, deep?:bool, callback?:any, scope?:any ): void; + toggle?( record?:Ext.data.IModel, deep?:boolean, callback?:any, scope?:any ): void; } } declare module Ext.tree { @@ -34626,11 +33961,11 @@ declare module Ext.tree { declare module Ext.tree { export interface IViewDropZone extends Ext.view.IDropZone { /** [Config Option] (Boolean) */ - allowContainerDrop?: bool; + allowContainerDrop?: boolean; /** [Config Option] (Boolean) */ - allowParentInserts?: bool; + allowParentInserts?: boolean; /** [Config Option] (Boolean) */ - appendOnly?: bool; + appendOnly?: boolean; /** [Config Option] (Number) */ expandDelay?: number; /** [Method] Moved out of the DropZone without dropping */ @@ -34660,9 +33995,9 @@ declare module Ext.tree { declare module Ext.util { export interface IAbstractMixedCollection extends Ext.IBase,Ext.util.IObservable { /** [Config Option] (Boolean) */ - allowFunctions?: bool; + allowFunctions?: boolean; /** [Property] (Boolean) */ - isMixedCollection?: bool; + isMixedCollection?: boolean; /** [Method] Adds an item to the collection * @param key String/Object The key to associate with the item, or the new item. If a getKey implementation was specified for this MixedCollection, or if the key of the stored items is in a property called id, the MixedCollection will be able to derive the key for the new item. In this case just pass the new item in this parameter. * @param obj Object The item to add. @@ -34706,15 +34041,15 @@ declare module Ext.util { * @param root String 'root' property to extract the first argument from. This is used mainly when summing fields in records, where the fields are all stored inside the 'data' object * @param allowBlank Boolean Pass true to allow null, undefined or empty string values */ - collect?( property?:string, root?:string, allowBlank?:bool ): any[]; + collect?( property?:string, root?:string, allowBlank?:boolean ): any[]; /** [Method] Returns true if the collection contains the passed Object as an item * @param o Object The Object to look for in the collection. */ - contains?( o?:any ): bool; + contains?( o?:any ): boolean; /** [Method] Returns true if the collection contains the passed Object as a key * @param key String The key to look for in the collection. */ - containsKey?( key?:string ): bool; + containsKey?( key?:string ): boolean; /** [Method] Executes the specified function once for every item in the collection * @param fn Function The function to execute for each item. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the current item in the iteration. @@ -34738,10 +34073,10 @@ declare module Ext.util { * @param caseSensitive Boolean True for case sensitive comparison. */ filter?( property?:any, value?:any, anyMatch?:any, caseSensitive?:any ): any; - filter?( property?:Ext.util.IFilter[], value?:string, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - filter?( property?:string, value?:string, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - filter?( property?:Ext.util.IFilter[], value?:RegExp, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - filter?( property?:string, value?:RegExp, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; + filter?( property?:Ext.util.IFilter[], value?:string, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + filter?( property?:string, value?:string, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + filter?( property?:Ext.util.IFilter[], value?:RegExp, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + filter?( property?:string, value?:RegExp, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; /** [Method] Filter by a function * @param fn Function The function to be called. * @param scope Object The scope (this reference) in which the function is executed. Defaults to this MixedCollection. @@ -34762,8 +34097,8 @@ declare module Ext.util { * @param caseSensitive Boolean True for case sensitive comparison. */ findIndex?( property?:any, value?:any, start?:any, anyMatch?:any, caseSensitive?:any ): any; - findIndex?( property?:string, value?:string, start?:number, anyMatch?:bool, caseSensitive?:bool ): number; - findIndex?( property?:string, value?:RegExp, start?:number, anyMatch?:bool, caseSensitive?:bool ): number; + findIndex?( property?:string, value?:string, start?:number, anyMatch?:boolean, caseSensitive?:boolean ): number; + findIndex?( property?:string, value?:RegExp, start?:number, anyMatch?:boolean, caseSensitive?:boolean ): number; /** [Method] Find the index of the first matching object in this collection by a function * @param fn Function The function to be called. * @param scope Object The scope (this reference) in which the function is executed. Defaults to this MixedCollection. @@ -34774,12 +34109,12 @@ declare module Ext.util { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Returns the first item in the collection */ first?(): any; /** [Method] Returns the item associated with the passed key OR index @@ -34812,7 +34147,7 @@ declare module Ext.util { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Returns index within the collection of the passed Object * @param o Object The item to find the index of. */ @@ -34922,7 +34257,7 @@ declare module Ext.util { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -34943,11 +34278,11 @@ declare module Ext.util { /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ getActiveAnimation?(): Ext.fx.IAnim; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ - getActiveAnimation?(): bool; + getActiveAnimation?(): boolean; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ hasActiveFx?(): Ext.fx.IAnim; /** [Method] Returns the current animation if this object has any effects actively running or queued else returns false */ - hasActiveFx?(): bool; + hasActiveFx?(): boolean; /** [Method] Ensures that all effects queued after sequenceFx is called on this object are run in sequence */ sequenceFx?(): any; /** [Method] Stops any running effects and clears this object s internal effects queue if it contains any additional effects that */ @@ -34980,12 +34315,12 @@ declare module Ext.util { * @param store Ext.data.AbstractStore The store being bound * @param initial Boolean True if this store is being bound as initialization of the instance. */ - onBindStore?( store?:Ext.data.IAbstractStore, initial?:bool ): void; + onBindStore?( store?:Ext.data.IAbstractStore, initial?:boolean ): void; /** [Method] Template method it is called when an existing store is unbound from the current instance * @param store Ext.data.AbstractStore The store being unbound * @param initial Boolean True if this store is being bound as initialization of the instance. */ - onUnbindStore?( store?:Ext.data.IAbstractStore, initial?:bool ): void; + onUnbindStore?( store?:Ext.data.IAbstractStore, initial?:boolean ): void; /** [Method] Unbinds listeners from this component to the store * @param store Ext.data.AbstractStore The store to unbind from */ @@ -34995,7 +34330,7 @@ declare module Ext.util { declare module Ext.util { export interface IClickRepeater extends Ext.util.IObservable { /** [Config Option] (Boolean) */ - accelerate?: bool; + accelerate?: boolean; /** [Config Option] (Number) */ delay?: number; /** [Config Option] (String/HTMLElement/Ext.Element) */ @@ -35005,9 +34340,9 @@ declare module Ext.util { /** [Config Option] (String) */ pressedCls?: string; /** [Config Option] (Boolean) */ - preventDefault?: bool; + preventDefault?: boolean; /** [Config Option] (Boolean) */ - stopDefault?: bool; + stopDefault?: boolean; /** [Method] Disables the repeater and stops events from firing * @param force Object */ @@ -35017,15 +34352,15 @@ declare module Ext.util { /** [Method] Convenience function for setting disabled enabled by boolean * @param disabled Boolean */ - setDisabled?( disabled?:bool ): void; + setDisabled?( disabled?:boolean ): void; } } declare module Ext.util { export interface IComponentDragger extends Ext.dd.IDragTracker { /** [Config Option] (Boolean) */ - constrain?: bool; + constrain?: boolean; /** [Config Option] (Boolean) */ - constrainDelegate?: bool; + constrainDelegate?: boolean; /** [Method] Move either the ghost Component or the target Component to its new position on drag * @param e Object */ @@ -35084,32 +34419,9 @@ declare module Ext.util { * @param domain String Setting a domain restricts access to pages on a given domain (typically used to allow cookie access across subdomains). For example, "sencha.com" will create a cookie that can be accessed from any subdomain of sencha.com, including www.sencha.com, support.sencha.com, etc. * @param secure Boolean Specify true to indicate that the cookie should only be accessible via SSL on a page using the HTTPS protocol. Defaults to false. Note that this will only work if the page calling this code uses the HTTPS protocol, otherwise the cookie will be created with default options. */ - static set( name?:string, value?:any, expires?:any, path?:string, domain?:string, secure?:bool ): void; + static set( name?:string, value?:any, expires?:any, path?:string, domain?:string, secure?:boolean ): void; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.util { @@ -35151,12 +34463,12 @@ declare module Ext.util { * @param refreshCache Boolean true to refresh the internal cache if you have recently updated any rules or added styles dynamically */ static getRule( selector?:any, refreshCache?:any ): any; - static getRule( selector?:string, refreshCache?:bool ): CSSStyleRule; - static getRule( selector?:string[], refreshCache?:bool ): CSSStyleRule; + static getRule( selector?:string, refreshCache?:boolean ): CSSStyleRule; + static getRule( selector?:string[], refreshCache?:boolean ): CSSStyleRule; /** [Method] Gets all css rules for the document * @param refreshCache Boolean true to refresh the internal cache */ - static getRules( refreshCache?:bool ): any; + static getRules( refreshCache?:boolean ): any; /** [Method] Initialize configuration for this class * @param config Object */ @@ -35180,31 +34492,8 @@ declare module Ext.util { * @param value String The new value for the property */ static updateRule( selector?:any, property?:any, value?:any ): any; - static updateRule( selector?:string, property?:string, value?:string ): bool; - static updateRule( selector?:string[], property?:string, value?:string ): bool; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; + static updateRule( selector?:string, property?:string, value?:string ): boolean; + static updateRule( selector?:string[], property?:string, value?:string ): boolean; } } declare module Ext.util { @@ -35235,17 +34524,17 @@ declare module Ext.util { declare module Ext.util { export interface IEvent extends Ext.IBase { /** [Property] (Boolean) */ - isEvent?: bool; + isEvent?: boolean; } } declare module Ext.util { export interface IFilter extends Ext.IBase { /** [Config Option] (Boolean) */ - anyMatch?: bool; + anyMatch?: boolean; /** [Config Option] (Boolean) */ - caseSensitive?: bool; + caseSensitive?: boolean; /** [Config Option] (Boolean) */ - exactMatch?: bool; + exactMatch?: boolean; /** [Config Option] (Function) */ filterFn?: any; /** [Config Option] (String) */ @@ -35259,7 +34548,7 @@ declare module Ext.util { /** [Config Option] (Mixed) */ value?: any; /** [Property] (Boolean) */ - disabled?: bool; + disabled?: boolean; /** [Method] Changes the filtering function which this Filter uses to choose items to include * @param filterFn Function A function which returns true or false to either include or exclude the passed object. */ @@ -35268,20 +34557,45 @@ declare module Ext.util { * @param value Mixed The new value to compare the property with. */ setValue?( value?:any ): void; + } + export class Filter { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Creates a single filter function which encapsulates the passed Filter array * @param filters Ext.util.Filter[] The filter set for which to create a filter function */ - createFilterFn?( filters?:Ext.util.IFilter[] ): any; + static createFilterFn( filters?:Ext.util.IFilter[] ): any; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Adds members to class */ + static implement(): void; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext.util { export interface IFloating extends Ext.IBase { /** [Config Option] (Boolean) */ - constrain?: bool; + constrain?: boolean; /** [Config Option] (Boolean) */ - fixed?: bool; + fixed?: boolean; /** [Config Option] (Boolean) */ - focusOnToFront?: bool; + focusOnToFront?: boolean; /** [Config Option] (String/Boolean) */ shadow?: any; /** [Config Option] (Number) */ @@ -35300,13 +34614,13 @@ declare module Ext.util { * @param active Boolean True to activate the Component, false to deactivate it. * @param newActive Ext.Component The newly active Component which is taking over topmost zIndex position. */ - setActive?( active?:bool, newActive?:Ext.IComponent ): void; + setActive?( active?:boolean, newActive?:Ext.IComponent ): void; /** [Method] Sends this Component to the back of lower z index than any other visible windows */ toBack?(): Ext.IComponent; /** [Method] Brings this floating Component to the front of any other visible floating Components managed by the same ZIndexManag * @param preventFocus Boolean Specify true to prevent the Component from being focused. */ - toFront?( preventFocus?:bool ): Ext.IComponent; + toFront?( preventFocus?:boolean ): Ext.IComponent; } } declare module Ext.util { @@ -35328,8 +34642,8 @@ declare module Ext.util { * @param end Boolean True if the currency sign should be at the end of the string (defaults to currencyAtEnd) */ static currency( value?:any, sign?:any, decimals?:any, end?:any ): any; - static currency( value?:number, sign?:string, decimals?:number, end?:bool ): string; - static currency( value?:string, sign?:string, decimals?:number, end?:bool ): string; + static currency( value?:number, sign?:string, decimals?:number, end?:boolean ): string; + static currency( value?:string, sign?:string, decimals?:number, end?:boolean ): string; /** [Method] Formats the passed date using the specified format pattern * @param value String/Date The value to format. If a string is passed, it is converted to a Date by the Javascript's built-in Date.parse method. * @param format String Any valid date format string. Defaults to Ext.Date.defaultFormat. @@ -35351,7 +34665,7 @@ declare module Ext.util { * @param length Number The maximum length to allow before truncating. * @param word Boolean true to try to find a common word break. */ - static ellipsis( value?:string, length?:number, word?:bool ): string; + static ellipsis( value?:string, length?:number, word?:boolean ): string; /** [Method] Escapes the passed string for use in a regular expression * @param str String */ @@ -35504,11 +34818,11 @@ declare module Ext.util { /** [Method] Checks whether a value exists in the hash * @param value Object The value to check for. */ - contains?( value?:any ): bool; + contains?( value?:any ): boolean; /** [Method] Checks whether a key exists in the hash * @param key String The key to check for. */ - containsKey?( key?:string ): bool; + containsKey?( key?:string ): boolean; /** [Method] Executes the specified function once for each item in the hash * @param fn Function The function to execute. * @param scope Object The scope to execute in. Defaults to this. @@ -35524,12 +34838,12 @@ declare module Ext.util { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Retrieves an item with a particular key * @param key String The key to lookup. */ @@ -35547,7 +34861,7 @@ declare module Ext.util { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -35583,11 +34897,11 @@ declare module Ext.util { /** [Method] Remove an item from the hash * @param o Object The value of the item to remove. */ - remove?( o?:any ): bool; + remove?( o?:any ): boolean; /** [Method] Remove an item from the hash * @param key String The key to remove. */ - removeAtKey?( key?:string ): bool; + removeAtKey?( key?:string ): boolean; /** [Method] Removes an event handler * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -35621,7 +34935,7 @@ declare module Ext.util { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. @@ -35638,7 +34952,7 @@ declare module Ext.util { * @param token String The value that defines a particular application-specific history state * @param preventDuplicates Boolean When true, if the passed token matches the current token it will not save a new history step. Set to false if the same state can be saved more than once at the same history stack location. */ - static add( token?:string, preventDuplicates?:bool ): void; + static add( token?:string, preventDuplicates?:boolean ): void; /** [Method] Adds the specified events to the list of events which this Observable may fire * @param eventNames Object/String... Either an object with event names as properties with a value of true. For example: this.addEvents({ storeloaded: true, storecleared: true }); Or any number of event names as separate parameters. For example: this.addEvents('storeloaded', 'storecleared'); */ @@ -35691,12 +35005,12 @@ declare module Ext.util { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - static fireEventArgs( eventName?:string, args?:any[] ): bool; + static fireEventArgs( eventName?:string, args?:any[] ): boolean; /** [Method] Programmatically steps forward one step in browser history equivalent to the user pressing the Forward button */ static forward(): void; /** [Method] Returns the initial configuration passed to constructor when instantiating this class @@ -35708,7 +35022,7 @@ declare module Ext.util { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Initializes the global History instance * @param onReady Function A callback function that will be called once the history component is fully initialized. * @param scope Object The scope (this reference) in which the callback is executed. Defaults to the browser window. @@ -35780,36 +35094,13 @@ declare module Ext.util { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - static suspendEvents( queueSuspended?:bool ): void; + static suspendEvents( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. * @param scope Object The scope originally specified for the handler. It must be the same as the scope argument specified in the original call to Ext.util.Observable.addListener or the listener will not be removed. */ static un( eventName?:string, fn?:any, scope?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -35820,7 +35111,7 @@ declare module Ext { * @param token String The value that defines a particular application-specific history state * @param preventDuplicates Boolean When true, if the passed token matches the current token it will not save a new history step. Set to false if the same state can be saved more than once at the same history stack location. */ - static add( token?:string, preventDuplicates?:bool ): void; + static add( token?:string, preventDuplicates?:boolean ): void; /** [Method] Adds the specified events to the list of events which this Observable may fire * @param eventNames Object/String... Either an object with event names as properties with a value of true. For example: this.addEvents({ storeloaded: true, storecleared: true }); Or any number of event names as separate parameters. For example: this.addEvents('storeloaded', 'storecleared'); */ @@ -35873,12 +35164,12 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - static fireEventArgs( eventName?:string, args?:any[] ): bool; + static fireEventArgs( eventName?:string, args?:any[] ): boolean; /** [Method] Programmatically steps forward one step in browser history equivalent to the user pressing the Forward button */ static forward(): void; /** [Method] Returns the initial configuration passed to constructor when instantiating this class @@ -35890,7 +35181,7 @@ declare module Ext { /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Initializes the global History instance * @param onReady Function A callback function that will be called once the history component is fully initialized. * @param scope Object The scope (this reference) in which the callback is executed. Defaults to the browser window. @@ -35962,36 +35253,13 @@ declare module Ext { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - static suspendEvents( queueSuspended?:bool ): void; + static suspendEvents( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. * @param scope Object The scope originally specified for the handler. It must be the same as the scope argument specified in the original call to Ext.util.Observable.addListener or the listener will not be removed. */ static un( eventName?:string, fn?:any, scope?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.util { @@ -36032,7 +35300,7 @@ declare module Ext.util { /** [Method] Returns true if the given word is transnumeral the word is its own singular and plural form e g * @param word String The word to test */ - static isTransnumeral( word?:string ): bool; + static isTransnumeral( word?:string ): boolean; /** [Method] Ordinalizes a given number by adding a prefix such as st nd rd or th based on the last digit of the number * @param number Number The number to ordinalize */ @@ -36057,29 +35325,6 @@ declare module Ext.util { static singularize( word?:string ): string; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.util { @@ -36089,7 +35334,7 @@ declare module Ext.util { /** [Config Option] (String) */ eventName?: string; /** [Config Option] (Boolean) */ - ignoreInputFields?: bool; + ignoreInputFields?: boolean; /** [Config Option] (Function) */ processEvent?: any; /** [Config Option] (Object) */ @@ -36103,13 +35348,13 @@ declare module Ext.util { /** [Method] Destroys the KeyMap instance and removes all handlers * @param removeTarget Boolean True to also remove the target */ - destroy?( removeTarget?:bool ): void; + destroy?( removeTarget?:boolean ): void; /** [Method] Disable this KeyMap */ disable?(): void; /** [Method] Enables this KeyMap */ enable?(): void; /** [Method] Returns true if this KeyMap is enabled */ - isEnabled?(): bool; + isEnabled?(): boolean; /** [Method] Shorthand for adding a single key listener * @param key Number/Number[]/Object Either the numeric key code, array of key codes or an object with the following options: {key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)} * @param fn Function The function to call @@ -36123,7 +35368,7 @@ declare module Ext.util { /** [Method] Convenience function for setting disabled enabled by boolean * @param disabled Boolean */ - setDisabled?( disabled?:bool ): void; + setDisabled?( disabled?:boolean ): void; /** [Method] Shorthand for removing a single key listener * @param key Number/Number[]/Object Either the numeric key code, array of key codes or an object with the following options: {key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)} * @param fn Function The function to call @@ -36139,7 +35384,7 @@ declare module Ext { /** [Config Option] (String) */ eventName?: string; /** [Config Option] (Boolean) */ - ignoreInputFields?: bool; + ignoreInputFields?: boolean; /** [Config Option] (Function) */ processEvent?: any; /** [Config Option] (Object) */ @@ -36153,13 +35398,13 @@ declare module Ext { /** [Method] Destroys the KeyMap instance and removes all handlers * @param removeTarget Boolean True to also remove the target */ - destroy?( removeTarget?:bool ): void; + destroy?( removeTarget?:boolean ): void; /** [Method] Disable this KeyMap */ disable?(): void; /** [Method] Enables this KeyMap */ enable?(): void; /** [Method] Returns true if this KeyMap is enabled */ - isEnabled?(): bool; + isEnabled?(): boolean; /** [Method] Shorthand for adding a single key listener * @param key Number/Number[]/Object Either the numeric key code, array of key codes or an object with the following options: {key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)} * @param fn Function The function to call @@ -36173,7 +35418,7 @@ declare module Ext { /** [Method] Convenience function for setting disabled enabled by boolean * @param disabled Boolean */ - setDisabled?( disabled?:bool ): void; + setDisabled?( disabled?:boolean ): void; /** [Method] Shorthand for removing a single key listener * @param key Number/Number[]/Object Either the numeric key code, array of key codes or an object with the following options: {key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)} * @param fn Function The function to call @@ -36187,13 +35432,13 @@ declare module Ext.util { /** [Config Option] (String) */ defaultEventAction?: string; /** [Config Option] (Boolean) */ - disabled?: bool; + disabled?: boolean; /** [Config Option] (String) */ eventName?: string; /** [Config Option] (Boolean) */ - forceKeyDown?: bool; + forceKeyDown?: boolean; /** [Config Option] (Boolean) */ - ignoreInputFields?: bool; + ignoreInputFields?: boolean; /** [Config Option] (Ext.util.KeyMap) */ keyMap?: Ext.util.IKeyMap; /** [Config Option] (Function) */ @@ -36205,7 +35450,7 @@ declare module Ext.util { /** [Method] Destroy this KeyNav * @param removeEl Boolean Pass true to remove the element associated with this KeyNav. */ - destroy?( removeEl?:bool ): void; + destroy?( removeEl?:boolean ): void; /** [Method] Disables this KeyNav */ disable?(): void; /** [Method] Enables this KeyNav */ @@ -36213,7 +35458,7 @@ declare module Ext.util { /** [Method] Convenience function for setting disabled enabled by boolean * @param disabled Boolean */ - setDisabled?( disabled?:bool ): void; + setDisabled?( disabled?:boolean ): void; } } declare module Ext { @@ -36221,13 +35466,13 @@ declare module Ext { /** [Config Option] (String) */ defaultEventAction?: string; /** [Config Option] (Boolean) */ - disabled?: bool; + disabled?: boolean; /** [Config Option] (String) */ eventName?: string; /** [Config Option] (Boolean) */ - forceKeyDown?: bool; + forceKeyDown?: boolean; /** [Config Option] (Boolean) */ - ignoreInputFields?: bool; + ignoreInputFields?: boolean; /** [Config Option] (Ext.util.KeyMap) */ keyMap?: Ext.util.IKeyMap; /** [Config Option] (Function) */ @@ -36239,7 +35484,7 @@ declare module Ext { /** [Method] Destroy this KeyNav * @param removeEl Boolean Pass true to remove the element associated with this KeyNav. */ - destroy?( removeEl?:bool ): void; + destroy?( removeEl?:boolean ): void; /** [Method] Disables this KeyNav */ disable?(): void; /** [Method] Enables this KeyNav */ @@ -36247,7 +35492,7 @@ declare module Ext { /** [Method] Convenience function for setting disabled enabled by boolean * @param disabled Boolean */ - setDisabled?( disabled?:bool ): void; + setDisabled?( disabled?:boolean ): void; } } declare module Ext.util { @@ -36270,7 +35515,7 @@ declare module Ext.util { * @param scope Object The scope (this reference) to execute in. Defaults to this LruCache. * @param reverse Boolean Pass true to iterate the list in reverse (most recent first) order. */ - each?( fn?:any, scope?:any, reverse?:bool ): Ext.util.ILruCache; + each?( fn?:any, scope?:any, reverse?:boolean ): Ext.util.ILruCache; /** [Method] Retrieves an item with a particular key * @param key Object */ @@ -36302,19 +35547,19 @@ declare module Ext.util { * @param target Object The object to which to restore properties. */ restore?( props?:any, clear?:any, target?:any ): any; - restore?( props?:string, clear?:bool, target?:any ): void; - restore?( props?:string[], clear?:bool, target?:any ): void; + restore?( props?:string, clear?:boolean, target?:any ): void; + restore?( props?:string[], clear?:boolean, target?:any ): void; /** [Method] Restores all captured properties in this memento to the target object * @param clear Boolean True to remove the restored properties from this memento or false to keep them (default is true). * @param target Object The object to which to restore properties. */ - restoreAll?( clear?:bool, target?:any ): void; + restoreAll?( clear?:boolean, target?:any ): void; } } declare module Ext.util { export interface IMixedCollection extends Ext.util.IAbstractMixedCollection,Ext.util.ISortable { /** [Config Option] (Boolean) */ - allowFunctions?: bool; + allowFunctions?: boolean; /** [Method] Calculates the insertion index of the new item based upon the comparison function passed or the current sort order * @param newItem Object The new object to find the insertion position of. * @param sorterFn Function The function to sort by. This is the same as the sorting function passed to sortBy. It accepts 2 items from this MixedCollection, and returns -1 0, or 1 depending on the relative sort positions of the 2 compared items. If omitted, a function generated from the currently defined set of sorters will be used. @@ -36355,7 +35600,7 @@ declare module Ext.util { /** [Property] (Object) */ hasListeners?: any; /** [Property] (Boolean) */ - isObservable?: bool; + isObservable?: boolean; /** [Method] Adds the specified events to the list of events which this Observable may fire * @param eventNames Object/String... Either an object with event names as properties with a value of true. For example: this.addEvents({ storeloaded: true, storecleared: true }); Or any number of event names as separate parameters. For example: this.addEvents('storeloaded', 'storecleared'); */ @@ -36391,16 +35636,16 @@ declare module Ext.util { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Fires the specified event with the passed parameter list * @param eventName String The name of the event to fire. * @param args Object[] An array of parameters which are passed to handlers. */ - fireEventArgs?( eventName?:string, args?:any[] ): bool; + fireEventArgs?( eventName?:string, args?:any[] ): boolean; /** [Method] Checks to see if this object has any listeners for a specified event or whether the event bubbles * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Shorthand for addManagedListener * @param item Ext.util.Observable/Ext.Element The item to which to add a listener/listeners. * @param ename Object/String The event name, or an object containing event name properties. @@ -36461,28 +35706,53 @@ declare module Ext.util { /** [Method] Suspends the firing of all events * @param queueSuspended Boolean Pass as true to queue up suspended events to be fired after the resumeEvents call instead of discarding all suspended events. */ - suspendEvents?( queueSuspended?:bool ): void; + suspendEvents?( queueSuspended?:boolean ): void; /** [Method] Shorthand for removeListener * @param eventName String The type of event the handler was associated with. * @param fn Function The handler to remove. This must be a reference to the function passed into the Ext.util.Observable.addListener call. * @param scope Object The scope originally specified for the handler. It must be the same as the scope argument specified in the original call to Ext.util.Observable.addListener or the listener will not be removed. */ un?( eventName?:string, fn?:any, scope?:any ): void; + } + export class Observable { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; /** [Method] Starts capture on the specified Observable * @param o Ext.util.Observable The Observable to capture events from. * @param fn Function The function to call when an event is fired. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the Observable firing the event. */ - capture?( o?:Ext.util.IObservable, fn?:any, scope?:any ): void; + static capture( o?:Ext.util.IObservable, fn?:any, scope?:any ): void; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Adds members to class */ + static implement(): void; /** [Method] Sets observability on the passed class constructor * @param c Function The class constructor to make observable. * @param listeners Object An object containing a series of listeners to add. See addListener. */ - observe?( c?:any, listeners?:any ): void; + static observe( c?:any, listeners?:any ): void; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; /** [Method] Removes all added captures from the Observable * @param o Ext.util.Observable The Observable to release */ - releaseCapture?( o?:Ext.util.IObservable ): void; + static releaseCapture( o?:Ext.util.IObservable ): void; } } declare module Ext.util { @@ -36494,24 +35764,24 @@ declare module Ext.util { /** [Method] Compare this point and another point * @param p Ext.util.Point/Object The point to compare with, either an instance of Ext.util.Point or an object with left and top properties */ - equals?( p?:any ): bool; + equals?( p?:any ): boolean; /** [Method] Determins whether this Point contained by the passed Region Component or element * @param region Ext.util.Region/Ext.Component/Ext.dom.Element/HTMLElement The rectangle to check that this Point is within. */ isContainedBy?( region?:any ): any; - isContainedBy?( region?:Ext.util.IRegion ): bool; - isContainedBy?( region?:Ext.IComponent ): bool; - isContainedBy?( region?:Ext.dom.IElement ): bool; - isContainedBy?( region?:HTMLElement ): bool; + isContainedBy?( region?:Ext.util.IRegion ): boolean; + isContainedBy?( region?:Ext.IComponent ): boolean; + isContainedBy?( region?:Ext.dom.IElement ): boolean; + isContainedBy?( region?:HTMLElement ): boolean; /** [Method] Whether the given point is not away from this point within the given threshold amount * @param p Ext.util.Point/Object The point to check with, either an instance of Ext.util.Point or an object with left and top properties * @param threshold Object/Number Can be either an object with x and y properties or a number */ - isWithin?( p?:any, threshold?:any ): bool; + isWithin?( p?:any, threshold?:any ): boolean; /** [Method] Compare this point with another point when the x and y values of both points are rounded * @param p Ext.util.Point/Object The point to compare with, either an instance of Ext.util.Point or an object with x and y properties */ - roundedEquals?( p?:any ): bool; + roundedEquals?( p?:any ): boolean; /** [Method] Returns a human eye friendly string that represents this point useful for debugging */ toString?(): string; /** [Method] Alias for translateBy @@ -36519,10 +35789,35 @@ declare module Ext.util { * @param y Number The y value unless using an Offset object. */ translate?( x?:any, y?:number ): Ext.util.IRegion; + } + export class Point { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Returns a new instance of Ext util Point base on the pageX pageY values of the given event * @param e Ext.EventObject/Event The event */ - fromEvent?( e?:any ): Ext.util.IPoint; + static fromEvent( e?:any ): Ext.util.IPoint; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Adds members to class */ + static implement(): void; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext.util { @@ -36546,9 +35841,9 @@ declare module Ext.util { * @param callback Function The function to call after the animation finishes */ anchorTo?( element?:any, position?:any, offsets?:any, animate?:any, monitorScroll?:any, callback?:any ): any; - anchorTo?( element?:Ext.util.IPositionable, position?:string, offsets?:number[], animate?:any, monitorScroll?:bool, callback?:any ): Ext.util.IPositionable; - anchorTo?( element?:HTMLElement, position?:string, offsets?:number[], animate?:any, monitorScroll?:bool, callback?:any ): Ext.util.IPositionable; - anchorTo?( element?:string, position?:string, offsets?:number[], animate?:any, monitorScroll?:bool, callback?:any ): Ext.util.IPositionable; + anchorTo?( element?:Ext.util.IPositionable, position?:string, offsets?:number[], animate?:any, monitorScroll?:boolean, callback?:any ): Ext.util.IPositionable; + anchorTo?( element?:HTMLElement, position?:string, offsets?:number[], animate?:any, monitorScroll?:boolean, callback?:any ): Ext.util.IPositionable; + anchorTo?( element?:string, position?:string, offsets?:number[], animate?:any, monitorScroll?:boolean, callback?:any ): Ext.util.IPositionable; anchorTo?( element?:Ext.util.IPositionable, position?:string, offsets?:number[], animate?:any, monitorScroll?:number, callback?:any ): Ext.util.IPositionable; anchorTo?( element?:HTMLElement, position?:string, offsets?:number[], animate?:any, monitorScroll?:number, callback?:any ): Ext.util.IPositionable; anchorTo?( element?:string, position?:string, offsets?:number[], animate?:any, monitorScroll?:number, callback?:any ): Ext.util.IPositionable; @@ -36559,10 +35854,10 @@ declare module Ext.util { * @param proposedSize Number[] A proposed [width, height] size to use when calculating constraints instead of using this Positionable's current size. */ calculateConstrainedPosition?( constrainTo?:any, proposedPosition?:any, local?:any, proposedSize?:any ): any; - calculateConstrainedPosition?( constrainTo?:string, proposedPosition?:number[], local?:bool, proposedSize?:number[] ): number[]; - calculateConstrainedPosition?( constrainTo?:HTMLElement, proposedPosition?:number[], local?:bool, proposedSize?:number[] ): number[]; - calculateConstrainedPosition?( constrainTo?:Ext.IElement, proposedPosition?:number[], local?:bool, proposedSize?:number[] ): number[]; - calculateConstrainedPosition?( constrainTo?:Ext.util.IRegion, proposedPosition?:number[], local?:bool, proposedSize?:number[] ): number[]; + calculateConstrainedPosition?( constrainTo?:string, proposedPosition?:number[], local?:boolean, proposedSize?:number[] ): number[]; + calculateConstrainedPosition?( constrainTo?:HTMLElement, proposedPosition?:number[], local?:boolean, proposedSize?:number[] ): number[]; + calculateConstrainedPosition?( constrainTo?:Ext.IElement, proposedPosition?:number[], local?:boolean, proposedSize?:number[] ): number[]; + calculateConstrainedPosition?( constrainTo?:Ext.util.IRegion, proposedPosition?:number[], local?:boolean, proposedSize?:number[] ): number[]; /** [Method] Gets the x y coordinates to align this element with another element * @param element Ext.util.Positionable/HTMLElement/String The Positionable, HTMLElement, or id of the element to align to. * @param position String The position to align to @@ -36577,12 +35872,12 @@ declare module Ext.util { * @param local Boolean True to get the local (element top/left-relative) anchor position instead of page coordinates * @param size Object An object containing the size to use for calculating anchor position {width: (target width), height: (target height)} (defaults to the element's current size) */ - getAnchorXY?( anchor?:string, local?:bool, size?:any ): number[]; + getAnchorXY?( anchor?:string, local?:boolean, size?:any ): number[]; /** [Method] Return an object defining the area of this Element which can be passed to setBox to set another Element s size locati * @param contentBox Boolean If true a box for the content of the element is returned. * @param local Boolean If true the element's left and top relative to its offsetParent are returned instead of page x/y. */ - getBox?( contentBox?:bool, local?:bool ): any; + getBox?( contentBox?:boolean, local?:boolean ): any; /** [Method] Returns the X Y vector by which this Positionable s element must be translated to make a best attempt to constrain * @param constrainTo Ext.util.Positionable/HTMLElement/String/Ext.util.Region The Positionable, HTMLElement, element id, or Region into which the element is to be constrained. * @param proposedPosition Number[] A proposed [X, Y] position to test for validity and to produce a vector for instead of using the element's current position @@ -36598,10 +35893,10 @@ declare module Ext.util { * @param proposedPosition Number[] A proposed [X, Y] position to test for validity and to produce a vector for instead of using the element's current position * @param proposedSize Number[] A proposed [width, height] size to constrain instead of using the element's current size */ - getConstrainVector?( constrainTo?:Ext.util.IPositionable, proposedPosition?:number[], proposedSize?:number[] ): bool; - getConstrainVector?( constrainTo?:HTMLElement, proposedPosition?:number[], proposedSize?:number[] ): bool; - getConstrainVector?( constrainTo?:string, proposedPosition?:number[], proposedSize?:number[] ): bool; - getConstrainVector?( constrainTo?:Ext.util.IRegion, proposedPosition?:number[], proposedSize?:number[] ): bool; + getConstrainVector?( constrainTo?:Ext.util.IPositionable, proposedPosition?:number[], proposedSize?:number[] ): boolean; + getConstrainVector?( constrainTo?:HTMLElement, proposedPosition?:number[], proposedSize?:number[] ): boolean; + getConstrainVector?( constrainTo?:string, proposedPosition?:number[], proposedSize?:number[] ): boolean; + getConstrainVector?( constrainTo?:Ext.util.IRegion, proposedPosition?:number[], proposedSize?:number[] ): boolean; /** [Method] Returns the x coordinate of this element reletive to its offsetParent */ getLocalX?(): number; /** [Method] Returns the x and y coordinates of this element relative to its offsetParent */ @@ -36689,7 +35984,7 @@ declare module Ext.util { /** [Property] (String) */ removedProp?: string; /** [Property] (Boolean) */ - styleIsText?: bool; + styleIsText?: boolean; /** [Property] (String) */ styleProp?: string; /** [Method] Adds class to the element @@ -36701,7 +35996,7 @@ declare module Ext.util { /** [Method] True if the element has given class * @param cls String */ - hasCls?( cls?:string ): bool; + hasCls?( cls?:string ): boolean; /** [Method] Removes class from the element * @param cls String One or more classnames separated with spaces. */ @@ -36745,7 +36040,7 @@ declare module Ext.util { /** [Method] Checks if this region completely contains the region that is passed in * @param region Ext.util.Region */ - contains?( region?:Ext.util.IRegion ): bool; + contains?( region?:Ext.util.IRegion ): boolean; /** [Method] Create a copy of this Region */ copy?(): Ext.util.IRegion; /** [Method] Copy the values of another Region to this Region @@ -36755,7 +36050,7 @@ declare module Ext.util { /** [Method] Check whether this region is equivalent to the given region * @param region Ext.util.Region The region to compare with */ - equals?( region?:Ext.util.IRegion ): bool; + equals?( region?:Ext.util.IRegion ): boolean; /** [Method] Get the offset amount of a point outside the region * @param axis String * @param p Ext.util.Point the point @@ -36776,22 +36071,22 @@ declare module Ext.util { /** [Method] Checks if this region intersects the region passed in * @param region Ext.util.Region */ - intersect?( region?:Ext.util.IRegion ): bool; + intersect?( region?:Ext.util.IRegion ): boolean; /** [Method] Check whether the point offset is out of bound * @param axis String * @param p Ext.util.Point/Number the point / offset */ isOutOfBound?( axis?:any, p?:any ): any; - isOutOfBound?( axis?:string, p?:Ext.util.IPoint ): bool; - isOutOfBound?( axis?:string, p?:number ): bool; + isOutOfBound?( axis?:string, p?:Ext.util.IPoint ): boolean; + isOutOfBound?( axis?:string, p?:number ): boolean; /** [Method] Check whether the offset is out of bound in the x axis * @param p Number the offset */ - isOutOfBoundX?( p?:number ): bool; + isOutOfBoundX?( p?:number ): boolean; /** [Method] Check whether the offset is out of bound in the y axis * @param p Number the offset */ - isOutOfBoundY?( p?:number ): bool; + isOutOfBoundY?( p?:number ): boolean; /** [Method] Round all the properties of this region */ round?(): Ext.util.IRegion; /** [Method] Translate this region by the given offset amount @@ -36803,17 +36098,42 @@ declare module Ext.util { * @param region Ext.util.Region */ union?( region?:Ext.util.IRegion ): Ext.util.IRegion; + } + export class Region { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Creates a Region from a box Object which contains four numeric properties top right bottom and left * @param o Object An object with top, right, bottom and left properties. */ - from?( o?:any ): Ext.util.IRegion; + static from( o?:any ): Ext.util.IRegion; + /** [Method] Get the current class name in string format */ + static getName(): string; /** [Method] Retrieves an Ext util Region for a particular element * @param el String/HTMLElement/Ext.Element An element ID, htmlElement or Ext.Element representing an element in the document. */ - getRegion?( el?:any ): any; - getRegion?( el?:string ): Ext.util.IRegion; - getRegion?( el?:HTMLElement ): Ext.util.IRegion; - getRegion?( el?:Ext.IElement ): Ext.util.IRegion; + static getRegion( el?:any ): any; + static getRegion( el?:string ): Ext.util.IRegion; + static getRegion( el?:HTMLElement ): Ext.util.IRegion; + static getRegion( el?:Ext.IElement ): Ext.util.IRegion; + /** [Method] Adds members to class */ + static implement(): void; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext.util { @@ -36825,7 +36145,7 @@ declare module Ext.util { /** [Method] Ensures that this component is attached to document body * @param runLayout Boolean True to run the component's layout. */ - ensureAttachedToBody?( runLayout?:bool ): void; + ensureAttachedToBody?( runLayout?:boolean ): void; /** [Method] This function takes the position argument passed to onRender and returns a DOM element that you can use in the insert * @param position String/Number/Ext.dom.Element/HTMLElement Index, element id or element you want to put this component before. */ @@ -36863,7 +36183,7 @@ declare module Ext.util { /** [Config Option] (Ext.util.Sorter[]/Object[]) */ sorters?: any; /** [Property] (Boolean) */ - isSortable?: bool; + isSortable?: boolean; /** [Method] Returns a comparator function which compares two items and returns 1 0 or 1 depending on the currently defined set */ generateComparator?(): void; /** [Method] Gets the first sorter from the sorters collection excluding any groupers that may be in place */ @@ -36877,10 +36197,35 @@ declare module Ext.util { sort?( sorters?:any, direction?:any ): any; sort?( sorters?:string, direction?:string ): Ext.util.ISorter[]; sort?( sorters?:Ext.util.ISorter[], direction?:string ): Ext.util.ISorter[]; + } + export class Sortable { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Creates a single comparator function which encapsulates the passed Sorter array * @param sorters Ext.util.Sorter[] The sorter set for which to create a comparator function */ - createComparator?( sorters?:Ext.util.ISorter[] ): any; + static createComparator( sorters?:Ext.util.ISorter[] ): any; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Adds members to class */ + static implement(): void; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext.util { @@ -36952,29 +36297,6 @@ declare module Ext.util { static stop( task?:any ): any; /** [Method] Stops all tasks that are currently running */ static stopAll(): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -37022,35 +36344,12 @@ declare module Ext { static stop( task?:any ): any; /** [Method] Stops all tasks that are currently running */ static stopAll(): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Adds members to class */ - static implement(): void; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.util { export interface ITaskRunner extends Ext.IBase { /** [Config Option] (Boolean) */ - fireIdleEvent?: bool; + fireIdleEvent?: boolean; /** [Config Option] (Number) */ interval?: number; /** [Method] Destroys this instance stopping all tasks that are currently running */ @@ -37074,7 +36373,7 @@ declare module Ext.util { declare module Ext.util.taskrunner { export interface ITask { /** [Property] (Boolean) */ - fireOnStart?: bool; + fireOnStart?: boolean; /** [Method] Destroys this instance stopping this task s execution */ destroy?(): void; /** [Method] Restarts this task clearing it duration expiration and run count @@ -37116,14 +36415,41 @@ declare module Ext.util { * @param width Number The width to set on the element */ setFixedWidth?( width?:number ): void; + } + export class TextMetrics { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; + /** [Method] Destroy the TextMetrics instance created by measure */ + static destroy(): void; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Adds members to class */ + static implement(): void; /** [Method] Measures the size of the specified text * @param el String/HTMLElement The element, dom node or id from which to copy existing CSS styles that can affect the size of the rendered text * @param text String The text to measure * @param fixedWidth Number If the text will be multiline, you have to set a fixed width in order to accurately measure the text height */ - measure?( el?:any, text?:any, fixedWidth?:any ): any; - measure?( el?:string, text?:string, fixedWidth?:number ): any; - measure?( el?:HTMLElement, text?:string, fixedWidth?:number ): any; + static measure( el?:any, text?:any, fixedWidth?:any ): any; + static measure( el?:string, text?:string, fixedWidth?:number ): any; + static measure( el?:HTMLElement, text?:string, fixedWidth?:number ): any; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -37132,8 +36458,8 @@ declare module Ext { * @param target String/Number The version to compare with */ equals?( target?:any ): any; - equals?( target?:string ): bool; - equals?( target?:number ): bool; + equals?( target?:string ): boolean; + equals?( target?:number ): boolean; /** [Method] Returns the build component value */ getBuild?(): number; /** [Method] Returns the major component value */ @@ -37150,79 +36476,81 @@ declare module Ext { * @param target String/Number */ gt?( target?:any ): any; - gt?( target?:string ): bool; - gt?( target?:number ): bool; + gt?( target?:string ): boolean; + gt?( target?:number ): boolean; /** [Method] Convenient alias to isGreaterThanOrEqual * @param target String/Number */ gtEq?( target?:any ): any; - gtEq?( target?:string ): bool; - gtEq?( target?:number ): bool; + gtEq?( target?:string ): boolean; + gtEq?( target?:number ): boolean; /** [Method] Returns whether this version if greater than the supplied argument * @param target String/Number The version to compare with */ isGreaterThan?( target?:any ): any; - isGreaterThan?( target?:string ): bool; - isGreaterThan?( target?:number ): bool; + isGreaterThan?( target?:string ): boolean; + isGreaterThan?( target?:number ): boolean; /** [Method] Returns whether this version if greater than or equal to the supplied argument * @param target String/Number The version to compare with */ isGreaterThanOrEqual?( target?:any ): any; - isGreaterThanOrEqual?( target?:string ): bool; - isGreaterThanOrEqual?( target?:number ): bool; + isGreaterThanOrEqual?( target?:string ): boolean; + isGreaterThanOrEqual?( target?:number ): boolean; /** [Method] Returns whether this version if smaller than the supplied argument * @param target String/Number The version to compare with */ isLessThan?( target?:any ): any; - isLessThan?( target?:string ): bool; - isLessThan?( target?:number ): bool; + isLessThan?( target?:string ): boolean; + isLessThan?( target?:number ): boolean; /** [Method] Returns whether this version if less than or equal to the supplied argument * @param target String/Number The version to compare with */ isLessThanOrEqual?( target?:any ): any; - isLessThanOrEqual?( target?:string ): bool; - isLessThanOrEqual?( target?:number ): bool; + isLessThanOrEqual?( target?:string ): boolean; + isLessThanOrEqual?( target?:number ): boolean; /** [Method] Convenient alias to isLessThan * @param target String/Number */ lt?( target?:any ): any; - lt?( target?:string ): bool; - lt?( target?:number ): bool; + lt?( target?:string ): boolean; + lt?( target?:number ): boolean; /** [Method] Convenient alias to isLessThanOrEqual * @param target String/Number */ ltEq?( target?:any ): any; - ltEq?( target?:string ): bool; - ltEq?( target?:number ): bool; + ltEq?( target?:string ): boolean; + ltEq?( target?:number ): boolean; /** [Method] Returns whether this version matches the supplied argument * @param target String/Number The version to compare with */ match?( target?:any ): any; - match?( target?:string ): bool; - match?( target?:number ): bool; + match?( target?:string ): boolean; + match?( target?:number ): boolean; /** [Method] Returns this format major minor patch build release */ toArray?(): number[]; + } + export class Version { /** [Method] Compare 2 specified versions starting from left to right * @param current String The current version to compare to * @param target String The target version to compare to */ - compare?( current?:string, target?:string ): number; + static compare( current?:string, target?:string ): number; /** [Method] Converts a version component to a comparable value * @param value Object The value to convert */ - getComponentValue?( value?:any ): any; + static getComponentValue( value?:any ): any; } } declare module Ext.view { export interface IAbstractView extends Ext.IComponent,Ext.util.IBindable { /** [Config Option] (Boolean) */ - blockRefresh?: bool; + blockRefresh?: boolean; /** [Config Option] (Boolean) */ - deferEmptyText?: bool; + deferEmptyText?: boolean; /** [Config Option] (Boolean) */ - deferInitialRefresh?: bool; + deferInitialRefresh?: boolean; /** [Config Option] (Boolean) */ - disableSelection?: bool; + disableSelection?: boolean; /** [Config Option] (String) */ emptyText?: string; /** [Config Option] (String) */ @@ -37240,23 +36568,23 @@ declare module Ext.view { /** [Config Option] (String) */ loadingText?: string; /** [Config Option] (Boolean) */ - multiSelect?: bool; + multiSelect?: boolean; /** [Config Option] (String) */ overItemCls?: string; /** [Config Option] (Boolean) */ - preserveScrollOnRefresh?: bool; + preserveScrollOnRefresh?: boolean; /** [Config Option] (String) */ selectedItemCls?: string; /** [Config Option] (Boolean) */ - simpleSelect?: bool; + simpleSelect?: boolean; /** [Config Option] (Boolean) */ - singleSelect?: bool; + singleSelect?: boolean; /** [Config Option] (Ext.data.Store) */ store?: Ext.data.IStore; /** [Config Option] (String/String[]/Ext.XTemplate) */ tpl?: any; /** [Config Option] (Boolean) */ - trackOver?: bool; + trackOver?: boolean; /** [Method] Allows addition of behavior after rendering is complete */ afterRender?(): void; /** [Method] Changes the data store bound to this view and refreshes it @@ -37279,8 +36607,8 @@ declare module Ext.view { * @param suppressEvent Boolean Set to false to not fire a deselect event */ deselect?( records?:any, suppressEvent?:any ): any; - deselect?( records?:Ext.data.IModel[], suppressEvent?:bool ): void; - deselect?( records?:number, suppressEvent?:bool ): void; + deselect?( records?:Ext.data.IModel[], suppressEvent?:boolean ): void; + deselect?( records?:number, suppressEvent?:boolean ): void; /** [Method] Returns the template node the passed child belongs to or null if it doesn t belong to one * @param node HTMLElement */ @@ -37338,9 +36666,9 @@ declare module Ext.view { * @param node HTMLElement/Number/Ext.data.Model The node, node index or record to check */ isSelected?( node?:any ): any; - isSelected?( node?:HTMLElement ): bool; - isSelected?( node?:number ): bool; - isSelected?( node?:Ext.data.IModel ): bool; + isSelected?( node?:HTMLElement ): boolean; + isSelected?( node?:number ): boolean; + isSelected?( node?:Ext.data.IModel ): boolean; /** [Method] Template method it is called when a new store is bound to the current instance * @param store Object * @param initial Object @@ -37373,8 +36701,8 @@ declare module Ext.view { * @param suppressEvent Boolean Set to false to not fire a select event */ select?( records?:any, keepExisting?:any, suppressEvent?:any ): any; - select?( records?:Ext.data.IModel[], keepExisting?:bool, suppressEvent?:bool ): void; - select?( records?:number, keepExisting?:bool, suppressEvent?:bool ): void; + select?( records?:Ext.data.IModel[], keepExisting?:boolean, suppressEvent?:boolean ): void; + select?( records?:number, keepExisting?:boolean, suppressEvent?:boolean ): void; /** [Method] Unbinds listeners from this component to the store * @param store Ext.data.AbstractStore The store to unbind from */ @@ -37388,7 +36716,7 @@ declare module Ext.view { /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Boolean) */ - deferInitialRefresh?: bool; + deferInitialRefresh?: boolean; /** [Config Option] (String) */ displayField?: string; /** [Config Option] (String) */ @@ -37402,7 +36730,7 @@ declare module Ext.view { /** [Config Option] (String/Ext.XTemplate) */ tpl?: any; /** [Config Option] (Boolean) */ - trackOver?: bool; + trackOver?: boolean; /** [Property] (Ext.toolbar.Paging) */ pagingToolbar?: Ext.toolbar.IPaging; /** [Method] Changes the data store bound to this view and refreshes it @@ -37452,7 +36780,7 @@ declare module Ext { /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Boolean) */ - deferInitialRefresh?: bool; + deferInitialRefresh?: boolean; /** [Config Option] (String) */ displayField?: string; /** [Config Option] (String) */ @@ -37466,7 +36794,7 @@ declare module Ext { /** [Config Option] (String/Ext.XTemplate) */ tpl?: any; /** [Config Option] (Boolean) */ - trackOver?: bool; + trackOver?: boolean; /** [Property] (Ext.toolbar.Paging) */ pagingToolbar?: Ext.toolbar.IPaging; /** [Method] Changes the data store bound to this view and refreshes it @@ -37546,7 +36874,7 @@ declare module Ext.view { * @param x Object * @param y Object */ - onInitDrag?( x?:any, y?:any ): bool; + onInitDrag?( x?:any, y?:any ): boolean; } } declare module Ext.view { @@ -37569,7 +36897,7 @@ declare module Ext.view { * @param e Object * @param data Object */ - onContainerDrop?( dd?:any, e?:any, data?:any ): bool; + onContainerDrop?( dd?:any, e?:any, data?:any ): boolean; /** [Method] The mouse is past the end of all nodes or there are no nodes * @param dd Object * @param e Object @@ -37582,7 +36910,7 @@ declare module Ext.view { * @param e Object * @param data Object */ - onNodeDrop?( targetNode?:any, dragZone?:any, e?:any, data?:any ): bool; + onNodeDrop?( targetNode?:any, dragZone?:any, e?:any, data?:any ): boolean; /** [Method] The mouse is over a View node * @param node Object * @param dragZone Object @@ -37597,7 +36925,7 @@ declare module Ext.view { /** [Method] Removes all elements from this NodeCache * @param removeDom Boolean True to also remove the elements from the document. */ - clear?( removeDom?:bool ): void; + clear?( removeDom?:boolean ): void; /** [Method] Clears this NodeCache and adds the elements passed * @param els HTMLElement[] An array of DOM elements from which to fill this NodeCache. */ @@ -37615,24 +36943,24 @@ declare module Ext.view { * @param removeDom Boolean True to also remove the element from the document */ removeElement?( el?:any, removeDom?:any ): any; - removeElement?( el?:string, removeDom?:bool ): void; - removeElement?( el?:HTMLElement, removeDom?:bool ): void; - removeElement?( el?:Ext.IElement, removeDom?:bool ): void; - removeElement?( el?:number, removeDom?:bool ): void; + removeElement?( el?:string, removeDom?:boolean ): void; + removeElement?( el?:HTMLElement, removeDom?:boolean ): void; + removeElement?( el?:Ext.IElement, removeDom?:boolean ): void; + removeElement?( el?:number, removeDom?:boolean ): void; /** [Method] Replaces the specified element with the passed element * @param el String/HTMLElement/Ext.Element/Number The id of an element, the Element itself, the index of the element in this composite to replace. * @param replacement String/Ext.Element The id of an element or the Element itself. * @param domReplace Boolean True to remove and replace the element in the document too. */ replaceElement?( el?:any, replacement?:any, domReplace?:any ): any; - replaceElement?( el?:string, replacement?:string, domReplace?:bool ): Ext.view.INodeCache; - replaceElement?( el?:HTMLElement, replacement?:string, domReplace?:bool ): Ext.view.INodeCache; - replaceElement?( el?:Ext.IElement, replacement?:string, domReplace?:bool ): Ext.view.INodeCache; - replaceElement?( el?:number, replacement?:string, domReplace?:bool ): Ext.view.INodeCache; - replaceElement?( el?:string, replacement?:Ext.IElement, domReplace?:bool ): Ext.view.INodeCache; - replaceElement?( el?:HTMLElement, replacement?:Ext.IElement, domReplace?:bool ): Ext.view.INodeCache; - replaceElement?( el?:Ext.IElement, replacement?:Ext.IElement, domReplace?:bool ): Ext.view.INodeCache; - replaceElement?( el?:number, replacement?:Ext.IElement, domReplace?:bool ): Ext.view.INodeCache; + replaceElement?( el?:string, replacement?:string, domReplace?:boolean ): Ext.view.INodeCache; + replaceElement?( el?:HTMLElement, replacement?:string, domReplace?:boolean ): Ext.view.INodeCache; + replaceElement?( el?:Ext.IElement, replacement?:string, domReplace?:boolean ): Ext.view.INodeCache; + replaceElement?( el?:number, replacement?:string, domReplace?:boolean ): Ext.view.INodeCache; + replaceElement?( el?:string, replacement?:Ext.IElement, domReplace?:boolean ): Ext.view.INodeCache; + replaceElement?( el?:HTMLElement, replacement?:Ext.IElement, domReplace?:boolean ): Ext.view.INodeCache; + replaceElement?( el?:Ext.IElement, replacement?:Ext.IElement, domReplace?:boolean ): Ext.view.INodeCache; + replaceElement?( el?:number, replacement?:Ext.IElement, domReplace?:boolean ): Ext.view.INodeCache; /** [Method] Appends prepends records depending on direction flag * @param newRecords Ext.data.Model[] Items to append/prepend * @param direction Number -1' = scroll up,0` = scroll down. @@ -37648,7 +36976,7 @@ declare module Ext.view { /** [Config Option] (String/Object) */ componentLayout?: any; /** [Config Option] (Boolean) */ - enableTextSelection?: bool; + enableTextSelection?: boolean; /** [Config Option] (String) */ firstCls?: string; /** [Config Option] (String) */ @@ -37656,15 +36984,15 @@ declare module Ext.view { /** [Config Option] (String) */ lastCls?: string; /** [Config Option] (Boolean) */ - markDirty?: bool; + markDirty?: boolean; /** [Config Option] (String) */ overItemCls?: string; /** [Config Option] (String) */ selectedItemCls?: string; /** [Config Option] (Boolean) */ - stripeRows?: bool; + stripeRows?: boolean; /** [Config Option] (Boolean) */ - trackOver?: bool; + trackOver?: boolean; /** [Method] Adds a CSS Class to a specific row * @param rowInfo HTMLElement/String/Number/Ext.data.Model An HTMLElement, index or instance of a model representing this row * @param cls String @@ -37701,10 +37029,10 @@ declare module Ext.view { * @param delay Boolean/Number Delay the focus this number of milliseconds (true for 10 milliseconds). record associated with the node. */ focusRow?( row?:any, delay?:any ): any; - focusRow?( row?:HTMLElement, delay?:bool ): void; - focusRow?( row?:string, delay?:bool ): void; - focusRow?( row?:number, delay?:bool ): void; - focusRow?( row?:Ext.data.IModel, delay?:bool ): void; + focusRow?( row?:HTMLElement, delay?:boolean ): void; + focusRow?( row?:string, delay?:boolean ): void; + focusRow?( row?:number, delay?:boolean ): void; + focusRow?( row?:Ext.data.IModel, delay?:boolean ): void; focusRow?( row?:HTMLElement, delay?:number ): void; focusRow?( row?:string, delay?:number ): void; focusRow?( row?:number, delay?:number ): void; @@ -37732,10 +37060,10 @@ declare module Ext.view { * @param dataRow Boolean true to return the data row (not the top level row if wrapped), false to return the top level row. */ getNode?( nodeInfo?:any, dataRow?:any ): any; - getNode?( nodeInfo?:HTMLElement, dataRow?:bool ): HTMLElement; - getNode?( nodeInfo?:string, dataRow?:bool ): HTMLElement; - getNode?( nodeInfo?:number, dataRow?:bool ): HTMLElement; - getNode?( nodeInfo?:Ext.data.IModel, dataRow?:bool ): HTMLElement; + getNode?( nodeInfo?:HTMLElement, dataRow?:boolean ): HTMLElement; + getNode?( nodeInfo?:string, dataRow?:boolean ): HTMLElement; + getNode?( nodeInfo?:number, dataRow?:boolean ): HTMLElement; + getNode?( nodeInfo?:Ext.data.IModel, dataRow?:boolean ): HTMLElement; /** [Method] Returns a CSS selector which selects the element which contains record nodes */ getNodeContainerSelector?(): void; /** [Method] Gets the current XY position of the component s underlying element @@ -37846,7 +37174,7 @@ declare module Ext.window { /** [Config Option] (String) */ cls?: string; /** [Config Option] (Boolean) */ - constrain?: bool; + constrain?: boolean; /** [Config Option] (String) */ hideMode?: string; /** [Config Option] (Ext.enums.Layout/Object) */ @@ -37928,7 +37256,7 @@ declare module Ext.window { * @param value String Default value of the text input element */ prompt?( title?:any, msg?:any, fn?:any, scope?:any, multiline?:any, value?:any ): any; - prompt?( title?:string, msg?:string, fn?:any, scope?:any, multiline?:bool, value?:string ): Ext.window.IMessageBox; + prompt?( title?:string, msg?:string, fn?:any, scope?:any, multiline?:boolean, value?:string ): Ext.window.IMessageBox; prompt?( title?:string, msg?:string, fn?:any, scope?:any, multiline?:number, value?:string ): Ext.window.IMessageBox; /** [Method] Adds the specified icon to the dialog * @param icon String A CSS classname specifying the icon's background image url, or empty string to clear the icon @@ -37959,51 +37287,51 @@ declare module Ext.window { /** [Config Option] (String/Ext.Element) */ animateTarget?: any; /** [Config Option] (Boolean) */ - autoRender?: bool; + autoRender?: boolean; /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - closable?: bool; + closable?: boolean; /** [Config Option] (Boolean) */ - collapsed?: bool; + collapsed?: boolean; /** [Config Option] (Boolean) */ - collapsible?: bool; + collapsible?: boolean; /** [Config Option] (Boolean) */ - constrain?: bool; + constrain?: boolean; /** [Config Option] (Boolean) */ - constrainHeader?: bool; + constrainHeader?: boolean; /** [Config Option] (String/Number/Ext.Component) */ defaultFocus?: any; /** [Config Option] (Boolean) */ - draggable?: bool; + draggable?: boolean; /** [Config Option] (Boolean) */ - expandOnShow?: bool; + expandOnShow?: boolean; /** [Config Option] (Boolean/Function) */ ghost?: any; /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (String) */ hideMode?: string; /** [Config Option] (Boolean) */ - hideShadowOnDeactivate?: bool; + hideShadowOnDeactivate?: boolean; /** [Config Option] (Boolean) */ - maximizable?: bool; + maximizable?: boolean; /** [Config Option] (Boolean) */ - maximized?: bool; + maximized?: boolean; /** [Config Option] (Number) */ minHeight?: number; /** [Config Option] (Number) */ minWidth?: number; /** [Config Option] (Boolean) */ - minimizable?: bool; + minimizable?: boolean; /** [Config Option] (Boolean) */ - modal?: bool; + modal?: boolean; /** [Config Option] (Function) */ onEsc?: any; /** [Config Option] (Boolean) */ - overlapHeader?: bool; + overlapHeader?: boolean; /** [Config Option] (Boolean) */ - plain?: bool; + plain?: boolean; /** [Config Option] (Boolean/Object) */ resizable?: any; /** [Config Option] (Number) */ @@ -38013,7 +37341,7 @@ declare module Ext.window { /** [Property] (Ext.util.ComponentDragger) */ dd?: Ext.util.IComponentDragger; /** [Property] (Boolean) */ - isWindow?: bool; + isWindow?: boolean; /** [Method] Invoked after the Panel is Collapsed */ afterCollapse?(): void; /** [Method] Invoked after the Panel is Expanded */ @@ -38027,7 +37355,7 @@ declare module Ext.window { /** [Method] Fits the window within its current container and automatically replaces the maximize tool button with the restore * @param animate Boolean true to animate this Window to full size. */ - maximize?( animate?:bool ): Ext.window.IWindow; + maximize?( animate?:boolean ): Ext.window.IWindow; /** [Method] Placeholder method for minimizing the window */ minimize?(): Ext.window.IWindow; /** [Method] Allows addition of behavior to the show operation */ @@ -38045,51 +37373,51 @@ declare module Ext { /** [Config Option] (String/Ext.Element) */ animateTarget?: any; /** [Config Option] (Boolean) */ - autoRender?: bool; + autoRender?: boolean; /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - closable?: bool; + closable?: boolean; /** [Config Option] (Boolean) */ - collapsed?: bool; + collapsed?: boolean; /** [Config Option] (Boolean) */ - collapsible?: bool; + collapsible?: boolean; /** [Config Option] (Boolean) */ - constrain?: bool; + constrain?: boolean; /** [Config Option] (Boolean) */ - constrainHeader?: bool; + constrainHeader?: boolean; /** [Config Option] (String/Number/Ext.Component) */ defaultFocus?: any; /** [Config Option] (Boolean) */ - draggable?: bool; + draggable?: boolean; /** [Config Option] (Boolean) */ - expandOnShow?: bool; + expandOnShow?: boolean; /** [Config Option] (Boolean/Function) */ ghost?: any; /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (String) */ hideMode?: string; /** [Config Option] (Boolean) */ - hideShadowOnDeactivate?: bool; + hideShadowOnDeactivate?: boolean; /** [Config Option] (Boolean) */ - maximizable?: bool; + maximizable?: boolean; /** [Config Option] (Boolean) */ - maximized?: bool; + maximized?: boolean; /** [Config Option] (Number) */ minHeight?: number; /** [Config Option] (Number) */ minWidth?: number; /** [Config Option] (Boolean) */ - minimizable?: bool; + minimizable?: boolean; /** [Config Option] (Boolean) */ - modal?: bool; + modal?: boolean; /** [Config Option] (Function) */ onEsc?: any; /** [Config Option] (Boolean) */ - overlapHeader?: bool; + overlapHeader?: boolean; /** [Config Option] (Boolean) */ - plain?: bool; + plain?: boolean; /** [Config Option] (Boolean/Object) */ resizable?: any; /** [Config Option] (Number) */ @@ -38099,7 +37427,7 @@ declare module Ext { /** [Property] (Ext.util.ComponentDragger) */ dd?: Ext.util.IComponentDragger; /** [Property] (Boolean) */ - isWindow?: bool; + isWindow?: boolean; /** [Method] Invoked after the Panel is Collapsed */ afterCollapse?(): void; /** [Method] Invoked after the Panel is Expanded */ @@ -38113,7 +37441,7 @@ declare module Ext { /** [Method] Fits the window within its current container and automatically replaces the maximize tool button with the restore * @param animate Boolean true to animate this Window to full size. */ - maximize?( animate?:bool ): Ext.window.IWindow; + maximize?( animate?:boolean ): Ext.window.IWindow; /** [Method] Placeholder method for minimizing the window */ minimize?(): Ext.window.IWindow; /** [Method] Allows addition of behavior to the show operation */ @@ -38133,7 +37461,7 @@ declare module Ext { /** [Method] Brings the specified Component to the front of any other active Components in this ZIndexManager * @param comp String/Object The id of the Component or a Ext.Component instance */ - static bringToFront( comp?:any ): bool; + static bringToFront( comp?:any ): boolean; /** [Method] Call the original method that was previously overridden with override Ext define My Cat constructor functi * @param args Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments) */ @@ -38199,6 +37527,20 @@ declare module Ext { * @param comp Ext.Component The Component to unregister. */ static unregister( comp?:Ext.IComponent ): void; + } +} +declare module Ext { + export interface IXTemplate extends Ext.ITemplate { + /** [Config Option] (String/Array) */ + definitions?: any; + /** [Method] Appends the result of this template to the provided output array + * @param values Object + * @param out Object + * @param parent Object + */ + applyOut?( values?:any, out?:any, parent?:any ): any[]; + } + export class XTemplate { /** [Method] Add methods properties to the prototype of this class * @param members Object */ @@ -38214,8 +37556,20 @@ declare module Ext { * @param origin String/Object The original method name */ static createAlias( alias?:any, origin?:any ): void; + /** [Method] Creates a template from the passed element s value display none textarea preferred or innerHTML + * @param el String/HTMLElement A DOM element or its id + * @param config Object Config object + */ + static from( el?:any, config?:any ): any; + static from( el?:string, config?:any ): Ext.ITemplate; + static from( el?:HTMLElement, config?:any ): Ext.ITemplate; /** [Method] Get the current class name in string format */ static getName(): string; + /** [Method] Gets an XTemplate from an object an instance of an Ext define d class + * @param instance Object The object from which to get the XTemplate (must be an instance of an Ext.define'd class). + * @param name String The name of the property by which to get the XTemplate. + */ + static getTpl( instance?:any, name?:string ): Ext.IXTemplate; /** [Method] Adds members to class */ static implement(): void; /** [Method] Override members of this class @@ -38224,23 +37578,6 @@ declare module Ext { static override( members?:any ): Ext.IBase; } } -declare module Ext { - export interface IXTemplate extends Ext.ITemplate { - /** [Config Option] (String/Array) */ - definitions?: any; - /** [Method] Appends the result of this template to the provided output array - * @param values Object - * @param out Object - * @param parent Object - */ - applyOut?( values?:any, out?:any, parent?:any ): any[]; - /** [Method] Gets an XTemplate from an object an instance of an Ext define d class - * @param instance Object The object from which to get the XTemplate (must be an instance of an Ext.define'd class). - * @param name String The name of the property by which to get the XTemplate. - */ - getTpl?( instance?:any, name?:string ): Ext.IXTemplate; - } -} declare module Ext { export interface IXTemplateCompiler extends Ext.IXTemplateParser { /** [Method] This method is called to process lt tpl case action gt @@ -38374,7 +37711,7 @@ declare module Ext { /** [Method] Brings the specified Component to the front of any other active Components in this ZIndexManager * @param comp String/Object The id of the Component or a Ext.Component instance */ - bringToFront?( comp?:any ): bool; + bringToFront?( comp?:any ): boolean; /** [Method] Executes the specified function once for every Component in this ZIndexManager passing each Component as the only pa * @param fn Function The function to execute for each item * @param scope Object The scope (this reference) in which the function is executed. Defaults to the current Component in the iteration. @@ -38422,7 +37759,7 @@ declare module Ext { /** [Method] Brings the specified Component to the front of any other active Components in this ZIndexManager * @param comp String/Object The id of the Component or a Ext.Component instance */ - bringToFront?( comp?:any ): bool; + bringToFront?( comp?:any ): boolean; /** [Method] Executes the specified function once for every Component in this ZIndexManager passing each Component as the only pa * @param fn Function The function to execute for each item * @param scope Object The scope (this reference) in which the function is executed. Defaults to the current Component in the iteration. diff --git a/linq/linq.jquery.d.ts b/linq/linq.jquery.d.ts index 456da2268..c813bf0ed 100755 --- a/linq/linq.jquery.d.ts +++ b/linq/linq.jquery.d.ts @@ -14,3 +14,7 @@ declare module linqjs { interface JQuery { toEnumerable(): linqjs.Enumerable; } + +interface JQueryStatic { + Enumerable: linqjs.EnumerableStatic; +} diff --git a/moment/moment-tests.ts b/moment/moment-tests.ts index 5d77aa3d3..684c91e3f 100644 --- a/moment/moment-tests.ts +++ b/moment/moment-tests.ts @@ -70,12 +70,22 @@ moment().minutes(30); moment().hours(12); moment().date(5); moment().day(5); +moment().day("Sunday"); moment().month(5); +moment().month("January"); moment().year(1984); moment().startOf('year'); moment().month(0).date(1).hours(0).minutes(0).seconds(0).milliseconds(0); moment().startOf('hour'); moment().minutes(0).seconds(0).milliseconds(0); +moment().weekday(); +moment().weekday(0); +moment().isoWeekday(1); +moment().isoWeekday(); +moment().weekYear(2); +moment().weekYear(); +moment().isoWeekYear(3); +moment().isoWeekYear(); var getMilliseconds: number = moment().milliseconds(); var getSeconds: number = moment().seconds(); @@ -86,9 +96,7 @@ var getDay: number = moment().day(); var getMonth: number = moment().month(); var getYear: number = moment().year(); -moment().sod(); moment().hours(0).minutes(0).seconds(0).milliseconds(0); -moment().eod(); var a3 = moment([2011, 0, 1, 8]); a3.hours(); @@ -134,6 +142,7 @@ a8.diff(b8, 'years') a8.diff(b8, 'years', true); moment([2007, 0, 29]).toDate(); +moment([2007, 1, 23]).toISOString(); moment(1318874398806).valueOf(); moment(1318874398806).unix(); moment([2000]).isLeapYear(); diff --git a/moment/moment.d.ts b/moment/moment.d.ts index 900c686fa..e937f53df 100644 --- a/moment/moment.d.ts +++ b/moment/moment.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Moment.js 2.0.0 +// Type definitions for Moment.js 2.1.0 // Project: https://github.com/timrwood/moment // Definitions by: Michael Lakerveld // DefinitelyTyped: https://github.com/borisyankov/DefinitelyTyped @@ -80,8 +80,10 @@ interface Moment { year(y: number): Moment; year(): number; month(M: number): Moment; + month(M: string): Moment; month(): number; day(d: number): Moment; + day(d: string): Moment; day(): number; date(d: number): Moment; date(): number; @@ -93,9 +95,14 @@ interface Moment { seconds(): number; milliseconds(ms: number): Moment; milliseconds(): number; - - sod(): Moment; // Start of Day - eod(): Moment; // End of Day + weekday(): Moment; + weekday(d: number): Moment; + isoWeekday(): Moment; + isoWeekday(d: number): Moment; + weekYear(): Moment; + weekYear(d: number): Moment; + isoWeekYear(): Moment; + isoWeekYear(d: number): Moment; from(f: Moment): string; from(f: Moment, suffix: boolean): string; @@ -108,6 +115,7 @@ interface Moment { diff(b: Moment, soort: string, round: boolean): number; toDate(): Date; + toISOString(): string; unix(): number; isLeapYear(): boolean; diff --git a/sencha_touch/SenchaTouch.d.ts b/sencha_touch/SenchaTouch.d.ts index a59593fb4..c2fc51661 100644 --- a/sencha_touch/SenchaTouch.d.ts +++ b/sencha_touch/SenchaTouch.d.ts @@ -30,7 +30,7 @@ declare module Ext { /** [Method] Checks if an item type is registered * @param type String The mnemonic string by which the class may be looked up. */ - isRegistered?( type?:string ): bool; + isRegistered?( type?:string ): boolean; /** [Method] Registers a function that will be called when an item with the specified id is added to the manager * @param id String The item id. * @param fn Function The callback function. Called with a single parameter, the item. @@ -190,11 +190,11 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of async */ - static getAsync(): bool; + static getAsync(): boolean; /** [Method] Returns the value of autoAbort */ - static getAutoAbort(): bool; + static getAutoAbort(): boolean; /** [Method] Returns the value of bubbleEvents */ static getBubbleEvents(): string; /** [Method] Returns the value of bubbleEvents */ @@ -206,7 +206,7 @@ declare module Ext { /** [Method] Returns the value of defaultXhrHeader */ static getDefaultXhrHeader(): string; /** [Method] Returns the value of disableCaching */ - static getDisableCaching(): bool; + static getDisableCaching(): boolean; /** [Method] Returns the value of disableCachingParam */ static getDisableCachingParam(): string; /** [Method] Returns the value of extraParams */ @@ -228,15 +228,15 @@ declare module Ext { /** [Method] Returns the value of url */ static getUrl(): string; /** [Method] Returns the value of useDefaultHeader */ - static getUseDefaultHeader(): bool; + static getUseDefaultHeader(): boolean; /** [Method] Returns the value of useDefaultXhrHeader */ - static getUseDefaultXhrHeader(): bool; + static getUseDefaultXhrHeader(): boolean; /** [Method] Returns the value of username */ static getUsername(): string; /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Initialize configuration for this class * @param instanceConfig Object */ @@ -244,7 +244,7 @@ declare module Ext { /** [Method] Determines whether this object has a request outstanding * @param request Object The request to check. */ - static isLoading( request?:any ): bool; + static isLoading( request?:any ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -342,15 +342,15 @@ declare module Ext { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - static resumeEvents( discardQueuedEvents?:bool ): void; + static resumeEvents( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of async * @param async Boolean */ - static setAsync( async?:bool ): void; + static setAsync( async?:boolean ): void; /** [Method] Sets the value of autoAbort * @param autoAbort Boolean */ - static setAutoAbort( autoAbort?:bool ): void; + static setAutoAbort( autoAbort?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -372,7 +372,7 @@ declare module Ext { /** [Method] Sets the value of disableCaching * @param disableCaching Boolean */ - static setDisableCaching( disableCaching?:bool ): void; + static setDisableCaching( disableCaching?:boolean ): void; /** [Method] Sets the value of disableCachingParam * @param disableCachingParam String */ @@ -409,11 +409,11 @@ declare module Ext { /** [Method] Sets the value of useDefaultHeader * @param useDefaultHeader Boolean */ - static setUseDefaultHeader( useDefaultHeader?:bool ): void; + static setUseDefaultHeader( useDefaultHeader?:boolean ): void; /** [Method] Sets the value of useDefaultXhrHeader * @param useDefaultXhrHeader Boolean */ - static setUseDefaultXhrHeader( useDefaultXhrHeader?:bool ): void; + static setUseDefaultXhrHeader( useDefaultXhrHeader?:boolean ): void; /** [Method] Sets the value of username * @param username String */ @@ -458,27 +458,6 @@ declare module Ext { static upload( form?:string, url?:string, params?:string, options?:any ): void; static upload( form?:HTMLElement, url?:string, params?:string, options?:any ): void; static upload( form?:Ext.IElement, url?:string, params?:string, options?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -521,27 +500,6 @@ declare module Ext { static run( el?:HTMLElement, anim?:string, config?:any ): void; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -587,27 +545,6 @@ declare module Ext { * @param args Object */ static stop( fn?:any, scope?:any, args?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -701,13 +638,13 @@ declare module Ext.app { /** [Config Option] (Ext.app.Profile) */ currentProfile?: Ext.app.IProfile; /** [Config Option] (Boolean) */ - glossOnIcon?: bool; + glossOnIcon?: boolean; /** [Config Option] (Ext.app.History) */ history?: Ext.app.IHistory; /** [Config Option] (String/Object) */ icon?: any; /** [Config Option] (Boolean) */ - isIconPrecomposed?: bool; + isIconPrecomposed?: boolean; /** [Config Option] (Function) */ launch?: any; /** [Config Option] (String) */ @@ -732,7 +669,7 @@ declare module Ext.app { * @param action Ext.app.Action The action to dispatch. * @param addToHistory Boolean Sets the browser's url to the action's url. */ - dispatch?( action?:Ext.app.IAction, addToHistory?:bool ): void; + dispatch?( action?:Ext.app.IAction, addToHistory?:boolean ): void; /** [Method] Returns the value of appFolder */ getAppFolder?(): string; /** [Method] Returns the Controller instance for the given controller name @@ -877,7 +814,7 @@ declare module Ext.app { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of application */ getApplication?(): Ext.app.IApplication; /** [Method] Returns the value of before */ @@ -912,7 +849,7 @@ declare module Ext.app { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -1005,7 +942,7 @@ declare module Ext.app { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of application * @param application Ext.app.Application */ @@ -1085,12 +1022,12 @@ declare module Ext.app { /** [Config Option] (String) */ token?: string; /** [Config Option] (Boolean) */ - updateUrl?: bool; + updateUrl?: boolean; /** [Method] Adds an Action to the stack optionally updating the browser s url and firing the change event * @param action Ext.app.Action The Action to add to the stack. * @param silent Boolean Cancels the firing of the change event if true. */ - add?( action?:Ext.app.IAction, silent?:bool ): void; + add?( action?:Ext.app.IAction, silent?:boolean ): void; /** [Method] Appends an after event handler * @param eventName String/String[]/Object The name of the event to listen for. * @param fn Function/String The method the event invokes. @@ -1154,7 +1091,7 @@ declare module Ext.app { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of actions */ getActions?(): any[]; /** [Method] Returns the value of bubbleEvents */ @@ -1166,11 +1103,11 @@ declare module Ext.app { /** [Method] Returns the value of token */ getToken?(): string; /** [Method] Returns the value of updateUrl */ - getUpdateUrl?(): bool; + getUpdateUrl?(): boolean; /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -1259,7 +1196,7 @@ declare module Ext.app { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of actions * @param actions Array */ @@ -1281,7 +1218,7 @@ declare module Ext.app { /** [Method] Sets the value of updateUrl * @param updateUrl Boolean */ - setUpdateUrl?( updateUrl?:bool ): void; + setUpdateUrl?( updateUrl?:boolean ): void; /** [Method] Suspends the firing of all events */ suspendEvents?(): void; /** [Method] Alias for removeListener @@ -1389,7 +1326,7 @@ declare module Ext.app { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of application */ getApplication?(): Ext.app.IApplication; /** [Method] Returns the value of bubbleEvents */ @@ -1413,9 +1350,9 @@ declare module Ext.app { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Determines whether or not this Profile is active on the device isActive is executed on */ - isActive?(): bool; + isActive?(): boolean; /** [Method] The launch function is called by the Application if this Profile s isActive function returned true */ launch?(): void; /** [Method] Alias for addManagedListener @@ -1506,7 +1443,7 @@ declare module Ext.app { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of application * @param application Ext.app.Application */ @@ -1666,7 +1603,7 @@ declare module Ext { * @param array Array The array to check. * @param item Object The item to look for. */ - static contains( array?:any[], item?:any ): bool; + static contains( array?:any[], item?:any ): boolean; /** [Method] Perform a set difference A B by subtracting all items in array B from array A * @param arrayA Array * @param arrayB Array @@ -1678,7 +1615,7 @@ declare module Ext { * @param scope Object The scope (this reference) in which the specified function is executed. * @param reverse Boolean Reverse the iteration order (loop from the end to the beginning). */ - static each( iterable?:any, fn?:any, scope?:any, reverse?:bool ): bool; + static each( iterable?:any, fn?:any, scope?:any, reverse?:boolean ): boolean; /** [Method] Removes items from an array * @param array Array The Array on which to replace. * @param index Number The index in the array at which to operate. @@ -1690,7 +1627,7 @@ declare module Ext { * @param fn Function Callback function for each item. * @param scope Object Callback function scope. */ - static every( array?:any[], fn?:any, scope?:any ): bool; + static every( array?:any[], fn?:any, scope?:any ): boolean; /** [Method] Creates a new array with all of the elements of this array for which the provided filtering function returns true * @param array Array * @param fn Function Callback function for each item. @@ -1711,7 +1648,7 @@ declare module Ext { * @param value Object The value to convert to an array if it's not already is an array. * @param newReference Boolean true to clone the given array and return a new reference if necessary. */ - static from( value?:any, newReference?:bool ): any[]; + static from( value?:any, newReference?:boolean ): any[]; /** [Method] Push an item into the array only if the array doesn t contain it yet * @param array Array The array. * @param item Object The item to include. @@ -1795,7 +1732,7 @@ declare module Ext { * @param fn Function Callback function for each item. * @param scope Object Callback function scope. */ - static some( array?:any[], fn?:any, scope?:any ): bool; + static some( array?:any[], fn?:any, scope?:any ): boolean; /** [Method] Sorts the elements of an Array * @param array Array The array to sort. * @param sortFn Function The comparison function. @@ -1878,27 +1815,33 @@ declare module Ext { * @param instanceConfig Object */ initConfig?( instanceConfig?:any ): any; + } + export class Base { /** [Method] Add methods properties to the prototype of this class * @param members Object */ - addMembers?( members?:any ): void; + static addMembers( members?:any ): void; /** [Method] Add override static properties of this class * @param members Object */ - addStatics?( members?:any ): Ext.IBase; + static addStatics( members?:any ): Ext.IBase; + /** [Method] + * @param args Object + */ + static callParent( args?:any ): void; /** [Method] Create a new instance of this Class */ - create?(): any; + static create(): any; /** [Method] Create aliases for existing prototype methods * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter * @param origin String/Object The original method name */ - createAlias?( alias?:any, origin?:any ): void; + static createAlias( alias?:any, origin?:any ): void; /** [Method] Get the current class name in string format */ - getName?(): any; + static getName(): any; /** [Method] Override members of this class * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. */ - override?( members?:any ): Ext.IBase; + static override( members?:any ): Ext.IBase; } } declare module Ext.behavior { @@ -1949,30 +1892,9 @@ declare module Ext { /** [Method] A hybrid property can be either accessed as a method call for example if Ext browser is IE * @param value String The OS name to check. */ - static is( value?:string ): bool; + static is( value?:string ): boolean; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -2032,7 +1954,7 @@ declare module Ext { /** [Method] Returns the value of pressedDelay */ getPressedDelay?(): number; /** [Method] Returns the value of pressedDelay */ - getPressedDelay?(): bool; + getPressedDelay?(): boolean; /** [Method] Returns the value of scope */ getScope?(): any; /** [Method] Returns the value of text */ @@ -2094,7 +2016,7 @@ declare module Ext { */ setPressedDelay?( pressedDelay?:any ): any; setPressedDelay?( pressedDelay?:number ): void; - setPressedDelay?( pressedDelay?:bool ): void; + setPressedDelay?( pressedDelay?:boolean ): void; /** [Method] Sets the value of scope * @param scope Object */ @@ -2116,7 +2038,7 @@ declare module Ext.carousel { /** [Config Option] (String) */ direction?: string; /** [Config Option] (Boolean) */ - indicator?: bool; + indicator?: boolean; /** [Config Option] (String) */ ui?: string; /** [Method] */ @@ -2132,7 +2054,7 @@ declare module Ext.carousel { /** [Method] Returns the value of direction */ getDirection?(): string; /** [Method] Returns the value of directionLock */ - getDirectionLock?(): bool; + getDirectionLock?(): boolean; /** [Method] Returns the value of indicator */ getIndicator?(): any; /** [Method] Returns the value of itemConfig */ @@ -2142,9 +2064,9 @@ declare module Ext.carousel { /** [Method] Returns the value of ui */ getUi?(): string; /** [Method] Returns true when direction is horizontal */ - isHorizontal?(): bool; + isHorizontal?(): boolean; /** [Method] Returns true when direction is vertical */ - isVertical?(): bool; + isVertical?(): boolean; /** [Method] Switches to the next card */ next?(): Ext.carousel.ICarousel; /** [Method] Switches to the previous card */ @@ -2170,11 +2092,11 @@ declare module Ext.carousel { /** [Method] Sets the value of directionLock * @param directionLock Boolean */ - setDirectionLock?( directionLock?:bool ): void; + setDirectionLock?( directionLock?:boolean ): void; /** [Method] Sets the value of indicator * @param indicator Boolean */ - setIndicator?( indicator?:bool ): void; + setIndicator?( indicator?:boolean ): void; /** [Method] Sets the value of itemConfig * @param itemConfig Object */ @@ -2196,7 +2118,7 @@ declare module Ext { /** [Config Option] (String) */ direction?: string; /** [Config Option] (Boolean) */ - indicator?: bool; + indicator?: boolean; /** [Config Option] (String) */ ui?: string; /** [Method] */ @@ -2212,7 +2134,7 @@ declare module Ext { /** [Method] Returns the value of direction */ getDirection?(): string; /** [Method] Returns the value of directionLock */ - getDirectionLock?(): bool; + getDirectionLock?(): boolean; /** [Method] Returns the value of indicator */ getIndicator?(): any; /** [Method] Returns the value of itemConfig */ @@ -2222,9 +2144,9 @@ declare module Ext { /** [Method] Returns the value of ui */ getUi?(): string; /** [Method] Returns true when direction is horizontal */ - isHorizontal?(): bool; + isHorizontal?(): boolean; /** [Method] Returns true when direction is vertical */ - isVertical?(): bool; + isVertical?(): boolean; /** [Method] Switches to the next card */ next?(): Ext.carousel.ICarousel; /** [Method] Switches to the previous card */ @@ -2250,11 +2172,11 @@ declare module Ext { /** [Method] Sets the value of directionLock * @param directionLock Boolean */ - setDirectionLock?( directionLock?:bool ): void; + setDirectionLock?( directionLock?:boolean ): void; /** [Method] Sets the value of indicator * @param indicator Boolean */ - setIndicator?( indicator?:bool ): void; + setIndicator?( indicator?:boolean ): void; /** [Method] Sets the value of itemConfig * @param itemConfig Object */ @@ -2292,7 +2214,7 @@ declare module Ext.carousel { declare module Ext.carousel { export interface IInfinite extends Ext.carousel.ICarousel { /** [Config Option] (Boolean) */ - indicator?: bool; + indicator?: boolean; /** [Method] Returns the value of indicator */ getIndicator?(): any; /** [Method] Returns the value of innerItemConfig */ @@ -2324,7 +2246,7 @@ declare module Ext.carousel { /** [Method] Returns the value of component */ getComponent?(): any; /** [Method] Returns the value of translatable */ - getTranslatable?(): bool; + getTranslatable?(): boolean; /** [Method] Sets the value of baseCls * @param baseCls String */ @@ -2336,7 +2258,7 @@ declare module Ext.carousel { /** [Method] Sets the value of translatable * @param translatable Boolean */ - setTranslatable?( translatable?:bool ): void; + setTranslatable?( translatable?:boolean ): void; } } declare module Ext.chart { @@ -2378,7 +2300,7 @@ declare module Ext.chart { /** [Method] Returns the value of background */ getBackground?(): any; /** [Method] Returns the value of colors */ - getColors?(): bool; + getColors?(): boolean; /** [Method] Returns the value of colors */ getColors?(): any[]; /** [Method] Returns the value of highlightItem */ @@ -2440,7 +2362,7 @@ declare module Ext.chart { * @param colors Boolean/Array */ setColors?( colors?:any ): any; - setColors?( colors?:bool ): void; + setColors?( colors?:boolean ): void; setColors?( colors?:any[] ): void; /** [Method] Sets the value of highlightItem * @param highlightItem Object @@ -2491,13 +2413,13 @@ declare module Ext.chart.axis { /** [Config Option] (Object) */ grid?: any; /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (Number) */ increment?: number; /** [Config Option] (Object) */ label?: any; /** [Config Option] (Boolean) */ - labelInSpan?: bool; + labelInSpan?: boolean; /** [Config Option] (Object|Ext.chart.axis.layout.Layout) */ layout?: any; /** [Config Option] (Number) */ @@ -2509,7 +2431,7 @@ declare module Ext.chart.axis { /** [Config Option] (Number) */ minimum?: number; /** [Config Option] (Boolean) */ - needHighPrecision?: bool; + needHighPrecision?: boolean; /** [Config Option] (String) */ position?: string; /** [Config Option] (Function) */ @@ -2585,7 +2507,7 @@ declare module Ext.chart.axis { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of background */ getBackground?(): any; /** [Method] Returns the value of bubbleEvents */ @@ -2606,13 +2528,13 @@ declare module Ext.chart.axis { /** [Method] Returns the value of grid */ getGrid?(): any; /** [Method] Returns the value of hidden */ - getHidden?(): bool; + getHidden?(): boolean; /** [Method] Returns the value of increment */ getIncrement?(): number; /** [Method] Returns the value of label */ getLabel?(): any; /** [Method] Returns the value of labelInSpan */ - getLabelInSpan?(): bool; + getLabelInSpan?(): boolean; /** [Method] Returns the value of layout */ getLayout?(): any; /** [Method] Returns the value of listeners */ @@ -2626,7 +2548,7 @@ declare module Ext.chart.axis { /** [Method] Returns the value of minimum */ getMinimum?(): number; /** [Method] Returns the value of needHighPrecision */ - getNeedHighPrecision?(): bool; + getNeedHighPrecision?(): boolean; /** [Method] Returns the value of position */ getPosition?(): string; /** [Method] Get the range derived from all the bound series */ @@ -2646,7 +2568,7 @@ declare module Ext.chart.axis { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -2739,7 +2661,7 @@ declare module Ext.chart.axis { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of background * @param background Object */ @@ -2765,7 +2687,7 @@ declare module Ext.chart.axis { /** [Method] Sets the value of hidden * @param hidden Boolean */ - setHidden?( hidden?:bool ): void; + setHidden?( hidden?:boolean ): void; /** [Method] Sets the value of increment * @param increment Number */ @@ -2777,7 +2699,7 @@ declare module Ext.chart.axis { /** [Method] Sets the value of labelInSpan * @param labelInSpan Boolean */ - setLabelInSpan?( labelInSpan?:bool ): void; + setLabelInSpan?( labelInSpan?:boolean ): void; /** [Method] Sets the value of layout * @param layout Object|Ext.chart.axis.layout.Layout */ @@ -2805,7 +2727,7 @@ declare module Ext.chart.axis { /** [Method] Sets the value of needHighPrecision * @param needHighPrecision Boolean */ - setNeedHighPrecision?( needHighPrecision?:bool ): void; + setNeedHighPrecision?( needHighPrecision?:boolean ): void; /** [Method] Sets the value of position * @param position String */ @@ -2891,17 +2813,17 @@ declare module Ext.chart.axis.layout { declare module Ext.chart.axis.layout { export interface IContinuous extends Ext.chart.axis.layout.ILayout { /** [Method] Returns the value of adjustMaximumByMajorUnit */ - getAdjustMaximumByMajorUnit?(): bool; + getAdjustMaximumByMajorUnit?(): boolean; /** [Method] Returns the value of adjustMinimumByMajorUnit */ - getAdjustMinimumByMajorUnit?(): bool; + getAdjustMinimumByMajorUnit?(): boolean; /** [Method] Sets the value of adjustMaximumByMajorUnit * @param adjustMaximumByMajorUnit Boolean */ - setAdjustMaximumByMajorUnit?( adjustMaximumByMajorUnit?:bool ): void; + setAdjustMaximumByMajorUnit?( adjustMaximumByMajorUnit?:boolean ): void; /** [Method] Sets the value of adjustMinimumByMajorUnit * @param adjustMinimumByMajorUnit Boolean */ - setAdjustMinimumByMajorUnit?( adjustMinimumByMajorUnit?:bool ): void; + setAdjustMinimumByMajorUnit?( adjustMinimumByMajorUnit?:boolean ): void; /** [Method] Snaps the data bound to the axis to meaningful tick marks * @param context Object * @param min Object @@ -3168,7 +3090,7 @@ declare module Ext.chart.axis.sprite { /** [Config Option] (Ext.chart.axis.Axis) */ axis?: Ext.chart.axis.IAxis; /** [Config Option] (Boolean) */ - axisLine?: bool; + axisLine?: boolean; /** [Config Option] (Number) */ centerX?: number; /** [Config Option] (Number) */ @@ -3178,9 +3100,9 @@ declare module Ext.chart.axis.sprite { /** [Config Option] (Number) */ dataMin?: number; /** [Config Option] (Boolean) */ - enlargeEstStepSizeByText?: bool; + enlargeEstStepSizeByText?: boolean; /** [Config Option] (Boolean) */ - grid?: bool; + grid?: boolean; /** [Config Option] (Object) */ label?: any; /** [Config Option] (Object|Ext.chart.axis.layout.Layout) */ @@ -3190,7 +3112,7 @@ declare module Ext.chart.axis.sprite { /** [Config Option] (Number) */ majorTickSize?: number; /** [Config Option] (Boolean) */ - majorTicks?: bool; + majorTicks?: boolean; /** [Config Option] (Number) */ max?: number; /** [Config Option] (Number) */ @@ -3200,7 +3122,7 @@ declare module Ext.chart.axis.sprite { /** [Config Option] (Number) */ minorTickSize?: number; /** [Config Option] (Boolean) */ - minorTricks?: bool; + minorTricks?: boolean; /** [Config Option] (String) */ position?: string; /** [Config Option] (Function) */ @@ -3261,7 +3183,7 @@ declare module Ext.chart.axis.sprite { declare module Ext.chart.axis { export interface ITime extends Ext.chart.axis.INumeric { /** [Config Option] (Boolean) */ - calculateByLabelSize?: bool; + calculateByLabelSize?: boolean; /** [Config Option] (String/Boolean) */ dateFormat?: any; /** [Config Option] (Date) */ @@ -3277,7 +3199,7 @@ declare module Ext.chart.axis { /** [Method] Returns the value of aggregator */ getAggregator?(): string; /** [Method] Returns the value of calculateByLabelSize */ - getCalculateByLabelSize?(): bool; + getCalculateByLabelSize?(): boolean; /** [Method] Mapping data value into coordinate * @param value Object */ @@ -3285,7 +3207,7 @@ declare module Ext.chart.axis { /** [Method] Returns the value of dateFormat */ getDateFormat?(): string; /** [Method] Returns the value of dateFormat */ - getDateFormat?(): bool; + getDateFormat?(): boolean; /** [Method] Returns the value of fromDate */ getFromDate?(): any; /** [Method] Returns the value of layout */ @@ -3303,13 +3225,13 @@ declare module Ext.chart.axis { /** [Method] Sets the value of calculateByLabelSize * @param calculateByLabelSize Boolean */ - setCalculateByLabelSize?( calculateByLabelSize?:bool ): void; + setCalculateByLabelSize?( calculateByLabelSize?:boolean ): void; /** [Method] Sets the value of dateFormat * @param dateFormat String/Boolean */ setDateFormat?( dateFormat?:any ): any; setDateFormat?( dateFormat?:string ): void; - setDateFormat?( dateFormat?:bool ): void; + setDateFormat?( dateFormat?:boolean ): void; /** [Method] Sets the value of fromDate * @param fromDate Date */ @@ -3335,9 +3257,9 @@ declare module Ext.chart.axis { declare module Ext.chart { export interface ICartesianChart extends Ext.chart.IAbstractChart { /** [Config Option] (Boolean) */ - flipXY?: bool; + flipXY?: boolean; /** [Method] Returns the value of flipXY */ - getFlipXY?(): bool; + getFlipXY?(): boolean; /** [Method] Returns the value of innerRegion */ getInnerRegion?(): any[]; /** [Method] Place water mark after resize */ @@ -3349,7 +3271,7 @@ declare module Ext.chart { /** [Method] Sets the value of flipXY * @param flipXY Boolean */ - setFlipXY?( flipXY?:bool ): void; + setFlipXY?( flipXY?:boolean ): void; /** [Method] Sets the value of innerRegion * @param innerRegion Array */ @@ -3359,9 +3281,9 @@ declare module Ext.chart { declare module Ext.chart { export interface IChart extends Ext.chart.IAbstractChart { /** [Config Option] (Boolean) */ - flipXY?: bool; + flipXY?: boolean; /** [Method] Returns the value of flipXY */ - getFlipXY?(): bool; + getFlipXY?(): boolean; /** [Method] Returns the value of innerRegion */ getInnerRegion?(): any[]; /** [Method] Place water mark after resize */ @@ -3373,7 +3295,7 @@ declare module Ext.chart { /** [Method] Sets the value of flipXY * @param flipXY Boolean */ - setFlipXY?( flipXY?:bool ): void; + setFlipXY?( flipXY?:boolean ): void; /** [Method] Sets the value of innerRegion * @param innerRegion Array */ @@ -3420,7 +3342,7 @@ declare module Ext.chart.interactions { /** [Config Option] (Ext.chart.AbstractChart) */ chart?: Ext.chart.IAbstractChart; /** [Config Option] (Boolean) */ - enabled?: bool; + enabled?: boolean; /** [Config Option] (String) */ gesture?: string; /** [Property] (Number) */ @@ -3486,7 +3408,7 @@ declare module Ext.chart.interactions { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -3494,7 +3416,7 @@ declare module Ext.chart.interactions { /** [Method] Returns the value of chart */ getChart?(): Ext.chart.IAbstractChart; /** [Method] Returns the value of enabled */ - getEnabled?(): bool; + getEnabled?(): boolean; /** [Method] Returns the value of gesture */ getGesture?(): string; /** [Method] Find and return a single series item corresponding to the given event or null if no matching item is found @@ -3510,7 +3432,7 @@ declare module Ext.chart.interactions { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] A method to be implemented by subclasses where all event attachment should occur */ initialize?(): void; /** [Method] Alias for addManagedListener @@ -3603,7 +3525,7 @@ declare module Ext.chart.interactions { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -3617,7 +3539,7 @@ declare module Ext.chart.interactions { /** [Method] Sets the value of enabled * @param enabled Boolean */ - setEnabled?( enabled?:bool ): void; + setEnabled?( enabled?:boolean ): void; /** [Method] Sets the value of gesture * @param gesture String */ @@ -3736,13 +3658,13 @@ declare module Ext.chart.interactions { /** [Config Option] (Object) */ overflowArrowOptions?: any; /** [Config Option] (Boolean) */ - showOverflowArrows?: bool; + showOverflowArrows?: boolean; /** [Method] */ destroy?(): void; /** [Method] Returns the value of axes */ getAxes?(): any; /** [Method] Returns the value of hideLabelInGesture */ - getHideLabelInGesture?(): bool; + getHideLabelInGesture?(): boolean; /** [Method] Returns the value of maxZoom */ getMaxZoom?(): any; /** [Method] Returns the value of minZoom */ @@ -3752,9 +3674,9 @@ declare module Ext.chart.interactions { /** [Method] Returns the value of panGesture */ getPanGesture?(): string; /** [Method] Returns the value of showOverflowArrows */ - getShowOverflowArrows?(): bool; + getShowOverflowArrows?(): boolean; /** [Method] Returns the value of zoomOnPanGesture */ - getZoomOnPanGesture?(): bool; + getZoomOnPanGesture?(): boolean; /** [Method] Placeholder method * @param e Object */ @@ -3766,7 +3688,7 @@ declare module Ext.chart.interactions { /** [Method] Sets the value of hideLabelInGesture * @param hideLabelInGesture Boolean */ - setHideLabelInGesture?( hideLabelInGesture?:bool ): void; + setHideLabelInGesture?( hideLabelInGesture?:boolean ): void; /** [Method] Sets the value of maxZoom * @param maxZoom Object */ @@ -3786,11 +3708,11 @@ declare module Ext.chart.interactions { /** [Method] Sets the value of showOverflowArrows * @param showOverflowArrows Boolean */ - setShowOverflowArrows?( showOverflowArrows?:bool ): void; + setShowOverflowArrows?( showOverflowArrows?:boolean ): void; /** [Method] Sets the value of zoomOnPanGesture * @param zoomOnPanGesture Boolean */ - setZoomOnPanGesture?( zoomOnPanGesture?:bool ): void; + setZoomOnPanGesture?( zoomOnPanGesture?:boolean ): void; } } declare module Ext.chart.interactions { @@ -3854,7 +3776,7 @@ declare module Ext.chart { /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - disableSelection?: bool; + disableSelection?: boolean; /** [Config Option] (String) */ docked?: string; /** [Config Option] (Boolean/Object) */ @@ -3866,23 +3788,23 @@ declare module Ext.chart { /** [Config Option] (String) */ position?: string; /** [Config Option] (Boolean) */ - toggleable?: bool; + toggleable?: boolean; /** [Method] Returns the value of baseCls */ getBaseCls?(): string; /** [Method] Returns the value of disableSelection */ - getDisableSelection?(): bool; + getDisableSelection?(): boolean; /** [Method] Returns the value of docked */ getDocked?(): string; /** [Method] Returns the value of horizontalHeight */ getHorizontalHeight?(): number; /** [Method] Returns the value of inline */ - getInline?(): bool; + getInline?(): boolean; /** [Method] Returns the value of itemTpl */ getItemTpl?(): any[]; /** [Method] Returns the value of padding */ getPadding?(): number; /** [Method] Returns the value of toggleable */ - getToggleable?(): bool; + getToggleable?(): boolean; /** [Method] Returns the value of verticalWidth */ getVerticalWidth?(): number; /** [Method] Sets the value of baseCls @@ -3892,7 +3814,7 @@ declare module Ext.chart { /** [Method] Sets the value of disableSelection * @param disableSelection Boolean */ - setDisableSelection?( disableSelection?:bool ): void; + setDisableSelection?( disableSelection?:boolean ): void; /** [Method] Sets the value of docked * @param docked String */ @@ -3904,7 +3826,7 @@ declare module Ext.chart { /** [Method] Sets the value of inline * @param inline Boolean */ - setInline?( inline?:bool ): void; + setInline?( inline?:boolean ): void; /** [Method] Sets the value of itemTpl * @param itemTpl Array */ @@ -3920,7 +3842,7 @@ declare module Ext.chart { /** [Method] Sets the value of toggleable * @param toggleable Boolean */ - setToggleable?( toggleable?:bool ): void; + setToggleable?( toggleable?:boolean ): void; /** [Method] Sets the value of verticalWidth * @param verticalWidth Number */ @@ -3949,7 +3871,7 @@ declare module Ext.chart { * @param index Mixed * @param isWithoutTransform Boolean */ - getMarkerBBoxFor?( category?:string, index?:any, isWithoutTransform?:bool ): void; + getMarkerBBoxFor?( category?:string, index?:any, isWithoutTransform?:boolean ): void; /** [Method] Put a marker in the category with additional attributes * @param category String * @param markerAttr Object @@ -3958,8 +3880,8 @@ declare module Ext.chart { * @param keepRevision Boolean */ putMarkerFor?( category?:any, markerAttr?:any, index?:any, canonical?:any, keepRevision?:any ): any; - putMarkerFor?( category?:string, markerAttr?:any, index?:string, canonical?:bool, keepRevision?:bool ): void; - putMarkerFor?( category?:string, markerAttr?:any, index?:number, canonical?:bool, keepRevision?:bool ): void; + putMarkerFor?( category?:string, markerAttr?:any, index?:string, canonical?:boolean, keepRevision?:boolean ): void; + putMarkerFor?( category?:string, markerAttr?:any, index?:number, canonical?:boolean, keepRevision?:boolean ): void; /** [Method] Render method * @param surface Object * @param ctx Object @@ -4113,7 +4035,7 @@ declare module Ext.chart.series { /** [Config Option] (Number) */ minimum?: number; /** [Config Option] (Boolean) */ - needle?: bool; + needle?: boolean; /** [Config Option] (Number) */ needleLength?: number; /** [Config Option] (Number) */ @@ -4123,11 +4045,11 @@ declare module Ext.chart.series { /** [Config Option] (Array) */ sectors?: any[]; /** [Config Option] (Boolean) */ - showInLegend?: bool; + showInLegend?: boolean; /** [Config Option] (Number) */ value?: number; /** [Config Option] (Boolean) */ - wholeDisk?: bool; + wholeDisk?: boolean; /** [Property] (String) */ seriesType?: string; /** [Property] (String) */ @@ -4147,7 +4069,7 @@ declare module Ext.chart.series { /** [Method] Returns the value of minimum */ getMinimum?(): number; /** [Method] Returns the value of needle */ - getNeedle?(): bool; + getNeedle?(): boolean; /** [Method] Returns the value of needleLength */ getNeedleLength?(): number; /** [Method] Returns the value of needleLengthRatio */ @@ -4163,7 +4085,7 @@ declare module Ext.chart.series { /** [Method] Returns the value of sectors */ getSectors?(): any[]; /** [Method] Returns the value of showInLegend */ - getShowInLegend?(): bool; + getShowInLegend?(): boolean; /** [Method] Performs drawing of this series */ getSprites?(): void; /** [Method] Returns the value of totalAngle */ @@ -4171,7 +4093,7 @@ declare module Ext.chart.series { /** [Method] Returns the value of value */ getValue?(): number; /** [Method] Returns the value of wholeDisk */ - getWholeDisk?(): bool; + getWholeDisk?(): boolean; /** [Method] Sets the value of angleField * @param angleField String */ @@ -4203,7 +4125,7 @@ declare module Ext.chart.series { /** [Method] Sets the value of needle * @param needle Boolean */ - setNeedle?( needle?:bool ): void; + setNeedle?( needle?:boolean ): void; /** [Method] Sets the value of needleLength * @param needleLength Number */ @@ -4235,7 +4157,7 @@ declare module Ext.chart.series { /** [Method] Sets the value of showInLegend * @param showInLegend Boolean */ - setShowInLegend?( showInLegend?:bool ): void; + setShowInLegend?( showInLegend?:boolean ): void; /** [Method] Sets the value of totalAngle * @param totalAngle Object */ @@ -4247,7 +4169,7 @@ declare module Ext.chart.series { /** [Method] Sets the value of wholeDisk * @param wholeDisk Boolean */ - setWholeDisk?( wholeDisk?:bool ): void; + setWholeDisk?( wholeDisk?:boolean ): void; } } declare module Ext.chart.series { @@ -4257,13 +4179,13 @@ declare module Ext.chart.series { declare module Ext.chart.series { export interface ILine extends Ext.chart.series.ICartesian { /** [Config Option] (Boolean) */ - fill?: bool; + fill?: boolean; /** [Config Option] (Number) */ selectionTolerance?: number; /** [Config Option] (Boolean/Number) */ smooth?: any; /** [Config Option] (Boolean) */ - step?: bool; + step?: boolean; /** [Config Option] (Object) */ style?: any; /** [Property] (String) */ @@ -4273,15 +4195,15 @@ declare module Ext.chart.series { /** [Method] Returns the value of aggregator */ getAggregator?(): any; /** [Method] Returns the value of fill */ - getFill?(): bool; + getFill?(): boolean; /** [Method] Returns the value of selectionTolerance */ getSelectionTolerance?(): number; /** [Method] Returns the value of smooth */ - getSmooth?(): bool; + getSmooth?(): boolean; /** [Method] Returns the value of smooth */ getSmooth?(): number; /** [Method] Returns the value of step */ - getStep?(): bool; + getStep?(): boolean; /** [Method] Sets the value of aggregator * @param aggregator Object */ @@ -4289,7 +4211,7 @@ declare module Ext.chart.series { /** [Method] Sets the value of fill * @param fill Boolean */ - setFill?( fill?:bool ): void; + setFill?( fill?:boolean ): void; /** [Method] Sets the value of selectionTolerance * @param selectionTolerance Number */ @@ -4298,12 +4220,12 @@ declare module Ext.chart.series { * @param smooth Boolean/Number */ setSmooth?( smooth?:any ): any; - setSmooth?( smooth?:bool ): void; + setSmooth?( smooth?:boolean ): void; setSmooth?( smooth?:number ): void; /** [Method] Sets the value of step * @param step Boolean */ - setStep?( step?:bool ): void; + setStep?( step?:boolean ): void; } } declare module Ext.chart.series { @@ -4327,7 +4249,7 @@ declare module Ext.chart.series { /** [Property] (String) */ type?: string; /** [Method] Returns the value of donut */ - getDonut?(): bool; + getDonut?(): boolean; /** [Method] Returns the value of donut */ getDonut?(): number; /** [Method] For a given x y point relative to the main region find a corresponding item from this series if any @@ -4353,7 +4275,7 @@ declare module Ext.chart.series { * @param donut Boolean/Number */ setDonut?( donut?:any ): any; - setDonut?( donut?:bool ): void; + setDonut?( donut?:boolean ): void; setDonut?( donut?:number ): void; /** [Method] Sets the value of hidden * @param hidden Array @@ -4392,7 +4314,7 @@ declare module Ext.chart.series { /** [Method] Returns the value of distortion */ getDistortion?(): number; /** [Method] Returns the value of donut */ - getDonut?(): bool; + getDonut?(): boolean; /** [Method] Returns the value of donut */ getDonut?(): number; /** [Method] Returns the value of field */ @@ -4413,7 +4335,7 @@ declare module Ext.chart.series { * @param donut Boolean/Number */ setDonut?( donut?:any ): any; - setDonut?( donut?:bool ): void; + setDonut?( donut?:boolean ): void; setDonut?( donut?:number ): void; /** [Method] Sets the value of field * @param field String @@ -4446,7 +4368,7 @@ declare module Ext.chart.series { /** [Config Option] (Number) */ rotation?: number; /** [Config Option] (Boolean) */ - showInLegend?: bool; + showInLegend?: boolean; /** [Config Option] (String) */ xField?: string; /** [Config Option] (String) */ @@ -4462,7 +4384,7 @@ declare module Ext.chart.series { /** [Method] Returns the value of rotation */ getRotation?(): number; /** [Method] Returns the value of showInLegend */ - getShowInLegend?(): bool; + getShowInLegend?(): boolean; /** [Method] Returns the value of xAxis */ getXAxis?(): any; /** [Method] Returns the value of xField */ @@ -4494,7 +4416,7 @@ declare module Ext.chart.series { /** [Method] Sets the value of showInLegend * @param showInLegend Boolean */ - setShowInLegend?( showInLegend?:bool ): void; + setShowInLegend?( showInLegend?:boolean ): void; /** [Method] Sets the value of xAxis * @param xAxis Object */ @@ -4579,7 +4501,7 @@ declare module Ext.chart.series { /** [Config Option] (Function) */ renderer?: any; /** [Config Option] (Boolean) */ - showInLegend?: bool; + showInLegend?: boolean; /** [Config Option] (Object) */ store?: any; /** [Config Option] (Object) */ @@ -4655,7 +4577,7 @@ declare module Ext.chart.series { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of animate */ getAnimate?(): any; /** [Method] Returns the value of background */ @@ -4667,7 +4589,7 @@ declare module Ext.chart.series { /** [Method] Returns the value of colors */ getColors?(): any[]; /** [Method] Returns the value of hidden */ - getHidden?(): bool; + getHidden?(): boolean; /** [Method] Returns the value of hidden */ getHidden?(): any[]; /** [Method] Returns the value of highlightCfg */ @@ -4699,7 +4621,7 @@ declare module Ext.chart.series { /** [Method] Returns the value of renderer */ getRenderer?(): any; /** [Method] Returns the value of showInLegend */ - getShowInLegend?(): bool; + getShowInLegend?(): boolean; /** [Method] Performs drawing of this series */ getSprites?(): void; /** [Method] Returns the value of style */ @@ -4713,7 +4635,7 @@ declare module Ext.chart.series { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -4806,7 +4728,7 @@ declare module Ext.chart.series { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of animate * @param animate Object */ @@ -4829,13 +4751,13 @@ declare module Ext.chart.series { * @param hidden Boolean|Array */ setHidden?( hidden?:any ): any; - setHidden?( hidden?:bool ): void; + setHidden?( hidden?:boolean ): void; setHidden?( hidden?:any[] ): void; /** [Method] * @param index Number * @param value Boolean */ - setHiddenByIndex?( index?:number, value?:bool ): void; + setHiddenByIndex?( index?:number, value?:boolean ): void; /** [Method] Sets the value of highlightCfg * @param highlightCfg Object */ @@ -4883,7 +4805,7 @@ declare module Ext.chart.series { /** [Method] Sets the value of showInLegend * @param showInLegend Boolean */ - setShowInLegend?( showInLegend?:bool ): void; + setShowInLegend?( showInLegend?:boolean ): void; /** [Method] Sets the value of store * @param store Object */ @@ -4962,7 +4884,7 @@ declare module Ext.chart.series.sprite { declare module Ext.chart.series.sprite { export interface IArea extends Ext.chart.series.sprite.IStackedCartesian { /** [Config Option] (Boolean) */ - step?: bool; + step?: boolean; /** [Method] Render the given visible clip range * @param surface Object * @param ctx Object @@ -5024,7 +4946,7 @@ declare module Ext.chart.series.sprite { /** [Config Option] (String) */ field?: string; /** [Config Option] (Boolean) */ - flipXY?: bool; + flipXY?: boolean; /** [Config Option] (Number) */ labelOverflowPadding?: number; /** [Config Option] (Object) */ @@ -5043,7 +4965,7 @@ declare module Ext.chart.series.sprite { /** [Method] Returns the value of field */ getField?(): string; /** [Method] Returns the value of flipXY */ - getFlipXY?(): bool; + getFlipXY?(): boolean; /** [Method] Get the nearest item index from point x y * @param x Number * @param y Number @@ -5069,7 +4991,7 @@ declare module Ext.chart.series.sprite { /** [Method] Sets the value of flipXY * @param flipXY Boolean */ - setFlipXY?( flipXY?:bool ): void; + setFlipXY?( flipXY?:boolean ): void; /** [Method] Subclass will fill the plain object with x y width height information of the plain bounding box of this sprite * @param plain Object */ @@ -5079,13 +5001,13 @@ declare module Ext.chart.series.sprite { declare module Ext.chart.series.sprite { export interface ILine extends Ext.chart.series.sprite.IAggregative { /** [Config Option] (Boolean) */ - fillArea?: bool; + fillArea?: boolean; /** [Config Option] (Boolean) */ - preciseStroke?: bool; + preciseStroke?: boolean; /** [Config Option] (Boolean) */ - smooth?: bool; + smooth?: boolean; /** [Config Option] (Boolean) */ - step?: bool; + step?: boolean; /** [Method] Subclass will fill the plain object with x y width height information of the plain bounding box of this sprite * @param plain Object */ @@ -5140,13 +5062,13 @@ declare module Ext.chart.series.sprite { declare module Ext.chart.series.sprite { export interface IPieSlice extends Ext.draw.sprite.ISector,Ext.chart.IMarkerHolder { /** [Config Option] (Boolean) */ - doCallout?: bool; + doCallout?: boolean; /** [Config Option] (String) */ label?: string; /** [Config Option] (Number) */ labelOverflowPadding?: number; /** [Config Option] (Boolean) */ - rotateLabels?: bool; + rotateLabels?: boolean; /** [Method] * @param name Object {String} * @param marker Object {Ext.chart.Markers} @@ -5249,7 +5171,7 @@ declare module Ext.chart.series { /** [Config Option] (Array) */ hidden?: any[]; /** [Config Option] (Boolean) */ - stacked?: bool; + stacked?: boolean; /** [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 @@ -5258,7 +5180,7 @@ declare module Ext.chart.series { /** [Method] Performs drawing of this series */ getSprites?(): void; /** [Method] Returns the value of stacked */ - getStacked?(): bool; + getStacked?(): boolean; /** [Method] Provide legend information to target array * @param target Object */ @@ -5270,7 +5192,7 @@ declare module Ext.chart.series { /** [Method] Sets the value of stacked * @param stacked Boolean */ - setStacked?( stacked?:bool ): void; + setStacked?( stacked?:boolean ): void; } } declare module Ext.chart { @@ -5296,7 +5218,7 @@ declare module Ext { /** [Config Option] (Object) */ platformConfig?: any; /** [Config Option] (Boolean) */ - singleton?: bool; + singleton?: boolean; /** [Config Option] (Object) */ statics?: any; /** [Config Option] (String[]) */ @@ -5360,7 +5282,7 @@ declare module Ext { /** [Method] Checks if a class has already been created * @param className String */ - static isCreated( className?:string ): bool; + static isCreated( className?:string ): boolean; /** [Method] Sets a name reference to a class * @param name String * @param value Object @@ -5389,7 +5311,7 @@ declare module Ext { /** [Config Option] (Number/String) */ bottom?: any; /** [Config Option] (Boolean) */ - centered?: bool; + centered?: boolean; /** [Config Option] (String/String[]) */ cls?: any; /** [Config Option] (String) */ @@ -5399,7 +5321,7 @@ declare module Ext { /** [Config Option] (Object) */ data?: any; /** [Config Option] (Boolean) */ - disabled?: bool; + disabled?: boolean; /** [Config Option] (String) */ disabledCls?: string; /** [Config Option] (String) */ @@ -5413,21 +5335,21 @@ declare module Ext { /** [Config Option] (Number) */ flex?: number; /** [Config Option] (Boolean) */ - floating?: bool; + floating?: boolean; /** [Config Option] (String) */ floatingCls?: string; /** [Config Option] (Boolean) */ - fullscreen?: bool; + fullscreen?: boolean; /** [Config Option] (Number/String) */ height?: any; /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (String) */ hiddenCls?: string; /** [Config Option] (String/Mixed) */ hideAnimation?: any; /** [Config Option] (Boolean) */ - hideOnMaskTap?: bool; + hideOnMaskTap?: boolean; /** [Config Option] (String/Ext.Element/HTMLElement) */ html?: any; /** [Config Option] (String) */ @@ -5435,7 +5357,7 @@ declare module Ext { /** [Config Option] (String) */ itemId?: string; /** [Config Option] (Boolean) */ - layoutOnOrientationChange?: bool; + layoutOnOrientationChange?: boolean; /** [Config Option] (Number/String) */ left?: any; /** [Config Option] (Number/String) */ @@ -5449,9 +5371,9 @@ declare module Ext { /** [Config Option] (Number/String) */ minWidth?: any; /** [Config Option] (Boolean) */ - modal?: bool; + modal?: boolean; /** [Config Option] (Boolean) */ - monitorOrientation?: bool; + monitorOrientation?: boolean; /** [Config Option] (Number/String) */ padding?: any; /** [Config Option] (Object/Array) */ @@ -5467,13 +5389,13 @@ declare module Ext { /** [Config Option] (String/Mixed) */ showAnimation?: any; /** [Config Option] (Boolean) */ - stopMaskTapEvent?: bool; + stopMaskTapEvent?: boolean; /** [Config Option] (String/Object) */ style?: any; /** [Config Option] (String) */ styleHtmlCls?: string; /** [Config Option] (Boolean) */ - styleHtmlContent?: bool; + styleHtmlContent?: boolean; /** [Config Option] (Number/String) */ top?: any; /** [Config Option] (String/String[]/Ext.Template[]/Ext.XTemplate[]) */ @@ -5509,7 +5431,7 @@ declare module Ext { /** [Method] Returns the value of bottom */ getBottom?(): any; /** [Method] Returns the value of centered */ - getCentered?(): bool; + getCentered?(): boolean; /** [Method] Returns the value of cls */ getCls?(): any; /** [Method] Returns the value of contentEl */ @@ -5521,7 +5443,7 @@ declare module Ext { /** [Method] Returns the value of data */ getData?(): any; /** [Method] Returns the value of disabled */ - getDisabled?(): bool; + getDisabled?(): boolean; /** [Method] Returns the value of disabledCls */ getDisabledCls?(): string; /** [Method] Returns the value of docked */ @@ -5545,7 +5467,7 @@ declare module Ext { /** [Method] Returns the value of height */ getHeight?(): string; /** [Method] Returns the value of hidden */ - getHidden?(): bool; + getHidden?(): boolean; /** [Method] Returns the value of hiddenCls */ getHiddenCls?(): string; /** [Method] Returns the value of hideAnimation */ @@ -5611,7 +5533,7 @@ declare module Ext { /** [Method] Returns the value of styleHtmlCls */ getStyleHtmlCls?(): string; /** [Method] Returns the value of styleHtmlContent */ - getStyleHtmlContent?(): bool; + getStyleHtmlContent?(): boolean; /** [Method] Returns the value of top */ getTop?(): number; /** [Method] Returns the value of top */ @@ -5637,7 +5559,7 @@ declare module Ext { /** [Method] Returns the value of zIndex */ getZIndex?(): number; /** [Method] Returns true if this component has a parent */ - hasParent?(): bool; + hasParent?(): boolean; /** [Method] Hides this Component * @param animation Object/Boolean */ @@ -5645,14 +5567,14 @@ declare module Ext { /** [Method] Allows addition of behavior to the rendering phase */ initialize?(): void; /** [Method] Returns true if this Component is currently disabled */ - isDisabled?(): bool; + isDisabled?(): boolean; /** [Method] Returns true if this Component is currently hidden */ - isHidden?(): bool; + isHidden?(): boolean; /** [Method] Tests whether or not this Component is of a specific xtype * @param xtype String The xtype to check for this Component. * @param shallow Boolean false to check whether this Component is descended from the xtype (this is the default), or true to check whether this Component is directly of the specified xtype. */ - isXType?( xtype?:string, shallow?:bool ): bool; + isXType?( xtype?:string, shallow?:boolean ): boolean; /** [Method] Removes the given CSS class es from this Component s rendered element * @param cls String The class(es) to remove. * @param prefix String Optional prefix to prepend before each class. @@ -5687,7 +5609,7 @@ declare module Ext { /** [Method] Sets the value of centered * @param centered Boolean */ - setCentered?( centered?:bool ): void; + setCentered?( centered?:boolean ): void; /** [Method] Sets the value of cls * @param cls String/String[] */ @@ -5708,7 +5630,7 @@ declare module Ext { /** [Method] Sets the value of disabled * @param disabled Boolean */ - setDisabled?( disabled?:bool ): void; + setDisabled?( disabled?:boolean ): void; /** [Method] Sets the value of disabledCls * @param disabledCls String */ @@ -5738,7 +5660,7 @@ declare module Ext { /** [Method] Used to update the floating state of this component * @param floating Boolean true if you want to float this component. */ - setFloating?( floating?:bool ): void; + setFloating?( floating?:boolean ): void; /** [Method] Sets the value of floatingCls * @param floatingCls String */ @@ -5752,7 +5674,7 @@ declare module Ext { /** [Method] Sets the value of hidden * @param hidden Boolean */ - setHidden?( hidden?:bool ): void; + setHidden?( hidden?:boolean ): void; /** [Method] Sets the value of hiddenCls * @param hiddenCls String */ @@ -5856,7 +5778,7 @@ declare module Ext { /** [Method] Sets the value of styleHtmlContent * @param styleHtmlContent Boolean */ - setStyleHtmlContent?( styleHtmlContent?:bool ): void; + setStyleHtmlContent?( styleHtmlContent?:boolean ): void; /** [Method] Sets the value of top * @param top Number/String */ @@ -5920,7 +5842,7 @@ declare module Ext.lib { /** [Config Option] (Number/String) */ bottom?: any; /** [Config Option] (Boolean) */ - centered?: bool; + centered?: boolean; /** [Config Option] (String/String[]) */ cls?: any; /** [Config Option] (String) */ @@ -5930,7 +5852,7 @@ declare module Ext.lib { /** [Config Option] (Object) */ data?: any; /** [Config Option] (Boolean) */ - disabled?: bool; + disabled?: boolean; /** [Config Option] (String) */ disabledCls?: string; /** [Config Option] (String) */ @@ -5944,21 +5866,21 @@ declare module Ext.lib { /** [Config Option] (Number) */ flex?: number; /** [Config Option] (Boolean) */ - floating?: bool; + floating?: boolean; /** [Config Option] (String) */ floatingCls?: string; /** [Config Option] (Boolean) */ - fullscreen?: bool; + fullscreen?: boolean; /** [Config Option] (Number/String) */ height?: any; /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (String) */ hiddenCls?: string; /** [Config Option] (String/Mixed) */ hideAnimation?: any; /** [Config Option] (Boolean) */ - hideOnMaskTap?: bool; + hideOnMaskTap?: boolean; /** [Config Option] (String/Ext.Element/HTMLElement) */ html?: any; /** [Config Option] (String) */ @@ -5966,7 +5888,7 @@ declare module Ext.lib { /** [Config Option] (String) */ itemId?: string; /** [Config Option] (Boolean) */ - layoutOnOrientationChange?: bool; + layoutOnOrientationChange?: boolean; /** [Config Option] (Number/String) */ left?: any; /** [Config Option] (Number/String) */ @@ -5980,9 +5902,9 @@ declare module Ext.lib { /** [Config Option] (Number/String) */ minWidth?: any; /** [Config Option] (Boolean) */ - modal?: bool; + modal?: boolean; /** [Config Option] (Boolean) */ - monitorOrientation?: bool; + monitorOrientation?: boolean; /** [Config Option] (Number/String) */ padding?: any; /** [Config Option] (Object/Array) */ @@ -5998,13 +5920,13 @@ declare module Ext.lib { /** [Config Option] (String/Mixed) */ showAnimation?: any; /** [Config Option] (Boolean) */ - stopMaskTapEvent?: bool; + stopMaskTapEvent?: boolean; /** [Config Option] (String/Object) */ style?: any; /** [Config Option] (String) */ styleHtmlCls?: string; /** [Config Option] (Boolean) */ - styleHtmlContent?: bool; + styleHtmlContent?: boolean; /** [Config Option] (Number/String) */ top?: any; /** [Config Option] (String/String[]/Ext.Template[]/Ext.XTemplate[]) */ @@ -6040,7 +5962,7 @@ declare module Ext.lib { /** [Method] Returns the value of bottom */ getBottom?(): any; /** [Method] Returns the value of centered */ - getCentered?(): bool; + getCentered?(): boolean; /** [Method] Returns the value of cls */ getCls?(): any; /** [Method] Returns the value of contentEl */ @@ -6052,7 +5974,7 @@ declare module Ext.lib { /** [Method] Returns the value of data */ getData?(): any; /** [Method] Returns the value of disabled */ - getDisabled?(): bool; + getDisabled?(): boolean; /** [Method] Returns the value of disabledCls */ getDisabledCls?(): string; /** [Method] Returns the value of docked */ @@ -6076,7 +5998,7 @@ declare module Ext.lib { /** [Method] Returns the value of height */ getHeight?(): string; /** [Method] Returns the value of hidden */ - getHidden?(): bool; + getHidden?(): boolean; /** [Method] Returns the value of hiddenCls */ getHiddenCls?(): string; /** [Method] Returns the value of hideAnimation */ @@ -6142,7 +6064,7 @@ declare module Ext.lib { /** [Method] Returns the value of styleHtmlCls */ getStyleHtmlCls?(): string; /** [Method] Returns the value of styleHtmlContent */ - getStyleHtmlContent?(): bool; + getStyleHtmlContent?(): boolean; /** [Method] Returns the value of top */ getTop?(): number; /** [Method] Returns the value of top */ @@ -6168,7 +6090,7 @@ declare module Ext.lib { /** [Method] Returns the value of zIndex */ getZIndex?(): number; /** [Method] Returns true if this component has a parent */ - hasParent?(): bool; + hasParent?(): boolean; /** [Method] Hides this Component * @param animation Object/Boolean */ @@ -6176,14 +6098,14 @@ declare module Ext.lib { /** [Method] Allows addition of behavior to the rendering phase */ initialize?(): void; /** [Method] Returns true if this Component is currently disabled */ - isDisabled?(): bool; + isDisabled?(): boolean; /** [Method] Returns true if this Component is currently hidden */ - isHidden?(): bool; + isHidden?(): boolean; /** [Method] Tests whether or not this Component is of a specific xtype * @param xtype String The xtype to check for this Component. * @param shallow Boolean false to check whether this Component is descended from the xtype (this is the default), or true to check whether this Component is directly of the specified xtype. */ - isXType?( xtype?:string, shallow?:bool ): bool; + isXType?( xtype?:string, shallow?:boolean ): boolean; /** [Method] Removes the given CSS class es from this Component s rendered element * @param cls String The class(es) to remove. * @param prefix String Optional prefix to prepend before each class. @@ -6218,7 +6140,7 @@ declare module Ext.lib { /** [Method] Sets the value of centered * @param centered Boolean */ - setCentered?( centered?:bool ): void; + setCentered?( centered?:boolean ): void; /** [Method] Sets the value of cls * @param cls String/String[] */ @@ -6239,7 +6161,7 @@ declare module Ext.lib { /** [Method] Sets the value of disabled * @param disabled Boolean */ - setDisabled?( disabled?:bool ): void; + setDisabled?( disabled?:boolean ): void; /** [Method] Sets the value of disabledCls * @param disabledCls String */ @@ -6269,7 +6191,7 @@ declare module Ext.lib { /** [Method] Used to update the floating state of this component * @param floating Boolean true if you want to float this component. */ - setFloating?( floating?:bool ): void; + setFloating?( floating?:boolean ): void; /** [Method] Sets the value of floatingCls * @param floatingCls String */ @@ -6283,7 +6205,7 @@ declare module Ext.lib { /** [Method] Sets the value of hidden * @param hidden Boolean */ - setHidden?( hidden?:bool ): void; + setHidden?( hidden?:boolean ): void; /** [Method] Sets the value of hiddenCls * @param hiddenCls String */ @@ -6387,7 +6309,7 @@ declare module Ext.lib { /** [Method] Sets the value of styleHtmlContent * @param styleHtmlContent Boolean */ - setStyleHtmlContent?( styleHtmlContent?:bool ): void; + setStyleHtmlContent?( styleHtmlContent?:boolean ): void; /** [Method] Sets the value of top * @param top Number/String */ @@ -6483,7 +6405,7 @@ declare module Ext { /** [Method] Checks if an item type is registered * @param component String The mnemonic string by which the class may be looked up. */ - static isRegistered( component?:string ): bool; + static isRegistered( component?:string ): boolean; /** [Method] Registers an item to be managed * @param component Object The item to register. */ @@ -6494,25 +6416,6 @@ declare module Ext { * @param component Object The item to unregister. */ static unregister( component?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -6556,7 +6459,7 @@ declare module Ext { /** [Method] Checks if an item type is registered * @param component String The mnemonic string by which the class may be looked up. */ - static isRegistered( component?:string ): bool; + static isRegistered( component?:string ): boolean; /** [Method] Registers an item to be managed * @param component Object The item to register. */ @@ -6567,25 +6470,6 @@ declare module Ext { * @param component Object The item to unregister. */ static unregister( component?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -6596,7 +6480,7 @@ declare module Ext { * @param component Ext.Component The Component to test. * @param selector String The selector string to test against. */ - static is( component?:Ext.IComponent, selector?:string ): bool; + static is( component?:Ext.IComponent, selector?:string ): boolean; /** [Method] Returns an array of matched Components from within the passed root object * @param selector String The selector string to filter returned Components * @param root Ext.Container The Container within which to perform the query. If omitted, all Components within the document are included in the search. This parameter may also be an array of Components to filter according to the selector. @@ -6609,7 +6493,7 @@ declare module Ext { /** [Config Option] (Object/String/Number) */ activeItem?: any; /** [Config Option] (Boolean) */ - autoDestroy?: bool; + autoDestroy?: boolean; /** [Config Option] (String/Object/Boolean) */ cardSwitchAnimation?: any; /** [Config Option] (Object) */ @@ -6619,7 +6503,7 @@ declare module Ext { /** [Config Option] (Object) */ defaults?: any; /** [Config Option] (Boolean) */ - hideOnMaskTap?: bool; + hideOnMaskTap?: boolean; /** [Config Option] (Array/Object) */ items?: any; /** [Config Option] (Object/String) */ @@ -6627,7 +6511,7 @@ declare module Ext { /** [Config Option] (Boolean/Object/Ext.Mask/Ext.LoadMask) */ masked?: any; /** [Config Option] (Boolean) */ - modal?: bool; + modal?: boolean; /** [Config Option] (Boolean/String/Object) */ scroll?: any; /** [Config Option] (Boolean/String/Object) */ @@ -6666,7 +6550,7 @@ declare module Ext { */ getAt?( index?:number ): Ext.IComponent; /** [Method] Returns the value of autoDestroy */ - getAutoDestroy?(): bool; + getAutoDestroy?(): boolean; /** [Method] Examines this container s items property and gets a direct child component of this container * @param component String/Number This parameter may be any of the following: {String} : representing the itemId or id of the child component. {Number} : representing the position of the child component within the items property. For additional information see Ext.util.MixedCollection.get. */ @@ -6688,12 +6572,12 @@ declare module Ext { /** [Method] Finds a docked item of this container using a reference idor an index of its location in getDockedItems * @param component String/Number The id or index of the component to find. */ - getDockedComponent?( component?:string ): bool; - getDockedComponent?( component?:number ): bool; + getDockedComponent?( component?:string ): boolean; + getDockedComponent?( component?:number ): boolean; /** [Method] Returns all the Ext Component docked items in this container */ getDockedItems?(): any[]; /** [Method] Returns the value of hideOnMaskTap */ - getHideOnMaskTap?(): bool; + getHideOnMaskTap?(): boolean; /** [Method] Returns all inner items of this container */ getInnerItems?(): any[]; /** [Method] Returns the value of items */ @@ -6701,7 +6585,7 @@ declare module Ext { /** [Method] Returns the value of masked */ getMasked?(): any; /** [Method] Returns the value of modal */ - getModal?(): bool; + getModal?(): boolean; /** [Method] Returns an the scrollable instance for this container which is a Ext scroll View class */ getScrollable?(): Ext.scroll.IView; /** [Method] Adds a child Component at the given index @@ -6721,12 +6605,12 @@ declare module Ext { * @param item Object The item to remove. * @param destroy Boolean Calls the Component's destroy method if true. */ - remove?( item?:any, destroy?:bool ): Ext.IComponent; + remove?( item?:any, destroy?:boolean ): Ext.IComponent; /** [Method] Removes all items currently in the Container optionally destroying them all * @param destroy Boolean If true, destroys each removed Component. * @param everything Boolean If true, completely remove all items including docked / centered and floating items. */ - removeAll?( destroy?:bool, everything?:bool ): Ext.IComponent; + removeAll?( destroy?:boolean, everything?:boolean ): Ext.IComponent; /** [Method] Removes the Component at the specified index myContainer removeAt 0 removes the first item * @param index Number The index of the Component to remove. */ @@ -6735,7 +6619,7 @@ declare module Ext { * @param item Object The item to remove. * @param destroy Boolean Calls the Component's destroy method if true. */ - removeDocked?( item?:any, destroy?:bool ): Ext.IComponent; + removeDocked?( item?:any, destroy?:boolean ): Ext.IComponent; /** [Method] Removes an inner Component at the specified index myContainer removeInnerAt 0 removes the first item of the in * @param index Number The index of the Component to remove. */ @@ -6747,7 +6631,7 @@ declare module Ext { /** [Method] Sets the value of autoDestroy * @param autoDestroy Boolean */ - setAutoDestroy?( autoDestroy?:bool ): void; + setAutoDestroy?( autoDestroy?:boolean ): void; /** [Method] Sets the value of control * @param control Object */ @@ -6763,7 +6647,7 @@ declare module Ext { /** [Method] Sets the value of hideOnMaskTap * @param hideOnMaskTap Boolean */ - setHideOnMaskTap?( hideOnMaskTap?:bool ): void; + setHideOnMaskTap?( hideOnMaskTap?:boolean ): void; /** [Method] Sets the value of items * @param items Array/Object */ @@ -6779,7 +6663,7 @@ declare module Ext { /** [Method] Sets the value of modal * @param modal Boolean */ - setModal?( modal?:bool ): void; + setModal?( modal?:boolean ): void; /** [Method] Sets the value of scrollable * @param scrollable Boolean/String/Object */ @@ -6793,7 +6677,7 @@ declare module Ext.lib { /** [Config Option] (Object/String/Number) */ activeItem?: any; /** [Config Option] (Boolean) */ - autoDestroy?: bool; + autoDestroy?: boolean; /** [Config Option] (String/Object/Boolean) */ cardSwitchAnimation?: any; /** [Config Option] (Object) */ @@ -6803,7 +6687,7 @@ declare module Ext.lib { /** [Config Option] (Object) */ defaults?: any; /** [Config Option] (Boolean) */ - hideOnMaskTap?: bool; + hideOnMaskTap?: boolean; /** [Config Option] (Array/Object) */ items?: any; /** [Config Option] (Object/String) */ @@ -6811,7 +6695,7 @@ declare module Ext.lib { /** [Config Option] (Boolean/Object/Ext.Mask/Ext.LoadMask) */ masked?: any; /** [Config Option] (Boolean) */ - modal?: bool; + modal?: boolean; /** [Config Option] (Boolean/String/Object) */ scroll?: any; /** [Config Option] (Boolean/String/Object) */ @@ -6850,7 +6734,7 @@ declare module Ext.lib { */ getAt?( index?:number ): Ext.IComponent; /** [Method] Returns the value of autoDestroy */ - getAutoDestroy?(): bool; + getAutoDestroy?(): boolean; /** [Method] Examines this container s items property and gets a direct child component of this container * @param component String/Number This parameter may be any of the following: {String} : representing the itemId or id of the child component. {Number} : representing the position of the child component within the items property. For additional information see Ext.util.MixedCollection.get. */ @@ -6872,12 +6756,12 @@ declare module Ext.lib { /** [Method] Finds a docked item of this container using a reference idor an index of its location in getDockedItems * @param component String/Number The id or index of the component to find. */ - getDockedComponent?( component?:string ): bool; - getDockedComponent?( component?:number ): bool; + getDockedComponent?( component?:string ): boolean; + getDockedComponent?( component?:number ): boolean; /** [Method] Returns all the Ext Component docked items in this container */ getDockedItems?(): any[]; /** [Method] Returns the value of hideOnMaskTap */ - getHideOnMaskTap?(): bool; + getHideOnMaskTap?(): boolean; /** [Method] Returns all inner items of this container */ getInnerItems?(): any[]; /** [Method] Returns the value of items */ @@ -6885,7 +6769,7 @@ declare module Ext.lib { /** [Method] Returns the value of masked */ getMasked?(): any; /** [Method] Returns the value of modal */ - getModal?(): bool; + getModal?(): boolean; /** [Method] Returns an the scrollable instance for this container which is a Ext scroll View class */ getScrollable?(): Ext.scroll.IView; /** [Method] Adds a child Component at the given index @@ -6905,12 +6789,12 @@ declare module Ext.lib { * @param item Object The item to remove. * @param destroy Boolean Calls the Component's destroy method if true. */ - remove?( item?:any, destroy?:bool ): Ext.IComponent; + remove?( item?:any, destroy?:boolean ): Ext.IComponent; /** [Method] Removes all items currently in the Container optionally destroying them all * @param destroy Boolean If true, destroys each removed Component. * @param everything Boolean If true, completely remove all items including docked / centered and floating items. */ - removeAll?( destroy?:bool, everything?:bool ): Ext.IComponent; + removeAll?( destroy?:boolean, everything?:boolean ): Ext.IComponent; /** [Method] Removes the Component at the specified index myContainer removeAt 0 removes the first item * @param index Number The index of the Component to remove. */ @@ -6919,7 +6803,7 @@ declare module Ext.lib { * @param item Object The item to remove. * @param destroy Boolean Calls the Component's destroy method if true. */ - removeDocked?( item?:any, destroy?:bool ): Ext.IComponent; + removeDocked?( item?:any, destroy?:boolean ): Ext.IComponent; /** [Method] Removes an inner Component at the specified index myContainer removeInnerAt 0 removes the first item of the in * @param index Number The index of the Component to remove. */ @@ -6931,7 +6815,7 @@ declare module Ext.lib { /** [Method] Sets the value of autoDestroy * @param autoDestroy Boolean */ - setAutoDestroy?( autoDestroy?:bool ): void; + setAutoDestroy?( autoDestroy?:boolean ): void; /** [Method] Sets the value of control * @param control Object */ @@ -6947,7 +6831,7 @@ declare module Ext.lib { /** [Method] Sets the value of hideOnMaskTap * @param hideOnMaskTap Boolean */ - setHideOnMaskTap?( hideOnMaskTap?:bool ): void; + setHideOnMaskTap?( hideOnMaskTap?:boolean ): void; /** [Method] Sets the value of items * @param items Array/Object */ @@ -6963,7 +6847,7 @@ declare module Ext.lib { /** [Method] Sets the value of modal * @param modal Boolean */ - setModal?( modal?:bool ): void; + setModal?( modal?:boolean ): void; /** [Method] Sets the value of scrollable * @param scrollable Boolean/String/Object */ @@ -7212,9 +7096,9 @@ declare module Ext.data { declare module Ext.data.association { export interface IHasMany extends Ext.data.association.IAssociation { /** [Config Option] (Boolean) */ - autoLoad?: bool; + autoLoad?: boolean; /** [Config Option] (Boolean) */ - autoSync?: bool; + autoSync?: boolean; /** [Config Option] (String) */ filterProperty?: string; /** [Config Option] (String) */ @@ -7228,9 +7112,9 @@ declare module Ext.data.association { /** [Config Option] (String) */ storeName?: string; /** [Method] Returns the value of autoLoad */ - getAutoLoad?(): bool; + getAutoLoad?(): boolean; /** [Method] Returns the value of autoSync */ - getAutoSync?(): bool; + getAutoSync?(): boolean; /** [Method] Returns the value of filterProperty */ getFilterProperty?(): string; /** [Method] Returns the value of foreignKey */ @@ -7242,11 +7126,11 @@ declare module Ext.data.association { /** [Method] Sets the value of autoLoad * @param autoLoad Boolean */ - setAutoLoad?( autoLoad?:bool ): void; + setAutoLoad?( autoLoad?:boolean ): void; /** [Method] Sets the value of autoSync * @param autoSync Boolean */ - setAutoSync?( autoSync?:bool ): void; + setAutoSync?( autoSync?:boolean ): void; /** [Method] Sets the value of filterProperty * @param filterProperty String */ @@ -7268,9 +7152,9 @@ declare module Ext.data.association { declare module Ext.data { export interface IHasManyAssociation extends Ext.data.association.IAssociation { /** [Config Option] (Boolean) */ - autoLoad?: bool; + autoLoad?: boolean; /** [Config Option] (Boolean) */ - autoSync?: bool; + autoSync?: boolean; /** [Config Option] (String) */ filterProperty?: string; /** [Config Option] (String) */ @@ -7284,9 +7168,9 @@ declare module Ext.data { /** [Config Option] (String) */ storeName?: string; /** [Method] Returns the value of autoLoad */ - getAutoLoad?(): bool; + getAutoLoad?(): boolean; /** [Method] Returns the value of autoSync */ - getAutoSync?(): bool; + getAutoSync?(): boolean; /** [Method] Returns the value of filterProperty */ getFilterProperty?(): string; /** [Method] Returns the value of foreignKey */ @@ -7298,11 +7182,11 @@ declare module Ext.data { /** [Method] Sets the value of autoLoad * @param autoLoad Boolean */ - setAutoLoad?( autoLoad?:bool ): void; + setAutoLoad?( autoLoad?:boolean ): void; /** [Method] Sets the value of autoSync * @param autoSync Boolean */ - setAutoSync?( autoSync?:bool ): void; + setAutoSync?( autoSync?:boolean ): void; /** [Method] Sets the value of filterProperty * @param filterProperty String */ @@ -7392,19 +7276,19 @@ declare module Ext.data { declare module Ext.data { export interface IBatch extends Ext.IBase,Ext.mixin.IObservable { /** [Config Option] (Boolean) */ - autoStart?: bool; + autoStart?: boolean; /** [Config Option] (Boolean) */ - pauseOnException?: bool; + pauseOnException?: boolean; /** [Config Option] (Ext.data.Proxy) */ proxy?: Ext.data.IProxy; /** [Property] (Number) */ current?: number; /** [Property] (Boolean) */ - hasException?: bool; + hasException?: boolean; /** [Property] (Boolean) */ - isComplete?: bool; + isComplete?: boolean; /** [Property] (Boolean) */ - isRunning?: bool; + isRunning?: boolean; /** [Property] (Ext.data.Operation[]) */ operations?: Ext.data.IOperation[]; /** [Property] (Number) */ @@ -7474,9 +7358,9 @@ declare module Ext.data { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of autoStart */ - getAutoStart?(): bool; + getAutoStart?(): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -7484,13 +7368,13 @@ declare module Ext.data { /** [Method] Returns the value of listeners */ getListeners?(): any; /** [Method] Returns the value of pauseOnException */ - getPauseOnException?(): bool; + getPauseOnException?(): boolean; /** [Method] Returns the value of proxy */ getProxy?(): Ext.data.IProxy; /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -7581,7 +7465,7 @@ declare module Ext.data { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Executes a operation by its numeric index * @param index Number The operation index to run. */ @@ -7589,7 +7473,7 @@ declare module Ext.data { /** [Method] Sets the value of autoStart * @param autoStart Boolean */ - setAutoStart?( autoStart?:bool ): void; + setAutoStart?( autoStart?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -7603,7 +7487,7 @@ declare module Ext.data { /** [Method] Sets the value of pauseOnException * @param pauseOnException Boolean */ - setPauseOnException?( pauseOnException?:bool ): void; + setPauseOnException?( pauseOnException?:boolean ): void; /** [Method] Sets the value of proxy * @param proxy Ext.data.Proxy */ @@ -7647,7 +7531,7 @@ declare module Ext.data { /** [Config Option] (String) */ defaultXhrHeader?: string; /** [Config Option] (Boolean) */ - disableCaching?: bool; + disableCaching?: boolean; /** [Config Option] (String) */ disableCachingParam?: string; /** [Config Option] (Object) */ @@ -7659,7 +7543,7 @@ declare module Ext.data { /** [Config Option] (String) */ url?: string; /** [Config Option] (Boolean) */ - useDefaultXhrHeader?: bool; + useDefaultXhrHeader?: boolean; /** [Method] Aborts any outstanding request * @param request Object Defaults to the last request. */ @@ -7727,11 +7611,11 @@ declare module Ext.data { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of async */ - getAsync?(): bool; + getAsync?(): boolean; /** [Method] Returns the value of autoAbort */ - getAutoAbort?(): bool; + getAutoAbort?(): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -7743,7 +7627,7 @@ declare module Ext.data { /** [Method] Returns the value of defaultXhrHeader */ getDefaultXhrHeader?(): string; /** [Method] Returns the value of disableCaching */ - getDisableCaching?(): bool; + getDisableCaching?(): boolean; /** [Method] Returns the value of disableCachingParam */ getDisableCachingParam?(): string; /** [Method] Returns the value of extraParams */ @@ -7759,19 +7643,19 @@ declare module Ext.data { /** [Method] Returns the value of url */ getUrl?(): string; /** [Method] Returns the value of useDefaultHeader */ - getUseDefaultHeader?(): bool; + getUseDefaultHeader?(): boolean; /** [Method] Returns the value of useDefaultXhrHeader */ - getUseDefaultXhrHeader?(): bool; + getUseDefaultXhrHeader?(): boolean; /** [Method] Returns the value of username */ getUsername?(): string; /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Determines whether this object has a request outstanding * @param request Object The request to check. */ - isLoading?( request?:any ): bool; + isLoading?( request?:any ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -7869,15 +7753,15 @@ declare module Ext.data { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of async * @param async Boolean */ - setAsync?( async?:bool ): void; + setAsync?( async?:boolean ): void; /** [Method] Sets the value of autoAbort * @param autoAbort Boolean */ - setAutoAbort?( autoAbort?:bool ): void; + setAutoAbort?( autoAbort?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -7899,7 +7783,7 @@ declare module Ext.data { /** [Method] Sets the value of disableCaching * @param disableCaching Boolean */ - setDisableCaching?( disableCaching?:bool ): void; + setDisableCaching?( disableCaching?:boolean ): void; /** [Method] Sets the value of disableCachingParam * @param disableCachingParam String */ @@ -7936,11 +7820,11 @@ declare module Ext.data { /** [Method] Sets the value of useDefaultHeader * @param useDefaultHeader Boolean */ - setUseDefaultHeader?( useDefaultHeader?:bool ): void; + setUseDefaultHeader?( useDefaultHeader?:boolean ): void; /** [Method] Sets the value of useDefaultXhrHeader * @param useDefaultXhrHeader Boolean */ - setUseDefaultXhrHeader?( useDefaultXhrHeader?:bool ): void; + setUseDefaultXhrHeader?( useDefaultXhrHeader?:boolean ): void; /** [Method] Sets the value of username * @param username String */ @@ -8026,13 +7910,13 @@ declare module Ext.data { */ getByField?( fieldName?:string ): any[]; /** [Method] Returns true if there are no errors in the collection */ - isValid?(): bool; + isValid?(): boolean; } } declare module Ext.data { export interface IField extends Ext.IBase { /** [Config Option] (Boolean) */ - allowNull?: bool; + allowNull?: boolean; /** [Config Option] (Function) */ convert?: any; /** [Config Option] (String) */ @@ -8044,7 +7928,7 @@ declare module Ext.data { /** [Config Option] (String) */ name?: string; /** [Config Option] (Boolean) */ - persist?: bool; + persist?: boolean; /** [Config Option] (String) */ sortDir?: string; /** [Config Option] (Function) */ @@ -8052,9 +7936,9 @@ declare module Ext.data { /** [Config Option] (String/Object) */ type?: any; /** [Config Option] (Boolean) */ - useNull?: bool; + useNull?: boolean; /** [Method] Returns the value of allowNull */ - getAllowNull?(): bool; + getAllowNull?(): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of convert */ @@ -8074,7 +7958,7 @@ declare module Ext.data { /** [Method] Returns the value of name */ getName?(): string; /** [Method] Returns the value of persist */ - getPersist?(): bool; + getPersist?(): boolean; /** [Method] Returns the value of sortDir */ getSortDir?(): string; /** [Method] Returns the value of sortType */ @@ -8084,7 +7968,7 @@ declare module Ext.data { /** [Method] Sets the value of allowNull * @param allowNull Boolean */ - setAllowNull?( allowNull?:bool ): void; + setAllowNull?( allowNull?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String */ @@ -8122,7 +8006,7 @@ declare module Ext.data { /** [Method] Sets the value of persist * @param persist Boolean */ - setPersist?( persist?:bool ): void; + setPersist?( persist?:boolean ): void; /** [Method] Sets the value of sortDir * @param sortDir String */ @@ -8234,27 +8118,6 @@ declare module Ext.data { static request( options?:any ): any; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.util { @@ -8296,27 +8159,6 @@ declare module Ext.util { static request( options?:any ): any; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.data { @@ -8352,17 +8194,17 @@ declare module Ext.data { /** [Config Option] (Object/Ext.data.Proxy) */ proxy?: any; /** [Config Option] (Boolean) */ - useCache?: bool; + useCache?: boolean; /** [Config Option] (Object[]) */ validations?: any[]; /** [Property] (Boolean) */ - dirty?: bool; + dirty?: boolean; /** [Property] (Boolean) */ - editing?: bool; + editing?: boolean; /** [Property] (Object) */ modified?: any; /** [Property] (Boolean) */ - phantom?: bool; + phantom?: boolean; /** [Property] (Object) */ raw?: any; /** [Property] (Array) */ @@ -8416,7 +8258,7 @@ declare module Ext.data { /** [Method] Usually called by the Ext data Store which owns the model instance * @param silent Boolean true to skip notification of the owning store of the change. */ - commit?( silent?:bool ): void; + commit?( silent?:boolean ): void; /** [Method] Creates a copy clone of this Model instance * @param id String A new id. If you don't specify this a new id will be generated for you. To generate a phantom instance with a new id use: var rec = record.copy(); // clone the record with a new id */ @@ -8433,7 +8275,7 @@ declare module Ext.data { * @param silent Boolean true to not notify the store of the change. * @param modifiedFieldNames String[] Array of field names changed during edit. */ - endEdit?( silent?:bool, modifiedFieldNames?:string[] ): void; + endEdit?( silent?:boolean, modifiedFieldNames?:string[] ): void; /** [Method] Destroys the record using the configured proxy * @param options Object/Function Options to pass to the proxy. Config object for Ext.data.Operation. If you pass a function, this will automatically become the callback method. For convenience the config object may also contain success and failure methods in addition to callback - they will all be invoked with the Model and Operation as arguments. * @param scope Object The scope to run your callback method in. This is only used if you passed a function as the first argument. @@ -8450,7 +8292,7 @@ declare module Ext.data { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of the given field * @param fieldName String The field to fetch the value for. */ @@ -8472,7 +8314,7 @@ declare module Ext.data { /** [Method] Returns an object containing the data set on this record * @param includeAssociated Boolean true to include the associated data. */ - getData?( includeAssociated?:bool ): any; + getData?( includeAssociated?:boolean ): any; /** [Method] Returns the value of fields */ getFields?(): any; /** [Method] Returns the value of hasMany */ @@ -8494,19 +8336,19 @@ declare module Ext.data { /** [Method] Returns the value of proxy */ getProxy?(): any; /** [Method] Returns the value of useCache */ - getUseCache?(): bool; + getUseCache?(): boolean; /** [Method] Returns the value of validations */ getValidations?(): any[]; /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Returns true if the passed field name has been modified since the load or last commit * @param fieldName String Ext.data.Field.name */ - isModified?( fieldName?:string ): bool; + isModified?( fieldName?:string ): boolean; /** [Method] Checks if the model is valid */ - isValid?(): bool; + isValid?(): boolean; /** [Method] By joining this model to an instance of a class this model will automatically try to call certain template methods o * @param store Ext.data.Store The store to which this model has been added. */ @@ -8559,7 +8401,7 @@ declare module Ext.data { /** [Method] Usually called by the Ext data Store to which this model instance has been joined * @param silent Boolean true to skip notification of the owning store of the change. */ - reject?( silent?:bool ): void; + reject?( silent?:boolean ): void; /** [Method] Relays selected events from the specified Observable as if the events were fired by this * @param object Object The Observable whose events this object is to relay. * @param events String/Array/Object Array of event names to relay. @@ -8603,7 +8445,7 @@ declare module Ext.data { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Saves the model instance using the configured proxy * @param options Object/Function Options to pass to the proxy. Config object for Ext.data.Operation. If you pass a function, this will automatically become the callback method. For convenience the config object may also contain success and failure methods in addition to callback - they will all be invoked with the Model and Operation as arguments. * @param scope Object The scope to run your callback method in. This is only used if you passed a function as the first argument. @@ -8679,7 +8521,7 @@ declare module Ext.data { /** [Method] Sets the value of useCache * @param useCache Boolean */ - setUseCache?( useCache?:bool ): void; + setUseCache?( useCache?:boolean ): void; /** [Method] Sets the value of validations * @param validations Object[] */ @@ -8720,12 +8562,39 @@ declare module Ext.data { unjoin?( store?:Ext.data.IStore ): void; /** [Method] Validates the current data against all of its configured validations */ validate?(): Ext.data.IErrors; + } + export class Model { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] + * @param args Object + */ + static callParent( args?:any ): void; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; + /** [Method] Get the current class name in string format */ + static getName(): string; /** [Method] Asynchronously loads a model instance by id * @param id Number The id of the model to load * @param config Object Config object containing fields: * @param scope Object Same as config.scope. */ - load?( id?:number, config?:any, scope?:any ): void; + static load( id?:number, config?:any, scope?:any ): void; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext.data { @@ -8749,17 +8618,17 @@ declare module Ext.data { /** [Config Option] (Object/Ext.data.Proxy) */ proxy?: any; /** [Config Option] (Boolean) */ - useCache?: bool; + useCache?: boolean; /** [Config Option] (Object[]) */ validations?: any[]; /** [Property] (Boolean) */ - dirty?: bool; + dirty?: boolean; /** [Property] (Boolean) */ - editing?: bool; + editing?: boolean; /** [Property] (Object) */ modified?: any; /** [Property] (Boolean) */ - phantom?: bool; + phantom?: boolean; /** [Property] (Object) */ raw?: any; /** [Property] (Array) */ @@ -8813,7 +8682,7 @@ declare module Ext.data { /** [Method] Usually called by the Ext data Store which owns the model instance * @param silent Boolean true to skip notification of the owning store of the change. */ - commit?( silent?:bool ): void; + commit?( silent?:boolean ): void; /** [Method] Creates a copy clone of this Model instance * @param id String A new id. If you don't specify this a new id will be generated for you. To generate a phantom instance with a new id use: var rec = record.copy(); // clone the record with a new id */ @@ -8830,7 +8699,7 @@ declare module Ext.data { * @param silent Boolean true to not notify the store of the change. * @param modifiedFieldNames String[] Array of field names changed during edit. */ - endEdit?( silent?:bool, modifiedFieldNames?:string[] ): void; + endEdit?( silent?:boolean, modifiedFieldNames?:string[] ): void; /** [Method] Destroys the record using the configured proxy * @param options Object/Function Options to pass to the proxy. Config object for Ext.data.Operation. If you pass a function, this will automatically become the callback method. For convenience the config object may also contain success and failure methods in addition to callback - they will all be invoked with the Model and Operation as arguments. * @param scope Object The scope to run your callback method in. This is only used if you passed a function as the first argument. @@ -8847,7 +8716,7 @@ declare module Ext.data { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of the given field * @param fieldName String The field to fetch the value for. */ @@ -8869,7 +8738,7 @@ declare module Ext.data { /** [Method] Returns an object containing the data set on this record * @param includeAssociated Boolean true to include the associated data. */ - getData?( includeAssociated?:bool ): any; + getData?( includeAssociated?:boolean ): any; /** [Method] Returns the value of fields */ getFields?(): any; /** [Method] Returns the value of hasMany */ @@ -8891,19 +8760,19 @@ declare module Ext.data { /** [Method] Returns the value of proxy */ getProxy?(): any; /** [Method] Returns the value of useCache */ - getUseCache?(): bool; + getUseCache?(): boolean; /** [Method] Returns the value of validations */ getValidations?(): any[]; /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Returns true if the passed field name has been modified since the load or last commit * @param fieldName String Ext.data.Field.name */ - isModified?( fieldName?:string ): bool; + isModified?( fieldName?:string ): boolean; /** [Method] Checks if the model is valid */ - isValid?(): bool; + isValid?(): boolean; /** [Method] By joining this model to an instance of a class this model will automatically try to call certain template methods o * @param store Ext.data.Store The store to which this model has been added. */ @@ -8956,7 +8825,7 @@ declare module Ext.data { /** [Method] Usually called by the Ext data Store to which this model instance has been joined * @param silent Boolean true to skip notification of the owning store of the change. */ - reject?( silent?:bool ): void; + reject?( silent?:boolean ): void; /** [Method] Relays selected events from the specified Observable as if the events were fired by this * @param object Object The Observable whose events this object is to relay. * @param events String/Array/Object Array of event names to relay. @@ -9000,7 +8869,7 @@ declare module Ext.data { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Saves the model instance using the configured proxy * @param options Object/Function Options to pass to the proxy. Config object for Ext.data.Operation. If you pass a function, this will automatically become the callback method. For convenience the config object may also contain success and failure methods in addition to callback - they will all be invoked with the Model and Operation as arguments. * @param scope Object The scope to run your callback method in. This is only used if you passed a function as the first argument. @@ -9076,7 +8945,7 @@ declare module Ext.data { /** [Method] Sets the value of useCache * @param useCache Boolean */ - setUseCache?( useCache?:bool ): void; + setUseCache?( useCache?:boolean ): void; /** [Method] Sets the value of validations * @param validations Object[] */ @@ -9117,12 +8986,39 @@ declare module Ext.data { unjoin?( store?:Ext.data.IStore ): void; /** [Method] Validates the current data against all of its configured validations */ validate?(): Ext.data.IErrors; + } + export class Record { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] + * @param args Object + */ + static callParent( args?:any ): void; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; + /** [Method] Get the current class name in string format */ + static getName(): string; /** [Method] Asynchronously loads a model instance by id * @param id Number The id of the model to load * @param config Object Config object containing fields: * @param scope Object Same as config.scope. */ - load?( id?:number, config?:any, scope?:any ): void; + static load( id?:number, config?:any, scope?:any ): void; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext.data { @@ -9178,7 +9074,7 @@ declare module Ext.data { /** [Method] Checks if an item type is registered * @param type String The mnemonic string by which the class may be looked up. */ - static isRegistered( type?:string ): bool; + static isRegistered( type?:string ): boolean; /** [Method] Registers a function that will be called when an item with the specified id is added to the manager * @param id String The item id. * @param fn Function The callback function. Called with a single parameter, the item. @@ -9200,25 +9096,6 @@ declare module Ext.data { * @param item Object The item to unregister. */ static unregister( item?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -9274,7 +9151,7 @@ declare module Ext { /** [Method] Checks if an item type is registered * @param type String The mnemonic string by which the class may be looked up. */ - static isRegistered( type?:string ): bool; + static isRegistered( type?:string ): boolean; /** [Method] Registers a function that will be called when an item with the specified id is added to the manager * @param id String The item id. * @param fn Function The callback function. Called with a single parameter, the item. @@ -9296,25 +9173,6 @@ declare module Ext { * @param item Object The item to unregister. */ static unregister( item?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -9370,7 +9228,7 @@ declare module Ext { /** [Method] Checks if an item type is registered * @param type String The mnemonic string by which the class may be looked up. */ - static isRegistered( type?:string ): bool; + static isRegistered( type?:string ): boolean; /** [Method] Registers a function that will be called when an item with the specified id is added to the manager * @param id String The item id. * @param fn Function The callback function. Called with a single parameter, the item. @@ -9392,25 +9250,6 @@ declare module Ext { * @param item Object The item to unregister. */ static unregister( item?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.data { @@ -9454,12 +9293,12 @@ declare module Ext.data { /** [Method] Returns true if this node is an ancestor at any point of the passed node * @param node Ext.data.NodeInterface */ - contains?( node?:Ext.data.INodeInterface ): bool; + contains?( node?:Ext.data.INodeInterface ): boolean; /** [Method] Creates a copy clone of this Node * @param newId String A new id, defaults to this Node's id. * @param deep Boolean If passed as true, all child Nodes are recursively copied into the new Node. If omitted or false, the copy will have no child Nodes. */ - copy?( newId?:string, deep?:bool ): Ext.data.INodeInterface; + copy?( newId?:string, deep?:boolean ): Ext.data.INodeInterface; /** [Method] Destroys the node * @param silent Object */ @@ -9481,13 +9320,13 @@ declare module Ext.data { * @param value Object The value to search for. * @param deep Boolean true to search through nodes deeper than the immediate children. */ - findChild?( attribute?:string, value?:any, deep?:bool ): Ext.data.INodeInterface; + findChild?( attribute?:string, value?:any, deep?:boolean ): Ext.data.INodeInterface; /** [Method] Finds the first child by a custom function * @param fn Function A function which must return true if the passed Node is the required Node. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the Node being tested. * @param deep Boolean True to search through nodes deeper than the immediate children. */ - findChildBy?( fn?:any, scope?:any, deep?:bool ): Ext.data.INodeInterface; + findChildBy?( fn?:any, scope?:any, deep?:boolean ): Ext.data.INodeInterface; /** [Method] Returns the child node at the specified index * @param index Number */ @@ -9500,7 +9339,7 @@ declare module Ext.data { */ getPath?( field?:string, separator?:string ): string; /** [Method] Returns true if this node has one or more child nodes else false */ - hasChildNodes?(): bool; + hasChildNodes?(): boolean; /** [Method] Returns the index of a child node * @param child Ext.data.NodeInterface */ @@ -9518,38 +9357,38 @@ declare module Ext.data { /** [Method] Returns true if the passed node is an ancestor at any point of this node * @param node Ext.data.NodeInterface */ - isAncestor?( node?:Ext.data.INodeInterface ): bool; + isAncestor?( node?:Ext.data.INodeInterface ): boolean; /** [Method] Returns true if this node has one or more child nodes or if the expandable node attribute is explicitly specified as */ - isExpandable?(): bool; + isExpandable?(): boolean; /** [Method] Returns true if this node is expanded */ - isExpanded?(): bool; + isExpanded?(): boolean; /** [Method] Returns true if this node is the first child of its parent */ - isFirst?(): bool; + isFirst?(): boolean; /** [Method] Returns true if this node is the last child of its parent */ - isLast?(): bool; + isLast?(): boolean; /** [Method] Returns true if this node is a leaf */ - isLeaf?(): bool; + isLeaf?(): boolean; /** [Method] Returns true if this node is loaded */ - isLoaded?(): bool; + isLoaded?(): boolean; /** [Method] Returns true if this node is loading */ - isLoading?(): bool; + isLoading?(): boolean; /** [Method] Returns true if this node is the root node */ - isRoot?(): bool; + isRoot?(): boolean; /** [Method] Returns true if this node is visible */ - isVisible?(): bool; + isVisible?(): boolean; /** [Method] Removes this node from its parent * @param destroy Boolean true to destroy the node upon removal. */ - remove?( destroy?:bool ): Ext.data.INodeInterface; + remove?( destroy?:boolean ): Ext.data.INodeInterface; /** [Method] Removes all child nodes from this node * @param destroy Boolean true to destroy the node upon removal. */ - removeAll?( destroy?:bool ): Ext.data.INodeInterface; + removeAll?( destroy?:boolean ): Ext.data.INodeInterface; /** [Method] Removes a child node from this node * @param node Ext.data.NodeInterface The node to remove. * @param destroy Boolean true to destroy the node upon removal. */ - removeChild?( node?:Ext.data.INodeInterface, destroy?:bool ): Ext.data.INodeInterface; + removeChild?( node?:Ext.data.INodeInterface, destroy?:boolean ): Ext.data.INodeInterface; /** [Method] Replaces one child node in this node with another * @param newChild Ext.data.NodeInterface The replacement node. * @param oldChild Ext.data.NodeInterface The node to replace. @@ -9560,15 +9399,42 @@ declare module Ext.data { * @param recursive Boolean Whether or not to apply this sort recursively. * @param suppressEvent Boolean Set to true to not fire a sort event. */ - sort?( sortFn?:any, recursive?:bool, suppressEvent?:bool ): void; + sort?( sortFn?:any, recursive?:boolean, suppressEvent?:boolean ): void; /** [Method] Updates general data of this node like isFirst isLast depth * @param silent Object */ - updateInfo?( silent?:any ): bool; + updateInfo?( silent?:any ): boolean; + } + export class NodeInterface { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] + * @param args Object + */ + static callParent( args?:any ): void; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] This method allows you to decorate a Record s prototype to implement the NodeInterface * @param record Ext.data.Model The Record you want to decorate the prototype of. */ - decorate?( record?:Ext.data.IModel ): void; + static decorate( record?:Ext.data.IModel ): void; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext.data { @@ -9612,12 +9478,12 @@ declare module Ext.data { /** [Method] Returns true if this node is an ancestor at any point of the passed node * @param node Ext.data.NodeInterface */ - contains?( node?:Ext.data.INodeInterface ): bool; + contains?( node?:Ext.data.INodeInterface ): boolean; /** [Method] Creates a copy clone of this Node * @param newId String A new id, defaults to this Node's id. * @param deep Boolean If passed as true, all child Nodes are recursively copied into the new Node. If omitted or false, the copy will have no child Nodes. */ - copy?( newId?:string, deep?:bool ): Ext.data.INodeInterface; + copy?( newId?:string, deep?:boolean ): Ext.data.INodeInterface; /** [Method] Destroys the node * @param silent Object */ @@ -9639,13 +9505,13 @@ declare module Ext.data { * @param value Object The value to search for. * @param deep Boolean true to search through nodes deeper than the immediate children. */ - findChild?( attribute?:string, value?:any, deep?:bool ): Ext.data.INodeInterface; + findChild?( attribute?:string, value?:any, deep?:boolean ): Ext.data.INodeInterface; /** [Method] Finds the first child by a custom function * @param fn Function A function which must return true if the passed Node is the required Node. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the Node being tested. * @param deep Boolean True to search through nodes deeper than the immediate children. */ - findChildBy?( fn?:any, scope?:any, deep?:bool ): Ext.data.INodeInterface; + findChildBy?( fn?:any, scope?:any, deep?:boolean ): Ext.data.INodeInterface; /** [Method] Returns the child node at the specified index * @param index Number */ @@ -9658,7 +9524,7 @@ declare module Ext.data { */ getPath?( field?:string, separator?:string ): string; /** [Method] Returns true if this node has one or more child nodes else false */ - hasChildNodes?(): bool; + hasChildNodes?(): boolean; /** [Method] Returns the index of a child node * @param child Ext.data.NodeInterface */ @@ -9676,38 +9542,38 @@ declare module Ext.data { /** [Method] Returns true if the passed node is an ancestor at any point of this node * @param node Ext.data.NodeInterface */ - isAncestor?( node?:Ext.data.INodeInterface ): bool; + isAncestor?( node?:Ext.data.INodeInterface ): boolean; /** [Method] Returns true if this node has one or more child nodes or if the expandable node attribute is explicitly specified as */ - isExpandable?(): bool; + isExpandable?(): boolean; /** [Method] Returns true if this node is expanded */ - isExpanded?(): bool; + isExpanded?(): boolean; /** [Method] Returns true if this node is the first child of its parent */ - isFirst?(): bool; + isFirst?(): boolean; /** [Method] Returns true if this node is the last child of its parent */ - isLast?(): bool; + isLast?(): boolean; /** [Method] Returns true if this node is a leaf */ - isLeaf?(): bool; + isLeaf?(): boolean; /** [Method] Returns true if this node is loaded */ - isLoaded?(): bool; + isLoaded?(): boolean; /** [Method] Returns true if this node is loading */ - isLoading?(): bool; + isLoading?(): boolean; /** [Method] Returns true if this node is the root node */ - isRoot?(): bool; + isRoot?(): boolean; /** [Method] Returns true if this node is visible */ - isVisible?(): bool; + isVisible?(): boolean; /** [Method] Removes this node from its parent * @param destroy Boolean true to destroy the node upon removal. */ - remove?( destroy?:bool ): Ext.data.INodeInterface; + remove?( destroy?:boolean ): Ext.data.INodeInterface; /** [Method] Removes all child nodes from this node * @param destroy Boolean true to destroy the node upon removal. */ - removeAll?( destroy?:bool ): Ext.data.INodeInterface; + removeAll?( destroy?:boolean ): Ext.data.INodeInterface; /** [Method] Removes a child node from this node * @param node Ext.data.NodeInterface The node to remove. * @param destroy Boolean true to destroy the node upon removal. */ - removeChild?( node?:Ext.data.INodeInterface, destroy?:bool ): Ext.data.INodeInterface; + removeChild?( node?:Ext.data.INodeInterface, destroy?:boolean ): Ext.data.INodeInterface; /** [Method] Replaces one child node in this node with another * @param newChild Ext.data.NodeInterface The replacement node. * @param oldChild Ext.data.NodeInterface The node to replace. @@ -9718,15 +9584,42 @@ declare module Ext.data { * @param recursive Boolean Whether or not to apply this sort recursively. * @param suppressEvent Boolean Set to true to not fire a sort event. */ - sort?( sortFn?:any, recursive?:bool, suppressEvent?:bool ): void; + sort?( sortFn?:any, recursive?:boolean, suppressEvent?:boolean ): void; /** [Method] Updates general data of this node like isFirst isLast depth * @param silent Object */ - updateInfo?( silent?:any ): bool; + updateInfo?( silent?:any ): boolean; + } + export class Node { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] + * @param args Object + */ + static callParent( args?:any ): void; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] This method allows you to decorate a Record s prototype to implement the NodeInterface * @param record Ext.data.Model The Record you want to decorate the prototype of. */ - decorate?( record?:Ext.data.IModel ): void; + static decorate( record?:Ext.data.IModel ): void; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext.data { @@ -9734,31 +9627,31 @@ declare module Ext.data { /** [Config Option] (Object[]) */ filters?: any[]; /** [Config Option] (Boolean) */ - folderSort?: bool; + folderSort?: boolean; /** [Config Option] (Ext.data.Model) */ node?: Ext.data.IModel; /** [Config Option] (Boolean) */ - recursive?: bool; + recursive?: boolean; /** [Config Option] (Boolean) */ - rootVisible?: bool; + rootVisible?: boolean; /** [Config Option] (Object[]) */ sorters?: any[]; /** [Method] Returns the value of filters */ getFilters?(): any; /** [Method] Returns the value of folderSort */ - getFolderSort?(): bool; + getFolderSort?(): boolean; /** [Method] Returns the value of node */ getNode?(): Ext.data.IModel; /** [Method] Returns the value of recursive */ - getRecursive?(): bool; + getRecursive?(): boolean; /** [Method] Returns the value of rootVisible */ - getRootVisible?(): bool; + getRootVisible?(): boolean; /** [Method] Returns the value of sorters */ getSorters?(): any; /** [Method] * @param node Object */ - isVisible?( node?:any ): bool; + isVisible?( node?:any ): boolean; /** [Method] Sets the value of filters * @param filters Object */ @@ -9766,7 +9659,7 @@ declare module Ext.data { /** [Method] Sets the value of folderSort * @param folderSort Boolean */ - setFolderSort?( folderSort?:bool ): void; + setFolderSort?( folderSort?:boolean ): void; /** [Method] Sets the value of node * @param node Ext.data.Model */ @@ -9774,11 +9667,11 @@ declare module Ext.data { /** [Method] Sets the value of recursive * @param recursive Boolean */ - setRecursive?( recursive?:bool ): void; + setRecursive?( recursive?:boolean ): void; /** [Method] Sets the value of rootVisible * @param rootVisible Boolean */ - setRootVisible?( rootVisible?:bool ): void; + setRootVisible?( rootVisible?:boolean ): void; /** [Method] Sets the value of sorters * @param sorters Object */ @@ -9796,7 +9689,7 @@ declare module Ext.data { /** [Config Option] (Ext.util.Filter[]) */ filters?: Ext.util.IFilter[]; /** [Config Option] (Boolean) */ - group?: bool; + group?: boolean; /** [Config Option] (Ext.util.Grouper) */ grouper?: Ext.util.IGrouper; /** [Config Option] (Number) */ @@ -9820,15 +9713,15 @@ declare module Ext.data { /** [Config Option] (Number) */ start?: number; /** [Config Option] (Boolean) */ - synchronous?: bool; + synchronous?: boolean; /** [Config Option] (Boolean) */ - withCredentials?: bool; + withCredentials?: boolean; /** [Method] Checks whether this operation should cause writing to occur */ - allowWrite?(): bool; + allowWrite?(): boolean; /** [Method] Returns the value of action */ getAction?(): string; /** [Method] Returns the value of addRecords */ - getAddRecords?(): bool; + getAddRecords?(): boolean; /** [Method] Returns the value of batch */ getBatch?(): Ext.data.IBatch; /** [Method] Returns the value of callback */ @@ -9862,19 +9755,19 @@ declare module Ext.data { /** [Method] Returns the value of start */ getStart?(): number; /** [Method] Returns the value of synchronous */ - getSynchronous?(): bool; + getSynchronous?(): boolean; /** [Method] Returns the value of url */ getUrl?(): any; /** [Method] Returns the value of withCredentials */ - getWithCredentials?(): bool; + getWithCredentials?(): boolean; /** [Method] Returns true if this Operation encountered an exception see also getError */ - hasException?(): bool; + hasException?(): boolean; /** [Method] Returns true if the Operation has been completed */ - isComplete?(): bool; + isComplete?(): boolean; /** [Method] Returns true if the Operation has been started but has not yet completed */ - isRunning?(): bool; + isRunning?(): boolean; /** [Method] Returns true if the Operation has been started */ - isStarted?(): bool; + isStarted?(): boolean; /** [Method] Sets the value of action * @param action String */ @@ -9882,7 +9775,7 @@ declare module Ext.data { /** [Method] Sets the value of addRecords * @param addRecords Boolean */ - setAddRecords?( addRecords?:bool ): void; + setAddRecords?( addRecords?:boolean ): void; /** [Method] Sets the value of batch * @param batch Ext.data.Batch */ @@ -9960,7 +9853,7 @@ declare module Ext.data { /** [Method] Sets the value of synchronous * @param synchronous Boolean */ - setSynchronous?( synchronous?:bool ): void; + setSynchronous?( synchronous?:boolean ): void; /** [Method] Sets the value of url * @param url Object */ @@ -9968,9 +9861,9 @@ declare module Ext.data { /** [Method] Sets the value of withCredentials * @param withCredentials Boolean */ - setWithCredentials?( withCredentials?:bool ): void; + setWithCredentials?( withCredentials?:boolean ): void; /** [Method] Returns true if the Operation has completed and was successful */ - wasSuccessful?(): bool; + wasSuccessful?(): boolean; } } declare module Ext.data.proxy { @@ -9980,11 +9873,11 @@ declare module Ext.data.proxy { /** [Config Option] (String) */ password?: string; /** [Config Option] (Boolean) */ - useDefaultXhrHeader?: bool; + useDefaultXhrHeader?: boolean; /** [Config Option] (String) */ username?: string; /** [Config Option] (Boolean) */ - withCredentials?: bool; + withCredentials?: boolean; /** [Property] (Object) */ actionMethods?: any; /** [Method] Performs Ajax request @@ -10002,11 +9895,11 @@ declare module Ext.data.proxy { /** [Method] Returns the value of password */ getPassword?(): string; /** [Method] Returns the value of useDefaultXhrHeader */ - getUseDefaultXhrHeader?(): bool; + getUseDefaultXhrHeader?(): boolean; /** [Method] Returns the value of username */ getUsername?(): string; /** [Method] Returns the value of withCredentials */ - getWithCredentials?(): bool; + getWithCredentials?(): boolean; /** [Method] Sets the value of headers * @param headers Object */ @@ -10018,7 +9911,7 @@ declare module Ext.data.proxy { /** [Method] Sets the value of useDefaultXhrHeader * @param useDefaultXhrHeader Boolean */ - setUseDefaultXhrHeader?( useDefaultXhrHeader?:bool ): void; + setUseDefaultXhrHeader?( useDefaultXhrHeader?:boolean ): void; /** [Method] Sets the value of username * @param username String */ @@ -10026,7 +9919,7 @@ declare module Ext.data.proxy { /** [Method] Sets the value of withCredentials * @param withCredentials Boolean */ - setWithCredentials?( withCredentials?:bool ): void; + setWithCredentials?( withCredentials?:boolean ): void; } } declare module Ext.data { @@ -10036,11 +9929,11 @@ declare module Ext.data { /** [Config Option] (String) */ password?: string; /** [Config Option] (Boolean) */ - useDefaultXhrHeader?: bool; + useDefaultXhrHeader?: boolean; /** [Config Option] (String) */ username?: string; /** [Config Option] (Boolean) */ - withCredentials?: bool; + withCredentials?: boolean; /** [Property] (Object) */ actionMethods?: any; /** [Method] Performs Ajax request @@ -10058,11 +9951,11 @@ declare module Ext.data { /** [Method] Returns the value of password */ getPassword?(): string; /** [Method] Returns the value of useDefaultXhrHeader */ - getUseDefaultXhrHeader?(): bool; + getUseDefaultXhrHeader?(): boolean; /** [Method] Returns the value of username */ getUsername?(): string; /** [Method] Returns the value of withCredentials */ - getWithCredentials?(): bool; + getWithCredentials?(): boolean; /** [Method] Sets the value of headers * @param headers Object */ @@ -10074,7 +9967,7 @@ declare module Ext.data { /** [Method] Sets the value of useDefaultXhrHeader * @param useDefaultXhrHeader Boolean */ - setUseDefaultXhrHeader?( useDefaultXhrHeader?:bool ): void; + setUseDefaultXhrHeader?( useDefaultXhrHeader?:boolean ): void; /** [Method] Sets the value of username * @param username String */ @@ -10082,7 +9975,7 @@ declare module Ext.data { /** [Method] Sets the value of withCredentials * @param withCredentials Boolean */ - setWithCredentials?( withCredentials?:bool ): void; + setWithCredentials?( withCredentials?:boolean ): void; } } declare module Ext.data { @@ -10092,11 +9985,11 @@ declare module Ext.data { /** [Config Option] (String) */ password?: string; /** [Config Option] (Boolean) */ - useDefaultXhrHeader?: bool; + useDefaultXhrHeader?: boolean; /** [Config Option] (String) */ username?: string; /** [Config Option] (Boolean) */ - withCredentials?: bool; + withCredentials?: boolean; /** [Property] (Object) */ actionMethods?: any; /** [Method] Performs Ajax request @@ -10114,11 +10007,11 @@ declare module Ext.data { /** [Method] Returns the value of password */ getPassword?(): string; /** [Method] Returns the value of useDefaultXhrHeader */ - getUseDefaultXhrHeader?(): bool; + getUseDefaultXhrHeader?(): boolean; /** [Method] Returns the value of username */ getUsername?(): string; /** [Method] Returns the value of withCredentials */ - getWithCredentials?(): bool; + getWithCredentials?(): boolean; /** [Method] Sets the value of headers * @param headers Object */ @@ -10130,7 +10023,7 @@ declare module Ext.data { /** [Method] Sets the value of useDefaultXhrHeader * @param useDefaultXhrHeader Boolean */ - setUseDefaultXhrHeader?( useDefaultXhrHeader?:bool ): void; + setUseDefaultXhrHeader?( useDefaultXhrHeader?:boolean ): void; /** [Method] Sets the value of username * @param username String */ @@ -10138,7 +10031,7 @@ declare module Ext.data { /** [Method] Sets the value of withCredentials * @param withCredentials Boolean */ - setWithCredentials?( withCredentials?:bool ): void; + setWithCredentials?( withCredentials?:boolean ): void; } } declare module Ext.data.proxy { @@ -10164,7 +10057,7 @@ declare module Ext.data.proxy { /** [Config Option] (String/String[]) */ paramOrder?: any; /** [Config Option] (Boolean) */ - paramsAsHash?: bool; + paramsAsHash?: boolean; /** [Method] Generates a url based on a given Ext data Request object */ buildUrl?(): string; /** [Method] In ServerProxy subclasses the create read update and destroy methods all pass through to doRequest @@ -10186,7 +10079,7 @@ declare module Ext.data.proxy { /** [Method] Returns the value of paramOrder */ getParamOrder?(): string[]; /** [Method] Returns the value of paramsAsHash */ - getParamsAsHash?(): bool; + getParamsAsHash?(): boolean; /** [Method] Sets the value of api * @param api Object */ @@ -10209,7 +10102,7 @@ declare module Ext.data.proxy { /** [Method] Sets the value of paramsAsHash * @param paramsAsHash Boolean */ - setParamsAsHash?( paramsAsHash?:bool ): void; + setParamsAsHash?( paramsAsHash?:boolean ): void; } } declare module Ext.data { @@ -10223,7 +10116,7 @@ declare module Ext.data { /** [Config Option] (String/String[]) */ paramOrder?: any; /** [Config Option] (Boolean) */ - paramsAsHash?: bool; + paramsAsHash?: boolean; /** [Method] Generates a url based on a given Ext data Request object */ buildUrl?(): string; /** [Method] In ServerProxy subclasses the create read update and destroy methods all pass through to doRequest @@ -10245,7 +10138,7 @@ declare module Ext.data { /** [Method] Returns the value of paramOrder */ getParamOrder?(): string[]; /** [Method] Returns the value of paramsAsHash */ - getParamsAsHash?(): bool; + getParamsAsHash?(): boolean; /** [Method] Sets the value of api * @param api Object */ @@ -10268,13 +10161,13 @@ declare module Ext.data { /** [Method] Sets the value of paramsAsHash * @param paramsAsHash Boolean */ - setParamsAsHash?( paramsAsHash?:bool ): void; + setParamsAsHash?( paramsAsHash?:boolean ): void; } } declare module Ext.data.proxy { export interface IJsonP extends Ext.data.proxy.IServer { /** [Config Option] (Boolean) */ - autoAppendParams?: bool; + autoAppendParams?: boolean; /** [Config Option] (String) */ callbackKey?: string; /** [Config Option] (String) */ @@ -10294,7 +10187,7 @@ declare module Ext.data.proxy { */ doRequest?( operation?:Ext.data.IOperation, callback?:any, scope?:any ): any; /** [Method] Returns the value of autoAppendParams */ - getAutoAppendParams?(): bool; + getAutoAppendParams?(): boolean; /** [Method] Returns the value of callbackKey */ getCallbackKey?(): string; /** [Method] Returns the value of defaultWriterType */ @@ -10304,7 +10197,7 @@ declare module Ext.data.proxy { /** [Method] Sets the value of autoAppendParams * @param autoAppendParams Boolean */ - setAutoAppendParams?( autoAppendParams?:bool ): void; + setAutoAppendParams?( autoAppendParams?:boolean ): void; /** [Method] Sets the value of callbackKey * @param callbackKey String */ @@ -10322,7 +10215,7 @@ declare module Ext.data.proxy { declare module Ext.data { export interface IScriptTagProxy extends Ext.data.proxy.IServer { /** [Config Option] (Boolean) */ - autoAppendParams?: bool; + autoAppendParams?: boolean; /** [Config Option] (String) */ callbackKey?: string; /** [Config Option] (String) */ @@ -10342,7 +10235,7 @@ declare module Ext.data { */ doRequest?( operation?:Ext.data.IOperation, callback?:any, scope?:any ): any; /** [Method] Returns the value of autoAppendParams */ - getAutoAppendParams?(): bool; + getAutoAppendParams?(): boolean; /** [Method] Returns the value of callbackKey */ getCallbackKey?(): string; /** [Method] Returns the value of defaultWriterType */ @@ -10352,7 +10245,7 @@ declare module Ext.data { /** [Method] Sets the value of autoAppendParams * @param autoAppendParams Boolean */ - setAutoAppendParams?( autoAppendParams?:bool ): void; + setAutoAppendParams?( autoAppendParams?:boolean ): void; /** [Method] Sets the value of callbackKey * @param callbackKey String */ @@ -10454,7 +10347,7 @@ declare module Ext.data { declare module Ext.data.proxy { export interface IProxy extends Ext.IEvented { /** [Config Option] (Boolean) */ - batchActions?: bool; + batchActions?: boolean; /** [Config Option] (String) */ batchOrder?: string; /** [Config Option] (String/Ext.data.Model) */ @@ -10480,7 +10373,7 @@ declare module Ext.data.proxy { */ destroy?( operation?:Ext.data.IOperation, callback?:any, scope?:any ): void; /** [Method] Returns the value of batchActions */ - getBatchActions?(): bool; + getBatchActions?(): boolean; /** [Method] Returns the value of batchOrder */ getBatchOrder?(): string; /** [Method] Returns the value of model */ @@ -10500,7 +10393,7 @@ declare module Ext.data.proxy { /** [Method] Sets the value of batchActions * @param batchActions Boolean */ - setBatchActions?( batchActions?:bool ): void; + setBatchActions?( batchActions?:boolean ): void; /** [Method] Sets the value of batchOrder * @param batchOrder String */ @@ -10530,7 +10423,7 @@ declare module Ext.data.proxy { declare module Ext.data { export interface IDataProxy extends Ext.IEvented { /** [Config Option] (Boolean) */ - batchActions?: bool; + batchActions?: boolean; /** [Config Option] (String) */ batchOrder?: string; /** [Config Option] (String/Ext.data.Model) */ @@ -10556,7 +10449,7 @@ declare module Ext.data { */ destroy?( operation?:Ext.data.IOperation, callback?:any, scope?:any ): void; /** [Method] Returns the value of batchActions */ - getBatchActions?(): bool; + getBatchActions?(): boolean; /** [Method] Returns the value of batchOrder */ getBatchOrder?(): string; /** [Method] Returns the value of model */ @@ -10576,7 +10469,7 @@ declare module Ext.data { /** [Method] Sets the value of batchActions * @param batchActions Boolean */ - setBatchActions?( batchActions?:bool ): void; + setBatchActions?( batchActions?:boolean ): void; /** [Method] Sets the value of batchOrder * @param batchOrder String */ @@ -10606,7 +10499,7 @@ declare module Ext.data { declare module Ext.data { export interface IProxy extends Ext.IEvented { /** [Config Option] (Boolean) */ - batchActions?: bool; + batchActions?: boolean; /** [Config Option] (String) */ batchOrder?: string; /** [Config Option] (String/Ext.data.Model) */ @@ -10632,7 +10525,7 @@ declare module Ext.data { */ destroy?( operation?:Ext.data.IOperation, callback?:any, scope?:any ): void; /** [Method] Returns the value of batchActions */ - getBatchActions?(): bool; + getBatchActions?(): boolean; /** [Method] Returns the value of batchOrder */ getBatchOrder?(): string; /** [Method] Returns the value of model */ @@ -10652,7 +10545,7 @@ declare module Ext.data { /** [Method] Sets the value of batchActions * @param batchActions Boolean */ - setBatchActions?( batchActions?:bool ): void; + setBatchActions?( batchActions?:boolean ): void; /** [Method] Sets the value of batchOrder * @param batchOrder String */ @@ -10682,9 +10575,9 @@ declare module Ext.data { declare module Ext.data.proxy { export interface IRest extends Ext.data.proxy.IAjax { /** [Config Option] (Boolean) */ - appendId?: bool; + appendId?: boolean; /** [Config Option] (Boolean) */ - batchActions?: bool; + batchActions?: boolean; /** [Config Option] (String) */ format?: string; /** [Method] Specialized version of buildUrl that incorporates the appendId and format options into the generated url @@ -10694,9 +10587,9 @@ declare module Ext.data.proxy { /** [Method] Returns the value of actionMethods */ getActionMethods?(): any; /** [Method] Returns the value of appendId */ - getAppendId?(): bool; + getAppendId?(): boolean; /** [Method] Returns the value of batchActions */ - getBatchActions?(): bool; + getBatchActions?(): boolean; /** [Method] Returns the value of format */ getFormat?(): string; /** [Method] Sets the value of actionMethods @@ -10706,11 +10599,11 @@ declare module Ext.data.proxy { /** [Method] Sets the value of appendId * @param appendId Boolean */ - setAppendId?( appendId?:bool ): void; + setAppendId?( appendId?:boolean ): void; /** [Method] Sets the value of batchActions * @param batchActions Boolean */ - setBatchActions?( batchActions?:bool ): void; + setBatchActions?( batchActions?:boolean ): void; /** [Method] Sets the value of format * @param format String */ @@ -10720,9 +10613,9 @@ declare module Ext.data.proxy { declare module Ext.data { export interface IRestProxy extends Ext.data.proxy.IAjax { /** [Config Option] (Boolean) */ - appendId?: bool; + appendId?: boolean; /** [Config Option] (Boolean) */ - batchActions?: bool; + batchActions?: boolean; /** [Config Option] (String) */ format?: string; /** [Method] Specialized version of buildUrl that incorporates the appendId and format options into the generated url @@ -10732,9 +10625,9 @@ declare module Ext.data { /** [Method] Returns the value of actionMethods */ getActionMethods?(): any; /** [Method] Returns the value of appendId */ - getAppendId?(): bool; + getAppendId?(): boolean; /** [Method] Returns the value of batchActions */ - getBatchActions?(): bool; + getBatchActions?(): boolean; /** [Method] Returns the value of format */ getFormat?(): string; /** [Method] Sets the value of actionMethods @@ -10744,11 +10637,11 @@ declare module Ext.data { /** [Method] Sets the value of appendId * @param appendId Boolean */ - setAppendId?( appendId?:bool ): void; + setAppendId?( appendId?:boolean ): void; /** [Method] Sets the value of batchActions * @param batchActions Boolean */ - setBatchActions?( batchActions?:bool ): void; + setBatchActions?( batchActions?:boolean ): void; /** [Method] Sets the value of format * @param format String */ @@ -10764,7 +10657,7 @@ declare module Ext.data.proxy { /** [Config Option] (String) */ directionParam?: string; /** [Config Option] (Boolean) */ - enablePagingParams?: bool; + enablePagingParams?: boolean; /** [Config Option] (Object) */ extraParams?: any; /** [Config Option] (String) */ @@ -10774,11 +10667,11 @@ declare module Ext.data.proxy { /** [Config Option] (String) */ limitParam?: string; /** [Config Option] (Boolean) */ - noCache?: bool; + noCache?: boolean; /** [Config Option] (String) */ pageParam?: string; /** [Config Option] (Boolean) */ - simpleSortMode?: bool; + simpleSortMode?: boolean; /** [Config Option] (String) */ sortParam?: string; /** [Config Option] (String) */ @@ -10791,7 +10684,7 @@ declare module Ext.data.proxy { * @param request Ext.data.Request The Request object * @param success Boolean True if the request was successful */ - afterRequest?( request?:Ext.data.IRequest, success?:bool ): void; + afterRequest?( request?:Ext.data.IRequest, success?:boolean ): void; /** [Method] Creates and returns an Ext data Request object based on the options passed by the Store that this Proxy is attached to * @param operation Ext.data.Operation The Operation object to execute */ @@ -10825,7 +10718,7 @@ declare module Ext.data.proxy { /** [Method] Returns the value of directionParam */ getDirectionParam?(): string; /** [Method] Returns the value of enablePagingParams */ - getEnablePagingParams?(): bool; + getEnablePagingParams?(): boolean; /** [Method] Returns the value of extraParams */ getExtraParams?(): any; /** [Method] Returns the value of filterParam */ @@ -10835,11 +10728,11 @@ declare module Ext.data.proxy { /** [Method] Returns the value of limitParam */ getLimitParam?(): string; /** [Method] Returns the value of noCache */ - getNoCache?(): bool; + getNoCache?(): boolean; /** [Method] Returns the value of pageParam */ getPageParam?(): string; /** [Method] Returns the value of simpleSortMode */ - getSimpleSortMode?(): bool; + getSimpleSortMode?(): boolean; /** [Method] Returns the value of sortParam */ getSortParam?(): string; /** [Method] Returns the value of startParam */ @@ -10854,7 +10747,7 @@ declare module Ext.data.proxy { * @param callback Function The callback to be fired onces the response is processed * @param scope Object The scope in which we call the callback */ - processResponse?( success?:bool, operation?:Ext.data.IOperation, request?:Ext.data.IRequest, response?:any, callback?:any, scope?:any ): void; + processResponse?( success?:boolean, operation?:Ext.data.IOperation, request?:Ext.data.IRequest, response?:any, callback?:any, scope?:any ): void; /** [Method] Performs the given read operation */ read?(): void; /** [Method] Sets the value of api @@ -10872,7 +10765,7 @@ declare module Ext.data.proxy { /** [Method] Sets the value of enablePagingParams * @param enablePagingParams Boolean */ - setEnablePagingParams?( enablePagingParams?:bool ): void; + setEnablePagingParams?( enablePagingParams?:boolean ): void; /** [Method] Sets a value in the underlying extraParams * @param name String The key for the new value * @param value Object The value @@ -10897,7 +10790,7 @@ declare module Ext.data.proxy { /** [Method] Sets the value of noCache * @param noCache Boolean */ - setNoCache?( noCache?:bool ): void; + setNoCache?( noCache?:boolean ): void; /** [Method] Sets the value of pageParam * @param pageParam String */ @@ -10905,7 +10798,7 @@ declare module Ext.data.proxy { /** [Method] Sets the value of simpleSortMode * @param simpleSortMode Boolean */ - setSimpleSortMode?( simpleSortMode?:bool ): void; + setSimpleSortMode?( simpleSortMode?:boolean ): void; /** [Method] Sets the value of sortParam * @param sortParam String */ @@ -10935,7 +10828,7 @@ declare module Ext.data { /** [Config Option] (String) */ directionParam?: string; /** [Config Option] (Boolean) */ - enablePagingParams?: bool; + enablePagingParams?: boolean; /** [Config Option] (Object) */ extraParams?: any; /** [Config Option] (String) */ @@ -10945,11 +10838,11 @@ declare module Ext.data { /** [Config Option] (String) */ limitParam?: string; /** [Config Option] (Boolean) */ - noCache?: bool; + noCache?: boolean; /** [Config Option] (String) */ pageParam?: string; /** [Config Option] (Boolean) */ - simpleSortMode?: bool; + simpleSortMode?: boolean; /** [Config Option] (String) */ sortParam?: string; /** [Config Option] (String) */ @@ -10962,7 +10855,7 @@ declare module Ext.data { * @param request Ext.data.Request The Request object * @param success Boolean True if the request was successful */ - afterRequest?( request?:Ext.data.IRequest, success?:bool ): void; + afterRequest?( request?:Ext.data.IRequest, success?:boolean ): void; /** [Method] Creates and returns an Ext data Request object based on the options passed by the Store that this Proxy is attached to * @param operation Ext.data.Operation The Operation object to execute */ @@ -10996,7 +10889,7 @@ declare module Ext.data { /** [Method] Returns the value of directionParam */ getDirectionParam?(): string; /** [Method] Returns the value of enablePagingParams */ - getEnablePagingParams?(): bool; + getEnablePagingParams?(): boolean; /** [Method] Returns the value of extraParams */ getExtraParams?(): any; /** [Method] Returns the value of filterParam */ @@ -11006,11 +10899,11 @@ declare module Ext.data { /** [Method] Returns the value of limitParam */ getLimitParam?(): string; /** [Method] Returns the value of noCache */ - getNoCache?(): bool; + getNoCache?(): boolean; /** [Method] Returns the value of pageParam */ getPageParam?(): string; /** [Method] Returns the value of simpleSortMode */ - getSimpleSortMode?(): bool; + getSimpleSortMode?(): boolean; /** [Method] Returns the value of sortParam */ getSortParam?(): string; /** [Method] Returns the value of startParam */ @@ -11025,7 +10918,7 @@ declare module Ext.data { * @param callback Function The callback to be fired onces the response is processed * @param scope Object The scope in which we call the callback */ - processResponse?( success?:bool, operation?:Ext.data.IOperation, request?:Ext.data.IRequest, response?:any, callback?:any, scope?:any ): void; + processResponse?( success?:boolean, operation?:Ext.data.IOperation, request?:Ext.data.IRequest, response?:any, callback?:any, scope?:any ): void; /** [Method] Performs the given read operation */ read?(): void; /** [Method] Sets the value of api @@ -11043,7 +10936,7 @@ declare module Ext.data { /** [Method] Sets the value of enablePagingParams * @param enablePagingParams Boolean */ - setEnablePagingParams?( enablePagingParams?:bool ): void; + setEnablePagingParams?( enablePagingParams?:boolean ): void; /** [Method] Sets a value in the underlying extraParams * @param name String The key for the new value * @param value Object The value @@ -11068,7 +10961,7 @@ declare module Ext.data { /** [Method] Sets the value of noCache * @param noCache Boolean */ - setNoCache?( noCache?:bool ): void; + setNoCache?( noCache?:boolean ): void; /** [Method] Sets the value of pageParam * @param pageParam String */ @@ -11076,7 +10969,7 @@ declare module Ext.data { /** [Method] Sets the value of simpleSortMode * @param simpleSortMode Boolean */ - setSimpleSortMode?( simpleSortMode?:bool ): void; + setSimpleSortMode?( simpleSortMode?:boolean ): void; /** [Method] Sets the value of sortParam * @param sortParam String */ @@ -11136,9 +11029,9 @@ declare module Ext.data.proxy { /** [Method] Returns the value of table */ getTable?(): string; /** [Method] Returns the value of tableExists */ - getTableExists?(): bool; + getTableExists?(): boolean; /** [Method] Returns the value of uniqueIdStrategy */ - getUniqueIdStrategy?(): bool; + getUniqueIdStrategy?(): boolean; /** [Method] Performs the given read operation * @param operation Object * @param callback Object @@ -11164,11 +11057,11 @@ declare module Ext.data.proxy { /** [Method] Sets the value of tableExists * @param tableExists Boolean */ - setTableExists?( tableExists?:bool ): void; + setTableExists?( tableExists?:boolean ): void; /** [Method] Sets the value of uniqueIdStrategy * @param uniqueIdStrategy Boolean */ - setUniqueIdStrategy?( uniqueIdStrategy?:bool ): void; + setUniqueIdStrategy?( uniqueIdStrategy?:boolean ): void; /** [Method] Performs the given update operation * @param operation Object * @param callback Object @@ -11180,7 +11073,7 @@ declare module Ext.data.proxy { declare module Ext.data.proxy { export interface IWebStorage extends Ext.data.proxy.IClient { /** [Config Option] (Boolean) */ - enablePagingParams?: bool; + enablePagingParams?: boolean; /** [Config Option] (String) */ id?: string; /** [Property] (Object) */ @@ -11202,7 +11095,7 @@ declare module Ext.data.proxy { /** [Method] Returns the value of defaultDateFormat */ getDefaultDateFormat?(): string; /** [Method] Returns the value of enablePagingParams */ - getEnablePagingParams?(): bool; + getEnablePagingParams?(): boolean; /** [Method] Returns the value of id */ getId?(): string; /** [Method] inherit docs @@ -11218,7 +11111,7 @@ declare module Ext.data.proxy { /** [Method] Sets the value of enablePagingParams * @param enablePagingParams Boolean */ - setEnablePagingParams?( enablePagingParams?:bool ): void; + setEnablePagingParams?( enablePagingParams?:boolean ): void; /** [Method] Sets the value of id * @param id String */ @@ -11239,7 +11132,7 @@ declare module Ext.data.proxy { declare module Ext.data { export interface IWebStorageProxy extends Ext.data.proxy.IClient { /** [Config Option] (Boolean) */ - enablePagingParams?: bool; + enablePagingParams?: boolean; /** [Config Option] (String) */ id?: string; /** [Property] (Object) */ @@ -11261,7 +11154,7 @@ declare module Ext.data { /** [Method] Returns the value of defaultDateFormat */ getDefaultDateFormat?(): string; /** [Method] Returns the value of enablePagingParams */ - getEnablePagingParams?(): bool; + getEnablePagingParams?(): boolean; /** [Method] Returns the value of id */ getId?(): string; /** [Method] inherit docs @@ -11277,7 +11170,7 @@ declare module Ext.data { /** [Method] Sets the value of enablePagingParams * @param enablePagingParams Boolean */ - setEnablePagingParams?( enablePagingParams?:bool ): void; + setEnablePagingParams?( enablePagingParams?:boolean ): void; /** [Method] Sets the value of id * @param id String */ @@ -11340,7 +11233,7 @@ declare module Ext.data.reader { /** [Config Option] (String) */ record?: string; /** [Config Option] (Boolean) */ - useSimpleAccessors?: bool; + useSimpleAccessors?: boolean; /** [Method] Returns the value of record */ getRecord?(): string; /** [Method] Takes a raw response object as passed to this read and returns the useful data segment of it @@ -11348,7 +11241,7 @@ declare module Ext.data.reader { */ getResponseData?( response?:any ): any; /** [Method] Returns the value of useSimpleAccessors */ - getUseSimpleAccessors?(): bool; + getUseSimpleAccessors?(): boolean; /** [Method] Sets the value of record * @param record String */ @@ -11356,7 +11249,7 @@ declare module Ext.data.reader { /** [Method] Sets the value of useSimpleAccessors * @param useSimpleAccessors Boolean */ - setUseSimpleAccessors?( useSimpleAccessors?:bool ): void; + setUseSimpleAccessors?( useSimpleAccessors?:boolean ): void; } } declare module Ext.data { @@ -11364,7 +11257,7 @@ declare module Ext.data { /** [Config Option] (String) */ record?: string; /** [Config Option] (Boolean) */ - useSimpleAccessors?: bool; + useSimpleAccessors?: boolean; /** [Method] Returns the value of record */ getRecord?(): string; /** [Method] Takes a raw response object as passed to this read and returns the useful data segment of it @@ -11372,7 +11265,7 @@ declare module Ext.data { */ getResponseData?( response?:any ): any; /** [Method] Returns the value of useSimpleAccessors */ - getUseSimpleAccessors?(): bool; + getUseSimpleAccessors?(): boolean; /** [Method] Sets the value of record * @param record String */ @@ -11380,7 +11273,7 @@ declare module Ext.data { /** [Method] Sets the value of useSimpleAccessors * @param useSimpleAccessors Boolean */ - setUseSimpleAccessors?( useSimpleAccessors?:bool ): void; + setUseSimpleAccessors?( useSimpleAccessors?:boolean ): void; } } declare module Ext.data.reader { @@ -11390,7 +11283,7 @@ declare module Ext.data.reader { /** [Config Option] (String) */ idProperty?: string; /** [Config Option] (Boolean) */ - implicitIncludes?: bool; + implicitIncludes?: boolean; /** [Config Option] (String) */ messageProperty?: string; /** [Config Option] (String) */ @@ -11466,7 +11359,7 @@ declare module Ext.data.reader { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -11476,7 +11369,7 @@ declare module Ext.data.reader { /** [Method] Returns the value of idProperty */ getIdProperty?(): string; /** [Method] Returns the value of implicitIncludes */ - getImplicitIncludes?(): bool; + getImplicitIncludes?(): boolean; /** [Method] Returns the value of listeners */ getListeners?(): any; /** [Method] Returns the value of messageProperty */ @@ -11496,7 +11389,7 @@ declare module Ext.data.reader { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -11593,7 +11486,7 @@ declare module Ext.data.reader { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -11611,7 +11504,7 @@ declare module Ext.data.reader { /** [Method] Sets the value of implicitIncludes * @param implicitIncludes Boolean */ - setImplicitIncludes?( implicitIncludes?:bool ): void; + setImplicitIncludes?( implicitIncludes?:boolean ): void; /** [Method] Sets the value of listeners * @param listeners Object */ @@ -11673,7 +11566,7 @@ declare module Ext.data { /** [Config Option] (String) */ idProperty?: string; /** [Config Option] (Boolean) */ - implicitIncludes?: bool; + implicitIncludes?: boolean; /** [Config Option] (String) */ messageProperty?: string; /** [Config Option] (String) */ @@ -11749,7 +11642,7 @@ declare module Ext.data { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -11759,7 +11652,7 @@ declare module Ext.data { /** [Method] Returns the value of idProperty */ getIdProperty?(): string; /** [Method] Returns the value of implicitIncludes */ - getImplicitIncludes?(): bool; + getImplicitIncludes?(): boolean; /** [Method] Returns the value of listeners */ getListeners?(): any; /** [Method] Returns the value of messageProperty */ @@ -11779,7 +11672,7 @@ declare module Ext.data { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -11876,7 +11769,7 @@ declare module Ext.data { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -11894,7 +11787,7 @@ declare module Ext.data { /** [Method] Sets the value of implicitIncludes * @param implicitIncludes Boolean */ - setImplicitIncludes?( implicitIncludes?:bool ): void; + setImplicitIncludes?( implicitIncludes?:boolean ): void; /** [Method] Sets the value of listeners * @param listeners Object */ @@ -11956,7 +11849,7 @@ declare module Ext.data { /** [Config Option] (String) */ idProperty?: string; /** [Config Option] (Boolean) */ - implicitIncludes?: bool; + implicitIncludes?: boolean; /** [Config Option] (String) */ messageProperty?: string; /** [Config Option] (String) */ @@ -12032,7 +11925,7 @@ declare module Ext.data { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -12042,7 +11935,7 @@ declare module Ext.data { /** [Method] Returns the value of idProperty */ getIdProperty?(): string; /** [Method] Returns the value of implicitIncludes */ - getImplicitIncludes?(): bool; + getImplicitIncludes?(): boolean; /** [Method] Returns the value of listeners */ getListeners?(): any; /** [Method] Returns the value of messageProperty */ @@ -12062,7 +11955,7 @@ declare module Ext.data { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -12159,7 +12052,7 @@ declare module Ext.data { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -12177,7 +12070,7 @@ declare module Ext.data { /** [Method] Sets the value of implicitIncludes * @param implicitIncludes Boolean */ - setImplicitIncludes?( implicitIncludes?:bool ): void; + setImplicitIncludes?( implicitIncludes?:boolean ): void; /** [Method] Sets the value of listeners * @param listeners Object */ @@ -12287,7 +12180,7 @@ declare module Ext.data { /** [Config Option] (String) */ callbackKey?: string; /** [Config Option] (Boolean) */ - disableCaching?: bool; + disableCaching?: boolean; /** [Config Option] (Object) */ headers?: any; /** [Config Option] (Object) */ @@ -12309,7 +12202,7 @@ declare module Ext.data { /** [Config Option] (String) */ username?: string; /** [Config Option] (Boolean) */ - withCredentials?: bool; + withCredentials?: boolean; /** [Config Option] (Object) */ xmlData?: any; /** [Method] Returns the value of action */ @@ -12323,7 +12216,7 @@ declare module Ext.data { /** [Method] Returns the value of directFn */ getDirectFn?(): any; /** [Method] Returns the value of disableCaching */ - getDisableCaching?(): bool; + getDisableCaching?(): boolean; /** [Method] Returns the value of headers */ getHeaders?(): any; /** [Method] Returns the value of jsonData */ @@ -12349,7 +12242,7 @@ declare module Ext.data { /** [Method] Returns the value of username */ getUsername?(): string; /** [Method] Returns the value of withCredentials */ - getWithCredentials?(): bool; + getWithCredentials?(): boolean; /** [Method] Returns the value of xmlData */ getXmlData?(): any; /** [Method] Sets the value of action @@ -12375,7 +12268,7 @@ declare module Ext.data { /** [Method] Sets the value of disableCaching * @param disableCaching Boolean */ - setDisableCaching?( disableCaching?:bool ): void; + setDisableCaching?( disableCaching?:boolean ): void; /** [Method] Sets the value of headers * @param headers Object */ @@ -12427,7 +12320,7 @@ declare module Ext.data { /** [Method] Sets the value of withCredentials * @param withCredentials Boolean */ - setWithCredentials?( withCredentials?:bool ): void; + setWithCredentials?( withCredentials?:boolean ): void; /** [Method] Sets the value of xmlData * @param xmlData Object */ @@ -12439,25 +12332,25 @@ declare module Ext.data { /** [Config Option] (Number) */ count?: number; /** [Config Option] (Boolean) */ - loaded?: bool; + loaded?: boolean; /** [Config Option] (String) */ message?: string; /** [Config Option] (Ext.data.Model[]) */ records?: Ext.data.IModel[]; /** [Config Option] (Boolean) */ - success?: bool; + success?: boolean; /** [Config Option] (Number) */ total?: number; /** [Method] Returns the value of count */ getCount?(): number; /** [Method] Returns the value of loaded */ - getLoaded?(): bool; + getLoaded?(): boolean; /** [Method] Returns the value of message */ getMessage?(): string; /** [Method] Returns the value of records */ getRecords?(): Ext.data.IModel[]; /** [Method] Returns the value of success */ - getSuccess?(): bool; + getSuccess?(): boolean; /** [Method] Returns the value of total */ getTotal?(): number; /** [Method] Sets the value of count @@ -12467,7 +12360,7 @@ declare module Ext.data { /** [Method] Sets the value of loaded * @param loaded Boolean */ - setLoaded?( loaded?:bool ): void; + setLoaded?( loaded?:boolean ): void; /** [Method] Sets the value of message * @param message String */ @@ -12479,7 +12372,7 @@ declare module Ext.data { /** [Method] Sets the value of success * @param success Boolean */ - setSuccess?( success?:bool ): void; + setSuccess?( success?:boolean ): void; /** [Method] Sets the value of total * @param total Number */ @@ -12545,27 +12438,6 @@ declare module Ext.data { static none( value?:any ): any; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.data { @@ -12573,13 +12445,13 @@ declare module Ext.data { /** [Config Option] (Boolean/Object) */ autoLoad?: any; /** [Config Option] (Boolean) */ - autoSync?: bool; + autoSync?: boolean; /** [Config Option] (Boolean) */ - clearOnPageLoad?: bool; + clearOnPageLoad?: boolean; /** [Config Option] (Object[]/Ext.data.Model[]) */ data?: any; /** [Config Option] (Boolean) */ - destroyRemovedRecords?: bool; + destroyRemovedRecords?: boolean; /** [Config Option] (Object[]) */ fields?: any[]; /** [Config Option] (Object[]) */ @@ -12599,17 +12471,17 @@ declare module Ext.data { /** [Config Option] (String/Ext.data.proxy.Proxy/Object) */ proxy?: any; /** [Config Option] (Boolean) */ - remoteFilter?: bool; + remoteFilter?: boolean; /** [Config Option] (Boolean) */ - remoteGroup?: bool; + remoteGroup?: boolean; /** [Config Option] (Boolean) */ - remoteSort?: bool; + remoteSort?: boolean; /** [Config Option] (Object[]) */ sorters?: any[]; /** [Config Option] (String) */ storeId?: string; /** [Config Option] (Boolean) */ - syncRemovedRecords?: bool; + syncRemovedRecords?: boolean; /** [Config Option] (Number) */ totalCount?: number; /** [Property] (Number) */ @@ -12631,7 +12503,7 @@ declare module Ext.data { /** [Method] Reverts to a view of the Record cache with no filtering applied * @param suppressEvent Boolean true to clear silently without firing the refresh event. */ - clearFilter?( suppressEvent?:bool ): void; + clearFilter?( suppressEvent?:boolean ): void; /** [Method] */ destroy?(): void; /** [Method] Calls the specified function for each of the Records in the cache @@ -12645,7 +12517,7 @@ declare module Ext.data { * @param anyMatch Boolean true to allow any match, false to anchor regex beginning with ^. * @param caseSensitive Boolean true to make the filtering regex case sensitive. */ - filter?( filters?:any, value?:string, anyMatch?:bool, caseSensitive?:bool ): void; + filter?( filters?:any, value?:string, anyMatch?:boolean, caseSensitive?:boolean ): void; /** [Method] Filter by a function * @param fn Function The function to be called. It will be passed the following parameters: * @param scope Object The scope (this reference) in which the function is executed. Defaults to this Store. @@ -12660,8 +12532,8 @@ declare module Ext.data { * @param exactMatch Boolean true to force exact match (^ and $ characters added to the regex). */ find?( fieldName?:any, value?:any, startIndex?:any, anyMatch?:any, caseSensitive?:any, exactMatch?:any ): any; - find?( fieldName?:string, value?:string, startIndex?:number, anyMatch?:bool, caseSensitive?:bool, exactMatch?:bool ): number; - find?( fieldName?:string, value?:RegExp, startIndex?:number, anyMatch?:bool, caseSensitive?:bool, exactMatch?:bool ): number; + find?( fieldName?:string, value?:string, startIndex?:number, anyMatch?:boolean, caseSensitive?:boolean, exactMatch?:boolean ): number; + find?( fieldName?:string, value?:RegExp, startIndex?:number, anyMatch?:boolean, caseSensitive?:boolean, exactMatch?:boolean ): number; /** [Method] Find the index of the first matching Record in this Store by a function * @param fn Function The function to be called. It will be passed the following parameters: * @param scope Object The scope (this reference) in which the function is executed. Defaults to this Store. @@ -12683,8 +12555,8 @@ declare module Ext.data { * @param exactMatch Boolean true to force exact match (^ and $ characters added to the regex). */ findRecord?( fieldName?:any, value?:any, startIndex?:any, anyMatch?:any, caseSensitive?:any, exactMatch?:any ): any; - findRecord?( fieldName?:string, value?:string, startIndex?:number, anyMatch?:bool, caseSensitive?:bool, exactMatch?:bool ): Ext.data.IModel; - findRecord?( fieldName?:string, value?:RegExp, startIndex?:number, anyMatch?:bool, caseSensitive?:bool, exactMatch?:bool ): Ext.data.IModel; + findRecord?( fieldName?:string, value?:string, startIndex?:number, anyMatch?:boolean, caseSensitive?:boolean, exactMatch?:boolean ): Ext.data.IModel; + findRecord?( fieldName?:string, value?:RegExp, startIndex?:number, anyMatch?:boolean, caseSensitive?:boolean, exactMatch?:boolean ): Ext.data.IModel; /** [Method] Convenience function for getting the first model instance in the store */ first?(): Ext.data.IModel; /** [Method] Convenience function for getting the first model instance in the store */ @@ -12702,7 +12574,7 @@ declare module Ext.data { /** [Method] Returns the value of autoLoad */ getAutoLoad?(): any; /** [Method] Returns the value of autoSync */ - getAutoSync?(): bool; + getAutoSync?(): boolean; /** [Method] Get the Record with the specified id * @param id String The id of the Record to find. */ @@ -12712,13 +12584,13 @@ declare module Ext.data { */ getById?( id?:string ): void; /** [Method] Returns the value of clearOnPageLoad */ - getClearOnPageLoad?(): bool; + getClearOnPageLoad?(): boolean; /** [Method] Gets the number of cached records */ getCount?(): number; /** [Method] Returns the value of data */ getData?(): any; /** [Method] Returns the value of destroyRemovedRecords */ - getDestroyRemovedRecords?(): bool; + getDestroyRemovedRecords?(): boolean; /** [Method] Returns the value of fields */ getFields?(): any[]; /** [Method] Returns the value of getGroupString */ @@ -12749,17 +12621,17 @@ declare module Ext.data { */ getRange?( startIndex?:number, endIndex?:number ): Ext.data.IModel[]; /** [Method] Returns the value of remoteFilter */ - getRemoteFilter?(): bool; + getRemoteFilter?(): boolean; /** [Method] Returns the value of remoteGroup */ - getRemoteGroup?(): bool; + getRemoteGroup?(): boolean; /** [Method] Returns the value of remoteSort */ - getRemoteSort?(): bool; + getRemoteSort?(): boolean; /** [Method] Returns any records that have been removed from the store but not yet destroyed on the proxy */ getRemovedRecords?(): Ext.data.IModel[]; /** [Method] Returns the value of storeId */ getStoreId?(): string; /** [Method] Returns the value of syncRemovedRecords */ - getSyncRemovedRecords?(): bool; + getSyncRemovedRecords?(): boolean; /** [Method] Returns the value of totalCount */ getTotalCount?(): number; /** [Method] Returns all Model instances that have been updated in the Store but not yet synchronized with the Proxy */ @@ -12778,17 +12650,17 @@ declare module Ext.data { */ insert?( index?:number, records?:Ext.data.IModel[] ): any; /** [Method] Returns true if the Store is set to autoLoad or is a type which loads upon instantiation */ - isAutoLoading?(): bool; + isAutoLoading?(): boolean; /** [Method] Returns true if this store is currently filtered */ - isFiltered?(): bool; + isFiltered?(): boolean; /** [Method] This method tells you if this store has a grouper defined on it */ - isGrouped?(): bool; + isGrouped?(): boolean; /** [Method] Returns true if the Store has been loaded */ - isLoaded?(): bool; + isLoaded?(): boolean; /** [Method] Returns true if the Store is currently performing a load operation */ - isLoading?(): bool; + isLoading?(): boolean; /** [Method] Returns true if this store is currently sorted */ - isSorted?(): bool; + isSorted?(): boolean; /** [Method] Convenience function for getting the last model instance in the store */ last?(): Ext.data.IModel; /** [Method] Convenience function for getting the last model instance in the store */ @@ -12802,7 +12674,7 @@ declare module Ext.data { * @param data Ext.data.Model[]/Object[] Array of data to load. Any non-model instances will be cast into model instances first. * @param append Boolean true to add the records to the existing records in the store, false to remove the old ones first. */ - loadData?( data?:any, append?:bool ): void; + loadData?( data?:any, append?:boolean ): void; /** [Method] Loads a given page of data by setting the start and limit values appropriately * @param page Number The number of the page to load. * @param options Object See options for load. @@ -12845,7 +12717,7 @@ declare module Ext.data { /** [Method] Remove all items from the store * @param silent Boolean Prevent the clear event from being fired. */ - removeAll?( silent?:bool ): void; + removeAll?( silent?:boolean ): void; /** [Method] Removes the model instance at the given index * @param index Number The record index. */ @@ -12857,11 +12729,11 @@ declare module Ext.data { /** [Method] Sets the value of autoSync * @param autoSync Boolean */ - setAutoSync?( autoSync?:bool ): void; + setAutoSync?( autoSync?:boolean ): void; /** [Method] Sets the value of clearOnPageLoad * @param clearOnPageLoad Boolean */ - setClearOnPageLoad?( clearOnPageLoad?:bool ): void; + setClearOnPageLoad?( clearOnPageLoad?:boolean ): void; /** [Method] Sets the value of data * @param data Object[]/Ext.data.Model[] */ @@ -12869,7 +12741,7 @@ declare module Ext.data { /** [Method] Sets the value of destroyRemovedRecords * @param destroyRemovedRecords Boolean */ - setDestroyRemovedRecords?( destroyRemovedRecords?:bool ): void; + setDestroyRemovedRecords?( destroyRemovedRecords?:boolean ): void; /** [Method] Sets the value of fields * @param fields Object[] */ @@ -12913,15 +12785,15 @@ declare module Ext.data { /** [Method] Sets the value of remoteFilter * @param remoteFilter Boolean */ - setRemoteFilter?( remoteFilter?:bool ): void; + setRemoteFilter?( remoteFilter?:boolean ): void; /** [Method] Sets the value of remoteGroup * @param remoteGroup Boolean */ - setRemoteGroup?( remoteGroup?:bool ): void; + setRemoteGroup?( remoteGroup?:boolean ): void; /** [Method] Sets the value of remoteSort * @param remoteSort Boolean */ - setRemoteSort?( remoteSort?:bool ): void; + setRemoteSort?( remoteSort?:boolean ): void; /** [Method] Sets the value of sorters * @param sorters Object[] */ @@ -12933,7 +12805,7 @@ declare module Ext.data { /** [Method] Sets the value of syncRemovedRecords * @param syncRemovedRecords Boolean */ - setSyncRemovedRecords?( syncRemovedRecords?:bool ): void; + setSyncRemovedRecords?( syncRemovedRecords?:boolean ): void; /** [Method] Sets the value of totalCount * @param totalCount Number */ @@ -13007,11 +12879,11 @@ declare module Ext.data { /** [Method] Returns true if the collection contains the passed Object as an item * @param item Object The Object to look for in the collection. */ - static contains( item?:any ): bool; + static contains( item?:any ): boolean; /** [Method] Returns true if the collection contains the passed Object as a key * @param key String The key to look for in the collection. */ - static containsKey( key?:string ): bool; + static containsKey( key?:string ): boolean; /** [Method] */ static destroy(): void; /** [Method] Executes the specified function once for every item in the collection @@ -13065,9 +12937,9 @@ declare module Ext.data { */ static getAt( index?:number ): any; /** [Method] Returns the value of autoFilter */ - static getAutoFilter(): bool; + static getAutoFilter(): boolean; /** [Method] Returns the value of autoSort */ - static getAutoSort(): bool; + static getAutoSort(): boolean; /** [Method] Returns the item associated with the passed key * @param key String/Number The key of the item. */ @@ -13185,11 +13057,11 @@ declare module Ext.data { /** [Method] Sets the value of autoFilter * @param autoFilter Boolean */ - static setAutoFilter( autoFilter?:bool ): void; + static setAutoFilter( autoFilter?:boolean ): void; /** [Method] Sets the value of autoSort * @param autoSort Boolean */ - static setAutoSort( autoSort?:bool ): void; + static setAutoSort( autoSort?:boolean ): void; /** [Method] Sets the value of defaultSortDirection * @param defaultSortDirection String */ @@ -13221,27 +13093,6 @@ declare module Ext.data { * @param stores String/Object... Any number of Store instances or ID-s. */ static unregister( stores?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -13297,11 +13148,11 @@ declare module Ext { /** [Method] Returns true if the collection contains the passed Object as an item * @param item Object The Object to look for in the collection. */ - static contains( item?:any ): bool; + static contains( item?:any ): boolean; /** [Method] Returns true if the collection contains the passed Object as a key * @param key String The key to look for in the collection. */ - static containsKey( key?:string ): bool; + static containsKey( key?:string ): boolean; /** [Method] */ static destroy(): void; /** [Method] Executes the specified function once for every item in the collection @@ -13355,9 +13206,9 @@ declare module Ext { */ static getAt( index?:number ): any; /** [Method] Returns the value of autoFilter */ - static getAutoFilter(): bool; + static getAutoFilter(): boolean; /** [Method] Returns the value of autoSort */ - static getAutoSort(): bool; + static getAutoSort(): boolean; /** [Method] Returns the item associated with the passed key * @param key String/Number The key of the item. */ @@ -13475,11 +13326,11 @@ declare module Ext { /** [Method] Sets the value of autoFilter * @param autoFilter Boolean */ - static setAutoFilter( autoFilter?:bool ): void; + static setAutoFilter( autoFilter?:boolean ): void; /** [Method] Sets the value of autoSort * @param autoSort Boolean */ - static setAutoSort( autoSort?:bool ): void; + static setAutoSort( autoSort?:boolean ): void; /** [Method] Sets the value of defaultSortDirection * @param defaultSortDirection String */ @@ -13511,27 +13362,6 @@ declare module Ext { * @param stores String/Object... Any number of Store instances or ID-s. */ static unregister( stores?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.data { @@ -13587,11 +13417,11 @@ declare module Ext.data { /** [Method] Returns true if the collection contains the passed Object as an item * @param item Object The Object to look for in the collection. */ - static contains( item?:any ): bool; + static contains( item?:any ): boolean; /** [Method] Returns true if the collection contains the passed Object as a key * @param key String The key to look for in the collection. */ - static containsKey( key?:string ): bool; + static containsKey( key?:string ): boolean; /** [Method] */ static destroy(): void; /** [Method] Executes the specified function once for every item in the collection @@ -13645,9 +13475,9 @@ declare module Ext.data { */ static getAt( index?:number ): any; /** [Method] Returns the value of autoFilter */ - static getAutoFilter(): bool; + static getAutoFilter(): boolean; /** [Method] Returns the value of autoSort */ - static getAutoSort(): bool; + static getAutoSort(): boolean; /** [Method] Returns the item associated with the passed key * @param key String/Number The key of the item. */ @@ -13765,11 +13595,11 @@ declare module Ext.data { /** [Method] Sets the value of autoFilter * @param autoFilter Boolean */ - static setAutoFilter( autoFilter?:bool ): void; + static setAutoFilter( autoFilter?:boolean ): void; /** [Method] Sets the value of autoSort * @param autoSort Boolean */ - static setAutoSort( autoSort?:bool ): void; + static setAutoSort( autoSort?:boolean ): void; /** [Method] Sets the value of defaultSortDirection * @param defaultSortDirection String */ @@ -13801,27 +13631,6 @@ declare module Ext.data { * @param stores String/Object... Any number of Store instances or ID-s. */ static unregister( stores?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -13877,11 +13686,11 @@ declare module Ext { /** [Method] Returns true if the collection contains the passed Object as an item * @param item Object The Object to look for in the collection. */ - static contains( item?:any ): bool; + static contains( item?:any ): boolean; /** [Method] Returns true if the collection contains the passed Object as a key * @param key String The key to look for in the collection. */ - static containsKey( key?:string ): bool; + static containsKey( key?:string ): boolean; /** [Method] */ static destroy(): void; /** [Method] Executes the specified function once for every item in the collection @@ -13935,9 +13744,9 @@ declare module Ext { */ static getAt( index?:number ): any; /** [Method] Returns the value of autoFilter */ - static getAutoFilter(): bool; + static getAutoFilter(): boolean; /** [Method] Returns the value of autoSort */ - static getAutoSort(): bool; + static getAutoSort(): boolean; /** [Method] Returns the item associated with the passed key * @param key String/Number The key of the item. */ @@ -14055,11 +13864,11 @@ declare module Ext { /** [Method] Sets the value of autoFilter * @param autoFilter Boolean */ - static setAutoFilter( autoFilter?:bool ): void; + static setAutoFilter( autoFilter?:boolean ): void; /** [Method] Sets the value of autoSort * @param autoSort Boolean */ - static setAutoSort( autoSort?:bool ): void; + static setAutoSort( autoSort?:boolean ): void; /** [Method] Sets the value of defaultSortDirection * @param defaultSortDirection String */ @@ -14091,33 +13900,12 @@ declare module Ext { * @param stores String/Object... Any number of Store instances or ID-s. */ static unregister( stores?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.data { export interface ITreeStore extends Ext.data.INodeStore { /** [Config Option] (Boolean) */ - clearOnLoad?: bool; + clearOnLoad?: boolean; /** [Config Option] (String) */ defaultRootId?: string; /** [Config Option] (String) */ @@ -14127,7 +13915,7 @@ declare module Ext.data { /** [Config Option] (Ext.data.Model/Ext.data.NodeInterface/Object) */ root?: any; /** [Method] Returns the value of clearOnLoad */ - getClearOnLoad?(): bool; + getClearOnLoad?(): boolean; /** [Method] Returns the value of defaultRootId */ getDefaultRootId?(): string; /** [Method] Returns the value of defaultRootProperty */ @@ -14155,11 +13943,11 @@ declare module Ext.data { /** [Method] Remove all items from the store * @param silent Boolean Prevent the clear event from being fired. */ - removeAll?( silent?:bool ): void; + removeAll?( silent?:boolean ): void; /** [Method] Sets the value of clearOnLoad * @param clearOnLoad Boolean */ - setClearOnLoad?( clearOnLoad?:bool ): void; + setClearOnLoad?( clearOnLoad?:boolean ): void; /** [Method] Sets the value of defaultRootId * @param defaultRootId String */ @@ -14213,27 +14001,6 @@ declare module Ext.data { static initConfig( instanceConfig?:any ): any; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.data { @@ -14261,17 +14028,17 @@ declare module Ext.data { * @param config Object Config object. * @param email String The email address. */ - static email( config?:any, email?:string ): bool; + static email( config?:any, email?:string ): boolean; /** [Method] Validates that the given value is present in the configured list * @param config Object Config object. * @param value String The value to validate. */ - static exclusion( config?:any, value?:string ): bool; + static exclusion( config?:any, value?:string ): boolean; /** [Method] Returns true if the given value passes validation against the configured matcher regex * @param config Object Config object. * @param value String The value to validate. */ - static format( config?:any, value?:string ): bool; + static format( config?:any, value?:string ): boolean; /** [Method] Returns the initial configuration passed to constructor * @param name String When supplied, value for particular configuration option is returned, otherwise the full config object is returned. */ @@ -14284,7 +14051,7 @@ declare module Ext.data { * @param config Object Config object. * @param value String The value to validate. */ - static inclusion( config?:any, value?:string ): bool; + static inclusion( config?:any, value?:string ): boolean; /** [Method] Initialize configuration for this class * @param instanceConfig Object */ @@ -14293,67 +14060,46 @@ declare module Ext.data { * @param config Object Config object. * @param value String The value to validate. */ - static length( config?:any, value?:string ): bool; + static length( config?:any, value?:string ): boolean; /** [Method] Validates that the given value is present * @param config Object Config object. * @param value Object The value to validate. */ - static presence( config?:any, value?:any ): bool; + static presence( config?:any, value?:any ): boolean; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.data.writer { export interface IJson extends Ext.data.writer.IWriter { /** [Config Option] (Boolean) */ - allowSingle?: bool; + allowSingle?: boolean; /** [Config Option] (Boolean) */ - encode?: bool; + encode?: boolean; /** [Config Option] (String) */ root?: string; /** [Config Option] (String) */ rootProperty?: string; /** [Method] Returns the value of allowSingle */ - getAllowSingle?(): bool; + getAllowSingle?(): boolean; /** [Method] Returns the value of encode */ - getEncode?(): bool; + getEncode?(): boolean; /** [Method] Returns the value of encodeRequest */ - getEncodeRequest?(): bool; + getEncodeRequest?(): boolean; /** [Method] Returns the value of rootProperty */ getRootProperty?(): string; /** [Method] Sets the value of allowSingle * @param allowSingle Boolean */ - setAllowSingle?( allowSingle?:bool ): void; + setAllowSingle?( allowSingle?:boolean ): void; /** [Method] Sets the value of encode * @param encode Boolean */ - setEncode?( encode?:bool ): void; + setEncode?( encode?:boolean ): void; /** [Method] Sets the value of encodeRequest * @param encodeRequest Boolean */ - setEncodeRequest?( encodeRequest?:bool ): void; + setEncodeRequest?( encodeRequest?:boolean ): void; /** [Method] Sets the value of rootProperty * @param rootProperty String */ @@ -14363,33 +14109,33 @@ declare module Ext.data.writer { declare module Ext.data { export interface IJsonWriter extends Ext.data.writer.IWriter { /** [Config Option] (Boolean) */ - allowSingle?: bool; + allowSingle?: boolean; /** [Config Option] (Boolean) */ - encode?: bool; + encode?: boolean; /** [Config Option] (String) */ root?: string; /** [Config Option] (String) */ rootProperty?: string; /** [Method] Returns the value of allowSingle */ - getAllowSingle?(): bool; + getAllowSingle?(): boolean; /** [Method] Returns the value of encode */ - getEncode?(): bool; + getEncode?(): boolean; /** [Method] Returns the value of encodeRequest */ - getEncodeRequest?(): bool; + getEncodeRequest?(): boolean; /** [Method] Returns the value of rootProperty */ getRootProperty?(): string; /** [Method] Sets the value of allowSingle * @param allowSingle Boolean */ - setAllowSingle?( allowSingle?:bool ): void; + setAllowSingle?( allowSingle?:boolean ): void; /** [Method] Sets the value of encode * @param encode Boolean */ - setEncode?( encode?:bool ): void; + setEncode?( encode?:boolean ): void; /** [Method] Sets the value of encodeRequest * @param encodeRequest Boolean */ - setEncodeRequest?( encodeRequest?:bool ): void; + setEncodeRequest?( encodeRequest?:boolean ): void; /** [Method] Sets the value of rootProperty * @param rootProperty String */ @@ -14401,7 +14147,7 @@ declare module Ext.data.writer { /** [Config Option] (String) */ nameProperty?: string; /** [Config Option] (Boolean) */ - writeAllFields?: bool; + writeAllFields?: boolean; /** [Method] Returns the value of nameProperty */ getNameProperty?(): string; /** [Method] Formats the data for each record before sending it to the server @@ -14409,7 +14155,7 @@ declare module Ext.data.writer { */ getRecordData?( record?:any ): any; /** [Method] Returns the value of writeAllFields */ - getWriteAllFields?(): bool; + getWriteAllFields?(): boolean; /** [Method] Sets the value of nameProperty * @param nameProperty String */ @@ -14417,7 +14163,7 @@ declare module Ext.data.writer { /** [Method] Sets the value of writeAllFields * @param writeAllFields Boolean */ - setWriteAllFields?( writeAllFields?:bool ): void; + setWriteAllFields?( writeAllFields?:boolean ): void; /** [Method] Prepares a Proxy s Ext data Request object * @param request Ext.data.Request The request object. */ @@ -14429,7 +14175,7 @@ declare module Ext.data { /** [Config Option] (String) */ nameProperty?: string; /** [Config Option] (Boolean) */ - writeAllFields?: bool; + writeAllFields?: boolean; /** [Method] Returns the value of nameProperty */ getNameProperty?(): string; /** [Method] Formats the data for each record before sending it to the server @@ -14437,7 +14183,7 @@ declare module Ext.data { */ getRecordData?( record?:any ): any; /** [Method] Returns the value of writeAllFields */ - getWriteAllFields?(): bool; + getWriteAllFields?(): boolean; /** [Method] Sets the value of nameProperty * @param nameProperty String */ @@ -14445,7 +14191,7 @@ declare module Ext.data { /** [Method] Sets the value of writeAllFields * @param writeAllFields Boolean */ - setWriteAllFields?( writeAllFields?:bool ): void; + setWriteAllFields?( writeAllFields?:boolean ): void; /** [Method] Prepares a Proxy s Ext data Request object * @param request Ext.data.Request The request object. */ @@ -14457,7 +14203,7 @@ declare module Ext.data { /** [Config Option] (String) */ nameProperty?: string; /** [Config Option] (Boolean) */ - writeAllFields?: bool; + writeAllFields?: boolean; /** [Method] Returns the value of nameProperty */ getNameProperty?(): string; /** [Method] Formats the data for each record before sending it to the server @@ -14465,7 +14211,7 @@ declare module Ext.data { */ getRecordData?( record?:any ): any; /** [Method] Returns the value of writeAllFields */ - getWriteAllFields?(): bool; + getWriteAllFields?(): boolean; /** [Method] Sets the value of nameProperty * @param nameProperty String */ @@ -14473,7 +14219,7 @@ declare module Ext.data { /** [Method] Sets the value of writeAllFields * @param writeAllFields Boolean */ - setWriteAllFields?( writeAllFields?:bool ): void; + setWriteAllFields?( writeAllFields?:boolean ): void; /** [Method] Prepares a Proxy s Ext data Request object * @param request Ext.data.Request The request object. */ @@ -14719,15 +14465,15 @@ declare module Ext.dataview { /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - blockRefresh?: bool; + blockRefresh?: boolean; /** [Config Option] (Object[]) */ data?: any[]; /** [Config Option] (String) */ defaultType?: string; /** [Config Option] (Boolean) */ - deferEmptyText?: bool; + deferEmptyText?: boolean; /** [Config Option] (Boolean) */ - deselectOnContainerClick?: bool; + deselectOnContainerClick?: boolean; /** [Config Option] (String) */ emptyText?: string; /** [Config Option] (Boolean/Object) */ @@ -14737,7 +14483,7 @@ declare module Ext.dataview { /** [Config Option] (Object) */ itemConfig?: any; /** [Config Option] (Boolean) */ - itemSelector?: bool; + itemSelector?: boolean; /** [Config Option] (String/String[]/Ext.XTemplate) */ itemTpl?: any; /** [Config Option] (String) */ @@ -14745,35 +14491,35 @@ declare module Ext.dataview { /** [Config Option] (Number) */ maxItemCache?: number; /** [Config Option] (Boolean) */ - multiSelect?: bool; + multiSelect?: boolean; /** [Config Option] (Boolean) */ - overItemCls?: bool; + overItemCls?: boolean; /** [Config Option] (String) */ pressedCls?: string; /** [Config Option] (Number) */ pressedDelay?: number; /** [Config Option] (Boolean) */ - scrollToTopOnRefresh?: bool; + scrollToTopOnRefresh?: boolean; /** [Config Option] (Boolean/String/Object) */ scrollable?: any; /** [Config Option] (String) */ selectedCls?: string; /** [Config Option] (Boolean) */ - selectedItemCls?: bool; + selectedItemCls?: boolean; /** [Config Option] (Boolean) */ - simpleSelect?: bool; + simpleSelect?: boolean; /** [Config Option] (Boolean) */ - singleSelect?: bool; + singleSelect?: boolean; /** [Config Option] (Ext.data.Store/Object) */ store?: any; /** [Config Option] (Boolean) */ - trackOver?: bool; + trackOver?: boolean; /** [Config Option] (String) */ triggerCtEvent?: string; /** [Config Option] (String) */ triggerEvent?: string; /** [Config Option] (Boolean) */ - useComponents?: bool; + useComponents?: boolean; /** [Method] Binds a new Store to this DataView */ bindStore?(): void; /** [Method] Deselects any currently selected records and clears all stored selections */ @@ -14785,9 +14531,9 @@ declare module Ext.dataview { * @param suppressEvent Boolean If true the deselect event will not be fired. */ deselect?( records?:any, suppressEvent?:any ): any; - deselect?( records?:number, suppressEvent?:bool ): void; - deselect?( records?:any[], suppressEvent?:bool ): void; - deselect?( records?:Ext.data.IModel, suppressEvent?:bool ): void; + deselect?( records?:number, suppressEvent?:boolean ): void; + deselect?( records?:any[], suppressEvent?:boolean ): void; + deselect?( records?:Ext.data.IModel, suppressEvent?:boolean ): void; /** [Method] Deselects all records * @param supress Object */ @@ -14799,22 +14545,22 @@ declare module Ext.dataview { * @param suppressEvent Boolean Set to false to not fire a deselect event. */ doDeselect?( records?:any, suppressEvent?:any ): any; - doDeselect?( records?:Ext.data.IModel, suppressEvent?:bool ): void; - doDeselect?( records?:number, suppressEvent?:bool ): void; + doDeselect?( records?:Ext.data.IModel, suppressEvent?:boolean ): void; + doDeselect?( records?:number, suppressEvent?:boolean ): void; /** [Method] Selects a record instance by record instance or index * @param records Ext.data.Model/Number An array of records or an index. * @param keepExisting Boolean * @param suppressEvent Boolean Set to false to not fire a select event. */ doSelect?( records?:any, keepExisting?:any, suppressEvent?:any ): any; - doSelect?( records?:Ext.data.IModel, keepExisting?:bool, suppressEvent?:bool ): void; - doSelect?( records?:number, keepExisting?:bool, suppressEvent?:bool ): void; + doSelect?( records?:Ext.data.IModel, keepExisting?:boolean, suppressEvent?:boolean ): void; + doSelect?( records?:number, keepExisting?:boolean, suppressEvent?:boolean ): void; /** [Method] Returns the template node the passed child belongs to or null if it doesn t belong to one */ findItemByChild?(): void; /** [Method] Returns the template node by the Ext EventObject or null if it is not found */ findTargetByEvent?(): void; /** [Method] Returns the value of allowDeselect */ - getAllowDeselect?(): bool; + getAllowDeselect?(): boolean; /** [Method] Returns the value of baseCls */ getBaseCls?(): string; /** [Method] Returns the number of selections */ @@ -14824,11 +14570,11 @@ declare module Ext.dataview { /** [Method] Returns the value of defaultType */ getDefaultType?(): string; /** [Method] Returns the value of deferEmptyText */ - getDeferEmptyText?(): bool; + getDeferEmptyText?(): boolean; /** [Method] Returns the value of deselectOnContainerClick */ - getDeselectOnContainerClick?(): bool; + getDeselectOnContainerClick?(): boolean; /** [Method] Returns the value of disableSelection */ - getDisableSelection?(): bool; + getDisableSelection?(): boolean; /** [Method] Returns the value of emptyText */ getEmptyText?(): string; /** [Method] Returns the value of inline */ @@ -14874,9 +14620,9 @@ declare module Ext.dataview { /** [Method] Gets an array of the records from an array of nodes */ getRecords?(): void; /** [Method] Returns the value of scrollToTopOnRefresh */ - getScrollToTopOnRefresh?(): bool; + getScrollToTopOnRefresh?(): boolean; /** [Method] Returns the value of scrollable */ - getScrollable?(): bool; + getScrollable?(): boolean; /** [Method] Returns the value of selectedCls */ getSelectedCls?(): string; /** [Method] Gets the currently selected nodes */ @@ -14896,7 +14642,7 @@ declare module Ext.dataview { /** [Method] Returns the value of triggerEvent */ getTriggerEvent?(): string; /** [Method] Returns the value of useComponents */ - getUseComponents?(): bool; + getUseComponents?(): boolean; /** [Method] Returns an array of the current items in the DataView */ getViewItems?(): Ext.dom.IElement[]; /** [Method] Returns an array of the current items in the DataView */ @@ -14904,19 +14650,19 @@ declare module Ext.dataview { /** [Method] Method called when the Store s Reader throws an exception */ handleException?(): void; /** [Method] Returns true if there is a selected record */ - hasSelection?(): bool; + hasSelection?(): boolean; /** [Method] Finds the index of the passed node */ indexOf?(): void; /** [Method] Allows addition of behavior to the rendering phase */ initialize?(): void; /** [Method] Returns true if the Selectable is currently locked */ - isLocked?(): bool; + isLocked?(): boolean; /** [Method] Returns true if the specified row is selected * @param record Ext.data.Model/Number The record or index of the record to check. */ isSelected?( record?:any ): any; - isSelected?( record?:Ext.data.IModel ): bool; - isSelected?( record?:number ): bool; + isSelected?( record?:Ext.data.IModel ): boolean; + isSelected?( record?:number ): boolean; /** [Method] Function which can be overridden to provide custom formatting for each Record that is used by this DataView s templat * @param data Object/Object[] The raw data object that was used to create the Record. * @param index Number the index number of the Record being prepared for rendering. @@ -14933,23 +14679,23 @@ declare module Ext.dataview { * @param suppressEvent Boolean If true, the select event will not be fired. */ select?( records?:any, keepExisting?:any, suppressEvent?:any ): any; - select?( records?:Ext.data.IModel, keepExisting?:bool, suppressEvent?:bool ): void; - select?( records?:any[], keepExisting?:bool, suppressEvent?:bool ): void; - select?( records?:number, keepExisting?:bool, suppressEvent?:bool ): void; + select?( records?:Ext.data.IModel, keepExisting?:boolean, suppressEvent?:boolean ): void; + select?( records?:any[], keepExisting?:boolean, suppressEvent?:boolean ): void; + select?( records?:number, keepExisting?:boolean, suppressEvent?:boolean ): void; /** [Method] Selects all records * @param silent Boolean true to suppress all select events. */ - selectAll?( silent?:bool ): void; + selectAll?( silent?:boolean ): void; /** [Method] Selects a range of rows if the selection model getDisableSelection is not locked * @param startRecord Number The index of the first row in the range. * @param endRecord Number The index of the last row in the range. * @param keepExisting Boolean true to retain existing selections. */ - selectRange?( startRecord?:number, endRecord?:number, keepExisting?:bool ): void; + selectRange?( startRecord?:number, endRecord?:number, keepExisting?:boolean ): void; /** [Method] Sets the value of allowDeselect * @param allowDeselect Boolean */ - setAllowDeselect?( allowDeselect?:bool ): void; + setAllowDeselect?( allowDeselect?:boolean ): void; /** [Method] Sets the value of baseCls * @param baseCls String */ @@ -14965,15 +14711,15 @@ declare module Ext.dataview { /** [Method] Sets the value of deferEmptyText * @param deferEmptyText Boolean */ - setDeferEmptyText?( deferEmptyText?:bool ): void; + setDeferEmptyText?( deferEmptyText?:boolean ): void; /** [Method] Sets the value of deselectOnContainerClick * @param deselectOnContainerClick Boolean */ - setDeselectOnContainerClick?( deselectOnContainerClick?:bool ): void; + setDeselectOnContainerClick?( deselectOnContainerClick?:boolean ): void; /** [Method] Sets the value of disableSelection * @param disableSelection Boolean */ - setDisableSelection?( disableSelection?:bool ): void; + setDisableSelection?( disableSelection?:boolean ): void; /** [Method] Sets the value of emptyText * @param emptyText String */ @@ -15022,11 +14768,11 @@ declare module Ext.dataview { /** [Method] Sets the value of scrollToTopOnRefresh * @param scrollToTopOnRefresh Boolean */ - setScrollToTopOnRefresh?( scrollToTopOnRefresh?:bool ): void; + setScrollToTopOnRefresh?( scrollToTopOnRefresh?:boolean ): void; /** [Method] Sets the value of scrollable * @param scrollable Boolean */ - setScrollable?( scrollable?:bool ): void; + setScrollable?( scrollable?:boolean ): void; /** [Method] Sets the value of selectedCls * @param selectedCls String */ @@ -15046,7 +14792,7 @@ declare module Ext.dataview { /** [Method] Sets the value of useComponents * @param useComponents Boolean */ - setUseComponents?( useComponents?:bool ): void; + setUseComponents?( useComponents?:boolean ): void; /** [Method] Sets a record as the last focused record * @param newRecord Ext.data.Record * @param oldRecord Ext.data.Record @@ -15059,15 +14805,15 @@ declare module Ext { /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - blockRefresh?: bool; + blockRefresh?: boolean; /** [Config Option] (Object[]) */ data?: any[]; /** [Config Option] (String) */ defaultType?: string; /** [Config Option] (Boolean) */ - deferEmptyText?: bool; + deferEmptyText?: boolean; /** [Config Option] (Boolean) */ - deselectOnContainerClick?: bool; + deselectOnContainerClick?: boolean; /** [Config Option] (String) */ emptyText?: string; /** [Config Option] (Boolean/Object) */ @@ -15077,7 +14823,7 @@ declare module Ext { /** [Config Option] (Object) */ itemConfig?: any; /** [Config Option] (Boolean) */ - itemSelector?: bool; + itemSelector?: boolean; /** [Config Option] (String/String[]/Ext.XTemplate) */ itemTpl?: any; /** [Config Option] (String) */ @@ -15085,35 +14831,35 @@ declare module Ext { /** [Config Option] (Number) */ maxItemCache?: number; /** [Config Option] (Boolean) */ - multiSelect?: bool; + multiSelect?: boolean; /** [Config Option] (Boolean) */ - overItemCls?: bool; + overItemCls?: boolean; /** [Config Option] (String) */ pressedCls?: string; /** [Config Option] (Number) */ pressedDelay?: number; /** [Config Option] (Boolean) */ - scrollToTopOnRefresh?: bool; + scrollToTopOnRefresh?: boolean; /** [Config Option] (Boolean/String/Object) */ scrollable?: any; /** [Config Option] (String) */ selectedCls?: string; /** [Config Option] (Boolean) */ - selectedItemCls?: bool; + selectedItemCls?: boolean; /** [Config Option] (Boolean) */ - simpleSelect?: bool; + simpleSelect?: boolean; /** [Config Option] (Boolean) */ - singleSelect?: bool; + singleSelect?: boolean; /** [Config Option] (Ext.data.Store/Object) */ store?: any; /** [Config Option] (Boolean) */ - trackOver?: bool; + trackOver?: boolean; /** [Config Option] (String) */ triggerCtEvent?: string; /** [Config Option] (String) */ triggerEvent?: string; /** [Config Option] (Boolean) */ - useComponents?: bool; + useComponents?: boolean; /** [Method] Binds a new Store to this DataView */ bindStore?(): void; /** [Method] Deselects any currently selected records and clears all stored selections */ @@ -15125,9 +14871,9 @@ declare module Ext { * @param suppressEvent Boolean If true the deselect event will not be fired. */ deselect?( records?:any, suppressEvent?:any ): any; - deselect?( records?:number, suppressEvent?:bool ): void; - deselect?( records?:any[], suppressEvent?:bool ): void; - deselect?( records?:Ext.data.IModel, suppressEvent?:bool ): void; + deselect?( records?:number, suppressEvent?:boolean ): void; + deselect?( records?:any[], suppressEvent?:boolean ): void; + deselect?( records?:Ext.data.IModel, suppressEvent?:boolean ): void; /** [Method] Deselects all records * @param supress Object */ @@ -15139,22 +14885,22 @@ declare module Ext { * @param suppressEvent Boolean Set to false to not fire a deselect event. */ doDeselect?( records?:any, suppressEvent?:any ): any; - doDeselect?( records?:Ext.data.IModel, suppressEvent?:bool ): void; - doDeselect?( records?:number, suppressEvent?:bool ): void; + doDeselect?( records?:Ext.data.IModel, suppressEvent?:boolean ): void; + doDeselect?( records?:number, suppressEvent?:boolean ): void; /** [Method] Selects a record instance by record instance or index * @param records Ext.data.Model/Number An array of records or an index. * @param keepExisting Boolean * @param suppressEvent Boolean Set to false to not fire a select event. */ doSelect?( records?:any, keepExisting?:any, suppressEvent?:any ): any; - doSelect?( records?:Ext.data.IModel, keepExisting?:bool, suppressEvent?:bool ): void; - doSelect?( records?:number, keepExisting?:bool, suppressEvent?:bool ): void; + doSelect?( records?:Ext.data.IModel, keepExisting?:boolean, suppressEvent?:boolean ): void; + doSelect?( records?:number, keepExisting?:boolean, suppressEvent?:boolean ): void; /** [Method] Returns the template node the passed child belongs to or null if it doesn t belong to one */ findItemByChild?(): void; /** [Method] Returns the template node by the Ext EventObject or null if it is not found */ findTargetByEvent?(): void; /** [Method] Returns the value of allowDeselect */ - getAllowDeselect?(): bool; + getAllowDeselect?(): boolean; /** [Method] Returns the value of baseCls */ getBaseCls?(): string; /** [Method] Returns the number of selections */ @@ -15164,11 +14910,11 @@ declare module Ext { /** [Method] Returns the value of defaultType */ getDefaultType?(): string; /** [Method] Returns the value of deferEmptyText */ - getDeferEmptyText?(): bool; + getDeferEmptyText?(): boolean; /** [Method] Returns the value of deselectOnContainerClick */ - getDeselectOnContainerClick?(): bool; + getDeselectOnContainerClick?(): boolean; /** [Method] Returns the value of disableSelection */ - getDisableSelection?(): bool; + getDisableSelection?(): boolean; /** [Method] Returns the value of emptyText */ getEmptyText?(): string; /** [Method] Returns the value of inline */ @@ -15214,9 +14960,9 @@ declare module Ext { /** [Method] Gets an array of the records from an array of nodes */ getRecords?(): void; /** [Method] Returns the value of scrollToTopOnRefresh */ - getScrollToTopOnRefresh?(): bool; + getScrollToTopOnRefresh?(): boolean; /** [Method] Returns the value of scrollable */ - getScrollable?(): bool; + getScrollable?(): boolean; /** [Method] Returns the value of selectedCls */ getSelectedCls?(): string; /** [Method] Gets the currently selected nodes */ @@ -15236,7 +14982,7 @@ declare module Ext { /** [Method] Returns the value of triggerEvent */ getTriggerEvent?(): string; /** [Method] Returns the value of useComponents */ - getUseComponents?(): bool; + getUseComponents?(): boolean; /** [Method] Returns an array of the current items in the DataView */ getViewItems?(): Ext.dom.IElement[]; /** [Method] Returns an array of the current items in the DataView */ @@ -15244,19 +14990,19 @@ declare module Ext { /** [Method] Method called when the Store s Reader throws an exception */ handleException?(): void; /** [Method] Returns true if there is a selected record */ - hasSelection?(): bool; + hasSelection?(): boolean; /** [Method] Finds the index of the passed node */ indexOf?(): void; /** [Method] Allows addition of behavior to the rendering phase */ initialize?(): void; /** [Method] Returns true if the Selectable is currently locked */ - isLocked?(): bool; + isLocked?(): boolean; /** [Method] Returns true if the specified row is selected * @param record Ext.data.Model/Number The record or index of the record to check. */ isSelected?( record?:any ): any; - isSelected?( record?:Ext.data.IModel ): bool; - isSelected?( record?:number ): bool; + isSelected?( record?:Ext.data.IModel ): boolean; + isSelected?( record?:number ): boolean; /** [Method] Function which can be overridden to provide custom formatting for each Record that is used by this DataView s templat * @param data Object/Object[] The raw data object that was used to create the Record. * @param index Number the index number of the Record being prepared for rendering. @@ -15273,23 +15019,23 @@ declare module Ext { * @param suppressEvent Boolean If true, the select event will not be fired. */ select?( records?:any, keepExisting?:any, suppressEvent?:any ): any; - select?( records?:Ext.data.IModel, keepExisting?:bool, suppressEvent?:bool ): void; - select?( records?:any[], keepExisting?:bool, suppressEvent?:bool ): void; - select?( records?:number, keepExisting?:bool, suppressEvent?:bool ): void; + select?( records?:Ext.data.IModel, keepExisting?:boolean, suppressEvent?:boolean ): void; + select?( records?:any[], keepExisting?:boolean, suppressEvent?:boolean ): void; + select?( records?:number, keepExisting?:boolean, suppressEvent?:boolean ): void; /** [Method] Selects all records * @param silent Boolean true to suppress all select events. */ - selectAll?( silent?:bool ): void; + selectAll?( silent?:boolean ): void; /** [Method] Selects a range of rows if the selection model getDisableSelection is not locked * @param startRecord Number The index of the first row in the range. * @param endRecord Number The index of the last row in the range. * @param keepExisting Boolean true to retain existing selections. */ - selectRange?( startRecord?:number, endRecord?:number, keepExisting?:bool ): void; + selectRange?( startRecord?:number, endRecord?:number, keepExisting?:boolean ): void; /** [Method] Sets the value of allowDeselect * @param allowDeselect Boolean */ - setAllowDeselect?( allowDeselect?:bool ): void; + setAllowDeselect?( allowDeselect?:boolean ): void; /** [Method] Sets the value of baseCls * @param baseCls String */ @@ -15305,15 +15051,15 @@ declare module Ext { /** [Method] Sets the value of deferEmptyText * @param deferEmptyText Boolean */ - setDeferEmptyText?( deferEmptyText?:bool ): void; + setDeferEmptyText?( deferEmptyText?:boolean ): void; /** [Method] Sets the value of deselectOnContainerClick * @param deselectOnContainerClick Boolean */ - setDeselectOnContainerClick?( deselectOnContainerClick?:bool ): void; + setDeselectOnContainerClick?( deselectOnContainerClick?:boolean ): void; /** [Method] Sets the value of disableSelection * @param disableSelection Boolean */ - setDisableSelection?( disableSelection?:bool ): void; + setDisableSelection?( disableSelection?:boolean ): void; /** [Method] Sets the value of emptyText * @param emptyText String */ @@ -15362,11 +15108,11 @@ declare module Ext { /** [Method] Sets the value of scrollToTopOnRefresh * @param scrollToTopOnRefresh Boolean */ - setScrollToTopOnRefresh?( scrollToTopOnRefresh?:bool ): void; + setScrollToTopOnRefresh?( scrollToTopOnRefresh?:boolean ): void; /** [Method] Sets the value of scrollable * @param scrollable Boolean */ - setScrollable?( scrollable?:bool ): void; + setScrollable?( scrollable?:boolean ): void; /** [Method] Sets the value of selectedCls * @param selectedCls String */ @@ -15386,7 +15132,7 @@ declare module Ext { /** [Method] Sets the value of useComponents * @param useComponents Boolean */ - setUseComponents?( useComponents?:bool ): void; + setUseComponents?( useComponents?:boolean ): void; /** [Method] Sets a record as the last focused record * @param newRecord Ext.data.Record * @param oldRecord Ext.data.Record @@ -15409,19 +15155,19 @@ declare module Ext.dataview.element { declare module Ext.dataview { export interface IIndexBar extends Ext.IComponent { /** [Config Option] (Boolean) */ - alphabet?: bool; + alphabet?: boolean; /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (String) */ direction?: string; /** [Config Option] (Boolean) */ - itemSelector?: bool; + itemSelector?: boolean; /** [Config Option] (Array) */ letters?: any[]; /** [Config Option] (String) */ listPrefix?: string; /** [Config Option] (Boolean) */ - store?: bool; + store?: boolean; /** [Config Option] (String) */ ui?: string; /** [Method] Destroys this Component */ @@ -15467,19 +15213,19 @@ declare module Ext.dataview { declare module Ext { export interface IIndexBar extends Ext.IComponent { /** [Config Option] (Boolean) */ - alphabet?: bool; + alphabet?: boolean; /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (String) */ direction?: string; /** [Config Option] (Boolean) */ - itemSelector?: bool; + itemSelector?: boolean; /** [Config Option] (Array) */ letters?: any[]; /** [Config Option] (String) */ listPrefix?: string; /** [Config Option] (Boolean) */ - store?: bool; + store?: boolean; /** [Config Option] (String) */ ui?: string; /** [Method] Destroys this Component */ @@ -15531,31 +15277,31 @@ declare module Ext.dataview { /** [Config Option] (String) */ disclosureProperty?: string; /** [Config Option] (Boolean) */ - grouped?: bool; + grouped?: boolean; /** [Config Option] (Boolean/Object) */ indexBar?: any; /** [Config Option] (Boolean) */ - infinite?: bool; + infinite?: boolean; /** [Config Option] (Number) */ itemHeight?: number; /** [Config Option] (Boolean/Function/Object) */ onItemDisclosure?: any; /** [Config Option] (Boolean) */ - pinHeaders?: bool; + pinHeaders?: boolean; /** [Config Option] (Boolean) */ - preventSelectionOnDisclose?: bool; + preventSelectionOnDisclose?: boolean; /** [Config Option] (Boolean) */ - refreshHeightOnUpdate?: bool; + refreshHeightOnUpdate?: boolean; /** [Config Option] (Boolean/String/Object) */ scrollable?: any; /** [Config Option] (Boolean) */ - striped?: bool; + striped?: boolean; /** [Config Option] (String) */ ui?: string; /** [Config Option] (Boolean) */ - useSimpleItems?: bool; + useSimpleItems?: boolean; /** [Config Option] (Boolean) */ - variableHeights?: bool; + variableHeights?: boolean; /** [Method] Returns the value of baseCls */ getBaseCls?(): string; /** [Method] Returns the value of defaultType */ @@ -15563,13 +15309,13 @@ declare module Ext.dataview { /** [Method] Returns the value of disclosureProperty */ getDisclosureProperty?(): string; /** [Method] Returns the value of grouped */ - getGrouped?(): bool; + getGrouped?(): boolean; /** [Method] Returns the value of icon */ getIcon?(): any; /** [Method] Returns the value of indexBar */ getIndexBar?(): any; /** [Method] Returns the value of infinite */ - getInfinite?(): bool; + getInfinite?(): boolean; /** [Method] Returns an item at the specified index * @param index Number Index of the item. */ @@ -15587,21 +15333,21 @@ declare module Ext.dataview { /** [Method] Returns the value of onItemDisclosure */ getOnItemDisclosure?(): any; /** [Method] Returns the value of pinHeaders */ - getPinHeaders?(): bool; + getPinHeaders?(): boolean; /** [Method] Returns the value of preventSelectionOnDisclose */ - getPreventSelectionOnDisclose?(): bool; + getPreventSelectionOnDisclose?(): boolean; /** [Method] Returns the value of refreshHeightOnUpdate */ - getRefreshHeightOnUpdate?(): bool; + getRefreshHeightOnUpdate?(): boolean; /** [Method] Returns all the items that are docked in the scroller in this list */ getScrollDockedItems?(): any[]; /** [Method] Returns the value of striped */ - getStriped?(): bool; + getStriped?(): boolean; /** [Method] Returns the value of ui */ getUi?(): string; /** [Method] Returns the value of useSimpleItems */ - getUseSimpleItems?(): bool; + getUseSimpleItems?(): boolean; /** [Method] Returns the value of variableHeights */ - getVariableHeights?(): bool; + getVariableHeights?(): boolean; /** [Method] Returns an array of the current items in the DataView */ getViewItems?(): Ext.dom.IElement[]; /** [Method] Returns an array of the current items in the DataView */ @@ -15623,7 +15369,7 @@ declare module Ext.dataview { /** [Method] Sets the value of grouped * @param grouped Boolean */ - setGrouped?( grouped?:bool ): void; + setGrouped?( grouped?:boolean ): void; /** [Method] Sets the value of icon * @param icon Object */ @@ -15635,7 +15381,7 @@ declare module Ext.dataview { /** [Method] Sets the value of infinite * @param infinite Boolean */ - setInfinite?( infinite?:bool ): void; + setInfinite?( infinite?:boolean ): void; /** [Method] Sets the value of itemHeight * @param itemHeight Number */ @@ -15647,15 +15393,15 @@ declare module Ext.dataview { /** [Method] Sets the value of pinHeaders * @param pinHeaders Boolean */ - setPinHeaders?( pinHeaders?:bool ): void; + setPinHeaders?( pinHeaders?:boolean ): void; /** [Method] Sets the value of preventSelectionOnDisclose * @param preventSelectionOnDisclose Boolean */ - setPreventSelectionOnDisclose?( preventSelectionOnDisclose?:bool ): void; + setPreventSelectionOnDisclose?( preventSelectionOnDisclose?:boolean ): void; /** [Method] Sets the value of refreshHeightOnUpdate * @param refreshHeightOnUpdate Boolean */ - setRefreshHeightOnUpdate?( refreshHeightOnUpdate?:bool ): void; + setRefreshHeightOnUpdate?( refreshHeightOnUpdate?:boolean ): void; /** [Method] Sets the value of scrollable * @param scrollable Object */ @@ -15663,7 +15409,7 @@ declare module Ext.dataview { /** [Method] Sets the value of striped * @param striped Boolean */ - setStriped?( striped?:bool ): void; + setStriped?( striped?:boolean ): void; /** [Method] Sets the value of ui * @param ui String */ @@ -15671,11 +15417,11 @@ declare module Ext.dataview { /** [Method] Sets the value of useSimpleItems * @param useSimpleItems Boolean */ - setUseSimpleItems?( useSimpleItems?:bool ): void; + setUseSimpleItems?( useSimpleItems?:boolean ): void; /** [Method] Sets the value of variableHeights * @param variableHeights Boolean */ - setVariableHeights?( variableHeights?:bool ): void; + setVariableHeights?( variableHeights?:boolean ): void; } } declare module Ext { @@ -15687,31 +15433,31 @@ declare module Ext { /** [Config Option] (String) */ disclosureProperty?: string; /** [Config Option] (Boolean) */ - grouped?: bool; + grouped?: boolean; /** [Config Option] (Boolean/Object) */ indexBar?: any; /** [Config Option] (Boolean) */ - infinite?: bool; + infinite?: boolean; /** [Config Option] (Number) */ itemHeight?: number; /** [Config Option] (Boolean/Function/Object) */ onItemDisclosure?: any; /** [Config Option] (Boolean) */ - pinHeaders?: bool; + pinHeaders?: boolean; /** [Config Option] (Boolean) */ - preventSelectionOnDisclose?: bool; + preventSelectionOnDisclose?: boolean; /** [Config Option] (Boolean) */ - refreshHeightOnUpdate?: bool; + refreshHeightOnUpdate?: boolean; /** [Config Option] (Boolean/String/Object) */ scrollable?: any; /** [Config Option] (Boolean) */ - striped?: bool; + striped?: boolean; /** [Config Option] (String) */ ui?: string; /** [Config Option] (Boolean) */ - useSimpleItems?: bool; + useSimpleItems?: boolean; /** [Config Option] (Boolean) */ - variableHeights?: bool; + variableHeights?: boolean; /** [Method] Returns the value of baseCls */ getBaseCls?(): string; /** [Method] Returns the value of defaultType */ @@ -15719,13 +15465,13 @@ declare module Ext { /** [Method] Returns the value of disclosureProperty */ getDisclosureProperty?(): string; /** [Method] Returns the value of grouped */ - getGrouped?(): bool; + getGrouped?(): boolean; /** [Method] Returns the value of icon */ getIcon?(): any; /** [Method] Returns the value of indexBar */ getIndexBar?(): any; /** [Method] Returns the value of infinite */ - getInfinite?(): bool; + getInfinite?(): boolean; /** [Method] Returns an item at the specified index * @param index Number Index of the item. */ @@ -15743,21 +15489,21 @@ declare module Ext { /** [Method] Returns the value of onItemDisclosure */ getOnItemDisclosure?(): any; /** [Method] Returns the value of pinHeaders */ - getPinHeaders?(): bool; + getPinHeaders?(): boolean; /** [Method] Returns the value of preventSelectionOnDisclose */ - getPreventSelectionOnDisclose?(): bool; + getPreventSelectionOnDisclose?(): boolean; /** [Method] Returns the value of refreshHeightOnUpdate */ - getRefreshHeightOnUpdate?(): bool; + getRefreshHeightOnUpdate?(): boolean; /** [Method] Returns all the items that are docked in the scroller in this list */ getScrollDockedItems?(): any[]; /** [Method] Returns the value of striped */ - getStriped?(): bool; + getStriped?(): boolean; /** [Method] Returns the value of ui */ getUi?(): string; /** [Method] Returns the value of useSimpleItems */ - getUseSimpleItems?(): bool; + getUseSimpleItems?(): boolean; /** [Method] Returns the value of variableHeights */ - getVariableHeights?(): bool; + getVariableHeights?(): boolean; /** [Method] Returns an array of the current items in the DataView */ getViewItems?(): Ext.dom.IElement[]; /** [Method] Returns an array of the current items in the DataView */ @@ -15779,7 +15525,7 @@ declare module Ext { /** [Method] Sets the value of grouped * @param grouped Boolean */ - setGrouped?( grouped?:bool ): void; + setGrouped?( grouped?:boolean ): void; /** [Method] Sets the value of icon * @param icon Object */ @@ -15791,7 +15537,7 @@ declare module Ext { /** [Method] Sets the value of infinite * @param infinite Boolean */ - setInfinite?( infinite?:bool ): void; + setInfinite?( infinite?:boolean ): void; /** [Method] Sets the value of itemHeight * @param itemHeight Number */ @@ -15803,15 +15549,15 @@ declare module Ext { /** [Method] Sets the value of pinHeaders * @param pinHeaders Boolean */ - setPinHeaders?( pinHeaders?:bool ): void; + setPinHeaders?( pinHeaders?:boolean ): void; /** [Method] Sets the value of preventSelectionOnDisclose * @param preventSelectionOnDisclose Boolean */ - setPreventSelectionOnDisclose?( preventSelectionOnDisclose?:bool ): void; + setPreventSelectionOnDisclose?( preventSelectionOnDisclose?:boolean ): void; /** [Method] Sets the value of refreshHeightOnUpdate * @param refreshHeightOnUpdate Boolean */ - setRefreshHeightOnUpdate?( refreshHeightOnUpdate?:bool ): void; + setRefreshHeightOnUpdate?( refreshHeightOnUpdate?:boolean ): void; /** [Method] Sets the value of scrollable * @param scrollable Object */ @@ -15819,7 +15565,7 @@ declare module Ext { /** [Method] Sets the value of striped * @param striped Boolean */ - setStriped?( striped?:bool ): void; + setStriped?( striped?:boolean ): void; /** [Method] Sets the value of ui * @param ui String */ @@ -15827,11 +15573,11 @@ declare module Ext { /** [Method] Sets the value of useSimpleItems * @param useSimpleItems Boolean */ - setUseSimpleItems?( useSimpleItems?:bool ): void; + setUseSimpleItems?( useSimpleItems?:boolean ): void; /** [Method] Sets the value of variableHeights * @param variableHeights Boolean */ - setVariableHeights?( variableHeights?:bool ): void; + setVariableHeights?( variableHeights?:boolean ): void; } } declare module Ext.dataview { @@ -15857,7 +15603,7 @@ declare module Ext.dataview { declare module Ext.dataview { export interface INestedList extends Ext.IContainer { /** [Config Option] (Boolean) */ - allowDeselect?: bool; + allowDeselect?: boolean; /** [Config Option] (Object) */ backButton?: any; /** [Config Option] (String) */ @@ -15893,17 +15639,17 @@ declare module Ext.dataview { /** [Config Option] (String) */ ui?: string; /** [Config Option] (Boolean) */ - updateTitleText?: bool; + updateTitleText?: boolean; /** [Config Option] (Boolean) */ - useSimpleItems?: bool; + useSimpleItems?: boolean; /** [Config Option] (Boolean) */ - useTitleAsBackText?: bool; + useTitleAsBackText?: boolean; /** [Config Option] (Boolean) */ - useToolbar?: bool; + useToolbar?: boolean; /** [Config Option] (Boolean) */ - variableHeights?: bool; + variableHeights?: boolean; /** [Method] Returns the value of allowDeselect */ - getAllowDeselect?(): bool; + getAllowDeselect?(): boolean; /** [Method] Returns the value of backButton */ getBackButton?(): any; /** [Method] Returns the value of backText */ @@ -15929,7 +15675,7 @@ declare module Ext.dataview { /** [Method] Returns the value of loadingText */ getLoadingText?(): string; /** [Method] Returns the value of onItemDisclosure */ - getOnItemDisclosure?(): bool; + getOnItemDisclosure?(): boolean; /** [Method] Returns the value of onItemDisclosure */ getOnItemDisclosure?(): any; /** [Method] Returns the value of store */ @@ -15947,15 +15693,15 @@ declare module Ext.dataview { /** [Method] Returns the value of toolbar */ getToolbar?(): any; /** [Method] Returns the value of updateTitleText */ - getUpdateTitleText?(): bool; + getUpdateTitleText?(): boolean; /** [Method] Returns the value of useSimpleItems */ - getUseSimpleItems?(): bool; + getUseSimpleItems?(): boolean; /** [Method] Returns the value of useTitleAsBackText */ - getUseTitleAsBackText?(): bool; + getUseTitleAsBackText?(): boolean; /** [Method] Returns the value of useToolbar */ - getUseToolbar?(): bool; + getUseToolbar?(): boolean; /** [Method] Returns the value of variableHeights */ - getVariableHeights?(): bool; + getVariableHeights?(): boolean; /** [Method] The leaf you want to navigate to * @param node Ext.data.NodeInterface The specified node to navigate to. */ @@ -15977,7 +15723,7 @@ declare module Ext.dataview { /** [Method] Sets the value of allowDeselect * @param allowDeselect Boolean */ - setAllowDeselect?( allowDeselect?:bool ): void; + setAllowDeselect?( allowDeselect?:boolean ): void; /** [Method] Sets the value of backButton * @param backButton Object */ @@ -16022,7 +15768,7 @@ declare module Ext.dataview { * @param onItemDisclosure Boolean/Function */ setOnItemDisclosure?( onItemDisclosure?:any ): any; - setOnItemDisclosure?( onItemDisclosure?:bool ): void; + setOnItemDisclosure?( onItemDisclosure?:boolean ): void; /** [Method] Sets the value of store * @param store Ext.data.TreeStore/String */ @@ -16044,29 +15790,29 @@ declare module Ext.dataview { /** [Method] Sets the value of updateTitleText * @param updateTitleText Boolean */ - setUpdateTitleText?( updateTitleText?:bool ): void; + setUpdateTitleText?( updateTitleText?:boolean ): void; /** [Method] Sets the value of useSimpleItems * @param useSimpleItems Boolean */ - setUseSimpleItems?( useSimpleItems?:bool ): void; + setUseSimpleItems?( useSimpleItems?:boolean ): void; /** [Method] Sets the value of useTitleAsBackText * @param useTitleAsBackText Boolean */ - setUseTitleAsBackText?( useTitleAsBackText?:bool ): void; + setUseTitleAsBackText?( useTitleAsBackText?:boolean ): void; /** [Method] Sets the value of useToolbar * @param useToolbar Boolean */ - setUseToolbar?( useToolbar?:bool ): void; + setUseToolbar?( useToolbar?:boolean ): void; /** [Method] Sets the value of variableHeights * @param variableHeights Boolean */ - setVariableHeights?( variableHeights?:bool ): void; + setVariableHeights?( variableHeights?:boolean ): void; } } declare module Ext { export interface INestedList extends Ext.IContainer { /** [Config Option] (Boolean) */ - allowDeselect?: bool; + allowDeselect?: boolean; /** [Config Option] (Object) */ backButton?: any; /** [Config Option] (String) */ @@ -16102,17 +15848,17 @@ declare module Ext { /** [Config Option] (String) */ ui?: string; /** [Config Option] (Boolean) */ - updateTitleText?: bool; + updateTitleText?: boolean; /** [Config Option] (Boolean) */ - useSimpleItems?: bool; + useSimpleItems?: boolean; /** [Config Option] (Boolean) */ - useTitleAsBackText?: bool; + useTitleAsBackText?: boolean; /** [Config Option] (Boolean) */ - useToolbar?: bool; + useToolbar?: boolean; /** [Config Option] (Boolean) */ - variableHeights?: bool; + variableHeights?: boolean; /** [Method] Returns the value of allowDeselect */ - getAllowDeselect?(): bool; + getAllowDeselect?(): boolean; /** [Method] Returns the value of backButton */ getBackButton?(): any; /** [Method] Returns the value of backText */ @@ -16138,7 +15884,7 @@ declare module Ext { /** [Method] Returns the value of loadingText */ getLoadingText?(): string; /** [Method] Returns the value of onItemDisclosure */ - getOnItemDisclosure?(): bool; + getOnItemDisclosure?(): boolean; /** [Method] Returns the value of onItemDisclosure */ getOnItemDisclosure?(): any; /** [Method] Returns the value of store */ @@ -16156,15 +15902,15 @@ declare module Ext { /** [Method] Returns the value of toolbar */ getToolbar?(): any; /** [Method] Returns the value of updateTitleText */ - getUpdateTitleText?(): bool; + getUpdateTitleText?(): boolean; /** [Method] Returns the value of useSimpleItems */ - getUseSimpleItems?(): bool; + getUseSimpleItems?(): boolean; /** [Method] Returns the value of useTitleAsBackText */ - getUseTitleAsBackText?(): bool; + getUseTitleAsBackText?(): boolean; /** [Method] Returns the value of useToolbar */ - getUseToolbar?(): bool; + getUseToolbar?(): boolean; /** [Method] Returns the value of variableHeights */ - getVariableHeights?(): bool; + getVariableHeights?(): boolean; /** [Method] The leaf you want to navigate to * @param node Ext.data.NodeInterface The specified node to navigate to. */ @@ -16186,7 +15932,7 @@ declare module Ext { /** [Method] Sets the value of allowDeselect * @param allowDeselect Boolean */ - setAllowDeselect?( allowDeselect?:bool ): void; + setAllowDeselect?( allowDeselect?:boolean ): void; /** [Method] Sets the value of backButton * @param backButton Object */ @@ -16231,7 +15977,7 @@ declare module Ext { * @param onItemDisclosure Boolean/Function */ setOnItemDisclosure?( onItemDisclosure?:any ): any; - setOnItemDisclosure?( onItemDisclosure?:bool ): void; + setOnItemDisclosure?( onItemDisclosure?:boolean ): void; /** [Method] Sets the value of store * @param store Ext.data.TreeStore/String */ @@ -16253,23 +15999,23 @@ declare module Ext { /** [Method] Sets the value of updateTitleText * @param updateTitleText Boolean */ - setUpdateTitleText?( updateTitleText?:bool ): void; + setUpdateTitleText?( updateTitleText?:boolean ): void; /** [Method] Sets the value of useSimpleItems * @param useSimpleItems Boolean */ - setUseSimpleItems?( useSimpleItems?:bool ): void; + setUseSimpleItems?( useSimpleItems?:boolean ): void; /** [Method] Sets the value of useTitleAsBackText * @param useTitleAsBackText Boolean */ - setUseTitleAsBackText?( useTitleAsBackText?:bool ): void; + setUseTitleAsBackText?( useTitleAsBackText?:boolean ): void; /** [Method] Sets the value of useToolbar * @param useToolbar Boolean */ - setUseToolbar?( useToolbar?:bool ): void; + setUseToolbar?( useToolbar?:boolean ): void; /** [Method] Sets the value of variableHeights * @param variableHeights Boolean */ - setVariableHeights?( variableHeights?:bool ): void; + setVariableHeights?( variableHeights?:boolean ): void; } } declare module Ext { @@ -16292,12 +16038,12 @@ declare module Ext { * @param start Date Start date. * @param end Date End date. */ - static between( date?:any, start?:any, end?:any ): bool; + static between( date?:any, start?:any, end?:any ): boolean; /** [Method] Attempts to clear all time information from this Date by setting the time to midnight of the same day automatically * @param date Date The date. * @param clone Boolean true to create a clone of this date, clear the time and return it. */ - static clearTime( date?:any, clone?:bool ): any; + static clearTime( date?:any, clone?:boolean ): any; /** [Method] Creates and returns a new Date instance with the exact same date value as the called instance * @param date Date The date. */ @@ -16338,7 +16084,7 @@ declare module Ext { * @param date Date The date. * @param colon Boolean true to separate the hours and minutes with a colon. */ - static getGMTOffset( date?:any, colon?:bool ): string; + static getGMTOffset( date?:any, colon?:boolean ): string; /** [Method] Get the date of the last day of the month in which this date resides * @param date Date The date. */ @@ -16374,11 +16120,11 @@ declare module Ext { /** [Method] Checks if the current date is affected by Daylight Saving Time DST * @param date Date The date. */ - static isDST( date?:any ): bool; + static isDST( date?:any ): boolean; /** [Method] Checks if the current date falls within a leap year * @param date Date The date. */ - static isLeapYear( date?:any ): bool; + static isLeapYear( date?:any ): boolean; /** [Method] Checks if the passed Date parameters will cause a JavaScript Date rollover * @param year Number 4-digit year. * @param month Number 1-based month-of-year. @@ -16388,7 +16134,7 @@ declare module Ext { * @param second Number Second. * @param millisecond Number Millisecond. */ - static isValid( year?:number, month?:number, day?:number, hour?:number, minute?:number, second?:number, millisecond?:number ): bool; + static isValid( year?:number, month?:number, day?:number, hour?:number, minute?:number, second?:number, millisecond?:number ): boolean; /** [Method] Returns the current timestamp */ static now(): number; /** [Method] Parses the passed string using the specified date format @@ -16396,7 +16142,7 @@ declare module Ext { * @param format String The expected date string format. * @param strict Boolean true to validate date strings while parsing (i.e. prevents JavaScript Date "rollover"). Invalid date strings will return null when parsed. */ - static parse( input?:string, format?:string, strict?:bool ): any; + static parse( input?:string, format?:string, strict?:boolean ): any; } } declare module Ext { @@ -16419,12 +16165,12 @@ declare module Ext { * @param start Date Start date. * @param end Date End date. */ - static between( date?:any, start?:any, end?:any ): bool; + static between( date?:any, start?:any, end?:any ): boolean; /** [Method] Attempts to clear all time information from this Date by setting the time to midnight of the same day automatically * @param date Date The date. * @param clone Boolean true to create a clone of this date, clear the time and return it. */ - static clearTime( date?:any, clone?:bool ): any; + static clearTime( date?:any, clone?:boolean ): any; /** [Method] Creates and returns a new Date instance with the exact same date value as the called instance * @param date Date The date. */ @@ -16465,7 +16211,7 @@ declare module Ext { * @param date Date The date. * @param colon Boolean true to separate the hours and minutes with a colon. */ - static getGMTOffset( date?:any, colon?:bool ): string; + static getGMTOffset( date?:any, colon?:boolean ): string; /** [Method] Get the date of the last day of the month in which this date resides * @param date Date The date. */ @@ -16501,11 +16247,11 @@ declare module Ext { /** [Method] Checks if the current date is affected by Daylight Saving Time DST * @param date Date The date. */ - static isDST( date?:any ): bool; + static isDST( date?:any ): boolean; /** [Method] Checks if the current date falls within a leap year * @param date Date The date. */ - static isLeapYear( date?:any ): bool; + static isLeapYear( date?:any ): boolean; /** [Method] Checks if the passed Date parameters will cause a JavaScript Date rollover * @param year Number 4-digit year. * @param month Number 1-based month-of-year. @@ -16515,7 +16261,7 @@ declare module Ext { * @param second Number Second. * @param millisecond Number Millisecond. */ - static isValid( year?:number, month?:number, day?:number, hour?:number, minute?:number, second?:number, millisecond?:number ): bool; + static isValid( year?:number, month?:number, day?:number, hour?:number, minute?:number, second?:number, millisecond?:number ): boolean; /** [Method] Returns the current timestamp */ static now(): number; /** [Method] Parses the passed string using the specified date format @@ -16523,7 +16269,7 @@ declare module Ext { * @param format String The expected date string format. * @param strict Boolean true to validate date strings while parsing (i.e. prevents JavaScript Date "rollover"). Invalid date strings will return null when parsed. */ - static parse( input?:string, format?:string, strict?:bool ): any; + static parse( input?:string, format?:string, strict?:boolean ): any; } } declare module Ext { @@ -16593,27 +16339,6 @@ declare module Ext.device { static initConfig( instanceConfig?:any ): any; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.device.camera { @@ -16685,27 +16410,6 @@ declare module Ext.device { static initConfig( instanceConfig?:any ): any; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.device.connection { @@ -16785,7 +16489,7 @@ declare module Ext.device.connection { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -16793,15 +16497,15 @@ declare module Ext.device.connection { /** [Method] Returns the value of listeners */ getListeners?(): any; /** [Method] Returns the value of online */ - getOnline?(): bool; + getOnline?(): boolean; /** [Method] Returns the current connection type */ getType?(): string; /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] True if the device is currently online */ - isOnline?(): bool; + isOnline?(): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -16890,7 +16594,7 @@ declare module Ext.device.connection { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -16904,7 +16608,7 @@ declare module Ext.device.connection { /** [Method] Sets the value of online * @param online Boolean */ - setOnline?( online?:bool ): void; + setOnline?( online?:boolean ): void; /** [Method] Sets the value of type * @param type Object */ @@ -17019,7 +16723,7 @@ declare module Ext.device { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ static getBubbleEvents(): string; /** [Method] Returns the value of bubbleEvents */ @@ -17033,19 +16737,19 @@ declare module Ext.device { /** [Method] Returns the value of listeners */ static getListeners(): any; /** [Method] Returns the value of online */ - static getOnline(): bool; + static getOnline(): boolean; /** [Method] Returns the current connection type */ static getType(): string; /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Initialize configuration for this class * @param instanceConfig Object */ static initConfig( instanceConfig?:any ): any; /** [Method] True if the device is currently online */ - static isOnline(): bool; + static isOnline(): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -17134,7 +16838,7 @@ declare module Ext.device { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - static resumeEvents( discardQueuedEvents?:bool ): void; + static resumeEvents( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -17148,7 +16852,7 @@ declare module Ext.device { /** [Method] Sets the value of online * @param online Boolean */ - static setOnline( online?:bool ): void; + static setOnline( online?:boolean ): void; /** [Method] Sets the value of type * @param type Object */ @@ -17183,33 +16887,12 @@ declare module Ext.device { */ static unBefore( eventName?:any, fn?:any, scope?:any, options?:any ): any; static unBefore( eventName?:any, fn?:string, scope?:any, options?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.device.connection { export interface IPhoneGap extends Ext.device.connection.IAbstract { /** [Method] Returns the value of online */ - getOnline?(): bool; + getOnline?(): boolean; /** [Method] Returns the current connection type */ getType?(): string; } @@ -17221,13 +16904,13 @@ declare module Ext.device.connection { declare module Ext.device.connection { export interface ISimulator extends Ext.device.connection.IAbstract { /** [Method] Returns the value of online */ - getOnline?(): bool; + getOnline?(): boolean; } } declare module Ext.device.contacts { export interface IAbstract extends Ext.IBase,Ext.mixin.IObservable { /** [Config Option] (Boolean) */ - includeImages?: bool; + includeImages?: boolean; /** [Method] Appends an after event handler * @param eventName String/String[]/Object The name of the event to listen for. * @param fn Function/String The method the event invokes. @@ -17289,7 +16972,7 @@ declare module Ext.device.contacts { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -17299,7 +16982,7 @@ declare module Ext.device.contacts { */ getContacts?( config?:any ): any[]; /** [Method] Returns the value of includeImages */ - getIncludeImages?(): bool; + getIncludeImages?(): boolean; /** [Method] Returns the value of listeners */ getListeners?(): any; /** [Method] Returns localized user readable label for a contact field i e @@ -17313,7 +16996,7 @@ declare module Ext.device.contacts { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -17402,7 +17085,7 @@ declare module Ext.device.contacts { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -17412,7 +17095,7 @@ declare module Ext.device.contacts { /** [Method] Sets the value of includeImages * @param includeImages Boolean */ - setIncludeImages?( includeImages?:bool ): void; + setIncludeImages?( includeImages?:boolean ): void; /** [Method] Sets the value of listeners * @param listeners Object */ @@ -17527,7 +17210,7 @@ declare module Ext.device { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ static getBubbleEvents(): string; /** [Method] Returns the value of bubbleEvents */ @@ -17539,7 +17222,7 @@ declare module Ext.device { /** [Method] Retrieves the id of this component */ static getId(): string; /** [Method] Returns the value of includeImages */ - static getIncludeImages(): bool; + static getIncludeImages(): boolean; /** [Method] Returns the initial configuration passed to constructor * @param name String When supplied, value for particular configuration option is returned, otherwise the full config object is returned. */ @@ -17557,7 +17240,7 @@ declare module Ext.device { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Initialize configuration for this class * @param instanceConfig Object */ @@ -17650,7 +17333,7 @@ declare module Ext.device { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - static resumeEvents( discardQueuedEvents?:bool ): void; + static resumeEvents( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -17660,7 +17343,7 @@ declare module Ext.device { /** [Method] Sets the value of includeImages * @param includeImages Boolean */ - static setIncludeImages( includeImages?:bool ): void; + static setIncludeImages( includeImages?:boolean ): void; /** [Method] Sets the value of listeners * @param listeners Object */ @@ -17695,27 +17378,6 @@ declare module Ext.device { */ static unBefore( eventName?:any, fn?:any, scope?:any, options?:any ): any; static unBefore( eventName?:any, fn?:string, scope?:any, options?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.device.contacts { @@ -17805,7 +17467,7 @@ declare module Ext.device.device { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -17815,7 +17477,7 @@ declare module Ext.device.device { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -17908,7 +17570,7 @@ declare module Ext.device.device { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -18029,7 +17691,7 @@ declare module Ext.device { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ static getBubbleEvents(): string; /** [Method] Returns the value of bubbleEvents */ @@ -18045,7 +17707,7 @@ declare module Ext.device { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Initialize configuration for this class * @param instanceConfig Object */ @@ -18142,7 +17804,7 @@ declare module Ext.device { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - static resumeEvents( discardQueuedEvents?:bool ): void; + static resumeEvents( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -18183,27 +17845,6 @@ declare module Ext.device { */ static unBefore( eventName?:any, fn?:any, scope?:any, options?:any ): any; static unBefore( eventName?:any, fn?:string, scope?:any, options?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.device.device { @@ -18225,7 +17866,7 @@ declare module Ext.device.device { declare module Ext.device.geolocation { export interface IAbstract extends Ext.IBase { /** [Config Option] (Boolean) */ - allowHighAccuracy?: bool; + allowHighAccuracy?: boolean; /** [Config Option] (Number) */ frequency?: number; /** [Config Option] (Number) */ @@ -18235,7 +17876,7 @@ declare module Ext.device.geolocation { /** [Method] If you are currently watching for the current position this will stop that task */ clearWatch?(): void; /** [Method] Returns the value of allowHighAccuracy */ - getAllowHighAccuracy?(): bool; + getAllowHighAccuracy?(): boolean; /** [Method] Attempts to get the current position of this device * @param config Object An object which contains the following config options: */ @@ -18249,7 +17890,7 @@ declare module Ext.device.geolocation { /** [Method] Sets the value of allowHighAccuracy * @param allowHighAccuracy Boolean */ - setAllowHighAccuracy?( allowHighAccuracy?:bool ): void; + setAllowHighAccuracy?( allowHighAccuracy?:boolean ): void; /** [Method] Sets the value of frequency * @param frequency Number */ @@ -18292,7 +17933,7 @@ declare module Ext.device { /** [Method] */ static destroy(): void; /** [Method] Returns the value of allowHighAccuracy */ - static getAllowHighAccuracy(): bool; + static getAllowHighAccuracy(): boolean; /** [Method] Attempts to get the current position of this device * @param config Object An object which contains the following config options: */ @@ -18314,7 +17955,7 @@ declare module Ext.device { /** [Method] Sets the value of allowHighAccuracy * @param allowHighAccuracy Boolean */ - static setAllowHighAccuracy( allowHighAccuracy?:bool ): void; + static setAllowHighAccuracy( allowHighAccuracy?:boolean ): void; /** [Method] Sets the value of frequency * @param frequency Number */ @@ -18333,27 +17974,6 @@ declare module Ext.device { * @param config Object An object which contains the following config options: */ static watchPosition( config?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.device.geolocation { @@ -18431,27 +18051,6 @@ declare module Ext.device { static statics(): Ext.IClass; /** [Method] Vibrates the device */ static vibrate(): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.device.notification { @@ -18541,7 +18140,7 @@ declare module Ext.device.orientation { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -18551,7 +18150,7 @@ declare module Ext.device.orientation { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -18640,7 +18239,7 @@ declare module Ext.device.orientation { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -18765,7 +18364,7 @@ declare module Ext.device { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ static getBubbleEvents(): string; /** [Method] Returns the value of bubbleEvents */ @@ -18781,7 +18380,7 @@ declare module Ext.device { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Initialize configuration for this class * @param instanceConfig Object */ @@ -18874,7 +18473,7 @@ declare module Ext.device { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - static resumeEvents( discardQueuedEvents?:bool ): void; + static resumeEvents( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -18915,27 +18514,6 @@ declare module Ext.device { */ static unBefore( eventName?:any, fn?:any, scope?:any, options?:any ): any; static unBefore( eventName?:any, fn?:string, scope?:any, options?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.device.orientation { @@ -18989,27 +18567,6 @@ declare module Ext.device { static initConfig( instanceConfig?:any ): any; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.device.purchases { @@ -19113,27 +18670,6 @@ declare module Ext.device { static register( config?:any ): void; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.device.push { @@ -19195,27 +18731,6 @@ declare module Ext.device { static openDatabase( config?:any ): Ext.device.sqlite.IDatabase; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.device.sqlite { @@ -19271,7 +18786,7 @@ declare module Ext.direct { /** [Method] Returns the value of result */ getResult?(): any; /** [Method] Returns the value of status */ - getStatus?(): bool; + getStatus?(): boolean; /** [Method] Returns the value of transaction */ getTransaction?(): any; /** [Method] Returns the value of xhr */ @@ -19299,7 +18814,7 @@ declare module Ext.direct { /** [Method] Sets the value of status * @param status Boolean */ - setStatus?( status?:bool ): void; + setStatus?( status?:boolean ): void; /** [Method] Sets the value of transaction * @param transaction Object */ @@ -19319,7 +18834,7 @@ declare module Ext.direct { /** [Method] Returns the value of name */ getName?(): string; /** [Method] Returns the value of status */ - getStatus?(): bool; + getStatus?(): boolean; /** [Method] Sets the value of error * @param error Object */ @@ -19331,7 +18846,7 @@ declare module Ext.direct { /** [Method] Sets the value of status * @param status Boolean */ - setStatus?( status?:bool ): void; + setStatus?( status?:boolean ): void; } } declare module Ext.direct { @@ -19426,7 +18941,7 @@ declare module Ext.direct { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ static getBubbleEvents(): string; /** [Method] Returns the value of bubbleEvents */ @@ -19448,7 +18963,7 @@ declare module Ext.direct { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Initialize configuration for this class * @param instanceConfig Object */ @@ -19557,7 +19072,7 @@ declare module Ext.direct { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - static resumeEvents( discardQueuedEvents?:bool ): void; + static resumeEvents( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -19598,27 +19113,6 @@ declare module Ext.direct { */ static unBefore( eventName?:any, fn?:any, scope?:any, options?:any ): any; static unBefore( eventName?:any, fn?:string, scope?:any, options?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -19705,7 +19199,7 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ static getBubbleEvents(): string; /** [Method] Returns the value of bubbleEvents */ @@ -19727,7 +19221,7 @@ declare module Ext { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Initialize configuration for this class * @param instanceConfig Object */ @@ -19836,7 +19330,7 @@ declare module Ext { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - static resumeEvents( discardQueuedEvents?:bool ): void; + static resumeEvents( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -19877,27 +19371,6 @@ declare module Ext { */ static unBefore( eventName?:any, fn?:any, scope?:any, options?:any ): any; static unBefore( eventName?:any, fn?:string, scope?:any, options?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.direct { @@ -19921,7 +19394,7 @@ declare module Ext.direct { /** [Method] Returns the value of url */ getUrl?(): any; /** [Method] Returns whether or not the server side is currently connected */ - isConnected?(): bool; + isConnected?(): boolean; /** [Method] Sets the value of baseParams * @param baseParams Object */ @@ -20006,7 +19479,7 @@ declare module Ext.direct { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -20018,9 +19491,9 @@ declare module Ext.direct { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Returns whether or not the server side is currently connected */ - isConnected?(): bool; + isConnected?(): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -20109,7 +19582,7 @@ declare module Ext.direct { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -20191,7 +19664,7 @@ declare module Ext.direct { /** [Method] Returns the value of name */ getName?(): any; /** [Method] Returns the value of ordered */ - getOrdered?(): bool; + getOrdered?(): boolean; /** [Method] Returns the value of params */ getParams?(): any; /** [Method] Sets the value of formHandler @@ -20209,7 +19682,7 @@ declare module Ext.direct { /** [Method] Sets the value of ordered * @param ordered Boolean */ - setOrdered?( ordered?:bool ): void; + setOrdered?( ordered?:boolean ): void; /** [Method] Sets the value of params * @param params Object */ @@ -20241,7 +19714,7 @@ declare module Ext.direct { /** [Method] Returns the value of enableBuffer */ getEnableBuffer?(): number; /** [Method] Returns the value of enableBuffer */ - getEnableBuffer?(): bool; + getEnableBuffer?(): boolean; /** [Method] Returns the value of enableUrlEncode */ getEnableUrlEncode?(): string; /** [Method] Returns the value of maxRetries */ @@ -20253,7 +19726,7 @@ declare module Ext.direct { /** [Method] Returns the value of url */ getUrl?(): string; /** [Method] Returns whether or not the server side is currently connected */ - isConnected?(): bool; + isConnected?(): boolean; /** [Method] Sets the value of actions * @param actions Object */ @@ -20263,7 +19736,7 @@ declare module Ext.direct { */ setEnableBuffer?( enableBuffer?:any ): any; setEnableBuffer?( enableBuffer?:number ): void; - setEnableBuffer?( enableBuffer?:bool ): void; + setEnableBuffer?( enableBuffer?:boolean ): void; /** [Method] Sets the value of enableUrlEncode * @param enableUrlEncode String */ @@ -20399,28 +19872,28 @@ declare module Ext.dom { * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - child?( selector?:string, returnDom?:bool ): HTMLElement; + child?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Selects a single direct child based on the passed CSS selector the selector should not contain an id * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - child?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + child?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Removes all elements */ clear?(): void; /** [Method] Returns true if this composite contains the passed element * @param el String/HTMLElement/Ext.Element/Number The id of an element, or an Ext.Element, or an HtmlElement to find within the composite collection. */ contains?( el?:any ): any; - contains?( el?:string ): bool; - contains?( el?:HTMLElement ): bool; - contains?( el?:Ext.IElement ): bool; - contains?( el?:number ): bool; + contains?( el?:string ): boolean; + contains?( el?:HTMLElement ): boolean; + contains?( el?:Ext.IElement ): boolean; + contains?( el?:number ): boolean; /** [Method] Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child e * @param config Object DomHelper element config object. If no tag is specified (e.g., {tag:'input'}) then a div will be automatically generated with the specified attributes. * @param insertBefore HTMLElement a child element of this element. * @param returnDom Boolean true to return the dom node instead of creating an Element. */ - createChild?( config?:any, insertBefore?:HTMLElement, returnDom?:bool ): Ext.dom.IElement; + createChild?( config?:any, insertBefore?:HTMLElement, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Translates an element using CSS 3 in 2D */ cssTranslate?(): void; /** [Method] Removes this element s DOM reference */ @@ -20429,12 +19902,12 @@ declare module Ext.dom { * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - down?( selector?:string, returnDom?:bool ): HTMLElement; + down?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Selects a single child at any depth below this element based on the passed CSS selector the selector should not cont * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - down?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + down?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Calls the passed function for each element in this composite * @param fn Function The function to call. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the Element. @@ -20457,38 +19930,38 @@ declare module Ext.dom { * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ findParent?( simpleSelector?:any, maxDepth?:any, returnEl?:any ): any; - findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): HTMLElement; - findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): HTMLElement; - findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): HTMLElement; - findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): HTMLElement; /** [Method] Looks at this node and then 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 50 || document.body) * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ - 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; + findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): any; + findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): any; + findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): any; + findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): 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). * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ findParentNode?( simpleSelector?:any, maxDepth?:any, returnEl?:any ): any; - findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): HTMLElement; - findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): HTMLElement; - findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): HTMLElement; - findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): HTMLElement; /** [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). * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ - 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; + findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): any; + findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): any; + findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): any; + findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): 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. @@ -20500,7 +19973,7 @@ declare module Ext.dom { * @param local Boolean true to get the local (element top/left-relative) anchor position instead of page coordinates. * @param size Object An object containing the size to use for calculating anchor position. {width: (target width), height: (target height)} (defaults to the element's current size) */ - getAnchorXY?( anchor?:string, local?:bool, size?:any ): any[]; + getAnchorXY?( anchor?:string, local?:boolean, size?:any ): any[]; /** [Method] Returns the value of an attribute from the element s underlying DOM node * @param name String The attribute name. * @param namespace String The namespace in which to look for the attribute. @@ -20516,7 +19989,7 @@ declare module Ext.dom { * @param contentBox Boolean If true a box for the content of the element is returned. * @param local Boolean If true the element's left and top are returned instead of page x/y. */ - getBox?( contentBox?:bool, local?:bool ): any; + getBox?( contentBox?:boolean, local?:boolean ): any; /** [Method] Returns the number of elements in this Composite */ getCount?(): number; /** [Method] Returns the innerHTML of an element */ @@ -20524,7 +19997,7 @@ declare module Ext.dom { /** [Method] Returns the offset height of the element * @param contentHeight Boolean true to get the height minus borders and padding. */ - getHeight?( contentHeight?:bool ): number; + getHeight?( contentHeight?:boolean ): number; /** [Method] Returns the innerHTML of an element */ getHtml?(): string; /** [Method] Gets the left X coordinate */ @@ -20548,7 +20021,7 @@ declare module Ext.dom { /** [Method] Return an object defining the area of this Element which can be passed to setBox to set another Element s size locati * @param asRegion Boolean If true an Ext.util.Region will be returned. */ - getPageBox?( asRegion?:bool ): any; + getPageBox?( asRegion?:boolean ): any; /** [Method] Gets the right X coordinate of the element element X position element width */ getRight?(): number; /** [Method] Gets the Scroller instance of the first parent that has one */ @@ -20556,7 +20029,7 @@ declare module Ext.dom { /** [Method] Returns the size of the element * @param contentSize Boolean true to get the width/size minus borders and padding. */ - getSize?( contentSize?:bool ): any; + getSize?( contentSize?:boolean ): any; /** [Method] Normalizes currentStyle and computedStyle * @param prop String The style property whose value is returned. */ @@ -20566,17 +20039,17 @@ declare module Ext.dom { /** [Method] Returns the value of the value attribute * @param asNumber Boolean true to parse the value as a number. */ - getValue?( asNumber?:bool ): string; + getValue?( asNumber?:boolean ): string; /** [Method] Returns the value of the value attribute * @param asNumber Boolean true to parse the value as a number. */ - getValue?( asNumber?:bool ): number; + getValue?( asNumber?:boolean ): number; /** [Method] Returns the dimensions of the element available to lay content out in */ getViewSize?(): any; /** [Method] Returns the offset width of the element * @param contentWidth Boolean true to get the width minus borders and padding. */ - getWidth?( contentWidth?:bool ): number; + getWidth?( contentWidth?:boolean ): number; /** [Method] Gets the current X position of the element based on page coordinates * @param el Object */ @@ -20590,7 +20063,7 @@ declare module Ext.dom { /** [Method] Checks if the specified CSS class exists on this element s DOM node * @param name String The CSS class to check for. */ - hasCls?( name?:string ): bool; + hasCls?( name?:string ): boolean; /** [Method] Hides this element */ hide?(): void; /** [Method] Find the index of the passed element within the composite collection @@ -20627,34 +20100,34 @@ declare module Ext.dom { * @param html String The HTML fragment * @param returnEl Boolean true to return an Ext.dom.Element. */ - insertHtml?( where?:string, html?:string, returnEl?:bool ): HTMLElement; + insertHtml?( where?:string, html?:string, returnEl?:boolean ): HTMLElement; /** [Method] Inserts an HTML fragment into this element * @param where String Where to insert the HTML in relation to this element - 'beforeBegin', 'afterBegin', 'beforeEnd', 'afterEnd'. See Ext.DomHelper.insertHtml for details. * @param html String The HTML fragment * @param returnEl Boolean true to return an Ext.dom.Element. */ - insertHtml?( where?:string, html?:string, returnEl?:bool ): Ext.dom.IElement; + insertHtml?( where?:string, html?:string, returnEl?:boolean ): Ext.dom.IElement; /** [Method] Inserts or creates the passed element or DomHelper config as a sibling of this element * @param el String/HTMLElement/Ext.dom.Element/Object/Array The id, element to insert or a DomHelper config to create and insert or an array of any of those. * @param where String 'before' or 'after'. * @param returnDom Boolean true to return the raw DOM element instead of Ext.dom.Element. */ - insertSibling?( el?:any, where?:string, returnDom?:bool ): Ext.dom.IElement; + insertSibling?( el?:any, where?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Returns true if this element matches the passed simple selector e g * @param selector String The simple selector to test. */ - is?( selector?:string ): bool; + is?( selector?:string ): boolean; /** [Method] Determines if this element is a descendant of the passed in Element */ isDescendent?(): void; /** [Method] Checks if the current value of a style is equal to a given value * @param style String property whose value is returned. * @param value String to check against. */ - isStyle?( style?:string, value?:string ): bool; + isStyle?( style?:string, value?:string ): boolean; /** [Method] Returns true if the value of the given property is visually transparent * @param prop String The style property whose value is to be tested. */ - isTransparent?( prop?:string ): bool; + isTransparent?( prop?:string ): boolean; /** [Method] Returns a flyweight Element of the dom element object at the specified index * @param index Number */ @@ -20665,47 +20138,47 @@ 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 ): Ext.dom.IElement; + next?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Gets the next sibling 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. */ - next?( selector?:string, returnDom?:bool ): HTMLElement; + next?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Gets the next sibling 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. */ - next?( selector?:string, returnDom?:bool ): any; + next?( selector?:string, returnDom?:boolean ): 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. */ - parent?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + parent?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [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. */ - parent?( selector?:string, returnDom?:bool ): HTMLElement; + parent?( selector?:string, returnDom?:boolean ): HTMLElement; /** [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. */ - parent?( selector?:string, returnDom?:bool ): any; + parent?( selector?:string, returnDom?:boolean ): 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 */ - prev?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + prev?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [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 */ - prev?( selector?:string, returnDom?:bool ): HTMLElement; + prev?( selector?:string, returnDom?:boolean ): HTMLElement; /** [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 */ - prev?( selector?:string, returnDom?:bool ): any; + prev?( selector?:string, returnDom?:boolean ): 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 @@ -20733,10 +20206,10 @@ declare module Ext.dom { * @param removeDom Boolean true to also remove the element from the document */ removeElement?( el?:any, removeDom?:any ): any; - removeElement?( el?:string, removeDom?:bool ): Ext.dom.ICompositeElementLite; - removeElement?( el?:HTMLElement, removeDom?:bool ): Ext.dom.ICompositeElementLite; - removeElement?( el?:Ext.IElement, removeDom?:bool ): Ext.dom.ICompositeElementLite; - removeElement?( el?:number, removeDom?:bool ): Ext.dom.ICompositeElementLite; + removeElement?( el?:string, removeDom?:boolean ): Ext.dom.ICompositeElementLite; + removeElement?( el?:HTMLElement, removeDom?:boolean ): Ext.dom.ICompositeElementLite; + removeElement?( el?:Ext.IElement, removeDom?:boolean ): Ext.dom.ICompositeElementLite; + removeElement?( el?:number, removeDom?:boolean ): Ext.dom.ICompositeElementLite; /** [Method] Forces the browser to repaint this element */ repaint?(): Ext.dom.IElement; /** [Method] Replaces the passed element with this element @@ -20759,14 +20232,14 @@ declare module Ext.dom { * @param domReplace Boolean true to remove and replace the element in the document too. */ replaceElement?( el?:any, replacement?:any, domReplace?:any ): any; - replaceElement?( el?:string, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:HTMLElement, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:Ext.IElement, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:number, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:string, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:HTMLElement, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:Ext.IElement, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:number, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:string, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:HTMLElement, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:Ext.IElement, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:number, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:string, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:HTMLElement, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:Ext.IElement, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:number, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElementLite; /** [Method] Replaces this element with the passed element * @param el String/HTMLElement/Ext.dom.Element/Object The new element (id of the node, a DOM Node or an existing Element) or a DomHelper config of an element to create. */ @@ -20776,8 +20249,8 @@ declare module Ext.dom { * @param composite Boolean Return a CompositeElement as opposed to a CompositeElementLite. Defaults to false. */ select?( selector?:any, composite?:any ): any; - select?( selector?:string, composite?:bool ): Ext.dom.ICompositeElementLite; - select?( selector?:HTMLElement[], composite?:bool ): Ext.dom.ICompositeElementLite; + select?( selector?:string, composite?:boolean ): Ext.dom.ICompositeElementLite; + select?( selector?:HTMLElement[], composite?:boolean ): Ext.dom.ICompositeElementLite; /** [Method] Serializes a DOM form into a url encoded string * @param form Object The form */ @@ -20786,7 +20259,7 @@ declare module Ext.dom { * @param attributes Object The object with the attributes. * @param useSet Boolean false to override the default setAttribute to use expandos. */ - set?( attributes?:any, useSet?:bool ): Ext.dom.IElement; + set?( attributes?:any, useSet?:boolean ): Ext.dom.IElement; /** [Method] Sets the element s CSS bottom style * @param bottom String The bottom CSS property value. */ @@ -20874,7 +20347,7 @@ declare module Ext.dom { /** [Method] Sets the visibility of the element see details * @param visible Boolean Whether the element is visible. */ - setVisible?( visible?:bool ): Ext.IElement; + setVisible?( visible?:boolean ): Ext.IElement; /** [Method] Set the width of this Element * @param width Number/String The new width. */ @@ -20933,12 +20406,12 @@ declare module Ext.dom { * @param config Object DomHelper element config object for the wrapper element or null for an empty div * @param domNode Boolean true to return the raw DOM element instead of Ext.dom.Element. */ - wrap?( config?:any, domNode?:bool ): HTMLElement; + wrap?( config?:any, domNode?:boolean ): HTMLElement; /** [Method] Creates and wraps this element with another element * @param config Object DomHelper element config object for the wrapper element or null for an empty div * @param domNode Boolean true to return the raw DOM element instead of Ext.dom.Element. */ - wrap?( config?:any, domNode?:bool ): Ext.dom.IElement; + wrap?( config?:any, domNode?:boolean ): Ext.dom.IElement; } } declare module Ext { @@ -20988,28 +20461,28 @@ declare module Ext { * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - child?( selector?:string, returnDom?:bool ): HTMLElement; + child?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Selects a single direct child based on the passed CSS selector the selector should not contain an id * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - child?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + child?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Removes all elements */ clear?(): void; /** [Method] Returns true if this composite contains the passed element * @param el String/HTMLElement/Ext.Element/Number The id of an element, or an Ext.Element, or an HtmlElement to find within the composite collection. */ contains?( el?:any ): any; - contains?( el?:string ): bool; - contains?( el?:HTMLElement ): bool; - contains?( el?:Ext.IElement ): bool; - contains?( el?:number ): bool; + contains?( el?:string ): boolean; + contains?( el?:HTMLElement ): boolean; + contains?( el?:Ext.IElement ): boolean; + contains?( el?:number ): boolean; /** [Method] Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child e * @param config Object DomHelper element config object. If no tag is specified (e.g., {tag:'input'}) then a div will be automatically generated with the specified attributes. * @param insertBefore HTMLElement a child element of this element. * @param returnDom Boolean true to return the dom node instead of creating an Element. */ - createChild?( config?:any, insertBefore?:HTMLElement, returnDom?:bool ): Ext.dom.IElement; + createChild?( config?:any, insertBefore?:HTMLElement, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Translates an element using CSS 3 in 2D */ cssTranslate?(): void; /** [Method] Removes this element s DOM reference */ @@ -21018,12 +20491,12 @@ declare module Ext { * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - down?( selector?:string, returnDom?:bool ): HTMLElement; + down?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Selects a single child at any depth below this element based on the passed CSS selector the selector should not cont * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - down?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + down?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Calls the passed function for each element in this composite * @param fn Function The function to call. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the Element. @@ -21046,38 +20519,38 @@ declare module Ext { * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ findParent?( simpleSelector?:any, maxDepth?:any, returnEl?:any ): any; - findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): HTMLElement; - findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): HTMLElement; - findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): HTMLElement; - findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): HTMLElement; /** [Method] Looks at this node and then 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 50 || document.body) * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ - 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; + findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): any; + findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): any; + findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): any; + findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): 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). * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ findParentNode?( simpleSelector?:any, maxDepth?:any, returnEl?:any ): any; - findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): HTMLElement; - findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): HTMLElement; - findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): HTMLElement; - findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): HTMLElement; /** [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). * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ - 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; + findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): any; + findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): any; + findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): any; + findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): 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. @@ -21089,7 +20562,7 @@ declare module Ext { * @param local Boolean true to get the local (element top/left-relative) anchor position instead of page coordinates. * @param size Object An object containing the size to use for calculating anchor position. {width: (target width), height: (target height)} (defaults to the element's current size) */ - getAnchorXY?( anchor?:string, local?:bool, size?:any ): any[]; + getAnchorXY?( anchor?:string, local?:boolean, size?:any ): any[]; /** [Method] Returns the value of an attribute from the element s underlying DOM node * @param name String The attribute name. * @param namespace String The namespace in which to look for the attribute. @@ -21105,7 +20578,7 @@ declare module Ext { * @param contentBox Boolean If true a box for the content of the element is returned. * @param local Boolean If true the element's left and top are returned instead of page x/y. */ - getBox?( contentBox?:bool, local?:bool ): any; + getBox?( contentBox?:boolean, local?:boolean ): any; /** [Method] Returns the number of elements in this Composite */ getCount?(): number; /** [Method] Returns the innerHTML of an element */ @@ -21113,7 +20586,7 @@ declare module Ext { /** [Method] Returns the offset height of the element * @param contentHeight Boolean true to get the height minus borders and padding. */ - getHeight?( contentHeight?:bool ): number; + getHeight?( contentHeight?:boolean ): number; /** [Method] Returns the innerHTML of an element */ getHtml?(): string; /** [Method] Gets the left X coordinate */ @@ -21137,7 +20610,7 @@ declare module Ext { /** [Method] Return an object defining the area of this Element which can be passed to setBox to set another Element s size locati * @param asRegion Boolean If true an Ext.util.Region will be returned. */ - getPageBox?( asRegion?:bool ): any; + getPageBox?( asRegion?:boolean ): any; /** [Method] Gets the right X coordinate of the element element X position element width */ getRight?(): number; /** [Method] Gets the Scroller instance of the first parent that has one */ @@ -21145,7 +20618,7 @@ declare module Ext { /** [Method] Returns the size of the element * @param contentSize Boolean true to get the width/size minus borders and padding. */ - getSize?( contentSize?:bool ): any; + getSize?( contentSize?:boolean ): any; /** [Method] Normalizes currentStyle and computedStyle * @param prop String The style property whose value is returned. */ @@ -21155,17 +20628,17 @@ declare module Ext { /** [Method] Returns the value of the value attribute * @param asNumber Boolean true to parse the value as a number. */ - getValue?( asNumber?:bool ): string; + getValue?( asNumber?:boolean ): string; /** [Method] Returns the value of the value attribute * @param asNumber Boolean true to parse the value as a number. */ - getValue?( asNumber?:bool ): number; + getValue?( asNumber?:boolean ): number; /** [Method] Returns the dimensions of the element available to lay content out in */ getViewSize?(): any; /** [Method] Returns the offset width of the element * @param contentWidth Boolean true to get the width minus borders and padding. */ - getWidth?( contentWidth?:bool ): number; + getWidth?( contentWidth?:boolean ): number; /** [Method] Gets the current X position of the element based on page coordinates * @param el Object */ @@ -21179,7 +20652,7 @@ declare module Ext { /** [Method] Checks if the specified CSS class exists on this element s DOM node * @param name String The CSS class to check for. */ - hasCls?( name?:string ): bool; + hasCls?( name?:string ): boolean; /** [Method] Hides this element */ hide?(): void; /** [Method] Find the index of the passed element within the composite collection @@ -21216,34 +20689,34 @@ declare module Ext { * @param html String The HTML fragment * @param returnEl Boolean true to return an Ext.dom.Element. */ - insertHtml?( where?:string, html?:string, returnEl?:bool ): HTMLElement; + insertHtml?( where?:string, html?:string, returnEl?:boolean ): HTMLElement; /** [Method] Inserts an HTML fragment into this element * @param where String Where to insert the HTML in relation to this element - 'beforeBegin', 'afterBegin', 'beforeEnd', 'afterEnd'. See Ext.DomHelper.insertHtml for details. * @param html String The HTML fragment * @param returnEl Boolean true to return an Ext.dom.Element. */ - insertHtml?( where?:string, html?:string, returnEl?:bool ): Ext.dom.IElement; + insertHtml?( where?:string, html?:string, returnEl?:boolean ): Ext.dom.IElement; /** [Method] Inserts or creates the passed element or DomHelper config as a sibling of this element * @param el String/HTMLElement/Ext.dom.Element/Object/Array The id, element to insert or a DomHelper config to create and insert or an array of any of those. * @param where String 'before' or 'after'. * @param returnDom Boolean true to return the raw DOM element instead of Ext.dom.Element. */ - insertSibling?( el?:any, where?:string, returnDom?:bool ): Ext.dom.IElement; + insertSibling?( el?:any, where?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Returns true if this element matches the passed simple selector e g * @param selector String The simple selector to test. */ - is?( selector?:string ): bool; + is?( selector?:string ): boolean; /** [Method] Determines if this element is a descendant of the passed in Element */ isDescendent?(): void; /** [Method] Checks if the current value of a style is equal to a given value * @param style String property whose value is returned. * @param value String to check against. */ - isStyle?( style?:string, value?:string ): bool; + isStyle?( style?:string, value?:string ): boolean; /** [Method] Returns true if the value of the given property is visually transparent * @param prop String The style property whose value is to be tested. */ - isTransparent?( prop?:string ): bool; + isTransparent?( prop?:string ): boolean; /** [Method] Returns a flyweight Element of the dom element object at the specified index * @param index Number */ @@ -21254,47 +20727,47 @@ 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 ): Ext.dom.IElement; + next?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Gets the next sibling 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. */ - next?( selector?:string, returnDom?:bool ): HTMLElement; + next?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Gets the next sibling 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. */ - next?( selector?:string, returnDom?:bool ): any; + next?( selector?:string, returnDom?:boolean ): 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. */ - parent?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + parent?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [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. */ - parent?( selector?:string, returnDom?:bool ): HTMLElement; + parent?( selector?:string, returnDom?:boolean ): HTMLElement; /** [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. */ - parent?( selector?:string, returnDom?:bool ): any; + parent?( selector?:string, returnDom?:boolean ): 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 */ - prev?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + prev?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [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 */ - prev?( selector?:string, returnDom?:bool ): HTMLElement; + prev?( selector?:string, returnDom?:boolean ): HTMLElement; /** [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 */ - prev?( selector?:string, returnDom?:bool ): any; + prev?( selector?:string, returnDom?:boolean ): 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 @@ -21322,10 +20795,10 @@ declare module Ext { * @param removeDom Boolean true to also remove the element from the document */ removeElement?( el?:any, removeDom?:any ): any; - removeElement?( el?:string, removeDom?:bool ): Ext.dom.ICompositeElementLite; - removeElement?( el?:HTMLElement, removeDom?:bool ): Ext.dom.ICompositeElementLite; - removeElement?( el?:Ext.IElement, removeDom?:bool ): Ext.dom.ICompositeElementLite; - removeElement?( el?:number, removeDom?:bool ): Ext.dom.ICompositeElementLite; + removeElement?( el?:string, removeDom?:boolean ): Ext.dom.ICompositeElementLite; + removeElement?( el?:HTMLElement, removeDom?:boolean ): Ext.dom.ICompositeElementLite; + removeElement?( el?:Ext.IElement, removeDom?:boolean ): Ext.dom.ICompositeElementLite; + removeElement?( el?:number, removeDom?:boolean ): Ext.dom.ICompositeElementLite; /** [Method] Forces the browser to repaint this element */ repaint?(): Ext.dom.IElement; /** [Method] Replaces the passed element with this element @@ -21348,14 +20821,14 @@ declare module Ext { * @param domReplace Boolean true to remove and replace the element in the document too. */ replaceElement?( el?:any, replacement?:any, domReplace?:any ): any; - replaceElement?( el?:string, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:HTMLElement, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:Ext.IElement, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:number, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:string, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:HTMLElement, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:Ext.IElement, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:number, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:string, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:HTMLElement, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:Ext.IElement, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:number, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:string, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:HTMLElement, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:Ext.IElement, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:number, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElementLite; /** [Method] Replaces this element with the passed element * @param el String/HTMLElement/Ext.dom.Element/Object The new element (id of the node, a DOM Node or an existing Element) or a DomHelper config of an element to create. */ @@ -21365,8 +20838,8 @@ declare module Ext { * @param composite Boolean Return a CompositeElement as opposed to a CompositeElementLite. Defaults to false. */ select?( selector?:any, composite?:any ): any; - select?( selector?:string, composite?:bool ): Ext.dom.ICompositeElementLite; - select?( selector?:HTMLElement[], composite?:bool ): Ext.dom.ICompositeElementLite; + select?( selector?:string, composite?:boolean ): Ext.dom.ICompositeElementLite; + select?( selector?:HTMLElement[], composite?:boolean ): Ext.dom.ICompositeElementLite; /** [Method] Serializes a DOM form into a url encoded string * @param form Object The form */ @@ -21375,7 +20848,7 @@ declare module Ext { * @param attributes Object The object with the attributes. * @param useSet Boolean false to override the default setAttribute to use expandos. */ - set?( attributes?:any, useSet?:bool ): Ext.dom.IElement; + set?( attributes?:any, useSet?:boolean ): Ext.dom.IElement; /** [Method] Sets the element s CSS bottom style * @param bottom String The bottom CSS property value. */ @@ -21463,7 +20936,7 @@ declare module Ext { /** [Method] Sets the visibility of the element see details * @param visible Boolean Whether the element is visible. */ - setVisible?( visible?:bool ): Ext.IElement; + setVisible?( visible?:boolean ): Ext.IElement; /** [Method] Set the width of this Element * @param width Number/String The new width. */ @@ -21522,12 +20995,12 @@ declare module Ext { * @param config Object DomHelper element config object for the wrapper element or null for an empty div * @param domNode Boolean true to return the raw DOM element instead of Ext.dom.Element. */ - wrap?( config?:any, domNode?:bool ): HTMLElement; + wrap?( config?:any, domNode?:boolean ): HTMLElement; /** [Method] Creates and wraps this element with another element * @param config Object DomHelper element config object for the wrapper element or null for an empty div * @param domNode Boolean true to return the raw DOM element instead of Ext.dom.Element. */ - wrap?( config?:any, domNode?:bool ): Ext.dom.IElement; + wrap?( config?:any, domNode?:boolean ): Ext.dom.IElement; } } declare module Ext { @@ -21577,28 +21050,28 @@ declare module Ext { * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - child?( selector?:string, returnDom?:bool ): HTMLElement; + child?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Selects a single direct child based on the passed CSS selector the selector should not contain an id * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - child?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + child?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Removes all elements */ clear?(): void; /** [Method] Returns true if this composite contains the passed element * @param el String/HTMLElement/Ext.Element/Number The id of an element, or an Ext.Element, or an HtmlElement to find within the composite collection. */ contains?( el?:any ): any; - contains?( el?:string ): bool; - contains?( el?:HTMLElement ): bool; - contains?( el?:Ext.IElement ): bool; - contains?( el?:number ): bool; + contains?( el?:string ): boolean; + contains?( el?:HTMLElement ): boolean; + contains?( el?:Ext.IElement ): boolean; + contains?( el?:number ): boolean; /** [Method] Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child e * @param config Object DomHelper element config object. If no tag is specified (e.g., {tag:'input'}) then a div will be automatically generated with the specified attributes. * @param insertBefore HTMLElement a child element of this element. * @param returnDom Boolean true to return the dom node instead of creating an Element. */ - createChild?( config?:any, insertBefore?:HTMLElement, returnDom?:bool ): Ext.dom.IElement; + createChild?( config?:any, insertBefore?:HTMLElement, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Translates an element using CSS 3 in 2D */ cssTranslate?(): void; /** [Method] Removes this element s DOM reference */ @@ -21607,12 +21080,12 @@ declare module Ext { * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - down?( selector?:string, returnDom?:bool ): HTMLElement; + down?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Selects a single child at any depth below this element based on the passed CSS selector the selector should not cont * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - down?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + down?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Calls the passed function for each element in this composite * @param fn Function The function to call. * @param scope Object The scope (this reference) in which the function is executed. Defaults to the Element. @@ -21635,38 +21108,38 @@ declare module Ext { * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ findParent?( simpleSelector?:any, maxDepth?:any, returnEl?:any ): any; - findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): HTMLElement; - findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): HTMLElement; - findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): HTMLElement; - findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): HTMLElement; /** [Method] Looks at this node and then 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 50 || document.body) * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ - 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; + findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): any; + findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): any; + findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): any; + findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): 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). * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ findParentNode?( simpleSelector?:any, maxDepth?:any, returnEl?:any ): any; - findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): HTMLElement; - findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): HTMLElement; - findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): HTMLElement; - findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): HTMLElement; /** [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). * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ - 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; + findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): any; + findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): any; + findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): any; + findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): 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. @@ -21678,7 +21151,7 @@ declare module Ext { * @param local Boolean true to get the local (element top/left-relative) anchor position instead of page coordinates. * @param size Object An object containing the size to use for calculating anchor position. {width: (target width), height: (target height)} (defaults to the element's current size) */ - getAnchorXY?( anchor?:string, local?:bool, size?:any ): any[]; + getAnchorXY?( anchor?:string, local?:boolean, size?:any ): any[]; /** [Method] Returns the value of an attribute from the element s underlying DOM node * @param name String The attribute name. * @param namespace String The namespace in which to look for the attribute. @@ -21694,7 +21167,7 @@ declare module Ext { * @param contentBox Boolean If true a box for the content of the element is returned. * @param local Boolean If true the element's left and top are returned instead of page x/y. */ - getBox?( contentBox?:bool, local?:bool ): any; + getBox?( contentBox?:boolean, local?:boolean ): any; /** [Method] Returns the number of elements in this Composite */ getCount?(): number; /** [Method] Returns the innerHTML of an element */ @@ -21702,7 +21175,7 @@ declare module Ext { /** [Method] Returns the offset height of the element * @param contentHeight Boolean true to get the height minus borders and padding. */ - getHeight?( contentHeight?:bool ): number; + getHeight?( contentHeight?:boolean ): number; /** [Method] Returns the innerHTML of an element */ getHtml?(): string; /** [Method] Gets the left X coordinate */ @@ -21726,7 +21199,7 @@ declare module Ext { /** [Method] Return an object defining the area of this Element which can be passed to setBox to set another Element s size locati * @param asRegion Boolean If true an Ext.util.Region will be returned. */ - getPageBox?( asRegion?:bool ): any; + getPageBox?( asRegion?:boolean ): any; /** [Method] Gets the right X coordinate of the element element X position element width */ getRight?(): number; /** [Method] Gets the Scroller instance of the first parent that has one */ @@ -21734,7 +21207,7 @@ declare module Ext { /** [Method] Returns the size of the element * @param contentSize Boolean true to get the width/size minus borders and padding. */ - getSize?( contentSize?:bool ): any; + getSize?( contentSize?:boolean ): any; /** [Method] Normalizes currentStyle and computedStyle * @param prop String The style property whose value is returned. */ @@ -21744,17 +21217,17 @@ declare module Ext { /** [Method] Returns the value of the value attribute * @param asNumber Boolean true to parse the value as a number. */ - getValue?( asNumber?:bool ): string; + getValue?( asNumber?:boolean ): string; /** [Method] Returns the value of the value attribute * @param asNumber Boolean true to parse the value as a number. */ - getValue?( asNumber?:bool ): number; + getValue?( asNumber?:boolean ): number; /** [Method] Returns the dimensions of the element available to lay content out in */ getViewSize?(): any; /** [Method] Returns the offset width of the element * @param contentWidth Boolean true to get the width minus borders and padding. */ - getWidth?( contentWidth?:bool ): number; + getWidth?( contentWidth?:boolean ): number; /** [Method] Gets the current X position of the element based on page coordinates * @param el Object */ @@ -21768,7 +21241,7 @@ declare module Ext { /** [Method] Checks if the specified CSS class exists on this element s DOM node * @param name String The CSS class to check for. */ - hasCls?( name?:string ): bool; + hasCls?( name?:string ): boolean; /** [Method] Hides this element */ hide?(): void; /** [Method] Find the index of the passed element within the composite collection @@ -21805,34 +21278,34 @@ declare module Ext { * @param html String The HTML fragment * @param returnEl Boolean true to return an Ext.dom.Element. */ - insertHtml?( where?:string, html?:string, returnEl?:bool ): HTMLElement; + insertHtml?( where?:string, html?:string, returnEl?:boolean ): HTMLElement; /** [Method] Inserts an HTML fragment into this element * @param where String Where to insert the HTML in relation to this element - 'beforeBegin', 'afterBegin', 'beforeEnd', 'afterEnd'. See Ext.DomHelper.insertHtml for details. * @param html String The HTML fragment * @param returnEl Boolean true to return an Ext.dom.Element. */ - insertHtml?( where?:string, html?:string, returnEl?:bool ): Ext.dom.IElement; + insertHtml?( where?:string, html?:string, returnEl?:boolean ): Ext.dom.IElement; /** [Method] Inserts or creates the passed element or DomHelper config as a sibling of this element * @param el String/HTMLElement/Ext.dom.Element/Object/Array The id, element to insert or a DomHelper config to create and insert or an array of any of those. * @param where String 'before' or 'after'. * @param returnDom Boolean true to return the raw DOM element instead of Ext.dom.Element. */ - insertSibling?( el?:any, where?:string, returnDom?:bool ): Ext.dom.IElement; + insertSibling?( el?:any, where?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Returns true if this element matches the passed simple selector e g * @param selector String The simple selector to test. */ - is?( selector?:string ): bool; + is?( selector?:string ): boolean; /** [Method] Determines if this element is a descendant of the passed in Element */ isDescendent?(): void; /** [Method] Checks if the current value of a style is equal to a given value * @param style String property whose value is returned. * @param value String to check against. */ - isStyle?( style?:string, value?:string ): bool; + isStyle?( style?:string, value?:string ): boolean; /** [Method] Returns true if the value of the given property is visually transparent * @param prop String The style property whose value is to be tested. */ - isTransparent?( prop?:string ): bool; + isTransparent?( prop?:string ): boolean; /** [Method] Returns a flyweight Element of the dom element object at the specified index * @param index Number */ @@ -21843,47 +21316,47 @@ 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 ): Ext.dom.IElement; + next?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Gets the next sibling 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. */ - next?( selector?:string, returnDom?:bool ): HTMLElement; + next?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Gets the next sibling 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. */ - next?( selector?:string, returnDom?:bool ): any; + next?( selector?:string, returnDom?:boolean ): 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. */ - parent?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + parent?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [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. */ - parent?( selector?:string, returnDom?:bool ): HTMLElement; + parent?( selector?:string, returnDom?:boolean ): HTMLElement; /** [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. */ - parent?( selector?:string, returnDom?:bool ): any; + parent?( selector?:string, returnDom?:boolean ): 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 */ - prev?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + prev?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [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 */ - prev?( selector?:string, returnDom?:bool ): HTMLElement; + prev?( selector?:string, returnDom?:boolean ): HTMLElement; /** [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 */ - prev?( selector?:string, returnDom?:bool ): any; + prev?( selector?:string, returnDom?:boolean ): 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 @@ -21911,10 +21384,10 @@ declare module Ext { * @param removeDom Boolean true to also remove the element from the document */ removeElement?( el?:any, removeDom?:any ): any; - removeElement?( el?:string, removeDom?:bool ): Ext.dom.ICompositeElementLite; - removeElement?( el?:HTMLElement, removeDom?:bool ): Ext.dom.ICompositeElementLite; - removeElement?( el?:Ext.IElement, removeDom?:bool ): Ext.dom.ICompositeElementLite; - removeElement?( el?:number, removeDom?:bool ): Ext.dom.ICompositeElementLite; + removeElement?( el?:string, removeDom?:boolean ): Ext.dom.ICompositeElementLite; + removeElement?( el?:HTMLElement, removeDom?:boolean ): Ext.dom.ICompositeElementLite; + removeElement?( el?:Ext.IElement, removeDom?:boolean ): Ext.dom.ICompositeElementLite; + removeElement?( el?:number, removeDom?:boolean ): Ext.dom.ICompositeElementLite; /** [Method] Forces the browser to repaint this element */ repaint?(): Ext.dom.IElement; /** [Method] Replaces the passed element with this element @@ -21937,14 +21410,14 @@ declare module Ext { * @param domReplace Boolean true to remove and replace the element in the document too. */ replaceElement?( el?:any, replacement?:any, domReplace?:any ): any; - replaceElement?( el?:string, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:HTMLElement, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:Ext.IElement, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:number, replacement?:string, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:string, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:HTMLElement, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:Ext.IElement, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElementLite; - replaceElement?( el?:number, replacement?:Ext.IElement, domReplace?:bool ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:string, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:HTMLElement, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:Ext.IElement, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:number, replacement?:string, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:string, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:HTMLElement, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:Ext.IElement, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElementLite; + replaceElement?( el?:number, replacement?:Ext.IElement, domReplace?:boolean ): Ext.dom.ICompositeElementLite; /** [Method] Replaces this element with the passed element * @param el String/HTMLElement/Ext.dom.Element/Object The new element (id of the node, a DOM Node or an existing Element) or a DomHelper config of an element to create. */ @@ -21954,8 +21427,8 @@ declare module Ext { * @param composite Boolean Return a CompositeElement as opposed to a CompositeElementLite. Defaults to false. */ select?( selector?:any, composite?:any ): any; - select?( selector?:string, composite?:bool ): Ext.dom.ICompositeElementLite; - select?( selector?:HTMLElement[], composite?:bool ): Ext.dom.ICompositeElementLite; + select?( selector?:string, composite?:boolean ): Ext.dom.ICompositeElementLite; + select?( selector?:HTMLElement[], composite?:boolean ): Ext.dom.ICompositeElementLite; /** [Method] Serializes a DOM form into a url encoded string * @param form Object The form */ @@ -21964,7 +21437,7 @@ declare module Ext { * @param attributes Object The object with the attributes. * @param useSet Boolean false to override the default setAttribute to use expandos. */ - set?( attributes?:any, useSet?:bool ): Ext.dom.IElement; + set?( attributes?:any, useSet?:boolean ): Ext.dom.IElement; /** [Method] Sets the element s CSS bottom style * @param bottom String The bottom CSS property value. */ @@ -22052,7 +21525,7 @@ declare module Ext { /** [Method] Sets the visibility of the element see details * @param visible Boolean Whether the element is visible. */ - setVisible?( visible?:bool ): Ext.IElement; + setVisible?( visible?:boolean ): Ext.IElement; /** [Method] Set the width of this Element * @param width Number/String The new width. */ @@ -22111,12 +21584,12 @@ declare module Ext { * @param config Object DomHelper element config object for the wrapper element or null for an empty div * @param domNode Boolean true to return the raw DOM element instead of Ext.dom.Element. */ - wrap?( config?:any, domNode?:bool ): HTMLElement; + wrap?( config?:any, domNode?:boolean ): HTMLElement; /** [Method] Creates and wraps this element with another element * @param config Object DomHelper element config object for the wrapper element or null for an empty div * @param domNode Boolean true to return the raw DOM element instead of Ext.dom.Element. */ - wrap?( config?:any, domNode?:bool ): Ext.dom.IElement; + wrap?( config?:any, domNode?:boolean ): Ext.dom.IElement; } } declare module Ext.dom { @@ -22200,26 +21673,26 @@ declare module Ext.dom { * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - child?( selector?:string, returnDom?:bool ): HTMLElement; + child?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Selects a single direct child based on the passed CSS selector the selector should not contain an id * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - child?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + child?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Removes all listeners for this object */ clearListeners?(): void; /** [Method] Returns true if this element is an ancestor of the passed element * @param element HTMLElement/String The element to check. */ contains?( element?:any ): any; - contains?( element?:HTMLElement ): bool; - contains?( element?:string ): bool; + contains?( element?:HTMLElement ): boolean; + contains?( element?:string ): boolean; /** [Method] Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child e * @param config Object DomHelper element config object. If no tag is specified (e.g., {tag:'input'}) then a div will be automatically generated with the specified attributes. * @param insertBefore HTMLElement a child element of this element. * @param returnDom Boolean true to return the dom node instead of creating an Element. */ - createChild?( config?:any, insertBefore?:HTMLElement, returnDom?:bool ): Ext.dom.IElement; + createChild?( config?:any, insertBefore?:HTMLElement, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Translates an element using CSS 3 in 2D */ cssTranslate?(): void; /** [Method] Removes this element s DOM reference */ @@ -22228,12 +21701,12 @@ declare module Ext.dom { * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - down?( selector?:string, returnDom?:bool ): HTMLElement; + down?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Selects a single child at any depth below this element based on the passed CSS selector the selector should not cont * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - down?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + down?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Enables events fired by this Observable to bubble up an owner hierarchy by calling this getBubbleTarget if present * @param events String/String[] The event name to bubble, or an Array of event names. */ @@ -22246,38 +21719,38 @@ declare module Ext.dom { * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ findParent?( simpleSelector?:any, maxDepth?:any, returnEl?:any ): any; - findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): HTMLElement; - findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): HTMLElement; - findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): HTMLElement; - findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): HTMLElement; /** [Method] Looks at this node and then 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 50 || document.body) * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ - 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; + findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): any; + findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): any; + findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): any; + findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): 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). * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ findParentNode?( simpleSelector?:any, maxDepth?:any, returnEl?:any ): any; - findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): HTMLElement; - findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): HTMLElement; - findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): HTMLElement; - findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): HTMLElement; /** [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). * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ - 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; + findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): any; + findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): any; + findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): any; + findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): 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. @@ -22289,22 +21762,22 @@ declare module Ext.dom { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [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; + first?( selector?:string, returnDom?:boolean ): 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; + first?( selector?:string, returnDom?:boolean ): 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; + first?( selector?:string, returnDom?:boolean ): 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. @@ -22316,7 +21789,7 @@ declare module Ext.dom { * @param local Boolean true to get the local (element top/left-relative) anchor position instead of page coordinates. * @param size Object An object containing the size to use for calculating anchor position. {width: (target width), height: (target height)} (defaults to the element's current size) */ - getAnchorXY?( anchor?:string, local?:bool, size?:any ): any[]; + getAnchorXY?( anchor?:string, local?:boolean, size?:any ): any[]; /** [Method] Returns the value of an attribute from the element s underlying DOM node * @param name String The attribute name. * @param namespace String The namespace in which to look for the attribute. @@ -22332,7 +21805,7 @@ declare module Ext.dom { * @param contentBox Boolean If true a box for the content of the element is returned. * @param local Boolean If true the element's left and top are returned instead of page x/y. */ - getBox?( contentBox?:bool, local?:bool ): any; + getBox?( contentBox?:boolean, local?:boolean ): any; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -22342,7 +21815,7 @@ declare module Ext.dom { /** [Method] Returns the offset height of the element * @param contentHeight Boolean true to get the height minus borders and padding. */ - getHeight?( contentHeight?:bool ): number; + getHeight?( contentHeight?:boolean ): number; /** [Method] Returns the innerHTML of an element */ getHtml?(): string; /** [Method] Gets the left X coordinate */ @@ -22368,7 +21841,7 @@ declare module Ext.dom { /** [Method] Return an object defining the area of this Element which can be passed to setBox to set another Element s size locati * @param asRegion Boolean If true an Ext.util.Region will be returned. */ - getPageBox?( asRegion?:bool ): any; + getPageBox?( asRegion?:boolean ): any; /** [Method] Gets the right X coordinate of the element element X position element width */ getRight?(): number; /** [Method] Gets the Scroller instance of the first parent that has one */ @@ -22376,7 +21849,7 @@ declare module Ext.dom { /** [Method] Returns the size of the element * @param contentSize Boolean true to get the width/size minus borders and padding. */ - getSize?( contentSize?:bool ): any; + getSize?( contentSize?:boolean ): any; /** [Method] Normalizes currentStyle and computedStyle * @param prop String The style property whose value is returned. */ @@ -22386,17 +21859,17 @@ declare module Ext.dom { /** [Method] Returns the value of the value attribute * @param asNumber Boolean true to parse the value as a number. */ - getValue?( asNumber?:bool ): string; + getValue?( asNumber?:boolean ): string; /** [Method] Returns the value of the value attribute * @param asNumber Boolean true to parse the value as a number. */ - getValue?( asNumber?:bool ): number; + getValue?( asNumber?:boolean ): number; /** [Method] Returns the dimensions of the element available to lay content out in */ getViewSize?(): any; /** [Method] Returns the offset width of the element * @param contentWidth Boolean true to get the width minus borders and padding. */ - getWidth?( contentWidth?:bool ): number; + getWidth?( contentWidth?:boolean ): number; /** [Method] Gets the current X position of the element based on page coordinates * @param el Object */ @@ -22410,11 +21883,11 @@ declare module Ext.dom { /** [Method] Checks if the specified CSS class exists on this element s DOM node * @param name String The CSS class to check for. */ - hasCls?( name?:string ): bool; + hasCls?( name?:string ): boolean; /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Hides this element */ hide?(): void; /** [Method] Inserts this element after the passed element in the DOM @@ -22443,49 +21916,49 @@ declare module Ext.dom { * @param html String The HTML fragment * @param returnEl Boolean true to return an Ext.dom.Element. */ - insertHtml?( where?:string, html?:string, returnEl?:bool ): HTMLElement; + insertHtml?( where?:string, html?:string, returnEl?:boolean ): HTMLElement; /** [Method] Inserts an HTML fragment into this element * @param where String Where to insert the HTML in relation to this element - 'beforeBegin', 'afterBegin', 'beforeEnd', 'afterEnd'. See Ext.DomHelper.insertHtml for details. * @param html String The HTML fragment * @param returnEl Boolean true to return an Ext.dom.Element. */ - insertHtml?( where?:string, html?:string, returnEl?:bool ): Ext.dom.IElement; + insertHtml?( where?:string, html?:string, returnEl?:boolean ): Ext.dom.IElement; /** [Method] Inserts or creates the passed element or DomHelper config as a sibling of this element * @param el String/HTMLElement/Ext.dom.Element/Object/Array The id, element to insert or a DomHelper config to create and insert or an array of any of those. * @param where String 'before' or 'after'. * @param returnDom Boolean true to return the raw DOM element instead of Ext.dom.Element. */ - insertSibling?( el?:any, where?:string, returnDom?:bool ): Ext.dom.IElement; + insertSibling?( el?:any, where?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Returns true if this element matches the passed simple selector e g * @param selector String The simple selector to test. */ - is?( selector?:string ): bool; + is?( selector?:string ): boolean; /** [Method] Determines if this element is a descendant of the passed in Element */ isDescendent?(): void; /** [Method] Checks if the current value of a style is equal to a given value * @param style String property whose value is returned. * @param value String to check against. */ - isStyle?( style?:string, value?:string ): bool; + isStyle?( style?:string, value?:string ): boolean; /** [Method] Returns true if the value of the given property is visually transparent * @param prop String The style property whose value is to be tested. */ - isTransparent?( prop?:string ): bool; + isTransparent?( prop?:string ): boolean; /** [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; + last?( selector?:string, returnDom?:boolean ): 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; + last?( selector?:string, returnDom?:boolean ): 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; + last?( selector?:string, returnDom?:boolean ): any; /** [Method] Puts a mask over this element to disable user interaction */ mask?(): void; /** [Method] Alias for addManagedListener @@ -22511,17 +21984,17 @@ 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 ): Ext.dom.IElement; + next?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Gets the next sibling 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. */ - next?( selector?:string, returnDom?:bool ): HTMLElement; + next?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Gets the next sibling 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. */ - next?( selector?:string, returnDom?:bool ): any; + next?( selector?:string, returnDom?:boolean ): 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. @@ -22552,32 +22025,32 @@ 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 ): Ext.dom.IElement; + parent?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [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. */ - parent?( selector?:string, returnDom?:bool ): HTMLElement; + parent?( selector?:string, returnDom?:boolean ): HTMLElement; /** [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. */ - parent?( selector?:string, returnDom?:bool ): any; + parent?( selector?:string, returnDom?:boolean ): 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 */ - prev?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + prev?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [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 */ - prev?( selector?:string, returnDom?:bool ): HTMLElement; + prev?( selector?:string, returnDom?:boolean ): HTMLElement; /** [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 */ - prev?( selector?:string, returnDom?:bool ): any; + prev?( selector?:string, returnDom?:boolean ): 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 @@ -22663,7 +22136,7 @@ declare module Ext.dom { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Serializes a DOM form into a url encoded string * @param form Object The form */ @@ -22672,7 +22145,7 @@ declare module Ext.dom { * @param attributes Object The object with the attributes. * @param useSet Boolean false to override the default setAttribute to use expandos. */ - set?( attributes?:any, useSet?:bool ): Ext.dom.IElement; + set?( attributes?:any, useSet?:boolean ): Ext.dom.IElement; /** [Method] Sets the element s CSS bottom style * @param bottom String The bottom CSS property value. */ @@ -22770,7 +22243,7 @@ declare module Ext.dom { /** [Method] Sets the visibility of the element see details * @param visible Boolean Whether the element is visible. */ - setVisible?( visible?:bool ): Ext.IElement; + setVisible?( visible?:boolean ): Ext.IElement; /** [Method] Set the width of this Element * @param width Number/String The new width. */ @@ -22857,62 +22330,99 @@ declare module Ext.dom { * @param config Object DomHelper element config object for the wrapper element or null for an empty div * @param domNode Boolean true to return the raw DOM element instead of Ext.dom.Element. */ - wrap?( config?:any, domNode?:bool ): HTMLElement; + wrap?( config?:any, domNode?:boolean ): HTMLElement; /** [Method] Creates and wraps this element with another element * @param config Object DomHelper element config object for the wrapper element or null for an empty div * @param domNode Boolean true to return the raw DOM element instead of Ext.dom.Element. */ - wrap?( config?:any, domNode?:bool ): Ext.dom.IElement; + wrap?( config?:any, domNode?:boolean ): Ext.dom.IElement; + } + export class Element { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] + * @param args Object + */ + static callParent( args?:any ): void; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Gets the globally shared flyweight Element with the passed node as the active element * @param element String/HTMLElement The DOM node or id. * @param named String Allows for creation of named reusable flyweights to prevent conflicts (e.g. internally Ext uses "_global"). */ - fly?( element?:any, named?:any ): any; - fly?( element?:string, named?:string ): Ext.dom.IElement; - fly?( element?:HTMLElement, named?:string ): Ext.dom.IElement; + static fly( element?:any, named?:any ): any; + static fly( element?:string, named?:string ): Ext.dom.IElement; + static fly( element?:HTMLElement, named?:string ): Ext.dom.IElement; /** [Method] Returns the top Element that is located at the passed coordinates * @param x Number The x coordinate * @param y Number The y coordinate */ - fromPoint?( x?:number, y?:number ): string; + static fromPoint( x?:number, y?:number ): string; /** [Method] Retrieves Ext dom Element objects * @param element String/HTMLElement/Ext.Element The id of the node, a DOM Node or an existing Element. */ - get?( element?:any ): any; - get?( element?:string ): Ext.dom.IElement; - get?( element?:HTMLElement ): Ext.dom.IElement; - get?( element?:Ext.IElement ): Ext.dom.IElement; + static get( element?:any ): any; + static get( element?:string ): Ext.dom.IElement; + static get( element?:HTMLElement ): Ext.dom.IElement; + static get( element?:Ext.IElement ): Ext.dom.IElement; /** [Method] Retrieves the document height */ - getDocumentHeight?(): number; + static getDocumentHeight(): number; /** [Method] Retrieves the document width */ - getDocumentWidth?(): number; + static getDocumentWidth(): number; + /** [Method] Get the current class name in string format */ + static getName(): string; /** [Method] Retrieves the current orientation of the window */ - getOrientation?(): string; + static getOrientation(): string; + /** [Method] Retrieves the viewport size of the window */ + static getViewSize(): any; /** [Method] Retrieves the viewport height of the window */ - getViewportHeight?(): number; + static getViewportHeight(): number; /** [Method] Retrieves the viewport width of the window */ - getViewportWidth?(): number; + static getViewportWidth(): number; /** [Method] Normalizes CSS property keys from dash delimited to camel case JavaScript Syntax * @param prop String The property to normalize */ - normalize?( prop?:string ): string; + static normalize( prop?:string ): string; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; /** [Method] Parses a number or string representing margin sizes into an object * @param box Number/String The encoded margins */ - parseBox?( box?:any ): any; - parseBox?( box?:number ): any; - parseBox?( box?:string ): any; + static parseBox( box?:any ): any; + static parseBox( box?:number ): any; + static parseBox( box?:string ): any; /** [Method] Converts a CSS string into an object with a property for each style * @param styles String A CSS string */ - parseStyles?( styles?:string ): any; + static parseStyles( styles?:string ): any; + /** [Method] Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in + * @param selector String/HTMLElement[] The CSS selector or an array of elements + * @param composite Boolean Return a CompositeElement as opposed to a CompositeElementLite. Defaults to false. + * @param root HTMLElement/String The root element of the query or id of the root + */ + static select( selector?:any, composite?:any, root?:any ): any; + static select( selector?:string, composite?:boolean, root?:HTMLElement ): Ext.dom.ICompositeElementLite; + static select( selector?:HTMLElement[], composite?:boolean, root?:HTMLElement ): Ext.dom.ICompositeElementLite; + static select( selector?:string, composite?:boolean, root?:string ): Ext.dom.ICompositeElementLite; + static select( selector?:HTMLElement[], composite?:boolean, root?:string ): Ext.dom.ICompositeElementLite; /** [Method] Parses a number or string representing margin sizes into an object * @param box Number/String The encoded margins * @param units String The type of units to add */ - unitizeBox?( box?:any, units?:any ): any; - unitizeBox?( box?:number, units?:string ): string; - unitizeBox?( box?:string, units?:string ): string; + static unitizeBox( box?:any, units?:any ): any; + static unitizeBox( box?:number, units?:string ): string; + static unitizeBox( box?:string, units?:string ): string; } } declare module Ext { @@ -22996,26 +22506,26 @@ declare module Ext { * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - child?( selector?:string, returnDom?:bool ): HTMLElement; + child?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Selects a single direct child based on the passed CSS selector the selector should not contain an id * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - child?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + child?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Removes all listeners for this object */ clearListeners?(): void; /** [Method] Returns true if this element is an ancestor of the passed element * @param element HTMLElement/String The element to check. */ contains?( element?:any ): any; - contains?( element?:HTMLElement ): bool; - contains?( element?:string ): bool; + contains?( element?:HTMLElement ): boolean; + contains?( element?:string ): boolean; /** [Method] Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child e * @param config Object DomHelper element config object. If no tag is specified (e.g., {tag:'input'}) then a div will be automatically generated with the specified attributes. * @param insertBefore HTMLElement a child element of this element. * @param returnDom Boolean true to return the dom node instead of creating an Element. */ - createChild?( config?:any, insertBefore?:HTMLElement, returnDom?:bool ): Ext.dom.IElement; + createChild?( config?:any, insertBefore?:HTMLElement, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Translates an element using CSS 3 in 2D */ cssTranslate?(): void; /** [Method] Removes this element s DOM reference */ @@ -23024,12 +22534,12 @@ declare module Ext { * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - down?( selector?:string, returnDom?:bool ): HTMLElement; + down?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Selects a single child at any depth below this element based on the passed CSS selector the selector should not cont * @param selector String The CSS selector. * @param returnDom Boolean true to return the DOM node instead of Ext.dom.Element. */ - down?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + down?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Enables events fired by this Observable to bubble up an owner hierarchy by calling this getBubbleTarget if present * @param events String/String[] The event name to bubble, or an Array of event names. */ @@ -23042,38 +22552,38 @@ declare module Ext { * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ findParent?( simpleSelector?:any, maxDepth?:any, returnEl?:any ): any; - findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): HTMLElement; - findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): HTMLElement; - findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): HTMLElement; - findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): HTMLElement; + findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): HTMLElement; /** [Method] Looks at this node and then 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 50 || document.body) * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ - 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; + findParent?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): any; + findParent?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): any; + findParent?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): any; + findParent?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): 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). * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ findParentNode?( simpleSelector?:any, maxDepth?:any, returnEl?:any ): any; - findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:bool ): HTMLElement; - findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:bool ): HTMLElement; - findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:bool ): HTMLElement; - findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:bool ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): HTMLElement; + findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): HTMLElement; /** [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). * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ - 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; + findParentNode?( simpleSelector?:string, maxDepth?:number, returnEl?:boolean ): any; + findParentNode?( simpleSelector?:string, maxDepth?:string, returnEl?:boolean ): any; + findParentNode?( simpleSelector?:string, maxDepth?:HTMLElement, returnEl?:boolean ): any; + findParentNode?( simpleSelector?:string, maxDepth?:Ext.IElement, returnEl?:boolean ): 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. @@ -23085,22 +22595,22 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [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; + first?( selector?:string, returnDom?:boolean ): 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; + first?( selector?:string, returnDom?:boolean ): 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; + first?( selector?:string, returnDom?:boolean ): 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. @@ -23112,7 +22622,7 @@ declare module Ext { * @param local Boolean true to get the local (element top/left-relative) anchor position instead of page coordinates. * @param size Object An object containing the size to use for calculating anchor position. {width: (target width), height: (target height)} (defaults to the element's current size) */ - getAnchorXY?( anchor?:string, local?:bool, size?:any ): any[]; + getAnchorXY?( anchor?:string, local?:boolean, size?:any ): any[]; /** [Method] Returns the value of an attribute from the element s underlying DOM node * @param name String The attribute name. * @param namespace String The namespace in which to look for the attribute. @@ -23128,7 +22638,7 @@ declare module Ext { * @param contentBox Boolean If true a box for the content of the element is returned. * @param local Boolean If true the element's left and top are returned instead of page x/y. */ - getBox?( contentBox?:bool, local?:bool ): any; + getBox?( contentBox?:boolean, local?:boolean ): any; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -23138,7 +22648,7 @@ declare module Ext { /** [Method] Returns the offset height of the element * @param contentHeight Boolean true to get the height minus borders and padding. */ - getHeight?( contentHeight?:bool ): number; + getHeight?( contentHeight?:boolean ): number; /** [Method] Returns the innerHTML of an element */ getHtml?(): string; /** [Method] Gets the left X coordinate */ @@ -23164,7 +22674,7 @@ declare module Ext { /** [Method] Return an object defining the area of this Element which can be passed to setBox to set another Element s size locati * @param asRegion Boolean If true an Ext.util.Region will be returned. */ - getPageBox?( asRegion?:bool ): any; + getPageBox?( asRegion?:boolean ): any; /** [Method] Gets the right X coordinate of the element element X position element width */ getRight?(): number; /** [Method] Gets the Scroller instance of the first parent that has one */ @@ -23172,7 +22682,7 @@ declare module Ext { /** [Method] Returns the size of the element * @param contentSize Boolean true to get the width/size minus borders and padding. */ - getSize?( contentSize?:bool ): any; + getSize?( contentSize?:boolean ): any; /** [Method] Normalizes currentStyle and computedStyle * @param prop String The style property whose value is returned. */ @@ -23182,17 +22692,17 @@ declare module Ext { /** [Method] Returns the value of the value attribute * @param asNumber Boolean true to parse the value as a number. */ - getValue?( asNumber?:bool ): string; + getValue?( asNumber?:boolean ): string; /** [Method] Returns the value of the value attribute * @param asNumber Boolean true to parse the value as a number. */ - getValue?( asNumber?:bool ): number; + getValue?( asNumber?:boolean ): number; /** [Method] Returns the dimensions of the element available to lay content out in */ getViewSize?(): any; /** [Method] Returns the offset width of the element * @param contentWidth Boolean true to get the width minus borders and padding. */ - getWidth?( contentWidth?:bool ): number; + getWidth?( contentWidth?:boolean ): number; /** [Method] Gets the current X position of the element based on page coordinates * @param el Object */ @@ -23206,11 +22716,11 @@ declare module Ext { /** [Method] Checks if the specified CSS class exists on this element s DOM node * @param name String The CSS class to check for. */ - hasCls?( name?:string ): bool; + hasCls?( name?:string ): boolean; /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Hides this element */ hide?(): void; /** [Method] Inserts this element after the passed element in the DOM @@ -23239,49 +22749,49 @@ declare module Ext { * @param html String The HTML fragment * @param returnEl Boolean true to return an Ext.dom.Element. */ - insertHtml?( where?:string, html?:string, returnEl?:bool ): HTMLElement; + insertHtml?( where?:string, html?:string, returnEl?:boolean ): HTMLElement; /** [Method] Inserts an HTML fragment into this element * @param where String Where to insert the HTML in relation to this element - 'beforeBegin', 'afterBegin', 'beforeEnd', 'afterEnd'. See Ext.DomHelper.insertHtml for details. * @param html String The HTML fragment * @param returnEl Boolean true to return an Ext.dom.Element. */ - insertHtml?( where?:string, html?:string, returnEl?:bool ): Ext.dom.IElement; + insertHtml?( where?:string, html?:string, returnEl?:boolean ): Ext.dom.IElement; /** [Method] Inserts or creates the passed element or DomHelper config as a sibling of this element * @param el String/HTMLElement/Ext.dom.Element/Object/Array The id, element to insert or a DomHelper config to create and insert or an array of any of those. * @param where String 'before' or 'after'. * @param returnDom Boolean true to return the raw DOM element instead of Ext.dom.Element. */ - insertSibling?( el?:any, where?:string, returnDom?:bool ): Ext.dom.IElement; + insertSibling?( el?:any, where?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Returns true if this element matches the passed simple selector e g * @param selector String The simple selector to test. */ - is?( selector?:string ): bool; + is?( selector?:string ): boolean; /** [Method] Determines if this element is a descendant of the passed in Element */ isDescendent?(): void; /** [Method] Checks if the current value of a style is equal to a given value * @param style String property whose value is returned. * @param value String to check against. */ - isStyle?( style?:string, value?:string ): bool; + isStyle?( style?:string, value?:string ): boolean; /** [Method] Returns true if the value of the given property is visually transparent * @param prop String The style property whose value is to be tested. */ - isTransparent?( prop?:string ): bool; + isTransparent?( prop?:string ): boolean; /** [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; + last?( selector?:string, returnDom?:boolean ): 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; + last?( selector?:string, returnDom?:boolean ): 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; + last?( selector?:string, returnDom?:boolean ): any; /** [Method] Puts a mask over this element to disable user interaction */ mask?(): void; /** [Method] Alias for addManagedListener @@ -23307,17 +22817,17 @@ 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 ): Ext.dom.IElement; + next?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [Method] Gets the next sibling 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. */ - next?( selector?:string, returnDom?:bool ): HTMLElement; + next?( selector?:string, returnDom?:boolean ): HTMLElement; /** [Method] Gets the next sibling 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. */ - next?( selector?:string, returnDom?:bool ): any; + next?( selector?:string, returnDom?:boolean ): 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. @@ -23348,32 +22858,32 @@ 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 ): Ext.dom.IElement; + parent?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [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. */ - parent?( selector?:string, returnDom?:bool ): HTMLElement; + parent?( selector?:string, returnDom?:boolean ): HTMLElement; /** [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. */ - parent?( selector?:string, returnDom?:bool ): any; + parent?( selector?:string, returnDom?:boolean ): 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 */ - prev?( selector?:string, returnDom?:bool ): Ext.dom.IElement; + prev?( selector?:string, returnDom?:boolean ): Ext.dom.IElement; /** [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 */ - prev?( selector?:string, returnDom?:bool ): HTMLElement; + prev?( selector?:string, returnDom?:boolean ): HTMLElement; /** [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 */ - prev?( selector?:string, returnDom?:bool ): any; + prev?( selector?:string, returnDom?:boolean ): 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 @@ -23459,7 +22969,7 @@ declare module Ext { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Serializes a DOM form into a url encoded string * @param form Object The form */ @@ -23468,7 +22978,7 @@ declare module Ext { * @param attributes Object The object with the attributes. * @param useSet Boolean false to override the default setAttribute to use expandos. */ - set?( attributes?:any, useSet?:bool ): Ext.dom.IElement; + set?( attributes?:any, useSet?:boolean ): Ext.dom.IElement; /** [Method] Sets the element s CSS bottom style * @param bottom String The bottom CSS property value. */ @@ -23566,7 +23076,7 @@ declare module Ext { /** [Method] Sets the visibility of the element see details * @param visible Boolean Whether the element is visible. */ - setVisible?( visible?:bool ): Ext.IElement; + setVisible?( visible?:boolean ): Ext.IElement; /** [Method] Set the width of this Element * @param width Number/String The new width. */ @@ -23653,62 +23163,99 @@ declare module Ext { * @param config Object DomHelper element config object for the wrapper element or null for an empty div * @param domNode Boolean true to return the raw DOM element instead of Ext.dom.Element. */ - wrap?( config?:any, domNode?:bool ): HTMLElement; + wrap?( config?:any, domNode?:boolean ): HTMLElement; /** [Method] Creates and wraps this element with another element * @param config Object DomHelper element config object for the wrapper element or null for an empty div * @param domNode Boolean true to return the raw DOM element instead of Ext.dom.Element. */ - wrap?( config?:any, domNode?:bool ): Ext.dom.IElement; + wrap?( config?:any, domNode?:boolean ): Ext.dom.IElement; + } + export class Element { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] + * @param args Object + */ + static callParent( args?:any ): void; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Gets the globally shared flyweight Element with the passed node as the active element * @param element String/HTMLElement The DOM node or id. * @param named String Allows for creation of named reusable flyweights to prevent conflicts (e.g. internally Ext uses "_global"). */ - fly?( element?:any, named?:any ): any; - fly?( element?:string, named?:string ): Ext.dom.IElement; - fly?( element?:HTMLElement, named?:string ): Ext.dom.IElement; + static fly( element?:any, named?:any ): any; + static fly( element?:string, named?:string ): Ext.dom.IElement; + static fly( element?:HTMLElement, named?:string ): Ext.dom.IElement; /** [Method] Returns the top Element that is located at the passed coordinates * @param x Number The x coordinate * @param y Number The y coordinate */ - fromPoint?( x?:number, y?:number ): string; + static fromPoint( x?:number, y?:number ): string; /** [Method] Retrieves Ext dom Element objects * @param element String/HTMLElement/Ext.Element The id of the node, a DOM Node or an existing Element. */ - get?( element?:any ): any; - get?( element?:string ): Ext.dom.IElement; - get?( element?:HTMLElement ): Ext.dom.IElement; - get?( element?:Ext.IElement ): Ext.dom.IElement; + static get( element?:any ): any; + static get( element?:string ): Ext.dom.IElement; + static get( element?:HTMLElement ): Ext.dom.IElement; + static get( element?:Ext.IElement ): Ext.dom.IElement; /** [Method] Retrieves the document height */ - getDocumentHeight?(): number; + static getDocumentHeight(): number; /** [Method] Retrieves the document width */ - getDocumentWidth?(): number; + static getDocumentWidth(): number; + /** [Method] Get the current class name in string format */ + static getName(): string; /** [Method] Retrieves the current orientation of the window */ - getOrientation?(): string; + static getOrientation(): string; + /** [Method] Retrieves the viewport size of the window */ + static getViewSize(): any; /** [Method] Retrieves the viewport height of the window */ - getViewportHeight?(): number; + static getViewportHeight(): number; /** [Method] Retrieves the viewport width of the window */ - getViewportWidth?(): number; + static getViewportWidth(): number; /** [Method] Normalizes CSS property keys from dash delimited to camel case JavaScript Syntax * @param prop String The property to normalize */ - normalize?( prop?:string ): string; + static normalize( prop?:string ): string; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; /** [Method] Parses a number or string representing margin sizes into an object * @param box Number/String The encoded margins */ - parseBox?( box?:any ): any; - parseBox?( box?:number ): any; - parseBox?( box?:string ): any; + static parseBox( box?:any ): any; + static parseBox( box?:number ): any; + static parseBox( box?:string ): any; /** [Method] Converts a CSS string into an object with a property for each style * @param styles String A CSS string */ - parseStyles?( styles?:string ): any; + static parseStyles( styles?:string ): any; + /** [Method] Selects elements based on the passed CSS selector to enable Element methods to be applied to many related elements in + * @param selector String/HTMLElement[] The CSS selector or an array of elements + * @param composite Boolean Return a CompositeElement as opposed to a CompositeElementLite. Defaults to false. + * @param root HTMLElement/String The root element of the query or id of the root + */ + static select( selector?:any, composite?:any, root?:any ): any; + static select( selector?:string, composite?:boolean, root?:HTMLElement ): Ext.dom.ICompositeElementLite; + static select( selector?:HTMLElement[], composite?:boolean, root?:HTMLElement ): Ext.dom.ICompositeElementLite; + static select( selector?:string, composite?:boolean, root?:string ): Ext.dom.ICompositeElementLite; + static select( selector?:HTMLElement[], composite?:boolean, root?:string ): Ext.dom.ICompositeElementLite; /** [Method] Parses a number or string representing margin sizes into an object * @param box Number/String The encoded margins * @param units String The type of units to add */ - unitizeBox?( box?:any, units?:any ): any; - unitizeBox?( box?:number, units?:string ): string; - unitizeBox?( box?:string, units?:string ): string; + static unitizeBox( box?:any, units?:any ): any; + static unitizeBox( box?:number, units?:string ): string; + static unitizeBox( box?:string, units?:string ): string; } } declare module Ext.dom { @@ -23718,9 +23265,9 @@ declare module Ext.dom { * @param selector String The simple selector to test */ is?( el?:any, selector?:any ): any; - is?( el?:string, selector?:string ): bool; - is?( el?:HTMLElement, selector?:string ): bool; - is?( el?:any[], selector?:string ): bool; + is?( el?:string, selector?:string ): boolean; + is?( el?:HTMLElement, selector?:string ): boolean; + is?( el?:any[], selector?:string ): boolean; /** [Method] Selects a group of elements * @param selector String The selector/xpath query (can be a comma separated list of selectors) * @param root HTMLElement/String The start of the query (defaults to document). @@ -23745,17 +23292,17 @@ declare module Ext { * @param returnElement Boolean true to return a Ext.Element */ append?( el?:any, o?:any, returnElement?:any ): any; - append?( el?:string, o?:any, returnElement?:bool ): HTMLElement; - append?( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - append?( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + append?( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + append?( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + append?( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and appends them to el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - append?( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - append?( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - append?( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + append?( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + append?( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + append?( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Applies a style specification to an element * @param el String/HTMLElement The element to apply styles to * @param styles String/Object/Function A style specification string e.g. 'width:100px', or object in the form {width:'100px'}, or a function which returns such a specification. @@ -23783,51 +23330,51 @@ declare module Ext { * @param returnElement Boolean true to return a Ext.Element */ insertAfter?( el?:any, o?:any, returnElement?:any ): any; - insertAfter?( el?:string, o?:any, returnElement?:bool ): HTMLElement; - insertAfter?( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - insertAfter?( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + insertAfter?( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + insertAfter?( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + insertAfter?( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and inserts them after el * @param el String/HTMLElement/Ext.Element The context element * @param o Object The DOM object spec (and children) * @param returnElement Boolean true to return a Ext.Element */ - insertAfter?( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - insertAfter?( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - insertAfter?( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + insertAfter?( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + insertAfter?( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + insertAfter?( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Creates new DOM element s and inserts them before el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ insertBefore?( el?:any, o?:any, returnElement?:any ): any; - insertBefore?( el?:string, o?:any, returnElement?:bool ): HTMLElement; - insertBefore?( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - insertBefore?( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + insertBefore?( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + insertBefore?( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + insertBefore?( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and inserts them before el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - insertBefore?( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - insertBefore?( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - insertBefore?( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + insertBefore?( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + insertBefore?( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + insertBefore?( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Creates new DOM element s and inserts them as the first child of el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ insertFirst?( el?:any, o?:any, returnElement?:any ): any; - insertFirst?( el?:string, o?:any, returnElement?:bool ): HTMLElement; - insertFirst?( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - insertFirst?( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + insertFirst?( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + insertFirst?( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + insertFirst?( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and inserts them as the first child of el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - insertFirst?( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - insertFirst?( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - insertFirst?( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + insertFirst?( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + insertFirst?( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + insertFirst?( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Inserts an HTML fragment into the DOM * @param where String Where to insert the html in relation to el - beforeBegin, afterBegin, beforeEnd, afterEnd. For example take the following HTML: <div>Contents</div> Using different where values inserts element to the following places: beforeBegin: <HERE><div>Contents</div> afterBegin: <div><HERE>Contents</div> beforeEnd: <div>Contents<HERE></div> afterEnd: <div>Contents</div><HERE> * @param el HTMLElement/TextNode The context element @@ -23846,17 +23393,17 @@ declare module Ext { * @param returnElement Boolean true to return a Ext.Element */ overwrite?( el?:any, o?:any, returnElement?:any ): any; - overwrite?( el?:string, o?:any, returnElement?:bool ): HTMLElement; - overwrite?( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - overwrite?( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + overwrite?( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + overwrite?( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + overwrite?( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and overwrites the contents of el with them * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - overwrite?( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - overwrite?( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - overwrite?( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + overwrite?( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + overwrite?( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + overwrite?( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; } } declare module Ext.dom { @@ -23867,17 +23414,17 @@ declare module Ext.dom { * @param returnElement Boolean true to return a Ext.Element */ append?( el?:any, o?:any, returnElement?:any ): any; - append?( el?:string, o?:any, returnElement?:bool ): HTMLElement; - append?( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - append?( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + append?( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + append?( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + append?( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and appends them to el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - append?( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - append?( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - append?( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + append?( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + append?( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + append?( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Applies a style specification to an element * @param el String/HTMLElement The element to apply styles to * @param styles String/Object/Function A style specification string e.g. 'width:100px', or object in the form {width:'100px'}, or a function which returns such a specification. @@ -23905,51 +23452,51 @@ declare module Ext.dom { * @param returnElement Boolean true to return a Ext.Element */ insertAfter?( el?:any, o?:any, returnElement?:any ): any; - insertAfter?( el?:string, o?:any, returnElement?:bool ): HTMLElement; - insertAfter?( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - insertAfter?( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + insertAfter?( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + insertAfter?( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + insertAfter?( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and inserts them after el * @param el String/HTMLElement/Ext.Element The context element * @param o Object The DOM object spec (and children) * @param returnElement Boolean true to return a Ext.Element */ - insertAfter?( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - insertAfter?( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - insertAfter?( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + insertAfter?( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + insertAfter?( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + insertAfter?( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Creates new DOM element s and inserts them before el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ insertBefore?( el?:any, o?:any, returnElement?:any ): any; - insertBefore?( el?:string, o?:any, returnElement?:bool ): HTMLElement; - insertBefore?( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - insertBefore?( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + insertBefore?( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + insertBefore?( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + insertBefore?( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and inserts them before el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - insertBefore?( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - insertBefore?( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - insertBefore?( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + insertBefore?( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + insertBefore?( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + insertBefore?( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Creates new DOM element s and inserts them as the first child of el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ insertFirst?( el?:any, o?:any, returnElement?:any ): any; - insertFirst?( el?:string, o?:any, returnElement?:bool ): HTMLElement; - insertFirst?( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - insertFirst?( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + insertFirst?( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + insertFirst?( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + insertFirst?( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and inserts them as the first child of el * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - insertFirst?( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - insertFirst?( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - insertFirst?( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + insertFirst?( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + insertFirst?( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + insertFirst?( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Inserts an HTML fragment into the DOM * @param where String Where to insert the html in relation to el - beforeBegin, afterBegin, beforeEnd, afterEnd. For example take the following HTML: <div>Contents</div> Using different where values inserts element to the following places: beforeBegin: <HERE><div>Contents</div> afterBegin: <div><HERE>Contents</div> beforeEnd: <div>Contents<HERE></div> afterEnd: <div>Contents</div><HERE> * @param el HTMLElement/TextNode The context element @@ -23968,17 +23515,17 @@ declare module Ext.dom { * @param returnElement Boolean true to return a Ext.Element */ overwrite?( el?:any, o?:any, returnElement?:any ): any; - overwrite?( el?:string, o?:any, returnElement?:bool ): HTMLElement; - overwrite?( el?:HTMLElement, o?:any, returnElement?:bool ): HTMLElement; - overwrite?( el?:Ext.IElement, o?:any, returnElement?:bool ): HTMLElement; + overwrite?( el?:string, o?:any, returnElement?:boolean ): HTMLElement; + overwrite?( el?:HTMLElement, o?:any, returnElement?:boolean ): HTMLElement; + overwrite?( el?:Ext.IElement, o?:any, returnElement?:boolean ): HTMLElement; /** [Method] Creates new DOM element s and overwrites the contents of el with them * @param el String/HTMLElement/Ext.Element The context element * @param o Object/String The DOM object spec (and children) or raw HTML blob * @param returnElement Boolean true to return a Ext.Element */ - overwrite?( el?:string, o?:any, returnElement?:bool ): Ext.IElement; - overwrite?( el?:HTMLElement, o?:any, returnElement?:bool ): Ext.IElement; - overwrite?( el?:Ext.IElement, o?:any, returnElement?:bool ): Ext.IElement; + overwrite?( el?:string, o?:any, returnElement?:boolean ): Ext.IElement; + overwrite?( el?:HTMLElement, o?:any, returnElement?:boolean ): Ext.IElement; + overwrite?( el?:Ext.IElement, o?:any, returnElement?:boolean ): Ext.IElement; } } declare module Ext { @@ -24015,9 +23562,9 @@ declare module Ext { * @param selector String The simple selector to test */ static is( el?:any, selector?:any ): any; - static is( el?:string, selector?:string ): bool; - static is( el?:HTMLElement, selector?:string ): bool; - static is( el?:any[], selector?:string ): bool; + static is( el?:string, selector?:string ): boolean; + static is( el?:HTMLElement, selector?:string ): boolean; + static is( el?:any[], selector?:string ): boolean; /** [Method] Selects a group of elements * @param selector String The selector/xpath query (can be a comma separated list of selectors) * @param root HTMLElement/String The start of the query (defaults to document). @@ -24034,27 +23581,6 @@ declare module Ext { static selectNode( selector?:string, root?:string ): HTMLElement; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.core { @@ -24091,9 +23617,9 @@ declare module Ext.core { * @param selector String The simple selector to test */ static is( el?:any, selector?:any ): any; - static is( el?:string, selector?:string ): bool; - static is( el?:HTMLElement, selector?:string ): bool; - static is( el?:any[], selector?:string ): bool; + static is( el?:string, selector?:string ): boolean; + static is( el?:HTMLElement, selector?:string ): boolean; + static is( el?:any[], selector?:string ): boolean; /** [Method] Selects a group of elements * @param selector String The selector/xpath query (can be a comma separated list of selectors) * @param root HTMLElement/String The start of the query (defaults to document). @@ -24110,27 +23636,6 @@ declare module Ext.core { static selectNode( selector?:string, root?:string ): HTMLElement; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.draw { @@ -24170,11 +23675,11 @@ declare module Ext.draw { /** [Method] Returns true or false whether it contains the given animation or not * @param animation Object The animation to check for. */ - static contains( animation?:any ): bool; + static contains( animation?:any ): boolean; /** [Method] */ static destroy(): void; /** [Method] Returns true or false whether the pool is empty or not */ - static empty(): bool; + static empty(): boolean; /** [Method] Returns the initial configuration passed to constructor * @param name String When supplied, value for particular configuration option is returned, otherwise the full config object is returned. */ @@ -24202,27 +23707,6 @@ declare module Ext.draw { * @param frameTime Number The frame's start time, in milliseconds. */ static step( frameTime?:number ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.draw { @@ -24261,62 +23745,87 @@ declare module Ext.draw { toHex?( color?:any[] ): string; /** [Method] Return the color in the hex format i e */ toString?(): string; + } + export class Color { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] + * @param args Object + */ + static callParent( args?:any ): void; /** [Method] Convenience method for creating a color * @param red Ext.draw.Color/String/Number[]/Number Red component (0..255), CSS color string or array of all components. * @param green Number Green component (0..255) * @param blue Number Blue component (0..255) * @param alpha Number Alpha component (0..1) */ - create?( red?:any, green?:any, blue?:any, alpha?:any ): any; - create?( red?:Ext.draw.IColor, green?:number, blue?:number, alpha?:number ): Ext.draw.IColor; - create?( red?:string, green?:number, blue?:number, alpha?:number ): Ext.draw.IColor; - create?( red?:number[], green?:number, blue?:number, alpha?:number ): Ext.draw.IColor; - create?( red?:number, green?:number, blue?:number, alpha?:number ): Ext.draw.IColor; + static create( red?:any, green?:any, blue?:any, alpha?:any ): any; + static create( red?:Ext.draw.IColor, green?:number, blue?:number, alpha?:number ): Ext.draw.IColor; + static create( red?:string, green?:number, blue?:number, alpha?:number ): Ext.draw.IColor; + static create( red?:number[], green?:number, blue?:number, alpha?:number ): Ext.draw.IColor; + static create( red?:number, green?:number, blue?:number, alpha?:number ): Ext.draw.IColor; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Returns a flyweight instance of Ext draw Color * @param red Number/String Red component (0..255) or CSS color string. * @param green Number Green component (0..255) * @param blue Number Blue component (0..255) * @param alpha Number Alpha component (0..1) */ - fly?( red?:any, green?:any, blue?:any, alpha?:any ): any; - fly?( red?:number, green?:number, blue?:number, alpha?:number ): Ext.draw.IColor; - fly?( red?:string, green?:number, blue?:number, alpha?:number ): Ext.draw.IColor; + static fly( red?:any, green?:any, blue?:any, alpha?:any ): any; + static fly( red?:number, green?:number, blue?:number, alpha?:number ): Ext.draw.IColor; + static fly( red?:string, green?:number, blue?:number, alpha?:number ): Ext.draw.IColor; /** [Method] Create a new color based on the specified HSL values * @param h Number Hue component (0..359) * @param s Number Saturation component (0..1) * @param l Number Lightness component (0..1) */ - fromHSL?( h?:number, s?:number, l?:number ): Ext.draw.IColor; + static fromHSL( h?:number, s?:number, l?:number ): Ext.draw.IColor; /** [Method] Parse the string and create a new color * @param string String Color in string. */ - fromString?( string?:string ): Ext.draw.IColor; + static fromString( string?:string ): Ext.draw.IColor; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext.draw { export interface IComponent extends Ext.IContainer { /** [Config Option] (Boolean) */ - autoSize?: bool; + autoSize?: boolean; /** [Config Option] (String/String[]) */ cls?: any; /** [Config Option] (String) */ defaultType?: string; /** [Config Option] (Boolean) */ - fitSurface?: bool; + fitSurface?: boolean; /** [Config Option] (Function) */ resizeHandler?: any; /** [Config Option] (Boolean) */ - viewBox?: bool; + viewBox?: boolean; /** [Method] */ destroy?(): void; /** [Method] Returns the value of autoSize */ - getAutoSize?(): bool; + getAutoSize?(): boolean; /** [Method] Returns the value of background */ getBackground?(): any; /** [Method] Returns the value of cls */ getCls?(): string; /** [Method] Returns the value of fitSurface */ - getFitSurface?(): bool; + getFitSurface?(): boolean; /** [Method] Returns the value of resizeHandler */ getResizeHandler?(): any; /** [Method] Returns the value of sprites */ @@ -24326,7 +23835,7 @@ declare module Ext.draw { */ getSurface?( id?:string ): Ext.draw.ISurface; /** [Method] Returns the value of viewBox */ - getViewBox?(): bool; + getViewBox?(): boolean; /** [Method] Allows addition of behavior to the rendering phase */ initialize?(): void; /** [Method] Place water mark after resize */ @@ -24336,7 +23845,7 @@ declare module Ext.draw { /** [Method] Sets the value of autoSize * @param autoSize Boolean */ - setAutoSize?( autoSize?:bool ): void; + setAutoSize?( autoSize?:boolean ): void; /** [Method] Sets the value of background * @param background Object */ @@ -24348,7 +23857,7 @@ declare module Ext.draw { /** [Method] Sets the value of fitSurface * @param fitSurface Boolean */ - setFitSurface?( fitSurface?:bool ): void; + setFitSurface?( fitSurface?:boolean ): void; /** [Method] Sets the value of resizeHandler * @param resizeHandler Function */ @@ -24360,7 +23869,7 @@ declare module Ext.draw { /** [Method] Sets the value of viewBox * @param viewBox Boolean */ - setViewBox?( viewBox?:bool ): void; + setViewBox?( viewBox?:boolean ): void; } } declare module Ext.draw { @@ -24401,7 +23910,7 @@ declare module Ext.draw { * @param bbox2 Object * @param padding Object */ - static isBBoxIntersect( bbox1?:any, bbox2?:any, padding?:any ): bool; + static isBBoxIntersect( bbox1?:any, bbox2?:any, padding?:any ): boolean; /** [Method] Converting degrees to radians * @param degrees Number */ @@ -24416,33 +23925,12 @@ declare module Ext.draw { static spline( points?:any[] ): void; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.draw.engine { export interface ICanvas extends Ext.draw.ISurface { /** [Config Option] (Boolean) */ - highPrecision?: bool; + highPrecision?: boolean; /** [Method] Empty the surface content without touching the sprites */ clear?(): void; /** [Method] Clears the current transformation state on the surface */ @@ -24450,19 +23938,19 @@ declare module Ext.draw.engine { /** [Method] Destroys the Canvas element and prepares it for Garbage Collection */ destroy?(): void; /** [Method] Returns the value of highPrecision */ - getHighPrecision?(): bool; + getHighPrecision?(): boolean; /** [Method] Initialize the canvas element */ initElement?(): void; /** [Method] Sets the value of highPrecision * @param highPrecision Boolean */ - setHighPrecision?( highPrecision?:bool ): void; + setHighPrecision?( highPrecision?:boolean ): void; } } declare module Ext.draw.engine { export interface ISvg extends Ext.draw.ISurface { /** [Config Option] (Boolean) */ - highPrecision?: bool; + highPrecision?: boolean; /** [Method] Empty the surface content without touching the sprites */ clear?(): void; /** [Method] Clears the current transformation state on the surface */ @@ -24478,7 +23966,7 @@ declare module Ext.draw.engine { */ destroy?( path?:any, matrix?:any, band?:any ): void; /** [Method] Returns the value of highPrecision */ - getHighPrecision?(): bool; + getHighPrecision?(): boolean; /** [Method] Remove a given sprite from the surface optionally destroying the sprite in the process * @param sprite Object * @param destroySprite Object @@ -24487,11 +23975,11 @@ declare module Ext.draw.engine { /** [Method] Renders a single sprite into the surface * @param sprite Ext.draw.sprite.Sprite The Sprite to be rendered. */ - renderSprite?( sprite?:Ext.draw.sprite.ISprite ): bool; + renderSprite?( sprite?:Ext.draw.sprite.ISprite ): boolean; /** [Method] Sets the value of highPrecision * @param highPrecision Boolean */ - setHighPrecision?( highPrecision?:bool ): void; + setHighPrecision?( highPrecision?:boolean ): void; } } declare module Ext.draw.engine.svgcontext { @@ -24601,7 +24089,7 @@ declare module Ext.draw.engine { * @param attr Object The attribute object * @param transformFillStroke Boolean Indicate whether to transform fill and stroke. If this is not given, then uses `attr.transformFillStroke` instead. */ - fillStroke?( attr?:any, transformFillStroke?:bool ): void; + fillStroke?( attr?:any, transformFillStroke?:boolean ): void; /** [Method] Fills the given text at the given position * @param text Object * @param x Object @@ -24768,7 +24256,7 @@ declare module Ext.draw { /** [Method] Clear the group * @param destroySprite Boolean */ - clear?( destroySprite?:bool ): void; + clear?( destroySprite?:boolean ): void; /** [Method] Removes all listeners for this object */ clearListeners?(): void; /** [Method] Destroy the group and remove it from surface */ @@ -24794,7 +24282,7 @@ declare module Ext.draw { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Get the sprite with id or index * @param id String|Number */ @@ -24820,11 +24308,11 @@ declare module Ext.draw { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Hide all sprites in the group * @param o Boolean Whether to re-render the frame. */ - hide?( o?:bool ): void; + hide?( o?:boolean ): void; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -24879,7 +24367,7 @@ declare module Ext.draw { * @param sprite Ext.draw.sprite.Sprite * @param destroySprite Boolean */ - remove?( sprite?:Ext.draw.sprite.ISprite, destroySprite?:bool ): void; + remove?( sprite?:Ext.draw.sprite.ISprite, destroySprite?:boolean ): void; /** [Method] Removes a before event handler * @param eventName String/String[]/Object The name of the event the handler was associated with. * @param fn Function/String The handler to remove. @@ -24918,7 +24406,7 @@ declare module Ext.draw { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Set attributes to all sprites in the group * @param o Object Sprite attribute options just like in Ext.draw.sprite.Sprite. */ @@ -24942,7 +24430,7 @@ declare module Ext.draw { /** [Method] Display all sprites in the group * @param o Boolean Whether to re-render the frame. */ - show?( o?:bool ): void; + show?( o?:boolean ): void; /** [Method] Suspends the firing of all events */ suspendEvents?(): void; /** [Method] Alias for removeListener @@ -25030,7 +24518,7 @@ declare module Ext.draw { /** [Method] Determines if this matrix has the same values as another matrix * @param matrix Ext.draw.Matrix */ - equals?( matrix?:Ext.draw.IMatrix ): bool; + equals?( matrix?:Ext.draw.IMatrix ): boolean; /** [Method] Horizontally flip the matrix */ flipX?(): Ext.draw.IMatrix; /** [Method] Vertically flip the matrix */ @@ -25056,7 +24544,7 @@ declare module Ext.draw { */ inverse?( target?:Ext.draw.IMatrix ): Ext.draw.IMatrix; /** [Method] Determines whether this matrix is an identity matrix no transform */ - isIdentity?(): bool; + isIdentity?(): boolean; /** [Method] Postpend a matrix onto the current * @param matrix Ext.draw.Matrix */ @@ -25083,16 +24571,16 @@ declare module Ext.draw { * @param prepend Boolean If true, this will transformation be prepended to the matrix. */ 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?: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; + rotate?( angle?:number, rcx?:number, rcy?:number, prepend?:boolean ): Ext.draw.IMatrix; + rotate?( angle?:number, rcx?:any, rcy?:number, prepend?:boolean ): Ext.draw.IMatrix; + rotate?( angle?:number, rcx?:number, rcy?:any, prepend?:boolean ): Ext.draw.IMatrix; + rotate?( angle?:number, rcx?:any, rcy?:any, prepend?:boolean ): Ext.draw.IMatrix; /** [Method] Rotate the matrix by the angle of a vector * @param x Number * @param y Number * @param prepend Boolean If true, this will transformation be prepended to the matrix. */ - rotateFromVector?( x?:number, y?:number, prepend?:bool ): Ext.draw.IMatrix; + rotateFromVector?( x?:number, y?:number, prepend?:boolean ): Ext.draw.IMatrix; /** [Method] Scale the matrix * @param sx Number * @param sy Number @@ -25100,7 +24588,7 @@ declare module Ext.draw { * @param scy Number * @param prepend Boolean If true, this will transformation be prepended to the matrix. */ - scale?( sx?:number, sy?:number, scx?:number, scy?:number, prepend?:bool ): Ext.draw.IMatrix; + scale?( sx?:number, sy?:number, scx?:number, scy?:number, prepend?:boolean ): Ext.draw.IMatrix; /** [Method] Set the elements of a Matrix * @param xx Number * @param xy Number @@ -25153,7 +24641,7 @@ declare module Ext.draw { * @param y Number * @param prepend Boolean If true, this will transformation be prepended to the matrix. */ - translate?( x?:number, y?:number, prepend?:bool ): Ext.draw.IMatrix; + translate?( x?:number, y?:number, prepend?:boolean ): Ext.draw.IMatrix; /** [Method] Transform point returning the x component of the result * @param x Number * @param y Number @@ -25164,10 +24652,24 @@ declare module Ext.draw { * @param y Number */ y?( x?:number, y?:number ): number; + } + export class Matrix { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] + * @param args Object + */ + static callParent( args?:any ): void; /** [Method] Create a matrix from mat * @param mat Mixed */ - create?( mat?:any ): Ext.draw.IMatrix; + static create( mat?:any ): Ext.draw.IMatrix; /** [Method] Return the affine matrix that transform two points x0 y0 and x1 y1 to x0p y0p and x1p y1p * @param x0 Object * @param y0 Object @@ -25178,7 +24680,12 @@ declare module Ext.draw { * @param x1p Object * @param y1p Object */ - createAffineMatrixFromTwoPair?( x0?:any, y0?:any, x1?:any, y1?:any, x0p?:any, y0p?:any, x1p?:any, y1p?:any ): void; + static createAffineMatrixFromTwoPair( x0?:any, y0?:any, x1?:any, y1?:any, x0p?:any, y0p?:any, x1p?:any, y1p?:any ): void; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Return the affine matrix that transform two points x0 y0 and x1 y1 to x0p y0p and x1p y1p * @param x0 Object * @param y0 Object @@ -25189,11 +24696,17 @@ declare module Ext.draw { * @param x1p Object * @param y1p Object */ - createPanZoomFromTwoPair?( x0?:any, y0?:any, x1?:any, y1?:any, x0p?:any, y0p?:any, x1p?:any, y1p?:any ): void; + static createPanZoomFromTwoPair( x0?:any, y0?:any, x1?:any, y1?:any, x0p?:any, y0p?:any, x1p?:any, y1p?:any ): void; /** [Method] Create a flyweight to wrap the given array * @param elements Array */ - fly?( elements?:any[] ): Ext.draw.IMatrix; + static fly( elements?:any[] ): Ext.draw.IMatrix; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext.draw.modifier { @@ -25275,7 +24788,7 @@ declare module Ext.draw.modifier { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -25293,7 +24806,7 @@ declare module Ext.draw.modifier { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -25396,7 +24909,7 @@ declare module Ext.draw.modifier { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -25468,7 +24981,7 @@ declare module Ext.draw.modifier { declare module Ext.draw.modifier { export interface IHighlight extends Ext.draw.modifier.IModifier { /** [Config Option] (Boolean) */ - enabled?: bool; + enabled?: boolean; /** [Config Option] (Object) */ highlightStyle?: any; /** [Method] Filter modifier changes if overriding source attributes @@ -25477,7 +24990,7 @@ declare module Ext.draw.modifier { */ filterChanges?( attr?:any, changes?:any ): any; /** [Method] Returns the value of enabled */ - getEnabled?(): bool; + getEnabled?(): boolean; /** [Method] Returns the value of highlightStyle */ getHighlightStyle?(): any; /** [Method] Invoked when changes need to be popped up to the top @@ -25497,7 +25010,7 @@ declare module Ext.draw.modifier { /** [Method] Sets the value of enabled * @param enabled Boolean */ - setEnabled?( enabled?:bool ): void; + setEnabled?( enabled?:boolean ): void; /** [Method] Sets the value of highlightStyle * @param highlightStyle Object */ @@ -25642,7 +25155,7 @@ declare module Ext.draw { * @param x Object * @param y Object */ - isPointInPath?( x?:any, y?:any ): bool; + isPointInPath?( x?:any, y?:any ): boolean; /** [Method] A straight line to a position * @param x Number * @param y Number @@ -25756,27 +25269,6 @@ declare module Ext.draw { static quadraticFunction( a?:any, b?:any, c?:any ): void; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.draw.sprite { @@ -25810,33 +25302,12 @@ declare module Ext.draw.sprite { static initConfig( instanceConfig?:any ): any; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.draw.sprite { export interface IArc extends Ext.draw.sprite.ICircle { /** [Config Option] (Boolean) */ - anticlockwise?: bool; + anticlockwise?: boolean; /** [Config Option] (Number) */ endAngle?: number; /** [Config Option] (Number) */ @@ -25929,27 +25400,6 @@ declare module Ext.draw.sprite { static initConfig( instanceConfig?:any ): any; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.draw.sprite { @@ -26023,7 +25473,7 @@ declare module Ext.draw.sprite { declare module Ext.draw.sprite { export interface IEllipticalArc extends Ext.draw.sprite.IEllipse { /** [Config Option] (Boolean) */ - anticlockwise?: bool; + anticlockwise?: boolean; /** [Config Option] (Number) */ endAngle?: number; /** [Config Option] (Number) */ @@ -26056,7 +25506,7 @@ declare module Ext.draw.sprite { * @param bypassNormalization Boolean 'true' to bypass attribute normalization. * @param avoidCopy Boolean 'true' to avoid copying. */ - createInstance?( config?:any, data?:any, bypassNormalization?:bool, avoidCopy?:bool ): any; + createInstance?( config?:any, data?:any, bypassNormalization?:boolean, avoidCopy?:boolean ): any; /** [Method] Removes the sprite and clears all listeners */ destroy?(): void; /** [Method] Not supported */ @@ -26065,7 +25515,7 @@ declare module Ext.draw.sprite { * @param index Number The index of the instance. * @param isWithoutTransform Boolean 'true' to not apply sprite transforms to the bounding box. */ - getBBoxFor?( index?:number, isWithoutTransform?:bool ): any; + getBBoxFor?( index?:number, isWithoutTransform?:boolean ): any; /** [Method] Returns the value of template */ getTemplate?(): any; /** [Method] Render method @@ -26080,7 +25530,7 @@ declare module Ext.draw.sprite { * @param changes Object the attributes to change * @param bypassNormalization Boolean 'true' to avoid attribute normalization */ - setAttributesFor?( index?:number, changes?:any, bypassNormalization?:bool ): void; + setAttributesFor?( index?:number, changes?:any, bypassNormalization?:boolean ): void; /** [Method] Sets the value of template * @param template Object */ @@ -26171,7 +25621,7 @@ declare module Ext.draw.sprite { /** [Config Option] (Number) */ globalAlpha?: number; /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (String) */ lineCap?: string; /** [Config Option] (String) */ @@ -26207,7 +25657,7 @@ declare module Ext.draw.sprite { /** [Config Option] (String) */ strokeStyle?: string; /** [Config Option] (Boolean) */ - transformFillStroke?: bool; + transformFillStroke?: boolean; /** [Config Option] (Number) */ translationX?: number; /** [Config Option] (Number) */ @@ -26277,15 +25727,15 @@ declare module Ext.draw.sprite { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the bounding box for the given Sprite as calculated with the Canvas engine * @param isWithoutTransform Boolean Whether to calculate the bounding box with the current transforms or not. */ - getBBox?( isWithoutTransform?:bool ): void; + getBBox?( isWithoutTransform?:boolean ): void; /** [Method] Subclass can rewrite this function to gain better performance * @param isWithoutTransform Boolean */ - getBBoxCenter?( isWithoutTransform?:bool ): any[]; + getBBoxCenter?( isWithoutTransform?:boolean ): any[]; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -26297,7 +25747,7 @@ declare module Ext.draw.sprite { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Hide the sprite */ hide?(): Ext.draw.sprite.ISprite; /** [Method] Alias for addManagedListener @@ -26396,18 +25846,18 @@ declare module Ext.draw.sprite { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Set attributes of the sprite * @param changes Object The content of the change. * @param bypassNormalization Boolean true to avoid normalization of the given changes. * @param avoidCopy Boolean true to avoid copying the changes object. The content of object may be destroyed. */ - setAttributes?( changes?:any, bypassNormalization?:bool, avoidCopy?:bool ): void; + setAttributes?( changes?:any, bypassNormalization?:boolean, avoidCopy?:boolean ): void; /** [Method] Set attributes of the sprite assuming the names and values have already been normalized * @param changes Object The content of the change. * @param avoidCopy Boolean true to avoid copying the changes object. The content of object may be destroyed. */ - setAttributesBypassingNormalization?( changes?:any, avoidCopy?:bool ): void; + setAttributesBypassingNormalization?( changes?:any, avoidCopy?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -26503,7 +25953,7 @@ declare module Ext.draw { /** [Config Option] (Object) */ background?: any; /** [Config Option] (Boolean) */ - dirty?: bool; + dirty?: boolean; /** [Config Option] (Array) */ groups?: any[]; /** [Config Option] (Ext.draw.Group) */ @@ -26526,7 +25976,7 @@ declare module Ext.draw { /** [Method] Returns the value of background */ getBackground?(): any; /** [Method] Returns true if the surface is dirty */ - getDirty?(): bool; + getDirty?(): boolean; /** [Method] * @param id String The unique identifier of the group. */ @@ -26545,7 +25995,7 @@ declare module Ext.draw { * @param sprite Ext.draw.sprite.Sprite * @param destroySprite Boolean */ - remove?( sprite?:Ext.draw.sprite.ISprite, destroySprite?:bool ): void; + remove?( sprite?:Ext.draw.sprite.ISprite, destroySprite?:boolean ): void; /** [Method] Remove all sprites from the surface optionally destroying the sprites in the process */ removeAll?(): void; /** [Method] Triggers the re rendering of the canvas */ @@ -26578,10 +26028,37 @@ declare module Ext.draw { * @param surface Object The surface to wait for. */ waitFor?( surface?:any ): void; + } + export class Surface { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] + * @param args Object + */ + static callParent( args?:any ): void; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; /** [Method] Stably sort the list of sprites by their zIndex * @param list Object */ - stableSort?( list?:any ): void; + static stableSort( list?:any ): void; } } declare module Ext.draw { @@ -26625,27 +26102,6 @@ declare module Ext.draw { static measureTextSingleLine( text?:string, font?:string ): any; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.draw { @@ -26679,27 +26135,6 @@ declare module Ext.draw { static initConfig( instanceConfig?:any ): any; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.env { @@ -26709,9 +26144,9 @@ declare module Ext.env { /** [Property] (Ext.Version) */ engineVersion?: Ext.IVersion; /** [Property] (Boolean) */ - isSecure?: bool; + isSecure?: boolean; /** [Property] (Boolean) */ - isStrict?: bool; + isStrict?: boolean; /** [Property] (String) */ name?: string; /** [Property] (String) */ @@ -26721,7 +26156,7 @@ declare module Ext.env { /** [Method] A hybrid property can be either accessed as a method call for example if Ext browser is IE * @param value String The OS name to check. */ - is?( value?:string ): bool; + is?( value?:string ): boolean; } } declare module Ext.env { @@ -26737,7 +26172,7 @@ declare module Ext.env { /** [Method] A hybrid property can be either accessed as a method call i e if Ext os is Android * @param value String The OS name to check. */ - is?( value?:string ): bool; + is?( value?:string ): boolean; } } declare module Ext.event { @@ -26774,8 +26209,8 @@ declare module Ext.event { * @param returnEl Boolean true to return a Ext.Element object instead of DOM node. */ getTarget?( selector?:any, maxDepth?:any, returnEl?:any ): any; - getTarget?( selector?:string, maxDepth?:number, returnEl?:bool ): HTMLElement; - getTarget?( selector?:string, maxDepth?:any, returnEl?:bool ): HTMLElement; + getTarget?( selector?:string, maxDepth?:number, returnEl?:boolean ): HTMLElement; + getTarget?( selector?:string, maxDepth?:any, returnEl?:boolean ): HTMLElement; /** [Method] Returns the time of the event */ getTime?(): any; /** [Method] Gets the X and Y coordinates of the event */ @@ -27053,7 +26488,7 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -27063,7 +26498,7 @@ declare module Ext { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -27152,7 +26587,7 @@ declare module Ext { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -27256,7 +26691,7 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -27266,7 +26701,7 @@ declare module Ext { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -27355,7 +26790,7 @@ declare module Ext { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -27427,7 +26862,7 @@ declare module Ext { * @param scope Object The scope (this reference) in which the handler function executes. Defaults to the browser window. * @param options Boolean Options object as passed to Ext.Element.addListener */ - static onWindowResize( fn?:any, scope?:any, options?:bool ): void; + static onWindowResize( fn?:any, scope?:any, options?:boolean ): void; /** [Method] Removes all event handers from an element * @param el String/HTMLElement The id or html element from which to remove all event handlers. */ @@ -27482,40 +26917,19 @@ declare module Ext { /** [Method] Verifies if a browser feature exists or not on the current device * @param value String The feature name to check. */ - static has( value?:string ): bool; + static has( value?:string ): boolean; /** [Method] Initialize configuration for this class * @param instanceConfig Object */ static initConfig( instanceConfig?:any ): any; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.field { export interface ICheckbox extends Ext.field.IField { /** [Config Option] (Boolean) */ - checked?: bool; + checked?: boolean; /** [Config Option] (Object) */ component?: any; /** [Config Option] (String) */ @@ -27535,7 +26949,7 @@ declare module Ext.field { /** [Method] Returns an array of values from the checkboxes in the group that are checked */ getGroupValues?(): any[]; /** [Method] Returns the submit value for the checkbox which can be used when submitting forms */ - getSubmitValue?(): bool; + getSubmitValue?(): boolean; /** [Method] Returns the submit value for the checkbox which can be used when submitting forms */ getSubmitValue?(): string; /** [Method] Returns the value of ui */ @@ -27543,7 +26957,7 @@ declare module Ext.field { /** [Method] Returns the value of value */ getValue?(): string; /** [Method] Returns the checked state of the checkbox */ - isChecked?(): bool; + isChecked?(): boolean; /** [Method] Resets the current field value back to the original value on this field when it was created */ reset?(): Ext.field.IField; /** [Method] Resets the status of all matched checkboxes in the same group to checked */ @@ -27571,7 +26985,7 @@ declare module Ext.field { declare module Ext.form { export interface ICheckbox extends Ext.field.IField { /** [Config Option] (Boolean) */ - checked?: bool; + checked?: boolean; /** [Config Option] (Object) */ component?: any; /** [Config Option] (String) */ @@ -27591,7 +27005,7 @@ declare module Ext.form { /** [Method] Returns an array of values from the checkboxes in the group that are checked */ getGroupValues?(): any[]; /** [Method] Returns the submit value for the checkbox which can be used when submitting forms */ - getSubmitValue?(): bool; + getSubmitValue?(): boolean; /** [Method] Returns the submit value for the checkbox which can be used when submitting forms */ getSubmitValue?(): string; /** [Method] Returns the value of ui */ @@ -27599,7 +27013,7 @@ declare module Ext.form { /** [Method] Returns the value of value */ getValue?(): string; /** [Method] Returns the checked state of the checkbox */ - isChecked?(): bool; + isChecked?(): boolean; /** [Method] Resets the current field value back to the original value on this field when it was created */ reset?(): Ext.field.IField; /** [Method] Resets the status of all matched checkboxes in the same group to checked */ @@ -27629,7 +27043,7 @@ declare module Ext.field { /** [Config Option] (String) */ dateFormat?: string; /** [Config Option] (Boolean) */ - destroyPickerOnHide?: bool; + destroyPickerOnHide?: boolean; /** [Config Option] (Object/Ext.picker.Date) */ picker?: any; /** [Config Option] (String) */ @@ -27641,7 +27055,7 @@ declare module Ext.field { /** [Method] */ getDatePicker?(): void; /** [Method] Returns the value of destroyPickerOnHide */ - getDestroyPickerOnHide?(): bool; + getDestroyPickerOnHide?(): boolean; /** [Method] Returns the value of the field formatted using the specified format * @param format String The format to be returned. */ @@ -27661,7 +27075,7 @@ declare module Ext.field { /** [Method] Sets the value of destroyPickerOnHide * @param destroyPickerOnHide Boolean */ - setDestroyPickerOnHide?( destroyPickerOnHide?:bool ): void; + setDestroyPickerOnHide?( destroyPickerOnHide?:boolean ): void; /** [Method] Sets the value of picker * @param picker Object/Ext.picker.Date */ @@ -27681,7 +27095,7 @@ declare module Ext.form { /** [Config Option] (String) */ dateFormat?: string; /** [Config Option] (Boolean) */ - destroyPickerOnHide?: bool; + destroyPickerOnHide?: boolean; /** [Config Option] (Object/Ext.picker.Date) */ picker?: any; /** [Config Option] (String) */ @@ -27693,7 +27107,7 @@ declare module Ext.form { /** [Method] */ getDatePicker?(): void; /** [Method] Returns the value of destroyPickerOnHide */ - getDestroyPickerOnHide?(): bool; + getDestroyPickerOnHide?(): boolean; /** [Method] Returns the value of the field formatted using the specified format * @param format String The format to be returned. */ @@ -27713,7 +27127,7 @@ declare module Ext.form { /** [Method] Sets the value of destroyPickerOnHide * @param destroyPickerOnHide Boolean */ - setDestroyPickerOnHide?( destroyPickerOnHide?:bool ): void; + setDestroyPickerOnHide?( destroyPickerOnHide?:boolean ): void; /** [Method] Sets the value of picker * @param picker Object/Ext.picker.Date */ @@ -27731,17 +27145,17 @@ declare module Ext.form { declare module Ext.field { export interface IEmail extends Ext.field.IText { /** [Config Option] (Boolean) */ - autoCapitalize?: bool; + autoCapitalize?: boolean; /** [Config Option] (Object) */ component?: any; /** [Method] Returns the value of autoCapitalize */ - getAutoCapitalize?(): bool; + getAutoCapitalize?(): boolean; /** [Method] Returns the value of component */ getComponent?(): any; /** [Method] Sets the value of autoCapitalize * @param autoCapitalize Boolean */ - setAutoCapitalize?( autoCapitalize?:bool ): void; + setAutoCapitalize?( autoCapitalize?:boolean ): void; /** [Method] Sets the value of component * @param component Object */ @@ -27751,17 +27165,17 @@ declare module Ext.field { declare module Ext.form { export interface IEmail extends Ext.field.IText { /** [Config Option] (Boolean) */ - autoCapitalize?: bool; + autoCapitalize?: boolean; /** [Config Option] (Object) */ component?: any; /** [Method] Returns the value of autoCapitalize */ - getAutoCapitalize?(): bool; + getAutoCapitalize?(): boolean; /** [Method] Returns the value of component */ getComponent?(): any; /** [Method] Sets the value of autoCapitalize * @param autoCapitalize Boolean */ - setAutoCapitalize?( autoCapitalize?:bool ): void; + setAutoCapitalize?( autoCapitalize?:boolean ): void; /** [Method] Sets the value of component * @param component Object */ @@ -27773,7 +27187,7 @@ declare module Ext.field { /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - clearIcon?: bool; + clearIcon?: boolean; /** [Config Option] (Object) */ component?: any; /** [Config Option] (String) */ @@ -27793,11 +27207,11 @@ declare module Ext.field { /** [Config Option] (Number/String) */ labelWidth?: any; /** [Config Option] (Boolean) */ - labelWrap?: bool; + labelWrap?: boolean; /** [Config Option] (String) */ name?: string; /** [Config Option] (Boolean) */ - required?: bool; + required?: boolean; /** [Config Option] (String) */ requiredCls?: string; /** [Config Option] (Number) */ @@ -27807,7 +27221,7 @@ declare module Ext.field { /** [Config Option] (Mixed) */ value?: any; /** [Property] (Boolean) */ - isField?: bool; + isField?: boolean; /** [Property] (Ext.Element) */ labelEl?: Ext.IElement; /** [Property] (Mixed) */ @@ -27815,7 +27229,7 @@ declare module Ext.field { /** [Method] Returns the value of baseCls */ getBaseCls?(): string; /** [Method] Returns the value of clearIcon */ - getClearIcon?(): bool; + getClearIcon?(): boolean; /** [Method] Returns the value of inputCls */ getInputCls?(): string; /** [Method] Returns the value of inputType */ @@ -27831,11 +27245,11 @@ declare module Ext.field { /** [Method] Returns the value of labelWidth */ getLabelWidth?(): string; /** [Method] Returns the value of labelWrap */ - getLabelWrap?(): bool; + getLabelWrap?(): boolean; /** [Method] Returns the value of name */ getName?(): string; /** [Method] Returns the value of required */ - getRequired?(): bool; + getRequired?(): boolean; /** [Method] Returns the value of requiredCls */ getRequiredCls?(): string; /** [Method] Returns the value of tabIndex */ @@ -27843,7 +27257,7 @@ declare module Ext.field { /** [Method] Returns the value of value */ getValue?(): any; /** [Method] Returns true if the value of this Field has been changed from its originalValue */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Resets the current field value back to the original value on this field when it was created */ reset?(): Ext.field.IField; /** [Method] Resets the field s originalValue property so it matches the current value */ @@ -27855,7 +27269,7 @@ declare module Ext.field { /** [Method] Sets the value of clearIcon * @param clearIcon Boolean */ - setClearIcon?( clearIcon?:bool ): void; + setClearIcon?( clearIcon?:boolean ): void; /** [Method] Sets the value of inputCls * @param inputCls String */ @@ -27885,7 +27299,7 @@ declare module Ext.field { /** [Method] Sets the value of labelWrap * @param labelWrap Boolean */ - setLabelWrap?( labelWrap?:bool ): void; + setLabelWrap?( labelWrap?:boolean ): void; /** [Method] Sets the value of name * @param name String */ @@ -27893,7 +27307,7 @@ declare module Ext.field { /** [Method] Sets the value of required * @param required Boolean */ - setRequired?( required?:bool ): void; + setRequired?( required?:boolean ): void; /** [Method] Sets the value of requiredCls * @param requiredCls String */ @@ -27913,7 +27327,7 @@ declare module Ext.form { /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - clearIcon?: bool; + clearIcon?: boolean; /** [Config Option] (Object) */ component?: any; /** [Config Option] (String) */ @@ -27933,11 +27347,11 @@ declare module Ext.form { /** [Config Option] (Number/String) */ labelWidth?: any; /** [Config Option] (Boolean) */ - labelWrap?: bool; + labelWrap?: boolean; /** [Config Option] (String) */ name?: string; /** [Config Option] (Boolean) */ - required?: bool; + required?: boolean; /** [Config Option] (String) */ requiredCls?: string; /** [Config Option] (Number) */ @@ -27947,7 +27361,7 @@ declare module Ext.form { /** [Config Option] (Mixed) */ value?: any; /** [Property] (Boolean) */ - isField?: bool; + isField?: boolean; /** [Property] (Ext.Element) */ labelEl?: Ext.IElement; /** [Property] (Mixed) */ @@ -27955,7 +27369,7 @@ declare module Ext.form { /** [Method] Returns the value of baseCls */ getBaseCls?(): string; /** [Method] Returns the value of clearIcon */ - getClearIcon?(): bool; + getClearIcon?(): boolean; /** [Method] Returns the value of inputCls */ getInputCls?(): string; /** [Method] Returns the value of inputType */ @@ -27971,11 +27385,11 @@ declare module Ext.form { /** [Method] Returns the value of labelWidth */ getLabelWidth?(): string; /** [Method] Returns the value of labelWrap */ - getLabelWrap?(): bool; + getLabelWrap?(): boolean; /** [Method] Returns the value of name */ getName?(): string; /** [Method] Returns the value of required */ - getRequired?(): bool; + getRequired?(): boolean; /** [Method] Returns the value of requiredCls */ getRequiredCls?(): string; /** [Method] Returns the value of tabIndex */ @@ -27983,7 +27397,7 @@ declare module Ext.form { /** [Method] Returns the value of value */ getValue?(): any; /** [Method] Returns true if the value of this Field has been changed from its originalValue */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Resets the current field value back to the original value on this field when it was created */ reset?(): Ext.field.IField; /** [Method] Resets the field s originalValue property so it matches the current value */ @@ -27995,7 +27409,7 @@ declare module Ext.form { /** [Method] Sets the value of clearIcon * @param clearIcon Boolean */ - setClearIcon?( clearIcon?:bool ): void; + setClearIcon?( clearIcon?:boolean ): void; /** [Method] Sets the value of inputCls * @param inputCls String */ @@ -28025,7 +27439,7 @@ declare module Ext.form { /** [Method] Sets the value of labelWrap * @param labelWrap Boolean */ - setLabelWrap?( labelWrap?:bool ): void; + setLabelWrap?( labelWrap?:boolean ): void; /** [Method] Sets the value of name * @param name String */ @@ -28033,7 +27447,7 @@ declare module Ext.form { /** [Method] Sets the value of required * @param required Boolean */ - setRequired?( required?:bool ): void; + setRequired?( required?:boolean ): void; /** [Method] Sets the value of requiredCls * @param requiredCls String */ @@ -28103,19 +27517,19 @@ declare module Ext.form { declare module Ext.field { export interface IInput extends Ext.IComponent { /** [Config Option] (Boolean) */ - autoCapitalize?: bool; + autoCapitalize?: boolean; /** [Config Option] (Boolean) */ - autoComplete?: bool; + autoComplete?: boolean; /** [Config Option] (Boolean) */ - autoCorrect?: bool; + autoCorrect?: boolean; /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - checked?: bool; + checked?: boolean; /** [Config Option] (String) */ cls?: string; /** [Config Option] (Boolean) */ - disabled?: bool; + disabled?: boolean; /** [Config Option] (String) */ focusCls?: string; /** [Config Option] (Number) */ @@ -28133,7 +27547,7 @@ declare module Ext.field { /** [Config Option] (String) */ placeHolder?: string; /** [Config Option] (Boolean) */ - readOnly?: bool; + readOnly?: boolean; /** [Config Option] (Mixed) */ startValue?: any; /** [Config Option] (Number) */ @@ -28145,17 +27559,17 @@ declare module Ext.field { /** [Config Option] (Mixed) */ value?: any; /** [Property] (Boolean) */ - isFocused?: bool; + isFocused?: boolean; /** [Method] Attempts to forcefully blur input focus for the field */ blur?(): Ext.field.IInput; /** [Method] Attempts to set the field as the active input focus */ focus?(): Ext.field.IInput; /** [Method] Returns the value of autoCapitalize */ - getAutoCapitalize?(): bool; + getAutoCapitalize?(): boolean; /** [Method] Returns the value of autoComplete */ - getAutoComplete?(): bool; + getAutoComplete?(): boolean; /** [Method] Returns the value of autoCorrect */ - getAutoCorrect?(): bool; + getAutoCorrect?(): boolean; /** [Method] Returns the value of baseCls */ getBaseCls?(): string; /** [Method] Returns the checked value of this field */ @@ -28163,7 +27577,7 @@ declare module Ext.field { /** [Method] Returns the value of cls */ getCls?(): string; /** [Method] Returns the value of disabled */ - getDisabled?(): bool; + getDisabled?(): boolean; /** [Method] Returns the value of focusCls */ getFocusCls?(): string; /** [Method] Returns the value of maxLength */ @@ -28181,7 +27595,7 @@ declare module Ext.field { /** [Method] Returns the value of placeHolder */ getPlaceHolder?(): string; /** [Method] Returns the value of readOnly */ - getReadOnly?(): bool; + getReadOnly?(): boolean; /** [Method] Returns the value of startValue */ getStartValue?(): any; /** [Method] Returns the value of stepValue */ @@ -28193,7 +27607,7 @@ declare module Ext.field { /** [Method] Returns the field data value */ getValue?(): any; /** [Method] Returns true if the value of this Field has been changed from its original value */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Resets the current field value to the original value */ reset?(): void; /** [Method] Attempts to forcefully select all the contents of the input field */ @@ -28201,15 +27615,15 @@ declare module Ext.field { /** [Method] Sets the value of autoCapitalize * @param autoCapitalize Boolean */ - setAutoCapitalize?( autoCapitalize?:bool ): void; + setAutoCapitalize?( autoCapitalize?:boolean ): void; /** [Method] Sets the value of autoComplete * @param autoComplete Boolean */ - setAutoComplete?( autoComplete?:bool ): void; + setAutoComplete?( autoComplete?:boolean ): void; /** [Method] Sets the value of autoCorrect * @param autoCorrect Boolean */ - setAutoCorrect?( autoCorrect?:bool ): void; + setAutoCorrect?( autoCorrect?:boolean ): void; /** [Method] Sets the value of baseCls * @param baseCls String */ @@ -28221,7 +27635,7 @@ declare module Ext.field { /** [Method] Sets the value of disabled * @param disabled Boolean */ - setDisabled?( disabled?:bool ): void; + setDisabled?( disabled?:boolean ): void; /** [Method] Sets the value of focusCls * @param focusCls String */ @@ -28257,7 +27671,7 @@ declare module Ext.field { /** [Method] Sets the value of readOnly * @param readOnly Boolean */ - setReadOnly?( readOnly?:bool ): void; + setReadOnly?( readOnly?:boolean ): void; /** [Method] Sets the value of startValue * @param startValue Mixed */ @@ -28380,17 +27794,17 @@ declare module Ext.form { declare module Ext.field { export interface IPassword extends Ext.field.IText { /** [Config Option] (Boolean) */ - autoCapitalize?: bool; + autoCapitalize?: boolean; /** [Config Option] (Object) */ component?: any; /** [Method] Returns the value of autoCapitalize */ - getAutoCapitalize?(): bool; + getAutoCapitalize?(): boolean; /** [Method] Returns the value of component */ getComponent?(): any; /** [Method] Sets the value of autoCapitalize * @param autoCapitalize Boolean */ - setAutoCapitalize?( autoCapitalize?:bool ): void; + setAutoCapitalize?( autoCapitalize?:boolean ): void; /** [Method] Sets the value of component * @param component Object */ @@ -28400,17 +27814,17 @@ declare module Ext.field { declare module Ext.form { export interface IPassword extends Ext.field.IText { /** [Config Option] (Boolean) */ - autoCapitalize?: bool; + autoCapitalize?: boolean; /** [Config Option] (Object) */ component?: any; /** [Method] Returns the value of autoCapitalize */ - getAutoCapitalize?(): bool; + getAutoCapitalize?(): boolean; /** [Method] Returns the value of component */ getComponent?(): any; /** [Method] Sets the value of autoCapitalize * @param autoCapitalize Boolean */ - setAutoCapitalize?( autoCapitalize?:bool ): void; + setAutoCapitalize?( autoCapitalize?:boolean ): void; /** [Method] Sets the value of component * @param component Object */ @@ -28428,7 +27842,7 @@ declare module Ext.field { /** [Method] Returns the selected value if this radio is part of a group other radio fields with the same name in the same FormP */ getGroupValue?(): string; /** [Method] Returns the submit value for the checkbox which can be used when submitting forms */ - getSubmitValue?(): bool; + getSubmitValue?(): boolean; /** [Method] Returns the submit value for the checkbox which can be used when submitting forms */ getSubmitValue?(): string; /** [Method] Returns the value of ui */ @@ -28464,7 +27878,7 @@ declare module Ext.form { /** [Method] Returns the selected value if this radio is part of a group other radio fields with the same name in the same FormP */ getGroupValue?(): string; /** [Method] Returns the submit value for the checkbox which can be used when submitting forms */ - getSubmitValue?(): bool; + getSubmitValue?(): boolean; /** [Method] Returns the submit value for the checkbox which can be used when submitting forms */ getSubmitValue?(): string; /** [Method] Returns the value of ui */ @@ -28532,7 +27946,7 @@ declare module Ext.form { declare module Ext.field { export interface ISelect extends Ext.field.IText { /** [Config Option] (Boolean) */ - autoSelect?: bool; + autoSelect?: boolean; /** [Config Option] (Object) */ defaultPhonePickerConfig?: any; /** [Config Option] (Object) */ @@ -28556,7 +27970,7 @@ declare module Ext.field { /** [Method] Destroys this Component */ destroy?(): void; /** [Method] Returns the value of autoSelect */ - getAutoSelect?(): bool; + getAutoSelect?(): boolean; /** [Method] Returns the value of defaultPhonePickerConfig */ getDefaultPhonePickerConfig?(): any; /** [Method] Returns the value of defaultTabletPickerConfig */ @@ -28580,7 +27994,7 @@ declare module Ext.field { /** [Method] Returns the value of usePicker */ getUsePicker?(): string; /** [Method] Returns the value of usePicker */ - getUsePicker?(): bool; + getUsePicker?(): boolean; /** [Method] Returns the value of value */ getValue?(): any; /** [Method] Returns the value of valueField */ @@ -28596,7 +28010,7 @@ declare module Ext.field { /** [Method] Sets the value of autoSelect * @param autoSelect Boolean */ - setAutoSelect?( autoSelect?:bool ): void; + setAutoSelect?( autoSelect?:boolean ): void; /** [Method] Sets the value of defaultPhonePickerConfig * @param defaultPhonePickerConfig Object */ @@ -28636,7 +28050,7 @@ declare module Ext.field { */ setUsePicker?( usePicker?:any ): any; setUsePicker?( usePicker?:string ): void; - setUsePicker?( usePicker?:bool ): void; + setUsePicker?( usePicker?:boolean ): void; /** [Method] Sets the value of valueField * @param valueField String/Number */ @@ -28654,7 +28068,7 @@ declare module Ext.field { declare module Ext.form { export interface ISelect extends Ext.field.IText { /** [Config Option] (Boolean) */ - autoSelect?: bool; + autoSelect?: boolean; /** [Config Option] (Object) */ defaultPhonePickerConfig?: any; /** [Config Option] (Object) */ @@ -28678,7 +28092,7 @@ declare module Ext.form { /** [Method] Destroys this Component */ destroy?(): void; /** [Method] Returns the value of autoSelect */ - getAutoSelect?(): bool; + getAutoSelect?(): boolean; /** [Method] Returns the value of defaultPhonePickerConfig */ getDefaultPhonePickerConfig?(): any; /** [Method] Returns the value of defaultTabletPickerConfig */ @@ -28702,7 +28116,7 @@ declare module Ext.form { /** [Method] Returns the value of usePicker */ getUsePicker?(): string; /** [Method] Returns the value of usePicker */ - getUsePicker?(): bool; + getUsePicker?(): boolean; /** [Method] Returns the value of value */ getValue?(): any; /** [Method] Returns the value of valueField */ @@ -28718,7 +28132,7 @@ declare module Ext.form { /** [Method] Sets the value of autoSelect * @param autoSelect Boolean */ - setAutoSelect?( autoSelect?:bool ): void; + setAutoSelect?( autoSelect?:boolean ): void; /** [Method] Sets the value of defaultPhonePickerConfig * @param defaultPhonePickerConfig Object */ @@ -28758,7 +28172,7 @@ declare module Ext.form { */ setUsePicker?( usePicker?:any ): any; setUsePicker?( usePicker?:string ): void; - setUsePicker?( usePicker?:bool ): void; + setUsePicker?( usePicker?:boolean ): void; /** [Method] Sets the value of valueField * @param valueField String/Number */ @@ -28784,7 +28198,7 @@ declare module Ext.field { /** [Config Option] (Number) */ minValue?: number; /** [Config Option] (Boolean) */ - readOnly?: bool; + readOnly?: boolean; /** [Config Option] (Number) */ tabIndex?: number; /** [Config Option] (Number/Number[]) */ @@ -28800,7 +28214,7 @@ declare module Ext.field { /** [Method] Returns the value of minValue */ getMinValue?(): number; /** [Method] Returns the value of readOnly */ - getReadOnly?(): bool; + getReadOnly?(): boolean; /** [Method] Returns the value of value */ getValue?(): number; /** [Method] Returns the value of value */ @@ -28808,7 +28222,7 @@ declare module Ext.field { /** [Method] Convenience method */ getValues?(): any; /** [Method] Returns true if the value of this Field has been changed from its originalValue */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Resets the current field value back to the original value on this field when it was created */ reset?(): Ext.field.IField; /** [Method] Sets the value of cls @@ -28830,7 +28244,7 @@ declare module Ext.field { /** [Method] Sets the value of readOnly * @param readOnly Boolean */ - setReadOnly?( readOnly?:bool ): void; + setReadOnly?( readOnly?:boolean ): void; /** [Method] Sets the value of tabIndex * @param tabIndex Object */ @@ -28858,7 +28272,7 @@ declare module Ext.form { /** [Config Option] (Number) */ minValue?: number; /** [Config Option] (Boolean) */ - readOnly?: bool; + readOnly?: boolean; /** [Config Option] (Number) */ tabIndex?: number; /** [Config Option] (Number/Number[]) */ @@ -28874,7 +28288,7 @@ declare module Ext.form { /** [Method] Returns the value of minValue */ getMinValue?(): number; /** [Method] Returns the value of readOnly */ - getReadOnly?(): bool; + getReadOnly?(): boolean; /** [Method] Returns the value of value */ getValue?(): number; /** [Method] Returns the value of value */ @@ -28882,7 +28296,7 @@ declare module Ext.form { /** [Method] Convenience method */ getValues?(): any; /** [Method] Returns true if the value of this Field has been changed from its originalValue */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Resets the current field value back to the original value on this field when it was created */ reset?(): Ext.field.IField; /** [Method] Sets the value of cls @@ -28904,7 +28318,7 @@ declare module Ext.form { /** [Method] Sets the value of readOnly * @param readOnly Boolean */ - setReadOnly?( readOnly?:bool ): void; + setReadOnly?( readOnly?:boolean ): void; /** [Method] Sets the value of tabIndex * @param tabIndex Object */ @@ -28924,17 +28338,17 @@ declare module Ext.form { declare module Ext.field { export interface ISpinner extends Ext.field.INumber { /** [Config Option] (Boolean) */ - accelerateOnTapHold?: bool; + accelerateOnTapHold?: boolean; /** [Config Option] (String/String[]) */ cls?: any; /** [Config Option] (Object) */ component?: any; /** [Config Option] (Boolean) */ - cycle?: bool; + cycle?: boolean; /** [Config Option] (Number) */ defaultValue?: number; /** [Config Option] (Boolean) */ - groupButtons?: bool; + groupButtons?: boolean; /** [Config Option] (String) */ increment?: string; /** [Config Option] (String) */ @@ -28946,17 +28360,17 @@ declare module Ext.field { /** [Config Option] (Number) */ stepValue?: number; /** [Method] Returns the value of accelerateOnTapHold */ - getAccelerateOnTapHold?(): bool; + getAccelerateOnTapHold?(): boolean; /** [Method] Returns the value of cls */ getCls?(): string; /** [Method] Returns the value of component */ getComponent?(): any; /** [Method] Returns the value of cycle */ - getCycle?(): bool; + getCycle?(): boolean; /** [Method] Returns the value of defaultValue */ getDefaultValue?(): number; /** [Method] Returns the value of groupButtons */ - getGroupButtons?(): bool; + getGroupButtons?(): boolean; /** [Method] Returns the value of maxValue */ getMaxValue?(): number; /** [Method] Returns the value of minValue */ @@ -28968,7 +28382,7 @@ declare module Ext.field { /** [Method] Sets the value of accelerateOnTapHold * @param accelerateOnTapHold Boolean */ - setAccelerateOnTapHold?( accelerateOnTapHold?:bool ): void; + setAccelerateOnTapHold?( accelerateOnTapHold?:boolean ): void; /** [Method] Sets the value of cls * @param cls String */ @@ -28980,7 +28394,7 @@ declare module Ext.field { /** [Method] Sets the value of cycle * @param cycle Boolean */ - setCycle?( cycle?:bool ): void; + setCycle?( cycle?:boolean ): void; /** [Method] Sets the value of defaultValue * @param defaultValue Number */ @@ -28988,7 +28402,7 @@ declare module Ext.field { /** [Method] Sets the value of groupButtons * @param groupButtons Boolean */ - setGroupButtons?( groupButtons?:bool ): void; + setGroupButtons?( groupButtons?:boolean ): void; /** [Method] Sets the value of maxValue * @param maxValue Number */ @@ -29010,17 +28424,17 @@ declare module Ext.field { declare module Ext.form { export interface ISpinner extends Ext.field.INumber { /** [Config Option] (Boolean) */ - accelerateOnTapHold?: bool; + accelerateOnTapHold?: boolean; /** [Config Option] (String/String[]) */ cls?: any; /** [Config Option] (Object) */ component?: any; /** [Config Option] (Boolean) */ - cycle?: bool; + cycle?: boolean; /** [Config Option] (Number) */ defaultValue?: number; /** [Config Option] (Boolean) */ - groupButtons?: bool; + groupButtons?: boolean; /** [Config Option] (String) */ increment?: string; /** [Config Option] (String) */ @@ -29032,17 +28446,17 @@ declare module Ext.form { /** [Config Option] (Number) */ stepValue?: number; /** [Method] Returns the value of accelerateOnTapHold */ - getAccelerateOnTapHold?(): bool; + getAccelerateOnTapHold?(): boolean; /** [Method] Returns the value of cls */ getCls?(): string; /** [Method] Returns the value of component */ getComponent?(): any; /** [Method] Returns the value of cycle */ - getCycle?(): bool; + getCycle?(): boolean; /** [Method] Returns the value of defaultValue */ getDefaultValue?(): number; /** [Method] Returns the value of groupButtons */ - getGroupButtons?(): bool; + getGroupButtons?(): boolean; /** [Method] Returns the value of maxValue */ getMaxValue?(): number; /** [Method] Returns the value of minValue */ @@ -29054,7 +28468,7 @@ declare module Ext.form { /** [Method] Sets the value of accelerateOnTapHold * @param accelerateOnTapHold Boolean */ - setAccelerateOnTapHold?( accelerateOnTapHold?:bool ): void; + setAccelerateOnTapHold?( accelerateOnTapHold?:boolean ): void; /** [Method] Sets the value of cls * @param cls String */ @@ -29066,7 +28480,7 @@ declare module Ext.form { /** [Method] Sets the value of cycle * @param cycle Boolean */ - setCycle?( cycle?:bool ): void; + setCycle?( cycle?:boolean ): void; /** [Method] Sets the value of defaultValue * @param defaultValue Number */ @@ -29074,7 +28488,7 @@ declare module Ext.form { /** [Method] Sets the value of groupButtons * @param groupButtons Boolean */ - setGroupButtons?( groupButtons?:bool ): void; + setGroupButtons?( groupButtons?:boolean ): void; /** [Method] Sets the value of maxValue * @param maxValue Number */ @@ -29096,15 +28510,15 @@ declare module Ext.form { declare module Ext.field { export interface IText extends Ext.field.IField { /** [Config Option] (Boolean) */ - autoCapitalize?: bool; + autoCapitalize?: boolean; /** [Config Option] (Boolean) */ - autoComplete?: bool; + autoComplete?: boolean; /** [Config Option] (Boolean) */ - autoCorrect?: bool; + autoCorrect?: boolean; /** [Config Option] (String/String[]) */ bubbleEvents?: any; /** [Config Option] (Boolean) */ - clearIcon?: bool; + clearIcon?: boolean; /** [Config Option] (Object) */ component?: any; /** [Config Option] (Number) */ @@ -29112,7 +28526,7 @@ declare module Ext.field { /** [Config Option] (String) */ placeHolder?: string; /** [Config Option] (Boolean) */ - readOnly?: bool; + readOnly?: boolean; /** [Config Option] (String) */ ui?: string; /** [Property] (String/Number) */ @@ -29122,13 +28536,13 @@ declare module Ext.field { /** [Method] Attempts to set the field as the active input focus */ focus?(): Ext.field.IText; /** [Method] Returns the value of autoCapitalize */ - getAutoCapitalize?(): bool; + getAutoCapitalize?(): boolean; /** [Method] Returns the value of autoComplete */ - getAutoComplete?(): bool; + getAutoComplete?(): boolean; /** [Method] Returns the value of autoCorrect */ - getAutoCorrect?(): bool; + getAutoCorrect?(): boolean; /** [Method] Returns the value of clearIcon */ - getClearIcon?(): bool; + getClearIcon?(): boolean; /** [Method] Returns the value of component */ getComponent?(): any; /** [Method] Returns the value of maxLength */ @@ -29136,13 +28550,13 @@ declare module Ext.field { /** [Method] Returns the value of placeHolder */ getPlaceHolder?(): string; /** [Method] Returns the value of readOnly */ - getReadOnly?(): bool; + getReadOnly?(): boolean; /** [Method] Returns the value of ui */ getUi?(): string; /** [Method] Returns the value of value */ getValue?(): any; /** [Method] Returns true if the value of this Field has been changed from its originalValue */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Resets the current field value back to the original value on this field when it was created */ reset?(): Ext.field.IField; /** [Method] Resets the field s originalValue property so it matches the current value */ @@ -29152,15 +28566,15 @@ declare module Ext.field { /** [Method] Sets the value of autoCapitalize * @param autoCapitalize Boolean */ - setAutoCapitalize?( autoCapitalize?:bool ): void; + setAutoCapitalize?( autoCapitalize?:boolean ): void; /** [Method] Sets the value of autoComplete * @param autoComplete Boolean */ - setAutoComplete?( autoComplete?:bool ): void; + setAutoComplete?( autoComplete?:boolean ): void; /** [Method] Sets the value of autoCorrect * @param autoCorrect Boolean */ - setAutoCorrect?( autoCorrect?:bool ): void; + setAutoCorrect?( autoCorrect?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents Array */ @@ -29168,7 +28582,7 @@ declare module Ext.field { /** [Method] Sets the value of clearIcon * @param clearIcon Boolean */ - setClearIcon?( clearIcon?:bool ): void; + setClearIcon?( clearIcon?:boolean ): void; /** [Method] Sets the value of component * @param component Object */ @@ -29184,7 +28598,7 @@ declare module Ext.field { /** [Method] Sets the value of readOnly * @param readOnly Boolean */ - setReadOnly?( readOnly?:bool ): void; + setReadOnly?( readOnly?:boolean ): void; /** [Method] Sets the value of ui * @param ui String */ @@ -29194,15 +28608,15 @@ declare module Ext.field { declare module Ext.form { export interface IText extends Ext.field.IField { /** [Config Option] (Boolean) */ - autoCapitalize?: bool; + autoCapitalize?: boolean; /** [Config Option] (Boolean) */ - autoComplete?: bool; + autoComplete?: boolean; /** [Config Option] (Boolean) */ - autoCorrect?: bool; + autoCorrect?: boolean; /** [Config Option] (String/String[]) */ bubbleEvents?: any; /** [Config Option] (Boolean) */ - clearIcon?: bool; + clearIcon?: boolean; /** [Config Option] (Object) */ component?: any; /** [Config Option] (Number) */ @@ -29210,7 +28624,7 @@ declare module Ext.form { /** [Config Option] (String) */ placeHolder?: string; /** [Config Option] (Boolean) */ - readOnly?: bool; + readOnly?: boolean; /** [Config Option] (String) */ ui?: string; /** [Property] (String/Number) */ @@ -29220,13 +28634,13 @@ declare module Ext.form { /** [Method] Attempts to set the field as the active input focus */ focus?(): Ext.field.IText; /** [Method] Returns the value of autoCapitalize */ - getAutoCapitalize?(): bool; + getAutoCapitalize?(): boolean; /** [Method] Returns the value of autoComplete */ - getAutoComplete?(): bool; + getAutoComplete?(): boolean; /** [Method] Returns the value of autoCorrect */ - getAutoCorrect?(): bool; + getAutoCorrect?(): boolean; /** [Method] Returns the value of clearIcon */ - getClearIcon?(): bool; + getClearIcon?(): boolean; /** [Method] Returns the value of component */ getComponent?(): any; /** [Method] Returns the value of maxLength */ @@ -29234,13 +28648,13 @@ declare module Ext.form { /** [Method] Returns the value of placeHolder */ getPlaceHolder?(): string; /** [Method] Returns the value of readOnly */ - getReadOnly?(): bool; + getReadOnly?(): boolean; /** [Method] Returns the value of ui */ getUi?(): string; /** [Method] Returns the value of value */ getValue?(): any; /** [Method] Returns true if the value of this Field has been changed from its originalValue */ - isDirty?(): bool; + isDirty?(): boolean; /** [Method] Resets the current field value back to the original value on this field when it was created */ reset?(): Ext.field.IField; /** [Method] Resets the field s originalValue property so it matches the current value */ @@ -29250,15 +28664,15 @@ declare module Ext.form { /** [Method] Sets the value of autoCapitalize * @param autoCapitalize Boolean */ - setAutoCapitalize?( autoCapitalize?:bool ): void; + setAutoCapitalize?( autoCapitalize?:boolean ): void; /** [Method] Sets the value of autoComplete * @param autoComplete Boolean */ - setAutoComplete?( autoComplete?:bool ): void; + setAutoComplete?( autoComplete?:boolean ): void; /** [Method] Sets the value of autoCorrect * @param autoCorrect Boolean */ - setAutoCorrect?( autoCorrect?:bool ): void; + setAutoCorrect?( autoCorrect?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents Array */ @@ -29266,7 +28680,7 @@ declare module Ext.form { /** [Method] Sets the value of clearIcon * @param clearIcon Boolean */ - setClearIcon?( clearIcon?:bool ): void; + setClearIcon?( clearIcon?:boolean ): void; /** [Method] Sets the value of component * @param component Object */ @@ -29282,7 +28696,7 @@ declare module Ext.form { /** [Method] Sets the value of readOnly * @param readOnly Boolean */ - setReadOnly?( readOnly?:bool ): void; + setReadOnly?( readOnly?:boolean ): void; /** [Method] Sets the value of ui * @param ui String */ @@ -29292,7 +28706,7 @@ declare module Ext.form { declare module Ext.field { export interface ITextArea extends Ext.field.IText { /** [Config Option] (Boolean) */ - autoCapitalize?: bool; + autoCapitalize?: boolean; /** [Config Option] (Object) */ component?: any; /** [Config Option] (Number) */ @@ -29300,7 +28714,7 @@ declare module Ext.field { /** [Config Option] (String) */ ui?: string; /** [Method] Returns the value of autoCapitalize */ - getAutoCapitalize?(): bool; + getAutoCapitalize?(): boolean; /** [Method] Returns the value of component */ getComponent?(): any; /** [Method] Returns the value of maxRows */ @@ -29310,7 +28724,7 @@ declare module Ext.field { /** [Method] Sets the value of autoCapitalize * @param autoCapitalize Boolean */ - setAutoCapitalize?( autoCapitalize?:bool ): void; + setAutoCapitalize?( autoCapitalize?:boolean ): void; /** [Method] Sets the value of component * @param component Object */ @@ -29328,7 +28742,7 @@ declare module Ext.field { declare module Ext.form { export interface ITextArea extends Ext.field.IText { /** [Config Option] (Boolean) */ - autoCapitalize?: bool; + autoCapitalize?: boolean; /** [Config Option] (Object) */ component?: any; /** [Config Option] (Number) */ @@ -29336,7 +28750,7 @@ declare module Ext.form { /** [Config Option] (String) */ ui?: string; /** [Method] Returns the value of autoCapitalize */ - getAutoCapitalize?(): bool; + getAutoCapitalize?(): boolean; /** [Method] Returns the value of component */ getComponent?(): any; /** [Method] Returns the value of maxRows */ @@ -29346,7 +28760,7 @@ declare module Ext.form { /** [Method] Sets the value of autoCapitalize * @param autoCapitalize Boolean */ - setAutoCapitalize?( autoCapitalize?:bool ): void; + setAutoCapitalize?( autoCapitalize?:boolean ): void; /** [Method] Sets the value of component * @param component Object */ @@ -29468,17 +28882,17 @@ declare module Ext.form { declare module Ext.field { export interface IUrl extends Ext.field.IText { /** [Config Option] (Boolean) */ - autoCapitalize?: bool; + autoCapitalize?: boolean; /** [Config Option] (Object) */ component?: any; /** [Method] Returns the value of autoCapitalize */ - getAutoCapitalize?(): bool; + getAutoCapitalize?(): boolean; /** [Method] Returns the value of component */ getComponent?(): any; /** [Method] Sets the value of autoCapitalize * @param autoCapitalize Boolean */ - setAutoCapitalize?( autoCapitalize?:bool ): void; + setAutoCapitalize?( autoCapitalize?:boolean ): void; /** [Method] Sets the value of component * @param component Object */ @@ -29488,17 +28902,17 @@ declare module Ext.field { declare module Ext.form { export interface IUrl extends Ext.field.IText { /** [Config Option] (Boolean) */ - autoCapitalize?: bool; + autoCapitalize?: boolean; /** [Config Option] (Object) */ component?: any; /** [Method] Returns the value of autoCapitalize */ - getAutoCapitalize?(): bool; + getAutoCapitalize?(): boolean; /** [Method] Returns the value of component */ getComponent?(): any; /** [Method] Sets the value of autoCapitalize * @param autoCapitalize Boolean */ - setAutoCapitalize?( autoCapitalize?:bool ): void; + setAutoCapitalize?( autoCapitalize?:boolean ): void; /** [Method] Sets the value of component * @param component Object */ @@ -29546,11 +28960,11 @@ declare module Ext.form { /** [Config Option] (Boolean/String/Object) */ scrollable?: any; /** [Config Option] (Boolean) */ - standardSubmit?: bool; + standardSubmit?: boolean; /** [Config Option] (Object) */ submitOnAction?: any; /** [Config Option] (Boolean) */ - trackResetOnLoad?: bool; + trackResetOnLoad?: boolean; /** [Config Option] (String) */ url?: string; /** [Config Option] (Ext.dom.Element) */ @@ -29572,18 +28986,18 @@ declare module Ext.form { /** [Method] Returns the value of scrollable */ getScrollable?(): any; /** [Method] Returns the value of standardSubmit */ - getStandardSubmit?(): bool; + getStandardSubmit?(): boolean; /** [Method] Returns the value of submitOnAction */ getSubmitOnAction?(): any; /** [Method] Returns the value of trackResetOnLoad */ - getTrackResetOnLoad?(): bool; + getTrackResetOnLoad?(): boolean; /** [Method] Returns the value of url */ getUrl?(): string; /** [Method] Returns an object containing the value of each field in the form keyed to the field s name * @param enabled Boolean true to return only enabled fields. * @param all Boolean true to return all fields even if they don't have a name configured. */ - getValues?( enabled?:bool, all?:bool ): any; + getValues?( enabled?:boolean, all?:boolean ): any; /** [Method] Hides a previously shown wait mask See showMask */ hideMask?(): Ext.form.IPanel; /** [Method] Loads matching fields from a model instance into this form @@ -29623,7 +29037,7 @@ declare module Ext.form { /** [Method] Sets the value of standardSubmit * @param standardSubmit Boolean */ - setStandardSubmit?( standardSubmit?:bool ): void; + setStandardSubmit?( standardSubmit?:boolean ): void; /** [Method] Sets the value of submitOnAction * @param submitOnAction Object */ @@ -29631,7 +29045,7 @@ declare module Ext.form { /** [Method] Sets the value of trackResetOnLoad * @param trackResetOnLoad Boolean */ - setTrackResetOnLoad?( trackResetOnLoad?:bool ): void; + setTrackResetOnLoad?( trackResetOnLoad?:boolean ): void; /** [Method] Sets the value of url * @param url String */ @@ -29664,11 +29078,11 @@ declare module Ext.form { /** [Config Option] (Boolean/String/Object) */ scrollable?: any; /** [Config Option] (Boolean) */ - standardSubmit?: bool; + standardSubmit?: boolean; /** [Config Option] (Object) */ submitOnAction?: any; /** [Config Option] (Boolean) */ - trackResetOnLoad?: bool; + trackResetOnLoad?: boolean; /** [Config Option] (String) */ url?: string; /** [Config Option] (Ext.dom.Element) */ @@ -29690,18 +29104,18 @@ declare module Ext.form { /** [Method] Returns the value of scrollable */ getScrollable?(): any; /** [Method] Returns the value of standardSubmit */ - getStandardSubmit?(): bool; + getStandardSubmit?(): boolean; /** [Method] Returns the value of submitOnAction */ getSubmitOnAction?(): any; /** [Method] Returns the value of trackResetOnLoad */ - getTrackResetOnLoad?(): bool; + getTrackResetOnLoad?(): boolean; /** [Method] Returns the value of url */ getUrl?(): string; /** [Method] Returns an object containing the value of each field in the form keyed to the field s name * @param enabled Boolean true to return only enabled fields. * @param all Boolean true to return all fields even if they don't have a name configured. */ - getValues?( enabled?:bool, all?:bool ): any; + getValues?( enabled?:boolean, all?:boolean ): any; /** [Method] Hides a previously shown wait mask See showMask */ hideMask?(): Ext.form.IPanel; /** [Method] Loads matching fields from a model instance into this form @@ -29741,7 +29155,7 @@ declare module Ext.form { /** [Method] Sets the value of standardSubmit * @param standardSubmit Boolean */ - setStandardSubmit?( standardSubmit?:bool ): void; + setStandardSubmit?( standardSubmit?:boolean ): void; /** [Method] Sets the value of submitOnAction * @param submitOnAction Object */ @@ -29749,7 +29163,7 @@ declare module Ext.form { /** [Method] Sets the value of trackResetOnLoad * @param trackResetOnLoad Boolean */ - setTrackResetOnLoad?( trackResetOnLoad?:bool ): void; + setTrackResetOnLoad?( trackResetOnLoad?:boolean ): void; /** [Method] Sets the value of url * @param url String */ @@ -29785,7 +29199,7 @@ declare module Ext { * @param appendArgs Boolean/Number if true args are appended to call args instead of overriding, if a number the args are inserted at the specified position. */ static bind( fn?:any, scope?:any, args?:any, appendArgs?:any ): any; - static bind( fn?:any, scope?:any, args?:any[], appendArgs?:bool ): any; + static bind( fn?:any, scope?:any, args?:any[], appendArgs?:boolean ): any; static bind( fn?:any, scope?:any, args?:any[], appendArgs?:number ): any; /** [Method] Create a clone of the provided method * @param method Function @@ -29806,7 +29220,7 @@ declare module Ext { * @param appendArgs Boolean/Number if True args are appended to call args instead of overriding, if a number the args are inserted at the specified position. */ static createDelayed( fn?:any, delay?:any, scope?:any, args?:any, appendArgs?:any ): any; - static createDelayed( fn?:any, delay?:number, scope?:any, args?:any[], appendArgs?:bool ): any; + static createDelayed( fn?:any, delay?:number, scope?:any, args?:any[], appendArgs?:boolean ): any; static createDelayed( fn?:any, delay?:number, scope?:any, args?:any[], appendArgs?:number ): any; /** [Method] Create a new function from the provided fn change this to the provided scope optionally overrides arguments for the * @param fn Function The function to delegate. @@ -29815,7 +29229,7 @@ declare module Ext { * @param appendArgs Boolean/Number if true args are appended to call args instead of overriding, if a number the args are inserted at the specified position. */ static createDelegate( fn?:any, scope?:any, args?:any, appendArgs?:any ): any; - static createDelegate( fn?:any, scope?:any, args?:any[], appendArgs?:bool ): any; + static createDelegate( fn?:any, scope?:any, args?:any[], appendArgs?:boolean ): any; static createDelegate( fn?:any, scope?:any, args?:any[], appendArgs?:number ): any; /** [Method] Creates an interceptor function * @param origFn Function The original function. @@ -29844,7 +29258,7 @@ declare module Ext { * @param appendArgs Boolean/Number if true, args are appended to call args instead of overriding, if a number the args are inserted at the specified position. */ static defer( fn?:any, millis?:any, scope?:any, args?:any, appendArgs?:any ): any; - static defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:bool ): number; + static defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:boolean ): number; static defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:number ): number; /** [Method] A very commonly used method throughout the framework * @param fn Function @@ -29874,7 +29288,7 @@ declare module Ext.util { * @param appendArgs Boolean/Number if true args are appended to call args instead of overriding, if a number the args are inserted at the specified position. */ static bind( fn?:any, scope?:any, args?:any, appendArgs?:any ): any; - static bind( fn?:any, scope?:any, args?:any[], appendArgs?:bool ): any; + static bind( fn?:any, scope?:any, args?:any[], appendArgs?:boolean ): any; static bind( fn?:any, scope?:any, args?:any[], appendArgs?:number ): any; /** [Method] Create a clone of the provided method * @param method Function @@ -29895,7 +29309,7 @@ declare module Ext.util { * @param appendArgs Boolean/Number if True args are appended to call args instead of overriding, if a number the args are inserted at the specified position. */ static createDelayed( fn?:any, delay?:any, scope?:any, args?:any, appendArgs?:any ): any; - static createDelayed( fn?:any, delay?:number, scope?:any, args?:any[], appendArgs?:bool ): any; + static createDelayed( fn?:any, delay?:number, scope?:any, args?:any[], appendArgs?:boolean ): any; static createDelayed( fn?:any, delay?:number, scope?:any, args?:any[], appendArgs?:number ): any; /** [Method] Create a new function from the provided fn change this to the provided scope optionally overrides arguments for the * @param fn Function The function to delegate. @@ -29904,7 +29318,7 @@ declare module Ext.util { * @param appendArgs Boolean/Number if true args are appended to call args instead of overriding, if a number the args are inserted at the specified position. */ static createDelegate( fn?:any, scope?:any, args?:any, appendArgs?:any ): any; - static createDelegate( fn?:any, scope?:any, args?:any[], appendArgs?:bool ): any; + static createDelegate( fn?:any, scope?:any, args?:any[], appendArgs?:boolean ): any; static createDelegate( fn?:any, scope?:any, args?:any[], appendArgs?:number ): any; /** [Method] Creates an interceptor function * @param origFn Function The original function. @@ -29933,7 +29347,7 @@ declare module Ext.util { * @param appendArgs Boolean/Number if true, args are appended to call args instead of overriding, if a number the args are inserted at the specified position. */ static defer( fn?:any, millis?:any, scope?:any, args?:any, appendArgs?:any ): any; - static defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:bool ): number; + static defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:boolean ): number; static defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:number ): number; /** [Method] A very commonly used method throughout the framework * @param fn Function @@ -29980,9 +29394,9 @@ declare module Ext.fx.animation { /** [Method] Returns the value of onEnd */ getOnEnd?(): any; /** [Method] Returns the value of preserveEndState */ - getPreserveEndState?(): bool; + getPreserveEndState?(): boolean; /** [Method] Returns the value of replacePrevious */ - getReplacePrevious?(): bool; + getReplacePrevious?(): boolean; /** [Method] Returns the value of reverse */ getReverse?(): any; /** [Method] Returns the value of scope */ @@ -30038,11 +29452,11 @@ declare module Ext.fx.animation { /** [Method] Sets the value of preserveEndState * @param preserveEndState Boolean */ - setPreserveEndState?( preserveEndState?:bool ): void; + setPreserveEndState?( preserveEndState?:boolean ): void; /** [Method] Sets the value of replacePrevious * @param replacePrevious Boolean */ - setReplacePrevious?( replacePrevious?:bool ): void; + setReplacePrevious?( replacePrevious?:boolean ): void; /** [Method] Sets the value of reverse * @param reverse Object */ @@ -30066,7 +29480,7 @@ declare module Ext.fx.animation { /** [Method] Returns the value of direction */ getDirection?(): string; /** [Method] Returns the value of out */ - getOut?(): bool; + getOut?(): boolean; /** [Method] Sets the value of after * @param after Object */ @@ -30082,7 +29496,7 @@ declare module Ext.fx.animation { /** [Method] Sets the value of out * @param out Boolean */ - setOut?( out?:bool ): void; + setOut?( out?:boolean ): void; } } declare module Ext.fx.animation { @@ -30090,13 +29504,13 @@ declare module Ext.fx.animation { /** [Config Option] (Object) */ before?: any; /** [Config Option] (Boolean) */ - out?: bool; + out?: boolean; /** [Method] Returns the value of after */ getAfter?(): any; /** [Method] Returns the value of before */ getBefore?(): any; /** [Method] Returns the value of out */ - getOut?(): bool; + getOut?(): boolean; /** [Method] Returns the value of reverse */ getReverse?(): any; /** [Method] Sets the value of after @@ -30110,7 +29524,7 @@ declare module Ext.fx.animation { /** [Method] Sets the value of out * @param out Boolean */ - setOut?( out?:bool ): void; + setOut?( out?:boolean ): void; /** [Method] Sets the value of reverse * @param reverse Object */ @@ -30122,13 +29536,13 @@ declare module Ext.fx.animation { /** [Config Option] (Object) */ before?: any; /** [Config Option] (Boolean) */ - out?: bool; + out?: boolean; /** [Method] Returns the value of after */ getAfter?(): any; /** [Method] Returns the value of before */ getBefore?(): any; /** [Method] Returns the value of out */ - getOut?(): bool; + getOut?(): boolean; /** [Method] Returns the value of reverse */ getReverse?(): any; /** [Method] Sets the value of after @@ -30142,7 +29556,7 @@ declare module Ext.fx.animation { /** [Method] Sets the value of out * @param out Boolean */ - setOut?( out?:bool ): void; + setOut?( out?:boolean ): void; /** [Method] Sets the value of reverse * @param reverse Object */ @@ -30172,7 +29586,7 @@ declare module Ext.fx.animation { /** [Method] Returns the value of easing */ getEasing?(): string; /** [Method] Returns the value of half */ - getHalf?(): bool; + getHalf?(): boolean; /** [Method] Returns the value of out */ getOut?(): any; /** [Method] Sets the value of direction @@ -30186,7 +29600,7 @@ declare module Ext.fx.animation { /** [Method] Sets the value of half * @param half Boolean */ - setHalf?( half?:bool ): void; + setHalf?( half?:boolean ): void; /** [Method] Sets the value of out * @param out Object */ @@ -30202,13 +29616,13 @@ declare module Ext.fx.animation { /** [Config Option] (Object) */ before?: any; /** [Config Option] (Boolean) */ - out?: bool; + out?: boolean; /** [Method] Returns the value of after */ getAfter?(): any; /** [Method] Returns the value of before */ getBefore?(): any; /** [Method] Returns the value of out */ - getOut?(): bool; + getOut?(): boolean; /** [Method] Sets the value of after * @param after Object */ @@ -30220,7 +29634,7 @@ declare module Ext.fx.animation { /** [Method] Sets the value of out * @param out Boolean */ - setOut?( out?:bool ): void; + setOut?( out?:boolean ): void; } } declare module Ext.fx.animation { @@ -30228,13 +29642,13 @@ declare module Ext.fx.animation { /** [Config Option] (Object) */ before?: any; /** [Config Option] (Boolean) */ - out?: bool; + out?: boolean; /** [Method] Returns the value of after */ getAfter?(): any; /** [Method] Returns the value of before */ getBefore?(): any; /** [Method] Returns the value of out */ - getOut?(): bool; + getOut?(): boolean; /** [Method] Sets the value of after * @param after Object */ @@ -30246,7 +29660,7 @@ declare module Ext.fx.animation { /** [Method] Sets the value of out * @param out Boolean */ - setOut?( out?:bool ): void; + setOut?( out?:boolean ): void; } } declare module Ext.fx.animation { @@ -30270,19 +29684,19 @@ declare module Ext.fx.animation { /** [Config Option] (Number) */ offset?: number; /** [Config Option] (Boolean) */ - out?: bool; + out?: boolean; /** [Method] Returns the value of direction */ getDirection?(): string; /** [Method] Returns the value of easing */ getEasing?(): string; /** [Method] Returns the value of isElementBoxFit */ - getIsElementBoxFit?(): bool; + getIsElementBoxFit?(): boolean; /** [Method] Returns the value of offset */ getOffset?(): number; /** [Method] Returns the value of out */ - getOut?(): bool; + getOut?(): boolean; /** [Method] Returns the value of useCssTransform */ - getUseCssTransform?(): bool; + getUseCssTransform?(): boolean; /** [Method] Sets the value of containerBox * @param containerBox String */ @@ -30302,7 +29716,7 @@ declare module Ext.fx.animation { /** [Method] Sets the value of isElementBoxFit * @param isElementBoxFit Boolean */ - setIsElementBoxFit?( isElementBoxFit?:bool ): void; + setIsElementBoxFit?( isElementBoxFit?:boolean ): void; /** [Method] Sets the value of offset * @param offset Number */ @@ -30310,11 +29724,11 @@ declare module Ext.fx.animation { /** [Method] Sets the value of out * @param out Boolean */ - setOut?( out?:bool ): void; + setOut?( out?:boolean ): void; /** [Method] Sets the value of useCssTransform * @param useCssTransform Boolean */ - setUseCssTransform?( useCssTransform?:bool ): void; + setUseCssTransform?( useCssTransform?:boolean ): void; } } declare module Ext.fx.animation { @@ -30326,19 +29740,19 @@ declare module Ext.fx.animation { /** [Config Option] (Number) */ offset?: number; /** [Config Option] (Boolean) */ - out?: bool; + out?: boolean; /** [Method] Returns the value of direction */ getDirection?(): string; /** [Method] Returns the value of easing */ getEasing?(): string; /** [Method] Returns the value of isElementBoxFit */ - getIsElementBoxFit?(): bool; + getIsElementBoxFit?(): boolean; /** [Method] Returns the value of offset */ getOffset?(): number; /** [Method] Returns the value of out */ - getOut?(): bool; + getOut?(): boolean; /** [Method] Returns the value of useCssTransform */ - getUseCssTransform?(): bool; + getUseCssTransform?(): boolean; /** [Method] Sets the value of containerBox * @param containerBox String */ @@ -30358,7 +29772,7 @@ declare module Ext.fx.animation { /** [Method] Sets the value of isElementBoxFit * @param isElementBoxFit Boolean */ - setIsElementBoxFit?( isElementBoxFit?:bool ): void; + setIsElementBoxFit?( isElementBoxFit?:boolean ): void; /** [Method] Sets the value of offset * @param offset Number */ @@ -30366,11 +29780,11 @@ declare module Ext.fx.animation { /** [Method] Sets the value of out * @param out Boolean */ - setOut?( out?:bool ): void; + setOut?( out?:boolean ): void; /** [Method] Sets the value of useCssTransform * @param useCssTransform Boolean */ - setUseCssTransform?( useCssTransform?:bool ): void; + setUseCssTransform?( useCssTransform?:boolean ): void; } } declare module Ext.fx.animation { @@ -30384,13 +29798,13 @@ declare module Ext.fx.animation { /** [Config Option] (String) */ easing?: string; /** [Config Option] (Boolean) */ - out?: bool; + out?: boolean; /** [Method] Returns the value of direction */ getDirection?(): string; /** [Method] Returns the value of easing */ getEasing?(): string; /** [Method] Returns the value of out */ - getOut?(): bool; + getOut?(): boolean; /** [Method] Sets the value of direction * @param direction String */ @@ -30402,7 +29816,7 @@ declare module Ext.fx.animation { /** [Method] Sets the value of out * @param out Boolean */ - setOut?( out?:bool ): void; + setOut?( out?:boolean ): void; } } declare module Ext.fx.animation { @@ -30412,13 +29826,13 @@ declare module Ext.fx.animation { /** [Config Option] (String) */ easing?: string; /** [Config Option] (Boolean) */ - out?: bool; + out?: boolean; /** [Method] Returns the value of direction */ getDirection?(): string; /** [Method] Returns the value of easing */ getEasing?(): string; /** [Method] Returns the value of out */ - getOut?(): bool; + getOut?(): boolean; /** [Method] Sets the value of direction * @param direction String */ @@ -30430,7 +29844,7 @@ declare module Ext.fx.animation { /** [Method] Sets the value of out * @param out Boolean */ - setOut?( out?:bool ): void; + setOut?( out?:boolean ): void; } } declare module Ext.fx.animation { @@ -30895,19 +30309,19 @@ declare module Ext { } declare module Ext { /** [Property] (Boolean) */ - export var SSL_SECURE_URL: bool; + export var SSL_SECURE_URL: boolean; /** [Property] (Function) */ export var emptyFn: any; /** [Property] (Boolean) */ - export var enableGarbageCollector: bool; + export var enableGarbageCollector: boolean; /** [Property] (Boolean) */ - export var enableListenerCollection: bool; + export var enableListenerCollection: boolean; /** [Property] (String[]) */ export var enumerables: string[]; /** [Property] (Object) */ export var frameStartTime: any; /** [Property] (Boolean) */ - export var isSecure: bool; + export var isSecure: boolean; /** [Property] (String) */ export var version: string; /** [Method] Loads Ext app Application class and starts it up with given configuration after the page is ready @@ -30932,7 +30346,7 @@ declare module Ext { * @param appendArgs Boolean/Number if true args are appended to call args instead of overriding, if a number the args are inserted at the specified position. */ export function bind( fn?:any, scope?:any, args?:any, appendArgs?:any ): any; - export function bind( fn?:any, scope?:any, args?:any[], appendArgs?:bool ): any; + export function bind( fn?:any, scope?:any, args?:any[], appendArgs?:boolean ): any; export function bind( fn?:any, scope?:any, args?:any[], appendArgs?:number ): any; /** [Method] Calls function after specified delay or right away when delay 0 * @param callback Function The callback to execute. @@ -30956,8 +30370,8 @@ declare module Ext { * @param usePrototypeKeys Boolean Pass true to copy keys off of the prototype as well as the instance. */ export function copyTo( dest?:any, source?:any, names?:any, usePrototypeKeys?:any ): any; - export function copyTo( dest?:any, source?:any, names?:string, usePrototypeKeys?:bool ): any; - export function copyTo( dest?:any, source?:any, names?:string[], usePrototypeKeys?:bool ): any; + export function copyTo( dest?:any, source?:any, names?:string, usePrototypeKeys?:boolean ): any; + export function copyTo( dest?:any, source?:any, names?:string[], usePrototypeKeys?:boolean ): any; /** [Method] Instantiate a class by either full name alias or alternate name * @param name String * @param args Mixed Additional arguments after the name will be passed to the class' constructor. @@ -30981,7 +30395,7 @@ declare module Ext { * @param json String The JSON string. * @param safe Boolean Whether to return null or throw an exception if the JSON is invalid. */ - export function decode( json?:string, safe?:bool ): any; + export function decode( json?:string, safe?:boolean ): any; /** [Method] Calls this function after the number of milliseconds specified optionally in a specific scope * @param fn Function The function to defer. * @param millis Number The number of milliseconds for the setTimeout() call. If less than or equal to 0 the function is executed immediately. @@ -30990,7 +30404,7 @@ declare module Ext { * @param appendArgs Boolean/Number if true, args are appended to call args instead of overriding, if a number the args are inserted at the specified position. */ export function defer( fn?:any, millis?:any, scope?:any, args?:any, appendArgs?:any ): any; - export function defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:bool ): number; + export function defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:boolean ): number; export function defer( fn?:any, millis?:number, scope?:any, args?:any[], appendArgs?:number ): number; /** [Method] Defines a class or override * @param className String The class name to create in string dot-namespaced format, for example: 'My.very.awesome.Class', 'FeedViewer.plugin.CoolPager' It is highly recommended to follow this simple convention: - The root and the class name are 'CamelCased' - Everything else is lower-cased @@ -31010,7 +30424,7 @@ declare module Ext { * @param scope Object The scope (this reference) in which the specified function is executed. * @param reverse Boolean Reverse the iteration order (loop from the end to the beginning). */ - export function each( iterable?:any, fn?:any, scope?:any, reverse?:bool ): bool; + export function each( iterable?:any, fn?:any, scope?:any, reverse?:boolean ): boolean; /** [Method] Shorthand for Ext JSON encode * @param o Object The variable to encode. */ @@ -31095,64 +30509,64 @@ declare module Ext { /** [Method] Returns true if the passed value is a JavaScript Array false otherwise * @param target Object The target to test. */ - export function isArray( target?:any ): bool; + export function isArray( target?:any ): boolean; /** [Method] Returns true if the passed value is a Boolean * @param value Object The value to test. */ - export function isBoolean( value?:any ): bool; + export function isBoolean( value?:any ): boolean; /** [Method] Returns true if the passed value is a JavaScript Date object false otherwise * @param object Object The object to test. */ - export function isDate( object?:any ): bool; + export function isDate( object?:any ): boolean; /** [Method] Returns true if the passed value is defined * @param value Object The value to test. */ - export function isDefined( value?:any ): bool; + export function isDefined( value?:any ): boolean; /** [Method] Returns true if the passed value is an HTMLElement * @param value Object The value to test. */ - export function isElement( value?:any ): bool; + export function isElement( value?:any ): boolean; /** [Method] Returns true if the passed value is empty false otherwise * @param value Object The value to test. * @param allowEmptyString Boolean true to allow empty strings. */ - export function isEmpty( value?:any, allowEmptyString?:bool ): bool; + export function isEmpty( value?:any, allowEmptyString?:boolean ): boolean; /** [Method] Returns true if the passed value is a JavaScript Function false otherwise * @param value Object The value to test. */ - export function isFunction( value?:any ): bool; + export function isFunction( value?:any ): boolean; /** [Method] Returns true if the passed value is iterable false otherwise * @param value Object The value to test. */ - export function isIterable( value?:any ): bool; + export function isIterable( value?:any ): boolean; /** [Method] Returns true if the passed value is a String that matches the MS Date JSON encoding format * @param value Object {String} The string to test */ - export function isMSDate( value?:any ): bool; + export function isMSDate( value?:any ): boolean; /** [Method] Returns true if the passed value is a number * @param value Object The value to test. */ - export function isNumber( value?:any ): bool; + export function isNumber( value?:any ): boolean; /** [Method] Validates that a value is numeric * @param value Object Examples: 1, '1', '2.34' */ - export function isNumeric( value?:any ): bool; + export function isNumeric( value?:any ): boolean; /** [Method] Returns true if the passed value is a JavaScript Object false otherwise * @param value Object The value to test. */ - export function isObject( value?:any ): bool; + export function isObject( value?:any ): boolean; /** [Method] Returns true if the passed value is a JavaScript primitive a string number or Boolean * @param value Object The value to test. */ - export function isPrimitive( value?:any ): bool; + export function isPrimitive( value?:any ): boolean; /** [Method] Returns true if the passed value is a string * @param value Object The value to test. */ - export function isString( value?:any ): bool; + export function isString( value?:any ): boolean; /** [Method] Returns true if the passed value is a TextNode * @param value Object The value to test. */ - export function isTextNode( value?:any ): bool; + export function isTextNode( value?:any ): boolean; /** [Method] Iterates either an array or an object * @param object Object/Array The object or array to be iterated. * @param fn Function The function to be called for each iteration. See and Ext.Array.each and Ext.Object.each for detailed lists of arguments passed to this function depending on the given object type that is being iterated. @@ -31194,7 +30608,7 @@ declare module Ext { * @param scope Object The scope in which the handler function executes. Defaults to the browser window. * @param options Boolean Options object as passed to Ext.Element.addListener. It is recommended that the options {single: true} be used so that the handler is removed on first invocation. */ - export function onReady( fn?:any, scope?:any, options?:bool ): void; + export function onReady( fn?:any, scope?:any, options?:boolean ): void; /** [Method] Proxy to Ext Base override * @param cls Object The class to override * @param overrides Object The properties to add to origClass. This should be specified as an object literal containing one or more properties. @@ -31264,8 +30678,8 @@ declare module Ext { * @param composite Boolean Return a CompositeElement as opposed to a CompositeElementLite. Defaults to false. */ export function select( selector?:any, composite?:any ): any; - export function select( selector?:string, composite?:bool ): Ext.dom.ICompositeElementLite; - export function select( selector?:HTMLElement[], composite?:bool ): Ext.dom.ICompositeElementLite; + export function select( selector?:string, composite?:boolean ): Ext.dom.ICompositeElementLite; + export function select( selector?:HTMLElement[], composite?:boolean ): Ext.dom.ICompositeElementLite; /** [Method] Ext setup is the entry point to initialize a Sencha Touch application * @param config Object An object with the following config options: */ @@ -31317,7 +30731,7 @@ declare module Ext { * @param defaultValue Object The value to return if the original value is empty. * @param allowBlank Boolean true to allow zero length strings to qualify as non-empty. */ - export function valueFrom( value?:any, defaultValue?:any, allowBlank?:bool ): any; + export function valueFrom( value?:any, defaultValue?:any, allowBlank?:boolean ): any; /** [Method] Convenient shorthand to create a widget by its xtype also see Ext ClassManager instantiateByAlias var button Ext * @param name String */ @@ -31331,7 +30745,7 @@ declare module Ext { * @param json String The JSON string. * @param safe Boolean Whether to return null or throw an exception if the JSON is invalid. */ - static decode( json?:string, safe?:bool ): any; + static decode( json?:string, safe?:boolean ): any; /** [Method] Encodes an Object Array or other value * @param o Object The variable to encode. */ @@ -31419,7 +30833,7 @@ declare module Ext.layout { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -31429,7 +30843,7 @@ declare module Ext.layout { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -31518,7 +30932,7 @@ declare module Ext.layout { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -31697,7 +31111,7 @@ declare module Ext.layout.wrapper { /** [Method] Returns the value of innerWrapper */ getInnerWrapper?(): any; /** [Method] Returns the value of sizeState */ - getSizeState?(): bool; + getSizeState?(): boolean; /** [Method] Sets the value of bodyElement * @param bodyElement Object */ @@ -31721,7 +31135,7 @@ declare module Ext.layout.wrapper { /** [Method] Sets the value of sizeState * @param sizeState Boolean */ - setSizeState?( sizeState?:bool ): void; + setSizeState?( sizeState?:boolean ): void; } } declare module Ext.layout.wrapper { @@ -31739,7 +31153,7 @@ declare module Ext.layout.wrapper { /** [Method] Returns the value of innerWrapper */ getInnerWrapper?(): any; /** [Method] Returns the value of sizeState */ - getSizeState?(): bool; + getSizeState?(): boolean; /** [Method] Sets the value of bodyElement * @param bodyElement Object */ @@ -31763,7 +31177,7 @@ declare module Ext.layout.wrapper { /** [Method] Sets the value of sizeState * @param sizeState Boolean */ - setSizeState?( sizeState?:bool ): void; + setSizeState?( sizeState?:boolean ): void; } } declare module Ext.layout.wrapper { @@ -31807,7 +31221,7 @@ declare module Ext { * @param scope Object The execution scope (this) of the callback function. * @param withDomReady Boolean Whether or not to wait for document DOM ready as well. */ - static onReady( fn?:any, scope?:any, withDomReady?:bool ): void; + static onReady( fn?:any, scope?:any, withDomReady?:boolean ): void; /** [Method] Loads all classes by the given names and all their direct dependencies optionally executes the given callback functi * @param expressions String/Array Can either be a string or an array of string. * @param fn Function The callback function. @@ -31845,7 +31259,7 @@ declare module Ext { declare module Ext { export interface ILoadMask extends Ext.IMask { /** [Config Option] (Boolean) */ - indicator?: bool; + indicator?: boolean; /** [Config Option] (String) */ message?: string; /** [Config Option] (String) */ @@ -31861,7 +31275,7 @@ declare module Ext { */ bindStore?( store?:Ext.data.IStore ): void; /** [Method] Returns the value of indicator */ - getIndicator?(): bool; + getIndicator?(): boolean; /** [Method] Returns the value of message */ getMessage?(): string; /** [Method] Returns the value of messageCls */ @@ -31869,7 +31283,7 @@ declare module Ext { /** [Method] Sets the value of indicator * @param indicator Boolean */ - setIndicator?( indicator?:bool ): void; + setIndicator?( indicator?:boolean ): void; /** [Method] Sets the value of message * @param message String */ @@ -31912,7 +31326,7 @@ declare module Ext { /** [Config Option] (Object) */ mapOptions?: any; /** [Config Option] (Boolean) */ - maskMap?: bool; + maskMap?: boolean; /** [Config Option] (String) */ maskMapCls?: string; /** [Config Option] (Boolean/Ext.util.Geolocation) */ @@ -31926,7 +31340,7 @@ declare module Ext { /** [Method] Returns the state of the Map */ getState?(): any; /** [Method] Returns the value of useCurrentLocation */ - getUseCurrentLocation?(): bool; + getUseCurrentLocation?(): boolean; /** [Method] Returns the value of useCurrentLocation */ getUseCurrentLocation?(): Ext.util.IGeolocation; /** [Method] Allows addition of behavior to the rendering phase */ @@ -31955,7 +31369,7 @@ declare module Ext { * @param useCurrentLocation Boolean/Ext.util.Geolocation */ setUseCurrentLocation?( useCurrentLocation?:any ): any; - setUseCurrentLocation?( useCurrentLocation?:bool ): void; + setUseCurrentLocation?( useCurrentLocation?:boolean ): void; setUseCurrentLocation?( useCurrentLocation?:Ext.util.IGeolocation ): void; /** [Method] Moves the map center to the designated coordinates hash of the form latitude 37 381592 longitude 122 135672 * @param coordinates Object/google.maps.LatLng Object representing the desired Latitude and longitude upon which to center the map. @@ -31968,11 +31382,11 @@ declare module Ext { /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - transparent?: bool; + transparent?: boolean; /** [Method] Returns the value of baseCls */ getBaseCls?(): string; /** [Method] Returns the value of transparent */ - getTransparent?(): bool; + getTransparent?(): boolean; /** [Method] Sets the value of baseCls * @param baseCls String */ @@ -31980,25 +31394,25 @@ declare module Ext { /** [Method] Sets the value of transparent * @param transparent Boolean */ - setTransparent?( transparent?:bool ): void; + setTransparent?( transparent?:boolean ): void; } } declare module Ext { export interface IMedia extends Ext.IComponent { /** [Config Option] (Boolean) */ - autoPause?: bool; + autoPause?: boolean; /** [Config Option] (Boolean) */ - autoResume?: bool; + autoResume?: boolean; /** [Config Option] (Boolean) */ - enableControls?: bool; + enableControls?: boolean; /** [Config Option] (Boolean) */ - loop?: bool; + loop?: boolean; /** [Config Option] (Ext.Element) */ media?: Ext.IElement; /** [Config Option] (Boolean) */ - muted?: bool; + muted?: boolean; /** [Config Option] (Boolean) */ - preload?: bool; + preload?: boolean; /** [Config Option] (String) */ url?: string; /** [Config Option] (Number) */ @@ -32006,23 +31420,23 @@ declare module Ext { /** [Method] Destroys this Component */ destroy?(): void; /** [Method] Returns the value of autoPause */ - getAutoPause?(): bool; + getAutoPause?(): boolean; /** [Method] Returns the value of autoResume */ - getAutoResume?(): bool; + getAutoResume?(): boolean; /** [Method] Returns the current time of the media in seconds */ getCurrentTime?(): number; /** [Method] Returns the duration of the media in seconds */ getDuration?(): number; /** [Method] Returns the value of enableControls */ - getEnableControls?(): bool; + getEnableControls?(): boolean; /** [Method] Returns the value of loop */ - getLoop?(): bool; + getLoop?(): boolean; /** [Method] Returns the value of media */ getMedia?(): Ext.IElement; /** [Method] Returns the value of muted */ - getMuted?(): bool; + getMuted?(): boolean; /** [Method] Returns the value of preload */ - getPreload?(): bool; + getPreload?(): boolean; /** [Method] Returns the value of url */ getUrl?(): string; /** [Method] Returns the value of volume */ @@ -32030,7 +31444,7 @@ declare module Ext { /** [Method] Allows addition of behavior to the rendering phase */ initialize?(): void; /** [Method] Returns if the media is currently playing */ - isPlaying?(): bool; + isPlaying?(): boolean; /** [Method] Pauses media playback */ pause?(): void; /** [Method] Starts or resumes media playback */ @@ -32038,19 +31452,19 @@ declare module Ext { /** [Method] Sets the value of autoPause * @param autoPause Boolean */ - setAutoPause?( autoPause?:bool ): void; + setAutoPause?( autoPause?:boolean ): void; /** [Method] Sets the value of autoResume * @param autoResume Boolean */ - setAutoResume?( autoResume?:bool ): void; + setAutoResume?( autoResume?:boolean ): void; /** [Method] Sets the value of enableControls * @param enableControls Boolean */ - setEnableControls?( enableControls?:bool ): void; + setEnableControls?( enableControls?:boolean ): void; /** [Method] Sets the value of loop * @param loop Boolean */ - setLoop?( loop?:bool ): void; + setLoop?( loop?:boolean ): void; /** [Method] Sets the value of media * @param media Ext.Element */ @@ -32058,11 +31472,11 @@ declare module Ext { /** [Method] Sets the value of muted * @param muted Boolean */ - setMuted?( muted?:bool ): void; + setMuted?( muted?:boolean ): void; /** [Method] Sets the value of preload * @param preload Boolean */ - setPreload?( preload?:bool ): void; + setPreload?( preload?:boolean ): void; /** [Method] Sets the value of url * @param url String */ @@ -32224,9 +31638,9 @@ declare module Ext.mixin { /** [Property] (Object) */ currentSortFn?: any; /** [Property] (Boolean) */ - dirtyFilterFn?: bool; + dirtyFilterFn?: boolean; /** [Property] (Boolean) */ - filtered?: bool; + filtered?: boolean; /** [Method] This method adds a filter * @param filter Ext.util.Sorter/Function/Object Can be an instance of Ext.util.Filter, an object representing an Ext.util.Filter configuration, or a filter function. */ @@ -32346,7 +31760,7 @@ declare module Ext.mixin { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -32358,7 +31772,7 @@ declare module Ext.mixin { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -32447,7 +31861,7 @@ declare module Ext.mixin { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -32555,7 +31969,7 @@ declare module Ext.util { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -32567,7 +31981,7 @@ declare module Ext.util { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -32656,7 +32070,7 @@ declare module Ext.util { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -32700,13 +32114,13 @@ declare module Ext.util { declare module Ext.mixin { export interface ISelectable extends Ext.mixin.IMixin { /** [Config Option] (Boolean) */ - allowDeselect?: bool; + allowDeselect?: boolean; /** [Config Option] (Boolean) */ - deselectOnContainerClick?: bool; + deselectOnContainerClick?: boolean; /** [Config Option] (Boolean) */ - disableSelection?: bool; + disableSelection?: boolean; /** [Config Option] (Boolean) */ - locked?: bool; + locked?: boolean; /** [Config Option] (String) */ mode?: string; /** [Method] Deselects any currently selected records and clears all stored selections */ @@ -32716,9 +32130,9 @@ declare module Ext.mixin { * @param suppressEvent Boolean If true the deselect event will not be fired. */ deselect?( records?:any, suppressEvent?:any ): any; - deselect?( records?:number, suppressEvent?:bool ): void; - deselect?( records?:any[], suppressEvent?:bool ): void; - deselect?( records?:Ext.data.IModel, suppressEvent?:bool ): void; + deselect?( records?:number, suppressEvent?:boolean ): void; + deselect?( records?:any[], suppressEvent?:boolean ): void; + deselect?( records?:Ext.data.IModel, suppressEvent?:boolean ): void; /** [Method] Deselects all records * @param supress Object */ @@ -32728,24 +32142,24 @@ declare module Ext.mixin { * @param suppressEvent Boolean Set to false to not fire a deselect event. */ doDeselect?( records?:any, suppressEvent?:any ): any; - doDeselect?( records?:Ext.data.IModel, suppressEvent?:bool ): void; - doDeselect?( records?:number, suppressEvent?:bool ): void; + doDeselect?( records?:Ext.data.IModel, suppressEvent?:boolean ): void; + doDeselect?( records?:number, suppressEvent?:boolean ): void; /** [Method] Selects a record instance by record instance or index * @param records Ext.data.Model/Number An array of records or an index. * @param keepExisting Boolean * @param suppressEvent Boolean Set to false to not fire a select event. */ doSelect?( records?:any, keepExisting?:any, suppressEvent?:any ): any; - doSelect?( records?:Ext.data.IModel, keepExisting?:bool, suppressEvent?:bool ): void; - doSelect?( records?:number, keepExisting?:bool, suppressEvent?:bool ): void; + doSelect?( records?:Ext.data.IModel, keepExisting?:boolean, suppressEvent?:boolean ): void; + doSelect?( records?:number, keepExisting?:boolean, suppressEvent?:boolean ): void; /** [Method] Returns the value of allowDeselect */ - getAllowDeselect?(): bool; + getAllowDeselect?(): boolean; /** [Method] Returns the number of selections */ getCount?(): number; /** [Method] Returns the value of deselectOnContainerClick */ - getDeselectOnContainerClick?(): bool; + getDeselectOnContainerClick?(): boolean; /** [Method] Returns the value of disableSelection */ - getDisableSelection?(): bool; + getDisableSelection?(): boolean; /** [Method] Returns the array of previously selected items */ getLastSelected?(): any[]; /** [Method] Returns the value of mode */ @@ -32757,46 +32171,46 @@ declare module Ext.mixin { /** [Method] Returns the selection mode currently used by this Selectable */ getSelectionMode?(): string; /** [Method] Returns true if there is a selected record */ - hasSelection?(): bool; + hasSelection?(): boolean; /** [Method] Returns true if the Selectable is currently locked */ - isLocked?(): bool; + isLocked?(): boolean; /** [Method] Returns true if the specified row is selected * @param record Ext.data.Model/Number The record or index of the record to check. */ isSelected?( record?:any ): any; - isSelected?( record?:Ext.data.IModel ): bool; - isSelected?( record?:number ): bool; + isSelected?( record?:Ext.data.IModel ): boolean; + isSelected?( record?:number ): boolean; /** [Method] Adds the given records to the currently selected set * @param records Ext.data.Model/Array/Number The records to select. * @param keepExisting Boolean If true, the existing selection will be added to (if not, the old selection is replaced). * @param suppressEvent Boolean If true, the select event will not be fired. */ select?( records?:any, keepExisting?:any, suppressEvent?:any ): any; - select?( records?:Ext.data.IModel, keepExisting?:bool, suppressEvent?:bool ): void; - select?( records?:any[], keepExisting?:bool, suppressEvent?:bool ): void; - select?( records?:number, keepExisting?:bool, suppressEvent?:bool ): void; + select?( records?:Ext.data.IModel, keepExisting?:boolean, suppressEvent?:boolean ): void; + select?( records?:any[], keepExisting?:boolean, suppressEvent?:boolean ): void; + select?( records?:number, keepExisting?:boolean, suppressEvent?:boolean ): void; /** [Method] Selects all records * @param silent Boolean true to suppress all select events. */ - selectAll?( silent?:bool ): void; + selectAll?( silent?:boolean ): void; /** [Method] Selects a range of rows if the selection model getDisableSelection is not locked * @param startRecord Number The index of the first row in the range. * @param endRecord Number The index of the last row in the range. * @param keepExisting Boolean true to retain existing selections. */ - selectRange?( startRecord?:number, endRecord?:number, keepExisting?:bool ): void; + selectRange?( startRecord?:number, endRecord?:number, keepExisting?:boolean ): void; /** [Method] Sets the value of allowDeselect * @param allowDeselect Boolean */ - setAllowDeselect?( allowDeselect?:bool ): void; + setAllowDeselect?( allowDeselect?:boolean ): void; /** [Method] Sets the value of deselectOnContainerClick * @param deselectOnContainerClick Boolean */ - setDeselectOnContainerClick?( deselectOnContainerClick?:bool ): void; + setDeselectOnContainerClick?( deselectOnContainerClick?:boolean ): void; /** [Method] Sets the value of disableSelection * @param disableSelection Boolean */ - setDisableSelection?( disableSelection?:bool ): void; + setDisableSelection?( disableSelection?:boolean ): void; /** [Method] This was an internal function accidentally exposed in 1 x and now deprecated */ setLastFocused?(): void; /** [Method] Sets the value of mode @@ -32821,9 +32235,9 @@ declare module Ext.mixin { /** [Property] (Object) */ currentSortFn?: any; /** [Property] (Boolean) */ - dirtySortFn?: bool; + dirtySortFn?: boolean; /** [Property] (Boolean) */ - sorted?: bool; + sorted?: boolean; /** [Method] This method adds a sorter * @param sorter Ext.util.Sorter/String/Function/Object Can be an instance of Ext.util.Sorter, a string indicating a property name, an object representing an Ext.util.Sorter configuration, or a sort function. * @param defaultDirection String The default direction for each sorter in the array. Defaults to the value of defaultSortDirection. Can be either 'ASC' or 'DESC'. @@ -33022,7 +32436,7 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of activeItem */ static getActiveItem(): any; /** [Method] Returns the Component for a given index in the Container s items @@ -33030,25 +32444,25 @@ declare module Ext { */ static getAt( index?:number ): Ext.IComponent; /** [Method] Returns the value of autoDestroy */ - static getAutoDestroy(): bool; + static getAutoDestroy(): boolean; /** [Method] Returns the value of baseCls */ static getBaseCls(): string; /** [Method] Returns the value of bodyBorder */ static getBodyBorder(): number; /** [Method] Returns the value of bodyBorder */ - static getBodyBorder(): bool; + static getBodyBorder(): boolean; /** [Method] Returns the value of bodyBorder */ static getBodyBorder(): string; /** [Method] Returns the value of bodyMargin */ static getBodyMargin(): number; /** [Method] Returns the value of bodyMargin */ - static getBodyMargin(): bool; + static getBodyMargin(): boolean; /** [Method] Returns the value of bodyMargin */ static getBodyMargin(): string; /** [Method] Returns the value of bodyPadding */ static getBodyPadding(): number; /** [Method] Returns the value of bodyPadding */ - static getBodyPadding(): bool; + static getBodyPadding(): boolean; /** [Method] Returns the value of bodyPadding */ static getBodyPadding(): string; /** [Method] Returns the value of border */ @@ -33066,7 +32480,7 @@ declare module Ext { /** [Method] Returns the value of buttons */ static getButtons(): any; /** [Method] Returns the value of centered */ - static getCentered(): bool; + static getCentered(): boolean; /** [Method] Returns the value of cls */ static getCls(): string; /** [Method] Returns the value of cls */ @@ -33094,7 +32508,7 @@ declare module Ext { /** [Method] Returns the value of defaults */ static getDefaults(): any; /** [Method] Returns the value of disabled */ - static getDisabled(): bool; + static getDisabled(): boolean; /** [Method] Returns the value of disabledCls */ static getDisabledCls(): string; /** [Method] Returns the value of docked */ @@ -33108,8 +32522,8 @@ declare module Ext { /** [Method] Finds a docked item of this container using a reference idor an index of its location in getDockedItems * @param component String/Number The id or index of the component to find. */ - static getDockedComponent( component?:string ): bool; - static getDockedComponent( component?:number ): bool; + static getDockedComponent( component?:string ): boolean; + static getDockedComponent( component?:number ): boolean; /** [Method] Returns all the Ext Component docked items in this container */ static getDockedItems(): any[]; /** [Method] Retrieves the top level element representing this component */ @@ -33135,13 +32549,13 @@ declare module Ext { /** [Method] Returns the value of height */ static getHeight(): string; /** [Method] Returns the value of hidden */ - static getHidden(): bool; + static getHidden(): boolean; /** [Method] Returns the value of hiddenCls */ static getHiddenCls(): string; /** [Method] Returns the value of hideAnimation */ static getHideAnimation(): any; /** [Method] Returns the value of hideOnMaskTap */ - static getHideOnMaskTap(): bool; + static getHideOnMaskTap(): boolean; /** [Method] Returns the value of html */ static getHtml(): string; /** [Method] Returns the value of html */ @@ -33215,15 +32629,15 @@ declare module Ext { /** [Method] Returns the height and width of the Component */ static getSize(): any; /** [Method] Returns the value of stretchX */ - static getStretchX(): bool; + static getStretchX(): boolean; /** [Method] Returns the value of stretchY */ - static getStretchY(): bool; + static getStretchY(): boolean; /** [Method] Returns the value of style */ static getStyle(): any; /** [Method] Returns the value of styleHtmlCls */ static getStyleHtmlCls(): string; /** [Method] Returns the value of styleHtmlContent */ - static getStyleHtmlContent(): bool; + static getStyleHtmlContent(): boolean; /** [Method] Returns the value of title */ static getTitle(): string; /** [Method] Returns the value of top */ @@ -33253,9 +32667,9 @@ declare module Ext { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Returns true if this component has a parent */ - static hasParent(): bool; + static hasParent(): boolean; /** [Method] Hides this Component * @param animation Object/Boolean */ @@ -33272,14 +32686,14 @@ declare module Ext { */ static insert( index?:number, item?:any ): void; /** [Method] Returns true if this Component is currently disabled */ - static isDisabled(): bool; + static isDisabled(): boolean; /** [Method] Returns true if this Component is currently hidden */ - static isHidden(): bool; + static isHidden(): boolean; /** [Method] Tests whether or not this Component is of a specific xtype * @param xtype String The xtype to check for this Component. * @param shallow Boolean false to check whether this Component is descended from the xtype (this is the default), or true to check whether this Component is directly of the specified xtype. */ - static isXType( xtype?:string, shallow?:bool ): bool; + static isXType( xtype?:string, shallow?:boolean ): boolean; /** [Method] Convenience method which calls setMasked with a value of true to show the mask * @param mask Object */ @@ -33339,7 +32753,7 @@ declare module Ext { * @param prompt Object The configuration for the prompt. See the prompt documentation in Ext.MessageBox for more information. */ static prompt( title?:any, message?:any, fn?:any, scope?:any, multiLine?:any, value?:any, prompt?:any ): any; - static prompt( title?:string, message?:string, fn?:any, scope?:any, multiLine?:bool, value?:string, prompt?:any ): Ext.IMessageBox; + static prompt( title?:string, message?:string, fn?:any, scope?:any, multiLine?:boolean, value?:string, prompt?:any ): Ext.IMessageBox; static prompt( title?:string, message?:string, fn?:any, scope?:any, multiLine?:number, value?:string, prompt?:any ): Ext.IMessageBox; /** [Method] Retrieves all descendant components which match the passed selector * @param selector String Selector complying to an Ext.ComponentQuery selector. @@ -33354,7 +32768,7 @@ declare module Ext { * @param item Object The item to remove. * @param destroy Boolean Calls the Component's destroy method if true. */ - static remove( item?:any, destroy?:bool ): Ext.IComponent; + static remove( item?:any, destroy?:boolean ): Ext.IComponent; /** [Method] Removes a before event handler * @param eventName String/String[]/Object The name of the event the handler was associated with. * @param fn Function/String The handler to remove. @@ -33367,7 +32781,7 @@ declare module Ext { * @param destroy Boolean If true, destroys each removed Component. * @param everything Boolean If true, completely remove all items including docked / centered and floating items. */ - static removeAll( destroy?:bool, everything?:bool ): Ext.IComponent; + static removeAll( destroy?:boolean, everything?:boolean ): Ext.IComponent; /** [Method] Removes the Component at the specified index myContainer removeAt 0 removes the first item * @param index Number The index of the Component to remove. */ @@ -33390,7 +32804,7 @@ declare module Ext { * @param item Object The item to remove. * @param destroy Boolean Calls the Component's destroy method if true. */ - static removeDocked( item?:any, destroy?:bool ): Ext.IComponent; + static removeDocked( item?:any, destroy?:boolean ): Ext.IComponent; /** [Method] Removes an inner Component at the specified index myContainer removeInnerAt 0 removes the first item of the in * @param index Number The index of the Component to remove. */ @@ -33426,7 +32840,7 @@ declare module Ext { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - static resumeEvents( discardQueuedEvents?:bool ): void; + static resumeEvents( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of activeItem * @param activeItem Object/String/Number */ @@ -33434,7 +32848,7 @@ declare module Ext { /** [Method] Sets the value of autoDestroy * @param autoDestroy Boolean */ - static setAutoDestroy( autoDestroy?:bool ): void; + static setAutoDestroy( autoDestroy?:boolean ): void; /** [Method] Sets the value of baseCls * @param baseCls String */ @@ -33444,21 +32858,21 @@ declare module Ext { */ static setBodyBorder( bodyBorder?:any ): any; static setBodyBorder( bodyBorder?:number ): void; - static setBodyBorder( bodyBorder?:bool ): void; + static setBodyBorder( bodyBorder?:boolean ): void; static setBodyBorder( bodyBorder?:string ): void; /** [Method] Sets the value of bodyMargin * @param bodyMargin Number/Boolean/String */ static setBodyMargin( bodyMargin?:any ): any; static setBodyMargin( bodyMargin?:number ): void; - static setBodyMargin( bodyMargin?:bool ): void; + static setBodyMargin( bodyMargin?:boolean ): void; static setBodyMargin( bodyMargin?:string ): void; /** [Method] Sets the value of bodyPadding * @param bodyPadding Number/Boolean/String */ static setBodyPadding( bodyPadding?:any ): any; static setBodyPadding( bodyPadding?:number ): void; - static setBodyPadding( bodyPadding?:bool ): void; + static setBodyPadding( bodyPadding?:boolean ): void; static setBodyPadding( bodyPadding?:string ): void; /** [Method] Sets the value of border * @param border Number/String @@ -33485,7 +32899,7 @@ declare module Ext { /** [Method] Sets the value of centered * @param centered Boolean */ - static setCentered( centered?:bool ): void; + static setCentered( centered?:boolean ): void; /** [Method] Sets the value of cls * @param cls String/String[] */ @@ -33522,7 +32936,7 @@ declare module Ext { /** [Method] Sets the value of disabled * @param disabled Boolean */ - static setDisabled( disabled?:bool ): void; + static setDisabled( disabled?:boolean ): void; /** [Method] Sets the value of disabledCls * @param disabledCls String */ @@ -33560,7 +32974,7 @@ declare module Ext { /** [Method] Used to update the floating state of this component * @param floating Boolean true if you want to float this component. */ - static setFloating( floating?:bool ): void; + static setFloating( floating?:boolean ): void; /** [Method] Sets the value of floatingCls * @param floatingCls String */ @@ -33574,7 +32988,7 @@ declare module Ext { /** [Method] Sets the value of hidden * @param hidden Boolean */ - static setHidden( hidden?:bool ): void; + static setHidden( hidden?:boolean ): void; /** [Method] Sets the value of hiddenCls * @param hiddenCls String */ @@ -33586,7 +33000,7 @@ declare module Ext { /** [Method] Sets the value of hideOnMaskTap * @param hideOnMaskTap Boolean */ - static setHideOnMaskTap( hideOnMaskTap?:bool ): void; + static setHideOnMaskTap( hideOnMaskTap?:boolean ): void; /** [Method] Sets the value of html * @param html String/Ext.Element/HTMLElement */ @@ -33706,11 +33120,11 @@ declare module Ext { /** [Method] Sets the value of stretchX * @param stretchX Boolean */ - static setStretchX( stretchX?:bool ): void; + static setStretchX( stretchX?:boolean ): void; /** [Method] Sets the value of stretchY * @param stretchY Boolean */ - static setStretchY( stretchY?:bool ): void; + static setStretchY( stretchY?:boolean ): void; /** [Method] Sets the value of style * @param style String/Object */ @@ -33722,7 +33136,7 @@ declare module Ext { /** [Method] Sets the value of styleHtmlContent * @param styleHtmlContent Boolean */ - static setStyleHtmlContent( styleHtmlContent?:bool ): void; + static setStyleHtmlContent( styleHtmlContent?:boolean ): void; /** [Method] Sets the value of title * @param title String */ @@ -33815,33 +33229,12 @@ declare module Ext { * @param message String */ static updateText( message?:string ): Ext.IMessageBox; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.navigation { export interface IBar extends Ext.ITitleBar { /** [Config Option] (Boolean) */ - androidAnimation?: bool; + androidAnimation?: boolean; /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (String) */ @@ -33849,7 +33242,7 @@ declare module Ext.navigation { /** [Config Option] (String) */ ui?: string; /** [Method] Returns the value of androidAnimation */ - getAndroidAnimation?(): bool; + getAndroidAnimation?(): boolean; /** [Method] Returns the value of baseCls */ getBaseCls?(): string; /** [Method] Returns the value of cls */ @@ -33859,7 +33252,7 @@ declare module Ext.navigation { /** [Method] Sets the value of androidAnimation * @param androidAnimation Boolean */ - setAndroidAnimation?( androidAnimation?:bool ): void; + setAndroidAnimation?( androidAnimation?:boolean ): void; /** [Method] Sets the value of baseCls * @param baseCls String */ @@ -33885,7 +33278,7 @@ declare module Ext.navigation { /** [Config Option] (Boolean/Object) */ navigationBar?: any; /** [Config Option] (Boolean) */ - useTitleForBackButtonText?: bool; + useTitleForBackButtonText?: boolean; /** [Method] Returns the value of baseCls */ getBaseCls?(): string; /** [Method] Returns the value of defaultBackButtonText */ @@ -33897,7 +33290,7 @@ declare module Ext.navigation { /** [Method] Returns the previous item if one exists */ getPreviousItem?(): any; /** [Method] Returns the value of useTitleForBackButtonText */ - getUseTitleForBackButtonText?(): bool; + getUseTitleForBackButtonText?(): boolean; /** [Method] Removes the current active view from the stack and sets the previous view using the default animation of this view * @param count Number The number of views you want to pop. */ @@ -33927,7 +33320,7 @@ declare module Ext.navigation { /** [Method] Sets the value of useTitleForBackButtonText * @param useTitleForBackButtonText Boolean */ - setUseTitleForBackButtonText?( useTitleForBackButtonText?:bool ): void; + setUseTitleForBackButtonText?( useTitleForBackButtonText?:boolean ): void; } } declare module Ext { @@ -33941,7 +33334,7 @@ declare module Ext { /** [Config Option] (Boolean/Object) */ navigationBar?: any; /** [Config Option] (Boolean) */ - useTitleForBackButtonText?: bool; + useTitleForBackButtonText?: boolean; /** [Method] Returns the value of baseCls */ getBaseCls?(): string; /** [Method] Returns the value of defaultBackButtonText */ @@ -33953,7 +33346,7 @@ declare module Ext { /** [Method] Returns the previous item if one exists */ getPreviousItem?(): any; /** [Method] Returns the value of useTitleForBackButtonText */ - getUseTitleForBackButtonText?(): bool; + getUseTitleForBackButtonText?(): boolean; /** [Method] Removes the current active view from the stack and sets the previous view using the default animation of this view * @param count Number The number of views you want to pop. */ @@ -33983,7 +33376,7 @@ declare module Ext { /** [Method] Sets the value of useTitleForBackButtonText * @param useTitleForBackButtonText Boolean */ - setUseTitleForBackButtonText?( useTitleForBackButtonText?:bool ): void; + setUseTitleForBackButtonText?( useTitleForBackButtonText?:boolean ): void; } } declare module Ext { @@ -34033,7 +33426,7 @@ declare module Ext { * @param queryString String The query string to decode. * @param recursive Boolean Whether or not to recursively decode the string. This format is supported by PHP / Ruby on Rails servers and similar. */ - static fromQueryString( queryString?:string, recursive?:bool ): any; + static fromQueryString( queryString?:string, recursive?:boolean ): any; /** [Method] Returns the first matching key corresponding to the given value * @param object Object * @param value Object The value to find @@ -34061,12 +33454,12 @@ declare module Ext { * @param value Object * @param recursive Boolean true to recursively encode any sub-objects. */ - static toQueryObjects( name?:string, value?:any, recursive?:bool ): any[]; + static toQueryObjects( name?:string, value?:any, recursive?:boolean ): any[]; /** [Method] Takes an object and converts it to an encoded query string * @param object Object The object to encode. * @param recursive Boolean Whether or not to interpret the object in recursive format. (PHP / Ruby on Rails servers and similar). */ - static toQueryString( object?:any, recursive?:bool ): string; + static toQueryString( object?:any, recursive?:boolean ): string; } } declare module Ext { @@ -34101,30 +33494,9 @@ declare module Ext { /** [Method] A hybrid property can be either accessed as a method call i e if Ext os is Android * @param value String The OS name to check. */ - static is( value?:string ): bool; + static is( value?:string ): boolean; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -34142,19 +33514,19 @@ declare module Ext { /** [Method] Returns the value of bodyBorder */ getBodyBorder?(): number; /** [Method] Returns the value of bodyBorder */ - getBodyBorder?(): bool; + getBodyBorder?(): boolean; /** [Method] Returns the value of bodyBorder */ getBodyBorder?(): string; /** [Method] Returns the value of bodyMargin */ getBodyMargin?(): number; /** [Method] Returns the value of bodyMargin */ - getBodyMargin?(): bool; + getBodyMargin?(): boolean; /** [Method] Returns the value of bodyMargin */ getBodyMargin?(): string; /** [Method] Returns the value of bodyPadding */ getBodyPadding?(): number; /** [Method] Returns the value of bodyPadding */ - getBodyPadding?(): bool; + getBodyPadding?(): boolean; /** [Method] Returns the value of bodyPadding */ getBodyPadding?(): string; /** [Method] Sets the value of baseCls @@ -34166,21 +33538,21 @@ declare module Ext { */ setBodyBorder?( bodyBorder?:any ): any; setBodyBorder?( bodyBorder?:number ): void; - setBodyBorder?( bodyBorder?:bool ): void; + setBodyBorder?( bodyBorder?:boolean ): void; setBodyBorder?( bodyBorder?:string ): void; /** [Method] Sets the value of bodyMargin * @param bodyMargin Number/Boolean/String */ setBodyMargin?( bodyMargin?:any ): any; setBodyMargin?( bodyMargin?:number ): void; - setBodyMargin?( bodyMargin?:bool ): void; + setBodyMargin?( bodyMargin?:boolean ): void; setBodyMargin?( bodyMargin?:string ): void; /** [Method] Sets the value of bodyPadding * @param bodyPadding Number/Boolean/String */ setBodyPadding?( bodyPadding?:any ): any; setBodyPadding?( bodyPadding?:number ): void; - setBodyPadding?( bodyPadding?:bool ): void; + setBodyPadding?( bodyPadding?:boolean ): void; setBodyPadding?( bodyPadding?:string ): void; } } @@ -34199,19 +33571,19 @@ declare module Ext.lib { /** [Method] Returns the value of bodyBorder */ getBodyBorder?(): number; /** [Method] Returns the value of bodyBorder */ - getBodyBorder?(): bool; + getBodyBorder?(): boolean; /** [Method] Returns the value of bodyBorder */ getBodyBorder?(): string; /** [Method] Returns the value of bodyMargin */ getBodyMargin?(): number; /** [Method] Returns the value of bodyMargin */ - getBodyMargin?(): bool; + getBodyMargin?(): boolean; /** [Method] Returns the value of bodyMargin */ getBodyMargin?(): string; /** [Method] Returns the value of bodyPadding */ getBodyPadding?(): number; /** [Method] Returns the value of bodyPadding */ - getBodyPadding?(): bool; + getBodyPadding?(): boolean; /** [Method] Returns the value of bodyPadding */ getBodyPadding?(): string; /** [Method] Sets the value of baseCls @@ -34223,21 +33595,21 @@ declare module Ext.lib { */ setBodyBorder?( bodyBorder?:any ): any; setBodyBorder?( bodyBorder?:number ): void; - setBodyBorder?( bodyBorder?:bool ): void; + setBodyBorder?( bodyBorder?:boolean ): void; setBodyBorder?( bodyBorder?:string ): void; /** [Method] Sets the value of bodyMargin * @param bodyMargin Number/Boolean/String */ setBodyMargin?( bodyMargin?:any ): any; setBodyMargin?( bodyMargin?:number ): void; - setBodyMargin?( bodyMargin?:bool ): void; + setBodyMargin?( bodyMargin?:boolean ): void; setBodyMargin?( bodyMargin?:string ): void; /** [Method] Sets the value of bodyPadding * @param bodyPadding Number/Boolean/String */ setBodyPadding?( bodyPadding?:any ): any; setBodyPadding?( bodyPadding?:number ): void; - setBodyPadding?( bodyPadding?:bool ): void; + setBodyPadding?( bodyPadding?:boolean ): void; setBodyPadding?( bodyPadding?:string ): void; } } @@ -34454,7 +33826,7 @@ declare module Ext.picker { /** [Config Option] (Ext.TitleBar/Ext.Toolbar/Object) */ toolbar?: any; /** [Config Option] (Boolean) */ - useTitles?: bool; + useTitles?: boolean; /** [Config Option] (String/Number) */ value?: any; /** [Method] Updates the cancelButton configuration @@ -34490,7 +33862,7 @@ declare module Ext.picker { /** [Method] Returns the value of toolbarPosition */ getToolbarPosition?(): string; /** [Method] Returns the value of useTitles */ - getUseTitles?(): bool; + getUseTitles?(): boolean; /** [Method] Returns the values of each of the pickers slots * @param useDom Object */ @@ -34552,12 +33924,12 @@ declare module Ext.picker { /** [Method] Sets the value of useTitles * @param useTitles Boolean */ - setUseTitles?( useTitles?:bool ): void; + setUseTitles?( useTitles?:boolean ): void; /** [Method] Sets the values of the pickers slots * @param values Object The values in a {name:'value'} format. * @param animated Boolean true to animate setting the values. */ - setValue?( values?:any, animated?:bool ): Ext.IPicker; + setValue?( values?:any, animated?:boolean ): Ext.IPicker; /** [Method] Shows this component */ show?(): Ext.IComponent; } @@ -34587,7 +33959,7 @@ declare module Ext { /** [Config Option] (Ext.TitleBar/Ext.Toolbar/Object) */ toolbar?: any; /** [Config Option] (Boolean) */ - useTitles?: bool; + useTitles?: boolean; /** [Config Option] (String/Number) */ value?: any; /** [Method] Updates the cancelButton configuration @@ -34623,7 +33995,7 @@ declare module Ext { /** [Method] Returns the value of toolbarPosition */ getToolbarPosition?(): string; /** [Method] Returns the value of useTitles */ - getUseTitles?(): bool; + getUseTitles?(): boolean; /** [Method] Returns the values of each of the pickers slots * @param useDom Object */ @@ -34685,12 +34057,12 @@ declare module Ext { /** [Method] Sets the value of useTitles * @param useTitles Boolean */ - setUseTitles?( useTitles?:bool ): void; + setUseTitles?( useTitles?:boolean ): void; /** [Method] Sets the values of the pickers slots * @param values Object The values in a {name:'value'} format. * @param animated Boolean true to animate setting the values. */ - setValue?( values?:any, animated?:bool ): Ext.IPicker; + setValue?( values?:any, animated?:boolean ): Ext.IPicker; /** [Method] Shows this component */ show?(): Ext.IComponent; } @@ -34763,13 +34135,13 @@ declare module Ext.picker { declare module Ext.plugin { export interface IListPaging extends Ext.IComponent { /** [Config Option] (Boolean) */ - autoPaging?: bool; + autoPaging?: boolean; /** [Config Option] (String) */ loadMoreText?: string; /** [Config Option] (String) */ noMoreRecordsText?: string; /** [Method] Returns the value of autoPaging */ - getAutoPaging?(): bool; + getAutoPaging?(): boolean; /** [Method] Returns the value of loadMoreText */ getLoadMoreText?(): string; /** [Method] Returns the value of noMoreRecordsText */ @@ -34777,7 +34149,7 @@ declare module Ext.plugin { /** [Method] Sets the value of autoPaging * @param autoPaging Boolean */ - setAutoPaging?( autoPaging?:bool ): void; + setAutoPaging?( autoPaging?:boolean ): void; /** [Method] Sets the value of loadMoreText * @param loadMoreText String */ @@ -34791,7 +34163,7 @@ declare module Ext.plugin { declare module Ext.plugin { export interface IPullRefresh extends Ext.IComponent { /** [Config Option] (Boolean) */ - autoSnapBack?: bool; + autoSnapBack?: boolean; /** [Config Option] (String) */ lastUpdatedDateFormat?: string; /** [Config Option] (String) */ @@ -34813,7 +34185,7 @@ declare module Ext.plugin { /** [Config Option] (Number) */ snappingAnimationDuration?: number; /** [Method] Returns the value of autoSnapBack */ - getAutoSnapBack?(): bool; + getAutoSnapBack?(): boolean; /** [Method] Returns the value of lastUpdatedDateFormat */ getLastUpdatedDateFormat?(): string; /** [Method] Returns the value of lastUpdatedText */ @@ -34839,13 +34211,13 @@ declare module Ext.plugin { /** [Method] Returns the value of snappingAnimationDuration */ getSnappingAnimationDuration?(): number; /** [Method] Returns the value of translatable */ - getTranslatable?(): bool; + getTranslatable?(): boolean; /** [Method] Allows addition of behavior to the rendering phase */ initialize?(): void; /** [Method] Sets the value of autoSnapBack * @param autoSnapBack Boolean */ - setAutoSnapBack?( autoSnapBack?:bool ): void; + setAutoSnapBack?( autoSnapBack?:boolean ): void; /** [Method] Sets the value of lastUpdatedDateFormat * @param lastUpdatedDateFormat String */ @@ -34892,7 +34264,7 @@ declare module Ext.plugin { /** [Method] Sets the value of translatable * @param translatable Boolean */ - setTranslatable?( translatable?:bool ): void; + setTranslatable?( translatable?:boolean ): void; } } declare module Ext { @@ -34910,11 +34282,11 @@ declare module Ext.scroll.indicator { /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - hidden?: bool; + hidden?: boolean; /** [Config Option] (String) */ ui?: string; /** [Method] Returns the value of active */ - getActive?(): bool; + getActive?(): boolean; /** [Method] Returns the value of axis */ getAxis?(): string; /** [Method] Returns the value of barCls */ @@ -34922,7 +34294,7 @@ declare module Ext.scroll.indicator { /** [Method] Returns the value of baseCls */ getBaseCls?(): string; /** [Method] Returns the value of hidden */ - getHidden?(): bool; + getHidden?(): boolean; /** [Method] Returns the value of length */ getLength?(): any; /** [Method] Returns the value of minLength */ @@ -34936,7 +34308,7 @@ declare module Ext.scroll.indicator { /** [Method] Sets the value of active * @param active Boolean */ - setActive?( active?:bool ): void; + setActive?( active?:boolean ): void; /** [Method] Sets the value of axis * @param axis String */ @@ -34952,7 +34324,7 @@ declare module Ext.scroll.indicator { /** [Method] Sets the value of hidden * @param hidden Boolean */ - setHidden?( hidden?:bool ): void; + setHidden?( hidden?:boolean ): void; /** [Method] Sets the value of length * @param length Object */ @@ -35026,9 +34398,9 @@ declare module Ext.scroll { /** [Config Option] (String) */ direction?: string; /** [Config Option] (Boolean) */ - directionLock?: bool; + directionLock?: boolean; /** [Config Option] (Boolean) */ - disabled?: bool; + disabled?: boolean; /** [Config Option] (Number) */ friction?: number; /** [Config Option] (Object/Number) */ @@ -35042,9 +34414,9 @@ declare module Ext.scroll { /** [Method] Returns the value of direction */ getDirection?(): string; /** [Method] Returns the value of directionLock */ - getDirectionLock?(): bool; + getDirectionLock?(): boolean; /** [Method] Returns the value of disabled */ - getDisabled?(): bool; + getDisabled?(): boolean; /** [Method] Returns the value of initialOffset */ getInitialOffset?(): any; /** [Method] Returns the value of momentumEasing */ @@ -35058,7 +34430,7 @@ declare module Ext.scroll { /** [Method] Returns true if a specified axis is enabled * @param axis String The axis to check (x or y). */ - isAxisEnabled?( axis?:string ): bool; + isAxisEnabled?( axis?:string ): boolean; /** [Method] Change the scroll offset by the given amount * @param x Number The offset to scroll by on the x axis. * @param y Number The offset to scroll by on the y axis. @@ -35082,11 +34454,11 @@ declare module Ext.scroll { /** [Method] Sets the value of directionLock * @param directionLock Boolean */ - setDirectionLock?( directionLock?:bool ): void; + setDirectionLock?( directionLock?:boolean ): void; /** [Method] Sets the value of disabled * @param disabled Boolean */ - setDisabled?( disabled?:bool ): void; + setDisabled?( disabled?:boolean ): void; /** [Method] Sets the value of initialOffset * @param initialOffset Object/Number */ @@ -35206,11 +34578,11 @@ declare module Ext.util { declare module Ext { export interface ISegmentedButton extends Ext.IContainer { /** [Config Option] (Boolean) */ - allowDepress?: bool; + allowDepress?: boolean; /** [Config Option] (Boolean) */ - allowMultiple?: bool; + allowMultiple?: boolean; /** [Config Option] (Boolean) */ - allowToggle?: bool; + allowToggle?: boolean; /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (String) */ @@ -35224,11 +34596,11 @@ declare module Ext { /** [Method] We override initItems so we can check for the pressed config */ applyItems?(): void; /** [Method] Returns the value of allowDepress */ - getAllowDepress?(): bool; + getAllowDepress?(): boolean; /** [Method] Returns the value of allowMultiple */ - getAllowMultiple?(): bool; + getAllowMultiple?(): boolean; /** [Method] Returns the value of allowToggle */ - getAllowToggle?(): bool; + getAllowToggle?(): boolean; /** [Method] Returns the value of baseCls */ getBaseCls?(): string; /** [Method] Returns the value of defaultType */ @@ -35244,19 +34616,19 @@ declare module Ext { /** [Method] Returns true if a specified Ext Button is pressed * @param button Ext.Button The button to check if pressed. */ - isPressed?( button?:Ext.IButton ): bool; + isPressed?( button?:Ext.IButton ): boolean; /** [Method] Sets the value of allowDepress * @param allowDepress Boolean */ - setAllowDepress?( allowDepress?:bool ): void; + setAllowDepress?( allowDepress?:boolean ): void; /** [Method] Sets the value of allowMultiple * @param allowMultiple Boolean */ - setAllowMultiple?( allowMultiple?:bool ): void; + setAllowMultiple?( allowMultiple?:boolean ): void; /** [Method] Sets the value of allowToggle * @param allowToggle Boolean */ - setAllowToggle?( allowToggle?:bool ): void; + setAllowToggle?( allowToggle?:boolean ): void; /** [Method] Sets the value of baseCls * @param baseCls String */ @@ -35275,9 +34647,9 @@ declare module Ext { * @param suppressEvents Boolean true to suppress toggle events during the action. If allowMultiple is true, then setPressed will toggle the button state. */ setPressed?( button?:any, pressed?:any, suppressEvents?:any ): any; - setPressed?( button?:number, pressed?:bool, suppressEvents?:bool ): void; - setPressed?( button?:string, pressed?:bool, suppressEvents?:bool ): void; - setPressed?( button?:Ext.IButton, pressed?:bool, suppressEvents?:bool ): void; + setPressed?( button?:number, pressed?:boolean, suppressEvents?:boolean ): void; + setPressed?( button?:string, pressed?:boolean, suppressEvents?:boolean ): void; + setPressed?( button?:Ext.IButton, pressed?:boolean, suppressEvents?:boolean ): void; /** [Method] Sets the value of pressedButtons * @param pressedButtons Array */ @@ -35293,7 +34665,7 @@ declare module Ext { /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - centered?: bool; + centered?: boolean; /** [Config Option] (String) */ enter?: string; /** [Config Option] (String) */ @@ -35301,27 +34673,27 @@ declare module Ext { /** [Config Option] (String/Mixed) */ hideAnimation?: any; /** [Config Option] (Boolean) */ - modal?: bool; + modal?: boolean; /** [Config Option] (String/Mixed) */ showAnimation?: any; /** [Config Option] (Boolean) */ - stretchX?: bool; + stretchX?: boolean; /** [Config Option] (Boolean) */ - stretchY?: bool; + stretchY?: boolean; /** [Method] Returns the value of baseCls */ getBaseCls?(): string; /** [Method] Returns the value of centered */ - getCentered?(): bool; + getCentered?(): boolean; /** [Method] Returns the value of enter */ getEnter?(): string; /** [Method] Returns the value of exit */ getExit?(): string; /** [Method] Returns the value of modal */ - getModal?(): bool; + getModal?(): boolean; /** [Method] Returns the value of stretchX */ - getStretchX?(): bool; + getStretchX?(): boolean; /** [Method] Returns the value of stretchY */ - getStretchY?(): bool; + getStretchY?(): boolean; /** [Method] Sets the value of baseCls * @param baseCls String */ @@ -35329,7 +34701,7 @@ declare module Ext { /** [Method] Sets the value of centered * @param centered Boolean */ - setCentered?( centered?:bool ): void; + setCentered?( centered?:boolean ): void; /** [Method] Sets the value of enter * @param enter String */ @@ -35345,7 +34717,7 @@ declare module Ext { /** [Method] Sets the value of modal * @param modal Boolean */ - setModal?( modal?:bool ): void; + setModal?( modal?:boolean ): void; /** [Method] Sets the value of showAnimation * @param showAnimation Object */ @@ -35353,21 +34725,21 @@ declare module Ext { /** [Method] Sets the value of stretchX * @param stretchX Boolean */ - setStretchX?( stretchX?:bool ): void; + setStretchX?( stretchX?:boolean ): void; /** [Method] Sets the value of stretchY * @param stretchY Boolean */ - setStretchY?( stretchY?:bool ): void; + setStretchY?( stretchY?:boolean ): void; } } declare module Ext.slider { export interface ISlider extends Ext.IContainer { /** [Config Option] (Boolean) */ - allowThumbsOverlapping?: bool; + allowThumbsOverlapping?: boolean; /** [Config Option] (Boolean/Object) */ animation?: any; /** [Config Option] (Boolean) */ - animationDuration?: bool; + animationDuration?: boolean; /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Number) */ @@ -35377,7 +34749,7 @@ declare module Ext.slider { /** [Config Option] (Number) */ minValue?: number; /** [Config Option] (Boolean) */ - readOnly?: bool; + readOnly?: boolean; /** [Config Option] (Object) */ thumbConfig?: any; /** [Config Option] (Number/Number[]) */ @@ -35389,7 +34761,7 @@ declare module Ext.slider { */ applyIncrement?( increment?:number ): number; /** [Method] Returns the value of allowThumbsOverlapping */ - getAllowThumbsOverlapping?(): bool; + getAllowThumbsOverlapping?(): boolean; /** [Method] Returns the value of animation */ getAnimation?(): any; /** [Method] Returns the value of baseCls */ @@ -35401,7 +34773,7 @@ declare module Ext.slider { /** [Method] Returns the value of minValue */ getMinValue?(): number; /** [Method] Returns the value of readOnly */ - getReadOnly?(): bool; + getReadOnly?(): boolean; /** [Method] Returns the Thumb instance bound to this Slider * @param index Number The index of Thumb to return. */ @@ -35419,7 +34791,7 @@ declare module Ext.slider { /** [Method] Sets the value of allowThumbsOverlapping * @param allowThumbsOverlapping Boolean */ - setAllowThumbsOverlapping?( allowThumbsOverlapping?:bool ): void; + setAllowThumbsOverlapping?( allowThumbsOverlapping?:boolean ): void; /** [Method] Sets the value of animation * @param animation Boolean/Object */ @@ -35443,7 +34815,7 @@ declare module Ext.slider { /** [Method] Sets the value of readOnly * @param readOnly Boolean */ - setReadOnly?( readOnly?:bool ): void; + setReadOnly?( readOnly?:boolean ): void; /** [Method] Sets the value of thumbConfig * @param thumbConfig Object */ @@ -35553,7 +34925,7 @@ declare module Ext { * @param length Number The maximum length to allow before truncating. * @param word Boolean true to try to find a common word break. */ - static ellipsis( value?:string, length?:number, word?:bool ): string; + static ellipsis( value?:string, length?:number, word?:boolean ): string; /** [Method] Escapes the passed string for and * @param string String The string to escape. */ @@ -35685,7 +35057,7 @@ declare module Ext.tab { /** [Config Option] (Object) */ tabBar?: any; /** [Config Option] (Boolean) */ - tabBarDock?: bool; + tabBarDock?: boolean; /** [Config Option] (String) */ tabBarPosition?: string; /** [Config Option] (String) */ @@ -35694,7 +35066,7 @@ declare module Ext.tab { * @param tabBar Object * @param newTab Object */ - doTabChange?( tabBar?:any, newTab?:any ): bool; + doTabChange?( tabBar?:any, newTab?:any ): boolean; /** [Method] Returns the value of cls */ getCls?(): string; /** [Method] Returns the value of layout */ @@ -35743,7 +35115,7 @@ declare module Ext { /** [Config Option] (Object) */ tabBar?: any; /** [Config Option] (Boolean) */ - tabBarDock?: bool; + tabBarDock?: boolean; /** [Config Option] (String) */ tabBarPosition?: string; /** [Config Option] (String) */ @@ -35752,7 +35124,7 @@ declare module Ext { * @param tabBar Object * @param newTab Object */ - doTabChange?( tabBar?:any, newTab?:any ): bool; + doTabChange?( tabBar?:any, newTab?:any ): boolean; /** [Method] Returns the value of cls */ getCls?(): string; /** [Method] Returns the value of layout */ @@ -35795,7 +35167,7 @@ declare module Ext { declare module Ext.tab { export interface ITab extends Ext.IButton { /** [Config Option] (Boolean) */ - active?: bool; + active?: boolean; /** [Config Option] (String) */ activeCls?: string; /** [Config Option] (String) */ @@ -35805,7 +35177,7 @@ declare module Ext.tab { /** [Config Option] (String) */ title?: string; /** [Method] Returns the value of active */ - getActive?(): bool; + getActive?(): boolean; /** [Method] Returns the value of activeCls */ getActiveCls?(): string; /** [Method] Returns the value of baseCls */ @@ -35817,7 +35189,7 @@ declare module Ext.tab { /** [Method] Sets the value of active * @param active Boolean */ - setActive?( active?:bool ): void; + setActive?( active?:boolean ): void; /** [Method] Sets the value of activeCls * @param activeCls String */ @@ -35839,7 +35211,7 @@ declare module Ext.tab { declare module Ext { export interface ITab extends Ext.IButton { /** [Config Option] (Boolean) */ - active?: bool; + active?: boolean; /** [Config Option] (String) */ activeCls?: string; /** [Config Option] (String) */ @@ -35849,7 +35221,7 @@ declare module Ext { /** [Config Option] (String) */ title?: string; /** [Method] Returns the value of active */ - getActive?(): bool; + getActive?(): boolean; /** [Method] Returns the value of activeCls */ getActiveCls?(): string; /** [Method] Returns the value of baseCls */ @@ -35861,7 +35233,7 @@ declare module Ext { /** [Method] Sets the value of active * @param active Boolean */ - setActive?( active?:bool ): void; + setActive?( active?:boolean ): void; /** [Method] Sets the value of activeCls * @param activeCls String */ @@ -35911,54 +35283,33 @@ declare module Ext { static initConfig( instanceConfig?:any ): any; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext { export interface ITemplate extends Ext.IBase { /** [Config Option] (Boolean) */ - compiled?: bool; + compiled?: boolean; /** [Config Option] (Boolean) */ - disableFormats?: bool; + disableFormats?: boolean; /** [Property] (Boolean) */ - isTemplate?: bool; + isTemplate?: boolean; /** [Method] Applies the supplied values to the template and appends the new node s to the specified el * @param el String/HTMLElement/Ext.Element The context element. * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return an Ext.Element. */ append?( el?:any, values?:any, returnElement?:any ): any; - append?( el?:string, values?:any, returnElement?:bool ): HTMLElement; - append?( el?:HTMLElement, values?:any, returnElement?:bool ): HTMLElement; - append?( el?:Ext.IElement, values?:any, returnElement?:bool ): HTMLElement; + append?( el?:string, values?:any, returnElement?:boolean ): HTMLElement; + append?( el?:HTMLElement, values?:any, returnElement?:boolean ): HTMLElement; + append?( el?:Ext.IElement, values?:any, returnElement?:boolean ): HTMLElement; /** [Method] Applies the supplied values to the template and appends the new node s to the specified el * @param el String/HTMLElement/Ext.Element The context element. * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return an Ext.Element. */ - append?( el?:string, values?:any, returnElement?:bool ): Ext.IElement; - append?( el?:HTMLElement, values?:any, returnElement?:bool ): Ext.IElement; - append?( el?:Ext.IElement, values?:any, returnElement?:bool ): Ext.IElement; + append?( el?:string, values?:any, returnElement?:boolean ): Ext.IElement; + append?( el?:HTMLElement, values?:any, returnElement?:boolean ): Ext.IElement; + append?( el?:Ext.IElement, values?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Returns an HTML fragment of this template with the specified values applied * @param values Object/Array The template values. Can be an array if your params are numeric: var tpl = new Ext.Template('Name: {0}, Age: {1}'); tpl.apply(['John', 25]); or an object: var tpl = new Ext.Template('Name: {name}, Age: {age}'); tpl.apply({name: 'John', age: 25}); */ @@ -35980,80 +35331,107 @@ declare module Ext { * @param returnElement Boolean true to return a Ext.Element. */ insertAfter?( el?:any, values?:any, returnElement?:any ): any; - insertAfter?( el?:string, values?:any, returnElement?:bool ): HTMLElement; - insertAfter?( el?:HTMLElement, values?:any, returnElement?:bool ): HTMLElement; - insertAfter?( el?:Ext.IElement, values?:any, returnElement?:bool ): HTMLElement; + insertAfter?( el?:string, values?:any, returnElement?:boolean ): HTMLElement; + insertAfter?( el?:HTMLElement, values?:any, returnElement?:boolean ): HTMLElement; + insertAfter?( el?:Ext.IElement, values?:any, returnElement?:boolean ): HTMLElement; /** [Method] Applies the supplied values to the template and inserts the new node s after el * @param el String/HTMLElement/Ext.Element The context element. * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return a Ext.Element. */ - insertAfter?( el?:string, values?:any, returnElement?:bool ): Ext.IElement; - insertAfter?( el?:HTMLElement, values?:any, returnElement?:bool ): Ext.IElement; - insertAfter?( el?:Ext.IElement, values?:any, returnElement?:bool ): Ext.IElement; + insertAfter?( el?:string, values?:any, returnElement?:boolean ): Ext.IElement; + insertAfter?( el?:HTMLElement, values?:any, returnElement?:boolean ): Ext.IElement; + insertAfter?( el?:Ext.IElement, values?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Applies the supplied values to the template and inserts the new node s before el * @param el String/HTMLElement/Ext.Element The context element. * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return an Ext.Element. */ insertBefore?( el?:any, values?:any, returnElement?:any ): any; - insertBefore?( el?:string, values?:any, returnElement?:bool ): HTMLElement; - insertBefore?( el?:HTMLElement, values?:any, returnElement?:bool ): HTMLElement; - insertBefore?( el?:Ext.IElement, values?:any, returnElement?:bool ): HTMLElement; + insertBefore?( el?:string, values?:any, returnElement?:boolean ): HTMLElement; + insertBefore?( el?:HTMLElement, values?:any, returnElement?:boolean ): HTMLElement; + insertBefore?( el?:Ext.IElement, values?:any, returnElement?:boolean ): HTMLElement; /** [Method] Applies the supplied values to the template and inserts the new node s before el * @param el String/HTMLElement/Ext.Element The context element. * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return an Ext.Element. */ - insertBefore?( el?:string, values?:any, returnElement?:bool ): Ext.IElement; - insertBefore?( el?:HTMLElement, values?:any, returnElement?:bool ): Ext.IElement; - insertBefore?( el?:Ext.IElement, values?:any, returnElement?:bool ): Ext.IElement; + insertBefore?( el?:string, values?:any, returnElement?:boolean ): Ext.IElement; + insertBefore?( el?:HTMLElement, values?:any, returnElement?:boolean ): Ext.IElement; + insertBefore?( el?:Ext.IElement, values?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Applies the supplied values to the template and inserts the new node s as the first child of el * @param el String/HTMLElement/Ext.Element The context element. * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return a Ext.Element. */ insertFirst?( el?:any, values?:any, returnElement?:any ): any; - insertFirst?( el?:string, values?:any, returnElement?:bool ): HTMLElement; - insertFirst?( el?:HTMLElement, values?:any, returnElement?:bool ): HTMLElement; - insertFirst?( el?:Ext.IElement, values?:any, returnElement?:bool ): HTMLElement; + insertFirst?( el?:string, values?:any, returnElement?:boolean ): HTMLElement; + insertFirst?( el?:HTMLElement, values?:any, returnElement?:boolean ): HTMLElement; + insertFirst?( el?:Ext.IElement, values?:any, returnElement?:boolean ): HTMLElement; /** [Method] Applies the supplied values to the template and inserts the new node s as the first child of el * @param el String/HTMLElement/Ext.Element The context element. * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return a Ext.Element. */ - insertFirst?( el?:string, values?:any, returnElement?:bool ): Ext.IElement; - insertFirst?( el?:HTMLElement, values?:any, returnElement?:bool ): Ext.IElement; - insertFirst?( el?:Ext.IElement, values?:any, returnElement?:bool ): Ext.IElement; + insertFirst?( el?:string, values?:any, returnElement?:boolean ): Ext.IElement; + insertFirst?( el?:HTMLElement, values?:any, returnElement?:boolean ): Ext.IElement; + insertFirst?( el?:Ext.IElement, values?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Applies the supplied values to the template and overwrites the content of el with the new node s * @param el String/HTMLElement/Ext.Element The context element. * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return a Ext.Element. */ overwrite?( el?:any, values?:any, returnElement?:any ): any; - overwrite?( el?:string, values?:any, returnElement?:bool ): HTMLElement; - overwrite?( el?:HTMLElement, values?:any, returnElement?:bool ): HTMLElement; - overwrite?( el?:Ext.IElement, values?:any, returnElement?:bool ): HTMLElement; + overwrite?( el?:string, values?:any, returnElement?:boolean ): HTMLElement; + overwrite?( el?:HTMLElement, values?:any, returnElement?:boolean ): HTMLElement; + overwrite?( el?:Ext.IElement, values?:any, returnElement?:boolean ): HTMLElement; /** [Method] Applies the supplied values to the template and overwrites the content of el with the new node s * @param el String/HTMLElement/Ext.Element The context element. * @param values Object/Array The template values. See applyTemplate for details. * @param returnElement Boolean true to return a Ext.Element. */ - overwrite?( el?:string, values?:any, returnElement?:bool ): Ext.IElement; - overwrite?( el?:HTMLElement, values?:any, returnElement?:bool ): Ext.IElement; - overwrite?( el?:Ext.IElement, values?:any, returnElement?:bool ): Ext.IElement; + overwrite?( el?:string, values?:any, returnElement?:boolean ): Ext.IElement; + overwrite?( el?:HTMLElement, values?:any, returnElement?:boolean ): Ext.IElement; + overwrite?( el?:Ext.IElement, values?:any, returnElement?:boolean ): Ext.IElement; /** [Method] Sets the HTML used as the template and optionally compiles it * @param html String * @param compile Boolean true to compile the template. */ - set?( html?:string, compile?:bool ): Ext.ITemplate; + set?( html?:string, compile?:boolean ): Ext.ITemplate; + } + export class Template { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] + * @param args Object + */ + static callParent( args?:any ): void; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Creates a template from the passed element s value display none textarea preferred or innerHTML * @param el String/HTMLElement A DOM element or its id. * @param config Object Config object. */ - from?( el?:any, config?:any ): any; - from?( el?:string, config?:any ): Ext.ITemplate; - from?( el?:HTMLElement, config?:any ): Ext.ITemplate; + static from( el?:any, config?:any ): any; + static from( el?:string, config?:any ): Ext.ITemplate; + static from( el?:HTMLElement, config?:any ): Ext.ITemplate; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext { @@ -36151,7 +35529,7 @@ declare module Ext { /** [Config Option] (String/Ext.Title) */ title?: any; /** [Config Option] (Boolean) */ - titleCls?: bool; + titleCls?: boolean; /** [Config Option] (String) */ ui?: string; /** [Method] Returns the value of baseCls */ @@ -36205,7 +35583,7 @@ declare module Ext { declare module Ext.util { export interface IAbstractMixedCollection extends Ext.IBase,Ext.mixin.IObservable { /** [Config Option] (Boolean) */ - allowFunctions?: bool; + allowFunctions?: boolean; /** [Method] Adds an item to the collection * @param key String The key to associate with the item, or the new item. If a getKey implementation was specified for this MixedCollection, or if the key of the stored items is in a property called id, the MixedCollection will be able to derive the key for the new item. In this case just pass the new item in this parameter. * @param obj Object The item to add. @@ -36266,15 +35644,15 @@ declare module Ext.util { * @param root String Optional 'root' property to extract the first argument from. This is used mainly when summing fields in records, where the fields are all stored inside the data object. * @param allowNull Boolean Pass true to allow null, undefined, or empty string values. */ - collect?( property?:string, root?:string, allowNull?:bool ): any[]; + collect?( property?:string, root?:string, allowNull?:boolean ): any[]; /** [Method] Returns true if the collection contains the passed Object as an item * @param o Object The Object to look for in the collection. */ - contains?( o?:any ): bool; + contains?( o?:any ): boolean; /** [Method] Returns true if the collection contains the passed Object as a key * @param key String The key to look for in the collection. */ - containsKey?( key?:string ): bool; + containsKey?( key?:string ): boolean; /** [Method] */ destroy?(): void; /** [Method] Executes the specified function once for every item in the collection @@ -36300,10 +35678,10 @@ declare module Ext.util { * @param caseSensitive Boolean true for case sensitive comparison. */ filter?( property?:any, value?:any, anyMatch?:any, caseSensitive?:any ): any; - filter?( property?:Ext.util.IFilter[], value?:string, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - filter?( property?:string, value?:string, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - filter?( property?:Ext.util.IFilter[], value?:RegExp, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; - filter?( property?:string, value?:RegExp, anyMatch?:bool, caseSensitive?:bool ): Ext.util.IMixedCollection; + filter?( property?:Ext.util.IFilter[], value?:string, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + filter?( property?:string, value?:string, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + filter?( property?:Ext.util.IFilter[], value?:RegExp, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; + filter?( property?:string, value?:RegExp, anyMatch?:boolean, caseSensitive?:boolean ): Ext.util.IMixedCollection; /** [Method] Filter by a function * @param fn Function The function to be called, it will receive the args o (the object), k (the key) * @param scope Object The scope (this reference) in which the function is executed. Defaults to this MixedCollection. @@ -36322,8 +35700,8 @@ declare module Ext.util { * @param caseSensitive Boolean true for case sensitive comparison. */ findIndex?( property?:any, value?:any, start?:any, anyMatch?:any, caseSensitive?:any ): any; - findIndex?( property?:string, value?:string, start?:number, anyMatch?:bool, caseSensitive?:bool ): number; - findIndex?( property?:string, value?:RegExp, start?:number, anyMatch?:bool, caseSensitive?:bool ): number; + findIndex?( property?:string, value?:string, start?:number, anyMatch?:boolean, caseSensitive?:boolean ): number; + findIndex?( property?:string, value?:RegExp, start?:number, anyMatch?:boolean, caseSensitive?:boolean ): number; /** [Method] Find the index of the first matching object in this collection by a function * @param fn Function The function to be called, it will receive the args o (the object), k (the key). * @param scope Object The scope (this reference) in which the function is executed. Defaults to this MixedCollection. @@ -36341,7 +35719,7 @@ declare module Ext.util { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the first item in the collection */ first?(): any; /** [Method] Returns the item associated with the passed key OR index @@ -36380,7 +35758,7 @@ declare module Ext.util { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Returns index within the collection of the passed Object * @param o Object The item to find the index of. */ @@ -36506,7 +35884,7 @@ declare module Ext.util { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -36606,11 +35984,11 @@ declare module Ext.util { /** [Method] Returns true if the collection contains the passed Object as an item * @param item Object The Object to look for in the collection. */ - contains?( item?:any ): bool; + contains?( item?:any ): boolean; /** [Method] Returns true if the collection contains the passed Object as a key * @param key String The key to look for in the collection. */ - containsKey?( key?:string ): bool; + containsKey?( key?:string ): boolean; /** [Method] */ destroy?(): void; /** [Method] Executes the specified function once for every item in the collection @@ -36664,9 +36042,9 @@ declare module Ext.util { */ getAt?( index?:number ): any; /** [Method] Returns the value of autoFilter */ - getAutoFilter?(): bool; + getAutoFilter?(): boolean; /** [Method] Returns the value of autoSort */ - getAutoSort?(): bool; + getAutoSort?(): boolean; /** [Method] Returns the item associated with the passed key * @param key String/Number The key of the item. */ @@ -36768,11 +36146,11 @@ declare module Ext.util { /** [Method] Sets the value of autoFilter * @param autoFilter Boolean */ - setAutoFilter?( autoFilter?:bool ): void; + setAutoFilter?( autoFilter?:boolean ): void; /** [Method] Sets the value of autoSort * @param autoSort Boolean */ - setAutoSort?( autoSort?:bool ): void; + setAutoSort?( autoSort?:boolean ): void; /** [Method] Sets the value of defaultSortDirection * @param defaultSortDirection String */ @@ -36914,7 +36292,7 @@ declare module Ext.util { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -36940,7 +36318,7 @@ declare module Ext.util { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -37029,7 +36407,7 @@ declare module Ext.util { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -37109,7 +36487,7 @@ declare module Ext.util { /** [Config Option] (String) */ baseCls?: string; /** [Config Option] (Boolean) */ - disabled?: bool; + disabled?: boolean; /** [Config Option] (String) */ group?: string; /** [Config Option] (String) */ @@ -37183,7 +36561,7 @@ declare module Ext.util { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of baseCls */ getBaseCls?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -37195,11 +36573,11 @@ declare module Ext.util { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Method to determine whether this Component is currently disabled */ - isDisabled?(): bool; + isDisabled?(): boolean; /** [Method] Method to determine whether this Droppable is currently monitoring drag operations of Draggables */ - isMonitoring?(): bool; + isMonitoring?(): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -37288,7 +36666,7 @@ declare module Ext.util { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of baseCls * @param baseCls String */ @@ -37336,11 +36714,11 @@ declare module Ext.util { declare module Ext.util { export interface IFilter extends Ext.IBase { /** [Config Option] (Boolean) */ - anyMatch?: bool; + anyMatch?: boolean; /** [Config Option] (Boolean) */ - caseSensitive?: bool; + caseSensitive?: boolean; /** [Config Option] (Boolean) */ - exactMatch?: bool; + exactMatch?: boolean; /** [Config Option] (Function) */ filterFn?: any; /** [Config Option] (String) */ @@ -37354,11 +36732,11 @@ declare module Ext.util { /** [Config Option] (RegExp/Mixed) */ value?: any; /** [Method] Returns the value of anyMatch */ - getAnyMatch?(): bool; + getAnyMatch?(): boolean; /** [Method] Returns the value of caseSensitive */ - getCaseSensitive?(): bool; + getCaseSensitive?(): boolean; /** [Method] Returns the value of exactMatch */ - getExactMatch?(): bool; + getExactMatch?(): boolean; /** [Method] Returns the value of filterFn */ getFilterFn?(): any; /** [Method] Returns the value of id */ @@ -37376,15 +36754,15 @@ declare module Ext.util { /** [Method] Sets the value of anyMatch * @param anyMatch Boolean */ - setAnyMatch?( anyMatch?:bool ): void; + setAnyMatch?( anyMatch?:boolean ): void; /** [Method] Sets the value of caseSensitive * @param caseSensitive Boolean */ - setCaseSensitive?( caseSensitive?:bool ): void; + setCaseSensitive?( caseSensitive?:boolean ): void; /** [Method] Sets the value of exactMatch * @param exactMatch Boolean */ - setExactMatch?( exactMatch?:bool ): void; + setExactMatch?( exactMatch?:boolean ): void; /** [Method] Sets the value of filterFn * @param filterFn Function */ @@ -37445,7 +36823,7 @@ declare module Ext.util { * @param length Number The maximum length to allow before truncating. * @param word Boolean True to try to find a common word break. */ - static ellipsis( value?:string, length?:number, word?:bool ): string; + static ellipsis( value?:string, length?:number, word?:boolean ): string; /** [Method] Escapes the passed string for and * @param string String The string to escape. */ @@ -37493,35 +36871,14 @@ declare module Ext.util { * @param string String The string to escape */ static trim( string?:string ): string; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.util { export interface IGeolocation extends Ext.IEvented { /** [Config Option] (Boolean) */ - allowHighAccuracy?: bool; + allowHighAccuracy?: boolean; /** [Config Option] (Boolean) */ - autoUpdate?: bool; + autoUpdate?: boolean; /** [Config Option] (Number) */ frequency?: number; /** [Config Option] (Number) */ @@ -37547,9 +36904,9 @@ declare module Ext.util { /** [Method] */ destroy?(): void; /** [Method] Returns the value of allowHighAccuracy */ - getAllowHighAccuracy?(): bool; + getAllowHighAccuracy?(): boolean; /** [Method] Returns the value of autoUpdate */ - getAutoUpdate?(): bool; + getAutoUpdate?(): boolean; /** [Method] Returns the value of frequency */ getFrequency?(): number; /** [Method] Returns the value of maximumAge */ @@ -37559,11 +36916,11 @@ declare module Ext.util { /** [Method] Sets the value of allowHighAccuracy * @param allowHighAccuracy Boolean */ - setAllowHighAccuracy?( allowHighAccuracy?:bool ): void; + setAllowHighAccuracy?( allowHighAccuracy?:boolean ): void; /** [Method] Sets the value of autoUpdate * @param autoUpdate Boolean */ - setAutoUpdate?( autoUpdate?:bool ): void; + setAutoUpdate?( autoUpdate?:boolean ): void; /** [Method] Sets the value of frequency * @param frequency Number */ @@ -37671,11 +37028,11 @@ declare module Ext.util { /** [Method] Checks whether a value exists in the hash * @param value Object The value to check for. */ - contains?( value?:any ): bool; + contains?( value?:any ): boolean; /** [Method] Checks whether a key exists in the hash * @param key String The key to check for. */ - containsKey?( key?:string ): bool; + containsKey?( key?:string ): boolean; /** [Method] */ destroy?(): void; /** [Method] Executes the specified function once for each item in the hash @@ -37700,7 +37057,7 @@ declare module Ext.util { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Retrieves an item with a particular key * @param key String The key to lookup. */ @@ -37720,7 +37077,7 @@ declare module Ext.util { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -37774,7 +37131,7 @@ declare module Ext.util { /** [Method] Remove an item from the hash * @param o Object The value of the item to remove. */ - remove?( o?:any ): bool; + remove?( o?:any ): boolean; /** [Method] Removes a before event handler * @param eventName String/String[]/Object The name of the event the handler was associated with. * @param fn Function/String The handler to remove. @@ -37794,7 +37151,7 @@ declare module Ext.util { /** [Method] Remove an item from the hash * @param key String The key to remove. */ - removeByKey?( key?:string ): bool; + removeByKey?( key?:string ): boolean; /** [Method] Removes an event handler * @param eventName String/String[]/Object The type of event the handler was associated with. * @param fn Function/String The handler to remove. This must be a reference to the function passed into the addListener call. @@ -37822,7 +37179,7 @@ declare module Ext.util { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -37903,7 +37260,7 @@ declare module Ext.util { /** [Method] Returns true if the given word is transnumeral the word is its own singular and plural form e g * @param word String The word to test */ - static isTransnumeral( word?:string ): bool; + static isTransnumeral( word?:string ): boolean; /** [Method] Ordinalizes a given number by adding a prefix such as st nd rd or th based on the last digit of the number * @param number Number The number to ordinalize */ @@ -37928,27 +37285,6 @@ declare module Ext.util { static singularize( word?:string ): string; /** [Method] Get the reference to the class from which this object was instantiated */ static statics(): Ext.IClass; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.util { @@ -37982,8 +37318,8 @@ declare module Ext.util { * @param doSort Boolean */ sort?( sorters?:any, direction?:any, where?:any, doSort?:any ): any; - sort?( sorters?:string, direction?:string, where?:string, doSort?:bool ): Ext.util.ISorter[]; - sort?( sorters?:Ext.util.ISorter[], direction?:string, where?:string, doSort?:bool ): Ext.util.ISorter[]; + sort?( sorters?:string, direction?:string, where?:string, doSort?:boolean ): Ext.util.ISorter[]; + sort?( sorters?:Ext.util.ISorter[], direction?:string, where?:string, doSort?:boolean ): Ext.util.ISorter[]; /** [Method] Sorts the collection by a single sorter function * @param sorterFn Function The function to sort by. */ @@ -38054,37 +37390,64 @@ declare module Ext.util { /** [Method] Compare this point and another point * @param point Ext.util.Point/Object The point to compare with, either an instance of Ext.util.Point or an object with x and y properties. */ - equals?( point?:any ): bool; + equals?( point?:any ): boolean; /** [Method] Whether the given point is not away from this point within the given threshold amount * @param point Ext.util.Point/Object The point to check with, either an instance of Ext.util.Point or an object with x and y properties. * @param threshold Object/Number Can be either an object with x and y properties or a number. */ - isCloseTo?( point?:any, threshold?:any ): bool; + isCloseTo?( point?:any, threshold?:any ): boolean; /** [Method] Returns true if this point is close to another one */ - isWithin?(): bool; + isWithin?(): boolean; /** [Method] Compare this point with another point when the x and y values of both points are rounded * @param point Ext.util.Point/Object The point to compare with, either an instance of Ext.util.Point or an object with x and y properties. */ - roundedEquals?( point?:any ): bool; + roundedEquals?( point?:any ): boolean; /** [Method] Returns a human eye friendly string that represents this point useful for debugging */ toString?(): string; /** [Method] Translate this point by the given amounts * @param x Number Amount to translate in the x-axis. * @param y Number Amount to translate in the y-axis. */ - translate?( x?:number, y?:number ): bool; + translate?( x?:number, y?:number ): boolean; + } + export class Point { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] + * @param args Object + */ + static callParent( args?:any ): void; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Returns a new point from an object that has x and y properties if that object is not an instance of Ext util Point * @param object Object */ - from?( object?:any ): Ext.util.IPoint; + static from( object?:any ): Ext.util.IPoint; /** [Method] Returns a new instance of Ext util Point based on the pageX pageY values of the given event * @param e Event The event. */ - fromEvent?( e?:Event ): Ext.util.IPoint; + static fromEvent( e?:Event ): Ext.util.IPoint; /** [Method] Returns a new instance of Ext util Point based on the pageX pageY values of the given touch * @param touch Event */ - fromTouch?( touch?:Event ): Ext.util.IPoint; + static fromTouch( touch?:Event ): Ext.util.IPoint; + /** [Method] Get the current class name in string format */ + static getName(): string; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext.util { @@ -38113,13 +37476,13 @@ declare module Ext.util { /** [Method] Checks if this region completely contains the region that is passed in * @param region Ext.util.Region */ - contains?( region?:Ext.util.IRegion ): bool; + contains?( region?:Ext.util.IRegion ): boolean; /** [Method] Copy a new instance */ copy?(): Ext.util.IRegion; /** [Method] Check whether this region is equivalent to the given region * @param region Ext.util.Region The region to compare with. */ - equals?( region?:Ext.util.IRegion ): bool; + equals?( region?:Ext.util.IRegion ): boolean; /** [Method] Get the offset amount of a point outside the region * @param axis String/Object optional. * @param p Ext.util.Point The point. @@ -38140,22 +37503,22 @@ declare module Ext.util { /** [Method] Checks if this region intersects the region passed in * @param region Ext.util.Region */ - intersect?( region?:Ext.util.IRegion ): bool; + intersect?( region?:Ext.util.IRegion ): boolean; /** [Method] Check whether the point offset is out of bounds * @param axis String optional * @param p Ext.util.Point/Number The point / offset. */ isOutOfBound?( axis?:any, p?:any ): any; - isOutOfBound?( axis?:string, p?:Ext.util.IPoint ): bool; - isOutOfBound?( axis?:string, p?:number ): bool; + isOutOfBound?( axis?:string, p?:Ext.util.IPoint ): boolean; + isOutOfBound?( axis?:string, p?:number ): boolean; /** [Method] Check whether the offset is out of bound in the x axis * @param p Number The offset. */ - isOutOfBoundX?( p?:number ): bool; + isOutOfBoundX?( p?:number ): boolean; /** [Method] Check whether the offset is out of bound in the y axis * @param p Number The offset. */ - isOutOfBoundY?( p?:number ): bool; + isOutOfBoundY?( p?:number ): boolean; /** [Method] Round all the properties of this region */ round?(): Ext.util.IRegion; /** [Method] Dump this to an eye friendly string great for debugging */ @@ -38168,17 +37531,44 @@ declare module Ext.util { * @param region Ext.util.Region */ union?( region?:Ext.util.IRegion ): Ext.util.IRegion; + } + export class Region { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] + * @param args Object + */ + static callParent( args?:any ): void; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; /** [Method] Creates new Region from an object Ext util Region from top 0 right 5 bottom 3 left 1 the above is eq * @param o Object An object with top, right, bottom, and left properties. */ - from?( o?:any ): Ext.util.IRegion; + static from( o?:any ): Ext.util.IRegion; + /** [Method] Get the current class name in string format */ + static getName(): string; /** [Method] Retrieves an Ext util Region for a particular element * @param el String/HTMLElement/Ext.Element The element or its ID. */ - getRegion?( el?:any ): any; - getRegion?( el?:string ): Ext.util.IRegion; - getRegion?( el?:HTMLElement ): Ext.util.IRegion; - getRegion?( el?:Ext.IElement ): Ext.util.IRegion; + static getRegion( el?:any ): any; + static getRegion( el?:string ): Ext.util.IRegion; + static getRegion( el?:HTMLElement ): Ext.util.IRegion; + static getRegion( el?:Ext.IElement ): Ext.util.IRegion; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext.util.sizemonitor { @@ -38232,7 +37622,7 @@ declare module Ext.util { /** [Property] (String) */ defaultSortDirection?: string; /** [Property] (Boolean) */ - isSortable?: bool; + isSortable?: boolean; /** [Property] (String) */ sortRoot?: string; /** [Property] (Ext.util.MixedCollection) */ @@ -38248,8 +37638,8 @@ declare module Ext.util { * @param doSort Boolean */ sort?( sorters?:any, direction?:any, where?:any, doSort?:any ): any; - sort?( sorters?:string, direction?:string, where?:string, doSort?:bool ): Ext.util.ISorter[]; - sort?( sorters?:Ext.util.ISorter[], direction?:string, where?:string, doSort?:bool ): Ext.util.ISorter[]; + sort?( sorters?:string, direction?:string, where?:string, doSort?:boolean ): Ext.util.ISorter[]; + sort?( sorters?:Ext.util.ISorter[], direction?:string, where?:string, doSort?:boolean ): Ext.util.ISorter[]; } } declare module Ext.util { @@ -38367,9 +37757,9 @@ declare module Ext.util { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - fireEvent?( eventName:string, ...args:any[] ): bool; + fireEvent?( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of accelerate */ - getAccelerate?(): bool; + getAccelerate?(): boolean; /** [Method] Returns the value of bubbleEvents */ getBubbleEvents?(): string; /** [Method] Returns the value of bubbleEvents */ @@ -38385,15 +37775,15 @@ declare module Ext.util { /** [Method] Returns the value of pressCls */ getPressCls?(): any; /** [Method] Returns the value of preventDefault */ - getPreventDefault?(): bool; + getPreventDefault?(): boolean; /** [Method] Returns the value of stopDefault */ - getStopDefault?(): bool; + getStopDefault?(): boolean; /** [Method] Returns the value of timer */ getTimer?(): number; /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - hasListener?( eventName?:string ): bool; + hasListener?( eventName?:string ): boolean; /** [Method] Alias for addManagedListener * @param object Ext.mixin.Observable/HTMLElement The item to which to add a listener/listeners. * @param eventName Object/String The event name, or an object containing event name properties. @@ -38482,11 +37872,11 @@ declare module Ext.util { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - resumeEvents?( discardQueuedEvents?:bool ): void; + resumeEvents?( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of accelerate * @param accelerate Boolean */ - setAccelerate?( accelerate?:bool ): void; + setAccelerate?( accelerate?:boolean ): void; /** [Method] Sets the value of bubbleEvents * @param bubbleEvents String/String[] */ @@ -38516,11 +37906,11 @@ declare module Ext.util { /** [Method] Sets the value of preventDefault * @param preventDefault Boolean */ - setPreventDefault?( preventDefault?:bool ): void; + setPreventDefault?( preventDefault?:boolean ): void; /** [Method] Sets the value of stopDefault * @param stopDefault Boolean */ - setStopDefault?( stopDefault?:bool ): void; + setStopDefault?( stopDefault?:boolean ): void; /** [Method] Sets the value of timer * @param timer Number */ @@ -38616,11 +38006,11 @@ declare module Ext.util.translatable { /** [Method] */ destroy?(): void; /** [Method] Returns the value of useWrapper */ - getUseWrapper?(): bool; + getUseWrapper?(): boolean; /** [Method] Sets the value of useWrapper * @param useWrapper Boolean */ - setUseWrapper?( useWrapper?:bool ): void; + setUseWrapper?( useWrapper?:boolean ): void; } } declare module Ext.util { @@ -38674,8 +38064,8 @@ declare module Ext { * @param target String/Number The version to compare with. */ equals?( target?:any ): any; - equals?( target?:string ): bool; - equals?( target?:number ): bool; + equals?( target?:string ): boolean; + equals?( target?:number ): boolean; /** [Method] Returns the build component value */ getBuild?(): number; /** [Method] Returns the major component value */ @@ -38696,56 +38086,56 @@ declare module Ext { * @param target String/Number */ gt?( target?:any ): any; - gt?( target?:string ): bool; - gt?( target?:number ): bool; + gt?( target?:string ): boolean; + gt?( target?:number ): boolean; /** [Method] Convenient alias to isGreaterThanOrEqual * @param target String/Number */ gtEq?( target?:any ): any; - gtEq?( target?:string ): bool; - gtEq?( target?:number ): bool; + gtEq?( target?:string ): boolean; + gtEq?( target?:number ): boolean; /** [Method] Returns whether this version if greater than the supplied argument * @param target String/Number The version to compare with. */ isGreaterThan?( target?:any ): any; - isGreaterThan?( target?:string ): bool; - isGreaterThan?( target?:number ): bool; + isGreaterThan?( target?:string ): boolean; + isGreaterThan?( target?:number ): boolean; /** [Method] Returns whether this version if greater than or equal to the supplied argument * @param target String/Number The version to compare with. */ isGreaterThanOrEqual?( target?:any ): any; - isGreaterThanOrEqual?( target?:string ): bool; - isGreaterThanOrEqual?( target?:number ): bool; + isGreaterThanOrEqual?( target?:string ): boolean; + isGreaterThanOrEqual?( target?:number ): boolean; /** [Method] Returns whether this version if smaller than the supplied argument * @param target String/Number The version to compare with. */ isLessThan?( target?:any ): any; - isLessThan?( target?:string ): bool; - isLessThan?( target?:number ): bool; + isLessThan?( target?:string ): boolean; + isLessThan?( target?:number ): boolean; /** [Method] Returns whether this version if less than or equal to the supplied argument * @param target String/Number The version to compare with. */ isLessThanOrEqual?( target?:any ): any; - isLessThanOrEqual?( target?:string ): bool; - isLessThanOrEqual?( target?:number ): bool; + isLessThanOrEqual?( target?:string ): boolean; + isLessThanOrEqual?( target?:number ): boolean; /** [Method] Convenient alias to isLessThan * @param target String/Number */ lt?( target?:any ): any; - lt?( target?:string ): bool; - lt?( target?:number ): bool; + lt?( target?:string ): boolean; + lt?( target?:number ): boolean; /** [Method] Convenient alias to isLessThanOrEqual * @param target String/Number */ ltEq?( target?:any ): any; - ltEq?( target?:string ): bool; - ltEq?( target?:number ): bool; + ltEq?( target?:string ): boolean; + ltEq?( target?:number ): boolean; /** [Method] Returns whether this version matches the supplied argument * @param target String/Number The version to compare with. */ match?( target?:any ): any; - match?( target?:string ): bool; - match?( target?:number ): bool; + match?( target?:string ): boolean; + match?( target?:number ): boolean; /** [Method] Set version number for the given package name * @param packageName String The package name, for example: 'core', 'touch', 'extjs'. * @param version String/Ext.Version The version, for example: '1.2.3alpha', '2.4.0-dev'. @@ -38759,15 +38149,17 @@ declare module Ext { * @param value Object */ toNumber?( value?:any ): number; + } + export class Version { /** [Method] Compare 2 specified versions starting from left to right * @param current String The current version to compare to. * @param target String The target version to compare to. */ - compare?( current?:string, target?:string ): number; + static compare( current?:string, target?:string ): number; /** [Method] Converts a version component to a comparable value * @param value Object The value to convert */ - getComponentValue?( value?:any ): any; + static getComponentValue( value?:any ): any; } } declare module Ext { @@ -38813,41 +38205,41 @@ declare module Ext { declare module Ext.viewport { export interface IAndroid extends Ext.viewport.IDefault { /** [Method] Returns the value of autoBlurInput */ - getAutoBlurInput?(): bool; + getAutoBlurInput?(): boolean; /** [Method] Sets the value of autoBlurInput * @param autoBlurInput Boolean */ - setAutoBlurInput?( autoBlurInput?:bool ): void; + setAutoBlurInput?( autoBlurInput?:boolean ): void; } } declare module Ext.viewport { export interface IDefault extends Ext.IContainer { /** [Config Option] (Boolean) */ - autoMaximize?: bool; + autoMaximize?: boolean; /** [Config Option] (String) */ id?: string; /** [Config Option] (Object/String) */ layout?: any; /** [Config Option] (Boolean) */ - preventPanning?: bool; + preventPanning?: boolean; /** [Config Option] (Boolean) */ - preventZooming?: bool; + preventZooming?: boolean; /** [Property] (Boolean) */ - isReady?: bool; + isReady?: boolean; /** [Method] Returns the value of autoMaximize */ - getAutoMaximize?(): bool; + getAutoMaximize?(): boolean; /** [Method] Returns the value of layout */ getLayout?(): any; /** [Method] Returns the current orientation */ getOrientation?(): string; /** [Method] Returns the value of preventPanning */ - getPreventPanning?(): bool; + getPreventPanning?(): boolean; /** [Method] Returns the value of preventZooming */ - getPreventZooming?(): bool; + getPreventZooming?(): boolean; /** [Method] Returns the height and width of the Component */ getSize?(): any; /** [Method] Returns the value of useBodyElement */ - getUseBodyElement?(): bool; + getUseBodyElement?(): boolean; /** [Method] Retrieves the document height */ getWindowHeight?(): number; /** [Method] Retrieves the document width */ @@ -38855,7 +38247,7 @@ declare module Ext.viewport { /** [Method] Sets the value of autoMaximize * @param autoMaximize Boolean */ - setAutoMaximize?( autoMaximize?:bool ): void; + setAutoMaximize?( autoMaximize?:boolean ): void; /** [Method] Sets the value of layout * @param layout Object/String */ @@ -38863,15 +38255,15 @@ declare module Ext.viewport { /** [Method] Sets the value of preventPanning * @param preventPanning Boolean */ - setPreventPanning?( preventPanning?:bool ): void; + setPreventPanning?( preventPanning?:boolean ): void; /** [Method] Sets the value of preventZooming * @param preventZooming Boolean */ - setPreventZooming?( preventZooming?:bool ): void; + setPreventZooming?( preventZooming?:boolean ): void; /** [Method] Sets the value of useBodyElement * @param useBodyElement Boolean */ - setUseBodyElement?( useBodyElement?:bool ): void; + setUseBodyElement?( useBodyElement?:boolean ): void; } } declare module Ext.viewport { @@ -38993,7 +38385,7 @@ declare module Ext { * @param eventName String The name of the event to fire. * @param args Object... Variable number of parameters are passed to handlers. */ - static fireEvent( eventName:string, ...args:any[] ): bool; + static fireEvent( eventName:string, ...args:any[] ): boolean; /** [Method] Returns the value of activeItem */ static getActiveItem(): any; /** [Method] Returns the Component for a given index in the Container s items @@ -39001,9 +38393,9 @@ declare module Ext { */ static getAt( index?:number ): Ext.IComponent; /** [Method] Returns the value of autoDestroy */ - static getAutoDestroy(): bool; + static getAutoDestroy(): boolean; /** [Method] Returns the value of autoMaximize */ - static getAutoMaximize(): bool; + static getAutoMaximize(): boolean; /** [Method] Returns the value of baseCls */ static getBaseCls(): string; /** [Method] Returns the value of border */ @@ -39019,7 +38411,7 @@ declare module Ext { /** [Method] Returns the value of bubbleEvents */ static getBubbleEvents(): string[]; /** [Method] Returns the value of centered */ - static getCentered(): bool; + static getCentered(): boolean; /** [Method] Returns the value of cls */ static getCls(): string; /** [Method] Returns the value of cls */ @@ -39045,7 +38437,7 @@ declare module Ext { /** [Method] Returns the value of defaults */ static getDefaults(): any; /** [Method] Returns the value of disabled */ - static getDisabled(): bool; + static getDisabled(): boolean; /** [Method] Returns the value of disabledCls */ static getDisabledCls(): string; /** [Method] Returns the value of docked */ @@ -39059,8 +38451,8 @@ declare module Ext { /** [Method] Finds a docked item of this container using a reference idor an index of its location in getDockedItems * @param component String/Number The id or index of the component to find. */ - static getDockedComponent( component?:string ): bool; - static getDockedComponent( component?:number ): bool; + static getDockedComponent( component?:string ): boolean; + static getDockedComponent( component?:number ): boolean; /** [Method] Returns all the Ext Component docked items in this container */ static getDockedItems(): any[]; /** [Method] Retrieves the top level element representing this component */ @@ -39078,7 +38470,7 @@ declare module Ext { /** [Method] Returns the value of floatingCls */ static getFloatingCls(): string; /** [Method] Returns the value of hidden */ - static getHidden(): bool; + static getHidden(): boolean; /** [Method] Returns the value of hiddenCls */ static getHiddenCls(): string; /** [Method] Returns the value of hideAnimation */ @@ -39086,7 +38478,7 @@ declare module Ext { /** [Method] Returns the value of hideAnimation */ static getHideAnimation(): any; /** [Method] Returns the value of hideOnMaskTap */ - static getHideOnMaskTap(): bool; + static getHideOnMaskTap(): boolean; /** [Method] Returns the value of html */ static getHtml(): string; /** [Method] Returns the value of html */ @@ -39136,7 +38528,7 @@ declare module Ext { /** [Method] Returns the value of minWidth */ static getMinWidth(): string; /** [Method] Returns the value of modal */ - static getModal(): bool; + static getModal(): boolean; /** [Method] Returns the current orientation */ static getOrientation(): string; /** [Method] Returns the value of padding */ @@ -39148,9 +38540,9 @@ declare module Ext { /** [Method] Returns the value of plugins */ static getPlugins(): any; /** [Method] Returns the value of preventPanning */ - static getPreventPanning(): bool; + static getPreventPanning(): boolean; /** [Method] Returns the value of preventZooming */ - static getPreventZooming(): bool; + static getPreventZooming(): boolean; /** [Method] Returns the value of record */ static getRecord(): Ext.data.IModel; /** [Method] Returns the value of renderTo */ @@ -39172,7 +38564,7 @@ declare module Ext { /** [Method] Returns the value of styleHtmlCls */ static getStyleHtmlCls(): string; /** [Method] Returns the value of styleHtmlContent */ - static getStyleHtmlContent(): bool; + static getStyleHtmlContent(): boolean; /** [Method] Returns the value of top */ static getTop(): number; /** [Method] Returns the value of top */ @@ -39190,7 +38582,7 @@ declare module Ext { /** [Method] Returns the value of ui */ static getUi(): string; /** [Method] Returns the value of useBodyElement */ - static getUseBodyElement(): bool; + static getUseBodyElement(): boolean; /** [Method] Retrieves the document height */ static getWindowHeight(): number; /** [Method] Retrieves the document width */ @@ -39202,9 +38594,9 @@ declare module Ext { /** [Method] Checks to see if this object has any listeners for a specified event * @param eventName String The name of the event to check for */ - static hasListener( eventName?:string ): bool; + static hasListener( eventName?:string ): boolean; /** [Method] Returns true if this component has a parent */ - static hasParent(): bool; + static hasParent(): boolean; /** [Method] Hides this Component * @param animation Object/Boolean */ @@ -39221,14 +38613,14 @@ declare module Ext { */ static insert( index?:number, item?:any ): void; /** [Method] Returns true if this Component is currently disabled */ - static isDisabled(): bool; + static isDisabled(): boolean; /** [Method] Returns true if this Component is currently hidden */ - static isHidden(): bool; + static isHidden(): boolean; /** [Method] Tests whether or not this Component is of a specific xtype * @param xtype String The xtype to check for this Component. * @param shallow Boolean false to check whether this Component is descended from the xtype (this is the default), or true to check whether this Component is directly of the specified xtype. */ - static isXType( xtype?:string, shallow?:bool ): bool; + static isXType( xtype?:string, shallow?:boolean ): boolean; /** [Method] Convenience method which calls setMasked with a value of true to show the mask * @param mask Object */ @@ -39291,7 +38683,7 @@ declare module Ext { * @param item Object The item to remove. * @param destroy Boolean Calls the Component's destroy method if true. */ - static remove( item?:any, destroy?:bool ): Ext.IComponent; + static remove( item?:any, destroy?:boolean ): Ext.IComponent; /** [Method] Removes a before event handler * @param eventName String/String[]/Object The name of the event the handler was associated with. * @param fn Function/String The handler to remove. @@ -39304,7 +38696,7 @@ declare module Ext { * @param destroy Boolean If true, destroys each removed Component. * @param everything Boolean If true, completely remove all items including docked / centered and floating items. */ - static removeAll( destroy?:bool, everything?:bool ): Ext.IComponent; + static removeAll( destroy?:boolean, everything?:boolean ): Ext.IComponent; /** [Method] Removes the Component at the specified index myContainer removeAt 0 removes the first item * @param index Number The index of the Component to remove. */ @@ -39327,7 +38719,7 @@ declare module Ext { * @param item Object The item to remove. * @param destroy Boolean Calls the Component's destroy method if true. */ - static removeDocked( item?:any, destroy?:bool ): Ext.IComponent; + static removeDocked( item?:any, destroy?:boolean ): Ext.IComponent; /** [Method] Removes an inner Component at the specified index myContainer removeInnerAt 0 removes the first item of the in * @param index Number The index of the Component to remove. */ @@ -39363,7 +38755,7 @@ declare module Ext { /** [Method] Resumes firing events see suspendEvents * @param discardQueuedEvents Boolean Pass as true to discard any queued events. */ - static resumeEvents( discardQueuedEvents?:bool ): void; + static resumeEvents( discardQueuedEvents?:boolean ): void; /** [Method] Sets the value of activeItem * @param activeItem Object/String/Number */ @@ -39371,11 +38763,11 @@ declare module Ext { /** [Method] Sets the value of autoDestroy * @param autoDestroy Boolean */ - static setAutoDestroy( autoDestroy?:bool ): void; + static setAutoDestroy( autoDestroy?:boolean ): void; /** [Method] Sets the value of autoMaximize * @param autoMaximize Boolean */ - static setAutoMaximize( autoMaximize?:bool ): void; + static setAutoMaximize( autoMaximize?:boolean ): void; /** [Method] Sets the value of baseCls * @param baseCls String */ @@ -39401,7 +38793,7 @@ declare module Ext { /** [Method] Sets the value of centered * @param centered Boolean */ - static setCentered( centered?:bool ): void; + static setCentered( centered?:boolean ): void; /** [Method] Sets the value of cls * @param cls String/String[] */ @@ -39434,7 +38826,7 @@ declare module Ext { /** [Method] Sets the value of disabled * @param disabled Boolean */ - static setDisabled( disabled?:bool ): void; + static setDisabled( disabled?:boolean ): void; /** [Method] Sets the value of disabledCls * @param disabledCls String */ @@ -39464,7 +38856,7 @@ declare module Ext { /** [Method] Used to update the floating state of this component * @param floating Boolean true if you want to float this component. */ - static setFloating( floating?:bool ): void; + static setFloating( floating?:boolean ): void; /** [Method] Sets the value of floatingCls * @param floatingCls String */ @@ -39472,7 +38864,7 @@ declare module Ext { /** [Method] Sets the value of hidden * @param hidden Boolean */ - static setHidden( hidden?:bool ): void; + static setHidden( hidden?:boolean ): void; /** [Method] Sets the value of hiddenCls * @param hiddenCls String */ @@ -39485,7 +38877,7 @@ declare module Ext { /** [Method] Sets the value of hideOnMaskTap * @param hideOnMaskTap Boolean */ - static setHideOnMaskTap( hideOnMaskTap?:bool ): void; + static setHideOnMaskTap( hideOnMaskTap?:boolean ): void; /** [Method] Sets the value of html * @param html String/Ext.Element/HTMLElement */ @@ -39552,7 +38944,7 @@ declare module Ext { /** [Method] Sets the value of modal * @param modal Boolean */ - static setModal( modal?:bool ): void; + static setModal( modal?:boolean ): void; /** [Method] Sets the value of padding * @param padding Number/String */ @@ -39566,11 +38958,11 @@ declare module Ext { /** [Method] Sets the value of preventPanning * @param preventPanning Boolean */ - static setPreventPanning( preventPanning?:bool ): void; + static setPreventPanning( preventPanning?:boolean ): void; /** [Method] Sets the value of preventZooming * @param preventZooming Boolean */ - static setPreventZooming( preventZooming?:bool ): void; + static setPreventZooming( preventZooming?:boolean ): void; /** [Method] Sets the value of record * @param record Ext.data.Model */ @@ -39610,7 +39002,7 @@ declare module Ext { /** [Method] Sets the value of styleHtmlContent * @param styleHtmlContent Boolean */ - static setStyleHtmlContent( styleHtmlContent?:bool ): void; + static setStyleHtmlContent( styleHtmlContent?:boolean ): void; /** [Method] Sets the value of top * @param top Number/String */ @@ -39636,7 +39028,7 @@ declare module Ext { /** [Method] Sets the value of useBodyElement * @param useBodyElement Boolean */ - static setUseBodyElement( useBodyElement?:bool ): void; + static setUseBodyElement( useBodyElement?:boolean ): void; /** [Method] Sets the value of zIndex * @param zIndex Number */ @@ -39693,27 +39085,6 @@ declare module Ext { * @param oldHtmlCls Object */ static updateStyleHtmlCls( newHtmlCls?:any, oldHtmlCls?:any ): void; - /** [Method] Add methods properties to the prototype of this class - * @param members Object - */ - static addMembers( members?:any ): void; - /** [Method] Add override static properties of this class - * @param members Object - */ - static addStatics( members?:any ): Ext.IBase; - /** [Method] Create a new instance of this Class */ - static create(): any; - /** [Method] Create aliases for existing prototype methods - * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter - * @param origin String/Object The original method name - */ - static createAlias( alias?:any, origin?:any ): void; - /** [Method] Get the current class name in string format */ - static getName(): string; - /** [Method] Override members of this class - * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. - */ - static override( members?:any ): Ext.IBase; } } declare module Ext.viewport { @@ -39740,11 +39111,45 @@ declare module Ext { * @param parent Object */ applyOut?( values?:any, out?:any[], parent?:any ): any[]; + } + export class XTemplate { + /** [Method] Add methods properties to the prototype of this class + * @param members Object + */ + static addMembers( members?:any ): void; + /** [Method] Add override static properties of this class + * @param members Object + */ + static addStatics( members?:any ): Ext.IBase; + /** [Method] + * @param args Object + */ + static callParent( args?:any ): void; + /** [Method] Create a new instance of this Class */ + static create(): any; + /** [Method] Create aliases for existing prototype methods + * @param alias String/Object The new method name, or an object to set multiple aliases. See flexSetter + * @param origin String/Object The original method name + */ + static createAlias( alias?:any, origin?:any ): void; + /** [Method] Creates a template from the passed element s value display none textarea preferred or innerHTML + * @param el String/HTMLElement A DOM element or its id. + * @param config Object Config object. + */ + static from( el?:any, config?:any ): any; + static from( el?:string, config?:any ): Ext.ITemplate; + static from( el?:HTMLElement, config?:any ): Ext.ITemplate; + /** [Method] Get the current class name in string format */ + static getName(): string; /** [Method] Gets an XTemplate from an object an instance of an Ext define d class * @param instance Object The object from which to get the XTemplate (must be an instance of an Ext.define'd class). * @param name String The name of the property by which to get the XTemplate. */ - getTpl?( instance?:any, name?:string ): Ext.IXTemplate; + static getTpl( instance?:any, name?:string ): Ext.IXTemplate; + /** [Method] Override members of this class + * @param members Object The properties to add to this class. This should be specified as an object literal containing one or more properties. + */ + static override( members?:any ): Ext.IBase; } } declare module Ext {