@datagrok/helm 2.13.8 → 3.0.1

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 (360) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/css/helm.css +40 -0
  3. package/dist/137.js +2 -0
  4. package/dist/137.js.map +1 -0
  5. package/dist/323.js +2 -0
  6. package/dist/323.js.map +1 -0
  7. package/dist/657.js +2 -0
  8. package/dist/657.js.map +1 -0
  9. package/dist/782.js +2 -0
  10. package/dist/782.js.map +1 -0
  11. package/dist/884.js +2 -0
  12. package/dist/884.js.map +1 -0
  13. package/dist/94.js +2 -0
  14. package/dist/94.js.map +1 -0
  15. package/dist/libraries_bio_src_monomer-works_seq-to-molfile-worker_ts.js +16420 -0
  16. package/dist/libraries_bio_src_monomer-works_seq-to-molfile-worker_ts.js.map +1 -0
  17. package/dist/package-test.js +1 -1
  18. package/dist/package-test.js.map +1 -1
  19. package/dist/package.js +1 -1
  20. package/dist/package.js.map +1 -1
  21. package/dist/vendors-HELM_node_modules_lru-cache_dist_esm_index_js.js +1560 -0
  22. package/dist/vendors-HELM_node_modules_lru-cache_dist_esm_index_js.js.map +1 -0
  23. package/files/samples/helm-showcase.csv +56 -0
  24. package/package.json +8 -12
  25. package/src/helm-helper.ts +134 -410
  26. package/src/package-api.ts +14 -11
  27. package/src/package-test.ts +0 -2
  28. package/src/package-utils.ts +8 -298
  29. package/src/package.g.ts +2 -8
  30. package/src/package.ts +11 -31
  31. package/src/tests/helm-activity-cliffs.ts +2 -2
  32. package/src/tests/helm-input-tests.ts +83 -0
  33. package/src/tests/parse-helm-tests.ts +7 -57
  34. package/src/tests/properties-widget-tests.ts +21 -11
  35. package/src/utils/helm-grid-cell-renderer.ts +141 -151
  36. package/src/utils/index.ts +3 -7
  37. package/src/widgets/helm-input.ts +42 -12
  38. package/src/widgets/properties-widget.ts +18 -11
  39. package/webpack.config.js +1 -12
  40. package/helm/JSDraw/Pistoia.HELM-uncompressed.js +0 -9694
  41. package/helm/JSDraw/ReadMe.txt +0 -8
  42. package/helm/JSDraw/Scilligence.JSDraw2.Lite-uncompressed.js +0 -31126
  43. package/helm/dojo/package.ts +0 -41
  44. package/helm/dojo/types.ts +0 -12
  45. package/src/helm-web-editor.ts +0 -68
  46. package/src/tests/get-monomer-tests.ts +0 -214
  47. package/src/tests/helm-service-tests.ts +0 -98
  48. package/src/types/dojo.ts +0 -3
  49. package/src/types/index.ts +0 -5
  50. package/src/utils/get-monomer.ts +0 -90
  51. package/src/utils/helm-service.ts +0 -166
  52. package/test-console-output-1.log +0 -919
  53. package/test-record-1.mp4 +0 -0
  54. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js +0 -63
  55. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js.uncompressed.js +0 -116
  56. package/vendor/dojo-1.10.10/dijit/Destroyable.js +0 -35
  57. package/vendor/dojo-1.10.10/dijit/Destroyable.js.uncompressed.js +0 -83
  58. package/vendor/dojo-1.10.10/dijit/Tooltip.js +0 -240
  59. package/vendor/dojo-1.10.10/dijit/Tooltip.js.uncompressed.js +0 -612
  60. package/vendor/dojo-1.10.10/dijit/Viewport.js +0 -44
  61. package/vendor/dojo-1.10.10/dijit/Viewport.js.uncompressed.js +0 -87
  62. package/vendor/dojo-1.10.10/dijit/WidgetSet.js +0 -76
  63. package/vendor/dojo-1.10.10/dijit/WidgetSet.js.uncompressed.js +0 -247
  64. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js +0 -94
  65. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js.uncompressed.js +0 -238
  66. package/vendor/dojo-1.10.10/dijit/_Contained.js +0 -17
  67. package/vendor/dojo-1.10.10/dijit/_Contained.js.uncompressed.js +0 -56
  68. package/vendor/dojo-1.10.10/dijit/_Container.js +0 -47
  69. package/vendor/dojo-1.10.10/dijit/_Container.js.uncompressed.js +0 -108
  70. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js +0 -198
  71. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js.uncompressed.js +0 -372
  72. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js +0 -11
  73. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js.uncompressed.js +0 -66
  74. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js +0 -188
  75. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js.uncompressed.js +0 -472
  76. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js +0 -8
  77. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js.uncompressed.js +0 -31
  78. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js +0 -90
  79. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js.uncompressed.js +0 -205
  80. package/vendor/dojo-1.10.10/dijit/_Widget.js +0 -66
  81. package/vendor/dojo-1.10.10/dijit/_Widget.js.uncompressed.js +0 -352
  82. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js +0 -353
  83. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js.uncompressed.js +0 -1200
  84. package/vendor/dojo-1.10.10/dijit/_base/focus.js +0 -68
  85. package/vendor/dojo-1.10.10/dijit/_base/focus.js.uncompressed.js +0 -207
  86. package/vendor/dojo-1.10.10/dijit/_base/manager.js +0 -10
  87. package/vendor/dojo-1.10.10/dijit/_base/manager.js.uncompressed.js +0 -35
  88. package/vendor/dojo-1.10.10/dijit/_base/place.js +0 -52
  89. package/vendor/dojo-1.10.10/dijit/_base/place.js.uncompressed.js +0 -131
  90. package/vendor/dojo-1.10.10/dijit/_base/popup.js +0 -23
  91. package/vendor/dojo-1.10.10/dijit/_base/popup.js.uncompressed.js +0 -58
  92. package/vendor/dojo-1.10.10/dijit/_base/scroll.js +0 -6
  93. package/vendor/dojo-1.10.10/dijit/_base/scroll.js.uncompressed.js +0 -22
  94. package/vendor/dojo-1.10.10/dijit/_base/sniff.js +0 -3
  95. package/vendor/dojo-1.10.10/dijit/_base/sniff.js.uncompressed.js +0 -12
  96. package/vendor/dojo-1.10.10/dijit/_base/typematic.js +0 -3
  97. package/vendor/dojo-1.10.10/dijit/_base/typematic.js.uncompressed.js +0 -10
  98. package/vendor/dojo-1.10.10/dijit/_base/wai.js +0 -32
  99. package/vendor/dojo-1.10.10/dijit/_base/wai.js.uncompressed.js +0 -109
  100. package/vendor/dojo-1.10.10/dijit/_base/window.js +0 -6
  101. package/vendor/dojo-1.10.10/dijit/_base/window.js.uncompressed.js +0 -18
  102. package/vendor/dojo-1.10.10/dijit/_base.js +0 -4
  103. package/vendor/dojo-1.10.10/dijit/_base.js.uncompressed.js +0 -27
  104. package/vendor/dojo-1.10.10/dijit/a11y.js +0 -109
  105. package/vendor/dojo-1.10.10/dijit/a11y.js.uncompressed.js +0 -191
  106. package/vendor/dojo-1.10.10/dijit/a11yclick.js +0 -66
  107. package/vendor/dojo-1.10.10/dijit/a11yclick.js.uncompressed.js +0 -139
  108. package/vendor/dojo-1.10.10/dijit/focus.js +0 -188
  109. package/vendor/dojo-1.10.10/dijit/focus.js.uncompressed.js +0 -371
  110. package/vendor/dojo-1.10.10/dijit/form/Button.js +0 -49
  111. package/vendor/dojo-1.10.10/dijit/form/Button.js.uncompressed.js +0 -130
  112. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js +0 -4
  113. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js.uncompressed.js +0 -27
  114. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js +0 -21
  115. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js.uncompressed.js +0 -86
  116. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js +0 -38
  117. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js.uncompressed.js +0 -102
  118. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js +0 -7
  119. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js.uncompressed.js +0 -26
  120. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js +0 -50
  121. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js.uncompressed.js +0 -116
  122. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js +0 -26
  123. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js.uncompressed.js +0 -81
  124. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js +0 -24
  125. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js.uncompressed.js +0 -51
  126. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js +0 -22
  127. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js.uncompressed.js +0 -67
  128. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js +0 -111
  129. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js.uncompressed.js +0 -254
  130. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js +0 -32
  131. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js.uncompressed.js +0 -69
  132. package/vendor/dojo-1.10.10/dijit/hccss.js +0 -9
  133. package/vendor/dojo-1.10.10/dijit/hccss.js.uncompressed.js +0 -21
  134. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js +0 -215
  135. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js.uncompressed.js +0 -550
  136. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js +0 -7
  137. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js.uncompressed.js +0 -25
  138. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js +0 -235
  139. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js.uncompressed.js +0 -653
  140. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js +0 -171
  141. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js.uncompressed.js +0 -411
  142. package/vendor/dojo-1.10.10/dijit/layout/StackController.js +0 -194
  143. package/vendor/dojo-1.10.10/dijit/layout/StackController.js.uncompressed.js +0 -410
  144. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js +0 -99
  145. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js.uncompressed.js +0 -236
  146. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js +0 -47
  147. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js.uncompressed.js +0 -190
  148. package/vendor/dojo-1.10.10/dijit/layout/utils.js +0 -77
  149. package/vendor/dojo-1.10.10/dijit/layout/utils.js.uncompressed.js +0 -151
  150. package/vendor/dojo-1.10.10/dijit/main.js +0 -4
  151. package/vendor/dojo-1.10.10/dijit/main.js.uncompressed.js +0 -16
  152. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js +0 -2
  153. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js.uncompressed.js +0 -21
  154. package/vendor/dojo-1.10.10/dijit/nls/loading.js +0 -2
  155. package/vendor/dojo-1.10.10/dijit/nls/loading.js.uncompressed.js +0 -47
  156. package/vendor/dojo-1.10.10/dijit/place.js +0 -142
  157. package/vendor/dojo-1.10.10/dijit/place.js.uncompressed.js +0 -407
  158. package/vendor/dojo-1.10.10/dijit/popup.js +0 -162
  159. package/vendor/dojo-1.10.10/dijit/popup.js.uncompressed.js +0 -441
  160. package/vendor/dojo-1.10.10/dijit/registry.js +0 -79
  161. package/vendor/dojo-1.10.10/dijit/registry.js.uncompressed.js +0 -159
  162. package/vendor/dojo-1.10.10/dijit/selection.js +0 -364
  163. package/vendor/dojo-1.10.10/dijit/selection.js.uncompressed.js +0 -525
  164. package/vendor/dojo-1.10.10/dijit/typematic.js +0 -96
  165. package/vendor/dojo-1.10.10/dijit/typematic.js.uncompressed.js +0 -211
  166. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js +0 -195
  167. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js.uncompressed.js +0 -761
  168. package/vendor/dojo-1.10.10/dojo/Stateful.js +0 -90
  169. package/vendor/dojo-1.10.10/dojo/Stateful.js.uncompressed.js +0 -218
  170. package/vendor/dojo-1.10.10/dojo/_base/url.js +0 -87
  171. package/vendor/dojo-1.10.10/dojo/_base/url.js.uncompressed.js +0 -109
  172. package/vendor/dojo-1.10.10/dojo/cache.js +0 -9
  173. package/vendor/dojo-1.10.10/dojo/cache.js.uncompressed.js +0 -7
  174. package/vendor/dojo-1.10.10/dojo/colors.js +0 -74
  175. package/vendor/dojo-1.10.10/dojo/colors.js.uncompressed.js +0 -232
  176. package/vendor/dojo-1.10.10/dojo/cookie.js +0 -48
  177. package/vendor/dojo-1.10.10/dojo/cookie.js.uncompressed.js +0 -98
  178. package/vendor/dojo-1.10.10/dojo/date/stamp.js +0 -82
  179. package/vendor/dojo-1.10.10/dojo/date/stamp.js.uncompressed.js +0 -144
  180. package/vendor/dojo-1.10.10/dojo/dojo.js +0 -7
  181. package/vendor/dojo-1.10.10/dojo/dojo.js.uncompressed.js +0 -18680
  182. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js +0 -27
  183. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js.uncompressed.js +0 -101
  184. package/vendor/dojo-1.10.10/dojo/fx/easing.js +0 -165
  185. package/vendor/dojo-1.10.10/dojo/fx/easing.js.uncompressed.js +0 -276
  186. package/vendor/dojo-1.10.10/dojo/fx.js +0 -271
  187. package/vendor/dojo-1.10.10/dojo/fx.js.uncompressed.js +0 -443
  188. package/vendor/dojo-1.10.10/dojo/hccss.js +0 -26
  189. package/vendor/dojo-1.10.10/dojo/hccss.js.uncompressed.js +0 -52
  190. package/vendor/dojo-1.10.10/dojo/html.js +0 -161
  191. package/vendor/dojo-1.10.10/dojo/html.js.uncompressed.js +0 -370
  192. package/vendor/dojo-1.10.10/dojo/io/iframe.js +0 -71
  193. package/vendor/dojo-1.10.10/dojo/io/iframe.js.uncompressed.js +0 -190
  194. package/vendor/dojo-1.10.10/dojo/io/script.js +0 -112
  195. package/vendor/dojo-1.10.10/dojo/io/script.js.uncompressed.js +0 -280
  196. package/vendor/dojo-1.10.10/dojo/parser.js +0 -437
  197. package/vendor/dojo-1.10.10/dojo/parser.js.uncompressed.js +0 -915
  198. package/vendor/dojo-1.10.10/dojo/promise/all.js +0 -59
  199. package/vendor/dojo-1.10.10/dojo/promise/all.js.uncompressed.js +0 -77
  200. package/vendor/dojo-1.10.10/dojo/regexp.js +0 -32
  201. package/vendor/dojo-1.10.10/dojo/regexp.js.uncompressed.js +0 -70
  202. package/vendor/dojo-1.10.10/dojo/request/iframe.js +0 -291
  203. package/vendor/dojo-1.10.10/dojo/request/iframe.js.uncompressed.js +0 -438
  204. package/vendor/dojo-1.10.10/dojo/request/script.js +0 -129
  205. package/vendor/dojo-1.10.10/dojo/request/script.js.uncompressed.js +0 -237
  206. package/vendor/dojo-1.10.10/dojo/require.js +0 -11
  207. package/vendor/dojo-1.10.10/dojo/require.js.uncompressed.js +0 -7
  208. package/vendor/dojo-1.10.10/dojo/resources/blank.gif +0 -0
  209. package/vendor/dojo-1.10.10/dojo/string.js +0 -67
  210. package/vendor/dojo-1.10.10/dojo/string.js.uncompressed.js +0 -181
  211. package/vendor/dojo-1.10.10/dojo/touch.js +0 -191
  212. package/vendor/dojo-1.10.10/dojo/touch.js.uncompressed.js +0 -468
  213. package/vendor/dojo-1.10.10/dojo/uacss.js +0 -36
  214. package/vendor/dojo-1.10.10/dojo/uacss.js.uncompressed.js +0 -85
  215. package/vendor/dojo-1.10.10/dojo/window.js +0 -141
  216. package/vendor/dojo-1.10.10/dojo/window.js.uncompressed.js +0 -241
  217. package/vendor/dojo-1.10.10/dojox/charting/Chart.js +0 -626
  218. package/vendor/dojo-1.10.10/dojox/charting/Chart.js.uncompressed.js +0 -1220
  219. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js +0 -5
  220. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js.uncompressed.js +0 -16
  221. package/vendor/dojo-1.10.10/dojox/charting/Element.js +0 -247
  222. package/vendor/dojo-1.10.10/dojox/charting/Element.js.uncompressed.js +0 -402
  223. package/vendor/dojo-1.10.10/dojox/charting/Series.js +0 -24
  224. package/vendor/dojo-1.10.10/dojox/charting/Series.js.uncompressed.js +0 -58
  225. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js +0 -191
  226. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js.uncompressed.js +0 -577
  227. package/vendor/dojo-1.10.10/dojox/charting/Theme.js +0 -42
  228. package/vendor/dojo-1.10.10/dojox/charting/Theme.js.uncompressed.js +0 -120
  229. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js +0 -11
  230. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js.uncompressed.js +0 -36
  231. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js +0 -77
  232. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js.uncompressed.js +0 -144
  233. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js +0 -58
  234. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js.uncompressed.js +0 -123
  235. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js +0 -54
  236. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js.uncompressed.js +0 -124
  237. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js +0 -28
  238. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js.uncompressed.js +0 -74
  239. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js +0 -116
  240. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js.uncompressed.js +0 -178
  241. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js +0 -24
  242. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js.uncompressed.js +0 -83
  243. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js +0 -557
  244. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js.uncompressed.js +0 -980
  245. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js +0 -65
  246. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js.uncompressed.js +0 -224
  247. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js +0 -91
  248. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js.uncompressed.js +0 -164
  249. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js +0 -7
  250. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js.uncompressed.js +0 -14
  251. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js +0 -168
  252. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js.uncompressed.js +0 -311
  253. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js +0 -61
  254. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js.uncompressed.js +0 -161
  255. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js +0 -141
  256. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js.uncompressed.js +0 -242
  257. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js +0 -126
  258. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js.uncompressed.js +0 -243
  259. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js +0 -108
  260. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js.uncompressed.js +0 -290
  261. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js +0 -13
  262. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js.uncompressed.js +0 -14
  263. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js +0 -13
  264. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js.uncompressed.js +0 -14
  265. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js +0 -153
  266. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js.uncompressed.js +0 -249
  267. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js +0 -253
  268. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js.uncompressed.js +0 -472
  269. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js +0 -182
  270. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js.uncompressed.js +0 -356
  271. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js +0 -6
  272. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js.uncompressed.js +0 -12
  273. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js +0 -6
  274. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js.uncompressed.js +0 -12
  275. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js +0 -7
  276. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js.uncompressed.js +0 -13
  277. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js +0 -110
  278. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js.uncompressed.js +0 -208
  279. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js +0 -303
  280. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js.uncompressed.js +0 -547
  281. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js +0 -134
  282. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js.uncompressed.js +0 -207
  283. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js +0 -299
  284. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js.uncompressed.js +0 -537
  285. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js +0 -24
  286. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js.uncompressed.js +0 -44
  287. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js +0 -7
  288. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js.uncompressed.js +0 -14
  289. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js +0 -22
  290. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js.uncompressed.js +0 -33
  291. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js +0 -20
  292. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js.uncompressed.js +0 -31
  293. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js +0 -6
  294. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js.uncompressed.js +0 -12
  295. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js +0 -68
  296. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js.uncompressed.js +0 -120
  297. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js +0 -209
  298. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js.uncompressed.js +0 -214
  299. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js +0 -76
  300. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js.uncompressed.js +0 -77
  301. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js +0 -59
  302. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js.uncompressed.js +0 -70
  303. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js +0 -220
  304. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js.uncompressed.js +0 -262
  305. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js +0 -23
  306. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js.uncompressed.js +0 -36
  307. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js +0 -39
  308. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js.uncompressed.js +0 -106
  309. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js +0 -5
  310. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js.uncompressed.js +0 -12
  311. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js +0 -4
  312. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js.uncompressed.js +0 -3
  313. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js +0 -102
  314. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js.uncompressed.js +0 -165
  315. package/vendor/dojo-1.10.10/dojox/color/Palette.js +0 -163
  316. package/vendor/dojo-1.10.10/dojox/color/Palette.js.uncompressed.js +0 -460
  317. package/vendor/dojo-1.10.10/dojox/color/_base.js +0 -174
  318. package/vendor/dojo-1.10.10/dojox/color/_base.js.uncompressed.js +0 -196
  319. package/vendor/dojo-1.10.10/dojox/gfx/_base.js +0 -253
  320. package/vendor/dojo-1.10.10/dojox/gfx/_base.js.uncompressed.js +0 -1024
  321. package/vendor/dojo-1.10.10/dojox/gfx/fx.js +0 -297
  322. package/vendor/dojo-1.10.10/dojox/gfx/fx.js.uncompressed.js +0 -350
  323. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js +0 -63
  324. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js.uncompressed.js +0 -91
  325. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js +0 -170
  326. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js.uncompressed.js +0 -501
  327. package/vendor/dojo-1.10.10/dojox/gfx/path.js +0 -319
  328. package/vendor/dojo-1.10.10/dojox/gfx/path.js.uncompressed.js +0 -478
  329. package/vendor/dojo-1.10.10/dojox/gfx/shape.js +0 -459
  330. package/vendor/dojo-1.10.10/dojox/gfx/shape.js.uncompressed.js +0 -1091
  331. package/vendor/dojo-1.10.10/dojox/gfx/svg.js +0 -662
  332. package/vendor/dojo-1.10.10/dojox/gfx/svg.js.uncompressed.js +0 -1023
  333. package/vendor/dojo-1.10.10/dojox/gfx/utils.js +0 -199
  334. package/vendor/dojo-1.10.10/dojox/gfx/utils.js.uncompressed.js +0 -322
  335. package/vendor/dojo-1.10.10/dojox/gfx.js +0 -2
  336. package/vendor/dojo-1.10.10/dojox/gfx.js.uncompressed.js +0 -1136
  337. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js +0 -151
  338. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js.uncompressed.js +0 -169
  339. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js +0 -93
  340. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js.uncompressed.js +0 -125
  341. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js +0 -81
  342. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js.uncompressed.js +0 -132
  343. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js +0 -54
  344. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js.uncompressed.js +0 -78
  345. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js +0 -61
  346. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js.uncompressed.js +0 -77
  347. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js +0 -87
  348. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js.uncompressed.js +0 -107
  349. package/vendor/dojo-1.10.10/dojox/lang/functional.js +0 -4
  350. package/vendor/dojo-1.10.10/dojox/lang/functional.js.uncompressed.js +0 -3
  351. package/vendor/dojo-1.10.10/dojox/lang/utils.js +0 -86
  352. package/vendor/dojo-1.10.10/dojox/lang/utils.js.uncompressed.js +0 -121
  353. package/vendor/dojo-1.10.10/dojox/main.js +0 -4
  354. package/vendor/dojo-1.10.10/dojox/main.js.uncompressed.js +0 -14
  355. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js +0 -112
  356. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js.uncompressed.js +0 -208
  357. package/vendor/dojo-1.10.10/dojox/storage/Provider.js +0 -62
  358. package/vendor/dojo-1.10.10/dojox/storage/Provider.js.uncompressed.js +0 -344
  359. package/vendor/dojo-1.10.10/dojox/storage/manager.js +0 -110
  360. package/vendor/dojo-1.10.10/dojox/storage/manager.js.uncompressed.js +0 -263
@@ -1,27 +0,0 @@
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/Toggler",["../_base/lang","../_base/declare","../_base/fx","../aspect"],function(_1,_2,_3,_4){
8
- return _2("dojo.fx.Toggler",null,{node:null,showFunc:_3.fadeIn,hideFunc:_3.fadeOut,showDuration:200,hideDuration:200,constructor:function(_5){
9
- var _6=this;
10
- _1.mixin(_6,_5);
11
- _6.node=_5.node;
12
- _6._showArgs=_1.mixin({},_5);
13
- _6._showArgs.node=_6.node;
14
- _6._showArgs.duration=_6.showDuration;
15
- _6.showAnim=_6.showFunc(_6._showArgs);
16
- _6._hideArgs=_1.mixin({},_5);
17
- _6._hideArgs.node=_6.node;
18
- _6._hideArgs.duration=_6.hideDuration;
19
- _6.hideAnim=_6.hideFunc(_6._hideArgs);
20
- _4.after(_6.showAnim,"beforeBegin",_1.hitch(_6.hideAnim,"stop",true),true);
21
- _4.after(_6.hideAnim,"beforeBegin",_1.hitch(_6.showAnim,"stop",true),true);
22
- },show:function(_7){
23
- return this.showAnim.play(_7||0);
24
- },hide:function(_8){
25
- return this.hideAnim.play(_8||0);
26
- }});
27
- });
@@ -1,101 +0,0 @@
1
- define("dojo/fx/Toggler", ["../_base/lang","../_base/declare","../_base/fx", "../aspect"],
2
- function(lang, declare, baseFx, aspect){
3
- // module:
4
- // dojo/fx/Toggler
5
-
6
- return declare("dojo.fx.Toggler", null, {
7
- // summary:
8
- // A simple `dojo.Animation` toggler API.
9
- // description:
10
- // class constructor for an animation toggler. It accepts a packed
11
- // set of arguments about what type of animation to use in each
12
- // direction, duration, etc. All available members are mixed into
13
- // these animations from the constructor (for example, `node`,
14
- // `showDuration`, `hideDuration`).
15
- // example:
16
- // | var t = new dojo/fx/Toggler({
17
- // | node: "nodeId",
18
- // | showDuration: 500,
19
- // | // hideDuration will default to "200"
20
- // | showFunc: dojo/fx/wipeIn,
21
- // | // hideFunc will default to "fadeOut"
22
- // | });
23
- // | t.show(100); // delay showing for 100ms
24
- // | // ...time passes...
25
- // | t.hide();
26
-
27
- // node: DomNode
28
- // the node to target for the showing and hiding animations
29
- node: null,
30
-
31
- // showFunc: Function
32
- // The function that returns the `dojo.Animation` to show the node
33
- showFunc: baseFx.fadeIn,
34
-
35
- // hideFunc: Function
36
- // The function that returns the `dojo.Animation` to hide the node
37
- hideFunc: baseFx.fadeOut,
38
-
39
- // showDuration:
40
- // Time in milliseconds to run the show Animation
41
- showDuration: 200,
42
-
43
- // hideDuration:
44
- // Time in milliseconds to run the hide Animation
45
- hideDuration: 200,
46
-
47
- // FIXME: need a policy for where the toggler should "be" the next
48
- // time show/hide are called if we're stopped somewhere in the
49
- // middle.
50
- // FIXME: also would be nice to specify individual showArgs/hideArgs mixed into
51
- // each animation individually.
52
- // FIXME: also would be nice to have events from the animations exposed/bridged
53
-
54
- /*=====
55
- _showArgs: null,
56
- _showAnim: null,
57
-
58
- _hideArgs: null,
59
- _hideAnim: null,
60
-
61
- _isShowing: false,
62
- _isHiding: false,
63
- =====*/
64
-
65
- constructor: function(args){
66
- var _t = this;
67
-
68
- lang.mixin(_t, args);
69
- _t.node = args.node;
70
- _t._showArgs = lang.mixin({}, args);
71
- _t._showArgs.node = _t.node;
72
- _t._showArgs.duration = _t.showDuration;
73
- _t.showAnim = _t.showFunc(_t._showArgs);
74
-
75
- _t._hideArgs = lang.mixin({}, args);
76
- _t._hideArgs.node = _t.node;
77
- _t._hideArgs.duration = _t.hideDuration;
78
- _t.hideAnim = _t.hideFunc(_t._hideArgs);
79
-
80
- aspect.after(_t.showAnim, "beforeBegin", lang.hitch(_t.hideAnim, "stop", true), true);
81
- aspect.after(_t.hideAnim, "beforeBegin", lang.hitch(_t.showAnim, "stop", true), true);
82
- },
83
-
84
- show: function(delay){
85
- // summary:
86
- // Toggle the node to showing
87
- // delay: Integer?
88
- // Amount of time to stall playing the show animation
89
- return this.showAnim.play(delay || 0);
90
- },
91
-
92
- hide: function(delay){
93
- // summary:
94
- // Toggle the node to hidden
95
- // delay: Integer?
96
- // Amount of time to stall playing the hide animation
97
- return this.hideAnim.play(delay || 0);
98
- }
99
- });
100
-
101
- });
@@ -1,165 +0,0 @@
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/easing",["../_base/lang"],function(_1){
8
- var _2={linear:function(n){
9
- return n;
10
- },quadIn:function(n){
11
- return Math.pow(n,2);
12
- },quadOut:function(n){
13
- return n*(n-2)*-1;
14
- },quadInOut:function(n){
15
- n=n*2;
16
- if(n<1){
17
- return Math.pow(n,2)/2;
18
- }
19
- return -1*((--n)*(n-2)-1)/2;
20
- },cubicIn:function(n){
21
- return Math.pow(n,3);
22
- },cubicOut:function(n){
23
- return Math.pow(n-1,3)+1;
24
- },cubicInOut:function(n){
25
- n=n*2;
26
- if(n<1){
27
- return Math.pow(n,3)/2;
28
- }
29
- n-=2;
30
- return (Math.pow(n,3)+2)/2;
31
- },quartIn:function(n){
32
- return Math.pow(n,4);
33
- },quartOut:function(n){
34
- return -1*(Math.pow(n-1,4)-1);
35
- },quartInOut:function(n){
36
- n=n*2;
37
- if(n<1){
38
- return Math.pow(n,4)/2;
39
- }
40
- n-=2;
41
- return -1/2*(Math.pow(n,4)-2);
42
- },quintIn:function(n){
43
- return Math.pow(n,5);
44
- },quintOut:function(n){
45
- return Math.pow(n-1,5)+1;
46
- },quintInOut:function(n){
47
- n=n*2;
48
- if(n<1){
49
- return Math.pow(n,5)/2;
50
- }
51
- n-=2;
52
- return (Math.pow(n,5)+2)/2;
53
- },sineIn:function(n){
54
- return -1*Math.cos(n*(Math.PI/2))+1;
55
- },sineOut:function(n){
56
- return Math.sin(n*(Math.PI/2));
57
- },sineInOut:function(n){
58
- return -1*(Math.cos(Math.PI*n)-1)/2;
59
- },expoIn:function(n){
60
- return (n==0)?0:Math.pow(2,10*(n-1));
61
- },expoOut:function(n){
62
- return (n==1)?1:(-1*Math.pow(2,-10*n)+1);
63
- },expoInOut:function(n){
64
- if(n==0){
65
- return 0;
66
- }
67
- if(n==1){
68
- return 1;
69
- }
70
- n=n*2;
71
- if(n<1){
72
- return Math.pow(2,10*(n-1))/2;
73
- }
74
- --n;
75
- return (-1*Math.pow(2,-10*n)+2)/2;
76
- },circIn:function(n){
77
- return -1*(Math.sqrt(1-Math.pow(n,2))-1);
78
- },circOut:function(n){
79
- n=n-1;
80
- return Math.sqrt(1-Math.pow(n,2));
81
- },circInOut:function(n){
82
- n=n*2;
83
- if(n<1){
84
- return -1/2*(Math.sqrt(1-Math.pow(n,2))-1);
85
- }
86
- n-=2;
87
- return 1/2*(Math.sqrt(1-Math.pow(n,2))+1);
88
- },backIn:function(n){
89
- var s=1.70158;
90
- return Math.pow(n,2)*((s+1)*n-s);
91
- },backOut:function(n){
92
- n=n-1;
93
- var s=1.70158;
94
- return Math.pow(n,2)*((s+1)*n+s)+1;
95
- },backInOut:function(n){
96
- var s=1.70158*1.525;
97
- n=n*2;
98
- if(n<1){
99
- return (Math.pow(n,2)*((s+1)*n-s))/2;
100
- }
101
- n-=2;
102
- return (Math.pow(n,2)*((s+1)*n+s)+2)/2;
103
- },elasticIn:function(n){
104
- if(n==0||n==1){
105
- return n;
106
- }
107
- var p=0.3;
108
- var s=p/4;
109
- n=n-1;
110
- return -1*Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p);
111
- },elasticOut:function(n){
112
- if(n==0||n==1){
113
- return n;
114
- }
115
- var p=0.3;
116
- var s=p/4;
117
- return Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p)+1;
118
- },elasticInOut:function(n){
119
- if(n==0){
120
- return 0;
121
- }
122
- n=n*2;
123
- if(n==2){
124
- return 1;
125
- }
126
- var p=0.3*1.5;
127
- var s=p/4;
128
- if(n<1){
129
- n-=1;
130
- return -0.5*(Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p));
131
- }
132
- n-=1;
133
- return 0.5*(Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p))+1;
134
- },bounceIn:function(n){
135
- return (1-_2.bounceOut(1-n));
136
- },bounceOut:function(n){
137
- var s=7.5625;
138
- var p=2.75;
139
- var l;
140
- if(n<(1/p)){
141
- l=s*Math.pow(n,2);
142
- }else{
143
- if(n<(2/p)){
144
- n-=(1.5/p);
145
- l=s*Math.pow(n,2)+0.75;
146
- }else{
147
- if(n<(2.5/p)){
148
- n-=(2.25/p);
149
- l=s*Math.pow(n,2)+0.9375;
150
- }else{
151
- n-=(2.625/p);
152
- l=s*Math.pow(n,2)+0.984375;
153
- }
154
- }
155
- }
156
- return l;
157
- },bounceInOut:function(n){
158
- if(n<0.5){
159
- return _2.bounceIn(n*2)/2;
160
- }
161
- return (_2.bounceOut(n*2-1)/2)+0.5;
162
- }};
163
- _1.setObject("dojo.fx.easing",_2);
164
- return _2;
165
- });
@@ -1,276 +0,0 @@
1
- define("dojo/fx/easing", ["../_base/lang"], function(lang){
2
-
3
- // module:
4
- // dojo/fx/easing
5
-
6
- var easingFuncs = {
7
- // summary:
8
- // Collection of easing functions to use beyond the default
9
- // `dojo._defaultEasing` function.
10
- // description:
11
- // Easing functions are used to manipulate the iteration through
12
- // an `dojo.Animation`s _Line. _Line being the properties of an Animation,
13
- // and the easing function progresses through that Line determining
14
- // how quickly (or slowly) it should go. Or more accurately: modify
15
- // the value of the _Line based on the percentage of animation completed.
16
- //
17
- // All functions follow a simple naming convention of "ease type" + "when".
18
- // If the name of the function ends in Out, the easing described appears
19
- // towards the end of the animation. "In" means during the beginning,
20
- // and InOut means both ranges of the Animation will applied, both
21
- // beginning and end.
22
- //
23
- // One does not call the easing function directly, it must be passed to
24
- // the `easing` property of an animation.
25
- // example:
26
- // | dojo.require("dojo.fx.easing");
27
- // | var anim = dojo.fadeOut({
28
- // | node: 'node',
29
- // | duration: 2000,
30
- // | // note there is no ()
31
- // | easing: dojo.fx.easing.quadIn
32
- // | }).play();
33
- //
34
-
35
- linear: function(/* Decimal? */n){
36
- // summary:
37
- // A linear easing function
38
- return n;
39
- },
40
-
41
- quadIn: function(/* Decimal? */n){
42
- return Math.pow(n, 2);
43
- },
44
-
45
- quadOut: function(/* Decimal? */n){
46
- return n * (n - 2) * -1;
47
- },
48
-
49
- quadInOut: function(/* Decimal? */n){
50
- n = n * 2;
51
- if(n < 1){ return Math.pow(n, 2) / 2; }
52
- return -1 * ((--n) * (n - 2) - 1) / 2;
53
- },
54
-
55
- cubicIn: function(/* Decimal? */n){
56
- return Math.pow(n, 3);
57
- },
58
-
59
- cubicOut: function(/* Decimal? */n){
60
- return Math.pow(n - 1, 3) + 1;
61
- },
62
-
63
- cubicInOut: function(/* Decimal? */n){
64
- n = n * 2;
65
- if(n < 1){ return Math.pow(n, 3) / 2; }
66
- n -= 2;
67
- return (Math.pow(n, 3) + 2) / 2;
68
- },
69
-
70
- quartIn: function(/* Decimal? */n){
71
- return Math.pow(n, 4);
72
- },
73
-
74
- quartOut: function(/* Decimal? */n){
75
- return -1 * (Math.pow(n - 1, 4) - 1);
76
- },
77
-
78
- quartInOut: function(/* Decimal? */n){
79
- n = n * 2;
80
- if(n < 1){ return Math.pow(n, 4) / 2; }
81
- n -= 2;
82
- return -1 / 2 * (Math.pow(n, 4) - 2);
83
- },
84
-
85
- quintIn: function(/* Decimal? */n){
86
- return Math.pow(n, 5);
87
- },
88
-
89
- quintOut: function(/* Decimal? */n){
90
- return Math.pow(n - 1, 5) + 1;
91
- },
92
-
93
- quintInOut: function(/* Decimal? */n){
94
- n = n * 2;
95
- if(n < 1){ return Math.pow(n, 5) / 2; }
96
- n -= 2;
97
- return (Math.pow(n, 5) + 2) / 2;
98
- },
99
-
100
- sineIn: function(/* Decimal? */n){
101
- return -1 * Math.cos(n * (Math.PI / 2)) + 1;
102
- },
103
-
104
- sineOut: function(/* Decimal? */n){
105
- return Math.sin(n * (Math.PI / 2));
106
- },
107
-
108
- sineInOut: function(/* Decimal? */n){
109
- return -1 * (Math.cos(Math.PI * n) - 1) / 2;
110
- },
111
-
112
- expoIn: function(/* Decimal? */n){
113
- return (n == 0) ? 0 : Math.pow(2, 10 * (n - 1));
114
- },
115
-
116
- expoOut: function(/* Decimal? */n){
117
- return (n == 1) ? 1 : (-1 * Math.pow(2, -10 * n) + 1);
118
- },
119
-
120
- expoInOut: function(/* Decimal? */n){
121
- if(n == 0){ return 0; }
122
- if(n == 1){ return 1; }
123
- n = n * 2;
124
- if(n < 1){ return Math.pow(2, 10 * (n - 1)) / 2; }
125
- --n;
126
- return (-1 * Math.pow(2, -10 * n) + 2) / 2;
127
- },
128
-
129
- circIn: function(/* Decimal? */n){
130
- return -1 * (Math.sqrt(1 - Math.pow(n, 2)) - 1);
131
- },
132
-
133
- circOut: function(/* Decimal? */n){
134
- n = n - 1;
135
- return Math.sqrt(1 - Math.pow(n, 2));
136
- },
137
-
138
- circInOut: function(/* Decimal? */n){
139
- n = n * 2;
140
- if(n < 1){ return -1 / 2 * (Math.sqrt(1 - Math.pow(n, 2)) - 1); }
141
- n -= 2;
142
- return 1 / 2 * (Math.sqrt(1 - Math.pow(n, 2)) + 1);
143
- },
144
-
145
- backIn: function(/* Decimal? */n){
146
- // summary:
147
- // An easing function that starts away from the target,
148
- // and quickly accelerates towards the end value.
149
- //
150
- // Use caution when the easing will cause values to become
151
- // negative as some properties cannot be set to negative values.
152
- var s = 1.70158;
153
- return Math.pow(n, 2) * ((s + 1) * n - s);
154
- },
155
-
156
- backOut: function(/* Decimal? */n){
157
- // summary:
158
- // An easing function that pops past the range briefly, and slowly comes back.
159
- // description:
160
- // An easing function that pops past the range briefly, and slowly comes back.
161
- //
162
- // Use caution when the easing will cause values to become negative as some
163
- // properties cannot be set to negative values.
164
-
165
- n = n - 1;
166
- var s = 1.70158;
167
- return Math.pow(n, 2) * ((s + 1) * n + s) + 1;
168
- },
169
-
170
- backInOut: function(/* Decimal? */n){
171
- // summary:
172
- // An easing function combining the effects of `backIn` and `backOut`
173
- // description:
174
- // An easing function combining the effects of `backIn` and `backOut`.
175
- // Use caution when the easing will cause values to become negative
176
- // as some properties cannot be set to negative values.
177
- var s = 1.70158 * 1.525;
178
- n = n * 2;
179
- if(n < 1){ return (Math.pow(n, 2) * ((s + 1) * n - s)) / 2; }
180
- n-=2;
181
- return (Math.pow(n, 2) * ((s + 1) * n + s) + 2) / 2;
182
- },
183
-
184
- elasticIn: function(/* Decimal? */n){
185
- // summary:
186
- // An easing function the elastically snaps from the start value
187
- // description:
188
- // An easing function the elastically snaps from the start value
189
- //
190
- // Use caution when the elasticity will cause values to become negative
191
- // as some properties cannot be set to negative values.
192
- if(n == 0 || n == 1){ return n; }
193
- var p = .3;
194
- var s = p / 4;
195
- n = n - 1;
196
- return -1 * Math.pow(2, 10 * n) * Math.sin((n - s) * (2 * Math.PI) / p);
197
- },
198
-
199
- elasticOut: function(/* Decimal? */n){
200
- // summary:
201
- // An easing function that elasticly snaps around the target value,
202
- // near the end of the Animation
203
- // description:
204
- // An easing function that elasticly snaps around the target value,
205
- // near the end of the Animation
206
- //
207
- // Use caution when the elasticity will cause values to become
208
- // negative as some properties cannot be set to negative values.
209
- if(n==0 || n == 1){ return n; }
210
- var p = .3;
211
- var s = p / 4;
212
- return Math.pow(2, -10 * n) * Math.sin((n - s) * (2 * Math.PI) / p) + 1;
213
- },
214
-
215
- elasticInOut: function(/* Decimal? */n){
216
- // summary:
217
- // An easing function that elasticly snaps around the value, near
218
- // the beginning and end of the Animation.
219
- // description:
220
- // An easing function that elasticly snaps around the value, near
221
- // the beginning and end of the Animation.
222
- //
223
- // Use caution when the elasticity will cause values to become
224
- // negative as some properties cannot be set to negative values.
225
- if(n == 0) return 0;
226
- n = n * 2;
227
- if(n == 2) return 1;
228
- var p = .3 * 1.5;
229
- var s = p / 4;
230
- if(n < 1){
231
- n -= 1;
232
- return -.5 * (Math.pow(2, 10 * n) * Math.sin((n - s) * (2 * Math.PI) / p));
233
- }
234
- n -= 1;
235
- return .5 * (Math.pow(2, -10 * n) * Math.sin((n - s) * (2 * Math.PI) / p)) + 1;
236
- },
237
-
238
- bounceIn: function(/* Decimal? */n){
239
- // summary:
240
- // An easing function that 'bounces' near the beginning of an Animation
241
- return (1 - easingFuncs.bounceOut(1 - n)); // Decimal
242
- },
243
-
244
- bounceOut: function(/* Decimal? */n){
245
- // summary:
246
- // An easing function that 'bounces' near the end of an Animation
247
- var s = 7.5625;
248
- var p = 2.75;
249
- var l;
250
- if(n < (1 / p)){
251
- l = s * Math.pow(n, 2);
252
- }else if(n < (2 / p)){
253
- n -= (1.5 / p);
254
- l = s * Math.pow(n, 2) + .75;
255
- }else if(n < (2.5 / p)){
256
- n -= (2.25 / p);
257
- l = s * Math.pow(n, 2) + .9375;
258
- }else{
259
- n -= (2.625 / p);
260
- l = s * Math.pow(n, 2) + .984375;
261
- }
262
- return l;
263
- },
264
-
265
- bounceInOut: function(/* Decimal? */n){
266
- // summary:
267
- // An easing function that 'bounces' at the beginning and end of the Animation
268
- if(n < 0.5){ return easingFuncs.bounceIn(n * 2) / 2; }
269
- return (easingFuncs.bounceOut(n * 2 - 1) / 2) + 0.5; // Decimal
270
- }
271
- };
272
-
273
- lang.setObject("dojo.fx.easing", easingFuncs);
274
-
275
- return easingFuncs;
276
- });