@datagrok/helm 2.3.2 → 2.3.3

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