@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,438 @@
1
+ define("dojo/request/iframe", [
2
+ 'module',
3
+ 'require',
4
+ './watch',
5
+ './util',
6
+ './handlers',
7
+ '../_base/lang',
8
+ '../io-query',
9
+ '../query',
10
+ '../has',
11
+ '../dom',
12
+ '../dom-construct',
13
+ '../_base/window',
14
+ // NodeList enhancement modules;
15
+ // must be loaded (but no reference needed)
16
+ '../NodeList-dom',
17
+ '../NodeList-manipulate'
18
+ ], function(module, require, watch, util, handlers, lang, ioQuery, query, has, dom, domConstruct, win){
19
+ var mid = module.id.replace(/[\/\.\-]/g, '_'),
20
+ onload = mid + '_onload';
21
+
22
+ if(!win.global[onload]){
23
+ win.global[onload] = function(){
24
+ var dfd = iframe._currentDfd;
25
+ if(!dfd){
26
+ iframe._fireNextRequest();
27
+ return;
28
+ }
29
+
30
+ var response = dfd.response,
31
+ options = response.options,
32
+ formNode = dom.byId(options.form) || dfd._tmpForm;
33
+
34
+ if(formNode){
35
+ // remove all the hidden content inputs
36
+ var toClean = dfd._contentToClean;
37
+ for(var i=0; i<toClean.length; i++){
38
+ var key = toClean[i];
39
+ //Need to cycle over all nodes since we may have added
40
+ //an array value which means that more than one node could
41
+ //have the same .name value.
42
+ for(var j=0; j<formNode.childNodes.length; j++){
43
+ var childNode = formNode.childNodes[j];
44
+ if(childNode.name === key){
45
+ domConstruct.destroy(childNode);
46
+ break;
47
+ }
48
+ }
49
+ }
50
+
51
+ // restore original action + target
52
+ dfd._originalAction && formNode.setAttribute('action', dfd._originalAction);
53
+ if(dfd._originalMethod){
54
+ formNode.setAttribute('method', dfd._originalMethod);
55
+ formNode.method = dfd._originalMethod;
56
+ }
57
+ if(dfd._originalTarget){
58
+ formNode.setAttribute('target', dfd._originalTarget);
59
+ formNode.target = dfd._originalTarget;
60
+ }
61
+ }
62
+
63
+ if(dfd._tmpForm){
64
+ domConstruct.destroy(dfd._tmpForm);
65
+ delete dfd._tmpForm;
66
+ }
67
+
68
+ dfd._finished = true;
69
+ };
70
+ }
71
+
72
+ function create(name, onloadstr, uri){
73
+ if(win.global[name]){
74
+ return win.global[name];
75
+ }
76
+
77
+ if(win.global.frames[name]){
78
+ return win.global.frames[name];
79
+ }
80
+
81
+ if(!uri){
82
+ if(has('config-useXDomain') && !has('config-dojoBlankHtmlUrl')){
83
+ console.warn('dojo/request/iframe: When using cross-domain Dojo builds,' +
84
+ ' please save dojo/resources/blank.html to your domain and set dojoConfig.dojoBlankHtmlUrl' +
85
+ ' to the path on your domain to blank.html');
86
+ }
87
+ uri = (has('config-dojoBlankHtmlUrl')||require.toUrl('dojo/resources/blank.html'));
88
+ }
89
+
90
+ var frame = domConstruct.place(
91
+ '<iframe id="'+name+'" name="'+name+'" src="'+uri+'" onload="'+onloadstr+
92
+ '" style="position: absolute; left: 1px; top: 1px; height: 1px; width: 1px; visibility: hidden">',
93
+ win.body());
94
+
95
+ win.global[name] = frame;
96
+
97
+ return frame;
98
+ }
99
+
100
+ function setSrc(_iframe, src, replace){
101
+ var frame = win.global.frames[_iframe.name];
102
+
103
+ if(frame.contentWindow){
104
+ // We have an iframe node instead of the window
105
+ frame = frame.contentWindow;
106
+ }
107
+
108
+ try{
109
+ if(!replace){
110
+ frame.location = src;
111
+ }else{
112
+ frame.location.replace(src);
113
+ }
114
+ }catch(e){
115
+ console.log('dojo/request/iframe.setSrc: ', e);
116
+ }
117
+ }
118
+
119
+ function doc(iframeNode){
120
+ if(iframeNode.contentDocument){
121
+ return iframeNode.contentDocument;
122
+ }
123
+ var name = iframeNode.name;
124
+ if(name){
125
+ var iframes = win.doc.getElementsByTagName('iframe');
126
+ if(iframeNode.document && iframes[name].contentWindow && iframes[name].contentWindow.document){
127
+ return iframes[name].contentWindow.document;
128
+ }else if(win.doc.frames[name] && win.doc.frames[name].document){
129
+ return win.doc.frames[name].document;
130
+ }
131
+ }
132
+ return null;
133
+ }
134
+
135
+ function createForm(){
136
+ return domConstruct.create('form', {
137
+ name: mid + '_form',
138
+ style: {
139
+ position: 'absolute',
140
+ top: '-1000px',
141
+ left: '-1000px'
142
+ }
143
+ }, win.body());
144
+ }
145
+
146
+ function fireNextRequest(){
147
+ // summary:
148
+ // Internal method used to fire the next request in the queue.
149
+ var dfd;
150
+ try{
151
+ if(iframe._currentDfd || !iframe._dfdQueue.length){
152
+ return;
153
+ }
154
+ do{
155
+ dfd = iframe._currentDfd = iframe._dfdQueue.shift();
156
+ }while(dfd && (dfd.canceled || (dfd.isCanceled && dfd.isCanceled())) && iframe._dfdQueue.length);
157
+
158
+ if(!dfd || dfd.canceled || (dfd.isCanceled && dfd.isCanceled())){
159
+ iframe._currentDfd = null;
160
+ return;
161
+ }
162
+
163
+ var response = dfd.response,
164
+ options = response.options,
165
+ c2c = dfd._contentToClean = [],
166
+ formNode = dom.byId(options.form),
167
+ notify = util.notify,
168
+ data = options.data || null,
169
+ queryStr;
170
+
171
+ if(!dfd._legacy && options.method === 'POST' && !formNode){
172
+ formNode = dfd._tmpForm = createForm();
173
+ }else if(options.method === 'GET' && formNode && response.url.indexOf('?') > -1){
174
+ queryStr = response.url.slice(response.url.indexOf('?') + 1);
175
+ data = lang.mixin(ioQuery.queryToObject(queryStr), data);
176
+ }
177
+
178
+ if(formNode){
179
+ if(!dfd._legacy){
180
+ var parentNode = formNode;
181
+ do{
182
+ parentNode = parentNode.parentNode;
183
+ }while(parentNode && parentNode !== win.doc.documentElement);
184
+
185
+ // Append the form node or some browsers won't work
186
+ if(!parentNode){
187
+ formNode.style.position = 'absolute';
188
+ formNode.style.left = '-1000px';
189
+ formNode.style.top = '-1000px';
190
+ win.body().appendChild(formNode);
191
+ }
192
+
193
+ if(!formNode.name){
194
+ formNode.name = mid + '_form';
195
+ }
196
+ }
197
+
198
+ // if we have things in data, we need to add them to the form
199
+ // before submission
200
+ if(data){
201
+ var createInput = function(name, value){
202
+ domConstruct.create('input', {
203
+ type: 'hidden',
204
+ name: name,
205
+ value: value
206
+ }, formNode);
207
+ c2c.push(name);
208
+ };
209
+ for(var x in data){
210
+ var val = data[x];
211
+ if(lang.isArray(val) && val.length > 1){
212
+ for(var i=0; i<val.length; i++){
213
+ createInput(x, val[i]);
214
+ }
215
+ }else{
216
+ // Explicitly search for nodes in the dom tree
217
+ // using formNode[x] may access attributes of the
218
+ // form node itself, e.g. formNode['action']
219
+ var n = query("input[name='"+x+"']", formNode);
220
+
221
+ // Not found if indexOf == -1
222
+ if(n.indexOf() == -1){
223
+ createInput(x, val);
224
+ }else{
225
+ n.val(val);
226
+ }
227
+ }
228
+ }
229
+ }
230
+
231
+ //IE requires going through getAttributeNode instead of just getAttribute in some form cases,
232
+ //so use it for all. See #2844
233
+ var actionNode = formNode.getAttributeNode('action'),
234
+ methodNode = formNode.getAttributeNode('method'),
235
+ targetNode = formNode.getAttributeNode('target');
236
+
237
+ if(response.url){
238
+ dfd._originalAction = actionNode ? actionNode.value : null;
239
+ if(actionNode){
240
+ actionNode.value = response.url;
241
+ }else{
242
+ formNode.setAttribute('action', response.url);
243
+ }
244
+ }
245
+
246
+ if(!dfd._legacy){
247
+ dfd._originalMethod = methodNode ? methodNode.value : null;
248
+ if(methodNode){
249
+ methodNode.value = options.method;
250
+ }else{
251
+ formNode.setAttribute('method', options.method);
252
+ }
253
+ }else{
254
+ if(!methodNode || !methodNode.value){
255
+ if(methodNode){
256
+ methodNode.value = options.method;
257
+ }else{
258
+ formNode.setAttribute('method', options.method);
259
+ }
260
+ }
261
+ }
262
+
263
+ dfd._originalTarget = targetNode ? targetNode.value : null;
264
+ if(targetNode){
265
+ targetNode.value = iframe._iframeName;
266
+ }else{
267
+ formNode.setAttribute('target', iframe._iframeName);
268
+ }
269
+ formNode.target = iframe._iframeName;
270
+
271
+ notify && notify.emit('send', response, dfd.promise.cancel);
272
+ iframe._notifyStart(response);
273
+ formNode.submit();
274
+ }else{
275
+ // otherwise we post a GET string by changing URL location for the
276
+ // iframe
277
+
278
+ var extra = '';
279
+ if(response.options.data){
280
+ extra = response.options.data;
281
+ if(typeof extra !== 'string'){
282
+ extra = ioQuery.objectToQuery(extra);
283
+ }
284
+ }
285
+ var tmpUrl = response.url + (response.url.indexOf('?') > -1 ? '&' : '?') + extra;
286
+ notify && notify.emit('send', response, dfd.promise.cancel);
287
+ iframe._notifyStart(response);
288
+ iframe.setSrc(iframe._frame, tmpUrl, true);
289
+ }
290
+ }catch(e){
291
+ dfd.reject(e);
292
+ }
293
+ }
294
+
295
+ // dojo/request/watch handlers
296
+ function isValid(response){
297
+ return !this.isFulfilled();
298
+ }
299
+ function isReady(response){
300
+ return !!this._finished;
301
+ }
302
+ function handleResponse(response, error){
303
+ if(!error){
304
+ try{
305
+ var options = response.options,
306
+ doc = iframe.doc(iframe._frame),
307
+ handleAs = options.handleAs;
308
+
309
+ if(handleAs !== 'html'){
310
+ if(handleAs === 'xml'){
311
+ // IE6-8 have to parse the XML manually. See http://bugs.dojotoolkit.org/ticket/6334
312
+ if(doc.documentElement.tagName.toLowerCase() === 'html'){
313
+ query('a', doc.documentElement).orphan();
314
+ var xmlText = doc.documentElement.innerText || doc.documentElement.textContent;
315
+ xmlText = xmlText.replace(/>\s+</g, '><');
316
+ response.text = lang.trim(xmlText);
317
+ }else{
318
+ response.data = doc;
319
+ }
320
+ }else{
321
+ // 'json' and 'javascript' and 'text'
322
+ response.text = doc.getElementsByTagName('textarea')[0].value; // text
323
+ }
324
+ handlers(response);
325
+ }else{
326
+ response.data = doc;
327
+ }
328
+ }catch(e){
329
+ error = e;
330
+ }
331
+ }
332
+
333
+ if(error){
334
+ this.reject(error);
335
+ }else if(this._finished){
336
+ this.resolve(response);
337
+ }else{
338
+ this.reject(new Error('Invalid dojo/request/iframe request state'));
339
+ }
340
+ }
341
+ function last(response){
342
+ this._callNext();
343
+ }
344
+
345
+ var defaultOptions = {
346
+ method: 'POST'
347
+ };
348
+ function iframe(url, options, returnDeferred){
349
+ var response = util.parseArgs(url, util.deepCreate(defaultOptions, options), true);
350
+ url = response.url;
351
+ options = response.options;
352
+
353
+ if(options.method !== 'GET' && options.method !== 'POST'){
354
+ throw new Error(options.method + ' not supported by dojo/request/iframe');
355
+ }
356
+
357
+ if(!iframe._frame){
358
+ iframe._frame = iframe.create(iframe._iframeName, onload + '();');
359
+ }
360
+
361
+ var dfd = util.deferred(response, null, isValid, isReady, handleResponse, last);
362
+ dfd._callNext = function(){
363
+ if(!this._calledNext){
364
+ this._calledNext = true;
365
+ iframe._currentDfd = null;
366
+ iframe._fireNextRequest();
367
+ }
368
+ };
369
+ dfd._legacy = returnDeferred;
370
+
371
+ iframe._dfdQueue.push(dfd);
372
+ iframe._fireNextRequest();
373
+
374
+ watch(dfd);
375
+
376
+ return returnDeferred ? dfd : dfd.promise;
377
+ }
378
+
379
+ /*=====
380
+ iframe = function(url, options){
381
+ // summary:
382
+ // Sends a request using an iframe element with the given URL and options.
383
+ // url: String
384
+ // URL to request
385
+ // options: dojo/request/iframe.__Options?
386
+ // Options for the request.
387
+ // returns: dojo/request.__Promise
388
+ };
389
+ iframe.__BaseOptions = declare(request.__BaseOptions, {
390
+ // form: DOMNode?
391
+ // A form node to use to submit data to the server.
392
+ // data: String|Object?
393
+ // Data to transfer. When making a GET request, this will
394
+ // be converted to key=value parameters and appended to the
395
+ // URL.
396
+ });
397
+ iframe.__MethodOptions = declare(null, {
398
+ // method: String?
399
+ // The HTTP method to use to make the request. Must be
400
+ // uppercase. Only `"GET"` and `"POST"` are accepted.
401
+ // Default is `"POST"`.
402
+ });
403
+ iframe.__Options = declare([iframe.__BaseOptions, iframe.__MethodOptions]);
404
+
405
+ iframe.get = function(url, options){
406
+ // summary:
407
+ // Send an HTTP GET request using an iframe element with the given URL and options.
408
+ // url: String
409
+ // URL to request
410
+ // options: dojo/request/iframe.__BaseOptions?
411
+ // Options for the request.
412
+ // returns: dojo/request.__Promise
413
+ };
414
+ iframe.post = function(url, options){
415
+ // summary:
416
+ // Send an HTTP POST request using an iframe element with the given URL and options.
417
+ // url: String
418
+ // URL to request
419
+ // options: dojo/request/iframe.__BaseOptions?
420
+ // Options for the request.
421
+ // returns: dojo/request.__Promise
422
+ };
423
+ =====*/
424
+ iframe.create = create;
425
+ iframe.doc = doc;
426
+ iframe.setSrc = setSrc;
427
+
428
+ // TODO: Make these truly private in 2.0
429
+ iframe._iframeName = mid + '_IoIframe';
430
+ iframe._notifyStart = function(){};
431
+ iframe._dfdQueue = [];
432
+ iframe._currentDfd = null;
433
+ iframe._fireNextRequest = fireNextRequest;
434
+
435
+ util.addCommonMethods(iframe, ['GET', 'POST']);
436
+
437
+ return iframe;
438
+ });
@@ -0,0 +1,129 @@
1
+ /*
2
+ Copyright (c) 2004-2017, The JS Foundation All Rights Reserved.
3
+ Available via Academic Free License >= 2.1 OR the modified BSD license.
4
+ see: http://dojotoolkit.org/license for details
5
+ */
6
+ //>>built
7
+ define("dojo/request/script",["module","./watch","./util","../_base/kernel","../_base/array","../_base/lang","../on","../dom","../dom-construct","../has","../_base/window"],function(_1,_2,_3,_4,_5,_6,on,_7,_8,_9,_a){
8
+ _9.add("script-readystatechange",function(_b,_c){
9
+ var _d=_c.createElement("script");
10
+ return typeof _d["onreadystatechange"]!=="undefined"&&(typeof _b["opera"]==="undefined"||_b["opera"].toString()!=="[object Opera]");
11
+ });
12
+ var _e=_1.id.replace(/[\/\.\-]/g,"_"),_f=0,_10=_9("script-readystatechange")?"readystatechange":"load",_11=/complete|loaded/,_12=_4.global[_e+"_callbacks"]={},_13=[];
13
+ function _14(id,url,_15,_16){
14
+ var doc=(_15||_a.doc),_17=doc.createElement("script");
15
+ if(_16){
16
+ on.once(_17,"error",_16);
17
+ }
18
+ _17.type="text/javascript";
19
+ try{
20
+ _17.src=url;
21
+ }
22
+ catch(err){
23
+ _16&&_16(_17);
24
+ }
25
+ _17.id=id;
26
+ _17.async=true;
27
+ _17.charset="utf-8";
28
+ return doc.getElementsByTagName("head")[0].appendChild(_17);
29
+ };
30
+ function _18(id,_19,_1a){
31
+ _8.destroy(_7.byId(id,_19));
32
+ if(_12[id]){
33
+ if(_1a){
34
+ _12[id]=function(){
35
+ delete _12[id];
36
+ };
37
+ }else{
38
+ delete _12[id];
39
+ }
40
+ }
41
+ };
42
+ function _1b(dfd){
43
+ var _1c=dfd.response.options,_1d=_1c.ioArgs?_1c.ioArgs.frameDoc:_1c.frameDoc;
44
+ _13.push({id:dfd.id,frameDoc:_1d});
45
+ if(_1c.ioArgs){
46
+ _1c.ioArgs.frameDoc=null;
47
+ }
48
+ _1c.frameDoc=null;
49
+ };
50
+ function _1e(dfd,_1f){
51
+ if(dfd.canDelete){
52
+ _20._remove(dfd.id,_1f.options.frameDoc,true);
53
+ }
54
+ };
55
+ function _21(_22){
56
+ if(_13&&_13.length){
57
+ _5.forEach(_13,function(_23){
58
+ _20._remove(_23.id,_23.frameDoc);
59
+ _23.frameDoc=null;
60
+ });
61
+ _13=[];
62
+ }
63
+ return _22.options.jsonp?!_22.data:true;
64
+ };
65
+ function _24(_25){
66
+ return !!this.scriptLoaded;
67
+ };
68
+ function _26(_27){
69
+ var _28=_27.options.checkString;
70
+ return _28&&eval("typeof("+_28+") !== \"undefined\"");
71
+ };
72
+ function _29(_2a,_2b){
73
+ if(this.canDelete){
74
+ _1b(this);
75
+ }
76
+ if(_2b){
77
+ this.reject(_2b);
78
+ }else{
79
+ this.resolve(_2a);
80
+ }
81
+ };
82
+ function _20(url,_2c,_2d){
83
+ var _2e=_3.parseArgs(url,_3.deepCopy({},_2c));
84
+ url=_2e.url;
85
+ _2c=_2e.options;
86
+ var dfd=_3.deferred(_2e,_1e,_21,_2c.jsonp?null:(_2c.checkString?_26:_24),_29);
87
+ _6.mixin(dfd,{id:_e+(_f++),canDelete:false});
88
+ if(_2c.jsonp){
89
+ var _2f=new RegExp("[?&]"+_2c.jsonp+"=");
90
+ if(!_2f.test(url)){
91
+ url+=(~url.indexOf("?")?"&":"?")+_2c.jsonp+"="+(_2c.frameDoc?"parent.":"")+_e+"_callbacks."+dfd.id;
92
+ }
93
+ dfd.canDelete=true;
94
+ _12[dfd.id]=function(_30){
95
+ _2e.data=_30;
96
+ dfd.handleResponse(_2e);
97
+ };
98
+ }
99
+ if(_3.notify){
100
+ _3.notify.emit("send",_2e,dfd.promise.cancel);
101
+ }
102
+ if(!_2c.canAttach||_2c.canAttach(dfd)){
103
+ var _31=_20._attach(dfd.id,url,_2c.frameDoc,function(_32){
104
+ if(!(_32 instanceof Error)){
105
+ var _33=new Error("Error loading "+(_32.target?_32.target.src:"script"));
106
+ _33.source=_32;
107
+ _32=_33;
108
+ }
109
+ dfd.reject(_32);
110
+ _20._remove(dfd.id,_2c.frameDoc,true);
111
+ });
112
+ if(!_2c.jsonp&&!_2c.checkString){
113
+ var _34=on(_31,_10,function(evt){
114
+ if(evt.type==="load"||_11.test(_31.readyState)){
115
+ _34.remove();
116
+ dfd.scriptLoaded=evt;
117
+ }
118
+ });
119
+ }
120
+ }
121
+ _2(dfd);
122
+ return _2d?dfd:dfd.promise;
123
+ };
124
+ _20.get=_20;
125
+ _20._attach=_14;
126
+ _20._remove=_18;
127
+ _20._callbacksProperty=_e+"_callbacks";
128
+ return _20;
129
+ });