dojo-rails 0.9.8 → 0.9.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (611) hide show
  1. data/.gitignore +18 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE +22 -0
  4. data/Rakefile +3 -0
  5. data/dojo-rails.gemspec +20 -0
  6. data/lib/dojo-rails.rb +1 -0
  7. data/lib/dojo/rails.rb +2 -0
  8. data/lib/dojo/rails/engine.rb +6 -0
  9. data/lib/dojo/rails/version.rb +9 -0
  10. data/lib/dojo/version.rb +7 -0
  11. data/vendor/assets/javascripts/dojo.js +15 -0
  12. data/vendor/assets/javascripts/dojo/AdapterRegistry.js +38 -0
  13. data/vendor/assets/javascripts/dojo/AdapterRegistry.js.uncompressed.js +113 -0
  14. data/vendor/assets/javascripts/dojo/DeferredList.js +57 -0
  15. data/vendor/assets/javascripts/dojo/DeferredList.js.uncompressed.js +86 -0
  16. data/vendor/assets/javascripts/dojo/Evented.js +23 -0
  17. data/vendor/assets/javascripts/dojo/Evented.js.uncompressed.js +32 -0
  18. data/vendor/assets/javascripts/dojo/LICENSE +195 -0
  19. data/vendor/assets/javascripts/dojo/NodeList-data.js +59 -0
  20. data/vendor/assets/javascripts/dojo/NodeList-data.js.uncompressed.js +181 -0
  21. data/vendor/assets/javascripts/dojo/NodeList-dom.js +122 -0
  22. data/vendor/assets/javascripts/dojo/NodeList-dom.js.uncompressed.js +454 -0
  23. data/vendor/assets/javascripts/dojo/NodeList-fx.js +39 -0
  24. data/vendor/assets/javascripts/dojo/NodeList-fx.js.uncompressed.js +222 -0
  25. data/vendor/assets/javascripts/dojo/NodeList-html.js +20 -0
  26. data/vendor/assets/javascripts/dojo/NodeList-html.js.uncompressed.js +55 -0
  27. data/vendor/assets/javascripts/dojo/NodeList-manipulate.js +210 -0
  28. data/vendor/assets/javascripts/dojo/NodeList-manipulate.js.uncompressed.js +730 -0
  29. data/vendor/assets/javascripts/dojo/NodeList-traverse.js +124 -0
  30. data/vendor/assets/javascripts/dojo/NodeList-traverse.js.uncompressed.js +508 -0
  31. data/vendor/assets/javascripts/dojo/OpenAjax.js +194 -0
  32. data/vendor/assets/javascripts/dojo/Stateful.js +67 -0
  33. data/vendor/assets/javascripts/dojo/Stateful.js.uncompressed.js +139 -0
  34. data/vendor/assets/javascripts/dojo/_base/Color.js +96 -0
  35. data/vendor/assets/javascripts/dojo/_base/Color.js.uncompressed.js +220 -0
  36. data/vendor/assets/javascripts/dojo/_base/Deferred.js +129 -0
  37. data/vendor/assets/javascripts/dojo/_base/Deferred.js.uncompressed.js +366 -0
  38. data/vendor/assets/javascripts/dojo/_base/NodeList.js +24 -0
  39. data/vendor/assets/javascripts/dojo/_base/NodeList.js.uncompressed.js +100 -0
  40. data/vendor/assets/javascripts/dojo/_base/array.js +142 -0
  41. data/vendor/assets/javascripts/dojo/_base/array.js.uncompressed.js +343 -0
  42. data/vendor/assets/javascripts/dojo/_base/browser.js +13 -0
  43. data/vendor/assets/javascripts/dojo/_base/browser.js.uncompressed.js +21 -0
  44. data/vendor/assets/javascripts/dojo/_base/config.js +26 -0
  45. data/vendor/assets/javascripts/dojo/_base/config.js.uncompressed.js +174 -0
  46. data/vendor/assets/javascripts/dojo/_base/configFirefoxExtension.js +334 -0
  47. data/vendor/assets/javascripts/dojo/_base/configNode.js +87 -0
  48. data/vendor/assets/javascripts/dojo/_base/configRhino.js +121 -0
  49. data/vendor/assets/javascripts/dojo/_base/configSpidermonkey.js +84 -0
  50. data/vendor/assets/javascripts/dojo/_base/connect.js +163 -0
  51. data/vendor/assets/javascripts/dojo/_base/connect.js.uncompressed.js +400 -0
  52. data/vendor/assets/javascripts/dojo/_base/declare.js +430 -0
  53. data/vendor/assets/javascripts/dojo/_base/declare.js.uncompressed.js +1050 -0
  54. data/vendor/assets/javascripts/dojo/_base/event.js +36 -0
  55. data/vendor/assets/javascripts/dojo/_base/event.js.uncompressed.js +51 -0
  56. data/vendor/assets/javascripts/dojo/_base/fx.js +295 -0
  57. data/vendor/assets/javascripts/dojo/_base/fx.js.uncompressed.js +666 -0
  58. data/vendor/assets/javascripts/dojo/_base/html.js +88 -0
  59. data/vendor/assets/javascripts/dojo/_base/html.js.uncompressed.js +389 -0
  60. data/vendor/assets/javascripts/dojo/_base/json.js +26 -0
  61. data/vendor/assets/javascripts/dojo/_base/json.js.uncompressed.js +85 -0
  62. data/vendor/assets/javascripts/dojo/_base/kernel.js +114 -0
  63. data/vendor/assets/javascripts/dojo/_base/kernel.js.uncompressed.js +302 -0
  64. data/vendor/assets/javascripts/dojo/_base/lang.js +178 -0
  65. data/vendor/assets/javascripts/dojo/_base/lang.js.uncompressed.js +707 -0
  66. data/vendor/assets/javascripts/dojo/_base/loader.js +258 -0
  67. data/vendor/assets/javascripts/dojo/_base/loader.js.uncompressed.js +718 -0
  68. data/vendor/assets/javascripts/dojo/_base/query.js +10 -0
  69. data/vendor/assets/javascripts/dojo/_base/query.js.uncompressed.js +3 -0
  70. data/vendor/assets/javascripts/dojo/_base/sniff.js +68 -0
  71. data/vendor/assets/javascripts/dojo/_base/sniff.js.uncompressed.js +187 -0
  72. data/vendor/assets/javascripts/dojo/_base/unload.js +21 -0
  73. data/vendor/assets/javascripts/dojo/_base/unload.js.uncompressed.js +81 -0
  74. data/vendor/assets/javascripts/dojo/_base/url.js +88 -0
  75. data/vendor/assets/javascripts/dojo/_base/url.js.uncompressed.js +111 -0
  76. data/vendor/assets/javascripts/dojo/_base/window.js +55 -0
  77. data/vendor/assets/javascripts/dojo/_base/window.js.uncompressed.js +126 -0
  78. data/vendor/assets/javascripts/dojo/_base/xhr.js +381 -0
  79. data/vendor/assets/javascripts/dojo/_base/xhr.js.uncompressed.js +830 -0
  80. data/vendor/assets/javascripts/dojo/_firebug/LICENSE +37 -0
  81. data/vendor/assets/javascripts/dojo/_firebug/errorIcon.png +0 -0
  82. data/vendor/assets/javascripts/dojo/_firebug/firebug.css +208 -0
  83. data/vendor/assets/javascripts/dojo/_firebug/firebug.js +897 -0
  84. data/vendor/assets/javascripts/dojo/_firebug/firebug.js.uncompressed.js +1183 -0
  85. data/vendor/assets/javascripts/dojo/_firebug/infoIcon.png +0 -0
  86. data/vendor/assets/javascripts/dojo/_firebug/tab_lft_norm.png +0 -0
  87. data/vendor/assets/javascripts/dojo/_firebug/tab_lft_over.png +0 -0
  88. data/vendor/assets/javascripts/dojo/_firebug/tab_rgt_norm.png +0 -0
  89. data/vendor/assets/javascripts/dojo/_firebug/tab_rgt_over.png +0 -0
  90. data/vendor/assets/javascripts/dojo/_firebug/warningIcon.png +0 -0
  91. data/vendor/assets/javascripts/dojo/aspect.js +98 -0
  92. data/vendor/assets/javascripts/dojo/aspect.js.uncompressed.js +207 -0
  93. data/vendor/assets/javascripts/dojo/back.js +238 -0
  94. data/vendor/assets/javascripts/dojo/back.js.uncompressed.js +397 -0
  95. data/vendor/assets/javascripts/dojo/behavior.js +92 -0
  96. data/vendor/assets/javascripts/dojo/behavior.js.uncompressed.js +248 -0
  97. data/vendor/assets/javascripts/dojo/cache.js +10 -0
  98. data/vendor/assets/javascripts/dojo/cache.js.uncompressed.js +9 -0
  99. data/vendor/assets/javascripts/dojo/cldr/LICENSE +29 -0
  100. data/vendor/assets/javascripts/dojo/cldr/README +18 -0
  101. data/vendor/assets/javascripts/dojo/cldr/monetary.js +23 -0
  102. data/vendor/assets/javascripts/dojo/cldr/monetary.js.uncompressed.js +35 -0
  103. data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js +8 -0
  104. data/vendor/assets/javascripts/dojo/cldr/nls/ar/buddhist.js.uncompressed.js +115 -0
  105. data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js +8 -0
  106. data/vendor/assets/javascripts/dojo/cldr/nls/ar/currency.js.uncompressed.js +16 -0
  107. data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js +8 -0
  108. data/vendor/assets/javascripts/dojo/cldr/nls/ar/gregorian.js.uncompressed.js +240 -0
  109. data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js +8 -0
  110. data/vendor/assets/javascripts/dojo/cldr/nls/ar/hebrew.js.uncompressed.js +124 -0
  111. data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js +8 -0
  112. data/vendor/assets/javascripts/dojo/cldr/nls/ar/islamic.js.uncompressed.js +156 -0
  113. data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js +8 -0
  114. data/vendor/assets/javascripts/dojo/cldr/nls/ar/number.js.uncompressed.js +18 -0
  115. data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js +8 -0
  116. data/vendor/assets/javascripts/dojo/cldr/nls/buddhist.js.uncompressed.js +267 -0
  117. data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js +8 -0
  118. data/vendor/assets/javascripts/dojo/cldr/nls/ca/currency.js.uncompressed.js +15 -0
  119. data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js +8 -0
  120. data/vendor/assets/javascripts/dojo/cldr/nls/ca/gregorian.js.uncompressed.js +235 -0
  121. data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js +8 -0
  122. data/vendor/assets/javascripts/dojo/cldr/nls/ca/number.js.uncompressed.js +22 -0
  123. data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js +8 -0
  124. data/vendor/assets/javascripts/dojo/cldr/nls/cs/currency.js.uncompressed.js +15 -0
  125. data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js +8 -0
  126. data/vendor/assets/javascripts/dojo/cldr/nls/cs/gregorian.js.uncompressed.js +215 -0
  127. data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js +8 -0
  128. data/vendor/assets/javascripts/dojo/cldr/nls/cs/number.js.uncompressed.js +22 -0
  129. data/vendor/assets/javascripts/dojo/cldr/nls/currency.js +8 -0
  130. data/vendor/assets/javascripts/dojo/cldr/nls/currency.js.uncompressed.js +48 -0
  131. data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js +8 -0
  132. data/vendor/assets/javascripts/dojo/cldr/nls/da/buddhist.js.uncompressed.js +141 -0
  133. data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js +8 -0
  134. data/vendor/assets/javascripts/dojo/cldr/nls/da/currency.js.uncompressed.js +16 -0
  135. data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js +8 -0
  136. data/vendor/assets/javascripts/dojo/cldr/nls/da/gregorian.js.uncompressed.js +237 -0
  137. data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js +8 -0
  138. data/vendor/assets/javascripts/dojo/cldr/nls/da/islamic.js.uncompressed.js +87 -0
  139. data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js +8 -0
  140. data/vendor/assets/javascripts/dojo/cldr/nls/da/number.js.uncompressed.js +22 -0
  141. data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js +8 -0
  142. data/vendor/assets/javascripts/dojo/cldr/nls/de/buddhist.js.uncompressed.js +130 -0
  143. data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js +8 -0
  144. data/vendor/assets/javascripts/dojo/cldr/nls/de/currency.js.uncompressed.js +17 -0
  145. data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js +8 -0
  146. data/vendor/assets/javascripts/dojo/cldr/nls/de/gregorian.js.uncompressed.js +237 -0
  147. data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js +8 -0
  148. data/vendor/assets/javascripts/dojo/cldr/nls/de/islamic.js.uncompressed.js +172 -0
  149. data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js +8 -0
  150. data/vendor/assets/javascripts/dojo/cldr/nls/de/number.js.uncompressed.js +22 -0
  151. data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js +8 -0
  152. data/vendor/assets/javascripts/dojo/cldr/nls/el/buddhist.js.uncompressed.js +120 -0
  153. data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js +8 -0
  154. data/vendor/assets/javascripts/dojo/cldr/nls/el/currency.js.uncompressed.js +15 -0
  155. data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js +8 -0
  156. data/vendor/assets/javascripts/dojo/cldr/nls/el/gregorian.js.uncompressed.js +241 -0
  157. data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js +8 -0
  158. data/vendor/assets/javascripts/dojo/cldr/nls/el/hebrew.js.uncompressed.js +73 -0
  159. data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js +8 -0
  160. data/vendor/assets/javascripts/dojo/cldr/nls/el/number.js.uncompressed.js +20 -0
  161. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/currency.js +8 -0
  162. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/currency.js.uncompressed.js +8 -0
  163. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js +8 -0
  164. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/gregorian.js.uncompressed.js +17 -0
  165. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/number.js +8 -0
  166. data/vendor/assets/javascripts/dojo/cldr/nls/en-au/number.js.uncompressed.js +7 -0
  167. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/currency.js +8 -0
  168. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/currency.js.uncompressed.js +8 -0
  169. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js +8 -0
  170. data/vendor/assets/javascripts/dojo/cldr/nls/en-ca/gregorian.js.uncompressed.js +20 -0
  171. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js +8 -0
  172. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/buddhist.js.uncompressed.js +101 -0
  173. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js +8 -0
  174. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/gregorian.js.uncompressed.js +23 -0
  175. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js +8 -0
  176. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/islamic.js.uncompressed.js +153 -0
  177. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/number.js +8 -0
  178. data/vendor/assets/javascripts/dojo/cldr/nls/en-gb/number.js.uncompressed.js +7 -0
  179. data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js +8 -0
  180. data/vendor/assets/javascripts/dojo/cldr/nls/en/buddhist.js.uncompressed.js +109 -0
  181. data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js +8 -0
  182. data/vendor/assets/javascripts/dojo/cldr/nls/en/currency.js.uncompressed.js +17 -0
  183. data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js +8 -0
  184. data/vendor/assets/javascripts/dojo/cldr/nls/en/gregorian.js.uncompressed.js +229 -0
  185. data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js +8 -0
  186. data/vendor/assets/javascripts/dojo/cldr/nls/en/islamic.js.uncompressed.js +166 -0
  187. data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js +8 -0
  188. data/vendor/assets/javascripts/dojo/cldr/nls/en/number.js.uncompressed.js +23 -0
  189. data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js +8 -0
  190. data/vendor/assets/javascripts/dojo/cldr/nls/es/buddhist.js.uncompressed.js +125 -0
  191. data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js +8 -0
  192. data/vendor/assets/javascripts/dojo/cldr/nls/es/currency.js.uncompressed.js +15 -0
  193. data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js +8 -0
  194. data/vendor/assets/javascripts/dojo/cldr/nls/es/gregorian.js.uncompressed.js +238 -0
  195. data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js +8 -0
  196. data/vendor/assets/javascripts/dojo/cldr/nls/es/islamic.js.uncompressed.js +179 -0
  197. data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js +8 -0
  198. data/vendor/assets/javascripts/dojo/cldr/nls/es/number.js.uncompressed.js +21 -0
  199. data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js +8 -0
  200. data/vendor/assets/javascripts/dojo/cldr/nls/fi/buddhist.js.uncompressed.js +166 -0
  201. data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js +8 -0
  202. data/vendor/assets/javascripts/dojo/cldr/nls/fi/currency.js.uncompressed.js +22 -0
  203. data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js +8 -0
  204. data/vendor/assets/javascripts/dojo/cldr/nls/fi/gregorian.js.uncompressed.js +239 -0
  205. data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js +8 -0
  206. data/vendor/assets/javascripts/dojo/cldr/nls/fi/hebrew.js.uncompressed.js +176 -0
  207. data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js +8 -0
  208. data/vendor/assets/javascripts/dojo/cldr/nls/fi/islamic.js.uncompressed.js +155 -0
  209. data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js +8 -0
  210. data/vendor/assets/javascripts/dojo/cldr/nls/fi/number.js.uncompressed.js +22 -0
  211. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js +8 -0
  212. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/gregorian.js.uncompressed.js +9 -0
  213. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js +8 -0
  214. data/vendor/assets/javascripts/dojo/cldr/nls/fr-ch/number.js.uncompressed.js +9 -0
  215. data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js +8 -0
  216. data/vendor/assets/javascripts/dojo/cldr/nls/fr/currency.js.uncompressed.js +23 -0
  217. data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js +8 -0
  218. data/vendor/assets/javascripts/dojo/cldr/nls/fr/gregorian.js.uncompressed.js +247 -0
  219. data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js +8 -0
  220. data/vendor/assets/javascripts/dojo/cldr/nls/fr/number.js.uncompressed.js +22 -0
  221. data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js +8 -0
  222. data/vendor/assets/javascripts/dojo/cldr/nls/gregorian.js.uncompressed.js +294 -0
  223. data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js +8 -0
  224. data/vendor/assets/javascripts/dojo/cldr/nls/he/currency.js.uncompressed.js +15 -0
  225. data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js +8 -0
  226. data/vendor/assets/javascripts/dojo/cldr/nls/he/gregorian.js.uncompressed.js +213 -0
  227. data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js +8 -0
  228. data/vendor/assets/javascripts/dojo/cldr/nls/he/hebrew.js.uncompressed.js +125 -0
  229. data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js +8 -0
  230. data/vendor/assets/javascripts/dojo/cldr/nls/he/islamic.js.uncompressed.js +119 -0
  231. data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js +8 -0
  232. data/vendor/assets/javascripts/dojo/cldr/nls/he/number.js.uncompressed.js +22 -0
  233. data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js +8 -0
  234. data/vendor/assets/javascripts/dojo/cldr/nls/hebrew.js.uncompressed.js +265 -0
  235. data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js +8 -0
  236. data/vendor/assets/javascripts/dojo/cldr/nls/hu/currency.js.uncompressed.js +17 -0
  237. data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js +8 -0
  238. data/vendor/assets/javascripts/dojo/cldr/nls/hu/gregorian.js.uncompressed.js +227 -0
  239. data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js +8 -0
  240. data/vendor/assets/javascripts/dojo/cldr/nls/hu/number.js.uncompressed.js +21 -0
  241. data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js +8 -0
  242. data/vendor/assets/javascripts/dojo/cldr/nls/islamic.js.uncompressed.js +264 -0
  243. data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js +8 -0
  244. data/vendor/assets/javascripts/dojo/cldr/nls/it/currency.js.uncompressed.js +15 -0
  245. data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js +8 -0
  246. data/vendor/assets/javascripts/dojo/cldr/nls/it/gregorian.js.uncompressed.js +235 -0
  247. data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js +8 -0
  248. data/vendor/assets/javascripts/dojo/cldr/nls/it/number.js.uncompressed.js +12 -0
  249. data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js +8 -0
  250. data/vendor/assets/javascripts/dojo/cldr/nls/ja/currency.js.uncompressed.js +18 -0
  251. data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js +8 -0
  252. data/vendor/assets/javascripts/dojo/cldr/nls/ja/gregorian.js.uncompressed.js +222 -0
  253. data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js +8 -0
  254. data/vendor/assets/javascripts/dojo/cldr/nls/ja/number.js.uncompressed.js +12 -0
  255. data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js +8 -0
  256. data/vendor/assets/javascripts/dojo/cldr/nls/ko/currency.js.uncompressed.js +15 -0
  257. data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js +8 -0
  258. data/vendor/assets/javascripts/dojo/cldr/nls/ko/gregorian.js.uncompressed.js +243 -0
  259. data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js +8 -0
  260. data/vendor/assets/javascripts/dojo/cldr/nls/ko/number.js.uncompressed.js +22 -0
  261. data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js +8 -0
  262. data/vendor/assets/javascripts/dojo/cldr/nls/nb/currency.js.uncompressed.js +23 -0
  263. data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js +8 -0
  264. data/vendor/assets/javascripts/dojo/cldr/nls/nb/gregorian.js.uncompressed.js +234 -0
  265. data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js +8 -0
  266. data/vendor/assets/javascripts/dojo/cldr/nls/nb/number.js.uncompressed.js +22 -0
  267. data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js +8 -0
  268. data/vendor/assets/javascripts/dojo/cldr/nls/nl/currency.js.uncompressed.js +15 -0
  269. data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js +8 -0
  270. data/vendor/assets/javascripts/dojo/cldr/nls/nl/gregorian.js.uncompressed.js +233 -0
  271. data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js +8 -0
  272. data/vendor/assets/javascripts/dojo/cldr/nls/nl/number.js.uncompressed.js +22 -0
  273. data/vendor/assets/javascripts/dojo/cldr/nls/number.js +8 -0
  274. data/vendor/assets/javascripts/dojo/cldr/nls/number.js.uncompressed.js +64 -0
  275. data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js +8 -0
  276. data/vendor/assets/javascripts/dojo/cldr/nls/pl/currency.js.uncompressed.js +15 -0
  277. data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js +8 -0
  278. data/vendor/assets/javascripts/dojo/cldr/nls/pl/gregorian.js.uncompressed.js +242 -0
  279. data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js +8 -0
  280. data/vendor/assets/javascripts/dojo/cldr/nls/pl/number.js.uncompressed.js +22 -0
  281. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js +8 -0
  282. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/gregorian.js.uncompressed.js +141 -0
  283. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js +8 -0
  284. data/vendor/assets/javascripts/dojo/cldr/nls/pt-pt/number.js.uncompressed.js +8 -0
  285. data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js +8 -0
  286. data/vendor/assets/javascripts/dojo/cldr/nls/pt/currency.js.uncompressed.js +15 -0
  287. data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js +8 -0
  288. data/vendor/assets/javascripts/dojo/cldr/nls/pt/gregorian.js.uncompressed.js +237 -0
  289. data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js +8 -0
  290. data/vendor/assets/javascripts/dojo/cldr/nls/pt/number.js.uncompressed.js +22 -0
  291. data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js +8 -0
  292. data/vendor/assets/javascripts/dojo/cldr/nls/ro/buddhist.js.uncompressed.js +121 -0
  293. data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js +8 -0
  294. data/vendor/assets/javascripts/dojo/cldr/nls/ro/currency.js.uncompressed.js +15 -0
  295. data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js +8 -0
  296. data/vendor/assets/javascripts/dojo/cldr/nls/ro/gregorian.js.uncompressed.js +251 -0
  297. data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js +8 -0
  298. data/vendor/assets/javascripts/dojo/cldr/nls/ro/number.js.uncompressed.js +22 -0
  299. data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js +8 -0
  300. data/vendor/assets/javascripts/dojo/cldr/nls/ru/currency.js.uncompressed.js +16 -0
  301. data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js +8 -0
  302. data/vendor/assets/javascripts/dojo/cldr/nls/ru/gregorian.js.uncompressed.js +232 -0
  303. data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js +8 -0
  304. data/vendor/assets/javascripts/dojo/cldr/nls/ru/number.js.uncompressed.js +21 -0
  305. data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js +8 -0
  306. data/vendor/assets/javascripts/dojo/cldr/nls/sk/currency.js.uncompressed.js +15 -0
  307. data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js +8 -0
  308. data/vendor/assets/javascripts/dojo/cldr/nls/sk/gregorian.js.uncompressed.js +225 -0
  309. data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js +8 -0
  310. data/vendor/assets/javascripts/dojo/cldr/nls/sk/number.js.uncompressed.js +9 -0
  311. data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js +8 -0
  312. data/vendor/assets/javascripts/dojo/cldr/nls/sl/currency.js.uncompressed.js +17 -0
  313. data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js +8 -0
  314. data/vendor/assets/javascripts/dojo/cldr/nls/sl/gregorian.js.uncompressed.js +218 -0
  315. data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js +8 -0
  316. data/vendor/assets/javascripts/dojo/cldr/nls/sl/number.js.uncompressed.js +22 -0
  317. data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js +8 -0
  318. data/vendor/assets/javascripts/dojo/cldr/nls/sv/currency.js.uncompressed.js +18 -0
  319. data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js +8 -0
  320. data/vendor/assets/javascripts/dojo/cldr/nls/sv/gregorian.js.uncompressed.js +245 -0
  321. data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js +8 -0
  322. data/vendor/assets/javascripts/dojo/cldr/nls/sv/number.js.uncompressed.js +22 -0
  323. data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js +8 -0
  324. data/vendor/assets/javascripts/dojo/cldr/nls/th/buddhist.js.uncompressed.js +118 -0
  325. data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js +8 -0
  326. data/vendor/assets/javascripts/dojo/cldr/nls/th/currency.js.uncompressed.js +16 -0
  327. data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js +8 -0
  328. data/vendor/assets/javascripts/dojo/cldr/nls/th/gregorian.js.uncompressed.js +232 -0
  329. data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js +8 -0
  330. data/vendor/assets/javascripts/dojo/cldr/nls/th/number.js.uncompressed.js +22 -0
  331. data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js +8 -0
  332. data/vendor/assets/javascripts/dojo/cldr/nls/tr/currency.js.uncompressed.js +17 -0
  333. data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js +8 -0
  334. data/vendor/assets/javascripts/dojo/cldr/nls/tr/gregorian.js.uncompressed.js +239 -0
  335. data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js +8 -0
  336. data/vendor/assets/javascripts/dojo/cldr/nls/tr/number.js.uncompressed.js +22 -0
  337. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js +8 -0
  338. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/buddhist.js.uncompressed.js +146 -0
  339. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js +8 -0
  340. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/currency.js.uncompressed.js +16 -0
  341. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js +8 -0
  342. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/gregorian.js.uncompressed.js +228 -0
  343. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js +8 -0
  344. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/islamic.js.uncompressed.js +87 -0
  345. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js +8 -0
  346. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hant/number.js.uncompressed.js +7 -0
  347. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js +8 -0
  348. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/currency.js.uncompressed.js +15 -0
  349. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js +8 -0
  350. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/gregorian.js.uncompressed.js +85 -0
  351. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js +8 -0
  352. data/vendor/assets/javascripts/dojo/cldr/nls/zh-hk/number.js.uncompressed.js +7 -0
  353. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js +8 -0
  354. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/currency.js.uncompressed.js +14 -0
  355. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js +8 -0
  356. data/vendor/assets/javascripts/dojo/cldr/nls/zh-tw/gregorian.js.uncompressed.js +80 -0
  357. data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js +8 -0
  358. data/vendor/assets/javascripts/dojo/cldr/nls/zh/currency.js.uncompressed.js +16 -0
  359. data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js +8 -0
  360. data/vendor/assets/javascripts/dojo/cldr/nls/zh/gregorian.js.uncompressed.js +247 -0
  361. data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js +8 -0
  362. data/vendor/assets/javascripts/dojo/cldr/nls/zh/number.js.uncompressed.js +12 -0
  363. data/vendor/assets/javascripts/dojo/cldr/supplemental.js +44 -0
  364. data/vendor/assets/javascripts/dojo/cldr/supplemental.js.uncompressed.js +77 -0
  365. data/vendor/assets/javascripts/dojo/colors.js +74 -0
  366. data/vendor/assets/javascripts/dojo/colors.js.uncompressed.js +232 -0
  367. data/vendor/assets/javascripts/dojo/cookie.js +49 -0
  368. data/vendor/assets/javascripts/dojo/cookie.js.uncompressed.js +98 -0
  369. data/vendor/assets/javascripts/dojo/currency.js +32 -0
  370. data/vendor/assets/javascripts/dojo/currency.js.uncompressed.js +132 -0
  371. data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js +561 -0
  372. data/vendor/assets/javascripts/dojo/data/ItemFileReadStore.js.uncompressed.js +945 -0
  373. data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js +499 -0
  374. data/vendor/assets/javascripts/dojo/data/ItemFileWriteStore.js.uncompressed.js +805 -0
  375. data/vendor/assets/javascripts/dojo/data/ObjectStore.js +285 -0
  376. data/vendor/assets/javascripts/dojo/data/ObjectStore.js.uncompressed.js +505 -0
  377. data/vendor/assets/javascripts/dojo/data/api/Identity.js +21 -0
  378. data/vendor/assets/javascripts/dojo/data/api/Identity.js.uncompressed.js +107 -0
  379. data/vendor/assets/javascripts/dojo/data/api/Notification.js +19 -0
  380. data/vendor/assets/javascripts/dojo/data/api/Notification.js.uncompressed.js +122 -0
  381. data/vendor/assets/javascripts/dojo/data/api/Read.js +39 -0
  382. data/vendor/assets/javascripts/dojo/data/api/Read.js.uncompressed.js +485 -0
  383. data/vendor/assets/javascripts/dojo/data/api/Request.js +13 -0
  384. data/vendor/assets/javascripts/dojo/data/api/Request.js.uncompressed.js +36 -0
  385. data/vendor/assets/javascripts/dojo/data/api/Write.js +29 -0
  386. data/vendor/assets/javascripts/dojo/data/api/Write.js.uncompressed.js +221 -0
  387. data/vendor/assets/javascripts/dojo/data/util/filter.js +52 -0
  388. data/vendor/assets/javascripts/dojo/data/util/filter.js.uncompressed.js +74 -0
  389. data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js +63 -0
  390. data/vendor/assets/javascripts/dojo/data/util/simpleFetch.js.uncompressed.js +95 -0
  391. data/vendor/assets/javascripts/dojo/data/util/sorter.js +66 -0
  392. data/vendor/assets/javascripts/dojo/data/util/sorter.js.uncompressed.js +99 -0
  393. data/vendor/assets/javascripts/dojo/date.js +213 -0
  394. data/vendor/assets/javascripts/dojo/date.js.uncompressed.js +347 -0
  395. data/vendor/assets/javascripts/dojo/date/locale.js +452 -0
  396. data/vendor/assets/javascripts/dojo/date/locale.js.uncompressed.js +670 -0
  397. data/vendor/assets/javascripts/dojo/date/stamp.js +82 -0
  398. data/vendor/assets/javascripts/dojo/date/stamp.js.uncompressed.js +146 -0
  399. data/vendor/assets/javascripts/dojo/dnd/AutoSource.js +12 -0
  400. data/vendor/assets/javascripts/dojo/dnd/AutoSource.js.uncompressed.js +13 -0
  401. data/vendor/assets/javascripts/dojo/dnd/Avatar.js +62 -0
  402. data/vendor/assets/javascripts/dojo/dnd/Avatar.js.uncompressed.js +111 -0
  403. data/vendor/assets/javascripts/dojo/dnd/Container.js +231 -0
  404. data/vendor/assets/javascripts/dojo/dnd/Container.js.uncompressed.js +432 -0
  405. data/vendor/assets/javascripts/dojo/dnd/Manager.js +122 -0
  406. data/vendor/assets/javascripts/dojo/dnd/Manager.js.uncompressed.js +213 -0
  407. data/vendor/assets/javascripts/dojo/dnd/Moveable.js +75 -0
  408. data/vendor/assets/javascripts/dojo/dnd/Moveable.js.uncompressed.js +173 -0
  409. data/vendor/assets/javascripts/dojo/dnd/Mover.js +62 -0
  410. data/vendor/assets/javascripts/dojo/dnd/Mover.js.uncompressed.js +119 -0
  411. data/vendor/assets/javascripts/dojo/dnd/Selector.js +233 -0
  412. data/vendor/assets/javascripts/dojo/dnd/Selector.js.uncompressed.js +324 -0
  413. data/vendor/assets/javascripts/dojo/dnd/Source.js +284 -0
  414. data/vendor/assets/javascripts/dojo/dnd/Source.js.uncompressed.js +513 -0
  415. data/vendor/assets/javascripts/dojo/dnd/Target.js +13 -0
  416. data/vendor/assets/javascripts/dojo/dnd/Target.js.uncompressed.js +13 -0
  417. data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js +34 -0
  418. data/vendor/assets/javascripts/dojo/dnd/TimedMoveable.js.uncompressed.js +69 -0
  419. data/vendor/assets/javascripts/dojo/dnd/autoscroll.js +96 -0
  420. data/vendor/assets/javascripts/dojo/dnd/autoscroll.js.uncompressed.js +118 -0
  421. data/vendor/assets/javascripts/dojo/dnd/common.js +28 -0
  422. data/vendor/assets/javascripts/dojo/dnd/common.js.uncompressed.js +35 -0
  423. data/vendor/assets/javascripts/dojo/dnd/move.js +66 -0
  424. data/vendor/assets/javascripts/dojo/dnd/move.js.uncompressed.js +143 -0
  425. data/vendor/assets/javascripts/dojo/dojo.js +1872 -0
  426. data/vendor/assets/javascripts/dojo/dojo.js.uncompressed.js +16408 -0
  427. data/vendor/assets/javascripts/dojo/dojo.profile.js +40 -0
  428. data/vendor/assets/javascripts/dojo/dom-attr.js +62 -0
  429. data/vendor/assets/javascripts/dojo/dom-attr.js.uncompressed.js +238 -0
  430. data/vendor/assets/javascripts/dojo/dom-class.js +89 -0
  431. data/vendor/assets/javascripts/dojo/dom-class.js.uncompressed.js +320 -0
  432. data/vendor/assets/javascripts/dojo/dom-construct.js +141 -0
  433. data/vendor/assets/javascripts/dojo/dom-construct.js.uncompressed.js +376 -0
  434. data/vendor/assets/javascripts/dojo/dom-form.js +81 -0
  435. data/vendor/assets/javascripts/dojo/dom-form.js.uncompressed.js +166 -0
  436. data/vendor/assets/javascripts/dojo/dom-geometry.js +214 -0
  437. data/vendor/assets/javascripts/dojo/dom-geometry.js.uncompressed.js +751 -0
  438. data/vendor/assets/javascripts/dojo/dom-prop.js +69 -0
  439. data/vendor/assets/javascripts/dojo/dom-prop.js.uncompressed.js +190 -0
  440. data/vendor/assets/javascripts/dojo/dom-style.js +158 -0
  441. data/vendor/assets/javascripts/dojo/dom-style.js.uncompressed.js +321 -0
  442. data/vendor/assets/javascripts/dojo/dom.js +74 -0
  443. data/vendor/assets/javascripts/dojo/dom.js.uncompressed.js +156 -0
  444. data/vendor/assets/javascripts/dojo/domReady.js +95 -0
  445. data/vendor/assets/javascripts/dojo/domReady.js.uncompressed.js +95 -0
  446. data/vendor/assets/javascripts/dojo/fx.js +260 -0
  447. data/vendor/assets/javascripts/dojo/fx.js.uncompressed.js +426 -0
  448. data/vendor/assets/javascripts/dojo/fx/Toggler.js +28 -0
  449. data/vendor/assets/javascripts/dojo/fx/Toggler.js.uncompressed.js +103 -0
  450. data/vendor/assets/javascripts/dojo/fx/easing.js +166 -0
  451. data/vendor/assets/javascripts/dojo/fx/easing.js.uncompressed.js +284 -0
  452. data/vendor/assets/javascripts/dojo/gears.js +44 -0
  453. data/vendor/assets/javascripts/dojo/gears.js.uncompressed.js +61 -0
  454. data/vendor/assets/javascripts/dojo/has.js +66 -0
  455. data/vendor/assets/javascripts/dojo/has.js.uncompressed.js +178 -0
  456. data/vendor/assets/javascripts/dojo/hash.js +137 -0
  457. data/vendor/assets/javascripts/dojo/hash.js.uncompressed.js +243 -0
  458. data/vendor/assets/javascripts/dojo/html.js +148 -0
  459. data/vendor/assets/javascripts/dojo/html.js.uncompressed.js +342 -0
  460. data/vendor/assets/javascripts/dojo/i18n.js +211 -0
  461. data/vendor/assets/javascripts/dojo/i18n.js.uncompressed.js +514 -0
  462. data/vendor/assets/javascripts/dojo/io-query.js +53 -0
  463. data/vendor/assets/javascripts/dojo/io-query.js.uncompressed.js +98 -0
  464. data/vendor/assets/javascripts/dojo/io/iframe.js +230 -0
  465. data/vendor/assets/javascripts/dojo/io/iframe.js.uncompressed.js +376 -0
  466. data/vendor/assets/javascripts/dojo/io/script.js +114 -0
  467. data/vendor/assets/javascripts/dojo/io/script.js.uncompressed.js +256 -0
  468. data/vendor/assets/javascripts/dojo/jaxer.js +18 -0
  469. data/vendor/assets/javascripts/dojo/jaxer.js.uncompressed.js +19 -0
  470. data/vendor/assets/javascripts/dojo/json.js +102 -0
  471. data/vendor/assets/javascripts/dojo/json.js.uncompressed.js +149 -0
  472. data/vendor/assets/javascripts/dojo/keys.js +10 -0
  473. data/vendor/assets/javascripts/dojo/keys.js.uncompressed.js +80 -0
  474. data/vendor/assets/javascripts/dojo/loadInit.js +12 -0
  475. data/vendor/assets/javascripts/dojo/loadInit.js.uncompressed.js +7 -0
  476. data/vendor/assets/javascripts/dojo/main.js +29 -0
  477. data/vendor/assets/javascripts/dojo/main.js.uncompressed.js +50 -0
  478. data/vendor/assets/javascripts/dojo/mouse.js +48 -0
  479. data/vendor/assets/javascripts/dojo/mouse.js.uncompressed.js +127 -0
  480. data/vendor/assets/javascripts/dojo/nls/ar/colors.js +8 -0
  481. data/vendor/assets/javascripts/dojo/nls/ar/colors.js.uncompressed.js +156 -0
  482. data/vendor/assets/javascripts/dojo/nls/az/colors.js +8 -0
  483. data/vendor/assets/javascripts/dojo/nls/az/colors.js.uncompressed.js +153 -0
  484. data/vendor/assets/javascripts/dojo/nls/ca/colors.js +8 -0
  485. data/vendor/assets/javascripts/dojo/nls/ca/colors.js.uncompressed.js +156 -0
  486. data/vendor/assets/javascripts/dojo/nls/colors.js +8 -0
  487. data/vendor/assets/javascripts/dojo/nls/colors.js.uncompressed.js +191 -0
  488. data/vendor/assets/javascripts/dojo/nls/cs/colors.js +8 -0
  489. data/vendor/assets/javascripts/dojo/nls/cs/colors.js.uncompressed.js +156 -0
  490. data/vendor/assets/javascripts/dojo/nls/da/colors.js +8 -0
  491. data/vendor/assets/javascripts/dojo/nls/da/colors.js.uncompressed.js +156 -0
  492. data/vendor/assets/javascripts/dojo/nls/de/colors.js +8 -0
  493. data/vendor/assets/javascripts/dojo/nls/de/colors.js.uncompressed.js +156 -0
  494. data/vendor/assets/javascripts/dojo/nls/el/colors.js +8 -0
  495. data/vendor/assets/javascripts/dojo/nls/el/colors.js.uncompressed.js +156 -0
  496. data/vendor/assets/javascripts/dojo/nls/es/colors.js +8 -0
  497. data/vendor/assets/javascripts/dojo/nls/es/colors.js.uncompressed.js +156 -0
  498. data/vendor/assets/javascripts/dojo/nls/fi/colors.js +8 -0
  499. data/vendor/assets/javascripts/dojo/nls/fi/colors.js.uncompressed.js +156 -0
  500. data/vendor/assets/javascripts/dojo/nls/fr/colors.js +8 -0
  501. data/vendor/assets/javascripts/dojo/nls/fr/colors.js.uncompressed.js +156 -0
  502. data/vendor/assets/javascripts/dojo/nls/he/colors.js +8 -0
  503. data/vendor/assets/javascripts/dojo/nls/he/colors.js.uncompressed.js +158 -0
  504. data/vendor/assets/javascripts/dojo/nls/hr/colors.js +8 -0
  505. data/vendor/assets/javascripts/dojo/nls/hr/colors.js.uncompressed.js +156 -0
  506. data/vendor/assets/javascripts/dojo/nls/hu/colors.js +8 -0
  507. data/vendor/assets/javascripts/dojo/nls/hu/colors.js.uncompressed.js +156 -0
  508. data/vendor/assets/javascripts/dojo/nls/it/colors.js +8 -0
  509. data/vendor/assets/javascripts/dojo/nls/it/colors.js.uncompressed.js +156 -0
  510. data/vendor/assets/javascripts/dojo/nls/ja/colors.js +8 -0
  511. data/vendor/assets/javascripts/dojo/nls/ja/colors.js.uncompressed.js +156 -0
  512. data/vendor/assets/javascripts/dojo/nls/kk/colors.js +8 -0
  513. data/vendor/assets/javascripts/dojo/nls/kk/colors.js.uncompressed.js +156 -0
  514. data/vendor/assets/javascripts/dojo/nls/ko/colors.js +8 -0
  515. data/vendor/assets/javascripts/dojo/nls/ko/colors.js.uncompressed.js +156 -0
  516. data/vendor/assets/javascripts/dojo/nls/nb/colors.js +8 -0
  517. data/vendor/assets/javascripts/dojo/nls/nb/colors.js.uncompressed.js +156 -0
  518. data/vendor/assets/javascripts/dojo/nls/nl/colors.js +8 -0
  519. data/vendor/assets/javascripts/dojo/nls/nl/colors.js.uncompressed.js +156 -0
  520. data/vendor/assets/javascripts/dojo/nls/pl/colors.js +8 -0
  521. data/vendor/assets/javascripts/dojo/nls/pl/colors.js.uncompressed.js +156 -0
  522. data/vendor/assets/javascripts/dojo/nls/pt-pt/colors.js +8 -0
  523. data/vendor/assets/javascripts/dojo/nls/pt-pt/colors.js.uncompressed.js +156 -0
  524. data/vendor/assets/javascripts/dojo/nls/pt/colors.js +8 -0
  525. data/vendor/assets/javascripts/dojo/nls/pt/colors.js.uncompressed.js +156 -0
  526. data/vendor/assets/javascripts/dojo/nls/ro/colors.js +8 -0
  527. data/vendor/assets/javascripts/dojo/nls/ro/colors.js.uncompressed.js +156 -0
  528. data/vendor/assets/javascripts/dojo/nls/ru/colors.js +8 -0
  529. data/vendor/assets/javascripts/dojo/nls/ru/colors.js.uncompressed.js +156 -0
  530. data/vendor/assets/javascripts/dojo/nls/sk/colors.js +8 -0
  531. data/vendor/assets/javascripts/dojo/nls/sk/colors.js.uncompressed.js +156 -0
  532. data/vendor/assets/javascripts/dojo/nls/sl/colors.js +8 -0
  533. data/vendor/assets/javascripts/dojo/nls/sl/colors.js.uncompressed.js +156 -0
  534. data/vendor/assets/javascripts/dojo/nls/sv/colors.js +8 -0
  535. data/vendor/assets/javascripts/dojo/nls/sv/colors.js.uncompressed.js +156 -0
  536. data/vendor/assets/javascripts/dojo/nls/th/colors.js +8 -0
  537. data/vendor/assets/javascripts/dojo/nls/th/colors.js.uncompressed.js +156 -0
  538. data/vendor/assets/javascripts/dojo/nls/tr/colors.js +8 -0
  539. data/vendor/assets/javascripts/dojo/nls/tr/colors.js.uncompressed.js +156 -0
  540. data/vendor/assets/javascripts/dojo/nls/zh-tw/colors.js +8 -0
  541. data/vendor/assets/javascripts/dojo/nls/zh-tw/colors.js.uncompressed.js +156 -0
  542. data/vendor/assets/javascripts/dojo/nls/zh/colors.js +8 -0
  543. data/vendor/assets/javascripts/dojo/nls/zh/colors.js.uncompressed.js +156 -0
  544. data/vendor/assets/javascripts/dojo/number.js +305 -0
  545. data/vendor/assets/javascripts/dojo/number.js.uncompressed.js +576 -0
  546. data/vendor/assets/javascripts/dojo/on.js +311 -0
  547. data/vendor/assets/javascripts/dojo/on.js.uncompressed.js +474 -0
  548. data/vendor/assets/javascripts/dojo/package.json +23 -0
  549. data/vendor/assets/javascripts/dojo/parser.js +299 -0
  550. data/vendor/assets/javascripts/dojo/parser.js.uncompressed.js +594 -0
  551. data/vendor/assets/javascripts/dojo/query.js +195 -0
  552. data/vendor/assets/javascripts/dojo/query.js.uncompressed.js +713 -0
  553. data/vendor/assets/javascripts/dojo/ready.js +82 -0
  554. data/vendor/assets/javascripts/dojo/ready.js.uncompressed.js +138 -0
  555. data/vendor/assets/javascripts/dojo/regexp.js +32 -0
  556. data/vendor/assets/javascripts/dojo/regexp.js.uncompressed.js +73 -0
  557. data/vendor/assets/javascripts/dojo/require.js +12 -0
  558. data/vendor/assets/javascripts/dojo/require.js.uncompressed.js +7 -0
  559. data/vendor/assets/javascripts/dojo/resources/LICENSE +30 -0
  560. data/vendor/assets/javascripts/dojo/resources/_modules.js +36 -0
  561. data/vendor/assets/javascripts/dojo/resources/blank.gif +0 -0
  562. data/vendor/assets/javascripts/dojo/resources/blank.html +1 -0
  563. data/vendor/assets/javascripts/dojo/resources/dnd.css +14 -0
  564. data/vendor/assets/javascripts/dojo/resources/dojo.css +98 -0
  565. data/vendor/assets/javascripts/dojo/resources/iframe_history.html +44 -0
  566. data/vendor/assets/javascripts/dojo/resources/images/dndCopy.png +0 -0
  567. data/vendor/assets/javascripts/dojo/resources/images/dndMove.png +0 -0
  568. data/vendor/assets/javascripts/dojo/resources/images/dndNoCopy.png +0 -0
  569. data/vendor/assets/javascripts/dojo/resources/images/dndNoMove.png +0 -0
  570. data/vendor/assets/javascripts/dojo/rpc/JsonService.js +34 -0
  571. data/vendor/assets/javascripts/dojo/rpc/JsonService.js.uncompressed.js +85 -0
  572. data/vendor/assets/javascripts/dojo/rpc/JsonpService.js +29 -0
  573. data/vendor/assets/javascripts/dojo/rpc/JsonpService.js.uncompressed.js +67 -0
  574. data/vendor/assets/javascripts/dojo/rpc/RpcService.js +87 -0
  575. data/vendor/assets/javascripts/dojo/rpc/RpcService.js.uncompressed.js +175 -0
  576. data/vendor/assets/javascripts/dojo/selector/_loader.js +40 -0
  577. data/vendor/assets/javascripts/dojo/selector/_loader.js.uncompressed.js +45 -0
  578. data/vendor/assets/javascripts/dojo/selector/acme.js +765 -0
  579. data/vendor/assets/javascripts/dojo/selector/acme.js.uncompressed.js +1480 -0
  580. data/vendor/assets/javascripts/dojo/selector/lite.js +213 -0
  581. data/vendor/assets/javascripts/dojo/selector/lite.js.uncompressed.js +264 -0
  582. data/vendor/assets/javascripts/dojo/store/Cache.js +47 -0
  583. data/vendor/assets/javascripts/dojo/store/Cache.js.uncompressed.js +148 -0
  584. data/vendor/assets/javascripts/dojo/store/DataStore.js +103 -0
  585. data/vendor/assets/javascripts/dojo/store/DataStore.js.uncompressed.js +170 -0
  586. data/vendor/assets/javascripts/dojo/store/JsonRest.js +56 -0
  587. data/vendor/assets/javascripts/dojo/store/JsonRest.js.uncompressed.js +155 -0
  588. data/vendor/assets/javascripts/dojo/store/Memory.js +55 -0
  589. data/vendor/assets/javascripts/dojo/store/Memory.js.uncompressed.js +161 -0
  590. data/vendor/assets/javascripts/dojo/store/Observable.js +125 -0
  591. data/vendor/assets/javascripts/dojo/store/Observable.js.uncompressed.js +175 -0
  592. data/vendor/assets/javascripts/dojo/store/README +10 -0
  593. data/vendor/assets/javascripts/dojo/store/api/Store.js +52 -0
  594. data/vendor/assets/javascripts/dojo/store/api/Store.js.uncompressed.js +297 -0
  595. data/vendor/assets/javascripts/dojo/store/util/QueryResults.js +39 -0
  596. data/vendor/assets/javascripts/dojo/store/util/QueryResults.js.uncompressed.js +64 -0
  597. data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js +63 -0
  598. data/vendor/assets/javascripts/dojo/store/util/SimpleQueryEngine.js.uncompressed.js +108 -0
  599. data/vendor/assets/javascripts/dojo/string.js +57 -0
  600. data/vendor/assets/javascripts/dojo/string.js.uncompressed.js +162 -0
  601. data/vendor/assets/javascripts/dojo/text.js +99 -0
  602. data/vendor/assets/javascripts/dojo/text.js.uncompressed.js +212 -0
  603. data/vendor/assets/javascripts/dojo/topic.js +15 -0
  604. data/vendor/assets/javascripts/dojo/topic.js.uncompressed.js +33 -0
  605. data/vendor/assets/javascripts/dojo/touch.js +17 -0
  606. data/vendor/assets/javascripts/dojo/touch.js.uncompressed.js +89 -0
  607. data/vendor/assets/javascripts/dojo/uacss.js +25 -0
  608. data/vendor/assets/javascripts/dojo/uacss.js.uncompressed.js +66 -0
  609. data/vendor/assets/javascripts/dojo/window.js +119 -0
  610. data/vendor/assets/javascripts/dojo/window.js.uncompressed.js +169 -0
  611. metadata +613 -3
@@ -0,0 +1,62 @@
1
+ /*
2
+ Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
3
+ Available via Academic Free License >= 2.1 OR the modified BSD license.
4
+ see: http://dojotoolkit.org/license for details
5
+ */
6
+
7
+ //>>built
8
+ define("dojo/dnd/Mover",["../main","../Evented","../touch","./common","./autoscroll"],function(_1,_2,_3){
9
+ _1.declare("dojo.dnd.Mover",[_2],{constructor:function(_4,e,_5){
10
+ this.node=_1.byId(_4);
11
+ this.marginBox={l:e.pageX,t:e.pageY};
12
+ this.mouseButton=e.button;
13
+ var h=(this.host=_5),d=_4.ownerDocument;
14
+ this.events=[_1.connect(d,_3.move,this,"onFirstMove"),_1.connect(d,_3.move,this,"onMouseMove"),_1.connect(d,_3.release,this,"onMouseUp"),_1.connect(d,"ondragstart",_1.stopEvent),_1.connect(d.body,"onselectstart",_1.stopEvent)];
15
+ if(h&&h.onMoveStart){
16
+ h.onMoveStart(this);
17
+ }
18
+ },onMouseMove:function(e){
19
+ _1.dnd.autoScroll(e);
20
+ var m=this.marginBox;
21
+ this.host.onMove(this,{l:m.l+e.pageX,t:m.t+e.pageY},e);
22
+ _1.stopEvent(e);
23
+ },onMouseUp:function(e){
24
+ if(_1.isWebKit&&_1.isMac&&this.mouseButton==2?e.button==0:this.mouseButton==e.button){
25
+ this.destroy();
26
+ }
27
+ _1.stopEvent(e);
28
+ },onFirstMove:function(e){
29
+ var s=this.node.style,l,t,h=this.host;
30
+ switch(s.position){
31
+ case "relative":
32
+ case "absolute":
33
+ l=Math.round(parseFloat(s.left))||0;
34
+ t=Math.round(parseFloat(s.top))||0;
35
+ break;
36
+ default:
37
+ s.position="absolute";
38
+ var m=_1.marginBox(this.node);
39
+ var b=_1.doc.body;
40
+ var bs=_1.getComputedStyle(b);
41
+ var bm=_1._getMarginBox(b,bs);
42
+ var bc=_1._getContentBox(b,bs);
43
+ l=m.l-(bc.l-bm.l);
44
+ t=m.t-(bc.t-bm.t);
45
+ break;
46
+ }
47
+ this.marginBox.l=l-this.marginBox.l;
48
+ this.marginBox.t=t-this.marginBox.t;
49
+ if(h&&h.onFirstMove){
50
+ h.onFirstMove(this,e);
51
+ }
52
+ _1.disconnect(this.events.shift());
53
+ },destroy:function(){
54
+ _1.forEach(this.events,_1.disconnect);
55
+ var h=this.host;
56
+ if(h&&h.onMoveStop){
57
+ h.onMoveStop(this);
58
+ }
59
+ this.events=this.node=this.host=null;
60
+ }});
61
+ return _1.dnd.Mover;
62
+ });
@@ -0,0 +1,119 @@
1
+ define("dojo/dnd/Mover", ["../main", "../Evented", "../touch", "./common", "./autoscroll"], function(dojo, Evented, touch) {
2
+ // module:
3
+ // dojo/dnd/Mover
4
+ // summary:
5
+ // TODOC
6
+
7
+
8
+ dojo.declare("dojo.dnd.Mover", [Evented], {
9
+ constructor: function(node, e, host){
10
+ // summary:
11
+ // an object which makes a node follow the mouse, or touch-drag on touch devices.
12
+ // Used as a default mover, and as a base class for custom movers.
13
+ // node: Node
14
+ // a node (or node's id) to be moved
15
+ // e: Event
16
+ // a mouse event, which started the move;
17
+ // only pageX and pageY properties are used
18
+ // host: Object?
19
+ // object which implements the functionality of the move,
20
+ // and defines proper events (onMoveStart and onMoveStop)
21
+ this.node = dojo.byId(node);
22
+ this.marginBox = {l: e.pageX, t: e.pageY};
23
+ this.mouseButton = e.button;
24
+ var h = (this.host = host), d = node.ownerDocument;
25
+ this.events = [
26
+ // At the start of a drag, onFirstMove is called, and then the following two
27
+ // connects are disconnected
28
+ dojo.connect(d, touch.move, this, "onFirstMove"),
29
+
30
+ // These are called continually during the drag
31
+ dojo.connect(d, touch.move, this, "onMouseMove"),
32
+
33
+ // And these are called at the end of the drag
34
+ dojo.connect(d, touch.release, this, "onMouseUp"),
35
+
36
+ // cancel text selection and text dragging
37
+ dojo.connect(d, "ondragstart", dojo.stopEvent),
38
+ dojo.connect(d.body, "onselectstart", dojo.stopEvent)
39
+ ];
40
+ // notify that the move has started
41
+ if(h && h.onMoveStart){
42
+ h.onMoveStart(this);
43
+ }
44
+ },
45
+ // mouse event processors
46
+ onMouseMove: function(e){
47
+ // summary:
48
+ // event processor for onmousemove/ontouchmove
49
+ // e: Event
50
+ // mouse/touch event
51
+ dojo.dnd.autoScroll(e);
52
+ var m = this.marginBox;
53
+ this.host.onMove(this, {l: m.l + e.pageX, t: m.t + e.pageY}, e);
54
+ dojo.stopEvent(e);
55
+ },
56
+ onMouseUp: function(e){
57
+ if(dojo.isWebKit && dojo.isMac && this.mouseButton == 2 ?
58
+ e.button == 0 : this.mouseButton == e.button){ // TODO Should condition be met for touch devices, too?
59
+ this.destroy();
60
+ }
61
+ dojo.stopEvent(e);
62
+ },
63
+ // utilities
64
+ onFirstMove: function(e){
65
+ // summary:
66
+ // makes the node absolute; it is meant to be called only once.
67
+ // relative and absolutely positioned nodes are assumed to use pixel units
68
+ var s = this.node.style, l, t, h = this.host;
69
+ switch(s.position){
70
+ case "relative":
71
+ case "absolute":
72
+ // assume that left and top values are in pixels already
73
+ l = Math.round(parseFloat(s.left)) || 0;
74
+ t = Math.round(parseFloat(s.top)) || 0;
75
+ break;
76
+ default:
77
+ s.position = "absolute"; // enforcing the absolute mode
78
+ var m = dojo.marginBox(this.node);
79
+ // event.pageX/pageY (which we used to generate the initial
80
+ // margin box) includes padding and margin set on the body.
81
+ // However, setting the node's position to absolute and then
82
+ // doing dojo.marginBox on it *doesn't* take that additional
83
+ // space into account - so we need to subtract the combined
84
+ // padding and margin. We use getComputedStyle and
85
+ // _getMarginBox/_getContentBox to avoid the extra lookup of
86
+ // the computed style.
87
+ var b = dojo.doc.body;
88
+ var bs = dojo.getComputedStyle(b);
89
+ var bm = dojo._getMarginBox(b, bs);
90
+ var bc = dojo._getContentBox(b, bs);
91
+ l = m.l - (bc.l - bm.l);
92
+ t = m.t - (bc.t - bm.t);
93
+ break;
94
+ }
95
+ this.marginBox.l = l - this.marginBox.l;
96
+ this.marginBox.t = t - this.marginBox.t;
97
+ if(h && h.onFirstMove){
98
+ h.onFirstMove(this, e);
99
+ }
100
+
101
+ // Disconnect onmousemove and ontouchmove events that call this function
102
+ dojo.disconnect(this.events.shift());
103
+ },
104
+ destroy: function(){
105
+ // summary:
106
+ // stops the move, deletes all references, so the object can be garbage-collected
107
+ dojo.forEach(this.events, dojo.disconnect);
108
+ // undo global settings
109
+ var h = this.host;
110
+ if(h && h.onMoveStop){
111
+ h.onMoveStop(this);
112
+ }
113
+ // destroy objects
114
+ this.events = this.node = this.host = null;
115
+ }
116
+ });
117
+
118
+ return dojo.dnd.Mover;
119
+ });
@@ -0,0 +1,233 @@
1
+ /*
2
+ Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
3
+ Available via Academic Free License >= 2.1 OR the modified BSD license.
4
+ see: http://dojotoolkit.org/license for details
5
+ */
6
+
7
+ //>>built
8
+ define("dojo/dnd/Selector",["../main","./common","./Container"],function(_1){
9
+ _1.declare("dojo.dnd.Selector",_1.dnd.Container,{constructor:function(_2,_3){
10
+ if(!_3){
11
+ _3={};
12
+ }
13
+ this.singular=_3.singular;
14
+ this.autoSync=_3.autoSync;
15
+ this.selection={};
16
+ this.anchor=null;
17
+ this.simpleSelection=false;
18
+ this.events.push(_1.connect(this.node,"onmousedown",this,"onMouseDown"),_1.connect(this.node,"onmouseup",this,"onMouseUp"));
19
+ },singular:false,getSelectedNodes:function(){
20
+ var t=new _1.NodeList();
21
+ var e=_1.dnd._empty;
22
+ for(var i in this.selection){
23
+ if(i in e){
24
+ continue;
25
+ }
26
+ t.push(_1.byId(i));
27
+ }
28
+ return t;
29
+ },selectNone:function(){
30
+ return this._removeSelection()._removeAnchor();
31
+ },selectAll:function(){
32
+ this.forInItems(function(_4,id){
33
+ this._addItemClass(_1.byId(id),"Selected");
34
+ this.selection[id]=1;
35
+ },this);
36
+ return this._removeAnchor();
37
+ },deleteSelectedNodes:function(){
38
+ var e=_1.dnd._empty;
39
+ for(var i in this.selection){
40
+ if(i in e){
41
+ continue;
42
+ }
43
+ var n=_1.byId(i);
44
+ this.delItem(i);
45
+ _1.destroy(n);
46
+ }
47
+ this.anchor=null;
48
+ this.selection={};
49
+ return this;
50
+ },forInSelectedItems:function(f,o){
51
+ o=o||_1.global;
52
+ var s=this.selection,e=_1.dnd._empty;
53
+ for(var i in s){
54
+ if(i in e){
55
+ continue;
56
+ }
57
+ f.call(o,this.getItem(i),i,this);
58
+ }
59
+ },sync:function(){
60
+ _1.dnd.Selector.superclass.sync.call(this);
61
+ if(this.anchor){
62
+ if(!this.getItem(this.anchor.id)){
63
+ this.anchor=null;
64
+ }
65
+ }
66
+ var t=[],e=_1.dnd._empty;
67
+ for(var i in this.selection){
68
+ if(i in e){
69
+ continue;
70
+ }
71
+ if(!this.getItem(i)){
72
+ t.push(i);
73
+ }
74
+ }
75
+ _1.forEach(t,function(i){
76
+ delete this.selection[i];
77
+ },this);
78
+ return this;
79
+ },insertNodes:function(_5,_6,_7,_8){
80
+ var _9=this._normalizedCreator;
81
+ this._normalizedCreator=function(_a,_b){
82
+ var t=_9.call(this,_a,_b);
83
+ if(_5){
84
+ if(!this.anchor){
85
+ this.anchor=t.node;
86
+ this._removeItemClass(t.node,"Selected");
87
+ this._addItemClass(this.anchor,"Anchor");
88
+ }else{
89
+ if(this.anchor!=t.node){
90
+ this._removeItemClass(t.node,"Anchor");
91
+ this._addItemClass(t.node,"Selected");
92
+ }
93
+ }
94
+ this.selection[t.node.id]=1;
95
+ }else{
96
+ this._removeItemClass(t.node,"Selected");
97
+ this._removeItemClass(t.node,"Anchor");
98
+ }
99
+ return t;
100
+ };
101
+ _1.dnd.Selector.superclass.insertNodes.call(this,_6,_7,_8);
102
+ this._normalizedCreator=_9;
103
+ return this;
104
+ },destroy:function(){
105
+ _1.dnd.Selector.superclass.destroy.call(this);
106
+ this.selection=this.anchor=null;
107
+ },onMouseDown:function(e){
108
+ if(this.autoSync){
109
+ this.sync();
110
+ }
111
+ if(!this.current){
112
+ return;
113
+ }
114
+ if(!this.singular&&!_1.isCopyKey(e)&&!e.shiftKey&&(this.current.id in this.selection)){
115
+ this.simpleSelection=true;
116
+ if(e.button===_1.mouseButtons.LEFT){
117
+ _1.stopEvent(e);
118
+ }
119
+ return;
120
+ }
121
+ if(!this.singular&&e.shiftKey){
122
+ if(!_1.isCopyKey(e)){
123
+ this._removeSelection();
124
+ }
125
+ var c=this.getAllNodes();
126
+ if(c.length){
127
+ if(!this.anchor){
128
+ this.anchor=c[0];
129
+ this._addItemClass(this.anchor,"Anchor");
130
+ }
131
+ this.selection[this.anchor.id]=1;
132
+ if(this.anchor!=this.current){
133
+ var i=0;
134
+ for(;i<c.length;++i){
135
+ var _c=c[i];
136
+ if(_c==this.anchor||_c==this.current){
137
+ break;
138
+ }
139
+ }
140
+ for(++i;i<c.length;++i){
141
+ var _c=c[i];
142
+ if(_c==this.anchor||_c==this.current){
143
+ break;
144
+ }
145
+ this._addItemClass(_c,"Selected");
146
+ this.selection[_c.id]=1;
147
+ }
148
+ this._addItemClass(this.current,"Selected");
149
+ this.selection[this.current.id]=1;
150
+ }
151
+ }
152
+ }else{
153
+ if(this.singular){
154
+ if(this.anchor==this.current){
155
+ if(_1.isCopyKey(e)){
156
+ this.selectNone();
157
+ }
158
+ }else{
159
+ this.selectNone();
160
+ this.anchor=this.current;
161
+ this._addItemClass(this.anchor,"Anchor");
162
+ this.selection[this.current.id]=1;
163
+ }
164
+ }else{
165
+ if(_1.isCopyKey(e)){
166
+ if(this.anchor==this.current){
167
+ delete this.selection[this.anchor.id];
168
+ this._removeAnchor();
169
+ }else{
170
+ if(this.current.id in this.selection){
171
+ this._removeItemClass(this.current,"Selected");
172
+ delete this.selection[this.current.id];
173
+ }else{
174
+ if(this.anchor){
175
+ this._removeItemClass(this.anchor,"Anchor");
176
+ this._addItemClass(this.anchor,"Selected");
177
+ }
178
+ this.anchor=this.current;
179
+ this._addItemClass(this.current,"Anchor");
180
+ this.selection[this.current.id]=1;
181
+ }
182
+ }
183
+ }else{
184
+ if(!(this.current.id in this.selection)){
185
+ this.selectNone();
186
+ this.anchor=this.current;
187
+ this._addItemClass(this.current,"Anchor");
188
+ this.selection[this.current.id]=1;
189
+ }
190
+ }
191
+ }
192
+ }
193
+ _1.stopEvent(e);
194
+ },onMouseUp:function(e){
195
+ if(!this.simpleSelection){
196
+ return;
197
+ }
198
+ this.simpleSelection=false;
199
+ this.selectNone();
200
+ if(this.current){
201
+ this.anchor=this.current;
202
+ this._addItemClass(this.anchor,"Anchor");
203
+ this.selection[this.current.id]=1;
204
+ }
205
+ },onMouseMove:function(e){
206
+ this.simpleSelection=false;
207
+ },onOverEvent:function(){
208
+ this.onmousemoveEvent=_1.connect(this.node,"onmousemove",this,"onMouseMove");
209
+ },onOutEvent:function(){
210
+ _1.disconnect(this.onmousemoveEvent);
211
+ delete this.onmousemoveEvent;
212
+ },_removeSelection:function(){
213
+ var e=_1.dnd._empty;
214
+ for(var i in this.selection){
215
+ if(i in e){
216
+ continue;
217
+ }
218
+ var _d=_1.byId(i);
219
+ if(_d){
220
+ this._removeItemClass(_d,"Selected");
221
+ }
222
+ }
223
+ this.selection={};
224
+ return this;
225
+ },_removeAnchor:function(){
226
+ if(this.anchor){
227
+ this._removeItemClass(this.anchor,"Anchor");
228
+ this.anchor=null;
229
+ }
230
+ return this;
231
+ }});
232
+ return _1.dnd.Selector;
233
+ });
@@ -0,0 +1,324 @@
1
+ define("dojo/dnd/Selector", ["../main", "./common", "./Container"], function(dojo) {
2
+ // module:
3
+ // dojo/dnd/Selector
4
+ // summary:
5
+ // TODOC
6
+
7
+
8
+ /*
9
+ Container item states:
10
+ "" - an item is not selected
11
+ "Selected" - an item is selected
12
+ "Anchor" - an item is selected, and is an anchor for a "shift" selection
13
+ */
14
+
15
+ /*=====
16
+ dojo.declare("dojo.dnd.__SelectorArgs", [dojo.dnd.__ContainerArgs], {
17
+ // singular: Boolean
18
+ // allows selection of only one element, if true
19
+ singular: false,
20
+
21
+ // autoSync: Boolean
22
+ // autosynchronizes the source with its list of DnD nodes,
23
+ autoSync: false
24
+ });
25
+ =====*/
26
+
27
+ dojo.declare("dojo.dnd.Selector", dojo.dnd.Container, {
28
+ // summary:
29
+ // a Selector object, which knows how to select its children
30
+
31
+ /*=====
32
+ // selection: Set<String>
33
+ // The set of id's that are currently selected, such that this.selection[id] == 1
34
+ // if the node w/that id is selected. Can iterate over selected node's id's like:
35
+ // | for(var id in this.selection)
36
+ selection: {},
37
+ =====*/
38
+
39
+ constructor: function(node, params){
40
+ // summary:
41
+ // constructor of the Selector
42
+ // node: Node||String
43
+ // node or node's id to build the selector on
44
+ // params: dojo.dnd.__SelectorArgs?
45
+ // a dictionary of parameters
46
+ if(!params){ params = {}; }
47
+ this.singular = params.singular;
48
+ this.autoSync = params.autoSync;
49
+ // class-specific variables
50
+ this.selection = {};
51
+ this.anchor = null;
52
+ this.simpleSelection = false;
53
+ // set up events
54
+ this.events.push(
55
+ dojo.connect(this.node, "onmousedown", this, "onMouseDown"),
56
+ dojo.connect(this.node, "onmouseup", this, "onMouseUp"));
57
+ },
58
+
59
+ // object attributes (for markup)
60
+ singular: false, // is singular property
61
+
62
+ // methods
63
+ getSelectedNodes: function(){
64
+ // summary:
65
+ // returns a list (an array) of selected nodes
66
+ var t = new dojo.NodeList();
67
+ var e = dojo.dnd._empty;
68
+ for(var i in this.selection){
69
+ if(i in e){ continue; }
70
+ t.push(dojo.byId(i));
71
+ }
72
+ return t; // NodeList
73
+ },
74
+ selectNone: function(){
75
+ // summary:
76
+ // unselects all items
77
+ return this._removeSelection()._removeAnchor(); // self
78
+ },
79
+ selectAll: function(){
80
+ // summary:
81
+ // selects all items
82
+ this.forInItems(function(data, id){
83
+ this._addItemClass(dojo.byId(id), "Selected");
84
+ this.selection[id] = 1;
85
+ }, this);
86
+ return this._removeAnchor(); // self
87
+ },
88
+ deleteSelectedNodes: function(){
89
+ // summary:
90
+ // deletes all selected items
91
+ var e = dojo.dnd._empty;
92
+ for(var i in this.selection){
93
+ if(i in e){ continue; }
94
+ var n = dojo.byId(i);
95
+ this.delItem(i);
96
+ dojo.destroy(n);
97
+ }
98
+ this.anchor = null;
99
+ this.selection = {};
100
+ return this; // self
101
+ },
102
+ forInSelectedItems: function(/*Function*/ f, /*Object?*/ o){
103
+ // summary:
104
+ // iterates over selected items;
105
+ // see `dojo.dnd.Container.forInItems()` for details
106
+ o = o || dojo.global;
107
+ var s = this.selection, e = dojo.dnd._empty;
108
+ for(var i in s){
109
+ if(i in e){ continue; }
110
+ f.call(o, this.getItem(i), i, this);
111
+ }
112
+ },
113
+ sync: function(){
114
+ // summary:
115
+ // sync up the node list with the data map
116
+
117
+ dojo.dnd.Selector.superclass.sync.call(this);
118
+
119
+ // fix the anchor
120
+ if(this.anchor){
121
+ if(!this.getItem(this.anchor.id)){
122
+ this.anchor = null;
123
+ }
124
+ }
125
+
126
+ // fix the selection
127
+ var t = [], e = dojo.dnd._empty;
128
+ for(var i in this.selection){
129
+ if(i in e){ continue; }
130
+ if(!this.getItem(i)){
131
+ t.push(i);
132
+ }
133
+ }
134
+ dojo.forEach(t, function(i){
135
+ delete this.selection[i];
136
+ }, this);
137
+
138
+ return this; // self
139
+ },
140
+ insertNodes: function(addSelected, data, before, anchor){
141
+ // summary:
142
+ // inserts new data items (see `dojo.dnd.Container.insertNodes()` method for details)
143
+ // addSelected: Boolean
144
+ // all new nodes will be added to selected items, if true, no selection change otherwise
145
+ // data: Array
146
+ // a list of data items, which should be processed by the creator function
147
+ // before: Boolean
148
+ // insert before the anchor, if true, and after the anchor otherwise
149
+ // anchor: Node
150
+ // the anchor node to be used as a point of insertion
151
+ var oldCreator = this._normalizedCreator;
152
+ this._normalizedCreator = function(item, hint){
153
+ var t = oldCreator.call(this, item, hint);
154
+ if(addSelected){
155
+ if(!this.anchor){
156
+ this.anchor = t.node;
157
+ this._removeItemClass(t.node, "Selected");
158
+ this._addItemClass(this.anchor, "Anchor");
159
+ }else if(this.anchor != t.node){
160
+ this._removeItemClass(t.node, "Anchor");
161
+ this._addItemClass(t.node, "Selected");
162
+ }
163
+ this.selection[t.node.id] = 1;
164
+ }else{
165
+ this._removeItemClass(t.node, "Selected");
166
+ this._removeItemClass(t.node, "Anchor");
167
+ }
168
+ return t;
169
+ };
170
+ dojo.dnd.Selector.superclass.insertNodes.call(this, data, before, anchor);
171
+ this._normalizedCreator = oldCreator;
172
+ return this; // self
173
+ },
174
+ destroy: function(){
175
+ // summary:
176
+ // prepares the object to be garbage-collected
177
+ dojo.dnd.Selector.superclass.destroy.call(this);
178
+ this.selection = this.anchor = null;
179
+ },
180
+
181
+ // mouse events
182
+ onMouseDown: function(e){
183
+ // summary:
184
+ // event processor for onmousedown
185
+ // e: Event
186
+ // mouse event
187
+ if(this.autoSync){ this.sync(); }
188
+ if(!this.current){ return; }
189
+ if(!this.singular && !dojo.isCopyKey(e) && !e.shiftKey && (this.current.id in this.selection)){
190
+ this.simpleSelection = true;
191
+ if(e.button === dojo.mouseButtons.LEFT){
192
+ // accept the left button and stop the event
193
+ // for IE we don't stop event when multiple buttons are pressed
194
+ dojo.stopEvent(e);
195
+ }
196
+ return;
197
+ }
198
+ if(!this.singular && e.shiftKey){
199
+ if(!dojo.isCopyKey(e)){
200
+ this._removeSelection();
201
+ }
202
+ var c = this.getAllNodes();
203
+ if(c.length){
204
+ if(!this.anchor){
205
+ this.anchor = c[0];
206
+ this._addItemClass(this.anchor, "Anchor");
207
+ }
208
+ this.selection[this.anchor.id] = 1;
209
+ if(this.anchor != this.current){
210
+ var i = 0;
211
+ for(; i < c.length; ++i){
212
+ var node = c[i];
213
+ if(node == this.anchor || node == this.current){ break; }
214
+ }
215
+ for(++i; i < c.length; ++i){
216
+ var node = c[i];
217
+ if(node == this.anchor || node == this.current){ break; }
218
+ this._addItemClass(node, "Selected");
219
+ this.selection[node.id] = 1;
220
+ }
221
+ this._addItemClass(this.current, "Selected");
222
+ this.selection[this.current.id] = 1;
223
+ }
224
+ }
225
+ }else{
226
+ if(this.singular){
227
+ if(this.anchor == this.current){
228
+ if(dojo.isCopyKey(e)){
229
+ this.selectNone();
230
+ }
231
+ }else{
232
+ this.selectNone();
233
+ this.anchor = this.current;
234
+ this._addItemClass(this.anchor, "Anchor");
235
+ this.selection[this.current.id] = 1;
236
+ }
237
+ }else{
238
+ if(dojo.isCopyKey(e)){
239
+ if(this.anchor == this.current){
240
+ delete this.selection[this.anchor.id];
241
+ this._removeAnchor();
242
+ }else{
243
+ if(this.current.id in this.selection){
244
+ this._removeItemClass(this.current, "Selected");
245
+ delete this.selection[this.current.id];
246
+ }else{
247
+ if(this.anchor){
248
+ this._removeItemClass(this.anchor, "Anchor");
249
+ this._addItemClass(this.anchor, "Selected");
250
+ }
251
+ this.anchor = this.current;
252
+ this._addItemClass(this.current, "Anchor");
253
+ this.selection[this.current.id] = 1;
254
+ }
255
+ }
256
+ }else{
257
+ if(!(this.current.id in this.selection)){
258
+ this.selectNone();
259
+ this.anchor = this.current;
260
+ this._addItemClass(this.current, "Anchor");
261
+ this.selection[this.current.id] = 1;
262
+ }
263
+ }
264
+ }
265
+ }
266
+ dojo.stopEvent(e);
267
+ },
268
+ onMouseUp: function(e){
269
+ // summary:
270
+ // event processor for onmouseup
271
+ // e: Event
272
+ // mouse event
273
+ if(!this.simpleSelection){ return; }
274
+ this.simpleSelection = false;
275
+ this.selectNone();
276
+ if(this.current){
277
+ this.anchor = this.current;
278
+ this._addItemClass(this.anchor, "Anchor");
279
+ this.selection[this.current.id] = 1;
280
+ }
281
+ },
282
+ onMouseMove: function(e){
283
+ // summary:
284
+ // event processor for onmousemove
285
+ // e: Event
286
+ // mouse event
287
+ this.simpleSelection = false;
288
+ },
289
+
290
+ // utilities
291
+ onOverEvent: function(){
292
+ // summary:
293
+ // this function is called once, when mouse is over our container
294
+ this.onmousemoveEvent = dojo.connect(this.node, "onmousemove", this, "onMouseMove");
295
+ },
296
+ onOutEvent: function(){
297
+ // summary:
298
+ // this function is called once, when mouse is out of our container
299
+ dojo.disconnect(this.onmousemoveEvent);
300
+ delete this.onmousemoveEvent;
301
+ },
302
+ _removeSelection: function(){
303
+ // summary:
304
+ // unselects all items
305
+ var e = dojo.dnd._empty;
306
+ for(var i in this.selection){
307
+ if(i in e){ continue; }
308
+ var node = dojo.byId(i);
309
+ if(node){ this._removeItemClass(node, "Selected"); }
310
+ }
311
+ this.selection = {};
312
+ return this; // self
313
+ },
314
+ _removeAnchor: function(){
315
+ if(this.anchor){
316
+ this._removeItemClass(this.anchor, "Anchor");
317
+ this.anchor = null;
318
+ }
319
+ return this; // self
320
+ }
321
+ });
322
+
323
+ return dojo.dnd.Selector;
324
+ });