Merge branch 'master' into rename-repo-url

This commit is contained in:
vvakame
2016-03-17 21:06:54 +09:00
1140 changed files with 179704 additions and 179635 deletions
+763 -763
View File
File diff suppressed because it is too large Load Diff
+7255 -7255
View File
File diff suppressed because one or more lines are too long
+292 -292
View File
File diff suppressed because it is too large Load Diff
+14 -14
View File
@@ -4,18 +4,18 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/analytics.html
*
* Deprecated. Should require dojox/analytics modules directly rather than trying to access them through
* this module.
*
*
*/
interface analytics {
}
module analytics {
namespace analytics {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/analytics/Urchin.html
*
@@ -27,23 +27,23 @@ declare module dojox {
* stall until the external API has been completely loaded. The Urchin helper
* will load the API on the fly, and provide a convenient API to use, wrapping
* Analytics for Ajaxy or single page applications.
*
*
* The class can be instantiated two ways: Programatically, by passing an
* acct: parameter, or via Markup / dojoType and defining a djConfig
* parameter urchin:
*
*
* IMPORTANT:
* This module will not work simultaneously with the core dojox.analytics
* package. If you need the ability to run Google Analytics AND your own local
* analytics system, you MUST include dojox.analytics._base BEFORE dojox.analytics.Urchin
*
* @param args
*
* @param args
*/
class Urchin {
constructor(args: any);
/**
* your GA urchin tracker account number. Overrides djConfig.urchin
*
*
*/
"acct": string;
/**
@@ -52,22 +52,22 @@ declare module dojox {
* complete and initialized. The initial trackPageView (with
* no arguments) is called here as well, so remeber to call
* manually if overloading this method.
*
*
*/
GAonLoad(): void;
/**
* A public API attached to this widget instance, allowing you
* Ajax-like notification of updates.
*
* @param url A location to tell the tracker to track, eg: "/my-ajaxy-endpoint"
*
* @param url A location to tell the tracker to track, eg: "/my-ajaxy-endpoint"
*/
trackPageView(url: String): void;
}
module plugins {
namespace plugins {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/analytics/plugins/consoleMessages.html
*
*
*
*/
interface consoleMessages {
}
+650 -650
View File
File diff suppressed because it is too large Load Diff
+2076 -2076
View File
File diff suppressed because it is too large Load Diff
+1434 -1434
View File
File diff suppressed because it is too large Load Diff
+2734 -2734
View File
File diff suppressed because it is too large Load Diff
+5368 -5368
View File
File diff suppressed because it is too large Load Diff
+4269 -4269
View File
File diff suppressed because it is too large Load Diff
+43 -43
View File
@@ -4,81 +4,81 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/collections.html
*
* Deprecated. Should require dojox/collections modules directly rather than trying to access them through
* this module.
*
*
*/
interface collections {
}
module collections {
namespace collections {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/collections/_base.html
*
*
*
*/
interface _base {
/**
*
*
*/
Set: Object;
/**
* Returns a new object of type dojox.collections.ArrayList
*
* @param arr Optional
*
* @param arr Optional
*/
ArrayList(arr: any[]): void;
/**
*
* @param data
*
* @param data
*/
BinaryTree(data: any): void;
/**
* Returns an object of type dojox.collections.Dictionary
*
* @param dictionary Optional
*
* @param dictionary Optional
*/
Dictionary(dictionary: dojox.collections.Dictionary): void;
/**
* return an object of type dojox.collections.DictionaryEntry
*
* @param k
* @param v
*
* @param k
* @param v
*/
DictionaryEntry(k: String, v: Object): void;
/**
* return an object of type dojox.collections.DictionaryIterator
*
* @param obj
*
* @param obj
*/
DictionaryIterator(obj: Object): void;
/**
* return an object of type dojox.collections.Iterator
*
* @param a
*
* @param a
*/
Iterator(a: any[]): void;
/**
* return an object of type dojox.collections.Queue
*
* @param arr Optional
*
* @param arr Optional
*/
Queue(arr: any[]): void;
/**
* creates a collection that acts like a dictionary but is also internally sorted.
* Note that the act of adding any elements forces an internal resort, making this object potentially slow.
*
* @param dictionary Optional
*
* @param dictionary Optional
*/
SortedList(dictionary: Object): void;
/**
* returns an object of type dojox.collections.Stack
*
* @param arr Optional
*
* @param arr Optional
*/
Stack(arr: any[]): void;
}
@@ -86,38 +86,38 @@ declare module dojox {
* Permalink: http://dojotoolkit.org/api/1.9/dojox/collections/ArrayList.html
*
* Returns a new object of type dojox.collections.ArrayList
*
* @param arr Optional
*
* @param arr Optional
*/
interface ArrayList{(arr?: any[]): void}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/collections/BinaryTree.html
*
*
* @param data
*
* @param data
*/
interface BinaryTree{(data: any): void}
module BinaryTree {
namespace BinaryTree {
/**
*
*
*/
var TraversalMethods: Object
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/collections/BinaryTree.TraversalMethods.html
*
*
*
*/
interface TraversalMethods {
/**
*
*
*/
Inorder: number;
/**
*
*
*/
Postorder: number;
/**
*
*
*/
Preorder: number;
}
@@ -127,16 +127,16 @@ declare module dojox {
* Permalink: http://dojotoolkit.org/api/1.9/dojox/collections/Dictionary.html
*
* Returns an object of type dojox.collections.Dictionary
*
* @param dictionary Optional
*
* @param dictionary Optional
*/
interface Dictionary{(dictionary?: dojox.collections.Dictionary): void}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/collections/Queue.html
*
* return an object of type dojox.collections.Queue
*
* @param arr Optional
*
* @param arr Optional
*/
interface Queue{(arr?: any[]): void}
/**
@@ -144,16 +144,16 @@ declare module dojox {
*
* creates a collection that acts like a dictionary but is also internally sorted.
* Note that the act of adding any elements forces an internal resort, making this object potentially slow.
*
* @param dictionary Optional
*
* @param dictionary Optional
*/
interface SortedList{(dictionary?: Object): void}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/collections/Stack.html
*
* returns an object of type dojox.collections.Stack
*
* @param arr Optional
*
* @param arr Optional
*/
interface Stack{(arr?: any[]): void}
}
+93 -93
View File
@@ -4,58 +4,58 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="dojo.d.ts" />
declare module dojox {
declare namespace dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/color.html
*
* Deprecated. Should require dojox/color modules directly rather than trying to access them through
* this module.
*
*
*/
interface color {
}
module color {
namespace color {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/color/MeanColorModel.html
*
* A color model that returns a color from a data value
* using an interpolation between two extremum colors around the mean value.
*
* @param startColor The start color.
* @param endColor OptionalThe end color.
*
* @param startColor The start color.
* @param endColor OptionalThe end color.
*/
class MeanColorModel extends dojox.color.NeutralColorModel {
constructor(startColor: dojo._base.Color, endColor?: dojo._base.Color);
/**
* Return the neutral value in this case the mean value of the data values.
*
* @param min The minimal value.
* @param max The maximum value.
* @param sum The sum of all values.
* @param values The sorted array of values used to compute colors.
*
* @param min The minimal value.
* @param max The maximum value.
* @param sum The sum of all values.
* @param values The sorted array of values used to compute colors.
*/
computeNeutral(min: number, max: number, sum: number, values: number[]): any;
/**
* return the color for a given data value.
*
* @param value The data value.
*
* @param value The data value.
*/
getColor(value: number): any;
/**
* Return the normalized (between 0 and 1) value for a given data value.
* This implementation uses an power function to map neutral value to 0.5
* and distribute other values around it.
*
* @param value The data value
*
* @param value The data value
*/
getNormalizedValue(value: number): any;
/**
* Initialize the color model from a list of data items and using a function
* that returns the value used to compute the color for a given item.
*
* @param items The data items.
* @param colorFunc The function that returns the value used to compute the color for particular data item.
*
* @param items The data items.
* @param colorFunc The function that returns the value used to compute the color for particular data item.
*/
initialize(items: Object[], colorFunc: Function): void;
}
@@ -64,42 +64,42 @@ declare module dojox {
*
* Base class for color models that return a color from a data value
* using an interpolation between two extremum colors around a neutral value.
*
* @param startColor The start color.
* @param endColor OptionalThe end color.
*
* @param startColor The start color.
* @param endColor OptionalThe end color.
*/
class NeutralColorModel extends dojox.color.SimpleColorModel {
constructor(startColor: dojo._base.Color, endColor?: dojo._base.Color);
/**
* Return the neutral value. This can be for example the mean or average value.
* This function must be implemented by implementations.
*
* @param min The minimal value.
* @param max The maximum value.
* @param sum The sum of all values.
* @param values The sorted array of values used to compute colors.
*
* @param min The minimal value.
* @param max The maximum value.
* @param sum The sum of all values.
* @param values The sorted array of values used to compute colors.
*/
computeNeutral(min: number, max: number, sum: number, values: number[]): void;
/**
* return the color for a given data value.
*
* @param value The data value.
*
* @param value The data value.
*/
getColor(value: number): any;
/**
* Return the normalized (between 0 and 1) value for a given data value.
* This implementation uses an power function to map neutral value to 0.5
* and distribute other values around it.
*
* @param value The data value
*
* @param value The data value
*/
getNormalizedValue(value: number): any;
/**
* Initialize the color model from a list of data items and using a function
* that returns the value used to compute the color for a given item.
*
* @param items The data items.
* @param colorFunc The function that returns the value used to compute the color for particular data item.
*
* @param items The data items.
* @param colorFunc The function that returns the value used to compute the color for particular data item.
*/
initialize(items: Object[], colorFunc: Function): void;
}
@@ -108,23 +108,23 @@ declare module dojox {
*
* Base class for color models that return a color from a data value
* using an interpolation between two extremum colors.
*
* @param startColor The start color.
* @param endColor OptionalThe end color.
*
* @param startColor The start color.
* @param endColor OptionalThe end color.
*/
class SimpleColorModel {
constructor(startColor: dojo._base.Color, endColor?: dojo._base.Color);
/**
* return the color for a given data value.
*
* @param value The data value.
*
* @param value The data value.
*/
getColor(value: number): any;
/**
* Return the normalized (between 0 and 1) value for a given data value.
* This function must be implemented by implementations.
*
* @param value The data value.
*
* @param value The data value.
*/
getNormalizedValue(value: number): void;
}
@@ -135,13 +135,13 @@ declare module dojox {
* A Palette is a representation of a set of colors. While the standard
* number of colors contained in a palette is 5, it can really handle any
* number of colors.
*
*
* A palette is useful for the ability to transform all the colors in it
* using a simple object-based approach. In addition, you can generate
* palettes using dojox.color.Palette.generate; these generated palettes
* are based on the palette generators at http://kuler.adobe.com.
*
* @param base
*
* @param base
*/
interface Palette{(base: String): void}
/**
@@ -151,13 +151,13 @@ declare module dojox {
* A Palette is a representation of a set of colors. While the standard
* number of colors contained in a palette is 5, it can really handle any
* number of colors.
*
*
* A palette is useful for the ability to transform all the colors in it
* using a simple object-based approach. In addition, you can generate
* palettes using dojox.color.Palette.generate; these generated palettes
* are based on the palette generators at http://kuler.adobe.com.
*
* @param base
*
* @param base
*/
interface Palette{(base: any[]): void}
/**
@@ -167,13 +167,13 @@ declare module dojox {
* A Palette is a representation of a set of colors. While the standard
* number of colors contained in a palette is 5, it can really handle any
* number of colors.
*
*
* A palette is useful for the ability to transform all the colors in it
* using a simple object-based approach. In addition, you can generate
* palettes using dojox.color.Palette.generate; these generated palettes
* are based on the palette generators at http://kuler.adobe.com.
*
* @param base
*
* @param base
*/
interface Palette{(base: dojo._base.Color): void}
/**
@@ -183,23 +183,23 @@ declare module dojox {
* A Palette is a representation of a set of colors. While the standard
* number of colors contained in a palette is 5, it can really handle any
* number of colors.
*
*
* A palette is useful for the ability to transform all the colors in it
* using a simple object-based approach. In addition, you can generate
* palettes using dojox.color.Palette.generate; these generated palettes
* are based on the palette generators at http://kuler.adobe.com.
*
* @param base
*
* @param base
*/
interface Palette{(base: dojox.color.Palette): void}
module Palette {
namespace Palette {
/**
*
*
*/
var generators: Object
/**
* Clones the current palette.
*
*
*/
interface clone{(): any}
/**
@@ -207,9 +207,9 @@ declare module dojox {
* dojox.color.Palette.generators or an optional function definition. Current
* generators include "analogous", "monochromatic", "triadic", "complementary",
* "splitComplementary", and "shades".
*
* @param base
* @param type
*
* @param base
* @param type
*/
interface generate{(base: String, type: Function): any}
/**
@@ -217,9 +217,9 @@ declare module dojox {
* dojox.color.Palette.generators or an optional function definition. Current
* generators include "analogous", "monochromatic", "triadic", "complementary",
* "splitComplementary", and "shades".
*
* @param base
* @param type
*
* @param base
* @param type
*/
interface generate { (base: dojo._base.Color, type: Function): any}
/**
@@ -227,9 +227,9 @@ declare module dojox {
* dojox.color.Palette.generators or an optional function definition. Current
* generators include "analogous", "monochromatic", "triadic", "complementary",
* "splitComplementary", and "shades".
*
* @param base
* @param type
*
* @param base
* @param type
*/
interface generate{(base: String, type: String): any}
/**
@@ -237,9 +237,9 @@ declare module dojox {
* dojox.color.Palette.generators or an optional function definition. Current
* generators include "analogous", "monochromatic", "triadic", "complementary",
* "splitComplementary", and "shades".
*
* @param base
* @param type
*
* @param base
* @param type
*/
interface generate { (base: dojo._base.Color, type: String): any}
/**
@@ -248,71 +248,71 @@ declare module dojox {
* {palette}.transform is a simple way to uniformly transform
* all of the colors in a palette using any of 5 formulae:
* RGBA, HSL, HSV, CMYK or CMY.
*
*
* Once the forumula to be used is determined, you can pass any
* number of parameters based on the formula "d"[param]; for instance,
* { use: "rgba", dr: 20, dg: -50 } will take all of the colors in
* palette, add 20 to the R value and subtract 50 from the G value.
*
*
* Unlike other types of transformations, transform does not alter
* the original palette but will instead return a new one.
*
* @param kwArgs An object with the following properties:use (String, optional): Specify the color model to use for the transformation. Can be "rgb", "rgba", "hsv", "hsl", "cmy", "cmyk".dr (Number, optional): The delta to be applied to the red aspect of the RGB/RGBA color model.dg (Number, optional): The delta to be applied to the green aspect of the RGB/RGBA color model.db (Number, optional): The delta to be applied to the blue aspect of the RGB/RGBA color model.da (Number, optional): The delta to be applied to the alpha aspect of the RGBA color model.dc (Number, optional): The delta to be applied to the cyan aspect of the CMY/CMYK color model.dm (Number, optional): The delta to be applied to the magenta aspect of the CMY/CMYK color model.dy (Number, optional): The delta to be applied to the yellow aspect of the CMY/CMYK color model.dk (Number, optional): The delta to be applied to the black aspect of the CMYK color model.dh (Number, optional): The delta to be applied to the hue aspect of the HSL/HSV color model.ds (Number, optional): The delta to be applied to the saturation aspect of the HSL/HSV color model.dl (Number, optional): The delta to be applied to the luminosity aspect of the HSL color model.dv (Number, optional): The delta to be applied to the value aspect of the HSV color model.
*
* @param kwArgs An object with the following properties:use (String, optional): Specify the color model to use for the transformation. Can be "rgb", "rgba", "hsv", "hsl", "cmy", "cmyk".dr (Number, optional): The delta to be applied to the red aspect of the RGB/RGBA color model.dg (Number, optional): The delta to be applied to the green aspect of the RGB/RGBA color model.db (Number, optional): The delta to be applied to the blue aspect of the RGB/RGBA color model.da (Number, optional): The delta to be applied to the alpha aspect of the RGBA color model.dc (Number, optional): The delta to be applied to the cyan aspect of the CMY/CMYK color model.dm (Number, optional): The delta to be applied to the magenta aspect of the CMY/CMYK color model.dy (Number, optional): The delta to be applied to the yellow aspect of the CMY/CMYK color model.dk (Number, optional): The delta to be applied to the black aspect of the CMYK color model.dh (Number, optional): The delta to be applied to the hue aspect of the HSL/HSV color model.ds (Number, optional): The delta to be applied to the saturation aspect of the HSL/HSV color model.dl (Number, optional): The delta to be applied to the luminosity aspect of the HSL color model.dv (Number, optional): The delta to be applied to the value aspect of the HSV color model.
*/
interface transform{(kwArgs: Object): any}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/color/Palette.generators.html
*
*
*
*/
interface generators {
/**
* Create a 5 color palette based on the analogous rules as implemented at
* http://kuler.adobe.com.
*
* @param args An object with the following properties:base (dojo/_base/Color): The base color to be used to generate the palette.high (Number, optional): The difference between the hue of the base color and the highest hue. In degrees, default is 60.low (Number, optional): The difference between the hue of the base color and the lowest hue. In degrees, default is 18.
*
* @param args An object with the following properties:base (dojo/_base/Color): The base color to be used to generate the palette.high (Number, optional): The difference between the hue of the base color and the highest hue. In degrees, default is 60.low (Number, optional): The difference between the hue of the base color and the lowest hue. In degrees, default is 18.
*/
analogous(args: Object): any;
/**
* Create a 5 color palette based on the complementary rules as implemented at
* http://kuler.adobe.com.
*
* @param args An object with the following properties:base (dojo/_base/Color): The base color to be used to generate the palette.
*
* @param args An object with the following properties:base (dojo/_base/Color): The base color to be used to generate the palette.
*/
complementary(args: Object): any;
/**
* Create a 5 color palette based on the compound rules as implemented at
* http://kuler.adobe.com.
*
* @param args An object with the following properties:base (dojo/_base/Color): The base color to be used to generate the palette.
*
* @param args An object with the following properties:base (dojo/_base/Color): The base color to be used to generate the palette.
*/
compound(args: Object): any;
/**
* Create a 5 color palette based on the monochromatic rules as implemented at
* http://kuler.adobe.com.
*
* @param args An object with the following properties:base (dojo/_base/Color): The base color to be used to generate the palette.
*
* @param args An object with the following properties:base (dojo/_base/Color): The base color to be used to generate the palette.
*/
monochromatic(args: Object): any;
/**
* Create a 5 color palette based on the shades rules as implemented at
* http://kuler.adobe.com.
*
* @param args An object with the following properties:base (dojo/_base/Color): The base color to be used to generate the palette.
*
* @param args An object with the following properties:base (dojo/_base/Color): The base color to be used to generate the palette.
*/
shades(args: Object): any;
/**
* Create a 5 color palette based on the split complementary rules as implemented at
* http://kuler.adobe.com.
*
* @param args An object with the following properties:base (dojo/_base/Color): The base color to be used to generate the palette.da (Number, optional): The delta angle to be used to determine where the split for the complementary rules happen.In degrees, the default is 30.
*
* @param args An object with the following properties:base (dojo/_base/Color): The base color to be used to generate the palette.da (Number, optional): The delta angle to be used to determine where the split for the complementary rules happen.In degrees, the default is 30.
*/
splitComplementary(args: Object): any;
/**
* Create a 5 color palette based on the triadic rules as implemented at
* http://kuler.adobe.com.
*
* @param args An object with the following properties:base (dojo/_base/Color): The base color to be used to generate the palette.
*
* @param args An object with the following properties:base (dojo/_base/Color): The base color to be used to generate the palette.
*/
triadic(args: Object): any;
}
@@ -321,27 +321,27 @@ declare module dojox {
module _base {
}
module api {
namespace api {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/color/api/ColorModel.html
*
* API for classes that implement a color model that returns a color from a data value.
*
*
*/
class ColorModel {
constructor();
/**
* return the color for a given data value.
*
* @param value The data value.
*
* @param value The data value.
*/
getColor(value: number): void;
/**
* Optionally initialize the color model from a list of data items and using a function
* that returns the value used to compute the color for a given item.
*
* @param items The data items.
* @param colorFunc The function that returns the value used to compute the color for particular data item.
*
* @param items The data items.
* @param colorFunc The function that returns the value used to compute the color for particular data item.
*/
initialize(items: Object[], colorFunc: Function): void;
}
+60 -60
View File
@@ -4,23 +4,23 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
module css3 {
namespace css3 {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/css3/transit.html
*
* Performs a transition to hide a node and show another node.
* This module defines the transit method which is used
* to transit the specific region of an application from
* one view/page to another view/page. This module relies
* on utilities provided by dojox/css3/transition for the
* to transit the specific region of an application from
* one view/page to another view/page. This module relies
* on utilities provided by dojox/css3/transition for the
* transition effects.
*
* @param from
* @param to
* @param options OptionalThe argument to specify the transit effect and direction.The effect can be specified in options.transition. Thevalid values are 'slide', 'flip', 'fade', 'none'.The direction can be specified in options.reverse. If itis true, the transit effects will be conducted in thereverse direction to the default direction. Finally the durationof the transition can be overridden by setting the duration property.
*
* @param from
* @param to
* @param options OptionalThe argument to specify the transit effect and direction.The effect can be specified in options.transition. Thevalid values are 'slide', 'flip', 'fade', 'none'.The direction can be specified in options.reverse. If itis true, the transit effects will be conducted in thereverse direction to the default direction. Finally the durationof the transition can be overridden by setting the duration property.
*/
interface transit{(from: HTMLElement, to: HTMLElement, options?: Object): void}
/**
@@ -28,137 +28,137 @@ declare module dojox {
*
* This module defines the transition utilities which can be used
* to perform transition effects based on the CSS Transition standard.
*
* @param args OptionalThe arguments which will be mixed into this transition object.
*
* @param args OptionalThe arguments which will be mixed into this transition object.
*/
interface transition{(args?: Object): void}
module transition {
namespace transition {
/**
*
*
*/
var autoClear: boolean
/**
*
*
*/
var deferred: Object
/**
*
*
*/
var direction: number
/**
*
*
*/
var duration: number
/**
*
*
*/
var endState: Object
/**
*
*
*/
var in_: boolean
/**
*
*
*/
var node: Object
/**
*
*
*/
var playing: Object
/**
*
*
*/
var startState: Object
/**
* The callback which will be called right after the end
* of the transition effect and before the final state is
* cleared.
*
*
*/
interface beforeClear{(): void}
/**
* The callback which will be called right before the start
* of the transition effect.
*
*
*/
interface beforeStart{(): void}
/**
* The method which plays multiple transitions one by one.
*
* @param args The array of transition objects which will be played in a chain.
*
* @param args The array of transition objects which will be played in a chain.
*/
interface chainedPlay{(args: any[]): void}
/**
* Method to clear the state after a transition.
*
*
*/
interface clear{(): void}
/**
* Method which is used to create the transition object of fade effect.
*
* @param node The node that the fade transition effect will be applied on.
* @param config The cofig arguments which will be mixed into this transition object.
*
* @param node The node that the fade transition effect will be applied on.
* @param config The cofig arguments which will be mixed into this transition object.
*/
interface fade{(node: any, config: any): void}
/**
* Method which is used to create the transition object of flip effect.
*
* @param node The node that the flip transition effect will be applied on.
* @param config The cofig arguments which will be mixed into this transition object.
*
* @param node The node that the flip transition effect will be applied on.
* @param config The cofig arguments which will be mixed into this transition object.
*/
interface flip{(node: any, config: any): void}
/**
*
* @param nodes
*
* @param nodes
*/
interface getWaitingList{(nodes: any[]): any}
/**
* The method which groups multiple transitions and plays
* The method which groups multiple transitions and plays
* them together.
*
* @param args The array of transition objects which will be played together.
*
* @param args The array of transition objects which will be played together.
*/
interface groupedPlay{(args: any[]): any}
/**
* Method to initialize the state for a transition.
*
*
*/
interface initState{(): void}
/**
* Plays the transition effect defined by this transition object.
*
*
*/
interface play{(): void}
/**
* Method which is used to create the transition object of a slide effect.
*
* @param node The node that the slide transition effect will be applied on.
* @param config The cofig arguments which will be mixed into this transition object.
*
* @param node The node that the slide transition effect will be applied on.
* @param config The cofig arguments which will be mixed into this transition object.
*/
interface slide{(node: any, config: any): void}
/**
* Method to start the transition.
*
*
*/
interface start{(): void}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/css3/transition.endState.html
*
*
*
*/
interface endState {
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/css3/transition.startState.html
*
*
*
*/
interface startState {
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/css3/transition.playing.html
*
*
*
*/
interface playing {
}
@@ -168,51 +168,51 @@ declare module dojox {
* Permalink: http://dojotoolkit.org/api/1.9/dojox/css3/fx.html
*
* Utilities for animation effects.
*
*
*/
interface fx {
/**
* Returns an animation that does a "bounce" effect on args.node.
* Vertical bounce animation. The scaleX, scaleY deformation and the
* jump height (args.jumpHeight) can be specified.
*
* @param args
*
* @param args
*/
bounce(args: Object): any;
/**
* Returns an animation that expands args.node.
* Scales an element to args.endScale.
*
* @param args
*
* @param args
*/
expand(args: Object): any;
/**
* Returns an animation that flips an element around his y axis.
* Flips an element around his y axis. The default is a 360deg flip
* but it is possible to run a partial flip using args.whichAnims.
*
* @param args
*
* @param args
*/
flip(args: Object): any;
/**
* Returns an animation that will do a "puff" effect on the given node.
* Fades out an element and scales it to args.endScale.
*
* @param args
*
* @param args
*/
puff(args: Object): any;
/**
* Returns an animation that rotates an element.
* Rotates an element from args.startAngle to args.endAngle.
*
* @param args
*
* @param args
*/
rotate(args: Object): any;
/**
* Returns an animation that shrinks args.node.
* Shrinks an element, same as expand({ node: node, endScale: .01 });
*
* @param args
*
* @param args
*/
shrink(args: Object): any;
}
+1994 -1994
View File
File diff suppressed because one or more lines are too long
+421 -421
View File
File diff suppressed because it is too large Load Diff
+5152 -5152
View File
File diff suppressed because it is too large Load Diff
+101 -101
View File
@@ -4,18 +4,18 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="dojo.d.ts" />
declare module dojox {
module dnd {
declare namespace dojox {
namespace dnd {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/dnd/BoundingBoxController.html
*
* Allows the user draw bounding boxes around nodes on the page.
* Publishes to the "/dojox/dnd/bounding" topic to tell the selector to check
* to see whether any dnd items fall within the coordinates of the bounding box
*
* @param sources an array of dojox.dnd.Selectors which need to be aware ofthe positioning of the bounding box.
* @param domNode the DOM node or id which represents the bounding box on the page.
*
* @param sources an array of dojox.dnd.Selectors which need to be aware ofthe positioning of the bounding box.
* @param domNode the DOM node or id which represents the bounding box on the page.
*/
class BoundingBoxController {
constructor(sources: dojox.dnd.Selector[], domNode: String);
@@ -26,30 +26,30 @@ declare module dojox {
* For example, if a dialog is open the client might want to suppress a bounding
* box. This function could be used by the client to ensure that a bounding box is only
* drawn on the document when certain conditions are met.
*
* @param evt the mouse event which caused this callback to fire.
*
* @param evt the mouse event which caused this callback to fire.
*/
boundingBoxIsViable(evt: Object): boolean;
/**
* prepares this object to be garbage-collected
*
*
*/
destroy(): void;
/**
* Override-able by the client as an extra check to ensure that a bounding
* box should begin to be drawn. If the client has any preconditions to when a
* bounding box should be drawn, they should be included in this method.
*
* @param evt the mouse event which caused this callback to fire.
*
* @param evt the mouse event which caused this callback to fire.
*/
shouldStartDrawingBox(evt: Object): boolean;
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/dnd/Selector.html
*
*
* @param node node or node's id to build the selector on
* @param params Optionala dictionary of parameters
*
* @param node node or node's id to build the selector on
* @param params Optionala dictionary of parameters
*/
class Selector extends dojo.dnd.Selector {
constructor(node: HTMLElement, params?: Object);
@@ -57,262 +57,262 @@ declare module dojox {
* Indicates whether to allow dnd item nodes to be nested within other elements.
* By default this is false, indicating that only direct children of the container can
* be draggable dnd item nodes
*
*
*/
"allowNested": boolean;
/**
*
*
*/
"conservative": boolean;
/**
* The DOM node the mouse is currently hovered over
*
*
*/
"current": HTMLElement;
/**
* Map from an item's id (which is also the DOMNode's id) to
* the dojo/dnd/Container.Item itself.
*
*
*/
"map": Object;
/**
* The set of id's that are currently selected, such that this.selection[id] == 1
* if the node w/that id is selected. Can iterate over selected node's id's like:
*
*
* for(var id in this.selection)
*
*
*/
"selection": Object;
/**
*
*
*/
"singular": boolean;
/**
*
*
*/
"skipForm": boolean;
/**
* removes all data items from the map
*
*
*/
clearItems(): void;
/**
* creator function, dummy at the moment
*
*
*/
creator(): void;
/**
* deletes all selected items
*
*
*/
deleteSelectedNodes(): Function;
/**
* removes a data item from the map by its key (id)
*
* @param key
*
* @param key
*/
delItem(key: String): void;
/**
* deselects a node
*
* @param node Node to deselect (id or DOM Node)
*
* @param node Node to deselect (id or DOM Node)
*/
deselectNode(node: String): Function;
/**
* deselects a node
*
* @param node Node to deselect (id or DOM Node)
*
* @param node Node to deselect (id or DOM Node)
*/
deselectNode(node: HTMLElement): Function;
/**
* prepares the object to be garbage-collected
*
*
*/
destroy(): void;
/**
*
* @param type
* @param event
*
* @param type
* @param event
*/
emit(type: any, event: any): any;
/**
* iterates over a data map skipping members that
* are present in the empty object (IE and/or 3rd-party libraries).
*
* @param f
* @param o Optional
*
* @param f
* @param o Optional
*/
forInItems(f: Function, o: Object): String;
/**
* iterates over selected items;
* see dojo/dnd/Container.forInItems() for details
*
* @param f
* @param o Optional
*
* @param f
* @param o Optional
*/
forInSelectedItems(f: Function, o: Object): void;
/**
* returns a list (an array) of all valid child nodes
*
*
*/
getAllNodes(): any;
/**
* returns a data item by its key (id)
*
* @param key
*
* @param key
*/
getItem(key: String): any;
/**
* returns a list (an array) of selected nodes
*
*
*/
getSelectedNodes(): any;
/**
* inserts an array of new nodes before/after an anchor node
*
* @param data Logical representation of the object being dragged.If the drag object's type is "text" then data is a String,if it's another type then data could be a different Object,perhaps a name/value hash.
* @param before insert before the anchor, if true, and after the anchor otherwise
* @param anchor the anchor node to be used as a point of insertion
*
* @param data Logical representation of the object being dragged.If the drag object's type is "text" then data is a String,if it's another type then data could be a different Object,perhaps a name/value hash.
* @param before insert before the anchor, if true, and after the anchor otherwise
* @param anchor the anchor node to be used as a point of insertion
*/
insertNodes(data: Object, before: boolean, anchor: HTMLElement): Function;
/**
* inserts new data items (see dojo/dnd/Container.insertNodes() method for details)
*
* @param addSelected all new nodes will be added to selected items, if true, no selection change otherwise
* @param data a list of data items, which should be processed by the creator function
* @param before insert before the anchor, if true, and after the anchor otherwise
* @param anchor the anchor node to be used as a point of insertion
*
* @param addSelected all new nodes will be added to selected items, if true, no selection change otherwise
* @param data a list of data items, which should be processed by the creator function
* @param before insert before the anchor, if true, and after the anchor otherwise
* @param anchor the anchor node to be used as a point of insertion
*/
insertNodes(addSelected: boolean, data: any[], before: boolean, anchor: HTMLElement): Function;
/**
* checks if node is selected
*
* @param node Node to check (id or DOM Node)
*
* @param node Node to check (id or DOM Node)
*/
isSelected(node: String): any;
/**
* checks if node is selected
*
* @param node Node to check (id or DOM Node)
*
* @param node Node to check (id or DOM Node)
*/
isSelected(node: HTMLElement): any;
/**
*
* @param params
* @param node
* @param Ctor
*
* @param params
* @param node
* @param Ctor
*/
markupFactory(params: any, node: any, Ctor: any): any;
/**
*
* @param type
* @param listener
*
* @param type
* @param listener
*/
on(type: any, listener: any): any;
/**
* selects all items
*
*
*/
selectAll(): any;
/**
* selects nodes by bounding box
*
* @param left Left coordinate of the bounding box
* @param top Top coordinate of the bounding box
* @param right Right coordinate of the bounding box
* @param bottom Bottom coordinate of the bounding box
* @param add OptionalIf true, node is added to selection, otherwise currentselection is removed, and node will be the only selection.
*
* @param left Left coordinate of the bounding box
* @param top Top coordinate of the bounding box
* @param right Right coordinate of the bounding box
* @param bottom Bottom coordinate of the bounding box
* @param add OptionalIf true, node is added to selection, otherwise currentselection is removed, and node will be the only selection.
*/
selectByBBox(left: number, top: number, right: number, bottom: number, add: boolean): Function;
/**
* selects a node
*
* @param node Node to select (id or DOM Node)
* @param add OptionalIf true, node is added to selection, otherwise currentselection is removed, and node will be the only selection.
*
* @param node Node to select (id or DOM Node)
* @param add OptionalIf true, node is added to selection, otherwise currentselection is removed, and node will be the only selection.
*/
selectNode(node: String, add: boolean): Function;
/**
* selects a node
*
* @param node Node to select (id or DOM Node)
* @param add OptionalIf true, node is added to selection, otherwise currentselection is removed, and node will be the only selection.
*
* @param node Node to select (id or DOM Node)
* @param add OptionalIf true, node is added to selection, otherwise currentselection is removed, and node will be the only selection.
*/
selectNode(node: HTMLElement, add: boolean): Function;
/**
* unselects all items
*
*
*/
selectNone(): any;
/**
* associates a data item with its key (id)
*
* @param key
* @param data
*
* @param key
* @param data
*/
setItem(key: String, data: any): void;
/**
* shifts the currently selected dnd item forwards and backwards.
* One possible use would be to allow a user select different
* dnd items using the right and left keys.
*
* @param toNext If true, we select the next node, otherwise the previous one.
* @param add OptionalIf true, add to selection, otherwise current selection isremoved before adding any nodes.
*
* @param toNext If true, we select the next node, otherwise the previous one.
* @param add OptionalIf true, add to selection, otherwise current selection isremoved before adding any nodes.
*/
shift(toNext: boolean, add: boolean): void;
/**
* collects valid child items and populate the map
*
*
*/
startup(): void;
/**
* sync up the node list with the data map
*
*
*/
sync(): Function;
/**
* event processor for onmousedown
*
* @param e mouse event
*
* @param e mouse event
*/
onMouseDown(e: Event): void;
/**
* event processor for onmousemove
*
* @param e mouse event
*
* @param e mouse event
*/
onMouseMove(e: Event): void;
/**
* event processor for onmouseout
*
* @param e mouse event
*
* @param e mouse event
*/
onMouseOut(e: Event): void;
/**
* event processor for onmouseover or touch, to mark that element as the current element
*
* @param e mouse event
*
* @param e mouse event
*/
onMouseOver(e: Event): void;
/**
* event processor for onmouseup
*
* @param e mouse event
*
* @param e mouse event
*/
onMouseUp(e: Event): void;
/**
* this function is called once, when mouse is out of our container
*
*
*/
onOutEvent(): void;
/**
* this function is called once, when mouse is over our container
*
*
*/
onOverEvent(): void;
/**
* event processor for onselectevent and ondragevent
*
* @param e mouse event
*
* @param e mouse event
*/
onSelectStart(e: Event): void;
}
+3660 -3660
View File
File diff suppressed because it is too large Load Diff
+1183 -1183
View File
File diff suppressed because it is too large Load Diff
+3818 -3818
View File
File diff suppressed because it is too large Load Diff
+252 -252
View File
File diff suppressed because it is too large Load Diff
+196 -196
View File
@@ -4,36 +4,36 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
module encoding {
module compression {
namespace encoding {
namespace compression {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/compression/splay.html
*
*
* @param n
*
* @param n
*/
interface splay{(n: any): void}
module splay {
namespace splay {
/**
*
* @param stream
*
* @param stream
*/
interface decode{(stream: any): number}
/**
*
* @param value
* @param stream
*
* @param value
* @param stream
*/
interface encode{(value: any, stream: any): any}
/**
*
*
*/
interface reset{(): void}
/**
*
* @param i
*
* @param i
*/
interface splay{(i: any): void}
}
@@ -41,159 +41,159 @@ declare module dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/compression/lzw.html
*
*
*
*/
interface lzw {
/**
*
* @param n
*
* @param n
*/
Decoder(n: any): void;
/**
*
* @param n
*
* @param n
*/
Encoder(n: any): void;
}
}
module crypto {
namespace crypto {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/crypto/RSAKey.html
*
*
* @param rngf
*
* @param rngf
*/
class RSAKey {
constructor(rngf: any);
/**
* Return the PKCS#1 RSA decryption of "ctext".
*
* @param ctext an even-length hex string
*
* @param ctext an even-length hex string
*/
decrypt(ctext: String): any;
/**
*
* @param text
*
* @param text
*/
encrypt(text: any): any;
/**
* Generate a new random private key B bits long, using public expt E
*
* @param B
* @param E
*
* @param B
* @param E
*/
generate(B: any, E: any): void;
/**
* Set the private key fields N, e, d and CRT params from hex strings
*
* @param N
* @param E
* @param D
*
* @param N
* @param E
* @param D
*/
setPrivate(N: any, E: any, D: any): void;
/**
* Set the private key fields N, e, d and CRT params from hex strings
*
* @param N
* @param E
* @param D
* @param P
* @param Q
* @param DP
* @param DQ
* @param C
*
* @param N
* @param E
* @param D
* @param P
* @param Q
* @param DP
* @param DQ
* @param C
*/
setPrivateEx(N: any, E: any, D: any, P: any, Q: any, DP: any, DQ: any, C: any): void;
/**
* Set the public key fields N and e from hex strings
*
* @param N
* @param E
*
* @param N
* @param E
*/
setPublic(N: any, E: any): void;
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/crypto/RSAKey-ext.html
*
*
* @param rngf
*
* @param rngf
*/
class RSAKey_ext {
constructor(rngf: any);
/**
* Return the PKCS#1 RSA decryption of "ctext".
*
* @param ctext an even-length hex string
*
* @param ctext an even-length hex string
*/
decrypt(ctext: String): any;
/**
*
* @param text
*
* @param text
*/
encrypt(text: any): any;
/**
* Generate a new random private key B bits long, using public expt E
*
* @param B
* @param E
*
* @param B
* @param E
*/
generate(B: any, E: any): void;
/**
* Set the private key fields N, e, d and CRT params from hex strings
*
* @param N
* @param E
* @param D
*
* @param N
* @param E
* @param D
*/
setPrivate(N: any, E: any, D: any): void;
/**
* Set the private key fields N, e, d and CRT params from hex strings
*
* @param N
* @param E
* @param D
* @param P
* @param Q
* @param DP
* @param DQ
* @param C
*
* @param N
* @param E
* @param D
* @param P
* @param Q
* @param DP
* @param DQ
* @param C
*/
setPrivateEx(N: any, E: any, D: any, P: any, Q: any, DP: any, DQ: any, C: any): void;
/**
* Set the public key fields N and e from hex strings
*
* @param N
* @param E
*
* @param N
* @param E
*/
setPublic(N: any, E: any): void;
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/crypto/_base.html
*
*
*
*/
interface _base {
/**
*
*
*/
Blowfish: Object;
/**
* Enumeration for various cipher modes.
*
*
*/
cipherModes: Object;
/**
* Enumeration for input and output encodings.
*
*
*/
outputTypes: Object;
/**
*
*
*/
SimpleAES: Object;
/**
*
*
*/
RSAKey(): void;
}
@@ -201,55 +201,55 @@ declare module dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/crypto/_base.RSAKey.html
*
*
* @param rngf
*
* @param rngf
*/
class RSAKey {
constructor(rngf: any);
/**
* Return the PKCS#1 RSA decryption of "ctext".
*
* @param ctext an even-length hex string
*
* @param ctext an even-length hex string
*/
decrypt(ctext: String): any;
/**
*
* @param text
*
* @param text
*/
encrypt(text: any): any;
/**
* Generate a new random private key B bits long, using public expt E
*
* @param B
* @param E
*
* @param B
* @param E
*/
generate(B: any, E: any): void;
/**
* Set the private key fields N, e, d and CRT params from hex strings
*
* @param N
* @param E
* @param D
*
* @param N
* @param E
* @param D
*/
setPrivate(N: any, E: any, D: any): void;
/**
* Set the private key fields N, e, d and CRT params from hex strings
*
* @param N
* @param E
* @param D
* @param P
* @param Q
* @param DP
* @param DQ
* @param C
*
* @param N
* @param E
* @param D
* @param P
* @param Q
* @param DP
* @param DQ
* @param C
*/
setPrivateEx(N: any, E: any, D: any, P: any, Q: any, DP: any, DQ: any, C: any): void;
/**
* Set the public key fields N and e from hex strings
*
* @param N
* @param E
*
* @param N
* @param E
*/
setPublic(N: any, E: any): void;
}
@@ -257,31 +257,31 @@ declare module dojox {
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/crypto/_base.cipherModes.html
*
* Enumeration for various cipher modes.
*
*
*/
interface cipherModes {
/**
*
*
*/
CBC: number;
/**
*
*
*/
CFB: number;
/**
*
*
*/
CTR: number;
/**
*
*
*/
ECB: number;
/**
*
*
*/
OFB: number;
/**
*
*
*/
PCBC: number;
}
@@ -289,23 +289,23 @@ declare module dojox {
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/crypto/_base.outputTypes.html
*
* Enumeration for input and output encodings.
*
*
*/
interface outputTypes {
/**
*
*
*/
Base64: number;
/**
*
*
*/
Hex: number;
/**
*
*
*/
Raw: number;
/**
*
*
*/
String: number;
}
@@ -313,55 +313,55 @@ declare module dojox {
}
module digests {
namespace digests {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/digests/SHA1.html
*
* Computes the SHA1 digest of the data, and returns the result according to output type.
*
* @param data
* @param outputType Optional
*
* @param data
* @param outputType Optional
*/
interface SHA1{(data: String, outputType?: Object): void}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/digests/MD5.html
*
* computes the digest of data, and returns the result according to type outputType
*
* @param data
* @param outputType Optional
*
* @param data
* @param outputType Optional
*/
interface MD5{(data: String, outputType?: Object): void}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/digests/SHA224.html
*
*
* @param data
* @param outputType Optional
*
* @param data
* @param outputType Optional
*/
interface SHA224{(data: String, outputType?: number): void}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/digests/SHA256.html
*
*
* @param data
* @param outputType Optional
*
* @param data
* @param outputType Optional
*/
interface SHA256{(data: String, outputType?: number): void}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/digests/SHA384.html
*
*
* @param data
* @param outputType Optional
*
* @param data
* @param outputType Optional
*/
interface SHA384{(data: String, outputType?: number): void}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/digests/SHA512.html
*
*
* @param data
* @param outputType Optional
*
* @param data
* @param outputType Optional
*/
interface SHA512{(data: String, outputType?: number): void}
module _sha_32 {
@@ -370,63 +370,63 @@ declare module dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/digests/_base.html
*
*
*
*/
interface _base {
/**
* Enumeration for input and output encodings.
*
*
*/
outputTypes: Object;
/**
* add a pair of words together with rollover
*
* @param a
* @param b
*
* @param a
* @param b
*/
addWords(a: String, b: String): number;
/**
* computes the digest of data, and returns the result according to type outputType
*
* @param data
* @param outputType OptionalAn object with the following properties:Base64HexStringRaw
*
* @param data
* @param outputType OptionalAn object with the following properties:Base64HexStringRaw
*/
MD5(data: String, outputType: Object): void;
/**
* Computes the SHA1 digest of the data, and returns the result according to output type.
*
* @param data
* @param outputType OptionalAn object with the following properties:Base64HexStringRaw
*
* @param data
* @param outputType OptionalAn object with the following properties:Base64HexStringRaw
*/
SHA1(data: String, outputType: Object): void;
/**
*
* @param input
*
* @param input
*/
stringToUtf8(input: any): void;
/**
* convert a string to a word array
*
* @param s
*
* @param s
*/
stringToWord(s: String): any[];
/**
* convert an array of words to base64 encoding, should be more efficient
* than using dojox.encoding.base64
*
* @param wa
*
* @param wa
*/
wordToBase64(wa: String[]): void;
/**
* convert an array of words to a hex tab
*
* @param wa
*
* @param wa
*/
wordToHex(wa: String[]): void;
/**
* convert an array of words to a string
*
* @param wa
*
* @param wa
*/
wordToString(wa: String[]): void;
}
@@ -435,23 +435,23 @@ declare module dojox {
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/digests/_base.outputTypes.html
*
* Enumeration for input and output encodings.
*
*
*/
interface outputTypes {
/**
*
*
*/
Base64: number;
/**
*
*
*/
Hex: number;
/**
*
*
*/
Raw: number;
/**
*
*
*/
String: number;
}
@@ -460,39 +460,39 @@ declare module dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/digests/_sha-64.html
*
*
*
*/
interface _sha_64 {
/**
*
*
*/
outputTypes: Object;
/**
*
* @param msg
* @param length
* @param hash
* @param depth
*
* @param msg
* @param length
* @param hash
* @param depth
*/
digest(msg: any, length: any, hash: any, depth: any): any[];
/**
*
* @param s
*
* @param s
*/
stringToUtf8(s: any): any;
/**
*
* @param wa
*
* @param wa
*/
toBase64(wa: any): any;
/**
*
* @param wa
*
* @param wa
*/
toHex(wa: any): any;
/**
*
* @param s
*
* @param s
*/
toWord(s: any): any;
}
@@ -501,88 +501,88 @@ declare module dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/_base.html
*
*
*
*/
interface _base {
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/bits.html
*
*
*
*/
interface bits {
/**
*
* @param buffer
* @param width
*
* @param buffer
* @param width
*/
InputStream(buffer: any, width: any): void;
/**
*
*
*/
OutputStream(): void;
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/ascii85.html
*
*
*
*/
interface ascii85 {
/**
* decodes the input string back to array of numbers
*
* @param input the input string to decode
*
* @param input the input string to decode
*/
decode(input: String): void;
/**
* encodes input data in ascii85 string
*
* @param input an array of numbers (0-255) to encode
*
* @param input an array of numbers (0-255) to encode
*/
encode(input: any[]): void;
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/base64.html
*
*
*
*/
interface base64 {
/**
* Convert a base64-encoded string to an array of bytes
*
* @param str
*
* @param str
*/
decode(str: String): void;
/**
* Encode an array of bytes as a base64-encoded string
*
* @param ba
*
* @param ba
*/
encode(ba: number[]): void;
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/encoding/easy64.html
*
*
*
*/
interface easy64 {
/**
* decodes the input string back to array of numbers
*
* @param input the input string to decode
*
* @param input the input string to decode
*/
decode(input: String): void;
/**
* encodes input data in easy64 string
*
* @param input an array of numbers (0-255) to encode
*
* @param input an array of numbers (0-255) to encode
*/
encode(input: any[]): void;
}
}
}
+4 -4
View File
@@ -4,18 +4,18 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/flash.html
*
* Deprecated. Should require dojox/flash modules directly rather than trying to access them through
* this module.
*
*
*/
interface flash {
}
module flash {
namespace flash {
module _base {
}
+6864 -6864
View File
File diff suppressed because it is too large Load Diff
+529 -529
View File
File diff suppressed because it is too large Load Diff
+412 -412
View File
File diff suppressed because it is too large Load Diff
+5303 -5303
View File
File diff suppressed because it is too large Load Diff
+1253 -1253
View File
File diff suppressed because it is too large Load Diff
+30 -30
View File
@@ -4,95 +4,95 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
module gesture {
declare namespace dojox {
namespace gesture {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/gesture/Base.html
*
*
* @param args
*
* @param args
*/
class Base {
constructor(args: any);
/**
* Default event e.g. 'tap' is a default event of dojox.gesture.tap
*
*
*/
"defaultEvent": string;
/**
* A list of sub events e.g ['hold', 'doubletap'],
* used by being combined with defaultEvent like 'tap.hold', 'tap.doubletap' etc.
*
*
*/
"subEvents": any[];
/**
* Whether the gesture is touch-device only
*
*
*/
"touchOnly": boolean;
/**
* Process the 'cancel' phase of a gesture
*
* @param data
* @param e
*
* @param data
* @param e
*/
cancel(data: any, e: any): void;
/**
* Release all handlers and resources
*
*
*/
destroy(): void;
/**
* Fire a gesture event and invoke registered listeners
* a simulated GestureEvent will also be sent along
*
* @param node Target node to fire the gesture
* @param event An object containing specific gesture info e.g {type: 'tap.hold'|'swipe.left'), ...}all these properties will be put into a simulated GestureEvent when fired.Note - Default properties in a native Event won't be overwritten, see on.emit() for more details.
*
* @param node Target node to fire the gesture
* @param event An object containing specific gesture info e.g {type: 'tap.hold'|'swipe.left'), ...}all these properties will be put into a simulated GestureEvent when fired.Note - Default properties in a native Event won't be overwritten, see on.emit() for more details.
*/
fire(node: HTMLElement, event: Object): void;
/**
* Initialization works
*
*
*/
init(): void;
/**
* Check if the node is locked, isLocked(node) means
* whether it's a descendant of the currently locked node.
*
* @param node
*
* @param node
*/
isLocked(node: any): boolean;
/**
* Lock all descendants of the node.
*
* @param node
*
* @param node
*/
lock(node: HTMLElement): void;
/**
* Process the 'move' phase of a gesture
*
* @param data
* @param e
*
* @param data
* @param e
*/
move(data: any, e: any): void;
/**
* Process the 'press' phase of a gesture
*
* @param data
* @param e
*
* @param data
* @param e
*/
press(data: any, e: any): void;
/**
* Process the 'release' phase of a gesture
*
* @param data
* @param e
*
* @param data
* @param e
*/
release(data: any, e: any): void;
/**
* Release the lock
*
*
*/
unLock(): void;
}
+2945 -2945
View File
File diff suppressed because it is too large Load Diff
+1106 -1106
View File
File diff suppressed because it is too large Load Diff
+7409 -7409
View File
File diff suppressed because it is too large Load Diff
+5 -5
View File
@@ -3,20 +3,20 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
module help {
declare namespace dojox {
namespace help {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/help/_base.html
*
*
*
*/
interface _base {
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/help/console.html
*
*
*
*/
interface console {
}
+558 -558
View File
File diff suppressed because it is too large Load Diff
+149 -149
View File
@@ -3,18 +3,18 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/html.html
*
* Deprecated. Should require dojox/html modules directly rather than trying to access them through
* this module.
*
*
*/
interface html {
}
module html {
namespace html {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/html/ellipsis.html
*
@@ -23,87 +23,87 @@ declare module dojox {
* the node with the dojoxEllipsis class set on it should be a child of a node with a defined width.
* It should also be a block-level element (i.e. <div>) - it will not work on td elements.
* NOTE: When using the dojoxEllipsis class within tables, the table needs to have the table-layout: fixed style
*
*
*/
interface ellipsis {
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/html/entities.html
*
*
*
*/
interface entities {
/**
*
*
*/
html: any[];
/**
*
*
*/
latin: any[];
/**
* Function to obtain an entity encoding for a specified character
*
* @param str The string to process for possible entity encoding to decode.
* @param m An optional list of character to entity name mappings (array ofarrays). If not provided, it uses the HTML and Latin entities as theset to map and decode.
*
* @param str The string to process for possible entity encoding to decode.
* @param m An optional list of character to entity name mappings (array ofarrays). If not provided, it uses the HTML and Latin entities as theset to map and decode.
*/
decode(str: any, m: any): void;
/**
* Function to obtain an entity encoding for a specified character
*
* @param str The string to process for possible entity encoding.
* @param m An optional list of character to entity name mappings (array ofarrays). If not provided, it uses the and Latin entities as theset to map and escape.
*
* @param str The string to process for possible entity encoding.
* @param m An optional list of character to entity name mappings (array ofarrays). If not provided, it uses the and Latin entities as theset to map and escape.
*/
encode(str: any, m: any): void;
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/html/metrics.html
*
*
*
*/
interface metrics {
/**
*
* @param recalculate
*
* @param recalculate
*/
getCachedFontMeasurements(recalculate: any): any;
/**
* Returns an object that has pixel equivilents of standard font size values.
*
*
*/
getFontMeasurements(): Object;
/**
*
*
*/
getScrollbar(): Object;
/**
*
* @param text
* @param style
* @param className Optional
*
* @param text
* @param style
* @param className Optional
*/
getTextBox(text: String, style: Object, className: String): void;
/**
*
*
*/
initOnFontResize(): void;
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/html/styles.html
*
*
*
*/
interface styles {
/**
*
*
*/
entities: Object;
/**
*
*
*/
"ext-dojo": Object;
/**
*
*
*/
metrics: Object;
/**
@@ -112,77 +112,77 @@ declare module dojox {
* toggle-able style sheets are disabled.
* If no argument is passed, returns currently enabled
* style sheet.
*
* @param title Optional
*
* @param title Optional
*/
activeStyleSheet(title: String): void;
/**
* Disables the dynamic style sheet with the name passed in the
* argument. If no arg is passed, defaults to the default style sheet.
*
* @param styleSheetName
*
* @param styleSheetName
*/
disableStyleSheet(styleSheetName: String): void;
/**
* Enables the style sheet with the name passed in the
* argument. Deafults to the default style sheet.
*
* @param styleSheetName
*
* @param styleSheetName
*/
enableStyleSheet(styleSheetName: String): void;
/**
* Creates and returns a dynamically created style sheet
* used for dynamic styles
*
* @param styleSheetName OptionalThe name given the style sheet so that multiplestyle sheets can be created and referenced. Ifno argument is given, the name "default" is used.
*
* @param styleSheetName OptionalThe name given the style sheet so that multiplestyle sheets can be created and referenced. Ifno argument is given, the name "default" is used.
*/
getDynamicStyleSheet(styleSheetName: String): any;
/**
* Returns the style sheet that was initially enabled
* on document launch.
* TODO, does not work.
*
*
*/
getPreferredStyleSheet(): void;
/**
* Returns a style sheet based on the argument.
* Searches dynamic style sheets first. If no matches,
* searches document style sheets.
*
* @param styleSheetName OptionalA title or an href to a style sheet. Title can bean attribute in a tag, or a dynamic style sheetreference. Href can be the name of the file.If no argument, the assumed created dynamic stylesheet is used.
*
* @param styleSheetName OptionalA title or an href to a style sheet. Title can bean attribute in a tag, or a dynamic style sheetreference. Href can be the name of the file.If no argument, the assumed created dynamic stylesheet is used.
*/
getStyleSheet(styleSheetName: String): void;
/**
* Collects all the style sheets referenced in the HTML page,
* including any included via @import.
*
*
*/
getStyleSheets(): any;
/**
* Searches HTML for style sheets that are "toggle-able" -
* can be enabled and disabled. These would include sheets
* with the title attribute, as well as the REL attribute.
*
*
*/
getToggledStyleSheets(): any;
/**
* Creates a style and attaches it to a dynamically created stylesheet
*
* @param selector A fully qualified class name, as it would appear ina CSS dojo.doc. Start classes with periods, targetnodes with '#'. Large selectors can also be createdlike:"#myDiv.myClass span input"
* @param declaration A single string that would make up a style block, notincluding the curly braces. Include semi-colons betweenstatements. Do not use JavaScript style declarationsin camel case, use as you would in a CSS dojo.doc:"color:#ffoooo;font-size:12px;margin-left:5px;"
* @param styleSheetName OptionalName of the dynamic style sheet this rule should beinserted into. If is not found by that name, it iscreated. If no name is passed, the name "default" isused.
*
* @param selector A fully qualified class name, as it would appear ina CSS dojo.doc. Start classes with periods, targetnodes with '#'. Large selectors can also be createdlike:"#myDiv.myClass span input"
* @param declaration A single string that would make up a style block, notincluding the curly braces. Include semi-colons betweenstatements. Do not use JavaScript style declarationsin camel case, use as you would in a CSS dojo.doc:"color:#ffoooo;font-size:12px;margin-left:5px;"
* @param styleSheetName OptionalName of the dynamic style sheet this rule should beinserted into. If is not found by that name, it iscreated. If no name is passed, the name "default" isused.
*/
insertCssRule(selector: String, declaration: String, styleSheetName: String): String;
/**
* Not implemented - it seems to have some merit for changing some complex
* selectors. It's not much use for changing simple ones like "span".
* For now, simply write a new rule which will cascade over the first.
*
*
* Modifies an existing cssRule
*
* @param selector
* @param declaration
* @param styleSheetName
*
* @param selector
* @param declaration
* @param styleSheetName
*/
modifyCssRule(selector: any, declaration: any, styleSheetName: any): void;
/**
@@ -190,63 +190,63 @@ declare module dojox {
* The declaration is needed for cases of dupe selectors
* Only removes DYNAMICALLY created cssRules. If you
* created it with dh.insertCssRule, it can be removed.
*
* @param selector
* @param declaration
* @param styleSheetName
*
* @param selector
* @param declaration
* @param styleSheetName
*/
removeCssRule(selector: String, declaration: String, styleSheetName: String): void;
}
module styles {
namespace styles {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/html/styles._ContentSetter.html
*
*
* @param params
* @param node
*
* @param params
* @param node
*/
class _ContentSetter {
constructor(params: Object, node: String);
/**
* Adjust relative paths in html string content to point to this page
* Only useful if you grab content from a another folder than the current one
*
*
*/
"adjustPaths": boolean;
/**
* Should the content be treated as a full html document,
* and the real content stripped of , wrapper before injection
*
*
*/
"cleanContent": boolean;
/**
* The content to be placed in the node. Can be an HTML string, a node reference, or a enumerable list of nodes
*
*
*/
"content": string;
/**
*
*
*/
"executeScripts": boolean;
/**
* Should the content be treated as a full html document,
* and the real content stripped of <html> <body> wrapper before injection
*
*
*/
"extractContent": boolean;
/**
* Usually only used internally, and auto-generated with each instance
*
*
*/
"id": Object;
/**
* An node which will be the parent element that we set content into
*
*
*/
"node": HTMLElement;
/**
* Should the node by passed to the parser after the new content is set
*
*
*/
"parseContent": boolean;
/**
@@ -254,62 +254,62 @@ declare module dojox {
* will search for data-dojo-type (or dojoType). For backwards compatibility
* reasons defaults to dojo._scopeName (which is "dojo" except when
* multi-version support is used, when it will be something like dojo16, dojo20, etc.)
*
*
*/
"parserScope": string;
/**
*
*
*/
"referencePath": string;
/**
*
*
*/
"renderStyles": boolean;
/**
*
*
*/
"scriptHasHooks": boolean;
/**
*
*
*/
"scriptHookReplacement": Object;
/**
* Start the child widgets after parsing them. Only obeyed if parseContent is true.
*
*
*/
"startup": boolean;
/**
*
*
*/
empty(): void;
/**
* front-end to the set-content sequence
*
* @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used
* @param params Optional
*
* @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used
* @param params Optional
*/
set(cont: String, params: Object): any;
/**
* front-end to the set-content sequence
*
* @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used
* @param params Optional
*
* @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used
* @param params Optional
*/
set(cont: HTMLElement, params: Object): any;
/**
* front-end to the set-content sequence
*
* @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used
* @param params Optional
*
* @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used
* @param params Optional
*/
set(cont: NodeList, params: Object): any;
/**
* sets the content on the node
*
*
*/
setContent(): void;
/**
*
*
*/
tearDown(): void;
/**
@@ -318,96 +318,96 @@ declare module dojox {
* provided - before the set operation actually takes place
* This implementation extends that of dojo.html._ContentSetter
* to add handling for adjustPaths, renderStyles on the html string content before it is set
*
*
*/
onBegin(): void;
/**
*
* @param err
*
* @param err
*/
onContentError(err: any): String;
/**
* Called after set(), when the new content has been pushed into the node
* It provides an opportunity for post-processing before handing back the node to the caller
* This implementation extends that of dojo.html._ContentSetter
*
*
*/
onEnd(): any;
/**
*
* @param err
*
* @param err
*/
onExecError(err: any): String;
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/html/styles.entities.html
*
*
*
*/
interface entities {
/**
*
*
*/
html: any[];
/**
*
*
*/
latin: any[];
/**
* Function to obtain an entity encoding for a specified character
*
* @param str The string to process for possible entity encoding to decode.
* @param m An optional list of character to entity name mappings (array ofarrays). If not provided, it uses the HTML and Latin entities as theset to map and decode.
*
* @param str The string to process for possible entity encoding to decode.
* @param m An optional list of character to entity name mappings (array ofarrays). If not provided, it uses the HTML and Latin entities as theset to map and decode.
*/
decode(str: any, m: any): void;
/**
* Function to obtain an entity encoding for a specified character
*
* @param str The string to process for possible entity encoding.
* @param m An optional list of character to entity name mappings (array ofarrays). If not provided, it uses the and Latin entities as theset to map and escape.
*
* @param str The string to process for possible entity encoding.
* @param m An optional list of character to entity name mappings (array ofarrays). If not provided, it uses the and Latin entities as theset to map and escape.
*/
encode(str: any, m: any): void;
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/html/styles.ext-dojo.html
*
*
*
*/
interface ext_dojo {
/**
*
*
*/
style: Object;
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/html/styles.metrics.html
*
*
*
*/
interface metrics {
/**
*
* @param recalculate
*
* @param recalculate
*/
getCachedFontMeasurements(recalculate: any): any;
/**
* Returns an object that has pixel equivilents of standard font size values.
*
*
*/
getFontMeasurements(): Object;
/**
*
*
*/
getScrollbar(): Object;
/**
*
* @param text
* @param style
* @param className Optional
*
* @param text
* @param style
* @param className Optional
*/
getTextBox(text: String, style: Object, className: String): void;
/**
*
*
*/
initOnFontResize(): void;
}
@@ -417,52 +417,52 @@ declare module dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/html/_base._ContentSetter.html
*
*
* @param params
* @param node
*
* @param params
* @param node
*/
class _ContentSetter {
constructor(params: Object, node: String);
/**
* Adjust relative paths in html string content to point to this page
* Only useful if you grab content from a another folder than the current one
*
*
*/
"adjustPaths": boolean;
/**
* Should the content be treated as a full html document,
* and the real content stripped of , wrapper before injection
*
*
*/
"cleanContent": boolean;
/**
* The content to be placed in the node. Can be an HTML string, a node reference, or a enumerable list of nodes
*
*
*/
"content": string;
/**
*
*
*/
"executeScripts": boolean;
/**
* Should the content be treated as a full html document,
* and the real content stripped of <html> <body> wrapper before injection
*
*
*/
"extractContent": boolean;
/**
* Usually only used internally, and auto-generated with each instance
*
*
*/
"id": Object;
/**
* An node which will be the parent element that we set content into
*
*
*/
"node": HTMLElement;
/**
* Should the node by passed to the parser after the new content is set
*
*
*/
"parseContent": boolean;
/**
@@ -470,62 +470,62 @@ declare module dojox {
* will search for data-dojo-type (or dojoType). For backwards compatibility
* reasons defaults to dojo._scopeName (which is "dojo" except when
* multi-version support is used, when it will be something like dojo16, dojo20, etc.)
*
*
*/
"parserScope": string;
/**
*
*
*/
"referencePath": string;
/**
*
*
*/
"renderStyles": boolean;
/**
*
*
*/
"scriptHasHooks": boolean;
/**
*
*
*/
"scriptHookReplacement": Object;
/**
* Start the child widgets after parsing them. Only obeyed if parseContent is true.
*
*
*/
"startup": boolean;
/**
*
*
*/
empty(): void;
/**
* front-end to the set-content sequence
*
* @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used
* @param params Optional
*
* @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used
* @param params Optional
*/
set(cont: String, params: Object): any;
/**
* front-end to the set-content sequence
*
* @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used
* @param params Optional
*
* @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used
* @param params Optional
*/
set(cont: HTMLElement, params: Object): any;
/**
* front-end to the set-content sequence
*
* @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used
* @param params Optional
*
* @param cont OptionalAn html string, node or enumerable list of nodes for insertion into the domIf not provided, the object's content property will be used
* @param params Optional
*/
set(cont: NodeList, params: Object): any;
/**
* sets the content on the node
*
*
*/
setContent(): void;
/**
*
*
*/
tearDown(): void;
/**
@@ -534,36 +534,36 @@ declare module dojox {
* provided - before the set operation actually takes place
* This implementation extends that of dojo.html._ContentSetter
* to add handling for adjustPaths, renderStyles on the html string content before it is set
*
*
*/
onBegin(): void;
/**
*
* @param err
*
* @param err
*/
onContentError(err: any): String;
/**
* Called after set(), when the new content has been pushed into the node
* It provides an opportunity for post-processing before handing back the node to the caller
* This implementation extends that of dojo.html._ContentSetter
*
*
*/
onEnd(): any;
/**
*
* @param err
*
* @param err
*/
onExecError(err: any): String;
}
}
module ext_dojo {
module style {
namespace ext_dojo {
namespace style {
}
}
module format {
namespace format {
}
}
+687 -687
View File
File diff suppressed because it is too large Load Diff
+72 -72
View File
@@ -3,24 +3,24 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
module io {
namespace io {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/io/httpParse.html
*
* Parses an HTTP stream for a message.
*
* @param httpStream HTTP stream to parse
* @param topHeaders OptionalExtra header information to add to each HTTP request (kind of HTTP inheritance)
* @param partial OptionalA true value indicates that the stream may not be finished, it may end arbitrarily in mid stream.The last XHR object will have a special property _lastIndex that indicates the how far alongthe httpStream could be successfully parsed into HTTP messages.
*
* @param httpStream HTTP stream to parse
* @param topHeaders OptionalExtra header information to add to each HTTP request (kind of HTTP inheritance)
* @param partial OptionalA true value indicates that the stream may not be finished, it may end arbitrarily in mid stream.The last XHR object will have a special property _lastIndex that indicates the how far alongthe httpStream could be successfully parsed into HTTP messages.
*/
interface httpParse { (httpStream: String, topHeaders?: String, partial?: boolean): void }
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/io/xhrMultiPart.html
*
*
* @param args
*
* @param args
*/
interface xhrMultiPart { (args: Object): void }
/**
@@ -28,10 +28,10 @@ declare module dojox {
*
* Adds the windowName transport as an XHR plugin for the given site. See
* dojox.io.windowName for more information on the transport.
*
* @param url Url prefix of the site which can handle windowName requests.
* @param httpAdapter OptionalThis allows for adapting HTTP requests that could not otherwise besent with window.name, so you can use a convention for headers and PUT/DELETE methods.
* @param trusted Optional
*
* @param url Url prefix of the site which can handle windowName requests.
* @param httpAdapter OptionalThis allows for adapting HTTP requests that could not otherwise besent with window.name, so you can use a convention for headers and PUT/DELETE methods.
* @param trusted Optional
*/
interface xhrWindowNamePlugin { (url: String, httpAdapter?: Function, trusted?: boolean): void }
/**
@@ -41,123 +41,123 @@ declare module dojox {
* dojox.io.script for more information on the transport. Note, that JSONP
* is not a secure transport, by loading data from a third-party site using JSONP
* the site has full access to your JavaScript environment.
*
* @param url Url prefix of the site which can handle JSONP requests.
* @param callbackParamName
* @param httpAdapter OptionalThis allows for adapting HTTP requests that could not otherwise besent with JSONP, so you can use a convention for headers and PUT/DELETE methods.
*
* @param url Url prefix of the site which can handle JSONP requests.
* @param callbackParamName
* @param httpAdapter OptionalThis allows for adapting HTTP requests that could not otherwise besent with JSONP, so you can use a convention for headers and PUT/DELETE methods.
*/
interface xhrScriptPlugin { (url: String, callbackParamName: String, httpAdapter?: Function): void }
module proxy {
namespace proxy {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/io/proxy/xip.html
*
* Object that implements the iframe handling for XMLHttpRequest
* IFrame Proxying.
*
*
* Do not use this object directly. See the Dojo Book page
* on XMLHttpRequest IFrame Proxying:
* http://dojotoolkit.org/book/dojo-book-0-4/part-5-connecting-pieces/i-o/cross-domain-xmlhttprequest-using-iframe-proxy
* Usage of XHR IFrame Proxying does not work from local disk in Safari.
*
*
*/
interface xip {
/**
*
*
*/
urlLimit: number;
/**
*
*
*/
xipClientUrl: Object;
/**
*
*
*/
createFacade(): any;
/**
*
* @param stateId
*
* @param stateId
*/
destroyState(stateId: String): void;
/**
*
* @param frag
*
* @param frag
*/
fragmentReceived(frag: any): void;
/**
* HTML5 document messaging endpoint. Unpack the event to see if we want to use it.
*
* @param evt
*
* @param evt
*/
fragmentReceivedEvent(evt: any): void;
/**
*
* @param stateId
*
* @param stateId
*/
frameLoaded(stateId: String): void;
/**
*
* @param stateId
* @param cmd
* @param message
*
* @param stateId
* @param cmd
* @param message
*/
makeServerUrl(stateId: any, cmd: any, message: any): String;
/**
*
* @param stateId
* @param urlEncodedData
*
* @param stateId
* @param urlEncodedData
*/
receive(stateId: String, urlEncodedData: String): void;
/**
* starts the xdomain request using the provided facade.
* This method first does some init work, then delegates to _realSend.
*
* @param facade
*
* @param facade
*/
send(facade: Object): any;
/**
*
* @param stateId
* @param encodedData
*
* @param stateId
* @param encodedData
*/
sendRequest(stateId: any, encodedData: any): void;
/**
*
* @param stateId
*
* @param stateId
*/
sendRequestPart(stateId: any): void;
/**
*
* @param stateId
*
* @param stateId
*/
sendRequestStart(stateId: any): void;
/**
*
* @param stateId
* @param cmd
* @param message
*
* @param stateId
* @param cmd
* @param message
*/
setServerUrl(stateId: any, cmd: any, message: any): void;
/**
*
* @param encodedMessage
*
* @param encodedMessage
*/
unpackMessage(encodedMessage: any): Object;
/**
* XMLHttpRequest facade object used by dojox.io.proxy.xip.
*
*
* Do not use this object directly. See the Dojo Book page
* on XMLHttpRequest IFrame Proxying:
* http://dojotoolkit.org/book/dojo-book-0-4/part-5-connecting-pieces/i-o/cross-domain-xmlhttprequest-using-iframe-proxy
*
* @param ifpServerUrl
*
* @param ifpServerUrl
*/
XhrIframeFacade(ifpServerUrl: any): void;
}
module xip {
namespace xip {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/io/proxy/xip._state.html
*
*
*
*/
interface _state {
}
@@ -165,28 +165,28 @@ declare module dojox {
}
module xhrPlugins {
namespace xhrPlugins {
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/io/scriptFrame.html
*
*
*
*/
interface scriptFrame {
}
module scriptFrame {
namespace scriptFrame {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/io/scriptFrame._loadedIds.html
*
*
*
*/
interface _loadedIds {
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/io/scriptFrame._waiters.html
*
*
*
*/
interface _waiters {
}
@@ -195,7 +195,7 @@ declare module dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/io/windowName.html
*
*
*
*/
interface windowName {
/**
@@ -207,22 +207,22 @@ declare module dojox {
* such a parameter, it should respond to the request with an HTML
* document that sets it's window.name to the string that is to be
* delivered to the client. For example, if a client makes a window.name request like:
*
*
* http://othersite.com/greeting?windowname=true
* And server wants to respond to the client with "Hello", it should return an html page:
*
*
* <html><script type="text/javascript">
* window.name="Hello";
* </script></html>
* One can provide XML or JSON data by simply quoting the data as a string, and parsing the data
*
*
* on the client.
* If you use the authorization window.name protocol, the requester should include an
* authElement element in the args, and a request will be created like:
*
*
* http://othersite.com/greeting?windowname=auth
* And the server can respond like this:
*
*
* <html><script type="text/javascript">
* var loc = window.name;
* authorizationButton.onclick = function(){
@@ -231,11 +231,11 @@ declare module dojox {
* };
* </script></html>
* When using windowName from a XD Dojo build, make sure to set the
*
*
* dojo.dojoBlankHtmlUrl property to a local URL.
*
* @param method The method to use to send the request, GET or POST
* @param args See dojo.xhrargs.authElement: DOMNode?By providing an authElement, this indicates that windowName should use theauthorized window.name protocol, relying onthe loaded XD resource to return to the provided return URL on completionof authorization/authentication. The provided authElement will be used to placethe iframe in, so the user can interact with the server resource for authenticationand/or authorization to access the resource.args.onAuthLoad: Function?When using authorized access to resources, this function will be called when theauthorization page has been loaded. (When authorization is actually completed,the deferred callback function is called with the result). The primary use for thisis to make the authElement visible to the user once the resource has loaded(this can be preferable to showing the iframe while the resource is loadingsince it may not require authorization, it may simply return the resource).
*
* @param method The method to use to send the request, GET or POST
* @param args See dojo.xhrargs.authElement: DOMNode?By providing an authElement, this indicates that windowName should use theauthorized window.name protocol, relying onthe loaded XD resource to return to the provided return URL on completionof authorization/authentication. The provided authElement will be used to placethe iframe in, so the user can interact with the server resource for authenticationand/or authorization to access the resource.args.onAuthLoad: Function?When using authorized access to resources, this function will be called when theauthorization page has been loaded. (When authorization is actually completed,the deferred callback function is called with the result). The primary use for thisis to make the authElement visible to the user once the resource has loaded(this can be preferable to showing the iframe while the resource is loadingsince it may not require authorization, it may simply return the resource).
*/
send(method: String, args: Object): any;
}
+3 -3
View File
@@ -3,12 +3,12 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/jq.html
*
*
*
*/
interface jq {
}
+25 -25
View File
@@ -3,9 +3,9 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
module json {
declare namespace dojox {
namespace json {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/json/query.html
*
@@ -17,12 +17,12 @@ declare module dojox {
* wildcard string comparisons and various operators. JSONQuery generally supersets
* JSONPath and provides syntax that matches and behaves like JavaScript where
* possible.
*
*
* JSONQuery evaluations begin with the provided object, which can referenced with
* $. From
* the starting object, various operators can be successively applied, each operating
* on the result of the last operation.
*
*
* Supported Operators
* .property - This will return the provided property of the object, behaving exactly
* like JavaScript.
@@ -67,17 +67,17 @@ declare module dojox {
* in JavaScript.
* dojox.json.query(queryString,object)
* and
*
*
* dojox.json.query(queryString)(object)
* always return identical results. The first one immediately evaluates, the second one returns a
*
*
* function that then evaluates the object.
*
* @param query Query string
* @param obj OptionalTarget of the JSONQuery
*
* @param query Query string
* @param obj OptionalTarget of the JSONQuery
*/
interface query{(query: String, obj?: Object): void}
module schema {
namespace schema {
}
/**
@@ -89,41 +89,41 @@ declare module dojox {
* On parsing, references are resolved. When references are made to
* ids/objects that have been loaded yet, the loader function will be set to
* _loadObject to denote a lazy loading (not loaded yet) object.
*
*
*/
interface ref {
/**
*
*
*/
refAttribute: string;
/**
*
*
*/
serializeFunctions: boolean;
/**
* evaluates the passed string-form of a JSON object.
*
* @param str a string literal of a JSON item, for instance:'{ "foo": [ "bar", 1, { "baz": "thud" } ] }'
* @param args OptionalSee resolveJson
*
* @param str a string literal of a JSON item, for instance:'{ "foo": [ "bar", 1, { "baz": "thud" } ] }'
* @param args OptionalSee resolveJson
*/
fromJson(str: String, args: Object): any;
/**
* Indexes and resolves references in the JSON object.
* A JSON Schema object that can be used to advise the handling of the JSON (defining ids, date properties, urls, etc)
*
* @param root The root object of the object graph to be processed
* @param args OptionalObject with additional arguments:The index parameter: This is the index object (map) to use to store an index of all the objects. If you are using inter-message referencing, you must provide the same object for each call.The defaultId parameter: This is the default id to use for the root object (if it doesn't define it's own id)The idPrefix parameter: This the prefix to use for the ids as they enter the index. This allows multiple tables to use ids (that might otherwise collide) that enter the same global index. idPrefix should be in the form "/Service/". For example, if the idPrefix is "/Table/", and object is encountered {id:"4",...}, this would go in the index as "/Table/4".The idAttribute parameter: This indicates what property is the identity property. This defaults to "id"The assignAbsoluteIds parameter: This indicates that the resolveJson should assign absolute ids (__id) as the objects are being parsed.The schemas parameter: This provides a map of schemas, from which prototypes can be retrievedThe loader parameter: This is a function that is called added to the reference objects that can't be resolved (lazy objects)
*
* @param root The root object of the object graph to be processed
* @param args OptionalObject with additional arguments:The index parameter: This is the index object (map) to use to store an index of all the objects. If you are using inter-message referencing, you must provide the same object for each call.The defaultId parameter: This is the default id to use for the root object (if it doesn't define it's own id)The idPrefix parameter: This the prefix to use for the ids as they enter the index. This allows multiple tables to use ids (that might otherwise collide) that enter the same global index. idPrefix should be in the form "/Service/". For example, if the idPrefix is "/Table/", and object is encountered {id:"4",...}, this would go in the index as "/Table/4".The idAttribute parameter: This indicates what property is the identity property. This defaults to "id"The assignAbsoluteIds parameter: This indicates that the resolveJson should assign absolute ids (__id) as the objects are being parsed.The schemas parameter: This provides a map of schemas, from which prototypes can be retrievedThe loader parameter: This is a function that is called added to the reference objects that can't be resolved (lazy objects)
*/
resolveJson(root: Object, args: Object): any;
/**
* Create a JSON serialization of an object.
* This has support for referencing, including circular references, duplicate references, and out-of-message references
* id and path-based referencing is supported as well and is based on http://www.json.com/2007/10/19/json-referencing-proposal-and-library/.
*
* @param it an object to be serialized.
* @param prettyPrint Optionalif true, we indent objects and arrays to make the output prettier.The variable dojo.toJsonIndentStr is used as the indent string-- to use something other than the default (tab),change that variable before calling dojo.toJson().
* @param idPrefix OptionalThe prefix that has been used for the absolute ids
* @param indexSubObjects Optional
*
* @param it an object to be serialized.
* @param prettyPrint Optionalif true, we indent objects and arrays to make the output prettier.The variable dojo.toJsonIndentStr is used as the indent string-- to use something other than the default (tab),change that variable before calling dojo.toJson().
* @param idPrefix OptionalThe prefix that has been used for the absolute ids
* @param indexSubObjects Optional
*/
toJson(it: Object, prettyPrint: boolean, idPrefix: Object, indexSubObjects: Object): any;
}
+8 -8
View File
@@ -3,30 +3,30 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/jsonPath.html
*
* Deprecated. Should require dojox/jsonPath modules directly rather than trying to access them through
* this module.
*
*
*/
interface jsonPath {
}
module jsonPath {
namespace jsonPath {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/jsonPath/query.html
*
* Perform jsonPath query expr on javascript object or json string obj
*
* @param obj object || json string to perform query on
* @param expr jsonPath expression (string) to be evaluated
* @param arg {} special arguments.resultType: "VALUE"||"BOTH"||"PATH"} (defaults to value)evalType: "RESULT"||"ITEM"} (defaults to ?)
*
* @param obj object || json string to perform query on
* @param expr jsonPath expression (string) to be evaluated
* @param arg {} special arguments.resultType: "VALUE"||"BOTH"||"PATH"} (defaults to value)evalType: "RESULT"||"ITEM"} (defaults to ?)
*/
interface query { (obj: Object, expr: String, arg: Object): void }
}
}
+5425 -5425
View File
File diff suppressed because it is too large Load Diff
+2800 -2800
View File
File diff suppressed because it is too large Load Diff
+1016 -1016
View File
File diff suppressed because it is too large Load Diff
+50 -50
View File
@@ -3,36 +3,36 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/math.html
*
* Deprecated. Should require dojox/math modules directly rather than trying to access them through
* this module.
*
*
*/
interface math {
}
module math {
namespace math {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/math/BigInteger.html
*
*
* @param a
* @param b
* @param c
*
* @param a
* @param b
* @param c
*/
interface BigInteger{(a: any, b: any, c: any): void}
module BigInteger {
namespace BigInteger {
/**
*
* @param i
* @param x
* @param w
* @param j
* @param c
* @param n
*
* @param i
* @param x
* @param w
* @param j
* @param c
* @param n
*/
interface am{(i: any, x: any, w: any, j: any, c: any, n: any): number}
}
@@ -40,21 +40,21 @@ declare module dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/math/BigInteger-ext.html
*
*
* @param a
* @param b
* @param c
*
* @param a
* @param b
* @param c
*/
interface BigInteger_ext{(a: any, b: any, c: any): void}
module BigInteger_ext {
namespace BigInteger_ext {
/**
*
* @param i
* @param x
* @param w
* @param j
* @param c
* @param n
*
* @param i
* @param x
* @param w
* @param j
* @param c
* @param n
*/
interface am{(i: any, x: any, w: any, j: any, c: any, n: any): number}
}
@@ -62,31 +62,31 @@ declare module dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/math/round.html
*
*
* @param v
* @param p
* @param m
*
* @param v
* @param p
* @param m
*/
interface round{(v: any, p: any, m: any): void}
module _base {
}
module curves {
namespace curves {
}
module matrix {
namespace matrix {
}
module random {
namespace random {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/math/random/prng4.html
*
*
*
*/
interface prng4{(): void}
module prng4 {
namespace prng4 {
/**
*
*
*/
var size: number
}
@@ -96,26 +96,26 @@ declare module dojox {
*
* Super simple implementation of a random number generator,
* which relies on Math.random().
*
* @param prng function that returns an instance of PRNG (pseudo random number generator)with two methods: init(array) and next(). It should have a property "size"to indicate the required pool size.
* @param noEvents Optionalif false or absent, onclick and onkeypress event will be used to add"randomness", otherwise events will not be used.
*
* @param prng function that returns an instance of PRNG (pseudo random number generator)with two methods: init(array) and next(). It should have a property "size"to indicate the required pool size.
* @param noEvents Optionalif false or absent, onclick and onkeypress event will be used to add"randomness", otherwise events will not be used.
*/
class Secure {
constructor(prng: Function, noEvents?: boolean);
/**
* Disconnects events, if any, preparing the object for GC.
*
*
*/
destroy(): void;
/**
* Fills in an array of bytes with random numbers
*
* @param byteArray array to be filled in with random numbers, only existingelements will be filled.
*
* @param byteArray array to be filled in with random numbers, only existingelements will be filled.
*/
nextBytes(byteArray: any[]): void;
/**
* Mix in the current time (w/milliseconds) into the pool
*
*
*/
seedTime(): void;
}
@@ -124,25 +124,25 @@ declare module dojox {
*
* Super simple implementation of a random number generator,
* which relies on Math.random().
*
*
*/
class Simple {
constructor();
/**
* Prepares the object for GC. (empty in this case)
*
*
*/
destroy(): void;
/**
* Fills in an array of bytes with random numbers
*
* @param byteArray array to be filled in with random numbers, only existingelements will be filled.
*
* @param byteArray array to be filled in with random numbers, only existingelements will be filled.
*/
nextBytes(byteArray: any[]): void;
}
}
module stats {
namespace stats {
}
}
+306 -306
View File
File diff suppressed because it is too large Load Diff
+14625 -14625
View File
File diff suppressed because it is too large Load Diff
+5168 -5168
View File
File diff suppressed because it is too large Load Diff
+7 -7
View File
@@ -3,19 +3,19 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/rails.html
*
*
*
*/
interface rails {
/**
*
* @param selector
* @param evtName
* @param fn
*
* @param selector
* @param evtName
* @param fn
*/
live(selector: any, evtName: any, fn: any): void;
}
+4 -4
View File
@@ -3,13 +3,13 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
module robot {
declare namespace dojox {
namespace robot {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/robot/recorder.html
*
*
*
*/
interface recorder {
}
+85 -85
View File
@@ -4,65 +4,65 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="dojo.d.ts" />
declare module dojox {
module rpc {
declare namespace dojox {
namespace rpc {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/rpc/Rest.html
*
* This provides a HTTP REST service with full range REST verbs include PUT,POST, and DELETE.
* A normal GET query is done by using the service directly:
*
*
* var restService = dojox.rpc.Rest("Project");
* restService("4");
* This will do a GET for the URL "/Project/4".
*
*
* restService.put("4","new content");
* This will do a PUT to the URL "/Project/4" with the content of "new content".
*
*
* You can also use the SMD service to generate a REST service:
*
*
* var services = dojox.rpc.Service({services: {myRestService: {transport: "REST",...
* services.myRestService("parameters");
* The modifying methods can be called as sub-methods of the rest service method like:
*
*
* services.myRestService.put("parameters","data to put in resource");
* services.myRestService.post("parameters","data to post to the resource");
* services.myRestService['delete']("parameters");
*
* @param path
* @param isJson Optional
* @param schema Optional
* @param getRequest Optional
*
* @param path
* @param isJson Optional
* @param schema Optional
* @param getRequest Optional
*/
interface Rest{(path: String, isJson?: boolean, schema?: Object, getRequest?: Function): void}
module Rest {
namespace Rest {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/rpc/Rest._index.html
*
*
*
*/
interface _index {
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/rpc/Rest._timeStamps.html
*
*
*
*/
interface _timeStamps {
}
}
module Client {
namespace Client {
}
module JsonRPC {
namespace JsonRPC {
}
module ProxiedPath {
namespace ProxiedPath {
}
module Service {
namespace Service {
}
/**
@@ -70,59 +70,59 @@ declare module dojox {
*
* Makes the REST service be able to store changes in local
* storage so it can be used offline automatically.
*
*
*/
interface OfflineRest {
/**
*
*
*/
stores: any[];
/**
* Adds a store to the monitored store for local storage
*
* @param store Store to add
* @param baseQuery OptionalThis is the base query to should be used to load the items forthe store. Generally you want to load all the items that should beavailable when offline.
*
* @param store Store to add
* @param baseQuery OptionalThis is the base query to should be used to load the items forthe store. Generally you want to load all the items that should beavailable when offline.
*/
addStore(store: dojo.data.api.Read, baseQuery: String): void;
/**
*
*
*/
downloadChanges(): void;
/**
*
*
*/
sendChanges(): void;
/**
*
*
*/
sync(): void;
/**
*
*
*/
turnOffAutoSync(): void;
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/rpc/JsonRest.html
*
*
*
*/
interface JsonRest {
/**
*
*
*/
conflictDateHeader: string;
/**
*
*
*/
schemas: Object;
/**
*
*
*/
services: Object;
/**
*
* @param service
* @param id
*
* @param service
* @param id
*/
byId(service: any, id: any): any;
/**
@@ -130,135 +130,135 @@ declare module dojox {
* contains a reference to the object itself as well as a
* cloned and trimmed version of old object for use with
* revert.
*
* @param object
* @param _deleting
*
* @param object
* @param _deleting
*/
changing(object: any, _deleting: any): void;
/**
* Saves the dirty data using REST Ajax methods
*
* @param kwArgs
*
* @param kwArgs
*/
commit(kwArgs: any): any[];
/**
* deletes an object
*
* @param object object to delete
*
* @param object object to delete
*/
deleteObject(object: any): void;
/**
* Fetches a resource by an absolute path/id and returns a dojo.Deferred.
*
* @param absoluteId
*
* @param absoluteId
*/
fetch(absoluteId: any): any;
/**
* Creates or gets a constructor for objects from this service
*
* @param service
* @param schema
*
* @param service
* @param schema
*/
getConstructor(service: Function, schema: any): any;
/**
* Creates or gets a constructor for objects from this service
*
* @param service
* @param schema
*
* @param service
* @param schema
*/
getConstructor(service: String, schema: any): any;
/**
*
*
*/
getDirtyObjects(): any[];
/**
* Return the ids attribute used by this service (based on it's schema).
* Defaults to "id", if not other id is defined
*
* @param service
*
* @param service
*/
getIdAttribute(service: any): String;
/**
* Returns the REST service and the local id for the given absolute id. The result
* is returned as an object with a service property and an id property
*
* @param absoluteId This is the absolute id of the object
*
* @param absoluteId This is the absolute id of the object
*/
getServiceAndId(absoluteId: String): Object;
/**
* returns true if the item is marked as dirty or true if there are any dirty items
*
* @param item
* @param store
*
* @param item
* @param store
*/
isDirty(item: any, store: any): any;
/**
*
* @param service
* @param id
* @param args
*
* @param service
* @param id
* @param args
*/
query(service: any, id: any, args: any): any;
/**
* Registers a service for as a JsonRest service, mapping it to a path and schema
*
* @param service This is the service to register
* @param servicePath This is the path that is used for all the ids for the objects returned by service
* @param schema OptionalThis is a JSON Schema object to associate with objects returned by this service
*
* @param service This is the service to register
* @param servicePath This is the path that is used for all the ids for the objects returned by service
* @param schema OptionalThis is a JSON Schema object to associate with objects returned by this service
*/
registerService(service: Function, servicePath: String, schema: Object): void;
/**
* Reverts all the changes made to JSON/REST data
*
* @param service
*
* @param service
*/
revert(service: any): void;
/**
*
* @param actions
* @param kwArgs
*
* @param actions
* @param kwArgs
*/
sendToServer(actions: any, kwArgs: any): void;
/**
* This provides a HTTP REST service with full range REST verbs include PUT,POST, and DELETE.
* A normal GET query is done by using the service directly:
*
*
* var restService = dojox.rpc.Rest("Project");
* restService("4");
* This will do a GET for the URL "/Project/4".
*
*
* restService.put("4","new content");
* This will do a PUT to the URL "/Project/4" with the content of "new content".
*
*
* You can also use the SMD service to generate a REST service:
*
*
* var services = dojox.rpc.Service({services: {myRestService: {transport: "REST",...
* services.myRestService("parameters");
* The modifying methods can be called as sub-methods of the rest service method like:
*
*
* services.myRestService.put("parameters","data to put in resource");
* services.myRestService.post("parameters","data to post to the resource");
* services.myRestService['delete']("parameters");
*
* @param path
* @param isJson Optional
* @param schema Optional
* @param getRequest Optional
*
* @param path
* @param isJson Optional
* @param schema Optional
* @param getRequest Optional
*/
serviceClass(path: String, isJson: boolean, schema: Object, getRequest: Function): Function;
}
module JsonRest {
namespace JsonRest {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/rpc/JsonRest.services.html
*
*
*
*/
interface services {
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/rpc/JsonRest.schemas.html
*
*
*
*/
interface schemas {
}
+15 -15
View File
@@ -3,14 +3,14 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
module secure {
declare namespace dojox {
namespace secure {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/secure/DOM.html
*
*
* @param element
*
* @param element
*/
interface DOM{(element: any): void}
/**
@@ -22,35 +22,35 @@ declare module dojox {
* scripts and HTML.
* This function will create and return a sandbox object (see dojox.secure.__Sandbox)
* for the provided element.
*
* @param element The DOM element to use as the container for the sandbox
*
* @param element The DOM element to use as the container for the sandbox
*/
interface sandbox{(element: any): void}
module fromJson {
namespace fromJson {
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/secure/capability.html
*
*
*
*/
interface capability {
/**
*
*
*/
keywords: any[];
/**
* pass in the text of a script. If it passes and it can be eval'ed, it should be safe.
* Note that this does not do full syntax checking, it relies on eval to reject invalid scripts.
* There are also known false rejections:
*
*
* Nesting vars inside blocks will not declare the variable for the outer block
* Named functions are not treated as declaration so they are generally not allowed unless the name is declared with a var.
* Var declaration that involve multiple comma delimited variable assignments are not accepted
*
* @param script the script to execute
* @param safeLibraries The safe libraries that can be called (the functions can not be access/modified by the untrusted code, only called)
* @param safeGlobals These globals can be freely interacted with by the untrusted code
*
* @param script the script to execute
* @param safeLibraries The safe libraries that can be called (the functions can not be access/modified by the untrusted code, only called)
* @param safeGlobals These globals can be freely interacted with by the untrusted code
*/
validate(script: String, safeLibraries: any[], safeGlobals: Object): void;
}
+519 -519
View File
File diff suppressed because it is too large Load Diff
+16 -16
View File
@@ -3,7 +3,7 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/socket.html
*
@@ -12,40 +12,40 @@ declare module dojox {
* on the WebSocket API and returns an object that implements the WebSocket interface:
* http://dev.w3.org/html5/websockets/#websocket
* Provides socket connections. This can be used with virtually any Comet protocol.
*
* @param argsOrUrl This uses the same arguments as the other I/O functions in Dojo, or aURL to connect to. The URL should be a relative URL in order to properlywork with WebSockets (it can still be host relative, like //other-site.org/endpoint)
*
* @param argsOrUrl This uses the same arguments as the other I/O functions in Dojo, or aURL to connect to. The URL should be a relative URL in order to properlywork with WebSockets (it can still be host relative, like //other-site.org/endpoint)
*/
interface socket{(argsOrUrl: Object): void}
module socket {
namespace socket {
/**
* Provides a simple long-poll based comet-style socket/connection to a server and returns an
* object implementing the WebSocket interface:
* http://dev.w3.org/html5/websockets/#websocket
*
* @param args This uses the same arguments as the other I/O functions in Dojo, with this addition:args.interval:Indicates the amount of time (in milliseconds) after a response was receivedbefore another request is made. By default, a request is made immediatelyafter getting a response. The interval can be increased to reduce load on theserver or to do simple time-based polling where the server always respondsimmediately.args.transport:Provide an alternate transport like dojo.io.script.get
*
* @param args This uses the same arguments as the other I/O functions in Dojo, with this addition:args.interval:Indicates the amount of time (in milliseconds) after a response was receivedbefore another request is made. By default, a request is made immediatelyafter getting a response. The interval can be increased to reduce load on theserver or to do simple time-based polling where the server always respondsimmediately.args.transport:Provide an alternate transport like dojo.io.script.get
*/
interface LongPoll{(args: Object): any}
/**
*
* @param socket
* @param newSocket
* @param listenForOpen
*
* @param socket
* @param newSocket
* @param listenForOpen
*/
interface replace{(socket: any, newSocket: any, listenForOpen: any): void}
/**
* A wrapper for WebSocket, than handles standard args and relative URLs
*
* @param args
* @param fallback
*
* @param args
* @param fallback
*/
interface WebSocket{(args: any, fallback: any): void}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/socket/Reconnect.html
*
* Provides auto-reconnection to a websocket after it has been closed
*
* @param socket Socket to add reconnection support to.
* @param options
*
* @param socket Socket to add reconnection support to.
* @param options
*/
interface Reconnect{(socket: any, options: any): void}
}
+5 -5
View File
@@ -3,22 +3,22 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/sql.html
*
* Deprecated. Should require dojox/sql modules directly rather than trying to access them through
* this module.
*
*
*/
interface sql {
}
module sql {
namespace sql {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/sql/_crypto.html
*
*
*
*/
interface _crypto {
}
+2 -2
View File
@@ -3,11 +3,11 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/storage.html
*
*
*
*/
interface storage {
}
+84 -84
View File
@@ -3,21 +3,21 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
module string_ {
namespace string_ {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/string/sprintf.html
*
*
* @param format
* @param filler
*
* @param format
* @param filler
*/
interface sprintf { (format: String, filler: any): void }
module sprintf {
namespace sprintf {
/**
*
* @param format
*
* @param format
*/
interface Formatter { (format: String): void }
}
@@ -26,63 +26,63 @@ declare module dojox {
* Permalink: http://dojotoolkit.org/api/1.9/dojox/string/Builder.html
*
* A fast buffer for creating large strings.
*
* @param str Optional
*
* @param str Optional
*/
interface Builder { (str?: String): void }
module Builder {
namespace Builder {
/**
*
*
*/
var length: number
/**
* Append all arguments to the end of the buffer
*
* @param s
*
* @param s
*/
interface append { (s: String[]): void }
/**
* Append an array of items to the internal buffer.
*
* @param strings
*
* @param strings
*/
interface appendArray { (strings: any[]): void }
/**
* Remove all characters from the buffer.
*
*
*/
interface clear { (): void }
/**
* Alias for append.
*
* @param s
*
* @param s
*/
interface concat { (s: String[]): void }
/**
* Insert string str starting at index.
*
* @param index
* @param str
*
* @param index
* @param str
*/
interface insert { (index: number, str: String): void }
/**
* Remove len characters starting at index start. If len
* is not provided, the end of the string is assumed.
*
* @param start
* @param len Optional
*
* @param start
* @param len Optional
*/
interface remove { (start: number, len: number): void }
/**
* Replace instances of one string with another in the buffer.
*
* @param oldStr
* @param newStr
*
* @param oldStr
* @param newStr
*/
interface replace { (oldStr: String, newStr: String): void }
/**
* Return the string representation of the internal buffer.
*
*
*/
interface toString { (): void }
}
@@ -91,11 +91,11 @@ declare module dojox {
* Permalink: http://dojotoolkit.org/api/1.9/dojox/string/tokenize.html
*
* Split a string by a regular expression with the ability to capture the delimeters
*
* @param str
* @param re
* @param parseDelim OptionalEach group (excluding the 0 group) is passed as a parameter. If the function returnsa value, it's added to the list of tokens.
* @param instance OptionalUsed as the "this" instance when calling parseDelim
*
* @param str
* @param re
* @param parseDelim OptionalEach group (excluding the 0 group) is passed as a parameter. If the function returnsa value, it's added to the list of tokens.
* @param instance OptionalUsed as the "this" instance when calling parseDelim
*/
interface tokenize { (str: String, re: RegExp, parseDelim?: Function, instance?: Object): void }
/**
@@ -103,51 +103,51 @@ declare module dojox {
*
* This class provides a bidi transformation engine, i.e.
* functions for reordering and shaping bidi text.
* Bidi stands for support for languages with a bidirectional script.
*
* Bidi stands for support for languages with a bidirectional script.
*
* Usually Unicode Bidi Algorithm used by OS platform (and web browsers) is capable of properly transforming
* Bidi text and as a result it is adequately displayed on the screen. However, in some situations,
* Bidi text and as a result it is adequately displayed on the screen. However, in some situations,
* Unicode Bidi Algorithm is not invoked or is not properly applied. This may occur in situation in which software
* responsible for rendering the text is not leveraging Unicode Bidi Algorithm implemented by OS (e.g. dojox.GFX renderers).
*
*
* Bidi engine provided in this class implements Unicode Bidi Algorithm as specified at
* http://www.unicode.org/reports/tr9/.
*
*
* For more information on basic Bidi concepts please read
* "Bidirectional script support - A primer" available from
* http://www.ibm.com/developerworks/websphere/library/techarticles/bidi/bidigen.html.
*
*
* As of February 2011, Bidi engine has following limitations:
*
*
* No support for following numeric shaping options:
* H - Hindi,
* C - Contextual,
* N - Nominal.
*
*
* No support for following shaping options:
* I - Initial shaping,
* M - Middle shaping,
* F - Final shaping,
* B - Isolated shaping.
*
*
* No support for source-to-target or/and target-to-source maps.
* No support for LRE/RLE/LRO/RLO/PDF (they are handled like neutrals).
* No support for Windows compatibility.
* No support for insert/remove marks.
* No support for code pages (currently only UTF-8 is supported. Ideally we should convert from any code page to UTF-8).
*
*
*/
class BidiEngine {
constructor();
/**
* Central public API for Bidi engine. Transforms the text according to formatIn, formatOut parameters.
* If formatIn or formatOut parametrs are not valid throws an exception.
* Both formatIn and formatOut parameters are 5 letters long strings.
* For example - "ILYNN". Each letter is associated with specific attribute of Bidi layout.
* Both formatIn and formatOut parameters are 5 letters long strings.
* For example - "ILYNN". Each letter is associated with specific attribute of Bidi layout.
* Possible and default values for each one of the letters are provided below:
*
*
* First letter:
*
*
* Letter position/index:
* 1
* Letter meaning:
@@ -155,11 +155,11 @@ declare module dojox {
* Possible values:
* I - Implicit (Logical).
* V - Visual.
*
*
* Default value:
* I
* Second letter:
*
*
* Letter position/index:
* 2
* Letter meaning:
@@ -169,11 +169,11 @@ declare module dojox {
* R - Right To Left.
* C - Contextual Left to Right.
* D - Contextual Right to Left.
*
*
* Default value:
* L
* L
* Third letter:
*
*
* Letter position/index:
* 3
* Letter meaning:
@@ -181,11 +181,11 @@ declare module dojox {
* Possible values:
* Y - Symmetric swapping is on.
* N - Symmetric swapping is off.
*
*
* Default value:
* Y
* Y
* Fourth letter:
*
*
* Letter position/index:
* 4
* Letter meaning:
@@ -193,76 +193,76 @@ declare module dojox {
* Possible values:
* S - Text is shaped.
* N - Text is not shaped.
*
*
* Default value:
* N
* N
* Fifth letter:
*
*
* Letter position/index:
* 5
* Letter meaning:
* Numeric Shaping.
* Possible values:
* N - Nominal.
*
*
* Default value:
* N
* N
* The output of this function is original text (passed via first argument) transformed from input Bidi layout (second argument)
* to output Bidi layout (last argument).
*
* to output Bidi layout (last argument).
*
* Sample call:
*
*
* mytext = bidiTransform("HELLO WORLD", "ILYNN", "VLYNN");
* In this case, "HELLO WORLD" text is transformed from Logical - LTR to Visual - LTR Bidi layout with
*
* In this case, "HELLO WORLD" text is transformed from Logical - LTR to Visual - LTR Bidi layout with
*
* default values for symmetric swapping (Yes), shaping (Not shaped) and numeric shaping (Nominal).
*
* @param text
* @param formatIn Input Bidi layout in which inputText is passed to the function.
* @param formatOut Output Bidi layout to which inputText should be transformed.
*
* @param text
* @param formatIn Input Bidi layout in which inputText is passed to the function.
* @param formatOut Output Bidi layout to which inputText should be transformed.
*/
bidiTransform(text: String, formatIn: String, formatOut: String): any;
/**
* Determine the base direction of a bidi text according
* to its first strong directional character.
*
* @param text The text to check.
*
* @param text The text to check.
*/
checkContextual(text: String): any;
/**
* Return true if text contains RTL directed character.
* Iterates over the text string, letter by letter starting from its beginning,
* searching for RTL directed character.
* searching for RTL directed character.
* Return true if found else false. Needed for vml transformation.
*
* @param text The source string.
*
* @param text The source string.
*/
hasBidiChar(text: String): any;
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/string/BidiComplex.html
*
*
*
*/
interface BidiComplex {
/**
* Attach key listeners to the INPUT field to accomodate dynamic complex BiDi expressions
*
* @param field
* @param pattern
*
* @param field
* @param pattern
*/
attachInput(field: HTMLElement, pattern: String): void;
/**
* Create the display string by adding the Unicode direction Markers
*
* @param str
* @param pattern
*
* @param str
* @param pattern
*/
createDisplayString(str: String, pattern: String): void;
/**
* removes all Unicode directional markers from the string
*
* @param str
*
* @param str
*/
stripSpecialCharacters(str: any): void;
}
+21 -21
View File
@@ -3,9 +3,9 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
module testing {
declare namespace dojox {
namespace testing {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/testing/DocTest.html
*
@@ -24,56 +24,56 @@ declare module dojox {
* test in the following line, or a new line that does not start as described in 2)
* (simple said: is not a comment)
* preceeded by what is described in 2)
*
*
* I.e. the following is a simple doctest, that will actually also be run
* if you run this class against this file here:
*
*
*
*
* 1+1 // A simple test case. Terminated by an empty line
* 2
*
*
* 1==2
* false
* "a"+"b" // Also without the empty line before, this is a new test.
* "ab"
*
*
* var anything = "anything" // Multiple commands for one test.
* "something"==anything
* false
*
*
*
*
* DocTests are great for inline documenting a class or method, they also
* are very helpful in understanding what the class/method actually does.
* They don't make sense everywhere, but sometimes they are really handy.
*
*
*/
class DocTest {
constructor();
/**
*
*
*/
"errors": any[];
/**
* Extract the tests from the given module or string.
*
* @param moduleName
*
* @param moduleName
*/
getTests(moduleName: String): any;
/**
*
* @param data
*
* @param data
*/
getTestsFromString(data: String): any;
/**
* Run the doctests in the module given.
*
* @param moduleName
*
* @param moduleName
*/
run(moduleName: any): void;
/**
*
* @param commands
* @param expected
*
* @param commands
* @param expected
*/
runTest(commands: any, expected: any): Object;
}
+22 -22
View File
@@ -3,18 +3,18 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/timing.html
*
* Deprecated. Should require dojox/timing modules directly rather than trying to access them through
* this module.
*
*
*/
interface timing {
}
module timing {
namespace timing {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/timing/Sequence.html
*
@@ -28,28 +28,28 @@ declare module dojox {
* the repeat handling is easier and we don't need to handle that
* many extra cases. Also the doneFunction, if given is added at the
* end of the resolved-sequences.
*
*
*/
class Sequence {
constructor();
/**
* Run the passed sequence definition
*
* @param defs The sequence of actions
* @param doneFunction OptionalThe function to call when done
*
* @param defs The sequence of actions
* @param doneFunction OptionalThe function to call when done
*/
go(defs: any[], doneFunction: Function): void;
/**
* Run the passed sequence definition
*
* @param defs The sequence of actions
* @param doneFunction OptionalThe function to call when done
*
* @param defs The sequence of actions
* @param doneFunction OptionalThe function to call when done
*/
go(defs: any[], doneFunction: any[]): void;
/**
* This method just provides a hook from the outside, so that
* an interrupted sequence can be continued.
*
*
*/
goOn(): void;
/**
@@ -61,7 +61,7 @@ declare module dojox {
* by this object here. In this case it would be smarter to
* run the slideshow using a sequence object so you can also stop
* it using this method.
*
*
*/
stop(): void;
}
@@ -77,10 +77,10 @@ declare module dojox {
* dojox.timing.doLater(conditional) is testing if the call
* should be done later. So it returns
* true if the param is false.
*
* @param conditional Can be a property that eventually gets set, oran expression, method... anything that can beevaluated.
* @param context OptionalThe namespace where the call originated.Defaults to global and anonymous functions
* @param interval OptionalPoll time to check conditional in Milliseconds
*
* @param conditional Can be a property that eventually gets set, oran expression, method... anything that can beevaluated.
* @param context OptionalThe namespace where the call originated.Defaults to global and anonymous functions
* @param interval OptionalPoll time to check conditional in Milliseconds
*/
interface doLater { (conditional: any, context?: Object, interval?: number): void }
/**
@@ -90,12 +90,12 @@ declare module dojox {
* queue, and will pass the next point in that queue out to an
* output function at the passed interval; this way you can emulate
* a constant buffered stream of data.
*
* @param input the function executed when the internal queue reaches minimumSize
* @param output the function executed on internal tick
* @param interval the interval in ms at which the output function is fired.
* @param minimum the minimum number of elements in the internal queue.
* @param initialData
*
* @param input the function executed when the internal queue reaches minimumSize
* @param output the function executed on internal tick
* @param interval the interval in ms at which the output function is fired.
* @param minimum the minimum number of elements in the internal queue.
* @param initialData
*/
interface Streamer { (input: Function, output: Function, interval: number, minimum: number, initialData: any[]): void }
module _base {
+299 -299
View File
File diff suppressed because it is too large Load Diff
+49 -49
View File
@@ -3,41 +3,41 @@
// Definitions by: Michael Van Sickle <https://github.com/vansimke>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/uuid.html
*
* Deprecated. Should require dojox/uuid modules directly rather than trying to access them through
* this module.
*
*
*/
interface uuid {
}
module uuid {
namespace uuid {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/uuid/generateRandomUuid.html
*
* This function generates random UUIDs, meaning "version 4" UUIDs.
* A typical generated value would be something like this:
* "3b12f1df-5232-4804-897e-917bf397618a"
*
*
* For more information about random UUIDs, see sections 4.4 and
* 4.5 of RFC 4122: http://tools.ietf.org/html/rfc4122#section-4.4
*
*
* This generator function is designed to be small and fast,
* but not necessarily good.
*
*
* Small: This generator has a small footprint. Once comments are
* stripped, it's only about 25 lines of code, and it doesn't
* dojo.require() any other modules.
*
*
* Fast: This generator can generate lots of new UUIDs fairly quickly
* (at least, more quickly than the other dojo UUID generators).
*
*
* Not necessarily good: We use Math.random() as our source
* of randomness, which may or may not provide much randomness.
*
*
*/
interface generateRandomUuid { (): void }
/**
@@ -50,25 +50,25 @@ declare module dojox {
* http://kruithof.xs4all.nl/uuid/uuidgen
* http://www.opengroup.org/onlinepubs/009629399/apdxa.htm#tagcjh_20
* http://jakarta.apache.org/commons/sandbox/id/apidocs/org/apache/commons/id/uuid/clock/Clock.html
*
* @param node OptionalA 12-character hex string representing either a pseudo-node orhardware-node (an IEEE 802.3 network node). A hardware-nodewill be something like "017bf397618a", always with the first bitbeing 0. A pseudo-node will be something like "f17bf397618a",always with the first bit being 1.
*
* @param node OptionalA 12-character hex string representing either a pseudo-node orhardware-node (an IEEE 802.3 network node). A hardware-nodewill be something like "017bf397618a", always with the first bitbeing 0. A pseudo-node will be something like "f17bf397618a",always with the first bit being 1.
*/
interface generateTimeBasedUuid { (node?: String): void }
module generateTimeBasedUuid {
namespace generateTimeBasedUuid {
/**
* Returns the 'node' value that will be included in generated UUIDs.
*
*
*/
interface getNode { (): void }
/**
*
* @param node Optional
*
* @param node Optional
*/
interface isValidNode { (node: String): void }
/**
* Sets the 'node' value that will be included in generated UUIDs.
*
* @param node Optional
*
* @param node Optional
*/
interface setNode { (node: String): void }
}
@@ -78,17 +78,17 @@ declare module dojox {
*
* This is the constructor for the Uuid class. The Uuid class offers
* methods for inspecting existing UUIDs.
*
* @param input Optional
*
* @param input Optional
*/
interface Uuid { (input?: String): void }
module Uuid {
namespace Uuid {
/**
* Compares this UUID to another UUID, and returns 0, 1, or -1.
* This implementation is intended to match the sample implementation
* in IETF RFC 4122: http://www.ietf.org/rfc/rfc4122.txt
*
* @param otherUuid
*
* @param otherUuid
*/
interface compare { (otherUuid: dojox.uuid.Uuid): void }
/**
@@ -97,21 +97,21 @@ declare module dojox {
* JavaScript built-in Array sort() method. This implementation is
* intended to match the sample implementation in IETF RFC 4122:
* http://www.ietf.org/rfc/rfc4122.txt
*
* @param uuidOne
* @param uuidTwo
*
* @param uuidOne
* @param uuidTwo
*/
interface compare { (uuidOne: dojox.uuid.Uuid, uuidTwo: dojox.uuid.Uuid): void }
/**
* Returns the default generator. See setGenerator().
*
*
*/
interface getGenerator { (): void }
/**
* If this is a version 1 UUID (a time-based UUID), getNode() returns a
* 12-character string with the "node" or "pseudonode" portion of the UUID,
* which is the rightmost 12 characters.
*
*
*/
interface getNode { (): void }
/**
@@ -119,45 +119,45 @@ declare module dojox {
* the timestamp value encoded in the UUID. The caller can ask for the
* timestamp to be returned either as a JavaScript Date object or as a
* 15-character string of hex digits.
*
* @param returnType Optional
*
* @param returnType Optional
*/
interface getTimestamp { (returnType: String): any }
/**
* Returns a variant code that indicates what type of UUID this is.
* Returns one of the enumerated dojox.uuid.variant values.
*
*
*/
interface getVariant { (): void }
/**
* Returns a version number that indicates what type of UUID this is.
* Returns one of the enumerated dojox.uuid.version values.
*
*
*/
interface getVersion { (): void }
/**
* Returns true if this UUID is equal to the otherUuid, or false otherwise.
*
* @param otherUuid
*
* @param otherUuid
*/
interface isEqual { (otherUuid: dojox.uuid.Uuid): void }
/**
* Returns true if the UUID was initialized with a valid value.
*
*
*/
interface isValid { (): void }
/**
* Sets the default generator, which will be used by the
* "new dojox.uuid.Uuid()" constructor if no parameters
* are passed in.
*
* @param generator Optional
*
* @param generator Optional
*/
interface setGenerator { (generator: Function): void }
/**
* This method returns a standard 36-character string representing
* the UUID, such as "3b12f1df-5232-4804-897e-917bf397618a".
*
*
*/
interface toString { (): void }
}
@@ -166,54 +166,54 @@ declare module dojox {
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/uuid/_base.variant.html
*
*
*
*/
interface variant {
/**
*
*
*/
DCE: string;
/**
*
*
*/
MICROSOFT: string;
/**
*
*
*/
NCS: string;
/**
*
*
*/
UNKNOWN: string;
}
/**
* Permalink: http://dojotoolkit.org/api/1.9/dojox/uuid/_base.version.html
*
*
*
*/
interface version {
/**
*
*
*/
DCE_SECURITY: number;
/**
*
*
*/
NAME_BASED_MD5: number;
/**
*
*
*/
NAME_BASED_SHA1: number;
/**
*
*
*/
RANDOM: number;
/**
*
*
*/
TIME_BASED: number;
/**
*
*
*/
UNKNOWN: number;
}
+397 -397
View File
File diff suppressed because it is too large Load Diff
+7390 -7390
View File
File diff suppressed because it is too large Load Diff
+6 -6
View File
@@ -4,19 +4,19 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module dojox {
declare namespace dojox {
module xml {
module parser {
namespace xml {
namespace parser {
}
module Script {
namespace Script {
}
module widgetParser {
namespace widgetParser {
}
}
}
}