@datagrok/helm 2.13.7 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/CREDITS.md +164 -0
  2. package/dist/489.js +2 -0
  3. package/dist/489.js.map +1 -0
  4. package/dist/package-test.js +1 -1
  5. package/dist/package-test.js.map +1 -1
  6. package/dist/package.js +1 -1
  7. package/dist/package.js.map +1 -1
  8. package/files/samples/helm-showcase.csv +56 -0
  9. package/package.json +6 -10
  10. package/src/helm-helper.ts +61 -413
  11. package/src/package-api.ts +14 -11
  12. package/src/package-test.ts +0 -2
  13. package/src/package-utils.ts +8 -298
  14. package/src/package.g.ts +2 -8
  15. package/src/package.ts +11 -31
  16. package/src/tests/helm-activity-cliffs.ts +2 -2
  17. package/src/tests/helm-input-tests.ts +83 -0
  18. package/src/tests/parse-helm-tests.ts +7 -57
  19. package/src/tests/properties-widget-tests.ts +21 -11
  20. package/src/utils/helm-grid-cell-renderer.ts +141 -151
  21. package/src/utils/index.ts +3 -7
  22. package/src/widgets/helm-input.ts +42 -12
  23. package/src/widgets/properties-widget.ts +18 -11
  24. package/test-console-output-1.log +103 -706
  25. package/test-record-1.mp4 +0 -0
  26. package/webpack.config.js +1 -12
  27. package/dist/455.js +0 -2
  28. package/dist/455.js.map +0 -1
  29. package/dist/package-dojo.js +0 -2
  30. package/dist/package-dojo.js.map +0 -1
  31. package/helm/JSDraw/Pistoia.HELM-uncompressed.js +0 -9694
  32. package/helm/JSDraw/ReadMe.txt +0 -8
  33. package/helm/JSDraw/Scilligence.JSDraw2.Lite-uncompressed.js +0 -31126
  34. package/helm/dojo/package.ts +0 -41
  35. package/helm/dojo/types.ts +0 -12
  36. package/src/helm-web-editor.ts +0 -68
  37. package/src/tests/get-monomer-tests.ts +0 -214
  38. package/src/tests/helm-service-tests.ts +0 -98
  39. package/src/types/dojo.ts +0 -3
  40. package/src/types/index.ts +0 -5
  41. package/src/utils/get-monomer.ts +0 -90
  42. package/src/utils/helm-service.ts +0 -166
  43. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js +0 -63
  44. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js.uncompressed.js +0 -116
  45. package/vendor/dojo-1.10.10/dijit/Destroyable.js +0 -35
  46. package/vendor/dojo-1.10.10/dijit/Destroyable.js.uncompressed.js +0 -83
  47. package/vendor/dojo-1.10.10/dijit/Tooltip.js +0 -240
  48. package/vendor/dojo-1.10.10/dijit/Tooltip.js.uncompressed.js +0 -612
  49. package/vendor/dojo-1.10.10/dijit/Viewport.js +0 -44
  50. package/vendor/dojo-1.10.10/dijit/Viewport.js.uncompressed.js +0 -87
  51. package/vendor/dojo-1.10.10/dijit/WidgetSet.js +0 -76
  52. package/vendor/dojo-1.10.10/dijit/WidgetSet.js.uncompressed.js +0 -247
  53. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js +0 -94
  54. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js.uncompressed.js +0 -238
  55. package/vendor/dojo-1.10.10/dijit/_Contained.js +0 -17
  56. package/vendor/dojo-1.10.10/dijit/_Contained.js.uncompressed.js +0 -56
  57. package/vendor/dojo-1.10.10/dijit/_Container.js +0 -47
  58. package/vendor/dojo-1.10.10/dijit/_Container.js.uncompressed.js +0 -108
  59. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js +0 -198
  60. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js.uncompressed.js +0 -372
  61. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js +0 -11
  62. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js.uncompressed.js +0 -66
  63. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js +0 -188
  64. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js.uncompressed.js +0 -472
  65. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js +0 -8
  66. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js.uncompressed.js +0 -31
  67. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js +0 -90
  68. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js.uncompressed.js +0 -205
  69. package/vendor/dojo-1.10.10/dijit/_Widget.js +0 -66
  70. package/vendor/dojo-1.10.10/dijit/_Widget.js.uncompressed.js +0 -352
  71. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js +0 -353
  72. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js.uncompressed.js +0 -1200
  73. package/vendor/dojo-1.10.10/dijit/_base/focus.js +0 -68
  74. package/vendor/dojo-1.10.10/dijit/_base/focus.js.uncompressed.js +0 -207
  75. package/vendor/dojo-1.10.10/dijit/_base/manager.js +0 -10
  76. package/vendor/dojo-1.10.10/dijit/_base/manager.js.uncompressed.js +0 -35
  77. package/vendor/dojo-1.10.10/dijit/_base/place.js +0 -52
  78. package/vendor/dojo-1.10.10/dijit/_base/place.js.uncompressed.js +0 -131
  79. package/vendor/dojo-1.10.10/dijit/_base/popup.js +0 -23
  80. package/vendor/dojo-1.10.10/dijit/_base/popup.js.uncompressed.js +0 -58
  81. package/vendor/dojo-1.10.10/dijit/_base/scroll.js +0 -6
  82. package/vendor/dojo-1.10.10/dijit/_base/scroll.js.uncompressed.js +0 -22
  83. package/vendor/dojo-1.10.10/dijit/_base/sniff.js +0 -3
  84. package/vendor/dojo-1.10.10/dijit/_base/sniff.js.uncompressed.js +0 -12
  85. package/vendor/dojo-1.10.10/dijit/_base/typematic.js +0 -3
  86. package/vendor/dojo-1.10.10/dijit/_base/typematic.js.uncompressed.js +0 -10
  87. package/vendor/dojo-1.10.10/dijit/_base/wai.js +0 -32
  88. package/vendor/dojo-1.10.10/dijit/_base/wai.js.uncompressed.js +0 -109
  89. package/vendor/dojo-1.10.10/dijit/_base/window.js +0 -6
  90. package/vendor/dojo-1.10.10/dijit/_base/window.js.uncompressed.js +0 -18
  91. package/vendor/dojo-1.10.10/dijit/_base.js +0 -4
  92. package/vendor/dojo-1.10.10/dijit/_base.js.uncompressed.js +0 -27
  93. package/vendor/dojo-1.10.10/dijit/a11y.js +0 -109
  94. package/vendor/dojo-1.10.10/dijit/a11y.js.uncompressed.js +0 -191
  95. package/vendor/dojo-1.10.10/dijit/a11yclick.js +0 -66
  96. package/vendor/dojo-1.10.10/dijit/a11yclick.js.uncompressed.js +0 -139
  97. package/vendor/dojo-1.10.10/dijit/focus.js +0 -188
  98. package/vendor/dojo-1.10.10/dijit/focus.js.uncompressed.js +0 -371
  99. package/vendor/dojo-1.10.10/dijit/form/Button.js +0 -49
  100. package/vendor/dojo-1.10.10/dijit/form/Button.js.uncompressed.js +0 -130
  101. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js +0 -4
  102. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js.uncompressed.js +0 -27
  103. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js +0 -21
  104. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js.uncompressed.js +0 -86
  105. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js +0 -38
  106. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js.uncompressed.js +0 -102
  107. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js +0 -7
  108. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js.uncompressed.js +0 -26
  109. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js +0 -50
  110. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js.uncompressed.js +0 -116
  111. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js +0 -26
  112. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js.uncompressed.js +0 -81
  113. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js +0 -24
  114. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js.uncompressed.js +0 -51
  115. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js +0 -22
  116. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js.uncompressed.js +0 -67
  117. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js +0 -111
  118. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js.uncompressed.js +0 -254
  119. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js +0 -32
  120. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js.uncompressed.js +0 -69
  121. package/vendor/dojo-1.10.10/dijit/hccss.js +0 -9
  122. package/vendor/dojo-1.10.10/dijit/hccss.js.uncompressed.js +0 -21
  123. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js +0 -215
  124. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js.uncompressed.js +0 -550
  125. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js +0 -7
  126. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js.uncompressed.js +0 -25
  127. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js +0 -235
  128. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js.uncompressed.js +0 -653
  129. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js +0 -171
  130. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js.uncompressed.js +0 -411
  131. package/vendor/dojo-1.10.10/dijit/layout/StackController.js +0 -194
  132. package/vendor/dojo-1.10.10/dijit/layout/StackController.js.uncompressed.js +0 -410
  133. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js +0 -99
  134. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js.uncompressed.js +0 -236
  135. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js +0 -47
  136. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js.uncompressed.js +0 -190
  137. package/vendor/dojo-1.10.10/dijit/layout/utils.js +0 -77
  138. package/vendor/dojo-1.10.10/dijit/layout/utils.js.uncompressed.js +0 -151
  139. package/vendor/dojo-1.10.10/dijit/main.js +0 -4
  140. package/vendor/dojo-1.10.10/dijit/main.js.uncompressed.js +0 -16
  141. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js +0 -2
  142. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js.uncompressed.js +0 -21
  143. package/vendor/dojo-1.10.10/dijit/nls/loading.js +0 -2
  144. package/vendor/dojo-1.10.10/dijit/nls/loading.js.uncompressed.js +0 -47
  145. package/vendor/dojo-1.10.10/dijit/place.js +0 -142
  146. package/vendor/dojo-1.10.10/dijit/place.js.uncompressed.js +0 -407
  147. package/vendor/dojo-1.10.10/dijit/popup.js +0 -162
  148. package/vendor/dojo-1.10.10/dijit/popup.js.uncompressed.js +0 -441
  149. package/vendor/dojo-1.10.10/dijit/registry.js +0 -79
  150. package/vendor/dojo-1.10.10/dijit/registry.js.uncompressed.js +0 -159
  151. package/vendor/dojo-1.10.10/dijit/selection.js +0 -364
  152. package/vendor/dojo-1.10.10/dijit/selection.js.uncompressed.js +0 -525
  153. package/vendor/dojo-1.10.10/dijit/typematic.js +0 -96
  154. package/vendor/dojo-1.10.10/dijit/typematic.js.uncompressed.js +0 -211
  155. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js +0 -195
  156. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js.uncompressed.js +0 -761
  157. package/vendor/dojo-1.10.10/dojo/Stateful.js +0 -90
  158. package/vendor/dojo-1.10.10/dojo/Stateful.js.uncompressed.js +0 -218
  159. package/vendor/dojo-1.10.10/dojo/_base/url.js +0 -87
  160. package/vendor/dojo-1.10.10/dojo/_base/url.js.uncompressed.js +0 -109
  161. package/vendor/dojo-1.10.10/dojo/cache.js +0 -9
  162. package/vendor/dojo-1.10.10/dojo/cache.js.uncompressed.js +0 -7
  163. package/vendor/dojo-1.10.10/dojo/colors.js +0 -74
  164. package/vendor/dojo-1.10.10/dojo/colors.js.uncompressed.js +0 -232
  165. package/vendor/dojo-1.10.10/dojo/cookie.js +0 -48
  166. package/vendor/dojo-1.10.10/dojo/cookie.js.uncompressed.js +0 -98
  167. package/vendor/dojo-1.10.10/dojo/date/stamp.js +0 -82
  168. package/vendor/dojo-1.10.10/dojo/date/stamp.js.uncompressed.js +0 -144
  169. package/vendor/dojo-1.10.10/dojo/dojo.js +0 -7
  170. package/vendor/dojo-1.10.10/dojo/dojo.js.uncompressed.js +0 -18680
  171. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js +0 -27
  172. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js.uncompressed.js +0 -101
  173. package/vendor/dojo-1.10.10/dojo/fx/easing.js +0 -165
  174. package/vendor/dojo-1.10.10/dojo/fx/easing.js.uncompressed.js +0 -276
  175. package/vendor/dojo-1.10.10/dojo/fx.js +0 -271
  176. package/vendor/dojo-1.10.10/dojo/fx.js.uncompressed.js +0 -443
  177. package/vendor/dojo-1.10.10/dojo/hccss.js +0 -26
  178. package/vendor/dojo-1.10.10/dojo/hccss.js.uncompressed.js +0 -52
  179. package/vendor/dojo-1.10.10/dojo/html.js +0 -161
  180. package/vendor/dojo-1.10.10/dojo/html.js.uncompressed.js +0 -370
  181. package/vendor/dojo-1.10.10/dojo/io/iframe.js +0 -71
  182. package/vendor/dojo-1.10.10/dojo/io/iframe.js.uncompressed.js +0 -190
  183. package/vendor/dojo-1.10.10/dojo/io/script.js +0 -112
  184. package/vendor/dojo-1.10.10/dojo/io/script.js.uncompressed.js +0 -280
  185. package/vendor/dojo-1.10.10/dojo/parser.js +0 -437
  186. package/vendor/dojo-1.10.10/dojo/parser.js.uncompressed.js +0 -915
  187. package/vendor/dojo-1.10.10/dojo/promise/all.js +0 -59
  188. package/vendor/dojo-1.10.10/dojo/promise/all.js.uncompressed.js +0 -77
  189. package/vendor/dojo-1.10.10/dojo/regexp.js +0 -32
  190. package/vendor/dojo-1.10.10/dojo/regexp.js.uncompressed.js +0 -70
  191. package/vendor/dojo-1.10.10/dojo/request/iframe.js +0 -291
  192. package/vendor/dojo-1.10.10/dojo/request/iframe.js.uncompressed.js +0 -438
  193. package/vendor/dojo-1.10.10/dojo/request/script.js +0 -129
  194. package/vendor/dojo-1.10.10/dojo/request/script.js.uncompressed.js +0 -237
  195. package/vendor/dojo-1.10.10/dojo/require.js +0 -11
  196. package/vendor/dojo-1.10.10/dojo/require.js.uncompressed.js +0 -7
  197. package/vendor/dojo-1.10.10/dojo/resources/blank.gif +0 -0
  198. package/vendor/dojo-1.10.10/dojo/string.js +0 -67
  199. package/vendor/dojo-1.10.10/dojo/string.js.uncompressed.js +0 -181
  200. package/vendor/dojo-1.10.10/dojo/touch.js +0 -191
  201. package/vendor/dojo-1.10.10/dojo/touch.js.uncompressed.js +0 -468
  202. package/vendor/dojo-1.10.10/dojo/uacss.js +0 -36
  203. package/vendor/dojo-1.10.10/dojo/uacss.js.uncompressed.js +0 -85
  204. package/vendor/dojo-1.10.10/dojo/window.js +0 -141
  205. package/vendor/dojo-1.10.10/dojo/window.js.uncompressed.js +0 -241
  206. package/vendor/dojo-1.10.10/dojox/charting/Chart.js +0 -626
  207. package/vendor/dojo-1.10.10/dojox/charting/Chart.js.uncompressed.js +0 -1220
  208. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js +0 -5
  209. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js.uncompressed.js +0 -16
  210. package/vendor/dojo-1.10.10/dojox/charting/Element.js +0 -247
  211. package/vendor/dojo-1.10.10/dojox/charting/Element.js.uncompressed.js +0 -402
  212. package/vendor/dojo-1.10.10/dojox/charting/Series.js +0 -24
  213. package/vendor/dojo-1.10.10/dojox/charting/Series.js.uncompressed.js +0 -58
  214. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js +0 -191
  215. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js.uncompressed.js +0 -577
  216. package/vendor/dojo-1.10.10/dojox/charting/Theme.js +0 -42
  217. package/vendor/dojo-1.10.10/dojox/charting/Theme.js.uncompressed.js +0 -120
  218. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js +0 -11
  219. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js.uncompressed.js +0 -36
  220. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js +0 -77
  221. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js.uncompressed.js +0 -144
  222. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js +0 -58
  223. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js.uncompressed.js +0 -123
  224. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js +0 -54
  225. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js.uncompressed.js +0 -124
  226. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js +0 -28
  227. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js.uncompressed.js +0 -74
  228. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js +0 -116
  229. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js.uncompressed.js +0 -178
  230. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js +0 -24
  231. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js.uncompressed.js +0 -83
  232. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js +0 -557
  233. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js.uncompressed.js +0 -980
  234. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js +0 -65
  235. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js.uncompressed.js +0 -224
  236. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js +0 -91
  237. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js.uncompressed.js +0 -164
  238. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js +0 -7
  239. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js.uncompressed.js +0 -14
  240. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js +0 -168
  241. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js.uncompressed.js +0 -311
  242. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js +0 -61
  243. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js.uncompressed.js +0 -161
  244. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js +0 -141
  245. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js.uncompressed.js +0 -242
  246. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js +0 -126
  247. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js.uncompressed.js +0 -243
  248. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js +0 -108
  249. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js.uncompressed.js +0 -290
  250. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js +0 -13
  251. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js.uncompressed.js +0 -14
  252. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js +0 -13
  253. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js.uncompressed.js +0 -14
  254. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js +0 -153
  255. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js.uncompressed.js +0 -249
  256. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js +0 -253
  257. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js.uncompressed.js +0 -472
  258. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js +0 -182
  259. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js.uncompressed.js +0 -356
  260. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js +0 -6
  261. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js.uncompressed.js +0 -12
  262. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js +0 -6
  263. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js.uncompressed.js +0 -12
  264. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js +0 -7
  265. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js.uncompressed.js +0 -13
  266. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js +0 -110
  267. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js.uncompressed.js +0 -208
  268. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js +0 -303
  269. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js.uncompressed.js +0 -547
  270. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js +0 -134
  271. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js.uncompressed.js +0 -207
  272. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js +0 -299
  273. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js.uncompressed.js +0 -537
  274. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js +0 -24
  275. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js.uncompressed.js +0 -44
  276. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js +0 -7
  277. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js.uncompressed.js +0 -14
  278. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js +0 -22
  279. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js.uncompressed.js +0 -33
  280. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js +0 -20
  281. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js.uncompressed.js +0 -31
  282. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js +0 -6
  283. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js.uncompressed.js +0 -12
  284. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js +0 -68
  285. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js.uncompressed.js +0 -120
  286. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js +0 -209
  287. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js.uncompressed.js +0 -214
  288. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js +0 -76
  289. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js.uncompressed.js +0 -77
  290. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js +0 -59
  291. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js.uncompressed.js +0 -70
  292. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js +0 -220
  293. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js.uncompressed.js +0 -262
  294. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js +0 -23
  295. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js.uncompressed.js +0 -36
  296. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js +0 -39
  297. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js.uncompressed.js +0 -106
  298. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js +0 -5
  299. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js.uncompressed.js +0 -12
  300. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js +0 -4
  301. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js.uncompressed.js +0 -3
  302. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js +0 -102
  303. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js.uncompressed.js +0 -165
  304. package/vendor/dojo-1.10.10/dojox/color/Palette.js +0 -163
  305. package/vendor/dojo-1.10.10/dojox/color/Palette.js.uncompressed.js +0 -460
  306. package/vendor/dojo-1.10.10/dojox/color/_base.js +0 -174
  307. package/vendor/dojo-1.10.10/dojox/color/_base.js.uncompressed.js +0 -196
  308. package/vendor/dojo-1.10.10/dojox/gfx/_base.js +0 -253
  309. package/vendor/dojo-1.10.10/dojox/gfx/_base.js.uncompressed.js +0 -1024
  310. package/vendor/dojo-1.10.10/dojox/gfx/fx.js +0 -297
  311. package/vendor/dojo-1.10.10/dojox/gfx/fx.js.uncompressed.js +0 -350
  312. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js +0 -63
  313. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js.uncompressed.js +0 -91
  314. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js +0 -170
  315. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js.uncompressed.js +0 -501
  316. package/vendor/dojo-1.10.10/dojox/gfx/path.js +0 -319
  317. package/vendor/dojo-1.10.10/dojox/gfx/path.js.uncompressed.js +0 -478
  318. package/vendor/dojo-1.10.10/dojox/gfx/shape.js +0 -459
  319. package/vendor/dojo-1.10.10/dojox/gfx/shape.js.uncompressed.js +0 -1091
  320. package/vendor/dojo-1.10.10/dojox/gfx/svg.js +0 -662
  321. package/vendor/dojo-1.10.10/dojox/gfx/svg.js.uncompressed.js +0 -1023
  322. package/vendor/dojo-1.10.10/dojox/gfx/utils.js +0 -199
  323. package/vendor/dojo-1.10.10/dojox/gfx/utils.js.uncompressed.js +0 -322
  324. package/vendor/dojo-1.10.10/dojox/gfx.js +0 -2
  325. package/vendor/dojo-1.10.10/dojox/gfx.js.uncompressed.js +0 -1136
  326. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js +0 -151
  327. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js.uncompressed.js +0 -169
  328. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js +0 -93
  329. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js.uncompressed.js +0 -125
  330. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js +0 -81
  331. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js.uncompressed.js +0 -132
  332. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js +0 -54
  333. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js.uncompressed.js +0 -78
  334. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js +0 -61
  335. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js.uncompressed.js +0 -77
  336. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js +0 -87
  337. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js.uncompressed.js +0 -107
  338. package/vendor/dojo-1.10.10/dojox/lang/functional.js +0 -4
  339. package/vendor/dojo-1.10.10/dojox/lang/functional.js.uncompressed.js +0 -3
  340. package/vendor/dojo-1.10.10/dojox/lang/utils.js +0 -86
  341. package/vendor/dojo-1.10.10/dojox/lang/utils.js.uncompressed.js +0 -121
  342. package/vendor/dojo-1.10.10/dojox/main.js +0 -4
  343. package/vendor/dojo-1.10.10/dojox/main.js.uncompressed.js +0 -14
  344. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js +0 -112
  345. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js.uncompressed.js +0 -208
  346. package/vendor/dojo-1.10.10/dojox/storage/Provider.js +0 -62
  347. package/vendor/dojo-1.10.10/dojox/storage/Provider.js.uncompressed.js +0 -344
  348. package/vendor/dojo-1.10.10/dojox/storage/manager.js +0 -110
  349. package/vendor/dojo-1.10.10/dojox/storage/manager.js.uncompressed.js +0 -263
@@ -1,254 +0,0 @@
1
- define("dijit/form/_FormWidgetMixin", [
2
- "dojo/_base/array", // array.forEach
3
- "dojo/_base/declare", // declare
4
- "dojo/dom-attr", // domAttr.set
5
- "dojo/dom-style", // domStyle.get
6
- "dojo/_base/lang", // lang.hitch lang.isArray
7
- "dojo/mouse", // mouse.isLeft
8
- "dojo/on",
9
- "dojo/sniff", // has("webkit")
10
- "dojo/window", // winUtils.scrollIntoView
11
- "../a11y" // a11y.hasDefaultTabStop
12
- ], function(array, declare, domAttr, domStyle, lang, mouse, on, has, winUtils, a11y){
13
-
14
- // module:
15
- // dijit/form/_FormWidgetMixin
16
-
17
- return declare("dijit.form._FormWidgetMixin", null, {
18
- // summary:
19
- // Mixin for widgets corresponding to native HTML elements such as `<checkbox>` or `<button>`,
20
- // which can be children of a `<form>` node or a `dijit/form/Form` widget.
21
- //
22
- // description:
23
- // Represents a single HTML element.
24
- // All these widgets should have these attributes just like native HTML input elements.
25
- // You can set them during widget construction or afterwards, via `dijit/_WidgetBase.set()`.
26
- //
27
- // They also share some common methods.
28
-
29
- // name: [const] String
30
- // Name used when submitting form; same as "name" attribute or plain HTML elements
31
- name: "",
32
-
33
- // alt: String
34
- // Corresponds to the native HTML `<input>` element's attribute.
35
- alt: "",
36
-
37
- // value: String
38
- // Corresponds to the native HTML `<input>` element's attribute.
39
- value: "",
40
-
41
- // type: [const] String
42
- // Corresponds to the native HTML `<input>` element's attribute.
43
- type: "text",
44
-
45
- // type: String
46
- // Apply aria-label in markup to the widget's focusNode
47
- "aria-label": "focusNode",
48
-
49
- // tabIndex: String
50
- // Order fields are traversed when user hits the tab key
51
- tabIndex: "0",
52
- _setTabIndexAttr: "focusNode", // force copy even when tabIndex default value, needed since Button is <span>
53
-
54
- // disabled: Boolean
55
- // Should this widget respond to user input?
56
- // In markup, this is specified as "disabled='disabled'", or just "disabled".
57
- disabled: false,
58
-
59
- // intermediateChanges: Boolean
60
- // Fires onChange for each value change or only on demand
61
- intermediateChanges: false,
62
-
63
- // scrollOnFocus: Boolean
64
- // On focus, should this widget scroll into view?
65
- scrollOnFocus: true,
66
-
67
- // Override _WidgetBase mapping id to this.domNode, needs to be on focusNode so <label> etc.
68
- // works with screen reader
69
- _setIdAttr: "focusNode",
70
-
71
- _setDisabledAttr: function(/*Boolean*/ value){
72
- this._set("disabled", value);
73
-
74
- // Set disabled property if focusNode is an <input>, but aria-disabled attribute if focusNode is a <span>.
75
- // Can't use "disabled" in this.focusNode as a test because on IE, that's true for all nodes.
76
- if(/^(button|input|select|textarea|optgroup|option|fieldset)$/i.test(this.focusNode.tagName)){
77
- domAttr.set(this.focusNode, 'disabled', value);
78
- // IE has a Caret Browsing mode (hit F7 to activate) where disabled textboxes can be modified
79
- // textboxes marked readonly if disabled to avoid this issue.
80
- if (has('trident') && 'readOnly' in this) {
81
- domAttr.set(this.focusNode, 'readonly', value || this.readOnly);
82
- }
83
- }else{
84
- this.focusNode.setAttribute("aria-disabled", value ? "true" : "false");
85
- }
86
-
87
- // And also set disabled on the hidden <input> node
88
- if(this.valueNode){
89
- domAttr.set(this.valueNode, 'disabled', value);
90
- }
91
-
92
- if(value){
93
- // reset these, because after the domNode is disabled, we can no longer receive
94
- // mouse related events, see #4200
95
- this._set("hovering", false);
96
- this._set("active", false);
97
-
98
- // clear tab stop(s) on this widget's focusable node(s) (ComboBox has two focusable nodes)
99
- var attachPointNames = "tabIndex" in this.attributeMap ? this.attributeMap.tabIndex :
100
- ("_setTabIndexAttr" in this) ? this._setTabIndexAttr : "focusNode";
101
- array.forEach(lang.isArray(attachPointNames) ? attachPointNames : [attachPointNames], function(attachPointName){
102
- var node = this[attachPointName];
103
- // complex code because tabIndex=-1 on a <div> doesn't work on FF
104
- if(has("webkit") || a11y.hasDefaultTabStop(node)){ // see #11064 about webkit bug
105
- node.setAttribute('tabIndex', "-1");
106
- }else{
107
- node.removeAttribute('tabIndex');
108
- }
109
- }, this);
110
- }else{
111
- if(this.tabIndex != ""){
112
- this.set('tabIndex', this.tabIndex);
113
- }
114
- }
115
- },
116
-
117
- _onFocus: function(/*String*/ by){
118
- // If user clicks on the widget, even if the mouse is released outside of it,
119
- // this widget's focusNode should get focus (to mimic native browser behavior).
120
- // Browsers often need help to make sure the focus via mouse actually gets to the focusNode.
121
- // TODO: consider removing all of this for 2.0 or sooner, see #16622 etc.
122
- if(by == "mouse" && this.isFocusable()){
123
- // IE exhibits strange scrolling behavior when refocusing a node so only do it when !focused.
124
- var focusHandle = this.own(on(this.focusNode, "focus", function(){
125
- mouseUpHandle.remove();
126
- focusHandle.remove();
127
- }))[0];
128
- // Set a global event to handle mouseup, so it fires properly
129
- // even if the cursor leaves this.domNode before the mouse up event.
130
- var event = has("pointer-events") ? "pointerup" : has("MSPointer") ? "MSPointerUp" :
131
- has("touch-events") ? "touchend, mouseup" : // seems like overkill but see #16622, #16725
132
- "mouseup";
133
- var mouseUpHandle = this.own(on(this.ownerDocumentBody, event, lang.hitch(this, function(evt){
134
- mouseUpHandle.remove();
135
- focusHandle.remove();
136
- // if here, then the mousedown did not focus the focusNode as the default action
137
- if(this.focused){
138
- if(evt.type == "touchend"){
139
- this.defer("focus"); // native focus hasn't occurred yet
140
- }else{
141
- this.focus(); // native focus already occurred on mousedown
142
- }
143
- }
144
- })))[0];
145
- }
146
- if(this.scrollOnFocus){
147
- this.defer(function(){
148
- winUtils.scrollIntoView(this.domNode);
149
- }); // without defer, the input caret position can change on mouse click
150
- }
151
- this.inherited(arguments);
152
- },
153
-
154
- isFocusable: function(){
155
- // summary:
156
- // Tells if this widget is focusable or not. Used internally by dijit.
157
- // tags:
158
- // protected
159
- return !this.disabled && this.focusNode && (domStyle.get(this.domNode, "display") != "none");
160
- },
161
-
162
- focus: function(){
163
- // summary:
164
- // Put focus on this widget
165
- if(!this.disabled && this.focusNode.focus){
166
- try{
167
- this.focusNode.focus();
168
- }catch(e){
169
- }
170
- /*squelch errors from hidden nodes*/
171
- }
172
- },
173
-
174
- compare: function(/*anything*/ val1, /*anything*/ val2){
175
- // summary:
176
- // Compare 2 values (as returned by get('value') for this widget).
177
- // tags:
178
- // protected
179
- if(typeof val1 == "number" && typeof val2 == "number"){
180
- return (isNaN(val1) && isNaN(val2)) ? 0 : val1 - val2;
181
- }else if(val1 > val2){
182
- return 1;
183
- }else if(val1 < val2){
184
- return -1;
185
- }else{
186
- return 0;
187
- }
188
- },
189
-
190
- onChange: function(/*===== newValue =====*/){
191
- // summary:
192
- // Callback when this widget's value is changed.
193
- // tags:
194
- // callback
195
- },
196
-
197
- // _onChangeActive: [private] Boolean
198
- // Indicates that changes to the value should call onChange() callback.
199
- // This is false during widget initialization, to avoid calling onChange()
200
- // when the initial value is set.
201
- _onChangeActive: false,
202
-
203
- _handleOnChange: function(/*anything*/ newValue, /*Boolean?*/ priorityChange){
204
- // summary:
205
- // Called when the value of the widget is set. Calls onChange() if appropriate
206
- // newValue:
207
- // the new value
208
- // priorityChange:
209
- // For a slider, for example, dragging the slider is priorityChange==false,
210
- // but on mouse up, it's priorityChange==true. If intermediateChanges==false,
211
- // onChange is only called form priorityChange=true events.
212
- // tags:
213
- // private
214
- if(this._lastValueReported == undefined && (priorityChange === null || !this._onChangeActive)){
215
- // this block executes not for a change, but during initialization,
216
- // and is used to store away the original value (or for ToggleButton, the original checked state)
217
- this._resetValue = this._lastValueReported = newValue;
218
- }
219
- this._pendingOnChange = this._pendingOnChange
220
- || (typeof newValue != typeof this._lastValueReported)
221
- || (this.compare(newValue, this._lastValueReported) != 0);
222
- if((this.intermediateChanges || priorityChange || priorityChange === undefined) && this._pendingOnChange){
223
- this._lastValueReported = newValue;
224
- this._pendingOnChange = false;
225
- if(this._onChangeActive){
226
- if(this._onChangeHandle){
227
- this._onChangeHandle.remove();
228
- }
229
- // defer allows hidden value processing to run and
230
- // also the onChange handler can safely adjust focus, etc
231
- this._onChangeHandle = this.defer(
232
- function(){
233
- this._onChangeHandle = null;
234
- this.onChange(newValue);
235
- }); // try to collapse multiple onChange's fired faster than can be processed
236
- }
237
- }
238
- },
239
-
240
- create: function(){
241
- // Overrides _Widget.create()
242
- this.inherited(arguments);
243
- this._onChangeActive = true;
244
- },
245
-
246
- destroy: function(){
247
- if(this._onChangeHandle){ // destroy called before last onChange has fired
248
- this._onChangeHandle.remove();
249
- this.onChange(this._lastValueReported);
250
- }
251
- this.inherited(arguments);
252
- }
253
- });
254
- });
@@ -1,32 +0,0 @@
1
- //>>built
2
- define("dijit/form/_ToggleButtonMixin",["dojo/_base/declare","dojo/dom-attr"],function(_1,_2){
3
- return _1("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(_3){
4
- var _4=this.checked;
5
- this._set("checked",!_4);
6
- var _5=this.inherited(arguments);
7
- this.set("checked",_5?this.checked:_4);
8
- return _5;
9
- },_setCheckedAttr:function(_6,_7){
10
- this._set("checked",_6);
11
- var _8=this.focusNode||this.domNode;
12
- if(this._created){
13
- if(_2.get(_8,"checked")!=!!_6){
14
- _2.set(_8,"checked",!!_6);
15
- }
16
- }
17
- _8.setAttribute(this._aria_attr,String(_6));
18
- this._handleOnChange(_6,_7);
19
- },postCreate:function(){
20
- this.inherited(arguments);
21
- var _9=this.focusNode||this.domNode;
22
- if(this.checked){
23
- _9.setAttribute("checked","checked");
24
- }
25
- if(this._resetValue===undefined){
26
- this._lastValueReported=this._resetValue=this.checked;
27
- }
28
- },reset:function(){
29
- this._hasBeenBlurred=false;
30
- this.set("checked",this.params.checked||false);
31
- }});
32
- });
@@ -1,69 +0,0 @@
1
- define("dijit/form/_ToggleButtonMixin", [
2
- "dojo/_base/declare", // declare
3
- "dojo/dom-attr" // domAttr.set
4
- ], function(declare, domAttr){
5
-
6
- // module:
7
- // dijit/form/_ToggleButtonMixin
8
-
9
- return declare("dijit.form._ToggleButtonMixin", null, {
10
- // summary:
11
- // A mixin to provide functionality to allow a button that can be in two states (checked or not).
12
-
13
- // checked: Boolean
14
- // Corresponds to the native HTML `<input>` element's attribute.
15
- // In markup, specified as "checked='checked'" or just "checked".
16
- // True if the button is depressed, or the checkbox is checked,
17
- // or the radio button is selected, etc.
18
- checked: false,
19
-
20
- // aria-pressed for toggle buttons, and aria-checked for checkboxes
21
- _aria_attr: "aria-pressed",
22
-
23
- _onClick: function(/*Event*/ evt){
24
- var original = this.checked;
25
- this._set('checked', !original); // partially set the toggled value, assuming the toggle will work, so it can be overridden in the onclick handler
26
- var ret = this.inherited(arguments); // the user could reset the value here
27
- this.set('checked', ret ? this.checked : original); // officially set the toggled or user value, or reset it back
28
- return ret;
29
- },
30
-
31
- _setCheckedAttr: function(/*Boolean*/ value, /*Boolean?*/ priorityChange){
32
- this._set("checked", value);
33
- var node = this.focusNode || this.domNode;
34
- if(this._created){ // IE is not ready to handle checked attribute (affects tab order)
35
- // needlessly setting "checked" upsets IE's tab order
36
- if(domAttr.get(node, "checked") != !!value){
37
- domAttr.set(node, "checked", !!value); // "mixed" -> true
38
- }
39
- }
40
- node.setAttribute(this._aria_attr, String(value)); // aria values should be strings
41
- this._handleOnChange(value, priorityChange);
42
- },
43
-
44
- postCreate: function(){ // use postCreate instead of startup so users forgetting to call startup are OK
45
- this.inherited(arguments);
46
- var node = this.focusNode || this.domNode;
47
- if(this.checked){
48
- // need this here instead of on the template so IE8 tab order works
49
- node.setAttribute('checked', 'checked');
50
- }
51
-
52
- // Update our reset value if it hasn't yet been set (because this.set()
53
- // is only called when there *is* a value)
54
- if(this._resetValue === undefined){
55
- this._lastValueReported = this._resetValue = this.checked;
56
- }
57
- },
58
-
59
- reset: function(){
60
- // summary:
61
- // Reset the widget's value to what it was at initialization time
62
-
63
- this._hasBeenBlurred = false;
64
-
65
- // set checked state to original setting
66
- this.set('checked', this.params.checked || false);
67
- }
68
- });
69
- });
@@ -1,9 +0,0 @@
1
- //>>built
2
- define("dijit/hccss",["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],function(_1,_2,_3,_4){
3
- _3(function(){
4
- if(_2("highcontrast")){
5
- _1.add(_4.body(),"dijit_a11y");
6
- }
7
- });
8
- return _2;
9
- });
@@ -1,21 +0,0 @@
1
- define("dijit/hccss", ["dojo/dom-class", "dojo/hccss", "dojo/domReady", "dojo/_base/window"], function(domClass, has, domReady, win){
2
-
3
- // module:
4
- // dijit/hccss
5
-
6
- /*=====
7
- return function(){
8
- // summary:
9
- // Test if computer is in high contrast mode, and sets `dijit_a11y` flag on `<body>` if it is.
10
- // Deprecated, use ``dojo/hccss`` instead.
11
- };
12
- =====*/
13
-
14
- domReady(function(){
15
- if(has("highcontrast")){
16
- domClass.add(win.body(), "dijit_a11y");
17
- }
18
- });
19
-
20
- return has;
21
- });
@@ -1,215 +0,0 @@
1
- //>>built
2
- require({cache:{"url:dijit/layout/templates/AccordionButton.html":"<div data-dojo-attach-event='ondijitclick:_onTitleClick' class='dijitAccordionTitle' role=\"presentation\">\n\t<div data-dojo-attach-point='titleNode,focusNode' data-dojo-attach-event='onkeydown:_onTitleKeyDown'\n\t\t\tclass='dijitAccordionTitleFocus' role=\"tab\" aria-expanded=\"false\"\n\t\t><span class='dijitInline dijitAccordionArrow' role=\"presentation\"></span\n\t\t><span class='arrowTextUp' role=\"presentation\">+</span\n\t\t><span class='arrowTextDown' role=\"presentation\">-</span\n\t\t><span role=\"presentation\" class=\"dijitInline dijitIcon\" data-dojo-attach-point=\"iconNode\"></span>\n\t\t<span role=\"presentation\" data-dojo-attach-point='titleTextNode, textDirNode' class='dijitAccordionText'></span>\n\t</div>\n</div>\n"}});
3
- define("dijit/layout/AccordionContainer",["require","dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/keys","dojo/_base/lang","dojo/sniff","dojo/topic","../focus","../_base/manager","dojo/ready","../_Widget","../_Container","../_TemplatedMixin","../_CssStateMixin","./StackContainer","./ContentPane","dojo/text!./templates/AccordionButton.html","../a11yclick"],function(_1,_2,_3,fx,_4,_5,_6,_7,_8,_9,_a,_b,_c,_d,_e,_f,_10,_11,_12,_13,_14,_15,_16){
4
- var _17=_3("dijit.layout._AccordionButton",[_10,_12,_13],{templateString:_16,label:"",_setLabelAttr:{node:"titleTextNode",type:"innerHTML"},title:"",_setTitleAttr:{node:"titleTextNode",type:"attribute",attribute:"title"},iconClassAttr:"",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitAccordionTitle",getParent:function(){
5
- return this.parent;
6
- },buildRendering:function(){
7
- this.inherited(arguments);
8
- var _18=this.id.replace(" ","_");
9
- _5.set(this.titleTextNode,"id",_18+"_title");
10
- this.focusNode.setAttribute("aria-labelledby",_5.get(this.titleTextNode,"id"));
11
- _4.setSelectable(this.domNode,false);
12
- },getTitleHeight:function(){
13
- return _8.getMarginSize(this.domNode).h;
14
- },_onTitleClick:function(){
15
- var _19=this.getParent();
16
- _19.selectChild(this.contentWidget,true);
17
- _d.focus(this.focusNode);
18
- },_onTitleKeyDown:function(evt){
19
- return this.getParent()._onKeyDown(evt,this.contentWidget);
20
- },_setSelectedAttr:function(_1a){
21
- this._set("selected",_1a);
22
- this.focusNode.setAttribute("aria-expanded",_1a?"true":"false");
23
- this.focusNode.setAttribute("aria-selected",_1a?"true":"false");
24
- this.focusNode.setAttribute("tabIndex",_1a?"0":"-1");
25
- }});
26
- if(_b("dojo-bidi")){
27
- _17.extend({_setLabelAttr:function(_1b){
28
- this._set("label",_1b);
29
- _5.set(this.titleTextNode,"innerHTML",_1b);
30
- this.applyTextDir(this.titleTextNode);
31
- },_setTitleAttr:function(_1c){
32
- this._set("title",_1c);
33
- _5.set(this.titleTextNode,"title",_1c);
34
- this.applyTextDir(this.titleTextNode);
35
- }});
36
- }
37
- var _1d=_3("dijit.layout._AccordionInnerContainer"+(_b("dojo-bidi")?"_NoBidi":""),[_10,_13],{baseClass:"dijitAccordionInnerContainer",isLayoutContainer:true,buildRendering:function(){
38
- this.domNode=_7.place("<div class='"+this.baseClass+"' role='presentation'>",this.contentWidget.domNode,"after");
39
- var _1e=this.contentWidget,cls=_a.isString(this.buttonWidget)?_a.getObject(this.buttonWidget):this.buttonWidget;
40
- this.button=_1e._buttonWidget=(new cls({contentWidget:_1e,label:_1e.title,title:_1e.tooltip,dir:_1e.dir,lang:_1e.lang,textDir:_1e.textDir||this.textDir,iconClass:_1e.iconClass,id:_1e.id+"_button",parent:this.parent})).placeAt(this.domNode);
41
- this.containerNode=_7.place("<div class='dijitAccordionChildWrapper' role='tabpanel' style='display:none'>",this.domNode);
42
- this.containerNode.setAttribute("aria-labelledby",this.button.id);
43
- _7.place(this.contentWidget.domNode,this.containerNode);
44
- },postCreate:function(){
45
- this.inherited(arguments);
46
- var _1f=this.button,cw=this.contentWidget;
47
- this._contentWidgetWatches=[cw.watch("title",_a.hitch(this,function(_20,_21,_22){
48
- _1f.set("label",_22);
49
- })),cw.watch("tooltip",_a.hitch(this,function(_23,_24,_25){
50
- _1f.set("title",_25);
51
- })),cw.watch("iconClass",_a.hitch(this,function(_26,_27,_28){
52
- _1f.set("iconClass",_28);
53
- }))];
54
- },_setSelectedAttr:function(_29){
55
- this._set("selected",_29);
56
- this.button.set("selected",_29);
57
- if(_29){
58
- var cw=this.contentWidget;
59
- if(cw.onSelected){
60
- cw.onSelected();
61
- }
62
- }
63
- },startup:function(){
64
- this.contentWidget.startup();
65
- },destroy:function(){
66
- this.button.destroyRecursive();
67
- _2.forEach(this._contentWidgetWatches||[],function(w){
68
- w.unwatch();
69
- });
70
- delete this.contentWidget._buttonWidget;
71
- delete this.contentWidget._wrapperWidget;
72
- this.inherited(arguments);
73
- },destroyDescendants:function(_2a){
74
- this.contentWidget.destroyRecursive(_2a);
75
- }});
76
- if(_b("dojo-bidi")){
77
- _1d=_3("dijit.layout._AccordionInnerContainer",_1d,{postCreate:function(){
78
- this.inherited(arguments);
79
- var _2b=this.button;
80
- this._contentWidgetWatches.push(this.contentWidget.watch("textDir",function(_2c,_2d,_2e){
81
- _2b.set("textDir",_2e);
82
- }));
83
- }});
84
- }
85
- var _2f=_3("dijit.layout.AccordionContainer",_14,{duration:_e.defaultDuration,buttonWidget:_17,baseClass:"dijitAccordionContainer",buildRendering:function(){
86
- this.inherited(arguments);
87
- this.domNode.style.overflow="hidden";
88
- this.domNode.setAttribute("role","tablist");
89
- },startup:function(){
90
- if(this._started){
91
- return;
92
- }
93
- this.inherited(arguments);
94
- if(this.selectedChildWidget){
95
- this.selectedChildWidget._wrapperWidget.set("selected",true);
96
- }
97
- },layout:function(){
98
- var _30=this.selectedChildWidget;
99
- if(!_30){
100
- return;
101
- }
102
- var _31=_30._wrapperWidget.domNode,_32=_8.getMarginExtents(_31),_33=_8.getPadBorderExtents(_31),_34=_30._wrapperWidget.containerNode,_35=_8.getMarginExtents(_34),_36=_8.getPadBorderExtents(_34),_37=this._contentBox;
103
- var _38=0;
104
- _2.forEach(this.getChildren(),function(_39){
105
- if(_39!=_30){
106
- _38+=_8.getMarginSize(_39._wrapperWidget.domNode).h;
107
- }
108
- });
109
- this._verticalSpace=_37.h-_38-_32.h-_33.h-_35.h-_36.h-_30._buttonWidget.getTitleHeight();
110
- this._containerContentBox={h:this._verticalSpace,w:this._contentBox.w-_32.w-_33.w-_35.w-_36.w};
111
- if(_30){
112
- _30.resize(this._containerContentBox);
113
- }
114
- },_setupChild:function(_3a){
115
- _3a._wrapperWidget=_1d({contentWidget:_3a,buttonWidget:this.buttonWidget,id:_3a.id+"_wrapper",dir:_3a.dir,lang:_3a.lang,textDir:_3a.textDir||this.textDir,parent:this});
116
- this.inherited(arguments);
117
- _7.place(_3a.domNode,_3a._wrapper,"replace");
118
- },removeChild:function(_3b){
119
- if(_3b._wrapperWidget){
120
- _7.place(_3b.domNode,_3b._wrapperWidget.domNode,"after");
121
- _3b._wrapperWidget.destroy();
122
- delete _3b._wrapperWidget;
123
- }
124
- _6.remove(_3b.domNode,"dijitHidden");
125
- this.inherited(arguments);
126
- },getChildren:function(){
127
- return _2.map(this.inherited(arguments),function(_3c){
128
- return _3c.declaredClass=="dijit.layout._AccordionInnerContainer"?_3c.contentWidget:_3c;
129
- },this);
130
- },destroy:function(){
131
- if(this._animation){
132
- this._animation.stop();
133
- }
134
- _2.forEach(this.getChildren(),function(_3d){
135
- if(_3d._wrapperWidget){
136
- _3d._wrapperWidget.destroy();
137
- }else{
138
- _3d.destroyRecursive();
139
- }
140
- });
141
- this.inherited(arguments);
142
- },_showChild:function(_3e){
143
- _3e._wrapperWidget.containerNode.style.display="block";
144
- return this.inherited(arguments);
145
- },_hideChild:function(_3f){
146
- _3f._wrapperWidget.containerNode.style.display="none";
147
- this.inherited(arguments);
148
- },_transition:function(_40,_41,_42){
149
- if(_b("ie")<8){
150
- _42=false;
151
- }
152
- if(this._animation){
153
- this._animation.stop(true);
154
- delete this._animation;
155
- }
156
- var _43=this;
157
- if(_40){
158
- _40._wrapperWidget.set("selected",true);
159
- var d=this._showChild(_40);
160
- if(this.doLayout&&_40.resize){
161
- _40.resize(this._containerContentBox);
162
- }
163
- }
164
- if(_41){
165
- _41._wrapperWidget.set("selected",false);
166
- if(!_42){
167
- this._hideChild(_41);
168
- }
169
- }
170
- if(_42){
171
- var _44=_40._wrapperWidget.containerNode,_45=_41._wrapperWidget.containerNode;
172
- var _46=_40._wrapperWidget.containerNode,_47=_8.getMarginExtents(_46),_48=_8.getPadBorderExtents(_46),_49=_47.h+_48.h;
173
- _45.style.height=(_43._verticalSpace-_49)+"px";
174
- this._animation=new fx.Animation({node:_44,duration:this.duration,curve:[1,this._verticalSpace-_49-1],onAnimate:function(_4a){
175
- _4a=Math.floor(_4a);
176
- _44.style.height=_4a+"px";
177
- _45.style.height=(_43._verticalSpace-_49-_4a)+"px";
178
- },onEnd:function(){
179
- delete _43._animation;
180
- _44.style.height="auto";
181
- _41._wrapperWidget.containerNode.style.display="none";
182
- _45.style.height="auto";
183
- _43._hideChild(_41);
184
- }});
185
- this._animation.onStop=this._animation.onEnd;
186
- this._animation.play();
187
- }
188
- return d;
189
- },_onKeyDown:function(e,_4b){
190
- if(this.disabled||e.altKey||!(_4b||e.ctrlKey)){
191
- return;
192
- }
193
- var c=e.keyCode;
194
- if((_4b&&(c==_9.LEFT_ARROW||c==_9.UP_ARROW))||(e.ctrlKey&&c==_9.PAGE_UP)){
195
- this._adjacent(false)._buttonWidget._onTitleClick();
196
- e.stopPropagation();
197
- e.preventDefault();
198
- }else{
199
- if((_4b&&(c==_9.RIGHT_ARROW||c==_9.DOWN_ARROW))||(e.ctrlKey&&(c==_9.PAGE_DOWN||c==_9.TAB))){
200
- this._adjacent(true)._buttonWidget._onTitleClick();
201
- e.stopPropagation();
202
- e.preventDefault();
203
- }
204
- }
205
- }});
206
- if(_b("dijit-legacy-requires")){
207
- _f(0,function(){
208
- var _4c=["dijit/layout/AccordionPane"];
209
- _1(_4c);
210
- });
211
- }
212
- _2f._InnerContainer=_1d;
213
- _2f._Button=_17;
214
- return _2f;
215
- });