diff --git a/extjs/ExtJS.d.ts b/extjs/ExtJS.d.ts index b37966299c..570942e32b 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.