@datagrok/helm 2.3.2 → 2.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (324) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/package-test.js +1 -1
  3. package/dist/package-test.js.map +1 -1
  4. package/dist/package.js +1 -1
  5. package/dist/package.js.map +1 -1
  6. package/package.json +4 -4
  7. package/src/cell-renderer.ts +5 -4
  8. package/src/helm-helper.ts +6 -6
  9. package/src/helm-monomer-placer.ts +1 -1
  10. package/src/helm-web-editor.ts +5 -5
  11. package/src/package-test.ts +0 -1
  12. package/src/package-utils.ts +211 -69
  13. package/src/package.ts +10 -71
  14. package/src/tests/findMonomers-tests.ts +2 -1
  15. package/src/tests/get-monomer-tests.ts +1 -49
  16. package/src/tests/helm-input-tests.ts +31 -20
  17. package/src/utils/get-monomer.ts +49 -1
  18. package/src/utils/helm-grid-cell-renderer.ts +8 -9
  19. package/src/utils/index.ts +2 -3
  20. package/src/widgets/helm-input.ts +4 -4
  21. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js +63 -0
  22. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js.uncompressed.js +116 -0
  23. package/vendor/dojo-1.10.10/dijit/Destroyable.js +35 -0
  24. package/vendor/dojo-1.10.10/dijit/Destroyable.js.uncompressed.js +83 -0
  25. package/vendor/dojo-1.10.10/dijit/Tooltip.js +240 -0
  26. package/vendor/dojo-1.10.10/dijit/Tooltip.js.uncompressed.js +612 -0
  27. package/vendor/dojo-1.10.10/dijit/Viewport.js +44 -0
  28. package/vendor/dojo-1.10.10/dijit/Viewport.js.uncompressed.js +87 -0
  29. package/vendor/dojo-1.10.10/dijit/WidgetSet.js +76 -0
  30. package/vendor/dojo-1.10.10/dijit/WidgetSet.js.uncompressed.js +247 -0
  31. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js +94 -0
  32. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js.uncompressed.js +238 -0
  33. package/vendor/dojo-1.10.10/dijit/_Contained.js +17 -0
  34. package/vendor/dojo-1.10.10/dijit/_Contained.js.uncompressed.js +56 -0
  35. package/vendor/dojo-1.10.10/dijit/_Container.js +47 -0
  36. package/vendor/dojo-1.10.10/dijit/_Container.js.uncompressed.js +108 -0
  37. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js +198 -0
  38. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js.uncompressed.js +372 -0
  39. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js +11 -0
  40. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js.uncompressed.js +66 -0
  41. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js +188 -0
  42. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js.uncompressed.js +472 -0
  43. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js +8 -0
  44. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js.uncompressed.js +31 -0
  45. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js +90 -0
  46. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js.uncompressed.js +205 -0
  47. package/vendor/dojo-1.10.10/dijit/_Widget.js +66 -0
  48. package/vendor/dojo-1.10.10/dijit/_Widget.js.uncompressed.js +352 -0
  49. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js +353 -0
  50. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js.uncompressed.js +1200 -0
  51. package/vendor/dojo-1.10.10/dijit/_base/focus.js +68 -0
  52. package/vendor/dojo-1.10.10/dijit/_base/focus.js.uncompressed.js +207 -0
  53. package/vendor/dojo-1.10.10/dijit/_base/manager.js +10 -0
  54. package/vendor/dojo-1.10.10/dijit/_base/manager.js.uncompressed.js +35 -0
  55. package/vendor/dojo-1.10.10/dijit/_base/place.js +52 -0
  56. package/vendor/dojo-1.10.10/dijit/_base/place.js.uncompressed.js +131 -0
  57. package/vendor/dojo-1.10.10/dijit/_base/popup.js +23 -0
  58. package/vendor/dojo-1.10.10/dijit/_base/popup.js.uncompressed.js +58 -0
  59. package/vendor/dojo-1.10.10/dijit/_base/scroll.js +6 -0
  60. package/vendor/dojo-1.10.10/dijit/_base/scroll.js.uncompressed.js +22 -0
  61. package/vendor/dojo-1.10.10/dijit/_base/sniff.js +3 -0
  62. package/vendor/dojo-1.10.10/dijit/_base/sniff.js.uncompressed.js +12 -0
  63. package/vendor/dojo-1.10.10/dijit/_base/typematic.js +3 -0
  64. package/vendor/dojo-1.10.10/dijit/_base/typematic.js.uncompressed.js +10 -0
  65. package/vendor/dojo-1.10.10/dijit/_base/wai.js +32 -0
  66. package/vendor/dojo-1.10.10/dijit/_base/wai.js.uncompressed.js +109 -0
  67. package/vendor/dojo-1.10.10/dijit/_base/window.js +6 -0
  68. package/vendor/dojo-1.10.10/dijit/_base/window.js.uncompressed.js +18 -0
  69. package/vendor/dojo-1.10.10/dijit/_base.js +4 -0
  70. package/vendor/dojo-1.10.10/dijit/a11y.js +109 -0
  71. package/vendor/dojo-1.10.10/dijit/a11y.js.uncompressed.js +191 -0
  72. package/vendor/dojo-1.10.10/dijit/a11yclick.js +66 -0
  73. package/vendor/dojo-1.10.10/dijit/a11yclick.js.uncompressed.js +139 -0
  74. package/vendor/dojo-1.10.10/dijit/focus.js +188 -0
  75. package/vendor/dojo-1.10.10/dijit/focus.js.uncompressed.js +371 -0
  76. package/vendor/dojo-1.10.10/dijit/form/Button.js +49 -0
  77. package/vendor/dojo-1.10.10/dijit/form/Button.js.uncompressed.js +130 -0
  78. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js +4 -0
  79. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js.uncompressed.js +27 -0
  80. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js +21 -0
  81. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js.uncompressed.js +86 -0
  82. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js +38 -0
  83. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js.uncompressed.js +102 -0
  84. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js +7 -0
  85. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js.uncompressed.js +26 -0
  86. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js +50 -0
  87. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js.uncompressed.js +116 -0
  88. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js +26 -0
  89. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js.uncompressed.js +81 -0
  90. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js +24 -0
  91. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js.uncompressed.js +51 -0
  92. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js +22 -0
  93. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js.uncompressed.js +67 -0
  94. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js +111 -0
  95. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js.uncompressed.js +254 -0
  96. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js +32 -0
  97. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js.uncompressed.js +69 -0
  98. package/vendor/dojo-1.10.10/dijit/hccss.js +9 -0
  99. package/vendor/dojo-1.10.10/dijit/hccss.js.uncompressed.js +21 -0
  100. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js +215 -0
  101. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js.uncompressed.js +550 -0
  102. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js +7 -0
  103. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js.uncompressed.js +25 -0
  104. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js +235 -0
  105. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js.uncompressed.js +653 -0
  106. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js +171 -0
  107. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js.uncompressed.js +411 -0
  108. package/vendor/dojo-1.10.10/dijit/layout/StackController.js +194 -0
  109. package/vendor/dojo-1.10.10/dijit/layout/StackController.js.uncompressed.js +410 -0
  110. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js +99 -0
  111. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js.uncompressed.js +236 -0
  112. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js +47 -0
  113. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js.uncompressed.js +190 -0
  114. package/vendor/dojo-1.10.10/dijit/layout/utils.js +77 -0
  115. package/vendor/dojo-1.10.10/dijit/layout/utils.js.uncompressed.js +151 -0
  116. package/vendor/dojo-1.10.10/dijit/main.js +4 -0
  117. package/vendor/dojo-1.10.10/dijit/main.js.uncompressed.js +16 -0
  118. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js +2 -0
  119. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js.uncompressed.js +21 -0
  120. package/vendor/dojo-1.10.10/dijit/nls/loading.js +2 -0
  121. package/vendor/dojo-1.10.10/dijit/nls/loading.js.uncompressed.js +47 -0
  122. package/vendor/dojo-1.10.10/dijit/place.js +142 -0
  123. package/vendor/dojo-1.10.10/dijit/place.js.uncompressed.js +407 -0
  124. package/vendor/dojo-1.10.10/dijit/popup.js +162 -0
  125. package/vendor/dojo-1.10.10/dijit/popup.js.uncompressed.js +441 -0
  126. package/vendor/dojo-1.10.10/dijit/registry.js +79 -0
  127. package/vendor/dojo-1.10.10/dijit/registry.js.uncompressed.js +159 -0
  128. package/vendor/dojo-1.10.10/dijit/selection.js +364 -0
  129. package/vendor/dojo-1.10.10/dijit/selection.js.uncompressed.js +525 -0
  130. package/vendor/dojo-1.10.10/dijit/typematic.js +96 -0
  131. package/vendor/dojo-1.10.10/dijit/typematic.js.uncompressed.js +211 -0
  132. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js +195 -0
  133. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js.uncompressed.js +761 -0
  134. package/vendor/dojo-1.10.10/dojo/Stateful.js +90 -0
  135. package/vendor/dojo-1.10.10/dojo/Stateful.js.uncompressed.js +218 -0
  136. package/vendor/dojo-1.10.10/dojo/_base/url.js +87 -0
  137. package/vendor/dojo-1.10.10/dojo/_base/url.js.uncompressed.js +109 -0
  138. package/vendor/dojo-1.10.10/dojo/cache.js +9 -0
  139. package/vendor/dojo-1.10.10/dojo/cache.js.uncompressed.js +7 -0
  140. package/vendor/dojo-1.10.10/dojo/colors.js +74 -0
  141. package/vendor/dojo-1.10.10/dojo/colors.js.uncompressed.js +232 -0
  142. package/vendor/dojo-1.10.10/dojo/cookie.js +48 -0
  143. package/vendor/dojo-1.10.10/dojo/cookie.js.uncompressed.js +98 -0
  144. package/vendor/dojo-1.10.10/dojo/date/stamp.js +82 -0
  145. package/vendor/dojo-1.10.10/dojo/date/stamp.js.uncompressed.js +144 -0
  146. package/vendor/dojo-1.10.10/dojo/dojo.js +7 -0
  147. package/vendor/dojo-1.10.10/dojo/dojo.js.uncompressed.js +18680 -0
  148. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js +27 -0
  149. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js.uncompressed.js +101 -0
  150. package/vendor/dojo-1.10.10/dojo/fx/easing.js +165 -0
  151. package/vendor/dojo-1.10.10/dojo/fx/easing.js.uncompressed.js +276 -0
  152. package/vendor/dojo-1.10.10/dojo/fx.js +271 -0
  153. package/vendor/dojo-1.10.10/dojo/fx.js.uncompressed.js +443 -0
  154. package/vendor/dojo-1.10.10/dojo/hccss.js +26 -0
  155. package/vendor/dojo-1.10.10/dojo/hccss.js.uncompressed.js +52 -0
  156. package/vendor/dojo-1.10.10/dojo/html.js +161 -0
  157. package/vendor/dojo-1.10.10/dojo/html.js.uncompressed.js +370 -0
  158. package/vendor/dojo-1.10.10/dojo/io/iframe.js +71 -0
  159. package/vendor/dojo-1.10.10/dojo/io/iframe.js.uncompressed.js +190 -0
  160. package/vendor/dojo-1.10.10/dojo/io/script.js +112 -0
  161. package/vendor/dojo-1.10.10/dojo/io/script.js.uncompressed.js +280 -0
  162. package/vendor/dojo-1.10.10/dojo/parser.js +437 -0
  163. package/vendor/dojo-1.10.10/dojo/parser.js.uncompressed.js +915 -0
  164. package/vendor/dojo-1.10.10/dojo/promise/all.js +59 -0
  165. package/vendor/dojo-1.10.10/dojo/promise/all.js.uncompressed.js +77 -0
  166. package/vendor/dojo-1.10.10/dojo/regexp.js +32 -0
  167. package/vendor/dojo-1.10.10/dojo/regexp.js.uncompressed.js +70 -0
  168. package/vendor/dojo-1.10.10/dojo/request/iframe.js +291 -0
  169. package/vendor/dojo-1.10.10/dojo/request/iframe.js.uncompressed.js +438 -0
  170. package/vendor/dojo-1.10.10/dojo/request/script.js +129 -0
  171. package/vendor/dojo-1.10.10/dojo/request/script.js.uncompressed.js +237 -0
  172. package/vendor/dojo-1.10.10/dojo/require.js +11 -0
  173. package/vendor/dojo-1.10.10/dojo/require.js.uncompressed.js +7 -0
  174. package/vendor/dojo-1.10.10/dojo/resources/blank.gif +0 -0
  175. package/vendor/dojo-1.10.10/dojo/string.js +67 -0
  176. package/vendor/dojo-1.10.10/dojo/string.js.uncompressed.js +181 -0
  177. package/vendor/dojo-1.10.10/dojo/touch.js +191 -0
  178. package/vendor/dojo-1.10.10/dojo/touch.js.uncompressed.js +468 -0
  179. package/vendor/dojo-1.10.10/dojo/uacss.js +36 -0
  180. package/vendor/dojo-1.10.10/dojo/uacss.js.uncompressed.js +85 -0
  181. package/vendor/dojo-1.10.10/dojo/window.js +141 -0
  182. package/vendor/dojo-1.10.10/dojo/window.js.uncompressed.js +241 -0
  183. package/vendor/dojo-1.10.10/dojox/charting/Chart.js +626 -0
  184. package/vendor/dojo-1.10.10/dojox/charting/Chart.js.uncompressed.js +1220 -0
  185. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js +5 -0
  186. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js.uncompressed.js +16 -0
  187. package/vendor/dojo-1.10.10/dojox/charting/Element.js +247 -0
  188. package/vendor/dojo-1.10.10/dojox/charting/Element.js.uncompressed.js +402 -0
  189. package/vendor/dojo-1.10.10/dojox/charting/Series.js +24 -0
  190. package/vendor/dojo-1.10.10/dojox/charting/Series.js.uncompressed.js +58 -0
  191. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js +191 -0
  192. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js.uncompressed.js +577 -0
  193. package/vendor/dojo-1.10.10/dojox/charting/Theme.js +42 -0
  194. package/vendor/dojo-1.10.10/dojox/charting/Theme.js.uncompressed.js +120 -0
  195. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js +11 -0
  196. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js.uncompressed.js +36 -0
  197. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js +77 -0
  198. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js.uncompressed.js +144 -0
  199. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js +58 -0
  200. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js.uncompressed.js +123 -0
  201. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js +54 -0
  202. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js.uncompressed.js +124 -0
  203. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js +28 -0
  204. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js.uncompressed.js +74 -0
  205. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js +116 -0
  206. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js.uncompressed.js +178 -0
  207. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js +24 -0
  208. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js.uncompressed.js +83 -0
  209. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js +557 -0
  210. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js.uncompressed.js +980 -0
  211. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js +65 -0
  212. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js.uncompressed.js +224 -0
  213. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js +91 -0
  214. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js.uncompressed.js +164 -0
  215. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js +7 -0
  216. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js.uncompressed.js +14 -0
  217. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js +168 -0
  218. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js.uncompressed.js +311 -0
  219. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js +61 -0
  220. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js.uncompressed.js +161 -0
  221. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js +141 -0
  222. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js.uncompressed.js +242 -0
  223. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js +126 -0
  224. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js.uncompressed.js +243 -0
  225. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js +108 -0
  226. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js.uncompressed.js +290 -0
  227. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js +13 -0
  228. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js.uncompressed.js +14 -0
  229. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js +13 -0
  230. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js.uncompressed.js +14 -0
  231. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js +153 -0
  232. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js.uncompressed.js +249 -0
  233. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js +253 -0
  234. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js.uncompressed.js +472 -0
  235. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js +182 -0
  236. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js.uncompressed.js +356 -0
  237. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js +6 -0
  238. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js.uncompressed.js +12 -0
  239. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js +6 -0
  240. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js.uncompressed.js +12 -0
  241. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js +7 -0
  242. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js.uncompressed.js +13 -0
  243. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js +110 -0
  244. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js.uncompressed.js +208 -0
  245. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js +303 -0
  246. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js.uncompressed.js +547 -0
  247. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js +134 -0
  248. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js.uncompressed.js +207 -0
  249. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js +299 -0
  250. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js.uncompressed.js +537 -0
  251. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js +24 -0
  252. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js.uncompressed.js +44 -0
  253. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js +7 -0
  254. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js.uncompressed.js +14 -0
  255. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js +22 -0
  256. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js.uncompressed.js +33 -0
  257. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js +20 -0
  258. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js.uncompressed.js +31 -0
  259. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js +6 -0
  260. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js.uncompressed.js +12 -0
  261. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js +68 -0
  262. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js.uncompressed.js +120 -0
  263. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js +209 -0
  264. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js.uncompressed.js +214 -0
  265. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js +76 -0
  266. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js.uncompressed.js +77 -0
  267. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js +59 -0
  268. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js.uncompressed.js +70 -0
  269. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js +220 -0
  270. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js.uncompressed.js +262 -0
  271. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js +23 -0
  272. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js.uncompressed.js +36 -0
  273. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js +39 -0
  274. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js.uncompressed.js +106 -0
  275. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js +5 -0
  276. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js.uncompressed.js +12 -0
  277. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js +4 -0
  278. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js.uncompressed.js +3 -0
  279. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js +102 -0
  280. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js.uncompressed.js +165 -0
  281. package/vendor/dojo-1.10.10/dojox/color/Palette.js +163 -0
  282. package/vendor/dojo-1.10.10/dojox/color/Palette.js.uncompressed.js +460 -0
  283. package/vendor/dojo-1.10.10/dojox/color/_base.js +174 -0
  284. package/vendor/dojo-1.10.10/dojox/color/_base.js.uncompressed.js +196 -0
  285. package/vendor/dojo-1.10.10/dojox/gfx/fx.js +297 -0
  286. package/vendor/dojo-1.10.10/dojox/gfx/fx.js.uncompressed.js +350 -0
  287. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js +63 -0
  288. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js.uncompressed.js +91 -0
  289. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js +170 -0
  290. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js.uncompressed.js +501 -0
  291. package/vendor/dojo-1.10.10/dojox/gfx/path.js +319 -0
  292. package/vendor/dojo-1.10.10/dojox/gfx/path.js.uncompressed.js +478 -0
  293. package/vendor/dojo-1.10.10/dojox/gfx/shape.js +459 -0
  294. package/vendor/dojo-1.10.10/dojox/gfx/shape.js.uncompressed.js +1091 -0
  295. package/vendor/dojo-1.10.10/dojox/gfx/svg.js +662 -0
  296. package/vendor/dojo-1.10.10/dojox/gfx/svg.js.uncompressed.js +1023 -0
  297. package/vendor/dojo-1.10.10/dojox/gfx/utils.js +199 -0
  298. package/vendor/dojo-1.10.10/dojox/gfx/utils.js.uncompressed.js +322 -0
  299. package/vendor/dojo-1.10.10/dojox/gfx.js +2 -0
  300. package/vendor/dojo-1.10.10/dojox/gfx.js.uncompressed.js +1136 -0
  301. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js +151 -0
  302. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js.uncompressed.js +169 -0
  303. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js +93 -0
  304. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js.uncompressed.js +125 -0
  305. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js +81 -0
  306. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js.uncompressed.js +132 -0
  307. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js +54 -0
  308. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js.uncompressed.js +78 -0
  309. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js +61 -0
  310. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js.uncompressed.js +77 -0
  311. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js +87 -0
  312. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js.uncompressed.js +107 -0
  313. package/vendor/dojo-1.10.10/dojox/lang/functional.js +4 -0
  314. package/vendor/dojo-1.10.10/dojox/lang/functional.js.uncompressed.js +3 -0
  315. package/vendor/dojo-1.10.10/dojox/lang/utils.js +86 -0
  316. package/vendor/dojo-1.10.10/dojox/lang/utils.js.uncompressed.js +121 -0
  317. package/vendor/dojo-1.10.10/dojox/main.js +4 -0
  318. package/vendor/dojo-1.10.10/dojox/main.js.uncompressed.js +14 -0
  319. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js +112 -0
  320. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js.uncompressed.js +208 -0
  321. package/vendor/dojo-1.10.10/dojox/storage/Provider.js +62 -0
  322. package/vendor/dojo-1.10.10/dojox/storage/Provider.js.uncompressed.js +344 -0
  323. package/vendor/dojo-1.10.10/dojox/storage/manager.js +110 -0
  324. package/vendor/dojo-1.10.10/dojox/storage/manager.js.uncompressed.js +263 -0
@@ -0,0 +1,262 @@
1
+ define("dojox/charting/scaler/linear", ["dojo/_base/lang", "./common"],
2
+ function(lang, common){
3
+ var linear = lang.getObject("dojox.charting.scaler.linear", true);
4
+
5
+ var deltaLimit = 3, // pixels
6
+ getLabel = common.getNumericLabel;
7
+
8
+ function findString(/*String*/ val, /*Array*/ text){
9
+ val = val.toLowerCase();
10
+ for(var i = text.length - 1; i >= 0; --i){
11
+ if(val === text[i]){
12
+ return true;
13
+ }
14
+ }
15
+ return false;
16
+ }
17
+
18
+ var calcTicks = function(min, max, kwArgs, majorTick, minorTick, microTick, span){
19
+ kwArgs = lang.delegate(kwArgs);
20
+ if(!majorTick){
21
+ if(kwArgs.fixUpper == "major"){ kwArgs.fixUpper = "minor"; }
22
+ if(kwArgs.fixLower == "major"){ kwArgs.fixLower = "minor"; }
23
+ }
24
+ if(!minorTick){
25
+ if(kwArgs.fixUpper == "minor"){ kwArgs.fixUpper = "micro"; }
26
+ if(kwArgs.fixLower == "minor"){ kwArgs.fixLower = "micro"; }
27
+ }
28
+ if(!microTick){
29
+ if(kwArgs.fixUpper == "micro"){ kwArgs.fixUpper = "none"; }
30
+ if(kwArgs.fixLower == "micro"){ kwArgs.fixLower = "none"; }
31
+ }
32
+ var lowerBound = findString(kwArgs.fixLower, ["major"]) ?
33
+ Math.floor(kwArgs.min / majorTick) * majorTick :
34
+ findString(kwArgs.fixLower, ["minor"]) ?
35
+ Math.floor(kwArgs.min / minorTick) * minorTick :
36
+ findString(kwArgs.fixLower, ["micro"]) ?
37
+ Math.floor(kwArgs.min / microTick) * microTick : kwArgs.min,
38
+ upperBound = findString(kwArgs.fixUpper, ["major"]) ?
39
+ Math.ceil(kwArgs.max / majorTick) * majorTick :
40
+ findString(kwArgs.fixUpper, ["minor"]) ?
41
+ Math.ceil(kwArgs.max / minorTick) * minorTick :
42
+ findString(kwArgs.fixUpper, ["micro"]) ?
43
+ Math.ceil(kwArgs.max / microTick) * microTick : kwArgs.max;
44
+
45
+ if(kwArgs.useMin){ min = lowerBound; }
46
+ if(kwArgs.useMax){ max = upperBound; }
47
+
48
+ var majorStart = (!majorTick || kwArgs.useMin && findString(kwArgs.fixLower, ["major"])) ?
49
+ min : Math.ceil(min / majorTick) * majorTick,
50
+ minorStart = (!minorTick || kwArgs.useMin && findString(kwArgs.fixLower, ["major", "minor"])) ?
51
+ min : Math.ceil(min / minorTick) * minorTick,
52
+ microStart = (! microTick || kwArgs.useMin && findString(kwArgs.fixLower, ["major", "minor", "micro"])) ?
53
+ min : Math.ceil(min / microTick) * microTick,
54
+ majorCount = !majorTick ? 0 : (kwArgs.useMax && findString(kwArgs.fixUpper, ["major"]) ?
55
+ Math.round((max - majorStart) / majorTick) :
56
+ Math.floor((max - majorStart) / majorTick)) + 1,
57
+ minorCount = !minorTick ? 0 : (kwArgs.useMax && findString(kwArgs.fixUpper, ["major", "minor"]) ?
58
+ Math.round((max - minorStart) / minorTick) :
59
+ Math.floor((max - minorStart) / minorTick)) + 1,
60
+ microCount = !microTick ? 0 : (kwArgs.useMax && findString(kwArgs.fixUpper, ["major", "minor", "micro"]) ?
61
+ Math.round((max - microStart) / microTick) :
62
+ Math.floor((max - microStart) / microTick)) + 1,
63
+ minorPerMajor = minorTick ? Math.round(majorTick / minorTick) : 0,
64
+ microPerMinor = microTick ? Math.round(minorTick / microTick) : 0,
65
+ majorPrecision = majorTick ? Math.floor(Math.log(majorTick) / Math.LN10) : 0,
66
+ minorPrecision = minorTick ? Math.floor(Math.log(minorTick) / Math.LN10) : 0,
67
+ scale = span / (max - min);
68
+ if(!isFinite(scale)){ scale = 1; }
69
+
70
+ return {
71
+ bounds: {
72
+ lower: lowerBound,
73
+ upper: upperBound,
74
+ from: min,
75
+ to: max,
76
+ scale: scale,
77
+ span: span
78
+ },
79
+ major: {
80
+ tick: majorTick,
81
+ start: majorStart,
82
+ count: majorCount,
83
+ prec: majorPrecision
84
+ },
85
+ minor: {
86
+ tick: minorTick,
87
+ start: minorStart,
88
+ count: minorCount,
89
+ prec: minorPrecision
90
+ },
91
+ micro: {
92
+ tick: microTick,
93
+ start: microStart,
94
+ count: microCount,
95
+ prec: 0
96
+ },
97
+ minorPerMajor: minorPerMajor,
98
+ microPerMinor: microPerMinor,
99
+ scaler: linear
100
+ };
101
+ };
102
+
103
+ return lang.mixin(linear, {
104
+ buildScaler: function(/*Number*/ min, /*Number*/ max, /*Number*/ span, /*Object*/ kwArgs, /*Number?*/ delta, /*Number?*/ minorDelta){
105
+ var h = {fixUpper: "none", fixLower: "none", natural: false};
106
+ if(kwArgs){
107
+ if("fixUpper" in kwArgs){ h.fixUpper = String(kwArgs.fixUpper); }
108
+ if("fixLower" in kwArgs){ h.fixLower = String(kwArgs.fixLower); }
109
+ if("natural" in kwArgs){ h.natural = Boolean(kwArgs.natural); }
110
+ }
111
+ minorDelta = !minorDelta || minorDelta < deltaLimit ? deltaLimit : minorDelta;
112
+
113
+ // update bounds
114
+ if("min" in kwArgs){ min = kwArgs.min; }
115
+ if("max" in kwArgs){ max = kwArgs.max; }
116
+ if(kwArgs.includeZero){
117
+ if(min > 0){ min = 0; }
118
+ if(max < 0){ max = 0; }
119
+ }
120
+ h.min = min;
121
+ h.useMin = true;
122
+ h.max = max;
123
+ h.useMax = true;
124
+
125
+ if("from" in kwArgs){
126
+ min = kwArgs.from;
127
+ h.useMin = false;
128
+ }
129
+ if("to" in kwArgs){
130
+ max = kwArgs.to;
131
+ h.useMax = false;
132
+ }
133
+
134
+ // check for erroneous condition
135
+ if(max <= min){
136
+ return calcTicks(min, max, h, 0, 0, 0, span); // Object
137
+ }
138
+ if(!delta){
139
+ delta = max - min;
140
+ }
141
+ var mag = Math.floor(Math.log(delta) / Math.LN10),
142
+ major = kwArgs && ("majorTickStep" in kwArgs) ? kwArgs.majorTickStep : Math.pow(10, mag),
143
+ minor = 0, micro = 0, ticks;
144
+
145
+ // calculate minor ticks
146
+ if(kwArgs && ("minorTickStep" in kwArgs)){
147
+ minor = kwArgs.minorTickStep;
148
+ }else{
149
+ do{
150
+ minor = major / 10;
151
+ if(!h.natural || minor > 0.9){
152
+ ticks = calcTicks(min, max, h, major, minor, 0, span);
153
+ if(ticks.bounds.scale * ticks.minor.tick > minorDelta){ break; }
154
+ }
155
+ minor = major / 5;
156
+ if(!h.natural || minor > 0.9){
157
+ ticks = calcTicks(min, max, h, major, minor, 0, span);
158
+ if(ticks.bounds.scale * ticks.minor.tick > minorDelta){ break; }
159
+ }
160
+ minor = major / 2;
161
+ if(!h.natural || minor > 0.9){
162
+ ticks = calcTicks(min, max, h, major, minor, 0, span);
163
+ if(ticks.bounds.scale * ticks.minor.tick > minorDelta){ break; }
164
+ }
165
+ return calcTicks(min, max, h, major, 0, 0, span); // Object
166
+ }while(false);
167
+ }
168
+
169
+ // calculate micro ticks
170
+ if(kwArgs && ("microTickStep" in kwArgs)){
171
+ micro = kwArgs.microTickStep;
172
+ ticks = calcTicks(min, max, h, major, minor, micro, span);
173
+ }else{
174
+ do{
175
+ micro = minor / 10;
176
+ if(!h.natural || micro > 0.9){
177
+ ticks = calcTicks(min, max, h, major, minor, micro, span);
178
+ if(ticks.bounds.scale * ticks.micro.tick > deltaLimit){ break; }
179
+ }
180
+ micro = minor / 5;
181
+ if(!h.natural || micro > 0.9){
182
+ ticks = calcTicks(min, max, h, major, minor, micro, span);
183
+ if(ticks.bounds.scale * ticks.micro.tick > deltaLimit){ break; }
184
+ }
185
+ micro = minor / 2;
186
+ if(!h.natural || micro > 0.9){
187
+ ticks = calcTicks(min, max, h, major, minor, micro, span);
188
+ if(ticks.bounds.scale * ticks.micro.tick > deltaLimit){ break; }
189
+ }
190
+ micro = 0;
191
+ }while(false);
192
+ }
193
+
194
+ return micro ? ticks : calcTicks(min, max, h, major, minor, 0, span); // Object
195
+ },
196
+ buildTicks: function(/*Object*/ scaler, /*Object*/ kwArgs){
197
+ var step, next, tick,
198
+ nextMajor = scaler.major.start,
199
+ nextMinor = scaler.minor.start,
200
+ nextMicro = scaler.micro.start;
201
+ if(kwArgs.microTicks && scaler.micro.tick){
202
+ step = scaler.micro.tick, next = nextMicro;
203
+ }else if(kwArgs.minorTicks && scaler.minor.tick){
204
+ step = scaler.minor.tick, next = nextMinor;
205
+ }else if(scaler.major.tick){
206
+ step = scaler.major.tick, next = nextMajor;
207
+ }else{
208
+ // no ticks
209
+ return null;
210
+ }
211
+ // make sure that we have finite bounds
212
+ var revScale = 1 / scaler.bounds.scale;
213
+ if(scaler.bounds.to <= scaler.bounds.from || isNaN(revScale) || !isFinite(revScale) ||
214
+ step <= 0 || isNaN(step) || !isFinite(step)){
215
+ // no ticks
216
+ return null;
217
+ }
218
+ // loop over all ticks
219
+ var majorTicks = [], minorTicks = [], microTicks = [];
220
+ while(next <= scaler.bounds.to + revScale){
221
+ if(Math.abs(nextMajor - next) < step / 2){
222
+ // major tick
223
+ tick = {value: nextMajor};
224
+ if(kwArgs.majorLabels){
225
+ tick.label = getLabel(nextMajor, scaler.major.prec, kwArgs);
226
+ }
227
+ majorTicks.push(tick);
228
+ nextMajor += scaler.major.tick;
229
+ nextMinor += scaler.minor.tick;
230
+ nextMicro += scaler.micro.tick;
231
+ }else if(Math.abs(nextMinor - next) < step / 2){
232
+ // minor tick
233
+ if(kwArgs.minorTicks){
234
+ tick = {value: nextMinor};
235
+ if(kwArgs.minorLabels && (scaler.minMinorStep <= scaler.minor.tick * scaler.bounds.scale)){
236
+ tick.label = getLabel(nextMinor, scaler.minor.prec, kwArgs);
237
+ }
238
+ minorTicks.push(tick);
239
+ }
240
+ nextMinor += scaler.minor.tick;
241
+ nextMicro += scaler.micro.tick;
242
+ }else{
243
+ // micro tick
244
+ if(kwArgs.microTicks){
245
+ microTicks.push({value: nextMicro});
246
+ }
247
+ nextMicro += scaler.micro.tick;
248
+ }
249
+ next += step;
250
+ }
251
+ return {major: majorTicks, minor: minorTicks, micro: microTicks}; // Object
252
+ },
253
+ getTransformerFromModel: function(/*Object*/ scaler){
254
+ var offset = scaler.bounds.from, scale = scaler.bounds.scale;
255
+ return function(x){ return (x - offset) * scale; }; // Function
256
+ },
257
+ getTransformerFromPlot: function(/*Object*/ scaler){
258
+ var offset = scaler.bounds.from, scale = scaler.bounds.scale;
259
+ return function(x){ return x / scale + offset; }; // Function
260
+ }
261
+ });
262
+ });
@@ -0,0 +1,23 @@
1
+ //>>built
2
+ define("dojox/charting/scaler/primitive",["dojo/_base/lang"],function(_1){
3
+ var _2=_1.getObject("dojox.charting.scaler.primitive",true);
4
+ return _1.mixin(_2,{buildScaler:function(_3,_4,_5,_6){
5
+ if(_3==_4){
6
+ _3-=0.5;
7
+ _4+=0.5;
8
+ }
9
+ return {bounds:{lower:_3,upper:_4,from:_3,to:_4,scale:_5/(_4-_3),span:_5},scaler:_2};
10
+ },buildTicks:function(_7,_8){
11
+ return {major:[],minor:[],micro:[]};
12
+ },getTransformerFromModel:function(_9){
13
+ var _a=_9.bounds.from,_b=_9.bounds.scale;
14
+ return function(x){
15
+ return (x-_a)*_b;
16
+ };
17
+ },getTransformerFromPlot:function(_c){
18
+ var _d=_c.bounds.from,_e=_c.bounds.scale;
19
+ return function(x){
20
+ return x/_e+_d;
21
+ };
22
+ }});
23
+ });
@@ -0,0 +1,36 @@
1
+ define("dojox/charting/scaler/primitive", ["dojo/_base/lang"],
2
+ function(lang){
3
+ var primitive = lang.getObject("dojox.charting.scaler.primitive", true);
4
+ return lang.mixin(primitive, {
5
+ buildScaler: function(/*Number*/ min, /*Number*/ max, /*Number*/ span, /*Object*/ kwArgs){
6
+ if(min == max){
7
+ // artificially extend bounds
8
+ min -= 0.5;
9
+ max += 0.5;
10
+ // now the line will be centered
11
+ }
12
+ return {
13
+ bounds: {
14
+ lower: min,
15
+ upper: max,
16
+ from: min,
17
+ to: max,
18
+ scale: span / (max - min),
19
+ span: span
20
+ },
21
+ scaler: primitive
22
+ };
23
+ },
24
+ buildTicks: function(/*Object*/ scaler, /*Object*/ kwArgs){
25
+ return {major: [], minor: [], micro: []}; // Object
26
+ },
27
+ getTransformerFromModel: function(/*Object*/ scaler){
28
+ var offset = scaler.bounds.from, scale = scaler.bounds.scale;
29
+ return function(x){ return (x - offset) * scale; }; // Function
30
+ },
31
+ getTransformerFromPlot: function(/*Object*/ scaler){
32
+ var offset = scaler.bounds.from, scale = scaler.bounds.scale;
33
+ return function(x){ return x / scale + offset; }; // Function
34
+ }
35
+ });
36
+ });
@@ -0,0 +1,39 @@
1
+ //>>built
2
+ define("dojox/charting/themes/Claro",["../Theme","dojox/gfx/gradutils","./common"],function(_1,_2,_3){
3
+ var g=_1.generateGradient,_4={type:"linear",space:"shape",x1:0,y1:0,x2:0,y2:100};
4
+ _3.Claro=new _1({chart:{fill:{type:"linear",x1:0,x2:0,y1:0,y2:100,colors:[{offset:0,color:"#dbdbdb"},{offset:1,color:"#efefef"}]},stroke:{color:"#b5bcc7"}},plotarea:{fill:{type:"linear",x1:0,x2:0,y1:0,y2:100,colors:[{offset:0,color:"#dbdbdb"},{offset:1,color:"#efefef"}]}},axis:{stroke:{color:"#888c76",width:1},tick:{color:"#888c76",position:"center",font:"normal normal normal 7pt Verdana, Arial, sans-serif",fontColor:"#888c76"}},series:{stroke:{width:2.5,color:"#fff"},outline:null,font:"normal normal normal 7pt Verdana, Arial, sans-serif",fontColor:"#131313"},marker:{stroke:{width:1.25,color:"#131313"},outline:{width:1.25,color:"#131313"},font:"normal normal normal 8pt Verdana, Arial, sans-serif",fontColor:"#131313"},seriesThemes:[{fill:g(_4,"#2a6ead","#3a99f2")},{fill:g(_4,"#613e04","#996106")},{fill:g(_4,"#0e3961","#155896")},{fill:g(_4,"#55aafa","#3f7fba")},{fill:g(_4,"#ad7b2a","#db9b35")}],markerThemes:[{fill:"#2a6ead",stroke:{color:"#fff"}},{fill:"#613e04",stroke:{color:"#fff"}},{fill:"#0e3961",stroke:{color:"#fff"}},{fill:"#55aafa",stroke:{color:"#fff"}},{fill:"#ad7b2a",stroke:{color:"#fff"}}]});
5
+ _3.Claro.next=function(_5,_6,_7){
6
+ var _8=_5=="line",s,_9;
7
+ if(_8||_5=="area"){
8
+ s=this.seriesThemes[this._current%this.seriesThemes.length];
9
+ var m=this.markerThemes[this._current%this.markerThemes.length];
10
+ s.fill.space="plot";
11
+ if(_8){
12
+ s.stroke={width:4,color:s.fill.colors[0].color};
13
+ }
14
+ m.outline={width:1.25,color:m.fill};
15
+ _9=_1.prototype.next.apply(this,arguments);
16
+ delete s.outline;
17
+ delete s.stroke;
18
+ s.fill.space="shape";
19
+ return _9;
20
+ }else{
21
+ if(_5=="candlestick"){
22
+ s=this.seriesThemes[this._current%this.seriesThemes.length];
23
+ s.fill.space="plot";
24
+ s.stroke={width:1,color:s.fill.colors[0].color};
25
+ _9=_1.prototype.next.apply(this,arguments);
26
+ return _9;
27
+ }
28
+ }
29
+ return _1.prototype.next.apply(this,arguments);
30
+ };
31
+ _3.Claro.post=function(_a,_b){
32
+ _a=_1.prototype.post.apply(this,arguments);
33
+ if((_b=="slice"||_b=="circle")&&_a.series.fill&&_a.series.fill.type=="radial"){
34
+ _a.series.fill=_2.reverse(_a.series.fill);
35
+ }
36
+ return _a;
37
+ };
38
+ return _3.Claro;
39
+ });
@@ -0,0 +1,106 @@
1
+ define("dojox/charting/themes/Claro", ["../Theme", "dojox/gfx/gradutils", "./common"], function(Theme, gradutils, themes){
2
+ // created by Tom Trenka
3
+
4
+ var g = Theme.generateGradient,
5
+ defaultFill = {type: "linear", space: "shape", x1: 0, y1: 0, x2: 0, y2: 100};
6
+
7
+ themes.Claro = new Theme({
8
+ chart: {
9
+ fill: {
10
+ type: "linear",
11
+ x1: 0, x2: 0, y1: 0, y2: 100,
12
+ colors: [
13
+ { offset: 0, color: "#dbdbdb" },
14
+ { offset: 1, color: "#efefef" }
15
+ ]
16
+ },
17
+ stroke: {color: "#b5bcc7"}
18
+ },
19
+ plotarea: {
20
+ fill: {
21
+ type: "linear",
22
+ x1: 0, x2: 0, y1: 0, y2: 100,
23
+ colors: [
24
+ { offset: 0, color: "#dbdbdb" },
25
+ { offset: 1, color: "#efefef" }
26
+ ]
27
+ }
28
+ },
29
+ axis:{
30
+ stroke: { // the axis itself
31
+ color: "#888c76",
32
+ width: 1
33
+ },
34
+ tick: { // used as a foundation for all ticks
35
+ color: "#888c76",
36
+ position: "center",
37
+ font: "normal normal normal 7pt Verdana, Arial, sans-serif", // labels on axis
38
+ fontColor: "#888c76" // color of labels
39
+ }
40
+ },
41
+ series: {
42
+ stroke: {width: 2.5, color: "#fff"},
43
+ outline: null,
44
+ font: "normal normal normal 7pt Verdana, Arial, sans-serif",
45
+ fontColor: "#131313"
46
+ },
47
+ marker: {
48
+ stroke: {width: 1.25, color: "#131313"},
49
+ outline: {width: 1.25, color: "#131313"},
50
+ font: "normal normal normal 8pt Verdana, Arial, sans-serif",
51
+ fontColor: "#131313"
52
+ },
53
+ seriesThemes: [
54
+ {fill: g(defaultFill, "#2a6ead", "#3a99f2")},
55
+ {fill: g(defaultFill, "#613e04", "#996106")},
56
+ {fill: g(defaultFill, "#0e3961", "#155896")},
57
+ {fill: g(defaultFill, "#55aafa", "#3f7fba")},
58
+ {fill: g(defaultFill, "#ad7b2a", "#db9b35")}
59
+ ],
60
+ markerThemes: [
61
+ {fill: "#2a6ead", stroke: {color: "#fff"}},
62
+ {fill: "#613e04", stroke: {color: "#fff"}},
63
+ {fill: "#0e3961", stroke: {color: "#fff"}},
64
+ {fill: "#55aafa", stroke: {color: "#fff"}},
65
+ {fill: "#ad7b2a", stroke: {color: "#fff"}}
66
+ ]
67
+ });
68
+
69
+ themes.Claro.next = function(elementType, mixin, doPost){
70
+ var isLine = elementType == "line",
71
+ s, theme;
72
+ if(isLine || elementType == "area"){
73
+ // custom processing for lines: substitute colors
74
+ s = this.seriesThemes[this._current % this.seriesThemes.length];
75
+ var m = this.markerThemes[this._current % this.markerThemes.length];
76
+ s.fill.space = "plot";
77
+ if(isLine){
78
+ s.stroke = { width: 4, color: s.fill.colors[0].color};
79
+ }
80
+ m.outline = { width: 1.25, color: m.fill };
81
+ theme = Theme.prototype.next.apply(this, arguments);
82
+ // cleanup
83
+ delete s.outline;
84
+ delete s.stroke;
85
+ s.fill.space = "shape";
86
+ return theme;
87
+ }else if(elementType == "candlestick"){
88
+ s = this.seriesThemes[this._current % this.seriesThemes.length];
89
+ s.fill.space = "plot";
90
+ s.stroke = { width: 1, color: s.fill.colors[0].color};
91
+ theme = Theme.prototype.next.apply(this, arguments);
92
+ return theme;
93
+ }
94
+ return Theme.prototype.next.apply(this, arguments);
95
+ };
96
+
97
+ themes.Claro.post = function(theme, elementType){
98
+ theme = Theme.prototype.post.apply(this, arguments);
99
+ if((elementType == "slice" || elementType == "circle") && theme.series.fill && theme.series.fill.type == "radial"){
100
+ theme.series.fill = gradutils.reverse(theme.series.fill);
101
+ }
102
+ return theme;
103
+ };
104
+
105
+ return themes.Claro;
106
+ });
@@ -0,0 +1,5 @@
1
+ //>>built
2
+ define("dojox/charting/themes/Wetland",["../SimpleTheme","./common"],function(_1,_2){
3
+ _2.Wetland=new _1({colors:["#bfbc64","#737130","#73373b","#7dafca","#8d3c42"]});
4
+ return _2.Wetland;
5
+ });
@@ -0,0 +1,12 @@
1
+ define("dojox/charting/themes/Wetland", ["../SimpleTheme", "./common"], function(SimpleTheme, themes){
2
+ themes.Wetland = new SimpleTheme({
3
+ colors: [
4
+ "#bfbc64",
5
+ "#737130",
6
+ "#73373b",
7
+ "#7dafca",
8
+ "#8d3c42"
9
+ ]
10
+ });
11
+ return themes.Wetland;
12
+ });
@@ -0,0 +1,4 @@
1
+ //>>built
2
+ define("dojox/charting/themes/common",["dojo/_base/lang"],function(_1){
3
+ return _1.getObject("dojox.charting.themes",true);
4
+ });
@@ -0,0 +1,3 @@
1
+ define("dojox/charting/themes/common", ["dojo/_base/lang"], function(lang){
2
+ return lang.getObject("dojox.charting.themes", true);
3
+ });
@@ -0,0 +1,102 @@
1
+ //>>built
2
+ define("dojox/charting/widget/Legend",["dojo/_base/declare","dijit/_WidgetBase","dojox/gfx","dojo/_base/array","dojo/has","dojo/has!dojo-bidi?../bidi/widget/Legend","dojox/lang/functional","dojo/dom","dojo/dom-construct","dojo/dom-class","dijit/registry"],function(_1,_2,_3,_4,_5,_6,df,_7,_8,_9,_a){
3
+ var _b=_1(_5("dojo-bidi")?"dojox.charting.widget.NonBidiLegend":"dojox.charting.widget.Legend",_2,{chartRef:"",horizontal:true,swatchSize:18,legendBody:null,postCreate:function(){
4
+ if(!this.chart&&this.chartRef){
5
+ this.chart=_a.byId(this.chartRef)||_a.byNode(_7.byId(this.chartRef));
6
+ if(!this.chart){
7
+ }
8
+ }
9
+ this.chart=this.chart.chart||this.chart;
10
+ this.refresh();
11
+ },buildRendering:function(){
12
+ this.domNode=_8.create("table",{role:"group","aria-label":"chart legend","class":"dojoxLegendNode"});
13
+ this.legendBody=_8.create("tbody",null,this.domNode);
14
+ this.inherited(arguments);
15
+ },destroy:function(){
16
+ if(this._surfaces){
17
+ _4.forEach(this._surfaces,function(_c){
18
+ _c.destroy();
19
+ });
20
+ }
21
+ this.inherited(arguments);
22
+ },refresh:function(){
23
+ if(this._surfaces){
24
+ _4.forEach(this._surfaces,function(_d){
25
+ _d.destroy();
26
+ });
27
+ }
28
+ this._surfaces=[];
29
+ while(this.legendBody.lastChild){
30
+ _8.destroy(this.legendBody.lastChild);
31
+ }
32
+ if(this.horizontal){
33
+ _9.add(this.domNode,"dojoxLegendHorizontal");
34
+ this._tr=_8.create("tr",null,this.legendBody);
35
+ this._inrow=0;
36
+ }
37
+ var s=this.series||this.chart.series;
38
+ if(s.length==0){
39
+ return;
40
+ }
41
+ if(s[0].chart.stack[0].declaredClass=="dojox.charting.plot2d.Pie"){
42
+ var t=s[0].chart.stack[0];
43
+ if(typeof t.run.data[0]=="number"){
44
+ var _e=df.map(t.run.data,"Math.max(x, 0)");
45
+ var _f=df.map(_e,"/this",df.foldl(_e,"+",0));
46
+ _4.forEach(_f,function(x,i){
47
+ this._addLabel(t.dyn[i],t._getLabel(x*100)+"%");
48
+ },this);
49
+ }else{
50
+ _4.forEach(t.run.data,function(x,i){
51
+ this._addLabel(t.dyn[i],x.legend||x.text||x.y);
52
+ },this);
53
+ }
54
+ }else{
55
+ _4.forEach(s,function(x){
56
+ this._addLabel(x.dyn,x.legend||x.name);
57
+ },this);
58
+ }
59
+ },_addLabel:function(dyn,_10){
60
+ var _11=_8.create("td"),_12=_8.create("div",null,_11),_13=_8.create("label",null,_11),div=_8.create("div",{style:{"width":this.swatchSize+"px","height":this.swatchSize+"px","float":"left"}},_12);
61
+ _9.add(_12,"dojoxLegendIcon dijitInline");
62
+ _9.add(_13,"dojoxLegendText");
63
+ if(this._tr){
64
+ this._tr.appendChild(_11);
65
+ if(++this._inrow===this.horizontal){
66
+ this._tr=_8.create("tr",null,this.legendBody);
67
+ this._inrow=0;
68
+ }
69
+ }else{
70
+ var tr=_8.create("tr",null,this.legendBody);
71
+ tr.appendChild(_11);
72
+ }
73
+ this._makeIcon(div,dyn);
74
+ _13.innerHTML=String(_10);
75
+ if(_5("dojo-bidi")){
76
+ _13.dir=this.getTextDir(_10,_13.dir);
77
+ }
78
+ },_makeIcon:function(div,dyn){
79
+ var mb={h:this.swatchSize,w:this.swatchSize};
80
+ var _14=_3.createSurface(div,mb.w,mb.h);
81
+ this._surfaces.push(_14);
82
+ if(dyn.fill){
83
+ _14.createRect({x:2,y:2,width:mb.w-4,height:mb.h-4}).setFill(dyn.fill).setStroke(dyn.stroke);
84
+ }else{
85
+ if(dyn.stroke||dyn.marker){
86
+ var _15={x1:0,y1:mb.h/2,x2:mb.w,y2:mb.h/2};
87
+ if(dyn.stroke){
88
+ _14.createLine(_15).setStroke(dyn.stroke);
89
+ }
90
+ if(dyn.marker){
91
+ var c={x:mb.w/2,y:mb.h/2};
92
+ _14.createPath({path:"M"+c.x+" "+c.y+" "+dyn.marker}).setFill(dyn.markerFill).setStroke(dyn.markerStroke);
93
+ }
94
+ }else{
95
+ _14.createRect({x:2,y:2,width:mb.w-4,height:mb.h-4}).setStroke("black");
96
+ _14.createLine({x1:2,y1:2,x2:mb.w-2,y2:mb.h-2}).setStroke("black");
97
+ _14.createLine({x1:2,y1:mb.h-2,x2:mb.w-2,y2:2}).setStroke("black");
98
+ }
99
+ }
100
+ }});
101
+ return _5("dojo-bidi")?_1("dojox.charting.widget.Legend",[_b,_6]):_b;
102
+ });