HTML-Dojo
view release on metacpan or search on metacpan
lib/HTML/Dojo/src.pm view on Meta::CPAN
t = Math.min(n, t);
}
}
return t;
}, getMedian:function (len) {
var range = this.createRange(len);
if (range.index < 0) {
return 0;
}
var a = [];
for (var i = range.index; i >= range.start; i--) {
var n = parseFloat(this.values[i].value);
if (!isNaN(n)) {
var b = false;
for (var j = 0; j < a.length && !b; j++) {
if (n == a[j]) {
b = true;
}
}
if (!b) {
a.push(n);
}
}
}
a.sort();
if (a.length > 0) {
return a[Math.ceil(a.length / 2)];
}
return 0;
}, getMode:function (len) {
var range = this.createRange(len);
if (range.index < 0) {
return 0;
}
var o = {};
var ret = 0;
var m = 0;
for (var i = range.index; i >= range.start; i--) {
var n = parseFloat(this.values[i].value);
if (!isNaN(n)) {
if (!o[this.values[i].value]) {
o[this.values[i].value] = 1;
} else {
o[this.values[i].value]++;
}
}
}
for (var p in o) {
if (m < o[p]) {
m = o[p];
ret = p;
}
}
return parseFloat(ret);
}});
dojo.requireIf(dojo.render.svg.capable, "dojo.widget.svg.Chart");
dojo.requireIf(!dojo.render.svg.capable && dojo.render.vml.capable, "dojo.widget.vml.Chart");
}});
__CPAN_FILE__ src/widget/AnimatedPng.js
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.provide("dojo.widget.AnimatedPng");
dojo.require("dojo.widget.*");
dojo.require("dojo.widget.HtmlWidget");
dojo.widget.defineWidget("dojo.widget.AnimatedPng", dojo.widget.HtmlWidget, {isContainer:false, width:0, height:0, aniSrc:"", interval:100, _blankSrc:dojo.uri.moduleUri("dojo.widget", "templates/images/blank.gif"), templateString:"<img class=\"dojoAn...
this.cellWidth = this.width;
this.cellHeight = this.height;
var img = new Image();
var self = this;
img.onload = function () {
self._initAni(img.width, img.height);
};
img.src = this.aniSrc;
}, _initAni:function (w, h) {
this.domNode.src = this._blankSrc;
this.domNode.width = this.cellWidth;
this.domNode.height = this.cellHeight;
this.domNode.style.backgroundImage = "url(" + this.aniSrc + ")";
this.domNode.style.backgroundRepeat = "no-repeat";
this.aniCols = Math.floor(w / this.cellWidth);
this.aniRows = Math.floor(h / this.cellHeight);
this.aniCells = this.aniCols * this.aniRows;
this.aniFrame = 0;
window.setInterval(dojo.lang.hitch(this, "_tick"), this.interval);
}, _tick:function () {
this.aniFrame++;
if (this.aniFrame == this.aniCells) {
this.aniFrame = 0;
}
var col = this.aniFrame % this.aniCols;
var row = Math.floor(this.aniFrame / this.aniCols);
var bx = -1 * col * this.cellWidth;
var by = -1 * row * this.cellHeight;
this.domNode.style.backgroundPosition = bx + "px " + by + "px";
}});
__CPAN_FILE__ src/widget/DateTextbox.xd.js
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.hostenv.packageLoaded({depends:[["provide", "dojo.widget.DateTextbox"], ["require", "dojo.widget.ValidationTextbox"], ["require", "dojo.date.format"], ["require", "dojo.validate.datetime"]], definePackage:function (dojo) {
dojo.provide("dojo.widget.DateTextbox");
dojo.require("dojo.widget.ValidationTextbox");
dojo.require("dojo.date.format");
dojo.require("dojo.validate.datetime");
dojo.widget.defineWidget("dojo.widget.DateTextbox", dojo.widget.ValidationTextbox, {displayFormat:"", formatLength:"short", mixInProperties:function (localProperties) {
dojo.widget.DateTextbox.superclass.mixInProperties.apply(this, arguments);
if (localProperties.format) {
this.flags.format = localProperties.format;
}
}, isValid:function () {
if (this.flags.format) {
dojo.deprecated("dojo.widget.DateTextbox", "format attribute is deprecated; use displayFormat or formatLength instead", "0.5");
return dojo.validate.isValidDate(this.textbox.value, this.flags.format);
}
lib/HTML/Dojo/src.pm view on Meta::CPAN
this.childIcon.style.display = this.childIconSrc ? "inline" : "none";
}, setGridImage:function (idx, src) {
if (idx < 0) {
idx = this.imgs.length + idx;
}
this.imgs[idx].style.backgroundImage = "url(" + src + ")";
}, updateIconTree:function () {
this.tree.updateIconTree.call(this);
}, expand:function () {
if (this.isExpanded) {
return;
}
if (this.children.length) {
this.showChildren();
}
this.isExpanded = true;
this.updateExpandIcon();
dojo.event.topic.publish(this.tree.eventNames.expand, {source:this});
}, collapse:function () {
if (!this.isExpanded) {
return;
}
this.hideChildren();
this.isExpanded = false;
this.updateExpandIcon();
dojo.event.topic.publish(this.tree.eventNames.collapse, {source:this});
}, hideChildren:function () {
this.tree.toggleObj.hide(this.containerNode, this.toggleDuration, this.explodeSrc, dojo.lang.hitch(this, "onHide"));
if (dojo.exists(dojo, "dnd.dragManager.dragObjects") && dojo.dnd.dragManager.dragObjects.length) {
dojo.dnd.dragManager.cacheTargetLocations();
}
}, showChildren:function () {
this.tree.toggleObj.show(this.containerNode, this.toggleDuration, this.explodeSrc, dojo.lang.hitch(this, "onShow"));
if (dojo.exists(dojo, "dnd.dragManager.dragObjects") && dojo.dnd.dragManager.dragObjects.length) {
dojo.dnd.dragManager.cacheTargetLocations();
}
}, addChild:function () {
return this.tree.addChild.apply(this, arguments);
}, doAddChild:function () {
return this.tree.doAddChild.apply(this, arguments);
}, edit:function (props) {
dojo.lang.mixin(this, props);
if (props.title) {
this.titleNode.innerHTML = this.title;
}
if (props.afterLabel) {
this.afterLabelNode.innerHTML = this.afterLabel;
}
if (props.childIconSrc) {
this.buildChildIcon();
}
}, removeNode:function () {
return this.tree.removeNode.apply(this, arguments);
}, doRemoveNode:function () {
return this.tree.doRemoveNode.apply(this, arguments);
}, toString:function () {
return "[" + this.widgetType + " Tree:" + this.tree + " ID:" + this.widgetId + " Title:" + this.title + "]";
}});
__CPAN_FILE__ src/widget/AnimatedPng.xd.js
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.hostenv.packageLoaded({depends:[["provide", "dojo.widget.AnimatedPng"], ["require", "dojo.widget.*"], ["require", "dojo.widget.HtmlWidget"]], definePackage:function (dojo) {
dojo.provide("dojo.widget.AnimatedPng");
dojo.require("dojo.widget.*");
dojo.require("dojo.widget.HtmlWidget");
dojo.widget.defineWidget("dojo.widget.AnimatedPng", dojo.widget.HtmlWidget, {isContainer:false, width:0, height:0, aniSrc:"", interval:100, _blankSrc:dojo.uri.moduleUri("dojo.widget", "templates/images/blank.gif"), templateString:"<img class=\"dojoA...
this.cellWidth = this.width;
this.cellHeight = this.height;
var img = new Image();
var self = this;
img.onload = function () {
self._initAni(img.width, img.height);
};
img.src = this.aniSrc;
}, _initAni:function (w, h) {
this.domNode.src = this._blankSrc;
this.domNode.width = this.cellWidth;
this.domNode.height = this.cellHeight;
this.domNode.style.backgroundImage = "url(" + this.aniSrc + ")";
this.domNode.style.backgroundRepeat = "no-repeat";
this.aniCols = Math.floor(w / this.cellWidth);
this.aniRows = Math.floor(h / this.cellHeight);
this.aniCells = this.aniCols * this.aniRows;
this.aniFrame = 0;
window.setInterval(dojo.lang.hitch(this, "_tick"), this.interval);
}, _tick:function () {
this.aniFrame++;
if (this.aniFrame == this.aniCells) {
this.aniFrame = 0;
}
var col = this.aniFrame % this.aniCols;
var row = Math.floor(this.aniFrame / this.aniCols);
var bx = -1 * col * this.cellWidth;
var by = -1 * row * this.cellHeight;
this.domNode.style.backgroundPosition = bx + "px " + by + "px";
}});
}});
__CPAN_FILE__ src/widget/TreeSelectorV3.js
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.provide("dojo.widget.TreeSelectorV3");
dojo.require("dojo.widget.HtmlWidget");
dojo.require("dojo.widget.TreeCommon");
dojo.widget.defineWidget("dojo.widget.TreeSelectorV3", [dojo.widget.HtmlWidget, dojo.widget.TreeCommon], function () {
this.eventNames = {};
this.listenedTrees = {};
this.selectedNodes = [];
this.lastClicked = {};
}, {listenTreeEvents:["afterTreeCreate", "afterCollapse", "afterChangeTree", "afterDetach", "beforeTreeDestroy"], listenNodeFilter:function (elem) {
return elem instanceof dojo.widget.Widget;
}, allowedMulti:true, dblselectTimeout:300, eventNamesDefault:{select:"select", deselect:"deselect", dblselect:"dblselect"}, onAfterTreeCreate:function (message) {
var tree = message.source;
dojo.event.browser.addListener(tree.domNode, "onclick", dojo.lang.hitch(this, this.onTreeClick));
if (dojo.render.html.ie) {
lib/HTML/Dojo/src.pm view on Meta::CPAN
px.style.position = "absolute";
px.style.fontSize = "1px";
px.style.overflow = "hidden";
if (image == -1 && format.bgImage != "") {
px.style.backgroundImage = format.bgImage;
px.style.backgroundPosition = "-" + (format.width - (radius - x) + format.borderWidth) + "px -" + ((format.height + top + y) - format.borderWidth) + "px";
} else {
px.style.backgroundColor = color;
}
if (opac != 100) {
dojo.html.setOpacity(px, (opac / 100));
}
px.style.top = y + "px";
px.style.left = x + "px";
corner.appendChild(px);
}, getRGB:function (clr) {
var ret = "#ffffff";
if (clr != "" && clr != "transparent") {
if (clr.substr(0, 3) == "rgb") {
var t = clr.substring(4, clr.indexOf(")"));
t = t.split(",");
for (var i = 0; i < t.length; i++) {
var n = parseInt(t[i]).toString(16);
if (n.length < 2) {
n = "0" + n;
}
t[i] = n;
}
ret = "#" + t.join("");
} else {
if (clr.length == 4) {
ret = "#" + clr.substring(1, 2) + clr.substring(1, 2) + clr.substring(2, 3) + clr.substring(2, 3) + clr.substring(3, 4) + clr.substring(3, 4);
} else {
ret = clr;
}
}
}
return ret;
}};
}});
__CPAN_FILE__ src/lfx/shadow.xd.js
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.hostenv.packageLoaded({depends:[["provide", "dojo.lfx.shadow"], ["require", "dojo.lang.common"], ["require", "dojo.uri.Uri"]], definePackage:function (dojo) {
dojo.provide("dojo.lfx.shadow");
dojo.require("dojo.lang.common");
dojo.require("dojo.uri.Uri");
dojo.lfx.shadow = function (node) {
this.shadowPng = dojo.uri.moduleUri("dojo.html", "images/shadow");
this.shadowThickness = 8;
this.shadowOffset = 15;
this.init(node);
};
dojo.extend(dojo.lfx.shadow, {init:function (node) {
this.node = node;
this.pieces = {};
var x1 = -1 * this.shadowThickness;
var y0 = this.shadowOffset;
var y1 = this.shadowOffset + this.shadowThickness;
this._makePiece("tl", "top", y0, "left", x1);
this._makePiece("l", "top", y1, "left", x1, "scale");
this._makePiece("tr", "top", y0, "left", 0);
this._makePiece("r", "top", y1, "left", 0, "scale");
this._makePiece("bl", "top", 0, "left", x1);
this._makePiece("b", "top", 0, "left", 0, "crop");
this._makePiece("br", "top", 0, "left", 0);
}, _makePiece:function (name, vertAttach, vertCoord, horzAttach, horzCoord, sizing) {
var img;
var url = this.shadowPng + name.toUpperCase() + ".png";
if (dojo.render.html.ie55 || dojo.render.html.ie60) {
img = dojo.doc().createElement("div");
img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + url + "'" + (sizing ? ", sizingMethod='" + sizing + "'" : "") + ")";
} else {
img = dojo.doc().createElement("img");
img.src = url;
}
img.style.position = "absolute";
img.style[vertAttach] = vertCoord + "px";
img.style[horzAttach] = horzCoord + "px";
img.style.width = this.shadowThickness + "px";
img.style.height = this.shadowThickness + "px";
this.pieces[name] = img;
this.node.appendChild(img);
}, size:function (width, height) {
var sideHeight = height - (this.shadowOffset + this.shadowThickness + 1);
if (sideHeight < 0) {
sideHeight = 0;
}
if (height < 1) {
height = 1;
}
if (width < 1) {
width = 1;
}
with (this.pieces) {
l.style.height = sideHeight + "px";
r.style.height = sideHeight + "px";
b.style.width = (width - 1) + "px";
bl.style.top = (height - 1) + "px";
b.style.top = (height - 1) + "px";
br.style.top = (height - 1) + "px";
tr.style.left = (width - 1) + "px";
r.style.left = (width - 1) + "px";
br.style.left = (width - 1) + "px";
}
}});
}});
__CPAN_FILE__ src/lfx/Animation.js
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.provide("dojo.lfx.Animation");
dojo.require("dojo.lang.func");
dojo.lfx.Line = function (start, end) {
this.start = start;
this.end = end;
if (dojo.lang.isArray(start)) {
var diff = [];
lib/HTML/Dojo/src.pm view on Meta::CPAN
}
if (fromCenter) {
var positioning = dojo.html.getStyle(node, "position");
var originalTop = node.offsetTop;
var originalLeft = node.offsetLeft;
var endTop = ((outer.height * actualPct) - outer.height) / 2;
var endLeft = ((outer.width * actualPct) - outer.width) / 2;
props.push({property:"top", start:originalTop, end:(positioning == "absolute" ? originalTop - endTop : (-1 * endTop))});
props.push({property:"left", start:originalLeft, end:(positioning == "absolute" ? originalLeft - endLeft : (-1 * endLeft))});
}
var anim = dojo.lfx.propertyAnimation(node, props, duration, easing);
if (callback) {
anim.connect("onEnd", function () {
callback(node, anim);
});
}
anims.push(anim);
});
return dojo.lfx.combine(anims);
};
dojo.lang.mixin(dojo.lfx, dojo.lfx.html);
}});
__CPAN_FILE__ src/lfx/__package__.xd.js
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.hostenv.packageLoaded({depends:[["kwCompoundRequire", {browser:["dojo.lfx.html"], dashboard:["dojo.lfx.html"]}], ["provide", "dojo.lfx.*"]], definePackage:function (dojo) {
dojo.kwCompoundRequire({browser:["dojo.lfx.html"], dashboard:["dojo.lfx.html"]});
dojo.provide("dojo.lfx.*");
}});
__CPAN_FILE__ src/lfx/shadow.js
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.provide("dojo.lfx.shadow");
dojo.require("dojo.lang.common");
dojo.require("dojo.uri.Uri");
dojo.lfx.shadow = function (node) {
this.shadowPng = dojo.uri.moduleUri("dojo.html", "images/shadow");
this.shadowThickness = 8;
this.shadowOffset = 15;
this.init(node);
};
dojo.extend(dojo.lfx.shadow, {init:function (node) {
this.node = node;
this.pieces = {};
var x1 = -1 * this.shadowThickness;
var y0 = this.shadowOffset;
var y1 = this.shadowOffset + this.shadowThickness;
this._makePiece("tl", "top", y0, "left", x1);
this._makePiece("l", "top", y1, "left", x1, "scale");
this._makePiece("tr", "top", y0, "left", 0);
this._makePiece("r", "top", y1, "left", 0, "scale");
this._makePiece("bl", "top", 0, "left", x1);
this._makePiece("b", "top", 0, "left", 0, "crop");
this._makePiece("br", "top", 0, "left", 0);
}, _makePiece:function (name, vertAttach, vertCoord, horzAttach, horzCoord, sizing) {
var img;
var url = this.shadowPng + name.toUpperCase() + ".png";
if (dojo.render.html.ie55 || dojo.render.html.ie60) {
img = dojo.doc().createElement("div");
img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + url + "'" + (sizing ? ", sizingMethod='" + sizing + "'" : "") + ")";
} else {
img = dojo.doc().createElement("img");
img.src = url;
}
img.style.position = "absolute";
img.style[vertAttach] = vertCoord + "px";
img.style[horzAttach] = horzCoord + "px";
img.style.width = this.shadowThickness + "px";
img.style.height = this.shadowThickness + "px";
this.pieces[name] = img;
this.node.appendChild(img);
}, size:function (width, height) {
var sideHeight = height - (this.shadowOffset + this.shadowThickness + 1);
if (sideHeight < 0) {
sideHeight = 0;
}
if (height < 1) {
height = 1;
}
if (width < 1) {
width = 1;
}
with (this.pieces) {
l.style.height = sideHeight + "px";
r.style.height = sideHeight + "px";
b.style.width = (width - 1) + "px";
bl.style.top = (height - 1) + "px";
b.style.top = (height - 1) + "px";
br.style.top = (height - 1) + "px";
tr.style.left = (width - 1) + "px";
r.style.left = (width - 1) + "px";
br.style.left = (width - 1) + "px";
}
}});
__CPAN_FILE__ src/lfx/toggle.js
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.provide("dojo.lfx.toggle");
dojo.require("dojo.lfx.*");
dojo.lfx.toggle.plain = {show:function (node, duration, easing, callback) {
dojo.html.show(node);
if (dojo.lang.isFunction(callback)) {
callback();
}
}, hide:function (node, duration, easing, callback) {
lib/HTML/Dojo/src.pm view on Meta::CPAN
dojo.provide("dojo.i18n.currency.nls.hi.GBP");
dojo.hostenv.xdLoadFlattenedBundle("dojo.i18n.currency", "GBP", "hi", ({"displayName":"\u092c\u094d\u0930\u093f\u0924\u0928 \u0915\u093e \u092a\u094c\u0928\u094d\u0921 \u0938\u094d\u091f\u0930\u094d\u0932\u093f\u0917", "symbol":"\xa3"}));
}})
__CPAN_FILE__ src/i18n/currency/nls/hi/EUR.js
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
({"displayName":"\u092f\u0941\u0930\u094b", "symbol":"\u20ac"})
__CPAN_FILE__ src/i18n/currency/nls/hi/USD.xd.js
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.hostenv.packageLoaded({depends:[["provide", "dojo.i18n.currency.nls.hi.USD"]], definePackage:function (dojo) {
dojo.provide("dojo.i18n.currency.nls.hi.USD");
dojo.hostenv.xdLoadFlattenedBundle("dojo.i18n.currency", "USD", "hi", ({"displayName":"\u0905\u092e\u0930\u0940\u0915\u0940 \u0921\u093e\u0932\u0930", "symbol":"$"}));
}})
__CPAN_DIR__ src/namespaces
__CPAN_FILE__ src/namespaces/dojo.js
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.provide("dojo.namespaces.dojo");
dojo.require("dojo.ns");
(function(){
// Mapping of all widget short names to their full package names
// This is used for widget autoloading - no dojo.require() is necessary.
// If you use a widget in markup or create one dynamically, then this
// mapping is used to find and load any dependencies not already loaded.
// You should use your own namespace for any custom widgets.
// For extra widgets you use, dojo.declare() may be used to explicitly load them.
// Experimental and deprecated widgets are not included in this table
var map = {
html: {
"accordioncontainer": "dojo.widget.AccordionContainer",
"animatedpng": "dojo.widget.AnimatedPng",
"button": "dojo.widget.Button",
"chart": "dojo.widget.Chart",
"checkbox": "dojo.widget.Checkbox",
"clock": "dojo.widget.Clock",
"colorpalette": "dojo.widget.ColorPalette",
"combobox": "dojo.widget.ComboBox",
"combobutton": "dojo.widget.Button",
"contentpane": "dojo.widget.ContentPane",
"currencytextbox": "dojo.widget.CurrencyTextbox",
"datepicker": "dojo.widget.DatePicker",
"datetextbox": "dojo.widget.DateTextbox",
"debugconsole": "dojo.widget.DebugConsole",
"dialog": "dojo.widget.Dialog",
"dropdownbutton": "dojo.widget.Button",
"dropdowndatepicker": "dojo.widget.DropdownDatePicker",
"dropdowntimepicker": "dojo.widget.DropdownTimePicker",
"emaillisttextbox": "dojo.widget.InternetTextbox",
"emailtextbox": "dojo.widget.InternetTextbox",
"editor": "dojo.widget.Editor",
"editor2": "dojo.widget.Editor2",
"filteringtable": "dojo.widget.FilteringTable",
"fisheyelist": "dojo.widget.FisheyeList",
"fisheyelistitem": "dojo.widget.FisheyeList",
"floatingpane": "dojo.widget.FloatingPane",
"modalfloatingpane": "dojo.widget.FloatingPane",
"form": "dojo.widget.Form",
"googlemap": "dojo.widget.GoogleMap",
"inlineeditbox": "dojo.widget.InlineEditBox",
"integerspinner": "dojo.widget.Spinner",
"integertextbox": "dojo.widget.IntegerTextbox",
"ipaddresstextbox": "dojo.widget.InternetTextbox",
"layoutcontainer": "dojo.widget.LayoutContainer",
"linkpane": "dojo.widget.LinkPane",
"popupmenu2": "dojo.widget.Menu2",
"menuitem2": "dojo.widget.Menu2",
"menuseparator2": "dojo.widget.Menu2",
"menubar2": "dojo.widget.Menu2",
"menubaritem2": "dojo.widget.Menu2",
"pagecontainer": "dojo.widget.PageContainer",
"pagecontroller": "dojo.widget.PageContainer",
"popupcontainer": "dojo.widget.PopupContainer",
"progressbar": "dojo.widget.ProgressBar",
"radiogroup": "dojo.widget.RadioGroup",
"realnumbertextbox": "dojo.widget.RealNumberTextbox",
"regexptextbox": "dojo.widget.RegexpTextbox",
"repeater": "dojo.widget.Repeater",
"resizabletextarea": "dojo.widget.ResizableTextarea",
"richtext": "dojo.widget.RichText",
"select": "dojo.widget.Select",
"show": "dojo.widget.Show",
"showaction": "dojo.widget.ShowAction",
"showslide": "dojo.widget.ShowSlide",
"slidervertical": "dojo.widget.Slider",
"sliderhorizontal": "dojo.widget.Slider",
"slider":"dojo.widget.Slider",
"slideshow": "dojo.widget.SlideShow",
"sortabletable": "dojo.widget.SortableTable",
"splitcontainer": "dojo.widget.SplitContainer",
"tabcontainer": "dojo.widget.TabContainer",
"tabcontroller": "dojo.widget.TabContainer",
lib/HTML/Dojo/src.pm view on Meta::CPAN
"treecontextmenuv3": "dojo.widget.TreeContextMenuV3",
"treedndcontrollerv3": "dojo.widget.TreeDndControllerV3",
"treeloadingcontrollerv3": "dojo.widget.TreeLoadingControllerV3",
"treemenuitemv3": "dojo.widget.TreeContextMenuV3",
"treerpccontrollerv3": "dojo.widget.TreeRpcControllerV3",
"treeselectorv3": "dojo.widget.TreeSelectorV3",
"urltextbox": "dojo.widget.InternetTextbox",
"usphonenumbertextbox": "dojo.widget.UsTextbox",
"ussocialsecuritynumbertextbox": "dojo.widget.UsTextbox",
"usstatetextbox": "dojo.widget.UsTextbox",
"usziptextbox": "dojo.widget.UsTextbox",
"validationtextbox": "dojo.widget.ValidationTextbox",
"treeloadingcontroller": "dojo.widget.TreeLoadingController",
"wizardcontainer": "dojo.widget.Wizard",
"wizardpane": "dojo.widget.Wizard",
"yahoomap": "dojo.widget.YahooMap"
},
svg: {
"chart": "dojo.widget.svg.Chart"
},
vml: {
"chart": "dojo.widget.vml.Chart"
}
};
dojo.addDojoNamespaceMapping = function(/*String*/shortName, /*String*/packageName){
// summary:
// Add an entry to the mapping table for the dojo: namespace
//
// shortName: the name to be used as the widget's tag name in the dojo: namespace
// packageName: the path to the Javascript module in dotted package notation
map[shortName]=packageName;
};
function dojoNamespaceResolver(name, domain){
if(!domain){ domain="html"; }
if(!map[domain]){ return null; }
return map[domain][name];
}
dojo.registerNamespaceResolver("dojo", dojoNamespaceResolver);
})();
__CPAN_FILE__ src/namespaces/dojo.xd.js
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.hostenv.packageLoaded({depends:[["provide", "dojo.namespaces.dojo"], ["require", "dojo.ns"], ["require", ]], definePackage:function (dojo) {
dojo.provide("dojo.namespaces.dojo");
dojo.require("dojo.ns");
(function () {
var map = {html:{"accordioncontainer":"dojo.widget.AccordionContainer", "animatedpng":"dojo.widget.AnimatedPng", "button":"dojo.widget.Button", "chart":"dojo.widget.Chart", "checkbox":"dojo.widget.Checkbox", "clock":"dojo.widget.Clock", "colorpalet...
dojo.addDojoNamespaceMapping = function (shortName, packageName) {
map[shortName] = packageName;
};
function dojoNamespaceResolver(name, domain) {
if (!domain) {
domain = "html";
}
if (!map[domain]) {
return null;
}
return map[domain][name];
}
dojo.registerNamespaceResolver("dojo", dojoNamespaceResolver);
})();
}});
__CPAN_DIR__ src/crypto
__CPAN_FILE__ src/crypto/Rijndael.xd.js
/*
Copyright (c) 2004-2006, The Dojo Foundation
All Rights Reserved.
Licensed under the Academic Free License version 2.1 or above OR the
modified BSD license. For more information on Dojo licensing, see:
http://dojotoolkit.org/community/licensing.shtml
*/
dojo.hostenv.packageLoaded({depends:[["provide", "dojo.crypto.Rijndael"], ["require", "dojo.crypto"], ["require", "dojo.experimental"]], definePackage:function (dojo) {
dojo.provide("dojo.crypto.Rijndael");
dojo.require("dojo.crypto");
dojo.require("dojo.experimental");
dojo.experimental("dojo.crypto.Rijndael");
dojo.crypto.Rijndael = new function () {
this.encrypt = function (plaintext, key) {
};
this.decrypt = function (ciphertext, key) {
};
}();
}});
__CPAN_FILE__ src/crypto/LICENSE
License Disclaimer:
All contents of this directory are Copyright (c) the Dojo Foundation, with the
following exceptions:
-------------------------------------------------------------------------------
MD5.js, SHA1.js:
* Copyright 1998-2005, Paul Johnstone
Distributed under the terms of the BSD License
__CPAN_FILE__ src/crypto/SHA256.js
/*
( run in 0.595 second using v1.01-cache-2.11-cpan-39bf76dae61 )