@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,468 +0,0 @@
1
- define("dojo/touch", ["./_base/kernel", "./aspect", "./dom", "./dom-class", "./_base/lang", "./on", "./has", "./mouse", "./domReady", "./_base/window"],
2
- function(dojo, aspect, dom, domClass, lang, on, has, mouse, domReady, win){
3
-
4
- // module:
5
- // dojo/touch
6
-
7
- var ios4 = has("ios") < 5;
8
-
9
- // Detect if platform supports Pointer Events, and if so, the names of the events (pointerdown vs. MSPointerDown).
10
- var hasPointer = has("pointer-events") || has("MSPointer"),
11
- pointer = (function () {
12
- var pointer = {};
13
- for (var type in { down: 1, move: 1, up: 1, cancel: 1, over: 1, out: 1 }) {
14
- pointer[type] = has("MSPointer") ?
15
- "MSPointer" + type.charAt(0).toUpperCase() + type.slice(1) :
16
- "pointer" + type;
17
- }
18
- return pointer;
19
- })();
20
-
21
- // Detect if platform supports the webkit touchstart/touchend/... events
22
- var hasTouch = has("touch-events");
23
-
24
- // Click generation variables
25
- var clicksInited, clickTracker, useTarget = false, clickTarget, clickX, clickY, clickDx, clickDy, clickTime;
26
-
27
- // Time of most recent touchstart, touchmove, or touchend event
28
- var lastTouch;
29
-
30
- function dualEvent(mouseType, touchType, pointerType){
31
- // Returns synthetic event that listens for both the specified mouse event and specified touch event.
32
- // But ignore fake mouse events that were generated due to the user touching the screen.
33
- if(hasPointer && pointerType){
34
- // IE10+: MSPointer* events are designed to handle both mouse and touch in a uniform way,
35
- // so just use that regardless of hasTouch.
36
- return function(node, listener){
37
- return on(node, pointerType, listener);
38
- };
39
- }else if(hasTouch){
40
- return function(node, listener){
41
- var handle1 = on(node, touchType, function(evt){
42
- listener.call(this, evt);
43
-
44
- // On slow mobile browsers (see https://bugs.dojotoolkit.org/ticket/17634),
45
- // a handler for a touch event may take >1s to run. That time shouldn't
46
- // be included in the calculation for lastTouch.
47
- lastTouch = (new Date()).getTime();
48
- }),
49
- handle2 = on(node, mouseType, function(evt){
50
- if(!lastTouch || (new Date()).getTime() > lastTouch + 1000){
51
- listener.call(this, evt);
52
- }
53
- });
54
- return {
55
- remove: function(){
56
- handle1.remove();
57
- handle2.remove();
58
- }
59
- };
60
- };
61
- }else{
62
- // Avoid creating listeners for touch events on performance sensitive older browsers like IE6
63
- return function(node, listener){
64
- return on(node, mouseType, listener);
65
- };
66
- }
67
- }
68
-
69
- function marked(/*DOMNode*/ node){
70
- // Search for node ancestor has been marked with the dojoClick property to indicate special processing.
71
- // Returns marked ancestor.
72
- do{
73
- if(node.dojoClick !== undefined){ return node; }
74
- }while(node = node.parentNode);
75
- }
76
-
77
- function doClicks(e, moveType, endType){
78
- // summary:
79
- // Setup touch listeners to generate synthetic clicks immediately (rather than waiting for the browser
80
- // to generate clicks after the double-tap delay) and consistently (regardless of whether event.preventDefault()
81
- // was called in an event listener. Synthetic clicks are generated only if a node or one of its ancestors has
82
- // its dojoClick property set to truthy. If a node receives synthetic clicks because one of its ancestors has its
83
- // dojoClick property set to truthy, you can disable synthetic clicks on this node by setting its own dojoClick property
84
- // to falsy.
85
-
86
- if(mouse.isRight(e)){
87
- return; // avoid spurious dojoclick event on IE10+; right click is just for context menu
88
- }
89
-
90
- var markedNode = marked(e.target);
91
- clickTracker = !e.target.disabled && markedNode && markedNode.dojoClick; // click threshold = true, number, x/y object, or "useTarget"
92
- if(clickTracker){
93
- useTarget = (clickTracker == "useTarget");
94
- clickTarget = (useTarget?markedNode:e.target);
95
- if(useTarget){
96
- // We expect a click, so prevent any other
97
- // default action on "touchpress"
98
- e.preventDefault();
99
- }
100
- clickX = e.changedTouches ? e.changedTouches[0].pageX - win.global.pageXOffset : e.clientX;
101
- clickY = e.changedTouches ? e.changedTouches[0].pageY - win.global.pageYOffset : e.clientY;
102
- clickDx = (typeof clickTracker == "object" ? clickTracker.x : (typeof clickTracker == "number" ? clickTracker : 0)) || 4;
103
- clickDy = (typeof clickTracker == "object" ? clickTracker.y : (typeof clickTracker == "number" ? clickTracker : 0)) || 4;
104
-
105
- // add move/end handlers only the first time a node with dojoClick is seen,
106
- // so we don't add too much overhead when dojoClick is never set.
107
- if(!clicksInited){
108
- clicksInited = true;
109
-
110
- function updateClickTracker(e){
111
- if(useTarget){
112
- clickTracker = dom.isDescendant(
113
- win.doc.elementFromPoint(
114
- (e.changedTouches ? e.changedTouches[0].pageX - win.global.pageXOffset : e.clientX),
115
- (e.changedTouches ? e.changedTouches[0].pageY - win.global.pageYOffset : e.clientY)),
116
- clickTarget);
117
- }else{
118
- clickTracker = clickTracker &&
119
- (e.changedTouches ? e.changedTouches[0].target : e.target) == clickTarget &&
120
- Math.abs((e.changedTouches ? e.changedTouches[0].pageX - win.global.pageXOffset : e.clientX) - clickX) <= clickDx &&
121
- Math.abs((e.changedTouches ? e.changedTouches[0].pageY - win.global.pageYOffset : e.clientY) - clickY) <= clickDy;
122
- }
123
- }
124
-
125
- win.doc.addEventListener(moveType, function(e){
126
- if(mouse.isRight(e)){
127
- return; // avoid spurious dojoclick event on IE10+; right click is just for context menu
128
- }
129
- updateClickTracker(e);
130
- if(useTarget){
131
- // prevent native scroll event and ensure touchend is
132
- // fire after touch moves between press and release.
133
- e.preventDefault();
134
- }
135
- }, true);
136
-
137
- win.doc.addEventListener(endType, function(e){
138
- if(mouse.isRight(e)){
139
- return; // avoid spurious dojoclick event on IE10+; right click is just for context menu
140
- }
141
- updateClickTracker(e);
142
- if(clickTracker){
143
- clickTime = (new Date()).getTime();
144
- var target = (useTarget?clickTarget:e.target);
145
- if(target.tagName === "LABEL"){
146
- // when clicking on a label, forward click to its associated input if any
147
- target = dom.byId(target.getAttribute("for")) || target;
148
- }
149
- //some attributes can be on the Touch object, not on the Event:
150
- //http://www.w3.org/TR/touch-events/#touch-interface
151
- var src = (e.changedTouches) ? e.changedTouches[0] : e;
152
- function createMouseEvent(type){
153
- //create the synthetic event.
154
- //http://www.w3.org/TR/DOM-Level-3-Events/#widl-MouseEvent-initMouseEvent
155
- var evt = document.createEvent("MouseEvents");
156
- evt._dojo_click = true;
157
- evt.initMouseEvent(type,
158
- true, //bubbles
159
- true, //cancelable
160
- e.view,
161
- e.detail,
162
- src.screenX,
163
- src.screenY,
164
- src.clientX,
165
- src.clientY,
166
- e.ctrlKey,
167
- e.altKey,
168
- e.shiftKey,
169
- e.metaKey,
170
- 0, //button
171
- null //related target
172
- );
173
- return evt;
174
- }
175
- var mouseDownEvt = createMouseEvent("mousedown");
176
- var mouseUpEvt = createMouseEvent("mouseup");
177
- var clickEvt = createMouseEvent("click");
178
-
179
- setTimeout(function(){
180
- on.emit(target, "mousedown", mouseDownEvt);
181
- on.emit(target, "mouseup", mouseUpEvt);
182
- on.emit(target, "click", clickEvt);
183
-
184
- // refresh clickTime in case app-defined click handler took a long time to run
185
- clickTime = (new Date()).getTime();
186
- }, 0);
187
- }
188
- }, true);
189
-
190
- function stopNativeEvents(type){
191
- win.doc.addEventListener(type, function(e){
192
- // Stop native events when we emitted our own click event. Note that the native click may occur
193
- // on a different node than the synthetic click event was generated on. For example,
194
- // click on a menu item, causing the menu to disappear, and then (~300ms later) the browser
195
- // sends a click event to the node that was *underneath* the menu. So stop all native events
196
- // sent shortly after ours, similar to what is done in dualEvent.
197
- // The INPUT.dijitOffScreen test is for offscreen inputs used in dijit/form/Button, on which
198
- // we call click() explicitly, we don't want to stop this event.
199
- if(clickTracker && !e._dojo_click &&
200
- (new Date()).getTime() <= clickTime + 1000 &&
201
- !(e.target.tagName == "INPUT" && domClass.contains(e.target, "dijitOffScreen"))){
202
- e.stopPropagation();
203
- e.stopImmediatePropagation && e.stopImmediatePropagation();
204
- if(type == "click" && (e.target.tagName != "INPUT" || e.target.type == "radio" || e.target.type == "checkbox")
205
- && e.target.tagName != "TEXTAREA" && e.target.tagName != "AUDIO" && e.target.tagName != "VIDEO"){
206
- // preventDefault() breaks textual <input>s on android, keyboard doesn't popup,
207
- // but it is still needed for checkboxes and radio buttons, otherwise in some cases
208
- // the checked state becomes inconsistent with the widget's state
209
- e.preventDefault();
210
- }
211
- }
212
- }, true);
213
- }
214
-
215
- stopNativeEvents("click");
216
-
217
- // We also stop mousedown/up since these would be sent well after with our "fast" click (300ms),
218
- // which can confuse some dijit widgets.
219
- stopNativeEvents("mousedown");
220
- stopNativeEvents("mouseup");
221
- }
222
- }
223
- }
224
-
225
- var hoveredNode;
226
-
227
- if(has("touch")){
228
- if(hasPointer){
229
- // MSPointer (IE10+) already has support for over and out, so we just need to init click support
230
- domReady(function(){
231
- win.doc.addEventListener(pointer.down, function(evt){
232
- doClicks(evt, pointer.move, pointer.up);
233
- }, true);
234
- });
235
- }else{
236
- domReady(function(){
237
- // Keep track of currently hovered node
238
- hoveredNode = win.body(); // currently hovered node
239
-
240
- win.doc.addEventListener("touchstart", function(evt){
241
- lastTouch = (new Date()).getTime();
242
-
243
- // Precede touchstart event with touch.over event. DnD depends on this.
244
- // Use addEventListener(cb, true) to run cb before any touchstart handlers on node run,
245
- // and to ensure this code runs even if the listener on the node does event.stop().
246
- var oldNode = hoveredNode;
247
- hoveredNode = evt.target;
248
- on.emit(oldNode, "dojotouchout", {
249
- relatedTarget: hoveredNode,
250
- bubbles: true
251
- });
252
- on.emit(hoveredNode, "dojotouchover", {
253
- relatedTarget: oldNode,
254
- bubbles: true
255
- });
256
-
257
- doClicks(evt, "touchmove", "touchend"); // init click generation
258
- }, true);
259
-
260
- function copyEventProps(evt){
261
- // Make copy of event object and also set bubbles:true. Used when calling on.emit().
262
- var props = lang.delegate(evt, {
263
- bubbles: true
264
- });
265
-
266
- if(has("ios") >= 6){
267
- // On iOS6 "touches" became a non-enumerable property, which
268
- // is not hit by for...in. Ditto for the other properties below.
269
- props.touches = evt.touches;
270
- props.altKey = evt.altKey;
271
- props.changedTouches = evt.changedTouches;
272
- props.ctrlKey = evt.ctrlKey;
273
- props.metaKey = evt.metaKey;
274
- props.shiftKey = evt.shiftKey;
275
- props.targetTouches = evt.targetTouches;
276
- }
277
-
278
- return props;
279
- }
280
-
281
- on(win.doc, "touchmove", function(evt){
282
- lastTouch = (new Date()).getTime();
283
-
284
- var newNode = win.doc.elementFromPoint(
285
- evt.pageX - (ios4 ? 0 : win.global.pageXOffset), // iOS 4 expects page coords
286
- evt.pageY - (ios4 ? 0 : win.global.pageYOffset)
287
- );
288
-
289
- if(newNode){
290
- // Fire synthetic touchover and touchout events on nodes since the browser won't do it natively.
291
- if(hoveredNode !== newNode){
292
- // touch out on the old node
293
- on.emit(hoveredNode, "dojotouchout", {
294
- relatedTarget: newNode,
295
- bubbles: true
296
- });
297
-
298
- // touchover on the new node
299
- on.emit(newNode, "dojotouchover", {
300
- relatedTarget: hoveredNode,
301
- bubbles: true
302
- });
303
-
304
- hoveredNode = newNode;
305
- }
306
-
307
- // Unlike a listener on "touchmove", on(node, "dojotouchmove", listener) fires when the finger
308
- // drags over the specified node, regardless of which node the touch started on.
309
- if(!on.emit(newNode, "dojotouchmove", copyEventProps(evt))){
310
- // emit returns false when synthetic event "dojotouchmove" is cancelled, so we prevent the
311
- // default behavior of the underlying native event "touchmove".
312
- evt.preventDefault();
313
- }
314
- }
315
- });
316
-
317
- // Fire a dojotouchend event on the node where the finger was before it was removed from the screen.
318
- // This is different than the native touchend, which fires on the node where the drag started.
319
- on(win.doc, "touchend", function(evt){
320
- lastTouch = (new Date()).getTime();
321
- var node = win.doc.elementFromPoint(
322
- evt.pageX - (ios4 ? 0 : win.global.pageXOffset), // iOS 4 expects page coords
323
- evt.pageY - (ios4 ? 0 : win.global.pageYOffset)
324
- ) || win.body(); // if out of the screen
325
-
326
- on.emit(node, "dojotouchend", copyEventProps(evt));
327
- });
328
- });
329
- }
330
- }
331
-
332
- //device neutral events - touch.press|move|release|cancel/over/out
333
- var touch = {
334
- press: dualEvent("mousedown", "touchstart", pointer.down),
335
- move: dualEvent("mousemove", "dojotouchmove", pointer.move),
336
- release: dualEvent("mouseup", "dojotouchend", pointer.up),
337
- cancel: dualEvent(mouse.leave, "touchcancel", hasPointer ? pointer.cancel : null),
338
- over: dualEvent("mouseover", "dojotouchover", pointer.over),
339
- out: dualEvent("mouseout", "dojotouchout", pointer.out),
340
- enter: mouse._eventHandler(dualEvent("mouseover","dojotouchover", pointer.over)),
341
- leave: mouse._eventHandler(dualEvent("mouseout", "dojotouchout", pointer.out))
342
- };
343
-
344
- /*=====
345
- touch = {
346
- // summary:
347
- // This module provides unified touch event handlers by exporting
348
- // press, move, release and cancel which can also run well on desktop.
349
- // Based on http://dvcs.w3.org/hg/webevents/raw-file/tip/touchevents.html
350
- // Also, if the dojoClick property is set to truthy on a DOM node, dojo/touch generates
351
- // click events immediately for this node and its descendants (except for descendants that
352
- // have a dojoClick property set to falsy), to avoid the delay before native browser click events,
353
- // and regardless of whether evt.preventDefault() was called in a touch.press event listener.
354
- //
355
- // example:
356
- // Used with dojo/on
357
- // | define(["dojo/on", "dojo/touch"], function(on, touch){
358
- // | on(node, touch.press, function(e){});
359
- // | on(node, touch.move, function(e){});
360
- // | on(node, touch.release, function(e){});
361
- // | on(node, touch.cancel, function(e){});
362
- // example:
363
- // Used with touch.* directly
364
- // | touch.press(node, function(e){});
365
- // | touch.move(node, function(e){});
366
- // | touch.release(node, function(e){});
367
- // | touch.cancel(node, function(e){});
368
- // example:
369
- // Have dojo/touch generate clicks without delay, with a default move threshold of 4 pixels
370
- // | node.dojoClick = true;
371
- // example:
372
- // Have dojo/touch generate clicks without delay, with a move threshold of 10 pixels horizontally and vertically
373
- // | node.dojoClick = 10;
374
- // example:
375
- // Have dojo/touch generate clicks without delay, with a move threshold of 50 pixels horizontally and 10 pixels vertically
376
- // | node.dojoClick = {x:50, y:5};
377
- // example:
378
- // Disable clicks without delay generated by dojo/touch on a node that has an ancestor with property dojoClick set to truthy
379
- // | node.dojoClick = false;
380
-
381
- press: function(node, listener){
382
- // summary:
383
- // Register a listener to 'touchstart'|'mousedown' for the given node
384
- // node: Dom
385
- // Target node to listen to
386
- // listener: Function
387
- // Callback function
388
- // returns:
389
- // A handle which will be used to remove the listener by handle.remove()
390
- },
391
- move: function(node, listener){
392
- // summary:
393
- // Register a listener that fires when the mouse cursor or a finger is dragged over the given node.
394
- // node: Dom
395
- // Target node to listen to
396
- // listener: Function
397
- // Callback function
398
- // returns:
399
- // A handle which will be used to remove the listener by handle.remove()
400
- },
401
- release: function(node, listener){
402
- // summary:
403
- // Register a listener to releasing the mouse button while the cursor is over the given node
404
- // (i.e. "mouseup") or for removing the finger from the screen while touching the given node.
405
- // node: Dom
406
- // Target node to listen to
407
- // listener: Function
408
- // Callback function
409
- // returns:
410
- // A handle which will be used to remove the listener by handle.remove()
411
- },
412
- cancel: function(node, listener){
413
- // summary:
414
- // Register a listener to 'touchcancel'|'mouseleave' for the given node
415
- // node: Dom
416
- // Target node to listen to
417
- // listener: Function
418
- // Callback function
419
- // returns:
420
- // A handle which will be used to remove the listener by handle.remove()
421
- },
422
- over: function(node, listener){
423
- // summary:
424
- // Register a listener to 'mouseover' or touch equivalent for the given node
425
- // node: Dom
426
- // Target node to listen to
427
- // listener: Function
428
- // Callback function
429
- // returns:
430
- // A handle which will be used to remove the listener by handle.remove()
431
- },
432
- out: function(node, listener){
433
- // summary:
434
- // Register a listener to 'mouseout' or touch equivalent for the given node
435
- // node: Dom
436
- // Target node to listen to
437
- // listener: Function
438
- // Callback function
439
- // returns:
440
- // A handle which will be used to remove the listener by handle.remove()
441
- },
442
- enter: function(node, listener){
443
- // summary:
444
- // Register a listener to mouse.enter or touch equivalent for the given node
445
- // node: Dom
446
- // Target node to listen to
447
- // listener: Function
448
- // Callback function
449
- // returns:
450
- // A handle which will be used to remove the listener by handle.remove()
451
- },
452
- leave: function(node, listener){
453
- // summary:
454
- // Register a listener to mouse.leave or touch equivalent for the given node
455
- // node: Dom
456
- // Target node to listen to
457
- // listener: Function
458
- // Callback function
459
- // returns:
460
- // A handle which will be used to remove the listener by handle.remove()
461
- }
462
- };
463
- =====*/
464
-
465
- 1 && (dojo.touch = touch);
466
-
467
- return touch;
468
- });
@@ -1,36 +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/uacss",["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(_1,_2,_3,_4,_5){
8
- var _6=_5.doc.documentElement,ie=_4("ie"),_7=_4("trident"),_8=_4("opera"),_9=Math.floor,ff=_4("ff"),_a=_1.boxModel.replace(/-/,""),_b={"dj_quirks":_4("quirks"),"dj_opera":_8,"dj_khtml":_4("khtml"),"dj_webkit":_4("webkit"),"dj_safari":_4("safari"),"dj_chrome":_4("chrome"),"dj_edge":_4("edge"),"dj_gecko":_4("mozilla"),"dj_ios":_4("ios"),"dj_android":_4("android")};
9
- if(ie){
10
- _b["dj_ie"]=true;
11
- _b["dj_ie"+_9(ie)]=true;
12
- _b["dj_iequirks"]=_4("quirks");
13
- }
14
- if(_7){
15
- _b["dj_trident"]=true;
16
- _b["dj_trident"+_9(_7)]=true;
17
- }
18
- if(ff){
19
- _b["dj_ff"+_9(ff)]=true;
20
- }
21
- _b["dj_"+_a]=true;
22
- var _c="";
23
- for(var _d in _b){
24
- if(_b[_d]){
25
- _c+=_d+" ";
26
- }
27
- }
28
- _6.className=_2.trim(_6.className+" "+_c);
29
- _3(function(){
30
- if(!_1.isBodyLtr()){
31
- var _e="dj_rtl dijitRtl "+_c.replace(/ /g,"-rtl ");
32
- _6.className=_2.trim(_6.className+" "+_e+"dj_rtl dijitRtl "+_c.replace(/ /g,"-rtl "));
33
- }
34
- });
35
- return _4;
36
- });
@@ -1,85 +0,0 @@
1
- define("dojo/uacss", ["./dom-geometry", "./_base/lang", "./domReady", "./sniff", "./_base/window"],
2
- function(geometry, lang, domReady, has, baseWindow){
3
-
4
- // module:
5
- // dojo/uacss
6
-
7
- /*=====
8
- return {
9
- // summary:
10
- // Applies pre-set CSS classes to the top-level HTML node, based on:
11
- //
12
- // - browser (ex: dj_ie)
13
- // - browser version (ex: dj_ie6)
14
- // - box model (ex: dj_contentBox)
15
- // - text direction (ex: dijitRtl)
16
- //
17
- // In addition, browser, browser version, and box model are
18
- // combined with an RTL flag when browser text is RTL. ex: dj_ie-rtl.
19
- //
20
- // Returns the has() method.
21
- };
22
- =====*/
23
-
24
- var
25
- html = baseWindow.doc.documentElement,
26
- ie = has("ie"),
27
- trident = has("trident"),
28
- opera = has("opera"),
29
- maj = Math.floor,
30
- ff = has("ff"),
31
- boxModel = geometry.boxModel.replace(/-/,''),
32
-
33
- classes = {
34
- "dj_quirks": has("quirks"),
35
-
36
- // NOTE: Opera not supported by dijit
37
- "dj_opera": opera,
38
-
39
- "dj_khtml": has("khtml"),
40
-
41
- "dj_webkit": has("webkit"),
42
- "dj_safari": has("safari"),
43
- "dj_chrome": has("chrome"),
44
- "dj_edge": has("edge"),
45
-
46
- "dj_gecko": has("mozilla"),
47
-
48
- "dj_ios": has("ios"),
49
- "dj_android": has("android")
50
- }; // no dojo unsupported browsers
51
-
52
- if(ie){
53
- classes["dj_ie"] = true;
54
- classes["dj_ie" + maj(ie)] = true;
55
- classes["dj_iequirks"] = has("quirks");
56
- }
57
- if(trident){
58
- classes["dj_trident"] = true;
59
- classes["dj_trident" + maj(trident)] = true;
60
- }
61
- if(ff){
62
- classes["dj_ff" + maj(ff)] = true;
63
- }
64
-
65
- classes["dj_" + boxModel] = true;
66
-
67
- // apply browser, browser version, and box model class names
68
- var classStr = "";
69
- for(var clz in classes){
70
- if(classes[clz]){
71
- classStr += clz + " ";
72
- }
73
- }
74
- html.className = lang.trim(html.className + " " + classStr);
75
-
76
- // If RTL mode, then add dj_rtl flag plus repeat existing classes with -rtl extension.
77
- // We can't run the code below until the <body> tag has loaded (so we can check for dir=rtl).
78
- domReady(function(){
79
- if(!geometry.isBodyLtr()){
80
- var rtlClassStr = "dj_rtl dijitRtl " + classStr.replace(/ /g, "-rtl ");
81
- html.className = lang.trim(html.className + " " + rtlClassStr + "dj_rtl dijitRtl " + classStr.replace(/ /g, "-rtl "));
82
- }
83
- });
84
- return has;
85
- });