@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,232 +0,0 @@
1
- define("dojo/colors", ["./_base/kernel", "./_base/lang", "./_base/Color", "./_base/array"], function(dojo, lang, Color, ArrayUtil){
2
- // module:
3
- // dojo/colors
4
-
5
- /*=====
6
- return {
7
- // summary:
8
- // Color utilities, extending Base dojo.Color
9
- };
10
- =====*/
11
-
12
- var ColorExt = {};
13
- lang.setObject("dojo.colors", ColorExt);
14
-
15
- //TODO: this module appears to break naming conventions
16
-
17
- // this is a standard conversion prescribed by the CSS3 Color Module
18
- var hue2rgb = function(m1, m2, h){
19
- if(h < 0){ ++h; }
20
- if(h > 1){ --h; }
21
- var h6 = 6 * h;
22
- if(h6 < 1){ return m1 + (m2 - m1) * h6; }
23
- if(2 * h < 1){ return m2; }
24
- if(3 * h < 2){ return m1 + (m2 - m1) * (2 / 3 - h) * 6; }
25
- return m1;
26
- };
27
- // Override base Color.fromRgb with the impl in this module
28
- dojo.colorFromRgb = Color.fromRgb = function(/*String*/ color, /*dojo/_base/Color?*/ obj){
29
- // summary:
30
- // get rgb(a) array from css-style color declarations
31
- // description:
32
- // this function can handle all 4 CSS3 Color Module formats: rgb,
33
- // rgba, hsl, hsla, including rgb(a) with percentage values.
34
- var m = color.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);
35
- if(m){
36
- var c = m[2].split(/\s*,\s*/), l = c.length, t = m[1], a;
37
- if((t == "rgb" && l == 3) || (t == "rgba" && l == 4)){
38
- var r = c[0];
39
- if(r.charAt(r.length - 1) == "%"){
40
- // 3 rgb percentage values
41
- a = ArrayUtil.map(c, function(x){
42
- return parseFloat(x) * 2.56;
43
- });
44
- if(l == 4){ a[3] = c[3]; }
45
- return Color.fromArray(a, obj); // dojo/_base/Color
46
- }
47
- return Color.fromArray(c, obj); // dojo/_base/Color
48
- }
49
- if((t == "hsl" && l == 3) || (t == "hsla" && l == 4)){
50
- // normalize hsl values
51
- var H = ((parseFloat(c[0]) % 360) + 360) % 360 / 360,
52
- S = parseFloat(c[1]) / 100,
53
- L = parseFloat(c[2]) / 100,
54
- // calculate rgb according to the algorithm
55
- // recommended by the CSS3 Color Module
56
- m2 = L <= 0.5 ? L * (S + 1) : L + S - L * S,
57
- m1 = 2 * L - m2;
58
- a = [
59
- hue2rgb(m1, m2, H + 1 / 3) * 256,
60
- hue2rgb(m1, m2, H) * 256,
61
- hue2rgb(m1, m2, H - 1 / 3) * 256,
62
- 1
63
- ];
64
- if(l == 4){ a[3] = c[3]; }
65
- return Color.fromArray(a, obj); // dojo/_base/Color
66
- }
67
- }
68
- return null; // dojo/_base/Color
69
- };
70
-
71
- var confine = function(c, low, high){
72
- // summary:
73
- // sanitize a color component by making sure it is a number,
74
- // and clamping it to valid values
75
- c = Number(c);
76
- return isNaN(c) ? high : c < low ? low : c > high ? high : c; // Number
77
- };
78
-
79
- Color.prototype.sanitize = function(){
80
- // summary:
81
- // makes sure that the object has correct attributes
82
- var t = this;
83
- t.r = Math.round(confine(t.r, 0, 255));
84
- t.g = Math.round(confine(t.g, 0, 255));
85
- t.b = Math.round(confine(t.b, 0, 255));
86
- t.a = confine(t.a, 0, 1);
87
- return this; // dojo/_base/Color
88
- };
89
-
90
- ColorExt.makeGrey = Color.makeGrey = function(/*Number*/ g, /*Number?*/ a){
91
- // summary:
92
- // creates a greyscale color with an optional alpha
93
- return Color.fromArray([g, g, g, a]); // dojo/_base/Color
94
- };
95
-
96
- // mixin all CSS3 named colors not already in _base, along with SVG 1.0 variant spellings
97
- lang.mixin(Color.named, {
98
- "aliceblue": [240,248,255],
99
- "antiquewhite": [250,235,215],
100
- "aquamarine": [127,255,212],
101
- "azure": [240,255,255],
102
- "beige": [245,245,220],
103
- "bisque": [255,228,196],
104
- "blanchedalmond": [255,235,205],
105
- "blueviolet": [138,43,226],
106
- "brown": [165,42,42],
107
- "burlywood": [222,184,135],
108
- "cadetblue": [95,158,160],
109
- "chartreuse": [127,255,0],
110
- "chocolate": [210,105,30],
111
- "coral": [255,127,80],
112
- "cornflowerblue": [100,149,237],
113
- "cornsilk": [255,248,220],
114
- "crimson": [220,20,60],
115
- "cyan": [0,255,255],
116
- "darkblue": [0,0,139],
117
- "darkcyan": [0,139,139],
118
- "darkgoldenrod": [184,134,11],
119
- "darkgray": [169,169,169],
120
- "darkgreen": [0,100,0],
121
- "darkgrey": [169,169,169],
122
- "darkkhaki": [189,183,107],
123
- "darkmagenta": [139,0,139],
124
- "darkolivegreen": [85,107,47],
125
- "darkorange": [255,140,0],
126
- "darkorchid": [153,50,204],
127
- "darkred": [139,0,0],
128
- "darksalmon": [233,150,122],
129
- "darkseagreen": [143,188,143],
130
- "darkslateblue": [72,61,139],
131
- "darkslategray": [47,79,79],
132
- "darkslategrey": [47,79,79],
133
- "darkturquoise": [0,206,209],
134
- "darkviolet": [148,0,211],
135
- "deeppink": [255,20,147],
136
- "deepskyblue": [0,191,255],
137
- "dimgray": [105,105,105],
138
- "dimgrey": [105,105,105],
139
- "dodgerblue": [30,144,255],
140
- "firebrick": [178,34,34],
141
- "floralwhite": [255,250,240],
142
- "forestgreen": [34,139,34],
143
- "gainsboro": [220,220,220],
144
- "ghostwhite": [248,248,255],
145
- "gold": [255,215,0],
146
- "goldenrod": [218,165,32],
147
- "greenyellow": [173,255,47],
148
- "grey": [128,128,128],
149
- "honeydew": [240,255,240],
150
- "hotpink": [255,105,180],
151
- "indianred": [205,92,92],
152
- "indigo": [75,0,130],
153
- "ivory": [255,255,240],
154
- "khaki": [240,230,140],
155
- "lavender": [230,230,250],
156
- "lavenderblush": [255,240,245],
157
- "lawngreen": [124,252,0],
158
- "lemonchiffon": [255,250,205],
159
- "lightblue": [173,216,230],
160
- "lightcoral": [240,128,128],
161
- "lightcyan": [224,255,255],
162
- "lightgoldenrodyellow": [250,250,210],
163
- "lightgray": [211,211,211],
164
- "lightgreen": [144,238,144],
165
- "lightgrey": [211,211,211],
166
- "lightpink": [255,182,193],
167
- "lightsalmon": [255,160,122],
168
- "lightseagreen": [32,178,170],
169
- "lightskyblue": [135,206,250],
170
- "lightslategray": [119,136,153],
171
- "lightslategrey": [119,136,153],
172
- "lightsteelblue": [176,196,222],
173
- "lightyellow": [255,255,224],
174
- "limegreen": [50,205,50],
175
- "linen": [250,240,230],
176
- "magenta": [255,0,255],
177
- "mediumaquamarine": [102,205,170],
178
- "mediumblue": [0,0,205],
179
- "mediumorchid": [186,85,211],
180
- "mediumpurple": [147,112,219],
181
- "mediumseagreen": [60,179,113],
182
- "mediumslateblue": [123,104,238],
183
- "mediumspringgreen": [0,250,154],
184
- "mediumturquoise": [72,209,204],
185
- "mediumvioletred": [199,21,133],
186
- "midnightblue": [25,25,112],
187
- "mintcream": [245,255,250],
188
- "mistyrose": [255,228,225],
189
- "moccasin": [255,228,181],
190
- "navajowhite": [255,222,173],
191
- "oldlace": [253,245,230],
192
- "olivedrab": [107,142,35],
193
- "orange": [255,165,0],
194
- "orangered": [255,69,0],
195
- "orchid": [218,112,214],
196
- "palegoldenrod": [238,232,170],
197
- "palegreen": [152,251,152],
198
- "paleturquoise": [175,238,238],
199
- "palevioletred": [219,112,147],
200
- "papayawhip": [255,239,213],
201
- "peachpuff": [255,218,185],
202
- "peru": [205,133,63],
203
- "pink": [255,192,203],
204
- "plum": [221,160,221],
205
- "powderblue": [176,224,230],
206
- "rosybrown": [188,143,143],
207
- "royalblue": [65,105,225],
208
- "saddlebrown": [139,69,19],
209
- "salmon": [250,128,114],
210
- "sandybrown": [244,164,96],
211
- "seagreen": [46,139,87],
212
- "seashell": [255,245,238],
213
- "sienna": [160,82,45],
214
- "skyblue": [135,206,235],
215
- "slateblue": [106,90,205],
216
- "slategray": [112,128,144],
217
- "slategrey": [112,128,144],
218
- "snow": [255,250,250],
219
- "springgreen": [0,255,127],
220
- "steelblue": [70,130,180],
221
- "tan": [210,180,140],
222
- "thistle": [216,191,216],
223
- "tomato": [255,99,71],
224
- "turquoise": [64,224,208],
225
- "violet": [238,130,238],
226
- "wheat": [245,222,179],
227
- "whitesmoke": [245,245,245],
228
- "yellowgreen": [154,205,50]
229
- });
230
-
231
- return Color; // TODO: return ColorExt, not Color
232
- });
@@ -1,48 +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/cookie",["./_base/kernel","./regexp"],function(_1,_2){
8
- _1.cookie=function(_3,_4,_5){
9
- var c=document.cookie,_6;
10
- if(arguments.length==1){
11
- var _7=c.match(new RegExp("(?:^|; )"+_2.escapeString(_3)+"=([^;]*)"));
12
- _6=_7?decodeURIComponent(_7[1]):undefined;
13
- }else{
14
- _5=_5||{};
15
- var _8=_5.expires;
16
- if(typeof _8=="number"){
17
- var d=new Date();
18
- d.setTime(d.getTime()+_8*24*60*60*1000);
19
- _8=_5.expires=d;
20
- }
21
- if(_8&&_8.toUTCString){
22
- _5.expires=_8.toUTCString();
23
- }
24
- _4=encodeURIComponent(_4);
25
- var _9=_3+"="+_4,_a;
26
- for(_a in _5){
27
- _9+="; "+_a;
28
- var _b=_5[_a];
29
- if(_b!==true){
30
- _9+="="+_b;
31
- }
32
- }
33
- document.cookie=_9;
34
- }
35
- return _6;
36
- };
37
- _1.cookie.isSupported=function(){
38
- if(!("cookieEnabled" in navigator)){
39
- this("__djCookieTest__","CookiesAllowed");
40
- navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";
41
- if(navigator.cookieEnabled){
42
- this("__djCookieTest__","",{expires:-1});
43
- }
44
- }
45
- return navigator.cookieEnabled;
46
- };
47
- return _1.cookie;
48
- });
@@ -1,98 +0,0 @@
1
- define("dojo/cookie", ["./_base/kernel", "./regexp"], function(dojo, regexp){
2
-
3
- // module:
4
- // dojo/cookie
5
-
6
- /*=====
7
- var __cookieProps = {
8
- // expires: Date|String|Number?
9
- // If a number, the number of days from today at which the cookie
10
- // will expire. If a date, the date past which the cookie will expire.
11
- // If expires is in the past, the cookie will be deleted.
12
- // If expires is omitted or is 0, the cookie will expire when the browser closes.
13
- // path: String?
14
- // The path to use for the cookie.
15
- // domain: String?
16
- // The domain to use for the cookie.
17
- // secure: Boolean?
18
- // Whether to only send the cookie on secure connections
19
- };
20
- =====*/
21
-
22
-
23
- dojo.cookie = function(/*String*/name, /*String?*/ value, /*__cookieProps?*/ props){
24
- // summary:
25
- // Get or set a cookie.
26
- // description:
27
- // If one argument is passed, returns the value of the cookie
28
- // For two or more arguments, acts as a setter.
29
- // name:
30
- // Name of the cookie
31
- // value:
32
- // Value for the cookie
33
- // props:
34
- // Properties for the cookie
35
- // example:
36
- // set a cookie with the JSON-serialized contents of an object which
37
- // will expire 5 days from now:
38
- // | require(["dojo/cookie", "dojo/json"], function(cookie, json){
39
- // | cookie("configObj", json.stringify(config, {expires: 5 }));
40
- // | });
41
- //
42
- // example:
43
- // de-serialize a cookie back into a JavaScript object:
44
- // | require(["dojo/cookie", "dojo/json"], function(cookie, json){
45
- // | config = json.parse(cookie("configObj"));
46
- // | });
47
- //
48
- // example:
49
- // delete a cookie:
50
- // | require(["dojo/cookie"], function(cookie){
51
- // | cookie("configObj", null, {expires: -1});
52
- // | });
53
- var c = document.cookie, ret;
54
- if(arguments.length == 1){
55
- var matches = c.match(new RegExp("(?:^|; )" + regexp.escapeString(name) + "=([^;]*)"));
56
- ret = matches ? decodeURIComponent(matches[1]) : undefined;
57
- }else{
58
- props = props || {};
59
- // FIXME: expires=0 seems to disappear right away, not on close? (FF3) Change docs?
60
- var exp = props.expires;
61
- if(typeof exp == "number"){
62
- var d = new Date();
63
- d.setTime(d.getTime() + exp*24*60*60*1000);
64
- exp = props.expires = d;
65
- }
66
- if(exp && exp.toUTCString){ props.expires = exp.toUTCString(); }
67
-
68
- value = encodeURIComponent(value);
69
- var updatedCookie = name + "=" + value, propName;
70
- for(propName in props){
71
- updatedCookie += "; " + propName;
72
- var propValue = props[propName];
73
- if(propValue !== true){ updatedCookie += "=" + propValue; }
74
- }
75
- document.cookie = updatedCookie;
76
- }
77
- return ret; // String|undefined
78
- };
79
-
80
- dojo.cookie.isSupported = function(){
81
- // summary:
82
- // Use to determine if the current browser supports cookies or not.
83
- //
84
- // Returns true if user allows cookies.
85
- // Returns false if user doesn't allow cookies.
86
-
87
- if(!("cookieEnabled" in navigator)){
88
- this("__djCookieTest__", "CookiesAllowed");
89
- navigator.cookieEnabled = this("__djCookieTest__") == "CookiesAllowed";
90
- if(navigator.cookieEnabled){
91
- this("__djCookieTest__", "", {expires: -1});
92
- }
93
- }
94
- return navigator.cookieEnabled;
95
- };
96
-
97
- return dojo.cookie;
98
- });
@@ -1,82 +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/date/stamp",["../_base/lang","../_base/array"],function(_1,_2){
8
- var _3={};
9
- _1.setObject("dojo.date.stamp",_3);
10
- _3.fromISOString=function(_4,_5){
11
- if(!_3._isoRegExp){
12
- _3._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;
13
- }
14
- var _6=_3._isoRegExp.exec(_4),_7=null;
15
- if(_6){
16
- _6.shift();
17
- if(_6[1]){
18
- _6[1]--;
19
- }
20
- if(_6[6]){
21
- _6[6]*=1000;
22
- }
23
- if(_5){
24
- _5=new Date(_5);
25
- _2.forEach(_2.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(_8){
26
- return _5["get"+_8]();
27
- }),function(_9,_a){
28
- _6[_a]=_6[_a]||_9;
29
- });
30
- }
31
- _7=new Date(_6[0]||1970,_6[1]||0,_6[2]||1,_6[3]||0,_6[4]||0,_6[5]||0,_6[6]||0);
32
- if(_6[0]<100){
33
- _7.setFullYear(_6[0]||1970);
34
- }
35
- var _b=0,_c=_6[7]&&_6[7].charAt(0);
36
- if(_c!="Z"){
37
- _b=((_6[8]||0)*60)+(Number(_6[9])||0);
38
- if(_c!="-"){
39
- _b*=-1;
40
- }
41
- }
42
- if(_c){
43
- _b-=_7.getTimezoneOffset();
44
- }
45
- if(_b){
46
- _7.setTime(_7.getTime()+_b*60000);
47
- }
48
- }
49
- return _7;
50
- };
51
- _3.toISOString=function(_d,_e){
52
- var _f=function(n){
53
- return (n<10)?"0"+n:n;
54
- };
55
- _e=_e||{};
56
- var _10=[],_11=_e.zulu?"getUTC":"get",_12="";
57
- if(_e.selector!="time"){
58
- var _13=_d[_11+"FullYear"]();
59
- _12=["0000".substr((_13+"").length)+_13,_f(_d[_11+"Month"]()+1),_f(_d[_11+"Date"]())].join("-");
60
- }
61
- _10.push(_12);
62
- if(_e.selector!="date"){
63
- var _14=[_f(_d[_11+"Hours"]()),_f(_d[_11+"Minutes"]()),_f(_d[_11+"Seconds"]())].join(":");
64
- var _15=_d[_11+"Milliseconds"]();
65
- if(_e.milliseconds){
66
- _14+="."+(_15<100?"0":"")+_f(_15);
67
- }
68
- if(_e.zulu){
69
- _14+="Z";
70
- }else{
71
- if(_e.selector!="time"){
72
- var _16=_d.getTimezoneOffset();
73
- var _17=Math.abs(_16);
74
- _14+=(_16>0?"-":"+")+_f(Math.floor(_17/60))+":"+_f(_17%60);
75
- }
76
- }
77
- _10.push(_14);
78
- }
79
- return _10.join("T");
80
- };
81
- return _3;
82
- });
@@ -1,144 +0,0 @@
1
- define("dojo/date/stamp", ["../_base/lang", "../_base/array"], function(lang, array){
2
-
3
- // module:
4
- // dojo/date/stamp
5
-
6
- var stamp = {
7
- // summary:
8
- // TODOC
9
- };
10
- lang.setObject("dojo.date.stamp", stamp);
11
-
12
- // Methods to convert dates to or from a wire (string) format using well-known conventions
13
-
14
- stamp.fromISOString = function(/*String*/ formattedString, /*Number?*/ defaultTime){
15
- // summary:
16
- // Returns a Date object given a string formatted according to a subset of the ISO-8601 standard.
17
- //
18
- // description:
19
- // Accepts a string formatted according to a profile of ISO8601 as defined by
20
- // [RFC3339](http://www.ietf.org/rfc/rfc3339.txt), except that partial input is allowed.
21
- // Can also process dates as specified [by the W3C](http://www.w3.org/TR/NOTE-datetime)
22
- // The following combinations are valid:
23
- //
24
- // - dates only
25
- // - yyyy
26
- // - yyyy-MM
27
- // - yyyy-MM-dd
28
- // - times only, with an optional time zone appended
29
- // - THH:mm
30
- // - THH:mm:ss
31
- // - THH:mm:ss.SSS
32
- // - and "datetimes" which could be any combination of the above
33
- //
34
- // timezones may be specified as Z (for UTC) or +/- followed by a time expression HH:mm
35
- // Assumes the local time zone if not specified. Does not validate. Improperly formatted
36
- // input may return null. Arguments which are out of bounds will be handled
37
- // by the Date constructor (e.g. January 32nd typically gets resolved to February 1st)
38
- // Only years between 100 and 9999 are supported.
39
- // formattedString:
40
- // A string such as 2005-06-30T08:05:00-07:00 or 2005-06-30 or T08:05:00
41
- // defaultTime:
42
- // Used for defaults for fields omitted in the formattedString.
43
- // Uses 1970-01-01T00:00:00.0Z by default.
44
-
45
- if(!stamp._isoRegExp){
46
- stamp._isoRegExp =
47
- //TODO: could be more restrictive and check for 00-59, etc.
48
- /^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/;
49
- }
50
-
51
- var match = stamp._isoRegExp.exec(formattedString),
52
- result = null;
53
-
54
- if(match){
55
- match.shift();
56
- if(match[1]){match[1]--;} // Javascript Date months are 0-based
57
- if(match[6]){match[6] *= 1000;} // Javascript Date expects fractional seconds as milliseconds
58
-
59
- if(defaultTime){
60
- // mix in defaultTime. Relatively expensive, so use || operators for the fast path of defaultTime === 0
61
- defaultTime = new Date(defaultTime);
62
- array.forEach(array.map(["FullYear", "Month", "Date", "Hours", "Minutes", "Seconds", "Milliseconds"], function(prop){
63
- return defaultTime["get" + prop]();
64
- }), function(value, index){
65
- match[index] = match[index] || value;
66
- });
67
- }
68
- result = new Date(match[0]||1970, match[1]||0, match[2]||1, match[3]||0, match[4]||0, match[5]||0, match[6]||0); //TODO: UTC defaults
69
- if(match[0] < 100){
70
- result.setFullYear(match[0] || 1970);
71
- }
72
-
73
- var offset = 0,
74
- zoneSign = match[7] && match[7].charAt(0);
75
- if(zoneSign != 'Z'){
76
- offset = ((match[8] || 0) * 60) + (Number(match[9]) || 0);
77
- if(zoneSign != '-'){ offset *= -1; }
78
- }
79
- if(zoneSign){
80
- offset -= result.getTimezoneOffset();
81
- }
82
- if(offset){
83
- result.setTime(result.getTime() + offset * 60000);
84
- }
85
- }
86
-
87
- return result; // Date or null
88
- };
89
-
90
- /*=====
91
- var __Options = {
92
- // selector: String
93
- // "date" or "time" for partial formatting of the Date object.
94
- // Both date and time will be formatted by default.
95
- // zulu: Boolean
96
- // if true, UTC/GMT is used for a timezone
97
- // milliseconds: Boolean
98
- // if true, output milliseconds
99
- };
100
- =====*/
101
-
102
- stamp.toISOString = function(/*Date*/ dateObject, /*__Options?*/ options){
103
- // summary:
104
- // Format a Date object as a string according a subset of the ISO-8601 standard
105
- //
106
- // description:
107
- // When options.selector is omitted, output follows [RFC3339](http://www.ietf.org/rfc/rfc3339.txt)
108
- // The local time zone is included as an offset from GMT, except when selector=='time' (time without a date)
109
- // Does not check bounds. Only years between 100 and 9999 are supported.
110
- //
111
- // dateObject:
112
- // A Date object
113
-
114
- var _ = function(n){ return (n < 10) ? "0" + n : n; };
115
- options = options || {};
116
- var formattedDate = [],
117
- getter = options.zulu ? "getUTC" : "get",
118
- date = "";
119
- if(options.selector != "time"){
120
- var year = dateObject[getter+"FullYear"]();
121
- date = ["0000".substr((year+"").length)+year, _(dateObject[getter+"Month"]()+1), _(dateObject[getter+"Date"]())].join('-');
122
- }
123
- formattedDate.push(date);
124
- if(options.selector != "date"){
125
- var time = [_(dateObject[getter+"Hours"]()), _(dateObject[getter+"Minutes"]()), _(dateObject[getter+"Seconds"]())].join(':');
126
- var millis = dateObject[getter+"Milliseconds"]();
127
- if(options.milliseconds){
128
- time += "."+ (millis < 100 ? "0" : "") + _(millis);
129
- }
130
- if(options.zulu){
131
- time += "Z";
132
- }else if(options.selector != "time"){
133
- var timezoneOffset = dateObject.getTimezoneOffset();
134
- var absOffset = Math.abs(timezoneOffset);
135
- time += (timezoneOffset > 0 ? "-" : "+") +
136
- _(Math.floor(absOffset/60)) + ":" + _(absOffset%60);
137
- }
138
- formattedDate.push(time);
139
- }
140
- return formattedDate.join('T'); // String
141
- };
142
-
143
- return stamp;
144
- });