@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,271 @@
1
+ /*
2
+ Copyright (c) 2004-2017, The JS 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
+ //>>built
7
+ define("dojo/fx",["./_base/lang","./Evented","./_base/kernel","./_base/array","./aspect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b){
8
+ if(!_3.isAsync){
9
+ _a(0,function(){
10
+ var _c=["./fx/Toggler"];
11
+ _b(_c);
12
+ });
13
+ }
14
+ var _d=_3.fx={};
15
+ var _e={_fire:function(_f,_10){
16
+ if(this[_f]){
17
+ this[_f].apply(this,_10||[]);
18
+ }
19
+ return this;
20
+ }};
21
+ var _11=function(_12){
22
+ this._index=-1;
23
+ this._animations=_12||[];
24
+ this._current=this._onAnimateCtx=this._onEndCtx=null;
25
+ this.duration=0;
26
+ _4.forEach(this._animations,function(a){
27
+ if(a){
28
+ if(typeof a.duration!="undefined"){
29
+ this.duration+=a.duration;
30
+ }
31
+ if(a.delay){
32
+ this.duration+=a.delay;
33
+ }
34
+ }
35
+ },this);
36
+ };
37
+ _11.prototype=new _2();
38
+ _1.extend(_11,{_onAnimate:function(){
39
+ this._fire("onAnimate",arguments);
40
+ },_onEnd:function(){
41
+ this._onAnimateCtx.remove();
42
+ this._onEndCtx.remove();
43
+ this._onAnimateCtx=this._onEndCtx=null;
44
+ if(this._index+1==this._animations.length){
45
+ this._fire("onEnd");
46
+ }else{
47
+ this._current=this._animations[++this._index];
48
+ this._onAnimateCtx=_5.after(this._current,"onAnimate",_1.hitch(this,"_onAnimate"),true);
49
+ this._onEndCtx=_5.after(this._current,"onEnd",_1.hitch(this,"_onEnd"),true);
50
+ this._current.play(0,true);
51
+ }
52
+ },play:function(_13,_14){
53
+ if(!this._current){
54
+ this._current=this._animations[this._index=0];
55
+ }
56
+ if(!_14&&this._current.status()=="playing"){
57
+ return this;
58
+ }
59
+ var _15=_5.after(this._current,"beforeBegin",_1.hitch(this,function(){
60
+ this._fire("beforeBegin");
61
+ }),true),_16=_5.after(this._current,"onBegin",_1.hitch(this,function(arg){
62
+ this._fire("onBegin",arguments);
63
+ }),true),_17=_5.after(this._current,"onPlay",_1.hitch(this,function(arg){
64
+ this._fire("onPlay",arguments);
65
+ _15.remove();
66
+ _16.remove();
67
+ _17.remove();
68
+ }));
69
+ if(this._onAnimateCtx){
70
+ this._onAnimateCtx.remove();
71
+ }
72
+ this._onAnimateCtx=_5.after(this._current,"onAnimate",_1.hitch(this,"_onAnimate"),true);
73
+ if(this._onEndCtx){
74
+ this._onEndCtx.remove();
75
+ }
76
+ this._onEndCtx=_5.after(this._current,"onEnd",_1.hitch(this,"_onEnd"),true);
77
+ this._current.play.apply(this._current,arguments);
78
+ return this;
79
+ },pause:function(){
80
+ if(this._current){
81
+ var e=_5.after(this._current,"onPause",_1.hitch(this,function(arg){
82
+ this._fire("onPause",arguments);
83
+ e.remove();
84
+ }),true);
85
+ this._current.pause();
86
+ }
87
+ return this;
88
+ },gotoPercent:function(_18,_19){
89
+ this.pause();
90
+ var _1a=this.duration*_18;
91
+ this._current=null;
92
+ _4.some(this._animations,function(a,_1b){
93
+ if(_1a<=a.duration){
94
+ this._current=a;
95
+ this._index=_1b;
96
+ return true;
97
+ }
98
+ _1a-=a.duration;
99
+ return false;
100
+ },this);
101
+ if(this._current){
102
+ this._current.gotoPercent(_1a/this._current.duration);
103
+ }
104
+ if(_19){
105
+ this.play();
106
+ }
107
+ return this;
108
+ },stop:function(_1c){
109
+ if(this._current){
110
+ if(_1c){
111
+ for(;this._index+1<this._animations.length;++this._index){
112
+ this._animations[this._index].stop(true);
113
+ }
114
+ this._current=this._animations[this._index];
115
+ }
116
+ var e=_5.after(this._current,"onStop",_1.hitch(this,function(arg){
117
+ this._fire("onStop",arguments);
118
+ e.remove();
119
+ }),true);
120
+ this._current.stop();
121
+ }
122
+ return this;
123
+ },status:function(){
124
+ return this._current?this._current.status():"stopped";
125
+ },destroy:function(){
126
+ this.stop();
127
+ if(this._onAnimateCtx){
128
+ this._onAnimateCtx.remove();
129
+ }
130
+ if(this._onEndCtx){
131
+ this._onEndCtx.remove();
132
+ }
133
+ }});
134
+ _1.extend(_11,_e);
135
+ _d.chain=function(_1d){
136
+ return new _11(_1d);
137
+ };
138
+ var _1e=function(_1f){
139
+ this._animations=_1f||[];
140
+ this._connects=[];
141
+ this._finished=0;
142
+ this.duration=0;
143
+ _4.forEach(_1f,function(a){
144
+ var _20=a.duration;
145
+ if(a.delay){
146
+ _20+=a.delay;
147
+ }
148
+ if(this.duration<_20){
149
+ this.duration=_20;
150
+ }
151
+ this._connects.push(_5.after(a,"onEnd",_1.hitch(this,"_onEnd"),true));
152
+ },this);
153
+ this._pseudoAnimation=new _6.Animation({curve:[0,1],duration:this.duration});
154
+ var _21=this;
155
+ _4.forEach(["beforeBegin","onBegin","onPlay","onAnimate","onPause","onStop","onEnd"],function(evt){
156
+ _21._connects.push(_5.after(_21._pseudoAnimation,evt,function(){
157
+ _21._fire(evt,arguments);
158
+ },true));
159
+ });
160
+ };
161
+ _1.extend(_1e,{_doAction:function(_22,_23){
162
+ _4.forEach(this._animations,function(a){
163
+ a[_22].apply(a,_23);
164
+ });
165
+ return this;
166
+ },_onEnd:function(){
167
+ if(++this._finished>this._animations.length){
168
+ this._fire("onEnd");
169
+ }
170
+ },_call:function(_24,_25){
171
+ var t=this._pseudoAnimation;
172
+ t[_24].apply(t,_25);
173
+ },play:function(_26,_27){
174
+ this._finished=0;
175
+ this._doAction("play",arguments);
176
+ this._call("play",arguments);
177
+ return this;
178
+ },pause:function(){
179
+ this._doAction("pause",arguments);
180
+ this._call("pause",arguments);
181
+ return this;
182
+ },gotoPercent:function(_28,_29){
183
+ var ms=this.duration*_28;
184
+ _4.forEach(this._animations,function(a){
185
+ a.gotoPercent(a.duration<ms?1:(ms/a.duration),_29);
186
+ });
187
+ this._call("gotoPercent",arguments);
188
+ return this;
189
+ },stop:function(_2a){
190
+ this._doAction("stop",arguments);
191
+ this._call("stop",arguments);
192
+ return this;
193
+ },status:function(){
194
+ return this._pseudoAnimation.status();
195
+ },destroy:function(){
196
+ this.stop();
197
+ _4.forEach(this._connects,function(_2b){
198
+ _2b.remove();
199
+ });
200
+ }});
201
+ _1.extend(_1e,_e);
202
+ _d.combine=function(_2c){
203
+ return new _1e(_2c);
204
+ };
205
+ _d.wipeIn=function(_2d){
206
+ var _2e=_2d.node=_7.byId(_2d.node),s=_2e.style,o;
207
+ var _2f=_6.animateProperty(_1.mixin({properties:{height:{start:function(){
208
+ o=s.overflow;
209
+ s.overflow="hidden";
210
+ if(s.visibility=="hidden"||s.display=="none"){
211
+ s.height="1px";
212
+ s.display="";
213
+ s.visibility="";
214
+ return 1;
215
+ }else{
216
+ var _30=_8.get(_2e,"height");
217
+ return Math.max(_30,1);
218
+ }
219
+ },end:function(){
220
+ return _2e.scrollHeight;
221
+ }}}},_2d));
222
+ var _31=function(){
223
+ s.height="auto";
224
+ s.overflow=o;
225
+ };
226
+ _5.after(_2f,"onStop",_31,true);
227
+ _5.after(_2f,"onEnd",_31,true);
228
+ return _2f;
229
+ };
230
+ _d.wipeOut=function(_32){
231
+ var _33=_32.node=_7.byId(_32.node),s=_33.style,o;
232
+ var _34=_6.animateProperty(_1.mixin({properties:{height:{end:1}}},_32));
233
+ _5.after(_34,"beforeBegin",function(){
234
+ o=s.overflow;
235
+ s.overflow="hidden";
236
+ s.display="";
237
+ },true);
238
+ var _35=function(){
239
+ s.overflow=o;
240
+ s.height="auto";
241
+ s.display="none";
242
+ };
243
+ _5.after(_34,"onStop",_35,true);
244
+ _5.after(_34,"onEnd",_35,true);
245
+ return _34;
246
+ };
247
+ _d.slideTo=function(_36){
248
+ var _37=_36.node=_7.byId(_36.node),top=null,_38=null;
249
+ var _39=(function(n){
250
+ return function(){
251
+ var cs=_8.getComputedStyle(n);
252
+ var pos=cs.position;
253
+ top=(pos=="absolute"?n.offsetTop:parseInt(cs.top)||0);
254
+ _38=(pos=="absolute"?n.offsetLeft:parseInt(cs.left)||0);
255
+ if(pos!="absolute"&&pos!="relative"){
256
+ var ret=_9.position(n,true);
257
+ top=ret.y;
258
+ _38=ret.x;
259
+ n.style.position="absolute";
260
+ n.style.top=top+"px";
261
+ n.style.left=_38+"px";
262
+ }
263
+ };
264
+ })(_37);
265
+ _39();
266
+ var _3a=_6.animateProperty(_1.mixin({properties:{top:_36.top||0,left:_36.left||0}},_36));
267
+ _5.after(_3a,"beforeBegin",_39,true);
268
+ return _3a;
269
+ };
270
+ return _d;
271
+ });
@@ -0,0 +1,443 @@
1
+ define("dojo/fx", [
2
+ "./_base/lang",
3
+ "./Evented",
4
+ "./_base/kernel",
5
+ "./_base/array",
6
+ "./aspect",
7
+ "./_base/fx",
8
+ "./dom",
9
+ "./dom-style",
10
+ "./dom-geometry",
11
+ "./ready",
12
+ "require" // for context sensitive loading of Toggler
13
+ ], function(lang, Evented, dojo, arrayUtil, aspect, baseFx, dom, domStyle, geom, ready, require){
14
+
15
+ // module:
16
+ // dojo/fx
17
+
18
+ // For back-compat, remove in 2.0.
19
+ if(!dojo.isAsync){
20
+ ready(0, function(){
21
+ var requires = ["./fx/Toggler"];
22
+ require(requires); // use indirection so modules not rolled into a build
23
+ });
24
+ }
25
+
26
+ var coreFx = dojo.fx = {
27
+ // summary:
28
+ // Effects library on top of Base animations
29
+ };
30
+
31
+ var _baseObj = {
32
+ _fire: function(evt, args){
33
+ if(this[evt]){
34
+ this[evt].apply(this, args||[]);
35
+ }
36
+ return this;
37
+ }
38
+ };
39
+
40
+ var _chain = function(animations){
41
+ this._index = -1;
42
+ this._animations = animations||[];
43
+ this._current = this._onAnimateCtx = this._onEndCtx = null;
44
+
45
+ this.duration = 0;
46
+ arrayUtil.forEach(this._animations, function(a){
47
+ if(a){
48
+ if(typeof a.duration != "undefined"){
49
+ this.duration += a.duration;
50
+ }
51
+ if(a.delay){
52
+ this.duration += a.delay;
53
+ }
54
+ }
55
+ }, this);
56
+ };
57
+ _chain.prototype = new Evented();
58
+ lang.extend(_chain, {
59
+ _onAnimate: function(){
60
+ this._fire("onAnimate", arguments);
61
+ },
62
+ _onEnd: function(){
63
+ this._onAnimateCtx.remove();
64
+ this._onEndCtx.remove();
65
+ this._onAnimateCtx = this._onEndCtx = null;
66
+ if(this._index + 1 == this._animations.length){
67
+ this._fire("onEnd");
68
+ }else{
69
+ // switch animations
70
+ this._current = this._animations[++this._index];
71
+ this._onAnimateCtx = aspect.after(this._current, "onAnimate", lang.hitch(this, "_onAnimate"), true);
72
+ this._onEndCtx = aspect.after(this._current, "onEnd", lang.hitch(this, "_onEnd"), true);
73
+ this._current.play(0, true);
74
+ }
75
+ },
76
+ play: function(/*int?*/ delay, /*Boolean?*/ gotoStart){
77
+ if(!this._current){ this._current = this._animations[this._index = 0]; }
78
+ if(!gotoStart && this._current.status() == "playing"){ return this; }
79
+ var beforeBegin = aspect.after(this._current, "beforeBegin", lang.hitch(this, function(){
80
+ this._fire("beforeBegin");
81
+ }), true),
82
+ onBegin = aspect.after(this._current, "onBegin", lang.hitch(this, function(arg){
83
+ this._fire("onBegin", arguments);
84
+ }), true),
85
+ onPlay = aspect.after(this._current, "onPlay", lang.hitch(this, function(arg){
86
+ this._fire("onPlay", arguments);
87
+ beforeBegin.remove();
88
+ onBegin.remove();
89
+ onPlay.remove();
90
+ }));
91
+ if(this._onAnimateCtx){
92
+ this._onAnimateCtx.remove();
93
+ }
94
+ this._onAnimateCtx = aspect.after(this._current, "onAnimate", lang.hitch(this, "_onAnimate"), true);
95
+ if(this._onEndCtx){
96
+ this._onEndCtx.remove();
97
+ }
98
+ this._onEndCtx = aspect.after(this._current, "onEnd", lang.hitch(this, "_onEnd"), true);
99
+ this._current.play.apply(this._current, arguments);
100
+ return this;
101
+ },
102
+ pause: function(){
103
+ if(this._current){
104
+ var e = aspect.after(this._current, "onPause", lang.hitch(this, function(arg){
105
+ this._fire("onPause", arguments);
106
+ e.remove();
107
+ }), true);
108
+ this._current.pause();
109
+ }
110
+ return this;
111
+ },
112
+ gotoPercent: function(/*Decimal*/percent, /*Boolean?*/ andPlay){
113
+ this.pause();
114
+ var offset = this.duration * percent;
115
+ this._current = null;
116
+
117
+ arrayUtil.some(this._animations, function(a, index){
118
+ if(offset <= a.duration){
119
+ this._current = a;
120
+ this._index = index;
121
+ return true;
122
+ }
123
+ offset -= a.duration;
124
+ return false;
125
+ }, this);
126
+ if(this._current){
127
+ this._current.gotoPercent(offset / this._current.duration);
128
+ }
129
+ if (andPlay) { this.play(); }
130
+ return this;
131
+ },
132
+ stop: function(/*boolean?*/ gotoEnd){
133
+ if(this._current){
134
+ if(gotoEnd){
135
+ for(; this._index + 1 < this._animations.length; ++this._index){
136
+ this._animations[this._index].stop(true);
137
+ }
138
+ this._current = this._animations[this._index];
139
+ }
140
+ var e = aspect.after(this._current, "onStop", lang.hitch(this, function(arg){
141
+ this._fire("onStop", arguments);
142
+ e.remove();
143
+ }), true);
144
+ this._current.stop();
145
+ }
146
+ return this;
147
+ },
148
+ status: function(){
149
+ return this._current ? this._current.status() : "stopped";
150
+ },
151
+ destroy: function(){
152
+ this.stop();
153
+ if(this._onAnimateCtx){ this._onAnimateCtx.remove(); }
154
+ if(this._onEndCtx){ this._onEndCtx.remove(); }
155
+ }
156
+ });
157
+ lang.extend(_chain, _baseObj);
158
+
159
+ coreFx.chain = function(/*dojo/_base/fx.Animation[]*/ animations){
160
+ // summary:
161
+ // Chain a list of `dojo/_base/fx.Animation`s to run in sequence
162
+ //
163
+ // description:
164
+ // Return a `dojo/_base/fx.Animation` which will play all passed
165
+ // `dojo/_base/fx.Animation` instances in sequence, firing its own
166
+ // synthesized events simulating a single animation. (eg:
167
+ // onEnd of this animation means the end of the chain,
168
+ // not the individual animations within)
169
+ //
170
+ // example:
171
+ // Once `node` is faded out, fade in `otherNode`
172
+ // | require(["dojo/fx"], function(fx){
173
+ // | fx.chain([
174
+ // | fx.fadeIn({ node:node }),
175
+ // | fx.fadeOut({ node:otherNode })
176
+ // | ]).play();
177
+ // | });
178
+ //
179
+ return new _chain(animations); // dojo/_base/fx.Animation
180
+ };
181
+
182
+ var _combine = function(animations){
183
+ this._animations = animations||[];
184
+ this._connects = [];
185
+ this._finished = 0;
186
+
187
+ this.duration = 0;
188
+ arrayUtil.forEach(animations, function(a){
189
+ var duration = a.duration;
190
+ if(a.delay){ duration += a.delay; }
191
+ if(this.duration < duration){ this.duration = duration; }
192
+ this._connects.push(aspect.after(a, "onEnd", lang.hitch(this, "_onEnd"), true));
193
+ }, this);
194
+
195
+ this._pseudoAnimation = new baseFx.Animation({curve: [0, 1], duration: this.duration});
196
+ var self = this;
197
+ arrayUtil.forEach(["beforeBegin", "onBegin", "onPlay", "onAnimate", "onPause", "onStop", "onEnd"],
198
+ function(evt){
199
+ self._connects.push(aspect.after(self._pseudoAnimation, evt,
200
+ function(){ self._fire(evt, arguments); },
201
+ true));
202
+ }
203
+ );
204
+ };
205
+ lang.extend(_combine, {
206
+ _doAction: function(action, args){
207
+ arrayUtil.forEach(this._animations, function(a){
208
+ a[action].apply(a, args);
209
+ });
210
+ return this;
211
+ },
212
+ _onEnd: function(){
213
+ if(++this._finished > this._animations.length){
214
+ this._fire("onEnd");
215
+ }
216
+ },
217
+ _call: function(action, args){
218
+ var t = this._pseudoAnimation;
219
+ t[action].apply(t, args);
220
+ },
221
+ play: function(/*int?*/ delay, /*Boolean?*/ gotoStart){
222
+ this._finished = 0;
223
+ this._doAction("play", arguments);
224
+ this._call("play", arguments);
225
+ return this;
226
+ },
227
+ pause: function(){
228
+ this._doAction("pause", arguments);
229
+ this._call("pause", arguments);
230
+ return this;
231
+ },
232
+ gotoPercent: function(/*Decimal*/percent, /*Boolean?*/ andPlay){
233
+ var ms = this.duration * percent;
234
+ arrayUtil.forEach(this._animations, function(a){
235
+ a.gotoPercent(a.duration < ms ? 1 : (ms / a.duration), andPlay);
236
+ });
237
+ this._call("gotoPercent", arguments);
238
+ return this;
239
+ },
240
+ stop: function(/*boolean?*/ gotoEnd){
241
+ this._doAction("stop", arguments);
242
+ this._call("stop", arguments);
243
+ return this;
244
+ },
245
+ status: function(){
246
+ return this._pseudoAnimation.status();
247
+ },
248
+ destroy: function(){
249
+ this.stop();
250
+ arrayUtil.forEach(this._connects, function(handle){
251
+ handle.remove();
252
+ });
253
+ }
254
+ });
255
+ lang.extend(_combine, _baseObj);
256
+
257
+ coreFx.combine = function(/*dojo/_base/fx.Animation[]*/ animations){
258
+ // summary:
259
+ // Combine a list of `dojo/_base/fx.Animation`s to run in parallel
260
+ //
261
+ // description:
262
+ // Combine an array of `dojo/_base/fx.Animation`s to run in parallel,
263
+ // providing a new `dojo/_base/fx.Animation` instance encompasing each
264
+ // animation, firing standard animation events.
265
+ //
266
+ // example:
267
+ // Fade out `node` while fading in `otherNode` simultaneously
268
+ // | require(["dojo/fx"], function(fx){
269
+ // | fx.combine([
270
+ // | fx.fadeIn({ node:node }),
271
+ // | fx.fadeOut({ node:otherNode })
272
+ // | ]).play();
273
+ // | });
274
+ //
275
+ // example:
276
+ // When the longest animation ends, execute a function:
277
+ // | require(["dojo/fx"], function(fx){
278
+ // | var anim = fx.combine([
279
+ // | fx.fadeIn({ node: n, duration:700 }),
280
+ // | fx.fadeOut({ node: otherNode, duration: 300 })
281
+ // | ]);
282
+ // | aspect.after(anim, "onEnd", function(){
283
+ // | // overall animation is done.
284
+ // | }, true);
285
+ // | anim.play(); // play the animation
286
+ // | });
287
+ //
288
+ return new _combine(animations); // dojo/_base/fx.Animation
289
+ };
290
+
291
+ coreFx.wipeIn = function(/*Object*/ args){
292
+ // summary:
293
+ // Expand a node to it's natural height.
294
+ //
295
+ // description:
296
+ // Returns an animation that will expand the
297
+ // node defined in 'args' object from it's current height to
298
+ // it's natural height (with no scrollbar).
299
+ // Node must have no margin/border/padding.
300
+ //
301
+ // args: Object
302
+ // A hash-map of standard `dojo/_base/fx.Animation` constructor properties
303
+ // (such as easing: node: duration: and so on)
304
+ //
305
+ // example:
306
+ // | require(["dojo/fx"], function(fx){
307
+ // | fx.wipeIn({
308
+ // | node:"someId"
309
+ // | }).play()
310
+ // | });
311
+
312
+ var node = args.node = dom.byId(args.node), s = node.style, o;
313
+
314
+ var anim = baseFx.animateProperty(lang.mixin({
315
+ properties: {
316
+ height: {
317
+ // wrapped in functions so we wait till the last second to query (in case value has changed)
318
+ start: function(){
319
+ // start at current [computed] height, but use 1px rather than 0
320
+ // because 0 causes IE to display the whole panel
321
+ o = s.overflow;
322
+ s.overflow = "hidden";
323
+ if(s.visibility == "hidden" || s.display == "none"){
324
+ s.height = "1px";
325
+ s.display = "";
326
+ s.visibility = "";
327
+ return 1;
328
+ }else{
329
+ var height = domStyle.get(node, "height");
330
+ return Math.max(height, 1);
331
+ }
332
+ },
333
+ end: function(){
334
+ return node.scrollHeight;
335
+ }
336
+ }
337
+ }
338
+ }, args));
339
+
340
+ var fini = function(){
341
+ s.height = "auto";
342
+ s.overflow = o;
343
+ };
344
+ aspect.after(anim, "onStop", fini, true);
345
+ aspect.after(anim, "onEnd", fini, true);
346
+
347
+ return anim; // dojo/_base/fx.Animation
348
+ };
349
+
350
+ coreFx.wipeOut = function(/*Object*/ args){
351
+ // summary:
352
+ // Shrink a node to nothing and hide it.
353
+ //
354
+ // description:
355
+ // Returns an animation that will shrink node defined in "args"
356
+ // from it's current height to 1px, and then hide it.
357
+ //
358
+ // args: Object
359
+ // A hash-map of standard `dojo/_base/fx.Animation` constructor properties
360
+ // (such as easing: node: duration: and so on)
361
+ //
362
+ // example:
363
+ // | require(["dojo/fx"], function(fx){
364
+ // | fx.wipeOut({ node:"someId" }).play()
365
+ // | });
366
+
367
+ var node = args.node = dom.byId(args.node), s = node.style, o;
368
+
369
+ var anim = baseFx.animateProperty(lang.mixin({
370
+ properties: {
371
+ height: {
372
+ end: 1 // 0 causes IE to display the whole panel
373
+ }
374
+ }
375
+ }, args));
376
+
377
+ aspect.after(anim, "beforeBegin", function(){
378
+ o = s.overflow;
379
+ s.overflow = "hidden";
380
+ s.display = "";
381
+ }, true);
382
+ var fini = function(){
383
+ s.overflow = o;
384
+ s.height = "auto";
385
+ s.display = "none";
386
+ };
387
+ aspect.after(anim, "onStop", fini, true);
388
+ aspect.after(anim, "onEnd", fini, true);
389
+
390
+ return anim; // dojo/_base/fx.Animation
391
+ };
392
+
393
+ coreFx.slideTo = function(/*Object*/ args){
394
+ // summary:
395
+ // Slide a node to a new top/left position
396
+ //
397
+ // description:
398
+ // Returns an animation that will slide "node"
399
+ // defined in args Object from its current position to
400
+ // the position defined by (args.left, args.top).
401
+ //
402
+ // args: Object
403
+ // A hash-map of standard `dojo/_base/fx.Animation` constructor properties
404
+ // (such as easing: node: duration: and so on). Special args members
405
+ // are `top` and `left`, which indicate the new position to slide to.
406
+ //
407
+ // example:
408
+ // | .slideTo({ node: node, left:"40", top:"50", units:"px" }).play()
409
+
410
+ var node = args.node = dom.byId(args.node),
411
+ top = null, left = null;
412
+
413
+ var init = (function(n){
414
+ return function(){
415
+ var cs = domStyle.getComputedStyle(n);
416
+ var pos = cs.position;
417
+ top = (pos == 'absolute' ? n.offsetTop : parseInt(cs.top) || 0);
418
+ left = (pos == 'absolute' ? n.offsetLeft : parseInt(cs.left) || 0);
419
+ if(pos != 'absolute' && pos != 'relative'){
420
+ var ret = geom.position(n, true);
421
+ top = ret.y;
422
+ left = ret.x;
423
+ n.style.position="absolute";
424
+ n.style.top=top+"px";
425
+ n.style.left=left+"px";
426
+ }
427
+ };
428
+ })(node);
429
+ init();
430
+
431
+ var anim = baseFx.animateProperty(lang.mixin({
432
+ properties: {
433
+ top: args.top || 0,
434
+ left: args.left || 0
435
+ }
436
+ }, args));
437
+ aspect.after(anim, "beforeBegin", init, true);
438
+
439
+ return anim; // dojo/_base/fx.Animation
440
+ };
441
+
442
+ return coreFx;
443
+ });