wijmo 5.20261.45-nightly.d20260106.t035854 → 5.20261.45-nightly.d20260106.t072437

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 (1113) hide show
  1. package/cultures/wijmo.culture.ar-AE.js +1 -1
  2. package/cultures/wijmo.culture.ar-SA.js +1 -1
  3. package/cultures/wijmo.culture.bg.js +1 -1
  4. package/cultures/wijmo.culture.ca.js +1 -1
  5. package/cultures/wijmo.culture.cs.js +1 -1
  6. package/cultures/wijmo.culture.da.js +1 -1
  7. package/cultures/wijmo.culture.de-CH.js +1 -1
  8. package/cultures/wijmo.culture.de.js +1 -1
  9. package/cultures/wijmo.culture.el.js +1 -1
  10. package/cultures/wijmo.culture.en-CA.js +1 -1
  11. package/cultures/wijmo.culture.en-GB.js +1 -1
  12. package/cultures/wijmo.culture.en.js +1 -1
  13. package/cultures/wijmo.culture.es-419.js +1 -1
  14. package/cultures/wijmo.culture.es-MX.js +1 -1
  15. package/cultures/wijmo.culture.es.js +1 -1
  16. package/cultures/wijmo.culture.et.js +1 -1
  17. package/cultures/wijmo.culture.eu.js +1 -1
  18. package/cultures/wijmo.culture.fi.js +1 -1
  19. package/cultures/wijmo.culture.fr-CA.js +1 -1
  20. package/cultures/wijmo.culture.fr.js +1 -1
  21. package/cultures/wijmo.culture.gl.js +1 -1
  22. package/cultures/wijmo.culture.he.js +1 -1
  23. package/cultures/wijmo.culture.hi.js +1 -1
  24. package/cultures/wijmo.culture.hr.js +1 -1
  25. package/cultures/wijmo.culture.hu.js +1 -1
  26. package/cultures/wijmo.culture.id.js +1 -1
  27. package/cultures/wijmo.culture.it.js +1 -1
  28. package/cultures/wijmo.culture.ja.js +1 -1
  29. package/cultures/wijmo.culture.kk.js +1 -1
  30. package/cultures/wijmo.culture.ko.js +1 -1
  31. package/cultures/wijmo.culture.lt.js +1 -1
  32. package/cultures/wijmo.culture.lv.js +1 -1
  33. package/cultures/wijmo.culture.mn-MN.js +1 -1
  34. package/cultures/wijmo.culture.nl.js +1 -1
  35. package/cultures/wijmo.culture.no.js +1 -1
  36. package/cultures/wijmo.culture.pl.js +1 -1
  37. package/cultures/wijmo.culture.pt.js +1 -1
  38. package/cultures/wijmo.culture.ro.js +1 -1
  39. package/cultures/wijmo.culture.ru.js +1 -1
  40. package/cultures/wijmo.culture.sk.js +1 -1
  41. package/cultures/wijmo.culture.sl.js +1 -1
  42. package/cultures/wijmo.culture.sr.js +1 -1
  43. package/cultures/wijmo.culture.sv.js +1 -1
  44. package/cultures/wijmo.culture.th.js +1 -1
  45. package/cultures/wijmo.culture.tr.js +1 -1
  46. package/cultures/wijmo.culture.uk.js +1 -1
  47. package/cultures/wijmo.culture.vi.js +1 -1
  48. package/cultures/wijmo.culture.zh-HK.js +1 -1
  49. package/cultures/wijmo.culture.zh-TW.js +1 -1
  50. package/cultures/wijmo.culture.zh.js +1 -1
  51. package/package.json +1 -1
  52. package/styles/misc/_constants.scss +1 -1
  53. package/styles/misc/_glyphs.scss +1 -1
  54. package/styles/misc/_mixins.scss +1 -1
  55. package/styles/misc/_variables.scss +1 -1
  56. package/styles/parts/_barcode.scss +1 -1
  57. package/styles/parts/_chart.scss +1 -1
  58. package/styles/parts/_chart_finance.scss +1 -1
  59. package/styles/parts/_chart_hierarchical.scss +1 -1
  60. package/styles/parts/_chart_interaction.scss +1 -1
  61. package/styles/parts/_chart_map.scss +1 -1
  62. package/styles/parts/_core.scss +1 -1
  63. package/styles/parts/_gauge.scss +1 -1
  64. package/styles/parts/_grid.scss +1 -1
  65. package/styles/parts/_grid_cellmaker.scss +1 -1
  66. package/styles/parts/_grid_filter.scss +1 -1
  67. package/styles/parts/_grid_grouppanel.scss +1 -1
  68. package/styles/parts/_grid_multirow.scss +1 -1
  69. package/styles/parts/_grid_search.scss +1 -1
  70. package/styles/parts/_grid_selector.scss +1 -1
  71. package/styles/parts/_grid_sheet.scss +1 -1
  72. package/styles/parts/_grid_transposed_multirow.scss +1 -1
  73. package/styles/parts/_input.scss +1 -1
  74. package/styles/parts/_labeled_input.scss +1 -1
  75. package/styles/parts/_nav.scss +1 -1
  76. package/styles/parts/_olap.scss +1 -1
  77. package/styles/parts/_viewer.scss +1 -1
  78. package/styles/themes/material/wijmo.theme.material.amber-blue.css +1 -1
  79. package/styles/themes/material/wijmo.theme.material.amber-blue.scss +1 -1
  80. package/styles/themes/material/wijmo.theme.material.amber-cyan.css +1 -1
  81. package/styles/themes/material/wijmo.theme.material.amber-cyan.scss +1 -1
  82. package/styles/themes/material/wijmo.theme.material.amber-deep_orange.css +1 -1
  83. package/styles/themes/material/wijmo.theme.material.amber-deep_orange.scss +1 -1
  84. package/styles/themes/material/wijmo.theme.material.amber-deep_purple.css +1 -1
  85. package/styles/themes/material/wijmo.theme.material.amber-deep_purple.scss +1 -1
  86. package/styles/themes/material/wijmo.theme.material.amber-green.css +1 -1
  87. package/styles/themes/material/wijmo.theme.material.amber-green.scss +1 -1
  88. package/styles/themes/material/wijmo.theme.material.amber-indigo.css +1 -1
  89. package/styles/themes/material/wijmo.theme.material.amber-indigo.scss +1 -1
  90. package/styles/themes/material/wijmo.theme.material.amber-light_blue.css +1 -1
  91. package/styles/themes/material/wijmo.theme.material.amber-light_blue.scss +1 -1
  92. package/styles/themes/material/wijmo.theme.material.amber-light_green.css +1 -1
  93. package/styles/themes/material/wijmo.theme.material.amber-light_green.scss +1 -1
  94. package/styles/themes/material/wijmo.theme.material.amber-lime.css +1 -1
  95. package/styles/themes/material/wijmo.theme.material.amber-lime.scss +1 -1
  96. package/styles/themes/material/wijmo.theme.material.amber-orange.css +1 -1
  97. package/styles/themes/material/wijmo.theme.material.amber-orange.scss +1 -1
  98. package/styles/themes/material/wijmo.theme.material.amber-pink.css +1 -1
  99. package/styles/themes/material/wijmo.theme.material.amber-pink.scss +1 -1
  100. package/styles/themes/material/wijmo.theme.material.amber-purple.css +1 -1
  101. package/styles/themes/material/wijmo.theme.material.amber-purple.scss +1 -1
  102. package/styles/themes/material/wijmo.theme.material.amber-red.css +1 -1
  103. package/styles/themes/material/wijmo.theme.material.amber-red.scss +1 -1
  104. package/styles/themes/material/wijmo.theme.material.amber-teal.css +1 -1
  105. package/styles/themes/material/wijmo.theme.material.amber-teal.scss +1 -1
  106. package/styles/themes/material/wijmo.theme.material.amber-yellow.css +1 -1
  107. package/styles/themes/material/wijmo.theme.material.amber-yellow.scss +1 -1
  108. package/styles/themes/material/wijmo.theme.material.blue-amber.css +1 -1
  109. package/styles/themes/material/wijmo.theme.material.blue-amber.scss +1 -1
  110. package/styles/themes/material/wijmo.theme.material.blue-cyan.css +1 -1
  111. package/styles/themes/material/wijmo.theme.material.blue-cyan.scss +1 -1
  112. package/styles/themes/material/wijmo.theme.material.blue-deep_orange.css +1 -1
  113. package/styles/themes/material/wijmo.theme.material.blue-deep_orange.scss +1 -1
  114. package/styles/themes/material/wijmo.theme.material.blue-deep_purple.css +1 -1
  115. package/styles/themes/material/wijmo.theme.material.blue-deep_purple.scss +1 -1
  116. package/styles/themes/material/wijmo.theme.material.blue-green.css +1 -1
  117. package/styles/themes/material/wijmo.theme.material.blue-green.scss +1 -1
  118. package/styles/themes/material/wijmo.theme.material.blue-indigo.css +1 -1
  119. package/styles/themes/material/wijmo.theme.material.blue-indigo.scss +1 -1
  120. package/styles/themes/material/wijmo.theme.material.blue-light_blue.css +1 -1
  121. package/styles/themes/material/wijmo.theme.material.blue-light_blue.scss +1 -1
  122. package/styles/themes/material/wijmo.theme.material.blue-light_green.css +1 -1
  123. package/styles/themes/material/wijmo.theme.material.blue-light_green.scss +1 -1
  124. package/styles/themes/material/wijmo.theme.material.blue-lime.css +1 -1
  125. package/styles/themes/material/wijmo.theme.material.blue-lime.scss +1 -1
  126. package/styles/themes/material/wijmo.theme.material.blue-orange.css +1 -1
  127. package/styles/themes/material/wijmo.theme.material.blue-orange.scss +1 -1
  128. package/styles/themes/material/wijmo.theme.material.blue-pink.css +1 -1
  129. package/styles/themes/material/wijmo.theme.material.blue-pink.scss +1 -1
  130. package/styles/themes/material/wijmo.theme.material.blue-purple.css +1 -1
  131. package/styles/themes/material/wijmo.theme.material.blue-purple.scss +1 -1
  132. package/styles/themes/material/wijmo.theme.material.blue-red.css +1 -1
  133. package/styles/themes/material/wijmo.theme.material.blue-red.scss +1 -1
  134. package/styles/themes/material/wijmo.theme.material.blue-teal.css +1 -1
  135. package/styles/themes/material/wijmo.theme.material.blue-teal.scss +1 -1
  136. package/styles/themes/material/wijmo.theme.material.blue-yellow.css +1 -1
  137. package/styles/themes/material/wijmo.theme.material.blue-yellow.scss +1 -1
  138. package/styles/themes/material/wijmo.theme.material.blue_grey-amber.css +1 -1
  139. package/styles/themes/material/wijmo.theme.material.blue_grey-amber.scss +1 -1
  140. package/styles/themes/material/wijmo.theme.material.blue_grey-blue.css +1 -1
  141. package/styles/themes/material/wijmo.theme.material.blue_grey-blue.scss +1 -1
  142. package/styles/themes/material/wijmo.theme.material.blue_grey-cyan.css +1 -1
  143. package/styles/themes/material/wijmo.theme.material.blue_grey-cyan.scss +1 -1
  144. package/styles/themes/material/wijmo.theme.material.blue_grey-deep_orange.css +1 -1
  145. package/styles/themes/material/wijmo.theme.material.blue_grey-deep_orange.scss +1 -1
  146. package/styles/themes/material/wijmo.theme.material.blue_grey-deep_purple.css +1 -1
  147. package/styles/themes/material/wijmo.theme.material.blue_grey-deep_purple.scss +1 -1
  148. package/styles/themes/material/wijmo.theme.material.blue_grey-green.css +1 -1
  149. package/styles/themes/material/wijmo.theme.material.blue_grey-green.scss +1 -1
  150. package/styles/themes/material/wijmo.theme.material.blue_grey-indigo.css +1 -1
  151. package/styles/themes/material/wijmo.theme.material.blue_grey-indigo.scss +1 -1
  152. package/styles/themes/material/wijmo.theme.material.blue_grey-light_blue.css +1 -1
  153. package/styles/themes/material/wijmo.theme.material.blue_grey-light_blue.scss +1 -1
  154. package/styles/themes/material/wijmo.theme.material.blue_grey-light_green.css +1 -1
  155. package/styles/themes/material/wijmo.theme.material.blue_grey-light_green.scss +1 -1
  156. package/styles/themes/material/wijmo.theme.material.blue_grey-lime.css +1 -1
  157. package/styles/themes/material/wijmo.theme.material.blue_grey-lime.scss +1 -1
  158. package/styles/themes/material/wijmo.theme.material.blue_grey-orange.css +1 -1
  159. package/styles/themes/material/wijmo.theme.material.blue_grey-orange.scss +1 -1
  160. package/styles/themes/material/wijmo.theme.material.blue_grey-pink.css +1 -1
  161. package/styles/themes/material/wijmo.theme.material.blue_grey-pink.scss +1 -1
  162. package/styles/themes/material/wijmo.theme.material.blue_grey-purple.css +1 -1
  163. package/styles/themes/material/wijmo.theme.material.blue_grey-purple.scss +1 -1
  164. package/styles/themes/material/wijmo.theme.material.blue_grey-red.css +1 -1
  165. package/styles/themes/material/wijmo.theme.material.blue_grey-red.scss +1 -1
  166. package/styles/themes/material/wijmo.theme.material.blue_grey-teal.css +1 -1
  167. package/styles/themes/material/wijmo.theme.material.blue_grey-teal.scss +1 -1
  168. package/styles/themes/material/wijmo.theme.material.blue_grey-yellow.css +1 -1
  169. package/styles/themes/material/wijmo.theme.material.blue_grey-yellow.scss +1 -1
  170. package/styles/themes/material/wijmo.theme.material.brown-amber.css +1 -1
  171. package/styles/themes/material/wijmo.theme.material.brown-amber.scss +1 -1
  172. package/styles/themes/material/wijmo.theme.material.brown-blue.css +1 -1
  173. package/styles/themes/material/wijmo.theme.material.brown-blue.scss +1 -1
  174. package/styles/themes/material/wijmo.theme.material.brown-cyan.css +1 -1
  175. package/styles/themes/material/wijmo.theme.material.brown-cyan.scss +1 -1
  176. package/styles/themes/material/wijmo.theme.material.brown-deep_orange.css +1 -1
  177. package/styles/themes/material/wijmo.theme.material.brown-deep_orange.scss +1 -1
  178. package/styles/themes/material/wijmo.theme.material.brown-deep_purple.css +1 -1
  179. package/styles/themes/material/wijmo.theme.material.brown-deep_purple.scss +1 -1
  180. package/styles/themes/material/wijmo.theme.material.brown-green.css +1 -1
  181. package/styles/themes/material/wijmo.theme.material.brown-green.scss +1 -1
  182. package/styles/themes/material/wijmo.theme.material.brown-indigo.css +1 -1
  183. package/styles/themes/material/wijmo.theme.material.brown-indigo.scss +1 -1
  184. package/styles/themes/material/wijmo.theme.material.brown-light_blue.css +1 -1
  185. package/styles/themes/material/wijmo.theme.material.brown-light_blue.scss +1 -1
  186. package/styles/themes/material/wijmo.theme.material.brown-light_green.css +1 -1
  187. package/styles/themes/material/wijmo.theme.material.brown-light_green.scss +1 -1
  188. package/styles/themes/material/wijmo.theme.material.brown-lime.css +1 -1
  189. package/styles/themes/material/wijmo.theme.material.brown-lime.scss +1 -1
  190. package/styles/themes/material/wijmo.theme.material.brown-orange.css +1 -1
  191. package/styles/themes/material/wijmo.theme.material.brown-orange.scss +1 -1
  192. package/styles/themes/material/wijmo.theme.material.brown-pink.css +1 -1
  193. package/styles/themes/material/wijmo.theme.material.brown-pink.scss +1 -1
  194. package/styles/themes/material/wijmo.theme.material.brown-purple.css +1 -1
  195. package/styles/themes/material/wijmo.theme.material.brown-purple.scss +1 -1
  196. package/styles/themes/material/wijmo.theme.material.brown-red.css +1 -1
  197. package/styles/themes/material/wijmo.theme.material.brown-red.scss +1 -1
  198. package/styles/themes/material/wijmo.theme.material.brown-teal.css +1 -1
  199. package/styles/themes/material/wijmo.theme.material.brown-teal.scss +1 -1
  200. package/styles/themes/material/wijmo.theme.material.brown-yellow.css +1 -1
  201. package/styles/themes/material/wijmo.theme.material.brown-yellow.scss +1 -1
  202. package/styles/themes/material/wijmo.theme.material.cyan-amber.css +1 -1
  203. package/styles/themes/material/wijmo.theme.material.cyan-amber.scss +1 -1
  204. package/styles/themes/material/wijmo.theme.material.cyan-blue.css +1 -1
  205. package/styles/themes/material/wijmo.theme.material.cyan-blue.scss +1 -1
  206. package/styles/themes/material/wijmo.theme.material.cyan-deep_orange.css +1 -1
  207. package/styles/themes/material/wijmo.theme.material.cyan-deep_orange.scss +1 -1
  208. package/styles/themes/material/wijmo.theme.material.cyan-deep_purple.css +1 -1
  209. package/styles/themes/material/wijmo.theme.material.cyan-deep_purple.scss +1 -1
  210. package/styles/themes/material/wijmo.theme.material.cyan-green.css +1 -1
  211. package/styles/themes/material/wijmo.theme.material.cyan-green.scss +1 -1
  212. package/styles/themes/material/wijmo.theme.material.cyan-indigo.css +1 -1
  213. package/styles/themes/material/wijmo.theme.material.cyan-indigo.scss +1 -1
  214. package/styles/themes/material/wijmo.theme.material.cyan-light_blue.css +1 -1
  215. package/styles/themes/material/wijmo.theme.material.cyan-light_blue.scss +1 -1
  216. package/styles/themes/material/wijmo.theme.material.cyan-light_green.css +1 -1
  217. package/styles/themes/material/wijmo.theme.material.cyan-light_green.scss +1 -1
  218. package/styles/themes/material/wijmo.theme.material.cyan-lime.css +1 -1
  219. package/styles/themes/material/wijmo.theme.material.cyan-lime.scss +1 -1
  220. package/styles/themes/material/wijmo.theme.material.cyan-orange.css +1 -1
  221. package/styles/themes/material/wijmo.theme.material.cyan-orange.scss +1 -1
  222. package/styles/themes/material/wijmo.theme.material.cyan-pink.css +1 -1
  223. package/styles/themes/material/wijmo.theme.material.cyan-pink.scss +1 -1
  224. package/styles/themes/material/wijmo.theme.material.cyan-purple.css +1 -1
  225. package/styles/themes/material/wijmo.theme.material.cyan-purple.scss +1 -1
  226. package/styles/themes/material/wijmo.theme.material.cyan-red.css +1 -1
  227. package/styles/themes/material/wijmo.theme.material.cyan-red.scss +1 -1
  228. package/styles/themes/material/wijmo.theme.material.cyan-teal.css +1 -1
  229. package/styles/themes/material/wijmo.theme.material.cyan-teal.scss +1 -1
  230. package/styles/themes/material/wijmo.theme.material.cyan-yellow.css +1 -1
  231. package/styles/themes/material/wijmo.theme.material.cyan-yellow.scss +1 -1
  232. package/styles/themes/material/wijmo.theme.material.deep_orange-amber.css +1 -1
  233. package/styles/themes/material/wijmo.theme.material.deep_orange-amber.scss +1 -1
  234. package/styles/themes/material/wijmo.theme.material.deep_orange-blue.css +1 -1
  235. package/styles/themes/material/wijmo.theme.material.deep_orange-blue.scss +1 -1
  236. package/styles/themes/material/wijmo.theme.material.deep_orange-cyan.css +1 -1
  237. package/styles/themes/material/wijmo.theme.material.deep_orange-cyan.scss +1 -1
  238. package/styles/themes/material/wijmo.theme.material.deep_orange-deep_purple.css +1 -1
  239. package/styles/themes/material/wijmo.theme.material.deep_orange-deep_purple.scss +1 -1
  240. package/styles/themes/material/wijmo.theme.material.deep_orange-green.css +1 -1
  241. package/styles/themes/material/wijmo.theme.material.deep_orange-green.scss +1 -1
  242. package/styles/themes/material/wijmo.theme.material.deep_orange-indigo.css +1 -1
  243. package/styles/themes/material/wijmo.theme.material.deep_orange-indigo.scss +1 -1
  244. package/styles/themes/material/wijmo.theme.material.deep_orange-light_blue.css +1 -1
  245. package/styles/themes/material/wijmo.theme.material.deep_orange-light_blue.scss +1 -1
  246. package/styles/themes/material/wijmo.theme.material.deep_orange-light_green.css +1 -1
  247. package/styles/themes/material/wijmo.theme.material.deep_orange-light_green.scss +1 -1
  248. package/styles/themes/material/wijmo.theme.material.deep_orange-lime.css +1 -1
  249. package/styles/themes/material/wijmo.theme.material.deep_orange-lime.scss +1 -1
  250. package/styles/themes/material/wijmo.theme.material.deep_orange-orange.css +1 -1
  251. package/styles/themes/material/wijmo.theme.material.deep_orange-orange.scss +1 -1
  252. package/styles/themes/material/wijmo.theme.material.deep_orange-pink.css +1 -1
  253. package/styles/themes/material/wijmo.theme.material.deep_orange-pink.scss +1 -1
  254. package/styles/themes/material/wijmo.theme.material.deep_orange-purple.css +1 -1
  255. package/styles/themes/material/wijmo.theme.material.deep_orange-purple.scss +1 -1
  256. package/styles/themes/material/wijmo.theme.material.deep_orange-red.css +1 -1
  257. package/styles/themes/material/wijmo.theme.material.deep_orange-red.scss +1 -1
  258. package/styles/themes/material/wijmo.theme.material.deep_orange-teal.css +1 -1
  259. package/styles/themes/material/wijmo.theme.material.deep_orange-teal.scss +1 -1
  260. package/styles/themes/material/wijmo.theme.material.deep_orange-yellow.css +1 -1
  261. package/styles/themes/material/wijmo.theme.material.deep_orange-yellow.scss +1 -1
  262. package/styles/themes/material/wijmo.theme.material.deep_purple-amber.css +1 -1
  263. package/styles/themes/material/wijmo.theme.material.deep_purple-amber.scss +1 -1
  264. package/styles/themes/material/wijmo.theme.material.deep_purple-blue.css +1 -1
  265. package/styles/themes/material/wijmo.theme.material.deep_purple-blue.scss +1 -1
  266. package/styles/themes/material/wijmo.theme.material.deep_purple-cyan.css +1 -1
  267. package/styles/themes/material/wijmo.theme.material.deep_purple-cyan.scss +1 -1
  268. package/styles/themes/material/wijmo.theme.material.deep_purple-deep_orange.css +1 -1
  269. package/styles/themes/material/wijmo.theme.material.deep_purple-deep_orange.scss +1 -1
  270. package/styles/themes/material/wijmo.theme.material.deep_purple-green.css +1 -1
  271. package/styles/themes/material/wijmo.theme.material.deep_purple-green.scss +1 -1
  272. package/styles/themes/material/wijmo.theme.material.deep_purple-indigo.css +1 -1
  273. package/styles/themes/material/wijmo.theme.material.deep_purple-indigo.scss +1 -1
  274. package/styles/themes/material/wijmo.theme.material.deep_purple-light_blue.css +1 -1
  275. package/styles/themes/material/wijmo.theme.material.deep_purple-light_blue.scss +1 -1
  276. package/styles/themes/material/wijmo.theme.material.deep_purple-light_green.css +1 -1
  277. package/styles/themes/material/wijmo.theme.material.deep_purple-light_green.scss +1 -1
  278. package/styles/themes/material/wijmo.theme.material.deep_purple-lime.css +1 -1
  279. package/styles/themes/material/wijmo.theme.material.deep_purple-lime.scss +1 -1
  280. package/styles/themes/material/wijmo.theme.material.deep_purple-orange.css +1 -1
  281. package/styles/themes/material/wijmo.theme.material.deep_purple-orange.scss +1 -1
  282. package/styles/themes/material/wijmo.theme.material.deep_purple-pink.css +1 -1
  283. package/styles/themes/material/wijmo.theme.material.deep_purple-pink.scss +1 -1
  284. package/styles/themes/material/wijmo.theme.material.deep_purple-purple.css +1 -1
  285. package/styles/themes/material/wijmo.theme.material.deep_purple-purple.scss +1 -1
  286. package/styles/themes/material/wijmo.theme.material.deep_purple-red.css +1 -1
  287. package/styles/themes/material/wijmo.theme.material.deep_purple-red.scss +1 -1
  288. package/styles/themes/material/wijmo.theme.material.deep_purple-teal.css +1 -1
  289. package/styles/themes/material/wijmo.theme.material.deep_purple-teal.scss +1 -1
  290. package/styles/themes/material/wijmo.theme.material.deep_purple-yellow.css +1 -1
  291. package/styles/themes/material/wijmo.theme.material.deep_purple-yellow.scss +1 -1
  292. package/styles/themes/material/wijmo.theme.material.green-amber.css +1 -1
  293. package/styles/themes/material/wijmo.theme.material.green-amber.scss +1 -1
  294. package/styles/themes/material/wijmo.theme.material.green-blue.css +1 -1
  295. package/styles/themes/material/wijmo.theme.material.green-blue.scss +1 -1
  296. package/styles/themes/material/wijmo.theme.material.green-cyan.css +1 -1
  297. package/styles/themes/material/wijmo.theme.material.green-cyan.scss +1 -1
  298. package/styles/themes/material/wijmo.theme.material.green-deep_orange.css +1 -1
  299. package/styles/themes/material/wijmo.theme.material.green-deep_orange.scss +1 -1
  300. package/styles/themes/material/wijmo.theme.material.green-deep_purple.css +1 -1
  301. package/styles/themes/material/wijmo.theme.material.green-deep_purple.scss +1 -1
  302. package/styles/themes/material/wijmo.theme.material.green-indigo.css +1 -1
  303. package/styles/themes/material/wijmo.theme.material.green-indigo.scss +1 -1
  304. package/styles/themes/material/wijmo.theme.material.green-light_blue.css +1 -1
  305. package/styles/themes/material/wijmo.theme.material.green-light_blue.scss +1 -1
  306. package/styles/themes/material/wijmo.theme.material.green-light_green.css +1 -1
  307. package/styles/themes/material/wijmo.theme.material.green-light_green.scss +1 -1
  308. package/styles/themes/material/wijmo.theme.material.green-lime.css +1 -1
  309. package/styles/themes/material/wijmo.theme.material.green-lime.scss +1 -1
  310. package/styles/themes/material/wijmo.theme.material.green-orange.css +1 -1
  311. package/styles/themes/material/wijmo.theme.material.green-orange.scss +1 -1
  312. package/styles/themes/material/wijmo.theme.material.green-pink.css +1 -1
  313. package/styles/themes/material/wijmo.theme.material.green-pink.scss +1 -1
  314. package/styles/themes/material/wijmo.theme.material.green-purple.css +1 -1
  315. package/styles/themes/material/wijmo.theme.material.green-purple.scss +1 -1
  316. package/styles/themes/material/wijmo.theme.material.green-red.css +1 -1
  317. package/styles/themes/material/wijmo.theme.material.green-red.scss +1 -1
  318. package/styles/themes/material/wijmo.theme.material.green-teal.css +1 -1
  319. package/styles/themes/material/wijmo.theme.material.green-teal.scss +1 -1
  320. package/styles/themes/material/wijmo.theme.material.green-yellow.css +1 -1
  321. package/styles/themes/material/wijmo.theme.material.green-yellow.scss +1 -1
  322. package/styles/themes/material/wijmo.theme.material.grey-amber.css +1 -1
  323. package/styles/themes/material/wijmo.theme.material.grey-amber.scss +1 -1
  324. package/styles/themes/material/wijmo.theme.material.grey-blue.css +1 -1
  325. package/styles/themes/material/wijmo.theme.material.grey-blue.scss +1 -1
  326. package/styles/themes/material/wijmo.theme.material.grey-cyan.css +1 -1
  327. package/styles/themes/material/wijmo.theme.material.grey-cyan.scss +1 -1
  328. package/styles/themes/material/wijmo.theme.material.grey-deep_orange.css +1 -1
  329. package/styles/themes/material/wijmo.theme.material.grey-deep_orange.scss +1 -1
  330. package/styles/themes/material/wijmo.theme.material.grey-deep_purple.css +1 -1
  331. package/styles/themes/material/wijmo.theme.material.grey-deep_purple.scss +1 -1
  332. package/styles/themes/material/wijmo.theme.material.grey-green.css +1 -1
  333. package/styles/themes/material/wijmo.theme.material.grey-green.scss +1 -1
  334. package/styles/themes/material/wijmo.theme.material.grey-indigo.css +1 -1
  335. package/styles/themes/material/wijmo.theme.material.grey-indigo.scss +1 -1
  336. package/styles/themes/material/wijmo.theme.material.grey-light_blue.css +1 -1
  337. package/styles/themes/material/wijmo.theme.material.grey-light_blue.scss +1 -1
  338. package/styles/themes/material/wijmo.theme.material.grey-light_green.css +1 -1
  339. package/styles/themes/material/wijmo.theme.material.grey-light_green.scss +1 -1
  340. package/styles/themes/material/wijmo.theme.material.grey-lime.css +1 -1
  341. package/styles/themes/material/wijmo.theme.material.grey-lime.scss +1 -1
  342. package/styles/themes/material/wijmo.theme.material.grey-orange.css +1 -1
  343. package/styles/themes/material/wijmo.theme.material.grey-orange.scss +1 -1
  344. package/styles/themes/material/wijmo.theme.material.grey-pink.css +1 -1
  345. package/styles/themes/material/wijmo.theme.material.grey-pink.scss +1 -1
  346. package/styles/themes/material/wijmo.theme.material.grey-purple.css +1 -1
  347. package/styles/themes/material/wijmo.theme.material.grey-purple.scss +1 -1
  348. package/styles/themes/material/wijmo.theme.material.grey-red.css +1 -1
  349. package/styles/themes/material/wijmo.theme.material.grey-red.scss +1 -1
  350. package/styles/themes/material/wijmo.theme.material.grey-teal.css +1 -1
  351. package/styles/themes/material/wijmo.theme.material.grey-teal.scss +1 -1
  352. package/styles/themes/material/wijmo.theme.material.grey-yellow.css +1 -1
  353. package/styles/themes/material/wijmo.theme.material.grey-yellow.scss +1 -1
  354. package/styles/themes/material/wijmo.theme.material.indigo-amber.css +1 -1
  355. package/styles/themes/material/wijmo.theme.material.indigo-amber.scss +1 -1
  356. package/styles/themes/material/wijmo.theme.material.indigo-blue.css +1 -1
  357. package/styles/themes/material/wijmo.theme.material.indigo-blue.scss +1 -1
  358. package/styles/themes/material/wijmo.theme.material.indigo-cyan.css +1 -1
  359. package/styles/themes/material/wijmo.theme.material.indigo-cyan.scss +1 -1
  360. package/styles/themes/material/wijmo.theme.material.indigo-deep_orange.css +1 -1
  361. package/styles/themes/material/wijmo.theme.material.indigo-deep_orange.scss +1 -1
  362. package/styles/themes/material/wijmo.theme.material.indigo-deep_purple.css +1 -1
  363. package/styles/themes/material/wijmo.theme.material.indigo-deep_purple.scss +1 -1
  364. package/styles/themes/material/wijmo.theme.material.indigo-green.css +1 -1
  365. package/styles/themes/material/wijmo.theme.material.indigo-green.scss +1 -1
  366. package/styles/themes/material/wijmo.theme.material.indigo-light_blue.css +1 -1
  367. package/styles/themes/material/wijmo.theme.material.indigo-light_blue.scss +1 -1
  368. package/styles/themes/material/wijmo.theme.material.indigo-light_green.css +1 -1
  369. package/styles/themes/material/wijmo.theme.material.indigo-light_green.scss +1 -1
  370. package/styles/themes/material/wijmo.theme.material.indigo-lime.css +1 -1
  371. package/styles/themes/material/wijmo.theme.material.indigo-lime.scss +1 -1
  372. package/styles/themes/material/wijmo.theme.material.indigo-orange.css +1 -1
  373. package/styles/themes/material/wijmo.theme.material.indigo-orange.scss +1 -1
  374. package/styles/themes/material/wijmo.theme.material.indigo-pink.css +1 -1
  375. package/styles/themes/material/wijmo.theme.material.indigo-pink.scss +1 -1
  376. package/styles/themes/material/wijmo.theme.material.indigo-purple.css +1 -1
  377. package/styles/themes/material/wijmo.theme.material.indigo-purple.scss +1 -1
  378. package/styles/themes/material/wijmo.theme.material.indigo-red.css +1 -1
  379. package/styles/themes/material/wijmo.theme.material.indigo-red.scss +1 -1
  380. package/styles/themes/material/wijmo.theme.material.indigo-teal.css +1 -1
  381. package/styles/themes/material/wijmo.theme.material.indigo-teal.scss +1 -1
  382. package/styles/themes/material/wijmo.theme.material.indigo-yellow.css +1 -1
  383. package/styles/themes/material/wijmo.theme.material.indigo-yellow.scss +1 -1
  384. package/styles/themes/material/wijmo.theme.material.light_blue-amber.css +1 -1
  385. package/styles/themes/material/wijmo.theme.material.light_blue-amber.scss +1 -1
  386. package/styles/themes/material/wijmo.theme.material.light_blue-blue.css +1 -1
  387. package/styles/themes/material/wijmo.theme.material.light_blue-blue.scss +1 -1
  388. package/styles/themes/material/wijmo.theme.material.light_blue-cyan.css +1 -1
  389. package/styles/themes/material/wijmo.theme.material.light_blue-cyan.scss +1 -1
  390. package/styles/themes/material/wijmo.theme.material.light_blue-deep_orange.css +1 -1
  391. package/styles/themes/material/wijmo.theme.material.light_blue-deep_orange.scss +1 -1
  392. package/styles/themes/material/wijmo.theme.material.light_blue-deep_purple.css +1 -1
  393. package/styles/themes/material/wijmo.theme.material.light_blue-deep_purple.scss +1 -1
  394. package/styles/themes/material/wijmo.theme.material.light_blue-green.css +1 -1
  395. package/styles/themes/material/wijmo.theme.material.light_blue-green.scss +1 -1
  396. package/styles/themes/material/wijmo.theme.material.light_blue-indigo.css +1 -1
  397. package/styles/themes/material/wijmo.theme.material.light_blue-indigo.scss +1 -1
  398. package/styles/themes/material/wijmo.theme.material.light_blue-light_green.css +1 -1
  399. package/styles/themes/material/wijmo.theme.material.light_blue-light_green.scss +1 -1
  400. package/styles/themes/material/wijmo.theme.material.light_blue-lime.css +1 -1
  401. package/styles/themes/material/wijmo.theme.material.light_blue-lime.scss +1 -1
  402. package/styles/themes/material/wijmo.theme.material.light_blue-orange.css +1 -1
  403. package/styles/themes/material/wijmo.theme.material.light_blue-orange.scss +1 -1
  404. package/styles/themes/material/wijmo.theme.material.light_blue-pink.css +1 -1
  405. package/styles/themes/material/wijmo.theme.material.light_blue-pink.scss +1 -1
  406. package/styles/themes/material/wijmo.theme.material.light_blue-purple.css +1 -1
  407. package/styles/themes/material/wijmo.theme.material.light_blue-purple.scss +1 -1
  408. package/styles/themes/material/wijmo.theme.material.light_blue-red.css +1 -1
  409. package/styles/themes/material/wijmo.theme.material.light_blue-red.scss +1 -1
  410. package/styles/themes/material/wijmo.theme.material.light_blue-teal.css +1 -1
  411. package/styles/themes/material/wijmo.theme.material.light_blue-teal.scss +1 -1
  412. package/styles/themes/material/wijmo.theme.material.light_blue-yellow.css +1 -1
  413. package/styles/themes/material/wijmo.theme.material.light_blue-yellow.scss +1 -1
  414. package/styles/themes/material/wijmo.theme.material.light_green-amber.css +1 -1
  415. package/styles/themes/material/wijmo.theme.material.light_green-amber.scss +1 -1
  416. package/styles/themes/material/wijmo.theme.material.light_green-blue.css +1 -1
  417. package/styles/themes/material/wijmo.theme.material.light_green-blue.scss +1 -1
  418. package/styles/themes/material/wijmo.theme.material.light_green-cyan.css +1 -1
  419. package/styles/themes/material/wijmo.theme.material.light_green-cyan.scss +1 -1
  420. package/styles/themes/material/wijmo.theme.material.light_green-deep_orange.css +1 -1
  421. package/styles/themes/material/wijmo.theme.material.light_green-deep_orange.scss +1 -1
  422. package/styles/themes/material/wijmo.theme.material.light_green-deep_purple.css +1 -1
  423. package/styles/themes/material/wijmo.theme.material.light_green-deep_purple.scss +1 -1
  424. package/styles/themes/material/wijmo.theme.material.light_green-green.css +1 -1
  425. package/styles/themes/material/wijmo.theme.material.light_green-green.scss +1 -1
  426. package/styles/themes/material/wijmo.theme.material.light_green-indigo.css +1 -1
  427. package/styles/themes/material/wijmo.theme.material.light_green-indigo.scss +1 -1
  428. package/styles/themes/material/wijmo.theme.material.light_green-light_blue.css +1 -1
  429. package/styles/themes/material/wijmo.theme.material.light_green-light_blue.scss +1 -1
  430. package/styles/themes/material/wijmo.theme.material.light_green-lime.css +1 -1
  431. package/styles/themes/material/wijmo.theme.material.light_green-lime.scss +1 -1
  432. package/styles/themes/material/wijmo.theme.material.light_green-orange.css +1 -1
  433. package/styles/themes/material/wijmo.theme.material.light_green-orange.scss +1 -1
  434. package/styles/themes/material/wijmo.theme.material.light_green-pink.css +1 -1
  435. package/styles/themes/material/wijmo.theme.material.light_green-pink.scss +1 -1
  436. package/styles/themes/material/wijmo.theme.material.light_green-purple.css +1 -1
  437. package/styles/themes/material/wijmo.theme.material.light_green-purple.scss +1 -1
  438. package/styles/themes/material/wijmo.theme.material.light_green-red.css +1 -1
  439. package/styles/themes/material/wijmo.theme.material.light_green-red.scss +1 -1
  440. package/styles/themes/material/wijmo.theme.material.light_green-teal.css +1 -1
  441. package/styles/themes/material/wijmo.theme.material.light_green-teal.scss +1 -1
  442. package/styles/themes/material/wijmo.theme.material.light_green-yellow.css +1 -1
  443. package/styles/themes/material/wijmo.theme.material.light_green-yellow.scss +1 -1
  444. package/styles/themes/material/wijmo.theme.material.lime-amber.css +1 -1
  445. package/styles/themes/material/wijmo.theme.material.lime-amber.scss +1 -1
  446. package/styles/themes/material/wijmo.theme.material.lime-blue.css +1 -1
  447. package/styles/themes/material/wijmo.theme.material.lime-blue.scss +1 -1
  448. package/styles/themes/material/wijmo.theme.material.lime-cyan.css +1 -1
  449. package/styles/themes/material/wijmo.theme.material.lime-cyan.scss +1 -1
  450. package/styles/themes/material/wijmo.theme.material.lime-deep_orange.css +1 -1
  451. package/styles/themes/material/wijmo.theme.material.lime-deep_orange.scss +1 -1
  452. package/styles/themes/material/wijmo.theme.material.lime-deep_purple.css +1 -1
  453. package/styles/themes/material/wijmo.theme.material.lime-deep_purple.scss +1 -1
  454. package/styles/themes/material/wijmo.theme.material.lime-green.css +1 -1
  455. package/styles/themes/material/wijmo.theme.material.lime-green.scss +1 -1
  456. package/styles/themes/material/wijmo.theme.material.lime-indigo.css +1 -1
  457. package/styles/themes/material/wijmo.theme.material.lime-indigo.scss +1 -1
  458. package/styles/themes/material/wijmo.theme.material.lime-light_blue.css +1 -1
  459. package/styles/themes/material/wijmo.theme.material.lime-light_blue.scss +1 -1
  460. package/styles/themes/material/wijmo.theme.material.lime-light_green.css +1 -1
  461. package/styles/themes/material/wijmo.theme.material.lime-light_green.scss +1 -1
  462. package/styles/themes/material/wijmo.theme.material.lime-orange.css +1 -1
  463. package/styles/themes/material/wijmo.theme.material.lime-orange.scss +1 -1
  464. package/styles/themes/material/wijmo.theme.material.lime-pink.css +1 -1
  465. package/styles/themes/material/wijmo.theme.material.lime-pink.scss +1 -1
  466. package/styles/themes/material/wijmo.theme.material.lime-purple.css +1 -1
  467. package/styles/themes/material/wijmo.theme.material.lime-purple.scss +1 -1
  468. package/styles/themes/material/wijmo.theme.material.lime-red.css +1 -1
  469. package/styles/themes/material/wijmo.theme.material.lime-red.scss +1 -1
  470. package/styles/themes/material/wijmo.theme.material.lime-teal.css +1 -1
  471. package/styles/themes/material/wijmo.theme.material.lime-teal.scss +1 -1
  472. package/styles/themes/material/wijmo.theme.material.lime-yellow.css +1 -1
  473. package/styles/themes/material/wijmo.theme.material.lime-yellow.scss +1 -1
  474. package/styles/themes/material/wijmo.theme.material.orange-amber.css +1 -1
  475. package/styles/themes/material/wijmo.theme.material.orange-amber.scss +1 -1
  476. package/styles/themes/material/wijmo.theme.material.orange-blue.css +1 -1
  477. package/styles/themes/material/wijmo.theme.material.orange-blue.scss +1 -1
  478. package/styles/themes/material/wijmo.theme.material.orange-cyan.css +1 -1
  479. package/styles/themes/material/wijmo.theme.material.orange-cyan.scss +1 -1
  480. package/styles/themes/material/wijmo.theme.material.orange-deep_orange.css +1 -1
  481. package/styles/themes/material/wijmo.theme.material.orange-deep_orange.scss +1 -1
  482. package/styles/themes/material/wijmo.theme.material.orange-deep_purple.css +1 -1
  483. package/styles/themes/material/wijmo.theme.material.orange-deep_purple.scss +1 -1
  484. package/styles/themes/material/wijmo.theme.material.orange-green.css +1 -1
  485. package/styles/themes/material/wijmo.theme.material.orange-green.scss +1 -1
  486. package/styles/themes/material/wijmo.theme.material.orange-indigo.css +1 -1
  487. package/styles/themes/material/wijmo.theme.material.orange-indigo.scss +1 -1
  488. package/styles/themes/material/wijmo.theme.material.orange-light_blue.css +1 -1
  489. package/styles/themes/material/wijmo.theme.material.orange-light_blue.scss +1 -1
  490. package/styles/themes/material/wijmo.theme.material.orange-light_green.css +1 -1
  491. package/styles/themes/material/wijmo.theme.material.orange-light_green.scss +1 -1
  492. package/styles/themes/material/wijmo.theme.material.orange-lime.css +1 -1
  493. package/styles/themes/material/wijmo.theme.material.orange-lime.scss +1 -1
  494. package/styles/themes/material/wijmo.theme.material.orange-pink.css +1 -1
  495. package/styles/themes/material/wijmo.theme.material.orange-pink.scss +1 -1
  496. package/styles/themes/material/wijmo.theme.material.orange-purple.css +1 -1
  497. package/styles/themes/material/wijmo.theme.material.orange-purple.scss +1 -1
  498. package/styles/themes/material/wijmo.theme.material.orange-red.css +1 -1
  499. package/styles/themes/material/wijmo.theme.material.orange-red.scss +1 -1
  500. package/styles/themes/material/wijmo.theme.material.orange-teal.css +1 -1
  501. package/styles/themes/material/wijmo.theme.material.orange-teal.scss +1 -1
  502. package/styles/themes/material/wijmo.theme.material.orange-yellow.css +1 -1
  503. package/styles/themes/material/wijmo.theme.material.orange-yellow.scss +1 -1
  504. package/styles/themes/material/wijmo.theme.material.pink-amber.css +1 -1
  505. package/styles/themes/material/wijmo.theme.material.pink-amber.scss +1 -1
  506. package/styles/themes/material/wijmo.theme.material.pink-blue.css +1 -1
  507. package/styles/themes/material/wijmo.theme.material.pink-blue.scss +1 -1
  508. package/styles/themes/material/wijmo.theme.material.pink-cyan.css +1 -1
  509. package/styles/themes/material/wijmo.theme.material.pink-cyan.scss +1 -1
  510. package/styles/themes/material/wijmo.theme.material.pink-deep_orange.css +1 -1
  511. package/styles/themes/material/wijmo.theme.material.pink-deep_orange.scss +1 -1
  512. package/styles/themes/material/wijmo.theme.material.pink-deep_purple.css +1 -1
  513. package/styles/themes/material/wijmo.theme.material.pink-deep_purple.scss +1 -1
  514. package/styles/themes/material/wijmo.theme.material.pink-green.css +1 -1
  515. package/styles/themes/material/wijmo.theme.material.pink-green.scss +1 -1
  516. package/styles/themes/material/wijmo.theme.material.pink-indigo.css +1 -1
  517. package/styles/themes/material/wijmo.theme.material.pink-indigo.scss +1 -1
  518. package/styles/themes/material/wijmo.theme.material.pink-light_blue.css +1 -1
  519. package/styles/themes/material/wijmo.theme.material.pink-light_blue.scss +1 -1
  520. package/styles/themes/material/wijmo.theme.material.pink-light_green.css +1 -1
  521. package/styles/themes/material/wijmo.theme.material.pink-light_green.scss +1 -1
  522. package/styles/themes/material/wijmo.theme.material.pink-lime.css +1 -1
  523. package/styles/themes/material/wijmo.theme.material.pink-lime.scss +1 -1
  524. package/styles/themes/material/wijmo.theme.material.pink-orange.css +1 -1
  525. package/styles/themes/material/wijmo.theme.material.pink-orange.scss +1 -1
  526. package/styles/themes/material/wijmo.theme.material.pink-purple.css +1 -1
  527. package/styles/themes/material/wijmo.theme.material.pink-purple.scss +1 -1
  528. package/styles/themes/material/wijmo.theme.material.pink-red.css +1 -1
  529. package/styles/themes/material/wijmo.theme.material.pink-red.scss +1 -1
  530. package/styles/themes/material/wijmo.theme.material.pink-teal.css +1 -1
  531. package/styles/themes/material/wijmo.theme.material.pink-teal.scss +1 -1
  532. package/styles/themes/material/wijmo.theme.material.pink-yellow.css +1 -1
  533. package/styles/themes/material/wijmo.theme.material.pink-yellow.scss +1 -1
  534. package/styles/themes/material/wijmo.theme.material.purple-amber.css +1 -1
  535. package/styles/themes/material/wijmo.theme.material.purple-amber.scss +1 -1
  536. package/styles/themes/material/wijmo.theme.material.purple-blue.css +1 -1
  537. package/styles/themes/material/wijmo.theme.material.purple-blue.scss +1 -1
  538. package/styles/themes/material/wijmo.theme.material.purple-cyan.css +1 -1
  539. package/styles/themes/material/wijmo.theme.material.purple-cyan.scss +1 -1
  540. package/styles/themes/material/wijmo.theme.material.purple-deep_orange.css +1 -1
  541. package/styles/themes/material/wijmo.theme.material.purple-deep_orange.scss +1 -1
  542. package/styles/themes/material/wijmo.theme.material.purple-deep_purple.css +1 -1
  543. package/styles/themes/material/wijmo.theme.material.purple-deep_purple.scss +1 -1
  544. package/styles/themes/material/wijmo.theme.material.purple-green.css +1 -1
  545. package/styles/themes/material/wijmo.theme.material.purple-green.scss +1 -1
  546. package/styles/themes/material/wijmo.theme.material.purple-indigo.css +1 -1
  547. package/styles/themes/material/wijmo.theme.material.purple-indigo.scss +1 -1
  548. package/styles/themes/material/wijmo.theme.material.purple-light_blue.css +1 -1
  549. package/styles/themes/material/wijmo.theme.material.purple-light_blue.scss +1 -1
  550. package/styles/themes/material/wijmo.theme.material.purple-light_green.css +1 -1
  551. package/styles/themes/material/wijmo.theme.material.purple-light_green.scss +1 -1
  552. package/styles/themes/material/wijmo.theme.material.purple-lime.css +1 -1
  553. package/styles/themes/material/wijmo.theme.material.purple-lime.scss +1 -1
  554. package/styles/themes/material/wijmo.theme.material.purple-orange.css +1 -1
  555. package/styles/themes/material/wijmo.theme.material.purple-orange.scss +1 -1
  556. package/styles/themes/material/wijmo.theme.material.purple-pink.css +1 -1
  557. package/styles/themes/material/wijmo.theme.material.purple-pink.scss +1 -1
  558. package/styles/themes/material/wijmo.theme.material.purple-red.css +1 -1
  559. package/styles/themes/material/wijmo.theme.material.purple-red.scss +1 -1
  560. package/styles/themes/material/wijmo.theme.material.purple-teal.css +1 -1
  561. package/styles/themes/material/wijmo.theme.material.purple-teal.scss +1 -1
  562. package/styles/themes/material/wijmo.theme.material.purple-yellow.css +1 -1
  563. package/styles/themes/material/wijmo.theme.material.purple-yellow.scss +1 -1
  564. package/styles/themes/material/wijmo.theme.material.red-amber.css +1 -1
  565. package/styles/themes/material/wijmo.theme.material.red-amber.scss +1 -1
  566. package/styles/themes/material/wijmo.theme.material.red-blue.css +1 -1
  567. package/styles/themes/material/wijmo.theme.material.red-blue.scss +1 -1
  568. package/styles/themes/material/wijmo.theme.material.red-cyan.css +1 -1
  569. package/styles/themes/material/wijmo.theme.material.red-cyan.scss +1 -1
  570. package/styles/themes/material/wijmo.theme.material.red-deep_orange.css +1 -1
  571. package/styles/themes/material/wijmo.theme.material.red-deep_orange.scss +1 -1
  572. package/styles/themes/material/wijmo.theme.material.red-deep_purple.css +1 -1
  573. package/styles/themes/material/wijmo.theme.material.red-deep_purple.scss +1 -1
  574. package/styles/themes/material/wijmo.theme.material.red-green.css +1 -1
  575. package/styles/themes/material/wijmo.theme.material.red-green.scss +1 -1
  576. package/styles/themes/material/wijmo.theme.material.red-indigo.css +1 -1
  577. package/styles/themes/material/wijmo.theme.material.red-indigo.scss +1 -1
  578. package/styles/themes/material/wijmo.theme.material.red-light_blue.css +1 -1
  579. package/styles/themes/material/wijmo.theme.material.red-light_blue.scss +1 -1
  580. package/styles/themes/material/wijmo.theme.material.red-light_green.css +1 -1
  581. package/styles/themes/material/wijmo.theme.material.red-light_green.scss +1 -1
  582. package/styles/themes/material/wijmo.theme.material.red-lime.css +1 -1
  583. package/styles/themes/material/wijmo.theme.material.red-lime.scss +1 -1
  584. package/styles/themes/material/wijmo.theme.material.red-orange.css +1 -1
  585. package/styles/themes/material/wijmo.theme.material.red-orange.scss +1 -1
  586. package/styles/themes/material/wijmo.theme.material.red-pink.css +1 -1
  587. package/styles/themes/material/wijmo.theme.material.red-pink.scss +1 -1
  588. package/styles/themes/material/wijmo.theme.material.red-purple.css +1 -1
  589. package/styles/themes/material/wijmo.theme.material.red-purple.scss +1 -1
  590. package/styles/themes/material/wijmo.theme.material.red-teal.css +1 -1
  591. package/styles/themes/material/wijmo.theme.material.red-teal.scss +1 -1
  592. package/styles/themes/material/wijmo.theme.material.red-yellow.css +1 -1
  593. package/styles/themes/material/wijmo.theme.material.red-yellow.scss +1 -1
  594. package/styles/themes/material/wijmo.theme.material.teal-amber.css +1 -1
  595. package/styles/themes/material/wijmo.theme.material.teal-amber.scss +1 -1
  596. package/styles/themes/material/wijmo.theme.material.teal-blue.css +1 -1
  597. package/styles/themes/material/wijmo.theme.material.teal-blue.scss +1 -1
  598. package/styles/themes/material/wijmo.theme.material.teal-cyan.css +1 -1
  599. package/styles/themes/material/wijmo.theme.material.teal-cyan.scss +1 -1
  600. package/styles/themes/material/wijmo.theme.material.teal-deep_orange.css +1 -1
  601. package/styles/themes/material/wijmo.theme.material.teal-deep_orange.scss +1 -1
  602. package/styles/themes/material/wijmo.theme.material.teal-deep_purple.css +1 -1
  603. package/styles/themes/material/wijmo.theme.material.teal-deep_purple.scss +1 -1
  604. package/styles/themes/material/wijmo.theme.material.teal-green.css +1 -1
  605. package/styles/themes/material/wijmo.theme.material.teal-green.scss +1 -1
  606. package/styles/themes/material/wijmo.theme.material.teal-indigo.css +1 -1
  607. package/styles/themes/material/wijmo.theme.material.teal-indigo.scss +1 -1
  608. package/styles/themes/material/wijmo.theme.material.teal-light_blue.css +1 -1
  609. package/styles/themes/material/wijmo.theme.material.teal-light_blue.scss +1 -1
  610. package/styles/themes/material/wijmo.theme.material.teal-light_green.css +1 -1
  611. package/styles/themes/material/wijmo.theme.material.teal-light_green.scss +1 -1
  612. package/styles/themes/material/wijmo.theme.material.teal-lime.css +1 -1
  613. package/styles/themes/material/wijmo.theme.material.teal-lime.scss +1 -1
  614. package/styles/themes/material/wijmo.theme.material.teal-orange.css +1 -1
  615. package/styles/themes/material/wijmo.theme.material.teal-orange.scss +1 -1
  616. package/styles/themes/material/wijmo.theme.material.teal-pink.css +1 -1
  617. package/styles/themes/material/wijmo.theme.material.teal-pink.scss +1 -1
  618. package/styles/themes/material/wijmo.theme.material.teal-purple.css +1 -1
  619. package/styles/themes/material/wijmo.theme.material.teal-purple.scss +1 -1
  620. package/styles/themes/material/wijmo.theme.material.teal-red.css +1 -1
  621. package/styles/themes/material/wijmo.theme.material.teal-red.scss +1 -1
  622. package/styles/themes/material/wijmo.theme.material.teal-yellow.css +1 -1
  623. package/styles/themes/material/wijmo.theme.material.teal-yellow.scss +1 -1
  624. package/styles/themes/material/wijmo.theme.material.yellow-amber.css +1 -1
  625. package/styles/themes/material/wijmo.theme.material.yellow-amber.scss +1 -1
  626. package/styles/themes/material/wijmo.theme.material.yellow-blue.css +1 -1
  627. package/styles/themes/material/wijmo.theme.material.yellow-blue.scss +1 -1
  628. package/styles/themes/material/wijmo.theme.material.yellow-cyan.css +1 -1
  629. package/styles/themes/material/wijmo.theme.material.yellow-cyan.scss +1 -1
  630. package/styles/themes/material/wijmo.theme.material.yellow-deep_orange.css +1 -1
  631. package/styles/themes/material/wijmo.theme.material.yellow-deep_orange.scss +1 -1
  632. package/styles/themes/material/wijmo.theme.material.yellow-deep_purple.css +1 -1
  633. package/styles/themes/material/wijmo.theme.material.yellow-deep_purple.scss +1 -1
  634. package/styles/themes/material/wijmo.theme.material.yellow-green.css +1 -1
  635. package/styles/themes/material/wijmo.theme.material.yellow-green.scss +1 -1
  636. package/styles/themes/material/wijmo.theme.material.yellow-indigo.css +1 -1
  637. package/styles/themes/material/wijmo.theme.material.yellow-indigo.scss +1 -1
  638. package/styles/themes/material/wijmo.theme.material.yellow-light_blue.css +1 -1
  639. package/styles/themes/material/wijmo.theme.material.yellow-light_blue.scss +1 -1
  640. package/styles/themes/material/wijmo.theme.material.yellow-light_green.css +1 -1
  641. package/styles/themes/material/wijmo.theme.material.yellow-light_green.scss +1 -1
  642. package/styles/themes/material/wijmo.theme.material.yellow-lime.css +1 -1
  643. package/styles/themes/material/wijmo.theme.material.yellow-lime.scss +1 -1
  644. package/styles/themes/material/wijmo.theme.material.yellow-orange.css +1 -1
  645. package/styles/themes/material/wijmo.theme.material.yellow-orange.scss +1 -1
  646. package/styles/themes/material/wijmo.theme.material.yellow-pink.css +1 -1
  647. package/styles/themes/material/wijmo.theme.material.yellow-pink.scss +1 -1
  648. package/styles/themes/material/wijmo.theme.material.yellow-purple.css +1 -1
  649. package/styles/themes/material/wijmo.theme.material.yellow-purple.scss +1 -1
  650. package/styles/themes/material/wijmo.theme.material.yellow-red.css +1 -1
  651. package/styles/themes/material/wijmo.theme.material.yellow-red.scss +1 -1
  652. package/styles/themes/material/wijmo.theme.material.yellow-teal.css +1 -1
  653. package/styles/themes/material/wijmo.theme.material.yellow-teal.scss +1 -1
  654. package/styles/themes/wijmo.theme.cerulean.css +1 -1
  655. package/styles/themes/wijmo.theme.cerulean.scss +1 -1
  656. package/styles/themes/wijmo.theme.cleandark.css +1 -1
  657. package/styles/themes/wijmo.theme.cleandark.scss +1 -1
  658. package/styles/themes/wijmo.theme.cleanlight.css +1 -1
  659. package/styles/themes/wijmo.theme.cleanlight.scss +1 -1
  660. package/styles/themes/wijmo.theme.cocoa.css +1 -1
  661. package/styles/themes/wijmo.theme.cocoa.scss +1 -1
  662. package/styles/themes/wijmo.theme.coral.css +1 -1
  663. package/styles/themes/wijmo.theme.coral.scss +1 -1
  664. package/styles/themes/wijmo.theme.cyborg.css +1 -1
  665. package/styles/themes/wijmo.theme.cyborg.scss +1 -1
  666. package/styles/themes/wijmo.theme.dark.css +1 -1
  667. package/styles/themes/wijmo.theme.dark.scss +1 -1
  668. package/styles/themes/wijmo.theme.darkly.css +1 -1
  669. package/styles/themes/wijmo.theme.darkly.scss +1 -1
  670. package/styles/themes/wijmo.theme.flatly.css +1 -1
  671. package/styles/themes/wijmo.theme.flatly.scss +1 -1
  672. package/styles/themes/wijmo.theme.grayscale.css +1 -1
  673. package/styles/themes/wijmo.theme.grayscale.scss +1 -1
  674. package/styles/themes/wijmo.theme.highcontrast.css +1 -1
  675. package/styles/themes/wijmo.theme.highcontrast.scss +1 -1
  676. package/styles/themes/wijmo.theme.light.css +1 -1
  677. package/styles/themes/wijmo.theme.light.scss +1 -1
  678. package/styles/themes/wijmo.theme.material.amber-indigo.css +1 -1
  679. package/styles/themes/wijmo.theme.material.amber-indigo.scss +1 -1
  680. package/styles/themes/wijmo.theme.material.css +1 -1
  681. package/styles/themes/wijmo.theme.material.indigo-orange.css +1 -1
  682. package/styles/themes/wijmo.theme.material.indigo-orange.scss +1 -1
  683. package/styles/themes/wijmo.theme.material.scss +1 -1
  684. package/styles/themes/wijmo.theme.material.vars.css +1 -1
  685. package/styles/themes/wijmo.theme.material.vars.scss +1 -1
  686. package/styles/themes/wijmo.theme.midnight.css +1 -1
  687. package/styles/themes/wijmo.theme.midnight.scss +1 -1
  688. package/styles/themes/wijmo.theme.minimal.css +1 -1
  689. package/styles/themes/wijmo.theme.minimal.scss +1 -1
  690. package/styles/themes/wijmo.theme.modern.css +1 -1
  691. package/styles/themes/wijmo.theme.modern.scss +1 -1
  692. package/styles/themes/wijmo.theme.office.css +1 -1
  693. package/styles/themes/wijmo.theme.office.scss +1 -1
  694. package/styles/themes/wijmo.theme.organic.css +1 -1
  695. package/styles/themes/wijmo.theme.organic.scss +1 -1
  696. package/styles/themes/wijmo.theme.paper.css +1 -1
  697. package/styles/themes/wijmo.theme.paper.scss +1 -1
  698. package/styles/themes/wijmo.theme.simplex.css +1 -1
  699. package/styles/themes/wijmo.theme.simplex.scss +1 -1
  700. package/styles/themes/wijmo.theme.slate.css +1 -1
  701. package/styles/themes/wijmo.theme.slate.scss +1 -1
  702. package/styles/themes/wijmo.theme.superhero.css +1 -1
  703. package/styles/themes/wijmo.theme.superhero.scss +1 -1
  704. package/styles/themes/wijmo.theme.trust.css +1 -1
  705. package/styles/themes/wijmo.theme.trust.scss +1 -1
  706. package/styles/themes/wijmo.theme.zen.css +1 -1
  707. package/styles/themes/wijmo.theme.zen.scss +1 -1
  708. package/styles/wijmo-core.css +1 -1
  709. package/styles/wijmo-core.scss +1 -1
  710. package/styles/wijmo.css +1 -1
  711. package/styles/wijmo.scss +1 -1
  712. package/wijmo.angular.base.d.ts +1 -1
  713. package/wijmo.angular.base.js +1 -1
  714. package/wijmo.angular.chart.analytics.d.ts +1 -1
  715. package/wijmo.angular.chart.analytics.js +1 -1
  716. package/wijmo.angular.chart.animation.d.ts +1 -1
  717. package/wijmo.angular.chart.animation.js +1 -1
  718. package/wijmo.angular.chart.annotation.d.ts +1 -1
  719. package/wijmo.angular.chart.annotation.js +1 -1
  720. package/wijmo.angular.chart.d.ts +1 -1
  721. package/wijmo.angular.chart.finance.analytics.d.ts +1 -1
  722. package/wijmo.angular.chart.finance.analytics.js +1 -1
  723. package/wijmo.angular.chart.finance.d.ts +1 -1
  724. package/wijmo.angular.chart.finance.js +1 -1
  725. package/wijmo.angular.chart.hierarchical.d.ts +1 -1
  726. package/wijmo.angular.chart.hierarchical.js +1 -1
  727. package/wijmo.angular.chart.interaction.d.ts +1 -1
  728. package/wijmo.angular.chart.interaction.js +1 -1
  729. package/wijmo.angular.chart.js +1 -1
  730. package/wijmo.angular.chart.radar.d.ts +1 -1
  731. package/wijmo.angular.chart.radar.js +1 -1
  732. package/wijmo.angular.core.d.ts +1 -1
  733. package/wijmo.angular.core.js +1 -1
  734. package/wijmo.angular.gauge.d.ts +1 -1
  735. package/wijmo.angular.gauge.js +1 -1
  736. package/wijmo.angular.grid.d.ts +1 -1
  737. package/wijmo.angular.grid.detail.d.ts +1 -1
  738. package/wijmo.angular.grid.detail.js +1 -1
  739. package/wijmo.angular.grid.filter.d.ts +1 -1
  740. package/wijmo.angular.grid.filter.js +1 -1
  741. package/wijmo.angular.grid.grouppanel.d.ts +1 -1
  742. package/wijmo.angular.grid.grouppanel.js +1 -1
  743. package/wijmo.angular.grid.js +1 -1
  744. package/wijmo.angular.grid.multirow.d.ts +1 -1
  745. package/wijmo.angular.grid.multirow.js +1 -1
  746. package/wijmo.angular.grid.sheet.d.ts +1 -1
  747. package/wijmo.angular.grid.sheet.js +1 -1
  748. package/wijmo.angular.input.d.ts +1 -1
  749. package/wijmo.angular.input.js +1 -1
  750. package/wijmo.angular.nav.d.ts +1 -1
  751. package/wijmo.angular.nav.js +1 -1
  752. package/wijmo.angular.olap.d.ts +1 -1
  753. package/wijmo.angular.olap.js +1 -1
  754. package/wijmo.angular.viewer.d.ts +1 -1
  755. package/wijmo.angular.viewer.js +1 -1
  756. package/wijmo.angular2.barcode.common.d.ts +1 -1
  757. package/wijmo.angular2.barcode.common.js +1 -1
  758. package/wijmo.angular2.barcode.composite.d.ts +1 -1
  759. package/wijmo.angular2.barcode.composite.js +1 -1
  760. package/wijmo.angular2.barcode.specialized.d.ts +1 -1
  761. package/wijmo.angular2.barcode.specialized.js +1 -1
  762. package/wijmo.angular2.chart.analytics.d.ts +1 -1
  763. package/wijmo.angular2.chart.analytics.js +1 -1
  764. package/wijmo.angular2.chart.animation.d.ts +1 -1
  765. package/wijmo.angular2.chart.animation.js +1 -1
  766. package/wijmo.angular2.chart.annotation.d.ts +1 -1
  767. package/wijmo.angular2.chart.annotation.js +1 -1
  768. package/wijmo.angular2.chart.d.ts +1 -1
  769. package/wijmo.angular2.chart.finance.analytics.d.ts +1 -1
  770. package/wijmo.angular2.chart.finance.analytics.js +1 -1
  771. package/wijmo.angular2.chart.finance.d.ts +1 -1
  772. package/wijmo.angular2.chart.finance.js +1 -1
  773. package/wijmo.angular2.chart.hierarchical.d.ts +1 -1
  774. package/wijmo.angular2.chart.hierarchical.js +1 -1
  775. package/wijmo.angular2.chart.interaction.d.ts +1 -1
  776. package/wijmo.angular2.chart.interaction.js +1 -1
  777. package/wijmo.angular2.chart.js +1 -1
  778. package/wijmo.angular2.chart.map.d.ts +1 -1
  779. package/wijmo.angular2.chart.map.js +1 -1
  780. package/wijmo.angular2.chart.radar.d.ts +1 -1
  781. package/wijmo.angular2.chart.radar.js +1 -1
  782. package/wijmo.angular2.core.d.ts +1 -1
  783. package/wijmo.angular2.core.js +1 -1
  784. package/wijmo.angular2.directiveBase.d.ts +1 -1
  785. package/wijmo.angular2.directiveBase.js +1 -1
  786. package/wijmo.angular2.gauge.d.ts +1 -1
  787. package/wijmo.angular2.gauge.js +1 -1
  788. package/wijmo.angular2.grid.d.ts +1 -1
  789. package/wijmo.angular2.grid.detail.d.ts +1 -1
  790. package/wijmo.angular2.grid.detail.js +1 -1
  791. package/wijmo.angular2.grid.filter.d.ts +1 -1
  792. package/wijmo.angular2.grid.filter.js +1 -1
  793. package/wijmo.angular2.grid.grouppanel.d.ts +1 -1
  794. package/wijmo.angular2.grid.grouppanel.js +1 -1
  795. package/wijmo.angular2.grid.js +1 -1
  796. package/wijmo.angular2.grid.multirow.d.ts +1 -1
  797. package/wijmo.angular2.grid.multirow.js +1 -1
  798. package/wijmo.angular2.grid.search.d.ts +1 -1
  799. package/wijmo.angular2.grid.search.js +1 -1
  800. package/wijmo.angular2.grid.sheet.d.ts +1 -1
  801. package/wijmo.angular2.grid.sheet.js +1 -1
  802. package/wijmo.angular2.grid.transposed.d.ts +1 -1
  803. package/wijmo.angular2.grid.transposed.js +1 -1
  804. package/wijmo.angular2.grid.transposedmultirow.d.ts +1 -1
  805. package/wijmo.angular2.grid.transposedmultirow.js +1 -1
  806. package/wijmo.angular2.input.d.ts +1 -1
  807. package/wijmo.angular2.input.js +1 -1
  808. package/wijmo.angular2.nav.d.ts +1 -1
  809. package/wijmo.angular2.nav.js +1 -1
  810. package/wijmo.angular2.olap.d.ts +1 -1
  811. package/wijmo.angular2.olap.js +1 -1
  812. package/wijmo.angular2.viewer.d.ts +1 -1
  813. package/wijmo.angular2.viewer.js +1 -1
  814. package/wijmo.barcode.common.d.ts +1 -1
  815. package/wijmo.barcode.common.js +1 -1
  816. package/wijmo.barcode.composite.d.ts +1 -1
  817. package/wijmo.barcode.composite.js +1 -1
  818. package/wijmo.barcode.d.ts +1 -1
  819. package/wijmo.barcode.js +1 -1
  820. package/wijmo.barcode.specialized.d.ts +1 -1
  821. package/wijmo.barcode.specialized.js +1 -1
  822. package/wijmo.chart.analytics.d.ts +1 -1
  823. package/wijmo.chart.analytics.js +2 -2
  824. package/wijmo.chart.animation.d.ts +1 -1
  825. package/wijmo.chart.animation.js +1 -1
  826. package/wijmo.chart.annotation.d.ts +1 -1
  827. package/wijmo.chart.annotation.js +2 -2
  828. package/wijmo.chart.d.ts +1 -1
  829. package/wijmo.chart.finance.analytics.d.ts +1 -1
  830. package/wijmo.chart.finance.analytics.js +2 -2
  831. package/wijmo.chart.finance.d.ts +1 -1
  832. package/wijmo.chart.finance.js +2 -2
  833. package/wijmo.chart.hierarchical.d.ts +1 -1
  834. package/wijmo.chart.hierarchical.js +2 -2
  835. package/wijmo.chart.interaction.d.ts +1 -1
  836. package/wijmo.chart.interaction.js +1 -1
  837. package/wijmo.chart.js +2 -2
  838. package/wijmo.chart.map.d.ts +1 -1
  839. package/wijmo.chart.map.js +2 -2
  840. package/wijmo.chart.radar.d.ts +1 -1
  841. package/wijmo.chart.radar.js +1 -1
  842. package/wijmo.chart.render.d.ts +1 -1
  843. package/wijmo.chart.render.js +1 -1
  844. package/wijmo.chart.webgl.d.ts +1 -1
  845. package/wijmo.chart.webgl.js +1 -1
  846. package/wijmo.cloud.d.ts +1 -1
  847. package/wijmo.cloud.js +1 -1
  848. package/wijmo.d.ts +1 -1
  849. package/wijmo.gauge.d.ts +1 -1
  850. package/wijmo.gauge.js +1 -1
  851. package/wijmo.grid.cellmaker.d.ts +1 -1
  852. package/wijmo.grid.cellmaker.js +1 -1
  853. package/wijmo.grid.d.ts +1 -1
  854. package/wijmo.grid.detail.d.ts +1 -1
  855. package/wijmo.grid.detail.js +1 -1
  856. package/wijmo.grid.filter.d.ts +1 -1
  857. package/wijmo.grid.filter.js +1 -1
  858. package/wijmo.grid.grouppanel.d.ts +1 -1
  859. package/wijmo.grid.grouppanel.js +1 -1
  860. package/wijmo.grid.immutable.d.ts +1 -1
  861. package/wijmo.grid.immutable.js +1 -1
  862. package/wijmo.grid.js +1 -1
  863. package/wijmo.grid.multirow.d.ts +1 -1
  864. package/wijmo.grid.multirow.js +1 -1
  865. package/wijmo.grid.pdf.d.ts +1 -1
  866. package/wijmo.grid.pdf.js +1 -1
  867. package/wijmo.grid.search.d.ts +1 -1
  868. package/wijmo.grid.search.js +1 -1
  869. package/wijmo.grid.selector.d.ts +1 -1
  870. package/wijmo.grid.selector.js +1 -1
  871. package/wijmo.grid.sheet.d.ts +1 -1
  872. package/wijmo.grid.sheet.js +1 -1
  873. package/wijmo.grid.style.d.ts +1 -1
  874. package/wijmo.grid.style.js +1 -1
  875. package/wijmo.grid.transposed.d.ts +1 -1
  876. package/wijmo.grid.transposed.js +1 -1
  877. package/wijmo.grid.transposedmultirow.d.ts +1 -1
  878. package/wijmo.grid.transposedmultirow.js +1 -1
  879. package/wijmo.grid.xlsx.d.ts +1 -1
  880. package/wijmo.grid.xlsx.js +1 -1
  881. package/wijmo.input.d.ts +1 -1
  882. package/wijmo.input.js +1 -1
  883. package/wijmo.interop.grid.d.ts +1 -1
  884. package/wijmo.interop.grid.js +2 -2
  885. package/wijmo.js +2 -2
  886. package/wijmo.knockout.base.d.ts +1 -1
  887. package/wijmo.knockout.base.js +1 -1
  888. package/wijmo.knockout.chart.analytics.d.ts +1 -1
  889. package/wijmo.knockout.chart.analytics.js +1 -1
  890. package/wijmo.knockout.chart.animation.d.ts +1 -1
  891. package/wijmo.knockout.chart.animation.js +1 -1
  892. package/wijmo.knockout.chart.annotation.d.ts +1 -1
  893. package/wijmo.knockout.chart.annotation.js +1 -1
  894. package/wijmo.knockout.chart.d.ts +1 -1
  895. package/wijmo.knockout.chart.finance.analytics.d.ts +1 -1
  896. package/wijmo.knockout.chart.finance.analytics.js +1 -1
  897. package/wijmo.knockout.chart.finance.d.ts +1 -1
  898. package/wijmo.knockout.chart.finance.js +1 -1
  899. package/wijmo.knockout.chart.interaction.d.ts +1 -1
  900. package/wijmo.knockout.chart.interaction.js +1 -1
  901. package/wijmo.knockout.chart.js +1 -1
  902. package/wijmo.knockout.core.d.ts +1 -1
  903. package/wijmo.knockout.core.js +1 -1
  904. package/wijmo.knockout.gauge.d.ts +1 -1
  905. package/wijmo.knockout.gauge.js +1 -1
  906. package/wijmo.knockout.grid.d.ts +1 -1
  907. package/wijmo.knockout.grid.filter.d.ts +1 -1
  908. package/wijmo.knockout.grid.filter.js +1 -1
  909. package/wijmo.knockout.grid.grouppanel.d.ts +1 -1
  910. package/wijmo.knockout.grid.grouppanel.js +1 -1
  911. package/wijmo.knockout.grid.js +1 -1
  912. package/wijmo.knockout.grid.multirow.d.ts +1 -1
  913. package/wijmo.knockout.grid.multirow.js +1 -1
  914. package/wijmo.knockout.grid.sheet.d.ts +1 -1
  915. package/wijmo.knockout.grid.sheet.js +1 -1
  916. package/wijmo.knockout.input.d.ts +1 -1
  917. package/wijmo.knockout.input.js +1 -1
  918. package/wijmo.knockout.nav.d.ts +1 -1
  919. package/wijmo.knockout.nav.js +1 -1
  920. package/wijmo.knockout.olap.d.ts +1 -1
  921. package/wijmo.knockout.olap.js +1 -1
  922. package/wijmo.meta.d.ts +1 -1
  923. package/wijmo.meta.js +1 -1
  924. package/wijmo.nav.d.ts +1 -1
  925. package/wijmo.nav.js +1 -1
  926. package/wijmo.odata.d.ts +1 -1
  927. package/wijmo.odata.js +1 -1
  928. package/wijmo.olap.d.ts +1 -1
  929. package/wijmo.olap.js +1 -1
  930. package/wijmo.pdf.d.ts +1 -1
  931. package/wijmo.pdf.js +1 -1
  932. package/wijmo.pdf.security.d.ts +1 -1
  933. package/wijmo.pdf.security.js +1 -1
  934. package/wijmo.react.barcode.base.d.ts +1 -1
  935. package/wijmo.react.barcode.base.js +1 -1
  936. package/wijmo.react.barcode.common.d.ts +1 -1
  937. package/wijmo.react.barcode.common.js +1 -1
  938. package/wijmo.react.barcode.composite.d.ts +1 -1
  939. package/wijmo.react.barcode.composite.js +1 -1
  940. package/wijmo.react.barcode.specialized.d.ts +1 -1
  941. package/wijmo.react.barcode.specialized.js +1 -1
  942. package/wijmo.react.base.d.ts +1 -1
  943. package/wijmo.react.base.js +1 -1
  944. package/wijmo.react.chart.analytics.d.ts +1 -1
  945. package/wijmo.react.chart.analytics.js +1 -1
  946. package/wijmo.react.chart.animation.d.ts +1 -1
  947. package/wijmo.react.chart.animation.js +1 -1
  948. package/wijmo.react.chart.annotation.d.ts +1 -1
  949. package/wijmo.react.chart.annotation.js +1 -1
  950. package/wijmo.react.chart.d.ts +1 -1
  951. package/wijmo.react.chart.finance.analytics.d.ts +1 -1
  952. package/wijmo.react.chart.finance.analytics.js +1 -1
  953. package/wijmo.react.chart.finance.d.ts +1 -1
  954. package/wijmo.react.chart.finance.js +1 -1
  955. package/wijmo.react.chart.hierarchical.d.ts +1 -1
  956. package/wijmo.react.chart.hierarchical.js +1 -1
  957. package/wijmo.react.chart.interaction.d.ts +1 -1
  958. package/wijmo.react.chart.interaction.js +1 -1
  959. package/wijmo.react.chart.js +1 -1
  960. package/wijmo.react.chart.map.d.ts +1 -1
  961. package/wijmo.react.chart.map.js +1 -1
  962. package/wijmo.react.chart.radar.d.ts +1 -1
  963. package/wijmo.react.chart.radar.js +1 -1
  964. package/wijmo.react.gauge.d.ts +1 -1
  965. package/wijmo.react.gauge.js +1 -1
  966. package/wijmo.react.grid.d.ts +1 -1
  967. package/wijmo.react.grid.detail.d.ts +1 -1
  968. package/wijmo.react.grid.detail.js +1 -1
  969. package/wijmo.react.grid.filter.d.ts +1 -1
  970. package/wijmo.react.grid.filter.js +1 -1
  971. package/wijmo.react.grid.grouppanel.d.ts +1 -1
  972. package/wijmo.react.grid.grouppanel.js +1 -1
  973. package/wijmo.react.grid.immutable.d.ts +1 -1
  974. package/wijmo.react.grid.immutable.js +1 -1
  975. package/wijmo.react.grid.js +1 -1
  976. package/wijmo.react.grid.multirow.d.ts +1 -1
  977. package/wijmo.react.grid.multirow.js +1 -1
  978. package/wijmo.react.grid.search.d.ts +1 -1
  979. package/wijmo.react.grid.search.js +1 -1
  980. package/wijmo.react.grid.sheet.d.ts +1 -1
  981. package/wijmo.react.grid.sheet.js +1 -1
  982. package/wijmo.react.grid.transposed.d.ts +1 -1
  983. package/wijmo.react.grid.transposed.js +1 -1
  984. package/wijmo.react.grid.transposedmultirow.d.ts +1 -1
  985. package/wijmo.react.grid.transposedmultirow.js +1 -1
  986. package/wijmo.react.input.d.ts +1 -1
  987. package/wijmo.react.input.js +1 -1
  988. package/wijmo.react.nav.d.ts +1 -1
  989. package/wijmo.react.nav.js +1 -1
  990. package/wijmo.react.olap.d.ts +1 -1
  991. package/wijmo.react.olap.js +1 -1
  992. package/wijmo.react.viewer.d.ts +1 -1
  993. package/wijmo.react.viewer.js +1 -1
  994. package/wijmo.rest.d.ts +1 -1
  995. package/wijmo.rest.js +1 -1
  996. package/wijmo.touch.d.ts +1 -1
  997. package/wijmo.touch.js +1 -1
  998. package/wijmo.undo.d.ts +1 -1
  999. package/wijmo.undo.js +1 -1
  1000. package/wijmo.viewer.d.ts +1 -1
  1001. package/wijmo.viewer.js +1 -1
  1002. package/wijmo.vue2.barcode.common.d.ts +1 -1
  1003. package/wijmo.vue2.barcode.common.js +1 -1
  1004. package/wijmo.vue2.barcode.composite.d.ts +1 -1
  1005. package/wijmo.vue2.barcode.composite.js +1 -1
  1006. package/wijmo.vue2.barcode.specialized.d.ts +1 -1
  1007. package/wijmo.vue2.barcode.specialized.js +1 -1
  1008. package/wijmo.vue2.base.d.ts +1 -1
  1009. package/wijmo.vue2.base.js +1 -1
  1010. package/wijmo.vue2.chart.analytics.d.ts +1 -1
  1011. package/wijmo.vue2.chart.analytics.js +1 -1
  1012. package/wijmo.vue2.chart.animation.d.ts +1 -1
  1013. package/wijmo.vue2.chart.animation.js +1 -1
  1014. package/wijmo.vue2.chart.annotation.d.ts +1 -1
  1015. package/wijmo.vue2.chart.annotation.js +1 -1
  1016. package/wijmo.vue2.chart.d.ts +1 -1
  1017. package/wijmo.vue2.chart.finance.analytics.d.ts +1 -1
  1018. package/wijmo.vue2.chart.finance.analytics.js +1 -1
  1019. package/wijmo.vue2.chart.finance.d.ts +1 -1
  1020. package/wijmo.vue2.chart.finance.js +1 -1
  1021. package/wijmo.vue2.chart.hierarchical.d.ts +1 -1
  1022. package/wijmo.vue2.chart.hierarchical.js +1 -1
  1023. package/wijmo.vue2.chart.interaction.d.ts +1 -1
  1024. package/wijmo.vue2.chart.interaction.js +1 -1
  1025. package/wijmo.vue2.chart.js +1 -1
  1026. package/wijmo.vue2.chart.map.d.ts +1 -1
  1027. package/wijmo.vue2.chart.map.js +1 -1
  1028. package/wijmo.vue2.chart.radar.d.ts +1 -1
  1029. package/wijmo.vue2.chart.radar.js +1 -1
  1030. package/wijmo.vue2.core.d.ts +1 -1
  1031. package/wijmo.vue2.core.js +1 -1
  1032. package/wijmo.vue2.gauge.d.ts +1 -1
  1033. package/wijmo.vue2.gauge.js +1 -1
  1034. package/wijmo.vue2.grid.d.ts +1 -1
  1035. package/wijmo.vue2.grid.detail.d.ts +1 -1
  1036. package/wijmo.vue2.grid.detail.js +1 -1
  1037. package/wijmo.vue2.grid.filter.d.ts +1 -1
  1038. package/wijmo.vue2.grid.filter.js +1 -1
  1039. package/wijmo.vue2.grid.grouppanel.d.ts +1 -1
  1040. package/wijmo.vue2.grid.grouppanel.js +1 -1
  1041. package/wijmo.vue2.grid.js +1 -1
  1042. package/wijmo.vue2.grid.multirow.d.ts +1 -1
  1043. package/wijmo.vue2.grid.multirow.js +1 -1
  1044. package/wijmo.vue2.grid.search.d.ts +1 -1
  1045. package/wijmo.vue2.grid.search.js +1 -1
  1046. package/wijmo.vue2.grid.sheet.d.ts +1 -1
  1047. package/wijmo.vue2.grid.sheet.js +1 -1
  1048. package/wijmo.vue2.grid.transposed.d.ts +1 -1
  1049. package/wijmo.vue2.grid.transposed.js +1 -1
  1050. package/wijmo.vue2.grid.transposedmultirow.d.ts +1 -1
  1051. package/wijmo.vue2.grid.transposedmultirow.js +1 -1
  1052. package/wijmo.vue2.input.d.ts +1 -1
  1053. package/wijmo.vue2.input.js +1 -1
  1054. package/wijmo.vue2.nav.d.ts +1 -1
  1055. package/wijmo.vue2.nav.js +1 -1
  1056. package/wijmo.vue2.olap.d.ts +1 -1
  1057. package/wijmo.vue2.olap.js +1 -1
  1058. package/wijmo.vue2.viewer.d.ts +1 -1
  1059. package/wijmo.vue2.viewer.js +1 -1
  1060. package/wijmo.webcomponents.barcode.common.d.ts +1 -1
  1061. package/wijmo.webcomponents.barcode.common.js +1 -1
  1062. package/wijmo.webcomponents.barcode.composite.d.ts +1 -1
  1063. package/wijmo.webcomponents.barcode.composite.js +1 -1
  1064. package/wijmo.webcomponents.barcode.specialized.d.ts +1 -1
  1065. package/wijmo.webcomponents.barcode.specialized.js +1 -1
  1066. package/wijmo.webcomponents.base.d.ts +1 -1
  1067. package/wijmo.webcomponents.base.js +1 -1
  1068. package/wijmo.webcomponents.chart.analytics.d.ts +1 -1
  1069. package/wijmo.webcomponents.chart.analytics.js +1 -1
  1070. package/wijmo.webcomponents.chart.animation.d.ts +1 -1
  1071. package/wijmo.webcomponents.chart.animation.js +1 -1
  1072. package/wijmo.webcomponents.chart.d.ts +1 -1
  1073. package/wijmo.webcomponents.chart.finance.analytics.d.ts +1 -1
  1074. package/wijmo.webcomponents.chart.finance.analytics.js +1 -1
  1075. package/wijmo.webcomponents.chart.finance.d.ts +1 -1
  1076. package/wijmo.webcomponents.chart.finance.js +1 -1
  1077. package/wijmo.webcomponents.chart.hierarchical.d.ts +1 -1
  1078. package/wijmo.webcomponents.chart.hierarchical.js +1 -1
  1079. package/wijmo.webcomponents.chart.interaction.d.ts +1 -1
  1080. package/wijmo.webcomponents.chart.interaction.js +1 -1
  1081. package/wijmo.webcomponents.chart.js +1 -1
  1082. package/wijmo.webcomponents.chart.map.d.ts +1 -1
  1083. package/wijmo.webcomponents.chart.map.js +1 -1
  1084. package/wijmo.webcomponents.chart.radar.d.ts +1 -1
  1085. package/wijmo.webcomponents.chart.radar.js +1 -1
  1086. package/wijmo.webcomponents.gauge.d.ts +1 -1
  1087. package/wijmo.webcomponents.gauge.js +1 -1
  1088. package/wijmo.webcomponents.grid.d.ts +1 -1
  1089. package/wijmo.webcomponents.grid.filter.d.ts +1 -1
  1090. package/wijmo.webcomponents.grid.filter.js +1 -1
  1091. package/wijmo.webcomponents.grid.grouppanel.d.ts +1 -1
  1092. package/wijmo.webcomponents.grid.grouppanel.js +1 -1
  1093. package/wijmo.webcomponents.grid.js +1 -1
  1094. package/wijmo.webcomponents.grid.multirow.d.ts +1 -1
  1095. package/wijmo.webcomponents.grid.multirow.js +1 -1
  1096. package/wijmo.webcomponents.grid.search.d.ts +1 -1
  1097. package/wijmo.webcomponents.grid.search.js +1 -1
  1098. package/wijmo.webcomponents.grid.sheet.d.ts +1 -1
  1099. package/wijmo.webcomponents.grid.sheet.js +1 -1
  1100. package/wijmo.webcomponents.grid.transposed.d.ts +1 -1
  1101. package/wijmo.webcomponents.grid.transposed.js +1 -1
  1102. package/wijmo.webcomponents.grid.transposedmultirow.d.ts +1 -1
  1103. package/wijmo.webcomponents.grid.transposedmultirow.js +1 -1
  1104. package/wijmo.webcomponents.input.d.ts +1 -1
  1105. package/wijmo.webcomponents.input.js +1 -1
  1106. package/wijmo.webcomponents.nav.d.ts +1 -1
  1107. package/wijmo.webcomponents.nav.js +1 -1
  1108. package/wijmo.webcomponents.olap.d.ts +1 -1
  1109. package/wijmo.webcomponents.olap.js +1 -1
  1110. package/wijmo.webcomponents.viewer.d.ts +1 -1
  1111. package/wijmo.webcomponents.viewer.js +1 -1
  1112. package/wijmo.xlsx.d.ts +1 -1
  1113. package/wijmo.xlsx.js +1 -1
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20261.45-nightly.d20260106.t035854
3
+ * Wijmo Library 5.20261.45-nightly.d20260106.t072437
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -11,4 +11,4 @@
11
11
  *
12
12
  */
13
13
 
14
- "use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(t,i){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)};return function(t,i){extendStatics(t,i);function __(){this.constructor=t}t.prototype=null===i?Object.create(i):(__.prototype=i.prototype,new __)}}(),__importStar=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var i={};if(null!=t)for(var e in t)Object.hasOwnProperty.call(t,e)&&(i[e]=t[e]);i.default=t;return i};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),wijmo_chart_finance_1=require("wijmo/wijmo.chart.finance"),selfModule=__importStar(require("wijmo/wijmo.chart.finance.analytics"));function isValid(t){return Number.isFinite(t)&&!isNaN(t)&&wijmo_1.isNumber(t)}var Fibonacci=function(t){__extends(Fibonacci,t);function Fibonacci(i){var e=t.call(this)||this;e._levels=[0,23.6,38.2,50,61.8,100];e._uptrend=!0;e._labelPosition=wijmo_chart_1.LabelPosition.Left;e.rendering.addHandler(e._render);e.initialize(i);return e}Object.defineProperty(Fibonacci.prototype,"low",{get:function(){return this._low},set:function(t){if(t!=this._low){this._low=wijmo_1.asNumber(t,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"high",{get:function(){return this._high},set:function(t){if(t!=this._high){this._high=wijmo_1.asNumber(t,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.LabelPosition,!0))!=this._labelPosition){this._labelPosition=t;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"uptrend",{get:function(){return this._uptrend},set:function(t){if(t!=this._uptrend){this._uptrend=wijmo_1.asBoolean(t,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"levels",{get:function(){return this._levels},set:function(t){if(t!=this._levels){this._levels=wijmo_1.asArray(t,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"minX",{get:function(){return this._minX},set:function(t){if(t!=this._minX){this._minX=t;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"maxX",{get:function(){return this._maxX},set:function(t){if(t!=this._maxX){this._maxX=t;this._invalidate()}},enumerable:!0,configurable:!0});Fibonacci.prototype._getMinX=function(){return wijmo_1.isNumber(this._minX)?this._minX:wijmo_1.isDate(this._minX)?wijmo_1.asDate(this._minX).valueOf():this._getAxisX().actualMin};Fibonacci.prototype._getMaxX=function(){return wijmo_1.isNumber(this._maxX)?this._maxX:wijmo_1.isDate(this._maxX)?wijmo_1.asDate(this._maxX).valueOf():this._getAxisX().actualMax};Fibonacci.prototype._updateLevels=function(){var i,e;if(void 0===this._low||void 0===this._high){var a=t.prototype.getValues.call(this,0),s=t.prototype.getValues.call(this,1);if(a)for(var n=a.length,o=this._getMinX(),r=this._getMaxX(),l=0;l<n;l++){var _=a[l],h=s?s[l]:l;if(!(h<o||h>r)&&!isNaN(_)){(void 0===i||i>_)&&(i=_);(void 0===e||e<_)&&(e=_)}}}void 0===this._low&&void 0!==i?this._actualLow=i:this._actualLow=this._low;void 0===this._high&&void 0!==e?this._actualHigh=e:this._actualHigh=this._high};Fibonacci.prototype._render=function(t,i){i.cancel=!0;var e=t;e._updateLevels();var a=e._getAxisX(),s=e._getAxisY(),n=i.engine,o=e._getSymbolStroke(e._chart.series.indexOf(e)),r=wijmo_chart_1._BasePlotter.cloneStyle(e.style,["fill"]),l=wijmo_chart_1._BasePlotter.cloneStyle(e.style,["stroke"]),_=e.chart._plotrectId;n.stroke=o;n.strokeWidth=2;n.textFill=o;var h=e._getMinX(),c=e._getMaxX();h<a.actualMin&&(h=a.actualMin);c>a.actualMax&&(c=a.actualMax);n.startGroup(null,_);for(var u=e._levels?e._levels.length:0,d=0;d<u;d++){var m=e._levels[d],p=a.convert(h),g=a.convert(c),f=e.uptrend?s.convert(e._actualLow+.01*m*(e._actualHigh-e._actualLow)):s.convert(e._actualHigh-.01*m*(e._actualHigh-e._actualLow));if(wijmo_chart_1._DataInfo.isValid(p)&&wijmo_chart_1._DataInfo.isValid(g)&&wijmo_chart_1._DataInfo.isValid(f)){n.drawLine(p,f,g,f,null,r);if(e.labelPosition!=wijmo_chart_1.LabelPosition.None){var y=m.toFixed(1)+"%",w=0;(e.uptrend&&0==d||!e.uptrend&&d==u-1)&&(w=2);switch(e.labelPosition){case wijmo_chart_1.LabelPosition.Left:wijmo_chart_1.FlexChartCore._renderText(n,y,new wijmo_1.Point(p,f),0,w,null,null,l);break;case wijmo_chart_1.LabelPosition.Center:wijmo_chart_1.FlexChartCore._renderText(n,y,new wijmo_1.Point(.5*(p+g),f),1,w,null,null,l);break;case wijmo_chart_1.LabelPosition.Right:wijmo_chart_1.FlexChartCore._renderText(n,y,new wijmo_1.Point(g,f),2,w,null,null,l)}}}}n.stroke=null;n.strokeWidth=null;n.textFill=null;n.endGroup()};Fibonacci.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};return Fibonacci}(wijmo_chart_1.SeriesBase);exports.Fibonacci=Fibonacci;var FibonacciArcs=function(t){__extends(FibonacciArcs,t);function FibonacciArcs(i){var e=t.call(this)||this;e._levels=[38.2,50,61.8];e._labelPosition=wijmo_chart_1.LabelPosition.Top;e.rendering.addHandler(e._render,e);e.initialize(i);return e}Object.defineProperty(FibonacciArcs.prototype,"start",{get:function(){return this._start},set:function(t){if(t!==this.start){this._start=wijmo_1.asType(t,wijmo_chart_1.DataPoint);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciArcs.prototype,"end",{get:function(){return this._end},set:function(t){if(t!==this.end){this._end=wijmo_1.asType(t,wijmo_chart_1.DataPoint);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciArcs.prototype,"levels",{get:function(){return this._levels},set:function(t){if(t!==this._levels){this._levels=wijmo_1.asArray(t,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciArcs.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.LabelPosition))!==this.labelPosition){this._labelPosition=t;this._invalidate()}},enumerable:!0,configurable:!0});FibonacciArcs.prototype._render=function(i,e){e.cancel=!0;var a=this._getX(0),s=this._getY(0),n=this._getX(1),o=this._getY(1);if(!(t.prototype._getLength.call(this)<=1)&&isValid(a)&&isValid(s)&&isValid(n)&&isValid(o)){var r,l=this._getAxisX(),_=this._getAxisY(),h=e.engine,c=this.chart.series.indexOf(this),u=this._getSymbolStroke(c),d=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),m=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["stroke"]);h.stroke=u;h.strokeWidth=2;h.textFill=u;var p,g,f,y,w,v,j,b,V,x=this.chart._plotrectId,P=o-s;r=h.startGroup(null,x);wijmo_1.addClass(r,"fibonacci-arcs");isValid(a)&&isValid(s)&&isValid(n)&&isValid(o)&&h.drawLines([l.convert(a),l.convert(n)],[_.convert(s),_.convert(o)],null,d);y=Math.sqrt(Math.pow(l.convert(n)-l.convert(a),2)+Math.pow(_.convert(o)-_.convert(s),2));v=new wijmo_1.Point(n,o);for(var B=0;B<this.levels.length;B++){j=.01*this.levels[B];w=Math.abs(y*j);if(isValid(v.x)&&isValid(v.y)&&isValid(w)){p=l.convert(v.x);g=_.convert(v.y);h.drawDonutSegment(p,g,w,w,P>0?0:Math.PI,Math.PI,null,d);if(this.labelPosition!==wijmo_chart_1.LabelPosition.None&&0!==j){V=wijmo_1.Globalize.format(j,"p1");b=h.measureString(V,null,null,m);f=P<=0?g-w:g+w;switch(this.labelPosition){case wijmo_chart_1.LabelPosition.Center:f+=.5*b.height;break;case wijmo_chart_1.LabelPosition.Bottom:f+=P<=0?b.height:0;break;default:f+=P<=0?0:b.height}h.drawString(V,new wijmo_1.Point(p-.5*b.width,f),null,m)}}}h.stroke=null;h.strokeWidth=null;h.textFill=null;h.endGroup()}};FibonacciArcs.prototype._getX=function(t){var i=null;0===t&&this.start?i=this.start.x:1===t&&this.end&&(i=this.end.x);wijmo_1.isDate(i)&&(i=wijmo_1.asDate(i).valueOf());return i};FibonacciArcs.prototype._getY=function(t){var i=null;0===t&&this.start?i=this.start.y:1===t&&this.end&&(i=this.end.y);return i};FibonacciArcs.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};return FibonacciArcs}(wijmo_chart_1.SeriesBase);exports.FibonacciArcs=FibonacciArcs;var FibonacciFans=function(t){__extends(FibonacciFans,t);function FibonacciFans(i){var e=t.call(this)||this;e._levels=[0,23.6,38.2,50,61.8,100];e._labelPosition=wijmo_chart_1.LabelPosition.Top;e.rendering.addHandler(e._render,e);e.initialize(i);return e}Object.defineProperty(FibonacciFans.prototype,"start",{get:function(){return this._start},set:function(t){if(t!==this.start){this._start=wijmo_1.asType(t,wijmo_chart_1.DataPoint);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciFans.prototype,"end",{get:function(){return this._end},set:function(t){if(t!==this.end){this._end=wijmo_1.asType(t,wijmo_chart_1.DataPoint);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciFans.prototype,"levels",{get:function(){return this._levels},set:function(t){if(t!==this._levels){this._levels=wijmo_1.asArray(t,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciFans.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.LabelPosition))!==this.labelPosition){this._labelPosition=t;this._invalidate()}},enumerable:!0,configurable:!0});FibonacciFans.prototype._updateLevels=function(){if(!this.start||!this.end){var i=this.chart._getPlotter(this),e=this._getAxisX(),a=t.prototype.getValues.call(this,0),s=t.prototype.getValues.call(this,1)||i.dataInfo.getXVals(),n=void 0,o=void 0,r=void 0,l=void 0;if(a&&a.length>0){r=wijmo_chart_finance_1._minimum(a);l=wijmo_chart_finance_1._maximum(a)}if(s&&s.length>0){n=wijmo_chart_finance_1._minimum(s);o=wijmo_chart_finance_1._maximum(s)}else{n=e.actualMin;o=e.actualMax}if(isValid(n)&&isValid(r)&&isValid(o)&&isValid(l)){this.start=new wijmo_chart_1.DataPoint(n,r);this.end=new wijmo_chart_1.DataPoint(o,l)}}};FibonacciFans.prototype._render=function(i,e){e.cancel=!0;this._updateLevels();var a=this._getX(0),s=this._getY(0),n=this._getX(1),o=this._getY(1);if(!(t.prototype._getLength.call(this)<=1)&&isValid(a)&&isValid(s)&&isValid(n)&&isValid(o)){var r=this._getAxisX(),l=this._getAxisY(),_=this.chart.series.indexOf(this),h=e.engine,c=this._getSymbolStroke(_),u=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),d=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["stroke"]);h.stroke=c;h.strokeWidth=2;h.textFill=c;var m,p,g,f,y,w,v,j,b,V,x,P,B,k=o-s,M=n-a,I=this.chart._plotrectId;m=a;g=s;f=o;var L=p=n;h.startGroup(null,I);for(var X=0;X<this.levels.length;X++){p=M<0?r.actualMin:r.actualMax;f=(j=((f=g+(V=.01*this.levels[X])*k)-g)/(L-m))*p+(b=f-j*L);k>0&&f>l.actualMax?p=((f=l.actualMax)-b)/j:k<0&&f<l.actualMin&&(p=((f=l.actualMin)-b)/j);if(isValid(m)&&isValid(g)&&isValid(p)&&isValid(f)){y=new wijmo_1.Point(r.convert(m),l.convert(g));w=new wijmo_1.Point(r.convert(p),l.convert(f));h.drawLines([y.x,w.x],[y.y,w.y],null,u);if(this.labelPosition!=wijmo_chart_1.LabelPosition.None){x=wijmo_1.Globalize.format(V,"p1");P=h.measureString(x,null,null,d);B=180*Math.atan((w.y-y.y)/(w.x-y.x))/Math.PI;v=w.clone();w.x=M>0?w.x-P.width:w.x;var O=B*Math.PI/180,S=new wijmo_1.Point,F=new wijmo_1.Point,C=new wijmo_1.Point,A=new wijmo_1.Point,T=l.convert(l.actualMin),D=l.convert(l.actualMax),Y=r.convert(r.actualMin),R=r.convert(r.actualMax),W=void 0,N=v.clone();switch(this.labelPosition){case wijmo_chart_1.LabelPosition.Center:w.y+=.5*P.height;N.y+=.5*P.height;break;case wijmo_chart_1.LabelPosition.Bottom:w.y+=P.height}if(M>0){if(this.labelPosition===wijmo_chart_1.LabelPosition.Top||this.labelPosition===wijmo_chart_1.LabelPosition.Center){A=N.clone();C.x=A.x+P.height*Math.sin(O);C.y=A.y-P.height*Math.cos(O);S.x=A.x-P.width*Math.cos(O)+P.height*Math.sin(O);S.y=A.y-P.width*Math.sin(O)-P.height*Math.cos(O);F.x=A.x-P.width*Math.cos(O);F.y=A.y-P.width*Math.sin(O)}else if(this.labelPosition===wijmo_chart_1.LabelPosition.Bottom){C=N.clone();S.x=C.x-P.width*Math.cos(O);S.y=C.y-P.width*Math.sin(O);F.x=S.x-P.height*Math.sin(O);F.y=S.y+P.height*Math.cos(O);A.x=S.x+P.width*Math.cos(O)-P.height*Math.sin(O);A.y=S.y+P.width*Math.sin(O)+P.height*Math.cos(O)}if(k>0){if(C.y<D){j=(l.convertBack(C.y)-l.convertBack(S.y))/(r.convertBack(C.x)-r.convertBack(S.x));b=l.convertBack(C.y)-j*r.convertBack(C.x);W=r.convert((l.actualMax-b)/j);w.x-=Math.abs(C.x-W)}A.x>R&&(w.x-=Math.abs(R-A.x))}else if(k<0){if(A.y>T){j=(l.convertBack(F.y)-l.convertBack(A.y))/(r.convertBack(F.x)-r.convertBack(A.x));b=l.convertBack(A.y)-j*r.convertBack(A.x);W=r.convert((l.actualMin-b)/j);w.x-=Math.max(Math.abs(W-A.x),Math.abs(T-A.y))}C.x>R&&(w.x-=Math.abs(R-C.x))}}else if(M<0){if(this.labelPosition===wijmo_chart_1.LabelPosition.Top||this.labelPosition===wijmo_chart_1.LabelPosition.Center){F=N.clone();S.x=F.x+P.height*Math.sin(O);S.y=F.y-P.height*Math.cos(O);A.x=F.x+P.width*Math.cos(O);A.y=F.y+P.width*Math.sin(O);C.x=S.x+P.width*Math.cos(O);C.y=S.y+P.width*Math.sin(O)}else if(this.labelPosition===wijmo_chart_1.LabelPosition.Bottom){S=N.clone();C.x=S.x+P.width*Math.cos(O);C.y=S.y+P.width*Math.sin(O);F.x=S.x-P.height*Math.sin(O);F.y=S.y+P.height*Math.cos(O);A.x=S.x+P.width*Math.cos(O)-P.height*Math.sin(O);A.y=S.y+P.width*Math.sin(O)+P.height*Math.cos(O)}if(k>0){if(S.y<D){j=(l.convertBack(S.y)-l.convertBack(C.y))/(r.convertBack(S.x)-r.convertBack(C.x));b=l.convertBack(S.y)-j*r.convertBack(S.x);W=r.convert((l.actualMax-b)/j);w.x+=Math.abs(S.x-W)}F.x<Y&&(w.x+=Math.abs(Y-F.x))}else if(k<0){if(F.y>T){j=(l.convertBack(A.y)-l.convertBack(F.y))/(r.convertBack(A.x)-r.convertBack(F.x));b=l.convertBack(F.y)-j*r.convertBack(F.x);W=r.convert((l.actualMin-b)/j);w.x+=Math.max(Math.abs(W-F.x),Math.abs(T-F.y))}S.x<Y&&(w.x+=Math.abs(Y-S.x))}}Number.isFinite(w.x)&&Number.isFinite(w.y)&&(0===B?h.drawString(x,w,null,d):h.drawStringRotated(x,w,v,B,null,d))}}}h.stroke=null;h.strokeWidth=null;h.textFill=null;h.endGroup()}};FibonacciFans.prototype._getX=function(t){var i=null;0===t&&this.start?i=this.start.x:1===t&&this.end&&(i=this.end.x);wijmo_1.isDate(i)&&(i=wijmo_1.asDate(i).valueOf());return i};FibonacciFans.prototype._getY=function(t){var i=null;0===t&&this.start?i=this.start.y:1===t&&this.end&&(i=this.end.y);return i};FibonacciFans.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};return FibonacciFans}(wijmo_chart_1.SeriesBase);exports.FibonacciFans=FibonacciFans;var FibonacciTimeZones=function(t){__extends(FibonacciTimeZones,t);function FibonacciTimeZones(i){var e=t.call(this)||this;e._levels=[0,1,2,3,5,8,13,21,34];e._labelPosition=wijmo_chart_1.LabelPosition.Right;e.rendering.addHandler(e._render,e);e.initialize(i);return e}Object.defineProperty(FibonacciTimeZones.prototype,"startX",{get:function(){return this._startX},set:function(t){if(t!==this.startX){wijmo_1.isDate(t)?this._startX=wijmo_1.asDate(t):this._startX=wijmo_1.asNumber(t);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciTimeZones.prototype,"endX",{get:function(){return this._endX},set:function(t){if(t!==this.endX){wijmo_1.isDate(t)?this._endX=wijmo_1.asDate(t):this._endX=wijmo_1.asNumber(t);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciTimeZones.prototype,"levels",{get:function(){return this._levels},set:function(t){if(t!==this._levels){this._levels=wijmo_1.asArray(t,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciTimeZones.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.LabelPosition))!==this.labelPosition){this._labelPosition=t;this._invalidate()}},enumerable:!0,configurable:!0});FibonacciTimeZones.prototype._render=function(i,e){e.cancel=!0;this._updateLevels();var a=this._getX(0),s=this._getX(1);if(!(t.prototype._getLength.call(this)<=1)&&isValid(a)&&isValid(s)){var n,o,r,l,_=s-a,h=this._getAxisX(),c=this._getAxisY(),u=this._chart.series.indexOf(this),d=e.engine,m=this._getSymbolStroke(u),p=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),g=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["stroke"]),f=c.convert(c.actualMin),y=c.convert(c.actualMax),w=this.chart._plotrectId;d.stroke=m;d.strokeWidth=2;d.textFill=m;if(0!==_){d.startGroup(null,w);for(var v=0;v<this.levels.length;v++)if(!((o=_*(n=this.levels[v])+a)<h.actualMin||h.actualMax<o)&&isValid(o)){o=h.convert(o);d.drawLine(o,f,o,y,null,p);if(this.labelPosition!==wijmo_chart_1.LabelPosition.None){l=wijmo_1.Globalize.format(n,"n0");r=d.measureString(l,null,null,g);switch(this.labelPosition){case wijmo_chart_1.LabelPosition.Left:o-=r.width+2;break;case wijmo_chart_1.LabelPosition.Center:o-=r.width/2;break;case wijmo_chart_1.LabelPosition.Right:o+=2;break;default:o=_<0?o-r.width-2:o+2}d.drawString(l,new wijmo_1.Point(o,f),null,g)}}d.stroke=null;d.strokeWidth=null;d.textFill=null;d.endGroup()}}};FibonacciTimeZones.prototype._updateLevels=function(){var i=this.chart._getPlotter(this),e=t.prototype.getValues.call(this,1)||i.dataInfo.getXVals();if(!(t.prototype._getLength.call(this)<=1)){var a=this._getX(0),s=this._getX(1),n=wijmo_1.isNumber(a)&&wijmo_1.isNumber(s);if(n||e){if(!n&&e){this._startX=e[0];this._endX=e[1]}}else{this._startX=0;this._endX=1}}};FibonacciTimeZones.prototype._getX=function(t){var i=null;0===t?i=this.startX:1===t&&(i=this.endX);wijmo_1.isDate(i)&&(i=wijmo_1.asDate(i).valueOf());return i};FibonacciTimeZones.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};return FibonacciTimeZones}(wijmo_chart_1.SeriesBase);exports.FibonacciTimeZones=FibonacciTimeZones;var OverlayIndicatorBase=function(t){__extends(OverlayIndicatorBase,t);function OverlayIndicatorBase(i){var e=t.call(this,i)||this;e._seriesCount=1;return e}Object.defineProperty(OverlayIndicatorBase.prototype,"_hitTester",{get:function(){this._plotter&&!this.__hitTester&&(this.__hitTester=this._plotter.hitTester);return this.__hitTester},enumerable:!0,configurable:!0});OverlayIndicatorBase.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};OverlayIndicatorBase.prototype._getXValues=function(){return t.prototype.getValues.call(this,1)||this._plotter.dataInfo.getXVals()};OverlayIndicatorBase.prototype._getDataPoint=function(t,i,e,a,s,n){var o=new wijmo_chart_1._DataPoint(e,a,t,i);o.y=i;o.yfmt=n._formatValue(i);o.x=t;o.xfmt=s._formatValue(t);return o};OverlayIndicatorBase.prototype._shouldCalculate=function(){return!0};OverlayIndicatorBase.prototype._init=function(){};OverlayIndicatorBase.prototype._calculate=function(){};OverlayIndicatorBase.prototype._clearValues=function(){t.prototype._clearValues.call(this);this.__hitTester=null};OverlayIndicatorBase.prototype._getName=function(t){var i;if(this.name)if(this.name.indexOf(",")){var e=this.name.split(",");e&&e.length-1>=t&&(i=e[t].trim())}else i=this.name;return i};OverlayIndicatorBase.prototype._getStyles=function(t){var i=null;if(t<0||null===this._styles)return i;var e=0;for(var a in this._styles){if(e===t&&this._styles.hasOwnProperty(a)){i=this._styles[a];break}e++}return i};OverlayIndicatorBase.prototype.legendItemLength=function(){return this._seriesCount};OverlayIndicatorBase.prototype.measureLegendItem=function(t,i){var e=this._getName(i),a=new wijmo_1.Size(0,0);e&&(a=this._measureLegendItem(t,this._getName(i)));return a};OverlayIndicatorBase.prototype.drawLegendItem=function(t,i,e){var a=this._getStyles(e)||this.style;this._getName(e)&&this._drawLegendItem(t,i,this._getChartType(),this._getName(e),a,this.symbolStyle)};return OverlayIndicatorBase}(wijmo_chart_1.SeriesBase);exports.OverlayIndicatorBase=OverlayIndicatorBase;var SingleOverlayIndicatorBase=function(t){__extends(SingleOverlayIndicatorBase,t);function SingleOverlayIndicatorBase(i){var e=t.call(this,i)||this;e._period=14;return e}Object.defineProperty(SingleOverlayIndicatorBase.prototype,"period",{get:function(){return this._period},set:function(t){if(t!==this._period){this._period=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});SingleOverlayIndicatorBase.prototype.getValues=function(i){var e=null;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}0===i?e=this._yvals:1===i&&(e=this._xvals);return e};SingleOverlayIndicatorBase.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=wijmo_chart_finance_1._minimum(this._xvals),n=wijmo_chart_finance_1._maximum(this._xvals),o=wijmo_chart_finance_1._minimum(this._yvals),r=wijmo_chart_finance_1._maximum(this._yvals);wijmo_chart_1._DataInfo.isValid(s)&&wijmo_chart_1._DataInfo.isValid(n)&&wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&(a=new wijmo_1.Rect(s,o,n-s,r-o));return a};SingleOverlayIndicatorBase.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._xvals=null;this._yvals=null};SingleOverlayIndicatorBase.prototype._shouldCalculate=function(){return!this._yvals||!this._xvals};SingleOverlayIndicatorBase.prototype._init=function(){t.prototype._init.call(this);this._yvals=[];this._xvals=[]};SingleOverlayIndicatorBase.prototype._getItem=function(i){if(t.prototype._getLength.call(this)<=0)return t.prototype._getItem.call(this,i);if(this._shouldCalculate()){this._init();this._calculate()}i=t.prototype._getLength.call(this)-wijmo_chart_finance_1._minimum(this._yvals.length,this._xvals.length)+i;return t.prototype._getItem.call(this,i)};return SingleOverlayIndicatorBase}(OverlayIndicatorBase);exports.SingleOverlayIndicatorBase=SingleOverlayIndicatorBase;var WilliamsR=function(t){__extends(WilliamsR,t);function WilliamsR(i){var e=t.call(this)||this;e.period=14;e.initialize(i);return e}WilliamsR.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype._getBindingValues.call(this,0),a=t.prototype._getBindingValues.call(this,1),s=t.prototype._getBindingValues.call(this,3),n=this._getXValues();this._yvals=_williamsR(e,a,s,this.period);this._xvals=n?n.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,i-1)}};return WilliamsR}(SingleOverlayIndicatorBase);exports.WilliamsR=WilliamsR;function _williamsR(t,i,e,a){wijmo_1.asArray(t,!1);wijmo_1.asArray(i,!1);wijmo_1.asArray(e,!1);wijmo_1.asInt(a,!1,!0);var s,n=wijmo_chart_finance_1._minimum(t.length,i.length,e.length),o=[],r=[],l=[];wijmo_1.assert(n>a&&a>1,"Williams %R period must be an integer less than the length of the data and greater than one.");for(s=a;s<=t.length;s++){o.push(wijmo_chart_finance_1._maximum(t.slice(s-a,s)));r.push(wijmo_chart_finance_1._minimum(i.slice(s-a,s)))}e.splice(0,a-1);for(s=0;s<o.length;s++)l.push((o[s]-e[s])/(o[s]-r[s])*-100);return l}exports._williamsR=_williamsR;var Stochastic=function(t){__extends(Stochastic,t);function Stochastic(i){var e=t.call(this)||this;e._kPeriod=14;e._dPeriod=3;e._smoothingPeriod=1;e._seriesCount=2;e.rendering.addHandler(e._rendering,e);e.initialize(i);return e}Object.defineProperty(Stochastic.prototype,"kPeriod",{get:function(){return this._kPeriod},set:function(t){if(t!==this._kPeriod){this._kPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Stochastic.prototype,"dPeriod",{get:function(){return this._dPeriod},set:function(t){if(t!==this._dPeriod){this._dPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Stochastic.prototype,"smoothingPeriod",{get:function(){return this._smoothingPeriod},set:function(t){if(t!==this._smoothingPeriod){this._smoothingPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Stochastic.prototype,"styles",{get:function(){return this._styles},set:function(t){if(t!==this._styles){this._styles=t;this._invalidate()}},enumerable:!0,configurable:!0});Stochastic.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=this._kVals.concat(this._dVals),n=this._kXVals.concat(this._dXVals),o=wijmo_chart_finance_1._minimum(n),r=wijmo_chart_finance_1._maximum(n),l=wijmo_chart_finance_1._minimum(s),_=wijmo_chart_finance_1._maximum(s);wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&wijmo_chart_1._DataInfo.isValid(l)&&wijmo_chart_1._DataInfo.isValid(_)&&(a=new wijmo_1.Rect(o,l,r-o,_-l));return a};Stochastic.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._kVals=null;this._kXVals=null;this._dVals=null;this._dXVals=null};Stochastic.prototype._shouldCalculate=function(){return!(this._kVals&&this._kXVals&&this._dVals&&this._dXVals)};Stochastic.prototype._init=function(){t.prototype._init.call(this);this._kVals=[];this._kXVals=[];this._dVals=[];this._dXVals=[]};Stochastic.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(t.prototype._getLength.call(this)<=0)){var e=t.prototype._getBindingValues.call(this,0),a=t.prototype._getBindingValues.call(this,1),s=t.prototype._getBindingValues.call(this,3),n=this._getXValues(),o=_stochastic(e,a,s,this.kPeriod,this.dPeriod,this.smoothingPeriod);this._kVals=o.ks;this._dVals=o.ds;this._kXVals=n?n.slice(this.kPeriod-1):wijmo_chart_finance_1._range(this.kPeriod-1,i-1);this.smoothingPeriod&&this.smoothingPeriod>1&&(this._kXVals=this._kXVals.slice(this._kXVals.length-this._kVals.length,this._kXVals.length));this._dXVals=this._kXVals.slice(this._kXVals.length-this._dVals.length,this._kXVals.length)}};Stochastic.prototype._rendering=function(i,e){e.cancel=!0;if(!(t.prototype._getLength.call(this)<=0)){if(this._shouldCalculate()){this._init();this._calculate()}var a=this.chart.series.indexOf(this),s=e.engine,n=this._getAxisX(),o=this._getAxisY(),r=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),l=this._getSymbolStroke(a),_=this.chart._plotrectId,h=null,c=l,u=2,d=null,m=l,p=2;if(this.styles&&wijmo_1.isObject(this.styles)){if(this.styles.kLine&&wijmo_1.isObject(this.styles.kLine)){c=(h=wijmo_chart_1._BasePlotter.cloneStyle(this.styles.kLine,["fill"])).stroke?h.stroke:l;u=h.strokeWidth?h.strokeWidth:2}if(this.styles.dLine&&wijmo_1.isObject(this.styles.dLine)){m=(d=wijmo_chart_1._BasePlotter.cloneStyle(this.styles.dLine,["fill"])).stroke?d.stroke:l;p=d.strokeWidth?d.strokeWidth:2}}var g,f,y,w,v=[],j=[],b=[],V=[],x=this._getLength();for(y=0;y<this._kVals.length;y++){w=x-this._kVals.length+y;j.push(n.convert(this._kXVals[y]));v.push(o.convert(this._kVals[y]));(g=this._getDataPoint(this._kXVals[y],this._kVals[y],a,w,n,o)).name=this._getName(0);(f=new wijmo_chart_1._CircleArea(new wijmo_1.Point(j[y],v[y]),.5*s.strokeWidth)).tag=g;this._hitTester.add(f,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(j,v),a);s.stroke=c;s.strokeWidth=u;s.drawLines(j,v,null,r,_);for(y=0;y<this._dVals.length;y++){w=x-this._dVals.length+y;V.push(n.convert(this._dXVals[y]));b.push(o.convert(this._dVals[y]));(g=this._getDataPoint(this._dXVals[y],this._dVals[y],a,w,n,o)).name=this._getName(1);(f=new wijmo_chart_1._CircleArea(new wijmo_1.Point(V[y],b[y]),.5*s.strokeWidth)).tag=g;this._hitTester.add(f,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(V,b),a);s.stroke=m;s.strokeWidth=p;s.drawLines(V,b,null,r,_)}};Stochastic.prototype.getCalculatedValues=function(i){i=wijmo_1.asString(i,!1);var e=[],a=0;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}switch(i){case"kLine":for(;a<this._kVals.length;a++)e.push({x:this._kXVals[a],y:this._kVals[a]});break;case"dLine":for(;a<this._dVals.length;a++)e.push({x:this._dXVals[a],y:this._dVals[a]})}return e};return Stochastic}(OverlayIndicatorBase);exports.Stochastic=Stochastic;function _stochastic(t,i,e,a,s,n){wijmo_1.asArray(t,!1);wijmo_1.asArray(i,!1);wijmo_1.asArray(e,!1);wijmo_1.asInt(a,!1,!0);wijmo_1.asInt(s,!1,!0);wijmo_1.asInt(n,!0,!0);var o,r=[],l=[],_=[];for(o=a;o<=t.length;o++){r.push(wijmo_chart_finance_1._maximum(t.slice(o-a,o)));l.push(wijmo_chart_finance_1._minimum(i.slice(o-a,o)))}e=e.slice(a-1);for(o=0;o<e.length;o++)_.push((e[o]-l[o])/(r[o]-l[o])*100);n&&n>1&&(_=wijmo_chart_finance_1._sma(_,n));return{ks:_,ds:wijmo_chart_finance_1._sma(_,s)}}exports._stochastic=_stochastic;var RSI=function(t){__extends(RSI,t);function RSI(i){var e=t.call(this)||this;e.period=14;e.initialize(i);return e}RSI.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype._getBindingValues.call(this,0),a=this._getXValues();this._yvals=_rsi(e,this.period);this._xvals=a?a.slice(this.period):wijmo_chart_finance_1._range(this.period,i)}};return RSI}(SingleOverlayIndicatorBase);exports.RSI=RSI;function _rsi(t,i){wijmo_1.asArray(t,!1);wijmo_1.asInt(i,!0,!1);wijmo_1.assert(t.length>i&&i>1,"RSI period must be an integer less than the length of the data and greater than one.");var e,a,s,n,o=[],r=[],l=[],_=[];for(n=1;n<t.length;n++)o.push(t[n]-t[n-1]);e=o.map((function(t){return t>0?t:0}));a=o.map((function(t){return t<0?Math.abs(t):0}));for(n=i;n<=o.length;n++){if(n===i){r.push(wijmo_chart_finance_1._sum(e.slice(n-i,n))/i);l.push(wijmo_chart_finance_1._sum(a.slice(n-i,n))/i)}else{r.push((e[n-1]+r[n-i-1]*(i-1))/i);l.push((a[n-1]+l[n-i-1]*(i-1))/i)}s=r[n-i]/l[n-i];s=Number.isFinite(s)?s:0;_.push(100-100/(1+s))}return _}exports._rsi=_rsi;var MacdBase=function(t){__extends(MacdBase,t);function MacdBase(i){var e=t.call(this,i)||this;e._fastPeriod=12;e._slowPeriod=26;e._smoothingPeriod=9;return e}Object.defineProperty(MacdBase.prototype,"fastPeriod",{get:function(){return this._fastPeriod},set:function(t){if(t!==this._fastPeriod){this._fastPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(MacdBase.prototype,"slowPeriod",{get:function(){return this._slowPeriod},set:function(t){if(t!==this._slowPeriod){this._slowPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(MacdBase.prototype,"smoothingPeriod",{get:function(){return this._smoothingPeriod},set:function(t){if(t!==this._smoothingPeriod){this._smoothingPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});MacdBase.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._macdVals=null;this._macdXVals=null;this._signalVals=null;this._signalXVals=null;this._histogramVals=null;this._histogramXVals=null};MacdBase.prototype._shouldCalculate=function(){return!(this._macdVals&&this._macdXVals&&this._signalVals&&this._signalXVals&&this._histogramVals&&this._histogramXVals)};MacdBase.prototype._init=function(){t.prototype._init.call(this);this._macdVals=[];this._macdXVals=[];this._signalVals=[];this._signalXVals=[];this._histogramVals=[];this._histogramXVals=[]};MacdBase.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype.getValues.call(this,0),a=this._getXValues(),s=_macd(e,this.fastPeriod,this.slowPeriod,this.smoothingPeriod);this._macdVals=s.macds;this._signalVals=s.signals;this._histogramVals=s.histograms;this._macdXVals=a?a.slice(i-this._macdVals.length,i):wijmo_chart_finance_1._range(i-this._macdVals.length,i-1);this._signalXVals=a?a.slice(i-this._signalVals.length,i):wijmo_chart_finance_1._range(i-this._signalVals.length,i-1);this._histogramXVals=a?a.slice(i-this._histogramVals.length,i):wijmo_chart_finance_1._range(i-this._histogramVals.length,i-1)}};return MacdBase}(OverlayIndicatorBase);exports.MacdBase=MacdBase;var Macd=function(t){__extends(Macd,t);function Macd(i){var e=t.call(this)||this;e._seriesCount=2;e.rendering.addHandler(e._rendering,e);e.initialize(i);return e}Object.defineProperty(Macd.prototype,"styles",{get:function(){return this._styles},set:function(t){if(t!==this._styles){this._styles=t;this._invalidate()}},enumerable:!0,configurable:!0});Macd.prototype.legendItemLength=function(){return this.name.indexOf(",")>-1?2:1};Macd.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=[],n=[];n.push.apply(n,this._macdXVals);n.push.apply(n,this._signalXVals);s.push.apply(s,this._macdVals);s.push.apply(s,this._signalVals);var o=wijmo_chart_finance_1._minimum(n),r=wijmo_chart_finance_1._maximum(n),l=wijmo_chart_finance_1._minimum(s),_=wijmo_chart_finance_1._maximum(s);wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&wijmo_chart_1._DataInfo.isValid(l)&&wijmo_chart_1._DataInfo.isValid(_)&&(a=new wijmo_1.Rect(o,l,r-o,_-l));return a};Macd.prototype._rendering=function(i,e){e.cancel=!0;if(!(t.prototype._getLength.call(this)<=0)){if(this._shouldCalculate()){this._init();this._calculate()}var a=this.chart.series.indexOf(this),s=e.engine,n=this._getAxisX(),o=this._getAxisY(),r=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),l=this._getSymbolStroke(a),_=this.chart._plotrectId,h=null,c=l,u=2,d=null,m=l,p=2;if(this.styles&&wijmo_1.isObject(this.styles)){if(this.styles.macdLine&&wijmo_1.isObject(this.styles.macdLine)){c=(h=wijmo_chart_1._BasePlotter.cloneStyle(this.styles.macdLine,["fill"])).stroke?h.stroke:l;u=h.strokeWidth?h.strokeWidth:2}if(this.styles.signalLine&&wijmo_1.isObject(this.styles.signalLine)){m=(d=wijmo_chart_1._BasePlotter.cloneStyle(this.styles.signalLine,["fill"])).stroke?d.stroke:l;p=d.strokeWidth?d.strokeWidth:2}}var g,f,y,w,v=[],j=[],b=[],V=[],x=this._getLength();for(y=0;y<this._macdVals.length;y++){w=x-this._macdVals.length+y;j.push(n.convert(this._macdXVals[y]));v.push(o.convert(this._macdVals[y]));(g=this._getDataPoint(this._macdXVals[y],this._macdVals[y],a,w,n,o)).name=this._getName(0);(f=new wijmo_chart_1._CircleArea(new wijmo_1.Point(j[y],v[y]),.5*s.strokeWidth)).tag=g;this._hitTester.add(f,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(j,v),a);s.stroke=c;s.strokeWidth=u;s.drawLines(j,v,null,r,_);for(y=0;y<this._signalVals.length;y++){w=x-this._signalVals.length+y;V.push(n.convert(this._signalXVals[y]));b.push(o.convert(this._signalVals[y]));(g=this._getDataPoint(this._signalXVals[y],this._signalVals[y],a,w,n,o)).name=this._getName(1);(f=new wijmo_chart_1._CircleArea(new wijmo_1.Point(V[y],b[y]),.5*s.strokeWidth)).tag=g;this._hitTester.add(f,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(V,b),a);s.stroke=m;s.strokeWidth=p;s.drawLines(V,b,null,r,_)}};Macd.prototype.getCalculatedValues=function(i){i=wijmo_1.asString(i,!1);var e=[],a=0;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}switch(i){case"macdLine":for(;a<this._macdVals.length;a++)e.push({x:this._macdXVals[a],y:this._macdVals[a]});break;case"signalLine":for(;a<this._signalVals.length;a++)e.push({x:this._signalXVals[a],y:this._signalVals[a]})}return e};return Macd}(MacdBase);exports.Macd=Macd;var MovingAverageType,MacdHistogram=function(t){__extends(MacdHistogram,t);function MacdHistogram(i){return t.call(this,i)||this}MacdHistogram.prototype.getValues=function(i){var e=null;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}0===i?e=this._histogramVals:1===i&&(e=this._histogramXVals);return e};MacdHistogram.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=wijmo_chart_finance_1._minimum(this._histogramXVals),n=wijmo_chart_finance_1._maximum(this._histogramXVals),o=wijmo_chart_finance_1._minimum(this._histogramVals),r=wijmo_chart_finance_1._maximum(this._histogramVals);wijmo_chart_1._DataInfo.isValid(s)&&wijmo_chart_1._DataInfo.isValid(n)&&wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&(a=new wijmo_1.Rect(s,o,n-s,r-o));return a};MacdHistogram.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Column};MacdHistogram.prototype._getItem=function(i){i=t.prototype._getLength.call(this)-wijmo_chart_finance_1._minimum(this._histogramVals.length,this._histogramXVals.length)+i;return t.prototype._getItem.call(this,i)};return MacdHistogram}(MacdBase);exports.MacdHistogram=MacdHistogram;function _macd(t,i,e,a){wijmo_1.asArray(t,!1);wijmo_1.asInt(i,!1,!0);wijmo_1.asInt(e,!1,!0);wijmo_1.asInt(a,!1,!0);var s,n=i>e;if(n){s=e;e=i;i=s}var o,r,l=wijmo_chart_finance_1._ema(t,i),_=wijmo_chart_finance_1._ema(t,e),h=[],c=[];l.splice(0,e-i);for(r=0;r<l.length;r++){s=l[r]-_[r];n&&(s*=-1);h.push(s)}o=wijmo_chart_finance_1._ema(h,a);var u=h.slice(h.length-o.length,h.length);for(r=0;r<u.length;r++)c.push(u[r]-o[r]);return{macds:h,signals:o,histograms:c}}exports._macd=_macd;!function(t){t[t.Simple=0]="Simple";t[t.Exponential=1]="Exponential"}(MovingAverageType=exports.MovingAverageType||(exports.MovingAverageType={}));var Envelopes=function(t){__extends(Envelopes,t);function Envelopes(i){var e=t.call(this)||this;e._period=20;e._type=MovingAverageType.Simple;e._size=.025;e.rendering.addHandler(e._rendering,e);e.initialize(i);return e}Object.defineProperty(Envelopes.prototype,"period",{get:function(){return this._period},set:function(t){if(t!==this._period){this._period=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Envelopes.prototype,"type",{get:function(){return this._type},set:function(t){if((t=wijmo_1.asEnum(t,MovingAverageType,!1))!==this._type){this._type=t;this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Envelopes.prototype,"size",{get:function(){return this._size},set:function(t){if(t!==this._size){this._size=wijmo_1.asNumber(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Envelopes.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=this._upperYVals.concat(this._lowerYVals),n=wijmo_chart_finance_1._minimum(this._xVals),o=wijmo_chart_finance_1._maximum(this._xVals),r=wijmo_chart_finance_1._minimum(s),l=wijmo_chart_finance_1._maximum(s);wijmo_chart_1._DataInfo.isValid(n)&&wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&wijmo_chart_1._DataInfo.isValid(l)&&(a=new wijmo_1.Rect(n,r,o-n,l-r));return a};Envelopes.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._upperYVals=null;this._lowerYVals=null;this._xVals=null};Envelopes.prototype._init=function(){t.prototype._init.call(this);this._upperYVals=[];this._lowerYVals=[];this._xVals=[]};Envelopes.prototype._shouldCalculate=function(){return!this._upperYVals||!this._lowerYVals||!this._xVals};Envelopes.prototype._calculate=function(){var i=this;if(!(t.prototype._getLength.call(this)<=0)){var e,a=t.prototype.getValues.call(this,0),s=this._getXValues();switch(this.type){case MovingAverageType.Exponential:e=wijmo_chart_finance_1._ema(a,this.period);break;default:e=wijmo_chart_finance_1._sma(a,this.period)}this._xVals=s?s.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,t.prototype._getLength.call(this)-1);this._upperYVals=e.map((function(t){return t+t*i.size}));this._lowerYVals=e.map((function(t){return t-t*i.size}))}};Envelopes.prototype._rendering=function(i,e){e.cancel=!0;if(!(t.prototype._getLength.call(this)<=0)){if(this._shouldCalculate()){this._init();this._calculate()}var a=this.chart.series.indexOf(this),s=e.engine,n=this._getAxisX(),o=this._getAxisY(),r=wijmo_chart_finance_1._minimum(this._upperYVals.length,this._lowerYVals.length,this._xVals.length),l=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),_=this._getSymbolStroke(a),h=this.chart._plotrectId;if(r&&!(r<=0)){s.stroke=_;s.strokeWidth=2;for(var c,u,d,m=[],p=[],g=[],f=this._getLength(),y=0;y<r;y++){d=f-r+y;m.push(n.convert(this._xVals[y]));p.push(o.convert(this._upperYVals[y]));c=this._getDataPoint(this._xVals[y],this._upperYVals[y],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[y],p[y]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a);g.push(o.convert(this._lowerYVals[y]));c=this._getDataPoint(this._xVals[y],this._lowerYVals[y],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[y],g[y]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(m,p),a);this._hitTester.add(new wijmo_chart_1._LinesArea(m,g),a);s.drawLines(m,p,null,l,h);s.drawLines(m,g,null,l,h)}}};Envelopes.prototype.getCalculatedValues=function(i){i=wijmo_1.asString(i,!1);var e=[],a=0;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}switch(i){case"upperEnvelope":for(;a<this._upperYVals.length;a++)e.push({x:this._xVals[a],y:this._upperYVals[a]});break;case"lowerEnvelope":for(;a<this._lowerYVals.length;a++)e.push({x:this._xVals[a],y:this._lowerYVals[a]})}return e};return Envelopes}(OverlayIndicatorBase);exports.Envelopes=Envelopes;var CCI=function(t){__extends(CCI,t);function CCI(i){var e=t.call(this)||this;e._constant=.015;e.period=20;e.initialize(i);return e}Object.defineProperty(CCI.prototype,"constant",{get:function(){return this._constant},set:function(t){if(t!==this._constant){this._constant=wijmo_1.asNumber(t,!1);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});CCI.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype._getBindingValues.call(this,0),a=t.prototype._getBindingValues.call(this,1),s=t.prototype._getBindingValues.call(this,3),n=this._getXValues();this._yvals=_cci(e,a,s,this.period,this.constant);this._xvals=n?n.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,i-1)}};return CCI}(SingleOverlayIndicatorBase);exports.CCI=CCI;function _cci(t,i,e,a,s){wijmo_1.asArray(t,!1);wijmo_1.asArray(i,!1);wijmo_1.asArray(e,!1);wijmo_1.asInt(a,!1,!0);wijmo_1.asNumber(s,!1,!0);var n,o,r,l=wijmo_chart_finance_1._minimum(t.length,i.length,e.length),_=[],h=[],c=[];wijmo_1.assert(l>a&&a>1,"CCI period must be an integer less than the length of the data and greater than one.");for(o=0;o<l;o++)_.push(wijmo_chart_finance_1._average(t[o],i[o],e[o]));n=wijmo_chart_finance_1._sma(_,a);for(o=0;o<n.length;o++){r=_.slice(o,a+o).reduce((function(t,i){return t+Math.abs(n[o]-i)}),0);h.push(r/a)}_.splice(0,a-1);for(o=0;o<n.length;o++)c.push((_[o]-n[o])/(s*h[o]));return c}exports._cci=_cci;var BollingerBands=function(t){__extends(BollingerBands,t);function BollingerBands(i){var e=t.call(this)||this;e._period=20;e._multiplier=2;e.rendering.addHandler(e._rendering,e);e.initialize(i);return e}Object.defineProperty(BollingerBands.prototype,"period",{get:function(){return this._period},set:function(t){if(t!==this._period){this._period=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BollingerBands.prototype,"multiplier",{get:function(){return this._multiplier},set:function(t){if(t!==this._multiplier){this._multiplier=wijmo_1.asNumber(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});BollingerBands.prototype.getDataRect=function(i,e){if(e)return e;if(t.prototype._getLength.call(this)<=0)return null;if(this._shouldCalculate()){this._init();this._calculate()}var a=this._upperYVals.concat(this._lowerYVals),s=wijmo_chart_finance_1._minimum(this._xVals),n=wijmo_chart_finance_1._maximum(this._xVals),o=wijmo_chart_finance_1._minimum(a),r=wijmo_chart_finance_1._maximum(a);return wijmo_chart_1._DataInfo.isValid(s)&&wijmo_chart_1._DataInfo.isValid(n)&&wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)?new wijmo_1.Rect(s,o,n-s,r-o):null};BollingerBands.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._upperYVals=null;this._middleYVals=null;this._lowerYVals=null;this._xVals=null};BollingerBands.prototype._shouldCalculate=function(){return!(this._upperYVals&&this._middleYVals&&this._lowerYVals&&this._xVals)};BollingerBands.prototype._init=function(){t.prototype._init.call(this);this._upperYVals=[];this._middleYVals=[];this._lowerYVals=[];this._xVals=[]};BollingerBands.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype.getValues.call(this,0),a=this._getXValues(),s=_bollingerBands(e,this.period,this.multiplier);this._upperYVals=s.uppers;this._middleYVals=s.middles;this._lowerYVals=s.lowers;this._xVals=a?a.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,i-1)}};BollingerBands.prototype._rendering=function(i,e){e.cancel=!0;if(!(t.prototype._getLength.call(this)<=0)){if(this._shouldCalculate()){this._init();this._calculate()}var a=this.chart.series.indexOf(this),s=e.engine,n=this._getAxisX(),o=this._getAxisY(),r=wijmo_chart_finance_1._minimum(this._upperYVals.length,this._middleYVals.length,this._lowerYVals.length,this._xVals.length),l=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),_=this._getSymbolStroke(a),h=this.chart._plotrectId;if(r&&!(r<=0)){s.stroke=_;s.strokeWidth=2;for(var c,u,d,m=[],p=[],g=[],f=[],y=this._getLength(),w=0;w<r;w++){d=y-r+w;m.push(n.convert(this._xVals[w]));p.push(o.convert(this._upperYVals[w]));c=this._getDataPoint(this._xVals[w],this._upperYVals[w],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[w],p[w]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a);g.push(o.convert(this._middleYVals[w]));c=this._getDataPoint(this._xVals[w],this._middleYVals[w],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[w],g[w]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a);f.push(o.convert(this._lowerYVals[w]));c=this._getDataPoint(this._xVals[w],this._lowerYVals[w],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[w],f[w]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(m,p),a);this._hitTester.add(new wijmo_chart_1._LinesArea(m,g),a);this._hitTester.add(new wijmo_chart_1._LinesArea(m,f),a);s.drawLines(m,p,null,l,h);s.drawLines(m,g,null,l,h);s.drawLines(m,f,null,l,h)}}};BollingerBands.prototype.getCalculatedValues=function(i){i=wijmo_1.asString(i,!1);var e=[],a=0;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}switch(i){case"upperBand":for(;a<this._upperYVals.length;a++)e.push({x:this._xVals[a],y:this._upperYVals[a]});break;case"middleBand":for(;a<this._middleYVals.length;a++)e.push({x:this._xVals[a],y:this._middleYVals[a]});break;case"lowerBand":for(;a<this._lowerYVals.length;a++)e.push({x:this._xVals[a],y:this._lowerYVals[a]})}return e};return BollingerBands}(OverlayIndicatorBase);exports.BollingerBands=BollingerBands;function _bollingerBands(t,i,e){wijmo_1.asArray(t,!1);wijmo_1.asInt(i,!1,!0);wijmo_1.asNumber(e,!1,!0);wijmo_1.assert(t.length>i&&i>1,"Bollinger Bands period must be an integer less than the length of the data and greater than one.");var a,s=wijmo_chart_finance_1._sma(t,i),n=[];for(a=i;a<=t.length;a++)n.push(wijmo_chart_finance_1._stdDeviation(t.slice(a-i,a)));var o=s,r=s.map((function(t,i){return t+n[i]*e}));return{lowers:s.map((function(t,i){return t-n[i]*e})),middles:o,uppers:r}}exports._bollingerBands=_bollingerBands;var ATR=function(t){__extends(ATR,t);function ATR(i){var e=t.call(this)||this;e.period=14;e.initialize(i);return e}ATR.prototype._calculate=function(){if(!(t.prototype._getLength.call(this)<=0)){var i=t.prototype._getBindingValues.call(this,0),e=t.prototype._getBindingValues.call(this,1),a=t.prototype._getBindingValues.call(this,3),s=this._getXValues();this._yvals=wijmo_chart_finance_1._avgTrueRng(i,e,a,this.period);this._xvals=s?s.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,i.length)}};return ATR}(SingleOverlayIndicatorBase);exports.ATR=ATR;wijmo_1._registerModule("wijmo.chart.finance.analytics",selfModule);
14
+ "use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(t,i){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e])})(t,i)};return function(t,i){extendStatics(t,i);function __(){this.constructor=t}t.prototype=null===i?Object.create(i):(__.prototype=i.prototype,new __)}}(),__importStar=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var i={};if(null!=t)for(var e in t)Object.hasOwnProperty.call(t,e)&&(i[e]=t[e]);i.default=t;return i};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),wijmo_chart_finance_1=require("wijmo/wijmo.chart.finance"),selfModule=__importStar(require("wijmo/wijmo.chart.finance.analytics"));function isValid(t){return isFinite(t)&&!isNaN(t)&&wijmo_1.isNumber(t)}var Fibonacci=function(t){__extends(Fibonacci,t);function Fibonacci(i){var e=t.call(this)||this;e._levels=[0,23.6,38.2,50,61.8,100];e._uptrend=!0;e._labelPosition=wijmo_chart_1.LabelPosition.Left;e.rendering.addHandler(e._render);e.initialize(i);return e}Object.defineProperty(Fibonacci.prototype,"low",{get:function(){return this._low},set:function(t){if(t!=this._low){this._low=wijmo_1.asNumber(t,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"high",{get:function(){return this._high},set:function(t){if(t!=this._high){this._high=wijmo_1.asNumber(t,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.LabelPosition,!0))!=this._labelPosition){this._labelPosition=t;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"uptrend",{get:function(){return this._uptrend},set:function(t){if(t!=this._uptrend){this._uptrend=wijmo_1.asBoolean(t,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"levels",{get:function(){return this._levels},set:function(t){if(t!=this._levels){this._levels=wijmo_1.asArray(t,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"minX",{get:function(){return this._minX},set:function(t){if(t!=this._minX){this._minX=t;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Fibonacci.prototype,"maxX",{get:function(){return this._maxX},set:function(t){if(t!=this._maxX){this._maxX=t;this._invalidate()}},enumerable:!0,configurable:!0});Fibonacci.prototype._getMinX=function(){return wijmo_1.isNumber(this._minX)?this._minX:wijmo_1.isDate(this._minX)?wijmo_1.asDate(this._minX).valueOf():this._getAxisX().actualMin};Fibonacci.prototype._getMaxX=function(){return wijmo_1.isNumber(this._maxX)?this._maxX:wijmo_1.isDate(this._maxX)?wijmo_1.asDate(this._maxX).valueOf():this._getAxisX().actualMax};Fibonacci.prototype._updateLevels=function(){var i,e;if(void 0===this._low||void 0===this._high){var a=t.prototype.getValues.call(this,0),s=t.prototype.getValues.call(this,1);if(a)for(var n=a.length,o=this._getMinX(),r=this._getMaxX(),l=0;l<n;l++){var _=a[l],h=s?s[l]:l;if(!(h<o||h>r)&&!isNaN(_)){(void 0===i||i>_)&&(i=_);(void 0===e||e<_)&&(e=_)}}}void 0===this._low&&void 0!==i?this._actualLow=i:this._actualLow=this._low;void 0===this._high&&void 0!==e?this._actualHigh=e:this._actualHigh=this._high};Fibonacci.prototype._render=function(t,i){i.cancel=!0;var e=t;e._updateLevels();var a=e._getAxisX(),s=e._getAxisY(),n=i.engine,o=e._getSymbolStroke(e._chart.series.indexOf(e)),r=wijmo_chart_1._BasePlotter.cloneStyle(e.style,["fill"]),l=wijmo_chart_1._BasePlotter.cloneStyle(e.style,["stroke"]),_=e.chart._plotrectId;n.stroke=o;n.strokeWidth=2;n.textFill=o;var h=e._getMinX(),c=e._getMaxX();h<a.actualMin&&(h=a.actualMin);c>a.actualMax&&(c=a.actualMax);n.startGroup(null,_);for(var u=e._levels?e._levels.length:0,d=0;d<u;d++){var m=e._levels[d],p=a.convert(h),g=a.convert(c),f=e.uptrend?s.convert(e._actualLow+.01*m*(e._actualHigh-e._actualLow)):s.convert(e._actualHigh-.01*m*(e._actualHigh-e._actualLow));if(wijmo_chart_1._DataInfo.isValid(p)&&wijmo_chart_1._DataInfo.isValid(g)&&wijmo_chart_1._DataInfo.isValid(f)){n.drawLine(p,f,g,f,null,r);if(e.labelPosition!=wijmo_chart_1.LabelPosition.None){var y=m.toFixed(1)+"%",w=0;(e.uptrend&&0==d||!e.uptrend&&d==u-1)&&(w=2);switch(e.labelPosition){case wijmo_chart_1.LabelPosition.Left:wijmo_chart_1.FlexChartCore._renderText(n,y,new wijmo_1.Point(p,f),0,w,null,null,l);break;case wijmo_chart_1.LabelPosition.Center:wijmo_chart_1.FlexChartCore._renderText(n,y,new wijmo_1.Point(.5*(p+g),f),1,w,null,null,l);break;case wijmo_chart_1.LabelPosition.Right:wijmo_chart_1.FlexChartCore._renderText(n,y,new wijmo_1.Point(g,f),2,w,null,null,l)}}}}n.stroke=null;n.strokeWidth=null;n.textFill=null;n.endGroup()};Fibonacci.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};return Fibonacci}(wijmo_chart_1.SeriesBase);exports.Fibonacci=Fibonacci;var FibonacciArcs=function(t){__extends(FibonacciArcs,t);function FibonacciArcs(i){var e=t.call(this)||this;e._levels=[38.2,50,61.8];e._labelPosition=wijmo_chart_1.LabelPosition.Top;e.rendering.addHandler(e._render,e);e.initialize(i);return e}Object.defineProperty(FibonacciArcs.prototype,"start",{get:function(){return this._start},set:function(t){if(t!==this.start){this._start=wijmo_1.asType(t,wijmo_chart_1.DataPoint);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciArcs.prototype,"end",{get:function(){return this._end},set:function(t){if(t!==this.end){this._end=wijmo_1.asType(t,wijmo_chart_1.DataPoint);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciArcs.prototype,"levels",{get:function(){return this._levels},set:function(t){if(t!==this._levels){this._levels=wijmo_1.asArray(t,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciArcs.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.LabelPosition))!==this.labelPosition){this._labelPosition=t;this._invalidate()}},enumerable:!0,configurable:!0});FibonacciArcs.prototype._render=function(i,e){e.cancel=!0;var a=this._getX(0),s=this._getY(0),n=this._getX(1),o=this._getY(1);if(!(t.prototype._getLength.call(this)<=1)&&isValid(a)&&isValid(s)&&isValid(n)&&isValid(o)){var r,l=this._getAxisX(),_=this._getAxisY(),h=e.engine,c=this.chart.series.indexOf(this),u=this._getSymbolStroke(c),d=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),m=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["stroke"]);h.stroke=u;h.strokeWidth=2;h.textFill=u;var p,g,f,y,w,v,j,V,b,x=this.chart._plotrectId,P=o-s;r=h.startGroup(null,x);wijmo_1.addClass(r,"fibonacci-arcs");isValid(a)&&isValid(s)&&isValid(n)&&isValid(o)&&h.drawLines([l.convert(a),l.convert(n)],[_.convert(s),_.convert(o)],null,d);y=Math.sqrt(Math.pow(l.convert(n)-l.convert(a),2)+Math.pow(_.convert(o)-_.convert(s),2));v=new wijmo_1.Point(n,o);for(var B=0;B<this.levels.length;B++){j=.01*this.levels[B];w=Math.abs(y*j);if(isValid(v.x)&&isValid(v.y)&&isValid(w)){p=l.convert(v.x);g=_.convert(v.y);h.drawDonutSegment(p,g,w,w,P>0?0:Math.PI,Math.PI,null,d);if(this.labelPosition!==wijmo_chart_1.LabelPosition.None&&0!==j){b=wijmo_1.Globalize.format(j,"p1");V=h.measureString(b,null,null,m);f=P<=0?g-w:g+w;switch(this.labelPosition){case wijmo_chart_1.LabelPosition.Center:f+=.5*V.height;break;case wijmo_chart_1.LabelPosition.Bottom:f+=P<=0?V.height:0;break;default:f+=P<=0?0:V.height}h.drawString(b,new wijmo_1.Point(p-.5*V.width,f),null,m)}}}h.stroke=null;h.strokeWidth=null;h.textFill=null;h.endGroup()}};FibonacciArcs.prototype._getX=function(t){var i=null;0===t&&this.start?i=this.start.x:1===t&&this.end&&(i=this.end.x);wijmo_1.isDate(i)&&(i=wijmo_1.asDate(i).valueOf());return i};FibonacciArcs.prototype._getY=function(t){var i=null;0===t&&this.start?i=this.start.y:1===t&&this.end&&(i=this.end.y);return i};FibonacciArcs.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};return FibonacciArcs}(wijmo_chart_1.SeriesBase);exports.FibonacciArcs=FibonacciArcs;var FibonacciFans=function(t){__extends(FibonacciFans,t);function FibonacciFans(i){var e=t.call(this)||this;e._levels=[0,23.6,38.2,50,61.8,100];e._labelPosition=wijmo_chart_1.LabelPosition.Top;e.rendering.addHandler(e._render,e);e.initialize(i);return e}Object.defineProperty(FibonacciFans.prototype,"start",{get:function(){return this._start},set:function(t){if(t!==this.start){this._start=wijmo_1.asType(t,wijmo_chart_1.DataPoint);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciFans.prototype,"end",{get:function(){return this._end},set:function(t){if(t!==this.end){this._end=wijmo_1.asType(t,wijmo_chart_1.DataPoint);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciFans.prototype,"levels",{get:function(){return this._levels},set:function(t){if(t!==this._levels){this._levels=wijmo_1.asArray(t,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciFans.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.LabelPosition))!==this.labelPosition){this._labelPosition=t;this._invalidate()}},enumerable:!0,configurable:!0});FibonacciFans.prototype._updateLevels=function(){if(!this.start||!this.end){var i=this.chart._getPlotter(this),e=this._getAxisX(),a=t.prototype.getValues.call(this,0),s=t.prototype.getValues.call(this,1)||i.dataInfo.getXVals(),n=void 0,o=void 0,r=void 0,l=void 0;if(a&&a.length>0){r=wijmo_chart_finance_1._minimum(a);l=wijmo_chart_finance_1._maximum(a)}if(s&&s.length>0){n=wijmo_chart_finance_1._minimum(s);o=wijmo_chart_finance_1._maximum(s)}else{n=e.actualMin;o=e.actualMax}if(isValid(n)&&isValid(r)&&isValid(o)&&isValid(l)){this.start=new wijmo_chart_1.DataPoint(n,r);this.end=new wijmo_chart_1.DataPoint(o,l)}}};FibonacciFans.prototype._render=function(i,e){e.cancel=!0;this._updateLevels();var a=this._getX(0),s=this._getY(0),n=this._getX(1),o=this._getY(1);if(!(t.prototype._getLength.call(this)<=1)&&isValid(a)&&isValid(s)&&isValid(n)&&isValid(o)){var r=this._getAxisX(),l=this._getAxisY(),_=this.chart.series.indexOf(this),h=e.engine,c=this._getSymbolStroke(_),u=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),d=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["stroke"]);h.stroke=c;h.strokeWidth=2;h.textFill=c;var m,p,g,f,y,w,v,j,V,b,x,P,B,k=o-s,M=n-a,I=this.chart._plotrectId;m=a;g=s;f=o;var L=p=n;h.startGroup(null,I);for(var X=0;X<this.levels.length;X++){p=M<0?r.actualMin:r.actualMax;f=(j=((f=g+(b=.01*this.levels[X])*k)-g)/(L-m))*p+(V=f-j*L);k>0&&f>l.actualMax?p=((f=l.actualMax)-V)/j:k<0&&f<l.actualMin&&(p=((f=l.actualMin)-V)/j);if(isValid(m)&&isValid(g)&&isValid(p)&&isValid(f)){y=new wijmo_1.Point(r.convert(m),l.convert(g));w=new wijmo_1.Point(r.convert(p),l.convert(f));h.drawLines([y.x,w.x],[y.y,w.y],null,u);if(this.labelPosition!=wijmo_chart_1.LabelPosition.None){x=wijmo_1.Globalize.format(b,"p1");P=h.measureString(x,null,null,d);B=180*Math.atan((w.y-y.y)/(w.x-y.x))/Math.PI;v=w.clone();w.x=M>0?w.x-P.width:w.x;var O=B*Math.PI/180,S=new wijmo_1.Point,F=new wijmo_1.Point,C=new wijmo_1.Point,A=new wijmo_1.Point,T=l.convert(l.actualMin),D=l.convert(l.actualMax),Y=r.convert(r.actualMin),R=r.convert(r.actualMax),W=void 0,N=v.clone();switch(this.labelPosition){case wijmo_chart_1.LabelPosition.Center:w.y+=.5*P.height;N.y+=.5*P.height;break;case wijmo_chart_1.LabelPosition.Bottom:w.y+=P.height}if(M>0){if(this.labelPosition===wijmo_chart_1.LabelPosition.Top||this.labelPosition===wijmo_chart_1.LabelPosition.Center){A=N.clone();C.x=A.x+P.height*Math.sin(O);C.y=A.y-P.height*Math.cos(O);S.x=A.x-P.width*Math.cos(O)+P.height*Math.sin(O);S.y=A.y-P.width*Math.sin(O)-P.height*Math.cos(O);F.x=A.x-P.width*Math.cos(O);F.y=A.y-P.width*Math.sin(O)}else if(this.labelPosition===wijmo_chart_1.LabelPosition.Bottom){C=N.clone();S.x=C.x-P.width*Math.cos(O);S.y=C.y-P.width*Math.sin(O);F.x=S.x-P.height*Math.sin(O);F.y=S.y+P.height*Math.cos(O);A.x=S.x+P.width*Math.cos(O)-P.height*Math.sin(O);A.y=S.y+P.width*Math.sin(O)+P.height*Math.cos(O)}if(k>0){if(C.y<D){j=(l.convertBack(C.y)-l.convertBack(S.y))/(r.convertBack(C.x)-r.convertBack(S.x));V=l.convertBack(C.y)-j*r.convertBack(C.x);W=r.convert((l.actualMax-V)/j);w.x-=Math.abs(C.x-W)}A.x>R&&(w.x-=Math.abs(R-A.x))}else if(k<0){if(A.y>T){j=(l.convertBack(F.y)-l.convertBack(A.y))/(r.convertBack(F.x)-r.convertBack(A.x));V=l.convertBack(A.y)-j*r.convertBack(A.x);W=r.convert((l.actualMin-V)/j);w.x-=Math.max(Math.abs(W-A.x),Math.abs(T-A.y))}C.x>R&&(w.x-=Math.abs(R-C.x))}}else if(M<0){if(this.labelPosition===wijmo_chart_1.LabelPosition.Top||this.labelPosition===wijmo_chart_1.LabelPosition.Center){F=N.clone();S.x=F.x+P.height*Math.sin(O);S.y=F.y-P.height*Math.cos(O);A.x=F.x+P.width*Math.cos(O);A.y=F.y+P.width*Math.sin(O);C.x=S.x+P.width*Math.cos(O);C.y=S.y+P.width*Math.sin(O)}else if(this.labelPosition===wijmo_chart_1.LabelPosition.Bottom){S=N.clone();C.x=S.x+P.width*Math.cos(O);C.y=S.y+P.width*Math.sin(O);F.x=S.x-P.height*Math.sin(O);F.y=S.y+P.height*Math.cos(O);A.x=S.x+P.width*Math.cos(O)-P.height*Math.sin(O);A.y=S.y+P.width*Math.sin(O)+P.height*Math.cos(O)}if(k>0){if(S.y<D){j=(l.convertBack(S.y)-l.convertBack(C.y))/(r.convertBack(S.x)-r.convertBack(C.x));V=l.convertBack(S.y)-j*r.convertBack(S.x);W=r.convert((l.actualMax-V)/j);w.x+=Math.abs(S.x-W)}F.x<Y&&(w.x+=Math.abs(Y-F.x))}else if(k<0){if(F.y>T){j=(l.convertBack(A.y)-l.convertBack(F.y))/(r.convertBack(A.x)-r.convertBack(F.x));V=l.convertBack(F.y)-j*r.convertBack(F.x);W=r.convert((l.actualMin-V)/j);w.x+=Math.max(Math.abs(W-F.x),Math.abs(T-F.y))}S.x<Y&&(w.x+=Math.abs(Y-S.x))}}isFinite(w.x)&&isFinite(w.y)&&(0===B?h.drawString(x,w,null,d):h.drawStringRotated(x,w,v,B,null,d))}}}h.stroke=null;h.strokeWidth=null;h.textFill=null;h.endGroup()}};FibonacciFans.prototype._getX=function(t){var i=null;0===t&&this.start?i=this.start.x:1===t&&this.end&&(i=this.end.x);wijmo_1.isDate(i)&&(i=wijmo_1.asDate(i).valueOf());return i};FibonacciFans.prototype._getY=function(t){var i=null;0===t&&this.start?i=this.start.y:1===t&&this.end&&(i=this.end.y);return i};FibonacciFans.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};return FibonacciFans}(wijmo_chart_1.SeriesBase);exports.FibonacciFans=FibonacciFans;var FibonacciTimeZones=function(t){__extends(FibonacciTimeZones,t);function FibonacciTimeZones(i){var e=t.call(this)||this;e._levels=[0,1,2,3,5,8,13,21,34];e._labelPosition=wijmo_chart_1.LabelPosition.Right;e.rendering.addHandler(e._render,e);e.initialize(i);return e}Object.defineProperty(FibonacciTimeZones.prototype,"startX",{get:function(){return this._startX},set:function(t){if(t!==this.startX){wijmo_1.isDate(t)?this._startX=wijmo_1.asDate(t):this._startX=wijmo_1.asNumber(t);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciTimeZones.prototype,"endX",{get:function(){return this._endX},set:function(t){if(t!==this.endX){wijmo_1.isDate(t)?this._endX=wijmo_1.asDate(t):this._endX=wijmo_1.asNumber(t);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciTimeZones.prototype,"levels",{get:function(){return this._levels},set:function(t){if(t!==this._levels){this._levels=wijmo_1.asArray(t,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FibonacciTimeZones.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){if((t=wijmo_1.asEnum(t,wijmo_chart_1.LabelPosition))!==this.labelPosition){this._labelPosition=t;this._invalidate()}},enumerable:!0,configurable:!0});FibonacciTimeZones.prototype._render=function(i,e){e.cancel=!0;this._updateLevels();var a=this._getX(0),s=this._getX(1);if(!(t.prototype._getLength.call(this)<=1)&&isValid(a)&&isValid(s)){var n,o,r,l,_=s-a,h=this._getAxisX(),c=this._getAxisY(),u=this._chart.series.indexOf(this),d=e.engine,m=this._getSymbolStroke(u),p=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),g=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["stroke"]),f=c.convert(c.actualMin),y=c.convert(c.actualMax),w=this.chart._plotrectId;d.stroke=m;d.strokeWidth=2;d.textFill=m;if(0!==_){d.startGroup(null,w);for(var v=0;v<this.levels.length;v++)if(!((o=_*(n=this.levels[v])+a)<h.actualMin||h.actualMax<o)&&isValid(o)){o=h.convert(o);d.drawLine(o,f,o,y,null,p);if(this.labelPosition!==wijmo_chart_1.LabelPosition.None){l=wijmo_1.Globalize.format(n,"n0");r=d.measureString(l,null,null,g);switch(this.labelPosition){case wijmo_chart_1.LabelPosition.Left:o-=r.width+2;break;case wijmo_chart_1.LabelPosition.Center:o-=r.width/2;break;case wijmo_chart_1.LabelPosition.Right:o+=2;break;default:o=_<0?o-r.width-2:o+2}d.drawString(l,new wijmo_1.Point(o,f),null,g)}}d.stroke=null;d.strokeWidth=null;d.textFill=null;d.endGroup()}}};FibonacciTimeZones.prototype._updateLevels=function(){var i=this.chart._getPlotter(this),e=t.prototype.getValues.call(this,1)||i.dataInfo.getXVals();if(!(t.prototype._getLength.call(this)<=1)){var a=this._getX(0),s=this._getX(1),n=wijmo_1.isNumber(a)&&wijmo_1.isNumber(s);if(n||e){if(!n&&e){this._startX=e[0];this._endX=e[1]}}else{this._startX=0;this._endX=1}}};FibonacciTimeZones.prototype._getX=function(t){var i=null;0===t?i=this.startX:1===t&&(i=this.endX);wijmo_1.isDate(i)&&(i=wijmo_1.asDate(i).valueOf());return i};FibonacciTimeZones.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};return FibonacciTimeZones}(wijmo_chart_1.SeriesBase);exports.FibonacciTimeZones=FibonacciTimeZones;var OverlayIndicatorBase=function(t){__extends(OverlayIndicatorBase,t);function OverlayIndicatorBase(i){var e=t.call(this,i)||this;e._seriesCount=1;return e}Object.defineProperty(OverlayIndicatorBase.prototype,"_hitTester",{get:function(){this._plotter&&!this.__hitTester&&(this.__hitTester=this._plotter.hitTester);return this.__hitTester},enumerable:!0,configurable:!0});OverlayIndicatorBase.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Line};OverlayIndicatorBase.prototype._getXValues=function(){return t.prototype.getValues.call(this,1)||this._plotter.dataInfo.getXVals()};OverlayIndicatorBase.prototype._getDataPoint=function(t,i,e,a,s,n){var o=new wijmo_chart_1._DataPoint(e,a,t,i);o.y=i;o.yfmt=n._formatValue(i);o.x=t;o.xfmt=s._formatValue(t);return o};OverlayIndicatorBase.prototype._shouldCalculate=function(){return!0};OverlayIndicatorBase.prototype._init=function(){};OverlayIndicatorBase.prototype._calculate=function(){};OverlayIndicatorBase.prototype._clearValues=function(){t.prototype._clearValues.call(this);this.__hitTester=null};OverlayIndicatorBase.prototype._getName=function(t){var i;if(this.name)if(this.name.indexOf(",")){var e=this.name.split(",");e&&e.length-1>=t&&(i=e[t].trim())}else i=this.name;return i};OverlayIndicatorBase.prototype._getStyles=function(t){var i=null;if(t<0||null===this._styles)return i;var e=0;for(var a in this._styles){if(e===t&&this._styles.hasOwnProperty(a)){i=this._styles[a];break}e++}return i};OverlayIndicatorBase.prototype.legendItemLength=function(){return this._seriesCount};OverlayIndicatorBase.prototype.measureLegendItem=function(t,i){var e=this._getName(i),a=new wijmo_1.Size(0,0);e&&(a=this._measureLegendItem(t,this._getName(i)));return a};OverlayIndicatorBase.prototype.drawLegendItem=function(t,i,e){var a=this._getStyles(e)||this.style;this._getName(e)&&this._drawLegendItem(t,i,this._getChartType(),this._getName(e),a,this.symbolStyle)};return OverlayIndicatorBase}(wijmo_chart_1.SeriesBase);exports.OverlayIndicatorBase=OverlayIndicatorBase;var SingleOverlayIndicatorBase=function(t){__extends(SingleOverlayIndicatorBase,t);function SingleOverlayIndicatorBase(i){var e=t.call(this,i)||this;e._period=14;return e}Object.defineProperty(SingleOverlayIndicatorBase.prototype,"period",{get:function(){return this._period},set:function(t){if(t!==this._period){this._period=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});SingleOverlayIndicatorBase.prototype.getValues=function(i){var e=null;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}0===i?e=this._yvals:1===i&&(e=this._xvals);return e};SingleOverlayIndicatorBase.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=wijmo_chart_finance_1._minimum(this._xvals),n=wijmo_chart_finance_1._maximum(this._xvals),o=wijmo_chart_finance_1._minimum(this._yvals),r=wijmo_chart_finance_1._maximum(this._yvals);wijmo_chart_1._DataInfo.isValid(s)&&wijmo_chart_1._DataInfo.isValid(n)&&wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&(a=new wijmo_1.Rect(s,o,n-s,r-o));return a};SingleOverlayIndicatorBase.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._xvals=null;this._yvals=null};SingleOverlayIndicatorBase.prototype._shouldCalculate=function(){return!this._yvals||!this._xvals};SingleOverlayIndicatorBase.prototype._init=function(){t.prototype._init.call(this);this._yvals=[];this._xvals=[]};SingleOverlayIndicatorBase.prototype._getItem=function(i){if(t.prototype._getLength.call(this)<=0)return t.prototype._getItem.call(this,i);if(this._shouldCalculate()){this._init();this._calculate()}i=t.prototype._getLength.call(this)-wijmo_chart_finance_1._minimum(this._yvals.length,this._xvals.length)+i;return t.prototype._getItem.call(this,i)};return SingleOverlayIndicatorBase}(OverlayIndicatorBase);exports.SingleOverlayIndicatorBase=SingleOverlayIndicatorBase;var WilliamsR=function(t){__extends(WilliamsR,t);function WilliamsR(i){var e=t.call(this)||this;e.period=14;e.initialize(i);return e}WilliamsR.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype._getBindingValues.call(this,0),a=t.prototype._getBindingValues.call(this,1),s=t.prototype._getBindingValues.call(this,3),n=this._getXValues();this._yvals=_williamsR(e,a,s,this.period);this._xvals=n?n.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,i-1)}};return WilliamsR}(SingleOverlayIndicatorBase);exports.WilliamsR=WilliamsR;function _williamsR(t,i,e,a){wijmo_1.asArray(t,!1);wijmo_1.asArray(i,!1);wijmo_1.asArray(e,!1);wijmo_1.asInt(a,!1,!0);var s,n=wijmo_chart_finance_1._minimum(t.length,i.length,e.length),o=[],r=[],l=[];wijmo_1.assert(n>a&&a>1,"Williams %R period must be an integer less than the length of the data and greater than one.");for(s=a;s<=t.length;s++){o.push(wijmo_chart_finance_1._maximum(t.slice(s-a,s)));r.push(wijmo_chart_finance_1._minimum(i.slice(s-a,s)))}e.splice(0,a-1);for(s=0;s<o.length;s++)l.push((o[s]-e[s])/(o[s]-r[s])*-100);return l}exports._williamsR=_williamsR;var Stochastic=function(t){__extends(Stochastic,t);function Stochastic(i){var e=t.call(this)||this;e._kPeriod=14;e._dPeriod=3;e._smoothingPeriod=1;e._seriesCount=2;e.rendering.addHandler(e._rendering,e);e.initialize(i);return e}Object.defineProperty(Stochastic.prototype,"kPeriod",{get:function(){return this._kPeriod},set:function(t){if(t!==this._kPeriod){this._kPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Stochastic.prototype,"dPeriod",{get:function(){return this._dPeriod},set:function(t){if(t!==this._dPeriod){this._dPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Stochastic.prototype,"smoothingPeriod",{get:function(){return this._smoothingPeriod},set:function(t){if(t!==this._smoothingPeriod){this._smoothingPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Stochastic.prototype,"styles",{get:function(){return this._styles},set:function(t){if(t!==this._styles){this._styles=t;this._invalidate()}},enumerable:!0,configurable:!0});Stochastic.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=this._kVals.concat(this._dVals),n=this._kXVals.concat(this._dXVals),o=wijmo_chart_finance_1._minimum(n),r=wijmo_chart_finance_1._maximum(n),l=wijmo_chart_finance_1._minimum(s),_=wijmo_chart_finance_1._maximum(s);wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&wijmo_chart_1._DataInfo.isValid(l)&&wijmo_chart_1._DataInfo.isValid(_)&&(a=new wijmo_1.Rect(o,l,r-o,_-l));return a};Stochastic.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._kVals=null;this._kXVals=null;this._dVals=null;this._dXVals=null};Stochastic.prototype._shouldCalculate=function(){return!(this._kVals&&this._kXVals&&this._dVals&&this._dXVals)};Stochastic.prototype._init=function(){t.prototype._init.call(this);this._kVals=[];this._kXVals=[];this._dVals=[];this._dXVals=[]};Stochastic.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(t.prototype._getLength.call(this)<=0)){var e=t.prototype._getBindingValues.call(this,0),a=t.prototype._getBindingValues.call(this,1),s=t.prototype._getBindingValues.call(this,3),n=this._getXValues(),o=_stochastic(e,a,s,this.kPeriod,this.dPeriod,this.smoothingPeriod);this._kVals=o.ks;this._dVals=o.ds;this._kXVals=n?n.slice(this.kPeriod-1):wijmo_chart_finance_1._range(this.kPeriod-1,i-1);this.smoothingPeriod&&this.smoothingPeriod>1&&(this._kXVals=this._kXVals.slice(this._kXVals.length-this._kVals.length,this._kXVals.length));this._dXVals=this._kXVals.slice(this._kXVals.length-this._dVals.length,this._kXVals.length)}};Stochastic.prototype._rendering=function(i,e){e.cancel=!0;if(!(t.prototype._getLength.call(this)<=0)){if(this._shouldCalculate()){this._init();this._calculate()}var a=this.chart.series.indexOf(this),s=e.engine,n=this._getAxisX(),o=this._getAxisY(),r=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),l=this._getSymbolStroke(a),_=this.chart._plotrectId,h=null,c=l,u=2,d=null,m=l,p=2;if(this.styles&&wijmo_1.isObject(this.styles)){if(this.styles.kLine&&wijmo_1.isObject(this.styles.kLine)){c=(h=wijmo_chart_1._BasePlotter.cloneStyle(this.styles.kLine,["fill"])).stroke?h.stroke:l;u=h.strokeWidth?h.strokeWidth:2}if(this.styles.dLine&&wijmo_1.isObject(this.styles.dLine)){m=(d=wijmo_chart_1._BasePlotter.cloneStyle(this.styles.dLine,["fill"])).stroke?d.stroke:l;p=d.strokeWidth?d.strokeWidth:2}}var g,f,y,w,v=[],j=[],V=[],b=[],x=this._getLength();for(y=0;y<this._kVals.length;y++){w=x-this._kVals.length+y;j.push(n.convert(this._kXVals[y]));v.push(o.convert(this._kVals[y]));(g=this._getDataPoint(this._kXVals[y],this._kVals[y],a,w,n,o)).name=this._getName(0);(f=new wijmo_chart_1._CircleArea(new wijmo_1.Point(j[y],v[y]),.5*s.strokeWidth)).tag=g;this._hitTester.add(f,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(j,v),a);s.stroke=c;s.strokeWidth=u;s.drawLines(j,v,null,r,_);for(y=0;y<this._dVals.length;y++){w=x-this._dVals.length+y;b.push(n.convert(this._dXVals[y]));V.push(o.convert(this._dVals[y]));(g=this._getDataPoint(this._dXVals[y],this._dVals[y],a,w,n,o)).name=this._getName(1);(f=new wijmo_chart_1._CircleArea(new wijmo_1.Point(b[y],V[y]),.5*s.strokeWidth)).tag=g;this._hitTester.add(f,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(b,V),a);s.stroke=m;s.strokeWidth=p;s.drawLines(b,V,null,r,_)}};Stochastic.prototype.getCalculatedValues=function(i){i=wijmo_1.asString(i,!1);var e=[],a=0;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}switch(i){case"kLine":for(;a<this._kVals.length;a++)e.push({x:this._kXVals[a],y:this._kVals[a]});break;case"dLine":for(;a<this._dVals.length;a++)e.push({x:this._dXVals[a],y:this._dVals[a]})}return e};return Stochastic}(OverlayIndicatorBase);exports.Stochastic=Stochastic;function _stochastic(t,i,e,a,s,n){wijmo_1.asArray(t,!1);wijmo_1.asArray(i,!1);wijmo_1.asArray(e,!1);wijmo_1.asInt(a,!1,!0);wijmo_1.asInt(s,!1,!0);wijmo_1.asInt(n,!0,!0);var o,r=[],l=[],_=[];for(o=a;o<=t.length;o++){r.push(wijmo_chart_finance_1._maximum(t.slice(o-a,o)));l.push(wijmo_chart_finance_1._minimum(i.slice(o-a,o)))}e=e.slice(a-1);for(o=0;o<e.length;o++)_.push((e[o]-l[o])/(r[o]-l[o])*100);n&&n>1&&(_=wijmo_chart_finance_1._sma(_,n));return{ks:_,ds:wijmo_chart_finance_1._sma(_,s)}}exports._stochastic=_stochastic;var RSI=function(t){__extends(RSI,t);function RSI(i){var e=t.call(this)||this;e.period=14;e.initialize(i);return e}RSI.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype._getBindingValues.call(this,0),a=this._getXValues();this._yvals=_rsi(e,this.period);this._xvals=a?a.slice(this.period):wijmo_chart_finance_1._range(this.period,i)}};return RSI}(SingleOverlayIndicatorBase);exports.RSI=RSI;function _rsi(t,i){wijmo_1.asArray(t,!1);wijmo_1.asInt(i,!0,!1);wijmo_1.assert(t.length>i&&i>1,"RSI period must be an integer less than the length of the data and greater than one.");var e,a,s,n,o=[],r=[],l=[],_=[];for(n=1;n<t.length;n++)o.push(t[n]-t[n-1]);e=o.map((function(t){return t>0?t:0}));a=o.map((function(t){return t<0?Math.abs(t):0}));for(n=i;n<=o.length;n++){if(n===i){r.push(wijmo_chart_finance_1._sum(e.slice(n-i,n))/i);l.push(wijmo_chart_finance_1._sum(a.slice(n-i,n))/i)}else{r.push((e[n-1]+r[n-i-1]*(i-1))/i);l.push((a[n-1]+l[n-i-1]*(i-1))/i)}s=r[n-i]/l[n-i];s=isFinite(s)?s:0;_.push(100-100/(1+s))}return _}exports._rsi=_rsi;var MacdBase=function(t){__extends(MacdBase,t);function MacdBase(i){var e=t.call(this,i)||this;e._fastPeriod=12;e._slowPeriod=26;e._smoothingPeriod=9;return e}Object.defineProperty(MacdBase.prototype,"fastPeriod",{get:function(){return this._fastPeriod},set:function(t){if(t!==this._fastPeriod){this._fastPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(MacdBase.prototype,"slowPeriod",{get:function(){return this._slowPeriod},set:function(t){if(t!==this._slowPeriod){this._slowPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(MacdBase.prototype,"smoothingPeriod",{get:function(){return this._smoothingPeriod},set:function(t){if(t!==this._smoothingPeriod){this._smoothingPeriod=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});MacdBase.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._macdVals=null;this._macdXVals=null;this._signalVals=null;this._signalXVals=null;this._histogramVals=null;this._histogramXVals=null};MacdBase.prototype._shouldCalculate=function(){return!(this._macdVals&&this._macdXVals&&this._signalVals&&this._signalXVals&&this._histogramVals&&this._histogramXVals)};MacdBase.prototype._init=function(){t.prototype._init.call(this);this._macdVals=[];this._macdXVals=[];this._signalVals=[];this._signalXVals=[];this._histogramVals=[];this._histogramXVals=[]};MacdBase.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype.getValues.call(this,0),a=this._getXValues(),s=_macd(e,this.fastPeriod,this.slowPeriod,this.smoothingPeriod);this._macdVals=s.macds;this._signalVals=s.signals;this._histogramVals=s.histograms;this._macdXVals=a?a.slice(i-this._macdVals.length,i):wijmo_chart_finance_1._range(i-this._macdVals.length,i-1);this._signalXVals=a?a.slice(i-this._signalVals.length,i):wijmo_chart_finance_1._range(i-this._signalVals.length,i-1);this._histogramXVals=a?a.slice(i-this._histogramVals.length,i):wijmo_chart_finance_1._range(i-this._histogramVals.length,i-1)}};return MacdBase}(OverlayIndicatorBase);exports.MacdBase=MacdBase;var Macd=function(t){__extends(Macd,t);function Macd(i){var e=t.call(this)||this;e._seriesCount=2;e.rendering.addHandler(e._rendering,e);e.initialize(i);return e}Object.defineProperty(Macd.prototype,"styles",{get:function(){return this._styles},set:function(t){if(t!==this._styles){this._styles=t;this._invalidate()}},enumerable:!0,configurable:!0});Macd.prototype.legendItemLength=function(){return this.name.indexOf(",")>-1?2:1};Macd.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=[],n=[];n.push.apply(n,this._macdXVals);n.push.apply(n,this._signalXVals);s.push.apply(s,this._macdVals);s.push.apply(s,this._signalVals);var o=wijmo_chart_finance_1._minimum(n),r=wijmo_chart_finance_1._maximum(n),l=wijmo_chart_finance_1._minimum(s),_=wijmo_chart_finance_1._maximum(s);wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&wijmo_chart_1._DataInfo.isValid(l)&&wijmo_chart_1._DataInfo.isValid(_)&&(a=new wijmo_1.Rect(o,l,r-o,_-l));return a};Macd.prototype._rendering=function(i,e){e.cancel=!0;if(!(t.prototype._getLength.call(this)<=0)){if(this._shouldCalculate()){this._init();this._calculate()}var a=this.chart.series.indexOf(this),s=e.engine,n=this._getAxisX(),o=this._getAxisY(),r=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),l=this._getSymbolStroke(a),_=this.chart._plotrectId,h=null,c=l,u=2,d=null,m=l,p=2;if(this.styles&&wijmo_1.isObject(this.styles)){if(this.styles.macdLine&&wijmo_1.isObject(this.styles.macdLine)){c=(h=wijmo_chart_1._BasePlotter.cloneStyle(this.styles.macdLine,["fill"])).stroke?h.stroke:l;u=h.strokeWidth?h.strokeWidth:2}if(this.styles.signalLine&&wijmo_1.isObject(this.styles.signalLine)){m=(d=wijmo_chart_1._BasePlotter.cloneStyle(this.styles.signalLine,["fill"])).stroke?d.stroke:l;p=d.strokeWidth?d.strokeWidth:2}}var g,f,y,w,v=[],j=[],V=[],b=[],x=this._getLength();for(y=0;y<this._macdVals.length;y++){w=x-this._macdVals.length+y;j.push(n.convert(this._macdXVals[y]));v.push(o.convert(this._macdVals[y]));(g=this._getDataPoint(this._macdXVals[y],this._macdVals[y],a,w,n,o)).name=this._getName(0);(f=new wijmo_chart_1._CircleArea(new wijmo_1.Point(j[y],v[y]),.5*s.strokeWidth)).tag=g;this._hitTester.add(f,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(j,v),a);s.stroke=c;s.strokeWidth=u;s.drawLines(j,v,null,r,_);for(y=0;y<this._signalVals.length;y++){w=x-this._signalVals.length+y;b.push(n.convert(this._signalXVals[y]));V.push(o.convert(this._signalVals[y]));(g=this._getDataPoint(this._signalXVals[y],this._signalVals[y],a,w,n,o)).name=this._getName(1);(f=new wijmo_chart_1._CircleArea(new wijmo_1.Point(b[y],V[y]),.5*s.strokeWidth)).tag=g;this._hitTester.add(f,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(b,V),a);s.stroke=m;s.strokeWidth=p;s.drawLines(b,V,null,r,_)}};Macd.prototype.getCalculatedValues=function(i){i=wijmo_1.asString(i,!1);var e=[],a=0;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}switch(i){case"macdLine":for(;a<this._macdVals.length;a++)e.push({x:this._macdXVals[a],y:this._macdVals[a]});break;case"signalLine":for(;a<this._signalVals.length;a++)e.push({x:this._signalXVals[a],y:this._signalVals[a]})}return e};return Macd}(MacdBase);exports.Macd=Macd;var MovingAverageType,MacdHistogram=function(t){__extends(MacdHistogram,t);function MacdHistogram(i){return t.call(this,i)||this}MacdHistogram.prototype.getValues=function(i){var e=null;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}0===i?e=this._histogramVals:1===i&&(e=this._histogramXVals);return e};MacdHistogram.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=wijmo_chart_finance_1._minimum(this._histogramXVals),n=wijmo_chart_finance_1._maximum(this._histogramXVals),o=wijmo_chart_finance_1._minimum(this._histogramVals),r=wijmo_chart_finance_1._maximum(this._histogramVals);wijmo_chart_1._DataInfo.isValid(s)&&wijmo_chart_1._DataInfo.isValid(n)&&wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&(a=new wijmo_1.Rect(s,o,n-s,r-o));return a};MacdHistogram.prototype._getChartType=function(){return wijmo_chart_1.ChartType.Column};MacdHistogram.prototype._getItem=function(i){i=t.prototype._getLength.call(this)-wijmo_chart_finance_1._minimum(this._histogramVals.length,this._histogramXVals.length)+i;return t.prototype._getItem.call(this,i)};return MacdHistogram}(MacdBase);exports.MacdHistogram=MacdHistogram;function _macd(t,i,e,a){wijmo_1.asArray(t,!1);wijmo_1.asInt(i,!1,!0);wijmo_1.asInt(e,!1,!0);wijmo_1.asInt(a,!1,!0);var s,n=i>e;if(n){s=e;e=i;i=s}var o,r,l=wijmo_chart_finance_1._ema(t,i),_=wijmo_chart_finance_1._ema(t,e),h=[],c=[];l.splice(0,e-i);for(r=0;r<l.length;r++){s=l[r]-_[r];n&&(s*=-1);h.push(s)}o=wijmo_chart_finance_1._ema(h,a);var u=h.slice(h.length-o.length,h.length);for(r=0;r<u.length;r++)c.push(u[r]-o[r]);return{macds:h,signals:o,histograms:c}}exports._macd=_macd;!function(t){t[t.Simple=0]="Simple";t[t.Exponential=1]="Exponential"}(MovingAverageType=exports.MovingAverageType||(exports.MovingAverageType={}));var Envelopes=function(t){__extends(Envelopes,t);function Envelopes(i){var e=t.call(this)||this;e._period=20;e._type=MovingAverageType.Simple;e._size=.025;e.rendering.addHandler(e._rendering,e);e.initialize(i);return e}Object.defineProperty(Envelopes.prototype,"period",{get:function(){return this._period},set:function(t){if(t!==this._period){this._period=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Envelopes.prototype,"type",{get:function(){return this._type},set:function(t){if((t=wijmo_1.asEnum(t,MovingAverageType,!1))!==this._type){this._type=t;this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Envelopes.prototype,"size",{get:function(){return this._size},set:function(t){if(t!==this._size){this._size=wijmo_1.asNumber(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Envelopes.prototype.getDataRect=function(i,e){if(e)return e;var a=null;if(t.prototype._getLength.call(this)<=0)return a;if(this._shouldCalculate()){this._init();this._calculate()}var s=this._upperYVals.concat(this._lowerYVals),n=wijmo_chart_finance_1._minimum(this._xVals),o=wijmo_chart_finance_1._maximum(this._xVals),r=wijmo_chart_finance_1._minimum(s),l=wijmo_chart_finance_1._maximum(s);wijmo_chart_1._DataInfo.isValid(n)&&wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)&&wijmo_chart_1._DataInfo.isValid(l)&&(a=new wijmo_1.Rect(n,r,o-n,l-r));return a};Envelopes.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._upperYVals=null;this._lowerYVals=null;this._xVals=null};Envelopes.prototype._init=function(){t.prototype._init.call(this);this._upperYVals=[];this._lowerYVals=[];this._xVals=[]};Envelopes.prototype._shouldCalculate=function(){return!this._upperYVals||!this._lowerYVals||!this._xVals};Envelopes.prototype._calculate=function(){var i=this;if(!(t.prototype._getLength.call(this)<=0)){var e,a=t.prototype.getValues.call(this,0),s=this._getXValues();switch(this.type){case MovingAverageType.Exponential:e=wijmo_chart_finance_1._ema(a,this.period);break;default:e=wijmo_chart_finance_1._sma(a,this.period)}this._xVals=s?s.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,t.prototype._getLength.call(this)-1);this._upperYVals=e.map((function(t){return t+t*i.size}));this._lowerYVals=e.map((function(t){return t-t*i.size}))}};Envelopes.prototype._rendering=function(i,e){e.cancel=!0;if(!(t.prototype._getLength.call(this)<=0)){if(this._shouldCalculate()){this._init();this._calculate()}var a=this.chart.series.indexOf(this),s=e.engine,n=this._getAxisX(),o=this._getAxisY(),r=wijmo_chart_finance_1._minimum(this._upperYVals.length,this._lowerYVals.length,this._xVals.length),l=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),_=this._getSymbolStroke(a),h=this.chart._plotrectId;if(r&&!(r<=0)){s.stroke=_;s.strokeWidth=2;for(var c,u,d,m=[],p=[],g=[],f=this._getLength(),y=0;y<r;y++){d=f-r+y;m.push(n.convert(this._xVals[y]));p.push(o.convert(this._upperYVals[y]));c=this._getDataPoint(this._xVals[y],this._upperYVals[y],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[y],p[y]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a);g.push(o.convert(this._lowerYVals[y]));c=this._getDataPoint(this._xVals[y],this._lowerYVals[y],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[y],g[y]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(m,p),a);this._hitTester.add(new wijmo_chart_1._LinesArea(m,g),a);s.drawLines(m,p,null,l,h);s.drawLines(m,g,null,l,h)}}};Envelopes.prototype.getCalculatedValues=function(i){i=wijmo_1.asString(i,!1);var e=[],a=0;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}switch(i){case"upperEnvelope":for(;a<this._upperYVals.length;a++)e.push({x:this._xVals[a],y:this._upperYVals[a]});break;case"lowerEnvelope":for(;a<this._lowerYVals.length;a++)e.push({x:this._xVals[a],y:this._lowerYVals[a]})}return e};return Envelopes}(OverlayIndicatorBase);exports.Envelopes=Envelopes;var CCI=function(t){__extends(CCI,t);function CCI(i){var e=t.call(this)||this;e._constant=.015;e.period=20;e.initialize(i);return e}Object.defineProperty(CCI.prototype,"constant",{get:function(){return this._constant},set:function(t){if(t!==this._constant){this._constant=wijmo_1.asNumber(t,!1);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});CCI.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype._getBindingValues.call(this,0),a=t.prototype._getBindingValues.call(this,1),s=t.prototype._getBindingValues.call(this,3),n=this._getXValues();this._yvals=_cci(e,a,s,this.period,this.constant);this._xvals=n?n.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,i-1)}};return CCI}(SingleOverlayIndicatorBase);exports.CCI=CCI;function _cci(t,i,e,a,s){wijmo_1.asArray(t,!1);wijmo_1.asArray(i,!1);wijmo_1.asArray(e,!1);wijmo_1.asInt(a,!1,!0);wijmo_1.asNumber(s,!1,!0);var n,o,r,l=wijmo_chart_finance_1._minimum(t.length,i.length,e.length),_=[],h=[],c=[];wijmo_1.assert(l>a&&a>1,"CCI period must be an integer less than the length of the data and greater than one.");for(o=0;o<l;o++)_.push(wijmo_chart_finance_1._average(t[o],i[o],e[o]));n=wijmo_chart_finance_1._sma(_,a);for(o=0;o<n.length;o++){r=_.slice(o,a+o).reduce((function(t,i){return t+Math.abs(n[o]-i)}),0);h.push(r/a)}_.splice(0,a-1);for(o=0;o<n.length;o++)c.push((_[o]-n[o])/(s*h[o]));return c}exports._cci=_cci;var BollingerBands=function(t){__extends(BollingerBands,t);function BollingerBands(i){var e=t.call(this)||this;e._period=20;e._multiplier=2;e.rendering.addHandler(e._rendering,e);e.initialize(i);return e}Object.defineProperty(BollingerBands.prototype,"period",{get:function(){return this._period},set:function(t){if(t!==this._period){this._period=wijmo_1.asInt(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BollingerBands.prototype,"multiplier",{get:function(){return this._multiplier},set:function(t){if(t!==this._multiplier){this._multiplier=wijmo_1.asNumber(t,!1,!0);this._clearValues();this._invalidate()}},enumerable:!0,configurable:!0});BollingerBands.prototype.getDataRect=function(i,e){if(e)return e;if(t.prototype._getLength.call(this)<=0)return null;if(this._shouldCalculate()){this._init();this._calculate()}var a=this._upperYVals.concat(this._lowerYVals),s=wijmo_chart_finance_1._minimum(this._xVals),n=wijmo_chart_finance_1._maximum(this._xVals),o=wijmo_chart_finance_1._minimum(a),r=wijmo_chart_finance_1._maximum(a);return wijmo_chart_1._DataInfo.isValid(s)&&wijmo_chart_1._DataInfo.isValid(n)&&wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(r)?new wijmo_1.Rect(s,o,n-s,r-o):null};BollingerBands.prototype._clearValues=function(){t.prototype._clearValues.call(this);this._upperYVals=null;this._middleYVals=null;this._lowerYVals=null;this._xVals=null};BollingerBands.prototype._shouldCalculate=function(){return!(this._upperYVals&&this._middleYVals&&this._lowerYVals&&this._xVals)};BollingerBands.prototype._init=function(){t.prototype._init.call(this);this._upperYVals=[];this._middleYVals=[];this._lowerYVals=[];this._xVals=[]};BollingerBands.prototype._calculate=function(){var i=t.prototype._getLength.call(this);if(!(i<=0)){var e=t.prototype.getValues.call(this,0),a=this._getXValues(),s=_bollingerBands(e,this.period,this.multiplier);this._upperYVals=s.uppers;this._middleYVals=s.middles;this._lowerYVals=s.lowers;this._xVals=a?a.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,i-1)}};BollingerBands.prototype._rendering=function(i,e){e.cancel=!0;if(!(t.prototype._getLength.call(this)<=0)){if(this._shouldCalculate()){this._init();this._calculate()}var a=this.chart.series.indexOf(this),s=e.engine,n=this._getAxisX(),o=this._getAxisY(),r=wijmo_chart_finance_1._minimum(this._upperYVals.length,this._middleYVals.length,this._lowerYVals.length,this._xVals.length),l=wijmo_chart_1._BasePlotter.cloneStyle(this.style,["fill"]),_=this._getSymbolStroke(a),h=this.chart._plotrectId;if(r&&!(r<=0)){s.stroke=_;s.strokeWidth=2;for(var c,u,d,m=[],p=[],g=[],f=[],y=this._getLength(),w=0;w<r;w++){d=y-r+w;m.push(n.convert(this._xVals[w]));p.push(o.convert(this._upperYVals[w]));c=this._getDataPoint(this._xVals[w],this._upperYVals[w],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[w],p[w]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a);g.push(o.convert(this._middleYVals[w]));c=this._getDataPoint(this._xVals[w],this._middleYVals[w],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[w],g[w]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a);f.push(o.convert(this._lowerYVals[w]));c=this._getDataPoint(this._xVals[w],this._lowerYVals[w],a,d,n,o);(u=new wijmo_chart_1._CircleArea(new wijmo_1.Point(m[w],f[w]),.5*s.strokeWidth)).tag=c;this._hitTester.add(u,a)}this._hitTester.add(new wijmo_chart_1._LinesArea(m,p),a);this._hitTester.add(new wijmo_chart_1._LinesArea(m,g),a);this._hitTester.add(new wijmo_chart_1._LinesArea(m,f),a);s.drawLines(m,p,null,l,h);s.drawLines(m,g,null,l,h);s.drawLines(m,f,null,l,h)}}};BollingerBands.prototype.getCalculatedValues=function(i){i=wijmo_1.asString(i,!1);var e=[],a=0;if(t.prototype._getLength.call(this)<=0)return e;if(this._shouldCalculate()){this._init();this._calculate()}switch(i){case"upperBand":for(;a<this._upperYVals.length;a++)e.push({x:this._xVals[a],y:this._upperYVals[a]});break;case"middleBand":for(;a<this._middleYVals.length;a++)e.push({x:this._xVals[a],y:this._middleYVals[a]});break;case"lowerBand":for(;a<this._lowerYVals.length;a++)e.push({x:this._xVals[a],y:this._lowerYVals[a]})}return e};return BollingerBands}(OverlayIndicatorBase);exports.BollingerBands=BollingerBands;function _bollingerBands(t,i,e){wijmo_1.asArray(t,!1);wijmo_1.asInt(i,!1,!0);wijmo_1.asNumber(e,!1,!0);wijmo_1.assert(t.length>i&&i>1,"Bollinger Bands period must be an integer less than the length of the data and greater than one.");var a,s=wijmo_chart_finance_1._sma(t,i),n=[];for(a=i;a<=t.length;a++)n.push(wijmo_chart_finance_1._stdDeviation(t.slice(a-i,a)));var o=s,r=s.map((function(t,i){return t+n[i]*e}));return{lowers:s.map((function(t,i){return t-n[i]*e})),middles:o,uppers:r}}exports._bollingerBands=_bollingerBands;var ATR=function(t){__extends(ATR,t);function ATR(i){var e=t.call(this)||this;e.period=14;e.initialize(i);return e}ATR.prototype._calculate=function(){if(!(t.prototype._getLength.call(this)<=0)){var i=t.prototype._getBindingValues.call(this,0),e=t.prototype._getBindingValues.call(this,1),a=t.prototype._getBindingValues.call(this,3),s=this._getXValues();this._yvals=wijmo_chart_finance_1._avgTrueRng(i,e,a,this.period);this._xvals=s?s.slice(this.period-1):wijmo_chart_finance_1._range(this.period-1,i.length)}};return ATR}(SingleOverlayIndicatorBase);exports.ATR=ATR;wijmo_1._registerModule("wijmo.chart.finance.analytics",selfModule);
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20261.45-nightly.d20260106.t035854
3
+ * Wijmo Library 5.20261.45-nightly.d20260106.t072437
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20261.45-nightly.d20260106.t035854
3
+ * Wijmo Library 5.20261.45-nightly.d20260106.t072437
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -11,4 +11,4 @@
11
11
  *
12
12
  */
13
13
 
14
- "use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(t,e){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)};return function(t,e){extendStatics(t,e);function __(){this.constructor=t}t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}}(),__importStar=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.hasOwnProperty.call(t,i)&&(e[i]=t[i]);e.default=t;return e};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),selfModule=__importStar(require("wijmo/wijmo.chart.finance")),FinancialSeries=function(t){__extends(FinancialSeries,t);function FinancialSeries(){return null!==t&&t.apply(this,arguments)||this}Object.defineProperty(FinancialSeries.prototype,"chartType",{get:function(){return this._finChartType},set:function(t){if((t=wijmo_1.asEnum(t,FinancialChartType,!0))!=this._finChartType){this._finChartType=t;this._invalidate()}},enumerable:!0,configurable:!0});FinancialSeries.prototype._getChartType=function(){var t=null;switch(this.chartType){case FinancialChartType.Area:t=wijmo_chart_1.ChartType.Area;break;case FinancialChartType.Line:case FinancialChartType.Kagi:case FinancialChartType.PointAndFigure:t=wijmo_chart_1.ChartType.Line;break;case FinancialChartType.Column:case FinancialChartType.ColumnVolume:t=wijmo_chart_1.ChartType.Column;break;case FinancialChartType.LineSymbols:t=wijmo_chart_1.ChartType.LineSymbols;break;case FinancialChartType.Scatter:t=wijmo_chart_1.ChartType.Scatter;break;case FinancialChartType.Candlestick:case FinancialChartType.Renko:case FinancialChartType.HeikinAshi:case FinancialChartType.LineBreak:case FinancialChartType.EquiVolume:case FinancialChartType.CandleVolume:case FinancialChartType.ArmsCandleVolume:t=wijmo_chart_1.ChartType.Candlestick;break;case FinancialChartType.HighLowOpenClose:t=wijmo_chart_1.ChartType.HighLowOpenClose}return t};FinancialSeries.prototype.getDataRect=function(t,e){if(e)return e;var i=this.getValues(0),a=this.getValues(1)||(this.chart._xvals&&this.chart._xvals.length?this.chart._xvals:null),n=this._getBinding(0),r=this._getBinding(1),s=this._getBinding(2),o=this._getBinding(3),l=(this._plotter,this._getChartType()||this.chart._getChartType());if(l!==wijmo_chart_1.ChartType.HighLowOpenClose&&l!==wijmo_chart_1.ChartType.Candlestick||n===r)return null;if(i){for(var h=NaN,_=NaN,c=NaN,u=NaN,g=i.length,p=0;p<g;p++){var m=this._getItem(p),d=i[p];if(Number.isFinite(d)){[d,r?m[r]:null,s?m[s]:null,o?m[o]:null].forEach((function(t){if(wijmo_chart_1._DataInfo.isValid(t)&&null!==t){(isNaN(_)||t<_)&&(_=t);(isNaN(u)||t>u)&&(u=t)}}))}if(a){var f=a[p];Number.isFinite(f)&&(isNaN(h)?h=c=f:f<h?h=f:f>c&&(c=f))}}if(!a){h=0;c=g-1}if(!isNaN(_))return new wijmo_1.Rect(h,_,c-h,u-_)}return null};return FinancialSeries}(wijmo_chart_1.SeriesBase);exports.FinancialSeries=FinancialSeries;function _trunc(t){wijmo_1.asNumber(t,!0,!1);return t>0?Math.floor(t):Math.ceil(t)}exports._trunc=_trunc;function _sum(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);return i.reduce((function(t,e){return t+wijmo_1.asNumber(e)}),0)}exports._sum=_sum;function _average(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);return _sum(i)/i.length}exports._average=_average;function _minimum(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);return Math.min.apply(null,i)}exports._minimum=_minimum;function _maximum(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);return Math.max.apply(null,i)}exports._maximum=_maximum;function _variance(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);var a=_average(i),n=i.map((function(t){return Math.pow(t-a,2)}));return _average(n)}exports._variance=_variance;function _stdDeviation(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);return Math.sqrt(_variance(i))}exports._stdDeviation=_stdDeviation;function _avgTrueRng(t,e,i,a){void 0===a&&(a=14);wijmo_1.asArray(t,!1);wijmo_1.asArray(e,!1);wijmo_1.asArray(i,!1);wijmo_1.asInt(a,!1,!0);var n=_trueRng(t,e,i,a),r=Math.min(t.length,e.length,i.length,n.length),s=[];wijmo_1.assert(r>a&&a>1,"Average True Range period must be an integer less than the length of the data and greater than one.");for(var o=0;o<r;o++){wijmo_1.asNumber(t[o],!1);wijmo_1.asNumber(e[o],!1);wijmo_1.asNumber(i[o],!1);wijmo_1.asNumber(n[o],!1);o+1===a?s.push(_average(n.slice(0,a))):o+1>a&&s.push(((a-1)*s[s.length-1]+n[o])/a)}return s}exports._avgTrueRng=_avgTrueRng;function _trueRng(t,e,i,a){void 0===a&&(a=14);wijmo_1.asArray(t,!1);wijmo_1.asArray(e,!1);wijmo_1.asArray(i,!1);wijmo_1.asInt(a,!1,!0);var n=Math.min(t.length,e.length,i.length),r=[];wijmo_1.assert(n>a&&a>1,"True Range period must be an integer less than the length of the data and greater than one.");for(var s=0;s<n;s++){wijmo_1.asNumber(t[s],!1);wijmo_1.asNumber(e[s],!1);wijmo_1.asNumber(i[s],!1);0===s?r.push(t[s]-e[s]):r.push(Math.max(t[s]-e[s],Math.abs(t[s]-i[s-1]),Math.abs(e[s]-i[s-1])))}return r}exports._trueRng=_trueRng;function _sma(t,e){wijmo_1.asArray(t,!1);wijmo_1.asNumber(e,!1,!0);wijmo_1.assert(t.length>e&&e>1,"Simple Moving Average period must be an integer less than the length of the data and greater than one.");for(var i=[],a=e;a<=t.length;a++)i.push(_average(t.slice(a-e,a)));return i}exports._sma=_sma;function _ema(t,e){wijmo_1.asArray(t,!1);wijmo_1.asNumber(e,!1,!0);wijmo_1.assert(t.length>e&&e>1,"Exponential Moving Average period must be an integer less than the length of the data and greater than one.");var i=[],a=2/(e+1),n=_sma(t,e);t=t.slice(e-1);for(var r=0;r<t.length;r++)0===r?i.push(n[0]):i.push((t[r]-i[r-1])*a+i[r-1]);return i}exports._ema=_ema;function _range(t,e,i){void 0===i&&(i=1);wijmo_1.asNumber(t,!1);wijmo_1.asNumber(e,!1);wijmo_1.asNumber(i,!1);wijmo_1.assert(t<e,"begin argument must be less than end argument.");for(var a=[],n=t;n<=e;n+=i)a.push(n);return a}exports._range=_range;var _BaseCalculator=function(){function _BaseCalculator(t,e,i,a){this.highs=t;this.lows=e;this.opens=i;this.closes=a}_BaseCalculator.prototype.calculate=function(){};_BaseCalculator.prototype.isValid=function(t,e,i,a){return wijmo_1.isNumber(t)&&Number.isFinite(t)&&wijmo_1.isNumber(e)&&Number.isFinite(e)&&wijmo_1.isNumber(i)&&Number.isFinite(i)&&wijmo_1.isNumber(a)&&Number.isFinite(a)};return _BaseCalculator}();exports._BaseCalculator=_BaseCalculator;var _HeikinAshiCalculator=function(t){__extends(_HeikinAshiCalculator,t);function _HeikinAshiCalculator(e,i,a,n){return t.call(this,e,i,a,n)||this}_HeikinAshiCalculator.prototype.calculate=function(){var t,e,i,a,n=Math.min(this.highs.length,this.lows.length,this.opens.length,this.closes.length),r=[];if(n<=0)return r;for(var s=0;s<n;s++)if(this.isValid(this.highs[s],this.lows[s],this.opens[s],this.closes[s])){a=_average(this.highs[s],this.lows[s],this.opens[s],this.closes[s]);if(0===s||isNaN(r[s-1].open)){i=_average(this.opens[s],this.closes[s]);t=this.highs[s];e=this.lows[s]}else{i=_average(r[s-1].open,r[s-1].close);t=Math.max(this.highs[s],i,a);e=Math.min(this.lows[s],i,a)}r.push({high:t,low:e,close:a,open:i,pointIndex:s,x:null})}else r.push({high:NaN,low:NaN,close:NaN,open:NaN,pointIndex:s,x:null});return r};return _HeikinAshiCalculator}(_BaseCalculator);exports._HeikinAshiCalculator=_HeikinAshiCalculator;var _BaseRangeCalculator=function(t){__extends(_BaseRangeCalculator,t);function _BaseRangeCalculator(e,i,a,n,r,s,o,l){var h=t.call(this,e,i,a,n)||this;h.xs=r;h.size=s;h.unit=o;h.fields=l;return h}_BaseRangeCalculator.prototype._getValues=function(){var t,e=[],i=Math.min(this.highs.length,this.lows.length,this.opens.length,this.closes.length);switch(this.fields){case DataFields.High:e=this.highs;break;case DataFields.Low:e=this.lows;break;case DataFields.Open:e=this.opens;break;case DataFields.HL2:for(t=0;t<i;t++)e.push(_average(this.highs[t],this.lows[t]));break;case DataFields.HLC3:for(t=0;t<i;t++)e.push(_average(this.highs[t],this.lows[t],this.closes[t]));break;case DataFields.HLOC4:for(t=0;t<i;t++)e.push(_average(this.highs[t],this.lows[t],this.opens[t],this.closes[t]));break;default:e=this.closes}return e};_BaseRangeCalculator.prototype._getSize=function(){var t=this.unit===RangeMode.ATR?_avgTrueRng(this.highs,this.lows,this.closes,this.size):null;return this.unit===RangeMode.ATR?t[t.length-1]:this.size};return _BaseRangeCalculator}(_BaseCalculator);exports._BaseRangeCalculator=_BaseRangeCalculator;var _LineBreakCalculator=function(t){__extends(_LineBreakCalculator,t);function _LineBreakCalculator(e,i,a,n,r,s){return t.call(this,e,i,a,n,r,s)||this}_LineBreakCalculator.prototype.calculate=function(){var t=null!==this.xs&&this.xs.length>0,e=this.closes.length,i=[],a=[[],[]];if(e<=0)return i;for(var n,r,s,o,l,h,_=[],c=1;c<e;c++){o=i.length-1;r=t?this.xs[c]:c;s=this.closes[c];if(-1===o){if((n=this.closes[0])===s)continue}else{_=this._trendExists(a)||1===this.size?a[0].slice(-this.size).concat(a[1].slice(-this.size)):a[0].slice(1-this.size).concat(a[1].slice(1-this.size));l=Math.max.apply(null,_);h=Math.min.apply(null,_);if(s>l)n=Math.max(a[0][o],a[1][o]);else{if(!(s<h))continue;n=Math.min(a[0][o],a[1][o])}}a[0].push(n);a[1].push(s);i.push({high:Math.max(n,s),low:Math.min(n,s),open:n,close:s,x:r,pointIndex:c})}return i};_LineBreakCalculator.prototype._trendExists=function(t){if(t[1].length<this.size)return!1;var e,i=!1,a=t[1].slice(-this.size);for(e=1;e<this.size&&(i=a[e]>a[e-1]);e++);if(!i)for(e=1;e<this.size&&(i=a[e]<a[e-1]);e++);return i};return _LineBreakCalculator}(_BaseRangeCalculator);exports._LineBreakCalculator=_LineBreakCalculator;var _KagiCalculator=function(t){__extends(_KagiCalculator,t);function _KagiCalculator(e,i,a,n,r,s,o,l){return t.call(this,e,i,a,n,r,s,o,l)||this}_KagiCalculator.prototype.calculate=function(){var t,e,i,a,n,r,s,o,l,h=this._getSize(),_=Math.min(this.highs.length,this.lows.length,this.opens.length,this.closes.length),c=this._getValues(),u=null!==this.xs&&this.xs.length>0,g=[],p=[[],[]];if(_<=0)return g;for(var m=1;m<_;m++){a=g.length-1;e=u?this.xs[m]:m;l=m;o=!1;if(this.fields===DataFields.HighLow)if(-1===a)if(this.highs[m]>this.highs[0])i=this.highs[m];else{if(!(this.lows[m]<this.lows[0]))continue;i=this.lows[m]}else if((s=p[1][a]-p[0][a])>0)if(this.highs[m]>p[1][a])i=this.highs[m];else{if(!(this.lows[m]<p[1][a]))continue;i=this.lows[m]}else if(this.lows[m]<p[1][a])i=this.lows[m];else{if(!(this.highs[m]>p[1][a]))continue;i=this.highs[m]}else i=c[m];this.unit===RangeMode.Percentage&&(h=i*this.size);if(-1===a){e=u?this.xs[0]:0;l=0;t=this.fields===DataFields.HighLow?null==this.highs[0]?this.highs[this.highs.length-1]:this.highs[0]:null==c[0]?c[c.length-1]:c[0];if((s=Math.abs(t-i)||0)<h)continue}else{s=p[1][a]-p[0][a];r=Math.max(p[0][a],p[1][a]);n=Math.min(p[0][a],p[1][a]);if(s>0)if(i>r)o=!0;else{if(!((s=r-i)>=h))continue;t=r}else if(i<n)o=!0;else{if(!((s=i-n)>=h))continue;t=n}}if(o){p[1][a]=i;g[a].close=i;g[a].high=Math.max(g[a].open,g[a].close);g[a].low=Math.min(g[a].open,g[a].close)}else{p[0].push(t);p[1].push(i);g.push({high:Math.max(t,i),low:Math.min(t,i),open:t,close:i,x:e,pointIndex:l})}}return g};return _KagiCalculator}(_BaseRangeCalculator);exports._KagiCalculator=_KagiCalculator;var _RenkoCalculator=function(t){__extends(_RenkoCalculator,t);function _RenkoCalculator(e,i,a,n,r,s,o,l,h){void 0===h&&(h=!1);var _=t.call(this,e,i,a,n,r,s,o,l)||this;_.rounding=h;return _}_RenkoCalculator.prototype.calculate=function(){var t,e,i,a,n,r,s,o=this._getSize(),l=Math.min(this.highs.length,this.lows.length,this.opens.length,this.closes.length),h=null!==this.xs&&this.xs.length>0,_=this._getValues(),c=[],u=[[],[]];if(l<=0)return c;for(var g=1;g<l;g++){a=c.length-1;e=h?this.xs[g]:g;if(this.fields===DataFields.HighLow)if(-1===a)if(this.highs[g]-this.highs[0]>o){t=this.highs[0];i=this.highs[g]}else{if(!(this.lows[0]-this.lows[g]>o))continue;t=this.lows[0];i=this.lows[g]}else{n=Math.min(u[0][a],u[1][a]);r=Math.max(u[0][a],u[1][a]);if(this.highs[g]-r>o){t=r;i=this.highs[g]}else{if(!(n-this.lows[g]>o))continue;t=n;i=this.lows[g]}}else{i=_[g];if(-1===a)t=_[0];else{n=Math.min(u[0][a],u[1][a]);if(i>(r=Math.max(u[0][a],u[1][a])))t=r;else{if(!(i<n))continue;t=n}}}s=i-t;if(!(Math.abs(s)<o)){s=_trunc(s/o);for(var p=0;p<Math.abs(s);p++){var m={};this.rounding&&(t=this._round(t,o));u[0].push(t);m.open=t;t=s>0?t+o:t-o;u[1].push(t);m.close=t;m.x=e;m.pointIndex=g;m.high=Math.max(m.open,m.close);m.low=Math.min(m.open,m.close);c.push(m)}}}return c};_RenkoCalculator.prototype._round=function(t,e){return Math.round(t/e)*e};return _RenkoCalculator}(_BaseRangeCalculator);exports._RenkoCalculator=_RenkoCalculator;var DataFields,RangeMode,PointAndFigureScaling,_BaseRangePlotter=function(t){__extends(_BaseRangePlotter,t);function _BaseRangePlotter(){var e=t.call(this)||this;e._symFactor=.7;e.clear();return e}_BaseRangePlotter.prototype.clear=function(){t.prototype.clear.call(this);this._rangeValues=null;this._rangeXLabels=null;this._calculator=null};_BaseRangePlotter.prototype.unload=function(){t.prototype.unload.call(this);for(var e,i,a=0;a<this.chart.series.length;a++)(e=this.chart.series[a])&&(i=e._getAxisX())&&i.itemsSource&&(i.itemsSource=null)};_BaseRangePlotter.prototype.adjustLimits=function(t,e){var i,a,n,r=0,s=0,o=0,l=0,h=this.chart._xDataType===wijmo_1.DataType.Date?.5:0;wijmo_1.assert(this.chart.series.length<=1,"Current FinancialChartType only supports a single series");for(var _=0;_<this.chart.series.length;_++){i=this.chart.series[_];this._calculate(i);if(!(this._rangeValues.length<=0||this._rangeXLabels.length<=0)){(a=this._rangeValues.map((function(t){return t.open}))).push.apply(a,this._rangeValues.map((function(t){return t.close})));n=this._rangeXLabels.map((function(t){return t.value}));o=Math.min.apply(null,a);l=Math.max.apply(null,a);r=Math.min.apply(null,n);s=Math.max.apply(null,n);i._getAxisX().itemsSource=this._rangeXLabels}}r-=h;return new wijmo_1.Rect(r,o,s-r+h,l-o)};_BaseRangePlotter.prototype.plotSeries=function(t,e,i,a,n,r,s){var o=this;this._calculate(a);var l=this.chart.series.indexOf(a),h=this._rangeValues.length,_=e.actualMin,c=e.actualMax,u=this._DEFAULT_WIDTH,g=this._symFactor,p=a._getSymbolFill(l),m=a._getAltSymbolFill(l)||"transparent",d=a._getSymbolStroke(l),f=a._getAltSymbolStroke(l)||d;t.strokeWidth=u;for(var w,y,v,C,P=0,x=this.getItemFormatter(a),k=0;k<h;k++){w=k;if(wijmo_chart_1._DataInfo.isValid(w)&&_<=w&&w<=c){y=this._rangeValues[k].open;v=this._rangeValues[k].close;t.fill=y>v?p:m;t.stroke=y>v?d:f;C=this._getDataPoint(l,k,a,Math.max(y,v));t.startGroup();if(x){var F=new wijmo_chart_1.HitTestInfo(this.chart,new wijmo_1.Point(e.convert(w),i.convert(v)),wijmo_chart_1.ChartElement.SeriesSymbol);F._setData(a,k);F._setDataPoint(C);x(t,F,(function(){o._drawSymbol(t,e,i,l,P,g,w,y,v,C)}))}else this._drawSymbol(t,e,i,l,P,g,w,y,v,C);t.endGroup();a._setPointIndex(k,P);P++}}};_BaseRangePlotter.prototype._drawSymbol=function(t,e,i,a,n,r,s,o,l,h){var _,c,u,g,p;if((u=e.convert(s-.5*r))>(g=e.convert(s+.5*r))){var m=u;u=g;g=m}if(wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(l)){o=i.convert(o);l=i.convert(l);c=(_=Math.min(o,l))+Math.abs(o-l);t.drawRect(u,_,g-u,c-_);(p=new wijmo_chart_1._RectArea(new wijmo_1.Rect(u,_,g-u,c-_))).tag=h;this.hitTester.add(p,a)}};_BaseRangePlotter.prototype._getDataPoint=function(t,e,i,a){var n=e,r=new wijmo_chart_1._DataPoint(t,e,n,a),s=i._getItem(this._rangeValues[e].pointIndex),o=i.bindingX||this.chart.bindingX,l=i._getBinding(0),h=i._getBinding(1),_=i._getBinding(2),c=i._getBinding(3),u=i._getAxisY();r.item=wijmo_chart_1._BasePlotter.cloneStyle(s,[]);r.item[l]=this._rangeValues[e].high;r.item[h]=this._rangeValues[e].low;r.item[_]=this._rangeValues[e].open;r.item[c]=this._rangeValues[e].close;r.y=this._rangeValues[e].close;r.yfmt=u._formatValue(this._rangeValues[e].close);r.x=r.item[o];r.xfmt=this._rangeXLabels[e]._text;return r};_BaseRangePlotter.prototype._init=function(){this._rangeValues=[];this._rangeXLabels=[]};_BaseRangePlotter.prototype._calculate=function(t){};_BaseRangePlotter.prototype._generateXLabels=function(t){var e,i=this,a=t._getAxisX(),n=t.getDataType(1)||this.chart._xDataType;this._rangeValues.forEach((function(t,r){var s=t.x;e=n===wijmo_1.DataType.Date?wijmo_1.Globalize.format(wijmo_chart_1.FlexChart._fromOADate(s),a.format||"d"):n===wijmo_1.DataType.Number?a._formatValue(s):null!==n&&n!==wijmo_1.DataType.String||!i.chart._xlabels?s.toString():i.chart._xlabels[s];i._rangeXLabels.push({value:r,text:e,_text:e})}),this)};return _BaseRangePlotter}(wijmo_chart_1._BasePlotter);exports._BaseRangePlotter=_BaseRangePlotter;!function(t){t[t.Close=0]="Close";t[t.High=1]="High";t[t.Low=2]="Low";t[t.Open=3]="Open";t[t.HighLow=4]="HighLow";t[t.HL2=5]="HL2";t[t.HLC3=6]="HLC3";t[t.HLOC4=7]="HLOC4"}(DataFields=exports.DataFields||(exports.DataFields={}));!function(t){t[t.Fixed=0]="Fixed";t[t.ATR=1]="ATR";t[t.Percentage=2]="Percentage"}(RangeMode=exports.RangeMode||(exports.RangeMode={}));!function(t){t[t.Traditional=0]="Traditional";t[t.Fixed=1]="Fixed";t[t.Dynamic=2]="Dynamic"}(PointAndFigureScaling=exports.PointAndFigureScaling||(exports.PointAndFigureScaling={}));var _PointAndFigurePlotter=function(t){__extends(_PointAndFigurePlotter,t);function _PointAndFigurePlotter(){return t.call(this)||this}_PointAndFigurePlotter.prototype.clear=function(){t.prototype.clear.call(this);this._boxSize=null;this._fields=null;this._reversal=null;this._scaling=null};_PointAndFigurePlotter.prototype.unload=function(){t.prototype.unload.call(this);this.chart.axisX.itemsSource=this._xlbls};_PointAndFigurePlotter.prototype._init=function(){this._boxSize=this.getNumOption("boxSize","pointAndFigure")||1;this._reversal=this.getNumOption("reversal","pointAndFigure")||3;this._period=this.getNumOption("period","pointAndFigure")||20;this._fields=this.getOption("fields","pointAndFigure")||DataFields.Close;this._fields=wijmo_1.asEnum(this._fields,DataFields,!0);wijmo_1.assert(this._fields==DataFields.Close||this._fields==DataFields.HighLow,"Only DataFields.Close and DataFields.HighLow are supported");this._scaling=this.getOption("scaling","pointAndFigure")||PointAndFigureScaling.Traditional;this._scaling=wijmo_1.asEnum(this._scaling,PointAndFigureScaling,!0);this._xlbls=[]};_PointAndFigurePlotter.prototype.adjustLimits=function(t,e){this._init();this.hitTester.clear();var i=new wijmo_1.Rect(0,0,0,0),a=this.chart.series.length;wijmo_1.assert(a<=1,"Current FinancialChartType only supports a single series");if(a>0){var n=this.chart.series[0],r=this._reversal,s=n.collectionView?n.collectionView:this.chart.collectionView,o=s?s.items:null;if(o&&o.length>0){var l=n._getBinding(0),h=n._getBinding(1),_=n._getBinding(2),c=n._getBinding(3);if(this._fields==DataFields.Close){c?l=c:_&&(l=_);h=l}var u=n.bindingX?n.bindingX:this.chart.bindingX;this._actualBoxSize=this.calcBoxSize(o,l,h);var g=this._actualBoxSize;this._pfdata=this.calcPFHiLo2(o,l,h,u,g,r);if(this._pfdata&&this._pfdata.length>0){var p=this._pfdata.reduce((function(t,e){return Math.max(t,e.max)}),this._pfdata[0].max),m=this._pfdata.reduce((function(t,e){return Math.min(t,e.min)}),this._pfdata[0].min);i=new wijmo_1.Rect(-.5,m-.5*g,this._pfdata.length,p-m+g);for(var d=1;d<this._pfdata.length;d++){var f=this._pfdata[d-1],w=this._pfdata[d];wijmo_1.isDate(w.date)&&wijmo_1.isDate(f.date)&&w.date.getYear()!=f.date.getYear()&&this._xlbls.push({value:d,text:wijmo_1.Globalize.formatNumber(w.date.getFullYear()%100,"d2")})}}}}0==this._xlbls.length&&this._xlbls.push({value:0});var y=this.chart.axisY;this.axisYMajorGrid=y.majorGrid;y._chart=null;y.majorGrid=!1;y._chart=this.chart;this.chart.axisX.itemsSource=this._xlbls;return i};_PointAndFigurePlotter.prototype.plotSeries=function(t,e,i,a,n,r,s){if(this._pfdata&&this._pfdata.length>0){var o=this._actualBoxSize;this.renderGrid(t,this._pfdata,o);this.renderData(this.chart,t,this._pfdata,o)}var l=this.chart.axisY;l._chart=null;l.majorGrid=this.axisYMajorGrid;l._chart=this.chart};_PointAndFigurePlotter.prototype.calcBoxSize=function(t,e,i){var a=t.reduce((function(t,i){return Math.max(t,i[e])}),t[0][e]),n=t.reduce((function(t,e){return Math.min(t,e[i])}),t[0][i]),r=this._boxSize,s=a-n;switch(this._scaling){case PointAndFigureScaling.Traditional:s<.25?r=.0625:s>=.25&&s<1?r=.125:s>=1&&s<5?r=.25:s>=5&&s<20?r=.5:s>=20&&s<100?r=1:s>=100&&s<200?r=2:s>=200&&s<500?r=4:s>=500&&s<1e3?r=5:s>=1e3&&s<25e3?r=50:s>-25e3&&(r=500);break;case PointAndFigureScaling.Dynamic:var o=this.chart.series[0],l=o._getBindingValues(0),h=o._getBindingValues(1),_=(o._getBindingValues(2),_avgTrueRng(l,h,o._getBindingValues(3),this._period));r=_[_.length-1];break;case PointAndFigureScaling.Fixed:}return r};_PointAndFigurePlotter.prototype.calcPFHiLo2=function(t,e,i,a,n,r){for(var s=[],o=0;o<t.length;o++){var l=t[o][e],h=t[o][i];wijmo_1.assert(l>=h,"'High' value must be larger than 'low' value.");var _=t[o][a];if(0==s.length)s.push({min:this.roundDown(h,n),max:this.roundDown(l,n),rise:!1,date:_});else{var c=s[s.length-1];if(c.rise){var u=c.max+n,g=c.max-r*n;this.roundUp(l,n)>=u?c.max=this.roundUp(l,n):h<=g&&s.push({min:this.roundDown(h,n),max:c.max-n,rise:!1,date:_})}else{u=c.min-n,g=c.min+r*n;this.roundDown(h,n)<=u?c.min=this.roundDown(h,n):l>=g&&s.push({min:c.min+n,max:this.roundUp(l,n),rise:!0,date:_})}}}if(s.length>0){var p=s[0];p.min==p.max&&s.splice(0,1)}return s};_PointAndFigurePlotter.prototype.roundUp=function(t,e){return Math.ceil(t/e-.999999)*e};_PointAndFigurePlotter.prototype.roundDown=function(t,e){return Math.floor(t/e+.999999)*e};_PointAndFigurePlotter.prototype.renderGrid=function(t,e,i){if(this._pfdata){for(var a=this._pfdata.reduce((function(t,e){return Math.max(t,e.max)}),this._pfdata[0].max),n=this._pfdata.reduce((function(t,e){return Math.min(t,e.min)}),this._pfdata[0].min),r=this.chart,s=this._pfdata.length,o=n-.5*i;o<=a+i;o+=i){var l=new wijmo_1.Point(-.5,o);l=r.dataToPoint(l);var h=new wijmo_1.Point(s,o);h=r.dataToPoint(h);t.stroke=wijmo_chart_1.FlexChartCore._FG;t.strokeWidth=1;t.drawLine(l.x,l.y,h.x,h.y,wijmo_chart_1.FlexChartCore._CSS_GRIDLINE)}for(var _=-.5;_<=s;_+=1){l=new wijmo_1.Point(_,this.chart.axisY.actualMin);l=r.dataToPoint(l);h=new wijmo_1.Point(_,this.chart.axisY.actualMax);h=r.dataToPoint(h);t.stroke=wijmo_chart_1.FlexChartCore._FG;t.strokeWidth=1;t.drawLine(l.x,l.y,h.x,h.y,wijmo_chart_1.FlexChartCore._CSS_GRIDLINE)}}};_PointAndFigurePlotter.prototype.renderData=function(t,e,i,a){for(var n=t.series[0],r=n._getSymbolStroke(0),s=n._getAltSymbolStroke(0)||r,o=0;o<i.length;o++){var l=i[o],h=(i[o].max-i[o].min)/a;if(0!=h){var _=new wijmo_1.Point(o-.5,l.min);_=t.dataToPoint(_);var c=new wijmo_1.Point(o+.5,l.max);c=t.dataToPoint(c);e.fill="transparent";for(var u=(c.y-_.y)/h,g=0;g<h+1;g++){e.strokeWidth=1.5;if(l.rise){e.stroke=r;e.drawLine(_.x,_.y+(g-.5)*u,c.x,_.y+(g+.5)*u);e.drawLine(c.x,_.y+(g-.5)*u,_.x,_.y+(g+.5)*u)}else{e.stroke=s;e.drawEllipse(.5*(_.x+c.x),_.y+g*u,.5*Math.abs(_.x-c.x),.5*Math.abs(u))}if(this.hitTester){var p=l.min+g*a,m=new wijmo_chart_1._DataPoint(0,o,l.date,p);m.y=p;m.yfmt=this.chart.axisY._formatValue(p);if(wijmo_1.isDate(l.date)){m.x=l.date;m.xfmt=wijmo_1.Globalize.formatDate(l.date,"d")}var d=new wijmo_1.Rect(Math.min(_.x,c.x),_.y+g*u-.5*u,Math.abs(c.x-_.x),u);if(d.height<0){d.top+=u;d.height=-d.height}var f=new wijmo_chart_1._RectArea(d);f.tag=m;this.hitTester.add(f,0)}}}}};return _PointAndFigurePlotter}(wijmo_chart_1._BasePlotter);exports._PointAndFigurePlotter=_PointAndFigurePlotter;var _KagiPlotter=function(t){__extends(_KagiPlotter,t);function _KagiPlotter(){return t.call(this)||this}_KagiPlotter.prototype._calculate=function(t){this._init();var e=t._getBindingValues(0),i=t._getBindingValues(1),a=t._getBindingValues(2),n=t._getBindingValues(3),r=t.getValues(1)||this.chart._xvals;this._calculator=new _KagiCalculator(e,i,a,n,r,this._reversalAmount,this._rangeMode,this._fields);this._rangeValues=this._calculator.calculate();(null===this._rangeValues||wijmo_1.isUndefined(this._rangeValues))&&(this._rangeValues=[]);this._generateXLabels(t)};_KagiPlotter.prototype.plotSeries=function(t,e,i,a,n,r,s){this._calculate(a);var o=this.chart.series.indexOf(a),l=this._rangeValues.length,h=e.actualMin,_=e.actualMax,c=this._DEFAULT_WIDTH,u=a._getSymbolStroke(o),g=a._getAltSymbolStroke(o)||u,p=[],m=[];t.stroke=u;t.strokeWidth=c;var d,f,w,y,v,C,P,x=0;t.startGroup();for(var k=0;k<l;k++){d=k;if(wijmo_chart_1._DataInfo.isValid(d)&&h<=d&&d<=_){f=this._rangeValues[k].open;w=this._rangeValues[k].close;if(0===k){y=Math.min(f,w);v=Math.max(f,w);t.strokeWidth=f>w?c:2*c;t.stroke=f>w?u:g;t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));t.drawLine(e.convert(d-1)-t.strokeWidth/2,i.convert(f),e.convert(d)+t.strokeWidth/2,i.convert(f))}else if(t.strokeWidth===c)if(w>f){if(w>v){t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(v));t.strokeWidth=2*c;t.stroke=g;t.drawLine(e.convert(d),i.convert(v),e.convert(d),i.convert(w));y=f}else t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));v=w}else t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));else if(t.strokeWidth/2===c)if(w<f){if(w<y){t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(y));t.strokeWidth=c;t.stroke=u;t.drawLine(e.convert(d),i.convert(y),e.convert(d),i.convert(w));v=f}else t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));y=w}else t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));k<l-1&&t.drawLine(e.convert(d)-t.strokeWidth/2,i.convert(w),e.convert(d+1)+t.strokeWidth/2,i.convert(w));P=this._getDataPoint(o,k,a,w);(C=new wijmo_chart_1._CircleArea(new wijmo_1.Point(e.convert(d),i.convert(w)),.5*t.strokeWidth)).tag=P;this.hitTester.add(C,o);a._setPointIndex(k,x);x++;p.push(e.convert(d));m.push(i.convert(f));p.push(e.convert(d));m.push(i.convert(w))}}t.endGroup();this.hitTester.add(new wijmo_chart_1._LinesArea(p,m),o)};_KagiPlotter.prototype._init=function(){t.prototype._init.call(this);this._reversalAmount=this.getNumOption("reversalAmount","kagi")||14;this._rangeMode=this.getOption("rangeMode","kagi")||RangeMode.Fixed;this._rangeMode=wijmo_1.asEnum(this._rangeMode,RangeMode,!0);this._fields=this.getOption("fields","kagi")||DataFields.Close;this._fields=wijmo_1.asEnum(this._fields,DataFields,!0)};_KagiPlotter.prototype.clear=function(){t.prototype.clear.call(this);this._reversalAmount=null;this._rangeMode=null};return _KagiPlotter}(_BaseRangePlotter);exports._KagiPlotter=_KagiPlotter;var _RenkoPlotter=function(t){__extends(_RenkoPlotter,t);function _RenkoPlotter(){return t.call(this)||this}_RenkoPlotter.prototype.clear=function(){t.prototype.clear.call(this);this._boxSize=null;this._rangeMode=null};_RenkoPlotter.prototype._calculate=function(t){this._init();var e=t._getBindingValues(0),i=t._getBindingValues(1),a=t._getBindingValues(2),n=t._getBindingValues(3),r=t.getValues(1)||this.chart._xvals;this._calculator=new _RenkoCalculator(e,i,a,n,r,this._boxSize,this._rangeMode,this._fields,this._rounding);this._rangeValues=this._calculator.calculate();(null===this._rangeValues||wijmo_1.isUndefined(this._rangeValues))&&(this._rangeValues=[]);this._generateXLabels(t)};_RenkoPlotter.prototype._init=function(){t.prototype._init.call(this);this._boxSize=this.getNumOption("boxSize","renko")||14;this._rangeMode=this.getOption("rangeMode","renko")||RangeMode.Fixed;this._rangeMode=wijmo_1.asEnum(this._rangeMode,RangeMode,!0);wijmo_1.assert(this._rangeMode!==RangeMode.Percentage,"RangeMode.Percentage is not supported");this._fields=this.getOption("fields","renko")||DataFields.Close;this._fields=wijmo_1.asEnum(this._fields,DataFields,!0);wijmo_1.assert(this._fields!==DataFields.HighLow,"DataFields.HighLow is not supported");this._rounding=wijmo_1.asBoolean(this.getOption("rounding","renko"),!0)};_RenkoPlotter.prototype._generateXLabels=function(e){var i=this;t.prototype._generateXLabels.call(this,e);this._rangeXLabels.forEach((function(t,e){e>0&&i._rangeXLabels[e-1]._text===t.text&&(t.text="")}),this)};return _RenkoPlotter}(_BaseRangePlotter);exports._RenkoPlotter=_RenkoPlotter;var _LineBreakPlotter=function(t){__extends(_LineBreakPlotter,t);function _LineBreakPlotter(){return t.call(this)||this}_LineBreakPlotter.prototype.clear=function(){t.prototype.clear.call(this);this._newLineBreaks=null};_LineBreakPlotter.prototype._calculate=function(t){this._init();var e=t._getBindingValues(3),i=t.getValues(1)||this.chart._xvals;this._calculator=new _LineBreakCalculator(null,null,null,e,i,this._newLineBreaks);this._rangeValues=this._calculator.calculate();(null===this._rangeValues||wijmo_1.isUndefined(this._rangeValues))&&(this._rangeValues=[]);this._generateXLabels(t)};_LineBreakPlotter.prototype._init=function(){t.prototype._init.call(this);this._newLineBreaks=wijmo_1.asInt(this.getNumOption("newLineBreaks","lineBreak"),!0,!0)||3;wijmo_1.assert(this._newLineBreaks>=1,"Value must be greater than 1")};return _LineBreakPlotter}(_BaseRangePlotter);exports._LineBreakPlotter=_LineBreakPlotter;var FinancialChartType,_HeikinAshiPlotter=function(t){__extends(_HeikinAshiPlotter,t);function _HeikinAshiPlotter(){var e=t.call(this)||this;e._symFactor=.7;e.clear();return e}_HeikinAshiPlotter.prototype.clear=function(){t.prototype.clear.call(this);this._haValues=null;this._calculator=null};_HeikinAshiPlotter.prototype.plotSeries=function(t,e,i,a,n,r,s){var o=this;this._calculate(a);var l=wijmo_1.asType(a,wijmo_chart_1.SeriesBase),h=this.chart.series.indexOf(a),_=a.getValues(1),c=this._symFactor,u=this._haValues.length,g=!0;if(_){var p=this.dataInfo.getDeltaX();p>0&&(c*=p)}else _=this.dataInfo.getXVals();if(_)u=Math.min(u,_.length);else{g=!1;_=new Array(u)}var m=this._DEFAULT_WIDTH,d=l._getSymbolFill(h),f=l._getAltSymbolFill(h)||"transparent",w=l._getSymbolStroke(h),y=l._getAltSymbolStroke(h)||w,v=c,C=a.getDataType(1)||a.chart._xDataType;t.strokeWidth=m;for(var P,x,k,F,b,j,A,T,B=e.actualMin,V=e.actualMax,L=0,M=this.getItemFormatter(a),_loop_1=function(n){k=g?_[n]:n;if(wijmo_chart_1._DataInfo.isValid(k)&&B<=k&&k<=V){b=S._haValues[n].high;j=S._haValues[n].low;A=S._haValues[n].open;T=S._haValues[n].close;P=A<T?f:d;x=A<T?y:w;t.fill=P;t.stroke=x;t.startGroup();F=S._getDataPoint(h,n,k,a);if(M){var r=new wijmo_chart_1.HitTestInfo(S.chart,new wijmo_1.Point(e.convert(k),i.convert(b)),wijmo_chart_1.ChartElement.SeriesSymbol);r._setData(l,n);r._setDataPoint(F);M(t,r,(function(){o._drawSymbolWithDpt(t,e,i,h,n,P,v,k,b,j,A,T,F,C,u)}))}else S._drawSymbolWithDpt(t,e,i,h,n,P,v,k,b,j,A,T,F,C,u);t.endGroup();a._setPointIndex(n,L);L++}},S=this,R=0;R<u;R++)_loop_1(R)};_HeikinAshiPlotter.prototype._drawSymbolWithDpt=function(t,e,i,a,n,r,s,o,l,h,_,c,u,g,p){var m,d=null,f=null,w=null,y=null,v=g===wijmo_1.DataType.Date?432e5:.5,C=e.convert(o),P=e._axrect,x=s/2,k=0===n&&C-P.left<=x,F=n===p-1&&P.right-C<=x;if(k){w=o;y=o+s}else if(F){w=o-s;y=o}else{w=o-v*s;y=o+v*s}if((w=e.convert(w))>(y=e.convert(y))){var b=w;w=y;y=b}o=C;if(wijmo_chart_1._DataInfo.isValid(_)&&wijmo_chart_1._DataInfo.isValid(c)){_=i.convert(_);c=i.convert(c);f=(d=Math.min(_,c))+Math.abs(_-c);t.drawRect(w,d,y-w,f-d);(m=new wijmo_chart_1._RectArea(new wijmo_1.Rect(w,d,y-w,f-d))).tag=u;this.hitTester.add(m,a)}if(wijmo_chart_1._DataInfo.isValid(l)){l=i.convert(l);if(null!==d){t.drawLine(o,d,o,l);m.rect.top=l;m.rect.height=m.rect.height+l}}if(wijmo_chart_1._DataInfo.isValid(h)){h=i.convert(h);if(null!==f){t.drawLine(o,f,o,h);m.rect.height=m.rect.height+h}}};_HeikinAshiPlotter.prototype._getDataPoint=function(t,e,i,a){var n=new wijmo_chart_1._DataPoint(t,e,i,this._haValues[e].high),r=a._getItem(e),s=a._getBinding(0),o=a._getBinding(1),l=a._getBinding(2),h=a._getBinding(3),_=a._getAxisY();if(null!=r){n.item=wijmo_chart_1._BasePlotter.cloneStyle(r,[]);n.item[s]=this._haValues[e].high;n.item[o]=this._haValues[e].low;n.item[l]=this._haValues[e].open;n.item[h]=this._haValues[e].close}n.y=this._haValues[e].high;n.yfmt=_._formatValue(this._haValues[e].high);return n};_HeikinAshiPlotter.prototype._calculate=function(t){var e=t._getBindingValues(0),i=t._getBindingValues(1),a=t._getBindingValues(2),n=t._getBindingValues(3);this._calculator=new _HeikinAshiCalculator(e,i,a,n);this._haValues=this._calculator.calculate();(null===this._haValues||wijmo_1.isUndefined(this._haValues))&&this._init()};_HeikinAshiPlotter.prototype._init=function(){this._haValues=[]};return _HeikinAshiPlotter}(wijmo_chart_1._FinancePlotter);exports._HeikinAshiPlotter=_HeikinAshiPlotter;!function(t){t[t.Column=0]="Column";t[t.Scatter=1]="Scatter";t[t.Line=2]="Line";t[t.LineSymbols=3]="LineSymbols";t[t.Area=4]="Area";t[t.Candlestick=5]="Candlestick";t[t.HighLowOpenClose=6]="HighLowOpenClose";t[t.HeikinAshi=7]="HeikinAshi";t[t.LineBreak=8]="LineBreak";t[t.Renko=9]="Renko";t[t.Kagi=10]="Kagi";t[t.ColumnVolume=11]="ColumnVolume";t[t.EquiVolume=12]="EquiVolume";t[t.CandleVolume=13]="CandleVolume";t[t.ArmsCandleVolume=14]="ArmsCandleVolume";t[t.PointAndFigure=15]="PointAndFigure"}(FinancialChartType=exports.FinancialChartType||(exports.FinancialChartType={}));var FinancialChart=function(t){__extends(FinancialChart,t);function FinancialChart(e,i){var a=t.call(this,e,null)||this;a._chartType=FinancialChartType.Line;a.__heikinAshiPlotter=null;a.__lineBreakPlotter=null;a.__renkoPlotter=null;a.__kagiPlotter=null;a.__pfPlotter=null;a.initialize(i);return a}FinancialChart.prototype._getProductInfo=function(){return"A78U,FinancialChart"};Object.defineProperty(FinancialChart.prototype,"chartType",{get:function(){return this._chartType},set:function(t){if((t=wijmo_1.asEnum(t,FinancialChartType))!=this._chartType){this._chartType=t;this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"options",{get:function(){return this._options},set:function(t){if(t!=this._options){this._options=t;this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_heikinAshiPlotter",{get:function(){if(null===this.__heikinAshiPlotter){this.__heikinAshiPlotter=new _HeikinAshiPlotter;this._initPlotter(this.__heikinAshiPlotter)}return this.__heikinAshiPlotter},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_lineBreakPlotter",{get:function(){if(null===this.__lineBreakPlotter){this.__lineBreakPlotter=new _LineBreakPlotter;this._initPlotter(this.__lineBreakPlotter)}return this.__lineBreakPlotter},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_renkoPlotter",{get:function(){if(null===this.__renkoPlotter){this.__renkoPlotter=new _RenkoPlotter;this._initPlotter(this.__renkoPlotter)}return this.__renkoPlotter},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_kagiPlotter",{get:function(){if(null===this.__kagiPlotter){this.__kagiPlotter=new _KagiPlotter;this._initPlotter(this.__kagiPlotter)}return this.__kagiPlotter},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_pfPlotter",{get:function(){if(null===this.__pfPlotter){this.__pfPlotter=new _PointAndFigurePlotter;this._initPlotter(this.__pfPlotter)}return this.__pfPlotter},enumerable:!0,configurable:!0});FinancialChart.prototype._getChartType=function(){var t=null;switch(this.chartType){case FinancialChartType.Area:t=wijmo_chart_1.ChartType.Area;break;case FinancialChartType.Line:case FinancialChartType.Kagi:case FinancialChartType.PointAndFigure:t=wijmo_chart_1.ChartType.Line;break;case FinancialChartType.Column:case FinancialChartType.ColumnVolume:t=wijmo_chart_1.ChartType.Column;break;case FinancialChartType.LineSymbols:t=wijmo_chart_1.ChartType.LineSymbols;break;case FinancialChartType.Scatter:t=wijmo_chart_1.ChartType.Scatter;break;case FinancialChartType.Candlestick:case FinancialChartType.Renko:case FinancialChartType.HeikinAshi:case FinancialChartType.LineBreak:case FinancialChartType.EquiVolume:case FinancialChartType.CandleVolume:case FinancialChartType.ArmsCandleVolume:t=wijmo_chart_1.ChartType.Candlestick;break;case FinancialChartType.HighLowOpenClose:t=wijmo_chart_1.ChartType.HighLowOpenClose}return t};FinancialChart.prototype._getPlotter=function(e){var i=this.chartType,a=null;if(e){var n=e.chartType;if(n&&!wijmo_1.isUndefined(n)&&n!=i){i=n;!0}}switch(i){case FinancialChartType.HeikinAshi:a=this._heikinAshiPlotter;break;case FinancialChartType.LineBreak:a=this._lineBreakPlotter;break;case FinancialChartType.Renko:a=this._renkoPlotter;break;case FinancialChartType.Kagi:a=this._kagiPlotter;break;case FinancialChartType.ColumnVolume:(a=t.prototype._getPlotter.call(this,e)).isVolume=!0;a.width=1;break;case FinancialChartType.EquiVolume:(a=t.prototype._getPlotter.call(this,e)).isEqui=!0;a.isCandle=!1;a.isArms=!1;a.isVolume=!0;a.symbolWidth="100%";break;case FinancialChartType.CandleVolume:(a=t.prototype._getPlotter.call(this,e)).isEqui=!1;a.isCandle=!0;a.isArms=!1;a.isVolume=!0;a.symbolWidth="100%";break;case FinancialChartType.ArmsCandleVolume:(a=t.prototype._getPlotter.call(this,e)).isEqui=!1;a.isCandle=!1;a.isArms=!0;a.isVolume=!0;a.symbolWidth="100%";break;case FinancialChartType.PointAndFigure:a=this._pfPlotter;break;default:a=t.prototype._getPlotter.call(this,e)}return a};FinancialChart.prototype._createSeries=function(){return new FinancialSeries};return FinancialChart}(wijmo_chart_1.FlexChartCore);exports.FinancialChart=FinancialChart;wijmo_1._registerModule("wijmo.chart.finance",selfModule);
14
+ "use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(t,e){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])})(t,e)};return function(t,e){extendStatics(t,e);function __(){this.constructor=t}t.prototype=null===e?Object.create(e):(__.prototype=e.prototype,new __)}}(),__importStar=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.hasOwnProperty.call(t,i)&&(e[i]=t[i]);e.default=t;return e};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),selfModule=__importStar(require("wijmo/wijmo.chart.finance")),FinancialSeries=function(t){__extends(FinancialSeries,t);function FinancialSeries(){return null!==t&&t.apply(this,arguments)||this}Object.defineProperty(FinancialSeries.prototype,"chartType",{get:function(){return this._finChartType},set:function(t){if((t=wijmo_1.asEnum(t,FinancialChartType,!0))!=this._finChartType){this._finChartType=t;this._invalidate()}},enumerable:!0,configurable:!0});FinancialSeries.prototype._getChartType=function(){var t=null;switch(this.chartType){case FinancialChartType.Area:t=wijmo_chart_1.ChartType.Area;break;case FinancialChartType.Line:case FinancialChartType.Kagi:case FinancialChartType.PointAndFigure:t=wijmo_chart_1.ChartType.Line;break;case FinancialChartType.Column:case FinancialChartType.ColumnVolume:t=wijmo_chart_1.ChartType.Column;break;case FinancialChartType.LineSymbols:t=wijmo_chart_1.ChartType.LineSymbols;break;case FinancialChartType.Scatter:t=wijmo_chart_1.ChartType.Scatter;break;case FinancialChartType.Candlestick:case FinancialChartType.Renko:case FinancialChartType.HeikinAshi:case FinancialChartType.LineBreak:case FinancialChartType.EquiVolume:case FinancialChartType.CandleVolume:case FinancialChartType.ArmsCandleVolume:t=wijmo_chart_1.ChartType.Candlestick;break;case FinancialChartType.HighLowOpenClose:t=wijmo_chart_1.ChartType.HighLowOpenClose}return t};FinancialSeries.prototype.getDataRect=function(t,e){if(e)return e;var i=this.getValues(0),a=this.getValues(1)||(this.chart._xvals&&this.chart._xvals.length?this.chart._xvals:null),n=this._getBinding(0),r=this._getBinding(1),s=this._getBinding(2),o=this._getBinding(3),l=(this._plotter,this._getChartType()||this.chart._getChartType());if(l!==wijmo_chart_1.ChartType.HighLowOpenClose&&l!==wijmo_chart_1.ChartType.Candlestick||n===r)return null;if(i){for(var h=NaN,_=NaN,c=NaN,u=NaN,g=i.length,p=0;p<g;p++){var m=this._getItem(p),d=i[p];if(isFinite(d)){[d,r?m[r]:null,s?m[s]:null,o?m[o]:null].forEach((function(t){if(wijmo_chart_1._DataInfo.isValid(t)&&null!==t){(isNaN(_)||t<_)&&(_=t);(isNaN(u)||t>u)&&(u=t)}}))}if(a){var f=a[p];isFinite(f)&&(isNaN(h)?h=c=f:f<h?h=f:f>c&&(c=f))}}if(!a){h=0;c=g-1}if(!isNaN(_))return new wijmo_1.Rect(h,_,c-h,u-_)}return null};return FinancialSeries}(wijmo_chart_1.SeriesBase);exports.FinancialSeries=FinancialSeries;function _trunc(t){wijmo_1.asNumber(t,!0,!1);return t>0?Math.floor(t):Math.ceil(t)}exports._trunc=_trunc;function _sum(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);return i.reduce((function(t,e){return t+wijmo_1.asNumber(e)}),0)}exports._sum=_sum;function _average(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);return _sum(i)/i.length}exports._average=_average;function _minimum(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);return Math.min.apply(null,i)}exports._minimum=_minimum;function _maximum(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);return Math.max.apply(null,i)}exports._maximum=_maximum;function _variance(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);var a=_average(i),n=i.map((function(t){return Math.pow(t-a,2)}));return _average(n)}exports._variance=_variance;function _stdDeviation(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=t.length>1?t:t[0];wijmo_1.asArray(i,!1);return Math.sqrt(_variance(i))}exports._stdDeviation=_stdDeviation;function _avgTrueRng(t,e,i,a){void 0===a&&(a=14);wijmo_1.asArray(t,!1);wijmo_1.asArray(e,!1);wijmo_1.asArray(i,!1);wijmo_1.asInt(a,!1,!0);var n=_trueRng(t,e,i,a),r=Math.min(t.length,e.length,i.length,n.length),s=[];wijmo_1.assert(r>a&&a>1,"Average True Range period must be an integer less than the length of the data and greater than one.");for(var o=0;o<r;o++){wijmo_1.asNumber(t[o],!1);wijmo_1.asNumber(e[o],!1);wijmo_1.asNumber(i[o],!1);wijmo_1.asNumber(n[o],!1);o+1===a?s.push(_average(n.slice(0,a))):o+1>a&&s.push(((a-1)*s[s.length-1]+n[o])/a)}return s}exports._avgTrueRng=_avgTrueRng;function _trueRng(t,e,i,a){void 0===a&&(a=14);wijmo_1.asArray(t,!1);wijmo_1.asArray(e,!1);wijmo_1.asArray(i,!1);wijmo_1.asInt(a,!1,!0);var n=Math.min(t.length,e.length,i.length),r=[];wijmo_1.assert(n>a&&a>1,"True Range period must be an integer less than the length of the data and greater than one.");for(var s=0;s<n;s++){wijmo_1.asNumber(t[s],!1);wijmo_1.asNumber(e[s],!1);wijmo_1.asNumber(i[s],!1);0===s?r.push(t[s]-e[s]):r.push(Math.max(t[s]-e[s],Math.abs(t[s]-i[s-1]),Math.abs(e[s]-i[s-1])))}return r}exports._trueRng=_trueRng;function _sma(t,e){wijmo_1.asArray(t,!1);wijmo_1.asNumber(e,!1,!0);wijmo_1.assert(t.length>e&&e>1,"Simple Moving Average period must be an integer less than the length of the data and greater than one.");for(var i=[],a=e;a<=t.length;a++)i.push(_average(t.slice(a-e,a)));return i}exports._sma=_sma;function _ema(t,e){wijmo_1.asArray(t,!1);wijmo_1.asNumber(e,!1,!0);wijmo_1.assert(t.length>e&&e>1,"Exponential Moving Average period must be an integer less than the length of the data and greater than one.");var i=[],a=2/(e+1),n=_sma(t,e);t=t.slice(e-1);for(var r=0;r<t.length;r++)0===r?i.push(n[0]):i.push((t[r]-i[r-1])*a+i[r-1]);return i}exports._ema=_ema;function _range(t,e,i){void 0===i&&(i=1);wijmo_1.asNumber(t,!1);wijmo_1.asNumber(e,!1);wijmo_1.asNumber(i,!1);wijmo_1.assert(t<e,"begin argument must be less than end argument.");for(var a=[],n=t;n<=e;n+=i)a.push(n);return a}exports._range=_range;var _BaseCalculator=function(){function _BaseCalculator(t,e,i,a){this.highs=t;this.lows=e;this.opens=i;this.closes=a}_BaseCalculator.prototype.calculate=function(){};_BaseCalculator.prototype.isValid=function(t,e,i,a){return wijmo_1.isNumber(t)&&isFinite(t)&&wijmo_1.isNumber(e)&&isFinite(e)&&wijmo_1.isNumber(i)&&isFinite(i)&&wijmo_1.isNumber(a)&&isFinite(a)};return _BaseCalculator}();exports._BaseCalculator=_BaseCalculator;var _HeikinAshiCalculator=function(t){__extends(_HeikinAshiCalculator,t);function _HeikinAshiCalculator(e,i,a,n){return t.call(this,e,i,a,n)||this}_HeikinAshiCalculator.prototype.calculate=function(){var t,e,i,a,n=Math.min(this.highs.length,this.lows.length,this.opens.length,this.closes.length),r=[];if(n<=0)return r;for(var s=0;s<n;s++)if(this.isValid(this.highs[s],this.lows[s],this.opens[s],this.closes[s])){a=_average(this.highs[s],this.lows[s],this.opens[s],this.closes[s]);if(0===s||isNaN(r[s-1].open)){i=_average(this.opens[s],this.closes[s]);t=this.highs[s];e=this.lows[s]}else{i=_average(r[s-1].open,r[s-1].close);t=Math.max(this.highs[s],i,a);e=Math.min(this.lows[s],i,a)}r.push({high:t,low:e,close:a,open:i,pointIndex:s,x:null})}else r.push({high:NaN,low:NaN,close:NaN,open:NaN,pointIndex:s,x:null});return r};return _HeikinAshiCalculator}(_BaseCalculator);exports._HeikinAshiCalculator=_HeikinAshiCalculator;var _BaseRangeCalculator=function(t){__extends(_BaseRangeCalculator,t);function _BaseRangeCalculator(e,i,a,n,r,s,o,l){var h=t.call(this,e,i,a,n)||this;h.xs=r;h.size=s;h.unit=o;h.fields=l;return h}_BaseRangeCalculator.prototype._getValues=function(){var t,e=[],i=Math.min(this.highs.length,this.lows.length,this.opens.length,this.closes.length);switch(this.fields){case DataFields.High:e=this.highs;break;case DataFields.Low:e=this.lows;break;case DataFields.Open:e=this.opens;break;case DataFields.HL2:for(t=0;t<i;t++)e.push(_average(this.highs[t],this.lows[t]));break;case DataFields.HLC3:for(t=0;t<i;t++)e.push(_average(this.highs[t],this.lows[t],this.closes[t]));break;case DataFields.HLOC4:for(t=0;t<i;t++)e.push(_average(this.highs[t],this.lows[t],this.opens[t],this.closes[t]));break;default:e=this.closes}return e};_BaseRangeCalculator.prototype._getSize=function(){var t=this.unit===RangeMode.ATR?_avgTrueRng(this.highs,this.lows,this.closes,this.size):null;return this.unit===RangeMode.ATR?t[t.length-1]:this.size};return _BaseRangeCalculator}(_BaseCalculator);exports._BaseRangeCalculator=_BaseRangeCalculator;var _LineBreakCalculator=function(t){__extends(_LineBreakCalculator,t);function _LineBreakCalculator(e,i,a,n,r,s){return t.call(this,e,i,a,n,r,s)||this}_LineBreakCalculator.prototype.calculate=function(){var t=null!==this.xs&&this.xs.length>0,e=this.closes.length,i=[],a=[[],[]];if(e<=0)return i;for(var n,r,s,o,l,h,_=[],c=1;c<e;c++){o=i.length-1;r=t?this.xs[c]:c;s=this.closes[c];if(-1===o){if((n=this.closes[0])===s)continue}else{_=this._trendExists(a)||1===this.size?a[0].slice(-this.size).concat(a[1].slice(-this.size)):a[0].slice(1-this.size).concat(a[1].slice(1-this.size));l=Math.max.apply(null,_);h=Math.min.apply(null,_);if(s>l)n=Math.max(a[0][o],a[1][o]);else{if(!(s<h))continue;n=Math.min(a[0][o],a[1][o])}}a[0].push(n);a[1].push(s);i.push({high:Math.max(n,s),low:Math.min(n,s),open:n,close:s,x:r,pointIndex:c})}return i};_LineBreakCalculator.prototype._trendExists=function(t){if(t[1].length<this.size)return!1;var e,i=!1,a=t[1].slice(-this.size);for(e=1;e<this.size&&(i=a[e]>a[e-1]);e++);if(!i)for(e=1;e<this.size&&(i=a[e]<a[e-1]);e++);return i};return _LineBreakCalculator}(_BaseRangeCalculator);exports._LineBreakCalculator=_LineBreakCalculator;var _KagiCalculator=function(t){__extends(_KagiCalculator,t);function _KagiCalculator(e,i,a,n,r,s,o,l){return t.call(this,e,i,a,n,r,s,o,l)||this}_KagiCalculator.prototype.calculate=function(){var t,e,i,a,n,r,s,o,l,h=this._getSize(),_=Math.min(this.highs.length,this.lows.length,this.opens.length,this.closes.length),c=this._getValues(),u=null!==this.xs&&this.xs.length>0,g=[],p=[[],[]];if(_<=0)return g;for(var m=1;m<_;m++){a=g.length-1;e=u?this.xs[m]:m;l=m;o=!1;if(this.fields===DataFields.HighLow)if(-1===a)if(this.highs[m]>this.highs[0])i=this.highs[m];else{if(!(this.lows[m]<this.lows[0]))continue;i=this.lows[m]}else if((s=p[1][a]-p[0][a])>0)if(this.highs[m]>p[1][a])i=this.highs[m];else{if(!(this.lows[m]<p[1][a]))continue;i=this.lows[m]}else if(this.lows[m]<p[1][a])i=this.lows[m];else{if(!(this.highs[m]>p[1][a]))continue;i=this.highs[m]}else i=c[m];this.unit===RangeMode.Percentage&&(h=i*this.size);if(-1===a){e=u?this.xs[0]:0;l=0;t=this.fields===DataFields.HighLow?null==this.highs[0]?this.highs[this.highs.length-1]:this.highs[0]:null==c[0]?c[c.length-1]:c[0];if((s=Math.abs(t-i)||0)<h)continue}else{s=p[1][a]-p[0][a];r=Math.max(p[0][a],p[1][a]);n=Math.min(p[0][a],p[1][a]);if(s>0)if(i>r)o=!0;else{if(!((s=r-i)>=h))continue;t=r}else if(i<n)o=!0;else{if(!((s=i-n)>=h))continue;t=n}}if(o){p[1][a]=i;g[a].close=i;g[a].high=Math.max(g[a].open,g[a].close);g[a].low=Math.min(g[a].open,g[a].close)}else{p[0].push(t);p[1].push(i);g.push({high:Math.max(t,i),low:Math.min(t,i),open:t,close:i,x:e,pointIndex:l})}}return g};return _KagiCalculator}(_BaseRangeCalculator);exports._KagiCalculator=_KagiCalculator;var _RenkoCalculator=function(t){__extends(_RenkoCalculator,t);function _RenkoCalculator(e,i,a,n,r,s,o,l,h){void 0===h&&(h=!1);var _=t.call(this,e,i,a,n,r,s,o,l)||this;_.rounding=h;return _}_RenkoCalculator.prototype.calculate=function(){var t,e,i,a,n,r,s,o=this._getSize(),l=Math.min(this.highs.length,this.lows.length,this.opens.length,this.closes.length),h=null!==this.xs&&this.xs.length>0,_=this._getValues(),c=[],u=[[],[]];if(l<=0)return c;for(var g=1;g<l;g++){a=c.length-1;e=h?this.xs[g]:g;if(this.fields===DataFields.HighLow)if(-1===a)if(this.highs[g]-this.highs[0]>o){t=this.highs[0];i=this.highs[g]}else{if(!(this.lows[0]-this.lows[g]>o))continue;t=this.lows[0];i=this.lows[g]}else{n=Math.min(u[0][a],u[1][a]);r=Math.max(u[0][a],u[1][a]);if(this.highs[g]-r>o){t=r;i=this.highs[g]}else{if(!(n-this.lows[g]>o))continue;t=n;i=this.lows[g]}}else{i=_[g];if(-1===a)t=_[0];else{n=Math.min(u[0][a],u[1][a]);if(i>(r=Math.max(u[0][a],u[1][a])))t=r;else{if(!(i<n))continue;t=n}}}s=i-t;if(!(Math.abs(s)<o)){s=_trunc(s/o);for(var p=0;p<Math.abs(s);p++){var m={};this.rounding&&(t=this._round(t,o));u[0].push(t);m.open=t;t=s>0?t+o:t-o;u[1].push(t);m.close=t;m.x=e;m.pointIndex=g;m.high=Math.max(m.open,m.close);m.low=Math.min(m.open,m.close);c.push(m)}}}return c};_RenkoCalculator.prototype._round=function(t,e){return Math.round(t/e)*e};return _RenkoCalculator}(_BaseRangeCalculator);exports._RenkoCalculator=_RenkoCalculator;var DataFields,RangeMode,PointAndFigureScaling,_BaseRangePlotter=function(t){__extends(_BaseRangePlotter,t);function _BaseRangePlotter(){var e=t.call(this)||this;e._symFactor=.7;e.clear();return e}_BaseRangePlotter.prototype.clear=function(){t.prototype.clear.call(this);this._rangeValues=null;this._rangeXLabels=null;this._calculator=null};_BaseRangePlotter.prototype.unload=function(){t.prototype.unload.call(this);for(var e,i,a=0;a<this.chart.series.length;a++)(e=this.chart.series[a])&&(i=e._getAxisX())&&i.itemsSource&&(i.itemsSource=null)};_BaseRangePlotter.prototype.adjustLimits=function(t,e){var i,a,n,r=0,s=0,o=0,l=0,h=this.chart._xDataType===wijmo_1.DataType.Date?.5:0;wijmo_1.assert(this.chart.series.length<=1,"Current FinancialChartType only supports a single series");for(var _=0;_<this.chart.series.length;_++){i=this.chart.series[_];this._calculate(i);if(!(this._rangeValues.length<=0||this._rangeXLabels.length<=0)){(a=this._rangeValues.map((function(t){return t.open}))).push.apply(a,this._rangeValues.map((function(t){return t.close})));n=this._rangeXLabels.map((function(t){return t.value}));o=Math.min.apply(null,a);l=Math.max.apply(null,a);r=Math.min.apply(null,n);s=Math.max.apply(null,n);i._getAxisX().itemsSource=this._rangeXLabels}}r-=h;return new wijmo_1.Rect(r,o,s-r+h,l-o)};_BaseRangePlotter.prototype.plotSeries=function(t,e,i,a,n,r,s){var o=this;this._calculate(a);var l=this.chart.series.indexOf(a),h=this._rangeValues.length,_=e.actualMin,c=e.actualMax,u=this._DEFAULT_WIDTH,g=this._symFactor,p=a._getSymbolFill(l),m=a._getAltSymbolFill(l)||"transparent",d=a._getSymbolStroke(l),f=a._getAltSymbolStroke(l)||d;t.strokeWidth=u;for(var w,y,v,C,P=0,x=this.getItemFormatter(a),k=0;k<h;k++){w=k;if(wijmo_chart_1._DataInfo.isValid(w)&&_<=w&&w<=c){y=this._rangeValues[k].open;v=this._rangeValues[k].close;t.fill=y>v?p:m;t.stroke=y>v?d:f;C=this._getDataPoint(l,k,a,Math.max(y,v));t.startGroup();if(x){var F=new wijmo_chart_1.HitTestInfo(this.chart,new wijmo_1.Point(e.convert(w),i.convert(v)),wijmo_chart_1.ChartElement.SeriesSymbol);F._setData(a,k);F._setDataPoint(C);x(t,F,(function(){o._drawSymbol(t,e,i,l,P,g,w,y,v,C)}))}else this._drawSymbol(t,e,i,l,P,g,w,y,v,C);t.endGroup();a._setPointIndex(k,P);P++}}};_BaseRangePlotter.prototype._drawSymbol=function(t,e,i,a,n,r,s,o,l,h){var _,c,u,g,p;if((u=e.convert(s-.5*r))>(g=e.convert(s+.5*r))){var m=u;u=g;g=m}if(wijmo_chart_1._DataInfo.isValid(o)&&wijmo_chart_1._DataInfo.isValid(l)){o=i.convert(o);l=i.convert(l);c=(_=Math.min(o,l))+Math.abs(o-l);t.drawRect(u,_,g-u,c-_);(p=new wijmo_chart_1._RectArea(new wijmo_1.Rect(u,_,g-u,c-_))).tag=h;this.hitTester.add(p,a)}};_BaseRangePlotter.prototype._getDataPoint=function(t,e,i,a){var n=e,r=new wijmo_chart_1._DataPoint(t,e,n,a),s=i._getItem(this._rangeValues[e].pointIndex),o=i.bindingX||this.chart.bindingX,l=i._getBinding(0),h=i._getBinding(1),_=i._getBinding(2),c=i._getBinding(3),u=i._getAxisY();r.item=wijmo_chart_1._BasePlotter.cloneStyle(s,[]);r.item[l]=this._rangeValues[e].high;r.item[h]=this._rangeValues[e].low;r.item[_]=this._rangeValues[e].open;r.item[c]=this._rangeValues[e].close;r.y=this._rangeValues[e].close;r.yfmt=u._formatValue(this._rangeValues[e].close);r.x=r.item[o];r.xfmt=this._rangeXLabels[e]._text;return r};_BaseRangePlotter.prototype._init=function(){this._rangeValues=[];this._rangeXLabels=[]};_BaseRangePlotter.prototype._calculate=function(t){};_BaseRangePlotter.prototype._generateXLabels=function(t){var e,i=this,a=t._getAxisX(),n=t.getDataType(1)||this.chart._xDataType;this._rangeValues.forEach((function(t,r){var s=t.x;e=n===wijmo_1.DataType.Date?wijmo_1.Globalize.format(wijmo_chart_1.FlexChart._fromOADate(s),a.format||"d"):n===wijmo_1.DataType.Number?a._formatValue(s):null!==n&&n!==wijmo_1.DataType.String||!i.chart._xlabels?s.toString():i.chart._xlabels[s];i._rangeXLabels.push({value:r,text:e,_text:e})}),this)};return _BaseRangePlotter}(wijmo_chart_1._BasePlotter);exports._BaseRangePlotter=_BaseRangePlotter;!function(t){t[t.Close=0]="Close";t[t.High=1]="High";t[t.Low=2]="Low";t[t.Open=3]="Open";t[t.HighLow=4]="HighLow";t[t.HL2=5]="HL2";t[t.HLC3=6]="HLC3";t[t.HLOC4=7]="HLOC4"}(DataFields=exports.DataFields||(exports.DataFields={}));!function(t){t[t.Fixed=0]="Fixed";t[t.ATR=1]="ATR";t[t.Percentage=2]="Percentage"}(RangeMode=exports.RangeMode||(exports.RangeMode={}));!function(t){t[t.Traditional=0]="Traditional";t[t.Fixed=1]="Fixed";t[t.Dynamic=2]="Dynamic"}(PointAndFigureScaling=exports.PointAndFigureScaling||(exports.PointAndFigureScaling={}));var _PointAndFigurePlotter=function(t){__extends(_PointAndFigurePlotter,t);function _PointAndFigurePlotter(){return t.call(this)||this}_PointAndFigurePlotter.prototype.clear=function(){t.prototype.clear.call(this);this._boxSize=null;this._fields=null;this._reversal=null;this._scaling=null};_PointAndFigurePlotter.prototype.unload=function(){t.prototype.unload.call(this);this.chart.axisX.itemsSource=this._xlbls};_PointAndFigurePlotter.prototype._init=function(){this._boxSize=this.getNumOption("boxSize","pointAndFigure")||1;this._reversal=this.getNumOption("reversal","pointAndFigure")||3;this._period=this.getNumOption("period","pointAndFigure")||20;this._fields=this.getOption("fields","pointAndFigure")||DataFields.Close;this._fields=wijmo_1.asEnum(this._fields,DataFields,!0);wijmo_1.assert(this._fields==DataFields.Close||this._fields==DataFields.HighLow,"Only DataFields.Close and DataFields.HighLow are supported");this._scaling=this.getOption("scaling","pointAndFigure")||PointAndFigureScaling.Traditional;this._scaling=wijmo_1.asEnum(this._scaling,PointAndFigureScaling,!0);this._xlbls=[]};_PointAndFigurePlotter.prototype.adjustLimits=function(t,e){this._init();this.hitTester.clear();var i=new wijmo_1.Rect(0,0,0,0),a=this.chart.series.length;wijmo_1.assert(a<=1,"Current FinancialChartType only supports a single series");if(a>0){var n=this.chart.series[0],r=this._reversal,s=n.collectionView?n.collectionView:this.chart.collectionView,o=s?s.items:null;if(o&&o.length>0){var l=n._getBinding(0),h=n._getBinding(1),_=n._getBinding(2),c=n._getBinding(3);if(this._fields==DataFields.Close){c?l=c:_&&(l=_);h=l}var u=n.bindingX?n.bindingX:this.chart.bindingX;this._actualBoxSize=this.calcBoxSize(o,l,h);var g=this._actualBoxSize;this._pfdata=this.calcPFHiLo2(o,l,h,u,g,r);if(this._pfdata&&this._pfdata.length>0){var p=this._pfdata.reduce((function(t,e){return Math.max(t,e.max)}),this._pfdata[0].max),m=this._pfdata.reduce((function(t,e){return Math.min(t,e.min)}),this._pfdata[0].min);i=new wijmo_1.Rect(-.5,m-.5*g,this._pfdata.length,p-m+g);for(var d=1;d<this._pfdata.length;d++){var f=this._pfdata[d-1],w=this._pfdata[d];wijmo_1.isDate(w.date)&&wijmo_1.isDate(f.date)&&w.date.getYear()!=f.date.getYear()&&this._xlbls.push({value:d,text:wijmo_1.Globalize.formatNumber(w.date.getFullYear()%100,"d2")})}}}}0==this._xlbls.length&&this._xlbls.push({value:0});var y=this.chart.axisY;this.axisYMajorGrid=y.majorGrid;y._chart=null;y.majorGrid=!1;y._chart=this.chart;this.chart.axisX.itemsSource=this._xlbls;return i};_PointAndFigurePlotter.prototype.plotSeries=function(t,e,i,a,n,r,s){if(this._pfdata&&this._pfdata.length>0){var o=this._actualBoxSize;this.renderGrid(t,this._pfdata,o);this.renderData(this.chart,t,this._pfdata,o)}var l=this.chart.axisY;l._chart=null;l.majorGrid=this.axisYMajorGrid;l._chart=this.chart};_PointAndFigurePlotter.prototype.calcBoxSize=function(t,e,i){var a=t.reduce((function(t,i){return Math.max(t,i[e])}),t[0][e]),n=t.reduce((function(t,e){return Math.min(t,e[i])}),t[0][i]),r=this._boxSize,s=a-n;switch(this._scaling){case PointAndFigureScaling.Traditional:s<.25?r=.0625:s>=.25&&s<1?r=.125:s>=1&&s<5?r=.25:s>=5&&s<20?r=.5:s>=20&&s<100?r=1:s>=100&&s<200?r=2:s>=200&&s<500?r=4:s>=500&&s<1e3?r=5:s>=1e3&&s<25e3?r=50:s>-25e3&&(r=500);break;case PointAndFigureScaling.Dynamic:var o=this.chart.series[0],l=o._getBindingValues(0),h=o._getBindingValues(1),_=(o._getBindingValues(2),_avgTrueRng(l,h,o._getBindingValues(3),this._period));r=_[_.length-1];break;case PointAndFigureScaling.Fixed:}return r};_PointAndFigurePlotter.prototype.calcPFHiLo2=function(t,e,i,a,n,r){for(var s=[],o=0;o<t.length;o++){var l=t[o][e],h=t[o][i];wijmo_1.assert(l>=h,"'High' value must be larger than 'low' value.");var _=t[o][a];if(0==s.length)s.push({min:this.roundDown(h,n),max:this.roundDown(l,n),rise:!1,date:_});else{var c=s[s.length-1];if(c.rise){var u=c.max+n,g=c.max-r*n;this.roundUp(l,n)>=u?c.max=this.roundUp(l,n):h<=g&&s.push({min:this.roundDown(h,n),max:c.max-n,rise:!1,date:_})}else{u=c.min-n,g=c.min+r*n;this.roundDown(h,n)<=u?c.min=this.roundDown(h,n):l>=g&&s.push({min:c.min+n,max:this.roundUp(l,n),rise:!0,date:_})}}}if(s.length>0){var p=s[0];p.min==p.max&&s.splice(0,1)}return s};_PointAndFigurePlotter.prototype.roundUp=function(t,e){return Math.ceil(t/e-.999999)*e};_PointAndFigurePlotter.prototype.roundDown=function(t,e){return Math.floor(t/e+.999999)*e};_PointAndFigurePlotter.prototype.renderGrid=function(t,e,i){if(this._pfdata){for(var a=this._pfdata.reduce((function(t,e){return Math.max(t,e.max)}),this._pfdata[0].max),n=this._pfdata.reduce((function(t,e){return Math.min(t,e.min)}),this._pfdata[0].min),r=this.chart,s=this._pfdata.length,o=n-.5*i;o<=a+i;o+=i){var l=new wijmo_1.Point(-.5,o);l=r.dataToPoint(l);var h=new wijmo_1.Point(s,o);h=r.dataToPoint(h);t.stroke=wijmo_chart_1.FlexChartCore._FG;t.strokeWidth=1;t.drawLine(l.x,l.y,h.x,h.y,wijmo_chart_1.FlexChartCore._CSS_GRIDLINE)}for(var _=-.5;_<=s;_+=1){l=new wijmo_1.Point(_,this.chart.axisY.actualMin);l=r.dataToPoint(l);h=new wijmo_1.Point(_,this.chart.axisY.actualMax);h=r.dataToPoint(h);t.stroke=wijmo_chart_1.FlexChartCore._FG;t.strokeWidth=1;t.drawLine(l.x,l.y,h.x,h.y,wijmo_chart_1.FlexChartCore._CSS_GRIDLINE)}}};_PointAndFigurePlotter.prototype.renderData=function(t,e,i,a){for(var n=t.series[0],r=n._getSymbolStroke(0),s=n._getAltSymbolStroke(0)||r,o=0;o<i.length;o++){var l=i[o],h=(i[o].max-i[o].min)/a;if(0!=h){var _=new wijmo_1.Point(o-.5,l.min);_=t.dataToPoint(_);var c=new wijmo_1.Point(o+.5,l.max);c=t.dataToPoint(c);e.fill="transparent";for(var u=(c.y-_.y)/h,g=0;g<h+1;g++){e.strokeWidth=1.5;if(l.rise){e.stroke=r;e.drawLine(_.x,_.y+(g-.5)*u,c.x,_.y+(g+.5)*u);e.drawLine(c.x,_.y+(g-.5)*u,_.x,_.y+(g+.5)*u)}else{e.stroke=s;e.drawEllipse(.5*(_.x+c.x),_.y+g*u,.5*Math.abs(_.x-c.x),.5*Math.abs(u))}if(this.hitTester){var p=l.min+g*a,m=new wijmo_chart_1._DataPoint(0,o,l.date,p);m.y=p;m.yfmt=this.chart.axisY._formatValue(p);if(wijmo_1.isDate(l.date)){m.x=l.date;m.xfmt=wijmo_1.Globalize.formatDate(l.date,"d")}var d=new wijmo_1.Rect(Math.min(_.x,c.x),_.y+g*u-.5*u,Math.abs(c.x-_.x),u);if(d.height<0){d.top+=u;d.height=-d.height}var f=new wijmo_chart_1._RectArea(d);f.tag=m;this.hitTester.add(f,0)}}}}};return _PointAndFigurePlotter}(wijmo_chart_1._BasePlotter);exports._PointAndFigurePlotter=_PointAndFigurePlotter;var _KagiPlotter=function(t){__extends(_KagiPlotter,t);function _KagiPlotter(){return t.call(this)||this}_KagiPlotter.prototype._calculate=function(t){this._init();var e=t._getBindingValues(0),i=t._getBindingValues(1),a=t._getBindingValues(2),n=t._getBindingValues(3),r=t.getValues(1)||this.chart._xvals;this._calculator=new _KagiCalculator(e,i,a,n,r,this._reversalAmount,this._rangeMode,this._fields);this._rangeValues=this._calculator.calculate();(null===this._rangeValues||wijmo_1.isUndefined(this._rangeValues))&&(this._rangeValues=[]);this._generateXLabels(t)};_KagiPlotter.prototype.plotSeries=function(t,e,i,a,n,r,s){this._calculate(a);var o=this.chart.series.indexOf(a),l=this._rangeValues.length,h=e.actualMin,_=e.actualMax,c=this._DEFAULT_WIDTH,u=a._getSymbolStroke(o),g=a._getAltSymbolStroke(o)||u,p=[],m=[];t.stroke=u;t.strokeWidth=c;var d,f,w,y,v,C,P,x=0;t.startGroup();for(var k=0;k<l;k++){d=k;if(wijmo_chart_1._DataInfo.isValid(d)&&h<=d&&d<=_){f=this._rangeValues[k].open;w=this._rangeValues[k].close;if(0===k){y=Math.min(f,w);v=Math.max(f,w);t.strokeWidth=f>w?c:2*c;t.stroke=f>w?u:g;t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));t.drawLine(e.convert(d-1)-t.strokeWidth/2,i.convert(f),e.convert(d)+t.strokeWidth/2,i.convert(f))}else if(t.strokeWidth===c)if(w>f){if(w>v){t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(v));t.strokeWidth=2*c;t.stroke=g;t.drawLine(e.convert(d),i.convert(v),e.convert(d),i.convert(w));y=f}else t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));v=w}else t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));else if(t.strokeWidth/2===c)if(w<f){if(w<y){t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(y));t.strokeWidth=c;t.stroke=u;t.drawLine(e.convert(d),i.convert(y),e.convert(d),i.convert(w));v=f}else t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));y=w}else t.drawLine(e.convert(d),i.convert(f),e.convert(d),i.convert(w));k<l-1&&t.drawLine(e.convert(d)-t.strokeWidth/2,i.convert(w),e.convert(d+1)+t.strokeWidth/2,i.convert(w));P=this._getDataPoint(o,k,a,w);(C=new wijmo_chart_1._CircleArea(new wijmo_1.Point(e.convert(d),i.convert(w)),.5*t.strokeWidth)).tag=P;this.hitTester.add(C,o);a._setPointIndex(k,x);x++;p.push(e.convert(d));m.push(i.convert(f));p.push(e.convert(d));m.push(i.convert(w))}}t.endGroup();this.hitTester.add(new wijmo_chart_1._LinesArea(p,m),o)};_KagiPlotter.prototype._init=function(){t.prototype._init.call(this);this._reversalAmount=this.getNumOption("reversalAmount","kagi")||14;this._rangeMode=this.getOption("rangeMode","kagi")||RangeMode.Fixed;this._rangeMode=wijmo_1.asEnum(this._rangeMode,RangeMode,!0);this._fields=this.getOption("fields","kagi")||DataFields.Close;this._fields=wijmo_1.asEnum(this._fields,DataFields,!0)};_KagiPlotter.prototype.clear=function(){t.prototype.clear.call(this);this._reversalAmount=null;this._rangeMode=null};return _KagiPlotter}(_BaseRangePlotter);exports._KagiPlotter=_KagiPlotter;var _RenkoPlotter=function(t){__extends(_RenkoPlotter,t);function _RenkoPlotter(){return t.call(this)||this}_RenkoPlotter.prototype.clear=function(){t.prototype.clear.call(this);this._boxSize=null;this._rangeMode=null};_RenkoPlotter.prototype._calculate=function(t){this._init();var e=t._getBindingValues(0),i=t._getBindingValues(1),a=t._getBindingValues(2),n=t._getBindingValues(3),r=t.getValues(1)||this.chart._xvals;this._calculator=new _RenkoCalculator(e,i,a,n,r,this._boxSize,this._rangeMode,this._fields,this._rounding);this._rangeValues=this._calculator.calculate();(null===this._rangeValues||wijmo_1.isUndefined(this._rangeValues))&&(this._rangeValues=[]);this._generateXLabels(t)};_RenkoPlotter.prototype._init=function(){t.prototype._init.call(this);this._boxSize=this.getNumOption("boxSize","renko")||14;this._rangeMode=this.getOption("rangeMode","renko")||RangeMode.Fixed;this._rangeMode=wijmo_1.asEnum(this._rangeMode,RangeMode,!0);wijmo_1.assert(this._rangeMode!==RangeMode.Percentage,"RangeMode.Percentage is not supported");this._fields=this.getOption("fields","renko")||DataFields.Close;this._fields=wijmo_1.asEnum(this._fields,DataFields,!0);wijmo_1.assert(this._fields!==DataFields.HighLow,"DataFields.HighLow is not supported");this._rounding=wijmo_1.asBoolean(this.getOption("rounding","renko"),!0)};_RenkoPlotter.prototype._generateXLabels=function(e){var i=this;t.prototype._generateXLabels.call(this,e);this._rangeXLabels.forEach((function(t,e){e>0&&i._rangeXLabels[e-1]._text===t.text&&(t.text="")}),this)};return _RenkoPlotter}(_BaseRangePlotter);exports._RenkoPlotter=_RenkoPlotter;var _LineBreakPlotter=function(t){__extends(_LineBreakPlotter,t);function _LineBreakPlotter(){return t.call(this)||this}_LineBreakPlotter.prototype.clear=function(){t.prototype.clear.call(this);this._newLineBreaks=null};_LineBreakPlotter.prototype._calculate=function(t){this._init();var e=t._getBindingValues(3),i=t.getValues(1)||this.chart._xvals;this._calculator=new _LineBreakCalculator(null,null,null,e,i,this._newLineBreaks);this._rangeValues=this._calculator.calculate();(null===this._rangeValues||wijmo_1.isUndefined(this._rangeValues))&&(this._rangeValues=[]);this._generateXLabels(t)};_LineBreakPlotter.prototype._init=function(){t.prototype._init.call(this);this._newLineBreaks=wijmo_1.asInt(this.getNumOption("newLineBreaks","lineBreak"),!0,!0)||3;wijmo_1.assert(this._newLineBreaks>=1,"Value must be greater than 1")};return _LineBreakPlotter}(_BaseRangePlotter);exports._LineBreakPlotter=_LineBreakPlotter;var FinancialChartType,_HeikinAshiPlotter=function(t){__extends(_HeikinAshiPlotter,t);function _HeikinAshiPlotter(){var e=t.call(this)||this;e._symFactor=.7;e.clear();return e}_HeikinAshiPlotter.prototype.clear=function(){t.prototype.clear.call(this);this._haValues=null;this._calculator=null};_HeikinAshiPlotter.prototype.plotSeries=function(t,e,i,a,n,r,s){var o=this;this._calculate(a);var l=wijmo_1.asType(a,wijmo_chart_1.SeriesBase),h=this.chart.series.indexOf(a),_=a.getValues(1),c=this._symFactor,u=this._haValues.length,g=!0;if(_){var p=this.dataInfo.getDeltaX();p>0&&(c*=p)}else _=this.dataInfo.getXVals();if(_)u=Math.min(u,_.length);else{g=!1;_=new Array(u)}var m=this._DEFAULT_WIDTH,d=l._getSymbolFill(h),f=l._getAltSymbolFill(h)||"transparent",w=l._getSymbolStroke(h),y=l._getAltSymbolStroke(h)||w,v=c,C=a.getDataType(1)||a.chart._xDataType;t.strokeWidth=m;for(var P,x,k,F,j,b,A,T,B=e.actualMin,V=e.actualMax,L=0,M=this.getItemFormatter(a),_loop_1=function(n){k=g?_[n]:n;if(wijmo_chart_1._DataInfo.isValid(k)&&B<=k&&k<=V){j=S._haValues[n].high;b=S._haValues[n].low;A=S._haValues[n].open;T=S._haValues[n].close;P=A<T?f:d;x=A<T?y:w;t.fill=P;t.stroke=x;t.startGroup();F=S._getDataPoint(h,n,k,a);if(M){var r=new wijmo_chart_1.HitTestInfo(S.chart,new wijmo_1.Point(e.convert(k),i.convert(j)),wijmo_chart_1.ChartElement.SeriesSymbol);r._setData(l,n);r._setDataPoint(F);M(t,r,(function(){o._drawSymbolWithDpt(t,e,i,h,n,P,v,k,j,b,A,T,F,C,u)}))}else S._drawSymbolWithDpt(t,e,i,h,n,P,v,k,j,b,A,T,F,C,u);t.endGroup();a._setPointIndex(n,L);L++}},S=this,R=0;R<u;R++)_loop_1(R)};_HeikinAshiPlotter.prototype._drawSymbolWithDpt=function(t,e,i,a,n,r,s,o,l,h,_,c,u,g,p){var m,d=null,f=null,w=null,y=null,v=g===wijmo_1.DataType.Date?432e5:.5,C=e.convert(o),P=e._axrect,x=s/2,k=0===n&&C-P.left<=x,F=n===p-1&&P.right-C<=x;if(k){w=o;y=o+s}else if(F){w=o-s;y=o}else{w=o-v*s;y=o+v*s}if((w=e.convert(w))>(y=e.convert(y))){var j=w;w=y;y=j}o=C;if(wijmo_chart_1._DataInfo.isValid(_)&&wijmo_chart_1._DataInfo.isValid(c)){_=i.convert(_);c=i.convert(c);f=(d=Math.min(_,c))+Math.abs(_-c);t.drawRect(w,d,y-w,f-d);(m=new wijmo_chart_1._RectArea(new wijmo_1.Rect(w,d,y-w,f-d))).tag=u;this.hitTester.add(m,a)}if(wijmo_chart_1._DataInfo.isValid(l)){l=i.convert(l);if(null!==d){t.drawLine(o,d,o,l);m.rect.top=l;m.rect.height=m.rect.height+l}}if(wijmo_chart_1._DataInfo.isValid(h)){h=i.convert(h);if(null!==f){t.drawLine(o,f,o,h);m.rect.height=m.rect.height+h}}};_HeikinAshiPlotter.prototype._getDataPoint=function(t,e,i,a){var n=new wijmo_chart_1._DataPoint(t,e,i,this._haValues[e].high),r=a._getItem(e),s=a._getBinding(0),o=a._getBinding(1),l=a._getBinding(2),h=a._getBinding(3),_=a._getAxisY();if(null!=r){n.item=wijmo_chart_1._BasePlotter.cloneStyle(r,[]);n.item[s]=this._haValues[e].high;n.item[o]=this._haValues[e].low;n.item[l]=this._haValues[e].open;n.item[h]=this._haValues[e].close}n.y=this._haValues[e].high;n.yfmt=_._formatValue(this._haValues[e].high);return n};_HeikinAshiPlotter.prototype._calculate=function(t){var e=t._getBindingValues(0),i=t._getBindingValues(1),a=t._getBindingValues(2),n=t._getBindingValues(3);this._calculator=new _HeikinAshiCalculator(e,i,a,n);this._haValues=this._calculator.calculate();(null===this._haValues||wijmo_1.isUndefined(this._haValues))&&this._init()};_HeikinAshiPlotter.prototype._init=function(){this._haValues=[]};return _HeikinAshiPlotter}(wijmo_chart_1._FinancePlotter);exports._HeikinAshiPlotter=_HeikinAshiPlotter;!function(t){t[t.Column=0]="Column";t[t.Scatter=1]="Scatter";t[t.Line=2]="Line";t[t.LineSymbols=3]="LineSymbols";t[t.Area=4]="Area";t[t.Candlestick=5]="Candlestick";t[t.HighLowOpenClose=6]="HighLowOpenClose";t[t.HeikinAshi=7]="HeikinAshi";t[t.LineBreak=8]="LineBreak";t[t.Renko=9]="Renko";t[t.Kagi=10]="Kagi";t[t.ColumnVolume=11]="ColumnVolume";t[t.EquiVolume=12]="EquiVolume";t[t.CandleVolume=13]="CandleVolume";t[t.ArmsCandleVolume=14]="ArmsCandleVolume";t[t.PointAndFigure=15]="PointAndFigure"}(FinancialChartType=exports.FinancialChartType||(exports.FinancialChartType={}));var FinancialChart=function(t){__extends(FinancialChart,t);function FinancialChart(e,i){var a=t.call(this,e,null)||this;a._chartType=FinancialChartType.Line;a.__heikinAshiPlotter=null;a.__lineBreakPlotter=null;a.__renkoPlotter=null;a.__kagiPlotter=null;a.__pfPlotter=null;a.initialize(i);return a}FinancialChart.prototype._getProductInfo=function(){return"A78U,FinancialChart"};Object.defineProperty(FinancialChart.prototype,"chartType",{get:function(){return this._chartType},set:function(t){if((t=wijmo_1.asEnum(t,FinancialChartType))!=this._chartType){this._chartType=t;this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"options",{get:function(){return this._options},set:function(t){if(t!=this._options){this._options=t;this.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_heikinAshiPlotter",{get:function(){if(null===this.__heikinAshiPlotter){this.__heikinAshiPlotter=new _HeikinAshiPlotter;this._initPlotter(this.__heikinAshiPlotter)}return this.__heikinAshiPlotter},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_lineBreakPlotter",{get:function(){if(null===this.__lineBreakPlotter){this.__lineBreakPlotter=new _LineBreakPlotter;this._initPlotter(this.__lineBreakPlotter)}return this.__lineBreakPlotter},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_renkoPlotter",{get:function(){if(null===this.__renkoPlotter){this.__renkoPlotter=new _RenkoPlotter;this._initPlotter(this.__renkoPlotter)}return this.__renkoPlotter},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_kagiPlotter",{get:function(){if(null===this.__kagiPlotter){this.__kagiPlotter=new _KagiPlotter;this._initPlotter(this.__kagiPlotter)}return this.__kagiPlotter},enumerable:!0,configurable:!0});Object.defineProperty(FinancialChart.prototype,"_pfPlotter",{get:function(){if(null===this.__pfPlotter){this.__pfPlotter=new _PointAndFigurePlotter;this._initPlotter(this.__pfPlotter)}return this.__pfPlotter},enumerable:!0,configurable:!0});FinancialChart.prototype._getChartType=function(){var t=null;switch(this.chartType){case FinancialChartType.Area:t=wijmo_chart_1.ChartType.Area;break;case FinancialChartType.Line:case FinancialChartType.Kagi:case FinancialChartType.PointAndFigure:t=wijmo_chart_1.ChartType.Line;break;case FinancialChartType.Column:case FinancialChartType.ColumnVolume:t=wijmo_chart_1.ChartType.Column;break;case FinancialChartType.LineSymbols:t=wijmo_chart_1.ChartType.LineSymbols;break;case FinancialChartType.Scatter:t=wijmo_chart_1.ChartType.Scatter;break;case FinancialChartType.Candlestick:case FinancialChartType.Renko:case FinancialChartType.HeikinAshi:case FinancialChartType.LineBreak:case FinancialChartType.EquiVolume:case FinancialChartType.CandleVolume:case FinancialChartType.ArmsCandleVolume:t=wijmo_chart_1.ChartType.Candlestick;break;case FinancialChartType.HighLowOpenClose:t=wijmo_chart_1.ChartType.HighLowOpenClose}return t};FinancialChart.prototype._getPlotter=function(e){var i=this.chartType,a=null;if(e){var n=e.chartType;if(n&&!wijmo_1.isUndefined(n)&&n!=i){i=n;!0}}switch(i){case FinancialChartType.HeikinAshi:a=this._heikinAshiPlotter;break;case FinancialChartType.LineBreak:a=this._lineBreakPlotter;break;case FinancialChartType.Renko:a=this._renkoPlotter;break;case FinancialChartType.Kagi:a=this._kagiPlotter;break;case FinancialChartType.ColumnVolume:(a=t.prototype._getPlotter.call(this,e)).isVolume=!0;a.width=1;break;case FinancialChartType.EquiVolume:(a=t.prototype._getPlotter.call(this,e)).isEqui=!0;a.isCandle=!1;a.isArms=!1;a.isVolume=!0;a.symbolWidth="100%";break;case FinancialChartType.CandleVolume:(a=t.prototype._getPlotter.call(this,e)).isEqui=!1;a.isCandle=!0;a.isArms=!1;a.isVolume=!0;a.symbolWidth="100%";break;case FinancialChartType.ArmsCandleVolume:(a=t.prototype._getPlotter.call(this,e)).isEqui=!1;a.isCandle=!1;a.isArms=!0;a.isVolume=!0;a.symbolWidth="100%";break;case FinancialChartType.PointAndFigure:a=this._pfPlotter;break;default:a=t.prototype._getPlotter.call(this,e)}return a};FinancialChart.prototype._createSeries=function(){return new FinancialSeries};return FinancialChart}(wijmo_chart_1.FlexChartCore);exports.FinancialChart=FinancialChart;wijmo_1._registerModule("wijmo.chart.finance",selfModule);
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20261.45-nightly.d20260106.t035854
3
+ * Wijmo Library 5.20261.45-nightly.d20260106.t072437
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.