@datagrok/helm 2.3.2 → 2.3.3

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 (323) hide show
  1. package/CHANGELOG.md +12 -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 +228 -69
  13. package/src/package.ts +7 -69
  14. package/src/tests/findMonomers-tests.ts +2 -1
  15. package/src/tests/get-monomer-tests.ts +1 -49
  16. package/src/utils/get-monomer.ts +49 -1
  17. package/src/utils/helm-grid-cell-renderer.ts +8 -9
  18. package/src/utils/index.ts +2 -3
  19. package/src/widgets/helm-input.ts +4 -4
  20. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js +63 -0
  21. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js.uncompressed.js +116 -0
  22. package/vendor/dojo-1.10.10/dijit/Destroyable.js +35 -0
  23. package/vendor/dojo-1.10.10/dijit/Destroyable.js.uncompressed.js +83 -0
  24. package/vendor/dojo-1.10.10/dijit/Tooltip.js +240 -0
  25. package/vendor/dojo-1.10.10/dijit/Tooltip.js.uncompressed.js +612 -0
  26. package/vendor/dojo-1.10.10/dijit/Viewport.js +44 -0
  27. package/vendor/dojo-1.10.10/dijit/Viewport.js.uncompressed.js +87 -0
  28. package/vendor/dojo-1.10.10/dijit/WidgetSet.js +76 -0
  29. package/vendor/dojo-1.10.10/dijit/WidgetSet.js.uncompressed.js +247 -0
  30. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js +94 -0
  31. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js.uncompressed.js +238 -0
  32. package/vendor/dojo-1.10.10/dijit/_Contained.js +17 -0
  33. package/vendor/dojo-1.10.10/dijit/_Contained.js.uncompressed.js +56 -0
  34. package/vendor/dojo-1.10.10/dijit/_Container.js +47 -0
  35. package/vendor/dojo-1.10.10/dijit/_Container.js.uncompressed.js +108 -0
  36. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js +198 -0
  37. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js.uncompressed.js +372 -0
  38. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js +11 -0
  39. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js.uncompressed.js +66 -0
  40. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js +188 -0
  41. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js.uncompressed.js +472 -0
  42. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js +8 -0
  43. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js.uncompressed.js +31 -0
  44. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js +90 -0
  45. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js.uncompressed.js +205 -0
  46. package/vendor/dojo-1.10.10/dijit/_Widget.js +66 -0
  47. package/vendor/dojo-1.10.10/dijit/_Widget.js.uncompressed.js +352 -0
  48. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js +353 -0
  49. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js.uncompressed.js +1200 -0
  50. package/vendor/dojo-1.10.10/dijit/_base/focus.js +68 -0
  51. package/vendor/dojo-1.10.10/dijit/_base/focus.js.uncompressed.js +207 -0
  52. package/vendor/dojo-1.10.10/dijit/_base/manager.js +10 -0
  53. package/vendor/dojo-1.10.10/dijit/_base/manager.js.uncompressed.js +35 -0
  54. package/vendor/dojo-1.10.10/dijit/_base/place.js +52 -0
  55. package/vendor/dojo-1.10.10/dijit/_base/place.js.uncompressed.js +131 -0
  56. package/vendor/dojo-1.10.10/dijit/_base/popup.js +23 -0
  57. package/vendor/dojo-1.10.10/dijit/_base/popup.js.uncompressed.js +58 -0
  58. package/vendor/dojo-1.10.10/dijit/_base/scroll.js +6 -0
  59. package/vendor/dojo-1.10.10/dijit/_base/scroll.js.uncompressed.js +22 -0
  60. package/vendor/dojo-1.10.10/dijit/_base/sniff.js +3 -0
  61. package/vendor/dojo-1.10.10/dijit/_base/sniff.js.uncompressed.js +12 -0
  62. package/vendor/dojo-1.10.10/dijit/_base/typematic.js +3 -0
  63. package/vendor/dojo-1.10.10/dijit/_base/typematic.js.uncompressed.js +10 -0
  64. package/vendor/dojo-1.10.10/dijit/_base/wai.js +32 -0
  65. package/vendor/dojo-1.10.10/dijit/_base/wai.js.uncompressed.js +109 -0
  66. package/vendor/dojo-1.10.10/dijit/_base/window.js +6 -0
  67. package/vendor/dojo-1.10.10/dijit/_base/window.js.uncompressed.js +18 -0
  68. package/vendor/dojo-1.10.10/dijit/_base.js +4 -0
  69. package/vendor/dojo-1.10.10/dijit/a11y.js +109 -0
  70. package/vendor/dojo-1.10.10/dijit/a11y.js.uncompressed.js +191 -0
  71. package/vendor/dojo-1.10.10/dijit/a11yclick.js +66 -0
  72. package/vendor/dojo-1.10.10/dijit/a11yclick.js.uncompressed.js +139 -0
  73. package/vendor/dojo-1.10.10/dijit/focus.js +188 -0
  74. package/vendor/dojo-1.10.10/dijit/focus.js.uncompressed.js +371 -0
  75. package/vendor/dojo-1.10.10/dijit/form/Button.js +49 -0
  76. package/vendor/dojo-1.10.10/dijit/form/Button.js.uncompressed.js +130 -0
  77. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js +4 -0
  78. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js.uncompressed.js +27 -0
  79. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js +21 -0
  80. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js.uncompressed.js +86 -0
  81. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js +38 -0
  82. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js.uncompressed.js +102 -0
  83. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js +7 -0
  84. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js.uncompressed.js +26 -0
  85. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js +50 -0
  86. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js.uncompressed.js +116 -0
  87. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js +26 -0
  88. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js.uncompressed.js +81 -0
  89. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js +24 -0
  90. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js.uncompressed.js +51 -0
  91. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js +22 -0
  92. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js.uncompressed.js +67 -0
  93. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js +111 -0
  94. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js.uncompressed.js +254 -0
  95. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js +32 -0
  96. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js.uncompressed.js +69 -0
  97. package/vendor/dojo-1.10.10/dijit/hccss.js +9 -0
  98. package/vendor/dojo-1.10.10/dijit/hccss.js.uncompressed.js +21 -0
  99. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js +215 -0
  100. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js.uncompressed.js +550 -0
  101. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js +7 -0
  102. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js.uncompressed.js +25 -0
  103. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js +235 -0
  104. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js.uncompressed.js +653 -0
  105. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js +171 -0
  106. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js.uncompressed.js +411 -0
  107. package/vendor/dojo-1.10.10/dijit/layout/StackController.js +194 -0
  108. package/vendor/dojo-1.10.10/dijit/layout/StackController.js.uncompressed.js +410 -0
  109. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js +99 -0
  110. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js.uncompressed.js +236 -0
  111. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js +47 -0
  112. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js.uncompressed.js +190 -0
  113. package/vendor/dojo-1.10.10/dijit/layout/utils.js +77 -0
  114. package/vendor/dojo-1.10.10/dijit/layout/utils.js.uncompressed.js +151 -0
  115. package/vendor/dojo-1.10.10/dijit/main.js +4 -0
  116. package/vendor/dojo-1.10.10/dijit/main.js.uncompressed.js +16 -0
  117. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js +2 -0
  118. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js.uncompressed.js +21 -0
  119. package/vendor/dojo-1.10.10/dijit/nls/loading.js +2 -0
  120. package/vendor/dojo-1.10.10/dijit/nls/loading.js.uncompressed.js +47 -0
  121. package/vendor/dojo-1.10.10/dijit/place.js +142 -0
  122. package/vendor/dojo-1.10.10/dijit/place.js.uncompressed.js +407 -0
  123. package/vendor/dojo-1.10.10/dijit/popup.js +162 -0
  124. package/vendor/dojo-1.10.10/dijit/popup.js.uncompressed.js +441 -0
  125. package/vendor/dojo-1.10.10/dijit/registry.js +79 -0
  126. package/vendor/dojo-1.10.10/dijit/registry.js.uncompressed.js +159 -0
  127. package/vendor/dojo-1.10.10/dijit/selection.js +364 -0
  128. package/vendor/dojo-1.10.10/dijit/selection.js.uncompressed.js +525 -0
  129. package/vendor/dojo-1.10.10/dijit/typematic.js +96 -0
  130. package/vendor/dojo-1.10.10/dijit/typematic.js.uncompressed.js +211 -0
  131. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js +195 -0
  132. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js.uncompressed.js +761 -0
  133. package/vendor/dojo-1.10.10/dojo/Stateful.js +90 -0
  134. package/vendor/dojo-1.10.10/dojo/Stateful.js.uncompressed.js +218 -0
  135. package/vendor/dojo-1.10.10/dojo/_base/url.js +87 -0
  136. package/vendor/dojo-1.10.10/dojo/_base/url.js.uncompressed.js +109 -0
  137. package/vendor/dojo-1.10.10/dojo/cache.js +9 -0
  138. package/vendor/dojo-1.10.10/dojo/cache.js.uncompressed.js +7 -0
  139. package/vendor/dojo-1.10.10/dojo/colors.js +74 -0
  140. package/vendor/dojo-1.10.10/dojo/colors.js.uncompressed.js +232 -0
  141. package/vendor/dojo-1.10.10/dojo/cookie.js +48 -0
  142. package/vendor/dojo-1.10.10/dojo/cookie.js.uncompressed.js +98 -0
  143. package/vendor/dojo-1.10.10/dojo/date/stamp.js +82 -0
  144. package/vendor/dojo-1.10.10/dojo/date/stamp.js.uncompressed.js +144 -0
  145. package/vendor/dojo-1.10.10/dojo/dojo.js +7 -0
  146. package/vendor/dojo-1.10.10/dojo/dojo.js.uncompressed.js +18680 -0
  147. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js +27 -0
  148. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js.uncompressed.js +101 -0
  149. package/vendor/dojo-1.10.10/dojo/fx/easing.js +165 -0
  150. package/vendor/dojo-1.10.10/dojo/fx/easing.js.uncompressed.js +276 -0
  151. package/vendor/dojo-1.10.10/dojo/fx.js +271 -0
  152. package/vendor/dojo-1.10.10/dojo/fx.js.uncompressed.js +443 -0
  153. package/vendor/dojo-1.10.10/dojo/hccss.js +26 -0
  154. package/vendor/dojo-1.10.10/dojo/hccss.js.uncompressed.js +52 -0
  155. package/vendor/dojo-1.10.10/dojo/html.js +161 -0
  156. package/vendor/dojo-1.10.10/dojo/html.js.uncompressed.js +370 -0
  157. package/vendor/dojo-1.10.10/dojo/io/iframe.js +71 -0
  158. package/vendor/dojo-1.10.10/dojo/io/iframe.js.uncompressed.js +190 -0
  159. package/vendor/dojo-1.10.10/dojo/io/script.js +112 -0
  160. package/vendor/dojo-1.10.10/dojo/io/script.js.uncompressed.js +280 -0
  161. package/vendor/dojo-1.10.10/dojo/parser.js +437 -0
  162. package/vendor/dojo-1.10.10/dojo/parser.js.uncompressed.js +915 -0
  163. package/vendor/dojo-1.10.10/dojo/promise/all.js +59 -0
  164. package/vendor/dojo-1.10.10/dojo/promise/all.js.uncompressed.js +77 -0
  165. package/vendor/dojo-1.10.10/dojo/regexp.js +32 -0
  166. package/vendor/dojo-1.10.10/dojo/regexp.js.uncompressed.js +70 -0
  167. package/vendor/dojo-1.10.10/dojo/request/iframe.js +291 -0
  168. package/vendor/dojo-1.10.10/dojo/request/iframe.js.uncompressed.js +438 -0
  169. package/vendor/dojo-1.10.10/dojo/request/script.js +129 -0
  170. package/vendor/dojo-1.10.10/dojo/request/script.js.uncompressed.js +237 -0
  171. package/vendor/dojo-1.10.10/dojo/require.js +11 -0
  172. package/vendor/dojo-1.10.10/dojo/require.js.uncompressed.js +7 -0
  173. package/vendor/dojo-1.10.10/dojo/resources/blank.gif +0 -0
  174. package/vendor/dojo-1.10.10/dojo/string.js +67 -0
  175. package/vendor/dojo-1.10.10/dojo/string.js.uncompressed.js +181 -0
  176. package/vendor/dojo-1.10.10/dojo/touch.js +191 -0
  177. package/vendor/dojo-1.10.10/dojo/touch.js.uncompressed.js +468 -0
  178. package/vendor/dojo-1.10.10/dojo/uacss.js +36 -0
  179. package/vendor/dojo-1.10.10/dojo/uacss.js.uncompressed.js +85 -0
  180. package/vendor/dojo-1.10.10/dojo/window.js +141 -0
  181. package/vendor/dojo-1.10.10/dojo/window.js.uncompressed.js +241 -0
  182. package/vendor/dojo-1.10.10/dojox/charting/Chart.js +626 -0
  183. package/vendor/dojo-1.10.10/dojox/charting/Chart.js.uncompressed.js +1220 -0
  184. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js +5 -0
  185. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js.uncompressed.js +16 -0
  186. package/vendor/dojo-1.10.10/dojox/charting/Element.js +247 -0
  187. package/vendor/dojo-1.10.10/dojox/charting/Element.js.uncompressed.js +402 -0
  188. package/vendor/dojo-1.10.10/dojox/charting/Series.js +24 -0
  189. package/vendor/dojo-1.10.10/dojox/charting/Series.js.uncompressed.js +58 -0
  190. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js +191 -0
  191. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js.uncompressed.js +577 -0
  192. package/vendor/dojo-1.10.10/dojox/charting/Theme.js +42 -0
  193. package/vendor/dojo-1.10.10/dojox/charting/Theme.js.uncompressed.js +120 -0
  194. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js +11 -0
  195. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js.uncompressed.js +36 -0
  196. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js +77 -0
  197. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js.uncompressed.js +144 -0
  198. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js +58 -0
  199. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js.uncompressed.js +123 -0
  200. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js +54 -0
  201. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js.uncompressed.js +124 -0
  202. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js +28 -0
  203. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js.uncompressed.js +74 -0
  204. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js +116 -0
  205. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js.uncompressed.js +178 -0
  206. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js +24 -0
  207. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js.uncompressed.js +83 -0
  208. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js +557 -0
  209. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js.uncompressed.js +980 -0
  210. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js +65 -0
  211. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js.uncompressed.js +224 -0
  212. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js +91 -0
  213. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js.uncompressed.js +164 -0
  214. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js +7 -0
  215. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js.uncompressed.js +14 -0
  216. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js +168 -0
  217. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js.uncompressed.js +311 -0
  218. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js +61 -0
  219. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js.uncompressed.js +161 -0
  220. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js +141 -0
  221. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js.uncompressed.js +242 -0
  222. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js +126 -0
  223. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js.uncompressed.js +243 -0
  224. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js +108 -0
  225. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js.uncompressed.js +290 -0
  226. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js +13 -0
  227. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js.uncompressed.js +14 -0
  228. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js +13 -0
  229. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js.uncompressed.js +14 -0
  230. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js +153 -0
  231. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js.uncompressed.js +249 -0
  232. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js +253 -0
  233. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js.uncompressed.js +472 -0
  234. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js +182 -0
  235. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js.uncompressed.js +356 -0
  236. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js +6 -0
  237. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js.uncompressed.js +12 -0
  238. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js +6 -0
  239. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js.uncompressed.js +12 -0
  240. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js +7 -0
  241. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js.uncompressed.js +13 -0
  242. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js +110 -0
  243. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js.uncompressed.js +208 -0
  244. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js +303 -0
  245. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js.uncompressed.js +547 -0
  246. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js +134 -0
  247. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js.uncompressed.js +207 -0
  248. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js +299 -0
  249. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js.uncompressed.js +537 -0
  250. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js +24 -0
  251. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js.uncompressed.js +44 -0
  252. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js +7 -0
  253. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js.uncompressed.js +14 -0
  254. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js +22 -0
  255. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js.uncompressed.js +33 -0
  256. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js +20 -0
  257. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js.uncompressed.js +31 -0
  258. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js +6 -0
  259. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js.uncompressed.js +12 -0
  260. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js +68 -0
  261. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js.uncompressed.js +120 -0
  262. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js +209 -0
  263. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js.uncompressed.js +214 -0
  264. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js +76 -0
  265. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js.uncompressed.js +77 -0
  266. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js +59 -0
  267. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js.uncompressed.js +70 -0
  268. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js +220 -0
  269. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js.uncompressed.js +262 -0
  270. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js +23 -0
  271. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js.uncompressed.js +36 -0
  272. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js +39 -0
  273. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js.uncompressed.js +106 -0
  274. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js +5 -0
  275. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js.uncompressed.js +12 -0
  276. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js +4 -0
  277. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js.uncompressed.js +3 -0
  278. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js +102 -0
  279. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js.uncompressed.js +165 -0
  280. package/vendor/dojo-1.10.10/dojox/color/Palette.js +163 -0
  281. package/vendor/dojo-1.10.10/dojox/color/Palette.js.uncompressed.js +460 -0
  282. package/vendor/dojo-1.10.10/dojox/color/_base.js +174 -0
  283. package/vendor/dojo-1.10.10/dojox/color/_base.js.uncompressed.js +196 -0
  284. package/vendor/dojo-1.10.10/dojox/gfx/fx.js +297 -0
  285. package/vendor/dojo-1.10.10/dojox/gfx/fx.js.uncompressed.js +350 -0
  286. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js +63 -0
  287. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js.uncompressed.js +91 -0
  288. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js +170 -0
  289. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js.uncompressed.js +501 -0
  290. package/vendor/dojo-1.10.10/dojox/gfx/path.js +319 -0
  291. package/vendor/dojo-1.10.10/dojox/gfx/path.js.uncompressed.js +478 -0
  292. package/vendor/dojo-1.10.10/dojox/gfx/shape.js +459 -0
  293. package/vendor/dojo-1.10.10/dojox/gfx/shape.js.uncompressed.js +1091 -0
  294. package/vendor/dojo-1.10.10/dojox/gfx/svg.js +662 -0
  295. package/vendor/dojo-1.10.10/dojox/gfx/svg.js.uncompressed.js +1023 -0
  296. package/vendor/dojo-1.10.10/dojox/gfx/utils.js +199 -0
  297. package/vendor/dojo-1.10.10/dojox/gfx/utils.js.uncompressed.js +322 -0
  298. package/vendor/dojo-1.10.10/dojox/gfx.js +2 -0
  299. package/vendor/dojo-1.10.10/dojox/gfx.js.uncompressed.js +1136 -0
  300. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js +151 -0
  301. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js.uncompressed.js +169 -0
  302. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js +93 -0
  303. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js.uncompressed.js +125 -0
  304. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js +81 -0
  305. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js.uncompressed.js +132 -0
  306. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js +54 -0
  307. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js.uncompressed.js +78 -0
  308. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js +61 -0
  309. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js.uncompressed.js +77 -0
  310. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js +87 -0
  311. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js.uncompressed.js +107 -0
  312. package/vendor/dojo-1.10.10/dojox/lang/functional.js +4 -0
  313. package/vendor/dojo-1.10.10/dojox/lang/functional.js.uncompressed.js +3 -0
  314. package/vendor/dojo-1.10.10/dojox/lang/utils.js +86 -0
  315. package/vendor/dojo-1.10.10/dojox/lang/utils.js.uncompressed.js +121 -0
  316. package/vendor/dojo-1.10.10/dojox/main.js +4 -0
  317. package/vendor/dojo-1.10.10/dojox/main.js.uncompressed.js +14 -0
  318. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js +112 -0
  319. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js.uncompressed.js +208 -0
  320. package/vendor/dojo-1.10.10/dojox/storage/Provider.js +62 -0
  321. package/vendor/dojo-1.10.10/dojox/storage/Provider.js.uncompressed.js +344 -0
  322. package/vendor/dojo-1.10.10/dojox/storage/manager.js +110 -0
  323. package/vendor/dojo-1.10.10/dojox/storage/manager.js.uncompressed.js +263 -0
@@ -0,0 +1,65 @@
1
+ //>>built
2
+ define("dojox/charting/axis2d/Invisible",["dojo/_base/lang","dojo/_base/declare","./Base","../scaler/linear","dojox/lang/utils"],function(_1,_2,_3,_4,du){
3
+ return _2("dojox.charting.axis2d.Invisible",_3,{defaultParams:{vertical:false,fixUpper:"none",fixLower:"none",natural:false,leftBottom:true,includeZero:false,fixed:true},optionalParams:{min:0,max:1,from:0,to:1,majorTickStep:4,minorTickStep:2,microTickStep:1},constructor:function(_5,_6){
4
+ this.opt=_1.clone(this.defaultParams);
5
+ du.updateWithObject(this.opt,_6);
6
+ du.updateWithPattern(this.opt,_6,this.optionalParams);
7
+ },dependOnData:function(){
8
+ return !("min" in this.opt)||!("max" in this.opt);
9
+ },clear:function(){
10
+ delete this.scaler;
11
+ delete this.ticks;
12
+ this.dirty=true;
13
+ return this;
14
+ },initialized:function(){
15
+ return "scaler" in this&&!(this.dirty&&this.dependOnData());
16
+ },setWindow:function(_7,_8){
17
+ this.scale=_7;
18
+ this.offset=_8;
19
+ return this.clear();
20
+ },getWindowScale:function(){
21
+ return "scale" in this?this.scale:1;
22
+ },getWindowOffset:function(){
23
+ return "offset" in this?this.offset:0;
24
+ },calculate:function(_9,_a,_b){
25
+ if(this.initialized()){
26
+ return this;
27
+ }
28
+ var o=this.opt;
29
+ this.labels=o.labels;
30
+ this.scaler=_4.buildScaler(_9,_a,_b,o);
31
+ var _c=this.scaler.bounds;
32
+ if("scale" in this){
33
+ o.from=_c.lower+this.offset;
34
+ o.to=(_c.upper-_c.lower)/this.scale+o.from;
35
+ if(!isFinite(o.from)||isNaN(o.from)||!isFinite(o.to)||isNaN(o.to)||o.to-o.from>=_c.upper-_c.lower){
36
+ delete o.from;
37
+ delete o.to;
38
+ delete this.scale;
39
+ delete this.offset;
40
+ }else{
41
+ if(o.from<_c.lower){
42
+ o.to+=_c.lower-o.from;
43
+ o.from=_c.lower;
44
+ }else{
45
+ if(o.to>_c.upper){
46
+ o.from+=_c.upper-o.to;
47
+ o.to=_c.upper;
48
+ }
49
+ }
50
+ this.offset=o.from-_c.lower;
51
+ }
52
+ this.scaler=_4.buildScaler(_9,_a,_b,o);
53
+ _c=this.scaler.bounds;
54
+ if(this.scale==1&&this.offset==0){
55
+ delete this.scale;
56
+ delete this.offset;
57
+ }
58
+ }
59
+ return this;
60
+ },getScaler:function(){
61
+ return this.scaler;
62
+ },getTicks:function(){
63
+ return this.ticks;
64
+ }});
65
+ });
@@ -0,0 +1,224 @@
1
+ define("dojox/charting/axis2d/Invisible", ["dojo/_base/lang", "dojo/_base/declare", "./Base", "../scaler/linear",
2
+ "dojox/lang/utils"],
3
+ function(lang, declare, Base, lin, du){
4
+
5
+ /*=====
6
+ var __InvisibleAxisCtorArgs = {
7
+ // summary:
8
+ // Optional arguments used in the definition of an invisible axis.
9
+ // vertical: Boolean?
10
+ // A flag that says whether an axis is vertical (i.e. y axis) or horizontal. Default is false (horizontal).
11
+ // fixUpper: String?
12
+ // Align the greatest value on the axis with the specified tick level. Options are "major", "minor", "micro", or "none". Defaults to "none".
13
+ // fixLower: String?
14
+ // Align the smallest value on the axis with the specified tick level. Options are "major", "minor", "micro", or "none". Defaults to "none".
15
+ // natural: Boolean?
16
+ // Ensure tick marks are made on "natural" numbers. Defaults to false.
17
+ // leftBottom: Boolean?
18
+ // The position of a vertical axis; if true, will be placed against the left-bottom corner of the chart. Defaults to true.
19
+ // includeZero: Boolean?
20
+ // Include 0 on the axis rendering. Default is false.
21
+ // fixed: Boolean?
22
+ // Force all axis labels to be fixed numbers. Default is true.
23
+ // min: Number?
24
+ // The smallest value on an axis. Default is 0.
25
+ // max: Number?
26
+ // The largest value on an axis. Default is 1.
27
+ // from: Number?
28
+ // Force the chart to render data visible from this value. Default is 0.
29
+ // to: Number?
30
+ // Force the chart to render data visible to this value. Default is 1.
31
+ // majorTickStep: Number?
32
+ // The amount to skip before a major tick is drawn. When not set the major ticks step is computed from
33
+ // the data range.
34
+ // minorTickStep: Number?
35
+ // The amount to skip before a minor tick is drawn. When not set the minor ticks step is computed from
36
+ // the data range.
37
+ // microTickStep: Number?
38
+ // The amount to skip before a micro tick is drawn. When not set the micro ticks step is computed from
39
+ };
40
+ =====*/
41
+
42
+ return declare("dojox.charting.axis2d.Invisible", Base, {
43
+ // summary:
44
+ // A axis object used in dojox.charting. You can use that axis if you want the axis to be invisible.
45
+ // See dojox.charting.Chart.addAxis for details.
46
+ //
47
+ // defaultParams: Object
48
+ // The default parameters used to define any axis.
49
+ // optionalParams: Object
50
+ // Any optional parameters needed to define an axis.
51
+
52
+ /*
53
+ // TODO: the documentation tools need these to be pre-defined in order to pick them up
54
+ // correctly, but the code here is partially predicated on whether or not the properties
55
+ // actually exist. For now, we will leave these undocumented but in the code for later. -- TRT
56
+
57
+ // opt: Object
58
+ // The actual options used to define this axis, created at initialization.
59
+ // scaler: Object
60
+ // The calculated helper object to tell charts how to draw an axis and any data.
61
+ // ticks: Object
62
+ // The calculated tick object that helps a chart draw the scaling on an axis.
63
+ // dirty: Boolean
64
+ // The state of the axis (whether it needs to be redrawn or not)
65
+ // scale: Number
66
+ // The current scale of the axis.
67
+ // offset: Number
68
+ // The current offset of the axis.
69
+
70
+ opt: null,
71
+ scaler: null,
72
+ ticks: null,
73
+ dirty: true,
74
+ scale: 1,
75
+ offset: 0,
76
+ */
77
+ defaultParams: {
78
+ vertical: false, // true for vertical axis
79
+ fixUpper: "none", // align the upper on ticks: "major", "minor", "micro", "none"
80
+ fixLower: "none", // align the lower on ticks: "major", "minor", "micro", "none"
81
+ natural: false, // all tick marks should be made on natural numbers
82
+ leftBottom: true, // position of the axis, used with "vertical"
83
+ includeZero: false, // 0 should be included
84
+ fixed: true // all labels are fixed numbers
85
+ },
86
+ optionalParams: {
87
+ min: 0, // minimal value on this axis
88
+ max: 1, // maximal value on this axis
89
+ from: 0, // visible from this value
90
+ to: 1, // visible to this value
91
+ majorTickStep: 4, // major tick step
92
+ minorTickStep: 2, // minor tick step
93
+ microTickStep: 1 // micro tick step
94
+ },
95
+
96
+ constructor: function(chart, kwArgs){
97
+ // summary:
98
+ // The constructor for an invisible axis.
99
+ // chart: dojox/charting/Chart
100
+ // The chart the axis belongs to.
101
+ // kwArgs: __InvisibleAxisCtorArgs?
102
+ // Any optional keyword arguments to be used to define this axis.
103
+ this.opt = lang.clone(this.defaultParams);
104
+ du.updateWithObject(this.opt, kwArgs);
105
+ du.updateWithPattern(this.opt, kwArgs, this.optionalParams);
106
+ },
107
+ dependOnData: function(){
108
+ // summary:
109
+ // Find out whether or not the axis options depend on the data in the axis.
110
+ return !("min" in this.opt) || !("max" in this.opt); // Boolean
111
+ },
112
+ clear: function(){
113
+ // summary:
114
+ // Clear out all calculated properties on this axis;
115
+ // returns: dojox/charting/axis2d/Invisible
116
+ // The reference to the axis for functional chaining.
117
+ delete this.scaler;
118
+ delete this.ticks;
119
+ this.dirty = true;
120
+ return this; // dojox/charting/axis2d/Invisible
121
+ },
122
+ initialized: function(){
123
+ // summary:
124
+ // Finds out if this axis has been initialized or not.
125
+ // returns: Boolean
126
+ // Whether a scaler has been calculated and if the axis is not dirty.
127
+ return "scaler" in this && !(this.dirty && this.dependOnData());
128
+ },
129
+ setWindow: function(scale, offset){
130
+ // summary:
131
+ // Set the drawing "window" for the axis.
132
+ // scale: Number
133
+ // The new scale for the axis.
134
+ // offset: Number
135
+ // The new offset for the axis.
136
+ // returns: dojox/charting/axis2d/Invisible
137
+ // The reference to the axis for functional chaining.
138
+ this.scale = scale;
139
+ this.offset = offset;
140
+ return this.clear(); // dojox/charting/axis2d/Invisible
141
+ },
142
+ getWindowScale: function(){
143
+ // summary:
144
+ // Get the current windowing scale of the axis.
145
+ return "scale" in this ? this.scale : 1; // Number
146
+ },
147
+ getWindowOffset: function(){
148
+ // summary:
149
+ // Get the current windowing offset for the axis.
150
+ return "offset" in this ? this.offset : 0; // Number
151
+ },
152
+ calculate: function(min, max, span){
153
+ // summary:
154
+ // Perform all calculations needed to render this axis.
155
+ // min: Number
156
+ // The smallest value represented on this axis.
157
+ // max: Number
158
+ // The largest value represented on this axis.
159
+ // span: Number
160
+ // The span in pixels over which axis calculations are made.
161
+ // returns: dojox/charting/axis2d/Invisible
162
+ // The reference to the axis for functional chaining.
163
+ if(this.initialized()){
164
+ return this;
165
+ }
166
+ var o = this.opt;
167
+ // we used to have a 4th function parameter to reach labels but
168
+ // nobody was calling it with 4 parameters.
169
+ this.labels = o.labels;
170
+ this.scaler = lin.buildScaler(min, max, span, o);
171
+ // store the absolute major tick start, this will be useful when dropping a label every n labels
172
+ // TODO: if o.lower then it does not work
173
+ var tsb = this.scaler.bounds;
174
+ if("scale" in this){
175
+ // calculate new range
176
+ o.from = tsb.lower + this.offset;
177
+ o.to = (tsb.upper - tsb.lower) / this.scale + o.from;
178
+ // make sure that bounds are correct
179
+ if( !isFinite(o.from) ||
180
+ isNaN(o.from) ||
181
+ !isFinite(o.to) ||
182
+ isNaN(o.to) ||
183
+ o.to - o.from >= tsb.upper - tsb.lower
184
+ ){
185
+ // any error --- remove from/to bounds
186
+ delete o.from;
187
+ delete o.to;
188
+ delete this.scale;
189
+ delete this.offset;
190
+ }else{
191
+ // shift the window, if we are out of bounds
192
+ if(o.from < tsb.lower){
193
+ o.to += tsb.lower - o.from;
194
+ o.from = tsb.lower;
195
+ }else if(o.to > tsb.upper){
196
+ o.from += tsb.upper - o.to;
197
+ o.to = tsb.upper;
198
+ }
199
+ // update the offset
200
+ this.offset = o.from - tsb.lower;
201
+ }
202
+ // re-calculate the scaler
203
+ this.scaler = lin.buildScaler(min, max, span, o);
204
+ tsb = this.scaler.bounds;
205
+ // cleanup
206
+ if(this.scale == 1 && this.offset == 0){
207
+ delete this.scale;
208
+ delete this.offset;
209
+ }
210
+ }
211
+ return this; // dojox/charting/axis2d/Invisible
212
+ },
213
+ getScaler: function(){
214
+ // summary:
215
+ // Get the pre-calculated scaler object.
216
+ return this.scaler; // Object
217
+ },
218
+ getTicks: function(){
219
+ // summary:
220
+ // Get the pre-calculated ticks object.
221
+ return this.ticks; // Object
222
+ }
223
+ });
224
+ });
@@ -0,0 +1,91 @@
1
+ //>>built
2
+ define("dojox/charting/axis2d/common",["dojo/_base/lang","dojo/_base/window","dojo/dom-geometry","dojox/gfx","dojo/has"],function(_1,_2,_3,g,_4){
3
+ var _5=_1.getObject("dojox.charting.axis2d.common",true);
4
+ var _6=function(s){
5
+ s.marginLeft="0px";
6
+ s.marginTop="0px";
7
+ s.marginRight="0px";
8
+ s.marginBottom="0px";
9
+ s.paddingLeft="0px";
10
+ s.paddingTop="0px";
11
+ s.paddingRight="0px";
12
+ s.paddingBottom="0px";
13
+ s.borderLeftWidth="0px";
14
+ s.borderTopWidth="0px";
15
+ s.borderRightWidth="0px";
16
+ s.borderBottomWidth="0px";
17
+ };
18
+ var _7=function(n){
19
+ if(n["getBoundingClientRect"]){
20
+ var _8=n.getBoundingClientRect();
21
+ return _8.width||(_8.right-_8.left);
22
+ }else{
23
+ return _3.getMarginBox(n).w;
24
+ }
25
+ };
26
+ return _1.mixin(_5,{createText:{gfx:function(_9,_a,x,y,_b,_c,_d,_e){
27
+ return _a.createText({x:x,y:y,text:_c,align:_b}).setFont(_d).setFill(_e);
28
+ },html:function(_f,_10,x,y,_11,_12,_13,_14,_15){
29
+ var p=_2.doc.createElement("div"),s=p.style,_16;
30
+ if(_f.getTextDir){
31
+ p.dir=_f.getTextDir(_12);
32
+ }
33
+ _6(s);
34
+ s.font=_13;
35
+ p.innerHTML=String(_12).replace(/\s/g,"&nbsp;");
36
+ s.color=_14;
37
+ s.position="absolute";
38
+ s.left="-10000px";
39
+ _2.body().appendChild(p);
40
+ var _17=g.normalizedLength(g.splitFontString(_13).size);
41
+ if(!_15){
42
+ _16=_7(p);
43
+ }
44
+ if(p.dir=="rtl"){
45
+ x+=_15?_15:_16;
46
+ }
47
+ _2.body().removeChild(p);
48
+ s.position="relative";
49
+ if(_15){
50
+ s.width=_15+"px";
51
+ switch(_11){
52
+ case "middle":
53
+ s.textAlign="center";
54
+ s.left=(x-_15/2)+"px";
55
+ break;
56
+ case "end":
57
+ s.textAlign="right";
58
+ s.left=(x-_15)+"px";
59
+ break;
60
+ default:
61
+ s.left=x+"px";
62
+ s.textAlign="left";
63
+ break;
64
+ }
65
+ }else{
66
+ switch(_11){
67
+ case "middle":
68
+ s.left=Math.floor(x-_16/2)+"px";
69
+ break;
70
+ case "end":
71
+ s.left=Math.floor(x-_16)+"px";
72
+ break;
73
+ default:
74
+ s.left=Math.floor(x)+"px";
75
+ break;
76
+ }
77
+ }
78
+ s.top=Math.floor(y-_17)+"px";
79
+ s.whiteSpace="nowrap";
80
+ var _18=_2.doc.createElement("div"),w=_18.style;
81
+ _6(w);
82
+ w.width="0px";
83
+ w.height="0px";
84
+ _18.appendChild(p);
85
+ _f.node.insertBefore(_18,_f.node.firstChild);
86
+ if(_4("dojo-bidi")){
87
+ _f.htmlElementsRegistry.push([_18,x,y,_11,_12,_13,_14]);
88
+ }
89
+ return _18;
90
+ }}});
91
+ });
@@ -0,0 +1,164 @@
1
+ define("dojox/charting/axis2d/common", ["dojo/_base/lang", "dojo/_base/window", "dojo/dom-geometry", "dojox/gfx", "dojo/has"],
2
+ function(lang, win, domGeom, g, has){
3
+
4
+ var common = lang.getObject("dojox.charting.axis2d.common", true);
5
+
6
+ var clearNode = function(s){
7
+ s.marginLeft = "0px";
8
+ s.marginTop = "0px";
9
+ s.marginRight = "0px";
10
+ s.marginBottom = "0px";
11
+ s.paddingLeft = "0px";
12
+ s.paddingTop = "0px";
13
+ s.paddingRight = "0px";
14
+ s.paddingBottom = "0px";
15
+ s.borderLeftWidth = "0px";
16
+ s.borderTopWidth = "0px";
17
+ s.borderRightWidth = "0px";
18
+ s.borderBottomWidth = "0px";
19
+ };
20
+
21
+ var getBoxWidth = function(n){
22
+ // marginBox is incredibly slow, so avoid it if we can
23
+ if(n["getBoundingClientRect"]){
24
+ var bcr = n.getBoundingClientRect();
25
+ return bcr.width || (bcr.right - bcr.left);
26
+ }else{
27
+ return domGeom.getMarginBox(n).w;
28
+ }
29
+ };
30
+
31
+ return lang.mixin(common, {
32
+ // summary:
33
+ // Common methods to be used by any axis. This is considered "static".
34
+ createText: {
35
+ gfx: function(chart, creator, x, y, align, text, font, fontColor){
36
+ // summary:
37
+ // Use dojox.gfx to create any text.
38
+ // chart: dojox.charting.Chart
39
+ // The chart to create the text into.
40
+ // creator: dojox.gfx.Surface
41
+ // The graphics surface to use for creating the text.
42
+ // x: Number
43
+ // Where to create the text along the x axis (CSS left).
44
+ // y: Number
45
+ // Where to create the text along the y axis (CSS top).
46
+ // align: String
47
+ // How to align the text. Can be "left", "right", "center".
48
+ // text: String
49
+ // The text to render.
50
+ // font: String
51
+ // The font definition, a la CSS "font".
52
+ // fontColor: String|dojo.Color
53
+ // The color of the resultant text.
54
+ // returns: dojox.gfx.Text
55
+ // The resultant GFX object.
56
+ return creator.createText({
57
+ x: x, y: y, text: text, align: align
58
+ }).setFont(font).setFill(fontColor); // dojox.gfx.Text
59
+ },
60
+ html: function(chart, creator, x, y, align, text, font, fontColor, labelWidth){
61
+ // summary:
62
+ // Use the HTML DOM to create any text.
63
+ // chart: dojox.charting.Chart
64
+ // The chart to create the text into.
65
+ // creator: dojox.gfx.Surface
66
+ // The graphics surface to use for creating the text.
67
+ // x: Number
68
+ // Where to create the text along the x axis (CSS left).
69
+ // y: Number
70
+ // Where to create the text along the y axis (CSS top).
71
+ // align: String
72
+ // How to align the text. Can be "left", "right", "center".
73
+ // text: String
74
+ // The text to render.
75
+ // font: String
76
+ // The font definition, a la CSS "font".
77
+ // fontColor: String|dojo.Color
78
+ // The color of the resultant text.
79
+ // labelWidth: Number?
80
+ // The maximum width of the resultant DOM node.
81
+ // returns: DOMNode
82
+ // The resultant DOMNode (a "div" element).
83
+
84
+ // setup the text node
85
+ var p = win.doc.createElement("div"), s = p.style, boxWidth;
86
+ // bidi support, if this function exists the module was loaded
87
+ if(chart.getTextDir){
88
+ p.dir = chart.getTextDir(text);
89
+ }
90
+ clearNode(s);
91
+ s.font = font;
92
+ p.innerHTML = String(text).replace(/\s/g, "&nbsp;");
93
+ s.color = fontColor;
94
+ // measure the size
95
+ s.position = "absolute";
96
+ s.left = "-10000px";
97
+ win.body().appendChild(p);
98
+ var size = g.normalizedLength(g.splitFontString(font).size);
99
+
100
+ // do we need to calculate the label width?
101
+ if(!labelWidth){
102
+ boxWidth = getBoxWidth(p);
103
+ }
104
+ // when the textDir is rtl, but the UI ltr needs
105
+ // to recalculate the starting point
106
+ if(p.dir == "rtl"){
107
+ x += labelWidth ? labelWidth : boxWidth;
108
+ }
109
+
110
+ // new settings for the text node
111
+ win.body().removeChild(p);
112
+
113
+ s.position = "relative";
114
+ if(labelWidth){
115
+ s.width = labelWidth + "px";
116
+ // s.border = "1px dotted grey";
117
+ switch(align){
118
+ case "middle":
119
+ s.textAlign = "center";
120
+ s.left = (x - labelWidth / 2) + "px";
121
+ break;
122
+ case "end":
123
+ s.textAlign = "right";
124
+ s.left = (x - labelWidth) + "px";
125
+ break;
126
+ default:
127
+ s.left = x + "px";
128
+ s.textAlign = "left";
129
+ break;
130
+ }
131
+ }else{
132
+ switch(align){
133
+ case "middle":
134
+ s.left = Math.floor(x - boxWidth / 2) + "px";
135
+ // s.left = Math.floor(x - p.offsetWidth / 2) + "px";
136
+ break;
137
+ case "end":
138
+ s.left = Math.floor(x - boxWidth) + "px";
139
+ // s.left = Math.floor(x - p.offsetWidth) + "px";
140
+ break;
141
+ //case "start":
142
+ default:
143
+ s.left = Math.floor(x) + "px";
144
+ break;
145
+ }
146
+ }
147
+ s.top = Math.floor(y - size) + "px";
148
+ s.whiteSpace = "nowrap"; // hack for WebKit
149
+ // setup the wrapper node
150
+ var wrap = win.doc.createElement("div"), w = wrap.style;
151
+ clearNode(w);
152
+ w.width = "0px";
153
+ w.height = "0px";
154
+ // insert nodes
155
+ wrap.appendChild(p);
156
+ chart.node.insertBefore(wrap, chart.node.firstChild);
157
+ if(has("dojo-bidi")){
158
+ chart.htmlElementsRegistry.push([wrap, x, y, align, text, font, fontColor]);
159
+ }
160
+ return wrap; // DOMNode
161
+ }
162
+ }
163
+ });
164
+ });
@@ -0,0 +1,7 @@
1
+ //>>built
2
+ define("dojox/charting/plot2d/Areas",["dojo/_base/declare","./Default"],function(_1,_2){
3
+ return _1("dojox.charting.plot2d.Areas",_2,{constructor:function(){
4
+ this.opt.lines=true;
5
+ this.opt.areas=true;
6
+ }});
7
+ });
@@ -0,0 +1,14 @@
1
+ define("dojox/charting/plot2d/Areas", ["dojo/_base/declare", "./Default"],
2
+ function(declare, Default){
3
+
4
+ return declare("dojox.charting.plot2d.Areas", Default, {
5
+ // summary:
6
+ // Represents an area chart. See dojox/charting/plot2d/Default for details.
7
+ constructor: function(){
8
+ // summary:
9
+ // The constructor for an Area chart.
10
+ this.opt.lines = true;
11
+ this.opt.areas = true;
12
+ }
13
+ });
14
+ });