diff --git a/spring-faces/src/main/resources/META-INF/dijit/ColorPalette.js b/spring-faces/src/main/resources/META-INF/dijit/ColorPalette.js deleted file mode 100644 index 44b30c6b..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/ColorPalette.js +++ /dev/null @@ -1,261 +0,0 @@ -if(!dojo._hasResource["dijit.ColorPalette"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.ColorPalette"] = true; -dojo.provide("dijit.ColorPalette"); - -dojo.require("dijit._Widget"); -dojo.require("dijit._Templated"); -dojo.require("dojo.colors"); -dojo.require("dojo.i18n"); -dojo.requireLocalization("dojo", "colors", null, "ko,zh,ja,zh-tw,ru,it,hu,ROOT,fr,pt,pl,es,de,cs"); - -dojo.declare( - "dijit.ColorPalette", - [dijit._Widget, dijit._Templated], -{ - // summary - // Grid showing various colors, so the user can pick a certain color - - // defaultTimeout: Number - // number of milliseconds before a held key or button becomes typematic - defaultTimeout: 500, - - // timeoutChangeRate: Number - // fraction of time used to change the typematic timer between events - // 1.0 means that each typematic event fires at defaultTimeout intervals - // < 1.0 means that each typematic event fires at an increasing faster rate - timeoutChangeRate: 0.90, - - // palette: String - // Size of grid, either "7x10" or "3x4". - palette: "7x10", - - //_value: String - // The value of the selected color. - value: null, - - //_currentFocus: Integer - // Index of the currently focused color. - _currentFocus: 0, - - // _xDim: Integer - // This is the number of colors horizontally across. - _xDim: null, - - // _yDim: Integer - /// This is the number of colors vertically down. - _yDim: null, - - // _palettes: Map - // This represents the value of the colors. - // The first level is a hashmap of the different arrays available - // The next two dimensions represent the columns and rows of colors. - _palettes: { - - "7x10": [["white", "seashell", "cornsilk", "lemonchiffon","lightyellow", "palegreen", "paleturquoise", "lightcyan", "lavender", "plum"], - ["lightgray", "pink", "bisque", "moccasin", "khaki", "lightgreen", "lightseagreen", "lightskyblue", "cornflowerblue", "violet"], - ["silver", "lightcoral", "sandybrown", "orange", "palegoldenrod", "chartreuse", "mediumturquoise", "skyblue", "mediumslateblue","orchid"], - ["gray", "red", "orangered", "darkorange", "yellow", "limegreen", "darkseagreen", "royalblue", "slateblue", "mediumorchid"], - ["dimgray", "crimson", "chocolate", "coral", "gold", "forestgreen", "seagreen", "blue", "blueviolet", "darkorchid"], - ["darkslategray","firebrick","saddlebrown", "sienna", "olive", "green", "darkcyan", "mediumblue","darkslateblue", "darkmagenta" ], - ["black", "darkred", "maroon", "brown", "darkolivegreen", "darkgreen", "midnightblue", "navy", "indigo", "purple"]], - - "3x4": [["white", "lime", "green", "blue"], - ["silver", "yellow", "fuchsia", "navy"], - ["gray", "red", "purple", "black"]] - - }, - - // _imagePaths: Map - // This is stores the path to the palette images - _imagePaths: { - "7x10": dojo.moduleUrl("dijit", "templates/colors7x10.png"), - "3x4": dojo.moduleUrl("dijit", "templates/colors3x4.png") - }, - - // _paletteCoords: Map - // This is a map that is used to calculate the coordinates of the - // images that make up the palette. - _paletteCoords: { - "leftOffset": 4, "topOffset": 4, - "cWidth": 20, "cHeight": 20 - - }, - - // templatePath: String - // Path to the template of this widget. - templateString:"
\n\t
\n\t\t\n\t
\t\n
\n", - - // _paletteDims: Object - // Size of the supported palettes for alignment purposes. - _paletteDims: { - "7x10": {"width": "206px", "height": "145px"}, - "3x4": {"width": "86px", "height": "64px"} - }, - - - postCreate: function(){ - // A name has to be given to the colorMap, this needs to be unique per Palette. - dojo.mixin(this.divNode.style, this._paletteDims[this.palette]); - this.imageNode.setAttribute("src", this._imagePaths[this.palette]); - var choices = this._palettes[this.palette]; - this.domNode.style.position = "relative"; - this._highlightNodes = []; - this.colorNames = dojo.i18n.getLocalization("dojo", "colors", this.lang); - - for(var row=0; row < choices.length; row++){ - for(var col=0; col < choices[row].length; col++){ - var highlightNode = document.createElement("img"); - highlightNode.src = dojo.moduleUrl("dijit", "templates/blank.gif"); - dojo.addClass(highlightNode, "dijitPaletteImg"); - var color = choices[row][col]; - var colorValue = new dojo.Color(dojo.Color.named[color]); - highlightNode.alt = this.colorNames[color]; - highlightNode.color = colorValue.toHex(); - var highlightStyle = highlightNode.style; - highlightStyle.color = highlightStyle.backgroundColor = highlightNode.color; - dojo.forEach(["Dijitclick", "MouseOut", "MouseOver", "Blur", "Focus"], function(handler){ - this.connect(highlightNode, "on"+handler.toLowerCase(), "_onColor"+handler); - }, this); - this.divNode.appendChild(highlightNode); - var coords = this._paletteCoords; - highlightStyle.top = coords.topOffset + (row * coords.cHeight) + "px"; - highlightStyle.left = coords.leftOffset + (col * coords.cWidth) + "px"; - highlightNode.setAttribute("tabIndex","-1"); - highlightNode.title = this.colorNames[color]; - dijit.setWaiRole(highlightNode, "gridcell"); - highlightNode.index = this._highlightNodes.length; - this._highlightNodes.push(highlightNode); - } - } - this._highlightNodes[this._currentFocus].tabIndex = 0; - this._xDim = choices[0].length; - this._yDim = choices.length; - - // Now set all events - // The palette itself is navigated to with the tab key on the keyboard - // Keyboard navigation within the Palette is with the arrow keys - // Spacebar selects the color. - // For the up key the index is changed by negative the x dimension. - - var keyIncrementMap = { - UP_ARROW: -this._xDim, - // The down key the index is increase by the x dimension. - DOWN_ARROW: this._xDim, - // Right and left move the index by 1. - RIGHT_ARROW: 1, - LEFT_ARROW: -1 - }; - for(var key in keyIncrementMap){ - dijit.typematic.addKeyListener(this.domNode, - {keyCode:dojo.keys[key], ctrlKey:false, altKey:false, shiftKey:false}, - this, - function(){ - var increment = keyIncrementMap[key]; - return function(count){ this._navigateByKey(increment, count); }; - }(), - this.timeoutChangeRate, this.defaultTimeout); - } - }, - - focus: function(){ - // summary: - // Focus this ColorPalette. - dijit.focus(this._highlightNodes[this._currentFocus]); - }, - - onChange: function(color){ - // summary: - // Callback when a color is selected. - // color: String - // Hex value corresponding to color. -// console.debug("Color selected is: "+color); - }, - - _onColorDijitclick: function(/*Event*/ evt){ - // summary: - // Handler for click, enter key & space key. Selects the color. - // evt: - // The event. - var target = evt.currentTarget; - if (this._currentFocus != target.index){ - this._currentFocus = target.index; - dijit.focus(target); - } - this._selectColor(target); - dojo.stopEvent(evt); - }, - - _onColorMouseOut: function(/*Event*/ evt){ - // summary: - // Handler for onMouseOut. Removes highlight. - // evt: - // The mouse event. - dojo.removeClass(evt.currentTarget, "dijitPaletteImgHighlight"); - }, - - _onColorMouseOver: function(/*Event*/ evt){ - // summary: - // Handler for onMouseOver. Highlights the color. - // evt: - // The mouse event. - var target = evt.currentTarget; - target.tabIndex = 0; - target.focus(); - }, - - _onColorBlur: function(/*Event*/ evt){ - // summary: - // Handler for onBlur. Removes highlight and sets - // the first color as the palette's tab point. - // evt: - // The blur event. - dojo.removeClass(evt.currentTarget, "dijitPaletteImgHighlight"); - evt.currentTarget.tabIndex = -1; - this._currentFocus = 0; - this._highlightNodes[0].tabIndex = 0; - }, - - _onColorFocus: function(/*Event*/ evt){ - // summary: - // Handler for onFocus. Highlights the color. - // evt: - // The focus event. - if(this._currentFocus != evt.currentTarget.index){ - this._highlightNodes[this._currentFocus].tabIndex = -1; - } - this._currentFocus = evt.currentTarget.index; - dojo.addClass(evt.currentTarget, "dijitPaletteImgHighlight"); - - }, - - _selectColor: function(selectNode){ - // summary: - // This selects a color. It triggers the onChange event - // area: - // The area node that covers the color being selected. - this.onChange(this.value = selectNode.color); - }, - - _navigateByKey: function(increment, typeCount){ - // summary:we - // This is the callback for typematic. - // It changes the focus and the highlighed color. - // increment: - // How much the key is navigated. - // typeCount: - // How many times typematic has fired. - - // typecount == -1 means the key is released. - if(typeCount == -1){ return; } - - var newFocusIndex = this._currentFocus + increment; - if(newFocusIndex < this._highlightNodes.length && newFocusIndex > -1) - { - var focusNode = this._highlightNodes[newFocusIndex]; - focusNode.tabIndex = 0; - focusNode.focus(); - } - } -}); - -} diff --git a/spring-faces/src/main/resources/META-INF/dijit/Declaration.js b/spring-faces/src/main/resources/META-INF/dijit/Declaration.js deleted file mode 100644 index 395d67c3..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/Declaration.js +++ /dev/null @@ -1,67 +0,0 @@ -if(!dojo._hasResource["dijit.Declaration"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.Declaration"] = true; -dojo.provide("dijit.Declaration"); -dojo.require("dijit._Widget"); -dojo.require("dijit._Templated"); - -dojo.declare( - "dijit.Declaration", - dijit._Widget, - { - // summary: - // The Declaration widget allows a user to declare new widget - // classes directly from a snippet of markup. - - _noScript: true, - widgetClass: "", - replaceVars: true, - defaults: null, - mixins: [], - buildRendering: function(){ - var src = this.srcNodeRef.parentNode.removeChild(this.srcNodeRef); - var preambles = dojo.query("> script[type='dojo/method'][event='preamble']", src).orphan(); - var scripts = dojo.query("> script[type^='dojo/']", src).orphan(); - var srcType = src.nodeName; - - var propList = this.defaults||{}; - - // map array of strings like [ "dijit.form.Button" ] to array of mixin objects - // (note that dojo.map(this.mixins, dojo.getObject) doesn't work because it passes - // a bogus third argument to getObject(), confusing it) - this.mixins = this.mixins.length ? - dojo.map(this.mixins, function(name){ return dojo.getObject(name); } ) : - [ dijit._Widget, dijit._Templated ]; - - if(preambles.length){ - // we only support one preamble. So be it. - propList.preamble = dojo.parser._functionFromScript(preambles[0]); - } - propList.widgetsInTemplate = true; - propList._skipNodeCache = true; - propList.templateString = "<"+srcType+" class='"+src.className+"' dojoAttachPoint='"+(src.getAttribute("dojoAttachPoint")||'')+"' dojoAttachEvent='"+(src.getAttribute("dojoAttachEvent")||'')+"' >"+src.innerHTML.replace(/\%7B/g,"{").replace(/\%7D/g,"}")+""; - // console.debug(propList.templateString); - - // strip things so we don't create stuff under us in the initial setup phase - dojo.query("[dojoType]", src).forEach(function(node){ - node.removeAttribute("dojoType"); - }); - - // create the new widget class - dojo.declare( - this.widgetClass, - this.mixins, - propList - ); - - // do the connects for each - - - - -
-

Dojo Benchmark Tool

- -
-
- - Class:

- Count:

- - Method: - - -

- Run Test - -
- -
- -
-

- * The results of these tests are important to us. Please feel free to submit your dataSet - to Dojotoolkit.org. Your privacy will be respected. - -

-
-
- - -
-
-
-
- -

Results:

- - - diff --git a/spring-faces/src/main/resources/META-INF/dijit/bench/create_widgets.html b/spring-faces/src/main/resources/META-INF/dijit/bench/create_widgets.html deleted file mode 100644 index 9a6f78af..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/bench/create_widgets.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - PROGRAMMATIC - Dojo Widget Creation Test - - - - - - - - Pass ?count=100 in the query string to change the number of widgets.
- Pass ?class=form.Button in the query string to change the widget class. -

- -
-
- - - diff --git a/spring-faces/src/main/resources/META-INF/dijit/bench/test_Button-programmatic.html b/spring-faces/src/main/resources/META-INF/dijit/bench/test_Button-programmatic.html deleted file mode 100644 index a9d0cd18..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/bench/test_Button-programmatic.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - PROGRAMMATIC - Dojo Button 100 Test - - - - - - -

Creating dojot.form.buttons programmatically

-

- -
- -
-Pass "?count=n" in the query string to change the number of buttons. - - - - - diff --git a/spring-faces/src/main/resources/META-INF/dijit/bench/test_button-results.html b/spring-faces/src/main/resources/META-INF/dijit/bench/test_button-results.html deleted file mode 100644 index c9fa5201..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/bench/test_button-results.html +++ /dev/null @@ -1,66 +0,0 @@ - - - -

Widget instantiation timing test results

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Computer/OSBrowserParsingProgrammatic
10050010001005001000
MacBook Pro 2.16
OS 10.4 2GB RAM
FF (2.0.0.3)3031724350519510062266
Safari (2.04)192146044631428952403
WebKit Nightly (21223)110540109685458940
Dell Precision 2.13 PPro
XP SP 2 - 2GB RAM
FF (2.0.0.3)282126624842508901766
IE7 (7.0.5730.11)3032079517220311402422
- - -

If you want to play:

-

-
    -
  1. Run the following tests: - -
    - Change the "count=" to 100, 500, 1000 for each. -

    - Restart the browser between each test/count. Run each test 3 times and record the smallest number. -
  2. -
  3. Record your tests in the copy of this file in SVN: dijit/bench/test_Button-results.html and check it in. Reference ticket #2968.
  4. -
- diff --git a/spring-faces/src/main/resources/META-INF/dijit/bench/widget_construction_test.php b/spring-faces/src/main/resources/META-INF/dijit/bench/widget_construction_test.php deleted file mode 100644 index 4718c9c9..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/bench/widget_construction_test.php +++ /dev/null @@ -1,186 +0,0 @@ - - - - - test of various synchronous page searching methods - - - - - -

This page contains a huge number of nodes, most of which are "chaff".

-

Here's the relative timings for this page

-
- - - - - -
var dlg = new blah.ext.LayoutDialog(config.id || blah.util.Dom.generateId(), {
-				autoCreate : true,
-				minWidth:400,
-				minHeight:300,
-				
-				syncHeightBeforeShow: true,
-				shadow:true,
-				fixedcenter: true,
-				center:{autoScroll:false},
-				east:{split:true,initialSize:150,minSize:150,maxSize:250}
-			});
-			dlg.setTitle('Choose an Image');
-			dlg.getEl().addClass('ychooser-dlg');

-
var animated = new blah.ext.Resizable('animated', {
-			    width: 200,
-			    height: 100,
-			    minWidth:100,
-			    minHeight:50,
-			    animate:true,
-			    easing: YAHOO.util.Easing.backIn,
-			    duration:.6
-			});
-

The standard Lorem Ipsum passage, used since the 1500s

-

- "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do - eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim - ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut - aliquip ex ea commodo consequat. Duis aute irure dolor in - reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla - pariatur. Excepteur sint occaecat cupidatat non proident, sunt in - culpa qui officia deserunt mollit anim id est laborum." -

- -

Section 1.10.32 of "de Finibus Bonorum et Malorum", written by Cicero in 45 BC

- -

- "Sed ut perspiciatis unde omnis iste natus error sit voluptatem - accusantium doloremque laudantium, totam rem aperiam, eaque ipsa - quae ab illo inventore veritatis et quasi architecto beatae vitae - dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit - aspernatur aut odit aut fugit, sed quia consequuntur magni dolores - eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam - est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci - velit, sed quia non numquam eius modi tempora incidunt ut labore et - dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, - quis nostrum exercitationem ullam corporis suscipit laboriosam, - nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure - reprehenderit qui in ea voluptate velit esse quam nihil molestiae - consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla - pariatur?" -

- -

1914 translation by H. Rackham

- -

- "But I must explain to you how all this mistaken idea of denouncing - pleasure and praising pain was born and I will give you a complete - account of the system, and expound the actual teachings of the - great explorer of the truth, the master-builder of human happiness. - No one rejects, dislikes, or avoids pleasure itself, because it is - pleasure, but because those who do not know how to pursue pleasure - rationally encounter consequences that are extremely painful. Nor - again is there anyone who loves or pursues or desires to obtain - pain of itself, because it is pain, but because occasionally - circumstances occur in which toil and pain can procure him some - great pleasure. To take a trivial example, which of us ever - undertakes laborious physical exercise, except to obtain some - advantage from it? But who has any right to find fault with a man - who chooses to enjoy a pleasure that has no annoying consequences, - or one who avoids a pain that produces no resultant pleasure?" -

- - -
- - - - - - -
-
- chaff! -
- - -
item2
- - -
- - - -
item
- - - - - - diff --git a/spring-faces/src/main/resources/META-INF/dijit/changes.txt b/spring-faces/src/main/resources/META-INF/dijit/changes.txt deleted file mode 100644 index 525305b1..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/changes.txt +++ /dev/null @@ -1,93 +0,0 @@ -Changes from Dojo 0.4 dojo.widgets to new dijit project -======================================================= - -The widgets and widget infrastructure have been separated into separate project, -vastly streamlined and with a new directory structure. There are many other changes. - -Markup ------- - -dojoType="button" replaced by dojoType="dijit.Button" Must use fully qualified class name, -and it's case-sensitive. - -Need to manually dojo.require("dojo.parser") to get parsing - -Widget namespaces and widget auto-loading are desupported. - -onClick="foo" now overrides (ie, replaces) the default onClick() function rather than attaching to it, -so widget designers should make empty onClick() functions (when appropriate). - -Programmatic creation ---------------------- -Create widgets via - - new dijit.Button(params, srcNodeRef) - -createWidget() call removed since multiple renderers are no longer supported (see next section). - -At least for the dijit widgets, all widgets are guaranteed to work programmatically, which in -effect means that all widgets must have templates, unless the default
works. - -Renderers ---------- -Removed support for multiple renderers (svg & vml & a11y) for a single widget. -If a widget wants to render differently on different platforms, there must be -branching code inside the widget, or it needs to call a library that branches -based on the browser type (like dojo.gfx or dojo.charting). - - -Templates ---------- -"this." is no longer used within ${} substitution notation. See ticket #2905. -dojoRoot,buildScriptBase,dojoModuleUrl are no longer supported, but -any JavaScript properties on the widget's 'this' may be referenced with dotted notation. -The attributes dojoOn* are desupported (including dojoOnBuild); -also can't use id attribute to affect a dojoAttachPoint. - -dojoAttachEvent is case sensitive, so capitalization matters. You will probably have -to change - -dojoAttachEvent="onClick" - -to - -dojoAttachEvent="onclick: onClick" - -(given that the event name is lowercase, and assuming that the method name is camel case) - -lists within dojoAttachPoint, dojoAttachEvent, waiRole, and waiState are now comma-separated -(not separated by semi-colons) - -Standard HTML attributes like 'id', 'name', 'lang', etc. are carried over programmatically -by the _Widget constructor and do not need to be declared in the template (see _Widget.attributeMap) - -Parent/Child relationships --------------------------- -By default widgets exist as islands, not knowing about their parent widget or children widgets. -The exception is the destroy() function which will also delete all descendant widgets. -Some widgets like Tree and SplitContainer will know about their children, but those widgets -will use the special mixins in Container.js / Layout.js. - -Widget.js base class --------------------- - - - Widget.js, Domwidget.js, HtmlWidget.js combined into dijit.base.Widget, with TemplatedWidget mixin -for widgets with templates - - - on widget creation, postMixInProperties(), buildRendering() and postCreate() is called. - fillInTemplate() is no longer called. In addition, those functions call signatures have changed. - No arguments are passed. To get the source dom Node, just reference this.srcDomNode. -When postCreate() is called the widget children don't yet exist. - - - The TemplatedWidget mixin defines buildRendering(). widgetsInTemplate not ported yet. - - - onResized() removed - - - the whole parent/child relationship thing is gone - - - extraArgs[] is gone - - - postCreate() called but child widgets don't exist yet - - - templateCssPath ignored. User must manually include tundra.css file - diff --git a/spring-faces/src/main/resources/META-INF/dijit/dijit-all.js b/spring-faces/src/main/resources/META-INF/dijit/dijit-all.js deleted file mode 100644 index 508277cb..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/dijit-all.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - Copyright (c) 2004-2007, 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/book/dojo-book-0-9/introduction/licensing -*/ - -/* - This is a compiled version of Dojo, built for deployment and not for - development. To get an editable version, please visit: - - http://dojotoolkit.org - - for documentation and information on getting the source. -*/ - -if(!dojo._hasResource["dojo.colors"]){dojo._hasResource["dojo.colors"]=true;dojo.provide("dojo.colors");(function(){var _1=function(m1,m2,h){if(h<0){++h;}if(h>1){--h;}var h6=6*h;if(h6<1){return m1+(m2-m1)*h6;}if(2*h<1){return m2;}if(3*h<2){return m1+(m2-m1)*(2/3-h)*6;}return m1;};dojo.colorFromRgb=function(_6,_7){var m=_6.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(m){var c=m[2].split(/\s*,\s*/),l=c.length,t=m[1];if((t=="rgb"&&l==3)||(t=="rgba"&&l==4)){var r=c[0];if(r.charAt(r.length-1)=="%"){var a=dojo.map(c,function(x){return parseFloat(x)*2.56;});if(l==4){a[3]=c[3];}return dojo.colorFromArray(a,_7);}return dojo.colorFromArray(c,_7);}if((t=="hsl"&&l==3)||(t=="hsla"&&l==4)){var H=((parseFloat(c[0])%360)+360)%360/360,S=parseFloat(c[1])/100,L=parseFloat(c[2])/100,m2=L<=0.5?L*(S+1):L+S-L*S,m1=2*L-m2,a=[_1(m1,m2,H+1/3)*256,_1(m1,m2,H)*256,_1(m1,m2,H-1/3)*256,1];if(l==4){a[3]=c[3];}return dojo.colorFromArray(a,_7);}}return null;};var _14=function(c,low,_17){c=Number(c);return isNaN(c)?_17:c_17?_17:c;};dojo.Color.prototype.sanitize=function(){var t=this;t.r=Math.round(_14(t.r,0,255));t.g=Math.round(_14(t.g,0,255));t.b=Math.round(_14(t.b,0,255));t.a=_14(t.a,0,1);return this;};})();dojo.colors.makeGrey=function(g,a){return dojo.colorFromArray([g,g,g,a]);};dojo.Color.named=dojo.mixin({aliceblue:[240,248,255],antiquewhite:[250,235,215],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],blanchedalmond:[255,235,205],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],oldlace:[253,245,230],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],thistle:[216,191,216],tomato:[255,99,71],transparent:[0,0,0,0],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],whitesmoke:[245,245,245],yellowgreen:[154,205,50]},dojo.Color.named);}if(!dojo._hasResource["dojo.i18n"]){dojo._hasResource["dojo.i18n"]=true;dojo.provide("dojo.i18n");dojo.i18n.getLocalization=function(_1b,_1c,_1d){_1d=dojo.i18n.normalizeLocale(_1d);var _1e=_1d.split("-");var _1f=[_1b,"nls",_1c].join(".");var _20=dojo._loadedModules[_1f];if(_20){var _21;for(var i=_1e.length;i>0;i--){var loc=_1e.slice(0,i).join("_");if(_20[loc]){_21=_20[loc];break;}}if(!_21){_21=_20.ROOT;}if(_21){var _24=function(){};_24.prototype=_21;return new _24();}}throw new Error("Bundle not found: "+_1c+" in "+_1b+" , locale="+_1d);};dojo.i18n.normalizeLocale=function(_25){var _26=_25?_25.toLowerCase():dojo.locale;if(_26=="root"){_26="ROOT";}return _26;};dojo.i18n._requireLocalization=function(_27,_28,_29,_2a){var _2b=dojo.i18n.normalizeLocale(_29);var _2c=[_27,"nls",_28].join(".");var _2d="";if(_2a){var _2e=_2a.split(",");for(var i=0;i<_2e.length;i++){if(_2b.indexOf(_2e[i])==0){if(_2e[i].length>_2d.length){_2d=_2e[i];}}}if(!_2d){_2d="ROOT";}}var _30=_2a?_2d:_2b;var _31=dojo._loadedModules[_2c];var _32=null;if(_31){if(djConfig.localizationComplete&&_31._built){return;}var _33=_30.replace(/-/g,"_");var _34=_2c+"."+_33;_32=dojo._loadedModules[_34];}if(!_32){_31=dojo["provide"](_2c);var _35=dojo._getModuleSymbols(_27);var _36=_35.concat("nls").join("/");var _37;dojo.i18n._searchLocalePath(_30,_2a,function(loc){var _39=loc.replace(/-/g,"_");var _3a=_2c+"."+_39;var _3b=false;if(!dojo._loadedModules[_3a]){dojo["provide"](_3a);var _3c=[_36];if(loc!="ROOT"){_3c.push(loc);}_3c.push(_28);var _3d=_3c.join("/")+".js";_3b=dojo._loadPath(_3d,null,function(_3e){var _3f=function(){};_3f.prototype=_37;_31[_39]=new _3f();for(var j in _3e){_31[_39][j]=_3e[j];}});}else{_3b=true;}if(_3b&&_31[_39]){_37=_31[_39];}else{_31[_39]=_37;}if(_2a){return true;}});}if(_2a&&_2b!=_2d){_31[_2b.replace(/-/g,"_")]=_31[_2d.replace(/-/g,"_")];}};(function(){var _41=djConfig.extraLocale;if(_41){if(!_41 instanceof Array){_41=[_41];}var req=dojo.i18n._requireLocalization;dojo.i18n._requireLocalization=function(m,b,_45,_46){req(m,b,_45,_46);if(_45){return;}for(var i=0;i<_41.length;i++){req(m,b,_41[i],_46);}};}})();dojo.i18n._searchLocalePath=function(_48,_49,_4a){_48=dojo.i18n.normalizeLocale(_48);var _4b=_48.split("-");var _4c=[];for(var i=_4b.length;i>0;i--){_4c.push(_4b.slice(0,i).join("-"));}_4c.push(false);if(_49){_4c.reverse();}for(var j=_4c.length-1;j>=0;j--){var loc=_4c[j]||"ROOT";var _50=_4a(loc);if(_50){break;}}};dojo.i18n._preloadLocalizations=function(_51,_52){function preload(_53){_53=dojo.i18n.normalizeLocale(_53);dojo.i18n._searchLocalePath(_53,true,function(loc){for(var i=0;i<_52.length;i++){if(_52[i]==loc){dojo["require"](_51+"_"+loc);return true;}}return false;});};preload();var _56=djConfig.extraLocale||[];for(var i=0;i<_56.length;i++){preload(_56[i]);}};}if(!dojo._hasResource["dijit.ColorPalette"]){dojo._hasResource["dijit.ColorPalette"]=true;dojo.provide("dijit.ColorPalette");dojo.declare("dijit.ColorPalette",[dijit._Widget,dijit._Templated],{defaultTimeout:500,timeoutChangeRate:0.9,palette:"7x10",value:null,_currentFocus:0,_xDim:null,_yDim:null,_palettes:{"7x10":[["white","seashell","cornsilk","lemonchiffon","lightyellow","palegreen","paleturquoise","lightcyan","lavender","plum"],["lightgray","pink","bisque","moccasin","khaki","lightgreen","lightseagreen","lightskyblue","cornflowerblue","violet"],["silver","lightcoral","sandybrown","orange","palegoldenrod","chartreuse","mediumturquoise","skyblue","mediumslateblue","orchid"],["gray","red","orangered","darkorange","yellow","limegreen","darkseagreen","royalblue","slateblue","mediumorchid"],["dimgray","crimson","chocolate","coral","gold","forestgreen","seagreen","blue","blueviolet","darkorchid"],["darkslategray","firebrick","saddlebrown","sienna","olive","green","darkcyan","mediumblue","darkslateblue","darkmagenta"],["black","darkred","maroon","brown","darkolivegreen","darkgreen","midnightblue","navy","indigo","purple"]],"3x4":[["white","lime","green","blue"],["silver","yellow","fuchsia","navy"],["gray","red","purple","black"]]},_imagePaths:{"7x10":dojo.moduleUrl("dijit","templates/colors7x10.png"),"3x4":dojo.moduleUrl("dijit","templates/colors3x4.png")},_paletteCoords:{"leftOffset":4,"topOffset":4,"cWidth":20,"cHeight":20},templateString:"
\n\t
\n\t\t\n\t
\t\n
\n",_paletteDims:{"7x10":{"width":"206px","height":"145px"},"3x4":{"width":"86px","height":"64px"}},postCreate:function(){dojo.mixin(this.divNode.style,this._paletteDims[this.palette]);this.imageNode.setAttribute("src",this._imagePaths[this.palette]);var _58=this._palettes[this.palette];this.domNode.style.position="relative";this._highlightNodes=[];this.colorNames=dojo.i18n.getLocalization("dojo","colors",this.lang);for(var row=0;row<_58.length;row++){for(var col=0;col<_58[row].length;col++){var _5b=document.createElement("img");_5b.src=dojo.moduleUrl("dijit","templates/blank.gif");dojo.addClass(_5b,"dijitPaletteImg");var _5c=_58[row][col];var _5d=new dojo.Color(dojo.Color.named[_5c]);_5b.alt=this.colorNames[_5c];_5b.color=_5d.toHex();var _5e=_5b.style;_5e.color=_5e.backgroundColor=_5b.color;dojo.forEach(["Dijitclick","MouseOut","MouseOver","Blur","Focus"],function(_5f){this.connect(_5b,"on"+_5f.toLowerCase(),"_onColor"+_5f);},this);this.divNode.appendChild(_5b);var _60=this._paletteCoords;_5e.top=_60.topOffset+(row*_60.cHeight)+"px";_5e.left=_60.leftOffset+(col*_60.cWidth)+"px";_5b.setAttribute("tabIndex","-1");_5b.title=this.colorNames[_5c];dijit.setWaiRole(_5b,"gridcell");_5b.index=this._highlightNodes.length;this._highlightNodes.push(_5b);}}this._highlightNodes[this._currentFocus].tabIndex=0;this._xDim=_58[0].length;this._yDim=_58.length;var _61={UP_ARROW:-this._xDim,DOWN_ARROW:this._xDim,RIGHT_ARROW:1,LEFT_ARROW:-1};for(var key in _61){dijit.typematic.addKeyListener(this.domNode,{keyCode:dojo.keys[key],ctrlKey:false,altKey:false,shiftKey:false},this,function(){var _63=_61[key];return function(_64){this._navigateByKey(_63,_64);};}(),this.timeoutChangeRate,this.defaultTimeout);}},focus:function(){dijit.focus(this._highlightNodes[this._currentFocus]);},onChange:function(_65){},_onColorDijitclick:function(evt){var _67=evt.currentTarget;if(this._currentFocus!=_67.index){this._currentFocus=_67.index;dijit.focus(_67);}this._selectColor(_67);dojo.stopEvent(evt);},_onColorMouseOut:function(evt){dojo.removeClass(evt.currentTarget,"dijitPaletteImgHighlight");},_onColorMouseOver:function(evt){var _6a=evt.currentTarget;_6a.tabIndex=0;_6a.focus();},_onColorBlur:function(evt){dojo.removeClass(evt.currentTarget,"dijitPaletteImgHighlight");evt.currentTarget.tabIndex=-1;this._currentFocus=0;this._highlightNodes[0].tabIndex=0;},_onColorFocus:function(evt){if(this._currentFocus!=evt.currentTarget.index){this._highlightNodes[this._currentFocus].tabIndex=-1;}this._currentFocus=evt.currentTarget.index;dojo.addClass(evt.currentTarget,"dijitPaletteImgHighlight");},_selectColor:function(_6d){this.onChange(this.value=_6d.color);},_navigateByKey:function(_6e,_6f){if(_6f==-1){return;}var _70=this._currentFocus+_6e;if(_70-1){var _71=this._highlightNodes[_70];_71.tabIndex=0;_71.focus();}}});}if(!dojo._hasResource["dijit.Declaration"]){dojo._hasResource["dijit.Declaration"]=true;dojo.provide("dijit.Declaration");dojo.declare("dijit.Declaration",dijit._Widget,{_noScript:true,widgetClass:"",replaceVars:true,defaults:null,mixins:[],buildRendering:function(){var src=this.srcNodeRef.parentNode.removeChild(this.srcNodeRef);var _73=dojo.query("> script[type='dojo/method'][event='preamble']",src).orphan();var _74=dojo.query("> script[type^='dojo/']",src).orphan();var _75=src.nodeName;var _76=this.defaults||{};this.mixins=this.mixins.length?dojo.map(this.mixins,function(_77){return dojo.getObject(_77);}):[dijit._Widget,dijit._Templated];if(_73.length){_76.preamble=dojo.parser._functionFromScript(_73[0]);}_76.widgetsInTemplate=true;_76._skipNodeCache=true;_76.templateString="<"+_75+" class='"+src.className+"' dojoAttachPoint='"+(src.getAttribute("dojoAttachPoint")||"")+"' dojoAttachEvent='"+(src.getAttribute("dojoAttachEvent")||"")+"' >"+src.innerHTML.replace(/\%7B/g,"{").replace(/\%7D/g,"}")+"";dojo.query("[dojoType]",src).forEach(function(_78){_78.removeAttribute("dojoType");});dojo.declare(this.widgetClass,this.mixins,_76);var wcp=dojo.getObject(this.widgetClass).prototype;_74.forEach(function(s){var _7b=s.getAttribute("event");dojo.connect(wcp,_7b||"postscript",null,dojo.parser._functionFromScript(s));});}});}if(!dojo._hasResource["dojo.dnd.common"]){dojo._hasResource["dojo.dnd.common"]=true;dojo.provide("dojo.dnd.common");dojo.dnd._copyKey=navigator.appVersion.indexOf("Macintosh")<0?"ctrlKey":"metaKey";dojo.dnd.getCopyKeyState=function(e){return e[dojo.dnd._copyKey];};dojo.dnd._uniqueId=0;dojo.dnd.getUniqueId=function(){var id;do{id="dojoUnique"+(++dojo.dnd._uniqueId);}while(dojo.byId(id));return id;};dojo.dnd._empty={};dojo.dnd.isFormElement=function(e){var t=e.target;if(t.nodeType==3){t=t.parentNode;}return " button textarea input select option ".indexOf(" "+t.tagName.toLowerCase()+" ")>=0;};}if(!dojo._hasResource["dojo.dnd.autoscroll"]){dojo._hasResource["dojo.dnd.autoscroll"]=true;dojo.provide("dojo.dnd.autoscroll");dojo.dnd.getViewport=function(){var d=dojo.doc,dd=d.documentElement,w=window,b=dojo.body();if(dojo.isMozilla){return {w:dd.clientWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&w.innerWidth){return {w:w.innerWidth,h:w.innerHeight};}else{if(!dojo.isOpera&&dd&&dd.clientWidth){return {w:dd.clientWidth,h:dd.clientHeight};}else{if(b.clientWidth){return {w:b.clientWidth,h:b.clientHeight};}}}}return null;};dojo.dnd.V_TRIGGER_AUTOSCROLL=32;dojo.dnd.H_TRIGGER_AUTOSCROLL=32;dojo.dnd.V_AUTOSCROLL_VALUE=16;dojo.dnd.H_AUTOSCROLL_VALUE=16;dojo.dnd.autoScroll=function(e){var v=dojo.dnd.getViewport(),dx=0,dy=0;if(e.clientXv.w-dojo.dnd.H_TRIGGER_AUTOSCROLL){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}if(e.clientYv.h-dojo.dnd.V_TRIGGER_AUTOSCROLL){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}window.scrollBy(dx,dy);};dojo.dnd._validNodes={"div":1,"p":1,"td":1};dojo.dnd._validOverflow={"auto":1,"scroll":1};dojo.dnd.autoScrollNodes=function(e){for(var n=e.target;n;){if(n.nodeType==1&&(n.tagName.toLowerCase() in dojo.dnd._validNodes)){var s=dojo.getComputedStyle(n);if(s.overflow.toLowerCase() in dojo.dnd._validOverflow){var b=dojo._getContentBox(n,s),t=dojo._abs(n,true);console.debug(b.l,b.t,t.x,t.y,n.scrollLeft,n.scrollTop);b.l+=t.x+n.scrollLeft;b.t+=t.y+n.scrollTop;var w=Math.min(dojo.dnd.H_TRIGGER_AUTOSCROLL,b.w/2),h=Math.min(dojo.dnd.V_TRIGGER_AUTOSCROLL,b.h/2),rx=e.pageX-b.l,ry=e.pageY-b.t,dx=0,dy=0;if(rx>0&&rxb.w-w){dx=dojo.dnd.H_AUTOSCROLL_VALUE;}}}if(ry>0&&ryb.h-h){dy=dojo.dnd.V_AUTOSCROLL_VALUE;}}}var _93=n.scrollLeft,_94=n.scrollTop;n.scrollLeft=n.scrollLeft+dx;n.scrollTop=n.scrollTop+dy;if(dx||dy){console.debug(_93+", "+_94+"\n"+dx+", "+dy+"\n"+n.scrollLeft+", "+n.scrollTop);}if(_93!=n.scrollLeft||_94!=n.scrollTop){return;}}}try{n=n.parentNode;}catch(x){n=null;}}dojo.dnd.autoScroll(e);};}if(!dojo._hasResource["dojo.dnd.Mover"]){dojo._hasResource["dojo.dnd.Mover"]=true;dojo.provide("dojo.dnd.Mover");dojo.declare("dojo.dnd.Mover",null,{constructor:function(_95,e,_97){this.node=dojo.byId(_95);this.marginBox={l:e.pageX,t:e.pageY};this.mouseButton=e.button;var h=this.host=_97,d=_95.ownerDocument,_9a=dojo.connect(d,"onmousemove",this,"onFirstMove");this.events=[dojo.connect(d,"onmousemove",this,"onMouseMove"),dojo.connect(d,"onmouseup",this,"onMouseUp"),dojo.connect(d,"ondragstart",dojo,"stopEvent"),dojo.connect(d,"onselectstart",dojo,"stopEvent"),_9a];if(h&&h.onMoveStart){h.onMoveStart(this);}},onMouseMove:function(e){dojo.dnd.autoScroll(e);var m=this.marginBox;this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY});},onMouseUp:function(e){if(this.mouseButton==e.button){this.destroy();}},onFirstMove:function(){this.node.style.position="absolute";var m=dojo.marginBox(this.node);m.l-=this.marginBox.l;m.t-=this.marginBox.t;this.marginBox=m;this.host.onFirstMove(this);dojo.disconnect(this.events.pop());},destroy:function(){dojo.forEach(this.events,dojo.disconnect);var h=this.host;if(h&&h.onMoveStop){h.onMoveStop(this);}this.events=this.node=null;}});}if(!dojo._hasResource["dojo.dnd.Moveable"]){dojo._hasResource["dojo.dnd.Moveable"]=true;dojo.provide("dojo.dnd.Moveable");dojo.declare("dojo.dnd.Moveable",null,{handle:"",delay:0,skip:false,constructor:function(_a0,_a1){this.node=dojo.byId(_a0);if(!_a1){_a1={};}this.handle=_a1.handle?dojo.byId(_a1.handle):null;if(!this.handle){this.handle=this.node;}this.delay=_a1.delay>0?_a1.delay:0;this.skip=_a1.skip;this.mover=_a1.mover?_a1.mover:dojo.dnd.Mover;this.events=[dojo.connect(this.handle,"onmousedown",this,"onMouseDown"),dojo.connect(this.node,"ondragstart",this,"onSelectStart"),dojo.connect(this.node,"onselectstart",this,"onSelectStart")];},markupFactory:function(_a2,_a3){return new dojo.dnd.Moveable(_a3,_a2);},destroy:function(){dojo.forEach(this.events,dojo.disconnect);this.events=this.node=this.handle=null;},onMouseDown:function(e){if(this.skip&&dojo.dnd.isFormElement(e)){return;}if(this.delay){this.events.push(dojo.connect(this.handle,"onmousemove",this,"onMouseMove"));this.events.push(dojo.connect(this.handle,"onmouseup",this,"onMouseUp"));this._lastX=e.pageX;this._lastY=e.pageY;}else{new this.mover(this.node,e,this);}dojo.stopEvent(e);},onMouseMove:function(e){if(Math.abs(e.pageX-this._lastX)>this.delay||Math.abs(e.pageY-this._lastY)>this.delay){this.onMouseUp(e);new this.mover(this.node,e,this);}dojo.stopEvent(e);},onMouseUp:function(e){dojo.disconnect(this.events.pop());dojo.disconnect(this.events.pop());},onSelectStart:function(e){if(!this.skip||!dojo.dnd.isFormElement(e)){dojo.stopEvent(e);}},onMoveStart:function(_a8){dojo.publish("/dnd/move/start",[_a8]);dojo.addClass(dojo.body(),"dojoMove");dojo.addClass(this.node,"dojoMoveItem");},onMoveStop:function(_a9){dojo.publish("/dnd/move/stop",[_a9]);dojo.removeClass(dojo.body(),"dojoMove");dojo.removeClass(this.node,"dojoMoveItem");},onFirstMove:function(_aa){},onMove:function(_ab,_ac){this.onMoving(_ab,_ac);dojo.marginBox(_ab.node,_ac);this.onMoved(_ab,_ac);},onMoving:function(_ad,_ae){},onMoved:function(_af,_b0){}});}if(!dojo._hasResource["dojo.dnd.move"]){dojo._hasResource["dojo.dnd.move"]=true;dojo.provide("dojo.dnd.move");dojo.declare("dojo.dnd.move.constrainedMoveable",dojo.dnd.Moveable,{constraints:function(){},within:false,markupFactory:function(_b1,_b2){return new dojo.dnd.move.constrainedMoveable(_b2,_b1);},constructor:function(_b3,_b4){if(!_b4){_b4={};}this.constraints=_b4.constraints;this.within=_b4.within;},onFirstMove:function(_b5){var c=this.constraintBox=this.constraints.call(this,_b5),m=_b5.marginBox;c.r=c.l+c.w-(this.within?m.w:0);c.b=c.t+c.h-(this.within?m.h:0);},onMove:function(_b8,_b9){var c=this.constraintBox;_b9.l=_b9.l${loadingState}",errorMessage:"${errorState}",isLoaded:false,"class":"dijitContentPane",postCreate:function(){this.domNode.title="";if(this.preload){this._loadCheck();}var _fe=dojo.i18n.getLocalization("dijit","loading",this.lang);this.loadingMessage=dojo.string.substitute(this.loadingMessage,_fe);this.errorMessage=dojo.string.substitute(this.errorMessage,_fe);dojo.addClass(this.domNode,this["class"]);},startup:function(){if(this._started){return;}this._checkIfSingleChild();if(this._singleChild){this._singleChild.startup();}this._loadCheck();this._started=true;},_checkIfSingleChild:function(){var _ff=dojo.query(">",this.containerNode||this.domNode),_100=_ff.filter("[widgetId]");if(_ff.length==1&&_100.length==1){this.isContainer=true;this._singleChild=dijit.byNode(_100[0]);}else{delete this.isContainer;delete this._singleChild;}},refresh:function(){return this._prepareLoad(true);},setHref:function(href){this.href=href;return this._prepareLoad();},setContent:function(data){if(!this._isDownloaded){this.href="";this._onUnloadHandler();}this._setContent(data||"");this._isDownloaded=false;if(this.parseOnLoad){this._createSubWidgets();}this._checkIfSingleChild();if(this._singleChild&&this._singleChild.resize){this._singleChild.resize(this._contentBox);}this._onLoadHandler();},cancel:function(){if(this._xhrDfd&&(this._xhrDfd.fired==-1)){this._xhrDfd.cancel();}delete this._xhrDfd;},destroy:function(){if(this._beingDestroyed){return;}this._onUnloadHandler();this._beingDestroyed=true;this.inherited("destroy",arguments);},resize:function(size){dojo.marginBox(this.domNode,size);var node=this.containerNode||this.domNode,mb=dojo.mixin(dojo.marginBox(node),size||{});this._contentBox=dijit.layout.marginBox2contentBox(node,mb);if(this._singleChild&&this._singleChild.resize){this._singleChild.resize(this._contentBox);}},_prepareLoad:function(_106){this.cancel();this.isLoaded=false;this._loadCheck(_106);},_loadCheck:function(_107){var _108=((this.open!==false)&&(this.domNode.style.display!="none"));if(this.href&&(_107||(this.preload&&!this._xhrDfd)||(this.refreshOnShow&&_108&&!this._xhrDfd)||(!this.isLoaded&&_108&&!this._xhrDfd))){this._downloadExternalContent();}},_downloadExternalContent:function(){this._onUnloadHandler();this._setContent(this.onDownloadStart.call(this));var self=this;var _10a={preventCache:(this.preventCache||this.refreshOnShow),url:this.href,handleAs:"text"};if(dojo.isObject(this.ioArgs)){dojo.mixin(_10a,this.ioArgs);}var hand=this._xhrDfd=(this.ioMethod||dojo.xhrGet)(_10a);hand.addCallback(function(html){try{self.onDownloadEnd.call(self);self._isDownloaded=true;self.setContent.call(self,html);}catch(err){self._onError.call(self,"Content",err);}delete self._xhrDfd;return html;});hand.addErrback(function(err){if(!hand.cancelled){self._onError.call(self,"Download",err);}delete self._xhrDfd;return err;});},_onLoadHandler:function(){this.isLoaded=true;try{this.onLoad.call(this);}catch(e){console.error("Error "+this.widgetId+" running custom onLoad code");}},_onUnloadHandler:function(){this.isLoaded=false;this.cancel();try{this.onUnload.call(this);}catch(e){console.error("Error "+this.widgetId+" running custom onUnload code");}},_setContent:function(cont){this.destroyDescendants();try{var node=this.containerNode||this.domNode;while(node.firstChild){dojo._destroyElement(node.firstChild);}if(typeof cont=="string"){if(this.extractContent){match=cont.match(/]*>\s*([\s\S]+)\s*<\/body>/im);if(match){cont=match[1];}}node.innerHTML=cont;}else{if(cont.nodeType){node.appendChild(cont);}else{dojo.forEach(cont,function(n){node.appendChild(n.cloneNode(true));});}}}catch(e){var _111=this.onContentError(e);try{node.innerHTML=_111;}catch(e){console.error("Fatal "+this.id+" could not change content due to "+e.message,e);}}},_onError:function(type,err,_114){var _115=this["on"+type+"Error"].call(this,err);if(_114){console.error(_114,err);}else{if(_115){this._setContent.call(this,_115);}}},_createSubWidgets:function(){var _116=this.containerNode||this.domNode;try{dojo.parser.parse(_116,true);}catch(e){this._onError("Content",e,"Couldn't create widgets in "+this.id+(this.href?" from "+this.href:""));}},onLoad:function(e){},onUnload:function(e){},onDownloadStart:function(){return this.loadingMessage;},onContentError:function(_119){},onDownloadError:function(_11a){return this.errorMessage;},onDownloadEnd:function(){}});}if(!dojo._hasResource["dijit.form.Form"]){dojo._hasResource["dijit.form.Form"]=true;dojo.provide("dijit.form.Form");dojo.declare("dijit.form._FormMixin",null,{action:"",method:"",enctype:"",name:"","accept-charset":"",accept:"",target:"",attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{action:"",method:"",enctype:"","accept-charset":"",accept:"",target:""}),execute:function(_11b){},onCancel:function(){},onExecute:function(){},templateString:"
",_onSubmit:function(e){dojo.stopEvent(e);this.onExecute();this.execute(this.getValues());},submit:function(){this.containerNode.submit();},setValues:function(obj){var map={};dojo.forEach(this.getDescendants(),function(_11f){if(!_11f.name){return;}var _120=map[_11f.name]||(map[_11f.name]=[]);_120.push(_11f);});for(var name in map){var _122=map[name],_123=dojo.getObject(name,false,obj);if(!dojo.isArray(_123)){_123=[_123];}if(_122[0].setChecked){dojo.forEach(_122,function(w,i){w.setChecked(dojo.indexOf(_123,w.value)!=-1);});}else{dojo.forEach(_122,function(w,i){w.setValue(_123[i]);});}}},getValues:function(){var obj={};dojo.forEach(this.getDescendants(),function(_129){var _12a=_129.getValue?_129.getValue():_129.value;var name=_129.name;if(!name){return;}if(_129.setChecked){if(/Radio/.test(_129.declaredClass)){if(_129.checked){dojo.setObject(name,_12a,obj);}}else{var ary=dojo.getObject(name,false,obj);if(!ary){ary=[];dojo.setObject(name,ary,obj);}if(_129.checked){ary.push(_12a);}}}else{dojo.setObject(name,_12a,obj);}});return obj;},isValid:function(){return dojo.every(this.getDescendants(),function(_12d){return !_12d.isValid||_12d.isValid();});}});dojo.declare("dijit.form.Form",[dijit._Widget,dijit._Templated,dijit.form._FormMixin],null);}if(!dojo._hasResource["dijit.Dialog"]){dojo._hasResource["dijit.Dialog"]=true;dojo.provide("dijit.Dialog");dojo.declare("dijit.DialogUnderlay",[dijit._Widget,dijit._Templated],{templateString:"
",postCreate:function(){dojo.body().appendChild(this.domNode);this.bgIframe=new dijit.BackgroundIframe(this.domNode);},layout:function(){var _12e=dijit.getViewport();var is=this.node.style,os=this.domNode.style;os.top=_12e.t+"px";os.left=_12e.l+"px";is.width=_12e.w+"px";is.height=_12e.h+"px";var _131=dijit.getViewport();if(_12e.w!=_131.w){is.width=_131.w+"px";}if(_12e.h!=_131.h){is.height=_131.h+"px";}},show:function(){this.domNode.style.display="block";this.layout();if(this.bgIframe.iframe){this.bgIframe.iframe.style.display="block";}this._resizeHandler=this.connect(window,"onresize","layout");},hide:function(){this.domNode.style.display="none";if(this.bgIframe.iframe){this.bgIframe.iframe.style.display="none";}this.disconnect(this._resizeHandler);},uninitialize:function(){if(this.bgIframe){this.bgIframe.destroy();}}});dojo.declare("dijit.Dialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin],{templateString:null,templateString:"
\n\t
\n\t${title}\n\t\n\t\tx\n\t\n\t
\n\t\t
\n\t\n
\n",open:false,duration:400,_lastFocusItem:null,attributeMap:dojo.mixin(dojo.clone(dijit._Widget.prototype.attributeMap),{title:"titleBar"}),postCreate:function(){dojo.body().appendChild(this.domNode);this.inherited("postCreate",arguments);this.domNode.style.display="none";this.connect(this,"onExecute","hide");this.connect(this,"onCancel","hide");},onLoad:function(){this._position();this.inherited("onLoad",arguments);},_setup:function(){this._modalconnects=[];if(this.titleBar){this._moveable=new dojo.dnd.Moveable(this.domNode,{handle:this.titleBar});}this._underlay=new dijit.DialogUnderlay();var node=this.domNode;this._fadeIn=dojo.fx.combine([dojo.fadeIn({node:node,duration:this.duration}),dojo.fadeIn({node:this._underlay.domNode,duration:this.duration,onBegin:dojo.hitch(this._underlay,"show")})]);this._fadeOut=dojo.fx.combine([dojo.fadeOut({node:node,duration:this.duration,onEnd:function(){node.style.display="none";}}),dojo.fadeOut({node:this._underlay.domNode,duration:this.duration,onEnd:dojo.hitch(this._underlay,"hide")})]);},uninitialize:function(){if(this._underlay){this._underlay.destroy();}},_position:function(){if(dojo.hasClass(dojo.body(),"dojoMove")){return;}var _133=dijit.getViewport();var mb=dojo.marginBox(this.domNode);var _135=this.domNode.style;_135.left=Math.floor((_133.l+(_133.w-mb.w)/2))+"px";_135.top=Math.floor((_133.t+(_133.h-mb.h)/2))+"px";},_findLastFocus:function(evt){this._lastFocused=evt.target;},_cycleFocus:function(evt){if(!this._lastFocusItem){this._lastFocusItem=this._lastFocused;}this.titleBar.focus();},_onKey:function(evt){if(evt.keyCode){var node=evt.target;if(node==this.titleBar&&evt.shiftKey&&evt.keyCode==dojo.keys.TAB){if(this._lastFocusItem){this._lastFocusItem.focus();}dojo.stopEvent(evt);}else{while(node){if(node==this.domNode){if(evt.keyCode==dojo.keys.ESCAPE){this.hide();}else{return;}}node=node.parentNode;}if(evt.keyCode!=dojo.keys.TAB){dojo.stopEvent(evt);}else{if(!dojo.isOpera){try{this.titleBar.focus();}catch(e){}}}}}},show:function(){if(!this._alreadyInitialized){this._setup();this._alreadyInitialized=true;}if(this._fadeOut.status()=="playing"){this._fadeOut.stop();}this._modalconnects.push(dojo.connect(window,"onscroll",this,"layout"));this._modalconnects.push(dojo.connect(document.documentElement,"onkeypress",this,"_onKey"));var ev=typeof (document.ondeactivate)=="object"?"ondeactivate":"onblur";this._modalconnects.push(dojo.connect(this.containerNode,ev,this,"_findLastFocus"));dojo.style(this.domNode,"opacity",0);this.domNode.style.display="block";this.open=true;this._loadCheck();this._position();this._fadeIn.play();this._savedFocus=dijit.getFocus(this);setTimeout(dojo.hitch(this,function(){dijit.focus(this.titleBar);}),50);},hide:function(){if(!this._alreadyInitialized){return;}if(this._fadeIn.status()=="playing"){this._fadeIn.stop();}this._fadeOut.play();if(this._scrollConnected){this._scrollConnected=false;}dojo.forEach(this._modalconnects,dojo.disconnect);this._modalconnects=[];this.connect(this._fadeOut,"onEnd",dojo.hitch(this,function(){dijit.focus(this._savedFocus);}));this.open=false;},layout:function(){if(this.domNode.style.display=="block"){this._underlay.layout();this._position();}}});dojo.declare("dijit.TooltipDialog",[dijit.layout.ContentPane,dijit._Templated,dijit.form._FormMixin],{title:"",_lastFocusItem:null,templateString:null,templateString:"
\n\t
\n\t\t
\n\t
\n\t\n\t
\n
\n",postCreate:function(){this.inherited("postCreate",arguments);this.connect(this.containerNode,"onkeypress","_onKey");var ev=typeof (document.ondeactivate)=="object"?"ondeactivate":"onblur";this.connect(this.containerNode,ev,"_findLastFocus");this.containerNode.title=this.title;},orient:function(_13c){this.domNode.className="dijitTooltipDialog "+" dijitTooltipAB"+(_13c.charAt(1)=="L"?"Left":"Right")+" dijitTooltip"+(_13c.charAt(0)=="T"?"Below":"Above");},onOpen:function(pos){this.orient(pos.corner);this._loadCheck();this.containerNode.focus();},_onKey:function(evt){if(evt.keyCode==dojo.keys.ESCAPE){this.onCancel();}else{if(evt.target==this.containerNode&&evt.shiftKey&&evt.keyCode==dojo.keys.TAB){if(this._lastFocusItem){this._lastFocusItem.focus();}dojo.stopEvent(evt);}else{if(evt.keyCode==dojo.keys.TAB){evt.stopPropagation();}}}},_findLastFocus:function(evt){this._lastFocused=evt.target;},_cycleFocus:function(evt){if(!this._lastFocusItem){this._lastFocusItem=this._lastFocused;}this.containerNode.focus();}});}if(!dojo._hasResource["dijit._editor.selection"]){dojo._hasResource["dijit._editor.selection"]=true;dojo.provide("dijit._editor.selection");dojo.mixin(dijit._editor.selection,{getType:function(){if(dojo.doc["selection"]){return dojo.doc.selection.type.toLowerCase();}else{var _141="text";var oSel;try{oSel=dojo.global.getSelection();}catch(e){}if(oSel&&oSel.rangeCount==1){var _143=oSel.getRangeAt(0);if((_143.startContainer==_143.endContainer)&&((_143.endOffset-_143.startOffset)==1)&&(_143.startContainer.nodeType!=3)){_141="control";}}return _141;}},getSelectedText:function(){if(dojo.doc["selection"]){if(dijit._editor.selection.getType()=="control"){return null;}return dojo.doc.selection.createRange().text;}else{var _144=dojo.global.getSelection();if(_144){return _144.toString();}}},getSelectedHtml:function(){if(dojo.doc["selection"]){if(dijit._editor.selection.getType()=="control"){return null;}return dojo.doc.selection.createRange().htmlText;}else{var _145=dojo.global.getSelection();if(_145&&_145.rangeCount){var frag=_145.getRangeAt(0).cloneContents();var div=document.createElement("div");div.appendChild(frag);return div.innerHTML;}return null;}},getSelectedElement:function(){if(this.getType()=="control"){if(dojo.doc["selection"]){var _148=dojo.doc.selection.createRange();if(_148&&_148.item){return dojo.doc.selection.createRange().item(0);}}else{var _149=dojo.global.getSelection();return _149.anchorNode.childNodes[_149.anchorOffset];}}},getParentElement:function(){if(this.getType()=="control"){var p=this.getSelectedElement();if(p){return p.parentNode;}}else{if(dojo.doc["selection"]){return dojo.doc.selection.createRange().parentElement();}else{var _14b=dojo.global.getSelection();if(_14b){var node=_14b.anchorNode;while(node&&(node.nodeType!=1)){node=node.parentNode;}return node;}}}},hasAncestorElement:function(_14d){return (this.getAncestorElement.apply(this,arguments)!=null);},getAncestorElement:function(_14e){var node=this.getSelectedElement()||this.getParentElement();return this.getParentOfType(node,arguments);},isTag:function(node,tags){if(node&&node.tagName){var _nlc=node.tagName.toLowerCase();for(var i=0;i");}catch(e){}}}dojo.declare("dijit._editor.RichText",[dijit._Widget],{constructor:function(){this.contentPreFilters=[];this.contentPostFilters=[];this.contentDomPreFilters=[];this.contentDomPostFilters=[];this.editingAreaStyleSheets=[];this._keyHandlers={};this.contentPreFilters.push(dojo.hitch(this,"_preFixUrlAttributes"));if(dojo.isMoz){this.contentPreFilters.push(this._fixContentForMoz);}this.onLoadDeferred=new dojo.Deferred();},inheritWidth:false,focusOnLoad:false,name:"",styleSheets:"",_content:"",height:"300px",minHeight:"1em",isClosed:true,isLoaded:false,_SEPARATOR:"@@**%%__RICHTEXTBOUNDRY__%%**@@",onLoadDeferred:null,postCreate:function(){dojo.publish("dijit._editor.RichText::init",[this]);this.open();this.setupDefaultShortcuts();},setupDefaultShortcuts:function(){var ctrl=this.KEY_CTRL;var exec=function(cmd,arg){return arguments.length==1?function(){this.execCommand(cmd);}:function(){this.execCommand(cmd,arg);};};this.addKeyHandler("b",ctrl,exec("bold"));this.addKeyHandler("i",ctrl,exec("italic"));this.addKeyHandler("u",ctrl,exec("underline"));this.addKeyHandler("a",ctrl,exec("selectall"));this.addKeyHandler("s",ctrl,function(){this.save(true);});this.addKeyHandler("1",ctrl,exec("formatblock","h1"));this.addKeyHandler("2",ctrl,exec("formatblock","h2"));this.addKeyHandler("3",ctrl,exec("formatblock","h3"));this.addKeyHandler("4",ctrl,exec("formatblock","h4"));this.addKeyHandler("\\",ctrl,exec("insertunorderedlist"));if(!dojo.isIE){this.addKeyHandler("Z",ctrl,exec("redo"));}},events:["onKeyPress","onKeyDown","onKeyUp","onClick"],captureEvents:[],_editorCommandsLocalized:false,_localizeEditorCommands:function(){if(this._editorCommandsLocalized){return;}this._editorCommandsLocalized=true;var _169=["p","pre","address","h1","h2","h3","h4","h5","h6","ol","div","ul"];var _16a="",_16b,i=0;while((_16b=_169[i++])){if(_16b.charAt(1)!="l"){_16a+="<"+_16b+">content";}else{_16a+="<"+_16b+">
  • content
  • ";}}var div=document.createElement("div");div.style.position="absolute";div.style.left="-2000px";div.style.top="-2000px";document.body.appendChild(div);div.innerHTML=_16a;var node=div.firstChild;while(node){dijit._editor.selection.selectElement(node.firstChild);dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[node.firstChild]);var _16f=node.tagName.toLowerCase();this._local2NativeFormatNames[_16f]=document.queryCommandValue("formatblock");this._native2LocalFormatNames[this._local2NativeFormatNames[_16f]]=_16f;node=node.nextSibling;}document.body.removeChild(div);},open:function(_170){if((!this.onLoadDeferred)||(this.onLoadDeferred.fired>=0)){this.onLoadDeferred=new dojo.Deferred();}if(!this.isClosed){this.close();}dojo.publish("dijit._editor.RichText::open",[this]);this._content="";if((arguments.length==1)&&(_170["nodeName"])){this.domNode=_170;}if((this.domNode["nodeName"])&&(this.domNode.nodeName.toLowerCase()=="textarea")){this.textarea=this.domNode;this.name=this.textarea.name;var html=this._preFilterContent(this.textarea.value);this.domNode=dojo.doc.createElement("div");this.domNode.setAttribute("widgetId",this.id);this.textarea.removeAttribute("widgetId");this.domNode.cssText=this.textarea.cssText;this.domNode.className+=" "+this.textarea.className;dojo.place(this.domNode,this.textarea,"before");var _172=dojo.hitch(this,function(){with(this.textarea.style){display="block";position="absolute";left=top="-1000px";if(dojo.isIE){this.__overflow=overflow;overflow="hidden";}}});if(dojo.isIE){setTimeout(_172,10);}else{_172();}}else{var html=this._preFilterContent(this.getNodeChildrenHtml(this.domNode));this.domNode.innerHTML="";}if(html==""){html=" ";}var _173=dojo.contentBox(this.domNode);this._oldHeight=_173.h;this._oldWidth=_173.w;this.savedContent=html;if((this.domNode["nodeName"])&&(this.domNode.nodeName=="LI")){this.domNode.innerHTML="
    ";}this.editingArea=dojo.doc.createElement("div");this.domNode.appendChild(this.editingArea);if(this.name!=""&&(!djConfig["useXDomain"]||djConfig["allowXdRichTextSave"])){var _174=dojo.byId("dijit._editor.RichText.savedContent");if(_174.value!=""){var _175=_174.value.split(this._SEPARATOR),i=0,dat;while((dat=_175[i++])){var data=dat.split(":");if(data[0]==this.name){html=data[1];_175.splice(i,1);break;}}}dojo.connect(window,"onbeforeunload",this,"_saveContent");}this.isClosed=false;if(dojo.isIE||dojo.isSafari||dojo.isOpera){var ifr=this.iframe=dojo.doc.createElement("iframe");ifr.src="javascript:void(0)";this.editorObject=ifr;ifr.style.border="none";ifr.style.width="100%";ifr.frameBorder=0;this.editingArea.appendChild(ifr);this.window=ifr.contentWindow;this.document=this.window.document;this.document.open();this.document.write(this._getIframeDocTxt(html));this.document.close();if(dojo.isIE>=7){if(this.height){ifr.style.height=this.height;}if(this.minHeight){ifr.style.minHeight=this.minHeight;}}else{ifr.style.height=this.height?this.height:this.minHeight;}if(dojo.isIE){this._localizeEditorCommands();}this.onLoad();}else{this._drawIframe(html);}if(this.domNode.nodeName=="LI"){this.domNode.lastChild.style.marginTop="-1.2em";}this.domNode.className+=" RichTextEditable";},_local2NativeFormatNames:{},_native2LocalFormatNames:{},_localizedIframeTitles:null,_getIframeDocTxt:function(html){var _cs=dojo.getComputedStyle(this.domNode);if(!this.height&&!dojo.isMoz){html="
    "+html+"
    ";}var font=[_cs.fontWeight,_cs.fontSize,_cs.fontFamily].join(" ");var _17d=_cs.lineHeight;if(_17d.indexOf("px")>=0){_17d=parseFloat(_17d)/parseFloat(_cs.fontSize);}else{if(_17d.indexOf("em")>=0){_17d=parseFloat(_17d);}else{_17d="1.0";}}return [this.isLeftToRight()?"":"",(dojo.isMoz?""+this._localizedIframeTitles.iframeEditTitle+"":""),"",this._applyEditingAreaStyleSheets(),""+html+""].join("");},_drawIframe:function(html){if(!this.iframe){var ifr=this.iframe=dojo.doc.createElement("iframe");var ifrs=ifr.style;ifrs.border="none";ifrs.lineHeight="0";ifrs.verticalAlign="bottom";this.editorObject=this.iframe;this._localizedIframeTitles=dojo.i18n.getLocalization("dijit","Textarea");}this.iframe.style.width=this.inheritWidth?this._oldWidth:"100%";if(this.height){this.iframe.style.height=this.height;}else{this.iframe.height=this._oldHeight;}if(this.textarea){var _181=this.srcNodeRef;}else{var _181=dojo.doc.createElement("div");_181.style.display="none";_181.innerHTML=html;this.editingArea.appendChild(_181);}this.editingArea.appendChild(this.iframe);var _182=false;var _183=this.iframe.contentDocument;_183.open();_183.write(this._getIframeDocTxt(html));_183.close();var _184=dojo.hitch(this,function(){if(!_182){_182=true;}else{return;}if(!this.editNode){try{if(this.iframe.contentWindow){this.window=this.iframe.contentWindow;this.document=this.iframe.contentWindow.document;}else{if(this.iframe.contentDocument){this.window=this.iframe.contentDocument.window;this.document=this.iframe.contentDocument;}}if(!this.document.body){throw "Error";}}catch(e){setTimeout(_184,500);_182=false;return;}dojo._destroyElement(_181);this.document.designMode="on";this.onLoad();}else{dojo._destroyElement(_181);this.editNode.innerHTML=html;this.onDisplayChanged();}this._preDomFilterContent(this.editNode);});_184();},_applyEditingAreaStyleSheets:function(){var _185=[];if(this.styleSheets){_185=this.styleSheets.split(";");this.styleSheets="";}_185=_185.concat(this.editingAreaStyleSheets);this.editingAreaStyleSheets=[];var text="",i=0,url;while((url=_185[i++])){var _189=(new dojo._Url(dojo.global.location,url)).toString();this.editingAreaStyleSheets.push(_189);text+="";}return text;},addStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)=="."||(url.charAt(0)!="/"&&!uri.host)){url=(new dojo._Url(dojo.global.location,url)).toString();}if(dojo.indexOf(this.editingAreaStyleSheets,url)>-1){console.debug("dijit._editor.RichText.addStyleSheet: Style sheet "+url+" is already applied to the editing area!");return;}this.editingAreaStyleSheets.push(url);if(this.document.createStyleSheet){this.document.createStyleSheet(url);}else{var head=this.document.getElementsByTagName("head")[0];var _18d=this.document.createElement("link");with(_18d){rel="stylesheet";type="text/css";href=url;}head.appendChild(_18d);}},removeStyleSheet:function(uri){var url=uri.toString();if(url.charAt(0)=="."||(url.charAt(0)!="/"&&!uri.host)){url=(new dojo._Url(dojo.global.location,url)).toString();}var _190=dojo.indexOf(this.editingAreaStyleSheets,url);if(_190==-1){console.debug("dijit._editor.RichText.removeStyleSheet: Style sheet "+url+" is not applied to the editing area so it can not be removed!");return;}delete this.editingAreaStyleSheets[_190];dojo.withGlobal(this.window,"query",dojo,["link:[href=\""+url+"\"]"]).orphan();},disabled:false,_mozSettingProps:["styleWithCSS","insertBrOnReturn"],setDisabled:function(_191){if(dojo.isIE||dojo.isSafari||dojo.isOpera){this.editNode.contentEditable=!_191;}else{if(_191){this._mozSettings=[false,this.blockNodeForEnter==="BR"];}this.document.designMode=(_191?"off":"on");if(!_191){dojo.forEach(this._mozSettingProps,function(s,i){this.document.execCommand(s,false,this._mozSettings[i]);},this);}}this.disabled=_191;},_isResized:function(){return false;},onLoad:function(e){this.isLoaded=true;if(this.height||dojo.isMoz){this.editNode=this.document.body;}else{this.editNode=this.document.body.firstChild;}this.editNode.contentEditable=true;this._preDomFilterContent(this.editNode);var _195=this.events.concat(this.captureEvents),i=0,et;while((et=_195[i++])){this.connect(this.document,et.toLowerCase(),et);}if(!dojo.isIE){try{this.document.execCommand("styleWithCSS",false,false);}catch(e2){}}else{this.editNode.style.zoom=1;}if(this.focusOnLoad){this.focus();}this.onDisplayChanged(e);if(this.onLoadDeferred){this.onLoadDeferred.callback(true);}},onKeyDown:function(e){if(dojo.isIE){if(e.keyCode===dojo.keys.BACKSPACE&&this.document.selection.type==="Control"){dojo.stopEvent(e);this.execCommand("delete");}else{if((65<=e.keyCode&&e.keyCode<=90)||(e.keyCode>=37&&e.keyCode<=40)){e.charCode=e.keyCode;this.onKeyPress(e);}}}else{if(dojo.isMoz){if(e.keyCode==dojo.keys.TAB&&!e.shiftKey&&!e.ctrlKey&&!e.altKey&&this.iframe){this.iframe.contentDocument.title=this._localizedIframeTitles.iframeFocusTitle;this.iframe.focus();dojo.stopEvent(e);}else{if(e.keyCode==dojo.keys.TAB&&e.shiftKey){if(this.toolbar){this.toolbar.focus();}dojo.stopEvent(e);}}}}},onKeyUp:function(e){return;},KEY_CTRL:1,KEY_SHIFT:2,onKeyPress:function(e){var _19b=e.ctrlKey?this.KEY_CTRL:0|e.shiftKey?this.KEY_SHIFT:0;var key=e.keyChar||e.keyCode;if(this._keyHandlers[key]){var _19d=this._keyHandlers[key],i=0,h;while((h=_19d[i++])){if(_19b==h.modifiers){if(!h.handler.apply(this,arguments)){e.preventDefault();}break;}}}setTimeout(dojo.hitch(this,function(){this.onKeyPressed(e);}),1);},addKeyHandler:function(key,_1a1,_1a2){if(!dojo.isArray(this._keyHandlers[key])){this._keyHandlers[key]=[];}this._keyHandlers[key].push({modifiers:_1a1||0,handler:_1a2});},onKeyPressed:function(e){this.onDisplayChanged();},onClick:function(e){this.onDisplayChanged(e);},_onBlur:function(e){var _c=this.getValue(true);if(_c!=this.savedContent){this.onChange(_c);this.savedContent=_c;}if(dojo.isMoz&&this.iframe){this.iframe.contentDocument.title=this._localizedIframeTitles.iframeEditTitle;}},_initialFocus:true,_onFocus:function(e){if((dojo.isMoz)&&(this._initialFocus)){this._initialFocus=false;if(this.editNode.innerHTML.replace(/^\s+|\s+$/g,"")==" "){this.placeCursorAtStart();}}},blur:function(){if(this.iframe){this.window.blur();}else{if(this.editNode){this.editNode.blur();}}},focus:function(){if(this.iframe&&!dojo.isIE){dijit.focus(this.iframe);}else{if(this.editNode&&this.editNode.focus){dijit.focus(this.editNode);}else{console.debug("Have no idea how to focus into the editor!");}}},updateInterval:200,_updateTimer:null,onDisplayChanged:function(e){if(!this._updateTimer){if(this._updateTimer){clearTimeout(this._updateTimer);}this._updateTimer=setTimeout(dojo.hitch(this,this.onNormalizedDisplayChanged),this.updateInterval);}},onNormalizedDisplayChanged:function(){this._updateTimer=null;},onChange:function(_1a9){},_normalizeCommand:function(cmd){var _1ab=cmd.toLowerCase();if(_1ab=="formatblock"){if(dojo.isSafari){_1ab="heading";}}else{if(_1ab=="hilitecolor"&&!dojo.isMoz){_1ab="backcolor";}}return _1ab;},queryCommandAvailable:function(_1ac){var ie=1;var _1ae=1<<1;var _1af=1<<2;var _1b0=1<<3;var _1b1=1<<4;var _1b2=dojo.isSafari;function isSupportedBy(_1b3){return {ie:Boolean(_1b3&ie),mozilla:Boolean(_1b3&_1ae),safari:Boolean(_1b3&_1af),safari420:Boolean(_1b3&_1b1),opera:Boolean(_1b3&_1b0)};};var _1b4=null;switch(_1ac.toLowerCase()){case "bold":case "italic":case "underline":case "subscript":case "superscript":case "fontname":case "fontsize":case "forecolor":case "hilitecolor":case "justifycenter":case "justifyfull":case "justifyleft":case "justifyright":case "delete":case "selectall":_1b4=isSupportedBy(_1ae|ie|_1af|_1b0);break;case "createlink":case "unlink":case "removeformat":case "inserthorizontalrule":case "insertimage":case "insertorderedlist":case "insertunorderedlist":case "indent":case "outdent":case "formatblock":case "inserthtml":case "undo":case "redo":case "strikethrough":_1b4=isSupportedBy(_1ae|ie|_1b0|_1b1);break;case "blockdirltr":case "blockdirrtl":case "dirltr":case "dirrtl":case "inlinedirltr":case "inlinedirrtl":_1b4=isSupportedBy(ie);break;case "cut":case "copy":case "paste":_1b4=isSupportedBy(ie|_1ae|_1b1);break;case "inserttable":_1b4=isSupportedBy(_1ae|ie);break;case "insertcell":case "insertcol":case "insertrow":case "deletecells":case "deletecols":case "deleterows":case "mergecells":case "splitcell":_1b4=isSupportedBy(ie|_1ae);break;default:return false;}return (dojo.isIE&&_1b4.ie)||(dojo.isMoz&&_1b4.mozilla)||(dojo.isSafari&&_1b4.safari)||(_1b2&&_1b4.safari420)||(dojo.isOpera&&_1b4.opera);},execCommand:function(_1b5,_1b6){var _1b7;this.focus();_1b5=this._normalizeCommand(_1b5);if(_1b6!=undefined){if(_1b5=="heading"){throw new Error("unimplemented");}else{if((_1b5=="formatblock")&&dojo.isIE){_1b6="<"+_1b6+">";}}}if(_1b5=="inserthtml"){_1b6=this._preFilterContent(_1b6);if(dojo.isIE){var _1b8=this.document.selection.createRange();_1b8.pasteHTML(_1b6);_1b8.select();_1b7=true;}else{if(dojo.isMoz&&!_1b6.length){dojo.withGlobal(this.window,"remove",dijit._editor.selection);_1b7=true;}else{_1b7=this.document.execCommand(_1b5,false,_1b6);}}}else{if((_1b5=="unlink")&&(this.queryCommandEnabled("unlink"))&&(dojo.isMoz||dojo.isSafari)){var _1b9=this.window.getSelection();var a=dojo.withGlobal(this.window,"getAncestorElement",dijit._editor.selection,["a"]);dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[a]);_1b7=this.document.execCommand("unlink",false,null);}else{if((_1b5=="hilitecolor")&&(dojo.isMoz)){this.document.execCommand("styleWithCSS",false,true);_1b7=this.document.execCommand(_1b5,false,_1b6);this.document.execCommand("styleWithCSS",false,false);}else{if((dojo.isIE)&&((_1b5=="backcolor")||(_1b5=="forecolor"))){_1b6=arguments.length>1?_1b6:null;_1b7=this.document.execCommand(_1b5,false,_1b6);}else{_1b6=arguments.length>1?_1b6:null;if(_1b6||_1b5!="createlink"){_1b7=this.document.execCommand(_1b5,false,_1b6);}}}}}this.onDisplayChanged();return _1b7;},queryCommandEnabled:function(_1bb){_1bb=this._normalizeCommand(_1bb);if(dojo.isMoz||dojo.isSafari){if(_1bb=="unlink"){return dojo.withGlobal(this.window,"hasAncestorElement",dijit._editor.selection,["a"]);}else{if(_1bb=="inserttable"){return true;}}}if(dojo.isSafari){if(_1bb=="copy"){_1bb="cut";}else{if(_1bb=="paste"){return true;}}}var elem=(dojo.isIE)?this.document.selection.createRange():this.document;return elem.queryCommandEnabled(_1bb);},queryCommandState:function(_1bd){_1bd=this._normalizeCommand(_1bd);return this.document.queryCommandState(_1bd);},queryCommandValue:function(_1be){_1be=this._normalizeCommand(_1be);if(dojo.isIE&&_1be=="formatblock"){return this._local2NativeFormatNames[this.document.queryCommandValue(_1be)];}return this.document.queryCommandValue(_1be);},placeCursorAtStart:function(){this.focus();var _1bf=false;if(dojo.isMoz){var _1c0=this.editNode.firstChild;while(_1c0){if(_1c0.nodeType==3){if(_1c0.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_1bf=true;dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[_1c0]);break;}}else{if(_1c0.nodeType==1){_1bf=true;dojo.withGlobal(this.window,"selectElementChildren",dijit._editor.selection,[_1c0]);break;}}_1c0=_1c0.nextSibling;}}else{_1bf=true;dojo.withGlobal(this.window,"selectElementChildren",dijit._editor.selection,[this.editNode]);}if(_1bf){dojo.withGlobal(this.window,"collapse",dijit._editor.selection,[true]);}},placeCursorAtEnd:function(){this.focus();var _1c1=false;if(dojo.isMoz){var last=this.editNode.lastChild;while(last){if(last.nodeType==3){if(last.nodeValue.replace(/^\s+|\s+$/g,"").length>0){_1c1=true;dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[last]);break;}}else{if(last.nodeType==1){_1c1=true;if(last.lastChild){dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[last.lastChild]);}else{dojo.withGlobal(this.window,"selectElement",dijit._editor.selection,[last]);}break;}}last=last.previousSibling;}}else{_1c1=true;dojo.withGlobal(this.window,"selectElementChildren",dijit._editor.selection,[this.editNode]);}if(_1c1){dojo.withGlobal(this.window,"collapse",dijit._editor.selection,[false]);}},getValue:function(_1c3){if(this.textarea){if(this.isClosed||!this.isLoaded){return this.textarea.value;}}return this._postFilterContent(null,_1c3);},setValue:function(html){if(this.textarea&&(this.isClosed||!this.isLoaded)){this.textarea.value=html;}else{html=this._preFilterContent(html);if(this.isClosed){this.domNode.innerHTML=html;this._preDomFilterContent(this.domNode);}else{this.editNode.innerHTML=html;this._preDomFilterContent(this.editNode);}}},replaceValue:function(html){if(this.isClosed){this.setValue(html);}else{if(this.window&&this.window.getSelection&&!dojo.isMoz){this.setValue(html);}else{if(this.window&&this.window.getSelection){html=this._preFilterContent(html);this.execCommand("selectall");if(dojo.isMoz&&!html){html=" ";}this.execCommand("inserthtml",html);this._preDomFilterContent(this.editNode);}else{if(this.document&&this.document.selection){this.setValue(html);}}}}},_preFilterContent:function(html){var ec=html;dojo.forEach(this.contentPreFilters,function(ef){if(ef){ec=ef(ec);}});return ec;},_preDomFilterContent:function(dom){dom=dom||this.editNode;dojo.forEach(this.contentDomPreFilters,function(ef){if(ef&&dojo.isFunction(ef)){ef(dom);}},this);},_postFilterContent:function(dom,_1cc){dom=dom||this.editNode;if(this.contentDomPostFilters.length){if(_1cc&&dom["cloneNode"]){dom=dom.cloneNode(true);}dojo.forEach(this.contentDomPostFilters,function(ef){dom=ef(dom);});}var ec=this.getNodeChildrenHtml(dom);if(!ec.replace(/^(?:\s|\xA0)+/g,"").replace(/(?:\s|\xA0)+$/g,"").length){ec="";}dojo.forEach(this.contentPostFilters,function(ef){ec=ef(ec);});return ec;},_saveContent:function(e){var _1d1=dojo.byId("dijit._editor.RichText.savedContent");_1d1.value+=this._SEPARATOR+this.name+":"+this.getValue();},escapeXml:function(str,_1d3){str=str.replace(/&/gm,"&").replace(//gm,">").replace(/"/gm,""");if(!_1d3){str=str.replace(/'/gm,"'");}return str;},getNodeHtml:function(node){switch(node.nodeType){case 1:var _1d5="<"+node.tagName.toLowerCase();if(dojo.isMoz){if(node.getAttribute("type")=="_moz"){node.removeAttribute("type");}if(node.getAttribute("_moz_dirty")!=undefined){node.removeAttribute("_moz_dirty");}}var _1d6=[];if(dojo.isIE){var s=node.outerHTML;s=s.substr(0,s.indexOf(">"));s=s.replace(/(?:['"])[^"']*\1/g,"");var reg=/([^\s=]+)=/g;var m,key;while((m=reg.exec(s))!=undefined){key=m[1];if(key.substr(0,3)!="_dj"){if(key=="src"||key=="href"){if(node.getAttribute("_djrealurl")){_1d6.push([key,node.getAttribute("_djrealurl")]);continue;}}if(key=="class"){_1d6.push([key,node.className]);}else{_1d6.push([key,node.getAttribute(key)]);}}}}else{var attr,i=0,_1dd=node.attributes;while((attr=_1dd[i++])){if(attr.name.substr(0,3)!="_dj"){var v=attr.value;if(attr.name=="src"||attr.name=="href"){if(node.getAttribute("_djrealurl")){v=node.getAttribute("_djrealurl");}}_1d6.push([attr.name,v]);}}}_1d6.sort(function(a,b){return a[0]"+this.getNodeChildrenHtml(node)+"";}else{_1d5+=" />";}break;case 3:var _1d5=this.escapeXml(node.nodeValue,true);break;case 8:var _1d5="";break;default:var _1d5="Element not recognized - Type: "+node.nodeType+" Name: "+node.nodeName;}return _1d5;},getNodeChildrenHtml:function(dom){var out="";if(!dom){return out;}var _1e3=dom["childNodes"]||dom;var i=0;var node;while((node=_1e3[i++])){out+=this.getNodeHtml(node);}return out;},close:function(save,_1e7){if(this.isClosed){return false;}if(!arguments.length){save=true;}this._content=this.getValue();var _1e8=(this.savedContent!=this._content);if(this.interval){clearInterval(this.interval);}if(this.textarea){with(this.textarea.style){position="";left=top="";if(dojo.isIE){overflow=this.__overflow;this.__overflow=null;}}if(save){this.textarea.value=this._content;}else{this.textarea.value=this.savedContent;}dojo._destroyElement(this.domNode);this.domNode=this.textarea;}else{if(save){this.domNode.innerHTML=this._content;}else{this.domNode.innerHTML=this.savedContent;}}dojo.removeClass(this.domNode,"RichTextEditable");this.isClosed=true;this.isLoaded=false;delete this.editNode;if(this.window&&this.window._frameElement){this.window._frameElement=null;}this.window=null;this.document=null;this.editingArea=null;this.editorObject=null;return _1e8;},destroyRendering:function(){},destroy:function(){this.destroyRendering();if(!this.isClosed){this.close(false);}this.inherited("destroy",arguments);},_fixContentForMoz:function(html){html=html.replace(/<(\/)?strong([ \>])/gi,"<$1b$2");html=html.replace(/<(\/)?em([ \>])/gi,"<$1i$2");return html;},_srcInImgRegex:/(?:(]+))/gi,_hrefInARegex:/(?:(]+))/gi,_preFixUrlAttributes:function(html){html=html.replace(this._hrefInARegex,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2");html=html.replace(this._srcInImgRegex,"$1$4$2$3$5$2 _djrealurl=$2$3$5$2");return html;}});}if(!dojo._hasResource["dijit.Toolbar"]){dojo._hasResource["dijit.Toolbar"]=true;dojo.provide("dijit.Toolbar");dojo.declare("dijit.Toolbar",[dijit._Widget,dijit._Templated,dijit._KeyNavContainer],{templateString:"
    "+"
    ",tabIndex:"0",postCreate:function(){this.connectKeyNavHandlers(this.isLeftToRight()?[dojo.keys.LEFT_ARROW]:[dojo.keys.RIGHT_ARROW],this.isLeftToRight()?[dojo.keys.RIGHT_ARROW]:[dojo.keys.LEFT_ARROW]);},startup:function(){this.startupKeyNavChildren();}});dojo.declare("dijit.ToolbarSeparator",[dijit._Widget,dijit._Templated],{templateString:"
    ",postCreate:function(){dojo.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});}if(!dojo._hasResource["dijit.form.Button"]){dojo._hasResource["dijit.form.Button"]=true;dojo.provide("dijit.form.Button");dojo.declare("dijit.form.Button",dijit.form._FormWidget,{label:"",showLabel:true,iconClass:"",type:"button",baseClass:"dijitButton",templateString:"
    \n",_onClick:function(e){if(this.disabled){return false;}this._clicked();return this.onClick(e);},_onButtonClick:function(e){dojo.stopEvent(e);var _1ed=this._onClick(e)!==false;if(this.type=="submit"&&_1ed){for(var node=this.domNode;node;node=node.parentNode){var _1ef=dijit.byNode(node);if(_1ef&&_1ef._onSubmit){_1ef._onSubmit(e);break;}if(node.tagName.toLowerCase()=="form"){node.submit();break;}}}},postCreate:function(){if(this.showLabel==false){var _1f0="";this.label=this.containerNode.innerHTML;_1f0=dojo.trim(this.containerNode.innerText||this.containerNode.textContent);this.titleNode.title=_1f0;dojo.addClass(this.containerNode,"dijitDisplayNone");}this.inherited(arguments);},onClick:function(e){return true;},_clicked:function(e){},setLabel:function(_1f3){this.containerNode.innerHTML=this.label=_1f3;if(dojo.isMozilla){var _1f4=dojo.getComputedStyle(this.domNode).display;this.domNode.style.display="none";var _1f5=this;setTimeout(function(){_1f5.domNode.style.display=_1f4;},1);}if(this.showLabel==false){this.titleNode.title=dojo.trim(this.containerNode.innerText||this.containerNode.textContent);}}});dojo.declare("dijit.form.DropDownButton",[dijit.form.Button,dijit._Container],{baseClass:"dijitDropDownButton",templateString:"
    \n\t\n
    \n",_fillContent:function(){if(this.srcNodeRef){var _1f6=dojo.query("*",this.srcNodeRef);dijit.form.DropDownButton.superclass._fillContent.call(this,_1f6[0]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(!this.dropDown){var _1f7=dojo.query("[widgetId]",this.dropDownContainer)[0];this.dropDown=dijit.byNode(_1f7);delete this.dropDownContainer;}dojo.body().appendChild(this.dropDown.domNode);this.dropDown.domNode.style.display="none";},_onArrowClick:function(e){if(this.disabled){return;}this._toggleDropDown();},_onDropDownClick:function(e){var _1fa=dojo.isFF&&dojo.isFF<3&&navigator.appVersion.indexOf("Macintosh")!=-1;if(!_1fa||e.detail!=0||this._seenKeydown){this._onArrowClick(e);}this._seenKeydown=false;},_onDropDownKeydown:function(e){this._seenKeydown=true;},_onDropDownBlur:function(e){this._seenKeydown=false;},_onKey:function(e){if(this.disabled){return;}if(e.keyCode==dojo.keys.DOWN_ARROW){if(!this.dropDown||this.dropDown.domNode.style.display=="none"){dojo.stopEvent(e);return this._toggleDropDown();}}},_onBlur:function(){this._closeDropDown();},_toggleDropDown:function(){if(this.disabled){return;}dijit.focus(this.popupStateNode);var _1fe=this.dropDown;if(!_1fe){return false;}if(!_1fe.isShowingNow){if(_1fe.href&&!_1fe.isLoaded){var self=this;var _200=dojo.connect(_1fe,"onLoad",function(){dojo.disconnect(_200);self._openDropDown();});_1fe._loadCheck(true);return;}else{this._openDropDown();}}else{this._closeDropDown();}},_openDropDown:function(){var _201=this.dropDown;var _202=_201.domNode.style.width;var self=this;dijit.popup.open({parent:this,popup:_201,around:this.domNode,orient:this.isLeftToRight()?{"BL":"TL","BR":"TR","TL":"BL","TR":"BR"}:{"BR":"TR","BL":"TL","TR":"BR","TL":"BL"},onExecute:function(){self._closeDropDown(true);},onCancel:function(){self._closeDropDown(true);},onClose:function(){_201.domNode.style.width=_202;self.popupStateNode.removeAttribute("popupActive");this._opened=false;}});if(this.domNode.offsetWidth>_201.domNode.offsetWidth){var _204=null;if(!this.isLeftToRight()){_204=_201.domNode.parentNode;var _205=_204.offsetLeft+_204.offsetWidth;}dojo.marginBox(_201.domNode,{w:this.domNode.offsetWidth});if(_204){_204.style.left=_205-this.domNode.offsetWidth+"px";}}this.popupStateNode.setAttribute("popupActive","true");this._opened=true;if(_201.focus){_201.focus();}},_closeDropDown:function(_206){if(this._opened){dijit.popup.close(this.dropDown);if(_206){this.focus();}this._opened=false;}}});dojo.declare("dijit.form.ComboButton",dijit.form.DropDownButton,{templateString:"\n\t\n\t\t\n\t\t\t
    \n\t\t\t${label}\n\t\t\n\t\t
    \n
    \n\t
    \n",attributeMap:dojo.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap),{id:"",name:""}),optionsTitle:"",baseClass:"dijitComboButton",_focusedNode:null,postCreate:function(){this.inherited(arguments);this._focalNodes=[this.titleNode,this.popupStateNode];dojo.forEach(this._focalNodes,dojo.hitch(this,function(node){if(dojo.isIE){this.connect(node,"onactivate",this._onNodeFocus);}else{this.connect(node,"onfocus",this._onNodeFocus);}}));},focusFocalNode:function(node){this._focusedNode=node;dijit.focus(node);},hasNextFocalNode:function(){return this._focusedNode!==this.getFocalNodes()[1];},focusNext:function(){this._focusedNode=this.getFocalNodes()[this._focusedNode?1:0];dijit.focus(this._focusedNode);},hasPrevFocalNode:function(){return this._focusedNode!==this.getFocalNodes()[0];},focusPrev:function(){this._focusedNode=this.getFocalNodes()[this._focusedNode?0:1];dijit.focus(this._focusedNode);},getFocalNodes:function(){return this._focalNodes;},_onNodeFocus:function(evt){this._focusedNode=evt.currentTarget;},_onBlur:function(evt){this.inherited(arguments);this._focusedNode=null;}});dojo.declare("dijit.form.ToggleButton",dijit.form.Button,{baseClass:"dijitToggleButton",checked:false,_clicked:function(evt){this.setChecked(!this.checked);},setChecked:function(_20c){this.checked=_20c;dijit.setWaiState(this.focusNode||this.domNode,"pressed",this.checked);this._setStateClass();this.onChange(_20c);}});}if(!dojo._hasResource["dijit._editor._Plugin"]){dojo._hasResource["dijit._editor._Plugin"]=true;dojo.provide("dijit._editor._Plugin");dojo.declare("dijit._editor._Plugin",null,{constructor:function(args,node){if(args){dojo.mixin(this,args);}},editor:null,iconClassPrefix:"dijitEditorIcon",button:null,queryCommand:null,command:"",commandArg:null,useDefaultCommand:true,buttonClass:dijit.form.Button,updateInterval:200,_initButton:function(){if(this.command.length){var _20f=this.editor.commands[this.command];var _210="dijitEditorIcon "+this.iconClassPrefix+this.command.charAt(0).toUpperCase()+this.command.substr(1);if(!this.button){var _211={label:_20f,showLabel:false,iconClass:_210,dropDown:this.dropDown};this.button=new this.buttonClass(_211);}}},updateState:function(){var _e=this.editor;var _c=this.command;if(!_e){return;}if(!_e.isLoaded){return;}if(!_c.length){return;}if(this.button){try{var _214=_e.queryCommandEnabled(_c);this.button.setDisabled(!_214);if(this.button.setChecked){this.button.setChecked(_e.queryCommandState(_c));}}catch(e){console.debug(e);}}},setEditor:function(_215){this.editor=_215;this._initButton();if((this.command.length)&&(!this.editor.queryCommandAvailable(this.command))){if(this.button){this.button.domNode.style.display="none";}}if(this.button&&this.useDefaultCommand){dojo.connect(this.button,"onClick",dojo.hitch(this.editor,"execCommand",this.command,this.commandArg));}dojo.connect(this.editor,"onNormalizedDisplayChanged",this,"updateState");},setToolbar:function(_216){if(this.button){_216.addChild(this.button);}}});}if(!dojo._hasResource["dijit.Editor"]){dojo._hasResource["dijit.Editor"]=true;dojo.provide("dijit.Editor");dojo.declare("dijit.Editor",dijit._editor.RichText,{plugins:null,extraPlugins:null,constructor:function(){this.plugins=["undo","redo","|","cut","copy","paste","|","bold","italic","underline","strikethrough","|","insertOrderedList","insertUnorderedList","indent","outdent","|","justifyLeft","justifyRight","justifyCenter","justifyFull"];this._plugins=[];this._editInterval=this.editActionInterval*1000;},postCreate:function(){if(this.customUndo){dojo["require"]("dijit._editor.range");this._steps=this._steps.slice(0);this._undoedSteps=this._undoedSteps.slice(0);}if(dojo.isArray(this.extraPlugins)){this.plugins=this.plugins.concat(this.extraPlugins);}dijit.Editor.superclass.postCreate.apply(this,arguments);this.commands=dojo.i18n.getLocalization("dijit._editor","commands",this.lang);if(!this.toolbar){var _217=dojo.doc.createElement("div");dojo.place(_217,this.editingArea,"before");this.toolbar=new dijit.Toolbar({},_217);}dojo.forEach(this.plugins,this.addPlugin,this);this.onNormalizedDisplayChanged();},destroy:function(){dojo.forEach(this._plugins,function(p){if(p.destroy){p.destroy();}});this._plugins=[];this.toolbar.destroy();delete this.toolbar;this.inherited("destroy",arguments);},addPlugin:function(_219,_21a){var args=dojo.isString(_219)?{name:_219}:_219;if(!args.setEditor){var o={"args":args,"plugin":null,"editor":this};dojo.publish("dijit.Editor.getPlugin",[o]);if(!o.plugin){var pc=dojo.getObject(args.name);if(pc){o.plugin=new pc(args);}}if(!o.plugin){console.debug("Cannot find plugin",_219);return;}_219=o.plugin;}if(arguments.length>1){this._plugins[_21a]=_219;}else{this._plugins.push(_219);}_219.setEditor(this);if(dojo.isFunction(_219.setToolbar)){_219.setToolbar(this.toolbar);}},customUndo:dojo.isIE,editActionInterval:3,beginEditing:function(cmd){if(!this._inEditing){this._inEditing=true;this._beginEditing(cmd);}if(this.editActionInterval>0){if(this._editTimer){clearTimeout(this._editTimer);}this._editTimer=setTimeout(dojo.hitch(this,this.endEditing),this._editInterval);}},_steps:[],_undoedSteps:[],execCommand:function(cmd){if(this.customUndo&&(cmd=="undo"||cmd=="redo")){return this[cmd]();}else{try{if(this.customUndo){this.endEditing();this._beginEditing();}var r=this.inherited("execCommand",arguments);if(this.customUndo){this._endEditing();}return r;}catch(e){if(dojo.isMoz&&/copy|cut|paste/.test(cmd)){var sub=dojo.string.substitute,_222={cut:"X",copy:"C",paste:"V"},_223=navigator.userAgent.indexOf("Macintosh")!=-1;alert(sub(this.commands.systemShortcutFF,[cmd,sub(this.commands[_223?"appleKey":"ctrlKey"],[_222[cmd]])]));}return false;}}},queryCommandEnabled:function(cmd){if(this.customUndo&&(cmd=="undo"||cmd=="redo")){return cmd=="undo"?(this._steps.length>1):(this._undoedSteps.length>0);}else{return this.inherited("queryCommandEnabled",arguments);}},_changeToStep:function(from,to){this.setValue(to.text);var b=to.bookmark;if(!b){return;}if(dojo.isIE){if(dojo.isArray(b)){var tmp=[];dojo.forEach(b,function(n){tmp.push(dijit.range.getNode(n,this.editNode));},this);b=tmp;}}else{var r=dijit.range.create();r.setStart(dijit.range.getNode(b.startContainer,this.editNode),b.startOffset);r.setEnd(dijit.range.getNode(b.endContainer,this.editNode),b.endOffset);b=r;}dojo.withGlobal(this.window,"moveToBookmark",dijit,[b]);},undo:function(){this.endEditing(true);var s=this._steps.pop();if(this._steps.length>0){this.focus();this._changeToStep(s,this._steps[this._steps.length-1]);this._undoedSteps.push(s);this.onDisplayChanged();return true;}return false;},redo:function(){this.endEditing(true);var s=this._undoedSteps.pop();if(s&&this._steps.length>0){this.focus();this._changeToStep(this._steps[this._steps.length-1],s);this._steps.push(s);this.onDisplayChanged();return true;}return false;},endEditing:function(_22d){if(this._editTimer){clearTimeout(this._editTimer);}if(this._inEditing){this._endEditing(_22d);this._inEditing=false;}},_getBookmark:function(){var b=dojo.withGlobal(this.window,dijit.getBookmark);if(dojo.isIE){if(dojo.isArray(b)){var tmp=[];dojo.forEach(b,function(n){tmp.push(dijit.range.getIndex(n,this.editNode).o);},this);b=tmp;}}else{var tmp=dijit.range.getIndex(b.startContainer,this.editNode).o;b={startContainer:tmp,startOffset:b.startOffset,endContainer:b.endContainer===b.startContainer?tmp:dijit.range.getIndex(b.endContainer,this.editNode).o,endOffset:b.endOffset};}return b;},_beginEditing:function(cmd){if(this._steps.length===0){this._steps.push({"text":this.savedContent,"bookmark":this._getBookmark()});}},_endEditing:function(_232){var v=this.getValue(true);this._undoedSteps=[];this._steps.push({"text":v,"bookmark":this._getBookmark()});},onKeyDown:function(e){if(!this.customUndo){this.inherited("onKeyDown",arguments);return;}var k=e.keyCode,ks=dojo.keys;if(e.ctrlKey){if(k===90||k===122){dojo.stopEvent(e);this.undo();return;}else{if(k===89||k===121){dojo.stopEvent(e);this.redo();return;}}}this.inherited("onKeyDown",arguments);switch(k){case ks.ENTER:this.beginEditing();break;case ks.BACKSPACE:case ks.DELETE:this.beginEditing();break;case 88:case 86:if(e.ctrlKey&&!e.altKey&&!e.metaKey){this.endEditing();if(e.keyCode==88){this.beginEditing("cut");setTimeout(dojo.hitch(this,this.endEditing),1);}else{this.beginEditing("paste");setTimeout(dojo.hitch(this,this.endEditing),1);}break;}default:if(!e.ctrlKey&&!e.altKey&&!e.metaKey&&(e.keyCodedojo.keys.F15)){this.beginEditing();break;}case ks.ALT:this.endEditing();break;case ks.UP_ARROW:case ks.DOWN_ARROW:case ks.LEFT_ARROW:case ks.RIGHT_ARROW:case ks.HOME:case ks.END:case ks.PAGE_UP:case ks.PAGE_DOWN:this.endEditing(true);break;case ks.CTRL:case ks.SHIFT:case ks.TAB:break;}},_onBlur:function(){this.inherited("_onBlur",arguments);this.endEditing(true);},onClick:function(){this.endEditing(true);this.inherited("onClick",arguments);}});dojo.subscribe("dijit.Editor.getPlugin",null,function(o){if(o.plugin){return;}var args=o.args,p;var _p=dijit._editor._Plugin;var name=args.name;switch(name){case "undo":case "redo":case "cut":case "copy":case "paste":case "insertOrderedList":case "insertUnorderedList":case "indent":case "outdent":case "justifyCenter":case "justifyFull":case "justifyLeft":case "justifyRight":case "delete":case "selectAll":case "removeFormat":p=new _p({command:name});break;case "bold":case "italic":case "underline":case "strikethrough":case "subscript":case "superscript":p=new _p({buttonClass:dijit.form.ToggleButton,command:name});break;case "|":p=new _p({button:new dijit.ToolbarSeparator()});break;case "createLink":p=new dijit._editor.plugins.LinkDialog({command:name});break;case "foreColor":case "hiliteColor":p=new dijit._editor.plugins.TextColor({command:name});break;case "fontName":case "fontSize":case "formatBlock":p=new dijit._editor.plugins.FontChoice({command:name});}o.plugin=p;});}if(!dojo._hasResource["dijit.Menu"]){dojo._hasResource["dijit.Menu"]=true;dojo.provide("dijit.Menu");dojo.declare("dijit.Menu",[dijit._Widget,dijit._Templated,dijit._KeyNavContainer],{constructor:function(){this._bindings=[];},templateString:""+""+"
    ",targetNodeIds:[],contextMenuForWindow:false,parentMenu:null,popupDelay:500,_contextMenuWithMouse:false,postCreate:function(){if(this.contextMenuForWindow){this.bindDomNode(dojo.body());}else{dojo.forEach(this.targetNodeIds,this.bindDomNode,this);}this.connectKeyNavHandlers([dojo.keys.UP_ARROW],[dojo.keys.DOWN_ARROW]);},startup:function(){dojo.forEach(this.getChildren(),function(_23c){_23c.startup();});this.startupKeyNavChildren();},onExecute:function(){},onCancel:function(_23d){},_moveToPopup:function(evt){if(this.focusedChild&&this.focusedChild.popup&&!this.focusedChild.disabled){this.focusedChild._onClick(evt);}},_onKeyPress:function(evt){if(evt.ctrlKey||evt.altKey){return;}switch(evt.keyCode){case dojo.keys.RIGHT_ARROW:this._moveToPopup(evt);dojo.stopEvent(evt);break;case dojo.keys.LEFT_ARROW:if(this.parentMenu){this.onCancel(false);}else{dojo.stopEvent(evt);}break;}},onItemHover:function(item){this.focusChild(item);if(this.focusedChild.popup&&!this.focusedChild.disabled&&!this.hover_timer){this.hover_timer=setTimeout(dojo.hitch(this,"_openPopup"),this.popupDelay);}},_onChildBlur:function(item){dijit.popup.close(item.popup);item._blur();this._stopPopupTimer();},onItemUnhover:function(item){},_stopPopupTimer:function(){if(this.hover_timer){clearTimeout(this.hover_timer);this.hover_timer=null;}},_getTopMenu:function(){for(var top=this;top.parentMenu;top=top.parentMenu){}return top;},onItemClick:function(item){if(item.disabled){return false;}if(item.popup){if(!this.is_open){this._openPopup();}}else{this.onExecute();item.onClick();}},_iframeContentWindow:function(_245){var win=dijit.getDocumentWindow(dijit.Menu._iframeContentDocument(_245))||dijit.Menu._iframeContentDocument(_245)["__parent__"]||(_245.name&&document.frames[_245.name])||null;return win;},_iframeContentDocument:function(_247){var doc=_247.contentDocument||(_247.contentWindow&&_247.contentWindow.document)||(_247.name&&document.frames[_247.name]&&document.frames[_247.name].document)||null;return doc;},bindDomNode:function(node){node=dojo.byId(node);var win=dijit.getDocumentWindow(node.ownerDocument);if(node.tagName.toLowerCase()=="iframe"){win=this._iframeContentWindow(node);node=dojo.withGlobal(win,dojo.body);}var cn=(node==dojo.body()?dojo.doc:node);node[this.id]=this._bindings.push([dojo.connect(cn,"oncontextmenu",this,"_openMyself"),dojo.connect(cn,"onkeydown",this,"_contextKey"),dojo.connect(cn,"onmousedown",this,"_contextMouse")]);},unBindDomNode:function(_24c){var node=dojo.byId(_24c);var bid=node[this.id]-1,b=this._bindings[bid];dojo.forEach(b,dojo.disconnect);delete this._bindings[bid];},_contextKey:function(e){this._contextMenuWithMouse=false;if(e.keyCode==dojo.keys.F10){dojo.stopEvent(e);if(e.shiftKey&&e.type=="keydown"){var _e={target:e.target,pageX:e.pageX,pageY:e.pageY};_e.preventDefault=_e.stopPropagation=function(){};window.setTimeout(dojo.hitch(this,function(){this._openMyself(_e);}),1);}}},_contextMouse:function(e){this._contextMenuWithMouse=true;},_openMyself:function(e){dojo.stopEvent(e);var x,y;if(dojo.isSafari||this._contextMenuWithMouse){x=e.pageX;y=e.pageY;}else{var _256=dojo.coords(e.target,true);x=_256.x+10;y=_256.y+10;}var self=this;var _258=dijit.getFocus(this);function closeAndRestoreFocus(){dijit.focus(_258);dijit.popup.close(self);};dijit.popup.open({popup:this,x:x,y:y,onExecute:closeAndRestoreFocus,onCancel:closeAndRestoreFocus,orient:this.isLeftToRight()?"L":"R"});this.focus();this._onBlur=function(){dijit.popup.close(this);};},onOpen:function(e){this.isShowingNow=true;},onClose:function(){this._stopPopupTimer();this.parentMenu=null;this.isShowingNow=false;this.currentPopup=null;if(this.focusedChild){this._onChildBlur(this.focusedChild);this.focusedChild=null;}},_openPopup:function(){this._stopPopupTimer();var _25a=this.focusedChild;var _25b=_25a.popup;if(_25b.isShowingNow){return;}_25b.parentMenu=this;var self=this;dijit.popup.open({parent:this,popup:_25b,around:_25a.arrowCell,orient:this.isLeftToRight()?{"TR":"TL","TL":"TR"}:{"TL":"TR","TR":"TL"},onCancel:function(){dijit.popup.close(_25b);_25a.focus();self.currentPopup=null;}});this.currentPopup=_25b;if(_25b.focus){_25b.focus();}}});dojo.declare("dijit.MenuItem",[dijit._Widget,dijit._Templated,dijit._Contained],{templateString:""+"
    "+""+""+"
    "+"+"+"
    "+""+"",label:"",iconClass:"",disabled:false,postCreate:function(){dojo.setSelectable(this.domNode,false);this.setDisabled(this.disabled);if(this.label){this.containerNode.innerHTML=this.label;}},_onHover:function(){this.getParent().onItemHover(this);},_onUnhover:function(){this.getParent().onItemUnhover(this);},_onClick:function(evt){this.getParent().onItemClick(this);dojo.stopEvent(evt);},onClick:function(){},focus:function(){dojo.addClass(this.domNode,"dijitMenuItemHover");try{dijit.focus(this.containerNode);}catch(e){}},_blur:function(){dojo.removeClass(this.domNode,"dijitMenuItemHover");},setDisabled:function(_25e){this.disabled=_25e;dojo[_25e?"addClass":"removeClass"](this.domNode,"dijitMenuItemDisabled");dijit.setWaiState(this.containerNode,"disabled",_25e?"true":"false");}});dojo.declare("dijit.PopupMenuItem",dijit.MenuItem,{_fillContent:function(){if(this.srcNodeRef){var _25f=dojo.query("*",this.srcNodeRef);dijit.PopupMenuItem.superclass._fillContent.call(this,_25f[0]);this.dropDownContainer=this.srcNodeRef;}},startup:function(){if(!this.popup){var node=dojo.query("[widgetId]",this.dropDownContainer)[0];this.popup=dijit.byNode(node);}dojo.body().appendChild(this.popup.domNode);this.popup.domNode.style.display="none";dojo.addClass(this.expand,"dijitMenuExpandEnabled");dojo.style(this.expand,"display","");dijit.setWaiState(this.containerNode,"haspopup","true");}});dojo.declare("dijit.MenuSeparator",[dijit._Widget,dijit._Templated,dijit._Contained],{templateString:""+"
    "+"
    "+"",postCreate:function(){dojo.setSelectable(this.domNode,false);},isFocusable:function(){return false;}});}if(!dojo._hasResource["dojo.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.regexp.escapeString=function(str,_262){return str.replace(/([\.$?*!=:|{}\(\)\[\]\\\/^])/g,function(ch){if(_262&&_262.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(arr,re,_266){if(!(arr instanceof Array)){return re(arr);}var b=[];for(var i=0;i_27c){var _280=Math.pow(10,_27c);if(_27d>0){_280*=10/_27d;_27c++;}_27b=Math.round(_27b*_280)/_280;_27e=String(_27b).split(".");_27f=(_27e[1]&&_27e[1].length)||0;if(_27f>_27c){_27e[1]=_27e[1].substr(0,_27c);_27b=Number(_27e.join("."));}}return _27b;};dojo.number._formatAbsolute=function(_281,_282,_283){_283=_283||{};if(_283.places===true){_283.places=0;}if(_283.places===Infinity){_283.places=6;}var _284=_282.split(".");var _285=(_283.places>=0)?_283.places:(_284[1]&&_284[1].length)||0;if(!(_283.round<0)){_281=dojo.number.round(_281,_285,_283.round);}var _286=String(Math.abs(_281)).split(".");var _287=_286[1]||"";if(_283.places){_286[1]=dojo.string.pad(_287.substr(0,_283.places),_283.places,"0",true);}else{if(_284[1]&&_283.places!==0){var pad=_284[1].lastIndexOf("0")+1;if(pad>_287.length){_286[1]=dojo.string.pad(_287,pad,"0",true);}var _289=_284[1].length;if(_289<_287.length){_286[1]=_287.substr(0,_289);}}else{if(_286[1]){_286.pop();}}}var _28a=_284[0].replace(",","");pad=_28a.indexOf("0");if(pad!=-1){pad=_28a.length-pad;if(pad>_286[0].length){_286[0]=dojo.string.pad(_286[0],pad);}if(_28a.indexOf("#")==-1){_286[0]=_286[0].substr(_286[0].length-pad);}}var _28b=_284[0].lastIndexOf(",");var _28c,_28d;if(_28b!=-1){_28c=_284[0].length-_28b-1;var _28e=_284[0].substr(0,_28b);_28b=_28e.lastIndexOf(",");if(_28b!=-1){_28d=_28e.length-_28b-1;}}var _28f=[];for(var _290=_286[0];_290;){var off=_290.length-_28c;_28f.push((off>0)?_290.substr(off):_290);_290=(off>0)?_290.slice(0,off):"";if(_28d){_28c=_28d;delete _28d;}}_286[0]=_28f.reverse().join(_283.group||",");return _286.join(_283.decimal||".");};dojo.number.regexp=function(_292){return dojo.number._parseInfo(_292).regexp;};dojo.number._parseInfo=function(_293){_293=_293||{};var _294=dojo.i18n.normalizeLocale(_293.locale);var _295=dojo.i18n.getLocalization("dojo.cldr","number",_294);var _296=_293.pattern||_295[(_293.type||"decimal")+"Format"];var _297=_295.group;var _298=_295.decimal;var _299=1;if(_296.indexOf("%")!=-1){_299/=100;}else{if(_296.indexOf("‰")!=-1){_299/=1000;}else{var _29a=_296.indexOf("¤")!=-1;if(_29a){_297=_295.currencyGroup||_297;_298=_295.currencyDecimal||_298;}}}var _29b=_296.split(";");if(_29b.length==1){_29b.push("-"+_29b[0]);}var re=dojo.regexp.buildGroupRE(_29b,function(_29d){_29d="(?:"+dojo.regexp.escapeString(_29d,".")+")";return _29d.replace(dojo.number._numberPatternRE,function(_29e){var _29f={signed:false,separator:_293.strict?_297:[_297,""],fractional:_293.fractional,decimal:_298,exponent:false};var _2a0=_29e.split(".");var _2a1=_293.places;if(_2a0.length==1||_2a1===0){_29f.fractional=false;}else{if(typeof _2a1=="undefined"){_2a1=_2a0[1].lastIndexOf("0")+1;}if(_2a1&&_293.fractional==undefined){_29f.fractional=true;}if(!_293.places&&(_2a1<_2a0[1].length)){_2a1+=","+_2a0[1].length;}_29f.places=_2a1;}var _2a2=_2a0[0].split(",");if(_2a2.length>1){_29f.groupSize=_2a2.pop().length;if(_2a2.length>1){_29f.groupSize2=_2a2.pop().length;}}return "("+dojo.number._realNumberRegexp(_29f)+")";});},true);if(_29a){re=re.replace(/(\s*)(\u00a4{1,3})(\s*)/g,function(_2a3,_2a4,_2a5,_2a6){var prop=["symbol","currency","displayName"][_2a5.length-1];var _2a8=dojo.regexp.escapeString(_293[prop]||_293.currency||"");_2a4=_2a4?"\\s":"";_2a6=_2a6?"\\s":"";if(!_293.strict){if(_2a4){_2a4+="*";}if(_2a6){_2a6+="*";}return "(?:"+_2a4+_2a8+_2a6+")?";}return _2a4+_2a8+_2a6;});}return {regexp:re.replace(/[\xa0 ]/g,"[\\s\\xa0]"),group:_297,decimal:_298,factor:_299};};dojo.number.parse=function(_2a9,_2aa){var info=dojo.number._parseInfo(_2aa);var _2ac=(new RegExp("^"+info.regexp+"$")).exec(_2a9);if(!_2ac){return NaN;}var _2ad=_2ac[1];if(!_2ac[1]){if(!_2ac[2]){return NaN;}_2ad=_2ac[2];info.factor*=-1;}_2ad=_2ad.replace(new RegExp("["+info.group+"\\s\\xa0"+"]","g"),"").replace(info.decimal,".");return Number(_2ad)*info.factor;};dojo.number._realNumberRegexp=function(_2ae){_2ae=_2ae||{};if(typeof _2ae.places=="undefined"){_2ae.places=Infinity;}if(typeof _2ae.decimal!="string"){_2ae.decimal=".";}if(typeof _2ae.fractional=="undefined"||/^0/.test(_2ae.places)){_2ae.fractional=[true,false];}if(typeof _2ae.exponent=="undefined"){_2ae.exponent=[true,false];}if(typeof _2ae.eSigned=="undefined"){_2ae.eSigned=[true,false];}var _2af=dojo.number._integerRegexp(_2ae);var _2b0=dojo.regexp.buildGroupRE(_2ae.fractional,function(q){var re="";if(q&&(_2ae.places!==0)){re="\\"+_2ae.decimal;if(_2ae.places==Infinity){re="(?:"+re+"\\d+)?";}else{re+="\\d{"+_2ae.places+"}";}}return re;},true);var _2b3=dojo.regexp.buildGroupRE(_2ae.exponent,function(q){if(q){return "([eE]"+dojo.number._integerRegexp({signed:_2ae.eSigned})+")";}return "";});var _2b5=_2af+_2b0;if(_2b0){_2b5="(?:(?:"+_2b5+")|(?:"+_2b0+"))";}return _2b5+_2b3;};dojo.number._integerRegexp=function(_2b6){_2b6=_2b6||{};if(typeof _2b6.signed=="undefined"){_2b6.signed=[true,false];}if(typeof _2b6.separator=="undefined"){_2b6.separator="";}else{if(typeof _2b6.groupSize=="undefined"){_2b6.groupSize=3;}}var _2b7=dojo.regexp.buildGroupRE(_2b6.signed,function(q){return q?"[-+]":"";},true);var _2b9=dojo.regexp.buildGroupRE(_2b6.separator,function(sep){if(!sep){return "(?:0|[1-9]\\d*)";}sep=dojo.regexp.escapeString(sep);if(sep==" "){sep="\\s";}else{if(sep==" "){sep="\\s\\xa0";}}var grp=_2b6.groupSize,grp2=_2b6.groupSize2;if(grp2){var _2bd="(?:0|[1-9]\\d{0,"+(grp2-1)+"}(?:["+sep+"]\\d{"+grp2+"})*["+sep+"]\\d{"+grp+"})";return ((grp-grp2)>0)?"(?:"+_2bd+"|(?:0|[1-9]\\d{0,"+(grp-1)+"}))":_2bd;}return "(?:0|[1-9]\\d{0,"+(grp-1)+"}(?:["+sep+"]\\d{"+grp+"})*)";},true);return _2b7+_2b9;};}if(!dojo._hasResource["dijit.ProgressBar"]){dojo._hasResource["dijit.ProgressBar"]=true;dojo.provide("dijit.ProgressBar");dojo.declare("dijit.ProgressBar",[dijit._Widget,dijit._Templated],{progress:"0",maximum:100,places:0,indeterminate:false,templateString:"
     
     
    \n",_indeterminateHighContrastImagePath:dojo.moduleUrl("dijit","themes/a11y/indeterminate_progress.gif"),postCreate:function(){this.inherited("postCreate",arguments);this.inteterminateHighContrastImage.setAttribute("src",this._indeterminateHighContrastImagePath);this.update();},update:function(_2be){dojo.mixin(this,_2be||{});var _2bf=1,_2c0;if(this.indeterminate){_2c0="addClass";dijit.removeWaiState(this.internalProgress,"valuenow");dijit.removeWaiState(this.internalProgress,"valuemin");dijit.removeWaiState(this.internalProgress,"valuemax");}else{_2c0="removeClass";if(String(this.progress).indexOf("%")!=-1){_2bf=Math.min(parseFloat(this.progress)/100,1);this.progress=_2bf*this.maximum;}else{this.progress=Math.min(this.progress,this.maximum);_2bf=this.progress/this.maximum;}var text=this.report(_2bf);this.label.firstChild.nodeValue=text;dijit.setWaiState(this.internalProgress,"valuenow",this.progress);dijit.setWaiState(this.internalProgress,"valuemin",0);dijit.setWaiState(this.internalProgress,"valuemax",this.maximum);}dojo[_2c0](this.domNode,"dijitProgressBarIndeterminate");this.internalProgress.style.width=(_2bf*100)+"%";this.onChange();},report:function(_2c2){return dojo.number.format(_2c2,{type:"percent",places:this.places,locale:this.lang});},onChange:function(){}});}if(!dojo._hasResource["dijit.TitlePane"]){dojo._hasResource["dijit.TitlePane"]=true;dojo.provide("dijit.TitlePane");dojo.declare("dijit.TitlePane",[dijit.layout.ContentPane,dijit._Templated],{title:"",open:true,duration:250,baseClass:"dijitTitlePane",templateString:"
    \n\t
    \n\t\t
    \n\t\t
    \n\t
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\t\n\t\t\t
    \n\t\t
    \n\t
    \n
    \n",postCreate:function(){this.setTitle(this.title);if(!this.open){this.hideNode.style.display=this.wipeNode.style.display="none";}this._setCss();dojo.setSelectable(this.titleNode,false);this.inherited("postCreate",arguments);dijit.setWaiState(this.containerNode,"labelledby",this.titleNode.id);dijit.setWaiState(this.focusNode,"haspopup","true");var _2c3=this.hideNode,_2c4=this.wipeNode;this._wipeIn=dojo.fx.wipeIn({node:this.wipeNode,duration:this.duration,beforeBegin:function(){_2c3.style.display="";}});this._wipeOut=dojo.fx.wipeOut({node:this.wipeNode,duration:this.duration,onEnd:function(){_2c3.style.display="none";}});},setContent:function(_2c5){if(this._wipeOut.status()=="playing"){this.inherited("setContent",arguments);}else{if(this._wipeIn.status()=="playing"){this._wipeIn.stop();}dojo.marginBox(this.wipeNode,{h:dojo.marginBox(this.wipeNode).h});this.inherited("setContent",arguments);this._wipeIn.play();}},toggle:function(){dojo.forEach([this._wipeIn,this._wipeOut],function(_2c6){if(_2c6.status()=="playing"){_2c6.stop();}});this[this.open?"_wipeOut":"_wipeIn"].play();this.open=!this.open;this._loadCheck();this._setCss();},_setCss:function(){var _2c7=["dijitClosed","dijitOpen"];var _2c8=this.open;dojo.removeClass(this.focusNode,_2c7[!_2c8+0]);this.focusNode.className+=" "+_2c7[_2c8+0];this.arrowNodeInner.innerHTML=this.open?"-":"+";},_onTitleKey:function(e){if(e.keyCode==dojo.keys.ENTER||e.charCode==dojo.keys.SPACE){this.toggle();}else{if(e.keyCode==dojo.keys.DOWN_ARROW){if(this.open){this.containerNode.focus();e.preventDefault();}}}},_handleFocus:function(e){dojo[(e.type=="focus"?"addClass":"removeClass")](this.focusNode,this.baseClass+"Focused");},setTitle:function(_2cb){this.titleNode.innerHTML=_2cb;}});}if(!dojo._hasResource["dijit.Tooltip"]){dojo._hasResource["dijit.Tooltip"]=true;dojo.provide("dijit.Tooltip");dojo.declare("dijit._MasterTooltip",[dijit._Widget,dijit._Templated],{duration:200,templateString:"
    \n\t
    \n\t
    \n
    \n",postCreate:function(){dojo.body().appendChild(this.domNode);this.bgIframe=new dijit.BackgroundIframe(this.domNode);this.fadeIn=dojo.fadeIn({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onShow")});this.fadeOut=dojo.fadeOut({node:this.domNode,duration:this.duration,onEnd:dojo.hitch(this,"_onHide")});},show:function(_2cc,_2cd){if(this.aroundNode&&this.aroundNode===_2cd){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_2cc;this.domNode.style.top=(this.domNode.offsetTop+1)+"px";var _2ce=this.isLeftToRight()?{"BR":"BL","BL":"BR"}:{"BL":"BR","BR":"BL"};var pos=dijit.placeOnScreenAroundElement(this.domNode,_2cd,_2ce);this.domNode.className="dijitTooltip dijitTooltip"+(pos.corner=="BL"?"Right":"Left");dojo.style(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_2cd;},_onShow:function(){if(dojo.isIE){this.domNode.style.filter="";}},hide:function(_2d0){if(!this.aroundNode||this.aroundNode!==_2d0){return;}if(this._onDeck){this._onDeck=null;return;}this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();},_onHide:function(){this.domNode.style.cssText="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}}});dijit.showTooltip=function(_2d1,_2d2){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.show(_2d1,_2d2);};dijit.hideTooltip=function(_2d3){if(!dijit._masterTT){dijit._masterTT=new dijit._MasterTooltip();}return dijit._masterTT.hide(_2d3);};dojo.declare("dijit.Tooltip",dijit._Widget,{label:"",showDelay:400,connectId:[],postCreate:function(){if(this.srcNodeRef){this.srcNodeRef.style.display="none";}this._connectNodes=[];dojo.forEach(this.connectId,function(id){var node=dojo.byId(id);if(node){this._connectNodes.push(node);dojo.forEach(["onMouseOver","onMouseOut","onFocus","onBlur","onHover","onUnHover"],function(_2d6){this.connect(node,_2d6.toLowerCase(),"_"+_2d6);},this);if(dojo.isIE){node.style.zoom=1;}}},this);},_onMouseOver:function(e){this._onHover(e);},_onMouseOut:function(e){if(dojo.isDescendant(e.relatedTarget,e.target)){return;}this._onUnHover(e);},_onFocus:function(e){this._focus=true;this._onHover(e);},_onBlur:function(e){this._focus=false;this._onUnHover(e);},_onHover:function(e){if(!this._showTimer){var _2dc=e.target;this._showTimer=setTimeout(dojo.hitch(this,function(){this.open(_2dc);}),this.showDelay);}},_onUnHover:function(e){if(this._focus){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}this.close();},open:function(_2de){_2de=_2de||this._connectNodes[0];if(!_2de){return;}if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}dijit.showTooltip(this.label||this.domNode.innerHTML,_2de);this._connectNode=_2de;},close:function(){dijit.hideTooltip(this._connectNode);delete this._connectNode;if(this._showTimer){clearTimeout(this._showTimer);delete this._showTimer;}},uninitialize:function(){this.close();}});}if(!dojo._hasResource["dojo.cookie"]){dojo._hasResource["dojo.cookie"]=true;dojo.provide("dojo.cookie");dojo.cookie=function(name,_2e0,_2e1){var c=document.cookie;if(arguments.length==1){var idx=c.lastIndexOf(name+"=");if(idx==-1){return null;}var _2e4=idx+name.length+1;var end=c.indexOf(";",idx+name.length+1);if(end==-1){end=c.length;}return decodeURIComponent(c.substring(_2e4,end));}else{_2e1=_2e1||{};_2e0=encodeURIComponent(_2e0);if(typeof (_2e1.expires)=="number"){var d=new Date();d.setTime(d.getTime()+(_2e1.expires*24*60*60*1000));_2e1.expires=d;}document.cookie=name+"="+_2e0+(_2e1.expires?"; expires="+_2e1.expires.toUTCString():"")+(_2e1.path?"; path="+_2e1.path:"")+(_2e1.domain?"; domain="+_2e1.domain:"")+(_2e1.secure?"; secure":"");return null;}};}if(!dojo._hasResource["dijit.Tree"]){dojo._hasResource["dijit.Tree"]=true;dojo.provide("dijit.Tree");dojo.declare("dijit._TreeNode",[dijit._Widget,dijit._Templated,dijit._Container,dijit._Contained],{item:null,isTreeNode:true,label:"",isExpandable:null,isExpanded:false,state:"UNCHECKED",templateString:"
    \n\t
    \n\t\t
    \n\t\t\n\t
    \n
    \n",postCreate:function(){this.setLabelNode(this.label);this._setExpando();this._updateItemClasses(this.item);if(this.isExpandable){dijit.setWaiState(this.labelNode,"expanded",this.isExpanded);}},markProcessing:function(){this.state="LOADING";this._setExpando(true);},unmarkProcessing:function(){this._setExpando(false);},_updateItemClasses:function(item){this.iconNode.className="dijitInline dijitTreeIcon "+this.tree.getIconClass(item);this.labelNode.className="dijitTreeLabel "+this.tree.getLabelClass(item);},_updateLayout:function(){var _2e8=this.getParent();if(_2e8&&_2e8.isTree&&_2e8._hideRoot){dojo.addClass(this.domNode,"dijitTreeIsRoot");}else{dojo.toggleClass(this.domNode,"dijitTreeIsLast",!this.getNextSibling());}},_setExpando:function(_2e9){var _2ea=["dijitTreeExpandoLoading","dijitTreeExpandoOpened","dijitTreeExpandoClosed","dijitTreeExpandoLeaf"];var idx=_2e9?0:(this.isExpandable?(this.isExpanded?1:2):3);dojo.forEach(_2ea,function(s){dojo.removeClass(this.expandoNode,s);},this);dojo.addClass(this.expandoNode,_2ea[idx]);this.expandoNodeText.innerHTML=_2e9?"*":(this.isExpandable?(this.isExpanded?"-":"+"):"*");},expand:function(){if(this.isExpanded){return;}if(this._wipeOut.status()=="playing"){this._wipeOut.stop();}this.isExpanded=true;dijit.setWaiState(this.labelNode,"expanded","true");dijit.setWaiRole(this.containerNode,"group");this._setExpando();this._wipeIn.play();},collapse:function(){if(!this.isExpanded){return;}if(this._wipeIn.status()=="playing"){this._wipeIn.stop();}this.isExpanded=false;dijit.setWaiState(this.labelNode,"expanded","false");this._setExpando();this._wipeOut.play();},setLabelNode:function(_2ed){this.labelNode.innerHTML="";this.labelNode.appendChild(document.createTextNode(_2ed));},_setChildren:function(_2ee){this.destroyDescendants();this.state="LOADED";var _2ef={};if(_2ee&&_2ee.length>0){this.isExpandable=true;if(!this.containerNode){this.containerNode=this.tree.containerNodeTemplate.cloneNode(true);this.domNode.appendChild(this.containerNode);}dojo.forEach(_2ee,function(_2f0){var _2f1=new dijit._TreeNode(dojo.mixin({tree:this.tree,label:this.tree.getLabel(_2f0.item)},_2f0));this.addChild(_2f1);var _2f2=this.tree.store.getIdentity(_2f0.item);_2ef[_2f2]=_2f1;if(this.tree.persist){if(this.tree._openedItemIds[_2f2]){this.tree._expandNode(_2f1);}}},this);dojo.forEach(this.getChildren(),function(_2f3,idx){_2f3._updateLayout();});}else{this.isExpandable=false;}if(this._setExpando){this._setExpando(false);}if(this.isTree&&this._hideRoot){var fc=this.getChildren()[0];var _2f6=fc?fc.labelNode:this.domNode;_2f6.setAttribute("tabIndex","0");}if(this.containerNode&&!this._wipeIn){this._wipeIn=dojo.fx.wipeIn({node:this.containerNode,duration:150});this._wipeOut=dojo.fx.wipeOut({node:this.containerNode,duration:150});}return _2ef;},_addChildren:function(_2f7){var _2f8={};if(_2f7&&_2f7.length>0){dojo.forEach(_2f7,function(_2f9){var _2fa=new dijit._TreeNode(dojo.mixin({tree:this.tree,label:this.tree.getLabel(_2f9.item)},_2f9));this.addChild(_2fa);_2f8[this.tree.store.getIdentity(_2f9.item)]=_2fa;},this);dojo.forEach(this.getChildren(),function(_2fb,idx){_2fb._updateLayout();});}return _2f8;},deleteNode:function(node){node.destroy();dojo.forEach(this.getChildren(),function(_2fe,idx){_2fe._updateLayout();});},makeExpandable:function(){this.isExpandable=true;this._setExpando(false);}});dojo.declare("dijit.Tree",dijit._TreeNode,{store:null,query:null,childrenAttr:["children"],templateString:"
    \n\t
    \n\t\t
    \n\t\t\t
    \n\t\t\t\n\t\t
    \n\t
    \n
    \n",isExpandable:true,isTree:true,persist:true,dndController:null,dndParams:["onDndDrop","itemCreator","onDndCancel","checkAcceptance","checkItemAcceptance"],onDndDrop:null,itemCreator:null,onDndCancel:null,checkAcceptance:null,checkItemAcceptance:null,_publish:function(_300,_301){dojo.publish(this.id,[dojo.mixin({tree:this,event:_300},_301||{})]);},postMixInProperties:function(){this.tree=this;this.lastFocused=this.labelNode;this._itemNodeMap={};this._hideRoot=!this.label;if(!this.store.getFeatures()["dojo.data.api.Identity"]){throw new Error("dijit.tree requires access to a store supporting the dojo.data Identity api");}if(!this.cookieName){this.cookieName=this.id+"SaveStateCookie";}if(this.store.getFeatures()["dojo.data.api.Notification"]){this.connect(this.store,"onNew","_onNewItem");this.connect(this.store,"onDelete","_onDeleteItem");this.connect(this.store,"onSet","_onSetItem");}},postCreate:function(){if(this.persist){var _302=dojo.cookie(this.cookieName);this._openedItemIds={};if(_302){dojo.forEach(_302.split(","),function(item){this._openedItemIds[item]=true;},this);}}var div=document.createElement("div");div.style.display="none";div.className="dijitTreeContainer";dijit.setWaiRole(div,"presentation");this.containerNodeTemplate=div;if(this._hideRoot){this.rowNode.style.display="none";}this.inherited("postCreate",arguments);this._expandNode(this);if(this.dndController){if(dojo.isString(this.dndController)){this.dndController=dojo.getObject(this.dndController);}var _305={};for(var i=0;i\n",baseClass:"dijitTextBox",attributeMap:dojo.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap),{maxLength:"focusNode"}),getDisplayedValue:function(){return this.filter(this.textbox.value);},getValue:function(){return this.parse(this.getDisplayedValue(),this.constraints);},setValue:function(_35c,_35d,_35e){var _35f=this.filter(_35c);if((typeof _35f==typeof _35c)&&(_35e==null||_35e==undefined)){_35e=this.format(_35f,this.constraints);}if(_35e!=null&&_35e!=undefined){this.textbox.value=_35e;}dijit.form.TextBox.superclass.setValue.call(this,_35f,_35d);},setDisplayedValue:function(_360){this.textbox.value=_360;this.setValue(this.getValue(),true);},forWaiValuenow:function(){return this.getDisplayedValue();},format:function(_361,_362){return ((_361==null||_361==undefined)?"":(_361.toString?_361.toString():_361));},parse:function(_363,_364){return _363;},postCreate:function(){this.textbox.setAttribute("value",this.getDisplayedValue());this.inherited("postCreate",arguments);if(this.srcNodeRef){dojo.style(this.textbox,"cssText",this.style);this.textbox.className+=" "+this["class"];}this._layoutHack();},_layoutHack:function(){if(dojo.isFF==2&&this.domNode.tagName=="TABLE"){var node=this.domNode,_366=this;setTimeout(function(){var _367=node.style.width;node.style.width="0";setTimeout(function(){node.style.width=_367;},0);},0);}},filter:function(val){if(val==undefined||val==null){return "";}else{if(typeof val!="string"){return val;}}if(this.trim){val=dojo.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_onBlur:function(){this.setValue(this.getValue(),(this.isValid?this.isValid():true));},onkeyup:function(){}});}if(!dojo._hasResource["dijit.InlineEditBox"]){dojo._hasResource["dijit.InlineEditBox"]=true;dojo.provide("dijit.InlineEditBox");dojo.declare("dijit.InlineEditBox",dijit._Widget,{editing:false,autoSave:true,buttonSave:"",buttonCancel:"",renderAsHtml:false,editor:"dijit.form.TextBox",editorParams:{},onChange:function(_36a){},width:"100%",value:"",noValueIndicator:"    ✍    ",postMixInProperties:function(){this.inherited("postMixInProperties",arguments);this.displayNode=this.srcNodeRef;var _36b={ondijitclick:"_onClick",onmouseover:"_onMouseOver",onmouseout:"_onMouseOut",onfocus:"_onMouseOver",onblur:"_onMouseOut"};for(var name in _36b){this.connect(this.displayNode,name,_36b[name]);}dijit.setWaiRole(this.displayNode,"button");if(!this.displayNode.getAttribute("tabIndex")){this.displayNode.setAttribute("tabIndex",0);}if(!this.value){this.value=this.displayNode.innerHTML;}this._setDisplayValue(this.value);},_onMouseOver:function(){dojo.addClass(this.displayNode,this.disabled?"dijitDisabledClickableRegion":"dijitClickableRegion");},_onMouseOut:function(){dojo.removeClass(this.displayNode,this.disabled?"dijitDisabledClickableRegion":"dijitClickableRegion");},_onClick:function(e){if(this.disabled){return;}if(e){dojo.stopEvent(e);}this._onMouseOut();setTimeout(dojo.hitch(this,"_edit"),0);},_edit:function(){this.editing=true;var _36e=(this.renderAsHtml?this.value:this.value.replace(/\s*\r?\n\s*/g,"").replace(//gi,"\n").replace(/>/g,">").replace(/</g,"<").replace(/&/g,"&"));var _36f=document.createElement("span");dojo.place(_36f,this.domNode,"before");var ew=this.editWidget=new dijit._InlineEditor({value:dojo.trim(_36e),autoSave:this.autoSave,buttonSave:this.buttonSave,buttonCancel:this.buttonCancel,renderAsHtml:this.renderAsHtml,editor:this.editor,editorParams:this.editorParams,style:dojo.getComputedStyle(this.displayNode),save:dojo.hitch(this,"save"),cancel:dojo.hitch(this,"cancel"),width:this.width},_36f);var ews=ew.domNode.style;this.displayNode.style.display="none";ews.position="static";ews.visibility="visible";this.domNode=ew.domNode;setTimeout(function(){ew.focus();},100);},_showText:function(_372){this.displayNode.style.display="";var ews=this.editWidget.domNode.style;ews.position="absolute";ews.visibility="hidden";this.domNode=this.displayNode;var _374=this;setTimeout(function(){if(_372){dijit.focus(_374.displayNode);}_374.editWidget.destroy();delete _374.editWidget;},100);},save:function(_375){this.editing=false;this.value=this.editWidget.getValue()+"";if(this.renderAsHtml){this.value=this.value.replace(/&/gm,"&").replace(//gm,">").replace(/"/gm,""").replace("\n","
    ");}this._setDisplayValue(this.value);this.onChange(this.value);this._showText(_375);},_setDisplayValue:function(val){this.displayNode.innerHTML=val||this.noValueIndicator;},cancel:function(_377){this.editing=false;this._showText(_377);}});dojo.declare("dijit._InlineEditor",[dijit._Widget,dijit._Templated],{templateString:"
    \n",widgetsInTemplate:true,postMixInProperties:function(){this.inherited("postMixInProperties",arguments);this.messages=dojo.i18n.getLocalization("dijit","common",this.lang);dojo.forEach(["buttonSave","buttonCancel"],function(prop){if(!this[prop]){this[prop]=this.messages[prop];}},this);},postCreate:function(){var cls=dojo.getObject(this.editor);var ew=this.editWidget=new cls(this.editorParams,this.editorPlaceholder);var _37b=this.style;dojo.forEach(["fontWeight","fontFamily","fontSize","fontStyle"],function(prop){ew.focusNode.style[prop]=_37b[prop];},this);dojo.forEach(["marginTop","marginBottom","marginLeft","marginRight"],function(prop){this.domNode.style[prop]=_37b[prop];},this);if(this.width=="100%"){ew.domNode.style.width="100%";this.domNode.style.display="block";}else{ew.domNode.style.width=this.width+(Number(this.width)==this.width?"px":"");}(this.editWidget.setDisplayedValue||this.editWidget.setValue).call(this.editWidget,this.value);this._initialText=this.getValue();if(this.autoSave){this.buttonContainer.style.display="none";}this.connect(this.editWidget,"onChange","_onChange");},destroy:function(){this.editWidget.destroy();this.inherited("destroy",arguments);},getValue:function(){var ew=this.editWidget;return ew.getDisplayedValue?ew.getDisplayedValue():ew.getValue();},_onKeyPress:function(e){if(this._exitInProgress){return;}if(this.autoSave){if(e.keyCode==dojo.keys.ESCAPE){dojo.stopEvent(e);this._exitInProgress=true;this.cancel(true);}else{if(e.keyCode==dojo.keys.ENTER){dojo.stopEvent(e);this._exitInProgress=true;this.save(true);}}}else{var _380=this;setTimeout(function(){_380.saveButton.setDisabled(_380.getValue()==_380._initialText);},100);}},_onBlur:function(){if(this._exitInProgress){return;}if(this.autoSave){this._exitInProgress=true;if(this.getValue()==this._initialText){this.cancel(false);}else{this.save(false);}}},enableSave:function(){return this.editWidget.isValid?this.editWidget.isValid():true;},_onChange:function(){if(this._exitInProgress){return;}if(this.autoSave){this._exitInProgress=true;this.save(true);}else{this.saveButton.setDisabled((this.getValue()==this._initialText)||!this.enableSave());}},enableSave:function(){return this.editWidget.isValid?this.editWidget.isValid():true;},focus:function(){this.editWidget.focus();dijit.selectInputText(this.editWidget.focusNode);}});dijit.selectInputText=function(_381){var _382=dojo.global;var _383=dojo.doc;_381=dojo.byId(_381);if(_383["selection"]&&dojo.body()["createTextRange"]){if(_381.createTextRange){var _384=_381.createTextRange();_384.moveStart("character",0);_384.moveEnd("character",_381.value.length);_384.select();}}else{if(_382["getSelection"]){var _385=_382.getSelection();if(_381.setSelectionRange){_381.setSelectionRange(0,_381.value.length);}}}_381.focus();};}if(!dojo._hasResource["dijit.form.CheckBox"]){dojo._hasResource["dijit.form.CheckBox"]=true;dojo.provide("dijit.form.CheckBox");dojo.declare("dijit.form.CheckBox",dijit.form.ToggleButton,{templateString:"
    \n",baseClass:"dijitCheckBox",type:"checkbox",value:"on",postCreate:function(){dojo.setSelectable(this.inputNode,false);this.setChecked(this.checked);this.inherited(arguments);},setChecked:function(_386){if(dojo.isIE){if(_386){this.inputNode.setAttribute("checked","checked");}else{this.inputNode.removeAttribute("checked");}}else{this.inputNode.checked=_386;}this.inherited(arguments);},setValue:function(_387){if(_387==null){_387="";}this.inputNode.value=_387;dijit.form.CheckBox.superclass.setValue.call(this,_387);}});dojo.declare("dijit.form.RadioButton",dijit.form.CheckBox,{type:"radio",baseClass:"dijitRadio",_groups:{},postCreate:function(){(this._groups[this.name]=this._groups[this.name]||[]).push(this);this.inherited(arguments);},uninitialize:function(){dojo.forEach(this._groups[this.name],function(_388,i,arr){if(_388===this){arr.splice(i,1);return;}},this);},setChecked:function(_38b){if(_38b){dojo.forEach(this._groups[this.name],function(_38c){if(_38c!=this&&_38c.checked){_38c.setChecked(false);}},this);}this.inherited(arguments);},_clicked:function(e){if(!this.checked){this.setChecked(true);}}});}if(!dojo._hasResource["dojo.data.util.filter"]){dojo._hasResource["dojo.data.util.filter"]=true;dojo.provide("dojo.data.util.filter");dojo.data.util.filter.patternToRegExp=function(_38e,_38f){var rxp="^";var c=null;for(var i=0;i<_38e.length;i++){c=_38e.charAt(i);switch(c){case "\\":rxp+=c;i++;rxp+=_38e.charAt(i);break;case "*":rxp+=".*";break;case "?":rxp+=".";break;case "$":case "^":case "/":case "+":case ".":case "|":case "(":case ")":case "{":case "}":case "[":case "]":rxp+="\\";default:rxp+=c;}}rxp+="$";if(_38f){return new RegExp(rxp,"i");}else{return new RegExp(rxp);}};}if(!dojo._hasResource["dojo.data.util.sorter"]){dojo._hasResource["dojo.data.util.sorter"]=true;dojo.provide("dojo.data.util.sorter");dojo.data.util.sorter.basicComparator=function(a,b){var ret=0;if(a>b||typeof a==="undefined"||a===null){ret=1;}else{if(a0)?_3be[0]:_3bd;},getValues:function(item,_3c0){this._assertIsItem(item);this._assertIsAttribute(_3c0);return item[_3c0]||[];},getAttributes:function(item){this._assertIsItem(item);var _3c2=[];for(var key in item){if((key!==this._storeRefPropName)&&(key!==this._itemNumPropName)&&(key!==this._rootItemPropName)){_3c2.push(key);}}return _3c2;},hasAttribute:function(item,_3c5){return this.getValues(item,_3c5).length>0;},containsValue:function(item,_3c7,_3c8){var _3c9=undefined;if(typeof _3c8==="string"){_3c9=dojo.data.util.filter.patternToRegExp(_3c8,false);}return this._containsValue(item,_3c7,_3c8,_3c9);},_containsValue:function(item,_3cb,_3cc,_3cd){return dojo.some(this.getValues(item,_3cb),function(_3ce){if(_3ce!==null&&!dojo.isObject(_3ce)&&_3cd){if(_3ce.toString().match(_3cd)){return true;}}else{if(_3cc===_3ce){return true;}}});},isItem:function(_3cf){if(_3cf&&_3cf[this._storeRefPropName]===this){if(this._arrayOfAllItems[_3cf[this._itemNumPropName]]===_3cf){return true;}}return false;},isItemLoaded:function(_3d0){return this.isItem(_3d0);},loadItem:function(_3d1){this._assertIsItem(_3d1.item);},getFeatures:function(){return this._features;},getLabel:function(item){if(this._labelAttr&&this.isItem(item)){return this.getValue(item,this._labelAttr);}return undefined;},getLabelAttributes:function(item){if(this._labelAttr){return [this._labelAttr];}return null;},_fetchItems:function(_3d4,_3d5,_3d6){var self=this;var _3d8=function(_3d9,_3da){var _3db=[];if(_3d9.query){var _3dc=_3d9.queryOptions?_3d9.queryOptions.ignoreCase:false;var _3dd={};for(var key in _3d9.query){var _3df=_3d9.query[key];if(typeof _3df==="string"){_3dd[key]=dojo.data.util.filter.patternToRegExp(_3df,_3dc);}}for(var i=0;i<_3da.length;++i){var _3e1=true;var _3e2=_3da[i];if(_3e2===null){_3e1=false;}else{for(var key in _3d9.query){var _3df=_3d9.query[key];if(!self._containsValue(_3e2,key,_3df,_3dd[key])){_3e1=false;}}}if(_3e1){_3db.push(_3e2);}}_3d5(_3db,_3d9);}else{for(var i=0;i<_3da.length;++i){var item=_3da[i];if(item!==null){_3db.push(item);}}_3d5(_3db,_3d9);}};if(this._loadFinished){_3d8(_3d4,this._getItemsArray(_3d4.queryOptions));}else{if(this._jsonFileUrl){if(this._loadInProgress){this._queuedFetches.push({args:_3d4,filter:_3d8});}else{this._loadInProgress=true;var _3e4={url:self._jsonFileUrl,handleAs:"json-comment-optional"};var _3e5=dojo.xhrGet(_3e4);_3e5.addCallback(function(data){try{self._getItemsFromLoadedData(data);self._loadFinished=true;self._loadInProgress=false;_3d8(_3d4,self._getItemsArray(_3d4.queryOptions));self._handleQueuedFetches();}catch(e){self._loadFinished=true;self._loadInProgress=false;_3d6(e,_3d4);}});_3e5.addErrback(function(_3e7){self._loadInProgress=false;_3d6(_3e7,_3d4);});}}else{if(this._jsonData){try{this._loadFinished=true;this._getItemsFromLoadedData(this._jsonData);this._jsonData=null;_3d8(_3d4,this._getItemsArray(_3d4.queryOptions));}catch(e){_3d6(e,_3d4);}}else{_3d6(new Error("dojo.data.ItemFileReadStore: No JSON source data was provided as either URL or a nested Javascript object."),_3d4);}}}},_handleQueuedFetches:function(){if(this._queuedFetches.length>0){for(var i=0;i
    Χ\n",baseClass:"dijitTextBox",required:false,promptMessage:"",invalidMessage:"",constraints:{},regExp:".*",regExpGen:function(_41f){return this.regExp;},state:"",setValue:function(){this.inherited("setValue",arguments);this.validate(false);},validator:function(_420,_421){return (new RegExp("^("+this.regExpGen(_421)+")"+(this.required?"":"?")+"$")).test(_420)&&(!this.required||!this._isEmpty(_420))&&(this._isEmpty(_420)||this.parse(_420,_421)!==null);},isValid:function(_422){return this.validator(this.textbox.value,this.constraints);},_isEmpty:function(_423){return /^\s*$/.test(_423);},getErrorMessage:function(_424){return this.invalidMessage;},getPromptMessage:function(_425){return this.promptMessage;},validate:function(_426){var _427="";var _428=this.isValid(_426);var _429=this._isEmpty(this.textbox.value);this.state=(_428||(!this._hasBeenBlurred&&_429))?"":"Error";this._setStateClass();dijit.setWaiState(this.focusNode,"invalid",(_428?"false":"true"));if(_426){if(_429){_427=this.getPromptMessage(true);}if(!_427&&!_428){_427=this.getErrorMessage(true);}}this._displayMessage(_427);},_message:"",_displayMessage:function(_42a){if(this._message==_42a){return;}this._message=_42a;this.displayMessage(_42a);},displayMessage:function(_42b){if(_42b){dijit.showTooltip(_42b,this.domNode);}else{dijit.hideTooltip(this.domNode);}},_hasBeenBlurred:false,_onBlur:function(evt){this._hasBeenBlurred=true;this.validate(false);this.inherited("_onBlur",arguments);},onfocus:function(evt){this.validate(true);this._onMouse(evt);},onkeyup:function(evt){this.onfocus(evt);},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited("postMixInProperties",arguments);this.constraints.locale=this.lang;this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);if(this.invalidMessage==""){this.invalidMessage=this.messages.invalidMessage;}var p=this.regExpGen(this.constraints);this.regExp=p;}});dojo.declare("dijit.form.MappedTextBox",dijit.form.ValidationTextBox,{serialize:function(val,_431){return (val.toString?val.toString():"");},toString:function(){var val=this.filter(this.getValue());return (val!=null)?((typeof val=="string")?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();this.inherited("validate",arguments);},postCreate:function(){var _433=this.textbox;var _434=(this.valueNode=document.createElement("input"));_434.setAttribute("type",_433.type);_434.setAttribute("value",this.toString());dojo.style(_434,"display","none");_434.name=this.textbox.name;this.textbox.name="_"+this.textbox.name+"_displayed_";this.textbox.removeAttribute("name");dojo.place(_434,_433,"after");this.inherited("postCreate",arguments);}});dojo.declare("dijit.form.RangeBoundTextBox",dijit.form.MappedTextBox,{rangeMessage:"",compare:function(val1,val2){return val1-val2;},rangeCheck:function(_437,_438){var _439=(typeof _438.min!="undefined");var _43a=(typeof _438.max!="undefined");if(_439||_43a){return (!_439||this.compare(_437,_438.min)>=0)&&(!_43a||this.compare(_437,_438.max)<=0);}else{return true;}},isInRange:function(_43b){return this.rangeCheck(this.getValue(),this.constraints);},isValid:function(_43c){return this.inherited("isValid",arguments)&&((this._isEmpty(this.textbox.value)&&!this.required)||this.isInRange(_43c));},getErrorMessage:function(_43d){if(dijit.form.RangeBoundTextBox.superclass.isValid.call(this,false)&&!this.isInRange(_43d)){return this.rangeMessage;}else{return this.inherited("getErrorMessage",arguments);}},postMixInProperties:function(){this.inherited("postMixInProperties",arguments);if(!this.rangeMessage){this.messages=dojo.i18n.getLocalization("dijit.form","validate",this.lang);this.rangeMessage=this.messages.rangeMessage;}},postCreate:function(){this.inherited("postCreate",arguments);if(typeof this.constraints.min!="undefined"){dijit.setWaiState(this.focusNode,"valuemin",this.constraints.min);}if(typeof this.constraints.max!="undefined"){dijit.setWaiState(this.focusNode,"valuemax",this.constraints.max);}}});}if(!dojo._hasResource["dijit.form.ComboBox"]){dojo._hasResource["dijit.form.ComboBox"]=true;dojo.provide("dijit.form.ComboBox");dojo.declare("dijit.form.ComboBoxMixin",null,{item:null,pageSize:Infinity,store:null,query:{},autoComplete:true,searchDelay:100,searchAttr:"name",ignoreCase:true,hasDownArrow:true,_hasFocus:false,templateString:"
    Χ
    \n",baseClass:"dijitComboBox",_lastDisplayedValue:"",getValue:function(){return dijit.form.TextBox.superclass.getValue.apply(this,arguments);},setDisplayedValue:function(_43e){this._lastDisplayedValue=_43e;this.setValue(_43e,true);},_getCaretPos:function(_43f){if(typeof (_43f.selectionStart)=="number"){return _43f.selectionStart;}else{if(dojo.isIE){var tr=document.selection.createRange().duplicate();var ntr=_43f.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);return String(ntr.text).replace(/\r/g,"").length;}catch(e){return 0;}}}},_setCaretPos:function(_442,_443){_443=parseInt(_443);this._setSelectedRange(_442,_443,_443);},_setSelectedRange:function(_444,_445,end){if(!end){end=_444.value.length;}if(_444.setSelectionRange){dijit.focus(_444);_444.setSelectionRange(_445,end);}else{if(_444.createTextRange){var _447=_444.createTextRange();with(_447){collapse(true);moveEnd("character",end);moveStart("character",_445);select();}}else{_444.value=_444.value;_444.blur();dijit.focus(_444);var dist=parseInt(_444.value.length)-end;var _449=String.fromCharCode(37);var tcc=_449.charCodeAt(0);for(var x=0;xthis.focusNode.value.length){this.focusNode.value=text;this._setSelectedRange(this.focusNode,cpos,this.focusNode.value.length);dijit.setWaiState(this.focusNode,"valuenow",text);}}else{this.focusNode.value=text;this._setSelectedRange(this.focusNode,0,this.focusNode.value.length);dijit.setWaiState(this.focusNode,"valuenow",text);}},_openResultList:function(_453,_454){if(this.disabled||_454.query[this.searchAttr]!=this._lastQuery){return;}this._popupWidget.clearResultList();if(!_453.length){this._hideResultList();return;}var _455=new String(this.store.getValue(_453[0],this.searchAttr));if(_455&&this.autoComplete&&!this._prev_key_backspace&&(_454.query[this.searchAttr]!="*")){this._autoCompleteText(_455);dijit.setWaiState(this.focusNode||this.domNode,"valuenow",_455);}this._popupWidget.createOptions(_453,_454,dojo.hitch(this,this._getMenuLabelFromItem));this._showResultList();if(_454.direction){if(_454.direction==1){this._popupWidget.highlightFirstOption();}else{if(_454.direction==-1){this._popupWidget.highlightLastOption();}}this._announceOption(this._popupWidget.getHighlightedOption());}},_showResultList:function(){this._hideResultList();var _456=this._popupWidget.getItems(),_457=Math.min(_456.length,this.maxListLength);this._arrowPressed();this._displayMessage("");with(this._popupWidget.domNode.style){width="";height="";}var best=this.open();var _459=dojo.marginBox(this._popupWidget.domNode);this._popupWidget.domNode.style.overflow=((best.h==_459.h)&&(best.w==_459.w))?"hidden":"auto";var _45a=best.w;if(best.h option",this.srcNodeRef).map(function(node){node.style.display="none";return {value:node.getAttribute("value"),name:String(node.innerHTML)};}):{};this.store=new dojo.data.ItemFileReadStore({data:{identifier:this._getValueField(),items:_46a}});if(_46a&&_46a.length&&!this.value){this.value=_46a[this.srcNodeRef.selectedIndex!=-1?this.srcNodeRef.selectedIndex:0][this._getValueField()];}}},uninitialize:function(){if(this._popupWidget){this._hideResultList();this._popupWidget.destroy();}},_getMenuLabelFromItem:function(item){return {html:false,label:this.store.getValue(item,this.searchAttr)};},open:function(){this._isShowingNow=true;return dijit.popup.open({popup:this._popupWidget,around:this.domNode,parent:this});}});dojo.declare("dijit.form._ComboBoxMenu",[dijit._Widget,dijit._Templated],{templateString:"
    "+"
    "+"
    "+"
    ",_messages:null,postMixInProperties:function(){this._messages=dojo.i18n.getLocalization("dijit.form","ComboBox",this.lang);this.inherited("postMixInProperties",arguments);},setValue:function(_46d){this.value=_46d;this.onChange(_46d);},onChange:function(_46e){},onPage:function(_46f){},postCreate:function(){this.previousButton.innerHTML=this._messages["previousMessage"];this.nextButton.innerHTML=this._messages["nextMessage"];this.inherited("postCreate",arguments);},onClose:function(){this._blurOptionNode();},_createOption:function(item,_471){var _472=_471(item);var _473=document.createElement("div");if(_472.html){_473.innerHTML=_472.label;}else{_473.appendChild(document.createTextNode(_472.label));}if(_473.innerHTML==""){_473.innerHTML=" ";}_473.item=item;return _473;},createOptions:function(_474,_475,_476){this.previousButton.style.display=_475.start==0?"none":"";var _477=this;dojo.forEach(_474,function(item){var _479=_477._createOption(item,_476);_479.className="dijitMenuItem";_477.domNode.insertBefore(_479,_477.nextButton);});this.nextButton.style.display=_475.count==_474.length?"":"none";},clearResultList:function(){while(this.domNode.childNodes.length>2){this.domNode.removeChild(this.domNode.childNodes[this.domNode.childNodes.length-2]);}},getItems:function(){return this.domNode.childNodes;},getListLength:function(){return this.domNode.childNodes.length-2;},onclick:function(evt){if(evt.target===this.domNode){return;}else{if(evt.target==this.previousButton){this.onPage(-1);}else{if(evt.target==this.nextButton){this.onPage(1);}else{var tgt=evt.target;while(!tgt.item){tgt=tgt.parentNode;}this.setValue({target:tgt},true);}}}},onmouseover:function(evt){if(evt.target===this.domNode){return;}var tgt=evt.target;if(!(tgt==this.previousButton||tgt==this.nextButton)){while(!tgt.item){tgt=tgt.parentNode;}}this._focusOptionNode(tgt);},onmouseout:function(evt){if(evt.target===this.domNode){return;}this._blurOptionNode();},_focusOptionNode:function(node){if(this._highlighted_option!=node){this._blurOptionNode();this._highlighted_option=node;dojo.addClass(this._highlighted_option,"dijitMenuItemHover");}},_blurOptionNode:function(){if(this._highlighted_option){dojo.removeClass(this._highlighted_option,"dijitMenuItemHover");this._highlighted_option=null;}},_highlightNextOption:function(){if(!this.getHighlightedOption()){this._focusOptionNode(this.domNode.firstChild.style.display=="none"?this.domNode.firstChild.nextSibling:this.domNode.firstChild);}else{if(this._highlighted_option.nextSibling&&this._highlighted_option.nextSibling.style.display!="none"){this._focusOptionNode(this._highlighted_option.nextSibling);}}dijit.scrollIntoView(this._highlighted_option);},highlightFirstOption:function(){this._focusOptionNode(this.domNode.firstChild.nextSibling);dijit.scrollIntoView(this._highlighted_option);},highlightLastOption:function(){this._focusOptionNode(this.domNode.lastChild.previousSibling);dijit.scrollIntoView(this._highlighted_option);},_highlightPrevOption:function(){if(!this.getHighlightedOption()){this._focusOptionNode(this.domNode.lastChild.style.display=="none"?this.domNode.lastChild.previousSibling:this.domNode.lastChild);}else{if(this._highlighted_option.previousSibling&&this._highlighted_option.previousSibling.style.display!="none"){this._focusOptionNode(this._highlighted_option.previousSibling);}}dijit.scrollIntoView(this._highlighted_option);},_page:function(up){var _481=0;var _482=this.domNode.scrollTop;var _483=parseInt(dojo.getComputedStyle(this.domNode).height);if(!this.getHighlightedOption()){this._highlightNextOption();}while(_481<_483){if(up){if(!this.getHighlightedOption().previousSibling||this._highlighted_option.previousSibling.style.display=="none"){break;}this._highlightPrevOption();}else{if(!this.getHighlightedOption().nextSibling||this._highlighted_option.nextSibling.style.display=="none"){break;}this._highlightNextOption();}var _484=this.domNode.scrollTop;_481+=(_484-_482)*(up?-1:1);_482=_484;}},pageUp:function(){this._page(true);},pageDown:function(){this._page(false);},getHighlightedOption:function(){return this._highlighted_option&&this._highlighted_option.parentNode?this._highlighted_option:null;},handleKey:function(evt){switch(evt.keyCode){case dojo.keys.DOWN_ARROW:this._highlightNextOption();break;case dojo.keys.PAGE_DOWN:this.pageDown();break;case dojo.keys.UP_ARROW:this._highlightPrevOption();break;case dojo.keys.PAGE_UP:this.pageUp();break;}}});dojo.declare("dijit.form.ComboBox",[dijit.form.ValidationTextBox,dijit.form.ComboBoxMixin],{postMixInProperties:function(){dijit.form.ComboBoxMixin.prototype.postMixInProperties.apply(this,arguments);dijit.form.ValidationTextBox.prototype.postMixInProperties.apply(this,arguments);}});}if(!dojo._hasResource["dojo.cldr.monetary"]){dojo._hasResource["dojo.cldr.monetary"]=true;dojo.provide("dojo.cldr.monetary");dojo.cldr.monetary.getData=function(code){var _487={ADP:0,BHD:3,BIF:0,BYR:0,CLF:0,CLP:0,DJF:0,ESP:0,GNF:0,IQD:3,ITL:0,JOD:3,JPY:0,KMF:0,KRW:0,KWD:3,LUF:0,LYD:3,MGA:0,MGF:0,OMR:3,PYG:0,RWF:0,TND:3,TRL:0,VUV:0,XAF:0,XOF:0,XPF:0};var _488={CHF:5};var _489=_487[code],_48a=_488[code];if(typeof _489=="undefined"){_489=2;}if(typeof _48a=="undefined"){_48a=0;}return {places:_489,round:_48a};};}if(!dojo._hasResource["dojo.currency"]){dojo._hasResource["dojo.currency"]=true;dojo.provide("dojo.currency");dojo.currency._mixInDefaults=function(_48b){_48b=_48b||{};_48b.type="currency";var _48c=dojo.i18n.getLocalization("dojo.cldr","currency",_48b.locale)||{};var iso=_48b.currency;var data=dojo.cldr.monetary.getData(iso);dojo.forEach(["displayName","symbol","group","decimal"],function(prop){data[prop]=_48c[iso+"_"+prop];});data.fractional=[true,false];return dojo.mixin(data,_48b);};dojo.currency.format=function(_490,_491){return dojo.number.format(_490,dojo.currency._mixInDefaults(_491));};dojo.currency.regexp=function(_492){return dojo.number.regexp(dojo.currency._mixInDefaults(_492));};dojo.currency.parse=function(_493,_494){return dojo.number.parse(_493,dojo.currency._mixInDefaults(_494));};}if(!dojo._hasResource["dijit.form.NumberTextBox"]){dojo._hasResource["dijit.form.NumberTextBox"]=true;dojo.provide("dijit.form.NumberTextBox");dojo.declare("dijit.form.NumberTextBoxMixin",null,{regExpGen:dojo.number.regexp,format:function(_495,_496){if(isNaN(_495)){return "";}return dojo.number.format(_495,_496);},parse:dojo.number.parse,filter:function(_497){if(typeof _497=="string"){return this.inherited("filter",arguments);}return (isNaN(_497)?"":_497);},value:NaN});dojo.declare("dijit.form.NumberTextBox",[dijit.form.RangeBoundTextBox,dijit.form.NumberTextBoxMixin],{});}if(!dojo._hasResource["dijit.form.CurrencyTextBox"]){dojo._hasResource["dijit.form.CurrencyTextBox"]=true;dojo.provide("dijit.form.CurrencyTextBox");dojo.declare("dijit.form.CurrencyTextBox",dijit.form.NumberTextBox,{currency:"",regExpGen:dojo.currency.regexp,format:dojo.currency.format,parse:dojo.currency.parse,postMixInProperties:function(){if(this.constraints===dijit.form.ValidationTextBox.prototype.constraints){this.constraints={};}this.constraints.currency=this.currency;dijit.form.CurrencyTextBox.superclass.postMixInProperties.apply(this,arguments);}});}if(!dojo._hasResource["dojo.cldr.supplemental"]){dojo._hasResource["dojo.cldr.supplemental"]=true;dojo.provide("dojo.cldr.supplemental");dojo.cldr.supplemental.getFirstDayOfWeek=function(_498){var _499={mv:5,ae:6,af:6,bh:6,dj:6,dz:6,eg:6,er:6,et:6,iq:6,ir:6,jo:6,ke:6,kw:6,lb:6,ly:6,ma:6,om:6,qa:6,sa:6,sd:6,so:6,tn:6,ye:6,as:0,au:0,az:0,bw:0,ca:0,cn:0,fo:0,ge:0,gl:0,gu:0,hk:0,ie:0,il:0,is:0,jm:0,jp:0,kg:0,kr:0,la:0,mh:0,mo:0,mp:0,mt:0,nz:0,ph:0,pk:0,sg:0,th:0,tt:0,tw:0,um:0,us:0,uz:0,vi:0,za:0,zw:0,et:0,mw:0,ng:0,tj:0,gb:0,sy:4};var _49a=dojo.cldr.supplemental._region(_498);var dow=_499[_49a];return (typeof dow=="undefined")?1:dow;};dojo.cldr.supplemental._region=function(_49c){_49c=dojo.i18n.normalizeLocale(_49c);var tags=_49c.split("-");var _49e=tags[1];if(!_49e){_49e={de:"de",en:"us",es:"es",fi:"fi",fr:"fr",hu:"hu",it:"it",ja:"jp",ko:"kr",nl:"nl",pt:"br",sv:"se",zh:"cn"}[tags[0]];}else{if(_49e.length==4){_49e=tags[2];}}return _49e;};dojo.cldr.supplemental.getWeekend=function(_49f){var _4a0={eg:5,il:5,sy:5,"in":0,ae:4,bh:4,dz:4,iq:4,jo:4,kw:4,lb:4,ly:4,ma:4,om:4,qa:4,sa:4,sd:4,tn:4,ye:4};var _4a1={ae:5,bh:5,dz:5,iq:5,jo:5,kw:5,lb:5,ly:5,ma:5,om:5,qa:5,sa:5,sd:5,tn:5,ye:5,af:5,ir:5,eg:6,il:6,sy:6};var _4a2=dojo.cldr.supplemental._region(_49f);var _4a3=_4a0[_4a2];var end=_4a1[_4a2];if(typeof _4a3=="undefined"){_4a3=6;}if(typeof end=="undefined"){end=0;}return {start:_4a3,end:end};};}if(!dojo._hasResource["dojo.date"]){dojo._hasResource["dojo.date"]=true;dojo.provide("dojo.date");dojo.date.getDaysInMonth=function(_4a5){var _4a6=_4a5.getMonth();var days=[31,28,31,30,31,30,31,31,30,31,30,31];if(_4a6==1&&dojo.date.isLeapYear(_4a5)){return 29;}return days[_4a6];};dojo.date.isLeapYear=function(_4a8){var year=_4a8.getFullYear();return !(year%400)||(!(year%4)&&!!(year%100));};dojo.date.getTimezoneName=function(_4aa){var str=_4aa.toString();var tz="";var _4ad;var pos=str.indexOf("(");if(pos>-1){tz=str.substring(++pos,str.indexOf(")"));}else{var pat=/([A-Z\/]+) \d{4}$/;if((_4ad=str.match(pat))){tz=_4ad[1];}else{str=_4aa.toLocaleString();pat=/ ([A-Z\/]+)$/;if((_4ad=str.match(pat))){tz=_4ad[1];}}}return (tz=="AM"||tz=="PM")?"":tz;};dojo.date.compare=function(_4b0,_4b1,_4b2){_4b0=new Date(Number(_4b0));_4b1=new Date(Number(_4b1||new Date()));if(typeof _4b2!=="undefined"){if(_4b2=="date"){_4b0.setHours(0,0,0,0);_4b1.setHours(0,0,0,0);}else{if(_4b2=="time"){_4b0.setFullYear(0,0,0);_4b1.setFullYear(0,0,0);}}}if(_4b0>_4b1){return 1;}if(_4b0<_4b1){return -1;}return 0;};dojo.date.add=function(date,_4b4,_4b5){var sum=new Date(Number(date));var _4b7=false;var _4b8="Date";switch(_4b4){case "day":break;case "weekday":var _4b9=date.getDate();var days,_4bb;var adj=0;var mod=_4b5%5;if(!mod){days=(_4b5>0)?5:-5;_4bb=(_4b5>0)?((_4b5-5)/5):((_4b5+5)/5);}else{days=mod;_4bb=parseInt(_4b5/5);}var strt=date.getDay();if(strt==6&&_4b5>0){adj=1;}else{if(strt==0&&_4b5<0){adj=-1;}}var trgt=strt+days;if(trgt==0||trgt==6){adj=(_4b5>0)?2:-2;}_4b5=_4b9+7*_4bb+days+adj;break;case "year":_4b8="FullYear";_4b7=true;break;case "week":_4b5*=7;break;case "quarter":_4b5*=3;case "month":_4b7=true;_4b8="Month";break;case "hour":case "minute":case "second":case "millisecond":_4b8=_4b4.charAt(0).toUpperCase()+_4b4.substring(1)+"s";}if(_4b8){sum["set"+_4b8](sum["get"+_4b8]()+_4b5);}if(_4b7&&(sum.getDate()0){switch(true){case aDay==6:adj=-1;break;case aDay==0:adj=0;break;case bDay==6:adj=-1;break;case bDay==0:adj=-2;break;case (_4d0+mod)>5:adj=-2;}}else{if(days<0){switch(true){case aDay==6:adj=0;break;case aDay==0:adj=1;break;case bDay==6:adj=2;break;case bDay==0:adj=1;break;case (_4d0+mod)<0:adj=2;}}}days+=adj;days-=(_4ca*2);}_4c4=days;break;case "year":_4c4=_4c3;break;case "month":_4c4=(_4c1.getMonth()-_4c0.getMonth())+(_4c3*12);break;case "week":_4c4=parseInt(dojo.date.difference(_4c0,_4c1,"day")/7);break;case "day":_4c4/=24;case "hour":_4c4/=60;case "minute":_4c4/=60;case "second":_4c4/=1000;case "millisecond":_4c4*=_4c1.getTime()-_4c0.getTime();}return Math.round(_4c4);};}if(!dojo._hasResource["dojo.date.locale"]){dojo._hasResource["dojo.date.locale"]=true;dojo.provide("dojo.date.locale");(function(){function formatPattern(_4d1,_4d2,_4d3){return _4d3.replace(/([a-z])\1*/ig,function(_4d4){var s;var c=_4d4.charAt(0);var l=_4d4.length;var pad;var _4d9=["abbr","wide","narrow"];switch(c){case "G":s=_4d2[(l<4)?"eraAbbr":"eraNames"][_4d1.getFullYear()<0?0:1];break;case "y":s=_4d1.getFullYear();switch(l){case 1:break;case 2:s=String(s);s=s.substr(s.length-2);break;default:pad=true;}break;case "Q":case "q":s=Math.ceil((_4d1.getMonth()+1)/3);pad=true;break;case "M":case "L":var m=_4d1.getMonth();var _4db;switch(l){case 1:case 2:s=m+1;pad=true;break;case 3:case 4:case 5:_4db=_4d9[l-3];break;}if(_4db){var type=(c=="L")?"standalone":"format";var prop=["months",type,_4db].join("-");s=_4d2[prop][m];}break;case "w":var _4de=0;s=dojo.date.locale._getWeekOfYear(_4d1,_4de);pad=true;break;case "d":s=_4d1.getDate();pad=true;break;case "D":s=dojo.date.locale._getDayOfYear(_4d1);pad=true;break;case "E":case "e":case "c":var d=_4d1.getDay();var _4db;switch(l){case 1:case 2:if(c=="e"){var _4e0=dojo.cldr.supplemental.getFirstDayOfWeek(options.locale);d=(d-_4e0+7)%7;}if(c!="c"){s=d+1;pad=true;break;}case 3:case 4:case 5:_4db=_4d9[l-3];break;}if(_4db){var type=(c=="c")?"standalone":"format";var prop=["days",type,_4db].join("-");s=_4d2[prop][d];}break;case "a":var _4e1=(_4d1.getHours()<12)?"am":"pm";s=_4d2[_4e1];break;case "h":case "H":case "K":case "k":var h=_4d1.getHours();switch(c){case "h":s=(h%12)||12;break;case "H":s=h;break;case "K":s=(h%12);break;case "k":s=h||24;break;}pad=true;break;case "m":s=_4d1.getMinutes();pad=true;break;case "s":s=_4d1.getSeconds();pad=true;break;case "S":s=Math.round(_4d1.getMilliseconds()*Math.pow(10,l-3));break;case "v":case "z":s=dojo.date.getTimezoneName(_4d1);if(s){break;}l=4;case "Z":var _4e3=_4d1.getTimezoneOffset();var tz=[(_4e3<=0?"+":"-"),dojo.string.pad(Math.floor(Math.abs(_4e3)/60),2),dojo.string.pad(Math.abs(_4e3)%60,2)];if(l==4){tz.splice(0,0,"GMT");tz.splice(3,0,":");}s=tz.join("");break;default:throw new Error("dojo.date.locale.format: invalid pattern char: "+_4d3);}if(pad){s=dojo.string.pad(s,l);}return s;});};dojo.date.locale.format=function(_4e5,_4e6){_4e6=_4e6||{};var _4e7=dojo.i18n.normalizeLocale(_4e6.locale);var _4e8=_4e6.formatLength||"short";var _4e9=dojo.date.locale._getGregorianBundle(_4e7);var str=[];var _4eb=dojo.hitch(this,formatPattern,_4e5,_4e9);if(_4e6.selector=="year"){var year=_4e5.getFullYear();if(_4e7.match(/^zh|^ja/)){year+="年";}return year;}if(_4e6.selector!="time"){var _4ed=_4e6.datePattern||_4e9["dateFormat-"+_4e8];if(_4ed){str.push(_processPattern(_4ed,_4eb));}}if(_4e6.selector!="date"){var _4ee=_4e6.timePattern||_4e9["timeFormat-"+_4e8];if(_4ee){str.push(_processPattern(_4ee,_4eb));}}var _4ef=str.join(" ");return _4ef;};dojo.date.locale.regexp=function(_4f0){return dojo.date.locale._parseInfo(_4f0).regexp;};dojo.date.locale._parseInfo=function(_4f1){_4f1=_4f1||{};var _4f2=dojo.i18n.normalizeLocale(_4f1.locale);var _4f3=dojo.date.locale._getGregorianBundle(_4f2);var _4f4=_4f1.formatLength||"short";var _4f5=_4f1.datePattern||_4f3["dateFormat-"+_4f4];var _4f6=_4f1.timePattern||_4f3["timeFormat-"+_4f4];var _4f7;if(_4f1.selector=="date"){_4f7=_4f5;}else{if(_4f1.selector=="time"){_4f7=_4f6;}else{_4f7=_4f5+" "+_4f6;}}var _4f8=[];var re=_processPattern(_4f7,dojo.hitch(this,_buildDateTimeRE,_4f8,_4f3,_4f1));return {regexp:re,tokens:_4f8,bundle:_4f3};};dojo.date.locale.parse=function(_4fa,_4fb){var info=dojo.date.locale._parseInfo(_4fb);var _4fd=info.tokens,_4fe=info.bundle;var re=new RegExp("^"+info.regexp+"$");var _500=re.exec(_4fa);if(!_500){return null;}var _501=["abbr","wide","narrow"];var _502=new Date(1972,0);var _503={};var amPm="";dojo.forEach(_500,function(v,i){if(!i){return;}var _507=_4fd[i-1];var l=_507.length;switch(_507.charAt(0)){case "y":if(l!=2){_502.setFullYear(v);_503.year=v;}else{if(v<100){v=Number(v);var year=""+new Date().getFullYear();var _50a=year.substring(0,2)*100;var _50b=Number(year.substring(2,4));var _50c=Math.min(_50b+20,99);var num=(v<_50c)?_50a+v:_50a-100+v;_502.setFullYear(num);_503.year=num;}else{if(_4fb.strict){return null;}_502.setFullYear(v);_503.year=v;}}break;case "M":if(l>2){var _50e=_4fe["months-format-"+_501[l-3]].concat();if(!_4fb.strict){v=v.replace(".","").toLowerCase();_50e=dojo.map(_50e,function(s){return s.replace(".","").toLowerCase();});}v=dojo.indexOf(_50e,v);if(v==-1){return null;}}else{v--;}_502.setMonth(v);_503.month=v;break;case "E":case "e":var days=_4fe["days-format-"+_501[l-3]].concat();if(!_4fb.strict){v=v.toLowerCase();days=dojo.map(days,"".toLowerCase);}v=dojo.indexOf(days,v);if(v==-1){return null;}break;case "d":_502.setDate(v);_503.date=v;break;case "D":_502.setMonth(0);_502.setDate(v);break;case "a":var am=_4fb.am||_4fe.am;var pm=_4fb.pm||_4fe.pm;if(!_4fb.strict){var _513=/\./g;v=v.replace(_513,"").toLowerCase();am=am.replace(_513,"").toLowerCase();pm=pm.replace(_513,"").toLowerCase();}if(_4fb.strict&&v!=am&&v!=pm){return null;}amPm=(v==pm)?"p":(v==am)?"a":"";break;case "K":if(v==24){v=0;}case "h":case "H":case "k":if(v>23){return null;}_502.setHours(v);break;case "m":_502.setMinutes(v);break;case "s":_502.setSeconds(v);break;case "S":_502.setMilliseconds(v);}});var _514=_502.getHours();if(amPm==="p"&&_514<12){_502.setHours(_514+12);}else{if(amPm==="a"&&_514==12){_502.setHours(0);}}if(_503.year&&_502.getFullYear()!=_503.year){return null;}if(_503.month&&_502.getMonth()!=_503.month){return null;}if(_503.date&&_502.getDate()!=_503.date){return null;}return _502;};function _processPattern(_515,_516,_517,_518){var _519=function(x){return x;};_516=_516||_519;_517=_517||_519;_518=_518||_519;var _51b=_515.match(/(''|[^'])+/g);var _51c=false;dojo.forEach(_51b,function(_51d,i){if(!_51d){_51b[i]="";}else{_51b[i]=(_51c?_517:_516)(_51d);_51c=!_51c;}});return _518(_51b.join(""));};function _buildDateTimeRE(_51f,_520,_521,_522){_522=dojo.regexp.escapeString(_522);if(!_521.strict){_522=_522.replace(" a"," ?a");}return _522.replace(/([a-z])\1*/ig,function(_523){var s;var c=_523.charAt(0);var l=_523.length;var p2="",p3="";if(_521.strict){if(l>1){p2="0"+"{"+(l-1)+"}";}if(l>2){p3="0"+"{"+(l-2)+"}";}}else{p2="0?";p3="0{0,2}";}switch(c){case "y":s="\\d{2,4}";break;case "M":s=(l>2)?"\\S+":p2+"[1-9]|1[0-2]";break;case "D":s=p2+"[1-9]|"+p3+"[1-9][0-9]|[12][0-9][0-9]|3[0-5][0-9]|36[0-6]";break;case "d":s=p2+"[1-9]|[12]\\d|3[01]";break;case "w":s=p2+"[1-9]|[1-4][0-9]|5[0-3]";break;case "E":s="\\S+";break;case "h":s=p2+"[1-9]|1[0-2]";break;case "k":s=p2+"\\d|1[01]";break;case "H":s=p2+"\\d|1\\d|2[0-3]";break;case "K":s=p2+"[1-9]|1\\d|2[0-4]";break;case "m":case "s":s="[0-5]\\d";break;case "S":s="\\d{"+l+"}";break;case "a":var am=_521.am||_520.am||"AM";var pm=_521.pm||_520.pm||"PM";if(_521.strict){s=am+"|"+pm;}else{s=am+"|"+pm;if(am!=am.toLowerCase()){s+="|"+am.toLowerCase();}if(pm!=pm.toLowerCase()){s+="|"+pm.toLowerCase();}}break;default:s=".*";}if(_51f){_51f.push(_523);}return "("+s+")";}).replace(/[\xa0 ]/g,"[\\s\\xa0]");};})();(function(){var _52b=[];dojo.date.locale.addCustomFormats=function(_52c,_52d){_52b.push({pkg:_52c,name:_52d});};dojo.date.locale._getGregorianBundle=function(_52e){var _52f={};dojo.forEach(_52b,function(desc){var _531=dojo.i18n.getLocalization(desc.pkg,desc.name,_52e);_52f=dojo.mixin(_52f,_531);},this);return _52f;};})();dojo.date.locale.addCustomFormats("dojo.cldr","gregorian");dojo.date.locale.getNames=function(item,type,use,_535){var _536;var _537=dojo.date.locale._getGregorianBundle(_535);var _538=[item,use,type];if(use=="standAlone"){_536=_537[_538.join("-")];}_538[1]="format";return (_536||_537[_538.join("-")]).concat();};dojo.date.locale.isWeekend=function(_539,_53a){var _53b=dojo.cldr.supplemental.getWeekend(_53a);var day=(_539||new Date()).getDay();if(_53b.end<_53b.start){_53b.end+=7;if(day<_53b.start){day+=7;}}return day>=_53b.start&&day<=_53b.end;};dojo.date.locale._getDayOfYear=function(_53d){return dojo.date.difference(new Date(_53d.getFullYear(),0,1),_53d)+1;};dojo.date.locale._getWeekOfYear=function(_53e,_53f){if(arguments.length==1){_53f=0;}var _540=new Date(_53e.getFullYear(),0,1).getDay();var adj=(_540-_53f+7)%7;var week=Math.floor((dojo.date.locale._getDayOfYear(_53e)+adj-1)/7);if(_540==_53f){week++;}return week;};}if(!dojo._hasResource["dijit._Calendar"]){dojo._hasResource["dijit._Calendar"]=true;dojo.provide("dijit._Calendar");dojo.declare("dijit._Calendar",[dijit._Widget,dijit._Templated],{templateString:"\n\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n
    \n\t\t\t\t-\n\t\t\t\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t
    \n\t\t\t\t
    +
    \n\t\t\t
    \n\t\t\t\t

    \n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t

    \n\t\t\t
    \t\n",value:new Date(),dayWidth:"narrow",setValue:function(_543){if(!this.value||dojo.date.compare(_543,this.value)){_543=new Date(_543);this.displayMonth=new Date(_543);if(!this.isDisabledDate(_543,this.lang)){this.value=_543;this.value.setHours(0,0,0,0);this.onChange(this.value);}this._populateGrid();}},_setText:function(node,text){while(node.firstChild){node.removeChild(node.firstChild);}node.appendChild(document.createTextNode(text));},_populateGrid:function(){var _546=this.displayMonth;_546.setDate(1);var _547=_546.getDay();var _548=dojo.date.getDaysInMonth(_546);var _549=dojo.date.getDaysInMonth(dojo.date.add(_546,"month",-1));var _54a=new Date();var _54b=this.value;var _54c=dojo.cldr.supplemental.getFirstDayOfWeek(this.lang);if(_54c>_547){_54c-=7;}dojo.query(".dijitCalendarDateTemplate",this.domNode).forEach(function(_54d,i){i+=_54c;var date=new Date(_546);var _550,_551="dijitCalendar",adj=0;if(i<_547){_550=_549-_547+i+1;adj=-1;_551+="Previous";}else{if(i>=(_547+_548)){_550=i-_547-_548+1;adj=1;_551+="Next";}else{_550=i-_547+1;_551+="Current";}}if(adj){date=dojo.date.add(date,"month",adj);}date.setDate(_550);if(!dojo.date.compare(date,_54a,"date")){_551="dijitCalendarCurrentDate "+_551;}if(!dojo.date.compare(date,_54b,"date")){_551="dijitCalendarSelectedDate "+_551;}if(this.isDisabledDate(date,this.lang)){_551="dijitCalendarDisabledDate "+_551;}_54d.className=_551+"Month dijitCalendarDateTemplate";_54d.dijitDateValue=date.valueOf();var _553=dojo.query(".dijitCalendarDateLabel",_54d)[0];this._setText(_553,date.getDate());},this);var _554=dojo.date.locale.getNames("months","wide","standAlone",this.lang);this._setText(this.monthLabelNode,_554[_546.getMonth()]);var y=_546.getFullYear()-1;dojo.forEach(["previous","current","next"],function(name){this._setText(this[name+"YearLabelNode"],dojo.date.locale.format(new Date(y++,0),{selector:"year",locale:this.lang}));},this);var _557=this;var _558=function(_559,_55a,adj){dijit.typematic.addMouseListener(_557[_559],_557,function(_55c){if(_55c>=0){_557._adjustDisplay(_55a,adj);}},0.8,500);};_558("incrementMonth","month",1);_558("decrementMonth","month",-1);_558("nextYearLabelNode","year",1);_558("previousYearLabelNode","year",-1);},postCreate:function(){dijit._Calendar.superclass.postCreate.apply(this);var _55d=dojo.hitch(this,function(_55e,n){var _560=dojo.query(_55e,this.domNode)[0];for(var i=0;i
    \n",baseClass:"dijitTimePicker",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",visibleRange:"T05:00:00",value:new Date(),_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:dojo.date.stamp.toISOString,setValue:function(date,_572){this.value=date;this._showText();},isDisabledDate:function(_573,_574){return false;},_showText:function(){this.timeMenu.innerHTML="";var _575=dojo.date.stamp.fromISOString;this._clickableIncrementDate=_575(this.clickableIncrement);this._visibleIncrementDate=_575(this.visibleIncrement);this._visibleRangeDate=_575(this.visibleRange);var _576=function(date){return date.getHours()*60*60+date.getMinutes()*60+date.getSeconds();};var _578=_576(this._clickableIncrementDate);var _579=_576(this._visibleIncrementDate);var _57a=_576(this._visibleRangeDate);var time=this.value.getTime();this._refDate=new Date(time-time%(_579*1000));this._clickableIncrement=1;this._totalIncrements=_57a/_578;this._visibleIncrement=_579/_578;for(var i=-this._totalIncrements/2;i<=this._totalIncrements/2;i+=this._clickableIncrement){var div=this._createOption(i);this.timeMenu.appendChild(div);}},postCreate:function(){if(this.constraints===dijit._TimePicker.prototype.constraints){this.constraints={};}if(!this.constraints.locale){this.constraints.locale=this.lang;}this.connect(this.timeMenu,dojo.isIE?"onmousewheel":"DOMMouseScroll","_mouseWheeled");dijit.typematic.addMouseListener(this.upArrow,this,this._onArrowUp,0.8,500);dijit.typematic.addMouseListener(this.downArrow,this,this._onArrowDown,0.8,500);this.inherited("postCreate",arguments);this.setValue(this.value);},_createOption:function(_57e){var div=document.createElement("div");var date=(div.date=new Date(this._refDate));div.index=_57e;var _581=this._clickableIncrementDate;date.setHours(date.getHours()+_581.getHours()*_57e,date.getMinutes()+_581.getMinutes()*_57e,date.getSeconds()+_581.getSeconds()*_57e);var _582=document.createElement("div");dojo.addClass(div,this.baseClass+"Item");dojo.addClass(_582,this.baseClass+"ItemInner");_582.innerHTML=dojo.date.locale.format(date,this.constraints);div.appendChild(_582);if(_57e%this._visibleIncrement<1&&_57e%this._visibleIncrement>-1){dojo.addClass(div,this.baseClass+"Marker");}else{if(_57e%this._clickableIncrement==0){dojo.addClass(div,this.baseClass+"Tick");}}if(this.isDisabledDate(date)){dojo.addClass(div,this.baseClass+"ItemDisabled");}if(dojo.date.compare(this.value,date,this.constraints.selector)==0){div.selected=true;dojo.addClass(div,this.baseClass+"ItemSelected");}return div;},_onOptionSelected:function(tgt){var _584=tgt.target.date||tgt.target.parentNode.date;if(!_584||this.isDisabledDate(_584)){return;}this.setValue(_584);this.onValueSelected(_584);},onValueSelected:function(_585){},onmouseover:function(e){var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;this._highlighted_option=tgr;dojo.addClass(tgr,this.baseClass+"ItemHover");},onmouseout:function(e){var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;if(this._highlighted_option===tgr){dojo.removeClass(tgr,this.baseClass+"ItemHover");}},_mouseWheeled:function(e){dojo.stopEvent(e);var _58b=(dojo.isIE?e.wheelDelta:-e.detail);this[(_58b>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(){var _58c=this.timeMenu.childNodes[0].index-1;var div=this._createOption(_58c);this.timeMenu.removeChild(this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);this.timeMenu.insertBefore(div,this.timeMenu.childNodes[0]);},_onArrowDown:function(){var _58e=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].index+1;var div=this._createOption(_58e);this.timeMenu.removeChild(this.timeMenu.childNodes[0]);this.timeMenu.appendChild(div);}});}if(!dojo._hasResource["dijit.form.TimeTextBox"]){dojo._hasResource["dijit.form.TimeTextBox"]=true;dojo.provide("dijit.form.TimeTextBox");dojo.declare("dijit.form.TimeTextBox",dijit.form.RangeBoundTextBox,{regExpGen:dojo.date.locale.regexp,compare:dojo.date.compare,format:function(_590,_591){if(!_590||_590.toString()==this._invalid){return null;}return dojo.date.locale.format(_590,_591);},parse:dojo.date.locale.parse,serialize:dojo.date.stamp.toISOString,value:new Date(""),_invalid:(new Date("")).toString(),_popupClass:"dijit._TimePicker",postMixInProperties:function(){this.inherited("postMixInProperties",arguments);var _592=this.constraints;_592.selector="time";if(typeof _592.min=="string"){_592.min=dojo.date.stamp.fromISOString(_592.min);}if(typeof _592.max=="string"){_592.max=dojo.date.stamp.fromISOString(_592.max);}},_onFocus:function(evt){this._open();},setValue:function(_594,_595){this.inherited("setValue",arguments);if(this._picker){if(!_594||_594.toString()==this._invalid){_594=new Date();}this._picker.setValue(_594);}},_open:function(){if(this.disabled){return;}var self=this;if(!this._picker){var _597=dojo.getObject(this._popupClass,false);this._picker=new _597({onValueSelected:function(_598){self.focus();setTimeout(dojo.hitch(self,"_close"),1);dijit.form.TimeTextBox.superclass.setValue.call(self,_598,true);},lang:this.lang,constraints:this.constraints,isDisabledDate:function(date){return self.constraints&&(dojo.date.compare(self.constraints.min,date)>0||dojo.date.compare(self.constraints.max,date)<0);}});this._picker.setValue(this.getValue()||new Date());}if(!this._opened){dijit.popup.open({parent:this,popup:this._picker,around:this.domNode,onCancel:dojo.hitch(this,this._close),onClose:function(){self._opened=false;}});this._opened=true;}dojo.marginBox(this._picker.domNode,{w:this.domNode.offsetWidth});},_close:function(){if(this._opened){dijit.popup.close(this._picker);this._opened=false;}},_onBlur:function(){this._close();this.inherited("_onBlur",arguments);},getDisplayedValue:function(){return this.textbox.value;},setDisplayedValue:function(_59a){this.textbox.value=_59a;}});}if(!dojo._hasResource["dijit.form.DateTextBox"]){dojo._hasResource["dijit.form.DateTextBox"]=true;dojo.provide("dijit.form.DateTextBox");dojo.declare("dijit.form.DateTextBox",dijit.form.TimeTextBox,{_popupClass:"dijit._Calendar",postMixInProperties:function(){this.inherited("postMixInProperties",arguments);this.constraints.selector="date";}});}if(!dojo._hasResource["dijit.form.FilteringSelect"]){dojo._hasResource["dijit.form.FilteringSelect"]=true;dojo.provide("dijit.form.FilteringSelect");dojo.declare("dijit.form.FilteringSelect",[dijit.form.MappedTextBox,dijit.form.ComboBoxMixin],{labelAttr:"",labelType:"text",_isvalid:true,isValid:function(){return this._isvalid;},_callbackSetLabel:function(_59b,_59c){if(_59c&&_59c.query[this.searchAttr]!=this._lastQuery){return;}if(!_59b.length){if(!this._hasFocus){this.valueNode.value="";}dijit.form.TextBox.superclass.setValue.call(this,undefined,!this._hasFocus);this._isvalid=false;this.validate(this._hasFocus);}else{this._setValueFromItem(_59b[0]);}},_openResultList:function(_59d,_59e){if(_59e.query[this.searchAttr]!=this._lastQuery){return;}this._isvalid=_59d.length!=0;this.validate(true);dijit.form.ComboBoxMixin.prototype._openResultList.apply(this,arguments);},getValue:function(){return this.valueNode.value;},_getValueField:function(){return "value";},_setValue:function(_59f,_5a0){this.valueNode.value=_59f;dijit.form.FilteringSelect.superclass.setValue.call(this,_59f,true,_5a0);this._lastDisplayedValue=_5a0;},setValue:function(_5a1){var self=this;var _5a3=function(item){if(item){if(self.store.isItemLoaded(item)){self._callbackSetLabel([item]);}else{self.store.loadItem({item:item,onItem:self._callbackSetLabel});}}else{self._isvalid=false;self.validate(false);}};this.store.fetchItemByIdentity({identity:_5a1,onItem:_5a3});},_setValueFromItem:function(item){this._isvalid=true;this._setValue(this.store.getIdentity(item),this.labelFunc(item,this.store));},labelFunc:function(item,_5a7){return _5a7.getValue(item,this.searchAttr);},onkeyup:function(evt){},_doSelect:function(tgt){this.item=tgt.item;this._setValueFromItem(tgt.item);},setDisplayedValue:function(_5aa){if(this.store){var _5ab={};this._lastQuery=_5ab[this.searchAttr]=_5aa;this.textbox.value=_5aa;this._lastDisplayedValue=_5aa;this.store.fetch({query:_5ab,queryOptions:{ignoreCase:this.ignoreCase,deep:true},onComplete:dojo.hitch(this,this._callbackSetLabel)});}},_getMenuLabelFromItem:function(item){if(this.labelAttr){return {html:this.labelType=="html",label:this.store.getValue(item,this.labelAttr)};}else{return dijit.form.ComboBoxMixin.prototype._getMenuLabelFromItem.apply(this,arguments);}},postMixInProperties:function(){dijit.form.ComboBoxMixin.prototype.postMixInProperties.apply(this,arguments);dijit.form.MappedTextBox.prototype.postMixInProperties.apply(this,arguments);}});}if(!dojo._hasResource["dijit.form._Spinner"]){dojo._hasResource["dijit.form._Spinner"]=true;dojo.provide("dijit.form._Spinner");dojo.declare("dijit.form._Spinner",dijit.form.RangeBoundTextBox,{defaultTimeout:500,timeoutChangeRate:0.9,smallDelta:1,largeDelta:10,templateString:"
    \n\n",baseClass:"dijitSpinner",adjust:function(val,_5ae){return val;},_handleUpArrowEvent:function(e){this._onMouse(e,this.upArrowNode);},_handleDownArrowEvent:function(e){this._onMouse(e,this.downArrowNode);},_arrowPressed:function(_5b1,_5b2){if(this.disabled){return;}dojo.addClass(_5b1,"dijitSpinnerButtonActive");this.setValue(this.adjust(this.getValue(),_5b2*this.smallDelta));},_arrowReleased:function(node){if(this.disabled){return;}this._wheelTimer=null;dijit.focus(this.textbox);dojo.removeClass(node,"dijitSpinnerButtonActive");},_typematicCallback:function(_5b4,node,evt){if(node==this.textbox){node=(evt.keyCode==dojo.keys.UP_ARROW)?this.upArrowNode:this.downArrowNode;}if(_5b4==-1){this._arrowReleased(node);}else{this._arrowPressed(node,(node==this.upArrowNode)?1:-1);}},_wheelTimer:null,_mouseWheeled:function(evt){dojo.stopEvent(evt);var _5b8=0;if(typeof evt.wheelDelta=="number"){_5b8=evt.wheelDelta;}else{if(typeof evt.detail=="number"){_5b8=-evt.detail;}}if(_5b8>0){var node=this.upArrowNode;var dir=+1;}else{if(_5b8<0){var node=this.downArrowNode;var dir=-1;}else{return;}}this._arrowPressed(node,dir);if(this._wheelTimer!=null){clearTimeout(this._wheelTimer);}var _5bb=this;this._wheelTimer=setTimeout(function(){_5bb._arrowReleased(node);},50);},postCreate:function(){this.inherited("postCreate",arguments);this.connect(this.textbox,dojo.isIE?"onmousewheel":"DOMMouseScroll","_mouseWheeled");dijit.typematic.addListener(this.upArrowNode,this.textbox,{keyCode:dojo.keys.UP_ARROW,ctrlKey:false,altKey:false,shiftKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout);dijit.typematic.addListener(this.downArrowNode,this.textbox,{keyCode:dojo.keys.DOWN_ARROW,ctrlKey:false,altKey:false,shiftKey:false},this,"_typematicCallback",this.timeoutChangeRate,this.defaultTimeout);}});}if(!dojo._hasResource["dijit.form.NumberSpinner"]){dojo._hasResource["dijit.form.NumberSpinner"]=true;dojo.provide("dijit.form.NumberSpinner");dojo.declare("dijit.form.NumberSpinner",[dijit.form._Spinner,dijit.form.NumberTextBoxMixin],{required:true,adjust:function(val,_5bd){var _5be=val+_5bd;if(isNaN(val)||isNaN(_5be)){return val;}if((typeof this.constraints.max=="number")&&(_5be>this.constraints.max)){_5be=this.constraints.max;}if((typeof this.constraints.min=="number")&&(_5be
    -
    +\n",value:0,showButtons:true,minimum:0,maximum:100,discreteValues:Infinity,pageIncrement:2,clickSelect:true,widgetsInTemplate:true,attributeMap:dojo.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap),{id:"",name:"valueNode"}),baseClass:"dijitSlider",_mousePixelCoord:"pageX",_pixelCount:"w",_startingPixelCoord:"x",_startingPixelCount:"l",_handleOffsetCoord:"left",_progressPixelSize:"width",_upsideDown:false,_onKeyPress:function(e){if(this.disabled||e.altKey||e.ctrlKey){return;}switch(e.keyCode){case dojo.keys.HOME:this.setValue(this.minimum);break;case dojo.keys.END:this.setValue(this.maximum);break;case dojo.keys.UP_ARROW:case (this._isReversed()?dojo.keys.LEFT_ARROW:dojo.keys.RIGHT_ARROW):case dojo.keys.PAGE_UP:this.increment(e);break;case dojo.keys.DOWN_ARROW:case (this._isReversed()?dojo.keys.RIGHT_ARROW:dojo.keys.LEFT_ARROW):case dojo.keys.PAGE_DOWN:this.decrement(e);break;default:this.inherited("_onKeyPress",arguments);return;}dojo.stopEvent(e);},_onHandleClick:function(e){if(this.disabled){return;}if(!dojo.isIE){dijit.focus(this.sliderHandle);}dojo.stopEvent(e);},_isReversed:function(){return !(this._upsideDown||this.isLeftToRight());},_onBarClick:function(e){if(this.disabled||!this.clickSelect){return;}dijit.focus(this.sliderHandle);dojo.stopEvent(e);var _5c2=dojo.coords(this.sliderBarContainer,true);var _5c3=e[this._mousePixelCoord]-_5c2[this._startingPixelCoord];this._setPixelValue(this._isReversed()||this._upsideDown?(_5c2[this._pixelCount]-_5c3):_5c3,_5c2[this._pixelCount],true);},_setPixelValue:function(_5c4,_5c5,_5c6){if(this.disabled){return;}_5c4=_5c4<0?0:_5c5<_5c4?_5c5:_5c4;var _5c7=this.discreteValues;if(_5c7<=1||_5c7==Infinity){_5c7=_5c5;}_5c7--;var _5c8=_5c5/_5c7;var _5c9=Math.round(_5c4/_5c8);this.setValue((this.maximum-this.minimum)*_5c9/_5c7+this.minimum,_5c6);},setValue:function(_5ca,_5cb){this.valueNode.value=this.value=_5ca;this.inherited("setValue",arguments);var _5cc=(_5ca-this.minimum)/(this.maximum-this.minimum);this.progressBar.style[this._progressPixelSize]=(_5cc*100)+"%";this.remainingBar.style[this._progressPixelSize]=((1-_5cc)*100)+"%";},_bumpValue:function(_5cd){if(this.disabled){return;}var s=dojo.getComputedStyle(this.sliderBarContainer);var c=dojo._getContentBox(this.sliderBarContainer,s);var _5d0=this.discreteValues;if(_5d0<=1||_5d0==Infinity){_5d0=c[this._pixelCount];}_5d0--;var _5d1=(this.value-this.minimum)*_5d0/(this.maximum-this.minimum)+_5cd;if(_5d1<0){_5d1=0;}if(_5d1>_5d0){_5d1=_5d0;}_5d1=_5d1*(this.maximum-this.minimum)/_5d0+this.minimum;this.setValue(_5d1,true);},decrement:function(e){this._bumpValue(e.keyCode==dojo.keys.PAGE_DOWN?-this.pageIncrement:-1);},increment:function(e){this._bumpValue(e.keyCode==dojo.keys.PAGE_UP?this.pageIncrement:1);},_mouseWheeled:function(evt){dojo.stopEvent(evt);var _5d5=0;if(typeof evt.wheelDelta=="number"){_5d5=evt.wheelDelta;}else{if(typeof evt.detail=="number"){_5d5=-evt.detail;}}if(_5d5>0){this.increment(evt);}else{if(_5d5<0){this.decrement(evt);}}},startup:function(){dojo.forEach(this.getChildren(),function(_5d6){if(this[_5d6.container]!=this.containerNode){this[_5d6.container].appendChild(_5d6.domNode);}},this);},_onBlur:function(){dijit.form.HorizontalSlider.superclass.setValue.call(this,this.value,true);},postCreate:function(){if(this.showButtons){this.incrementButton.style.display="";this.decrementButton.style.display="";}this.connect(this.domNode,dojo.isIE?"onmousewheel":"DOMMouseScroll","_mouseWheeled");var _5d7=this;var _5d8=function(){dijit.form._SliderMover.apply(this,arguments);this.widget=_5d7;};dojo.extend(_5d8,dijit.form._SliderMover.prototype);this._movable=new dojo.dnd.Moveable(this.sliderHandle,{mover:_5d8});this.inherited("postCreate",arguments);},destroy:function(){this._movable.destroy();this.inherited("destroy",arguments);}});dojo.declare("dijit.form.VerticalSlider",dijit.form.HorizontalSlider,{templateString:"
    +
    -
    \n",_mousePixelCoord:"pageY",_pixelCount:"h",_startingPixelCoord:"y",_startingPixelCount:"t",_handleOffsetCoord:"top",_progressPixelSize:"height",_upsideDown:true});dojo.declare("dijit.form._SliderMover",dojo.dnd.Mover,{onMouseMove:function(e){var _5da=this.widget;var c=this.constraintBox;if(!c){var _5dc=_5da.sliderBarContainer;var s=dojo.getComputedStyle(_5dc);var c=dojo._getContentBox(_5dc,s);c[_5da._startingPixelCount]=0;this.constraintBox=c;}var m=this.marginBox;var _5df=_5da._isReversed()?e[_5da._mousePixelCoord]-dojo._abs(_5da.sliderBarContainer).x:m[_5da._startingPixelCount]+e[_5da._mousePixelCoord];dojo.hitch(_5da,"_setPixelValue")(_5da._isReversed()||_5da._upsideDown?(c[_5da._pixelCount]-_5df):_5df,c[_5da._pixelCount]);},destroy:function(e){var _5e1=this.widget;_5e1.setValue(_5e1.value,true);dojo.dnd.Mover.prototype.destroy.call(this);}});dojo.declare("dijit.form.HorizontalRule",[dijit._Widget,dijit._Templated],{templateString:"
    ",count:3,container:"containerNode",ruleStyle:"",_positionPrefix:"
    ",_genHTML:function(pos,ndx){return this._positionPrefix+pos+this._positionSuffix+this.ruleStyle+this._suffix;},_isHorizontal:true,postCreate:function(){if(this.count==1){var _5e4=this._genHTML(50,0);}else{var _5e5=100/(this.count-1);if(!this._isHorizontal||this.isLeftToRight()){var _5e4=this._genHTML(0,0);for(var i=1;i
    ",_positionPrefix:"
    ",labelStyle:"",labels:[],numericMargin:0,minimum:0,maximum:1,constraints:{pattern:"#%"},_positionPrefix:"
    ",_suffix:"
    ",_calcPosition:function(pos){return pos;},_genHTML:function(pos,ndx){return this._positionPrefix+this._calcPosition(pos)+this._positionSuffix+this.labelStyle+this._labelPrefix+this.labels[ndx]+this._suffix;},getLabels:function(){var _5ea=this.labels;if(!_5ea.length){_5ea=dojo.query("> li",this.srcNodeRef).map(function(node){return String(node.innerHTML);});}this.srcNodeRef.innerHTML="";if(!_5ea.length&&this.count>1){var _5ec=this.minimum;var inc=(this.maximum-_5ec)/(this.count-1);for(var i=0;i=(this.count-this.numericMargin))?"":dojo.number.format(_5ec,this.constraints));_5ec+=inc;}}return _5ea;},postMixInProperties:function(){this.inherited("postMixInProperties",arguments);this.labels=this.getLabels();this.count=this.labels.length;}});dojo.declare("dijit.form.VerticalRuleLabels",dijit.form.HorizontalRuleLabels,{templateString:"
    ",_positionPrefix:"
    ",_calcPosition:function(pos){return 100-pos;},_isHorizontal:false});}if(!dojo._hasResource["dijit.form.Textarea"]){dojo._hasResource["dijit.form.Textarea"]=true;dojo.provide("dijit.form.Textarea");dojo.declare("dijit.form.Textarea",dijit.form._FormWidget,{attributeMap:dojo.mixin(dojo.clone(dijit.form._FormWidget.prototype.attributeMap),{style:"styleNode","class":"styleNode"}),templateString:(dojo.isIE||dojo.isSafari||dojo.isMozilla)?((dojo.isIE||dojo.isSafari)?"
    ":""+"")+""+((dojo.isIE||dojo.isSafari)?"
    ":"
    "):"",focus:function(){if(!this.disabled){this._changing();}if(dojo.isMozilla){dijit.focus(this.iframe);}else{dijit.focus(this.focusNode);}},setValue:function(_5f0,_5f1){var _5f2=this.editNode;if(typeof _5f0=="string"){_5f2.innerHTML="";if(_5f0.split){var _5f3=this;var _5f4=true;dojo.forEach(_5f0.split("\n"),function(line){if(_5f4){_5f4=false;}else{_5f2.appendChild(document.createElement("BR"));}_5f2.appendChild(document.createTextNode(line));});}else{_5f2.appendChild(document.createTextNode(_5f0));}}else{_5f0=_5f2.innerHTML;if(this.iframe){_5f0=_5f0.replace(/
    <\/div>\r?\n?$/i,"");}_5f0=_5f0.replace(/\s*\r?\n|^\s+|\s+$| /g,"").replace(/>\s+<").replace(/<\/(p|div)>$|^<(p|div)[^>]*>/gi,"").replace(/([^>])
    /g,"$1\n").replace(/<\/p>\s*]*>|]*>/gi,"\n").replace(/<[^>]*>/g,"").replace(/&/gi,"&").replace(/</gi,"<").replace(/>/gi,">");}this.value=this.formValueNode.value=_5f0;if(this.iframe){var _5f6=document.createElement("div");_5f2.appendChild(_5f6);var _5f7=_5f6.offsetTop;if(_5f2.scrollWidth>_5f2.clientWidth){_5f7+=16;}if(this.lastHeight!=_5f7){if(_5f7==0){_5f7=16;}dojo.contentBox(this.iframe,{h:_5f7});this.lastHeight=_5f7;}_5f2.removeChild(_5f6);}dijit.form.Textarea.superclass.setValue.call(this,this.getValue(),_5f1);},getValue:function(){return this.formValueNode.value.replace(/\r/g,"");},postMixInProperties:function(){dijit.form.Textarea.superclass.postMixInProperties.apply(this,arguments);if(this.srcNodeRef&&this.srcNodeRef.innerHTML!=""){this.value=this.srcNodeRef.innerHTML;this.srcNodeRef.innerHTML="";}if((!this.value||this.value=="")&&this.srcNodeRef&&this.srcNodeRef.value){this.value=this.srcNodeRef.value;}if(!this.value){this.value="";}this.value=this.value.replace(/\r\n/g,"\n").replace(/>/g,">").replace(/</g,"<").replace(/&/g,"&");if(dojo.isMozilla){var _5f8=dojo.i18n.getLocalization("dijit","Textarea");this._iframeEditTitle=_5f8.iframeEditTitle;this._iframeFocusTitle=_5f8.iframeFocusTitle;var body=this.focusNode=this.editNode=document.createElement("BODY");body.style.margin="0px";body.style.padding="0px";body.style.border="0px";}},postCreate:function(){if(dojo.isIE||dojo.isSafari){this.domNode.style.overflowY="hidden";}else{if(dojo.isMozilla){var w=this.iframe.contentWindow;try{var _5fb=this.iframe.contentDocument.title;}catch(e){var _5fb="";}if(!w||!_5fb){this.iframe.postCreate=dojo.hitch(this,this.postCreate);return;}var d=w.document;d.getElementsByTagName("HTML")[0].replaceChild(this.editNode,d.getElementsByTagName("BODY")[0]);if(!this.isLeftToRight()){d.getElementsByTagName("HTML")[0].dir="rtl";}this.iframe.style.overflowY="hidden";this.eventNode=d;w.addEventListener("resize",dojo.hitch(this,this._changed),false);}else{this.focusNode=this.domNode;}}if(this.eventNode){this.connect(this.eventNode,"keypress",this._onKeyPress);this.connect(this.eventNode,"mousemove",this._changed);this.connect(this.eventNode,"focus",this._focused);this.connect(this.eventNode,"blur",this._blurred);}if(this.editNode){this.connect(this.editNode,"change",this._changed);}this.inherited("postCreate",arguments);},_focused:function(e){dojo.addClass(this.iframe||this.domNode,"dijitInputFieldFocused");this._changed(e);},_blurred:function(e){dojo.removeClass(this.iframe||this.domNode,"dijitInputFieldFocused");this._changed(e,true);},_onIframeBlur:function(){this.iframe.contentDocument.title=this._iframeEditTitle;},_onKeyPress:function(e){if(e.keyCode==dojo.keys.TAB&&!e.shiftKey&&!e.ctrlKey&&!e.altKey&&this.iframe){this.iframe.contentDocument.title=this._iframeFocusTitle;this.iframe.focus();dojo.stopEvent(e);}else{if(e.keyCode==dojo.keys.ENTER){e.stopPropagation();}else{if(this.inherited("_onKeyPress",arguments)&&this.iframe){var te=document.createEvent("KeyEvents");te.initKeyEvent("keypress",true,true,null,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.keyCode,e.charCode);this.iframe.dispatchEvent(te);}}}this._changing();},_changing:function(e){setTimeout(dojo.hitch(this,"_changed",e,false),1);},_changed:function(e,_603){if(this.iframe&&this.iframe.contentDocument.designMode!="on"){this.iframe.contentDocument.designMode="on";}this.setValue(null,_603);}});}if(!dojo._hasResource["dijit.layout.StackContainer"]){dojo._hasResource["dijit.layout.StackContainer"]=true;dojo.provide("dijit.layout.StackContainer");dojo.declare("dijit.layout.StackContainer",dijit.layout._LayoutWidget,{doLayout:true,_started:false,postCreate:function(){dijit.setWaiRole((this.containerNode||this.domNode),"tabpanel");this.connect(this.domNode,"onkeypress",this._onKeyPress);},startup:function(){if(this._started){return;}var _604=this.getChildren();dojo.forEach(_604,this._setupChild,this);dojo.some(_604,function(_605){if(_605.selected){this.selectedChildWidget=_605;}return _605.selected;},this);var _606=this.selectedChildWidget;if(!_606&&_604[0]){_606=this.selectedChildWidget=_604[0];_606.selected=true;}if(_606){this._showChild(_606);}dojo.publish(this.id+"-startup",[{children:_604,selected:_606}]);this.inherited("startup",arguments);this._started=true;},_setupChild:function(page){page.domNode.style.display="none";page.domNode.style.position="relative";return page;},addChild:function(_608,_609){dijit._Container.prototype.addChild.apply(this,arguments);_608=this._setupChild(_608);if(this._started){this.layout();dojo.publish(this.id+"-addChild",[_608,_609]);if(!this.selectedChildWidget){this.selectChild(_608);}}},removeChild:function(page){dijit._Container.prototype.removeChild.apply(this,arguments);if(this._beingDestroyed){return;}if(this._started){dojo.publish(this.id+"-removeChild",[page]);this.layout();}if(this.selectedChildWidget===page){this.selectedChildWidget=undefined;if(this._started){var _60b=this.getChildren();if(_60b.length){this.selectChild(_60b[0]);}}}},selectChild:function(page){page=dijit.byId(page);if(this.selectedChildWidget!=page){this._transition(page,this.selectedChildWidget);this.selectedChildWidget=page;dojo.publish(this.id+"-selectChild",[page]);}},_transition:function(_60d,_60e){if(_60e){this._hideChild(_60e);}this._showChild(_60d);if(this.doLayout&&_60d.resize){_60d.resize(this._containerContentBox||this._contentBox);}},_adjacent:function(_60f){var _610=this.getChildren();var _611=dojo.indexOf(_610,this.selectedChildWidget);_611+=_60f?1:_610.length-1;return _610[_611%_610.length];},forward:function(){this.selectChild(this._adjacent(true));},back:function(){this.selectChild(this._adjacent(false));},_onKeyPress:function(e){dojo.publish(this.id+"-containerKeyPress",[{e:e,page:this}]);},layout:function(){if(this.doLayout&&this.selectedChildWidget&&this.selectedChildWidget.resize){this.selectedChildWidget.resize(this._contentBox);}},_showChild:function(page){var _614=this.getChildren();page.isFirstChild=(page==_614[0]);page.isLastChild=(page==_614[_614.length-1]);page.selected=true;page.domNode.style.display="";if(page._loadCheck){page._loadCheck();}if(page.onShow){page.onShow();}},_hideChild:function(page){page.selected=false;page.domNode.style.display="none";if(page.onHide){page.onHide();}},closeChild:function(page){var _617=page.onClose(this,page);if(_617){this.removeChild(page);page.destroy();}},destroy:function(){this._beingDestroyed=true;this.inherited("destroy",arguments);}});dojo.declare("dijit.layout.StackController",[dijit._Widget,dijit._Templated,dijit._Container],{templateString:"",containerId:"",buttonWidget:"dijit.layout._StackButton",postCreate:function(){dijit.setWaiRole(this.domNode,"tablist");this.pane2button={};this._subscriptions=[dojo.subscribe(this.containerId+"-startup",this,"onStartup"),dojo.subscribe(this.containerId+"-addChild",this,"onAddChild"),dojo.subscribe(this.containerId+"-removeChild",this,"onRemoveChild"),dojo.subscribe(this.containerId+"-selectChild",this,"onSelectChild"),dojo.subscribe(this.containerId+"-containerKeyPress",this,"onContainerKeyPress")];},onStartup:function(info){dojo.forEach(info.children,this.onAddChild,this);this.onSelectChild(info.selected);},destroy:function(){dojo.forEach(this._subscriptions,dojo.unsubscribe);this.inherited("destroy",arguments);},onAddChild:function(page,_61a){var _61b=document.createElement("span");this.domNode.appendChild(_61b);var cls=dojo.getObject(this.buttonWidget);var _61d=new cls({label:page.title,closeButton:page.closable},_61b);this.addChild(_61d,_61a);this.pane2button[page]=_61d;page.controlButton=_61d;dojo.connect(_61d,"onClick",dojo.hitch(this,"onButtonClick",page));dojo.connect(_61d,"onClickCloseButton",dojo.hitch(this,"onCloseButtonClick",page));if(!this._currentChild){_61d.focusNode.setAttribute("tabIndex","0");this._currentChild=page;}},onRemoveChild:function(page){if(this._currentChild===page){this._currentChild=null;}var _61f=this.pane2button[page];if(_61f){_61f.destroy();}this.pane2button[page]=null;},onSelectChild:function(page){if(!page){return;}if(this._currentChild){var _621=this.pane2button[this._currentChild];_621.setChecked(false);_621.focusNode.setAttribute("tabIndex","-1");}var _622=this.pane2button[page];_622.setChecked(true);this._currentChild=page;_622.focusNode.setAttribute("tabIndex","0");},onButtonClick:function(page){var _624=dijit.byId(this.containerId);_624.selectChild(page);},onCloseButtonClick:function(page){var _626=dijit.byId(this.containerId);_626.closeChild(page);var b=this.pane2button[this._currentChild];if(b){dijit.focus(b.focusNode||b.domNode);}},adjacent:function(_628){var _629=this.getChildren();var _62a=dojo.indexOf(_629,this.pane2button[this._currentChild]);var _62b=_628?1:_629.length-1;return _629[(_62a+_62b)%_629.length];},onkeypress:function(e){if(this.disabled||e.altKey){return;}var _62d=true;if(e.ctrlKey||!e._djpage){var k=dojo.keys;switch(e.keyCode){case k.LEFT_ARROW:case k.UP_ARROW:case k.PAGE_UP:_62d=false;case k.RIGHT_ARROW:case k.DOWN_ARROW:case k.PAGE_DOWN:this.adjacent(_62d).onClick();dojo.stopEvent(e);break;case k.DELETE:if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}dojo.stopEvent(e);break;default:if(e.ctrlKey){if(e.keyCode==k.TAB){this.adjacent(!e.shiftKey).onClick();dojo.stopEvent(e);}else{if(e.keyChar=="w"){if(this._currentChild.closable){this.onCloseButtonClick(this._currentChild);}dojo.stopEvent(e);}}}}}},onContainerKeyPress:function(info){info.e._djpage=info.page;this.onkeypress(info.e);}});dojo.declare("dijit.layout._StackButton",dijit.form.ToggleButton,{tabIndex:"-1",postCreate:function(evt){dijit.setWaiRole((this.focusNode||this.domNode),"tab");this.inherited("postCreate",arguments);},onClick:function(evt){dijit.focus(this.focusNode);},onClickCloseButton:function(evt){evt.stopPropagation();}});dojo.extend(dijit._Widget,{title:"",selected:false,closable:false,onClose:function(){return true;}});}if(!dojo._hasResource["dijit.layout.AccordionContainer"]){dojo._hasResource["dijit.layout.AccordionContainer"]=true;dojo.provide("dijit.layout.AccordionContainer");dojo.declare("dijit.layout.AccordionContainer",dijit.layout.StackContainer,{duration:250,_verticalSpace:0,postCreate:function(){this.domNode.style.overflow="hidden";this.inherited("postCreate",arguments);dijit.setWaiRole(this.domNode,"tablist");dojo.addClass(this.domNode,"dijitAccordionContainer");},startup:function(){if(this._started){return;}this.inherited("startup",arguments);if(this.selectedChildWidget){var _633=this.selectedChildWidget.containerNode.style;_633.display="";_633.overflow="auto";this.selectedChildWidget._setSelectedState(true);}},layout:function(){var _634=0;var _635=this.selectedChildWidget;dojo.forEach(this.getChildren(),function(_636){_634+=_636.getTitleHeight();});var _637=this._contentBox;this._verticalSpace=(_637.h-_634);if(_635){_635.containerNode.style.height=this._verticalSpace+"px";}},_setupChild:function(page){return page;},_transition:function(_639,_63a){if(this._inTransition){return;}this._inTransition=true;var _63b=[];var _63c=this._verticalSpace;if(_639){_639.setSelected(true);var _63d=_639.containerNode;_63d.style.display="";_63b.push(dojo.animateProperty({node:_63d,duration:this.duration,properties:{height:{start:"1",end:_63c}},onEnd:function(){_63d.style.overflow="auto";}}));}if(_63a){_63a.setSelected(false);var _63e=_63a.containerNode;_63e.style.overflow="hidden";_63b.push(dojo.animateProperty({node:_63e,duration:this.duration,properties:{height:{start:_63c,end:"1"}},onEnd:function(){_63e.style.display="none";}}));}this._inTransition=false;dojo.fx.combine(_63b).play();},_onKeyPress:function(e){if(this.disabled||e.altKey){return;}var k=dojo.keys;switch(e.keyCode){case k.LEFT_ARROW:case k.UP_ARROW:case k.PAGE_UP:this._adjacent(false)._onTitleClick();dojo.stopEvent(e);break;case k.RIGHT_ARROW:case k.DOWN_ARROW:case k.PAGE_DOWN:this._adjacent(true)._onTitleClick();dojo.stopEvent(e);break;default:if(e.ctrlKey&&e.keyCode==k.TAB){this._adjacent(e._dijitWidget,!e.shiftKey)._onTitleClick();dojo.stopEvent(e);}}}});dojo.declare("dijit.layout.AccordionPane",[dijit.layout.ContentPane,dijit._Templated,dijit._Contained],{templateString:"
    ${title}
    \n
    \n",postCreate:function(){this.inherited("postCreate",arguments);dojo.setSelectable(this.titleNode,false);this.setSelected(this.selected);},getTitleHeight:function(){return dojo.marginBox(this.titleNode).h;},_onTitleClick:function(){var _641=this.getParent();if(!_641._inTransition){_641.selectChild(this);dijit.focus(this.focusNode);}},_onTitleKeyPress:function(evt){evt._dijitWidget=this;return this.getParent()._onKeyPress(evt);},_setSelectedState:function(_643){this.selected=_643;dojo[(_643?"addClass":"removeClass")](this.domNode,"dijitAccordionPane-selected");this.focusNode.setAttribute("tabIndex",_643?"0":"-1");},_handleFocus:function(e){dojo[(e.type=="focus"?"addClass":"removeClass")](this.focusNode,"dijitAccordionPaneFocused");},setSelected:function(_645){this._setSelectedState(_645);if(_645){this.onSelected();}},onSelected:function(){}});}if(!dojo._hasResource["dijit.layout.LayoutContainer"]){dojo._hasResource["dijit.layout.LayoutContainer"]=true;dojo.provide("dijit.layout.LayoutContainer");dojo.declare("dijit.layout.LayoutContainer",dijit.layout._LayoutWidget,{layout:function(){dijit.layout.layoutChildren(this.domNode,this._contentBox,this.getChildren());},addChild:function(_646,_647){dijit._Container.prototype.addChild.apply(this,arguments);if(this._started){dijit.layout.layoutChildren(this.domNode,this._contentBox,this.getChildren());}},removeChild:function(_648){dijit._Container.prototype.removeChild.apply(this,arguments);if(this._started){dijit.layout.layoutChildren(this.domNode,this._contentBox,this.getChildren());}}});dojo.extend(dijit._Widget,{layoutAlign:"none"});}if(!dojo._hasResource["dijit.layout.LinkPane"]){dojo._hasResource["dijit.layout.LinkPane"]=true;dojo.provide("dijit.layout.LinkPane");dojo.declare("dijit.layout.LinkPane",[dijit.layout.ContentPane,dijit._Templated],{templateString:"
    ",postCreate:function(){if(this.srcNodeRef){this.title+=this.srcNodeRef.innerHTML;}this.inherited("postCreate",arguments);}});}if(!dojo._hasResource["dijit.layout.SplitContainer"]){dojo._hasResource["dijit.layout.SplitContainer"]=true;dojo.provide("dijit.layout.SplitContainer");dojo.declare("dijit.layout.SplitContainer",dijit.layout._LayoutWidget,{activeSizing:false,sizerWidth:7,orientation:"horizontal",persist:true,postMixInProperties:function(){this.inherited("postMixInProperties",arguments);this.isHorizontal=(this.orientation=="horizontal");},postCreate:function(){this.inherited("postCreate",arguments);this.sizers=[];dojo.addClass(this.domNode,"dijitSplitContainer");if(dojo.isMozilla){this.domNode.style.overflow="-moz-scrollbars-none";}if(typeof this.sizerWidth=="object"){try{this.sizerWidth=parseInt(this.sizerWidth.toString());}catch(e){this.sizerWidth=7;}}var _649=this.virtualSizer=document.createElement("div");_649.style.position="relative";_649.style.zIndex=10;_649.className=this.isHorizontal?"dijitSplitContainerVirtualSizerH":"dijitSplitContainerVirtualSizerV";this.domNode.appendChild(_649);dojo.setSelectable(_649,false);},startup:function(){if(this._started){return;}dojo.forEach(this.getChildren(),function(_64a,i,_64c){this._injectChild(_64a);if(i<_64c.length-1){this._addSizer();}},this);if(this.persist){this._restoreState();}this.inherited("startup",arguments);this._started=true;},_injectChild:function(_64d){_64d.domNode.style.position="absolute";dojo.addClass(_64d.domNode,"dijitSplitPane");},_addSizer:function(){var i=this.sizers.length;var _64f=this.sizers[i]=document.createElement("div");_64f.className=this.isHorizontal?"dijitSplitContainerSizerH":"dijitSplitContainerSizerV";var _650=document.createElement("div");_650.className="thumb";_64f.appendChild(_650);var self=this;var _652=(function(){var _653=i;return function(e){self.beginSizing(e,_653);};})();dojo.connect(_64f,"onmousedown",_652);this.domNode.appendChild(_64f);dojo.setSelectable(_64f,false);},removeChild:function(_655){if(this.sizers.length&&dojo.indexOf(this.getChildren(),_655)!=-1){var i=this.sizers.length-1;dojo._destroyElement(this.sizers[i]);this.sizers.length--;}this.inherited("removeChild",arguments);if(this._started){this.layout();}},addChild:function(_657,_658){this.inherited("addChild",arguments);if(this._started){this._injectChild(_657);var _659=this.getChildren();if(_659.length>1){this._addSizer();}this.layout();}},layout:function(){this.paneWidth=this._contentBox.w;this.paneHeight=this._contentBox.h;var _65a=this.getChildren();if(!_65a.length){return;}var _65b=this.isHorizontal?this.paneWidth:this.paneHeight;if(_65a.length>1){_65b-=this.sizerWidth*(_65a.length-1);}var _65c=0;dojo.forEach(_65a,function(_65d){_65c+=_65d.sizeShare;});var _65e=_65b/_65c;var _65f=0;dojo.forEach(_65a.slice(0,_65a.length-1),function(_660){var size=Math.round(_65e*_660.sizeShare);_660.sizeActual=size;_65f+=size;});_65a[_65a.length-1].sizeActual=_65b-_65f;this._checkSizes();var pos=0;var size=_65a[0].sizeActual;this._movePanel(_65a[0],pos,size);_65a[0].position=pos;pos+=size;if(!this.sizers){return;}dojo.some(_65a.slice(1),function(_664,i){if(!this.sizers[i]){return true;}this._moveSlider(this.sizers[i],pos,this.sizerWidth);this.sizers[i].position=pos;pos+=this.sizerWidth;size=_664.sizeActual;this._movePanel(_664,pos,size);_664.position=pos;pos+=size;},this);},_movePanel:function(_666,pos,size){if(this.isHorizontal){_666.domNode.style.left=pos+"px";_666.domNode.style.top=0;var box={w:size,h:this.paneHeight};if(_666.resize){_666.resize(box);}else{dojo.marginBox(_666.domNode,box);}}else{_666.domNode.style.left=0;_666.domNode.style.top=pos+"px";var box={w:this.paneWidth,h:size};if(_666.resize){_666.resize(box);}else{dojo.marginBox(_666.domNode,box);}}},_moveSlider:function(_66a,pos,size){if(this.isHorizontal){_66a.style.left=pos+"px";_66a.style.top=0;dojo.marginBox(_66a,{w:size,h:this.paneHeight});}else{_66a.style.left=0;_66a.style.top=pos+"px";dojo.marginBox(_66a,{w:this.paneWidth,h:size});}},_growPane:function(_66d,pane){if(_66d>0){if(pane.sizeActual>pane.sizeMin){if((pane.sizeActual-pane.sizeMin)>_66d){pane.sizeActual=pane.sizeActual-_66d;_66d=0;}else{_66d-=pane.sizeActual-pane.sizeMin;pane.sizeActual=pane.sizeMin;}}}return _66d;},_checkSizes:function(){var _66f=0;var _670=0;var _671=this.getChildren();dojo.forEach(_671,function(_672){_670+=_672.sizeActual;_66f+=_672.sizeMin;});if(_66f<=_670){var _673=0;dojo.forEach(_671,function(_674){if(_674.sizeActual<_674.sizeMin){_673+=_674.sizeMin-_674.sizeActual;_674.sizeActual=_674.sizeMin;}});if(_673>0){var list=this.isDraggingLeft?_671.reverse():_671;dojo.forEach(list,function(_676){_673=this._growPane(_673,_676);},this);}}else{dojo.forEach(_671,function(_677){_677.sizeActual=Math.round(_670*(_677.sizeMin/_66f));});}},beginSizing:function(e,i){var _67a=this.getChildren();this.paneBefore=_67a[i];this.paneAfter=_67a[i+1];this.isSizing=true;this.sizingSplitter=this.sizers[i];if(!this.cover){this.cover=dojo.doc.createElement("div");this.domNode.appendChild(this.cover);var s=this.cover.style;s.position="absolute";s.zIndex=1;s.top=0;s.left=0;s.width="100%";s.height="100%";}else{this.cover.style.zIndex=1;}this.sizingSplitter.style.zIndex=2;this.originPos=dojo.coords(_67a[0].domNode,true);if(this.isHorizontal){var _67c=(e.layerX?e.layerX:e.offsetX);var _67d=e.pageX;this.originPos=this.originPos.x;}else{var _67c=(e.layerY?e.layerY:e.offsetY);var _67d=e.pageY;this.originPos=this.originPos.y;}this.startPoint=this.lastPoint=_67d;this.screenToClientOffset=_67d-_67c;this.dragOffset=this.lastPoint-this.paneBefore.sizeActual-this.originPos-this.paneBefore.position;if(!this.activeSizing){this._showSizingLine();}this._connects=[];this._connects.push(dojo.connect(document.documentElement,"onmousemove",this,"changeSizing"));this._connects.push(dojo.connect(document.documentElement,"onmouseup",this,"endSizing"));dojo.stopEvent(e);},changeSizing:function(e){if(!this.isSizing){return;}this.lastPoint=this.isHorizontal?e.pageX:e.pageY;this.movePoint();if(this.activeSizing){this._updateSize();}else{this._moveSizingLine();}dojo.stopEvent(e);},endSizing:function(e){if(!this.isSizing){return;}if(this.cover){this.cover.style.zIndex=-1;}if(!this.activeSizing){this._hideSizingLine();}this._updateSize();this.isSizing=false;if(this.persist){this._saveState(this);}dojo.forEach(this._connects,dojo.disconnect);},movePoint:function(){var p=this.lastPoint-this.screenToClientOffset;var a=p-this.dragOffset;a=this.legaliseSplitPoint(a);p=a+this.dragOffset;this.lastPoint=p+this.screenToClientOffset;},legaliseSplitPoint:function(a){a+=this.sizingSplitter.position;this.isDraggingLeft=!!(a>0);if(!this.activeSizing){var min=this.paneBefore.position+this.paneBefore.sizeMin;if(amax){a=max;}}a-=this.sizingSplitter.position;this._checkSizes();return a;},_updateSize:function(){var pos=this.lastPoint-this.dragOffset-this.originPos;var _686=this.paneBefore.position;var _687=this.paneAfter.position+this.paneAfter.sizeActual;this.paneBefore.sizeActual=pos-_686;this.paneAfter.position=pos+this.sizerWidth;this.paneAfter.sizeActual=_687-this.paneAfter.position;dojo.forEach(this.getChildren(),function(_688){_688.sizeShare=_688.sizeActual;});if(this._started){this.layout();}},_showSizingLine:function(){this._moveSizingLine();dojo.marginBox(this.virtualSizer,this.isHorizontal?{w:this.sizerWidth,h:this.paneHeight}:{w:this.paneWidth,h:this.sizerWidth});this.virtualSizer.style.display="block";},_hideSizingLine:function(){this.virtualSizer.style.display="none";},_moveSizingLine:function(){var pos=(this.lastPoint-this.startPoint)+this.sizingSplitter.position;dojo.style(this.virtualSizer,(this.isHorizontal?"left":"top"),pos+"px");},_getCookieName:function(i){return this.id+"_"+i;},_restoreState:function(){dojo.forEach(this.getChildren(),function(_68b,i){var _68d=this._getCookieName(i);var _68e=dojo.cookie(_68d);if(_68e){var pos=parseInt(_68e);if(typeof pos=="number"){_68b.sizeShare=pos;}}},this);},_saveState:function(){dojo.forEach(this.getChildren(),function(_690,i){dojo.cookie(this._getCookieName(i),_690.sizeShare);},this);}});dojo.extend(dijit._Widget,{sizeMin:10,sizeShare:10});}if(!dojo._hasResource["dijit.layout.TabContainer"]){dojo._hasResource["dijit.layout.TabContainer"]=true;dojo.provide("dijit.layout.TabContainer");dojo.declare("dijit.layout.TabContainer",[dijit.layout.StackContainer,dijit._Templated],{tabPosition:"top",templateString:null,templateString:"
    \n\t
    \n\t
    \n
    \n",postCreate:function(){dijit.layout.TabContainer.superclass.postCreate.apply(this,arguments);this.tablist=new dijit.layout.TabController({id:this.id+"_tablist",tabPosition:this.tabPosition,doLayout:this.doLayout,containerId:this.id},this.tablistNode);},_setupChild:function(tab){dojo.addClass(tab.domNode,"dijitTabPane");this.inherited("_setupChild",arguments);return tab;},startup:function(){if(this._started){return;}this.tablist.startup();this.inherited("startup",arguments);if(dojo.isSafari){setTimeout(dojo.hitch(this,"layout"),0);}},layout:function(){if(!this.doLayout){return;}var _693=this.tabPosition.replace(/-h/,"");var _694=[{domNode:this.tablist.domNode,layoutAlign:_693},{domNode:this.containerNode,layoutAlign:"client"}];dijit.layout.layoutChildren(this.domNode,this._contentBox,_694);this._containerContentBox=dijit.layout.marginBox2contentBox(this.containerNode,_694[1]);if(this.selectedChildWidget){this._showChild(this.selectedChildWidget);if(this.doLayout&&this.selectedChildWidget.resize){this.selectedChildWidget.resize(this._containerContentBox);}}},destroy:function(){this.tablist.destroy();this.inherited("destroy",arguments);}});dojo.declare("dijit.layout.TabController",dijit.layout.StackController,{templateString:"
    ",tabPosition:"top",doLayout:true,buttonWidget:"dijit.layout._TabButton",postMixInProperties:function(){this["class"]="dijitTabLabels-"+this.tabPosition+(this.doLayout?"":" dijitTabNoLayout");this.inherited("postMixInProperties",arguments);}});dojo.declare("dijit.layout._TabButton",dijit.layout._StackButton,{baseClass:"dijitTab",templateString:"
    \n
    \n ${!label}\n \n x\n \n
    \n
    \n",postCreate:function(){if(this.closeButton){dojo.addClass(this.innerDiv,"dijitClosable");}else{this.closeButtonNode.style.display="none";}this.inherited("postCreate",arguments);dojo.setSelectable(this.containerNode,false);}});}if(!dojo._hasResource["dijit.dijit-all"]){dojo._hasResource["dijit.dijit-all"]=true;console.warn("dijit-all may include much more code than your application actually requires. We strongly recommend that you investigate a custom build or the web build tool");dojo.provide("dijit.dijit-all");}dojo.i18n._preloadLocalizations("dijit.nls.dijit-all",["es-es","es","hu","it-it","de","pt-br","pl","fr-fr","zh-cn","pt","en-us","zh","ru","xx","fr","zh-tw","it","cs","en-gb","de-de","ja-jp","ko-kr","ko","en","ROOT","ja"]); diff --git a/spring-faces/src/main/resources/META-INF/dijit/dijit-all.js.uncompressed.js b/spring-faces/src/main/resources/META-INF/dijit/dijit-all.js.uncompressed.js deleted file mode 100644 index 49af4c93..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/dijit-all.js.uncompressed.js +++ /dev/null @@ -1,14764 +0,0 @@ -/* - Copyright (c) 2004-2007, 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/book/dojo-book-0-9/introduction/licensing -*/ - -/* - This is a compiled version of Dojo, built for deployment and not for - development. To get an editable version, please visit: - - http://dojotoolkit.org - - for documentation and information on getting the source. -*/ - -if(!dojo._hasResource["dojo.colors"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo.colors"] = true; -dojo.provide("dojo.colors"); - -(function(){ - // this is a standard convertion prescribed by the CSS3 Color Module - var hue2rgb = function(m1, m2, h){ - if(h < 0){ ++h; } - if(h > 1){ --h; } - var h6 = 6 * h; - if(h6 < 1){ return m1 + (m2 - m1) * h6; } - if(2 * h < 1){ return m2; } - if(3 * h < 2){ return m1 + (m2 - m1) * (2 / 3 - h) * 6; } - return m1; - }; - - dojo.colorFromRgb = function(/*String*/ color, /*dojo.Color?*/ obj){ - // summary: - // get rgb(a) array from css-style color declarations - // description: - // this function can handle all 4 CSS3 Color Module formats: rgb, - // rgba, hsl, hsla, including rgb(a) with percentage values. - var m = color.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/); - if(m){ - var c = m[2].split(/\s*,\s*/), l = c.length, t = m[1]; - if((t == "rgb" && l == 3) || (t == "rgba" && l == 4)){ - var r = c[0]; - if(r.charAt(r.length - 1) == "%"){ - // 3 rgb percentage values - var a = dojo.map(c, function(x){ - return parseFloat(x) * 2.56; - }); - if(l == 4){ a[3] = c[3]; } - return dojo.colorFromArray(a, obj); // dojo.Color - } - return dojo.colorFromArray(c, obj); // dojo.Color - } - if((t == "hsl" && l == 3) || (t == "hsla" && l == 4)){ - // normalize hsl values - var H = ((parseFloat(c[0]) % 360) + 360) % 360 / 360, - S = parseFloat(c[1]) / 100, - L = parseFloat(c[2]) / 100, - // calculate rgb according to the algorithm - // recommended by the CSS3 Color Module - m2 = L <= 0.5 ? L * (S + 1) : L + S - L * S, - m1 = 2 * L - m2, - a = [hue2rgb(m1, m2, H + 1 / 3) * 256, - hue2rgb(m1, m2, H) * 256, hue2rgb(m1, m2, H - 1 / 3) * 256, 1]; - if(l == 4){ a[3] = c[3]; } - return dojo.colorFromArray(a, obj); // dojo.Color - } - } - return null; // dojo.Color - }; - - var confine = function(c, low, high){ - // summary: - // sanitize a color component by making sure it is a number, - // and clamping it to valid values - c = Number(c); - return isNaN(c) ? high : c < low ? low : c > high ? high : c; // Number - }; - - dojo.Color.prototype.sanitize = function(){ - // summary: makes sure that the object has correct attributes - var t = this; - t.r = Math.round(confine(t.r, 0, 255)); - t.g = Math.round(confine(t.g, 0, 255)); - t.b = Math.round(confine(t.b, 0, 255)); - t.a = confine(t.a, 0, 1); - return this; // dojo.Color - }; -})(); - - -dojo.colors.makeGrey = function(/*Number*/ g, /*Number?*/ a){ - // summary: creates a greyscale color with an optional alpha - return dojo.colorFromArray([g, g, g, a]); -}; - - -// mixin all CSS3 named colors not already in _base, along with SVG 1.0 variant spellings -dojo.Color.named = dojo.mixin({ - aliceblue: [240,248,255], - antiquewhite: [250,235,215], - aquamarine: [127,255,212], - azure: [240,255,255], - beige: [245,245,220], - bisque: [255,228,196], - blanchedalmond: [255,235,205], - blueviolet: [138,43,226], - brown: [165,42,42], - burlywood: [222,184,135], - cadetblue: [95,158,160], - chartreuse: [127,255,0], - chocolate: [210,105,30], - coral: [255,127,80], - cornflowerblue: [100,149,237], - cornsilk: [255,248,220], - crimson: [220,20,60], - cyan: [0,255,255], - darkblue: [0,0,139], - darkcyan: [0,139,139], - darkgoldenrod: [184,134,11], - darkgray: [169,169,169], - darkgreen: [0,100,0], - darkgrey: [169,169,169], - darkkhaki: [189,183,107], - darkmagenta: [139,0,139], - darkolivegreen: [85,107,47], - darkorange: [255,140,0], - darkorchid: [153,50,204], - darkred: [139,0,0], - darksalmon: [233,150,122], - darkseagreen: [143,188,143], - darkslateblue: [72,61,139], - darkslategray: [47,79,79], - darkslategrey: [47,79,79], - darkturquoise: [0,206,209], - darkviolet: [148,0,211], - deeppink: [255,20,147], - deepskyblue: [0,191,255], - dimgray: [105,105,105], - dimgrey: [105,105,105], - dodgerblue: [30,144,255], - firebrick: [178,34,34], - floralwhite: [255,250,240], - forestgreen: [34,139,34], - gainsboro: [220,220,220], - ghostwhite: [248,248,255], - gold: [255,215,0], - goldenrod: [218,165,32], - greenyellow: [173,255,47], - grey: [128,128,128], - honeydew: [240,255,240], - hotpink: [255,105,180], - indianred: [205,92,92], - indigo: [75,0,130], - ivory: [255,255,240], - khaki: [240,230,140], - lavender: [230,230,250], - lavenderblush: [255,240,245], - lawngreen: [124,252,0], - lemonchiffon: [255,250,205], - lightblue: [173,216,230], - lightcoral: [240,128,128], - lightcyan: [224,255,255], - lightgoldenrodyellow: [250,250,210], - lightgray: [211,211,211], - lightgreen: [144,238,144], - lightgrey: [211,211,211], - lightpink: [255,182,193], - lightsalmon: [255,160,122], - lightseagreen: [32,178,170], - lightskyblue: [135,206,250], - lightslategray: [119,136,153], - lightslategrey: [119,136,153], - lightsteelblue: [176,196,222], - lightyellow: [255,255,224], - limegreen: [50,205,50], - linen: [250,240,230], - magenta: [255,0,255], - mediumaquamarine: [102,205,170], - mediumblue: [0,0,205], - mediumorchid: [186,85,211], - mediumpurple: [147,112,219], - mediumseagreen: [60,179,113], - mediumslateblue: [123,104,238], - mediumspringgreen: [0,250,154], - mediumturquoise: [72,209,204], - mediumvioletred: [199,21,133], - midnightblue: [25,25,112], - mintcream: [245,255,250], - mistyrose: [255,228,225], - moccasin: [255,228,181], - navajowhite: [255,222,173], - oldlace: [253,245,230], - olivedrab: [107,142,35], - orange: [255,165,0], - orangered: [255,69,0], - orchid: [218,112,214], - palegoldenrod: [238,232,170], - palegreen: [152,251,152], - paleturquoise: [175,238,238], - palevioletred: [219,112,147], - papayawhip: [255,239,213], - peachpuff: [255,218,185], - peru: [205,133,63], - pink: [255,192,203], - plum: [221,160,221], - powderblue: [176,224,230], - rosybrown: [188,143,143], - royalblue: [65,105,225], - saddlebrown: [139,69,19], - salmon: [250,128,114], - sandybrown: [244,164,96], - seagreen: [46,139,87], - seashell: [255,245,238], - sienna: [160,82,45], - skyblue: [135,206,235], - slateblue: [106,90,205], - slategray: [112,128,144], - slategrey: [112,128,144], - snow: [255,250,250], - springgreen: [0,255,127], - steelblue: [70,130,180], - tan: [210,180,140], - thistle: [216,191,216], - tomato: [255,99,71], - transparent: [0, 0, 0, 0], - turquoise: [64,224,208], - violet: [238,130,238], - wheat: [245,222,179], - whitesmoke: [245,245,245], - yellowgreen: [154,205,50] -}, dojo.Color.named); - -} - -if(!dojo._hasResource["dojo.i18n"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo.i18n"] = true; -dojo.provide("dojo.i18n"); - -dojo.i18n.getLocalization = function(/*String*/packageName, /*String*/bundleName, /*String?*/locale){ - // summary: - // Returns an Object containing the localization for a given resource - // bundle in a package, matching the specified locale. - // description: - // Returns a hash containing name/value pairs in its prototypesuch - // that values can be easily overridden. Throws an exception if the - // bundle is not found. Bundle must have already been loaded by - // dojo.requireLocalization() or by a build optimization step. NOTE: - // try not to call this method as part of an object property - // definition (var foo = { bar: dojo.i18n.getLocalization() }). In - // some loading situations, the bundle may not be available in time - // for the object definition. Instead, call this method inside a - // function that is run after all modules load or the page loads (like - // in dojo.adOnLoad()), or in a widget lifecycle method. - // packageName: - // package which is associated with this resource - // bundleName: - // the base filename of the resource bundle (without the ".js" suffix) - // locale: - // the variant to load (optional). By default, the locale defined by - // the host environment: dojo.locale - - locale = dojo.i18n.normalizeLocale(locale); - - // look for nearest locale match - var elements = locale.split('-'); - var module = [packageName,"nls",bundleName].join('.'); - var bundle = dojo._loadedModules[module]; - if(bundle){ - var localization; - for(var i = elements.length; i > 0; i--){ - var loc = elements.slice(0, i).join('_'); - if(bundle[loc]){ - localization = bundle[loc]; - break; - } - } - if(!localization){ - localization = bundle.ROOT; - } - - // make a singleton prototype so that the caller won't accidentally change the values globally - if(localization){ - var clazz = function(){}; - clazz.prototype = localization; - return new clazz(); // Object - } - } - - throw new Error("Bundle not found: " + bundleName + " in " + packageName+" , locale=" + locale); -}; - -dojo.i18n.normalizeLocale = function(/*String?*/locale){ - // summary: - // Returns canonical form of locale, as used by Dojo. - // - // description: - // All variants are case-insensitive and are separated by '-' as specified in RFC 3066. - // If no locale is specified, the dojo.locale is returned. dojo.locale is defined by - // the user agent's locale unless overridden by djConfig. - - var result = locale ? locale.toLowerCase() : dojo.locale; - if(result == "root"){ - result = "ROOT"; - } - return result; // String -}; - -dojo.i18n._requireLocalization = function(/*String*/moduleName, /*String*/bundleName, /*String?*/locale, /*String?*/availableFlatLocales){ - // summary: - // See dojo.requireLocalization() - // description: - // Called by the bootstrap, but factored out so that it is only - // included in the build when needed. - - var targetLocale = dojo.i18n.normalizeLocale(locale); - var bundlePackage = [moduleName, "nls", bundleName].join("."); - // NOTE: - // When loading these resources, the packaging does not match what is - // on disk. This is an implementation detail, as this is just a - // private data structure to hold the loaded resources. e.g. - // tests/hello/nls/en-us/salutations.js is loaded as the object - // tests.hello.nls.salutations.en_us={...} The structure on disk is - // intended to be most convenient for developers and translators, but - // in memory it is more logical and efficient to store in a different - // order. Locales cannot use dashes, since the resulting path will - // not evaluate as valid JS, so we translate them to underscores. - - //Find the best-match locale to load if we have available flat locales. - var bestLocale = ""; - if(availableFlatLocales){ - var flatLocales = availableFlatLocales.split(","); - for(var i = 0; i < flatLocales.length; i++){ - //Locale must match from start of string. - if(targetLocale.indexOf(flatLocales[i]) == 0){ - if(flatLocales[i].length > bestLocale.length){ - bestLocale = flatLocales[i]; - } - } - } - if(!bestLocale){ - bestLocale = "ROOT"; - } - } - - //See if the desired locale is already loaded. - var tempLocale = availableFlatLocales ? bestLocale : targetLocale; - var bundle = dojo._loadedModules[bundlePackage]; - var localizedBundle = null; - if(bundle){ - if(djConfig.localizationComplete && bundle._built){return;} - var jsLoc = tempLocale.replace(/-/g, '_'); - var translationPackage = bundlePackage+"."+jsLoc; - localizedBundle = dojo._loadedModules[translationPackage]; - } - - if(!localizedBundle){ - bundle = dojo["provide"](bundlePackage); - var syms = dojo._getModuleSymbols(moduleName); - var modpath = syms.concat("nls").join("/"); - var parent; - - dojo.i18n._searchLocalePath(tempLocale, availableFlatLocales, function(loc){ - var jsLoc = loc.replace(/-/g, '_'); - var translationPackage = bundlePackage + "." + jsLoc; - var loaded = false; - if(!dojo._loadedModules[translationPackage]){ - // Mark loaded whether it's found or not, so that further load attempts will not be made - dojo["provide"](translationPackage); - var module = [modpath]; - if(loc != "ROOT"){module.push(loc);} - module.push(bundleName); - var filespec = module.join("/") + '.js'; - loaded = dojo._loadPath(filespec, null, function(hash){ - // Use singleton with prototype to point to parent bundle, then mix-in result from loadPath - var clazz = function(){}; - clazz.prototype = parent; - bundle[jsLoc] = new clazz(); - for(var j in hash){ bundle[jsLoc][j] = hash[j]; } - }); - }else{ - loaded = true; - } - if(loaded && bundle[jsLoc]){ - parent = bundle[jsLoc]; - }else{ - bundle[jsLoc] = parent; - } - - if(availableFlatLocales){ - //Stop the locale path searching if we know the availableFlatLocales, since - //the first call to this function will load the only bundle that is needed. - return true; - } - }); - } - - //Save the best locale bundle as the target locale bundle when we know the - //the available bundles. - if(availableFlatLocales && targetLocale != bestLocale){ - bundle[targetLocale.replace(/-/g, '_')] = bundle[bestLocale.replace(/-/g, '_')]; - } -}; - -(function(){ - // If other locales are used, dojo.requireLocalization should load them as - // well, by default. - // - // Override dojo.requireLocalization to do load the default bundle, then - // iterate through the extraLocale list and load those translations as - // well, unless a particular locale was requested. - - var extra = djConfig.extraLocale; - if(extra){ - if(!extra instanceof Array){ - extra = [extra]; - } - - var req = dojo.i18n._requireLocalization; - dojo.i18n._requireLocalization = function(m, b, locale, availableFlatLocales){ - req(m,b,locale, availableFlatLocales); - if(locale){return;} - for(var i=0; i 0; i--){ - searchlist.push(elements.slice(0, i).join('-')); - } - searchlist.push(false); - if(down){searchlist.reverse();} - - for(var j = searchlist.length - 1; j >= 0; j--){ - var loc = searchlist[j] || "ROOT"; - var stop = searchFunc(loc); - if(stop){ break; } - } -}; - -dojo.i18n._preloadLocalizations = function(/*String*/bundlePrefix, /*Array*/localesGenerated){ - // summary: - // Load built, flattened resource bundles, if available for all - // locales used in the page. Only called by built layer files. - - function preload(locale){ - locale = dojo.i18n.normalizeLocale(locale); - dojo.i18n._searchLocalePath(locale, true, function(loc){ - for(var i=0; i\n\t
    \n\t\t\n\t
    \t\n
    \n", - - // _paletteDims: Object - // Size of the supported palettes for alignment purposes. - _paletteDims: { - "7x10": {"width": "206px", "height": "145px"}, - "3x4": {"width": "86px", "height": "64px"} - }, - - - postCreate: function(){ - // A name has to be given to the colorMap, this needs to be unique per Palette. - dojo.mixin(this.divNode.style, this._paletteDims[this.palette]); - this.imageNode.setAttribute("src", this._imagePaths[this.palette]); - var choices = this._palettes[this.palette]; - this.domNode.style.position = "relative"; - this._highlightNodes = []; - this.colorNames = dojo.i18n.getLocalization("dojo", "colors", this.lang); - - for(var row=0; row < choices.length; row++){ - for(var col=0; col < choices[row].length; col++){ - var highlightNode = document.createElement("img"); - highlightNode.src = dojo.moduleUrl("dijit", "templates/blank.gif"); - dojo.addClass(highlightNode, "dijitPaletteImg"); - var color = choices[row][col]; - var colorValue = new dojo.Color(dojo.Color.named[color]); - highlightNode.alt = this.colorNames[color]; - highlightNode.color = colorValue.toHex(); - var highlightStyle = highlightNode.style; - highlightStyle.color = highlightStyle.backgroundColor = highlightNode.color; - dojo.forEach(["Dijitclick", "MouseOut", "MouseOver", "Blur", "Focus"], function(handler){ - this.connect(highlightNode, "on"+handler.toLowerCase(), "_onColor"+handler); - }, this); - this.divNode.appendChild(highlightNode); - var coords = this._paletteCoords; - highlightStyle.top = coords.topOffset + (row * coords.cHeight) + "px"; - highlightStyle.left = coords.leftOffset + (col * coords.cWidth) + "px"; - highlightNode.setAttribute("tabIndex","-1"); - highlightNode.title = this.colorNames[color]; - dijit.setWaiRole(highlightNode, "gridcell"); - highlightNode.index = this._highlightNodes.length; - this._highlightNodes.push(highlightNode); - } - } - this._highlightNodes[this._currentFocus].tabIndex = 0; - this._xDim = choices[0].length; - this._yDim = choices.length; - - // Now set all events - // The palette itself is navigated to with the tab key on the keyboard - // Keyboard navigation within the Palette is with the arrow keys - // Spacebar selects the color. - // For the up key the index is changed by negative the x dimension. - - var keyIncrementMap = { - UP_ARROW: -this._xDim, - // The down key the index is increase by the x dimension. - DOWN_ARROW: this._xDim, - // Right and left move the index by 1. - RIGHT_ARROW: 1, - LEFT_ARROW: -1 - }; - for(var key in keyIncrementMap){ - dijit.typematic.addKeyListener(this.domNode, - {keyCode:dojo.keys[key], ctrlKey:false, altKey:false, shiftKey:false}, - this, - function(){ - var increment = keyIncrementMap[key]; - return function(count){ this._navigateByKey(increment, count); }; - }(), - this.timeoutChangeRate, this.defaultTimeout); - } - }, - - focus: function(){ - // summary: - // Focus this ColorPalette. - dijit.focus(this._highlightNodes[this._currentFocus]); - }, - - onChange: function(color){ - // summary: - // Callback when a color is selected. - // color: String - // Hex value corresponding to color. -// console.debug("Color selected is: "+color); - }, - - _onColorDijitclick: function(/*Event*/ evt){ - // summary: - // Handler for click, enter key & space key. Selects the color. - // evt: - // The event. - var target = evt.currentTarget; - if (this._currentFocus != target.index){ - this._currentFocus = target.index; - dijit.focus(target); - } - this._selectColor(target); - dojo.stopEvent(evt); - }, - - _onColorMouseOut: function(/*Event*/ evt){ - // summary: - // Handler for onMouseOut. Removes highlight. - // evt: - // The mouse event. - dojo.removeClass(evt.currentTarget, "dijitPaletteImgHighlight"); - }, - - _onColorMouseOver: function(/*Event*/ evt){ - // summary: - // Handler for onMouseOver. Highlights the color. - // evt: - // The mouse event. - var target = evt.currentTarget; - target.tabIndex = 0; - target.focus(); - }, - - _onColorBlur: function(/*Event*/ evt){ - // summary: - // Handler for onBlur. Removes highlight and sets - // the first color as the palette's tab point. - // evt: - // The blur event. - dojo.removeClass(evt.currentTarget, "dijitPaletteImgHighlight"); - evt.currentTarget.tabIndex = -1; - this._currentFocus = 0; - this._highlightNodes[0].tabIndex = 0; - }, - - _onColorFocus: function(/*Event*/ evt){ - // summary: - // Handler for onFocus. Highlights the color. - // evt: - // The focus event. - if(this._currentFocus != evt.currentTarget.index){ - this._highlightNodes[this._currentFocus].tabIndex = -1; - } - this._currentFocus = evt.currentTarget.index; - dojo.addClass(evt.currentTarget, "dijitPaletteImgHighlight"); - - }, - - _selectColor: function(selectNode){ - // summary: - // This selects a color. It triggers the onChange event - // area: - // The area node that covers the color being selected. - this.onChange(this.value = selectNode.color); - }, - - _navigateByKey: function(increment, typeCount){ - // summary:we - // This is the callback for typematic. - // It changes the focus and the highlighed color. - // increment: - // How much the key is navigated. - // typeCount: - // How many times typematic has fired. - - // typecount == -1 means the key is released. - if(typeCount == -1){ return; } - - var newFocusIndex = this._currentFocus + increment; - if(newFocusIndex < this._highlightNodes.length && newFocusIndex > -1) - { - var focusNode = this._highlightNodes[newFocusIndex]; - focusNode.tabIndex = 0; - focusNode.focus(); - } - } -}); - -} - -if(!dojo._hasResource["dijit.Declaration"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.Declaration"] = true; -dojo.provide("dijit.Declaration"); - - - -dojo.declare( - "dijit.Declaration", - dijit._Widget, - { - // summary: - // The Declaration widget allows a user to declare new widget - // classes directly from a snippet of markup. - - _noScript: true, - widgetClass: "", - replaceVars: true, - defaults: null, - mixins: [], - buildRendering: function(){ - var src = this.srcNodeRef.parentNode.removeChild(this.srcNodeRef); - var preambles = dojo.query("> script[type='dojo/method'][event='preamble']", src).orphan(); - var scripts = dojo.query("> script[type^='dojo/']", src).orphan(); - var srcType = src.nodeName; - - var propList = this.defaults||{}; - - // map array of strings like [ "dijit.form.Button" ] to array of mixin objects - // (note that dojo.map(this.mixins, dojo.getObject) doesn't work because it passes - // a bogus third argument to getObject(), confusing it) - this.mixins = this.mixins.length ? - dojo.map(this.mixins, function(name){ return dojo.getObject(name); } ) : - [ dijit._Widget, dijit._Templated ]; - - if(preambles.length){ - // we only support one preamble. So be it. - propList.preamble = dojo.parser._functionFromScript(preambles[0]); - } - propList.widgetsInTemplate = true; - propList._skipNodeCache = true; - propList.templateString = "<"+srcType+" class='"+src.className+"' dojoAttachPoint='"+(src.getAttribute("dojoAttachPoint")||'')+"' dojoAttachEvent='"+(src.getAttribute("dojoAttachEvent")||'')+"' >"+src.innerHTML.replace(/\%7B/g,"{").replace(/\%7D/g,"}")+""; - // console.debug(propList.templateString); - - // strip things so we don't create stuff under us in the initial setup phase - dojo.query("[dojoType]", src).forEach(function(node){ - node.removeAttribute("dojoType"); - }); - - // create the new widget class - dojo.declare( - this.widgetClass, - this.mixins, - propList - ); - - // do the connects for each "'+ - ' dojoAttachPoint="iframe,styleNode" dojoAttachEvent="onblur:_onIframeBlur" class="dijitInline dijitInputField dijitTextArea">') - + '' - + ((dojo.isIE || dojo.isSafari) ? '':'') - : '', - - focus: function(){ - // summary: Received focus, needed for the InlineEditBox widget - if(!this.disabled){ - this._changing(); // set initial height - } - if(dojo.isMozilla){ - dijit.focus(this.iframe); - }else{ - dijit.focus(this.focusNode); - } - }, - - setValue: function(/*String*/ value, /*Boolean, optional*/ priorityChange){ - var editNode = this.editNode; - if(typeof value == "string"){ - editNode.innerHTML = ""; // wipe out old nodes - if(value.split){ - var _this=this; - var isFirst = true; - dojo.forEach(value.split("\n"), function(line){ - if(isFirst){ isFirst = false; } - else { - editNode.appendChild(document.createElement("BR")); // preserve line breaks - } - editNode.appendChild(document.createTextNode(line)); // use text nodes so that imbedded tags can be edited - }); - }else{ - editNode.appendChild(document.createTextNode(value)); - } - }else{ - // blah
    blah --> blah\nblah - //

    blah

    blah

    --> blah\nblah - //
    blah
    blah
    --> blah\nblah - // &<> -->&< > - value = editNode.innerHTML; - if(this.iframe){ // strip sizeNode - value = value.replace(/
    <\/div>\r?\n?$/i,""); - } - value = value.replace(/\s*\r?\n|^\s+|\s+$| /g,"").replace(/>\s+<").replace(/<\/(p|div)>$|^<(p|div)[^>]*>/gi,"").replace(/([^>])
    /g,"$1\n").replace(/<\/p>\s*]*>|]*>/gi,"\n").replace(/<[^>]*>/g,"").replace(/&/gi,"\&").replace(/</gi,"<").replace(/>/gi,">"); - } - this.value = this.formValueNode.value = value; - if(this.iframe){ - var sizeNode = document.createElement('div'); - editNode.appendChild(sizeNode); - var newHeight = sizeNode.offsetTop; - if(editNode.scrollWidth > editNode.clientWidth){ newHeight+=16; } // scrollbar space needed? - if(this.lastHeight != newHeight){ // cache size so that we don't get a resize event because of a resize event - if(newHeight == 0){ newHeight = 16; } // height = 0 causes the browser to not set scrollHeight - dojo.contentBox(this.iframe, {h: newHeight}); - this.lastHeight = newHeight; - } - editNode.removeChild(sizeNode); - } - dijit.form.Textarea.superclass.setValue.call(this, this.getValue(), priorityChange); - }, - - getValue: function(){ - return this.formValueNode.value.replace(/\r/g,""); - }, - - postMixInProperties: function(){ - dijit.form.Textarea.superclass.postMixInProperties.apply(this,arguments); - // don't let the source text be converted to a DOM structure since we just want raw text - if(this.srcNodeRef && this.srcNodeRef.innerHTML != ""){ - this.value = this.srcNodeRef.innerHTML; - this.srcNodeRef.innerHTML = ""; - } - if((!this.value || this.value == "") && this.srcNodeRef && this.srcNodeRef.value){ - this.value = this.srcNodeRef.value; - } - if(!this.value){ this.value = ""; } - this.value = this.value.replace(/\r\n/g,"\n").replace(/>/g,">").replace(/</g,"<").replace(/&/g,"&"); - if(dojo.isMozilla){ - // In the case of Firefox an iframe is used and when the text gets focus, - // focus is fired from the document object. There isn't a way to put a - // waiRole on the document object and as a result screen readers don't - // announce the role. As a result screen reader users are lost. - // - // An additional problem is that the browser gives the document object a - // very cryptic accessible name, e.g. - // wysiwyg://13/http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_InlineEditBox.html - // When focus is fired from the document object, the screen reader speaks - // the accessible name. The cyptic accessile name is confusing. - // - // A workaround for both of these problems is to give the iframe's - // document a title, the name of which is similar to a role name, i.e. - // "edit area". This will be used as the accessible name which will replace - // the cryptic name and will also convey the role information to the user. - // Because it is read directly to the user, the string must be localized. - var _nlsResources = dojo.i18n.getLocalization("dijit", "Textarea"); - this._iframeEditTitle = _nlsResources.iframeEditTitle; - this._iframeFocusTitle = _nlsResources.iframeFocusTitle; - var body = this.focusNode = this.editNode = document.createElement('BODY'); - body.style.margin="0px"; - body.style.padding="0px"; - body.style.border="0px"; - } - }, - - postCreate: function(){ - if(dojo.isIE || dojo.isSafari){ - this.domNode.style.overflowY = 'hidden'; - }else if(dojo.isMozilla){ - var w = this.iframe.contentWindow; - try { // #4715: peeking at the title can throw a security exception during iframe setup - var title = this.iframe.contentDocument.title; - } catch(e) { var title = ''; } - if(!w || !title){ - this.iframe.postCreate = dojo.hitch(this, this.postCreate); - return; - } - var d = w.document; - d.getElementsByTagName('HTML')[0].replaceChild(this.editNode, d.getElementsByTagName('BODY')[0]); - if(!this.isLeftToRight()){ - d.getElementsByTagName('HTML')[0].dir = "rtl"; - } - this.iframe.style.overflowY = 'hidden'; - this.eventNode = d; - // this.connect won't destroy this handler cleanly since its on the iframe's window object - // resize is a method of window, not document - w.addEventListener("resize", dojo.hitch(this, this._changed), false); // resize is only on the window object - }else{ - this.focusNode = this.domNode; - } - if(this.eventNode){ - this.connect(this.eventNode, "keypress", this._onKeyPress); - this.connect(this.eventNode, "mousemove", this._changed); - this.connect(this.eventNode, "focus", this._focused); - this.connect(this.eventNode, "blur", this._blurred); - } - if(this.editNode){ - this.connect(this.editNode, "change", this._changed); // needed for mouse paste events per #3479 - } - this.inherited('postCreate', arguments); - }, - - // event handlers, you can over-ride these in your own subclasses - _focused: function(e){ - dojo.addClass(this.iframe||this.domNode, "dijitInputFieldFocused"); - this._changed(e); - }, - - _blurred: function(e){ - dojo.removeClass(this.iframe||this.domNode, "dijitInputFieldFocused"); - this._changed(e, true); - }, - - _onIframeBlur: function(){ - // Reset the title back to "edit area". - this.iframe.contentDocument.title = this._iframeEditTitle; - }, - - _onKeyPress: function(e){ - if(e.keyCode == dojo.keys.TAB && !e.shiftKey && !e.ctrlKey && !e.altKey && this.iframe){ - // Pressing the tab key in the iframe (with designMode on) will cause the - // entry of a tab character so we have to trap that here. Since we don't - // know the next focusable object we put focus on the iframe and then the - // user has to press tab again (which then does the expected thing). - // A problem with that is that the screen reader user hears "edit area" - // announced twice which causes confusion. By setting the - // contentDocument's title to "edit area frame" the confusion should be - // eliminated. - this.iframe.contentDocument.title = this._iframeFocusTitle; - // Place focus on the iframe. A subsequent tab or shift tab will put focus - // on the correct control. - // Note: Can't use this.focus() because that results in a call to - // dijit.focus and if that receives an iframe target it will set focus - // on the iframe's contentWindow. - this.iframe.focus(); // this.focus(); won't work - dojo.stopEvent(e); - }else if(e.keyCode == dojo.keys.ENTER){ - e.stopPropagation(); - }else if(this.inherited("_onKeyPress", arguments) && this.iframe){ - // #3752: - // The key press will not make it past the iframe. - // If a widget is listening outside of the iframe, (like InlineEditBox) - // it will not hear anything. - // Create an equivalent event so everyone else knows what is going on. - var te = document.createEvent("KeyEvents"); - te.initKeyEvent("keypress", true, true, null, e.ctrlKey, e.altKey, e.shiftKey, e.metaKey, e.keyCode, e.charCode); - this.iframe.dispatchEvent(te); - } - this._changing(); - }, - - _changing: function(e){ - // summary: event handler for when a change is imminent - setTimeout(dojo.hitch(this, "_changed", e, false), 1); - }, - - _changed: function(e, priorityChange){ - // summary: event handler for when a change has already happened - if(this.iframe && this.iframe.contentDocument.designMode != "on"){ - this.iframe.contentDocument.designMode="on"; // in case this failed on init due to being hidden - } - this.setValue(null, priorityChange); - } -}); - -} - -if(!dojo._hasResource["dijit.layout.StackContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.StackContainer"] = true; -dojo.provide("dijit.layout.StackContainer"); - - - - - -dojo.declare( - "dijit.layout.StackContainer", - dijit.layout._LayoutWidget, - - // summary - // A container that has multiple children, but shows only - // one child at a time (like looking at the pages in a book one by one). - // - // Publishes topics -addChild, -removeChild, and -selectChild - // - // Can be base class for container, Wizard, Show, etc. -{ - // doLayout: Boolean - // if true, change the size of my currently displayed child to match my size - doLayout: true, - - _started: false, - - // selectedChildWidget: Widget - // References the currently selected child widget, if any - - postCreate: function(){ - dijit.setWaiRole((this.containerNode || this.domNode), "tabpanel"); - this.connect(this.domNode, "onkeypress", this._onKeyPress); - }, - - startup: function(){ - if(this._started){ return; } - - var children = this.getChildren(); - - // Setup each page panel - dojo.forEach(children, this._setupChild, this); - - // Figure out which child to initially display - dojo.some(children, function(child){ - if(child.selected){ - this.selectedChildWidget = child; - } - return child.selected; - }, this); - - var selected = this.selectedChildWidget; - - // Default to the first child - if(!selected && children[0]){ - selected = this.selectedChildWidget = children[0]; - selected.selected = true; - } - if(selected){ - this._showChild(selected); - } - - // Now publish information about myself so any StackControllers can initialize.. - dojo.publish(this.id+"-startup", [{children: children, selected: selected}]); - this.inherited("startup",arguments); - this._started = true; - }, - - _setupChild: function(/*Widget*/ page){ - // Summary: prepare the given child - - page.domNode.style.display = "none"; - - // since we are setting the width/height of the child elements, they need - // to be position:relative, or IE has problems (See bug #2033) - page.domNode.style.position = "relative"; - - return page; // dijit._Widget - }, - - addChild: function(/*Widget*/ child, /*Integer?*/ insertIndex){ - // summary: Adds a widget to the stack - - dijit._Container.prototype.addChild.apply(this, arguments); - child = this._setupChild(child); - - if(this._started){ - // in case the tab titles have overflowed from one line to two lines - this.layout(); - - dojo.publish(this.id+"-addChild", [child, insertIndex]); - - // if this is the first child, then select it - if(!this.selectedChildWidget){ - this.selectChild(child); - } - } - }, - - removeChild: function(/*Widget*/ page){ - // summary: Removes the pane from the stack - - dijit._Container.prototype.removeChild.apply(this, arguments); - - // If we are being destroyed than don't run the code below (to select another page), because we are deleting - // every page one by one - if(this._beingDestroyed){ return; } - - if(this._started){ - // this will notify any tablists to remove a button; do this first because it may affect sizing - dojo.publish(this.id+"-removeChild", [page]); - - // in case the tab titles now take up one line instead of two lines - this.layout(); - } - - if(this.selectedChildWidget === page){ - this.selectedChildWidget = undefined; - if(this._started){ - var children = this.getChildren(); - if(children.length){ - this.selectChild(children[0]); - } - } - } - }, - - selectChild: function(/*Widget*/ page){ - // summary: - // Show the given widget (which must be one of my children) - - page = dijit.byId(page); - - if(this.selectedChildWidget != page){ - // Deselect old page and select new one - this._transition(page, this.selectedChildWidget); - this.selectedChildWidget = page; - dojo.publish(this.id+"-selectChild", [page]); - } - }, - - _transition: function(/*Widget*/newWidget, /*Widget*/oldWidget){ - if(oldWidget){ - this._hideChild(oldWidget); - } - this._showChild(newWidget); - - // Size the new widget, in case this is the first time it's being shown, - // or I have been resized since the last time it was shown. - // page must be visible for resizing to work - if(this.doLayout && newWidget.resize){ - newWidget.resize(this._containerContentBox || this._contentBox); - } - }, - - _adjacent: function(/*Boolean*/ forward){ - // summary: Gets the next/previous child widget in this container from the current selection - var children = this.getChildren(); - var index = dojo.indexOf(children, this.selectedChildWidget); - index += forward ? 1 : children.length - 1; - return children[ index % children.length ]; // dijit._Widget - }, - - forward: function(){ - // Summary: advance to next page - this.selectChild(this._adjacent(true)); - }, - - back: function(){ - // Summary: go back to previous page - this.selectChild(this._adjacent(false)); - }, - - _onKeyPress: function(e){ - dojo.publish(this.id+"-containerKeyPress", [{ e: e, page: this}]); - }, - - layout: function(){ - if(this.doLayout && this.selectedChildWidget && this.selectedChildWidget.resize){ - this.selectedChildWidget.resize(this._contentBox); - } - }, - - _showChild: function(/*Widget*/ page){ - var children = this.getChildren(); - page.isFirstChild = (page == children[0]); - page.isLastChild = (page == children[children.length-1]); - page.selected = true; - - page.domNode.style.display=""; - if(page._loadCheck){ - page._loadCheck(); // trigger load in ContentPane - } - if(page.onShow){ - page.onShow(); - } - }, - - _hideChild: function(/*Widget*/ page){ - page.selected=false; - page.domNode.style.display="none"; - if(page.onHide){ - page.onHide(); - } - }, - - closeChild: function(/*Widget*/ page){ - // summary - // callback when user clicks the [X] to remove a page - // if onClose() returns true then remove and destroy the childd - var remove = page.onClose(this, page); - if(remove){ - this.removeChild(page); - // makes sure we can clean up executeScripts in ContentPane onUnLoad - page.destroy(); - } - }, - - destroy: function(){ - this._beingDestroyed = true; - this.inherited("destroy",arguments); - } -}); - -dojo.declare( - "dijit.layout.StackController", - [dijit._Widget, dijit._Templated, dijit._Container], - { - // summary: - // Set of buttons to select a page in a page list. - // Monitors the specified StackContainer, and whenever a page is - // added, deleted, or selected, updates itself accordingly. - - templateString: "", - - // containerId: String - // the id of the page container that I point to - containerId: "", - - // buttonWidget: String - // the name of the button widget to create to correspond to each page - buttonWidget: "dijit.layout._StackButton", - - postCreate: function(){ - dijit.setWaiRole(this.domNode, "tablist"); - - this.pane2button = {}; // mapping from panes to buttons - this._subscriptions=[ - dojo.subscribe(this.containerId+"-startup", this, "onStartup"), - dojo.subscribe(this.containerId+"-addChild", this, "onAddChild"), - dojo.subscribe(this.containerId+"-removeChild", this, "onRemoveChild"), - dojo.subscribe(this.containerId+"-selectChild", this, "onSelectChild"), - dojo.subscribe(this.containerId+"-containerKeyPress", this, "onContainerKeyPress") - ]; - }, - - onStartup: function(/*Object*/ info){ - // summary: called after StackContainer has finished initializing - dojo.forEach(info.children, this.onAddChild, this); - this.onSelectChild(info.selected); - }, - - destroy: function(){ - dojo.forEach(this._subscriptions, dojo.unsubscribe); - this.inherited("destroy",arguments); - }, - - onAddChild: function(/*Widget*/ page, /*Integer?*/ insertIndex){ - // summary: - // Called whenever a page is added to the container. - // Create button corresponding to the page. - - // add a node that will be promoted to the button widget - var refNode = document.createElement("span"); - this.domNode.appendChild(refNode); - // create an instance of the button widget - var cls = dojo.getObject(this.buttonWidget); - var button = new cls({label: page.title, closeButton: page.closable}, refNode); - this.addChild(button, insertIndex); - this.pane2button[page] = button; - page.controlButton = button; // this value might be overwritten if two tabs point to same container - - dojo.connect(button, "onClick", dojo.hitch(this,"onButtonClick",page)); - dojo.connect(button, "onClickCloseButton", dojo.hitch(this,"onCloseButtonClick",page)); - - if(!this._currentChild){ // put the first child into the tab order - button.focusNode.setAttribute("tabIndex","0"); - this._currentChild = page; - } - }, - - onRemoveChild: function(/*Widget*/ page){ - // summary: - // Called whenever a page is removed from the container. - // Remove the button corresponding to the page. - if(this._currentChild === page){ this._currentChild = null; } - var button = this.pane2button[page]; - if(button){ - // TODO? if current child { reassign } - button.destroy(); - } - this.pane2button[page] = null; - }, - - onSelectChild: function(/*Widget*/ page){ - // summary: - // Called when a page has been selected in the StackContainer, either by me or by another StackController - - if(!page){ return; } - - if(this._currentChild){ - var oldButton=this.pane2button[this._currentChild]; - oldButton.setChecked(false); - oldButton.focusNode.setAttribute("tabIndex", "-1"); - } - - var newButton=this.pane2button[page]; - newButton.setChecked(true); - this._currentChild = page; - newButton.focusNode.setAttribute("tabIndex", "0"); - }, - - onButtonClick: function(/*Widget*/ page){ - // summary: - // Called whenever one of my child buttons is pressed in an attempt to select a page - var container = dijit.byId(this.containerId); // TODO: do this via topics? - container.selectChild(page); - }, - - onCloseButtonClick: function(/*Widget*/ page){ - // summary: - // Called whenever one of my child buttons [X] is pressed in an attempt to close a page - var container = dijit.byId(this.containerId); - container.closeChild(page); - var b = this.pane2button[this._currentChild]; - if(b){ - dijit.focus(b.focusNode || b.domNode); - } - }, - - // TODO: this is a bit redundant with forward, back api in StackContainer - adjacent: function(/*Boolean*/ forward){ - // find currently focused button in children array - var children = this.getChildren(); - var current = dojo.indexOf(children, this.pane2button[this._currentChild]); - // pick next button to focus on - var offset = forward ? 1 : children.length - 1; - return children[ (current + offset) % children.length ]; // dijit._Widget - }, - - onkeypress: function(/*Event*/ e){ - // summary: - // Handle keystrokes on the page list, for advancing to next/previous button - // and closing the current page if the page is closable. - - if(this.disabled || e.altKey ){ return; } - var forward = true; - if(e.ctrlKey || !e._djpage){ - var k = dojo.keys; - switch(e.keyCode){ - case k.LEFT_ARROW: - case k.UP_ARROW: - case k.PAGE_UP: - forward = false; - // fall through - case k.RIGHT_ARROW: - case k.DOWN_ARROW: - case k.PAGE_DOWN: - this.adjacent(forward).onClick(); - dojo.stopEvent(e); - break; - case k.DELETE: - if(this._currentChild.closable){ - this.onCloseButtonClick(this._currentChild); - } - dojo.stopEvent(e); - break; - default: - if(e.ctrlKey){ - if(e.keyCode == k.TAB){ - this.adjacent(!e.shiftKey).onClick(); - dojo.stopEvent(e); - }else if(e.keyChar == "w"){ - if(this._currentChild.closable){ - this.onCloseButtonClick(this._currentChild); - } - dojo.stopEvent(e); // avoid browser tab closing. - } - } - } - } - }, - - onContainerKeyPress: function(/*Object*/ info){ - info.e._djpage = info.page; - this.onkeypress(info.e); - } -}); - -dojo.declare("dijit.layout._StackButton", - dijit.form.ToggleButton, - { - // summary - // Internal widget used by StackContainer. - // The button-like or tab-like object you click to select or delete a page - - tabIndex: "-1", // StackContainer buttons are not in the tab order by default - - postCreate: function(/*Event*/ evt){ - dijit.setWaiRole((this.focusNode || this.domNode), "tab"); - this.inherited("postCreate", arguments); - }, - - onClick: function(/*Event*/ evt){ - // summary: This is for TabContainer where the tabs are rather than button, - // so need to set focus explicitly (on some browsers) - dijit.focus(this.focusNode); - - // ... now let StackController catch the event and tell me what to do - }, - - onClickCloseButton: function(/*Event*/ evt){ - // summary - // StackContainer connects to this function; if your widget contains a close button - // then clicking it should call this function. - evt.stopPropagation(); - } -}); - -// These arguments can be specified for the children of a StackContainer. -// Since any widget can be specified as a StackContainer child, mix them -// into the base widget class. (This is a hack, but it's effective.) -dojo.extend(dijit._Widget, { - // title: String - // Title of this widget. Used by TabContainer to the name the tab, etc. - title: "", - - // selected: Boolean - // Is this child currently selected? - selected: false, - - // closable: Boolean - // True if user can close (destroy) this child, such as (for example) clicking the X on the tab. - closable: false, // true if user can close this tab pane - - onClose: function(){ - // summary: Callback if someone tries to close the child, child will be closed if func returns true - return true; - } -}); - -} - -if(!dojo._hasResource["dijit.layout.AccordionContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.AccordionContainer"] = true; -dojo.provide("dijit.layout.AccordionContainer"); - - - - - - - - -dojo.declare( - "dijit.layout.AccordionContainer", - dijit.layout.StackContainer, - { - // summary: - // Holds a set of panes where every pane's title is visible, but only one pane's content is visible at a time, - // and switching between panes is visualized by sliding the other panes up/down. - // usage: - //
    - //
    - //
    ...
    - //
    - //
    - //

    This is some text

    - // ... - //
    - - // duration: Integer - // Amount of time (in ms) it takes to slide panes - duration: 250, - - _verticalSpace: 0, - - postCreate: function(){ - this.domNode.style.overflow="hidden"; - this.inherited("postCreate",arguments); - dijit.setWaiRole(this.domNode, "tablist"); - dojo.addClass(this.domNode,"dijitAccordionContainer"); - }, - - startup: function(){ - if(this._started){ return; } - this.inherited("startup",arguments); - if(this.selectedChildWidget){ - var style = this.selectedChildWidget.containerNode.style; - style.display = ""; - style.overflow = "auto"; - this.selectedChildWidget._setSelectedState(true); - } - }, - - layout: function(){ - // summary - // Set the height of the open pane based on what room remains - // get cumulative height of all the title bars, and figure out which pane is open - var totalCollapsedHeight = 0; - var openPane = this.selectedChildWidget; - dojo.forEach(this.getChildren(), function(child){ - totalCollapsedHeight += child.getTitleHeight(); - }); - var mySize = this._contentBox; - this._verticalSpace = (mySize.h - totalCollapsedHeight); - if(openPane){ - openPane.containerNode.style.height = this._verticalSpace + "px"; -/*** -TODO: this is wrong. probably you wanted to call resize on the SplitContainer -inside the AccordionPane?? - if(openPane.resize){ - openPane.resize({h: this._verticalSpace}); - } -***/ - } - }, - - _setupChild: function(/*Widget*/ page){ - // Summary: prepare the given child - return page; - }, - - _transition: function(/*Widget?*/newWidget, /*Widget?*/oldWidget){ -//TODO: should be able to replace this with calls to slideIn/slideOut - if(this._inTransition){ return; } - this._inTransition = true; - var animations = []; - var paneHeight = this._verticalSpace; - if(newWidget){ - newWidget.setSelected(true); - var newContents = newWidget.containerNode; - newContents.style.display = ""; - - animations.push(dojo.animateProperty({ - node: newContents, - duration: this.duration, - properties: { - height: { start: "1", end: paneHeight } - }, - onEnd: function(){ - newContents.style.overflow = "auto"; - } - })); - } - if(oldWidget){ - oldWidget.setSelected(false); - var oldContents = oldWidget.containerNode; - oldContents.style.overflow = "hidden"; - animations.push(dojo.animateProperty({ - node: oldContents, - duration: this.duration, - properties: { - height: { start: paneHeight, end: "1" } - }, - onEnd: function(){ - oldContents.style.display = "none"; - } - })); - } - - this._inTransition = false; - - dojo.fx.combine(animations).play(); - }, - - // note: we are treating the container as controller here - _onKeyPress: function(/*Event*/ e){ - if(this.disabled || e.altKey ){ return; } - var k = dojo.keys; - switch(e.keyCode){ - case k.LEFT_ARROW: - case k.UP_ARROW: - case k.PAGE_UP: - this._adjacent(false)._onTitleClick(); - dojo.stopEvent(e); - break; - case k.RIGHT_ARROW: - case k.DOWN_ARROW: - case k.PAGE_DOWN: - this._adjacent(true)._onTitleClick(); - dojo.stopEvent(e); - break; - default: - if(e.ctrlKey && e.keyCode == k.TAB){ - this._adjacent(e._dijitWidget, !e.shiftKey)._onTitleClick(); - dojo.stopEvent(e); - } - - } - } - } -); - -dojo.declare( - "dijit.layout.AccordionPane", - [dijit.layout.ContentPane, dijit._Templated, dijit._Contained], -{ - // summary - // AccordionPane is a ContentPane with a title that may contain another widget. - // Nested layout widgets, such as SplitContainer, are not supported at this time. - - templateString:"
    ${title}
    \n
    \n", - - postCreate: function(){ - this.inherited("postCreate",arguments) - dojo.setSelectable(this.titleNode, false); - this.setSelected(this.selected); - }, - - getTitleHeight: function(){ - // summary: returns the height of the title dom node - return dojo.marginBox(this.titleNode).h; // Integer - }, - - _onTitleClick: function(){ - // summary: callback when someone clicks my title - var parent = this.getParent(); - if(!parent._inTransition){ - parent.selectChild(this); - dijit.focus(this.focusNode); - } - }, - - _onTitleKeyPress: function(/*Event*/ evt){ - evt._dijitWidget = this; - return this.getParent()._onKeyPress(evt); - }, - - _setSelectedState: function(/*Boolean*/ isSelected){ - this.selected = isSelected; - dojo[(isSelected ? "addClass" : "removeClass")](this.domNode,"dijitAccordionPane-selected"); - this.focusNode.setAttribute("tabIndex", isSelected ? "0" : "-1"); - }, - - _handleFocus: function(/*Event*/e){ - // summary: handle the blur and focus state of this widget - dojo[(e.type=="focus" ? "addClass" : "removeClass")](this.focusNode,"dijitAccordionPaneFocused"); - }, - - setSelected: function(/*Boolean*/ isSelected){ - // summary: change the selected state on this pane - this._setSelectedState(isSelected); - if(isSelected){ this.onSelected(); } - }, - - onSelected: function(){ - // summary: called when this pane is selected - } -}); - -} - -if(!dojo._hasResource["dijit.layout.LayoutContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.LayoutContainer"] = true; -dojo.provide("dijit.layout.LayoutContainer"); - - - -dojo.declare( - "dijit.layout.LayoutContainer", - dijit.layout._LayoutWidget, -{ - // summary - // Provides Delphi-style panel layout semantics. - // - // details - // A LayoutContainer is a box with a specified size (like style="width: 500px; height: 500px;"), - // that contains children widgets marked with "layoutAlign" of "left", "right", "bottom", "top", and "client". - // It takes it's children marked as left/top/bottom/right, and lays them out along the edges of the box, - // and then it takes the child marked "client" and puts it into the remaining space in the middle. - // - // Left/right positioning is similar to CSS's "float: left" and "float: right", - // and top/bottom positioning would be similar to "float: top" and "float: bottom", if there were such - // CSS. - // - // Note that there can only be one client element, but there can be multiple left, right, top, - // or bottom elements. - // - // usage - // - //
    - //
    header text
    - //
    table of contents
    - //
    client area
    - //
    - // - // Lays out each child in the natural order the children occur in. - // Basically each child is laid out into the "remaining space", where "remaining space" is initially - // the content area of this widget, but is reduced to a smaller rectangle each time a child is added. - // - - layout: function(){ - dijit.layout.layoutChildren(this.domNode, this._contentBox, this.getChildren()); - }, - - addChild: function(/*Widget*/ child, /*Integer?*/ insertIndex){ - dijit._Container.prototype.addChild.apply(this, arguments); - if(this._started){ - dijit.layout.layoutChildren(this.domNode, this._contentBox, this.getChildren()); - } - }, - - removeChild: function(/*Widget*/ widget){ - dijit._Container.prototype.removeChild.apply(this, arguments); - if(this._started){ - dijit.layout.layoutChildren(this.domNode, this._contentBox, this.getChildren()); - } - } -}); - -// This argument can be specified for the children of a LayoutContainer. -// Since any widget can be specified as a LayoutContainer child, mix it -// into the base widget class. (This is a hack, but it's effective.) -dojo.extend(dijit._Widget, { - // layoutAlign: String - // "none", "left", "right", "bottom", "top", and "client". - // See the LayoutContainer description for details on this parameter. - layoutAlign: 'none' -}); - -} - -if(!dojo._hasResource["dijit.layout.LinkPane"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.LinkPane"] = true; -dojo.provide("dijit.layout.LinkPane"); - - - - -dojo.declare("dijit.layout.LinkPane", - [dijit.layout.ContentPane, dijit._Templated], - { - // summary: - // A ContentPane that loads data remotely - // description: - // LinkPane is just a ContentPane that loads data remotely (via the href attribute), - // and has markup similar to an anchor. The anchor's body (the words between and ) - // become the title of the widget (used for TabContainer, AccordionContainer, etc.) - // example: - // my title - - // I'm using a template because the user may specify the input as - // title, in which case we need to get rid of the - // because we don't want a link. - templateString: '
    ', - - postCreate: function(){ - - // If user has specified node contents, they become the title - // (the link must be plain text) - if(this.srcNodeRef){ - this.title += this.srcNodeRef.innerHTML; - } - this.inherited("postCreate",arguments); - } -}); - -} - -if(!dojo._hasResource["dijit.layout.SplitContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.SplitContainer"] = true; -dojo.provide("dijit.layout.SplitContainer"); - -// -// FIXME: make it prettier -// FIXME: active dragging upwards doesn't always shift other bars (direction calculation is wrong in this case) -// - - - - -dojo.declare("dijit.layout.SplitContainer", - dijit.layout._LayoutWidget, - { - // summary: - // A Container widget with sizing handles in-between each child - // description: - // Contains multiple children widgets, all of which are displayed side by side - // (either horizontally or vertically); there's a bar between each of the children, - // and you can adjust the relative size of each child by dragging the bars. - // - // You must specify a size (width and height) for the SplitContainer. - // - // activeSizing: Boolean - // If true, the children's size changes as you drag the bar; - // otherwise, the sizes don't change until you drop the bar (by mouse-up) - activeSizing: false, - - // sizerWidth: Integer - // Size in pixels of the bar between each child - sizerWidth: 7, // FIXME: this should be a CSS attribute (at 7 because css wants it to be 7 until we fix to css) - - // orientation: String - // either 'horizontal' or vertical; indicates whether the children are - // arranged side-by-side or up/down. - orientation: 'horizontal', - - // persist: Boolean - // Save splitter positions in a cookie - persist: true, - - postMixInProperties: function(){ - this.inherited("postMixInProperties",arguments); - this.isHorizontal = (this.orientation == 'horizontal'); - }, - - postCreate: function(){ - this.inherited("postCreate",arguments); - this.sizers = []; - dojo.addClass(this.domNode, "dijitSplitContainer"); - // overflow has to be explicitly hidden for splitContainers using gekko (trac #1435) - // to keep other combined css classes from inadvertantly making the overflow visible - if(dojo.isMozilla){ - this.domNode.style.overflow = '-moz-scrollbars-none'; // hidden doesn't work - } - - // create the fake dragger - if(typeof this.sizerWidth == "object"){ - try{ //FIXME: do this without a try/catch - this.sizerWidth = parseInt(this.sizerWidth.toString()); - }catch(e){ this.sizerWidth = 7; } - } - var sizer = this.virtualSizer = document.createElement('div'); - sizer.style.position = 'relative'; - - // #1681: work around the dreaded 'quirky percentages in IE' layout bug - // If the splitcontainer's dimensions are specified in percentages, it - // will be resized when the virtualsizer is displayed in _showSizingLine - // (typically expanding its bounds unnecessarily). This happens because - // we use position: relative for .dijitSplitContainer. - // The workaround: instead of changing the display style attribute, - // switch to changing the zIndex (bring to front/move to back) - - sizer.style.zIndex = 10; - sizer.className = this.isHorizontal ? 'dijitSplitContainerVirtualSizerH' : 'dijitSplitContainerVirtualSizerV'; - this.domNode.appendChild(sizer); - dojo.setSelectable(sizer, false); - }, - - startup: function(){ - if(this._started){ return; } - dojo.forEach(this.getChildren(), function(child, i, children){ - // attach the children and create the draggers - this._injectChild(child); - - if(i < children.length-1){ - this._addSizer(); - } - }, this); - - if(this.persist){ - this._restoreState(); - } - this.inherited("startup",arguments); - this._started = true; - }, - - _injectChild: function(child){ - child.domNode.style.position = "absolute"; - dojo.addClass(child.domNode, "dijitSplitPane"); - }, - - _addSizer: function(){ - var i = this.sizers.length; - - // TODO: use a template for this!!! - var sizer = this.sizers[i] = document.createElement('div'); - sizer.className = this.isHorizontal ? 'dijitSplitContainerSizerH' : 'dijitSplitContainerSizerV'; - - // add the thumb div - var thumb = document.createElement('div'); - thumb.className = 'thumb'; - sizer.appendChild(thumb); - - // FIXME: are you serious? why aren't we using mover start/stop combo? - var self = this; - var handler = (function(){ var sizer_i = i; return function(e){ self.beginSizing(e, sizer_i); } })(); - dojo.connect(sizer, "onmousedown", handler); - - this.domNode.appendChild(sizer); - dojo.setSelectable(sizer, false); - }, - - removeChild: function(widget){ - // summary: Remove sizer, but only if widget is really our child and - // we have at least one sizer to throw away - if(this.sizers.length && dojo.indexOf(this.getChildren(), widget) != -1){ - var i = this.sizers.length - 1; - dojo._destroyElement(this.sizers[i]); - this.sizers.length--; - } - - // Remove widget and repaint - this.inherited("removeChild",arguments); - if(this._started){ - this.layout(); - } - }, - - addChild: function(/*Widget*/ child, /*Integer?*/ insertIndex){ - // summary: Add a child widget to the container - // child: a widget to add - // insertIndex: postion in the "stack" to add the child widget - - this.inherited("addChild",arguments); - - if(this._started){ - // Do the stuff that startup() does for each widget - this._injectChild(child); - var children = this.getChildren(); - if(children.length > 1){ - this._addSizer(); - } - - // and then reposition (ie, shrink) every pane to make room for the new guy - this.layout(); - } - }, - - layout: function(){ - // summary: - // Do layout of panels - - // base class defines this._contentBox on initial creation and also - // on resize - this.paneWidth = this._contentBox.w; - this.paneHeight = this._contentBox.h; - - var children = this.getChildren(); - if(!children.length){ return; } - - // - // calculate space - // - - var space = this.isHorizontal ? this.paneWidth : this.paneHeight; - if(children.length > 1){ - space -= this.sizerWidth * (children.length - 1); - } - - // - // calculate total of SizeShare values - // - var outOf = 0; - dojo.forEach(children, function(child){ - outOf += child.sizeShare; - }); - - // - // work out actual pixels per sizeshare unit - // - var pixPerUnit = space / outOf; - - // - // set the SizeActual member of each pane - // - var totalSize = 0; - dojo.forEach(children.slice(0, children.length - 1), function(child){ - var size = Math.round(pixPerUnit * child.sizeShare); - child.sizeActual = size; - totalSize += size; - }); - - children[children.length-1].sizeActual = space - totalSize; - - // - // make sure the sizes are ok - // - this._checkSizes(); - - // - // now loop, positioning each pane and letting children resize themselves - // - - var pos = 0; - var size = children[0].sizeActual; - this._movePanel(children[0], pos, size); - children[0].position = pos; - pos += size; - - // if we don't have any sizers, our layout method hasn't been called yet - // so bail until we are called..TODO: REVISIT: need to change the startup - // algorithm to guaranteed the ordering of calls to layout method - if(!this.sizers){ - return; - } - - dojo.some(children.slice(1), function(child, i){ - // error-checking - if(!this.sizers[i]){ - return true; - } - // first we position the sizing handle before this pane - this._moveSlider(this.sizers[i], pos, this.sizerWidth); - this.sizers[i].position = pos; - pos += this.sizerWidth; - - size = child.sizeActual; - this._movePanel(child, pos, size); - child.position = pos; - pos += size; - }, this); - }, - - _movePanel: function(panel, pos, size){ - if(this.isHorizontal){ - panel.domNode.style.left = pos + 'px'; // TODO: resize() takes l and t parameters too, don't need to set manually - panel.domNode.style.top = 0; - var box = {w: size, h: this.paneHeight}; - if(panel.resize){ - panel.resize(box); - }else{ - dojo.marginBox(panel.domNode, box); - } - }else{ - panel.domNode.style.left = 0; // TODO: resize() takes l and t parameters too, don't need to set manually - panel.domNode.style.top = pos + 'px'; - var box = {w: this.paneWidth, h: size}; - if(panel.resize){ - panel.resize(box); - }else{ - dojo.marginBox(panel.domNode, box); - } - } - }, - - _moveSlider: function(slider, pos, size){ - if(this.isHorizontal){ - slider.style.left = pos + 'px'; - slider.style.top = 0; - dojo.marginBox(slider, { w: size, h: this.paneHeight }); - }else{ - slider.style.left = 0; - slider.style.top = pos + 'px'; - dojo.marginBox(slider, { w: this.paneWidth, h: size }); - } - }, - - _growPane: function(growth, pane){ - if(growth > 0){ - if(pane.sizeActual > pane.sizeMin){ - if((pane.sizeActual - pane.sizeMin) > growth){ - - // stick all the growth in this pane - pane.sizeActual = pane.sizeActual - growth; - growth = 0; - }else{ - // put as much growth in here as we can - growth -= pane.sizeActual - pane.sizeMin; - pane.sizeActual = pane.sizeMin; - } - } - } - return growth; - }, - - _checkSizes: function(){ - - var totalMinSize = 0; - var totalSize = 0; - var children = this.getChildren(); - - dojo.forEach(children, function(child){ - totalSize += child.sizeActual; - totalMinSize += child.sizeMin; - }); - - // only make adjustments if we have enough space for all the minimums - - if(totalMinSize <= totalSize){ - - var growth = 0; - - dojo.forEach(children, function(child){ - if(child.sizeActual < child.sizeMin){ - growth += child.sizeMin - child.sizeActual; - child.sizeActual = child.sizeMin; - } - }); - - if(growth > 0){ - var list = this.isDraggingLeft ? children.reverse() : children; - dojo.forEach(list, function(child){ - growth = this._growPane(growth, child); - }, this); - } - }else{ - dojo.forEach(children, function(child){ - child.sizeActual = Math.round(totalSize * (child.sizeMin / totalMinSize)); - }); - } - }, - - beginSizing: function(e, i){ - var children = this.getChildren(); - this.paneBefore = children[i]; - this.paneAfter = children[i+1]; - - this.isSizing = true; - this.sizingSplitter = this.sizers[i]; - - if(!this.cover){ - this.cover = dojo.doc.createElement('div'); - this.domNode.appendChild(this.cover); - var s = this.cover.style; - s.position = 'absolute'; - s.zIndex = 1; - s.top = 0; - s.left = 0; - s.width = "100%"; - s.height = "100%"; - }else{ - this.cover.style.zIndex = 1; - } - this.sizingSplitter.style.zIndex = 2; - - // TODO: REVISIT - we want MARGIN_BOX and core hasn't exposed that yet (but can't we use it anyway if we pay attention? we do elsewhere.) - this.originPos = dojo.coords(children[0].domNode, true); - if(this.isHorizontal){ - var client = (e.layerX ? e.layerX : e.offsetX); - var screen = e.pageX; - this.originPos = this.originPos.x; - }else{ - var client = (e.layerY ? e.layerY : e.offsetY); - var screen = e.pageY; - this.originPos = this.originPos.y; - } - this.startPoint = this.lastPoint = screen; - this.screenToClientOffset = screen - client; - this.dragOffset = this.lastPoint - this.paneBefore.sizeActual - this.originPos - this.paneBefore.position; - - if(!this.activeSizing){ - this._showSizingLine(); - } - - // - // attach mouse events - // - this._connects = []; - this._connects.push(dojo.connect(document.documentElement, "onmousemove", this, "changeSizing")); - this._connects.push(dojo.connect(document.documentElement, "onmouseup", this, "endSizing")); - - dojo.stopEvent(e); - }, - - changeSizing: function(e){ - if(!this.isSizing){ return; } - this.lastPoint = this.isHorizontal ? e.pageX : e.pageY; - this.movePoint(); - if(this.activeSizing){ - this._updateSize(); - }else{ - this._moveSizingLine(); - } - dojo.stopEvent(e); - }, - - endSizing: function(e){ - if(!this.isSizing){ return; } - if(this.cover){ - this.cover.style.zIndex = -1; - } - if(!this.activeSizing){ - this._hideSizingLine(); - } - - this._updateSize(); - - this.isSizing = false; - - if(this.persist){ - this._saveState(this); - } - - dojo.forEach(this._connects,dojo.disconnect); - }, - - movePoint: function(){ - - // make sure lastPoint is a legal point to drag to - var p = this.lastPoint - this.screenToClientOffset; - - var a = p - this.dragOffset; - a = this.legaliseSplitPoint(a); - p = a + this.dragOffset; - - this.lastPoint = p + this.screenToClientOffset; - }, - - legaliseSplitPoint: function(a){ - - a += this.sizingSplitter.position; - - this.isDraggingLeft = !!(a > 0); - - if(!this.activeSizing){ - var min = this.paneBefore.position + this.paneBefore.sizeMin; - if(a < min){ - a = min; - } - - var max = this.paneAfter.position + (this.paneAfter.sizeActual - (this.sizerWidth + this.paneAfter.sizeMin)); - if(a > max){ - a = max; - } - } - - a -= this.sizingSplitter.position; - - this._checkSizes(); - - return a; - }, - - _updateSize: function(){ - //FIXME: sometimes this.lastPoint is NaN - var pos = this.lastPoint - this.dragOffset - this.originPos; - - var start_region = this.paneBefore.position; - var end_region = this.paneAfter.position + this.paneAfter.sizeActual; - - this.paneBefore.sizeActual = pos - start_region; - this.paneAfter.position = pos + this.sizerWidth; - this.paneAfter.sizeActual = end_region - this.paneAfter.position; - - dojo.forEach(this.getChildren(), function(child){ - child.sizeShare = child.sizeActual; - }); - - if(this._started){ - this.layout(); - } - }, - - _showSizingLine: function(){ - - this._moveSizingLine(); - - dojo.marginBox(this.virtualSizer, - this.isHorizontal ? { w: this.sizerWidth, h: this.paneHeight } : { w: this.paneWidth, h: this.sizerWidth }); - - this.virtualSizer.style.display = 'block'; - }, - - _hideSizingLine: function(){ - this.virtualSizer.style.display = 'none'; - }, - - _moveSizingLine: function(){ - var pos = (this.lastPoint - this.startPoint) + this.sizingSplitter.position; - dojo.style(this.virtualSizer,(this.isHorizontal ? "left" : "top"),pos+"px"); - // this.virtualSizer.style[ this.isHorizontal ? "left" : "top" ] = pos + 'px'; // FIXME: remove this line if the previous is better - }, - - _getCookieName: function(i){ - return this.id + "_" + i; - }, - - _restoreState: function(){ - dojo.forEach(this.getChildren(), function(child, i){ - var cookieName = this._getCookieName(i); - var cookieValue = dojo.cookie(cookieName); - if(cookieValue){ - var pos = parseInt(cookieValue); - if(typeof pos == "number"){ - child.sizeShare = pos; - } - } - }, this); - }, - - _saveState: function(){ - dojo.forEach(this.getChildren(), function(child, i){ - dojo.cookie(this._getCookieName(i), child.sizeShare); - }, this); - } -}); - -// These arguments can be specified for the children of a SplitContainer. -// Since any widget can be specified as a SplitContainer child, mix them -// into the base widget class. (This is a hack, but it's effective.) -dojo.extend(dijit._Widget, { - // sizeMin: Integer - // Minimum size (width or height) of a child of a SplitContainer. - // The value is relative to other children's sizeShare properties. - sizeMin: 10, - - // sizeShare: Integer - // Size (width or height) of a child of a SplitContainer. - // The value is relative to other children's sizeShare properties. - // For example, if there are two children and each has sizeShare=10, then - // each takes up 50% of the available space. - sizeShare: 10 -}); - -} - -if(!dojo._hasResource["dijit.layout.TabContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.TabContainer"] = true; -dojo.provide("dijit.layout.TabContainer"); - - - - -dojo.declare("dijit.layout.TabContainer", - [dijit.layout.StackContainer, dijit._Templated], - { - // summary: - // A Container with Title Tabs, each one pointing at a pane in the container. - // description: - // A TabContainer is a container that has multiple panes, but shows only - // one pane at a time. There are a set of tabs corresponding to each pane, - // where each tab has the title (aka title) of the pane, and optionally a close button. - // - // Publishes topics -addChild, -removeChild, and -selectChild - // (where is the id of the TabContainer itself. - // - // tabPosition: String - // Defines where tabs go relative to tab content. - // "top", "bottom", "left-h", "right-h" - tabPosition: "top", - - templateString: null, // override setting in StackContainer - templateString:"
    \n\t
    \n\t
    \n
    \n", - - postCreate: function(){ - dijit.layout.TabContainer.superclass.postCreate.apply(this, arguments); - // create the tab list that will have a tab (a.k.a. tab button) for each tab panel - this.tablist = new dijit.layout.TabController( - { - id: this.id + "_tablist", - tabPosition: this.tabPosition, - doLayout: this.doLayout, - containerId: this.id - }, this.tablistNode); - }, - - _setupChild: function(/* Widget */tab){ - dojo.addClass(tab.domNode, "dijitTabPane"); - this.inherited("_setupChild",arguments); - return tab; // Widget - }, - - startup: function(){ - if(this._started){ return; } - - // wire up the tablist and its tabs - this.tablist.startup(); - this.inherited("startup",arguments); - - if(dojo.isSafari){ - // sometimes safari 3.0.3 miscalculates the height of the tab labels, see #4058 - setTimeout(dojo.hitch(this, "layout"), 0); - } - }, - - layout: function(){ - // Summary: Configure the content pane to take up all the space except for where the tabs are - if(!this.doLayout){ return; } - - // position and size the titles and the container node - var titleAlign=this.tabPosition.replace(/-h/,""); - var children = [ - {domNode: this.tablist.domNode, layoutAlign: titleAlign}, - {domNode: this.containerNode, layoutAlign: "client"} - ]; - dijit.layout.layoutChildren(this.domNode, this._contentBox, children); - - // Compute size to make each of my children. - // children[1] is the margin-box size of this.containerNode, set by layoutChildren() call above - this._containerContentBox = dijit.layout.marginBox2contentBox(this.containerNode, children[1]); - - if(this.selectedChildWidget){ - this._showChild(this.selectedChildWidget); - if(this.doLayout && this.selectedChildWidget.resize){ - this.selectedChildWidget.resize(this._containerContentBox); - } - } - }, - - destroy: function(){ - this.tablist.destroy(); - this.inherited("destroy",arguments); - } -}); - -//TODO: make private? -dojo.declare("dijit.layout.TabController", - dijit.layout.StackController, - { - // summary: - // Set of tabs (the things with titles and a close button, that you click to show a tab panel). - // description: - // Lets the user select the currently shown pane in a TabContainer or StackContainer. - // TabController also monitors the TabContainer, and whenever a pane is - // added or deleted updates itself accordingly. - - templateString: "
    ", - - // tabPosition: String - // Defines where tabs go relative to the content. - // "top", "bottom", "left-h", "right-h" - tabPosition: "top", - - // doLayout: Boolean - // TODOC: deprecate doLayout? not sure. - doLayout: true, - - // buttonWidget: String - // the name of the tab widget to create to correspond to each page - buttonWidget: "dijit.layout._TabButton", - - postMixInProperties: function(){ - this["class"] = "dijitTabLabels-" + this.tabPosition + (this.doLayout ? "" : " dijitTabNoLayout"); - this.inherited("postMixInProperties",arguments); - } -}); - -dojo.declare("dijit.layout._TabButton", - dijit.layout._StackButton, - { - // summary: - // A tab (the thing you click to select a pane). - // description: - // Contains the title of the pane, and optionally a close-button to destroy the pane. - // This is an internal widget and should not be instantiated directly. - - baseClass: "dijitTab", - - templateString:"
    \n
    \n ${!label}\n \n x\n \n
    \n
    \n", - - postCreate: function(){ - if(this.closeButton){ - dojo.addClass(this.innerDiv, "dijitClosable"); - } else { - this.closeButtonNode.style.display="none"; - } - this.inherited("postCreate",arguments); - dojo.setSelectable(this.containerNode, false); - } -}); - -} - -if(!dojo._hasResource["dijit.dijit-all"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.dijit-all"] = true; -console.warn("dijit-all may include much more code than your application actually requires. We strongly recommend that you investigate a custom build or the web build tool"); -dojo.provide("dijit.dijit-all"); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -} - - -dojo.i18n._preloadLocalizations("dijit.nls.dijit-all", ["es-es", "es", "hu", "it-it", "de", "pt-br", "pl", "fr-fr", "zh-cn", "pt", "en-us", "zh", "ru", "xx", "fr", "zh-tw", "it", "cs", "en-gb", "de-de", "ja-jp", "ko-kr", "ko", "en", "ROOT", "ja"]); diff --git a/spring-faces/src/main/resources/META-INF/dijit/dijit.js b/spring-faces/src/main/resources/META-INF/dijit/dijit.js deleted file mode 100644 index 5c8cd5a5..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/dijit.js +++ /dev/null @@ -1,20 +0,0 @@ -/* - Copyright (c) 2004-2007, 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/book/dojo-book-0-9/introduction/licensing -*/ - -/* - This is a compiled version of Dojo, built for deployment and not for - development. To get an editable version, please visit: - - http://dojotoolkit.org - - for documentation and information on getting the source. -*/ - -if(!dojo._hasResource["dijit._base.focus"]){dojo._hasResource["dijit._base.focus"]=true;dojo.provide("dijit._base.focus");dojo.mixin(dijit,{_curFocus:null,_prevFocus:null,isCollapsed:function(){var _1=dojo.global;var _2=dojo.doc;if(_2.selection){return !_2.selection.createRange().text;}else{if(_1.getSelection){var _3=_1.getSelection();if(dojo.isString(_3)){return !_3;}else{return _3.isCollapsed||!_3.toString();}}}},getBookmark:function(){var _4,_5=dojo.doc.selection;if(_5){var _6=_5.createRange();if(_5.type.toUpperCase()=="CONTROL"){_4=_6.length?dojo._toArray(_6):null;}else{_4=_6.getBookmark();}}else{if(dojo.global.getSelection){_5=dojo.global.getSelection();if(_5){var _6=_5.getRangeAt(0);_4=_6.cloneRange();}}else{console.debug("No idea how to store the current selection for this browser!");}}return _4;},moveToBookmark:function(_7){var _8=dojo.doc;if(_8.selection){var _9;if(dojo.isArray(_7)){_9=_8.body.createControlRange();dojo.forEach(_7,_9.addElement);}else{_9=_8.selection.createRange();_9.moveToBookmark(_7);}_9.select();}else{var _a=dojo.global.getSelection&&dojo.global.getSelection();if(_a&&_a.removeAllRanges){_a.removeAllRanges();_a.addRange(_7);}else{console.debug("No idea how to restore selection for this browser!");}}},getFocus:function(_b,_c){return {node:_b&&dojo.isDescendant(dijit._curFocus,_b.domNode)?dijit._prevFocus:dijit._curFocus,bookmark:!dojo.withGlobal(_c||dojo.global,dijit.isCollapsed)?dojo.withGlobal(_c||dojo.global,dijit.getBookmark):null,openedForWindow:_c};},focus:function(_d){if(!_d){return;}var _e="node" in _d?_d.node:_d,_f=_d.bookmark,_10=_d.openedForWindow;if(_e){var _11=(_e.tagName.toLowerCase()=="iframe")?_e.contentWindow:_e;if(_11&&_11.focus){try{_11.focus();}catch(e){}}dijit._onFocusNode(_e);}if(_f&&dojo.withGlobal(_10||dojo.global,dijit.isCollapsed)){if(_10){_10.focus();}try{dojo.withGlobal(_10||dojo.global,moveToBookmark,null,[_f]);}catch(e){}}},_activeStack:[],registerWin:function(_12){if(!_12){_12=window;}dojo.connect(_12.document,"onmousedown",null,function(evt){dijit._justMouseDowned=true;setTimeout(function(){dijit._justMouseDowned=false;},0);dijit._onTouchNode(evt.target||evt.srcElement);});var _14=_12.document.body||_12.document.getElementsByTagName("body")[0];if(_14){if(dojo.isIE){_14.attachEvent("onactivate",function(evt){if(evt.srcElement.tagName.toLowerCase()!="body"){dijit._onFocusNode(evt.srcElement);}});_14.attachEvent("ondeactivate",function(evt){dijit._onBlurNode(evt.srcElement);});}else{_14.addEventListener("focus",function(evt){dijit._onFocusNode(evt.target);},true);_14.addEventListener("blur",function(evt){dijit._onBlurNode(evt.target);},true);}}_14=null;},_onBlurNode:function(_19){dijit._prevFocus=dijit._curFocus;dijit._curFocus=null;var w=dijit.getEnclosingWidget(_19);if(w&&w._setStateClass){w._focused=false;w._setStateClass();}if(dijit._justMouseDowned){return;}if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);}dijit._clearActiveWidgetsTimer=setTimeout(function(){delete dijit._clearActiveWidgetsTimer;dijit._setStack([]);},100);},_onTouchNode:function(_1b){if(dijit._clearActiveWidgetsTimer){clearTimeout(dijit._clearActiveWidgetsTimer);delete dijit._clearActiveWidgetsTimer;}var _1c=[];try{while(_1b){if(_1b.dijitPopupParent){_1b=dijit.byId(_1b.dijitPopupParent).domNode;}else{if(_1b.tagName&&_1b.tagName.toLowerCase()=="body"){if(_1b===dojo.body()){break;}_1b=dojo.query("iframe").filter(function(_1d){return _1d.contentDocument.body===_1b;})[0];}else{var id=_1b.getAttribute&&_1b.getAttribute("widgetId");if(id){_1c.unshift(id);}_1b=_1b.parentNode;}}}}catch(e){}dijit._setStack(_1c);},_onFocusNode:function(_1f){if(_1f&&_1f.tagName&&_1f.tagName.toLowerCase()=="body"){return;}dijit._onTouchNode(_1f);if(_1f==dijit._curFocus){return;}dijit._prevFocus=dijit._curFocus;dijit._curFocus=_1f;dojo.publish("focusNode",[_1f]);var w=dijit.getEnclosingWidget(_1f);if(w&&w._setStateClass){w._focused=true;w._setStateClass();}},_setStack:function(_21){var _22=dijit._activeStack;dijit._activeStack=_21;for(var _23=0;_23=_23;i--){var _25=dijit.byId(_22[i]);if(_25){dojo.publish("widgetBlur",[_25]);if(_25._onBlur){_25._onBlur();}}}for(var i=_23;i<_21.length;i++){var _25=dijit.byId(_21[i]);if(_25){dojo.publish("widgetFocus",[_25]);if(_25._onFocus){_25._onFocus();}}}}});dojo.addOnLoad(dijit.registerWin);}if(!dojo._hasResource["dijit._base.manager"]){dojo._hasResource["dijit._base.manager"]=true;dojo.provide("dijit._base.manager");dojo.declare("dijit.WidgetSet",null,{constructor:function(){this._hash={};},add:function(_26){if(this._hash[_26.id]){throw new Error("Tried to register widget with id=="+_26.id+" but that id is already registered");}this._hash[_26.id]=_26;},remove:function(id){delete this._hash[id];},forEach:function(_28){for(var id in this._hash){_28(this._hash[id]);}},filter:function(_2a){var res=new dijit.WidgetSet();this.forEach(function(_2c){if(_2a(_2c)){res.add(_2c);}});return res;},byId:function(id){return this._hash[id];},byClass:function(cls){return this.filter(function(_2f){return _2f.declaredClass==cls;});}});dijit.registry=new dijit.WidgetSet();dijit._widgetTypeCtr={};dijit.getUniqueId=function(_30){var id;do{id=_30+"_"+(dijit._widgetTypeCtr[_30]!==undefined?++dijit._widgetTypeCtr[_30]:dijit._widgetTypeCtr[_30]=0);}while(dijit.byId(id));return id;};if(dojo.isIE){dojo.addOnUnload(function(){dijit.registry.forEach(function(_32){_32.destroy();});});}dijit.byId=function(id){return (dojo.isString(id))?dijit.registry.byId(id):id;};dijit.byNode=function(_34){return dijit.registry.byId(_34.getAttribute("widgetId"));};dijit.getEnclosingWidget=function(_35){while(_35){if(_35.getAttribute&&_35.getAttribute("widgetId")){return dijit.registry.byId(_35.getAttribute("widgetId"));}_35=_35.parentNode;}return null;};}if(!dojo._hasResource["dijit._base.place"]){dojo._hasResource["dijit._base.place"]=true;dojo.provide("dijit._base.place");dijit.getViewport=function(){var _36=dojo.global;var _37=dojo.doc;var w=0,h=0;if(dojo.isMozilla){var _3a,_3b,_3c,_3d;if(_37.body.clientWidth>_37.documentElement.clientWidth){_3a=_37.documentElement.clientWidth;_3c=_37.body.clientWidth;}else{_3c=_37.documentElement.clientWidth;_3a=_37.body.clientWidth;}if(_37.body.clientHeight>_37.documentElement.clientHeight){_3b=_37.documentElement.clientHeight;_3d=_37.body.clientHeight;}else{_3d=_37.documentElement.clientHeight;_3b=_37.body.clientHeight;}w=(_3c>_36.innerWidth)?_3a:_3c;h=(_3d>_36.innerHeight)?_3b:_3d;}else{if(!dojo.isOpera&&_36.innerWidth){w=_36.innerWidth;h=_36.innerHeight;}else{if(dojo.isIE&&_37.documentElement&&_37.documentElement.clientHeight){w=_37.documentElement.clientWidth;h=_37.documentElement.clientHeight;}else{if(dojo.body().clientWidth){w=dojo.body().clientWidth;h=dojo.body().clientHeight;}}}}var _3e=dojo._docScroll();return {w:w,h:h,l:_3e.x,t:_3e.y};};dijit.placeOnScreen=function(_3f,pos,_41,_42){var _43=dojo.map(_41,function(_44){return {corner:_44,pos:pos};});return dijit._place(_3f,_43);};dijit._place=function(_45,_46,_47){var _48=dijit.getViewport();if(!_45.parentNode||String(_45.parentNode.tagName).toLowerCase()!="body"){dojo.body().appendChild(_45);}var _49=null;for(var i=0;i<_46.length;i++){var _4b=_46[i].corner;var pos=_46[i].pos;if(_47){_47(_4b);}var _4d=_45.style.display;var _4e=_45.style.visibility;_45.style.visibility="hidden";_45.style.display="";var mb=dojo.marginBox(_45);_45.style.display=_4d;_45.style.visibility=_4e;var _50=(_4b.charAt(1)=="L"?pos.x:Math.max(_48.l,pos.x-mb.w)),_51=(_4b.charAt(0)=="T"?pos.y:Math.max(_48.t,pos.y-mb.h)),_52=(_4b.charAt(1)=="L"?Math.min(_48.l+_48.w,_50+mb.w):pos.x),_53=(_4b.charAt(0)=="T"?Math.min(_48.t+_48.h,_51+mb.h):pos.y),_54=_52-_50,_55=_53-_51,_56=(mb.w-_54)+(mb.h-_55);if(_49==null||_56<_49.overflow){_49={corner:_4b,aroundCorner:_46[i].aroundCorner,x:_50,y:_51,w:_54,h:_55,overflow:_56};}if(_56==0){break;}}_45.style.left=_49.x+"px";_45.style.top=_49.y+"px";return _49;};dijit.placeOnScreenAroundElement=function(_57,_58,_59,_5a){_58=dojo.byId(_58);var _5b=_58.style.display;_58.style.display="";var _5c=_58.offsetWidth;var _5d=_58.offsetHeight;var _5e=dojo.coords(_58,true);_58.style.display=_5b;var _5f=[];for(var _60 in _59){_5f.push({aroundCorner:_60,corner:_59[_60],pos:{x:_5e.x+(_60.charAt(1)=="L"?0:_5c),y:_5e.y+(_60.charAt(0)=="T"?0:_5d)}});}return dijit._place(_57,_5f,_5a);};}if(!dojo._hasResource["dijit._base.window"]){dojo._hasResource["dijit._base.window"]=true;dojo.provide("dijit._base.window");dijit.getDocumentWindow=function(doc){if(dojo.isSafari&&!doc._parentWindow){var fix=function(win){win.document._parentWindow=win;for(var i=0;i0&&_66[pi].parent===_66[pi-1].widget;pi--){}return _66[pi];};_71.push(dojo.connect(_6e,"onkeypress",this,function(evt){if(evt.keyCode==dojo.keys.ESCAPE&&_69.onCancel){_69.onCancel();}else{if(evt.keyCode==dojo.keys.TAB){dojo.stopEvent(evt);var _74=getTopPopup();if(_74&&_74.onCancel){_74.onCancel();}}}}));if(_6a.onCancel){_71.push(dojo.connect(_6a,"onCancel",null,_69.onCancel));}_71.push(dojo.connect(_6a,_6a.onExecute?"onExecute":"onChange",null,function(){var _75=getTopPopup();if(_75&&_75.onExecute){_75.onExecute();}}));_66.push({wrapper:_6e,iframe:_6f,widget:_6a,parent:_69.parent,onExecute:_69.onExecute,onCancel:_69.onCancel,onClose:_69.onClose,handlers:_71});if(_6a.onOpen){_6a.onOpen(_70);}return _70;};this.close=function(_76){while(dojo.some(_66,function(_77){return _77.widget==_76;})){var top=_66.pop(),_79=top.wrapper,_7a=top.iframe,_7b=top.widget,_7c=top.onClose;if(_7b.onClose){_7b.onClose();}dojo.forEach(top.handlers,dojo.disconnect);if(!_7b||!_7b.domNode){return;}dojo.style(_7b.domNode,"display","none");dojo.body().appendChild(_7b.domNode);_7a.destroy();dojo._destroyElement(_79);if(_7c){_7c();}}};}();dijit._frames=new function(){var _7d=[];this.pop=function(){var _7e;if(_7d.length){_7e=_7d.pop();_7e.style.display="";}else{if(dojo.isIE){var _7f="') - + '' - + ((dojo.isIE || dojo.isSafari) ? '':'') - : '', - - focus: function(){ - // summary: Received focus, needed for the InlineEditBox widget - if(!this.disabled){ - this._changing(); // set initial height - } - if(dojo.isMozilla){ - dijit.focus(this.iframe); - }else{ - dijit.focus(this.focusNode); - } - }, - - setValue: function(/*String*/ value, /*Boolean, optional*/ priorityChange){ - var editNode = this.editNode; - if(typeof value == "string"){ - editNode.innerHTML = ""; // wipe out old nodes - if(value.split){ - var _this=this; - var isFirst = true; - dojo.forEach(value.split("\n"), function(line){ - if(isFirst){ isFirst = false; } - else { - editNode.appendChild(document.createElement("BR")); // preserve line breaks - } - editNode.appendChild(document.createTextNode(line)); // use text nodes so that imbedded tags can be edited - }); - }else{ - editNode.appendChild(document.createTextNode(value)); - } - }else{ - // blah
    blah --> blah\nblah - //

    blah

    blah

    --> blah\nblah - //
    blah
    blah
    --> blah\nblah - // &<> -->&< > - value = editNode.innerHTML; - if(this.iframe){ // strip sizeNode - value = value.replace(/
    <\/div>\r?\n?$/i,""); - } - value = value.replace(/\s*\r?\n|^\s+|\s+$| /g,"").replace(/>\s+<").replace(/<\/(p|div)>$|^<(p|div)[^>]*>/gi,"").replace(/([^>])
    /g,"$1\n").replace(/<\/p>\s*]*>|]*>/gi,"\n").replace(/<[^>]*>/g,"").replace(/&/gi,"\&").replace(/</gi,"<").replace(/>/gi,">"); - } - this.value = this.formValueNode.value = value; - if(this.iframe){ - var sizeNode = document.createElement('div'); - editNode.appendChild(sizeNode); - var newHeight = sizeNode.offsetTop; - if(editNode.scrollWidth > editNode.clientWidth){ newHeight+=16; } // scrollbar space needed? - if(this.lastHeight != newHeight){ // cache size so that we don't get a resize event because of a resize event - if(newHeight == 0){ newHeight = 16; } // height = 0 causes the browser to not set scrollHeight - dojo.contentBox(this.iframe, {h: newHeight}); - this.lastHeight = newHeight; - } - editNode.removeChild(sizeNode); - } - dijit.form.Textarea.superclass.setValue.call(this, this.getValue(), priorityChange); - }, - - getValue: function(){ - return this.formValueNode.value.replace(/\r/g,""); - }, - - postMixInProperties: function(){ - dijit.form.Textarea.superclass.postMixInProperties.apply(this,arguments); - // don't let the source text be converted to a DOM structure since we just want raw text - if(this.srcNodeRef && this.srcNodeRef.innerHTML != ""){ - this.value = this.srcNodeRef.innerHTML; - this.srcNodeRef.innerHTML = ""; - } - if((!this.value || this.value == "") && this.srcNodeRef && this.srcNodeRef.value){ - this.value = this.srcNodeRef.value; - } - if(!this.value){ this.value = ""; } - this.value = this.value.replace(/\r\n/g,"\n").replace(/>/g,">").replace(/</g,"<").replace(/&/g,"&"); - if(dojo.isMozilla){ - // In the case of Firefox an iframe is used and when the text gets focus, - // focus is fired from the document object. There isn't a way to put a - // waiRole on the document object and as a result screen readers don't - // announce the role. As a result screen reader users are lost. - // - // An additional problem is that the browser gives the document object a - // very cryptic accessible name, e.g. - // wysiwyg://13/http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_InlineEditBox.html - // When focus is fired from the document object, the screen reader speaks - // the accessible name. The cyptic accessile name is confusing. - // - // A workaround for both of these problems is to give the iframe's - // document a title, the name of which is similar to a role name, i.e. - // "edit area". This will be used as the accessible name which will replace - // the cryptic name and will also convey the role information to the user. - // Because it is read directly to the user, the string must be localized. - var _nlsResources = dojo.i18n.getLocalization("dijit", "Textarea"); - this._iframeEditTitle = _nlsResources.iframeEditTitle; - this._iframeFocusTitle = _nlsResources.iframeFocusTitle; - var body = this.focusNode = this.editNode = document.createElement('BODY'); - body.style.margin="0px"; - body.style.padding="0px"; - body.style.border="0px"; - } - }, - - postCreate: function(){ - if(dojo.isIE || dojo.isSafari){ - this.domNode.style.overflowY = 'hidden'; - }else if(dojo.isMozilla){ - var w = this.iframe.contentWindow; - try { // #4715: peeking at the title can throw a security exception during iframe setup - var title = this.iframe.contentDocument.title; - } catch(e) { var title = ''; } - if(!w || !title){ - this.iframe.postCreate = dojo.hitch(this, this.postCreate); - return; - } - var d = w.document; - d.getElementsByTagName('HTML')[0].replaceChild(this.editNode, d.getElementsByTagName('BODY')[0]); - if(!this.isLeftToRight()){ - d.getElementsByTagName('HTML')[0].dir = "rtl"; - } - this.iframe.style.overflowY = 'hidden'; - this.eventNode = d; - // this.connect won't destroy this handler cleanly since its on the iframe's window object - // resize is a method of window, not document - w.addEventListener("resize", dojo.hitch(this, this._changed), false); // resize is only on the window object - }else{ - this.focusNode = this.domNode; - } - if(this.eventNode){ - this.connect(this.eventNode, "keypress", this._onKeyPress); - this.connect(this.eventNode, "mousemove", this._changed); - this.connect(this.eventNode, "focus", this._focused); - this.connect(this.eventNode, "blur", this._blurred); - } - if(this.editNode){ - this.connect(this.editNode, "change", this._changed); // needed for mouse paste events per #3479 - } - this.inherited('postCreate', arguments); - }, - - // event handlers, you can over-ride these in your own subclasses - _focused: function(e){ - dojo.addClass(this.iframe||this.domNode, "dijitInputFieldFocused"); - this._changed(e); - }, - - _blurred: function(e){ - dojo.removeClass(this.iframe||this.domNode, "dijitInputFieldFocused"); - this._changed(e, true); - }, - - _onIframeBlur: function(){ - // Reset the title back to "edit area". - this.iframe.contentDocument.title = this._iframeEditTitle; - }, - - _onKeyPress: function(e){ - if(e.keyCode == dojo.keys.TAB && !e.shiftKey && !e.ctrlKey && !e.altKey && this.iframe){ - // Pressing the tab key in the iframe (with designMode on) will cause the - // entry of a tab character so we have to trap that here. Since we don't - // know the next focusable object we put focus on the iframe and then the - // user has to press tab again (which then does the expected thing). - // A problem with that is that the screen reader user hears "edit area" - // announced twice which causes confusion. By setting the - // contentDocument's title to "edit area frame" the confusion should be - // eliminated. - this.iframe.contentDocument.title = this._iframeFocusTitle; - // Place focus on the iframe. A subsequent tab or shift tab will put focus - // on the correct control. - // Note: Can't use this.focus() because that results in a call to - // dijit.focus and if that receives an iframe target it will set focus - // on the iframe's contentWindow. - this.iframe.focus(); // this.focus(); won't work - dojo.stopEvent(e); - }else if(e.keyCode == dojo.keys.ENTER){ - e.stopPropagation(); - }else if(this.inherited("_onKeyPress", arguments) && this.iframe){ - // #3752: - // The key press will not make it past the iframe. - // If a widget is listening outside of the iframe, (like InlineEditBox) - // it will not hear anything. - // Create an equivalent event so everyone else knows what is going on. - var te = document.createEvent("KeyEvents"); - te.initKeyEvent("keypress", true, true, null, e.ctrlKey, e.altKey, e.shiftKey, e.metaKey, e.keyCode, e.charCode); - this.iframe.dispatchEvent(te); - } - this._changing(); - }, - - _changing: function(e){ - // summary: event handler for when a change is imminent - setTimeout(dojo.hitch(this, "_changed", e, false), 1); - }, - - _changed: function(e, priorityChange){ - // summary: event handler for when a change has already happened - if(this.iframe && this.iframe.contentDocument.designMode != "on"){ - this.iframe.contentDocument.designMode="on"; // in case this failed on init due to being hidden - } - this.setValue(null, priorityChange); - } -}); - -} diff --git a/spring-faces/src/main/resources/META-INF/dijit/form/TimeTextBox.js b/spring-faces/src/main/resources/META-INF/dijit/form/TimeTextBox.js deleted file mode 100644 index e906888f..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/form/TimeTextBox.js +++ /dev/null @@ -1,125 +0,0 @@ -if(!dojo._hasResource["dijit.form.TimeTextBox"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.form.TimeTextBox"] = true; -dojo.provide("dijit.form.TimeTextBox"); - -dojo.require("dojo.date"); -dojo.require("dojo.date.locale"); -dojo.require("dojo.date.stamp"); -dojo.require("dijit._TimePicker"); -dojo.require("dijit.form.ValidationTextBox"); - -dojo.declare( - "dijit.form.TimeTextBox", - dijit.form.RangeBoundTextBox, - { - // summary: - // A validating, serializable, range-bound date text box. - - // constraints object: min, max - regExpGen: dojo.date.locale.regexp, - compare: dojo.date.compare, - format: function(/*Date*/ value, /*Object*/ constraints){ - if(!value || value.toString() == this._invalid){ return null; } - return dojo.date.locale.format(value, constraints); - }, - parse: dojo.date.locale.parse, - serialize: dojo.date.stamp.toISOString, - - value: new Date(""), // NaN - _invalid: (new Date("")).toString(), // NaN - - _popupClass: "dijit._TimePicker", - - postMixInProperties: function(){ - //dijit.form.RangeBoundTextBox.prototype.postMixInProperties.apply(this, arguments); - this.inherited("postMixInProperties",arguments); - var constraints = this.constraints; - constraints.selector = 'time'; - if(typeof constraints.min == "string"){ constraints.min = dojo.date.stamp.fromISOString(constraints.min); } - if(typeof constraints.max == "string"){ constraints.max = dojo.date.stamp.fromISOString(constraints.max); } - }, - - _onFocus: function(/*Event*/ evt){ - // summary: open the TimePicker popup - this._open(); - }, - - setValue: function(/*Date*/ value, /*Boolean, optional*/ priorityChange){ - // summary: - // Sets the date on this textbox - this.inherited('setValue', arguments); - if(this._picker){ - // #3948: fix blank date on popup only - if(!value || value.toString() == this._invalid){value=new Date();} - this._picker.setValue(value); - } - }, - - _open: function(){ - // summary: - // opens the TimePicker, and sets the onValueSelected value - - if(this.disabled){return;} - - var self = this; - - if(!this._picker){ - var popupProto=dojo.getObject(this._popupClass, false); - this._picker = new popupProto({ - onValueSelected: function(value){ - - self.focus(); // focus the textbox before the popup closes to avoid reopening the popup - setTimeout(dojo.hitch(self, "_close"), 1); // allow focus time to take - - // this will cause InlineEditBox and other handlers to do stuff so make sure it's last - dijit.form.TimeTextBox.superclass.setValue.call(self, value, true); - }, - lang: this.lang, - constraints:this.constraints, - isDisabledDate: function(/*Date*/ date){ - // summary: - // disables dates outside of the min/max of the TimeTextBox - return self.constraints && (dojo.date.compare(self.constraints.min,date) > 0 || dojo.date.compare(self.constraints.max,date) < 0); - } - }); - this._picker.setValue(this.getValue() || new Date()); - } - if(!this._opened){ - dijit.popup.open({ - parent: this, - popup: this._picker, - around: this.domNode, - onCancel: dojo.hitch(this, this._close), - onClose: function(){ self._opened=false; } - }); - this._opened=true; - } - - dojo.marginBox(this._picker.domNode,{ w:this.domNode.offsetWidth }); - }, - - _close: function(){ - if(this._opened){ - dijit.popup.close(this._picker); - this._opened=false; - } - }, - - _onBlur: function(){ - // summary: called magically when focus has shifted away from this widget and it's dropdown - this._close(); - this.inherited('_onBlur', arguments); - // don't focus on . the user has explicitly focused on something else. - }, - - getDisplayedValue:function(){ - return this.textbox.value; - }, - - setDisplayedValue:function(/*String*/ value){ - this.textbox.value=value; - } - } -); - -} diff --git a/spring-faces/src/main/resources/META-INF/dijit/form/ValidationTextBox.js b/spring-faces/src/main/resources/META-INF/dijit/form/ValidationTextBox.js deleted file mode 100644 index 37fffc74..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/form/ValidationTextBox.js +++ /dev/null @@ -1,268 +0,0 @@ -if(!dojo._hasResource["dijit.form.ValidationTextBox"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.form.ValidationTextBox"] = true; -dojo.provide("dijit.form.ValidationTextBox"); - -dojo.require("dojo.i18n"); - -dojo.require("dijit.form.TextBox"); -dojo.require("dijit.Tooltip"); - -dojo.requireLocalization("dijit.form", "validate", null, "ko,zh-cn,zh,ja,zh-tw,ru,it,hu,ROOT,fr,pt,pl,es,de,cs"); - -dojo.declare( - "dijit.form.ValidationTextBox", - dijit.form.TextBox, - { - // summary: - // A subclass of TextBox. - // Over-ride isValid in subclasses to perform specific kinds of validation. - - templateString:"
    Χ
    \n", - baseClass: "dijitTextBox", - - // default values for new subclass properties - // required: Boolean - // Can be true or false, default is false. - required: false, - // promptMessage: String - // Hint string - promptMessage: "", - // invalidMessage: String - // The message to display if value is invalid. - invalidMessage: "\x00", // read from the message file if not overridden - // constraints: Object - // user-defined object needed to pass parameters to the validator functions - constraints: {}, - // regExp: String - // regular expression string used to validate the input - // Do not specify both regExp and regExpGen - regExp: ".*", - // regExpGen: Function - // user replaceable function used to generate regExp when dependent on constraints - // Do not specify both regExp and regExpGen - regExpGen: function(constraints){ return this.regExp; }, - - // state: String - // Shows current state (ie, validation result) of input (Normal, Warning, or Error) - state: "", - - setValue: function(){ - this.inherited('setValue', arguments); - this.validate(false); - }, - - validator: function(value,constraints){ - // summary: user replaceable function used to validate the text input against the regular expression. - return (new RegExp("^(" + this.regExpGen(constraints) + ")"+(this.required?"":"?")+"$")).test(value) && - (!this.required || !this._isEmpty(value)) && - (this._isEmpty(value) || this.parse(value, constraints) !== null); - }, - - isValid: function(/* Boolean*/ isFocused){ - // summary: Need to over-ride with your own validation code in subclasses - return this.validator(this.textbox.value, this.constraints); - }, - - _isEmpty: function(value){ - // summary: Checks for whitespace - return /^\s*$/.test(value); // Boolean - }, - - getErrorMessage: function(/* Boolean*/ isFocused){ - // summary: return an error message to show if appropriate - return this.invalidMessage; - }, - - getPromptMessage: function(/* Boolean*/ isFocused){ - // summary: return a hint to show if appropriate - return this.promptMessage; - }, - - validate: function(/* Boolean*/ isFocused){ - // summary: - // Called by oninit, onblur, and onkeypress. - // description: - // Show missing or invalid messages if appropriate, and highlight textbox field. - var message = ""; - var isValid = this.isValid(isFocused); - var isEmpty = this._isEmpty(this.textbox.value); - this.state = (isValid || (!this._hasBeenBlurred && isEmpty)) ? "" : "Error"; - this._setStateClass(); - dijit.setWaiState(this.focusNode, "invalid", (isValid? "false" : "true")); - if(isFocused){ - if(isEmpty){ - message = this.getPromptMessage(true); - } - if(!message && !isValid){ - message = this.getErrorMessage(true); - } - } - this._displayMessage(message); - }, - - // currently displayed message - _message: "", - - _displayMessage: function(/*String*/ message){ - if(this._message == message){ return; } - this._message = message; - this.displayMessage(message); - }, - - displayMessage: function(/*String*/ message){ - // summary: - // User overridable method to display validation errors/hints. - // By default uses a tooltip. - if(message){ - dijit.showTooltip(message, this.domNode); - }else{ - dijit.hideTooltip(this.domNode); - } - }, - - _hasBeenBlurred: false, - - _onBlur: function(evt){ - this._hasBeenBlurred = true; - this.validate(false); - this.inherited('_onBlur', arguments); - }, - - onfocus: function(evt){ - // TODO: change to _onFocus? - this.validate(true); - this._onMouse(evt); // update CSS classes - }, - - onkeyup: function(evt){ - this.onfocus(evt); - }, - - //////////// INITIALIZATION METHODS /////////////////////////////////////// - constructor: function(){ - this.constraints = {}; - }, - - postMixInProperties: function(){ - this.inherited('postMixInProperties', arguments); - this.constraints.locale=this.lang; - this.messages = dojo.i18n.getLocalization("dijit.form", "validate", this.lang); - if(this.invalidMessage == "\x00"){ this.invalidMessage = this.messages.invalidMessage; } - var p = this.regExpGen(this.constraints); - this.regExp = p; - // make value a string for all types so that form reset works well - } - } -); - -dojo.declare( - "dijit.form.MappedTextBox", - dijit.form.ValidationTextBox, - { - // summary: - // A subclass of ValidationTextBox. - // Provides a hidden input field and a serialize method to override - - serialize: function(val, /*Object?*/options){ - // summary: user replaceable function used to convert the getValue() result to a String - return (val.toString ? val.toString() : ""); - }, - - toString: function(){ - // summary: display the widget as a printable string using the widget's value - var val = this.filter(this.getValue()); - return (val!=null) ? ((typeof val == "string") ? val : this.serialize(val, this.constraints)) : ""; - }, - - validate: function(){ - this.valueNode.value = this.toString(); - this.inherited('validate', arguments); - }, - - postCreate: function(){ - var textbox = this.textbox; - var valueNode = (this.valueNode = document.createElement("input")); - valueNode.setAttribute("type", textbox.type); - valueNode.setAttribute("value", this.toString()); - dojo.style(valueNode, "display", "none"); - valueNode.name = this.textbox.name; - this.textbox.name = "_" + this.textbox.name + "_displayed_"; - this.textbox.removeAttribute("name"); - dojo.place(valueNode, textbox, "after"); - - this.inherited('postCreate', arguments); - } - } -); - -dojo.declare( - "dijit.form.RangeBoundTextBox", - dijit.form.MappedTextBox, - { - // summary: - // A subclass of MappedTextBox. - // Tests for a value out-of-range - /*===== contraints object: - // min: Number - // Minimum signed value. Default is -Infinity - min: undefined, - // max: Number - // Maximum signed value. Default is +Infinity - max: undefined, - =====*/ - - // rangeMessage: String - // The message to display if value is out-of-range - rangeMessage: "", - - compare: function(val1, val2){ - // summary: compare 2 values - return val1 - val2; - }, - - rangeCheck: function(/* Number */ primitive, /* Object */ constraints){ - // summary: user replaceable function used to validate the range of the numeric input value - var isMin = (typeof constraints.min != "undefined"); - var isMax = (typeof constraints.max != "undefined"); - if(isMin || isMax){ - return (!isMin || this.compare(primitive,constraints.min) >= 0) && - (!isMax || this.compare(primitive,constraints.max) <= 0); - }else{ return true; } - }, - - isInRange: function(/* Boolean*/ isFocused){ - // summary: Need to over-ride with your own validation code in subclasses - return this.rangeCheck(this.getValue(), this.constraints); - }, - - isValid: function(/* Boolean*/ isFocused){ - return this.inherited('isValid', arguments) && - ((this._isEmpty(this.textbox.value) && !this.required) || this.isInRange(isFocused)); - }, - - getErrorMessage: function(/* Boolean*/ isFocused){ - if(dijit.form.RangeBoundTextBox.superclass.isValid.call(this, false) && !this.isInRange(isFocused)){ return this.rangeMessage; } - else{ return this.inherited('getErrorMessage', arguments); } - }, - - postMixInProperties: function(){ - this.inherited('postMixInProperties', arguments); - if(!this.rangeMessage){ - this.messages = dojo.i18n.getLocalization("dijit.form", "validate", this.lang); - this.rangeMessage = this.messages.rangeMessage; - } - }, - - postCreate: function(){ - this.inherited('postCreate', arguments); - if(typeof this.constraints.min != "undefined"){ - dijit.setWaiState(this.focusNode, "valuemin", this.constraints.min); - } - if(typeof this.constraints.max != "undefined"){ - dijit.setWaiState(this.focusNode, "valuemax", this.constraints.max); - } - } - } -); - -} diff --git a/spring-faces/src/main/resources/META-INF/dijit/form/_DropDownTextBox.js b/spring-faces/src/main/resources/META-INF/dijit/form/_DropDownTextBox.js deleted file mode 100644 index 67b51f54..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/form/_DropDownTextBox.js +++ /dev/null @@ -1,235 +0,0 @@ -if(!dojo._hasResource["dijit.form._DropDownTextBox"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.form._DropDownTextBox"] = true; -dojo.provide("dijit.form._DropDownTextBox"); - -dojo.declare( - "dijit.form._DropDownTextBox", - null, - { - // summary: - // Mixin text box with drop down - - templateString:"\n
    \n\t\t\t
    \n\t\t
    \n\t
    \n", - - baseClass:"dijitComboBox", - - // hasDownArrow: Boolean - // Set this textbox to have a down arrow button - // Defaults to true - hasDownArrow:true, - - // _popupWidget: Widget - // link to the popup widget created by makePopop - _popupWidget:null, - - // _hasMasterPopup: Boolean - // Flag that determines if this widget should share one popup per widget prototype, - // or create one popup per widget instance. - // If true, then makePopup() creates one popup per widget prototype. - // If false, then makePopup() creates one popup per widget instance. - _hasMasterPopup:false, - - // _popupClass: String - // Class of master popup (dijit.form._ComboBoxMenu) - _popupClass:"", - - // _popupArgs: Object - // Object to pass to popup widget on initialization - _popupArgs:{}, - - // _hasFocus: Boolean - // Represents focus state of the textbox - _hasFocus:false, - - _arrowPressed: function(){ - if(!this.disabled&&this.hasDownArrow){ - dojo.addClass(this.downArrowNode, "dijitArrowButtonActive"); - } - }, - - _arrowIdle: function(){ - if(!this.disabled&&this.hasDownArrow){ - dojo.removeClass(this.downArrowNode, "dojoArrowButtonPushed"); - } - }, - - makePopup: function(){ - // summary: - // create popup widget on demand - var _this=this; - function _createNewPopup(){ - // common code from makePopup - var node=document.createElement("div"); - document.body.appendChild(node); - var popupProto=dojo.getObject(_this._popupClass, false); - return new popupProto(_this._popupArgs, node); - } - // this code only runs if there is no popup reference - if(!this._popupWidget){ - // does this widget have one "master" popup? - if(this._hasMasterPopup){ - // does the master popup not exist yet? - var parentClass = dojo.getObject(this.declaredClass, false); - if(!parentClass.prototype._popupWidget){ - // create the master popup for the first time - parentClass.prototype._popupWidget=_createNewPopup(); - } - // assign master popup to local link - this._popupWidget=parentClass.prototype._popupWidget; - }else{ - // if master popup is not being used, create one popup per widget instance - this._popupWidget=_createNewPopup(); - } - } - }, - - _onArrowClick: function(){ - // summary: callback when arrow is clicked - if(this.disabled){ - return; - } - this.focus(); - this.makePopup(); - if(this._isShowingNow){ - this._hideResultList(); - }else{ - // forces full population of results, if they click - // on the arrow it means they want to see more options - this._openResultList(); - } - }, - - _hideResultList: function(){ - if(this._isShowingNow){ - dijit.popup.close(); - this._arrowIdle(); - this._isShowingNow=false; - } - }, - - _openResultList:function(){ - // summary: - // any code that needs to happen before the popup appears. - // creating the popupWidget contents etc. - this._showResultList(); - }, - - onfocus:function(){ - this._hasFocus=true; - }, - - onblur:function(){ - this._arrowIdle(); - this._hasFocus=false; - // removeClass dijitInputFieldFocused - dojo.removeClass(this.nodeWithBorder, "dijitInputFieldFocused"); - // hide the Tooltip - this.validate(false); - }, - - onkeypress: function(/*Event*/ evt){ - // summary: generic handler for popup keyboard events - if(evt.ctrlKey || evt.altKey){ - return; - } - switch(evt.keyCode){ - case dojo.keys.PAGE_DOWN: - case dojo.keys.DOWN_ARROW: - if(!this._isShowingNow||this._prev_key_esc){ - this.makePopup(); - this._arrowPressed(); - this._openResultList(); - } - dojo.stopEvent(evt); - this._prev_key_backspace = false; - this._prev_key_esc = false; - break; - - case dojo.keys.PAGE_UP: - case dojo.keys.UP_ARROW: - case dojo.keys.ENTER: - // prevent default actions - dojo.stopEvent(evt); - // fall through - case dojo.keys.ESCAPE: - case dojo.keys.TAB: - if(this._isShowingNow){ - this._prev_key_backspace = false; - this._prev_key_esc = (evt.keyCode==dojo.keys.ESCAPE); - this._hideResultList(); - } - break; - } - }, - - compositionend: function(/*Event*/ evt){ - // summary: When inputting characters using an input method, such as Asian - // languages, it will generate this event instead of onKeyDown event - this.onkeypress({charCode:-1}); - }, - - _showResultList: function(){ - // Our dear friend IE doesnt take max-height so we need to calculate that on our own every time - this._hideResultList(); - var childs = this._popupWidget.getListLength ? this._popupWidget.getItems() : [this._popupWidget.domNode]; - - if(childs.length){ - var visibleCount = Math.min(childs.length,this.maxListLength); - with(this._popupWidget.domNode.style){ - // trick to get the dimensions of the popup - // TODO: doesn't dijit.popup.open() do this automatically? - display=""; - width=""; - height=""; - } - this._arrowPressed(); - // hide the tooltip - this._displayMessage(""); - var best=this.open(); - // #3212: only set auto scroll bars if necessary - // prevents issues with scroll bars appearing when they shouldn't when node is made wider (fractional pixels cause this) - var popupbox=dojo.marginBox(this._popupWidget.domNode); - this._popupWidget.domNode.style.overflow=((best.h==popupbox.h)&&(best.w==popupbox.w))?"hidden":"auto"; - dojo.marginBox(this._popupWidget.domNode, {h:best.h,w:Math.max(best.w,this.domNode.offsetWidth)}); - - } - }, - - getDisplayedValue:function(){ - return this.textbox.value; - }, - - setDisplayedValue:function(/*String*/ value){ - this.textbox.value=value; - }, - - uninitialize:function(){ - if(this._popupWidget){ - this._hideResultList(); - this._popupWidget.destroy() - }; - }, - - open:function(){ - this.makePopup(); - var self=this; - self._isShowingNow=true; - return dijit.popup.open({ - popup: this._popupWidget, - around: this.domNode, - parent: this - }); - }, - - _onBlur: function(){ - // summary: called magically when focus has shifted away from this widget and it's dropdown - this._hideResultList(); - }, - - postMixInProperties:function(){ - this.baseClass=this.hasDownArrow?this.baseClass:this.baseClass+"NoArrow"; - } - } -); - -} diff --git a/spring-faces/src/main/resources/META-INF/dijit/form/_FormWidget.js b/spring-faces/src/main/resources/META-INF/dijit/form/_FormWidget.js deleted file mode 100644 index 4c6f2839..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/form/_FormWidget.js +++ /dev/null @@ -1,265 +0,0 @@ -if(!dojo._hasResource["dijit.form._FormWidget"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.form._FormWidget"] = true; -dojo.provide("dijit.form._FormWidget"); - -dojo.require("dijit._Widget"); -dojo.require("dijit._Templated"); - -dojo.declare("dijit.form._FormWidget", [dijit._Widget, dijit._Templated], -{ - /* - Summary: - FormElement widgets correspond to native HTML elements such as or
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/form/templates/CheckBox.html b/spring-faces/src/main/resources/META-INF/dijit/form/templates/CheckBox.html deleted file mode 100644 index 5228cc85..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/form/templates/CheckBox.html +++ /dev/null @@ -1,7 +0,0 @@ -
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/form/templates/ComboBox.html b/spring-faces/src/main/resources/META-INF/dijit/form/templates/ComboBox.html deleted file mode 100644 index 8f3431a5..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/form/templates/ComboBox.html +++ /dev/null @@ -1,20 +0,0 @@ -
    Χ
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/form/templates/ComboButton.html b/spring-faces/src/main/resources/META-INF/dijit/form/templates/ComboButton.html deleted file mode 100644 index dad86633..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/form/templates/ComboButton.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - -
    -
    - ${label} -
    -
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/form/templates/DropDownButton.html b/spring-faces/src/main/resources/META-INF/dijit/form/templates/DropDownButton.html deleted file mode 100644 index ddcf5f12..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/form/templates/DropDownButton.html +++ /dev/null @@ -1,11 +0,0 @@ -
    - -
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/form/templates/HorizontalSlider.html b/spring-faces/src/main/resources/META-INF/dijit/form/templates/HorizontalSlider.html deleted file mode 100644 index d78ee919..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/form/templates/HorizontalSlider.html +++ /dev/null @@ -1,37 +0,0 @@ -
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/form/templates/InlineEditBox.html b/spring-faces/src/main/resources/META-INF/dijit/form/templates/InlineEditBox.html deleted file mode 100644 index 6db34964..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/form/templates/InlineEditBox.html +++ /dev/null @@ -1,12 +0,0 @@ -
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/form/templates/Spinner.html b/spring-faces/src/main/resources/META-INF/dijit/form/templates/Spinner.html deleted file mode 100644 index b5125025..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/form/templates/Spinner.html +++ /dev/null @@ -1,29 +0,0 @@ -
    - diff --git a/spring-faces/src/main/resources/META-INF/dijit/form/templates/TextBox.html b/spring-faces/src/main/resources/META-INF/dijit/form/templates/TextBox.html deleted file mode 100644 index 221f96c2..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/form/templates/TextBox.html +++ /dev/null @@ -1,4 +0,0 @@ - \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/form/templates/TimePicker.html b/spring-faces/src/main/resources/META-INF/dijit/form/templates/TimePicker.html deleted file mode 100644 index 0bf3c40a..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/form/templates/TimePicker.html +++ /dev/null @@ -1,5 +0,0 @@ -
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/form/templates/ValidationTextBox.html b/spring-faces/src/main/resources/META-INF/dijit/form/templates/ValidationTextBox.html deleted file mode 100644 index 8dd25458..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/form/templates/ValidationTextBox.html +++ /dev/null @@ -1,13 +0,0 @@ -
    Χ
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/form/templates/VerticalSlider.html b/spring-faces/src/main/resources/META-INF/dijit/form/templates/VerticalSlider.html deleted file mode 100644 index 886a694c..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/form/templates/VerticalSlider.html +++ /dev/null @@ -1,46 +0,0 @@ -
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/form/templates/blank.gif b/spring-faces/src/main/resources/META-INF/dijit/form/templates/blank.gif deleted file mode 100644 index e565824a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/form/templates/blank.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/layout/AccordionContainer.js b/spring-faces/src/main/resources/META-INF/dijit/layout/AccordionContainer.js deleted file mode 100644 index eb8cb541..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/layout/AccordionContainer.js +++ /dev/null @@ -1,209 +0,0 @@ -if(!dojo._hasResource["dijit.layout.AccordionContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.AccordionContainer"] = true; -dojo.provide("dijit.layout.AccordionContainer"); - -dojo.require("dojo.fx"); - -dojo.require("dijit._Container"); -dojo.require("dijit._Templated"); -dojo.require("dijit.layout.StackContainer"); -dojo.require("dijit.layout.ContentPane"); - -dojo.declare( - "dijit.layout.AccordionContainer", - dijit.layout.StackContainer, - { - // summary: - // Holds a set of panes where every pane's title is visible, but only one pane's content is visible at a time, - // and switching between panes is visualized by sliding the other panes up/down. - // usage: - //
    - //
    - //
    ...
    - //
    - //
    - //

    This is some text

    - // ... - //
    - - // duration: Integer - // Amount of time (in ms) it takes to slide panes - duration: 250, - - _verticalSpace: 0, - - postCreate: function(){ - this.domNode.style.overflow="hidden"; - this.inherited("postCreate",arguments); - dijit.setWaiRole(this.domNode, "tablist"); - dojo.addClass(this.domNode,"dijitAccordionContainer"); - }, - - startup: function(){ - if(this._started){ return; } - this.inherited("startup",arguments); - if(this.selectedChildWidget){ - var style = this.selectedChildWidget.containerNode.style; - style.display = ""; - style.overflow = "auto"; - this.selectedChildWidget._setSelectedState(true); - } - }, - - layout: function(){ - // summary - // Set the height of the open pane based on what room remains - // get cumulative height of all the title bars, and figure out which pane is open - var totalCollapsedHeight = 0; - var openPane = this.selectedChildWidget; - dojo.forEach(this.getChildren(), function(child){ - totalCollapsedHeight += child.getTitleHeight(); - }); - var mySize = this._contentBox; - this._verticalSpace = (mySize.h - totalCollapsedHeight); - if(openPane){ - openPane.containerNode.style.height = this._verticalSpace + "px"; -/*** -TODO: this is wrong. probably you wanted to call resize on the SplitContainer -inside the AccordionPane?? - if(openPane.resize){ - openPane.resize({h: this._verticalSpace}); - } -***/ - } - }, - - _setupChild: function(/*Widget*/ page){ - // Summary: prepare the given child - return page; - }, - - _transition: function(/*Widget?*/newWidget, /*Widget?*/oldWidget){ -//TODO: should be able to replace this with calls to slideIn/slideOut - if(this._inTransition){ return; } - this._inTransition = true; - var animations = []; - var paneHeight = this._verticalSpace; - if(newWidget){ - newWidget.setSelected(true); - var newContents = newWidget.containerNode; - newContents.style.display = ""; - - animations.push(dojo.animateProperty({ - node: newContents, - duration: this.duration, - properties: { - height: { start: "1", end: paneHeight } - }, - onEnd: function(){ - newContents.style.overflow = "auto"; - } - })); - } - if(oldWidget){ - oldWidget.setSelected(false); - var oldContents = oldWidget.containerNode; - oldContents.style.overflow = "hidden"; - animations.push(dojo.animateProperty({ - node: oldContents, - duration: this.duration, - properties: { - height: { start: paneHeight, end: "1" } - }, - onEnd: function(){ - oldContents.style.display = "none"; - } - })); - } - - this._inTransition = false; - - dojo.fx.combine(animations).play(); - }, - - // note: we are treating the container as controller here - _onKeyPress: function(/*Event*/ e){ - if(this.disabled || e.altKey ){ return; } - var k = dojo.keys; - switch(e.keyCode){ - case k.LEFT_ARROW: - case k.UP_ARROW: - case k.PAGE_UP: - this._adjacent(false)._onTitleClick(); - dojo.stopEvent(e); - break; - case k.RIGHT_ARROW: - case k.DOWN_ARROW: - case k.PAGE_DOWN: - this._adjacent(true)._onTitleClick(); - dojo.stopEvent(e); - break; - default: - if(e.ctrlKey && e.keyCode == k.TAB){ - this._adjacent(e._dijitWidget, !e.shiftKey)._onTitleClick(); - dojo.stopEvent(e); - } - - } - } - } -); - -dojo.declare( - "dijit.layout.AccordionPane", - [dijit.layout.ContentPane, dijit._Templated, dijit._Contained], -{ - // summary - // AccordionPane is a ContentPane with a title that may contain another widget. - // Nested layout widgets, such as SplitContainer, are not supported at this time. - - templateString:"
    ${title}
    \n
    \n", - - postCreate: function(){ - this.inherited("postCreate",arguments) - dojo.setSelectable(this.titleNode, false); - this.setSelected(this.selected); - }, - - getTitleHeight: function(){ - // summary: returns the height of the title dom node - return dojo.marginBox(this.titleNode).h; // Integer - }, - - _onTitleClick: function(){ - // summary: callback when someone clicks my title - var parent = this.getParent(); - if(!parent._inTransition){ - parent.selectChild(this); - dijit.focus(this.focusNode); - } - }, - - _onTitleKeyPress: function(/*Event*/ evt){ - evt._dijitWidget = this; - return this.getParent()._onKeyPress(evt); - }, - - _setSelectedState: function(/*Boolean*/ isSelected){ - this.selected = isSelected; - dojo[(isSelected ? "addClass" : "removeClass")](this.domNode,"dijitAccordionPane-selected"); - this.focusNode.setAttribute("tabIndex", isSelected ? "0" : "-1"); - }, - - _handleFocus: function(/*Event*/e){ - // summary: handle the blur and focus state of this widget - dojo[(e.type=="focus" ? "addClass" : "removeClass")](this.focusNode,"dijitAccordionPaneFocused"); - }, - - setSelected: function(/*Boolean*/ isSelected){ - // summary: change the selected state on this pane - this._setSelectedState(isSelected); - if(isSelected){ this.onSelected(); } - }, - - onSelected: function(){ - // summary: called when this pane is selected - } -}); - -} diff --git a/spring-faces/src/main/resources/META-INF/dijit/layout/ContentPane.js b/spring-faces/src/main/resources/META-INF/dijit/layout/ContentPane.js deleted file mode 100644 index f1983e6c..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/layout/ContentPane.js +++ /dev/null @@ -1,409 +0,0 @@ -if(!dojo._hasResource["dijit.layout.ContentPane"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.ContentPane"] = true; -dojo.provide("dijit.layout.ContentPane"); - -dojo.require("dijit._Widget"); -dojo.require("dijit.layout._LayoutWidget"); - -dojo.require("dojo.parser"); -dojo.require("dojo.string"); -dojo.requireLocalization("dijit", "loading", null, "ko,zh,ja,zh-tw,ru,it,ROOT,hu,fr,pt,pl,es,de,cs"); - -dojo.declare( - "dijit.layout.ContentPane", - dijit._Widget, -{ - // summary: - // A widget that acts as a Container for other widgets, and includes a ajax interface - // description: - // A widget that can be used as a standalone widget - // or as a baseclass for other widgets - // Handles replacement of document fragment using either external uri or javascript - // generated markup or DOM content, instantiating widgets within that content. - // Don't confuse it with an iframe, it only needs/wants document fragments. - // It's useful as a child of LayoutContainer, SplitContainer, or TabContainer. - // But note that those classes can contain any widget as a child. - // example: - // Some quick samples: - // To change the innerHTML use .setContent('new content') - // - // Or you can send it a NodeList, .setContent(dojo.query('div [class=selected]', userSelection)) - // please note that the nodes in NodeList will copied, not moved - // - // To do a ajax update use .setHref('url') - // - // href: String - // The href of the content that displays now. - // Set this at construction if you want to load data externally when the - // pane is shown. (Set preload=true to load it immediately.) - // Changing href after creation doesn't have any effect; see setHref(); - href: "", - - // extractContent: Boolean - // Extract visible content from inside of .... - extractContent: false, - - // parseOnLoad: Boolean - // parse content and create the widgets, if any - parseOnLoad: true, - - // preventCache: Boolean - // Cache content retreived externally - preventCache: false, - - // preload: Boolean - // Force load of data even if pane is hidden. - preload: false, - - // refreshOnShow: Boolean - // Refresh (re-download) content when pane goes from hidden to shown - refreshOnShow: false, - - // loadingMessage: String - // Message that shows while downloading - loadingMessage: "${loadingState}", - - // errorMessage: String - // Message that shows if an error occurs - errorMessage: "${errorState}", - - // isLoaded: Boolean - // Tells loading status see onLoad|onUnload for event hooks - isLoaded: false, - - // class: String - // Class name to apply to ContentPane dom nodes - "class": "dijitContentPane", - - postCreate: function(){ - // remove the title attribute so it doesn't show up when i hover - // over a node - this.domNode.title = ""; - - if(this.preload){ - this._loadCheck(); - } - - var messages = dojo.i18n.getLocalization("dijit", "loading", this.lang); - this.loadingMessage = dojo.string.substitute(this.loadingMessage, messages); - this.errorMessage = dojo.string.substitute(this.errorMessage, messages); - - // for programatically created ContentPane (with tag), need to muck w/CSS - // or it's as though overflow:visible is set - dojo.addClass(this.domNode, this["class"]); - }, - - startup: function(){ - if(this._started){ return; } - this._checkIfSingleChild(); - if(this._singleChild){ - this._singleChild.startup(); - } - this._loadCheck(); - this._started = true; - }, - - _checkIfSingleChild: function(){ - // summary: - // Test if we have exactly one widget as a child, and if so assume that we are a container for that widget, - // and should propogate startup() and resize() calls to it. - var childNodes = dojo.query(">", this.containerNode || this.domNode), - childWidgets = childNodes.filter("[widgetId]"); - - if(childNodes.length == 1 && childWidgets.length == 1){ - this.isContainer = true; - this._singleChild = dijit.byNode(childWidgets[0]); - }else{ - delete this.isContainer; - delete this._singleChild; - } - }, - - refresh: function(){ - // summary: - // Force a refresh (re-download) of content, be sure to turn off cache - - // we return result of _prepareLoad here to avoid code dup. in dojox.layout.ContentPane - return this._prepareLoad(true); - }, - - setHref: function(/*String|Uri*/ href){ - // summary: - // Reset the (external defined) content of this pane and replace with new url - // Note: It delays the download until widget is shown if preload is false - // href: - // url to the page you want to get, must be within the same domain as your mainpage - this.href = href; - - // we return result of _prepareLoad here to avoid code dup. in dojox.layout.ContentPane - return this._prepareLoad(); - }, - - setContent: function(/*String|DomNode|Nodelist*/data){ - // summary: - // Replaces old content with data content, include style classes from old content - // data: - // the new Content may be String, DomNode or NodeList - // - // if data is a NodeList (or an array of nodes) nodes are copied - // so you can import nodes from another document implicitly - - // clear href so we cant run refresh and clear content - // refresh should only work if we downloaded the content - if(!this._isDownloaded){ - this.href = ""; - this._onUnloadHandler(); - } - - this._setContent(data || ""); - - this._isDownloaded = false; // must be set after _setContent(..), pathadjust in dojox.layout.ContentPane - - if(this.parseOnLoad){ - this._createSubWidgets(); - } - - this._checkIfSingleChild(); - if(this._singleChild && this._singleChild.resize){ - this._singleChild.resize(this._contentBox); - } - - this._onLoadHandler(); - }, - - cancel: function(){ - // summary: - // Cancels a inflight download of content - if(this._xhrDfd && (this._xhrDfd.fired == -1)){ - this._xhrDfd.cancel(); - } - delete this._xhrDfd; // garbage collect - }, - - destroy: function(){ - // if we have multiple controllers destroying us, bail after the first - if(this._beingDestroyed){ - return; - } - // make sure we call onUnload - this._onUnloadHandler(); - this._beingDestroyed = true; - this.inherited("destroy",arguments); - }, - - resize: function(size){ - dojo.marginBox(this.domNode, size); - - // Compute content box size in case we [later] need to size child - // If either height or width wasn't specified by the user, then query node for it. - // But note that setting the margin box and then immediately querying dimensions may return - // inaccurate results, so try not to depend on it. - var node = this.containerNode || this.domNode, - mb = dojo.mixin(dojo.marginBox(node), size||{}); - - this._contentBox = dijit.layout.marginBox2contentBox(node, mb); - - // If we have a single widget child then size it to fit snugly within my borders - if(this._singleChild && this._singleChild.resize){ - this._singleChild.resize(this._contentBox); - } - }, - - _prepareLoad: function(forceLoad){ - // sets up for a xhrLoad, load is deferred until widget onShow - // cancels a inflight download - this.cancel(); - this.isLoaded = false; - this._loadCheck(forceLoad); - }, - - _loadCheck: function(forceLoad){ - // call this when you change onShow (onSelected) status when selected in parent container - // it's used as a trigger for href download when this.domNode.display != 'none' - - // sequence: - // if no href -> bail - // forceLoad -> always load - // this.preload -> load when download not in progress, domNode display doesn't matter - // this.refreshOnShow -> load when download in progress bails, domNode display !='none' AND - // this.open !== false (undefined is ok), isLoaded doesn't matter - // else -> load when download not in progress, if this.open !== false (undefined is ok) AND - // domNode display != 'none', isLoaded must be false - - var displayState = ((this.open !== false) && (this.domNode.style.display != 'none')); - - if(this.href && - (forceLoad || - (this.preload && !this._xhrDfd) || - (this.refreshOnShow && displayState && !this._xhrDfd) || - (!this.isLoaded && displayState && !this._xhrDfd) - ) - ){ - this._downloadExternalContent(); - } - }, - - _downloadExternalContent: function(){ - this._onUnloadHandler(); - - // display loading message - this._setContent( - this.onDownloadStart.call(this) - ); - - var self = this; - var getArgs = { - preventCache: (this.preventCache || this.refreshOnShow), - url: this.href, - handleAs: "text" - }; - if(dojo.isObject(this.ioArgs)){ - dojo.mixin(getArgs, this.ioArgs); - } - - var hand = this._xhrDfd = (this.ioMethod || dojo.xhrGet)(getArgs); - - hand.addCallback(function(html){ - try{ - self.onDownloadEnd.call(self); - self._isDownloaded = true; - self.setContent.call(self, html); // onload event is called from here - }catch(err){ - self._onError.call(self, 'Content', err); // onContentError - } - delete self._xhrDfd; - return html; - }); - - hand.addErrback(function(err){ - if(!hand.cancelled){ - // show error message in the pane - self._onError.call(self, 'Download', err); // onDownloadError - } - delete self._xhrDfd; - return err; - }); - }, - - _onLoadHandler: function(){ - this.isLoaded = true; - try{ - this.onLoad.call(this); - }catch(e){ - console.error('Error '+this.widgetId+' running custom onLoad code'); - } - }, - - _onUnloadHandler: function(){ - this.isLoaded = false; - this.cancel(); - try{ - this.onUnload.call(this); - }catch(e){ - console.error('Error '+this.widgetId+' running custom onUnload code'); - } - }, - - _setContent: function(cont){ - this.destroyDescendants(); - - try{ - var node = this.containerNode || this.domNode; - while(node.firstChild){ - dojo._destroyElement(node.firstChild); - } - if(typeof cont == "string"){ - // dijit.ContentPane does only minimal fixes, - // No pathAdjustments, script retrieval, style clean etc - // some of these should be available in the dojox.layout.ContentPane - if(this.extractContent){ - match = cont.match(/]*>\s*([\s\S]+)\s*<\/body>/im); - if(match){ cont = match[1]; } - } - node.innerHTML = cont; - }else{ - // domNode or NodeList - if(cont.nodeType){ // domNode (htmlNode 1 or textNode 3) - node.appendChild(cont); - }else{// nodelist or array such as dojo.Nodelist - dojo.forEach(cont, function(n){ - node.appendChild(n.cloneNode(true)); - }); - } - } - }catch(e){ - // check if a domfault occurs when we are appending this.errorMessage - // like for instance if domNode is a UL and we try append a DIV - var errMess = this.onContentError(e); - try{ - node.innerHTML = errMess; - }catch(e){ - console.error('Fatal '+this.id+' could not change content due to '+e.message, e); - } - } - }, - - _onError: function(type, err, consoleText){ - // shows user the string that is returned by on[type]Error - // overide on[type]Error and return your own string to customize - var errText = this['on' + type + 'Error'].call(this, err); - if(consoleText){ - console.error(consoleText, err); - }else if(errText){// a empty string won't change current content - this._setContent.call(this, errText); - } - }, - - _createSubWidgets: function(){ - // summary: scan my contents and create subwidgets - var rootNode = this.containerNode || this.domNode; - try{ - dojo.parser.parse(rootNode, true); - }catch(e){ - this._onError('Content', e, "Couldn't create widgets in "+this.id - +(this.href ? " from "+this.href : "")); - } - }, - - // EVENT's, should be overide-able - onLoad: function(e){ - // summary: - // Event hook, is called after everything is loaded and widgetified - }, - - onUnload: function(e){ - // summary: - // Event hook, is called before old content is cleared - }, - - onDownloadStart: function(){ - // summary: - // called before download starts - // the string returned by this function will be the html - // that tells the user we are loading something - // override with your own function if you want to change text - return this.loadingMessage; - }, - - onContentError: function(/*Error*/ error){ - // summary: - // called on DOM faults, require fault etc in content - // default is to display errormessage inside pane - }, - - onDownloadError: function(/*Error*/ error){ - // summary: - // Called when download error occurs, default is to display - // errormessage inside pane. Overide function to change that. - // The string returned by this function will be the html - // that tells the user a error happend - return this.errorMessage; - }, - - onDownloadEnd: function(){ - // summary: - // called when download is finished - } -}); - -} diff --git a/spring-faces/src/main/resources/META-INF/dijit/layout/LayoutContainer.js b/spring-faces/src/main/resources/META-INF/dijit/layout/LayoutContainer.js deleted file mode 100644 index d1be0b6c..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/layout/LayoutContainer.js +++ /dev/null @@ -1,71 +0,0 @@ -if(!dojo._hasResource["dijit.layout.LayoutContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.LayoutContainer"] = true; -dojo.provide("dijit.layout.LayoutContainer"); - -dojo.require("dijit.layout._LayoutWidget"); - -dojo.declare( - "dijit.layout.LayoutContainer", - dijit.layout._LayoutWidget, -{ - // summary - // Provides Delphi-style panel layout semantics. - // - // details - // A LayoutContainer is a box with a specified size (like style="width: 500px; height: 500px;"), - // that contains children widgets marked with "layoutAlign" of "left", "right", "bottom", "top", and "client". - // It takes it's children marked as left/top/bottom/right, and lays them out along the edges of the box, - // and then it takes the child marked "client" and puts it into the remaining space in the middle. - // - // Left/right positioning is similar to CSS's "float: left" and "float: right", - // and top/bottom positioning would be similar to "float: top" and "float: bottom", if there were such - // CSS. - // - // Note that there can only be one client element, but there can be multiple left, right, top, - // or bottom elements. - // - // usage - // - //
    - //
    header text
    - //
    table of contents
    - //
    client area
    - //
    - // - // Lays out each child in the natural order the children occur in. - // Basically each child is laid out into the "remaining space", where "remaining space" is initially - // the content area of this widget, but is reduced to a smaller rectangle each time a child is added. - // - - layout: function(){ - dijit.layout.layoutChildren(this.domNode, this._contentBox, this.getChildren()); - }, - - addChild: function(/*Widget*/ child, /*Integer?*/ insertIndex){ - dijit._Container.prototype.addChild.apply(this, arguments); - if(this._started){ - dijit.layout.layoutChildren(this.domNode, this._contentBox, this.getChildren()); - } - }, - - removeChild: function(/*Widget*/ widget){ - dijit._Container.prototype.removeChild.apply(this, arguments); - if(this._started){ - dijit.layout.layoutChildren(this.domNode, this._contentBox, this.getChildren()); - } - } -}); - -// This argument can be specified for the children of a LayoutContainer. -// Since any widget can be specified as a LayoutContainer child, mix it -// into the base widget class. (This is a hack, but it's effective.) -dojo.extend(dijit._Widget, { - // layoutAlign: String - // "none", "left", "right", "bottom", "top", and "client". - // See the LayoutContainer description for details on this parameter. - layoutAlign: 'none' -}); - -} diff --git a/spring-faces/src/main/resources/META-INF/dijit/layout/LinkPane.js b/spring-faces/src/main/resources/META-INF/dijit/layout/LinkPane.js deleted file mode 100644 index 515d7370..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/layout/LinkPane.js +++ /dev/null @@ -1,36 +0,0 @@ -if(!dojo._hasResource["dijit.layout.LinkPane"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.LinkPane"] = true; -dojo.provide("dijit.layout.LinkPane"); - -dojo.require("dijit.layout.ContentPane"); -dojo.require("dijit._Templated"); - -dojo.declare("dijit.layout.LinkPane", - [dijit.layout.ContentPane, dijit._Templated], - { - // summary: - // A ContentPane that loads data remotely - // description: - // LinkPane is just a ContentPane that loads data remotely (via the href attribute), - // and has markup similar to an anchor. The anchor's body (the words between
    and ) - // become the title of the widget (used for TabContainer, AccordionContainer, etc.) - // example: - // my title - - // I'm using a template because the user may specify the input as - // title, in which case we need to get rid of the - // because we don't want a link. - templateString: '
    ', - - postCreate: function(){ - - // If user has specified node contents, they become the title - // (the link must be plain text) - if(this.srcNodeRef){ - this.title += this.srcNodeRef.innerHTML; - } - this.inherited("postCreate",arguments); - } -}); - -} diff --git a/spring-faces/src/main/resources/META-INF/dijit/layout/SplitContainer.js b/spring-faces/src/main/resources/META-INF/dijit/layout/SplitContainer.js deleted file mode 100644 index 8c390a18..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/layout/SplitContainer.js +++ /dev/null @@ -1,537 +0,0 @@ -if(!dojo._hasResource["dijit.layout.SplitContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.SplitContainer"] = true; -dojo.provide("dijit.layout.SplitContainer"); - -// -// FIXME: make it prettier -// FIXME: active dragging upwards doesn't always shift other bars (direction calculation is wrong in this case) -// - -dojo.require("dojo.cookie"); -dojo.require("dijit.layout._LayoutWidget"); - -dojo.declare("dijit.layout.SplitContainer", - dijit.layout._LayoutWidget, - { - // summary: - // A Container widget with sizing handles in-between each child - // description: - // Contains multiple children widgets, all of which are displayed side by side - // (either horizontally or vertically); there's a bar between each of the children, - // and you can adjust the relative size of each child by dragging the bars. - // - // You must specify a size (width and height) for the SplitContainer. - // - // activeSizing: Boolean - // If true, the children's size changes as you drag the bar; - // otherwise, the sizes don't change until you drop the bar (by mouse-up) - activeSizing: false, - - // sizerWidth: Integer - // Size in pixels of the bar between each child - sizerWidth: 7, // FIXME: this should be a CSS attribute (at 7 because css wants it to be 7 until we fix to css) - - // orientation: String - // either 'horizontal' or vertical; indicates whether the children are - // arranged side-by-side or up/down. - orientation: 'horizontal', - - // persist: Boolean - // Save splitter positions in a cookie - persist: true, - - postMixInProperties: function(){ - this.inherited("postMixInProperties",arguments); - this.isHorizontal = (this.orientation == 'horizontal'); - }, - - postCreate: function(){ - this.inherited("postCreate",arguments); - this.sizers = []; - dojo.addClass(this.domNode, "dijitSplitContainer"); - // overflow has to be explicitly hidden for splitContainers using gekko (trac #1435) - // to keep other combined css classes from inadvertantly making the overflow visible - if(dojo.isMozilla){ - this.domNode.style.overflow = '-moz-scrollbars-none'; // hidden doesn't work - } - - // create the fake dragger - if(typeof this.sizerWidth == "object"){ - try{ //FIXME: do this without a try/catch - this.sizerWidth = parseInt(this.sizerWidth.toString()); - }catch(e){ this.sizerWidth = 7; } - } - var sizer = this.virtualSizer = document.createElement('div'); - sizer.style.position = 'relative'; - - // #1681: work around the dreaded 'quirky percentages in IE' layout bug - // If the splitcontainer's dimensions are specified in percentages, it - // will be resized when the virtualsizer is displayed in _showSizingLine - // (typically expanding its bounds unnecessarily). This happens because - // we use position: relative for .dijitSplitContainer. - // The workaround: instead of changing the display style attribute, - // switch to changing the zIndex (bring to front/move to back) - - sizer.style.zIndex = 10; - sizer.className = this.isHorizontal ? 'dijitSplitContainerVirtualSizerH' : 'dijitSplitContainerVirtualSizerV'; - this.domNode.appendChild(sizer); - dojo.setSelectable(sizer, false); - }, - - startup: function(){ - if(this._started){ return; } - dojo.forEach(this.getChildren(), function(child, i, children){ - // attach the children and create the draggers - this._injectChild(child); - - if(i < children.length-1){ - this._addSizer(); - } - }, this); - - if(this.persist){ - this._restoreState(); - } - this.inherited("startup",arguments); - this._started = true; - }, - - _injectChild: function(child){ - child.domNode.style.position = "absolute"; - dojo.addClass(child.domNode, "dijitSplitPane"); - }, - - _addSizer: function(){ - var i = this.sizers.length; - - // TODO: use a template for this!!! - var sizer = this.sizers[i] = document.createElement('div'); - sizer.className = this.isHorizontal ? 'dijitSplitContainerSizerH' : 'dijitSplitContainerSizerV'; - - // add the thumb div - var thumb = document.createElement('div'); - thumb.className = 'thumb'; - sizer.appendChild(thumb); - - // FIXME: are you serious? why aren't we using mover start/stop combo? - var self = this; - var handler = (function(){ var sizer_i = i; return function(e){ self.beginSizing(e, sizer_i); } })(); - dojo.connect(sizer, "onmousedown", handler); - - this.domNode.appendChild(sizer); - dojo.setSelectable(sizer, false); - }, - - removeChild: function(widget){ - // summary: Remove sizer, but only if widget is really our child and - // we have at least one sizer to throw away - if(this.sizers.length && dojo.indexOf(this.getChildren(), widget) != -1){ - var i = this.sizers.length - 1; - dojo._destroyElement(this.sizers[i]); - this.sizers.length--; - } - - // Remove widget and repaint - this.inherited("removeChild",arguments); - if(this._started){ - this.layout(); - } - }, - - addChild: function(/*Widget*/ child, /*Integer?*/ insertIndex){ - // summary: Add a child widget to the container - // child: a widget to add - // insertIndex: postion in the "stack" to add the child widget - - this.inherited("addChild",arguments); - - if(this._started){ - // Do the stuff that startup() does for each widget - this._injectChild(child); - var children = this.getChildren(); - if(children.length > 1){ - this._addSizer(); - } - - // and then reposition (ie, shrink) every pane to make room for the new guy - this.layout(); - } - }, - - layout: function(){ - // summary: - // Do layout of panels - - // base class defines this._contentBox on initial creation and also - // on resize - this.paneWidth = this._contentBox.w; - this.paneHeight = this._contentBox.h; - - var children = this.getChildren(); - if(!children.length){ return; } - - // - // calculate space - // - - var space = this.isHorizontal ? this.paneWidth : this.paneHeight; - if(children.length > 1){ - space -= this.sizerWidth * (children.length - 1); - } - - // - // calculate total of SizeShare values - // - var outOf = 0; - dojo.forEach(children, function(child){ - outOf += child.sizeShare; - }); - - // - // work out actual pixels per sizeshare unit - // - var pixPerUnit = space / outOf; - - // - // set the SizeActual member of each pane - // - var totalSize = 0; - dojo.forEach(children.slice(0, children.length - 1), function(child){ - var size = Math.round(pixPerUnit * child.sizeShare); - child.sizeActual = size; - totalSize += size; - }); - - children[children.length-1].sizeActual = space - totalSize; - - // - // make sure the sizes are ok - // - this._checkSizes(); - - // - // now loop, positioning each pane and letting children resize themselves - // - - var pos = 0; - var size = children[0].sizeActual; - this._movePanel(children[0], pos, size); - children[0].position = pos; - pos += size; - - // if we don't have any sizers, our layout method hasn't been called yet - // so bail until we are called..TODO: REVISIT: need to change the startup - // algorithm to guaranteed the ordering of calls to layout method - if(!this.sizers){ - return; - } - - dojo.some(children.slice(1), function(child, i){ - // error-checking - if(!this.sizers[i]){ - return true; - } - // first we position the sizing handle before this pane - this._moveSlider(this.sizers[i], pos, this.sizerWidth); - this.sizers[i].position = pos; - pos += this.sizerWidth; - - size = child.sizeActual; - this._movePanel(child, pos, size); - child.position = pos; - pos += size; - }, this); - }, - - _movePanel: function(panel, pos, size){ - if(this.isHorizontal){ - panel.domNode.style.left = pos + 'px'; // TODO: resize() takes l and t parameters too, don't need to set manually - panel.domNode.style.top = 0; - var box = {w: size, h: this.paneHeight}; - if(panel.resize){ - panel.resize(box); - }else{ - dojo.marginBox(panel.domNode, box); - } - }else{ - panel.domNode.style.left = 0; // TODO: resize() takes l and t parameters too, don't need to set manually - panel.domNode.style.top = pos + 'px'; - var box = {w: this.paneWidth, h: size}; - if(panel.resize){ - panel.resize(box); - }else{ - dojo.marginBox(panel.domNode, box); - } - } - }, - - _moveSlider: function(slider, pos, size){ - if(this.isHorizontal){ - slider.style.left = pos + 'px'; - slider.style.top = 0; - dojo.marginBox(slider, { w: size, h: this.paneHeight }); - }else{ - slider.style.left = 0; - slider.style.top = pos + 'px'; - dojo.marginBox(slider, { w: this.paneWidth, h: size }); - } - }, - - _growPane: function(growth, pane){ - if(growth > 0){ - if(pane.sizeActual > pane.sizeMin){ - if((pane.sizeActual - pane.sizeMin) > growth){ - - // stick all the growth in this pane - pane.sizeActual = pane.sizeActual - growth; - growth = 0; - }else{ - // put as much growth in here as we can - growth -= pane.sizeActual - pane.sizeMin; - pane.sizeActual = pane.sizeMin; - } - } - } - return growth; - }, - - _checkSizes: function(){ - - var totalMinSize = 0; - var totalSize = 0; - var children = this.getChildren(); - - dojo.forEach(children, function(child){ - totalSize += child.sizeActual; - totalMinSize += child.sizeMin; - }); - - // only make adjustments if we have enough space for all the minimums - - if(totalMinSize <= totalSize){ - - var growth = 0; - - dojo.forEach(children, function(child){ - if(child.sizeActual < child.sizeMin){ - growth += child.sizeMin - child.sizeActual; - child.sizeActual = child.sizeMin; - } - }); - - if(growth > 0){ - var list = this.isDraggingLeft ? children.reverse() : children; - dojo.forEach(list, function(child){ - growth = this._growPane(growth, child); - }, this); - } - }else{ - dojo.forEach(children, function(child){ - child.sizeActual = Math.round(totalSize * (child.sizeMin / totalMinSize)); - }); - } - }, - - beginSizing: function(e, i){ - var children = this.getChildren(); - this.paneBefore = children[i]; - this.paneAfter = children[i+1]; - - this.isSizing = true; - this.sizingSplitter = this.sizers[i]; - - if(!this.cover){ - this.cover = dojo.doc.createElement('div'); - this.domNode.appendChild(this.cover); - var s = this.cover.style; - s.position = 'absolute'; - s.zIndex = 1; - s.top = 0; - s.left = 0; - s.width = "100%"; - s.height = "100%"; - }else{ - this.cover.style.zIndex = 1; - } - this.sizingSplitter.style.zIndex = 2; - - // TODO: REVISIT - we want MARGIN_BOX and core hasn't exposed that yet (but can't we use it anyway if we pay attention? we do elsewhere.) - this.originPos = dojo.coords(children[0].domNode, true); - if(this.isHorizontal){ - var client = (e.layerX ? e.layerX : e.offsetX); - var screen = e.pageX; - this.originPos = this.originPos.x; - }else{ - var client = (e.layerY ? e.layerY : e.offsetY); - var screen = e.pageY; - this.originPos = this.originPos.y; - } - this.startPoint = this.lastPoint = screen; - this.screenToClientOffset = screen - client; - this.dragOffset = this.lastPoint - this.paneBefore.sizeActual - this.originPos - this.paneBefore.position; - - if(!this.activeSizing){ - this._showSizingLine(); - } - - // - // attach mouse events - // - this._connects = []; - this._connects.push(dojo.connect(document.documentElement, "onmousemove", this, "changeSizing")); - this._connects.push(dojo.connect(document.documentElement, "onmouseup", this, "endSizing")); - - dojo.stopEvent(e); - }, - - changeSizing: function(e){ - if(!this.isSizing){ return; } - this.lastPoint = this.isHorizontal ? e.pageX : e.pageY; - this.movePoint(); - if(this.activeSizing){ - this._updateSize(); - }else{ - this._moveSizingLine(); - } - dojo.stopEvent(e); - }, - - endSizing: function(e){ - if(!this.isSizing){ return; } - if(this.cover){ - this.cover.style.zIndex = -1; - } - if(!this.activeSizing){ - this._hideSizingLine(); - } - - this._updateSize(); - - this.isSizing = false; - - if(this.persist){ - this._saveState(this); - } - - dojo.forEach(this._connects,dojo.disconnect); - }, - - movePoint: function(){ - - // make sure lastPoint is a legal point to drag to - var p = this.lastPoint - this.screenToClientOffset; - - var a = p - this.dragOffset; - a = this.legaliseSplitPoint(a); - p = a + this.dragOffset; - - this.lastPoint = p + this.screenToClientOffset; - }, - - legaliseSplitPoint: function(a){ - - a += this.sizingSplitter.position; - - this.isDraggingLeft = !!(a > 0); - - if(!this.activeSizing){ - var min = this.paneBefore.position + this.paneBefore.sizeMin; - if(a < min){ - a = min; - } - - var max = this.paneAfter.position + (this.paneAfter.sizeActual - (this.sizerWidth + this.paneAfter.sizeMin)); - if(a > max){ - a = max; - } - } - - a -= this.sizingSplitter.position; - - this._checkSizes(); - - return a; - }, - - _updateSize: function(){ - //FIXME: sometimes this.lastPoint is NaN - var pos = this.lastPoint - this.dragOffset - this.originPos; - - var start_region = this.paneBefore.position; - var end_region = this.paneAfter.position + this.paneAfter.sizeActual; - - this.paneBefore.sizeActual = pos - start_region; - this.paneAfter.position = pos + this.sizerWidth; - this.paneAfter.sizeActual = end_region - this.paneAfter.position; - - dojo.forEach(this.getChildren(), function(child){ - child.sizeShare = child.sizeActual; - }); - - if(this._started){ - this.layout(); - } - }, - - _showSizingLine: function(){ - - this._moveSizingLine(); - - dojo.marginBox(this.virtualSizer, - this.isHorizontal ? { w: this.sizerWidth, h: this.paneHeight } : { w: this.paneWidth, h: this.sizerWidth }); - - this.virtualSizer.style.display = 'block'; - }, - - _hideSizingLine: function(){ - this.virtualSizer.style.display = 'none'; - }, - - _moveSizingLine: function(){ - var pos = (this.lastPoint - this.startPoint) + this.sizingSplitter.position; - dojo.style(this.virtualSizer,(this.isHorizontal ? "left" : "top"),pos+"px"); - // this.virtualSizer.style[ this.isHorizontal ? "left" : "top" ] = pos + 'px'; // FIXME: remove this line if the previous is better - }, - - _getCookieName: function(i){ - return this.id + "_" + i; - }, - - _restoreState: function(){ - dojo.forEach(this.getChildren(), function(child, i){ - var cookieName = this._getCookieName(i); - var cookieValue = dojo.cookie(cookieName); - if(cookieValue){ - var pos = parseInt(cookieValue); - if(typeof pos == "number"){ - child.sizeShare = pos; - } - } - }, this); - }, - - _saveState: function(){ - dojo.forEach(this.getChildren(), function(child, i){ - dojo.cookie(this._getCookieName(i), child.sizeShare); - }, this); - } -}); - -// These arguments can be specified for the children of a SplitContainer. -// Since any widget can be specified as a SplitContainer child, mix them -// into the base widget class. (This is a hack, but it's effective.) -dojo.extend(dijit._Widget, { - // sizeMin: Integer - // Minimum size (width or height) of a child of a SplitContainer. - // The value is relative to other children's sizeShare properties. - sizeMin: 10, - - // sizeShare: Integer - // Size (width or height) of a child of a SplitContainer. - // The value is relative to other children's sizeShare properties. - // For example, if there are two children and each has sizeShare=10, then - // each takes up 50% of the available space. - sizeShare: 10 -}); - -} diff --git a/spring-faces/src/main/resources/META-INF/dijit/layout/StackContainer.js b/spring-faces/src/main/resources/META-INF/dijit/layout/StackContainer.js deleted file mode 100644 index 9791ad78..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/layout/StackContainer.js +++ /dev/null @@ -1,451 +0,0 @@ -if(!dojo._hasResource["dijit.layout.StackContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.StackContainer"] = true; -dojo.provide("dijit.layout.StackContainer"); - -dojo.require("dijit._Templated"); -dojo.require("dijit.layout._LayoutWidget"); -dojo.require("dijit.form.Button"); - -dojo.declare( - "dijit.layout.StackContainer", - dijit.layout._LayoutWidget, - - // summary - // A container that has multiple children, but shows only - // one child at a time (like looking at the pages in a book one by one). - // - // Publishes topics -addChild, -removeChild, and -selectChild - // - // Can be base class for container, Wizard, Show, etc. -{ - // doLayout: Boolean - // if true, change the size of my currently displayed child to match my size - doLayout: true, - - _started: false, - - // selectedChildWidget: Widget - // References the currently selected child widget, if any - - postCreate: function(){ - dijit.setWaiRole((this.containerNode || this.domNode), "tabpanel"); - this.connect(this.domNode, "onkeypress", this._onKeyPress); - }, - - startup: function(){ - if(this._started){ return; } - - var children = this.getChildren(); - - // Setup each page panel - dojo.forEach(children, this._setupChild, this); - - // Figure out which child to initially display - dojo.some(children, function(child){ - if(child.selected){ - this.selectedChildWidget = child; - } - return child.selected; - }, this); - - var selected = this.selectedChildWidget; - - // Default to the first child - if(!selected && children[0]){ - selected = this.selectedChildWidget = children[0]; - selected.selected = true; - } - if(selected){ - this._showChild(selected); - } - - // Now publish information about myself so any StackControllers can initialize.. - dojo.publish(this.id+"-startup", [{children: children, selected: selected}]); - this.inherited("startup",arguments); - this._started = true; - }, - - _setupChild: function(/*Widget*/ page){ - // Summary: prepare the given child - - page.domNode.style.display = "none"; - - // since we are setting the width/height of the child elements, they need - // to be position:relative, or IE has problems (See bug #2033) - page.domNode.style.position = "relative"; - - return page; // dijit._Widget - }, - - addChild: function(/*Widget*/ child, /*Integer?*/ insertIndex){ - // summary: Adds a widget to the stack - - dijit._Container.prototype.addChild.apply(this, arguments); - child = this._setupChild(child); - - if(this._started){ - // in case the tab titles have overflowed from one line to two lines - this.layout(); - - dojo.publish(this.id+"-addChild", [child, insertIndex]); - - // if this is the first child, then select it - if(!this.selectedChildWidget){ - this.selectChild(child); - } - } - }, - - removeChild: function(/*Widget*/ page){ - // summary: Removes the pane from the stack - - dijit._Container.prototype.removeChild.apply(this, arguments); - - // If we are being destroyed than don't run the code below (to select another page), because we are deleting - // every page one by one - if(this._beingDestroyed){ return; } - - if(this._started){ - // this will notify any tablists to remove a button; do this first because it may affect sizing - dojo.publish(this.id+"-removeChild", [page]); - - // in case the tab titles now take up one line instead of two lines - this.layout(); - } - - if(this.selectedChildWidget === page){ - this.selectedChildWidget = undefined; - if(this._started){ - var children = this.getChildren(); - if(children.length){ - this.selectChild(children[0]); - } - } - } - }, - - selectChild: function(/*Widget*/ page){ - // summary: - // Show the given widget (which must be one of my children) - - page = dijit.byId(page); - - if(this.selectedChildWidget != page){ - // Deselect old page and select new one - this._transition(page, this.selectedChildWidget); - this.selectedChildWidget = page; - dojo.publish(this.id+"-selectChild", [page]); - } - }, - - _transition: function(/*Widget*/newWidget, /*Widget*/oldWidget){ - if(oldWidget){ - this._hideChild(oldWidget); - } - this._showChild(newWidget); - - // Size the new widget, in case this is the first time it's being shown, - // or I have been resized since the last time it was shown. - // page must be visible for resizing to work - if(this.doLayout && newWidget.resize){ - newWidget.resize(this._containerContentBox || this._contentBox); - } - }, - - _adjacent: function(/*Boolean*/ forward){ - // summary: Gets the next/previous child widget in this container from the current selection - var children = this.getChildren(); - var index = dojo.indexOf(children, this.selectedChildWidget); - index += forward ? 1 : children.length - 1; - return children[ index % children.length ]; // dijit._Widget - }, - - forward: function(){ - // Summary: advance to next page - this.selectChild(this._adjacent(true)); - }, - - back: function(){ - // Summary: go back to previous page - this.selectChild(this._adjacent(false)); - }, - - _onKeyPress: function(e){ - dojo.publish(this.id+"-containerKeyPress", [{ e: e, page: this}]); - }, - - layout: function(){ - if(this.doLayout && this.selectedChildWidget && this.selectedChildWidget.resize){ - this.selectedChildWidget.resize(this._contentBox); - } - }, - - _showChild: function(/*Widget*/ page){ - var children = this.getChildren(); - page.isFirstChild = (page == children[0]); - page.isLastChild = (page == children[children.length-1]); - page.selected = true; - - page.domNode.style.display=""; - if(page._loadCheck){ - page._loadCheck(); // trigger load in ContentPane - } - if(page.onShow){ - page.onShow(); - } - }, - - _hideChild: function(/*Widget*/ page){ - page.selected=false; - page.domNode.style.display="none"; - if(page.onHide){ - page.onHide(); - } - }, - - closeChild: function(/*Widget*/ page){ - // summary - // callback when user clicks the [X] to remove a page - // if onClose() returns true then remove and destroy the childd - var remove = page.onClose(this, page); - if(remove){ - this.removeChild(page); - // makes sure we can clean up executeScripts in ContentPane onUnLoad - page.destroy(); - } - }, - - destroy: function(){ - this._beingDestroyed = true; - this.inherited("destroy",arguments); - } -}); - -dojo.declare( - "dijit.layout.StackController", - [dijit._Widget, dijit._Templated, dijit._Container], - { - // summary: - // Set of buttons to select a page in a page list. - // Monitors the specified StackContainer, and whenever a page is - // added, deleted, or selected, updates itself accordingly. - - templateString: "", - - // containerId: String - // the id of the page container that I point to - containerId: "", - - // buttonWidget: String - // the name of the button widget to create to correspond to each page - buttonWidget: "dijit.layout._StackButton", - - postCreate: function(){ - dijit.setWaiRole(this.domNode, "tablist"); - - this.pane2button = {}; // mapping from panes to buttons - this._subscriptions=[ - dojo.subscribe(this.containerId+"-startup", this, "onStartup"), - dojo.subscribe(this.containerId+"-addChild", this, "onAddChild"), - dojo.subscribe(this.containerId+"-removeChild", this, "onRemoveChild"), - dojo.subscribe(this.containerId+"-selectChild", this, "onSelectChild"), - dojo.subscribe(this.containerId+"-containerKeyPress", this, "onContainerKeyPress") - ]; - }, - - onStartup: function(/*Object*/ info){ - // summary: called after StackContainer has finished initializing - dojo.forEach(info.children, this.onAddChild, this); - this.onSelectChild(info.selected); - }, - - destroy: function(){ - dojo.forEach(this._subscriptions, dojo.unsubscribe); - this.inherited("destroy",arguments); - }, - - onAddChild: function(/*Widget*/ page, /*Integer?*/ insertIndex){ - // summary: - // Called whenever a page is added to the container. - // Create button corresponding to the page. - - // add a node that will be promoted to the button widget - var refNode = document.createElement("span"); - this.domNode.appendChild(refNode); - // create an instance of the button widget - var cls = dojo.getObject(this.buttonWidget); - var button = new cls({label: page.title, closeButton: page.closable}, refNode); - this.addChild(button, insertIndex); - this.pane2button[page] = button; - page.controlButton = button; // this value might be overwritten if two tabs point to same container - - dojo.connect(button, "onClick", dojo.hitch(this,"onButtonClick",page)); - dojo.connect(button, "onClickCloseButton", dojo.hitch(this,"onCloseButtonClick",page)); - - if(!this._currentChild){ // put the first child into the tab order - button.focusNode.setAttribute("tabIndex","0"); - this._currentChild = page; - } - }, - - onRemoveChild: function(/*Widget*/ page){ - // summary: - // Called whenever a page is removed from the container. - // Remove the button corresponding to the page. - if(this._currentChild === page){ this._currentChild = null; } - var button = this.pane2button[page]; - if(button){ - // TODO? if current child { reassign } - button.destroy(); - } - this.pane2button[page] = null; - }, - - onSelectChild: function(/*Widget*/ page){ - // summary: - // Called when a page has been selected in the StackContainer, either by me or by another StackController - - if(!page){ return; } - - if(this._currentChild){ - var oldButton=this.pane2button[this._currentChild]; - oldButton.setChecked(false); - oldButton.focusNode.setAttribute("tabIndex", "-1"); - } - - var newButton=this.pane2button[page]; - newButton.setChecked(true); - this._currentChild = page; - newButton.focusNode.setAttribute("tabIndex", "0"); - }, - - onButtonClick: function(/*Widget*/ page){ - // summary: - // Called whenever one of my child buttons is pressed in an attempt to select a page - var container = dijit.byId(this.containerId); // TODO: do this via topics? - container.selectChild(page); - }, - - onCloseButtonClick: function(/*Widget*/ page){ - // summary: - // Called whenever one of my child buttons [X] is pressed in an attempt to close a page - var container = dijit.byId(this.containerId); - container.closeChild(page); - var b = this.pane2button[this._currentChild]; - if(b){ - dijit.focus(b.focusNode || b.domNode); - } - }, - - // TODO: this is a bit redundant with forward, back api in StackContainer - adjacent: function(/*Boolean*/ forward){ - // find currently focused button in children array - var children = this.getChildren(); - var current = dojo.indexOf(children, this.pane2button[this._currentChild]); - // pick next button to focus on - var offset = forward ? 1 : children.length - 1; - return children[ (current + offset) % children.length ]; // dijit._Widget - }, - - onkeypress: function(/*Event*/ e){ - // summary: - // Handle keystrokes on the page list, for advancing to next/previous button - // and closing the current page if the page is closable. - - if(this.disabled || e.altKey ){ return; } - var forward = true; - if(e.ctrlKey || !e._djpage){ - var k = dojo.keys; - switch(e.keyCode){ - case k.LEFT_ARROW: - case k.UP_ARROW: - case k.PAGE_UP: - forward = false; - // fall through - case k.RIGHT_ARROW: - case k.DOWN_ARROW: - case k.PAGE_DOWN: - this.adjacent(forward).onClick(); - dojo.stopEvent(e); - break; - case k.DELETE: - if(this._currentChild.closable){ - this.onCloseButtonClick(this._currentChild); - } - dojo.stopEvent(e); - break; - default: - if(e.ctrlKey){ - if(e.keyCode == k.TAB){ - this.adjacent(!e.shiftKey).onClick(); - dojo.stopEvent(e); - }else if(e.keyChar == "w"){ - if(this._currentChild.closable){ - this.onCloseButtonClick(this._currentChild); - } - dojo.stopEvent(e); // avoid browser tab closing. - } - } - } - } - }, - - onContainerKeyPress: function(/*Object*/ info){ - info.e._djpage = info.page; - this.onkeypress(info.e); - } -}); - -dojo.declare("dijit.layout._StackButton", - dijit.form.ToggleButton, - { - // summary - // Internal widget used by StackContainer. - // The button-like or tab-like object you click to select or delete a page - - tabIndex: "-1", // StackContainer buttons are not in the tab order by default - - postCreate: function(/*Event*/ evt){ - dijit.setWaiRole((this.focusNode || this.domNode), "tab"); - this.inherited("postCreate", arguments); - }, - - onClick: function(/*Event*/ evt){ - // summary: This is for TabContainer where the tabs are rather than button, - // so need to set focus explicitly (on some browsers) - dijit.focus(this.focusNode); - - // ... now let StackController catch the event and tell me what to do - }, - - onClickCloseButton: function(/*Event*/ evt){ - // summary - // StackContainer connects to this function; if your widget contains a close button - // then clicking it should call this function. - evt.stopPropagation(); - } -}); - -// These arguments can be specified for the children of a StackContainer. -// Since any widget can be specified as a StackContainer child, mix them -// into the base widget class. (This is a hack, but it's effective.) -dojo.extend(dijit._Widget, { - // title: String - // Title of this widget. Used by TabContainer to the name the tab, etc. - title: "", - - // selected: Boolean - // Is this child currently selected? - selected: false, - - // closable: Boolean - // True if user can close (destroy) this child, such as (for example) clicking the X on the tab. - closable: false, // true if user can close this tab pane - - onClose: function(){ - // summary: Callback if someone tries to close the child, child will be closed if func returns true - return true; - } -}); - -} diff --git a/spring-faces/src/main/resources/META-INF/dijit/layout/TabContainer.js b/spring-faces/src/main/resources/META-INF/dijit/layout/TabContainer.js deleted file mode 100644 index 0a75a817..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/layout/TabContainer.js +++ /dev/null @@ -1,146 +0,0 @@ -if(!dojo._hasResource["dijit.layout.TabContainer"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout.TabContainer"] = true; -dojo.provide("dijit.layout.TabContainer"); - -dojo.require("dijit.layout.StackContainer"); -dojo.require("dijit._Templated"); - -dojo.declare("dijit.layout.TabContainer", - [dijit.layout.StackContainer, dijit._Templated], - { - // summary: - // A Container with Title Tabs, each one pointing at a pane in the container. - // description: - // A TabContainer is a container that has multiple panes, but shows only - // one pane at a time. There are a set of tabs corresponding to each pane, - // where each tab has the title (aka title) of the pane, and optionally a close button. - // - // Publishes topics -addChild, -removeChild, and -selectChild - // (where is the id of the TabContainer itself. - // - // tabPosition: String - // Defines where tabs go relative to tab content. - // "top", "bottom", "left-h", "right-h" - tabPosition: "top", - - templateString: null, // override setting in StackContainer - templateString:"
    \n\t
    \n\t
    \n
    \n", - - postCreate: function(){ - dijit.layout.TabContainer.superclass.postCreate.apply(this, arguments); - // create the tab list that will have a tab (a.k.a. tab button) for each tab panel - this.tablist = new dijit.layout.TabController( - { - id: this.id + "_tablist", - tabPosition: this.tabPosition, - doLayout: this.doLayout, - containerId: this.id - }, this.tablistNode); - }, - - _setupChild: function(/* Widget */tab){ - dojo.addClass(tab.domNode, "dijitTabPane"); - this.inherited("_setupChild",arguments); - return tab; // Widget - }, - - startup: function(){ - if(this._started){ return; } - - // wire up the tablist and its tabs - this.tablist.startup(); - this.inherited("startup",arguments); - - if(dojo.isSafari){ - // sometimes safari 3.0.3 miscalculates the height of the tab labels, see #4058 - setTimeout(dojo.hitch(this, "layout"), 0); - } - }, - - layout: function(){ - // Summary: Configure the content pane to take up all the space except for where the tabs are - if(!this.doLayout){ return; } - - // position and size the titles and the container node - var titleAlign=this.tabPosition.replace(/-h/,""); - var children = [ - {domNode: this.tablist.domNode, layoutAlign: titleAlign}, - {domNode: this.containerNode, layoutAlign: "client"} - ]; - dijit.layout.layoutChildren(this.domNode, this._contentBox, children); - - // Compute size to make each of my children. - // children[1] is the margin-box size of this.containerNode, set by layoutChildren() call above - this._containerContentBox = dijit.layout.marginBox2contentBox(this.containerNode, children[1]); - - if(this.selectedChildWidget){ - this._showChild(this.selectedChildWidget); - if(this.doLayout && this.selectedChildWidget.resize){ - this.selectedChildWidget.resize(this._containerContentBox); - } - } - }, - - destroy: function(){ - this.tablist.destroy(); - this.inherited("destroy",arguments); - } -}); - -//TODO: make private? -dojo.declare("dijit.layout.TabController", - dijit.layout.StackController, - { - // summary: - // Set of tabs (the things with titles and a close button, that you click to show a tab panel). - // description: - // Lets the user select the currently shown pane in a TabContainer or StackContainer. - // TabController also monitors the TabContainer, and whenever a pane is - // added or deleted updates itself accordingly. - - templateString: "
    ", - - // tabPosition: String - // Defines where tabs go relative to the content. - // "top", "bottom", "left-h", "right-h" - tabPosition: "top", - - // doLayout: Boolean - // TODOC: deprecate doLayout? not sure. - doLayout: true, - - // buttonWidget: String - // the name of the tab widget to create to correspond to each page - buttonWidget: "dijit.layout._TabButton", - - postMixInProperties: function(){ - this["class"] = "dijitTabLabels-" + this.tabPosition + (this.doLayout ? "" : " dijitTabNoLayout"); - this.inherited("postMixInProperties",arguments); - } -}); - -dojo.declare("dijit.layout._TabButton", - dijit.layout._StackButton, - { - // summary: - // A tab (the thing you click to select a pane). - // description: - // Contains the title of the pane, and optionally a close-button to destroy the pane. - // This is an internal widget and should not be instantiated directly. - - baseClass: "dijitTab", - - templateString:"
    \n
    \n ${!label}\n \n x\n \n
    \n
    \n", - - postCreate: function(){ - if(this.closeButton){ - dojo.addClass(this.innerDiv, "dijitClosable"); - } else { - this.closeButtonNode.style.display="none"; - } - this.inherited("postCreate",arguments); - dojo.setSelectable(this.containerNode, false); - } -}); - -} diff --git a/spring-faces/src/main/resources/META-INF/dijit/layout/_LayoutWidget.js b/spring-faces/src/main/resources/META-INF/dijit/layout/_LayoutWidget.js deleted file mode 100644 index a22e0a91..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/layout/_LayoutWidget.js +++ /dev/null @@ -1,187 +0,0 @@ -if(!dojo._hasResource["dijit.layout._LayoutWidget"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.layout._LayoutWidget"] = true; -dojo.provide("dijit.layout._LayoutWidget"); - -dojo.require("dijit._Widget"); -dojo.require("dijit._Container"); - -dojo.declare("dijit.layout._LayoutWidget", - [dijit._Widget, dijit._Container, dijit._Contained], - { - // summary - // Mixin for widgets that contain a list of children like SplitContainer. - // Widgets which mixin this code must define layout() to lay out the children - - isLayoutContainer: true, - - postCreate: function(){ - dojo.addClass(this.domNode, "dijitContainer"); - }, - - startup: function(){ - // summary: - // Called after all the widgets have been instantiated and their - // dom nodes have been inserted somewhere under document.body. - // - // Widgets should override this method to do any initialization - // dependent on other widgets existing, and then call - // this superclass method to finish things off. - // - // startup() in subclasses shouldn't do anything - // size related because the size of the widget hasn't been set yet. - - if(this._started){ return; } - this._started=true; - - if(this.getChildren){ - dojo.forEach(this.getChildren(), function(child){ child.startup(); }); - } - - // If I am a top level widget - if(!this.getParent || !this.getParent()){ - // Do recursive sizing and layout of all my descendants - // (passing in no argument to resize means that it has to glean the size itself) - this.resize(); - - // since my parent isn't a layout container, and my style is width=height=100% (or something similar), - // then I need to watch when the window resizes, and size myself accordingly - // (passing in no argument to resize means that it has to glean the size itself) - this.connect(window, 'onresize', function(){this.resize();}); - } - }, - - resize: function(args){ - // summary: - // Explicitly set this widget's size (in pixels), - // and then call layout() to resize contents (and maybe adjust child widgets) - // - // args: Object? - // {w: int, h: int, l: int, t: int} - - var node = this.domNode; - - // set margin box size, unless it wasn't specified, in which case use current size - if(args){ - dojo.marginBox(node, args); - - // set offset of the node - if(args.t){ node.style.top = args.t + "px"; } - if(args.l){ node.style.left = args.l + "px"; } - } - // If either height or width wasn't specified by the user, then query node for it. - // But note that setting the margin box and then immediately querying dimensions may return - // inaccurate results, so try not to depend on it. - var mb = dojo.mixin(dojo.marginBox(node), args||{}); - - // Save the size of my content box. - this._contentBox = dijit.layout.marginBox2contentBox(node, mb); - - // Callback for widget to adjust size of it's children - this.layout(); - }, - - layout: function(){ - // summary - // Widgets override this method to size & position their contents/children. - // When this is called this._contentBox is guaranteed to be set (see resize()). - // - // This is called after startup(), and also when the widget's size has been - // changed. - } - } -); - -dijit.layout.marginBox2contentBox = function(/*DomNode*/ node, /*Object*/ mb){ - // summary: - // Given the margin-box size of a node, return it's content box size. - // Functions like dojo.contentBox() but is more reliable since it doesn't have - // to wait for the browser to compute sizes. - var cs = dojo.getComputedStyle(node); - var me=dojo._getMarginExtents(node, cs); - var pb=dojo._getPadBorderExtents(node, cs); - return { - l: dojo._toPixelValue(node, cs.paddingLeft), - t: dojo._toPixelValue(node, cs.paddingTop), - w: mb.w - (me.w + pb.w), - h: mb.h - (me.h + pb.h) - }; -}; - -(function(){ - var capitalize = function(word){ - return word.substring(0,1).toUpperCase() + word.substring(1); - }; - - var size = function(widget, dim){ - // size the child - widget.resize ? widget.resize(dim) : dojo.marginBox(widget.domNode, dim); - - // record child's size, but favor our own numbers when we have them. - // the browser lies sometimes - dojo.mixin(widget, dojo.marginBox(widget.domNode)); - dojo.mixin(widget, dim); - }; - - dijit.layout.layoutChildren = function(/*DomNode*/ container, /*Object*/ dim, /*Object[]*/ children){ - /** - * summary - * Layout a bunch of child dom nodes within a parent dom node - * container: - * parent node - * dim: - * {l, t, w, h} object specifying dimensions of container into which to place children - * children: - * an array like [ {domNode: foo, layoutAlign: "bottom" }, {domNode: bar, layoutAlign: "client"} ] - */ - - // copy dim because we are going to modify it - dim = dojo.mixin({}, dim); - - dojo.addClass(container, "dijitLayoutContainer"); - - // Move "client" elements to the end of the array for layout. a11y dictates that the author - // needs to be able to put them in the document in tab-order, but this algorithm requires that - // client be last. - children = dojo.filter(children, function(item){ return item.layoutAlign != "client"; }) - .concat(dojo.filter(children, function(item){ return item.layoutAlign == "client"; })); - - // set positions/sizes - dojo.forEach(children, function(child){ - var elm = child.domNode, - pos = child.layoutAlign; - - // set elem to upper left corner of unused space; may move it later - var elmStyle = elm.style; - elmStyle.left = dim.l+"px"; - elmStyle.top = dim.t+"px"; - elmStyle.bottom = elmStyle.right = "auto"; - - dojo.addClass(elm, "dijitAlign" + capitalize(pos)); - - // set size && adjust record of remaining space. - // note that setting the width of a
    may affect it's height. - if(pos=="top" || pos=="bottom"){ - size(child, { w: dim.w }); - dim.h -= child.h; - if(pos=="top"){ - dim.t += child.h; - }else{ - elmStyle.top = dim.t + dim.h + "px"; - } - }else if(pos=="left" || pos=="right"){ - size(child, { h: dim.h }); - dim.w -= child.w; - if(pos=="left"){ - dim.l += child.w; - }else{ - elmStyle.left = dim.l + dim.w + "px"; - } - }else if(pos=="client"){ - size(child, dim); - } - }); - }; - -})(); - -} diff --git a/spring-faces/src/main/resources/META-INF/dijit/layout/templates/AccordionPane.html b/spring-faces/src/main/resources/META-INF/dijit/layout/templates/AccordionPane.html deleted file mode 100644 index 6a10cab2..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/layout/templates/AccordionPane.html +++ /dev/null @@ -1,11 +0,0 @@ -
    ${title}
    -
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/layout/templates/TabContainer.html b/spring-faces/src/main/resources/META-INF/dijit/layout/templates/TabContainer.html deleted file mode 100644 index 105e8c6c..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/layout/templates/TabContainer.html +++ /dev/null @@ -1,4 +0,0 @@ -
    -
    -
    -
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/layout/templates/TooltipDialog.html b/spring-faces/src/main/resources/META-INF/dijit/layout/templates/TooltipDialog.html deleted file mode 100644 index a8a98749..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/layout/templates/TooltipDialog.html +++ /dev/null @@ -1,7 +0,0 @@ -
    -
    -
    -
    - -
    -
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/layout/templates/_TabButton.html b/spring-faces/src/main/resources/META-INF/dijit/layout/templates/_TabButton.html deleted file mode 100644 index 982941d9..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/layout/templates/_TabButton.html +++ /dev/null @@ -1,8 +0,0 @@ -
    -
    - ${!label} - - x - -
    -
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/Textarea.js b/spring-faces/src/main/resources/META-INF/dijit/nls/Textarea.js deleted file mode 100644 index fee775ac..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/Textarea.js +++ /dev/null @@ -1 +0,0 @@ -({"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/common.js b/spring-faces/src/main/resources/META-INF/dijit/nls/common.js deleted file mode 100644 index c33cce9e..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonCancel": "Cancel", "buttonSave": "Save", "buttonOk": "OK"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/cs/common.js b/spring-faces/src/main/resources/META-INF/dijit/nls/cs/common.js deleted file mode 100644 index a80f422a..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/cs/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonCancel": "Storno", "buttonSave": "Uložit", "buttonOk": "OK"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/cs/loading.js b/spring-faces/src/main/resources/META-INF/dijit/nls/cs/loading.js deleted file mode 100644 index ad03fbb8..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/cs/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState": "Probíhá načítání...", "errorState": "Omlouváme se, došlo k chybě"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/de/common.js b/spring-faces/src/main/resources/META-INF/dijit/nls/de/common.js deleted file mode 100644 index b1a7667e..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/de/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonCancel": "Abbrechen", "buttonSave": "Speichern", "buttonOk": "OK"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/de/loading.js b/spring-faces/src/main/resources/META-INF/dijit/nls/de/loading.js deleted file mode 100644 index 31a36305..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/de/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState": "Wird geladen...", "errorState": "Es ist ein Fehler aufgetreten."}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ROOT.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ROOT.js deleted file mode 100644 index 703ae0d5..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ROOT.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_ROOT");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.ROOT");dojo.nls.colors.ROOT={"lightsteelblue": "light steel blue", "orangered": "orange red", "midnightblue": "midnight blue", "cadetblue": "cadet blue", "seashell": "seashell", "slategrey": "slate gray", "coral": "coral", "darkturquoise": "dark turquoise", "antiquewhite": "antique white", "mediumspringgreen": "medium spring green", "salmon": "salmon", "darkgrey": "dark gray", "ivory": "ivory", "greenyellow": "green-yellow", "mistyrose": "misty rose", "lightsalmon": "light salmon", "silver": "silver", "dimgrey": "dim gray", "orange": "orange", "white": "white", "navajowhite": "navajo white", "royalblue": "royal blue", "deeppink": "deep pink", "lime": "lime", "oldlace": "old lace", "chartreuse": "chartreuse", "darkcyan": "dark cyan", "yellow": "yellow", "linen": "linen", "olive": "olive", "gold": "gold", "lawngreen": "lawn green", "lightyellow": "light yellow", "tan": "tan", "darkviolet": "dark violet", "lightslategrey": "light slate gray", "grey": "gray", "darkkhaki": "dark khaki", "green": "green", "deepskyblue": "deep sky blue", "aqua": "aqua", "sienna": "sienna", "mintcream": "mint cream", "rosybrown": "rosy brown", "mediumslateblue": "medium slate blue", "magenta": "magenta", "lightseagreen": "light sea green", "cyan": "cyan", "olivedrab": "olive drab", "darkgoldenrod": "dark goldenrod", "slateblue": "slate blue", "mediumaquamarine": "medium aquamarine", "lavender": "lavender", "mediumseagreen": "medium sea green", "maroon": "maroon", "darkslategray": "dark slate gray", "mediumturquoise": "medium turquoise", "ghostwhite": "ghost white", "darkblue": "dark blue", "mediumvioletred": "medium violet-red", "brown": "brown", "lightgray": "light gray", "sandybrown": "sandy brown", "pink": "pink", "firebrick": "fire brick", "indigo": "indigo", "snow": "snow", "darkorchid": "dark orchid", "turquoise": "turquoise", "chocolate": "chocolate", "springgreen": "spring green", "moccasin": "moccasin", "navy": "navy", "lemonchiffon": "lemon chiffon", "teal": "teal", "floralwhite": "floral white", "cornflowerblue": "cornflower blue", "paleturquoise": "pale turquoise", "purple": "purple", "gainsboro": "gainsboro", "plum": "plum", "red": "red", "blue": "blue", "forestgreen": "forest green", "darkgreen": "dark green", "honeydew": "honeydew", "darkseagreen": "dark sea green", "lightcoral": "light coral", "palevioletred": "pale violet-red", "mediumpurple": "medium purple", "saddlebrown": "saddle brown", "darkmagenta": "dark magenta", "thistle": "thistle", "whitesmoke": "white smoke", "wheat": "wheat", "violet": "violet", "lightskyblue": "light sky blue", "goldenrod": "goldenrod", "mediumblue": "medium blue", "skyblue": "sky blue", "crimson": "crimson", "darksalmon": "dark salmon", "darkred": "dark red", "darkslategrey": "dark slate gray", "peru": "peru", "lightgrey": "light gray", "lightgoldenrodyellow": "light goldenrod yellow", "blanchedalmond": "blanched almond", "aliceblue": "alice blue", "bisque": "bisque", "slategray": "slate gray", "palegoldenrod": "pale goldenrod", "darkorange": "dark orange", "aquamarine": "aquamarine", "lightgreen": "light green", "burlywood": "burlywood", "dodgerblue": "dodger blue", "darkgray": "dark gray", "lightcyan": "light cyan", "powderblue": "powder blue", "blueviolet": "blue-violet", "orchid": "orchid", "dimgray": "dim gray", "beige": "beige", "fuchsia": "fuchsia", "lavenderblush": "lavender blush", "hotpink": "hot pink", "steelblue": "steel blue", "tomato": "tomato", "lightpink": "light pink", "limegreen": "lime green", "indianred": "indian red", "papayawhip": "papaya whip", "lightslategray": "light slate gray", "gray": "gray", "mediumorchid": "medium orchid", "cornsilk": "cornsilk", "black": "black", "seagreen": "sea green", "darkslateblue": "dark slate blue", "khaki": "khaki", "lightblue": "light blue", "palegreen": "pale green", "azure": "azure", "peachpuff": "peach puff", "darkolivegreen": "dark olive green", "yellowgreen": "yellow green"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.ROOT");dijit.nls.loading.ROOT={"loadingState": "Loading...", "errorState": "Sorry, an error occurred"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.ROOT");dijit.nls.Textarea.ROOT={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.ROOT");dijit._editor.nls.commands.ROOT={"removeFormat": "Remove Format", "copy": "Copy", "paste": "Paste", "selectAll": "Select All", "insertOrderedList": "Numbered List", "insertTable": "Insert/Edit Table", "underline": "Underline", "foreColor": "Foreground Color", "htmlToggle": "HTML Source", "formatBlock": "Paragraph Style", "insertHorizontalRule": "Horizontal Rule", "delete": "Delete", "appleKey": "⌘${0}", "insertUnorderedList": "Bullet List", "tableProp": "Table Property", "insertImage": "Insert Image", "superscript": "Superscript", "subscript": "Subscript", "createLink": "Create Link", "undo": "Undo", "italic": "Italic", "fontName": "Font Name", "justifyLeft": "Align Left", "unlink": "Remove Link", "toggleTableBorder": "Toggle Table Border", "ctrlKey": "ctrl+${0}", "fontSize": "Font Size", "indent": "Indent", "redo": "Redo", "strikethrough": "Strikethrough", "justifyFull": "Justify", "justifyCenter": "Align Center", "hiliteColor": "Background Color", "deleteTable": "Delete Table", "outdent": "Outdent", "cut": "Cut", "plainFormatBlock": "Paragraph Style", "bold": "Bold", "systemShortcutFF": "The \"${0}\" action is only available in Mozilla Firefox using a keyboard shortcut. Use ${1}.", "justifyRight": "Align Right"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.ROOT");dojo.cldr.nls.number.ROOT={"scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencyFormat": "¤ #,##0.00", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "group": ",", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "decimal": ".", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ROOT");dijit.nls.common.ROOT={"buttonCancel": "Cancel", "buttonSave": "Save", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.ROOT");dijit.form.nls.validate.ROOT={"rangeMessage": "* This value is out of range.", "invalidMessage": "* The value entered is not valid.", "missingMessage": "* This value is required."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.ROOT");dijit.form.nls.ComboBox.ROOT={"previousMessage": "Previous choices", "nextMessage": "More choices"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.ROOT");dojo.cldr.nls.currency.ROOT={"USD_symbol": "$", "EUR_displayName": "EUR", "GBP_displayName": "GBP", "JPY_displayName": "JPY", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€", "USD_displayName": "USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.ROOT");dojo.cldr.nls.gregorian.ROOT={"dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "eraNames": ["BCE", "CE"], "field-weekday": "Day of the Week", "months-standAlone-narrow": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "timeFormat-full": "HH:mm:ss z", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "days-standAlone-narrow": ["1", "2", "3", "4", "5", "6", "7"], "eraAbbr": ["BCE", "CE"], "dateFormat-long": "yyyy MMMM d", "timeFormat-medium": "HH:mm:ss", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "dateFormat-medium": "yyyy MMM d", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "timeFormat-long": "HH:mm:ss z", "months-format-abbr": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "timeFormat-short": "HH:mm", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "days-format-abbr": ["1", "2", "3", "4", "5", "6", "7"], "pm": "PM", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "am": "AM", "dateFormat-short": "yy/MM/dd", "dateFormat-full": "EEEE, yyyy MMMM dd", "months-format-wide": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "dateTimeFormats-appendItem-Era": "{0} {1}", "quarters-format-wide": ["Q1", "Q2", "Q3", "Q4"], "days-format-wide": ["1", "2", "3", "4", "5", "6", "7"]};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.ROOT");dijit.nls.Textarea.ROOT={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_cs.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_cs.js deleted file mode 100644 index 4a4c3425..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_cs.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_cs");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.cs");dojo.nls.colors.cs={"lightsteelblue": "světlá ocelová modrá", "orangered": "oranžovočervená", "midnightblue": "temně modrá", "cadetblue": "šedomodrá", "seashell": "lasturová", "slategrey": "břidlicová šedá", "coral": "korálová červená", "darkturquoise": "tmavě tyrkysová", "antiquewhite": "krémově bílá", "mediumspringgreen": "střední jarní zelená", "salmon": "lososová", "darkgrey": "tmavě šedá", "ivory": "slonovinová", "greenyellow": "zelenožlutá", "mistyrose": "růžovobílá", "lightsalmon": "světle lososová", "silver": "stříbrná", "dimgrey": "kouřově šedá", "orange": "oranžová", "white": "bílá", "navajowhite": "světle krémová", "royalblue": "královská modrá", "deeppink": "sytě růžová", "lime": "limetková", "oldlace": "světle béžová", "chartreuse": "chartreuska", "darkcyan": "tmavě azurová", "yellow": "žlutá", "linen": "bledě šedobéžová", "olive": "olivová", "gold": "zlatá", "lawngreen": "jasně zelená", "lightyellow": "bledě žlutá", "tan": "šedobéžová", "darkviolet": "tmavě fialová", "lightslategrey": "světlá břidlicová šedá", "grey": "šedá", "darkkhaki": "pískově hnědá", "green": "zelená", "deepskyblue": "sytá nebeská modrá", "aqua": "azurová", "sienna": "siena", "mintcream": "mentolová", "rosybrown": "růžovohnědá", "mediumslateblue": "střední břidlicová modrá", "magenta": "purpurová", "lightseagreen": "světlá mořská zelená", "cyan": "azurová", "olivedrab": "khaki", "darkgoldenrod": "tmavě béžová", "slateblue": "břidlicová modrá", "mediumaquamarine": "střední akvamarínová", "lavender": "levandulová", "mediumseagreen": "střední mořská zelená", "maroon": "kaštanová", "darkslategray": "tmavá břidlicová šedá", "mediumturquoise": "středně tyrkysová", "ghostwhite": "modravě bílá", "darkblue": "tmavě modrá", "mediumvioletred": "středně fialovočervená", "brown": "červenohnědá", "lightgray": "světle šedá", "sandybrown": "oranžovohnědá", "pink": "růžová", "firebrick": "cihlová", "indigo": "indigově modrá", "snow": "sněhobílá", "darkorchid": "tmavě orchidejová", "turquoise": "tyrkysová", "chocolate": "hnědobéžová", "springgreen": "jarní zelená", "moccasin": "bledě krémová", "navy": "námořnická modrá", "lemonchiffon": "světle citrónová", "teal": "šedozelená", "floralwhite": "květinově bílá", "cornflowerblue": "chrpově modrá", "paleturquoise": "bledě tyrkysová", "purple": "nachová", "gainsboro": "bledě šedá", "plum": "švestková", "red": "červená", "blue": "modrá", "forestgreen": "lesní zelená", "darkgreen": "tmavě zelená", "honeydew": "nazelenalá", "darkseagreen": "tmavá mořská zelená", "lightcoral": "světle korálová", "palevioletred": "bledě fialovočervená", "mediumpurple": "středně nachová", "saddlebrown": "hnědá", "darkmagenta": "tmavě purpurová", "thistle": "bodláková", "whitesmoke": "kouřově bílá", "wheat": "zlatohnědá", "violet": "fialová", "lightskyblue": "světlá nebeská modrá", "goldenrod": "béžová", "mediumblue": "středně modrá", "skyblue": "nebeská modrá", "crimson": "karmínová", "darksalmon": "tmavě lososová", "darkred": "tmavě červená", "darkslategrey": "tmavá břidlicová šedá", "peru": "karamelová", "lightgrey": "světle šedá", "lightgoldenrodyellow": "světle žlutá", "blanchedalmond": "mandlová", "aliceblue": "modravá", "bisque": "bledě oranžová", "slategray": "břidlicová šedá", "palegoldenrod": "bledě písková", "darkorange": "tmavě oranžová", "aquamarine": "akvamarínová", "lightgreen": "světle zelená", "burlywood": "krémová", "dodgerblue": "jasně modrá", "darkgray": "tmavě šedá", "lightcyan": "světle azurová", "powderblue": "bledě modrá", "blueviolet": "modrofialová", "orchid": "orchidejová", "dimgray": "kouřově šedá", "beige": "bledě béžová", "fuchsia": "fuchsiová", "lavenderblush": "levandulová růžová", "hotpink": "jasně růžová", "steelblue": "ocelová modrá", "tomato": "tomatová", "lightpink": "světle růžová", "limegreen": "limetkově zelená", "indianred": "indiánská červená", "papayawhip": "papájová", "lightslategray": "světlá břidlicová šedá", "gray": "šedá", "mediumorchid": "středně orchidejová", "cornsilk": "režná", "black": "černá", "seagreen": "mořská zelená", "darkslateblue": "tmavá břidlicová modrá", "khaki": "písková", "lightblue": "světle modrá", "palegreen": "bledě zelená", "azure": "bledě azurová", "peachpuff": "broskvová", "darkolivegreen": "tmavě olivová", "yellowgreen": "žlutozelená"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.cs");dijit.nls.loading.cs={"loadingState": "Probíhá načítání...", "errorState": "Omlouváme se, došlo k chybě"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.cs");dijit.nls.Textarea.cs={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.cs");dijit._editor.nls.commands.cs={"removeFormat": "Odebrat formát", "copy": "Kopírovat", "paste": "Vložit", "selectAll": "Vybrat vše", "insertOrderedList": "Číslovaný seznam", "insertTable": "Vložit/upravit tabulku", "underline": "Podtržení", "foreColor": "Barva popředí", "htmlToggle": "Zdroj HTML", "formatBlock": "Styl odstavce", "insertHorizontalRule": "Vodorovné pravítko", "delete": "Odstranit", "insertUnorderedList": "Seznam s odrážkami", "tableProp": "Vlastnost tabulky", "insertImage": "Vložit obraz", "superscript": "Horní index", "subscript": "Dolní index", "createLink": "Vytvořit odkaz", "undo": "Zpět", "italic": "Kurzíva", "fontName": "Název písma", "justifyLeft": "Zarovnat vlevo", "unlink": "Odebrat odkaz", "toggleTableBorder": "Přepnout ohraničení tabulky", "fontSize": "Velikost písma", "indent": "Odsadit", "redo": "Opakovat", "strikethrough": "Přeškrtnutí", "justifyFull": "Do bloku", "justifyCenter": "Zarovnat na střed", "hiliteColor": "Barva pozadí", "deleteTable": "Odstranit tabulku", "outdent": "Předsadit", "cut": "Vyjmout", "plainFormatBlock": "Styl odstavce", "bold": "Tučné", "systemShortcutFF": "Akce \"${0}\" je k dispozici pouze v prohlížeči Mozilla Firefox při použití klávesové zkratky. Použijte ${1}.", "justifyRight": "Zarovnat vpravo", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.cs");dojo.cldr.nls.number.cs={"scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencyFormat": "¤ #,##0.00", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "group": ",", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "decimal": ".", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.cs");dijit.nls.common.cs={"buttonCancel": "Storno", "buttonSave": "Uložit", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.cs");dijit.form.nls.validate.cs={"rangeMessage": "* Tato hodnota je mimo rozsah.", "invalidMessage": "* Zadaná hodnota není platná.", "missingMessage": "* Tato hodnota je vyžadována."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.cs");dijit.form.nls.ComboBox.cs={"previousMessage": "Předchozí volby", "nextMessage": "Další volby"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.cs");dojo.cldr.nls.currency.cs={"USD_symbol": "$", "EUR_displayName": "EUR", "GBP_displayName": "GBP", "JPY_displayName": "JPY", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€", "USD_displayName": "USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.cs");dojo.cldr.nls.gregorian.cs={"dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "eraNames": ["BCE", "CE"], "field-weekday": "Day of the Week", "months-standAlone-narrow": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "timeFormat-full": "HH:mm:ss z", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "days-standAlone-narrow": ["1", "2", "3", "4", "5", "6", "7"], "eraAbbr": ["BCE", "CE"], "dateFormat-long": "yyyy MMMM d", "timeFormat-medium": "HH:mm:ss", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "dateFormat-medium": "yyyy MMM d", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "timeFormat-long": "HH:mm:ss z", "months-format-abbr": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "timeFormat-short": "HH:mm", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "days-format-abbr": ["1", "2", "3", "4", "5", "6", "7"], "pm": "PM", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "am": "AM", "dateFormat-short": "yy/MM/dd", "dateFormat-full": "EEEE, yyyy MMMM dd", "months-format-wide": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "dateTimeFormats-appendItem-Era": "{0} {1}", "quarters-format-wide": ["Q1", "Q2", "Q3", "Q4"], "days-format-wide": ["1", "2", "3", "4", "5", "6", "7"]};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.cs");dijit.nls.Textarea.cs={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_de-de.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_de-de.js deleted file mode 100644 index e4bf56ab..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_de-de.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_de-de");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.de_de");dojo.nls.colors.de_de={"lightsteelblue": "Helles Stahlblau", "orangered": "Orangerot", "midnightblue": "Mitternachtblau", "cadetblue": "Kadettenblau", "seashell": "Muschelweiß", "slategrey": "Schiefergrau", "coral": "Koralle", "darkturquoise": "Dunkeltürkis", "antiquewhite": "Antikweiß", "mediumspringgreen": "Mittelfrühlingsgrün", "salmon": "Lachs", "darkgrey": "Dunkelgrau", "ivory": "Elfenbein", "greenyellow": "Grüngelb", "mistyrose": "Blassrose", "lightsalmon": "Helllachs", "silver": "Silbergrau", "dimgrey": "Blassgrau", "orange": "Orange", "white": "Weiß", "navajowhite": "Navajo-weiß", "royalblue": "Königsblau", "deeppink": "Tiefrosa", "lime": "Limone", "oldlace": "Alte Spitze", "chartreuse": "Helles Gelbgrün", "darkcyan": "Dunkelzyan", "yellow": "Gelb", "linen": "Leinen", "olive": "Oliv", "gold": "Gold", "lawngreen": "Grasgrün", "lightyellow": "Hellgelb", "tan": "Hautfarben", "darkviolet": "Dunkelviolett", "lightslategrey": "Helles Schiefergrau", "grey": "Grau", "darkkhaki": "Dunkelkhaki", "green": "Grün", "deepskyblue": "Dunkles Himmelblau", "aqua": "Wasserblau", "sienna": "Sienna", "mintcream": "Mintcreme", "rosybrown": "Rosigbraun", "mediumslateblue": "Mittelschieferblau ", "magenta": "Magenta", "lightseagreen": "Helles Meergrün", "cyan": "Zyan", "olivedrab": "Olivgrau", "darkgoldenrod": "Dunkelgoldgelb", "slateblue": "Schieferblau", "mediumaquamarine": "Mittelaquamarin", "lavender": "Lavendelblau", "mediumseagreen": "Mittelmeeresgrün", "maroon": "Kastanienbraun", "darkslategray": "Dunkelschiefergrau", "mediumturquoise": "Mitteltürkis ", "ghostwhite": "Geisterweiß", "darkblue": "Dunkelblau", "mediumvioletred": "Mittelviolettrot ", "brown": "Braun", "lightgray": "Hellgrau", "sandybrown": "Sandbraun", "pink": "Rosa", "firebrick": "Schamottestein", "indigo": "Indigoblau", "snow": "Schneeweiß", "darkorchid": "Dunkelorchidee", "turquoise": "Türkis", "chocolate": "Schokoladenbraun", "springgreen": "Frühlingsgrün", "moccasin": "Mokassin", "navy": "Marineblau", "lemonchiffon": "Zitronenchiffon", "teal": "Smaragdgrün", "floralwhite": "Blütenweiß", "cornflowerblue": "Kornblumenblau", "paleturquoise": "Blasstürkis", "purple": "Purpurrot", "gainsboro": "Gainsboro", "plum": "Pflaume", "red": "Rot", "blue": "Blau", "forestgreen": "Forstgrün", "darkgreen": "Dunkelgrün", "honeydew": "Honigtau", "darkseagreen": "Dunkles Meergrün", "lightcoral": "Hellkoralle", "palevioletred": "Blassviolettrot ", "mediumpurple": "Mittelpurpur", "saddlebrown": "Sattelbraun", "darkmagenta": "Dunkelmagenta", "thistle": "Distel", "whitesmoke": "Rauchweiß", "wheat": "Weizen", "violet": "Violett", "lightskyblue": "Helles Himmelblau", "goldenrod": "Goldgelb", "mediumblue": "Mittelblau", "skyblue": "Himmelblau", "crimson": "Karmesinrot", "darksalmon": "Dunkellachs", "darkred": "Dunkelrot", "darkslategrey": "Dunkelschiefergrau", "peru": "Peru", "lightgrey": "Hellgrau", "lightgoldenrodyellow": "Hellgoldgelb", "blanchedalmond": "Mandelweiß", "aliceblue": "Alice-blau", "bisque": "Bisquit", "slategray": "Schiefergrau", "palegoldenrod": "Blassgoldgelb", "darkorange": "Dunkelorange", "aquamarine": "Aquamarin", "lightgreen": "Hellgrün", "burlywood": "Burlywood", "dodgerblue": "Dodger-blau", "darkgray": "Dunkelgrau", "lightcyan": "Hellzyan", "powderblue": "Pulverblau", "blueviolet": "Blauviolett", "orchid": "Orchidee", "dimgray": "Blassgrau", "beige": "Beige", "fuchsia": "Fuchsia", "lavenderblush": "Lavendelhauch", "hotpink": "Knallrosa", "steelblue": "Stahlblau", "tomato": "Tomatenrot", "lightpink": "Hellrosa", "limegreen": "Limonengrün", "indianred": "Indischrot", "papayawhip": "Papayacreme", "lightslategray": "Helles Schiefergrau", "gray": "Grau", "mediumorchid": "Mittelorchidee", "cornsilk": "Kornseide", "black": "Schwarz", "seagreen": "Meeresgrün", "darkslateblue": "Dunkelschieferblau", "khaki": "Khaki", "lightblue": "Hellblau", "palegreen": "Blassgrün", "azure": "Azur", "peachpuff": "Pfirsich", "darkolivegreen": "Dunkelolivgrün", "yellowgreen": "Gelbgrün"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.de_de");dijit.nls.loading.de_de={"loadingState": "Wird geladen...", "errorState": "Es ist ein Fehler aufgetreten."};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.de_de");dijit.nls.Textarea.de_de={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.de_de");dijit._editor.nls.commands.de_de={"removeFormat": "Formatierung entfernen", "copy": "Kopieren", "paste": "Einfügen", "selectAll": "Alles auswählen", "insertOrderedList": "Nummerierte Liste", "insertTable": "Tabelle einfügen/bearbeiten", "underline": "Unterstrichen", "foreColor": "Vordergrundfarbe", "htmlToggle": "HTML-Quelltext", "formatBlock": "Absatzstil", "insertHorizontalRule": "Horizontaler Strich", "delete": "Löschen", "insertUnorderedList": "Listenpunkte", "tableProp": "Tabelleneigenschaft", "insertImage": "Grafik einfügen", "superscript": "Hochgestellt", "subscript": "Tiefgestellt", "createLink": "Link erstellen", "undo": "Rückgängig", "italic": "Kursiv", "fontName": "Schriftartname", "justifyLeft": "Linksbündig", "unlink": "Link entfernen", "toggleTableBorder": "Tabellenumrandung ein-/ausschalten", "ctrlKey": "Strg+${0}", "fontSize": "Schriftgröße", "indent": "Einrücken", "redo": "Wiederherstellen", "strikethrough": "Durchgestrichen", "justifyFull": "Blocksatz", "justifyCenter": "Zentrieren", "hiliteColor": "Hintergrundfarbe", "deleteTable": "Tabelle löschen", "outdent": "Ausrücken", "cut": "Ausschneiden", "plainFormatBlock": "Absatzstil", "bold": "Fett", "systemShortcutFF": "Die Aktion \"${0}\" ist in Mozilla Firefox nur über einen Tastaturkurzbefehl verfügbar. Verwenden Sie ${1}.", "justifyRight": "Rechtsbündig", "appleKey": "⌘${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.de_de");dojo.cldr.nls.number.de_de={"currencyFormat": "#,##0.00 ¤", "group": ".", "percentFormat": "#,##0 %", "decimal": ",", "scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "decimalFormat": "#,##0.###", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.de_de");dijit.nls.common.de_de={"buttonCancel": "Abbrechen", "buttonSave": "Speichern", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.de_de");dijit.form.nls.validate.de_de={"rangeMessage": "* Dieser Wert ist außerhalb des gültigen Bereichs. ", "invalidMessage": "* Der eingegebene Wert ist ungültig. ", "missingMessage": "* Dieser Wert ist erforderlich."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.de_de");dijit.form.nls.ComboBox.de_de={"previousMessage": "Vorherige Auswahl", "nextMessage": "Weitere Auswahlmöglichkeiten"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.de_de");dojo.cldr.nls.currency.de_de={"HKD_displayName": "Hongkong Dollar", "CHF_displayName": "Schweizer Franken", "CHF_symbol": "SFr.", "CAD_displayName": "Kanadischer Dollar", "AUD_displayName": "Australischer Dollar", "JPY_displayName": "Yen", "USD_displayName": "US Dollar", "GBP_displayName": "Pfund Sterling", "EUR_displayName": "Euro", "USD_symbol": "$", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.de_de");dojo.cldr.nls.gregorian.de_de={"eraNames": ["v. Chr.", "n. Chr."], "timeFormat-full": "H:mm' Uhr 'z", "eraAbbr": ["v. Chr.", "n. Chr."], "dateFormat-medium": "dd.MM.yyyy", "am": "vorm.", "months-format-abbr": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], "dateFormat-full": "EEEE, d. MMMM yyyy", "days-format-abbr": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "quarters-format-wide": ["1. Quartal", "2. Quartal", "3. Quartal", "4. Quartal"], "pm": "nachm.", "dateFormat-short": "dd.MM.yy", "months-format-wide": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], "months-standAlone-narrow": ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "days-standAlone-narrow": ["S", "M", "D", "M", "D", "F", "S"], "dateFormat-long": "d. MMMM yyyy", "days-format-wide": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "field-weekday": "Day of the Week", "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "timeFormat-medium": "HH:mm:ss", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "timeFormat-long": "HH:mm:ss z", "timeFormat-short": "HH:mm", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Era": "{0} {1}"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.de_de");dijit.nls.Textarea.de_de={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_de.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_de.js deleted file mode 100644 index e8a3b430..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_de.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_de");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.de");dojo.nls.colors.de={"lightsteelblue": "Helles Stahlblau", "orangered": "Orangerot", "midnightblue": "Mitternachtblau", "cadetblue": "Kadettenblau", "seashell": "Muschelweiß", "slategrey": "Schiefergrau", "coral": "Koralle", "darkturquoise": "Dunkeltürkis", "antiquewhite": "Antikweiß", "mediumspringgreen": "Mittelfrühlingsgrün", "salmon": "Lachs", "darkgrey": "Dunkelgrau", "ivory": "Elfenbein", "greenyellow": "Grüngelb", "mistyrose": "Blassrose", "lightsalmon": "Helllachs", "silver": "Silbergrau", "dimgrey": "Blassgrau", "orange": "Orange", "white": "Weiß", "navajowhite": "Navajo-weiß", "royalblue": "Königsblau", "deeppink": "Tiefrosa", "lime": "Limone", "oldlace": "Alte Spitze", "chartreuse": "Helles Gelbgrün", "darkcyan": "Dunkelzyan", "yellow": "Gelb", "linen": "Leinen", "olive": "Oliv", "gold": "Gold", "lawngreen": "Grasgrün", "lightyellow": "Hellgelb", "tan": "Hautfarben", "darkviolet": "Dunkelviolett", "lightslategrey": "Helles Schiefergrau", "grey": "Grau", "darkkhaki": "Dunkelkhaki", "green": "Grün", "deepskyblue": "Dunkles Himmelblau", "aqua": "Wasserblau", "sienna": "Sienna", "mintcream": "Mintcreme", "rosybrown": "Rosigbraun", "mediumslateblue": "Mittelschieferblau ", "magenta": "Magenta", "lightseagreen": "Helles Meergrün", "cyan": "Zyan", "olivedrab": "Olivgrau", "darkgoldenrod": "Dunkelgoldgelb", "slateblue": "Schieferblau", "mediumaquamarine": "Mittelaquamarin", "lavender": "Lavendelblau", "mediumseagreen": "Mittelmeeresgrün", "maroon": "Kastanienbraun", "darkslategray": "Dunkelschiefergrau", "mediumturquoise": "Mitteltürkis ", "ghostwhite": "Geisterweiß", "darkblue": "Dunkelblau", "mediumvioletred": "Mittelviolettrot ", "brown": "Braun", "lightgray": "Hellgrau", "sandybrown": "Sandbraun", "pink": "Rosa", "firebrick": "Schamottestein", "indigo": "Indigoblau", "snow": "Schneeweiß", "darkorchid": "Dunkelorchidee", "turquoise": "Türkis", "chocolate": "Schokoladenbraun", "springgreen": "Frühlingsgrün", "moccasin": "Mokassin", "navy": "Marineblau", "lemonchiffon": "Zitronenchiffon", "teal": "Smaragdgrün", "floralwhite": "Blütenweiß", "cornflowerblue": "Kornblumenblau", "paleturquoise": "Blasstürkis", "purple": "Purpurrot", "gainsboro": "Gainsboro", "plum": "Pflaume", "red": "Rot", "blue": "Blau", "forestgreen": "Forstgrün", "darkgreen": "Dunkelgrün", "honeydew": "Honigtau", "darkseagreen": "Dunkles Meergrün", "lightcoral": "Hellkoralle", "palevioletred": "Blassviolettrot ", "mediumpurple": "Mittelpurpur", "saddlebrown": "Sattelbraun", "darkmagenta": "Dunkelmagenta", "thistle": "Distel", "whitesmoke": "Rauchweiß", "wheat": "Weizen", "violet": "Violett", "lightskyblue": "Helles Himmelblau", "goldenrod": "Goldgelb", "mediumblue": "Mittelblau", "skyblue": "Himmelblau", "crimson": "Karmesinrot", "darksalmon": "Dunkellachs", "darkred": "Dunkelrot", "darkslategrey": "Dunkelschiefergrau", "peru": "Peru", "lightgrey": "Hellgrau", "lightgoldenrodyellow": "Hellgoldgelb", "blanchedalmond": "Mandelweiß", "aliceblue": "Alice-blau", "bisque": "Bisquit", "slategray": "Schiefergrau", "palegoldenrod": "Blassgoldgelb", "darkorange": "Dunkelorange", "aquamarine": "Aquamarin", "lightgreen": "Hellgrün", "burlywood": "Burlywood", "dodgerblue": "Dodger-blau", "darkgray": "Dunkelgrau", "lightcyan": "Hellzyan", "powderblue": "Pulverblau", "blueviolet": "Blauviolett", "orchid": "Orchidee", "dimgray": "Blassgrau", "beige": "Beige", "fuchsia": "Fuchsia", "lavenderblush": "Lavendelhauch", "hotpink": "Knallrosa", "steelblue": "Stahlblau", "tomato": "Tomatenrot", "lightpink": "Hellrosa", "limegreen": "Limonengrün", "indianred": "Indischrot", "papayawhip": "Papayacreme", "lightslategray": "Helles Schiefergrau", "gray": "Grau", "mediumorchid": "Mittelorchidee", "cornsilk": "Kornseide", "black": "Schwarz", "seagreen": "Meeresgrün", "darkslateblue": "Dunkelschieferblau", "khaki": "Khaki", "lightblue": "Hellblau", "palegreen": "Blassgrün", "azure": "Azur", "peachpuff": "Pfirsich", "darkolivegreen": "Dunkelolivgrün", "yellowgreen": "Gelbgrün"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.de");dijit.nls.loading.de={"loadingState": "Wird geladen...", "errorState": "Es ist ein Fehler aufgetreten."};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.de");dijit.nls.Textarea.de={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.de");dijit._editor.nls.commands.de={"removeFormat": "Formatierung entfernen", "copy": "Kopieren", "paste": "Einfügen", "selectAll": "Alles auswählen", "insertOrderedList": "Nummerierte Liste", "insertTable": "Tabelle einfügen/bearbeiten", "underline": "Unterstrichen", "foreColor": "Vordergrundfarbe", "htmlToggle": "HTML-Quelltext", "formatBlock": "Absatzstil", "insertHorizontalRule": "Horizontaler Strich", "delete": "Löschen", "insertUnorderedList": "Listenpunkte", "tableProp": "Tabelleneigenschaft", "insertImage": "Grafik einfügen", "superscript": "Hochgestellt", "subscript": "Tiefgestellt", "createLink": "Link erstellen", "undo": "Rückgängig", "italic": "Kursiv", "fontName": "Schriftartname", "justifyLeft": "Linksbündig", "unlink": "Link entfernen", "toggleTableBorder": "Tabellenumrandung ein-/ausschalten", "ctrlKey": "Strg+${0}", "fontSize": "Schriftgröße", "indent": "Einrücken", "redo": "Wiederherstellen", "strikethrough": "Durchgestrichen", "justifyFull": "Blocksatz", "justifyCenter": "Zentrieren", "hiliteColor": "Hintergrundfarbe", "deleteTable": "Tabelle löschen", "outdent": "Ausrücken", "cut": "Ausschneiden", "plainFormatBlock": "Absatzstil", "bold": "Fett", "systemShortcutFF": "Die Aktion \"${0}\" ist in Mozilla Firefox nur über einen Tastaturkurzbefehl verfügbar. Verwenden Sie ${1}.", "justifyRight": "Rechtsbündig", "appleKey": "⌘${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.de");dojo.cldr.nls.number.de={"group": ".", "percentFormat": "#,##0 %", "decimal": ",", "scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencyFormat": "¤ #,##0.00", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "decimalFormat": "#,##0.###", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.de");dijit.nls.common.de={"buttonCancel": "Abbrechen", "buttonSave": "Speichern", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.de");dijit.form.nls.validate.de={"rangeMessage": "* Dieser Wert ist außerhalb des gültigen Bereichs. ", "invalidMessage": "* Der eingegebene Wert ist ungültig. ", "missingMessage": "* Dieser Wert ist erforderlich."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.de");dijit.form.nls.ComboBox.de={"previousMessage": "Vorherige Auswahl", "nextMessage": "Weitere Auswahlmöglichkeiten"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.de");dojo.cldr.nls.currency.de={"HKD_displayName": "Hongkong Dollar", "CHF_displayName": "Schweizer Franken", "CHF_symbol": "SFr.", "CAD_displayName": "Kanadischer Dollar", "AUD_displayName": "Australischer Dollar", "JPY_displayName": "Yen", "USD_displayName": "US Dollar", "GBP_displayName": "Pfund Sterling", "EUR_displayName": "Euro", "USD_symbol": "$", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.de");dojo.cldr.nls.gregorian.de={"eraNames": ["v. Chr.", "n. Chr."], "timeFormat-full": "H:mm' Uhr 'z", "eraAbbr": ["v. Chr.", "n. Chr."], "dateFormat-medium": "dd.MM.yyyy", "am": "vorm.", "months-format-abbr": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], "dateFormat-full": "EEEE, d. MMMM yyyy", "days-format-abbr": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "quarters-format-wide": ["1. Quartal", "2. Quartal", "3. Quartal", "4. Quartal"], "pm": "nachm.", "dateFormat-short": "dd.MM.yy", "months-format-wide": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], "months-standAlone-narrow": ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "days-standAlone-narrow": ["S", "M", "D", "M", "D", "F", "S"], "dateFormat-long": "d. MMMM yyyy", "days-format-wide": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "field-weekday": "Day of the Week", "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "timeFormat-medium": "HH:mm:ss", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "timeFormat-long": "HH:mm:ss z", "timeFormat-short": "HH:mm", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Era": "{0} {1}"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.de");dijit.nls.Textarea.de={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_en-gb.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_en-gb.js deleted file mode 100644 index 2f9bb557..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_en-gb.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_en-gb");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.en_gb");dojo.nls.colors.en_gb={"lightsteelblue": "light steel blue", "orangered": "orange red", "midnightblue": "midnight blue", "cadetblue": "cadet blue", "seashell": "seashell", "slategrey": "slate gray", "coral": "coral", "darkturquoise": "dark turquoise", "antiquewhite": "antique white", "mediumspringgreen": "medium spring green", "salmon": "salmon", "darkgrey": "dark gray", "ivory": "ivory", "greenyellow": "green-yellow", "mistyrose": "misty rose", "lightsalmon": "light salmon", "silver": "silver", "dimgrey": "dim gray", "orange": "orange", "white": "white", "navajowhite": "navajo white", "royalblue": "royal blue", "deeppink": "deep pink", "lime": "lime", "oldlace": "old lace", "chartreuse": "chartreuse", "darkcyan": "dark cyan", "yellow": "yellow", "linen": "linen", "olive": "olive", "gold": "gold", "lawngreen": "lawn green", "lightyellow": "light yellow", "tan": "tan", "darkviolet": "dark violet", "lightslategrey": "light slate gray", "grey": "gray", "darkkhaki": "dark khaki", "green": "green", "deepskyblue": "deep sky blue", "aqua": "aqua", "sienna": "sienna", "mintcream": "mint cream", "rosybrown": "rosy brown", "mediumslateblue": "medium slate blue", "magenta": "magenta", "lightseagreen": "light sea green", "cyan": "cyan", "olivedrab": "olive drab", "darkgoldenrod": "dark goldenrod", "slateblue": "slate blue", "mediumaquamarine": "medium aquamarine", "lavender": "lavender", "mediumseagreen": "medium sea green", "maroon": "maroon", "darkslategray": "dark slate gray", "mediumturquoise": "medium turquoise", "ghostwhite": "ghost white", "darkblue": "dark blue", "mediumvioletred": "medium violet-red", "brown": "brown", "lightgray": "light gray", "sandybrown": "sandy brown", "pink": "pink", "firebrick": "fire brick", "indigo": "indigo", "snow": "snow", "darkorchid": "dark orchid", "turquoise": "turquoise", "chocolate": "chocolate", "springgreen": "spring green", "moccasin": "moccasin", "navy": "navy", "lemonchiffon": "lemon chiffon", "teal": "teal", "floralwhite": "floral white", "cornflowerblue": "cornflower blue", "paleturquoise": "pale turquoise", "purple": "purple", "gainsboro": "gainsboro", "plum": "plum", "red": "red", "blue": "blue", "forestgreen": "forest green", "darkgreen": "dark green", "honeydew": "honeydew", "darkseagreen": "dark sea green", "lightcoral": "light coral", "palevioletred": "pale violet-red", "mediumpurple": "medium purple", "saddlebrown": "saddle brown", "darkmagenta": "dark magenta", "thistle": "thistle", "whitesmoke": "white smoke", "wheat": "wheat", "violet": "violet", "lightskyblue": "light sky blue", "goldenrod": "goldenrod", "mediumblue": "medium blue", "skyblue": "sky blue", "crimson": "crimson", "darksalmon": "dark salmon", "darkred": "dark red", "darkslategrey": "dark slate gray", "peru": "peru", "lightgrey": "light gray", "lightgoldenrodyellow": "light goldenrod yellow", "blanchedalmond": "blanched almond", "aliceblue": "alice blue", "bisque": "bisque", "slategray": "slate gray", "palegoldenrod": "pale goldenrod", "darkorange": "dark orange", "aquamarine": "aquamarine", "lightgreen": "light green", "burlywood": "burlywood", "dodgerblue": "dodger blue", "darkgray": "dark gray", "lightcyan": "light cyan", "powderblue": "powder blue", "blueviolet": "blue-violet", "orchid": "orchid", "dimgray": "dim gray", "beige": "beige", "fuchsia": "fuchsia", "lavenderblush": "lavender blush", "hotpink": "hot pink", "steelblue": "steel blue", "tomato": "tomato", "lightpink": "light pink", "limegreen": "lime green", "indianred": "indian red", "papayawhip": "papaya whip", "lightslategray": "light slate gray", "gray": "gray", "mediumorchid": "medium orchid", "cornsilk": "cornsilk", "black": "black", "seagreen": "sea green", "darkslateblue": "dark slate blue", "khaki": "khaki", "lightblue": "light blue", "palegreen": "pale green", "azure": "azure", "peachpuff": "peach puff", "darkolivegreen": "dark olive green", "yellowgreen": "yellow green"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.en_gb");dijit.nls.loading.en_gb={"loadingState": "Loading...", "errorState": "Sorry, an error occurred"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.en_gb");dijit.nls.Textarea.en_gb={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.en_gb");dijit._editor.nls.commands.en_gb={"removeFormat": "Remove Format", "copy": "Copy", "paste": "Paste", "selectAll": "Select All", "insertOrderedList": "Numbered List", "insertTable": "Insert/Edit Table", "underline": "Underline", "foreColor": "Foreground Color", "htmlToggle": "HTML Source", "formatBlock": "Paragraph Style", "insertHorizontalRule": "Horizontal Rule", "delete": "Delete", "appleKey": "⌘${0}", "insertUnorderedList": "Bullet List", "tableProp": "Table Property", "insertImage": "Insert Image", "superscript": "Superscript", "subscript": "Subscript", "createLink": "Create Link", "undo": "Undo", "italic": "Italic", "fontName": "Font Name", "justifyLeft": "Align Left", "unlink": "Remove Link", "toggleTableBorder": "Toggle Table Border", "ctrlKey": "ctrl+${0}", "fontSize": "Font Size", "indent": "Indent", "redo": "Redo", "strikethrough": "Strikethrough", "justifyFull": "Justify", "justifyCenter": "Align Center", "hiliteColor": "Background Color", "deleteTable": "Delete Table", "outdent": "Outdent", "cut": "Cut", "plainFormatBlock": "Paragraph Style", "bold": "Bold", "systemShortcutFF": "The \"${0}\" action is only available in Mozilla Firefox using a keyboard shortcut. Use ${1}.", "justifyRight": "Align Right"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.en_gb");dojo.cldr.nls.number.en_gb={"currencyFormat": "¤#,##0.00", "scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "group": ",", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "decimal": ".", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.en_gb");dijit.nls.common.en_gb={"buttonCancel": "Cancel", "buttonSave": "Save", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.en_gb");dijit.form.nls.validate.en_gb={"rangeMessage": "* This value is out of range.", "invalidMessage": "* The value entered is not valid.", "missingMessage": "* This value is required."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.en_gb");dijit.form.nls.ComboBox.en_gb={"previousMessage": "Previous choices", "nextMessage": "More choices"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.en_gb");dojo.cldr.nls.currency.en_gb={"HKD_displayName": "Hong Kong Dollar", "CHF_displayName": "Swiss Franc", "CHF_symbol": "SwF", "HKD_symbol": "HK$", "CAD_displayName": "Canadian Dollar", "USD_symbol": "US$", "AUD_displayName": "Australian Dollar", "JPY_displayName": "Japanese Yen", "CAD_symbol": "Can$", "USD_displayName": "US Dollar", "GBP_displayName": "British Pound Sterling", "AUD_symbol": "$A", "EUR_displayName": "Euro", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.en_gb");dojo.cldr.nls.gregorian.en_gb={"dateFormat-short": "dd/MM/yyyy", "timeFormat-long": "HH:mm:ss z", "dateFormat-medium": "d MMM yyyy", "dateFormat-long": "d MMMM yyyy", "timeFormat-medium": "HH:mm:ss", "timeFormat-short": "HH:mm", "timeFormat-full": "HH:mm:ss z", "dateFormat-full": "EEEE, d MMMM yyyy", "months-standAlone-narrow": ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "eraNames": ["Before Christ", "Anno Domini"], "days-standAlone-narrow": ["S", "M", "T", "W", "T", "F", "S"], "field-dayperiod": "AM/PM", "months-format-wide": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], "months-format-abbr": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], "days-format-wide": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "eraAbbr": ["BC", "AD"], "quarters-format-wide": ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"], "days-format-abbr": ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-minute": "Minute", "field-weekday": "Day of the Week", "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "pm": "PM", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "am": "AM", "dateTimeFormats-appendItem-Era": "{0} {1}"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.en_gb");dijit.nls.Textarea.en_gb={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_en-us.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_en-us.js deleted file mode 100644 index 8a8c4cae..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_en-us.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_en-us");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.en_us");dojo.nls.colors.en_us={"lightsteelblue": "light steel blue", "orangered": "orange red", "midnightblue": "midnight blue", "cadetblue": "cadet blue", "seashell": "seashell", "slategrey": "slate gray", "coral": "coral", "darkturquoise": "dark turquoise", "antiquewhite": "antique white", "mediumspringgreen": "medium spring green", "salmon": "salmon", "darkgrey": "dark gray", "ivory": "ivory", "greenyellow": "green-yellow", "mistyrose": "misty rose", "lightsalmon": "light salmon", "silver": "silver", "dimgrey": "dim gray", "orange": "orange", "white": "white", "navajowhite": "navajo white", "royalblue": "royal blue", "deeppink": "deep pink", "lime": "lime", "oldlace": "old lace", "chartreuse": "chartreuse", "darkcyan": "dark cyan", "yellow": "yellow", "linen": "linen", "olive": "olive", "gold": "gold", "lawngreen": "lawn green", "lightyellow": "light yellow", "tan": "tan", "darkviolet": "dark violet", "lightslategrey": "light slate gray", "grey": "gray", "darkkhaki": "dark khaki", "green": "green", "deepskyblue": "deep sky blue", "aqua": "aqua", "sienna": "sienna", "mintcream": "mint cream", "rosybrown": "rosy brown", "mediumslateblue": "medium slate blue", "magenta": "magenta", "lightseagreen": "light sea green", "cyan": "cyan", "olivedrab": "olive drab", "darkgoldenrod": "dark goldenrod", "slateblue": "slate blue", "mediumaquamarine": "medium aquamarine", "lavender": "lavender", "mediumseagreen": "medium sea green", "maroon": "maroon", "darkslategray": "dark slate gray", "mediumturquoise": "medium turquoise", "ghostwhite": "ghost white", "darkblue": "dark blue", "mediumvioletred": "medium violet-red", "brown": "brown", "lightgray": "light gray", "sandybrown": "sandy brown", "pink": "pink", "firebrick": "fire brick", "indigo": "indigo", "snow": "snow", "darkorchid": "dark orchid", "turquoise": "turquoise", "chocolate": "chocolate", "springgreen": "spring green", "moccasin": "moccasin", "navy": "navy", "lemonchiffon": "lemon chiffon", "teal": "teal", "floralwhite": "floral white", "cornflowerblue": "cornflower blue", "paleturquoise": "pale turquoise", "purple": "purple", "gainsboro": "gainsboro", "plum": "plum", "red": "red", "blue": "blue", "forestgreen": "forest green", "darkgreen": "dark green", "honeydew": "honeydew", "darkseagreen": "dark sea green", "lightcoral": "light coral", "palevioletred": "pale violet-red", "mediumpurple": "medium purple", "saddlebrown": "saddle brown", "darkmagenta": "dark magenta", "thistle": "thistle", "whitesmoke": "white smoke", "wheat": "wheat", "violet": "violet", "lightskyblue": "light sky blue", "goldenrod": "goldenrod", "mediumblue": "medium blue", "skyblue": "sky blue", "crimson": "crimson", "darksalmon": "dark salmon", "darkred": "dark red", "darkslategrey": "dark slate gray", "peru": "peru", "lightgrey": "light gray", "lightgoldenrodyellow": "light goldenrod yellow", "blanchedalmond": "blanched almond", "aliceblue": "alice blue", "bisque": "bisque", "slategray": "slate gray", "palegoldenrod": "pale goldenrod", "darkorange": "dark orange", "aquamarine": "aquamarine", "lightgreen": "light green", "burlywood": "burlywood", "dodgerblue": "dodger blue", "darkgray": "dark gray", "lightcyan": "light cyan", "powderblue": "powder blue", "blueviolet": "blue-violet", "orchid": "orchid", "dimgray": "dim gray", "beige": "beige", "fuchsia": "fuchsia", "lavenderblush": "lavender blush", "hotpink": "hot pink", "steelblue": "steel blue", "tomato": "tomato", "lightpink": "light pink", "limegreen": "lime green", "indianred": "indian red", "papayawhip": "papaya whip", "lightslategray": "light slate gray", "gray": "gray", "mediumorchid": "medium orchid", "cornsilk": "cornsilk", "black": "black", "seagreen": "sea green", "darkslateblue": "dark slate blue", "khaki": "khaki", "lightblue": "light blue", "palegreen": "pale green", "azure": "azure", "peachpuff": "peach puff", "darkolivegreen": "dark olive green", "yellowgreen": "yellow green"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.en_us");dijit.nls.loading.en_us={"loadingState": "Loading...", "errorState": "Sorry, an error occurred"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.en_us");dijit.nls.Textarea.en_us={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.en_us");dijit._editor.nls.commands.en_us={"removeFormat": "Remove Format", "copy": "Copy", "paste": "Paste", "selectAll": "Select All", "insertOrderedList": "Numbered List", "insertTable": "Insert/Edit Table", "underline": "Underline", "foreColor": "Foreground Color", "htmlToggle": "HTML Source", "formatBlock": "Paragraph Style", "insertHorizontalRule": "Horizontal Rule", "delete": "Delete", "appleKey": "⌘${0}", "insertUnorderedList": "Bullet List", "tableProp": "Table Property", "insertImage": "Insert Image", "superscript": "Superscript", "subscript": "Subscript", "createLink": "Create Link", "undo": "Undo", "italic": "Italic", "fontName": "Font Name", "justifyLeft": "Align Left", "unlink": "Remove Link", "toggleTableBorder": "Toggle Table Border", "ctrlKey": "ctrl+${0}", "fontSize": "Font Size", "indent": "Indent", "redo": "Redo", "strikethrough": "Strikethrough", "justifyFull": "Justify", "justifyCenter": "Align Center", "hiliteColor": "Background Color", "deleteTable": "Delete Table", "outdent": "Outdent", "cut": "Cut", "plainFormatBlock": "Paragraph Style", "bold": "Bold", "systemShortcutFF": "The \"${0}\" action is only available in Mozilla Firefox using a keyboard shortcut. Use ${1}.", "justifyRight": "Align Right"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.en_us");dojo.cldr.nls.number.en_us={"currencyFormat": "¤#,##0.00;(¤#,##0.00)", "scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "group": ",", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "decimal": ".", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.en_us");dijit.nls.common.en_us={"buttonCancel": "Cancel", "buttonSave": "Save", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.en_us");dijit.form.nls.validate.en_us={"rangeMessage": "* This value is out of range.", "invalidMessage": "* The value entered is not valid.", "missingMessage": "* This value is required."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.en_us");dijit.form.nls.ComboBox.en_us={"previousMessage": "Previous choices", "nextMessage": "More choices"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.en_us");dojo.cldr.nls.currency.en_us={"USD_symbol": "$", "HKD_displayName": "Hong Kong Dollar", "CHF_displayName": "Swiss Franc", "CHF_symbol": "SwF", "HKD_symbol": "HK$", "CAD_displayName": "Canadian Dollar", "AUD_displayName": "Australian Dollar", "JPY_displayName": "Japanese Yen", "CAD_symbol": "Can$", "USD_displayName": "US Dollar", "GBP_displayName": "British Pound Sterling", "AUD_symbol": "$A", "EUR_displayName": "Euro", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.en_us");dojo.cldr.nls.gregorian.en_us={"dateFormat-medium": "MMM d, yyyy", "timeFormat-full": "h:mm:ss a v", "months-standAlone-narrow": ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "eraNames": ["Before Christ", "Anno Domini"], "days-standAlone-narrow": ["S", "M", "T", "W", "T", "F", "S"], "timeFormat-medium": "h:mm:ss a", "dateFormat-long": "MMMM d, yyyy", "field-dayperiod": "AM/PM", "dateFormat-short": "M/d/yy", "months-format-wide": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], "timeFormat-short": "h:mm a", "months-format-abbr": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], "days-format-wide": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "timeFormat-long": "h:mm:ss a z", "eraAbbr": ["BC", "AD"], "quarters-format-wide": ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"], "dateFormat-full": "EEEE, MMMM d, yyyy", "days-format-abbr": ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-minute": "Minute", "field-weekday": "Day of the Week", "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "pm": "PM", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "am": "AM", "dateTimeFormats-appendItem-Era": "{0} {1}"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.en_us");dijit.nls.Textarea.en_us={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_en.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_en.js deleted file mode 100644 index 68e3cf3e..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_en.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_en");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.en");dojo.nls.colors.en={"lightsteelblue": "light steel blue", "orangered": "orange red", "midnightblue": "midnight blue", "cadetblue": "cadet blue", "seashell": "seashell", "slategrey": "slate gray", "coral": "coral", "darkturquoise": "dark turquoise", "antiquewhite": "antique white", "mediumspringgreen": "medium spring green", "salmon": "salmon", "darkgrey": "dark gray", "ivory": "ivory", "greenyellow": "green-yellow", "mistyrose": "misty rose", "lightsalmon": "light salmon", "silver": "silver", "dimgrey": "dim gray", "orange": "orange", "white": "white", "navajowhite": "navajo white", "royalblue": "royal blue", "deeppink": "deep pink", "lime": "lime", "oldlace": "old lace", "chartreuse": "chartreuse", "darkcyan": "dark cyan", "yellow": "yellow", "linen": "linen", "olive": "olive", "gold": "gold", "lawngreen": "lawn green", "lightyellow": "light yellow", "tan": "tan", "darkviolet": "dark violet", "lightslategrey": "light slate gray", "grey": "gray", "darkkhaki": "dark khaki", "green": "green", "deepskyblue": "deep sky blue", "aqua": "aqua", "sienna": "sienna", "mintcream": "mint cream", "rosybrown": "rosy brown", "mediumslateblue": "medium slate blue", "magenta": "magenta", "lightseagreen": "light sea green", "cyan": "cyan", "olivedrab": "olive drab", "darkgoldenrod": "dark goldenrod", "slateblue": "slate blue", "mediumaquamarine": "medium aquamarine", "lavender": "lavender", "mediumseagreen": "medium sea green", "maroon": "maroon", "darkslategray": "dark slate gray", "mediumturquoise": "medium turquoise", "ghostwhite": "ghost white", "darkblue": "dark blue", "mediumvioletred": "medium violet-red", "brown": "brown", "lightgray": "light gray", "sandybrown": "sandy brown", "pink": "pink", "firebrick": "fire brick", "indigo": "indigo", "snow": "snow", "darkorchid": "dark orchid", "turquoise": "turquoise", "chocolate": "chocolate", "springgreen": "spring green", "moccasin": "moccasin", "navy": "navy", "lemonchiffon": "lemon chiffon", "teal": "teal", "floralwhite": "floral white", "cornflowerblue": "cornflower blue", "paleturquoise": "pale turquoise", "purple": "purple", "gainsboro": "gainsboro", "plum": "plum", "red": "red", "blue": "blue", "forestgreen": "forest green", "darkgreen": "dark green", "honeydew": "honeydew", "darkseagreen": "dark sea green", "lightcoral": "light coral", "palevioletred": "pale violet-red", "mediumpurple": "medium purple", "saddlebrown": "saddle brown", "darkmagenta": "dark magenta", "thistle": "thistle", "whitesmoke": "white smoke", "wheat": "wheat", "violet": "violet", "lightskyblue": "light sky blue", "goldenrod": "goldenrod", "mediumblue": "medium blue", "skyblue": "sky blue", "crimson": "crimson", "darksalmon": "dark salmon", "darkred": "dark red", "darkslategrey": "dark slate gray", "peru": "peru", "lightgrey": "light gray", "lightgoldenrodyellow": "light goldenrod yellow", "blanchedalmond": "blanched almond", "aliceblue": "alice blue", "bisque": "bisque", "slategray": "slate gray", "palegoldenrod": "pale goldenrod", "darkorange": "dark orange", "aquamarine": "aquamarine", "lightgreen": "light green", "burlywood": "burlywood", "dodgerblue": "dodger blue", "darkgray": "dark gray", "lightcyan": "light cyan", "powderblue": "powder blue", "blueviolet": "blue-violet", "orchid": "orchid", "dimgray": "dim gray", "beige": "beige", "fuchsia": "fuchsia", "lavenderblush": "lavender blush", "hotpink": "hot pink", "steelblue": "steel blue", "tomato": "tomato", "lightpink": "light pink", "limegreen": "lime green", "indianred": "indian red", "papayawhip": "papaya whip", "lightslategray": "light slate gray", "gray": "gray", "mediumorchid": "medium orchid", "cornsilk": "cornsilk", "black": "black", "seagreen": "sea green", "darkslateblue": "dark slate blue", "khaki": "khaki", "lightblue": "light blue", "palegreen": "pale green", "azure": "azure", "peachpuff": "peach puff", "darkolivegreen": "dark olive green", "yellowgreen": "yellow green"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.en");dijit.nls.loading.en={"loadingState": "Loading...", "errorState": "Sorry, an error occurred"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.en");dijit.nls.Textarea.en={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.en");dijit._editor.nls.commands.en={"removeFormat": "Remove Format", "copy": "Copy", "paste": "Paste", "selectAll": "Select All", "insertOrderedList": "Numbered List", "insertTable": "Insert/Edit Table", "underline": "Underline", "foreColor": "Foreground Color", "htmlToggle": "HTML Source", "formatBlock": "Paragraph Style", "insertHorizontalRule": "Horizontal Rule", "delete": "Delete", "appleKey": "⌘${0}", "insertUnorderedList": "Bullet List", "tableProp": "Table Property", "insertImage": "Insert Image", "superscript": "Superscript", "subscript": "Subscript", "createLink": "Create Link", "undo": "Undo", "italic": "Italic", "fontName": "Font Name", "justifyLeft": "Align Left", "unlink": "Remove Link", "toggleTableBorder": "Toggle Table Border", "ctrlKey": "ctrl+${0}", "fontSize": "Font Size", "indent": "Indent", "redo": "Redo", "strikethrough": "Strikethrough", "justifyFull": "Justify", "justifyCenter": "Align Center", "hiliteColor": "Background Color", "deleteTable": "Delete Table", "outdent": "Outdent", "cut": "Cut", "plainFormatBlock": "Paragraph Style", "bold": "Bold", "systemShortcutFF": "The \"${0}\" action is only available in Mozilla Firefox using a keyboard shortcut. Use ${1}.", "justifyRight": "Align Right"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.en");dojo.cldr.nls.number.en={"currencyFormat": "¤#,##0.00", "scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "group": ",", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "decimal": ".", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.en");dijit.nls.common.en={"buttonCancel": "Cancel", "buttonSave": "Save", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.en");dijit.form.nls.validate.en={"rangeMessage": "* This value is out of range.", "invalidMessage": "* The value entered is not valid.", "missingMessage": "* This value is required."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.en");dijit.form.nls.ComboBox.en={"previousMessage": "Previous choices", "nextMessage": "More choices"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.en");dojo.cldr.nls.currency.en={"HKD_displayName": "Hong Kong Dollar", "CHF_displayName": "Swiss Franc", "CHF_symbol": "SwF", "HKD_symbol": "HK$", "CAD_displayName": "Canadian Dollar", "USD_symbol": "US$", "AUD_displayName": "Australian Dollar", "JPY_displayName": "Japanese Yen", "CAD_symbol": "Can$", "USD_displayName": "US Dollar", "GBP_displayName": "British Pound Sterling", "AUD_symbol": "$A", "EUR_displayName": "Euro", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.en");dojo.cldr.nls.gregorian.en={"dateFormat-medium": "MMM d, yyyy", "timeFormat-full": "h:mm:ss a v", "months-standAlone-narrow": ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "eraNames": ["Before Christ", "Anno Domini"], "days-standAlone-narrow": ["S", "M", "T", "W", "T", "F", "S"], "timeFormat-medium": "h:mm:ss a", "dateFormat-long": "MMMM d, yyyy", "field-dayperiod": "AM/PM", "dateFormat-short": "M/d/yy", "months-format-wide": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], "timeFormat-short": "h:mm a", "months-format-abbr": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], "days-format-wide": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "timeFormat-long": "h:mm:ss a z", "eraAbbr": ["BC", "AD"], "quarters-format-wide": ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"], "dateFormat-full": "EEEE, MMMM d, yyyy", "days-format-abbr": ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-minute": "Minute", "field-weekday": "Day of the Week", "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "pm": "PM", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "am": "AM", "dateTimeFormats-appendItem-Era": "{0} {1}"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.en");dijit.nls.Textarea.en={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_es-es.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_es-es.js deleted file mode 100644 index 9960711e..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_es-es.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_es-es");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.es_es");dojo.nls.colors.es_es={"lightsteelblue": "azul acero claro", "orangered": "rojo anaranjado", "midnightblue": "azul medianoche", "cadetblue": "azul cadete", "seashell": "blanco marfil", "slategrey": "gris pizarra", "coral": "coral", "darkturquoise": "turquesa oscuro", "antiquewhite": "blanco antiguo", "mediumspringgreen": "verde primavera medio", "salmon": "salmón", "darkgrey": "gris oscuro", "ivory": "marfil", "greenyellow": "amarillo verdoso", "mistyrose": "rosa difuminado", "lightsalmon": "salmón claro", "silver": "plateado", "dimgrey": "gris marengo", "orange": "naranja", "white": "blanco", "navajowhite": "blanco navajo", "royalblue": "azul real", "deeppink": "rosa fuerte", "lime": "lima", "oldlace": "encaje antiguo", "chartreuse": "verde pálido 2", "darkcyan": "cian oscuro", "yellow": "amarillo", "linen": "blanco arena", "olive": "verde oliva", "gold": "oro", "lawngreen": "verde césped", "lightyellow": "amarillo claro", "tan": "canela", "darkviolet": "violeta oscuro", "lightslategrey": "gris pizarra claro", "grey": "gris", "darkkhaki": "caqui oscuro", "green": "verde", "deepskyblue": "azul cielo fuerte", "aqua": "aguamarina", "sienna": "siena", "mintcream": "crema menta", "rosybrown": "marrón rosáceo", "mediumslateblue": "azul pizarra medio", "magenta": "magenta", "lightseagreen": "verde mar claro", "cyan": "cian", "olivedrab": "verde oliva pardusco", "darkgoldenrod": "ocre oscuro", "slateblue": "azul pizarra", "mediumaquamarine": "aguamarina medio", "lavender": "lavanda", "mediumseagreen": "verde mar medio", "maroon": "granate", "darkslategray": "gris pizarra oscuro", "mediumturquoise": "turquesa medio", "ghostwhite": "blanco ligero", "darkblue": "azul oscuro", "mediumvioletred": "rojo violáceo medio", "brown": "marrón", "lightgray": "gris claro", "sandybrown": "marrón arcilla", "pink": "rosa", "firebrick": "teja", "indigo": "añil", "snow": "nieve", "darkorchid": "orquídea oscuro", "turquoise": "turquesa", "chocolate": "chocolate", "springgreen": "verde fuerte", "moccasin": "arena", "navy": "azul marino", "lemonchiffon": "amarillo pastel", "teal": "verde azulado", "floralwhite": "blanco manteca", "cornflowerblue": "azul aciano", "paleturquoise": "turquesa pálido", "purple": "púrpura", "gainsboro": "azul gainsboro", "plum": "ciruela", "red": "rojo", "blue": "azul", "forestgreen": "verde pino", "darkgreen": "verde oscuro", "honeydew": "flor de rocío", "darkseagreen": "verde mar oscuro", "lightcoral": "coral claro", "palevioletred": "rojo violáceo pálido", "mediumpurple": "púrpura medio", "saddlebrown": "cuero", "darkmagenta": "magenta oscuro", "thistle": "cardo", "whitesmoke": "blanco ahumado", "wheat": "trigo", "violet": "violeta", "lightskyblue": "azul cielo claro", "goldenrod": "ocre", "mediumblue": "azul medio", "skyblue": "azul cielo", "crimson": "carmesí", "darksalmon": "salmón oscuro", "darkred": "rojo oscuro", "darkslategrey": "gris pizarra oscuro", "peru": "perú", "lightgrey": "gris claro", "lightgoldenrodyellow": "ocre claro", "blanchedalmond": "almendra pálido", "aliceblue": "blanco azulado", "bisque": "miel", "slategray": "gris pizarra", "palegoldenrod": "ocre pálido", "darkorange": "naranja oscuro", "aquamarine": "aguamarina 2", "lightgreen": "verde claro", "burlywood": "madera", "dodgerblue": "azul fuerte", "darkgray": "gris oscuro", "lightcyan": "cian claro", "powderblue": "azul suave", "blueviolet": "azul violáceo", "orchid": "orquídea", "dimgray": "gris marengo", "beige": "beige", "fuchsia": "fucsia", "lavenderblush": "lavanda rosácea", "hotpink": "rosa oscuro", "steelblue": "azul acero", "tomato": "tomate", "lightpink": "rosa claro", "limegreen": "lima limón", "indianred": "rojo teja", "papayawhip": "papaya claro", "lightslategray": "gris pizarra claro", "gray": "gris", "mediumorchid": "orquídea medio", "cornsilk": "crudo", "black": "negro", "seagreen": "verde mar", "darkslateblue": "azul pizarra oscuro", "khaki": "caqui", "lightblue": "azul claro", "palegreen": "verde pálido", "azure": "blanco cielo", "peachpuff": "melocotón", "darkolivegreen": "verde oliva oscuro", "yellowgreen": "verde amarillento"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.es_es");dijit.nls.loading.es_es={"loadingState": "Cargando...", "errorState": "Lo siento, se ha producido un error"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.es_es");dijit.nls.Textarea.es_es={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.es_es");dijit._editor.nls.commands.es_es={"removeFormat": "Eliminar formato", "copy": "Copiar", "paste": "Pegar", "selectAll": "Seleccionar todo", "insertOrderedList": "Lista numerada", "insertTable": "Insertar/Editar tabla", "underline": "Subrayado", "foreColor": "Color de primer plano", "htmlToggle": "Fuente HTML", "formatBlock": "Estilo de párrafo", "insertHorizontalRule": "Regla horizontal", "delete": "Suprimir", "insertUnorderedList": "Lista con viñetas", "tableProp": "Propiedad de tabla", "insertImage": "Insertar imagen", "superscript": "Superíndice", "subscript": "Subíndice", "createLink": "Crear enlace", "undo": "Deshacer", "italic": "Cursiva", "fontName": "Nombre de font", "justifyLeft": "Alinear izquierda", "unlink": "Eliminar enlace", "toggleTableBorder": "Conmutar borde de tabla", "ctrlKey": "Control+${0}", "fontSize": "Tamaño de font", "indent": "Sangría", "redo": "Rehacer", "strikethrough": "Tachado", "justifyFull": "Justificar", "justifyCenter": "Alinear centro", "hiliteColor": "Color de segundo plano", "deleteTable": "Suprimir tabla", "outdent": "Anular sangría", "cut": "Cortar", "plainFormatBlock": "Estilo de párrafo", "bold": "Negrita", "systemShortcutFF": "La acción \"${0}\" sólo está disponible en Mozilla Firefox mediante un atajo de teclado. Utilice ${1}.", "justifyRight": "Alinear derecha", "appleKey": "⌘${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.es_es");dojo.cldr.nls.number.es_es={"currencyFormat": "#,##0.00 ¤", "group": ".", "decimal": ",", "scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.es_es");dijit.nls.common.es_es={"buttonCancel": "Cancelar", "buttonSave": "Guardar", "buttonOk": "Aceptar"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.es_es");dijit.form.nls.validate.es_es={"rangeMessage": "* Este valor está fuera del intervalo.", "invalidMessage": "* El valor especificado no es válido.", "missingMessage": "* Este valor es necesario."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.es_es");dijit.form.nls.ComboBox.es_es={"previousMessage": "Opciones anteriores", "nextMessage": "Más opciones"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.es_es");dojo.cldr.nls.currency.es_es={"HKD_displayName": "dólar de Hong Kong", "CHF_displayName": "franco suizo", "CHF_symbol": "SwF", "HKD_symbol": "HK$", "CAD_displayName": "dólar canadiense", "USD_symbol": "US$", "AUD_displayName": "dólar australiano", "JPY_displayName": "yen japonés", "CAD_symbol": "Can$", "USD_displayName": "dólar estadounidense", "GBP_displayName": "libra esterlina británica", "AUD_symbol": "$A", "EUR_displayName": "euro", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.es_es");dojo.cldr.nls.gregorian.es_es={"dateFormat-short": "dd/MM/yy", "dateFormat-medium": "dd/MM/yyyy", "timeFormat-medium": "H:mm:ss", "timeFormat-short": "H:mm", "quarters-format-abbreviated": ["T1", "T2", "T3", "T4"], "field-second": "segundo", "field-week": "semana", "pm": "p.m.", "timeFormat-full": "HH'H'mm''ss\" z", "months-standAlone-narrow": ["E", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "am": "a.m.", "days-standAlone-narrow": ["D", "L", "M", "M", "J", "V", "S"], "field-year": "año", "field-minute": "minuto", "field-hour": "hora", "dateFormat-long": "d' de 'MMMM' de 'yyyy", "field-day": "día", "field-dayperiod": "periodo del día", "field-month": "mes", "months-format-wide": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre"], "field-era": "era", "months-format-abbr": ["ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic"], "days-format-wide": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "eraAbbr": ["a.C.", "d.C."], "quarters-format-wide": ["1er trimestre", "2º trimestre", "3er trimestre", "4º trimestre"], "dateFormat-full": "EEEE d' de 'MMMM' de 'yyyy", "field-weekday": "día de la semana", "days-format-abbr": ["dom", "lun", "mar", "mié", "jue", "vie", "sáb"], "field-zone": "zona", "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "eraNames": ["BCE", "CE"], "dateTimeFormats-appendItem-Year": "{0} {1}", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "dateTimeFormat": "{1} {0}", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "timeFormat-long": "HH:mm:ss z", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Era": "{0} {1}"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.es_es");dijit.nls.Textarea.es_es={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_es.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_es.js deleted file mode 100644 index 6bab2cbd..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_es.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_es");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.es");dojo.nls.colors.es={"lightsteelblue": "azul acero claro", "orangered": "rojo anaranjado", "midnightblue": "azul medianoche", "cadetblue": "azul cadete", "seashell": "blanco marfil", "slategrey": "gris pizarra", "coral": "coral", "darkturquoise": "turquesa oscuro", "antiquewhite": "blanco antiguo", "mediumspringgreen": "verde primavera medio", "salmon": "salmón", "darkgrey": "gris oscuro", "ivory": "marfil", "greenyellow": "amarillo verdoso", "mistyrose": "rosa difuminado", "lightsalmon": "salmón claro", "silver": "plateado", "dimgrey": "gris marengo", "orange": "naranja", "white": "blanco", "navajowhite": "blanco navajo", "royalblue": "azul real", "deeppink": "rosa fuerte", "lime": "lima", "oldlace": "encaje antiguo", "chartreuse": "verde pálido 2", "darkcyan": "cian oscuro", "yellow": "amarillo", "linen": "blanco arena", "olive": "verde oliva", "gold": "oro", "lawngreen": "verde césped", "lightyellow": "amarillo claro", "tan": "canela", "darkviolet": "violeta oscuro", "lightslategrey": "gris pizarra claro", "grey": "gris", "darkkhaki": "caqui oscuro", "green": "verde", "deepskyblue": "azul cielo fuerte", "aqua": "aguamarina", "sienna": "siena", "mintcream": "crema menta", "rosybrown": "marrón rosáceo", "mediumslateblue": "azul pizarra medio", "magenta": "magenta", "lightseagreen": "verde mar claro", "cyan": "cian", "olivedrab": "verde oliva pardusco", "darkgoldenrod": "ocre oscuro", "slateblue": "azul pizarra", "mediumaquamarine": "aguamarina medio", "lavender": "lavanda", "mediumseagreen": "verde mar medio", "maroon": "granate", "darkslategray": "gris pizarra oscuro", "mediumturquoise": "turquesa medio", "ghostwhite": "blanco ligero", "darkblue": "azul oscuro", "mediumvioletred": "rojo violáceo medio", "brown": "marrón", "lightgray": "gris claro", "sandybrown": "marrón arcilla", "pink": "rosa", "firebrick": "teja", "indigo": "añil", "snow": "nieve", "darkorchid": "orquídea oscuro", "turquoise": "turquesa", "chocolate": "chocolate", "springgreen": "verde fuerte", "moccasin": "arena", "navy": "azul marino", "lemonchiffon": "amarillo pastel", "teal": "verde azulado", "floralwhite": "blanco manteca", "cornflowerblue": "azul aciano", "paleturquoise": "turquesa pálido", "purple": "púrpura", "gainsboro": "azul gainsboro", "plum": "ciruela", "red": "rojo", "blue": "azul", "forestgreen": "verde pino", "darkgreen": "verde oscuro", "honeydew": "flor de rocío", "darkseagreen": "verde mar oscuro", "lightcoral": "coral claro", "palevioletred": "rojo violáceo pálido", "mediumpurple": "púrpura medio", "saddlebrown": "cuero", "darkmagenta": "magenta oscuro", "thistle": "cardo", "whitesmoke": "blanco ahumado", "wheat": "trigo", "violet": "violeta", "lightskyblue": "azul cielo claro", "goldenrod": "ocre", "mediumblue": "azul medio", "skyblue": "azul cielo", "crimson": "carmesí", "darksalmon": "salmón oscuro", "darkred": "rojo oscuro", "darkslategrey": "gris pizarra oscuro", "peru": "perú", "lightgrey": "gris claro", "lightgoldenrodyellow": "ocre claro", "blanchedalmond": "almendra pálido", "aliceblue": "blanco azulado", "bisque": "miel", "slategray": "gris pizarra", "palegoldenrod": "ocre pálido", "darkorange": "naranja oscuro", "aquamarine": "aguamarina 2", "lightgreen": "verde claro", "burlywood": "madera", "dodgerblue": "azul fuerte", "darkgray": "gris oscuro", "lightcyan": "cian claro", "powderblue": "azul suave", "blueviolet": "azul violáceo", "orchid": "orquídea", "dimgray": "gris marengo", "beige": "beige", "fuchsia": "fucsia", "lavenderblush": "lavanda rosácea", "hotpink": "rosa oscuro", "steelblue": "azul acero", "tomato": "tomate", "lightpink": "rosa claro", "limegreen": "lima limón", "indianred": "rojo teja", "papayawhip": "papaya claro", "lightslategray": "gris pizarra claro", "gray": "gris", "mediumorchid": "orquídea medio", "cornsilk": "crudo", "black": "negro", "seagreen": "verde mar", "darkslateblue": "azul pizarra oscuro", "khaki": "caqui", "lightblue": "azul claro", "palegreen": "verde pálido", "azure": "blanco cielo", "peachpuff": "melocotón", "darkolivegreen": "verde oliva oscuro", "yellowgreen": "verde amarillento"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.es");dijit.nls.loading.es={"loadingState": "Cargando...", "errorState": "Lo siento, se ha producido un error"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.es");dijit.nls.Textarea.es={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.es");dijit._editor.nls.commands.es={"removeFormat": "Eliminar formato", "copy": "Copiar", "paste": "Pegar", "selectAll": "Seleccionar todo", "insertOrderedList": "Lista numerada", "insertTable": "Insertar/Editar tabla", "underline": "Subrayado", "foreColor": "Color de primer plano", "htmlToggle": "Fuente HTML", "formatBlock": "Estilo de párrafo", "insertHorizontalRule": "Regla horizontal", "delete": "Suprimir", "insertUnorderedList": "Lista con viñetas", "tableProp": "Propiedad de tabla", "insertImage": "Insertar imagen", "superscript": "Superíndice", "subscript": "Subíndice", "createLink": "Crear enlace", "undo": "Deshacer", "italic": "Cursiva", "fontName": "Nombre de font", "justifyLeft": "Alinear izquierda", "unlink": "Eliminar enlace", "toggleTableBorder": "Conmutar borde de tabla", "ctrlKey": "Control+${0}", "fontSize": "Tamaño de font", "indent": "Sangría", "redo": "Rehacer", "strikethrough": "Tachado", "justifyFull": "Justificar", "justifyCenter": "Alinear centro", "hiliteColor": "Color de segundo plano", "deleteTable": "Suprimir tabla", "outdent": "Anular sangría", "cut": "Cortar", "plainFormatBlock": "Estilo de párrafo", "bold": "Negrita", "systemShortcutFF": "La acción \"${0}\" sólo está disponible en Mozilla Firefox mediante un atajo de teclado. Utilice ${1}.", "justifyRight": "Alinear derecha", "appleKey": "⌘${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.es");dojo.cldr.nls.number.es={"currencyFormat": "¤#,##0.00;(¤#,##0.00)", "group": ".", "decimal": ",", "scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.es");dijit.nls.common.es={"buttonCancel": "Cancelar", "buttonSave": "Guardar", "buttonOk": "Aceptar"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.es");dijit.form.nls.validate.es={"rangeMessage": "* Este valor está fuera del intervalo.", "invalidMessage": "* El valor especificado no es válido.", "missingMessage": "* Este valor es necesario."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.es");dijit.form.nls.ComboBox.es={"previousMessage": "Opciones anteriores", "nextMessage": "Más opciones"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.es");dojo.cldr.nls.currency.es={"HKD_displayName": "dólar de Hong Kong", "CHF_displayName": "franco suizo", "CHF_symbol": "SwF", "HKD_symbol": "HK$", "CAD_displayName": "dólar canadiense", "USD_symbol": "US$", "AUD_displayName": "dólar australiano", "JPY_displayName": "yen japonés", "CAD_symbol": "Can$", "USD_displayName": "dólar estadounidense", "GBP_displayName": "libra esterlina británica", "AUD_symbol": "$A", "EUR_displayName": "euro", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.es");dojo.cldr.nls.gregorian.es={"quarters-format-abbreviated": ["T1", "T2", "T3", "T4"], "dateFormat-medium": "dd-MMM-yy", "field-second": "segundo", "field-week": "semana", "pm": "p.m.", "timeFormat-full": "HH'H'mm''ss\" z", "months-standAlone-narrow": ["E", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "am": "a.m.", "days-standAlone-narrow": ["D", "L", "M", "M", "J", "V", "S"], "field-year": "año", "field-minute": "minuto", "field-hour": "hora", "dateFormat-long": "d' de 'MMMM' de 'yyyy", "field-day": "día", "field-dayperiod": "periodo del día", "field-month": "mes", "dateFormat-short": "d/MM/yy", "months-format-wide": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre"], "field-era": "era", "months-format-abbr": ["ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic"], "days-format-wide": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "eraAbbr": ["a.C.", "d.C."], "quarters-format-wide": ["1er trimestre", "2º trimestre", "3er trimestre", "4º trimestre"], "dateFormat-full": "EEEE d' de 'MMMM' de 'yyyy", "field-weekday": "día de la semana", "days-format-abbr": ["dom", "lun", "mar", "mié", "jue", "vie", "sáb"], "field-zone": "zona", "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "eraNames": ["BCE", "CE"], "dateTimeFormats-appendItem-Year": "{0} {1}", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "timeFormat-medium": "HH:mm:ss", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "dateTimeFormat": "{1} {0}", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "timeFormat-long": "HH:mm:ss z", "timeFormat-short": "HH:mm", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Era": "{0} {1}"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.es");dijit.nls.Textarea.es={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_fr-fr.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_fr-fr.js deleted file mode 100644 index 113c3fad..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_fr-fr.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_fr-fr");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.fr_fr");dojo.nls.colors.fr_fr={"lightsteelblue": "bleu acier clair", "orangered": "rouge orangé", "midnightblue": "bleu nuit", "cadetblue": "bleu pétrole", "seashell": "coquillage", "slategrey": "gris ardoise", "coral": "corail", "darkturquoise": "turquoise foncé", "antiquewhite": "blanc antique", "mediumspringgreen": "vert printemps moyen", "salmon": "saumon", "darkgrey": "gris foncé", "ivory": "ivoire", "greenyellow": "vert-jaune", "mistyrose": "rose pâle", "lightsalmon": "saumon clair", "silver": "argent", "dimgrey": "gris soutenu", "orange": "orange", "white": "blanc", "navajowhite": "chair", "royalblue": "bleu roi", "deeppink": "rose soutenu", "lime": "vert citron", "oldlace": "blanc cassé", "chartreuse": "vert vif", "darkcyan": "cyan foncé", "yellow": "jaune", "linen": "écru", "olive": "olive", "gold": "or", "lawngreen": "vert prairie", "lightyellow": "jaune clair", "tan": "grège", "darkviolet": "violet foncé", "lightslategrey": "gris ardoise clair", "grey": "gris", "darkkhaki": "kaki foncé", "green": "vert", "deepskyblue": "bleu ciel soutenu", "aqua": "bleu-vert", "sienna": "terre de sienne", "mintcream": "crème de menthe", "rosybrown": "vieux rose", "mediumslateblue": "bleu ardoise moyen", "magenta": "magenta", "lightseagreen": "vert d'eau clair", "cyan": "cyan", "olivedrab": "brun verdâtre", "darkgoldenrod": "jaune paille foncé", "slateblue": "bleu ardoise", "mediumaquamarine": "aigue-marine moyen", "lavender": "lavande", "mediumseagreen": "vert d'eau moyen ", "maroon": "marron", "darkslategray": "gris ardoise foncé", "mediumturquoise": "turquoise moyen", "ghostwhite": "blanc laiteux", "darkblue": "bleu foncé", "mediumvioletred": "rouge violacé moyen", "brown": "brun", "lightgray": "gris clair", "sandybrown": "sable", "pink": "rose", "firebrick": "rouge brique", "indigo": "indigo", "snow": "neige", "darkorchid": "lilas foncé", "turquoise": "turquoise", "chocolate": "chocolat", "springgreen": "vert printemps", "moccasin": "chamois", "navy": "bleu marine", "lemonchiffon": "mousse de citron", "teal": "sarcelle", "floralwhite": "lys", "cornflowerblue": "bleuet", "paleturquoise": "turquoise pâle", "purple": "pourpre", "gainsboro": "gris souris", "plum": "prune", "red": "rouge", "blue": "bleu", "forestgreen": "vert sapin", "darkgreen": "vert foncé", "honeydew": "opalin", "darkseagreen": "vert d'eau foncé", "lightcoral": "corail clair", "palevioletred": "rouge violacé pâle", "mediumpurple": "pourpre moyen", "saddlebrown": "brun cuir", "darkmagenta": "magenta foncé", "thistle": "chardon", "whitesmoke": "blanc cendré", "wheat": "blé", "violet": "violet", "lightskyblue": "bleu ciel clair", "goldenrod": "jaune paille", "mediumblue": "bleu moyen", "skyblue": "bleu ciel", "crimson": "cramoisi", "darksalmon": "saumon foncé", "darkred": "rouge foncé", "darkslategrey": "gris ardoise foncé", "peru": "caramel", "lightgrey": "gris clair", "lightgoldenrodyellow": "jaune paille clair", "blanchedalmond": "coquille d'oeuf", "aliceblue": "bleu gris", "bisque": "beige rosé", "slategray": "gris ardoise", "palegoldenrod": "jaune paille pâle", "darkorange": "orange foncé", "aquamarine": "aigue-marine", "lightgreen": "vert clair", "burlywood": "bois précieux", "dodgerblue": "bleu France", "darkgray": "gris foncé", "lightcyan": "cyan clair", "powderblue": "bleu de smalt", "blueviolet": "bleu-violet", "orchid": "lilas", "dimgray": "gris soutenu", "beige": "beige", "fuchsia": "fuchsia", "lavenderblush": "lavandin", "hotpink": "rose intense", "steelblue": "bleu acier", "tomato": "tomate", "lightpink": "rose clair", "limegreen": "citron vert", "indianred": "rose indien", "papayawhip": "crème de papaye", "lightslategray": "gris ardoise clair", "gray": "gris", "mediumorchid": "lilas moyen", "cornsilk": "vanille", "black": "noir", "seagreen": "vert d'eau", "darkslateblue": "bleu ardoise foncé", "khaki": "kaki", "lightblue": "bleu clair", "palegreen": "vert pâle", "azure": "bleu azur", "peachpuff": "pêche", "darkolivegreen": "olive foncé", "yellowgreen": "vert jaunâtre"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.fr_fr");dijit.nls.loading.fr_fr={"loadingState": "Chargement...", "errorState": "Une erreur est survenue"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.fr_fr");dijit.nls.Textarea.fr_fr={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.fr_fr");dijit._editor.nls.commands.fr_fr={"removeFormat": "Supprimer la mise en forme", "copy": "Copier", "paste": "Coller", "selectAll": "Sélectionner tout", "insertOrderedList": "Liste numérotée", "insertTable": "Insérer/Modifier un tableau", "underline": "Souligner", "foreColor": "Couleur d'avant-plan", "htmlToggle": "Source HTML", "formatBlock": "Style de paragraphe", "insertHorizontalRule": "Règle horizontale", "delete": "Supprimer", "insertUnorderedList": "Liste à puces", "tableProp": "Propriété du tableau", "insertImage": "Insérer une image", "superscript": "Exposant", "subscript": "Indice", "createLink": "Créer un lien", "undo": "Annuler", "italic": "Italique", "fontName": "Nom de police", "justifyLeft": "Aligner à gauche", "unlink": "Supprimer le lien", "toggleTableBorder": "Afficher/Masquer la bordure du tableau", "fontSize": "Taille de police", "indent": "Retrait", "redo": "Rétablir", "strikethrough": "Barrer", "justifyFull": "Justifier", "justifyCenter": "Aligner au centre", "hiliteColor": "Couleur d'arrière-plan", "deleteTable": "Supprimer le tableau", "outdent": "Retrait négatif", "cut": "Couper", "plainFormatBlock": "Style de paragraphe", "bold": "Gras", "systemShortcutFF": "L'action \"${0}\" est disponible dans Mozilla Firefox uniquement, par le biais d'un raccourci-clavier. Utilisez ${1}.", "justifyRight": "Aligner à droite", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.fr_fr");dojo.cldr.nls.number.fr_fr={"group": " ", "percentFormat": "#,##0 %", "currencyFormat": "#,##0.00 ¤", "decimal": ",", "scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "decimalFormat": "#,##0.###", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.fr_fr");dijit.nls.common.fr_fr={"buttonCancel": "Annuler", "buttonSave": "Sauvegarder", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.fr_fr");dijit.form.nls.validate.fr_fr={"rangeMessage": "* Cette valeur n'est pas comprise dans la plage autorisée. ", "invalidMessage": "* La valeur indiquée n'est pas correcte. ", "missingMessage": "* Cette valeur est requise. "};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.fr_fr");dijit.form.nls.ComboBox.fr_fr={"previousMessage": "Choix précédents", "nextMessage": "Plus de choix"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.fr_fr");dojo.cldr.nls.currency.fr_fr={"HKD_displayName": "dollar de Hong Kong", "CHF_displayName": "franc suisse", "CHF_symbol": "sFr.", "CAD_displayName": "dollar canadien", "AUD_displayName": "dollar australien", "JPY_displayName": "yen", "USD_displayName": "dollar des États-Unis", "GBP_displayName": "livre sterling", "EUR_displayName": "euro", "USD_symbol": "$", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.fr_fr");dojo.cldr.nls.gregorian.fr_fr={"eraNames": ["av. J.-C.", "ap. J.-C."], "timeFormat-full": "HH' h 'mm z", "eraAbbr": ["av. J.-C.", "apr. J.-C."], "dateFormat-medium": "d MMM yy", "months-format-abbr": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc."], "dateFormat-full": "EEEE d MMMM yyyy", "days-format-abbr": ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."], "quarters-format-wide": ["1er trimestre", "2e trimestre", "3e trimestre", "4e trimestre"], "dateFormat-short": "dd/MM/yy", "quarters-format-abbreviated": ["T1", "T2", "T3", "T4"], "months-format-wide": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"], "months-standAlone-narrow": ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "days-standAlone-narrow": ["D", "L", "M", "M", "J", "V", "S"], "dateFormat-long": "d MMMM yyyy", "days-format-wide": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "field-weekday": "Day of the Week", "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "timeFormat-medium": "HH:mm:ss", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "timeFormat-long": "HH:mm:ss z", "timeFormat-short": "HH:mm", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "pm": "PM", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "am": "AM", "dateTimeFormats-appendItem-Era": "{0} {1}"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.fr_fr");dijit.nls.Textarea.fr_fr={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_fr.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_fr.js deleted file mode 100644 index 60193410..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_fr.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_fr");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.fr");dojo.nls.colors.fr={"lightsteelblue": "bleu acier clair", "orangered": "rouge orangé", "midnightblue": "bleu nuit", "cadetblue": "bleu pétrole", "seashell": "coquillage", "slategrey": "gris ardoise", "coral": "corail", "darkturquoise": "turquoise foncé", "antiquewhite": "blanc antique", "mediumspringgreen": "vert printemps moyen", "salmon": "saumon", "darkgrey": "gris foncé", "ivory": "ivoire", "greenyellow": "vert-jaune", "mistyrose": "rose pâle", "lightsalmon": "saumon clair", "silver": "argent", "dimgrey": "gris soutenu", "orange": "orange", "white": "blanc", "navajowhite": "chair", "royalblue": "bleu roi", "deeppink": "rose soutenu", "lime": "vert citron", "oldlace": "blanc cassé", "chartreuse": "vert vif", "darkcyan": "cyan foncé", "yellow": "jaune", "linen": "écru", "olive": "olive", "gold": "or", "lawngreen": "vert prairie", "lightyellow": "jaune clair", "tan": "grège", "darkviolet": "violet foncé", "lightslategrey": "gris ardoise clair", "grey": "gris", "darkkhaki": "kaki foncé", "green": "vert", "deepskyblue": "bleu ciel soutenu", "aqua": "bleu-vert", "sienna": "terre de sienne", "mintcream": "crème de menthe", "rosybrown": "vieux rose", "mediumslateblue": "bleu ardoise moyen", "magenta": "magenta", "lightseagreen": "vert d'eau clair", "cyan": "cyan", "olivedrab": "brun verdâtre", "darkgoldenrod": "jaune paille foncé", "slateblue": "bleu ardoise", "mediumaquamarine": "aigue-marine moyen", "lavender": "lavande", "mediumseagreen": "vert d'eau moyen ", "maroon": "marron", "darkslategray": "gris ardoise foncé", "mediumturquoise": "turquoise moyen", "ghostwhite": "blanc laiteux", "darkblue": "bleu foncé", "mediumvioletred": "rouge violacé moyen", "brown": "brun", "lightgray": "gris clair", "sandybrown": "sable", "pink": "rose", "firebrick": "rouge brique", "indigo": "indigo", "snow": "neige", "darkorchid": "lilas foncé", "turquoise": "turquoise", "chocolate": "chocolat", "springgreen": "vert printemps", "moccasin": "chamois", "navy": "bleu marine", "lemonchiffon": "mousse de citron", "teal": "sarcelle", "floralwhite": "lys", "cornflowerblue": "bleuet", "paleturquoise": "turquoise pâle", "purple": "pourpre", "gainsboro": "gris souris", "plum": "prune", "red": "rouge", "blue": "bleu", "forestgreen": "vert sapin", "darkgreen": "vert foncé", "honeydew": "opalin", "darkseagreen": "vert d'eau foncé", "lightcoral": "corail clair", "palevioletred": "rouge violacé pâle", "mediumpurple": "pourpre moyen", "saddlebrown": "brun cuir", "darkmagenta": "magenta foncé", "thistle": "chardon", "whitesmoke": "blanc cendré", "wheat": "blé", "violet": "violet", "lightskyblue": "bleu ciel clair", "goldenrod": "jaune paille", "mediumblue": "bleu moyen", "skyblue": "bleu ciel", "crimson": "cramoisi", "darksalmon": "saumon foncé", "darkred": "rouge foncé", "darkslategrey": "gris ardoise foncé", "peru": "caramel", "lightgrey": "gris clair", "lightgoldenrodyellow": "jaune paille clair", "blanchedalmond": "coquille d'oeuf", "aliceblue": "bleu gris", "bisque": "beige rosé", "slategray": "gris ardoise", "palegoldenrod": "jaune paille pâle", "darkorange": "orange foncé", "aquamarine": "aigue-marine", "lightgreen": "vert clair", "burlywood": "bois précieux", "dodgerblue": "bleu France", "darkgray": "gris foncé", "lightcyan": "cyan clair", "powderblue": "bleu de smalt", "blueviolet": "bleu-violet", "orchid": "lilas", "dimgray": "gris soutenu", "beige": "beige", "fuchsia": "fuchsia", "lavenderblush": "lavandin", "hotpink": "rose intense", "steelblue": "bleu acier", "tomato": "tomate", "lightpink": "rose clair", "limegreen": "citron vert", "indianred": "rose indien", "papayawhip": "crème de papaye", "lightslategray": "gris ardoise clair", "gray": "gris", "mediumorchid": "lilas moyen", "cornsilk": "vanille", "black": "noir", "seagreen": "vert d'eau", "darkslateblue": "bleu ardoise foncé", "khaki": "kaki", "lightblue": "bleu clair", "palegreen": "vert pâle", "azure": "bleu azur", "peachpuff": "pêche", "darkolivegreen": "olive foncé", "yellowgreen": "vert jaunâtre"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.fr");dijit.nls.loading.fr={"loadingState": "Chargement...", "errorState": "Une erreur est survenue"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.fr");dijit.nls.Textarea.fr={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.fr");dijit._editor.nls.commands.fr={"removeFormat": "Supprimer la mise en forme", "copy": "Copier", "paste": "Coller", "selectAll": "Sélectionner tout", "insertOrderedList": "Liste numérotée", "insertTable": "Insérer/Modifier un tableau", "underline": "Souligner", "foreColor": "Couleur d'avant-plan", "htmlToggle": "Source HTML", "formatBlock": "Style de paragraphe", "insertHorizontalRule": "Règle horizontale", "delete": "Supprimer", "insertUnorderedList": "Liste à puces", "tableProp": "Propriété du tableau", "insertImage": "Insérer une image", "superscript": "Exposant", "subscript": "Indice", "createLink": "Créer un lien", "undo": "Annuler", "italic": "Italique", "fontName": "Nom de police", "justifyLeft": "Aligner à gauche", "unlink": "Supprimer le lien", "toggleTableBorder": "Afficher/Masquer la bordure du tableau", "fontSize": "Taille de police", "indent": "Retrait", "redo": "Rétablir", "strikethrough": "Barrer", "justifyFull": "Justifier", "justifyCenter": "Aligner au centre", "hiliteColor": "Couleur d'arrière-plan", "deleteTable": "Supprimer le tableau", "outdent": "Retrait négatif", "cut": "Couper", "plainFormatBlock": "Style de paragraphe", "bold": "Gras", "systemShortcutFF": "L'action \"${0}\" est disponible dans Mozilla Firefox uniquement, par le biais d'un raccourci-clavier. Utilisez ${1}.", "justifyRight": "Aligner à droite", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.fr");dojo.cldr.nls.number.fr={"group": " ", "percentFormat": "#,##0 %", "currencyFormat": "#,##0.00 ¤", "decimal": ",", "scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "decimalFormat": "#,##0.###", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.fr");dijit.nls.common.fr={"buttonCancel": "Annuler", "buttonSave": "Sauvegarder", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.fr");dijit.form.nls.validate.fr={"rangeMessage": "* Cette valeur n'est pas comprise dans la plage autorisée. ", "invalidMessage": "* La valeur indiquée n'est pas correcte. ", "missingMessage": "* Cette valeur est requise. "};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.fr");dijit.form.nls.ComboBox.fr={"previousMessage": "Choix précédents", "nextMessage": "Plus de choix"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.fr");dojo.cldr.nls.currency.fr={"HKD_displayName": "dollar de Hong Kong", "CHF_displayName": "franc suisse", "CHF_symbol": "sFr.", "CAD_displayName": "dollar canadien", "AUD_displayName": "dollar australien", "JPY_displayName": "yen", "USD_displayName": "dollar des États-Unis", "GBP_displayName": "livre sterling", "EUR_displayName": "euro", "USD_symbol": "$", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.fr");dojo.cldr.nls.gregorian.fr={"eraNames": ["av. J.-C.", "ap. J.-C."], "timeFormat-full": "HH' h 'mm z", "eraAbbr": ["av. J.-C.", "apr. J.-C."], "dateFormat-medium": "d MMM yy", "months-format-abbr": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc."], "dateFormat-full": "EEEE d MMMM yyyy", "days-format-abbr": ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."], "quarters-format-wide": ["1er trimestre", "2e trimestre", "3e trimestre", "4e trimestre"], "dateFormat-short": "dd/MM/yy", "quarters-format-abbreviated": ["T1", "T2", "T3", "T4"], "months-format-wide": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"], "months-standAlone-narrow": ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "days-standAlone-narrow": ["D", "L", "M", "M", "J", "V", "S"], "dateFormat-long": "d MMMM yyyy", "days-format-wide": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "field-weekday": "Day of the Week", "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "timeFormat-medium": "HH:mm:ss", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "timeFormat-long": "HH:mm:ss z", "timeFormat-short": "HH:mm", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "pm": "PM", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "am": "AM", "dateTimeFormats-appendItem-Era": "{0} {1}"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.fr");dijit.nls.Textarea.fr={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_hu.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_hu.js deleted file mode 100644 index 911d2b27..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_hu.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_hu");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.hu");dojo.nls.colors.hu={"lightsteelblue": "világos acélkék", "orangered": "narancsvörös", "midnightblue": "éjkék", "cadetblue": "kadétkék", "seashell": "kagyló", "slategrey": "palaszürke", "coral": "korall", "darkturquoise": "sötét türkizkék", "antiquewhite": "antik fehér", "mediumspringgreen": "közepes tavaszzöld", "salmon": "lazacszín", "darkgrey": "sötétszürke", "ivory": "elefántcsont", "greenyellow": "zöldessárga", "mistyrose": "halvány rózsaszín", "lightsalmon": "világos lazacszín", "silver": "ezüst", "dimgrey": "halványszürke", "orange": "narancssárga", "white": "fehér", "navajowhite": "navajo fehér", "royalblue": "királykék", "deeppink": "sötétrózsaszín", "lime": "lime", "oldlace": "régi csipke", "chartreuse": "chartreuse", "darkcyan": "sötét ciánkék", "yellow": "sárga", "linen": "vászonfehér", "olive": "olajzöld", "gold": "arany", "lawngreen": "fűzöld", "lightyellow": "világossárga", "tan": "rozsdabarna", "darkviolet": "sötét ibolyaszín", "lightslategrey": "világos palaszürke", "grey": "szürke", "darkkhaki": "sötét khakiszín", "green": "zöld", "deepskyblue": "sötét égszínkék", "aqua": "vízszín", "sienna": "vörösesbarna", "mintcream": "mentaszósz", "rosybrown": "barnásrózsaszín", "mediumslateblue": "közepes palakék", "magenta": "bíbor", "lightseagreen": "világos", "cyan": "ciánkék", "olivedrab": "olajzöld drapp", "darkgoldenrod": "sötét aranyvessző", "slateblue": "palakék", "mediumaquamarine": "közepes akvamarin", "lavender": "levendula", "mediumseagreen": "közepes tengerzöld", "maroon": "gesztenyebarna", "darkslategray": "sötét palaszürke", "mediumturquoise": "közepes türkizkék", "ghostwhite": "szellemfehér", "darkblue": "sötétkék", "mediumvioletred": "közepes ibolyavörös", "brown": "barna", "lightgray": "világosszürke", "sandybrown": "homokbarna", "pink": "rózsaszín", "firebrick": "téglavörös", "indigo": "indigó", "snow": "hó", "darkorchid": "sötét orchidea", "turquoise": "türkizkék", "chocolate": "csokoládé", "springgreen": "tavaszzöld", "moccasin": "mokasszin", "navy": "tengerészkék", "lemonchiffon": "sárga műselyem", "teal": "pávakék", "floralwhite": "virágfehér", "cornflowerblue": "búzavirágkék", "paleturquoise": "halvány türkizkék", "purple": "lila", "gainsboro": "gainsboro", "plum": "szilvakék", "red": "vörös", "blue": "kék", "forestgreen": "erdőzöld", "darkgreen": "sötétzöld", "honeydew": "mézharmat", "darkseagreen": "sötét tengerzöld", "lightcoral": "világos korall", "palevioletred": "halvány ibolyavörös", "mediumpurple": "közepes lila", "saddlebrown": "nyeregbarna", "darkmagenta": "sötétbíbor", "thistle": "bogáncs", "whitesmoke": "fehér füst", "wheat": "búza", "violet": "ibolyaszín", "lightskyblue": "világos égszínkék", "goldenrod": "aranyvessző", "mediumblue": "közepes kék", "skyblue": "égszínkék", "crimson": "karmazsinvörös", "darksalmon": "sötét lazacszín", "darkred": "sötétvörös", "darkslategrey": "sötét palaszürke", "peru": "peru", "lightgrey": "világosszürke", "lightgoldenrodyellow": "világos aranyvessző sárga", "blanchedalmond": "hámozott mandula", "aliceblue": "Alice kék", "bisque": "porcelán", "slategray": "palaszürke", "palegoldenrod": "halvány aranyvessző", "darkorange": "sötét narancssárga", "aquamarine": "akvamarin", "lightgreen": "világoszöld", "burlywood": "nyersfa", "dodgerblue": "dodger kék", "darkgray": "sötétszürke", "lightcyan": "világos ciánkék", "powderblue": "púderkék", "blueviolet": "ibolyakék", "orchid": "orchidea", "dimgray": "halványszürke", "beige": "bézs", "fuchsia": "fukszia", "lavenderblush": "pirosas levendula", "hotpink": "meleg rózsaszín", "steelblue": "acélkék", "tomato": "paradicsom", "lightpink": "világos rózsaszín", "limegreen": "limezöld", "indianred": "indiánvörös", "papayawhip": "papayahab", "lightslategray": "világos palaszürke", "gray": "szürke", "mediumorchid": "közepes orchidea", "cornsilk": "kukoricahaj", "black": "fekete", "seagreen": "tengerzöld", "darkslateblue": "sötét palakék", "khaki": "khakiszín", "lightblue": "világoskék", "palegreen": "halványzöld", "azure": "azúrkék", "peachpuff": "barackszín", "darkolivegreen": "sötét olajzöld", "yellowgreen": "sárgászöld"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.hu");dijit.nls.loading.hu={"loadingState": "Betöltés...", "errorState": "Sajnálom, hiba történt"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.hu");dijit.nls.Textarea.hu={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.hu");dijit._editor.nls.commands.hu={"removeFormat": "Formázás eltávolítása", "copy": "Másolás", "paste": "Beillesztés", "selectAll": "Összes kijelölése", "insertOrderedList": "Számozott lista", "insertTable": "Táblázat beszúrása/szerkesztése", "underline": "Aláhúzott", "foreColor": "Előtérszín", "htmlToggle": "HTML forrás", "formatBlock": "Bekezdés stílusa", "insertHorizontalRule": "Vízszintes vonalzó", "delete": "Törlés", "insertUnorderedList": "Felsorolásjeles lista", "tableProp": "Táblázat tulajdonságai", "insertImage": "Kép beszúrása", "superscript": "Felső index", "subscript": "Alsó index", "createLink": "Hivatkozás létrehozása", "undo": "Visszavonás", "italic": "Dőlt", "fontName": "Betűtípus", "justifyLeft": "Balra igazítás", "unlink": "Hivatkozás eltávolítása", "toggleTableBorder": "Táblázatszegély ki-/bekapcsolása", "fontSize": "Betűméret", "indent": "Behúzás", "redo": "Újra", "strikethrough": "Áthúzott", "justifyFull": "Igazítás", "justifyCenter": "Középre igazítás", "hiliteColor": "Háttérszín", "deleteTable": "Táblázat törlése", "outdent": "Negatív behúzás", "cut": "Kivágás", "plainFormatBlock": "Bekezdés stílusa", "bold": "Félkövér", "systemShortcutFF": "A(z) \"${0}\" művelet csak Mozilla Firefox böngészőben érhető el billentyűparancs használatával. Használja a következőt: ${1}.", "justifyRight": "Jobbra igazítás", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.hu");dojo.cldr.nls.number.hu={"scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencyFormat": "¤ #,##0.00", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "group": ",", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "decimal": ".", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.hu");dijit.nls.common.hu={"buttonCancel": "Mégse", "buttonSave": "Mentés", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.hu");dijit.form.nls.validate.hu={"rangeMessage": "* Az érték kívül van a megengedett tartományon. ", "invalidMessage": "* A megadott érték érvénytelen. ", "missingMessage": "* Meg kell adni egy értéket. "};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.hu");dijit.form.nls.ComboBox.hu={"previousMessage": "Előző menüpontok", "nextMessage": "További menüpontok"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.hu");dojo.cldr.nls.currency.hu={"USD_symbol": "$", "EUR_displayName": "EUR", "GBP_displayName": "GBP", "JPY_displayName": "JPY", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€", "USD_displayName": "USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.hu");dojo.cldr.nls.gregorian.hu={"dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "eraNames": ["BCE", "CE"], "field-weekday": "Day of the Week", "months-standAlone-narrow": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "timeFormat-full": "HH:mm:ss z", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "days-standAlone-narrow": ["1", "2", "3", "4", "5", "6", "7"], "eraAbbr": ["BCE", "CE"], "dateFormat-long": "yyyy MMMM d", "timeFormat-medium": "HH:mm:ss", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "dateFormat-medium": "yyyy MMM d", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "timeFormat-long": "HH:mm:ss z", "months-format-abbr": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "timeFormat-short": "HH:mm", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "days-format-abbr": ["1", "2", "3", "4", "5", "6", "7"], "pm": "PM", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "am": "AM", "dateFormat-short": "yy/MM/dd", "dateFormat-full": "EEEE, yyyy MMMM dd", "months-format-wide": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "dateTimeFormats-appendItem-Era": "{0} {1}", "quarters-format-wide": ["Q1", "Q2", "Q3", "Q4"], "days-format-wide": ["1", "2", "3", "4", "5", "6", "7"]};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.hu");dijit.nls.Textarea.hu={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_it-it.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_it-it.js deleted file mode 100644 index 00e0a195..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_it-it.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_it-it");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.it_it");dojo.nls.colors.it_it={"lightsteelblue": "blu acciao chiaro", "orangered": "vermiglio", "midnightblue": "blu melanzana scuro", "cadetblue": "verde acqua", "seashell": "sabbia rosa", "slategrey": "grigio ardesia", "coral": "corallo", "darkturquoise": "turchese scuro", "antiquewhite": "bianco antico", "mediumspringgreen": "verde primavera medio", "salmon": "salmone", "darkgrey": "grigio scuro", "ivory": "avorio", "greenyellow": "giallo verde", "mistyrose": "rosa pallido", "lightsalmon": "salmone chiaro", "silver": "grigio 25%", "dimgrey": "grigio 80%", "orange": "arancione", "white": "bianco", "navajowhite": "pesca chiaro", "royalblue": "blu reale", "deeppink": "ciclamino", "lime": "verde fluorescente", "oldlace": "mandorla", "chartreuse": "verde brillante", "darkcyan": "ciano scuro", "yellow": "giallo", "linen": "lino", "olive": "verde oliva", "gold": "oro", "lawngreen": "verde prato", "lightyellow": "giallo chiaro", "tan": "grigio bruno", "darkviolet": "viola scuro", "lightslategrey": "grigio ardesia chiaro", "grey": "grigio", "darkkhaki": "kaki scuro", "green": "verde", "deepskyblue": "azzurro cielo scuro", "aqua": "acqua", "sienna": "cuoio", "mintcream": "bianco nuvola", "rosybrown": "marrone rosato", "mediumslateblue": "blu ardesia medio", "magenta": "magenta", "lightseagreen": "verde mare chiaro", "cyan": "ciano", "olivedrab": "marrone oliva", "darkgoldenrod": "ocra scuro", "slateblue": "blu ardesia", "mediumaquamarine": "acquamarina medio", "lavender": "lavanda", "mediumseagreen": "verde mare medio", "maroon": "scarlatto", "darkslategray": "grigio ardesia scuro", "mediumturquoise": "turchese medio", "ghostwhite": "bianco gesso", "darkblue": "blu scuro", "mediumvioletred": "vinaccia", "brown": "marrone", "lightgray": "grigio chiaro", "sandybrown": "marrone sabbia", "pink": "rosa", "firebrick": "rosso mattone", "indigo": "indaco", "snow": "neve", "darkorchid": "orchidea scuro", "turquoise": "turchese", "chocolate": "cioccolato", "springgreen": "verde primavera", "moccasin": "mocassino", "navy": "blu notte", "lemonchiffon": "caffelatte chiaro", "teal": "verde turchese", "floralwhite": "bianco giglio", "cornflowerblue": "blu fiordaliso", "paleturquoise": "turchese pallido", "purple": "porpora", "gainsboro": "grigio 10%", "plum": "prugna", "red": "rosso", "blue": "blu", "forestgreen": "verde foresta", "darkgreen": "verde scuro", "honeydew": "bianco germoglio", "darkseagreen": "verde mare scuro", "lightcoral": "rosa corallo", "palevioletred": "vinaccia chiaro", "mediumpurple": "porpora medio", "saddlebrown": "cacao", "darkmagenta": "magenta scuro", "thistle": "rosa cenere", "whitesmoke": "bianco fumo", "wheat": "sabbia", "violet": "viola", "lightskyblue": "azzurro cielo chiaro", "goldenrod": "ocra gialla", "mediumblue": "blu medio", "skyblue": "azzurro cielo", "crimson": "cremisi", "darksalmon": "salmone scuro", "darkred": "rosso scuro", "darkslategrey": "grigio ardesia scuro", "peru": "marrone terra bruciata", "lightgrey": "grigio chiaro", "lightgoldenrodyellow": "giallo tenue", "blanchedalmond": "mandorla chiaro", "aliceblue": "blu alice", "bisque": "incarnato", "slategray": "grigio ardesia", "palegoldenrod": "giallo zolfo chiaro", "darkorange": "arancione scuro", "aquamarine": "acquamarina", "lightgreen": "verde chiaro", "burlywood": "tabacco", "dodgerblue": "blu d'oriente", "darkgray": "grigio scuro", "lightcyan": "ciano chiaro", "powderblue": "azzurro polvere", "blueviolet": "blu violetto", "orchid": "orchidea", "dimgray": "grigio 80%", "beige": "beige", "fuchsia": "fucsia", "lavenderblush": "bianco rosato", "hotpink": "rosa acceso", "steelblue": "blu acciao", "tomato": "pomodoro", "lightpink": "rosa chiaro", "limegreen": "verde lime", "indianred": "terra indiana", "papayawhip": "cipria", "lightslategray": "grigio ardesia chiaro", "gray": "grigio", "mediumorchid": "orchidea medio", "cornsilk": "crema", "black": "nero", "seagreen": "verde mare", "darkslateblue": "blu ardesia scuro", "khaki": "kaki", "lightblue": "azzurro", "palegreen": "verde pallido", "azure": "azzurro ghiaccio", "peachpuff": "pesca", "darkolivegreen": "verde oliva scuro", "yellowgreen": "giallo verde"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.it_it");dijit.nls.loading.it_it={"loadingState": "Caricamento in corso...", "errorState": "Si è verificato un errore"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.it_it");dijit.nls.Textarea.it_it={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.it_it");dijit._editor.nls.commands.it_it={"removeFormat": "Rimuovi formato", "copy": "Copia", "paste": "Incolla", "selectAll": "Seleziona tutto", "insertOrderedList": "Elenco numerato", "insertTable": "Inserisci/Modifica tabella", "underline": "Sottolineato", "foreColor": "Colore primo piano", "htmlToggle": "Origine HTML", "formatBlock": "Stile paragrafo", "insertHorizontalRule": "Righello orizzontale", "delete": "Elimina", "insertUnorderedList": "Elenco puntato", "tableProp": "Proprietà tabella", "insertImage": "Inserisci immagine", "superscript": "Apice", "subscript": "Pedice", "createLink": "Crea collegamento", "undo": "Annulla", "italic": "Corsivo", "fontName": "Nome carattere", "justifyLeft": "Allinea a sinistra", "unlink": "Rimuovi collegamento", "toggleTableBorder": "Mostra/Nascondi margine tabella", "fontSize": "Dimensione carattere", "indent": "Rientra", "redo": "Ripristina", "strikethrough": "Barrato", "justifyFull": "Giustifica", "justifyCenter": "Allinea al centro", "hiliteColor": "Colore sfondo", "deleteTable": "Elimina tabella", "outdent": "Rimuovi rientro", "cut": "Taglia", "plainFormatBlock": "Stile paragrafo", "bold": "Grassetto", "systemShortcutFF": "L'azione \"${0}\" è disponibile solo in Mozilla Firefox tramite tasti di scelta rapida. Utilizzare ${1}.", "justifyRight": "Allinea a destra", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.it_it");dojo.cldr.nls.number.it_it={"group": ".", "decimal": ",", "scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencyFormat": "¤ #,##0.00", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.it_it");dijit.nls.common.it_it={"buttonCancel": "Annulla", "buttonSave": "Salva", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.it_it");dijit.form.nls.validate.it_it={"rangeMessage": "* Questo valore non è compreso nell'intervallo.", "invalidMessage": "* Il valore immesso non è valido.", "missingMessage": "* Questo valore è obbligatorio."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.it_it");dijit.form.nls.ComboBox.it_it={"previousMessage": "Scelte precedenti", "nextMessage": "Altre scelte"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.it_it");dojo.cldr.nls.currency.it_it={"HKD_displayName": "Dollaro di Hong Kong", "CHF_displayName": "Franco Svizzero", "CHF_symbol": "SFr.", "CAD_displayName": "Dollaro Canadese", "AUD_displayName": "Dollaro Australiano", "JPY_displayName": "Yen Giapponese", "USD_displayName": "Dollaro Statunitense", "GBP_displayName": "Sterlina Inglese", "EUR_displayName": "Euro", "USD_symbol": "$", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.it_it");dojo.cldr.nls.gregorian.it_it={"timeFormat-long": "H:mm:ss z", "quarters-format-abbreviated": ["T1", "T2", "T3", "T4"], "dateFormat-medium": "dd/MMM/yy", "field-second": "secondo", "field-week": "settimana", "pm": "p.", "months-standAlone-narrow": ["G", "F", "M", "A", "M", "G", "L", "A", "S", "O", "N", "D"], "am": "m.", "days-standAlone-narrow": ["D", "L", "M", "M", "G", "V", "S"], "field-year": "anno", "field-minute": "minuto", "field-hour": "ora", "dateFormat-long": "dd MMMM yyyy", "field-day": "giorno", "field-dayperiod": "periodo del giorno", "field-month": "mese", "dateFormat-short": "dd/MM/yy", "months-format-wide": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre"], "field-era": "era", "months-format-abbr": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic"], "days-format-wide": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "eraAbbr": ["aC", "dC"], "quarters-format-wide": ["1o trimestre", "2o trimestre", "3o trimestre", "4o trimestre"], "dateFormat-full": "EEEE d MMMM yyyy", "field-weekday": "giorno della settimana", "days-format-abbr": ["dom", "lun", "mar", "mer", "gio", "ven", "sab"], "field-zone": "zona", "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "eraNames": ["BCE", "CE"], "dateTimeFormats-appendItem-Year": "{0} {1}", "timeFormat-full": "HH:mm:ss z", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "timeFormat-medium": "HH:mm:ss", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "dateTimeFormat": "{1} {0}", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "timeFormat-short": "HH:mm", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Era": "{0} {1}"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.it_it");dijit.nls.Textarea.it_it={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_it.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_it.js deleted file mode 100644 index 7dee5835..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_it.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_it");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.it");dojo.nls.colors.it={"lightsteelblue": "blu acciao chiaro", "orangered": "vermiglio", "midnightblue": "blu melanzana scuro", "cadetblue": "verde acqua", "seashell": "sabbia rosa", "slategrey": "grigio ardesia", "coral": "corallo", "darkturquoise": "turchese scuro", "antiquewhite": "bianco antico", "mediumspringgreen": "verde primavera medio", "salmon": "salmone", "darkgrey": "grigio scuro", "ivory": "avorio", "greenyellow": "giallo verde", "mistyrose": "rosa pallido", "lightsalmon": "salmone chiaro", "silver": "grigio 25%", "dimgrey": "grigio 80%", "orange": "arancione", "white": "bianco", "navajowhite": "pesca chiaro", "royalblue": "blu reale", "deeppink": "ciclamino", "lime": "verde fluorescente", "oldlace": "mandorla", "chartreuse": "verde brillante", "darkcyan": "ciano scuro", "yellow": "giallo", "linen": "lino", "olive": "verde oliva", "gold": "oro", "lawngreen": "verde prato", "lightyellow": "giallo chiaro", "tan": "grigio bruno", "darkviolet": "viola scuro", "lightslategrey": "grigio ardesia chiaro", "grey": "grigio", "darkkhaki": "kaki scuro", "green": "verde", "deepskyblue": "azzurro cielo scuro", "aqua": "acqua", "sienna": "cuoio", "mintcream": "bianco nuvola", "rosybrown": "marrone rosato", "mediumslateblue": "blu ardesia medio", "magenta": "magenta", "lightseagreen": "verde mare chiaro", "cyan": "ciano", "olivedrab": "marrone oliva", "darkgoldenrod": "ocra scuro", "slateblue": "blu ardesia", "mediumaquamarine": "acquamarina medio", "lavender": "lavanda", "mediumseagreen": "verde mare medio", "maroon": "scarlatto", "darkslategray": "grigio ardesia scuro", "mediumturquoise": "turchese medio", "ghostwhite": "bianco gesso", "darkblue": "blu scuro", "mediumvioletred": "vinaccia", "brown": "marrone", "lightgray": "grigio chiaro", "sandybrown": "marrone sabbia", "pink": "rosa", "firebrick": "rosso mattone", "indigo": "indaco", "snow": "neve", "darkorchid": "orchidea scuro", "turquoise": "turchese", "chocolate": "cioccolato", "springgreen": "verde primavera", "moccasin": "mocassino", "navy": "blu notte", "lemonchiffon": "caffelatte chiaro", "teal": "verde turchese", "floralwhite": "bianco giglio", "cornflowerblue": "blu fiordaliso", "paleturquoise": "turchese pallido", "purple": "porpora", "gainsboro": "grigio 10%", "plum": "prugna", "red": "rosso", "blue": "blu", "forestgreen": "verde foresta", "darkgreen": "verde scuro", "honeydew": "bianco germoglio", "darkseagreen": "verde mare scuro", "lightcoral": "rosa corallo", "palevioletred": "vinaccia chiaro", "mediumpurple": "porpora medio", "saddlebrown": "cacao", "darkmagenta": "magenta scuro", "thistle": "rosa cenere", "whitesmoke": "bianco fumo", "wheat": "sabbia", "violet": "viola", "lightskyblue": "azzurro cielo chiaro", "goldenrod": "ocra gialla", "mediumblue": "blu medio", "skyblue": "azzurro cielo", "crimson": "cremisi", "darksalmon": "salmone scuro", "darkred": "rosso scuro", "darkslategrey": "grigio ardesia scuro", "peru": "marrone terra bruciata", "lightgrey": "grigio chiaro", "lightgoldenrodyellow": "giallo tenue", "blanchedalmond": "mandorla chiaro", "aliceblue": "blu alice", "bisque": "incarnato", "slategray": "grigio ardesia", "palegoldenrod": "giallo zolfo chiaro", "darkorange": "arancione scuro", "aquamarine": "acquamarina", "lightgreen": "verde chiaro", "burlywood": "tabacco", "dodgerblue": "blu d'oriente", "darkgray": "grigio scuro", "lightcyan": "ciano chiaro", "powderblue": "azzurro polvere", "blueviolet": "blu violetto", "orchid": "orchidea", "dimgray": "grigio 80%", "beige": "beige", "fuchsia": "fucsia", "lavenderblush": "bianco rosato", "hotpink": "rosa acceso", "steelblue": "blu acciao", "tomato": "pomodoro", "lightpink": "rosa chiaro", "limegreen": "verde lime", "indianred": "terra indiana", "papayawhip": "cipria", "lightslategray": "grigio ardesia chiaro", "gray": "grigio", "mediumorchid": "orchidea medio", "cornsilk": "crema", "black": "nero", "seagreen": "verde mare", "darkslateblue": "blu ardesia scuro", "khaki": "kaki", "lightblue": "azzurro", "palegreen": "verde pallido", "azure": "azzurro ghiaccio", "peachpuff": "pesca", "darkolivegreen": "verde oliva scuro", "yellowgreen": "giallo verde"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.it");dijit.nls.loading.it={"loadingState": "Caricamento in corso...", "errorState": "Si è verificato un errore"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.it");dijit.nls.Textarea.it={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.it");dijit._editor.nls.commands.it={"removeFormat": "Rimuovi formato", "copy": "Copia", "paste": "Incolla", "selectAll": "Seleziona tutto", "insertOrderedList": "Elenco numerato", "insertTable": "Inserisci/Modifica tabella", "underline": "Sottolineato", "foreColor": "Colore primo piano", "htmlToggle": "Origine HTML", "formatBlock": "Stile paragrafo", "insertHorizontalRule": "Righello orizzontale", "delete": "Elimina", "insertUnorderedList": "Elenco puntato", "tableProp": "Proprietà tabella", "insertImage": "Inserisci immagine", "superscript": "Apice", "subscript": "Pedice", "createLink": "Crea collegamento", "undo": "Annulla", "italic": "Corsivo", "fontName": "Nome carattere", "justifyLeft": "Allinea a sinistra", "unlink": "Rimuovi collegamento", "toggleTableBorder": "Mostra/Nascondi margine tabella", "fontSize": "Dimensione carattere", "indent": "Rientra", "redo": "Ripristina", "strikethrough": "Barrato", "justifyFull": "Giustifica", "justifyCenter": "Allinea al centro", "hiliteColor": "Colore sfondo", "deleteTable": "Elimina tabella", "outdent": "Rimuovi rientro", "cut": "Taglia", "plainFormatBlock": "Stile paragrafo", "bold": "Grassetto", "systemShortcutFF": "L'azione \"${0}\" è disponibile solo in Mozilla Firefox tramite tasti di scelta rapida. Utilizzare ${1}.", "justifyRight": "Allinea a destra", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.it");dojo.cldr.nls.number.it={"group": ".", "decimal": ",", "scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencyFormat": "¤ #,##0.00", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.it");dijit.nls.common.it={"buttonCancel": "Annulla", "buttonSave": "Salva", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.it");dijit.form.nls.validate.it={"rangeMessage": "* Questo valore non è compreso nell'intervallo.", "invalidMessage": "* Il valore immesso non è valido.", "missingMessage": "* Questo valore è obbligatorio."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.it");dijit.form.nls.ComboBox.it={"previousMessage": "Scelte precedenti", "nextMessage": "Altre scelte"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.it");dojo.cldr.nls.currency.it={"HKD_displayName": "Dollaro di Hong Kong", "CHF_displayName": "Franco Svizzero", "CHF_symbol": "SFr.", "CAD_displayName": "Dollaro Canadese", "AUD_displayName": "Dollaro Australiano", "JPY_displayName": "Yen Giapponese", "USD_displayName": "Dollaro Statunitense", "GBP_displayName": "Sterlina Inglese", "EUR_displayName": "Euro", "USD_symbol": "$", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.it");dojo.cldr.nls.gregorian.it={"quarters-format-abbreviated": ["T1", "T2", "T3", "T4"], "dateFormat-medium": "dd/MMM/yy", "field-second": "secondo", "field-week": "settimana", "pm": "p.", "months-standAlone-narrow": ["G", "F", "M", "A", "M", "G", "L", "A", "S", "O", "N", "D"], "am": "m.", "days-standAlone-narrow": ["D", "L", "M", "M", "G", "V", "S"], "field-year": "anno", "field-minute": "minuto", "field-hour": "ora", "dateFormat-long": "dd MMMM yyyy", "field-day": "giorno", "field-dayperiod": "periodo del giorno", "field-month": "mese", "dateFormat-short": "dd/MM/yy", "months-format-wide": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre"], "field-era": "era", "months-format-abbr": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic"], "days-format-wide": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "eraAbbr": ["aC", "dC"], "quarters-format-wide": ["1o trimestre", "2o trimestre", "3o trimestre", "4o trimestre"], "dateFormat-full": "EEEE d MMMM yyyy", "field-weekday": "giorno della settimana", "days-format-abbr": ["dom", "lun", "mar", "mer", "gio", "ven", "sab"], "field-zone": "zona", "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "eraNames": ["BCE", "CE"], "dateTimeFormats-appendItem-Year": "{0} {1}", "timeFormat-full": "HH:mm:ss z", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "timeFormat-medium": "HH:mm:ss", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "dateTimeFormat": "{1} {0}", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "timeFormat-long": "HH:mm:ss z", "timeFormat-short": "HH:mm", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Era": "{0} {1}"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.it");dijit.nls.Textarea.it={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ja-jp.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ja-jp.js deleted file mode 100644 index 67fcdaf6..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ja-jp.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_ja-jp");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.ja_jp");dojo.nls.colors.ja_jp={"lightsteelblue": "ライト・スチール・ブルー", "orangered": "オレンジ・レッド", "midnightblue": "ミッドナイト・ブルー", "cadetblue": "くすんだ青", "seashell": "シーシェル", "slategrey": "スレート・グレイ", "coral": "珊瑚", "darkturquoise": "ダーク・ターコイズ", "antiquewhite": "アンティーク・ホワイト", "mediumspringgreen": "ミディアム・スプリング・グリーン", "salmon": "サーモン", "darkgrey": "ダーク・グレイ", "ivory": "アイボリー", "greenyellow": "緑黄色", "mistyrose": "ミスティ・ローズ", "lightsalmon": "ライト・サーモン", "silver": "銀", "dimgrey": "ディマ・グレイ", "orange": "オレンジ", "white": "白", "navajowhite": "ナバホ・ホワイト", "royalblue": "藤色", "deeppink": "濃いピンク", "lime": "ライム", "oldlace": "オールド・レイス", "chartreuse": "淡黄緑", "darkcyan": "ダーク・シアン・ブルー", "yellow": "黄", "linen": "亜麻色", "olive": "オリーブ", "gold": "金", "lawngreen": "ローン・グリーン", "lightyellow": "ライト・イエロー", "tan": "茶褐色", "darkviolet": "ダーク・バイオレット", "lightslategrey": "ライト・スレート・グレイ", "grey": "グレイ", "darkkhaki": "ダーク・カーキー", "green": "緑", "deepskyblue": "濃い空色", "aqua": "アクア", "sienna": "黄褐色", "mintcream": "ミント・クリーム", "rosybrown": "ロージー・ブラウン", "mediumslateblue": "ミディアム・スレート・ブルー", "magenta": "赤紫", "lightseagreen": "ライト・シー・グリーン", "cyan": "シアン・ブルー", "olivedrab": "濃黄緑", "darkgoldenrod": "ダーク・ゴールデン・ロッド", "slateblue": "スレート・ブルー", "mediumaquamarine": "ミディアム・アクアマリーン", "lavender": "ラベンダー", "mediumseagreen": "ミディアム・シー・グリーン", "maroon": "えび茶", "darkslategray": "ダーク・スレート・グレイ", "mediumturquoise": "ミディアム・ターコイズ", "ghostwhite": "ゴースト・ホワイト", "darkblue": "ダーク・ブルー", "mediumvioletred": "ミディアム・バイオレット・レッド", "brown": "茶", "lightgray": "ライト・グレイ", "sandybrown": "砂褐色", "pink": "ピンク", "firebrick": "赤煉瓦色", "indigo": "藍色", "snow": "雪色", "darkorchid": "ダーク・オーキッド", "turquoise": "ターコイズ", "chocolate": "チョコレート", "springgreen": "スプリング・グリーン", "moccasin": "モカシン", "navy": "濃紺", "lemonchiffon": "レモン・シフォン", "teal": "ティール", "floralwhite": "フローラル・ホワイト", "cornflowerblue": "コーンフラワー・ブルー", "paleturquoise": "ペイル・ターコイズ", "purple": "紫", "gainsboro": "ゲインズボーロ", "plum": "深紫", "red": "赤", "blue": "青", "forestgreen": "フォレスト・グリーン", "darkgreen": "ダーク・グリーン", "honeydew": "ハニーデュー", "darkseagreen": "ダーク・シー・グリーン", "lightcoral": "ライト・コーラル", "palevioletred": "ペイル・バイオレット・レッド", "mediumpurple": "ミディアム・パープル", "saddlebrown": "サドル・ブラウン", "darkmagenta": "ダーク・マジェンタ", "thistle": "シスル", "whitesmoke": "ホワイト・スモーク", "wheat": "小麦色", "violet": "すみれ色", "lightskyblue": "ライト・スカイ・ブルー", "goldenrod": "ゴールデン・ロッド", "mediumblue": "ミディアム・ブルー", "skyblue": "スカイ・ブルー", "crimson": "深紅", "darksalmon": "ダーク・サーモン", "darkred": "ダーク・レッド", "darkslategrey": "ダーク・スレート・グレイ", "peru": "ペルー", "lightgrey": "ライト・グレイ", "lightgoldenrodyellow": "ライト・ゴールデン・ロッド・イエロー", "blanchedalmond": "ブランチド・アーモンド", "aliceblue": "アリス・ブルー", "bisque": "ビスク", "slategray": "スレート・グレイ", "palegoldenrod": "ペイル・ゴールデン・ロッド", "darkorange": "ダーク・オレンジ", "aquamarine": "碧緑", "lightgreen": "ライト・グリーン", "burlywood": "バーリーウッド", "dodgerblue": "ドッジャー・ブルー", "darkgray": "ダーク・グレイ", "lightcyan": "ライト・シアン", "powderblue": "淡青", "blueviolet": "青紫", "orchid": "薄紫", "dimgray": "ディマ・グレイ", "beige": "ベージュ", "fuchsia": "紫紅色", "lavenderblush": "ラベンダー・ブラッシ", "hotpink": "ホット・ピンク", "steelblue": "鋼色", "tomato": "トマト色", "lightpink": "ライト・ピンク", "limegreen": "ライム・グリーン", "indianred": "インディアン・レッド", "papayawhip": "パパイア・ホイップ", "lightslategray": "ライト・スレート・グレイ", "gray": "グレイ", "mediumorchid": "ミディアム・オーキッド", "cornsilk": "コーンシルク", "black": "黒", "seagreen": "シー・グリーン", "darkslateblue": "ダーク・スレート・ブルー", "khaki": "カーキー", "lightblue": "ライト・ブルー", "palegreen": "ペイル・グリーン", "azure": "蒼窮", "peachpuff": "ピーチ・パフ", "darkolivegreen": "ダーク・オリーブ・グリーン", "yellowgreen": "黄緑"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.ja_jp");dijit.nls.loading.ja_jp={"loadingState": "ロード中...", "errorState": "エラーが発生しました。"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.ja_jp");dijit.nls.Textarea.ja_jp={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.ja_jp");dijit._editor.nls.commands.ja_jp={"removeFormat": "形式の除去", "copy": "コピー", "paste": "貼り付け", "selectAll": "すべて選択", "insertOrderedList": "番号付きリスト", "insertTable": "テーブルの挿入/編集", "underline": "下線", "foreColor": "前景色", "htmlToggle": "HTML ソース", "formatBlock": "段落スタイル", "insertHorizontalRule": "水平罫線", "delete": "削除", "insertUnorderedList": "黒丸付きリスト", "tableProp": "テーブル・プロパティー", "insertImage": "イメージの挿入", "superscript": "上付き文字", "subscript": "下付き文字", "createLink": "リンクの作成", "undo": "取り消し", "italic": "イタリック", "fontName": "フォント名", "justifyLeft": "左揃え", "unlink": "リンクの除去", "toggleTableBorder": "テーブル・ボーダーの切り替え", "fontSize": "フォント・サイズ", "indent": "インデント", "redo": "再実行", "strikethrough": "取り消し線", "justifyFull": "行末揃え", "justifyCenter": "中央揃え", "hiliteColor": "背景色", "deleteTable": "テーブルの削除", "outdent": "アウトデント", "cut": "切り取り", "plainFormatBlock": "段落スタイル", "bold": "太字", "systemShortcutFF": "\"${0}\" アクションは、キーボード・ショートカットを使用して Mozilla Firefox でのみ使用できます。${1} を使用してください。", "justifyRight": "右揃え", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.ja_jp");dojo.cldr.nls.number.ja_jp={"currencyFormat": "¤#,##0.00", "scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "group": ",", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "decimal": ".", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ja_jp");dijit.nls.common.ja_jp={"buttonCancel": "キャンセル", "buttonSave": "保存", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.ja_jp");dijit.form.nls.validate.ja_jp={"rangeMessage": "* この値は範囲外です。", "invalidMessage": "* 入力した値は無効です。", "missingMessage": "* この値は必須です。"};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.ja_jp");dijit.form.nls.ComboBox.ja_jp={"previousMessage": "以前の選択項目", "nextMessage": "追加の選択項目"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.ja_jp");dojo.cldr.nls.currency.ja_jp={"HKD_displayName": "香港ドル", "CHF_displayName": "スイス フラン", "JPY_symbol": "¥", "CAD_displayName": "カナダ ドル", "AUD_displayName": "オーストラリア ドル", "JPY_displayName": "日本円", "USD_displayName": "米ドル", "GBP_displayName": "英国ポンド", "EUR_displayName": "ユーロ", "USD_symbol": "$", "GBP_symbol": "£", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.ja_jp");dojo.cldr.nls.gregorian.ja_jp={"eraNames": ["紀元前", "西暦"], "timeFormat-full": "H'時'mm'分'ss'秒'z", "timeFormat-medium": "H:mm:ss", "eraAbbr": ["紀元前", "西暦"], "dateFormat-medium": "yyyy/MM/dd", "am": "午前", "months-format-abbr": ["1 月", "2 月", "3 月", "4 月", "5 月", "6 月", "7 月", "8 月", "9 月", "10 月", "11 月", "12 月"], "dateFormat-full": "yyyy'年'M'月'd'日'EEEE", "days-format-abbr": ["日", "月", "火", "水", "木", "金", "土"], "timeFormat-long": "H:mm:ss:z", "quarters-format-wide": ["第 1 四半期", "第 2 四半期", "第 3 四半期", "第 4 四半期"], "pm": "午後", "timeFormat-short": "H:mm", "months-format-wide": ["1 月", "2 月", "3 月", "4 月", "5 月", "6 月", "7 月", "8 月", "9 月", "10 月", "11 月", "12 月"], "days-standAlone-narrow": ["日", "月", "火", "水", "木", "金", "土"], "dateFormat-long": "yyyy'年'M'月'd'日'", "days-format-wide": ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"], "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "field-weekday": "Day of the Week", "months-standAlone-narrow": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "dateFormat-short": "yy/MM/dd", "dateTimeFormats-appendItem-Era": "{0} {1}"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.ja_jp");dijit.nls.Textarea.ja_jp={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ja.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ja.js deleted file mode 100644 index 453d3b6d..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ja.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_ja");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.ja");dojo.nls.colors.ja={"lightsteelblue": "ライト・スチール・ブルー", "orangered": "オレンジ・レッド", "midnightblue": "ミッドナイト・ブルー", "cadetblue": "くすんだ青", "seashell": "シーシェル", "slategrey": "スレート・グレイ", "coral": "珊瑚", "darkturquoise": "ダーク・ターコイズ", "antiquewhite": "アンティーク・ホワイト", "mediumspringgreen": "ミディアム・スプリング・グリーン", "salmon": "サーモン", "darkgrey": "ダーク・グレイ", "ivory": "アイボリー", "greenyellow": "緑黄色", "mistyrose": "ミスティ・ローズ", "lightsalmon": "ライト・サーモン", "silver": "銀", "dimgrey": "ディマ・グレイ", "orange": "オレンジ", "white": "白", "navajowhite": "ナバホ・ホワイト", "royalblue": "藤色", "deeppink": "濃いピンク", "lime": "ライム", "oldlace": "オールド・レイス", "chartreuse": "淡黄緑", "darkcyan": "ダーク・シアン・ブルー", "yellow": "黄", "linen": "亜麻色", "olive": "オリーブ", "gold": "金", "lawngreen": "ローン・グリーン", "lightyellow": "ライト・イエロー", "tan": "茶褐色", "darkviolet": "ダーク・バイオレット", "lightslategrey": "ライト・スレート・グレイ", "grey": "グレイ", "darkkhaki": "ダーク・カーキー", "green": "緑", "deepskyblue": "濃い空色", "aqua": "アクア", "sienna": "黄褐色", "mintcream": "ミント・クリーム", "rosybrown": "ロージー・ブラウン", "mediumslateblue": "ミディアム・スレート・ブルー", "magenta": "赤紫", "lightseagreen": "ライト・シー・グリーン", "cyan": "シアン・ブルー", "olivedrab": "濃黄緑", "darkgoldenrod": "ダーク・ゴールデン・ロッド", "slateblue": "スレート・ブルー", "mediumaquamarine": "ミディアム・アクアマリーン", "lavender": "ラベンダー", "mediumseagreen": "ミディアム・シー・グリーン", "maroon": "えび茶", "darkslategray": "ダーク・スレート・グレイ", "mediumturquoise": "ミディアム・ターコイズ", "ghostwhite": "ゴースト・ホワイト", "darkblue": "ダーク・ブルー", "mediumvioletred": "ミディアム・バイオレット・レッド", "brown": "茶", "lightgray": "ライト・グレイ", "sandybrown": "砂褐色", "pink": "ピンク", "firebrick": "赤煉瓦色", "indigo": "藍色", "snow": "雪色", "darkorchid": "ダーク・オーキッド", "turquoise": "ターコイズ", "chocolate": "チョコレート", "springgreen": "スプリング・グリーン", "moccasin": "モカシン", "navy": "濃紺", "lemonchiffon": "レモン・シフォン", "teal": "ティール", "floralwhite": "フローラル・ホワイト", "cornflowerblue": "コーンフラワー・ブルー", "paleturquoise": "ペイル・ターコイズ", "purple": "紫", "gainsboro": "ゲインズボーロ", "plum": "深紫", "red": "赤", "blue": "青", "forestgreen": "フォレスト・グリーン", "darkgreen": "ダーク・グリーン", "honeydew": "ハニーデュー", "darkseagreen": "ダーク・シー・グリーン", "lightcoral": "ライト・コーラル", "palevioletred": "ペイル・バイオレット・レッド", "mediumpurple": "ミディアム・パープル", "saddlebrown": "サドル・ブラウン", "darkmagenta": "ダーク・マジェンタ", "thistle": "シスル", "whitesmoke": "ホワイト・スモーク", "wheat": "小麦色", "violet": "すみれ色", "lightskyblue": "ライト・スカイ・ブルー", "goldenrod": "ゴールデン・ロッド", "mediumblue": "ミディアム・ブルー", "skyblue": "スカイ・ブルー", "crimson": "深紅", "darksalmon": "ダーク・サーモン", "darkred": "ダーク・レッド", "darkslategrey": "ダーク・スレート・グレイ", "peru": "ペルー", "lightgrey": "ライト・グレイ", "lightgoldenrodyellow": "ライト・ゴールデン・ロッド・イエロー", "blanchedalmond": "ブランチド・アーモンド", "aliceblue": "アリス・ブルー", "bisque": "ビスク", "slategray": "スレート・グレイ", "palegoldenrod": "ペイル・ゴールデン・ロッド", "darkorange": "ダーク・オレンジ", "aquamarine": "碧緑", "lightgreen": "ライト・グリーン", "burlywood": "バーリーウッド", "dodgerblue": "ドッジャー・ブルー", "darkgray": "ダーク・グレイ", "lightcyan": "ライト・シアン", "powderblue": "淡青", "blueviolet": "青紫", "orchid": "薄紫", "dimgray": "ディマ・グレイ", "beige": "ベージュ", "fuchsia": "紫紅色", "lavenderblush": "ラベンダー・ブラッシ", "hotpink": "ホット・ピンク", "steelblue": "鋼色", "tomato": "トマト色", "lightpink": "ライト・ピンク", "limegreen": "ライム・グリーン", "indianred": "インディアン・レッド", "papayawhip": "パパイア・ホイップ", "lightslategray": "ライト・スレート・グレイ", "gray": "グレイ", "mediumorchid": "ミディアム・オーキッド", "cornsilk": "コーンシルク", "black": "黒", "seagreen": "シー・グリーン", "darkslateblue": "ダーク・スレート・ブルー", "khaki": "カーキー", "lightblue": "ライト・ブルー", "palegreen": "ペイル・グリーン", "azure": "蒼窮", "peachpuff": "ピーチ・パフ", "darkolivegreen": "ダーク・オリーブ・グリーン", "yellowgreen": "黄緑"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.ja");dijit.nls.loading.ja={"loadingState": "ロード中...", "errorState": "エラーが発生しました。"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.ja");dijit.nls.Textarea.ja={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.ja");dijit._editor.nls.commands.ja={"removeFormat": "形式の除去", "copy": "コピー", "paste": "貼り付け", "selectAll": "すべて選択", "insertOrderedList": "番号付きリスト", "insertTable": "テーブルの挿入/編集", "underline": "下線", "foreColor": "前景色", "htmlToggle": "HTML ソース", "formatBlock": "段落スタイル", "insertHorizontalRule": "水平罫線", "delete": "削除", "insertUnorderedList": "黒丸付きリスト", "tableProp": "テーブル・プロパティー", "insertImage": "イメージの挿入", "superscript": "上付き文字", "subscript": "下付き文字", "createLink": "リンクの作成", "undo": "取り消し", "italic": "イタリック", "fontName": "フォント名", "justifyLeft": "左揃え", "unlink": "リンクの除去", "toggleTableBorder": "テーブル・ボーダーの切り替え", "fontSize": "フォント・サイズ", "indent": "インデント", "redo": "再実行", "strikethrough": "取り消し線", "justifyFull": "行末揃え", "justifyCenter": "中央揃え", "hiliteColor": "背景色", "deleteTable": "テーブルの削除", "outdent": "アウトデント", "cut": "切り取り", "plainFormatBlock": "段落スタイル", "bold": "太字", "systemShortcutFF": "\"${0}\" アクションは、キーボード・ショートカットを使用して Mozilla Firefox でのみ使用できます。${1} を使用してください。", "justifyRight": "右揃え", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.ja");dojo.cldr.nls.number.ja={"scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencyFormat": "¤ #,##0.00", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "group": ",", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "decimal": ".", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ja");dijit.nls.common.ja={"buttonCancel": "キャンセル", "buttonSave": "保存", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.ja");dijit.form.nls.validate.ja={"rangeMessage": "* この値は範囲外です。", "invalidMessage": "* 入力した値は無効です。", "missingMessage": "* この値は必須です。"};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.ja");dijit.form.nls.ComboBox.ja={"previousMessage": "以前の選択項目", "nextMessage": "追加の選択項目"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.ja");dojo.cldr.nls.currency.ja={"HKD_displayName": "香港ドル", "CHF_displayName": "スイス フラン", "JPY_symbol": "¥", "CAD_displayName": "カナダ ドル", "AUD_displayName": "オーストラリア ドル", "JPY_displayName": "日本円", "USD_displayName": "米ドル", "GBP_displayName": "英国ポンド", "EUR_displayName": "ユーロ", "USD_symbol": "$", "GBP_symbol": "£", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.ja");dojo.cldr.nls.gregorian.ja={"eraNames": ["紀元前", "西暦"], "timeFormat-full": "H'時'mm'分'ss'秒'z", "timeFormat-medium": "H:mm:ss", "eraAbbr": ["紀元前", "西暦"], "dateFormat-medium": "yyyy/MM/dd", "am": "午前", "months-format-abbr": ["1 月", "2 月", "3 月", "4 月", "5 月", "6 月", "7 月", "8 月", "9 月", "10 月", "11 月", "12 月"], "dateFormat-full": "yyyy'年'M'月'd'日'EEEE", "days-format-abbr": ["日", "月", "火", "水", "木", "金", "土"], "timeFormat-long": "H:mm:ss:z", "quarters-format-wide": ["第 1 四半期", "第 2 四半期", "第 3 四半期", "第 4 四半期"], "pm": "午後", "timeFormat-short": "H:mm", "months-format-wide": ["1 月", "2 月", "3 月", "4 月", "5 月", "6 月", "7 月", "8 月", "9 月", "10 月", "11 月", "12 月"], "days-standAlone-narrow": ["日", "月", "火", "水", "木", "金", "土"], "dateFormat-long": "yyyy'年'M'月'd'日'", "days-format-wide": ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"], "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "field-weekday": "Day of the Week", "months-standAlone-narrow": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "dateFormat-short": "yy/MM/dd", "dateTimeFormats-appendItem-Era": "{0} {1}"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.ja");dijit.nls.Textarea.ja={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ko-kr.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ko-kr.js deleted file mode 100644 index 00728bbd..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ko-kr.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_ko-kr");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.ko_kr");dojo.nls.colors.ko_kr={"lightsteelblue": "라이트 스틸 블루(light steel blue)", "orangered": "오렌지 레드(orange red)", "midnightblue": "미드나잇 블루(midnight blue)", "cadetblue": "카뎃 블루(cadet blue)", "seashell": "씨쉘(seashell)", "slategrey": "슬레이트 그레이(slate gray)", "coral": "코랄(coral)", "darkturquoise": "다크 터콰즈(dark turquoise)", "antiquewhite": "앤틱 화이트(antique white)", "mediumspringgreen": "미디엄 스프링 그린(medium spring green)", "salmon": "샐몬(salmon)", "darkgrey": "다크 그레이(dark gray)", "ivory": "아이보리(ivory)", "greenyellow": "그린 옐로우(green-yellow)", "mistyrose": "미스티 로즈(misty rose)", "lightsalmon": "라이트 샐몬(light salmon)", "silver": "실버(silver)", "dimgrey": "딤 그레이(dim gray)", "orange": "오렌지(orange)", "white": "화이트(white)", "navajowhite": "나바호 화이트(navajo white)", "royalblue": "로얄 블루(royal blue)", "deeppink": "딥 핑크(deep pink)", "lime": "라임(lime)", "oldlace": "올드 레이스(old lace)", "chartreuse": "샤르트뢰즈(chartreuse)", "darkcyan": "다크 시안(dark cyan)", "yellow": "옐로우(yellow)", "linen": "리넨(linen)", "olive": "올리브(olive)", "gold": "골드(gold)", "lawngreen": "론 그린(lawn green)", "lightyellow": "라이트 옐로우(light yellow)", "tan": "탠(tan)", "darkviolet": "다크 바이올렛(dark violet)", "lightslategrey": "라이트 슬레이트 그레이(light slate gray)", "grey": "그레이(gray)", "darkkhaki": "다크 카키(dark khaki)", "green": "그린(green)", "deepskyblue": "딥 스카이 블루(deep sky blue)", "aqua": "아쿠아(aqua)", "sienna": "시에나(sienna)", "mintcream": "민트 크림(mint cream)", "rosybrown": "로지 브라운(rosy brown)", "mediumslateblue": "미디엄 슬레이트 블루(medium slate blue)", "magenta": "마젠타(magenta)", "lightseagreen": "라이트 씨 그린(light sea green)", "cyan": "시안(cyan)", "olivedrab": "올리브 드랩(olive drab)", "darkgoldenrod": "다크 골든로드(dark goldenrod)", "slateblue": "슬레이트 블루(slate blue)", "mediumaquamarine": "미디엄 아쿠아마린(medium aquamarine)", "lavender": "라벤더(lavender)", "mediumseagreen": "미디엄 씨 그린(medium sea green)", "maroon": "마룬(maroon)", "darkslategray": "다크 슬레이트 그레이(dark slate gray)", "mediumturquoise": "미디엄 터콰즈(medium turquoise)", "ghostwhite": "고스트 화이트(ghost white)", "darkblue": "다크 블루(dark blue)", "mediumvioletred": "미디엄 바이올렛 레드(medium violet-red)", "brown": "브라운(brown)", "lightgray": "라이트 그레이(light gray)", "sandybrown": "샌디 브라운(sandy brown)", "pink": "핑크(pink)", "firebrick": "파이어 브릭(fire brick)", "indigo": "인디고(indigo)", "snow": "스노우(snow)", "darkorchid": "다크 오키드(dark orchid)", "turquoise": "터콰즈(turquoise)", "chocolate": "초콜렛(chocolate)", "springgreen": "스프링 그린(spring green)", "moccasin": "모카신(moccasin)", "navy": "네이비(navy)", "lemonchiffon": "레몬 쉬폰(lemon chiffon)", "teal": "틸(teal)", "floralwhite": "플로랄 화이트(floral white)", "cornflowerblue": "콘플라워 블루(cornflower blue)", "paleturquoise": "페일 터콰즈(pale turquoise)", "purple": "퍼플(purple)", "gainsboro": "게인스브로(gainsboro)", "plum": "플럼(plum)", "red": "레드(red)", "blue": "블루(blue)", "forestgreen": "포레스트 그린(forest green)", "darkgreen": "다크 그린(dark green)", "honeydew": "허니듀(honeydew)", "darkseagreen": "다크 씨 그린(dark sea green)", "lightcoral": "라이트 코랄(light coral)", "palevioletred": "페일 바이올렛 레드(pale violet-red)", "mediumpurple": "미디엄 퍼플(medium purple)", "saddlebrown": "새들 브라운(saddle brown)", "darkmagenta": "다크 마젠타(dark magenta)", "thistle": "시슬(thistle)", "whitesmoke": "화이트 스모크(white smoke)", "wheat": "휘트(wheat)", "violet": "바이올렛(violet)", "lightskyblue": "라이트 스카이 블루(light sky blue)", "goldenrod": "골든로드(goldenrod)", "mediumblue": "미디엄 블루(medium blue)", "skyblue": "스카이 블루(sky blue)", "crimson": "크림슨(crimson)", "darksalmon": "다크 샐몬(dark salmon)", "darkred": "다크 레드(dark red)", "darkslategrey": "다크 슬레이트 그레이(dark slate gray)", "peru": "페루(peru)", "lightgrey": "라이트 그레이(light gray)", "lightgoldenrodyellow": "라이트 골든로드 옐로우(light goldenrod yellow)", "blanchedalmond": "블랜치 아몬드(blanched almond)", "aliceblue": "앨리스 블루(alice blue)", "bisque": "비스크(bisque)", "slategray": "슬레이트 그레이(slate gray)", "palegoldenrod": "페일 골든로드(pale goldenrod)", "darkorange": "다크 오렌지(dark orange)", "aquamarine": "아쿠아마린(aquamarine)", "lightgreen": "라이트 그린(light green)", "burlywood": "벌리우드(burlywood)", "dodgerblue": "다저 블루(dodger blue)", "darkgray": "다크 그레이(dark gray)", "lightcyan": "라이트 시안(light cyan)", "powderblue": "파우더 블루(powder blue)", "blueviolet": "블루 바이올렛(blue-violet)", "orchid": "오키드(orchid)", "dimgray": "딤 그레이(dim gray)", "beige": "베이지(beige)", "fuchsia": "후크샤(fuchsia)", "lavenderblush": "라벤더 블러쉬(lavender blush)", "hotpink": "핫 핑크(hot pink)", "steelblue": "스틸 블루(steel blue)", "tomato": "토마토(tomato)", "lightpink": "라이트 핑크(light pink)", "limegreen": "라임 그린(lime green)", "indianred": "인디안 레드(indian red)", "papayawhip": "파파야 휩(papaya whip)", "lightslategray": "라이트 슬레이트 그레이(light slate gray)", "gray": "그레이(gray)", "mediumorchid": "미디엄 오키드(medium orchid)", "cornsilk": "콘실크(cornsilk)", "black": "블랙(black)", "seagreen": "씨 그린(sea green)", "darkslateblue": "다크 슬레이트 블루(dark slate blue)", "khaki": "카키(khaki)", "lightblue": "라이트 블루(light blue)", "palegreen": "페일 그린(pale green)", "azure": "애쥬어(azure)", "peachpuff": "피치 퍼프(peach puff)", "darkolivegreen": "다크 올리브 그린(dark olive green)", "yellowgreen": "옐로우 그린(yellow green)"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.ko_kr");dijit.nls.loading.ko_kr={"loadingState": "로드 중...", "errorState": "죄송합니다. 오류가 발생했습니다."};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.ko_kr");dijit.nls.Textarea.ko_kr={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.ko_kr");dijit._editor.nls.commands.ko_kr={"removeFormat": "형식 제거", "copy": "복사", "paste": "붙여넣기", "selectAll": "모두 선택", "insertOrderedList": "번호 목록", "insertTable": "테이블 삽입/편집", "underline": "밑줄", "foreColor": "전경색", "htmlToggle": "HTML 소스", "formatBlock": "단락 양식", "insertHorizontalRule": "수평 자", "delete": "삭제", "insertUnorderedList": "글머리표 목록", "tableProp": "테이블 특성", "insertImage": "이미지 삽입", "superscript": "위첨자", "subscript": "아래첨자", "createLink": "링크 작성", "undo": "실행 취소", "italic": "이탤릭체", "fontName": "글꼴 이름", "justifyLeft": "왼쪽 맞춤", "unlink": "링크 제거", "toggleTableBorder": "토글 테이블 경계", "fontSize": "글꼴 크기", "indent": "들여쓰기", "redo": "다시 실행", "strikethrough": "취소선", "justifyFull": "양쪽 맞춤", "justifyCenter": "가운데 맞춤", "hiliteColor": "배경색", "deleteTable": "테이블 삭제", "outdent": "내어쓰기", "cut": "잘라내기", "plainFormatBlock": "단락 양식", "bold": "굵은체", "systemShortcutFF": "\"${0}\" 조치는 키보드 바로 가기를 사용하는 Mozilla Firefox에서만 사용 가능합니다. ${1} 사용.", "justifyRight": "오른쪽 맞춤", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.ko_kr");dojo.cldr.nls.number.ko_kr={"currencyFormat": "¤#,##0.00", "scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "group": ",", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "decimal": ".", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ko_kr");dijit.nls.common.ko_kr={"buttonCancel": "취소", "buttonSave": "저장", "buttonOk": "확인"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.ko_kr");dijit.form.nls.validate.ko_kr={"rangeMessage": "* 이 값은 범위를 벗어납니다. ", "invalidMessage": "* 입력한 값이 유효하지 않습니다. ", "missingMessage": "* 이 값은 필수입니다. "};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.ko_kr");dijit.form.nls.ComboBox.ko_kr={"previousMessage": "이전 선택사항", "nextMessage": "기타 선택사항"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.ko_kr");dojo.cldr.nls.currency.ko_kr={"HKD_displayName": "홍콩 달러", "CHF_displayName": "스위스 프랑달러", "JPY_symbol": "¥", "CAD_displayName": "캐나다 달러", "USD_symbol": "US$", "AUD_displayName": "호주 달러", "JPY_displayName": "일본 엔화", "USD_displayName": "미국 달러", "GBP_displayName": "영국령 파운드 스털링", "EUR_displayName": "유로화", "GBP_symbol": "£", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.ko_kr");dojo.cldr.nls.gregorian.ko_kr={"timeFormat-medium": "a h:mm:ss", "timeFormat-short": "a h:mm", "dateFormat-medium": "yyyy. MM. dd", "pm": "오후", "timeFormat-full": "a hh'시' mm'분' ss'초' z", "months-standAlone-narrow": ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"], "eraNames": ["서력기원전", "서력기원"], "am": "오전", "days-standAlone-narrow": ["일", "월", "화", "수", "목", "금", "토"], "dateFormat-long": "yyyy'년' M'월' d'일'", "dateFormat-short": "yy. MM. dd", "months-format-wide": ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"], "months-format-abbr": ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"], "days-format-wide": ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일"], "timeFormat-long": "a hh'시' mm'분' ss'초'", "eraAbbr": ["기원전", "서기"], "dateFormat-full": "yyyy'년' M'월' d'일' EEEE", "days-format-abbr": ["일", "월", "화", "수", "목", "금", "토"], "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "field-weekday": "Day of the Week", "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Era": "{0} {1}", "quarters-format-wide": ["Q1", "Q2", "Q3", "Q4"]};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.ko_kr");dijit.nls.Textarea.ko_kr={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ko.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ko.js deleted file mode 100644 index 8dea2e30..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ko.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_ko");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.ko");dojo.nls.colors.ko={"lightsteelblue": "라이트 스틸 블루(light steel blue)", "orangered": "오렌지 레드(orange red)", "midnightblue": "미드나잇 블루(midnight blue)", "cadetblue": "카뎃 블루(cadet blue)", "seashell": "씨쉘(seashell)", "slategrey": "슬레이트 그레이(slate gray)", "coral": "코랄(coral)", "darkturquoise": "다크 터콰즈(dark turquoise)", "antiquewhite": "앤틱 화이트(antique white)", "mediumspringgreen": "미디엄 스프링 그린(medium spring green)", "salmon": "샐몬(salmon)", "darkgrey": "다크 그레이(dark gray)", "ivory": "아이보리(ivory)", "greenyellow": "그린 옐로우(green-yellow)", "mistyrose": "미스티 로즈(misty rose)", "lightsalmon": "라이트 샐몬(light salmon)", "silver": "실버(silver)", "dimgrey": "딤 그레이(dim gray)", "orange": "오렌지(orange)", "white": "화이트(white)", "navajowhite": "나바호 화이트(navajo white)", "royalblue": "로얄 블루(royal blue)", "deeppink": "딥 핑크(deep pink)", "lime": "라임(lime)", "oldlace": "올드 레이스(old lace)", "chartreuse": "샤르트뢰즈(chartreuse)", "darkcyan": "다크 시안(dark cyan)", "yellow": "옐로우(yellow)", "linen": "리넨(linen)", "olive": "올리브(olive)", "gold": "골드(gold)", "lawngreen": "론 그린(lawn green)", "lightyellow": "라이트 옐로우(light yellow)", "tan": "탠(tan)", "darkviolet": "다크 바이올렛(dark violet)", "lightslategrey": "라이트 슬레이트 그레이(light slate gray)", "grey": "그레이(gray)", "darkkhaki": "다크 카키(dark khaki)", "green": "그린(green)", "deepskyblue": "딥 스카이 블루(deep sky blue)", "aqua": "아쿠아(aqua)", "sienna": "시에나(sienna)", "mintcream": "민트 크림(mint cream)", "rosybrown": "로지 브라운(rosy brown)", "mediumslateblue": "미디엄 슬레이트 블루(medium slate blue)", "magenta": "마젠타(magenta)", "lightseagreen": "라이트 씨 그린(light sea green)", "cyan": "시안(cyan)", "olivedrab": "올리브 드랩(olive drab)", "darkgoldenrod": "다크 골든로드(dark goldenrod)", "slateblue": "슬레이트 블루(slate blue)", "mediumaquamarine": "미디엄 아쿠아마린(medium aquamarine)", "lavender": "라벤더(lavender)", "mediumseagreen": "미디엄 씨 그린(medium sea green)", "maroon": "마룬(maroon)", "darkslategray": "다크 슬레이트 그레이(dark slate gray)", "mediumturquoise": "미디엄 터콰즈(medium turquoise)", "ghostwhite": "고스트 화이트(ghost white)", "darkblue": "다크 블루(dark blue)", "mediumvioletred": "미디엄 바이올렛 레드(medium violet-red)", "brown": "브라운(brown)", "lightgray": "라이트 그레이(light gray)", "sandybrown": "샌디 브라운(sandy brown)", "pink": "핑크(pink)", "firebrick": "파이어 브릭(fire brick)", "indigo": "인디고(indigo)", "snow": "스노우(snow)", "darkorchid": "다크 오키드(dark orchid)", "turquoise": "터콰즈(turquoise)", "chocolate": "초콜렛(chocolate)", "springgreen": "스프링 그린(spring green)", "moccasin": "모카신(moccasin)", "navy": "네이비(navy)", "lemonchiffon": "레몬 쉬폰(lemon chiffon)", "teal": "틸(teal)", "floralwhite": "플로랄 화이트(floral white)", "cornflowerblue": "콘플라워 블루(cornflower blue)", "paleturquoise": "페일 터콰즈(pale turquoise)", "purple": "퍼플(purple)", "gainsboro": "게인스브로(gainsboro)", "plum": "플럼(plum)", "red": "레드(red)", "blue": "블루(blue)", "forestgreen": "포레스트 그린(forest green)", "darkgreen": "다크 그린(dark green)", "honeydew": "허니듀(honeydew)", "darkseagreen": "다크 씨 그린(dark sea green)", "lightcoral": "라이트 코랄(light coral)", "palevioletred": "페일 바이올렛 레드(pale violet-red)", "mediumpurple": "미디엄 퍼플(medium purple)", "saddlebrown": "새들 브라운(saddle brown)", "darkmagenta": "다크 마젠타(dark magenta)", "thistle": "시슬(thistle)", "whitesmoke": "화이트 스모크(white smoke)", "wheat": "휘트(wheat)", "violet": "바이올렛(violet)", "lightskyblue": "라이트 스카이 블루(light sky blue)", "goldenrod": "골든로드(goldenrod)", "mediumblue": "미디엄 블루(medium blue)", "skyblue": "스카이 블루(sky blue)", "crimson": "크림슨(crimson)", "darksalmon": "다크 샐몬(dark salmon)", "darkred": "다크 레드(dark red)", "darkslategrey": "다크 슬레이트 그레이(dark slate gray)", "peru": "페루(peru)", "lightgrey": "라이트 그레이(light gray)", "lightgoldenrodyellow": "라이트 골든로드 옐로우(light goldenrod yellow)", "blanchedalmond": "블랜치 아몬드(blanched almond)", "aliceblue": "앨리스 블루(alice blue)", "bisque": "비스크(bisque)", "slategray": "슬레이트 그레이(slate gray)", "palegoldenrod": "페일 골든로드(pale goldenrod)", "darkorange": "다크 오렌지(dark orange)", "aquamarine": "아쿠아마린(aquamarine)", "lightgreen": "라이트 그린(light green)", "burlywood": "벌리우드(burlywood)", "dodgerblue": "다저 블루(dodger blue)", "darkgray": "다크 그레이(dark gray)", "lightcyan": "라이트 시안(light cyan)", "powderblue": "파우더 블루(powder blue)", "blueviolet": "블루 바이올렛(blue-violet)", "orchid": "오키드(orchid)", "dimgray": "딤 그레이(dim gray)", "beige": "베이지(beige)", "fuchsia": "후크샤(fuchsia)", "lavenderblush": "라벤더 블러쉬(lavender blush)", "hotpink": "핫 핑크(hot pink)", "steelblue": "스틸 블루(steel blue)", "tomato": "토마토(tomato)", "lightpink": "라이트 핑크(light pink)", "limegreen": "라임 그린(lime green)", "indianred": "인디안 레드(indian red)", "papayawhip": "파파야 휩(papaya whip)", "lightslategray": "라이트 슬레이트 그레이(light slate gray)", "gray": "그레이(gray)", "mediumorchid": "미디엄 오키드(medium orchid)", "cornsilk": "콘실크(cornsilk)", "black": "블랙(black)", "seagreen": "씨 그린(sea green)", "darkslateblue": "다크 슬레이트 블루(dark slate blue)", "khaki": "카키(khaki)", "lightblue": "라이트 블루(light blue)", "palegreen": "페일 그린(pale green)", "azure": "애쥬어(azure)", "peachpuff": "피치 퍼프(peach puff)", "darkolivegreen": "다크 올리브 그린(dark olive green)", "yellowgreen": "옐로우 그린(yellow green)"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.ko");dijit.nls.loading.ko={"loadingState": "로드 중...", "errorState": "죄송합니다. 오류가 발생했습니다."};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.ko");dijit.nls.Textarea.ko={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.ko");dijit._editor.nls.commands.ko={"removeFormat": "형식 제거", "copy": "복사", "paste": "붙여넣기", "selectAll": "모두 선택", "insertOrderedList": "번호 목록", "insertTable": "테이블 삽입/편집", "underline": "밑줄", "foreColor": "전경색", "htmlToggle": "HTML 소스", "formatBlock": "단락 양식", "insertHorizontalRule": "수평 자", "delete": "삭제", "insertUnorderedList": "글머리표 목록", "tableProp": "테이블 특성", "insertImage": "이미지 삽입", "superscript": "위첨자", "subscript": "아래첨자", "createLink": "링크 작성", "undo": "실행 취소", "italic": "이탤릭체", "fontName": "글꼴 이름", "justifyLeft": "왼쪽 맞춤", "unlink": "링크 제거", "toggleTableBorder": "토글 테이블 경계", "fontSize": "글꼴 크기", "indent": "들여쓰기", "redo": "다시 실행", "strikethrough": "취소선", "justifyFull": "양쪽 맞춤", "justifyCenter": "가운데 맞춤", "hiliteColor": "배경색", "deleteTable": "테이블 삭제", "outdent": "내어쓰기", "cut": "잘라내기", "plainFormatBlock": "단락 양식", "bold": "굵은체", "systemShortcutFF": "\"${0}\" 조치는 키보드 바로 가기를 사용하는 Mozilla Firefox에서만 사용 가능합니다. ${1} 사용.", "justifyRight": "오른쪽 맞춤", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.ko");dojo.cldr.nls.number.ko={"scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencyFormat": "¤ #,##0.00", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "group": ",", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "decimal": ".", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ko");dijit.nls.common.ko={"buttonCancel": "취소", "buttonSave": "저장", "buttonOk": "확인"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.ko");dijit.form.nls.validate.ko={"rangeMessage": "* 이 값은 범위를 벗어납니다. ", "invalidMessage": "* 입력한 값이 유효하지 않습니다. ", "missingMessage": "* 이 값은 필수입니다. "};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.ko");dijit.form.nls.ComboBox.ko={"previousMessage": "이전 선택사항", "nextMessage": "기타 선택사항"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.ko");dojo.cldr.nls.currency.ko={"HKD_displayName": "홍콩 달러", "CHF_displayName": "스위스 프랑달러", "JPY_symbol": "¥", "CAD_displayName": "캐나다 달러", "USD_symbol": "US$", "AUD_displayName": "호주 달러", "JPY_displayName": "일본 엔화", "USD_displayName": "미국 달러", "GBP_displayName": "영국령 파운드 스털링", "EUR_displayName": "유로화", "GBP_symbol": "£", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.ko");dojo.cldr.nls.gregorian.ko={"dateFormat-medium": "yyyy. MM. dd", "pm": "오후", "timeFormat-full": "a hh'시' mm'분' ss'초' z", "months-standAlone-narrow": ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"], "eraNames": ["서력기원전", "서력기원"], "am": "오전", "days-standAlone-narrow": ["일", "월", "화", "수", "목", "금", "토"], "timeFormat-medium": "a hh'시' mm'분'", "dateFormat-long": "yyyy'년' M'월' d'일'", "dateFormat-short": "yy. MM. dd", "months-format-wide": ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"], "timeFormat-short": "a hh'시' mm'분'", "months-format-abbr": ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"], "days-format-wide": ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일"], "timeFormat-long": "a hh'시' mm'분' ss'초'", "eraAbbr": ["기원전", "서기"], "dateFormat-full": "yyyy'년' M'월' d'일' EEEE", "days-format-abbr": ["일", "월", "화", "수", "목", "금", "토"], "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "field-weekday": "Day of the Week", "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Era": "{0} {1}", "quarters-format-wide": ["Q1", "Q2", "Q3", "Q4"]};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.ko");dijit.nls.Textarea.ko={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_pl.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_pl.js deleted file mode 100644 index cfe08d65..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_pl.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_pl");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.pl");dojo.nls.colors.pl={"lightsteelblue": "jasny stalowoniebieski", "orangered": "pomarańczowoczerwony", "midnightblue": "ciemnogranatowy", "cadetblue": "niebieskoszary", "seashell": "muszla", "slategrey": "łupkowy szary", "coral": "koralowy", "darkturquoise": "ciemnoturkusowy", "antiquewhite": "biel antyczna", "mediumspringgreen": "średnia wiosenna zieleń", "salmon": "łososiowy", "darkgrey": "ciemnoszary", "ivory": "kość słoniowa", "greenyellow": "zielonożółty", "mistyrose": "bladoróżany", "lightsalmon": "jasnołososiowy", "silver": "srebrny", "dimgrey": "przytłumiony szary", "orange": "pomarańczowy", "white": "biały", "navajowhite": "piaskowy", "royalblue": "błękit królewski", "deeppink": "głęboki różowy", "lime": "limetkowy", "oldlace": "bladopomarańczowy", "chartreuse": "jaskrawozielony", "darkcyan": "ciemny cyjan", "yellow": "żółty", "linen": "lniany", "olive": "oliwkowy", "gold": "złoty", "lawngreen": "trawiasty", "lightyellow": "jasnożółty", "tan": "kawowy", "darkviolet": "ciemnofioletowy", "lightslategrey": "jasny łupkowy szary", "grey": "szary", "darkkhaki": "ciemny khaki", "green": "zielony", "deepskyblue": "intensywny błękit nieba", "aqua": "wodny", "sienna": "siena", "mintcream": "jasnomiętowy", "rosybrown": "różowobrązowy", "mediumslateblue": "średni łupkowy niebieski", "magenta": "magenta", "lightseagreen": "jasna morska zieleń", "cyan": "cyjan", "olivedrab": "oliwkowa zieleń", "darkgoldenrod": "ciemnogliniany", "slateblue": "łupkowy niebieski", "mediumaquamarine": "średnia akwamaryna", "lavender": "lawendowy", "mediumseagreen": "średnia morska zieleń", "maroon": "bordowy", "darkslategray": "ciemny łupkowy szary", "mediumturquoise": "średni turkusowy", "ghostwhite": "bladobiały", "darkblue": "ciemnoniebieski", "mediumvioletred": "średni fioletowoczerwony", "brown": "brązowy", "lightgray": "jasnoszary", "sandybrown": "piaskowy brąz", "pink": "różowy", "firebrick": "ceglasty", "indigo": "indygo", "snow": "śnieżny", "darkorchid": "ciemna orchidea", "turquoise": "turkusowy", "chocolate": "czekoladowy", "springgreen": "wiosenna zieleń", "moccasin": "mokasynowy", "navy": "granatowy", "lemonchiffon": "cytrynowy", "teal": "cyrankowy", "floralwhite": "kwiatowa biel", "cornflowerblue": "chabrowy", "paleturquoise": "bladoturkusowy", "purple": "purpurowy", "gainsboro": "bladoszary", "plum": "śliwkowy", "red": "czerwony", "blue": "niebieski", "forestgreen": "leśna zieleń", "darkgreen": "ciemnozielony", "honeydew": "melon", "darkseagreen": "ciemna morska zieleń", "lightcoral": "jasnokoralowy", "palevioletred": "blady fioletowoczerwony", "mediumpurple": "średnia purpura", "saddlebrown": "skórzany brązowy", "darkmagenta": "ciemna magenta", "thistle": "bladofioletowy", "whitesmoke": "przydymiony biały", "wheat": "pszeniczny", "violet": "fioletowy", "lightskyblue": "jasny błękit nieba", "goldenrod": "gliniany", "mediumblue": "średni niebieski", "skyblue": "błękit nieba", "crimson": "karmazynowy", "darksalmon": "ciemnołososiowy", "darkred": "ciemnoczerwony", "darkslategrey": "ciemny łupkowy szary", "peru": "jasnobrązowy", "lightgrey": "jasnoszary", "lightgoldenrodyellow": "jasnogliniana żółć", "blanchedalmond": "migdałowy", "aliceblue": "bladoniebieski", "bisque": "biszkoptowy", "slategray": "łupkowy szary", "palegoldenrod": "bladogliniany", "darkorange": "ciemnopomarańczowy", "aquamarine": "akwamaryna", "lightgreen": "jasnozielony", "burlywood": "kolor drewna", "dodgerblue": "błękit Dodgers", "darkgray": "ciemnoszary", "lightcyan": "jasny cyjan", "powderblue": "pudrowy niebieski", "blueviolet": "niebieskofioletowy", "orchid": "orchidea", "dimgray": "przytłumiony szary", "beige": "beżowy", "fuchsia": "fuksja", "lavenderblush": "lawendoworóżowy", "hotpink": "intensywny różowy", "steelblue": "stalowy niebieski", "tomato": "pomidorowy", "lightpink": "jasnoróżowy", "limegreen": "limetkowozielony", "indianred": "kasztanowy", "papayawhip": "papaja", "lightslategray": "jasny łupkowy szary", "gray": "szary", "mediumorchid": "średnia orchidea", "cornsilk": "kukurydziany", "black": "czarny", "seagreen": "morska zieleń", "darkslateblue": "ciemny łupkowy niebieski", "khaki": "khaki", "lightblue": "jasnoniebieski", "palegreen": "bladozielony", "azure": "lazur", "peachpuff": "brzoskwiniowy", "darkolivegreen": "ciemnooliwkowy", "yellowgreen": "żółtozielony"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.pl");dijit.nls.loading.pl={"loadingState": "Trwa ładowanie...", "errorState": "Niestety, wystąpił błąd"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.pl");dijit.nls.Textarea.pl={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.pl");dijit._editor.nls.commands.pl={"removeFormat": "Usuń formatowanie", "copy": "Kopiuj", "paste": "Wklej", "selectAll": "Wybierz wszystko", "insertOrderedList": "Lista numerowana", "insertTable": "Wstaw/edytuj tabelę", "underline": "Podkreślenie", "foreColor": "Kolor pierwszego planu", "htmlToggle": "Źródło HTML", "formatBlock": "Styl akapitu", "insertHorizontalRule": "Linia pozioma", "delete": "Usuń", "insertUnorderedList": "Lista wypunktowana", "tableProp": "Właściwość tabeli", "insertImage": "Wstaw obraz", "superscript": "Indeks górny", "subscript": "Indeks dolny", "createLink": "Utwórz odsyłacz", "undo": "Cofnij", "italic": "Kursywa", "fontName": "Nazwa czcionki", "justifyLeft": "Wyrównaj do lewej", "unlink": "Usuń odsyłacz", "toggleTableBorder": "Przełącz ramkę tabeli", "fontSize": "Wielkość czcionki", "indent": "Wcięcie", "redo": "Przywróć", "strikethrough": "Przekreślenie", "justifyFull": "Wyrównaj do lewej i prawej", "justifyCenter": "Wyrównaj do środka", "hiliteColor": "Kolor tła", "deleteTable": "Usuń tabelę", "outdent": "Usuń wcięcie", "cut": "Wytnij", "plainFormatBlock": "Styl akapitu", "bold": "Pogrubienie", "systemShortcutFF": "Działanie \"${0}\" jest dostępne w przeglądarce Mozilla Firefox wyłącznie za pomocą skrótu klawiaturowego. Użyj ${1}.", "justifyRight": "Wyrównaj do prawej", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.pl");dojo.cldr.nls.number.pl={"scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencyFormat": "¤ #,##0.00", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "group": ",", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "decimal": ".", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.pl");dijit.nls.common.pl={"buttonCancel": "Anuluj", "buttonSave": "Zapisz", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.pl");dijit.form.nls.validate.pl={"rangeMessage": "* Ta wartość jest spoza zakresu.", "invalidMessage": "* Wprowadzona wartość nie jest poprawna.", "missingMessage": "* Ta wartość jest wymagana."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.pl");dijit.form.nls.ComboBox.pl={"previousMessage": "Poprzednie wybory", "nextMessage": "Więcej wyborów"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.pl");dojo.cldr.nls.currency.pl={"USD_symbol": "$", "EUR_displayName": "EUR", "GBP_displayName": "GBP", "JPY_displayName": "JPY", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€", "USD_displayName": "USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.pl");dojo.cldr.nls.gregorian.pl={"dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "eraNames": ["BCE", "CE"], "field-weekday": "Day of the Week", "months-standAlone-narrow": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "timeFormat-full": "HH:mm:ss z", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "days-standAlone-narrow": ["1", "2", "3", "4", "5", "6", "7"], "eraAbbr": ["BCE", "CE"], "dateFormat-long": "yyyy MMMM d", "timeFormat-medium": "HH:mm:ss", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "dateFormat-medium": "yyyy MMM d", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "timeFormat-long": "HH:mm:ss z", "months-format-abbr": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "timeFormat-short": "HH:mm", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "days-format-abbr": ["1", "2", "3", "4", "5", "6", "7"], "pm": "PM", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "am": "AM", "dateFormat-short": "yy/MM/dd", "dateFormat-full": "EEEE, yyyy MMMM dd", "months-format-wide": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "dateTimeFormats-appendItem-Era": "{0} {1}", "quarters-format-wide": ["Q1", "Q2", "Q3", "Q4"], "days-format-wide": ["1", "2", "3", "4", "5", "6", "7"]};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.pl");dijit.nls.Textarea.pl={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_pt-br.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_pt-br.js deleted file mode 100644 index b020fdce..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_pt-br.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_pt-br");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.pt_br");dojo.nls.colors.pt_br={"lightsteelblue": "azul metálico claro", "orangered": "vermelho-alaranjado", "midnightblue": "azul noturno", "cadetblue": "azul-cadete", "seashell": "concha marinha", "slategrey": "ardósia cinza", "coral": "coral", "darkturquoise": "turquesa-escuro", "antiquewhite": "branco velho", "mediumspringgreen": "verde primavera médio", "salmon": "salmão", "darkgrey": "cinza-escuro", "ivory": "marfim", "greenyellow": "verde-amarelado", "mistyrose": "rosa nublado", "lightsalmon": "salmão claro", "silver": "prata", "dimgrey": "cinza-escuro", "orange": "laranja", "white": "branco", "navajowhite": "branco navajo", "royalblue": "azul real", "deeppink": "rosa profundo", "lime": "lima", "oldlace": "fita velha", "chartreuse": "verde-amarelado", "darkcyan": "ciano-escuro", "yellow": "amarelo", "linen": "linho", "olive": "verde-oliva", "gold": "dourado", "lawngreen": "verde grama", "lightyellow": "amarelo-claro", "tan": "canela", "darkviolet": "violeta-escuro", "lightslategrey": "ardósia cinza-claro", "grey": "cinza", "darkkhaki": "cáqui-escuro", "green": "verde", "deepskyblue": "azul celeste profundo", "aqua": "azul-água", "sienna": "marrom-avermelhado", "mintcream": "menta", "rosybrown": "marrom rosado", "mediumslateblue": "ardósia azul médio", "magenta": "magenta", "lightseagreen": "verde-mar claro", "cyan": "ciano", "olivedrab": "verde-acastanhado", "darkgoldenrod": "ouro-escuro", "slateblue": "ardósia azul", "mediumaquamarine": "verde-azulado temperado", "lavender": "lavanda", "mediumseagreen": "verde mar temperado", "maroon": "castanho", "darkslategray": "ardósia cinza-escuro", "mediumturquoise": "turquesa médio", "ghostwhite": "branco sombreado", "darkblue": "azul-escuro", "mediumvioletred": "violeta avermelhado médio", "brown": "marrom", "lightgray": "cinza-claro", "sandybrown": "marrom arenoso", "pink": "rosado", "firebrick": "tijolo queimado", "indigo": "índigo", "snow": "branco neve", "darkorchid": "orquídea-escuro", "turquoise": "turquesa", "chocolate": "chocolate", "springgreen": "verde primavera", "moccasin": "mocassim", "navy": "marinho", "lemonchiffon": "gaze limão", "teal": "azul-esverdeado", "floralwhite": "branco floral", "cornflowerblue": "centáurea azul", "paleturquoise": "turquesa pálida", "purple": "púrpura", "gainsboro": "gainsboro", "plum": "ameixa", "red": "vermelho", "blue": "azul", "forestgreen": "verde floresta", "darkgreen": "verde-escuro", "honeydew": "verde mel", "darkseagreen": "verde-mar escuro", "lightcoral": "coral-claro", "palevioletred": "violeta pálida", "mediumpurple": "púrpura temperado", "saddlebrown": "marrom couro", "darkmagenta": "magenta-escuro", "thistle": "cardo", "whitesmoke": "branco esfumaçado", "wheat": "trigo", "violet": "violeta", "lightskyblue": "azul celeste claro", "goldenrod": "ouro", "mediumblue": "azul temperado", "skyblue": "azul celeste", "crimson": "carmim", "darksalmon": "salmão escuro", "darkred": "vermelho-escuro", "darkslategrey": "ardósia cinza-escuro", "peru": "peru", "lightgrey": "cinza-claro", "lightgoldenrodyellow": "amarelo-claro", "blanchedalmond": "branco-amêndoa", "aliceblue": "azul-bebê", "bisque": "biscuit", "slategray": "ardósia cinza", "palegoldenrod": "ouro pálido", "darkorange": "laranja-escuro", "aquamarine": "água-marinha", "lightgreen": "verde-claro", "burlywood": "madeira", "dodgerblue": "azul fugidio", "darkgray": "cinza-escuro", "lightcyan": "ciano-claro", "powderblue": "azul pólvora", "blueviolet": "violeta azulado", "orchid": "orquídea", "dimgray": "cinza-escuro", "beige": "bege", "fuchsia": "fúcsia", "lavenderblush": "lavanda avermelhada", "hotpink": "rosa quente", "steelblue": "azul metálico", "tomato": "vermelho tomate", "lightpink": "rosa-claro", "limegreen": "verde lima", "indianred": "vermelho oriental", "papayawhip": "mamão papaia", "lightslategray": "ardósia cinza-claro", "gray": "cinza", "mediumorchid": "orquídea temperado", "cornsilk": "fios de milho", "black": "preto", "seagreen": "verde-mar", "darkslateblue": "ardósia azul-escuro", "khaki": "cáqui", "lightblue": "azul-claro", "palegreen": "verde pálido", "azure": "azul-celeste", "peachpuff": "pêssego", "darkolivegreen": "verde-oliva escuro", "yellowgreen": "amarelo esverdeado"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.pt_br");dijit.nls.loading.pt_br={"loadingState": "Carregando...", "errorState": "Ocorreu um erro"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.pt_br");dijit.nls.Textarea.pt_br={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.pt_br");dijit._editor.nls.commands.pt_br={"removeFormat": "Remover Formato", "copy": "Copiar", "paste": "Colar", "selectAll": "Selecionar Todos", "insertOrderedList": "Lista Numerada", "insertTable": "Inserir/Editar Tabela", "underline": "Sublinhado", "foreColor": "Cor do Primeiro Plano", "htmlToggle": "Origem HTML", "formatBlock": "Estilo de Parágrafo", "insertHorizontalRule": "Régua Horizontal", "delete": "Excluir ", "insertUnorderedList": "Lista com Marcadores", "tableProp": "Propriedade da Tabela", "insertImage": "Inserir Imagem", "superscript": "Sobrescrito", "subscript": "Subscrito", "createLink": "Criar Link", "undo": "Desfazer", "italic": "Itálico", "fontName": "Nome da Fonte", "justifyLeft": "Alinhar pela Esquerda", "unlink": "Remover Link", "toggleTableBorder": "Alternar Moldura da Tabela", "fontSize": "Tamanho da Fonte", "indent": "Recuar", "redo": "Refazer", "strikethrough": "Tachado", "justifyFull": "Justificar", "justifyCenter": "Alinhar pelo Centro", "hiliteColor": "Cor de segundo plano", "deleteTable": "Excluir Tabela", "outdent": "Não-chanfrado", "cut": "Recortar", "plainFormatBlock": "Estilo de Parágrafo", "bold": "Negrito", "systemShortcutFF": "A ação \"${0}\" está disponível apenas no Mozilla Firefox utilizando um atalho do teclado. Utilize ${1}.", "justifyRight": "Alinhar pela Direita", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.pt_br");dojo.cldr.nls.number.pt_br={"group": ".", "decimal": ",", "scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencyFormat": "¤ #,##0.00", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.pt_br");dijit.nls.common.pt_br={"buttonCancel": "Cancelar ", "buttonSave": "Salvar", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.pt_br");dijit.form.nls.validate.pt_br={"rangeMessage": "* Esse valor está fora do intervalo.", "invalidMessage": "* O valor digitado não é válido.", "missingMessage": "* Esse valor é necessário."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.pt_br");dijit.form.nls.ComboBox.pt_br={"previousMessage": "Opções anteriores", "nextMessage": "Mais opções"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.pt_br");dojo.cldr.nls.currency.pt_br={"EUR_displayName": "Euro", "CHF_displayName": "Franco suíço", "HKD_displayName": "Dólar de Hong Kong", "CAD_displayName": "Dólar canadense", "GBP_displayName": "Libra esterlina britânica", "JPY_displayName": "Iene japonês", "AUD_displayName": "Dólar australiano", "USD_displayName": "Dólar norte-americano", "USD_symbol": "$", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.pt_br");dojo.cldr.nls.gregorian.pt_br={"field-hour": "Hora", "field-dayperiod": "Período do dia", "field-minute": "Minuto", "timeFormat-full": "HH'h'mm'min'ss's' z", "field-week": "Semana", "field-weekday": "Dia da semana", "field-second": "Segundo", "dateFormat-medium": "dd/MM/yyyy", "field-day": "Dia", "timeFormat-long": "H'h'm'min's's' z", "field-month": "Mês", "field-year": "Ano", "dateFormat-short": "dd/MM/yy", "field-zone": "Fuso", "eraAbbr": ["a.C.", "d.C."], "months-format-abbr": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez"], "dateFormat-full": "EEEE, d' de 'MMMM' de 'yyyy", "days-format-abbr": ["dom", "seg", "ter", "qua", "qui", "sex", "sáb"], "quarters-format-wide": ["1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"], "quarters-format-abbreviated": ["T1", "T2", "T3", "T4"], "months-format-wide": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro"], "months-standAlone-narrow": ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "days-standAlone-narrow": ["D", "S", "T", "Q", "Q", "S", "S"], "dateFormat-long": "d' de 'MMMM' de 'yyyy", "days-format-wide": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "eraNames": ["BCE", "CE"], "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "timeFormat-medium": "HH:mm:ss", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "dateTimeFormat": "{1} {0}", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "timeFormat-short": "HH:mm", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "pm": "PM", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "am": "AM", "dateTimeFormats-appendItem-Era": "{0} {1}"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.pt_br");dijit.nls.Textarea.pt_br={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_pt.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_pt.js deleted file mode 100644 index 1d112101..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_pt.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_pt");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.pt");dojo.nls.colors.pt={"lightsteelblue": "azul metálico claro", "orangered": "vermelho-alaranjado", "midnightblue": "azul noturno", "cadetblue": "azul-cadete", "seashell": "concha marinha", "slategrey": "ardósia cinza", "coral": "coral", "darkturquoise": "turquesa-escuro", "antiquewhite": "branco velho", "mediumspringgreen": "verde primavera médio", "salmon": "salmão", "darkgrey": "cinza-escuro", "ivory": "marfim", "greenyellow": "verde-amarelado", "mistyrose": "rosa nublado", "lightsalmon": "salmão claro", "silver": "prata", "dimgrey": "cinza-escuro", "orange": "laranja", "white": "branco", "navajowhite": "branco navajo", "royalblue": "azul real", "deeppink": "rosa profundo", "lime": "lima", "oldlace": "fita velha", "chartreuse": "verde-amarelado", "darkcyan": "ciano-escuro", "yellow": "amarelo", "linen": "linho", "olive": "verde-oliva", "gold": "dourado", "lawngreen": "verde grama", "lightyellow": "amarelo-claro", "tan": "canela", "darkviolet": "violeta-escuro", "lightslategrey": "ardósia cinza-claro", "grey": "cinza", "darkkhaki": "cáqui-escuro", "green": "verde", "deepskyblue": "azul celeste profundo", "aqua": "azul-água", "sienna": "marrom-avermelhado", "mintcream": "menta", "rosybrown": "marrom rosado", "mediumslateblue": "ardósia azul médio", "magenta": "magenta", "lightseagreen": "verde-mar claro", "cyan": "ciano", "olivedrab": "verde-acastanhado", "darkgoldenrod": "ouro-escuro", "slateblue": "ardósia azul", "mediumaquamarine": "verde-azulado temperado", "lavender": "lavanda", "mediumseagreen": "verde mar temperado", "maroon": "castanho", "darkslategray": "ardósia cinza-escuro", "mediumturquoise": "turquesa médio", "ghostwhite": "branco sombreado", "darkblue": "azul-escuro", "mediumvioletred": "violeta avermelhado médio", "brown": "marrom", "lightgray": "cinza-claro", "sandybrown": "marrom arenoso", "pink": "rosado", "firebrick": "tijolo queimado", "indigo": "índigo", "snow": "branco neve", "darkorchid": "orquídea-escuro", "turquoise": "turquesa", "chocolate": "chocolate", "springgreen": "verde primavera", "moccasin": "mocassim", "navy": "marinho", "lemonchiffon": "gaze limão", "teal": "azul-esverdeado", "floralwhite": "branco floral", "cornflowerblue": "centáurea azul", "paleturquoise": "turquesa pálida", "purple": "púrpura", "gainsboro": "gainsboro", "plum": "ameixa", "red": "vermelho", "blue": "azul", "forestgreen": "verde floresta", "darkgreen": "verde-escuro", "honeydew": "verde mel", "darkseagreen": "verde-mar escuro", "lightcoral": "coral-claro", "palevioletred": "violeta pálida", "mediumpurple": "púrpura temperado", "saddlebrown": "marrom couro", "darkmagenta": "magenta-escuro", "thistle": "cardo", "whitesmoke": "branco esfumaçado", "wheat": "trigo", "violet": "violeta", "lightskyblue": "azul celeste claro", "goldenrod": "ouro", "mediumblue": "azul temperado", "skyblue": "azul celeste", "crimson": "carmim", "darksalmon": "salmão escuro", "darkred": "vermelho-escuro", "darkslategrey": "ardósia cinza-escuro", "peru": "peru", "lightgrey": "cinza-claro", "lightgoldenrodyellow": "amarelo-claro", "blanchedalmond": "branco-amêndoa", "aliceblue": "azul-bebê", "bisque": "biscuit", "slategray": "ardósia cinza", "palegoldenrod": "ouro pálido", "darkorange": "laranja-escuro", "aquamarine": "água-marinha", "lightgreen": "verde-claro", "burlywood": "madeira", "dodgerblue": "azul fugidio", "darkgray": "cinza-escuro", "lightcyan": "ciano-claro", "powderblue": "azul pólvora", "blueviolet": "violeta azulado", "orchid": "orquídea", "dimgray": "cinza-escuro", "beige": "bege", "fuchsia": "fúcsia", "lavenderblush": "lavanda avermelhada", "hotpink": "rosa quente", "steelblue": "azul metálico", "tomato": "vermelho tomate", "lightpink": "rosa-claro", "limegreen": "verde lima", "indianred": "vermelho oriental", "papayawhip": "mamão papaia", "lightslategray": "ardósia cinza-claro", "gray": "cinza", "mediumorchid": "orquídea temperado", "cornsilk": "fios de milho", "black": "preto", "seagreen": "verde-mar", "darkslateblue": "ardósia azul-escuro", "khaki": "cáqui", "lightblue": "azul-claro", "palegreen": "verde pálido", "azure": "azul-celeste", "peachpuff": "pêssego", "darkolivegreen": "verde-oliva escuro", "yellowgreen": "amarelo esverdeado"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.pt");dijit.nls.loading.pt={"loadingState": "Carregando...", "errorState": "Ocorreu um erro"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.pt");dijit.nls.Textarea.pt={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.pt");dijit._editor.nls.commands.pt={"removeFormat": "Remover Formato", "copy": "Copiar", "paste": "Colar", "selectAll": "Selecionar Todos", "insertOrderedList": "Lista Numerada", "insertTable": "Inserir/Editar Tabela", "underline": "Sublinhado", "foreColor": "Cor do Primeiro Plano", "htmlToggle": "Origem HTML", "formatBlock": "Estilo de Parágrafo", "insertHorizontalRule": "Régua Horizontal", "delete": "Excluir ", "insertUnorderedList": "Lista com Marcadores", "tableProp": "Propriedade da Tabela", "insertImage": "Inserir Imagem", "superscript": "Sobrescrito", "subscript": "Subscrito", "createLink": "Criar Link", "undo": "Desfazer", "italic": "Itálico", "fontName": "Nome da Fonte", "justifyLeft": "Alinhar pela Esquerda", "unlink": "Remover Link", "toggleTableBorder": "Alternar Moldura da Tabela", "fontSize": "Tamanho da Fonte", "indent": "Recuar", "redo": "Refazer", "strikethrough": "Tachado", "justifyFull": "Justificar", "justifyCenter": "Alinhar pelo Centro", "hiliteColor": "Cor de segundo plano", "deleteTable": "Excluir Tabela", "outdent": "Não-chanfrado", "cut": "Recortar", "plainFormatBlock": "Estilo de Parágrafo", "bold": "Negrito", "systemShortcutFF": "A ação \"${0}\" está disponível apenas no Mozilla Firefox utilizando um atalho do teclado. Utilize ${1}.", "justifyRight": "Alinhar pela Direita", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.pt");dojo.cldr.nls.number.pt={"group": ".", "decimal": ",", "scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencyFormat": "¤ #,##0.00", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.pt");dijit.nls.common.pt={"buttonCancel": "Cancelar ", "buttonSave": "Salvar", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.pt");dijit.form.nls.validate.pt={"rangeMessage": "* Esse valor está fora do intervalo.", "invalidMessage": "* O valor digitado não é válido.", "missingMessage": "* Esse valor é necessário."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.pt");dijit.form.nls.ComboBox.pt={"previousMessage": "Opções anteriores", "nextMessage": "Mais opções"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.pt");dojo.cldr.nls.currency.pt={"EUR_displayName": "Euro", "CHF_displayName": "Franco suíço", "HKD_displayName": "Dólar de Hong Kong", "CAD_displayName": "Dólar canadense", "GBP_displayName": "Libra esterlina britânica", "JPY_displayName": "Iene japonês", "AUD_displayName": "Dólar australiano", "USD_displayName": "Dólar norte-americano", "USD_symbol": "$", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.pt");dojo.cldr.nls.gregorian.pt={"timeFormat-full": "HH'H'mm'm'ss's' z", "eraAbbr": ["a.C.", "d.C."], "dateFormat-medium": "d/MMM/yyyy", "months-format-abbr": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez"], "dateFormat-full": "EEEE, d' de 'MMMM' de 'yyyy", "days-format-abbr": ["dom", "seg", "ter", "qua", "qui", "sex", "sáb"], "quarters-format-wide": ["1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"], "dateFormat-short": "dd-MM-yyyy", "quarters-format-abbreviated": ["T1", "T2", "T3", "T4"], "months-format-wide": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro"], "months-standAlone-narrow": ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], "days-standAlone-narrow": ["D", "S", "T", "Q", "Q", "S", "S"], "dateFormat-long": "d' de 'MMMM' de 'yyyy", "days-format-wide": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "eraNames": ["BCE", "CE"], "field-weekday": "Day of the Week", "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "timeFormat-medium": "HH:mm:ss", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "timeFormat-long": "HH:mm:ss z", "timeFormat-short": "HH:mm", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "pm": "PM", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "am": "AM", "dateTimeFormats-appendItem-Era": "{0} {1}"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.pt");dijit.nls.Textarea.pt={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ru.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ru.js deleted file mode 100644 index b219030b..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_ru.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_ru");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.ru");dojo.nls.colors.ru={"lightsteelblue": "светлый стальной", "orangered": "оранжево-красный", "midnightblue": "полуночно-синий", "cadetblue": "серо-синий", "seashell": "морская раковина", "slategrey": "грифельно-серый", "coral": "коралловый", "darkturquoise": "темный бирюзовый", "antiquewhite": "белый антик", "mediumspringgreen": "нейтральный весенне-зеленый", "salmon": "лососевый", "darkgrey": "темно-серый", "ivory": "слоновой кости", "greenyellow": "зелено-желтый", "mistyrose": "блекло-розовый", "lightsalmon": "светло-лососевый", "silver": "серебристый", "dimgrey": "тускло-серый", "orange": "оранжевый", "white": "белый", "navajowhite": "белый навахо", "royalblue": "королевский голубой", "deeppink": "темно-розовый", "lime": "лайм", "oldlace": "матово-белый", "chartreuse": "желто-салатный", "darkcyan": "темный циан", "yellow": "желтый", "linen": "хлопковый", "olive": "оливковый", "gold": "золотой", "lawngreen": "зеленая лужайка", "lightyellow": "светло-желтый", "tan": "рыжевато-коричневый", "darkviolet": "темно-фиолетовый", "lightslategrey": "светлый грифельно-серый", "grey": "серый", "darkkhaki": "темный хаки", "green": "зеленый", "deepskyblue": "темный небесно-голубой", "aqua": "зеленовато-голубой", "sienna": "охра", "mintcream": "мятно-кремовый", "rosybrown": "розово-коричневый", "mediumslateblue": "нейтральный грифельно-синий", "magenta": "пурпурный", "lightseagreen": "светлый морской волны", "cyan": "циан", "olivedrab": "желтовато-серый", "darkgoldenrod": "темно-золотистый", "slateblue": "грифельно-синий", "mediumaquamarine": "нейтральный аквамарин", "lavender": "бледно-лиловый", "mediumseagreen": "нейтральный морской волны", "maroon": "темно-бордовый", "darkslategray": "темный грифельно-серый", "mediumturquoise": "нейтральный бирюзовый", "ghostwhite": "призрачно-белый", "darkblue": "темно-синий", "mediumvioletred": "нейтральный фиолетово-красный", "brown": "коричневый", "lightgray": "светло-серый", "sandybrown": "коричнево-песчаный", "pink": "розовый", "firebrick": "кирпичный", "indigo": "индиго", "snow": "белоснежный", "darkorchid": "темный орсель", "turquoise": "бирюзовый", "chocolate": "шоколадный", "springgreen": "весенний зеленый", "moccasin": "мокасин", "navy": "темно-синий", "lemonchiffon": "бледно-лимонный", "teal": "чирок", "floralwhite": "цветочно-белый", "cornflowerblue": "фиолетово-синий", "paleturquoise": "бледно-бирюзовый", "purple": "фиолетовый", "gainsboro": "бледно-серый", "plum": "сливовый", "red": "красный", "blue": "синий", "forestgreen": "зеленый лесной", "darkgreen": "темно-зеленый", "honeydew": "медовый", "darkseagreen": "темный морской волны", "lightcoral": "светло-коралловый", "palevioletred": "бледный фиолетово-красный", "mediumpurple": "нейтральный фиолетовый", "saddlebrown": "кожано-коричневый", "darkmagenta": "темно-пурпурный", "thistle": "чертополох", "whitesmoke": "дымчато-белый", "wheat": "пшеница", "violet": "фиолетовый", "lightskyblue": "светлый небесно-голубой", "goldenrod": "золотистый", "mediumblue": "нейтральный синий", "skyblue": "небесно-голубой", "crimson": "малиновый", "darksalmon": "темно-лососевый", "darkred": "темно-красный", "darkslategrey": "темный грифельно-серый", "peru": "перу", "lightgrey": "светло-серый", "lightgoldenrodyellow": "светло-золотистый", "blanchedalmond": "светло-миндальный", "aliceblue": "серо-голубой", "bisque": "бисквитный", "slategray": "грифельно-серый", "palegoldenrod": "бледно-золотистый", "darkorange": "темно-оранжевый", "aquamarine": "аквамарин", "lightgreen": "светло-зеленый", "burlywood": "светло-коричневый", "dodgerblue": "бледно-синий", "darkgray": "темно-серый", "lightcyan": "светлый циан", "powderblue": "пороховой", "blueviolet": "сине-фиолетовый", "orchid": "орсель", "dimgray": "тускло-серый", "beige": "бежевый", "fuchsia": "фуксин", "lavenderblush": "розовато-лиловый", "hotpink": "красно-розовый", "steelblue": "стальной", "tomato": "помидор", "lightpink": "светло-розовый", "limegreen": "зеленый лайм", "indianred": "индийский красный", "papayawhip": "черенок папайи", "lightslategray": "светлый грифельно-серый", "gray": "серый", "mediumorchid": "нейтральный орсель", "cornsilk": "шелковый оттенок", "black": "черный", "seagreen": "морской волны", "darkslateblue": "темный грифельно-синий", "khaki": "хаки", "lightblue": "светло-синий", "palegreen": "бледно-зеленый", "azure": "лазурный", "peachpuff": "персиковый", "darkolivegreen": "темно-оливковый", "yellowgreen": "желто-зеленый"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.ru");dijit.nls.loading.ru={"loadingState": "Загрузка...", "errorState": "Извините, возникла ошибка"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.ru");dijit.nls.Textarea.ru={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.ru");dijit._editor.nls.commands.ru={"removeFormat": "Удалить формат", "copy": "Копировать", "paste": "Вставить", "selectAll": "Выбрать все", "insertOrderedList": "Нумерованный список", "insertTable": "Вставить/изменить таблицу", "underline": "Подчеркивание", "foreColor": "Цвет текста", "htmlToggle": "Код HTML", "formatBlock": "Стиль абзаца", "insertHorizontalRule": "Горизонтальная линейка", "delete": "Удалить", "insertUnorderedList": "Список с маркерами", "tableProp": "Свойства таблицы", "insertImage": "Вставить изображение", "superscript": "Верхний индекс", "subscript": "Нижний индекс", "createLink": "Создать ссылку", "undo": "Отменить", "italic": "Курсив", "fontName": "Название шрифта", "justifyLeft": "По левому краю", "unlink": "Удалить ссылку", "toggleTableBorder": "Переключить рамку таблицы", "fontSize": "Размер шрифта", "indent": "Отступ", "redo": "Повторить", "strikethrough": "Перечеркивание", "justifyFull": "По ширине", "justifyCenter": "По центру", "hiliteColor": "Цвет фона", "deleteTable": "Удалить таблицу", "outdent": "Втяжка", "cut": "Вырезать", "plainFormatBlock": "Стиль абзаца", "bold": "Полужирный", "systemShortcutFF": "Действие \"${0}\" доступно в Mozilla Firefox только через сочетание клавиш. Используйте ${1}.", "justifyRight": "По правому краю", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.ru");dojo.cldr.nls.number.ru={"scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencyFormat": "¤ #,##0.00", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "group": ",", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "decimal": ".", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.ru");dijit.nls.common.ru={"buttonCancel": "Отмена", "buttonSave": "Сохранить", "buttonOk": "ОК"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.ru");dijit.form.nls.validate.ru={"rangeMessage": "* Это значение вне диапазона.", "invalidMessage": "* Указано недопустимое значение.", "missingMessage": "* Это обязательное значение."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.ru");dijit.form.nls.ComboBox.ru={"previousMessage": "Предыдущие варианты", "nextMessage": "Следующие варианты"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.ru");dojo.cldr.nls.currency.ru={"USD_symbol": "$", "EUR_displayName": "EUR", "GBP_displayName": "GBP", "JPY_displayName": "JPY", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€", "USD_displayName": "USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.ru");dojo.cldr.nls.gregorian.ru={"dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "eraNames": ["BCE", "CE"], "field-weekday": "Day of the Week", "months-standAlone-narrow": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "timeFormat-full": "HH:mm:ss z", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "days-standAlone-narrow": ["1", "2", "3", "4", "5", "6", "7"], "eraAbbr": ["BCE", "CE"], "dateFormat-long": "yyyy MMMM d", "timeFormat-medium": "HH:mm:ss", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "dateFormat-medium": "yyyy MMM d", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "timeFormat-long": "HH:mm:ss z", "months-format-abbr": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "timeFormat-short": "HH:mm", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "days-format-abbr": ["1", "2", "3", "4", "5", "6", "7"], "pm": "PM", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "am": "AM", "dateFormat-short": "yy/MM/dd", "dateFormat-full": "EEEE, yyyy MMMM dd", "months-format-wide": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "dateTimeFormats-appendItem-Era": "{0} {1}", "quarters-format-wide": ["Q1", "Q2", "Q3", "Q4"], "days-format-wide": ["1", "2", "3", "4", "5", "6", "7"]};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.ru");dijit.nls.Textarea.ru={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_xx.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_xx.js deleted file mode 100644 index cf6422b1..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_xx.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_xx");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.xx");dojo.nls.colors.xx={"lightsteelblue": "light steel blue", "orangered": "orange red", "midnightblue": "midnight blue", "cadetblue": "cadet blue", "seashell": "seashell", "slategrey": "slate gray", "coral": "coral", "darkturquoise": "dark turquoise", "antiquewhite": "antique white", "mediumspringgreen": "medium spring green", "salmon": "salmon", "darkgrey": "dark gray", "ivory": "ivory", "greenyellow": "green-yellow", "mistyrose": "misty rose", "lightsalmon": "light salmon", "silver": "silver", "dimgrey": "dim gray", "orange": "orange", "white": "white", "navajowhite": "navajo white", "royalblue": "royal blue", "deeppink": "deep pink", "lime": "lime", "oldlace": "old lace", "chartreuse": "chartreuse", "darkcyan": "dark cyan", "yellow": "yellow", "linen": "linen", "olive": "olive", "gold": "gold", "lawngreen": "lawn green", "lightyellow": "light yellow", "tan": "tan", "darkviolet": "dark violet", "lightslategrey": "light slate gray", "grey": "gray", "darkkhaki": "dark khaki", "green": "green", "deepskyblue": "deep sky blue", "aqua": "aqua", "sienna": "sienna", "mintcream": "mint cream", "rosybrown": "rosy brown", "mediumslateblue": "medium slate blue", "magenta": "magenta", "lightseagreen": "light sea green", "cyan": "cyan", "olivedrab": "olive drab", "darkgoldenrod": "dark goldenrod", "slateblue": "slate blue", "mediumaquamarine": "medium aquamarine", "lavender": "lavender", "mediumseagreen": "medium sea green", "maroon": "maroon", "darkslategray": "dark slate gray", "mediumturquoise": "medium turquoise", "ghostwhite": "ghost white", "darkblue": "dark blue", "mediumvioletred": "medium violet-red", "brown": "brown", "lightgray": "light gray", "sandybrown": "sandy brown", "pink": "pink", "firebrick": "fire brick", "indigo": "indigo", "snow": "snow", "darkorchid": "dark orchid", "turquoise": "turquoise", "chocolate": "chocolate", "springgreen": "spring green", "moccasin": "moccasin", "navy": "navy", "lemonchiffon": "lemon chiffon", "teal": "teal", "floralwhite": "floral white", "cornflowerblue": "cornflower blue", "paleturquoise": "pale turquoise", "purple": "purple", "gainsboro": "gainsboro", "plum": "plum", "red": "red", "blue": "blue", "forestgreen": "forest green", "darkgreen": "dark green", "honeydew": "honeydew", "darkseagreen": "dark sea green", "lightcoral": "light coral", "palevioletred": "pale violet-red", "mediumpurple": "medium purple", "saddlebrown": "saddle brown", "darkmagenta": "dark magenta", "thistle": "thistle", "whitesmoke": "white smoke", "wheat": "wheat", "violet": "violet", "lightskyblue": "light sky blue", "goldenrod": "goldenrod", "mediumblue": "medium blue", "skyblue": "sky blue", "crimson": "crimson", "darksalmon": "dark salmon", "darkred": "dark red", "darkslategrey": "dark slate gray", "peru": "peru", "lightgrey": "light gray", "lightgoldenrodyellow": "light goldenrod yellow", "blanchedalmond": "blanched almond", "aliceblue": "alice blue", "bisque": "bisque", "slategray": "slate gray", "palegoldenrod": "pale goldenrod", "darkorange": "dark orange", "aquamarine": "aquamarine", "lightgreen": "light green", "burlywood": "burlywood", "dodgerblue": "dodger blue", "darkgray": "dark gray", "lightcyan": "light cyan", "powderblue": "powder blue", "blueviolet": "blue-violet", "orchid": "orchid", "dimgray": "dim gray", "beige": "beige", "fuchsia": "fuchsia", "lavenderblush": "lavender blush", "hotpink": "hot pink", "steelblue": "steel blue", "tomato": "tomato", "lightpink": "light pink", "limegreen": "lime green", "indianred": "indian red", "papayawhip": "papaya whip", "lightslategray": "light slate gray", "gray": "gray", "mediumorchid": "medium orchid", "cornsilk": "cornsilk", "black": "black", "seagreen": "sea green", "darkslateblue": "dark slate blue", "khaki": "khaki", "lightblue": "light blue", "palegreen": "pale green", "azure": "azure", "peachpuff": "peach puff", "darkolivegreen": "dark olive green", "yellowgreen": "yellow green"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.xx");dijit.nls.loading.xx={"loadingState": "Loading...", "errorState": "Sorry, an error occurred"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.xx");dijit.nls.Textarea.xx={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.xx");dijit._editor.nls.commands.xx={"removeFormat": "Remove Format", "copy": "Copy", "paste": "Paste", "selectAll": "Select All", "insertOrderedList": "Numbered List", "insertTable": "Insert/Edit Table", "underline": "Underline", "foreColor": "Foreground Color", "htmlToggle": "HTML Source", "formatBlock": "Paragraph Style", "insertHorizontalRule": "Horizontal Rule", "delete": "Delete", "appleKey": "⌘${0}", "insertUnorderedList": "Bullet List", "tableProp": "Table Property", "insertImage": "Insert Image", "superscript": "Superscript", "subscript": "Subscript", "createLink": "Create Link", "undo": "Undo", "italic": "Italic", "fontName": "Font Name", "justifyLeft": "Align Left", "unlink": "Remove Link", "toggleTableBorder": "Toggle Table Border", "ctrlKey": "ctrl+${0}", "fontSize": "Font Size", "indent": "Indent", "redo": "Redo", "strikethrough": "Strikethrough", "justifyFull": "Justify", "justifyCenter": "Align Center", "hiliteColor": "Background Color", "deleteTable": "Delete Table", "outdent": "Outdent", "cut": "Cut", "plainFormatBlock": "Paragraph Style", "bold": "Bold", "systemShortcutFF": "The \"${0}\" action is only available in Mozilla Firefox using a keyboard shortcut. Use ${1}.", "justifyRight": "Align Right"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.xx");dojo.cldr.nls.number.xx={"scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencyFormat": "¤ #,##0.00", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "group": ",", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "decimal": ".", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.xx");dijit.nls.common.xx={"buttonCancel": "Cancel", "buttonSave": "Save", "buttonOk": "OK"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.xx");dijit.form.nls.validate.xx={"rangeMessage": "* This value is out of range.", "invalidMessage": "* The value entered is not valid.", "missingMessage": "* This value is required."};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.xx");dijit.form.nls.ComboBox.xx={"previousMessage": "Previous choices", "nextMessage": "More choices"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.xx");dojo.cldr.nls.currency.xx={"USD_symbol": "$", "EUR_displayName": "EUR", "GBP_displayName": "GBP", "JPY_displayName": "JPY", "GBP_symbol": "£", "JPY_symbol": "¥", "EUR_symbol": "€", "USD_displayName": "USD"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.xx");dojo.cldr.nls.gregorian.xx={"dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "eraNames": ["BCE", "CE"], "field-weekday": "Day of the Week", "months-standAlone-narrow": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "timeFormat-full": "HH:mm:ss z", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "days-standAlone-narrow": ["1", "2", "3", "4", "5", "6", "7"], "eraAbbr": ["BCE", "CE"], "dateFormat-long": "yyyy MMMM d", "timeFormat-medium": "HH:mm:ss", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "dateFormat-medium": "yyyy MMM d", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "timeFormat-long": "HH:mm:ss z", "months-format-abbr": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "timeFormat-short": "HH:mm", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "days-format-abbr": ["1", "2", "3", "4", "5", "6", "7"], "pm": "PM", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "am": "AM", "dateFormat-short": "yy/MM/dd", "dateFormat-full": "EEEE, yyyy MMMM dd", "months-format-wide": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], "dateTimeFormats-appendItem-Era": "{0} {1}", "quarters-format-wide": ["Q1", "Q2", "Q3", "Q4"], "days-format-wide": ["1", "2", "3", "4", "5", "6", "7"]};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.xx");dijit.nls.Textarea.xx={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_zh-cn.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_zh-cn.js deleted file mode 100644 index cf649e48..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_zh-cn.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_zh-cn");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.zh_cn");dojo.nls.colors.zh_cn={"lightsteelblue": "浅钢蓝色", "orangered": "橙红色", "midnightblue": "深蓝色", "cadetblue": "灰蓝色", "seashell": "海贝色", "slategrey": "灰石色", "coral": "珊瑚色", "darkturquoise": "深粉蓝", "antiquewhite": "古董白", "mediumspringgreen": "间春绿色", "salmon": "橙红", "darkgrey": "深灰色", "ivory": "象牙色", "greenyellow": "绿黄色", "mistyrose": "浅玫瑰色", "lightsalmon": "淡橙色", "silver": "银白色", "dimgrey": "暗灰色", "orange": "橙色", "white": "白色", "navajowhite": "纳瓦白", "royalblue": "品蓝", "deeppink": "深粉红色", "lime": "淡黄绿色", "oldlace": "老白色", "chartreuse": "黄绿色", "darkcyan": "深青绿", "yellow": "黄色", "linen": "亚麻色", "olive": "橄榄绿", "gold": "金黄色", "lawngreen": "草绿色", "lightyellow": "浅黄色", "tan": "棕褐色", "darkviolet": "深紫色", "lightslategrey": "浅青灰", "grey": "灰色", "darkkhaki": "深卡其色", "green": "绿色", "deepskyblue": "深天蓝色", "aqua": "浅绿色", "sienna": "赭色", "mintcream": "薄荷色", "rosybrown": "褐玫瑰红", "mediumslateblue": "间暗蓝色", "magenta": "洋红色", "lightseagreen": "浅海藻绿", "cyan": "青蓝色", "olivedrab": "草绿色", "darkgoldenrod": "深金黄", "slateblue": "石蓝色", "mediumaquamarine": "间绿色", "lavender": "淡紫色", "mediumseagreen": "间海蓝色", "maroon": "栗色", "darkslategray": "深青灰", "mediumturquoise": "间绿宝石色", "ghostwhite": "苍白", "darkblue": "深蓝", "mediumvioletred": "间紫罗兰色", "brown": "棕色", "lightgray": "浅灰色", "sandybrown": "沙褐色", "pink": "粉红色", "firebrick": "砖红", "indigo": "靛青", "snow": "雪白色", "darkorchid": "深紫色", "turquoise": "绿宝石色", "chocolate": "巧克力色", "springgreen": "春绿色", "moccasin": "鹿皮色", "navy": "深蓝色", "lemonchiffon": "柠檬绸色", "teal": "水鸭色", "floralwhite": "花白色", "cornflowerblue": "浅蓝色", "paleturquoise": "苍绿色", "purple": "紫色", "gainsboro": "淡灰色", "plum": "杨李色", "red": "红色", "blue": "蓝色", "forestgreen": "森林绿", "darkgreen": "深绿色", "honeydew": "蜜汁色", "darkseagreen": "深海藻绿", "lightcoral": "浅珊瑚色", "palevioletred": "苍紫罗兰色", "mediumpurple": "间紫色", "saddlebrown": "重褐色", "darkmagenta": "深洋红色", "thistle": "蓟色", "whitesmoke": "烟白色", "wheat": "浅黄色", "violet": "紫色", "lightskyblue": "浅天蓝色", "goldenrod": "金麒麟色", "mediumblue": "间蓝色", "skyblue": "天蓝色", "crimson": "深红色", "darksalmon": "深橙红", "darkred": "深红色", "darkslategrey": "深青灰", "peru": "秘鲁色", "lightgrey": "浅灰色", "lightgoldenrodyellow": "浅金黄色", "blanchedalmond": "白杏色", "aliceblue": "爱丽丝蓝", "bisque": "桔黄色", "slategray": "灰石色", "palegoldenrod": "淡金黄色", "darkorange": "深橙色", "aquamarine": "碧绿色", "lightgreen": "浅绿色", "burlywood": "实木色", "dodgerblue": "闪蓝色", "darkgray": "深灰色", "lightcyan": "浅青色", "powderblue": "铁蓝", "blueviolet": "紫罗兰色", "orchid": "紫色", "dimgray": "暗灰色", "beige": "米色", "fuchsia": "紫红色", "lavenderblush": "淡紫红", "hotpink": "深粉红", "steelblue": "钢蓝色", "tomato": "西红柿色", "lightpink": "浅粉红色", "limegreen": "橙绿色", "indianred": "印度红", "papayawhip": "木瓜色", "lightslategray": "浅青灰", "gray": "灰色", "mediumorchid": "间紫色", "cornsilk": "米绸色", "black": "黑色", "seagreen": "海绿色", "darkslateblue": "深青蓝", "khaki": "卡其色", "lightblue": "淡蓝色", "palegreen": "淡绿色", "azure": "天蓝色", "peachpuff": "桃色", "darkolivegreen": "深橄榄绿", "yellowgreen": "黄绿色"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.zh_cn");dijit.nls.loading.zh_cn={"loadingState": "正在装入...", "errorState": "对不起,发生了错误"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.zh_cn");dijit.nls.Textarea.zh_cn={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.zh_cn");dijit._editor.nls.commands.zh_cn={"removeFormat": "除去格式", "copy": "复制", "paste": "粘贴", "selectAll": "全选", "insertOrderedList": "编号列表", "insertTable": "插入/编辑表", "underline": "下划线", "foreColor": "前景色", "htmlToggle": "HTML 源代码", "formatBlock": "段落样式", "insertHorizontalRule": "水平线", "delete": "删除", "insertUnorderedList": "符号列表", "tableProp": "表属性", "insertImage": "插入图像", "superscript": "上标", "subscript": "下标", "createLink": "创建链接", "undo": "撤销", "italic": "斜体", "fontName": "字体名称", "justifyLeft": "左对齐", "unlink": "除去链接", "toggleTableBorder": "切换表边框", "fontSize": "字体大小", "indent": "增加缩进", "redo": "重做", "strikethrough": "删除线", "justifyFull": "对齐", "justifyCenter": "居中", "hiliteColor": "背景色", "deleteTable": "删除表", "outdent": "减少缩进", "cut": "剪切", "plainFormatBlock": "段落样式", "bold": "粗体", "systemShortcutFF": "只能在 Mozilla Firefox 中通过键盘快捷方式执行“${0}”操作。请使用 ${1}。", "justifyRight": "右对齐", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.zh_cn");dojo.cldr.nls.number.zh_cn={"currencyFormat": "¤#,##0.00", "scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "group": ",", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "decimal": ".", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.zh_cn");dijit.nls.common.zh_cn={"buttonCancel": "取消", "buttonSave": "保存", "buttonOk": "确定"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.zh_cn");dijit.form.nls.validate.zh_cn={"rangeMessage": "* 输入数据超出值域。", "invalidMessage": "* 非法的输入值。", "missingMessage": "* 此值是必须的。"};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.zh_cn");dijit.form.nls.ComboBox.zh_cn={"previousMessage": "先前选项", "nextMessage": "更多选项"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.zh_cn");dojo.cldr.nls.currency.zh_cn={"HKD_displayName": "港元", "CHF_displayName": "瑞士法郎", "JPY_symbol": "JP¥", "HKD_symbol": "HK$", "CAD_displayName": "加拿大元", "USD_symbol": "US$", "AUD_displayName": "澳大利亚元", "JPY_displayName": "日元", "USD_displayName": "美元", "GBP_displayName": "英磅", "EUR_displayName": "欧元", "GBP_symbol": "£", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.zh_cn");dojo.cldr.nls.gregorian.zh_cn={"dateFormat-short": "yy-M-d", "timeFormat-long": "ahh'时'mm'分'ss'秒'", "dateFormat-medium": "yyyy-M-d", "dateFormat-long": "yyyy'年'M'月'd'日'", "timeFormat-medium": "ahh:mm:ss", "timeFormat-short": "ah:mm", "timeFormat-full": "ahh'时'mm'分'ss'秒' z", "dateFormat-full": "yyyy'年'M'月'd'日'EEEE", "eraAbbr": ["公元前", "公元"], "am": "上午", "months-format-abbr": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], "days-format-abbr": ["周日", "周一", "周二", "周三", "周四", "周五", "周六"], "pm": "下午", "months-format-wide": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], "months-standAlone-narrow": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], "days-standAlone-narrow": ["日", "一", "二", "三", "四", "五", "六"], "days-format-wide": ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "eraNames": ["BCE", "CE"], "field-weekday": "Day of the Week", "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Era": "{0} {1}", "quarters-format-wide": ["Q1", "Q2", "Q3", "Q4"]};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.zh_cn");dijit.nls.Textarea.zh_cn={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_zh-tw.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_zh-tw.js deleted file mode 100644 index 63f8b99f..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_zh-tw.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_zh-tw");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.zh_tw");dojo.nls.colors.zh_tw={"lightsteelblue": "淡鐵藍色", "orangered": "橙紅色", "midnightblue": "午夜藍", "cadetblue": "軍服藍", "seashell": "海貝色", "slategrey": "岩灰色", "coral": "珊瑚紅", "darkturquoise": "暗松石綠", "antiquewhite": "米白色", "mediumspringgreen": "中春綠色", "salmon": "鮭紅色", "darkgrey": "暗灰色", "ivory": "象牙色", "greenyellow": "綠黃色", "mistyrose": "霧玫瑰色", "lightsalmon": "淡鮭紅", "silver": "銀色", "dimgrey": "昏灰色", "orange": "橙色", "white": "白色", "navajowhite": "那瓦霍白色", "royalblue": "品藍色", "deeppink": "深粉紅色", "lime": "檸檬色", "oldlace": "舊蕾絲色", "chartreuse": "淡黃綠色", "darkcyan": "暗青色", "yellow": "黃色", "linen": "亞麻色", "olive": "橄欖色", "gold": "金色", "lawngreen": "草綠色", "lightyellow": "淡黃色", "tan": "皮革色", "darkviolet": "暗紫羅蘭色", "lightslategrey": "淡岩灰色", "grey": "灰色", "darkkhaki": "暗卡其色", "green": "綠色", "deepskyblue": "深天藍色", "aqua": "水色", "sienna": "黃土赭色", "mintcream": "薄荷乳白色", "rosybrown": "玫瑰褐", "mediumslateblue": "中岩藍色", "magenta": "紫紅色", "lightseagreen": "淡海綠色", "cyan": "青色", "olivedrab": "橄欖綠", "darkgoldenrod": "暗金菊色", "slateblue": "岩藍色", "mediumaquamarine": "中碧綠色", "lavender": "薰衣草紫", "mediumseagreen": "中海綠色", "maroon": "栗色", "darkslategray": "暗岩灰色", "mediumturquoise": "中松石綠", "ghostwhite": "幽靈色", "darkblue": "暗藍色", "mediumvioletred": "中紫羅蘭紅", "brown": "褐色", "lightgray": "淡灰色", "sandybrown": "沙褐色", "pink": "粉紅色", "firebrick": "紅磚色", "indigo": "靛藍色", "snow": "雪白色", "darkorchid": "暗蘭紫色", "turquoise": "松石綠", "chocolate": "巧克力色", "springgreen": "春綠色", "moccasin": "鹿皮鞋色", "navy": "海軍藍", "lemonchiffon": "奶油黃", "teal": "深藍綠色", "floralwhite": "花卉白", "cornflowerblue": "矢車菊藍", "paleturquoise": "灰松石綠", "purple": "紫色", "gainsboro": "石板灰", "plum": "李紫色", "red": "紅色", "blue": "藍色", "forestgreen": "森綠色", "darkgreen": "暗綠色", "honeydew": "密瓜色", "darkseagreen": "暗海綠色", "lightcoral": "淡珊瑚紅", "palevioletred": "灰紫羅蘭紅", "mediumpurple": "中紫色", "saddlebrown": "鞍褐色", "darkmagenta": "暗洋紅色", "thistle": "薊色", "whitesmoke": "白煙色", "wheat": "小麥色", "violet": "紫羅蘭色", "lightskyblue": "淡天藍色", "goldenrod": "金菊色", "mediumblue": "中藍色", "skyblue": "天藍色", "crimson": "暗深紅色", "darksalmon": "暗鮭紅", "darkred": "暗紅色", "darkslategrey": "暗岩灰色", "peru": "祕魯色", "lightgrey": "淡灰色", "lightgoldenrodyellow": "淡金菊黃", "blanchedalmond": "杏仁白", "aliceblue": "愛麗絲藍", "bisque": "橘黃色", "slategray": "岩灰色", "palegoldenrod": "灰金菊色", "darkorange": "暗橙色", "aquamarine": "碧綠色", "lightgreen": "淡綠色", "burlywood": "實木色", "dodgerblue": "道奇藍", "darkgray": "暗灰色", "lightcyan": "淡青色", "powderblue": "粉藍色", "blueviolet": "藍紫色", "orchid": "蘭紫色", "dimgray": "昏灰色", "beige": "灰棕色", "fuchsia": "海棠紅", "lavenderblush": "薰衣草紫紅", "hotpink": "暖粉紅色", "steelblue": "鐵藍色", "tomato": "蕃茄紅", "lightpink": "淡粉紅色", "limegreen": "檸檬綠", "indianred": "印度紅", "papayawhip": "番木瓜色", "lightslategray": "淡岩灰色", "gray": "灰色", "mediumorchid": "中蘭紫色", "cornsilk": "玉米黃", "black": "黑色", "seagreen": "海綠色", "darkslateblue": "暗岩藍色", "khaki": "卡其色", "lightblue": "淡藍色", "palegreen": "灰綠色", "azure": "天藍色", "peachpuff": "粉撲桃色", "darkolivegreen": "暗橄欖綠", "yellowgreen": "黃綠色"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.zh_tw");dijit.nls.loading.zh_tw={"loadingState": "載入中...", "errorState": "抱歉,發生錯誤"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.zh_tw");dijit.nls.Textarea.zh_tw={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.zh_tw");dijit._editor.nls.commands.zh_tw={"removeFormat": "移除格式", "copy": "複製", "paste": "貼上", "selectAll": "全選", "insertOrderedList": "編號清單", "insertTable": "插入/編輯表格", "underline": "底線", "foreColor": "前景顏色", "htmlToggle": "HTML 原始檔", "formatBlock": "段落樣式", "insertHorizontalRule": "水平尺規", "delete": "刪除", "insertUnorderedList": "項目符號清單", "tableProp": "表格內容", "insertImage": "插入影像", "superscript": "上標", "subscript": "下標", "createLink": "建立鏈結", "undo": "復原", "italic": "斜體", "fontName": "字型名稱", "justifyLeft": "靠左對齊", "unlink": "移除鏈結", "toggleTableBorder": "切換表格邊框", "fontSize": "字型大小", "indent": "縮排", "redo": "重做", "strikethrough": "加刪除線", "justifyFull": "對齊", "justifyCenter": "置中對齊", "hiliteColor": "背景顏色", "deleteTable": "刪除表格", "outdent": "凸排", "cut": "剪下", "plainFormatBlock": "段落樣式", "bold": "粗體", "systemShortcutFF": "\"${0}\" 動作在 Mozilla Firefox 中,只能使用鍵盤快速鍵。使用 ${1}。", "justifyRight": "靠右對齊", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.zh_tw");dojo.cldr.nls.number.zh_tw={"currencyFormat": "¤#,##0.00", "scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "group": ",", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "decimal": ".", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.zh_tw");dijit.nls.common.zh_tw={"buttonCancel": "取消", "buttonSave": "儲存", "buttonOk": "確定"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.zh_tw");dijit.form.nls.validate.zh_tw={"rangeMessage": "* 此值超出範圍。", "invalidMessage": "* 輸入的值無效。", "missingMessage": "* 必須提供此值。"};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.zh_tw");dijit.form.nls.ComboBox.zh_tw={"previousMessage": "前一個選擇項", "nextMessage": "其他選擇項"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.zh_tw");dojo.cldr.nls.currency.zh_tw={"HKD_displayName": "港元", "CHF_displayName": "瑞士法郎", "JPY_symbol": "JP¥", "HKD_symbol": "HK$", "CAD_displayName": "加拿大元", "USD_symbol": "US$", "AUD_displayName": "澳大利亚元", "JPY_displayName": "日元", "USD_displayName": "美元", "GBP_displayName": "英磅", "EUR_displayName": "欧元", "GBP_symbol": "£", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.zh_tw");dojo.cldr.nls.gregorian.zh_tw={"eraAbbr": ["公元前", "公元"], "am": "上午", "months-format-abbr": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], "days-format-abbr": ["周日", "周一", "周二", "周三", "周四", "周五", "周六"], "pm": "下午", "months-format-wide": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], "months-standAlone-narrow": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], "days-standAlone-narrow": ["日", "一", "二", "三", "四", "五", "六"], "days-format-wide": ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "eraNames": ["BCE", "CE"], "field-weekday": "Day of the Week", "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "timeFormat-full": "HH:mm:ss z", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "dateFormat-long": "yyyy MMMM d", "timeFormat-medium": "HH:mm:ss", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "dateFormat-medium": "yyyy MMM d", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "timeFormat-long": "HH:mm:ss z", "timeFormat-short": "HH:mm", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "dateFormat-short": "yy/MM/dd", "dateFormat-full": "EEEE, yyyy MMMM dd", "dateTimeFormats-appendItem-Era": "{0} {1}", "quarters-format-wide": ["Q1", "Q2", "Q3", "Q4"]};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.zh_tw");dijit.nls.Textarea.zh_tw={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_zh.js b/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_zh.js deleted file mode 100644 index e585e8f5..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/dijit-all_zh.js +++ /dev/null @@ -1 +0,0 @@ -dojo.provide("dijit.nls.dijit-all_zh");dojo.provide("dojo.nls.colors");dojo.nls.colors._built=true;dojo.provide("dojo.nls.colors.zh");dojo.nls.colors.zh={"lightsteelblue": "浅钢蓝色", "orangered": "橙红色", "midnightblue": "深蓝色", "cadetblue": "灰蓝色", "seashell": "海贝色", "slategrey": "灰石色", "coral": "珊瑚色", "darkturquoise": "深粉蓝", "antiquewhite": "古董白", "mediumspringgreen": "间春绿色", "salmon": "橙红", "darkgrey": "深灰色", "ivory": "象牙色", "greenyellow": "绿黄色", "mistyrose": "浅玫瑰色", "lightsalmon": "淡橙色", "silver": "银白色", "dimgrey": "暗灰色", "orange": "橙色", "white": "白色", "navajowhite": "纳瓦白", "royalblue": "品蓝", "deeppink": "深粉红色", "lime": "淡黄绿色", "oldlace": "老白色", "chartreuse": "黄绿色", "darkcyan": "深青绿", "yellow": "黄色", "linen": "亚麻色", "olive": "橄榄绿", "gold": "金黄色", "lawngreen": "草绿色", "lightyellow": "浅黄色", "tan": "棕褐色", "darkviolet": "深紫色", "lightslategrey": "浅青灰", "grey": "灰色", "darkkhaki": "深卡其色", "green": "绿色", "deepskyblue": "深天蓝色", "aqua": "浅绿色", "sienna": "赭色", "mintcream": "薄荷色", "rosybrown": "褐玫瑰红", "mediumslateblue": "间暗蓝色", "magenta": "洋红色", "lightseagreen": "浅海藻绿", "cyan": "青蓝色", "olivedrab": "草绿色", "darkgoldenrod": "深金黄", "slateblue": "石蓝色", "mediumaquamarine": "间绿色", "lavender": "淡紫色", "mediumseagreen": "间海蓝色", "maroon": "栗色", "darkslategray": "深青灰", "mediumturquoise": "间绿宝石色", "ghostwhite": "苍白", "darkblue": "深蓝", "mediumvioletred": "间紫罗兰色", "brown": "棕色", "lightgray": "浅灰色", "sandybrown": "沙褐色", "pink": "粉红色", "firebrick": "砖红", "indigo": "靛青", "snow": "雪白色", "darkorchid": "深紫色", "turquoise": "绿宝石色", "chocolate": "巧克力色", "springgreen": "春绿色", "moccasin": "鹿皮色", "navy": "深蓝色", "lemonchiffon": "柠檬绸色", "teal": "水鸭色", "floralwhite": "花白色", "cornflowerblue": "浅蓝色", "paleturquoise": "苍绿色", "purple": "紫色", "gainsboro": "淡灰色", "plum": "杨李色", "red": "红色", "blue": "蓝色", "forestgreen": "森林绿", "darkgreen": "深绿色", "honeydew": "蜜汁色", "darkseagreen": "深海藻绿", "lightcoral": "浅珊瑚色", "palevioletred": "苍紫罗兰色", "mediumpurple": "间紫色", "saddlebrown": "重褐色", "darkmagenta": "深洋红色", "thistle": "蓟色", "whitesmoke": "烟白色", "wheat": "浅黄色", "violet": "紫色", "lightskyblue": "浅天蓝色", "goldenrod": "金麒麟色", "mediumblue": "间蓝色", "skyblue": "天蓝色", "crimson": "深红色", "darksalmon": "深橙红", "darkred": "深红色", "darkslategrey": "深青灰", "peru": "秘鲁色", "lightgrey": "浅灰色", "lightgoldenrodyellow": "浅金黄色", "blanchedalmond": "白杏色", "aliceblue": "爱丽丝蓝", "bisque": "桔黄色", "slategray": "灰石色", "palegoldenrod": "淡金黄色", "darkorange": "深橙色", "aquamarine": "碧绿色", "lightgreen": "浅绿色", "burlywood": "实木色", "dodgerblue": "闪蓝色", "darkgray": "深灰色", "lightcyan": "浅青色", "powderblue": "铁蓝", "blueviolet": "紫罗兰色", "orchid": "紫色", "dimgray": "暗灰色", "beige": "米色", "fuchsia": "紫红色", "lavenderblush": "淡紫红", "hotpink": "深粉红", "steelblue": "钢蓝色", "tomato": "西红柿色", "lightpink": "浅粉红色", "limegreen": "橙绿色", "indianred": "印度红", "papayawhip": "木瓜色", "lightslategray": "浅青灰", "gray": "灰色", "mediumorchid": "间紫色", "cornsilk": "米绸色", "black": "黑色", "seagreen": "海绿色", "darkslateblue": "深青蓝", "khaki": "卡其色", "lightblue": "淡蓝色", "palegreen": "淡绿色", "azure": "天蓝色", "peachpuff": "桃色", "darkolivegreen": "深橄榄绿", "yellowgreen": "黄绿色"};dojo.provide("dijit.nls.loading");dijit.nls.loading._built=true;dojo.provide("dijit.nls.loading.zh");dijit.nls.loading.zh={"loadingState": "正在装入...", "errorState": "对不起,发生了错误"};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.zh");dijit.nls.Textarea.zh={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"};dojo.provide("dijit._editor.nls.commands");dijit._editor.nls.commands._built=true;dojo.provide("dijit._editor.nls.commands.zh");dijit._editor.nls.commands.zh={"removeFormat": "除去格式", "copy": "复制", "paste": "粘贴", "selectAll": "全选", "insertOrderedList": "编号列表", "insertTable": "插入/编辑表", "underline": "下划线", "foreColor": "前景色", "htmlToggle": "HTML 源代码", "formatBlock": "段落样式", "insertHorizontalRule": "水平线", "delete": "删除", "insertUnorderedList": "符号列表", "tableProp": "表属性", "insertImage": "插入图像", "superscript": "上标", "subscript": "下标", "createLink": "创建链接", "undo": "撤销", "italic": "斜体", "fontName": "字体名称", "justifyLeft": "左对齐", "unlink": "除去链接", "toggleTableBorder": "切换表边框", "fontSize": "字体大小", "indent": "增加缩进", "redo": "重做", "strikethrough": "删除线", "justifyFull": "对齐", "justifyCenter": "居中", "hiliteColor": "背景色", "deleteTable": "删除表", "outdent": "减少缩进", "cut": "剪切", "plainFormatBlock": "段落样式", "bold": "粗体", "systemShortcutFF": "只能在 Mozilla Firefox 中通过键盘快捷方式执行“${0}”操作。请使用 ${1}。", "justifyRight": "右对齐", "appleKey": "⌘${0}", "ctrlKey": "ctrl+${0}"};dojo.provide("dojo.cldr.nls.number");dojo.cldr.nls.number._built=true;dojo.provide("dojo.cldr.nls.number.zh");dojo.cldr.nls.number.zh={"scientificFormat": "#E0", "currencySpacing-afterCurrency-currencyMatch": "[:letter:]", "infinity": "∞", "list": ";", "percentSign": "%", "minusSign": "-", "currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]", "currencySpacing-afterCurrency-insertBetween": " ", "nan": "NaN", "nativeZeroDigit": "0", "plusSign": "+", "currencySpacing-afterCurrency-surroundingMatch": "[:digit:]", "currencyFormat": "¤ #,##0.00", "currencySpacing-beforeCurrency-currencyMatch": "[:letter:]", "perMille": "‰", "group": ",", "percentFormat": "#,##0%", "decimalFormat": "#,##0.###", "decimal": ".", "patternDigit": "#", "currencySpacing-beforeCurrency-insertBetween": " ", "exponential": "E"};dojo.provide("dijit.nls.common");dijit.nls.common._built=true;dojo.provide("dijit.nls.common.zh");dijit.nls.common.zh={"buttonCancel": "取消", "buttonSave": "保存", "buttonOk": "确定"};dojo.provide("dijit.form.nls.validate");dijit.form.nls.validate._built=true;dojo.provide("dijit.form.nls.validate.zh");dijit.form.nls.validate.zh={"rangeMessage": "* 此值超出范围。", "invalidMessage": "* 输入的值无效。", "missingMessage": "* 此值是必需值。"};dojo.provide("dijit.form.nls.ComboBox");dijit.form.nls.ComboBox._built=true;dojo.provide("dijit.form.nls.ComboBox.zh");dijit.form.nls.ComboBox.zh={"previousMessage": "先前选项", "nextMessage": "更多选项"};dojo.provide("dojo.cldr.nls.currency");dojo.cldr.nls.currency._built=true;dojo.provide("dojo.cldr.nls.currency.zh");dojo.cldr.nls.currency.zh={"HKD_displayName": "港元", "CHF_displayName": "瑞士法郎", "JPY_symbol": "JP¥", "HKD_symbol": "HK$", "CAD_displayName": "加拿大元", "USD_symbol": "US$", "AUD_displayName": "澳大利亚元", "JPY_displayName": "日元", "USD_displayName": "美元", "GBP_displayName": "英磅", "EUR_displayName": "欧元", "GBP_symbol": "£", "EUR_symbol": "€"};dojo.provide("dojo.cldr.nls.gregorian");dojo.cldr.nls.gregorian._built=true;dojo.provide("dojo.cldr.nls.gregorian.zh");dojo.cldr.nls.gregorian.zh={"eraAbbr": ["公元前", "公元"], "am": "上午", "months-format-abbr": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], "days-format-abbr": ["周日", "周一", "周二", "周三", "周四", "周五", "周六"], "pm": "下午", "months-format-wide": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], "months-standAlone-narrow": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], "days-standAlone-narrow": ["日", "一", "二", "三", "四", "五", "六"], "days-format-wide": ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], "dateTimeFormats-appendItem-Second": "{0} ({2}: {1})", "field-dayperiod": "Dayperiod", "field-minute": "Minute", "eraNames": ["BCE", "CE"], "field-weekday": "Day of the Week", "dateTimeFormats-appendItem-Year": "{0} {1}", "field-era": "Era", "field-hour": "Hour", "timeFormat-full": "HH:mm:ss z", "dateTimeFormats-appendItem-Week": "{0} ({2}: {1})", "dateTimeFormats-appendItem-Timezone": "{0} {1}", "dateTimeFormats-appendItem-Month": "{0} ({2}: {1})", "dateFormat-long": "yyyy MMMM d", "timeFormat-medium": "HH:mm:ss", "field-zone": "Zone", "dateTimeFormats-appendItem-Minute": "{0} ({2}: {1})", "dateFormat-medium": "yyyy MMM d", "quarters-format-abbreviated": ["Q1", "Q2", "Q3", "Q4"], "dateTimeFormat": "{1} {0}", "field-year": "Year", "dateTimeFormats-appendItem-Day": "{0} ({2}: {1})", "field-week": "Week", "timeFormat-long": "HH:mm:ss z", "timeFormat-short": "HH:mm", "field-month": "Month", "dateTimeFormats-appendItem-Quarter": "{0} ({2}: {1})", "field-second": "Second", "field-day": "Day", "dateTimeFormats-appendItem-Day-Of-Week": "{0} {1}", "dateTimeFormats-appendItem-Hour": "{0} ({2}: {1})", "dateFormat-short": "yy/MM/dd", "dateFormat-full": "EEEE, yyyy MMMM dd", "dateTimeFormats-appendItem-Era": "{0} {1}", "quarters-format-wide": ["Q1", "Q2", "Q3", "Q4"]};dojo.provide("dijit.nls.Textarea");dijit.nls.Textarea._built=true;dojo.provide("dijit.nls.Textarea.zh");dijit.nls.Textarea.zh={"iframeEditTitle": "edit area", "iframeFocusTitle": "edit area frame"}; diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/es/common.js b/spring-faces/src/main/resources/META-INF/dijit/nls/es/common.js deleted file mode 100644 index 3bc20e0b..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/es/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonCancel": "Cancelar", "buttonSave": "Guardar", "buttonOk": "Aceptar"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/es/loading.js b/spring-faces/src/main/resources/META-INF/dijit/nls/es/loading.js deleted file mode 100644 index e84982f3..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/es/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState": "Cargando...", "errorState": "Lo siento, se ha producido un error"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/fr/common.js b/spring-faces/src/main/resources/META-INF/dijit/nls/fr/common.js deleted file mode 100644 index 58c4406c..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/fr/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonCancel": "Annuler", "buttonSave": "Sauvegarder", "buttonOk": "OK"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/fr/loading.js b/spring-faces/src/main/resources/META-INF/dijit/nls/fr/loading.js deleted file mode 100644 index 1734d409..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/fr/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState": "Chargement...", "errorState": "Une erreur est survenue"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/hu/common.js b/spring-faces/src/main/resources/META-INF/dijit/nls/hu/common.js deleted file mode 100644 index eff77f6e..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/hu/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonCancel": "Mégse", "buttonSave": "Mentés", "buttonOk": "OK"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/hu/loading.js b/spring-faces/src/main/resources/META-INF/dijit/nls/hu/loading.js deleted file mode 100644 index 62db1774..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/hu/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState": "Betöltés...", "errorState": "Sajnálom, hiba történt"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/it/common.js b/spring-faces/src/main/resources/META-INF/dijit/nls/it/common.js deleted file mode 100644 index 12fb5269..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/it/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonCancel": "Annulla", "buttonSave": "Salva", "buttonOk": "OK"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/it/loading.js b/spring-faces/src/main/resources/META-INF/dijit/nls/it/loading.js deleted file mode 100644 index dad6de99..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/it/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState": "Caricamento in corso...", "errorState": "Si è verificato un errore"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/ja/common.js b/spring-faces/src/main/resources/META-INF/dijit/nls/ja/common.js deleted file mode 100644 index 01acdd2d..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/ja/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonCancel": "キャンセル", "buttonSave": "保存", "buttonOk": "OK"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/ja/loading.js b/spring-faces/src/main/resources/META-INF/dijit/nls/ja/loading.js deleted file mode 100644 index 867d046d..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/ja/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState": "ロード中...", "errorState": "エラーが発生しました。"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/ko/common.js b/spring-faces/src/main/resources/META-INF/dijit/nls/ko/common.js deleted file mode 100644 index 22925e36..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/ko/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonCancel": "취소", "buttonSave": "저장", "buttonOk": "확인"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/ko/loading.js b/spring-faces/src/main/resources/META-INF/dijit/nls/ko/loading.js deleted file mode 100644 index d615544e..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/ko/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState": "로드 중...", "errorState": "죄송합니다. 오류가 발생했습니다."}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/loading.js b/spring-faces/src/main/resources/META-INF/dijit/nls/loading.js deleted file mode 100644 index 94d06f82..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState": "Loading...", "errorState": "Sorry, an error occurred"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/pl/common.js b/spring-faces/src/main/resources/META-INF/dijit/nls/pl/common.js deleted file mode 100644 index 1c3b98c1..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/pl/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonCancel": "Anuluj", "buttonSave": "Zapisz", "buttonOk": "OK"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/pl/loading.js b/spring-faces/src/main/resources/META-INF/dijit/nls/pl/loading.js deleted file mode 100644 index e87bc3d1..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/pl/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState": "Trwa ładowanie...", "errorState": "Niestety, wystąpił błąd"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/pt/common.js b/spring-faces/src/main/resources/META-INF/dijit/nls/pt/common.js deleted file mode 100644 index 30ae79b5..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/pt/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonCancel": "Cancelar ", "buttonSave": "Salvar", "buttonOk": "OK"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/pt/loading.js b/spring-faces/src/main/resources/META-INF/dijit/nls/pt/loading.js deleted file mode 100644 index ed6a4331..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/pt/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState": "Carregando...", "errorState": "Ocorreu um erro"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/ru/common.js b/spring-faces/src/main/resources/META-INF/dijit/nls/ru/common.js deleted file mode 100644 index a24049ec..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/ru/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonCancel": "Отмена", "buttonSave": "Сохранить", "buttonOk": "ОК"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/ru/loading.js b/spring-faces/src/main/resources/META-INF/dijit/nls/ru/loading.js deleted file mode 100644 index 0c728b7c..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/ru/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState": "Загрузка...", "errorState": "Извините, возникла ошибка"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/zh-tw/common.js b/spring-faces/src/main/resources/META-INF/dijit/nls/zh-tw/common.js deleted file mode 100644 index ee573e2d..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/zh-tw/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonCancel": "取消", "buttonSave": "儲存", "buttonOk": "確定"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/zh-tw/loading.js b/spring-faces/src/main/resources/META-INF/dijit/nls/zh-tw/loading.js deleted file mode 100644 index e0a1738a..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/zh-tw/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState": "載入中...", "errorState": "抱歉,發生錯誤"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/zh/common.js b/spring-faces/src/main/resources/META-INF/dijit/nls/zh/common.js deleted file mode 100644 index 8ef48a95..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/zh/common.js +++ /dev/null @@ -1 +0,0 @@ -({"buttonCancel": "取消", "buttonSave": "保存", "buttonOk": "确定"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/nls/zh/loading.js b/spring-faces/src/main/resources/META-INF/dijit/nls/zh/loading.js deleted file mode 100644 index 82946561..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/nls/zh/loading.js +++ /dev/null @@ -1 +0,0 @@ -({"loadingState": "正在装入...", "errorState": "对不起,发生了错误"}) \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/templates/Calendar.html b/spring-faces/src/main/resources/META-INF/dijit/templates/Calendar.html deleted file mode 100644 index 68c1496f..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/templates/Calendar.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - -
    - - - -
    -
    -
    -
    +
    -
    -

    - - - -

    -
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/templates/ColorPalette.html b/spring-faces/src/main/resources/META-INF/dijit/templates/ColorPalette.html deleted file mode 100644 index 86f59348..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/templates/ColorPalette.html +++ /dev/null @@ -1,5 +0,0 @@ -
    -
    - -
    -
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/templates/Dialog.html b/spring-faces/src/main/resources/META-INF/dijit/templates/Dialog.html deleted file mode 100644 index 4e09861f..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/templates/Dialog.html +++ /dev/null @@ -1,10 +0,0 @@ -
    -
    - ${title} - - x - -
    -
    - -
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/templates/InlineEditBox.html b/spring-faces/src/main/resources/META-INF/dijit/templates/InlineEditBox.html deleted file mode 100644 index 7a5b5620..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/templates/InlineEditBox.html +++ /dev/null @@ -1,8 +0,0 @@ - diff --git a/spring-faces/src/main/resources/META-INF/dijit/templates/ProgressBar.html b/spring-faces/src/main/resources/META-INF/dijit/templates/ProgressBar.html deleted file mode 100644 index 97cc4702..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/templates/ProgressBar.html +++ /dev/null @@ -1,9 +0,0 @@ -
     
     
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/templates/TitlePane.html b/spring-faces/src/main/resources/META-INF/dijit/templates/TitlePane.html deleted file mode 100644 index 64fd0e01..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/templates/TitlePane.html +++ /dev/null @@ -1,14 +0,0 @@ -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/templates/Tooltip.html b/spring-faces/src/main/resources/META-INF/dijit/templates/Tooltip.html deleted file mode 100644 index 87396480..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/templates/Tooltip.html +++ /dev/null @@ -1,4 +0,0 @@ -
    -
    -
    -
    diff --git a/spring-faces/src/main/resources/META-INF/dijit/templates/blank.gif b/spring-faces/src/main/resources/META-INF/dijit/templates/blank.gif deleted file mode 100644 index e565824a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/templates/blank.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/templates/buttons/bg-fade.png b/spring-faces/src/main/resources/META-INF/dijit/templates/buttons/bg-fade.png deleted file mode 100644 index 5d74aad6..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/templates/buttons/bg-fade.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/templates/colors3x4.png b/spring-faces/src/main/resources/META-INF/dijit/templates/colors3x4.png deleted file mode 100644 index e4078812..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/templates/colors3x4.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/templates/colors7x10.png b/spring-faces/src/main/resources/META-INF/dijit/templates/colors7x10.png deleted file mode 100644 index 77d22ce3..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/templates/colors7x10.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/a11y/README.txt b/spring-faces/src/main/resources/META-INF/dijit/themes/a11y/README.txt deleted file mode 100644 index a8093542..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/themes/a11y/README.txt +++ /dev/null @@ -1,3 +0,0 @@ -This folder contains images used by all themes when in "high-contrast" mode. - -If you think you need to put something here, please talk to Becky or Bill first. \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/a11y/indeterminate_progress.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/a11y/indeterminate_progress.gif deleted file mode 100644 index 66f535cd..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/a11y/indeterminate_progress.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/dijit.css b/spring-faces/src/main/resources/META-INF/dijit/themes/dijit.css deleted file mode 100644 index 17ca026c..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/themes/dijit.css +++ /dev/null @@ -1,1459 +0,0 @@ -/* - Essential styles that themes can inherit. - In other words, works but doesn't look great. -*/ - - - -/**** - GENERIC PIECES - ****/ - -.dijitReset { - /* Use this style to null out padding, margin, border in your template elements - so that page specific styles don't break them. - - Use in all TABLE, TR and TD tags. - - If there is more than one class on the tag, place this first so other classes override. - */ - margin:0px; - border:0px; - padding:0px; - line-height:normal; -} - -.dijitInline { - /* To inline block elements. - Similar to InlineBox below, but this has fewer side-effects in Moz. - Also, apparently works on a DIV as well as a FIELDSET. - */ - display:-moz-inline-box; /* FF2 */ - display:inline-block; /* webkit and FF3 */ - border:0px; - padding:0px; - vertical-align:middle; -} - -.dj_ie .dijitInline { - zoom: 1; /* set hasLayout:true to mimic inline-block */ - #display:inline; -} - -.dijitInlineTable { - /* To inline tables with a given width set (otherwise, use dijitInline above) - * Must also put style="-moz-inline-stack" on the node itself to workaround FF2 bugs - */ - display: -moz-inline-stack; /* FF2 */ - display:inline-table; - display:inline-block; /* webkit and FF3 */ - #display:inline; /* MSIE (TODO: is this needed???) */ - border:0px; - padding:0px; - vertical-align:middle; -} - -.dijitTeeny { - font-size:1px; - line-height:1px; -} - -/* - * Popup items have a wrapper div (dijitPopup) - * with the real popup inside, and maybe an iframe too - */ -.dijitPopup { - position: absolute; - background-color: transparent; - margin: 0; - border: 0; - padding: 0; -} -.dijit_a11y .dijitPopup, -.dijit_ally .dijitPopup div, -.dijit_a11y .dijitPopup table { - opacity: 1 !important; - background-color: white !important; -} -.dj_ie .dijit_a11y .dijitPopup * { - filter: none; -} - -.dijitInputField { - font-family:inherit; - font-size:inherit; - font-weight:inherit; -} - -.dijitPositionOnly { - /* Null out all position-related properties */ - padding: 0px !important; - border: 0px !important; - background-color: transparent !important; - background-image: none !important; - height: auto !important; - width: auto !important; -} - -.dijitNonPositionOnly { - /* Null position-related properties */ - float: none !important; - position: static !important; - margin: 0px 0px 0px 0px !important; - vertical-align: middle !important; -} - -.dijitBackgroundIframe { - /* - * iframe used for FF2 in high-contrast mode to prevent menu - * being transparent - */ - position: absolute; - left: 0px; - top: 0px; - width: 100%; - height: 100%; - z-index: -1; - border: 0; - padding: 0; - margin: 0; -} - -.dijitClickableRegion { - /* a region we expect the user to click on */ - cursor : pointer; -} - - -.dijitDisplayNone { - /* hide something. Use this as a class rather than element.style so another class can override */ - display:none !important; -} - -.dijitContainer { - /* for all layout containers */ - overflow: hidden; /* need on IE so something can be reduced in size, and so scrollbars aren't temporarily displayed when resizing */ -} - -/**** - A11Y - ****/ -.dijit_a11y * { - background-image:none !important; - background-color:transparent !important; -} - -.dijit_a11y .dijitCalendarIncrementControl .dijitA11ySideArrow { - padding-left:.2em; - visibility:visible !important; -} - -.dijitToolbar .dijitDropDownButton .dijitA11yDownArrow{ - /*make the arrow smaller in toolbar*/ - padding:0; - margin:0; -} -.dj_ie6 .dijitToolbar .dijitDropDownButton .dijitA11yDownArrow{ - /*vertical-align: middle does not place the arrow in the middle of the toolbar in IE*/ - vertical-align: bottom; -} - -.dijitA11ySideArrow { - vertical-align:top; - margin-right:0em; - margin-left:.2em; - line-height:2em; - text-align:center; -} - -.dj_ie .dijitA11yDownArrow, -.dj_ie .dijitA11yUpArrow { - font-size:.8em; - vertical-align:middle; - margin-right:.5em; -} - - - - -.dijit_a11y .dijitButton .dijitButtonNode, -.dijit_a11y .dijitDropDownButton .dijitButtonNode, -.dijit_a11y .dijitComboButton .dijitButtonNode, -.dijit_a11y .dijitComboBox .dijitInputField, -.dijit_a11y .dijitComboBox .dijitButtonNode { - border:1px solid black !important; - background:white !important; - color:black !important; -} - -.dijit_a11y .dijitButtonDisabled .dijitButtonNode, -.dijit_a11y .dijitDropDownButtonDisabled .dijitButtonNode, -.dijit_a11y .dijitComboButtonDisabled .dijitButtonNode, -.dijit_a11y .dijitComboBoxDisabled .dijitInputField, -.dijit_a11y .dijitComboBoxDisabled .dijitButtonNode, -.dijit_a11y .dijitSpinnerDisabled .dijitButtonNode, -.dijit_a11y .dijitSpinnerDisabled .dijitInputField { - border:1px dotted #999999 !important; - color:#999999 !important; -} - -.dijit_a11y .dijitComboButton .dijitDownArrowButton, -.dijit_a11y .dijitComboBox .dijitDownArrowButton { - border-left:0px !important; -} - -/* In high contrast mode, display the check symbol */ -.dijit_a11y .dijitToggleButtonChecked .dijitToggleButtonIconChar { - display: inline !important; -} - - - -/**** - 3-element borders: ( dijitLeft + dijitStretch + dijitRight ) - ****/ - -.dijitLeft { - /* Left part of a 3-element border */ - background-position:left top; - background-repeat:no-repeat; -} - -.dijitStretch { - /* Middle (stretchy) part of a 3-element border */ - white-space:nowrap; /* MOW: move somewhere else */ - background-repeat:repeat-x; -} - -.dijitRight { - /* Right part of a 3-element border */ - #display:inline; /* IE7 sizes to outer size w/o this */ - background-position:right top; - background-repeat:no-repeat; -} - - -/**** - Right-to-left rules - ****/ -.dijitRTL .dijitRightArrow { - /* it becomes a left arrow for LTR locales */ - /* MOW: TODO... */ - margin-left:-2.1em; -} - - - - - -/**** - dijit.form.Button - dijit.form.DropDownButton - dijit.form.ComboButton - dijit.form.ComboBox (partial) - ****/ -.dijitButton, -.dijitDropDownButton, -.dijitComboButton, -.dijitComboBox { - /* outside of button */ - margin: 0.2em; - /* normalize line-heights inside the button */ - line-height: 1.3em; -} - -.dj_safari .dijitToolbar .dijitDropDownButton { - padding-left: 0.3em; -} - -.dijitButtonNode { - /* Node that is acting as a button -- may or may not be a BUTTON element */ - border:1px solid gray; - margin:0px; - padding:.2em .2em .1em .2em; - overflow:visible; - line-height:normal; - font-family:inherit; - font-size:inherit; - color: inherit; - cursor:pointer; - vertical-align:middle; - text-align:center; - white-space: nowrap; -} - -.dijitDownArrowButton, -.dijitUpArrowButton { - /* Node that is acting as a arrow button -- drop down (spinner has its own treatment). Also gets dijitButtonNode */ - /* place AFTER dijitButtonNode so it overrides */ - padding:0em .4em; - margin:0px; - font-size: 0.7em; -} - - -.dijitButtonContents { - color:inherit; -} - -.dijitDropDownButton .dijitA11yDownArrow { - margin-left:.8em; -} - -.dijitComboButton TABLE { - /* each cell in a combo-table should have its own separate border */ - border-collapse: separate; - border:0px; - padding:0px; - margin:0px; -} - -.dijitComboButton .dijitButtonContents { - border-right-width:0px !important; -} - - -table .dijitButton .dijitButtonNode, -table .dijitComboButton .dijitButtonNode { - #overflow:hidden; /* visible messes up if the button is inside a table on IE */ -} - - - -.dijitButtonNode IMG { - /* make text and images line up cleanly */ - vertical-align:middle; - margin-bottom:.2em; -} - -/****** - TextBox related. - Everything that has an -*******/ - -.dijitTextBox, -.dijitComboBox, -.dijitSpinner { - border: solid black 1px; - width: 15em; /* need to set default size on outer node since inner nodes say and . user can override */ -} - -/* rules for safari to deal with fuzzy blue focus border */ -.dijitTextBox input:focus, -.dijitComboBox input:focus, -.dijitSpinner input:focus { - outline: none; /* blue fuzzy line looks wrong on combobox or something w/validation icon showing */ -} -.dijitTextBoxFocused, -.dijitComboBoxFocused, -.dijitSpinnerFocused { - /* should we display focus like we do on other browsers, or use the safari standard focus indicator?? */ - outline: auto 5px -webkit-focus-ring-color; -} - -.dijitTextBox INPUT, -.dijitComboBox INPUT, -.dijitSpinner INPUT { - padding:0px; - border-left: solid black 1px; /* TODO: for RTL mode should be border-right */ - display:inline; - position:static !important; - border:0px !important; - margin:0px !important; - vertical-align:0em !important; - visibility:visible !important; - background-color:transparent !important; - background-image:none !important; - width:100% !important; -} - -/* #4711: prevent IE from over-expanding 100% width input boxes */ -.dj_ie .dijitTextBox .dijitInputField, -.dj_ie .dijitComboBox .dijitInputField, -.dj_ie .dijitSpinner .dijitInputField { - position:relative; -} -.dj_ie .dijitTextBox .dijitInputField INPUT, -.dj_ie .dijitComboBox .dijitInputField INPUT, -.dj_ie .dijitSpinner .dijitInputField INPUT { - position:absolute !important; - top:auto !important; - left:auto !important; - right:auto !important; - bottom:auto !important; - font-size:100%; -} - -.dj_ie INPUT.dijitTextBox { - font-size:100%; -} - -/* Display an "X" for invalid input. Themes will override these rules to display an icon instead. -*/ -.dijitValidationIcon { display: none; background-position-y:center; } -.dijitValidationIconText { visibility: hidden; } -.dijit_a11y .dijitValidationIcon { display: none !important; } -.dijit_a11y .dijitValidationIconText { display: block !important; } - -.dijitTextBoxError .dijitValidationIconText, -.dijitComboBoxError .dijitValidationIconText, -.dijitSpinnerError .dijitValidationIconText { - visibility: visible; -} - -.dijitSpinner .dijitDownArrowButton, -.dijitSpinner .dijitUpArrowButton { - padding: 0 .4em; - border: 1px solid; - line-height: .769em; - /* TODO: as we use border-collapse, is this necessary? */ - border-left-style: none; -} -.dj_ie .dijitSpinner .dijitDownArrowButton, -.dj_ie .dijitSpinner .dijitUpArrowButton { - padding: 0 .2em!important; - text-align: center; -} -.dijitSpinner .dijitDownArrowButton div, -.dijitSpinner .dijitUpArrowButton div { - text-align: center; - font-size: .769em; - line-height: 1em; - vertical-align: baseline; - margin: 0 auto; -} - -.dijitTextBox .dijitDownArrowButton { - /* this is for a combo box with no arrow displayed; we set baseClass=TextBox */ - display:none; -} - -/**** - dijit.form.CheckBox - & - dijit.form.RadioButton - ****/ - -.dijitCheckBox, -.dijitRadio, -.dijitCheckBoxInput { - padding: 0; - border: 0; - width: 16px; - height: 16px; - background-position:center center; - background-repeat:no-repeat; -} - -.dijitCheckBox INPUT, -.dijitRadio INPUT { - margin: 0; - padding: 0; - display: block; -} - -.dijitCheckBoxInput { - /* place the actual input on top, but all-but-invisible */ - opacity: 0.01; - overflow:hidden; -} - -.dj_ie .dijitCheckBoxInput { - filter: alpha(opacity=0); -} - -.dijit_a11y .dijitCheckBox, -.dijit_a11y .dijitRadio { - width: auto; - height: auto; -} -.dijit_a11y .dijitCheckBoxInput { - opacity: 1; - filter: none; - width: auto; - height: auto; -} - - -/**** - dijit.ProgressBar - ****/ - -.dijitProgressBarEmpty{ - /* outer container and background of the bar that's not finished yet*/ - position:relative;overflow:hidden; - border:1px solid black; /* a11y: border necessary for high-contrast mode */ - z-index:0; /* establish a stacking context for this progress bar */ -} - -.dijitProgressBarFull { - /* outer container for background of bar that is finished */ - position:absolute; - overflow:hidden; - z-index:-1; - top:0; - width:100%; - height:100%; -} - -.dijitProgressBarTile{ - /* inner container for finished portion */ - position:absolute; - overflow:hidden; - top:0px; - left:0px; - bottom:0px; - right:0px; - margin:0px; - padding:0px; - width:auto; - height:auto; - background-color:#aaa; - background-attachment: fixed; -} - -.dijit_a11y .dijitProgressBarTile{ - /* a11y: The border provides visibility in high-contrast mode */ - border-width:4px; - border-style:solid; - background-color:transparent !important; -} - -.dj_iequirks .dijitProgressBarTile{ - width:100%; - height:100%; -} - -.dj_ie6 .dijitProgressBarTile{ - /* width:auto works in IE6 with position:static but not position:absolute */ - position:static; - /* height:auto does not work in IE6 */ - height:100%; -} - -.dijitProgressBarIndeterminate .dijitProgressBarLabel{ - visibility:hidden; -} - -.dijitProgressBarIndeterminate .dijitProgressBarTile{ - /* animated gif for 'indeterminate' mode */ -} - -.dijitProgressBarIndeterminateHighContrastImage{ - display:none; -} - -.dijit_a11y .dijitProgressBarIndeterminate .dijitProgressBarIndeterminateHighContrastImage{ - display:block; - position:absolute; - top:0; - bottom:0; - margin:0; - padding:0; - width:100%; - height:auto; -} - -.dijitProgressBarLabel{ - display:block; - position:static; - width:100%; - text-align:center; - background-color:transparent; -} - -/* progress bar in vertical mode - TODO: remove? no longer supported? */ -.dijitProgressBarVertical .dijitProgressBarFull{ - bottom:0px; /* start at the bottom */ -} - -.dj_ie6 .dijitProgressBarVertical .dijitProgressBarTile{ - position:absolute; - /* can't use position:static here -- need absolute positioning to place - the bar at the bottom of a vertical progressbar */ - width:100%; -} - - -/**** - dijit.Tooltip - ****/ - -.dijitTooltip { - position: absolute; - z-index: 2000; - display: block; - /* make visible but off screen */ - left: 50%; - top: -10000px; - overflow: visible; -} -/* -See http://trac.dojotoolkit.org/ticket/5006 -.dijitTooltipDialog { - position: relative; -} -*/ -.dijitTooltipContainer { - border: solid black 2px; - background: #b8b5b5; - color: black; - font-size: small; -} - -.dijitTooltipFocusNode { - padding: 2px 2px 2px 2px; -} - -.dijitTooltipConnector { - position: absolute; -} - -/* MOW: using actual images at this time -/* draw an arrow with CSS only * / -.dijitTooltipConnector { - /* the border on the triangle * / - font-size: 0px; line-height: 0%; width: 0px; - border-top: none; - border-bottom: 14px solid black; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - top: -14px; - left: 3px; - z-index: 2; -} - -.dijitTooltipConnector div { - /* the background of the triangle * / - font-size: 0px; line-height: 0%; width: 0px; - position: absolute; - border-bottom: 10px solid #b8b5b5; - border-left: 5px solid transparent; - border-right: 5px solid transparent; - top: 6px; - left: -5px; - z-index: 3; -} - -*/ - - - -/* Layout widgets. This is essential CSS to make layout work (it isn't "styling" CSS) - make sure that the position:absolute in dijitAlign* overrides other classes */ - -.dijitLayoutContainer{ - position: relative; - display: block; - overflow: hidden; -} - -body .dijitAlignTop, -body .dijitAlignBottom, -body .dijitAlignLeft, -body .dijitAlignRight { - position: absolute; - overflow: hidden; -} - -body .dijitAlignClient { position: absolute; } - -/* SplitContainer - - 'V' == container that splits vertically (up/down) - 'H' = horizontal (left/right) -*/ -.dijitSplitContainer{ - position: relative; - overflow: hidden; - display: block; -} - -.dijitSplitPane{ - position: absolute; -} - -.dijitSplitContainerSizerH, -.dijitSplitContainerSizerV { - position:absolute; - font-size: 1px; - cursor: move; - cursor: w-resize; - background-color: ThreeDFace; - border: 1px solid; - border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight; - margin: 0; -} - -.dijitSplitContainerSizerV { - cursor: n-resize; -} - -.dijitSplitContainerSizerH .thumb { - position:absolute; - top:49%; -} - -.dijitSplitContainerSizerV .thumb { - position:absolute; - left:49%; -} - -.dijitSplitContainerVirtualSizerH, -.dijitSplitContainerVirtualSizerV { - font-size: 1px; - cursor: move; - cursor: w-resize; - background-color: ThreeDShadow; - -moz-opacity: 0.5; - opacity: 0.5; - filter: Alpha(Opacity=50); - margin: 0; -} - -.dijitSplitContainerVirtualSizerV { - cursor: n-resize; -} - - -/* ContentPane */ - -.dijitContentPane { - display: block; - overflow: auto; /* if we don't have this (or overflow:hidden), then Widget.resizeTo() doesn't make sense for ContentPane */ -} -/* TitlePane */ -.dijitTitlePane { - display: block; - overflow: hidden; -} - -/* Color Palette */ - -.dijitColorPalette { - border:1px solid #999; - background:#fff; - -moz-border-radius:3pt; -} - -img.dijitColorPaletteUnder { - border-style:none; - position:absolute; - left:0; - top:0; -} -.dijitColorPaletteInner { - position: relative; - overflow:hidden; - outline:0; -} -.dijitPaletteImg { - width: 16px; /*This is the width of one color in the provided palettes. */ - height: 14px; /* Height of one color in the provided palettes. */ - position: absolute; - overflow: hidden; - cursor: default; - z-index: 10; - border:1px solid #999; - /* -moz-border-radius:2pt; */ -} - -.dijitPaletteImgHighlight { - width: 14px; /*This is the width of one color in the provided palettes. */ - height: 12px; /* Height of one color in the provided palettes. */ - position: absolute; - overflow: hidden; - cursor: default; - z-index: 10; -} - -/* .dijitPaletteImg:hover, */ -.dijitPaletteImg:focus, -.dijitPaletteImgHighlight { - width: 14px; /*This is the width of one color in the provided palettes. */ - height: 12px; /* Height of one color in the provided palettes. */ - border:2px solid #000; - outline:2px solid #dedede; - /* -moz-border-radius:0; */ -} - - -.dijitColorPaletteCell { - width:16px; - height:14px; - border: 1px solid; -} - -.dijitColorPaletteCell:hover { - border-style: solid; - outline:0; -} - -/* Accordion */ - -.dijitAccordionPane { - overflow: hidden !important; /* prevent spurious scrollbars */ -} - -.dijitAccordionPane .dijitAccordionBody { - overflow: auto; -} - - -.dijitAccordionContainer { - border:1px solid #b7b7b7; - border-top:0 !important; -} - -.dijitAccordionPane .dijitAccordionTitle:hover { - cursor: pointer; -} - -.dijitAccordionPane .dijitAccordionTitle .dijitAccordionArrow { - float: right; -} - -/* images off, high-contrast mode styles */ -.dijitAccordionPane .dijitAccordionTitle .arrowTextUp, -.dijitAccordionPane .dijitAccordionTitle .arrowTextDown { - display: none; - float: right; - font-size: 0.65em; - font-weight: normal !important; -} - -.dijit_a11y .dijitAccordionPane .dijitAccordionTitle .arrowTextUp { - display: inline; -} - -.dijit_a11y .dijitAccordionPane-selected .dijitAccordionTitle .arrowTextDown { - display: inline; -} - -.dijit_a11y .dijitAccordionPane-selected .dijitAccordionTitle .arrowTextUp { - display: none; -} - -/* Calendar */ - -.dijitCalendarContainer thead tr th, .dijitCalendarContainer thead tr td, .dijitCalendarContainer tbody tr td, .dijitCalendarContainer tfoot tr td { - padding: 0; -} - -.dijitCalendarNextYear { - margin:0 0 0 0.55em; -} - -.dijitCalendarPreviousYear { - margin:0 0.55em 0 0; -} - -.dijitCalendarIncrementControl { - cursor:pointer; - cursor:hand; - width:1em; -} - -.dijitCalendarDisabledDate { - color:gray !important; -} - -.dijitCalendarBodyContainer tbody tr td { - cursor:pointer; - cursor:hand; -} - -.dijitCalendarPreviousMonthDisabled { - cursor:default !important -} - -.dijitCalendarCurrentMonthDisabled { - cursor:default !important -} - -.dijitCalendarNextMonthDisabled { - cursor:default !important; -} - -.dijitCalendarDateTemplate { - cursor:pointer; -} - -.dijitCalendarSelectedYear { - cursor:pointer; -} -.dijitCalendarNextYear, -.dijitCalendarPreviousYear { - cursor:pointer; -} - -.dijitCalendarMonthLabelSpacer { - /* don't display it, but make it affect the width */ - position: relative; - height: 1px; - overflow: hidden; - visibility: hidden; -} - - -/* Menu */ - -.dijitMenu { - border:1px solid black; - background-color:white; -} -.dijitMenuTable { - margin:1px 0px; - border-collapse:collapse; - border-width:0px; - background-color:white; -} - -.dijitMenuItem{ - white-space: nowrap; - padding:.1em .2em; -} - -.dijitMenuItemHover { - cursor:pointer; - cursor:hand; - background-color:black; - color:white; -} - -.dijitMenuItemIcon { - position: relative; - background-position: center center; - background-repeat: no-repeat; -} - -.dijitMenuItemDisabled * { - /* for a disabled menu item, just set it to mostly transparent */ - opacity:0.3; - cursor:default; -} -.dj_ie .dijit_a11y .dijitMenuItemDisabled td, -.dj_ie .dijitMenuItemDisabled *, -.dj_ie .dijitMenuItemDisabled td { - color:gray !important; - filter: alpha(opacity=35); -} - -.dijitMenuItemLabel { - position: relative; - vertical-align: middle; -} - -.dijit_a11y .dijitMenuItemHover .dijitMenuItemLabel { - border-width: 1px; - border-style: solid; -} -.dijit_a11y .dijitMenuItemHover { - border: 1px #fff dotted !important; -} - -.dijit_a11y .dijitMenuExpandInner { - display:block !important; -} - -/* separator can be two pixels -- set border of either one to 0px to have only one */ -.dijitMenuSeparatorTop { - height: 50%; - margin: 0px; - margin-top:3px; - font-size: 1px; -} - -.dijitMenuSeparatorBottom { - height: 50%; - margin: 0px; - margin-bottom:3px; - font-size: 1px; -} - - - -/* Tab */ - - -.dijitTabContainer .dijitAlignTop { -/* position the tab labels row down by 1 px, and on top of the dijitTabPaneWrapper - so the buttons can overlay the tab pane properly */ - top:1px !important; - z-index:10; -} - -.dijitTabContainer .dijitAlignBottom { -/* position the tab labels row up by 1 px so they overlap */ - margin-top:-1px !important; - z-index:10; -} - -.dijitTabContainer .dijitAlignLeft { -/* position the tab labels left by 1 px so they overlap */ - margin-right:-1px !important; - z-index:10; -} - -.dijitTabContainer .dijitAlignRight { -/* position the tab labels row up by 1 px, and on top of the dijitTabPaneWrapper - so the buttons can overlay the tab pane properly */ - margin-left:-1px !important; - z-index:10; -} - -.dijitTabPaneWrapper { - z-index:0; - overflow: hidden; -} - -.dijitTab { - position:relative; - float:left; - cursor:pointer; - white-space:nowrap; - z-index:3; -} - -.dijitTabContainer .dijitAlignLeft .dijitTab, -.dijitTabContainer .dijitAlignRight .dijitTab { - float:none; -} - -.dijitTabInnerDiv { - position:relative; -} - -.dijitTab .close { - display: inline-block; - cursor: default; - font-size: small; -} - -/* images off, high-contrast mode styles */ -.dijitTab .closeText { - display:none; - padding: 0px 2px; - margin: 0px 2px; -} -.dijit_a11y .dijitTab .closeImage { - padding: 0px !important; - margin: 0px !important; - top: 0px !important; - bottom: 0px !important; -} -.dijit_a11y .closeText { - display:inline; - margin-left:6px; -} -.dijit_a11y .closeText:hover { - border:thin solid; -} -.dijit_a11y .dijitTabChecked { - border-style:dashed !important; -} - -.dijit_a11y .dijitTabInnerDiv { - border-left:none !important; - } - - -.dijitInlineEditor { - /* span around an inline-editable value when in edit mode */ - position:relative; - vertical-align:bottom; -} -.dj_ie .dijitInlineEditor { - vertical-align:middle; -} - -.dijitInlineValue { - /* span around an inline-editable value when NOT in edit mode */ -} - -.dijitInlineEditor .dijitButtonContainer { - /* div around the buttons -- makes them float below the field */ - position:absolute; - right:0px; - overflow:visible; -} - -.dijitInlineEditor .saveButton, -.dijitInlineEditor .cancelButton { -} - -/* Tree */ - -.dijitTreeExpando { - float: left; - display: inline; - clear:both; -} - -.dijitTreeExpand { - float: left; - display: inline; -} - -.dijitTreeContent { - cursor: default; - /* can't make inline - multiline bugs */ -} - -.dijitExpandoText { - display: none; -} - -.dijit_a11y .dijitExpandoText { - float: left; - display: inline; - padding-left: 10px; - padding-right: 10px; - font-family: monospace; - border-style: solid; - border-width: thin; -} - -/* Dialog */ - -.dijitDialog { - position: absolute; - z-index: 999; - padding: 1px; -} - -.dijitDialogUnderlayWrapper { - position: absolute; - left: 0px; - top: 0px; - z-index: 998; - display: none; - background: transparent; -} - -.dijitDialogUnderlay { - background: #eeeeee; - opacity: 0.5; -} - -.dj_ie .dijitDialogUnderlay { - filter: alpha(opacity=50); -} - -/* images off, high-contrast mode styles */ -.dijit_a11y .dijitDialog { - opacity: 1 !important; - background-color: white !important; -} - -.dijitDialog .closeText { - display:none; - position:absolute; -} - -.dijit_a11y .dijitDialog .closeText { - display:inline; -} - -.dijitSliderMoveable { - z-index:99; - position:absolute !important; - display:block; - vertical-align:middle; -} - -.dijitHorizontalSliderMoveable { - right:0px; -} - -.dijit_a11y div.dijitSliderImageHandle, -.dijitSliderImageHandle { - margin:0px; - padding:0px; - position:absolute !important; - border:8px solid gray; - width:0px; - height:0px; -} -.dijit_a11y .dijitSliderFocused .dijitSliderImageHandle { - border:4px solid #000; - height:8px; - width:8px; -} - -.dijitVerticalSliderImageHandle { - top:-8px; - left:-6px; -} - -.dijitHorizontalSliderImageHandle { - left:-8px; - top:-5px; - vertical-align:top; -} - -.dijitSliderBar { - border-style:solid; - border-color:black; -} - -.dijitHorizontalSliderBar { - height:4px; - border-width:1px 0px; -} - -.dijitVerticalSliderBar { - width:4px; - border-width:0px 1px; -} - -.dijitSliderProgressBar { - background-color:red; - #z-index:0; -} - -.dijitVerticalSliderProgressBar { - position:static !important; - height:0%; - vertical-align:top; - text-align:left; -} - -.dijitHorizontalSliderProgressBar { - position:absolute !important; - width:0%; - vertical-align:middle; - overflow:visible; -} - -.dijitSliderRemainingBar { - overflow:hidden; - background-color:transparent; - #z-index:-1; -} - -.dijitVerticalSliderRemainingBar { - height:100%; - text-align:left; -} - -.dijitHorizontalSliderRemainingBar { - width:100% !important; -} - -/* the slider bumper is the space consumed by the slider handle when it hangs over an edge */ -.dijitSliderBumper { - overflow:hidden; - #z-index:-1 -} - -.dijitVerticalSliderBumper { - width:4px; - height:8px; - border-width:0px 1px; -} - -.dijitHorizontalSliderBumper { - width:8px; - height:4px; - border-width:1px 0px; -} - -.dijitVerticalSliderBottomBumper, -.dijitHorizontalSliderLeftBumper { - background-color:red; -} - -.dijitVerticalSliderTopBumper, -.dijitHorizontalSliderRightBumper { - background-color:transparent; -} - -.dijitHorizontalSliderDecoration { - text-align:center; -} - -.dijitSlider .dijitSliderButton { - font-family:monospace; - margin:0px; - padding:0px; - display:block; -} - -.dijit_a11y .dijitSliderButtonInner { - visibility:visible !important; -} - -.dijitSlider .dijitVerticalSliderTopButton { - vertical-align:bottom; -} - -.dijitSlider .dijitVerticalSliderBottomButton { - vertical-align:top; -} - -.dijitSliderButtonContainer { - text-align:center; - height:0px; -} - -.dijitSlider .dijitButtonNode { - padding:0px; - display:block; -} - -.dj_ie .RuleContainer { - z-index: -1; /* #4809 */ -} - -.RuleContainer { - position:relative; - overflow:visible; -} - -.VerticalRuleContainer { - height:100%; - line-height:0px; - float:left; - text-align:left; -} - -.dj_opera .VerticalRuleContainer { - line-height:2%; -} - -.dj_ie .VerticalRuleContainer { - line-height:normal; -} - -.dj_gecko .VerticalRuleContainer { - margin:0px 0px 1px 0px; /* mozilla bug workaround for float:left,height:100% block elements */ -} - -.RuleMark { - position:absolute; - border:1px solid black; - line-height:0px; - height:100%; -} - -.HorizontalRuleMark { - width:0px; - border-top-width:0px !important; - border-bottom-width:0px !important; - border-left-width:0px !important; -} - -.RuleLabelContainer { - position:absolute; -} - -.HorizontalRuleLabelContainer { - text-align:center; - display:inline-block; -} - -.HorizontalRuleLabel { - position:relative; - left:-50%; -} - -.VerticalRuleMark { - height:0px; - border-right-width:0px !important; - border-bottom-width:0px !important; - border-left-width:0px !important; - width:100%; - left:0px; -} - -.dj_ie .VerticalRuleLabelContainer { - margin-top:-.55em; -} - -/* Toolbar A11y */ -.dijit_a11y .dijitButtonContents .dijitButtonText { - display: inline !important; -} - -.dijitTextArea { - width:100%; -} - -.dj_ie .dijitTextArea p { - margin-top:0px; - margin-bottom:0px; -} - -/* Editor */ -.IEFixedToolbar { - position:absolute; - /* top:0; */ - top: expression(eval((document.documentElement||document.body).scrollTop)); -} - -/* TimePicker */ - -.dijitTimePickerItemInner { - text-align:center; - border:0; - padding:2px 8px 2px 8px; -} -.dijitTimePickerTick { - /* opacity:0.1 !important; */ - color:#dedede; - border-bottom:1px solid #dedede; - border-top:1px solid #dedede; - position:relative; -} -.dijitTimePickerTick .dijitTimePickerItemInner { - font-size:0.25em; -} -.dijitTimePickerMarker { - background-color:#ededed; - border-top:1px solid #999; - border-bottom:1px solid #999; -} - -.dijitTimePickerItemHover { - opacity:1 !important; - background-color:#808080; - color:#fff; - border-top:1px solid #333; - border-bottom:1px solid #333; - cursor:pointer; -} -.dijitTimePickerMarker.dijitTimePickerItemHover { - font-size:1.3em; -} - -.dijitTimePickerItemHover .dijitTimePickerItemInner { - display:block; - overflow:visible; - background-color:#808080; - font-size:1em; -} - -.dijitTimePickerItemSelected { - font-weight:bold; - color:#333; - background-color:#b7cdee !important; -} - -.dijit_a11y .dijitTimePickerItem { - border-bottom:1px solid #333; -} - - -/* Disable the high contrast character */ -.dijitToggleButtonIconChar { - display:none !important; -} -.dijit_a11y .dijitToggleButtonIconChar { - display:inline !important; -} - -.dijit_a11y .dijitToggleButtonIconChar { - visibility:hidden; -} -.dijit_a11y .dijitToggleButtonChecked .dijitToggleButtonIconChar { - visibility:visible !important; -} diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/dijit_rtl.css b/spring-faces/src/main/resources/META-INF/dijit/themes/dijit_rtl.css deleted file mode 100644 index 119843c0..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/themes/dijit_rtl.css +++ /dev/null @@ -1,151 +0,0 @@ -/* Tree */ - -.dijitRtl .dijitTreeContainer .dijitTreeExpando { - float:right; -} - -.dijitRtl .dijitTreeContainer .dijitTreeExpand { - float:right; -} - -/* can't specify .dijitRtl and .dijit_a11y on this rule, since they are on the same node */ -.dijitRtl .dijitExpandoText { - float: right; - padding-left: 3px; - padding-right: 0; -} - -/* ComboBox */ - -.dijitRtl .dijitComboBox .dijitInputField { - border-right-width:1px !important; - border-left-width:0px !important; -} - -/* Calendar */ - -.dijitRtl .dijitCalendarNextYear { - margin:0 0.55em 0 0; -} - -.dijitRtl .dijitCalendarPreviousYear { - margin:0 0 0 0.55em; -} - -.dijitRtl .dijitProgressBarFull .dijitProgressBarLabel { - right:0px; /* FF workaround */ -} - -/* Button */ - -.dijitRtl .dijitComboButton .dijitButtonContents { - border-right-width:1px !important; -} - -/* A11y */ -.dijitRtl .dijitA11ySideArrow { - margin-left:1em; - margin-right:0; -} - -/* AccordionPane */ - -.dijitRtl .dijitAccordionPane .dijitAccordionTitle .dijitAccordionArrow, -.dijitRtl .dijitAccordionPane .dijitAccordionTitle .arrowTextUp, -.dijitRtl .dijitAccordionPane .dijitAccordionTitle .arrowTextDown { - float: left; -} - -/* Slider */ - -.dijitRtl .dijitVerticalSliderImageHandle { - left:auto; - right:-6px; -} - -.dj_ie .dijitRtl .dijitVerticalSliderImageHandle { - right:-10px; -} - -.dijitRtl .dijitHorizontalSliderMoveable { - right:auto; - left:0; -} - -.dijitRtl .VerticalRuleContainer { - float:right; -} - -.dj_ie .dijitRtl .VerticalRuleContainer { - text-align:right; -} - -.dj_ie .dijitRtl .VerticalRuleLabel { - text-align:left; -} - -.dj_ie .dijitRtl .HorizontalRuleLabel { - zoom:1; -} - -.dj_ie .dijitRtl .dijitHorizontalSliderProgressBar { - right:0; - left:auto; -} - -/* TabContainer */ - -.dijitRtl .dijitTab { - float:right; -} - -.dj_ie .dijitRtl .dijitTab, -.dj_ie .dijitRtl .dijitTab .dijitTabInnerDiv, -.dj_ie .dijitRtl .dijitTab .dijitTabInnerDiv span { - position:static; - zoom:1; -} - -.dj_ie .dijitRtl .dijitTabContainer .dijitAlignLeft { - margin-left:1px !important; -} - -.dj_ie .dijitRtl .dijitTabContainer .dijitAlignRight { - margin-right:1px !important; -} - -/* TabContainer */ - -.dijitRtl .dijitTab { - float:right; -} - -.dj_ie .dijitRtl .dijitTab, -.dj_ie .dijitRtl .dijitTab .dijitTabInnerDiv { - zoom:1; -} - -.dj_ie6 .dijitRtl .dijitTab { - /* force ie6 to render each tab based on the tab's label */ - width:1px; -} - -.dj_ie7 .dijitRtl .dijitTabContainer .dijitAlignLeft { - /* fix the offset between tabs and the pane */ - margin-left:1px !important; -} - -.dj_ie7 .dijitRtl .dijitTabContainer .dijitAlignRight { - /* fix the offset between tabs and the pane */ - margin-right:1px !important; -} - -.dj_ie6 .dijitRtl .dijitTabContainer .dijitAlignLeft { - overflow-x:visible; - margin-left:2px !important; -} - -.dj_ie6 .dijitRtl .dijitTabContainer .dijitAlignRight { - overflow-x:visible; - margin-right:2px !important; -} diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonActive-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonActive-left.png deleted file mode 100644 index 055e0064..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonActive-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonActive-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonActive-right.png deleted file mode 100644 index 8f5c1726..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonActive-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonActive-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonActive-stretch.png deleted file mode 100644 index 44bfe5cc..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonActive-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonDisabled-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonDisabled-left.png deleted file mode 100644 index c8d4c945..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonDisabled-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonDisabled-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonDisabled-right.png deleted file mode 100644 index 63292bcf..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonDisabled-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonDisabled-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonDisabled-stretch.png deleted file mode 100644 index 4b1f2ca7..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonDisabled-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonEnabled-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonEnabled-left.png deleted file mode 100644 index 19b80401..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonEnabled-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonEnabled-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonEnabled-right.png deleted file mode 100644 index 7d7e4241..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonEnabled-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonEnabled-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonEnabled-stretch.png deleted file mode 100644 index fe4b7684..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonEnabled-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonHover-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonHover-left.png deleted file mode 100644 index c0817c82..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonHover-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonHover-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonHover-right.png deleted file mode 100644 index 33469471..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonHover-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonHover-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonHover-stretch.png deleted file mode 100644 index 53cebb51..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/buttonHover-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/close.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/close.png deleted file mode 100644 index 9f7d4711..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/close.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/closeActive.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/closeActive.png deleted file mode 100644 index 0fcae9fb..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/closeActive.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/closeHover.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/closeHover.png deleted file mode 100644 index b47820ee..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/closeHover.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowActive-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowActive-left.png deleted file mode 100644 index 19b80401..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowActive-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowActive-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowActive-right.png deleted file mode 100644 index 465f22f5..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowActive-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowActive-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowActive-stretch.png deleted file mode 100644 index fe4b7684..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowActive-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowHover-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowHover-left.png deleted file mode 100644 index 19b80401..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowHover-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowHover-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowHover-right.png deleted file mode 100644 index 9a94b629..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowHover-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowHover-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowHover-stretch.png deleted file mode 100644 index 2b20d64b..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonArrowHover-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnActive-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnActive-left.png deleted file mode 100644 index a989bb9c..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnActive-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnActive-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnActive-right.png deleted file mode 100644 index 20e11417..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnActive-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnActive-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnActive-stretch.png deleted file mode 100644 index ec26b8f8..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnActive-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnHover-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnHover-left.png deleted file mode 100644 index a5cd568d..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnHover-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnHover-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnHover-right.png deleted file mode 100644 index 4e4e40d1..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnHover-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnHover-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnHover-stretch.png deleted file mode 100644 index 53cebb51..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonBtnHover-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonDisabled-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonDisabled-left.png deleted file mode 100644 index b8720f35..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonDisabled-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonDisabled-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonDisabled-right.png deleted file mode 100644 index 42314522..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonDisabled-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonDisabled-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonDisabled-stretch.png deleted file mode 100644 index 4b1f2ca7..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonDisabled-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonEnabled-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonEnabled-left.png deleted file mode 100644 index d0e4aef4..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonEnabled-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonEnabled-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonEnabled-right.png deleted file mode 100644 index a1a1262c..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonEnabled-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonEnabled-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonEnabled-stretch.png deleted file mode 100644 index fe4b7684..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/comboButtonEnabled-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonActive-center.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonActive-center.png deleted file mode 100644 index 52e81c3c..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonActive-center.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonActive-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonActive-left.png deleted file mode 100644 index 8ebfd08e..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonActive-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonActive-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonActive-right.png deleted file mode 100644 index 52e81c3c..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonActive-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonActive-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonActive-stretch.png deleted file mode 100644 index 44bfe5cc..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonActive-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonDisabled-center.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonDisabled-center.png deleted file mode 100644 index 9a9533f8..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonDisabled-center.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonDisabled-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonDisabled-left.png deleted file mode 100644 index d1d5d1b1..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonDisabled-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonDisabled-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonDisabled-right.png deleted file mode 100644 index 9a9533f8..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonDisabled-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonDisabled-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonDisabled-stretch.png deleted file mode 100644 index 4b1f2ca7..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonDisabled-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonEnabled-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonEnabled-left.png deleted file mode 100644 index 8730903a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonEnabled-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonEnabled-right-06.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonEnabled-right-06.png deleted file mode 100644 index 93370e4c..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonEnabled-right-06.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonEnabled-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonEnabled-right.png deleted file mode 100644 index 93370e4c..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonEnabled-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonEnabled-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonEnabled-stretch.png deleted file mode 100644 index fe4b7684..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonEnabled-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonHover-center.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonHover-center.png deleted file mode 100644 index 41c1863f..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonHover-center.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonHover-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonHover-left.png deleted file mode 100644 index c0817c82..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonHover-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonHover-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonHover-right.png deleted file mode 100644 index 41c1863f..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonHover-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonHover-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonHover-stretch.png deleted file mode 100644 index 53cebb51..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/ddButtonHover-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/dndCopy.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/dndCopy.png deleted file mode 100644 index 660ca4fb..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/dndCopy.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/dndMove.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/dndMove.png deleted file mode 100644 index 74af29c0..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/dndMove.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/dndNoCopy.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/dndNoCopy.png deleted file mode 100644 index 87f3aa0d..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/dndNoCopy.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/dndNoMove.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/dndNoMove.png deleted file mode 100644 index d75ed860..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/dndNoMove.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/images.css b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/images.css deleted file mode 100644 index cd317aa3..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/images.css +++ /dev/null @@ -1,103 +0,0 @@ - -/* dijit.form.Button */ -.noir .dijitButton { background-image:url('buttonEnabled-left.png'); } -.noir .dijitButton .dijitRight { background-image:url('buttonEnabled-right.png'); } -.noir .dijitButton .dijitStretch { background-image:url('buttonEnabled-stretch.png'); } - -.noir .dijitButtonHover { background-image:url('buttonHover-left.png'); } -.noir .dijitButtonHover .dijitRight { background-image:url('buttonHover-right.png'); } -.noir .dijitButtonHover .dijitStretch { background-image:url('buttonHover-stretch.png'); } - -.noir .dijitButtonActive { background-image:url('buttonActive-left.png'); } -.noir .dijitButtonActive .dijitRight { background-image:url('buttonActive-right.png'); } -.noir .dijitButtonActive .dijitStretch { background-image:url('buttonActive-stretch.png'); } - -.noir .dijitButtonDisabled { background-image:url('buttonDisabled-left.png'); } -.noir .dijitButtonDisabled .dijitRight { background-image:url('buttonDisabled-right.png'); } -.noir .dijitButtonDisabled .dijitStretch { background-image:url('buttonDisabled-stretch.png'); } - - - -/* dijit.form.ComboButton */ -.noir .dijitComboButton { background-image:url('comboButtonEnabled-left.png'); } -.noir .dijitComboButton .dijitRight { background-image:url('comboButtonEnabled-right.png'); } -.noir .dijitComboButton .dijitStretch { background-image:url('comboButtonEnabled-stretch.png'); } - -.noir .dijitComboButtonHover { background-image:url('comboButtonBtnHover-left.png'); } -.noir .dijitComboButtonHover .dijitRight { background-image:url('comboButtonBtnHover-right.png'); } -.noir .dijitComboButtonHover .dijitStretch { background-image:url('comboButtonBtnHover-stretch.png'); } - -.noir .dijitComboButtonActive { background-image:url('comboButtonBtnActive-left.png'); } -.noir .dijitComboButtonActive .dijitRight { background-image:url('comboButtonBtnActive-right.png'); } -.noir .dijitComboButtonActive .dijitStretch { background-image:url('comboButtonBtnActive-stretch.png'); } - - -.noir .dijitComboButtonDownArrowHover { background-image:url('comboButtonArrowHover-left.png'); } -.noir .dijitComboButtonDownArrowHover .dijitRight { background-image:url('comboButtonArrowHover-right.png'); } -.noir .dijitComboButtonDownArrowHover .dijitStretch { background-image:url('comboButtonArrowHover-stretch.png'); } - -.noir .dijitComboButtonDownArrowActive { background-image:url('comboButtonArrowActive-left.png'); } -.noir .dijitComboButtonDownArrowActive .dijitRight { background-image:url('comboButtonArrowActive-right.png'); } -.noir .dijitComboButtonDownArrowActive .dijitStretch{ background-image:url('comboButtonArrowActive-stretch.png'); } - -.noir .dijitComboButtonDisabled { background-image:url('comboButtonDisabled-left.png') !important; } -.noir .dijitComboButtonDisabled .dijitRight { background-image:url('comboButtonDisabled-right.png') !important; } -.noir .dijitComboButtonDisabled .dijitStretch { background-image:url('comboButtonDisabled-stretch.png') !important; } - - -/* dijit.form.DropDownButton */ -.noir .dijitDropDownButton { background-image:url('ddButtonEnabled-left.png'); } -.noir .dijitDropDownButton .dijitRight { background-image:url('ddButtonEnabled-right.png'); } -.noir .dijitDropDownButton .dijitStretch { background-image:url('ddButtonEnabled-stretch.png'); } - -.noir .dijitDropDownButtonHover { background-image:url('ddButtonHover-left.png'); } -.noir .dijitDropDownButtonHover .dijitRight { background-image:url('ddButtonHover-right.png'); } -.noir .dijitDropDownButtonHover .dijitStretch { background-image:url('ddButtonHover-stretch.png'); } - -.noir .dijitDropDownButtonActive { background-image:url('ddButtonActive-left.png'); } -.noir .dijitDropDownButtonActive .dijitRight { background-image:url('ddButtonActive-right.png'); } -.noir .dijitDropDownButtonActive .dijitStretch { background-image:url('ddButtonActive-stretch.png'); } - -.noir .dijitDropDownButtonDisabled { background-image:url('ddButtonDisabled-left.png'); } -.noir .dijitDropDownButtonDisabled .dijitRight { background-image:url('ddButtonDisabled-right.png'); } -.noir .dijitDropDownButtonDisabled .dijitStretch { background-image:url('ddButtonDisabled-stretch.png'); } - - - -/* dijit.form.ComboBox */ - -.noir .dijitComboBox { background-image:url('selectEnabled-left.png'); } -.noir .dijitComboBox .dijitRight { background-image:url('selectEnabled-right.png'); } -.noir .dijitComboBox .dijitStretch { background-image:url('selectEnabled-stretch.png'); } - -.noir .dijitComboBoxHover { background-image:url('selectHover-left.png'); } -.noir .dijitComboBoxHover .dijitRight { background-image:url('selectHover-right.png'); } -.noir .dijitComboBoxHover .dijitStretch { background-image:url('selectHover-stretch.png'); } - -.noir .dijitComboBoxActive { background-image:url('selectActive-left.png'); } -.noir .dijitComboBoxActive .dijitRight { background-image:url('selectActive-right.png'); } -.noir .dijitComboBoxActive .dijitStretch { background-image:url('selectActive-stretch.png'); } - -.noir .dijitComboBoxDisabled { background-image:url('selectDisabled-left.png'); } -.noir .dijitComboBoxDisabled .dijitRight { background-image:url('selectDisabled-right.png'); } -.noir .dijitComboBoxDisabled .dijitStretch { background-image:url('selectDisabled-stretch.png'); } - - - -/* dijit.form.Spinner */ - -.noir .dijitSpinner .dijitLeft { background-image:url('spinnerEnabled-left.png') } -.noir .dijitSpinner .dijitUpArrowButton { background-image:url('spinnerEnabled-top.png'); } -.noir .dijitSpinner .dijitDownArrowButton { background-image:url('spinnerEnabled-bottom.png'); } -.noir .dijitSpinner .dijitStretch { background-image:url('spinnerEnabled-stretch.png'); } - -.noir .dijitSpinnerUpArrowHover .dijitUpArrowButton { background-image:url('spinnerHover-top.png'); } -.noir .dijitSpinnerDownArrowHover .dijitDownArrowButton { background-image:url('spinnerHover-bottom.png'); } - -.noir .dijitSpinnerUpArrowActive .dijitUpArrowButton { background-image:url('spinnerActive-top.png'); } -.noir .dijitSpinnerDownArrowActive .dijitDownArrowButton{ background-image:url('spinnerActive-bottom.png'); } - -.noir .dijitSpinnerDisabled .dijitLeft { background-image:url('spinnerDisabled-left.png'); } -.noir .dijitSpinnerDisabled .dijitUpArrowButton { background-image:url('spinnerDisabled-top.png'); } -.noir .dijitSpinnerDisabled .dijitDownArrowButton { background-image:url('spinnerDisabled-bottom.png'); } -.noir .dijitSpinnerDisabled .dijitStretch { background-image:url('spinnerDisabled-stretch.png'); } diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectActive-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectActive-left.png deleted file mode 100644 index a1daf35f..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectActive-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectActive-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectActive-right.png deleted file mode 100644 index c63f36a4..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectActive-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectActive-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectActive-stretch.png deleted file mode 100644 index aab0b8cc..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectActive-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectDisabled-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectDisabled-left.png deleted file mode 100644 index 6d488d0f..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectDisabled-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectDisabled-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectDisabled-right.png deleted file mode 100644 index 285e48a2..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectDisabled-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectDisabled-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectDisabled-stretch.png deleted file mode 100644 index feb2e105..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectDisabled-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectEnabled-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectEnabled-left.png deleted file mode 100644 index 9df25074..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectEnabled-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectEnabled-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectEnabled-right.png deleted file mode 100644 index fb663953..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectEnabled-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectEnabled-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectEnabled-stretch.png deleted file mode 100644 index ad8c9e42..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectEnabled-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectHover-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectHover-left.png deleted file mode 100644 index c8776286..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectHover-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectHover-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectHover-right.png deleted file mode 100644 index 2458306e..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectHover-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectHover-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectHover-stretch.png deleted file mode 100644 index ae1fb138..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/selectHover-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerActive-bottom.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerActive-bottom.png deleted file mode 100644 index b86242d9..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerActive-bottom.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerActive-top.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerActive-top.png deleted file mode 100644 index dd8aa68a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerActive-top.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerDisabled-bottom.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerDisabled-bottom.png deleted file mode 100644 index b7ae2f9a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerDisabled-bottom.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerDisabled-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerDisabled-left.png deleted file mode 100644 index e3864aa7..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerDisabled-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerDisabled-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerDisabled-stretch.png deleted file mode 100644 index feb2e105..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerDisabled-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerDisabled-top.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerDisabled-top.png deleted file mode 100644 index add65eb7..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerDisabled-top.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerEnabled-bottom.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerEnabled-bottom.png deleted file mode 100644 index 7e803345..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerEnabled-bottom.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerEnabled-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerEnabled-left.png deleted file mode 100644 index 96d72fee..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerEnabled-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerEnabled-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerEnabled-stretch.png deleted file mode 100644 index 4ede9266..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerEnabled-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerEnabled-top.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerEnabled-top.png deleted file mode 100644 index f5a1aa12..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerEnabled-top.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerHover-bottom.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerHover-bottom.png deleted file mode 100644 index c8f7598f..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerHover-bottom.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerHover-top.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerHover-top.png deleted file mode 100644 index d889ab26..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/spinnerHover-top.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabActive-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabActive-left.png deleted file mode 100644 index f3af3e02..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabActive-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabActive-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabActive-right.png deleted file mode 100644 index dda4ca07..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabActive-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabActive-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabActive-stretch.png deleted file mode 100644 index 44bfe5cc..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabActive-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabDisabled-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabDisabled-left.png deleted file mode 100644 index aaab23a3..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabDisabled-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabDisabled-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabDisabled-right.png deleted file mode 100644 index afd92430..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabDisabled-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabDisabled-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabDisabled-stretch.png deleted file mode 100644 index 4b1f2ca7..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabDisabled-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabEnabled-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabEnabled-left.png deleted file mode 100644 index 580a23db..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabEnabled-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabEnabled-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabEnabled-right.png deleted file mode 100644 index 97270651..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabEnabled-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabEnabled-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabEnabled-stretch.png deleted file mode 100644 index fe4b7684..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabEnabled-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabHover-left.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabHover-left.png deleted file mode 100644 index 562c682a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabHover-left.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabHover-right.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabHover-right.png deleted file mode 100644 index de7e879d..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabHover-right.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabHover-stretch.png b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabHover-stretch.png deleted file mode 100644 index 53cebb51..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/images/tabHover-stretch.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/noir.css b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/noir.css deleted file mode 100644 index 9610bc24..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/noir.css +++ /dev/null @@ -1,200 +0,0 @@ -@import url("../dijit.css"); -@import url(images/images.css); - -.noir .dijit { - font-family:Tahoma; - font-size:14px; -} - -.noir .dijitUpArrowButton, -.noir .dijitDownArrowButton { - background-repeat:no-repeat; -} - -.noir .dijitA11yUpArrow, -.noir .dijitA11yDownArrow { - display:none; -} - - -.noir .dijitButtonNode { - border:0px !important; -} - -.noir .dijitButton, -.noir .dijitComboButton, -.noir .dijitDropDownButton, -.noir .dijitComboBox { - height:30px; - padding:0px; - border-width:0px; - background-color:transparent; - background-repeat:no-repeat; - margin:5px; -} - -.noir .dijitButton .dijitRight { - height:30px; - margin-left:15px; - padding-right:15px; -} -.dj_ie .noir .dijitButton .dijitRight { - padding-right:11px; -} - -.noir .dijitButton .dijitButtonNode, -.noir .dijitComboButton .dijitButtonNode, -.noir .dijitDropDownButton .dijitButtonNode { - /* generic styles */ - vertical-align:top; - height:30px; - font-family:inherit; - font-size:inherit; - background-color:transparent; - padding:0px !important; - line-height:25px; /* Safari only */ - - /* enabled-specific styles */ - color:#cccccc; -} - - - -.noir .dijitButtonHover .dijitButtonNode, -.noir .dijitComboButtonHover .dijitButtonNode, -.noir .dijitDropDownButtonHover .dijitButtonNode { - /* hover styles */ - color:#fa4242; -} - -.noir .dijitButtonActive .dijitButtonNode, -.noir .dijitComboButtonActive .dijitButtonNode, -.noir .dijitDropDownButtonActive .dijitButtonNode { - /* active (down) styles */ - color:#31d397; -} - -.noir .dijitButtonDisabled .dijitButtonNode, -.noir .dijitComboButtonDisabled .dijitButtonNode, -.noir .dijitDropDownButtonDisabled .dijitButtonNode { - /* disabled styles */ - color:#3f3f3f; -} - - -/* drop-down-button specific */ - -.noir .dijitDropDownButton .dijitRight { - height:30px; - margin-left:15px; - padding-right:31px; -} - -.noir .dijitDropDownButton .dijitA11yDownArrow { - display:none; -} - - -/* combo-specific */ -.noir .dijitComboButton TABLE { - margin-left:15px; -} -.noir .dijitComboButton .dijitRight, -.noir .dijitComboButton .dijitDownArrowButton div { - height:30px; - width:35px; - - /* don't display arrow text; just use background image */ - font-size: 0px; -} - - - - -/**** - dijit.form.ComboBox - ****/ -.noir .dijitComboBox TABLE { - margin-left:10px; -} - -.noir .dijitComboBox .dijitStretch { - height:30px; - #margin-top:0px; -} - -.noir .dijitComboBox .dijitRight, -.noir .dijitComboBox .dijitRightSpacer { - height:30px; - width:32px; -} - -.noir .dijitComboBox .dijitDownArrowButton { - padding:0px !important; - width:32px; -} - -.noir .dijitComboBox .dijitButtonNode { - font-family:inherit; - font-size:inherit; - background-color:transparent; -} - - -.noir .dijitComboBoxInput, -.noir .dijitSpinnerInput { - border:0px; - margin:0px; - - /* IE7 HACK: get things to line up - #top:-1px; - #left:10px; - #padding-top:6px; - */ - /* SAFARI HACK: get things to line up (a little better) * / - top:4px; - margin-right:-10px; - */ -} - -.noir .dijitComboBox INPUT, -.noir .dijitSpinner INPUT { - color:white; - background:black; -} - -.noir .dijitComboBoxDisabled INPUT, -.noir .dijitSpinnerDisabled INPUT{ - color:#3f3f3f; -} - - - - -/* dijit.form.NumberSpinner */ -.noir .dijitSpinner TABLE { - padding-left:10px; -} - -.noir .dijitSpinner .dijitStretch { - height:30px; - #margin-top:0px; -} - -.noir .dijitSpinner .dijitUpArrowButton, -.noir .dijitSpinner .dijitDownArrowButton{ - height:15px; - width:34px; - padding:0px !important; -} - -/* DnD avatar-specific settings */ -/* For now it uses a default set of rules. Some other DnD classes can be modified as well. */ -.noir .dojoDndAvatar {font-size: 75%; color: black;} -.noir .dojoDndAvatarHeader td {padding-left: 20px; padding-right: 4px;} -.noir .dojoDndAvatarHeader {background: #ccc;} -.noir .dojoDndAvatarItem {background: #eee;} -.noir.dojoDndMove .dojoDndAvatarHeader {background-image: url(images/dndNoMove.png); background-repeat: no-repeat;} -.noir.dojoDndCopy .dojoDndAvatarHeader {background-image: url(images/dndNoCopy.png); background-repeat: no-repeat;} -.noir.dojoDndMove .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-image: url(images/dndMove.png); background-repeat: no-repeat;} -.noir.dojoDndCopy .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-image: url(images/dndCopy.png); background-repeat: no-repeat;} diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/noir.html b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/noir.html deleted file mode 100644 index 17ca9d2d..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/noir.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - - - - - - -
    - - - - - - - - - - - - - -

    Noir

    Tundra

    a11y

    - - -
    - -
    -  -
    - -
    - -

    - - - -
    -
    -  - -
    - -
    - -

    - - - - - - - - -
      - ${label} - -
    -  -
    - -

    - - - - - -
     
    - - - - - -
    - - diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/noir.psd b/spring-faces/src/main/resources/META-INF/dijit/themes/noir/noir.psd deleted file mode 100644 index c6bd56f7..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/noir/noir.psd and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/arrows.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/arrows.png deleted file mode 100644 index 2b28bfff..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/arrows.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/checkmark.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/checkmark.png deleted file mode 100644 index 4e10f67a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/checkmark.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/dndCopy.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/dndCopy.png deleted file mode 100644 index 660ca4fb..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/dndCopy.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/dndMove.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/dndMove.png deleted file mode 100644 index 74af29c0..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/dndMove.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/dndNoCopy.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/dndNoCopy.png deleted file mode 100644 index 87f3aa0d..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/dndNoCopy.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/dndNoMove.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/dndNoMove.png deleted file mode 100644 index d75ed860..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/dndNoMove.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/editor.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/editor.gif deleted file mode 100644 index 7fe7052c..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/editor.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientBottomBg.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientBottomBg.png deleted file mode 100644 index 72f5dc84..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientBottomBg.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientInverseBottomBg.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientInverseBottomBg.png deleted file mode 100644 index 600a688e..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientInverseBottomBg.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientInverseTopBg.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientInverseTopBg.png deleted file mode 100644 index 73d4c942..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientInverseTopBg.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientLeftBg.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientLeftBg.png deleted file mode 100644 index 85f0f7b7..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientLeftBg.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientRightBg.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientRightBg.png deleted file mode 100644 index b42b83fb..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientRightBg.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientTopBg.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientTopBg.png deleted file mode 100644 index 35e5bda0..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientTopBg.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientTopBg2.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientTopBg2.png deleted file mode 100644 index 29e733bd..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/gradientTopBg2.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/no.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/no.gif deleted file mode 100644 index 9021a14e..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/no.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/preciseSliderThumb.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/preciseSliderThumb.png deleted file mode 100644 index 0e06640a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/preciseSliderThumb.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/progressBarAnim.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/progressBarAnim.gif deleted file mode 100644 index 167a3e0d..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/progressBarAnim.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/sliderThumb.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/sliderThumb.png deleted file mode 100644 index a5a5dd6f..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/sliderThumb.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/splitContainerSizerH-thumb.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/splitContainerSizerH-thumb.png deleted file mode 100644 index 4a40a531..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/splitContainerSizerH-thumb.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/splitContainerSizerH.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/splitContainerSizerH.png deleted file mode 100644 index e2600677..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/splitContainerSizerH.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/splitContainerSizerV-thumb.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/splitContainerSizerV-thumb.png deleted file mode 100644 index d1f409de..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/splitContainerSizerV-thumb.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/splitContainerSizerV.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/splitContainerSizerV.png deleted file mode 100644 index 37f6a053..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/splitContainerSizerV.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/tabClose.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/tabClose.png deleted file mode 100644 index 7b84982f..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/tabClose.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/tabCloseHover.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/tabCloseHover.png deleted file mode 100644 index 55f682fa..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/tabCloseHover.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/tooltips.png b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/tooltips.png deleted file mode 100644 index 3d7a881f..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/tooltips.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/treeExpand_loading.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/treeExpand_loading.gif deleted file mode 100644 index b6d53b9d..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/treeExpand_loading.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/treeExpand_minus.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/treeExpand_minus.gif deleted file mode 100644 index 413d1285..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/treeExpand_minus.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/treeExpand_minus_rtl.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/treeExpand_minus_rtl.gif deleted file mode 100644 index b0687e5d..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/treeExpand_minus_rtl.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/treeExpand_plus.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/treeExpand_plus.gif deleted file mode 100644 index 9cfbb252..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/treeExpand_plus.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/treeExpand_plus_rtl.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/treeExpand_plus_rtl.gif deleted file mode 100644 index 96673fe0..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/images/treeExpand_plus_rtl.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/rounded.css b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/rounded.css deleted file mode 100644 index 18d13647..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/rounded.css +++ /dev/null @@ -1,34 +0,0 @@ -/* - this is experimental stylestuff for the pseudo-builtin support - webkit and firefox provide for CSS3 radius: property. -*/ -.soria .dijitTab { - margin-left:0px; - -moz-border-radius-topleft:6pt; - -moz-border-radius-topright:5pt; - -webkit-border-top-left-radius:6pt; - -webkit-border-top-right-radius:6pt; -} -.soria .dijitAlignBottom .dijitTab { - - -webkit-border-top-left-radius:0; - -webkit-border-top-right-radius:0; - -moz-border-radius-topleft:0; - -moz-border-radius-topright:0; - - -webkit-border-bottom-left-radius:6pt; - -webkit-border-bottom-right-radius:6pt; - -moz-border-radius-bottomleft:6pt; - -moz-border-radius-bottomright:5pt; -} - -.soria .dijitButton { - -moz-border-radius:4pt; -} - -.soria .dijitDialogTitleBar { - -webkit-border-top-left-radius:6pt; - -webkit-border-top-right-radius:6pt; - -moz-border-radius-topleft:6pt; - -moz-border-radius-topright:5pt; -} \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/soria.css b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/soria.css deleted file mode 100644 index 1cd89685..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/soria.css +++ /dev/null @@ -1,1151 +0,0 @@ -/* - Soria theme - not in solid state right now. Not ready for production ... -` please feel free to add styles for new widgets should they appear, - or fix classnames you would fix in tundra.css if you change a widget - template classname. -*/ - -@import url("../dijit.css"); - -/* un-comment to endable webkit and ff2 builtin love */ -/* -@import url("rounded.css"); -*/ - -.dj_safari .soria .dijitPopup { - -webkit-box-shadow: 0px 3px 7px #adadad; -} - -/* try and group similar look and feel into these main groupings, and put extra stling grouped - by widget somehwere below (most already have sections) */ -.soria .dijitButtonNode, -.soria .dijitToolbar, -.soria .dijitTab, -.soria .dijitSplitContainerSizerV, -.soria .dijitAccordionPane .dijitAccordionTitle, -.soria .dijitCalendarMonthContainer th, -.soria .dijitProgressBarEmpty, -.soria .dijitTooltipContainer, -.soria .dijitHorizontalSliderRemainingBar { - background:#b7cdee url('images/gradientTopBg.png') repeat-x; - /* background:#090 url('images/gradientTopBg.png') repeat-x; */ - #background-image:none !important; -} - -.soria .dijitButtonHover .dijitButtonNode, -.soria .dijitToggleButtonHover .dijitButtonNode, -.soria .dijitDropDownButtonHover .dijitButtonNode, -.soria .dijitComboButtonHover .dijitButtonContents, -.soria .dijitComboButtonDownArrowHover .dijitDownArrowButton, -.soria .dijitComboBoxHover .dijitDownArrowButton, -.soria .dijitSpinnerUpArrowHover .dijitUpArrowButton, -.soria .dijitSpinnerDownArrowHover .dijitDownArrowButton, -.soria .dijitTitlePane .dijitTitlePaneTitle, -.soria .dijitTabHover, -.soria .dijitTabCloseButtonHover, -.soria .dijitDialogTitleBar, -.soria .dijitAccordionPane-selected .dijitAccordionTitle, -.soria .dijitProgressBarTile, -.soria .dijitHorizontalSliderProgressBar { - background:#4f8ce5 url('images/gradientTopBg.png') repeat-x; - -} - -/* all icons are here */ -.soria .dijitComboBox .dijitDownArrowButtonInner, -.soria .dijitMenuExpandEnabled, -.soria .dijitTitlePane .dijitClosed .dijitArrowNode, -.soria .dijitTitlePane .dijitOpen .dijitArrowNode, -.soria .dijitTab .dijitClosable .closeImage, -.soria .dijitTabCloseButton .dijitClosable .closeImage, -.soria .dijitTabCloseButtonHover .dijitClosable .closeImage, -.soria .dijitSplitContainerSizerH .thumb, -.soria .dijitSplitContainerSizerV .thumb, -.soria .dijitDialogCloseIcon, -.soria .dijitTooltipConnector, -.soria .dijitAccordionArrow, -.soria .dijitCalendarDecrease, -.soria .dijitCalendarIncrease, -.soria .dijitHorizontalSliderDecrementIcon, -.soria .dijitHorizontalSliderIncrementIcon, -.soria .dijitVerticalSliderIncrementIcon, -.soria .dijitVerticalSliderDecrementIcon, -.soria .dijitHorizontalSliderImageHandle, -.soria .dijitVerticalSliderImageHandle, -.soria .dijitInputFieldValidationIconNormal, -.soria .dijitInputFieldValidationIcon, -/* FIXME: need to make these spans inside the cell? */ -.soria.dojoDndMove .dojoDndAvatarCanDrop .dojoDndAvatarHeader, -.soria.dojoDndCopy .dojoDndAvatarCanDrop .dojoDndAvatarHeader, -.soria.dojoDndCopy .dojoDndAvatarHeader, -.soria.dojoDndMove .dojoDndAvatarHeader, -/* FIXME: should be .dijitRtl .soria ... {} */ -.dijitRtl .dijitCalendarDecrease, -.dijitRtl .dijitCalendarIncrease, -.dijitRtl .dijitMenuItem .dijitMenuExpandEnabled, -.dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode, -.dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon -{ - width:16px; - height:16px; - overflow:hidden; - margin:0; padding:0; - background-image: url('images/arrows.png'); - background-repeat: none; -} - -.soria .dijitCheckBoxIcon, -.soria .dijitRadioIcon, -.soria .dijitCheckBox, -.soria .dijitRadio { - width:16px; - height:16px; - margin:0; padding:0; - background-image: url('images/arrows.png'); -} - -/* Control opacity of popups */ -.soria .dijitPopup div, -.soria .dijitPopup table { - opacity: 0.95; -} -/* - dijit.form.Button - dijit.form.DropDownButton - dijit.form.ComboButton - dijit.form.ComboBox (partial) -*/ -.soria .dijitButtonNode { - /* enabled state - inner */ - border:1px solid #4f8ce5; - vertical-align: middle; - padding: 0.2em 0.2em; -} - -.dj_ie6 .soria .dijitButtonNode { - zoom: 1; - padding-bottom: 0.1em; -} - -.soria .dijitButtonDisabled .dijitButtonNode, -.soria .dijitToggleButtonDisabled .dijitButtonNode, -.soria .dijitDropDownButtonDisabled .dijitButtonNode, -.soria .dijitComboButtonDisabled .dijitButtonNode, -.soria .dijitComboBoxDisabled .dijitDownArrowButton, -.soria .dijitComboBoxDisabled .dijitInputField, -.soria .dijitSpinnerDisabled .dijitInputField, -.soria .dijitSpinnerDisabled .dijitButtonNode { - /* disabled state - inner */ - border: 1px solid #d5d5d5; - background:#ccc url("images/gradientTopBg.png") repeat-x top left; - opacity: 0.50; /* Safari, Opera and Mozilla */ -} -.soria .dijitButtonDisabled .dijitButtonNode *, -.soria .dijitToggleButtonDisabled .dijitButtonNode *, -.soria .dijitDropDownButtonDisabled .dijitButtonNode *, -.soria .dijitComboButtonDisabled .dijitButtonNode *, -.soria .dijitSpinnerDisabled .dijitButtonNode * { - filter: gray() alpha(opacity=50); /* IE */ -} - -.soria .dijitButtonHover .dijitButtonNode, -.soria .dijitToggleButtonHover .dijitButtonNode, -.soria .dijitDropDownButtonHover .dijitButtonNode, -.soria .dijitComboButtonHover .dijitButtonContents, -.soria .dijitComboButtonDownArrowHover .dijitDownArrowButton, -.soria .dijitComboBoxHover .dijitDownArrowButton, -.soria .dijitSpinnerUpArrowHover .dijitUpArrowButton, -.soria .dijitSpinnerDownArrowHover .dijitDownArrowButton { - /* hover state - inner */ - border-color:#666; - color:#fff; - background-position:0px -1px; -} - -.soria .dijitButtonActive .dijitButtonNode, -.soria .dijitToggleButtonActive .dijitButtonNode, -.soria .dijitDropDownButtonActive .dijitButtonNode, -.soria .dijitComboButtonActive .dijitButtonContents, -.soria .dijitDownArrowActive .dijitDownArrowButton, -.soria .dijitComboBoxActive .dijitDownArrowButton { - /* active state - inner (for when you are pressing a normal button, or - * when a toggle button is in a depressed state - */ - border-color:#333; - background: #cbdcf7 url("images/gradientBottomBg.png") bottom repeat-x; -} - -/* button inner contents - labels, icons etc. */ -.soria .dijitButtonNode * { - display: -moz-inline-box; - display: inline-block; - vertical-align: middle; -} -.dj_ie .soria .dijitButtonNode * { - zoom: 1; - display:inline; -} -.soria .dijitButtonText { - padding: 0 0.3em; -} - - -.soria .dijitToolbar { - border: 1px solid #333; -} -.soria .dijitToolbar * { - padding: 0px; - margin: 0px; -} -.dj_ie .soria .dijitToolbar { - padding-bottom: 1px; - margin-top: -1px; -} -.soria .dijitToolbar .dijitButtonNode { - padding: 0px; - margin: 0px; - border: 1px solid transparent; - background: none; -} -.soria .dijitToolbar .dijitToggleButtonChecked .dijitButtonNode { - background-color:#C1D2EE; - border:1px solid #666; - border-top:0; - border-bottom:0; -} -.soria .dijitToolbar .dijitToggleButtonCheckedHover .dijitButtonContents { - border-color: #000; - background-color:transparent; -} -.dj_ie6 .soria .dijitToolbar .dijitButtonNode { - /* workaround no transparent border support in IE6*/ - border-color: #e9e9e9; -} -.soria .dijitToolbar .dijitButtonHover .dijitButtonNode, -.soria .dijitToolbar .dijitToggleButtonHover .dijitButtonNode, -.soria .dijitToolbar .dijitDropDownButtonHover .dijitButtonNode { - border-color: #366dba; -} -.dijitToolbarSeparator { - background: url('images/editor.gif'); - height: 18px; - width: 5px; - padding: 0px 1px 0px 1px; - margin: 0px; -} -.soria .dijitToolbar .dijitToolbarSeparator { - background: url('images/editor.gif'); -} - -/* ComboBox-icon-specific */ -.soria .dijitComboBox .dijitDownArrowButtonChar { - /* visibility:hidden; */ - display:none; -} -.soria .dijitComboBox .dijitDownArrowButtonInner { background-position:0px 0px; } -.soria .dijitComboBoxHover .dijitDownArrowButtonInner { } -.soria .dijitSpinner .dijitButtonNode { - padding: 0 .4em 0 .4em; -} - -/* - dijit.form.TextBox - dijit.form.ValidationTextBox - dijit.form.SerializableTextBox - dijit.form.RangeBoundTextBox - dijit.form.NumberTextBox - dijit.form.CurrencyTextBox - dijit.form.NumberSpinner - dijit.form.ComboBox (partial) -*/ -.soria .dijitComboBox { - /* put margin on the outer element of the autocompleter rather than the input */ - margin:.0em .1em .2em .1em; -} - -.soria .dijitInputField, -.soria .dijitInlineEditor input, -.soria .dijitTextArea { - /* For all except dijit.form.NumberSpinner: the actual input element. - For dijit.form.NumberSpinner: the outer fieldset that contains the input. - */ - font-size: inherit; - background:#fff url("images/gradientInverseTopBg.png") repeat-x top left; - background-position:0 -32px; - /* border:1px solid #333; */ - line-height: normal; - padding: 0.2em 0.3em; -} - -.dj_ie .soria TD.dijitInputField, -.dj_ie .soria .dijitInputField INPUT { - height: 1.65em; /* set height for IE since the INPUT is position:absolute */ -} - -.dj_safari .soria .dijitInputField { - padding: 0.08em 0.3em; /* looks better */ -} - -.soria INPUT.dijitTextBox { - padding: 0.2em 0.3em; -} - -.dj_ie .soria .dijitTextBox INPUT, -.dj_ie .soria .dijitComboBox INPUT, -.dj_ie .soria .dijitSpinner INPUT { - width:95% !important; /* add a little padding-right for position:absolute INPUT */ -} - -.soria .dijitComboBoxFocused .dijitInputField { - /* input field when focused (eg: typing affects it) */ - border-color:#333; - border-style:inset; -} - -.soria .dijitComboBoxDisabled .dijitInputField { - /* input field when disabled (also set above) */ -} - -.soria .dijitComboBoxHover .dijitInputField { - /* input field when hovered over */ - border-color:#4f8ce5; -} - -.soria .dijitComboBoxActive .dijitInputField { - /* input field when mouse is down (?) */ -} - -/* Dojo Input Field */ - -HTML.dj_ie6 .soria .dijitInputFieldValidationNormal, -.soria .dijitInputFieldValidationNormal { - -} - -HTML.dj_ie6 .soria .dijitInputFieldValidationError, -.soria .dijitInputFieldValidationError { - border:1px solid #f3d118; - background-color::#f9f7ba; - background-image:none; -} - -.soria .dijitInputFieldFocused { - border:1px solid #000; -} - -.soria .dijitInputFieldValidationError:hover, -.soria .dijitInputFieldValidationError:focus { - background-color:#ff6; - background-image:none; -} -.soria .dijitInputFieldValidationIcon { - margin-left: 3px; - padding-bottom: 1px; -} -.soria .dijitInputFieldValidationIconNormal { - background-image: none; -} - -.soria .dijitInputFieldValidationIconError { - background-position:-384px 0px; -} - -.soria .dijitInputFieldValidationIconText { - visibility: hidden; -} - -/* CheckBox and Radio Widgets, and the CSS to embed a checkbox or radio icon inside a ToggleButton. */ - -.soria .dijitToggleButton .dijitCheckBox, -.soria .dijitToggleButton .dijitRadio, -.soria .dijitToggleButton .dijitCheckBoxIcon, -.soria .dijitToggleButton .dijitRadioIcon { - background-image: url('images/checkmarkNoBorder.gif'); -} - -.soria .dijitCheckBox, .soria .dijitToggleButton .dijitCheckBoxIcon { background-position: -112px; }/* unchecked */ -.soria .dijitCheckBoxChecked, -.soria .dijitToggleButtonChecked .dijitCheckBoxIcon { background-position: -96px; } /* checked */ -.soria .dijitCheckBoxDisabled { /* disabled */ background-position: -144px; } -.soria .dijitCheckBoxCheckedDisabled { background-position: -128px; } /* disabled but checked */ -.soria .dijitCheckBoxHover, -.soria .dijitCheckBoxFocused { background-position: -176px; } /* hovering over an unchecked enabled checkbox */ -.soria .dijitCheckBoxCheckedHover, -.soria .dijitCheckBoxCheckedFocused { background-position: -160px; } /* hovering over a checked enabled checkbox */ -.soria .dijitRadio, -.soria .dijitToggleButton .dijitRadioIcon { background-position: -208px; } /* unselected */ -.soria .dijitRadioChecked, -.soria .dijitToggleButtonChecked .dijitRadioIcon { background-position: -192px; } /* selected */ -.soria .dijitRadioCheckedDisabled { background-position: -224px; } /* selected but disabled */ -.soria .dijitRadioDisabled { background-position: -240px; } /* unselected and disabled */ -.soria .dijitRadioHover, -.soria .dijitRadioFocused { background-position: -272px; } /* hovering over an unselected enabled radio button */ -.soria .dijitRadioCheckedHover, -.soria .dijitRadioCheckedFocused { background-position: -256px; } /* hovering over a selected enabled radio button */ - -/* diji.Menu */ -.soria .dijitMenu { - border: 1px solid #333; - margin: 0px; - padding: 0px; -} -.soria .dijitMenuSeparator, -.soria .dijitMenuItem { - background-color: #b7cdee; - font: menu; - margin: 0; -} -.soria .dijitMenuItem TD { - padding:2px; - outline:0; -} -.soria .dijitMenuItemHover { - background-color: #4f8ce5; - color:#fff; -} -.soria .dijitMenuExpand { - display:none; -} -.soria .dijitMenuExpandEnabled { - background-position: -48px 0px; - display:block; -} -.soria .dijitMenuExpandInner { - display:none !important; -} -/* separator can be two pixels -- set border of either one to 0px to have only one */ -.soria .dijitMenuSeparatorTop { - border-bottom: 1px solid #333; -} - -.soria .dijitMenuSeparatorBottom { - border-top: 1px solid #666; -} - -/* TitlePane */ -.soria .dijitTitlePane .dijitTitlePaneTitle { - border:1px solid #333; - border-bottom:0; - background-position:0px -1px; - padding:4px 4px 4px 4px; - cursor: pointer; - color:#fff; - font-weight:bold; -} -.soria .dijitTitlePane .dijitClosed { - border-bottom:1px solid #333; -} -.soria .dijitTitlePane .dijitClosed .dijitArrowNode { background-position:-48px 0px; } -.soria .dijitTitlePane .dijitOpen .dijitArrowNode { background-position:0px 0px; } -.soria .dijitTitlePane .dijitArrowNodeInner { visibility:hidden; } -.soria .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { margin-right:5px; } -.soria .dijitOpen .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - position:relative; - top:2px; -} -.soria .dijitTitlePaneContentOuter { - background: #ffffff; - border:1px solid #666; - border-top: 1px solid #666; /* w/out this, an

    on the top line causes a gap between the .content and .label */ -} -.soria .dijitTitlePaneContentInner { - padding:10px; -} -/* force hasLayout to ensure borders etc, show up */ -.dj_ie6 .soria .dijitTitlePaneContentOuter, -.dj_ie6 .soria .dijitTitlePane .dijitTitlePaneTitle { - zoom: 1; -} -.soria .dijitClickableRegion { - background-color : #ffc !important; -} - -/* Tabs */ -.soria .dijitTabPaneWrapper { - background:#fff; - /* border:1px solid #b7cde5; */ - border:1px solid #666; -} - -.soria .dijitTab { - line-height:normal; - margin-right:3px; /* space between one tab and the next in top/bottom mode */ - padding:0px; - border:1px solid #666; -} - -.soria .dijitAlignLeft .dijitTab, -.soria .dijitAlignRight .dijitTab { - margin-right:0px; - margin-bottom:5px; /* space between one tab and the next in left/right mode */ -} - -.soria .dijitTabInnerDiv { - padding:6px 10px 4px 10px; - /* border-left:1px solid #fff; */ - border-bottom:transparent; -} -.dj_ie6 .soria .dijitTabInnerDiv { border-bottom:0; } - -.soria .dijitTabInnerDiv span { - outline:0; -} - -.soria .dijitTabHover, -.soria .dijitTabCloseButtonHover { - color: #fff; - border-top-color:#333; - border-left-color:#333; - border-right-color:#333; -} - -.soria .dijitTabChecked, -.soria .dijitTabCloseButtonChecked -{ - /* the selected tab (with or without hover) */ - background-color:#fff; - border-color:#666; - border-top:1px solid #666; - color:#333; - -/* border-color: #4F8CE5; */ -/* border-top:1px solid #4f8ce5; */ - background-image:none; -} -.soria .dijitTabCloseButton { - border-bottom:1px solid #fff; -} - -/* make the active tab white on the side next to the content pane */ -.soria .dijitAlignTop .dijitTabChecked, -.soria .dijitAlignTop .dijitTabCloseButtonChecked -{ - border-bottom-color:white; - vertical-align:bottom; -} - -.soria .dijitAlignBottom .dijitTabChecked, -.soria .dijitAlignBottom .dijitTabCloseButtonChecked -{ - border-top-color:transparent; - -moz-border-radius:2px 2px 0px 0px; /* eliminate some border detritrus on moz */ -} - -.soria .dijitAlignLeft .dijitTabChecked, -.soria .dijitAlignLeft .dijitTabCloseButtonChecked -{ - border-right-color:white; -} - -.soria .dijitAlignRight .dijitTabChecked, -.soria .dijitAlignRight .dijitTabCloseButtonChecked -{ - border-left-color:white; -} - -/* make space for a positioned close button */ -.soria .dijitTab .dijitClosable { - position: relative; - padding:6px 24px 3px 10px; - /* border-bottom:transparent; */ -} - -.soria .dijitTab .dijitClosable .closeImage { - position:absolute; - top: 5px; - right: 3px; - background-position:-65px -1px; -} - -.soria .dijitTabCloseButton .dijitClosable .closeImage { background-position:-65px -1px; } -.soria .dijitTabCloseButtonHover .dijitClosable .closeImage { background-position:-81px -1px; } - -.soria .dijitAlignLeft .dijitTab .dijitClosable { - padding:6px 10px 6px 20px; -} -/* correct for IE6. - We cant force hasLayout as that blows out the shrink wrapped tabs - ..so we shim in the closeImage position properties instead -*/ -.dj_ie6 .soria .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - left:-20px; -} - -.soria .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - top: auto; - bottom: 5px; - right: 2px; -} - -.soria .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - top: 2px; - left: 5px; -} - -/* SplitContainer */ - -.soria .dijitSplitContainerSizerH { - background:#b7cdee url("images/gradientLeftBg.png") repeat-y; - border:0; - border-right:1px solid #cbdcf7; - width:7px; -} - -.soria .dijitSplitContainerSizerH .thumb { - background-position:-357px 0px; - left:0px; - width:6px; -} - -.soria .dijitSplitContainerSizerV { - border:0; - border-bottom:1px solid #cbdcf7; - height:7px; -} - -.soria .dijitSplitContainerSizerV .thumb { - background-position:-368px -5px; - top:0px; - height:6px; -} - -/* Dialog */ -.soria .dijitDialog { - margin:0; padding:0; - background: #eee; - border: 1px solid #666; - border-top:0px; - -webkit-box-shadow: 0px 3px 7px #adadad; -} - -.soria .dijitDialog .dijitDialogTitle { - border-top: none; - border-left: none; - border-right: none; -} - -.soria .dijitDialog .dijitDialogPaneContent { - background: #ffffff; - border:none; - padding:10px; - outline:0; - opacity:1; -} - -.soria .dijitDialogTitleBar { - /* outer container for the titlebar of the dialog */ - border-top: 1px solid #666; - border-bottom: 1px solid #666; - padding: 4px 4px 4px 4px; - cursor: move; - outline:0; -} - -.soria .dijitDialogTitle { - /* typography and styling of the dialog title */ - font-weight: bold; - color:#fff; - padding: 8px 8px 8px 8px; - outline:0; -} - -.soria .dijitDialogCloseIcon { - /* the default close icon for the dialog */ - background-position:-64px 0px; - float: right; - position: absolute; - vertical-align: middle; - right: 5px; - top: 5px; - cursor: pointer; -} -.soria .dijitDialogContent { - /* the body of the dialog */ - padding: 8px; -} - -/* Tooltip */ -.soria .dijitTooltip, -.soria .dijitTooltipDialog { - /* the outermost dom node, holding the connector and container */ - opacity: 0.85; - background: transparent; /* make the area on the sides of the arrow transparent */ -} - -.dijitTooltipBelow { - /* leave room for arrow above content */ - padding-top: 13px; -} - -.dijitTooltipAbove { - /* leave room for arrow below content */ - padding-bottom: 13px; -} - -.soria .dijitTooltipContainer { - background-color:#ffc; - background-position:0 -30px; - border:1px solid #333; - padding:0.45em; - border-radius: 6px; - -moz-border-radius: 7px; - -webkit-border-radius: 6px; -} -.soria .dijitTooltipContents { - outline:0; /* the node that gets focus */ -} - -.soria .dijitTooltipConnector { - /* the arrow piece */ - border:0px; - z-index: 2; - width:16px; - height:14px; -} -.soria .dijitTooltipABRight .dijitTooltipConnector { - left: auto !important; - right: 3px; -} -.soria .dijitTooltipBelow .dijitTooltipConnector { - /* the arrow piece for tooltips below an element */ - top: 0px; - left: 3px; - background-position:-336px 0px; -} -.soria .dijitTooltipAbove .dijitTooltipConnector { - /* the arrow piece for tooltips above an element */ - bottom: 0px; - left: 3px; - background-position:-304px 0px; -} -.soria .dijitTooltipLeft { - padding-right: 14px; -} -.dj_ie6 .soria .dijitTooltipLeft { - padding-right: 16px; -} -.soria .dijitTooltipLeft .dijitTooltipConnector { - /* the arrow piece for tooltips to the left of an element, bottom borders aligned */ - right: 0px; - bottom: 7px; - background-position:-288px 0px; -} -.soria .dijitTooltipRight { - padding-left: 13px; -} -.soria .dijitTooltipRight .dijitTooltipConnector { - /* the arrow piece for tooltips to the right of an element, bottom borders aligned */ - left: 0px; - bottom: 7px; - background-position:-321px 0px; -} - -/* dijit.layout.AccordionPane */ -.soria .dijitAccordionPane .dijitAccordionTitle { - border:1px solid #666; - border-bottom:0; - padding:5px 5px 3px 5px; - color:#333; -} - -.soria .dijitAccordionPane-selected .dijitAccordionTitle { - color:#fff; - padding: 5px 5px 3px 5px; - font-weight: bold; -} - -.soria .dijitAccordionPane .dijitAccordionArrow { - background-position: -32px 0px; -} -.soria .dijitAccordionPane-selected .dijitAccordionArrow { - background-position: 0px 0px; -} -.soria .dijitAccordionPane .dijitAccordionBody { - background: #fff; - border:1px solid #666; - border-bottom:0; -} - -/* Tree */ -.soria .dijitTreeNode { - margin-left: 19px; - cursor:pointer; - zoom: 1; -} -.soria .dijitTreeIsRoot { - margin-left: 4px; -} -/* left vertical line (grid) for all nodes */ -.soria .dijitTreeIsLast { - background: transparent; -} -.soria .dijitTreeExpando { - width: 18px; - height: 18px; - cursor:pointer; -} -.soria .dijitTreeContent { - min-height: 18px; - min-width: 18px; - margin-left:16px; - padding-top:3px; - padding-left:1px; -} -.soria .dijitTreeExpand { - width: 18px; - height: 18px; - background-repeat : no-repeat; -} - -/* same style as IE selection */ -.soria .dijitTreeNodeEmphasized { - background-color: Highlight; - color: HighlightText; -} - -/* don't use :focus due to opera and IE's lack of support on div's */ -.soria .dijitTreeLabelFocused { - outline:0; - border-top:0; - border-bottom:2px solid #4f8ce5; - background-color:#b7cdee; -} - -/* FIXME: convert to sprites */ -.soria .dijitTreeExpandoOpened { background-image: url('images/treeExpand_minus.gif'); } -.soria .dijitTreeExpandoClosed { background-image: url('images/treeExpand_plus.gif'); } -.soria .dijitTreeExpandoLeaf { } -.soria .dijitTreeExpandoLoading { background-image: url('images/treeExpand_loading.gif'); } - -/* Calendar*/ -.dj_ie6 .soria .dijitCalendarIncrementControl { - padding:.1em; -} - -.soria .dijitCalendarIncreaseInner, -.soria .dijitCalendarDecreaseInner { display:none; } -.soria .dijitCalendarDecrease { background-position:-16px 0px; } -.soria .dijitCalendarIncrease { background-position:-48px 0px; } -.soria table.dijitCalendarContainer { - font-size: 100%; - border-collapse: collapse; - border-spacing: 0; - border: 1px solid #666; - margin: 0; -} - -.soria .dijitCalendarMonthContainer th { - /* month header cell */ - padding-top:.3em; - padding-bottom:.1em; - text-align:center; -} -.dj_ie6 .soria .dijitCalendarMonthContainer th { - padding-top:.1em; - padding-bottom:0em; -} - -.soria .dijitCalendarDayLabelTemplate { - /* day of week labels */ - background:#b7cdee url("images/gradientBottomBg.png") repeat-x bottom; - font-weight:normal; - background-position:0 -28px; - padding-top:.15em; - padding-bottom:0em; - border-top:0; - border-bottom:1px solid #666; - color:#293a4b; - text-align:center; -} - -.soria .dijitCalendarMonthLabel { - /* day of week labels */ - color:#293a4b; - font-size: 0.75em; - font-weight: bold; - text-align:center; -} - -.dj_ie7 .soria .dijitCalendarDateTemplate, -.dj_ie6 .soria .dijitCalendarDateTemplate { - font-size: 0.8em; -} - -.soria .dijitCalendarDateTemplate { - /* style for each day cell */ - font-size: 0.9em; - font-weight: bold; - text-align: center; - padding: 0.3em 0.3em 0.05em 0.3em; - letter-spacing: 1px; -} - - -.soria .dijitCalendarPreviousMonth, -.soria .dijitCalendarNextMonth { - /* days that are part of the previous or next month */ - color:#999999; - background-color:#f8f8f8 !important; -} - -.soria .dijitCalendarPreviousMonthDisabled, -.soria .dijitCalendarNextMonthDisabled { - /* days that are part of the previous or next month - disabled*/ - background-color:#a4a5a6 !important; -} - -.soria .dijitCalendarCurrentMonth { - /* days that are part of this month */ - background-color:white !important; -} - -.soria .dijitCalendarCurrentMonthDisabled { - /* days that are part of this month - disabled */ - background-color:#bbbbbc !important; -} - -.soria .dijitCalendarCurrentDate { - /* cell for today's date */ - text-decoration:underline; - font-weight:bold; -} - -.soria .dijitCalendarSelectedDate { - /* cell for the selected date */ - background-color:#4f8ce5 !important; - color:#fff !important; -} - - -.soria .dijitCalendarYearContainer { - /* footer of the table that contains the year display/selector */ - background:#b7cdee url("images/gradientBottomBg.png") repeat-x bottom; - border-top:1px solid #333; -} - -.soria .dijitCalendarYearLabel { - /* container for all of 3 year labels */ - margin:0; - padding:0.4em 0 0.25em 0; - text-align:center; -} - -.soria .dijitCalendarSelectedYear { - /* label for selected year */ - color:#fff; - padding:0.2em; - padding-bottom:0.1em; - background-color:#4f8ce5 !important; -} - -.soria .dijitCalendarNextYear, -.soria .dijitCalendarPreviousYear { - /* label for next/prev years */ - color:black !important; - font-weight:normal; -} - -/* inline edit boxen */ -.soria .dijitInlineValue { - /* span around an inline-editable value when NOT in edit mode */ - padding:3px; - margin:4px; -} - - -/* MOW: trying to get this to look like a mini-dialog. Advised? */ -.soria .dijitInlineEditor { - /* fieldset surrounding an inlineEditor in edit mode */ - display: inline-block; - display: -moz-inline-stack; -} -.dj_ie6 .dijitInLineEditor { - display:inline; -} -.dijitInlineEditor .saveButton, -.dijitInlineEditor .cancelButton { - margin:3px 3px 3px 0px; -} - -/* spinner */ -.soria .dijitSpinner {} -.soria .dijitSpinner input { -} - -/* dijit.ProgressBar */ -.soria .dijitProgressBar { - margin:2px 0px 2px 0px; -} - -.soria .dijitProgressBarEmpty { - /* outer container and background of the bar that's not finished yet*/ - border-color: #333; -} - -.soria .dijitProgressBarTile { - /* inner container for finished portion when in 'tile' (image) mode */ -} - -.soria .dijitProgressBarLabel { - /* Set to a color that contrasts with both the "Empty" and "Full" parts. */ - color:#293a4b; -} - -.soria .dijitProgressBarIndeterminate .dijitProgressBarTile { - /* use an animated gif for the progress bar in 'indeterminate' mode */ - background:#b7cdee url("images/progressBarAnim.gif") repeat-x top left; - /* FIXME: make a white/alpha animation to overlay a colored node */ -} - -/* dijit.Slider(s) */ -.soria .dijitHorizontalSliderProgressBar { - border-color: #333; - zoom:1; -} -.soria .dijitVerticalSliderProgressBar { - border-color: #333; - background: #4f8ce5 url("images/gradientLeftBg.png") repeat-y bottom left; -} -.soria .dijitVerticalSliderRemainingBar { - border-color: #333; - background: #b7cdee url("images/gradientLeftBg.png") repeat-y bottom left; -} -.soria .dijitHorizontalSliderRemainingBar { border-color: #333; } -.soria .dijitSliderBar { - border-style: solid; - outline:1px; -} - -.soria .dijitHorizontalSliderImageHandle { - border:0px; - background-position:-416px 0px; - cursor:pointer; -} -.soria .dijitHorizontalSliderLeftBumper { - border:0; - border-right:1px solid #333; - background:transparent; -} -.soria .dijitHorizontalSliderRightBumper { - border:0; - border-left:1px solid #333; - background:transparent; -} - -.soria .dijitVerticalSliderImageHandle { - border:0px; - background-position:-400px 0px; - cursor:pointer; -} - -.soria .dijitVerticalSliderBottomBumper { - border-bottom-width: 1px; - border-color: #333; - background: #4f8ce5 url("images/gradientLeftBg.png") repeat-y bottom left; -} - -.soria .dijitVerticalSliderTopBumper { - background: #b7cdee url("images/gradientLeftBg.png") repeat-y top left; - border-color: #333; - border-top-width: 1px; -} - -.soria .dijitSliderDisabled { - opacity:0.5 !important; -} -.dj_ie6 .soria .dijitSliderDisabled { - filter: gray() alpha(opacity=50); -} - -.soria .dijitHorizontalSliderIncrementIcon { background-position:-48px 0px; } -.soria .dijitHorizontalSliderDecrementIcon { background-position:-16px 0px; } -.soria .dijitVerticalSliderIncrementIcon { background-position:-32px 0px; } -.soria .dijitVerticalSliderDecrementIcon { background-position:0px 0px; } - -.soria .dijitSliderButtonInner { visibility:hidden; } -.dijit_a11y .dijitSliderButtonInner { visibility:visible !important; } - -/* ICONS */ -.soria .dijitEditorIcon { - background-image: url('images/editor.gif'); /* editor icons sprite image */ - background-repeat: no-repeat; - width: 18px; - height: 18px; - text-align: center; -} -.soria .dijitEditorIconSep { background-position: 0px; } -.soria .dijitEditorIconBackColor { background-position: -18px; } -.soria .dijitEditorIconBold { background-position: -36px; } -.soria .dijitEditorIconCancel { background-position: -54px; } -.soria .dijitEditorIconCopy { background-position: -72px; } -.soria .dijitEditorIconCreateLink { background-position: -90px; } -.soria .dijitEditorIconCut { background-position: -108px; } -.soria .dijitEditorIconDelete { background-position: -126px; } -.soria .dijitEditorIconForeColor { background-position: -144px; } -.soria .dijitEditorIconHiliteColor { background-position: -162px; } -.soria .dijitEditorIconIndent { background-position: -180px; } -.soria .dijitEditorIconInsertHorizontalRule { background-position: -198px; } -.soria .dijitEditorIconInsertImage { background-position: -216px; } -.soria .dijitEditorIconInsertOrderedList { background-position: -234px; } -.soria .dijitEditorIconInsertTable { background-position: -252px; } -.soria .dijitEditorIconInsertUnorderedList { background-position: -270px; } -.soria .dijitEditorIconItalic { background-position: -288px; } -.soria .dijitEditorIconJustifyCenter { background-position: -306px; } -.soria .dijitEditorIconJustifyFull { background-position: -324px; } -.soria .dijitEditorIconJustifyLeft { background-position: -342px; } -.soria .dijitEditorIconJustifyRight { background-position: -360px; } -.soria .dijitEditorIconLeftToRight { background-position: -378px; } -.soria .dijitEditorIconListBulletIndent { background-position: -396px; } -.soria .dijitEditorIconListBulletOutdent { background-position: -414px; } -.soria .dijitEditorIconListNumIndent { background-position: -432px; } -.soria .dijitEditorIconListNumOutdent { background-position: -450px; } -.soria .dijitEditorIconOutdent { background-position: -468px; } -.soria .dijitEditorIconPaste { background-position: -486px; } -.soria .dijitEditorIconRedo { background-position: -504px; } -.soria .dijitEditorIconRemoveFormat { background-position: -522px; } -.soria .dijitEditorIconRightToLeft { background-position: -540px; } -.soria .dijitEditorIconSave { background-position: -558px; } -.soria .dijitEditorIconSpace { background-position: -576px; } -.soria .dijitEditorIconStrikethrough { background-position: -594px; } -.soria .dijitEditorIconSubscript { background-position: -612px; } -.soria .dijitEditorIconSuperscript { background-position: -630px; } -.soria .dijitEditorIconUnderline { background-position: -648px; } -.soria .dijitEditorIconUndo { background-position: -666px; } -.soria .dijitEditorIconWikiword { background-position: -684px; } - -.dj_ie6 .soria .dijitInputField -{ - background:#fff; - /* FIXME: un-comment when a pretty version of .gif is made */ - /* background-image: url("images/dojoTundraGradientBg.gif"); */ -} - -/* Disabled cursor */ -.soria .dijitDisabledClickableRegion, /* a region the user would be able to click on, but it's disabled */ -.soria .dijitSliderDisabled *, -.soria .dijitSpinnerDisabled *, -.soria .dijitButtonDisabled *, -.soria .dijitDropDownButtonDisabled *, -.soria .dijitComboButtonDisabled *, -.soria .dijitComboBoxDisabled * -{ - cursor: not-allowed !important; -} - -/* DnD avatar-specific settings FIXME: need to wrap icon in a span like rest of dijits. */ -/* For now it uses a default set of rules. Some other DnD classes can be modified as well. */ -.soria .dojoDndAvatar { font-size: 75%; color: black; } -.soria .dojoDndAvatarHeader td { - padding-left: 20px; - padding-right: 4px; -} -.soria .dojoDndAvatarHeader { - background: #ccc; -} -.soria .dojoDndAvatarItem { background: #eee; } -.soria.dojoDndMove .dojoDndAvatarHeader { background-position:-432px 0px; } -.soria.dojoDndCopy .dojoDndAvatarHeader { background-position:-448px 0px; } -.soria.dojoDndMove .dojoDndAvatarCanDrop .dojoDndAvatarHeader { background-position:-464px 0px; } -.soria.dojoDndCopy .dojoDndAvatarCanDrop .dojoDndAvatarHeader { background-position:-480px 0px; } - - diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/soria.js b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/soria.js deleted file mode 100644 index a41bb730..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/soria.js +++ /dev/null @@ -1,23 +0,0 @@ -if(!dojo._hasResource["dijit.themes.soria"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dijit.themes.soria"] = true; -dojo.provide("dijit.themes.soria"); -/* theoritical implementation */ - -// dojo.requireCss(dojo.moduleUrl("dijit.themes.soria","soria.css"); -// if (dojo.isRTL) { -// dojo.requireCss(dojo.moduleUrl("dijit.theme.soria","soria_rtl.css")); -// } -// if(dojo.isIE<7){ -// dojo.requireCss(dojo.moduleUrl("dijit.themes.soria","soria_ie6.css")); -// var imgList = ["images/arrows.png","images/gradientTopBg"]; // png's w/ alpha -// // we'll take a hit performance wise with ie6, but such is life, right? and -// // it allows us to take dj_ie6 classes out of the root css for performance -// // enhancement on sane/good browsers. -// dojo.addOnLoad(function(){ -// dojo.forEach(imgList,function(img){ -// filter(img); -// }); -// } -// } - -} diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/soria_rtl.css b/spring-faces/src/main/resources/META-INF/dijit/themes/soria/soria_rtl.css deleted file mode 100644 index eaa550d4..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/themes/soria/soria_rtl.css +++ /dev/null @@ -1,90 +0,0 @@ -@import url("../dijit_rtl.css"); - -/* Dialog */ -.dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-position:-65px -1px; - float: left; - right: auto; - left: 5px; - width:16px; height:16px; -} - -.dijitRtl .dijitDialogTitleBar { - padding: 4px 4px 2px 8px; -} - -/* Menu */ -.dijitRtl .dijitMenuItem .dijitMenuItemIcon { - padding-left: 3px; - padding-right: 0px; -} - -.dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background-position:-16px 0px; -} - -/* TitlePane */ -.dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background-position:-16px 0px; -} - -/* Tree */ -.dijitRtl .dijitTreeContainer .dijitTreeNode { - margin-left: auto; - margin-right: 19px; -} - -.dijitRtl .dijitTreeContainer .dijitTreeIsRoot { - margin-left: auto; - margin-right: 0; -} - - -.dijitRtl .dijitTreeContainer .dijitTreeContent { - margin-left: auto; - margin-right: 18px; - padding-left: auto; - padding-right: 1px; -} - -.dijitRtl .dijitTreeContainer .dijitTreeExpandoOpened { - background-image: url('images/treeExpand_minus_rtl.gif'); -} - -.dijitRtl .dijitTreeContainer .dijitTreeExpandoClosed { - background-image: url('images/treeExpand_plus_rtl.gif'); -} - -.dijitRtl .dijitTreeContainer .dijitTreeExpandoLeaf { - -} - -/* ToolTip */ -.dj_ie .dijitRtl .dijitTooltipLeft { - margin-right: 0px; - margin-left: 16px; -} - -.dj_ie .dijitRtl .dijitTooltipRight { - margin-left: 26px; - margin-right: -16px; -} -.dj_ie .dijitRtl .dijitTooltipDialog { - zoom:1 !important; -} - -/* Calendar */ -.dijitRtl .dijitCalendarDecrease { - background-position:-48px 0px; - margin-left:0; - margin-right:2px; -} -.dijitRtl .dijitCalendarIncrease { - background-position:-16px 0px; - margin-right:0; - margin-left:4px; -} - -/* Slider: an attempt, but Slider is broken in RTL in code anyway. */ -.dijitRtl .dijitHorizontalSliderIncrementIcon { background-position:-16px 0px; } -.dijitRtl .dijitHorizontalSliderDecrementIcon { background-position:-48px 0px; } \ No newline at end of file diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/templateThemeTest.html b/spring-faces/src/main/resources/META-INF/dijit/themes/templateThemeTest.html deleted file mode 100644 index 0f2c2605..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/themes/templateThemeTest.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - Test Widget Templates in Multiple Themes - - - - - - - - -

    Tundra

    -
    - - - -

    - - - -

    - - - -

    - - - - -

    - - - - - -
    -
    - -

    Noir

    -
    -
    -
    - -

    Soria

    -
    -
    -
    - -

    a11y mode

    -
    -
    -
    - - - - - - - diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/themeTester.html b/spring-faces/src/main/resources/META-INF/dijit/themes/themeTester.html deleted file mode 100644 index dfbbbe25..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/themes/themeTester.html +++ /dev/null @@ -1,744 +0,0 @@ - - - Dijit Theme Tester - - - - - - - - - - - - - -
    Loading themeTester ...
    - - -
    -
    - - - - -
    -

    Dijit Theme Test Page

    - - -
    - -
    - - - -
    - -
    -
    -
    - -
    - - -
    - -
    - -

    Dijit Color Palette(7x10)

    -
    -
    - Test color is: - -

    -
    -
    - - - -
    - - -
    - - -
    - - - - - - - - - - -
    - -

    dijit.Editor:

    - -
    - -
    -
    - - -

    dijit.InlineEditBox + dijit.form.TextBox

    - - This is an editable header, -

    - Edit me - I trigger the onChange callback -

    - And keep the text around me static. - -
    - -

    dijit.InlineEditBox + dijit.form.Textarea

    - - (HTML before) -

    - I'm one big paragraph. Go ahead and edit me. I dare you. - The quick brown fox jumped over the lazy dog. Blah blah blah blah blah blah blah ... -

    - (HTML after) - -

    - These links will - disable / - enable - the text area above. -

    - -
    - -

    dijit.form.DateTextBox:

    - - (HTML inline before) - 12/30/2005 - (HTML after) - -
    - -

    dijit.form.TimeTextBox:

    - - (HTML inline before) - 9:00 AM - (HTML after) - -
    - - -

    dijit.form.FilteringSelect + Inline + remote data store:

    - (HTML inline before) - - Indiana - - (HTML after) - -
    - - - - - - -
    - - -
    - - -
    -

    You can explore this single page after applying a Theme - for use in creation of your own theme.

    - -

    I am whole slew of Widgets on a page. Jump to dijit tests to - test individual components.

    - -

    There is a right-click [context] pop-up menu here, as well.

    -
    - -
    - -
    - -
    -

    I am the last Tab

    - -
    - -
    - -
    - -
    -
    - - - - - - diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/dojoTundraGradientBg.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/dojoTundraGradientBg.gif deleted file mode 100644 index 0da12393..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/dojoTundraGradientBg.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/dojoTundraGradientBg.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/dojoTundraGradientBg.png deleted file mode 100644 index ac118dd7..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/dojoTundraGradientBg.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/dojoUITundra06.psd b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/dojoUITundra06.psd deleted file mode 100644 index 38d292b9..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/dojoUITundra06.psd and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowDown.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowDown.gif deleted file mode 100644 index e9dbe390..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowDown.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowDown.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowDown.png deleted file mode 100644 index a5e89e26..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowDown.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowLeft.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowLeft.gif deleted file mode 100644 index 387d20da..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowLeft.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowLeft.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowLeft.png deleted file mode 100644 index 7886aec7..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowLeft.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowRight.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowRight.gif deleted file mode 100644 index a37db882..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowRight.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowRight.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowRight.png deleted file mode 100644 index 593c4fd3..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowRight.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowUp.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowUp.gif deleted file mode 100644 index ac819f19..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowUp.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowUp.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowUp.png deleted file mode 100644 index e12d3cd8..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/arrowUp.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/buttonActive.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/buttonActive.png deleted file mode 100644 index 15002b15..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/buttonActive.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/buttonDisabled.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/buttonDisabled.png deleted file mode 100644 index 70766f4f..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/buttonDisabled.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/buttonEnabled.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/buttonEnabled.png deleted file mode 100644 index 2a0251a0..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/buttonEnabled.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/buttonHover.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/buttonHover.png deleted file mode 100644 index 3d2a84ad..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/buttonHover.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/calendarDayLabel.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/calendarDayLabel.png deleted file mode 100644 index 2cbc3ec9..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/calendarDayLabel.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/calendarMonthLabel.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/calendarMonthLabel.png deleted file mode 100644 index 87645dbe..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/calendarMonthLabel.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/calendarYearLabel.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/calendarYearLabel.png deleted file mode 100644 index e0abe3eb..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/calendarYearLabel.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkboxActive.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkboxActive.png deleted file mode 100644 index ba901f5f..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkboxActive.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkboxDisabled.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkboxDisabled.png deleted file mode 100644 index 8955e9e2..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkboxDisabled.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkboxEnabled.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkboxEnabled.png deleted file mode 100644 index a8fe8d4b..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkboxEnabled.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkboxHover.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkboxHover.png deleted file mode 100644 index 1dfeea8a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkboxHover.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkmark.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkmark.gif deleted file mode 100644 index 77237aa5..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkmark.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkmark.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkmark.png deleted file mode 100644 index b55e264a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkmark.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkmarkNoBorder.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkmarkNoBorder.gif deleted file mode 100644 index 11dc8002..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkmarkNoBorder.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkmarkNoBorder.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkmarkNoBorder.png deleted file mode 100644 index f26aa57d..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/checkmarkNoBorder.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/circleIcon.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/circleIcon.gif deleted file mode 100644 index d582290a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/circleIcon.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/circleIcon.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/circleIcon.png deleted file mode 100644 index ca5bfd29..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/circleIcon.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dijitProgressBarAnim.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dijitProgressBarAnim.gif deleted file mode 100644 index 167a3e0d..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dijitProgressBarAnim.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dijitProgressBarAnim.psd b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dijitProgressBarAnim.psd deleted file mode 100644 index 0a7bf23a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dijitProgressBarAnim.psd and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dndCopy.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dndCopy.png deleted file mode 100644 index 660ca4fb..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dndCopy.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dndMove.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dndMove.png deleted file mode 100644 index 74af29c0..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dndMove.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dndNoCopy.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dndNoCopy.png deleted file mode 100644 index 87f3aa0d..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dndNoCopy.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dndNoMove.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dndNoMove.png deleted file mode 100644 index d75ed860..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/dndNoMove.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/doubleArrowDown.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/doubleArrowDown.png deleted file mode 100644 index b46108b5..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/doubleArrowDown.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/doubleArrowUp.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/doubleArrowUp.png deleted file mode 100644 index 2c1b71cc..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/doubleArrowUp.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/editor.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/editor.gif deleted file mode 100644 index 7fe7052c..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/editor.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/i.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/i.gif deleted file mode 100644 index 1336a9b5..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/i.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/i_half.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/i_half.gif deleted file mode 100644 index add395b4..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/i_half.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/i_half_rtl.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/i_half_rtl.gif deleted file mode 100644 index 8ff8e1d3..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/i_half_rtl.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/i_rtl.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/i_rtl.gif deleted file mode 100644 index b8a8f12a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/i_rtl.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/loading.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/loading.gif deleted file mode 100644 index 6e7c8e5e..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/loading.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/menu.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/menu.png deleted file mode 100644 index 4f9f70f0..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/menu.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/no.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/no.gif deleted file mode 100644 index 9021a14e..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/no.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/noX.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/noX.gif deleted file mode 100644 index 4a16dc79..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/noX.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/popupMenuBg.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/popupMenuBg.gif deleted file mode 100644 index ae56bf3b..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/popupMenuBg.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/preciseSliderThumb.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/preciseSliderThumb.gif deleted file mode 100644 index 15d4879c..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/preciseSliderThumb.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/preciseSliderThumb.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/preciseSliderThumb.png deleted file mode 100644 index 0e06640a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/preciseSliderThumb.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/preciseSliderThumbFocus.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/preciseSliderThumbFocus.gif deleted file mode 100644 index b44611c7..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/preciseSliderThumbFocus.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/preciseSliderThumbFocus.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/preciseSliderThumbFocus.png deleted file mode 100644 index 5fac318a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/preciseSliderThumbFocus.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-1.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-1.png deleted file mode 100644 index 2069a5a2..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-1.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-2.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-2.png deleted file mode 100644 index 779b22fa..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-2.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-3.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-3.png deleted file mode 100644 index 77d4f70d..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-3.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-4.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-4.png deleted file mode 100644 index 8dad7a6b..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-4.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-5.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-5.png deleted file mode 100644 index 915f3c79..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-5.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-6.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-6.png deleted file mode 100644 index 2b607e7b..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-6.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-7.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-7.png deleted file mode 100644 index 00d6b4b6..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-7.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-8.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-8.png deleted file mode 100644 index e2944efc..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-8.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-9.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-9.png deleted file mode 100644 index cf3f37dd..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim-9.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim.psd b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim.psd deleted file mode 100644 index 0a7bf23a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarAnim.psd and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarEmpty.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarEmpty.png deleted file mode 100644 index 53918650..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarEmpty.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarFull.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarFull.png deleted file mode 100644 index dd02ee39..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/progressBarFull.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonActive.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonActive.png deleted file mode 100644 index c6b4266e..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonActive.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonActiveDisabled.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonActiveDisabled.png deleted file mode 100644 index 0fdef362..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonActiveDisabled.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonActiveHover.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonActiveHover.png deleted file mode 100644 index a91dc4e9..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonActiveHover.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonDisabled.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonDisabled.png deleted file mode 100644 index a2943d52..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonDisabled.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonEnabled.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonEnabled.png deleted file mode 100644 index 20f2e11a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonEnabled.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonHover.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonHover.png deleted file mode 100644 index 7a069737..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/radioButtonHover.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderEmpty.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderEmpty.png deleted file mode 100644 index 0bc245a7..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderEmpty.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderEmptyVertical.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderEmptyVertical.png deleted file mode 100644 index c91a4e35..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderEmptyVertical.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderFull.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderFull.png deleted file mode 100644 index 6c9d0f87..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderFull.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderFullFocus.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderFullFocus.png deleted file mode 100644 index 1abdfeea..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderFullFocus.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderFullVertical.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderFullVertical.png deleted file mode 100644 index 1e72421d..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderFullVertical.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderFullVerticalFocus.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderFullVerticalFocus.png deleted file mode 100644 index ad947051..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderFullVerticalFocus.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderThumb.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderThumb.png deleted file mode 100644 index a5a5dd6f..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderThumb.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderThumbFocus.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderThumbFocus.gif deleted file mode 100644 index 15dd3d9d..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderThumbFocus.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderThumbFocus.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderThumbFocus.png deleted file mode 100644 index 6d26e3f6..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/sliderThumbFocus.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/smallArrowDown.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/smallArrowDown.png deleted file mode 100644 index ac7bbbf4..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/smallArrowDown.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/smallArrowUp.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/smallArrowUp.png deleted file mode 100644 index d26812d0..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/smallArrowUp.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/splitContainerSizerH-thumb.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/splitContainerSizerH-thumb.png deleted file mode 100644 index 87b459cb..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/splitContainerSizerH-thumb.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/splitContainerSizerH.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/splitContainerSizerH.png deleted file mode 100644 index 4b27d8ae..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/splitContainerSizerH.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/splitContainerSizerV-thumb.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/splitContainerSizerV-thumb.png deleted file mode 100644 index 69e02b18..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/splitContainerSizerV-thumb.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/splitContainerSizerV.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/splitContainerSizerV.png deleted file mode 100644 index f1d71952..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/splitContainerSizerV.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabActive.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabActive.png deleted file mode 100644 index 7271066d..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabActive.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabClose.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabClose.gif deleted file mode 100644 index 2cb0ee1f..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabClose.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabClose.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabClose.png deleted file mode 100644 index efed5c7b..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabClose.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabCloseHover.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabCloseHover.gif deleted file mode 100644 index f59471e6..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabCloseHover.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabCloseHover.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabCloseHover.png deleted file mode 100644 index ee5f2db1..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabCloseHover.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabDisabled.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabDisabled.png deleted file mode 100644 index f891b37b..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabDisabled.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabEnabled.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabEnabled.png deleted file mode 100644 index fb750a05..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabEnabled.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabHover.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabHover.png deleted file mode 100644 index 259b075f..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tabHover.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/titleBar.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/titleBar.png deleted file mode 100644 index 1835944f..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/titleBar.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/titleBarBg.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/titleBarBg.gif deleted file mode 100644 index 1cd57cf5..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/titleBarBg.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorDown.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorDown.gif deleted file mode 100644 index f96fca4a..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorDown.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorDown.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorDown.png deleted file mode 100644 index cc345a66..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorDown.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorLeft.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorLeft.gif deleted file mode 100644 index 4d0a88c7..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorLeft.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorLeft.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorLeft.png deleted file mode 100644 index 3026ca56..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorLeft.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorRight.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorRight.gif deleted file mode 100644 index 4e22c1a6..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorRight.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorRight.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorRight.png deleted file mode 100644 index a7f91130..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorRight.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorUp.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorUp.gif deleted file mode 100644 index 37729b84..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorUp.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorUp.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorUp.png deleted file mode 100644 index bf13c713..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/tooltipConnectorUp.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_leaf.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_leaf.gif deleted file mode 100644 index 1a09ebec..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_leaf.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_leaf_rtl.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_leaf_rtl.gif deleted file mode 100644 index 067d534d..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_leaf_rtl.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_loading.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_loading.gif deleted file mode 100644 index b6d53b9d..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_loading.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_minus.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_minus.gif deleted file mode 100644 index c8b6cf2c..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_minus.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_minus_rtl.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_minus_rtl.gif deleted file mode 100644 index cb09f9ea..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_minus_rtl.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_plus.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_plus.gif deleted file mode 100644 index f42a84ba..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_plus.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_plus_rtl.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_plus_rtl.gif deleted file mode 100644 index 0863d9cf..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/treeExpand_plus_rtl.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/validationInputBg.gif b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/validationInputBg.gif deleted file mode 100644 index 5a9916a6..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/validationInputBg.gif and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/validationInputBg.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/validationInputBg.png deleted file mode 100644 index 9c4fc2e0..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/validationInputBg.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/warning.png b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/warning.png deleted file mode 100644 index c8ca2d19..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/images/warning.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/tundra.css b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/tundra.css deleted file mode 100644 index 31790e09..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/tundra.css +++ /dev/null @@ -1,1462 +0,0 @@ -/* - Adds cosmetic styling to Dijit. Users may swap with a custom theme CSS file. -*/ - -@import url("../dijit.css"); - - -.dj_safari .tundra .dijitPopup { - /* -webkit-border-radius: 5px; */ - -webkit-box-shadow: 0px 5px 10px #adadad; -} - -/* - * Control opacity of popups - */ -.tundra .dijitPopup div, -.tundra .dijitPopup table { - opacity: 0.95; -} - -/***** - dijit.form.Button - dijit.form.DropDownButton - dijit.form.ComboButton - dijit.form.ComboBox (partial) - *****/ - -.tundra .dijitButtonNode { - /* enabled state - inner */ - /* border:1px outset #a0a0a0; */ - border:1px solid #9b9b9b; - vertical-align: middle; - padding: 0.2em 0.2em; - background:#e9e9e9 url("images/buttonEnabled.png") repeat-x top; -} -.dj_ie .tundra .dijitButtonNode { - zoom: 1; - padding-bottom: 0.1em; -} - -/* button inner contents - labels, icons etc. */ -.tundra .dijitButtonNode * { - display: -moz-inline-box; - display: inline-block; - vertical-align: middle; -} -.dj_ie .tundra .dijitButtonNode * { - zoom: 1; - display:inline; -} -.tundra .dijitButtonText { - padding: 0 0.3em; -} - -.dijitComboBox .dijitButtonNode, -.dijitSpinner .dijitButtonNode { - border: 0px; - padding: 0 .4em 0 .4em; /* the inner node will be vertically centered automatically because it's in a */ -} - -.tundra .dijitA11yDownArrow, -.tundra .dijitDownArrowButton, -.tundra .dijitUpArrowButton { - font-size: 0.75em; - color: #848484; -} - - -.tundra .dijitButtonDisabled .dijitButtonNode, -.tundra .dijitToggleButtonDisabled .dijitButtonNode, -.tundra .dijitDropDownButtonDisabled .dijitButtonNode, -.tundra .dijitComboButtonDisabled .dijitButtonNode, -.tundra .dijitComboBoxDisabled, -.tundra .dijitSpinnerDisabled, -.tundra .dijitSpinnerDisabled .dijitButtonNode { - /* disabled state - inner */ - border: 1px solid #d5d5d5; - /*color:#b4b4b4;*/ - background:#e4e4e4 url("images/buttonDisabled.png") top repeat-x; - opacity: 0.60; /* Safari, Opera and Mozilla */ -} -.tundra .dijitButtonDisabled .dijitButtonNode *, -.tundra .dijitToggleButtonDisabled .dijitButtonNode *, -.tundra .dijitDropDownButtonDisabled .dijitButtonNode *, -.tundra .dijitComboButtonDisabled .dijitButtonNode *, -.tundra .dijitSpinnerDisabled .dijitButtonNode * { - filter: gray() alpha(opacity=50); /* IE */ -} - -.tundra .dijitButtonHover .dijitButtonNode, -.tundra .dijitToggleButtonHover .dijitButtonNode, -.tundra .dijitDropDownButtonHover .dijitButtonNode, -.tundra .dijitComboButtonHover .dijitButtonContents, -.tundra .dijitComboButtonDownArrowHover .dijitDownArrowButton, -.tundra .dijitComboBoxHover .dijitDownArrowButton, -.tundra .dijitSpinnerUpArrowHover .dijitUpArrowButton, -.tundra .dijitSpinnerDownArrowHover .dijitDownArrowButton { - /* hover state - inner */ - /* TODO: change from Hover to Selected so that button is still highlighted while drop down is being used */ - border-color:#366dba; - color:#366dba; - background:#f1f6fc url("images/buttonHover.png") repeat-x bottom; -} - -.tundra .dijitButtonActive .dijitButtonNode, -.tundra .dijitToggleButtonActive .dijitButtonNode, -.tundra .dijitDropDownButtonActive .dijitButtonNode, -.tundra .dijitComboButtonActive .dijitButtonContents, -.tundra .dijitDownArrowActive .dijitDownArrowButton, -.tundra .dijitComboBoxActive .dijitDownArrowButton { - /* active state - inner (for when you are pressing a normal button, or - * when a toggle button is in a depressed state - */ - border-color:#366dba; - background: #ededed url("images/buttonActive.png") bottom repeat-x; -} - -.tundra .dijitToolbar { - border: 1px solid #9b9b9b; - background:#e9e9e9 url("images/buttonEnabled.png") repeat-x top; -} - -.tundra .dijitToolbar * { - padding: 0px; - margin: 0px; - /* #margin-top: -1px; */ - /*IE*/ -} -.dj_ie .tundra .dijitToolbar { - padding-bottom: 1px; -} - -.tundra .dijitToolbar .dijitButtonNode { - padding: 0px; - margin: 0px; - border: 1px solid transparent; - background: none; - _margin: 1px; - _padding: 0px 1px 0px 1px; - _border: 0px; -} - -.tundra .dijitToolbar .dijitToggleButtonChecked .dijitButtonNode { - background-color:#C1D2EE; - border:1px solid #316AC5; -} -.tundra .dijitToolbar .dijitToggleButtonCheckedHover .dijitButtonContents { - border-color: #366dba; - background-color:transparent; -} -.dj_ie6 .tundra .dijitToolbar .dijitButtonNode { - /* workaround no transparent border support in IE6*/ - border-color: #e9e9e9; -} - -.tundra .dijitToolbar .dijitButtonHover .dijitButtonNode, -.tundra .dijitToolbar .dijitToggleButtonHover .dijitButtonNode, -.tundra .dijitToolbar .dijitDropDownButtonHover .dijitButtonNode { - /* TODO: change this from Hover to Selected so that button is still highlighted while drop down is being used */ - border-color: #366dba; - /* IE hackery */ - _border: 1px solid #366dba; - _margin: -1px 0px 0px 0px; - _padding: 0px; -} - -.dijitToolbarSeparator { - background: url('images/editor.gif'); - height: 18px; - width: 5px; - padding: 0px 1px 0px 1px; - margin: 0px; -} - -.tundra .dijitToolbar .dijitToolbarSeparator { - background: url('images/editor.gif'); -} - -/* ComboBox-icon-specific */ -.tundra .dijitComboBox .dijitDownArrowButtonChar { - /* visibility:hidden; */ - display:none; -} -.dijit_a11y .dijitComboBox .dijitDownArrowButtonChar { - display:inline; -} -.tundra .dijitComboBox .dijitDownArrowButtonInner { - width:16px; - height:16px; - background:url("images/arrowDown.png") no-repeat center center; -} -.dj_ie6 .tundra .dijitComboBox .dijitDownArrowButtonInner { - background-image:url("images/arrowDown.gif"); -} -.tundra .dijitComboBoxHover .dijitDownArrowButtonInner { - /* TODO: url("images/arrowDownHover.png") but in IE6 it flickers some? */ -} - - -/***** - dijit.form.NumberSpinner - override for the shorter stacked buttons - *****/ - -.tundra .dijitSpinner .dijitButtonNode { - padding: 0 .4em 0 .4em; -} - - -/**** - dijit.form.TextBox - dijit.form.ValidationTextBox - dijit.form.SerializableTextBox - dijit.form.RangeBoundTextBox - dijit.form.NumberTextBox - dijit.form.CurrencyTextBox - dijit.form.NumberSpinner - dijit.form.ComboBox (partial) - ****/ - -.tundra .dijitInputField INPUT, -.tundra .dijitTextBox, -.tundra .dijitComboBox, -.tundra .dijitSpinner { - margin: 0em 0.1em 0.0em 0.1em; -} - -.tundra .dijitTextBox, -.tundra .dijitComboBox, -.tundra .dijitSpinner, -.tundra .dijitInlineEditor input, -.tundra .dijitTextArea { - /* For all except dijit.form.NumberSpinner: the actual input element. - For TextBox, ComboBox, Spinner: the table that contains the input. - Otherwise the actual input element. - */ - background:#fff url("images/validationInputBg.png") repeat-x top left; - #background:#fff url('images/validationInputBg.gif') repeat-x top left; - border:1px solid #9b9b9b; - line-height: normal; -} - -.dj_safari .tundra INPUT.dijitTextBox { - padding:0.15em 0em; /* make it roughly the same size as a validation input box */ -} - -.dj_ie .tundra INPUT.dijitTextBox, -.dj_ie .tundra TD.dijitInputField, -.dj_ie .tundra .dijitInputField INPUT { - height: 1.2em; /* needed since the INPUT is position:absolute */ -} - -.tundra .dijitComboBox .dijitButtonNode, -.tundra .dijitSpinner .dijitButtonNode { - /* line between the input area and the drop down button */ - border-left:1px solid #9b9b9b; -} -.tundra .dijitSpinner .dijitDownArrowButton { - border-top:1px solid #9b9b9b; /* line between top and bottom arrow */ -} - -.tundra .dijitTextBoxFocused, -.tundra .dijitComboBoxFocused, -.tundra .dijitSpinnerFocused { - /* input field when focused (ie: typing affects it) */ - border-color:#366dba; -} -.tundra .dijitComboBoxFocused .dijitButtonNode, .tundra .dijitSpinnerFocused .dijitButtonNode { - border-left:1px solid #366dba; -} -.tundra .dijitSpinnerFocused .dijitDownArrowButton { - border-top:1px solid #366dba; -} - -.tundra .dijitTextBoxError, -.tundra .dijitComboBoxError, -.tundra .dijitSpinnerError { - border:1px solid #f3d118; - background-color:#f9f7ba; - background-image:none; -} -.dj_ie6 .tundra .dijitTextBoxError input, -.dj_ie6 .tundra .dijitComboBoxError input, -.dj_ie6 .tundra .dijitSpinnerError input { - /* background-color: transparent on an doesn't work on IE6 */ - background-color:#f9f7ba !important; -} - -.tundra .dijitTextBoxErrorFocused, -.tundra .dijitComboBoxErrorFocused, -.tundra .dijitSpinnerErrorFocused { - background-color:#ff6; - background-image:none; -} -.dj_ie6 .tundra .dijitTextBoxErrorFocused input, -.dj_ie6 .tundra .dijitComboBoxErrorFocused input, -.dj_ie6 .tundra .dijitSpinnerErrorFocused input { - /* background-color: transparent on an doesn't work on IE6 */ - background-color:#ff6 !important; -} - -/* Validation errors */ -.tundra .dijitValidationIcon { - /* prevent height change when widget goes from valid to invalid state, and - * workaround browser (FF and safari) sizing bugs when last table column is empty or display:null - */ - display: block; - width: 16px; - height: 16px; - background-repeat: no-repeat; - background-image: url('images/warning.png'); - visibility: hidden; -} -.tundra .dijitValidationIconText { - display: none; -} - -.tundra .dijitTextBoxError .dijitValidationIcon, -.tundra .dijitComboBoxError .dijitValidationIcon, -.tundra .dijitSpinnerError .dijitValidationIcon { - visibility: visible; -} - -/* - * CheckBox and Radio Widgets, - * and the CSS to embed a checkbox or radio icon inside a ToggleButton. - * - * Order of images in the default sprite (from L to R, checkbox and radio in same image): - * checkbox normal - checked - * - unchecked - * disabled - checked - * - unchecked - * hover - checked - * - unchecked - * - * radio normal - checked - * - unchecked - * disabled - checked - * - unchecked - * hover - checked - * - unchecked -*/ - -.tundra .dijitToggleButton .dijitCheckBox, -.tundra .dijitToggleButton .dijitRadio, -.tundra .dijitToggleButton .dijitCheckBoxIcon, -.tundra .dijitToggleButton .dijitRadioIcon { - background-image: url('images/checkmarkNoBorder.gif'); -} - -.tundra .dijitCheckBox, -.tundra .dijitRadio, -.tundra .dijitCheckBoxIcon, /* inside a toggle button */ -.tundra .dijitRadioIcon { /* inside a toggle button */ - background-image: url('images/checkmark.gif'); /* checkbox sprite image */ - background-repeat: no-repeat; - width: 16px; - height: 16px; - overflow: visible; - margin: 0; - padding: 0; -} - -.tundra .dijitCheckBox, -.tundra .dijitToggleButton .dijitCheckBoxIcon { - /* unchecked */ - background-position: -16px; -} - -.tundra .dijitCheckBoxChecked, -.tundra .dijitToggleButtonChecked .dijitCheckBoxIcon { - /* checked */ - background-position: 0px; -} - -.tundra .dijitCheckBoxDisabled { - /* disabled */ - background-position: -48px; -} - -.tundra .dijitCheckBoxCheckedDisabled { - /* disabled but checked */ - background-position: -32px; -} - -.tundra .dijitCheckBoxHover, -.tundra .dijitCheckBoxFocused { - /* hovering over an unchecked enabled checkbox */ - background-position: -80px; -} - -.tundra .dijitCheckBoxCheckedHover, - .tundra .dijitCheckBoxCheckedFocused { - /* hovering over a checked enabled checkbox */ - background-position: -64px; -} - -.tundra .dijitRadio, -.tundra .dijitToggleButton .dijitRadioIcon { - /* unselected */ - background-position: -112px; -} - -.tundra .dijitRadioChecked, -.tundra .dijitToggleButtonChecked .dijitRadioIcon { - /* selected */ - background-position: -96px; -} - -.tundra .dijitRadioCheckedDisabled { - /* selected but disabled */ - background-position: -128px; -} - -.tundra .dijitRadioDisabled { - /* unselected and disabled */ - background-position: -144px; -} - -.tundra .dijitRadioHover, -.tundra .dijitRadioFocused { - /* hovering over an unselected enabled radio button */ - background-position: -176px; -} - -.tundra .dijitRadioCheckedHover, -.tundra .dijitRadioCheckedFocused { - /* hovering over a selected enabled radio button */ - background-position: -160px; -} - -/* Menu */ -.tundra .dijitMenu { - border: 1px solid #9b9b9b; - margin: 0px; - padding: 0px; -} - -.tundra .dijitMenuItem { - background-color: #f7f7f7; - font: menu; - margin: 0; -} -.tundra .dijitMenuPreviousButton, .tundra .dijitMenuNextButton { - font-style: italic; -} -.tundra .dijitMenuItem TD { - padding:2px; -} - -.tundra .dijitMenuItemHover { - background-color: #808080; /* #95a0b0; #555555; #aaaaaa; #646464; #60a1ea; #848484; */ - color:#fff; -} - -.tundra .dijitMenuItemIcon { - width: 16px; - height: 16px; - /* padding-right: 3px; */ -} - -.tundra .dijitMenuExpand { - display:none; -} -.tundra .dijitMenuExpandEnabled { - /* margin-top:4px; */ - width:16px; - height:16px; - background:url('images/arrowRight.png') no-repeat center center; - display:block; -} -.dj_ie6 .tundra .dijitMenuExpandEnabled { - background-image:url('images/arrowRight.gif'); -} -.tundra .dijitMenuExpandInner { - display:none; -} - -.tundra .dijitMenuSeparator { - background-color: #f7f7f7; -} - -/* separator can be two pixels -- set border of either one to 0px to have only one */ -.tundra .dijitMenuSeparatorTop { - border-bottom: 1px solid #9b9b9b; /*97adcb; */ -} - -.tundra .dijitMenuSeparatorBottom { - border-top: 1px solid #e8e8e8; -} - -/* TitlePane */ - -.tundra .dijitTitlePane .dijitTitlePaneTitle { - background: #cccccc; - background:#fafafa url("images/titleBarBg.gif") repeat-x bottom left; - border:1px solid #bfbfbf; - padding:4px 4px 2px 4px; - cursor: pointer; -} - -/* TODO: merge these, and all other icons to a series of background-image:() and background-position: -16*n px styles */ -.tundra .dijitTitlePane .dijitArrowNode { - width:16px; - height:16px; - float:right; -} -.tundra .dijitTitlePane .dijitClosed .dijitArrowNode { - background:url('images/arrowRight.png') no-repeat center center; -} - -.tundra .dijitTitlePaneFocused .dijitTitlePaneTextNode { - text-decoration:underline; -} - -.dj_ie6 .tundra .dijitTitlePane .dijitClosed .dijitArrowNode { - background-image:url('images/arrowRight.gif'); -} -.tundra .dijitTitlePane .dijitOpen .dijitArrowNode { - background:url('images/arrowDown.png') no-repeat center center; -} -.dj_ie6 .tundra .dijitTitlePane .dijitOpen .dijitArrowNode { - background-image:url('images/arrowDown.gif'); -} -.tundra .dijitTitlePane .dijitArrowNodeInner { - visibility:hidden; -} -.dijit_a11y .dijitTitlePane .dijitArrowNodeInner { - visibility:visible; -} - -.tundra .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - margin-right:5px; -} - -.tundra .dijitOpen .dijitTitlePaneTitle .dijitOpenCloseArrowOuter { - position:relative; - top:2px; -} - -.tundra .dijitTitlePaneContentOuter { - background: #ffffff; - border:1px solid #bfbfbf; - border-top: 1px solid #cddde9; /* w/out this, an

    on the top line causes a gap between the .content and .label */ -} -.tundra .dijitTitlePaneContentInner { - padding:10px; -} -/* force hasLayout to ensure borders etc, show up */ -.dj_ie6 .tundra .dijitTitlePaneContentOuter, -.dj_ie6 .tundra .dijitTitlePane .dijitTitlePaneTitle { - zoom: 1; -} -.tundra .dijitClickableRegion { - background-color : #ffc !important; -} - -/* Tabs */ - -.tundra .dijitTabPaneWrapper { - /* - overflow: hidden; - */ - background:#fff; - border:1px solid #ccc; -} - -.tundra .dijitTab { - line-height:normal; - margin-right:5px; /* space between one tab and the next in top/bottom mode */ - padding:0px; - border:1px solid #ccc; - background:#e2e2e2 url("images/tabEnabled.png") repeat-x; -} - -.tundra .dijitAlignLeft .dijitTab, -.tundra .dijitAlignRight .dijitTab { - margin-right:0px; - margin-bottom:5px; /* space between one tab and the next in left/right mode */ -} - -.tundra .dijitTabInnerDiv { - padding:6px 10px 4px 10px; - border-left:1px solid #fff; - border-bottom:1px solid #fff; -} - -.tundra .dijitTabHover, -.tundra .dijitTabCloseButtonHover { - color: #243C5F; - border-top-color:#92a0b3; - border-left-color:#92a0b3; - border-right-color:#92a0b3; - background:#e2e2e2 url("images/tabHover.png") repeat-x bottom; -} - -.dj_ie6 .tundra .dijitTabHover, -.dj_ie6 .tundra .dijitTabCloseButtonHover { - background-image: url("images/tabHover.gif"); -} - -.tundra .dijitTabChecked, -.tundra .dijitTabCloseButtonChecked -{ - /* the selected tab (with or without hover) */ - background-color:#fff; - border-color: #ccc; - background-image:none; -} - -/* make the active tab white on the side next to the content pane */ -.tundra .dijitAlignTop .dijitTabChecked, -.tundra .dijitAlignTop .dijitTabCloseButtonChecked -{ - border-bottom-color:white; - vertical-align:bottom; -} - -.tundra .dijitAlignBottom .dijitTabChecked, -.tundra .dijitAlignBottom .dijitTabCloseButtonChecked -{ - border-top-color:white; - -moz-border-radius:2px 2px 0px 0px; /* eliminate some border detritrus on moz */ -} - -.tundra .dijitAlignLeft .dijitTabChecked, -.tundra .dijitAlignLeft .dijitTabCloseButtonChecked -{ - border-right-color:white; -} - -.tundra .dijitAlignRight .dijitTabChecked, -.tundra .dijitAlignRight .dijitTabCloseButtonChecked -{ - border-left-color:white; -} - - -/* make space for a positioned close button */ -.tundra .dijitTab .dijitClosable { - position: relative; - padding:6px 20px 4px 10px; -} - -.tundra .dijitTab .dijitClosable .closeImage { - position:absolute; - top: 7px; - right: 3px; - height: 12px; - width: 12px; - padding: 0; - margin: 0; - background: url("images/tabClose.png") no-repeat right top; -} -.dj_ie6 .dijitTab .dijitClosable .closeImage { - background-image:url("images/tabClose.gif"); -} - -.tundra .dijitTabCloseButton .dijitClosable .closeImage { - background-image : url("images/tabClose.png"); -} -.dj_ie6 .tundra .dijitTabCloseButton .dijitClosable .closeImage { - background-image : url("images/tabClose.gif"); -} - -.tundra .dijitTabCloseButtonHover .dijitClosable .closeImage { - background-image : url("images/tabCloseHover.png"); -} -.dj_ie6 .tundra .dijitTabCloseButtonHover .dijitClosable .closeImage { - background-image : url("images/tabCloseHover.gif"); -} - -.tundra .dijitAlignLeft .dijitTab .dijitClosable { - padding:6px 10px 4px 20px; -} - -/* correct for IE6. - We cant force hasLayout as that blows out the shrink wrapped tabs - ..so we shim in the closeImage position properties instead -*/ -.dj_ie6 .tundra .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - left:-20px; -} - -.tundra .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - top: auto; - bottom: 7px; - right: 3px; -} - -.tundra .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - top: 7px; - left: 3px; -} - -/* SplitContainer */ - -.tundra .dijitSplitContainerSizerH { - background:url("images/splitContainerSizerH.png") repeat-y #fff; - border:0; - border-left:1px solid #bfbfbf; - border-right:1px solid #bfbfbf; - width:7px; -} - -.tundra .dijitSplitContainerSizerH .thumb { - background:url("images/splitContainerSizerH-thumb.png") no-repeat #ccc; - left:1px; - width:3px; - height:19px; -} - -.tundra .dijitSplitContainerSizerV { - background:url("images/splitContainerSizerV.png") repeat-x #fff; - border:0; - border-top:1px solid #bfbfbf; - border-bottom:1px solid #bfbfbf; - height:7px; -} - -.tundra .dijitSplitContainerSizerV .thumb { - background:url("images/splitContainerSizerV-thumb.png") no-repeat #ccc; - top:1px; - width:19px; - height:3px; -} - - -/* Dialog */ - -.tundra .dijitDialog { - background: #eee; - border: 1px solid #999; - -webkit-box-shadow: 0px 5px 10px #adadad; -} - -.tundra .dijitDialog .dijitDialogTitle { - border-top: none; - border-left: none; - border-right: none; -} - -.tundra .dijitDialog .dijitDialogPaneContent { - background: #ffffff; - border:none; - border-top: 1px solid #ccc; /* #cddde9; /* w/out this, an

    on the top line causes a gap between the .content and .label */ - padding:10px; - -} - -.tundra .dijitDialogTitleBar { - /* outer container for the titlebar of the dialog */ - background: #fafafa url("images/titleBarBg.gif") repeat-x bottom left; - /* border: 1px solid #bfbfbf; */ - padding: 4px 8px 2px 4px; - cursor: move; - outline:0; /* remove this line if keyboard focus on dialog startup is an issue. tab still takes you to first focusable element */ -} - -.tundra .dijitDialogTitle { - /* typography and styling of the dialog title */ - font-weight: bold; - padding: 8px 12px 8px 12px; - outline:0; -} - -.tundra .dijitDialogCloseIcon { - /* the default close icon for the dialog */ - background : url("images/tabClose.png") no-repeat right top; - float: right; - position: absolute; - vertical-align: middle; - right: 5px; - top: 5px; - height: 22px; - width: 22px; - cursor: pointer; -} -.dj_ie6 .tundra .dijitDialogCloseIcon { - background-image: url("images/tabClose.gif"); -} - -.tundra .dijitDialogContent { - /* the body of the dialog */ - padding: 8px; -} - -/*Tooltip*/ - -.tundra .dijitTooltip, -.tundra .dijitTooltipDialog { - /* the outermost dom node, holding the connector and container */ - opacity: 0.95; - background: transparent; /* make the area on the sides of the arrow transparent */ -} - -.dijitTooltipBelow { - /* leave room for arrow above content */ - padding-top: 13px; -} - -.dijitTooltipAbove { - /* leave room for arrow below content */ - padding-bottom: 13px; -} - -.tundra .dijitTooltipContainer { - /* - The part with the text. - - NOTE: - FF doesn't clip images used as CSS bgs if you specify a border - radius. If you use a solid color, it does. Webkit gets it right. - Sigh. - background: #ffffff url("images/popupMenuBg.gif") repeat-x bottom left; - */ - background-color: #fafafa; - border:1px solid #b6c7d5; - padding:0.45em; - border-radius: 6px; - -moz-border-radius: 7px; - -webkit-border-radius: 6px; -} - -.tundra .dijitTooltipConnector { - /* the arrow piece */ - border:0px; - z-index: 2; -} - -.tundra .dijitTooltipABRight .dijitTooltipConnector { - left: auto !important; - right: 3px; -} - -.tundra .dijitTooltipBelow .dijitTooltipConnector { - /* the arrow piece for tooltips below an element */ - top: 0px; - left: 3px; - background:url("images/tooltipConnectorUp.png") no-repeat top left; - width:16px; - height:14px; -} - -.dj_ie6 .tundra .dijitTooltipBelow .dijitTooltipConnector { - background-image: url("images/tooltipConnectorUp.gif"); -} - -.tundra .dijitTooltipAbove .dijitTooltipConnector { - /* the arrow piece for tooltips above an element */ - bottom: 0px; - left: 3px; - background:url("images/tooltipConnectorDown.png") no-repeat top left; - width:16px; - height:14px; -} -.dj_ie6 .tundra .dijitTooltipAbove .dijitTooltipConnector { - background-image: url("images/tooltipConnectorDown.gif"); -} - -.tundra .dijitTooltipLeft { - padding-right: 13px; -} -.dj_ie6 .tundra .dijitTooltipLeft { - padding-right: 15px; -} -.tundra .dijitTooltipLeft .dijitTooltipConnector { - /* the arrow piece for tooltips to the left of an element, bottom borders aligned */ - right: 0px; - bottom: 7px; - background:url("images/tooltipConnectorRight.png") no-repeat top left; - width:16px; - height:14px; -} -.dj_ie6 .tundra .dijitTooltipLeft .dijitTooltipConnector { - background-image: url("images/tooltipConnectorRight.gif"); -} - -.tundra .dijitTooltipRight { - padding-left: 13px; -} -.tundra .dijitTooltipRight .dijitTooltipConnector { - /* the arrow piece for tooltips to the right of an element, bottom borders aligned */ - left: 0px; - bottom: 7px; - background:url("images/tooltipConnectorLeft.png") no-repeat top left; - width:16px; - height:14px; -} -.dj_ie6 .tundra .dijitTooltipRight .dijitTooltipConnector { - background-image: url("images/tooltipConnectorLeft.gif"); -} - -/* Accordion */ - -.tundra .dijitAccordionPane-selected { - /* background-color:#85aeec; */ - background-color: #e7e7e7; -} - -.tundra .dijitAccordionPane .dijitAccordionTitle { - background:#fafafa url("images/titleBar.png") repeat-x bottom left; - border-top: 1px solid #bfbfbf; - padding:4px 4px 2px 4px; -} - -.tundra .dijitAccordionPane-selected .dijitAccordionTitle { - background: #ededed url("images/buttonActive.png") bottom repeat-x; - font-weight: bold; - border-top: 1px solid #aaaaaa; - padding: 4px 4px 2px 4px; -} -.tundra .dijitAccordionPaneFocused .dijitAccordionText { - text-decoration:underline !important; - /*border-left:1px solid #999; - border-right:1px solid #999; - border-top:1px solid #999; */ -} - -.tundra .dijitAccordionPane .dijitAccordionArrow { - background:url("images/arrowUp.png") no-repeat; - width:15px; - height:15px; - margin-top:2px; -} -.dj_ie6 .tundra .dijitAccordionPane .dijitAccordionArrow { - background-image: url("images/arrowUp.gif"); -} - -.tundra .dijitAccordionPane-selected .dijitAccordionArrow { - background:url("images/circleIcon.png") no-repeat; - margin-top:2px; -} -.dj_ie6 .tundra .dijitAccordionPane-selected .dijitAccordionArrow { - background-image: url("images/circleIcon.gif"); -} - -.tundra .dijitAccordionPane .dijitAccordionBody { - background: #fff; - border-top: 1px solid #bfbfbf; -} - -/* Tree */ - -.tundra .dijitTreeNode { - background-image : url('images/i.gif'); - background-position : top left; - background-repeat : repeat-y; - margin-left: 19px; - zoom: 1; /* MOW: what the heck is this doing in here? */ -} - -/* left vertical line (grid) for all nodes */ -.tundra .dijitTreeIsLast { - background: url('images/i_half.gif') no-repeat; -} - -.tundra .dijitTreeIsRoot { - margin-left: 0; - background-image: none; -} - -.tundra .dijitTreeExpando { - width: 18px; - height: 18px; -} - -.tundra .dijitTreeContent { - min-height: 18px; - min-width: 18px; - margin-left:18px; - padding-top:3px; - padding-left:1px; -} - - -.tundra .dijitTreeExpand { - width: 18px; - height: 18px; - background-repeat : no-repeat; -} - -/* same style as IE selection */ -.tundra .dijitTreeNodeEmphasized { - background-color: Highlight; - color: HighlightText; -} - -/* don't use :focus due to opera and IE's lack of support on div's */ -.tundra .dijitTreeLabelFocused { - outline: 1px invert dotted; -} - -.tundra .dijitTreeExpandoOpened { - background-image: url('images/treeExpand_minus.gif'); -} - -.tundra .dijitTreeExpandoClosed { - background-image: url('images/treeExpand_plus.gif'); -} - -.tundra .dijitTreeExpandoLeaf { - background-image: url('images/treeExpand_leaf.gif'); -} - -.tundra .dijitTreeExpandoLoading { - background-image: url('images/treeExpand_loading.gif'); -} - - -/* Calendar*/ - -.tundra .dijitCalendarIncrementControl { - /* next/prev month buttons */ - width:16px; - height:16px; -} -.dj_ie6 .tundra .dijitCalendarIncrementControl { - padding:.1em; -} - -.tundra .dijitCalendarIncreaseInner, -.tundra .dijitCalendarDecreaseInner { - visibility:hidden; -} - -.tundra .dijitCalendarDecrease { - background:url("images/arrowLeft.png") no-repeat center center; -} -.dj_ie6 .tundra .dijitCalendarDecrease { - background-image:url("images/arrowLeft.gif"); -} - -.tundra .dijitCalendarIncrease { - background:url(images/arrowRight.png) no-repeat center center; -} -.dj_ie6 .tundra .dijitCalendarIncrease { - background-image:url("images/arrowRight.gif"); -} - -.tundra table.dijitCalendarContainer { - font-size: 100%; - border-collapse: collapse; - border-spacing: 0; - border: 1px solid #ccc; - margin: 0; -} - -.tundra .dijitCalendarMonthContainer th { - /* month header cell */ - background:white url("images/calendarMonthLabel.png") repeat-x top; - padding-top:.3em; - padding-bottom:.1em; - text-align:center; -} -.dj_ie6 .tundra .dijitCalendarMonthContainer th { - padding-top:.1em; - padding-bottom:0em; -} - -.tundra .dijitCalendarDayLabelTemplate { - /* day of week labels */ - background:white url("images/calendarDayLabel.png") repeat-x bottom; - font-weight:normal; - padding-top:.15em; - padding-bottom:0em; - border-top: 1px solid #eeeeee; - color:#293a4b; - text-align:center; -} - -.tundra .dijitCalendarMonthLabel { - /* day of week labels */ - color:#293a4b; - font-size: 0.75em; - font-weight: bold; - text-align:center; -} - -.dj_ie7 .tundra .dijitCalendarDateTemplate, -.dj_ie6 .tundra .dijitCalendarDateTemplate { - font-size: 0.8em; -} - -.tundra .dijitCalendarDateTemplate { - /* style for each day cell */ - font-size: 0.9em; - font-weight: bold; - text-align: center; - padding: 0.3em 0.3em 0.05em 0.3em; - letter-spacing: 1px; -} - - -.tundra .dijitCalendarPreviousMonth, -.tundra .dijitCalendarNextMonth { - /* days that are part of the previous or next month */ - color:#999999; - background-color:#f8f8f8 !important; -} - -.tundra .dijitCalendarPreviousMonthDisabled, -.tundra .dijitCalendarNextMonthDisabled { - /* days that are part of the previous or next month - disabled*/ - background-color:#a4a5a6 !important; -} - -.tundra .dijitCalendarCurrentMonth { - /* days that are part of this month */ - background-color:white !important; -} - -.tundra .dijitCalendarCurrentMonthDisabled { - /* days that are part of this month - disabled */ - background-color:#bbbbbc !important; -} - -.tundra .dijitCalendarDisabledDate { - /* one or the other? */ - /* background: url(images/noX.gif) no-repeat center center !important; */ - text-decoration:line-through !important; - cursor:default !important; -} - -.tundra .dijitCalendarCurrentDate { - /* cell for today's date */ - text-decoration:underline; - font-weight:bold; -} - -.tundra .dijitCalendarSelectedDate { - /* cell for the selected date */ - background-color:#bbc4d0 !important; - color:black !important; -} - - -.tundra .dijitCalendarYearContainer { - /* footer of the table that contains the year display/selector */ - background:white url("images/calendarYearLabel.png") repeat-x bottom; - border-top:1px solid #ccc; -} - -.tundra .dijitCalendarYearLabel { - /* container for all of 3 year labels */ - margin:0; - padding:0.4em 0 0.25em 0; - text-align:center; -} - -.tundra .dijitCalendarSelectedYear { - /* label for selected year */ - color:black; - padding:0.2em; - padding-bottom:0.1em; - background-color:#bbc4d0 !important; -} - -.tundra .dijitCalendarNextYear, -.tundra .dijitCalendarPreviousYear { - /* label for next/prev years */ - color:black !important; - font-weight:normal; -} - - - -/* inline edit boxen */ -.tundra .dijitInlineValue { - /* span around an inline-editable value when NOT in edit mode */ - padding:3px; - margin:4px; -} - - -/* MOW: trying to get this to look like a mini-dialog. Advised? */ -.tundra .dijitInlineEditor { - /* fieldset surrounding an inlineEditor in edit mode */ - display: inline-block; - display: -moz-inline-stack; - #display:inline; - /* - border: solid; - border-color: #7788a0 #344257 #344257 #7788a0; - border-width:1px 2px 2px 1px; - -moz-border-radius:0px 2px 0px 2px; make BL and TR corners indent on Moz so it looks like we have a shadow - background-color:white; - */ -} - -.dijitInlineEditor .saveButton, -.dijitInlineEditor .cancelButton { - margin:3px 3px 3px 0px; -} - - -/* spinner */ - -.tundra .dijitSpinner {} -.tundra .dijitSpinner input { -} - - - - -/**** - dijit.ProgressBar - ****/ - -.tundra .dijitProgressBar { - margin:2px 0px 2px 0px; -} - -.tundra .dijitProgressBarEmpty{ - /* outer container and background of the bar that's not finished yet*/ - background:#ececec url("images/progressBarEmpty.png") repeat-x bottom left; - border-color: #84a3d1; -} - -.tundra .dijitProgressBarTile{ - /* inner container for finished portion when in 'tile' (image) mode */ - background:#cad2de url("images/progressBarFull.png") repeat-x top left; -} - -.tundra .dijitProgressBarLabel { - /* Set to a color that contrasts with both the "Empty" and "Full" parts. */ - color:#293a4b; -} - -.tundra .dijitProgressBarIndeterminate .dijitProgressBarTile { - /* use an animated gif for the progress bar in 'indeterminate' mode */ - background:#cad2de url("images/dijitProgressBarAnim.gif") repeat-x top left; -} - -/**** - SLIDER -****/ - -.tundra .dijitHorizontalSliderProgressBar { - border-color: #aab0bb; - background: #c0c2c5 url("images/sliderFull.png") repeat-x top left; -} - -.tundra .dijitVerticalSliderProgressBar { - border-color: #aab0bb; - background: #c0c2c5 url("images/sliderFullVertical.png") repeat-y bottom left; -} - -.tundra .dijitSliderFocused .dijitHorizontalSliderProgressBar, -.tundra .dijitSliderFocused .dijitHorizontalSliderLeftBumper { - background-image:url("images/sliderFullFocus.png"); -} - -.tundra .dijitSliderFocused .dijitVerticalSliderProgressBar, -.tundra .dijitSliderFocused .dijitVerticalSliderBottomBumper { - background-image:url("images/sliderFullVerticalFocus.png"); -} - -.tundra .dijitVerticalSliderRemainingBar { - border-color: #b4b4b4; - background: #dcdcdc url("images/sliderEmptyVertical.png") repeat-y bottom left; -} - -.tundra .dijitHorizontalSliderRemainingBar { - border-color: #b4b4b4; - background: #dcdcdc url("images/sliderEmpty.png") repeat-x top left; -} - -.tundra .dijitSliderBar { - border-style: solid; - outline:1px; - /* border-color: #b4b4b4; */ -} -.tundra .dijitSliderFocused .dijitSliderBar { - border-color:#333; -} - -.dijit_a11y .dijitSliderProgressBar { - background-color:#333 !important; -} - -.tundra .dijitHorizontalSliderImageHandle { - border:0px; - width:16px; - height:16px; - background:url("images/preciseSliderThumb.png") no-repeat center top; - cursor:pointer; -} -.tundra .dijitSliderFocused .dijitHorizontalSliderImageHandle { - background-image:url("images/preciseSliderThumbFocus.png"); - #background-image:url("images/preciseSliderThumbFocus.gif"); -} - -.dj_ie6 .tundra .dijitHorizontalSliderImageHandle { - background-image:url("images/preciseSliderThumb.gif"); -} - -.tundra .dijitHorizontalSliderLeftBumper { - border-left-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url("images/sliderFull.png") repeat-x top left; -} - -.tundra .dijitHorizontalSliderRightBumper { - background: #dcdcdc url("images/sliderEmpty.png") repeat-x top left; - border-color: #b4b4b4; - border-right-width: 1px; -} - -.tundra .dijitVerticalSliderImageHandle { - border:0px; - width:16px; - height:16px; - background:url("images/sliderThumb.png") no-repeat center center; - cursor:pointer; -} - -.tundra .dijitSliderFocused .dijitVerticalSliderImageHandle { - background-image:url("images/sliderThumbFocus.png"); -} -.dj_ie6 .tundra .dijitSliderFocused .dijitVerticalSliderImageHandle { - background-image:url("images/sliderThumbFocus.gif"); -} - -.tundra .dijitVerticalSliderBottomBumper { - border-bottom-width: 1px; - border-color: #aab0bb; - background: #c0c2c5 url("images/sliderFullVertical.png") repeat-y bottom left; -} - -.tundra .dijitVerticalSliderTopBumper { - background: #dcdcdc url("images/sliderEmptyVertical.png") repeat-y top left; - border-color: #b4b4b4; - border-top-width: 1px; -} - -.tundra .dijitHorizontalSliderIncrementIcon, -.tundra .dijitVerticalSliderIncrementIcon { - background:url('images/arrowUp.png') no-repeat center center; - width:16px; height:16px; - cursor:pointer; -} -.tundra .dijitHorizontalSliderIncrementIcon { - background-image:url('images/arrowRight.png'); -} - -.tundra .dijitHorizontalSliderDecrementIcon, -.tundra .dijitVerticalSliderDecrementIcon { - width:16px; - height:16px; - cursor:pointer; - background:url('images/arrowDown.png') no-repeat center center; -} -.tundra .dijitHorizontalSliderDecrementIcon { background-image:url('images/arrowLeft.png'); } - -.tundra .dijitSliderButtonInner { - visibility:hidden; -} - -.tundra .dijitSliderDisabled { - opacity:0.6 !important; -} - -.dj_ie6 .tundra .dijitSliderDisabled, -.dj_ie6 .tundra .dijitSliderDisabled .RuleContainer, -.dj_ie6 .tundra .dijitSliderDisabled .dijitSliderRemainingBar, -.dj_ie6 .tundra .dijitSliderDisabled .dijitSliderProgressBar { - filter: gray() alpha(opacity=40); -} - -/**** ICONS *****/ - -.tundra .dijitEditorIcon { - background-image: url('images/editor.gif'); /* editor icons sprite image */ - background-repeat: no-repeat; - width: 18px; - height: 18px; - text-align: center; -} -.tundra .dijitEditorIconSep { background-position: 0px; } -.tundra .dijitEditorIconBackColor { background-position: -18px; } -.tundra .dijitEditorIconBold { background-position: -36px; } -.tundra .dijitEditorIconCancel { background-position: -54px; } -.tundra .dijitEditorIconCopy { background-position: -72px; } -.tundra .dijitEditorIconCreateLink { background-position: -90px; } -.tundra .dijitEditorIconCut { background-position: -108px; } -.tundra .dijitEditorIconDelete { background-position: -126px; } -.tundra .dijitEditorIconForeColor { background-position: -144px; } -.tundra .dijitEditorIconHiliteColor { background-position: -162px; } -.tundra .dijitEditorIconIndent { background-position: -180px; } -.tundra .dijitEditorIconInsertHorizontalRule { background-position: -198px; } -.tundra .dijitEditorIconInsertImage { background-position: -216px; } -.tundra .dijitEditorIconInsertOrderedList { background-position: -234px; } -.tundra .dijitEditorIconInsertTable { background-position: -252px; } -.tundra .dijitEditorIconInsertUnorderedList { background-position: -270px; } -.tundra .dijitEditorIconItalic { background-position: -288px; } -.tundra .dijitEditorIconJustifyCenter { background-position: -306px; } -.tundra .dijitEditorIconJustifyFull { background-position: -324px; } -.tundra .dijitEditorIconJustifyLeft { background-position: -342px; } -.tundra .dijitEditorIconJustifyRight { background-position: -360px; } -.tundra .dijitEditorIconLeftToRight { background-position: -378px; } -.tundra .dijitEditorIconListBulletIndent { background-position: -396px; } -.tundra .dijitEditorIconListBulletOutdent { background-position: -414px; } -.tundra .dijitEditorIconListNumIndent { background-position: -432px; } -.tundra .dijitEditorIconListNumOutdent { background-position: -450px; } -.tundra .dijitEditorIconOutdent { background-position: -468px; } -.tundra .dijitEditorIconPaste { background-position: -486px; } -.tundra .dijitEditorIconRedo { background-position: -504px; } -.tundra .dijitEditorIconRemoveFormat { background-position: -522px; } -.tundra .dijitEditorIconRightToLeft { background-position: -540px; } -.tundra .dijitEditorIconSave { background-position: -558px; } -.tundra .dijitEditorIconSpace { background-position: -576px; } -.tundra .dijitEditorIconStrikethrough { background-position: -594px; } -.tundra .dijitEditorIconSubscript { background-position: -612px; } -.tundra .dijitEditorIconSuperscript { background-position: -630px; } -.tundra .dijitEditorIconUnderline { background-position: -648px; } -.tundra .dijitEditorIconUndo { background-position: -666px; } -.tundra .dijitEditorIconWikiword { background-position: -684px; } - -/* - * IE6: can't display PNG images with gradient transparency. - * Want to use filter property for those images, but then need to specify a path relative - * to the main page, rather than relative to this file... using gifs for now - */ - -.dj_ie6 .tundra .dijitInputField -{ - background: url("images/validationInputBg.gif") repeat-x top left #fff; -} - -/**** Disabled cursor *****/ -.tundra .dijitSliderDisabled *, -.tundra .dijitDisabledClickableRegion, /* a region the user would be able to click on, but it's disabled */ -.tundra .dijitSpinnerDisabled *, -.tundra .dijitButtonDisabled *, -.tundra .dijitDropDownButtonDisabled *, -.tundra .dijitComboButtonDisabled *, -.tundra .dijitComboBoxDisabled * -{ - cursor: not-allowed !important; -} - -/* DnD avatar-specific settings */ -/* For now it uses a default set of rules. Some other DnD classes can be modified as well. */ -.tundra .dojoDndAvatar {font-size: 75%; color: black;} -.tundra .dojoDndAvatarHeader td {padding-left: 20px; padding-right: 4px;} -.tundra .dojoDndAvatarHeader {background: #ccc;} -.tundra .dojoDndAvatarItem {background: #eee;} -.tundra.dojoDndMove .dojoDndAvatarHeader {background-image: url(images/dndNoMove.png); background-repeat: no-repeat;} -.tundra.dojoDndCopy .dojoDndAvatarHeader {background-image: url(images/dndNoCopy.png); background-repeat: no-repeat;} -.tundra.dojoDndMove .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-image: url(images/dndMove.png); background-repeat: no-repeat;} -.tundra.dojoDndCopy .dojoDndAvatarCanDrop .dojoDndAvatarHeader {background-image: url(images/dndCopy.png); background-repeat: no-repeat;} - -.tundra .dijitContentPaneLoading { - background:url('images/loading.gif') no-repeat left center; - padding-left:25px; -} - -.tundra .dijitContentPaneError { - background:url('images/warning.png') no-repeat left center; - padding-left:25px; -} diff --git a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/tundra_rtl.css b/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/tundra_rtl.css deleted file mode 100644 index 72f915a1..00000000 --- a/spring-faces/src/main/resources/META-INF/dijit/themes/tundra/tundra_rtl.css +++ /dev/null @@ -1,217 +0,0 @@ -@import url("../dijit_rtl.css"); - -/* Dialog */ -.dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background : url("images/tabClose.png") no-repeat left top; - float: left; - right: auto; - left: 5px; -} -.dj_ie6 .dijitRtl .dijitDialogTitleBar .dijitDialogCloseIcon { - background-image: url('images/tabClose.gif'); -} - -.dijitRtl .dijitDialogTitleBar { - background: #fafafa url("images/titleBarBg.gif") repeat-x bottom left; - padding: 4px 4px 2px 8px; -} - -/* Menu */ - -.dijitRtl .dijitMenuItem .dijitMenuItemIcon { - padding-left: 3px; - padding-right: 0px; -} - -.dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background:url('images/arrowLeft.png') no-repeat bottom center; -} -.dj_ie6 .dijitRtl .dijitMenuItem .dijitMenuExpandEnabled { - background-image:url('images/arrowLeft.gif'); -} - -/* TitlePane */ -.dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background:url('images/arrowLeft.png') no-repeat center center; -} -.dj_ie6 .dijitRtl .dijitTitlePane .dijitClosed .dijitArrowNode { - background-image:url('images/arrowLeft.gif'); -} - -/* Tree */ -.dijitRtl .dijitTreeContainer .dijitTreeNode { - background-image : url('images/i_rtl.gif'); - background-position : top right; - margin-left: auto; - margin-right: 19px; -} - -.dijitRtl .dijitTreeContainer .dijitTreeIsRoot { - margin-left: auto; - margin-right: 0; - background-image: none; -} - -.dijitRtl .dijitTreeContainer .dijitTreeIsLast { - background-image: url('images/i_half_rtl.gif'); -} - -.dijitRtl .dijitTreeContainer .dijitTreeContent { - margin-left: auto; - margin-right: 18px; - padding-left: auto; - padding-right: 1px; -} - -.dijitRtl .dijitTreeContainer .dijitTreeExpandoOpened { - background-image: url('images/treeExpand_minus_rtl.gif'); -} - -.dijitRtl .dijitTreeContainer .dijitTreeExpandoClosed { - background-image: url('images/treeExpand_plus_rtl.gif'); -} - -.dijitRtl .dijitTreeContainer .dijitTreeExpandoLeaf { - background-image: url('images/treeExpand_leaf_rtl.gif'); -} - -/* ToolTip */ - -.dj_ie .dijitRtl .dijitTooltipLeft { - margin-right: 0px; - margin-left: 13px; -} - -.dj_ie .dijitRtl .dijitTooltipRight { - margin-left: 26px; - margin-right: -13px; -} - -.dj_ie .dijitRtl .dijitTooltipDialog { - zoom:1 !important; -} - -/* Calendar */ - -.dijitRtl .dijitCalendarDecrease { - background:url(images/arrowRight.png) no-repeat center center; - margin-left:0; - margin-right:2px; -} - -.dijitRtl .dijitCalendarIncrease { - background:url(images/arrowLeft.png) no-repeat center center; - margin-right:0; - margin-left:4px; -} -.dj_ie6 .dijitRtl .dijitCalendarIncrease { - background-image:url(images/arrowLeft.gif); -} -.dj_ie6 .dijitRtl .dijitCalendarDecrease { - background-image:url(images/arrowRight.gif); -} - -/* Slider */ - -.dijitRtl .dijitHorizontalSliderProgressBar { - background: #c0c2c5 url("images/sliderFull.png") repeat-x top right; -} - -.dijitRtl .dijitVerticalSliderProgressBar { - background: #c0c2c5 url("images/sliderFullVertical.png") repeat-y bottom right; -} - -.dijitRtl .dijitVerticalSliderRemainingBar { - background: #dcdcdc url("images/sliderEmptyVertical.png") repeat-y bottom right; -} - -.dijitRtl .dijitHorizontalSliderRemainingBar { - background: #dcdcdc url("images/sliderEmpty.png") repeat-x top right; -} - -.dijitRtl .dijitHorizontalSliderLeftBumper { - border-left-width: 0px; - border-right-width: 1px; - background: #c0c2c5 url("images/sliderFull.png") repeat-x top right; -} - -.dijitRtl .dijitHorizontalSliderRightBumper { - background: #dcdcdc url("images/sliderEmpty.png") repeat-x top right; - border-left-width: 1px; - border-right-width: 0px; -} - -.dijitRtl .dijitVerticalSliderBottomBumper { - background: #c0c2c5 url("images/sliderFullVertical.png") repeat-y bottom right; -} - -.dijitRtl .dijitVerticalSliderTopBumper { - background: #dcdcdc url("images/sliderEmptyVertical.png") repeat-y top right; -} - -/* TabContainer */ - -.dijitRtl .dijitTab { - margin-right:0; - margin-left:5px; /* space between one tab and the next in top/bottom mode */ -} - -.dijitRtl .dijitTab .dijitTabInnerDiv { - border-left:none; - border-right:1px solid #fff; -} - -.dijitRtl .dijitTab .dijitClosable { - padding:6px 10px 4px 20px; -} - -.dijitRtl .dijitTab .closeImage { - position:static; - padding: 0px 12px 0px 0px; -} - -.dj_gecko .dijitTab .closeImage { - position:relative; - float:none; - padding:0; -} - -.dijitRtl .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; - background: url("images/tabClose.png") no-repeat left top; -} - -.dj_ie .dijitRtl .dijitTab .dijitClosable .closeImage { - width:12px !important; -} - -.dijitRtl .dijitAlignLeft .dijitTab, -.dijitRtl .dijitAlignRight .dijitTab { - margin-left:0px; -} - -.dijitRtl .dijitAlignBottom .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; -} - -.dijitRtl .dijitAlignRight .dijitTab .dijitTabInnerDiv { - padding-left:10px; - padding-right:20px; -} - -.dijitRtl .dijitAlignLeft .dijitTab .dijitTabInnerDiv { - padding-left:20px; - padding-right:10px; -} - -.dijitRtl .dijitAlignRight .dijitTab .dijitClosable .closeImage { - left:auto; - right:3px; -} - -.dijitRtl .dijitAlignLeft .dijitTab .dijitClosable .closeImage { - right:auto; - left:3px; -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/AdapterRegistry.js b/spring-faces/src/main/resources/META-INF/dojo/AdapterRegistry.js deleted file mode 100644 index 34bc8be7..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/AdapterRegistry.js +++ /dev/null @@ -1,99 +0,0 @@ -if(!dojo._hasResource["dojo.AdapterRegistry"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo.AdapterRegistry"] = true; -dojo.provide("dojo.AdapterRegistry"); - -dojo.AdapterRegistry = function(/*Boolean?*/ returnWrappers){ - // summary: - // A registry to make contextual calling/searching easier. - // description: - // Objects of this class keep list of arrays in the form [name, check, - // wrap, directReturn] that are used to determine what the contextual - // result of a set of checked arguments is. All check/wrap functions - // in this registry should be of the same arity. - // example: - // | // create a new registry - // | var reg = new dojo.AdapterRegistry(); - // | reg.register("handleString", - // | dojo.isString, - // | function(str){ - // | // do something with the string here - // | } - // | ); - // | reg.register("handleArr", - // | dojo.isArray, - // | function(arr){ - // | // do something with the array here - // | } - // | ); - // | - // | // now we can pass reg.match() *either* an array or a string and - // | // the value we pass will get handled by the right function - // | reg.match("someValue"); // will call the first function - // | reg.match(["someValue"]); // will call the second - - this.pairs = []; - this.returnWrappers = returnWrappers || false; // Boolean -} - -dojo.extend(dojo.AdapterRegistry, { - register: function(/*String*/ name, /*Function*/ check, /*Function*/ wrap, /*Boolean?*/ directReturn, /*Boolean?*/ override){ - // summary: - // register a check function to determine if the wrap function or - // object gets selected - // name: - // a way to identify this matcher. - // check: - // a function that arguments are passed to from the adapter's - // match() function. The check function should return true if the - // given arguments are appropriate for the wrap function. - // directReturn: - // If directReturn is true, the value passed in for wrap will be - // returned instead of being called. Alternately, the - // AdapterRegistry can be set globally to "return not call" using - // the returnWrappers property. Either way, this behavior allows - // the registry to act as a "search" function instead of a - // function interception library. - // override: - // If override is given and true, the check function will be given - // highest priority. Otherwise, it will be the lowest priority - // adapter. - this.pairs[((override) ? "unshift" : "push")]([name, check, wrap, directReturn]); - }, - - match: function(/* ... */){ - // summary: - // Find an adapter for the given arguments. If no suitable adapter - // is found, throws an exception. match() accepts any number of - // arguments, all of which are passed to all matching functions - // from the registered pairs. - for(var i = 0; i < this.pairs.length; i++){ - var pair = this.pairs[i]; - if(pair[1].apply(this, arguments)){ - if((pair[3])||(this.returnWrappers)){ - return pair[2]; - }else{ - return pair[2].apply(this, arguments); - } - } - } - throw new Error("No match found"); - }, - - unregister: function(name){ - // summary: Remove a named adapter from the registry - - // FIXME: this is kind of a dumb way to handle this. On a large - // registry this will be slow-ish and we can use the name as a lookup - // should we choose to trade memory for speed. - for(var i = 0; i < this.pairs.length; i++){ - var pair = this.pairs[i]; - if(pair[0] == name){ - this.pairs.splice(i, 1); - return true; - } - } - return false; - } -}); - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/DeferredList.js b/spring-faces/src/main/resources/META-INF/dojo/DeferredList.js deleted file mode 100644 index 33230cde..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/DeferredList.js +++ /dev/null @@ -1,91 +0,0 @@ -if(!dojo._hasResource["dojo.DeferredList"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo.DeferredList"] = true; -dojo.provide("dojo.DeferredList"); -dojo.declare("dojo.DeferredList", dojo.Deferred, { - constructor: function(/*Array*/ list, /*Boolean?*/ fireOnOneCallback, /*Boolean?*/ fireOnOneErrback, /*Boolean?*/ consumeErrors, /*Function?*/ canceller){ - // summary: - // Provides event handling for a group of Deferred objects. - // description: - // DeferredList takes an array of existing deferreds and returns a new deferred of its own - // this new deferred will typically have its callback fired when all of the deferreds in - // the given list have fired their own deferreds. The parameters `fireOnOneCallback` and - // fireOnOneErrback, will fire before all the deferreds as appropriate - // - // list: - // The list of deferreds to be synchronizied with this DeferredList - // fireOnOneCallback: - // Will cause the DeferredLists callback to be fired as soon as any - // of the deferreds in its list have been fired instead of waiting until - // the entire list has finished - // fireonOneErrback: - // Will cause the errback to fire upon any of the deferreds errback - // canceller: - // A deferred canceller function, see dojo.Deferred - this.list = list; - this.resultList = new Array(this.list.length); - - // Deferred init - this.chain = []; - this.id = this._nextId(); - this.fired = -1; - this.paused = 0; - this.results = [null, null]; - this.canceller = canceller; - this.silentlyCancelled = false; - - if (this.list.length === 0 && !fireOnOneCallback) { - this.callback(this.resultList); - } - - this.finishedCount = 0; - this.fireOnOneCallback = fireOnOneCallback; - this.fireOnOneErrback = fireOnOneErrback; - this.consumeErrors = consumeErrors; - - var index = 0; - - dojo.forEach(this.list, function(d, index) { - d.addCallback(this, function(r) { this._cbDeferred(index, true, r); return r; }); - d.addErrback(this, function(r) { this._cbDeferred(index, false, r); return r; }); - index++; - },this); - }, - - _cbDeferred: function (index, succeeded, result) { - // summary: - // The DeferredLists' callback handler - - this.resultList[index] = [succeeded, result]; this.finishedCount += 1; - if (this.fired !== 0) { - if (succeeded && this.fireOnOneCallback) { - this.callback([index, result]); - } else if (!succeeded && this.fireOnOneErrback) { - this.errback(result); - } else if (this.finishedCount == this.list.length) { - this.callback(this.resultList); - } - } - if (!succeeded && this.consumeErrors) { - result = null; - } - return result; - }, - - gatherResults: function (deferredList) { - // summary: - // Gathers the results of the deferreds for packaging - // as the parameters to the Deferred Lists' callback - - var d = new dojo.DeferedList(deferredList, false, true, false); - d.addCallback(function (results) { - var ret = []; - for (var i = 0; i < results.length; i++) { - ret.push(results[i][1]); - } - return ret; - }); - return d; - } -}); - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/LICENSE b/spring-faces/src/main/resources/META-INF/dojo/LICENSE deleted file mode 100644 index 2709e72e..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/LICENSE +++ /dev/null @@ -1,195 +0,0 @@ -Dojo is availble under *either* the terms of the modified BSD license *or* the -Academic Free License version 2.1. As a recipient of Dojo, you may choose which -license to receive this code under (except as noted in per-module LICENSE -files). Some modules may not be the copyright of the Dojo Foundation. These -modules contain explicit declarations of copyright in both the LICENSE files in -the directories in which they reside and in the code itself. No external -contributions are allowed under licenses which are fundamentally incompatible -with the AFL or BSD licenses that Dojo is distributed under. - -The text of the AFL and BSD licenses is reproduced below. - -------------------------------------------------------------------------------- -The "New" BSD License: -********************** - -Copyright (c) 2005-2007, The Dojo Foundation -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - * Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - * Neither the name of the Dojo Foundation nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -------------------------------------------------------------------------------- -The Academic Free License, v. 2.1: -********************************** - -This Academic Free License (the "License") applies to any original work of -authorship (the "Original Work") whose owner (the "Licensor") has placed the -following notice immediately following the copyright notice for the Original -Work: - -Licensed under the Academic Free License version 2.1 - -1) Grant of Copyright License. Licensor hereby grants You a world-wide, -royalty-free, non-exclusive, perpetual, sublicenseable license to do the -following: - -a) to reproduce the Original Work in copies; - -b) to prepare derivative works ("Derivative Works") based upon the Original -Work; - -c) to distribute copies of the Original Work and Derivative Works to the -public; - -d) to perform the Original Work publicly; and - -e) to display the Original Work publicly. - -2) Grant of Patent License. Licensor hereby grants You a world-wide, -royalty-free, non-exclusive, perpetual, sublicenseable license, under patent -claims owned or controlled by the Licensor that are embodied in the Original -Work as furnished by the Licensor, to make, use, sell and offer for sale the -Original Work and Derivative Works. - -3) Grant of Source Code License. The term "Source Code" means the preferred -form of the Original Work for making modifications to it and all available -documentation describing how to modify the Original Work. Licensor hereby -agrees to provide a machine-readable copy of the Source Code of the Original -Work along with each copy of the Original Work that Licensor distributes. -Licensor reserves the right to satisfy this obligation by placing a -machine-readable copy of the Source Code in an information repository -reasonably calculated to permit inexpensive and convenient access by You for as -long as Licensor continues to distribute the Original Work, and by publishing -the address of that information repository in a notice immediately following -the copyright notice that applies to the Original Work. - -4) Exclusions From License Grant. Neither the names of Licensor, nor the names -of any contributors to the Original Work, nor any of their trademarks or -service marks, may be used to endorse or promote products derived from this -Original Work without express prior written permission of the Licensor. Nothing -in this License shall be deemed to grant any rights to trademarks, copyrights, -patents, trade secrets or any other intellectual property of Licensor except as -expressly stated herein. No patent license is granted to make, use, sell or -offer to sell embodiments of any patent claims other than the licensed claims -defined in Section 2. No right is granted to the trademarks of Licensor even if -such marks are included in the Original Work. Nothing in this License shall be -interpreted to prohibit Licensor from licensing under different terms from this -License any Original Work that Licensor otherwise would have a right to -license. - -5) This section intentionally omitted. - -6) Attribution Rights. You must retain, in the Source Code of any Derivative -Works that You create, all copyright, patent or trademark notices from the -Source Code of the Original Work, as well as any notices of licensing and any -descriptive text identified therein as an "Attribution Notice." You must cause -the Source Code for any Derivative Works that You create to carry a prominent -Attribution Notice reasonably calculated to inform recipients that You have -modified the Original Work. - -7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that -the copyright in and to the Original Work and the patent rights granted herein -by Licensor are owned by the Licensor or are sublicensed to You under the terms -of this License with the permission of the contributor(s) of those copyrights -and patent rights. Except as expressly stated in the immediately proceeding -sentence, the Original Work is provided under this License on an "AS IS" BASIS -and WITHOUT WARRANTY, either express or implied, including, without limitation, -the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. -This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No -license to Original Work is granted hereunder except under this disclaimer. - -8) Limitation of Liability. Under no circumstances and under no legal theory, -whether in tort (including negligence), contract, or otherwise, shall the -Licensor be liable to any person for any direct, indirect, special, incidental, -or consequential damages of any character arising as a result of this License -or the use of the Original Work including, without limitation, damages for loss -of goodwill, work stoppage, computer failure or malfunction, or any and all -other commercial damages or losses. This limitation of liability shall not -apply to liability for death or personal injury resulting from Licensor's -negligence to the extent applicable law prohibits such limitation. Some -jurisdictions do not allow the exclusion or limitation of incidental or -consequential damages, so this exclusion and limitation may not apply to You. - -9) Acceptance and Termination. If You distribute copies of the Original Work or -a Derivative Work, You must make a reasonable effort under the circumstances to -obtain the express assent of recipients to the terms of this License. Nothing -else but this License (or another written agreement between Licensor and You) -grants You permission to create Derivative Works based upon the Original Work -or to exercise any of the rights granted in Section 1 herein, and any attempt -to do so except under the terms of this License (or another written agreement -between Licensor and You) is expressly prohibited by U.S. copyright law, the -equivalent laws of other countries, and by international treaty. Therefore, by -exercising any of the rights granted to You in Section 1 herein, You indicate -Your acceptance of this License and all of its terms and conditions. - -10) Termination for Patent Action. This License shall terminate automatically -and You may no longer exercise any of the rights granted to You by this License -as of the date You commence an action, including a cross-claim or counterclaim, -against Licensor or any licensee alleging that the Original Work infringes a -patent. This termination provision shall not apply for an action alleging -patent infringement by combinations of the Original Work with other software or -hardware. - -11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this -License may be brought only in the courts of a jurisdiction wherein the -Licensor resides or in which Licensor conducts its primary business, and under -the laws of that jurisdiction excluding its conflict-of-law provisions. The -application of the United Nations Convention on Contracts for the International -Sale of Goods is expressly excluded. Any use of the Original Work outside the -scope of this License or after its termination shall be subject to the -requirements and penalties of the U.S. Copyright Act, 17 U.S.C. § 101 et -seq., the equivalent laws of other countries, and international treaty. This -section shall survive the termination of this License. - -12) Attorneys Fees. In any action to enforce the terms of this License or -seeking damages relating thereto, the prevailing party shall be entitled to -recover its costs and expenses, including, without limitation, reasonable -attorneys' fees and costs incurred in connection with such action, including -any appeal of such action. This section shall survive the termination of this -License. - -13) Miscellaneous. This License represents the complete agreement concerning -the subject matter hereof. If any provision of this License is held to be -unenforceable, such provision shall be reformed only to the extent necessary to -make it enforceable. - -14) Definition of "You" in This License. "You" throughout this License, whether -in upper or lower case, means an individual or a legal entity exercising rights -under, and complying with all of the terms of, this License. For legal -entities, "You" includes any entity that controls, is controlled by, or is -under common control with you. For purposes of this definition, "control" means -(i) the power, direct or indirect, to cause the direction or management of such -entity, whether by contract or otherwise, or (ii) ownership of fifty percent -(50%) or more of the outstanding shares, or (iii) beneficial ownership of such -entity. - -15) Right to Use. You may use the Original Work in all ways not otherwise -restricted or conditioned by this License or by law, and Licensor promises not -to interfere with or be responsible for such uses by You. - -This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights reserved. -Permission is hereby granted to copy and distribute this license without -modification. This license may not be modified without the express written -permission of its copyright owner. diff --git a/spring-faces/src/main/resources/META-INF/dojo/NodeList-fx.js b/spring-faces/src/main/resources/META-INF/dojo/NodeList-fx.js deleted file mode 100644 index e3c3b445..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/NodeList-fx.js +++ /dev/null @@ -1,89 +0,0 @@ -if(!dojo._hasResource["dojo.NodeList-fx"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo.NodeList-fx"] = true; -dojo.provide("dojo.NodeList-fx"); -dojo.require("dojo.fx"); - -dojo.extend(dojo.NodeList, { - _anim: function(obj, method, args){ - var anims = []; - args = args||{}; - this.forEach(function(item){ - var tmpArgs = { node: item }; - dojo.mixin(tmpArgs, args); - anims.push(obj[method](tmpArgs)); - }); - return dojo.fx.combine(anims); // dojo._Animation - }, - - wipeIn: function(args){ - // summary: - // wipe in all elements of this NodeList. Returns an instance of dojo._Animation - // example: - // Fade in all tables with class "blah": - // | dojo.query("table.blah").wipeIn().play(); - return this._anim(dojo.fx, "wipeIn", args); // dojo._Animation - }, - - wipeOut: function(args){ - // summary: - // wipe out all elements of this NodeList. Returns an instance of dojo._Animation - // example: - // Wipe out all tables with class "blah": - // | dojo.query("table.blah").wipeOut().play(); - return this._anim(dojo.fx, "wipeOut", args); // dojo._Animation - }, - - slideTo: function(args){ - // summary: - // slide all elements of the node list to the specified place. - // Returns an instance of dojo._Animation - // example: - // | Move all tables with class "blah" to 300/300: - // | dojo.query("table.blah").slideTo({ - // | left: 40, - // | top: 50 - // | }).play(); - return this._anim(dojo.fx, "slideTo", args); // dojo._Animation - }, - - - fadeIn: function(args){ - // summary: - // fade in all elements of this NodeList. Returns an instance of dojo._Animation - // example: - // Fade in all tables with class "blah": - // | dojo.query("table.blah").fadeIn().play(); - return this._anim(dojo, "fadeIn", args); // dojo._Animation - }, - - fadeOut: function(args){ - // summary: - // fade out all elements of this NodeList. Returns an instance of dojo._Animation - // example: - // Fade out all elements with class "zork": - // | dojo.query(".zork").fadeOut().play(); - // example: - // Fade them on a delay and do something at the end: - // | var fo = dojo.query(".zork").fadeOut(); - // | dojo.connect(fo, "onEnd", function(){ /*...*/ }); - // | fo.play(); - return this._anim(dojo, "fadeOut", args); // dojo._Animation - }, - - animateProperty: function(args){ - // summary: - // see dojo.animateProperty(). Animate all elements of this - // NodeList across the properties specified. - // example: - // | dojo.query(".zork").animateProperty({ - // | duration: 500, - // | properties: { - // | color: { start: "black", end: "white" }, - // | left: { end: 300 } - // | } - // | }).play(); - return this._anim(dojo, "animateProperty", args); // dojo._Animation - } -}); - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/OpenAjax.js b/spring-faces/src/main/resources/META-INF/dojo/OpenAjax.js deleted file mode 100644 index 3ac9ed41..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/OpenAjax.js +++ /dev/null @@ -1,191 +0,0 @@ -/******************************************************************************* - * OpenAjax.js - * - * Reference implementation of the OpenAjax Hub, as specified by OpenAjax Alliance. - * Specification is under development at: - * - * http://www.openajax.org/member/wiki/OpenAjax_Hub_Specification - * - * Copyright 2006-2007 OpenAjax Alliance - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 . Unless - * required by applicable law or agreed to in writing, software distributed - * under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. - * - ******************************************************************************/ - -// prevent re-definition of the OpenAjax object -if(!window["OpenAjax"]){ - OpenAjax = new function(){ - var t = true; - var f = false; - var g = window; - var libs; - var ooh = "org.openajax.hub."; - - var h = {}; - this.hub = h; - h.implementer = "http://openajax.org"; - h.implVersion = "0.6"; - h.specVersion = "0.6"; - h.implExtraData = {}; - var libs = {}; - h.libraries = libs; - - h.registerLibrary = function(prefix, nsURL, version, extra){ - libs[prefix] = { - prefix: prefix, - namespaceURI: nsURL, - version: version, - extraData: extra - }; - this.publish(ooh+"registerLibrary", libs[prefix]); - } - h.unregisterLibrary = function(prefix){ - this.publish(ooh+"unregisterLibrary", libs[prefix]); - delete libs[prefix]; - } - - h._subscriptions = { c:{}, s:[] }; - h._cleanup = []; - h._subIndex = 0; - h._pubDepth = 0; - - h.subscribe = function(name, callback, scope, subscriberData, filter){ - if(!scope){ - scope = window; - } - var handle = name + "." + this._subIndex; - var sub = { scope: scope, cb: callback, fcb: filter, data: subscriberData, sid: this._subIndex++, hdl: handle }; - var path = name.split("."); - this._subscribe(this._subscriptions, path, 0, sub); - return handle; - } - - h.publish = function(name, message){ - var path = name.split("."); - this._pubDepth++; - this._publish(this._subscriptions, path, 0, name, message); - this._pubDepth--; - if((this._cleanup.length > 0) && (this._pubDepth == 0)){ - for(var i = 0; i < this._cleanup.length; i++){ - this.unsubscribe(this._cleanup[i].hdl); - } - delete(this._cleanup); - this._cleanup = []; - } - } - - h.unsubscribe = function(sub){ - var path = sub.split("."); - var sid = path.pop(); - this._unsubscribe(this._subscriptions, path, 0, sid); - } - - h._subscribe = function(tree, path, index, sub){ - var token = path[index]; - if(index == path.length){ - tree.s.push(sub); - }else{ - if(typeof tree.c == "undefined"){ - tree.c = {}; - } - if(typeof tree.c[token] == "undefined"){ - tree.c[token] = { c: {}, s: [] }; - this._subscribe(tree.c[token], path, index + 1, sub); - }else{ - this._subscribe( tree.c[token], path, index + 1, sub); - } - } - } - - h._publish = function(tree, path, index, name, msg){ - if(typeof tree != "undefined"){ - var node; - if(index == path.length) { - node = tree; - }else{ - this._publish(tree.c[path[index]], path, index + 1, name, msg); - this._publish(tree.c["*"], path, index + 1, name, msg); - node = tree.c["**"]; - } - if(typeof node != "undefined"){ - var callbacks = node.s; - var max = callbacks.length; - for(var i = 0; i < max; i++){ - if(callbacks[i].cb){ - var sc = callbacks[i].scope; - var cb = callbacks[i].cb; - var fcb = callbacks[i].fcb; - var d = callbacks[i].data; - if(typeof cb == "string"){ - // get a function object - cb = sc[cb]; - } - if(typeof fcb == "string"){ - // get a function object - fcb = sc[fcb]; - } - if((!fcb) || - (fcb.call(sc, name, msg, d))) { - cb.call(sc, name, msg, d); - } - } - } - } - } - } - - h._unsubscribe = function(tree, path, index, sid) { - if(typeof tree != "undefined") { - if(index < path.length) { - var childNode = tree.c[path[index]]; - this._unsubscribe(childNode, path, index + 1, sid); - if(childNode.s.length == 0) { - for(var x in childNode.c) - return; - delete tree.c[path[index]]; - } - return; - } - else { - var callbacks = tree.s; - var max = callbacks.length; - for(var i = 0; i < max; i++) - if(sid == callbacks[i].sid) { - if(this._pubDepth > 0) { - callbacks[i].cb = null; - this._cleanup.push(callbacks[i]); - } - else - callbacks.splice(i, 1); - return; - } - } - } - } - // The following function is provided for automatic testing purposes. - // It is not expected to be deployed in run-time OpenAjax Hub implementations. - h.reinit = function() - { - for (var lib in OpenAjax.hub.libraries) { - delete OpenAjax.hub.libraries[lib]; - } - OpenAjax.hub.registerLibrary("OpenAjax", "http://openajax.org/hub", "0.6", {}); - - delete OpenAjax._subscriptions; - OpenAjax._subscriptions = {c:{},s:[]}; - delete OpenAjax._cleanup; - OpenAjax._cleanup = []; - OpenAjax._subIndex = 0; - OpenAjax._pubDepth = 0; - } - }; - // Register the OpenAjax Hub itself as a library. - OpenAjax.hub.registerLibrary("OpenAjax", "http://openajax.org/hub", "0.6", {}); - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_base.js b/spring-faces/src/main/resources/META-INF/dojo/_base.js deleted file mode 100644 index 5b0abef7..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/_base.js +++ /dev/null @@ -1,27 +0,0 @@ -if(!dojo._hasResource["dojo._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base"] = true; -dojo.provide("dojo._base"); -dojo.require("dojo._base.lang"); -dojo.require("dojo._base.declare"); -dojo.require("dojo._base.connect"); -dojo.require("dojo._base.Deferred"); -dojo.require("dojo._base.json"); -dojo.require("dojo._base.array"); -dojo.require("dojo._base.Color"); -dojo.requireIf(dojo.isBrowser, "dojo._base.window"); -dojo.requireIf(dojo.isBrowser, "dojo._base.event"); -dojo.requireIf(dojo.isBrowser, "dojo._base.html"); -dojo.requireIf(dojo.isBrowser, "dojo._base.NodeList"); -dojo.requireIf(dojo.isBrowser, "dojo._base.query"); -dojo.requireIf(dojo.isBrowser, "dojo._base.xhr"); -dojo.requireIf(dojo.isBrowser, "dojo._base.fx"); - -(function(){ - if(djConfig.require){ - for(var x=0; x>= bits; - t[x] = bits == 4 ? 17 * c : c; - }); - t.a = 1; - return t; // dojo.Color -}; - -dojo.colorFromArray = function(/*Array*/ a, /*dojo.Color?*/ obj){ - // summary: builds a color from 1, 2, 3, or 4 element array - var t = obj || new dojo.Color(); - t._set(Number(a[0]), Number(a[1]), Number(a[2]), Number(a[3])); - if(isNaN(t.a)){ t.a = 1; } - return t.sanitize(); // dojo.Color -}; - -dojo.colorFromString = function(/*String*/ str, /*dojo.Color?*/ obj){ - // summary: - // parses str for a color value. - // description: - // Acceptable input values for str may include arrays of any form - // accepted by dojo.colorFromArray, hex strings such as "#aaaaaa", or - // rgb or rgba strings such as "rgb(133, 200, 16)" or "rgba(10, 10, - // 10, 50)" - // returns: - // a dojo.Color object. If obj is passed, it will be the return value. - var a = dojo.Color.named[str]; - return a && dojo.colorFromArray(a, obj) || dojo.colorFromRgb(str, obj) || dojo.colorFromHex(str, obj); -}; - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_base/Deferred.js b/spring-faces/src/main/resources/META-INF/dojo/_base/Deferred.js deleted file mode 100644 index 188607a3..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/_base/Deferred.js +++ /dev/null @@ -1,418 +0,0 @@ -if(!dojo._hasResource["dojo._base.Deferred"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.Deferred"] = true; -dojo.provide("dojo._base.Deferred"); -dojo.require("dojo._base.lang"); - -dojo.Deferred = function(/*Function?*/ canceller){ - // summary: - // Encapsulates a sequence of callbacks in response to a value that - // may not yet be available. This is modeled after the Deferred class - // from Twisted . - // description: - // JavaScript has no threads, and even if it did, threads are hard. - // Deferreds are a way of abstracting non-blocking events, such as the - // final response to an XMLHttpRequest. Deferreds create a promise to - // return a response a some point in the future and an easy way to - // register your interest in receiving that response. - // - // The most important methods for Deffered users are: - // - // * addCallback(handler) - // * addErrback(handler) - // * callback(result) - // * errback(result) - // - // In general, when a function returns a Deferred, users then "fill - // in" the second half of the contract by registering callbacks and - // error handlers. You may register as many callback and errback - // handlers as you like and they will be executed in the order - // registered when a result is provided. Usually this result is - // provided as the result of an asynchronous operation. The code - // "managing" the Deferred (the code that made the promise to provide - // an answer later) will use the callback() and errback() methods to - // communicate with registered listeners about the result of the - // operation. At this time, all registered result handlers are called - // *with the most recent result value*. - // - // Deferred callback handlers are treated as a chain, and each item in - // the chain is required to return a value that will be fed into - // successive handlers. The most minimal callback may be registered - // like this: - // - // | var d = new dojo.Deferred(); - // | d.addCallback(function(result){ return result; }); - // - // Perhaps the most common mistake when first using Deferreds is to - // forget to return a value (in most cases, the value you were - // passed). - // - // The sequence of callbacks is internally represented as a list of - // 2-tuples containing the callback/errback pair. For example, the - // following call sequence: - // - // | var d = new dojo.Deferred(); - // | d.addCallback(myCallback); - // | d.addErrback(myErrback); - // | d.addBoth(myBoth); - // | d.addCallbacks(myCallback, myErrback); - // - // is translated into a Deferred with the following internal - // representation: - // - // | [ - // | [myCallback, null], - // | [null, myErrback], - // | [myBoth, myBoth], - // | [myCallback, myErrback] - // | ] - // - // The Deferred also keeps track of its current status (fired). Its - // status may be one of three things: - // - // * -1: no value yet (initial condition) - // * 0: success - // * 1: error - // - // A Deferred will be in the error state if one of the following three - // conditions are met: - // - // 1. The result given to callback or errback is "instanceof" Error - // 2. The previous callback or errback raised an exception while - // executing - // 3. The previous callback or errback returned a value - // "instanceof" Error - // - // Otherwise, the Deferred will be in the success state. The state of - // the Deferred determines the next element in the callback sequence - // to run. - // - // When a callback or errback occurs with the example deferred chain, - // something equivalent to the following will happen (imagine - // that exceptions are caught and returned): - // - // | // d.callback(result) or d.errback(result) - // | if(!(result instanceof Error)){ - // | result = myCallback(result); - // | } - // | if(result instanceof Error){ - // | result = myErrback(result); - // | } - // | result = myBoth(result); - // | if(result instanceof Error){ - // | result = myErrback(result); - // | }else{ - // | result = myCallback(result); - // | } - // - // The result is then stored away in case another step is added to the - // callback sequence. Since the Deferred already has a value - // available, any new callbacks added will be called immediately. - // - // There are two other "advanced" details about this implementation - // that are useful: - // - // Callbacks are allowed to return Deferred instances themselves, so - // you can build complicated sequences of events with ease. - // - // The creator of the Deferred may specify a canceller. The canceller - // is a function that will be called if Deferred.cancel is called - // before the Deferred fires. You can use this to implement clean - // aborting of an XMLHttpRequest, etc. Note that cancel will fire the - // deferred with a CancelledError (unless your canceller returns - // another kind of error), so the errbacks should be prepared to - // handle that error for cancellable Deferreds. - // example: - // | var deferred = new dojo.Deferred(); - // | setTimeout(function(){ deferred.callback({success: true}); }, 1000); - // | return deferred; - // example: - // Deferred objects are often used when making code asynchronous. It - // may be easiest to write functions in a synchronous manner and then - // split code using a deferred to trigger a response to a long-lived - // operation. For example, instead of register a callback function to - // denote when a rendering operation completes, the function can - // simply return a deferred: - // - // | // callback style: - // | function renderLotsOfData(data, callback){ - // | var success = false - // | try{ - // | for(var x in data){ - // | renderDataitem(data[x]); - // | } - // | success = true; - // | }catch(e){ } - // | if(callback){ - // | callback(success); - // | } - // | } - // - // | // using callback style - // | renderLotsOfData(someDataObj, function(success){ - // | // handles success or failure - // | if(!success){ - // | promptUserToRecover(); - // | } - // | }); - // | // NOTE: no way to add another callback here!! - // example: - // Using a Deferred doesn't simplify the sending code any, but it - // provides a standard interface for callers and senders alike, - // providing both with a simple way to service multiple callbacks for - // an operation and freeing both sides from worrying about details - // such as "did this get called already?". With Deferreds, new - // callbacks can be added at any time. - // - // | // Deferred style: - // | function renderLotsOfData(data){ - // | var d = new dojo.Deferred(); - // | try{ - // | for(var x in data){ - // | renderDataitem(data[x]); - // | } - // | d.callback(true); - // | }catch(e){ - // | d.errback(new Error("rendering failed")); - // | } - // | return d; - // | } - // - // | // using Deferred style - // | renderLotsOfData(someDataObj).addErrback(function(){ - // | promptUserToRecover(); - // | }); - // | // NOTE: addErrback and addCallback both return the Deferred - // | // again, so we could chain adding callbacks or save the - // | // deferred for later should we need to be notified again. - // example: - // In this example, renderLotsOfData is syncrhonous and so both - // versions are pretty artificial. Putting the data display on a - // timeout helps show why Deferreds rock: - // - // | // Deferred style and async func - // | function renderLotsOfData(data){ - // | var d = new dojo.Deferred(); - // | setTimeout(function(){ - // | try{ - // | for(var x in data){ - // | renderDataitem(data[x]); - // | } - // | d.callback(true); - // | }catch(e){ - // | d.errback(new Error("rendering failed")); - // | } - // | }, 100); - // | return d; - // | } - // - // | // using Deferred style - // | renderLotsOfData(someDataObj).addErrback(function(){ - // | promptUserToRecover(); - // | }); - // - // Note that the caller doesn't have to change his code at all to - // handle the asynchronous case. - - this.chain = []; - this.id = this._nextId(); - this.fired = -1; - this.paused = 0; - this.results = [null, null]; - this.canceller = canceller; - this.silentlyCancelled = false; -}; - -dojo.extend(dojo.Deferred, { - /* - makeCalled: function(){ - // summary: - // returns a new, empty deferred, which is already in the called - // state. Calling callback() or errback() on this deferred will - // yeild an error and adding new handlers to it will result in - // them being called immediately. - var deferred = new dojo.Deferred(); - deferred.callback(); - return deferred; - }, - - toString: function(){ - var state; - if(this.fired == -1){ - state = 'unfired'; - }else{ - state = this.fired ? 'success' : 'error'; - } - return 'Deferred(' + this.id + ', ' + state + ')'; - }, - */ - - _nextId: (function(){ - var n = 1; - return function(){ return n++; }; - })(), - - cancel: function(){ - // summary: - // Cancels a Deferred that has not yet received a value, or is - // waiting on another Deferred as its value. - // description: - // If a canceller is defined, the canceller is called. If the - // canceller did not return an error, or there was no canceller, - // then the errback chain is started. - var err; - if(this.fired == -1){ - if(this.canceller){ - err = this.canceller(this); - }else{ - this.silentlyCancelled = true; - } - if(this.fired == -1){ - if(!(err instanceof Error)){ - var res = err; - err = new Error("Deferred Cancelled"); - err.dojoType = "cancel"; - err.cancelResult = res; - } - this.errback(err); - } - }else if( (this.fired == 0) && - (this.results[0] instanceof dojo.Deferred) - ){ - this.results[0].cancel(); - } - }, - - - _resback: function(res){ - // summary: - // The private primitive that means either callback or errback - this.fired = ((res instanceof Error) ? 1 : 0); - this.results[this.fired] = res; - this._fire(); - }, - - _check: function(){ - if(this.fired != -1){ - if(!this.silentlyCancelled){ - throw new Error("already called!"); - } - this.silentlyCancelled = false; - return; - } - }, - - callback: function(res){ - // summary: Begin the callback sequence with a non-error value. - - /* - callback or errback should only be called once on a given - Deferred. - */ - this._check(); - this._resback(res); - }, - - errback: function(/*Error*/res){ - // summary: - // Begin the callback sequence with an error result. - this._check(); - if(!(res instanceof Error)){ - res = new Error(res); - } - this._resback(res); - }, - - addBoth: function(/*Function||Object*/cb, /*Optional, String*/cbfn){ - // summary: - // Add the same function as both a callback and an errback as the - // next element on the callback sequence. This is useful for code - // that you want to guarantee to run, e.g. a finalizer. - var enclosed = dojo.hitch(cb, cbfn); - if(arguments.length > 2){ - enclosed = dojo.partial(enclosed, arguments, 2); - } - return this.addCallbacks(enclosed, enclosed); - }, - - addCallback: function(cb, cbfn){ - // summary: - // Add a single callback to the end of the callback sequence. - var enclosed = dojo.hitch(cb, cbfn); - if(arguments.length > 2){ - enclosed = dojo.partial(enclosed, arguments, 2); - } - return this.addCallbacks(enclosed, null); - }, - - addErrback: function(cb, cbfn){ - // summary: - // Add a single callback to the end of the callback sequence. - var enclosed = dojo.hitch(cb, cbfn); - if(arguments.length > 2){ - enclosed = dojo.partial(enclosed, arguments, 2); - } - return this.addCallbacks(null, enclosed); - }, - - addCallbacks: function(cb, eb){ - // summary: - // Add separate callback and errback to the end of the callback - // sequence. - this.chain.push([cb, eb]) - if(this.fired >= 0){ - this._fire(); - } - return this; - }, - - _fire: function(){ - // summary: - // Used internally to exhaust the callback sequence when a result - // is available. - var chain = this.chain; - var fired = this.fired; - var res = this.results[fired]; - var self = this; - var cb = null; - while( - (chain.length > 0) && - (this.paused == 0) - ){ - // Array - var f = chain.shift()[fired]; - if(!f){ continue; } - try{ - res = f(res); - fired = ((res instanceof Error) ? 1 : 0); - if(res instanceof dojo.Deferred){ - cb = function(res){ - self._resback(res); - // inlined from _pause() - self.paused--; - if( - (self.paused == 0) && - (self.fired >= 0) - ){ - self._fire(); - } - } - // inlined from _unpause - this.paused++; - } - }catch(err){ - console.debug(err); - fired = 1; - res = err; - } - } - this.fired = fired; - this.results[fired] = res; - if((cb)&&(this.paused)){ - // this is for "tail recursion" in case the dependent - // deferred is already fired - res.addBoth(cb); - } - } -}); - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_base/NodeList.js b/spring-faces/src/main/resources/META-INF/dojo/_base/NodeList.js deleted file mode 100644 index 83b098b5..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/_base/NodeList.js +++ /dev/null @@ -1,467 +0,0 @@ -if(!dojo._hasResource["dojo._base.NodeList"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.NodeList"] = true; -dojo.provide("dojo._base.NodeList"); -dojo.require("dojo._base.lang"); -dojo.require("dojo._base.array"); - -(function(){ - - var d = dojo; - - var tnl = function(arr){ - arr.constructor = dojo.NodeList; - dojo._mixin(arr, dojo.NodeList.prototype); - return arr; - } - - dojo.NodeList = function(){ - // summary: - // dojo.NodeList is as subclass of Array which adds syntactic - // sugar for chaining, common iteration operations, animation, - // and node manipulation. NodeLists are most often returned as - // the result of dojo.query() calls. - // example: - // create a node list from a node - // | new dojo.NodeList(dojo.byId("foo")); - - return tnl(Array.apply(null, arguments)); - } - - dojo.NodeList._wrap = tnl; - - dojo.extend(dojo.NodeList, { - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array#Methods - - // FIXME: handle return values for #3244 - // http://trac.dojotoolkit.org/ticket/3244 - - // FIXME: - // need to wrap or implement: - // join (perhaps w/ innerHTML/outerHTML overload for toString() of items?) - // reduce - // reduceRight - - slice: function(/*===== begin, end =====*/){ - // summary: - // Returns a new NodeList, maintaining this one in place - // description: - // This method behaves exactly like the Array.slice method - // with the caveat that it returns a dojo.NodeList and not a - // raw Array. For more details, see: - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:slice - // begin: Integer - // Can be a positive or negative integer, with positive - // integers noting the offset to begin at, and negative - // integers denoting an offset from the end (i.e., to the left - // of the end) - // end: Integer? - // Optional parameter to describe what position relative to - // the NodeList's zero index to end the slice at. Like begin, - // can be positive or negative. - var a = dojo._toArray(arguments); - return tnl(a.slice.apply(this, a)); - }, - - splice: function(/*===== index, howmany, item =====*/){ - // summary: - // Returns a new NodeList, manipulating this NodeList based on - // the arguments passed, potentially splicing in new elements - // at an offset, optionally deleting elements - // description: - // This method behaves exactly like the Array.splice method - // with the caveat that it returns a dojo.NodeList and not a - // raw Array. For more details, see: - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:splice - // index: Integer - // begin can be a positive or negative integer, with positive - // integers noting the offset to begin at, and negative - // integers denoting an offset from the end (i.e., to the left - // of the end) - // howmany: Integer? - // Optional parameter to describe what position relative to - // the NodeList's zero index to end the slice at. Like begin, - // can be positive or negative. - // item: Object...? - // Any number of optional parameters may be passed in to be - // spliced into the NodeList - // returns: - // dojo.NodeList - var a = dojo._toArray(arguments); - return tnl(a.splice.apply(this, a)); - }, - - concat: function(/*===== item =====*/){ - // summary: - // Returns a new NodeList comprised of items in this NodeList - // as well as items passed in as parameters - // description: - // This method behaves exactly like the Array.concat method - // with the caveat that it returns a dojo.NodeList and not a - // raw Array. For more details, see: - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:concat - // item: Object...? - // Any number of optional parameters may be passed in to be - // spliced into the NodeList - // returns: - // dojo.NodeList - var a = dojo._toArray(arguments, 0, [this]); - return tnl(a.concat.apply([], a)); - }, - - indexOf: function(/*Object*/ value, /*Integer?*/ fromIndex){ - // summary: - // see dojo.indexOf(). The primary difference is that the acted-on - // array is implicitly this NodeList - // value: - // The value to search for. - // fromIndex: - // The loction to start searching from. Optional. Defaults to 0. - // description: - // For more details on the behavior of indexOf, see: - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:indexOf - // returns: - // Positive Integer or 0 for a match, -1 of not found. - return d.indexOf(this, value, fromIndex); // Integer - }, - - lastIndexOf: function(/*===== value, fromIndex =====*/){ - // summary: - // see dojo.lastIndexOf(). The primary difference is that the - // acted-on array is implicitly this NodeList - // description: - // For more details on the behavior of lastIndexOf, see: - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:lastIndexOf - // value: Object - // The value to search for. - // fromIndex: Integer? - // The loction to start searching from. Optional. Defaults to 0. - // returns: - // Positive Integer or 0 for a match, -1 of not found. - return d.lastIndexOf.apply(d, d._toArray(arguments, 0, [this])); // Integer - }, - - every: function(/*Function*/callback, /*Object?*/thisObject){ - // summary: - // see dojo.every() and: - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:every - // Takes the same structure of arguments and returns as - // dojo.every() with the caveat that the passed array is - // implicitly this NodeList - return d.every(this, callback, thisObject); // Boolean - }, - - some: function(/*Function*/callback, /*Object?*/thisObject){ - // summary: - // see dojo.some() and: - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:some - // Takes the same structure of arguments and returns as - // dojo.some() with the caveat that the passed array is - // implicitly this NodeList - return d.some(this, callback, thisObject); // Boolean - }, - - map: function(/*Function*/ func, /*Function?*/ obj){ - // summary: - // see dojo.map(). The primary difference is that the acted-on - // array is implicitly this NodeList and the return is a - // dojo.NodeList (a subclass of Array) - - return d.map(this, func, obj, d.NodeList); // dojo.NodeList - }, - - forEach: function(callback, thisObj){ - // summary: - // see dojo.forEach(). The primary difference is that the acted-on - // array is implicitly this NodeList - - d.forEach(this, callback, thisObj); - return this; // dojo.NodeList non-standard return to allow easier chaining - }, - - // custom methods - - coords: function(){ - // summary: - // Returns the box objects all elements in a node list as - // an Array (*not* a NodeList) - - return d.map(this, d.coords); - }, - - style: function(/*===== property, value =====*/){ - // summary: - // gets or sets the CSS property for every element in the NodeList - // property: String - // the CSS property to get/set, in JavaScript notation - // ("lineHieght" instead of "line-height") - // value: String? - // optional. The value to set the property to - // return: - // if no value is passed, the result is an array of strings. - // If a value is passed, the return is this NodeList - var aa = d._toArray(arguments, 0, [null]); - var s = this.map(function(i){ - aa[0] = i; - return d.style.apply(d, aa); - }); - return (arguments.length > 1) ? this : s; // String||dojo.NodeList - }, - - styles: function(/*===== property, value =====*/){ - // summary: - // Deprecated. Use NodeList.style instead. Will be removed in - // Dojo 1.1. Gets or sets the CSS property for every element - // in the NodeList - // property: String - // the CSS property to get/set, in JavaScript notation - // ("lineHieght" instead of "line-height") - // value: String? - // optional. The value to set the property to - // return: - // if no value is passed, the result is an array of strings. - // If a value is passed, the return is this NodeList - d.deprecated("NodeList.styles", "use NodeList.style instead", "1.1"); - return this.style.apply(this, arguments); - }, - - addClass: function(/*String*/ className){ - // summary: - // adds the specified class to every node in the list - // - this.forEach(function(i){ d.addClass(i, className); }); - return this; - }, - - removeClass: function(/*String*/ className){ - this.forEach(function(i){ d.removeClass(i, className); }); - return this; - }, - - // FIXME: toggleClass()? connectPublisher()? connectRunOnce()? - - place: function(/*String||Node*/ queryOrNode, /*String*/ position){ - // summary: - // places elements of this node list relative to the first element matched - // by queryOrNode. Returns the original NodeList. - // queryOrNode: - // may be a string representing any valid CSS3 selector or a DOM node. - // In the selector case, only the first matching element will be used - // for relative positioning. - // position: - // can be one of: - // "last"||"end" (default) - // "first||"start" - // "before" - // "after" - // or an offset in the childNodes property - var item = d.query(queryOrNode)[0]; - position = position||"last"; - - for(var x=0; x= 0) ? tv : 0; - d.isKhtml = (dav.indexOf("Konqueror") >= 0)||(dav.indexOf("Safari") >= 0) ? tv : 0; - if(dav.indexOf("Safari") >= 0){ - var vi = dav.indexOf("Version/"); - d.isSafari = (vi) ? parseFloat(dav.substring(vi+8)) : 2; - } - var geckoPos = dua.indexOf("Gecko"); - d.isMozilla = d.isMoz = ((geckoPos >= 0)&&(!d.isKhtml)) ? tv : 0; - d.isFF = 0; - d.isIE = 0; - try{ - if(d.isMoz){ - d.isFF = parseFloat(dua.split("Firefox/")[1].split(" ")[0]); - } - if((document.all)&&(!d.isOpera)){ - d.isIE = parseFloat(dav.split("MSIE ")[1].split(";")[0]); - } - }catch(e){} - - //Workaround to get local file loads of dojo to work on IE 7 - //by forcing to not use native xhr. - if(dojo.isIE && (window.location.protocol === "file:")){ - djConfig.ieForceActiveXXhr=true; - } - - var cm = document["compatMode"]; - d.isQuirks = (cm == "BackCompat")||(cm == "QuirksMode")||(d.isIE < 6); - - // TODO: is the HTML LANG attribute relevant? - d.locale = djConfig.locale || (d.isIE ? n.userLanguage : n.language).toLowerCase(); - - d._println = console.debug; - - // These are in order of decreasing likelihood; this will change in time. - d._XMLHTTP_PROGIDS = ['Msxml2.XMLHTTP', 'Microsoft.XMLHTTP', 'Msxml2.XMLHTTP.4.0']; - - d._xhrObj= function(){ - // summary: - // does the work of portably generating a new XMLHTTPRequest - // object. - var http = null; - var last_e = null; - if(!dojo.isIE || !djConfig.ieForceActiveXXhr){ - try{ http = new XMLHttpRequest(); }catch(e){} - } - if(!http){ - for(var i=0; i<3; ++i){ - var progid = dojo._XMLHTTP_PROGIDS[i]; - try{ - http = new ActiveXObject(progid); - }catch(e){ - last_e = e; - } - - if(http){ - dojo._XMLHTTP_PROGIDS = [progid]; // so faster next time - break; - } - } - } - - if(!http){ - throw new Error("XMLHTTP not available: "+last_e); - } - - return http; // XMLHTTPRequest instance - } - - d._isDocumentOk = function(http){ - var stat = http.status || 0; - return ( (stat>=200)&&(stat<300))|| // Boolean - (stat==304)|| // allow any 2XX response code - (stat==1223)|| // get it out of the cache - (!stat && (location.protocol=="file:" || location.protocol=="chrome:") ); // Internet Explorer mangled the status code - } - - //See if base tag is in use. - //This is to fix http://trac.dojotoolkit.org/ticket/3973, - //but really, we need to find out how to get rid of the dojo._Url reference - //below and still have DOH work with the dojo.i18n test following some other - //test that uses the test frame to load a document (trac #2757). - //Opera still has problems, but perhaps a larger issue of base tag support - //with XHR requests (hasBase is true, but the request is still made to document - //path, not base path). - var owloc = window.location+""; - var base = document.getElementsByTagName("base"); - var hasBase = (base && base.length > 0); - - d._getText = function(/*URI*/ uri, /*Boolean*/ fail_ok){ - // summary: Read the contents of the specified uri and return those contents. - // uri: - // A relative or absolute uri. If absolute, it still must be in - // the same "domain" as we are. - // fail_ok: - // Default false. If fail_ok and loading fails, return null - // instead of throwing. - // returns: The response text. null is returned when there is a - // failure and failure is okay (an exception otherwise) - - // alert("_getText: " + uri); - - // NOTE: must be declared before scope switches ie. this._xhrObj() - var http = this._xhrObj(); - - if(!hasBase && dojo._Url){ - uri = (new dojo._Url(owloc, uri)).toString(); - } - /* - console.debug("_getText:", uri); - console.debug(window.location+""); - alert(uri); - */ - - http.open('GET', uri, false); - try{ - http.send(null); - // alert(http); - if(!d._isDocumentOk(http)){ - var err = Error("Unable to load "+uri+" status:"+ http.status); - err.status = http.status; - err.responseText = http.responseText; - throw err; - } - }catch(e){ - if(fail_ok){ return null; } // null - // rethrow the exception - throw e; - } - return http.responseText; // String - } - })(); - - dojo._initFired = false; - // BEGIN DOMContentLoaded, from Dean Edwards (http://dean.edwards.name/weblog/2006/06/again/) - dojo._loadInit = function(e){ - dojo._initFired = true; - // allow multiple calls, only first one will take effect - // A bug in khtml calls events callbacks for document for event which isnt supported - // for example a created contextmenu event calls DOMContentLoaded, workaround - var type = (e && e.type) ? e.type.toLowerCase() : "load"; - if(arguments.callee.initialized || (type!="domcontentloaded" && type!="load")){ return; } - arguments.callee.initialized = true; - if(typeof dojo["_khtmlTimer"] != 'undefined'){ - clearInterval(dojo._khtmlTimer); - delete dojo._khtmlTimer; - } - - if(dojo._inFlightCount == 0){ - dojo._modulesLoaded(); - } - } - - // START DOMContentLoaded - // Mozilla and Opera 9 expose the event we could use - if(document.addEventListener){ - // NOTE: - // due to a threading issue in Firefox 2.0, we can't enable - // DOMContentLoaded on that platform. For more information, see: - // http://trac.dojotoolkit.org/ticket/1704 - if(dojo.isOpera|| (dojo.isMoz && (djConfig["enableMozDomContentLoaded"] === true))){ - document.addEventListener("DOMContentLoaded", dojo._loadInit, null); - } - - // mainly for Opera 8.5, won't be fired if DOMContentLoaded fired already. - // also used for Mozilla because of trac #1640 - window.addEventListener("load", dojo._loadInit, null); - } - - if(/(WebKit|khtml)/i.test(navigator.userAgent)){ // sniff - dojo._khtmlTimer = setInterval(function(){ - if(/loaded|complete/.test(document.readyState)){ - dojo._loadInit(); // call the onload handler - } - }, 10); - } - // END DOMContentLoaded - - (function(){ - - var _w = window; - var _handleNodeEvent = function(/*String*/evtName, /*Function*/fp){ - // summary: - // non-destructively adds the specified function to the node's - // evtName handler. - // evtName: should be in the form "onclick" for "onclick" handlers. - // Make sure you pass in the "on" part. - var oldHandler = _w[evtName] || function(){}; - _w[evtName] = function(){ - fp.apply(_w, arguments); - oldHandler.apply(_w, arguments); - } - } - - if(dojo.isIE){ - // for Internet Explorer. readyState will not be achieved on init - // call, but dojo doesn't need it however, we'll include it - // because we don't know if there are other functions added that - // might. Note that this has changed because the build process - // strips all comments -- including conditional ones. - - document.write('' - + '' - ); - - // IE WebControl hosted in an application can fire "beforeunload" and "unload" - // events when control visibility changes, causing Dojo to unload too soon. The - // following code fixes the problem - // Reference: http://support.microsoft.com/default.aspx?scid=kb;en-us;199155 - var _unloading = true; - _handleNodeEvent("onbeforeunload", function(){ - _w.setTimeout(function(){ _unloading = false; }, 0); - }); - _handleNodeEvent("onunload", function(){ - if(_unloading){ dojo.unloaded(); } - }); - - try{ - document.namespaces.add("v","urn:schemas-microsoft-com:vml"); - document.createStyleSheet().addRule("v\\:*", "behavior:url(#default#VML)"); - }catch(e){} - }else{ - // FIXME: dojo.unloaded requires dojo scope, so using anon function wrapper. - _handleNodeEvent("onbeforeunload", function() { dojo.unloaded(); }); - } - - })(); - - /* - OpenAjax.subscribe("OpenAjax", "onload", function(){ - if(dojo._inFlightCount == 0){ - dojo._modulesLoaded(); - } - }); - - OpenAjax.subscribe("OpenAjax", "onunload", function(){ - dojo.unloaded(); - }); - */ -} //if (typeof window != 'undefined') - -//Load debug code if necessary. -// dojo.requireIf((djConfig["isDebug"] || djConfig["debugAtAllCosts"]), "dojo.debug"); - -//window.widget is for Dashboard detection -//The full conditionals are spelled out to avoid issues during builds. -//Builds may be looking for require/requireIf statements and processing them. -// dojo.requireIf(djConfig["debugAtAllCosts"] && !window.widget && !djConfig["useXDomain"], "dojo.browser_debug"); -// dojo.requireIf(djConfig["debugAtAllCosts"] && !window.widget && djConfig["useXDomain"], "dojo.browser_debug_xd"); - -if(djConfig.isDebug){ - dojo.require("dojo._firebug.firebug"); -} - -if(djConfig.debugAtAllCosts){ - djConfig.useXDomain = true; - dojo.require("dojo._base._loader.loader_xd"); - dojo.require("dojo._base._loader.loader_debug"); - dojo.require("dojo.i18n"); -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_base/_loader/hostenv_rhino.js b/spring-faces/src/main/resources/META-INF/dojo/_base/_loader/hostenv_rhino.js deleted file mode 100644 index 5da19c83..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/_base/_loader/hostenv_rhino.js +++ /dev/null @@ -1,235 +0,0 @@ -/* -* Rhino host environment -*/ - -if(djConfig["baseUrl"]){ - dojo.baseUrl = djConfig["baseUrl"]; -}else{ - dojo.baseUrl = "./"; -} - -dojo.locale = dojo.locale || String(java.util.Locale.getDefault().toString().replace('_','-').toLowerCase()); -dojo._name = 'rhino'; -dojo.isRhino = true; - -if(typeof print == "function"){ - console.debug = print; -} - -if(typeof dojo["byId"] == "undefined"){ - dojo.byId = function(id, doc){ - if(id && (typeof id == "string" || id instanceof String)){ - if(!doc){ doc = document; } - return doc.getElementById(id); - } - return id; // assume it's a node - } -} - -// see comments in spidermonkey loadUri -dojo._loadUri = function(uri, cb){ - try{ - var local = (new java.io.File(uri)).exists(); - if(!local){ - try{ - // try it as a file first, URL second - var stream = (new java.net.URL(uri)).openStream(); - // close the stream so we don't leak resources - stream.close(); - }catch(e){ - // no debug output; this failure just means the uri was not found. - return false; - } - } - //FIXME: Use Rhino 1.6 native readFile/readUrl if available? - if(cb){ - var contents = (local ? readText : readUri)(uri, "UTF-8"); - cb(eval('('+contents+')')); - }else{ - load(uri); - } - return true; - }catch(e){ - console.debug("rhino load('" + uri + "') failed. Exception: " + e); - return false; - } -} - -dojo.exit = function(exitcode){ - quit(exitcode); -} - -// Hack to determine current script... -// -// These initial attempts failed: -// 1. get an EcmaError and look at e.getSourceName(): try {eval ("static in return")} catch(e) { ... -// Won't work because NativeGlobal.java only does a put of "name" and "message", not a wrapped reflecting object. -// Even if the EcmaError object had the sourceName set. -// -// 2. var e = Packages.org.mozilla.javascript.Context.getCurrentContext().reportError(''); -// Won't work because it goes directly to the errorReporter, not the return value. -// We want context.interpreterSourceFile and context.interpreterLine, which are used in static Context.getSourcePositionFromStack -// (set by Interpreter.java at interpretation time, if in interpreter mode). -// -// 3. var e = Packages.org.mozilla.javascript.Context.getCurrentContext().reportRuntimeError(''); -// This returns an object, but e.message still does not have source info. -// In compiler mode, perhaps not set; in interpreter mode, perhaps not used by errorReporter? -// -// What we found works is to do basically the same hack as is done in getSourcePositionFromStack, -// making a new java.lang.Exception() and then calling printStackTrace on a string stream. -// We have to parse the string for the .js files (different from the java files). -// This only works however in compiled mode (-opt 0 or higher). -// In interpreter mode, entire stack is java. -// When compiled, printStackTrace is like: -// java.lang.Exception -// at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) -// at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) -// at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) -// at java.lang.reflect.Constructor.newInstance(Constructor.java:274) -// at org.mozilla.javascript.NativeJavaClass.constructSpecific(NativeJavaClass.java:228) -// at org.mozilla.javascript.NativeJavaClass.construct(NativeJavaClass.java:185) -// at org.mozilla.javascript.ScriptRuntime.newObject(ScriptRuntime.java:1269) -// at org.mozilla.javascript.gen.c2.call(/Users/mda/Sites/burstproject/testrhino.js:27) -// ... -// at org.mozilla.javascript.tools.shell.Main.main(Main.java:76) -// -// Note may get different answers based on: -// Context.setOptimizationLevel(-1) -// Context.setGeneratingDebug(true) -// Context.setGeneratingSource(true) -// -// Some somewhat helpful posts: -// http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&selm=9v9n0g%246gr1%40ripley.netscape.com -// http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&selm=3BAA2DC4.6010702%40atg.com -// -// Note that Rhino1.5R5 added source name information in some exceptions. -// But this seems not to help in command-line Rhino, because Context.java has an error reporter -// so no EvaluationException is thrown. - -// do it by using java java.lang.Exception -dojo._rhinoCurrentScriptViaJava = function(depth){ - var optLevel = Packages.org.mozilla.javascript.Context.getCurrentContext().getOptimizationLevel(); - var caw = new java.io.CharArrayWriter(); - var pw = new java.io.PrintWriter(caw); - var exc = new java.lang.Exception(); - var s = caw.toString(); - // we have to exclude the ones with or without line numbers because they put double entries in: - // at org.mozilla.javascript.gen.c3._c4(/Users/mda/Sites/burstproject/burst/Runtime.js:56) - // at org.mozilla.javascript.gen.c3.call(/Users/mda/Sites/burstproject/burst/Runtime.js) - var matches = s.match(/[^\(]*\.js\)/gi); - if(!matches){ - throw Error("cannot parse printStackTrace output: " + s); - } - - // matches[0] is entire string, matches[1] is this function, matches[2] is caller, ... - var fname = ((typeof depth != 'undefined')&&(depth)) ? matches[depth + 1] : matches[matches.length - 1]; - var fname = matches[3]; - if(!fname){ fname = matches[1]; } - // print("got fname '" + fname + "' from stack string '" + s + "'"); - if (!fname){ throw Error("could not find js file in printStackTrace output: " + s); } - //print("Rhino getCurrentScriptURI returning '" + fname + "' from: " + s); - return fname; -} - -// reading a file from disk in Java is a humiliating experience by any measure. -// Lets avoid that and just get the freaking text -function readText(path, encoding){ - encoding = encoding || "utf-8"; - // NOTE: we intentionally avoid handling exceptions, since the caller will - // want to know - var jf = new java.io.File(path); - var is = new java.io.FileInputStream(jf); - return dj_readInputStream(is, encoding); -} - -function readUri(uri, encoding){ - var conn = (new java.net.URL(uri)).openConnection(); - encoding = encoding || conn.getContentEncoding() || "utf-8"; - var is = conn.getInputStream(); - return dj_readInputStream(is, encoding); -} - -function dj_readInputStream(is, encoding){ - var input = new java.io.BufferedReader(new java.io.InputStreamReader(is, encoding)); - try { - var sb = new java.lang.StringBuffer(); - var line = ""; - while((line = input.readLine()) !== null){ - sb.append(line); - sb.append(java.lang.System.getProperty("line.separator")); - } - return sb.toString(); - } finally { - input.close(); - } -} - -// call this now because later we may not be on the top of the stack -if(!djConfig.libraryScriptUri.length){ - try{ - djConfig.libraryScriptUri = dojo._rhinoCurrentScriptViaJava(1); - }catch(e){ - // otherwise just fake it - if(djConfig["isDebug"]){ - print("\n"); - print("we have no idea where Dojo is located."); - print("Please try loading rhino in a non-interpreted mode or set a"); - print("\n\tdjConfig.libraryScriptUri\n"); - print("Setting the dojo path to './'"); - print("This is probably wrong!"); - print("\n"); - print("Dojo will try to load anyway"); - } - djConfig.libraryScriptUri = "./"; - } -} - -// summary: -// return the document object associated with the dojo.global -dojo.doc = typeof(document) != "undefined" ? document : null; - -dojo.body = function(){ - return document.body; -} - -dojo._timeouts = []; - -function clearTimeout(idx){ - if(!dojo._timeouts[idx]){ return; } - dojo._timeouts[idx].stop(); -} - -function setTimeout(func, delay){ - // summary: provides timed callbacks using Java threads - - var def={ - sleepTime:delay, - hasSlept:false, - - run:function(){ - if(!this.hasSlept){ - this.hasSlept=true; - java.lang.Thread.currentThread().sleep(this.sleepTime); - } - try{ - func(); - }catch(e){ - console.debug("Error running setTimeout thread:" + e); - } - } - }; - - var runnable = new java.lang.Runnable(def); - var thread = new java.lang.Thread(runnable); - thread.start(); - return dojo._timeouts.push(thread)-1; -} - -//Register any module paths set up in djConfig. Need to do this -//in the hostenvs since hostenv_browser can read djConfig from a -//script tag's attribute. -if(djConfig["modulePaths"]){ - for(var param in djConfig["modulePaths"]){ - dojo.registerModulePath(param, djConfig["modulePaths"][param]); - } -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_base/_loader/hostenv_spidermonkey.js b/spring-faces/src/main/resources/META-INF/dojo/_base/_loader/hostenv_spidermonkey.js deleted file mode 100644 index 69b389ad..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/_base/_loader/hostenv_spidermonkey.js +++ /dev/null @@ -1,73 +0,0 @@ -/* - * SpiderMonkey host environment - */ - -if(djConfig["baseUrl"]){ - dojo.baseUrl = djConfig["baseUrl"]; -}else{ - dojo.baseUrl = "./"; -} - -dojo._name = 'spidermonkey'; -dojo.isSpidermonkey = true; -dojo.exit = function(exitcode){ - quit(exitcode); -} - -if(typeof print == "function"){ - console.debug = print; -} - -if(typeof line2pc == 'undefined'){ - throw new Error("attempt to use SpiderMonkey host environment when no 'line2pc' global"); -} - -dojo._spidermonkeyCurrentFile = function(depth){ - // - // This is a hack that determines the current script file by parsing a - // generated stack trace (relying on the non-standard "stack" member variable - // of the SpiderMonkey Error object). - // - // If param depth is passed in, it'll return the script file which is that far down - // the stack, but that does require that you know how deep your stack is when you are - // calling. - // - var s = ''; - try{ - throw Error("whatever"); - }catch(e){ - s = e.stack; - } - // lines are like: bu_getCurrentScriptURI_spidermonkey("ScriptLoader.js")@burst/Runtime.js:101 - var matches = s.match(/[^@]*\.js/gi); - if(!matches){ - throw Error("could not parse stack string: '" + s + "'"); - } - var fname = (typeof depth != 'undefined' && depth) ? matches[depth + 1] : matches[matches.length - 1]; - if(!fname){ - throw Error("could not find file name in stack string '" + s + "'"); - } - //print("SpiderMonkeyRuntime got fname '" + fname + "' from stack string '" + s + "'"); - return fname; -} - -// print(dojo._spidermonkeyCurrentFile(0)); - -dojo._loadUri = function(uri){ - // spidermonkey load() evaluates the contents into the global scope (which - // is what we want). - // TODO: sigh, load() does not return a useful value. - // Perhaps it is returning the value of the last thing evaluated? - var ok = load(uri); - // console.debug("spidermonkey load(", uri, ") returned ", ok); - return 1; -} - -//Register any module paths set up in djConfig. Need to do this -//in the hostenvs since hostenv_browser can read djConfig from a -//script tag's attribute. -if(djConfig["modulePaths"]){ - for(var param in djConfig["modulePaths"]){ - dojo.registerModulePath(param, djConfig["modulePaths"][param]); - } -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_base/_loader/loader.js b/spring-faces/src/main/resources/META-INF/dojo/_base/_loader/loader.js deleted file mode 100644 index 0c2e3663..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/_base/_loader/loader.js +++ /dev/null @@ -1,618 +0,0 @@ -if(!dojo._hasResource["dojo.foo"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo.foo"] = true; -/* - * loader.js - A bootstrap module. Runs before the hostenv_*.js file. Contains - * all of the package loading methods. - */ - -(function(){ - var d = dojo; - - dojo.mixin(dojo, { - _loadedModules: {}, - _inFlightCount: 0, - _hasResource: {}, - - // FIXME: it should be possible to pull module prefixes in from djConfig - _modulePrefixes: { - dojo: {name: "dojo", value: "."}, - doh: {name: "doh", value: "../util/doh"}, - tests: {name: "tests", value: "tests"} - }, - - _moduleHasPrefix: function(/*String*/module){ - // summary: checks to see if module has been established - var mp = this._modulePrefixes; - return !!(mp[module] && mp[module].value); // Boolean - }, - - _getModulePrefix: function(/*String*/module){ - // summary: gets the prefix associated with module - var mp = this._modulePrefixes; - if(this._moduleHasPrefix(module)){ - return mp[module].value; // String - } - return module; // String - }, - - _loadedUrls: [], - - //WARNING: - // This variable is referenced by packages outside of bootstrap: - // FloatingPane.js and undo/browser.js - _postLoad: false, - - //Egad! Lots of test files push on this directly instead of using dojo.addOnLoad. - _loaders: [], - _unloaders: [], - _loadNotifying: false - }); - - - //>>excludeStart("xdomainExclude", fileName.indexOf("dojo.xd.js") != -1 && kwArgs.loader == "xdomain"); - dojo._loadPath = function(/*String*/relpath, /*String?*/module, /*Function?*/cb){ - // summary: - // Load a Javascript module given a relative path - // - // description: - // Loads and interprets the script located at relpath, which is - // relative to the script root directory. If the script is found but - // its interpretation causes a runtime exception, that exception is - // not caught by us, so the caller will see it. We return a true - // value if and only if the script is found. - // - // relpath: - // A relative path to a script (no leading '/', and typically ending - // in '.js'). - // module: - // A module whose existance to check for after loading a path. Can be - // used to determine success or failure of the load. - // cb: - // a callback function to pass the result of evaluating the script - - var uri = (((relpath.charAt(0) == '/' || relpath.match(/^\w+:/))) ? "" : this.baseUrl) + relpath; - if(djConfig.cacheBust && d.isBrowser){ - uri += "?" + String(djConfig.cacheBust).replace(/\W+/g,""); - } - try{ - return !module ? this._loadUri(uri, cb) : this._loadUriAndCheck(uri, module, cb); // Boolean - }catch(e){ - console.debug(e); - return false; // Boolean - } - } - - dojo._loadUri = function(/*String (URL)*/uri, /*Function?*/cb){ - // summary: - // Loads JavaScript from a URI - // description: - // Reads the contents of the URI, and evaluates the contents. This is - // used to load modules as well as resource bundles. Returns true if - // it succeeded. Returns false if the URI reading failed. Throws if - // the evaluation throws. - // uri: a uri which points at the script to be loaded - // cb: - // a callback function to process the result of evaluating the script - // as an expression, typically used by the resource bundle loader to - // load JSON-style resources - - if(this._loadedUrls[uri]){ - return true; // Boolean - } - var contents = this._getText(uri, true); - if(!contents){ return false; } // Boolean - this._loadedUrls[uri] = true; - this._loadedUrls.push(uri); - if(cb){ contents = '('+contents+')'; } - var value = d["eval"](contents+"\r\n//@ sourceURL="+uri); - if(cb){ cb(value); } - return true; // Boolean - } - //>>excludeEnd("xdomainExclude"); - - // FIXME: probably need to add logging to this method - dojo._loadUriAndCheck = function(/*String (URL)*/uri, /*String*/moduleName, /*Function?*/cb){ - // summary: calls loadUri then findModule and returns true if both succeed - var ok = false; - try{ - ok = this._loadUri(uri, cb); - }catch(e){ - console.debug("failed loading " + uri + " with error: " + e); - } - return Boolean(ok && this._loadedModules[moduleName]); // Boolean - } - - dojo.loaded = function(){ - // summary: - // signal fired when initial environment and package loading is - // complete. You may use dojo.addOnLoad() or dojo.connect() to - // this method in order to handle initialization tasks that - // require the environment to be initialized. In a browser host, - // declarative widgets will be constructed when this function - // finishes runing. - this._loadNotifying = true; - this._postLoad = true; - var mll = this._loaders; - - //Clear listeners so new ones can be added - //For other xdomain package loads after the initial load. - this._loaders = []; - - for(var x=0; x 0){ - d._callLoaded(); - } - } - - dojo.unloaded = function(){ - // summary: - // signal fired by impending environment destruction. You may use - // dojo.addOnUnload() or dojo.connect() to this method to perform - // page/application cleanup methods. - var mll = this._unloaders; - while(mll.length){ - (mll.pop())(); - } - } - - dojo.addOnLoad = function(/*Object?*/obj, /*String|Function*/functionName){ - // summary: - // Registers a function to be triggered after the DOM has finished - // loading and widgets declared in markup have been instantiated. - // Images and CSS files may or may not have finished downloading when - // the specified function is called. (Note that widgets' CSS and HTML - // code is guaranteed to be downloaded before said widgets are - // instantiated.) - // example: - // | dojo.addOnLoad(functionPointer); - // | dojo.addOnLoad(object, "functionName"); - if(arguments.length == 1){ - d._loaders.push(obj); - }else if(arguments.length > 1){ - d._loaders.push(function(){ - obj[functionName](); - }); - } - - //Added for xdomain loading. dojo.addOnLoad is used to - //indicate callbacks after doing some dojo.require() statements. - //In the xdomain case, if all the requires are loaded (after initial - //page load), then immediately call any listeners. - if(d._postLoad && d._inFlightCount == 0 && !d._loadNotifying){ - d._callLoaded(); - } - } - - dojo.addOnUnload = function(/*Object?*/obj, /*String|Function?*/functionName){ - // summary: registers a function to be triggered when the page unloads - // example: - // | dojo.addOnUnload(functionPointer) - // | dojo.addOnUnload(object, "functionName") - if(arguments.length == 1){ - d._unloaders.push(obj); - }else if(arguments.length > 1){ - d._unloaders.push(function(){ - obj[functionName](); - }); - } - } - - dojo._modulesLoaded = function(){ - if(d._postLoad){ return; } - if(d._inFlightCount > 0){ - console.debug("files still in flight!"); - return; - } - d._callLoaded(); - } - - dojo._callLoaded = function(){ - //The "object" check is for IE, and the other opera check fixes an issue - //in Opera where it could not find the body element in some widget test cases. - //For 0.9, maybe route all browsers through the setTimeout (need protection - //still for non-browser environments though). This might also help the issue with - //FF 2.0 and freezing issues where we try to do sync xhr while background css images - //are being loaded (trac #2572)? Consider for 0.9. - if(typeof setTimeout == "object" || (djConfig["useXDomain"] && d.isOpera)){ - setTimeout("dojo.loaded();", 0); - }else{ - d.loaded(); - } - } - - dojo._getModuleSymbols = function(/*String*/modulename){ - // summary: - // Converts a module name in dotted JS notation to an array - // representing the path in the source tree - var syms = modulename.split("."); - for(var i = syms.length; i>0; i--){ - var parentModule = syms.slice(0, i).join("."); - if((i==1) && !this._moduleHasPrefix(parentModule)){ - // Support default module directory (sibling of dojo) for top-level modules - syms[0] = "../" + syms[0]; - }else{ - var parentModulePath = this._getModulePrefix(parentModule); - if(parentModulePath != parentModule){ - syms.splice(0, i, parentModulePath); - break; - } - } - } - // console.debug(syms); - return syms; // Array - } - - dojo._global_omit_module_check = false; - - dojo._loadModule = dojo.require = function(/*String*/moduleName, /*Boolean?*/omitModuleCheck){ - // summary: - // loads a Javascript module from the appropriate URI - // moduleName: String - // omitModuleCheck: Boolean? - // description: - // _loadModule("A.B") first checks to see if symbol A.B is defined. If - // it is, it is simply returned (nothing to do). - // - // If it is not defined, it will look for "A/B.js" in the script root - // directory. - // - // It throws if it cannot find a file to load, or if the symbol A.B is - // not defined after loading. - // - // It returns the object A.B. - // - // This does nothing about importing symbols into the current package. - // It is presumed that the caller will take care of that. For example, - // to import all symbols: - // - // | with (dojo._loadModule("A.B")) { - // | ... - // | } - // - // And to import just the leaf symbol: - // - // | var B = dojo._loadModule("A.B"); - // | ... - // returns: the required namespace object - omitModuleCheck = this._global_omit_module_check || omitModuleCheck; - var module = this._loadedModules[moduleName]; - if(module){ - return module; - } - - // convert periods to slashes - var relpath = this._getModuleSymbols(moduleName).join("/") + '.js'; - - var modArg = (!omitModuleCheck) ? moduleName : null; - var ok = this._loadPath(relpath, modArg); - - if((!ok)&&(!omitModuleCheck)){ - throw new Error("Could not load '" + moduleName + "'; last tried '" + relpath + "'"); - } - - // check that the symbol was defined - // Don't bother if we're doing xdomain (asynchronous) loading. - if((!omitModuleCheck)&&(!this["_isXDomain"])){ - // pass in false so we can give better error - module = this._loadedModules[moduleName]; - if(!module){ - throw new Error("symbol '" + moduleName + "' is not defined after loading '" + relpath + "'"); - } - } - - return module; - } - - dojo.provide = function(/*String*/ resourceName){ - // summary: - // Each javascript source file must have (exactly) one dojo.provide() - // call at the top of the file, corresponding to the file name. - // For example, js/dojo/foo.js must have dojo.provide("dojo.foo"); at the - // top of the file. - // description: - // Each javascript source file is called a resource. When a resource - // is loaded by the browser, dojo.provide() registers that it has been - // loaded. - // - // For backwards compatibility reasons, in addition to registering the - // resource, dojo.provide() also ensures that the javascript object - // for the module exists. For example, - // dojo.provide("dojo.io.cometd"), in addition to registering that - // cometd.js is a resource for the dojo.iomodule, will ensure that - // the dojo.io javascript object exists, so that calls like - // dojo.io.foo = function(){ ... } don't fail. - // - // In the case of a build (or in the future, a rollup), where multiple - // javascript source files are combined into one bigger file (similar - // to a .lib or .jar file), that file will contain multiple - // dojo.provide() calls, to note that it includes multiple resources. - - //Make sure we have a string. - resourceName = resourceName + ""; - return (d._loadedModules[resourceName] = d.getObject(resourceName, true)); // Object - } - - //Start of old bootstrap2: - - dojo.platformRequire = function(/*Object containing Arrays*/modMap){ - // description: - // This method taks a "map" of arrays which one can use to optionally - // load dojo modules. The map is indexed by the possible - // dojo.name_ values, with two additional values: "default" - // and "common". The items in the "default" array will be loaded if - // none of the other items have been choosen based on the - // hostenv.name_ item. The items in the "common" array will _always_ - // be loaded, regardless of which list is chosen. Here's how it's - // normally called: - // - // | dojo.platformRequire({ - // | // an example that passes multiple args to _loadModule() - // | browser: [ - // | ["foo.bar.baz", true, true], - // | "foo.sample", - // | "foo.test, - // | ], - // | default: [ "foo.sample.*" ], - // | common: [ "really.important.module.*" ] - // | }); - - // FIXME: dojo.name_ no longer works!! - - var common = modMap["common"]||[]; - var result = common.concat(modMap[d._name]||modMap["default"]||[]); - - for(var x=0; x, - // relative to Dojo root. For example, module acme is mapped to - // ../acme. If you want to use a different module name, use - // dojo.registerModulePath. - d._modulePrefixes[module] = { name: module, value: prefix }; - } - - dojo.requireLocalization = function(/*String*/moduleName, /*String*/bundleName, /*String?*/locale, /*String?*/availableFlatLocales){ - // summary: - // Declares translated resources and loads them if necessary, in the - // same style as dojo.require. Contents of the resource bundle are - // typically strings, but may be any name/value pair, represented in - // JSON format. See also dojo.i18n.getLocalization. - // moduleName: - // name of the package containing the "nls" directory in which the - // bundle is found - // bundleName: - // bundle name, i.e. the filename without the '.js' suffix - // locale: - // the locale to load (optional) By default, the browser's user - // locale as defined by dojo.locale - // availableFlatLocales: - // A comma-separated list of the available, flattened locales for this - // bundle. This argument should only be set by the build process. - // description: - // Load translated resource bundles provided underneath the "nls" - // directory within a package. Translated resources may be located in - // different packages throughout the source tree. For example, a - // particular widget may define one or more resource bundles, - // structured in a program as follows, where moduleName is - // mycode.mywidget and bundleNames available include bundleone and - // bundletwo: - // - // ... - // mycode/ - // mywidget/ - // nls/ - // bundleone.js (the fallback translation, English in this example) - // bundletwo.js (also a fallback translation) - // de/ - // bundleone.js - // bundletwo.js - // de-at/ - // bundleone.js - // en/ - // (empty; use the fallback translation) - // en-us/ - // bundleone.js - // en-gb/ - // bundleone.js - // es/ - // bundleone.js - // bundletwo.js - // ...etc - // ... - // - // Each directory is named for a locale as specified by RFC 3066, - // (http://www.ietf.org/rfc/rfc3066.txt), normalized in lowercase. - // Note that the two bundles in the example do not define all the same - // variants. For a given locale, bundles will be loaded for that - // locale and all more general locales above it, including a fallback - // at the root directory. For example, a declaration for the "de-at" - // locale will first load nls/de-at/bundleone.js, then - // nls/de/bundleone.js and finally nls/bundleone.js. The data will be - // flattened into a single Object so that lookups will follow this - // cascading pattern. An optional build step can preload the bundles - // to avoid data redundancy and the multiple network hits normally - // required to load these resources. - - d.require("dojo.i18n"); - d.i18n._requireLocalization.apply(d.hostenv, arguments); - }; - - - var ore = new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"); - var ire = new RegExp("^((([^:]+:)?([^@]+))@)?([^:]*)(:([0-9]+))?$"); - - dojo._Url = function(/*dojo._Url||String...*/){ - // summary: - // Constructor to create an object representing a URL. - // It is marked as private, since we might consider removing - // or simplifying it. - // description: - // Each argument is evaluated in order relative to the next until - // a canonical uri is produced. To get an absolute Uri relative to - // the current document use: - // new dojo._Url(document.baseURI, url) - - var n = null; - - // TODO: support for IPv6, see RFC 2732 - var _a = arguments; - var uri = _a[0]; - // resolve uri components relative to each other - for(var i = 1; i<_a.length; i++){ - if(!_a[i]){ continue; } - - // Safari doesn't support this.constructor so we have to be explicit - // FIXME: Tracked (and fixed) in Webkit bug 3537. - // http://bugs.webkit.org/show_bug.cgi?id=3537 - var relobj = new d._Url(_a[i]+""); - var uriobj = new d._Url(uri+""); - - if( - (relobj.path=="") && - (!relobj.scheme) && - (!relobj.authority) && - (!relobj.query) - ){ - if(relobj.fragment != n){ - uriobj.fragment = relobj.fragment; - } - relobj = uriobj; - }else if(!relobj.scheme){ - relobj.scheme = uriobj.scheme; - - if(!relobj.authority){ - relobj.authority = uriobj.authority; - - if(relobj.path.charAt(0) != "/"){ - var path = uriobj.path.substring(0, - uriobj.path.lastIndexOf("/") + 1) + relobj.path; - - var segs = path.split("/"); - for(var j = 0; j < segs.length; j++){ - if(segs[j] == "."){ - if(j == segs.length - 1){ - segs[j] = ""; - }else{ - segs.splice(j, 1); - j--; - } - }else if(j > 0 && !(j == 1 && segs[0] == "") && - segs[j] == ".." && segs[j-1] != ".."){ - - if(j == (segs.length - 1)){ - segs.splice(j, 1); - segs[j - 1] = ""; - }else{ - segs.splice(j - 1, 2); - j -= 2; - } - } - } - relobj.path = segs.join("/"); - } - } - } - - uri = ""; - if(relobj.scheme){ - uri += relobj.scheme + ":"; - } - if(relobj.authority){ - uri += "//" + relobj.authority; - } - uri += relobj.path; - if(relobj.query){ - uri += "?" + relobj.query; - } - if(relobj.fragment){ - uri += "#" + relobj.fragment; - } - } - - this.uri = uri.toString(); - - // break the uri into its main components - var r = this.uri.match(ore); - - this.scheme = r[2] || (r[1] ? "" : n); - this.authority = r[4] || (r[3] ? "" : n); - this.path = r[5]; // can never be undefined - this.query = r[7] || (r[6] ? "" : n); - this.fragment = r[9] || (r[8] ? "" : n); - - if(this.authority != n){ - // server based naming authority - r = this.authority.match(ire); - - this.user = r[3] || n; - this.password = r[4] || n; - this.host = r[5]; - this.port = r[7] || n; - } - } - - dojo._Url.prototype.toString = function(){ return this.uri; }; - - dojo.moduleUrl = function(/*String*/module, /*dojo._Url||String*/url){ - // summary: - // Returns a Url object relative to a module - // - // example: - // | dojo.moduleUrl("dojo.widget","templates/template.html"); - // example: - // | dojo.moduleUrl("acme","images/small.png") - - var loc = dojo._getModuleSymbols(module).join('/'); - if(!loc){ return null; } - if(loc.lastIndexOf("/") != loc.length-1){ - loc += "/"; - } - - //If the path is an absolute path (starts with a / or is on another - //domain/xdomain) then don't add the baseUrl. - var colonIndex = loc.indexOf(":"); - if(loc.charAt(0) != "/" && (colonIndex == -1 || colonIndex > loc.indexOf("/"))){ - loc = d.baseUrl + loc; - } - - return new d._Url(loc, url); // String - } -})(); - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_base/_loader/loader_debug.js b/spring-faces/src/main/resources/META-INF/dojo/_base/_loader/loader_debug.js deleted file mode 100644 index 2d84cb7a..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/_base/_loader/loader_debug.js +++ /dev/null @@ -1,42 +0,0 @@ -if(!dojo._hasResource["dojo._base._loader.loader_debug"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base._loader.loader_debug"] = true; -dojo.provide("dojo._base._loader.loader_debug"); - -//Override dojo.provide, so we can trigger the next -//script tag for the next local module. We can only add one -//at a time because there are browsers that execute script tags -//in the order that the code is received, and not in the DOM order. -dojo.nonDebugProvide = dojo.provide; - -dojo.provide = function(resourceName){ - var dbgQueue = dojo["_xdDebugQueue"]; - if(dbgQueue && dbgQueue.length > 0 && resourceName == dbgQueue["currentResourceName"]){ - //Set a timeout so the module can be executed into existence. Normally the - //dojo.provide call in a module is the first line. Don't want to risk attaching - //another script tag until the current one finishes executing. - window.setTimeout("dojo._xdDebugFileLoaded('" + resourceName + "')", 1); - } - - return dojo.nonDebugProvide.apply(dojo, arguments); -} - -dojo._xdDebugFileLoaded = function(resourceName){ - var dbgQueue = this._xdDebugQueue; - - if(resourceName && resourceName == dbgQueue.currentResourceName){ - dbgQueue.shift(); - } - - if(dbgQueue.length == 0){ - dbgQueue.currentResourceName = null; - this._xdNotifyLoaded(); - }else{ - dbgQueue.currentResourceName = dbgQueue[0].resourceName; - var element = document.createElement("script"); - element.type = "text/javascript"; - element.src = dbgQueue[0].resourcePath; - document.getElementsByTagName("head")[0].appendChild(element); - } -} - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_base/_loader/loader_xd.js b/spring-faces/src/main/resources/META-INF/dojo/_base/_loader/loader_xd.js deleted file mode 100644 index 7af8dd09..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/_base/_loader/loader_xd.js +++ /dev/null @@ -1,629 +0,0 @@ -if(!dojo._hasResource["dojo._base._loader.loader_xd"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base._loader.loader_xd"] = true; -//Cross-domain resource loader. -dojo.provide("dojo._base._loader.loader_xd"); - -dojo._xdReset = function(){ - //summary: Internal xd loader function. Resets the xd state. - - //This flag indicates where or not we have crossed into xdomain territory. Once any resource says - //it is cross domain, then the rest of the resources have to be treated as xdomain because we need - //to evaluate resources in order. If there is a xdomain resource followed by a xhr resource, we can't load - //the xhr resource until the one before it finishes loading. The text of the xhr resource will be converted - //to match the format for a xd resource and put in the xd load queue. - this._isXDomain = djConfig.useXDomain || false; - - this._xdTimer = 0; - this._xdInFlight = {}; - this._xdOrderedReqs = []; - this._xdDepMap = {}; - this._xdContents = []; - this._xdDefList = []; -} - -//Call reset immediately to set the state. -dojo._xdReset(); - -dojo._xdCreateResource = function(/*String*/contents, /*String*/resourceName, /*String*/resourcePath){ - //summary: Internal xd loader function. Creates an xd module source given an - //non-xd module contents. - - //Remove comments. Not perfect, but good enough for dependency resolution. - var depContents = contents.replace(/(\/\*([\s\S]*?)\*\/|\/\/(.*)$)/mg , ""); - - //Find dependencies. - var deps = []; - var depRegExp = /dojo.(require|requireIf|provide|requireAfterIf|platformRequire|requireLocalization)\(([\w\W]*?)\)/mg; - var match; - while((match = depRegExp.exec(depContents)) != null){ - if(match[1] == "requireLocalization"){ - //Need to load the local bundles asap, since they are not - //part of the list of modules watched for loading. - eval(match[0]); - }else{ - deps.push('"' + match[1] + '", ' + match[2]); - } - } - - //Create resource object and the call to _xdResourceLoaded. - var output = []; - output.push("dojo._xdResourceLoaded({\n"); - - //Add dependencies - if(deps.length > 0){ - output.push("depends: ["); - for(var i = 0; i < deps.length; i++){ - if(i > 0){ - output.push(",\n"); - } - output.push("[" + deps[i] + "]"); - } - output.push("],"); - } - - //Add the contents of the file inside a function. - //Pass in dojo as an argument to the function to help with - //allowing multiple versions of dojo in a page. - output.push("\ndefineResource: function(dojo){"); - - //Don't put in the contents in the debugAtAllCosts case - //since the contents may have syntax errors. Let those - //get pushed up when the script tags are added to the page - //in the debugAtAllCosts case. - if(!djConfig["debugAtAllCosts"] || resourceName == "dojo._base._loader.loader_debug"){ - output.push(contents); - } - //Add isLocal property so we know if we have to do something different - //in debugAtAllCosts situations. - output.push("\n}, resourceName: '" + resourceName + "', resourcePath: '" + resourcePath + "'});"); - - return output.join(""); //String -} - -dojo._xdIsXDomainPath = function(/*string*/relpath) { - //summary: Figure out whether the path is local or x-domain - //If there is a colon before the first / then, we have a URL with a protocol. - - var colonIndex = relpath.indexOf(":"); - var slashIndex = relpath.indexOf("/"); - - if(colonIndex > 0 && colonIndex < slashIndex){ - return true; - }else{ - //Is the base script URI-based URL a cross domain URL? - //If so, then the relpath will be evaluated relative to - //baseUrl, and therefore qualify as xdomain. - //Only treat it as xdomain if the page does not have a - //host (file:// url) or if the baseUrl does not match the - //current window's domain. - var url = this.baseUrl; - colonIndex = url.indexOf(":"); - slashIndex = url.indexOf("/"); - if(colonIndex > 0 && colonIndex < slashIndex && (!location.host || url.indexOf("http://" + location.host) != 0)){ - return true; - } - } - return false; -} - -dojo._loadPath = function(/*String*/relpath, /*String?*/module, /*Function?*/cb){ - //summary: Internal xd loader function. Overrides loadPath() from loader.js. - //xd loading requires slightly different behavior from loadPath(). - - var currentIsXDomain = this._xdIsXDomainPath(relpath); - this._isXDomain |= currentIsXDomain; - - var uri = this.baseUrl + relpath; - if(currentIsXDomain){ - // check whether the relpath is an absolute URL itself. If so, we - // ignore baseUrl - var colonIndex = relpath.indexOf(":"); - var slashIndex = relpath.indexOf("/"); - if(colonIndex > 0 && colonIndex < slashIndex){ - uri = relpath; - } - } - - if(djConfig.cacheBust && dojo.isBrowser) { uri += "?" + String(djConfig.cacheBust).replace(/\W+/g,""); } - try{ - return ((!module || this._isXDomain) ? this._loadUri(uri, cb, currentIsXDomain, module) : this._loadUriAndCheck(uri, module, cb)); //Boolean - }catch(e){ - console.debug(e); - return false; //Boolean - } -} - -dojo._loadUri = function(/*String*/uri, /*Function?*/cb, /*boolean*/currentIsXDomain, /*String?*/module){ - //summary: Internal xd loader function. Overrides loadUri() from loader.js. - // xd loading requires slightly different behavior from loadPath(). - //description: Wanted to override getText(), but it is used by - // the widget code in too many, synchronous ways right now. - if(this._loadedUrls[uri]){ - return 1; //Boolean - } - - //Add the module (resource) to the list of modules. - //Only do this work if we have a modlue name. Otherwise, - //it is a non-xd i18n bundle, which can load immediately and does not - //need to be tracked. Also, don't track dojo.i18n, since it is a prerequisite - //and will be loaded correctly if we load it right away: it has no dependencies. - if(this._isXDomain && module && module != "dojo.i18n"){ - this._xdOrderedReqs.push(module); - - //Add to waiting resources if it is an xdomain resource. - //Don't add non-xdomain i18n bundles, those get evaled immediately. - if(currentIsXDomain || uri.indexOf("/nls/") == -1){ - this._xdInFlight[module] = true; - - //Increment inFlightCount - //This will stop the modulesLoaded from firing all the way. - this._inFlightCount++; - } - - //Start timer - if(!this._xdTimer){ - this._xdTimer = setInterval("dojo._xdWatchInFlight();", 100); - } - this._xdStartTime = (new Date()).getTime(); - } - - if (currentIsXDomain){ - //Fix name to be a .xd.fileextension name. - var lastIndex = uri.lastIndexOf('.'); - if(lastIndex <= 0){ - lastIndex = uri.length - 1; - } - - var xdUri = uri.substring(0, lastIndex) + ".xd"; - if(lastIndex != uri.length - 1){ - xdUri += uri.substring(lastIndex, uri.length); - } - - //Add to script src - var element = document.createElement("script"); - element.type = "text/javascript"; - element.src = xdUri; - if(!this.headElement){ - this._headElement = document.getElementsByTagName("head")[0]; - - //Head element may not exist, particularly in html - //html 4 or tag soup cases where the page does not - //have a head tag in it. Use html element, since that will exist. - //Seems to be an issue mostly with Opera 9 and to lesser extent Safari 2 - if(!this._headElement){ - this._headElement = document.getElementsByTagName("html")[0]; - } - } - this._headElement.appendChild(element); - }else{ - var contents = this._getText(uri, null, true); - if(contents == null){ return 0; /*boolean*/} - - //If this is not xdomain, or if loading a i18n resource bundle, then send it down - //the normal eval/callback path. - if(this._isXDomain - && uri.indexOf("/nls/") == -1 - && module != "dojo.i18n"){ - var res = this._xdCreateResource(contents, module, uri); - dojo.eval(res); - }else{ - if(cb){ contents = '('+contents+')'; } - var value = dojo.eval(contents); - if(cb){ - cb(value); - } - } - } - - //These steps are done in the non-xd loader version of this function. - //Maintain these steps to fit in with the existing system. - this._loadedUrls[uri] = true; - this._loadedUrls.push(uri); - return true; //Boolean -} - -dojo._xdResourceLoaded = function(/*Object*/res){ - //summary: Internal xd loader function. Called by an xd module resource when - //it has been loaded via a script tag. - var deps = res.depends; - var requireList = null; - var requireAfterList = null; - var provideList = []; - if(deps && deps.length > 0){ - var dep = null; - var insertHint = 0; - var attachedResource = false; - for(var i = 0; i < deps.length; i++){ - dep = deps[i]; - - //Look for specific dependency indicators. - if (dep[0] == "provide"){ - provideList.push(dep[1]); - }else{ - if(!requireList){ - requireList = []; - } - if(!requireAfterList){ - requireAfterList = []; - } - - var unpackedDeps = this._xdUnpackDependency(dep); - if(unpackedDeps.requires){ - requireList = requireList.concat(unpackedDeps.requires); - } - if(unpackedDeps.requiresAfter){ - requireAfterList = requireAfterList.concat(unpackedDeps.requiresAfter); - } - } - - //Call the dependency indicator to allow for the normal dojo setup. - //Only allow for one dot reference, for the i18n._preloadLocalizations calls - //(and maybe future, one-dot things). - var depType = dep[0]; - var objPath = depType.split("."); - if(objPath.length == 2){ - dojo[objPath[0]][objPath[1]].apply(dojo[objPath[0]], dep.slice(1)); - }else{ - dojo[depType].apply(dojo, dep.slice(1)); - } - } - - - //If loading the debugAtAllCosts module, eval it right away since we need - //its functions to properly load the other modules. - if(provideList.length == 1 && provideList[0] == "dojo._base._loader.loader_debug"){ - res.defineResource(dojo); - }else{ - //Save off the resource contents for definition later. - var contentIndex = this._xdContents.push({ - content: res.defineResource, - resourceName: res["resourceName"], - resourcePath: res["resourcePath"], - isDefined: false - }) - 1; - - //Add provide/requires to dependency map. - for(var i = 0; i < provideList.length; i++){ - this._xdDepMap[provideList[i]] = { requires: requireList, requiresAfter: requireAfterList, contentIndex: contentIndex }; - } - } - - //Now update the inflight status for any provided resources in this loaded resource. - //Do this at the very end (in a *separate* for loop) to avoid shutting down the - //inflight timer check too soon. - for(var i = 0; i < provideList.length; i++){ - this._xdInFlight[provideList[i]] = false; - } - } -} - -dojo._xdLoadFlattenedBundle = function(/*String*/moduleName, /*String*/bundleName, /*String?*/locale, /*Object*/bundleData){ - //summary: Internal xd loader function. Used when loading - //a flattened localized bundle via a script tag. - locale = locale || "root"; - var jsLoc = dojo.i18n.normalizeLocale(locale).replace('-', '_'); - var bundleResource = [moduleName, "nls", bundleName].join("."); - var bundle = dojo["provide"](bundleResource); - bundle[jsLoc] = bundleData; - - //Assign the bundle for the original locale(s) we wanted. - var mapName = [moduleName, jsLoc, bundleName].join("."); - var bundleMap = dojo._xdBundleMap[mapName]; - if(bundleMap){ - for(var param in bundleMap){ - bundle[param] = bundleData; - } - } -}; - - -dojo._xdInitExtraLocales = function(){ - // Simulate the extra locale work that dojo.requireLocalization does. - - var extra = djConfig.extraLocale; - if(extra){ - if(!extra instanceof Array){ - extra = [extra]; - } - - dojo._xdReqLoc = dojo.xdRequireLocalization; - dojo.xdRequireLocalization = function(m, b, locale, fLocales){ - dojo._xdReqLoc(m,b,locale, fLocales); - if(locale){return;} - for(var i=0; i bestLocale.length){ - bestLocale = locales[i]; - } - } - } - - var fixedBestLocale = bestLocale.replace('-', '_'); - //See if the bundle we are going to use is already loaded. - var bundleResource = dojo.getObject([moduleName, "nls", bundleName].join(".")); - if(bundleResource && bundleResource[fixedBestLocale]){ - bundle[jsLoc.replace('-', '_')] = bundleResource[fixedBestLocale]; - }else{ - //Need to remember what locale we wanted and which one we actually use. - //Then when we load the one we are actually using, use that bundle for the one - //we originally wanted. - var mapName = [moduleName, (fixedBestLocale||"root"), bundleName].join("."); - var bundleMap = dojo._xdBundleMap[mapName]; - if(!bundleMap){ - bundleMap = dojo._xdBundleMap[mapName] = {}; - } - bundleMap[jsLoc.replace('-', '_')] = true; - - //Do just a normal dojo.require so the resource tracking stuff works as usual. - dojo.require(moduleName + ".nls" + (bestLocale ? "." + bestLocale : "") + "." + bundleName); - } -} - -// Replace dojo.requireLocalization with a wrapper -dojo._xdRealRequireLocalization = dojo.requireLocalization; -dojo.requireLocalization = function(/*String*/moduleName, /*String*/bundleName, /*String?*/locale, /*String*/availableFlatLocales){ - // summary: loads a bundle intelligently based on whether the module is - // local or xd. Overrides the local-case implementation. - - var modulePath = this.moduleUrl(moduleName).toString(); - if (this._xdIsXDomainPath(modulePath)) { - // call cross-domain loader - return dojo.xdRequireLocalization.apply(dojo, arguments); - } else { - // call local-loader - return dojo._xdRealRequireLocalization.apply(dojo, arguments); - } -} - -//This is a bit brittle: it has to know about the dojo methods that deal with dependencies -//It would be ideal to intercept the actual methods and do something fancy at that point, -//but I have concern about knowing which provide to match to the dependency in that case, -//since scripts can load whenever they want, and trigger new calls to dojo._xdResourceLoaded(). -dojo._xdUnpackDependency = function(/*Array*/dep){ - //summary: Internal xd loader function. Determines what to do with a dependency - //that was listed in an xd version of a module contents. - - //Extract the dependency(ies). - var newDeps = null; - var newAfterDeps = null; - switch(dep[0]){ - case "requireIf": - case "requireAfterIf": - //First arg (dep[1]) is the test. Depedency is dep[2]. - if(dep[1] === true){ - newDeps = [{name: dep[2], content: null}]; - } - break; - case "platformRequire": - var modMap = dep[1]; - var common = modMap["common"]||[]; - var newDeps = (modMap[dojo.hostenv.name_]) ? common.concat(modMap[dojo.hostenv.name_]||[]) : common.concat(modMap["default"]||[]); - //Flatten the array of arrays into a one-level deep array. - //Each result could be an array of 3 elements (the 3 arguments to dojo.require). - //We only need the first one. - if(newDeps){ - for(var i = 0; i < newDeps.length; i++){ - if(newDeps[i] instanceof Array){ - newDeps[i] = {name: newDeps[i][0], content: null}; - }else{ - newDeps[i] = {name: newDeps[i], content: null}; - } - } - } - break; - case "require": - //Just worry about dep[1] - newDeps = [{name: dep[1], content: null}]; - break; - case "i18n._preloadLocalizations": - //We can eval these immediately, since they load i18n bundles. - //Since i18n bundles have no dependencies, whenever they are loaded - //in a script tag, they are evaluated immediately, so we do not have to - //treat them has an explicit dependency for the dependency mapping. - //We can call it immediately since dojo.i18n is part of dojo.xd.js. - dojo.i18n._preloadLocalizations.apply(dojo.i18n._preloadLocalizations, dep.slice(1)); - break; - } - - //The requireIf and requireAfterIf needs to be evaluated after the current resource is evaluated. - if(dep[0] == "requireAfterIf" || dep[0] == "requireIf"){ - newAfterDeps = newDeps; - newDeps = null; - } - return {requires: newDeps, requiresAfter: newAfterDeps}; //Object -} - -dojo._xdWalkReqs = function(){ - //summary: Internal xd loader function. - //Walks the requires and evaluates module resource contents in - //the right order. - var reqChain = null; - var req; - for(var i = 0; i < this._xdOrderedReqs.length; i++){ - req = this._xdOrderedReqs[i]; - if(this._xdDepMap[req]){ - reqChain = [req]; - reqChain[req] = true; //Allow for fast lookup of the req in the array - this._xdEvalReqs(reqChain); - } - } -} - -dojo._xdEvalReqs = function(/*Array*/reqChain){ - //summary: Internal xd loader function. - //Does a depth first, breadth second search and eval of required modules. - while(reqChain.length > 0){ - var req = reqChain[reqChain.length - 1]; - var res = this._xdDepMap[req]; - if(res){ - //Trace down any requires for this resource. - //START dojo._xdTraceReqs() inlining for small Safari 2.0 call stack - var reqs = res.requires; - if(reqs && reqs.length > 0){ - var nextReq; - for(var i = 0; i < reqs.length; i++){ - nextReq = reqs[i].name; - if(nextReq && !reqChain[nextReq]){ - //New req depedency. Follow it down. - reqChain.push(nextReq); - reqChain[nextReq] = true; - this._xdEvalReqs(reqChain); - } - } - } - //END dojo._xdTraceReqs() inlining for small Safari 2.0 call stack - - //Evaluate the resource. - var contents = this._xdContents[res.contentIndex]; - if(!contents.isDefined){ - var content = contents.content; - content["resourceName"] = contents["resourceName"]; - content["resourcePath"] = contents["resourcePath"]; - this._xdDefList.push(content); - contents.isDefined = true; - } - this._xdDepMap[req] = null; - - //Trace down any requireAfters for this resource. - //START dojo._xdTraceReqs() inlining for small Safari 2.0 call stack - var reqs = res.requiresAfter; - if(reqs && reqs.length > 0){ - var nextReq; - for(var i = 0; i < reqs.length; i++){ - nextReq = reqs[i].name; - if(nextReq && !reqChain[nextReq]){ - //New req depedency. Follow it down. - reqChain.push(nextReq); - reqChain[nextReq] = true; - this._xdEvalReqs(reqChain); - } - } - } - //END dojo._xdTraceReqs() inlining for small Safari 2.0 call stack - } - - //Done with that require. Remove it and go to the next one. - reqChain.pop(); - } -} - -dojo._xdClearInterval = function(){ - //summary: Internal xd loader function. - //Clears the interval timer used to check on the - //status of in-flight xd module resource requests. - clearInterval(this._xdTimer); - this._xdTimer = 0; -} - -dojo._xdWatchInFlight = function(){ - //summary: Internal xd loader function. - //Monitors in-flight requests for xd module resources. - - var noLoads = ""; - var waitInterval = (djConfig.xdWaitSeconds || 15) * 1000; - var expired = (this._xdStartTime + waitInterval) < (new Date()).getTime(); - - //If any xdInFlight are true, then still waiting for something to load. - //Come back later. If we timed out, report the things that did not load. - for(var param in this._xdInFlight){ - if(this._xdInFlight[param] === true){ - if(expired){ - noLoads += param + " "; - }else{ - return; - } - } - } - - //All done. Clean up and notify. - this._xdClearInterval(); - - if(expired){ - throw "Could not load cross-domain resources: " + noLoads; - } - - this._xdWalkReqs(); - - var defLength = this._xdDefList.length; - for(var i= 0; i < defLength; i++){ - var content = dojo._xdDefList[i]; - if(djConfig["debugAtAllCosts"] && content["resourceName"]){ - if(!this["_xdDebugQueue"]){ - this._xdDebugQueue = []; - } - this._xdDebugQueue.push({resourceName: content.resourceName, resourcePath: content.resourcePath}); - }else{ - //Evaluate the resource to bring it into being. - //Pass dojo in so that later, to support multiple versions of dojo - //in a page, we can pass which version of dojo to use. - content(dojo); - } - } - - //Evaluate any resources that were not evaled before. - //This normally shouldn't happen with proper dojo.provide and dojo.require - //usage, but providing it just in case. Note that these may not be executed - //in the original order that the developer intended. - //Pass dojo in so that later, to support multiple versions of dojo - //in a page, we can pass which version of dojo to use. - for(var i = 0; i < this._xdContents.length; i++){ - var current = this._xdContents[i]; - if(current.content && !current.isDefined){ - current.content(dojo); - } - } - - //Clean up for the next round of xd loading. - this._xdReset(); - - if(this["_xdDebugQueue"] && this._xdDebugQueue.length > 0){ - this._xdDebugFileLoaded(); - }else{ - this._xdNotifyLoaded(); - } -} - -dojo._xdNotifyLoaded = function(){ - //Clear inflight count so we will finally do finish work. - this._inFlightCount = 0; - - //Only trigger call loaded if dj_load_init has run. - if(this._initFired && !this._loadNotifying){ - this._callLoaded(); - } -} - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_base/array.js b/spring-faces/src/main/resources/META-INF/dojo/_base/array.js deleted file mode 100644 index 2aee164c..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/_base/array.js +++ /dev/null @@ -1,167 +0,0 @@ -if(!dojo._hasResource["dojo._base.array"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.array"] = true; -dojo.require("dojo._base.lang"); -dojo.provide("dojo._base.array"); - -(function(){ - var _getParts = function(arr, obj, cb){ - return [ - (dojo.isString(arr) ? arr.split("") : arr), - (obj||dojo.global), - // FIXME: cache the anonymous functions we create here? - (dojo.isString(cb) ? (new Function("item", "index", "array", cb)) : cb) - ]; - } - - dojo.mixin(dojo, { - indexOf: function( /*Array*/ array, - /*Object*/ value, - /*Integer?*/ fromIndex, - /*Boolean?*/ findLast){ - // summary: - // locates the first index of the provided value in the - // passed array. If the value is not found, -1 is returned. - // description: - // For details on this method, see: - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:indexOf - - var i = 0, step = 1, end = array.length; - if(findLast){ - i = end - 1; - step = end = -1; - } - for(i = fromIndex || i; i != end; i += step){ - if(array[i] == value){ return i; } - } - return -1; // Number - }, - - lastIndexOf: function(/*Array*/array, /*Object*/value, /*Integer?*/fromIndex){ - // summary: - // locates the last index of the provided value in the passed array. - // If the value is not found, -1 is returned. - // description: - // For details on this method, see: - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:lastIndexOf - return dojo.indexOf(array, value, fromIndex, true); // Number - }, - - forEach: function(/*Array*/arr, /*Function*/callback, /*Object?*/obj){ - // summary: - // for every item in arr, call callback with that item as its - // only parameter. - // description: - // Return values are ignored. This function - // corresponds (and wraps) the JavaScript 1.6 forEach method. For - // more details, see: - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:forEach - - // match the behavior of the built-in forEach WRT empty arrs - if(!arr || !arr.length){ return; } - - // FIXME: there are several ways of handilng thisObject. Is - // dojo.global always the default context? - var _p = _getParts(arr, obj, callback); arr = _p[0]; - for(var i=0,l=_p[0].length; i1; }); - // returns false - // example: - // | dojo.every([1, 2, 3, 4], function(item){ return item>0; }); - // returns true - return this._everyOrSome(true, arr, callback, thisObject); // Boolean - }, - - some: function(/*Array*/arr, /*Function*/callback, /*Object?*/thisObject){ - // summary: - // Determines whether or not any item in the array satisfies the - // condition implemented by callback. - // description: - // The parameter thisObject may be used to - // scope the call to callback. The function signature is derived - // from the JavaScript 1.6 Array.some() function. More - // information on this can be found here: - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:some - // example: - // | dojo.some([1, 2, 3, 4], function(item){ return item>1; }); - // returns true - // example: - // | dojo.some([1, 2, 3, 4], function(item){ return item<1; }); - // returns false - return this._everyOrSome(false, arr, callback, thisObject); // Boolean - }, - - map: function(/*Array*/arr, /*Function*/func, /*Function?*/obj){ - // summary: - // applies a function to each element of an Array and creates - // an Array with the results - // description: - // Returns a new array constituted from the return values of - // passing each element of arr into unary_func. The obj parameter - // may be passed to enable the passed function to be called in - // that scope. In environments that support JavaScript 1.6, this - // function is a passthrough to the built-in map() function - // provided by Array instances. For details on this, see: - // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:map - // example: - // | dojo.map([1, 2, 3, 4], function(item){ return item+1 }); - // returns [2, 3, 4, 5] - var _p = _getParts(arr, obj, func); arr = _p[0]; - var outArr = ((arguments[3]) ? (new arguments[3]()) : []); - for(var i=0;i1; }); - // returns [2, 3, 4] - - var _p = _getParts(arr, obj, callback); arr = _p[0]; - var outArr = []; - for(var i = 0; i < arr.length; i++){ - if(_p[2].call(_p[1], arr[i], i, arr)){ - outArr.push(arr[i]); - } - } - return outArr; // Array - } - }); -})(); - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_base/connect.js b/spring-faces/src/main/resources/META-INF/dojo/_base/connect.js deleted file mode 100644 index 5111372e..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/_base/connect.js +++ /dev/null @@ -1,285 +0,0 @@ -if(!dojo._hasResource["dojo._base.connect"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.connect"] = true; -dojo.provide("dojo._base.connect"); -dojo.require("dojo._base.lang"); - -// this file courtesy of the TurboAjax Group, licensed under a Dojo CLA - -// low-level delegation machinery -dojo._listener = { - // create a dispatcher function - getDispatcher: function(){ - // following comments pulled out-of-line to prevent cloning them - // in the returned function. - // - indices (i) that are really in the array of listeners (ls) will - // not be in Array.prototype. This is the 'sparse array' trick - // that keeps us safe from libs that take liberties with built-in - // objects - // - listener is invoked with current scope (this) - return function(){ - var ap=Array.prototype, c=arguments.callee, ls=c._listeners, t=c.target; - // return value comes from original target function - var r=t && t.apply(this, arguments); - // invoke listeners after target function - for(var i in ls){ - if(!(i in ap)){ - ls[i].apply(this, arguments); - } - } - // return value comes from original target function - return r; - } - }, - // add a listener to an object - add: function(/*Object*/ source, /*String*/ method, /*Function*/ listener){ - // Whenever 'method' is invoked, 'listener' will have the same scope. - // Trying to supporting a context object for the listener led to - // complexity. - // Non trivial to provide 'once' functionality here - // because listener could be the result of a dojo.hitch call, - // in which case two references to the same hitch target would not - // be equivalent. - source = source || dojo.global; - // The source method is either null, a dispatcher, or some other function - var f = source[method]; - // Ensure a dispatcher - if(!f||!f._listeners){ - var d = dojo._listener.getDispatcher(); - // original target function is special - d.target = f; - // dispatcher holds a list of listeners - d._listeners = []; - // redirect source to dispatcher - f = source[method] = d; - } - // The contract is that a handle is returned that can - // identify this listener for disconnect. - // - // The type of the handle is private. Here is it implemented as Integer. - // DOM event code has this same contract but handle is Function - // in non-IE browsers. - // - // We could have separate lists of before and after listeners. - return f._listeners.push(listener) ; /*Handle*/ - }, - // remove a listener from an object - remove: function(/*Object*/ source, /*String*/ method, /*Handle*/ handle){ - var f = (source||dojo.global)[method]; - // remember that handle is the index+1 (0 is not a valid handle) - if(f && f._listeners && handle--){ - delete f._listeners[handle]; - } - } -}; - -// Multiple delegation for arbitrary methods. - -// This unit knows nothing about DOM, -// but we include DOM aware -// documentation and dontFix -// argument here to help the autodocs. -// Actual DOM aware code is in event.js. - -dojo.connect = function(/*Object|null*/ obj, - /*String*/ event, - /*Object|null*/ context, - /*String|Function*/ method, - /*Boolean*/ dontFix){ - // summary: - // Create a link that calls one function when another executes. - // - // description: - // Connects method to event, so that after event fires, method - // does too. All connected functions are passed the same arguments as - // the event function was initially called with. You may connect as - // many methods to event as needed. - // - // event must be a string. If obj is null, dojo.global is used. - // - // null arguments may simply be omitted. - // - // obj[event] can resolve to a function or undefined (null). - // If obj[event] is null, it is assigned a function. - // - // The return value is a handle that is needed to - // remove this connection with dojo.disconnect. - // - // obj: - // The source object for the event function. - // Defaults to dojo.global if null. - // If obj is a DOM node, the connection is delegated - // to the DOM event manager (unless dontFix is true). - // - // event: - // String name of the event function in obj. - // I.e. identifies a property obj[event]. - // - // context: - // The object that method will receive as "this". - // - // If context is null and method is a function, then method - // inherits the context of event. - // - // If method is a string then context must be the source - // object object for method (context[method]). If context is null, - // dojo.global is used. - // - // method: - // A function reference, or name of a function in context. - // The function identified by method fires after event does. - // method receives the same arguments as the event. - // See context argument comments for information on method's scope. - // - // dontFix: - // If obj is a DOM node, set dontFix to true to prevent delegation - // of this connection to the DOM event manager. - // - // example: - // When obj.onchange(), do ui.update(): - // | dojo.connect(obj, "onchange", ui, "update"); - // | dojo.connect(obj, "onchange", ui, ui.update); // same - // - // example: - // Using return value for disconnect: - // | var link = dojo.connect(obj, "onchange", ui, "update"); - // | ... - // | dojo.disconnect(link); - // - // example: - // When onglobalevent executes, watcher.handler is invoked: - // | dojo.connect(null, "onglobalevent", watcher, "handler"); - // - // example: - // When ob.onCustomEvent executes, customEventHandler is invoked: - // | dojo.connect(ob, "onCustomEvent", null, "customEventHandler"); - // | dojo.connect(ob, "onCustomEvent", "customEventHandler"); // same - // - // example: - // When ob.onCustomEvent executes, customEventHandler is invoked - // with the same scope (this): - // | dojo.connect(ob, "onCustomEvent", null, customEventHandler); - // | dojo.connect(ob, "onCustomEvent", customEventHandler); // same - // - // example: - // When globalEvent executes, globalHandler is invoked - // with the same scope (this): - // | dojo.connect(null, "globalEvent", null, globalHandler); - // | dojo.connect("globalEvent", globalHandler); // same - - // normalize arguments - var a=arguments, args=[], i=0; - // if a[0] is a String, obj was ommited - args.push(dojo.isString(a[0]) ? null : a[i++], a[i++]); - // if the arg-after-next is a String or Function, context was NOT omitted - var a1 = a[i+1]; - args.push(dojo.isString(a1)||dojo.isFunction(a1) ? a[i++] : null, a[i++]); - // absorb any additional arguments - for(var l=a.length; i3)){ - dojo.deprecated("dojo.declare: for class '" + className + "' pass initializer function as 'constructor' property instead of as a separate argument.", "", "1.0"); - var c = props; - props = arguments[3] || {}; - props.constructor = c; - } - // process superclass argument - // var dd=dojo.declare, mixins=null; - var dd=arguments.callee, mixins=null; - if(dojo.isArray(superclass)){ - mixins = superclass; - superclass = mixins.shift(); - } - // construct intermediate classes for mixins - if(mixins){ - for(var i=0, m; i90)&&(k<96||k>111)&&(k<186||k>192)&&(k<219||k>222); - // synthesize keypress for most unprintables and CTRL-keys - if(unprintable||evt.ctrlKey){ - var c = (unprintable ? 0 : k); - if(evt.ctrlKey){ - if(k==3 || k==13){ - return; // IE will post CTRL-BREAK, CTRL-ENTER as keypress natively - }else if(c>95 && c<106){ - c -= 48; // map CTRL-[numpad 0-9] to ASCII - }else if((!evt.shiftKey)&&(c>=65&&c<=90)){ - c += 32; // map CTRL-[A-Z] to lowercase - }else{ - c = del._punctMap[c] || c; // map other problematic CTRL combinations to ASCII - } - } - // simulate a keypress event - var faux = del._synthesizeEvent(evt, {type: 'keypress', faux: true, charCode: c}); - kp.call(evt.currentTarget, faux); - evt.cancelBubble = faux.cancelBubble; - evt.returnValue = faux.returnValue; - _trySetKeyCode(evt, faux.keyCode); - } - }, - // Called in Event scope - _stopPropagation: function(){ - this.cancelBubble = true; - }, - _preventDefault: function(){ - // Setting keyCode to 0 is the only way to prevent certain keypresses (namely - // ctrl-combinations that correspond to menu accelerator keys). - // Otoh, it prevents upstream listeners from getting this information - // Try to split the difference here by clobbering keyCode only for ctrl - // combinations. If you still need to access the key upstream, bubbledKeyCode is - // provided as a workaround. - this.bubbledKeyCode = this.keyCode; - if(this.ctrlKey){_trySetKeyCode(this, 0);} - this.returnValue = false; - } - }); - - // override stopEvent for IE - dojo.stopEvent = function(evt){ - evt = evt || window.event; - del._stopPropagation.call(evt); - del._preventDefault.call(evt); - } - } - - del._synthesizeEvent = function(evt, props){ - var faux = dojo.mixin({}, evt, props); - del._setKeyChar(faux); - // FIXME: would prefer to use dojo.hitch: dojo.hitch(evt, evt.preventDefault); - // but it throws an error when preventDefault is invoked on Safari - // does Event.preventDefault not support "apply" on Safari? - faux.preventDefault = function(){ evt.preventDefault(); }; - faux.stopPropagation = function(){ evt.stopPropagation(); }; - return faux; - } - - // Opera event normalization - if(dojo.isOpera){ - dojo.mixin(del, { - _fixEvent: function(evt, sender){ - switch(evt.type){ - case "keypress": - var c = evt.which; - if(c==3){ - c=99; // Mozilla maps CTRL-BREAK to CTRL-c - } - // can't trap some keys at all, like INSERT and DELETE - // there is no differentiating info between DELETE and ".", or INSERT and "-" - c = ((c<41)&&(!evt.shiftKey) ? 0 : c); - if((evt.ctrlKey)&&(!evt.shiftKey)&&(c>=65)&&(c<=90)){ - // lowercase CTRL-[A-Z] keys - c += 32; - } - return del._synthesizeEvent(evt, { charCode: c }); - } - return evt; - } - }); - } - - // Safari event normalization - if(dojo.isSafari){ - dojo.mixin(del, { - _fixEvent: function(evt, sender){ - switch(evt.type){ - case "keypress": - var c = evt.charCode, s = evt.shiftKey, k = evt.keyCode; - // FIXME: This is a hack, suggest we rethink keyboard strategy. - // Arrow and page keys have 0 "keyCode" in keypress events.on Safari for Windows - k = k || identifierMap[evt.keyIdentifier] || 0; - if(evt.keyIdentifier=="Enter"){ - c = 0; // differentiate Enter from CTRL-m (both code 13) - }else if((evt.ctrlKey)&&(c>0)&&(c<27)){ - c += 96; // map CTRL-[A-Z] codes to ASCII - } else if (c==dojo.keys.SHIFT_TAB) { - c = dojo.keys.TAB; // morph SHIFT_TAB into TAB + shiftKey: true - s = true; - } else { - c = (c>=32 && c<63232 ? c : 0); // avoid generating keyChar for non-printables - } - return del._synthesizeEvent(evt, {charCode: c, shiftKey: s, keyCode: k}); - } - return evt; - } - }); - - dojo.mixin(dojo.keys, { - SHIFT_TAB: 25, - UP_ARROW: 63232, - DOWN_ARROW: 63233, - LEFT_ARROW: 63234, - RIGHT_ARROW: 63235, - F1: 63236, - F2: 63237, - F3: 63238, - F4: 63239, - F5: 63240, - F6: 63241, - F7: 63242, - F8: 63243, - F9: 63244, - F10: 63245, - F11: 63246, - F12: 63247, - PAUSE: 63250, - DELETE: 63272, - HOME: 63273, - END: 63275, - PAGE_UP: 63276, - PAGE_DOWN: 63277, - INSERT: 63302, - PRINT_SCREEN: 63248, - SCROLL_LOCK: 63249, - NUM_LOCK: 63289 - }); - var dk = dojo.keys, identifierMap = { "Up": dk.UP_ARROW, "Down": dk.DOWN_ARROW, "Left": dk.LEFT_ARROW, "Right": dk.RIGHT_ARROW, "PageUp": dk.PAGE_UP, "PageDown": dk.PAGE_DOWN }; - } -})(); - -if(dojo.isIE){ - // keep this out of the closure - // closing over 'iel' or 'ieh' b0rks leak prevention - // ls[i] is an index into the master handler array - dojo._getIeDispatcher = function(){ - return function(){ - var ap=Array.prototype, h=dojo._ie_listener.handlers, c=arguments.callee, ls=c._listeners, t=h[c.target]; - // return value comes from original target function - var r = t && t.apply(this, arguments); - // invoke listeners after target function - for(var i in ls){ - if(!(i in ap)){ - h[ls[i]].apply(this, arguments); - } - } - return r; - } - } - // keep this out of the closure to reduce RAM allocation - dojo._event_listener._fixCallback = function(fp){ - var f = dojo._event_listener._fixEvent; - return function(e){ return fp.call(this, f(e, this)); }; - } -} - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_base/fx.js b/spring-faces/src/main/resources/META-INF/dojo/_base/fx.js deleted file mode 100644 index 9aac8b40..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/_base/fx.js +++ /dev/null @@ -1,464 +0,0 @@ -if(!dojo._hasResource["dojo._base.fx"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.fx"] = true; -dojo.provide("dojo._base.fx"); -dojo.require("dojo._base.Color"); -dojo.require("dojo._base.connect"); -dojo.require("dojo._base.declare"); -dojo.require("dojo._base.lang"); -dojo.require("dojo._base.html"); - -/* - Animation losely package based on Dan Pupius' work, contributed under CLA: - http://pupius.co.uk/js/Toolkit.Drawing.js -*/ - -dojo._Line = function(/*int*/ start, /*int*/ end){ - // summary: - // dojo._Line is the object used to generate values from a start value - // to an end value - // start: int - // Beginning value for range - // end: int - // Ending value for range - this.start = start; - this.end = end; - this.getValue = function(/*float*/ n){ - // summary: returns the point on the line - // n: a floating point number greater than 0 and less than 1 - return ((this.end - this.start) * n) + this.start; // Decimal - } -} - -dojo.declare("dojo._Animation", null, { - // summary - // A generic animation object that fires callbacks into it's handlers - // object at various states - // - constructor: function(/*Object*/ args){ - dojo.mixin(this, args); - if(dojo.isArray(this.curve)){ - /* curve: Array - pId: a */ - this.curve = new dojo._Line(this.curve[0], this.curve[1]); - } - }, - - // duration: Integer - // The time in milliseonds the animation will take to run - duration: 1000, - -/*===== - // curve: dojo._Line||Array - // A two element array of start and end values, or a dojo._Line instance to be - // used in the Animation. - curve: null, - - // easing: Function - // A Function to adjust the acceleration (or deceleration) of the progress - // across a dojo._Line - easing: null, -=====*/ - - // repeat: Integer - // The number of times to loop the animation - repeat: 0, - - // rate: Integer - // the time in milliseconds to wait before advancing to next frame - // (used as a fps timer: rate/1000 = fps) - rate: 10 /* 100 fps */, - -/*===== - // delay: Integer - // The time in milliseconds to wait before starting animation after it has been .play()'ed - delay: null, - - // events - // - // beforeBegin: Event - // Synthetic event fired before a dojo._Animation begins playing (synhcronous) - beforeBegin: null, - - // onBegin: Event - // Synthetic event fired as a dojo._Animation begins playing (useful?) - onBegin: null, - - // onAnimate: Event - // Synthetic event fired at each interval of a dojo._Animation - onAnimate: null, - - // onEnd: Event - // Synthetic event fired after the final frame of a dojo._Animation - onEnd: null, - - // ??? - onPlay: null, - - // onPause: Event - // Synthetic event fired when a dojo._Animation is paused - onPause: null, - - // onStop: Event - // Synthetic event fires when a dojo._Animation is stopped - onStop: null, - -=====*/ - - _percent: 0, - _startRepeatCount: 0, - - fire: function(/*Event*/ evt, /*Array?*/ args){ - // summary: - // Convenience function. Fire event "evt" and pass it the - // arguments specified in "args". - // evt: - // The event to fire. - // args: - // The arguments to pass to the event. - if(this[evt]){ - this[evt].apply(this, args||[]); - } - return this; // dojo._Animation - }, - - play: function(/*int?*/ delay, /*Boolean?*/ gotoStart){ - // summary: - // Start the animation. - // delay: - // How many milliseconds to delay before starting. - // gotoStart: - // If true, starts the animation from the beginning; otherwise, - // starts it from its current position. - var _t = this; - if(gotoStart){ - _t._stopTimer(); - _t._active = _t._paused = false; - _t._percent = 0; - }else if(_t._active && !_t._paused){ - return _t; // dojo._Animation - } - - _t.fire("beforeBegin"); - - var d = delay||_t.delay; - var _p = dojo.hitch(_t, "_play", gotoStart); - if(d > 0){ - setTimeout(_p, d); - return _t; // dojo._Animation - } - _p(); - return _t; - }, - - _play: function(gotoStart){ - var _t = this; - _t._startTime = new Date().valueOf(); - if(_t._paused){ - _t._startTime -= _t.duration * _t._percent; - } - _t._endTime = _t._startTime + _t.duration; - - _t._active = true; - _t._paused = false; - - var value = _t.curve.getValue(_t._percent); - if(!_t._percent){ - if(!_t._startRepeatCount){ - _t._startRepeatCount = _t.repeat; - } - _t.fire("onBegin", [value]); - } - - _t.fire("onPlay", [value]); - - _t._cycle(); - return _t; // dojo._Animation - }, - - pause: function(){ - // summary: Pauses a running animation. - this._stopTimer(); - if(!this._active){ return this; /*dojo._Animation*/} - this._paused = true; - this.fire("onPause", [this.curve.getValue(this._percent)]); - return this; // dojo._Animation - }, - - gotoPercent: function(/*Decimal*/ percent, /*Boolean?*/ andPlay){ - // summary: - // Sets the progress of the animation. - // percent: - // A percentage in decimal notation (between and including 0.0 and 1.0). - // andPlay: - // If true, play the animation after setting the progress. - this._stopTimer(); - this._active = this._paused = true; - this._percent = percent * 100; - if(andPlay){ this.play(); } - return this; // dojo._Animation - }, - - stop: function(/*boolean?*/ gotoEnd){ - // summary: Stops a running animation. - // gotoEnd: If true, the animation will end. - if(!this._timer){ return; } - this._stopTimer(); - if(gotoEnd){ - this._percent = 1; - } - this.fire("onStop", [this.curve.getValue(this._percent)]); - this._active = this._paused = false; - return this; // dojo._Animation - }, - - status: function(){ - // summary: Returns a string token representation of the status of - // the animation, one of: "paused", "playing", "stopped" - if(this._active){ - return this._paused ? "paused" : "playing"; // String - } - return "stopped"; // String - }, - - _cycle: function(){ - var _t = this; - if(_t._active){ - var curr = new Date().valueOf(); - var step = (curr - _t._startTime) / (_t._endTime - _t._startTime); - - if(step >= 1){ - step = 1; - } - _t._percent = step; - - // Perform easing - if(_t.easing){ - step = _t.easing(step); - } - - _t.fire("onAnimate", [_t.curve.getValue(step)]); - - if(step < 1){ - _t._startTimer(); - }else{ - _t._active = false; - - if(_t.repeat > 0){ - _t.repeat--; - _t.play(null, true); - }else if(_t.repeat == -1){ - _t.play(null, true); - }else{ - if(_t._startRepeatCount){ - _t.repeat = _t._startRepeatCount; - _t._startRepeatCount = 0; - } - } - _t._percent = 0; - _t.fire("onEnd"); - } - } - return _t; // dojo._Animation - } -}); - -(function(){ - var d = dojo; - var ctr = 0; - var _globalTimerList = []; - var runner = { - run: function(){} - }; - var timer = null; - dojo._Animation.prototype._startTimer = function(){ - // this._timer = setTimeout(dojo.hitch(this, "_cycle"), this.rate); - if(!this._timer){ - this._timer = dojo.connect(runner, "run", this, "_cycle"); - ctr++; - } - if(!timer){ - timer = setInterval(dojo.hitch(runner, "run"), this.rate); - } - }; - - dojo._Animation.prototype._stopTimer = function(){ - dojo.disconnect(this._timer); - this._timer = null; - ctr--; - if(!ctr){ - clearInterval(timer); - timer = null; - } - }; - - var _makeFadeable = (d.isIE) ? function(node){ - // only set the zoom if the "tickle" value would be the same as the - // default - var ns = node.style; - if(!ns.zoom.length && d.style(node, "zoom") == "normal"){ - // make sure the node "hasLayout" - // NOTE: this has been tested with larger and smaller user-set text - // sizes and works fine - ns.zoom = "1"; - // node.style.zoom = "normal"; - } - // don't set the width to auto if it didn't already cascade that way. - // We don't want to f anyones designs - if(!ns.width.length && d.style(node, "width") == "auto"){ - ns.width = "auto"; - } - } : function(){}; - - dojo._fade = function(/*Object*/ args){ - // summary: - // Returns an animation that will fade the node defined by - // args.node from the start to end values passed (args.start - // args.end) (end is mandatory, start is optional) - - args.node = d.byId(args.node); - var fArgs = d.mixin({ properties: {} }, args); - var props = (fArgs.properties.opacity = {}); - props.start = !("start" in fArgs) ? - function(){ return Number(d.style(fArgs.node, "opacity")); } : fArgs.start; - props.end = fArgs.end; - - var anim = d.animateProperty(fArgs); - d.connect(anim, "beforeBegin", d.partial(_makeFadeable, fArgs.node)); - - return anim; // dojo._Animation - } - - /*===== - dojo.__fadeArgs = function(kwArgs){ - // duration: Integer? - // Duration of the animation in milliseconds. - // easing: Function? - // An easing function. - } - =====*/ - - dojo.fadeIn = function(/*dojo.__fadeArgs*/ args){ - // summary: - // Returns an animation that will fade node defined in 'args' from - // its current opacity to fully opaque. - return d._fade(d.mixin({ end: 1 }, args)); // dojo._Animation - } - - dojo.fadeOut = function(/*dojo.__fadeArgs*/ args){ - // summary: - // Returns an animation that will fade node defined in 'args' - // from its current opacity to fully transparent. - return d._fade(d.mixin({ end: 0 }, args)); // dojo._Animation - } - - dojo._defaultEasing = function(/*Decimal?*/ n){ - // summary: The default easing function for dojo._Animation(s) - return 0.5 + ((Math.sin((n + 1.5) * Math.PI))/2); - } - - var PropLine = function(properties){ - this._properties = properties; - for(var p in properties){ - var prop = properties[p]; - if(prop.start instanceof d.Color){ - // create a reusable temp color object to keep intermediate results - prop.tempColor = new d.Color(); - } - } - this.getValue = function(r){ - var ret = {}; - for(var p in this._properties){ - var prop = this._properties[p]; - var start = prop.start; - if(start instanceof d.Color){ - ret[p] = d.blendColors(start, prop.end, r, prop.tempColor).toCss(); - }else if(!d.isArray(start)){ - ret[p] = ((prop.end - start) * r) + start + (p != "opacity" ? prop.units||"px" : ""); - } - } - return ret; - } - } - - dojo.animateProperty = function(/*Object*/ args){ - // summary: - // Returns an animation that will transition the properties of - // node defined in 'args' depending how they are defined in - // 'args.properties' - // - // description: - // The foundation of most dojo.fx animations, dojo.AnimateProperty - // will take an object of "properties" corresponding to style - // properties, and animate them in parallel over a set duration. - // - // args.node can be a String or a DomNode reference - // - // example: - // | dojo.animateProperty({ node: node, duration:2000, - // | properties: { - // | width: { start: '200', end: '400', unit:"px" }, - // | height: { start:'200', end: '400', unit:"px" }, - // | paddingTop: { start:'5', end:'50', unit:"px" } - // | } - // | }).play(); - // - - args.node = d.byId(args.node); - if(!args.easing){ args.easing = d._defaultEasing; } - - var anim = new d._Animation(args); - d.connect(anim, "beforeBegin", anim, function(){ - var pm = {}; - for(var p in this.properties){ - // Make shallow copy of properties into pm because we overwrite some values below. - // In particular if start/end are functions we don't want to overwrite them or - // the functions won't be called if the animation is reused. - var prop = (pm[p] = d.mixin({}, this.properties[p])); - - if(d.isFunction(prop.start)){ - prop.start = prop.start(); - } - if(d.isFunction(prop.end)){ - prop.end = prop.end(); - } - - var isColor = (p.toLowerCase().indexOf("color") >= 0); - function getStyle(node, p){ - // dojo.style(node, "height") can return "auto" or "" on IE; this is more reliable: - var v = ({height: node.offsetHeight, width: node.offsetWidth})[p]; - if(v !== undefined){ return v; } - v = d.style(node, p); - return (p=="opacity") ? Number(v) : parseFloat(v); - } - if(!("end" in prop)){ - prop.end = getStyle(this.node, p); - }else if(!("start" in prop)){ - prop.start = getStyle(this.node, p); - } - - if(isColor){ - // console.debug("it's a color!"); - prop.start = new d.Color(prop.start); - prop.end = new d.Color(prop.end); - }else{ - prop.start = (p == "opacity") ? Number(prop.start) : parseFloat(prop.start); - } - // console.debug("start:", prop.start); - // console.debug("end:", prop.end); - } - this.curve = new PropLine(pm); - }); - d.connect(anim, "onAnimate", anim, function(propValues){ - // try{ - for(var s in propValues){ - // console.debug(s, propValues[s], this.node.style[s]); - d.style(this.node, s, propValues[s]); - // this.node.style[s] = propValues[s]; - } - // }catch(e){ console.debug(dojo.toJson(e)); } - }); - return anim; // dojo._Animation - } -})(); - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_base/html.js b/spring-faces/src/main/resources/META-INF/dojo/_base/html.js deleted file mode 100644 index 1327d125..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/_base/html.js +++ /dev/null @@ -1,994 +0,0 @@ -if(!dojo._hasResource["dojo._base.html"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.html"] = true; -dojo.require("dojo._base.lang"); -dojo.provide("dojo._base.html"); - -// FIXME: need to add unit tests for all the semi-public methods - -try{ - document.execCommand("BackgroundImageCache", false, true); -}catch(e){ - // sane browsers don't have cache "issues" -} - -// ============================= -// DOM Functions -// ============================= - -/*===== -dojo.byId = function(id, doc){ - // summary: - // similar to other library's "$" function, takes a - // string representing a DOM id or a DomNode - // and returns the corresponding DomNode. If a Node is - // passed, this function is a no-op. Returns a - // single DOM node or null, working around several - // browser-specific bugs to do so. - // id: String|DOMNode - // DOM id or DOM Node - // doc: DocumentElement - // Document to work in. Defaults to the current value of - // dojo.doc. Can be used to retreive - // node references from other documents. -=====*/ -if(dojo.isIE || dojo.isOpera){ - dojo.byId = function(id, doc){ - if(dojo.isString(id)){ - var _d = doc || dojo.doc; - var te = _d.getElementById(id); - // attributes.id.value is better than just id in case the - // user has a name=id inside a form - if(te && te.attributes.id.value == id){ - return te; - }else{ - var eles = _d.all[id]; - if(!eles){ return; } - if(!eles.length){ return eles; } - // if more than 1, choose first with the correct id - var i=0; - while((te=eles[i++])){ - if(te.attributes.id.value == id){ return te; } - } - } - }else{ - return id; // DomNode - } - } -}else{ - dojo.byId = function(id, doc){ - if(dojo.isString(id)){ - return (doc || dojo.doc).getElementById(id); - }else{ - return id; // DomNode - } - } -} -/*===== -} -=====*/ - -(function(){ - /* - dojo.createElement = function(obj, parent, position){ - // TODO: need to finish this! - } - */ - - var _destroyContainer = null; - dojo._destroyElement = function(/*String||DomNode*/node){ - // summary: - // removes node from its parent, clobbers it and all of its - // children. - // node: - // the element to be destroyed, either as an ID or a reference - - node = dojo.byId(node); - try{ - if(!_destroyContainer){ - _destroyContainer = document.createElement("div"); - } - _destroyContainer.appendChild(node.parentNode ? node.parentNode.removeChild(node) : node); - // NOTE: see http://trac.dojotoolkit.org/ticket/2931. This may be a bug and not a feature - _destroyContainer.innerHTML = ""; - }catch(e){ - /* squelch */ - } - }; - - dojo.isDescendant = function(/*DomNode|String*/node, /*DomNode|String*/ancestor){ - // summary: - // Returns true if node is a descendant of ancestor - // node: id or node reference to test - // ancestor: id or node reference of potential parent to test against - try{ - node = dojo.byId(node); - ancestor = dojo.byId(ancestor); - while(node){ - if(node === ancestor){ - return true; // Boolean - } - node = node.parentNode; - } - }catch(e){ return -1; /* squelch */ } - return false; // Boolean - }; - - dojo.setSelectable = function(/*DomNode|String*/node, /*Boolean*/selectable){ - // summary: enable or disable selection on a node - // node: - // id or reference to node - // selectable: - node = dojo.byId(node); - if(dojo.isMozilla){ - node.style.MozUserSelect = selectable ? "" : "none"; - }else if(dojo.isKhtml){ - node.style.KhtmlUserSelect = selectable ? "auto" : "none"; - }else if(dojo.isIE){ - node.unselectable = selectable ? "" : "on"; - dojo.query("*", node).forEach(function(descendant){ - descendant.unselectable = selectable ? "" : "on"; - }); - } - //FIXME: else? Opera? - }; - - var _insertBefore = function(/*Node*/node, /*Node*/ref){ - ref.parentNode.insertBefore(node, ref); - return true; // boolean - } - - var _insertAfter = function(/*Node*/node, /*Node*/ref){ - // summary: - // Try to insert node after ref - var pn = ref.parentNode; - if(ref == pn.lastChild){ - pn.appendChild(node); - }else{ - return _insertBefore(node, ref.nextSibling); // boolean - } - return true; // boolean - } - - dojo.place = function(/*String|DomNode*/node, /*String|DomNode*/refNode, /*String|Number*/position){ - // summary: - // attempt to insert node in relation to ref based on position - // node: - // id or reference to node to place relative to refNode - // refNode: - // id or reference of node to use as basis for placement - // position: - // string noting the position of node relative to refNode or a - // number indicating the location in the childNodes collection of - // refNode. Accepted string values are: - // * before - // * after - // * first - // * last - // "first" and "last" indicate positions as children of refNode. - - // FIXME: need to write tests for this!!!! - if(!node || !refNode || position === undefined){ - return false; // boolean - } - node = dojo.byId(node); - refNode = dojo.byId(refNode); - if(typeof position == "number"){ - var cn = refNode.childNodes; - if((position == 0 && cn.length == 0) || - cn.length == position){ - refNode.appendChild(node); return true; - } - if(position == 0){ - return _insertBefore(node, refNode.firstChild); - } - return _insertAfter(node, cn[position-1]); - } - switch(position.toLowerCase()){ - case "before": - return _insertBefore(node, refNode); // boolean - case "after": - return _insertAfter(node, refNode); // boolean - case "first": - if(refNode.firstChild){ - return _insertBefore(node, refNode.firstChild); // boolean - }else{ - refNode.appendChild(node); - return true; // boolean - } - break; - default: // aka: last - refNode.appendChild(node); - return true; // boolean - } - } - - // Box functions will assume this model. - // On IE/Opera, BORDER_BOX will be set if the primary document is in quirks mode. - // Can be set to change behavior of box setters. - - // can be either: - // "border-box" - // "content-box" (default) - dojo.boxModel = "content-box"; - - // We punt per-node box mode testing completely. - // If anybody cares, we can provide an additional (optional) unit - // that overrides existing code to include per-node box sensitivity. - - // Opera documentation claims that Opera 9 uses border-box in BackCompat mode. - // but experiments (Opera 9.10.8679 on Windows Vista) indicate that it actually continues to use content-box. - // IIRC, earlier versions of Opera did in fact use border-box. - // Opera guys, this is really confusing. Opera being broken in quirks mode is not our fault. - - if(dojo.isIE /*|| dojo.isOpera*/){ - var _dcm = document.compatMode; - // client code may have to adjust if compatMode varies across iframes - dojo.boxModel = (_dcm=="BackCompat")||(_dcm=="QuirksMode")||(dojo.isIE<6) ? "border-box" : "content-box"; - } - - // ============================= - // Style Functions - // ============================= - - // getComputedStyle drives most of the style code. - // Wherever possible, reuse the returned object. - // - // API functions below that need to access computed styles accept an - // optional computedStyle parameter. - // - // If this parameter is omitted, the functions will call getComputedStyle themselves. - // - // This way, calling code can access computedStyle once, and then pass the reference to - // multiple API functions. - // - // This is a faux declaration to take pity on the doc tool - -/*===== - dojo.getComputedStyle = function(node){ - // summary: - // Returns a "computed style" object. - // description: - // get "computed style" object which can be used to gather - // information about the current state of the rendered node. - // - // Note that this may behave differently on different browsers. - // Values may have different formats and value encodings across - // browsers. - // - // Use the dojo.style() method for more consistent (pixelized) - // return values. - // node: DOMNode - // a reference to a DOM node. Does NOT support taking an - // ID string for speed reasons. - // example: - // | dojo.getComputedStyle(dojo.byId('foo')).borderWidth; - return; // CSS2Properties - } -=====*/ - - var gcs, dv = document.defaultView; - if(dojo.isSafari){ - gcs = function(/*DomNode*/node){ - var s = dv.getComputedStyle(node, null); - if(!s && node.style){ - node.style.display = ""; - s = dv.getComputedStyle(node, null); - } - return s || {}; - }; - }else if(dojo.isIE){ - gcs = function(node){ - return node.currentStyle; - }; - }else{ - gcs = function(node){ - return dv.getComputedStyle(node, null); - }; - } - dojo.getComputedStyle = gcs; - - if(!dojo.isIE){ - dojo._toPixelValue = function(element, value){ - // style values can be floats, client code may want - // to round for integer pixels. - return parseFloat(value) || 0; - } - }else{ - dojo._toPixelValue = function(element, avalue){ - if(!avalue){ return 0; } - // on IE7, medium is usually 4 pixels - if(avalue=="medium"){ return 4; } - // style values can be floats, client code may - // want to round this value for integer pixels. - if(avalue.slice && (avalue.slice(-2)=='px')){ return parseFloat(avalue); } - with(element){ - var sLeft = style.left; - var rsLeft = runtimeStyle.left; - runtimeStyle.left = currentStyle.left; - try{ - // 'avalue' may be incompatible with style.left, which can cause IE to throw - // this has been observed for border widths using "thin", "medium", "thick" constants - // those particular constants could be trapped by a lookup - // but perhaps there are more - style.left = avalue; - avalue = style.pixelLeft; - }catch(e){ - avalue = 0; - } - style.left = sLeft; - runtimeStyle.left = rsLeft; - } - return avalue; - } - } - - // FIXME: there opacity quirks on FF that we haven't ported over. Hrm. - /*===== - dojo._getOpacity = function(node){ - // summary: - // Returns the current opacity of the passed node as a - // floating-point value between 0 and 1. - // node: DomNode - // a reference to a DOM node. Does NOT support taking an - // ID string for speed reasons. - // return: Number between 0 and 1 - } - =====*/ - - dojo._getOpacity = (dojo.isIE ? function(node){ - try{ - return (node.filters.alpha.opacity / 100); // Number - }catch(e){ - return 1; // Number - } - } : function(node){ - return dojo.getComputedStyle(node).opacity; - } - ); - - /*===== - dojo._setOpacity = function(node, opacity){ - // summary: - // set the opacity of the passed node portably. Returns the - // new opacity of the node. - // node: DOMNode - // a reference to a DOM node. Does NOT support taking an - // ID string for performance reasons. - // opacity: Number - // A Number between 0 and 1. 0 specifies transparent. - // return: Number between 0 and 1 - } - =====*/ - - dojo._setOpacity = (dojo.isIE ? function(/*DomNode*/node, /*Number*/opacity){ - if(opacity == 1){ - // on IE7 Alpha(Filter opacity=100) makes text look fuzzy so remove it altogether (bug #2661) - node.style.cssText = node.style.cssText.replace(/FILTER:[^;]*;/i, ""); - if(node.nodeName.toLowerCase() == "tr"){ - dojo.query("> td", node).forEach(function(i){ - i.style.cssText = i.style.cssText.replace(/FILTER:[^;]*;/i, ""); - }); - } - }else{ - var o = "Alpha(Opacity="+(opacity*100)+")"; - node.style.filter = o; - } - if(node.nodeName.toLowerCase() == "tr"){ - dojo.query("> td", node).forEach(function(i){ - i.style.filter = o; - }); - } - return opacity; - } : function(node, opacity){ - return node.style.opacity = opacity; - } - ); - - var _pixelNamesCache = { - width: true, height: true, left: true, top: true - }; - var _toStyleValue = function(node, type, value){ - type = type.toLowerCase(); - if(_pixelNamesCache[type] === true){ - return dojo._toPixelValue(node, value) - }else if(_pixelNamesCache[type] === false){ - return value; - }else{ - if(dojo.isOpera && type == "cssText"){ - // FIXME: add workaround for #2855 here - } - if( - (type.indexOf("margin") >= 0) || - // (type.indexOf("border") >= 0) || - (type.indexOf("padding") >= 0) || - (type.indexOf("width") >= 0) || - (type.indexOf("height") >= 0) || - (type.indexOf("max") >= 0) || - (type.indexOf("min") >= 0) || - (type.indexOf("offset") >= 0) - ){ - _pixelNamesCache[type] = true; - return dojo._toPixelValue(node, value) - }else{ - _pixelNamesCache[type] = false; - return value; - } - } - } - - // public API - - dojo.style = function(/*DomNode|String*/ node, /*String*/style, /*String?*/value){ - // summary: - // gets or sets a style property on node. If 2 arguments are - // passed, acts as a getter. If value is passed, acts as a setter - // for the property. - // node: - // id or reference to node to get/set style for - // style: - // the style property to set in DOM-accessor format - // ("borderWidth", not "border-width"). - // value: - // optional. If passed, sets value on the node for style, handling - // cross-browser concerns. - var n=dojo.byId(node), args=arguments.length, op=(style=="opacity"); - if(args==3){ - return op ? dojo._setOpacity(n, value) : n.style[style] = value; /*Number*/ - } - if(args==2 && op){ - return dojo._getOpacity(n); - } - var s = dojo.getComputedStyle(n); - return (args == 1) ? s : _toStyleValue(n, style, s[style]); /* CSS2Properties||String||Number */ - } - - // ============================= - // Box Functions - // ============================= - - dojo._getPadExtents = function(/*DomNode*/n, /*Object*/computedStyle){ - // summary: - // Returns object with special values specifically useful for node - // fitting. - // l/t = left/top padding (respectively) - // w = the total of the left and right padding - // h = the total of the top and bottom padding - // If 'node' has position, l/t forms the origin for child nodes. - // The w/h are used for calculating boxes. - // Normally application code will not need to invoke this - // directly, and will use the ...box... functions instead. - var - s=computedStyle||gcs(n), - px=dojo._toPixelValue, - l=px(n, s.paddingLeft), - t=px(n, s.paddingTop); - return { - l: l, - t: t, - w: l+px(n, s.paddingRight), - h: t+px(n, s.paddingBottom) - }; - } - - dojo._getBorderExtents = function(/*DomNode*/n, /*Object*/computedStyle){ - // summary: - // returns an object with properties useful for noting the border - // dimensions. - // l/t = the sum of left/top border (respectively) - // w = the sum of the left and right border - // h = the sum of the top and bottom border - // The w/h are used for calculating boxes. - // Normally application code will not need to invoke this - // directly, and will use the ...box... functions instead. - var - ne='none', - px=dojo._toPixelValue, - s=computedStyle||gcs(n), - bl=(s.borderLeftStyle!=ne ? px(n, s.borderLeftWidth) : 0), - bt=(s.borderTopStyle!=ne ? px(n, s.borderTopWidth) : 0); - return { - l: bl, - t: bt, - w: bl + (s.borderRightStyle!=ne ? px(n, s.borderRightWidth) : 0), - h: bt + (s.borderBottomStyle!=ne ? px(n, s.borderBottomWidth) : 0) - }; - } - - dojo._getPadBorderExtents = function(/*DomNode*/n, /*Object*/computedStyle){ - // summary: - // returns object with properties useful for box fitting with - // regards to padding. - // l/t = the sum of left/top padding and left/top border (respectively) - // w = the sum of the left and right padding and border - // h = the sum of the top and bottom padding and border - // The w/h are used for calculating boxes. - // Normally application code will not need to invoke this - // directly, and will use the ...box... functions instead. - var - s=computedStyle||gcs(n), - p=dojo._getPadExtents(n, s), - b=dojo._getBorderExtents(n, s); - return { - l: p.l + b.l, - t: p.t + b.t, - w: p.w + b.w, - h: p.h + b.h - }; - } - - dojo._getMarginExtents = function(n, computedStyle){ - // summary: - // returns object with properties useful for box fitting with - // regards to box margins (i.e., the outer-box). - // l/t = marginLeft, marginTop, respectively - // w = total width, margin inclusive - // h = total height, margin inclusive - // The w/h are used for calculating boxes. - // Normally application code will not need to invoke this - // directly, and will use the ...box... functions instead. - var - s=computedStyle||gcs(n), - px=dojo._toPixelValue, - l=px(n, s.marginLeft), - t=px(n, s.marginTop), - r=px(n, s.marginRight), - b=px(n, s.marginBottom); - if (dojo.isSafari && (s.position != "absolute")){ - // FIXME: Safari's version of the computed right margin - // is the space between our right edge and the right edge - // of our offsetParent. - // What we are looking for is the actual margin value as - // determined by CSS. - // Hack solution is to assume left/right margins are the same. - r = l; - } - return { - l: l, - t: t, - w: l+r, - h: t+b - }; - } - - // Box getters work in any box context because offsetWidth/clientWidth - // are invariant wrt box context - // - // They do *not* work for display: inline objects that have padding styles - // because the user agent ignores padding (it's bogus styling in any case) - // - // Be careful with IMGs because they are inline or block depending on - // browser and browser mode. - - // Although it would be easier to read, there are not separate versions of - // _getMarginBox for each browser because: - // 1. the branching is not expensive - // 2. factoring the shared code wastes cycles (function call overhead) - // 3. duplicating the shared code wastes bytes - - dojo._getMarginBox = function(/*DomNode*/node, /*Object*/computedStyle){ - // summary: - // returns an object that encodes the width, height, left and top - // positions of the node's margin box. - var s = computedStyle||gcs(node), me = dojo._getMarginExtents(node, s); - var l = node.offsetLeft - me.l, t = node.offsetTop - me.t; - if(dojo.isMoz){ - // Mozilla: - // If offsetParent has a computed overflow != visible, the offsetLeft is decreased - // by the parent's border. - // We don't want to compute the parent's style, so instead we examine node's - // computed left/top which is more stable. - var sl = parseFloat(s.left), st = parseFloat(s.top); - if(!isNaN(sl) && !isNaN(st)){ - l = sl, t = st; - }else{ - // If child's computed left/top are not parseable as a number (e.g. "auto"), we - // have no choice but to examine the parent's computed style. - var p = node.parentNode; - if(p && p.style){ - var pcs = gcs(p); - if(pcs.overflow != "visible"){ - var be = dojo._getBorderExtents(p, pcs); - l += be.l, t += be.t; - } - } - } - }else if(dojo.isOpera){ - // On Opera, offsetLeft includes the parent's border - var p = node.parentNode; - if(p){ - var be = dojo._getBorderExtents(p); - l -= be.l, t -= be.t; - } - } - return { - l: l, - t: t, - w: node.offsetWidth + me.w, - h: node.offsetHeight + me.h - }; - } - - dojo._getContentBox = function(node, computedStyle){ - // summary: - // Returns an object that encodes the width, height, left and top - // positions of the node's content box, irrespective of the - // current box model. - - // clientWidth/Height are important since the automatically account for scrollbars - // fallback to offsetWidth/Height for special cases (see #3378) - var s=computedStyle||gcs(node), pe=dojo._getPadExtents(node, s), be=dojo._getBorderExtents(node, s), w=node.clientWidth, h; - if(!w){ - w=node.offsetWidth, h=node.offsetHeight; - }else{ - h=node.clientHeight, be.w = be.h = 0; - } - // On Opera, offsetLeft includes the parent's border - if(dojo.isOpera){ pe.l += be.l; pe.t += be.t; }; - return { - l: pe.l, - t: pe.t, - w: w - pe.w - be.w, - h: h - pe.h - be.h - }; - } - - dojo._getBorderBox = function(node, computedStyle){ - var s=computedStyle||gcs(node), pe=dojo._getPadExtents(node, s), cb=dojo._getContentBox(node, s); - return { - l: cb.l - pe.l, - t: cb.t - pe.t, - w: cb.w + pe.w, - h: cb.h + pe.h - }; - } - - // Box setters depend on box context because interpretation of width/height styles - // vary wrt box context. - // - // The value of dojo.boxModel is used to determine box context. - // dojo.boxModel can be set directly to change behavior. - // - // Beware of display: inline objects that have padding styles - // because the user agent ignores padding (it's a bogus setup anyway) - // - // Be careful with IMGs because they are inline or block depending on - // browser and browser mode. - // - // Elements other than DIV may have special quirks, like built-in - // margins or padding, or values not detectable via computedStyle. - // In particular, margins on TABLE do not seems to appear - // at all in computedStyle on Mozilla. - - dojo._setBox = function(/*DomNode*/node, /*Number?*/l, /*Number?*/t, /*Number?*/w, /*Number?*/h, /*String?*/u){ - // summary: - // sets width/height/left/top in the current (native) box-model - // dimentions. Uses the unit passed in u. - // node: DOM Node reference. Id string not supported for performance reasons. - // l: optional. left offset from parent. - // t: optional. top offset from parent. - // w: optional. width in current box model. - // h: optional. width in current box model. - // u: optional. unit measure to use for other measures. Defaults to "px". - u = u || "px"; - with(node.style){ - if(!isNaN(l)){ left = l+u; } - if(!isNaN(t)){ top = t+u; } - if(w>=0){ width = w+u; } - if(h>=0){ height = h+u; } - } - } - - dojo._usesBorderBox = function(/*DomNode*/node){ - // summary: - // True if the node uses border-box layout. - - // We could test the computed style of node to see if a particular box - // has been specified, but there are details and we choose not to bother. - var n = node.tagName; - // For whatever reason, TABLE and BUTTON are always border-box by default. - // If you have assigned a different box to either one via CSS then - // box functions will break. - return dojo.boxModel=="border-box" || n=="TABLE" || n=="BUTTON"; // boolean - } - - dojo._setContentSize = function(/*DomNode*/node, /*Number*/widthPx, /*Number*/heightPx, /*Object*/computedStyle){ - // summary: - // Sets the size of the node's contents, irrespective of margins, - // padding, or borders. - var bb = dojo._usesBorderBox(node); - if(bb){ - var pb = dojo._getPadBorderExtents(node, computedStyle); - if(widthPx>=0){ widthPx += pb.w; } - if(heightPx>=0){ heightPx += pb.h; } - } - dojo._setBox(node, NaN, NaN, widthPx, heightPx); - } - - dojo._setMarginBox = function(/*DomNode*/node, /*Number?*/leftPx, /*Number?*/topPx, - /*Number?*/widthPx, /*Number?*/heightPx, - /*Object*/computedStyle){ - // summary: - // sets the size of the node's margin box and palcement - // (left/top), irrespective of box model. Think of it as a - // passthrough to dojo._setBox that handles box-model vagaries for - // you. - - var s = computedStyle || dojo.getComputedStyle(node); - // Some elements have special padding, margin, and box-model settings. - // To use box functions you may need to set padding, margin explicitly. - // Controlling box-model is harder, in a pinch you might set dojo.boxModel. - var bb=dojo._usesBorderBox(node), - pb=bb ? _nilExtents : dojo._getPadBorderExtents(node, s), - mb=dojo._getMarginExtents(node, s); - if(widthPx>=0){ widthPx = Math.max(widthPx - pb.w - mb.w, 0); } - if(heightPx>=0){ heightPx = Math.max(heightPx - pb.h - mb.h, 0); } - dojo._setBox(node, leftPx, topPx, widthPx, heightPx); - } - - var _nilExtents = { l:0, t:0, w:0, h:0 }; - - // public API - - dojo.marginBox = function(/*DomNode|String*/node, /*Object?*/box){ - // summary: - // getter/setter for the margin-box of node. - // description: - // Returns an object in the expected format of box (regardless - // if box is passed). The object might look like: - // { l: 50, t: 200, w: 300: h: 150 } - // for a node offset from its parent 50px to the left, 200px from - // the top with a margin width of 300px and a margin-height of - // 150px. - // node: - // id or reference to DOM Node to get/set box for - // box: - // optional. If passed, denotes that dojo.marginBox() should - // update/set the margin box for node. Box is an object in the - // above format. All properties are optional if passed. - var n=dojo.byId(node), s=gcs(n), b=box; - return !b ? dojo._getMarginBox(n, s) : dojo._setMarginBox(n, b.l, b.t, b.w, b.h, s); // Object - } - - dojo.contentBox = function(/*DomNode|String*/node, /*Object?*/box){ - // summary: - // getter/setter for the content-box of node. - // description: - // Returns an object in the expected format of box (regardless if box is passed). - // The object might look like: - // { l: 50, t: 200, w: 300: h: 150 } - // for a node offset from its parent 50px to the left, 200px from - // the top with a content width of 300px and a content-height of - // 150px. Note that the content box may have a much larger border - // or margin box, depending on the box model currently in use and - // CSS values set/inherited for node. - // node: - // id or reference to DOM Node to get/set box for - // box: - // optional. If passed, denotes that dojo.contentBox() should - // update/set the content box for node. Box is an object in the - // above format. All properties are optional if passed. - var n=dojo.byId(node), s=gcs(n), b=box; - return !b ? dojo._getContentBox(n, s) : dojo._setContentSize(n, b.w, b.h, s); // Object - } - - // ============================= - // Positioning - // ============================= - - var _sumAncestorProperties = function(node, prop){ - if(!(node = (node||0).parentNode)){return 0}; - var val, retVal = 0, _b = dojo.body(); - while(node && node.style){ - if(gcs(node).position == "fixed"){ - return 0; - } - val = node[prop]; - if(val){ - retVal += val - 0; - // opera and khtml #body & #html has the same values, we only - // need one value - if(node == _b){ break; } - } - node = node.parentNode; - } - return retVal; // integer - } - - dojo._docScroll = function(){ - var _b = dojo.body(); - var _w = dojo.global; - var de = dojo.doc.documentElement; - return { - y: (_w.pageYOffset || de.scrollTop || _b.scrollTop || 0), - x: (_w.pageXOffset || dojo._fixIeBiDiScrollLeft(de.scrollLeft) || _b.scrollLeft || 0) - }; - }; - - dojo._isBodyLtr = function(){ - //FIXME: could check html and body tags directly instead of computed style? need to ignore case, accept empty values - return !("_bodyLtr" in dojo) ? - dojo._bodyLtr = dojo.getComputedStyle(dojo.body()).direction == "ltr" : - dojo._bodyLtr; // Boolean - } - - dojo._getIeDocumentElementOffset = function(){ - // summary - // The following values in IE contain an offset: - // event.clientX - // event.clientY - // node.getBoundingClientRect().left - // node.getBoundingClientRect().top - // But other position related values do not contain this offset, such as - // node.offsetLeft, node.offsetTop, node.style.left and node.style.top. - // The offset is always (2, 2) in LTR direction. When the body is in RTL - // direction, the offset counts the width of left scroll bar's width. - // This function computes the actual offset. - - //NOTE: assumes we're being called in an IE browser - - var de = dojo.doc.documentElement; - if(dojo.isIE >= 7){ - return {x: de.getBoundingClientRect().left, y: de.getBoundingClientRect().top}; // Object - }else{ - // IE 6.0 - return {x: dojo._isBodyLtr() || window.parent == window ? - de.clientLeft : de.offsetWidth - de.clientWidth - de.clientLeft, - y: de.clientTop}; // Object - } - }; - - dojo._fixIeBiDiScrollLeft = function(/*Integer*/ scrollLeft){ - // In RTL direction, scrollLeft should be a negative value, but IE - // returns a positive one. All codes using documentElement.scrollLeft - // must call this function to fix this error, otherwise the position - // will offset to right when there is a horizonal scrollbar. - if(dojo.isIE && !dojo._isBodyLtr()){ - var de = dojo.doc.documentElement; - return scrollLeft + de.clientWidth - de.scrollWidth; // Integer - } - return scrollLeft; // Integer - } - - dojo._abs = function(/*DomNode*/node, /*Boolean?*/includeScroll){ - // summary: - // Gets the absolute position of the passed element based on the - // document itself. Returns an object of the form: - // { x: 100, y: 300 } - // if includeScroll is passed, the x and y values will include any - // document offsets that may affect the position relative to the - // viewport. - - // FIXME: need to decide in the brave-new-world if we're going to be - // margin-box or border-box. - var ownerDocument = node.ownerDocument; - var ret = { - x: 0, - y: 0 - }; - var hasScroll = false; - - // targetBoxType == "border-box" - var db = dojo.body(); - if(dojo.isIE){ - var client = node.getBoundingClientRect(); - var offset = dojo._getIeDocumentElementOffset(); - ret.x = client.left - offset.x; - ret.y = client.top - offset.y; - }else if(ownerDocument["getBoxObjectFor"]){ - // mozilla - var bo = ownerDocument.getBoxObjectFor(node); - ret.x = bo.x - _sumAncestorProperties(node, "scrollLeft"); - ret.y = bo.y - _sumAncestorProperties(node, "scrollTop"); - }else{ - if(node["offsetParent"]){ - hasScroll = true; - var endNode; - // in Safari, if the node is an absolutely positioned child of - // the body and the body has a margin the offset of the child - // and the body contain the body's margins, so we need to end - // at the body - // FIXME: getting contrary results to the above in latest WebKit. - if(dojo.isSafari && - //(node.style.getPropertyValue("position") == "absolute") && - (gcs(node).position == "absolute") && - (node.parentNode == db)){ - endNode = db; - }else{ - endNode = db.parentNode; - } - if(node.parentNode != db){ - var nd = node; - if(dojo.isOpera || (dojo.isSafari >= 5)){ nd = db; } - ret.x -= _sumAncestorProperties(nd, "scrollLeft"); - ret.y -= _sumAncestorProperties(nd, "scrollTop"); - } - var curnode = node; - do{ - var n = curnode["offsetLeft"]; - //FIXME: ugly hack to workaround the submenu in - //popupmenu2 does not shown up correctly in opera. - //Someone have a better workaround? - if(!dojo.isOpera || n>0){ - ret.x += isNaN(n) ? 0 : n; - } - var m = curnode["offsetTop"]; - ret.y += isNaN(m) ? 0 : m; - curnode = curnode.offsetParent; - }while((curnode != endNode)&&curnode); - }else if(node["x"]&&node["y"]){ - ret.x += isNaN(node.x) ? 0 : node.x; - ret.y += isNaN(node.y) ? 0 : node.y; - } - } - // account for document scrolling - // if offsetParent is used, ret value already includes scroll position - // so we may have to actually remove that value if !includeScroll - if(hasScroll || includeScroll){ - var scroll = dojo._docScroll(); - var m = hasScroll ? (!includeScroll ? -1 : 0) : 1; - ret.y += m*scroll.y; - ret.x += m*scroll.x; - } - - return ret; // object - } - - // FIXME: need a setter for coords or a moveTo!! - dojo.coords = function(/*DomNode|String*/node, /*Boolean?*/includeScroll){ - // summary: - // Returns an object that measures margin box width/height and - // absolute positioning data from dojo._abs(). Return value will - // be in the form: - // { l: 50, t: 200, w: 300: h: 150, x: 100, y: 300 } - // does not act as a setter. If includeScroll is passed, the x and - // y params are affected as one would expect in dojo._abs(). - var n=dojo.byId(node), s=gcs(n), mb=dojo._getMarginBox(n, s); - var abs = dojo._abs(n, includeScroll); - mb.x = abs.x; - mb.y = abs.y; - return mb; - } -})(); - -// ============================= -// (CSS) Class Functions -// ============================= - -dojo.hasClass = function(/*DomNode|String*/node, /*String*/classStr){ - // summary: - // Returns whether or not the specified classes are a portion of the - // class list currently applied to the node. - return ((" "+dojo.byId(node).className+" ").indexOf(" "+classStr+" ") >= 0); // Boolean -}; - -dojo.addClass = function(/*DomNode|String*/node, /*String*/classStr){ - // summary: - // Adds the specified classes to the end of the class list on the - // passed node. - node = dojo.byId(node); - var cls = node.className; - if((" "+cls+" ").indexOf(" "+classStr+" ") < 0){ - node.className = cls + (cls ? ' ' : '') + classStr; - } -}; - -dojo.removeClass = function(/*DomNode|String*/node, /*String*/classStr){ - // summary: Removes the specified classes from node. - node = dojo.byId(node); - var t = dojo.trim((" " + node.className + " ").replace(" " + classStr + " ", " ")); - if(node.className != t){ node.className = t; } -}; - -dojo.toggleClass = function(/*DomNode|String*/node, /*String*/classStr, /*Boolean?*/condition){ - // summary: - // Adds a class to node if not present, or removes if present. - // Pass a boolean condition if you want to explicitly add or remove. - // condition: - // If passed, true means to add the class, false means to remove. - if(condition === undefined){ - condition = !dojo.hasClass(node, classStr); - } - dojo[condition ? "addClass" : "removeClass"](node, classStr); -}; - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_base/json.js b/spring-faces/src/main/resources/META-INF/dojo/_base/json.js deleted file mode 100644 index ef22440c..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/_base/json.js +++ /dev/null @@ -1,144 +0,0 @@ -if(!dojo._hasResource["dojo._base.json"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.json"] = true; -dojo.provide("dojo._base.json"); - -dojo.fromJson = function(/*String*/ json){ - // summary: - // evaluates the passed string-form of a JSON object - // json: - // a string literal of a JSON item, for instance: - // '{ "foo": [ "bar", 1, { "baz": "thud" } ] }' - // return: - // An object, the result of the evaluation - - // FIXME: should this accept mozilla's optional second arg? - try { - return eval("(" + json + ")"); - }catch(e){ - console.debug(e); - return json; - } -} - -dojo._escapeString = function(/*String*/str){ - //summary: - // Adds escape sequences for non-visual characters, double quote and - // backslash and surrounds with double quotes to form a valid string - // literal. - return ('"' + str.replace(/(["\\])/g, '\\$1') + '"' - ).replace(/[\f]/g, "\\f" - ).replace(/[\b]/g, "\\b" - ).replace(/[\n]/g, "\\n" - ).replace(/[\t]/g, "\\t" - ).replace(/[\r]/g, "\\r"); // string -} - -dojo.toJsonIndentStr = "\t"; -dojo.toJson = function(/*Object*/ it, /*Boolean?*/ prettyPrint, /*String?*/ _indentStr){ - // summary: - // Create a JSON serialization of an object. - // Note that this doesn't check for infinite recursion, so don't do that! - // - // it: - // an object to be serialized. Objects may define their own - // serialization via a special "__json__" or "json" function - // property. If a specialized serializer has been defined, it will - // be used as a fallback. - // - // prettyPrint: - // if 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(). - // - // _indentStr: - // private variable for recursive calls when pretty printing, do not use. - // - // return: - // a String representing the serialized version of the passed object. - - _indentStr = _indentStr || ""; - var nextIndent = (prettyPrint ? _indentStr + dojo.toJsonIndentStr : ""); - var newLine = (prettyPrint ? "\n" : ""); - var objtype = typeof(it); - if(objtype == "undefined"){ - return "undefined"; - }else if((objtype == "number")||(objtype == "boolean")){ - return it + ""; - }else if(it === null){ - return "null"; - } - if(dojo.isString(it)){ - return dojo._escapeString(it); - } - if(it.nodeType && it.cloneNode){ // isNode - return ""; // FIXME: would something like outerHTML be better here? - } - // recurse - var recurse = arguments.callee; - // short-circuit for objects that support "json" serialization - // if they return "self" then just pass-through... - var newObj; - if(typeof it.__json__ == "function"){ - newObj = it.__json__(); - if(it !== newObj){ - return recurse(newObj, prettyPrint, nextIndent); - } - } - if(typeof it.json == "function"){ - newObj = it.json(); - if(it !== newObj){ - return recurse(newObj, prettyPrint, nextIndent); - } - } - // array - if(dojo.isArray(it)){ - var res = []; - for(var i = 0; i < it.length; i++){ - var val = recurse(it[i], prettyPrint, nextIndent); - if(typeof(val) != "string"){ - val = "undefined"; - } - res.push(newLine + nextIndent + val); - } - return "[" + res.join(", ") + newLine + _indentStr + "]"; - } - /* - // look in the registry - try { - window.o = it; - newObj = dojo.json.jsonRegistry.match(it); - return recurse(newObj, prettyPrint, nextIndent); - }catch(e){ - // console.debug(e); - } - // it's a function with no adapter, skip it - */ - if(objtype == "function"){ - return null; - } - // generic object code path - var output = []; - for(var key in it){ - var keyStr; - if(typeof(key) == "number"){ - keyStr = '"' + key + '"'; - }else if(typeof(key) == "string"){ - keyStr = dojo._escapeString(key); - }else{ - // skip non-string or number keys - continue; - } - val = recurse(it[key], prettyPrint, nextIndent); - if(typeof(val) != "string"){ - // skip non-serializable values - continue; - } - // FIXME: use += on Moz!! - // MOW NOTE: using += is a pain because you have to account for the dangling comma... - output.push(newLine + nextIndent + keyStr + ": " + val); - } - return "{" + output.join(", ") + newLine + _indentStr + "}"; -} - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_base/lang.js b/spring-faces/src/main/resources/META-INF/dojo/_base/lang.js deleted file mode 100644 index bce6c409..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/_base/lang.js +++ /dev/null @@ -1,248 +0,0 @@ -if(!dojo._hasResource["dojo._base.lang"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.lang"] = true; -dojo.provide("dojo._base.lang"); - -// Crockford (ish) functions - -dojo.isString = function(/*anything*/ it){ - // summary: Return true if it is a String - return typeof it == "string" || it instanceof String; // Boolean -} - -dojo.isArray = function(/*anything*/ it){ - // summary: Return true if it is an Array - return it && it instanceof Array || typeof it == "array"; // Boolean -} - -/*===== -dojo.isFunction = function(it){ - // summary: Return true if it is a Function - // it: anything -} -=====*/ - -dojo.isFunction = (function(){ - var _isFunction = function(/*anything*/ it){ - return typeof it == "function" || it instanceof Function; // Boolean - }; - - return dojo.isSafari ? - // only slow this down w/ gratuitious casting in Safari since it's what's b0rken - function(/*anything*/ it){ - if(typeof it == "function" && it == "[object NodeList]"){ return false; } - return _isFunction(it); // Boolean - } : _isFunction; -})(); - -dojo.isObject = function(/*anything*/ it){ - // summary: - // Returns true if it is a JavaScript object (or an Array, a Function or null) - return it !== undefined && - (it === null || typeof it == "object" || dojo.isArray(it) || dojo.isFunction(it)); // Boolean -} - -dojo.isArrayLike = function(/*anything*/ it){ - // summary: - // similar to dojo.isArray() but more permissive - // description: - // Doesn't strongly test for "arrayness". Instead, settles for "isn't - // a string or number and has a length property". Arguments objects - // and DOM collections will return true when passed to - // dojo.isArrayLike(), but will return false when passed to - // dojo.isArray(). - // return: - // If it walks like a duck and quicks like a duck, return true - var d = dojo; - return it && it !== undefined && - // keep out built-in constructors (Number, String, ...) which have length - // properties - !d.isString(it) && !d.isFunction(it) && - !(it.tagName && it.tagName.toLowerCase() == 'form') && - (d.isArray(it) || isFinite(it.length)); // Boolean -} - -dojo.isAlien = function(/*anything*/ it){ - // summary: - // Returns true if it is a built-in function or some other kind of - // oddball that *should* report as a function but doesn't - return it && !dojo.isFunction(it) && /\{\s*\[native code\]\s*\}/.test(String(it)); // Boolean -} - -dojo.extend = function(/*Object*/ constructor, /*Object...*/ props){ - // summary: - // Adds all properties and methods of props to constructor's - // prototype, making them available to all instances created with - // constructor. - for(var i=1, l=arguments.length; i 2){ - return dojo._hitchArgs.apply(dojo, arguments); // Function - } - if(!method){ - method = scope; - scope = null; - } - if(dojo.isString(method)){ - scope = scope || dojo.global; - if(!scope[method]){ throw(['dojo.hitch: scope["', method, '"] is null (scope="', scope, '")'].join('')); } - return function(){ return scope[method].apply(scope, arguments || []); }; // Function - } - return !scope ? method : function(){ return method.apply(scope, arguments || []); }; // Function -} - -/*===== -dojo.delegate = function(obj, props){ - // summary: - // returns a new object which "looks" to obj for properties which it - // does not have a value for. Optionally takes a bag of properties to - // seed the returned object with initially. - // description: - // This is a small implementaton of the Boodman/Crockford delegation - // pattern in JavaScript. An intermediate object constructor mediates - // the prototype chain for the returned object, using it to delegate - // down to obj for property lookup when object-local lookup fails. - // This can be thought of similarly to ES4's "wrap", save that it does - // not act on types but rather on pure objects. - // obj: - // The object to delegate to for properties not found directly on the - // return object or in props. - // props: - // an object containing properties to assign to the returned object - // returns: - // an Object of anonymous type - // example: - // | var foo = { bar: "baz" }; - // | var thinger = dojo.delegate(foo, { thud: "xyzzy"}); - // | thinger.bar == "baz"; // delegated to foo - // | foo.xyzzy == undefined; // by definition - // | thinger.xyzzy == "xyzzy"; // mixed in from props - // | foo.bar = "thonk"; - // | thinger.bar == "thonk"; // still delegated to foo's bar -} -=====*/ - - -dojo.delegate = dojo._delegate = function(obj, props){ - - // boodman/crockford delegation - function TMP(){}; - TMP.prototype = obj; - var tmp = new TMP(); - if(props){ - dojo.mixin(tmp, props); - } - return tmp; // Object -} - -dojo.partial = function(/*Function|String*/method /*, ...*/){ - // summary: - // similar to hitch() except that the scope object is left to be - // whatever the execution context eventually becomes. - // description: - // Calling dojo.partial is the functional equivalent of calling: - // | dojo.hitch(null, funcName, ...); - var arr = [ null ]; - return dojo.hitch.apply(dojo, arr.concat(dojo._toArray(arguments))); // Function -} - -dojo._toArray = function(/*Object*/obj, /*Number?*/offset, /*Array?*/ startWith){ - // summary: - // Converts an array-like object (i.e. arguments, DOMCollection) - // to an array. Returns a new Array object. - // obj: - // the object to "arrayify". We expect the object to have, at a - // minimum, a length property which corresponds to integer-indexed - // properties. - // offset: - // the location in obj to start iterating from. Defaults to 0. Optional. - // startWith: - // An array to pack with the properties of obj. If provided, - // properties in obj are appended at the end of startWith and - // startWith is the returned array. - var arr = startWith||[]; - for(var x = offset || 0; x < obj.length; x++){ - arr.push(obj[x]); - } - return arr; // Array -} - -dojo.clone = function(/*anything*/ o){ - // summary: - // Clones objects (including DOM nodes) and all children. - // Warning: do not clone cyclic structures. - if(!o){ return o; } - if(dojo.isArray(o)){ - var r = []; - for(var i = 0; i < o.length; ++i){ - r.push(dojo.clone(o[i])); - } - return r; // Array - }else if(dojo.isObject(o)){ - if(o.nodeType && o.cloneNode){ // isNode - return o.cloneNode(true); // Node - }else{ - var r = new o.constructor(); // specific to dojo.declare()'d classes! - for(var i in o){ - if(!(i in r) || r[i] != o[i]){ - r[i] = dojo.clone(o[i]); - } - } - return r; // Object - } - } - return o; /*anything*/ -} - -dojo.trim = function(/*String*/ str){ - // summary: - // trims whitespaces from both sides of the string - // description: - // This version of trim() was selected for inclusion into the base due - // to its compact size and relatively good performance (see Steven - // Levithan's blog: - // http://blog.stevenlevithan.com/archives/faster-trim-javascript). - // The fastest but longest version of this function is located at - // dojo.string.trim() - return str.replace(/^\s\s*/, '').replace(/\s\s*$/, ''); // String -} - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_base/query.js b/spring-faces/src/main/resources/META-INF/dojo/_base/query.js deleted file mode 100644 index c34d4c94..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/_base/query.js +++ /dev/null @@ -1,1085 +0,0 @@ -if(!dojo._hasResource["dojo._base.query"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.query"] = true; -dojo.provide("dojo._base.query"); -dojo.require("dojo._base.NodeList"); - -/* - dojo.query() architectural overview: - - dojo.query is a relatively full-featured CSS3 query library. It is - designed to take any valid CSS3 selector and return the nodes matching - the selector. To do this quickly, it processes queries in several - steps, applying caching where profitable. - - The steps (roughly in reverse order of the way they appear in the code): - 1.) check to see if we already have a "query dispatcher" - - if so, use that with the given parameterization. Skip to step 4. - 2.) attempt to determine which branch to dispatch the query to: - - JS (optimized DOM iteration) - - xpath (for browsers that support it and where it's fast) - - native (not available in any browser yet) - 3.) tokenize and convert to executable "query dispatcher" - - this is where the lion's share of the complexity in the - system lies. In the DOM version, the query dispatcher is - assembled as a chain of "yes/no" test functions pertaining to - a section of a simple query statement (".blah:nth-child(odd)" - but not "div div", which is 2 simple statements). Individual - statement dispatchers are cached (to prevent re-definition) - as are entire dispatch chains (to make re-execution of the - same query fast) - - in the xpath path, tokenization yeilds a concatenation of - parameterized xpath selectors. As with the DOM version, both - simple selector blocks and overall evaluators are cached to - prevent re-defintion - 4.) the resulting query dispatcher is called in the passed scope (by default the top-level document) - - for DOM queries, this results in a recursive, top-down - evaluation of nodes based on each simple query section - - xpath queries can, thankfully, be executed in one shot - 5.) matched nodes are pruned to ensure they are unique -*/ - -;(function(){ - // define everything in a closure for compressability reasons. "d" is an - // alias to "dojo" since it's so frequently used. This seems a - // transformation that the build system could perform on a per-file basis. - - //////////////////////////////////////////////////////////////////////// - // Utility code - //////////////////////////////////////////////////////////////////////// - - var d = dojo; - var childNodesName = dojo.isIE ? "children" : "childNodes"; - - var getQueryParts = function(query){ - // summary: state machine for query tokenization - if(query.charAt(query.length-1) == ">"){ - query += " *" - } - query += " "; // ensure that we terminate the state machine - - var ts = function(s, e){ - return d.trim(query.slice(s, e)); - } - - // the overall data graph of the full query, as represented by queryPart objects - var qparts = []; - // state keeping vars - var inBrackets = -1; - var inParens = -1; - var inMatchFor = -1; - var inPseudo = -1; - var inClass = -1; - var inId = -1; - var inTag = -1; - var lc = ""; // the last character - var cc = ""; // the current character - var pStart; - // iteration vars - var x = 0; // index in the query - var ql = query.length; - var currentPart = null; // data structure representing the entire clause - var _cp = null; // the current pseudo or attr matcher - - var endTag = function(){ - if(inTag >= 0){ - var tv = (inTag == x) ? null : ts(inTag, x).toLowerCase(); - currentPart[ (">~+".indexOf(tv) < 0)? "tag" : "oper" ] = tv; - inTag = -1; - } - } - - var endId = function(){ - if(inId >= 0){ - currentPart.id = ts(inId, x).replace(/\\/g, ""); - inId = -1; - } - } - - var endClass = function(){ - if(inClass >= 0){ - currentPart.classes.push(ts(inClass+1, x).replace(/\\/g, "")); - inClass = -1; - } - } - - var endAll = function(){ - endId(); endTag(); endClass(); - } - - for(; x= 0){ - // look for a the close first - if(cc == "]"){ - if(!_cp.attr){ - _cp.attr = ts(inBrackets+1, x); - }else{ - _cp.matchFor = ts((inMatchFor||inBrackets+1), x); - } - var cmf = _cp.matchFor; - if(cmf){ - if( (cmf.charAt(0) == '"') || (cmf.charAt(0) == "'") ){ - _cp.matchFor = cmf.substring(1, cmf.length-1); - } - } - currentPart.attrs.push(_cp); - _cp = null; // necessaray? - inBrackets = inMatchFor = -1; - }else if(cc == "="){ - var addToCc = ("|~^$*".indexOf(lc) >=0 ) ? lc : ""; - _cp.type = addToCc+cc; - _cp.attr = ts(inBrackets+1, x-addToCc.length); - inMatchFor = x+1; - } - // now look for other clause parts - }else if(inParens >= 0){ - if(cc == ")"){ - if(inPseudo >= 0){ - _cp.value = ts(inParens+1, x); - } - inPseudo = inParens = -1; - } - }else if(cc == "#"){ - endAll(); - inId = x+1; - }else if(cc == "."){ - endAll(); - inClass = x; - }else if(cc == ":"){ - endAll(); - inPseudo = x; - }else if(cc == "["){ - endAll(); - inBrackets = x; - _cp = { - /*===== - attr: null, type: null, matchFor: null - =====*/ - }; - }else if(cc == "("){ - if(inPseudo >= 0){ - _cp = { - name: ts(inPseudo+1, x), - value: null - } - currentPart.pseudos.push(_cp); - } - inParens = x; - }else if(cc == " " && lc != cc){ - // note that we expect the string to be " " terminated - endAll(); - if(inPseudo >= 0){ - currentPart.pseudos.push({ name: ts(inPseudo+1, x) }); - } - currentPart.hasLoops = ( - currentPart.pseudos.length || - currentPart.attrs.length || - currentPart.classes.length ); - currentPart.query = ts(pStart, x); - currentPart.tag = (currentPart["oper"]) ? null : (currentPart.tag || "*"); - qparts.push(currentPart); - currentPart = null; - } - } - return qparts; - }; - - - //////////////////////////////////////////////////////////////////////// - // XPath query code - //////////////////////////////////////////////////////////////////////// - - // this array is a lookup used to generate an attribute matching function. - // There is a similar lookup/generator list for the DOM branch with similar - // calling semantics. - var xPathAttrs = { - "*=": function(attr, value){ - return "[contains(@"+attr+", '"+ value +"')]"; - }, - "^=": function(attr, value){ - return "[starts-with(@"+attr+", '"+ value +"')]"; - }, - "$=": function(attr, value){ - return "[substring(@"+attr+", string-length(@"+attr+")-"+(value.length-1)+")='"+value+"']"; - }, - "~=": function(attr, value){ - return "[contains(concat(' ',@"+attr+",' '), ' "+ value +" ')]"; - }, - "|=": function(attr, value){ - return "[contains(concat(' ',@"+attr+",' '), ' "+ value +"-')]"; - }, - "=": function(attr, value){ - return "[@"+attr+"='"+ value +"']"; - } - }; - - // takes a list of attribute searches, the overall query, a function to - // generate a default matcher, and a closure-bound method for providing a - // matching function that generates whatever type of yes/no distinguisher - // the query method needs. The method is a bit tortured and hard to read - // because it needs to be used in both the XPath and DOM branches. - var handleAttrs = function( attrList, - query, - getDefault, - handleMatch){ - d.forEach(query.attrs, function(attr){ - var matcher; - // type, attr, matchFor - if(attr.type && attrList[attr.type]){ - matcher = attrList[attr.type](attr.attr, attr.matchFor); - }else if(attr.attr.length){ - matcher = getDefault(attr.attr); - } - if(matcher){ handleMatch(matcher); } - }); - } - - var buildPath = function(query){ - var xpath = "."; - var qparts = getQueryParts(d.trim(query)); - while(qparts.length){ - var tqp = qparts.shift(); - var prefix; - // FIXME: need to add support for ~ and + - if(tqp.oper == ">"){ - prefix = "/"; - // prefix = "/child::node()"; - tqp = qparts.shift(); - }else{ - prefix = "//"; - // prefix = "/descendant::node()" - } - - // get the tag name (if any) - - xpath += prefix + tqp.tag; - - // check to see if it's got an id. Needs to come first in xpath. - if(tqp.id){ - xpath += "[@id='"+tqp.id+"'][1]"; - } - - d.forEach(tqp.classes, function(cn){ - var cnl = cn.length; - var padding = " "; - if(cn.charAt(cnl-1) == "*"){ - padding = ""; cn = cn.substr(0, cnl-1); - } - xpath += - "[contains(concat(' ',@class,' '), ' "+ - cn + padding + "')]"; - }); - - handleAttrs(xPathAttrs, tqp, - function(condition){ - return "[@"+condition+"]"; - }, - function(matcher){ - xpath += matcher; - } - ); - - // FIXME: need to implement pseudo-class checks!! - }; - return xpath; - }; - - var _xpathFuncCache = {}; - var getXPathFunc = function(path){ - if(_xpathFuncCache[path]){ - return _xpathFuncCache[path]; - } - - var doc = d.doc; - // var parent = d.body(); // FIXME - // FIXME: don't need to memoize. The closure scope handles it for us. - var xpath = buildPath(path); - - var tf = function(parent){ - // XPath query strings are memoized. - var ret = []; - var xpathResult; - try{ - xpathResult = doc.evaluate(xpath, parent, null, - // XPathResult.UNORDERED_NODE_ITERATOR_TYPE, null); - XPathResult.ANY_TYPE, null); - }catch(e){ - console.debug("failure in exprssion:", xpath, "under:", parent); - console.debug(e); - } - var result = xpathResult.iterateNext(); - while(result){ - ret.push(result); - result = xpathResult.iterateNext(); - } - return ret; - } - return _xpathFuncCache[path] = tf; - }; - - /* - d.xPathMatch = function(query){ - // XPath based DOM query system. Handles a small subset of CSS - // selectors, subset is identical to the non-XPath version of this - // function. - - // FIXME: need to add support for alternate roots - return getXPathFunc(query)(); - } - */ - - //////////////////////////////////////////////////////////////////////// - // DOM query code - //////////////////////////////////////////////////////////////////////// - - var _filtersCache = {}; - var _simpleFiltersCache = {}; - - // the basic building block of the yes/no chaining system. agree(f1, f2) - // generates a new function which returns the boolean results of both of - // the passed functions to a single logical-anded result. - var agree = function(first, second){ - if(!first){ return second; } - if(!second){ return first; } - - return function(){ - return first.apply(window, arguments) && second.apply(window, arguments); - } - } - - var _filterDown = function(element, queryParts, matchArr, idx){ - var nidx = idx+1; - var isFinal = (queryParts.length == nidx); - var tqp = queryParts[idx]; - - // see if we can constrain our next level to direct children - if(tqp.oper == ">"){ - var ecn = element[childNodesName]; - if(!ecn || !ecn.length){ - return; - } - nidx++; - isFinal = (queryParts.length == nidx); - // kinda janky, too much array alloc - var tf = getFilterFunc(queryParts[idx+1]); - // for(var x=ecn.length-1, te; x>=0, te=ecn[x]; x--){ - for(var x=0, ecnl=ecn.length, te; x=0, te=elements[x]; x--){ - var x = elements.length - 1, te; - while(te = elements[x--]){ - _filterDown(te, queryParts, ret, 0); - } - return ret; - } - - var getFilterFunc = function(q){ - // note: query can't have spaces! - if(_filtersCache[q.query]){ - return _filtersCache[q.query]; - } - var ff = null; - - // does it have a tagName component? - if(q.tag){ - if(q.tag == "*"){ - ff = agree(ff, - function(elem){ - return (elem.nodeType == 1); - } - ); - }else{ - // tag name match - ff = agree(ff, - function(elem){ - return ( - (elem.nodeType == 1) && - (q.tag == elem.tagName.toLowerCase()) - ); - // return isTn; - } - ); - } - } - - // does the node have an ID? - if(q.id){ - ff = agree(ff, - function(elem){ - return ( - (elem.nodeType == 1) && - (elem.id == q.id) - ); - } - ); - } - - if(q.hasLoops){ - // if we have other query param parts, make sure we add them to the - // filter chain - ff = agree(ff, getSimpleFilterFunc(q)); - } - - return _filtersCache[q.query] = ff; - } - - var getNodeIndex = function(node){ - // NOTE: - // we could have a more accurate caching mechanism by invalidating - // caches after the query has finished, but I think that'd lead to - // significantly more cache churn than the cache would provide - // value for in the common case. Generally, we're more - // conservative (and therefore, more accurate) than jQuery and - // DomQuery WRT node node indexes, but there may be corner cases - // in which we fall down. How much we care about them is TBD. - - var pn = node.parentNode; - var pnc = pn.childNodes; - - // check to see if we can trust the cache. If not, re-key the whole - // thing and return our node match from that. - - var nidx = -1; - var child = pn.firstChild; - if(!child){ - return nidx; - } - - var ci = node["__cachedIndex"]; - var cl = pn["__cachedLength"]; - - // only handle cache building if we've gone out of sync - if(((typeof cl == "number")&&(cl != pnc.length))||(typeof ci != "number")){ - // rip though the whole set, building cache indexes as we go - pn["__cachedLength"] = pnc.length; - var idx = 1; - do{ - // we only assign indexes for nodes with nodeType == 1, as per: - // http://www.w3.org/TR/css3-selectors/#nth-child-pseudo - // only elements are counted in the search order, and they - // begin at 1 for the first child's index - - if(child === node){ - nidx = idx; - } - if(child.nodeType == 1){ - child["__cachedIndex"] = idx; - idx++; - } - child = child.nextSibling; - }while(child); - }else{ - // NOTE: - // could be incorrect in some cases (node swaps involving the - // passed node, etc.), but we ignore those due to the relative - // unlikelihood of that occuring - nidx = ci; - } - return nidx; - } - - var firedCount = 0; - - var blank = ""; - var _getAttr = function(elem, attr){ - if(attr == "class"){ - return elem.className || blank; - } - if(attr == "for"){ - return elem.htmlFor || blank; - } - return elem.getAttribute(attr, 2) || blank; - } - - var attrs = { - "*=": function(attr, value){ - return function(elem){ - // E[foo*="bar"] - // an E element whose "foo" attribute value contains - // the substring "bar" - return (_getAttr(elem, attr).indexOf(value)>=0); - } - }, - "^=": function(attr, value){ - // E[foo^="bar"] - // an E element whose "foo" attribute value begins exactly - // with the string "bar" - return function(elem){ - return (_getAttr(elem, attr).indexOf(value)==0); - } - }, - "$=": function(attr, value){ - // E[foo$="bar"] - // an E element whose "foo" attribute value ends exactly - // with the string "bar" - var tval = " "+value; - return function(elem){ - var ea = " "+_getAttr(elem, attr); - return (ea.lastIndexOf(value)==(ea.length-value.length)); - } - }, - "~=": function(attr, value){ - // E[foo~="bar"] - // an E element whose "foo" attribute value is a list of - // space-separated values, one of which is exactly equal - // to "bar" - - // return "[contains(concat(' ',@"+attr+",' '), ' "+ value +" ')]"; - var tval = " "+value+" "; - return function(elem){ - var ea = " "+_getAttr(elem, attr)+" "; - return (ea.indexOf(tval)>=0); - } - }, - "|=": function(attr, value){ - // E[hreflang|="en"] - // an E element whose "hreflang" attribute has a - // hyphen-separated list of values beginning (from the - // left) with "en" - var valueDash = " "+value+"-"; - return function(elem){ - var ea = " "+(elem.getAttribute(attr, 2) || ""); - return ( - (ea == value) || - (ea.indexOf(valueDash)==0) - ); - } - }, - "=": function(attr, value){ - return function(elem){ - return (_getAttr(elem, attr) == value); - } - } - }; - - var pseudos = { - "first-child": function(name, condition){ - return function(elem){ - if(elem.nodeType != 1){ return false; } - // check to see if any of the previous siblings are elements - var fc = elem.previousSibling; - while(fc && (fc.nodeType != 1)){ - fc = fc.previousSibling; - } - return (!fc); - } - }, - "last-child": function(name, condition){ - return function(elem){ - if(elem.nodeType != 1){ return false; } - // check to see if any of the next siblings are elements - var nc = elem.nextSibling; - while(nc && (nc.nodeType != 1)){ - nc = nc.nextSibling; - } - return (!nc); - } - }, - "empty": function(name, condition){ - return function(elem){ - // DomQuery and jQuery get this wrong, oddly enough. - // The CSS 3 selectors spec is pretty explicit about - // it, too. - var cn = elem.childNodes; - var cnl = elem.childNodes.length; - // if(!cnl){ return true; } - for(var x=cnl-1; x >= 0; x--){ - var nt = cn[x].nodeType; - if((nt == 1)||(nt == 3)){ return false; } - } - return true; - } - }, - /* non standard! - "contains": function(name, condition){ - return function(elem){ - // FIXME: I dislike this version of "contains", as - // whimsical attribute could set it off. An inner-text - // based version might be more accurate, but since - // jQuery and DomQuery also potentially get this wrong, - // I'm leaving it for now. - return (elem.innerHTML.indexOf(condition) >= 0); - } - }, - */ - "not": function(name, condition){ - var ntf = getFilterFunc(getQueryParts(condition)[0]); - return function(elem){ - return (!ntf(elem)); - } - }, - "nth-child": function(name, condition){ - var pi = parseInt; - if(condition == "odd"){ - return function(elem){ - return ( - ((getNodeIndex(elem)) % 2) == 1 - ); - } - }else if((condition == "2n")|| - (condition == "even")){ - return function(elem){ - return ((getNodeIndex(elem) % 2) == 0); - } - }else if(condition.indexOf("0n+") == 0){ - var ncount = pi(condition.substr(3)); - return function(elem){ - return (elem.parentNode[childNodesName][ncount-1] === elem); - } - }else if( (condition.indexOf("n+") > 0) && - (condition.length > 3) ){ - var tparts = condition.split("n+", 2); - var pred = pi(tparts[0]); - var idx = pi(tparts[1]); - return function(elem){ - return ((getNodeIndex(elem) % pred) == idx); - } - }else if(condition.indexOf("n") == -1){ - var ncount = pi(condition); - return function(elem){ - return (getNodeIndex(elem) == ncount); - } - } - } - }; - - var defaultGetter = (d.isIE) ? function(cond){ - var clc = cond.toLowerCase(); - return function(elem){ - return elem[cond]||elem[clc]; - } - } : function(cond){ - return function(elem){ - return (elem && elem.getAttribute && elem.hasAttribute(cond)); - } - }; - - var getSimpleFilterFunc = function(query){ - - var fcHit = (_simpleFiltersCache[query.query]||_filtersCache[query.query]); - if(fcHit){ return fcHit; } - - var ff = null; - - // the only case where we'll need the tag name is if we came from an ID query - if(query.id){ // do we have an ID component? - if(query.tag != "*"){ - ff = agree(ff, function(elem){ - return (elem.tagName.toLowerCase() == query.tag); - }); - } - } - - // if there's a class in our query, generate a match function for it - d.forEach(query.classes, function(cname, idx, arr){ - // get the class name - var isWildcard = cname.charAt(cname.length-1) == "*"; - if(isWildcard){ - cname = cname.substr(0, cname.length-1); - } - // I dislike the regex thing, even if memozied in a cache, but it's VERY short - var re = new RegExp("(?:^|\\s)" + cname + (isWildcard ? ".*" : "") + "(?:\\s|$)"); - ff = agree(ff, function(elem){ - return re.test(elem.className); - }); - ff.count = idx; - }); - - d.forEach(query.pseudos, function(pseudo){ - if(pseudos[pseudo.name]){ - ff = agree(ff, pseudos[pseudo.name](pseudo.name, pseudo.value)); - } - }); - - handleAttrs(attrs, query, defaultGetter, - function(tmatcher){ ff = agree(ff, tmatcher); } - ); - if(!ff){ - ff = function(){ return true; }; - } - return _simpleFiltersCache[query.query] = ff; - } - - var _getElementsFuncCache = { }; - - var getElementsFunc = function(query, root){ - var fHit = _getElementsFuncCache[query.query]; - if(fHit){ return fHit; } - - // NOTE: this function is in the fast path! not memoized!!! - - // the query doesn't contain any spaces, so there's only so many - // things it could be - - if(query.id && !query.hasLoops && !query.tag){ - // ID-only query. Easy. - return _getElementsFuncCache[query.query] = function(root){ - // FIXME: if root != document, check for parenting! - return [ d.byId(query.id) ]; - } - } - - var filterFunc = getSimpleFilterFunc(query); - - var retFunc; - if(query.tag && query.id && !query.hasLoops){ - // we got a filtered ID search (e.g., "h4#thinger") - retFunc = function(root){ - var te = d.byId(query.id); - if(filterFunc(te)){ - return [ te ]; - } - } - }else{ - var tret; - - if(!query.hasLoops){ - // it's just a plain-ol elements-by-tag-name query from the root - retFunc = function(root){ - var ret = []; - var te, x=0, tret = root.getElementsByTagName(query.tag); - while(te=tret[x++]){ - ret.push(te); - } - return ret; - } - }else{ - retFunc = function(root){ - var ret = []; - var te, x=0, tret = root.getElementsByTagName(query.tag); - while(te=tret[x++]){ - if(filterFunc(te)){ - ret.push(te); - } - } - return ret; - } - } - } - return _getElementsFuncCache[query.query] = retFunc; - } - - var _partsCache = {}; - - //////////////////////////////////////////////////////////////////////// - // the query runner - //////////////////////////////////////////////////////////////////////// - - // this is the second level of spliting, from full-length queries (e.g., - // "div.foo .bar") into simple query expressions (e.g., ["div.foo", - // ".bar"]) - var _queryFuncCache = { - "*": d.isIE ? - function(root){ - return root.all; - } : - function(root){ - return root.getElementsByTagName("*"); - }, - ">": function(root){ - var ret = []; - var te, x=0, tret = root[childNodesName]; - while(te=tret[x++]){ - if(te.nodeType == 1){ ret.push(te); } - } - return ret; - } - }; - - var getStepQueryFunc = function(query){ - // if it's trivial, get a fast-path dispatcher - var qparts = getQueryParts(d.trim(query)); - // if(query[query.length-1] == ">"){ query += " *"; } - if(qparts.length == 1){ - var tt = getElementsFunc(qparts[0]); - tt.nozip = true; - return tt; - } - - // otherwise, break it up and return a runner that iterates over the parts recursively - var sqf = function(root){ - var localQueryParts = qparts.slice(0); // clone the src arr - var candidates; - if(localQueryParts[0].oper == ">"){ - candidates = [ root ]; - // root = document; - }else{ - candidates = getElementsFunc(localQueryParts.shift())(root); - } - return filterDown(candidates, localQueryParts); - } - return sqf; - } - - // a specialized method that implements our primoridal "query optimizer". - // This allows us to dispatch queries to the fastest subsystem we can get. - var _getQueryFunc = ( - // NOTE: - // XPath on the Webkit nighlies is slower than it's DOM iteration - // for most test cases - // FIXME: - // we should try to capture some runtime speed data for each query - // function to determine on the fly if we should stick w/ the - // potentially optimized variant or if we should try something - // new. - (document["evaluate"] && !d.isSafari) ? - function(query){ - // has xpath support that's faster than DOM - var qparts = query.split(" "); - // can we handle it? - if( (document["evaluate"])&& - (query.indexOf(":") == -1)&& - ( - (true) // || - // (query.indexOf("[") == -1) || - // (query.indexOf("=") == -1) - ) - ){ - // dojo.debug(query); - // should we handle it? - - // kind of a lame heuristic, but it works - if( - // a "div div div" style query - ((qparts.length > 2)&&(query.indexOf(">") == -1))|| - // or something else with moderate complexity. kinda janky - (qparts.length > 3)|| - (query.indexOf("[")>=0)|| - // or if it's a ".thinger" query - ((1 == qparts.length)&&(0 <= query.indexOf("."))) - - ){ - // use get and cache a xpath runner for this selector - return getXPathFunc(query); - } - } - - // fallthrough - return getStepQueryFunc(query); - } : getStepQueryFunc - ); - // uncomment to disable XPath for testing and tuning the DOM path - // _getQueryFunc = getStepQueryFunc; - - // FIXME: we've got problems w/ the NodeList query()/filter() functions if we go XPath for everything - - // uncomment to disable DOM queries for testing and tuning XPath - // _getQueryFunc = getXPathFunc; - - // this is the primary caching for full-query results. The query dispatcher - // functions are generated here and then pickled for hash lookup in the - // future - var getQueryFunc = function(query){ - // return a cached version if one is available - if(_queryFuncCache[query]){ return _queryFuncCache[query]; } - if(0 > query.indexOf(",")){ - // if it's not a compound query (e.g., ".foo, .bar"), cache and return a dispatcher - return _queryFuncCache[query] = _getQueryFunc(query); - }else{ - // if it's a complex query, break it up into it's constituent parts - // and return a dispatcher that will merge the parts when run - - // var parts = query.split(", "); - var parts = query.split(/\s*,\s*/); - var tf = function(root){ - var pindex = 0; // avoid array alloc for every invocation - var ret = []; - var tp; - while(tp = parts[pindex++]){ - ret = ret.concat(_getQueryFunc(tp, tp.indexOf(" "))(root)); - } - return ret; - } - // ...cache and return - return _queryFuncCache[query] = tf; - } - } - - // FIXME: - // Dean's new Base2 uses a system whereby queries themselves note if - // they'll need duplicate filtering. We need to get on that plan!! - - // attempt to efficiently determine if an item in a list is a dupe, - // returning a list of "uniques", hopefully in doucment order - var _zipIdx = 0; - var _zip = function(arr){ - if(arr && arr.nozip){ return d.NodeList._wrap(arr); } - var ret = new d.NodeList(); - if(!arr){ return ret; } - if(arr[0]){ - ret.push(arr[0]); - } - if(arr.length < 2){ return ret; } - _zipIdx++; - arr[0]["_zipIdx"] = _zipIdx; - for(var x=1, te; te = arr[x]; x++){ - if(arr[x]["_zipIdx"] != _zipIdx){ - ret.push(te); - } - te["_zipIdx"] = _zipIdx; - } - // FIXME: should we consider stripping these properties? - return ret; - } - - // the main exectuor - d.query = function(query, root){ - // summary: - // returns nodes which match the given CSS3 selector, searching the - // entire document by default but optionally taking a node to scope - // the search by. Returns an instance of dojo.NodeList. - // description: - // dojo.query() is the swiss army knife of DOM node manipulation in - // Dojo. Much like Prototype's "$$" (bling-bling) function or JQuery's - // "$" function, dojo.query provides robust, high-performance - // CSS-based node selector support with the option of scoping searches - // to a particular sub-tree of a document. - // - // Supported Selectors: - // -------------------- - // - // dojo.query() supports a rich set of CSS3 selectors, including: - // - // * class selectors (e.g., ".foo") - // * node type selectors like "span" - // * " " descendant selectors - // * ">" child element selectors - // * "#foo" style ID selectors - // * "*" universal selector - // * attribute queries: - // * "[foo]" attribute presence selector - // * "[foo='bar']" attribute value exact match - // * "[foo~='bar']" attribute value list item match - // * "[foo^='bar']" attribute start match - // * "[foo$='bar']" attribute end match - // * "[foo*='bar']" attribute substring match - // * ":first-child", ":last-child" positional selectors - // * ":nth-child(n)", ":nth-child(2n+1)" style positional calculations - // * ":nth-child(even)", ":nth-child(odd)" positional selectors - // * ":not(...)" negation pseudo selectors - // - // Any legal combination of those selector types as per the CSS 3 sepc - // will work with dojo.query(), including compound selectors ("," - // delimited). Very complex and useful searches can be constructed - // with this palette of selectors and when combined with functions for - // maniplation presented by dojo.NodeList, many types of DOM - // manipulation operations become very straightforward. - // - // Unsupported Selectors: - // -------------------- - // - // While dojo.query handles many CSS3 selectors, some fall outside of - // what's resaonable for a programmatic node querying engine to - // handle. Currently unsupported selectors include: - // - // * namespace-differentiated selectors of any form - // * "~", the immediately preceeded-by sibling selector - // * "+", the preceeded-by sibling selector - // * all "::" pseduo-element selectors - // * certain pseduo-selectors which don't get a lot of day-to-day use: - // * :root, :lang(), :target, :focus - // * all visual and state selectors: - // * :root, :active, :hover, :visisted, :link, :enabled, :disabled, :checked - // * :*-of-type pseudo selectors - // - // dojo.query and XML Documents: - // ----------------------------- - // FIXME - // - // query: String - // The CSS3 expression to match against. For details on the syntax of - // CSS3 selectors, see: - // http://www.w3.org/TR/css3-selectors/#selectors - // root: String|DOMNode? - // A node (or string ID of a node) to scope the search from. Optional. - // returns: - // An instance of dojo.NodeList. Many methods are available on - // NodeLists for searching, iterating, manipulating, and handling - // events on the matched nodes in the returned list. - - // return is always an array - // NOTE: elementsById is not currently supported - // NOTE: ignores xpath-ish queries for now - if(query.constructor == d.NodeList){ - return query; - } - if(!d.isString(query)){ - return new d.NodeList(query); // dojo.NodeList - } - if(d.isString(root)){ - root = d.byId(root); - } - - // FIXME: should support more methods on the return than the stock array. - return _zip(getQueryFunc(query)(root||d.doc)); - } - - /* - // exposing these was a mistake - d.query.attrs = attrs; - d.query.pseudos = pseudos; - */ - - // one-off function for filtering a NodeList based on a simple selector - d._filterQueryResult = function(nodeList, simpleFilter){ - var tnl = new d.NodeList(); - var ff = (simpleFilter) ? getFilterFunc(getQueryParts(simpleFilter)[0]) : function(){ return true; }; - for(var x=0, te; te = nodeList[x]; x++){ - if(ff(te)){ tnl.push(te); } - } - return tnl; - } -})(); - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_base/window.js b/spring-faces/src/main/resources/META-INF/dojo/_base/window.js deleted file mode 100644 index 0f936ee3..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/_base/window.js +++ /dev/null @@ -1,145 +0,0 @@ -if(!dojo._hasResource["dojo._base.window"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.window"] = true; -dojo.provide("dojo._base.window"); - -dojo._gearsObject = function(){ - // summary: - // factory method to get a Google Gears plugin instance to - // expose in the browser runtime environment, if present - var factory; - var results; - - var gearsObj = dojo.getObject("google.gears"); - if(gearsObj){ return gearsObj; } // already defined elsewhere - - if(typeof GearsFactory != "undefined"){ // Firefox - factory = new GearsFactory(); - }else{ - if(dojo.isIE){ - // IE - try{ - factory = new ActiveXObject("Gears.Factory"); - }catch(e){ - // ok to squelch; there's no gears factory. move on. - } - }else if(navigator.mimeTypes["application/x-googlegears"]){ - // Safari? - factory = document.createElement("object"); - factory.setAttribute("type", "application/x-googlegears"); - factory.setAttribute("width", 0); - factory.setAttribute("height", 0); - factory.style.display = "none"; - document.documentElement.appendChild(factory); - } - } - - // still nothing? - if(!factory){ return null; } - - // define the global objects now; don't overwrite them though if they - // were somehow set internally by the Gears plugin, which is on their - // dev roadmap for the future - dojo.setObject("google.gears.factory", factory); - return dojo.getObject("google.gears"); -}; - -// see if we have Google Gears installed, and if -// so, make it available in the runtime environment -// and in the Google standard 'google.gears' global object -dojo.isGears = (!!dojo._gearsObject())||0; - -// @global: dojo.doc - -// summary: -// Current document object. 'dojo.doc' can be modified -// for temporary context shifting. Also see dojo.withDoc(). -// description: -// Refer to dojo.doc rather -// than referring to 'window.document' to ensure your code runs -// correctly in managed contexts. -dojo.doc = window["document"] || null; - -dojo.body = function(){ - // summary: - // return the body object associated with dojo.doc - - // Note: document.body is not defined for a strict xhtml document - // Would like to memoize this, but dojo.doc can change vi dojo.withDoc(). - return dojo.doc.body || dojo.doc.getElementsByTagName("body")[0]; -} - -dojo.setContext = function(/*Object*/globalObject, /*DocumentElement*/globalDocument){ - // summary: - // changes the behavior of many core Dojo functions that deal with - // namespace and DOM lookup, changing them to work in a new global - // context. The varibles dojo.global and dojo.doc - // are modified as a result of calling this function. - dojo.global = globalObject; - dojo.doc = globalDocument; -}; - -dojo._fireCallback = function(callback, context, cbArguments){ - // FIXME: should migrate to using "dojo.isString"! - if(context && dojo.isString(callback)){ - callback = context[callback]; - } - return (context ? callback.apply(context, cbArguments || [ ]) : callback()); -} - -dojo.withGlobal = function( /*Object*/globalObject, - /*Function*/callback, - /*Object?*/thisObject, - /*Array?*/cbArguments){ - // summary: - // Call callback with globalObject as dojo.global and - // globalObject.document as dojo.doc. If provided, globalObject - // will be executed in the context of object thisObject - // description: - // When callback() returns or throws an error, the dojo.global - // and dojo.doc will be restored to its previous state. - var rval; - var oldGlob = dojo.global; - var oldDoc = dojo.doc; - try{ - dojo.setContext(globalObject, globalObject.document); - rval = dojo._fireCallback(callback, thisObject, cbArguments); - }finally{ - dojo.setContext(oldGlob, oldDoc); - } - return rval; -} - -dojo.withDoc = function( /*Object*/documentObject, - /*Function*/callback, - /*Object?*/thisObject, - /*Array?*/cbArguments){ - // summary: - // Call callback with documentObject as dojo.doc. If provided, - // callback will be executed in the context of object thisObject - // description: - // When callback() returns or throws an error, the dojo.doc will - // be restored to its previous state. - var rval; - var oldDoc = dojo.doc; - try{ - dojo.doc = documentObject; - rval = dojo._fireCallback(callback, thisObject, cbArguments); - }finally{ - dojo.doc = oldDoc; - } - return rval; -}; - -//Register any module paths set up in djConfig. Need to do this -//in the hostenvs since hostenv_browser can read djConfig from a -//script tag's attribute. -(function(){ - var mp = djConfig["modulePaths"]; - if(mp){ - for(var param in mp){ - dojo.registerModulePath(param, mp[param]); - } - } -})(); - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_base/xhr.js b/spring-faces/src/main/resources/META-INF/dojo/_base/xhr.js deleted file mode 100644 index b68fa713..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/_base/xhr.js +++ /dev/null @@ -1,695 +0,0 @@ -if(!dojo._hasResource["dojo._base.xhr"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo._base.xhr"] = true; -dojo.provide("dojo._base.xhr"); -dojo.require("dojo._base.Deferred"); -dojo.require("dojo._base.json"); -dojo.require("dojo._base.lang"); -dojo.require("dojo._base.query"); - -(function(){ - var _d = dojo; - function setValue(/*Object*/obj, /*String*/name, /*String*/value){ - //summary: - // For the nameed property in object, set the value. If a value - // already exists and it is a string, convert the value to be an - // array of values. - var val = obj[name]; - if(_d.isString(val)){ - obj[name] = [val, value]; - }else if(_d.isArray(val)){ - val.push(value); - }else{ - obj[name] = value; - } - } - - dojo.formToObject = function(/*DOMNode||String*/ formNode){ - // summary: - // dojo.formToObject returns the values encoded in an HTML form as - // string properties in an object which it then returns. Disabled form - // elements, buttons, and other non-value form elements are skipped. - // Multi-select elements are returned as an array of string values. - // description: - // This form: - // - //
    - // - // - // - // - //
    - // - // yields this object structure as the result of a call to - // formToObject(): - // - // { - // blah: "blah", - // multi: [ - // "thud", - // "thonk" - // ] - // }; - - var ret = {}; - var iq = "input:not([type=file]):not([type=submit]):not([type=image]):not([type=reset]):not([type=button]), select, textarea"; - _d.query(iq, formNode).filter(function(node){ - return (!node.disabled); - }).forEach(function(item){ - var _in = item.name; - var type = (item.type||"").toLowerCase(); - if(type == "radio" || type == "checkbox"){ - if(item.checked){ setValue(ret, _in, item.value); } - }else if(item.multiple){ - ret[_in] = []; - _d.query("option", item).forEach(function(opt){ - if(opt.selected){ - setValue(ret, _in, opt.value); - } - }); - }else{ - setValue(ret, _in, item.value); - if(type == "image"){ - ret[_in+".x"] = ret[_in+".y"] = ret[_in].x = ret[_in].y = 0; - } - } - }); - return ret; // Object - } - - dojo.objectToQuery = function(/*Object*/ map){ - // summary: - // takes a key/value mapping object and returns a string representing - // a URL-encoded version of that object. - // example: - // this object: - // - // | { - // | blah: "blah", - // | multi: [ - // | "thud", - // | "thonk" - // | ] - // | }; - // - // yeilds the following query string: - // - // | "blah=blah&multi=thud&multi=thonk" - - - // FIXME: need to implement encodeAscii!! - var ec = encodeURIComponent; - var ret = ""; - var backstop = {}; - for(var x in map){ - if(map[x] != backstop[x]){ - if(_d.isArray(map[x])){ - for(var y=0; y'); - for(var i = 0; i < pairs.length; ++i){ - var name = pairs[i][0], value = pairs[i][1]; - - html.push('', - '', - escapeHTML(name), '', ''); - appendObject(value, html); - html.push(''); - } - html.push(''); - - logRow(html, "dir"); - }, - - dirxml: function(node){ - // summary: - // - var html = []; - - appendNode(node, html); - logRow(html, "dirxml"); - }, - - group: function(){ - // summary: - // collects log messages into a group, starting with this call and ending with - // groupEnd(). Missing collapse functionality - logRow(arguments, "group", pushGroup); - }, - - groupEnd: function(){ - // summary: - // Closes group. See above - logRow(arguments, "", popGroup); - }, - - time: function(name){ - // summary: - // Starts timers assigned to name given in argument. Timer stops and displays on timeEnd(title); - // example: - // | console.time("load"); - // | console.time("myFunction"); - // | console.timeEnd("load"); - // | console.timeEnd("myFunction"); - timeMap[name] = (new Date()).getTime(); - }, - - timeEnd: function(name){ - // summary: - // See above. - if(name in timeMap){ - var delta = (new Date()).getTime() - timeMap[name]; - logFormatted([name+ ":", delta+"ms"]); - delete timeMap[name]; - } - }, - - count: function(){ - // summary: - // Not supported - this.warn(["count() not supported."]); - }, - - trace: function(){ - // summary: - // Not supported - this.warn(["trace() not supported."]); - }, - - profile: function(){ - // summary: - // Not supported - this.warn(["profile() not supported."]); - }, - - profileEnd: function(){ }, - - clear: function(){ - // summary: - // Clears message console. Do not call this directly - consoleBody.innerHTML = ""; - }, - - open: function(){ - // summary: - // Opens message console. Do not call this directly - toggleConsole(true); - }, - - close: function(){ - // summary: - // Closes message console. Do not call this directly - if(frameVisible){ - toggleConsole(); - } - }, - closeObjectInspector:function(){ - // summary: - // Closes object inspector and opens message console. Do not call this directly - consoleObjectInspector.innerHTML = ""; - consoleObjectInspector.style.display = "none"; - consoleBody.style.display = "block"; - } - }; - - // *************************************************************************** - - // using global objects so they can be accessed - // most of the objects in this script are run anonomously - var _firebugDoc = document; - var _firebugWin = window; - var __consoleAnchorId__ = 0; - - var consoleFrame = null; - var consoleBody = null; - var commandLine = null; - - var frameVisible = false; - var messageQueue = []; - var groupStack = []; - var timeMap = {}; - - var clPrefix = ">>> "; - - // *************************************************************************** - - function toggleConsole(forceOpen){ - frameVisible = forceOpen || !frameVisible; - if(consoleFrame){ - consoleFrame.style.display = frameVisible ? "block" : "none"; - } - } - - function focusCommandLine(){ - toggleConsole(true); - if(commandLine){ - commandLine.focus(); - } - } - - openWin = function(){ - var win = window.open("","_firebug","status=0,menubar=0,resizable=1,width=640,height=480,scrollbars=1,addressbar=0"); - var newDoc=win.document; - HTMLstring='Firebug Lite\n'; - HTMLstring+='\n'; - //Testing access to dojo from the popup window - /*HTMLstring+='\n';*/ - HTMLstring+='
    '; - HTMLstring+=''; - - - newDoc.write(HTMLstring); - newDoc.close(); - return win; - - } - - function createFrame(){ - if(consoleFrame){ - return; - } - - if(djConfig.popup){ - _firebugWin = openWin(); - _firebugDoc = _firebugWin.document; - djConfig.debugContainerId = 'fb'; - var containerHeight = "100%"; - - // connecting popup - _firebugWin.console = window.console; - _firebugWin.dojo = window.dojo; - - }else{ - _firebugDoc = document; - var containerHeight = (djConfig.debugHeight) ? djConfig.debugHeight + "px" :"300px"; - } - - var styleElement = _firebugDoc.createElement("link"); - styleElement.href = dojo.moduleUrl("dojo._firebug", "firebug.css"); - styleElement.rel = "stylesheet"; - styleElement.type = "text/css"; - var styleParent = _firebugDoc.getElementsByTagName("head"); - if(styleParent){ - styleParent = styleParent[0]; - } - if(!styleParent){ - styleParent = _firebugDoc.getElementsByTagName("html")[0]; - } - if(dojo.isIE){ - window.setTimeout(function(){ styleParent.appendChild(styleElement); }, 0); - }else{ - styleParent.appendChild(styleElement); - } - - if(typeof djConfig != "undefined" && djConfig["debugContainerId"]){ - consoleFrame = _firebugDoc.getElementById(djConfig.debugContainerId); - } - if(!consoleFrame){ - consoleFrame = _firebugDoc.createElement("div"); - _firebugDoc.body.appendChild(consoleFrame); - } - consoleFrame.className += " firebug"; - consoleFrame.style.height = containerHeight; - consoleFrame.style.display = (frameVisible ? "block" : "none"); - - var closeStr = (djConfig.popup) ? "" : ' Close'; - consoleFrame.innerHTML = - '
    ' - + ' Clear' - + ' ' - + closeStr - + ' ' - + '
    ' - + '' - + '
    ' - + ''; - - - var toolbar = _firebugDoc.getElementById("firebugToolbar"); - toolbar.onmousedown = onSplitterMouseDown; - - commandLine = _firebugDoc.getElementById("firebugCommandLine"); - addEvent(commandLine, "keydown", onCommandLineKeyDown); - - addEvent(_firebugDoc, dojo.isIE || dojo.isSafari ? "keydown" : "keypress", onKeyDown); - - consoleBody = _firebugDoc.getElementById("firebugLog"); - consoleObjectInspector = _firebugDoc.getElementById("objectLog"); - - layout(); - flush(); - } - - dojo.addOnLoad(createFrame); - - function evalCommandLine(){ - var text = commandLine.value; - commandLine.value = ""; - - logRow([clPrefix, text], "command"); - - var value; - try{ - value = eval(text); - }catch(e){ - console.debug(e); - /* squelch */ - } - - console.log(value); - } - - function layout(){ - var toolbar = consoleBody.ownerDocument.getElementById("firebugToolbar"); - var height = consoleFrame.offsetHeight - (toolbar.offsetHeight + commandLine.offsetHeight); - consoleBody.style.top = toolbar.offsetHeight + "px"; - consoleBody.style.height = height + "px"; - - commandLine.style.top = (consoleFrame.offsetHeight - commandLine.offsetHeight) + "px"; - } - - function logRow(message, className, handler){ - if(consoleBody){ - writeMessage(message, className, handler); - }else{ - messageQueue.push([message, className, handler]); - } - } - - function flush(){ - var queue = messageQueue; - messageQueue = []; - - for(var i = 0; i < queue.length; ++i){ - writeMessage(queue[i][0], queue[i][1], queue[i][2]); - } - } - - function writeMessage(message, className, handler){ - var isScrolledToBottom = - consoleBody.scrollTop + consoleBody.offsetHeight >= consoleBody.scrollHeight; - - handler = handler||writeRow; - - handler(message, className); - - if(isScrolledToBottom){ - consoleBody.scrollTop = consoleBody.scrollHeight - consoleBody.offsetHeight; - } - } - - function appendRow(row){ - var container = groupStack.length ? groupStack[groupStack.length-1] : consoleBody; - container.appendChild(row); - } - - function writeRow(message, className){ - var row = consoleBody.ownerDocument.createElement("div"); - row.className = "logRow" + (className ? " logRow-"+className : ""); - row.innerHTML = message.join(""); - appendRow(row); - } - - function pushGroup(message, className){ - logFormatted(message, className); - - var groupRow = consoleBody.ownerDocument.createElement("div"); - groupRow.className = "logGroup"; - var groupRowBox = consoleBody.ownerDocument.createElement("div"); - groupRowBox.className = "logGroupBox"; - groupRow.appendChild(groupRowBox); - appendRow(groupRowBox); - groupStack.push(groupRowBox); - } - - function popGroup(){ - groupStack.pop(); - } - - // *************************************************************************** - - function logFormatted(objects, className){ - var html = []; - - var format = objects[0]; - var objIndex = 0; - - if(typeof(format) != "string"){ - format = ""; - objIndex = -1; - } - - var parts = parseFormat(format); - - for(var i = 0; i < parts.length; ++i){ - var part = parts[i]; - if(part && typeof(part) == "object"){ - var object = objects[++objIndex]; - part.appender(object, html); - }else{ - appendText(part, html); - } - } - - - var ids = []; - var obs = []; - for(var i = objIndex+1; i < objects.length; ++i){ - appendText(" ", html); - - var object = objects[i]; - if(!object){ continue; } - if(typeof(object) == "string"){ - appendText(object, html); - - }else if(object.nodeType == 1){ - // simple tracing of dom nodes - appendText("< "+object.tagName+" id=\""+ object.id+"\" />", html); - - }else{ - // Create link for object inspector - // need to create an ID for this link, since it is currently text - var id = "_a" + __consoleAnchorId__++; - ids.push(id); - // need to save the object, so the arrays line up - obs.push(object) - var str = ''+getObjectAbbr(object)+''; - - appendLink( str , html); - } - } - - logRow(html, className); - - // Now that the row is inserted in the DOM, loop through all of the links that were just created - for(var i=0; i" + printObject( this.obj ) + ""; - - }) - - } - } - - function parseFormat(format){ - var parts = []; - - var reg = /((^%|[^\\]%)(\d+)?(\.)([a-zA-Z]))|((^%|[^\\]%)([a-zA-Z]))/; - var appenderMap = {s: appendText, d: appendInteger, i: appendInteger, f: appendFloat}; - - for(var m = reg.exec(format); m; m = reg.exec(format)){ - var type = m[8] ? m[8] : m[5]; - var appender = type in appenderMap ? appenderMap[type] : appendObject; - var precision = m[3] ? parseInt(m[3]) : (m[4] == "." ? -1 : 0); - - parts.push(format.substr(0, m[0][0] == "%" ? m.index : m.index+1)); - parts.push({appender: appender, precision: precision}); - - format = format.substr(m.index+m[0].length); - } - - parts.push(format); - - return parts; - } - - function escapeHTML(value){ - function replaceChars(ch){ - switch(ch){ - case "<": - return "<"; - case ">": - return ">"; - case "&": - return "&"; - case "'": - return "'"; - case '"': - return """; - } - return "?"; - }; - return String(value).replace(/[<>&"']/g, replaceChars); - } - - function objectToString(object){ - try{ - return object+""; - }catch(e){ - return null; - } - } - - // *************************************************************************** - function appendLink(object, html){ - // needed for object links - no HTML escaping - html.push( objectToString(object) ); - } - - function appendText(object, html){ - html.push(escapeHTML(objectToString(object))); - } - - function appendNull(object, html){ - html.push('', escapeHTML(objectToString(object)), ''); - } - - function appendString(object, html){ - html.push('"', escapeHTML(objectToString(object)), - '"'); - } - - function appendInteger(object, html){ - html.push('', escapeHTML(objectToString(object)), ''); - } - - function appendFloat(object, html){ - html.push('', escapeHTML(objectToString(object)), ''); - } - - function appendFunction(object, html){ - var reName = /function ?(.*?)\(/; - var m = reName.exec(objectToString(object)); - var name = m ? m[1] : "function"; - html.push('', escapeHTML(name), '()'); - } - - function appendObject(object, html){ - try{ - if(object == undefined){ - appendNull("undefined", html); - }else if(object == null){ - appendNull("null", html); - }else if(typeof object == "string"){ - appendString(object, html); - }else if(typeof object == "number"){ - appendInteger(object, html); - }else if(typeof object == "function"){ - appendFunction(object, html); - }else if(object.nodeType == 1){ - appendSelector(object, html); - }else if(typeof object == "object"){ - appendObjectFormatted(object, html); - }else{ - appendText(object, html); - } - }catch(e){ - /* squelch */ - } - } - - function appendObjectFormatted(object, html){ - var text = objectToString(object); - var reObject = /\[object (.*?)\]/; - - var m = reObject.exec(text); - html.push('', m ? m[1] : text, '') - } - - function appendSelector(object, html){ - html.push(''); - - html.push('', escapeHTML(object.nodeName.toLowerCase()), ''); - if(object.id){ - html.push('#', escapeHTML(object.id), ''); - } - if(object.className){ - html.push('.', escapeHTML(object.className), ''); - } - - html.push(''); - } - - function appendNode(node, html){ - if(node.nodeType == 1){ - html.push( - '
    ', - '<', node.nodeName.toLowerCase(), ''); - - for(var i = 0; i < node.attributes.length; ++i){ - var attr = node.attributes[i]; - if(!attr.specified){ continue; } - - html.push(' ', attr.nodeName.toLowerCase(), - '="', escapeHTML(attr.nodeValue), - '"') - } - - if(node.firstChild){ - html.push('>
    '); - - for(var child = node.firstChild; child; child = child.nextSibling){ - appendNode(child, html); - } - - html.push('
    </', - node.nodeName.toLowerCase(), '>
    '); - }else{ - html.push('/>

    '); - } - }else if (node.nodeType == 3){ - html.push('
    ', escapeHTML(node.nodeValue), - '
    '); - } - } - - // *************************************************************************** - - function addEvent(object, name, handler){ - if(document.all){ - object.attachEvent("on"+name, handler); - }else{ - object.addEventListener(name, handler, false); - } - } - - function removeEvent(object, name, handler){ - if(document.all){ - object.detachEvent("on"+name, handler); - }else{ - object.removeEventListener(name, handler, false); - } - } - - function cancelEvent(event){ - if(document.all){ - event.cancelBubble = true; - }else{ - event.stopPropagation(); - } - } - - function onError(msg, href, lineNo){ - var html = []; - - var lastSlash = href.lastIndexOf("/"); - var fileName = lastSlash == -1 ? href : href.substr(lastSlash+1); - - html.push( - '', msg, '', - '' - ); - - logRow(html, "error"); - }; - - - //After converting to div instead of iframe, now getting two keydowns right away in IE 6. - //Make sure there is a little bit of delay. - var onKeyDownTime = (new Date()).getTime(); - - function onKeyDown(event){ - var timestamp = (new Date()).getTime(); - if(timestamp > onKeyDownTime + 200){ - var event = dojo.fixEvent(event); - var keys = dojo.keys; - var ekc = event.keyCode; - onKeyDownTime = timestamp; - if(ekc == keys.F12){ - toggleConsole(); - }else if( - (ekc == keys.NUMPAD_ENTER || ekc == 76) && - event.shiftKey && - (event.metaKey || event.ctrlKey) - ){ - focusCommandLine(); - }else{ - return; - } - cancelEvent(event); - } - } - - - function onSplitterMouseDown(event){ - if(dojo.isSafari || dojo.isOpera){ - return; - } - - addEvent(document, "mousemove", onSplitterMouseMove); - addEvent(document, "mouseup", onSplitterMouseUp); - - for(var i = 0; i < frames.length; ++i){ - addEvent(frames[i].document, "mousemove", onSplitterMouseMove); - addEvent(frames[i].document, "mouseup", onSplitterMouseUp); - } - } - - function onSplitterMouseMove(event){ - var win = document.all - ? event.srcElement.ownerDocument.parentWindow - : event.target.ownerDocument.defaultView; - - var clientY = event.clientY; - if(win != win.parent){ - clientY += win.frameElement ? win.frameElement.offsetTop : 0; - } - - var height = consoleFrame.offsetTop + consoleFrame.clientHeight; - var y = height - clientY; - - consoleFrame.style.height = y + "px"; - layout(); - } - - function onSplitterMouseUp(event){ - removeEvent(document, "mousemove", onSplitterMouseMove); - removeEvent(document, "mouseup", onSplitterMouseUp); - - for(var i = 0; i < frames.length; ++i){ - removeEvent(frames[i].document, "mousemove", onSplitterMouseMove); - removeEvent(frames[i].document, "mouseup", onSplitterMouseUp); - } - } - - function onCommandLineKeyDown(event){ - if(event.keyCode == 13){ - evalCommandLine(); - }else if(event.keyCode == 27){ - commandLine.value = ""; - } - } - //*************************************************************************************************** - // Print Object Helpers - getAtts = function(o){ - //Get amount of items in an object - if(dojo.isArray(o)) { - return "[array with " + o.length + " slots]"; - }else{ - var i = 0; - for(var nm in o){ - i++; - } - return "{object with " + i + " items}"; - } - } - - printObject = function(o, i, txt){ - - // Recursively trace object, indenting to represent depth for display in object inspector - // TODO: counter to prevent overly complex or looped objects (will probably help with dom nodes) - var br = "\n"; // using a
    ... otherwise we'd need a 
    - var ind = " "; - txt = (txt) ? txt : ""; - i = (i) ? i : ind; - for(var nm in o){ - if(typeof(o[nm]) == "object"){ - txt += i+nm +" -> " + getAtts(o[nm]) + br; - txt += printObject(o[nm], i+ind); - }else{ - txt += i+nm +" : "+o[nm] + br; - } - } - return txt; - } - - - getObjectAbbr = function(obj){ - // Gets an abbreviation of an object for display in log - // X items in object, including id - // X items in an array - // TODO: Firebug Sr. actually goes by char count - var isError = (obj instanceof Error); - var nm = obj.id || obj.name || obj.ObjectID || obj.widgetId; - if(!isError && nm){ return "{"+nm+"}"; } - - var obCnt = 2; - var arCnt = 4; - var cnt = 0; - - if(isError){ - nm = "[ Error: "+(obj["message"]||obj["description"]||obj)+" ]"; - }else if(dojo.isArray(obj)){ - nm ="["; - for(var i=0;iarCnt){ - nm+=" ... ("+obj.length+" items)"; - break; - } - } - nm+="]"; - }else if((!dojo.isObject(obj))||dojo.isString(obj)){ - nm = obj+""; - }else{ - nm = "{"; - for(var i in obj){ - cnt++ - if(cnt > obCnt) break; - nm += i+"="+obj[i]+" "; - } - nm+="}" - } - - return nm; - } - - //************************************************************************************* - - window.onerror = onError; - addEvent(document, dojo.isIE || dojo.isSafari ? "keydown" : "keypress", onKeyDown); - - if( (document.documentElement.getAttribute("debug") == "true")|| - (djConfig.isDebug) - ){ - toggleConsole(true); - } -})(); -} - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/_firebug/infoIcon.png b/spring-faces/src/main/resources/META-INF/dojo/_firebug/infoIcon.png deleted file mode 100644 index da1e5334..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dojo/_firebug/infoIcon.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dojo/_firebug/warningIcon.png b/spring-faces/src/main/resources/META-INF/dojo/_firebug/warningIcon.png deleted file mode 100644 index de51084e..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dojo/_firebug/warningIcon.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dojo/back.js b/spring-faces/src/main/resources/META-INF/dojo/back.js deleted file mode 100644 index b652da9a..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/back.js +++ /dev/null @@ -1,389 +0,0 @@ -if(!dojo._hasResource["dojo.back"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo.back"] = true; -dojo.provide("dojo.back"); - -(function() { - - var back = dojo.back; - - // everyone deals with encoding the hash slightly differently - - function getHash(){ - var h = window.location.hash; - if(h.charAt(0) == "#") { h = h.substring(1); } - return dojo.isMozilla ? h : decodeURIComponent(h); - } - - function setHash(h){ - if(!h) { h = "" }; - window.location.hash = encodeURIComponent(h); - historyCounter = history.length; - } - - // if we're in the test for these methods, expose them on dojo.back. ok'd with alex. - if(dojo.exists("tests.back-hash")){ - back.getHash = getHash; - back.setHash = setHash; - } - - var initialHref = (typeof(window) !== "undefined") ? window.location.href : ""; - var initialHash = (typeof(window) !== "undefined") ? getHash() : ""; - var initialState = null; - - var locationTimer = null; - var bookmarkAnchor = null; - var historyIframe = null; - var forwardStack = []; - var historyStack = []; - var moveForward = false; - var changingUrl = false; - var historyCounter; - - function handleBackButton(){ - //summary: private method. Do not call this directly. - - //The "current" page is always at the top of the history stack. - //console.debug("handlingBackButton"); - var current = historyStack.pop(); - if(!current){ return; } - var last = historyStack[historyStack.length-1]; - if(!last && historyStack.length == 0){ - last = initialState; - } - if(last){ - if(last.kwArgs["back"]){ - last.kwArgs["back"](); - }else if(last.kwArgs["backButton"]){ - last.kwArgs["backButton"](); - }else if(last.kwArgs["handle"]){ - last.kwArgs.handle("back"); - } - } - forwardStack.push(current); - //console.debug("done handling back"); - } - - back.goBack = handleBackButton; - - function handleForwardButton(){ - //summary: private method. Do not call this directly. - //console.debug("handling forward"); - var last = forwardStack.pop(); - if(!last){ return; } - if(last.kwArgs["forward"]){ - last.kwArgs.forward(); - }else if(last.kwArgs["forwardButton"]){ - last.kwArgs.forwardButton(); - }else if(last.kwArgs["handle"]){ - last.kwArgs.handle("forward"); - } - historyStack.push(last); - //console.debug("done handling forward"); - } - - back.goForward = handleForwardButton; - - function createState(url, args, hash){ - //summary: private method. Do not call this directly. - return {"url": url, "kwArgs": args, "urlHash": hash}; //Object - } - - function getUrlQuery(url){ - //summary: private method. Do not call this directly. - var segments = url.split("?"); - if (segments.length < 2){ - return null; //null - } - else{ - return segments[1]; //String - } - } - - function loadIframeHistory(){ - //summary: private method. Do not call this directly. - var url = (djConfig["dojoIframeHistoryUrl"] || dojo.moduleUrl("dojo", "resources/iframe_history.html")) + "?" + (new Date()).getTime(); - moveForward = true; - if (historyIframe) { - (dojo.isSafari) ? historyIframe.location = url : window.frames[historyIframe.name].location = url; - } else { - //console.warn("dojo.back: Not initialised. You need to call dojo.back.init() from a - - -

    The Dojo Toolkit -- iframe_history.html

    - -

    This file is used in Dojo's back/fwd button management.

    - - diff --git a/spring-faces/src/main/resources/META-INF/dojo/resources/images/dndCopy.png b/spring-faces/src/main/resources/META-INF/dojo/resources/images/dndCopy.png deleted file mode 100644 index 660ca4fb..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dojo/resources/images/dndCopy.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dojo/resources/images/dndMove.png b/spring-faces/src/main/resources/META-INF/dojo/resources/images/dndMove.png deleted file mode 100644 index 74af29c0..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dojo/resources/images/dndMove.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dojo/resources/images/dndNoCopy.png b/spring-faces/src/main/resources/META-INF/dojo/resources/images/dndNoCopy.png deleted file mode 100644 index 87f3aa0d..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dojo/resources/images/dndNoCopy.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dojo/resources/images/dndNoMove.png b/spring-faces/src/main/resources/META-INF/dojo/resources/images/dndNoMove.png deleted file mode 100644 index d75ed860..00000000 Binary files a/spring-faces/src/main/resources/META-INF/dojo/resources/images/dndNoMove.png and /dev/null differ diff --git a/spring-faces/src/main/resources/META-INF/dojo/rpc/JsonService.js b/spring-faces/src/main/resources/META-INF/dojo/rpc/JsonService.js deleted file mode 100644 index d9775f69..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/rpc/JsonService.js +++ /dev/null @@ -1,83 +0,0 @@ -if(!dojo._hasResource["dojo.rpc.JsonService"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo.rpc.JsonService"] = true; -dojo.provide("dojo.rpc.JsonService"); -dojo.require("dojo.rpc.RpcService"); - -dojo.declare("dojo.rpc.JsonService", dojo.rpc.RpcService, { - bustCache: false, - contentType: "application/json-rpc", - lastSubmissionId: 0, - - callRemote: function(method, params){ - // summary: - // call an arbitrary remote method without requiring it to be - // predefined with SMD - // method: string - // the name of the remote method you want to call. - // params: array - // array of parameters to pass to method - - var deferred = new dojo.Deferred(); - this.bind(method, params, deferred); - return deferred; - }, - - bind: function(method, parameters, deferredRequestHandler, url){ - //summary: - // JSON-RPC bind method. Takes remote method, parameters, - // deferred, and a url, calls createRequest to make a JSON-RPC - // envelope and passes that off with bind. - // method: string - // The name of the method we are calling - // parameters: array - // The parameters we are passing off to the method - // deferredRequestHandler: deferred - // The Deferred object for this particular request - - var def = dojo.rawXhrPost({ - url: url||this.serviceUrl, - postData: this.createRequest(method, parameters), - contentType: this.contentType, - timeout: this.timeout, - handleAs: "json-comment-optional" - }); - def.addCallbacks(this.resultCallback(deferredRequestHandler), this.errorCallback(deferredRequestHandler)); - }, - - createRequest: function(method, params){ - // summary: - // create a JSON-RPC envelope for the request - // method: string - // The name of the method we are creating the requst for - // params: array - // The array of parameters for this request; - - var req = { "params": params, "method": method, "id": ++this.lastSubmissionId }; - var data = dojo.toJson(req); - return data; - }, - - parseResults: function(/*anything*/obj){ - //summary: - // parse the result envelope and pass the results back to - // the callback function - // obj: Object - // Object containing envelope of data we recieve from the server - - if(dojo.isObject(obj)){ - if("result" in obj){ - return obj.result; - } - if("Result" in obj){ - return obj.Result; - } - if("ResultSet" in obj){ - return obj.ResultSet; - } - } - return obj; - } - } -); - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/rpc/JsonpService.js b/spring-faces/src/main/resources/META-INF/dojo/rpc/JsonpService.js deleted file mode 100644 index c07d5b93..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/rpc/JsonpService.js +++ /dev/null @@ -1,65 +0,0 @@ -if(!dojo._hasResource["dojo.rpc.JsonpService"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo.rpc.JsonpService"] = true; -dojo.provide("dojo.rpc.JsonpService"); -dojo.require("dojo.rpc.RpcService"); -dojo.require("dojo.io.script"); - -dojo.declare("dojo.rpc.JsonpService", dojo.rpc.RpcService, { - // summary: - // Generic JSONP service. Minimally extends RpcService to allow - // easy definition of nearly any JSONP style service. Example - // SMD files exist in dojox.data - - constructor: function(args, requiredArgs){ - if(this.required) { - if(requiredArgs){ - dojo.mixin(this.required, requiredArgs); - } - - dojo.forEach(this.required, function(req){ - if(req=="" || req==undefined){ - throw new Error("Required Service Argument not found: "+req); - } - }); - } - }, - - strictArgChecks: false, - - bind: function(method, parameters, deferredRequestHandler, url){ - //summary: - // JSONP bind method. Takes remote method, parameters, - // deferred, and a url, calls createRequest to make a JSON-RPC - // envelope and passes that off with bind. - // method: string - // The name of the method we are calling - // parameters: array - // The parameters we are passing off to the method - // deferredRequestHandler: deferred - // The Deferred object for this particular request - - var def = dojo.io.script.get({ - url: url||this.serviceUrl, - callbackParamName: this.callbackParamName||"callback", - content: this.createRequest(parameters), - timeout: this.timeout, - handleAs: "json", - preventCache: true - }); - def.addCallbacks(this.resultCallback(deferredRequestHandler), this.errorCallback(deferredRequestHandler)); - }, - - createRequest: function(parameters){ - // summary: - // create a JSONP req - // params: array - // The array of parameters for this request; - - var params = (dojo.isArrayLike(parameters) && parameters.length==1) ? - parameters[0] : {}; - dojo.mixin(params,this.required); - return params; - } -}); - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/rpc/RpcService.js b/spring-faces/src/main/resources/META-INF/dojo/rpc/RpcService.js deleted file mode 100644 index 22e40ca8..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/rpc/RpcService.js +++ /dev/null @@ -1,172 +0,0 @@ -if(!dojo._hasResource["dojo.rpc.RpcService"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo.rpc.RpcService"] = true; -dojo.provide("dojo.rpc.RpcService"); - -dojo.declare("dojo.rpc.RpcService", null, { - constructor: function(args){ - //summary: - //Take a string as a url to retrieve an smd or an object that is an smd or partial smd to use - //as a definition for the service - // - // args: object - // Takes a number of properties as kwArgs for defining the service. It also - // accepts a string. When passed a string, it is treated as a url from - // which it should synchronously retrieve an smd file. Otherwise it is a kwArgs - // object. It accepts serviceUrl, to manually define a url for the rpc service - // allowing the rpc system to be used without an smd definition. strictArgChecks - // forces the system to verify that the # of arguments provided in a call - // matches those defined in the smd. smdString allows a developer to pass - // a jsonString directly, which will be converted into an object or alternatively - // smdObject is accepts an smdObject directly. - // - if(args){ - //if the arg is a string, we assume it is a url to retrieve an smd definition from - if( (dojo.isString(args)) || (args instanceof dojo._Url)){ - if (args instanceof dojo._Url){ - var url = args + ""; - }else{ - url = args; - } - var def = dojo.xhrGet({ - url: url, - handleAs: "json-comment-optional", - sync: true - }); - - def.addCallback(this, "processSmd"); - def.addErrback(function() { - throw new Error("Unable to load SMD from " + args); - }); - - }else if(args.smdStr){ - this.processSmd(dojo.eval("("+args.smdStr+")")); - }else{ - // otherwise we assume it's an arguments object with the following - // (optional) properties: - // - serviceUrl - // - strictArgChecks - // - smdStr - // - smdObj - - if(args.serviceUrl){ - this.serviceUrl = args.serviceUrl; - } - - this.timeout = args.timeout || 3000; - - if("strictArgChecks" in args){ - this.strictArgChecks = args.strictArgChecks; - } - - this.processSmd(args); - } - } - }, - - strictArgChecks: true, - serviceUrl: "", - - parseResults: function(obj){ - // summary - // parse the results coming back from an rpc request. this - // base implementation, just returns the full object - // subclasses should parse and only return the actual results - // obj: Object - // Object that is the return results from an rpc request - return obj; - }, - - errorCallback: function(/* dojo.Deferred */ deferredRequestHandler){ - // summary: - // create callback that calls the Deferres errback method - // deferredRequestHandler: Deferred - // The deferred object handling a request. - return function(data){ - deferredRequestHandler.errback(new Error(data.message)); - }; - }, - - resultCallback: function(/* dojo.Deferred */ deferredRequestHandler){ - // summary: - // create callback that calls the Deferred's callback method - // deferredRequestHandler: Deferred - // The deferred object handling a request. - - var tf = dojo.hitch(this, - function(obj){ - if(obj.error!=null){ - var err; - if(typeof obj.error == 'object'){ - err = new Error(obj.error.message); - err.code = obj.error.code; - err.error = obj.error.error; - }else{ - err = new Error(obj.error); - } - err.id = obj.id; - err.errorObject = obj; - deferredRequestHandler.errback(err); - }else{ - deferredRequestHandler.callback(this.parseResults(obj)); - } - } - ); - return tf; - }, - - generateMethod: function(/*string*/ method, /*array*/ parameters, /*string*/ url){ - // summary: - // generate the local bind methods for the remote object - // method: string - // The name of the method we are generating - // parameters: array - // the array of parameters for this call. - // url: string - // the service url for this call - - return dojo.hitch(this, function(){ - var deferredRequestHandler = new dojo.Deferred(); - - // if params weren't specified, then we can assume it's varargs - if( (this.strictArgChecks) && - (parameters != null) && - (arguments.length != parameters.length) - ){ - // put error stuff here, no enough params - throw new Error("Invalid number of parameters for remote method."); - }else{ - this.bind(method, dojo._toArray(arguments), deferredRequestHandler, url); - } - - return deferredRequestHandler; - }); - }, - - processSmd: function(object){ - // summary: - // callback method for reciept of a smd object. Parse the smd - // and generate functions based on the description - // object: - // smd object defining this service. - - if(object.methods){ - dojo.forEach(object.methods, function(m){ - if(m && m.name){ - this[m.name] = this.generateMethod( m.name, - m.parameters, - m.url||m.serviceUrl||m.serviceURL); - if(!dojo.isFunction(this[m.name])){ - throw new Error("RpcService: Failed to create" + m.name + "()"); - /*console.debug("RpcService: Failed to create", m.name, "()");*/ - } - } - }, this); - } - - this.serviceUrl = object.serviceUrl||object.serviceURL; - this.required = object.required; - this.smd = object; - } -}); - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/string.js b/spring-faces/src/main/resources/META-INF/dojo/string.js deleted file mode 100644 index 001da5ae..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/string.js +++ /dev/null @@ -1,79 +0,0 @@ -if(!dojo._hasResource["dojo.string"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. -dojo._hasResource["dojo.string"] = true; -dojo.provide("dojo.string"); - -dojo.string.pad = function(/*String*/text, /*int*/size, /*String?*/ch, /*boolean?*/end){ - // summary: - // Pad a string to guarantee that it is at least 'size' length by - // filling with the character 'c' at either the start or end of the - // string. Pads at the start, by default. - // text: the string to pad - // size: length to provide padding - // ch: character to pad, defaults to '0' - // end: adds padding at the end if true, otherwise pads at start - - var out = String(text); - if(!ch){ - ch = '0'; - } - while(out.length < size){ - if(end){ - out += ch; - }else{ - out = ch + out; - } - } - return out; // String -}; - -dojo.string.substitute = function( /*String*/template, - /*Object or Array*/map, - /*Function?*/transform, - /*Object?*/thisObject){ - // summary: - // Performs parameterized substitutions on a string. Throws an - // exception if any parameter is unmatched. - // description: - // For example, - // | dojo.string.substitute("File '${0}' is not found in directory '${1}'.",["foo.html","/temp"]); - // | dojo.string.substitute("File '${name}' is not found in directory '${info.dir}'.",{name: "foo.html", info: {dir: "/temp"}}); - // both return - // "File 'foo.html' is not found in directory '/temp'." - // template: - // a string with expressions in the form ${key} to be replaced or - // ${key:format} which specifies a format function. NOTE syntax has - // changed from %{key} - // map: where to look for substitutions - // transform: - // a function to process all parameters before substitution takes - // place, e.g. dojo.string.encodeXML - // thisObject: - // where to look for optional format function; default to the global - // namespace - - return template.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g, function(match, key, format){ - var value = dojo.getObject(key,false,map); - if(format){ value = dojo.getObject(format,false,thisObject)(value);} - if(transform){ value = transform(value, key); } - return value.toString(); - }); // string -}; - -dojo.string.trim = function(/*String*/ str){ - // summary: trims whitespaces from both sides of the string - // description: - // This version of trim() was taken from Steven Levithan's blog: - // http://blog.stevenlevithan.com/archives/faster-trim-javascript. - // The short yet good-performing version of this function is - // dojo.trim(), which is part of the base. - str = str.replace(/^\s+/, ''); - for(var i = str.length - 1; i > 0; i--){ - if(/\S/.test(str.charAt(i))){ - str = str.substring(0, i + 1); - break; - } - } - return str; // String -}; - -} diff --git a/spring-faces/src/main/resources/META-INF/dojo/tests.js b/spring-faces/src/main/resources/META-INF/dojo/tests.js deleted file mode 100644 index 862507eb..00000000 --- a/spring-faces/src/main/resources/META-INF/dojo/tests.js +++ /dev/null @@ -1,6 +0,0 @@ -//This file is the command-line entry point for running the tests in -//Rhino and Spidermonkey. - -load("dojo.js"); -load("tests/runner.js"); -tests.run();