@datagrok/helm 2.13.8 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (360) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/css/helm.css +40 -0
  3. package/dist/137.js +2 -0
  4. package/dist/137.js.map +1 -0
  5. package/dist/323.js +2 -0
  6. package/dist/323.js.map +1 -0
  7. package/dist/657.js +2 -0
  8. package/dist/657.js.map +1 -0
  9. package/dist/782.js +2 -0
  10. package/dist/782.js.map +1 -0
  11. package/dist/884.js +2 -0
  12. package/dist/884.js.map +1 -0
  13. package/dist/94.js +2 -0
  14. package/dist/94.js.map +1 -0
  15. package/dist/libraries_bio_src_monomer-works_seq-to-molfile-worker_ts.js +16420 -0
  16. package/dist/libraries_bio_src_monomer-works_seq-to-molfile-worker_ts.js.map +1 -0
  17. package/dist/package-test.js +1 -1
  18. package/dist/package-test.js.map +1 -1
  19. package/dist/package.js +1 -1
  20. package/dist/package.js.map +1 -1
  21. package/dist/vendors-HELM_node_modules_lru-cache_dist_esm_index_js.js +1560 -0
  22. package/dist/vendors-HELM_node_modules_lru-cache_dist_esm_index_js.js.map +1 -0
  23. package/files/samples/helm-showcase.csv +56 -0
  24. package/package.json +8 -12
  25. package/src/helm-helper.ts +134 -410
  26. package/src/package-api.ts +14 -11
  27. package/src/package-test.ts +0 -2
  28. package/src/package-utils.ts +8 -298
  29. package/src/package.g.ts +2 -8
  30. package/src/package.ts +11 -31
  31. package/src/tests/helm-activity-cliffs.ts +2 -2
  32. package/src/tests/helm-input-tests.ts +83 -0
  33. package/src/tests/parse-helm-tests.ts +7 -57
  34. package/src/tests/properties-widget-tests.ts +21 -11
  35. package/src/utils/helm-grid-cell-renderer.ts +141 -151
  36. package/src/utils/index.ts +3 -7
  37. package/src/widgets/helm-input.ts +42 -12
  38. package/src/widgets/properties-widget.ts +18 -11
  39. package/webpack.config.js +1 -12
  40. package/helm/JSDraw/Pistoia.HELM-uncompressed.js +0 -9694
  41. package/helm/JSDraw/ReadMe.txt +0 -8
  42. package/helm/JSDraw/Scilligence.JSDraw2.Lite-uncompressed.js +0 -31126
  43. package/helm/dojo/package.ts +0 -41
  44. package/helm/dojo/types.ts +0 -12
  45. package/src/helm-web-editor.ts +0 -68
  46. package/src/tests/get-monomer-tests.ts +0 -214
  47. package/src/tests/helm-service-tests.ts +0 -98
  48. package/src/types/dojo.ts +0 -3
  49. package/src/types/index.ts +0 -5
  50. package/src/utils/get-monomer.ts +0 -90
  51. package/src/utils/helm-service.ts +0 -166
  52. package/test-console-output-1.log +0 -919
  53. package/test-record-1.mp4 +0 -0
  54. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js +0 -63
  55. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js.uncompressed.js +0 -116
  56. package/vendor/dojo-1.10.10/dijit/Destroyable.js +0 -35
  57. package/vendor/dojo-1.10.10/dijit/Destroyable.js.uncompressed.js +0 -83
  58. package/vendor/dojo-1.10.10/dijit/Tooltip.js +0 -240
  59. package/vendor/dojo-1.10.10/dijit/Tooltip.js.uncompressed.js +0 -612
  60. package/vendor/dojo-1.10.10/dijit/Viewport.js +0 -44
  61. package/vendor/dojo-1.10.10/dijit/Viewport.js.uncompressed.js +0 -87
  62. package/vendor/dojo-1.10.10/dijit/WidgetSet.js +0 -76
  63. package/vendor/dojo-1.10.10/dijit/WidgetSet.js.uncompressed.js +0 -247
  64. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js +0 -94
  65. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js.uncompressed.js +0 -238
  66. package/vendor/dojo-1.10.10/dijit/_Contained.js +0 -17
  67. package/vendor/dojo-1.10.10/dijit/_Contained.js.uncompressed.js +0 -56
  68. package/vendor/dojo-1.10.10/dijit/_Container.js +0 -47
  69. package/vendor/dojo-1.10.10/dijit/_Container.js.uncompressed.js +0 -108
  70. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js +0 -198
  71. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js.uncompressed.js +0 -372
  72. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js +0 -11
  73. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js.uncompressed.js +0 -66
  74. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js +0 -188
  75. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js.uncompressed.js +0 -472
  76. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js +0 -8
  77. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js.uncompressed.js +0 -31
  78. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js +0 -90
  79. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js.uncompressed.js +0 -205
  80. package/vendor/dojo-1.10.10/dijit/_Widget.js +0 -66
  81. package/vendor/dojo-1.10.10/dijit/_Widget.js.uncompressed.js +0 -352
  82. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js +0 -353
  83. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js.uncompressed.js +0 -1200
  84. package/vendor/dojo-1.10.10/dijit/_base/focus.js +0 -68
  85. package/vendor/dojo-1.10.10/dijit/_base/focus.js.uncompressed.js +0 -207
  86. package/vendor/dojo-1.10.10/dijit/_base/manager.js +0 -10
  87. package/vendor/dojo-1.10.10/dijit/_base/manager.js.uncompressed.js +0 -35
  88. package/vendor/dojo-1.10.10/dijit/_base/place.js +0 -52
  89. package/vendor/dojo-1.10.10/dijit/_base/place.js.uncompressed.js +0 -131
  90. package/vendor/dojo-1.10.10/dijit/_base/popup.js +0 -23
  91. package/vendor/dojo-1.10.10/dijit/_base/popup.js.uncompressed.js +0 -58
  92. package/vendor/dojo-1.10.10/dijit/_base/scroll.js +0 -6
  93. package/vendor/dojo-1.10.10/dijit/_base/scroll.js.uncompressed.js +0 -22
  94. package/vendor/dojo-1.10.10/dijit/_base/sniff.js +0 -3
  95. package/vendor/dojo-1.10.10/dijit/_base/sniff.js.uncompressed.js +0 -12
  96. package/vendor/dojo-1.10.10/dijit/_base/typematic.js +0 -3
  97. package/vendor/dojo-1.10.10/dijit/_base/typematic.js.uncompressed.js +0 -10
  98. package/vendor/dojo-1.10.10/dijit/_base/wai.js +0 -32
  99. package/vendor/dojo-1.10.10/dijit/_base/wai.js.uncompressed.js +0 -109
  100. package/vendor/dojo-1.10.10/dijit/_base/window.js +0 -6
  101. package/vendor/dojo-1.10.10/dijit/_base/window.js.uncompressed.js +0 -18
  102. package/vendor/dojo-1.10.10/dijit/_base.js +0 -4
  103. package/vendor/dojo-1.10.10/dijit/_base.js.uncompressed.js +0 -27
  104. package/vendor/dojo-1.10.10/dijit/a11y.js +0 -109
  105. package/vendor/dojo-1.10.10/dijit/a11y.js.uncompressed.js +0 -191
  106. package/vendor/dojo-1.10.10/dijit/a11yclick.js +0 -66
  107. package/vendor/dojo-1.10.10/dijit/a11yclick.js.uncompressed.js +0 -139
  108. package/vendor/dojo-1.10.10/dijit/focus.js +0 -188
  109. package/vendor/dojo-1.10.10/dijit/focus.js.uncompressed.js +0 -371
  110. package/vendor/dojo-1.10.10/dijit/form/Button.js +0 -49
  111. package/vendor/dojo-1.10.10/dijit/form/Button.js.uncompressed.js +0 -130
  112. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js +0 -4
  113. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js.uncompressed.js +0 -27
  114. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js +0 -21
  115. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js.uncompressed.js +0 -86
  116. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js +0 -38
  117. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js.uncompressed.js +0 -102
  118. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js +0 -7
  119. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js.uncompressed.js +0 -26
  120. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js +0 -50
  121. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js.uncompressed.js +0 -116
  122. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js +0 -26
  123. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js.uncompressed.js +0 -81
  124. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js +0 -24
  125. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js.uncompressed.js +0 -51
  126. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js +0 -22
  127. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js.uncompressed.js +0 -67
  128. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js +0 -111
  129. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js.uncompressed.js +0 -254
  130. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js +0 -32
  131. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js.uncompressed.js +0 -69
  132. package/vendor/dojo-1.10.10/dijit/hccss.js +0 -9
  133. package/vendor/dojo-1.10.10/dijit/hccss.js.uncompressed.js +0 -21
  134. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js +0 -215
  135. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js.uncompressed.js +0 -550
  136. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js +0 -7
  137. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js.uncompressed.js +0 -25
  138. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js +0 -235
  139. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js.uncompressed.js +0 -653
  140. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js +0 -171
  141. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js.uncompressed.js +0 -411
  142. package/vendor/dojo-1.10.10/dijit/layout/StackController.js +0 -194
  143. package/vendor/dojo-1.10.10/dijit/layout/StackController.js.uncompressed.js +0 -410
  144. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js +0 -99
  145. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js.uncompressed.js +0 -236
  146. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js +0 -47
  147. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js.uncompressed.js +0 -190
  148. package/vendor/dojo-1.10.10/dijit/layout/utils.js +0 -77
  149. package/vendor/dojo-1.10.10/dijit/layout/utils.js.uncompressed.js +0 -151
  150. package/vendor/dojo-1.10.10/dijit/main.js +0 -4
  151. package/vendor/dojo-1.10.10/dijit/main.js.uncompressed.js +0 -16
  152. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js +0 -2
  153. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js.uncompressed.js +0 -21
  154. package/vendor/dojo-1.10.10/dijit/nls/loading.js +0 -2
  155. package/vendor/dojo-1.10.10/dijit/nls/loading.js.uncompressed.js +0 -47
  156. package/vendor/dojo-1.10.10/dijit/place.js +0 -142
  157. package/vendor/dojo-1.10.10/dijit/place.js.uncompressed.js +0 -407
  158. package/vendor/dojo-1.10.10/dijit/popup.js +0 -162
  159. package/vendor/dojo-1.10.10/dijit/popup.js.uncompressed.js +0 -441
  160. package/vendor/dojo-1.10.10/dijit/registry.js +0 -79
  161. package/vendor/dojo-1.10.10/dijit/registry.js.uncompressed.js +0 -159
  162. package/vendor/dojo-1.10.10/dijit/selection.js +0 -364
  163. package/vendor/dojo-1.10.10/dijit/selection.js.uncompressed.js +0 -525
  164. package/vendor/dojo-1.10.10/dijit/typematic.js +0 -96
  165. package/vendor/dojo-1.10.10/dijit/typematic.js.uncompressed.js +0 -211
  166. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js +0 -195
  167. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js.uncompressed.js +0 -761
  168. package/vendor/dojo-1.10.10/dojo/Stateful.js +0 -90
  169. package/vendor/dojo-1.10.10/dojo/Stateful.js.uncompressed.js +0 -218
  170. package/vendor/dojo-1.10.10/dojo/_base/url.js +0 -87
  171. package/vendor/dojo-1.10.10/dojo/_base/url.js.uncompressed.js +0 -109
  172. package/vendor/dojo-1.10.10/dojo/cache.js +0 -9
  173. package/vendor/dojo-1.10.10/dojo/cache.js.uncompressed.js +0 -7
  174. package/vendor/dojo-1.10.10/dojo/colors.js +0 -74
  175. package/vendor/dojo-1.10.10/dojo/colors.js.uncompressed.js +0 -232
  176. package/vendor/dojo-1.10.10/dojo/cookie.js +0 -48
  177. package/vendor/dojo-1.10.10/dojo/cookie.js.uncompressed.js +0 -98
  178. package/vendor/dojo-1.10.10/dojo/date/stamp.js +0 -82
  179. package/vendor/dojo-1.10.10/dojo/date/stamp.js.uncompressed.js +0 -144
  180. package/vendor/dojo-1.10.10/dojo/dojo.js +0 -7
  181. package/vendor/dojo-1.10.10/dojo/dojo.js.uncompressed.js +0 -18680
  182. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js +0 -27
  183. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js.uncompressed.js +0 -101
  184. package/vendor/dojo-1.10.10/dojo/fx/easing.js +0 -165
  185. package/vendor/dojo-1.10.10/dojo/fx/easing.js.uncompressed.js +0 -276
  186. package/vendor/dojo-1.10.10/dojo/fx.js +0 -271
  187. package/vendor/dojo-1.10.10/dojo/fx.js.uncompressed.js +0 -443
  188. package/vendor/dojo-1.10.10/dojo/hccss.js +0 -26
  189. package/vendor/dojo-1.10.10/dojo/hccss.js.uncompressed.js +0 -52
  190. package/vendor/dojo-1.10.10/dojo/html.js +0 -161
  191. package/vendor/dojo-1.10.10/dojo/html.js.uncompressed.js +0 -370
  192. package/vendor/dojo-1.10.10/dojo/io/iframe.js +0 -71
  193. package/vendor/dojo-1.10.10/dojo/io/iframe.js.uncompressed.js +0 -190
  194. package/vendor/dojo-1.10.10/dojo/io/script.js +0 -112
  195. package/vendor/dojo-1.10.10/dojo/io/script.js.uncompressed.js +0 -280
  196. package/vendor/dojo-1.10.10/dojo/parser.js +0 -437
  197. package/vendor/dojo-1.10.10/dojo/parser.js.uncompressed.js +0 -915
  198. package/vendor/dojo-1.10.10/dojo/promise/all.js +0 -59
  199. package/vendor/dojo-1.10.10/dojo/promise/all.js.uncompressed.js +0 -77
  200. package/vendor/dojo-1.10.10/dojo/regexp.js +0 -32
  201. package/vendor/dojo-1.10.10/dojo/regexp.js.uncompressed.js +0 -70
  202. package/vendor/dojo-1.10.10/dojo/request/iframe.js +0 -291
  203. package/vendor/dojo-1.10.10/dojo/request/iframe.js.uncompressed.js +0 -438
  204. package/vendor/dojo-1.10.10/dojo/request/script.js +0 -129
  205. package/vendor/dojo-1.10.10/dojo/request/script.js.uncompressed.js +0 -237
  206. package/vendor/dojo-1.10.10/dojo/require.js +0 -11
  207. package/vendor/dojo-1.10.10/dojo/require.js.uncompressed.js +0 -7
  208. package/vendor/dojo-1.10.10/dojo/resources/blank.gif +0 -0
  209. package/vendor/dojo-1.10.10/dojo/string.js +0 -67
  210. package/vendor/dojo-1.10.10/dojo/string.js.uncompressed.js +0 -181
  211. package/vendor/dojo-1.10.10/dojo/touch.js +0 -191
  212. package/vendor/dojo-1.10.10/dojo/touch.js.uncompressed.js +0 -468
  213. package/vendor/dojo-1.10.10/dojo/uacss.js +0 -36
  214. package/vendor/dojo-1.10.10/dojo/uacss.js.uncompressed.js +0 -85
  215. package/vendor/dojo-1.10.10/dojo/window.js +0 -141
  216. package/vendor/dojo-1.10.10/dojo/window.js.uncompressed.js +0 -241
  217. package/vendor/dojo-1.10.10/dojox/charting/Chart.js +0 -626
  218. package/vendor/dojo-1.10.10/dojox/charting/Chart.js.uncompressed.js +0 -1220
  219. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js +0 -5
  220. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js.uncompressed.js +0 -16
  221. package/vendor/dojo-1.10.10/dojox/charting/Element.js +0 -247
  222. package/vendor/dojo-1.10.10/dojox/charting/Element.js.uncompressed.js +0 -402
  223. package/vendor/dojo-1.10.10/dojox/charting/Series.js +0 -24
  224. package/vendor/dojo-1.10.10/dojox/charting/Series.js.uncompressed.js +0 -58
  225. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js +0 -191
  226. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js.uncompressed.js +0 -577
  227. package/vendor/dojo-1.10.10/dojox/charting/Theme.js +0 -42
  228. package/vendor/dojo-1.10.10/dojox/charting/Theme.js.uncompressed.js +0 -120
  229. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js +0 -11
  230. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js.uncompressed.js +0 -36
  231. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js +0 -77
  232. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js.uncompressed.js +0 -144
  233. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js +0 -58
  234. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js.uncompressed.js +0 -123
  235. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js +0 -54
  236. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js.uncompressed.js +0 -124
  237. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js +0 -28
  238. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js.uncompressed.js +0 -74
  239. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js +0 -116
  240. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js.uncompressed.js +0 -178
  241. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js +0 -24
  242. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js.uncompressed.js +0 -83
  243. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js +0 -557
  244. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js.uncompressed.js +0 -980
  245. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js +0 -65
  246. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js.uncompressed.js +0 -224
  247. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js +0 -91
  248. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js.uncompressed.js +0 -164
  249. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js +0 -7
  250. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js.uncompressed.js +0 -14
  251. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js +0 -168
  252. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js.uncompressed.js +0 -311
  253. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js +0 -61
  254. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js.uncompressed.js +0 -161
  255. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js +0 -141
  256. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js.uncompressed.js +0 -242
  257. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js +0 -126
  258. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js.uncompressed.js +0 -243
  259. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js +0 -108
  260. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js.uncompressed.js +0 -290
  261. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js +0 -13
  262. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js.uncompressed.js +0 -14
  263. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js +0 -13
  264. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js.uncompressed.js +0 -14
  265. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js +0 -153
  266. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js.uncompressed.js +0 -249
  267. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js +0 -253
  268. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js.uncompressed.js +0 -472
  269. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js +0 -182
  270. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js.uncompressed.js +0 -356
  271. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js +0 -6
  272. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js.uncompressed.js +0 -12
  273. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js +0 -6
  274. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js.uncompressed.js +0 -12
  275. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js +0 -7
  276. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js.uncompressed.js +0 -13
  277. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js +0 -110
  278. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js.uncompressed.js +0 -208
  279. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js +0 -303
  280. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js.uncompressed.js +0 -547
  281. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js +0 -134
  282. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js.uncompressed.js +0 -207
  283. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js +0 -299
  284. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js.uncompressed.js +0 -537
  285. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js +0 -24
  286. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js.uncompressed.js +0 -44
  287. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js +0 -7
  288. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js.uncompressed.js +0 -14
  289. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js +0 -22
  290. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js.uncompressed.js +0 -33
  291. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js +0 -20
  292. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js.uncompressed.js +0 -31
  293. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js +0 -6
  294. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js.uncompressed.js +0 -12
  295. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js +0 -68
  296. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js.uncompressed.js +0 -120
  297. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js +0 -209
  298. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js.uncompressed.js +0 -214
  299. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js +0 -76
  300. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js.uncompressed.js +0 -77
  301. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js +0 -59
  302. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js.uncompressed.js +0 -70
  303. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js +0 -220
  304. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js.uncompressed.js +0 -262
  305. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js +0 -23
  306. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js.uncompressed.js +0 -36
  307. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js +0 -39
  308. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js.uncompressed.js +0 -106
  309. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js +0 -5
  310. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js.uncompressed.js +0 -12
  311. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js +0 -4
  312. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js.uncompressed.js +0 -3
  313. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js +0 -102
  314. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js.uncompressed.js +0 -165
  315. package/vendor/dojo-1.10.10/dojox/color/Palette.js +0 -163
  316. package/vendor/dojo-1.10.10/dojox/color/Palette.js.uncompressed.js +0 -460
  317. package/vendor/dojo-1.10.10/dojox/color/_base.js +0 -174
  318. package/vendor/dojo-1.10.10/dojox/color/_base.js.uncompressed.js +0 -196
  319. package/vendor/dojo-1.10.10/dojox/gfx/_base.js +0 -253
  320. package/vendor/dojo-1.10.10/dojox/gfx/_base.js.uncompressed.js +0 -1024
  321. package/vendor/dojo-1.10.10/dojox/gfx/fx.js +0 -297
  322. package/vendor/dojo-1.10.10/dojox/gfx/fx.js.uncompressed.js +0 -350
  323. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js +0 -63
  324. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js.uncompressed.js +0 -91
  325. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js +0 -170
  326. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js.uncompressed.js +0 -501
  327. package/vendor/dojo-1.10.10/dojox/gfx/path.js +0 -319
  328. package/vendor/dojo-1.10.10/dojox/gfx/path.js.uncompressed.js +0 -478
  329. package/vendor/dojo-1.10.10/dojox/gfx/shape.js +0 -459
  330. package/vendor/dojo-1.10.10/dojox/gfx/shape.js.uncompressed.js +0 -1091
  331. package/vendor/dojo-1.10.10/dojox/gfx/svg.js +0 -662
  332. package/vendor/dojo-1.10.10/dojox/gfx/svg.js.uncompressed.js +0 -1023
  333. package/vendor/dojo-1.10.10/dojox/gfx/utils.js +0 -199
  334. package/vendor/dojo-1.10.10/dojox/gfx/utils.js.uncompressed.js +0 -322
  335. package/vendor/dojo-1.10.10/dojox/gfx.js +0 -2
  336. package/vendor/dojo-1.10.10/dojox/gfx.js.uncompressed.js +0 -1136
  337. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js +0 -151
  338. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js.uncompressed.js +0 -169
  339. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js +0 -93
  340. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js.uncompressed.js +0 -125
  341. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js +0 -81
  342. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js.uncompressed.js +0 -132
  343. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js +0 -54
  344. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js.uncompressed.js +0 -78
  345. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js +0 -61
  346. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js.uncompressed.js +0 -77
  347. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js +0 -87
  348. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js.uncompressed.js +0 -107
  349. package/vendor/dojo-1.10.10/dojox/lang/functional.js +0 -4
  350. package/vendor/dojo-1.10.10/dojox/lang/functional.js.uncompressed.js +0 -3
  351. package/vendor/dojo-1.10.10/dojox/lang/utils.js +0 -86
  352. package/vendor/dojo-1.10.10/dojox/lang/utils.js.uncompressed.js +0 -121
  353. package/vendor/dojo-1.10.10/dojox/main.js +0 -4
  354. package/vendor/dojo-1.10.10/dojox/main.js.uncompressed.js +0 -14
  355. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js +0 -112
  356. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js.uncompressed.js +0 -208
  357. package/vendor/dojo-1.10.10/dojox/storage/Provider.js +0 -62
  358. package/vendor/dojo-1.10.10/dojox/storage/Provider.js.uncompressed.js +0 -344
  359. package/vendor/dojo-1.10.10/dojox/storage/manager.js +0 -110
  360. package/vendor/dojo-1.10.10/dojox/storage/manager.js.uncompressed.js +0 -263
@@ -1,238 +0,0 @@
1
- define("dijit/_AttachMixin", [
2
- "require",
3
- "dojo/_base/array", // array.forEach
4
- "dojo/_base/connect", // remove for 2.0
5
- "dojo/_base/declare", // declare
6
- "dojo/_base/lang", // lang.getObject
7
- "dojo/mouse",
8
- "dojo/on",
9
- "dojo/touch",
10
- "./_WidgetBase"
11
- ], function(require, array, connect, declare, lang, mouse, on, touch, _WidgetBase){
12
-
13
- // module:
14
- // dijit/_AttachMixin
15
-
16
- // Map from string name like "mouseenter" to synthetic event like mouse.enter
17
- var synthEvents = lang.delegate(touch, {
18
- "mouseenter": mouse.enter,
19
- "mouseleave": mouse.leave,
20
- "keypress": connect._keypress // remove for 2.0
21
- });
22
-
23
- // To be lightweight, _AttachMixin doesn't require() dijit/a11yclick.
24
- // If the subclass has a template using "ondijitclick", it must load dijit/a11yclick itself.
25
- // In that case, the a11yclick variable below will get set to point to that synthetic event.
26
- var a11yclick;
27
-
28
- var _AttachMixin = declare("dijit._AttachMixin", null, {
29
- // summary:
30
- // Mixin for widgets to attach to dom nodes and setup events via
31
- // convenient data-dojo-attach-point and data-dojo-attach-event DOM attributes.
32
- //
33
- // Superclass of _TemplatedMixin, and can also be used standalone when templates are pre-rendered on the
34
- // server.
35
- //
36
- // Does not [yet] handle widgets like ContentPane with this.containerNode set. It should skip
37
- // scanning for data-dojo-attach-point and data-dojo-attach-event inside this.containerNode, but it
38
- // doesn't.
39
-
40
- /*=====
41
- // _attachPoints: [private] String[]
42
- // List of widget attribute names associated with data-dojo-attach-point=... in the
43
- // template, ex: ["containerNode", "labelNode"]
44
- _attachPoints: [],
45
-
46
- // _attachEvents: [private] Handle[]
47
- // List of connections associated with data-dojo-attach-event=... in the
48
- // template
49
- _attachEvents: [],
50
-
51
- // attachScope: [public] Object
52
- // Object to which attach points and events will be scoped. Defaults
53
- // to 'this'.
54
- attachScope: undefined,
55
-
56
- // searchContainerNode: [protected] Boolean
57
- // Search descendants of this.containerNode for data-dojo-attach-point and data-dojo-attach-event.
58
- // Should generally be left false (the default value) both for performance and to avoid failures when
59
- // this.containerNode holds other _AttachMixin instances with their own attach points and events.
60
- searchContainerNode: false,
61
- =====*/
62
-
63
- constructor: function(/*===== params, srcNodeRef =====*/){
64
- // summary:
65
- // Create the widget.
66
- // params: Object|null
67
- // Hash of initialization parameters for widget, including scalar values (like title, duration etc.)
68
- // and functions, typically callbacks like onClick.
69
- // The hash can contain any of the widget's properties, excluding read-only properties.
70
- // srcNodeRef: DOMNode|String?
71
- // If a srcNodeRef (DOM node) is specified, replace srcNodeRef with my generated DOM tree.
72
-
73
- this._attachPoints = [];
74
- this._attachEvents = [];
75
- },
76
-
77
-
78
- buildRendering: function(){
79
- // summary:
80
- // Attach to DOM nodes marked with special attributes.
81
- // tags:
82
- // protected
83
-
84
- this.inherited(arguments);
85
-
86
- // recurse through the node, looking for, and attaching to, our
87
- // attachment points and events, which should be defined on the template node.
88
- this._attachTemplateNodes(this.domNode);
89
-
90
- this._beforeFillContent(); // hook for _WidgetsInTemplateMixin
91
- },
92
-
93
- _beforeFillContent: function(){
94
- },
95
-
96
- _attachTemplateNodes: function(rootNode){
97
- // summary:
98
- // Iterate through the dom nodes and attach functions and nodes accordingly.
99
- // description:
100
- // Map widget properties and functions to the handlers specified in
101
- // the dom node and it's descendants. This function iterates over all
102
- // nodes and looks for these properties:
103
- //
104
- // - dojoAttachPoint/data-dojo-attach-point
105
- // - dojoAttachEvent/data-dojo-attach-event
106
- // rootNode: DomNode
107
- // The node to search for properties. All descendants will be searched.
108
- // tags:
109
- // private
110
-
111
- // DFS to process all nodes except those inside of this.containerNode
112
- var node = rootNode;
113
- while(true){
114
- if(node.nodeType == 1 && (this._processTemplateNode(node, function(n,p){ return n.getAttribute(p); },
115
- this._attach) || this.searchContainerNode) && node.firstChild){
116
- node = node.firstChild;
117
- }else{
118
- if(node == rootNode){ return; }
119
- while(!node.nextSibling){
120
- node = node.parentNode;
121
- if(node == rootNode){ return; }
122
- }
123
- node = node.nextSibling;
124
- }
125
- }
126
- },
127
-
128
- _processTemplateNode: function(/*DOMNode|Widget*/ baseNode, getAttrFunc, attachFunc){
129
- // summary:
130
- // Process data-dojo-attach-point and data-dojo-attach-event for given node or widget.
131
- // Returns true if caller should process baseNode's children too.
132
-
133
- var ret = true;
134
-
135
- // Process data-dojo-attach-point
136
- var _attachScope = this.attachScope || this,
137
- attachPoint = getAttrFunc(baseNode, "dojoAttachPoint") || getAttrFunc(baseNode, "data-dojo-attach-point");
138
- if(attachPoint){
139
- var point, points = attachPoint.split(/\s*,\s*/);
140
- while((point = points.shift())){
141
- if(lang.isArray(_attachScope[point])){
142
- _attachScope[point].push(baseNode);
143
- }else{
144
- _attachScope[point] = baseNode;
145
- }
146
- ret = (point != "containerNode");
147
- this._attachPoints.push(point);
148
- }
149
- }
150
-
151
- // Process data-dojo-attach-event
152
- var attachEvent = getAttrFunc(baseNode, "dojoAttachEvent") || getAttrFunc(baseNode, "data-dojo-attach-event");
153
- if(attachEvent){
154
- // NOTE: we want to support attributes that have the form
155
- // "domEvent: nativeEvent; ..."
156
- var event, events = attachEvent.split(/\s*,\s*/);
157
- var trim = lang.trim;
158
- while((event = events.shift())){
159
- if(event){
160
- var thisFunc = null;
161
- if(event.indexOf(":") != -1){
162
- // oh, if only JS had tuple assignment
163
- var funcNameArr = event.split(":");
164
- event = trim(funcNameArr[0]);
165
- thisFunc = trim(funcNameArr[1]);
166
- }else{
167
- event = trim(event);
168
- }
169
- if(!thisFunc){
170
- thisFunc = event;
171
- }
172
-
173
- this._attachEvents.push(attachFunc(baseNode, event, lang.hitch(_attachScope, thisFunc)));
174
- }
175
- }
176
- }
177
-
178
- return ret;
179
- },
180
-
181
- _attach: function(node, type, func){
182
- // summary:
183
- // Roughly corresponding to dojo/on, this is the default function for processing a
184
- // data-dojo-attach-event. Meant to attach to DOMNodes, not to widgets.
185
- // node: DOMNode
186
- // The node to setup a listener on.
187
- // type: String
188
- // Event name like "click".
189
- // getAttrFunc: Function
190
- // Function to get the specified property for a given DomNode/Widget.
191
- // attachFunc: Function?
192
- // Attaches an event handler from the specified node/widget to specified function.
193
-
194
- // Map special type names like "mouseenter" to synthetic events.
195
- // Subclasses are responsible to require() dijit/a11yclick if they want to use it.
196
- type = type.replace(/^on/, "").toLowerCase();
197
- if(type == "dijitclick"){
198
- type = a11yclick || (a11yclick = require("./a11yclick"));
199
- }else{
200
- type = synthEvents[type] || type;
201
- }
202
-
203
- return on(node, type, func);
204
- },
205
-
206
- _detachTemplateNodes: function() {
207
- // summary:
208
- // Detach and clean up the attachments made in _attachtempalteNodes.
209
-
210
- // Delete all attach points to prevent IE6 memory leaks.
211
- var _attachScope = this.attachScope || this;
212
- array.forEach(this._attachPoints, function(point){
213
- delete _attachScope[point];
214
- });
215
- this._attachPoints = [];
216
-
217
- // And same for event handlers
218
- array.forEach(this._attachEvents, function(handle){ handle.remove(); });
219
- this._attachEvents = [];
220
- },
221
-
222
- destroyRendering: function(){
223
- this._detachTemplateNodes();
224
- this.inherited(arguments);
225
- }
226
- });
227
-
228
- // These arguments can be specified for widgets which are used in templates.
229
- // Since any widget can be specified as sub widgets in template, mix it
230
- // into the base widget class. (This is a hack, but it's effective.).
231
- // Remove for 2.0. Also, hide from API doc parser.
232
- lang.extend(_WidgetBase, /*===== {} || =====*/ {
233
- dojoAttachEvent: "",
234
- dojoAttachPoint: ""
235
- });
236
-
237
- return _AttachMixin;
238
- });
@@ -1,17 +0,0 @@
1
- //>>built
2
- define("dijit/_Contained",["dojo/_base/declare","./registry"],function(_1,_2){
3
- return _1("dijit._Contained",null,{_getSibling:function(_3){
4
- var p=this.getParent();
5
- return (p&&p._getSiblingOfChild&&p._getSiblingOfChild(this,_3=="previous"?-1:1))||null;
6
- },getPreviousSibling:function(){
7
- return this._getSibling("previous");
8
- },getNextSibling:function(){
9
- return this._getSibling("next");
10
- },getIndexInParent:function(){
11
- var p=this.getParent();
12
- if(!p||!p.getIndexOfChild){
13
- return -1;
14
- }
15
- return p.getIndexOfChild(this);
16
- }});
17
- });
@@ -1,56 +0,0 @@
1
- define("dijit/_Contained", [
2
- "dojo/_base/declare", // declare
3
- "./registry" // registry.getEnclosingWidget(), registry.byNode()
4
- ], function(declare, registry){
5
-
6
- // module:
7
- // dijit/_Contained
8
-
9
- return declare("dijit._Contained", null, {
10
- // summary:
11
- // Mixin for widgets that are children of a container widget
12
- // example:
13
- // | // make a basic custom widget that knows about its parents
14
- // | declare("my.customClass",[dijit._WidgetBase, dijit._Contained],{});
15
-
16
- _getSibling: function(/*String*/ which){
17
- // summary:
18
- // Returns next or previous sibling
19
- // which:
20
- // Either "next" or "previous"
21
- // tags:
22
- // private
23
- var p = this.getParent();
24
- return (p && p._getSiblingOfChild && p._getSiblingOfChild(this, which == "previous" ? -1 : 1)) || null; // dijit/_WidgetBase
25
- },
26
-
27
- getPreviousSibling: function(){
28
- // summary:
29
- // Returns null if this is the first child of the parent,
30
- // otherwise returns the next element sibling to the "left".
31
-
32
- return this._getSibling("previous"); // dijit/_WidgetBase
33
- },
34
-
35
- getNextSibling: function(){
36
- // summary:
37
- // Returns null if this is the last child of the parent,
38
- // otherwise returns the next element sibling to the "right".
39
-
40
- return this._getSibling("next"); // dijit/_WidgetBase
41
- },
42
-
43
- getIndexInParent: function(){
44
- // summary:
45
- // Returns the index of this widget within its container parent.
46
- // It returns -1 if the parent does not exist, or if the parent
47
- // is not a dijit/_Container
48
-
49
- var p = this.getParent();
50
- if(!p || !p.getIndexOfChild){
51
- return -1; // int
52
- }
53
- return p.getIndexOfChild(this); // int
54
- }
55
- });
56
- });
@@ -1,47 +0,0 @@
1
- //>>built
2
- define("dijit/_Container",["dojo/_base/array","dojo/_base/declare","dojo/dom-construct","dojo/_base/kernel"],function(_1,_2,_3,_4){
3
- return _2("dijit._Container",null,{buildRendering:function(){
4
- this.inherited(arguments);
5
- if(!this.containerNode){
6
- this.containerNode=this.domNode;
7
- }
8
- },addChild:function(_5,_6){
9
- var _7=this.containerNode;
10
- if(_6>0){
11
- _7=_7.firstChild;
12
- while(_6>0){
13
- if(_7.nodeType==1){
14
- _6--;
15
- }
16
- _7=_7.nextSibling;
17
- }
18
- if(_7){
19
- _6="before";
20
- }else{
21
- _7=this.containerNode;
22
- _6="last";
23
- }
24
- }
25
- _3.place(_5.domNode,_7,_6);
26
- if(this._started&&!_5._started){
27
- _5.startup();
28
- }
29
- },removeChild:function(_8){
30
- if(typeof _8=="number"){
31
- _8=this.getChildren()[_8];
32
- }
33
- if(_8){
34
- var _9=_8.domNode;
35
- if(_9&&_9.parentNode){
36
- _9.parentNode.removeChild(_9);
37
- }
38
- }
39
- },hasChildren:function(){
40
- return this.getChildren().length>0;
41
- },_getSiblingOfChild:function(_a,_b){
42
- var _c=this.getChildren(),_d=_1.indexOf(_c,_a);
43
- return _c[_d+_b];
44
- },getIndexOfChild:function(_e){
45
- return _1.indexOf(this.getChildren(),_e);
46
- }});
47
- });
@@ -1,108 +0,0 @@
1
- define("dijit/_Container", [
2
- "dojo/_base/array", // array.forEach array.indexOf
3
- "dojo/_base/declare", // declare
4
- "dojo/dom-construct", // domConstruct.place
5
- "dojo/_base/kernel" // kernel.deprecated
6
- ], function(array, declare, domConstruct, kernel){
7
-
8
- // module:
9
- // dijit/_Container
10
-
11
- return declare("dijit._Container", null, {
12
- // summary:
13
- // Mixin for widgets that contain HTML and/or a set of widget children.
14
-
15
- buildRendering: function(){
16
- this.inherited(arguments);
17
- if(!this.containerNode){
18
- // All widgets with descendants must set containerNode.
19
- // NB: this code doesn't quite work right because for TabContainer it runs before
20
- // _TemplatedMixin::buildRendering(), and thus
21
- // sets this.containerNode to this.domNode, later to be overridden by the assignment in the template.
22
- this.containerNode = this.domNode;
23
- }
24
- },
25
-
26
- addChild: function(/*dijit/_WidgetBase*/ widget, /*int?*/ insertIndex){
27
- // summary:
28
- // Makes the given widget a child of this widget.
29
- // description:
30
- // Inserts specified child widget's dom node as a child of this widget's
31
- // container node, and possibly does other processing (such as layout).
32
-
33
- // I want to just call domConstruct.place(widget.domNode, this.containerNode, insertIndex), but the counting
34
- // is thrown off by text nodes and comment nodes that show up when constructed by markup.
35
- // In the future consider stripping those nodes on construction, either in the parser or this widget code.
36
- var refNode = this.containerNode;
37
- if(insertIndex > 0){
38
- // Old-school way to get nth child; dojo.query would be easier but _Container was weened from dojo.query
39
- // in #10087 to minimize download size. Not sure if that's still and issue with new smaller dojo/query.
40
- refNode = refNode.firstChild;
41
- while(insertIndex > 0){
42
- if(refNode.nodeType == 1){ insertIndex--; }
43
- refNode = refNode.nextSibling;
44
- }
45
- if(refNode){
46
- insertIndex = "before";
47
- }else{
48
- // to support addChild(child, n-1) where there are n children (should add child at end)
49
- refNode = this.containerNode;
50
- insertIndex = "last";
51
- }
52
- }
53
-
54
- domConstruct.place(widget.domNode, refNode, insertIndex);
55
-
56
- // If I've been started but the child widget hasn't been started,
57
- // start it now. Make sure to do this after widget has been
58
- // inserted into the DOM tree, so it can see that it's being controlled by me,
59
- // so it doesn't try to size itself.
60
- if(this._started && !widget._started){
61
- widget.startup();
62
- }
63
- },
64
-
65
- removeChild: function(/*Widget|int*/ widget){
66
- // summary:
67
- // Removes the passed widget instance from this widget but does
68
- // not destroy it. You can also pass in an integer indicating
69
- // the index within the container to remove (ie, removeChild(5) removes the sixth widget).
70
-
71
- if(typeof widget == "number"){
72
- widget = this.getChildren()[widget];
73
- }
74
-
75
- if(widget){
76
- var node = widget.domNode;
77
- if(node && node.parentNode){
78
- node.parentNode.removeChild(node); // detach but don't destroy
79
- }
80
- }
81
- },
82
-
83
- hasChildren: function(){
84
- // summary:
85
- // Returns true if widget has child widgets, i.e. if this.containerNode contains widgets.
86
- return this.getChildren().length > 0; // Boolean
87
- },
88
-
89
- _getSiblingOfChild: function(/*dijit/_WidgetBase*/ child, /*int*/ dir){
90
- // summary:
91
- // Get the next or previous widget sibling of child
92
- // dir:
93
- // if 1, get the next sibling
94
- // if -1, get the previous sibling
95
- // tags:
96
- // private
97
- var children = this.getChildren(),
98
- idx = array.indexOf(children, child); // int
99
- return children[idx + dir];
100
- },
101
-
102
- getIndexOfChild: function(/*dijit/_WidgetBase*/ child){
103
- // summary:
104
- // Gets the index of the child in this container or -1 if not found
105
- return array.indexOf(this.getChildren(), child); // int
106
- }
107
- });
108
- });
@@ -1,198 +0,0 @@
1
- //>>built
2
- define("dijit/_CssStateMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/dom-class","dojo/has","dojo/_base/lang","dojo/on","dojo/domReady","dojo/touch","dojo/_base/window","./a11yclick","./registry"],function(_1,_2,_3,_4,_5,_6,on,_7,_8,_9,_a,_b){
3
- var _c=_2("dijit._CssStateMixin",[],{hovering:false,active:false,_applyAttributes:function(){
4
- this.inherited(arguments);
5
- _1.forEach(["disabled","readOnly","checked","selected","focused","state","hovering","active","_opened"],function(_d){
6
- this.watch(_d,_6.hitch(this,"_setStateClass"));
7
- },this);
8
- for(var ap in this.cssStateNodes||{}){
9
- this._trackMouseState(this[ap],this.cssStateNodes[ap]);
10
- }
11
- this._trackMouseState(this.domNode,this.baseClass);
12
- this._setStateClass();
13
- },_cssMouseEvent:function(_e){
14
- if(!this.disabled){
15
- switch(_e.type){
16
- case "mouseover":
17
- case "MSPointerOver":
18
- case "pointerover":
19
- this._set("hovering",true);
20
- this._set("active",this._mouseDown);
21
- break;
22
- case "mouseout":
23
- case "MSPointerOut":
24
- case "pointerout":
25
- this._set("hovering",false);
26
- this._set("active",false);
27
- break;
28
- case "mousedown":
29
- case "touchstart":
30
- case "MSPointerDown":
31
- case "pointerdown":
32
- case "keydown":
33
- this._set("active",true);
34
- break;
35
- case "mouseup":
36
- case "dojotouchend":
37
- case "MSPointerUp":
38
- case "pointerup":
39
- case "keyup":
40
- this._set("active",false);
41
- break;
42
- }
43
- }
44
- },_setStateClass:function(){
45
- var _f=this.baseClass.split(" ");
46
- function _10(_11){
47
- _f=_f.concat(_1.map(_f,function(c){
48
- return c+_11;
49
- }),"dijit"+_11);
50
- };
51
- if(!this.isLeftToRight()){
52
- _10("Rtl");
53
- }
54
- var _12=this.checked=="mixed"?"Mixed":(this.checked?"Checked":"");
55
- if(this.checked){
56
- _10(_12);
57
- }
58
- if(this.state){
59
- _10(this.state);
60
- }
61
- if(this.selected){
62
- _10("Selected");
63
- }
64
- if(this._opened){
65
- _10("Opened");
66
- }
67
- if(this.disabled){
68
- _10("Disabled");
69
- }else{
70
- if(this.readOnly){
71
- _10("ReadOnly");
72
- }else{
73
- if(this.active){
74
- _10("Active");
75
- }else{
76
- if(this.hovering){
77
- _10("Hover");
78
- }
79
- }
80
- }
81
- }
82
- if(this.focused){
83
- _10("Focused");
84
- }
85
- var tn=this.stateNode||this.domNode,_13={};
86
- _1.forEach(tn.className.split(" "),function(c){
87
- _13[c]=true;
88
- });
89
- if("_stateClasses" in this){
90
- _1.forEach(this._stateClasses,function(c){
91
- delete _13[c];
92
- });
93
- }
94
- _1.forEach(_f,function(c){
95
- _13[c]=true;
96
- });
97
- var _14=[];
98
- for(var c in _13){
99
- _14.push(c);
100
- }
101
- tn.className=_14.join(" ");
102
- this._stateClasses=_f;
103
- },_subnodeCssMouseEvent:function(_15,_16,evt){
104
- if(this.disabled||this.readOnly){
105
- return;
106
- }
107
- function _17(_18){
108
- _4.toggle(_15,_16+"Hover",_18);
109
- };
110
- function _19(_1a){
111
- _4.toggle(_15,_16+"Active",_1a);
112
- };
113
- function _1b(_1c){
114
- _4.toggle(_15,_16+"Focused",_1c);
115
- };
116
- switch(evt.type){
117
- case "mouseover":
118
- case "MSPointerOver":
119
- case "pointerover":
120
- _17(true);
121
- break;
122
- case "mouseout":
123
- case "MSPointerOut":
124
- case "pointerout":
125
- _17(false);
126
- _19(false);
127
- break;
128
- case "mousedown":
129
- case "touchstart":
130
- case "MSPointerDown":
131
- case "pointerdown":
132
- case "keydown":
133
- _19(true);
134
- break;
135
- case "mouseup":
136
- case "MSPointerUp":
137
- case "pointerup":
138
- case "dojotouchend":
139
- case "keyup":
140
- _19(false);
141
- break;
142
- case "focus":
143
- case "focusin":
144
- _1b(true);
145
- break;
146
- case "blur":
147
- case "focusout":
148
- _1b(false);
149
- break;
150
- }
151
- },_trackMouseState:function(_1d,_1e){
152
- _1d._cssState=_1e;
153
- }});
154
- _7(function(){
155
- function _1f(evt,_20,_21){
156
- if(_21&&_3.isDescendant(_21,_20)){
157
- return;
158
- }
159
- for(var _22=_20;_22&&_22!=_21;_22=_22.parentNode){
160
- if(_22._cssState){
161
- var _23=_b.getEnclosingWidget(_22);
162
- if(_23){
163
- if(_22==_23.domNode){
164
- _23._cssMouseEvent(evt);
165
- }else{
166
- _23._subnodeCssMouseEvent(_22,_22._cssState,evt);
167
- }
168
- }
169
- }
170
- }
171
- };
172
- var _24=_9.body(),_25;
173
- on(_24,_8.over,function(evt){
174
- _1f(evt,evt.target,evt.relatedTarget);
175
- });
176
- on(_24,_8.out,function(evt){
177
- _1f(evt,evt.target,evt.relatedTarget);
178
- });
179
- on(_24,_a.press,function(evt){
180
- _25=evt.target;
181
- _1f(evt,_25);
182
- });
183
- on(_24,_a.release,function(evt){
184
- _1f(evt,_25);
185
- _25=null;
186
- });
187
- on(_24,"focusin, focusout",function(evt){
188
- var _26=evt.target;
189
- if(_26._cssState&&!_26.getAttribute("widgetId")){
190
- var _27=_b.getEnclosingWidget(_26);
191
- if(_27){
192
- _27._subnodeCssMouseEvent(_26,_26._cssState,evt);
193
- }
194
- }
195
- });
196
- });
197
- return _c;
198
- });