camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject svn commit: r755904 [38/40] - in /camel/trunk/components/camel-web/src/main/webapp/js/dojox: ./ analytics/ analytics/logger/ analytics/plugins/ analytics/profiles/ atom/ atom/io/ atom/widget/ atom/widget/nls/ atom/widget/nls/cs/ atom/widget/nls/de/ ato...
Date Thu, 19 Mar 2009 10:37:20 GMT
Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/languages/xml.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/languages/xml.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/languages/xml.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/languages/xml.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,19 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.highlight.languages.xml"]){
+dojo._hasResource["dojox.highlight.languages.xml"]=true;
+dojo.provide("dojox.highlight.languages.xml");
+dojo.require("dojox.highlight._base");
+(function(){
+var _1={className:"comment",begin:"<!--",end:"-->"};
+var _2={className:"attribute",begin:" [a-zA-Z-]+=",end:"^",contains:["value"]};
+var _3={className:"value",begin:"\"",end:"\""};
+var dh=dojox.highlight,_5=dh.constants;
+dh.languages.xml={defaultMode:{contains:["pi","comment","cdata","tag"]},case_insensitive:true,modes:[{className:"pi",begin:"<\\?",end:"\\?>",relevance:10},_1,{className:"cdata",begin:"<\\!\\[CDATA\\[",end:"\\]\\]>"},{className:"tag",begin:"</?",end:">",contains:["title","tag_internal"],relevance:1.5},{className:"title",begin:"[A-Za-z:_][A-Za-z0-9\\._:-]+",end:"^",relevance:0},{className:"tag_internal",begin:"^",endsWithParent:true,contains:["attribute"],relevance:0,illegal:"[\\+\\.]"},_2,_3],XML_COMMENT:_1,XML_ATTR:_2,XML_VALUE:_3};
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/languages/xml.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/highlight.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/highlight.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/highlight.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/highlight.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,51 @@
+
+.string,
+.function .title,
+.class .title, 
+.tag .attribute .value,
+.css .rules .value,
+.preprocessor,
+.ruby .symbol,
+.ruby .instancevar,
+.ruby .class .parent,
+.built_in,
+.sql .aggregate,
+.django .template_tag,
+.django .variable,
+.smalltalk .class {
+	color: #800;
+}
+.comment,
+.java .annotation,
+.template_comment {
+	color: #888;
+}
+.number,
+.regexp,
+.javascript .literal,
+.smalltalk .symbol,
+.smalltalk .char {
+	color: #080;
+}
+.javadoc,
+.ruby .string,
+.python .decorator,
+.django .filter .argument,
+.smalltalk .localvars,
+.smalltalk .array,
+.css .attr_selector,
+.xml .pi {
+	color: #88F;
+}
+.keyword,
+.css .id,
+.phpdoc,
+.function .title,
+.class .title,
+.vbscript .built_in,
+.sql .aggregate,
+.rsl .built_in,
+.smalltalk .class,
+.xml .tag .title {
+	font-weight: bold;
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/highlight.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/autumn.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/autumn.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/autumn.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/autumn.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,22 @@
+
+code .comment {color: #aaa; font-style: italic}
+code .comment.preproc {color: #4c8317; font-style: normal}
+code .comment.special {color: #00a}
+code .keyword {color: #00a}
+code .keyword.type {color: #0aa}
+code .operator.word {color: #00a}
+code .name.builtin {color: #0aa}
+code .name.function {color: #0a0}
+code .name.class {color: #0a0; text-decoration: underline}
+code .name.namespace {color: #0aa; text-decoration: underline}
+code .name.exception {color: #D2413A; font-weight: bold}
+code .name.variable {color: #a00}
+code .name.constant {color: #a00}
+code .name.entity {color: #800; font-weight: bold}
+code .name.attribute {color: #1e90ff}
+code .name.tag {color: #1e90ff; font-weight: bold}
+code .name.decorator {color: #888}
+code .string {color: #a50}
+code .string.regex {color: #099}
+code .string.symbol {color: #00a}
+code .number {color: #099}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/autumn.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/borland.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/borland.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/borland.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/borland.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,11 @@
+
+code .comment {color: #080; font-style: italic}
+code .comment.preproc {color: #008080; font-style: normal}
+code .comment.special {font-weight: bold; font-style: normal}
+code .keyword {color: #000080; font-weight: bold}
+code .operator.word {font-weight: bold}
+code .name.attribute {color: #f00}
+code .name.tag {color: #000080; font-weight: bold}
+code .string {color: #00f}
+code .string.char {color: #800080}
+code .number {color: #00f}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/borland.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/colorful.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/colorful.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/colorful.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/colorful.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,37 @@
+
+code .comment {color: #888}
+code .comment.preproc {color: #579}
+code .comment.special {color: #c00; font-weight: bold}
+code .keyword {color: #080; font-weight: bold}
+code .keyword.pseudo {color: #038}
+code .keyword.type {color: #339}
+code .operator {color: #333}
+code .operator.word {color: #000; font-weight: bold}
+code .name.builtin {color: #007020}
+code .name.function {color: #06b; font-weight: bold}
+code .name.class {color: #b06; font-weight: bold}
+code .name.namespace {color: #0e84b5; font-weight: bold}
+code .name.exception {color: #f00; font-weight: bold}
+code .name.variable {color: #963}
+code .name.variable.instance {color: #33b}
+code .name.variable.class {color: #369}
+code .name.variable.global {color: #d70; font-weight: bold}
+code .name.constant {color: #036; font-weight: bold}
+code .name.label {color: #970; font-weight: bold}
+code .name.entity {color: #800; font-weight: bold}
+code .name.attribute {color: #00c}
+code .name.tag {color: #070}
+code .name.decorator {color: #555; font-weight: bold}
+code .string {background-color: #fff0f0}
+code .string.char {color: #04d; background-color: transparent}
+code .string.doc {color: #d42; background-color: transparent}
+code .string.interpol {background-color: #eee}
+code .string.escape {color: #666; font-weight: bold}
+code .string.regex {color: #000; background-color: #fff0f0}
+code .string.symbol {color: #a60; background-color: transparent}
+code .string.other {color: #d20}
+code .number {color: #60e}
+code .number.integer {color: #00d}
+code .number.float {color: #60e}
+code .number.hex {color: #058}
+code .number.oct {color: #40e}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/colorful.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/default.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/default.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/default.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/default.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,28 @@
+
+code {background-color: #f8f8f8}
+code .comment {color: #408080; font-style: italic}
+code .comment.preproc {color: #bc7a00; font-style: normal}
+code .keyword {color: #008000; font-weight: bold}
+code .keyword.pseudo {font-weight: normal}
+code .operator {color: #666}
+code .operator.word {color: #a2f}
+code .name.builtin {color: #008000}
+code .name.function {color: #00f}
+code .name.class {color: #00f; font-weight: bold}
+code .name.namespace {color: #00f; font-weight: bold}
+code .name.exception {color: #d2413a; font-weight: bold}
+code .name.variable {color: #19177c}
+code .name.constant {color: #800}
+code .name.label {color: #a0a000}
+code .name.entity {color: #999; font-weight: bold}
+code .name.attribute {color: #7d9029}
+code .name.tag {color: #008000; font-weight: bold}
+code .name.decorator {color: #a2f}
+code .string {color: #ba2121}
+code .string.doc {font-style: italic}
+code .string.interpol {color: #b68; font-weight: bold}
+code .string.escape {color: #b62; font-weight: bold}
+code .string.regex {color: #b68}
+code .string.symbol {color: #19177c}
+code .string.other {color: #008000}
+code .number {color: #666}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/default.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/emacs.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/emacs.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/emacs.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/emacs.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,29 @@
+
+code {background-color: #f8f8f8}
+code .comment {color: #080; font-style: italic}
+code .comment.preproc {font-style: normal}
+code .comment.special {font-style: normal; font-weight: bold}
+code .keyword {color: #a2f; font-weight: bold}
+code .keyword.pseudo {font-weight: normal}
+code .operator {color: #666}
+code .operator.word {color: #a2f; font-weight: bold}
+code .name.builtin {color: #a2f}
+code .name.function {color: #00a000}
+code .name.class {color: #00f}
+code .name.namespace {color: #00f; font-weight: bold}
+code .name.exception {color: #d2413a; font-weight: bold}
+code .name.variable {color: #b8860b}
+code .name.constant {color: #800}
+code .name.label {color: #a0a000}
+code .name.entity {color: #999; font-weight: bold}
+code .name.attribute {color: #b44}
+code .name.tag {color: #008000; font-weight: bold}
+code .name.decorator {color: #a2f}
+code .string {color: #b44}
+code .string.doc {font-style: italic}
+code .string.interpol {color: #b68; font-weight: bold}
+code .string.escape {color: #b62; font-weight: bold}
+code .string.regex {color: #b68}
+code .string.symbol {color: #b8860b}
+code .string.other {color: #008000}
+code .number {color: #666}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/emacs.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/friendly.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/friendly.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/friendly.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/friendly.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,29 @@
+
+code {background-color: #f8f8f8}
+code .comment {color: #60a0b0; font-style: italic}
+code .comment.preproc {color: #007020; font-style: normal}
+code .comment.special {background-color: #fff0f0; font-style: normal}
+code .keyword {color: #007020; font-weight: bold}
+code .keyword.pseudo {font-weight: normal}
+code .operator {color: #666}
+code .operator.word {color: #007020; font-weight: bold}
+code .name.builtin {color: #007020}
+code .name.function {color: #06287e}
+code .name.class {color: #0e84b5; font-weight: bold}
+code .name.namespace {color: #0e84b5; font-weight: bold}
+code .name.exception {color: #007020}
+code .name.variable {color: #bb60d5}
+code .name.constant {color: #60add5}
+code .name.label {color: #002070; font-weight: bold}
+code .name.entity {color: #d55537; font-weight: bold}
+code .name.attribute {color: #4070a0}
+code .name.tag {color: #062873; font-weight: bold}
+code .name.decorator {color: #555; font-weight: bold}
+code .string {color: #4070a0}
+code .string.doc {font-style: italic}
+code .string.interpol {color: #70a0d0; font-style: italic}
+code .string.escape {color: #4070a0; font-weight: bold}
+code .string.regex {color: #235388}
+code .string.symbol {color: #517918}
+code .string.other {color: #c65d09}
+code .number {color: #40a070}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/friendly.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/fruity.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/fruity.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/fruity.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/fruity.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,14 @@
+
+code {background-color: #111; color: #fff}
+code .comment {color: #080; background-color: #0f140f; font-style: italic}
+code .comment.preproc {color: #ff0007; font-weight: bold}
+code .keyword {color: #fb660a; font-weight: bold}
+code .keyword.pseudo {font-weight: normal}
+code .keyword.type {color: #cdcaa9; font-weight: bold}
+code .name.function {color: #ff0086; font-weight: bold}
+code .name.variable {color: #fb660a}
+code .name.constant {color: #0086d2}
+code .name.attribute {color: #ff0086; font-weight: bold}
+code .name.tag {color: #fb660a; font-weight: bold}
+code .string {color: #0086d2}
+code .number {color: #0086f7; font-weight: bold}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/fruity.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/manni.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/manni.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/manni.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/manni.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,30 @@
+
+code {background-color: #f0f3f3}
+code .comment {color: #09f; font-style: italic}
+code .comment.preproc {color: #099; font-style: normal}
+code .comment.special {font-weight: bold}
+code .keyword {color: #069; font-weight: bold}
+code .keyword.pseudo {font-weight: normal}
+code .keyword.type {color: #078}
+code .operator {color: #555}
+code .operator.word {color: #000; font-weight: bold}
+code .name.builtin {color: #366}
+code .name.function {color: #c0f}
+code .name.class {color: #0a8; font-weight: bold}
+code .name.namespace {color: #0cf; font-weight: bold}
+code .name.exception {color: #c00; font-weight: bold}
+code .name.variable {color: #033}
+code .name.constant {color: #360}
+code .name.label {color: #99f}
+code .name.entity {color: #999; font-weight: bold}
+code .name.attribute {color: #309}
+code .name.tag {color: #309; font-weight: bold}
+code .name.decorator {color: #99f}
+code .string {color: #c30}
+code .string.doc {font-style: italic}
+code .string.interpol {color: #a00}
+code .string.escape {color: #c30; font-weight: bold}
+code .string.regex {color: #3aa}
+code .string.symbol {color: #fc3}
+code .string.other {color: #c30}
+code .number {color: #f60}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/manni.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/murphy.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/murphy.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/murphy.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/murphy.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,37 @@
+
+code .comment {color: #666; font-style: italic}
+code .comment.preproc {color: #579; font-style: normal}
+code .comment.special {color: #c00; font-weight: bold}
+code .keyword {color: #289; font-weight: bold}
+code .keyword.pseudo {color: #08f}
+code .keyword.type {color: #66f}
+code .operator {color: #333}
+code .operator.word {color: #000; font-weight: bold}
+code .name.builtin {color: #072}
+code .name.function {color: #5ed; font-weight: bold}
+code .name.class {color: #e9e; font-weight: bold}
+code .name.namespace {color: #0e84b5; font-weight: bold}
+code .name.exception {color: #f00; font-weight: bold}
+code .name.variable {color: #036}
+code .name.variable.instance {color: #aaf}
+code .name.variable.class {color: #ccf}
+code .name.variable.global {color: #f84}
+code .name.constant {color: #5ed; font-weight: bold}
+code .name.label {color: #970; font-weight: bold}
+code .name.entity {color: #800}
+code .name.attribute {color: #007}
+code .name.tag {color: #070}
+code .name.decorator {color: #555; font-weight: bold}
+code .string {background-color: #e0e0ff}
+code .string.char {color: #88f; background-color: transparent}
+code .string.doc {color: #d42; background-color: transparent}
+code .string.interpol {background-color: #eee}
+code .string.escape {color: #666; font-weight: bold}
+code .string.regex {color: #000; background-color: #e0e0ff}
+code .string.symbol {color: #fc8; background-color: transparent}
+code .string.other {color: #f88}
+code .number {color: #60e; font-weight: bold}
+code .number.integer {color: #66f; font-weight: bold}
+code .number.float {color: #60e; font-weight: bold}
+code .number.hex {color: #058; font-weight: bold}
+code .number.oct {color: #40e; font-weight: bold}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/murphy.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/native.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/native.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/native.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/native.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,21 @@
+
+code {background-color: #202020; color: #d0d0d0}
+code .comment {color: #999; font-style: italic}
+code .comment.preproc {color: #cd2828; font-style: normal; font-weight: bold}
+code .comment.special {color: #e50808; font-style: normal; font-weight: bold; background-color: #520000}
+code .keyword {color: #6ab825; font-weight: bold}
+code .keyword.pseudo {font-weight: normal}
+code .operator.word {color: #6ab825; font-weight: bold}
+code .name.builtin {color: #24909d}
+code .name.function {color: #40ffff}
+code .name.class {color: #447fcf; text-decoration: underline}
+code .name.namespace {color: #447fcf; text-decoration: underline}
+code .name.exception {color: #bbb}
+code .name.variable {color: #40ffff}
+code .name.constant {color: #40ffff}
+code .name.attribute {color: #bbb}
+code .name.tag {color: #6ab825; font-weight: bold}
+code .name.decorator {color: #ffa500}
+code .string {color: #ed9d13}
+code .string.other {color: #ffa500}
+code .number {color: #3677a9}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/native.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/pastie.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/pastie.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/pastie.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/pastie.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,30 @@
+
+code .comment {color: #888}
+code .comment.preproc {color: #c00; font-weight: bold}
+code .comment.special {color: #c00; font-weight: bold; background-color: #fff0f0}
+code .keyword {color: #008800; font-weight: bold}
+code .keyword.pseudo {font-weight: normal}
+code .keyword.type {color: #888}
+code .operator.word {color: #080}
+code .name.builtin {color: #038}
+code .name.function {color: #06b; font-weight: bold}
+code .name.class {color: #b06; font-weight: bold}
+code .name.namespace {color: #b06; font-weight: bold}
+code .name.exception {color: #b06; font-weight: bold}
+code .name.variable {color: #369}
+code .name.variable.class {color: #369}
+code .name.variable.instance {color: #33b}
+code .name.variable.global {color: #d70}
+code .name.constant {color: #036; font-weight: bold}
+code .name.label {color: #369; font-style: italic}
+code .name.attribute {color: #369}
+code .name.tag {color: #b06; font-weight: bold}
+code .name.decorator {color: #555}
+code .name.property {color: #369; font-weight: bold}
+code .string {color: #d20; background-color: #fff0f0}
+code .string.interpol {color: #33b}
+code .string.escape {color: #04d}
+code .string.regex {color: #080; background-color: #fff0f0}
+code .string.symbol {color: #a60}
+code .string.other {color: #2b2; background-color: #f0fff0}
+code .number {color: #00d; font-weight: bold}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/pastie.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/perldoc.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/perldoc.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/perldoc.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/perldoc.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,23 @@
+
+code {background-color: #eed}
+code .comment {color: #228b22}
+code .comment.preproc {color: #1e889b}
+code .comment.special {color: #8b008b; font-weight: bold}
+code .keyword {color: #8b008b; font-weight: bold}
+code .keyword.type {color: #a7a7a7}
+code .operator.word {color: #8b008b}
+code .name.builtin {color: #658b00}
+code .name.function {color: #008b45}
+code .name.class {color: #008b45; font-weight: bold}
+code .name.namespace {color: #008b45; text-decoration: underline}
+code .name.exception {color: #008b45; font-weight: bold}
+code .name.variable {color: #00688b}
+code .name.constant {color: #00688b}
+code .name.attribute {color: #658b00}
+code .name.tag {color: #8b008b; font-weight: bold}
+code .name.decorator {color: #707a7c}
+code .string {color: #cd5555}
+code .string.regex {color: #1c7e71}
+code .string.other {color: #cb6c20}
+code .string.heredoc {color: #1c7e71; font-style: italic}
+code .number {color: #b452cd}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/perldoc.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/trac.css
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/trac.css?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/trac.css (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/trac.css Thu Mar 19 10:37:00 2009
@@ -0,0 +1,20 @@
+
+code .comment {color: #998; font-style: italic}
+code .comment.preproc {color: #999; font-style: normal; font-weight: bold}
+code .comment.special {color: #999; font-weight: bold}
+code .keyword {font-weight: bold}
+code .keyword.type {color: #458}
+code .operator {font-weight: bold}
+code .name.builtin {color: #999}
+code .name.function {color: #900; font-weight: bold}
+code .name.class {color: #458; font-weight: bold}
+code .name.namespace {color: #555}
+code .name.exception {color: #900; font-weight: bold}
+code .name.variable {color: #008080}
+code .name.constant {color: #008080}
+code .name.entity {color: #800080}
+code .name.attribute {color: #008080}
+code .name.tag {color: #000080}
+code .string {color: #b84}
+code .string.regex {color: #808000}
+code .number {color: #099}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/highlight/resources/pygments/trac.css
------------------------------------------------------------------------------
    svn:mime-type = text/css

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/html.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/html.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/html.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/html.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,12 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.html"]){
+dojo._hasResource["dojox.html"]=true;
+dojo.provide("dojox.html");
+dojo.require("dojox.html._base");
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/html.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/README
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/README?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/README (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/README Thu Mar 19 10:37:00 2009
@@ -0,0 +1,46 @@
+-------------------------------------------------------------------------------
+dojox.html
+-------------------------------------------------------------------------------
+Version 0.2
+Release date: 04/24/2008
+-------------------------------------------------------------------------------
+Project state:
+beta
+-------------------------------------------------------------------------------
+Credits
+	Eugene Lazutkin (eugene.lazutkin AT gmail.com)
+	Scott J. Miles (sjmiles AT activegrid.com)
+	Steve Orvell (sorvell AT activegrid.com)
+	Tom Trenka (ttrenka AT gmail.com)
+	Bryan Forbes (bryan AT reigndropsfall.net)
+    Mike Wilcox - dojox.html.styles (anm8tr AT yahoo.com)
+-------------------------------------------------------------------------------
+Project description
+
+This project aims to add html functions that aren't used often enough to
+warrant going into Dojo Core but should not be duplicated.  For instance, font
+measurement routines aren't used by the majority of developers, but are complex
+enough to not be duplicated.
+Styles adds the ability to create and remove dynamic cssRules, as well as 
+manipulate document style sheets.
+-------------------------------------------------------------------------------
+Dependencies:
+
+dojox.html nor dojox.html.styles have dependencies, outside of Dojo Core.
+-------------------------------------------------------------------------------
+Documentation
+
+To automatically initialize the font resize callback, add "fontSizeWatch: true"
+to your djConfig.
+-------------------------------------------------------------------------------
+Installation instructions
+
+Grab the following from the Dojo SVN Repository:
+http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/html.js
+http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/html/*
+http://svn.dojotoolkit.org/var/src/dojo/dojox/trunk/html/styles.js
+Install into the following directory structure:
+/dojox/html/
+
+...which should be at the same level as your Dojo checkout.
+-------------------------------------------------------------------------------

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/README
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/_base.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/_base.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/_base.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/_base.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,177 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.html._base"]){
+dojo._hasResource["dojox.html._base"]=true;
+dojo.provide("dojox.html._base");
+dojo.require("dojo.html");
+(function(){
+if(dojo.isIE){
+var _1=/(AlphaImageLoader\([^)]*?src=(['"]))(?![a-z]+:|\/)([^\r\n;}]+?)(\2[^)]*\)\s*[;}]?)/g;
+}
+var _2=/(?:(?:@import\s*(['"])(?![a-z]+:|\/)([^\r\n;{]+?)\1)|url\(\s*(['"]?)(?![a-z]+:|\/)([^\r\n;]+?)\3\s*\))([a-z, \s]*[;}]?)/g;
+var _3=dojox.html._adjustCssPaths=function(_4,_5){
+if(!_5||!_4){
+return;
+}
+if(_1){
+_5=_5.replace(_1,function(_6,_7,_8,_9,_a){
+return _7+(new dojo._Url(_4,"./"+_9).toString())+_a;
+});
+}
+return _5.replace(_2,function(_b,_c,_d,_e,_f,_10){
+if(_d){
+return "@import \""+(new dojo._Url(_4,"./"+_d).toString())+"\""+_10;
+}else{
+return "url("+(new dojo._Url(_4,"./"+_f).toString())+")"+_10;
+}
+});
+};
+var _11=/(<[a-z][a-z0-9]*\s[^>]*)(?:(href|src)=(['"]?)([^>]*?)\3|style=(['"]?)([^>]*?)\5)([^>]*>)/gi;
+var _12=dojox.html._adjustHtmlPaths=function(_13,_14){
+var url=_13||"./";
+return _14.replace(_11,function(tag,_17,_18,_19,_1a,_1b,_1c,end){
+return _17+(_18?(_18+"="+_19+(new dojo._Url(url,_1a).toString())+_19):("style="+_1b+_3(url,_1c)+_1b))+end;
+});
+};
+var _1e=dojox.html._snarfStyles=function(_1f,_20,_21){
+_21.attributes=[];
+return _20.replace(/(?:<style([^>]*)>([\s\S]*?)<\/style>|<link\s+(?=[^>]*rel=['"]?stylesheet)([^>]*?href=(['"])([^>]*?)\4[^>\/]*)\/?>)/gi,function(_22,_23,_24,_25,_26,_27){
+var i,_29=(_23||_25||"").replace(/^\s*([\s\S]*?)\s*$/i,"$1");
+if(_24){
+i=_21.push(_1f?_3(_1f,_24):_24);
+}else{
+i=_21.push("@import \""+_27+"\";");
+_29=_29.replace(/\s*(?:rel|href)=(['"])?[^\s]*\1\s*/gi,"");
+}
+if(_29){
+_29=_29.split(/\s+/);
+var _2a={},tmp;
+for(var j=0,e=_29.length;j<e;j++){
+tmp=_29[j].split("=");
+_2a[tmp[0]]=tmp[1].replace(/^\s*['"]?([\s\S]*?)['"]?\s*$/,"$1");
+}
+_21.attributes[i-1]=_2a;
+}
+return "";
+});
+};
+var _2e=dojox.html._snarfScripts=function(_2f,_30){
+_30.code="";
+function _31(src){
+if(_30.downloadRemote){
+dojo.xhrGet({url:src,sync:true,load:function(_33){
+_30.code+=_33+";";
+},error:_30.errBack});
+}
+};
+return _2f.replace(/<script\s*(?![^>]*type=['"]?dojo)(?:[^>]*?(?:src=(['"]?)([^>]*?)\1[^>]*)?)*>([\s\S]*?)<\/script>/gi,function(_34,_35,src,_37){
+if(src){
+_31(src);
+}else{
+_30.code+=_37;
+}
+return "";
+});
+};
+var _38=dojox.html.evalInGlobal=function(_39,_3a){
+_3a=_3a||dojo.doc.body;
+var n=_3a.ownerDocument.createElement("script");
+n.type="text/javascript";
+_3a.appendChild(n);
+n.text=_39;
+};
+dojo.declare("dojox.html._ContentSetter",[dojo.html._ContentSetter],{adjustPaths:false,referencePath:".",renderStyles:false,executeScripts:false,scriptHasHooks:false,scriptHookReplacement:null,_renderStyles:function(_3c){
+this._styleNodes=[];
+var st,att,_3f,doc=this.node.ownerDocument;
+var _41=doc.getElementsByTagName("head")[0];
+for(var i=0,e=_3c.length;i<e;i++){
+_3f=_3c[i];
+att=_3c.attributes[i];
+st=doc.createElement("style");
+st.setAttribute("type","text/css");
+for(var x in att){
+st.setAttribute(x,att[x]);
+}
+this._styleNodes.push(st);
+_41.appendChild(st);
+if(st.styleSheet){
+st.styleSheet.cssText=_3f;
+}else{
+st.appendChild(doc.createTextNode(_3f));
+}
+}
+},empty:function(){
+this.inherited("empty",arguments);
+this._styles=[];
+},onBegin:function(){
+this.inherited("onBegin",arguments);
+var _45=this.content,_46=this.node;
+var _47=this._styles;
+if(dojo.isString(_45)){
+if(this.adjustPaths&&this.referencePath){
+_45=_12(this.referencePath,_45);
+}
+if(this.renderStyles||this.cleanContent){
+_45=_1e(this.referencePath,_45,_47);
+}
+if(this.executeScripts){
+var _t=this;
+var _49={downloadRemote:true,errBack:function(e){
+_t._onError.call(_t,"Exec","Error downloading remote script in \""+_t.id+"\"",e);
+}};
+_45=_2e(_45,_49);
+this._code=_49.code;
+}
+}
+this.content=_45;
+},onEnd:function(){
+var _4b=this._code,_4c=this._styles;
+if(this._styleNodes&&this._styleNodes.length){
+while(this._styleNodes.length){
+dojo.destroy(this._styleNodes.pop());
+}
+}
+if(this.renderStyles&&_4c&&_4c.length){
+this._renderStyles(_4c);
+}
+if(this.executeScripts&&_4b){
+if(this.cleanContent){
+_4b=_4b.replace(/(<!--|(?:\/\/)?-->|<!\[CDATA\[|\]\]>)/g,"");
+}
+if(this.scriptHasHooks){
+_4b=_4b.replace(/_container_(?!\s*=[^=])/g,this.scriptHookReplacement);
+}
+try{
+_38(_4b,this.node);
+}
+catch(e){
+this._onError("Exec","Error eval script in "+this.id+", "+e.message,e);
+}
+}
+this.inherited("onEnd",arguments);
+},tearDown:function(){
+this.inherited(arguments);
+delete this._styles;
+if(this._styleNodes&&this._styleNodes.length){
+while(this._styleNodes.length){
+dojo.destroy(this._styleNodes.pop());
+}
+}
+delete this._styleNodes;
+dojo.mixin(this,dojo.getObject(this.declaredClass).prototype);
+}});
+dojox.html.set=function(_4d,_4e,_4f){
+if(!_4f){
+return dojo.html._setNodeContent(_4d,_4e,true);
+}else{
+var op=new dojox.html._ContentSetter(dojo.mixin(_4f,{content:_4e,node:_4d}));
+return op.set();
+}
+};
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/_base.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/metrics.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/metrics.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/metrics.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/metrics.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,141 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.html.metrics"]){
+dojo._hasResource["dojox.html.metrics"]=true;
+dojo.provide("dojox.html.metrics");
+(function(){
+var _1=dojox.html.metrics;
+_1.getFontMeasurements=function(){
+var _2={"1em":0,"1ex":0,"100%":0,"12pt":0,"16px":0,"xx-small":0,"x-small":0,"small":0,"medium":0,"large":0,"x-large":0,"xx-large":0};
+if(dojo.isIE){
+dojo.doc.documentElement.style.fontSize="100%";
+}
+var _3=dojo.doc.createElement("div");
+var ds=_3.style;
+ds.position="absolute";
+ds.left="-100px";
+ds.top="0";
+ds.width="30px";
+ds.height="1000em";
+ds.border="0";
+ds.margin="0";
+ds.padding="0";
+ds.outline="0";
+ds.lineHeight="1";
+ds.overflow="hidden";
+dojo.body().appendChild(_3);
+for(var p in _2){
+ds.fontSize=p;
+_2[p]=Math.round(_3.offsetHeight*12/16)*16/12/1000;
+}
+dojo.body().removeChild(_3);
+_3=null;
+return _2;
+};
+var _6=null;
+_1.getCachedFontMeasurements=function(_7){
+if(_7||!_6){
+_6=_1.getFontMeasurements();
+}
+return _6;
+};
+var _8=null,_9={};
+_1.getTextBox=function(_a,_b,_c){
+var m;
+if(!_8){
+m=_8=dojo.doc.createElement("div");
+m.style.position="absolute";
+m.style.left="-10000px";
+m.style.top="0";
+dojo.body().appendChild(m);
+}else{
+m=_8;
+}
+m.className="";
+m.style.border="0";
+m.style.margin="0";
+m.style.padding="0";
+m.style.outline="0";
+if(arguments.length>1&&_b){
+for(var i in _b){
+if(i in _9){
+continue;
+}
+m.style[i]=_b[i];
+}
+}
+if(arguments.length>2&&_c){
+m.className=_c;
+}
+m.innerHTML=_a;
+return dojo.marginBox(m);
+};
+var _f={w:16,h:16};
+_1.getScrollbar=function(){
+return {w:_f.w,h:_f.h};
+};
+_1._fontResizeNode=null;
+_1.initOnFontResize=function(_10){
+var f=_1._fontResizeNode=dojo.doc.createElement("iframe");
+var fs=f.style;
+fs.position="absolute";
+fs.width="5em";
+fs.height="10em";
+fs.top="-10000px";
+f.src=dojo.config["dojoBlankHtmlUrl"]||dojo.moduleUrl("dojo","resources/blank.html");
+dojo.body().appendChild(f);
+if(dojo.isIE){
+f.onreadystatechange=function(){
+if(f.contentWindow.document.readyState=="complete"){
+f.onresize=Function("window.parent."+dojox._scopeName+".html.metrics._fontresize()");
+}
+};
+}else{
+f.onload=function(){
+f.contentWindow.onresize=Function("window.parent."+dojox._scopeName+".html.metrics._fontresize()");
+};
+}
+_1.initOnFontResize=function(){
+};
+};
+_1.onFontResize=function(){
+};
+_1._fontresize=function(){
+_1.onFontResize();
+};
+dojo.addOnUnload(function(){
+var f=_1._fontResizeNode;
+if(f){
+if(dojo.isIE&&f.onresize){
+f.onresize=null;
+}else{
+if(f.contentWindow&&f.contentWindow.onresize){
+f.contentWindow.onresize=null;
+}
+}
+_1._fontResizeNode=null;
+}
+});
+dojo.addOnLoad(function(){
+try{
+var n=dojo.doc.createElement("div");
+n.style.cssText="top:0;left:0;width:100px;height:100px;overflow:scroll;position:absolute;visibility:hidden;";
+dojo.body().appendChild(n);
+_f.w=n.offsetWidth-n.clientWidth;
+_f.h=n.offsetHeight-n.clientHeight;
+dojo.body().removeChild(n);
+delete n;
+}
+catch(e){
+}
+if("fontSizeWatch" in dojo.config&&!!dojo.config.fontSizeWatch){
+_1.initOnFontResize();
+}
+});
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/metrics.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/styles.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/styles.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/styles.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/styles.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,194 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.html.styles"]){
+dojo._hasResource["dojox.html.styles"]=true;
+dojo.provide("dojox.html.styles");
+(function(){
+var _1={};
+var _2={};
+var _3=[];
+var _4=[];
+dojox.html.insertCssRule=function(_5,_6,_7){
+var ss=dojox.html.getDynamicStyleSheet(_7);
+var _9=_5+" {"+_6+"}";
+
+if(dojo.isIE){
+ss.cssText+=_9;
+
+}else{
+if(ss.sheet){
+ss.sheet.insertRule(_9,ss._indicies.length);
+}else{
+ss.appendChild(dojo.doc.createTextNode(_9));
+}
+}
+ss._indicies.push(_5+" "+_6);
+return _5;
+};
+dojox.html.removeCssRule=function(_a,_b,_c){
+var ss;
+var _e=-1;
+for(var nm in _1){
+if(_c&&_c!=nm){
+continue;
+}
+ss=_1[nm];
+for(var i=0;i<ss._indicies.length;i++){
+if(_a+" "+_b==ss._indicies[i]){
+_e=i;
+break;
+}
+}
+if(_e>-1){
+break;
+}
+}
+if(!ss){
+
+return false;
+}
+if(_e==-1){
+
+return false;
+}
+ss._indicies.splice(_e,1);
+if(dojo.isIE){
+ss.removeRule(_e);
+}else{
+if(ss.sheet){
+ss.sheet.deleteRule(_e);
+}else{
+if(document.styleSheets[0]){
+
+}
+}
+}
+return true;
+};
+dojox.html.getStyleSheet=function(_11){
+if(_1[_11||"default"]){
+return _1[_11||"default"];
+}
+if(!_11){
+return false;
+}
+var _12=dojox.html.getStyleSheets();
+if(_12[_11]){
+return dojox.html.getStyleSheets()[_11];
+}
+for(var nm in _12){
+if(_12[nm].href&&_12[nm].href.indexOf(_11)>-1){
+return _12[nm];
+}
+}
+return false;
+};
+dojox.html.getDynamicStyleSheet=function(_14){
+if(!_14){
+_14="default";
+}
+if(!_1[_14]){
+if(dojo.doc.createStyleSheet){
+_1[_14]=dojo.doc.createStyleSheet();
+_1[_14].title=_14;
+}else{
+_1[_14]=dojo.doc.createElement("style");
+_1[_14].setAttribute("type","text/css");
+dojo.doc.getElementsByTagName("head")[0].appendChild(_1[_14]);
+
+}
+_1[_14]._indicies=[];
+}
+return _1[_14];
+};
+dojox.html.enableStyleSheet=function(_15){
+var ss=dojox.html.getStyleSheet(_15);
+if(ss){
+if(ss.sheet){
+ss.sheet.disabled=false;
+}else{
+ss.disabled=false;
+}
+}
+};
+dojox.html.disableStyleSheet=function(_17){
+var ss=dojox.html.getStyleSheet(_17);
+if(ss){
+if(ss.sheet){
+ss.sheet.disabled=true;
+}else{
+ss.disabled=true;
+}
+}
+};
+dojox.html.activeStyleSheet=function(_19){
+var _1a=dojox.html.getToggledStyleSheets();
+if(arguments.length==1){
+dojo.forEach(_1a,function(s){
+s.disabled=(s.title==_19)?false:true;
+});
+}else{
+for(var i=0;i<_1a.length;i++){
+if(_1a[i].disabled==false){
+return _1a[i];
+}
+}
+}
+return true;
+};
+dojox.html.getPreferredStyleSheet=function(){
+};
+dojox.html.getToggledStyleSheets=function(){
+if(!_3.length){
+var _1d=dojox.html.getStyleSheets();
+for(var nm in _1d){
+if(_1d[nm].title){
+_3.push(_1d[nm]);
+}
+}
+}
+return _3;
+};
+dojox.html.getStyleSheets=function(){
+if(_2.collected){
+return _2;
+}
+var _1f=dojo.doc.styleSheets;
+dojo.forEach(_1f,function(n){
+var s=(n.sheet)?n.sheet:n;
+var _22=s.title||s.href;
+if(dojo.isIE){
+if(s.cssText.indexOf("#default#VML")==-1){
+if(s.href){
+_2[_22]=s;
+}else{
+if(s.imports.length){
+dojo.forEach(s.imports,function(si){
+_2[si.title||si.href]=si;
+});
+}else{
+_2[_22]=s;
+}
+}
+}
+}else{
+_2[_22]=s;
+_2[_22].id=s.ownerNode.id;
+dojo.forEach(s.cssRules,function(r){
+if(r.href){
+_2[r.href]=r.styleSheet;
+_2[r.href].id=s.ownerNode.id;
+}
+});
+}
+});
+_2.collected=true;
+return _2;
+};
+})();
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/html/styles.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/image.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/image.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/image.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,12 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.image"]){
+dojo._hasResource["dojox.image"]=true;
+dojo.provide("dojox.image");
+dojo.require("dojox.image._base");
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Badge.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Badge.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Badge.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Badge.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,103 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.image.Badge"]){
+dojo._hasResource["dojox.image.Badge"]=true;
+dojo.provide("dojox.image.Badge");
+dojo.experimental("dojox.image.Badge");
+dojo.require("dijit._Widget");
+dojo.require("dijit._Templated");
+dojo.require("dojo.fx.easing");
+dojo.declare("dojox.image.Badge",[dijit._Widget,dijit._Templated],{baseClass:"dojoxBadge",templateString:"<div class=\"dojoxBadge\" dojoAttachPoint=\"containerNode\"></div>",children:"div.dojoxBadgeImage",rows:4,cols:5,cellSize:50,delay:2000,threads:1,easing:"dojo.fx.easing.backOut",startup:function(){
+if(this._started){
+return;
+}
+if(dojo.isString(this.easing)){
+this.easing=dojo.getObject(this.easing);
+}
+this.inherited(arguments);
+this._init();
+},_init:function(){
+var _1=0,_w=this.cellSize;
+dojo.style(this.domNode,{width:_w*this.cols+"px",height:_w*this.rows+"px"});
+this._nl=dojo.query(this.children,this.containerNode).forEach(function(n,_4){
+var _5=_4%this.cols,t=_1*_w,l=_5*_w;
+dojo.style(n,{top:t+"px",left:l+"px",width:_w-2+"px",height:_w-2+"px"});
+if(_5==this.cols-1){
+_1++;
+}
+dojo.addClass(n,this.baseClass+"Image");
+},this);
+var l=this._nl.length;
+while(this.threads--){
+var s=Math.floor(Math.random()*l);
+setTimeout(dojo.hitch(this,"_enbiggen",{target:this._nl[s]}),this.delay*this.threads);
+}
+},_getCell:function(n){
+var _b=this._nl.indexOf(n);
+if(_b>=0){
+var _c=_b%this.cols;
+var _d=Math.floor(_b/this.cols);
+return {x:_c,y:_d,n:this._nl[_b],io:_b};
+}else{
+return undefined;
+}
+},_getImage:function(){
+return "url('')";
+},_enbiggen:function(e){
+var _f=this._getCell(e.target||e);
+if(_f){
+var _cc=(this.cellSize*2)-2;
+var _11={height:_cc,width:_cc};
+var _12=function(){
+return Math.round(Math.random());
+};
+if(_f.x==this.cols-1||(_f.x>0&&_12())){
+_11.left=this.cellSize*(_f.x-1);
+}
+if(_f.y==this.rows-1||(_f.y>0&&_12())){
+_11.top=this.cellSize*(_f.y-1);
+}
+var bc=this.baseClass;
+dojo.addClass(_f.n,bc+"Top");
+dojo.addClass(_f.n,bc+"Seen");
+dojo.animateProperty({node:_f.n,properties:_11,onEnd:dojo.hitch(this,"_loadUnder",_f,_11),easing:this.easing}).play();
+}
+},_loadUnder:function(_14,_15){
+var idx=_14.io;
+var _17=[];
+var _18=(_15.left>=0);
+var _19=(_15.top>=0);
+var c=this.cols,e=idx+(_18?-1:1),f=idx+(_19?-c:c),g=(_19?(_18?e-c:f+1):(_18?f-1:e+c)),bc=this.baseClass;
+dojo.forEach([e,f,g],function(x){
+var n=this._nl[x];
+if(n){
+if(dojo.hasClass(n,bc+"Seen")){
+dojo.removeClass(n,bc+"Seen");
+}
+}
+},this);
+setTimeout(dojo.hitch(this,"_disenbiggen",_14,_15),this.delay*1.25);
+},_disenbiggen:function(_21,_22){
+if(_22.top>=0){
+_22.top+=this.cellSize;
+}
+if(_22.left>=0){
+_22.left+=this.cellSize;
+}
+var _cc=this.cellSize-2;
+dojo.animateProperty({node:_21.n,properties:dojo.mixin(_22,{width:_cc,height:_cc}),onEnd:dojo.hitch(this,"_cycle",_21,_22)}).play(5);
+},_cycle:function(_24,_25){
+var bc=this.baseClass;
+dojo.removeClass(_24.n,bc+"Top");
+var ns=this._nl.filter(function(n){
+return !dojo.hasClass(n,bc+"Seen");
+});
+var c=ns[Math.floor(Math.random()*ns.length)];
+setTimeout(dojo.hitch(this,"_enbiggen",{target:c}),this.delay/2);
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Badge.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/FlickrBadge.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/FlickrBadge.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/FlickrBadge.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/FlickrBadge.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,60 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.image.FlickrBadge"]){
+dojo._hasResource["dojox.image.FlickrBadge"]=true;
+dojo.provide("dojox.image.FlickrBadge");
+dojo.require("dojox.image.Badge");
+dojo.require("dojox.data.FlickrRestStore");
+dojo.declare("dojox.image.FlickrBadge",dojox.image.Badge,{children:"a.flickrImage",userid:"",username:"",setid:"",tags:"",searchText:"",target:"",apikey:"8c6803164dbc395fb7131c9d54843627",_store:null,postCreate:function(){
+if(this.username&&!this.userid){
+var _1=dojo.io.script.get({url:"http://www.flickr.com/services/rest/",preventCache:true,content:{format:"json",method:"flickr.people.findByUsername",api_key:this.apikey,username:this.username},callbackParamName:"jsoncallback"});
+_1.addCallback(this,function(_2){
+if(_2.user&&_2.user.nsid){
+this.userid=_2.user.nsid;
+if(!this._started){
+this.startup();
+}
+}
+});
+}
+},startup:function(){
+if(this._started){
+return;
+}
+if(this.userid){
+var _3={userid:this.userid};
+if(this.setid){
+_3["setid"]=this.setid;
+}
+if(this.tags){
+_3.tags=this.tags;
+}
+if(this.searchText){
+_3.text=this.searchText;
+}
+var _4=arguments;
+this._store=new dojox.data.FlickrRestStore({apikey:this.apikey});
+this._store.fetch({count:this.cols*this.rows,query:_3,onComplete:dojo.hitch(this,function(_5){
+dojo.forEach(_5,function(_6){
+var a=dojo.doc.createElement("a");
+dojo.addClass(a,"flickrImage");
+a.href=this._store.getValue(_6,"link");
+if(this.target){
+a.target=this.target;
+}
+var _8=dojo.doc.createElement("img");
+_8.src=this._store.getValue(_6,"imageUrlThumb");
+dojo.style(_8,{width:"100%",height:"100%"});
+a.appendChild(_8);
+this.domNode.appendChild(a);
+},this);
+dojox.image.Badge.prototype.startup.call(this,_4);
+})});
+}
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/FlickrBadge.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Gallery.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Gallery.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Gallery.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Gallery.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,60 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.image.Gallery"]){
+dojo._hasResource["dojox.image.Gallery"]=true;
+dojo.provide("dojox.image.Gallery");
+dojo.experimental("dojox.image.Gallery");
+dojo.require("dojo.fx");
+dojo.require("dijit._Widget");
+dojo.require("dijit._Templated");
+dojo.require("dojox.image.ThumbnailPicker");
+dojo.require("dojox.image.SlideShow");
+dojo.declare("dojox.image.Gallery",[dijit._Widget,dijit._Templated],{imageHeight:375,imageWidth:500,pageSize:dojox.image.SlideShow.prototype.pageSize,autoLoad:true,linkAttr:"link",imageThumbAttr:"imageUrlThumb",imageLargeAttr:"imageUrl",titleAttr:"title",slideshowInterval:3,templateString:"<div dojoAttachPoint=\"outerNode\" class=\"imageGalleryWrapper\">\n\t<div dojoAttachPoint=\"thumbPickerNode\"></div>\n\t<div dojoAttachPoint=\"slideShowNode\"></div>\n</div>\n",postCreate:function(){
+this.widgetid=this.id;
+this.inherited(arguments);
+this.thumbPicker=new dojox.image.ThumbnailPicker({linkAttr:this.linkAttr,imageLargeAttr:this.imageLargeAttr,imageThumbAttr:this.imageThumbAttr,titleAttr:this.titleAttr,useLoadNotifier:true,size:this.imageWidth},this.thumbPickerNode);
+this.slideShow=new dojox.image.SlideShow({imageHeight:this.imageHeight,imageWidth:this.imageWidth,autoLoad:this.autoLoad,linkAttr:this.linkAttr,imageLargeAttr:this.imageLargeAttr,titleAttr:this.titleAttr,slideshowInterval:this.slideshowInterval,pageSize:this.pageSize},this.slideShowNode);
+var _1=this;
+dojo.subscribe(this.slideShow.getShowTopicName(),function(_2){
+_1.thumbPicker._showThumbs(_2.index);
+});
+dojo.subscribe(this.thumbPicker.getClickTopicName(),function(_3){
+_1.slideShow.showImage(_3.index);
+});
+dojo.subscribe(this.thumbPicker.getShowTopicName(),function(_4){
+_1.slideShow.moveImageLoadingPointer(_4.index);
+});
+dojo.subscribe(this.slideShow.getLoadTopicName(),function(_5){
+_1.thumbPicker.markImageLoaded(_5);
+});
+this._centerChildren();
+},setDataStore:function(_6,_7,_8){
+this.thumbPicker.setDataStore(_6,_7,_8);
+this.slideShow.setDataStore(_6,_7,_8);
+},reset:function(){
+this.slideShow.reset();
+this.thumbPicker.reset();
+},showNextImage:function(_9){
+this.slideShow.showNextImage();
+},toggleSlideshow:function(){
+this.slideShow.toggleSlideshow();
+},showImage:function(_a,_b){
+this.slideShow.showImage(_a,_b);
+},_centerChildren:function(){
+var _c=dojo.marginBox(this.thumbPicker.outerNode);
+var _d=dojo.marginBox(this.slideShow.outerNode);
+var _e=(_c.w-_d.w)/2;
+if(_e>0){
+dojo.style(this.slideShow.outerNode,"marginLeft",_e+"px");
+}else{
+if(_e<0){
+dojo.style(this.thumbPicker.outerNode,"marginLeft",(_e*-1)+"px");
+}
+}
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Gallery.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Lightbox.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Lightbox.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Lightbox.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Lightbox.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,217 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.image.Lightbox"]){
+dojo._hasResource["dojox.image.Lightbox"]=true;
+dojo.provide("dojox.image.Lightbox");
+dojo.experimental("dojox.image.Lightbox");
+dojo.require("dijit.Dialog");
+dojo.require("dojox.fx._base");
+dojo.declare("dojox.image.Lightbox",dijit._Widget,{group:"",title:"",href:"",duration:500,_allowPassthru:false,_attachedDialog:null,startup:function(){
+this.inherited(arguments);
+var _1=dijit.byId("dojoxLightboxDialog");
+if(_1){
+this._attachedDialog=_1;
+}else{
+this._attachedDialog=new dojox.image.LightboxDialog({id:"dojoxLightboxDialog"});
+this._attachedDialog.startup();
+}
+if(!this.store){
+this._addSelf();
+this.connect(this.domNode,"onclick","_handleClick");
+}
+},_addSelf:function(){
+this._attachedDialog.addImage({href:this.href,title:this.title},this.group||null);
+},_handleClick:function(e){
+if(!this._allowPassthru){
+e.preventDefault();
+}else{
+return;
+}
+this.show();
+},show:function(){
+this._attachedDialog.show(this);
+},disable:function(){
+this._allowPassthru=true;
+},enable:function(){
+this._allowPassthru=false;
+}});
+dojo.declare("dojox.image.LightboxDialog",dijit.Dialog,{title:"",inGroup:null,imgUrl:dijit._Widget.prototype._blankGif,errorMessage:"Image not found.",adjust:true,_groups:{XnoGroupX:[]},errorImg:dojo.moduleUrl("dojox.image","resources/images/warning.png"),templateString:"<div class=\"dojoxLightbox\" dojoAttachPoint=\"containerNode\">\n\t<div style=\"position:relative\">\n\t\t<div dojoAttachPoint=\"imageContainer\" class=\"dojoxLightboxContainer\">\n\t\t\t<img dojoAttachPoint=\"imgNode\" src=\"${imgUrl}\" class=\"dojoxLightboxImage\" alt=\"${title}\">\n\t\t\t<div class=\"dojoxLightboxFooter\" dojoAttachPoint=\"titleNode\">\n\t\t\t\t<div class=\"dijitInline LightboxClose\" dojoAttachPoint=\"closeNode\"></div>\n\t\t\t\t<div class=\"dijitInline LightboxNext\" dojoAttachPoint=\"nextNode\"></div>\t\n\t\t\t\t<div class=\"dijitInline LightboxPrev\" dojoAttachPoint=\"prevNode\"></div>\n\t\t\t\t<div class=\"dojoxLightboxText\"><span dojoAttachPoint=\"textNode\">${title}</span><span do
 joAttachPoint=\"groupCount\" class=\"dojoxLightboxGroupText\"></span></div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>\n",startup:function(){
+this.inherited(arguments);
+this._animConnects=[];
+this._clone=dojo.clone(this.imgNode);
+this.connect(this.nextNode,"onclick","_nextImage");
+this.connect(this.prevNode,"onclick","_prevImage");
+this.connect(this.closeNode,"onclick","hide");
+this._makeAnims();
+this._vp=dijit.getViewport();
+return this;
+},show:function(_3){
+var _t=this;
+if(!_t.open){
+_t.inherited(arguments);
+this._modalconnects.push(dojo.connect(dojo.global,"onscroll",this,"_position"),dojo.connect(dojo.global,"onresize",this,"_position"),dojo.connect(dojo.body(),"onkeypress",this,"_handleKey"));
+}
+if(this._wasStyled){
+dojo.destroy(_t.imgNode);
+_t.imgNode=dojo.clone(_t._clone);
+dojo.place(_t.imgNode,_t.imageContainer,"first");
+_t._makeAnims();
+_t._wasStyled=false;
+}
+dojo.style(_t.imgNode,"opacity","0");
+dojo.style(_t.titleNode,"opacity","0");
+_t._imageReady=false;
+_t.imgNode.src=_3.href;
+if((_3.group&&_3!=="XnoGroupX")||_t.inGroup){
+if(!_t.inGroup){
+_t.inGroup=_t._groups[(_3.group)];
+dojo.forEach(_t.inGroup,function(g,i){
+if(g.href==_3.href){
+_t._positionIndex=i;
+}
+},_t);
+}
+if(!_t._positionIndex){
+_t._positionIndex=0;
+_t.imgNode.src=_t.inGroup[_t._positionIndex].href;
+}
+_t.groupCount.innerHTML=" ("+(_t._positionIndex+1)+" of "+_t.inGroup.length+")";
+_t.prevNode.style.visibility="visible";
+_t.nextNode.style.visibility="visible";
+}else{
+_t.groupCount.innerHTML="";
+_t.prevNode.style.visibility="hidden";
+_t.nextNode.style.visibility="hidden";
+}
+_t.textNode.innerHTML=_3.title;
+if(!_t._imageReady||_t.imgNode.complete===true){
+_t._imgConnect=dojo.connect(_t.imgNode,"onload",_t,function(){
+_t._imageReady=true;
+_t.resizeTo({w:_t.imgNode.width,h:_t.imgNode.height,duration:_t.duration});
+dojo.disconnect(_t._imgConnect);
+if(_t._imgError){
+dojo.disconnect(_t._imgError);
+}
+});
+_t._imgError=dojo.connect(_t.imgNode,"onerror",_t,function(){
+dojo.disconnect(_t._imgError);
+_t.imgNode.src=_t.errorImg;
+_t._imageReady=true;
+_t.textNode.innerHTML=_t.errorMessage;
+});
+if(dojo.isIE){
+_t.imgNode.src=_t.imgNode.src;
+}
+}else{
+_t.resizeTo({w:_t.imgNode.width,h:_t.imgNode.height,duration:1});
+}
+},_nextImage:function(){
+if(!this.inGroup){
+return;
+}
+if(this._positionIndex+1<this.inGroup.length){
+this._positionIndex++;
+}else{
+this._positionIndex=0;
+}
+this._loadImage();
+},_prevImage:function(){
+if(this.inGroup){
+if(this._positionIndex==0){
+this._positionIndex=this.inGroup.length-1;
+}else{
+this._positionIndex--;
+}
+this._loadImage();
+}
+},_loadImage:function(){
+this._loadingAnim.play(1);
+},_prepNodes:function(){
+this._imageReady=false;
+this.show({href:this.inGroup[this._positionIndex].href,title:this.inGroup[this._positionIndex].title});
+},resizeTo:function(_7){
+var _8=((dojo.boxModel=="border-box"))?22:0;
+if(this.adjust&&(_7.h+_8+80>this._vp.h||_7.w+_8+50>this._vp.w)){
+_7=this._scaleToFit(_7);
+}
+var _9=dojox.fx.sizeTo({node:this.containerNode,duration:_7.duration||this.duration,width:_7.w+_8,height:_7.h+30+_8});
+this.connect(_9,"onEnd","_showImage");
+_9.play(15);
+},_showImage:function(){
+this._showImageAnim.play(1);
+},_showNav:function(){
+this._showNavAnim.play(1);
+},hide:function(){
+dojo.fadeOut({node:this.titleNode,duration:200,onEnd:dojo.hitch(this,function(){
+this.imgNode.src=this._blankGif;
+})}).play(5);
+this.inherited(arguments);
+this.inGroup=null;
+this._positionIndex=null;
+},addImage:function(_a,_b){
+var g=_b;
+if(!_a.href){
+return;
+}
+if(g){
+if(!this._groups[g]){
+this._groups[g]=[];
+}
+this._groups[g].push(_a);
+}else{
+this._groups["XnoGroupX"].push(_a);
+}
+},_handleKey:function(e){
+if(!this.open){
+return;
+}
+var dk=dojo.keys;
+var _f=(e.charCode==dk.SPACE?dk.SPACE:e.keyCode);
+switch(_f){
+case dk.ESCAPE:
+this.hide();
+break;
+case dk.DOWN_ARROW:
+case dk.RIGHT_ARROW:
+case 78:
+this._nextImage();
+break;
+case dk.UP_ARROW:
+case dk.LEFT_ARROW:
+case 80:
+this._prevImage();
+break;
+}
+},_scaleToFit:function(_10){
+var ns={};
+if(this._vp.h>this._vp.w){
+ns.w=this._vp.w-70;
+ns.h=ns.w*(_10.h/_10.w);
+}else{
+ns.h=this._vp.h-80;
+ns.w=ns.h*(_10.w/_10.h);
+}
+this._wasStyled=true;
+var s=this.imgNode.style;
+s.height=ns.h+"px";
+s.width=ns.w+"px";
+ns.duration=_10.duration;
+return ns;
+},_position:function(e){
+this.inherited(arguments);
+this._vp=dijit.getViewport();
+},_makeAnims:function(){
+dojo.forEach(this._animConnects,dojo.disconnect);
+this._animConnects=[];
+this._showImageAnim=dojo.fadeIn({node:this.imgNode,duration:this.duration});
+this._animConnects.push(dojo.connect(this._showImageAnim,"onEnd",this,"_showNav"));
+this._loadingAnim=dojo.fx.combine([dojo.fadeOut({node:this.imgNode,duration:175}),dojo.fadeOut({node:this.titleNode,duration:175})]);
+this._animConnects.push(dojo.connect(this._loadingAnim,"onEnd",this,"_prepNodes"));
+this._showNavAnim=dojo.fadeIn({node:this.titleNode,duration:225});
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Lightbox.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/LightboxNano.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/LightboxNano.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/LightboxNano.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/LightboxNano.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,155 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.image.LightboxNano"]){
+dojo._hasResource["dojox.image.LightboxNano"]=true;
+dojo.provide("dojox.image.LightboxNano");
+dojo.require("dojo.fx");
+(function(d){
+var _2=function(){
+var _3=d.global,_4=d.doc,w=0,h=0,de=_4.documentElement,_8=de.clientWidth,_9=de.clientHeight,_a=d._docScroll();
+if(d.isMozilla){
+var _b=_c,_d=_e,_f=_8,_10=_9,_c=_4.body.clientWidth,_e=_4.body.clientHeight;
+if(_c>_8){
+_b=_8;
+_f=_c;
+}
+if(_e>_9){
+_d=_9;
+_10=_e;
+}
+w=(_f>_3.innerWidth)?_b:_f;
+h=(_10>_3.innerHeight)?_d:_10;
+}else{
+if(_3.innerWidth){
+w=_3.innerWidth;
+h=_3.innerHeight;
+}else{
+if(d.isIE&&de&&_9){
+w=_8;
+h=_9;
+}else{
+if(d.body().clientWidth){
+w=d.body().clientWidth;
+h=d.body().clientHeight;
+}
+}
+}
+}
+return {w:w,h:h,l:_a.x,t:_a.y};
+};
+d.declare("dojox.image.LightboxNano",null,{href:"",duration:500,preloadDelay:5000,_node:null,_start:null,_end:null,_img:null,_bg:null,_onClickEvt:null,_connects:null,_loading:false,_loadingNode:null,constructor:function(p,n){
+var _13=this;
+d.mixin(_13,p);
+n=dojo.byId(n);
+if(!/a/i.test(n.tagName)){
+var a=d.doc.createElement("a");
+a.href=_13.href;
+a.className=n.className;
+n.className="";
+d.place(a,n,"after");
+a.appendChild(n);
+n=a;
+}
+d.style(n,{display:"block",position:"relative"});
+d.place(_13._createDiv("dojoxEnlarge"),n);
+_13._node=n;
+d.setSelectable(n,false);
+_13._onClickEvt=d.connect(n,"onclick",_13,"_load");
+setTimeout(function(){
+(new Image()).src=_13.href;
+_13._hideLoading();
+},_13.preloadDelay);
+},destroy:function(){
+var a=this._connects||[];
+a.push(this._onClickEvt);
+d.forEach(a,function(e){
+d.disconnect(e);
+});
+d.destroy(this._node);
+},_createDiv:function(_17,_18){
+var e=d.doc.createElement("div");
+e.className=_17;
+d.style(e,{position:"absolute",display:_18?"":"none"});
+return e;
+},_load:function(e){
+var _1b=this;
+d.stopEvent(e);
+if(!_1b._loading){
+_1b._loading=true;
+_1b._reset();
+var n=d.query("img",_1b._node)[0],a=d._abs(n,true),c=d.contentBox(n),b=d._getBorderExtents(n),i=d.doc.createElement("img"),ln=_1b._loadingNode;
+if(ln==null){
+_1b._loadingNode=ln=_1b._createDiv("dojoxLoading",true);
+d.place(ln,_1b._node);
+var l=d.marginBox(ln);
+d.style(ln,{left:parseInt((c.w-l.w)/2)+"px",top:parseInt((c.h-l.h)/2)+"px"});
+}
+c.x=a.x-10+b.l;
+c.y=a.y-10+b.t;
+_1b._start=c;
+_1b._img=i;
+_1b._connects=[d.connect(i,"onload",_1b,"_show")];
+d.style(i,{visibility:"hidden",cursor:"pointer",position:"absolute",top:0,left:0,zIndex:9999999});
+d.body().appendChild(i);
+i.src=_1b.href;
+}
+},_hideLoading:function(){
+if(this._loadingNode){
+d.style(this._loadingNode,"display","none");
+}
+this._loadingNode=false;
+},_show:function(){
+var _23=this,vp=_2(),w=_23._img.width,h=_23._img.height,vpw=parseInt((vp.w-20)*0.9),vph=parseInt((vp.h-20)*0.9),dd=d.doc,bg=dd.createElement("div"),ln=_23._loadingNode;
+if(_23._loadingNode){
+_23._hideLoading();
+}
+d.style(_23._img,{border:"10px solid #fff",visibility:"visible"});
+d.style(_23._node,"visibility","hidden");
+_23._loading=false;
+_23._connects=_23._connects.concat([d.connect(dd,"onmousedown",_23,"_hide"),d.connect(dd,"onkeypress",_23,"_key"),d.connect(window,"onresize",_23,"_sizeBg")]);
+if(w>vpw){
+h=h*vpw/w;
+w=vpw;
+}
+if(h>vph){
+w=w*vph/h;
+h=vph;
+}
+_23._end={x:(vp.w-20-w)/2+vp.l,y:(vp.h-20-h)/2+vp.t,w:w,h:h};
+d.style(bg,{backgroundColor:"#000",opacity:0,position:"absolute",zIndex:9999998});
+d.body().appendChild(bg);
+_23._bg=bg;
+_23._sizeBg();
+d.fx.combine([_23._anim(_23._img,_23._coords(_23._start,_23._end)),_23._anim(bg,{opacity:0.5})]).play();
+},_sizeBg:function(){
+var dd=d.doc.documentElement;
+d.style(this._bg,{top:0,left:0,width:dd.scrollWidth+"px",height:dd.scrollHeight+"px"});
+},_key:function(e){
+d.stopEvent(e);
+this._hide();
+},_coords:function(s,e){
+return {left:{start:s.x,end:e.x},top:{start:s.y,end:e.y},width:{start:s.w,end:e.w},height:{start:s.h,end:e.h}};
+},_hide:function(){
+var _30=this;
+d.forEach(_30._connects,function(e){
+d.disconnect(e);
+});
+_30._connects=[];
+d.fx.combine([_30._anim(_30._img,_30._coords(_30._end,_30._start),"_reset"),_30._anim(_30._bg,{opacity:0})]).play();
+},_reset:function(){
+d.style(this._node,"visibility","visible");
+d.forEach([this._img,this._bg],function(n){
+d.destroy(n);
+n=null;
+});
+this._node.focus();
+},_anim:function(_33,_34,_35){
+return d.animateProperty({node:_33,duration:this.duration,properties:_34,onEnd:_35?d.hitch(this,_35):null});
+}});
+})(dojo);
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/LightboxNano.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Magnifier.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Magnifier.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Magnifier.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Magnifier.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,41 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.image.Magnifier"]){
+dojo._hasResource["dojox.image.Magnifier"]=true;
+dojo.provide("dojox.image.Magnifier");
+dojo.require("dojox.gfx");
+dojo.require("dojox.image.MagnifierLite");
+dojo.declare("dojox.image.Magnifier",[dojox.image.MagnifierLite],{_createGlass:function(){
+this.glassNode=dojo.doc.createElement("div");
+this.surfaceNode=this.glassNode.appendChild(dojo.doc.createElement("div"));
+dojo.addClass(this.glassNode,"glassNode");
+dojo.body().appendChild(this.glassNode);
+with(this.glassNode.style){
+height=this.glassSize+"px";
+width=this.glassSize+"px";
+}
+this.surface=dojox.gfx.createSurface(this.surfaceNode,this.glassSize,this.glassSize);
+this.img=this.surface.createImage({src:this.domNode.src,width:this._zoomSize.w,height:this._zoomSize.h});
+},_placeGlass:function(e){
+var x=e.pageX-2;
+var y=e.pageY-2;
+var _4=this.offset.x+this.offset.w+2;
+var _5=this.offset.y+this.offset.h+2;
+if(x<this.offset.x||y<this.offset.y||x>_4||y>_5){
+this._hideGlass();
+}else{
+this.inherited(arguments);
+}
+},_setImage:function(e){
+var _7=(e.pageX-this.offset.l)/this.offset.w;
+var _8=(e.pageY-this.offset.t)/this.offset.h;
+var x=(this._zoomSize.w*_7*-1)+(this.glassSize*_7);
+var y=(this._zoomSize.h*_8*-1)+(this.glassSize*_8);
+this.img.setShape({x:x,y:y});
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/Magnifier.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/MagnifierLite.js
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/MagnifierLite.js?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/MagnifierLite.js (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/MagnifierLite.js Thu Mar 19 10:37:00 2009
@@ -0,0 +1,53 @@
+/*
+	Copyright (c) 2004-2009, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.image.MagnifierLite"]){
+dojo._hasResource["dojox.image.MagnifierLite"]=true;
+dojo.provide("dojox.image.MagnifierLite");
+dojo.experimental("dojox.image.MagnifierLite");
+dojo.require("dijit._Widget");
+dojo.declare("dojox.image.MagnifierLite",dijit._Widget,{glassSize:125,scale:6,postCreate:function(){
+this.inherited(arguments);
+this._adjustScale();
+this._createGlass();
+this.connect(this.domNode,"onmouseenter","_showGlass");
+this.connect(this.glassNode,"onmousemove","_placeGlass");
+this.connect(this.img,"onmouseout","_hideGlass");
+this.connect(window,"onresize","_adjustScale");
+},_createGlass:function(){
+var _1=this.glassNode=dojo.doc.createElement("div");
+this.surfaceNode=_1.appendChild(dojo.doc.createElement("div"));
+dojo.addClass(_1,"glassNode");
+dojo.body().appendChild(_1);
+dojo.style(_1,{height:this.glassSize+"px",width:this.glassSize+"px"});
+this.img=dojo.clone(this.domNode);
+_1.appendChild(this.img);
+dojo.style(this.img,{position:"relative",top:0,left:0,width:this._zoomSize.w+"px",height:this._zoomSize.h+"px"});
+},_adjustScale:function(){
+this.offset=dojo.coords(this.domNode,true);
+this._imageSize={w:this.offset.w,h:this.offset.h};
+this._zoomSize={w:this._imageSize.w*this.scale,h:this._imageSize.h*this.scale};
+},_showGlass:function(e){
+this._placeGlass(e);
+dojo.style(this.glassNode,{visibility:"visible",display:""});
+},_hideGlass:function(e){
+dojo.style(this.glassNode,{visibility:"hidden",display:"none"});
+},_placeGlass:function(e){
+this._setImage(e);
+var _5=Math.floor(this.glassSize/2);
+dojo.style(this.glassNode,{top:Math.floor(e.pageY-_5)+"px",left:Math.floor(e.pageX-_5)+"px"});
+},_setImage:function(e){
+var _7=(e.pageX-this.offset.l)/this.offset.w;
+var _8=(e.pageY-this.offset.t)/this.offset.h;
+var x=(this._zoomSize.w*_7*-1)+(this.glassSize*_7);
+var y=(this._zoomSize.h*_8*-1)+(this.glassSize*_8);
+dojo.style(this.img,{top:y+"px",left:x+"px"});
+},destroy:function(_b){
+dojo.destroy(this.glassNode);
+this.inherited(arguments);
+}});
+}

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/MagnifierLite.js
------------------------------------------------------------------------------
    svn:eol-style = native

Added: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/README
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/README?rev=755904&view=auto
==============================================================================
--- camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/README (added)
+++ camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/README Thu Mar 19 10:37:00 2009
@@ -0,0 +1,88 @@
+-------------------------------------------------------------------------------
+dojox.image - Image Related Widgets and Components
+-------------------------------------------------------------------------------
+Version 1.0
+Release date: 10/31/07
+-------------------------------------------------------------------------------
+Project state:
+
+[Badge] experimental
+[FlickrBadge] experimental
+[Gallery] experimental
+[Lightbox] beta
+[Magnifier] experimental
+[MagnifierLite] experimental
+[SlideShow] experimental
+[ThumbnailPicker] experimental
+
+-------------------------------------------------------------------------------
+Credits
+
+[Badge] Peter Higgins (dante)
+[FlickrBadge] Bryan Forbes (BryanForbes)
+[Gallery] Shane O'Sullivan (sos)
+[Lightbox] Peter Higgins (dante)
+[Magnifier] Peter Higgins (dante)
+[MagnifierLite] Peter Higgins (dante)
+[SlideShow] Shane O'Sullivan (sos)
+[ThumbnailPicker] Shane O'Sullivan (sos)
+
+-------------------------------------------------------------------------------
+Project description 
+
+	A class to provide a common API for images, and home for image
+	related Widgets.
+ 
+-------------------------------------------------------------------------------
+Dependencies:
+
+	LightBox: dojo core, dojox.fx and optionally dojox.data. uses
+	either tundra or soria theme, no standalone icons.
+
+	SlideShow: dojo core, dojo.fx, and dojo.data (optional 
+	dojox.data store implementations apply)
+
+	ThumbNailPicker: dojo core, dojo.fx and dojo.data. Combined
+	with a SlideShow, creates a sample Gallery app.
+
+	Gallery: core, dojox.image.SlideShow, dojox.image.ThumbNailPicker
+
+	Magnifier: (prototype) dojo core, dijit._Widget, dojox.gfx
+	
+	Badge: (prototype) dojo core, dijit._Widget + _Templated 
+
+-------------------------------------------------------------------------------
+Documentation
+
+-------------------------------------------------------------------------------
+Installation instructions
+
+Grab the following from the Dojo SVN Repository:
+http://svn.dojotoolkit.org/dojo/dojox/trunk/image/*
+
+Install into the following directory structure:
+/dojox/image/
+
+...which should be at the same level as your Dojo checkout.
+-------------------------------------------------------------------------------
+Additional Notes
+
+	LightBox: currently works as individual items, and grouped items,
+	but usage of dojo.data is broken (atm). the API is subject to 
+ 	change, and is marked accordingly.
+
+	Hoping to implement: Carossel, and Reflect using
+	a common API provided by dojox.image.Pane (?) 
+
+	SlideShow: Shows an image, one by one, from a datastore. Acts
+	as standing ImagePane implementation, 
+
+	Gallery: A combination Thumbnail view and SlideShow, using
+	a datastore, and providing navigation, and common API. 
+
+	Magnifier: Unobtrusive way to attach a hovering window window
+	when moving the mouse over an image. The window shows a a zoomed
+	version of the original source. (prototype)
+
+	Badge: (prototype) A Javascript version of a FlickrBadge thingr, 
+	which loops through and sizes children in a loop.

Propchange: camel/trunk/components/camel-web/src/main/webapp/js/dojox/image/README
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message