admin-lte 2.4.12 → 2.4.18

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 (1507) hide show
  1. package/.travis.yml +24 -0
  2. package/Gruntfile.js +4 -2
  3. package/README.md +7 -4
  4. package/bower.json +12 -13
  5. package/bower_components/bootstrap-datepicker/CHANGELOG.md +39 -21
  6. package/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.css +1 -1
  7. package/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.min.css +1 -1
  8. package/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.standalone.css +1 -1
  9. package/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker.standalone.min.css +1 -1
  10. package/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.css +1 -1
  11. package/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.min.css +1 -1
  12. package/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.standalone.css +1 -1
  13. package/bower_components/bootstrap-datepicker/dist/css/bootstrap-datepicker3.standalone.min.css +1 -1
  14. package/bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.js +15 -11
  15. package/bower_components/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js +3 -3
  16. package/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.az.min.js +1 -1
  17. package/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.bm.min.js +1 -0
  18. package/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.no.min.js +1 -1
  19. package/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.sq.min.js +1 -1
  20. package/bower_components/bootstrap-datepicker/dist/locales/bootstrap-datepicker.zh-CN.min.js +1 -1
  21. package/bower_components/bootstrap-datepicker/js/bootstrap-datepicker.js +14 -10
  22. package/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.az.js +3 -1
  23. package/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.bm.js +18 -0
  24. package/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.no.js +1 -1
  25. package/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.sq.js +5 -1
  26. package/bower_components/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-CN.js +4 -3
  27. package/bower_components/chart.js/.bower.json +15 -5
  28. package/bower_components/chart.js/Chart.js +354 -95
  29. package/bower_components/chart.js/bower.json +12 -2
  30. package/bower_components/ckeditor/.bower.json +5 -5
  31. package/bower_components/ckeditor/CHANGES.md +103 -3
  32. package/bower_components/ckeditor/LICENSE.md +1 -0
  33. package/bower_components/ckeditor/adapters/jquery.js +5 -5
  34. package/bower_components/ckeditor/ckeditor.js +1155 -1146
  35. package/bower_components/ckeditor/config.js +2 -2
  36. package/bower_components/ckeditor/lang/af.js +1 -1
  37. package/bower_components/ckeditor/lang/ar.js +1 -1
  38. package/bower_components/ckeditor/lang/az.js +1 -1
  39. package/bower_components/ckeditor/lang/bg.js +1 -1
  40. package/bower_components/ckeditor/lang/bn.js +1 -1
  41. package/bower_components/ckeditor/lang/bs.js +1 -1
  42. package/bower_components/ckeditor/lang/ca.js +1 -1
  43. package/bower_components/ckeditor/lang/cs.js +1 -1
  44. package/bower_components/ckeditor/lang/cy.js +1 -1
  45. package/bower_components/ckeditor/lang/da.js +1 -1
  46. package/bower_components/ckeditor/lang/de-ch.js +1 -1
  47. package/bower_components/ckeditor/lang/de.js +1 -1
  48. package/bower_components/ckeditor/lang/el.js +1 -1
  49. package/bower_components/ckeditor/lang/en-au.js +1 -1
  50. package/bower_components/ckeditor/lang/en-ca.js +1 -1
  51. package/bower_components/ckeditor/lang/en-gb.js +1 -1
  52. package/bower_components/ckeditor/lang/en.js +1 -1
  53. package/bower_components/ckeditor/lang/eo.js +1 -1
  54. package/bower_components/ckeditor/lang/es-mx.js +1 -1
  55. package/bower_components/ckeditor/lang/es.js +1 -1
  56. package/bower_components/ckeditor/lang/et.js +1 -1
  57. package/bower_components/ckeditor/lang/eu.js +1 -1
  58. package/bower_components/ckeditor/lang/fa.js +1 -1
  59. package/bower_components/ckeditor/lang/fi.js +1 -1
  60. package/bower_components/ckeditor/lang/fo.js +1 -1
  61. package/bower_components/ckeditor/lang/fr-ca.js +1 -1
  62. package/bower_components/ckeditor/lang/fr.js +1 -1
  63. package/bower_components/ckeditor/lang/gl.js +1 -1
  64. package/bower_components/ckeditor/lang/gu.js +1 -1
  65. package/bower_components/ckeditor/lang/he.js +1 -1
  66. package/bower_components/ckeditor/lang/hi.js +1 -1
  67. package/bower_components/ckeditor/lang/hr.js +1 -1
  68. package/bower_components/ckeditor/lang/hu.js +1 -1
  69. package/bower_components/ckeditor/lang/id.js +1 -1
  70. package/bower_components/ckeditor/lang/is.js +1 -1
  71. package/bower_components/ckeditor/lang/it.js +1 -1
  72. package/bower_components/ckeditor/lang/ja.js +1 -1
  73. package/bower_components/ckeditor/lang/ka.js +1 -1
  74. package/bower_components/ckeditor/lang/km.js +1 -1
  75. package/bower_components/ckeditor/lang/ko.js +1 -1
  76. package/bower_components/ckeditor/lang/ku.js +1 -1
  77. package/bower_components/ckeditor/lang/lt.js +1 -1
  78. package/bower_components/ckeditor/lang/lv.js +1 -1
  79. package/bower_components/ckeditor/lang/mk.js +1 -1
  80. package/bower_components/ckeditor/lang/mn.js +1 -1
  81. package/bower_components/ckeditor/lang/ms.js +1 -1
  82. package/bower_components/ckeditor/lang/nb.js +1 -1
  83. package/bower_components/ckeditor/lang/nl.js +1 -1
  84. package/bower_components/ckeditor/lang/no.js +1 -1
  85. package/bower_components/ckeditor/lang/oc.js +1 -1
  86. package/bower_components/ckeditor/lang/pl.js +1 -1
  87. package/bower_components/ckeditor/lang/pt-br.js +1 -1
  88. package/bower_components/ckeditor/lang/pt.js +1 -1
  89. package/bower_components/ckeditor/lang/ro.js +1 -1
  90. package/bower_components/ckeditor/lang/ru.js +1 -1
  91. package/bower_components/ckeditor/lang/si.js +1 -1
  92. package/bower_components/ckeditor/lang/sk.js +1 -1
  93. package/bower_components/ckeditor/lang/sl.js +1 -1
  94. package/bower_components/ckeditor/lang/sq.js +1 -1
  95. package/bower_components/ckeditor/lang/sr-latn.js +1 -1
  96. package/bower_components/ckeditor/lang/sr.js +1 -1
  97. package/bower_components/ckeditor/lang/sv.js +1 -1
  98. package/bower_components/ckeditor/lang/th.js +1 -1
  99. package/bower_components/ckeditor/lang/tr.js +1 -1
  100. package/bower_components/ckeditor/lang/tt.js +1 -1
  101. package/bower_components/ckeditor/lang/ug.js +1 -1
  102. package/bower_components/ckeditor/lang/uk.js +1 -1
  103. package/bower_components/ckeditor/lang/vi.js +1 -1
  104. package/bower_components/ckeditor/lang/zh-cn.js +1 -1
  105. package/bower_components/ckeditor/lang/zh.js +1 -1
  106. package/bower_components/ckeditor/package.json +1 -1
  107. package/bower_components/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +1 -1
  108. package/bower_components/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +7 -7
  109. package/bower_components/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +1 -1
  110. package/bower_components/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +2 -2
  111. package/bower_components/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +1 -1
  112. package/bower_components/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +8 -7
  113. package/bower_components/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +8 -7
  114. package/bower_components/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +3 -3
  115. package/bower_components/ckeditor/plugins/adobeair/plugin.js +3 -3
  116. package/bower_components/ckeditor/plugins/autocomplete/plugin.js +16 -16
  117. package/bower_components/ckeditor/plugins/autoembed/lang/et.js +1 -0
  118. package/bower_components/ckeditor/plugins/autoembed/lang/lt.js +1 -0
  119. package/bower_components/ckeditor/plugins/autoembed/lang/sr-latn.js +1 -0
  120. package/bower_components/ckeditor/plugins/autoembed/lang/sr.js +1 -0
  121. package/bower_components/ckeditor/plugins/autoembed/plugin.js +1 -1
  122. package/bower_components/ckeditor/plugins/autolink/plugin.js +4 -4
  123. package/bower_components/ckeditor/plugins/balloonpanel/plugin.js +11 -11
  124. package/bower_components/ckeditor/plugins/balloontoolbar/plugin.js +14 -13
  125. package/bower_components/ckeditor/plugins/bidi/lang/sr-latn.js +1 -1
  126. package/bower_components/ckeditor/plugins/bidi/lang/sr.js +1 -1
  127. package/bower_components/ckeditor/plugins/codesnippet/lang/et.js +1 -1
  128. package/bower_components/ckeditor/plugins/codesnippet/lang/no.js +1 -1
  129. package/bower_components/ckeditor/plugins/codesnippet/lang/sr-latn.js +5 -0
  130. package/bower_components/ckeditor/plugins/codesnippet/lang/sr.js +5 -0
  131. package/bower_components/ckeditor/plugins/codesnippet/lang/uk.js +1 -1
  132. package/bower_components/ckeditor/plugins/codesnippet/plugin.js +8 -8
  133. package/bower_components/ckeditor/plugins/colorbutton/lang/et.js +2 -2
  134. package/bower_components/ckeditor/plugins/colorbutton/lang/nl.js +2 -2
  135. package/bower_components/ckeditor/plugins/colorbutton/lang/no.js +2 -2
  136. package/bower_components/ckeditor/plugins/colorbutton/lang/sr-latn.js +3 -3
  137. package/bower_components/ckeditor/plugins/colorbutton/lang/sr.js +3 -3
  138. package/bower_components/ckeditor/plugins/colorbutton/lang/uk.js +3 -3
  139. package/bower_components/ckeditor/plugins/colorbutton/plugin.js +12 -12
  140. package/bower_components/ckeditor/plugins/colordialog/dialogs/colordialog.js +10 -10
  141. package/bower_components/ckeditor/plugins/colordialog/lang/sr-latn.js +1 -1
  142. package/bower_components/ckeditor/plugins/colordialog/lang/sr.js +1 -1
  143. package/bower_components/ckeditor/plugins/colordialog/plugin.js +2 -2
  144. package/bower_components/ckeditor/plugins/copyformatting/plugin.js +22 -22
  145. package/bower_components/ckeditor/plugins/devtools/lang/sr-latn.js +5 -0
  146. package/bower_components/ckeditor/plugins/devtools/lang/sr.js +5 -0
  147. package/bower_components/ckeditor/plugins/devtools/plugin.js +1 -1
  148. package/bower_components/ckeditor/plugins/div/lang/sr-latn.js +1 -1
  149. package/bower_components/ckeditor/plugins/div/lang/sr.js +1 -1
  150. package/bower_components/ckeditor/plugins/docprops/lang/sr-latn.js +3 -3
  151. package/bower_components/ckeditor/plugins/docprops/lang/sr.js +3 -3
  152. package/bower_components/ckeditor/plugins/easyimage/plugin.js +9 -9
  153. package/bower_components/ckeditor/plugins/embedbase/lang/et.js +1 -0
  154. package/bower_components/ckeditor/plugins/embedbase/lang/sr-latn.js +1 -0
  155. package/bower_components/ckeditor/plugins/embedbase/lang/sr.js +1 -0
  156. package/bower_components/ckeditor/plugins/embedbase/plugin.js +6 -6
  157. package/bower_components/ckeditor/plugins/emoji/assets/iconsall.png +0 -0
  158. package/bower_components/ckeditor/plugins/emoji/assets/iconsall.svg +57 -41
  159. package/bower_components/ckeditor/plugins/emoji/plugin.js +23 -22
  160. package/bower_components/ckeditor/plugins/emoji/skins/default.css +6 -5
  161. package/bower_components/ckeditor/plugins/find/dialogs/find.js +3 -3
  162. package/bower_components/ckeditor/plugins/find/lang/sr-latn.js +1 -1
  163. package/bower_components/ckeditor/plugins/find/lang/sr.js +1 -1
  164. package/bower_components/ckeditor/plugins/flash/lang/sr-latn.js +3 -2
  165. package/bower_components/ckeditor/plugins/flash/lang/sr.js +3 -2
  166. package/bower_components/ckeditor/plugins/font/lang/sr-latn.js +1 -1
  167. package/bower_components/ckeditor/plugins/font/lang/sr.js +1 -1
  168. package/bower_components/ckeditor/plugins/forms/lang/lt.js +3 -3
  169. package/bower_components/ckeditor/plugins/forms/lang/no.js +3 -3
  170. package/bower_components/ckeditor/plugins/forms/lang/sr-latn.js +3 -3
  171. package/bower_components/ckeditor/plugins/forms/lang/sr.js +3 -3
  172. package/bower_components/ckeditor/plugins/iframe/lang/sr-latn.js +1 -1
  173. package/bower_components/ckeditor/plugins/iframe/lang/sr.js +1 -1
  174. package/bower_components/ckeditor/plugins/image2/lang/et.js +1 -1
  175. package/bower_components/ckeditor/plugins/image2/lang/no.js +1 -1
  176. package/bower_components/ckeditor/plugins/image2/lang/sr-latn.js +1 -1
  177. package/bower_components/ckeditor/plugins/image2/lang/sr.js +1 -1
  178. package/bower_components/ckeditor/plugins/image2/lang/uk.js +1 -1
  179. package/bower_components/ckeditor/plugins/image2/plugin.js +26 -26
  180. package/bower_components/ckeditor/plugins/imagebase/plugin.js +2 -2
  181. package/bower_components/ckeditor/plugins/justify/plugin.js +1 -1
  182. package/bower_components/ckeditor/plugins/language/lang/lt.js +5 -0
  183. package/bower_components/ckeditor/plugins/language/lang/sr-latn.js +5 -0
  184. package/bower_components/ckeditor/plugins/language/lang/sr.js +5 -0
  185. package/bower_components/ckeditor/plugins/language/plugin.js +2 -2
  186. package/bower_components/ckeditor/plugins/liststyle/lang/sr-latn.js +2 -1
  187. package/bower_components/ckeditor/plugins/liststyle/lang/sr.js +2 -1
  188. package/bower_components/ckeditor/plugins/mathjax/lang/et.js +1 -1
  189. package/bower_components/ckeditor/plugins/mathjax/lang/sr-latn.js +1 -0
  190. package/bower_components/ckeditor/plugins/mathjax/lang/sr.js +1 -0
  191. package/bower_components/ckeditor/plugins/mathjax/plugin.js +8 -8
  192. package/bower_components/ckeditor/plugins/mentions/plugin.js +5 -5
  193. package/bower_components/ckeditor/plugins/pagebreak/lang/sr-latn.js +1 -1
  194. package/bower_components/ckeditor/plugins/pagebreak/lang/sr.js +1 -1
  195. package/bower_components/ckeditor/plugins/pagebreak/plugin.js +3 -3
  196. package/bower_components/ckeditor/plugins/pastefromword/filter/default.js +54 -51
  197. package/bower_components/ckeditor/plugins/placeholder/lang/et.js +1 -1
  198. package/bower_components/ckeditor/plugins/placeholder/lang/sr-latn.js +5 -0
  199. package/bower_components/ckeditor/plugins/placeholder/lang/sr.js +5 -0
  200. package/bower_components/ckeditor/plugins/placeholder/plugin.js +1 -1
  201. package/bower_components/ckeditor/plugins/scayt/dialogs/options.js +32 -32
  202. package/bower_components/ckeditor/plugins/showblocks/lang/sr-latn.js +1 -1
  203. package/bower_components/ckeditor/plugins/showblocks/lang/sr.js +1 -1
  204. package/bower_components/ckeditor/plugins/smiley/lang/sr-latn.js +1 -1
  205. package/bower_components/ckeditor/plugins/smiley/lang/sr.js +1 -1
  206. package/bower_components/ckeditor/plugins/sourcedialog/lang/sr-latn.js +1 -1
  207. package/bower_components/ckeditor/plugins/sourcedialog/lang/sr.js +1 -1
  208. package/bower_components/ckeditor/plugins/specialchar/dialogs/lang/et.js +7 -9
  209. package/bower_components/ckeditor/plugins/specialchar/dialogs/lang/sr-latn.js +13 -0
  210. package/bower_components/ckeditor/plugins/specialchar/dialogs/lang/sr.js +13 -0
  211. package/bower_components/ckeditor/plugins/table/dialogs/table.js +13 -13
  212. package/bower_components/ckeditor/plugins/tabletools/dialogs/tableCell.js +14 -14
  213. package/bower_components/ckeditor/plugins/templates/lang/sr-latn.js +1 -1
  214. package/bower_components/ckeditor/plugins/templates/lang/sr.js +1 -1
  215. package/bower_components/ckeditor/plugins/uicolor/lang/nl.js +1 -1
  216. package/bower_components/ckeditor/plugins/uicolor/lang/no.js +1 -1
  217. package/bower_components/ckeditor/plugins/uicolor/lang/pt.js +1 -1
  218. package/bower_components/ckeditor/plugins/uicolor/lang/sr-latn.js +5 -0
  219. package/bower_components/ckeditor/plugins/uicolor/lang/sr.js +5 -0
  220. package/bower_components/ckeditor/plugins/uicolor/lang/uk.js +1 -1
  221. package/bower_components/ckeditor/plugins/uicolor/plugin.js +1 -1
  222. package/bower_components/ckeditor/plugins/uploadfile/plugin.js +2 -1
  223. package/bower_components/ckeditor/plugins/wsc/dialogs/wsc.js +3 -3
  224. package/bower_components/ckeditor/samples/index.html +3 -2
  225. package/bower_components/ckeditor/samples/old/ajax.html +1 -1
  226. package/bower_components/ckeditor/samples/old/api.html +1 -1
  227. package/bower_components/ckeditor/samples/old/appendto.html +1 -1
  228. package/bower_components/ckeditor/samples/old/autogrow/autogrow.html +1 -1
  229. package/bower_components/ckeditor/samples/old/bbcode/bbcode.html +1 -1
  230. package/bower_components/ckeditor/samples/old/codesnippet/codesnippet.html +1 -1
  231. package/bower_components/ckeditor/samples/old/datafiltering.html +1 -1
  232. package/bower_components/ckeditor/samples/old/devtools/devtools.html +1 -1
  233. package/bower_components/ckeditor/samples/old/dialog/dialog.html +1 -1
  234. package/bower_components/ckeditor/samples/old/divarea/divarea.html +1 -1
  235. package/bower_components/ckeditor/samples/old/divreplace.html +1 -1
  236. package/bower_components/ckeditor/samples/old/docprops/docprops.html +1 -1
  237. package/bower_components/ckeditor/samples/old/enterkey/enterkey.html +1 -1
  238. package/bower_components/ckeditor/samples/old/htmlwriter/outputforflash.html +1 -1
  239. package/bower_components/ckeditor/samples/old/htmlwriter/outputhtml.html +1 -1
  240. package/bower_components/ckeditor/samples/old/image2/image2.html +1 -1
  241. package/bower_components/ckeditor/samples/old/index.html +4 -4
  242. package/bower_components/ckeditor/samples/old/inlineall.html +1 -1
  243. package/bower_components/ckeditor/samples/old/inlinebycode.html +1 -1
  244. package/bower_components/ckeditor/samples/old/inlinetextarea.html +1 -1
  245. package/bower_components/ckeditor/samples/old/jquery.html +1 -1
  246. package/bower_components/ckeditor/samples/old/magicline/magicline.html +1 -1
  247. package/bower_components/ckeditor/samples/old/mathjax/mathjax.html +1 -1
  248. package/bower_components/ckeditor/samples/old/placeholder/placeholder.html +1 -1
  249. package/bower_components/ckeditor/samples/old/readonly.html +1 -1
  250. package/bower_components/ckeditor/samples/old/replacebyclass.html +1 -1
  251. package/bower_components/ckeditor/samples/old/replacebycode.html +1 -1
  252. package/bower_components/ckeditor/samples/old/sharedspace/sharedspace.html +1 -1
  253. package/bower_components/ckeditor/samples/old/sourcedialog/sourcedialog.html +1 -1
  254. package/bower_components/ckeditor/samples/old/stylesheetparser/stylesheetparser.html +1 -1
  255. package/bower_components/ckeditor/samples/old/tabindex.html +1 -1
  256. package/bower_components/ckeditor/samples/old/tableresize/tableresize.html +1 -1
  257. package/bower_components/ckeditor/samples/old/uicolor/uicolor.html +1 -1
  258. package/bower_components/ckeditor/samples/old/uicolor.html +1 -1
  259. package/bower_components/ckeditor/samples/old/uilanguages.html +1 -1
  260. package/bower_components/ckeditor/samples/old/wysiwygarea/fullpage.html +1 -1
  261. package/bower_components/ckeditor/samples/old/xhtmlstyle.html +1 -1
  262. package/bower_components/ckeditor/skins/kama/editor.css +1 -1
  263. package/bower_components/ckeditor/skins/kama/editor_ie.css +1 -1
  264. package/bower_components/ckeditor/skins/kama/editor_ie7.css +1 -1
  265. package/bower_components/ckeditor/skins/kama/editor_ie8.css +1 -1
  266. package/bower_components/ckeditor/skins/kama/editor_iequirks.css +1 -1
  267. package/bower_components/ckeditor/skins/moono/editor.css +1 -1
  268. package/bower_components/ckeditor/skins/moono/editor_gecko.css +1 -1
  269. package/bower_components/ckeditor/skins/moono/editor_ie.css +1 -1
  270. package/bower_components/ckeditor/skins/moono/editor_ie7.css +1 -1
  271. package/bower_components/ckeditor/skins/moono/editor_ie8.css +1 -1
  272. package/bower_components/ckeditor/skins/moono/editor_iequirks.css +1 -1
  273. package/bower_components/ckeditor/skins/moono/readme.md +1 -1
  274. package/bower_components/ckeditor/skins/moono-lisa/editor.css +1 -1
  275. package/bower_components/ckeditor/skins/moono-lisa/editor_gecko.css +1 -1
  276. package/bower_components/ckeditor/skins/moono-lisa/editor_ie.css +1 -1
  277. package/bower_components/ckeditor/skins/moono-lisa/editor_ie8.css +1 -1
  278. package/bower_components/ckeditor/skins/moono-lisa/editor_iequirks.css +1 -1
  279. package/bower_components/ckeditor/vendor/promise.js +13 -0
  280. package/bower_components/font-awesome/.bower.json +1 -1
  281. package/bower_components/fullcalendar/.bower.json +5 -5
  282. package/bower_components/fullcalendar/CHANGELOG.md +7 -0
  283. package/bower_components/fullcalendar/README.md +18 -8
  284. package/bower_components/fullcalendar/dist/fullcalendar.css +2 -2
  285. package/bower_components/fullcalendar/dist/fullcalendar.js +3 -3
  286. package/bower_components/fullcalendar/dist/fullcalendar.min.css +2 -2
  287. package/bower_components/fullcalendar/dist/fullcalendar.min.js +3 -3
  288. package/bower_components/fullcalendar/dist/fullcalendar.print.css +4 -4
  289. package/bower_components/fullcalendar/dist/fullcalendar.print.min.css +4 -4
  290. package/bower_components/fullcalendar/dist/gcal.js +2 -2
  291. package/bower_components/fullcalendar/dist/gcal.min.js +2 -2
  292. package/bower_components/fullcalendar/dist/locale/cs.js +1 -1
  293. package/bower_components/fullcalendar/dist/locale/en-ie.js +1 -1
  294. package/bower_components/fullcalendar/dist/locale/es-us.js +1 -1
  295. package/bower_components/fullcalendar/dist/locale/ja.js +1 -1
  296. package/bower_components/fullcalendar/dist/locale/pt-br.js +1 -1
  297. package/bower_components/fullcalendar/dist/locale/pt.js +1 -1
  298. package/bower_components/fullcalendar/dist/locale/uk.js +1 -1
  299. package/bower_components/fullcalendar/dist/locale-all.js +6 -6
  300. package/bower_components/ion.rangeSlider/.bower.json +1 -1
  301. package/bower_components/jquery/.bower.json +5 -5
  302. package/bower_components/jquery/AUTHORS.txt +8 -0
  303. package/bower_components/jquery/LICENSE.txt +0 -16
  304. package/bower_components/jquery/README.md +2 -2
  305. package/bower_components/jquery/dist/core.js +13 -13
  306. package/bower_components/jquery/dist/jquery.js +415 -181
  307. package/bower_components/jquery/dist/jquery.min.js +2 -2
  308. package/bower_components/jquery/dist/jquery.min.map +1 -1
  309. package/bower_components/jquery/dist/jquery.slim.js +389 -163
  310. package/bower_components/jquery/dist/jquery.slim.min.js +2 -2
  311. package/bower_components/jquery/dist/jquery.slim.min.map +1 -1
  312. package/bower_components/jquery/external/sizzle/LICENSE.txt +1 -1
  313. package/bower_components/jquery/external/sizzle/dist/sizzle.js +51 -41
  314. package/bower_components/jquery/external/sizzle/dist/sizzle.min.js +2 -2
  315. package/bower_components/jquery/external/sizzle/dist/sizzle.min.map +1 -1
  316. package/bower_components/jquery/src/.eslintrc.json +10 -1
  317. package/bower_components/jquery/src/ajax/script.js +7 -10
  318. package/bower_components/jquery/src/ajax.js +5 -3
  319. package/bower_components/jquery/src/core/DOMEval.js +17 -4
  320. package/bower_components/jquery/src/core/isAttached.js +26 -0
  321. package/bower_components/jquery/src/core/var/rsingleTag.js +2 -1
  322. package/bower_components/jquery/src/core.js +13 -13
  323. package/bower_components/jquery/src/css/adjustCSS.js +2 -1
  324. package/bower_components/jquery/src/css/curCSS.js +4 -4
  325. package/bower_components/jquery/src/css/finalPropName.js +42 -0
  326. package/bower_components/jquery/src/css/support.js +3 -1
  327. package/bower_components/jquery/src/css/var/isHiddenWithinTree.js +3 -3
  328. package/bower_components/jquery/src/css.js +65 -62
  329. package/bower_components/jquery/src/effects/Tween.js +6 -4
  330. package/bower_components/jquery/src/event.js +170 -30
  331. package/bower_components/jquery/src/manipulation/_evalUrl.js +11 -2
  332. package/bower_components/jquery/src/manipulation/buildFragment.js +5 -4
  333. package/bower_components/jquery/src/manipulation/var/rtagName.js +4 -1
  334. package/bower_components/jquery/src/manipulation.js +11 -8
  335. package/bower_components/jquery/src/serialize.js +5 -1
  336. package/bower_components/jquery/src/traversing.js +12 -12
  337. package/bower_components/jquery/src/{manipulation/var → var}/rcheckableType.js +0 -0
  338. package/bower_components/jquery-ui/.bower.json +6 -5
  339. package/bower_components/jquery-ui/README.md +9 -8
  340. package/bower_components/jquery-ui/bower.json +2 -1
  341. package/bower_components/jquery-ui/component.json +1 -1
  342. package/bower_components/jquery-ui/jquery-ui.js +12587 -10498
  343. package/bower_components/jquery-ui/jquery-ui.min.js +11 -11
  344. package/bower_components/jquery-ui/package.json +14 -69
  345. package/bower_components/jquery-ui/themes/base/accordion.css +1 -14
  346. package/bower_components/jquery-ui/themes/base/all.css +1 -1
  347. package/bower_components/jquery-ui/themes/base/autocomplete.css +1 -1
  348. package/bower_components/jquery-ui/themes/base/base.css +3 -1
  349. package/bower_components/jquery-ui/themes/base/button.css +35 -67
  350. package/bower_components/jquery-ui/themes/base/checkboxradio.css +34 -0
  351. package/bower_components/jquery-ui/themes/base/controlgroup.css +65 -0
  352. package/bower_components/jquery-ui/themes/base/core.css +11 -7
  353. package/bower_components/jquery-ui/themes/base/datepicker.css +11 -1
  354. package/bower_components/jquery-ui/themes/base/dialog.css +38 -7
  355. package/bower_components/jquery-ui/themes/base/draggable.css +1 -1
  356. package/bower_components/jquery-ui/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  357. package/bower_components/jquery-ui/themes/base/images/ui-icons_444444_256x240.png +0 -0
  358. package/bower_components/jquery-ui/themes/base/images/ui-icons_555555_256x240.png +0 -0
  359. package/bower_components/jquery-ui/themes/base/images/ui-icons_777620_256x240.png +0 -0
  360. package/bower_components/jquery-ui/themes/base/images/ui-icons_777777_256x240.png +0 -0
  361. package/bower_components/jquery-ui/themes/base/images/ui-icons_cc0000_256x240.png +0 -0
  362. package/bower_components/jquery-ui/themes/base/images/ui-icons_ffffff_256x240.png +0 -0
  363. package/bower_components/jquery-ui/themes/base/jquery-ui.css +315 -229
  364. package/bower_components/jquery-ui/themes/base/jquery-ui.min.css +3 -3
  365. package/bower_components/jquery-ui/themes/base/menu.css +7 -6
  366. package/bower_components/jquery-ui/themes/base/progressbar.css +1 -1
  367. package/bower_components/jquery-ui/themes/base/resizable.css +1 -1
  368. package/bower_components/jquery-ui/themes/base/selectable.css +1 -1
  369. package/bower_components/jquery-ui/themes/base/selectmenu.css +11 -20
  370. package/bower_components/jquery-ui/themes/base/slider.css +1 -1
  371. package/bower_components/jquery-ui/themes/base/sortable.css +1 -1
  372. package/bower_components/jquery-ui/themes/base/spinner.css +7 -20
  373. package/bower_components/jquery-ui/themes/base/tabs.css +1 -1
  374. package/bower_components/jquery-ui/themes/base/theme.css +113 -80
  375. package/bower_components/jquery-ui/themes/base/tooltip.css +1 -3
  376. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_diagonals-thick_8_333333_40x40.png +0 -0
  377. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_glass_40_111111_1x400.png +0 -0
  378. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_glass_55_1c1c1c_1x400.png +0 -0
  379. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-hard_100_f9f9f9_1x100.png +0 -0
  380. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-hard_40_aaaaaa_1x100.png +0 -0
  381. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_highlight-soft_50_aaaaaa_1x100.png +0 -0
  382. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_inset-hard_45_cd0a0a_1x100.png +0 -0
  383. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_inset-hard_55_ffeb80_1x100.png +0 -0
  384. package/bower_components/jquery-ui/themes/black-tie/images/ui-icons_222222_256x240.png +0 -0
  385. package/bower_components/jquery-ui/themes/black-tie/images/ui-icons_4ca300_256x240.png +0 -0
  386. package/bower_components/jquery-ui/themes/black-tie/images/ui-icons_bbbbbb_256x240.png +0 -0
  387. package/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ededed_256x240.png +0 -0
  388. package/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ffcf29_256x240.png +0 -0
  389. package/bower_components/jquery-ui/themes/black-tie/images/ui-icons_ffffff_256x240.png +0 -0
  390. package/bower_components/jquery-ui/themes/black-tie/jquery-ui.css +317 -231
  391. package/bower_components/jquery-ui/themes/black-tie/jquery-ui.min.css +4 -4
  392. package/bower_components/jquery-ui/themes/black-tie/theme.css +65 -32
  393. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png +0 -0
  394. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_dots-small_65_a6a6a6_2x2.png +0 -0
  395. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_glass_55_fbf8ee_1x400.png +0 -0
  396. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-hard_100_eeeeee_1x100.png +0 -0
  397. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-hard_100_f6f6f6_1x100.png +0 -0
  398. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_highlight-soft_15_cc0000_1x100.png +0 -0
  399. package/bower_components/jquery-ui/themes/blitzer/images/ui-icons_004276_256x240.png +0 -0
  400. package/bower_components/jquery-ui/themes/blitzer/images/ui-icons_cc0000_256x240.png +0 -0
  401. package/bower_components/jquery-ui/themes/blitzer/images/ui-icons_ffffff_256x240.png +0 -0
  402. package/bower_components/jquery-ui/themes/blitzer/jquery-ui.css +318 -232
  403. package/bower_components/jquery-ui/themes/blitzer/jquery-ui.min.css +4 -4
  404. package/bower_components/jquery-ui/themes/blitzer/theme.css +66 -33
  405. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  406. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  407. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_50_3baae3_1x400.png +0 -0
  408. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  409. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  410. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  411. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  412. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  413. package/bower_components/jquery-ui/themes/cupertino/images/ui-icons_2694e8_256x240.png +0 -0
  414. package/bower_components/jquery-ui/themes/cupertino/images/ui-icons_2e83ff_256x240.png +0 -0
  415. package/bower_components/jquery-ui/themes/cupertino/images/ui-icons_3d80b3_256x240.png +0 -0
  416. package/bower_components/jquery-ui/themes/cupertino/images/ui-icons_72a7cf_256x240.png +0 -0
  417. package/bower_components/jquery-ui/themes/cupertino/images/ui-icons_ffffff_256x240.png +0 -0
  418. package/bower_components/jquery-ui/themes/cupertino/jquery-ui.css +317 -231
  419. package/bower_components/jquery-ui/themes/cupertino/jquery-ui.min.css +4 -4
  420. package/bower_components/jquery-ui/themes/cupertino/theme.css +65 -32
  421. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  422. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-hard_20_0972a5_1x100.png +0 -0
  423. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_33_003147_1x100.png +0 -0
  424. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_35_222222_1x100.png +0 -0
  425. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_44_444444_1x100.png +0 -0
  426. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  427. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_loop_25_000000_21x21.png +0 -0
  428. package/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_222222_256x240.png +0 -0
  429. package/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_4b8e0b_256x240.png +0 -0
  430. package/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_a83300_256x240.png +0 -0
  431. package/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_cccccc_256x240.png +0 -0
  432. package/bower_components/jquery-ui/themes/dark-hive/images/ui-icons_ffffff_256x240.png +0 -0
  433. package/bower_components/jquery-ui/themes/dark-hive/jquery-ui.css +317 -231
  434. package/bower_components/jquery-ui/themes/dark-hive/jquery-ui.min.css +4 -4
  435. package/bower_components/jquery-ui/themes/dark-hive/theme.css +65 -32
  436. package/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_diagonals-thick_15_0b3e6f_40x40.png +0 -0
  437. package/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-medium_30_0b58a2_4x4.png +0 -0
  438. package/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_20_333333_2x2.png +0 -0
  439. package/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_30_a32d00_2x2.png +0 -0
  440. package/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_dots-small_40_00498f_2x2.png +0 -0
  441. package/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_gloss-wave_20_111111_500x100.png +0 -0
  442. package/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_00498f_256x240.png +0 -0
  443. package/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_98d2fb_256x240.png +0 -0
  444. package/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_9ccdfc_256x240.png +0 -0
  445. package/bower_components/jquery-ui/themes/dot-luv/images/ui-icons_ffffff_256x240.png +0 -0
  446. package/bower_components/jquery-ui/themes/dot-luv/jquery-ui.css +318 -232
  447. package/bower_components/jquery-ui/themes/dot-luv/jquery-ui.min.css +4 -4
  448. package/bower_components/jquery-ui/themes/dot-luv/theme.css +66 -33
  449. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_gloss-wave_30_3d3644_500x100.png +0 -0
  450. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_100_dcd9de_1x100.png +0 -0
  451. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_100_eae6ea_1x100.png +0 -0
  452. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_25_30273a_1x100.png +0 -0
  453. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_highlight-soft_45_5f5964_1x100.png +0 -0
  454. package/bower_components/jquery-ui/themes/eggplant/images/ui-icons_454545_256x240.png +0 -0
  455. package/bower_components/jquery-ui/themes/eggplant/images/ui-icons_734d99_256x240.png +0 -0
  456. package/bower_components/jquery-ui/themes/eggplant/images/ui-icons_8d78a5_256x240.png +0 -0
  457. package/bower_components/jquery-ui/themes/eggplant/images/ui-icons_a8a3ae_256x240.png +0 -0
  458. package/bower_components/jquery-ui/themes/eggplant/images/ui-icons_ebccce_256x240.png +0 -0
  459. package/bower_components/jquery-ui/themes/eggplant/images/ui-icons_ffffff_256x240.png +0 -0
  460. package/bower_components/jquery-ui/themes/eggplant/jquery-ui.css +319 -233
  461. package/bower_components/jquery-ui/themes/eggplant/jquery-ui.min.css +4 -4
  462. package/bower_components/jquery-ui/themes/eggplant/theme.css +67 -34
  463. package/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-small_25_c5ddfc_40x40.png +0 -0
  464. package/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_20_e69700_40x40.png +0 -0
  465. package/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_22_1484e6_40x40.png +0 -0
  466. package/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_diagonals-thick_26_2293f7_40x40.png +0 -0
  467. package/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_highlight-soft_100_f9f9f9_1x100.png +0 -0
  468. package/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_inset-hard_100_eeeeee_1x100.png +0 -0
  469. package/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_0a82eb_256x240.png +0 -0
  470. package/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_0b54d5_256x240.png +0 -0
  471. package/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_5fa5e3_256x240.png +0 -0
  472. package/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_fcdd4a_256x240.png +0 -0
  473. package/bower_components/jquery-ui/themes/excite-bike/images/ui-icons_ffffff_256x240.png +0 -0
  474. package/bower_components/jquery-ui/themes/excite-bike/jquery-ui.css +317 -231
  475. package/bower_components/jquery-ui/themes/excite-bike/jquery-ui.min.css +4 -4
  476. package/bower_components/jquery-ui/themes/excite-bike/theme.css +65 -32
  477. package/bower_components/jquery-ui/themes/flick/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  478. package/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
  479. package/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
  480. package/bower_components/jquery-ui/themes/flick/images/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
  481. package/bower_components/jquery-ui/themes/flick/images/ui-icons_0073ea_256x240.png +0 -0
  482. package/bower_components/jquery-ui/themes/flick/images/ui-icons_454545_256x240.png +0 -0
  483. package/bower_components/jquery-ui/themes/flick/images/ui-icons_666666_256x240.png +0 -0
  484. package/bower_components/jquery-ui/themes/flick/images/ui-icons_ff0084_256x240.png +0 -0
  485. package/bower_components/jquery-ui/themes/flick/images/ui-icons_ffffff_256x240.png +0 -0
  486. package/bower_components/jquery-ui/themes/flick/jquery-ui.css +320 -234
  487. package/bower_components/jquery-ui/themes/flick/jquery-ui.min.css +4 -4
  488. package/bower_components/jquery-ui/themes/flick/theme.css +68 -35
  489. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_40_db4865_40x40.png +0 -0
  490. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_50_93c3cd_40x40.png +0 -0
  491. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_50_ff3853_40x40.png +0 -0
  492. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_diagonals-small_75_ccd232_40x40.png +0 -0
  493. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_dots-medium_80_ffff38_4x4.png +0 -0
  494. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_dots-small_35_35414f_2x2.png +0 -0
  495. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_white-lines_85_f7f7ba_40x100.png +0 -0
  496. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_454545_256x240.png +0 -0
  497. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_88a206_256x240.png +0 -0
  498. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_c02669_256x240.png +0 -0
  499. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_e1e463_256x240.png +0 -0
  500. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_ffeb33_256x240.png +0 -0
  501. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-icons_ffffff_256x240.png +0 -0
  502. package/bower_components/jquery-ui/themes/hot-sneaks/jquery-ui.css +317 -231
  503. package/bower_components/jquery-ui/themes/hot-sneaks/jquery-ui.min.css +4 -4
  504. package/bower_components/jquery-ui/themes/hot-sneaks/theme.css +65 -32
  505. package/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_100_f5f0e5_1x400.png +0 -0
  506. package/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_25_cb842e_1x400.png +0 -0
  507. package/bower_components/jquery-ui/themes/humanity/images/ui-bg_glass_70_ede4d4_1x400.png +0 -0
  508. package/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_100_f4f0ec_1x100.png +0 -0
  509. package/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  510. package/bower_components/jquery-ui/themes/humanity/images/ui-bg_highlight-hard_75_f5f5b5_1x100.png +0 -0
  511. package/bower_components/jquery-ui/themes/humanity/images/ui-bg_inset-soft_100_f4f0ec_1x100.png +0 -0
  512. package/bower_components/jquery-ui/themes/humanity/images/ui-icons_c47a23_256x240.png +0 -0
  513. package/bower_components/jquery-ui/themes/humanity/images/ui-icons_cb672b_256x240.png +0 -0
  514. package/bower_components/jquery-ui/themes/humanity/images/ui-icons_f08000_256x240.png +0 -0
  515. package/bower_components/jquery-ui/themes/humanity/images/ui-icons_f35f07_256x240.png +0 -0
  516. package/bower_components/jquery-ui/themes/humanity/images/ui-icons_ff7519_256x240.png +0 -0
  517. package/bower_components/jquery-ui/themes/humanity/images/ui-icons_ffffff_256x240.png +0 -0
  518. package/bower_components/jquery-ui/themes/humanity/jquery-ui.css +317 -231
  519. package/bower_components/jquery-ui/themes/humanity/jquery-ui.min.css +4 -4
  520. package/bower_components/jquery-ui/themes/humanity/theme.css +65 -32
  521. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-small_0_aaaaaa_40x40.png +0 -0
  522. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-thick_15_444444_40x40.png +0 -0
  523. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_diagonals-thick_95_ffdc2e_40x40.png +0 -0
  524. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_glass_55_fbf5d0_1x400.png +0 -0
  525. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-hard_30_285c00_1x100.png +0 -0
  526. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_33_3a8104_1x100.png +0 -0
  527. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_50_4eb305_1x100.png +0 -0
  528. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_highlight-soft_60_4ca20b_1x100.png +0 -0
  529. package/bower_components/jquery-ui/themes/le-frog/images/ui-bg_inset-soft_10_285c00_1x100.png +0 -0
  530. package/bower_components/jquery-ui/themes/le-frog/images/ui-icons_4eb305_256x240.png +0 -0
  531. package/bower_components/jquery-ui/themes/le-frog/images/ui-icons_72b42d_256x240.png +0 -0
  532. package/bower_components/jquery-ui/themes/le-frog/images/ui-icons_cd0a0a_256x240.png +0 -0
  533. package/bower_components/jquery-ui/themes/le-frog/images/ui-icons_ffffff_256x240.png +0 -0
  534. package/bower_components/jquery-ui/themes/le-frog/jquery-ui.css +316 -230
  535. package/bower_components/jquery-ui/themes/le-frog/jquery-ui.min.css +4 -4
  536. package/bower_components/jquery-ui/themes/le-frog/theme.css +64 -31
  537. package/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_glass_15_5f391b_1x400.png +0 -0
  538. package/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_20_1c160d_500x100.png +0 -0
  539. package/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_25_453326_500x100.png +0 -0
  540. package/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_gloss-wave_30_44372c_500x100.png +0 -0
  541. package/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_highlight-soft_20_201913_1x100.png +0 -0
  542. package/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_highlight-soft_20_619226_1x100.png +0 -0
  543. package/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_inset-soft_10_201913_1x100.png +0 -0
  544. package/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_222222_256x240.png +0 -0
  545. package/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_9bcc60_256x240.png +0 -0
  546. package/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_add978_256x240.png +0 -0
  547. package/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_e3ddc9_256x240.png +0 -0
  548. package/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_f1fd86_256x240.png +0 -0
  549. package/bower_components/jquery-ui/themes/mint-choc/images/ui-icons_ffffff_256x240.png +0 -0
  550. package/bower_components/jquery-ui/themes/mint-choc/jquery-ui.css +317 -231
  551. package/bower_components/jquery-ui/themes/mint-choc/jquery-ui.min.css +4 -4
  552. package/bower_components/jquery-ui/themes/mint-choc/theme.css +65 -32
  553. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_100_f8f8f8_1x400.png +0 -0
  554. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_35_dddddd_1x400.png +0 -0
  555. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_glass_60_eeeeee_1x400.png +0 -0
  556. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_inset-hard_75_999999_1x100.png +0 -0
  557. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_inset-soft_50_c9c9c9_1x100.png +0 -0
  558. package/bower_components/jquery-ui/themes/overcast/images/ui-icons_3383bb_256x240.png +0 -0
  559. package/bower_components/jquery-ui/themes/overcast/images/ui-icons_454545_256x240.png +0 -0
  560. package/bower_components/jquery-ui/themes/overcast/images/ui-icons_70b2e1_256x240.png +0 -0
  561. package/bower_components/jquery-ui/themes/overcast/images/ui-icons_999999_256x240.png +0 -0
  562. package/bower_components/jquery-ui/themes/overcast/images/ui-icons_fbc856_256x240.png +0 -0
  563. package/bower_components/jquery-ui/themes/overcast/jquery-ui.css +319 -233
  564. package/bower_components/jquery-ui/themes/overcast/jquery-ui.min.css +4 -4
  565. package/bower_components/jquery-ui/themes/overcast/theme.css +67 -34
  566. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_diagonal-maze_20_6e4f1c_10x10.png +0 -0
  567. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_diagonal-maze_40_000000_10x10.png +0 -0
  568. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_10_eceadf_60x60.png +0 -0
  569. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_10_f8f7f6_60x60.png +0 -0
  570. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_eceadf_60x60.png +0 -0
  571. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_f7f3de_60x60.png +0 -0
  572. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_15_ffffff_60x60.png +0 -0
  573. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_65_654b24_60x60.png +0 -0
  574. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-bg_fine-grain_68_b83400_60x60.png +0 -0
  575. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_222222_256x240.png +0 -0
  576. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_3572ac_256x240.png +0 -0
  577. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_8c291d_256x240.png +0 -0
  578. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_b83400_256x240.png +0 -0
  579. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_fbdb93_256x240.png +0 -0
  580. package/bower_components/jquery-ui/themes/pepper-grinder/images/ui-icons_ffffff_256x240.png +0 -0
  581. package/bower_components/jquery-ui/themes/pepper-grinder/jquery-ui.css +316 -230
  582. package/bower_components/jquery-ui/themes/pepper-grinder/jquery-ui.min.css +4 -4
  583. package/bower_components/jquery-ui/themes/pepper-grinder/theme.css +64 -31
  584. package/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  585. package/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  586. package/bower_components/jquery-ui/themes/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  587. package/bower_components/jquery-ui/themes/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  588. package/bower_components/jquery-ui/themes/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  589. package/bower_components/jquery-ui/themes/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  590. package/bower_components/jquery-ui/themes/redmond/images/ui-icons_217bc0_256x240.png +0 -0
  591. package/bower_components/jquery-ui/themes/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
  592. package/bower_components/jquery-ui/themes/redmond/images/ui-icons_469bdd_256x240.png +0 -0
  593. package/bower_components/jquery-ui/themes/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  594. package/bower_components/jquery-ui/themes/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  595. package/bower_components/jquery-ui/themes/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
  596. package/bower_components/jquery-ui/themes/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  597. package/bower_components/jquery-ui/themes/redmond/jquery-ui.css +318 -232
  598. package/bower_components/jquery-ui/themes/redmond/jquery-ui.min.css +4 -4
  599. package/bower_components/jquery-ui/themes/redmond/theme.css +66 -33
  600. package/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  601. package/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  602. package/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  603. package/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  604. package/bower_components/jquery-ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  605. package/bower_components/jquery-ui/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  606. package/bower_components/jquery-ui/themes/smoothness/images/ui-icons_222222_256x240.png +0 -0
  607. package/bower_components/jquery-ui/themes/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  608. package/bower_components/jquery-ui/themes/smoothness/images/ui-icons_454545_256x240.png +0 -0
  609. package/bower_components/jquery-ui/themes/smoothness/images/ui-icons_888888_256x240.png +0 -0
  610. package/bower_components/jquery-ui/themes/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  611. package/bower_components/jquery-ui/themes/smoothness/jquery-ui.css +318 -232
  612. package/bower_components/jquery-ui/themes/smoothness/jquery-ui.min.css +4 -4
  613. package/bower_components/jquery-ui/themes/smoothness/theme.css +66 -33
  614. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_glass_55_fcf0ba_1x400.png +0 -0
  615. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png +0 -0
  616. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_100_f5f3e5_1x100.png +0 -0
  617. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_100_fafaf4_1x100.png +0 -0
  618. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_15_459e00_1x100.png +0 -0
  619. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-hard_95_cccccc_1x100.png +0 -0
  620. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-soft_25_67b021_1x100.png +0 -0
  621. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_highlight-soft_95_ffedad_1x100.png +0 -0
  622. package/bower_components/jquery-ui/themes/south-street/images/ui-bg_inset-soft_15_2b2922_1x100.png +0 -0
  623. package/bower_components/jquery-ui/themes/south-street/images/ui-icons_808080_256x240.png +0 -0
  624. package/bower_components/jquery-ui/themes/south-street/images/ui-icons_847e71_256x240.png +0 -0
  625. package/bower_components/jquery-ui/themes/south-street/images/ui-icons_8DC262_256x240.png +0 -0
  626. package/bower_components/jquery-ui/themes/south-street/images/ui-icons_cd0a0a_256x240.png +0 -0
  627. package/bower_components/jquery-ui/themes/south-street/images/ui-icons_eeeeee_256x240.png +0 -0
  628. package/bower_components/jquery-ui/themes/south-street/images/ui-icons_ffffff_256x240.png +0 -0
  629. package/bower_components/jquery-ui/themes/south-street/jquery-ui.css +316 -230
  630. package/bower_components/jquery-ui/themes/south-street/jquery-ui.min.css +4 -4
  631. package/bower_components/jquery-ui/themes/south-street/theme.css +64 -31
  632. package/bower_components/jquery-ui/themes/start/images/ui-bg_glass_45_0078ae_1x400.png +0 -0
  633. package/bower_components/jquery-ui/themes/start/images/ui-bg_glass_55_f8da4e_1x400.png +0 -0
  634. package/bower_components/jquery-ui/themes/start/images/ui-bg_glass_75_79c9ec_1x400.png +0 -0
  635. package/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_45_e14f1c_500x100.png +0 -0
  636. package/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_50_6eac2c_500x100.png +0 -0
  637. package/bower_components/jquery-ui/themes/start/images/ui-bg_gloss-wave_75_2191c0_500x100.png +0 -0
  638. package/bower_components/jquery-ui/themes/start/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  639. package/bower_components/jquery-ui/themes/start/images/ui-icons_0078ae_256x240.png +0 -0
  640. package/bower_components/jquery-ui/themes/start/images/ui-icons_056b93_256x240.png +0 -0
  641. package/bower_components/jquery-ui/themes/start/images/ui-icons_d8e7f3_256x240.png +0 -0
  642. package/bower_components/jquery-ui/themes/start/images/ui-icons_e0fdff_256x240.png +0 -0
  643. package/bower_components/jquery-ui/themes/start/images/ui-icons_f5e175_256x240.png +0 -0
  644. package/bower_components/jquery-ui/themes/start/images/ui-icons_f7a50d_256x240.png +0 -0
  645. package/bower_components/jquery-ui/themes/start/images/ui-icons_fcd113_256x240.png +0 -0
  646. package/bower_components/jquery-ui/themes/start/jquery-ui.css +317 -231
  647. package/bower_components/jquery-ui/themes/start/jquery-ui.min.css +4 -4
  648. package/bower_components/jquery-ui/themes/start/theme.css +65 -32
  649. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_diagonals-medium_20_d34d17_40x40.png +0 -0
  650. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_45_817865_500x100.png +0 -0
  651. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_60_fece2f_500x100.png +0 -0
  652. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_70_ffdd57_500x100.png +0 -0
  653. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_gloss-wave_90_fff9e5_500x100.png +0 -0
  654. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_highlight-soft_100_feeebd_1x100.png +0 -0
  655. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_inset-soft_30_ffffff_1x100.png +0 -0
  656. package/bower_components/jquery-ui/themes/sunny/images/ui-icons_3d3d3d_256x240.png +0 -0
  657. package/bower_components/jquery-ui/themes/sunny/images/ui-icons_bd7b00_256x240.png +0 -0
  658. package/bower_components/jquery-ui/themes/sunny/images/ui-icons_d19405_256x240.png +0 -0
  659. package/bower_components/jquery-ui/themes/sunny/images/ui-icons_eb990f_256x240.png +0 -0
  660. package/bower_components/jquery-ui/themes/sunny/images/ui-icons_ed9f26_256x240.png +0 -0
  661. package/bower_components/jquery-ui/themes/sunny/images/ui-icons_fadc7a_256x240.png +0 -0
  662. package/bower_components/jquery-ui/themes/sunny/images/ui-icons_ffe180_256x240.png +0 -0
  663. package/bower_components/jquery-ui/themes/sunny/jquery-ui.css +317 -231
  664. package/bower_components/jquery-ui/themes/sunny/jquery-ui.min.css +4 -4
  665. package/bower_components/jquery-ui/themes/sunny/theme.css +65 -32
  666. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_10_4f4221_10x8.png +0 -0
  667. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_20_372806_10x8.png +0 -0
  668. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_25_675423_10x8.png +0 -0
  669. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_25_d5ac5d_10x8.png +0 -0
  670. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_8_261803_10x8.png +0 -0
  671. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_diamond_8_443113_10x8.png +0 -0
  672. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_highlight-hard_65_fee4bd_1x100.png +0 -0
  673. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_070603_256x240.png +0 -0
  674. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_e8e2b5_256x240.png +0 -0
  675. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_e9cd86_256x240.png +0 -0
  676. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_efec9f_256x240.png +0 -0
  677. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_f2ec64_256x240.png +0 -0
  678. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_f9f2bd_256x240.png +0 -0
  679. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-icons_ff7519_256x240.png +0 -0
  680. package/bower_components/jquery-ui/themes/swanky-purse/jquery-ui.css +316 -230
  681. package/bower_components/jquery-ui/themes/swanky-purse/jquery-ui.min.css +4 -4
  682. package/bower_components/jquery-ui/themes/swanky-purse/theme.css +64 -31
  683. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_diagonals-small_50_262626_40x40.png +0 -0
  684. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_40_0a0a0a_1x400.png +0 -0
  685. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_55_f1fbe5_1x400.png +0 -0
  686. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_glass_60_000000_1x400.png +0 -0
  687. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_55_000000_500x100.png +0 -0
  688. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_85_9fda58_500x100.png +0 -0
  689. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_gloss-wave_95_f6ecd5_500x100.png +0 -0
  690. package/bower_components/jquery-ui/themes/trontastic/images/ui-icons_000000_256x240.png +0 -0
  691. package/bower_components/jquery-ui/themes/trontastic/images/ui-icons_1f1f1f_256x240.png +0 -0
  692. package/bower_components/jquery-ui/themes/trontastic/images/ui-icons_9fda58_256x240.png +0 -0
  693. package/bower_components/jquery-ui/themes/trontastic/images/ui-icons_b8ec79_256x240.png +0 -0
  694. package/bower_components/jquery-ui/themes/trontastic/images/ui-icons_cd0a0a_256x240.png +0 -0
  695. package/bower_components/jquery-ui/themes/trontastic/images/ui-icons_ffffff_256x240.png +0 -0
  696. package/bower_components/jquery-ui/themes/trontastic/jquery-ui.css +317 -231
  697. package/bower_components/jquery-ui/themes/trontastic/jquery-ui.min.css +4 -4
  698. package/bower_components/jquery-ui/themes/trontastic/theme.css +65 -32
  699. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_20_555555_1x400.png +0 -0
  700. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_40_0078a3_1x400.png +0 -0
  701. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  702. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  703. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  704. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  705. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  706. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_222222_256x240.png +0 -0
  707. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_4b8e0b_256x240.png +0 -0
  708. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_a83300_256x240.png +0 -0
  709. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_cccccc_256x240.png +0 -0
  710. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-icons_ffffff_256x240.png +0 -0
  711. package/bower_components/jquery-ui/themes/ui-darkness/jquery-ui.css +317 -231
  712. package/bower_components/jquery-ui/themes/ui-darkness/jquery-ui.min.css +4 -4
  713. package/bower_components/jquery-ui/themes/ui-darkness/theme.css +65 -32
  714. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  715. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  716. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  717. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  718. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  719. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  720. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  721. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  722. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  723. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  724. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  725. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  726. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  727. package/bower_components/jquery-ui/themes/ui-lightness/jquery-ui.css +316 -230
  728. package/bower_components/jquery-ui/themes/ui-lightness/jquery-ui.min.css +4 -4
  729. package/bower_components/jquery-ui/themes/ui-lightness/theme.css +64 -31
  730. package/bower_components/jquery-ui/themes/vader/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  731. package/bower_components/jquery-ui/themes/vader/images/ui-bg_gloss-wave_16_121212_500x100.png +0 -0
  732. package/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-hard_15_888888_1x100.png +0 -0
  733. package/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-hard_55_555555_1x100.png +0 -0
  734. package/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-soft_35_adadad_1x100.png +0 -0
  735. package/bower_components/jquery-ui/themes/vader/images/ui-bg_highlight-soft_60_dddddd_1x100.png +0 -0
  736. package/bower_components/jquery-ui/themes/vader/images/ui-bg_inset-soft_15_121212_1x100.png +0 -0
  737. package/bower_components/jquery-ui/themes/vader/images/ui-icons_666666_256x240.png +0 -0
  738. package/bower_components/jquery-ui/themes/vader/images/ui-icons_aaaaaa_256x240.png +0 -0
  739. package/bower_components/jquery-ui/themes/vader/images/ui-icons_bbbbbb_256x240.png +0 -0
  740. package/bower_components/jquery-ui/themes/vader/images/ui-icons_c98000_256x240.png +0 -0
  741. package/bower_components/jquery-ui/themes/vader/images/ui-icons_cccccc_256x240.png +0 -0
  742. package/bower_components/jquery-ui/themes/vader/images/ui-icons_cd0a0a_256x240.png +0 -0
  743. package/bower_components/jquery-ui/themes/vader/images/ui-icons_f29a00_256x240.png +0 -0
  744. package/bower_components/jquery-ui/themes/vader/jquery-ui.css +320 -234
  745. package/bower_components/jquery-ui/themes/vader/jquery-ui.min.css +5 -5
  746. package/bower_components/jquery-ui/themes/vader/theme.css +68 -35
  747. package/bower_components/jquery-ui/ui/core.js +21 -304
  748. package/bower_components/jquery-ui/ui/data.js +39 -0
  749. package/bower_components/jquery-ui/ui/disable-selection.js +46 -0
  750. package/bower_components/jquery-ui/ui/effect.js +618 -284
  751. package/bower_components/jquery-ui/ui/effects/effect-blind.js +70 -0
  752. package/bower_components/jquery-ui/ui/effects/effect-bounce.js +110 -0
  753. package/bower_components/jquery-ui/ui/effects/effect-clip.js +65 -0
  754. package/bower_components/jquery-ui/ui/effects/effect-drop.js +69 -0
  755. package/bower_components/jquery-ui/ui/effects/effect-explode.js +111 -0
  756. package/bower_components/jquery-ui/ui/effects/effect-fade.js +47 -0
  757. package/bower_components/jquery-ui/ui/effects/effect-fold.js +89 -0
  758. package/bower_components/jquery-ui/ui/effects/effect-highlight.js +57 -0
  759. package/bower_components/jquery-ui/ui/effects/effect-puff.js +42 -0
  760. package/bower_components/jquery-ui/ui/effects/effect-pulsate.js +64 -0
  761. package/bower_components/jquery-ui/ui/effects/effect-scale.js +56 -0
  762. package/bower_components/jquery-ui/ui/effects/effect-shake.js +74 -0
  763. package/bower_components/jquery-ui/ui/effects/effect-size.js +191 -0
  764. package/bower_components/jquery-ui/ui/effects/effect-slide.js +76 -0
  765. package/bower_components/jquery-ui/ui/effects/effect-transfer.js +40 -0
  766. package/bower_components/jquery-ui/ui/escape-selector.js +21 -0
  767. package/bower_components/jquery-ui/ui/focusable.js +84 -0
  768. package/bower_components/jquery-ui/ui/form-reset-mixin.js +77 -0
  769. package/bower_components/jquery-ui/ui/form.js +20 -0
  770. package/bower_components/jquery-ui/ui/i18n/datepicker-af.js +21 -21
  771. package/bower_components/jquery-ui/ui/i18n/datepicker-ar-DZ.js +23 -21
  772. package/bower_components/jquery-ui/ui/i18n/datepicker-ar.js +22 -21
  773. package/bower_components/jquery-ui/ui/i18n/datepicker-az.js +21 -21
  774. package/bower_components/jquery-ui/ui/i18n/datepicker-be.js +21 -21
  775. package/bower_components/jquery-ui/ui/i18n/datepicker-bg.js +22 -22
  776. package/bower_components/jquery-ui/ui/i18n/datepicker-bs.js +21 -21
  777. package/bower_components/jquery-ui/ui/i18n/datepicker-ca.js +21 -21
  778. package/bower_components/jquery-ui/ui/i18n/datepicker-cs.js +21 -21
  779. package/bower_components/jquery-ui/ui/i18n/datepicker-cy-GB.js +29 -21
  780. package/bower_components/jquery-ui/ui/i18n/datepicker-da.js +21 -21
  781. package/bower_components/jquery-ui/ui/i18n/datepicker-de.js +21 -21
  782. package/bower_components/jquery-ui/ui/i18n/datepicker-el.js +21 -21
  783. package/bower_components/jquery-ui/ui/i18n/datepicker-en-AU.js +21 -21
  784. package/bower_components/jquery-ui/ui/i18n/datepicker-en-GB.js +21 -21
  785. package/bower_components/jquery-ui/ui/i18n/datepicker-en-NZ.js +21 -21
  786. package/bower_components/jquery-ui/ui/i18n/datepicker-eo.js +21 -21
  787. package/bower_components/jquery-ui/ui/i18n/datepicker-es.js +21 -21
  788. package/bower_components/jquery-ui/ui/i18n/datepicker-et.js +29 -21
  789. package/bower_components/jquery-ui/ui/i18n/datepicker-eu.js +21 -21
  790. package/bower_components/jquery-ui/ui/i18n/datepicker-fa.js +48 -48
  791. package/bower_components/jquery-ui/ui/i18n/datepicker-fi.js +21 -21
  792. package/bower_components/jquery-ui/ui/i18n/datepicker-fo.js +29 -21
  793. package/bower_components/jquery-ui/ui/i18n/datepicker-fr-CA.js +21 -21
  794. package/bower_components/jquery-ui/ui/i18n/datepicker-fr-CH.js +21 -21
  795. package/bower_components/jquery-ui/ui/i18n/datepicker-fr.js +21 -21
  796. package/bower_components/jquery-ui/ui/i18n/datepicker-gl.js +21 -21
  797. package/bower_components/jquery-ui/ui/i18n/datepicker-he.js +21 -21
  798. package/bower_components/jquery-ui/ui/i18n/datepicker-hi.js +21 -21
  799. package/bower_components/jquery-ui/ui/i18n/datepicker-hr.js +21 -21
  800. package/bower_components/jquery-ui/ui/i18n/datepicker-hu.js +21 -21
  801. package/bower_components/jquery-ui/ui/i18n/datepicker-hy.js +21 -21
  802. package/bower_components/jquery-ui/ui/i18n/datepicker-id.js +21 -21
  803. package/bower_components/jquery-ui/ui/i18n/datepicker-is.js +29 -21
  804. package/bower_components/jquery-ui/ui/i18n/datepicker-it-CH.js +21 -21
  805. package/bower_components/jquery-ui/ui/i18n/datepicker-it.js +21 -21
  806. package/bower_components/jquery-ui/ui/i18n/datepicker-ja.js +21 -21
  807. package/bower_components/jquery-ui/ui/i18n/datepicker-ka.js +32 -19
  808. package/bower_components/jquery-ui/ui/i18n/datepicker-kk.js +21 -21
  809. package/bower_components/jquery-ui/ui/i18n/datepicker-km.js +21 -21
  810. package/bower_components/jquery-ui/ui/i18n/datepicker-ko.js +22 -22
  811. package/bower_components/jquery-ui/ui/i18n/datepicker-ky.js +21 -21
  812. package/bower_components/jquery-ui/ui/i18n/datepicker-lb.js +29 -21
  813. package/bower_components/jquery-ui/ui/i18n/datepicker-lt.js +29 -21
  814. package/bower_components/jquery-ui/ui/i18n/datepicker-lv.js +29 -21
  815. package/bower_components/jquery-ui/ui/i18n/datepicker-mk.js +21 -21
  816. package/bower_components/jquery-ui/ui/i18n/datepicker-ml.js +21 -21
  817. package/bower_components/jquery-ui/ui/i18n/datepicker-ms.js +21 -21
  818. package/bower_components/jquery-ui/ui/i18n/datepicker-nb.js +32 -19
  819. package/bower_components/jquery-ui/ui/i18n/datepicker-nl-BE.js +21 -21
  820. package/bower_components/jquery-ui/ui/i18n/datepicker-nl.js +19 -19
  821. package/bower_components/jquery-ui/ui/i18n/datepicker-nn.js +32 -19
  822. package/bower_components/jquery-ui/ui/i18n/datepicker-no.js +32 -19
  823. package/bower_components/jquery-ui/ui/i18n/datepicker-pl.js +21 -21
  824. package/bower_components/jquery-ui/ui/i18n/datepicker-pt-BR.js +29 -21
  825. package/bower_components/jquery-ui/ui/i18n/datepicker-pt.js +29 -21
  826. package/bower_components/jquery-ui/ui/i18n/datepicker-rm.js +45 -19
  827. package/bower_components/jquery-ui/ui/i18n/datepicker-ro.js +21 -21
  828. package/bower_components/jquery-ui/ui/i18n/datepicker-ru.js +21 -21
  829. package/bower_components/jquery-ui/ui/i18n/datepicker-sk.js +21 -21
  830. package/bower_components/jquery-ui/ui/i18n/datepicker-sl.js +21 -21
  831. package/bower_components/jquery-ui/ui/i18n/datepicker-sq.js +21 -21
  832. package/bower_components/jquery-ui/ui/i18n/datepicker-sr-SR.js +21 -21
  833. package/bower_components/jquery-ui/ui/i18n/datepicker-sr.js +21 -21
  834. package/bower_components/jquery-ui/ui/i18n/datepicker-sv.js +21 -21
  835. package/bower_components/jquery-ui/ui/i18n/datepicker-ta.js +37 -21
  836. package/bower_components/jquery-ui/ui/i18n/datepicker-th.js +21 -21
  837. package/bower_components/jquery-ui/ui/i18n/datepicker-tj.js +21 -21
  838. package/bower_components/jquery-ui/ui/i18n/datepicker-tr.js +21 -21
  839. package/bower_components/jquery-ui/ui/i18n/datepicker-uk.js +21 -21
  840. package/bower_components/jquery-ui/ui/i18n/datepicker-vi.js +21 -21
  841. package/bower_components/jquery-ui/ui/i18n/datepicker-zh-CN.js +21 -21
  842. package/bower_components/jquery-ui/ui/i18n/datepicker-zh-HK.js +21 -21
  843. package/bower_components/jquery-ui/ui/i18n/datepicker-zh-TW.js +21 -21
  844. package/bower_components/jquery-ui/ui/ie.js +15 -0
  845. package/bower_components/jquery-ui/ui/jquery-1-7.js +89 -0
  846. package/bower_components/jquery-ui/ui/keycode.js +45 -0
  847. package/bower_components/jquery-ui/ui/labels.js +62 -0
  848. package/bower_components/jquery-ui/ui/minified/core.js +4 -0
  849. package/bower_components/jquery-ui/ui/minified/data.js +4 -0
  850. package/bower_components/jquery-ui/ui/minified/disable-selection.js +4 -0
  851. package/bower_components/jquery-ui/ui/minified/effect.js +4 -0
  852. package/bower_components/jquery-ui/ui/minified/escape-selector.js +4 -0
  853. package/bower_components/jquery-ui/ui/minified/focusable.js +4 -0
  854. package/bower_components/jquery-ui/ui/minified/form-reset-mixin.js +4 -0
  855. package/bower_components/jquery-ui/ui/minified/form.js +4 -0
  856. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-af.js +4 -0
  857. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ar-DZ.js +4 -0
  858. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ar.js +4 -0
  859. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-az.js +4 -0
  860. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-be.js +4 -0
  861. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-bg.js +4 -0
  862. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-bs.js +4 -0
  863. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ca.js +4 -0
  864. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-cs.js +4 -0
  865. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-cy-GB.js +4 -0
  866. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-da.js +4 -0
  867. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-de.js +4 -0
  868. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-el.js +4 -0
  869. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-AU.js +4 -0
  870. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-GB.js +4 -0
  871. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-NZ.js +4 -0
  872. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-eo.js +4 -0
  873. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-es.js +4 -0
  874. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-et.js +4 -0
  875. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-eu.js +4 -0
  876. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fa.js +4 -0
  877. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fi.js +4 -0
  878. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fo.js +4 -0
  879. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr-CA.js +4 -0
  880. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr-CH.js +4 -0
  881. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr.js +4 -0
  882. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-gl.js +4 -0
  883. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-he.js +4 -0
  884. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-hi.js +4 -0
  885. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-hr.js +4 -0
  886. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-hu.js +4 -0
  887. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-hy.js +4 -0
  888. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-id.js +4 -0
  889. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-is.js +4 -0
  890. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-it-CH.js +4 -0
  891. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-it.js +4 -0
  892. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ja.js +4 -0
  893. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ka.js +4 -0
  894. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-kk.js +4 -0
  895. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-km.js +4 -0
  896. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ko.js +4 -0
  897. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ky.js +4 -0
  898. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-lb.js +4 -0
  899. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-lt.js +4 -0
  900. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-lv.js +4 -0
  901. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-mk.js +4 -0
  902. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ml.js +4 -0
  903. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ms.js +4 -0
  904. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-nb.js +4 -0
  905. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-nl-BE.js +4 -0
  906. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-nl.js +4 -0
  907. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-nn.js +4 -0
  908. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-no.js +4 -0
  909. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-pl.js +4 -0
  910. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-pt-BR.js +4 -0
  911. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-pt.js +4 -0
  912. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-rm.js +4 -0
  913. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ro.js +4 -0
  914. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ru.js +4 -0
  915. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sk.js +4 -0
  916. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sl.js +4 -0
  917. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sq.js +4 -0
  918. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sr-SR.js +4 -0
  919. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sr.js +4 -0
  920. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sv.js +4 -0
  921. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ta.js +4 -0
  922. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-th.js +4 -0
  923. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-tj.js +4 -0
  924. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-tr.js +4 -0
  925. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-uk.js +4 -0
  926. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-vi.js +4 -0
  927. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-CN.js +4 -0
  928. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-HK.js +4 -0
  929. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-TW.js +4 -0
  930. package/bower_components/jquery-ui/ui/minified/ie.js +4 -0
  931. package/bower_components/jquery-ui/ui/minified/jquery-1-7.js +4 -0
  932. package/bower_components/jquery-ui/ui/minified/keycode.js +4 -0
  933. package/bower_components/jquery-ui/ui/minified/labels.js +4 -0
  934. package/bower_components/jquery-ui/ui/minified/plugin.js +4 -0
  935. package/bower_components/jquery-ui/ui/minified/position.js +4 -0
  936. package/bower_components/jquery-ui/ui/minified/safe-active-element.js +4 -0
  937. package/bower_components/jquery-ui/ui/minified/safe-blur.js +4 -0
  938. package/bower_components/jquery-ui/ui/minified/scroll-parent.js +4 -0
  939. package/bower_components/jquery-ui/ui/minified/tabbable.js +4 -0
  940. package/bower_components/jquery-ui/ui/minified/unique-id.js +4 -0
  941. package/bower_components/jquery-ui/ui/minified/version.js +4 -0
  942. package/bower_components/jquery-ui/ui/minified/widget.js +4 -0
  943. package/bower_components/jquery-ui/ui/plugin.js +44 -0
  944. package/bower_components/jquery-ui/ui/position.js +90 -109
  945. package/bower_components/jquery-ui/ui/safe-active-element.js +40 -0
  946. package/bower_components/jquery-ui/ui/safe-blur.js +21 -0
  947. package/bower_components/jquery-ui/ui/scroll-parent.js +45 -0
  948. package/bower_components/jquery-ui/ui/tabbable.js +35 -0
  949. package/bower_components/jquery-ui/ui/unique-id.js +49 -0
  950. package/bower_components/jquery-ui/ui/version.js +17 -0
  951. package/bower_components/jquery-ui/ui/widget.js +326 -151
  952. package/bower_components/jquery-ui/ui/{accordion.js → widgets/accordion.js} +184 -161
  953. package/bower_components/jquery-ui/ui/{autocomplete.js → widgets/autocomplete.js} +143 -89
  954. package/bower_components/jquery-ui/ui/widgets/button.js +386 -0
  955. package/bower_components/jquery-ui/ui/widgets/checkboxradio.js +286 -0
  956. package/bower_components/jquery-ui/ui/widgets/controlgroup.js +298 -0
  957. package/bower_components/jquery-ui/ui/widgets/datepicker.js +2120 -0
  958. package/bower_components/jquery-ui/ui/{dialog.js → widgets/dialog.js} +217 -153
  959. package/bower_components/jquery-ui/ui/{draggable.js → widgets/draggable.js} +409 -291
  960. package/bower_components/jquery-ui/ui/{droppable.js → widgets/droppable.js} +164 -80
  961. package/bower_components/jquery-ui/ui/{menu.js → widgets/menu.js} +159 -132
  962. package/bower_components/jquery-ui/ui/widgets/mouse.js +226 -0
  963. package/bower_components/jquery-ui/ui/{progressbar.js → widgets/progressbar.js} +59 -40
  964. package/bower_components/jquery-ui/ui/{resizable.js → widgets/resizable.js} +409 -360
  965. package/bower_components/jquery-ui/ui/widgets/selectable.js +310 -0
  966. package/bower_components/jquery-ui/ui/{selectmenu.js → widgets/selectmenu.js} +245 -173
  967. package/bower_components/jquery-ui/ui/{slider.js → widgets/slider.js} +190 -155
  968. package/bower_components/jquery-ui/ui/widgets/sortable.js +1554 -0
  969. package/bower_components/jquery-ui/ui/{spinner.js → widgets/spinner.js} +171 -110
  970. package/bower_components/jquery-ui/ui/{tabs.js → widgets/tabs.js} +232 -194
  971. package/bower_components/jquery-ui/ui/{tooltip.js → widgets/tooltip.js} +132 -85
  972. package/bower_components/raphael/.bower.json +6 -7
  973. package/bower_components/raphael/bower.json +2 -3
  974. package/bower_components/raphael/dev/banner.txt +1 -1
  975. package/bower_components/raphael/dev/raphael.core.js +16 -5
  976. package/bower_components/raphael/dev/raphael.svg.js +6 -6
  977. package/bower_components/raphael/dev/test/svg/dom.js +246 -247
  978. package/bower_components/raphael/dev/test/vml/dom.js +1 -1
  979. package/bower_components/raphael/raphael.js +8396 -8311
  980. package/bower_components/raphael/raphael.min.js +1 -3
  981. package/bower_components/raphael/raphael.no-deps.js +7969 -7885
  982. package/bower_components/raphael/raphael.no-deps.min.js +1 -3
  983. package/bower_components/raphael/webpack.config.js +34 -58
  984. package/bower_components/raphael/yarn.lock +2315 -1435
  985. package/bower_components/seiyria-bootstrap-slider/.bower.json +36 -0
  986. package/bower_components/seiyria-bootstrap-slider/CHANGELOG.md +333 -0
  987. package/bower_components/seiyria-bootstrap-slider/Gruntfile.js +316 -0
  988. package/bower_components/seiyria-bootstrap-slider/LICENSE.md +24 -0
  989. package/bower_components/seiyria-bootstrap-slider/README.md +312 -0
  990. package/bower_components/seiyria-bootstrap-slider/bower.json +26 -0
  991. package/bower_components/seiyria-bootstrap-slider/dependencies/css/highlightjs-github-theme.css +1 -0
  992. package/bower_components/seiyria-bootstrap-slider/dependencies/js/highlight.min.js +3 -0
  993. package/bower_components/seiyria-bootstrap-slider/dependencies/js/jquery.min.js +5 -0
  994. package/bower_components/seiyria-bootstrap-slider/dependencies/js/modernizr.js +1406 -0
  995. package/bower_components/seiyria-bootstrap-slider/dist/bootstrap-slider.js +2061 -0
  996. package/bower_components/seiyria-bootstrap-slider/dist/bootstrap-slider.min.js +5 -0
  997. package/bower_components/seiyria-bootstrap-slider/dist/css/bootstrap-slider.css +328 -0
  998. package/bower_components/seiyria-bootstrap-slider/dist/css/bootstrap-slider.min.css +41 -0
  999. package/bower_components/seiyria-bootstrap-slider/package.json +101 -0
  1000. package/bower_components/seiyria-bootstrap-slider/scripts/build-preview.sh +16 -0
  1001. package/bower_components/seiyria-bootstrap-slider/scripts/release.sh +53 -0
  1002. package/bower_components/seiyria-bootstrap-slider/scripts/update-gh-pages.sh +32 -0
  1003. package/bower_components/seiyria-bootstrap-slider/src/js/bootstrap-slider.js +2116 -0
  1004. package/bower_components/seiyria-bootstrap-slider/src/less/bootstrap-slider.less +44 -0
  1005. package/bower_components/seiyria-bootstrap-slider/src/less/rules.less +251 -0
  1006. package/bower_components/seiyria-bootstrap-slider/src/less/variables.less +22 -0
  1007. package/bower_components/seiyria-bootstrap-slider/src/sass/_mixins.scss +25 -0
  1008. package/bower_components/seiyria-bootstrap-slider/src/sass/_rules.scss +251 -0
  1009. package/bower_components/seiyria-bootstrap-slider/src/sass/_variables.scss +28 -0
  1010. package/bower_components/seiyria-bootstrap-slider/src/sass/bootstrap-slider.scss +42 -0
  1011. package/bower_components/seiyria-bootstrap-slider/test/phantom_bind_polyfill.js +41 -0
  1012. package/bower_components/seiyria-bootstrap-slider/test/specs/AccessibilitySpec.js +67 -0
  1013. package/bower_components/seiyria-bootstrap-slider/test/specs/AriaValueTextFormatterSpec.js +114 -0
  1014. package/bower_components/seiyria-bootstrap-slider/test/specs/AutoRegisterDataProvideSpec.js +21 -0
  1015. package/bower_components/seiyria-bootstrap-slider/test/specs/ConflictingOptionsSpec.js +73 -0
  1016. package/bower_components/seiyria-bootstrap-slider/test/specs/DestroyMethodTests.js +416 -0
  1017. package/bower_components/seiyria-bootstrap-slider/test/specs/DraggingHandlesSpec.js +293 -0
  1018. package/bower_components/seiyria-bootstrap-slider/test/specs/ElementDataAttributesSpec.js +211 -0
  1019. package/bower_components/seiyria-bootstrap-slider/test/specs/EventsSpec.js +493 -0
  1020. package/bower_components/seiyria-bootstrap-slider/test/specs/FocusOptionSpec.js +67 -0
  1021. package/bower_components/seiyria-bootstrap-slider/test/specs/KeyboardSupportSpec.js +768 -0
  1022. package/bower_components/seiyria-bootstrap-slider/test/specs/LockToTicksSpec.js +699 -0
  1023. package/bower_components/seiyria-bootstrap-slider/test/specs/LogarithmicScaleSpec.js +92 -0
  1024. package/bower_components/seiyria-bootstrap-slider/test/specs/LowAndHighTrackSpec.js +224 -0
  1025. package/bower_components/seiyria-bootstrap-slider/test/specs/NamespaceSpec.js +74 -0
  1026. package/bower_components/seiyria-bootstrap-slider/test/specs/OrientationSpec.js +75 -0
  1027. package/bower_components/seiyria-bootstrap-slider/test/specs/PublicMethodsSpec.js +660 -0
  1028. package/bower_components/seiyria-bootstrap-slider/test/specs/RangeHighlightsSpec.js +224 -0
  1029. package/bower_components/seiyria-bootstrap-slider/test/specs/RefreshMethodSpec.js +122 -0
  1030. package/bower_components/seiyria-bootstrap-slider/test/specs/ResizeSpec.js +70 -0
  1031. package/bower_components/seiyria-bootstrap-slider/test/specs/RtlOptionsSpec.js +81 -0
  1032. package/bower_components/seiyria-bootstrap-slider/test/specs/ScrollableBodySpec.js +150 -0
  1033. package/bower_components/seiyria-bootstrap-slider/test/specs/ScrollableContainerSpec.js +85 -0
  1034. package/bower_components/seiyria-bootstrap-slider/test/specs/StepReachMaxValueSpec.js +61 -0
  1035. package/bower_components/seiyria-bootstrap-slider/test/specs/TickClickingBehaviorSpec.js +108 -0
  1036. package/bower_components/seiyria-bootstrap-slider/test/specs/TickLabelSpec.js +253 -0
  1037. package/bower_components/seiyria-bootstrap-slider/test/specs/TickMarksSpec.js +247 -0
  1038. package/bower_components/seiyria-bootstrap-slider/test/specs/TooltipMouseOverOptionSpec.js +445 -0
  1039. package/bower_components/seiyria-bootstrap-slider/test/specs/TooltipPositionOptionSpec.js +194 -0
  1040. package/bower_components/seiyria-bootstrap-slider/test/specs/TooltipSplitOptionSpec.js +71 -0
  1041. package/bower_components/seiyria-bootstrap-slider/test/specs/TouchCapableSpec.js +571 -0
  1042. package/bower_components/seiyria-bootstrap-slider/test/specs/offMethodSpec.js +33 -0
  1043. package/bower_components/seiyria-bootstrap-slider/tpl/SpecRunner.tpl +147 -0
  1044. package/bower_components/seiyria-bootstrap-slider/tpl/index.tpl +1531 -0
  1045. package/bower_components/select2/CHANGELOG.md +73 -0
  1046. package/bower_components/select2/README.md +14 -10
  1047. package/bower_components/select2/dist/css/select2.css +6 -10
  1048. package/bower_components/select2/dist/css/select2.min.css +1 -1
  1049. package/bower_components/select2/dist/js/i18n/af.js +2 -2
  1050. package/bower_components/select2/dist/js/i18n/ar.js +2 -2
  1051. package/bower_components/select2/dist/js/i18n/az.js +2 -2
  1052. package/bower_components/select2/dist/js/i18n/bg.js +2 -2
  1053. package/bower_components/select2/dist/js/i18n/bn.js +3 -0
  1054. package/bower_components/select2/dist/js/i18n/bs.js +2 -2
  1055. package/bower_components/select2/dist/js/i18n/ca.js +2 -2
  1056. package/bower_components/select2/dist/js/i18n/cs.js +2 -2
  1057. package/bower_components/select2/dist/js/i18n/da.js +2 -2
  1058. package/bower_components/select2/dist/js/i18n/de.js +2 -2
  1059. package/bower_components/select2/dist/js/i18n/dsb.js +2 -2
  1060. package/bower_components/select2/dist/js/i18n/el.js +2 -2
  1061. package/bower_components/select2/dist/js/i18n/en.js +2 -2
  1062. package/bower_components/select2/dist/js/i18n/es.js +2 -2
  1063. package/bower_components/select2/dist/js/i18n/et.js +2 -2
  1064. package/bower_components/select2/dist/js/i18n/eu.js +2 -2
  1065. package/bower_components/select2/dist/js/i18n/fa.js +2 -2
  1066. package/bower_components/select2/dist/js/i18n/fi.js +2 -2
  1067. package/bower_components/select2/dist/js/i18n/fr.js +2 -2
  1068. package/bower_components/select2/dist/js/i18n/gl.js +2 -2
  1069. package/bower_components/select2/dist/js/i18n/he.js +2 -2
  1070. package/bower_components/select2/dist/js/i18n/hi.js +2 -2
  1071. package/bower_components/select2/dist/js/i18n/hr.js +2 -2
  1072. package/bower_components/select2/dist/js/i18n/hsb.js +2 -2
  1073. package/bower_components/select2/dist/js/i18n/hu.js +2 -2
  1074. package/bower_components/select2/dist/js/i18n/hy.js +2 -2
  1075. package/bower_components/select2/dist/js/i18n/id.js +2 -2
  1076. package/bower_components/select2/dist/js/i18n/is.js +2 -2
  1077. package/bower_components/select2/dist/js/i18n/it.js +2 -2
  1078. package/bower_components/select2/dist/js/i18n/ja.js +2 -2
  1079. package/bower_components/select2/dist/js/i18n/ka.js +3 -0
  1080. package/bower_components/select2/dist/js/i18n/km.js +2 -2
  1081. package/bower_components/select2/dist/js/i18n/ko.js +2 -2
  1082. package/bower_components/select2/dist/js/i18n/lt.js +2 -2
  1083. package/bower_components/select2/dist/js/i18n/lv.js +2 -2
  1084. package/bower_components/select2/dist/js/i18n/mk.js +2 -2
  1085. package/bower_components/select2/dist/js/i18n/ms.js +2 -2
  1086. package/bower_components/select2/dist/js/i18n/nb.js +2 -2
  1087. package/bower_components/select2/dist/js/i18n/ne.js +3 -0
  1088. package/bower_components/select2/dist/js/i18n/nl.js +2 -2
  1089. package/bower_components/select2/dist/js/i18n/pl.js +2 -2
  1090. package/bower_components/select2/dist/js/i18n/ps.js +2 -2
  1091. package/bower_components/select2/dist/js/i18n/pt-BR.js +2 -2
  1092. package/bower_components/select2/dist/js/i18n/pt.js +2 -2
  1093. package/bower_components/select2/dist/js/i18n/ro.js +2 -2
  1094. package/bower_components/select2/dist/js/i18n/ru.js +2 -2
  1095. package/bower_components/select2/dist/js/i18n/sk.js +2 -2
  1096. package/bower_components/select2/dist/js/i18n/sl.js +2 -2
  1097. package/bower_components/select2/dist/js/i18n/sq.js +3 -0
  1098. package/bower_components/select2/dist/js/i18n/sr-Cyrl.js +2 -2
  1099. package/bower_components/select2/dist/js/i18n/sr.js +2 -2
  1100. package/bower_components/select2/dist/js/i18n/sv.js +2 -2
  1101. package/bower_components/select2/dist/js/i18n/th.js +2 -2
  1102. package/bower_components/select2/dist/js/i18n/tk.js +3 -0
  1103. package/bower_components/select2/dist/js/i18n/tr.js +2 -2
  1104. package/bower_components/select2/dist/js/i18n/uk.js +2 -2
  1105. package/bower_components/select2/dist/js/i18n/vi.js +2 -2
  1106. package/bower_components/select2/dist/js/i18n/zh-CN.js +2 -2
  1107. package/bower_components/select2/dist/js/i18n/zh-TW.js +2 -2
  1108. package/bower_components/select2/dist/js/select2.full.js +248 -102
  1109. package/bower_components/select2/dist/js/select2.full.min.js +2 -1
  1110. package/bower_components/select2/dist/js/select2.js +244 -99
  1111. package/bower_components/select2/dist/js/select2.min.js +2 -1
  1112. package/bower_components/select2/src/js/jquery.select2.js +4 -3
  1113. package/bower_components/select2/src/js/select2/compat/inputData.js +4 -3
  1114. package/bower_components/select2/src/js/select2/core.js +18 -6
  1115. package/bower_components/select2/src/js/select2/data/ajax.js +2 -1
  1116. package/bower_components/select2/src/js/select2/data/select.js +5 -5
  1117. package/bower_components/select2/src/js/select2/data/tokenizer.js +1 -1
  1118. package/bower_components/select2/src/js/select2/defaults.js +2 -1
  1119. package/bower_components/select2/src/js/select2/diacritics.js +5 -2
  1120. package/bower_components/select2/src/js/select2/dropdown/attachBody.js +4 -4
  1121. package/bower_components/select2/src/js/select2/dropdown/closeOnSelect.js +1 -1
  1122. package/bower_components/select2/src/js/select2/dropdown/infiniteScroll.js +19 -16
  1123. package/bower_components/select2/src/js/select2/dropdown/search.js +4 -3
  1124. package/bower_components/select2/src/js/select2/dropdown/selectOnClose.js +3 -3
  1125. package/bower_components/select2/src/js/select2/dropdown.js +1 -1
  1126. package/bower_components/select2/src/js/select2/i18n/af.js +3 -0
  1127. package/bower_components/select2/src/js/select2/i18n/ar.js +3 -0
  1128. package/bower_components/select2/src/js/select2/i18n/az.js +3 -0
  1129. package/bower_components/select2/src/js/select2/i18n/bg.js +3 -0
  1130. package/bower_components/select2/src/js/select2/i18n/bn.js +45 -0
  1131. package/bower_components/select2/src/js/select2/i18n/bs.js +3 -0
  1132. package/bower_components/select2/src/js/select2/i18n/ca.js +3 -0
  1133. package/bower_components/select2/src/js/select2/i18n/cs.js +3 -0
  1134. package/bower_components/select2/src/js/select2/i18n/da.js +3 -0
  1135. package/bower_components/select2/src/js/select2/i18n/de.js +3 -0
  1136. package/bower_components/select2/src/js/select2/i18n/dsb.js +4 -0
  1137. package/bower_components/select2/src/js/select2/i18n/el.js +3 -0
  1138. package/bower_components/select2/src/js/select2/i18n/en.js +3 -0
  1139. package/bower_components/select2/src/js/select2/i18n/es.js +3 -0
  1140. package/bower_components/select2/src/js/select2/i18n/et.js +3 -0
  1141. package/bower_components/select2/src/js/select2/i18n/eu.js +3 -0
  1142. package/bower_components/select2/src/js/select2/i18n/fa.js +3 -0
  1143. package/bower_components/select2/src/js/select2/i18n/fi.js +3 -0
  1144. package/bower_components/select2/src/js/select2/i18n/fr.js +6 -3
  1145. package/bower_components/select2/src/js/select2/i18n/gl.js +3 -0
  1146. package/bower_components/select2/src/js/select2/i18n/he.js +3 -0
  1147. package/bower_components/select2/src/js/select2/i18n/hi.js +3 -0
  1148. package/bower_components/select2/src/js/select2/i18n/hr.js +3 -0
  1149. package/bower_components/select2/src/js/select2/i18n/hsb.js +4 -0
  1150. package/bower_components/select2/src/js/select2/i18n/hu.js +3 -0
  1151. package/bower_components/select2/src/js/select2/i18n/hy.js +3 -0
  1152. package/bower_components/select2/src/js/select2/i18n/id.js +3 -0
  1153. package/bower_components/select2/src/js/select2/i18n/is.js +3 -0
  1154. package/bower_components/select2/src/js/select2/i18n/it.js +3 -0
  1155. package/bower_components/select2/src/js/select2/i18n/ja.js +3 -0
  1156. package/bower_components/select2/src/js/select2/i18n/ka.js +40 -0
  1157. package/bower_components/select2/src/js/select2/i18n/km.js +3 -0
  1158. package/bower_components/select2/src/js/select2/i18n/ko.js +3 -0
  1159. package/bower_components/select2/src/js/select2/i18n/lt.js +3 -0
  1160. package/bower_components/select2/src/js/select2/i18n/lv.js +3 -0
  1161. package/bower_components/select2/src/js/select2/i18n/mk.js +3 -0
  1162. package/bower_components/select2/src/js/select2/i18n/ms.js +3 -0
  1163. package/bower_components/select2/src/js/select2/i18n/nb.js +4 -3
  1164. package/bower_components/select2/src/js/select2/i18n/ne.js +47 -0
  1165. package/bower_components/select2/src/js/select2/i18n/nl.js +3 -0
  1166. package/bower_components/select2/src/js/select2/i18n/pl.js +3 -0
  1167. package/bower_components/select2/src/js/select2/i18n/ps.js +3 -0
  1168. package/bower_components/select2/src/js/select2/i18n/pt-BR.js +3 -0
  1169. package/bower_components/select2/src/js/select2/i18n/pt.js +3 -0
  1170. package/bower_components/select2/src/js/select2/i18n/ro.js +3 -0
  1171. package/bower_components/select2/src/js/select2/i18n/ru.js +4 -1
  1172. package/bower_components/select2/src/js/select2/i18n/sk.js +3 -0
  1173. package/bower_components/select2/src/js/select2/i18n/sl.js +3 -0
  1174. package/bower_components/select2/src/js/select2/i18n/sq.js +48 -0
  1175. package/bower_components/select2/src/js/select2/i18n/sr-Cyrl.js +3 -0
  1176. package/bower_components/select2/src/js/select2/i18n/sr.js +3 -0
  1177. package/bower_components/select2/src/js/select2/i18n/sv.js +3 -0
  1178. package/bower_components/select2/src/js/select2/i18n/th.js +3 -0
  1179. package/bower_components/select2/src/js/select2/i18n/tk.js +40 -0
  1180. package/bower_components/select2/src/js/select2/i18n/tr.js +3 -0
  1181. package/bower_components/select2/src/js/select2/i18n/uk.js +4 -1
  1182. package/bower_components/select2/src/js/select2/i18n/vi.js +6 -6
  1183. package/bower_components/select2/src/js/select2/i18n/zh-CN.js +3 -0
  1184. package/bower_components/select2/src/js/select2/i18n/zh-TW.js +3 -0
  1185. package/bower_components/select2/src/js/select2/options.js +34 -10
  1186. package/bower_components/select2/src/js/select2/results.js +22 -10
  1187. package/bower_components/select2/src/js/select2/selection/allowClear.js +23 -7
  1188. package/bower_components/select2/src/js/select2/selection/base.js +4 -4
  1189. package/bower_components/select2/src/js/select2/selection/eventRelay.js +5 -2
  1190. package/bower_components/select2/src/js/select2/selection/multiple.js +6 -4
  1191. package/bower_components/select2/src/js/select2/selection/search.js +2 -2
  1192. package/bower_components/select2/src/js/select2/selection/single.js +9 -8
  1193. package/bower_components/select2/src/js/select2/utils.js +65 -3
  1194. package/bower_components/select2/src/js/wrapper.start.js +1 -1
  1195. package/bower_components/select2/src/scss/core.scss +3 -1
  1196. package/bower_components/select2/src/scss/theme/classic/_multiple.scss +0 -3
  1197. package/bower_components/select2/src/scss/theme/default/_multiple.scss +1 -9
  1198. package/build/js/ControlSidebar.js +16 -5
  1199. package/build/js/Layout.js +9 -5
  1200. package/build/js/Tree.js +6 -2
  1201. package/build/less/AdminLTE-without-plugins.less +1 -1
  1202. package/build/less/AdminLTE.less +1 -1
  1203. package/build/less/boxes.less +3 -3
  1204. package/build/less/control-sidebar.less +8 -0
  1205. package/build/less/core.less +7 -1
  1206. package/build/less/header.less +41 -0
  1207. package/build/less/miscellaneous.less +26 -0
  1208. package/build/less/sidebar-mini.less +1 -0
  1209. package/dist/css/AdminLTE.css +725 -161
  1210. package/dist/css/AdminLTE.min.css +2 -2
  1211. package/dist/css/alt/AdminLTE-bootstrap-social.css +600 -100
  1212. package/dist/css/alt/AdminLTE-bootstrap-social.min.css +1 -1
  1213. package/dist/css/alt/AdminLTE-without-plugins.css +125 -61
  1214. package/dist/css/alt/AdminLTE-without-plugins.min.css +2 -2
  1215. package/dist/js/adminlte.js +32 -13
  1216. package/dist/js/adminlte.min.js +2 -2
  1217. package/index.html +2 -2
  1218. package/index2.html +2 -2
  1219. package/package.json +25 -26
  1220. package/pages/UI/buttons.html +2 -2
  1221. package/pages/UI/general.html +2 -2
  1222. package/pages/UI/icons.html +2 -2
  1223. package/pages/UI/modals.html +2 -2
  1224. package/pages/UI/sliders.html +4 -4
  1225. package/pages/UI/timeline.html +2 -2
  1226. package/pages/calendar.html +2 -2
  1227. package/pages/charts/chartjs.html +2 -2
  1228. package/pages/charts/flot.html +2 -2
  1229. package/pages/charts/inline.html +2 -2
  1230. package/pages/charts/morris.html +2 -2
  1231. package/pages/examples/404.html +2 -2
  1232. package/pages/examples/500.html +2 -2
  1233. package/pages/examples/blank.html +3 -4
  1234. package/pages/examples/invoice.html +2 -2
  1235. package/pages/examples/pace.html +3 -3
  1236. package/pages/examples/profile.html +2 -2
  1237. package/pages/forms/advanced.html +2 -2
  1238. package/pages/forms/editors.html +2 -2
  1239. package/pages/forms/general.html +2 -2
  1240. package/pages/layout/boxed.html +2 -2
  1241. package/pages/layout/collapsed-sidebar.html +2 -2
  1242. package/pages/layout/fixed.html +2 -2
  1243. package/pages/layout/top-nav.html +2 -2
  1244. package/pages/mailbox/compose.html +2 -2
  1245. package/pages/mailbox/mailbox.html +2 -2
  1246. package/pages/mailbox/read-mail.html +2 -2
  1247. package/pages/tables/data.html +2 -2
  1248. package/pages/tables/simple.html +3 -3
  1249. package/pages/widgets.html +2 -2
  1250. package/plugins/seiyria-bootstrap-slider/bootstrap-slider.js +2061 -0
  1251. package/plugins/seiyria-bootstrap-slider/bootstrap-slider.min.js +5 -0
  1252. package/plugins/seiyria-bootstrap-slider/css/bootstrap-slider.css +328 -0
  1253. package/plugins/seiyria-bootstrap-slider/css/bootstrap-slider.min.css +41 -0
  1254. package/{testing.html → test.html} +2 -12
  1255. package/bower_components/bootstrap-slider/.bower.json +0 -33
  1256. package/bower_components/bootstrap-slider/README.md +0 -26
  1257. package/bower_components/bootstrap-slider/bootstrap-slider.js +0 -427
  1258. package/bower_components/bootstrap-slider/bower.json +0 -22
  1259. package/bower_components/bootstrap-slider/locks.png +0 -0
  1260. package/bower_components/bootstrap-slider/slider.css +0 -178
  1261. package/bower_components/bootstrap-timepicker/.bower.json +0 -45
  1262. package/bower_components/bootstrap-timepicker/CHANGELOG.md +0 -56
  1263. package/bower_components/bootstrap-timepicker/LICENSE +0 -20
  1264. package/bower_components/bootstrap-timepicker/README.md +0 -73
  1265. package/bower_components/bootstrap-timepicker/bower.json +0 -35
  1266. package/bower_components/bootstrap-timepicker/css/timepicker.less +0 -172
  1267. package/bower_components/bootstrap-timepicker/js/bootstrap-timepicker.js +0 -1177
  1268. package/bower_components/chart.js/.travis.yml +0 -13
  1269. package/bower_components/chart.js/CONTRIBUTING.md +0 -55
  1270. package/bower_components/chart.js/Chart.min.js +0 -11
  1271. package/bower_components/chart.js/LICENSE.md +0 -7
  1272. package/bower_components/chart.js/README.md +0 -20
  1273. package/bower_components/chart.js/docs/00-Getting-Started.md +0 -203
  1274. package/bower_components/chart.js/docs/01-Line-Chart.md +0 -166
  1275. package/bower_components/chart.js/docs/02-Bar-Chart.md +0 -149
  1276. package/bower_components/chart.js/docs/03-Radar-Chart.md +0 -177
  1277. package/bower_components/chart.js/docs/04-Polar-Area-Chart.md +0 -172
  1278. package/bower_components/chart.js/docs/05-Pie-Doughnut-Chart.md +0 -158
  1279. package/bower_components/chart.js/docs/06-Advanced.md +0 -185
  1280. package/bower_components/chart.js/docs/07-Notes.md +0 -42
  1281. package/bower_components/chart.js/gulpfile.js +0 -137
  1282. package/bower_components/chart.js/package.json +0 -28
  1283. package/bower_components/chart.js/samples/bar.html +0 -45
  1284. package/bower_components/chart.js/samples/doughnut.html +0 -67
  1285. package/bower_components/chart.js/samples/line-customTooltips.html +0 -129
  1286. package/bower_components/chart.js/samples/line.html +0 -54
  1287. package/bower_components/chart.js/samples/pie-customTooltips.html +0 -156
  1288. package/bower_components/chart.js/samples/pie.html +0 -58
  1289. package/bower_components/chart.js/samples/polar-area.html +0 -60
  1290. package/bower_components/chart.js/samples/radar.html +0 -53
  1291. package/bower_components/chart.js/src/Chart.Bar.js +0 -302
  1292. package/bower_components/chart.js/src/Chart.Core.js +0 -2021
  1293. package/bower_components/chart.js/src/Chart.Doughnut.js +0 -184
  1294. package/bower_components/chart.js/src/Chart.Line.js +0 -374
  1295. package/bower_components/chart.js/src/Chart.PolarArea.js +0 -250
  1296. package/bower_components/chart.js/src/Chart.Radar.js +0 -343
  1297. package/bower_components/jquery-ui/AUTHORS.txt +0 -284
  1298. package/bower_components/jquery-ui/LICENSE.txt +0 -44
  1299. package/bower_components/jquery-ui/themes/base/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1300. package/bower_components/jquery-ui/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  1301. package/bower_components/jquery-ui/themes/base/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1302. package/bower_components/jquery-ui/themes/base/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  1303. package/bower_components/jquery-ui/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  1304. package/bower_components/jquery-ui/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1305. package/bower_components/jquery-ui/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  1306. package/bower_components/jquery-ui/themes/base/images/ui-icons_222222_256x240.png +0 -0
  1307. package/bower_components/jquery-ui/themes/base/images/ui-icons_2e83ff_256x240.png +0 -0
  1308. package/bower_components/jquery-ui/themes/base/images/ui-icons_454545_256x240.png +0 -0
  1309. package/bower_components/jquery-ui/themes/base/images/ui-icons_888888_256x240.png +0 -0
  1310. package/bower_components/jquery-ui/themes/base/images/ui-icons_cd0a0a_256x240.png +0 -0
  1311. package/bower_components/jquery-ui/themes/black-tie/images/animated-overlay.gif +0 -0
  1312. package/bower_components/jquery-ui/themes/black-tie/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
  1313. package/bower_components/jquery-ui/themes/blitzer/images/animated-overlay.gif +0 -0
  1314. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_0_333333_40x100.png +0 -0
  1315. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_65_ffffff_40x100.png +0 -0
  1316. package/bower_components/jquery-ui/themes/blitzer/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1317. package/bower_components/jquery-ui/themes/cupertino/images/animated-overlay.gif +0 -0
  1318. package/bower_components/jquery-ui/themes/cupertino/images/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  1319. package/bower_components/jquery-ui/themes/dark-hive/images/animated-overlay.gif +0 -0
  1320. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  1321. package/bower_components/jquery-ui/themes/dark-hive/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  1322. package/bower_components/jquery-ui/themes/dot-luv/images/animated-overlay.gif +0 -0
  1323. package/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1324. package/bower_components/jquery-ui/themes/dot-luv/images/ui-bg_flat_40_292929_40x100.png +0 -0
  1325. package/bower_components/jquery-ui/themes/eggplant/images/animated-overlay.gif +0 -0
  1326. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1327. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  1328. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_55_994d53_40x100.png +0 -0
  1329. package/bower_components/jquery-ui/themes/eggplant/images/ui-bg_flat_55_fafafa_40x100.png +0 -0
  1330. package/bower_components/jquery-ui/themes/excite-bike/images/animated-overlay.gif +0 -0
  1331. package/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_flat_0_e69700_40x100.png +0 -0
  1332. package/bower_components/jquery-ui/themes/excite-bike/images/ui-bg_flat_0_e6b900_40x100.png +0 -0
  1333. package/bower_components/jquery-ui/themes/flick/images/animated-overlay.gif +0 -0
  1334. package/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1335. package/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  1336. package/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_55_ffffff_40x100.png +0 -0
  1337. package/bower_components/jquery-ui/themes/flick/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1338. package/bower_components/jquery-ui/themes/hot-sneaks/images/animated-overlay.gif +0 -0
  1339. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_flat_75_ba9217_40x100.png +0 -0
  1340. package/bower_components/jquery-ui/themes/hot-sneaks/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1341. package/bower_components/jquery-ui/themes/humanity/images/animated-overlay.gif +0 -0
  1342. package/bower_components/jquery-ui/themes/humanity/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  1343. package/bower_components/jquery-ui/themes/le-frog/images/animated-overlay.gif +0 -0
  1344. package/bower_components/jquery-ui/themes/mint-choc/images/animated-overlay.gif +0 -0
  1345. package/bower_components/jquery-ui/themes/mint-choc/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1346. package/bower_components/jquery-ui/themes/overcast/images/animated-overlay.gif +0 -0
  1347. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1348. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_0_eeeeee_40x100.png +0 -0
  1349. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_55_c0402a_40x100.png +0 -0
  1350. package/bower_components/jquery-ui/themes/overcast/images/ui-bg_flat_55_eeeeee_40x100.png +0 -0
  1351. package/bower_components/jquery-ui/themes/pepper-grinder/images/animated-overlay.gif +0 -0
  1352. package/bower_components/jquery-ui/themes/redmond/images/animated-overlay.gif +0 -0
  1353. package/bower_components/jquery-ui/themes/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1354. package/bower_components/jquery-ui/themes/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  1355. package/bower_components/jquery-ui/themes/smoothness/images/animated-overlay.gif +0 -0
  1356. package/bower_components/jquery-ui/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1357. package/bower_components/jquery-ui/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1358. package/bower_components/jquery-ui/themes/south-street/images/animated-overlay.gif +0 -0
  1359. package/bower_components/jquery-ui/themes/start/images/animated-overlay.gif +0 -0
  1360. package/bower_components/jquery-ui/themes/start/images/ui-bg_flat_55_999999_40x100.png +0 -0
  1361. package/bower_components/jquery-ui/themes/start/images/ui-bg_flat_75_aaaaaa_40x100.png +0 -0
  1362. package/bower_components/jquery-ui/themes/sunny/images/animated-overlay.gif +0 -0
  1363. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  1364. package/bower_components/jquery-ui/themes/sunny/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  1365. package/bower_components/jquery-ui/themes/swanky-purse/images/animated-overlay.gif +0 -0
  1366. package/bower_components/jquery-ui/themes/swanky-purse/images/ui-bg_flat_75_ddd4b0_40x100.png +0 -0
  1367. package/bower_components/jquery-ui/themes/trontastic/images/animated-overlay.gif +0 -0
  1368. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_flat_0_303030_40x100.png +0 -0
  1369. package/bower_components/jquery-ui/themes/trontastic/images/ui-bg_flat_0_4c4c4c_40x100.png +0 -0
  1370. package/bower_components/jquery-ui/themes/ui-darkness/images/animated-overlay.gif +0 -0
  1371. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_flat_30_cccccc_40x100.png +0 -0
  1372. package/bower_components/jquery-ui/themes/ui-darkness/images/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  1373. package/bower_components/jquery-ui/themes/ui-lightness/images/animated-overlay.gif +0 -0
  1374. package/bower_components/jquery-ui/themes/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  1375. package/bower_components/jquery-ui/themes/vader/images/animated-overlay.gif +0 -0
  1376. package/bower_components/jquery-ui/themes/vader/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1377. package/bower_components/jquery-ui/ui/button.js +0 -411
  1378. package/bower_components/jquery-ui/ui/datepicker.js +0 -2084
  1379. package/bower_components/jquery-ui/ui/effect-blind.js +0 -90
  1380. package/bower_components/jquery-ui/ui/effect-bounce.js +0 -123
  1381. package/bower_components/jquery-ui/ui/effect-clip.js +0 -77
  1382. package/bower_components/jquery-ui/ui/effect-drop.js +0 -75
  1383. package/bower_components/jquery-ui/ui/effect-explode.js +0 -107
  1384. package/bower_components/jquery-ui/ui/effect-fade.js +0 -40
  1385. package/bower_components/jquery-ui/ui/effect-fold.js +0 -86
  1386. package/bower_components/jquery-ui/ui/effect-highlight.js +0 -60
  1387. package/bower_components/jquery-ui/ui/effect-puff.js +0 -60
  1388. package/bower_components/jquery-ui/ui/effect-pulsate.js +0 -73
  1389. package/bower_components/jquery-ui/ui/effect-scale.js +0 -89
  1390. package/bower_components/jquery-ui/ui/effect-shake.js +0 -84
  1391. package/bower_components/jquery-ui/ui/effect-size.js +0 -233
  1392. package/bower_components/jquery-ui/ui/effect-slide.js +0 -74
  1393. package/bower_components/jquery-ui/ui/effect-transfer.js +0 -57
  1394. package/bower_components/jquery-ui/ui/minified/accordion.min.js +0 -4
  1395. package/bower_components/jquery-ui/ui/minified/autocomplete.min.js +0 -4
  1396. package/bower_components/jquery-ui/ui/minified/button.min.js +0 -4
  1397. package/bower_components/jquery-ui/ui/minified/core.min.js +0 -4
  1398. package/bower_components/jquery-ui/ui/minified/datepicker.min.js +0 -5
  1399. package/bower_components/jquery-ui/ui/minified/dialog.min.js +0 -4
  1400. package/bower_components/jquery-ui/ui/minified/draggable.min.js +0 -4
  1401. package/bower_components/jquery-ui/ui/minified/droppable.min.js +0 -4
  1402. package/bower_components/jquery-ui/ui/minified/effect-blind.min.js +0 -4
  1403. package/bower_components/jquery-ui/ui/minified/effect-bounce.min.js +0 -4
  1404. package/bower_components/jquery-ui/ui/minified/effect-clip.min.js +0 -4
  1405. package/bower_components/jquery-ui/ui/minified/effect-drop.min.js +0 -4
  1406. package/bower_components/jquery-ui/ui/minified/effect-explode.min.js +0 -4
  1407. package/bower_components/jquery-ui/ui/minified/effect-fade.min.js +0 -4
  1408. package/bower_components/jquery-ui/ui/minified/effect-fold.min.js +0 -4
  1409. package/bower_components/jquery-ui/ui/minified/effect-highlight.min.js +0 -4
  1410. package/bower_components/jquery-ui/ui/minified/effect-puff.min.js +0 -4
  1411. package/bower_components/jquery-ui/ui/minified/effect-pulsate.min.js +0 -4
  1412. package/bower_components/jquery-ui/ui/minified/effect-scale.min.js +0 -4
  1413. package/bower_components/jquery-ui/ui/minified/effect-shake.min.js +0 -4
  1414. package/bower_components/jquery-ui/ui/minified/effect-size.min.js +0 -4
  1415. package/bower_components/jquery-ui/ui/minified/effect-slide.min.js +0 -4
  1416. package/bower_components/jquery-ui/ui/minified/effect-transfer.min.js +0 -4
  1417. package/bower_components/jquery-ui/ui/minified/effect.min.js +0 -4
  1418. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-af.min.js +0 -4
  1419. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ar-DZ.min.js +0 -4
  1420. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ar.min.js +0 -4
  1421. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-az.min.js +0 -4
  1422. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-be.min.js +0 -4
  1423. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-bg.min.js +0 -4
  1424. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-bs.min.js +0 -4
  1425. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ca.min.js +0 -4
  1426. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-cs.min.js +0 -4
  1427. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-cy-GB.min.js +0 -4
  1428. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-da.min.js +0 -4
  1429. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-de.min.js +0 -4
  1430. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-el.min.js +0 -4
  1431. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-AU.min.js +0 -4
  1432. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-GB.min.js +0 -4
  1433. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-en-NZ.min.js +0 -4
  1434. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-eo.min.js +0 -4
  1435. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-es.min.js +0 -4
  1436. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-et.min.js +0 -4
  1437. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-eu.min.js +0 -4
  1438. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fa.min.js +0 -4
  1439. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fi.min.js +0 -4
  1440. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fo.min.js +0 -4
  1441. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr-CA.min.js +0 -4
  1442. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr-CH.min.js +0 -4
  1443. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-fr.min.js +0 -4
  1444. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-gl.min.js +0 -4
  1445. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-he.min.js +0 -4
  1446. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-hi.min.js +0 -4
  1447. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-hr.min.js +0 -4
  1448. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-hu.min.js +0 -4
  1449. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-hy.min.js +0 -4
  1450. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-id.min.js +0 -4
  1451. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-is.min.js +0 -4
  1452. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-it-CH.min.js +0 -4
  1453. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-it.min.js +0 -4
  1454. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ja.min.js +0 -4
  1455. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ka.min.js +0 -4
  1456. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-kk.min.js +0 -4
  1457. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-km.min.js +0 -4
  1458. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ko.min.js +0 -4
  1459. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ky.min.js +0 -4
  1460. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-lb.min.js +0 -4
  1461. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-lt.min.js +0 -4
  1462. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-lv.min.js +0 -4
  1463. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-mk.min.js +0 -4
  1464. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ml.min.js +0 -4
  1465. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ms.min.js +0 -4
  1466. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-nb.min.js +0 -4
  1467. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-nl-BE.min.js +0 -4
  1468. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-nl.min.js +0 -4
  1469. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-nn.min.js +0 -4
  1470. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-no.min.js +0 -4
  1471. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-pl.min.js +0 -4
  1472. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-pt-BR.min.js +0 -4
  1473. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-pt.min.js +0 -4
  1474. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-rm.min.js +0 -4
  1475. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ro.min.js +0 -4
  1476. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ru.min.js +0 -4
  1477. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sk.min.js +0 -4
  1478. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sl.min.js +0 -4
  1479. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sq.min.js +0 -4
  1480. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sr-SR.min.js +0 -4
  1481. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sr.min.js +0 -4
  1482. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-sv.min.js +0 -4
  1483. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-ta.min.js +0 -4
  1484. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-th.min.js +0 -4
  1485. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-tj.min.js +0 -4
  1486. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-tr.min.js +0 -4
  1487. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-uk.min.js +0 -4
  1488. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-vi.min.js +0 -4
  1489. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-CN.min.js +0 -4
  1490. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-HK.min.js +0 -4
  1491. package/bower_components/jquery-ui/ui/minified/i18n/datepicker-zh-TW.min.js +0 -4
  1492. package/bower_components/jquery-ui/ui/minified/menu.min.js +0 -4
  1493. package/bower_components/jquery-ui/ui/minified/mouse.min.js +0 -4
  1494. package/bower_components/jquery-ui/ui/minified/position.min.js +0 -4
  1495. package/bower_components/jquery-ui/ui/minified/progressbar.min.js +0 -4
  1496. package/bower_components/jquery-ui/ui/minified/resizable.min.js +0 -4
  1497. package/bower_components/jquery-ui/ui/minified/selectable.min.js +0 -4
  1498. package/bower_components/jquery-ui/ui/minified/selectmenu.min.js +0 -4
  1499. package/bower_components/jquery-ui/ui/minified/slider.min.js +0 -4
  1500. package/bower_components/jquery-ui/ui/minified/sortable.min.js +0 -4
  1501. package/bower_components/jquery-ui/ui/minified/spinner.min.js +0 -4
  1502. package/bower_components/jquery-ui/ui/minified/tabs.min.js +0 -4
  1503. package/bower_components/jquery-ui/ui/minified/tooltip.min.js +0 -4
  1504. package/bower_components/jquery-ui/ui/minified/widget.min.js +0 -4
  1505. package/bower_components/jquery-ui/ui/mouse.js +0 -199
  1506. package/bower_components/jquery-ui/ui/selectable.js +0 -287
  1507. package/bower_components/jquery-ui/ui/sortable.js +0 -1315
@@ -1,2021 +0,0 @@
1
- /*!
2
- * Chart.js
3
- * http://chartjs.org/
4
- * Version: {{ version }}
5
- *
6
- * Copyright 2015 Nick Downie
7
- * Released under the MIT license
8
- * https://github.com/nnnick/Chart.js/blob/master/LICENSE.md
9
- */
10
-
11
-
12
- (function(){
13
-
14
- "use strict";
15
-
16
- //Declare root variable - window in the browser, global on the server
17
- var root = this,
18
- previous = root.Chart;
19
-
20
- //Occupy the global variable of Chart, and create a simple base class
21
- var Chart = function(context){
22
- var chart = this;
23
- this.canvas = context.canvas;
24
-
25
- this.ctx = context;
26
-
27
- //Variables global to the chart
28
- var computeDimension = function(element,dimension)
29
- {
30
- if (element['offset'+dimension])
31
- {
32
- return element['offset'+dimension];
33
- }
34
- else
35
- {
36
- return document.defaultView.getComputedStyle(element).getPropertyValue(dimension);
37
- }
38
- }
39
-
40
- var width = this.width = computeDimension(context.canvas,'Width');
41
- var height = this.height = computeDimension(context.canvas,'Height');
42
-
43
- // Firefox requires this to work correctly
44
- context.canvas.width = width;
45
- context.canvas.height = height;
46
-
47
- var width = this.width = context.canvas.width;
48
- var height = this.height = context.canvas.height;
49
- this.aspectRatio = this.width / this.height;
50
- //High pixel density displays - multiply the size of the canvas height/width by the device pixel ratio, then scale.
51
- helpers.retinaScale(this);
52
-
53
- return this;
54
- };
55
- //Globally expose the defaults to allow for user updating/changing
56
- Chart.defaults = {
57
- global: {
58
- // Boolean - Whether to animate the chart
59
- animation: true,
60
-
61
- // Number - Number of animation steps
62
- animationSteps: 60,
63
-
64
- // String - Animation easing effect
65
- animationEasing: "easeOutQuart",
66
-
67
- // Boolean - If we should show the scale at all
68
- showScale: true,
69
-
70
- // Boolean - If we want to override with a hard coded scale
71
- scaleOverride: false,
72
-
73
- // ** Required if scaleOverride is true **
74
- // Number - The number of steps in a hard coded scale
75
- scaleSteps: null,
76
- // Number - The value jump in the hard coded scale
77
- scaleStepWidth: null,
78
- // Number - The scale starting value
79
- scaleStartValue: null,
80
-
81
- // String - Colour of the scale line
82
- scaleLineColor: "rgba(0,0,0,.1)",
83
-
84
- // Number - Pixel width of the scale line
85
- scaleLineWidth: 1,
86
-
87
- // Boolean - Whether to show labels on the scale
88
- scaleShowLabels: true,
89
-
90
- // Interpolated JS string - can access value
91
- scaleLabel: "<%=value%>",
92
-
93
- // Boolean - Whether the scale should stick to integers, and not show any floats even if drawing space is there
94
- scaleIntegersOnly: true,
95
-
96
- // Boolean - Whether the scale should start at zero, or an order of magnitude down from the lowest value
97
- scaleBeginAtZero: false,
98
-
99
- // String - Scale label font declaration for the scale label
100
- scaleFontFamily: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",
101
-
102
- // Number - Scale label font size in pixels
103
- scaleFontSize: 12,
104
-
105
- // String - Scale label font weight style
106
- scaleFontStyle: "normal",
107
-
108
- // String - Scale label font colour
109
- scaleFontColor: "#666",
110
-
111
- // Boolean - whether or not the chart should be responsive and resize when the browser does.
112
- responsive: false,
113
-
114
- // Boolean - whether to maintain the starting aspect ratio or not when responsive, if set to false, will take up entire container
115
- maintainAspectRatio: true,
116
-
117
- // Boolean - Determines whether to draw tooltips on the canvas or not - attaches events to touchmove & mousemove
118
- showTooltips: true,
119
-
120
- // Boolean - Determines whether to draw built-in tooltip or call custom tooltip function
121
- customTooltips: false,
122
-
123
- // Array - Array of string names to attach tooltip events
124
- tooltipEvents: ["mousemove", "touchstart", "touchmove", "mouseout"],
125
-
126
- // String - Tooltip background colour
127
- tooltipFillColor: "rgba(0,0,0,0.8)",
128
-
129
- // String - Tooltip label font declaration for the scale label
130
- tooltipFontFamily: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",
131
-
132
- // Number - Tooltip label font size in pixels
133
- tooltipFontSize: 14,
134
-
135
- // String - Tooltip font weight style
136
- tooltipFontStyle: "normal",
137
-
138
- // String - Tooltip label font colour
139
- tooltipFontColor: "#fff",
140
-
141
- // String - Tooltip title font declaration for the scale label
142
- tooltipTitleFontFamily: "'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",
143
-
144
- // Number - Tooltip title font size in pixels
145
- tooltipTitleFontSize: 14,
146
-
147
- // String - Tooltip title font weight style
148
- tooltipTitleFontStyle: "bold",
149
-
150
- // String - Tooltip title font colour
151
- tooltipTitleFontColor: "#fff",
152
-
153
- // Number - pixel width of padding around tooltip text
154
- tooltipYPadding: 6,
155
-
156
- // Number - pixel width of padding around tooltip text
157
- tooltipXPadding: 6,
158
-
159
- // Number - Size of the caret on the tooltip
160
- tooltipCaretSize: 8,
161
-
162
- // Number - Pixel radius of the tooltip border
163
- tooltipCornerRadius: 6,
164
-
165
- // Number - Pixel offset from point x to tooltip edge
166
- tooltipXOffset: 10,
167
-
168
- // String - Template string for single tooltips
169
- tooltipTemplate: "<%if (label){%><%=label%>: <%}%><%= value %>",
170
-
171
- // String - Template string for single tooltips
172
- multiTooltipTemplate: "<%= value %>",
173
-
174
- // String - Colour behind the legend colour block
175
- multiTooltipKeyBackground: '#fff',
176
-
177
- // Function - Will fire on animation progression.
178
- onAnimationProgress: function(){},
179
-
180
- // Function - Will fire on animation completion.
181
- onAnimationComplete: function(){}
182
-
183
- }
184
- };
185
-
186
- //Create a dictionary of chart types, to allow for extension of existing types
187
- Chart.types = {};
188
-
189
- //Global Chart helpers object for utility methods and classes
190
- var helpers = Chart.helpers = {};
191
-
192
- //-- Basic js utility methods
193
- var each = helpers.each = function(loopable,callback,self){
194
- var additionalArgs = Array.prototype.slice.call(arguments, 3);
195
- // Check to see if null or undefined firstly.
196
- if (loopable){
197
- if (loopable.length === +loopable.length){
198
- var i;
199
- for (i=0; i<loopable.length; i++){
200
- callback.apply(self,[loopable[i], i].concat(additionalArgs));
201
- }
202
- }
203
- else{
204
- for (var item in loopable){
205
- callback.apply(self,[loopable[item],item].concat(additionalArgs));
206
- }
207
- }
208
- }
209
- },
210
- clone = helpers.clone = function(obj){
211
- var objClone = {};
212
- each(obj,function(value,key){
213
- if (obj.hasOwnProperty(key)) objClone[key] = value;
214
- });
215
- return objClone;
216
- },
217
- extend = helpers.extend = function(base){
218
- each(Array.prototype.slice.call(arguments,1), function(extensionObject) {
219
- each(extensionObject,function(value,key){
220
- if (extensionObject.hasOwnProperty(key)) base[key] = value;
221
- });
222
- });
223
- return base;
224
- },
225
- merge = helpers.merge = function(base,master){
226
- //Merge properties in left object over to a shallow clone of object right.
227
- var args = Array.prototype.slice.call(arguments,0);
228
- args.unshift({});
229
- return extend.apply(null, args);
230
- },
231
- indexOf = helpers.indexOf = function(arrayToSearch, item){
232
- if (Array.prototype.indexOf) {
233
- return arrayToSearch.indexOf(item);
234
- }
235
- else{
236
- for (var i = 0; i < arrayToSearch.length; i++) {
237
- if (arrayToSearch[i] === item) return i;
238
- }
239
- return -1;
240
- }
241
- },
242
- where = helpers.where = function(collection, filterCallback){
243
- var filtered = [];
244
-
245
- helpers.each(collection, function(item){
246
- if (filterCallback(item)){
247
- filtered.push(item);
248
- }
249
- });
250
-
251
- return filtered;
252
- },
253
- findNextWhere = helpers.findNextWhere = function(arrayToSearch, filterCallback, startIndex){
254
- // Default to start of the array
255
- if (!startIndex){
256
- startIndex = -1;
257
- }
258
- for (var i = startIndex + 1; i < arrayToSearch.length; i++) {
259
- var currentItem = arrayToSearch[i];
260
- if (filterCallback(currentItem)){
261
- return currentItem;
262
- }
263
- }
264
- },
265
- findPreviousWhere = helpers.findPreviousWhere = function(arrayToSearch, filterCallback, startIndex){
266
- // Default to end of the array
267
- if (!startIndex){
268
- startIndex = arrayToSearch.length;
269
- }
270
- for (var i = startIndex - 1; i >= 0; i--) {
271
- var currentItem = arrayToSearch[i];
272
- if (filterCallback(currentItem)){
273
- return currentItem;
274
- }
275
- }
276
- },
277
- inherits = helpers.inherits = function(extensions){
278
- //Basic javascript inheritance based on the model created in Backbone.js
279
- var parent = this;
280
- var ChartElement = (extensions && extensions.hasOwnProperty("constructor")) ? extensions.constructor : function(){ return parent.apply(this, arguments); };
281
-
282
- var Surrogate = function(){ this.constructor = ChartElement;};
283
- Surrogate.prototype = parent.prototype;
284
- ChartElement.prototype = new Surrogate();
285
-
286
- ChartElement.extend = inherits;
287
-
288
- if (extensions) extend(ChartElement.prototype, extensions);
289
-
290
- ChartElement.__super__ = parent.prototype;
291
-
292
- return ChartElement;
293
- },
294
- noop = helpers.noop = function(){},
295
- uid = helpers.uid = (function(){
296
- var id=0;
297
- return function(){
298
- return "chart-" + id++;
299
- };
300
- })(),
301
- warn = helpers.warn = function(str){
302
- //Method for warning of errors
303
- if (window.console && typeof window.console.warn == "function") console.warn(str);
304
- },
305
- amd = helpers.amd = (typeof define == 'function' && define.amd),
306
- //-- Math methods
307
- isNumber = helpers.isNumber = function(n){
308
- return !isNaN(parseFloat(n)) && isFinite(n);
309
- },
310
- max = helpers.max = function(array){
311
- return Math.max.apply( Math, array );
312
- },
313
- min = helpers.min = function(array){
314
- return Math.min.apply( Math, array );
315
- },
316
- cap = helpers.cap = function(valueToCap,maxValue,minValue){
317
- if(isNumber(maxValue)) {
318
- if( valueToCap > maxValue ) {
319
- return maxValue;
320
- }
321
- }
322
- else if(isNumber(minValue)){
323
- if ( valueToCap < minValue ){
324
- return minValue;
325
- }
326
- }
327
- return valueToCap;
328
- },
329
- getDecimalPlaces = helpers.getDecimalPlaces = function(num){
330
- if (num%1!==0 && isNumber(num)){
331
- return num.toString().split(".")[1].length;
332
- }
333
- else {
334
- return 0;
335
- }
336
- },
337
- toRadians = helpers.radians = function(degrees){
338
- return degrees * (Math.PI/180);
339
- },
340
- // Gets the angle from vertical upright to the point about a centre.
341
- getAngleFromPoint = helpers.getAngleFromPoint = function(centrePoint, anglePoint){
342
- var distanceFromXCenter = anglePoint.x - centrePoint.x,
343
- distanceFromYCenter = anglePoint.y - centrePoint.y,
344
- radialDistanceFromCenter = Math.sqrt( distanceFromXCenter * distanceFromXCenter + distanceFromYCenter * distanceFromYCenter);
345
-
346
-
347
- var angle = Math.PI * 2 + Math.atan2(distanceFromYCenter, distanceFromXCenter);
348
-
349
- //If the segment is in the top left quadrant, we need to add another rotation to the angle
350
- if (distanceFromXCenter < 0 && distanceFromYCenter < 0){
351
- angle += Math.PI*2;
352
- }
353
-
354
- return {
355
- angle: angle,
356
- distance: radialDistanceFromCenter
357
- };
358
- },
359
- aliasPixel = helpers.aliasPixel = function(pixelWidth){
360
- return (pixelWidth % 2 === 0) ? 0 : 0.5;
361
- },
362
- splineCurve = helpers.splineCurve = function(FirstPoint,MiddlePoint,AfterPoint,t){
363
- //Props to Rob Spencer at scaled innovation for his post on splining between points
364
- //http://scaledinnovation.com/analytics/splines/aboutSplines.html
365
- var d01=Math.sqrt(Math.pow(MiddlePoint.x-FirstPoint.x,2)+Math.pow(MiddlePoint.y-FirstPoint.y,2)),
366
- d12=Math.sqrt(Math.pow(AfterPoint.x-MiddlePoint.x,2)+Math.pow(AfterPoint.y-MiddlePoint.y,2)),
367
- fa=t*d01/(d01+d12),// scaling factor for triangle Ta
368
- fb=t*d12/(d01+d12);
369
- return {
370
- inner : {
371
- x : MiddlePoint.x-fa*(AfterPoint.x-FirstPoint.x),
372
- y : MiddlePoint.y-fa*(AfterPoint.y-FirstPoint.y)
373
- },
374
- outer : {
375
- x: MiddlePoint.x+fb*(AfterPoint.x-FirstPoint.x),
376
- y : MiddlePoint.y+fb*(AfterPoint.y-FirstPoint.y)
377
- }
378
- };
379
- },
380
- calculateOrderOfMagnitude = helpers.calculateOrderOfMagnitude = function(val){
381
- return Math.floor(Math.log(val) / Math.LN10);
382
- },
383
- calculateScaleRange = helpers.calculateScaleRange = function(valuesArray, drawingSize, textSize, startFromZero, integersOnly){
384
-
385
- //Set a minimum step of two - a point at the top of the graph, and a point at the base
386
- var minSteps = 2,
387
- maxSteps = Math.floor(drawingSize/(textSize * 1.5)),
388
- skipFitting = (minSteps >= maxSteps);
389
-
390
- var maxValue = max(valuesArray),
391
- minValue = min(valuesArray);
392
-
393
- // We need some degree of seperation here to calculate the scales if all the values are the same
394
- // Adding/minusing 0.5 will give us a range of 1.
395
- if (maxValue === minValue){
396
- maxValue += 0.5;
397
- // So we don't end up with a graph with a negative start value if we've said always start from zero
398
- if (minValue >= 0.5 && !startFromZero){
399
- minValue -= 0.5;
400
- }
401
- else{
402
- // Make up a whole number above the values
403
- maxValue += 0.5;
404
- }
405
- }
406
-
407
- var valueRange = Math.abs(maxValue - minValue),
408
- rangeOrderOfMagnitude = calculateOrderOfMagnitude(valueRange),
409
- graphMax = Math.ceil(maxValue / (1 * Math.pow(10, rangeOrderOfMagnitude))) * Math.pow(10, rangeOrderOfMagnitude),
410
- graphMin = (startFromZero) ? 0 : Math.floor(minValue / (1 * Math.pow(10, rangeOrderOfMagnitude))) * Math.pow(10, rangeOrderOfMagnitude),
411
- graphRange = graphMax - graphMin,
412
- stepValue = Math.pow(10, rangeOrderOfMagnitude),
413
- numberOfSteps = Math.round(graphRange / stepValue);
414
-
415
- //If we have more space on the graph we'll use it to give more definition to the data
416
- while((numberOfSteps > maxSteps || (numberOfSteps * 2) < maxSteps) && !skipFitting) {
417
- if(numberOfSteps > maxSteps){
418
- stepValue *=2;
419
- numberOfSteps = Math.round(graphRange/stepValue);
420
- // Don't ever deal with a decimal number of steps - cancel fitting and just use the minimum number of steps.
421
- if (numberOfSteps % 1 !== 0){
422
- skipFitting = true;
423
- }
424
- }
425
- //We can fit in double the amount of scale points on the scale
426
- else{
427
- //If user has declared ints only, and the step value isn't a decimal
428
- if (integersOnly && rangeOrderOfMagnitude >= 0){
429
- //If the user has said integers only, we need to check that making the scale more granular wouldn't make it a float
430
- if(stepValue/2 % 1 === 0){
431
- stepValue /=2;
432
- numberOfSteps = Math.round(graphRange/stepValue);
433
- }
434
- //If it would make it a float break out of the loop
435
- else{
436
- break;
437
- }
438
- }
439
- //If the scale doesn't have to be an int, make the scale more granular anyway.
440
- else{
441
- stepValue /=2;
442
- numberOfSteps = Math.round(graphRange/stepValue);
443
- }
444
-
445
- }
446
- }
447
-
448
- if (skipFitting){
449
- numberOfSteps = minSteps;
450
- stepValue = graphRange / numberOfSteps;
451
- }
452
-
453
- return {
454
- steps : numberOfSteps,
455
- stepValue : stepValue,
456
- min : graphMin,
457
- max : graphMin + (numberOfSteps * stepValue)
458
- };
459
-
460
- },
461
- /* jshint ignore:start */
462
- // Blows up jshint errors based on the new Function constructor
463
- //Templating methods
464
- //Javascript micro templating by John Resig - source at http://ejohn.org/blog/javascript-micro-templating/
465
- template = helpers.template = function(templateString, valuesObject){
466
-
467
- // If templateString is function rather than string-template - call the function for valuesObject
468
-
469
- if(templateString instanceof Function){
470
- return templateString(valuesObject);
471
- }
472
-
473
- var cache = {};
474
- function tmpl(str, data){
475
- // Figure out if we're getting a template, or if we need to
476
- // load the template - and be sure to cache the result.
477
- var fn = !/\W/.test(str) ?
478
- cache[str] = cache[str] :
479
-
480
- // Generate a reusable function that will serve as a template
481
- // generator (and which will be cached).
482
- new Function("obj",
483
- "var p=[],print=function(){p.push.apply(p,arguments);};" +
484
-
485
- // Introduce the data as local variables using with(){}
486
- "with(obj){p.push('" +
487
-
488
- // Convert the template into pure JavaScript
489
- str
490
- .replace(/[\r\t\n]/g, " ")
491
- .split("<%").join("\t")
492
- .replace(/((^|%>)[^\t]*)'/g, "$1\r")
493
- .replace(/\t=(.*?)%>/g, "',$1,'")
494
- .split("\t").join("');")
495
- .split("%>").join("p.push('")
496
- .split("\r").join("\\'") +
497
- "');}return p.join('');"
498
- );
499
-
500
- // Provide some basic currying to the user
501
- return data ? fn( data ) : fn;
502
- }
503
- return tmpl(templateString,valuesObject);
504
- },
505
- /* jshint ignore:end */
506
- generateLabels = helpers.generateLabels = function(templateString,numberOfSteps,graphMin,stepValue){
507
- var labelsArray = new Array(numberOfSteps);
508
- if (labelTemplateString){
509
- each(labelsArray,function(val,index){
510
- labelsArray[index] = template(templateString,{value: (graphMin + (stepValue*(index+1)))});
511
- });
512
- }
513
- return labelsArray;
514
- },
515
- //--Animation methods
516
- //Easing functions adapted from Robert Penner's easing equations
517
- //http://www.robertpenner.com/easing/
518
- easingEffects = helpers.easingEffects = {
519
- linear: function (t) {
520
- return t;
521
- },
522
- easeInQuad: function (t) {
523
- return t * t;
524
- },
525
- easeOutQuad: function (t) {
526
- return -1 * t * (t - 2);
527
- },
528
- easeInOutQuad: function (t) {
529
- if ((t /= 1 / 2) < 1) return 1 / 2 * t * t;
530
- return -1 / 2 * ((--t) * (t - 2) - 1);
531
- },
532
- easeInCubic: function (t) {
533
- return t * t * t;
534
- },
535
- easeOutCubic: function (t) {
536
- return 1 * ((t = t / 1 - 1) * t * t + 1);
537
- },
538
- easeInOutCubic: function (t) {
539
- if ((t /= 1 / 2) < 1) return 1 / 2 * t * t * t;
540
- return 1 / 2 * ((t -= 2) * t * t + 2);
541
- },
542
- easeInQuart: function (t) {
543
- return t * t * t * t;
544
- },
545
- easeOutQuart: function (t) {
546
- return -1 * ((t = t / 1 - 1) * t * t * t - 1);
547
- },
548
- easeInOutQuart: function (t) {
549
- if ((t /= 1 / 2) < 1) return 1 / 2 * t * t * t * t;
550
- return -1 / 2 * ((t -= 2) * t * t * t - 2);
551
- },
552
- easeInQuint: function (t) {
553
- return 1 * (t /= 1) * t * t * t * t;
554
- },
555
- easeOutQuint: function (t) {
556
- return 1 * ((t = t / 1 - 1) * t * t * t * t + 1);
557
- },
558
- easeInOutQuint: function (t) {
559
- if ((t /= 1 / 2) < 1) return 1 / 2 * t * t * t * t * t;
560
- return 1 / 2 * ((t -= 2) * t * t * t * t + 2);
561
- },
562
- easeInSine: function (t) {
563
- return -1 * Math.cos(t / 1 * (Math.PI / 2)) + 1;
564
- },
565
- easeOutSine: function (t) {
566
- return 1 * Math.sin(t / 1 * (Math.PI / 2));
567
- },
568
- easeInOutSine: function (t) {
569
- return -1 / 2 * (Math.cos(Math.PI * t / 1) - 1);
570
- },
571
- easeInExpo: function (t) {
572
- return (t === 0) ? 1 : 1 * Math.pow(2, 10 * (t / 1 - 1));
573
- },
574
- easeOutExpo: function (t) {
575
- return (t === 1) ? 1 : 1 * (-Math.pow(2, -10 * t / 1) + 1);
576
- },
577
- easeInOutExpo: function (t) {
578
- if (t === 0) return 0;
579
- if (t === 1) return 1;
580
- if ((t /= 1 / 2) < 1) return 1 / 2 * Math.pow(2, 10 * (t - 1));
581
- return 1 / 2 * (-Math.pow(2, -10 * --t) + 2);
582
- },
583
- easeInCirc: function (t) {
584
- if (t >= 1) return t;
585
- return -1 * (Math.sqrt(1 - (t /= 1) * t) - 1);
586
- },
587
- easeOutCirc: function (t) {
588
- return 1 * Math.sqrt(1 - (t = t / 1 - 1) * t);
589
- },
590
- easeInOutCirc: function (t) {
591
- if ((t /= 1 / 2) < 1) return -1 / 2 * (Math.sqrt(1 - t * t) - 1);
592
- return 1 / 2 * (Math.sqrt(1 - (t -= 2) * t) + 1);
593
- },
594
- easeInElastic: function (t) {
595
- var s = 1.70158;
596
- var p = 0;
597
- var a = 1;
598
- if (t === 0) return 0;
599
- if ((t /= 1) == 1) return 1;
600
- if (!p) p = 1 * 0.3;
601
- if (a < Math.abs(1)) {
602
- a = 1;
603
- s = p / 4;
604
- } else s = p / (2 * Math.PI) * Math.asin(1 / a);
605
- return -(a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * 1 - s) * (2 * Math.PI) / p));
606
- },
607
- easeOutElastic: function (t) {
608
- var s = 1.70158;
609
- var p = 0;
610
- var a = 1;
611
- if (t === 0) return 0;
612
- if ((t /= 1) == 1) return 1;
613
- if (!p) p = 1 * 0.3;
614
- if (a < Math.abs(1)) {
615
- a = 1;
616
- s = p / 4;
617
- } else s = p / (2 * Math.PI) * Math.asin(1 / a);
618
- return a * Math.pow(2, -10 * t) * Math.sin((t * 1 - s) * (2 * Math.PI) / p) + 1;
619
- },
620
- easeInOutElastic: function (t) {
621
- var s = 1.70158;
622
- var p = 0;
623
- var a = 1;
624
- if (t === 0) return 0;
625
- if ((t /= 1 / 2) == 2) return 1;
626
- if (!p) p = 1 * (0.3 * 1.5);
627
- if (a < Math.abs(1)) {
628
- a = 1;
629
- s = p / 4;
630
- } else s = p / (2 * Math.PI) * Math.asin(1 / a);
631
- if (t < 1) return -0.5 * (a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t * 1 - s) * (2 * Math.PI) / p));
632
- return a * Math.pow(2, -10 * (t -= 1)) * Math.sin((t * 1 - s) * (2 * Math.PI) / p) * 0.5 + 1;
633
- },
634
- easeInBack: function (t) {
635
- var s = 1.70158;
636
- return 1 * (t /= 1) * t * ((s + 1) * t - s);
637
- },
638
- easeOutBack: function (t) {
639
- var s = 1.70158;
640
- return 1 * ((t = t / 1 - 1) * t * ((s + 1) * t + s) + 1);
641
- },
642
- easeInOutBack: function (t) {
643
- var s = 1.70158;
644
- if ((t /= 1 / 2) < 1) return 1 / 2 * (t * t * (((s *= (1.525)) + 1) * t - s));
645
- return 1 / 2 * ((t -= 2) * t * (((s *= (1.525)) + 1) * t + s) + 2);
646
- },
647
- easeInBounce: function (t) {
648
- return 1 - easingEffects.easeOutBounce(1 - t);
649
- },
650
- easeOutBounce: function (t) {
651
- if ((t /= 1) < (1 / 2.75)) {
652
- return 1 * (7.5625 * t * t);
653
- } else if (t < (2 / 2.75)) {
654
- return 1 * (7.5625 * (t -= (1.5 / 2.75)) * t + 0.75);
655
- } else if (t < (2.5 / 2.75)) {
656
- return 1 * (7.5625 * (t -= (2.25 / 2.75)) * t + 0.9375);
657
- } else {
658
- return 1 * (7.5625 * (t -= (2.625 / 2.75)) * t + 0.984375);
659
- }
660
- },
661
- easeInOutBounce: function (t) {
662
- if (t < 1 / 2) return easingEffects.easeInBounce(t * 2) * 0.5;
663
- return easingEffects.easeOutBounce(t * 2 - 1) * 0.5 + 1 * 0.5;
664
- }
665
- },
666
- //Request animation polyfill - http://www.paulirish.com/2011/requestanimationframe-for-smart-animating/
667
- requestAnimFrame = helpers.requestAnimFrame = (function(){
668
- return window.requestAnimationFrame ||
669
- window.webkitRequestAnimationFrame ||
670
- window.mozRequestAnimationFrame ||
671
- window.oRequestAnimationFrame ||
672
- window.msRequestAnimationFrame ||
673
- function(callback) {
674
- return window.setTimeout(callback, 1000 / 60);
675
- };
676
- })(),
677
- cancelAnimFrame = helpers.cancelAnimFrame = (function(){
678
- return window.cancelAnimationFrame ||
679
- window.webkitCancelAnimationFrame ||
680
- window.mozCancelAnimationFrame ||
681
- window.oCancelAnimationFrame ||
682
- window.msCancelAnimationFrame ||
683
- function(callback) {
684
- return window.clearTimeout(callback, 1000 / 60);
685
- };
686
- })(),
687
- animationLoop = helpers.animationLoop = function(callback,totalSteps,easingString,onProgress,onComplete,chartInstance){
688
-
689
- var currentStep = 0,
690
- easingFunction = easingEffects[easingString] || easingEffects.linear;
691
-
692
- var animationFrame = function(){
693
- currentStep++;
694
- var stepDecimal = currentStep/totalSteps;
695
- var easeDecimal = easingFunction(stepDecimal);
696
-
697
- callback.call(chartInstance,easeDecimal,stepDecimal, currentStep);
698
- onProgress.call(chartInstance,easeDecimal,stepDecimal);
699
- if (currentStep < totalSteps){
700
- chartInstance.animationFrame = requestAnimFrame(animationFrame);
701
- } else{
702
- onComplete.apply(chartInstance);
703
- }
704
- };
705
- requestAnimFrame(animationFrame);
706
- },
707
- //-- DOM methods
708
- getRelativePosition = helpers.getRelativePosition = function(evt){
709
- var mouseX, mouseY;
710
- var e = evt.originalEvent || evt,
711
- canvas = evt.currentTarget || evt.srcElement,
712
- boundingRect = canvas.getBoundingClientRect();
713
-
714
- if (e.touches){
715
- mouseX = e.touches[0].clientX - boundingRect.left;
716
- mouseY = e.touches[0].clientY - boundingRect.top;
717
-
718
- }
719
- else{
720
- mouseX = e.clientX - boundingRect.left;
721
- mouseY = e.clientY - boundingRect.top;
722
- }
723
-
724
- return {
725
- x : mouseX,
726
- y : mouseY
727
- };
728
-
729
- },
730
- addEvent = helpers.addEvent = function(node,eventType,method){
731
- if (node.addEventListener){
732
- node.addEventListener(eventType,method);
733
- } else if (node.attachEvent){
734
- node.attachEvent("on"+eventType, method);
735
- } else {
736
- node["on"+eventType] = method;
737
- }
738
- },
739
- removeEvent = helpers.removeEvent = function(node, eventType, handler){
740
- if (node.removeEventListener){
741
- node.removeEventListener(eventType, handler, false);
742
- } else if (node.detachEvent){
743
- node.detachEvent("on"+eventType,handler);
744
- } else{
745
- node["on" + eventType] = noop;
746
- }
747
- },
748
- bindEvents = helpers.bindEvents = function(chartInstance, arrayOfEvents, handler){
749
- // Create the events object if it's not already present
750
- if (!chartInstance.events) chartInstance.events = {};
751
-
752
- each(arrayOfEvents,function(eventName){
753
- chartInstance.events[eventName] = function(){
754
- handler.apply(chartInstance, arguments);
755
- };
756
- addEvent(chartInstance.chart.canvas,eventName,chartInstance.events[eventName]);
757
- });
758
- },
759
- unbindEvents = helpers.unbindEvents = function (chartInstance, arrayOfEvents) {
760
- each(arrayOfEvents, function(handler,eventName){
761
- removeEvent(chartInstance.chart.canvas, eventName, handler);
762
- });
763
- },
764
- getMaximumWidth = helpers.getMaximumWidth = function(domNode){
765
- var container = domNode.parentNode;
766
- // TODO = check cross browser stuff with this.
767
- return container.clientWidth;
768
- },
769
- getMaximumHeight = helpers.getMaximumHeight = function(domNode){
770
- var container = domNode.parentNode;
771
- // TODO = check cross browser stuff with this.
772
- return container.clientHeight;
773
- },
774
- getMaximumSize = helpers.getMaximumSize = helpers.getMaximumWidth, // legacy support
775
- retinaScale = helpers.retinaScale = function(chart){
776
- var ctx = chart.ctx,
777
- width = chart.canvas.width,
778
- height = chart.canvas.height;
779
-
780
- if (window.devicePixelRatio) {
781
- ctx.canvas.style.width = width + "px";
782
- ctx.canvas.style.height = height + "px";
783
- ctx.canvas.height = height * window.devicePixelRatio;
784
- ctx.canvas.width = width * window.devicePixelRatio;
785
- ctx.scale(window.devicePixelRatio, window.devicePixelRatio);
786
- }
787
- },
788
- //-- Canvas methods
789
- clear = helpers.clear = function(chart){
790
- chart.ctx.clearRect(0,0,chart.width,chart.height);
791
- },
792
- fontString = helpers.fontString = function(pixelSize,fontStyle,fontFamily){
793
- return fontStyle + " " + pixelSize+"px " + fontFamily;
794
- },
795
- longestText = helpers.longestText = function(ctx,font,arrayOfStrings){
796
- ctx.font = font;
797
- var longest = 0;
798
- each(arrayOfStrings,function(string){
799
- var textWidth = ctx.measureText(string).width;
800
- longest = (textWidth > longest) ? textWidth : longest;
801
- });
802
- return longest;
803
- },
804
- drawRoundedRectangle = helpers.drawRoundedRectangle = function(ctx,x,y,width,height,radius){
805
- ctx.beginPath();
806
- ctx.moveTo(x + radius, y);
807
- ctx.lineTo(x + width - radius, y);
808
- ctx.quadraticCurveTo(x + width, y, x + width, y + radius);
809
- ctx.lineTo(x + width, y + height - radius);
810
- ctx.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);
811
- ctx.lineTo(x + radius, y + height);
812
- ctx.quadraticCurveTo(x, y + height, x, y + height - radius);
813
- ctx.lineTo(x, y + radius);
814
- ctx.quadraticCurveTo(x, y, x + radius, y);
815
- ctx.closePath();
816
- };
817
-
818
-
819
- //Store a reference to each instance - allowing us to globally resize chart instances on window resize.
820
- //Destroy method on the chart will remove the instance of the chart from this reference.
821
- Chart.instances = {};
822
-
823
- Chart.Type = function(data,options,chart){
824
- this.options = options;
825
- this.chart = chart;
826
- this.id = uid();
827
- //Add the chart instance to the global namespace
828
- Chart.instances[this.id] = this;
829
-
830
- // Initialize is always called when a chart type is created
831
- // By default it is a no op, but it should be extended
832
- if (options.responsive){
833
- this.resize();
834
- }
835
- this.initialize.call(this,data);
836
- };
837
-
838
- //Core methods that'll be a part of every chart type
839
- extend(Chart.Type.prototype,{
840
- initialize : function(){return this;},
841
- clear : function(){
842
- clear(this.chart);
843
- return this;
844
- },
845
- stop : function(){
846
- // Stops any current animation loop occuring
847
- cancelAnimFrame(this.animationFrame);
848
- return this;
849
- },
850
- resize : function(callback){
851
- this.stop();
852
- var canvas = this.chart.canvas,
853
- newWidth = getMaximumWidth(this.chart.canvas),
854
- newHeight = this.options.maintainAspectRatio ? newWidth / this.chart.aspectRatio : getMaximumHeight(this.chart.canvas);
855
-
856
- canvas.width = this.chart.width = newWidth;
857
- canvas.height = this.chart.height = newHeight;
858
-
859
- retinaScale(this.chart);
860
-
861
- if (typeof callback === "function"){
862
- callback.apply(this, Array.prototype.slice.call(arguments, 1));
863
- }
864
- return this;
865
- },
866
- reflow : noop,
867
- render : function(reflow){
868
- if (reflow){
869
- this.reflow();
870
- }
871
- if (this.options.animation && !reflow){
872
- helpers.animationLoop(
873
- this.draw,
874
- this.options.animationSteps,
875
- this.options.animationEasing,
876
- this.options.onAnimationProgress,
877
- this.options.onAnimationComplete,
878
- this
879
- );
880
- }
881
- else{
882
- this.draw();
883
- this.options.onAnimationComplete.call(this);
884
- }
885
- return this;
886
- },
887
- generateLegend : function(){
888
- return template(this.options.legendTemplate,this);
889
- },
890
- destroy : function(){
891
- this.clear();
892
- unbindEvents(this, this.events);
893
- var canvas = this.chart.canvas;
894
-
895
- // Reset canvas height/width attributes starts a fresh with the canvas context
896
- canvas.width = this.chart.width;
897
- canvas.height = this.chart.height;
898
-
899
- // < IE9 doesn't support removeProperty
900
- if (canvas.style.removeProperty) {
901
- canvas.style.removeProperty('width');
902
- canvas.style.removeProperty('height');
903
- } else {
904
- canvas.style.removeAttribute('width');
905
- canvas.style.removeAttribute('height');
906
- }
907
-
908
- delete Chart.instances[this.id];
909
- },
910
- showTooltip : function(ChartElements, forceRedraw){
911
- // Only redraw the chart if we've actually changed what we're hovering on.
912
- if (typeof this.activeElements === 'undefined') this.activeElements = [];
913
-
914
- var isChanged = (function(Elements){
915
- var changed = false;
916
-
917
- if (Elements.length !== this.activeElements.length){
918
- changed = true;
919
- return changed;
920
- }
921
-
922
- each(Elements, function(element, index){
923
- if (element !== this.activeElements[index]){
924
- changed = true;
925
- }
926
- }, this);
927
- return changed;
928
- }).call(this, ChartElements);
929
-
930
- if (!isChanged && !forceRedraw){
931
- return;
932
- }
933
- else{
934
- this.activeElements = ChartElements;
935
- }
936
- this.draw();
937
- if(this.options.customTooltips){
938
- this.options.customTooltips(false);
939
- }
940
- if (ChartElements.length > 0){
941
- // If we have multiple datasets, show a MultiTooltip for all of the data points at that index
942
- if (this.datasets && this.datasets.length > 1) {
943
- var dataArray,
944
- dataIndex;
945
-
946
- for (var i = this.datasets.length - 1; i >= 0; i--) {
947
- dataArray = this.datasets[i].points || this.datasets[i].bars || this.datasets[i].segments;
948
- dataIndex = indexOf(dataArray, ChartElements[0]);
949
- if (dataIndex !== -1){
950
- break;
951
- }
952
- }
953
- var tooltipLabels = [],
954
- tooltipColors = [],
955
- medianPosition = (function(index) {
956
-
957
- // Get all the points at that particular index
958
- var Elements = [],
959
- dataCollection,
960
- xPositions = [],
961
- yPositions = [],
962
- xMax,
963
- yMax,
964
- xMin,
965
- yMin;
966
- helpers.each(this.datasets, function(dataset){
967
- dataCollection = dataset.points || dataset.bars || dataset.segments;
968
- if (dataCollection[dataIndex] && dataCollection[dataIndex].hasValue()){
969
- Elements.push(dataCollection[dataIndex]);
970
- }
971
- });
972
-
973
- helpers.each(Elements, function(element) {
974
- xPositions.push(element.x);
975
- yPositions.push(element.y);
976
-
977
-
978
- //Include any colour information about the element
979
- tooltipLabels.push(helpers.template(this.options.multiTooltipTemplate, element));
980
- tooltipColors.push({
981
- fill: element._saved.fillColor || element.fillColor,
982
- stroke: element._saved.strokeColor || element.strokeColor
983
- });
984
-
985
- }, this);
986
-
987
- yMin = min(yPositions);
988
- yMax = max(yPositions);
989
-
990
- xMin = min(xPositions);
991
- xMax = max(xPositions);
992
-
993
- return {
994
- x: (xMin > this.chart.width/2) ? xMin : xMax,
995
- y: (yMin + yMax)/2
996
- };
997
- }).call(this, dataIndex);
998
-
999
- new Chart.MultiTooltip({
1000
- x: medianPosition.x,
1001
- y: medianPosition.y,
1002
- xPadding: this.options.tooltipXPadding,
1003
- yPadding: this.options.tooltipYPadding,
1004
- xOffset: this.options.tooltipXOffset,
1005
- fillColor: this.options.tooltipFillColor,
1006
- textColor: this.options.tooltipFontColor,
1007
- fontFamily: this.options.tooltipFontFamily,
1008
- fontStyle: this.options.tooltipFontStyle,
1009
- fontSize: this.options.tooltipFontSize,
1010
- titleTextColor: this.options.tooltipTitleFontColor,
1011
- titleFontFamily: this.options.tooltipTitleFontFamily,
1012
- titleFontStyle: this.options.tooltipTitleFontStyle,
1013
- titleFontSize: this.options.tooltipTitleFontSize,
1014
- cornerRadius: this.options.tooltipCornerRadius,
1015
- labels: tooltipLabels,
1016
- legendColors: tooltipColors,
1017
- legendColorBackground : this.options.multiTooltipKeyBackground,
1018
- title: ChartElements[0].label,
1019
- chart: this.chart,
1020
- ctx: this.chart.ctx,
1021
- custom: this.options.customTooltips
1022
- }).draw();
1023
-
1024
- } else {
1025
- each(ChartElements, function(Element) {
1026
- var tooltipPosition = Element.tooltipPosition();
1027
- new Chart.Tooltip({
1028
- x: Math.round(tooltipPosition.x),
1029
- y: Math.round(tooltipPosition.y),
1030
- xPadding: this.options.tooltipXPadding,
1031
- yPadding: this.options.tooltipYPadding,
1032
- fillColor: this.options.tooltipFillColor,
1033
- textColor: this.options.tooltipFontColor,
1034
- fontFamily: this.options.tooltipFontFamily,
1035
- fontStyle: this.options.tooltipFontStyle,
1036
- fontSize: this.options.tooltipFontSize,
1037
- caretHeight: this.options.tooltipCaretSize,
1038
- cornerRadius: this.options.tooltipCornerRadius,
1039
- text: template(this.options.tooltipTemplate, Element),
1040
- chart: this.chart,
1041
- custom: this.options.customTooltips
1042
- }).draw();
1043
- }, this);
1044
- }
1045
- }
1046
- return this;
1047
- },
1048
- toBase64Image : function(){
1049
- return this.chart.canvas.toDataURL.apply(this.chart.canvas, arguments);
1050
- }
1051
- });
1052
-
1053
- Chart.Type.extend = function(extensions){
1054
-
1055
- var parent = this;
1056
-
1057
- var ChartType = function(){
1058
- return parent.apply(this,arguments);
1059
- };
1060
-
1061
- //Copy the prototype object of the this class
1062
- ChartType.prototype = clone(parent.prototype);
1063
- //Now overwrite some of the properties in the base class with the new extensions
1064
- extend(ChartType.prototype, extensions);
1065
-
1066
- ChartType.extend = Chart.Type.extend;
1067
-
1068
- if (extensions.name || parent.prototype.name){
1069
-
1070
- var chartName = extensions.name || parent.prototype.name;
1071
- //Assign any potential default values of the new chart type
1072
-
1073
- //If none are defined, we'll use a clone of the chart type this is being extended from.
1074
- //I.e. if we extend a line chart, we'll use the defaults from the line chart if our new chart
1075
- //doesn't define some defaults of their own.
1076
-
1077
- var baseDefaults = (Chart.defaults[parent.prototype.name]) ? clone(Chart.defaults[parent.prototype.name]) : {};
1078
-
1079
- Chart.defaults[chartName] = extend(baseDefaults,extensions.defaults);
1080
-
1081
- Chart.types[chartName] = ChartType;
1082
-
1083
- //Register this new chart type in the Chart prototype
1084
- Chart.prototype[chartName] = function(data,options){
1085
- var config = merge(Chart.defaults.global, Chart.defaults[chartName], options || {});
1086
- return new ChartType(data,config,this);
1087
- };
1088
- } else{
1089
- warn("Name not provided for this chart, so it hasn't been registered");
1090
- }
1091
- return parent;
1092
- };
1093
-
1094
- Chart.Element = function(configuration){
1095
- extend(this,configuration);
1096
- this.initialize.apply(this,arguments);
1097
- this.save();
1098
- };
1099
- extend(Chart.Element.prototype,{
1100
- initialize : function(){},
1101
- restore : function(props){
1102
- if (!props){
1103
- extend(this,this._saved);
1104
- } else {
1105
- each(props,function(key){
1106
- this[key] = this._saved[key];
1107
- },this);
1108
- }
1109
- return this;
1110
- },
1111
- save : function(){
1112
- this._saved = clone(this);
1113
- delete this._saved._saved;
1114
- return this;
1115
- },
1116
- update : function(newProps){
1117
- each(newProps,function(value,key){
1118
- this._saved[key] = this[key];
1119
- this[key] = value;
1120
- },this);
1121
- return this;
1122
- },
1123
- transition : function(props,ease){
1124
- each(props,function(value,key){
1125
- this[key] = ((value - this._saved[key]) * ease) + this._saved[key];
1126
- },this);
1127
- return this;
1128
- },
1129
- tooltipPosition : function(){
1130
- return {
1131
- x : this.x,
1132
- y : this.y
1133
- };
1134
- },
1135
- hasValue: function(){
1136
- return isNumber(this.value);
1137
- }
1138
- });
1139
-
1140
- Chart.Element.extend = inherits;
1141
-
1142
-
1143
- Chart.Point = Chart.Element.extend({
1144
- display: true,
1145
- inRange: function(chartX,chartY){
1146
- var hitDetectionRange = this.hitDetectionRadius + this.radius;
1147
- return ((Math.pow(chartX-this.x, 2)+Math.pow(chartY-this.y, 2)) < Math.pow(hitDetectionRange,2));
1148
- },
1149
- draw : function(){
1150
- if (this.display){
1151
- var ctx = this.ctx;
1152
- ctx.beginPath();
1153
-
1154
- ctx.arc(this.x, this.y, this.radius, 0, Math.PI*2);
1155
- ctx.closePath();
1156
-
1157
- ctx.strokeStyle = this.strokeColor;
1158
- ctx.lineWidth = this.strokeWidth;
1159
-
1160
- ctx.fillStyle = this.fillColor;
1161
-
1162
- ctx.fill();
1163
- ctx.stroke();
1164
- }
1165
-
1166
-
1167
- //Quick debug for bezier curve splining
1168
- //Highlights control points and the line between them.
1169
- //Handy for dev - stripped in the min version.
1170
-
1171
- // ctx.save();
1172
- // ctx.fillStyle = "black";
1173
- // ctx.strokeStyle = "black"
1174
- // ctx.beginPath();
1175
- // ctx.arc(this.controlPoints.inner.x,this.controlPoints.inner.y, 2, 0, Math.PI*2);
1176
- // ctx.fill();
1177
-
1178
- // ctx.beginPath();
1179
- // ctx.arc(this.controlPoints.outer.x,this.controlPoints.outer.y, 2, 0, Math.PI*2);
1180
- // ctx.fill();
1181
-
1182
- // ctx.moveTo(this.controlPoints.inner.x,this.controlPoints.inner.y);
1183
- // ctx.lineTo(this.x, this.y);
1184
- // ctx.lineTo(this.controlPoints.outer.x,this.controlPoints.outer.y);
1185
- // ctx.stroke();
1186
-
1187
- // ctx.restore();
1188
-
1189
-
1190
-
1191
- }
1192
- });
1193
-
1194
- Chart.Arc = Chart.Element.extend({
1195
- inRange : function(chartX,chartY){
1196
-
1197
- var pointRelativePosition = helpers.getAngleFromPoint(this, {
1198
- x: chartX,
1199
- y: chartY
1200
- });
1201
-
1202
- //Check if within the range of the open/close angle
1203
- var betweenAngles = (pointRelativePosition.angle >= this.startAngle && pointRelativePosition.angle <= this.endAngle),
1204
- withinRadius = (pointRelativePosition.distance >= this.innerRadius && pointRelativePosition.distance <= this.outerRadius);
1205
-
1206
- return (betweenAngles && withinRadius);
1207
- //Ensure within the outside of the arc centre, but inside arc outer
1208
- },
1209
- tooltipPosition : function(){
1210
- var centreAngle = this.startAngle + ((this.endAngle - this.startAngle) / 2),
1211
- rangeFromCentre = (this.outerRadius - this.innerRadius) / 2 + this.innerRadius;
1212
- return {
1213
- x : this.x + (Math.cos(centreAngle) * rangeFromCentre),
1214
- y : this.y + (Math.sin(centreAngle) * rangeFromCentre)
1215
- };
1216
- },
1217
- draw : function(animationPercent){
1218
-
1219
- var easingDecimal = animationPercent || 1;
1220
-
1221
- var ctx = this.ctx;
1222
-
1223
- ctx.beginPath();
1224
-
1225
- ctx.arc(this.x, this.y, this.outerRadius, this.startAngle, this.endAngle);
1226
-
1227
- ctx.arc(this.x, this.y, this.innerRadius, this.endAngle, this.startAngle, true);
1228
-
1229
- ctx.closePath();
1230
- ctx.strokeStyle = this.strokeColor;
1231
- ctx.lineWidth = this.strokeWidth;
1232
-
1233
- ctx.fillStyle = this.fillColor;
1234
-
1235
- ctx.fill();
1236
- ctx.lineJoin = 'bevel';
1237
-
1238
- if (this.showStroke){
1239
- ctx.stroke();
1240
- }
1241
- }
1242
- });
1243
-
1244
- Chart.Rectangle = Chart.Element.extend({
1245
- draw : function(){
1246
- var ctx = this.ctx,
1247
- halfWidth = this.width/2,
1248
- leftX = this.x - halfWidth,
1249
- rightX = this.x + halfWidth,
1250
- top = this.base - (this.base - this.y),
1251
- halfStroke = this.strokeWidth / 2;
1252
-
1253
- // Canvas doesn't allow us to stroke inside the width so we can
1254
- // adjust the sizes to fit if we're setting a stroke on the line
1255
- if (this.showStroke){
1256
- leftX += halfStroke;
1257
- rightX -= halfStroke;
1258
- top += halfStroke;
1259
- }
1260
-
1261
- ctx.beginPath();
1262
-
1263
- ctx.fillStyle = this.fillColor;
1264
- ctx.strokeStyle = this.strokeColor;
1265
- ctx.lineWidth = this.strokeWidth;
1266
-
1267
- // It'd be nice to keep this class totally generic to any rectangle
1268
- // and simply specify which border to miss out.
1269
- ctx.moveTo(leftX, this.base);
1270
- ctx.lineTo(leftX, top);
1271
- ctx.lineTo(rightX, top);
1272
- ctx.lineTo(rightX, this.base);
1273
- ctx.fill();
1274
- if (this.showStroke){
1275
- ctx.stroke();
1276
- }
1277
- },
1278
- height : function(){
1279
- return this.base - this.y;
1280
- },
1281
- inRange : function(chartX,chartY){
1282
- return (chartX >= this.x - this.width/2 && chartX <= this.x + this.width/2) && (chartY >= this.y && chartY <= this.base);
1283
- }
1284
- });
1285
-
1286
- Chart.Tooltip = Chart.Element.extend({
1287
- draw : function(){
1288
-
1289
- var ctx = this.chart.ctx;
1290
-
1291
- ctx.font = fontString(this.fontSize,this.fontStyle,this.fontFamily);
1292
-
1293
- this.xAlign = "center";
1294
- this.yAlign = "above";
1295
-
1296
- //Distance between the actual element.y position and the start of the tooltip caret
1297
- var caretPadding = this.caretPadding = 2;
1298
-
1299
- var tooltipWidth = ctx.measureText(this.text).width + 2*this.xPadding,
1300
- tooltipRectHeight = this.fontSize + 2*this.yPadding,
1301
- tooltipHeight = tooltipRectHeight + this.caretHeight + caretPadding;
1302
-
1303
- if (this.x + tooltipWidth/2 >this.chart.width){
1304
- this.xAlign = "left";
1305
- } else if (this.x - tooltipWidth/2 < 0){
1306
- this.xAlign = "right";
1307
- }
1308
-
1309
- if (this.y - tooltipHeight < 0){
1310
- this.yAlign = "below";
1311
- }
1312
-
1313
-
1314
- var tooltipX = this.x - tooltipWidth/2,
1315
- tooltipY = this.y - tooltipHeight;
1316
-
1317
- ctx.fillStyle = this.fillColor;
1318
-
1319
- // Custom Tooltips
1320
- if(this.custom){
1321
- this.custom(this);
1322
- }
1323
- else{
1324
- switch(this.yAlign)
1325
- {
1326
- case "above":
1327
- //Draw a caret above the x/y
1328
- ctx.beginPath();
1329
- ctx.moveTo(this.x,this.y - caretPadding);
1330
- ctx.lineTo(this.x + this.caretHeight, this.y - (caretPadding + this.caretHeight));
1331
- ctx.lineTo(this.x - this.caretHeight, this.y - (caretPadding + this.caretHeight));
1332
- ctx.closePath();
1333
- ctx.fill();
1334
- break;
1335
- case "below":
1336
- tooltipY = this.y + caretPadding + this.caretHeight;
1337
- //Draw a caret below the x/y
1338
- ctx.beginPath();
1339
- ctx.moveTo(this.x, this.y + caretPadding);
1340
- ctx.lineTo(this.x + this.caretHeight, this.y + caretPadding + this.caretHeight);
1341
- ctx.lineTo(this.x - this.caretHeight, this.y + caretPadding + this.caretHeight);
1342
- ctx.closePath();
1343
- ctx.fill();
1344
- break;
1345
- }
1346
-
1347
- switch(this.xAlign)
1348
- {
1349
- case "left":
1350
- tooltipX = this.x - tooltipWidth + (this.cornerRadius + this.caretHeight);
1351
- break;
1352
- case "right":
1353
- tooltipX = this.x - (this.cornerRadius + this.caretHeight);
1354
- break;
1355
- }
1356
-
1357
- drawRoundedRectangle(ctx,tooltipX,tooltipY,tooltipWidth,tooltipRectHeight,this.cornerRadius);
1358
-
1359
- ctx.fill();
1360
-
1361
- ctx.fillStyle = this.textColor;
1362
- ctx.textAlign = "center";
1363
- ctx.textBaseline = "middle";
1364
- ctx.fillText(this.text, tooltipX + tooltipWidth/2, tooltipY + tooltipRectHeight/2);
1365
- }
1366
- }
1367
- });
1368
-
1369
- Chart.MultiTooltip = Chart.Element.extend({
1370
- initialize : function(){
1371
- this.font = fontString(this.fontSize,this.fontStyle,this.fontFamily);
1372
-
1373
- this.titleFont = fontString(this.titleFontSize,this.titleFontStyle,this.titleFontFamily);
1374
-
1375
- this.height = (this.labels.length * this.fontSize) + ((this.labels.length-1) * (this.fontSize/2)) + (this.yPadding*2) + this.titleFontSize *1.5;
1376
-
1377
- this.ctx.font = this.titleFont;
1378
-
1379
- var titleWidth = this.ctx.measureText(this.title).width,
1380
- //Label has a legend square as well so account for this.
1381
- labelWidth = longestText(this.ctx,this.font,this.labels) + this.fontSize + 3,
1382
- longestTextWidth = max([labelWidth,titleWidth]);
1383
-
1384
- this.width = longestTextWidth + (this.xPadding*2);
1385
-
1386
-
1387
- var halfHeight = this.height/2;
1388
-
1389
- //Check to ensure the height will fit on the canvas
1390
- if (this.y - halfHeight < 0 ){
1391
- this.y = halfHeight;
1392
- } else if (this.y + halfHeight > this.chart.height){
1393
- this.y = this.chart.height - halfHeight;
1394
- }
1395
-
1396
- //Decide whether to align left or right based on position on canvas
1397
- if (this.x > this.chart.width/2){
1398
- this.x -= this.xOffset + this.width;
1399
- } else {
1400
- this.x += this.xOffset;
1401
- }
1402
-
1403
-
1404
- },
1405
- getLineHeight : function(index){
1406
- var baseLineHeight = this.y - (this.height/2) + this.yPadding,
1407
- afterTitleIndex = index-1;
1408
-
1409
- //If the index is zero, we're getting the title
1410
- if (index === 0){
1411
- return baseLineHeight + this.titleFontSize/2;
1412
- } else{
1413
- return baseLineHeight + ((this.fontSize*1.5*afterTitleIndex) + this.fontSize/2) + this.titleFontSize * 1.5;
1414
- }
1415
-
1416
- },
1417
- draw : function(){
1418
- // Custom Tooltips
1419
- if(this.custom){
1420
- this.custom(this);
1421
- }
1422
- else{
1423
- drawRoundedRectangle(this.ctx,this.x,this.y - this.height/2,this.width,this.height,this.cornerRadius);
1424
- var ctx = this.ctx;
1425
- ctx.fillStyle = this.fillColor;
1426
- ctx.fill();
1427
- ctx.closePath();
1428
-
1429
- ctx.textAlign = "left";
1430
- ctx.textBaseline = "middle";
1431
- ctx.fillStyle = this.titleTextColor;
1432
- ctx.font = this.titleFont;
1433
-
1434
- ctx.fillText(this.title,this.x + this.xPadding, this.getLineHeight(0));
1435
-
1436
- ctx.font = this.font;
1437
- helpers.each(this.labels,function(label,index){
1438
- ctx.fillStyle = this.textColor;
1439
- ctx.fillText(label,this.x + this.xPadding + this.fontSize + 3, this.getLineHeight(index + 1));
1440
-
1441
- //A bit gnarly, but clearing this rectangle breaks when using explorercanvas (clears whole canvas)
1442
- //ctx.clearRect(this.x + this.xPadding, this.getLineHeight(index + 1) - this.fontSize/2, this.fontSize, this.fontSize);
1443
- //Instead we'll make a white filled block to put the legendColour palette over.
1444
-
1445
- ctx.fillStyle = this.legendColorBackground;
1446
- ctx.fillRect(this.x + this.xPadding, this.getLineHeight(index + 1) - this.fontSize/2, this.fontSize, this.fontSize);
1447
-
1448
- ctx.fillStyle = this.legendColors[index].fill;
1449
- ctx.fillRect(this.x + this.xPadding, this.getLineHeight(index + 1) - this.fontSize/2, this.fontSize, this.fontSize);
1450
-
1451
-
1452
- },this);
1453
- }
1454
- }
1455
- });
1456
-
1457
- Chart.Scale = Chart.Element.extend({
1458
- initialize : function(){
1459
- this.fit();
1460
- },
1461
- buildYLabels : function(){
1462
- this.yLabels = [];
1463
-
1464
- var stepDecimalPlaces = getDecimalPlaces(this.stepValue);
1465
-
1466
- for (var i=0; i<=this.steps; i++){
1467
- this.yLabels.push(template(this.templateString,{value:(this.min + (i * this.stepValue)).toFixed(stepDecimalPlaces)}));
1468
- }
1469
- this.yLabelWidth = (this.display && this.showLabels) ? longestText(this.ctx,this.font,this.yLabels) : 0;
1470
- },
1471
- addXLabel : function(label){
1472
- this.xLabels.push(label);
1473
- this.valuesCount++;
1474
- this.fit();
1475
- },
1476
- removeXLabel : function(){
1477
- this.xLabels.shift();
1478
- this.valuesCount--;
1479
- this.fit();
1480
- },
1481
- // Fitting loop to rotate x Labels and figure out what fits there, and also calculate how many Y steps to use
1482
- fit: function(){
1483
- // First we need the width of the yLabels, assuming the xLabels aren't rotated
1484
-
1485
- // To do that we need the base line at the top and base of the chart, assuming there is no x label rotation
1486
- this.startPoint = (this.display) ? this.fontSize : 0;
1487
- this.endPoint = (this.display) ? this.height - (this.fontSize * 1.5) - 5 : this.height; // -5 to pad labels
1488
-
1489
- // Apply padding settings to the start and end point.
1490
- this.startPoint += this.padding;
1491
- this.endPoint -= this.padding;
1492
-
1493
- // Cache the starting height, so can determine if we need to recalculate the scale yAxis
1494
- var cachedHeight = this.endPoint - this.startPoint,
1495
- cachedYLabelWidth;
1496
-
1497
- // Build the current yLabels so we have an idea of what size they'll be to start
1498
- /*
1499
- * This sets what is returned from calculateScaleRange as static properties of this class:
1500
- *
1501
- this.steps;
1502
- this.stepValue;
1503
- this.min;
1504
- this.max;
1505
- *
1506
- */
1507
- this.calculateYRange(cachedHeight);
1508
-
1509
- // With these properties set we can now build the array of yLabels
1510
- // and also the width of the largest yLabel
1511
- this.buildYLabels();
1512
-
1513
- this.calculateXLabelRotation();
1514
-
1515
- while((cachedHeight > this.endPoint - this.startPoint)){
1516
- cachedHeight = this.endPoint - this.startPoint;
1517
- cachedYLabelWidth = this.yLabelWidth;
1518
-
1519
- this.calculateYRange(cachedHeight);
1520
- this.buildYLabels();
1521
-
1522
- // Only go through the xLabel loop again if the yLabel width has changed
1523
- if (cachedYLabelWidth < this.yLabelWidth){
1524
- this.calculateXLabelRotation();
1525
- }
1526
- }
1527
-
1528
- },
1529
- calculateXLabelRotation : function(){
1530
- //Get the width of each grid by calculating the difference
1531
- //between x offsets between 0 and 1.
1532
-
1533
- this.ctx.font = this.font;
1534
-
1535
- var firstWidth = this.ctx.measureText(this.xLabels[0]).width,
1536
- lastWidth = this.ctx.measureText(this.xLabels[this.xLabels.length - 1]).width,
1537
- firstRotated,
1538
- lastRotated;
1539
-
1540
-
1541
- this.xScalePaddingRight = lastWidth/2 + 3;
1542
- this.xScalePaddingLeft = (firstWidth/2 > this.yLabelWidth + 10) ? firstWidth/2 : this.yLabelWidth + 10;
1543
-
1544
- this.xLabelRotation = 0;
1545
- if (this.display){
1546
- var originalLabelWidth = longestText(this.ctx,this.font,this.xLabels),
1547
- cosRotation,
1548
- firstRotatedWidth;
1549
- this.xLabelWidth = originalLabelWidth;
1550
- //Allow 3 pixels x2 padding either side for label readability
1551
- var xGridWidth = Math.floor(this.calculateX(1) - this.calculateX(0)) - 6;
1552
-
1553
- //Max label rotate should be 90 - also act as a loop counter
1554
- while ((this.xLabelWidth > xGridWidth && this.xLabelRotation === 0) || (this.xLabelWidth > xGridWidth && this.xLabelRotation <= 90 && this.xLabelRotation > 0)){
1555
- cosRotation = Math.cos(toRadians(this.xLabelRotation));
1556
-
1557
- firstRotated = cosRotation * firstWidth;
1558
- lastRotated = cosRotation * lastWidth;
1559
-
1560
- // We're right aligning the text now.
1561
- if (firstRotated + this.fontSize / 2 > this.yLabelWidth + 8){
1562
- this.xScalePaddingLeft = firstRotated + this.fontSize / 2;
1563
- }
1564
- this.xScalePaddingRight = this.fontSize/2;
1565
-
1566
-
1567
- this.xLabelRotation++;
1568
- this.xLabelWidth = cosRotation * originalLabelWidth;
1569
-
1570
- }
1571
- if (this.xLabelRotation > 0){
1572
- this.endPoint -= Math.sin(toRadians(this.xLabelRotation))*originalLabelWidth + 3;
1573
- }
1574
- }
1575
- else{
1576
- this.xLabelWidth = 0;
1577
- this.xScalePaddingRight = this.padding;
1578
- this.xScalePaddingLeft = this.padding;
1579
- }
1580
-
1581
- },
1582
- // Needs to be overidden in each Chart type
1583
- // Otherwise we need to pass all the data into the scale class
1584
- calculateYRange: noop,
1585
- drawingArea: function(){
1586
- return this.startPoint - this.endPoint;
1587
- },
1588
- calculateY : function(value){
1589
- var scalingFactor = this.drawingArea() / (this.min - this.max);
1590
- return this.endPoint - (scalingFactor * (value - this.min));
1591
- },
1592
- calculateX : function(index){
1593
- var isRotated = (this.xLabelRotation > 0),
1594
- // innerWidth = (this.offsetGridLines) ? this.width - offsetLeft - this.padding : this.width - (offsetLeft + halfLabelWidth * 2) - this.padding,
1595
- innerWidth = this.width - (this.xScalePaddingLeft + this.xScalePaddingRight),
1596
- valueWidth = innerWidth/Math.max((this.valuesCount - ((this.offsetGridLines) ? 0 : 1)), 1),
1597
- valueOffset = (valueWidth * index) + this.xScalePaddingLeft;
1598
-
1599
- if (this.offsetGridLines){
1600
- valueOffset += (valueWidth/2);
1601
- }
1602
-
1603
- return Math.round(valueOffset);
1604
- },
1605
- update : function(newProps){
1606
- helpers.extend(this, newProps);
1607
- this.fit();
1608
- },
1609
- draw : function(){
1610
- var ctx = this.ctx,
1611
- yLabelGap = (this.endPoint - this.startPoint) / this.steps,
1612
- xStart = Math.round(this.xScalePaddingLeft);
1613
- if (this.display){
1614
- ctx.fillStyle = this.textColor;
1615
- ctx.font = this.font;
1616
- each(this.yLabels,function(labelString,index){
1617
- var yLabelCenter = this.endPoint - (yLabelGap * index),
1618
- linePositionY = Math.round(yLabelCenter),
1619
- drawHorizontalLine = this.showHorizontalLines;
1620
-
1621
- ctx.textAlign = "right";
1622
- ctx.textBaseline = "middle";
1623
- if (this.showLabels){
1624
- ctx.fillText(labelString,xStart - 10,yLabelCenter);
1625
- }
1626
-
1627
- // This is X axis, so draw it
1628
- if (index === 0 && !drawHorizontalLine){
1629
- drawHorizontalLine = true;
1630
- }
1631
-
1632
- if (drawHorizontalLine){
1633
- ctx.beginPath();
1634
- }
1635
-
1636
- if (index > 0){
1637
- // This is a grid line in the centre, so drop that
1638
- ctx.lineWidth = this.gridLineWidth;
1639
- ctx.strokeStyle = this.gridLineColor;
1640
- } else {
1641
- // This is the first line on the scale
1642
- ctx.lineWidth = this.lineWidth;
1643
- ctx.strokeStyle = this.lineColor;
1644
- }
1645
-
1646
- linePositionY += helpers.aliasPixel(ctx.lineWidth);
1647
-
1648
- if(drawHorizontalLine){
1649
- ctx.moveTo(xStart, linePositionY);
1650
- ctx.lineTo(this.width, linePositionY);
1651
- ctx.stroke();
1652
- ctx.closePath();
1653
- }
1654
-
1655
- ctx.lineWidth = this.lineWidth;
1656
- ctx.strokeStyle = this.lineColor;
1657
- ctx.beginPath();
1658
- ctx.moveTo(xStart - 5, linePositionY);
1659
- ctx.lineTo(xStart, linePositionY);
1660
- ctx.stroke();
1661
- ctx.closePath();
1662
-
1663
- },this);
1664
-
1665
- each(this.xLabels,function(label,index){
1666
- var xPos = this.calculateX(index) + aliasPixel(this.lineWidth),
1667
- // Check to see if line/bar here and decide where to place the line
1668
- linePos = this.calculateX(index - (this.offsetGridLines ? 0.5 : 0)) + aliasPixel(this.lineWidth),
1669
- isRotated = (this.xLabelRotation > 0),
1670
- drawVerticalLine = this.showVerticalLines;
1671
-
1672
- // This is Y axis, so draw it
1673
- if (index === 0 && !drawVerticalLine){
1674
- drawVerticalLine = true;
1675
- }
1676
-
1677
- if (drawVerticalLine){
1678
- ctx.beginPath();
1679
- }
1680
-
1681
- if (index > 0){
1682
- // This is a grid line in the centre, so drop that
1683
- ctx.lineWidth = this.gridLineWidth;
1684
- ctx.strokeStyle = this.gridLineColor;
1685
- } else {
1686
- // This is the first line on the scale
1687
- ctx.lineWidth = this.lineWidth;
1688
- ctx.strokeStyle = this.lineColor;
1689
- }
1690
-
1691
- if (drawVerticalLine){
1692
- ctx.moveTo(linePos,this.endPoint);
1693
- ctx.lineTo(linePos,this.startPoint - 3);
1694
- ctx.stroke();
1695
- ctx.closePath();
1696
- }
1697
-
1698
-
1699
- ctx.lineWidth = this.lineWidth;
1700
- ctx.strokeStyle = this.lineColor;
1701
-
1702
-
1703
- // Small lines at the bottom of the base grid line
1704
- ctx.beginPath();
1705
- ctx.moveTo(linePos,this.endPoint);
1706
- ctx.lineTo(linePos,this.endPoint + 5);
1707
- ctx.stroke();
1708
- ctx.closePath();
1709
-
1710
- ctx.save();
1711
- ctx.translate(xPos,(isRotated) ? this.endPoint + 12 : this.endPoint + 8);
1712
- ctx.rotate(toRadians(this.xLabelRotation)*-1);
1713
- ctx.font = this.font;
1714
- ctx.textAlign = (isRotated) ? "right" : "center";
1715
- ctx.textBaseline = (isRotated) ? "middle" : "top";
1716
- ctx.fillText(label, 0, 0);
1717
- ctx.restore();
1718
- },this);
1719
-
1720
- }
1721
- }
1722
-
1723
- });
1724
-
1725
- Chart.RadialScale = Chart.Element.extend({
1726
- initialize: function(){
1727
- this.size = min([this.height, this.width]);
1728
- this.drawingArea = (this.display) ? (this.size/2) - (this.fontSize/2 + this.backdropPaddingY) : (this.size/2);
1729
- },
1730
- calculateCenterOffset: function(value){
1731
- // Take into account half font size + the yPadding of the top value
1732
- var scalingFactor = this.drawingArea / (this.max - this.min);
1733
-
1734
- return (value - this.min) * scalingFactor;
1735
- },
1736
- update : function(){
1737
- if (!this.lineArc){
1738
- this.setScaleSize();
1739
- } else {
1740
- this.drawingArea = (this.display) ? (this.size/2) - (this.fontSize/2 + this.backdropPaddingY) : (this.size/2);
1741
- }
1742
- this.buildYLabels();
1743
- },
1744
- buildYLabels: function(){
1745
- this.yLabels = [];
1746
-
1747
- var stepDecimalPlaces = getDecimalPlaces(this.stepValue);
1748
-
1749
- for (var i=0; i<=this.steps; i++){
1750
- this.yLabels.push(template(this.templateString,{value:(this.min + (i * this.stepValue)).toFixed(stepDecimalPlaces)}));
1751
- }
1752
- },
1753
- getCircumference : function(){
1754
- return ((Math.PI*2) / this.valuesCount);
1755
- },
1756
- setScaleSize: function(){
1757
- /*
1758
- * Right, this is really confusing and there is a lot of maths going on here
1759
- * The gist of the problem is here: https://gist.github.com/nnnick/696cc9c55f4b0beb8fe9
1760
- *
1761
- * Reaction: https://dl.dropboxusercontent.com/u/34601363/toomuchscience.gif
1762
- *
1763
- * Solution:
1764
- *
1765
- * We assume the radius of the polygon is half the size of the canvas at first
1766
- * at each index we check if the text overlaps.
1767
- *
1768
- * Where it does, we store that angle and that index.
1769
- *
1770
- * After finding the largest index and angle we calculate how much we need to remove
1771
- * from the shape radius to move the point inwards by that x.
1772
- *
1773
- * We average the left and right distances to get the maximum shape radius that can fit in the box
1774
- * along with labels.
1775
- *
1776
- * Once we have that, we can find the centre point for the chart, by taking the x text protrusion
1777
- * on each side, removing that from the size, halving it and adding the left x protrusion width.
1778
- *
1779
- * This will mean we have a shape fitted to the canvas, as large as it can be with the labels
1780
- * and position it in the most space efficient manner
1781
- *
1782
- * https://dl.dropboxusercontent.com/u/34601363/yeahscience.gif
1783
- */
1784
-
1785
-
1786
- // Get maximum radius of the polygon. Either half the height (minus the text width) or half the width.
1787
- // Use this to calculate the offset + change. - Make sure L/R protrusion is at least 0 to stop issues with centre points
1788
- var largestPossibleRadius = min([(this.height/2 - this.pointLabelFontSize - 5), this.width/2]),
1789
- pointPosition,
1790
- i,
1791
- textWidth,
1792
- halfTextWidth,
1793
- furthestRight = this.width,
1794
- furthestRightIndex,
1795
- furthestRightAngle,
1796
- furthestLeft = 0,
1797
- furthestLeftIndex,
1798
- furthestLeftAngle,
1799
- xProtrusionLeft,
1800
- xProtrusionRight,
1801
- radiusReductionRight,
1802
- radiusReductionLeft,
1803
- maxWidthRadius;
1804
- this.ctx.font = fontString(this.pointLabelFontSize,this.pointLabelFontStyle,this.pointLabelFontFamily);
1805
- for (i=0;i<this.valuesCount;i++){
1806
- // 5px to space the text slightly out - similar to what we do in the draw function.
1807
- pointPosition = this.getPointPosition(i, largestPossibleRadius);
1808
- textWidth = this.ctx.measureText(template(this.templateString, { value: this.labels[i] })).width + 5;
1809
- if (i === 0 || i === this.valuesCount/2){
1810
- // If we're at index zero, or exactly the middle, we're at exactly the top/bottom
1811
- // of the radar chart, so text will be aligned centrally, so we'll half it and compare
1812
- // w/left and right text sizes
1813
- halfTextWidth = textWidth/2;
1814
- if (pointPosition.x + halfTextWidth > furthestRight) {
1815
- furthestRight = pointPosition.x + halfTextWidth;
1816
- furthestRightIndex = i;
1817
- }
1818
- if (pointPosition.x - halfTextWidth < furthestLeft) {
1819
- furthestLeft = pointPosition.x - halfTextWidth;
1820
- furthestLeftIndex = i;
1821
- }
1822
- }
1823
- else if (i < this.valuesCount/2) {
1824
- // Less than half the values means we'll left align the text
1825
- if (pointPosition.x + textWidth > furthestRight) {
1826
- furthestRight = pointPosition.x + textWidth;
1827
- furthestRightIndex = i;
1828
- }
1829
- }
1830
- else if (i > this.valuesCount/2){
1831
- // More than half the values means we'll right align the text
1832
- if (pointPosition.x - textWidth < furthestLeft) {
1833
- furthestLeft = pointPosition.x - textWidth;
1834
- furthestLeftIndex = i;
1835
- }
1836
- }
1837
- }
1838
-
1839
- xProtrusionLeft = furthestLeft;
1840
-
1841
- xProtrusionRight = Math.ceil(furthestRight - this.width);
1842
-
1843
- furthestRightAngle = this.getIndexAngle(furthestRightIndex);
1844
-
1845
- furthestLeftAngle = this.getIndexAngle(furthestLeftIndex);
1846
-
1847
- radiusReductionRight = xProtrusionRight / Math.sin(furthestRightAngle + Math.PI/2);
1848
-
1849
- radiusReductionLeft = xProtrusionLeft / Math.sin(furthestLeftAngle + Math.PI/2);
1850
-
1851
- // Ensure we actually need to reduce the size of the chart
1852
- radiusReductionRight = (isNumber(radiusReductionRight)) ? radiusReductionRight : 0;
1853
- radiusReductionLeft = (isNumber(radiusReductionLeft)) ? radiusReductionLeft : 0;
1854
-
1855
- this.drawingArea = largestPossibleRadius - (radiusReductionLeft + radiusReductionRight)/2;
1856
-
1857
- //this.drawingArea = min([maxWidthRadius, (this.height - (2 * (this.pointLabelFontSize + 5)))/2])
1858
- this.setCenterPoint(radiusReductionLeft, radiusReductionRight);
1859
-
1860
- },
1861
- setCenterPoint: function(leftMovement, rightMovement){
1862
-
1863
- var maxRight = this.width - rightMovement - this.drawingArea,
1864
- maxLeft = leftMovement + this.drawingArea;
1865
-
1866
- this.xCenter = (maxLeft + maxRight)/2;
1867
- // Always vertically in the centre as the text height doesn't change
1868
- this.yCenter = (this.height/2);
1869
- },
1870
-
1871
- getIndexAngle : function(index){
1872
- var angleMultiplier = (Math.PI * 2) / this.valuesCount;
1873
- // Start from the top instead of right, so remove a quarter of the circle
1874
-
1875
- return index * angleMultiplier - (Math.PI/2);
1876
- },
1877
- getPointPosition : function(index, distanceFromCenter){
1878
- var thisAngle = this.getIndexAngle(index);
1879
- return {
1880
- x : (Math.cos(thisAngle) * distanceFromCenter) + this.xCenter,
1881
- y : (Math.sin(thisAngle) * distanceFromCenter) + this.yCenter
1882
- };
1883
- },
1884
- draw: function(){
1885
- if (this.display){
1886
- var ctx = this.ctx;
1887
- each(this.yLabels, function(label, index){
1888
- // Don't draw a centre value
1889
- if (index > 0){
1890
- var yCenterOffset = index * (this.drawingArea/this.steps),
1891
- yHeight = this.yCenter - yCenterOffset,
1892
- pointPosition;
1893
-
1894
- // Draw circular lines around the scale
1895
- if (this.lineWidth > 0){
1896
- ctx.strokeStyle = this.lineColor;
1897
- ctx.lineWidth = this.lineWidth;
1898
-
1899
- if(this.lineArc){
1900
- ctx.beginPath();
1901
- ctx.arc(this.xCenter, this.yCenter, yCenterOffset, 0, Math.PI*2);
1902
- ctx.closePath();
1903
- ctx.stroke();
1904
- } else{
1905
- ctx.beginPath();
1906
- for (var i=0;i<this.valuesCount;i++)
1907
- {
1908
- pointPosition = this.getPointPosition(i, this.calculateCenterOffset(this.min + (index * this.stepValue)));
1909
- if (i === 0){
1910
- ctx.moveTo(pointPosition.x, pointPosition.y);
1911
- } else {
1912
- ctx.lineTo(pointPosition.x, pointPosition.y);
1913
- }
1914
- }
1915
- ctx.closePath();
1916
- ctx.stroke();
1917
- }
1918
- }
1919
- if(this.showLabels){
1920
- ctx.font = fontString(this.fontSize,this.fontStyle,this.fontFamily);
1921
- if (this.showLabelBackdrop){
1922
- var labelWidth = ctx.measureText(label).width;
1923
- ctx.fillStyle = this.backdropColor;
1924
- ctx.fillRect(
1925
- this.xCenter - labelWidth/2 - this.backdropPaddingX,
1926
- yHeight - this.fontSize/2 - this.backdropPaddingY,
1927
- labelWidth + this.backdropPaddingX*2,
1928
- this.fontSize + this.backdropPaddingY*2
1929
- );
1930
- }
1931
- ctx.textAlign = 'center';
1932
- ctx.textBaseline = "middle";
1933
- ctx.fillStyle = this.fontColor;
1934
- ctx.fillText(label, this.xCenter, yHeight);
1935
- }
1936
- }
1937
- }, this);
1938
-
1939
- if (!this.lineArc){
1940
- ctx.lineWidth = this.angleLineWidth;
1941
- ctx.strokeStyle = this.angleLineColor;
1942
- for (var i = this.valuesCount - 1; i >= 0; i--) {
1943
- if (this.angleLineWidth > 0){
1944
- var outerPosition = this.getPointPosition(i, this.calculateCenterOffset(this.max));
1945
- ctx.beginPath();
1946
- ctx.moveTo(this.xCenter, this.yCenter);
1947
- ctx.lineTo(outerPosition.x, outerPosition.y);
1948
- ctx.stroke();
1949
- ctx.closePath();
1950
- }
1951
- // Extra 3px out for some label spacing
1952
- var pointLabelPosition = this.getPointPosition(i, this.calculateCenterOffset(this.max) + 5);
1953
- ctx.font = fontString(this.pointLabelFontSize,this.pointLabelFontStyle,this.pointLabelFontFamily);
1954
- ctx.fillStyle = this.pointLabelFontColor;
1955
-
1956
- var labelsCount = this.labels.length,
1957
- halfLabelsCount = this.labels.length/2,
1958
- quarterLabelsCount = halfLabelsCount/2,
1959
- upperHalf = (i < quarterLabelsCount || i > labelsCount - quarterLabelsCount),
1960
- exactQuarter = (i === quarterLabelsCount || i === labelsCount - quarterLabelsCount);
1961
- if (i === 0){
1962
- ctx.textAlign = 'center';
1963
- } else if(i === halfLabelsCount){
1964
- ctx.textAlign = 'center';
1965
- } else if (i < halfLabelsCount){
1966
- ctx.textAlign = 'left';
1967
- } else {
1968
- ctx.textAlign = 'right';
1969
- }
1970
-
1971
- // Set the correct text baseline based on outer positioning
1972
- if (exactQuarter){
1973
- ctx.textBaseline = 'middle';
1974
- } else if (upperHalf){
1975
- ctx.textBaseline = 'bottom';
1976
- } else {
1977
- ctx.textBaseline = 'top';
1978
- }
1979
-
1980
- ctx.fillText(this.labels[i], pointLabelPosition.x, pointLabelPosition.y);
1981
- }
1982
- }
1983
- }
1984
- }
1985
- });
1986
-
1987
- // Attach global event to resize each chart instance when the browser resizes
1988
- helpers.addEvent(window, "resize", (function(){
1989
- // Basic debounce of resize function so it doesn't hurt performance when resizing browser.
1990
- var timeout;
1991
- return function(){
1992
- clearTimeout(timeout);
1993
- timeout = setTimeout(function(){
1994
- each(Chart.instances,function(instance){
1995
- // If the responsive flag is set in the chart instance config
1996
- // Cascade the resize event down to the chart.
1997
- if (instance.options.responsive){
1998
- instance.resize(instance.render, true);
1999
- }
2000
- });
2001
- }, 50);
2002
- };
2003
- })());
2004
-
2005
-
2006
- if (amd) {
2007
- define(function(){
2008
- return Chart;
2009
- });
2010
- } else if (typeof module === 'object' && module.exports) {
2011
- module.exports = Chart;
2012
- }
2013
-
2014
- root.Chart = Chart;
2015
-
2016
- Chart.noConflict = function(){
2017
- root.Chart = previous;
2018
- return Chart;
2019
- };
2020
-
2021
- }).call(this);