@datagrok/helm 2.13.7 → 3.0.0

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 (349) hide show
  1. package/CREDITS.md +164 -0
  2. package/dist/489.js +2 -0
  3. package/dist/489.js.map +1 -0
  4. package/dist/package-test.js +1 -1
  5. package/dist/package-test.js.map +1 -1
  6. package/dist/package.js +1 -1
  7. package/dist/package.js.map +1 -1
  8. package/files/samples/helm-showcase.csv +56 -0
  9. package/package.json +6 -10
  10. package/src/helm-helper.ts +61 -413
  11. package/src/package-api.ts +14 -11
  12. package/src/package-test.ts +0 -2
  13. package/src/package-utils.ts +8 -298
  14. package/src/package.g.ts +2 -8
  15. package/src/package.ts +11 -31
  16. package/src/tests/helm-activity-cliffs.ts +2 -2
  17. package/src/tests/helm-input-tests.ts +83 -0
  18. package/src/tests/parse-helm-tests.ts +7 -57
  19. package/src/tests/properties-widget-tests.ts +21 -11
  20. package/src/utils/helm-grid-cell-renderer.ts +141 -151
  21. package/src/utils/index.ts +3 -7
  22. package/src/widgets/helm-input.ts +42 -12
  23. package/src/widgets/properties-widget.ts +18 -11
  24. package/test-console-output-1.log +103 -706
  25. package/test-record-1.mp4 +0 -0
  26. package/webpack.config.js +1 -12
  27. package/dist/455.js +0 -2
  28. package/dist/455.js.map +0 -1
  29. package/dist/package-dojo.js +0 -2
  30. package/dist/package-dojo.js.map +0 -1
  31. package/helm/JSDraw/Pistoia.HELM-uncompressed.js +0 -9694
  32. package/helm/JSDraw/ReadMe.txt +0 -8
  33. package/helm/JSDraw/Scilligence.JSDraw2.Lite-uncompressed.js +0 -31126
  34. package/helm/dojo/package.ts +0 -41
  35. package/helm/dojo/types.ts +0 -12
  36. package/src/helm-web-editor.ts +0 -68
  37. package/src/tests/get-monomer-tests.ts +0 -214
  38. package/src/tests/helm-service-tests.ts +0 -98
  39. package/src/types/dojo.ts +0 -3
  40. package/src/types/index.ts +0 -5
  41. package/src/utils/get-monomer.ts +0 -90
  42. package/src/utils/helm-service.ts +0 -166
  43. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js +0 -63
  44. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js.uncompressed.js +0 -116
  45. package/vendor/dojo-1.10.10/dijit/Destroyable.js +0 -35
  46. package/vendor/dojo-1.10.10/dijit/Destroyable.js.uncompressed.js +0 -83
  47. package/vendor/dojo-1.10.10/dijit/Tooltip.js +0 -240
  48. package/vendor/dojo-1.10.10/dijit/Tooltip.js.uncompressed.js +0 -612
  49. package/vendor/dojo-1.10.10/dijit/Viewport.js +0 -44
  50. package/vendor/dojo-1.10.10/dijit/Viewport.js.uncompressed.js +0 -87
  51. package/vendor/dojo-1.10.10/dijit/WidgetSet.js +0 -76
  52. package/vendor/dojo-1.10.10/dijit/WidgetSet.js.uncompressed.js +0 -247
  53. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js +0 -94
  54. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js.uncompressed.js +0 -238
  55. package/vendor/dojo-1.10.10/dijit/_Contained.js +0 -17
  56. package/vendor/dojo-1.10.10/dijit/_Contained.js.uncompressed.js +0 -56
  57. package/vendor/dojo-1.10.10/dijit/_Container.js +0 -47
  58. package/vendor/dojo-1.10.10/dijit/_Container.js.uncompressed.js +0 -108
  59. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js +0 -198
  60. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js.uncompressed.js +0 -372
  61. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js +0 -11
  62. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js.uncompressed.js +0 -66
  63. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js +0 -188
  64. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js.uncompressed.js +0 -472
  65. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js +0 -8
  66. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js.uncompressed.js +0 -31
  67. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js +0 -90
  68. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js.uncompressed.js +0 -205
  69. package/vendor/dojo-1.10.10/dijit/_Widget.js +0 -66
  70. package/vendor/dojo-1.10.10/dijit/_Widget.js.uncompressed.js +0 -352
  71. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js +0 -353
  72. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js.uncompressed.js +0 -1200
  73. package/vendor/dojo-1.10.10/dijit/_base/focus.js +0 -68
  74. package/vendor/dojo-1.10.10/dijit/_base/focus.js.uncompressed.js +0 -207
  75. package/vendor/dojo-1.10.10/dijit/_base/manager.js +0 -10
  76. package/vendor/dojo-1.10.10/dijit/_base/manager.js.uncompressed.js +0 -35
  77. package/vendor/dojo-1.10.10/dijit/_base/place.js +0 -52
  78. package/vendor/dojo-1.10.10/dijit/_base/place.js.uncompressed.js +0 -131
  79. package/vendor/dojo-1.10.10/dijit/_base/popup.js +0 -23
  80. package/vendor/dojo-1.10.10/dijit/_base/popup.js.uncompressed.js +0 -58
  81. package/vendor/dojo-1.10.10/dijit/_base/scroll.js +0 -6
  82. package/vendor/dojo-1.10.10/dijit/_base/scroll.js.uncompressed.js +0 -22
  83. package/vendor/dojo-1.10.10/dijit/_base/sniff.js +0 -3
  84. package/vendor/dojo-1.10.10/dijit/_base/sniff.js.uncompressed.js +0 -12
  85. package/vendor/dojo-1.10.10/dijit/_base/typematic.js +0 -3
  86. package/vendor/dojo-1.10.10/dijit/_base/typematic.js.uncompressed.js +0 -10
  87. package/vendor/dojo-1.10.10/dijit/_base/wai.js +0 -32
  88. package/vendor/dojo-1.10.10/dijit/_base/wai.js.uncompressed.js +0 -109
  89. package/vendor/dojo-1.10.10/dijit/_base/window.js +0 -6
  90. package/vendor/dojo-1.10.10/dijit/_base/window.js.uncompressed.js +0 -18
  91. package/vendor/dojo-1.10.10/dijit/_base.js +0 -4
  92. package/vendor/dojo-1.10.10/dijit/_base.js.uncompressed.js +0 -27
  93. package/vendor/dojo-1.10.10/dijit/a11y.js +0 -109
  94. package/vendor/dojo-1.10.10/dijit/a11y.js.uncompressed.js +0 -191
  95. package/vendor/dojo-1.10.10/dijit/a11yclick.js +0 -66
  96. package/vendor/dojo-1.10.10/dijit/a11yclick.js.uncompressed.js +0 -139
  97. package/vendor/dojo-1.10.10/dijit/focus.js +0 -188
  98. package/vendor/dojo-1.10.10/dijit/focus.js.uncompressed.js +0 -371
  99. package/vendor/dojo-1.10.10/dijit/form/Button.js +0 -49
  100. package/vendor/dojo-1.10.10/dijit/form/Button.js.uncompressed.js +0 -130
  101. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js +0 -4
  102. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js.uncompressed.js +0 -27
  103. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js +0 -21
  104. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js.uncompressed.js +0 -86
  105. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js +0 -38
  106. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js.uncompressed.js +0 -102
  107. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js +0 -7
  108. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js.uncompressed.js +0 -26
  109. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js +0 -50
  110. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js.uncompressed.js +0 -116
  111. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js +0 -26
  112. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js.uncompressed.js +0 -81
  113. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js +0 -24
  114. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js.uncompressed.js +0 -51
  115. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js +0 -22
  116. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js.uncompressed.js +0 -67
  117. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js +0 -111
  118. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js.uncompressed.js +0 -254
  119. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js +0 -32
  120. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js.uncompressed.js +0 -69
  121. package/vendor/dojo-1.10.10/dijit/hccss.js +0 -9
  122. package/vendor/dojo-1.10.10/dijit/hccss.js.uncompressed.js +0 -21
  123. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js +0 -215
  124. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js.uncompressed.js +0 -550
  125. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js +0 -7
  126. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js.uncompressed.js +0 -25
  127. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js +0 -235
  128. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js.uncompressed.js +0 -653
  129. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js +0 -171
  130. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js.uncompressed.js +0 -411
  131. package/vendor/dojo-1.10.10/dijit/layout/StackController.js +0 -194
  132. package/vendor/dojo-1.10.10/dijit/layout/StackController.js.uncompressed.js +0 -410
  133. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js +0 -99
  134. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js.uncompressed.js +0 -236
  135. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js +0 -47
  136. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js.uncompressed.js +0 -190
  137. package/vendor/dojo-1.10.10/dijit/layout/utils.js +0 -77
  138. package/vendor/dojo-1.10.10/dijit/layout/utils.js.uncompressed.js +0 -151
  139. package/vendor/dojo-1.10.10/dijit/main.js +0 -4
  140. package/vendor/dojo-1.10.10/dijit/main.js.uncompressed.js +0 -16
  141. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js +0 -2
  142. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js.uncompressed.js +0 -21
  143. package/vendor/dojo-1.10.10/dijit/nls/loading.js +0 -2
  144. package/vendor/dojo-1.10.10/dijit/nls/loading.js.uncompressed.js +0 -47
  145. package/vendor/dojo-1.10.10/dijit/place.js +0 -142
  146. package/vendor/dojo-1.10.10/dijit/place.js.uncompressed.js +0 -407
  147. package/vendor/dojo-1.10.10/dijit/popup.js +0 -162
  148. package/vendor/dojo-1.10.10/dijit/popup.js.uncompressed.js +0 -441
  149. package/vendor/dojo-1.10.10/dijit/registry.js +0 -79
  150. package/vendor/dojo-1.10.10/dijit/registry.js.uncompressed.js +0 -159
  151. package/vendor/dojo-1.10.10/dijit/selection.js +0 -364
  152. package/vendor/dojo-1.10.10/dijit/selection.js.uncompressed.js +0 -525
  153. package/vendor/dojo-1.10.10/dijit/typematic.js +0 -96
  154. package/vendor/dojo-1.10.10/dijit/typematic.js.uncompressed.js +0 -211
  155. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js +0 -195
  156. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js.uncompressed.js +0 -761
  157. package/vendor/dojo-1.10.10/dojo/Stateful.js +0 -90
  158. package/vendor/dojo-1.10.10/dojo/Stateful.js.uncompressed.js +0 -218
  159. package/vendor/dojo-1.10.10/dojo/_base/url.js +0 -87
  160. package/vendor/dojo-1.10.10/dojo/_base/url.js.uncompressed.js +0 -109
  161. package/vendor/dojo-1.10.10/dojo/cache.js +0 -9
  162. package/vendor/dojo-1.10.10/dojo/cache.js.uncompressed.js +0 -7
  163. package/vendor/dojo-1.10.10/dojo/colors.js +0 -74
  164. package/vendor/dojo-1.10.10/dojo/colors.js.uncompressed.js +0 -232
  165. package/vendor/dojo-1.10.10/dojo/cookie.js +0 -48
  166. package/vendor/dojo-1.10.10/dojo/cookie.js.uncompressed.js +0 -98
  167. package/vendor/dojo-1.10.10/dojo/date/stamp.js +0 -82
  168. package/vendor/dojo-1.10.10/dojo/date/stamp.js.uncompressed.js +0 -144
  169. package/vendor/dojo-1.10.10/dojo/dojo.js +0 -7
  170. package/vendor/dojo-1.10.10/dojo/dojo.js.uncompressed.js +0 -18680
  171. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js +0 -27
  172. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js.uncompressed.js +0 -101
  173. package/vendor/dojo-1.10.10/dojo/fx/easing.js +0 -165
  174. package/vendor/dojo-1.10.10/dojo/fx/easing.js.uncompressed.js +0 -276
  175. package/vendor/dojo-1.10.10/dojo/fx.js +0 -271
  176. package/vendor/dojo-1.10.10/dojo/fx.js.uncompressed.js +0 -443
  177. package/vendor/dojo-1.10.10/dojo/hccss.js +0 -26
  178. package/vendor/dojo-1.10.10/dojo/hccss.js.uncompressed.js +0 -52
  179. package/vendor/dojo-1.10.10/dojo/html.js +0 -161
  180. package/vendor/dojo-1.10.10/dojo/html.js.uncompressed.js +0 -370
  181. package/vendor/dojo-1.10.10/dojo/io/iframe.js +0 -71
  182. package/vendor/dojo-1.10.10/dojo/io/iframe.js.uncompressed.js +0 -190
  183. package/vendor/dojo-1.10.10/dojo/io/script.js +0 -112
  184. package/vendor/dojo-1.10.10/dojo/io/script.js.uncompressed.js +0 -280
  185. package/vendor/dojo-1.10.10/dojo/parser.js +0 -437
  186. package/vendor/dojo-1.10.10/dojo/parser.js.uncompressed.js +0 -915
  187. package/vendor/dojo-1.10.10/dojo/promise/all.js +0 -59
  188. package/vendor/dojo-1.10.10/dojo/promise/all.js.uncompressed.js +0 -77
  189. package/vendor/dojo-1.10.10/dojo/regexp.js +0 -32
  190. package/vendor/dojo-1.10.10/dojo/regexp.js.uncompressed.js +0 -70
  191. package/vendor/dojo-1.10.10/dojo/request/iframe.js +0 -291
  192. package/vendor/dojo-1.10.10/dojo/request/iframe.js.uncompressed.js +0 -438
  193. package/vendor/dojo-1.10.10/dojo/request/script.js +0 -129
  194. package/vendor/dojo-1.10.10/dojo/request/script.js.uncompressed.js +0 -237
  195. package/vendor/dojo-1.10.10/dojo/require.js +0 -11
  196. package/vendor/dojo-1.10.10/dojo/require.js.uncompressed.js +0 -7
  197. package/vendor/dojo-1.10.10/dojo/resources/blank.gif +0 -0
  198. package/vendor/dojo-1.10.10/dojo/string.js +0 -67
  199. package/vendor/dojo-1.10.10/dojo/string.js.uncompressed.js +0 -181
  200. package/vendor/dojo-1.10.10/dojo/touch.js +0 -191
  201. package/vendor/dojo-1.10.10/dojo/touch.js.uncompressed.js +0 -468
  202. package/vendor/dojo-1.10.10/dojo/uacss.js +0 -36
  203. package/vendor/dojo-1.10.10/dojo/uacss.js.uncompressed.js +0 -85
  204. package/vendor/dojo-1.10.10/dojo/window.js +0 -141
  205. package/vendor/dojo-1.10.10/dojo/window.js.uncompressed.js +0 -241
  206. package/vendor/dojo-1.10.10/dojox/charting/Chart.js +0 -626
  207. package/vendor/dojo-1.10.10/dojox/charting/Chart.js.uncompressed.js +0 -1220
  208. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js +0 -5
  209. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js.uncompressed.js +0 -16
  210. package/vendor/dojo-1.10.10/dojox/charting/Element.js +0 -247
  211. package/vendor/dojo-1.10.10/dojox/charting/Element.js.uncompressed.js +0 -402
  212. package/vendor/dojo-1.10.10/dojox/charting/Series.js +0 -24
  213. package/vendor/dojo-1.10.10/dojox/charting/Series.js.uncompressed.js +0 -58
  214. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js +0 -191
  215. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js.uncompressed.js +0 -577
  216. package/vendor/dojo-1.10.10/dojox/charting/Theme.js +0 -42
  217. package/vendor/dojo-1.10.10/dojox/charting/Theme.js.uncompressed.js +0 -120
  218. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js +0 -11
  219. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js.uncompressed.js +0 -36
  220. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js +0 -77
  221. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js.uncompressed.js +0 -144
  222. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js +0 -58
  223. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js.uncompressed.js +0 -123
  224. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js +0 -54
  225. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js.uncompressed.js +0 -124
  226. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js +0 -28
  227. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js.uncompressed.js +0 -74
  228. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js +0 -116
  229. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js.uncompressed.js +0 -178
  230. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js +0 -24
  231. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js.uncompressed.js +0 -83
  232. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js +0 -557
  233. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js.uncompressed.js +0 -980
  234. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js +0 -65
  235. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js.uncompressed.js +0 -224
  236. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js +0 -91
  237. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js.uncompressed.js +0 -164
  238. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js +0 -7
  239. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js.uncompressed.js +0 -14
  240. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js +0 -168
  241. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js.uncompressed.js +0 -311
  242. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js +0 -61
  243. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js.uncompressed.js +0 -161
  244. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js +0 -141
  245. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js.uncompressed.js +0 -242
  246. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js +0 -126
  247. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js.uncompressed.js +0 -243
  248. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js +0 -108
  249. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js.uncompressed.js +0 -290
  250. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js +0 -13
  251. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js.uncompressed.js +0 -14
  252. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js +0 -13
  253. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js.uncompressed.js +0 -14
  254. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js +0 -153
  255. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js.uncompressed.js +0 -249
  256. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js +0 -253
  257. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js.uncompressed.js +0 -472
  258. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js +0 -182
  259. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js.uncompressed.js +0 -356
  260. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js +0 -6
  261. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js.uncompressed.js +0 -12
  262. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js +0 -6
  263. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js.uncompressed.js +0 -12
  264. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js +0 -7
  265. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js.uncompressed.js +0 -13
  266. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js +0 -110
  267. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js.uncompressed.js +0 -208
  268. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js +0 -303
  269. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js.uncompressed.js +0 -547
  270. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js +0 -134
  271. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js.uncompressed.js +0 -207
  272. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js +0 -299
  273. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js.uncompressed.js +0 -537
  274. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js +0 -24
  275. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js.uncompressed.js +0 -44
  276. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js +0 -7
  277. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js.uncompressed.js +0 -14
  278. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js +0 -22
  279. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js.uncompressed.js +0 -33
  280. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js +0 -20
  281. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js.uncompressed.js +0 -31
  282. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js +0 -6
  283. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js.uncompressed.js +0 -12
  284. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js +0 -68
  285. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js.uncompressed.js +0 -120
  286. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js +0 -209
  287. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js.uncompressed.js +0 -214
  288. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js +0 -76
  289. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js.uncompressed.js +0 -77
  290. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js +0 -59
  291. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js.uncompressed.js +0 -70
  292. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js +0 -220
  293. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js.uncompressed.js +0 -262
  294. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js +0 -23
  295. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js.uncompressed.js +0 -36
  296. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js +0 -39
  297. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js.uncompressed.js +0 -106
  298. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js +0 -5
  299. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js.uncompressed.js +0 -12
  300. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js +0 -4
  301. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js.uncompressed.js +0 -3
  302. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js +0 -102
  303. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js.uncompressed.js +0 -165
  304. package/vendor/dojo-1.10.10/dojox/color/Palette.js +0 -163
  305. package/vendor/dojo-1.10.10/dojox/color/Palette.js.uncompressed.js +0 -460
  306. package/vendor/dojo-1.10.10/dojox/color/_base.js +0 -174
  307. package/vendor/dojo-1.10.10/dojox/color/_base.js.uncompressed.js +0 -196
  308. package/vendor/dojo-1.10.10/dojox/gfx/_base.js +0 -253
  309. package/vendor/dojo-1.10.10/dojox/gfx/_base.js.uncompressed.js +0 -1024
  310. package/vendor/dojo-1.10.10/dojox/gfx/fx.js +0 -297
  311. package/vendor/dojo-1.10.10/dojox/gfx/fx.js.uncompressed.js +0 -350
  312. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js +0 -63
  313. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js.uncompressed.js +0 -91
  314. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js +0 -170
  315. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js.uncompressed.js +0 -501
  316. package/vendor/dojo-1.10.10/dojox/gfx/path.js +0 -319
  317. package/vendor/dojo-1.10.10/dojox/gfx/path.js.uncompressed.js +0 -478
  318. package/vendor/dojo-1.10.10/dojox/gfx/shape.js +0 -459
  319. package/vendor/dojo-1.10.10/dojox/gfx/shape.js.uncompressed.js +0 -1091
  320. package/vendor/dojo-1.10.10/dojox/gfx/svg.js +0 -662
  321. package/vendor/dojo-1.10.10/dojox/gfx/svg.js.uncompressed.js +0 -1023
  322. package/vendor/dojo-1.10.10/dojox/gfx/utils.js +0 -199
  323. package/vendor/dojo-1.10.10/dojox/gfx/utils.js.uncompressed.js +0 -322
  324. package/vendor/dojo-1.10.10/dojox/gfx.js +0 -2
  325. package/vendor/dojo-1.10.10/dojox/gfx.js.uncompressed.js +0 -1136
  326. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js +0 -151
  327. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js.uncompressed.js +0 -169
  328. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js +0 -93
  329. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js.uncompressed.js +0 -125
  330. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js +0 -81
  331. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js.uncompressed.js +0 -132
  332. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js +0 -54
  333. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js.uncompressed.js +0 -78
  334. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js +0 -61
  335. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js.uncompressed.js +0 -77
  336. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js +0 -87
  337. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js.uncompressed.js +0 -107
  338. package/vendor/dojo-1.10.10/dojox/lang/functional.js +0 -4
  339. package/vendor/dojo-1.10.10/dojox/lang/functional.js.uncompressed.js +0 -3
  340. package/vendor/dojo-1.10.10/dojox/lang/utils.js +0 -86
  341. package/vendor/dojo-1.10.10/dojox/lang/utils.js.uncompressed.js +0 -121
  342. package/vendor/dojo-1.10.10/dojox/main.js +0 -4
  343. package/vendor/dojo-1.10.10/dojox/main.js.uncompressed.js +0 -14
  344. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js +0 -112
  345. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js.uncompressed.js +0 -208
  346. package/vendor/dojo-1.10.10/dojox/storage/Provider.js +0 -62
  347. package/vendor/dojo-1.10.10/dojox/storage/Provider.js.uncompressed.js +0 -344
  348. package/vendor/dojo-1.10.10/dojox/storage/manager.js +0 -110
  349. package/vendor/dojo-1.10.10/dojox/storage/manager.js.uncompressed.js +0 -263
@@ -1,120 +0,0 @@
1
- define("dojox/charting/Theme", ["dojo/_base/lang", "dojo/_base/declare", "dojo/_base/Color", "./SimpleTheme",
2
- "dojox/color/_base", "dojox/color/Palette", "dojox/gfx/gradutils"],
3
- function(lang, declare, Color, SimpleTheme, colorX, Palette){
4
-
5
- var Theme = declare("dojox.charting.Theme", SimpleTheme, {
6
- // summary:
7
- // A Theme is a pre-defined object, primarily JSON-based, that makes up the definitions to
8
- // style a chart. It extends SimpleTheme with additional features like color definition by
9
- // palettes and gradients definition.
10
- });
11
-
12
- /*=====
13
- var __DefineColorArgs = {
14
- // summary:
15
- // The arguments object that can be passed to define colors for a theme.
16
- // num: Number?
17
- // The number of colors to generate. Defaults to 5.
18
- // colors: String[]|dojo/_base/Color[]?
19
- // A pre-defined set of colors; this is passed through to the Theme directly.
20
- // hue: Number?
21
- // A hue to base the generated colors from (a number from 0 - 359).
22
- // saturation: Number?
23
- // If a hue is passed, this is used for the saturation value (0 - 100).
24
- // low: Number?
25
- // An optional value to determine the lowest value used to generate a color (HSV model)
26
- // high: Number?
27
- // An optional value to determine the highest value used to generate a color (HSV model)
28
- // base: String|dojo/_base/Color?
29
- // A base color to use if we are defining colors using dojox.color.Palette
30
- // generator: String?
31
- // The generator function name from dojox/color/Palette.
32
- };
33
- =====*/
34
- lang.mixin(Theme, {
35
-
36
- defineColors: function(kwArgs){
37
- // summary:
38
- // Generate a set of colors for the theme based on keyword
39
- // arguments.
40
- // kwArgs: __DefineColorArgs
41
- // The arguments object used to define colors.
42
- // returns: dojo/_base/Color[]
43
- // An array of colors for use in a theme.
44
- //
45
- // example:
46
- // | var colors = Theme.defineColors({
47
- // | base: "#369",
48
- // | generator: "compound"
49
- // | });
50
- //
51
- // example:
52
- // | var colors = Theme.defineColors({
53
- // | hue: 60,
54
- // | saturation: 90,
55
- // | low: 30,
56
- // | high: 80
57
- // | });
58
- kwArgs = kwArgs || {};
59
- var l, c = [], n = kwArgs.num || 5; // the number of colors to generate
60
- if(kwArgs.colors){
61
- // we have an array of colors predefined, so fix for the number of series.
62
- l = kwArgs.colors.length;
63
- for(var i = 0; i < n; i++){
64
- c.push(kwArgs.colors[i % l]);
65
- }
66
- return c; // dojo.Color[]
67
- }
68
- if(kwArgs.hue){
69
- // single hue, generate a set based on brightness
70
- var s = kwArgs.saturation || 100, // saturation
71
- st = kwArgs.low || 30,
72
- end = kwArgs.high || 90;
73
- // we'd like it to be a little on the darker side.
74
- l = (end + st) / 2;
75
- // alternately, use "shades"
76
- return Palette.generate(
77
- colorX.fromHsv(kwArgs.hue, s, l), "monochromatic"
78
- ).colors;
79
- }
80
- if(kwArgs.generator){
81
- // pass a base color and the name of a generator
82
- return colorX.Palette.generate(kwArgs.base, kwArgs.generator).colors;
83
- }
84
- return c; // dojo.Color[]
85
- },
86
-
87
- generateGradient: function(fillPattern, colorFrom, colorTo){
88
- var fill = lang.delegate(fillPattern);
89
- fill.colors = [
90
- {offset: 0, color: colorFrom},
91
- {offset: 1, color: colorTo}
92
- ];
93
- return fill;
94
- },
95
-
96
- generateHslColor: function(color, luminance){
97
- color = new Color(color);
98
- var hsl = color.toHsl(),
99
- result = colorX.fromHsl(hsl.h, hsl.s, luminance);
100
- result.a = color.a; // add missing opacity
101
- return result;
102
- },
103
-
104
- generateHslGradient: function(color, fillPattern, lumFrom, lumTo){
105
- color = new Color(color);
106
- var hsl = color.toHsl(),
107
- colorFrom = colorX.fromHsl(hsl.h, hsl.s, lumFrom),
108
- colorTo = colorX.fromHsl(hsl.h, hsl.s, lumTo);
109
- colorFrom.a = colorTo.a = color.a; // add missing opacity
110
- return Theme.generateGradient(fillPattern, colorFrom, colorTo); // Object
111
- }
112
- });
113
-
114
- // for compatibility
115
- Theme.defaultMarkers = SimpleTheme.defaultMarkers;
116
- Theme.defaultColors = SimpleTheme.defaultColors;
117
- Theme.defaultTheme = SimpleTheme.defaultTheme;
118
-
119
- return Theme;
120
- });
@@ -1,11 +0,0 @@
1
- //>>built
2
- define("dojox/charting/action2d/Base",["dojo/_base/lang","dojo/_base/declare","dojo/Evented"],function(_1,_2,_3){
3
- return _2("dojox.charting.action2d.Base",_3,{constructor:function(_4,_5){
4
- this.chart=_4;
5
- this.plot=_5?(_1.isString(_5)?this.chart.getPlot(_5):_5):this.chart.getPlot("default");
6
- },connect:function(){
7
- },disconnect:function(){
8
- },destroy:function(){
9
- this.disconnect();
10
- }});
11
- });
@@ -1,36 +0,0 @@
1
- define("dojox/charting/action2d/Base", ["dojo/_base/lang", "dojo/_base/declare", "dojo/Evented"],
2
- function(lang, declare, Evented){
3
-
4
- return declare("dojox.charting.action2d.Base", Evented, {
5
- // summary:
6
- // Base action class for plot and chart actions.
7
-
8
- constructor: function(chart, plot){
9
- // summary:
10
- // Create a new base action. This can either be a plot or a chart action.
11
- // chart: dojox/charting/Chart
12
- // The chart this action applies to.
13
- // plot: String|dojox/charting/plot2d/Base?
14
- // Optional target plot for this action. Default is "default".
15
- this.chart = chart;
16
- this.plot = plot ? (lang.isString(plot) ? this.chart.getPlot(plot) : plot) : this.chart.getPlot("default");
17
- },
18
-
19
- connect: function(){
20
- // summary:
21
- // Connect this action to the plot or the chart.
22
- },
23
-
24
- disconnect: function(){
25
- // summary:
26
- // Disconnect this action from the plot or the chart.
27
- },
28
-
29
- destroy: function(){
30
- // summary:
31
- // Do any cleanup needed when destroying parent elements.
32
- this.disconnect();
33
- }
34
- });
35
-
36
- });
@@ -1,77 +0,0 @@
1
- //>>built
2
- define("dojox/charting/action2d/Highlight",["dojo/_base/lang","dojo/_base/declare","dojo/_base/Color","dojo/_base/connect","dojox/color/_base","./PlotAction","dojo/fx/easing","dojox/gfx/fx"],function(_1,_2,_3,_4,c,_5,_6,_7){
3
- var _8=100,_9=75,_a=50,cc=function(_b){
4
- return function(){
5
- return _b;
6
- };
7
- },hl=function(_c){
8
- var a=new c.Color(_c),x=a.toHsl();
9
- if(x.s==0){
10
- x.l=x.l<50?100:0;
11
- }else{
12
- x.s=_8;
13
- if(x.l<_a){
14
- x.l=_9;
15
- }else{
16
- if(x.l>_9){
17
- x.l=_a;
18
- }else{
19
- x.l=x.l-_a>_9-x.l?_a:_9;
20
- }
21
- }
22
- }
23
- var _d=c.fromHsl(x);
24
- _d.a=a.a;
25
- return _d;
26
- },_e=function(_f){
27
- var r=hl(_f);
28
- r.a=0.7;
29
- return r;
30
- };
31
- return _2("dojox.charting.action2d.Highlight",_5,{defaultParams:{duration:400,easing:_6.backOut},optionalParams:{highlight:"red"},constructor:function(_10,_11,_12){
32
- var a=_12&&_12.highlight;
33
- this.colorFunc=a?(_1.isFunction(a)?a:cc(a)):hl;
34
- this.connect();
35
- },process:function(o){
36
- if(!o.shape||!(o.type in this.overOutEvents)){
37
- return;
38
- }
39
- if(o.element=="spider_circle"||o.element=="spider_plot"){
40
- return;
41
- }else{
42
- if(o.element=="spider_poly"&&this.colorFunc==hl){
43
- this.colorFunc=_e;
44
- }
45
- }
46
- var _13=o.run.name,_14=o.index,_15;
47
- if(_13 in this.anim){
48
- _15=this.anim[_13][_14];
49
- }else{
50
- this.anim[_13]={};
51
- }
52
- if(_15){
53
- _15.action.stop(true);
54
- }else{
55
- var _16=o.shape.getFill();
56
- if(!_16||!(_16 instanceof _3)){
57
- return;
58
- }
59
- this.anim[_13][_14]=_15={start:_16,end:this.colorFunc(_16)};
60
- }
61
- var _17=_15.start,end=_15.end;
62
- if(o.type=="onmouseout"){
63
- var t=_17;
64
- _17=end;
65
- end=t;
66
- }
67
- _15.action=_7.animateFill({shape:o.shape,duration:this.duration,easing:this.easing,color:{start:_17,end:end}});
68
- if(o.type=="onmouseout"){
69
- _4.connect(_15.action,"onEnd",this,function(){
70
- if(this.anim[_13]){
71
- delete this.anim[_13][_14];
72
- }
73
- });
74
- }
75
- _15.action.play();
76
- }});
77
- });
@@ -1,144 +0,0 @@
1
- define("dojox/charting/action2d/Highlight", ["dojo/_base/lang", "dojo/_base/declare", "dojo/_base/Color", "dojo/_base/connect", "dojox/color/_base",
2
- "./PlotAction", "dojo/fx/easing", "dojox/gfx/fx"],
3
- function(lang, declare, Color, hub, c, PlotAction, dfe, dgf){
4
-
5
- /*=====
6
- var __HighlightCtorArgs = {
7
- // summary:
8
- // Additional arguments for highlighting actions.
9
- // duration: Number?
10
- // The amount of time in milliseconds for an animation to last. Default is 400.
11
- // easing: dojo/fx/easing/*?
12
- // An easing object (see dojo.fx.easing) for use in an animation. The
13
- // default is dojo.fx.easing.backOut.
14
- // highlight: String|dojo/_base/Color|Function?
15
- // Either a color or a function that creates a color when highlighting happens.
16
- };
17
- =====*/
18
-
19
- var DEFAULT_SATURATION = 100, // %
20
- DEFAULT_LUMINOSITY1 = 75, // %
21
- DEFAULT_LUMINOSITY2 = 50, // %
22
- cc = function(color){
23
- return function(){ return color; };
24
- },
25
-
26
- hl = function(color){
27
- var a = new c.Color(color),
28
- x = a.toHsl();
29
- if(x.s == 0){
30
- x.l = x.l < 50 ? 100 : 0;
31
- }else{
32
- x.s = DEFAULT_SATURATION;
33
- if(x.l < DEFAULT_LUMINOSITY2){
34
- x.l = DEFAULT_LUMINOSITY1;
35
- }else if(x.l > DEFAULT_LUMINOSITY1){
36
- x.l = DEFAULT_LUMINOSITY2;
37
- }else{
38
- x.l = x.l - DEFAULT_LUMINOSITY2 > DEFAULT_LUMINOSITY1 - x.l ?
39
- DEFAULT_LUMINOSITY2 : DEFAULT_LUMINOSITY1;
40
- }
41
- }
42
- var rcolor = c.fromHsl(x);
43
- rcolor.a = a.a;
44
- return rcolor;
45
- },
46
-
47
- spiderhl = function(color){
48
- var r = hl(color);
49
- r.a = 0.7;
50
- return r;
51
- }
52
-
53
- return declare("dojox.charting.action2d.Highlight", PlotAction, {
54
- // summary:
55
- // Creates a highlighting action on a plot, where an element on that plot
56
- // has a highlight on it.
57
-
58
- // the data description block for the widget parser
59
- defaultParams: {
60
- duration: 400, // duration of the action in ms
61
- easing: dfe.backOut // easing for the action
62
- },
63
- optionalParams: {
64
- highlight: "red" // name for the highlight color
65
- // programmatic instantiation can use functions and color objects
66
- },
67
-
68
- constructor: function(chart, plot, kwArgs){
69
- // summary:
70
- // Create the highlighting action and connect it to the plot.
71
- // chart: dojox/charting/Chart
72
- // The chart this action belongs to.
73
- // plot: String?
74
- // The plot this action is attached to. If not passed, "default" is assumed.
75
- // kwArgs: __HighlightCtorArgs?
76
- // Optional keyword arguments object for setting parameters.
77
- var a = kwArgs && kwArgs.highlight;
78
- this.colorFunc = a ? (lang.isFunction(a) ? a : cc(a)) : hl;
79
- this.connect();
80
- },
81
-
82
- process: function(o){
83
- // summary:
84
- // Process the action on the given object.
85
- // o: dojox/gfx/shape.Shape
86
- // The object on which to process the highlighting action.
87
- if(!o.shape || !(o.type in this.overOutEvents)){ return; }
88
-
89
- // if spider let's deal only with poly
90
- if(o.element == "spider_circle" || o.element == "spider_plot"){
91
- return;
92
- }else if(o.element == "spider_poly" && this.colorFunc == hl){
93
- // hardcode alpha for compatibility reasons
94
- // TODO to remove in 2.0
95
- this.colorFunc = spiderhl;
96
- }
97
-
98
- var runName = o.run.name, index = o.index, anim;
99
-
100
- if(runName in this.anim){
101
- anim = this.anim[runName][index];
102
- }else{
103
- this.anim[runName] = {};
104
- }
105
-
106
- if(anim){
107
- anim.action.stop(true);
108
- }else{
109
- var color = o.shape.getFill();
110
- if(!color || !(color instanceof Color)){
111
- return;
112
- }
113
- this.anim[runName][index] = anim = {
114
- start: color,
115
- end: this.colorFunc(color)
116
- };
117
- }
118
-
119
- var start = anim.start, end = anim.end;
120
- if(o.type == "onmouseout"){
121
- // swap colors
122
- var t = start;
123
- start = end;
124
- end = t;
125
- }
126
-
127
- anim.action = dgf.animateFill({
128
- shape: o.shape,
129
- duration: this.duration,
130
- easing: this.easing,
131
- color: {start: start, end: end}
132
- });
133
- if(o.type == "onmouseout"){
134
- hub.connect(anim.action, "onEnd", this, function(){
135
- if(this.anim[runName]){
136
- delete this.anim[runName][index];
137
- }
138
- });
139
- }
140
- anim.action.play();
141
- }
142
- });
143
-
144
- });
@@ -1,58 +0,0 @@
1
- //>>built
2
- define("dojox/charting/action2d/Magnify",["dojo/_base/connect","dojo/_base/declare","./PlotAction","dojox/gfx/matrix","dojox/gfx/fx","dojo/fx","dojo/fx/easing"],function(_1,_2,_3,m,gf,df,_4){
3
- var _5=2;
4
- return _2("dojox.charting.action2d.Magnify",_3,{defaultParams:{duration:400,easing:_4.backOut,scale:_5},optionalParams:{},constructor:function(_6,_7,_8){
5
- this.scale=_8&&typeof _8.scale=="number"?_8.scale:_5;
6
- this.connect();
7
- },process:function(o){
8
- if(!o.shape||!(o.type in this.overOutEvents)||!("cx" in o)||!("cy" in o)){
9
- return;
10
- }
11
- if(o.element=="spider_plot"||o.element=="spider_poly"){
12
- return;
13
- }
14
- var _9=o.run.name,_a=o.index,_b=[],_c,_d,_e;
15
- if(_9 in this.anim){
16
- _c=this.anim[_9][_a];
17
- }else{
18
- this.anim[_9]={};
19
- }
20
- if(_c){
21
- _c.action.stop(true);
22
- }else{
23
- this.anim[_9][_a]=_c={};
24
- }
25
- if(o.type=="onmouseover"){
26
- _d=m.identity;
27
- _e=this.scale;
28
- }else{
29
- _d=m.scaleAt(this.scale,o.cx,o.cy);
30
- _e=1/this.scale;
31
- }
32
- var _f={shape:o.shape,duration:this.duration,easing:this.easing,transform:[{name:"scaleAt",start:[1,o.cx,o.cy],end:[_e,o.cx,o.cy]},_d]};
33
- if(o.shape){
34
- _b.push(gf.animateTransform(_f));
35
- }
36
- if(o.outline){
37
- _f.shape=o.outline;
38
- _b.push(gf.animateTransform(_f));
39
- }
40
- if(o.shadow){
41
- _f.shape=o.shadow;
42
- _b.push(gf.animateTransform(_f));
43
- }
44
- if(!_b.length){
45
- delete this.anim[_9][_a];
46
- return;
47
- }
48
- _c.action=df.combine(_b);
49
- if(o.type=="onmouseout"){
50
- _1.connect(_c.action,"onEnd",this,function(){
51
- if(this.anim[_9]){
52
- delete this.anim[_9][_a];
53
- }
54
- });
55
- }
56
- _c.action.play();
57
- }});
58
- });
@@ -1,123 +0,0 @@
1
- define("dojox/charting/action2d/Magnify", ["dojo/_base/connect", "dojo/_base/declare",
2
- "./PlotAction", "dojox/gfx/matrix",
3
- "dojox/gfx/fx", "dojo/fx", "dojo/fx/easing"],
4
- function(Hub, declare, PlotAction, m, gf, df, dfe){
5
-
6
- /*=====
7
- var __MagnifyCtorArgs = {
8
- // summary:
9
- // Additional arguments for magnifying actions.
10
- // duration: Number?
11
- // The amount of time in milliseconds for an animation to last. Default is 400.
12
- // easing: dojo/fx/easing/*?
13
- // An easing object (see dojo.fx.easing) for use in an animation. The
14
- // default is dojo.fx.easing.backOut.
15
- // scale: Number?
16
- // The amount to magnify the given object to. Default is 2.
17
- };
18
- =====*/
19
-
20
- var DEFAULT_SCALE = 2;
21
-
22
- return declare("dojox.charting.action2d.Magnify", PlotAction, {
23
- // summary:
24
- // Create an action that magnifies the object the action is applied to.
25
-
26
- // the data description block for the widget parser
27
- defaultParams: {
28
- duration: 400, // duration of the action in ms
29
- easing: dfe.backOut, // easing for the action
30
- scale: DEFAULT_SCALE // scale of magnification
31
- },
32
- optionalParams: {}, // no optional parameters
33
-
34
- constructor: function(chart, plot, kwArgs){
35
- // summary:
36
- // Create the magnifying action.
37
- // chart: dojox/charting/Chart
38
- // The chart this action belongs to.
39
- // plot: String?
40
- // The plot to apply the action to. If not passed, "default" is assumed.
41
- // kwArgs: __MagnifyCtorArgs?
42
- // Optional keyword arguments for this action.
43
-
44
- // process optional named parameters
45
- this.scale = kwArgs && typeof kwArgs.scale == "number" ? kwArgs.scale : DEFAULT_SCALE;
46
-
47
- this.connect();
48
- },
49
-
50
- process: function(o){
51
- // summary:
52
- // Process the action on the given object.
53
- // o: dojox/gfx/shape.Shape
54
- // The object on which to process the magnifying action.
55
- if(!o.shape || !(o.type in this.overOutEvents) ||
56
- !("cx" in o) || !("cy" in o)){ return; }
57
-
58
- // if spider deal only with circle
59
- if(o.element == "spider_plot" || o.element == "spider_poly"){
60
- return;
61
- }
62
-
63
- var runName = o.run.name, index = o.index, vector = [], anim, init, scale;
64
-
65
- if(runName in this.anim){
66
- anim = this.anim[runName][index];
67
- }else{
68
- this.anim[runName] = {};
69
- }
70
-
71
- if(anim){
72
- anim.action.stop(true);
73
- }else{
74
- this.anim[runName][index] = anim = {};
75
- }
76
-
77
- if(o.type == "onmouseover"){
78
- init = m.identity;
79
- scale = this.scale;
80
- }else{
81
- init = m.scaleAt(this.scale, o.cx, o.cy);
82
- scale = 1 / this.scale;
83
- }
84
-
85
- var kwArgs = {
86
- shape: o.shape,
87
- duration: this.duration,
88
- easing: this.easing,
89
- transform: [
90
- {name: "scaleAt", start: [1, o.cx, o.cy], end: [scale, o.cx, o.cy]},
91
- init
92
- ]
93
- };
94
- if(o.shape){
95
- vector.push(gf.animateTransform(kwArgs));
96
- }
97
- if(o.outline){
98
- kwArgs.shape = o.outline;
99
- vector.push(gf.animateTransform(kwArgs));
100
- }
101
- if(o.shadow){
102
- kwArgs.shape = o.shadow;
103
- vector.push(gf.animateTransform(kwArgs));
104
- }
105
-
106
- if(!vector.length){
107
- delete this.anim[runName][index];
108
- return;
109
- }
110
-
111
- anim.action = df.combine(vector);
112
- if(o.type == "onmouseout"){
113
- Hub.connect(anim.action, "onEnd", this, function(){
114
- if(this.anim[runName]){
115
- delete this.anim[runName][index];
116
- }
117
- });
118
- }
119
- anim.action.play();
120
- }
121
- });
122
-
123
- });
@@ -1,54 +0,0 @@
1
- //>>built
2
- define("dojox/charting/action2d/MoveSlice",["dojo/_base/connect","dojo/_base/declare","dojo/_base/array","./PlotAction","dojo/fx/easing","dojox/gfx/matrix","dojox/gfx/fx","dojox/lang/functional","dojox/lang/functional/scan","dojox/lang/functional/fold"],function(_1,_2,_3,_4,_5,m,gf,df){
3
- var _6=1.05,_7=7;
4
- return _2("dojox.charting.action2d.MoveSlice",_4,{defaultParams:{duration:400,easing:_5.backOut,scale:_6,shift:_7},optionalParams:{},constructor:function(_8,_9,_a){
5
- if(!_a){
6
- _a={};
7
- }
8
- this.scale=typeof _a.scale=="number"?_a.scale:_6;
9
- this.shift=typeof _a.shift=="number"?_a.shift:_7;
10
- this.connect();
11
- },process:function(o){
12
- if(!o.shape||o.element!="slice"||!(o.type in this.overOutEvents)){
13
- return;
14
- }
15
- if(!this.angles){
16
- var _b=m._degToRad(o.plot.opt.startAngle);
17
- if(typeof o.run.data[0]=="number"){
18
- this.angles=df.map(df.scanl(o.run.data,"+",0),"* 2 * Math.PI / this",df.foldl(o.run.data,"+",0));
19
- }else{
20
- this.angles=df.map(df.scanl(o.run.data,"a + b.y",0),"* 2 * Math.PI / this",df.foldl(o.run.data,"a + b.y",0));
21
- }
22
- this.angles=_3.map(this.angles,function(_c){
23
- return _c+_b;
24
- });
25
- }
26
- var _d=o.index,_e,_f,_10,_11,_12,_13=(this.angles[_d]+this.angles[_d+1])/2,_14=m.rotateAt(-_13,o.cx,o.cy),_15=m.rotateAt(_13,o.cx,o.cy);
27
- _e=this.anim[_d];
28
- if(_e){
29
- _e.action.stop(true);
30
- }else{
31
- this.anim[_d]=_e={};
32
- }
33
- if(o.type=="onmouseover"){
34
- _11=0;
35
- _12=this.shift;
36
- _f=1;
37
- _10=this.scale;
38
- }else{
39
- _11=this.shift;
40
- _12=0;
41
- _f=this.scale;
42
- _10=1;
43
- }
44
- _e.action=gf.animateTransform({shape:o.shape,duration:this.duration,easing:this.easing,transform:[_15,{name:"translate",start:[_11,0],end:[_12,0]},{name:"scaleAt",start:[_f,o.cx,o.cy],end:[_10,o.cx,o.cy]},_14]});
45
- if(o.type=="onmouseout"){
46
- _1.connect(_e.action,"onEnd",this,function(){
47
- delete this.anim[_d];
48
- });
49
- }
50
- _e.action.play();
51
- },reset:function(){
52
- delete this.angles;
53
- }});
54
- });