wijmo 5.20261.45-nightly.d20260106.t035854 → 5.20261.45-nightly.d20260107.t034814

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.d20260107.t034814
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(e,t){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};return function(e,t){extendStatics(e,t);function __(){this.constructor=e}e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}}(),__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);t.default=e;return t};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.analytics")),Waterfall=function(e){__extends(Waterfall,e);function Waterfall(t){var r=e.call(this)||this;r._startLabel="Start";r._relativeData=!0;r._connectorLines=!1;r._showTotal=!1;r._totalLabel="Total";r._getXValues=!1;r._showIntermediateTotal=!1;r._intermediateTotalPos=[];r._chartType=wijmo_chart_1.ChartType.Bar;r.tooltipContent="<b>{seriesName}</b><br/>{x} {value}";r.rendering.addHandler(r._rendering,r);r.initialize(t);return r}Object.defineProperty(Waterfall.prototype,"relativeData",{get:function(){return this._relativeData},set:function(e){if(e!=this._relativeData){this._relativeData=wijmo_1.asBoolean(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"start",{get:function(){return this._start},set:function(e){if(e!=this._start){this._start=wijmo_1.asNumber(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"startLabel",{get:function(){return this._startLabel},set:function(e){if(e!=this._startLabel){this._startLabel=wijmo_1.asString(e,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"showTotal",{get:function(){return this._showTotal},set:function(e){if(e!=this._showTotal){this._showTotal=wijmo_1.asBoolean(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"totalLabel",{get:function(){return this._totalLabel},set:function(e){if(e!=this._totalLabel){this._totalLabel=wijmo_1.asString(e,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"showIntermediateTotal",{get:function(){return this._showIntermediateTotal},set:function(e){if(e!=this._showIntermediateTotal){this._showIntermediateTotal=wijmo_1.asBoolean(e,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"intermediateTotalPositions",{get:function(){return this._intermediateTotalPositions},set:function(e){if(e!=this._intermediateTotalPositions){this._intermediateTotalPositions=wijmo_1.asArray(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"intermediateTotalLabels",{get:function(){return this._intermediateTotalLabels},set:function(e){if(e!=this._intermediateTotalLabels){wijmo_1.assert(null==e||wijmo_1.isArray(e)||wijmo_1.isString(e),"Array or string expected.");this._intermediateTotalLabels=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"connectorLines",{get:function(){return this._connectorLines},set:function(e){if(e!=this._connectorLines){this._connectorLines=wijmo_1.asBoolean(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"styles",{get:function(){return this._styles},set:function(e){if(e!=this._styles){this._styles=e;this._invalidate()}},enumerable:!0,configurable:!0});Waterfall.prototype.getValues=function(t){var r,i,n,a,o,s=this,l=[],u=0;r=e.prototype.getValues.call(this,t);if(0===t){if(!this._yValues){var h=null!=this.start?this.start:0,c=0;l=[];o=r&&r.length||0;if(this.relativeData){for(;c<o;c++){h+=isNaN(r[c])?0:r[c];l.push(h)}this._yValues=l}else{for(;c<o;c++){h=isNaN(r[c])?0:r[c];l.push(h)}this._yValues=l}if((i=this._yValues)&&i.length>0){if(this.showIntermediateTotal&&this.intermediateTotalPositions&&this.intermediateTotalPositions.length>0){this._intermediateTotalPos=i.slice();this.intermediateTotalPositions.reduceRight((function(e,t){var r=0===t?i[0]:i[t-1];if(i.length>t){i.splice(t,0,r);s._intermediateTotalPos.splice(t,0,!0)}else if(i.length===t){i.push(r);s._intermediateTotalPos.push(!0)}return 0}),0)}if(null!=this.start){i.splice(0,0,this.start);this._intermediateTotalPos.splice(0,0,!1)}this.showTotal&&i&&i.push(i[i.length-1])}}return this._yValues}if(!this._xValues&&this._getXValues){this._xValues=r&&r.slice();this._getXValues=!1;if(this._xValues&&this._xValues.length>1){o=this._xValues.length;a=this._xValues[o-1];u=Math.abs(this._xValues[o-1]-this._xValues[o-2])}if(this.chart&&this.chart._xlabels&&this.chart._xlabels.length){n=this.chart._xlabels;if(this.showIntermediateTotal&&this.intermediateTotalPositions&&this.intermediateTotalPositions.length>0){var f=this.intermediateTotalLabels;f&&this.intermediateTotalPositions.reduceRight((function(e,t,r){var i="";i=wijmo_1.isString(f)?f:f[r]||"";n.length>t?n.splice(t,0,i):n.length===t&&n.push(i);if(u){a+=u;s._xValues.push(a)}return 0}),0)}if(null!=this.start){n.splice(0,0,this.startLabel);if(u){a+=u;this._xValues.push(a)}}if(this.showTotal){n.push(this.totalLabel);if(u){a+=u;this._xValues.push(a)}}}}return this._xValues};Waterfall.prototype.legendItemLength=function(){return this.showTotal?3:2};Waterfall.prototype.measureLegendItem=function(e,t){var r=this._getName(t);return r?this._measureLegendItem(e,r):new wijmo_1.Size(0,0)};Waterfall.prototype.drawLegendItem=function(e,t,r){var i=this._getLegendStyles(r);this._getName(r)&&this._drawLegendItem(e,t,wijmo_chart_1.ChartType.Bar,this._getName(r),i,this.symbolStyle)};Waterfall.prototype._clearValues=function(){e.prototype._clearValues.call(this);this._xValues=null;this._yValues=null;this._wfstyle=null;this._getXValues=!0;this._intermediateTotalPos=[];this.chart&&this.chart._performBind()};Waterfall.prototype._invalidate=function(){e.prototype._invalidate.call(this);this._clearValues()};Waterfall.prototype._getXOffset=function(){return null!=this.start?1:0};Waterfall.prototype._getYOffset=function(e){return this.getValues(0)[e+this._getXOffset()]};Waterfall.prototype._getValue=function(e){var t=e;if(null!=this.start){if(0==e)return this.start;e--}return this.showIntermediateTotal&&this.intermediateTotalPositions&&this._intermediateTotalPos[t],this.getValues(0)[t]};Waterfall.prototype._getItem=function(t){var r=null;null!=this.start&&(0==t?(r={})[this.binding]=this.start:t--);if(this.showIntermediateTotal&&this.intermediateTotalPositions){var i=this._intermediateTotalPos;if(!0===i[t]){(r={})[this.binding]=this.getValues(0)[t];return r}for(var n=t,a=0;a<t;a++)!0===i[a]&&n--;t=n}r||!(r=e.prototype._getItem.call(this,t))&&this.showTotal&&this._yValues&&this._yValues.length>0&&((r={})[this.binding]=this._yValues[this._yValues.length-1]);return r};Waterfall.prototype._rendering=function(e,t){var r=this;t.cancel=!0;this._wfstyle=null;var i,n,a,o,s,l,u=this.chart,h=this._getAxisY(),c=this._getAxisX(),f=h.origin||0,p=t.engine;this._barPlotter=u._getPlotter(this);a=this._barPlotter.rotated;this._barPlotter._getSymbolOrigin||(this._barPlotter._getSymbolOrigin=function(e,t,i){return 0===t||!0===r._intermediateTotalPos[t]||t===i-1&&r.showTotal?e:r._yValues[t-1]});this._barPlotter._getSymbolStyles||(this._barPlotter._getSymbolStyles=function(e,t){var i=r._getStyles();return 0===e&&null!=r.start?i.start:!0===r._intermediateTotalPos[e]?i.intermediateTotal:e===t-1&&r.showTotal?i.total:0==e?r._yValues[e]<0?i.falling:i.rising:r._yValues[e]<r._yValues[e-1]?i.falling:i.rising});this._barPlotter.plotSeries(p,c,h,e,u,0,1);if(this.connectorLines&&(o=this._barPlotter.hitTester._map[0])&&o.length){p.startGroup(Waterfall.CSS_CONNECTOR_LINE_GROUP);l=this._yValues[0]<f;s=o[0].rect;for(i=1,n=o.length;i<n;i++)if(!0!==this._intermediateTotalPos[i]||i===n-1){this._drawConnectorLine(p,a,s,o[i].rect,l);s=o[i].rect;l=this._yValues[i]<this._yValues[i-1]}p.endGroup()}};Waterfall.prototype._getStyles=function(){if(this._wfstyle)return this._wfstyle;var e=this._chart.series.indexOf(this),t=this._getSymbolFill(e),r=this._getSymbolStroke(e),i=this.styles||{};this._wfstyle={start:this._getStyleByKey(i,"start",t,r),intermediateTotal:this._getStyleByKey(i,"intermediateTotal",t,r),total:this._getStyleByKey(i,"total",t,r),falling:this._getStyleByKey(i,"falling","red","red"),rising:this._getStyleByKey(i,"rising","green","green")};return this._wfstyle};Waterfall.prototype._getStyleByKey=function(e,t,r,i){return{fill:e[t]&&e[t].fill?e[t].fill:r,stroke:e[t]&&e[t].stroke?e[t].stroke:i}};Waterfall.prototype._drawConnectorLine=function(e,t,r,i,n){var a=new wijmo_1.Point,o=new wijmo_1.Point,s=this.chart.axisY.reversed,l=this.chart.axisX.reversed;s^=n;if(t){if(s){a.x=r.left;o.x=r.left}else{a.x=r.left+r.width;o.x=r.left+r.width}if(l){a.y=r.top;o.y=i.top+i.height}else{a.y=r.top+r.height;o.y=i.top}}else{if(s){a.y=r.top+r.height;o.y=r.top+r.height}else{a.y=r.top;o.y=r.top}if(l){a.x=r.left+r.width;o.x=i.left}else{a.x=r.left;o.x=i.left+i.width}}e.drawLine(a.x,a.y,o.x,o.y,Waterfall.CSS_CONNECTOR_LINE,this.styles&&this.styles.connectorLines||{stroke:"black"})};Waterfall.prototype._getLegendStyles=function(e){if(e<0||null===this.styles)return null;var t=this._getStyles();return 0===e?t.rising:1===e?t.falling:t.total};Waterfall.prototype._getName=function(e){var t;if(this.name)if(this.name.indexOf(",")){var r=this.name.split(",");r&&r.length-1>=e&&(t=r[e].trim())}else t=this.name;return t};Waterfall.CSS_CONNECTOR_LINE_GROUP="water-fall-connector-lines";Waterfall.CSS_CONNECTOR_LINE="water-fall-connector-line";Waterfall.CSS_ENDLABEL="water-fall-end-label";return Waterfall}(wijmo_chart_1.SeriesBase);exports.Waterfall=Waterfall;var MovingAverageType,TrendLineBase=function(e){__extends(TrendLineBase,e);function TrendLineBase(t){var r=e.call(this)||this;r._chartType=wijmo_chart_1.ChartType.Line;r._sampleCount=100;r.initialize(t);return r}Object.defineProperty(TrendLineBase.prototype,"sampleCount",{get:function(){return this._sampleCount},set:function(e){if((e=wijmo_1.asNumber(e,!1,!0))!=this._sampleCount){this._sampleCount=e;this._invalidate()}},enumerable:!0,configurable:!0});TrendLineBase.prototype.approximate=function(e){return 0};TrendLineBase.prototype.getValues=function(t){var r=this.binding,i=this.bindingX;if(r!==this._bind){this._bind=r;this.binding=r}if(i!==this._bindX){this._bindX=i;this.bindingX=i}null==this._originYValues&&(this._originYValues=e.prototype.getValues.call(this,0));null==this._originXValues&&(this._originXValues=e.prototype.getValues.call(this,1));if(null==this._originXValues||null==this._originYValues)return null;e.prototype.getValues.call(this,t);null!=this._xValues&&null!=this._yValues||this._calculateValues();return 0===t?this._yValues||null:1===t?this._xValues||null:void 0};TrendLineBase.prototype._calculateValues=function(){};TrendLineBase.prototype._invalidate=function(){e.prototype._invalidate.call(this);this._clearCalculatedValues()};TrendLineBase.prototype._clearValues=function(){e.prototype._clearValues.call(this);this._originXValues=null;this._originYValues=null;this._clearCalculatedValues()};TrendLineBase.prototype._clearCalculatedValues=function(){this._xValues=null;this._yValues=null};return TrendLineBase}(wijmo_chart_1.SeriesBase);exports.TrendLineBase=TrendLineBase;!function(e){e[e.Simple=0]="Simple";e[e.Weighted=1]="Weighted";e[e.Exponential=2]="Exponential";e[e.Triangular=3]="Triangular"}(MovingAverageType=exports.MovingAverageType||(exports.MovingAverageType={}));var MovingAverage=function(e){__extends(MovingAverage,e);function MovingAverage(t){var r=e.call(this)||this;r._chartType=wijmo_chart_1.ChartType.Line;r._type=MovingAverageType.Simple;r._period=2;r.initialize(t);return r}Object.defineProperty(MovingAverage.prototype,"type",{get:function(){return this._type},set:function(e){if((e=wijmo_1.asEnum(e,MovingAverageType,!1))!=this._type){this._type=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(MovingAverage.prototype,"period",{get:function(){return this._period},set:function(e){var t=wijmo_1.asNumber(e,!1,!0);if(t!=this._period){this._period=wijmo_1.asNumber(t,!1,!0);this._invalidate()}},enumerable:!0,configurable:!0});MovingAverage.prototype._checkPeriod=function(){var e=this.period,t=this._originXValues;e<=1&&wijmo_1.assert(!1,"period must be greater than 1.");t&&t.length&&e>=t.length&&wijmo_1.assert(!1,"period must be less than itemSource's length.")};MovingAverage.prototype._calculateValues=function(){this._type;var e="_calculate"+MovingAverageType[this._type],t=[],r=[];this._checkPeriod();this[e]&&this[e].call(this,t,r);this._yValues=r;this._xValues=t};MovingAverage.prototype._calculateSimple=function(e,t,r){void 0===r&&(r=!1);for(var i=this._originXValues,n=this._originYValues,a=i.length,o=this._period,s=0,l=0;l<a;l++){s+=n[l]||0;l>=o&&(s-=n[l-o]||0);if(l>=o-1){e.push(i[l]);t.push(s/o)}else if(r){e.push(i[l]);t.push(s/(l+1))}}};MovingAverage.prototype._calculateWeighted=function(e,t){for(var r=this._originXValues,i=this._originYValues,n=r.length,a=this._period,o=a*(a+1)/2,s=0,l=0,u=0;u<n;u++){u>0&&(s+=i[u-1]||0);u>a&&(s-=i[u-a-1]||0);if(u<a-1)l+=(i[u]||0)*(u+1);else{l+=(i[u]||0)*a;u>a-1&&(l-=s);e.push(r[u]);t.push(l/o)}}};MovingAverage.prototype._calculateExponential=function(e,t){for(var r=this._originXValues,i=this._originYValues,n=r.length,a=this._period,o=0,s=0;s<n;s++)if(s<=a-2){o+=i[s]||0;s===a-2&&(o/=a-1)}else{o+=2/(a+1)*((i[s]||0)-o);e.push(r[s]);t.push(o)}};MovingAverage.prototype._calculateTriangular=function(e,t){var r=this._period,i=[],n=[],a=0;this._calculateSimple(i,n,!0);for(var o=0,s=i.length;o<s;o++){a+=n[o]||0;o>=r&&(a-=n[o-r]||0);if(o>=r-1){e.push(i[o]);t.push(a/r)}}};return MovingAverage}(TrendLineBase);exports.MovingAverage=MovingAverage;var TrendLineFitType,MathHelper=function(){function MathHelper(){}MathHelper.round=function(e,t){if(!e)return 0;var r=Math.pow(10,t||2);return Math.round(e*r)/r};MathHelper.avg=function(e){return MathHelper.sum(e)/e.length};MathHelper.sum=function(e){return(e=wijmo_1.asArray(e,!1)).reduce((function(e,t){return e+t}),0)};MathHelper.sumOfPow=function(e,t){e=wijmo_1.asArray(e,!1);t=wijmo_1.asNumber(t,!1);return e.reduce((function(e,r){return e+Math.pow(r,t)}),0)};MathHelper.sumProduct=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];e.length;var r,i,n=0,a=[];(e=wijmo_1.asArray(e,!1)).forEach((function(e,t){e=wijmo_1.asArray(e,!1);0===t?n=e.length:wijmo_1.assert(e.length===n,"The length of the arrays must be equal")}));for(r=0;r<n;r++){i=1;e.some((function(e,t){var n=e[r];if(n&&wijmo_1.isNumber(n)){i*=n;return!1}i=0;return!0}));a.push(i)}return MathHelper.sum(a)};MathHelper.variance=function(e){e=wijmo_1.asArray(e,!1);var t,r=MathHelper.avg(e);t=e.map((function(e){return e-r}));return MathHelper.sumOfSquares(t)/(e.length-1)};MathHelper.covariance=function(e,t){e=wijmo_1.asArray(e,!1);t=wijmo_1.asArray(t,!1);wijmo_1.assert(e.length===t.length,"Length of arrays must be equal");var r,i=MathHelper.avg(e),n=MathHelper.avg(t),a=e.length,o=0;for(r=0;r<a;r++)o+=(e[r]-i)*(t[r]-n)/a;return o};MathHelper.min=function(e){return Math.min.apply(Math,wijmo_1.asArray(e,!1))};MathHelper.max=function(e){return Math.max.apply(Math,wijmo_1.asArray(e,!1))};MathHelper.square=function(e){return Math.pow(wijmo_1.asNumber(e,!1),2)};MathHelper.sumOfSquares=function(e){return MathHelper.sumOfPow(e,2)};MathHelper.stdDev=function(e){return Math.sqrt(MathHelper.variance(e))};return MathHelper}();!function(e){e[e.Linear=0]="Linear";e[e.Exponential=1]="Exponential";e[e.Logarithmic=2]="Logarithmic";e[e.Power=3]="Power";e[e.Fourier=4]="Fourier";e[e.Polynomial=5]="Polynomial";e[e.MinX=6]="MinX";e[e.MinY=7]="MinY";e[e.MaxX=8]="MaxX";e[e.MaxY=9]="MaxY";e[e.AverageX=10]="AverageX";e[e.AverageY=11]="AverageY"}(TrendLineFitType=exports.TrendLineFitType||(exports.TrendLineFitType={}));var TrendLine=function(e){__extends(TrendLine,e);function TrendLine(t){var r=e.call(this)||this;r._minX=null;r._maxX=null;r._fitType=TrendLineFitType.Linear;r._order=2;r.initialize(t);return r}Object.defineProperty(TrendLine.prototype,"fitType",{get:function(){return this._fitType},set:function(e){if((e=wijmo_1.asEnum(e,TrendLineFitType,!1))!=this._fitType){this._fitType=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(TrendLine.prototype,"order",{get:function(){return this._order},set:function(e){if(e!=this._order){this._order=wijmo_1.asNumber(e,!1,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(TrendLine.prototype,"minX",{get:function(){return this._minX},set:function(e){if(e!=this._minX){this._minX=wijmo_1.asNumber(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(TrendLine.prototype,"maxX",{get:function(){return this._maxX},set:function(e){if(e!=this._maxX){this._maxX=wijmo_1.asNumber(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(TrendLine.prototype,"coefficients",{get:function(){return this._helper?this._helper.coefficients:null},enumerable:!0,configurable:!0});TrendLine.prototype.approximate=function(e){return this._helper?this._helper.approximate(e):NaN};TrendLine.prototype.getEquation=function(e){return(this._helper?this._helper.getEquation(e):"").replace(/\S(\+|-)\d/g,(function(e){return e[0]+" "+e[1]+" "+e[2]}))};TrendLine.prototype._calculateValues=function(){var e=TrendLineFitType[this._fitType];if(TrendLineHelper[e]){var t=!1,r=this._originXValues;if(0==this._chart._xvals.length&&this._chart._xlabels.length>0){r=this._originXValues.map((function(e){return e+1}));t=!0}var i=new TrendLineHelper[e](this._originYValues,r,this.sampleCount,this.order);null!==this.minX&&(i.xMin=this.minX);null!==this.maxX&&(i.xMax=this.maxX);i._isXString=t;var n=i.calculateValues();this._yValues=n[0];this._xValues=n[1];this._helper=i}};return TrendLine}(TrendLineBase);exports.TrendLine=TrendLine;var Calculator=function(){function Calculator(e,t){this._x=e;this._y=t}Object.defineProperty(Calculator.prototype,"x",{get:function(){return this._x},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"y",{get:function(){return this._y},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"minX",{get:function(){null==this._minX&&(this._minX=MathHelper.min(this._x));return this._minX},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"minY",{get:function(){null==this._minY&&(this._minY=MathHelper.min(this._y));return this._minY},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"maxX",{get:function(){null==this._maxX&&(this._maxX=MathHelper.max(this._x));return this._maxX},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"maxY",{get:function(){null==this._maxY&&(this._maxY=MathHelper.max(this._y));return this._maxY},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"averageX",{get:function(){null==this._averageX&&(this._averageX=MathHelper.avg(this._x));return this._averageX},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"averageY",{get:function(){null==this._averageY&&(this._averageY=MathHelper.avg(this._y));return this._averageY},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"sumX",{get:function(){null==this._sumX&&(this._sumX=MathHelper.sum(this._x));return this._sumX},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"sumY",{get:function(){null==this._sumY&&(this._sumY=MathHelper.sum(this._y));return this._sumY},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"LogX",{get:function(){null==this._logX&&(this._logX=this._x.map((function(e){return Math.log(e)})));return this._logX},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"LogY",{get:function(){null==this._logY&&(this._logY=this._y.map((function(e){return Math.log(e)})));return this._logY},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"sumLogX",{get:function(){null==this._sumLogX&&(this._sumLogX=MathHelper.sum(this.LogX));return this._sumLogX},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"sumLogY",{get:function(){null==this._sumLogY&&(this._sumLogY=MathHelper.sum(this.LogY));return this._sumLogY},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"sumOfSquareX",{get:function(){null==this._sumOfSquareX&&(this._sumOfSquareX=MathHelper.sumOfSquares(this._x));return this._sumOfSquareX},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"sumOfSquareY",{get:function(){null==this._sumOfSquareY&&(this._sumOfSquareY=MathHelper.sumOfSquares(this._y));return this._sumOfSquareY},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"sumOfSquareLogX",{get:function(){null==this._sumOfSquareLogX&&(this._sumOfSquareLogX=MathHelper.sumOfSquares(this.LogX));return this._sumOfSquareLogX},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"sumOfSquareLogY",{get:function(){null==this._sumOfSquareLogY&&(this._sumOfSquareLogY=MathHelper.sumOfSquares(this.LogY));return this._sumOfSquareLogY},enumerable:!0,configurable:!0});Calculator.prototype.sumProduct=function(e,t){null==this._sumProduct&&(this._sumProduct=MathHelper.sumProduct(e,t));return this._sumProduct};return Calculator}(),TrendHelperBase=function(){function TrendHelperBase(e,t,r){this._coefficients=[];this.y=wijmo_1.asArray(e);this.x=wijmo_1.asArray(t);wijmo_1.assert(e.length===t.length,"Length of X and Y arrays are not equal");this.count=r||e.length;this._calculator=new Calculator(t,e);this.xMin=this._calculator.minX;this.xMax=this._calculator.maxX}Object.defineProperty(TrendHelperBase.prototype,"calculator",{get:function(){return this._calculator},enumerable:!0,configurable:!0});Object.defineProperty(TrendHelperBase.prototype,"y",{get:function(){return this._y},set:function(e){e!==this.y&&(this._y=wijmo_1.asArray(e,!1))},enumerable:!0,configurable:!0});Object.defineProperty(TrendHelperBase.prototype,"x",{get:function(){return this._x},set:function(e){e!==this.x&&(this._x=wijmo_1.asArray(e,!1))},enumerable:!0,configurable:!0});Object.defineProperty(TrendHelperBase.prototype,"count",{get:function(){return this._count},set:function(e){e!==this.count&&(this._count=wijmo_1.asInt(e,!1,!0))},enumerable:!0,configurable:!0});Object.defineProperty(TrendHelperBase.prototype,"xMin",{get:function(){return this._xMin},set:function(e){e!==this.xMin&&(this._xMin=wijmo_1.asNumber(e,!1))},enumerable:!0,configurable:!0});Object.defineProperty(TrendHelperBase.prototype,"xMax",{get:function(){return this._xMax},set:function(e){e!==this.xMax&&(this._xMax=wijmo_1.asNumber(e,!1))},enumerable:!0,configurable:!0});Object.defineProperty(TrendHelperBase.prototype,"coefficients",{get:function(){return this._coefficients},enumerable:!0,configurable:!0});TrendHelperBase.prototype._calculateCoefficients=function(){var e=this.calcB(),t=this.calcA(e);this._coefficients.push(t,e)};TrendHelperBase.prototype.calculateValues=function(){for(var e=(this.xMax-this.xMin)/(this.count-1),t=[[],[]],r=0;r<this.count;r++){var i=this.xMin+e*r,n=this.calcY(i);t[0].push(n);this._isXString?t[1].push(i-1):t[1].push(i)}return t};TrendHelperBase.prototype.calcA=function(e){var t=this.y.length,r=this.calculator.sumX;return(this.calculator.sumY-(e||this.calcB())*r)/t};TrendHelperBase.prototype.calcB=function(){var e=this.y.length,t=this.calculator,r=t.sumProduct(t.x,t.y),i=t.sumX;return(e*r-i*t.sumY)/(e*t.sumOfSquareX-MathHelper.square(i))};TrendHelperBase.prototype.calcY=function(e){var t=this.coefficients;return t[0]+t[1]*e};TrendHelperBase.prototype.approximate=function(e){return this.calcY(e)};TrendHelperBase.prototype.getEquation=function(e){var t=e||this._defaultEquationFmt;return this._getEquation(t)};TrendHelperBase.prototype._getEquation=function(e){var t=this.coefficients,r=[];t.forEach((function(t){r.push(e(t))}));return this._concatEquation(r)};TrendHelperBase.prototype._concatEquation=function(e){return""};TrendHelperBase.prototype._defaultEquationFmt=function(e){var t,r=Math.abs(e),i=String(r),n=0;if(r>=1e5){t=String(Math.round(r)).length-1;return Math.round(e/Number("1e"+t))+"e"+t}if(r<1e-4){t=i.indexOf("e")>-1?Math.abs(+i.substring(i.indexOf("e")+1)):i.match(/\.0+/)[0].length;return Math.round(e*Number("1e"+t))+"e-"+t}n=e>0?6:7;r>=1e4&&n--;return String(+String(e).substring(0,n))};return TrendHelperBase}(),LinearHelper=function(e){__extends(LinearHelper,e);function LinearHelper(t,r,i,n){var a=e.call(this,t,r,i)||this;a._calculateCoefficients();a.yOffset=n;return a}Object.defineProperty(LinearHelper.prototype,"yOffset",{get:function(){return this._yOffset},set:function(e){e!==this.yOffset&&(this._yOffset=wijmo_1.asNumber(e,!0))},enumerable:!0,configurable:!0});LinearHelper.prototype.calcA=function(t){return null!=this.yOffset?this.yOffset:e.prototype.calcA.call(this,t)};LinearHelper.prototype.calcB=function(){return null!=this.yOffset?this._calculateBSimple():e.prototype.calcB.call(this)};LinearHelper.prototype._calculateBSimple=function(){var e=this.calculator,t=e.sumProduct(e.x,e.y),r=e.sumX,i=e.sumOfSquareX;return(t-this.yOffset*r)/i};LinearHelper.prototype._calculateCoefficients=function(){var e=this.calcB(),t=this.calcA(e);this.coefficients.push(e,t)};LinearHelper.prototype.calcY=function(e){var t=this.coefficients;return t[0]*e+t[1]};LinearHelper.prototype._concatEquation=function(e){return"y = "+e[0]+"x"+(this.coefficients[1]>=0?"+":"")+e[1]};return LinearHelper}(TrendHelperBase),LogHelper=function(e){__extends(LogHelper,e);function LogHelper(t,r,i){var n=e.call(this,t,r,i)||this;n._calculateCoefficients();return n}LogHelper.prototype.calcA=function(e){var t=this.y.length,r=this.calculator,i=r.sumY,n=r.sumLogX;return(i-(e||this.calcB())*n)/t};LogHelper.prototype.calcB=function(){var e=this.y.length,t=this.calculator,r=t.sumProduct(t.y,t.LogX),i=t.sumY,n=t.sumLogX;return(e*r-i*n)/(e*t.sumOfSquareLogX-MathHelper.square(n))};LogHelper.prototype._calculateCoefficients=function(){var e=this.calcB(),t=this.calcA(e);this.coefficients.push(e,t)};LogHelper.prototype.calcY=function(e){var t=this.coefficients;return Math.log(e)*t[0]+t[1]};LogHelper.prototype._concatEquation=function(e){return"y = "+e[0]+"ln(x)"+(this.coefficients[1]>=0?"+":"")+e[1]};return LogHelper}(TrendHelperBase),ExpHelper=function(e){__extends(ExpHelper,e);function ExpHelper(t,r,i){var n=e.call(this,t,r,i)||this;n._calculateCoefficients();return n}ExpHelper.prototype.calcA=function(){var e=this.y.length,t=this.calculator,r=t.sumLogY,i=t.sumOfSquareX,n=t.sumX,a=t.sumProduct(t.x,t.LogY);return Math.exp((r*i-n*a)/(e*i-MathHelper.square(n)))};ExpHelper.prototype.calcB=function(){var e=this.y.length,t=this.calculator,r=t.sumLogY,i=t.sumOfSquareX,n=t.sumX;return(e*t.sumProduct(t.x,t.LogY)-n*r)/(e*i-MathHelper.square(n))};ExpHelper.prototype.calcY=function(e){var t=this.coefficients;return t[0]*Math.exp(t[1]*e)};ExpHelper.prototype._concatEquation=function(e){return"y = "+e[0]+"e<sup>"+e[1]+"x</sup>"};return ExpHelper}(TrendHelperBase),PowerHelper=function(e){__extends(PowerHelper,e);function PowerHelper(t,r,i){var n=e.call(this,t,r,i)||this;n._calculateCoefficients();return n}PowerHelper.prototype.calcA=function(e){var t=this.calculator,r=this.y.length,i=t.sumLogX,n=t.sumLogY,a=e||this.calcB();return Math.exp((n-a*i)/r)};PowerHelper.prototype.calcB=function(){var e=this.y.length,t=this.calculator,r=t.sumProduct(t.LogX,t.LogY),i=t.sumLogX;return(e*r-i*t.sumLogY)/(e*t.sumOfSquareLogX-MathHelper.square(i))};PowerHelper.prototype.calcY=function(e){var t=this.coefficients;return t[0]*Math.pow(e,t[1])};PowerHelper.prototype._concatEquation=function(e){return"y = "+e[0]+"x<sup>"+e[1]+"</sup>"};return PowerHelper}(TrendHelperBase),LeastSquaresHelper=function(e){__extends(LeastSquaresHelper,e);function LeastSquaresHelper(t,r,i,n){var a=e.call(this,t,r,i)||this;a._order=null==n?2:n;a._basis=[];a._calculateCoefficients();return a}Object.defineProperty(LeastSquaresHelper.prototype,"basis",{get:function(){return this._basis},enumerable:!0,configurable:!0});Object.defineProperty(LeastSquaresHelper.prototype,"order",{get:function(){return this._order},set:function(e){this._order=wijmo_1.asNumber(e,!0)},enumerable:!0,configurable:!0});LeastSquaresHelper.prototype._calculateCoefficients=function(){this._coefficients.length=this.order;this._createBasis();this._normalizeAndSolveGauss()};LeastSquaresHelper.prototype._createBasis=function(){var e=this.x.length,t=this.order;if(e<2)throw"Incompatible data: Less than 2 data points.";if(t<1)throw"Incompatible data: Less than 1 coefficient in the fit";if(t>e)throw"Incompatible data: Number of data points less than number of terms"};LeastSquaresHelper.prototype._normalizeAndSolveGauss=function(){var e=[];this._computeNormalEquations(e);this._genDefValForArray(e,0);if(!this._solveGauss(e))throw"Incompatible data: No solution."};LeastSquaresHelper.prototype._genDefValForArray=function(e,t){var r=e.length+1;e.forEach((function(e){for(var i=0;i<r;i++)null==e[i]&&(e[i]=t)}))};LeastSquaresHelper.prototype._computeNormalEquations=function(e){var t,r,i,n,a=this.y,o=this.basis,s=this.order,l=a.length;for(t=0;t<s;t++){i=0;null==e[t]&&(e[t]=[]);a.forEach((function(e,r){i+=e*o[r][t]}));e[t][s]=i;for(r=t;r<s;r++){i=0;for(n=0;n<l;n++)i+=o[n][r]*o[n][t];null==e[r]&&(e[r]=[]);e[r][t]=i;e[t][r]=i}}};LeastSquaresHelper.prototype._solveGauss=function(e){var t,r,i=e.length,n=this._coefficients,a=!0;if(n.length<i||e[0].length<i+1)throw"Dimension of matrix is not correct.";e.some((function(t,n){var o,s,l=n,u=Math.abs(t[n]);for(r=n+1;r<i;r++)if(u<(o=Math.abs(e[r][n]))){u=o;l=r}if(u>0){for(r=n;r<=i;r++){s=e[n][r];e[n][r]=e[l][r];e[l][r]=s}for(l=n+1;l<i;l++){s=e[l][n]/t[n];e[l][n]=0;for(r=n+1;r<=i;r++)e[l][r]-=s*t[r]}return!1}a=!1;return!0}));if(a)for(t=i-1;t>=0;t--){n[t]=e[t][i];for(r=t+1;r<i;r++)n[t]-=e[t][r]*n[r];n[t]=n[t]/e[t][t]}return a};return LeastSquaresHelper}(TrendHelperBase),PolyHelper=function(e){__extends(PolyHelper,e);function PolyHelper(t,r,i,n){return e.call(this,t,r,i,n)||this}Object.defineProperty(PolyHelper.prototype,"coefficients",{get:function(){return this._coefficients.slice(0).reverse()},enumerable:!0,configurable:!0});PolyHelper.prototype.calcY=function(e){var t=this._coefficients,r=0,i=1;t.forEach((function(t,n){n>0&&(i*=e);r+=t*i}));return r};PolyHelper.prototype._calculateCoefficients=function(){this._coefficients;this.order++;0;e.prototype._calculateCoefficients.call(this);0;this.order--};PolyHelper.prototype._createBasis=function(){e.prototype._createBasis.call(this);var t=this.x,r=this.basis,i=this.order;t.forEach((function(e,t){r[t]=[1];for(var n=1;n<=i;n++)r[t][n]=e*r[t][n-1]}))};PolyHelper.prototype._concatEquation=function(e){var t="y = ",r=e.length,i=this.coefficients;e.forEach((function(e,n){var a,o=r-1-n;if(0===o)t+=e;else if(1===o){a=i[n+1]>=0?"+":"";t+=e+"x"+a}else{a=i[n+1]>=0?"+":"";t+=e+"x<sup>"+o+"</sup>"+a}}));return t};return PolyHelper}(LeastSquaresHelper),FourierHelper=function(e){__extends(FourierHelper,e);function FourierHelper(t,r,i,n){n=null==n?r.length:n;return e.call(this,t,r,i,n)||this}FourierHelper.prototype._createBasis=function(){e.prototype._createBasis.call(this);var t=this.x,r=this.basis,i=this.order;t.forEach((function(e,t){var n,a;r[t]=[1];for(n=1;n<i;n++){a=Math.floor((n+1)/2);n%2==1?r[t].push(Math.cos(a*e)):r[t].push(Math.sin(a*e))}}))};FourierHelper.prototype.calcY=function(e){var t;this._coefficients.forEach((function(r,i){var n,a=Math.floor((i+1)/2);if(0===i)t=r;else{n=a*e;t+=i%2==1?r*Math.cos(n):r*Math.sin(n)}}));return t};FourierHelper.prototype._concatEquation=function(e){var t="y = ",r=e.length,i=this.coefficients;e.forEach((function(e,n){var a=n===r-1?"":i[n+1]>=0?"+":"",o=Math.ceil(n/2);if(0===n)t+=e+a;else{var s=n%2==1?"cos":"sin";s+="("+(1===o?"":String(o))+"x)";t+=""+e+s+a}}));return t};return FourierHelper}(LeastSquaresHelper),SimpleTrendHelper=function(e){__extends(SimpleTrendHelper,e);function SimpleTrendHelper(t,r,i){var n=e.call(this,t,r,i)||this;n._calculateCoefficients();return n}SimpleTrendHelper.prototype._setVal=function(e){this._val=e};SimpleTrendHelper.prototype.calcY=function(e){return this._val};return SimpleTrendHelper}(TrendHelperBase),MinXHelper=function(e){__extends(MinXHelper,e);function MinXHelper(t,r,i){return e.call(this,t,r,i)||this}MinXHelper.prototype.calculateValues=function(){var e,t,r=this.xMin,i=MathHelper.min(this.y),n=MathHelper.max(this.y);this._isXString&&(r-=1);e=[r,r];t=[i,n];this._setVal(r);return[t,e]};MinXHelper.prototype.getEquation=function(e){var t=this.xMin;this._isXString&&(t-=1);e&&(t=e(t));return"x = "+t};return MinXHelper}(SimpleTrendHelper),MinYHelper=function(e){__extends(MinYHelper,e);function MinYHelper(t,r,i){return e.call(this,t,r,i)||this}MinYHelper.prototype.calculateValues=function(){var e,t,r=this.xMin,i=this.xMax,n=MathHelper.min(this.y);if(this._isXString){r-=1;i-=1}e=[r,i];t=[n,n];this._setVal(n);return[t,e]};MinYHelper.prototype.getEquation=function(e){var t=MathHelper.min(this.y);e&&(t=e(t));return"y = "+t};return MinYHelper}(SimpleTrendHelper),MaxXHelper=function(e){__extends(MaxXHelper,e);function MaxXHelper(t,r,i){return e.call(this,t,r,i)||this}MaxXHelper.prototype.calculateValues=function(){var e,t,r=this.xMax,i=MathHelper.min(this.y),n=MathHelper.max(this.y);this._isXString&&(r-=1);e=[r,r];t=[i,n];this._setVal(r);return[t,e]};MaxXHelper.prototype.getEquation=function(e){var t=this.xMax;this._isXString&&(t-=1);e&&(t=e(t));return"x = "+t};return MaxXHelper}(SimpleTrendHelper),MaxYHelper=function(e){__extends(MaxYHelper,e);function MaxYHelper(t,r,i){return e.call(this,t,r,i)||this}MaxYHelper.prototype.calculateValues=function(){var e,t,r=this.xMin,i=this.xMax,n=MathHelper.max(this.y);if(this._isXString){r-=1;i-=1}e=[r,i];t=[n,n];this._setVal(n);return[t,e]};MaxYHelper.prototype.getEquation=function(e){var t=MathHelper.max(this.y);e&&(t=e(t));return"y = "+t};return MaxYHelper}(SimpleTrendHelper),AverageXHelper=function(e){__extends(AverageXHelper,e);function AverageXHelper(t,r,i){return e.call(this,t,r,i)||this}AverageXHelper.prototype.calculateValues=function(){var e,t,r=MathHelper.avg(this.x),i=MathHelper.min(this.y),n=MathHelper.max(this.y);this._isXString&&(r-=1);e=[r,r];t=[i,n];this._setVal(r);return[t,e]};AverageXHelper.prototype._getEquation=function(e){var t=MathHelper.avg(this.x);this._isXString&&(t-=1);e&&(t=e(t));return" x = "+t};AverageXHelper.prototype._defaultEquationFmt=function(t){return Math.abs(t)<1e5?e.prototype._defaultEquationFmt.call(this,t):""+MathHelper.round(t,2)};return AverageXHelper}(SimpleTrendHelper),AverageYHelper=function(e){__extends(AverageYHelper,e);function AverageYHelper(t,r,i){return e.call(this,t,r,i)||this}AverageYHelper.prototype.calculateValues=function(){var e,t,r=MathHelper.avg(this.y),i=this.xMin,n=this.xMax;if(this._isXString){i-=1;n-=1}e=[i,n];t=[r,r];this._setVal(r);return[t,e]};AverageYHelper.prototype._getEquation=function(e){return"y = "+e(MathHelper.avg(this.y))};AverageYHelper.prototype._defaultEquationFmt=function(t){return Math.abs(t)<1e5?e.prototype._defaultEquationFmt.call(this,t):""+MathHelper.round(t,2)};return AverageYHelper}(SimpleTrendHelper),TrendLineHelper={TrendHelperBase:TrendHelperBase,Linear:LinearHelper,Exponential:ExpHelper,Logarithmic:LogHelper,Power:PowerHelper,Polynomial:PolyHelper,Fourier:FourierHelper,MinX:MinXHelper,MinY:MinYHelper,MaxX:MaxXHelper,MaxY:MaxYHelper,AverageX:AverageXHelper,AverageY:AverageYHelper},FunctionSeries=function(e){__extends(FunctionSeries,e);function FunctionSeries(t){var r=e.call(this)||this;r._min=0;r._max=1;r.initialize(t);null==r.itemsSource&&(r.itemsSource=[new wijmo_1.Point(0,0)]);return r}Object.defineProperty(FunctionSeries.prototype,"min",{get:function(){return this._min},set:function(e){if(this._min!==e){this._min=wijmo_1.asNumber(e,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FunctionSeries.prototype,"max",{get:function(){return this._max},set:function(e){if(this._max!==e){this._max=wijmo_1.asNumber(e,!1);this._invalidate()}},enumerable:!0,configurable:!0});FunctionSeries.prototype.getValues=function(e){null!=this._xValues&&null!=this._yValues||this._calculateValues();return 0===e?this._yValues||null:1===e?this._xValues||null:void 0};FunctionSeries.prototype._calculateValues=function(){for(var e,t=this.sampleCount,r=[],i=[],n=(this.max-this.min)/(t-1),a=0;a<t;a++){e=a===t-1?this.max:this.min+n*a;r[a]=this._calculateX(e);i[a]=this._calculateY(e)}this._yValues=i;this._xValues=r};FunctionSeries.prototype._validateValue=function(e){return Number.isFinite(e)?e:Number.NaN};FunctionSeries.prototype._calculateValue=function(e,t){var r;try{r=e(t)}catch(e){r=Number.NaN}return this._validateValue(r)};FunctionSeries.prototype._calculateX=function(e){return 0};FunctionSeries.prototype._calculateY=function(e){return 0};return FunctionSeries}(TrendLineBase);exports.FunctionSeries=FunctionSeries;var YFunctionSeries=function(e){__extends(YFunctionSeries,e);function YFunctionSeries(t){return e.call(this,t)||this}Object.defineProperty(YFunctionSeries.prototype,"func",{get:function(){return this._func},set:function(e){if(e&&this._func!==e){this._func=wijmo_1.asFunction(e,!1);this._invalidate()}},enumerable:!0,configurable:!0});YFunctionSeries.prototype._calculateX=function(e){return e};YFunctionSeries.prototype._calculateY=function(e){return this._calculateValue(this.func,e)};YFunctionSeries.prototype.approximate=function(e){return this._calculateValue(this.func,e)};return YFunctionSeries}(FunctionSeries);exports.YFunctionSeries=YFunctionSeries;var ErrorAmount,ErrorBarEndStyle,ErrorBarDirection,ParametricFunctionSeries=function(e){__extends(ParametricFunctionSeries,e);function ParametricFunctionSeries(t){return e.call(this,t)||this}Object.defineProperty(ParametricFunctionSeries.prototype,"xFunc",{get:function(){return this._xFunc},set:function(e){if(e&&this._xFunc!==e){this._xFunc=wijmo_1.asFunction(e,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ParametricFunctionSeries.prototype,"yFunc",{get:function(){return this._yFunc},set:function(e){if(e&&this._yFunc!==e){this._yFunc=wijmo_1.asFunction(e,!1);this._invalidate()}},enumerable:!0,configurable:!0});ParametricFunctionSeries.prototype._calculateX=function(e){return this._calculateValue(this.xFunc,e)};ParametricFunctionSeries.prototype._calculateY=function(e){return this._calculateValue(this.yFunc,e)};ParametricFunctionSeries.prototype.approximate=function(e){var t=this._calculateValue(this.xFunc,e),r=this._calculateValue(this.yFunc,e);return new wijmo_1.Point(t,r)};return ParametricFunctionSeries}(FunctionSeries);exports.ParametricFunctionSeries=ParametricFunctionSeries;!function(e){e[e.FixedValue=0]="FixedValue";e[e.Percentage=1]="Percentage";e[e.StandardDeviation=2]="StandardDeviation";e[e.StandardError=3]="StandardError";e[e.Custom=4]="Custom"}(ErrorAmount=exports.ErrorAmount||(exports.ErrorAmount={}));!function(e){e[e.Cap=0]="Cap";e[e.NoCap=1]="NoCap"}(ErrorBarEndStyle=exports.ErrorBarEndStyle||(exports.ErrorBarEndStyle={}));!function(e){e[e.Both=0]="Both";e[e.Minus=1]="Minus";e[e.Plus=2]="Plus"}(ErrorBarDirection=exports.ErrorBarDirection||(exports.ErrorBarDirection={}));var ErrorBar=function(e){__extends(ErrorBar,e);function ErrorBar(t){var r=e.call(this)||this;r._errorAmount=ErrorAmount.FixedValue;r._endStyle=ErrorBarEndStyle.Cap;r._direction=ErrorBarDirection.Both;r.rendering.addHandler(r._rendering,r);r.initialize(t);return r}Object.defineProperty(ErrorBar.prototype,"value",{get:function(){return this._value},set:function(e){if(e!=this._value){this._value=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ErrorBar.prototype,"errorAmount",{get:function(){return this._errorAmount},set:function(e){if((e=wijmo_1.asEnum(e,ErrorAmount,!0))!=this._errorAmount){this._errorAmount=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ErrorBar.prototype,"errorBarStyle",{get:function(){return this._errorBarStyle},set:function(e){if(e!=this._errorBarStyle){this._errorBarStyle=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ErrorBar.prototype,"endStyle",{get:function(){return this._endStyle},set:function(e){if((e=wijmo_1.asEnum(e,ErrorBarEndStyle,!0))!=this._endStyle){this._endStyle=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ErrorBar.prototype,"direction",{get:function(){return this._direction},set:function(e){if((e=wijmo_1.asEnum(e,ErrorBarDirection,!0))!=this._direction){this._direction=e;this._invalidate()}},enumerable:!0,configurable:!0});ErrorBar.prototype.getDataRect=function(e,t){if(!e)return null;this._chart;var r,i=this.errorAmount,n=0,a=0;this._paddings=[];this._calculateErrorValue();var o,s,l=this.getValues(0),u=e.top,h=e.bottom;if(!l)return e;var c=this._value||0;for(o=0,r=l.length;o<r;o++){var f={plus:0,val:0,minus:0};s=l[o];switch(i){case ErrorAmount.Custom:(f=this._getCustomValue(o)).val=s;this._paddings.push(f);break;case ErrorAmount.FixedValue:this._paddings.push({plus:c,minus:c,val:s});break;case ErrorAmount.Percentage:this._paddings.push({plus:s*c,minus:s*c,val:s});break;case ErrorAmount.StandardDeviation:this._paddings.push({plus:this._errorValue*c,minus:this._errorValue*c,val:s});break;case ErrorAmount.StandardError:this._paddings.push({plus:this._errorValue,minus:this._errorValue,val:s})}(isNaN(u)||u>s-f.minus)&&(u=s-f.minus);(isNaN(h)||h<s+f.plus)&&(h=s+f.plus)}switch(i){case ErrorAmount.FixedValue:n=c;a=c;break;case ErrorAmount.Percentage:n=u*c;a=h*c;break;case ErrorAmount.StandardDeviation:n=this._errorValue*c;a=this._errorValue*c;break;case ErrorAmount.StandardError:n=this._errorValue;a=this._errorValue}this._showPlus&&(h+=a);this._showMinus&&(u-=n);return new wijmo_1.Rect(e.left,u,e.width,h-u)};ErrorBar.prototype._getCustomValue=function(e){var t,r=this.value,i={minus:0,val:0,plus:0};if(null!=this._minusBindingValues||null!=this._plusBindingValues){i.minus=this._minusBindingValues&&this._minusBindingValues[e]||0;i.plus=this._plusBindingValues&&this._plusBindingValues[e]||0;return i}if(null==r)return i;if(wijmo_1.isArray(r)){(t=r[e])&&t.minus&&(i.minus=t.minus);t&&t.plus&&(i.plus=t.plus)}else if(wijmo_1.isNumber(r)){i.minus=r;i.plus=r}else{r.minus&&(i.minus=r.minus);r.plus&&(i.plus=r.plus)}return i};ErrorBar.prototype._calculateErrorValue=function(){var e=0,t=0,r=0;if(this._errorAmount===ErrorAmount.StandardDeviation||this._errorAmount===ErrorAmount.StandardError){var i=this.getValues(0);if(null!=i){i.forEach((function(r){e+=r;t++}));r=e/t;this._mean=r;e=0;i.forEach((function(t){e+=Math.pow(t-r,2)}));this._errorValue=Math.sqrt(e/(t-1))}this._errorAmount==ErrorAmount.StandardError&&(this._errorValue=this._errorValue/Math.sqrt(t))}};ErrorBar.prototype._clearValues=function(){this.__errorValue=null;this._mean=null;this._plusBindingValues=null;this._minusBindingValues=null;e.prototype._clearValues.call(this)};ErrorBar.prototype.getValues=function(t){if(0==t&&this.errorAmount===ErrorAmount.Custom){var r=this._getBinding(1),i=this._getBinding(2);if((null==this._plusBindingValues||null==this._minusBindingValues)&&r&&i)if(null!=this._cv){if(r){var n=this._bindValues(this._cv.items,r);this._plusBindingValues=n.values}if(i){var a=this._bindValues(this._cv.items,i);this._minusBindingValues=a.values}}else if(null!=this.binding&&null!=this._chart&&null!=this._chart.collectionView){if(r){n=this._bindValues(this._chart.collectionView.items,r);this._plusBindingValues=n.values}if(i){a=this._bindValues(this._chart.collectionView.items,i);this._minusBindingValues=a.values}}}return e.prototype.getValues.call(this,t)};Object.defineProperty(ErrorBar.prototype,"_chart",{get:function(){return this.__chart},set:function(e){e!==this.__chart&&(this.__chart=e)},enumerable:!0,configurable:!0});Object.defineProperty(ErrorBar.prototype,"_errorValue",{get:function(){return this.__errorValue},set:function(e){e!=this.__errorValue&&(this.__errorValue=e)},enumerable:!0,configurable:!0});Object.defineProperty(ErrorBar.prototype,"_showPlus",{get:function(){return this.direction===ErrorBarDirection.Both||this.direction===ErrorBarDirection.Plus},enumerable:!0,configurable:!0});Object.defineProperty(ErrorBar.prototype,"_showMinus",{get:function(){return this.direction===ErrorBarDirection.Both||this.direction===ErrorBarDirection.Minus},enumerable:!0,configurable:!0});ErrorBar.prototype._rendering=function(e,t){var r=this;this._errorBarEles=[];t.cancel=!0;var i=this.chart,n=i._plotRect,a=this._getAxisY(),o=this._getAxisX(),s=(a.origin,t.engine),l=i.series.indexOf(this),u=this._plotter;u.plotSeries(s,o,a,this,i,t.index,t.count,(function(e){var t,h,c,f=r._paddings,p=r._showPlus,_=r._showMinus,m=i._isRotated(),d=r.errorBarStyle&&r.errorBarStyle["stroke-width"]||2;c=(h=m?o:a).actualMax;t=h.convert(c);var y=s.stroke,g=s.strokeWidth;s.stroke="black";s.strokeWidth=1;var v=r.chart._plotrectId;s.startGroup(null,v);e&&e.length&&e.forEach((function(e,i){if(null!=e&&null!=e.x&&null!=e.y){var a=f[i],o=a&&a.minus||0,y=a&&a.plus||0,g=Math.abs(h.convert(c-o)-t),v=Math.abs(h.convert(c+y)-t),b=new wijmo_1.Point(e.x,e.y),x=new wijmo_1.Point(e.x,e.y);if(m){if(r.errorAmount===ErrorAmount.StandardDeviation){e=new wijmo_1.Point(h.convert(r._mean),e.y);b.x=e.x;x.x=e.x}_&&(b.x=b.x-g);p&&(x.x=x.x+v)}else{if(r.errorAmount===ErrorAmount.StandardDeviation){e=new wijmo_1.Point(e.x,h.convert(r._mean));b.y=e.y;x.y=e.y}_&&(b.y=b.y+g);p&&(x.y=x.y-v)}var w=void 0;w=m?new wijmo_1.Rect(b.x,b.y-d,Math.abs(x.x-b.x),2*d):new wijmo_1.Rect(x.x-d,x.y,2*d,Math.abs(x.y-b.y));var P=new wijmo_chart_1._RectArea(w);P.ignoreLabel=!0;var M=new wijmo_chart_1._DataPoint(l,i,i,a.val);P.tag=M;u.hitTester.add(P,l);var S=[s.drawLine(b.x,b.y,x.x,x.y,"error-bar",r.errorBarStyle)];r._errorBarEles[i]=S;if(r.endStyle===ErrorBarEndStyle.Cap){if(p){var B=void 0;if(m){if(x.x<=n.right){B=s.drawLine(x.x,x.y-d,x.x,x.y+d,"error-bar",r.errorBarStyle);S.push(B)}}else if(x.y>=n.top){B=s.drawLine(x.x-d,x.y,x.x+d,x.y,"error-bar",r.errorBarStyle);S.push(B)}}if(_){var H=void 0;if(m){if(b.x>=n.left){H=s.drawLine(b.x,b.y-d,b.x,b.y+d,"error-bar",r.errorBarStyle);S.push(H)}}else if(b.y<=n.bottom){H=s.drawLine(b.x-d,b.y,b.x+d,b.y,"error-bar",r.errorBarStyle);S.push(H)}}}}}));s.endGroup();s.stroke=y;s.strokeWidth=g}))};ErrorBar.prototype.getPlotElement=function(e){if(this.hostElement&&e<this._pointIndexes.length){var t=null==this._errorBarEles[e]?[]:this._errorBarEles[e].slice(),r=this._pointIndexes[e];r<this.hostElement.childNodes.length&&t.push(this.hostElement.childNodes[r]);return t}return null};return ErrorBar}(wijmo_chart_1.Series);exports.ErrorBar=ErrorBar;wijmo_1._addCultureInfo("FlexChartAnalytics",{BreakEven:{profitArea:"Profit Area",lossArea:"Loss Area",safetyMargin:"Safety Margin",salesRevenue:"Sales Revenue",totalCost:"Total Cost",fixedCost:"Fixed Cost",variableCost:"Variable Cost",marginalProfit:"Marginal Profit",breakEven:"Break Even"}});var QuartileCalculation,BreakEven=function(e){__extends(BreakEven,e);function BreakEven(t){var r=e.call(this)||this;r.rendering.addHandler(r._rendering,r);r.style={fill:"rgba(0,255,0,0.5)",strokeWidth:0};r.altStyle={fill:"rgba(255,0,0,0.5)",strokeWidth:0};r.tooltipContent="{y}";r.initialize(t);r._chartType=wijmo_chart_1.ChartType.Line;var i=wijmo_1.culture.FlexChartAnalytics.BreakEven;r.name=i.profitArea+","+i.lossArea+","+i.safetyMargin+","+i.salesRevenue+","+i.totalCost+","+i.fixedCost+","+i.variableCost+","+i.marginalProfit+","+i.breakEven;return r}Object.defineProperty(BreakEven.prototype,"fixedCost",{get:function(){return this._fixedCost},set:function(e){if(e!=this._fixedCost){this._fixedCost=wijmo_1.asNumber(e,!0,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BreakEven.prototype,"variableCost",{get:function(){return this._variableCost},set:function(e){if(e!=this._variableCost){this._variableCost=wijmo_1.asNumber(e,!0,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BreakEven.prototype,"salesPrice",{get:function(){return this._salesPrice},set:function(e){if(e!=this._salesPrice){this._salesPrice=wijmo_1.asNumber(e,!0,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BreakEven.prototype,"styles",{get:function(){return this._styles},set:function(e){if(e!==this._styles){this._styles=e;this._invalidate()}},enumerable:!0,configurable:!0});BreakEven.prototype.getValues=function(e){var t=this.salesPrice-this.variableCost;if(0==t)return null;for(var r=1.3*(this.fixedCost/t),i=[],n=0;n<10;n++)0==e?i.push(n*r/10*this.salesPrice):1==e&&i.push(n*r/10);return i};BreakEven.prototype._rendering=function(e,t){this.chart._plotRect;var r=t.engine,i=this.chart.axisX,n=this.chart.axisY,a=this.getValues(1),o=this.getValues(0),s=this.salesPrice-this.variableCost,l=this.fixedCost/s,u=this.fixedCost+o[o.length-1]-s*a[a.length-1],h=this.chart._plotrectId;r.startGroup(null,h);if(this.style&&this.style.fill){r.fill=this.style.fill;r.drawPolygon([i.convert(a[a.length-1]),i.convert(l),i.convert(a[a.length-1])],[n.convert(o[o.length-1]),n.convert(l*this.salesPrice),n.convert(u)]);r.fill=null}if(this.altStyle&&this.altStyle.fill){r.fill=this.altStyle.fill;r.drawPolygon([i.convert(a[0]),i.convert(l),i.convert(a[0])],[n.convert(0),n.convert(l*this.salesPrice),n.convert(this.fixedCost)]);r.fill=null}var c=this.styles?this.styles.safetyMargin:void 0,f=this.styles?this.styles.salesRevenue:void 0,p=this.styles?this.styles.totalCost:void 0,_=this.styles?this.styles.fixedCost:void 0,m=this.styles?this.styles.variableCost:void 0,d=this.styles?this.styles.marginalProfit:void 0,y=this.styles?this.styles.breakEven:void 0;if(c&&c.fill){r.fill=c.fill;r.drawPolygon([i.convert(a[a.length-1]),i.convert(l),i.convert(a[a.length-1])],[n.convert(a[a.length-1]*(this.salesPrice-this.variableCost)),n.convert(this.fixedCost),n.convert(this.fixedCost)]);r.fill=null}if(f){this._setStyle(r,f);r.drawLine(i.convert(0),n.convert(0),i.convert(a[a.length-1]),n.convert(o[o.length-1]))}if(p){this._setStyle(r,p);r.drawLine(i.convert(a[0]),n.convert(this.fixedCost),i.convert(a[a.length-1]),n.convert(u))}if(_){this._setStyle(r,_);r.drawLine(i.convert(a[0]),n.convert(this.fixedCost),i.convert(a[a.length-1]),n.convert(this.fixedCost))}if(m){this._setStyle(r,m);r.drawLine(i.convert(a[0]),n.convert(0),i.convert(a[a.length-1]),n.convert(a[a.length-1]*this.variableCost))}if(d){this._setStyle(r,d);r.drawLine(i.convert(a[0]),n.convert(0),i.convert(a[a.length-1]),n.convert(a[a.length-1]*(this.salesPrice-this.variableCost)))}if(y){this._setStyle(r,y);r.drawLine(i.convert(l),n.convert(0),i.convert(l),n.convert(l*this.salesPrice));r.drawLine(i.convert(0),n.convert(l*this.salesPrice),i.convert(l),n.convert(l*this.salesPrice))}r.endGroup()};BreakEven.prototype._setStyle=function(e,t){e.stroke=t.stroke;e.strokeWidth=t.strokeWidth?t.strokeWidth:3};BreakEven.prototype._getName=function(e){var t;if(this.name)if(this.name.indexOf(",")){var r=this.name.split(",");r&&r.length-1>=e&&(t=r[e].trim())}else t=this.name;return t};BreakEven.prototype.legendItemLength=function(){return 9};BreakEven.prototype._getStyle=function(e){var t=null;switch(e){case 0:t=this.style;break;case 1:t=this.altStyle;break;case 2:t=this.styles?this.styles.safetyMargin:null;break;case 3:t=this.styles?this.styles.salesRevenue:null;break;case 4:t=this.styles?this.styles.totalCost:null;break;case 5:t=this.styles?this.styles.fixedCost:null;break;case 6:t=this.styles?this.styles.variableCost:null;break;case 7:t=this.styles?this.styles.marginalProfit:null;break;case 8:t=this.styles?this.styles.breakEven:null}return t};BreakEven.prototype.measureLegendItem=function(e,t){var r=this._getName(t),i=new wijmo_1.Size(0,0),n=this._getStyle(t);r&&n&&(i=this._measureLegendItem(e,this._getName(t)));return i};BreakEven.prototype.drawLegendItem=function(e,t,r){var i=this._getStyle(r),n=this._getName(r);n&&i&&this._drawLegendItem(e,t,r<3?5:3,n,i,this.symbolStyle)};return BreakEven}(wijmo_chart_1.SeriesBase);exports.BreakEven=BreakEven;!function(e){e[e.InclusiveMedian=0]="InclusiveMedian";e[e.ExclusiveMedian=1]="ExclusiveMedian"}(QuartileCalculation=exports.QuartileCalculation||(exports.QuartileCalculation={}));var BoxWhisker=function(e){__extends(BoxWhisker,e);function BoxWhisker(t){var r=e.call(this)||this;r._groupWidth=.8;r._gapWidth=.1;r._showInnerPoints=!1;r._showOutliers=!1;r._quartileCalculation=QuartileCalculation.InclusiveMedian;r._chartType=wijmo_chart_1.ChartType.Bar;r.rendering.addHandler(r._rendering,r);r.initialize(t);return r}BoxWhisker.prototype._clearValues=function(){e.prototype._clearValues.call(this)};Object.defineProperty(BoxWhisker.prototype,"quartileCalculation",{get:function(){return this._quartileCalculation},set:function(e){if((e=wijmo_1.asEnum(e,QuartileCalculation,!0))!=this._quartileCalculation){this._quartileCalculation=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BoxWhisker.prototype,"groupWidth",{get:function(){return this._groupWidth},set:function(e){if(e!=this._groupWidth&&e>=0&&e<=1){this._groupWidth=wijmo_1.asNumber(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BoxWhisker.prototype,"gapWidth",{get:function(){return this._gapWidth},set:function(e){if(e!=this._gapWidth&&e>=0&&e<=1){this._gapWidth=wijmo_1.asNumber(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BoxWhisker.prototype,"showMeanLine",{get:function(){return this._showMeanLine},set:function(e){if(e!=this._showMeanLine){this._showMeanLine=wijmo_1.asBoolean(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BoxWhisker.prototype,"meanLineStyle",{get:function(){return this._meanLineStyle},set:function(e){if(e!=this._meanLineStyle){this._meanLineStyle=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BoxWhisker.prototype,"showMeanMarker",{get:function(){return this._showMeanMarker},set:function(e){if(e!=this._showMeanMarker){this._showMeanMarker=wijmo_1.asBoolean(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BoxWhisker.prototype,"meanMarkerStyle",{get:function(){return this._meanMarkerStyle},set:function(e){if(e!=this._meanMarkerStyle){this._meanMarkerStyle=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BoxWhisker.prototype,"showInnerPoints",{get:function(){return this._showInnerPoints},set:function(e){if(e!=this._showInnerPoints){this._showInnerPoints=wijmo_1.asBoolean(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BoxWhisker.prototype,"showOutliers",{get:function(){return this._showOutliers},set:function(e){if(e!=this._showOutliers){this._showOutliers=wijmo_1.asBoolean(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});BoxWhisker.prototype._rendering=function(e,t){var r=this;t.cancel=!0;var i,n,a=this.chart,o=(this.chart,this._getAxisX()),s=this._getAxisY(),l=t.index,u=t.count,h=t.engine,c=this._plotter,f=a.series.indexOf(this),p=wijmo_1.asType(this,wijmo_chart_1.SeriesBase),_=this.quartileCalculation,m=this.showOutliers,d=this.groupWidth,y=(null==this.gapWidth?.2:this.gapWidth)/2;l=l||0;var g=d/(u=u||1),v=this.getValues(0),b=this.getValues(1);if(v){b||(b=c.dataInfo.getXVals());if(b){var x=c.dataInfo.getDeltaX();if(x>0){d*=x;g*=x}}var w=p._getSymbolFill(f),P=p._getAltSymbolFill(f)||w,M=p._getSymbolStroke(f),S=p._getAltSymbolStroke(f)||M,B=v.length;null!=b&&(B=Math.min(B,b.length));var H,L,j=0,E=0,V=c.getItemFormatter(this);if(c.rotated){(j=o.origin||j)<o.actualMin?j=o.actualMin:j>o.actualMax&&(j=o.actualMax);o.convert(j);var T=s.actualMin,O=s.actualMax,_loop_2=function(e){var t=b?b[e]:e,u=v[e];if(null==u||0===u.length)return{value:void 0};c._getSymbolOrigin&&s.convert(c._getSymbolOrigin(j,e));if(c._getSymbolStyles){var p=c._getSymbolStyles(e);w=p&&p.fill?p.fill:w;P=p&&p.fill?p.fill:P;M=p&&p.stroke?p.fill:M;S=p&&p.stroke?p.fill:S}H=u[0]>0?w:P;L=u[0]>0?M:S;h.fill=H;h.stroke=L;if(wijmo_chart_1._DataInfo.isValid(t)&&wijmo_1.isArray(u)&&u.length>0&&wijmo_chart_1._DataInfo.isValid(u[0])){var x=t-.5*d+l*g,B=t-.5*d+(l+1)*g,C=(B-x)*y;B-=C;if((x+=C)<T&&B<T||x>O&&B>O)return"continue";x=s.convert(x);B=s.convert(B);var A=new _BoxPlot(u,_,m),Y={min:o.convert(A.min),max:o.convert(A.max),firstQuartile:o.convert(A.firstQuartile),median:o.convert(A.median),thirdQuartile:o.convert(A.thirdQuartile),mean:o.convert(A.mean),outlierPoints:X._convertPoints(A.outlierPoints,o),innerPoints:X._convertPoints(A.innerPoints,o)},k=new wijmo_1.Rect(Math.min(Y.min,Y.max),Math.min(x,B),Math.abs(Y.max-Y.min),Math.abs(B-x)),q=new wijmo_chart_1._RectArea(k),F={min:Math.min(x,B),median:(x+B)/2,max:Math.max(B,x)};if(V){h.startGroup();var W=new wijmo_chart_1.HitTestInfo(a,new wijmo_1.Point((Y.min+Y.max)/2,F.median),wijmo_chart_1.ChartElement.SeriesSymbol);W._setData(X,e);V(h,W,(function(){r._drawBoxWhisker(h,Y,F,i,n,r);i=Y;n=F}));h.endGroup()}else{X._drawBoxWhisker(h,Y,F,i,n,X);i=Y;n=F}X._setPointIndex(e,E);E++;var N=new wijmo_chart_1._DataPoint(f,e,u,t);N.item=A;q.tag=N;c.hitTester.add(q,f);A.outlierPoints&&A.outlierPoints.length&&A.outlierPoints.forEach((function(e,t){var r=Y.outlierPoints[t],i=new wijmo_chart_1._CircleArea(new wijmo_1.Point(r,k.top+k.height/2),2);i.tag=N;c.hitTester.add(i,f)}))}},X=this;for(Y=0;Y<B;Y++){var C=_loop_2(Y);if("object"==typeof C)return C.value}}else{(j=s.origin||j)<s.actualMin?j=s.actualMin:j>s.actualMax&&(j=s.actualMax);s.convert(j),o.actualMin,o.actualMax;for(var _loop_1=function(e){var t=b?b[e]:e,u=v[e];if(null==u||0===u.length)return{value:void 0};c._getSymbolOrigin&&s.convert(c._getSymbolOrigin(j,e,B));if(c._getSymbolStyles){var p=c._getSymbolStyles(e,B);w=p&&p.fill?p.fill:w;P=p&&p.fill?p.fill:P;M=p&&p.stroke?p.stroke:M;S=p&&p.stroke?p.stroke:S}H=u[0]>0?w:P;L=u[0]>0?M:S;h.fill=H;h.stroke=L;if(wijmo_chart_1._DataInfo.isValid(t)&&wijmo_1.isArray(u)&&u.length>0&&wijmo_chart_1._DataInfo.isValid(u[0])){var x=t-.5*d+l*g,T=t-.5*d+(l+1)*g,O=(T-x)*y;x+=O;T-=O;x=o.convert(x);T=o.convert(T);if(!wijmo_chart_1._DataInfo.isValid(x)||!wijmo_chart_1._DataInfo.isValid(T))return"continue";var X=new _BoxPlot(u,_,m),C={min:s.convert(X.min),max:s.convert(X.max),firstQuartile:s.convert(X.firstQuartile),median:s.convert(X.median),thirdQuartile:s.convert(X.thirdQuartile),mean:s.convert(X.mean),outlierPoints:A._convertPoints(X.outlierPoints,s),innerPoints:A._convertPoints(X.innerPoints,s)},Y=new wijmo_1.Rect(Math.min(x,T),Math.min(C.min,C.max),Math.abs(T-x),Math.abs(C.max-C.min)),k=new wijmo_chart_1._RectArea(Y),q={min:Math.min(x,T),median:(x+T)/2,max:Math.max(x,T)};if(V){h.startGroup();var F=new wijmo_chart_1.HitTestInfo(a,new wijmo_1.Point(q.median,(C.min+C.max)/2),wijmo_chart_1.ChartElement.SeriesSymbol);F._setData(A,e);V(h,F,(function(){r._drawBoxWhisker(h,q,C,i,n,r);i=q;n=C}));h.endGroup()}else{A._drawBoxWhisker(h,q,C,i,n,A);i=q;n=C}A._setPointIndex(e,E);E++;var W=new wijmo_chart_1._DataPoint(f,e,t,u);W.item=X;k.tag=W;c.hitTester.add(k,f);X.outlierPoints&&X.outlierPoints.length&&X.outlierPoints.forEach((function(e,t){var r=C.outlierPoints[t],i=new wijmo_chart_1._CircleArea(new wijmo_1.Point(Y.left+Y.width/2,r),2);i.tag=W;c.hitTester.add(i,f)}))}},A=this,Y=0;Y<B;Y++){var k=_loop_1(Y);if("object"==typeof k)return k.value}}}};BoxWhisker.prototype._convertPoints=function(e,t){return e.map((function(e){return t.convert(e)}))};BoxWhisker.prototype._drawBoxWhisker=function(e,t,r,i,n,a){var o=a.symbolStyle,s=this.showInnerPoints,l=this.showOutliers,u=this.showMeanLine,h=this.meanLineStyle,c=this.showMeanMarker,f=this.meanMarkerStyle,p=this._plotter;e.startGroup("box-plot");e.strokeWidth=1;if(p.rotated){e.drawLine(t.min,(r.min+r.median)/2,t.min,(r.max+r.median)/2,null,o);e.drawLine(t.min,r.median,t.firstQuartile,r.median,null,o);e.drawRect(Math.min(t.firstQuartile,t.thirdQuartile),Math.min(r.min,r.max),Math.abs(t.thirdQuartile-t.firstQuartile),Math.abs(r.max-r.min),null,o);e.drawLine(t.median,r.min,t.median,r.max,null,o);e.drawLine(t.max,r.median,t.thirdQuartile,r.median,null,o);e.drawLine(t.max,(r.min+r.median)/2,t.max,(r.max+r.median)/2,null,o);u&&i&&n&&e.drawLine(t.mean,r.median,i.mean,n.median,"box-whisker-mean-line",h||o);if(c){var _=Math.abs(r.median-r.min)/2;e.drawLine(t.mean-_,r.median-_,t.mean+_,r.median+_,null,f||o);e.drawLine(t.mean+_,r.median-_,t.mean-_,r.median+_,null,f||o)}l&&t.outlierPoints.forEach((function(t){e.drawPieSegment(t,r.median,2,0,2*Math.PI,null,o)}));s&&t.innerPoints.forEach((function(t){e.drawPieSegment(t,r.median,2,0,2*Math.PI,null,o)}))}else{e.drawLine((t.min+t.median)/2,r.min,(t.max+t.median)/2,r.min,null,o);e.drawLine(t.median,r.min,t.median,r.firstQuartile,null,o);e.drawRect(Math.min(t.min,t.max),Math.min(r.firstQuartile,r.thirdQuartile),Math.abs(t.max-t.min),Math.abs(r.thirdQuartile-r.firstQuartile),null,o);e.drawLine(t.min,r.median,t.max,r.median,null,o);e.drawLine(t.median,r.max,t.median,r.thirdQuartile,null,o);e.drawLine((t.min+t.median)/2,r.max,(t.max+t.median)/2,r.max,null,o);u&&i&&n&&e.drawLine(t.median,r.mean,i.median,n.mean,"box-whisker-mean-line",h||o);if(c){_=Math.abs(t.median-t.min)/2;e.drawLine(t.median-_,r.mean-_,t.median+_,r.mean+_,null,f||o);e.drawLine(t.median-_,r.mean+_,t.median+_,r.mean-_,null,f||o)}l&&r.outlierPoints.forEach((function(r){e.drawPieSegment(t.median,r,2,0,2*Math.PI,null,o)}));s&&r.innerPoints.forEach((function(r){e.drawPieSegment(t.median,r,2,0,2*Math.PI,null,o)}))}e.endGroup()};BoxWhisker.prototype._renderLabels=function(e,t,r,i){var n=this,a=this._plotter,o=t.length,s=r.dataLabel,l=s.border,u=s.offset,h=s.connectingLine,c="dataY";a.rotated&&(c="dataX");void 0===u&&(u=h?16:0);l&&(u-=2);for(var f=[],_loop_3=function(a){var o=t[a],l=o.tag,h=wijmo_1.asType(l,wijmo_chart_1._DataPoint,!0);if(h&&-1==f.indexOf(h)){f.push(h);var _=l.item,m=l.y;l[c]=_.min;l.yfmt=_.min;l.y=_.min;p._plotter._renderLabel(e,o,h,r,s,p,u,i);l[c]=_.firstQuartile;l.yfmt=_.firstQuartile;l.y=_.firstQuartile;p._plotter._renderLabel(e,o,h,r,s,p,u,i);l[c]=_.median;l.yfmt=_.median;l.y=_.median;p._plotter._renderLabel(e,o,h,r,s,p,u,i);l[c]=_.thirdQuartile;l.yfmt=_.thirdQuartile;l.y=_.thirdQuartile;p._plotter._renderLabel(e,o,h,r,s,p,u,i);l[c]=_.max;l.yfmt=_.max;l.y=_.max;p._plotter._renderLabel(e,o,h,r,s,p,u,i);if(p.showMeanMarker){var d=Number(_.mean.toFixed(2));l[c]=d;l.yfmt=d;l.y=d;p._plotter._renderLabel(e,o,h,r,s,p,u,i)}_.showOutliers&&_.outlierPoints&&_.outlierPoints.forEach((function(t){l[c]=t;l.yfmt=t;l.y=t;n._plotter._renderLabel(e,o,h,r,s,n,u,i)}));l.y=m}},p=this,_=0;_<o;_++)_loop_3(_)};return BoxWhisker}(wijmo_chart_1.SeriesBase);exports.BoxWhisker=BoxWhisker;var _BoxPlot=function(){function _BoxPlot(e,t,r){this._outlierPoints=[];this._innerPoints=[];this._data=e;this._quartileCalculation=t;this._showOutliers=r;this._parse()}Object.defineProperty(_BoxPlot.prototype,"showOutliers",{get:function(){return this._showOutliers},enumerable:!0,configurable:!0});Object.defineProperty(_BoxPlot.prototype,"min",{get:function(){return this._min},enumerable:!0,configurable:!0});Object.defineProperty(_BoxPlot.prototype,"max",{get:function(){return this._max},enumerable:!0,configurable:!0});Object.defineProperty(_BoxPlot.prototype,"mean",{get:function(){return this._mean},enumerable:!0,configurable:!0});Object.defineProperty(_BoxPlot.prototype,"firstQuartile",{get:function(){return this._firstQuartile},enumerable:!0,configurable:!0});Object.defineProperty(_BoxPlot.prototype,"thirdQuartile",{get:function(){return this._thirdQuartile},enumerable:!0,configurable:!0});Object.defineProperty(_BoxPlot.prototype,"median",{get:function(){return this._median},enumerable:!0,configurable:!0});Object.defineProperty(_BoxPlot.prototype,"outlierPoints",{get:function(){return this._outlierPoints},enumerable:!0,configurable:!0});Object.defineProperty(_BoxPlot.prototype,"innerPoints",{get:function(){return this._innerPoints},enumerable:!0,configurable:!0});_BoxPlot.prototype._parse=function(){var e=this,t=this._data.length,r=this._data,i=0;this._outlierPoints=[];this._innerPoints=[];r.sort((function(e,t){return e-t}));r.some((function(t){if(null==t)return!1;e._min=t;return!0}));this._max=null==r[t-1]?0:r[t-1];if(this._quartileCalculation===QuartileCalculation.InclusiveMedian){this._firstQuartile=this._quartileInc(r,.25);this._median=this._quartileInc(r,.5);this._thirdQuartile=this._quartileInc(r,.75)}else{this._firstQuartile=this._quartileExc(r,.25);this._median=this._quartileExc(r,.5);this._thirdQuartile=this._quartileExc(r,.75)}this._iqr=1.5*Math.abs(this._thirdQuartile-this._firstQuartile);var n=this._firstQuartile-this._iqr,a=this._thirdQuartile+this._iqr;if(this._showOutliers){var o=this._max;this._max=this._min;this._min=o;this._data.forEach((function(t){i+=t;if(t<n||t>a)e._outlierPoints.push(t);else{t<e._min&&(e._min=t);t>e._max&&(e._max=t)}}))}else i=this._data.reduce((function(e,t){return e+t}),0);this._innerPoints=this._data.filter((function(t){return t>e._min&&t<e._max}));this._mean=i/t};_BoxPlot.prototype._quartileInc=function(e,t){var r,i,n,a,o=e.length;if(1===o)return e[0];a=(r=(o-1)*t+1)-(i=Math.floor(r));return(n=e[i-1])+(e[i]-n)*a};_BoxPlot.prototype._quartileExc=function(e,t){var r,i,n,a,o=e.length;if(1===o)return e[0];if(2===o)return e[Math.round(t)];a=(r=(o+1)*t)-(i=Math.floor(r));return(n=e[i-1])+(e[i]-n)*a};return _BoxPlot}();exports._BoxPlot=_BoxPlot;wijmo_1._registerModule("wijmo.chart.analytics",selfModule);
14
+ "use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};return function(e,t){extendStatics(e,t);function __(){this.constructor=e}e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}}(),__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);t.default=e;return t};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.analytics")),Waterfall=function(e){__extends(Waterfall,e);function Waterfall(t){var r=e.call(this)||this;r._startLabel="Start";r._relativeData=!0;r._connectorLines=!1;r._showTotal=!1;r._totalLabel="Total";r._getXValues=!1;r._showIntermediateTotal=!1;r._intermediateTotalPos=[];r._chartType=wijmo_chart_1.ChartType.Bar;r.tooltipContent="<b>{seriesName}</b><br/>{x} {value}";r.rendering.addHandler(r._rendering,r);r.initialize(t);return r}Object.defineProperty(Waterfall.prototype,"relativeData",{get:function(){return this._relativeData},set:function(e){if(e!=this._relativeData){this._relativeData=wijmo_1.asBoolean(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"start",{get:function(){return this._start},set:function(e){if(e!=this._start){this._start=wijmo_1.asNumber(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"startLabel",{get:function(){return this._startLabel},set:function(e){if(e!=this._startLabel){this._startLabel=wijmo_1.asString(e,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"showTotal",{get:function(){return this._showTotal},set:function(e){if(e!=this._showTotal){this._showTotal=wijmo_1.asBoolean(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"totalLabel",{get:function(){return this._totalLabel},set:function(e){if(e!=this._totalLabel){this._totalLabel=wijmo_1.asString(e,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"showIntermediateTotal",{get:function(){return this._showIntermediateTotal},set:function(e){if(e!=this._showIntermediateTotal){this._showIntermediateTotal=wijmo_1.asBoolean(e,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"intermediateTotalPositions",{get:function(){return this._intermediateTotalPositions},set:function(e){if(e!=this._intermediateTotalPositions){this._intermediateTotalPositions=wijmo_1.asArray(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"intermediateTotalLabels",{get:function(){return this._intermediateTotalLabels},set:function(e){if(e!=this._intermediateTotalLabels){wijmo_1.assert(null==e||wijmo_1.isArray(e)||wijmo_1.isString(e),"Array or string expected.");this._intermediateTotalLabels=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"connectorLines",{get:function(){return this._connectorLines},set:function(e){if(e!=this._connectorLines){this._connectorLines=wijmo_1.asBoolean(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(Waterfall.prototype,"styles",{get:function(){return this._styles},set:function(e){if(e!=this._styles){this._styles=e;this._invalidate()}},enumerable:!0,configurable:!0});Waterfall.prototype.getValues=function(t){var r,i,n,a,o,s=this,l=[],u=0;r=e.prototype.getValues.call(this,t);if(0===t){if(!this._yValues){var h=null!=this.start?this.start:0,c=0;l=[];o=r&&r.length||0;if(this.relativeData){for(;c<o;c++){h+=isNaN(r[c])?0:r[c];l.push(h)}this._yValues=l}else{for(;c<o;c++){h=isNaN(r[c])?0:r[c];l.push(h)}this._yValues=l}if((i=this._yValues)&&i.length>0){if(this.showIntermediateTotal&&this.intermediateTotalPositions&&this.intermediateTotalPositions.length>0){this._intermediateTotalPos=i.slice();this.intermediateTotalPositions.reduceRight((function(e,t){var r=0===t?i[0]:i[t-1];if(i.length>t){i.splice(t,0,r);s._intermediateTotalPos.splice(t,0,!0)}else if(i.length===t){i.push(r);s._intermediateTotalPos.push(!0)}return 0}),0)}if(null!=this.start){i.splice(0,0,this.start);this._intermediateTotalPos.splice(0,0,!1)}this.showTotal&&i&&i.push(i[i.length-1])}}return this._yValues}if(!this._xValues&&this._getXValues){this._xValues=r&&r.slice();this._getXValues=!1;if(this._xValues&&this._xValues.length>1){o=this._xValues.length;a=this._xValues[o-1];u=Math.abs(this._xValues[o-1]-this._xValues[o-2])}if(this.chart&&this.chart._xlabels&&this.chart._xlabels.length){n=this.chart._xlabels;if(this.showIntermediateTotal&&this.intermediateTotalPositions&&this.intermediateTotalPositions.length>0){var f=this.intermediateTotalLabels;f&&this.intermediateTotalPositions.reduceRight((function(e,t,r){var i="";i=wijmo_1.isString(f)?f:f[r]||"";n.length>t?n.splice(t,0,i):n.length===t&&n.push(i);if(u){a+=u;s._xValues.push(a)}return 0}),0)}if(null!=this.start){n.splice(0,0,this.startLabel);if(u){a+=u;this._xValues.push(a)}}if(this.showTotal){n.push(this.totalLabel);if(u){a+=u;this._xValues.push(a)}}}}return this._xValues};Waterfall.prototype.legendItemLength=function(){return this.showTotal?3:2};Waterfall.prototype.measureLegendItem=function(e,t){var r=this._getName(t);return r?this._measureLegendItem(e,r):new wijmo_1.Size(0,0)};Waterfall.prototype.drawLegendItem=function(e,t,r){var i=this._getLegendStyles(r);this._getName(r)&&this._drawLegendItem(e,t,wijmo_chart_1.ChartType.Bar,this._getName(r),i,this.symbolStyle)};Waterfall.prototype._clearValues=function(){e.prototype._clearValues.call(this);this._xValues=null;this._yValues=null;this._wfstyle=null;this._getXValues=!0;this._intermediateTotalPos=[];this.chart&&this.chart._performBind()};Waterfall.prototype._invalidate=function(){e.prototype._invalidate.call(this);this._clearValues()};Waterfall.prototype._getXOffset=function(){return null!=this.start?1:0};Waterfall.prototype._getYOffset=function(e){return this.getValues(0)[e+this._getXOffset()]};Waterfall.prototype._getValue=function(e){var t=e;if(null!=this.start){if(0==e)return this.start;e--}return this.showIntermediateTotal&&this.intermediateTotalPositions&&this._intermediateTotalPos[t],this.getValues(0)[t]};Waterfall.prototype._getItem=function(t){var r=null;null!=this.start&&(0==t?(r={})[this.binding]=this.start:t--);if(this.showIntermediateTotal&&this.intermediateTotalPositions){var i=this._intermediateTotalPos;if(!0===i[t]){(r={})[this.binding]=this.getValues(0)[t];return r}for(var n=t,a=0;a<t;a++)!0===i[a]&&n--;t=n}r||!(r=e.prototype._getItem.call(this,t))&&this.showTotal&&this._yValues&&this._yValues.length>0&&((r={})[this.binding]=this._yValues[this._yValues.length-1]);return r};Waterfall.prototype._rendering=function(e,t){var r=this;t.cancel=!0;this._wfstyle=null;var i,n,a,o,s,l,u=this.chart,h=this._getAxisY(),c=this._getAxisX(),f=h.origin||0,p=t.engine;this._barPlotter=u._getPlotter(this);a=this._barPlotter.rotated;this._barPlotter._getSymbolOrigin||(this._barPlotter._getSymbolOrigin=function(e,t,i){return 0===t||!0===r._intermediateTotalPos[t]||t===i-1&&r.showTotal?e:r._yValues[t-1]});this._barPlotter._getSymbolStyles||(this._barPlotter._getSymbolStyles=function(e,t){var i=r._getStyles();return 0===e&&null!=r.start?i.start:!0===r._intermediateTotalPos[e]?i.intermediateTotal:e===t-1&&r.showTotal?i.total:0==e?r._yValues[e]<0?i.falling:i.rising:r._yValues[e]<r._yValues[e-1]?i.falling:i.rising});this._barPlotter.plotSeries(p,c,h,e,u,0,1);if(this.connectorLines&&(o=this._barPlotter.hitTester._map[0])&&o.length){p.startGroup(Waterfall.CSS_CONNECTOR_LINE_GROUP);l=this._yValues[0]<f;s=o[0].rect;for(i=1,n=o.length;i<n;i++)if(!0!==this._intermediateTotalPos[i]||i===n-1){this._drawConnectorLine(p,a,s,o[i].rect,l);s=o[i].rect;l=this._yValues[i]<this._yValues[i-1]}p.endGroup()}};Waterfall.prototype._getStyles=function(){if(this._wfstyle)return this._wfstyle;var e=this._chart.series.indexOf(this),t=this._getSymbolFill(e),r=this._getSymbolStroke(e),i=this.styles||{};this._wfstyle={start:this._getStyleByKey(i,"start",t,r),intermediateTotal:this._getStyleByKey(i,"intermediateTotal",t,r),total:this._getStyleByKey(i,"total",t,r),falling:this._getStyleByKey(i,"falling","red","red"),rising:this._getStyleByKey(i,"rising","green","green")};return this._wfstyle};Waterfall.prototype._getStyleByKey=function(e,t,r,i){return{fill:e[t]&&e[t].fill?e[t].fill:r,stroke:e[t]&&e[t].stroke?e[t].stroke:i}};Waterfall.prototype._drawConnectorLine=function(e,t,r,i,n){var a=new wijmo_1.Point,o=new wijmo_1.Point,s=this.chart.axisY.reversed,l=this.chart.axisX.reversed;s^=n;if(t){if(s){a.x=r.left;o.x=r.left}else{a.x=r.left+r.width;o.x=r.left+r.width}if(l){a.y=r.top;o.y=i.top+i.height}else{a.y=r.top+r.height;o.y=i.top}}else{if(s){a.y=r.top+r.height;o.y=r.top+r.height}else{a.y=r.top;o.y=r.top}if(l){a.x=r.left+r.width;o.x=i.left}else{a.x=r.left;o.x=i.left+i.width}}e.drawLine(a.x,a.y,o.x,o.y,Waterfall.CSS_CONNECTOR_LINE,this.styles&&this.styles.connectorLines||{stroke:"black"})};Waterfall.prototype._getLegendStyles=function(e){if(e<0||null===this.styles)return null;var t=this._getStyles();return 0===e?t.rising:1===e?t.falling:t.total};Waterfall.prototype._getName=function(e){var t;if(this.name)if(this.name.indexOf(",")){var r=this.name.split(",");r&&r.length-1>=e&&(t=r[e].trim())}else t=this.name;return t};Waterfall.CSS_CONNECTOR_LINE_GROUP="water-fall-connector-lines";Waterfall.CSS_CONNECTOR_LINE="water-fall-connector-line";Waterfall.CSS_ENDLABEL="water-fall-end-label";return Waterfall}(wijmo_chart_1.SeriesBase);exports.Waterfall=Waterfall;var MovingAverageType,TrendLineBase=function(e){__extends(TrendLineBase,e);function TrendLineBase(t){var r=e.call(this)||this;r._chartType=wijmo_chart_1.ChartType.Line;r._sampleCount=100;r.initialize(t);return r}Object.defineProperty(TrendLineBase.prototype,"sampleCount",{get:function(){return this._sampleCount},set:function(e){if((e=wijmo_1.asNumber(e,!1,!0))!=this._sampleCount){this._sampleCount=e;this._invalidate()}},enumerable:!0,configurable:!0});TrendLineBase.prototype.approximate=function(e){return 0};TrendLineBase.prototype.getValues=function(t){var r=this.binding,i=this.bindingX;if(r!==this._bind){this._bind=r;this.binding=r}if(i!==this._bindX){this._bindX=i;this.bindingX=i}null==this._originYValues&&(this._originYValues=e.prototype.getValues.call(this,0));null==this._originXValues&&(this._originXValues=e.prototype.getValues.call(this,1));if(null==this._originXValues||null==this._originYValues)return null;e.prototype.getValues.call(this,t);null!=this._xValues&&null!=this._yValues||this._calculateValues();return 0===t?this._yValues||null:1===t?this._xValues||null:void 0};TrendLineBase.prototype._calculateValues=function(){};TrendLineBase.prototype._invalidate=function(){e.prototype._invalidate.call(this);this._clearCalculatedValues()};TrendLineBase.prototype._clearValues=function(){e.prototype._clearValues.call(this);this._originXValues=null;this._originYValues=null;this._clearCalculatedValues()};TrendLineBase.prototype._clearCalculatedValues=function(){this._xValues=null;this._yValues=null};return TrendLineBase}(wijmo_chart_1.SeriesBase);exports.TrendLineBase=TrendLineBase;!function(e){e[e.Simple=0]="Simple";e[e.Weighted=1]="Weighted";e[e.Exponential=2]="Exponential";e[e.Triangular=3]="Triangular"}(MovingAverageType=exports.MovingAverageType||(exports.MovingAverageType={}));var MovingAverage=function(e){__extends(MovingAverage,e);function MovingAverage(t){var r=e.call(this)||this;r._chartType=wijmo_chart_1.ChartType.Line;r._type=MovingAverageType.Simple;r._period=2;r.initialize(t);return r}Object.defineProperty(MovingAverage.prototype,"type",{get:function(){return this._type},set:function(e){if((e=wijmo_1.asEnum(e,MovingAverageType,!1))!=this._type){this._type=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(MovingAverage.prototype,"period",{get:function(){return this._period},set:function(e){var t=wijmo_1.asNumber(e,!1,!0);if(t!=this._period){this._period=wijmo_1.asNumber(t,!1,!0);this._invalidate()}},enumerable:!0,configurable:!0});MovingAverage.prototype._checkPeriod=function(){var e=this.period,t=this._originXValues;e<=1&&wijmo_1.assert(!1,"period must be greater than 1.");t&&t.length&&e>=t.length&&wijmo_1.assert(!1,"period must be less than itemSource's length.")};MovingAverage.prototype._calculateValues=function(){this._type;var e="_calculate"+MovingAverageType[this._type],t=[],r=[];this._checkPeriod();this[e]&&this[e].call(this,t,r);this._yValues=r;this._xValues=t};MovingAverage.prototype._calculateSimple=function(e,t,r){void 0===r&&(r=!1);for(var i=this._originXValues,n=this._originYValues,a=i.length,o=this._period,s=0,l=0;l<a;l++){s+=n[l]||0;l>=o&&(s-=n[l-o]||0);if(l>=o-1){e.push(i[l]);t.push(s/o)}else if(r){e.push(i[l]);t.push(s/(l+1))}}};MovingAverage.prototype._calculateWeighted=function(e,t){for(var r=this._originXValues,i=this._originYValues,n=r.length,a=this._period,o=a*(a+1)/2,s=0,l=0,u=0;u<n;u++){u>0&&(s+=i[u-1]||0);u>a&&(s-=i[u-a-1]||0);if(u<a-1)l+=(i[u]||0)*(u+1);else{l+=(i[u]||0)*a;u>a-1&&(l-=s);e.push(r[u]);t.push(l/o)}}};MovingAverage.prototype._calculateExponential=function(e,t){for(var r=this._originXValues,i=this._originYValues,n=r.length,a=this._period,o=0,s=0;s<n;s++)if(s<=a-2){o+=i[s]||0;s===a-2&&(o/=a-1)}else{o+=2/(a+1)*((i[s]||0)-o);e.push(r[s]);t.push(o)}};MovingAverage.prototype._calculateTriangular=function(e,t){var r=this._period,i=[],n=[],a=0;this._calculateSimple(i,n,!0);for(var o=0,s=i.length;o<s;o++){a+=n[o]||0;o>=r&&(a-=n[o-r]||0);if(o>=r-1){e.push(i[o]);t.push(a/r)}}};return MovingAverage}(TrendLineBase);exports.MovingAverage=MovingAverage;var TrendLineFitType,MathHelper=function(){function MathHelper(){}MathHelper.round=function(e,t){if(!e)return 0;var r=Math.pow(10,t||2);return Math.round(e*r)/r};MathHelper.avg=function(e){return MathHelper.sum(e)/e.length};MathHelper.sum=function(e){return(e=wijmo_1.asArray(e,!1)).reduce((function(e,t){return e+t}),0)};MathHelper.sumOfPow=function(e,t){e=wijmo_1.asArray(e,!1);t=wijmo_1.asNumber(t,!1);return e.reduce((function(e,r){return e+Math.pow(r,t)}),0)};MathHelper.sumProduct=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];e.length;var r,i,n=0,a=[];(e=wijmo_1.asArray(e,!1)).forEach((function(e,t){e=wijmo_1.asArray(e,!1);0===t?n=e.length:wijmo_1.assert(e.length===n,"The length of the arrays must be equal")}));for(r=0;r<n;r++){i=1;e.some((function(e,t){var n=e[r];if(n&&wijmo_1.isNumber(n)){i*=n;return!1}i=0;return!0}));a.push(i)}return MathHelper.sum(a)};MathHelper.variance=function(e){e=wijmo_1.asArray(e,!1);var t,r=MathHelper.avg(e);t=e.map((function(e){return e-r}));return MathHelper.sumOfSquares(t)/(e.length-1)};MathHelper.covariance=function(e,t){e=wijmo_1.asArray(e,!1);t=wijmo_1.asArray(t,!1);wijmo_1.assert(e.length===t.length,"Length of arrays must be equal");var r,i=MathHelper.avg(e),n=MathHelper.avg(t),a=e.length,o=0;for(r=0;r<a;r++)o+=(e[r]-i)*(t[r]-n)/a;return o};MathHelper.min=function(e){return Math.min.apply(Math,wijmo_1.asArray(e,!1))};MathHelper.max=function(e){return Math.max.apply(Math,wijmo_1.asArray(e,!1))};MathHelper.square=function(e){return Math.pow(wijmo_1.asNumber(e,!1),2)};MathHelper.sumOfSquares=function(e){return MathHelper.sumOfPow(e,2)};MathHelper.stdDev=function(e){return Math.sqrt(MathHelper.variance(e))};return MathHelper}();!function(e){e[e.Linear=0]="Linear";e[e.Exponential=1]="Exponential";e[e.Logarithmic=2]="Logarithmic";e[e.Power=3]="Power";e[e.Fourier=4]="Fourier";e[e.Polynomial=5]="Polynomial";e[e.MinX=6]="MinX";e[e.MinY=7]="MinY";e[e.MaxX=8]="MaxX";e[e.MaxY=9]="MaxY";e[e.AverageX=10]="AverageX";e[e.AverageY=11]="AverageY"}(TrendLineFitType=exports.TrendLineFitType||(exports.TrendLineFitType={}));var TrendLine=function(e){__extends(TrendLine,e);function TrendLine(t){var r=e.call(this)||this;r._minX=null;r._maxX=null;r._fitType=TrendLineFitType.Linear;r._order=2;r.initialize(t);return r}Object.defineProperty(TrendLine.prototype,"fitType",{get:function(){return this._fitType},set:function(e){if((e=wijmo_1.asEnum(e,TrendLineFitType,!1))!=this._fitType){this._fitType=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(TrendLine.prototype,"order",{get:function(){return this._order},set:function(e){if(e!=this._order){this._order=wijmo_1.asNumber(e,!1,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(TrendLine.prototype,"minX",{get:function(){return this._minX},set:function(e){if(e!=this._minX){this._minX=wijmo_1.asNumber(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(TrendLine.prototype,"maxX",{get:function(){return this._maxX},set:function(e){if(e!=this._maxX){this._maxX=wijmo_1.asNumber(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(TrendLine.prototype,"coefficients",{get:function(){return this._helper?this._helper.coefficients:null},enumerable:!0,configurable:!0});TrendLine.prototype.approximate=function(e){return this._helper?this._helper.approximate(e):NaN};TrendLine.prototype.getEquation=function(e){return(this._helper?this._helper.getEquation(e):"").replace(/\S(\+|-)\d/g,(function(e){return e[0]+" "+e[1]+" "+e[2]}))};TrendLine.prototype._calculateValues=function(){var e=TrendLineFitType[this._fitType];if(TrendLineHelper[e]){var t=!1,r=this._originXValues;if(0==this._chart._xvals.length&&this._chart._xlabels.length>0){r=this._originXValues.map((function(e){return e+1}));t=!0}var i=new TrendLineHelper[e](this._originYValues,r,this.sampleCount,this.order);null!==this.minX&&(i.xMin=this.minX);null!==this.maxX&&(i.xMax=this.maxX);i._isXString=t;var n=i.calculateValues();this._yValues=n[0];this._xValues=n[1];this._helper=i}};return TrendLine}(TrendLineBase);exports.TrendLine=TrendLine;var Calculator=function(){function Calculator(e,t){this._x=e;this._y=t}Object.defineProperty(Calculator.prototype,"x",{get:function(){return this._x},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"y",{get:function(){return this._y},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"minX",{get:function(){null==this._minX&&(this._minX=MathHelper.min(this._x));return this._minX},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"minY",{get:function(){null==this._minY&&(this._minY=MathHelper.min(this._y));return this._minY},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"maxX",{get:function(){null==this._maxX&&(this._maxX=MathHelper.max(this._x));return this._maxX},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"maxY",{get:function(){null==this._maxY&&(this._maxY=MathHelper.max(this._y));return this._maxY},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"averageX",{get:function(){null==this._averageX&&(this._averageX=MathHelper.avg(this._x));return this._averageX},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"averageY",{get:function(){null==this._averageY&&(this._averageY=MathHelper.avg(this._y));return this._averageY},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"sumX",{get:function(){null==this._sumX&&(this._sumX=MathHelper.sum(this._x));return this._sumX},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"sumY",{get:function(){null==this._sumY&&(this._sumY=MathHelper.sum(this._y));return this._sumY},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"LogX",{get:function(){null==this._logX&&(this._logX=this._x.map((function(e){return Math.log(e)})));return this._logX},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"LogY",{get:function(){null==this._logY&&(this._logY=this._y.map((function(e){return Math.log(e)})));return this._logY},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"sumLogX",{get:function(){null==this._sumLogX&&(this._sumLogX=MathHelper.sum(this.LogX));return this._sumLogX},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"sumLogY",{get:function(){null==this._sumLogY&&(this._sumLogY=MathHelper.sum(this.LogY));return this._sumLogY},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"sumOfSquareX",{get:function(){null==this._sumOfSquareX&&(this._sumOfSquareX=MathHelper.sumOfSquares(this._x));return this._sumOfSquareX},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"sumOfSquareY",{get:function(){null==this._sumOfSquareY&&(this._sumOfSquareY=MathHelper.sumOfSquares(this._y));return this._sumOfSquareY},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"sumOfSquareLogX",{get:function(){null==this._sumOfSquareLogX&&(this._sumOfSquareLogX=MathHelper.sumOfSquares(this.LogX));return this._sumOfSquareLogX},enumerable:!0,configurable:!0});Object.defineProperty(Calculator.prototype,"sumOfSquareLogY",{get:function(){null==this._sumOfSquareLogY&&(this._sumOfSquareLogY=MathHelper.sumOfSquares(this.LogY));return this._sumOfSquareLogY},enumerable:!0,configurable:!0});Calculator.prototype.sumProduct=function(e,t){null==this._sumProduct&&(this._sumProduct=MathHelper.sumProduct(e,t));return this._sumProduct};return Calculator}(),TrendHelperBase=function(){function TrendHelperBase(e,t,r){this._coefficients=[];this.y=wijmo_1.asArray(e);this.x=wijmo_1.asArray(t);wijmo_1.assert(e.length===t.length,"Length of X and Y arrays are not equal");this.count=r||e.length;this._calculator=new Calculator(t,e);this.xMin=this._calculator.minX;this.xMax=this._calculator.maxX}Object.defineProperty(TrendHelperBase.prototype,"calculator",{get:function(){return this._calculator},enumerable:!0,configurable:!0});Object.defineProperty(TrendHelperBase.prototype,"y",{get:function(){return this._y},set:function(e){e!==this.y&&(this._y=wijmo_1.asArray(e,!1))},enumerable:!0,configurable:!0});Object.defineProperty(TrendHelperBase.prototype,"x",{get:function(){return this._x},set:function(e){e!==this.x&&(this._x=wijmo_1.asArray(e,!1))},enumerable:!0,configurable:!0});Object.defineProperty(TrendHelperBase.prototype,"count",{get:function(){return this._count},set:function(e){e!==this.count&&(this._count=wijmo_1.asInt(e,!1,!0))},enumerable:!0,configurable:!0});Object.defineProperty(TrendHelperBase.prototype,"xMin",{get:function(){return this._xMin},set:function(e){e!==this.xMin&&(this._xMin=wijmo_1.asNumber(e,!1))},enumerable:!0,configurable:!0});Object.defineProperty(TrendHelperBase.prototype,"xMax",{get:function(){return this._xMax},set:function(e){e!==this.xMax&&(this._xMax=wijmo_1.asNumber(e,!1))},enumerable:!0,configurable:!0});Object.defineProperty(TrendHelperBase.prototype,"coefficients",{get:function(){return this._coefficients},enumerable:!0,configurable:!0});TrendHelperBase.prototype._calculateCoefficients=function(){var e=this.calcB(),t=this.calcA(e);this._coefficients.push(t,e)};TrendHelperBase.prototype.calculateValues=function(){for(var e=(this.xMax-this.xMin)/(this.count-1),t=[[],[]],r=0;r<this.count;r++){var i=this.xMin+e*r,n=this.calcY(i);t[0].push(n);this._isXString?t[1].push(i-1):t[1].push(i)}return t};TrendHelperBase.prototype.calcA=function(e){var t=this.y.length,r=this.calculator.sumX;return(this.calculator.sumY-(e||this.calcB())*r)/t};TrendHelperBase.prototype.calcB=function(){var e=this.y.length,t=this.calculator,r=t.sumProduct(t.x,t.y),i=t.sumX;return(e*r-i*t.sumY)/(e*t.sumOfSquareX-MathHelper.square(i))};TrendHelperBase.prototype.calcY=function(e){var t=this.coefficients;return t[0]+t[1]*e};TrendHelperBase.prototype.approximate=function(e){return this.calcY(e)};TrendHelperBase.prototype.getEquation=function(e){var t=e||this._defaultEquationFmt;return this._getEquation(t)};TrendHelperBase.prototype._getEquation=function(e){var t=this.coefficients,r=[];t.forEach((function(t){r.push(e(t))}));return this._concatEquation(r)};TrendHelperBase.prototype._concatEquation=function(e){return""};TrendHelperBase.prototype._defaultEquationFmt=function(e){var t,r=Math.abs(e),i=String(r),n=0;if(r>=1e5){t=String(Math.round(r)).length-1;return Math.round(e/Number("1e"+t))+"e"+t}if(r<1e-4){t=i.indexOf("e")>-1?Math.abs(+i.substring(i.indexOf("e")+1)):i.match(/\.0+/)[0].length;return Math.round(e*Number("1e"+t))+"e-"+t}n=e>0?6:7;r>=1e4&&n--;return String(+String(e).substring(0,n))};return TrendHelperBase}(),LinearHelper=function(e){__extends(LinearHelper,e);function LinearHelper(t,r,i,n){var a=e.call(this,t,r,i)||this;a._calculateCoefficients();a.yOffset=n;return a}Object.defineProperty(LinearHelper.prototype,"yOffset",{get:function(){return this._yOffset},set:function(e){e!==this.yOffset&&(this._yOffset=wijmo_1.asNumber(e,!0))},enumerable:!0,configurable:!0});LinearHelper.prototype.calcA=function(t){return null!=this.yOffset?this.yOffset:e.prototype.calcA.call(this,t)};LinearHelper.prototype.calcB=function(){return null!=this.yOffset?this._calculateBSimple():e.prototype.calcB.call(this)};LinearHelper.prototype._calculateBSimple=function(){var e=this.calculator,t=e.sumProduct(e.x,e.y),r=e.sumX,i=e.sumOfSquareX;return(t-this.yOffset*r)/i};LinearHelper.prototype._calculateCoefficients=function(){var e=this.calcB(),t=this.calcA(e);this.coefficients.push(e,t)};LinearHelper.prototype.calcY=function(e){var t=this.coefficients;return t[0]*e+t[1]};LinearHelper.prototype._concatEquation=function(e){return"y = "+e[0]+"x"+(this.coefficients[1]>=0?"+":"")+e[1]};return LinearHelper}(TrendHelperBase),LogHelper=function(e){__extends(LogHelper,e);function LogHelper(t,r,i){var n=e.call(this,t,r,i)||this;n._calculateCoefficients();return n}LogHelper.prototype.calcA=function(e){var t=this.y.length,r=this.calculator,i=r.sumY,n=r.sumLogX;return(i-(e||this.calcB())*n)/t};LogHelper.prototype.calcB=function(){var e=this.y.length,t=this.calculator,r=t.sumProduct(t.y,t.LogX),i=t.sumY,n=t.sumLogX;return(e*r-i*n)/(e*t.sumOfSquareLogX-MathHelper.square(n))};LogHelper.prototype._calculateCoefficients=function(){var e=this.calcB(),t=this.calcA(e);this.coefficients.push(e,t)};LogHelper.prototype.calcY=function(e){var t=this.coefficients;return Math.log(e)*t[0]+t[1]};LogHelper.prototype._concatEquation=function(e){return"y = "+e[0]+"ln(x)"+(this.coefficients[1]>=0?"+":"")+e[1]};return LogHelper}(TrendHelperBase),ExpHelper=function(e){__extends(ExpHelper,e);function ExpHelper(t,r,i){var n=e.call(this,t,r,i)||this;n._calculateCoefficients();return n}ExpHelper.prototype.calcA=function(){var e=this.y.length,t=this.calculator,r=t.sumLogY,i=t.sumOfSquareX,n=t.sumX,a=t.sumProduct(t.x,t.LogY);return Math.exp((r*i-n*a)/(e*i-MathHelper.square(n)))};ExpHelper.prototype.calcB=function(){var e=this.y.length,t=this.calculator,r=t.sumLogY,i=t.sumOfSquareX,n=t.sumX;return(e*t.sumProduct(t.x,t.LogY)-n*r)/(e*i-MathHelper.square(n))};ExpHelper.prototype.calcY=function(e){var t=this.coefficients;return t[0]*Math.exp(t[1]*e)};ExpHelper.prototype._concatEquation=function(e){return"y = "+e[0]+"e<sup>"+e[1]+"x</sup>"};return ExpHelper}(TrendHelperBase),PowerHelper=function(e){__extends(PowerHelper,e);function PowerHelper(t,r,i){var n=e.call(this,t,r,i)||this;n._calculateCoefficients();return n}PowerHelper.prototype.calcA=function(e){var t=this.calculator,r=this.y.length,i=t.sumLogX,n=t.sumLogY,a=e||this.calcB();return Math.exp((n-a*i)/r)};PowerHelper.prototype.calcB=function(){var e=this.y.length,t=this.calculator,r=t.sumProduct(t.LogX,t.LogY),i=t.sumLogX;return(e*r-i*t.sumLogY)/(e*t.sumOfSquareLogX-MathHelper.square(i))};PowerHelper.prototype.calcY=function(e){var t=this.coefficients;return t[0]*Math.pow(e,t[1])};PowerHelper.prototype._concatEquation=function(e){return"y = "+e[0]+"x<sup>"+e[1]+"</sup>"};return PowerHelper}(TrendHelperBase),LeastSquaresHelper=function(e){__extends(LeastSquaresHelper,e);function LeastSquaresHelper(t,r,i,n){var a=e.call(this,t,r,i)||this;a._order=null==n?2:n;a._basis=[];a._calculateCoefficients();return a}Object.defineProperty(LeastSquaresHelper.prototype,"basis",{get:function(){return this._basis},enumerable:!0,configurable:!0});Object.defineProperty(LeastSquaresHelper.prototype,"order",{get:function(){return this._order},set:function(e){this._order=wijmo_1.asNumber(e,!0)},enumerable:!0,configurable:!0});LeastSquaresHelper.prototype._calculateCoefficients=function(){this._coefficients.length=this.order;this._createBasis();this._normalizeAndSolveGauss()};LeastSquaresHelper.prototype._createBasis=function(){var e=this.x.length,t=this.order;if(e<2)throw"Incompatible data: Less than 2 data points.";if(t<1)throw"Incompatible data: Less than 1 coefficient in the fit";if(t>e)throw"Incompatible data: Number of data points less than number of terms"};LeastSquaresHelper.prototype._normalizeAndSolveGauss=function(){var e=[];this._computeNormalEquations(e);this._genDefValForArray(e,0);if(!this._solveGauss(e))throw"Incompatible data: No solution."};LeastSquaresHelper.prototype._genDefValForArray=function(e,t){var r=e.length+1;e.forEach((function(e){for(var i=0;i<r;i++)null==e[i]&&(e[i]=t)}))};LeastSquaresHelper.prototype._computeNormalEquations=function(e){var t,r,i,n,a=this.y,o=this.basis,s=this.order,l=a.length;for(t=0;t<s;t++){i=0;null==e[t]&&(e[t]=[]);a.forEach((function(e,r){i+=e*o[r][t]}));e[t][s]=i;for(r=t;r<s;r++){i=0;for(n=0;n<l;n++)i+=o[n][r]*o[n][t];null==e[r]&&(e[r]=[]);e[r][t]=i;e[t][r]=i}}};LeastSquaresHelper.prototype._solveGauss=function(e){var t,r,i=e.length,n=this._coefficients,a=!0;if(n.length<i||e[0].length<i+1)throw"Dimension of matrix is not correct.";e.some((function(t,n){var o,s,l=n,u=Math.abs(t[n]);for(r=n+1;r<i;r++)if(u<(o=Math.abs(e[r][n]))){u=o;l=r}if(u>0){for(r=n;r<=i;r++){s=e[n][r];e[n][r]=e[l][r];e[l][r]=s}for(l=n+1;l<i;l++){s=e[l][n]/t[n];e[l][n]=0;for(r=n+1;r<=i;r++)e[l][r]-=s*t[r]}return!1}a=!1;return!0}));if(a)for(t=i-1;t>=0;t--){n[t]=e[t][i];for(r=t+1;r<i;r++)n[t]-=e[t][r]*n[r];n[t]=n[t]/e[t][t]}return a};return LeastSquaresHelper}(TrendHelperBase),PolyHelper=function(e){__extends(PolyHelper,e);function PolyHelper(t,r,i,n){return e.call(this,t,r,i,n)||this}Object.defineProperty(PolyHelper.prototype,"coefficients",{get:function(){return this._coefficients.slice(0).reverse()},enumerable:!0,configurable:!0});PolyHelper.prototype.calcY=function(e){var t=this._coefficients,r=0,i=1;t.forEach((function(t,n){n>0&&(i*=e);r+=t*i}));return r};PolyHelper.prototype._calculateCoefficients=function(){this._coefficients;this.order++;0;e.prototype._calculateCoefficients.call(this);0;this.order--};PolyHelper.prototype._createBasis=function(){e.prototype._createBasis.call(this);var t=this.x,r=this.basis,i=this.order;t.forEach((function(e,t){r[t]=[1];for(var n=1;n<=i;n++)r[t][n]=e*r[t][n-1]}))};PolyHelper.prototype._concatEquation=function(e){var t="y = ",r=e.length,i=this.coefficients;e.forEach((function(e,n){var a,o=r-1-n;if(0===o)t+=e;else if(1===o){a=i[n+1]>=0?"+":"";t+=e+"x"+a}else{a=i[n+1]>=0?"+":"";t+=e+"x<sup>"+o+"</sup>"+a}}));return t};return PolyHelper}(LeastSquaresHelper),FourierHelper=function(e){__extends(FourierHelper,e);function FourierHelper(t,r,i,n){n=null==n?r.length:n;return e.call(this,t,r,i,n)||this}FourierHelper.prototype._createBasis=function(){e.prototype._createBasis.call(this);var t=this.x,r=this.basis,i=this.order;t.forEach((function(e,t){var n,a;r[t]=[1];for(n=1;n<i;n++){a=Math.floor((n+1)/2);n%2==1?r[t].push(Math.cos(a*e)):r[t].push(Math.sin(a*e))}}))};FourierHelper.prototype.calcY=function(e){var t;this._coefficients.forEach((function(r,i){var n,a=Math.floor((i+1)/2);if(0===i)t=r;else{n=a*e;t+=i%2==1?r*Math.cos(n):r*Math.sin(n)}}));return t};FourierHelper.prototype._concatEquation=function(e){var t="y = ",r=e.length,i=this.coefficients;e.forEach((function(e,n){var a=n===r-1?"":i[n+1]>=0?"+":"",o=Math.ceil(n/2);if(0===n)t+=e+a;else{var s=n%2==1?"cos":"sin";s+="("+(1===o?"":String(o))+"x)";t+=""+e+s+a}}));return t};return FourierHelper}(LeastSquaresHelper),SimpleTrendHelper=function(e){__extends(SimpleTrendHelper,e);function SimpleTrendHelper(t,r,i){var n=e.call(this,t,r,i)||this;n._calculateCoefficients();return n}SimpleTrendHelper.prototype._setVal=function(e){this._val=e};SimpleTrendHelper.prototype.calcY=function(e){return this._val};return SimpleTrendHelper}(TrendHelperBase),MinXHelper=function(e){__extends(MinXHelper,e);function MinXHelper(t,r,i){return e.call(this,t,r,i)||this}MinXHelper.prototype.calculateValues=function(){var e,t,r=this.xMin,i=MathHelper.min(this.y),n=MathHelper.max(this.y);this._isXString&&(r-=1);e=[r,r];t=[i,n];this._setVal(r);return[t,e]};MinXHelper.prototype.getEquation=function(e){var t=this.xMin;this._isXString&&(t-=1);e&&(t=e(t));return"x = "+t};return MinXHelper}(SimpleTrendHelper),MinYHelper=function(e){__extends(MinYHelper,e);function MinYHelper(t,r,i){return e.call(this,t,r,i)||this}MinYHelper.prototype.calculateValues=function(){var e,t,r=this.xMin,i=this.xMax,n=MathHelper.min(this.y);if(this._isXString){r-=1;i-=1}e=[r,i];t=[n,n];this._setVal(n);return[t,e]};MinYHelper.prototype.getEquation=function(e){var t=MathHelper.min(this.y);e&&(t=e(t));return"y = "+t};return MinYHelper}(SimpleTrendHelper),MaxXHelper=function(e){__extends(MaxXHelper,e);function MaxXHelper(t,r,i){return e.call(this,t,r,i)||this}MaxXHelper.prototype.calculateValues=function(){var e,t,r=this.xMax,i=MathHelper.min(this.y),n=MathHelper.max(this.y);this._isXString&&(r-=1);e=[r,r];t=[i,n];this._setVal(r);return[t,e]};MaxXHelper.prototype.getEquation=function(e){var t=this.xMax;this._isXString&&(t-=1);e&&(t=e(t));return"x = "+t};return MaxXHelper}(SimpleTrendHelper),MaxYHelper=function(e){__extends(MaxYHelper,e);function MaxYHelper(t,r,i){return e.call(this,t,r,i)||this}MaxYHelper.prototype.calculateValues=function(){var e,t,r=this.xMin,i=this.xMax,n=MathHelper.max(this.y);if(this._isXString){r-=1;i-=1}e=[r,i];t=[n,n];this._setVal(n);return[t,e]};MaxYHelper.prototype.getEquation=function(e){var t=MathHelper.max(this.y);e&&(t=e(t));return"y = "+t};return MaxYHelper}(SimpleTrendHelper),AverageXHelper=function(e){__extends(AverageXHelper,e);function AverageXHelper(t,r,i){return e.call(this,t,r,i)||this}AverageXHelper.prototype.calculateValues=function(){var e,t,r=MathHelper.avg(this.x),i=MathHelper.min(this.y),n=MathHelper.max(this.y);this._isXString&&(r-=1);e=[r,r];t=[i,n];this._setVal(r);return[t,e]};AverageXHelper.prototype._getEquation=function(e){var t=MathHelper.avg(this.x);this._isXString&&(t-=1);e&&(t=e(t));return" x = "+t};AverageXHelper.prototype._defaultEquationFmt=function(t){return Math.abs(t)<1e5?e.prototype._defaultEquationFmt.call(this,t):""+MathHelper.round(t,2)};return AverageXHelper}(SimpleTrendHelper),AverageYHelper=function(e){__extends(AverageYHelper,e);function AverageYHelper(t,r,i){return e.call(this,t,r,i)||this}AverageYHelper.prototype.calculateValues=function(){var e,t,r=MathHelper.avg(this.y),i=this.xMin,n=this.xMax;if(this._isXString){i-=1;n-=1}e=[i,n];t=[r,r];this._setVal(r);return[t,e]};AverageYHelper.prototype._getEquation=function(e){return"y = "+e(MathHelper.avg(this.y))};AverageYHelper.prototype._defaultEquationFmt=function(t){return Math.abs(t)<1e5?e.prototype._defaultEquationFmt.call(this,t):""+MathHelper.round(t,2)};return AverageYHelper}(SimpleTrendHelper),TrendLineHelper={TrendHelperBase:TrendHelperBase,Linear:LinearHelper,Exponential:ExpHelper,Logarithmic:LogHelper,Power:PowerHelper,Polynomial:PolyHelper,Fourier:FourierHelper,MinX:MinXHelper,MinY:MinYHelper,MaxX:MaxXHelper,MaxY:MaxYHelper,AverageX:AverageXHelper,AverageY:AverageYHelper},FunctionSeries=function(e){__extends(FunctionSeries,e);function FunctionSeries(t){var r=e.call(this)||this;r._min=0;r._max=1;r.initialize(t);null==r.itemsSource&&(r.itemsSource=[new wijmo_1.Point(0,0)]);return r}Object.defineProperty(FunctionSeries.prototype,"min",{get:function(){return this._min},set:function(e){if(this._min!==e){this._min=wijmo_1.asNumber(e,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FunctionSeries.prototype,"max",{get:function(){return this._max},set:function(e){if(this._max!==e){this._max=wijmo_1.asNumber(e,!1);this._invalidate()}},enumerable:!0,configurable:!0});FunctionSeries.prototype.getValues=function(e){null!=this._xValues&&null!=this._yValues||this._calculateValues();return 0===e?this._yValues||null:1===e?this._xValues||null:void 0};FunctionSeries.prototype._calculateValues=function(){for(var e,t=this.sampleCount,r=[],i=[],n=(this.max-this.min)/(t-1),a=0;a<t;a++){e=a===t-1?this.max:this.min+n*a;r[a]=this._calculateX(e);i[a]=this._calculateY(e)}this._yValues=i;this._xValues=r};FunctionSeries.prototype._validateValue=function(e){return isFinite(e)?e:Number.NaN};FunctionSeries.prototype._calculateValue=function(e,t){var r;try{r=e(t)}catch(e){r=Number.NaN}return this._validateValue(r)};FunctionSeries.prototype._calculateX=function(e){return 0};FunctionSeries.prototype._calculateY=function(e){return 0};return FunctionSeries}(TrendLineBase);exports.FunctionSeries=FunctionSeries;var YFunctionSeries=function(e){__extends(YFunctionSeries,e);function YFunctionSeries(t){return e.call(this,t)||this}Object.defineProperty(YFunctionSeries.prototype,"func",{get:function(){return this._func},set:function(e){if(e&&this._func!==e){this._func=wijmo_1.asFunction(e,!1);this._invalidate()}},enumerable:!0,configurable:!0});YFunctionSeries.prototype._calculateX=function(e){return e};YFunctionSeries.prototype._calculateY=function(e){return this._calculateValue(this.func,e)};YFunctionSeries.prototype.approximate=function(e){return this._calculateValue(this.func,e)};return YFunctionSeries}(FunctionSeries);exports.YFunctionSeries=YFunctionSeries;var ErrorAmount,ErrorBarEndStyle,ErrorBarDirection,ParametricFunctionSeries=function(e){__extends(ParametricFunctionSeries,e);function ParametricFunctionSeries(t){return e.call(this,t)||this}Object.defineProperty(ParametricFunctionSeries.prototype,"xFunc",{get:function(){return this._xFunc},set:function(e){if(e&&this._xFunc!==e){this._xFunc=wijmo_1.asFunction(e,!1);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ParametricFunctionSeries.prototype,"yFunc",{get:function(){return this._yFunc},set:function(e){if(e&&this._yFunc!==e){this._yFunc=wijmo_1.asFunction(e,!1);this._invalidate()}},enumerable:!0,configurable:!0});ParametricFunctionSeries.prototype._calculateX=function(e){return this._calculateValue(this.xFunc,e)};ParametricFunctionSeries.prototype._calculateY=function(e){return this._calculateValue(this.yFunc,e)};ParametricFunctionSeries.prototype.approximate=function(e){var t=this._calculateValue(this.xFunc,e),r=this._calculateValue(this.yFunc,e);return new wijmo_1.Point(t,r)};return ParametricFunctionSeries}(FunctionSeries);exports.ParametricFunctionSeries=ParametricFunctionSeries;!function(e){e[e.FixedValue=0]="FixedValue";e[e.Percentage=1]="Percentage";e[e.StandardDeviation=2]="StandardDeviation";e[e.StandardError=3]="StandardError";e[e.Custom=4]="Custom"}(ErrorAmount=exports.ErrorAmount||(exports.ErrorAmount={}));!function(e){e[e.Cap=0]="Cap";e[e.NoCap=1]="NoCap"}(ErrorBarEndStyle=exports.ErrorBarEndStyle||(exports.ErrorBarEndStyle={}));!function(e){e[e.Both=0]="Both";e[e.Minus=1]="Minus";e[e.Plus=2]="Plus"}(ErrorBarDirection=exports.ErrorBarDirection||(exports.ErrorBarDirection={}));var ErrorBar=function(e){__extends(ErrorBar,e);function ErrorBar(t){var r=e.call(this)||this;r._errorAmount=ErrorAmount.FixedValue;r._endStyle=ErrorBarEndStyle.Cap;r._direction=ErrorBarDirection.Both;r.rendering.addHandler(r._rendering,r);r.initialize(t);return r}Object.defineProperty(ErrorBar.prototype,"value",{get:function(){return this._value},set:function(e){if(e!=this._value){this._value=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ErrorBar.prototype,"errorAmount",{get:function(){return this._errorAmount},set:function(e){if((e=wijmo_1.asEnum(e,ErrorAmount,!0))!=this._errorAmount){this._errorAmount=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ErrorBar.prototype,"errorBarStyle",{get:function(){return this._errorBarStyle},set:function(e){if(e!=this._errorBarStyle){this._errorBarStyle=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ErrorBar.prototype,"endStyle",{get:function(){return this._endStyle},set:function(e){if((e=wijmo_1.asEnum(e,ErrorBarEndStyle,!0))!=this._endStyle){this._endStyle=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ErrorBar.prototype,"direction",{get:function(){return this._direction},set:function(e){if((e=wijmo_1.asEnum(e,ErrorBarDirection,!0))!=this._direction){this._direction=e;this._invalidate()}},enumerable:!0,configurable:!0});ErrorBar.prototype.getDataRect=function(e,t){if(!e)return null;this._chart;var r,i=this.errorAmount,n=0,a=0;this._paddings=[];this._calculateErrorValue();var o,s,l=this.getValues(0),u=e.top,h=e.bottom;if(!l)return e;var c=this._value||0;for(o=0,r=l.length;o<r;o++){var f={plus:0,val:0,minus:0};s=l[o];switch(i){case ErrorAmount.Custom:(f=this._getCustomValue(o)).val=s;this._paddings.push(f);break;case ErrorAmount.FixedValue:this._paddings.push({plus:c,minus:c,val:s});break;case ErrorAmount.Percentage:this._paddings.push({plus:s*c,minus:s*c,val:s});break;case ErrorAmount.StandardDeviation:this._paddings.push({plus:this._errorValue*c,minus:this._errorValue*c,val:s});break;case ErrorAmount.StandardError:this._paddings.push({plus:this._errorValue,minus:this._errorValue,val:s})}(isNaN(u)||u>s-f.minus)&&(u=s-f.minus);(isNaN(h)||h<s+f.plus)&&(h=s+f.plus)}switch(i){case ErrorAmount.FixedValue:n=c;a=c;break;case ErrorAmount.Percentage:n=u*c;a=h*c;break;case ErrorAmount.StandardDeviation:n=this._errorValue*c;a=this._errorValue*c;break;case ErrorAmount.StandardError:n=this._errorValue;a=this._errorValue}this._showPlus&&(h+=a);this._showMinus&&(u-=n);return new wijmo_1.Rect(e.left,u,e.width,h-u)};ErrorBar.prototype._getCustomValue=function(e){var t,r=this.value,i={minus:0,val:0,plus:0};if(null!=this._minusBindingValues||null!=this._plusBindingValues){i.minus=this._minusBindingValues&&this._minusBindingValues[e]||0;i.plus=this._plusBindingValues&&this._plusBindingValues[e]||0;return i}if(null==r)return i;if(wijmo_1.isArray(r)){(t=r[e])&&t.minus&&(i.minus=t.minus);t&&t.plus&&(i.plus=t.plus)}else if(wijmo_1.isNumber(r)){i.minus=r;i.plus=r}else{r.minus&&(i.minus=r.minus);r.plus&&(i.plus=r.plus)}return i};ErrorBar.prototype._calculateErrorValue=function(){var e=0,t=0,r=0;if(this._errorAmount===ErrorAmount.StandardDeviation||this._errorAmount===ErrorAmount.StandardError){var i=this.getValues(0);if(null!=i){i.forEach((function(r){e+=r;t++}));r=e/t;this._mean=r;e=0;i.forEach((function(t){e+=Math.pow(t-r,2)}));this._errorValue=Math.sqrt(e/(t-1))}this._errorAmount==ErrorAmount.StandardError&&(this._errorValue=this._errorValue/Math.sqrt(t))}};ErrorBar.prototype._clearValues=function(){this.__errorValue=null;this._mean=null;this._plusBindingValues=null;this._minusBindingValues=null;e.prototype._clearValues.call(this)};ErrorBar.prototype.getValues=function(t){if(0==t&&this.errorAmount===ErrorAmount.Custom){var r=this._getBinding(1),i=this._getBinding(2);if((null==this._plusBindingValues||null==this._minusBindingValues)&&r&&i)if(null!=this._cv){if(r){var n=this._bindValues(this._cv.items,r);this._plusBindingValues=n.values}if(i){var a=this._bindValues(this._cv.items,i);this._minusBindingValues=a.values}}else if(null!=this.binding&&null!=this._chart&&null!=this._chart.collectionView){if(r){n=this._bindValues(this._chart.collectionView.items,r);this._plusBindingValues=n.values}if(i){a=this._bindValues(this._chart.collectionView.items,i);this._minusBindingValues=a.values}}}return e.prototype.getValues.call(this,t)};Object.defineProperty(ErrorBar.prototype,"_chart",{get:function(){return this.__chart},set:function(e){e!==this.__chart&&(this.__chart=e)},enumerable:!0,configurable:!0});Object.defineProperty(ErrorBar.prototype,"_errorValue",{get:function(){return this.__errorValue},set:function(e){e!=this.__errorValue&&(this.__errorValue=e)},enumerable:!0,configurable:!0});Object.defineProperty(ErrorBar.prototype,"_showPlus",{get:function(){return this.direction===ErrorBarDirection.Both||this.direction===ErrorBarDirection.Plus},enumerable:!0,configurable:!0});Object.defineProperty(ErrorBar.prototype,"_showMinus",{get:function(){return this.direction===ErrorBarDirection.Both||this.direction===ErrorBarDirection.Minus},enumerable:!0,configurable:!0});ErrorBar.prototype._rendering=function(e,t){var r=this;this._errorBarEles=[];t.cancel=!0;var i=this.chart,n=i._plotRect,a=this._getAxisY(),o=this._getAxisX(),s=(a.origin,t.engine),l=i.series.indexOf(this),u=this._plotter;u.plotSeries(s,o,a,this,i,t.index,t.count,(function(e){var t,h,c,f=r._paddings,p=r._showPlus,_=r._showMinus,m=i._isRotated(),d=r.errorBarStyle&&r.errorBarStyle["stroke-width"]||2;c=(h=m?o:a).actualMax;t=h.convert(c);var y=s.stroke,g=s.strokeWidth;s.stroke="black";s.strokeWidth=1;var v=r.chart._plotrectId;s.startGroup(null,v);e&&e.length&&e.forEach((function(e,i){if(null!=e&&null!=e.x&&null!=e.y){var a=f[i],o=a&&a.minus||0,y=a&&a.plus||0,g=Math.abs(h.convert(c-o)-t),v=Math.abs(h.convert(c+y)-t),b=new wijmo_1.Point(e.x,e.y),x=new wijmo_1.Point(e.x,e.y);if(m){if(r.errorAmount===ErrorAmount.StandardDeviation){e=new wijmo_1.Point(h.convert(r._mean),e.y);b.x=e.x;x.x=e.x}_&&(b.x=b.x-g);p&&(x.x=x.x+v)}else{if(r.errorAmount===ErrorAmount.StandardDeviation){e=new wijmo_1.Point(e.x,h.convert(r._mean));b.y=e.y;x.y=e.y}_&&(b.y=b.y+g);p&&(x.y=x.y-v)}var w=void 0;w=m?new wijmo_1.Rect(b.x,b.y-d,Math.abs(x.x-b.x),2*d):new wijmo_1.Rect(x.x-d,x.y,2*d,Math.abs(x.y-b.y));var P=new wijmo_chart_1._RectArea(w);P.ignoreLabel=!0;var M=new wijmo_chart_1._DataPoint(l,i,i,a.val);P.tag=M;u.hitTester.add(P,l);var S=[s.drawLine(b.x,b.y,x.x,x.y,"error-bar",r.errorBarStyle)];r._errorBarEles[i]=S;if(r.endStyle===ErrorBarEndStyle.Cap){if(p){var B=void 0;if(m){if(x.x<=n.right){B=s.drawLine(x.x,x.y-d,x.x,x.y+d,"error-bar",r.errorBarStyle);S.push(B)}}else if(x.y>=n.top){B=s.drawLine(x.x-d,x.y,x.x+d,x.y,"error-bar",r.errorBarStyle);S.push(B)}}if(_){var H=void 0;if(m){if(b.x>=n.left){H=s.drawLine(b.x,b.y-d,b.x,b.y+d,"error-bar",r.errorBarStyle);S.push(H)}}else if(b.y<=n.bottom){H=s.drawLine(b.x-d,b.y,b.x+d,b.y,"error-bar",r.errorBarStyle);S.push(H)}}}}}));s.endGroup();s.stroke=y;s.strokeWidth=g}))};ErrorBar.prototype.getPlotElement=function(e){if(this.hostElement&&e<this._pointIndexes.length){var t=null==this._errorBarEles[e]?[]:this._errorBarEles[e].slice(),r=this._pointIndexes[e];r<this.hostElement.childNodes.length&&t.push(this.hostElement.childNodes[r]);return t}return null};return ErrorBar}(wijmo_chart_1.Series);exports.ErrorBar=ErrorBar;wijmo_1._addCultureInfo("FlexChartAnalytics",{BreakEven:{profitArea:"Profit Area",lossArea:"Loss Area",safetyMargin:"Safety Margin",salesRevenue:"Sales Revenue",totalCost:"Total Cost",fixedCost:"Fixed Cost",variableCost:"Variable Cost",marginalProfit:"Marginal Profit",breakEven:"Break Even"}});var QuartileCalculation,BreakEven=function(e){__extends(BreakEven,e);function BreakEven(t){var r=e.call(this)||this;r.rendering.addHandler(r._rendering,r);r.style={fill:"rgba(0,255,0,0.5)",strokeWidth:0};r.altStyle={fill:"rgba(255,0,0,0.5)",strokeWidth:0};r.tooltipContent="{y}";r.initialize(t);r._chartType=wijmo_chart_1.ChartType.Line;var i=wijmo_1.culture.FlexChartAnalytics.BreakEven;r.name=i.profitArea+","+i.lossArea+","+i.safetyMargin+","+i.salesRevenue+","+i.totalCost+","+i.fixedCost+","+i.variableCost+","+i.marginalProfit+","+i.breakEven;return r}Object.defineProperty(BreakEven.prototype,"fixedCost",{get:function(){return this._fixedCost},set:function(e){if(e!=this._fixedCost){this._fixedCost=wijmo_1.asNumber(e,!0,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BreakEven.prototype,"variableCost",{get:function(){return this._variableCost},set:function(e){if(e!=this._variableCost){this._variableCost=wijmo_1.asNumber(e,!0,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BreakEven.prototype,"salesPrice",{get:function(){return this._salesPrice},set:function(e){if(e!=this._salesPrice){this._salesPrice=wijmo_1.asNumber(e,!0,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BreakEven.prototype,"styles",{get:function(){return this._styles},set:function(e){if(e!==this._styles){this._styles=e;this._invalidate()}},enumerable:!0,configurable:!0});BreakEven.prototype.getValues=function(e){var t=this.salesPrice-this.variableCost;if(0==t)return null;for(var r=1.3*(this.fixedCost/t),i=[],n=0;n<10;n++)0==e?i.push(n*r/10*this.salesPrice):1==e&&i.push(n*r/10);return i};BreakEven.prototype._rendering=function(e,t){this.chart._plotRect;var r=t.engine,i=this.chart.axisX,n=this.chart.axisY,a=this.getValues(1),o=this.getValues(0),s=this.salesPrice-this.variableCost,l=this.fixedCost/s,u=this.fixedCost+o[o.length-1]-s*a[a.length-1],h=this.chart._plotrectId;r.startGroup(null,h);if(this.style&&this.style.fill){r.fill=this.style.fill;r.drawPolygon([i.convert(a[a.length-1]),i.convert(l),i.convert(a[a.length-1])],[n.convert(o[o.length-1]),n.convert(l*this.salesPrice),n.convert(u)]);r.fill=null}if(this.altStyle&&this.altStyle.fill){r.fill=this.altStyle.fill;r.drawPolygon([i.convert(a[0]),i.convert(l),i.convert(a[0])],[n.convert(0),n.convert(l*this.salesPrice),n.convert(this.fixedCost)]);r.fill=null}var c=this.styles?this.styles.safetyMargin:void 0,f=this.styles?this.styles.salesRevenue:void 0,p=this.styles?this.styles.totalCost:void 0,_=this.styles?this.styles.fixedCost:void 0,m=this.styles?this.styles.variableCost:void 0,d=this.styles?this.styles.marginalProfit:void 0,y=this.styles?this.styles.breakEven:void 0;if(c&&c.fill){r.fill=c.fill;r.drawPolygon([i.convert(a[a.length-1]),i.convert(l),i.convert(a[a.length-1])],[n.convert(a[a.length-1]*(this.salesPrice-this.variableCost)),n.convert(this.fixedCost),n.convert(this.fixedCost)]);r.fill=null}if(f){this._setStyle(r,f);r.drawLine(i.convert(0),n.convert(0),i.convert(a[a.length-1]),n.convert(o[o.length-1]))}if(p){this._setStyle(r,p);r.drawLine(i.convert(a[0]),n.convert(this.fixedCost),i.convert(a[a.length-1]),n.convert(u))}if(_){this._setStyle(r,_);r.drawLine(i.convert(a[0]),n.convert(this.fixedCost),i.convert(a[a.length-1]),n.convert(this.fixedCost))}if(m){this._setStyle(r,m);r.drawLine(i.convert(a[0]),n.convert(0),i.convert(a[a.length-1]),n.convert(a[a.length-1]*this.variableCost))}if(d){this._setStyle(r,d);r.drawLine(i.convert(a[0]),n.convert(0),i.convert(a[a.length-1]),n.convert(a[a.length-1]*(this.salesPrice-this.variableCost)))}if(y){this._setStyle(r,y);r.drawLine(i.convert(l),n.convert(0),i.convert(l),n.convert(l*this.salesPrice));r.drawLine(i.convert(0),n.convert(l*this.salesPrice),i.convert(l),n.convert(l*this.salesPrice))}r.endGroup()};BreakEven.prototype._setStyle=function(e,t){e.stroke=t.stroke;e.strokeWidth=t.strokeWidth?t.strokeWidth:3};BreakEven.prototype._getName=function(e){var t;if(this.name)if(this.name.indexOf(",")){var r=this.name.split(",");r&&r.length-1>=e&&(t=r[e].trim())}else t=this.name;return t};BreakEven.prototype.legendItemLength=function(){return 9};BreakEven.prototype._getStyle=function(e){var t=null;switch(e){case 0:t=this.style;break;case 1:t=this.altStyle;break;case 2:t=this.styles?this.styles.safetyMargin:null;break;case 3:t=this.styles?this.styles.salesRevenue:null;break;case 4:t=this.styles?this.styles.totalCost:null;break;case 5:t=this.styles?this.styles.fixedCost:null;break;case 6:t=this.styles?this.styles.variableCost:null;break;case 7:t=this.styles?this.styles.marginalProfit:null;break;case 8:t=this.styles?this.styles.breakEven:null}return t};BreakEven.prototype.measureLegendItem=function(e,t){var r=this._getName(t),i=new wijmo_1.Size(0,0),n=this._getStyle(t);r&&n&&(i=this._measureLegendItem(e,this._getName(t)));return i};BreakEven.prototype.drawLegendItem=function(e,t,r){var i=this._getStyle(r),n=this._getName(r);n&&i&&this._drawLegendItem(e,t,r<3?5:3,n,i,this.symbolStyle)};return BreakEven}(wijmo_chart_1.SeriesBase);exports.BreakEven=BreakEven;!function(e){e[e.InclusiveMedian=0]="InclusiveMedian";e[e.ExclusiveMedian=1]="ExclusiveMedian"}(QuartileCalculation=exports.QuartileCalculation||(exports.QuartileCalculation={}));var BoxWhisker=function(e){__extends(BoxWhisker,e);function BoxWhisker(t){var r=e.call(this)||this;r._groupWidth=.8;r._gapWidth=.1;r._showInnerPoints=!1;r._showOutliers=!1;r._quartileCalculation=QuartileCalculation.InclusiveMedian;r._chartType=wijmo_chart_1.ChartType.Bar;r.rendering.addHandler(r._rendering,r);r.initialize(t);return r}BoxWhisker.prototype._clearValues=function(){e.prototype._clearValues.call(this)};Object.defineProperty(BoxWhisker.prototype,"quartileCalculation",{get:function(){return this._quartileCalculation},set:function(e){if((e=wijmo_1.asEnum(e,QuartileCalculation,!0))!=this._quartileCalculation){this._quartileCalculation=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BoxWhisker.prototype,"groupWidth",{get:function(){return this._groupWidth},set:function(e){if(e!=this._groupWidth&&e>=0&&e<=1){this._groupWidth=wijmo_1.asNumber(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BoxWhisker.prototype,"gapWidth",{get:function(){return this._gapWidth},set:function(e){if(e!=this._gapWidth&&e>=0&&e<=1){this._gapWidth=wijmo_1.asNumber(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BoxWhisker.prototype,"showMeanLine",{get:function(){return this._showMeanLine},set:function(e){if(e!=this._showMeanLine){this._showMeanLine=wijmo_1.asBoolean(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BoxWhisker.prototype,"meanLineStyle",{get:function(){return this._meanLineStyle},set:function(e){if(e!=this._meanLineStyle){this._meanLineStyle=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BoxWhisker.prototype,"showMeanMarker",{get:function(){return this._showMeanMarker},set:function(e){if(e!=this._showMeanMarker){this._showMeanMarker=wijmo_1.asBoolean(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BoxWhisker.prototype,"meanMarkerStyle",{get:function(){return this._meanMarkerStyle},set:function(e){if(e!=this._meanMarkerStyle){this._meanMarkerStyle=e;this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BoxWhisker.prototype,"showInnerPoints",{get:function(){return this._showInnerPoints},set:function(e){if(e!=this._showInnerPoints){this._showInnerPoints=wijmo_1.asBoolean(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(BoxWhisker.prototype,"showOutliers",{get:function(){return this._showOutliers},set:function(e){if(e!=this._showOutliers){this._showOutliers=wijmo_1.asBoolean(e,!0);this._invalidate()}},enumerable:!0,configurable:!0});BoxWhisker.prototype._rendering=function(e,t){var r=this;t.cancel=!0;var i,n,a=this.chart,o=(this.chart,this._getAxisX()),s=this._getAxisY(),l=t.index,u=t.count,h=t.engine,c=this._plotter,f=a.series.indexOf(this),p=wijmo_1.asType(this,wijmo_chart_1.SeriesBase),_=this.quartileCalculation,m=this.showOutliers,d=this.groupWidth,y=(null==this.gapWidth?.2:this.gapWidth)/2;l=l||0;var g=d/(u=u||1),v=this.getValues(0),b=this.getValues(1);if(v){b||(b=c.dataInfo.getXVals());if(b){var x=c.dataInfo.getDeltaX();if(x>0){d*=x;g*=x}}var w=p._getSymbolFill(f),P=p._getAltSymbolFill(f)||w,M=p._getSymbolStroke(f),S=p._getAltSymbolStroke(f)||M,B=v.length;null!=b&&(B=Math.min(B,b.length));var H,L,j=0,E=0,V=c.getItemFormatter(this);if(c.rotated){(j=o.origin||j)<o.actualMin?j=o.actualMin:j>o.actualMax&&(j=o.actualMax);o.convert(j);var T=s.actualMin,O=s.actualMax,_loop_2=function(e){var t=b?b[e]:e,u=v[e];if(null==u||0===u.length)return{value:void 0};c._getSymbolOrigin&&s.convert(c._getSymbolOrigin(j,e));if(c._getSymbolStyles){var p=c._getSymbolStyles(e);w=p&&p.fill?p.fill:w;P=p&&p.fill?p.fill:P;M=p&&p.stroke?p.fill:M;S=p&&p.stroke?p.fill:S}H=u[0]>0?w:P;L=u[0]>0?M:S;h.fill=H;h.stroke=L;if(wijmo_chart_1._DataInfo.isValid(t)&&wijmo_1.isArray(u)&&u.length>0&&wijmo_chart_1._DataInfo.isValid(u[0])){var x=t-.5*d+l*g,B=t-.5*d+(l+1)*g,C=(B-x)*y;B-=C;if((x+=C)<T&&B<T||x>O&&B>O)return"continue";x=s.convert(x);B=s.convert(B);var A=new _BoxPlot(u,_,m),Y={min:o.convert(A.min),max:o.convert(A.max),firstQuartile:o.convert(A.firstQuartile),median:o.convert(A.median),thirdQuartile:o.convert(A.thirdQuartile),mean:o.convert(A.mean),outlierPoints:X._convertPoints(A.outlierPoints,o),innerPoints:X._convertPoints(A.innerPoints,o)},k=new wijmo_1.Rect(Math.min(Y.min,Y.max),Math.min(x,B),Math.abs(Y.max-Y.min),Math.abs(B-x)),q=new wijmo_chart_1._RectArea(k),F={min:Math.min(x,B),median:(x+B)/2,max:Math.max(B,x)};if(V){h.startGroup();var W=new wijmo_chart_1.HitTestInfo(a,new wijmo_1.Point((Y.min+Y.max)/2,F.median),wijmo_chart_1.ChartElement.SeriesSymbol);W._setData(X,e);V(h,W,(function(){r._drawBoxWhisker(h,Y,F,i,n,r);i=Y;n=F}));h.endGroup()}else{X._drawBoxWhisker(h,Y,F,i,n,X);i=Y;n=F}X._setPointIndex(e,E);E++;var N=new wijmo_chart_1._DataPoint(f,e,u,t);N.item=A;q.tag=N;c.hitTester.add(q,f);A.outlierPoints&&A.outlierPoints.length&&A.outlierPoints.forEach((function(e,t){var r=Y.outlierPoints[t],i=new wijmo_chart_1._CircleArea(new wijmo_1.Point(r,k.top+k.height/2),2);i.tag=N;c.hitTester.add(i,f)}))}},X=this;for(Y=0;Y<B;Y++){var C=_loop_2(Y);if("object"==typeof C)return C.value}}else{(j=s.origin||j)<s.actualMin?j=s.actualMin:j>s.actualMax&&(j=s.actualMax);s.convert(j),o.actualMin,o.actualMax;for(var _loop_1=function(e){var t=b?b[e]:e,u=v[e];if(null==u||0===u.length)return{value:void 0};c._getSymbolOrigin&&s.convert(c._getSymbolOrigin(j,e,B));if(c._getSymbolStyles){var p=c._getSymbolStyles(e,B);w=p&&p.fill?p.fill:w;P=p&&p.fill?p.fill:P;M=p&&p.stroke?p.stroke:M;S=p&&p.stroke?p.stroke:S}H=u[0]>0?w:P;L=u[0]>0?M:S;h.fill=H;h.stroke=L;if(wijmo_chart_1._DataInfo.isValid(t)&&wijmo_1.isArray(u)&&u.length>0&&wijmo_chart_1._DataInfo.isValid(u[0])){var x=t-.5*d+l*g,T=t-.5*d+(l+1)*g,O=(T-x)*y;x+=O;T-=O;x=o.convert(x);T=o.convert(T);if(!wijmo_chart_1._DataInfo.isValid(x)||!wijmo_chart_1._DataInfo.isValid(T))return"continue";var X=new _BoxPlot(u,_,m),C={min:s.convert(X.min),max:s.convert(X.max),firstQuartile:s.convert(X.firstQuartile),median:s.convert(X.median),thirdQuartile:s.convert(X.thirdQuartile),mean:s.convert(X.mean),outlierPoints:A._convertPoints(X.outlierPoints,s),innerPoints:A._convertPoints(X.innerPoints,s)},Y=new wijmo_1.Rect(Math.min(x,T),Math.min(C.min,C.max),Math.abs(T-x),Math.abs(C.max-C.min)),k=new wijmo_chart_1._RectArea(Y),q={min:Math.min(x,T),median:(x+T)/2,max:Math.max(x,T)};if(V){h.startGroup();var F=new wijmo_chart_1.HitTestInfo(a,new wijmo_1.Point(q.median,(C.min+C.max)/2),wijmo_chart_1.ChartElement.SeriesSymbol);F._setData(A,e);V(h,F,(function(){r._drawBoxWhisker(h,q,C,i,n,r);i=q;n=C}));h.endGroup()}else{A._drawBoxWhisker(h,q,C,i,n,A);i=q;n=C}A._setPointIndex(e,E);E++;var W=new wijmo_chart_1._DataPoint(f,e,t,u);W.item=X;k.tag=W;c.hitTester.add(k,f);X.outlierPoints&&X.outlierPoints.length&&X.outlierPoints.forEach((function(e,t){var r=C.outlierPoints[t],i=new wijmo_chart_1._CircleArea(new wijmo_1.Point(Y.left+Y.width/2,r),2);i.tag=W;c.hitTester.add(i,f)}))}},A=this,Y=0;Y<B;Y++){var k=_loop_1(Y);if("object"==typeof k)return k.value}}}};BoxWhisker.prototype._convertPoints=function(e,t){return e.map((function(e){return t.convert(e)}))};BoxWhisker.prototype._drawBoxWhisker=function(e,t,r,i,n,a){var o=a.symbolStyle,s=this.showInnerPoints,l=this.showOutliers,u=this.showMeanLine,h=this.meanLineStyle,c=this.showMeanMarker,f=this.meanMarkerStyle,p=this._plotter;e.startGroup("box-plot");e.strokeWidth=1;if(p.rotated){e.drawLine(t.min,(r.min+r.median)/2,t.min,(r.max+r.median)/2,null,o);e.drawLine(t.min,r.median,t.firstQuartile,r.median,null,o);e.drawRect(Math.min(t.firstQuartile,t.thirdQuartile),Math.min(r.min,r.max),Math.abs(t.thirdQuartile-t.firstQuartile),Math.abs(r.max-r.min),null,o);e.drawLine(t.median,r.min,t.median,r.max,null,o);e.drawLine(t.max,r.median,t.thirdQuartile,r.median,null,o);e.drawLine(t.max,(r.min+r.median)/2,t.max,(r.max+r.median)/2,null,o);u&&i&&n&&e.drawLine(t.mean,r.median,i.mean,n.median,"box-whisker-mean-line",h||o);if(c){var _=Math.abs(r.median-r.min)/2;e.drawLine(t.mean-_,r.median-_,t.mean+_,r.median+_,null,f||o);e.drawLine(t.mean+_,r.median-_,t.mean-_,r.median+_,null,f||o)}l&&t.outlierPoints.forEach((function(t){e.drawPieSegment(t,r.median,2,0,2*Math.PI,null,o)}));s&&t.innerPoints.forEach((function(t){e.drawPieSegment(t,r.median,2,0,2*Math.PI,null,o)}))}else{e.drawLine((t.min+t.median)/2,r.min,(t.max+t.median)/2,r.min,null,o);e.drawLine(t.median,r.min,t.median,r.firstQuartile,null,o);e.drawRect(Math.min(t.min,t.max),Math.min(r.firstQuartile,r.thirdQuartile),Math.abs(t.max-t.min),Math.abs(r.thirdQuartile-r.firstQuartile),null,o);e.drawLine(t.min,r.median,t.max,r.median,null,o);e.drawLine(t.median,r.max,t.median,r.thirdQuartile,null,o);e.drawLine((t.min+t.median)/2,r.max,(t.max+t.median)/2,r.max,null,o);u&&i&&n&&e.drawLine(t.median,r.mean,i.median,n.mean,"box-whisker-mean-line",h||o);if(c){_=Math.abs(t.median-t.min)/2;e.drawLine(t.median-_,r.mean-_,t.median+_,r.mean+_,null,f||o);e.drawLine(t.median-_,r.mean+_,t.median+_,r.mean-_,null,f||o)}l&&r.outlierPoints.forEach((function(r){e.drawPieSegment(t.median,r,2,0,2*Math.PI,null,o)}));s&&r.innerPoints.forEach((function(r){e.drawPieSegment(t.median,r,2,0,2*Math.PI,null,o)}))}e.endGroup()};BoxWhisker.prototype._renderLabels=function(e,t,r,i){var n=this,a=this._plotter,o=t.length,s=r.dataLabel,l=s.border,u=s.offset,h=s.connectingLine,c="dataY";a.rotated&&(c="dataX");void 0===u&&(u=h?16:0);l&&(u-=2);for(var f=[],_loop_3=function(a){var o=t[a],l=o.tag,h=wijmo_1.asType(l,wijmo_chart_1._DataPoint,!0);if(h&&-1==f.indexOf(h)){f.push(h);var _=l.item,m=l.y;l[c]=_.min;l.yfmt=_.min;l.y=_.min;p._plotter._renderLabel(e,o,h,r,s,p,u,i);l[c]=_.firstQuartile;l.yfmt=_.firstQuartile;l.y=_.firstQuartile;p._plotter._renderLabel(e,o,h,r,s,p,u,i);l[c]=_.median;l.yfmt=_.median;l.y=_.median;p._plotter._renderLabel(e,o,h,r,s,p,u,i);l[c]=_.thirdQuartile;l.yfmt=_.thirdQuartile;l.y=_.thirdQuartile;p._plotter._renderLabel(e,o,h,r,s,p,u,i);l[c]=_.max;l.yfmt=_.max;l.y=_.max;p._plotter._renderLabel(e,o,h,r,s,p,u,i);if(p.showMeanMarker){var d=Number(_.mean.toFixed(2));l[c]=d;l.yfmt=d;l.y=d;p._plotter._renderLabel(e,o,h,r,s,p,u,i)}_.showOutliers&&_.outlierPoints&&_.outlierPoints.forEach((function(t){l[c]=t;l.yfmt=t;l.y=t;n._plotter._renderLabel(e,o,h,r,s,n,u,i)}));l.y=m}},p=this,_=0;_<o;_++)_loop_3(_)};return BoxWhisker}(wijmo_chart_1.SeriesBase);exports.BoxWhisker=BoxWhisker;var _BoxPlot=function(){function _BoxPlot(e,t,r){this._outlierPoints=[];this._innerPoints=[];this._data=e;this._quartileCalculation=t;this._showOutliers=r;this._parse()}Object.defineProperty(_BoxPlot.prototype,"showOutliers",{get:function(){return this._showOutliers},enumerable:!0,configurable:!0});Object.defineProperty(_BoxPlot.prototype,"min",{get:function(){return this._min},enumerable:!0,configurable:!0});Object.defineProperty(_BoxPlot.prototype,"max",{get:function(){return this._max},enumerable:!0,configurable:!0});Object.defineProperty(_BoxPlot.prototype,"mean",{get:function(){return this._mean},enumerable:!0,configurable:!0});Object.defineProperty(_BoxPlot.prototype,"firstQuartile",{get:function(){return this._firstQuartile},enumerable:!0,configurable:!0});Object.defineProperty(_BoxPlot.prototype,"thirdQuartile",{get:function(){return this._thirdQuartile},enumerable:!0,configurable:!0});Object.defineProperty(_BoxPlot.prototype,"median",{get:function(){return this._median},enumerable:!0,configurable:!0});Object.defineProperty(_BoxPlot.prototype,"outlierPoints",{get:function(){return this._outlierPoints},enumerable:!0,configurable:!0});Object.defineProperty(_BoxPlot.prototype,"innerPoints",{get:function(){return this._innerPoints},enumerable:!0,configurable:!0});_BoxPlot.prototype._parse=function(){var e=this,t=this._data.length,r=this._data,i=0;this._outlierPoints=[];this._innerPoints=[];r.sort((function(e,t){return e-t}));r.some((function(t){if(null==t)return!1;e._min=t;return!0}));this._max=null==r[t-1]?0:r[t-1];if(this._quartileCalculation===QuartileCalculation.InclusiveMedian){this._firstQuartile=this._quartileInc(r,.25);this._median=this._quartileInc(r,.5);this._thirdQuartile=this._quartileInc(r,.75)}else{this._firstQuartile=this._quartileExc(r,.25);this._median=this._quartileExc(r,.5);this._thirdQuartile=this._quartileExc(r,.75)}this._iqr=1.5*Math.abs(this._thirdQuartile-this._firstQuartile);var n=this._firstQuartile-this._iqr,a=this._thirdQuartile+this._iqr;if(this._showOutliers){var o=this._max;this._max=this._min;this._min=o;this._data.forEach((function(t){i+=t;if(t<n||t>a)e._outlierPoints.push(t);else{t<e._min&&(e._min=t);t>e._max&&(e._max=t)}}))}else i=this._data.reduce((function(e,t){return e+t}),0);this._innerPoints=this._data.filter((function(t){return t>e._min&&t<e._max}));this._mean=i/t};_BoxPlot.prototype._quartileInc=function(e,t){var r,i,n,a,o=e.length;if(1===o)return e[0];a=(r=(o-1)*t+1)-(i=Math.floor(r));return(n=e[i-1])+(e[i]-n)*a};_BoxPlot.prototype._quartileExc=function(e,t){var r,i,n,a,o=e.length;if(1===o)return e[0];if(2===o)return e[Math.round(t)];a=(r=(o+1)*t)-(i=Math.floor(r));return(n=e[i-1])+(e[i]-n)*a};return _BoxPlot}();exports._BoxPlot=_BoxPlot;wijmo_1._registerModule("wijmo.chart.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.d20260107.t034814
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.d20260107.t034814
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.d20260107.t034814
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.d20260107.t034814
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 n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(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 n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);e.default=t;return e};Object.defineProperty(exports,"__esModule",{value:!0});var AnnotationAttachment,AnnotationPosition,wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),selfModule=__importStar(require("wijmo/wijmo.chart.annotation"));exports.AnnotationClsNames={hostElement:"wj-chart-annotation",layer:"wj-chart-annotationlayer"};exports.GcchartAnnoClsNames={annoShape:"anno-shape",annoText:"anno-text",circle:"gcchart-anno-circle",ellipse:"gcchart-anno-ellipse",gcchartAnnotation:"gcchart-annotation",image:"gcchart-anno-image",line:"gcchart-anno-line",polygon:"gcchart-anno-polygon",rectangle:"gcchart-anno-rectangle",shape:"gcchart-anno-shape",square:"gcchart-anno-square",text:"gcchart-anno-text"};!function(t){t[t.DataIndex=0]="DataIndex";t[t.DataCoordinate=1]="DataCoordinate";t[t.Relative=2]="Relative";t[t.Absolute=3]="Absolute"}(AnnotationAttachment=exports.AnnotationAttachment||(exports.AnnotationAttachment={}));!function(t){t[t.Center=0]="Center";t[t.Top=1]="Top";t[t.Bottom=2]="Bottom";t[t.Left=4]="Left";t[t.Right=8]="Right"}(AnnotationPosition=exports.AnnotationPosition||(exports.AnnotationPosition={}));var AnnotationBase=function(){function AnnotationBase(t){this._resetDefaultValue();this._initOptions(this,t)}Object.defineProperty(AnnotationBase.prototype,"attachment",{get:function(){return this._attachment},set:function(t){if((t=wijmo_1.asEnum(t,AnnotationAttachment))!=this._attachment){this._attachment=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"point",{get:function(){return this._point},set:function(t){if(null!=t.x&&null!=t.y&&(t.x!==this._point.x||t.y!==this._point.y)){this._point=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"seriesIndex",{get:function(){return this._seriesIndex},set:function(t){if((t=wijmo_1.asNumber(t,!1,!0))!=this._seriesIndex){this._seriesIndex=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"pointIndex",{get:function(){return this._pointIndex},set:function(t){if(t!==this._pointIndex){this._pointIndex=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"position",{get:function(){return this._position},set:function(t){if(t!=this._position){this._position=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"offset",{get:function(){return this._offset},set:function(t){if(null!=t.x&&null!=t.y&&(t.x!==this._offset.x||t.y!==this._offset.y)){this._offset=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"style",{get:function(){null==this._style&&(this._style={});return this._style},set:function(t){if(t!=this._style){this._style=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"isVisible",{get:function(){return this._isVisible},set:function(t){if((t=wijmo_1.asBoolean(t,!1))!=this._isVisible){this._isVisible=t;this._toggleVisibility(t)}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"tooltip",{get:function(){return this._tooltip},set:function(t){this._tooltip=t},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!0,configurable:!0});AnnotationBase.prototype.render=function(t){var e;this._element=t.startGroup(this._getCSSClass());t.fill="#88bde6";t.strokeWidth=1;t.stroke="#000000";this._render(t);t.endGroup();this._element[AnnotationBase._DATA_KEY]=this;this._isVisible?this._attachment===AnnotationAttachment.DataIndex&&(!(e=this._layer._chart.series[this._seriesIndex])||e.visibility!==wijmo_chart_1.SeriesVisibility.Legend&&e.visibility!==wijmo_chart_1.SeriesVisibility.Hidden||this._toggleVisibility(!1)):this._toggleVisibility(!1)};AnnotationBase.prototype.destroy=function(){};AnnotationBase.prototype._initOptions=function(t,e){for(var n in e)n in t&&this._processOptions(n,t,e)};AnnotationBase.prototype._processOptions=function(t,e,n){e[t]=n[t]};AnnotationBase.prototype._resetDefaultValue=function(){this._attachment=AnnotationAttachment.Absolute;this._point=new wijmo_chart_1.DataPoint(0,0);this._seriesIndex=0;this._pointIndex=0;this._position=AnnotationPosition.Center;this._offset=new wijmo_1.Point(0,0);this._isVisible=!0;this._tooltip=""};AnnotationBase.prototype._toggleVisibility=function(t){var e=t?"visible":"hidden";this._element&&this._element.setAttribute("visibility",e)};AnnotationBase.prototype._getCSSClass=function(){return AnnotationBase._CSS_ANNOTATION};AnnotationBase.prototype._render=function(t){this._element=null};AnnotationBase.prototype._repaint=function(){this._layer&&this._layer._renderAnnotation(this._layer._chart.renderEngine,this)};AnnotationBase.prototype._convertPoint=function(t){var e,n,i,o,r,s,a,h=this._attachment,_=new wijmo_1.Point;this._layer&&this._layer._chart&&(n=(e=this._layer._chart)._plotRect);switch(h){case AnnotationAttachment.DataIndex:if(!e.series||e.series.length<=this.seriesIndex)break;if(!(s=(r=e.series[this.seriesIndex])._getItem(this.pointIndex)))break;i=r.axisX||e.axisX;o=r.axisY||e.axisY;a=s[r.bindingX]||s.x;var l=s[r._getBinding(0)]||o.actualMin+.25;null!=r._getYOffset&&(l=r._getYOffset(this.pointIndex));if("string"==typeof a){a=this.pointIndex;null!=r._getXOffset&&(a+=r._getXOffset())}_.x=this._convertDataToLen(n.width,i,a);_.y=this._convertDataToLen(n.height,o,l,!0);break;case AnnotationAttachment.DataCoordinate:i=e.axisX;o=e.axisY;_.x=this._convertDataToLen(n.width,i,t.x);_.y=this._convertDataToLen(n.height,o,t.y,!0);break;case AnnotationAttachment.Relative:_.x=n.width*t.x;_.y=n.height*t.y;break;default:_.x=t.x;_.y=t.y}return _};AnnotationBase.prototype._convertDataToLen=function(t,e,n,i){void 0===i&&(i=!1);var o=null==e.min?e.actualMin:e.min,r=null==e.max?e.actualMax:e.max,s=e._getLogBase();e.reversed&&(i=!i);if(s){if(n<=0)return NaN;var a=Math.log(r/o);return i?t*(1-Math.log(n/o)/a):t*Math.log(n/o)/a}return i?t*(1-(n-o)/(r-o)):t*(n-o)/(r-o)};AnnotationBase.prototype._renderCenteredText=function(t,e,n,i,o,r){var s,a;if(this._isValidPoint(n)){o?e.drawStringRotated(t,n,n,o,i,r):e.drawString(t,n,i,r);if(s=this._element.querySelector("text")){a=s.getBBox();s.setAttribute("x",(n.x-a.width/2).toFixed(1));s.setAttribute("y",(n.y+a.height/6).toFixed(1))}}};AnnotationBase.prototype._adjustOffset=function(t,e){t.x=t.x+e.x;t.y=t.y+e.y};AnnotationBase.prototype._getOffset=function(t){var e=this._getPositionOffset(t);return new wijmo_1.Point(this._offset.x+e.x,this._offset.y+e.y)};AnnotationBase.prototype._getPositionOffset=function(t){var e=new wijmo_1.Point(0,0),n=this.position,i=this._getSize(t);(n&AnnotationPosition.Top)===AnnotationPosition.Top?e.y-=i.height/2:(n&AnnotationPosition.Bottom)===AnnotationPosition.Bottom&&(e.y+=i.height/2);(n&AnnotationPosition.Left)===AnnotationPosition.Left?e.x-=i.width/2:(n&AnnotationPosition.Right)===AnnotationPosition.Right&&(e.x+=i.width/2);return e};AnnotationBase.prototype._getSize=function(t){return new wijmo_1.Size};AnnotationBase.prototype._isValidPoint=function(t){return Number.isFinite(t.x)&&Number.isFinite(t.y)};AnnotationBase.prototype._measureString=function(t,e,n){var i,o=t;if(o._textGroup&&null==o._textGroup.parentNode){o._svg.appendChild(o._textGroup);i=o.measureString(e,n,null,this.style);o.endRender()}else i=o.measureString(e,n,null,this.style);return i};AnnotationBase._DATA_KEY=exports.AnnotationClsNames.hostElement;AnnotationBase._CSS_ANNOTATION=exports.GcchartAnnoClsNames.gcchartAnnotation;AnnotationBase._CSS_ANNO_TEXT=exports.GcchartAnnoClsNames.annoText;AnnotationBase._CSS_ANNO_SHAPE=exports.GcchartAnnoClsNames.annoShape;return AnnotationBase}();exports.AnnotationBase=AnnotationBase;var Text=function(t){__extends(Text,t);function Text(e){return t.call(this,e)||this}Text.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._text="";this.position=AnnotationPosition.Top};Text.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Text._CSS_TEXT};Object.defineProperty(Text.prototype,"text",{get:function(){return this._text},set:function(t){if(t!==this._text){this._text=t;this._repaint()}},enumerable:!0,configurable:!0});Text.prototype._render=function(t){var e,n=this._convertPoint(this.point);e=this._getOffset(t);this._adjustOffset(n,e);this._renderCenteredText(this._text,t,n,AnnotationBase._CSS_ANNO_TEXT,null,this.style)};Text.prototype._getSize=function(t){return t?this._measureString(t,this._text,AnnotationBase._CSS_ANNO_TEXT):new wijmo_1.Size};Text._CSS_TEXT=exports.GcchartAnnoClsNames.text;return Text}(AnnotationBase);exports.Text=Text;var Shape=function(t){__extends(Shape,t);function Shape(e){return t.call(this,e)||this}Shape.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._content=""};Shape.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Shape._CSS_SHAPE};Object.defineProperty(Shape.prototype,"content",{get:function(){return this._content},set:function(t){if(t!==this._content){this._content=t;this._repaint()}},enumerable:!0,configurable:!0});Shape.prototype._render=function(t){this._shapeContainer=t.startGroup();t.stroke="#000";this._renderShape(t);t.stroke=null;t.endGroup();this._content&&this._renderText(t)};Shape.prototype._getContentCenter=function(){return this.point};Shape.prototype._renderShape=function(t){};Shape.prototype._renderText=function(t){var e,n;e=this._convertPoint(this._getContentCenter());if(this._isValidPoint(e)){n=this._getOffset();this._adjustOffset(e,n);this._renderCenteredText(this._content,t,e,AnnotationBase._CSS_ANNO_TEXT)}};Shape._CSS_SHAPE=exports.GcchartAnnoClsNames.shape;return Shape}(AnnotationBase);exports.Shape=Shape;var Ellipse=function(t){__extends(Ellipse,t);function Ellipse(e){return t.call(this,e)||this}Object.defineProperty(Ellipse.prototype,"width",{get:function(){return this._width},set:function(t){if(t!==this._width){this._width=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Ellipse.prototype,"height",{get:function(){return this._height},set:function(t){if(t!==this._height){this._height=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Ellipse.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._width=100;this._height=80};Ellipse.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Ellipse._CSS_ELLIPSE};Ellipse.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this._width,o=this._height,r=this._getOffset();this._adjustOffset(n,r);this._isValidPoint(n)&&e.drawEllipse(n.x,n.y,i/2,o/2,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Ellipse.prototype._getSize=function(){return new wijmo_1.Size(this.width,this.height)};Ellipse._CSS_ELLIPSE=exports.GcchartAnnoClsNames.ellipse;return Ellipse}(Shape);exports.Ellipse=Ellipse;var Rectangle=function(t){__extends(Rectangle,t);function Rectangle(e){return t.call(this,e)||this}Object.defineProperty(Rectangle.prototype,"width",{get:function(){return this._width},set:function(t){if(t!==this._width){this._width=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Rectangle.prototype,"height",{get:function(){return this._height},set:function(t){if(t!==this._height){this._height=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Rectangle.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._width=100;this._height=80};Rectangle.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Rectangle._CSS_RECTANGLE};Rectangle.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this._width,o=this._height,r=this._getOffset();this._adjustOffset(n,r);this._isValidPoint(n)&&e.drawRect(n.x-i/2,n.y-o/2,this._width,this._height,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Rectangle.prototype._getSize=function(){return new wijmo_1.Size(this.width,this.height)};Rectangle._CSS_RECTANGLE=exports.GcchartAnnoClsNames.rectangle;return Rectangle}(Shape);exports.Rectangle=Rectangle;var Line=function(t){__extends(Line,t);function Line(e){return t.call(this,e)||this}Object.defineProperty(Line.prototype,"start",{get:function(){return this._start},set:function(t){if(null!=t.x&&null!=t.y&&(t.x!==this._start.x||t.y!==this._start.y)){this._start=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Line.prototype,"end",{get:function(){return this._end},set:function(t){if(null!=t.x&&null!=t.y&&(t.x!==this._end.x||t.y!==this._end.y)){this._end=t;this._repaint()}},enumerable:!0,configurable:!0});Line.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._start=new wijmo_chart_1.DataPoint(0,0);this._end=new wijmo_chart_1.DataPoint(0,0);this.position=AnnotationPosition.Top};Line.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Line._CSS_LINE};Line.prototype._getContentCenter=function(){var t=this.start,e=this.end;return wijmo_1.isDate(t.x)&&wijmo_1.isDate(e.x)?new wijmo_chart_1.DataPoint(new Date((t.x.getTime()+e.x.getTime())/2),(t.y+e.y)/2):new wijmo_chart_1.DataPoint((t.x+e.x)/2,(t.y+e.y)/2)};Line.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n,i=this._convertPoint(this._start),o=this._convertPoint(this._end);this._cS=i;this._cE=o;n=this._getOffset();this._adjustOffset(i,n);this._adjustOffset(o,n);this._isValidPoint(i)&&this._isValidPoint(o)&&e.drawLine(i.x,i.y,o.x,o.y,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Line.prototype._getSize=function(){var t=this._cS,e=this._cE;return new wijmo_1.Size(Math.abs(t.x-e.x),Math.abs(t.y-e.y))};Line.prototype._renderText=function(t){var e,n,i,o=this._cS,r=this._cE;e=this._convertPoint(this._getContentCenter());n=this._getOffset();this._adjustOffset(e,n);if(this._isValidPoint(e)){i=(i=180*Math.atan2(r.y-o.y,r.x-o.x)/Math.PI)<-90?i+180:i>90?i-180:i;this._renderCenteredText(this.content,t,e,AnnotationBase._CSS_ANNO_TEXT,i)}};Line.prototype._renderCenteredText=function(e,n,i,o,r,s){if(null!=r){var a=this._measureString(n,e,o).height/2,h=r*Math.PI/180,_=a*Math.sin(h),l=a*Math.cos(h);i.x=i.x+_;i.y=i.y-l}t.prototype._renderCenteredText.call(this,e,n,i,o,r,s)};Line._CSS_LINE=exports.GcchartAnnoClsNames.line;return Line}(Shape);exports.Line=Line;var Polygon=function(t){__extends(Polygon,t);function Polygon(e){return t.call(this,e)||this}Polygon.prototype._processOptions=function(e,n,i){var o=this;if("points"===e){var r=i[e];wijmo_1.isArray(r)&&r.forEach((function(t){o.points.push(t)}))}else t.prototype._processOptions.call(this,e,n,i)};Object.defineProperty(Polygon.prototype,"points",{get:function(){return this._points},enumerable:!0,configurable:!0});Polygon.prototype._resetDefaultValue=function(){var e=this;t.prototype._resetDefaultValue.call(this);this._points=new wijmo_1.ObservableArray;this._points.collectionChanged.addHandler((function(){e._element&&e._repaint()}))};Polygon.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Polygon._CSS_POLYGON};Polygon.prototype._getContentCenter=function(){var t,e=this.points,n=e.length,i=0,o=0;for(t=0;t<n;t++){i+=wijmo_1.isDate(e[t].x)?e[t].x.getTime():e[t].x;o+=wijmo_1.isDate(e[t].y)?e[t].y.getTime():e[t].y}return new wijmo_chart_1.DataPoint(i/n,o/n)};Polygon.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n,i,o=[],r=[],s=this._points,a=s.length,h=this._getOffset();for(n=0;n<a;n++){i=this._convertPoint(s[n]);if(!this._isValidPoint(i))return;this._adjustOffset(i,h);o.push(i.x);r.push(i.y)}e.drawPolygon(o,r,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Polygon.prototype._getSize=function(){var t,e,n,i,o,r,s,a=this,h=this._points.length;s=[].map.call(this._points,(function(t){return a._convertPoint(t)}));for(o=0;o<h;o++){r=s[o];if(0!==o){r.x<t?t=r.x:r.x>e&&(e=r.x);r.y<n?n=r.y:r.y>i&&(i=r.y)}else{t=e=r.x;n=i=r.y}}return new wijmo_1.Size(e-t,i-n)};Polygon._CSS_POLYGON=exports.GcchartAnnoClsNames.polygon;return Polygon}(Shape);exports.Polygon=Polygon;var Circle=function(t){__extends(Circle,t);function Circle(e){return t.call(this,e)||this}Object.defineProperty(Circle.prototype,"radius",{get:function(){return this._radius},set:function(t){if(t!==this._radius){this._radius=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Circle.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._radius=100};Circle.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Circle._CSS_CIRCLE};Circle.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this._getOffset();this._adjustOffset(n,i);this._isValidPoint(n)&&e.drawPieSegment(n.x,n.y,this.radius,0,360,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Circle.prototype._getSize=function(){var t=2*this.radius;return new wijmo_1.Size(t,t)};Circle._CSS_CIRCLE=exports.GcchartAnnoClsNames.circle;return Circle}(Shape);exports.Circle=Circle;var Square=function(t){__extends(Square,t);function Square(e){return t.call(this,e)||this}Object.defineProperty(Square.prototype,"length",{get:function(){return this._length},set:function(t){if(t!==this._length){this._length=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Square.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._length=100};Square.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Square._CSS_SQUARE};Square.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this.length,o=this._getOffset();this._adjustOffset(n,o);this._isValidPoint(n)&&e.drawRect(n.x-i/2,n.y-i/2,i,i,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Square.prototype._getSize=function(){return new wijmo_1.Size(this.length,this.length)};Square._CSS_SQUARE=exports.GcchartAnnoClsNames.square;return Square}(Shape);exports.Square=Square;var Image=function(t){__extends(Image,t);function Image(e){return t.call(this,e)||this}Object.defineProperty(Image.prototype,"width",{get:function(){return this._width},set:function(t){if(t!==this._width){this._width=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Image.prototype,"height",{get:function(){return this._height},set:function(t){if(t!==this._height){this._height=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Image.prototype,"href",{get:function(){return this._href},set:function(t){if(t!==this._href){this._href=t;this._repaint()}},enumerable:!0,configurable:!0});Image.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._width=100;this._height=100;this._href=""};Image.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Image._CSS_IMAGE};Image.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this._href,o=this.width,r=this.height,s=this._getOffset();if(i.length>0&&this._isValidPoint(n)){this._adjustOffset(n,s);e.drawImage(i,n.x-o/2,n.y-r/2,o,r)}this._applyStyle(this._element,this.style)};Image.prototype._getSize=function(){return new wijmo_1.Size(this.width,this.height)};Image.prototype._applyStyle=function(t,e){if(e)for(var n in e)t.setAttribute(this._deCase(n),e[n])};Image.prototype._deCase=function(t){return t.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}))};Image._CSS_IMAGE=exports.GcchartAnnoClsNames.image;return Image}(Shape);exports.Image=Image;var AnnotationLayer=function(){function AnnotationLayer(t,e){var n=this;this._init(t);this._renderGroup();this._bindTooltip();e&&wijmo_1.isArray(e)&&e.forEach((function(t){var e,i=t.type||"Circle";if(selfModule[i]){e=new selfModule[i](t);n._items.push(e)}}))}AnnotationLayer.prototype._init=function(t){if(t){this._items=new wijmo_1.ObservableArray;this._items.collectionChanged.addHandler(this._itemsChanged,this);this._chart=t;this._forceTTShowing=!1;this._annoTTShowing=!1;t.rendered.addHandler(this._renderAnnotations,this);t.lostFocus.addHandler(this._lostFocus,this)}};AnnotationLayer.prototype._lostFocus=function(t){this._toggleTooltip(this._tooltip,t,this._chart.hostElement)};Object.defineProperty(AnnotationLayer.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0});AnnotationLayer.prototype.getItem=function(t){var e=this.getItems(t);return e.length>0?e[0]:null};AnnotationLayer.prototype.getItems=function(t){var e=[];if(0===this._items.length||!t||""===t)return e;for(var n=0;n<this._items.length;n++)t===this._items[n].name&&e.push(this._items[n]);return e};AnnotationLayer.prototype._bindTooltip=function(){var t,e=this,n=this._chart.hostElement,i=this._tooltip;if(!i){i=this._tooltip=new wijmo_chart_1.ChartTooltip;t=wijmo_1.Tooltip.prototype.hide;wijmo_1.Tooltip.prototype.hide=function(){e._forceTTShowing||t.call(i)}}if(n){n.addEventListener("click",(function(t){e._toggleTooltip(i,t,n)}));document.addEventListener("mousemove",(function(t){e._showTooltip()&&e._toggleTooltip(i,t,n)}))}};AnnotationLayer.prototype._showTooltip=function(){return!this._chart.isTouching};AnnotationLayer.prototype._toggleTooltip=function(t,e,n){var i=this._getAnnotation(e.target,n);if(i&&i.tooltip){this._forceTTShowing=!0;this._annoTTShowing=!0;t.show(this._layerEle,i.tooltip,new wijmo_1.Rect(e.clientX,e.clientY,5,5))}else{if(!this._annoTTShowing)return;this._annoTTShowing=!1;this._forceTTShowing=!1;t.hide()}};AnnotationLayer.prototype._getAnnotation=function(t,e){var n=this._getAnnotationElement(t,e);return null==n?null:n[AnnotationBase._DATA_KEY]};AnnotationLayer.prototype._getAnnotationElement=function(t,e){if(!t||!e)return null;var n=t.parentNode;return wijmo_1.hasClass(t,AnnotationBase._CSS_ANNOTATION)?t:null==n||n===document.body||n===document||n===e?null:this._getAnnotationElement(n,e)};AnnotationLayer.prototype._itemsChanged=function(t,e){var n=e.action,i=e.item;switch(n){case wijmo_1.NotifyCollectionChangedAction.Add:case wijmo_1.NotifyCollectionChangedAction.Change:i._layer=this;this._renderAnnotation(this._chart.renderEngine,i);break;case wijmo_1.NotifyCollectionChangedAction.Remove:this._destroyAnnotation(i);break;default:this._destroyAnnotations();this._renderAnnotations(this._chart,new wijmo_chart_1.RenderEventArgs(this._chart.renderEngine))}};AnnotationLayer.prototype._renderAnnotations=function(t,e){var n,i=this.items,o=i.length;this._renderGroup();for(n=0;n<o;n++)this._renderAnnotation(e.engine,i[n])};AnnotationLayer.prototype._renderGroup=function(){var t=this._chart._plotRect,e=this._chart.renderEngine;if(t&&e&&(!this._layerEle||null==this._layerEle.parentNode)){this._plotrectId="plotRect"+(1e6*Math.random()).toFixed();e.addClipRect(new wijmo_1.Rect(0,0,t.width,t.height),this._plotrectId);this._layerEle=e.startGroup(AnnotationLayer._CSS_Layer,this._plotrectId);this._layerEle.setAttribute("transform","translate("+t.left+", "+t.top+")");e.endGroup()}};AnnotationLayer.prototype._renderAnnotation=function(t,e){if(this._layerEle&&null!=this._layerEle.parentNode){e._element&&e._element.parentNode==this._layerEle&&this._layerEle.removeChild(e._element);t.useSvg=!0;e.render(t);t.useSvg=!1;this._layerEle.appendChild(e._element)}};AnnotationLayer.prototype._destroyAnnotations=function(){var t,e=this.items,n=e.length;for(t=0;t<n;t++)this._destroyAnnotation(e[t]);this._layerEle&&(this._layerEle.innerHTML="")};AnnotationLayer.prototype._destroyAnnotation=function(t){this._layerEle&&this._layerEle.removeChild(t._element);t.destroy()};AnnotationLayer._CSS_Layer=exports.AnnotationClsNames.layer;return AnnotationLayer}();exports.AnnotationLayer=AnnotationLayer;wijmo_1._registerModule("wijmo.chart.annotation",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 n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(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 n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);e.default=t;return e};Object.defineProperty(exports,"__esModule",{value:!0});var AnnotationAttachment,AnnotationPosition,wijmo_1=require("wijmo/wijmo"),wijmo_chart_1=require("wijmo/wijmo.chart"),selfModule=__importStar(require("wijmo/wijmo.chart.annotation"));exports.AnnotationClsNames={hostElement:"wj-chart-annotation",layer:"wj-chart-annotationlayer"};exports.GcchartAnnoClsNames={annoShape:"anno-shape",annoText:"anno-text",circle:"gcchart-anno-circle",ellipse:"gcchart-anno-ellipse",gcchartAnnotation:"gcchart-annotation",image:"gcchart-anno-image",line:"gcchart-anno-line",polygon:"gcchart-anno-polygon",rectangle:"gcchart-anno-rectangle",shape:"gcchart-anno-shape",square:"gcchart-anno-square",text:"gcchart-anno-text"};!function(t){t[t.DataIndex=0]="DataIndex";t[t.DataCoordinate=1]="DataCoordinate";t[t.Relative=2]="Relative";t[t.Absolute=3]="Absolute"}(AnnotationAttachment=exports.AnnotationAttachment||(exports.AnnotationAttachment={}));!function(t){t[t.Center=0]="Center";t[t.Top=1]="Top";t[t.Bottom=2]="Bottom";t[t.Left=4]="Left";t[t.Right=8]="Right"}(AnnotationPosition=exports.AnnotationPosition||(exports.AnnotationPosition={}));var AnnotationBase=function(){function AnnotationBase(t){this._resetDefaultValue();this._initOptions(this,t)}Object.defineProperty(AnnotationBase.prototype,"attachment",{get:function(){return this._attachment},set:function(t){if((t=wijmo_1.asEnum(t,AnnotationAttachment))!=this._attachment){this._attachment=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"point",{get:function(){return this._point},set:function(t){if(null!=t.x&&null!=t.y&&(t.x!==this._point.x||t.y!==this._point.y)){this._point=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"seriesIndex",{get:function(){return this._seriesIndex},set:function(t){if((t=wijmo_1.asNumber(t,!1,!0))!=this._seriesIndex){this._seriesIndex=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"pointIndex",{get:function(){return this._pointIndex},set:function(t){if(t!==this._pointIndex){this._pointIndex=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"position",{get:function(){return this._position},set:function(t){if(t!=this._position){this._position=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"offset",{get:function(){return this._offset},set:function(t){if(null!=t.x&&null!=t.y&&(t.x!==this._offset.x||t.y!==this._offset.y)){this._offset=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"style",{get:function(){null==this._style&&(this._style={});return this._style},set:function(t){if(t!=this._style){this._style=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"isVisible",{get:function(){return this._isVisible},set:function(t){if((t=wijmo_1.asBoolean(t,!1))!=this._isVisible){this._isVisible=t;this._toggleVisibility(t)}},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"tooltip",{get:function(){return this._tooltip},set:function(t){this._tooltip=t},enumerable:!0,configurable:!0});Object.defineProperty(AnnotationBase.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!0,configurable:!0});AnnotationBase.prototype.render=function(t){var e;this._element=t.startGroup(this._getCSSClass());t.fill="#88bde6";t.strokeWidth=1;t.stroke="#000000";this._render(t);t.endGroup();this._element[AnnotationBase._DATA_KEY]=this;this._isVisible?this._attachment===AnnotationAttachment.DataIndex&&(!(e=this._layer._chart.series[this._seriesIndex])||e.visibility!==wijmo_chart_1.SeriesVisibility.Legend&&e.visibility!==wijmo_chart_1.SeriesVisibility.Hidden||this._toggleVisibility(!1)):this._toggleVisibility(!1)};AnnotationBase.prototype.destroy=function(){};AnnotationBase.prototype._initOptions=function(t,e){for(var n in e)n in t&&this._processOptions(n,t,e)};AnnotationBase.prototype._processOptions=function(t,e,n){e[t]=n[t]};AnnotationBase.prototype._resetDefaultValue=function(){this._attachment=AnnotationAttachment.Absolute;this._point=new wijmo_chart_1.DataPoint(0,0);this._seriesIndex=0;this._pointIndex=0;this._position=AnnotationPosition.Center;this._offset=new wijmo_1.Point(0,0);this._isVisible=!0;this._tooltip=""};AnnotationBase.prototype._toggleVisibility=function(t){var e=t?"visible":"hidden";this._element&&this._element.setAttribute("visibility",e)};AnnotationBase.prototype._getCSSClass=function(){return AnnotationBase._CSS_ANNOTATION};AnnotationBase.prototype._render=function(t){this._element=null};AnnotationBase.prototype._repaint=function(){this._layer&&this._layer._renderAnnotation(this._layer._chart.renderEngine,this)};AnnotationBase.prototype._convertPoint=function(t){var e,n,i,o,r,s,a,h=this._attachment,_=new wijmo_1.Point;this._layer&&this._layer._chart&&(n=(e=this._layer._chart)._plotRect);switch(h){case AnnotationAttachment.DataIndex:if(!e.series||e.series.length<=this.seriesIndex)break;if(!(s=(r=e.series[this.seriesIndex])._getItem(this.pointIndex)))break;i=r.axisX||e.axisX;o=r.axisY||e.axisY;a=s[r.bindingX]||s.x;var l=s[r._getBinding(0)]||o.actualMin+.25;null!=r._getYOffset&&(l=r._getYOffset(this.pointIndex));if("string"==typeof a){a=this.pointIndex;null!=r._getXOffset&&(a+=r._getXOffset())}_.x=this._convertDataToLen(n.width,i,a);_.y=this._convertDataToLen(n.height,o,l,!0);break;case AnnotationAttachment.DataCoordinate:i=e.axisX;o=e.axisY;_.x=this._convertDataToLen(n.width,i,t.x);_.y=this._convertDataToLen(n.height,o,t.y,!0);break;case AnnotationAttachment.Relative:_.x=n.width*t.x;_.y=n.height*t.y;break;default:_.x=t.x;_.y=t.y}return _};AnnotationBase.prototype._convertDataToLen=function(t,e,n,i){void 0===i&&(i=!1);var o=null==e.min?e.actualMin:e.min,r=null==e.max?e.actualMax:e.max,s=e._getLogBase();e.reversed&&(i=!i);if(s){if(n<=0)return NaN;var a=Math.log(r/o);return i?t*(1-Math.log(n/o)/a):t*Math.log(n/o)/a}return i?t*(1-(n-o)/(r-o)):t*(n-o)/(r-o)};AnnotationBase.prototype._renderCenteredText=function(t,e,n,i,o,r){var s,a;if(this._isValidPoint(n)){o?e.drawStringRotated(t,n,n,o,i,r):e.drawString(t,n,i,r);if(s=this._element.querySelector("text")){a=s.getBBox();s.setAttribute("x",(n.x-a.width/2).toFixed(1));s.setAttribute("y",(n.y+a.height/6).toFixed(1))}}};AnnotationBase.prototype._adjustOffset=function(t,e){t.x=t.x+e.x;t.y=t.y+e.y};AnnotationBase.prototype._getOffset=function(t){var e=this._getPositionOffset(t);return new wijmo_1.Point(this._offset.x+e.x,this._offset.y+e.y)};AnnotationBase.prototype._getPositionOffset=function(t){var e=new wijmo_1.Point(0,0),n=this.position,i=this._getSize(t);(n&AnnotationPosition.Top)===AnnotationPosition.Top?e.y-=i.height/2:(n&AnnotationPosition.Bottom)===AnnotationPosition.Bottom&&(e.y+=i.height/2);(n&AnnotationPosition.Left)===AnnotationPosition.Left?e.x-=i.width/2:(n&AnnotationPosition.Right)===AnnotationPosition.Right&&(e.x+=i.width/2);return e};AnnotationBase.prototype._getSize=function(t){return new wijmo_1.Size};AnnotationBase.prototype._isValidPoint=function(t){return isFinite(t.x)&&isFinite(t.y)};AnnotationBase.prototype._measureString=function(t,e,n){var i,o=t;if(o._textGroup&&null==o._textGroup.parentNode){o._svg.appendChild(o._textGroup);i=o.measureString(e,n,null,this.style);o.endRender()}else i=o.measureString(e,n,null,this.style);return i};AnnotationBase._DATA_KEY=exports.AnnotationClsNames.hostElement;AnnotationBase._CSS_ANNOTATION=exports.GcchartAnnoClsNames.gcchartAnnotation;AnnotationBase._CSS_ANNO_TEXT=exports.GcchartAnnoClsNames.annoText;AnnotationBase._CSS_ANNO_SHAPE=exports.GcchartAnnoClsNames.annoShape;return AnnotationBase}();exports.AnnotationBase=AnnotationBase;var Text=function(t){__extends(Text,t);function Text(e){return t.call(this,e)||this}Text.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._text="";this.position=AnnotationPosition.Top};Text.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Text._CSS_TEXT};Object.defineProperty(Text.prototype,"text",{get:function(){return this._text},set:function(t){if(t!==this._text){this._text=t;this._repaint()}},enumerable:!0,configurable:!0});Text.prototype._render=function(t){var e,n=this._convertPoint(this.point);e=this._getOffset(t);this._adjustOffset(n,e);this._renderCenteredText(this._text,t,n,AnnotationBase._CSS_ANNO_TEXT,null,this.style)};Text.prototype._getSize=function(t){return t?this._measureString(t,this._text,AnnotationBase._CSS_ANNO_TEXT):new wijmo_1.Size};Text._CSS_TEXT=exports.GcchartAnnoClsNames.text;return Text}(AnnotationBase);exports.Text=Text;var Shape=function(t){__extends(Shape,t);function Shape(e){return t.call(this,e)||this}Shape.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._content=""};Shape.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Shape._CSS_SHAPE};Object.defineProperty(Shape.prototype,"content",{get:function(){return this._content},set:function(t){if(t!==this._content){this._content=t;this._repaint()}},enumerable:!0,configurable:!0});Shape.prototype._render=function(t){this._shapeContainer=t.startGroup();t.stroke="#000";this._renderShape(t);t.stroke=null;t.endGroup();this._content&&this._renderText(t)};Shape.prototype._getContentCenter=function(){return this.point};Shape.prototype._renderShape=function(t){};Shape.prototype._renderText=function(t){var e,n;e=this._convertPoint(this._getContentCenter());if(this._isValidPoint(e)){n=this._getOffset();this._adjustOffset(e,n);this._renderCenteredText(this._content,t,e,AnnotationBase._CSS_ANNO_TEXT)}};Shape._CSS_SHAPE=exports.GcchartAnnoClsNames.shape;return Shape}(AnnotationBase);exports.Shape=Shape;var Ellipse=function(t){__extends(Ellipse,t);function Ellipse(e){return t.call(this,e)||this}Object.defineProperty(Ellipse.prototype,"width",{get:function(){return this._width},set:function(t){if(t!==this._width){this._width=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Ellipse.prototype,"height",{get:function(){return this._height},set:function(t){if(t!==this._height){this._height=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Ellipse.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._width=100;this._height=80};Ellipse.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Ellipse._CSS_ELLIPSE};Ellipse.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this._width,o=this._height,r=this._getOffset();this._adjustOffset(n,r);this._isValidPoint(n)&&e.drawEllipse(n.x,n.y,i/2,o/2,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Ellipse.prototype._getSize=function(){return new wijmo_1.Size(this.width,this.height)};Ellipse._CSS_ELLIPSE=exports.GcchartAnnoClsNames.ellipse;return Ellipse}(Shape);exports.Ellipse=Ellipse;var Rectangle=function(t){__extends(Rectangle,t);function Rectangle(e){return t.call(this,e)||this}Object.defineProperty(Rectangle.prototype,"width",{get:function(){return this._width},set:function(t){if(t!==this._width){this._width=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Rectangle.prototype,"height",{get:function(){return this._height},set:function(t){if(t!==this._height){this._height=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Rectangle.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._width=100;this._height=80};Rectangle.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Rectangle._CSS_RECTANGLE};Rectangle.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this._width,o=this._height,r=this._getOffset();this._adjustOffset(n,r);this._isValidPoint(n)&&e.drawRect(n.x-i/2,n.y-o/2,this._width,this._height,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Rectangle.prototype._getSize=function(){return new wijmo_1.Size(this.width,this.height)};Rectangle._CSS_RECTANGLE=exports.GcchartAnnoClsNames.rectangle;return Rectangle}(Shape);exports.Rectangle=Rectangle;var Line=function(t){__extends(Line,t);function Line(e){return t.call(this,e)||this}Object.defineProperty(Line.prototype,"start",{get:function(){return this._start},set:function(t){if(null!=t.x&&null!=t.y&&(t.x!==this._start.x||t.y!==this._start.y)){this._start=t;this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Line.prototype,"end",{get:function(){return this._end},set:function(t){if(null!=t.x&&null!=t.y&&(t.x!==this._end.x||t.y!==this._end.y)){this._end=t;this._repaint()}},enumerable:!0,configurable:!0});Line.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._start=new wijmo_chart_1.DataPoint(0,0);this._end=new wijmo_chart_1.DataPoint(0,0);this.position=AnnotationPosition.Top};Line.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Line._CSS_LINE};Line.prototype._getContentCenter=function(){var t=this.start,e=this.end;return wijmo_1.isDate(t.x)&&wijmo_1.isDate(e.x)?new wijmo_chart_1.DataPoint(new Date((t.x.getTime()+e.x.getTime())/2),(t.y+e.y)/2):new wijmo_chart_1.DataPoint((t.x+e.x)/2,(t.y+e.y)/2)};Line.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n,i=this._convertPoint(this._start),o=this._convertPoint(this._end);this._cS=i;this._cE=o;n=this._getOffset();this._adjustOffset(i,n);this._adjustOffset(o,n);this._isValidPoint(i)&&this._isValidPoint(o)&&e.drawLine(i.x,i.y,o.x,o.y,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Line.prototype._getSize=function(){var t=this._cS,e=this._cE;return new wijmo_1.Size(Math.abs(t.x-e.x),Math.abs(t.y-e.y))};Line.prototype._renderText=function(t){var e,n,i,o=this._cS,r=this._cE;e=this._convertPoint(this._getContentCenter());n=this._getOffset();this._adjustOffset(e,n);if(this._isValidPoint(e)){i=(i=180*Math.atan2(r.y-o.y,r.x-o.x)/Math.PI)<-90?i+180:i>90?i-180:i;this._renderCenteredText(this.content,t,e,AnnotationBase._CSS_ANNO_TEXT,i)}};Line.prototype._renderCenteredText=function(e,n,i,o,r,s){if(null!=r){var a=this._measureString(n,e,o).height/2,h=r*Math.PI/180,_=a*Math.sin(h),l=a*Math.cos(h);i.x=i.x+_;i.y=i.y-l}t.prototype._renderCenteredText.call(this,e,n,i,o,r,s)};Line._CSS_LINE=exports.GcchartAnnoClsNames.line;return Line}(Shape);exports.Line=Line;var Polygon=function(t){__extends(Polygon,t);function Polygon(e){return t.call(this,e)||this}Polygon.prototype._processOptions=function(e,n,i){var o=this;if("points"===e){var r=i[e];wijmo_1.isArray(r)&&r.forEach((function(t){o.points.push(t)}))}else t.prototype._processOptions.call(this,e,n,i)};Object.defineProperty(Polygon.prototype,"points",{get:function(){return this._points},enumerable:!0,configurable:!0});Polygon.prototype._resetDefaultValue=function(){var e=this;t.prototype._resetDefaultValue.call(this);this._points=new wijmo_1.ObservableArray;this._points.collectionChanged.addHandler((function(){e._element&&e._repaint()}))};Polygon.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Polygon._CSS_POLYGON};Polygon.prototype._getContentCenter=function(){var t,e=this.points,n=e.length,i=0,o=0;for(t=0;t<n;t++){i+=wijmo_1.isDate(e[t].x)?e[t].x.getTime():e[t].x;o+=wijmo_1.isDate(e[t].y)?e[t].y.getTime():e[t].y}return new wijmo_chart_1.DataPoint(i/n,o/n)};Polygon.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n,i,o=[],r=[],s=this._points,a=s.length,h=this._getOffset();for(n=0;n<a;n++){i=this._convertPoint(s[n]);if(!this._isValidPoint(i))return;this._adjustOffset(i,h);o.push(i.x);r.push(i.y)}e.drawPolygon(o,r,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Polygon.prototype._getSize=function(){var t,e,n,i,o,r,s,a=this,h=this._points.length;s=[].map.call(this._points,(function(t){return a._convertPoint(t)}));for(o=0;o<h;o++){r=s[o];if(0!==o){r.x<t?t=r.x:r.x>e&&(e=r.x);r.y<n?n=r.y:r.y>i&&(i=r.y)}else{t=e=r.x;n=i=r.y}}return new wijmo_1.Size(e-t,i-n)};Polygon._CSS_POLYGON=exports.GcchartAnnoClsNames.polygon;return Polygon}(Shape);exports.Polygon=Polygon;var Circle=function(t){__extends(Circle,t);function Circle(e){return t.call(this,e)||this}Object.defineProperty(Circle.prototype,"radius",{get:function(){return this._radius},set:function(t){if(t!==this._radius){this._radius=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Circle.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._radius=100};Circle.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Circle._CSS_CIRCLE};Circle.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this._getOffset();this._adjustOffset(n,i);this._isValidPoint(n)&&e.drawPieSegment(n.x,n.y,this.radius,0,360,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Circle.prototype._getSize=function(){var t=2*this.radius;return new wijmo_1.Size(t,t)};Circle._CSS_CIRCLE=exports.GcchartAnnoClsNames.circle;return Circle}(Shape);exports.Circle=Circle;var Square=function(t){__extends(Square,t);function Square(e){return t.call(this,e)||this}Object.defineProperty(Square.prototype,"length",{get:function(){return this._length},set:function(t){if(t!==this._length){this._length=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Square.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._length=100};Square.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Square._CSS_SQUARE};Square.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this.length,o=this._getOffset();this._adjustOffset(n,o);this._isValidPoint(n)&&e.drawRect(n.x-i/2,n.y-i/2,i,i,AnnotationBase._CSS_ANNO_SHAPE,this.style)};Square.prototype._getSize=function(){return new wijmo_1.Size(this.length,this.length)};Square._CSS_SQUARE=exports.GcchartAnnoClsNames.square;return Square}(Shape);exports.Square=Square;var Image=function(t){__extends(Image,t);function Image(e){return t.call(this,e)||this}Object.defineProperty(Image.prototype,"width",{get:function(){return this._width},set:function(t){if(t!==this._width){this._width=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Image.prototype,"height",{get:function(){return this._height},set:function(t){if(t!==this._height){this._height=wijmo_1.asNumber(t,!1,!0);this._repaint()}},enumerable:!0,configurable:!0});Object.defineProperty(Image.prototype,"href",{get:function(){return this._href},set:function(t){if(t!==this._href){this._href=t;this._repaint()}},enumerable:!0,configurable:!0});Image.prototype._resetDefaultValue=function(){t.prototype._resetDefaultValue.call(this);this._width=100;this._height=100;this._href=""};Image.prototype._getCSSClass=function(){return t.prototype._getCSSClass.call(this)+" "+Image._CSS_IMAGE};Image.prototype._renderShape=function(e){t.prototype._renderShape.call(this,e);var n=this._convertPoint(this.point),i=this._href,o=this.width,r=this.height,s=this._getOffset();if(i.length>0&&this._isValidPoint(n)){this._adjustOffset(n,s);e.drawImage(i,n.x-o/2,n.y-r/2,o,r)}this._applyStyle(this._element,this.style)};Image.prototype._getSize=function(){return new wijmo_1.Size(this.width,this.height)};Image.prototype._applyStyle=function(t,e){if(e)for(var n in e)t.setAttribute(this._deCase(n),e[n])};Image.prototype._deCase=function(t){return t.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}))};Image._CSS_IMAGE=exports.GcchartAnnoClsNames.image;return Image}(Shape);exports.Image=Image;var AnnotationLayer=function(){function AnnotationLayer(t,e){var n=this;this._init(t);this._renderGroup();this._bindTooltip();e&&wijmo_1.isArray(e)&&e.forEach((function(t){var e,i=t.type||"Circle";if(selfModule[i]){e=new selfModule[i](t);n._items.push(e)}}))}AnnotationLayer.prototype._init=function(t){if(t){this._items=new wijmo_1.ObservableArray;this._items.collectionChanged.addHandler(this._itemsChanged,this);this._chart=t;this._forceTTShowing=!1;this._annoTTShowing=!1;t.rendered.addHandler(this._renderAnnotations,this);t.lostFocus.addHandler(this._lostFocus,this)}};AnnotationLayer.prototype._lostFocus=function(t){this._toggleTooltip(this._tooltip,t,this._chart.hostElement)};Object.defineProperty(AnnotationLayer.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0});AnnotationLayer.prototype.getItem=function(t){var e=this.getItems(t);return e.length>0?e[0]:null};AnnotationLayer.prototype.getItems=function(t){var e=[];if(0===this._items.length||!t||""===t)return e;for(var n=0;n<this._items.length;n++)t===this._items[n].name&&e.push(this._items[n]);return e};AnnotationLayer.prototype._bindTooltip=function(){var t,e=this,n=this._chart.hostElement,i=this._tooltip;if(!i){i=this._tooltip=new wijmo_chart_1.ChartTooltip;t=wijmo_1.Tooltip.prototype.hide;wijmo_1.Tooltip.prototype.hide=function(){e._forceTTShowing||t.call(i)}}if(n){n.addEventListener("click",(function(t){e._toggleTooltip(i,t,n)}));document.addEventListener("mousemove",(function(t){e._showTooltip()&&e._toggleTooltip(i,t,n)}))}};AnnotationLayer.prototype._showTooltip=function(){return!this._chart.isTouching};AnnotationLayer.prototype._toggleTooltip=function(t,e,n){var i=this._getAnnotation(e.target,n);if(i&&i.tooltip){this._forceTTShowing=!0;this._annoTTShowing=!0;t.show(this._layerEle,i.tooltip,new wijmo_1.Rect(e.clientX,e.clientY,5,5))}else{if(!this._annoTTShowing)return;this._annoTTShowing=!1;this._forceTTShowing=!1;t.hide()}};AnnotationLayer.prototype._getAnnotation=function(t,e){var n=this._getAnnotationElement(t,e);return null==n?null:n[AnnotationBase._DATA_KEY]};AnnotationLayer.prototype._getAnnotationElement=function(t,e){if(!t||!e)return null;var n=t.parentNode;return wijmo_1.hasClass(t,AnnotationBase._CSS_ANNOTATION)?t:null==n||n===document.body||n===document||n===e?null:this._getAnnotationElement(n,e)};AnnotationLayer.prototype._itemsChanged=function(t,e){var n=e.action,i=e.item;switch(n){case wijmo_1.NotifyCollectionChangedAction.Add:case wijmo_1.NotifyCollectionChangedAction.Change:i._layer=this;this._renderAnnotation(this._chart.renderEngine,i);break;case wijmo_1.NotifyCollectionChangedAction.Remove:this._destroyAnnotation(i);break;default:this._destroyAnnotations();this._renderAnnotations(this._chart,new wijmo_chart_1.RenderEventArgs(this._chart.renderEngine))}};AnnotationLayer.prototype._renderAnnotations=function(t,e){var n,i=this.items,o=i.length;this._renderGroup();for(n=0;n<o;n++)this._renderAnnotation(e.engine,i[n])};AnnotationLayer.prototype._renderGroup=function(){var t=this._chart._plotRect,e=this._chart.renderEngine;if(t&&e&&(!this._layerEle||null==this._layerEle.parentNode)){this._plotrectId="plotRect"+(1e6*Math.random()).toFixed();e.addClipRect(new wijmo_1.Rect(0,0,t.width,t.height),this._plotrectId);this._layerEle=e.startGroup(AnnotationLayer._CSS_Layer,this._plotrectId);this._layerEle.setAttribute("transform","translate("+t.left+", "+t.top+")");e.endGroup()}};AnnotationLayer.prototype._renderAnnotation=function(t,e){if(this._layerEle&&null!=this._layerEle.parentNode){e._element&&e._element.parentNode==this._layerEle&&this._layerEle.removeChild(e._element);t.useSvg=!0;e.render(t);t.useSvg=!1;this._layerEle.appendChild(e._element)}};AnnotationLayer.prototype._destroyAnnotations=function(){var t,e=this.items,n=e.length;for(t=0;t<n;t++)this._destroyAnnotation(e[t]);this._layerEle&&(this._layerEle.innerHTML="")};AnnotationLayer.prototype._destroyAnnotation=function(t){this._layerEle&&this._layerEle.removeChild(t._element);t.destroy()};AnnotationLayer._CSS_Layer=exports.AnnotationClsNames.layer;return AnnotationLayer}();exports.AnnotationLayer=AnnotationLayer;wijmo_1._registerModule("wijmo.chart.annotation",selfModule);
package/wijmo.chart.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20261.45-nightly.d20260106.t035854
3
+ * Wijmo Library 5.20261.45-nightly.d20260107.t034814
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.d20260107.t034814
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.