@datagrok/helm 2.13.7 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/CREDITS.md +164 -0
  2. package/dist/489.js +2 -0
  3. package/dist/489.js.map +1 -0
  4. package/dist/package-test.js +1 -1
  5. package/dist/package-test.js.map +1 -1
  6. package/dist/package.js +1 -1
  7. package/dist/package.js.map +1 -1
  8. package/files/samples/helm-showcase.csv +56 -0
  9. package/package.json +6 -10
  10. package/src/helm-helper.ts +61 -413
  11. package/src/package-api.ts +14 -11
  12. package/src/package-test.ts +0 -2
  13. package/src/package-utils.ts +8 -298
  14. package/src/package.g.ts +2 -8
  15. package/src/package.ts +11 -31
  16. package/src/tests/helm-activity-cliffs.ts +2 -2
  17. package/src/tests/helm-input-tests.ts +83 -0
  18. package/src/tests/parse-helm-tests.ts +7 -57
  19. package/src/tests/properties-widget-tests.ts +21 -11
  20. package/src/utils/helm-grid-cell-renderer.ts +141 -151
  21. package/src/utils/index.ts +3 -7
  22. package/src/widgets/helm-input.ts +42 -12
  23. package/src/widgets/properties-widget.ts +18 -11
  24. package/test-console-output-1.log +103 -706
  25. package/test-record-1.mp4 +0 -0
  26. package/webpack.config.js +1 -12
  27. package/dist/455.js +0 -2
  28. package/dist/455.js.map +0 -1
  29. package/dist/package-dojo.js +0 -2
  30. package/dist/package-dojo.js.map +0 -1
  31. package/helm/JSDraw/Pistoia.HELM-uncompressed.js +0 -9694
  32. package/helm/JSDraw/ReadMe.txt +0 -8
  33. package/helm/JSDraw/Scilligence.JSDraw2.Lite-uncompressed.js +0 -31126
  34. package/helm/dojo/package.ts +0 -41
  35. package/helm/dojo/types.ts +0 -12
  36. package/src/helm-web-editor.ts +0 -68
  37. package/src/tests/get-monomer-tests.ts +0 -214
  38. package/src/tests/helm-service-tests.ts +0 -98
  39. package/src/types/dojo.ts +0 -3
  40. package/src/types/index.ts +0 -5
  41. package/src/utils/get-monomer.ts +0 -90
  42. package/src/utils/helm-service.ts +0 -166
  43. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js +0 -63
  44. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js.uncompressed.js +0 -116
  45. package/vendor/dojo-1.10.10/dijit/Destroyable.js +0 -35
  46. package/vendor/dojo-1.10.10/dijit/Destroyable.js.uncompressed.js +0 -83
  47. package/vendor/dojo-1.10.10/dijit/Tooltip.js +0 -240
  48. package/vendor/dojo-1.10.10/dijit/Tooltip.js.uncompressed.js +0 -612
  49. package/vendor/dojo-1.10.10/dijit/Viewport.js +0 -44
  50. package/vendor/dojo-1.10.10/dijit/Viewport.js.uncompressed.js +0 -87
  51. package/vendor/dojo-1.10.10/dijit/WidgetSet.js +0 -76
  52. package/vendor/dojo-1.10.10/dijit/WidgetSet.js.uncompressed.js +0 -247
  53. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js +0 -94
  54. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js.uncompressed.js +0 -238
  55. package/vendor/dojo-1.10.10/dijit/_Contained.js +0 -17
  56. package/vendor/dojo-1.10.10/dijit/_Contained.js.uncompressed.js +0 -56
  57. package/vendor/dojo-1.10.10/dijit/_Container.js +0 -47
  58. package/vendor/dojo-1.10.10/dijit/_Container.js.uncompressed.js +0 -108
  59. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js +0 -198
  60. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js.uncompressed.js +0 -372
  61. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js +0 -11
  62. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js.uncompressed.js +0 -66
  63. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js +0 -188
  64. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js.uncompressed.js +0 -472
  65. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js +0 -8
  66. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js.uncompressed.js +0 -31
  67. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js +0 -90
  68. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js.uncompressed.js +0 -205
  69. package/vendor/dojo-1.10.10/dijit/_Widget.js +0 -66
  70. package/vendor/dojo-1.10.10/dijit/_Widget.js.uncompressed.js +0 -352
  71. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js +0 -353
  72. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js.uncompressed.js +0 -1200
  73. package/vendor/dojo-1.10.10/dijit/_base/focus.js +0 -68
  74. package/vendor/dojo-1.10.10/dijit/_base/focus.js.uncompressed.js +0 -207
  75. package/vendor/dojo-1.10.10/dijit/_base/manager.js +0 -10
  76. package/vendor/dojo-1.10.10/dijit/_base/manager.js.uncompressed.js +0 -35
  77. package/vendor/dojo-1.10.10/dijit/_base/place.js +0 -52
  78. package/vendor/dojo-1.10.10/dijit/_base/place.js.uncompressed.js +0 -131
  79. package/vendor/dojo-1.10.10/dijit/_base/popup.js +0 -23
  80. package/vendor/dojo-1.10.10/dijit/_base/popup.js.uncompressed.js +0 -58
  81. package/vendor/dojo-1.10.10/dijit/_base/scroll.js +0 -6
  82. package/vendor/dojo-1.10.10/dijit/_base/scroll.js.uncompressed.js +0 -22
  83. package/vendor/dojo-1.10.10/dijit/_base/sniff.js +0 -3
  84. package/vendor/dojo-1.10.10/dijit/_base/sniff.js.uncompressed.js +0 -12
  85. package/vendor/dojo-1.10.10/dijit/_base/typematic.js +0 -3
  86. package/vendor/dojo-1.10.10/dijit/_base/typematic.js.uncompressed.js +0 -10
  87. package/vendor/dojo-1.10.10/dijit/_base/wai.js +0 -32
  88. package/vendor/dojo-1.10.10/dijit/_base/wai.js.uncompressed.js +0 -109
  89. package/vendor/dojo-1.10.10/dijit/_base/window.js +0 -6
  90. package/vendor/dojo-1.10.10/dijit/_base/window.js.uncompressed.js +0 -18
  91. package/vendor/dojo-1.10.10/dijit/_base.js +0 -4
  92. package/vendor/dojo-1.10.10/dijit/_base.js.uncompressed.js +0 -27
  93. package/vendor/dojo-1.10.10/dijit/a11y.js +0 -109
  94. package/vendor/dojo-1.10.10/dijit/a11y.js.uncompressed.js +0 -191
  95. package/vendor/dojo-1.10.10/dijit/a11yclick.js +0 -66
  96. package/vendor/dojo-1.10.10/dijit/a11yclick.js.uncompressed.js +0 -139
  97. package/vendor/dojo-1.10.10/dijit/focus.js +0 -188
  98. package/vendor/dojo-1.10.10/dijit/focus.js.uncompressed.js +0 -371
  99. package/vendor/dojo-1.10.10/dijit/form/Button.js +0 -49
  100. package/vendor/dojo-1.10.10/dijit/form/Button.js.uncompressed.js +0 -130
  101. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js +0 -4
  102. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js.uncompressed.js +0 -27
  103. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js +0 -21
  104. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js.uncompressed.js +0 -86
  105. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js +0 -38
  106. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js.uncompressed.js +0 -102
  107. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js +0 -7
  108. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js.uncompressed.js +0 -26
  109. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js +0 -50
  110. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js.uncompressed.js +0 -116
  111. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js +0 -26
  112. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js.uncompressed.js +0 -81
  113. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js +0 -24
  114. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js.uncompressed.js +0 -51
  115. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js +0 -22
  116. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js.uncompressed.js +0 -67
  117. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js +0 -111
  118. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js.uncompressed.js +0 -254
  119. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js +0 -32
  120. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js.uncompressed.js +0 -69
  121. package/vendor/dojo-1.10.10/dijit/hccss.js +0 -9
  122. package/vendor/dojo-1.10.10/dijit/hccss.js.uncompressed.js +0 -21
  123. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js +0 -215
  124. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js.uncompressed.js +0 -550
  125. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js +0 -7
  126. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js.uncompressed.js +0 -25
  127. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js +0 -235
  128. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js.uncompressed.js +0 -653
  129. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js +0 -171
  130. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js.uncompressed.js +0 -411
  131. package/vendor/dojo-1.10.10/dijit/layout/StackController.js +0 -194
  132. package/vendor/dojo-1.10.10/dijit/layout/StackController.js.uncompressed.js +0 -410
  133. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js +0 -99
  134. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js.uncompressed.js +0 -236
  135. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js +0 -47
  136. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js.uncompressed.js +0 -190
  137. package/vendor/dojo-1.10.10/dijit/layout/utils.js +0 -77
  138. package/vendor/dojo-1.10.10/dijit/layout/utils.js.uncompressed.js +0 -151
  139. package/vendor/dojo-1.10.10/dijit/main.js +0 -4
  140. package/vendor/dojo-1.10.10/dijit/main.js.uncompressed.js +0 -16
  141. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js +0 -2
  142. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js.uncompressed.js +0 -21
  143. package/vendor/dojo-1.10.10/dijit/nls/loading.js +0 -2
  144. package/vendor/dojo-1.10.10/dijit/nls/loading.js.uncompressed.js +0 -47
  145. package/vendor/dojo-1.10.10/dijit/place.js +0 -142
  146. package/vendor/dojo-1.10.10/dijit/place.js.uncompressed.js +0 -407
  147. package/vendor/dojo-1.10.10/dijit/popup.js +0 -162
  148. package/vendor/dojo-1.10.10/dijit/popup.js.uncompressed.js +0 -441
  149. package/vendor/dojo-1.10.10/dijit/registry.js +0 -79
  150. package/vendor/dojo-1.10.10/dijit/registry.js.uncompressed.js +0 -159
  151. package/vendor/dojo-1.10.10/dijit/selection.js +0 -364
  152. package/vendor/dojo-1.10.10/dijit/selection.js.uncompressed.js +0 -525
  153. package/vendor/dojo-1.10.10/dijit/typematic.js +0 -96
  154. package/vendor/dojo-1.10.10/dijit/typematic.js.uncompressed.js +0 -211
  155. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js +0 -195
  156. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js.uncompressed.js +0 -761
  157. package/vendor/dojo-1.10.10/dojo/Stateful.js +0 -90
  158. package/vendor/dojo-1.10.10/dojo/Stateful.js.uncompressed.js +0 -218
  159. package/vendor/dojo-1.10.10/dojo/_base/url.js +0 -87
  160. package/vendor/dojo-1.10.10/dojo/_base/url.js.uncompressed.js +0 -109
  161. package/vendor/dojo-1.10.10/dojo/cache.js +0 -9
  162. package/vendor/dojo-1.10.10/dojo/cache.js.uncompressed.js +0 -7
  163. package/vendor/dojo-1.10.10/dojo/colors.js +0 -74
  164. package/vendor/dojo-1.10.10/dojo/colors.js.uncompressed.js +0 -232
  165. package/vendor/dojo-1.10.10/dojo/cookie.js +0 -48
  166. package/vendor/dojo-1.10.10/dojo/cookie.js.uncompressed.js +0 -98
  167. package/vendor/dojo-1.10.10/dojo/date/stamp.js +0 -82
  168. package/vendor/dojo-1.10.10/dojo/date/stamp.js.uncompressed.js +0 -144
  169. package/vendor/dojo-1.10.10/dojo/dojo.js +0 -7
  170. package/vendor/dojo-1.10.10/dojo/dojo.js.uncompressed.js +0 -18680
  171. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js +0 -27
  172. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js.uncompressed.js +0 -101
  173. package/vendor/dojo-1.10.10/dojo/fx/easing.js +0 -165
  174. package/vendor/dojo-1.10.10/dojo/fx/easing.js.uncompressed.js +0 -276
  175. package/vendor/dojo-1.10.10/dojo/fx.js +0 -271
  176. package/vendor/dojo-1.10.10/dojo/fx.js.uncompressed.js +0 -443
  177. package/vendor/dojo-1.10.10/dojo/hccss.js +0 -26
  178. package/vendor/dojo-1.10.10/dojo/hccss.js.uncompressed.js +0 -52
  179. package/vendor/dojo-1.10.10/dojo/html.js +0 -161
  180. package/vendor/dojo-1.10.10/dojo/html.js.uncompressed.js +0 -370
  181. package/vendor/dojo-1.10.10/dojo/io/iframe.js +0 -71
  182. package/vendor/dojo-1.10.10/dojo/io/iframe.js.uncompressed.js +0 -190
  183. package/vendor/dojo-1.10.10/dojo/io/script.js +0 -112
  184. package/vendor/dojo-1.10.10/dojo/io/script.js.uncompressed.js +0 -280
  185. package/vendor/dojo-1.10.10/dojo/parser.js +0 -437
  186. package/vendor/dojo-1.10.10/dojo/parser.js.uncompressed.js +0 -915
  187. package/vendor/dojo-1.10.10/dojo/promise/all.js +0 -59
  188. package/vendor/dojo-1.10.10/dojo/promise/all.js.uncompressed.js +0 -77
  189. package/vendor/dojo-1.10.10/dojo/regexp.js +0 -32
  190. package/vendor/dojo-1.10.10/dojo/regexp.js.uncompressed.js +0 -70
  191. package/vendor/dojo-1.10.10/dojo/request/iframe.js +0 -291
  192. package/vendor/dojo-1.10.10/dojo/request/iframe.js.uncompressed.js +0 -438
  193. package/vendor/dojo-1.10.10/dojo/request/script.js +0 -129
  194. package/vendor/dojo-1.10.10/dojo/request/script.js.uncompressed.js +0 -237
  195. package/vendor/dojo-1.10.10/dojo/require.js +0 -11
  196. package/vendor/dojo-1.10.10/dojo/require.js.uncompressed.js +0 -7
  197. package/vendor/dojo-1.10.10/dojo/resources/blank.gif +0 -0
  198. package/vendor/dojo-1.10.10/dojo/string.js +0 -67
  199. package/vendor/dojo-1.10.10/dojo/string.js.uncompressed.js +0 -181
  200. package/vendor/dojo-1.10.10/dojo/touch.js +0 -191
  201. package/vendor/dojo-1.10.10/dojo/touch.js.uncompressed.js +0 -468
  202. package/vendor/dojo-1.10.10/dojo/uacss.js +0 -36
  203. package/vendor/dojo-1.10.10/dojo/uacss.js.uncompressed.js +0 -85
  204. package/vendor/dojo-1.10.10/dojo/window.js +0 -141
  205. package/vendor/dojo-1.10.10/dojo/window.js.uncompressed.js +0 -241
  206. package/vendor/dojo-1.10.10/dojox/charting/Chart.js +0 -626
  207. package/vendor/dojo-1.10.10/dojox/charting/Chart.js.uncompressed.js +0 -1220
  208. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js +0 -5
  209. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js.uncompressed.js +0 -16
  210. package/vendor/dojo-1.10.10/dojox/charting/Element.js +0 -247
  211. package/vendor/dojo-1.10.10/dojox/charting/Element.js.uncompressed.js +0 -402
  212. package/vendor/dojo-1.10.10/dojox/charting/Series.js +0 -24
  213. package/vendor/dojo-1.10.10/dojox/charting/Series.js.uncompressed.js +0 -58
  214. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js +0 -191
  215. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js.uncompressed.js +0 -577
  216. package/vendor/dojo-1.10.10/dojox/charting/Theme.js +0 -42
  217. package/vendor/dojo-1.10.10/dojox/charting/Theme.js.uncompressed.js +0 -120
  218. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js +0 -11
  219. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js.uncompressed.js +0 -36
  220. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js +0 -77
  221. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js.uncompressed.js +0 -144
  222. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js +0 -58
  223. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js.uncompressed.js +0 -123
  224. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js +0 -54
  225. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js.uncompressed.js +0 -124
  226. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js +0 -28
  227. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js.uncompressed.js +0 -74
  228. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js +0 -116
  229. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js.uncompressed.js +0 -178
  230. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js +0 -24
  231. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js.uncompressed.js +0 -83
  232. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js +0 -557
  233. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js.uncompressed.js +0 -980
  234. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js +0 -65
  235. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js.uncompressed.js +0 -224
  236. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js +0 -91
  237. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js.uncompressed.js +0 -164
  238. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js +0 -7
  239. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js.uncompressed.js +0 -14
  240. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js +0 -168
  241. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js.uncompressed.js +0 -311
  242. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js +0 -61
  243. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js.uncompressed.js +0 -161
  244. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js +0 -141
  245. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js.uncompressed.js +0 -242
  246. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js +0 -126
  247. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js.uncompressed.js +0 -243
  248. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js +0 -108
  249. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js.uncompressed.js +0 -290
  250. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js +0 -13
  251. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js.uncompressed.js +0 -14
  252. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js +0 -13
  253. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js.uncompressed.js +0 -14
  254. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js +0 -153
  255. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js.uncompressed.js +0 -249
  256. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js +0 -253
  257. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js.uncompressed.js +0 -472
  258. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js +0 -182
  259. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js.uncompressed.js +0 -356
  260. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js +0 -6
  261. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js.uncompressed.js +0 -12
  262. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js +0 -6
  263. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js.uncompressed.js +0 -12
  264. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js +0 -7
  265. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js.uncompressed.js +0 -13
  266. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js +0 -110
  267. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js.uncompressed.js +0 -208
  268. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js +0 -303
  269. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js.uncompressed.js +0 -547
  270. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js +0 -134
  271. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js.uncompressed.js +0 -207
  272. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js +0 -299
  273. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js.uncompressed.js +0 -537
  274. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js +0 -24
  275. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js.uncompressed.js +0 -44
  276. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js +0 -7
  277. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js.uncompressed.js +0 -14
  278. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js +0 -22
  279. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js.uncompressed.js +0 -33
  280. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js +0 -20
  281. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js.uncompressed.js +0 -31
  282. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js +0 -6
  283. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js.uncompressed.js +0 -12
  284. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js +0 -68
  285. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js.uncompressed.js +0 -120
  286. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js +0 -209
  287. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js.uncompressed.js +0 -214
  288. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js +0 -76
  289. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js.uncompressed.js +0 -77
  290. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js +0 -59
  291. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js.uncompressed.js +0 -70
  292. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js +0 -220
  293. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js.uncompressed.js +0 -262
  294. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js +0 -23
  295. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js.uncompressed.js +0 -36
  296. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js +0 -39
  297. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js.uncompressed.js +0 -106
  298. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js +0 -5
  299. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js.uncompressed.js +0 -12
  300. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js +0 -4
  301. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js.uncompressed.js +0 -3
  302. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js +0 -102
  303. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js.uncompressed.js +0 -165
  304. package/vendor/dojo-1.10.10/dojox/color/Palette.js +0 -163
  305. package/vendor/dojo-1.10.10/dojox/color/Palette.js.uncompressed.js +0 -460
  306. package/vendor/dojo-1.10.10/dojox/color/_base.js +0 -174
  307. package/vendor/dojo-1.10.10/dojox/color/_base.js.uncompressed.js +0 -196
  308. package/vendor/dojo-1.10.10/dojox/gfx/_base.js +0 -253
  309. package/vendor/dojo-1.10.10/dojox/gfx/_base.js.uncompressed.js +0 -1024
  310. package/vendor/dojo-1.10.10/dojox/gfx/fx.js +0 -297
  311. package/vendor/dojo-1.10.10/dojox/gfx/fx.js.uncompressed.js +0 -350
  312. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js +0 -63
  313. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js.uncompressed.js +0 -91
  314. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js +0 -170
  315. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js.uncompressed.js +0 -501
  316. package/vendor/dojo-1.10.10/dojox/gfx/path.js +0 -319
  317. package/vendor/dojo-1.10.10/dojox/gfx/path.js.uncompressed.js +0 -478
  318. package/vendor/dojo-1.10.10/dojox/gfx/shape.js +0 -459
  319. package/vendor/dojo-1.10.10/dojox/gfx/shape.js.uncompressed.js +0 -1091
  320. package/vendor/dojo-1.10.10/dojox/gfx/svg.js +0 -662
  321. package/vendor/dojo-1.10.10/dojox/gfx/svg.js.uncompressed.js +0 -1023
  322. package/vendor/dojo-1.10.10/dojox/gfx/utils.js +0 -199
  323. package/vendor/dojo-1.10.10/dojox/gfx/utils.js.uncompressed.js +0 -322
  324. package/vendor/dojo-1.10.10/dojox/gfx.js +0 -2
  325. package/vendor/dojo-1.10.10/dojox/gfx.js.uncompressed.js +0 -1136
  326. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js +0 -151
  327. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js.uncompressed.js +0 -169
  328. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js +0 -93
  329. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js.uncompressed.js +0 -125
  330. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js +0 -81
  331. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js.uncompressed.js +0 -132
  332. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js +0 -54
  333. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js.uncompressed.js +0 -78
  334. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js +0 -61
  335. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js.uncompressed.js +0 -77
  336. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js +0 -87
  337. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js.uncompressed.js +0 -107
  338. package/vendor/dojo-1.10.10/dojox/lang/functional.js +0 -4
  339. package/vendor/dojo-1.10.10/dojox/lang/functional.js.uncompressed.js +0 -3
  340. package/vendor/dojo-1.10.10/dojox/lang/utils.js +0 -86
  341. package/vendor/dojo-1.10.10/dojox/lang/utils.js.uncompressed.js +0 -121
  342. package/vendor/dojo-1.10.10/dojox/main.js +0 -4
  343. package/vendor/dojo-1.10.10/dojox/main.js.uncompressed.js +0 -14
  344. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js +0 -112
  345. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js.uncompressed.js +0 -208
  346. package/vendor/dojo-1.10.10/dojox/storage/Provider.js +0 -62
  347. package/vendor/dojo-1.10.10/dojox/storage/Provider.js.uncompressed.js +0 -344
  348. package/vendor/dojo-1.10.10/dojox/storage/manager.js +0 -110
  349. package/vendor/dojo-1.10.10/dojox/storage/manager.js.uncompressed.js +0 -263
@@ -1,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
- });