@datagrok/helm 2.3.2 → 2.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/package-test.js +1 -1
  3. package/dist/package-test.js.map +1 -1
  4. package/dist/package.js +1 -1
  5. package/dist/package.js.map +1 -1
  6. package/package.json +4 -4
  7. package/src/cell-renderer.ts +5 -4
  8. package/src/helm-helper.ts +6 -6
  9. package/src/helm-monomer-placer.ts +1 -1
  10. package/src/helm-web-editor.ts +5 -5
  11. package/src/package-test.ts +0 -1
  12. package/src/package-utils.ts +228 -69
  13. package/src/package.ts +7 -69
  14. package/src/tests/findMonomers-tests.ts +2 -1
  15. package/src/tests/get-monomer-tests.ts +1 -49
  16. package/src/utils/get-monomer.ts +49 -1
  17. package/src/utils/helm-grid-cell-renderer.ts +8 -9
  18. package/src/utils/index.ts +2 -3
  19. package/src/widgets/helm-input.ts +4 -4
  20. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js +63 -0
  21. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js.uncompressed.js +116 -0
  22. package/vendor/dojo-1.10.10/dijit/Destroyable.js +35 -0
  23. package/vendor/dojo-1.10.10/dijit/Destroyable.js.uncompressed.js +83 -0
  24. package/vendor/dojo-1.10.10/dijit/Tooltip.js +240 -0
  25. package/vendor/dojo-1.10.10/dijit/Tooltip.js.uncompressed.js +612 -0
  26. package/vendor/dojo-1.10.10/dijit/Viewport.js +44 -0
  27. package/vendor/dojo-1.10.10/dijit/Viewport.js.uncompressed.js +87 -0
  28. package/vendor/dojo-1.10.10/dijit/WidgetSet.js +76 -0
  29. package/vendor/dojo-1.10.10/dijit/WidgetSet.js.uncompressed.js +247 -0
  30. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js +94 -0
  31. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js.uncompressed.js +238 -0
  32. package/vendor/dojo-1.10.10/dijit/_Contained.js +17 -0
  33. package/vendor/dojo-1.10.10/dijit/_Contained.js.uncompressed.js +56 -0
  34. package/vendor/dojo-1.10.10/dijit/_Container.js +47 -0
  35. package/vendor/dojo-1.10.10/dijit/_Container.js.uncompressed.js +108 -0
  36. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js +198 -0
  37. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js.uncompressed.js +372 -0
  38. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js +11 -0
  39. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js.uncompressed.js +66 -0
  40. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js +188 -0
  41. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js.uncompressed.js +472 -0
  42. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js +8 -0
  43. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js.uncompressed.js +31 -0
  44. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js +90 -0
  45. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js.uncompressed.js +205 -0
  46. package/vendor/dojo-1.10.10/dijit/_Widget.js +66 -0
  47. package/vendor/dojo-1.10.10/dijit/_Widget.js.uncompressed.js +352 -0
  48. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js +353 -0
  49. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js.uncompressed.js +1200 -0
  50. package/vendor/dojo-1.10.10/dijit/_base/focus.js +68 -0
  51. package/vendor/dojo-1.10.10/dijit/_base/focus.js.uncompressed.js +207 -0
  52. package/vendor/dojo-1.10.10/dijit/_base/manager.js +10 -0
  53. package/vendor/dojo-1.10.10/dijit/_base/manager.js.uncompressed.js +35 -0
  54. package/vendor/dojo-1.10.10/dijit/_base/place.js +52 -0
  55. package/vendor/dojo-1.10.10/dijit/_base/place.js.uncompressed.js +131 -0
  56. package/vendor/dojo-1.10.10/dijit/_base/popup.js +23 -0
  57. package/vendor/dojo-1.10.10/dijit/_base/popup.js.uncompressed.js +58 -0
  58. package/vendor/dojo-1.10.10/dijit/_base/scroll.js +6 -0
  59. package/vendor/dojo-1.10.10/dijit/_base/scroll.js.uncompressed.js +22 -0
  60. package/vendor/dojo-1.10.10/dijit/_base/sniff.js +3 -0
  61. package/vendor/dojo-1.10.10/dijit/_base/sniff.js.uncompressed.js +12 -0
  62. package/vendor/dojo-1.10.10/dijit/_base/typematic.js +3 -0
  63. package/vendor/dojo-1.10.10/dijit/_base/typematic.js.uncompressed.js +10 -0
  64. package/vendor/dojo-1.10.10/dijit/_base/wai.js +32 -0
  65. package/vendor/dojo-1.10.10/dijit/_base/wai.js.uncompressed.js +109 -0
  66. package/vendor/dojo-1.10.10/dijit/_base/window.js +6 -0
  67. package/vendor/dojo-1.10.10/dijit/_base/window.js.uncompressed.js +18 -0
  68. package/vendor/dojo-1.10.10/dijit/_base.js +4 -0
  69. package/vendor/dojo-1.10.10/dijit/a11y.js +109 -0
  70. package/vendor/dojo-1.10.10/dijit/a11y.js.uncompressed.js +191 -0
  71. package/vendor/dojo-1.10.10/dijit/a11yclick.js +66 -0
  72. package/vendor/dojo-1.10.10/dijit/a11yclick.js.uncompressed.js +139 -0
  73. package/vendor/dojo-1.10.10/dijit/focus.js +188 -0
  74. package/vendor/dojo-1.10.10/dijit/focus.js.uncompressed.js +371 -0
  75. package/vendor/dojo-1.10.10/dijit/form/Button.js +49 -0
  76. package/vendor/dojo-1.10.10/dijit/form/Button.js.uncompressed.js +130 -0
  77. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js +4 -0
  78. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js.uncompressed.js +27 -0
  79. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js +21 -0
  80. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js.uncompressed.js +86 -0
  81. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js +38 -0
  82. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js.uncompressed.js +102 -0
  83. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js +7 -0
  84. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js.uncompressed.js +26 -0
  85. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js +50 -0
  86. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js.uncompressed.js +116 -0
  87. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js +26 -0
  88. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js.uncompressed.js +81 -0
  89. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js +24 -0
  90. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js.uncompressed.js +51 -0
  91. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js +22 -0
  92. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js.uncompressed.js +67 -0
  93. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js +111 -0
  94. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js.uncompressed.js +254 -0
  95. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js +32 -0
  96. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js.uncompressed.js +69 -0
  97. package/vendor/dojo-1.10.10/dijit/hccss.js +9 -0
  98. package/vendor/dojo-1.10.10/dijit/hccss.js.uncompressed.js +21 -0
  99. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js +215 -0
  100. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js.uncompressed.js +550 -0
  101. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js +7 -0
  102. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js.uncompressed.js +25 -0
  103. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js +235 -0
  104. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js.uncompressed.js +653 -0
  105. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js +171 -0
  106. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js.uncompressed.js +411 -0
  107. package/vendor/dojo-1.10.10/dijit/layout/StackController.js +194 -0
  108. package/vendor/dojo-1.10.10/dijit/layout/StackController.js.uncompressed.js +410 -0
  109. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js +99 -0
  110. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js.uncompressed.js +236 -0
  111. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js +47 -0
  112. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js.uncompressed.js +190 -0
  113. package/vendor/dojo-1.10.10/dijit/layout/utils.js +77 -0
  114. package/vendor/dojo-1.10.10/dijit/layout/utils.js.uncompressed.js +151 -0
  115. package/vendor/dojo-1.10.10/dijit/main.js +4 -0
  116. package/vendor/dojo-1.10.10/dijit/main.js.uncompressed.js +16 -0
  117. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js +2 -0
  118. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js.uncompressed.js +21 -0
  119. package/vendor/dojo-1.10.10/dijit/nls/loading.js +2 -0
  120. package/vendor/dojo-1.10.10/dijit/nls/loading.js.uncompressed.js +47 -0
  121. package/vendor/dojo-1.10.10/dijit/place.js +142 -0
  122. package/vendor/dojo-1.10.10/dijit/place.js.uncompressed.js +407 -0
  123. package/vendor/dojo-1.10.10/dijit/popup.js +162 -0
  124. package/vendor/dojo-1.10.10/dijit/popup.js.uncompressed.js +441 -0
  125. package/vendor/dojo-1.10.10/dijit/registry.js +79 -0
  126. package/vendor/dojo-1.10.10/dijit/registry.js.uncompressed.js +159 -0
  127. package/vendor/dojo-1.10.10/dijit/selection.js +364 -0
  128. package/vendor/dojo-1.10.10/dijit/selection.js.uncompressed.js +525 -0
  129. package/vendor/dojo-1.10.10/dijit/typematic.js +96 -0
  130. package/vendor/dojo-1.10.10/dijit/typematic.js.uncompressed.js +211 -0
  131. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js +195 -0
  132. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js.uncompressed.js +761 -0
  133. package/vendor/dojo-1.10.10/dojo/Stateful.js +90 -0
  134. package/vendor/dojo-1.10.10/dojo/Stateful.js.uncompressed.js +218 -0
  135. package/vendor/dojo-1.10.10/dojo/_base/url.js +87 -0
  136. package/vendor/dojo-1.10.10/dojo/_base/url.js.uncompressed.js +109 -0
  137. package/vendor/dojo-1.10.10/dojo/cache.js +9 -0
  138. package/vendor/dojo-1.10.10/dojo/cache.js.uncompressed.js +7 -0
  139. package/vendor/dojo-1.10.10/dojo/colors.js +74 -0
  140. package/vendor/dojo-1.10.10/dojo/colors.js.uncompressed.js +232 -0
  141. package/vendor/dojo-1.10.10/dojo/cookie.js +48 -0
  142. package/vendor/dojo-1.10.10/dojo/cookie.js.uncompressed.js +98 -0
  143. package/vendor/dojo-1.10.10/dojo/date/stamp.js +82 -0
  144. package/vendor/dojo-1.10.10/dojo/date/stamp.js.uncompressed.js +144 -0
  145. package/vendor/dojo-1.10.10/dojo/dojo.js +7 -0
  146. package/vendor/dojo-1.10.10/dojo/dojo.js.uncompressed.js +18680 -0
  147. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js +27 -0
  148. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js.uncompressed.js +101 -0
  149. package/vendor/dojo-1.10.10/dojo/fx/easing.js +165 -0
  150. package/vendor/dojo-1.10.10/dojo/fx/easing.js.uncompressed.js +276 -0
  151. package/vendor/dojo-1.10.10/dojo/fx.js +271 -0
  152. package/vendor/dojo-1.10.10/dojo/fx.js.uncompressed.js +443 -0
  153. package/vendor/dojo-1.10.10/dojo/hccss.js +26 -0
  154. package/vendor/dojo-1.10.10/dojo/hccss.js.uncompressed.js +52 -0
  155. package/vendor/dojo-1.10.10/dojo/html.js +161 -0
  156. package/vendor/dojo-1.10.10/dojo/html.js.uncompressed.js +370 -0
  157. package/vendor/dojo-1.10.10/dojo/io/iframe.js +71 -0
  158. package/vendor/dojo-1.10.10/dojo/io/iframe.js.uncompressed.js +190 -0
  159. package/vendor/dojo-1.10.10/dojo/io/script.js +112 -0
  160. package/vendor/dojo-1.10.10/dojo/io/script.js.uncompressed.js +280 -0
  161. package/vendor/dojo-1.10.10/dojo/parser.js +437 -0
  162. package/vendor/dojo-1.10.10/dojo/parser.js.uncompressed.js +915 -0
  163. package/vendor/dojo-1.10.10/dojo/promise/all.js +59 -0
  164. package/vendor/dojo-1.10.10/dojo/promise/all.js.uncompressed.js +77 -0
  165. package/vendor/dojo-1.10.10/dojo/regexp.js +32 -0
  166. package/vendor/dojo-1.10.10/dojo/regexp.js.uncompressed.js +70 -0
  167. package/vendor/dojo-1.10.10/dojo/request/iframe.js +291 -0
  168. package/vendor/dojo-1.10.10/dojo/request/iframe.js.uncompressed.js +438 -0
  169. package/vendor/dojo-1.10.10/dojo/request/script.js +129 -0
  170. package/vendor/dojo-1.10.10/dojo/request/script.js.uncompressed.js +237 -0
  171. package/vendor/dojo-1.10.10/dojo/require.js +11 -0
  172. package/vendor/dojo-1.10.10/dojo/require.js.uncompressed.js +7 -0
  173. package/vendor/dojo-1.10.10/dojo/resources/blank.gif +0 -0
  174. package/vendor/dojo-1.10.10/dojo/string.js +67 -0
  175. package/vendor/dojo-1.10.10/dojo/string.js.uncompressed.js +181 -0
  176. package/vendor/dojo-1.10.10/dojo/touch.js +191 -0
  177. package/vendor/dojo-1.10.10/dojo/touch.js.uncompressed.js +468 -0
  178. package/vendor/dojo-1.10.10/dojo/uacss.js +36 -0
  179. package/vendor/dojo-1.10.10/dojo/uacss.js.uncompressed.js +85 -0
  180. package/vendor/dojo-1.10.10/dojo/window.js +141 -0
  181. package/vendor/dojo-1.10.10/dojo/window.js.uncompressed.js +241 -0
  182. package/vendor/dojo-1.10.10/dojox/charting/Chart.js +626 -0
  183. package/vendor/dojo-1.10.10/dojox/charting/Chart.js.uncompressed.js +1220 -0
  184. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js +5 -0
  185. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js.uncompressed.js +16 -0
  186. package/vendor/dojo-1.10.10/dojox/charting/Element.js +247 -0
  187. package/vendor/dojo-1.10.10/dojox/charting/Element.js.uncompressed.js +402 -0
  188. package/vendor/dojo-1.10.10/dojox/charting/Series.js +24 -0
  189. package/vendor/dojo-1.10.10/dojox/charting/Series.js.uncompressed.js +58 -0
  190. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js +191 -0
  191. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js.uncompressed.js +577 -0
  192. package/vendor/dojo-1.10.10/dojox/charting/Theme.js +42 -0
  193. package/vendor/dojo-1.10.10/dojox/charting/Theme.js.uncompressed.js +120 -0
  194. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js +11 -0
  195. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js.uncompressed.js +36 -0
  196. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js +77 -0
  197. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js.uncompressed.js +144 -0
  198. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js +58 -0
  199. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js.uncompressed.js +123 -0
  200. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js +54 -0
  201. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js.uncompressed.js +124 -0
  202. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js +28 -0
  203. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js.uncompressed.js +74 -0
  204. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js +116 -0
  205. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js.uncompressed.js +178 -0
  206. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js +24 -0
  207. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js.uncompressed.js +83 -0
  208. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js +557 -0
  209. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js.uncompressed.js +980 -0
  210. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js +65 -0
  211. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js.uncompressed.js +224 -0
  212. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js +91 -0
  213. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js.uncompressed.js +164 -0
  214. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js +7 -0
  215. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js.uncompressed.js +14 -0
  216. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js +168 -0
  217. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js.uncompressed.js +311 -0
  218. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js +61 -0
  219. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js.uncompressed.js +161 -0
  220. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js +141 -0
  221. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js.uncompressed.js +242 -0
  222. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js +126 -0
  223. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js.uncompressed.js +243 -0
  224. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js +108 -0
  225. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js.uncompressed.js +290 -0
  226. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js +13 -0
  227. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js.uncompressed.js +14 -0
  228. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js +13 -0
  229. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js.uncompressed.js +14 -0
  230. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js +153 -0
  231. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js.uncompressed.js +249 -0
  232. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js +253 -0
  233. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js.uncompressed.js +472 -0
  234. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js +182 -0
  235. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js.uncompressed.js +356 -0
  236. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js +6 -0
  237. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js.uncompressed.js +12 -0
  238. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js +6 -0
  239. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js.uncompressed.js +12 -0
  240. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js +7 -0
  241. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js.uncompressed.js +13 -0
  242. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js +110 -0
  243. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js.uncompressed.js +208 -0
  244. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js +303 -0
  245. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js.uncompressed.js +547 -0
  246. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js +134 -0
  247. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js.uncompressed.js +207 -0
  248. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js +299 -0
  249. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js.uncompressed.js +537 -0
  250. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js +24 -0
  251. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js.uncompressed.js +44 -0
  252. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js +7 -0
  253. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js.uncompressed.js +14 -0
  254. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js +22 -0
  255. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js.uncompressed.js +33 -0
  256. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js +20 -0
  257. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js.uncompressed.js +31 -0
  258. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js +6 -0
  259. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js.uncompressed.js +12 -0
  260. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js +68 -0
  261. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js.uncompressed.js +120 -0
  262. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js +209 -0
  263. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js.uncompressed.js +214 -0
  264. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js +76 -0
  265. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js.uncompressed.js +77 -0
  266. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js +59 -0
  267. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js.uncompressed.js +70 -0
  268. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js +220 -0
  269. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js.uncompressed.js +262 -0
  270. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js +23 -0
  271. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js.uncompressed.js +36 -0
  272. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js +39 -0
  273. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js.uncompressed.js +106 -0
  274. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js +5 -0
  275. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js.uncompressed.js +12 -0
  276. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js +4 -0
  277. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js.uncompressed.js +3 -0
  278. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js +102 -0
  279. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js.uncompressed.js +165 -0
  280. package/vendor/dojo-1.10.10/dojox/color/Palette.js +163 -0
  281. package/vendor/dojo-1.10.10/dojox/color/Palette.js.uncompressed.js +460 -0
  282. package/vendor/dojo-1.10.10/dojox/color/_base.js +174 -0
  283. package/vendor/dojo-1.10.10/dojox/color/_base.js.uncompressed.js +196 -0
  284. package/vendor/dojo-1.10.10/dojox/gfx/fx.js +297 -0
  285. package/vendor/dojo-1.10.10/dojox/gfx/fx.js.uncompressed.js +350 -0
  286. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js +63 -0
  287. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js.uncompressed.js +91 -0
  288. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js +170 -0
  289. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js.uncompressed.js +501 -0
  290. package/vendor/dojo-1.10.10/dojox/gfx/path.js +319 -0
  291. package/vendor/dojo-1.10.10/dojox/gfx/path.js.uncompressed.js +478 -0
  292. package/vendor/dojo-1.10.10/dojox/gfx/shape.js +459 -0
  293. package/vendor/dojo-1.10.10/dojox/gfx/shape.js.uncompressed.js +1091 -0
  294. package/vendor/dojo-1.10.10/dojox/gfx/svg.js +662 -0
  295. package/vendor/dojo-1.10.10/dojox/gfx/svg.js.uncompressed.js +1023 -0
  296. package/vendor/dojo-1.10.10/dojox/gfx/utils.js +199 -0
  297. package/vendor/dojo-1.10.10/dojox/gfx/utils.js.uncompressed.js +322 -0
  298. package/vendor/dojo-1.10.10/dojox/gfx.js +2 -0
  299. package/vendor/dojo-1.10.10/dojox/gfx.js.uncompressed.js +1136 -0
  300. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js +151 -0
  301. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js.uncompressed.js +169 -0
  302. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js +93 -0
  303. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js.uncompressed.js +125 -0
  304. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js +81 -0
  305. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js.uncompressed.js +132 -0
  306. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js +54 -0
  307. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js.uncompressed.js +78 -0
  308. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js +61 -0
  309. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js.uncompressed.js +77 -0
  310. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js +87 -0
  311. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js.uncompressed.js +107 -0
  312. package/vendor/dojo-1.10.10/dojox/lang/functional.js +4 -0
  313. package/vendor/dojo-1.10.10/dojox/lang/functional.js.uncompressed.js +3 -0
  314. package/vendor/dojo-1.10.10/dojox/lang/utils.js +86 -0
  315. package/vendor/dojo-1.10.10/dojox/lang/utils.js.uncompressed.js +121 -0
  316. package/vendor/dojo-1.10.10/dojox/main.js +4 -0
  317. package/vendor/dojo-1.10.10/dojox/main.js.uncompressed.js +14 -0
  318. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js +112 -0
  319. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js.uncompressed.js +208 -0
  320. package/vendor/dojo-1.10.10/dojox/storage/Provider.js +62 -0
  321. package/vendor/dojo-1.10.10/dojox/storage/Provider.js.uncompressed.js +344 -0
  322. package/vendor/dojo-1.10.10/dojox/storage/manager.js +110 -0
  323. package/vendor/dojo-1.10.10/dojox/storage/manager.js.uncompressed.js +263 -0
@@ -0,0 +1,236 @@
1
+ define("dijit/layout/_ContentPaneResizeMixin", [
2
+ "dojo/_base/array", // array.filter array.forEach
3
+ "dojo/_base/declare", // declare
4
+ "dojo/dom-class", // domClass.contains domClass.toggle
5
+ "dojo/dom-geometry", // domGeometry.contentBox domGeometry.marginBox
6
+ "dojo/dom-style",
7
+ "dojo/_base/lang", // lang.mixin
8
+ "dojo/query", // query
9
+ "../registry", // registry.byId
10
+ "../Viewport",
11
+ "./utils" // marginBox2contextBox
12
+ ], function(array, declare, domClass, domGeometry, domStyle, lang, query,
13
+ registry, Viewport, layoutUtils){
14
+
15
+ // module:
16
+ // dijit/layout/_ContentPaneResizeMixin
17
+
18
+ return declare("dijit.layout._ContentPaneResizeMixin", null, {
19
+ // summary:
20
+ // Resize() functionality of ContentPane. If there's a single layout widget
21
+ // child then it will call resize() with the same dimensions as the ContentPane.
22
+ // Otherwise just calls resize on each child.
23
+ //
24
+ // Also implements basic startup() functionality, where starting the parent
25
+ // will start the children
26
+
27
+ // doLayout: Boolean
28
+ // - false - don't adjust size of children
29
+ // - true - if there is a single visible child widget, set it's size to however big the ContentPane is
30
+ doLayout: true,
31
+
32
+ // isLayoutContainer: [protected] Boolean
33
+ // Indicates that this widget will call resize() on it's child widgets
34
+ // when they become visible.
35
+ isLayoutContainer: true,
36
+
37
+ startup: function(){
38
+ // summary:
39
+ // See `dijit/layout/_LayoutWidget.startup()` for description.
40
+ // Although ContentPane doesn't extend _LayoutWidget, it does implement
41
+ // the same API.
42
+
43
+ if(this._started){
44
+ return;
45
+ }
46
+
47
+ var parent = this.getParent();
48
+ this._childOfLayoutWidget = parent && parent.isLayoutContainer;
49
+
50
+ // I need to call resize() on my child/children (when I become visible), unless
51
+ // I'm the child of a layout widget in which case my parent will call resize() on me and I'll do it then.
52
+ this._needLayout = !this._childOfLayoutWidget;
53
+
54
+ this.inherited(arguments);
55
+
56
+ if(this._isShown()){
57
+ this._onShow();
58
+ }
59
+
60
+ if(!this._childOfLayoutWidget){
61
+ // Since my parent isn't a layout container, and my style *may be* width=height=100%
62
+ // or something similar (either set directly or via a CSS class),
63
+ // monitor when viewport size changes so that I can re-layout.
64
+ // This is more for subclasses of ContentPane than ContentPane itself, although it
65
+ // could be useful for a ContentPane if it has a single child widget inheriting ContentPane's size.
66
+ this.own(Viewport.on("resize", lang.hitch(this, "resize")));
67
+ }
68
+ },
69
+
70
+ _checkIfSingleChild: function(){
71
+ // summary:
72
+ // Test if we have exactly one visible widget as a child,
73
+ // and if so assume that we are a container for that widget,
74
+ // and should propagate startup() and resize() calls to it.
75
+ // Skips over things like data stores since they aren't visible.
76
+
77
+ if(!this.doLayout){ return; }
78
+
79
+ var candidateWidgets = [],
80
+ otherVisibleNodes = false;
81
+
82
+ query("> *", this.containerNode).some(function(node){
83
+ var widget = registry.byNode(node);
84
+ if(widget && widget.resize){
85
+ candidateWidgets.push(widget);
86
+ }else if(!/script|link|style/i.test(node.nodeName) && node.offsetHeight){
87
+ otherVisibleNodes = true;
88
+ }
89
+ });
90
+
91
+ this._singleChild = candidateWidgets.length == 1 && !otherVisibleNodes ?
92
+ candidateWidgets[0] : null;
93
+
94
+ // So we can set overflow: hidden to avoid a safari bug w/scrollbars showing up (#9449)
95
+ domClass.toggle(this.containerNode, this.baseClass + "SingleChild", !!this._singleChild);
96
+ },
97
+
98
+ resize: function(changeSize, resultSize){
99
+ // summary:
100
+ // See `dijit/layout/_LayoutWidget.resize()` for description.
101
+ // Although ContentPane doesn't extend _LayoutWidget, it does implement
102
+ // the same API.
103
+
104
+ this._resizeCalled = true;
105
+
106
+ this._scheduleLayout(changeSize, resultSize);
107
+ },
108
+
109
+ _scheduleLayout: function(changeSize, resultSize){
110
+ // summary:
111
+ // Resize myself, and call resize() on each of my child layout widgets, either now
112
+ // (if I'm currently visible) or when I become visible
113
+ if(this._isShown()){
114
+ this._layout(changeSize, resultSize);
115
+ }else{
116
+ this._needLayout = true;
117
+ this._changeSize = changeSize;
118
+ this._resultSize = resultSize;
119
+ }
120
+ },
121
+
122
+ _layout: function(changeSize, resultSize){
123
+ // summary:
124
+ // Resize myself according to optional changeSize/resultSize parameters, like a layout widget.
125
+ // Also, since I am an isLayoutContainer widget, each of my children expects me to
126
+ // call resize() or layout() on it.
127
+ //
128
+ // Should be called on initialization and also whenever we get new content
129
+ // (from an href, or from set('content', ...))... but deferred until
130
+ // the ContentPane is visible
131
+
132
+ delete this._needLayout;
133
+
134
+ // For the TabContainer --> BorderContainer --> ContentPane case, _onShow() is
135
+ // never called directly, so resize() is our trigger to do the initial href download (see [20099]).
136
+ // However, don't load href for closed TitlePanes.
137
+ if(!this._wasShown && this.open !== false){
138
+ this._onShow();
139
+ }
140
+
141
+ // Set margin box size, unless it wasn't specified, in which case use current size.
142
+ if(changeSize){
143
+ domGeometry.setMarginBox(this.domNode, changeSize);
144
+ }
145
+
146
+ // Compute content box size of containerNode in case we [later] need to size our single child.
147
+ var cn = this.containerNode;
148
+ if(cn === this.domNode){
149
+ // If changeSize or resultSize was passed to this method and this.containerNode ==
150
+ // this.domNode then we can compute the content-box size without querying the node,
151
+ // which is more reliable (similar to LayoutWidget.resize) (see for example #9449).
152
+ var mb = resultSize || {};
153
+ lang.mixin(mb, changeSize || {}); // changeSize overrides resultSize
154
+ if(!("h" in mb) || !("w" in mb)){
155
+ mb = lang.mixin(domGeometry.getMarginBox(cn), mb); // just use domGeometry.setMarginBox() to fill in missing values
156
+ }
157
+ this._contentBox = layoutUtils.marginBox2contentBox(cn, mb);
158
+ }else{
159
+ this._contentBox = domGeometry.getContentBox(cn);
160
+ }
161
+
162
+ this._layoutChildren();
163
+ },
164
+
165
+ _layoutChildren: function(){
166
+ // Call _checkIfSingleChild() again in case app has manually mucked w/the content
167
+ // of the ContentPane (rather than changing it through the set("content", ...) API.
168
+ this._checkIfSingleChild();
169
+
170
+ if(this._singleChild && this._singleChild.resize){
171
+ var cb = this._contentBox || domGeometry.getContentBox(this.containerNode);
172
+
173
+ // note: if widget has padding this._contentBox will have l and t set,
174
+ // but don't pass them to resize() or it will doubly-offset the child
175
+ this._singleChild.resize({w: cb.w, h: cb.h});
176
+ }else{
177
+ // All my child widgets are independently sized (rather than matching my size),
178
+ // but I still need to call resize() on each child to make it layout.
179
+ var children = this.getChildren(),
180
+ widget,
181
+ i = 0;
182
+ while(widget = children[i++]){
183
+ if(widget.resize){
184
+ widget.resize();
185
+ }
186
+ }
187
+ }
188
+ },
189
+
190
+ _isShown: function(){
191
+ // summary:
192
+ // Returns true if the content is currently shown.
193
+ // description:
194
+ // If I am a child of a layout widget then it actually returns true if I've ever been visible,
195
+ // not whether I'm currently visible, since that's much faster than tracing up the DOM/widget
196
+ // tree every call, and at least solves the performance problem on page load by deferring loading
197
+ // hidden ContentPanes until they are first shown
198
+
199
+ if(this._childOfLayoutWidget){
200
+ // If we are TitlePane, etc - we return that only *IF* we've been resized
201
+ if(this._resizeCalled && "open" in this){
202
+ return this.open;
203
+ }
204
+ return this._resizeCalled;
205
+ }else if("open" in this){
206
+ return this.open; // for TitlePane, etc.
207
+ }else{
208
+ var node = this.domNode, parent = this.domNode.parentNode;
209
+ return (node.style.display != 'none') && (node.style.visibility != 'hidden') && !domClass.contains(node, "dijitHidden") &&
210
+ parent && parent.style && (parent.style.display != 'none');
211
+ }
212
+ },
213
+
214
+ _onShow: function(){
215
+ // summary:
216
+ // Called when the ContentPane is made visible
217
+ // description:
218
+ // For a plain ContentPane, this is called on initialization, from startup().
219
+ // If the ContentPane is a hidden pane of a TabContainer etc., then it's
220
+ // called whenever the pane is made visible.
221
+ //
222
+ // Does layout/resize of child widget(s)
223
+
224
+ // Need to keep track of whether ContentPane has been shown (which is different than
225
+ // whether or not it's currently visible).
226
+ this._wasShown = true;
227
+
228
+ if(this._needLayout){
229
+ // If a layout has been scheduled for when we become visible, do it now
230
+ this._layout(this._changeSize, this._resultSize);
231
+ }
232
+
233
+ this.inherited(arguments);
234
+ }
235
+ });
236
+ });
@@ -0,0 +1,47 @@
1
+ //>>built
2
+ define("dijit/layout/_LayoutWidget",["dojo/_base/lang","../_Widget","../_Container","../_Contained","../Viewport","dojo/_base/declare","dojo/dom-class","dojo/dom-geometry","dojo/dom-style"],function(_1,_2,_3,_4,_5,_6,_7,_8,_9){
3
+ return _6("dijit.layout._LayoutWidget",[_2,_3,_4],{baseClass:"dijitLayoutContainer",isLayoutContainer:true,_setTitleAttr:null,buildRendering:function(){
4
+ this.inherited(arguments);
5
+ _7.add(this.domNode,"dijitContainer");
6
+ },startup:function(){
7
+ if(this._started){
8
+ return;
9
+ }
10
+ this.inherited(arguments);
11
+ var _a=this.getParent&&this.getParent();
12
+ if(!(_a&&_a.isLayoutContainer)){
13
+ this.resize();
14
+ this.own(_5.on("resize",_1.hitch(this,"resize")));
15
+ }
16
+ },resize:function(_b,_c){
17
+ var _d=this.domNode;
18
+ if(_b){
19
+ _8.setMarginBox(_d,_b);
20
+ }
21
+ var mb=_c||{};
22
+ _1.mixin(mb,_b||{});
23
+ if(!("h" in mb)||!("w" in mb)){
24
+ mb=_1.mixin(_8.getMarginBox(_d),mb);
25
+ }
26
+ var cs=_9.getComputedStyle(_d);
27
+ var me=_8.getMarginExtents(_d,cs);
28
+ var be=_8.getBorderExtents(_d,cs);
29
+ var bb=(this._borderBox={w:mb.w-(me.w+be.w),h:mb.h-(me.h+be.h)});
30
+ var pe=_8.getPadExtents(_d,cs);
31
+ this._contentBox={l:_9.toPixelValue(_d,cs.paddingLeft),t:_9.toPixelValue(_d,cs.paddingTop),w:bb.w-pe.w,h:bb.h-pe.h};
32
+ this.layout();
33
+ },layout:function(){
34
+ },_setupChild:function(_e){
35
+ var _f=this.baseClass+"-child "+(_e.baseClass?this.baseClass+"-"+_e.baseClass:"");
36
+ _7.add(_e.domNode,_f);
37
+ },addChild:function(_10,_11){
38
+ this.inherited(arguments);
39
+ if(this._started){
40
+ this._setupChild(_10);
41
+ }
42
+ },removeChild:function(_12){
43
+ var cls=this.baseClass+"-child"+(_12.baseClass?" "+this.baseClass+"-"+_12.baseClass:"");
44
+ _7.remove(_12.domNode,cls);
45
+ this.inherited(arguments);
46
+ }});
47
+ });
@@ -0,0 +1,190 @@
1
+ define("dijit/layout/_LayoutWidget", [
2
+ "dojo/_base/lang", // lang.mixin
3
+ "../_Widget",
4
+ "../_Container",
5
+ "../_Contained",
6
+ "../Viewport",
7
+ "dojo/_base/declare", // declare
8
+ "dojo/dom-class", // domClass.add domClass.remove
9
+ "dojo/dom-geometry", // domGeometry.marginBox
10
+ "dojo/dom-style" // domStyle.getComputedStyle
11
+ ], function(lang, _Widget, _Container, _Contained, Viewport,
12
+ declare, domClass, domGeometry, domStyle){
13
+
14
+ // module:
15
+ // dijit/layout/_LayoutWidget
16
+
17
+
18
+ return declare("dijit.layout._LayoutWidget", [_Widget, _Container, _Contained], {
19
+ // summary:
20
+ // Base class for a _Container widget which is responsible for laying out its children.
21
+ // Widgets which mixin this code must define layout() to manage placement and sizing of the children.
22
+
23
+ // baseClass: [protected extension] String
24
+ // This class name is applied to the widget's domNode
25
+ // and also may be used to generate names for sub nodes,
26
+ // for example dijitTabContainer-content.
27
+ baseClass: "dijitLayoutContainer",
28
+
29
+ // isLayoutContainer: [protected] Boolean
30
+ // Indicates that this widget is going to call resize() on its
31
+ // children widgets, setting their size, when they become visible.
32
+ isLayoutContainer: true,
33
+
34
+ // Cancel _WidgetBase's _setTitleAttr because we don't want the title property (used to specify
35
+ // tab labels) to be set as an attribute on this.domNode... otherwise a tooltip shows up over the
36
+ // entire widget.
37
+ _setTitleAttr: null,
38
+
39
+ buildRendering: function(){
40
+ this.inherited(arguments);
41
+ domClass.add(this.domNode, "dijitContainer");
42
+ },
43
+
44
+ startup: function(){
45
+ // summary:
46
+ // Called after all the widgets have been instantiated and their
47
+ // dom nodes have been inserted somewhere under <body>.
48
+ //
49
+ // Widgets should override this method to do any initialization
50
+ // dependent on other widgets existing, and then call
51
+ // this superclass method to finish things off.
52
+ //
53
+ // startup() in subclasses shouldn't do anything
54
+ // size related because the size of the widget hasn't been set yet.
55
+
56
+ if(this._started){ return; }
57
+
58
+ // Need to call inherited first - so that child widgets get started
59
+ // up correctly
60
+ this.inherited(arguments);
61
+
62
+ // If I am a not being controlled by a parent layout widget...
63
+ var parent = this.getParent && this.getParent();
64
+ if(!(parent && parent.isLayoutContainer)){
65
+ // Do recursive sizing and layout of all my descendants
66
+ // (passing in no argument to resize means that it has to glean the size itself)
67
+ this.resize();
68
+
69
+ // Since my parent isn't a layout container, and my style *may be* width=height=100%
70
+ // or something similar (either set directly or via a CSS class),
71
+ // monitor when viewport size changes so that I can re-layout.
72
+ this.own(Viewport.on("resize", lang.hitch(this, "resize")));
73
+ }
74
+ },
75
+
76
+ resize: function(changeSize, resultSize){
77
+ // summary:
78
+ // Call this to resize a widget, or after its size has changed.
79
+ // description:
80
+ // ####Change size mode:
81
+ //
82
+ // When changeSize is specified, changes the marginBox of this widget
83
+ // and forces it to re-layout its contents accordingly.
84
+ // changeSize may specify height, width, or both.
85
+ //
86
+ // If resultSize is specified it indicates the size the widget will
87
+ // become after changeSize has been applied.
88
+ //
89
+ // ####Notification mode:
90
+ //
91
+ // When changeSize is null, indicates that the caller has already changed
92
+ // the size of the widget, or perhaps it changed because the browser
93
+ // window was resized. Tells widget to re-layout its contents accordingly.
94
+ //
95
+ // If resultSize is also specified it indicates the size the widget has
96
+ // become.
97
+ //
98
+ // In either mode, this method also:
99
+ //
100
+ // 1. Sets this._borderBox and this._contentBox to the new size of
101
+ // the widget. Queries the current domNode size if necessary.
102
+ // 2. Calls layout() to resize contents (and maybe adjust child widgets).
103
+ // changeSize: Object?
104
+ // Sets the widget to this margin-box size and position.
105
+ // May include any/all of the following properties:
106
+ // | {w: int, h: int, l: int, t: int}
107
+ // resultSize: Object?
108
+ // The margin-box size of this widget after applying changeSize (if
109
+ // changeSize is specified). If caller knows this size and
110
+ // passes it in, we don't need to query the browser to get the size.
111
+ // | {w: int, h: int}
112
+
113
+ var node = this.domNode;
114
+
115
+ // set margin box size, unless it wasn't specified, in which case use current size
116
+ if(changeSize){
117
+ domGeometry.setMarginBox(node, changeSize);
118
+ }
119
+
120
+ // If either height or width wasn't specified by the user, then query node for it.
121
+ // But note that setting the margin box and then immediately querying dimensions may return
122
+ // inaccurate results, so try not to depend on it.
123
+ var mb = resultSize || {};
124
+ lang.mixin(mb, changeSize || {}); // changeSize overrides resultSize
125
+ if( !("h" in mb) || !("w" in mb) ){
126
+ mb = lang.mixin(domGeometry.getMarginBox(node), mb); // just use domGeometry.marginBox() to fill in missing values
127
+ }
128
+
129
+ // Compute and save the size of my border box and content box
130
+ // (w/out calling domGeometry.getContentBox() since that may fail if size was recently set)
131
+ var cs = domStyle.getComputedStyle(node);
132
+ var me = domGeometry.getMarginExtents(node, cs);
133
+ var be = domGeometry.getBorderExtents(node, cs);
134
+ var bb = (this._borderBox = {
135
+ w: mb.w - (me.w + be.w),
136
+ h: mb.h - (me.h + be.h)
137
+ });
138
+ var pe = domGeometry.getPadExtents(node, cs);
139
+ this._contentBox = {
140
+ l: domStyle.toPixelValue(node, cs.paddingLeft),
141
+ t: domStyle.toPixelValue(node, cs.paddingTop),
142
+ w: bb.w - pe.w,
143
+ h: bb.h - pe.h
144
+ };
145
+
146
+ // Callback for widget to adjust size of its children
147
+ this.layout();
148
+ },
149
+
150
+ layout: function(){
151
+ // summary:
152
+ // Widgets override this method to size and position their contents/children.
153
+ // When this is called this._contentBox is guaranteed to be set (see resize()).
154
+ //
155
+ // This is called after startup(), and also when the widget's size has been
156
+ // changed.
157
+ // tags:
158
+ // protected extension
159
+ },
160
+
161
+ _setupChild: function(/*dijit/_WidgetBase*/child){
162
+ // summary:
163
+ // Common setup for initial children and children which are added after startup
164
+ // tags:
165
+ // protected extension
166
+
167
+ var cls = this.baseClass + "-child "
168
+ + (child.baseClass ? this.baseClass + "-" + child.baseClass : "");
169
+ domClass.add(child.domNode, cls);
170
+ },
171
+
172
+ addChild: function(/*dijit/_WidgetBase*/ child, /*Integer?*/ insertIndex){
173
+ // Overrides _Container.addChild() to call _setupChild()
174
+ this.inherited(arguments);
175
+ if(this._started){
176
+ this._setupChild(child);
177
+ }
178
+ },
179
+
180
+ removeChild: function(/*dijit/_WidgetBase*/ child){
181
+ // Overrides _Container.removeChild() to remove class added by _setupChild()
182
+ var cls = this.baseClass + "-child"
183
+ + (child.baseClass ?
184
+ " " + this.baseClass + "-" + child.baseClass : "");
185
+ domClass.remove(child.domNode, cls);
186
+
187
+ this.inherited(arguments);
188
+ }
189
+ });
190
+ });
@@ -0,0 +1,77 @@
1
+ //>>built
2
+ define("dijit/layout/utils",["dojo/_base/array","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang"],function(_1,_2,_3,_4,_5){
3
+ function _6(_7){
4
+ return _7.substring(0,1).toUpperCase()+_7.substring(1);
5
+ };
6
+ function _8(_9,_a){
7
+ var _b=_9.resize?_9.resize(_a):_3.setMarginBox(_9.domNode,_a);
8
+ if(_b){
9
+ _5.mixin(_9,_b);
10
+ }else{
11
+ _5.mixin(_9,_3.getMarginBox(_9.domNode));
12
+ _5.mixin(_9,_a);
13
+ }
14
+ };
15
+ var _c={marginBox2contentBox:function(_d,mb){
16
+ var cs=_4.getComputedStyle(_d);
17
+ var me=_3.getMarginExtents(_d,cs);
18
+ var pb=_3.getPadBorderExtents(_d,cs);
19
+ return {l:_4.toPixelValue(_d,cs.paddingLeft),t:_4.toPixelValue(_d,cs.paddingTop),w:mb.w-(me.w+pb.w),h:mb.h-(me.h+pb.h)};
20
+ },layoutChildren:function(_e,_f,_10,_11,_12){
21
+ _f=_5.mixin({},_f);
22
+ _2.add(_e,"dijitLayoutContainer");
23
+ _10=_1.filter(_10,function(_13){
24
+ return _13.region!="center"&&_13.layoutAlign!="client";
25
+ }).concat(_1.filter(_10,function(_14){
26
+ return _14.region=="center"||_14.layoutAlign=="client";
27
+ }));
28
+ _1.forEach(_10,function(_15){
29
+ var elm=_15.domNode,pos=(_15.region||_15.layoutAlign);
30
+ if(!pos){
31
+ throw new Error("No region setting for "+_15.id);
32
+ }
33
+ var _16=elm.style;
34
+ _16.left=_f.l+"px";
35
+ _16.top=_f.t+"px";
36
+ _16.position="absolute";
37
+ _2.add(elm,"dijitAlign"+_6(pos));
38
+ var _17={};
39
+ if(_11&&_11==_15.id){
40
+ _17[_15.region=="top"||_15.region=="bottom"?"h":"w"]=_12;
41
+ }
42
+ if(pos=="leading"){
43
+ pos=_15.isLeftToRight()?"left":"right";
44
+ }
45
+ if(pos=="trailing"){
46
+ pos=_15.isLeftToRight()?"right":"left";
47
+ }
48
+ if(pos=="top"||pos=="bottom"){
49
+ _17.w=_f.w;
50
+ _8(_15,_17);
51
+ _f.h-=_15.h;
52
+ if(pos=="top"){
53
+ _f.t+=_15.h;
54
+ }else{
55
+ _16.top=_f.t+_f.h+"px";
56
+ }
57
+ }else{
58
+ if(pos=="left"||pos=="right"){
59
+ _17.h=_f.h;
60
+ _8(_15,_17);
61
+ _f.w-=_15.w;
62
+ if(pos=="left"){
63
+ _f.l+=_15.w;
64
+ }else{
65
+ _16.left=_f.l+_f.w+"px";
66
+ }
67
+ }else{
68
+ if(pos=="client"||pos=="center"){
69
+ _8(_15,_f);
70
+ }
71
+ }
72
+ }
73
+ });
74
+ }};
75
+ _5.setObject("dijit.layout.utils",_c);
76
+ return _c;
77
+ });