@datagrok/helm 2.13.8 → 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 (348) hide show
  1. package/dist/489.js +2 -0
  2. package/dist/489.js.map +1 -0
  3. package/dist/package-test.js +1 -1
  4. package/dist/package-test.js.map +1 -1
  5. package/dist/package.js +1 -1
  6. package/dist/package.js.map +1 -1
  7. package/files/samples/helm-showcase.csv +56 -0
  8. package/package.json +6 -10
  9. package/src/helm-helper.ts +61 -413
  10. package/src/package-api.ts +14 -11
  11. package/src/package-test.ts +0 -2
  12. package/src/package-utils.ts +8 -298
  13. package/src/package.g.ts +2 -8
  14. package/src/package.ts +11 -31
  15. package/src/tests/helm-activity-cliffs.ts +2 -2
  16. package/src/tests/helm-input-tests.ts +83 -0
  17. package/src/tests/parse-helm-tests.ts +7 -57
  18. package/src/tests/properties-widget-tests.ts +21 -11
  19. package/src/utils/helm-grid-cell-renderer.ts +141 -151
  20. package/src/utils/index.ts +3 -7
  21. package/src/widgets/helm-input.ts +42 -12
  22. package/src/widgets/properties-widget.ts +18 -11
  23. package/test-console-output-1.log +105 -714
  24. package/test-record-1.mp4 +0 -0
  25. package/webpack.config.js +1 -12
  26. package/dist/455.js +0 -2
  27. package/dist/455.js.map +0 -1
  28. package/dist/package-dojo.js +0 -2
  29. package/dist/package-dojo.js.map +0 -1
  30. package/helm/JSDraw/Pistoia.HELM-uncompressed.js +0 -9694
  31. package/helm/JSDraw/ReadMe.txt +0 -8
  32. package/helm/JSDraw/Scilligence.JSDraw2.Lite-uncompressed.js +0 -31126
  33. package/helm/dojo/package.ts +0 -41
  34. package/helm/dojo/types.ts +0 -12
  35. package/src/helm-web-editor.ts +0 -68
  36. package/src/tests/get-monomer-tests.ts +0 -214
  37. package/src/tests/helm-service-tests.ts +0 -98
  38. package/src/types/dojo.ts +0 -3
  39. package/src/types/index.ts +0 -5
  40. package/src/utils/get-monomer.ts +0 -90
  41. package/src/utils/helm-service.ts +0 -166
  42. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js +0 -63
  43. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js.uncompressed.js +0 -116
  44. package/vendor/dojo-1.10.10/dijit/Destroyable.js +0 -35
  45. package/vendor/dojo-1.10.10/dijit/Destroyable.js.uncompressed.js +0 -83
  46. package/vendor/dojo-1.10.10/dijit/Tooltip.js +0 -240
  47. package/vendor/dojo-1.10.10/dijit/Tooltip.js.uncompressed.js +0 -612
  48. package/vendor/dojo-1.10.10/dijit/Viewport.js +0 -44
  49. package/vendor/dojo-1.10.10/dijit/Viewport.js.uncompressed.js +0 -87
  50. package/vendor/dojo-1.10.10/dijit/WidgetSet.js +0 -76
  51. package/vendor/dojo-1.10.10/dijit/WidgetSet.js.uncompressed.js +0 -247
  52. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js +0 -94
  53. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js.uncompressed.js +0 -238
  54. package/vendor/dojo-1.10.10/dijit/_Contained.js +0 -17
  55. package/vendor/dojo-1.10.10/dijit/_Contained.js.uncompressed.js +0 -56
  56. package/vendor/dojo-1.10.10/dijit/_Container.js +0 -47
  57. package/vendor/dojo-1.10.10/dijit/_Container.js.uncompressed.js +0 -108
  58. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js +0 -198
  59. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js.uncompressed.js +0 -372
  60. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js +0 -11
  61. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js.uncompressed.js +0 -66
  62. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js +0 -188
  63. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js.uncompressed.js +0 -472
  64. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js +0 -8
  65. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js.uncompressed.js +0 -31
  66. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js +0 -90
  67. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js.uncompressed.js +0 -205
  68. package/vendor/dojo-1.10.10/dijit/_Widget.js +0 -66
  69. package/vendor/dojo-1.10.10/dijit/_Widget.js.uncompressed.js +0 -352
  70. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js +0 -353
  71. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js.uncompressed.js +0 -1200
  72. package/vendor/dojo-1.10.10/dijit/_base/focus.js +0 -68
  73. package/vendor/dojo-1.10.10/dijit/_base/focus.js.uncompressed.js +0 -207
  74. package/vendor/dojo-1.10.10/dijit/_base/manager.js +0 -10
  75. package/vendor/dojo-1.10.10/dijit/_base/manager.js.uncompressed.js +0 -35
  76. package/vendor/dojo-1.10.10/dijit/_base/place.js +0 -52
  77. package/vendor/dojo-1.10.10/dijit/_base/place.js.uncompressed.js +0 -131
  78. package/vendor/dojo-1.10.10/dijit/_base/popup.js +0 -23
  79. package/vendor/dojo-1.10.10/dijit/_base/popup.js.uncompressed.js +0 -58
  80. package/vendor/dojo-1.10.10/dijit/_base/scroll.js +0 -6
  81. package/vendor/dojo-1.10.10/dijit/_base/scroll.js.uncompressed.js +0 -22
  82. package/vendor/dojo-1.10.10/dijit/_base/sniff.js +0 -3
  83. package/vendor/dojo-1.10.10/dijit/_base/sniff.js.uncompressed.js +0 -12
  84. package/vendor/dojo-1.10.10/dijit/_base/typematic.js +0 -3
  85. package/vendor/dojo-1.10.10/dijit/_base/typematic.js.uncompressed.js +0 -10
  86. package/vendor/dojo-1.10.10/dijit/_base/wai.js +0 -32
  87. package/vendor/dojo-1.10.10/dijit/_base/wai.js.uncompressed.js +0 -109
  88. package/vendor/dojo-1.10.10/dijit/_base/window.js +0 -6
  89. package/vendor/dojo-1.10.10/dijit/_base/window.js.uncompressed.js +0 -18
  90. package/vendor/dojo-1.10.10/dijit/_base.js +0 -4
  91. package/vendor/dojo-1.10.10/dijit/_base.js.uncompressed.js +0 -27
  92. package/vendor/dojo-1.10.10/dijit/a11y.js +0 -109
  93. package/vendor/dojo-1.10.10/dijit/a11y.js.uncompressed.js +0 -191
  94. package/vendor/dojo-1.10.10/dijit/a11yclick.js +0 -66
  95. package/vendor/dojo-1.10.10/dijit/a11yclick.js.uncompressed.js +0 -139
  96. package/vendor/dojo-1.10.10/dijit/focus.js +0 -188
  97. package/vendor/dojo-1.10.10/dijit/focus.js.uncompressed.js +0 -371
  98. package/vendor/dojo-1.10.10/dijit/form/Button.js +0 -49
  99. package/vendor/dojo-1.10.10/dijit/form/Button.js.uncompressed.js +0 -130
  100. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js +0 -4
  101. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js.uncompressed.js +0 -27
  102. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js +0 -21
  103. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js.uncompressed.js +0 -86
  104. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js +0 -38
  105. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js.uncompressed.js +0 -102
  106. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js +0 -7
  107. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js.uncompressed.js +0 -26
  108. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js +0 -50
  109. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js.uncompressed.js +0 -116
  110. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js +0 -26
  111. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js.uncompressed.js +0 -81
  112. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js +0 -24
  113. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js.uncompressed.js +0 -51
  114. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js +0 -22
  115. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js.uncompressed.js +0 -67
  116. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js +0 -111
  117. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js.uncompressed.js +0 -254
  118. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js +0 -32
  119. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js.uncompressed.js +0 -69
  120. package/vendor/dojo-1.10.10/dijit/hccss.js +0 -9
  121. package/vendor/dojo-1.10.10/dijit/hccss.js.uncompressed.js +0 -21
  122. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js +0 -215
  123. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js.uncompressed.js +0 -550
  124. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js +0 -7
  125. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js.uncompressed.js +0 -25
  126. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js +0 -235
  127. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js.uncompressed.js +0 -653
  128. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js +0 -171
  129. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js.uncompressed.js +0 -411
  130. package/vendor/dojo-1.10.10/dijit/layout/StackController.js +0 -194
  131. package/vendor/dojo-1.10.10/dijit/layout/StackController.js.uncompressed.js +0 -410
  132. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js +0 -99
  133. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js.uncompressed.js +0 -236
  134. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js +0 -47
  135. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js.uncompressed.js +0 -190
  136. package/vendor/dojo-1.10.10/dijit/layout/utils.js +0 -77
  137. package/vendor/dojo-1.10.10/dijit/layout/utils.js.uncompressed.js +0 -151
  138. package/vendor/dojo-1.10.10/dijit/main.js +0 -4
  139. package/vendor/dojo-1.10.10/dijit/main.js.uncompressed.js +0 -16
  140. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js +0 -2
  141. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js.uncompressed.js +0 -21
  142. package/vendor/dojo-1.10.10/dijit/nls/loading.js +0 -2
  143. package/vendor/dojo-1.10.10/dijit/nls/loading.js.uncompressed.js +0 -47
  144. package/vendor/dojo-1.10.10/dijit/place.js +0 -142
  145. package/vendor/dojo-1.10.10/dijit/place.js.uncompressed.js +0 -407
  146. package/vendor/dojo-1.10.10/dijit/popup.js +0 -162
  147. package/vendor/dojo-1.10.10/dijit/popup.js.uncompressed.js +0 -441
  148. package/vendor/dojo-1.10.10/dijit/registry.js +0 -79
  149. package/vendor/dojo-1.10.10/dijit/registry.js.uncompressed.js +0 -159
  150. package/vendor/dojo-1.10.10/dijit/selection.js +0 -364
  151. package/vendor/dojo-1.10.10/dijit/selection.js.uncompressed.js +0 -525
  152. package/vendor/dojo-1.10.10/dijit/typematic.js +0 -96
  153. package/vendor/dojo-1.10.10/dijit/typematic.js.uncompressed.js +0 -211
  154. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js +0 -195
  155. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js.uncompressed.js +0 -761
  156. package/vendor/dojo-1.10.10/dojo/Stateful.js +0 -90
  157. package/vendor/dojo-1.10.10/dojo/Stateful.js.uncompressed.js +0 -218
  158. package/vendor/dojo-1.10.10/dojo/_base/url.js +0 -87
  159. package/vendor/dojo-1.10.10/dojo/_base/url.js.uncompressed.js +0 -109
  160. package/vendor/dojo-1.10.10/dojo/cache.js +0 -9
  161. package/vendor/dojo-1.10.10/dojo/cache.js.uncompressed.js +0 -7
  162. package/vendor/dojo-1.10.10/dojo/colors.js +0 -74
  163. package/vendor/dojo-1.10.10/dojo/colors.js.uncompressed.js +0 -232
  164. package/vendor/dojo-1.10.10/dojo/cookie.js +0 -48
  165. package/vendor/dojo-1.10.10/dojo/cookie.js.uncompressed.js +0 -98
  166. package/vendor/dojo-1.10.10/dojo/date/stamp.js +0 -82
  167. package/vendor/dojo-1.10.10/dojo/date/stamp.js.uncompressed.js +0 -144
  168. package/vendor/dojo-1.10.10/dojo/dojo.js +0 -7
  169. package/vendor/dojo-1.10.10/dojo/dojo.js.uncompressed.js +0 -18680
  170. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js +0 -27
  171. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js.uncompressed.js +0 -101
  172. package/vendor/dojo-1.10.10/dojo/fx/easing.js +0 -165
  173. package/vendor/dojo-1.10.10/dojo/fx/easing.js.uncompressed.js +0 -276
  174. package/vendor/dojo-1.10.10/dojo/fx.js +0 -271
  175. package/vendor/dojo-1.10.10/dojo/fx.js.uncompressed.js +0 -443
  176. package/vendor/dojo-1.10.10/dojo/hccss.js +0 -26
  177. package/vendor/dojo-1.10.10/dojo/hccss.js.uncompressed.js +0 -52
  178. package/vendor/dojo-1.10.10/dojo/html.js +0 -161
  179. package/vendor/dojo-1.10.10/dojo/html.js.uncompressed.js +0 -370
  180. package/vendor/dojo-1.10.10/dojo/io/iframe.js +0 -71
  181. package/vendor/dojo-1.10.10/dojo/io/iframe.js.uncompressed.js +0 -190
  182. package/vendor/dojo-1.10.10/dojo/io/script.js +0 -112
  183. package/vendor/dojo-1.10.10/dojo/io/script.js.uncompressed.js +0 -280
  184. package/vendor/dojo-1.10.10/dojo/parser.js +0 -437
  185. package/vendor/dojo-1.10.10/dojo/parser.js.uncompressed.js +0 -915
  186. package/vendor/dojo-1.10.10/dojo/promise/all.js +0 -59
  187. package/vendor/dojo-1.10.10/dojo/promise/all.js.uncompressed.js +0 -77
  188. package/vendor/dojo-1.10.10/dojo/regexp.js +0 -32
  189. package/vendor/dojo-1.10.10/dojo/regexp.js.uncompressed.js +0 -70
  190. package/vendor/dojo-1.10.10/dojo/request/iframe.js +0 -291
  191. package/vendor/dojo-1.10.10/dojo/request/iframe.js.uncompressed.js +0 -438
  192. package/vendor/dojo-1.10.10/dojo/request/script.js +0 -129
  193. package/vendor/dojo-1.10.10/dojo/request/script.js.uncompressed.js +0 -237
  194. package/vendor/dojo-1.10.10/dojo/require.js +0 -11
  195. package/vendor/dojo-1.10.10/dojo/require.js.uncompressed.js +0 -7
  196. package/vendor/dojo-1.10.10/dojo/resources/blank.gif +0 -0
  197. package/vendor/dojo-1.10.10/dojo/string.js +0 -67
  198. package/vendor/dojo-1.10.10/dojo/string.js.uncompressed.js +0 -181
  199. package/vendor/dojo-1.10.10/dojo/touch.js +0 -191
  200. package/vendor/dojo-1.10.10/dojo/touch.js.uncompressed.js +0 -468
  201. package/vendor/dojo-1.10.10/dojo/uacss.js +0 -36
  202. package/vendor/dojo-1.10.10/dojo/uacss.js.uncompressed.js +0 -85
  203. package/vendor/dojo-1.10.10/dojo/window.js +0 -141
  204. package/vendor/dojo-1.10.10/dojo/window.js.uncompressed.js +0 -241
  205. package/vendor/dojo-1.10.10/dojox/charting/Chart.js +0 -626
  206. package/vendor/dojo-1.10.10/dojox/charting/Chart.js.uncompressed.js +0 -1220
  207. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js +0 -5
  208. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js.uncompressed.js +0 -16
  209. package/vendor/dojo-1.10.10/dojox/charting/Element.js +0 -247
  210. package/vendor/dojo-1.10.10/dojox/charting/Element.js.uncompressed.js +0 -402
  211. package/vendor/dojo-1.10.10/dojox/charting/Series.js +0 -24
  212. package/vendor/dojo-1.10.10/dojox/charting/Series.js.uncompressed.js +0 -58
  213. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js +0 -191
  214. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js.uncompressed.js +0 -577
  215. package/vendor/dojo-1.10.10/dojox/charting/Theme.js +0 -42
  216. package/vendor/dojo-1.10.10/dojox/charting/Theme.js.uncompressed.js +0 -120
  217. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js +0 -11
  218. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js.uncompressed.js +0 -36
  219. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js +0 -77
  220. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js.uncompressed.js +0 -144
  221. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js +0 -58
  222. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js.uncompressed.js +0 -123
  223. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js +0 -54
  224. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js.uncompressed.js +0 -124
  225. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js +0 -28
  226. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js.uncompressed.js +0 -74
  227. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js +0 -116
  228. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js.uncompressed.js +0 -178
  229. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js +0 -24
  230. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js.uncompressed.js +0 -83
  231. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js +0 -557
  232. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js.uncompressed.js +0 -980
  233. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js +0 -65
  234. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js.uncompressed.js +0 -224
  235. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js +0 -91
  236. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js.uncompressed.js +0 -164
  237. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js +0 -7
  238. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js.uncompressed.js +0 -14
  239. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js +0 -168
  240. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js.uncompressed.js +0 -311
  241. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js +0 -61
  242. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js.uncompressed.js +0 -161
  243. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js +0 -141
  244. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js.uncompressed.js +0 -242
  245. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js +0 -126
  246. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js.uncompressed.js +0 -243
  247. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js +0 -108
  248. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js.uncompressed.js +0 -290
  249. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js +0 -13
  250. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js.uncompressed.js +0 -14
  251. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js +0 -13
  252. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js.uncompressed.js +0 -14
  253. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js +0 -153
  254. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js.uncompressed.js +0 -249
  255. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js +0 -253
  256. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js.uncompressed.js +0 -472
  257. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js +0 -182
  258. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js.uncompressed.js +0 -356
  259. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js +0 -6
  260. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js.uncompressed.js +0 -12
  261. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js +0 -6
  262. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js.uncompressed.js +0 -12
  263. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js +0 -7
  264. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js.uncompressed.js +0 -13
  265. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js +0 -110
  266. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js.uncompressed.js +0 -208
  267. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js +0 -303
  268. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js.uncompressed.js +0 -547
  269. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js +0 -134
  270. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js.uncompressed.js +0 -207
  271. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js +0 -299
  272. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js.uncompressed.js +0 -537
  273. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js +0 -24
  274. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js.uncompressed.js +0 -44
  275. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js +0 -7
  276. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js.uncompressed.js +0 -14
  277. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js +0 -22
  278. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js.uncompressed.js +0 -33
  279. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js +0 -20
  280. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js.uncompressed.js +0 -31
  281. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js +0 -6
  282. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js.uncompressed.js +0 -12
  283. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js +0 -68
  284. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js.uncompressed.js +0 -120
  285. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js +0 -209
  286. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js.uncompressed.js +0 -214
  287. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js +0 -76
  288. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js.uncompressed.js +0 -77
  289. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js +0 -59
  290. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js.uncompressed.js +0 -70
  291. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js +0 -220
  292. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js.uncompressed.js +0 -262
  293. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js +0 -23
  294. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js.uncompressed.js +0 -36
  295. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js +0 -39
  296. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js.uncompressed.js +0 -106
  297. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js +0 -5
  298. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js.uncompressed.js +0 -12
  299. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js +0 -4
  300. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js.uncompressed.js +0 -3
  301. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js +0 -102
  302. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js.uncompressed.js +0 -165
  303. package/vendor/dojo-1.10.10/dojox/color/Palette.js +0 -163
  304. package/vendor/dojo-1.10.10/dojox/color/Palette.js.uncompressed.js +0 -460
  305. package/vendor/dojo-1.10.10/dojox/color/_base.js +0 -174
  306. package/vendor/dojo-1.10.10/dojox/color/_base.js.uncompressed.js +0 -196
  307. package/vendor/dojo-1.10.10/dojox/gfx/_base.js +0 -253
  308. package/vendor/dojo-1.10.10/dojox/gfx/_base.js.uncompressed.js +0 -1024
  309. package/vendor/dojo-1.10.10/dojox/gfx/fx.js +0 -297
  310. package/vendor/dojo-1.10.10/dojox/gfx/fx.js.uncompressed.js +0 -350
  311. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js +0 -63
  312. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js.uncompressed.js +0 -91
  313. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js +0 -170
  314. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js.uncompressed.js +0 -501
  315. package/vendor/dojo-1.10.10/dojox/gfx/path.js +0 -319
  316. package/vendor/dojo-1.10.10/dojox/gfx/path.js.uncompressed.js +0 -478
  317. package/vendor/dojo-1.10.10/dojox/gfx/shape.js +0 -459
  318. package/vendor/dojo-1.10.10/dojox/gfx/shape.js.uncompressed.js +0 -1091
  319. package/vendor/dojo-1.10.10/dojox/gfx/svg.js +0 -662
  320. package/vendor/dojo-1.10.10/dojox/gfx/svg.js.uncompressed.js +0 -1023
  321. package/vendor/dojo-1.10.10/dojox/gfx/utils.js +0 -199
  322. package/vendor/dojo-1.10.10/dojox/gfx/utils.js.uncompressed.js +0 -322
  323. package/vendor/dojo-1.10.10/dojox/gfx.js +0 -2
  324. package/vendor/dojo-1.10.10/dojox/gfx.js.uncompressed.js +0 -1136
  325. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js +0 -151
  326. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js.uncompressed.js +0 -169
  327. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js +0 -93
  328. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js.uncompressed.js +0 -125
  329. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js +0 -81
  330. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js.uncompressed.js +0 -132
  331. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js +0 -54
  332. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js.uncompressed.js +0 -78
  333. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js +0 -61
  334. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js.uncompressed.js +0 -77
  335. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js +0 -87
  336. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js.uncompressed.js +0 -107
  337. package/vendor/dojo-1.10.10/dojox/lang/functional.js +0 -4
  338. package/vendor/dojo-1.10.10/dojox/lang/functional.js.uncompressed.js +0 -3
  339. package/vendor/dojo-1.10.10/dojox/lang/utils.js +0 -86
  340. package/vendor/dojo-1.10.10/dojox/lang/utils.js.uncompressed.js +0 -121
  341. package/vendor/dojo-1.10.10/dojox/main.js +0 -4
  342. package/vendor/dojo-1.10.10/dojox/main.js.uncompressed.js +0 -14
  343. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js +0 -112
  344. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js.uncompressed.js +0 -208
  345. package/vendor/dojo-1.10.10/dojox/storage/Provider.js +0 -62
  346. package/vendor/dojo-1.10.10/dojox/storage/Provider.js.uncompressed.js +0 -344
  347. package/vendor/dojo-1.10.10/dojox/storage/manager.js +0 -110
  348. package/vendor/dojo-1.10.10/dojox/storage/manager.js.uncompressed.js +0 -263
@@ -1,407 +0,0 @@
1
- define("dijit/place", [
2
- "dojo/_base/array", // array.forEach array.map array.some
3
- "dojo/dom-geometry", // domGeometry.position
4
- "dojo/dom-style", // domStyle.getComputedStyle
5
- "dojo/_base/kernel", // kernel.deprecated
6
- "dojo/_base/window", // win.body
7
- "./Viewport", // getEffectiveBox
8
- "./main" // dijit (defining dijit.place to match API doc)
9
- ], function(array, domGeometry, domStyle, kernel, win, Viewport, dijit){
10
-
11
- // module:
12
- // dijit/place
13
-
14
-
15
- function _place(/*DomNode*/ node, choices, layoutNode, aroundNodeCoords){
16
- // summary:
17
- // Given a list of spots to put node, put it at the first spot where it fits,
18
- // of if it doesn't fit anywhere then the place with the least overflow
19
- // choices: Array
20
- // Array of elements like: {corner: 'TL', pos: {x: 10, y: 20} }
21
- // Above example says to put the top-left corner of the node at (10,20)
22
- // layoutNode: Function(node, aroundNodeCorner, nodeCorner, size)
23
- // for things like tooltip, they are displayed differently (and have different dimensions)
24
- // based on their orientation relative to the parent. This adjusts the popup based on orientation.
25
- // It also passes in the available size for the popup, which is useful for tooltips to
26
- // tell them that their width is limited to a certain amount. layoutNode() may return a value expressing
27
- // how much the popup had to be modified to fit into the available space. This is used to determine
28
- // what the best placement is.
29
- // aroundNodeCoords: Object
30
- // Size of aroundNode, ex: {w: 200, h: 50}
31
-
32
- // get {x: 10, y: 10, w: 100, h:100} type obj representing position of
33
- // viewport over document
34
- var view = Viewport.getEffectiveBox(node.ownerDocument);
35
-
36
- // This won't work if the node is inside a <div style="position: relative">,
37
- // so reattach it to <body>. (Otherwise, the positioning will be wrong
38
- // and also it might get cutoff.)
39
- if(!node.parentNode || String(node.parentNode.tagName).toLowerCase() != "body"){
40
- win.body(node.ownerDocument).appendChild(node);
41
- }
42
-
43
- var best = null;
44
- array.some(choices, function(choice){
45
- var corner = choice.corner;
46
- var pos = choice.pos;
47
- var overflow = 0;
48
-
49
- // calculate amount of space available given specified position of node
50
- var spaceAvailable = {
51
- w: {
52
- 'L': view.l + view.w - pos.x,
53
- 'R': pos.x - view.l,
54
- 'M': view.w
55
- }[corner.charAt(1)],
56
- h: {
57
- 'T': view.t + view.h - pos.y,
58
- 'B': pos.y - view.t,
59
- 'M': view.h
60
- }[corner.charAt(0)]
61
- };
62
-
63
- // Clear left/right position settings set earlier so they don't interfere with calculations,
64
- // specifically when layoutNode() (a.k.a. Tooltip.orient()) measures natural width of Tooltip
65
- var s = node.style;
66
- s.left = s.right = "auto";
67
-
68
- // configure node to be displayed in given position relative to button
69
- // (need to do this in order to get an accurate size for the node, because
70
- // a tooltip's size changes based on position, due to triangle)
71
- if(layoutNode){
72
- var res = layoutNode(node, choice.aroundCorner, corner, spaceAvailable, aroundNodeCoords);
73
- overflow = typeof res == "undefined" ? 0 : res;
74
- }
75
-
76
- // get node's size
77
- var style = node.style;
78
- var oldDisplay = style.display;
79
- var oldVis = style.visibility;
80
- if(style.display == "none"){
81
- style.visibility = "hidden";
82
- style.display = "";
83
- }
84
- var bb = domGeometry.position(node);
85
- style.display = oldDisplay;
86
- style.visibility = oldVis;
87
-
88
- // coordinates and size of node with specified corner placed at pos,
89
- // and clipped by viewport
90
- var
91
- startXpos = {
92
- 'L': pos.x,
93
- 'R': pos.x - bb.w,
94
- 'M': Math.max(view.l, Math.min(view.l + view.w, pos.x + (bb.w >> 1)) - bb.w) // M orientation is more flexible
95
- }[corner.charAt(1)],
96
- startYpos = {
97
- 'T': pos.y,
98
- 'B': pos.y - bb.h,
99
- 'M': Math.max(view.t, Math.min(view.t + view.h, pos.y + (bb.h >> 1)) - bb.h)
100
- }[corner.charAt(0)],
101
- startX = Math.max(view.l, startXpos),
102
- startY = Math.max(view.t, startYpos),
103
- endX = Math.min(view.l + view.w, startXpos + bb.w),
104
- endY = Math.min(view.t + view.h, startYpos + bb.h),
105
- width = endX - startX,
106
- height = endY - startY;
107
-
108
- overflow += (bb.w - width) + (bb.h - height);
109
-
110
- if(best == null || overflow < best.overflow){
111
- best = {
112
- corner: corner,
113
- aroundCorner: choice.aroundCorner,
114
- x: startX,
115
- y: startY,
116
- w: width,
117
- h: height,
118
- overflow: overflow,
119
- spaceAvailable: spaceAvailable
120
- };
121
- }
122
-
123
- return !overflow;
124
- });
125
-
126
- // In case the best position is not the last one we checked, need to call
127
- // layoutNode() again.
128
- if(best.overflow && layoutNode){
129
- layoutNode(node, best.aroundCorner, best.corner, best.spaceAvailable, aroundNodeCoords);
130
- }
131
-
132
- // And then position the node. Do this last, after the layoutNode() above
133
- // has sized the node, due to browser quirks when the viewport is scrolled
134
- // (specifically that a Tooltip will shrink to fit as though the window was
135
- // scrolled to the left).
136
-
137
- var top = best.y,
138
- side = best.x,
139
- body = win.body(node.ownerDocument);
140
-
141
- if(/relative|absolute/.test(domStyle.get(body, "position"))){
142
- // compensate for margin on <body>, see #16148
143
- top -= domStyle.get(body, "marginTop");
144
- side -= domStyle.get(body, "marginLeft");
145
- }
146
-
147
- var s = node.style;
148
- s.top = top + "px";
149
- s.left = side + "px";
150
- s.right = "auto"; // needed for FF or else tooltip goes to far left
151
-
152
- return best;
153
- }
154
-
155
- var reverse = {
156
- // Map from corner to kitty-corner
157
- "TL": "BR",
158
- "TR": "BL",
159
- "BL": "TR",
160
- "BR": "TL"
161
- };
162
-
163
- var place = {
164
- // summary:
165
- // Code to place a DOMNode relative to another DOMNode.
166
- // Load using require(["dijit/place"], function(place){ ... }).
167
-
168
- at: function(node, pos, corners, padding, layoutNode){
169
- // summary:
170
- // Positions node kitty-corner to the rectangle centered at (pos.x, pos.y) with width and height of
171
- // padding.x * 2 and padding.y * 2, or zero if padding not specified. Picks first corner in corners[]
172
- // where node is fully visible, or the corner where it's most visible.
173
- //
174
- // Node is assumed to be absolutely or relatively positioned.
175
- // node: DOMNode
176
- // The node to position
177
- // pos: dijit/place.__Position
178
- // Object like {x: 10, y: 20}
179
- // corners: String[]
180
- // Array of Strings representing order to try corners of the node in, like ["TR", "BL"].
181
- // Possible values are:
182
- //
183
- // - "BL" - bottom left
184
- // - "BR" - bottom right
185
- // - "TL" - top left
186
- // - "TR" - top right
187
- // padding: dijit/place.__Position?
188
- // Optional param to set padding, to put some buffer around the element you want to position.
189
- // Defaults to zero.
190
- // layoutNode: Function(node, aroundNodeCorner, nodeCorner)
191
- // For things like tooltip, they are displayed differently (and have different dimensions)
192
- // based on their orientation relative to the parent. This adjusts the popup based on orientation.
193
- // example:
194
- // Try to place node's top right corner at (10,20).
195
- // If that makes node go (partially) off screen, then try placing
196
- // bottom left corner at (10,20).
197
- // | place(node, {x: 10, y: 20}, ["TR", "BL"])
198
- var choices = array.map(corners, function(corner){
199
- var c = {
200
- corner: corner,
201
- aroundCorner: reverse[corner], // so TooltipDialog.orient() gets aroundCorner argument set
202
- pos: {x: pos.x,y: pos.y}
203
- };
204
- if(padding){
205
- c.pos.x += corner.charAt(1) == 'L' ? padding.x : -padding.x;
206
- c.pos.y += corner.charAt(0) == 'T' ? padding.y : -padding.y;
207
- }
208
- return c;
209
- });
210
-
211
- return _place(node, choices, layoutNode);
212
- },
213
-
214
- around: function(
215
- /*DomNode*/ node,
216
- /*DomNode|dijit/place.__Rectangle*/ anchor,
217
- /*String[]*/ positions,
218
- /*Boolean*/ leftToRight,
219
- /*Function?*/ layoutNode){
220
-
221
- // summary:
222
- // Position node adjacent or kitty-corner to anchor
223
- // such that it's fully visible in viewport.
224
- // description:
225
- // Place node such that corner of node touches a corner of
226
- // aroundNode, and that node is fully visible.
227
- // anchor:
228
- // Either a DOMNode or a rectangle (object with x, y, width, height).
229
- // positions:
230
- // Ordered list of positions to try matching up.
231
- //
232
- // - before: places drop down to the left of the anchor node/widget, or to the right in the case
233
- // of RTL scripts like Hebrew and Arabic; aligns either the top of the drop down
234
- // with the top of the anchor, or the bottom of the drop down with bottom of the anchor.
235
- // - after: places drop down to the right of the anchor node/widget, or to the left in the case
236
- // of RTL scripts like Hebrew and Arabic; aligns either the top of the drop down
237
- // with the top of the anchor, or the bottom of the drop down with bottom of the anchor.
238
- // - before-centered: centers drop down to the left of the anchor node/widget, or to the right
239
- // in the case of RTL scripts like Hebrew and Arabic
240
- // - after-centered: centers drop down to the right of the anchor node/widget, or to the left
241
- // in the case of RTL scripts like Hebrew and Arabic
242
- // - above-centered: drop down is centered above anchor node
243
- // - above: drop down goes above anchor node, left sides aligned
244
- // - above-alt: drop down goes above anchor node, right sides aligned
245
- // - below-centered: drop down is centered above anchor node
246
- // - below: drop down goes below anchor node
247
- // - below-alt: drop down goes below anchor node, right sides aligned
248
- // layoutNode: Function(node, aroundNodeCorner, nodeCorner)
249
- // For things like tooltip, they are displayed differently (and have different dimensions)
250
- // based on their orientation relative to the parent. This adjusts the popup based on orientation.
251
- // leftToRight:
252
- // True if widget is LTR, false if widget is RTL. Affects the behavior of "above" and "below"
253
- // positions slightly.
254
- // example:
255
- // | placeAroundNode(node, aroundNode, {'BL':'TL', 'TR':'BR'});
256
- // This will try to position node such that node's top-left corner is at the same position
257
- // as the bottom left corner of the aroundNode (ie, put node below
258
- // aroundNode, with left edges aligned). If that fails it will try to put
259
- // the bottom-right corner of node where the top right corner of aroundNode is
260
- // (ie, put node above aroundNode, with right edges aligned)
261
- //
262
-
263
- // If around is a DOMNode (or DOMNode id), convert to coordinates.
264
- var aroundNodePos;
265
- if(typeof anchor == "string" || "offsetWidth" in anchor || "ownerSVGElement" in anchor){
266
- aroundNodePos = domGeometry.position(anchor, true);
267
-
268
- // For above and below dropdowns, subtract width of border so that popup and aroundNode borders
269
- // overlap, preventing a double-border effect. Unfortunately, difficult to measure the border
270
- // width of either anchor or popup because in both cases the border may be on an inner node.
271
- if(/^(above|below)/.test(positions[0])){
272
- var anchorBorder = domGeometry.getBorderExtents(anchor),
273
- anchorChildBorder = anchor.firstChild ? domGeometry.getBorderExtents(anchor.firstChild) : {t:0,l:0,b:0,r:0},
274
- nodeBorder = domGeometry.getBorderExtents(node),
275
- nodeChildBorder = node.firstChild ? domGeometry.getBorderExtents(node.firstChild) : {t:0,l:0,b:0,r:0};
276
- aroundNodePos.y += Math.min(anchorBorder.t + anchorChildBorder.t, nodeBorder.t + nodeChildBorder.t);
277
- aroundNodePos.h -= Math.min(anchorBorder.t + anchorChildBorder.t, nodeBorder.t+ nodeChildBorder.t) +
278
- Math.min(anchorBorder.b + anchorChildBorder.b, nodeBorder.b + nodeChildBorder.b);
279
- }
280
- }else{
281
- aroundNodePos = anchor;
282
- }
283
-
284
- // Compute position and size of visible part of anchor (it may be partially hidden by ancestor nodes w/scrollbars)
285
- if(anchor.parentNode){
286
- // ignore nodes between position:relative and position:absolute
287
- var sawPosAbsolute = domStyle.getComputedStyle(anchor).position == "absolute";
288
- var parent = anchor.parentNode;
289
- while(parent && parent.nodeType == 1 && parent.nodeName != "BODY"){ //ignoring the body will help performance
290
- var parentPos = domGeometry.position(parent, true),
291
- pcs = domStyle.getComputedStyle(parent);
292
- if(/relative|absolute/.test(pcs.position)){
293
- sawPosAbsolute = false;
294
- }
295
- if(!sawPosAbsolute && /hidden|auto|scroll/.test(pcs.overflow)){
296
- var bottomYCoord = Math.min(aroundNodePos.y + aroundNodePos.h, parentPos.y + parentPos.h);
297
- var rightXCoord = Math.min(aroundNodePos.x + aroundNodePos.w, parentPos.x + parentPos.w);
298
- aroundNodePos.x = Math.max(aroundNodePos.x, parentPos.x);
299
- aroundNodePos.y = Math.max(aroundNodePos.y, parentPos.y);
300
- aroundNodePos.h = bottomYCoord - aroundNodePos.y;
301
- aroundNodePos.w = rightXCoord - aroundNodePos.x;
302
- }
303
- if(pcs.position == "absolute"){
304
- sawPosAbsolute = true;
305
- }
306
- parent = parent.parentNode;
307
- }
308
- }
309
-
310
- var x = aroundNodePos.x,
311
- y = aroundNodePos.y,
312
- width = "w" in aroundNodePos ? aroundNodePos.w : (aroundNodePos.w = aroundNodePos.width),
313
- height = "h" in aroundNodePos ? aroundNodePos.h : (kernel.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+aroundNodePos.height+", width:"+width+" } has been deprecated. Please use { x:"+x+", y:"+y+", h:"+aroundNodePos.height+", w:"+width+" }", "", "2.0"), aroundNodePos.h = aroundNodePos.height);
314
-
315
- // Convert positions arguments into choices argument for _place()
316
- var choices = [];
317
- function push(aroundCorner, corner){
318
- choices.push({
319
- aroundCorner: aroundCorner,
320
- corner: corner,
321
- pos: {
322
- x: {
323
- 'L': x,
324
- 'R': x + width,
325
- 'M': x + (width >> 1)
326
- }[aroundCorner.charAt(1)],
327
- y: {
328
- 'T': y,
329
- 'B': y + height,
330
- 'M': y + (height >> 1)
331
- }[aroundCorner.charAt(0)]
332
- }
333
- })
334
- }
335
- array.forEach(positions, function(pos){
336
- var ltr = leftToRight;
337
- switch(pos){
338
- case "above-centered":
339
- push("TM", "BM");
340
- break;
341
- case "below-centered":
342
- push("BM", "TM");
343
- break;
344
- case "after-centered":
345
- ltr = !ltr;
346
- // fall through
347
- case "before-centered":
348
- push(ltr ? "ML" : "MR", ltr ? "MR" : "ML");
349
- break;
350
- case "after":
351
- ltr = !ltr;
352
- // fall through
353
- case "before":
354
- push(ltr ? "TL" : "TR", ltr ? "TR" : "TL");
355
- push(ltr ? "BL" : "BR", ltr ? "BR" : "BL");
356
- break;
357
- case "below-alt":
358
- ltr = !ltr;
359
- // fall through
360
- case "below":
361
- // first try to align left borders, next try to align right borders (or reverse for RTL mode)
362
- push(ltr ? "BL" : "BR", ltr ? "TL" : "TR");
363
- push(ltr ? "BR" : "BL", ltr ? "TR" : "TL");
364
- break;
365
- case "above-alt":
366
- ltr = !ltr;
367
- // fall through
368
- case "above":
369
- // first try to align left borders, next try to align right borders (or reverse for RTL mode)
370
- push(ltr ? "TL" : "TR", ltr ? "BL" : "BR");
371
- push(ltr ? "TR" : "TL", ltr ? "BR" : "BL");
372
- break;
373
- default:
374
- // To assist dijit/_base/place, accept arguments of type {aroundCorner: "BL", corner: "TL"}.
375
- // Not meant to be used directly. Remove for 2.0.
376
- push(pos.aroundCorner, pos.corner);
377
- }
378
- });
379
-
380
- var position = _place(node, choices, layoutNode, {w: width, h: height});
381
- position.aroundNodePos = aroundNodePos;
382
-
383
- return position;
384
- }
385
- };
386
-
387
- /*=====
388
- place.__Position = {
389
- // x: Integer
390
- // horizontal coordinate in pixels, relative to document body
391
- // y: Integer
392
- // vertical coordinate in pixels, relative to document body
393
- };
394
- place.__Rectangle = {
395
- // x: Integer
396
- // horizontal offset in pixels, relative to document body
397
- // y: Integer
398
- // vertical offset in pixels, relative to document body
399
- // w: Integer
400
- // width in pixels. Can also be specified as "width" for backwards-compatibility.
401
- // h: Integer
402
- // height in pixels. Can also be specified as "height" for backwards-compatibility.
403
- };
404
- =====*/
405
-
406
- return dijit.place = place; // setting dijit.place for back-compat, remove for 2.0
407
- });
@@ -1,162 +0,0 @@
1
- //>>built
2
- define("dijit/popup",["dojo/_base/array","dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/on","./place","./BackgroundIframe","./Viewport","./main","dojo/touch"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b,on,_c,_d,_e,_f){
3
- function _10(){
4
- if(this._popupWrapper){
5
- _6.destroy(this._popupWrapper);
6
- delete this._popupWrapper;
7
- }
8
- };
9
- var _11=_3(null,{_stack:[],_beginZIndex:1000,_idGen:1,_repositionAll:function(){
10
- if(this._firstAroundNode){
11
- var _12=this._firstAroundPosition,_13=_7.position(this._firstAroundNode,true),dx=_13.x-_12.x,dy=_13.y-_12.y;
12
- if(dx||dy){
13
- this._firstAroundPosition=_13;
14
- for(var i=0;i<this._stack.length;i++){
15
- var _14=this._stack[i].wrapper.style;
16
- _14.top=(parseFloat(_14.top)+dy)+"px";
17
- if(_14.right=="auto"){
18
- _14.left=(parseFloat(_14.left)+dx)+"px";
19
- }else{
20
- _14.right=(parseFloat(_14.right)-dx)+"px";
21
- }
22
- }
23
- }
24
- this._aroundMoveListener=setTimeout(_b.hitch(this,"_repositionAll"),dx||dy?10:50);
25
- }
26
- },_createWrapper:function(_15){
27
- var _16=_15._popupWrapper,_17=_15.domNode;
28
- if(!_16){
29
- _16=_6.create("div",{"class":"dijitPopup",style:{display:"none"},role:"region","aria-label":_15["aria-label"]||_15.label||_15.name||_15.id},_15.ownerDocumentBody);
30
- _16.appendChild(_17);
31
- var s=_17.style;
32
- s.display="";
33
- s.visibility="";
34
- s.position="";
35
- s.top="0px";
36
- _15._popupWrapper=_16;
37
- _2.after(_15,"destroy",_10,true);
38
- if("ontouchend" in document){
39
- on(_16,"touchend",function(evt){
40
- if(!/^(input|button|textarea)$/i.test(evt.target.tagName)){
41
- evt.preventDefault();
42
- }
43
- });
44
- }
45
- _16.dojoClick=true;
46
- }
47
- return _16;
48
- },moveOffScreen:function(_18){
49
- var _19=this._createWrapper(_18);
50
- var ltr=_7.isBodyLtr(_18.ownerDocument),_1a={visibility:"hidden",top:"-9999px",display:""};
51
- _1a[ltr?"left":"right"]="-9999px";
52
- _1a[ltr?"right":"left"]="auto";
53
- _8.set(_19,_1a);
54
- return _19;
55
- },hide:function(_1b){
56
- var _1c=this._createWrapper(_1b);
57
- _8.set(_1c,{display:"none",height:"auto",overflowY:"visible",border:""});
58
- var _1d=_1b.domNode;
59
- if("_originalStyle" in _1d){
60
- _1d.style.cssText=_1d._originalStyle;
61
- }
62
- },getTopPopup:function(){
63
- var _1e=this._stack;
64
- for(var pi=_1e.length-1;pi>0&&_1e[pi].parent===_1e[pi-1].widget;pi--){
65
- }
66
- return _1e[pi];
67
- },open:function(_1f){
68
- var _20=this._stack,_21=_1f.popup,_22=_21.domNode,_23=_1f.orient||["below","below-alt","above","above-alt"],ltr=_1f.parent?_1f.parent.isLeftToRight():_7.isBodyLtr(_21.ownerDocument),_24=_1f.around,id=(_1f.around&&_1f.around.id)?(_1f.around.id+"_dropdown"):("popup_"+this._idGen++);
69
- while(_20.length&&(!_1f.parent||!_4.isDescendant(_1f.parent.domNode,_20[_20.length-1].widget.domNode))){
70
- this.close(_20[_20.length-1].widget);
71
- }
72
- var _25=this.moveOffScreen(_21);
73
- if(_21.startup&&!_21._started){
74
- _21.startup();
75
- }
76
- var _26,_27=_7.position(_22);
77
- if("maxHeight" in _1f&&_1f.maxHeight!=-1){
78
- _26=_1f.maxHeight||Infinity;
79
- }else{
80
- var _28=_e.getEffectiveBox(this.ownerDocument),_29=_24?_7.position(_24,false):{y:_1f.y-(_1f.padding||0),h:(_1f.padding||0)*2};
81
- _26=Math.floor(Math.max(_29.y,_28.h-(_29.y+_29.h)));
82
- }
83
- if(_27.h>_26){
84
- var cs=_8.getComputedStyle(_22),_2a=cs.borderLeftWidth+" "+cs.borderLeftStyle+" "+cs.borderLeftColor;
85
- _8.set(_25,{overflowY:"scroll",height:_26+"px",border:_2a});
86
- _22._originalStyle=_22.style.cssText;
87
- _22.style.border="none";
88
- }
89
- _5.set(_25,{id:id,style:{zIndex:this._beginZIndex+_20.length},"class":"dijitPopup "+(_21.baseClass||_21["class"]||"").split(" ")[0]+"Popup",dijitPopupParent:_1f.parent?_1f.parent.id:""});
90
- if(_20.length==0&&_24){
91
- this._firstAroundNode=_24;
92
- this._firstAroundPosition=_7.position(_24,true);
93
- this._aroundMoveListener=setTimeout(_b.hitch(this,"_repositionAll"),50);
94
- }
95
- if(_9("config-bgIframe")&&!_21.bgIframe){
96
- _21.bgIframe=new _d(_25);
97
- }
98
- var _2b=_21.orient?_b.hitch(_21,"orient"):null,_2c=_24?_c.around(_25,_24,_23,ltr,_2b):_c.at(_25,_1f,_23=="R"?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],_1f.padding,_2b);
99
- _25.style.visibility="visible";
100
- _22.style.visibility="visible";
101
- var _2d=[];
102
- _2d.push(on(_25,"keydown",_b.hitch(this,function(evt){
103
- if(evt.keyCode==_a.ESCAPE&&_1f.onCancel){
104
- evt.stopPropagation();
105
- evt.preventDefault();
106
- _1f.onCancel();
107
- }else{
108
- if(evt.keyCode==_a.TAB){
109
- evt.stopPropagation();
110
- evt.preventDefault();
111
- var _2e=this.getTopPopup();
112
- if(_2e&&_2e.onCancel){
113
- _2e.onCancel();
114
- }
115
- }
116
- }
117
- })));
118
- if(_21.onCancel&&_1f.onCancel){
119
- _2d.push(_21.on("cancel",_1f.onCancel));
120
- }
121
- _2d.push(_21.on(_21.onExecute?"execute":"change",_b.hitch(this,function(){
122
- var _2f=this.getTopPopup();
123
- if(_2f&&_2f.onExecute){
124
- _2f.onExecute();
125
- }
126
- })));
127
- _20.push({widget:_21,wrapper:_25,parent:_1f.parent,onExecute:_1f.onExecute,onCancel:_1f.onCancel,onClose:_1f.onClose,handlers:_2d});
128
- if(_21.onOpen){
129
- _21.onOpen(_2c);
130
- }
131
- return _2c;
132
- },close:function(_30){
133
- var _31=this._stack;
134
- while((_30&&_1.some(_31,function(_32){
135
- return _32.widget==_30;
136
- }))||(!_30&&_31.length)){
137
- var top=_31.pop(),_33=top.widget,_34=top.onClose;
138
- if(_33.bgIframe){
139
- _33.bgIframe.destroy();
140
- delete _33.bgIframe;
141
- }
142
- if(_33.onClose){
143
- _33.onClose();
144
- }
145
- var h;
146
- while(h=top.handlers.pop()){
147
- h.remove();
148
- }
149
- if(_33&&_33.domNode){
150
- this.hide(_33);
151
- }
152
- if(_34){
153
- _34();
154
- }
155
- }
156
- if(_31.length==0&&this._aroundMoveListener){
157
- clearTimeout(this._aroundMoveListener);
158
- this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null;
159
- }
160
- }});
161
- return (_f.popup=new _11());
162
- });