@datagrok/helm 2.13.7 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/CREDITS.md +164 -0
  2. package/dist/489.js +2 -0
  3. package/dist/489.js.map +1 -0
  4. package/dist/package-test.js +1 -1
  5. package/dist/package-test.js.map +1 -1
  6. package/dist/package.js +1 -1
  7. package/dist/package.js.map +1 -1
  8. package/files/samples/helm-showcase.csv +56 -0
  9. package/package.json +6 -10
  10. package/src/helm-helper.ts +61 -413
  11. package/src/package-api.ts +14 -11
  12. package/src/package-test.ts +0 -2
  13. package/src/package-utils.ts +8 -298
  14. package/src/package.g.ts +2 -8
  15. package/src/package.ts +11 -31
  16. package/src/tests/helm-activity-cliffs.ts +2 -2
  17. package/src/tests/helm-input-tests.ts +83 -0
  18. package/src/tests/parse-helm-tests.ts +7 -57
  19. package/src/tests/properties-widget-tests.ts +21 -11
  20. package/src/utils/helm-grid-cell-renderer.ts +141 -151
  21. package/src/utils/index.ts +3 -7
  22. package/src/widgets/helm-input.ts +42 -12
  23. package/src/widgets/properties-widget.ts +18 -11
  24. package/test-console-output-1.log +103 -706
  25. package/test-record-1.mp4 +0 -0
  26. package/webpack.config.js +1 -12
  27. package/dist/455.js +0 -2
  28. package/dist/455.js.map +0 -1
  29. package/dist/package-dojo.js +0 -2
  30. package/dist/package-dojo.js.map +0 -1
  31. package/helm/JSDraw/Pistoia.HELM-uncompressed.js +0 -9694
  32. package/helm/JSDraw/ReadMe.txt +0 -8
  33. package/helm/JSDraw/Scilligence.JSDraw2.Lite-uncompressed.js +0 -31126
  34. package/helm/dojo/package.ts +0 -41
  35. package/helm/dojo/types.ts +0 -12
  36. package/src/helm-web-editor.ts +0 -68
  37. package/src/tests/get-monomer-tests.ts +0 -214
  38. package/src/tests/helm-service-tests.ts +0 -98
  39. package/src/types/dojo.ts +0 -3
  40. package/src/types/index.ts +0 -5
  41. package/src/utils/get-monomer.ts +0 -90
  42. package/src/utils/helm-service.ts +0 -166
  43. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js +0 -63
  44. package/vendor/dojo-1.10.10/dijit/BackgroundIframe.js.uncompressed.js +0 -116
  45. package/vendor/dojo-1.10.10/dijit/Destroyable.js +0 -35
  46. package/vendor/dojo-1.10.10/dijit/Destroyable.js.uncompressed.js +0 -83
  47. package/vendor/dojo-1.10.10/dijit/Tooltip.js +0 -240
  48. package/vendor/dojo-1.10.10/dijit/Tooltip.js.uncompressed.js +0 -612
  49. package/vendor/dojo-1.10.10/dijit/Viewport.js +0 -44
  50. package/vendor/dojo-1.10.10/dijit/Viewport.js.uncompressed.js +0 -87
  51. package/vendor/dojo-1.10.10/dijit/WidgetSet.js +0 -76
  52. package/vendor/dojo-1.10.10/dijit/WidgetSet.js.uncompressed.js +0 -247
  53. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js +0 -94
  54. package/vendor/dojo-1.10.10/dijit/_AttachMixin.js.uncompressed.js +0 -238
  55. package/vendor/dojo-1.10.10/dijit/_Contained.js +0 -17
  56. package/vendor/dojo-1.10.10/dijit/_Contained.js.uncompressed.js +0 -56
  57. package/vendor/dojo-1.10.10/dijit/_Container.js +0 -47
  58. package/vendor/dojo-1.10.10/dijit/_Container.js.uncompressed.js +0 -108
  59. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js +0 -198
  60. package/vendor/dojo-1.10.10/dijit/_CssStateMixin.js.uncompressed.js +0 -372
  61. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js +0 -11
  62. package/vendor/dojo-1.10.10/dijit/_FocusMixin.js.uncompressed.js +0 -66
  63. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js +0 -188
  64. package/vendor/dojo-1.10.10/dijit/_HasDropDown.js.uncompressed.js +0 -472
  65. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js +0 -8
  66. package/vendor/dojo-1.10.10/dijit/_OnDijitClickMixin.js.uncompressed.js +0 -31
  67. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js +0 -90
  68. package/vendor/dojo-1.10.10/dijit/_TemplatedMixin.js.uncompressed.js +0 -205
  69. package/vendor/dojo-1.10.10/dijit/_Widget.js +0 -66
  70. package/vendor/dojo-1.10.10/dijit/_Widget.js.uncompressed.js +0 -352
  71. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js +0 -353
  72. package/vendor/dojo-1.10.10/dijit/_WidgetBase.js.uncompressed.js +0 -1200
  73. package/vendor/dojo-1.10.10/dijit/_base/focus.js +0 -68
  74. package/vendor/dojo-1.10.10/dijit/_base/focus.js.uncompressed.js +0 -207
  75. package/vendor/dojo-1.10.10/dijit/_base/manager.js +0 -10
  76. package/vendor/dojo-1.10.10/dijit/_base/manager.js.uncompressed.js +0 -35
  77. package/vendor/dojo-1.10.10/dijit/_base/place.js +0 -52
  78. package/vendor/dojo-1.10.10/dijit/_base/place.js.uncompressed.js +0 -131
  79. package/vendor/dojo-1.10.10/dijit/_base/popup.js +0 -23
  80. package/vendor/dojo-1.10.10/dijit/_base/popup.js.uncompressed.js +0 -58
  81. package/vendor/dojo-1.10.10/dijit/_base/scroll.js +0 -6
  82. package/vendor/dojo-1.10.10/dijit/_base/scroll.js.uncompressed.js +0 -22
  83. package/vendor/dojo-1.10.10/dijit/_base/sniff.js +0 -3
  84. package/vendor/dojo-1.10.10/dijit/_base/sniff.js.uncompressed.js +0 -12
  85. package/vendor/dojo-1.10.10/dijit/_base/typematic.js +0 -3
  86. package/vendor/dojo-1.10.10/dijit/_base/typematic.js.uncompressed.js +0 -10
  87. package/vendor/dojo-1.10.10/dijit/_base/wai.js +0 -32
  88. package/vendor/dojo-1.10.10/dijit/_base/wai.js.uncompressed.js +0 -109
  89. package/vendor/dojo-1.10.10/dijit/_base/window.js +0 -6
  90. package/vendor/dojo-1.10.10/dijit/_base/window.js.uncompressed.js +0 -18
  91. package/vendor/dojo-1.10.10/dijit/_base.js +0 -4
  92. package/vendor/dojo-1.10.10/dijit/_base.js.uncompressed.js +0 -27
  93. package/vendor/dojo-1.10.10/dijit/a11y.js +0 -109
  94. package/vendor/dojo-1.10.10/dijit/a11y.js.uncompressed.js +0 -191
  95. package/vendor/dojo-1.10.10/dijit/a11yclick.js +0 -66
  96. package/vendor/dojo-1.10.10/dijit/a11yclick.js.uncompressed.js +0 -139
  97. package/vendor/dojo-1.10.10/dijit/focus.js +0 -188
  98. package/vendor/dojo-1.10.10/dijit/focus.js.uncompressed.js +0 -371
  99. package/vendor/dojo-1.10.10/dijit/form/Button.js +0 -49
  100. package/vendor/dojo-1.10.10/dijit/form/Button.js.uncompressed.js +0 -130
  101. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js +0 -4
  102. package/vendor/dojo-1.10.10/dijit/form/ComboBox.js.uncompressed.js +0 -27
  103. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js +0 -21
  104. package/vendor/dojo-1.10.10/dijit/form/ComboButton.js.uncompressed.js +0 -86
  105. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js +0 -38
  106. package/vendor/dojo-1.10.10/dijit/form/DropDownButton.js.uncompressed.js +0 -102
  107. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js +0 -7
  108. package/vendor/dojo-1.10.10/dijit/form/ToggleButton.js.uncompressed.js +0 -26
  109. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js +0 -50
  110. package/vendor/dojo-1.10.10/dijit/form/_ButtonMixin.js.uncompressed.js +0 -116
  111. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js +0 -26
  112. package/vendor/dojo-1.10.10/dijit/form/_FormValueMixin.js.uncompressed.js +0 -81
  113. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js +0 -24
  114. package/vendor/dojo-1.10.10/dijit/form/_FormValueWidget.js.uncompressed.js +0 -51
  115. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js +0 -22
  116. package/vendor/dojo-1.10.10/dijit/form/_FormWidget.js.uncompressed.js +0 -67
  117. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js +0 -111
  118. package/vendor/dojo-1.10.10/dijit/form/_FormWidgetMixin.js.uncompressed.js +0 -254
  119. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js +0 -32
  120. package/vendor/dojo-1.10.10/dijit/form/_ToggleButtonMixin.js.uncompressed.js +0 -69
  121. package/vendor/dojo-1.10.10/dijit/hccss.js +0 -9
  122. package/vendor/dojo-1.10.10/dijit/hccss.js.uncompressed.js +0 -21
  123. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js +0 -215
  124. package/vendor/dojo-1.10.10/dijit/layout/AccordionContainer.js.uncompressed.js +0 -550
  125. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js +0 -7
  126. package/vendor/dojo-1.10.10/dijit/layout/AccordionPane.js.uncompressed.js +0 -25
  127. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js +0 -235
  128. package/vendor/dojo-1.10.10/dijit/layout/ContentPane.js.uncompressed.js +0 -653
  129. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js +0 -171
  130. package/vendor/dojo-1.10.10/dijit/layout/StackContainer.js.uncompressed.js +0 -411
  131. package/vendor/dojo-1.10.10/dijit/layout/StackController.js +0 -194
  132. package/vendor/dojo-1.10.10/dijit/layout/StackController.js.uncompressed.js +0 -410
  133. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js +0 -99
  134. package/vendor/dojo-1.10.10/dijit/layout/_ContentPaneResizeMixin.js.uncompressed.js +0 -236
  135. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js +0 -47
  136. package/vendor/dojo-1.10.10/dijit/layout/_LayoutWidget.js.uncompressed.js +0 -190
  137. package/vendor/dojo-1.10.10/dijit/layout/utils.js +0 -77
  138. package/vendor/dojo-1.10.10/dijit/layout/utils.js.uncompressed.js +0 -151
  139. package/vendor/dojo-1.10.10/dijit/main.js +0 -4
  140. package/vendor/dojo-1.10.10/dijit/main.js.uncompressed.js +0 -16
  141. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js +0 -2
  142. package/vendor/dojo-1.10.10/dijit/nls/dijit-all_en-us.js.uncompressed.js +0 -21
  143. package/vendor/dojo-1.10.10/dijit/nls/loading.js +0 -2
  144. package/vendor/dojo-1.10.10/dijit/nls/loading.js.uncompressed.js +0 -47
  145. package/vendor/dojo-1.10.10/dijit/place.js +0 -142
  146. package/vendor/dojo-1.10.10/dijit/place.js.uncompressed.js +0 -407
  147. package/vendor/dojo-1.10.10/dijit/popup.js +0 -162
  148. package/vendor/dojo-1.10.10/dijit/popup.js.uncompressed.js +0 -441
  149. package/vendor/dojo-1.10.10/dijit/registry.js +0 -79
  150. package/vendor/dojo-1.10.10/dijit/registry.js.uncompressed.js +0 -159
  151. package/vendor/dojo-1.10.10/dijit/selection.js +0 -364
  152. package/vendor/dojo-1.10.10/dijit/selection.js.uncompressed.js +0 -525
  153. package/vendor/dojo-1.10.10/dijit/typematic.js +0 -96
  154. package/vendor/dojo-1.10.10/dijit/typematic.js.uncompressed.js +0 -211
  155. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js +0 -195
  156. package/vendor/dojo-1.10.10/dojo/NodeList-manipulate.js.uncompressed.js +0 -761
  157. package/vendor/dojo-1.10.10/dojo/Stateful.js +0 -90
  158. package/vendor/dojo-1.10.10/dojo/Stateful.js.uncompressed.js +0 -218
  159. package/vendor/dojo-1.10.10/dojo/_base/url.js +0 -87
  160. package/vendor/dojo-1.10.10/dojo/_base/url.js.uncompressed.js +0 -109
  161. package/vendor/dojo-1.10.10/dojo/cache.js +0 -9
  162. package/vendor/dojo-1.10.10/dojo/cache.js.uncompressed.js +0 -7
  163. package/vendor/dojo-1.10.10/dojo/colors.js +0 -74
  164. package/vendor/dojo-1.10.10/dojo/colors.js.uncompressed.js +0 -232
  165. package/vendor/dojo-1.10.10/dojo/cookie.js +0 -48
  166. package/vendor/dojo-1.10.10/dojo/cookie.js.uncompressed.js +0 -98
  167. package/vendor/dojo-1.10.10/dojo/date/stamp.js +0 -82
  168. package/vendor/dojo-1.10.10/dojo/date/stamp.js.uncompressed.js +0 -144
  169. package/vendor/dojo-1.10.10/dojo/dojo.js +0 -7
  170. package/vendor/dojo-1.10.10/dojo/dojo.js.uncompressed.js +0 -18680
  171. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js +0 -27
  172. package/vendor/dojo-1.10.10/dojo/fx/Toggler.js.uncompressed.js +0 -101
  173. package/vendor/dojo-1.10.10/dojo/fx/easing.js +0 -165
  174. package/vendor/dojo-1.10.10/dojo/fx/easing.js.uncompressed.js +0 -276
  175. package/vendor/dojo-1.10.10/dojo/fx.js +0 -271
  176. package/vendor/dojo-1.10.10/dojo/fx.js.uncompressed.js +0 -443
  177. package/vendor/dojo-1.10.10/dojo/hccss.js +0 -26
  178. package/vendor/dojo-1.10.10/dojo/hccss.js.uncompressed.js +0 -52
  179. package/vendor/dojo-1.10.10/dojo/html.js +0 -161
  180. package/vendor/dojo-1.10.10/dojo/html.js.uncompressed.js +0 -370
  181. package/vendor/dojo-1.10.10/dojo/io/iframe.js +0 -71
  182. package/vendor/dojo-1.10.10/dojo/io/iframe.js.uncompressed.js +0 -190
  183. package/vendor/dojo-1.10.10/dojo/io/script.js +0 -112
  184. package/vendor/dojo-1.10.10/dojo/io/script.js.uncompressed.js +0 -280
  185. package/vendor/dojo-1.10.10/dojo/parser.js +0 -437
  186. package/vendor/dojo-1.10.10/dojo/parser.js.uncompressed.js +0 -915
  187. package/vendor/dojo-1.10.10/dojo/promise/all.js +0 -59
  188. package/vendor/dojo-1.10.10/dojo/promise/all.js.uncompressed.js +0 -77
  189. package/vendor/dojo-1.10.10/dojo/regexp.js +0 -32
  190. package/vendor/dojo-1.10.10/dojo/regexp.js.uncompressed.js +0 -70
  191. package/vendor/dojo-1.10.10/dojo/request/iframe.js +0 -291
  192. package/vendor/dojo-1.10.10/dojo/request/iframe.js.uncompressed.js +0 -438
  193. package/vendor/dojo-1.10.10/dojo/request/script.js +0 -129
  194. package/vendor/dojo-1.10.10/dojo/request/script.js.uncompressed.js +0 -237
  195. package/vendor/dojo-1.10.10/dojo/require.js +0 -11
  196. package/vendor/dojo-1.10.10/dojo/require.js.uncompressed.js +0 -7
  197. package/vendor/dojo-1.10.10/dojo/resources/blank.gif +0 -0
  198. package/vendor/dojo-1.10.10/dojo/string.js +0 -67
  199. package/vendor/dojo-1.10.10/dojo/string.js.uncompressed.js +0 -181
  200. package/vendor/dojo-1.10.10/dojo/touch.js +0 -191
  201. package/vendor/dojo-1.10.10/dojo/touch.js.uncompressed.js +0 -468
  202. package/vendor/dojo-1.10.10/dojo/uacss.js +0 -36
  203. package/vendor/dojo-1.10.10/dojo/uacss.js.uncompressed.js +0 -85
  204. package/vendor/dojo-1.10.10/dojo/window.js +0 -141
  205. package/vendor/dojo-1.10.10/dojo/window.js.uncompressed.js +0 -241
  206. package/vendor/dojo-1.10.10/dojox/charting/Chart.js +0 -626
  207. package/vendor/dojo-1.10.10/dojox/charting/Chart.js.uncompressed.js +0 -1220
  208. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js +0 -5
  209. package/vendor/dojo-1.10.10/dojox/charting/Chart2D.js.uncompressed.js +0 -16
  210. package/vendor/dojo-1.10.10/dojox/charting/Element.js +0 -247
  211. package/vendor/dojo-1.10.10/dojox/charting/Element.js.uncompressed.js +0 -402
  212. package/vendor/dojo-1.10.10/dojox/charting/Series.js +0 -24
  213. package/vendor/dojo-1.10.10/dojox/charting/Series.js.uncompressed.js +0 -58
  214. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js +0 -191
  215. package/vendor/dojo-1.10.10/dojox/charting/SimpleTheme.js.uncompressed.js +0 -577
  216. package/vendor/dojo-1.10.10/dojox/charting/Theme.js +0 -42
  217. package/vendor/dojo-1.10.10/dojox/charting/Theme.js.uncompressed.js +0 -120
  218. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js +0 -11
  219. package/vendor/dojo-1.10.10/dojox/charting/action2d/Base.js.uncompressed.js +0 -36
  220. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js +0 -77
  221. package/vendor/dojo-1.10.10/dojox/charting/action2d/Highlight.js.uncompressed.js +0 -144
  222. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js +0 -58
  223. package/vendor/dojo-1.10.10/dojox/charting/action2d/Magnify.js.uncompressed.js +0 -123
  224. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js +0 -54
  225. package/vendor/dojo-1.10.10/dojox/charting/action2d/MoveSlice.js.uncompressed.js +0 -124
  226. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js +0 -28
  227. package/vendor/dojo-1.10.10/dojox/charting/action2d/PlotAction.js.uncompressed.js +0 -74
  228. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js +0 -116
  229. package/vendor/dojo-1.10.10/dojox/charting/action2d/Tooltip.js.uncompressed.js +0 -178
  230. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js +0 -24
  231. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Base.js.uncompressed.js +0 -83
  232. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js +0 -557
  233. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Default.js.uncompressed.js +0 -980
  234. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js +0 -65
  235. package/vendor/dojo-1.10.10/dojox/charting/axis2d/Invisible.js.uncompressed.js +0 -224
  236. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js +0 -91
  237. package/vendor/dojo-1.10.10/dojox/charting/axis2d/common.js.uncompressed.js +0 -164
  238. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js +0 -7
  239. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Areas.js.uncompressed.js +0 -14
  240. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js +0 -168
  241. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bars.js.uncompressed.js +0 -311
  242. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js +0 -61
  243. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Base.js.uncompressed.js +0 -161
  244. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js +0 -141
  245. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Bubble.js.uncompressed.js +0 -242
  246. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js +0 -126
  247. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Candlesticks.js.uncompressed.js +0 -243
  248. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js +0 -108
  249. package/vendor/dojo-1.10.10/dojox/charting/plot2d/CartesianBase.js.uncompressed.js +0 -290
  250. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js +0 -13
  251. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredBars.js.uncompressed.js +0 -14
  252. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js +0 -13
  253. package/vendor/dojo-1.10.10/dojox/charting/plot2d/ClusteredColumns.js.uncompressed.js +0 -14
  254. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js +0 -153
  255. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Columns.js.uncompressed.js +0 -249
  256. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js +0 -253
  257. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Default.js.uncompressed.js +0 -472
  258. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js +0 -182
  259. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Grid.js.uncompressed.js +0 -356
  260. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js +0 -6
  261. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Lines.js.uncompressed.js +0 -12
  262. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js +0 -6
  263. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Markers.js.uncompressed.js +0 -12
  264. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js +0 -7
  265. package/vendor/dojo-1.10.10/dojox/charting/plot2d/MarkersOnly.js.uncompressed.js +0 -13
  266. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js +0 -110
  267. package/vendor/dojo-1.10.10/dojox/charting/plot2d/OHLC.js.uncompressed.js +0 -208
  268. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js +0 -303
  269. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Pie.js.uncompressed.js +0 -547
  270. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js +0 -134
  271. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Scatter.js.uncompressed.js +0 -207
  272. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js +0 -299
  273. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Spider.js.uncompressed.js +0 -537
  274. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js +0 -24
  275. package/vendor/dojo-1.10.10/dojox/charting/plot2d/Stacked.js.uncompressed.js +0 -44
  276. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js +0 -7
  277. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedAreas.js.uncompressed.js +0 -14
  278. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js +0 -22
  279. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedBars.js.uncompressed.js +0 -33
  280. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js +0 -20
  281. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedColumns.js.uncompressed.js +0 -31
  282. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js +0 -6
  283. package/vendor/dojo-1.10.10/dojox/charting/plot2d/StackedLines.js.uncompressed.js +0 -12
  284. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js +0 -68
  285. package/vendor/dojo-1.10.10/dojox/charting/plot2d/_PlotEvents.js.uncompressed.js +0 -120
  286. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js +0 -209
  287. package/vendor/dojo-1.10.10/dojox/charting/plot2d/common.js.uncompressed.js +0 -214
  288. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js +0 -76
  289. package/vendor/dojo-1.10.10/dojox/charting/plot2d/commonStacked.js.uncompressed.js +0 -77
  290. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js +0 -59
  291. package/vendor/dojo-1.10.10/dojox/charting/scaler/common.js.uncompressed.js +0 -70
  292. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js +0 -220
  293. package/vendor/dojo-1.10.10/dojox/charting/scaler/linear.js.uncompressed.js +0 -262
  294. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js +0 -23
  295. package/vendor/dojo-1.10.10/dojox/charting/scaler/primitive.js.uncompressed.js +0 -36
  296. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js +0 -39
  297. package/vendor/dojo-1.10.10/dojox/charting/themes/Claro.js.uncompressed.js +0 -106
  298. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js +0 -5
  299. package/vendor/dojo-1.10.10/dojox/charting/themes/Wetland.js.uncompressed.js +0 -12
  300. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js +0 -4
  301. package/vendor/dojo-1.10.10/dojox/charting/themes/common.js.uncompressed.js +0 -3
  302. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js +0 -102
  303. package/vendor/dojo-1.10.10/dojox/charting/widget/Legend.js.uncompressed.js +0 -165
  304. package/vendor/dojo-1.10.10/dojox/color/Palette.js +0 -163
  305. package/vendor/dojo-1.10.10/dojox/color/Palette.js.uncompressed.js +0 -460
  306. package/vendor/dojo-1.10.10/dojox/color/_base.js +0 -174
  307. package/vendor/dojo-1.10.10/dojox/color/_base.js.uncompressed.js +0 -196
  308. package/vendor/dojo-1.10.10/dojox/gfx/_base.js +0 -253
  309. package/vendor/dojo-1.10.10/dojox/gfx/_base.js.uncompressed.js +0 -1024
  310. package/vendor/dojo-1.10.10/dojox/gfx/fx.js +0 -297
  311. package/vendor/dojo-1.10.10/dojox/gfx/fx.js.uncompressed.js +0 -350
  312. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js +0 -63
  313. package/vendor/dojo-1.10.10/dojox/gfx/gradutils.js.uncompressed.js +0 -91
  314. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js +0 -170
  315. package/vendor/dojo-1.10.10/dojox/gfx/matrix.js.uncompressed.js +0 -501
  316. package/vendor/dojo-1.10.10/dojox/gfx/path.js +0 -319
  317. package/vendor/dojo-1.10.10/dojox/gfx/path.js.uncompressed.js +0 -478
  318. package/vendor/dojo-1.10.10/dojox/gfx/shape.js +0 -459
  319. package/vendor/dojo-1.10.10/dojox/gfx/shape.js.uncompressed.js +0 -1091
  320. package/vendor/dojo-1.10.10/dojox/gfx/svg.js +0 -662
  321. package/vendor/dojo-1.10.10/dojox/gfx/svg.js.uncompressed.js +0 -1023
  322. package/vendor/dojo-1.10.10/dojox/gfx/utils.js +0 -199
  323. package/vendor/dojo-1.10.10/dojox/gfx/utils.js.uncompressed.js +0 -322
  324. package/vendor/dojo-1.10.10/dojox/gfx.js +0 -2
  325. package/vendor/dojo-1.10.10/dojox/gfx.js.uncompressed.js +0 -1136
  326. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js +0 -151
  327. package/vendor/dojo-1.10.10/dojox/lang/functional/array.js.uncompressed.js +0 -169
  328. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js +0 -93
  329. package/vendor/dojo-1.10.10/dojox/lang/functional/fold.js.uncompressed.js +0 -125
  330. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js +0 -81
  331. package/vendor/dojo-1.10.10/dojox/lang/functional/lambda.js.uncompressed.js +0 -132
  332. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js +0 -54
  333. package/vendor/dojo-1.10.10/dojox/lang/functional/object.js.uncompressed.js +0 -78
  334. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js +0 -61
  335. package/vendor/dojo-1.10.10/dojox/lang/functional/reversed.js.uncompressed.js +0 -77
  336. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js +0 -87
  337. package/vendor/dojo-1.10.10/dojox/lang/functional/scan.js.uncompressed.js +0 -107
  338. package/vendor/dojo-1.10.10/dojox/lang/functional.js +0 -4
  339. package/vendor/dojo-1.10.10/dojox/lang/functional.js.uncompressed.js +0 -3
  340. package/vendor/dojo-1.10.10/dojox/lang/utils.js +0 -86
  341. package/vendor/dojo-1.10.10/dojox/lang/utils.js.uncompressed.js +0 -121
  342. package/vendor/dojo-1.10.10/dojox/main.js +0 -4
  343. package/vendor/dojo-1.10.10/dojox/main.js.uncompressed.js +0 -14
  344. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js +0 -112
  345. package/vendor/dojo-1.10.10/dojox/storage/LocalStorageProvider.js.uncompressed.js +0 -208
  346. package/vendor/dojo-1.10.10/dojox/storage/Provider.js +0 -62
  347. package/vendor/dojo-1.10.10/dojox/storage/Provider.js.uncompressed.js +0 -344
  348. package/vendor/dojo-1.10.10/dojox/storage/manager.js +0 -110
  349. package/vendor/dojo-1.10.10/dojox/storage/manager.js.uncompressed.js +0 -263
@@ -1,438 +0,0 @@
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
- });
@@ -1,129 +0,0 @@
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
- });