wijmo 5.20261.45-nightly.d20260108.t163148 → 5.20261.45-nightly.d20260109.t183159

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 +1 -1
  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 +1 -1
  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 +1 -1
  831. package/wijmo.chart.finance.d.ts +1 -1
  832. package/wijmo.chart.finance.js +1 -1
  833. package/wijmo.chart.hierarchical.d.ts +1 -1
  834. package/wijmo.chart.hierarchical.js +1 -1
  835. package/wijmo.chart.interaction.d.ts +1 -1
  836. package/wijmo.chart.interaction.js +1 -1
  837. package/wijmo.chart.js +1 -1
  838. package/wijmo.chart.map.d.ts +1 -1
  839. package/wijmo.chart.map.js +1 -1
  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 +5 -1
  855. package/wijmo.grid.detail.js +2 -2
  856. package/wijmo.grid.filter.d.ts +1 -1
  857. package/wijmo.grid.filter.js +2 -2
  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 +6 -1
  864. package/wijmo.grid.multirow.js +2 -2
  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 +2 -2
  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 +1 -1
  885. package/wijmo.js +1 -1
  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.d20260108.t163148
3
+ * Wijmo Library 5.20261.45-nightly.d20260109.t183159
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -198,6 +198,10 @@ export declare class FlexGridDetailProvider {
198
198
  * @param options Initialization options for the new {@link FlexGridDetailProvider}.
199
199
  */
200
200
  constructor(grid: FlexGrid, options?: any);
201
+ /**
202
+ * Disposes of the control and all its resources.
203
+ */
204
+ dispose(): void;
201
205
  /**
202
206
  * Gets the {@link FlexGrid} that owns this {@link FlexGridDetailProvider}.
203
207
  */
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20261.45-nightly.d20260108.t163148
3
+ * Wijmo Library 5.20261.45-nightly.d20260109.t183159
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 i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(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 i in e)Object.hasOwnProperty.call(e,i)&&(t[i]=e[i]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_grid_1=require("wijmo/wijmo.grid"),wijmo_1=require("wijmo/wijmo"),selfModule=__importStar(require("wijmo/wijmo.grid.detail")),DetailRow=function(e){__extends(DetailRow,e);function DetailRow(t){var i=e.call(this)||this;i.isReadOnly=!0;return i}Object.defineProperty(DetailRow.prototype,"detail",{get:function(){return this._detail},set:function(e){this._detail=e},enumerable:!0,configurable:!0});return DetailRow}(wijmo_grid_1.Row);exports.DetailRow=DetailRow;var KeyAction,DetailVisibilityMode,DetailMergeManager=function(e){__extends(DetailMergeManager,e);function DetailMergeManager(t){var i=e.call(this)||this;i._originalMergeManager=t.mergeManager;return i}DetailMergeManager.prototype.getMergedRange=function(e,t,i,r){void 0===r&&(r=!0);switch(e.cellType){case wijmo_grid_1.CellType.Cell:if(e.rows[t]instanceof DetailRow){e.columns._frozenInternal>0&&e.grid&&(e.grid.cloneFrozenCells=!1);return new wijmo_grid_1.CellRange(t,0,t,e.columns.length-1)}break;case wijmo_grid_1.CellType.RowHeader:var o=_isFrozen(e,t),l=_isNew(e,t),n=e.rows[t].dataItem;!n&&t>0&&e.rows[t]instanceof DetailRow&&(n=e.rows[t-1].dataItem);for(var a=t;a>0&&e.rows[a-1].dataItem==n&&_isFrozen(e,a-1)==o&&_isNew(e,a-1)==l;)a--;for(var s=t;s<e.rows.length-1&&e.rows[s+1].dataItem==n&&_isFrozen(e,s+1)==o&&_isNew(e,s+1)==l;)s++;s<e.rows.length-1&&e.rows[s+1]instanceof DetailRow&&_isFrozen(e,s+1)==o&&_isNew(e,s+1)==l&&s++;return a!=s?new wijmo_grid_1.CellRange(a,i,s,i):null}return this._originalMergeManager.getMergedRange(e,t,i,r)};return DetailMergeManager}(wijmo_grid_1.MergeManager);exports.DetailMergeManager=DetailMergeManager;function _isFrozen(e,t){return t<e.rows._frozenInternal}function _isNew(e,t){return e.rows[t]instanceof wijmo_grid_1._NewRowTemplate}exports.FlexGridDetailProviderClsNames={detail:"wj-detail",detailRow:"wj-detail-row",elemDetail:"wj-elem-detail"};wijmo_1._addCultureInfo("FlexGridDetailProvider",{ariaLabels:{toggleDetail:"Toggle Row Detail"},accessibilityHelperMessage:{showDetail:"Show detail row: {rowIndex}",hideDetail:"Hide detail row: {rowIndex}"}});!function(e){e[e.None=0]="None";e[e.ToggleDetail=1]="ToggleDetail"}(KeyAction=exports.KeyAction||(exports.KeyAction={}));!function(e){e[e.Code=0]="Code";e[e.Selection=1]="Selection";e[e.ExpandSingle=2]="ExpandSingle";e[e.ExpandMulti=3]="ExpandMulti"}(DetailVisibilityMode=exports.DetailVisibilityMode||(exports.DetailVisibilityMode={}));var FlexGridDetailProvider=function(){function FlexGridDetailProvider(e,t){var i=this;this._maxHeight=null;this._mode=DetailVisibilityMode.ExpandSingle;this._animated=!1;this._keyActionEnter=KeyAction.None;this._g=e;e.mergeManager=new DetailMergeManager(e);e.addEventListener(e.rowHeaders.hostElement,"click",this._hdrClick.bind(this));e.addEventListener(e.rowHeaders.hostElement,"mousedown",(function(t){var r=e.editableCollectionView;if(e.activeEditor||r&&r.currentEditItem){i._hdrClick(t);t.preventDefault()}}));setTimeout((function(){e.formatItem.addHandler(i._formatItem,i)}),100);e.selectionChanged.addHandler(this._selectionChanged,this);e.resizedRow.addHandler(this._resizedRow,this);e.loadingRows.addHandler((function(){return i.hideDetail()}));e.deletingRow.addHandler((function(e,t){i.hideDetail(t.row)}));e.updatedView.addHandler(this._handleFrozenCells,this);e.cloneFrozenCells=!1;e.draggingRow.addHandler((function(e,t){if(t.row<e.rows.length-1&&e.rows[t.row+1]instanceof DetailRow){t.cancel=!0;i.hideDetail(t.row)}}));e.addEventListener(e.hostElement,"keydown",(function(e){if(e.keyCode==wijmo_1.Key.Enter&&i._keyActionEnter==KeyAction.ToggleDetail){var t=i._g.selection.row,r=i._g.activePanel.cellType;i._toggleRowDetail(t)&&r===wijmo_grid_1.CellType.Cell&&e.preventDefault()}}),!0);e._root.addEventListener("scroll",(function(){wijmo_1.hasClass(e.activeCell,exports.FlexGridDetailProviderClsNames.detail)&&wijmo_1.Control.sharedState.InvalidScroll||wijmo_1.Control.refreshAll(e._root)}));wijmo_1.copy(this,t)}Object.defineProperty(FlexGridDetailProvider.prototype,"grid",{get:function(){return this._g},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridDetailProvider.prototype,"detailVisibilityMode",{get:function(){return this._mode},set:function(e){if((e=wijmo_1.asEnum(e,DetailVisibilityMode))!=this._mode){this._mode=e;this.hideDetail();this._g.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridDetailProvider.prototype,"maxHeight",{get:function(){return this._maxHeight},set:function(e){if((e=wijmo_1.asNumber(e,!0))!=this._maxHeight){this._maxHeight=e;this.hideDetail()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridDetailProvider.prototype,"isAnimated",{get:function(){return this._animated},set:function(e){e!=this._animated&&(this._animated=wijmo_1.asBoolean(e))},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridDetailProvider.prototype,"keyActionEnter",{get:function(){return this._keyActionEnter},set:function(e){this._keyActionEnter=wijmo_1.asEnum(e,KeyAction)},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridDetailProvider.prototype,"createDetailCell",{get:function(){return this._createDetailCellFn},set:function(e){this._createDetailCellFn=wijmo_1.asFunction(e,!0)},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridDetailProvider.prototype,"disposeDetailCell",{get:function(){return this._disposeDetailCellFn},set:function(e){this._disposeDetailCellFn=wijmo_1.asFunction(e,!0)},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridDetailProvider.prototype,"rowHasDetail",{get:function(){return this._rowHasDetailFn},set:function(e){if((e=wijmo_1.asFunction(e,!0))!=this._rowHasDetailFn){this._rowHasDetailFn=e;this.hideDetail();this._g.invalidate()}},enumerable:!0,configurable:!0});FlexGridDetailProvider.prototype.getDetailRow=function(e){for(var t=this._g.rows,i=this._toIndex(e),r=t[i]?t[i].dataItem:void 0;i<t.length;i++){var o=t[i];if(o instanceof DetailRow)return o;if(o.dataItem!=r)return null}return null};FlexGridDetailProvider.prototype.isDetailVisible=function(e){return null!=this.getDetailRow(e)};FlexGridDetailProvider.prototype.isDetailAvailable=function(e){e=this._toIndex(e);return this._hasDetail(e)};FlexGridDetailProvider.prototype.hideDetail=function(e){var t=this._g,i=t.rows,r=wijmo_1.culture.FlexGridDetailProvider.accessibilityHelperMessage.hideDetail;if(null!=e){var o=this._toIndex(e);if(t.rows._frozenInternal>0&&o<=t.rows._frozenInternal-1){t.rows.frozenDetailChildren-=1;t.rows._frozenInternal-=1}else if(t.rows._frozenInternal<0&&t.rows.isFrozen(o)){t.rows.frozenDetailChildren-=1;t.rows._frozenInternal+=1}for(;!(i[o]instanceof DetailRow)&&o<i.length-1;)o++;var l=i[o];if(l instanceof DetailRow){var n=l.detail.parentElement;if(n)for(var a=n.querySelectorAll("."+wijmo_1.ControlClsNames.hostElement),s=0;s<a.length;s++){var d=wijmo_1.Control.getControl(a[s]);d&&d.containsFocus()&&t.focus(!0)}var _=this.disposeDetailCell;!!_&&_(l)||wijmo_1.Control.disposeAll(l.detail);i.removeAt(o);r=wijmo_1.format(r,{rowIndex:o});t.announceShortcut(r)}}else for(var c=0;c<i.length;c++)i[c]instanceof DetailRow&&this.hideDetail(c)};FlexGridDetailProvider.prototype.showDetail=function(e,t){void 0===t&&(t=!1);var i=this._g,r=i.rows,o=wijmo_1.culture.FlexGridDetailProvider.accessibilityHelperMessage.showDetail,l=this._toIndex(e);if(i.rows._frozenInternal>0&&l<=i.rows._frozenInternal-1){i.rows.frozenDetailChildren+=1;i.rows._frozenInternal+=1}else if(i.rows._frozenInternal<0&&i.rows.isFrozen(l)){i.rows.frozenDetailChildren+=1;i.rows._frozenInternal-=1}l>0&&r[l]instanceof DetailRow&&l--;for(var n=r[l].dataItem;l<r.length-1&&r[l+1].dataItem==n;)l++;if(t){for(var a=i.selection,s=!1,d=0;d<r.length-1;d++)if(d!=l&&r[d+1]instanceof DetailRow){this.hideDetail(d);d<l&&l--;if(d<a.row){a.row--;a.row2--;s=!0}}s&&i.select(a,!1)}if(!this.isDetailVisible(l)&&this._hasDetail(l)){var _=new DetailRow(r[l]),c=this._createDetailCell(r[l]);_.detail=c;if(c){r.insert(l+1,_);o=wijmo_1.format(o,{rowIndex:l+1});i.announceShortcut(o);var w=i.containsFocus();if(this._animated){var h=c.style;h.transform="translateY(-100%)";h.opacity="0";wijmo_1.animate((function(e){if(e<1){h.transform="translateY("+(100*-(1-e)).toFixed(0)+"%)";h.opacity=(e*e).toString()}else{h.transform=h.opacity="";wijmo_1.Control.invalidateAll(c);w&&i.hostElement&&i.scrollIntoView(l,-1)}}))}else w&&i.scrollIntoView(l,-1,!0)}}};FlexGridDetailProvider.prototype._sizeDetailRow=function(e,t){void 0===t&&(t=!1);var i=this._g,r=e.detail;wijmo_1.Control.refreshAll(r);var o=t?r.scrollHeight:r.offsetHeight,l=o+i._cellPadVert+1,n=this._maxHeight;wijmo_1.isNumber(n)&&n>0&&l>n&&(l=n);e.height=l;r.style.height||(r.style.height="100%");var a=r.querySelector("."+wijmo_grid_1.FlexGridClsNames.hostElement);a&&!a.style.height&&(a.style.height="100%");return o};FlexGridDetailProvider.prototype._handleFrozenCells=function(){var e=this._g,t=e.hostElement,i="."+wijmo_grid_1.FlexGridClsNames.hostElement,r=wijmo_1.Control.getControl(t.querySelector(i));if(r instanceof wijmo_grid_1.FlexGrid&&(r.rows._frozenInternal||r.columns._frozenInternal)){wijmo_1.setCss([e._eTL,e._eBL,e._eCFtr,e._eRHdr,e._eMarquee],{zIndex:"13"});wijmo_1.setCss(e._eCHdr,{zIndex:"14"});for(var o=t.querySelectorAll("."+wijmo_grid_1.FlexGridClsNames.frozen),l=0;l<o.length;l++){var n=o[l];if(wijmo_1.closest(n,i)==t){var a=parseInt(n.style.zIndex);n.style.zIndex=(a%10+10).toString()}}}};FlexGridDetailProvider.prototype._toIndex=function(e){return e instanceof wijmo_grid_1.Row?e.index:wijmo_1.asNumber(e)};FlexGridDetailProvider.prototype._hdrClick=function(e){if(!e.defaultPrevented&&0==e.button&&wijmo_1.closestClass(e.target,FlexGridDetailProvider._WJC_DETAIL)){var t=DetailVisibilityMode;switch(this._mode){case t.ExpandMulti:case t.ExpandSingle:var i=this._g,r=i.hostElement,o=r&&r.offsetHeight&&r.offsetWidth,l=i.hitTest(e.target);l.panel||(l=i.hitTest(e));l.panel&&o&&this._toggleRowDetail(l.row)&&e.preventDefault()}}};FlexGridDetailProvider.prototype._toggleRowDetail=function(e){if(e>-1){if(this.isDetailVisible(e)){this.hideDetail(e);return!0}if(this._hasDetail(e)){this.showDetail(e,this._mode==DetailVisibilityMode.ExpandSingle);return!0}}return!1};FlexGridDetailProvider.prototype._selectionChanged=function(e,t){var i=this;if(this._mode==DetailVisibilityMode.Selection){this._toSel&&clearTimeout(this._toSel);this._toSel=setTimeout((function(){var t=e._selHdl.selection.row;t>-1?i.showDetail(t,!0):i.hideDetail()}),300)}};FlexGridDetailProvider.prototype._formatItem=function(e,t){var i=this,r=this._g,o=t.cell,l=t.getRow(),n=DetailVisibilityMode;if(t.panel==r.cells&&l instanceof DetailRow&&null!=l.detail&&!wijmo_1.hasClass(o,exports.FlexGridDetailProviderClsNames.detail)){wijmo_1.addClass(o,exports.FlexGridDetailProviderClsNames.detail);wijmo_1.addClass(o.parentElement,exports.FlexGridDetailProviderClsNames.detailRow);o.textContent="";o.style.textAlign="";o.className=o.className.replace(/wj-align-[\S]+/g,"");o.appendChild(l.detail);null==l.height?0===this._sizeDetailRow(l)&&setTimeout((function(){i._sizeDetailRow(l,!0)}),1):wijmo_1.Control.refreshAll(l.detail)}if(t.panel==r.rowHeaders&&0==t.col&&this._hasDetail(t.row)){o.style.cursor="";switch(this._mode){case n.ExpandMulti:case n.ExpandSingle:var a=this.isDetailVisible(t.row),s=a?"minus":"plus",d=FlexGridDetailProvider._WJC_DETAIL;o.innerHTML='<div class="'+wijmo_1.InputFormElementsClsNames.btn+" "+wijmo_1.GlyphClsNames.btnGlyph+" "+d+'" role="button" tabindex="-1"><span class="'+wijmo_1.GlyphClsNames.glyph+"-"+s+'"></span></div>';var _=o.children[0],c=wijmo_1.culture.FlexGridDetailProvider.ariaLabels.toggleDetail;wijmo_1.setAriaLabel(_,c);wijmo_1.setAttribute(_,"aria-expanded",a)}}};FlexGridDetailProvider.prototype._resizedRow=function(e,t){var i=t.getRow();i instanceof DetailRow&&i.detail&&wijmo_1.Control.refreshAll(i.detail)};FlexGridDetailProvider.prototype._hasDetail=function(e){var t=this._g.rows[e];return wijmo_1.isFunction(this._rowHasDetailFn)?this._rowHasDetailFn(t):this._isRegularRow(t)};FlexGridDetailProvider.prototype._isRegularRow=function(e){return!(e instanceof wijmo_grid_1._NewRowTemplate||e instanceof DetailRow)&&!(e instanceof wijmo_grid_1.GroupRow&&!this._g.childItemsPath)};FlexGridDetailProvider.prototype._createDetailCell=function(e){return this.createDetailCell?this.createDetailCell(e):null};FlexGridDetailProvider._WJC_DETAIL=exports.FlexGridDetailProviderClsNames.elemDetail;return FlexGridDetailProvider}();exports.FlexGridDetailProvider=FlexGridDetailProvider;wijmo_1._registerModule("wijmo.grid.detail",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 i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(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 i in e)Object.hasOwnProperty.call(e,i)&&(t[i]=e[i]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_grid_1=require("wijmo/wijmo.grid"),wijmo_1=require("wijmo/wijmo"),selfModule=__importStar(require("wijmo/wijmo.grid.detail")),DetailRow=function(e){__extends(DetailRow,e);function DetailRow(t){var i=e.call(this)||this;i.isReadOnly=!0;return i}Object.defineProperty(DetailRow.prototype,"detail",{get:function(){return this._detail},set:function(e){this._detail=e},enumerable:!0,configurable:!0});return DetailRow}(wijmo_grid_1.Row);exports.DetailRow=DetailRow;var KeyAction,DetailVisibilityMode,DetailMergeManager=function(e){__extends(DetailMergeManager,e);function DetailMergeManager(t){var i=e.call(this)||this;i._originalMergeManager=t.mergeManager;return i}DetailMergeManager.prototype.getMergedRange=function(e,t,i,r){void 0===r&&(r=!0);switch(e.cellType){case wijmo_grid_1.CellType.Cell:if(e.rows[t]instanceof DetailRow){e.columns._frozenInternal>0&&e.grid&&(e.grid.cloneFrozenCells=!1);return new wijmo_grid_1.CellRange(t,0,t,e.columns.length-1)}break;case wijmo_grid_1.CellType.RowHeader:var o=_isFrozen(e,t),l=_isNew(e,t),n=e.rows[t].dataItem;!n&&t>0&&e.rows[t]instanceof DetailRow&&(n=e.rows[t-1].dataItem);for(var a=t;a>0&&e.rows[a-1].dataItem==n&&_isFrozen(e,a-1)==o&&_isNew(e,a-1)==l;)a--;for(var s=t;s<e.rows.length-1&&e.rows[s+1].dataItem==n&&_isFrozen(e,s+1)==o&&_isNew(e,s+1)==l;)s++;s<e.rows.length-1&&e.rows[s+1]instanceof DetailRow&&_isFrozen(e,s+1)==o&&_isNew(e,s+1)==l&&s++;return a!=s?new wijmo_grid_1.CellRange(a,i,s,i):null}return this._originalMergeManager.getMergedRange(e,t,i,r)};return DetailMergeManager}(wijmo_grid_1.MergeManager);exports.DetailMergeManager=DetailMergeManager;function _isFrozen(e,t){return t<e.rows._frozenInternal}function _isNew(e,t){return e.rows[t]instanceof wijmo_grid_1._NewRowTemplate}exports.FlexGridDetailProviderClsNames={detail:"wj-detail",detailRow:"wj-detail-row",elemDetail:"wj-elem-detail"};wijmo_1._addCultureInfo("FlexGridDetailProvider",{ariaLabels:{toggleDetail:"Toggle Row Detail"},accessibilityHelperMessage:{showDetail:"Show detail row: {rowIndex}",hideDetail:"Hide detail row: {rowIndex}"}});!function(e){e[e.None=0]="None";e[e.ToggleDetail=1]="ToggleDetail"}(KeyAction=exports.KeyAction||(exports.KeyAction={}));!function(e){e[e.Code=0]="Code";e[e.Selection=1]="Selection";e[e.ExpandSingle=2]="ExpandSingle";e[e.ExpandMulti=3]="ExpandMulti"}(DetailVisibilityMode=exports.DetailVisibilityMode||(exports.DetailVisibilityMode={}));var FlexGridDetailProvider=function(){function FlexGridDetailProvider(e,t){var i=this;this._maxHeight=null;this._mode=DetailVisibilityMode.ExpandSingle;this._animated=!1;this._keyActionEnter=KeyAction.None;this._g=e;e.mergeManager=new DetailMergeManager(e);e.addEventListener(e.rowHeaders.hostElement,"click",this._hdrClick.bind(this));e.addEventListener(e.rowHeaders.hostElement,"mousedown",(function(t){var r=e.editableCollectionView;if(e.activeEditor||r&&r.currentEditItem){i._hdrClick(t);t.preventDefault()}}));setTimeout((function(){e.formatItem.addHandler(i._formatItem,i)}),100);e.selectionChanged.addHandler(this._selectionChanged,this);e.resizedRow.addHandler(this._resizedRow,this);e.loadingRows.addHandler((function(){return i.hideDetail()}));e.deletingRow.addHandler((function(e,t){i.hideDetail(t.row)}));e.updatedView.addHandler(this._handleFrozenCells,this);e.cloneFrozenCells=!1;e.draggingRow.addHandler((function(e,t){if(t.row<e.rows.length-1&&e.rows[t.row+1]instanceof DetailRow){t.cancel=!0;i.hideDetail(t.row)}}));e.addEventListener(e.hostElement,"keydown",(function(e){if(e.keyCode==wijmo_1.Key.Enter&&i._keyActionEnter==KeyAction.ToggleDetail){var t=i._g.selection.row,r=i._g.activePanel.cellType;i._toggleRowDetail(t)&&r===wijmo_grid_1.CellType.Cell&&e.preventDefault()}}),!0);e._root.addEventListener("scroll",(function(){wijmo_1.hasClass(e.activeCell,exports.FlexGridDetailProviderClsNames.detail)&&wijmo_1.Control.sharedState.InvalidScroll||wijmo_1.Control.refreshAll(e._root)}));wijmo_1.copy(this,t)}FlexGridDetailProvider.prototype.dispose=function(){if(this._toSel){clearTimeout(this._toSel);this._toSel=null}};Object.defineProperty(FlexGridDetailProvider.prototype,"grid",{get:function(){return this._g},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridDetailProvider.prototype,"detailVisibilityMode",{get:function(){return this._mode},set:function(e){if((e=wijmo_1.asEnum(e,DetailVisibilityMode))!=this._mode){this._mode=e;this.hideDetail();this._g.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridDetailProvider.prototype,"maxHeight",{get:function(){return this._maxHeight},set:function(e){if((e=wijmo_1.asNumber(e,!0))!=this._maxHeight){this._maxHeight=e;this.hideDetail()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridDetailProvider.prototype,"isAnimated",{get:function(){return this._animated},set:function(e){e!=this._animated&&(this._animated=wijmo_1.asBoolean(e))},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridDetailProvider.prototype,"keyActionEnter",{get:function(){return this._keyActionEnter},set:function(e){this._keyActionEnter=wijmo_1.asEnum(e,KeyAction)},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridDetailProvider.prototype,"createDetailCell",{get:function(){return this._createDetailCellFn},set:function(e){this._createDetailCellFn=wijmo_1.asFunction(e,!0)},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridDetailProvider.prototype,"disposeDetailCell",{get:function(){return this._disposeDetailCellFn},set:function(e){this._disposeDetailCellFn=wijmo_1.asFunction(e,!0)},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridDetailProvider.prototype,"rowHasDetail",{get:function(){return this._rowHasDetailFn},set:function(e){if((e=wijmo_1.asFunction(e,!0))!=this._rowHasDetailFn){this._rowHasDetailFn=e;this.hideDetail();this._g.invalidate()}},enumerable:!0,configurable:!0});FlexGridDetailProvider.prototype.getDetailRow=function(e){for(var t=this._g.rows,i=this._toIndex(e),r=t[i]?t[i].dataItem:void 0;i<t.length;i++){var o=t[i];if(o instanceof DetailRow)return o;if(o.dataItem!=r)return null}return null};FlexGridDetailProvider.prototype.isDetailVisible=function(e){return null!=this.getDetailRow(e)};FlexGridDetailProvider.prototype.isDetailAvailable=function(e){e=this._toIndex(e);return this._hasDetail(e)};FlexGridDetailProvider.prototype.hideDetail=function(e){var t=this._g,i=t.rows,r=wijmo_1.culture.FlexGridDetailProvider.accessibilityHelperMessage.hideDetail;if(null!=e){var o=this._toIndex(e);if(t.rows._frozenInternal>0&&o<=t.rows._frozenInternal-1){t.rows.frozenDetailChildren-=1;t.rows._frozenInternal-=1}else if(t.rows._frozenInternal<0&&t.rows.isFrozen(o)){t.rows.frozenDetailChildren-=1;t.rows._frozenInternal+=1}for(;!(i[o]instanceof DetailRow)&&o<i.length-1;)o++;var l=i[o];if(l instanceof DetailRow){var n=l.detail.parentElement;if(n)for(var a=n.querySelectorAll("."+wijmo_1.ControlClsNames.hostElement),s=0;s<a.length;s++){var d=wijmo_1.Control.getControl(a[s]);d&&d.containsFocus()&&t.focus(!0)}var _=this.disposeDetailCell;!!_&&_(l)||wijmo_1.Control.disposeAll(l.detail);i.removeAt(o);r=wijmo_1.format(r,{rowIndex:o});t.announceShortcut(r)}}else for(var c=0;c<i.length;c++)i[c]instanceof DetailRow&&this.hideDetail(c)};FlexGridDetailProvider.prototype.showDetail=function(e,t){void 0===t&&(t=!1);var i=this._g,r=i.rows,o=wijmo_1.culture.FlexGridDetailProvider.accessibilityHelperMessage.showDetail,l=this._toIndex(e);if(i.rows._frozenInternal>0&&l<=i.rows._frozenInternal-1){i.rows.frozenDetailChildren+=1;i.rows._frozenInternal+=1}else if(i.rows._frozenInternal<0&&i.rows.isFrozen(l)){i.rows.frozenDetailChildren+=1;i.rows._frozenInternal-=1}l>0&&r[l]instanceof DetailRow&&l--;for(var n=r[l].dataItem;l<r.length-1&&r[l+1].dataItem==n;)l++;if(t){for(var a=i.selection,s=!1,d=0;d<r.length-1;d++)if(d!=l&&r[d+1]instanceof DetailRow){this.hideDetail(d);d<l&&l--;if(d<a.row){a.row--;a.row2--;s=!0}}s&&i.select(a,!1)}if(!this.isDetailVisible(l)&&this._hasDetail(l)){var _=new DetailRow(r[l]),c=this._createDetailCell(r[l]);_.detail=c;if(c){r.insert(l+1,_);o=wijmo_1.format(o,{rowIndex:l+1});i.announceShortcut(o);var w=i.containsFocus();if(this._animated){var h=c.style;h.transform="translateY(-100%)";h.opacity="0";wijmo_1.animate((function(e){if(e<1){h.transform="translateY("+(100*-(1-e)).toFixed(0)+"%)";h.opacity=(e*e).toString()}else{h.transform=h.opacity="";wijmo_1.Control.invalidateAll(c);w&&i.hostElement&&i.scrollIntoView(l,-1)}}))}else w&&i.scrollIntoView(l,-1,!0)}}};FlexGridDetailProvider.prototype._sizeDetailRow=function(e,t){void 0===t&&(t=!1);var i=this._g,r=e.detail;wijmo_1.Control.refreshAll(r);var o=t?r.scrollHeight:r.offsetHeight,l=o+i._cellPadVert+1,n=this._maxHeight;wijmo_1.isNumber(n)&&n>0&&l>n&&(l=n);e.height=l;r.style.height||(r.style.height="100%");var a=r.querySelector("."+wijmo_grid_1.FlexGridClsNames.hostElement);a&&!a.style.height&&(a.style.height="100%");return o};FlexGridDetailProvider.prototype._handleFrozenCells=function(){var e=this._g,t=e.hostElement,i="."+wijmo_grid_1.FlexGridClsNames.hostElement,r=wijmo_1.Control.getControl(t.querySelector(i));if(r instanceof wijmo_grid_1.FlexGrid&&(r.rows._frozenInternal||r.columns._frozenInternal)){wijmo_1.setCss([e._eTL,e._eBL,e._eCFtr,e._eRHdr,e._eMarquee],{zIndex:"13"});wijmo_1.setCss(e._eCHdr,{zIndex:"14"});for(var o=t.querySelectorAll("."+wijmo_grid_1.FlexGridClsNames.frozen),l=0;l<o.length;l++){var n=o[l];if(wijmo_1.closest(n,i)==t){var a=parseInt(n.style.zIndex);n.style.zIndex=(a%10+10).toString()}}}};FlexGridDetailProvider.prototype._toIndex=function(e){return e instanceof wijmo_grid_1.Row?e.index:wijmo_1.asNumber(e)};FlexGridDetailProvider.prototype._hdrClick=function(e){if(!e.defaultPrevented&&0==e.button&&wijmo_1.closestClass(e.target,FlexGridDetailProvider._WJC_DETAIL)){var t=DetailVisibilityMode;switch(this._mode){case t.ExpandMulti:case t.ExpandSingle:var i=this._g,r=i.hostElement,o=r&&r.offsetHeight&&r.offsetWidth,l=i.hitTest(e.target);l.panel||(l=i.hitTest(e));l.panel&&o&&this._toggleRowDetail(l.row)&&e.preventDefault()}}};FlexGridDetailProvider.prototype._toggleRowDetail=function(e){if(e>-1){if(this.isDetailVisible(e)){this.hideDetail(e);return!0}if(this._hasDetail(e)){this.showDetail(e,this._mode==DetailVisibilityMode.ExpandSingle);return!0}}return!1};FlexGridDetailProvider.prototype._selectionChanged=function(e,t){var i=this;if(this._mode==DetailVisibilityMode.Selection){this._toSel&&clearTimeout(this._toSel);this._toSel=setTimeout((function(){if(e._selHdl&&e._selHdl.selection){var t=e._selHdl.selection.row;t>-1?i.showDetail(t,!0):i.hideDetail()}}),300)}};FlexGridDetailProvider.prototype._formatItem=function(e,t){var i=this,r=this._g,o=t.cell,l=t.getRow(),n=DetailVisibilityMode;if(t.panel==r.cells&&l instanceof DetailRow&&null!=l.detail&&!wijmo_1.hasClass(o,exports.FlexGridDetailProviderClsNames.detail)){wijmo_1.addClass(o,exports.FlexGridDetailProviderClsNames.detail);wijmo_1.addClass(o.parentElement,exports.FlexGridDetailProviderClsNames.detailRow);o.textContent="";o.style.textAlign="";o.className=o.className.replace(/wj-align-[\S]+/g,"");o.appendChild(l.detail);null==l.height?0===this._sizeDetailRow(l)&&setTimeout((function(){i._sizeDetailRow(l,!0)}),1):wijmo_1.Control.refreshAll(l.detail)}if(t.panel==r.rowHeaders&&0==t.col&&this._hasDetail(t.row)){o.style.cursor="";switch(this._mode){case n.ExpandMulti:case n.ExpandSingle:var a=this.isDetailVisible(t.row),s=a?"minus":"plus",d=FlexGridDetailProvider._WJC_DETAIL;o.innerHTML='<div class="'+wijmo_1.InputFormElementsClsNames.btn+" "+wijmo_1.GlyphClsNames.btnGlyph+" "+d+'" role="button" tabindex="-1"><span class="'+wijmo_1.GlyphClsNames.glyph+"-"+s+'"></span></div>';var _=o.children[0],c=wijmo_1.culture.FlexGridDetailProvider.ariaLabels.toggleDetail;wijmo_1.setAriaLabel(_,c);wijmo_1.setAttribute(_,"aria-expanded",a)}}};FlexGridDetailProvider.prototype._resizedRow=function(e,t){var i=t.getRow();i instanceof DetailRow&&i.detail&&wijmo_1.Control.refreshAll(i.detail)};FlexGridDetailProvider.prototype._hasDetail=function(e){var t=this._g.rows[e];return wijmo_1.isFunction(this._rowHasDetailFn)?this._rowHasDetailFn(t):this._isRegularRow(t)};FlexGridDetailProvider.prototype._isRegularRow=function(e){return!(e instanceof wijmo_grid_1._NewRowTemplate||e instanceof DetailRow)&&!(e instanceof wijmo_grid_1.GroupRow&&!this._g.childItemsPath)};FlexGridDetailProvider.prototype._createDetailCell=function(e){return this.createDetailCell?this.createDetailCell(e):null};FlexGridDetailProvider._WJC_DETAIL=exports.FlexGridDetailProviderClsNames.elemDetail;return FlexGridDetailProvider}();exports.FlexGridDetailProvider=FlexGridDetailProvider;wijmo_1._registerModule("wijmo.grid.detail",selfModule);
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20261.45-nightly.d20260108.t163148
3
+ * Wijmo Library 5.20261.45-nightly.d20260109.t183159
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.d20260108.t163148
3
+ * Wijmo Library 5.20261.45-nightly.d20260109.t183159
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 i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(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 i in e)Object.hasOwnProperty.call(e,i)&&(t[i]=e[i]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});var FilterType,FilterMode,wijmo_grid_1=require("wijmo/wijmo.grid"),wijmo_1=require("wijmo/wijmo"),wijmo_input_1=require("wijmo/wijmo.input"),wijmo_nav_1=require("wijmo/wijmo.nav"),input=__importStar(require("wijmo/wijmo.input")),selfModule=__importStar(require("wijmo/wijmo.grid.filter"));exports.ColumnFilterEditorClsNames={filterType:"wj-filtertype",hostElement:"wj-columnfiltereditor",sortButtons:"wj-sort-buttons",filterHeader:"wj-filter-header"};exports.ConditionFilterEditorClsNames={hostElement:"wj-conditionfilter-editor"};exports.FlexGridFilterClsNames={elemFilter:"wj-elem-filter",filter:"wj-filter",filterOff:"wj-filter-off",filterOn:"wj-filter-on",hostElement:"wj-columnfiltereditor",filterTopBorder:"wj-filter-tabPanel-top-border"};exports.ValueFilterEditorClsNames={hostElement:"wj-valuefilter-editor",customModalText:"wj-custom-modal-text",modalFooter:"wj-valuefilter-modal-footer",filterOptions:"wj-filter-options"};!function(e){e[e.None=0]="None";e[e.Condition=1]="Condition";e[e.Value=2]="Value";e[e.Both=3]="Both"}(FilterType=exports.FilterType||(exports.FilterType={}));!function(e){e[e.SingleFilter=0]="SingleFilter";e[e.MultiFilter=1]="MultiFilter"}(FilterMode=exports.FilterMode||(exports.FilterMode={}));var FlexGridFilter=function(){function FlexGridFilter(e,t){this._showIcons=!0;this._showSort=!0;this._defFilterType=FilterType.Both;this._defFilterMode=FilterMode.SingleFilter;this._xValueSearch=!0;this._includeUpdatedRowsInFilter=!1;this._showIncludeSelection=!1;this.filterApplied=new wijmo_1.Event;this.editingFilter=new wijmo_1.Event;this.filterChanging=new wijmo_1.Event;this.filterChanged=new wijmo_1.Event;this.exclusiveValueSearchChanged=new wijmo_1.Event;this._showIncludeSelectionChanged=new wijmo_1.Event;this._filters=[];this._g=wijmo_1.asType(e,wijmo_grid_1.FlexGrid,!1);this._g.formatItem.addHandler(this._formatItem.bind(this));this._g.itemsSourceChanged.addHandler(this.clear.bind(this));this._g.columns.collectionChanged.addHandler(this._adjustBindingColumns,this);var i=this._g.hostElement;e.addEventListener(i,"mousedown",this._mousedown.bind(this),!0);e.addEventListener(i,"click",this._click.bind(this),!0);e.addEventListener(i,"keydown",this._keydown.bind(this),!0);this._g.invalidate();wijmo_1.copy(this,t);this._init()}FlexGridFilter.prototype._init=function(){var e=this,t=this.grid,_excludeRowFromFilter=function(t){var i=e.grid,l=e.excludedRowsSet;if(null!=i&&i.rows.length>t)if(i.itemsSource)if(i.rows[t]instanceof wijmo_grid_1._NewRowTemplate){var r=i.editableCollectionView.currentAddItem||i.rows[t].dataItem;r&&l.add(r)}else i.rows[t].dataItem&&l.add(i.rows[t].dataItem);else i.rows[t]&&l.add(i.rows[t])};t.rowChanged&&t.rowChanged.addHandler((function(e,t){t.added&&_excludeRowFromFilter(t.index)}));t.rowEditEnding.addHandler((function(e,t){_excludeRowFromFilter(t.row)}));t.cellEditEnded.addHandler((function(e,t){_excludeRowFromFilter(t.row)}))};Object.defineProperty(FlexGridFilter.prototype,"excludedRowsSet",{get:function(){var e=this.grid;e.selectedSheet&&(e=e.selectedSheet);e._newAddedRowsSet||(e._newAddedRowsSet=new WeakSet);return e._newAddedRowsSet},set:function(e){var t=this.grid;t.selectedSheet&&(t=t.selectedSheet);t._newAddedRowsSet=e},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"grid",{get:function(){return this._g},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"filterColumns",{get:function(){return this._filterColumns},set:function(e){this._filterColumns=wijmo_1.asArray(e);this.clear()},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"showFilterIcons",{get:function(){return this._showIcons},set:function(e){if(e!=this.showFilterIcons){this._showIcons=wijmo_1.asBoolean(e);this._g&&this._g.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"showSortButtons",{get:function(){return this._showSort},set:function(e){this._showSort=wijmo_1.asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"reApplyFilterOnUpdate",{get:function(){return this._includeUpdatedRowsInFilter},set:function(e){e!==this._includeUpdatedRowsInFilter&&(this._includeUpdatedRowsInFilter=wijmo_1.asBoolean(e))},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"showIncludeSelection",{get:function(){return this._showIncludeSelection},set:function(e){if(e!=this._showIncludeSelection){this._showIncludeSelection=wijmo_1.asBoolean(e,!1);this._onShowIncludeSelectionChanged()}},enumerable:!0,configurable:!0});FlexGridFilter.prototype.getColumnFilter=function(e,t){void 0===t&&(t=!0);if(e=this._asColumn(e)){for(var i=0;i<this._filters.length;i++)if(wijmo_1._ENV_TOOLS.isSameInstance(this._filters[i].column,e))return this._filters[i];if(t&&e.binding){var l=new ColumnFilter(this,e);this._filters.push(l);return l}}return null};Object.defineProperty(FlexGridFilter.prototype,"defaultFilterType",{get:function(){return this._defFilterType},set:function(e){if((e=wijmo_1.asEnum(e,FilterType,!1))!=this.defaultFilterType){this._defFilterType=e;this._g.invalidate();this.clear()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"defaultFilterMode",{get:function(){return this._defFilterMode},set:function(e){if((e=wijmo_1.asEnum(e,FilterMode,!1))!=this._defFilterMode){this._defFilterMode=e;this._g.invalidate();this.clear()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"exclusiveValueSearch",{get:function(){return this._xValueSearch},set:function(e){if((e=wijmo_1.asBoolean(e))!==this._xValueSearch){this._xValueSearch=e;this.onExclusiveValueSearchChanged()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"filterDefinition",{get:function(){var e=this,t={defaultFilterType:this.defaultFilterType,filters:[]};this._filters.forEach((function(i){var l=i.conditionFilter,r=i.valueFilter,n=r.uniqueValues&&r.uniqueValues.length;if(i&&i.column&&i.column.binding&&(i.isActive||n||i.filterType!=e.defaultFilterType)){var o={binding:i.column.binding};if(l.isActive){var a=l.condition1,s=l.condition2;o={binding:i.column.binding,type:"condition",condition1:{operator:a.operator,value:a.value},and:l.and,condition2:{operator:s.operator,value:s.value}}}else(r.isActive||n)&&(o={binding:i.column.binding,type:"value",uniqueValues:r.uniqueValues,sortValues:r.sortValues,maxValues:r.maxValues,exclusiveValueSearch:r.exclusiveValueSearch,showValues:r.showValues});i.filterType!=e.defaultFilterType&&(o.filterType=i.filterType);t.filters.push(o)}}));return JSON.stringify(t)},set:function(e){e=wijmo_1.asString(e);this.clear();if(e){var t=JSON.parse(e);this.defaultFilterType=t.defaultFilterType;for(var _loop_1=function(e){var l=t.filters[e],r=i._asColumn(l.binding);r||(r=new wijmo_grid_1.Column({binding:l.binding}));var n=i.getColumnFilter(r,!0);if(n){null!=l.filterType&&(n.filterType=wijmo_1.asEnum(l.filterType,FilterType));switch(l.type){case"condition":var o=n.conditionFilter;o.condition1.value=r.dataType==wijmo_1.DataType.Date?wijmo_1.changeType(l.condition1.value,r.dataType,null):l.condition1.value;o.condition1.operator=l.condition1.operator;o.and=l.and;o.condition2.value=r.dataType==wijmo_1.DataType.Date?wijmo_1.changeType(l.condition2.value,r.dataType,null):l.condition2.value;o.condition2.operator=l.condition2.operator;break;case"value":var a=n.valueFilter;a.uniqueValues=l.uniqueValues;["sortValues","maxValues","exclusiveValueSearch"].forEach((function(e){null!=l[e]&&(a[e]=l[e])}));a.showValues=l.showValues}}},i=this,l=0;l<t.filters.length;l++)_loop_1(l)}this.apply()},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"activeEditor",{get:function(){return wijmo_1.Control.getControl(this._divEdt)},enumerable:!0,configurable:!0});FlexGridFilter.prototype.editColumnFilter=function(e,t,i){var l=this,r=this._g;this.closeEditor();e=this._asColumn(e);var n=new wijmo_grid_1.CellRangeEventArgs(r.cells,new wijmo_grid_1.CellRange(-1,e.index));if(this.onEditingFilter(n)){var o=wijmo_1.createElement('<div class="'+wijmo_input_1.DropDownClsNames.dropDownPanel+'"></div>'),a=this.getColumnFilter(e),s=new ColumnFilterEditor(o,a,this.showSortButtons);this._divEdt=o;this._edtCol=e;r.rightToLeft&&(o.dir="rtl");if(this.onFilterChanging(n)){n.cancel=!0;s.filterChanged.addHandler((function(){n.cancel=!1;setTimeout((function(){n.cancel||l.apply()}),s._edtVal&&s._edtVal._isFiltering?wijmo_1.Control._SEARCH_DELAY+200:0)}));s.buttonClicked.addHandler((function(){l.closeEditor();r.focus();l.onFilterChanged(n)}));s.lostFocus.addHandler((function(){setTimeout((function(){var e=wijmo_1.Control.getControl(l._divEdt);e&&!e.containsFocus()&&l.closeEditor()}),10)}));var d=t?t.col:e.index,u=r.columns[d];t||u&&u.binding==e.binding||(d=r.selection.leftCol);r._edtHdl._commitRowEdits();r.scrollIntoView(-1,d,!0);var c=r.columnHeaders,p=t&&t.panel&&c&&t.panel._uid==c._uid?t.row:c.rows.length-1,_=d,h=i||c.getCellElement(p,_),m=h?null:c.getCellBoundingRect(p,_);h?wijmo_1.showPopup(o,h,!1,!1,!1):wijmo_1.showPopup(o,m);var f=e.header,F=wijmo_1.format(wijmo_1.culture.FlexGridFilter.accessibilityHelperMessage.filter.filterColumn,{name:f});r.announceShortcut(F);this._adjustTabPanelStyle(a);this._setAriaExpanded(h,!0);this._setAriaExpanded(r.cells.getCellElement(-1,_),!0);for(var b=s.hostElement.querySelectorAll("input"),v=0;v<b.length;v++){var g=b[v];if(g.offsetHeight>0&&g.tabIndex>-1&&!g.disabled){g.focus();break}}s.containsFocus()||s.focus()}else this._divEdt=this._edtCol=null}};FlexGridFilter.prototype._setAriaExpanded=function(e,t){if(e){var i=e.querySelector("."+FlexGridFilter._WJC_FILTER);wijmo_1.setAttribute(i,"aria-expanded",t)}};FlexGridFilter.prototype.closeEditor=function(){var e=this._g,t=wijmo_1.Control.getControl(this._divEdt),i=this._edtCol;if(t){wijmo_1.hidePopup(t.hostElement,(function(){t.dispose()}));var l=wijmo_1.culture.FlexGridFilter.accessibilityHelperMessage.filter.closeFilterDialog;e.announceShortcut(l)}if(i){var r=e.columnHeaders,n=r.rows.length?r.getCellElement(r.rows.length-1,i.index):null;this._setAriaExpanded(n,!1);n=e.cells.getCellElement(-1,i.index);this._setAriaExpanded(n,!1)}this._divEdt=null;this._edtCol=null};FlexGridFilter.prototype.apply=function(){var e=this._g.collectionView;if(e){var t=this._g.editableCollectionView;if(t){t.commitEdit();t.commitNew()}this.excludedRowsSet=null;e.filter=this._filter.bind(this)}var i=e?e.updateFilterDefinition:null;wijmo_1.isFunction(i)&&i.call(e,this);this.onFilterApplied()};FlexGridFilter.prototype.clear=function(){if(this._filters.length){this._filters=[];this.apply()}};FlexGridFilter.prototype.onFilterApplied=function(e){this.filterApplied.raise(this,e)};FlexGridFilter.prototype.onEditingFilter=function(e){this.editingFilter.raise(this,e);return!e.cancel};FlexGridFilter.prototype.onFilterChanging=function(e){this.filterChanging.raise(this,e);return!e.cancel};FlexGridFilter.prototype.onFilterChanged=function(e){this.filterChanged.raise(this,e)};FlexGridFilter.prototype.onExclusiveValueSearchChanged=function(e){this.exclusiveValueSearchChanged.raise(this,e)};FlexGridFilter.prototype._onShowIncludeSelectionChanged=function(e){this._showIncludeSelectionChanged.raise(this,e)};FlexGridFilter.prototype._asColumn=function(e){return wijmo_1.isString(e)?this._g.getColumn(e,!0):wijmo_1.isNumber(e)?this._g.columns[e]:wijmo_1.asType(e,wijmo_grid_1.Column,!1)};FlexGridFilter.prototype._filter=function(e){var t=this.excludedRowsSet;if(!this.reApplyFilterOnUpdate&&t.has(e))return!0;for(var i=this._filters,l=0;l<i.length;l++){var r=i[l];if(r.column!=FlexGridFilter._skipColumn&&!r.apply(e))return!1}return!0};FlexGridFilter.prototype._adjustTabPanelStyle=function(e){if(e){var t=e.filterType!==FilterType.Both,i=document.querySelector('[wj-part="tabpanes"]');t&&i&&wijmo_1.toggleClass(i,exports.FlexGridFilterClsNames.filterTopBorder)}};FlexGridFilter.prototype._formatItem=function(e,t){if(t.panel==e.columnHeaders){var i=this._g,l=i.getMergedRange(t.panel,t.row,t.col)||new wijmo_grid_1.CellRange(t.row,t.col),r=i.columns[l.col],n=i._getBindingColumn(t.panel,t.row,r),o=t.cell;if(l.row2==t.panel.rows.length-1||r!=n){var a=this.getColumnFilter(n,this.defaultFilterType!=FilterType.None),s=this._filterColumns;s&&s.length&&s.indexOf(n.binding)<0&&s.indexOf(n.name)<0&&(a=null);if(a){wijmo_1.toggleClass(o,exports.FlexGridFilterClsNames.filterOn,a.isActive);wijmo_1.toggleClass(o,exports.FlexGridFilterClsNames.filterOff,!a.isActive)}else{wijmo_1.removeClass(o,exports.FlexGridFilterClsNames.filterOn);wijmo_1.removeClass(o,exports.FlexGridFilterClsNames.filterOff)}if(a&&a.filterType!=FilterType.None){this._showIcons&&this._addFilterButton(n,a,o);0==t.row&&(o=i.cells.getCellElement(-1,t.col))&&this._addFilterButton(r,a,o)}}}};FlexGridFilter.prototype._addFilterButton=function(e,t,i){var l=FlexGridFilter._WJC_FILTER,r=wijmo_1.createElement('<button class="'+wijmo_1.InputFormElementsClsNames.btn+" "+wijmo_1.GlyphClsNames.btnGlyph+" "+wijmo_1.UtilitesClsNames.right+" "+l+'" type="button" tabindex="-1"><span class='+wijmo_1.GlyphClsNames.filter+"></span></button>");wijmo_1.setAriaLabel(r,wijmo_1.culture.FlexGridFilter.ariaLabels.edit+" "+e.header);wijmo_1.setAttribute(r,"aria-haspopup","dialog");wijmo_1.setAttribute(r,"aria-expanded",!1);wijmo_1.setAttribute(r,"aria-describedby",e.describedById);wijmo_1.setAttribute(r,"aria-pressed",t.isActive);if(!i.querySelector("."+l)){1==i.children.length&&(i=i.querySelector("div")||i);i.insertBefore(r,i.firstChild)}};FlexGridFilter.prototype._mousedown=function(e){this._edtColPrev=this._edtCol};FlexGridFilter.prototype._click=function(e){if(this._toggleEditor(e)){e.stopPropagation();e.preventDefault()}};FlexGridFilter.prototype._toggleEditor=function(e){var t=this;if(!e.defaultPrevented&&0==e.button)if(wijmo_1.closestClass(e.target,FlexGridFilter._WJC_FILTER)){var i=this._g,l=i.hitTest(e.target);l.panel||(l=i.hitTest(e));if(l.panel&&i.columnHeaders&&i.cells&&(l.panel._uid==i.columnHeaders._uid||l.panel._uid==i.cells._uid&&-1==l.row)){var r=i.getMergedRange(l.panel,l.row,l.col)||new wijmo_grid_1.CellRange(l.row,l.col),n=i.columns[r.col],o=i._getBindingColumn(l.panel,l.row,n);if(this._divEdt&&this._edtCol==o){this.closeEditor();i.focus()}else o!=this._edtColPrev&&setTimeout((function(){t.editColumnFilter(o,l)}),this._divEdt?100:0);return!0}}else this.closeEditor();return!1};FlexGridFilter.prototype._keydown=function(e){var t=e.ctrlKey||e.metaKey,i=!e.defaultPrevented&&!t&&e.altKey,l=i&&e.keyCode===wijmo_1.Key.Up,r=i&&e.keyCode===wijmo_1.Key.Down,n=!e.defaultPrevented&&t&&e.shiftKey&&e.keyCode===wijmo_1.Key.F;if(l||r||n){var o=this.grid,a=o.selection,s=a.col>-1?o.columns[a.col]:null,d=s?o._getBindingColumn(o.cells,a.row,s):null,u=d&&d.dataMap&&d.dataMapEditor==wijmo_grid_1.DataMapEditor.DropDownList;if(this.filterColumns&&this.filterColumns.length>0&&!this.filterColumns.includes(d._binding._path)){e.preventDefault();return!1}if(o.activePanelType!=wijmo_grid_1.CellType.Cell&&o.activePanelType!=wijmo_grid_1.CellType.ColumnHeader){e.preventDefault();return!1}d&&d.editor instanceof wijmo_input_1.DropDown&&(u=!0);if(d&&(!u||n)){var c=this.getColumnFilter(d,!1);if(c&&c.filterType!=FilterType.None){this.editColumnFilter(d);e.preventDefault();e.stopPropagation()}}}};FlexGridFilter.prototype._removeFilter=function(e){this._filters.splice(e,1)};FlexGridFilter.prototype._adjustBindingColumns=function(e,t){if(t.action==wijmo_1.NotifyCollectionChangedAction.Reset){var i=this._filters;if(i&&i.length>0)for(var l=i.length-1;l>=0;l--){var r=i[l],n=r.column;if(n.binding){var o=this._asColumn(n.binding);o?o!==n&&r._setColumn(o):this._removeFilter(l)}}}};FlexGridFilter._WJC_FILTER=exports.FlexGridFilterClsNames.elemFilter;return FlexGridFilter}();exports.FlexGridFilter=FlexGridFilter;exports.empty={};var ValueFilterSearchKind,ColumnFilter=function(){function ColumnFilter(e,t){var i=this;this._ariaLabel=wijmo_1.culture.FlexGridFilter.ariaLabels.dialog;this._owner=e;this._col=t;this._valueFilter=new ValueFilter(t);this._valueFilter.setColumnFilter(this);this._valueFilter.exclusiveValueSearch=e.exclusiveValueSearch;this._valueFilter.showIncludeSelection=e.showIncludeSelection;this._conditionFilter=new ConditionFilter(t);this._conditionFilter.setColumnFilter(this);e.exclusiveValueSearchChanged.addHandler((function(e){i._valueFilter.exclusiveValueSearch=e.exclusiveValueSearch}));e._showIncludeSelectionChanged.addHandler((function(e){i._valueFilter.showIncludeSelection=e.showIncludeSelection}))}Object.defineProperty(ColumnFilter.prototype,"filterType",{get:function(){return null!=this._filterType?this._filterType:this._owner.defaultFilterType},set:function(e){if((e=wijmo_1.asEnum(e,FilterType,!0))!=this._filterType){var t=this.isActive;this.clear();this._filterType=e;t?this._owner.apply():this._col.grid&&this._col.grid.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ColumnFilter.prototype,"filterMode",{get:function(){return null!=this._filterMode?this._filterMode:this._owner.defaultFilterMode},set:function(e){if((e=wijmo_1.asEnum(e,FilterMode,!0))!=this._filterMode){var t=this.isActive;this.clear();this._filterMode=e;t?this._owner.apply():this._col.grid&&this._col.grid.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ColumnFilter.prototype,"dataMap",{get:function(){return this.conditionFilter.dataMap||this.valueFilter.dataMap},set:function(e){this.conditionFilter.dataMap=e;this.valueFilter.dataMap=e},enumerable:!0,configurable:!0});Object.defineProperty(ColumnFilter.prototype,"valueFilter",{get:function(){return this._valueFilter},enumerable:!0,configurable:!0});Object.defineProperty(ColumnFilter.prototype,"conditionFilter",{get:function(){return this._conditionFilter},enumerable:!0,configurable:!0});Object.defineProperty(ColumnFilter.prototype,"column",{get:function(){return this._col},enumerable:!0,configurable:!0});ColumnFilter.prototype._setColumn=function(e){this._col=e;this._valueFilter&&this._valueFilter._setColumn(e);this._conditionFilter&&this._conditionFilter._setColumn(e)};Object.defineProperty(ColumnFilter.prototype,"ariaLabel",{get:function(){return this._ariaLabel},set:function(e){e!=this._ariaLabel&&(this._ariaLabel=e)},enumerable:!0,configurable:!0});Object.defineProperty(ColumnFilter.prototype,"isActive",{get:function(){return this._conditionFilter.isActive||this._valueFilter.isActive},enumerable:!0,configurable:!0});ColumnFilter.prototype.apply=function(e){var t=this._conditionFilter.apply(e);this._valueFilter._cancelFilter||(t=t&&this._valueFilter.apply(e));return t};ColumnFilter.prototype.clear=function(){this._valueFilter.clear();this._conditionFilter.clear()};ColumnFilter.prototype.implementsInterface=function(e){return"IColumnFilter"==e};return ColumnFilter}();exports.ColumnFilter=ColumnFilter;!function(e){e[e.Text=0]="Text";e[e.Regex=1]="Regex";e[e.Excel=2]="Excel"}(ValueFilterSearchKind=exports.ValueFilterSearchKind||(exports.ValueFilterSearchKind={}));var ValueFilter=function(){function ValueFilter(e){this._values=null;this._filterText=null;this._xValueSearch=!0;this._maxValues=250;this._uniqueValues=null;this._sortValues=!0;this._searchType=ValueFilterSearchKind.Excel;this._showIncludeSelection=!1;this._allValues=null;this._col=e}Object.defineProperty(ValueFilter.prototype,"searchType",{get:function(){return this._searchType},set:function(e){this._searchType=wijmo_1.asEnum(e,ValueFilterSearchKind)},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"showValues",{get:function(){return this._values},set:function(e){this._values=e},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"filterText",{get:function(){return this._filterText},set:function(e){this._filterText=wijmo_1.asString(e)},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"exclusiveValueSearch",{get:function(){return this._xValueSearch},set:function(e){if((e=wijmo_1.asBoolean(e))!==this._xValueSearch){this._xValueSearch=wijmo_1.asBoolean(e);e&&(this._filterText="")}},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"maxValues",{get:function(){return this._maxValues},set:function(e){this._maxValues=wijmo_1.asNumber(e,!1,!0)},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"uniqueValues",{get:function(){return this._uniqueValues},set:function(e){this._uniqueValues=wijmo_1.asArray(e)},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"sortValues",{get:function(){return this._sortValues},set:function(e){this._sortValues=wijmo_1.asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"dataMap",{get:function(){return this._map},set:function(e){this._map=wijmo_1.asType(e,wijmo_grid_1.DataMap,!0)},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"showIncludeSelection",{get:function(){return this._showIncludeSelection},set:function(e){e!=this._showIncludeSelection&&(this._showIncludeSelection=wijmo_1.asBoolean(e,!1))},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"column",{get:function(){return this._col},enumerable:!0,configurable:!0});ValueFilter.prototype._setColumn=function(e){this._col=e};Object.defineProperty(ValueFilter.prototype,"isActive",{get:function(){var e=null!=this._values;return this._columnFilter&&this._columnFilter.filterMode===FilterMode.MultiFilter?e:e&&Object.keys(this._values).length>0},enumerable:!0,configurable:!0});ValueFilter.prototype.apply=function(e){var t=this.column;if(!t||!t._binding||!this.isActive)return!0;e=t._binding.getValue(e);e=this.dataMap?this.dataMap.getDisplayValue(e)||"":t.dataMap?t.dataMap.getDisplayValue(e)||"":wijmo_1.Globalize.format(e,t.format);return null!=this._values[e]};ValueFilter.prototype.clear=function(){this.showValues=null;this.filterText=null};ValueFilter.prototype.getUniqueValues=function(e){void 0===e&&(e=!0);var t=[],i=this.column,l=wijmo_1.Globalize.format;if(this.uniqueValues){this.uniqueValues.forEach((function(e){t.push({value:e,text:l(e,i.format)})}));return t}var r={},n=i.collectionView,o=n?n.sourceCollection:[];if(e&&n&&n.sourceCollection&&n.filter)try{this._columnFilter&&this._columnFilter.filterMode===FilterMode.MultiFilter&&this._columnFilter.conditionFilter.isActive?this._cancelFilter=!0:FlexGridFilter._skipColumn=this._col;for(var a=[],s=0;s<o.length;s++)n.filter(o[s])&&a.push(o[s]);o=a}finally{this._cancelFilter=!1;FlexGridFilter._skipColumn=null}for(s=0;s<o.length;s++){var d=i._binding.getValue(o[s]),u=this.dataMap?this.dataMap.getDisplayValue(d)||"":i.dataMap?i.dataMap.getDisplayValue(d)||"":l(d,i.format);if(!r[u]){r[u]=!0;t.push({value:d,text:u})}}return t};ValueFilter.prototype.implementsInterface=function(e){return"IColumnFilter"==e};ValueFilter.prototype.setColumnFilter=function(e){this._columnFilter=e};ValueFilter.prototype.updateShowStatus=function(e){if(this.showValues&&0!=Object.keys(this.showValues).length){for(var t in this.showValues)for(var i=0;i<e.length;i++)if(e[i].text==t){e[i].show=!0;break}}else e.forEach((function(e){e.show=!0}));return e};ValueFilter.prototype.setInitialAllValues=function(){var e=this.getUniqueValues(!1);this._allValues=this.updateShowStatus(e)};return ValueFilter}();exports.ValueFilter=ValueFilter;var ValueFilterEditor=function(e){__extends(ValueFilterEditor,e);function ValueFilterEditor(t,i){var l=e.call(this,t)||this;l._canApply=!1;l._isFiltering=!1;l._filterTextChangedBnd=l._filterTextChanged.bind(l);l._cbSelectAllClickedBnd=l._cbSelectAllClicked.bind(l);l.canApplyChanged=new wijmo_1.Event;l._filter=wijmo_1.asType(i,ValueFilter,!1);var r=l.getTemplate();l.applyTemplate(wijmo_1.ControlClsNames.hostElement+" "+exports.ValueFilterEditorClsNames.hostElement,r,{_divFilter:"div-filter",_cbSelectAll:"cb-select-all",_spSelectAll:"sp-select-all",_cbIncludeSel:"cb-include-sel",_spIncludeSel:"sp-include-sel",_lblIncludeSel:"lbl-include-sel",_divOptions:"div-options",_divValues:"div-values",_divExceeds:"div-exceeds",_aExceeds:"a-exceeds"});l._cbSelectAll.tabIndex=0;l._cbIncludeSel.tabIndex=0;l._divExceeds.tabIndex=0;var n=wijmo_1.culture.FlexGridFilter;wijmo_1.setText(l._spSelectAll,n.selectAll);wijmo_1.setText(l._spIncludeSel,n.includeSelection);wijmo_1.setText(l._aExceeds,n.exceedsMaxValues);wijmo_1.setAttribute(l._divValues,"aria-live","polite");l._view=new wijmo_1.CollectionView(null,{sortNulls:wijmo_1.SortNulls.First,filter:l._filterValues.bind(l)});var o=l._view;if(i.sortValues){var a=i.column.dataMap||i.dataMap?"text":"value",s=i.column.dataType!=wijmo_1.DataType.Boolean;o.sortDescriptions.push(new wijmo_1.SortDescription(a,s))}o.collectionChanged.addHandler(l._updateSelectAllCheck,l);l._filterText="";l._rxFilter=null;l._cmbFilter=new input.ComboBox(l._divFilter,{trimText:!1,isRequired:!1,placeholder:n.search,keyActionPrintCharacters:0,keyActionTab:0});l._cmbFilter.isEditable=!0;var d=l._divFilter.querySelector(".wj-input-group");if(d){var u=document.createElement("span");u.classList.add("wj-glyph-search");d.insertBefore(u,d.firstChild)}l._lbValues=new input.ListBox(l._divValues,{displayMemberPath:"text",checkedMemberPath:"show",itemsSource:l._view,itemFormatter:function(e,t){return t||n.null},checkedItemsChanged:function(e){return l._updateSelectAllCheck()}});l._lbValues._isNeedUpdateBnd=l._isSingleFilterMode();wijmo_1.setAttribute(l._divValues,"aria-label",wijmo_1.culture.FlexGridFilter.ariaLabels.listBox);wijmo_1.setAriaLabel(l._cmbFilter.inputElement,n.ariaLabels.search);wijmo_1.setAttribute(l._lbValues.hostElement,"aria-multiselectable",!0);l._cmbFilter.inputElement.addEventListener("input",l._filterTextChangedBnd);l._cbSelectAll.addEventListener("click",l._cbSelectAllClickedBnd);if(!l._popup){l._initPopup();l._aExceeds&&l.addEventListener(l._aExceeds,"click",(function(e){e.preventDefault();l._popup.show(!0)}))}l.updateEditor();wijmo_1.setAttribute(l._lbValues.hostElement,"tabindex","-1");l._filter.showValues?l._initialItems=o.sourceCollection.filter((function(e){return l._filter.showValues[e.text||e.value]||!1})):l._initialItems=l._lbValues.checkedItems;l._isSingleFilterMode()||l._filter.setInitialAllValues();return l}Object.defineProperty(ValueFilterEditor,"controlTemplate",{get:function(){ValueFilterEditor._ctrlTemplate||(ValueFilterEditor._ctrlTemplate='<div><div wj-part="div-filter"></div><div wj-part="div-options" class="'+input.ListBoxClsNames.listBoxItem+" "+exports.ValueFilterEditorClsNames.filterOptions+'"><label wj-part="select-all-container"><input wj-part="cb-select-all" type="checkbox" class="wj-custom-checkbox"> <span wj-part="sp-select-all"></span></label><br /><label wj-part="lbl-include-sel"><input wj-part="cb-include-sel" type="checkbox" class="wj-custom-checkbox"> <span wj-part="sp-include-sel"></span></label></div><div wj-part="div-values"></div><div wj-part="div-exceeds"><a wj-part="a-exceeds"></a></div></div>');return ValueFilterEditor._ctrlTemplate},set:function(e){ValueFilterEditor._ctrlTemplate=e},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilterEditor.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilterEditor.prototype,"canApply",{get:function(){return this._canApply},set:function(e){if(e!=this._canApply){this._canApply=e;this.onCanApplyChanged()}},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilterEditor.prototype,"_shouldIncludeSelection",{get:function(){return this._filter.showIncludeSelection&&this._cbIncludeSel.checked},enumerable:!0,configurable:!0});ValueFilterEditor.prototype.updateEditor=function(){var e=this,t=this._filter.column,i=this._filter.getUniqueValues(!0);this._lbValues.isContentHtml=t.isContentHtml;var l=this._filter.showValues;if(!l||0==Object.keys(l).length&&this._isSingleFilterMode())i.forEach((function(e){e.show=!0}));else for(var r in l)for(var n=0;n<i.length;n++)if(i[n].text==r){i[n].show=!0;break}var o=this._filter.filterText||"",a=this._getCaseSensitive();this._cmbFilter.text=o;this._filterText=a?o:o.toLowerCase();this._rxFilter=this._getSearchExp(o,a);this._filter.showIncludeSelection&&!this.hostElement.contains(this._lblIncludeSel)?this._divOptions.appendChild(this._lblIncludeSel):this._filter.showIncludeSelection||this._lblIncludeSel.remove();var s=this._view;s.pageSize=this._filter.maxValues;s.sourceCollection=i;this._adjustWidthsTimer=setTimeout((function(){e._adjustWidths()}),0);this._updateExceedsMaxValuesDisplay()};ValueFilterEditor.prototype.clearEditor=function(e){void 0===e&&(e=!0);this._cmbFilter.text="";this._filterText="";this._rxFilter=null;var t=this._view;t.pageSize=0;t.items.forEach((function(t){t.show=e}));t.moveCurrentTo(-1);t.refresh();t.pageSize=this._filter.maxValues};Object.defineProperty(ValueFilterEditor.prototype,"isEditorClear",{get:function(){return!this._filterText&&!this._cbSelectAll.indeterminate},enumerable:!0,configurable:!0});ValueFilterEditor.prototype._updateFilter=function(){var e,t=this._filter,i=null;e=this._isSingleFilterMode()?this._getItems():this._filter._allValues=wijmo_1.replaceItems(this._filter._allValues,this._view.sourceCollection);if(!this._isSingleFilterMode()||this._filterText||this._cbSelectAll.indeterminate){i=this._shouldIncludeSelection&&this._filter.showValues||{};for(var l=0;l<e.length;l++){var r=e[l];r.show&&(i[r.text]=!0)}}t.showValues=i;t.filterText=this._filterText};ValueFilterEditor.prototype.updateFilter=function(){var e=this;this._isFiltering?this._updateFilterTimer=setTimeout((function(){e._updateFilter()}),wijmo_1.Control._SEARCH_DELAY+100):this._updateFilter()};ValueFilterEditor.prototype.onCanApplyChanged=function(e){this.canApplyChanged.raise(this,e)};ValueFilterEditor.prototype._getCaseSensitive=function(){var e=this._filter.column,t=e?e.grid:null;return t&&t.caseSensitiveSearch};ValueFilterEditor.prototype._getItems=function(){return this._filter.exclusiveValueSearch?this._view.items:this._view.sourceCollection};ValueFilterEditor.prototype._filterTextChanged=function(){var e=this;""===this._filterText&&this._cbSelectAll.checked||this._filter.exclusiveValueSearch?this._lbValues._addMode=!1:this._lbValues._addMode=!0;this._toFilter&&clearTimeout(this._toFilter);this._isFiltering=!0;this._toFilter=setTimeout((function(){var t=e._cmbFilter.text,i=e._getCaseSensitive();i||(t=t.toLowerCase());if(t!=e._filterText){e._filterText=t;e._rxFilter=e._getSearchExp(t,i);e._view.refresh();e._updateExceedsMaxValuesDisplay();if(e._isSingleFilterMode()){if(!t){var l=e._initialItems;if(l.length&&e._view.sourceCollection.indexOf(l[0])>-1){e._lbValues.checkedItems=e._initialItems;e._updateSelectAllCheck();e._isFiltering=!1;return}}}else e._filter.filterText=t;if(e._filter.exclusiveValueSearch){e._cbSelectAll.checked=!1;e._cbSelectAll.click()}else e._updateSelectAllCheck()}e._isFiltering=!1}),wijmo_1.Control._SEARCH_DELAY)};ValueFilterEditor.prototype._getSearchExp=function(e,t){if(!e)return null;switch(this._filter.searchType){case ValueFilterSearchKind.Text:return this._getTextSearchExp(e,t);case ValueFilterSearchKind.Regex:return this._getRegexSearchExp(e,t);case ValueFilterSearchKind.Excel:return this._getExcelSearchExp(e,t)}};ValueFilterEditor.prototype._getTextSearchExp=function(e,t){return new RegExp(wijmo_1.escapeRegExp(e),t?"":"i")};ValueFilterEditor.prototype._getRegexSearchExp=function(e,t){try{return new RegExp(e,t?"s":"is")}catch(e){return new RegExp("(?!)",t?"s":"is")}};ValueFilterEditor.prototype._getExcelSearchExp=function(e,t){var i=e;i=(i=(i=(i=(i=(i=(i=(i=i.replace(/([.+^$[\]\\(){}|-])/g,"\\$1")).replace(/~~/g,"__`$0`__")).replace(/~\?/g,"__`$1`__")).replace(/~\*/g,"__`$2`__")).replace(/~(.)/g,"$1")).replace(/(\?+)/g,(function(e,t){return Array.from(t).map((function(e){return"."})).join("")}))).replace(/(\*+)/g,(function(e,t){return Array.from(t).map((function(e){return".*"})).join("")}))).replace(/__`\$(\d)`__/g,(function(e,t){switch(t){case"0":return"~";case"1":return"\\?";case"2":return"\\*"}}));/([^~]|^)[?*]/g.test(e)&&(i="^"+i+"$");("~"===e||e&&!i.length)&&(i="$a^");return new RegExp(i,t?"s":"is")};ValueFilterEditor.prototype._filterValues=function(e){var t=this._rxFilter;return null==t||null==e||t.test(e.text)};ValueFilterEditor.prototype._getActualItems=function(){return this._isSingleFilterMode()?this._getItems():this.exceedsMaxValues?this._view._view:this._view.items};ValueFilterEditor.prototype._cbSelectAllClicked=function(){for(var e=this,t=this._cbSelectAll.checked,i=this._divValues.scrollTop,l=this._getActualItems(),r=0;r<l.length;r++)l[r].show=t;this._view.refresh();this._divValues.scrollTop=i;this._adjustWidthsTimer=setTimeout((function(){e._adjustWidths()}),0)};ValueFilterEditor.prototype._updateSelectAllCheck=function(){for(var e=this._getActualItems(),t=0,i=0,l=0;l<e.length;l++){e[l].show?t++:i++;if(t&&i)break}var r=t&&i?null:t>0;wijmo_1.setChecked(this._cbSelectAll,r);null==r?this._cbSelectAll.setAttribute("data-indeterminate","true"):this._cbSelectAll.removeAttribute("data-indeterminate");this.canApply=t>0};ValueFilterEditor.prototype._adjustWidths=function(){var e=this._lbValues.hostElement;if(e&&e.offsetHeight>0){var t=0,i=e.querySelectorAll("."+input.ListBoxClsNames.listBoxItem);if(i.length){for(var l=0;l<i.length;l++)t=Math.max(t,i[l].scrollWidth);if(t){var r=e.querySelectorAll("."+input.ListBoxClsNames.listBoxItem);if(r.length)for(l=0;l<r.length;l++)r[l].style.width=t+"px"}}}};Object.defineProperty(ValueFilterEditor.prototype,"exceedsMaxValues",{get:function(){return!(!this._view||!this._view._view)&&this._view._view.length>this.filter.maxValues},enumerable:!0,configurable:!0});ValueFilterEditor.prototype._updateExceedsMaxValuesDisplay=function(){this._divExceeds.style.display=this.exceedsMaxValues?"":"none"};ValueFilterEditor.prototype._initPopup=function(){var e=document.createElement("div"),t=this.hostElement.getAttribute("lang");e.innerHTML='\n <div role="dialog" aria-modal="true" aria-describedby="dialogDesc" '+(t?'lang="'+t+'"':"")+"><div class="+input.PopupClsNames.dialogBody+"><div class="+exports.ValueFilterEditorClsNames.customModalText+'><p id="dialogDesc">'+wijmo_1.culture.FlexGridFilter.popupBody+'</p></div></div><div class="'+input.PopupClsNames.dialogFooter+" "+exports.ValueFilterEditorClsNames.modalFooter+'" ><button class="btn btn-primary '+wijmo_1.UtilitesClsNames.hideOk+'">'+wijmo_1.culture.FlexGridFilter.popupOkButton+"</button></div></div>";this._popup=new input.Popup(e,{modal:!0,fadeIn:!0,fadeOut:!0})};ValueFilterEditor.prototype._isSingleFilterMode=function(){return!this._filter._columnFilter||this._filter._columnFilter.filterMode==FilterMode.SingleFilter};ValueFilterEditor.prototype.dispose=function(){if(this._lbValues){this._lbValues.dispose();this._lbValues=null}this._cbSelectAll&&this._cbSelectAll.removeEventListener("click",this._cbSelectAllClickedBnd);if(this._cmbFilter){this._cmbFilter.inputElement&&this._cmbFilter.inputElement.removeEventListener("input",this._filterTextChangedBnd);this._cmbFilter.dispose();this._cmbFilter=null}if(this._view){this._view.collectionChanged.removeHandler(this._updateSelectAllCheck,this);this._view=null}if(this._adjustWidthsTimer){clearTimeout(this._adjustWidthsTimer);this._adjustWidthsTimer=null}if(this._updateFilterTimer){clearTimeout(this._updateFilterTimer);this._updateFilterTimer=null}if(this._toFilter){clearTimeout(this._toFilter);this._toFilter=null}if(this._popup&&!this._popup.isVisible){this._popup.dispose();this._popup=null}this._filter=null;this._initialItems=null;this._rxFilter=null;this._filterText=null;e.prototype.dispose.call(this)};ValueFilterEditor._ctrlTemplate="";return ValueFilterEditor}(wijmo_1.Control);exports.ValueFilterEditor=ValueFilterEditor;var ConditionFilter=function(){function ConditionFilter(e){this._c1=new FilterCondition(this);this._c2=new FilterCondition(this);this._and=!0;this._col=e}Object.defineProperty(ConditionFilter.prototype,"condition1",{get:function(){return this._c1},enumerable:!0,configurable:!0});Object.defineProperty(ConditionFilter.prototype,"condition2",{get:function(){return this._c2},enumerable:!0,configurable:!0});Object.defineProperty(ConditionFilter.prototype,"and",{get:function(){return this._and},set:function(e){this._and=wijmo_1.asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(ConditionFilter.prototype,"dataMap",{get:function(){return this._map},set:function(e){this._map=wijmo_1.asType(e,wijmo_grid_1.DataMap,!0)},enumerable:!0,configurable:!0});Object.defineProperty(ConditionFilter.prototype,"column",{get:function(){return this._col},enumerable:!0,configurable:!0});ConditionFilter.prototype._setColumn=function(e){this._col=e};Object.defineProperty(ConditionFilter.prototype,"isActive",{get:function(){return this._c1.isActive||this._c2.isActive},enumerable:!0,configurable:!0});ConditionFilter.prototype.apply=function(e){var t=this._col,i=this._c1,l=this._c2,r=!1,n=!1;if(!t||!t._binding||!this.isActive)return!0;e=t._binding.getValue(e);var o=this.dataMap||t.dataMap;if(o)e=o.getDisplayValue(e);else if(wijmo_1.isDate(e)){r=!this._hasTimePart();n=!this._hasDatePart();var a=FilterCondition._refDateTime;r?e=wijmo_1.DateTime.fromDateTime(e,a):n&&(e=wijmo_1.DateTime.fromDateTime(a,e))}else if(wijmo_1.isNumber(e)){var s=wijmo_1.Globalize,d=t.format,u=s.formatNumber(e,d);e=s.parseFloat(u,d)}var c=i.apply(e,r,n),p=l.apply(e,r,n);return i.isActive&&l.isActive?this._and?c&&p:c||p:i.isActive?c:!l.isActive||p};ConditionFilter.prototype.clear=function(){this._c1.clear();this._c2.clear();this.and=!0};ConditionFilter.prototype._hasDatePart=function(){var e=this._col.format;if(!e)return!0;e=wijmo_1.culture.Globalize.calendar.patterns[e]||e;return/[yMd]+/.test(e)};ConditionFilter.prototype._hasTimePart=function(){var e=this._col.format;if(!e)return!1;e=wijmo_1.culture.Globalize.calendar.patterns[e]||e;return/[Hmst]+/.test(e)};ConditionFilter.prototype.implementsInterface=function(e){return"IColumnFilter"==e};ConditionFilter.prototype.setColumnFilter=function(e){this._columnFilter=e};return ConditionFilter}();exports.ConditionFilter=ConditionFilter;var Operator,FilterCondition=function(){function FilterCondition(e){this._op=null;this._filter=e}Object.defineProperty(FilterCondition.prototype,"operator",{get:function(){return this._op},set:function(e){this._op=wijmo_1.asEnum(e,Operator,!0)},enumerable:!0,configurable:!0});Object.defineProperty(FilterCondition.prototype,"value",{get:function(){return this._val},set:function(e){this._val=e;this._strVal=wijmo_1.isString(e)?this._getCaseString(e):null},enumerable:!0,configurable:!0});Object.defineProperty(FilterCondition.prototype,"isActive",{get:function(){if(this._filter._columnFilter&&this._filter._columnFilter.filterMode==FilterMode.MultiFilter)switch(this._op){case null:return!1;case Operator.BLANK:case Operator.NOTBLANK:return!0;default:return""!==this._val&&null!==this._val}else switch(this._op){case null:return!1;case Operator.EQ:case Operator.NE:return!0;default:return null!=this._val||null!=this._strVal}},enumerable:!0,configurable:!0});FilterCondition.prototype.clear=function(){this.operator=null;this.value=null};FilterCondition.prototype.apply=function(e,t,i){var l=this._strVal||this._val;wijmo_1.isString(e)&&(e=this._getCaseString(e));wijmo_1.isString(l)&&null==e&&(e="");wijmo_1.isDate(l)&&(t?l=wijmo_1.DateTime.fromDateTime(l,FilterCondition._refDateTime):i&&(l=wijmo_1.DateTime.fromDateTime(FilterCondition._refDateTime,l)));var r=Operator;switch(this._op){case null:return!0;case r.EQ:return null!=e&&null!=l?e.valueOf()==l.valueOf():e==l;case r.NE:return null!=e&&null!=l?e.valueOf()!=l.valueOf():e!=l;case r.GT:return e>l;case r.GE:return e>=l;case r.LT:return e<l;case r.LE:return e<=l;case r.BW:return!(null==this._strVal||!wijmo_1.isString(e))&&0==e.indexOf(this._strVal);case r.EW:return!!(null!=this._strVal&&wijmo_1.isString(e)&&e.length>=this._strVal.length)&&e.substr(e.length-this._strVal.length)==l;case r.CT:return!(null==this._strVal||!wijmo_1.isString(e))&&e.indexOf(this._strVal)>-1;case r.NC:return!(null==this._strVal||!wijmo_1.isString(e))&&e.indexOf(this._strVal)<0;case r.NBW:return!(null==this._strVal||!wijmo_1.isString(e))&&0!==e.indexOf(this._strVal);case r.NEW:return!(null==this._strVal||!wijmo_1.isString(e))&&e.substring(e.length-this._strVal.length)!==l;case r.BLANK:return isBlankValue(e);case r.NOTBLANK:return!isBlankValue(e)}throw"Unknown operator"};FilterCondition.prototype._getCaseString=function(e){var t=this._filter.column,i=t?t.grid:null;return i&&i.caseSensitiveSearch?e:e.toLowerCase()};FilterCondition._refDateTime=new Date(2e3,0,1,0,0,0);return FilterCondition}();exports.FilterCondition=FilterCondition;!function(e){e[e.EQ=0]="EQ";e[e.NE=1]="NE";e[e.GT=2]="GT";e[e.GE=3]="GE";e[e.LT=4]="LT";e[e.LE=5]="LE";e[e.BW=6]="BW";e[e.EW=7]="EW";e[e.CT=8]="CT";e[e.NC=9]="NC";e[e.NBW=10]="NBW";e[e.NEW=11]="NEW";e[e.BLANK=100]="BLANK";e[e.NOTBLANK=101]="NOTBLANK"}(Operator=exports.Operator||(exports.Operator={}));function isBlankValue(e){return null==e||""===e}var ConditionFilterEditor=function(e){__extends(ConditionFilterEditor,e);function ConditionFilterEditor(t,i){var l=e.call(this,t)||this;l._canApply=!1;l.canApplyChanged=new wijmo_1.Event;l._filter=wijmo_1.asType(i,ConditionFilter,!1);var r=l.getTemplate();l.applyTemplate(wijmo_1.ControlClsNames.hostElement+" "+exports.ConditionFilterEditorClsNames.hostElement,r,{_divHdr:"div-hdr",_divCmb1:"div-cmb1",_divVal1:"div-val1",_btnAnd:"btn-and",_btnOr:"btn-or",_spAnd:"sp-and",_spOr:"sp-or",_divCmb2:"div-cmb2",_divVal2:"div-val2",_lblVal:"lbl-val",_divHdr2:"div-hdr-second",_lblVal2:"lbl-val-second"});var n=wijmo_1.culture.FlexGridFilter,o=n.ariaLabels;wijmo_1.setAriaLabel(l._btnAnd,o.and);wijmo_1.setAriaLabel(l._btnOr,o.or);wijmo_1.setAttribute(l._btnAnd,"aria-describedby","filterAndDesc");wijmo_1.setAttribute(l._btnOr,"aria-describedby","filterOrDesc");l._spAnd.id="filterAndDesc";l._spOr.id="filterOrDesc";wijmo_1.setText(l._divHdr,n.header);wijmo_1.setText(l._spAnd,n.and);wijmo_1.setText(l._spOr,n.or);wijmo_1.setText(l._lblVal,o.val1);wijmo_1.setText(l._divHdr2,n.header);wijmo_1.setText(l._lblVal2,o.val2);l._linkLabelToInput(l._divHdr,l._divCmb1,"cmb1");l._linkLabelToInput(l._divHdr2,l._divCmb2,"cmb2");l._cmb1=l._createOperatorCombo(l._divCmb1,o.op1);l._val1=l._createValueInput(l._divVal1,o.val1);l._cmb2=l._createOperatorCombo(l._divCmb2,o.op2);l._val2=l._createValueInput(l._divVal2,o.val2);l._val1.hostElement.style.display="none";l._lblVal.style.display="none";l._cmb1.selectedIndexChanged.addHandler((function(e,t){var i=null==e.selectedValue||l._isShowConditionValuePart(e.selectedValue);l._val1.hostElement.style.display=i?"none":"";l._lblVal.style.display=i?"none":"";wijmo_1.setAttribute(l._val1.hostElement,"aria-hidden",i.toString());l.canApply=!i||"none"!==l._val2.hostElement.style.display}));l._val2.hostElement.style.display="none";l._lblVal2.style.display="none";l._cmb2.selectedIndexChanged.addHandler((function(e,t){var i=null==e.selectedValue||l._isShowConditionValuePart(e.selectedValue);l._val2.hostElement.style.display=i?"none":"";l._lblVal2.style.display=i?"none":"";wijmo_1.setAttribute(l._val2.hostElement,"aria-hidden",i.toString());l.canApply="none"!==l._val1.hostElement.style.display||!i}));l.addEventListener(l._lblVal,"click",(function(e){return l._onLabelClick(e,l._val1)}));l.addEventListener(l._lblVal2,"click",(function(e){return l._onLabelClick(e,l._val2)}));var a=l.hostElement;l.addEventListener(a,"change",l._btnAndOrChanged.bind(l));l.addEventListener(a,"keydown",l._keydown.bind(l));l.updateEditor();return l}Object.defineProperty(ConditionFilterEditor,"controlTemplate",{get:function(){ConditionFilterEditor._ctrlTemplate||(ConditionFilterEditor._ctrlTemplate='<div><label wj-part="div-hdr"></label><div wj-part="div-cmb1"></div><br/><label wj-part="lbl-val"></label><div wj-part="div-val1"></div><br/><div role="radiogroup" style="text-align:center"><label><input wj-part="btn-and" type="radio" role="radio"> <span wj-part="sp-and"></span> </label>&nbsp;&nbsp;&nbsp;<label><input wj-part="btn-or" type="radio" role="radio"> <span wj-part="sp-or"></span> </label></div><label wj-part="div-hdr-second"></label><div wj-part="div-cmb2"></div><br/><label wj-part="lbl-val-second"></label><div wj-part="div-val2"></div><br/></div>');return ConditionFilterEditor._ctrlTemplate},set:function(e){ConditionFilterEditor._ctrlTemplate=e},enumerable:!0,configurable:!0});ConditionFilterEditor.prototype._isShowConditionValuePart=function(e){return e==Operator.BLANK||e==Operator.NOTBLANK};ConditionFilterEditor.prototype._linkLabelToInput=function(e,t,i){var l=wijmo_1.getUniqueId(i);e.htmlFor=l;t.id=l};Object.defineProperty(ConditionFilterEditor.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0});Object.defineProperty(ConditionFilterEditor.prototype,"canApply",{get:function(){return this._canApply},set:function(e){if(e!=this._canApply){this._canApply=e;this.onCanApplyChanged()}},enumerable:!0,configurable:!0});ConditionFilterEditor.prototype.updateEditor=function(){var e=this._filter.condition1,t=this._filter.condition2;this._cmb1.selectedValue=e.operator;this._cmb2.selectedValue=t.operator;if(this._val1 instanceof input.ComboBox&&!(this._val1 instanceof input.InputTime)){this._val1.text=wijmo_1.changeType(e.value,wijmo_1.DataType.String);this._val2.text=wijmo_1.changeType(t.value,wijmo_1.DataType.String)}else{this._val1.value=e.value;this._val2.value=t.value}var i=this._filter.and;this._checkRadio(this._btnAnd,i);this._checkRadio(this._btnOr,!i)};ConditionFilterEditor.prototype.clearEditor=function(){this._cmb1.selectedValue=this._cmb2.selectedValue=null;this._val1.text=this._val2.text=null;this._checkRadio(this._btnAnd,!0);this._checkRadio(this._btnOr,!1)};Object.defineProperty(ConditionFilterEditor.prototype,"isEditorClear",{get:function(){return null==this._cmb1.selectedValue&&!this._val1.text&&null==this._cmb2.selectedValue&&!this._val2.text},enumerable:!0,configurable:!0});ConditionFilterEditor.prototype.updateFilter=function(){var e=this._filter.condition1,t=this._filter.condition2;e.operator=this._cmb1.selectedValue;t.operator=this._cmb2.selectedValue;if("value"in this._val1)if(!this._isSingleFilterMode()&&this._val1._cal&&this._val1._getParsedValue){e.value=this._val1._getParsedValue();t.value=this._val2._getParsedValue()}else{e.value=this._val1.value;t.value=this._val2.value}else{e.value=this._getComboValue(this._val1);t.value=this._getComboValue(this._val2)}this._filter.and=this._btnAnd.checked};ConditionFilterEditor.prototype.onCanApplyChanged=function(e){this.canApplyChanged.raise(this,e)};ConditionFilterEditor.prototype._getComboValue=function(e){return e.selectedIndex>-1?e.selectedValue:e.text};ConditionFilterEditor.prototype._createOperatorCombo=function(e,t){var i=this._filter.column,l=wijmo_1.culture.FlexGridFilter,r=l.stringOperators,n=wijmo_1.DataType;this._filter.dataMap||i.dataMap||(i.dataType==n.Date?r=l.dateOperators:i.dataType==n.Number?r=l.numberOperators:i.dataType==n.Boolean&&(r=l.booleanOperators));this._isSingleFilterMode()||(r=r.concat(l.multiFilterBlankOperators));var o=new input.ComboBox(e,{itemsSource:r,displayMemberPath:"name",selectedValuePath:"op",keyActionPrintCharacters:0});wijmo_1.setAriaLabel(o.inputElement,t);return o};ConditionFilterEditor.prototype._createValueInput=function(e,t){var i=this._filter,l=i.column,r=i.dataMap||l.dataMap,n=null,o=wijmo_1.DataType;if(l.dataType==o.Date)(n=i._hasDatePart()?i._hasTimePart()?new input.InputDateTime(e):new input.InputDate(e):new input.InputTime(e,{keyActionPrintCharacters:0})).format=l.format;else if(l.dataType!=o.Number||r){(n=new input.ComboBox(e)).isEditable=!0;n.trimText=!1;n.keyActionPrintCharacters=0;if(r){n.itemsSource=r.getDisplayValues();n.caseSensitiveSearch=!!l.grid&&l.grid.caseSensitiveSearch}else l.dataType==o.Boolean&&(n.itemsSource=[!0,!1])}else{(n=new input.InputNumber(e)).step=1;n.format=l.format}n.isRequired=!1;wijmo_1.setAriaLabel(n.inputElement,t);return n};ConditionFilterEditor.prototype._btnAndOrChanged=function(e){var t=e.target==this._btnAnd,i=e.target==this._btnOr;if(t||i){this._checkRadio(this._btnAnd,t);this._checkRadio(this._btnOr,i)}};ConditionFilterEditor.prototype._checkRadio=function(e,t){e.checked=t;wijmo_1.setAttribute(e,"aria-checked",t.toString());wijmo_1.setAttribute(e,"tabindex",t?null:"-1")};ConditionFilterEditor.prototype._keydown=function(e){var t=e.target==this._btnAnd,i=e.target==this._btnOr;if(t||i)switch(e.keyCode){case wijmo_1.Key.Left:case wijmo_1.Key.Right:case wijmo_1.Key.Up:case wijmo_1.Key.Down:var l=t?this._btnOr:this._btnAnd;l.click();l.focus();e.preventDefault()}};ConditionFilterEditor.prototype._onLabelClick=function(e,t){t.focus()};ConditionFilterEditor.prototype._isSingleFilterMode=function(){return!this._filter._columnFilter||this._filter._columnFilter.filterMode==FilterMode.SingleFilter};ConditionFilterEditor._ctrlTemplate="";return ConditionFilterEditor}(wijmo_1.Control);exports.ConditionFilterEditor=ConditionFilterEditor;wijmo_1._addCultureInfo("FlexGridFilter",{ariaLabels:{edit:"Edit Filter for Column",dialog:"Filter Editor for Column",asc:"Sort Column in Ascending Order",dsc:"Sort Column in Descending Order",search:"Search Item List",op1:"First Condition Operator",val1:"First Condition Value",and:"Require both Conditions",or:"Require either Condition",op2:"Second Condition Operator",val2:"Second Condition Value",active:"active",listBox:"List of options available for filtering"},accessibilityHelperMessage:{filter:{filterColumn:"Show column {name} filter dialog",closeFilterDialog:"Close Filter dialog"}},ascending:"↑ Ascending",descending:"↓ Descending",apply:"Apply",cancel:"Cancel",clear:"Clear",conditions:"Filter by Condition",values:"Filter by Value",search:"Search",selectAll:"Select All",includeSelection:"Include Current Selection",null:"(nothing)",exceedsMaxValues:"Not all items showing",popupBody:"This column has more than 250 unique items. Only the first 250 unique items are displayed.",popupOkButton:"OK",header:"Show items where the value",and:"And",or:"Or",stringOperators:[{name:"(not set)",op:null},{name:"Equals",op:Operator.EQ},{name:"Does not equal",op:Operator.NE},{name:"Begins with",op:Operator.BW},{name:"Does not begin with",op:Operator.NBW},{name:"Ends with",op:Operator.EW},{name:"Does not end with",op:Operator.NEW},{name:"Contains",op:Operator.CT},{name:"Does not contain",op:Operator.NC}],multiFilterBlankOperators:[{name:"Nothing",op:Operator.BLANK},{name:"Not Nothing",op:Operator.NOTBLANK}],numberOperators:[{name:"(not set)",op:null},{name:"Equals",op:Operator.EQ},{name:"Does not equal",op:Operator.NE},{name:"Is Greater than",op:Operator.GT},{name:"Is Greater than or equal to",op:Operator.GE},{name:"Is Less than",op:Operator.LT},{name:"Is Less than or equal to",op:Operator.LE}],dateOperators:[{name:"(not set)",op:null},{name:"Equals",op:Operator.EQ},{name:"Is Before",op:Operator.LT},{name:"Is After",op:Operator.GT}],booleanOperators:[{name:"(not set)",op:null},{name:"Equals",op:Operator.EQ},{name:"Does not equal",op:Operator.NE}]});var ColumnFilterEditor=function(e){__extends(ColumnFilterEditor,e);function ColumnFilterEditor(t,i,l){void 0===l&&(l=!0);var r=e.call(this,t,null,!0)||this;r._disallowedControls=new Set(["TransposedGrid","WjTransposedGrid","TransposedMultiRow","WjTransposedMultiRow"]);r._btnClickedHandle=r._btnClicked.bind(r);r._cbSelectAllClickedHandle=r._cbSelectAllClicked.bind(r);r._andOrChangedHandle=r._andOrChanged.bind(r);r._isConditionFilterChanged=!1;r.filterChanged=new wijmo_1.Event;r.buttonClicked=new wijmo_1.Event;r._filter=wijmo_1.asType(i,ColumnFilter);ColumnFilterEditor.isCustomedTemplate(ColumnFilterEditor.controlTemplate)&&(r._filter.filterMode===FilterMode.MultiFilter?ColumnFilterEditor.controlTemplate=ColumnFilterEditor._multiFilterTemplate:ColumnFilterEditor.controlTemplate=ColumnFilterEditor._singleFilterTemplate);var n=r.getTemplate();r._filter.filterMode===FilterMode.MultiFilter?r.applyTemplate(wijmo_1.ControlClsNames.hostElement+" "+wijmo_1.ControlClsNames.content+" "+wijmo_1.ControlClsNames.content+" "+exports.ColumnFilterEditorClsNames.hostElement,n,{_divSort:"div-sort",_btnAsc:"btn-asc",_btnDsc:"btn-dsc",_divEdtVal:"div-edt-val",_divEdtCnd:"div-edt-cnd",_btnClear:"btn-clear"}):r.applyTemplate(wijmo_1.ControlClsNames.hostElement+" "+wijmo_1.ControlClsNames.content+" "+wijmo_1.ControlClsNames.content+" "+exports.ColumnFilterEditorClsNames.hostElement,n,{_divSort:"div-sort",_btnAsc:"btn-asc",_btnDsc:"btn-dsc",_divType:"div-type",_tVal:"t-val",_tCnd:"t-cnd",_divEdtVal:"div-edt-val",_divEdtCnd:"div-edt-cnd",_btnApply:"btn-apply",_btnCancel:"btn-cancel",_btnClear:"btn-clear"});var o=wijmo_1.culture.FlexGridFilter,a=o.ariaLabels,s=r.hostElement,d=r.filter.column,u=d.grid.collectionView;wijmo_1.setAttribute(s,"role","dialog");wijmo_1.setAttribute(s,"aria-label",r._filter._ariaLabel);wijmo_1.setAriaLabel(r._btnAsc,a.asc);wijmo_1.setAriaLabel(r._btnDsc,a.dsc);wijmo_1.setText(r._btnAsc,o.ascending);wijmo_1.setText(r._btnDsc,o.descending);wijmo_1.setText(r._btnClear,o.clear);if(r._filter.filterMode===FilterMode.SingleFilter){wijmo_1.setText(r._tVal,o.values);wijmo_1.setText(r._tCnd,o.conditions);wijmo_1.setText(r._btnApply,o.apply);wijmo_1.setText(r._btnCancel,o.cancel);r._tabPanel=new wijmo_nav_1.TabPanel(r._divType.querySelector(".wj-tabpanel"),{isAnimated:!1,autoSwitch:!0,selectedIndexChanged:function(e){if(r.filter.filterType===FilterType.Both)if(e._isInitialized){var t=r.getActiveFilterType(i);e.selectedIndex=t===FilterType.Value?0:1;r._showFilter(t)}else r._showFilter(0===e.selectedIndex?FilterType.Value:FilterType.Condition);else{e.selectedIndex=r.filter.filterType===FilterType.Value?0:1;r._showFilter(r.filter.filterType)}}});r._showFilter(r.getActiveFilterType(i))}else r._showFilter();if(!d.allowSorting||r._disallowedControls.has(d.grid.constructor.name)){wijmo_1.enable(r._btnAsc,!1);wijmo_1.enable(r._btnDsc,!1)}l&&u&&u.canSort||(r._divSort.style.display="none");r._updateSortButtonState();r._btnApply&&r._btnApply.addEventListener("click",r._btnClickedHandle);r._btnCancel&&r._btnCancel.addEventListener("click",r._btnClickedHandle);r._btnClear.addEventListener("click",r._btnClickedHandle);r._btnAsc.addEventListener("click",r._btnClickedHandle);r._btnDsc.addEventListener("click",r._btnClickedHandle);r.addEventListener(s,"keydown",(function(e){if(!e.defaultPrevented){var t=e.target.tagName.match(/^(a|button)$/i);switch(e.keyCode){case wijmo_1.Key.Space:if(t){r._btnClicked(e);e.preventDefault()}break;case wijmo_1.Key.Enter:if(t)r._btnClicked(e);else{r.updateFilter();r.onFilterChanged();r.onButtonClicked()}e.preventDefault();break;case wijmo_1.Key.Escape:r.onButtonClicked();e.preventDefault();break;case wijmo_1.Key.Tab:wijmo_1.moveFocus(r.hostElement,e.shiftKey?-1:1);e.preventDefault()}}}));r.addEventListener(window,"resize",(function(){if(!r.isTouching&&!r._wasTouching)if(r.filter.filterMode===FilterMode.SingleFilter)r.onButtonClicked();else{var e=r.filter.column,t=e.grid.columnHeaders,i=t.rows.length-1,l=e.index,n=t.getCellElement(i,l),o=n?null:t.getCellBoundingRect(i,l);n?wijmo_1._updatePopupPosition(r.hostElement,n,wijmo_1.PopupPosition.BelowLeft):wijmo_1._updatePopupPosition(r.hostElement,o,wijmo_1.PopupPosition.BelowLeft)}}));return r}Object.defineProperty(ColumnFilterEditor,"controlTemplate",{get:function(){ColumnFilterEditor._ctrlTemplate||(ColumnFilterEditor._ctrlTemplate=ColumnFilterEditor._singleFilterTemplate);return ColumnFilterEditor._ctrlTemplate},set:function(e){ColumnFilterEditor._ctrlTemplate=e},enumerable:!0,configurable:!0});Object.defineProperty(ColumnFilterEditor,"_multiFilterTemplate",{get:function(){var e='\n <div wj-part="div-multi-filter">\n <div wj-part="div-edt-cnd" tabindex="-1"></div>\n <div wj-part="div-edt-val" tabindex="-1"></div>\n '+('\n <div style="text-align:right;margin-top:10px">\n <button wj-part="btn-clear" class="'+wijmo_1.InputFormElementsClsNames.btn+'"></button>\n </div>\n ')+"\n </div>\n ";return"\n <div>\n "+('\n <div wj-part="div-sort" class="'+exports.ColumnFilterEditorClsNames.sortButtons+'">\n <button wj-part="btn-asc" class="'+wijmo_1.InputFormElementsClsNames.btn+'"></button>&nbsp;&nbsp;&nbsp;\n <button wj-part="btn-dsc" class="'+wijmo_1.InputFormElementsClsNames.btn+'"></button>\n </div>\n ')+"\n "+e+"\n </div>\n "},enumerable:!0,configurable:!0});Object.defineProperty(ColumnFilterEditor,"_singleFilterTemplate",{get:function(){var e='\n <div style="text-align:right;margin-top:10px">\n <button wj-part="btn-apply" class="'+wijmo_1.InputFormElementsClsNames.btn+'"></button>&nbsp;&nbsp;\n <button wj-part="btn-cancel" class="'+wijmo_1.InputFormElementsClsNames.btn+'"></button>&nbsp;&nbsp;\n <button wj-part="btn-clear" class="'+wijmo_1.InputFormElementsClsNames.btn+'"></button>\n </div>\n ',t='\n <div wj-part="div-type">\n <div class="wj-tabpanel">\n <div>\n <div wj-part="t-val" class="'+exports.ColumnFilterEditorClsNames.filterHeader+'"></div>\n <div>\n <div wj-part="div-edt-val" tabindex="-1"></div>\n </div>\n </div>\n <div>\n <div wj-part="t-cnd" class="'+exports.ColumnFilterEditorClsNames.filterHeader+'"></div>\n <div>\n <div wj-part="div-edt-cnd" tabindex="-1"></div>\n </div>\n </div>\n </div>\n '+e+"\n </div>\n ";return"\n <div>\n "+('\n <div wj-part="div-sort" class="'+exports.ColumnFilterEditorClsNames.sortButtons+'">\n <button wj-part="btn-asc" class="'+wijmo_1.InputFormElementsClsNames.btn+'"></button>&nbsp;&nbsp;&nbsp;\n <button wj-part="btn-dsc" class="'+wijmo_1.InputFormElementsClsNames.btn+'"></button>\n </div>\n ')+"\n "+t+"\n </div>\n "},enumerable:!0,configurable:!0});ColumnFilterEditor.isCustomedTemplate=function(e){return e===ColumnFilterEditor._multiFilterTemplate||e===ColumnFilterEditor._singleFilterTemplate};Object.defineProperty(ColumnFilterEditor.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0});ColumnFilterEditor.prototype.updateEditor=function(){this._edtVal&&this._edtVal.updateEditor();this._edtCnd&&this._edtCnd.updateEditor()};ColumnFilterEditor.prototype.updateFilter=function(){var e=this.filter.filterMode;if(e==FilterMode.SingleFilter)switch(this._getFilterType()){case FilterType.Value:this._edtVal.updateFilter();this.filter.conditionFilter.clear();break;case FilterType.Condition:this._edtCnd.updateFilter();this.filter.valueFilter.clear()}else if(e==FilterMode.MultiFilter){this._edtVal&&this._edtVal.updateFilter();this._edtCnd&&this._edtCnd.updateFilter()}};ColumnFilterEditor.prototype.onFilterChanged=function(e){this.filterChanged.raise(this,e)};ColumnFilterEditor.prototype.onButtonClicked=function(e){this.buttonClicked.raise(this,e)};ColumnFilterEditor.prototype._showFilter=function(e){var t=this;this._wasTouching=this.isTouching;if(this._filter.filterMode!==FilterMode.MultiFilter){if(e==FilterType.Value&&null==this._edtVal){this._edtVal=new ValueFilterEditor(this._divEdtVal,this.filter.valueFilter);this._edtVal.canApplyChanged.addHandler((function(e){wijmo_1.enable(t._btnApply,t._edtVal.canApply)}))}if(e==FilterType.Condition&&null==this._edtCnd){this._edtCnd=new ConditionFilterEditor(this._divEdtCnd,this.filter.conditionFilter);this._edtCnd.canApplyChanged.addHandler((function(e){wijmo_1.enable(t._btnApply,t._edtCnd.canApply)}))}if(0!=(e&this.filter.filterType))if(e==FilterType.Value){this._divEdtVal.style.display="";this._divEdtCnd.style.display="none";this._edtVal.focus();this._edtVal._updateExceedsMaxValuesDisplay();wijmo_1.enable(this._btnApply,this._edtVal.canApply)}else{this._divEdtVal.style.display="none";this._divEdtCnd.style.display="";this._edtCnd.focus();wijmo_1.enable(this._btnApply,this._edtCnd.canApply)}var i=[this._tCnd,this._tVal];switch(this.filter.filterType){case FilterType.None:case FilterType.Condition:case FilterType.Value:i.forEach((function(e){e.style.display="none"}));break;default:i.forEach((function(e){e.style.display=""}))}}else{this._edtCnd||(this._edtCnd=new ConditionFilterEditor(this._divEdtCnd,this.filter.conditionFilter));this._edtVal||(this._edtVal=new ValueFilterEditor(this._divEdtVal,this.filter.valueFilter));this._edtVal._updateExceedsMaxValuesDisplay();this.bindEventsForMultiFilter()}};ColumnFilterEditor.prototype.getActiveFilterType=function(e){return this.filter.conditionFilter.isActive||0==(e.filterType&FilterType.Value)?FilterType.Condition:FilterType.Value};ColumnFilterEditor.prototype.raiseFilterChangedHandler=function(){var e=this.filter._owner;e.onFilterChanged(new wijmo_grid_1.CellRangeEventArgs(e.grid.cells,new wijmo_grid_1.CellRange(-1,this.filter.column.index)))};ColumnFilterEditor.prototype.bindEventsForMultiFilter=function(){var e=this,t=this._edtCnd,i=this._edtVal;t._cmb1.selectedIndexChanged.addHandler((function(i,l){e.setConditionFilterChanged(t._val1);e._cmb1Timer=e.updateConditionEditorAndTirggerFilterChanged()}));t._cmb2.selectedIndexChanged.addHandler((function(i,l){e.setConditionFilterChanged(t._val2);e._cmb2Timer=e.updateConditionEditorAndTirggerFilterChanged()}));t._val1.textChanged.addHandler((function(){e._isConditionFilterChanged=!0;e._val1Timer=e.updateConditionEditorAndTirggerFilterChanged()}));t._val2.textChanged.addHandler((function(){e._isConditionFilterChanged=!0;e._val2Timer=e.updateConditionEditorAndTirggerFilterChanged()}));t.hostElement.addEventListener("change",this._andOrChangedHandle);i._lbValues.itemChecked.addHandler((function(){i.updateFilter();e.raiseFilterChangedHandler();e.onFilterChanged()}));i._cbSelectAll.addEventListener("click",this._cbSelectAllClickedHandle);this._filterAppliedHandler=function(){if(e._isConditionFilterChanged){e._edtVal.updateEditor();e._isConditionFilterChanged=!1}};this._filter._owner.filterApplied.addHandler(this._filterAppliedHandler)};ColumnFilterEditor.prototype.updateConditionEditorAndTirggerFilterChanged=function(){var e=this;return setTimeout((function(){e.raiseFilterChangedHandler();e._edtCnd.updateFilter();e._isConditionFilterChanged&&e.onFilterChanged()}),wijmo_1.Control._SEARCH_DELAY+100)};ColumnFilterEditor.prototype._cbSelectAllClicked=function(){this._edtVal.updateFilter();this.raiseFilterChangedHandler();this.onFilterChanged()};ColumnFilterEditor.prototype._andOrChanged=function(e){var t=e.target==this._edtCnd._btnAnd,i=e.target==this._edtCnd._btnOr;if(t||i){this.filter.conditionFilter.isActive&&(this._isConditionFilterChanged=!0);this._andOrTimer=this.updateConditionEditorAndTirggerFilterChanged()}};ColumnFilterEditor.prototype._updateSortButtonState=function(){var e=this.filter.column,t=e?e.currentSort:"",i=wijmo_1.ControlStateClsNames.active,l=wijmo_1.culture.FlexGridFilter.ariaLabels;if("+"===t){wijmo_1.addClass(this._btnAsc,i);this._btnAsc.setAttribute("aria-label",l.asc+" "+l.active)}else if("-"===t){wijmo_1.addClass(this._btnDsc,i);this._btnDsc.setAttribute("aria-label",l.dsc+" "+l.active)}};ColumnFilterEditor.prototype._getFilterType=function(){var e=FilterType;return"none"!=this._divEdtVal.style.display?e.Value:e.Condition};ColumnFilterEditor.prototype.setConditionFilterChanged=function(e){isValueInputDisplay(e.hostElement)?e.text&&(this._isConditionFilterChanged=!0):this._isConditionFilterChanged=!0};ColumnFilterEditor.prototype._btnClicked=function(e){var t=this,i=e.target;e.preventDefault();e.stopPropagation();if(!wijmo_1.hasClass(i,wijmo_1.ControlStateClsNames.disabled)){if(i==this._btnAsc||i==this._btnDsc){var l=this.filter.column.grid,r=this.filter.column,n=r.sortMemberPath||r.binding,o=r.grid.collectionView.sortDescriptions,a=this.hostElement["$WJ-OWNR"]&&this.hostElement["$WJ-OWNR"]["wj-cell-index"];if(a){var s=a.panel,d=a.rng;null==d&&(d=new wijmo_grid_1.CellRange(a.row,a.col,a.row,a.col));var u=new wijmo_grid_1.CellRangeEventArgs(s,d,e);if(l.onSortingColumn(u)){o.deferUpdate((function(){o.clear();o.push(new wijmo_1.SortDescription(n,e.target==t._btnAsc))}));this._updateSortButtonState();l.onSortedColumn(u)}}}if(i==this._btnApply){this.updateFilter();this.onFilterChanged()}else if(i==this._btnClear){var c=this.filter.isActive;this.filter.clear();c&&this.onFilterChanged()}else this.updateEditor();this.onButtonClicked()}};ColumnFilterEditor.prototype.dispose=function(){this._filterAppliedHandler&&this._filter._owner.filterApplied.removeHandler(this._filterAppliedHandler);if(this._cmb1Timer){clearTimeout(this._cmb1Timer);this._cmb1Timer=null}if(this._cmb2Timer){clearTimeout(this._cmb2Timer);this._cmb2Timer=null}if(this._val1Timer){clearTimeout(this._val1Timer);this._val1Timer=null}if(this._val2Timer){clearTimeout(this._val2Timer);this._val2Timer=null}if(this._andOrTimer){clearTimeout(this._andOrTimer);this._andOrTimer=null}this._btnApply&&this._btnApply.removeEventListener("click",this._btnClickedHandle);this._btnCancel&&this._btnCancel.removeEventListener("click",this._btnClickedHandle);this._btnClear&&this._btnClear.removeEventListener("click",this._btnClickedHandle);this._btnAsc&&this._btnAsc.removeEventListener("click",this._btnClickedHandle);this._btnDsc&&this._btnDsc.removeEventListener("click",this._btnClickedHandle);this._edtCnd&&this._andOrChangedHandle&&this._edtCnd.hostElement.removeEventListener("change",this._andOrChangedHandle);this._edtVal&&this._edtVal._cbSelectAll&&this._edtVal._cbSelectAll.removeEventListener("click",this._cbSelectAllClickedHandle);if(this._edtVal){this._edtVal.dispose();this._edtVal=null}if(this._edtCnd){this._edtCnd.dispose();this._edtCnd=null}if(this._tabPanel){this._tabPanel.dispose();this._tabPanel=null}e.prototype.dispose.call(this)};ColumnFilterEditor._ctrlTemplate="";return ColumnFilterEditor}(wijmo_1.Control);exports.ColumnFilterEditor=ColumnFilterEditor;function isValueInputDisplay(e){return"none"!==e.style.display}wijmo_1._registerModule("wijmo.grid.filter",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 i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(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 i in e)Object.hasOwnProperty.call(e,i)&&(t[i]=e[i]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});var FilterType,FilterMode,wijmo_grid_1=require("wijmo/wijmo.grid"),wijmo_1=require("wijmo/wijmo"),wijmo_input_1=require("wijmo/wijmo.input"),wijmo_nav_1=require("wijmo/wijmo.nav"),input=__importStar(require("wijmo/wijmo.input")),selfModule=__importStar(require("wijmo/wijmo.grid.filter"));exports.ColumnFilterEditorClsNames={filterType:"wj-filtertype",hostElement:"wj-columnfiltereditor",sortButtons:"wj-sort-buttons",filterHeader:"wj-filter-header"};exports.ConditionFilterEditorClsNames={hostElement:"wj-conditionfilter-editor"};exports.FlexGridFilterClsNames={elemFilter:"wj-elem-filter",filter:"wj-filter",filterOff:"wj-filter-off",filterOn:"wj-filter-on",hostElement:"wj-columnfiltereditor",filterTopBorder:"wj-filter-tabPanel-top-border"};exports.ValueFilterEditorClsNames={hostElement:"wj-valuefilter-editor",customModalText:"wj-custom-modal-text",modalFooter:"wj-valuefilter-modal-footer",filterOptions:"wj-filter-options"};!function(e){e[e.None=0]="None";e[e.Condition=1]="Condition";e[e.Value=2]="Value";e[e.Both=3]="Both"}(FilterType=exports.FilterType||(exports.FilterType={}));!function(e){e[e.SingleFilter=0]="SingleFilter";e[e.MultiFilter=1]="MultiFilter"}(FilterMode=exports.FilterMode||(exports.FilterMode={}));var FlexGridFilter=function(){function FlexGridFilter(e,t){this._showIcons=!0;this._showSort=!0;this._defFilterType=FilterType.Both;this._defFilterMode=FilterMode.SingleFilter;this._xValueSearch=!0;this._includeUpdatedRowsInFilter=!1;this._showIncludeSelection=!1;this.filterApplied=new wijmo_1.Event;this.editingFilter=new wijmo_1.Event;this.filterChanging=new wijmo_1.Event;this.filterChanged=new wijmo_1.Event;this.exclusiveValueSearchChanged=new wijmo_1.Event;this._showIncludeSelectionChanged=new wijmo_1.Event;this._filters=[];this._g=wijmo_1.asType(e,wijmo_grid_1.FlexGrid,!1);this._g.formatItem.addHandler(this._formatItem.bind(this));this._g.itemsSourceChanged.addHandler(this.clear.bind(this));this._g.columns.collectionChanged.addHandler(this._adjustBindingColumns,this);var i=this._g.hostElement;e.addEventListener(i,"mousedown",this._mousedown.bind(this),!0);e.addEventListener(i,"click",this._click.bind(this),!0);e.addEventListener(i,"keydown",this._keydown.bind(this),!0);this._g.invalidate();wijmo_1.copy(this,t);this._init()}FlexGridFilter.prototype._init=function(){var e=this,t=this.grid,_excludeRowFromFilter=function(t){var i=e.grid,l=e.excludedRowsSet;if(null!=i&&i.rows.length>t)if(i.itemsSource)if(i.rows[t]instanceof wijmo_grid_1._NewRowTemplate){var r=i.editableCollectionView.currentAddItem||i.rows[t].dataItem;r&&l.add(r)}else i.rows[t].dataItem&&l.add(i.rows[t].dataItem);else i.rows[t]&&l.add(i.rows[t])};t.rowChanged&&t.rowChanged.addHandler((function(e,t){t.added&&_excludeRowFromFilter(t.index)}));t.rowEditEnding.addHandler((function(e,t){_excludeRowFromFilter(t.row)}));t.cellEditEnded.addHandler((function(e,t){_excludeRowFromFilter(t.row)}))};Object.defineProperty(FlexGridFilter.prototype,"excludedRowsSet",{get:function(){var e=this.grid;e.selectedSheet&&(e=e.selectedSheet);e._newAddedRowsSet||(e._newAddedRowsSet=new WeakSet);return e._newAddedRowsSet},set:function(e){var t=this.grid;t.selectedSheet&&(t=t.selectedSheet);t._newAddedRowsSet=e},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"grid",{get:function(){return this._g},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"filterColumns",{get:function(){return this._filterColumns},set:function(e){this._filterColumns=wijmo_1.asArray(e);this.clear()},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"showFilterIcons",{get:function(){return this._showIcons},set:function(e){if(e!=this.showFilterIcons){this._showIcons=wijmo_1.asBoolean(e);this._g&&this._g.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"showSortButtons",{get:function(){return this._showSort},set:function(e){this._showSort=wijmo_1.asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"reApplyFilterOnUpdate",{get:function(){return this._includeUpdatedRowsInFilter},set:function(e){e!==this._includeUpdatedRowsInFilter&&(this._includeUpdatedRowsInFilter=wijmo_1.asBoolean(e))},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"showIncludeSelection",{get:function(){return this._showIncludeSelection},set:function(e){if(e!=this._showIncludeSelection){this._showIncludeSelection=wijmo_1.asBoolean(e,!1);this._onShowIncludeSelectionChanged()}},enumerable:!0,configurable:!0});FlexGridFilter.prototype.getColumnFilter=function(e,t){void 0===t&&(t=!0);if(e=this._asColumn(e)){for(var i=0;i<this._filters.length;i++)if(wijmo_1._ENV_TOOLS.isSameInstance(this._filters[i].column,e))return this._filters[i];if(t&&e.binding){var l=new ColumnFilter(this,e);this._filters.push(l);return l}}return null};Object.defineProperty(FlexGridFilter.prototype,"defaultFilterType",{get:function(){return this._defFilterType},set:function(e){if((e=wijmo_1.asEnum(e,FilterType,!1))!=this.defaultFilterType){this._defFilterType=e;this._g.invalidate();this.clear()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"defaultFilterMode",{get:function(){return this._defFilterMode},set:function(e){if((e=wijmo_1.asEnum(e,FilterMode,!1))!=this._defFilterMode){this._defFilterMode=e;this._g.invalidate();this.clear()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"exclusiveValueSearch",{get:function(){return this._xValueSearch},set:function(e){if((e=wijmo_1.asBoolean(e))!==this._xValueSearch){this._xValueSearch=e;this.onExclusiveValueSearchChanged()}},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"filterDefinition",{get:function(){var e=this,t={defaultFilterType:this.defaultFilterType,filters:[]};this._filters.forEach((function(i){var l=i.conditionFilter,r=i.valueFilter,n=r.uniqueValues&&r.uniqueValues.length;if(i&&i.column&&i.column.binding&&(i.isActive||n||i.filterType!=e.defaultFilterType)){var o={binding:i.column.binding};if(l.isActive){var a=l.condition1,s=l.condition2;o={binding:i.column.binding,type:"condition",condition1:{operator:a.operator,value:a.value},and:l.and,condition2:{operator:s.operator,value:s.value}}}else(r.isActive||n)&&(o={binding:i.column.binding,type:"value",uniqueValues:r.uniqueValues,sortValues:r.sortValues,maxValues:r.maxValues,exclusiveValueSearch:r.exclusiveValueSearch,showValues:r.showValues});i.filterType!=e.defaultFilterType&&(o.filterType=i.filterType);t.filters.push(o)}}));return JSON.stringify(t)},set:function(e){e=wijmo_1.asString(e);this.clear();if(e){var t=JSON.parse(e);this.defaultFilterType=t.defaultFilterType;for(var _loop_1=function(e){var l=t.filters[e],r=i._asColumn(l.binding);r||(r=new wijmo_grid_1.Column({binding:l.binding}));var n=i.getColumnFilter(r,!0);if(n){null!=l.filterType&&(n.filterType=wijmo_1.asEnum(l.filterType,FilterType));switch(l.type){case"condition":var o=n.conditionFilter;o.condition1.value=r.dataType==wijmo_1.DataType.Date?wijmo_1.changeType(l.condition1.value,r.dataType,null):l.condition1.value;o.condition1.operator=l.condition1.operator;o.and=l.and;o.condition2.value=r.dataType==wijmo_1.DataType.Date?wijmo_1.changeType(l.condition2.value,r.dataType,null):l.condition2.value;o.condition2.operator=l.condition2.operator;break;case"value":var a=n.valueFilter;a.uniqueValues=l.uniqueValues;["sortValues","maxValues","exclusiveValueSearch"].forEach((function(e){null!=l[e]&&(a[e]=l[e])}));a.showValues=l.showValues}}},i=this,l=0;l<t.filters.length;l++)_loop_1(l)}this.apply()},enumerable:!0,configurable:!0});Object.defineProperty(FlexGridFilter.prototype,"activeEditor",{get:function(){return wijmo_1.Control.getControl(this._divEdt)},enumerable:!0,configurable:!0});FlexGridFilter.prototype.editColumnFilter=function(e,t,i){var l=this,r=this._g;this.closeEditor();e=this._asColumn(e);var n=new wijmo_grid_1.CellRangeEventArgs(r.cells,new wijmo_grid_1.CellRange(-1,e.index));if(this.onEditingFilter(n)){var o=wijmo_1.createElement('<div class="'+wijmo_input_1.DropDownClsNames.dropDownPanel+'"></div>'),a=this.getColumnFilter(e),s=new ColumnFilterEditor(o,a,this.showSortButtons);this._divEdt=o;this._edtCol=e;r.rightToLeft&&(o.dir="rtl");if(this.onFilterChanging(n)){n.cancel=!0;s.filterChanged.addHandler((function(){n.cancel=!1;setTimeout((function(){n.cancel||l.apply()}),s._edtVal&&s._edtVal._isFiltering?wijmo_1.Control._SEARCH_DELAY+200:0)}));s.buttonClicked.addHandler((function(){l.closeEditor();r.focus();l.onFilterChanged(n)}));s.lostFocus.addHandler((function(){setTimeout((function(){var e=wijmo_1.Control.getControl(l._divEdt);e&&!e.containsFocus()&&l.closeEditor()}),10)}));var d=t?t.col:e.index,u=r.columns[d];t||u&&u.binding==e.binding||(d=r.selection.leftCol);r._edtHdl._commitRowEdits();r.scrollIntoView(-1,d,!0);var c=r.columnHeaders,p=t&&t.panel&&c&&t.panel._uid==c._uid?t.row:c.rows.length-1,_=d,h=i||c.getCellElement(p,_),m=h?null:c.getCellBoundingRect(p,_);h?wijmo_1.showPopup(o,h,!1,!1,!1):wijmo_1.showPopup(o,m);var f=e.header,F=wijmo_1.format(wijmo_1.culture.FlexGridFilter.accessibilityHelperMessage.filter.filterColumn,{name:f});r.announceShortcut(F);this._adjustTabPanelStyle(a);this._setAriaExpanded(h,!0);this._setAriaExpanded(r.cells.getCellElement(-1,_),!0);for(var b=s.hostElement.querySelectorAll("input"),v=0;v<b.length;v++){var g=b[v];if(g.offsetHeight>0&&g.tabIndex>-1&&!g.disabled){g.focus();break}}s.containsFocus()||s.focus()}else this._divEdt=this._edtCol=null}};FlexGridFilter.prototype._setAriaExpanded=function(e,t){if(e){var i=e.querySelector("."+FlexGridFilter._WJC_FILTER);wijmo_1.setAttribute(i,"aria-expanded",t)}};FlexGridFilter.prototype.closeEditor=function(){var e=this._g,t=wijmo_1.Control.getControl(this._divEdt),i=this._edtCol;if(t){wijmo_1.hidePopup(t.hostElement,(function(){t.dispose()}));var l=wijmo_1.culture.FlexGridFilter.accessibilityHelperMessage.filter.closeFilterDialog;e.announceShortcut(l)}if(i){var r=e.columnHeaders,n=r.rows.length?r.getCellElement(r.rows.length-1,i.index):null;this._setAriaExpanded(n,!1);n=e.cells.getCellElement(-1,i.index);this._setAriaExpanded(n,!1)}this._divEdt=null;this._edtCol=null};FlexGridFilter.prototype.apply=function(){var e=this._g.collectionView;if(e){var t=this._g.editableCollectionView;if(t){t.commitEdit();t.commitNew()}this.excludedRowsSet=null;e.filter=this._filter.bind(this)}var i=e?e.updateFilterDefinition:null;wijmo_1.isFunction(i)&&i.call(e,this);this.onFilterApplied()};FlexGridFilter.prototype.clear=function(){if(this._filters.length){this._filters=[];this.apply()}};FlexGridFilter.prototype.onFilterApplied=function(e){this.filterApplied.raise(this,e)};FlexGridFilter.prototype.onEditingFilter=function(e){this.editingFilter.raise(this,e);return!e.cancel};FlexGridFilter.prototype.onFilterChanging=function(e){this.filterChanging.raise(this,e);return!e.cancel};FlexGridFilter.prototype.onFilterChanged=function(e){this.filterChanged.raise(this,e)};FlexGridFilter.prototype.onExclusiveValueSearchChanged=function(e){this.exclusiveValueSearchChanged.raise(this,e)};FlexGridFilter.prototype._onShowIncludeSelectionChanged=function(e){this._showIncludeSelectionChanged.raise(this,e)};FlexGridFilter.prototype._asColumn=function(e){return wijmo_1.isString(e)?this._g.getColumn(e,!0):wijmo_1.isNumber(e)?this._g.columns[e]:wijmo_1.asType(e,wijmo_grid_1.Column,!1)};FlexGridFilter.prototype._filter=function(e){var t=this.excludedRowsSet;if(!this.reApplyFilterOnUpdate&&t.has(e))return!0;for(var i=this._filters,l=0;l<i.length;l++){var r=i[l];if(r.column!=FlexGridFilter._skipColumn&&!r.apply(e))return!1}return!0};FlexGridFilter.prototype._adjustTabPanelStyle=function(e){if(e){var t=e.filterType!==FilterType.Both,i=document.querySelector('[wj-part="tabpanes"]');t&&i&&wijmo_1.toggleClass(i,exports.FlexGridFilterClsNames.filterTopBorder)}};FlexGridFilter.prototype._formatItem=function(e,t){if(t.panel==e.columnHeaders){var i=this._g,l=i.getMergedRange(t.panel,t.row,t.col)||new wijmo_grid_1.CellRange(t.row,t.col),r=i.columns[l.col],n=i._getBindingColumn(t.panel,t.row,r),o=t.cell;if(l.row2==t.panel.rows.length-1||r!=n){var a=this.getColumnFilter(n,this.defaultFilterType!=FilterType.None),s=this._filterColumns;s&&s.length&&s.indexOf(n.binding)<0&&s.indexOf(n.name)<0&&(a=null);if(a){wijmo_1.toggleClass(o,exports.FlexGridFilterClsNames.filterOn,a.isActive);wijmo_1.toggleClass(o,exports.FlexGridFilterClsNames.filterOff,!a.isActive)}else{wijmo_1.removeClass(o,exports.FlexGridFilterClsNames.filterOn);wijmo_1.removeClass(o,exports.FlexGridFilterClsNames.filterOff)}if(a&&a.filterType!=FilterType.None){this._showIcons&&this._addFilterButton(n,a,o);0==t.row&&(o=i.cells.getCellElement(-1,t.col))&&this._addFilterButton(r,a,o)}}}};FlexGridFilter.prototype._addFilterButton=function(e,t,i){var l=FlexGridFilter._WJC_FILTER,r=wijmo_1.createElement('<button class="'+wijmo_1.InputFormElementsClsNames.btn+" "+wijmo_1.GlyphClsNames.btnGlyph+" "+wijmo_1.UtilitesClsNames.right+" "+l+'" type="button" tabindex="-1"><span class='+wijmo_1.GlyphClsNames.filter+"></span></button>");wijmo_1.setAriaLabel(r,wijmo_1.culture.FlexGridFilter.ariaLabels.edit+" "+e.header);wijmo_1.setAttribute(r,"aria-haspopup","dialog");wijmo_1.setAttribute(r,"aria-expanded",!1);wijmo_1.setAttribute(r,"aria-describedby",e.describedById);wijmo_1.setAttribute(r,"aria-pressed",t.isActive);if(!i.querySelector("."+l)){1==i.children.length&&(i=i.querySelector("div")||i);i.insertBefore(r,i.firstChild)}};FlexGridFilter.prototype._mousedown=function(e){this._edtColPrev=this._edtCol};FlexGridFilter.prototype._click=function(e){if(this._toggleEditor(e)){e.stopPropagation();e.preventDefault()}};FlexGridFilter.prototype._toggleEditor=function(e){var t=this;if(!e.defaultPrevented&&0==e.button)if(wijmo_1.closestClass(e.target,FlexGridFilter._WJC_FILTER)){var i=this._g,l=i.hitTest(e.target);l.panel||(l=i.hitTest(e));if(l.panel&&i.columnHeaders&&i.cells&&(l.panel._uid==i.columnHeaders._uid||l.panel._uid==i.cells._uid&&-1==l.row)){var r=i.getMergedRange(l.panel,l.row,l.col)||new wijmo_grid_1.CellRange(l.row,l.col),n=i.columns[r.col],o=i._getBindingColumn(l.panel,l.row,n);if(this._divEdt&&this._edtCol==o){this.closeEditor();i.focus()}else o!=this._edtColPrev&&setTimeout((function(){t.editColumnFilter(o,l)}),this._divEdt?100:0);return!0}}else this.closeEditor();return!1};FlexGridFilter.prototype._keydown=function(e){var t=e.ctrlKey||e.metaKey,i=!e.defaultPrevented&&!t&&e.altKey,l=i&&e.keyCode===wijmo_1.Key.Up,r=i&&e.keyCode===wijmo_1.Key.Down,n=!e.defaultPrevented&&t&&e.shiftKey&&e.keyCode===wijmo_1.Key.F;if(l||r||n){var o=this.grid,a=o.selection,s=a.col>-1?o.columns[a.col]:null,d=s?o._getBindingColumn(o.cells,a.row,s):null,u=d&&d.dataMap&&d.dataMapEditor==wijmo_grid_1.DataMapEditor.DropDownList;if(this.filterColumns&&this.filterColumns.length>0&&!this.filterColumns.includes(d._binding._path)){e.preventDefault();return!1}if(o.activePanelType!=wijmo_grid_1.CellType.Cell&&o.activePanelType!=wijmo_grid_1.CellType.ColumnHeader){e.preventDefault();return!1}d&&d.editor instanceof wijmo_input_1.DropDown&&(u=!0);if(d&&(!u||n)){var c=this.getColumnFilter(d,!1);if(c&&c.filterType!=FilterType.None){this.editColumnFilter(d);e.preventDefault();e.stopPropagation()}}}};FlexGridFilter.prototype._removeFilter=function(e){this._filters.splice(e,1)};FlexGridFilter.prototype._adjustBindingColumns=function(e,t){if(t.action==wijmo_1.NotifyCollectionChangedAction.Reset){var i=this._filters;if(i&&i.length>0)for(var l=i.length-1;l>=0;l--){var r=i[l],n=r.column;if(n.binding){var o=this._asColumn(n.binding);o?o!==n&&r._setColumn(o):this._removeFilter(l)}}}};FlexGridFilter._WJC_FILTER=exports.FlexGridFilterClsNames.elemFilter;return FlexGridFilter}();exports.FlexGridFilter=FlexGridFilter;exports.empty={};var ValueFilterSearchKind,ColumnFilter=function(){function ColumnFilter(e,t){var i=this;this._ariaLabel=wijmo_1.culture.FlexGridFilter.ariaLabels.dialog;this._owner=e;this._col=t;this._valueFilter=new ValueFilter(t);this._valueFilter.setColumnFilter(this);this._valueFilter.exclusiveValueSearch=e.exclusiveValueSearch;this._valueFilter.showIncludeSelection=e.showIncludeSelection;this._conditionFilter=new ConditionFilter(t);this._conditionFilter.setColumnFilter(this);e.exclusiveValueSearchChanged.addHandler((function(e){i._valueFilter.exclusiveValueSearch=e.exclusiveValueSearch}));e._showIncludeSelectionChanged.addHandler((function(e){i._valueFilter.showIncludeSelection=e.showIncludeSelection}))}Object.defineProperty(ColumnFilter.prototype,"filterType",{get:function(){return null!=this._filterType?this._filterType:this._owner.defaultFilterType},set:function(e){if((e=wijmo_1.asEnum(e,FilterType,!0))!=this._filterType){var t=this.isActive;this.clear();this._filterType=e;t?this._owner.apply():this._col.grid&&this._col.grid.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ColumnFilter.prototype,"filterMode",{get:function(){return null!=this._filterMode?this._filterMode:this._owner.defaultFilterMode},set:function(e){if((e=wijmo_1.asEnum(e,FilterMode,!0))!=this._filterMode){var t=this.isActive;this.clear();this._filterMode=e;t?this._owner.apply():this._col.grid&&this._col.grid.invalidate()}},enumerable:!0,configurable:!0});Object.defineProperty(ColumnFilter.prototype,"dataMap",{get:function(){return this.conditionFilter.dataMap||this.valueFilter.dataMap},set:function(e){this.conditionFilter.dataMap=e;this.valueFilter.dataMap=e},enumerable:!0,configurable:!0});Object.defineProperty(ColumnFilter.prototype,"valueFilter",{get:function(){return this._valueFilter},enumerable:!0,configurable:!0});Object.defineProperty(ColumnFilter.prototype,"conditionFilter",{get:function(){return this._conditionFilter},enumerable:!0,configurable:!0});Object.defineProperty(ColumnFilter.prototype,"column",{get:function(){return this._col},enumerable:!0,configurable:!0});ColumnFilter.prototype._setColumn=function(e){this._col=e;this._valueFilter&&this._valueFilter._setColumn(e);this._conditionFilter&&this._conditionFilter._setColumn(e)};Object.defineProperty(ColumnFilter.prototype,"ariaLabel",{get:function(){return this._ariaLabel},set:function(e){e!=this._ariaLabel&&(this._ariaLabel=e)},enumerable:!0,configurable:!0});Object.defineProperty(ColumnFilter.prototype,"isActive",{get:function(){return this._conditionFilter.isActive||this._valueFilter.isActive},enumerable:!0,configurable:!0});ColumnFilter.prototype.apply=function(e){var t=this._conditionFilter.apply(e);this._valueFilter._cancelFilter||(t=t&&this._valueFilter.apply(e));return t};ColumnFilter.prototype.clear=function(){this._valueFilter.clear();this._conditionFilter.clear()};ColumnFilter.prototype.implementsInterface=function(e){return"IColumnFilter"==e};return ColumnFilter}();exports.ColumnFilter=ColumnFilter;!function(e){e[e.Text=0]="Text";e[e.Regex=1]="Regex";e[e.Excel=2]="Excel"}(ValueFilterSearchKind=exports.ValueFilterSearchKind||(exports.ValueFilterSearchKind={}));var ValueFilter=function(){function ValueFilter(e){this._values=null;this._filterText=null;this._xValueSearch=!0;this._maxValues=250;this._uniqueValues=null;this._sortValues=!0;this._searchType=ValueFilterSearchKind.Excel;this._showIncludeSelection=!1;this._allValues=null;this._col=e}Object.defineProperty(ValueFilter.prototype,"searchType",{get:function(){return this._searchType},set:function(e){this._searchType=wijmo_1.asEnum(e,ValueFilterSearchKind)},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"showValues",{get:function(){return this._values},set:function(e){this._values=e},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"filterText",{get:function(){return this._filterText},set:function(e){this._filterText=wijmo_1.asString(e)},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"exclusiveValueSearch",{get:function(){return this._xValueSearch},set:function(e){if((e=wijmo_1.asBoolean(e))!==this._xValueSearch){this._xValueSearch=wijmo_1.asBoolean(e);e&&(this._filterText="")}},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"maxValues",{get:function(){return this._maxValues},set:function(e){this._maxValues=wijmo_1.asNumber(e,!1,!0)},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"uniqueValues",{get:function(){return this._uniqueValues},set:function(e){this._uniqueValues=wijmo_1.asArray(e)},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"sortValues",{get:function(){return this._sortValues},set:function(e){this._sortValues=wijmo_1.asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"dataMap",{get:function(){return this._map},set:function(e){this._map=wijmo_1.asType(e,wijmo_grid_1.DataMap,!0)},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"showIncludeSelection",{get:function(){return this._showIncludeSelection},set:function(e){e!=this._showIncludeSelection&&(this._showIncludeSelection=wijmo_1.asBoolean(e,!1))},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilter.prototype,"column",{get:function(){return this._col},enumerable:!0,configurable:!0});ValueFilter.prototype._setColumn=function(e){this._col=e};Object.defineProperty(ValueFilter.prototype,"isActive",{get:function(){var e=null!=this._values;return this._columnFilter&&this._columnFilter.filterMode===FilterMode.MultiFilter?e:e&&Object.keys(this._values).length>0},enumerable:!0,configurable:!0});ValueFilter.prototype.apply=function(e){var t=this.column;if(!t||!t._binding||!this.isActive)return!0;e=t._binding.getValue(e);e=this.dataMap?this.dataMap.getDisplayValue(e)||"":t.dataMap?t.dataMap.getDisplayValue(e)||"":wijmo_1.Globalize.format(e,t.format);return null!=this._values[e]};ValueFilter.prototype.clear=function(){this.showValues=null;this.filterText=null};ValueFilter.prototype.getUniqueValues=function(e){void 0===e&&(e=!0);var t=[],i=this.column,l=wijmo_1.Globalize.format;if(this.uniqueValues){this.uniqueValues.forEach((function(e){t.push({value:e,text:l(e,i.format)})}));return t}var r={},n=i.collectionView,o=n?n.sourceCollection:[];if(e&&n&&n.sourceCollection&&n.filter)try{this._columnFilter&&this._columnFilter.filterMode===FilterMode.MultiFilter&&this._columnFilter.conditionFilter.isActive?this._cancelFilter=!0:FlexGridFilter._skipColumn=this._col;for(var a=[],s=0;s<o.length;s++)n.filter(o[s])&&a.push(o[s]);o=a}finally{this._cancelFilter=!1;FlexGridFilter._skipColumn=null}for(s=0;s<o.length;s++){var d=i._binding.getValue(o[s]),u=this.dataMap?this.dataMap.getDisplayValue(d)||"":i.dataMap?i.dataMap.getDisplayValue(d)||"":l(d,i.format);if(!r[u]){r[u]=!0;t.push({value:d,text:u})}}return t};ValueFilter.prototype.implementsInterface=function(e){return"IColumnFilter"==e};ValueFilter.prototype.setColumnFilter=function(e){this._columnFilter=e};ValueFilter.prototype.updateShowStatus=function(e){if(this.showValues&&0!=Object.keys(this.showValues).length){for(var t in this.showValues)for(var i=0;i<e.length;i++)if(e[i].text==t){e[i].show=!0;break}}else e.forEach((function(e){e.show=!0}));return e};ValueFilter.prototype.setInitialAllValues=function(){var e=this.getUniqueValues(!1);this._allValues=this.updateShowStatus(e)};return ValueFilter}();exports.ValueFilter=ValueFilter;var ValueFilterEditor=function(e){__extends(ValueFilterEditor,e);function ValueFilterEditor(t,i){var l=e.call(this,t)||this;l._canApply=!1;l._isFiltering=!1;l._filterTextChangedBnd=l._filterTextChanged.bind(l);l._cbSelectAllClickedBnd=l._cbSelectAllClicked.bind(l);l.canApplyChanged=new wijmo_1.Event;l._filter=wijmo_1.asType(i,ValueFilter,!1);var r=l.getTemplate();l.applyTemplate(wijmo_1.ControlClsNames.hostElement+" "+exports.ValueFilterEditorClsNames.hostElement,r,{_divFilter:"div-filter",_cbSelectAll:"cb-select-all",_spSelectAll:"sp-select-all",_cbIncludeSel:"cb-include-sel",_spIncludeSel:"sp-include-sel",_lblIncludeSel:"lbl-include-sel",_divOptions:"div-options",_divValues:"div-values",_divExceeds:"div-exceeds",_aExceeds:"a-exceeds"});l._cbSelectAll.tabIndex=0;l._cbIncludeSel.tabIndex=0;l._divExceeds.tabIndex=0;var n=wijmo_1.culture.FlexGridFilter;wijmo_1.setText(l._spSelectAll,n.selectAll);wijmo_1.setText(l._spIncludeSel,n.includeSelection);wijmo_1.setText(l._aExceeds,n.exceedsMaxValues);wijmo_1.setAttribute(l._divValues,"aria-live","polite");l._view=new wijmo_1.CollectionView(null,{sortNulls:wijmo_1.SortNulls.First,filter:l._filterValues.bind(l)});var o=l._view;if(i.sortValues){var a=i.column.dataMap||i.dataMap?"text":"value",s=i.column.dataType!=wijmo_1.DataType.Boolean;o.sortDescriptions.push(new wijmo_1.SortDescription(a,s))}o.collectionChanged.addHandler(l._updateSelectAllCheck,l);l._filterText="";l._rxFilter=null;l._cmbFilter=new input.ComboBox(l._divFilter,{trimText:!1,isRequired:!1,placeholder:n.search,keyActionPrintCharacters:0,keyActionTab:0});l._cmbFilter.isEditable=!0;var d=l._divFilter.querySelector(".wj-input-group");if(d){var u=document.createElement("span");u.classList.add("wj-glyph-search");d.insertBefore(u,d.firstChild)}l._lbValues=new input.ListBox(l._divValues,{displayMemberPath:"text",checkedMemberPath:"show",itemsSource:l._view,itemFormatter:function(e,t){return t||n.null},checkedItemsChanged:function(e){return l._updateSelectAllCheck()}});l._lbValues._isNeedUpdateBnd=l._isSingleFilterMode();wijmo_1.setAttribute(l._divValues,"aria-label",wijmo_1.culture.FlexGridFilter.ariaLabels.listBox);wijmo_1.setAriaLabel(l._cmbFilter.inputElement,n.ariaLabels.search);wijmo_1.setAttribute(l._lbValues.hostElement,"aria-multiselectable",!0);l._cmbFilter.inputElement.addEventListener("input",l._filterTextChangedBnd);l._cbSelectAll.addEventListener("click",l._cbSelectAllClickedBnd);if(!l._popup){l._initPopup();l._aExceeds&&l.addEventListener(l._aExceeds,"click",(function(e){e.preventDefault();l._popup.show(!0)}))}l.updateEditor();wijmo_1.setAttribute(l._lbValues.hostElement,"tabindex","-1");l._filter.showValues?l._initialItems=o.sourceCollection.filter((function(e){return l._filter.showValues[e.text||e.value]||!1})):l._initialItems=l._lbValues.checkedItems;l._isSingleFilterMode()||l._filter.setInitialAllValues();return l}Object.defineProperty(ValueFilterEditor,"controlTemplate",{get:function(){ValueFilterEditor._ctrlTemplate||(ValueFilterEditor._ctrlTemplate='<div><div wj-part="div-filter"></div><div wj-part="div-options" class="'+input.ListBoxClsNames.listBoxItem+" "+exports.ValueFilterEditorClsNames.filterOptions+'"><label wj-part="select-all-container"><input wj-part="cb-select-all" type="checkbox" class="wj-custom-checkbox"> <span wj-part="sp-select-all"></span></label><br /><label wj-part="lbl-include-sel"><input wj-part="cb-include-sel" type="checkbox" class="wj-custom-checkbox"> <span wj-part="sp-include-sel"></span></label></div><div wj-part="div-values"></div><div wj-part="div-exceeds"><a wj-part="a-exceeds"></a></div></div>');return ValueFilterEditor._ctrlTemplate},set:function(e){ValueFilterEditor._ctrlTemplate=e},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilterEditor.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilterEditor.prototype,"canApply",{get:function(){return this._canApply},set:function(e){if(e!=this._canApply){this._canApply=e;this.onCanApplyChanged()}},enumerable:!0,configurable:!0});Object.defineProperty(ValueFilterEditor.prototype,"_shouldIncludeSelection",{get:function(){return this._filter.showIncludeSelection&&this._cbIncludeSel.checked},enumerable:!0,configurable:!0});ValueFilterEditor.prototype.updateEditor=function(){var e=this;if(this._lbValues&&this.hostElement){var t=this._filter.column,i=this._filter.getUniqueValues(!0);this._lbValues.isContentHtml=t.isContentHtml;var l=this._filter.showValues;if(!l||0==Object.keys(l).length&&this._isSingleFilterMode())i.forEach((function(e){e.show=!0}));else for(var r in l)for(var n=0;n<i.length;n++)if(i[n].text==r){i[n].show=!0;break}var o=this._filter.filterText||"",a=this._getCaseSensitive();this._cmbFilter.text=o;this._filterText=a?o:o.toLowerCase();this._rxFilter=this._getSearchExp(o,a);this._filter.showIncludeSelection&&!this.hostElement.contains(this._lblIncludeSel)?this._divOptions.appendChild(this._lblIncludeSel):this._filter.showIncludeSelection||this._lblIncludeSel.remove();var s=this._view;s.pageSize=this._filter.maxValues;s.sourceCollection=i;this._adjustWidthsTimer=setTimeout((function(){e._adjustWidths()}),0);this._updateExceedsMaxValuesDisplay()}};ValueFilterEditor.prototype.clearEditor=function(e){void 0===e&&(e=!0);this._cmbFilter.text="";this._filterText="";this._rxFilter=null;var t=this._view;t.pageSize=0;t.items.forEach((function(t){t.show=e}));t.moveCurrentTo(-1);t.refresh();t.pageSize=this._filter.maxValues};Object.defineProperty(ValueFilterEditor.prototype,"isEditorClear",{get:function(){return!this._filterText&&!this._cbSelectAll.indeterminate},enumerable:!0,configurable:!0});ValueFilterEditor.prototype._updateFilter=function(){var e,t=this._filter,i=null;e=this._isSingleFilterMode()?this._getItems():this._filter._allValues=wijmo_1.replaceItems(this._filter._allValues,this._view.sourceCollection);if(!this._isSingleFilterMode()||this._filterText||this._cbSelectAll.indeterminate){i=this._shouldIncludeSelection&&this._filter.showValues||{};for(var l=0;l<e.length;l++){var r=e[l];r.show&&(i[r.text]=!0)}}t.showValues=i;t.filterText=this._filterText};ValueFilterEditor.prototype.updateFilter=function(){var e=this;this._isFiltering?this._updateFilterTimer=setTimeout((function(){e._updateFilter()}),wijmo_1.Control._SEARCH_DELAY+100):this._updateFilter()};ValueFilterEditor.prototype.onCanApplyChanged=function(e){this.canApplyChanged.raise(this,e)};ValueFilterEditor.prototype._getCaseSensitive=function(){var e=this._filter.column,t=e?e.grid:null;return t&&t.caseSensitiveSearch};ValueFilterEditor.prototype._getItems=function(){return this._filter.exclusiveValueSearch?this._view.items:this._view.sourceCollection};ValueFilterEditor.prototype._filterTextChanged=function(){var e=this;""===this._filterText&&this._cbSelectAll.checked||this._filter.exclusiveValueSearch?this._lbValues._addMode=!1:this._lbValues._addMode=!0;this._toFilter&&clearTimeout(this._toFilter);this._isFiltering=!0;this._toFilter=setTimeout((function(){var t=e._cmbFilter.text,i=e._getCaseSensitive();i||(t=t.toLowerCase());if(t!=e._filterText){e._filterText=t;e._rxFilter=e._getSearchExp(t,i);e._view.refresh();e._updateExceedsMaxValuesDisplay();if(e._isSingleFilterMode()){if(!t){var l=e._initialItems;if(l.length&&e._view.sourceCollection.indexOf(l[0])>-1){e._lbValues.checkedItems=e._initialItems;e._updateSelectAllCheck();e._isFiltering=!1;return}}}else e._filter.filterText=t;if(e._filter.exclusiveValueSearch){e._cbSelectAll.checked=!1;e._cbSelectAll.click()}else e._updateSelectAllCheck()}e._isFiltering=!1}),wijmo_1.Control._SEARCH_DELAY)};ValueFilterEditor.prototype._getSearchExp=function(e,t){if(!e)return null;switch(this._filter.searchType){case ValueFilterSearchKind.Text:return this._getTextSearchExp(e,t);case ValueFilterSearchKind.Regex:return this._getRegexSearchExp(e,t);case ValueFilterSearchKind.Excel:return this._getExcelSearchExp(e,t)}};ValueFilterEditor.prototype._getTextSearchExp=function(e,t){return new RegExp(wijmo_1.escapeRegExp(e),t?"":"i")};ValueFilterEditor.prototype._getRegexSearchExp=function(e,t){try{return new RegExp(e,t?"s":"is")}catch(e){return new RegExp("(?!)",t?"s":"is")}};ValueFilterEditor.prototype._getExcelSearchExp=function(e,t){var i=e;i=(i=(i=(i=(i=(i=(i=(i=i.replace(/([.+^$[\]\\(){}|-])/g,"\\$1")).replace(/~~/g,"__`$0`__")).replace(/~\?/g,"__`$1`__")).replace(/~\*/g,"__`$2`__")).replace(/~(.)/g,"$1")).replace(/(\?+)/g,(function(e,t){return Array.from(t).map((function(e){return"."})).join("")}))).replace(/(\*+)/g,(function(e,t){return Array.from(t).map((function(e){return".*"})).join("")}))).replace(/__`\$(\d)`__/g,(function(e,t){switch(t){case"0":return"~";case"1":return"\\?";case"2":return"\\*"}}));/([^~]|^)[?*]/g.test(e)&&(i="^"+i+"$");("~"===e||e&&!i.length)&&(i="$a^");return new RegExp(i,t?"s":"is")};ValueFilterEditor.prototype._filterValues=function(e){var t=this._rxFilter;return null==t||null==e||t.test(e.text)};ValueFilterEditor.prototype._getActualItems=function(){return this._isSingleFilterMode()?this._getItems():this.exceedsMaxValues?this._view._view:this._view.items};ValueFilterEditor.prototype._cbSelectAllClicked=function(){for(var e=this,t=this._cbSelectAll.checked,i=this._divValues.scrollTop,l=this._getActualItems(),r=0;r<l.length;r++)l[r].show=t;this._view.refresh();this._divValues.scrollTop=i;this._adjustWidthsTimer=setTimeout((function(){e._adjustWidths()}),0)};ValueFilterEditor.prototype._updateSelectAllCheck=function(){for(var e=this._getActualItems(),t=0,i=0,l=0;l<e.length;l++){e[l].show?t++:i++;if(t&&i)break}var r=t&&i?null:t>0;wijmo_1.setChecked(this._cbSelectAll,r);null==r?this._cbSelectAll.setAttribute("data-indeterminate","true"):this._cbSelectAll.removeAttribute("data-indeterminate");this.canApply=t>0};ValueFilterEditor.prototype._adjustWidths=function(){var e=this._lbValues&&this._lbValues.hostElement;if(e&&e.offsetHeight>0){var t=0,i=e.querySelectorAll("."+input.ListBoxClsNames.listBoxItem);if(i.length){for(var l=0;l<i.length;l++)t=Math.max(t,i[l].scrollWidth);if(t){var r=e.querySelectorAll("."+input.ListBoxClsNames.listBoxItem);if(r.length)for(l=0;l<r.length;l++)r[l].style.width=t+"px"}}}};Object.defineProperty(ValueFilterEditor.prototype,"exceedsMaxValues",{get:function(){return!(!this._view||!this._view._view)&&this._view._view.length>this.filter.maxValues},enumerable:!0,configurable:!0});ValueFilterEditor.prototype._updateExceedsMaxValuesDisplay=function(){this._divExceeds.style.display=this.exceedsMaxValues?"":"none"};ValueFilterEditor.prototype._initPopup=function(){var e=document.createElement("div"),t=this.hostElement.getAttribute("lang");e.innerHTML='\n <div role="dialog" aria-modal="true" aria-describedby="dialogDesc" '+(t?'lang="'+t+'"':"")+"><div class="+input.PopupClsNames.dialogBody+"><div class="+exports.ValueFilterEditorClsNames.customModalText+'><p id="dialogDesc">'+wijmo_1.culture.FlexGridFilter.popupBody+'</p></div></div><div class="'+input.PopupClsNames.dialogFooter+" "+exports.ValueFilterEditorClsNames.modalFooter+'" ><button class="btn btn-primary '+wijmo_1.UtilitesClsNames.hideOk+'">'+wijmo_1.culture.FlexGridFilter.popupOkButton+"</button></div></div>";this._popup=new input.Popup(e,{modal:!0,fadeIn:!0,fadeOut:!0})};ValueFilterEditor.prototype._isSingleFilterMode=function(){return!this._filter._columnFilter||this._filter._columnFilter.filterMode==FilterMode.SingleFilter};ValueFilterEditor.prototype.dispose=function(){if(this._adjustWidthsTimer){clearTimeout(this._adjustWidthsTimer);this._adjustWidthsTimer=null}if(this._updateFilterTimer){clearTimeout(this._updateFilterTimer);this._updateFilterTimer=null}if(this._toFilter){clearTimeout(this._toFilter);this._toFilter=null}if(this._lbValues){this._lbValues.dispose();this._lbValues=null}this._cbSelectAll&&this._cbSelectAll.removeEventListener("click",this._cbSelectAllClickedBnd);if(this._cmbFilter){this._cmbFilter.inputElement&&this._cmbFilter.inputElement.removeEventListener("input",this._filterTextChangedBnd);this._cmbFilter.dispose();this._cmbFilter=null}if(this._view){this._view.collectionChanged.removeHandler(this._updateSelectAllCheck,this);this._view=null}if(this._popup&&!this._popup.isVisible){this._popup.dispose();this._popup=null}this._filter=null;this._initialItems=null;this._rxFilter=null;this._filterText=null;e.prototype.dispose.call(this)};ValueFilterEditor._ctrlTemplate="";return ValueFilterEditor}(wijmo_1.Control);exports.ValueFilterEditor=ValueFilterEditor;var ConditionFilter=function(){function ConditionFilter(e){this._c1=new FilterCondition(this);this._c2=new FilterCondition(this);this._and=!0;this._col=e}Object.defineProperty(ConditionFilter.prototype,"condition1",{get:function(){return this._c1},enumerable:!0,configurable:!0});Object.defineProperty(ConditionFilter.prototype,"condition2",{get:function(){return this._c2},enumerable:!0,configurable:!0});Object.defineProperty(ConditionFilter.prototype,"and",{get:function(){return this._and},set:function(e){this._and=wijmo_1.asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(ConditionFilter.prototype,"dataMap",{get:function(){return this._map},set:function(e){this._map=wijmo_1.asType(e,wijmo_grid_1.DataMap,!0)},enumerable:!0,configurable:!0});Object.defineProperty(ConditionFilter.prototype,"column",{get:function(){return this._col},enumerable:!0,configurable:!0});ConditionFilter.prototype._setColumn=function(e){this._col=e};Object.defineProperty(ConditionFilter.prototype,"isActive",{get:function(){return this._c1.isActive||this._c2.isActive},enumerable:!0,configurable:!0});ConditionFilter.prototype.apply=function(e){var t=this._col,i=this._c1,l=this._c2,r=!1,n=!1;if(!t||!t._binding||!this.isActive)return!0;e=t._binding.getValue(e);var o=this.dataMap||t.dataMap;if(o)e=o.getDisplayValue(e);else if(wijmo_1.isDate(e)){r=!this._hasTimePart();n=!this._hasDatePart();var a=FilterCondition._refDateTime;r?e=wijmo_1.DateTime.fromDateTime(e,a):n&&(e=wijmo_1.DateTime.fromDateTime(a,e))}else if(wijmo_1.isNumber(e)){var s=wijmo_1.Globalize,d=t.format,u=s.formatNumber(e,d);e=s.parseFloat(u,d)}var c=i.apply(e,r,n),p=l.apply(e,r,n);return i.isActive&&l.isActive?this._and?c&&p:c||p:i.isActive?c:!l.isActive||p};ConditionFilter.prototype.clear=function(){this._c1.clear();this._c2.clear();this.and=!0};ConditionFilter.prototype._hasDatePart=function(){var e=this._col.format;if(!e)return!0;e=wijmo_1.culture.Globalize.calendar.patterns[e]||e;return/[yMd]+/.test(e)};ConditionFilter.prototype._hasTimePart=function(){var e=this._col.format;if(!e)return!1;e=wijmo_1.culture.Globalize.calendar.patterns[e]||e;return/[Hmst]+/.test(e)};ConditionFilter.prototype.implementsInterface=function(e){return"IColumnFilter"==e};ConditionFilter.prototype.setColumnFilter=function(e){this._columnFilter=e};return ConditionFilter}();exports.ConditionFilter=ConditionFilter;var Operator,FilterCondition=function(){function FilterCondition(e){this._op=null;this._filter=e}Object.defineProperty(FilterCondition.prototype,"operator",{get:function(){return this._op},set:function(e){this._op=wijmo_1.asEnum(e,Operator,!0)},enumerable:!0,configurable:!0});Object.defineProperty(FilterCondition.prototype,"value",{get:function(){return this._val},set:function(e){this._val=e;this._strVal=wijmo_1.isString(e)?this._getCaseString(e):null},enumerable:!0,configurable:!0});Object.defineProperty(FilterCondition.prototype,"isActive",{get:function(){if(this._filter._columnFilter&&this._filter._columnFilter.filterMode==FilterMode.MultiFilter)switch(this._op){case null:return!1;case Operator.BLANK:case Operator.NOTBLANK:return!0;default:return""!==this._val&&null!==this._val}else switch(this._op){case null:return!1;case Operator.EQ:case Operator.NE:return!0;default:return null!=this._val||null!=this._strVal}},enumerable:!0,configurable:!0});FilterCondition.prototype.clear=function(){this.operator=null;this.value=null};FilterCondition.prototype.apply=function(e,t,i){var l=this._strVal||this._val;wijmo_1.isString(e)&&(e=this._getCaseString(e));wijmo_1.isString(l)&&null==e&&(e="");wijmo_1.isDate(l)&&(t?l=wijmo_1.DateTime.fromDateTime(l,FilterCondition._refDateTime):i&&(l=wijmo_1.DateTime.fromDateTime(FilterCondition._refDateTime,l)));var r=Operator;switch(this._op){case null:return!0;case r.EQ:return null!=e&&null!=l?e.valueOf()==l.valueOf():e==l;case r.NE:return null!=e&&null!=l?e.valueOf()!=l.valueOf():e!=l;case r.GT:return e>l;case r.GE:return e>=l;case r.LT:return e<l;case r.LE:return e<=l;case r.BW:return!(null==this._strVal||!wijmo_1.isString(e))&&0==e.indexOf(this._strVal);case r.EW:return!!(null!=this._strVal&&wijmo_1.isString(e)&&e.length>=this._strVal.length)&&e.substr(e.length-this._strVal.length)==l;case r.CT:return!(null==this._strVal||!wijmo_1.isString(e))&&e.indexOf(this._strVal)>-1;case r.NC:return!(null==this._strVal||!wijmo_1.isString(e))&&e.indexOf(this._strVal)<0;case r.NBW:return!(null==this._strVal||!wijmo_1.isString(e))&&0!==e.indexOf(this._strVal);case r.NEW:return!(null==this._strVal||!wijmo_1.isString(e))&&e.substring(e.length-this._strVal.length)!==l;case r.BLANK:return isBlankValue(e);case r.NOTBLANK:return!isBlankValue(e)}throw"Unknown operator"};FilterCondition.prototype._getCaseString=function(e){var t=this._filter.column,i=t?t.grid:null;return i&&i.caseSensitiveSearch?e:e.toLowerCase()};FilterCondition._refDateTime=new Date(2e3,0,1,0,0,0);return FilterCondition}();exports.FilterCondition=FilterCondition;!function(e){e[e.EQ=0]="EQ";e[e.NE=1]="NE";e[e.GT=2]="GT";e[e.GE=3]="GE";e[e.LT=4]="LT";e[e.LE=5]="LE";e[e.BW=6]="BW";e[e.EW=7]="EW";e[e.CT=8]="CT";e[e.NC=9]="NC";e[e.NBW=10]="NBW";e[e.NEW=11]="NEW";e[e.BLANK=100]="BLANK";e[e.NOTBLANK=101]="NOTBLANK"}(Operator=exports.Operator||(exports.Operator={}));function isBlankValue(e){return null==e||""===e}var ConditionFilterEditor=function(e){__extends(ConditionFilterEditor,e);function ConditionFilterEditor(t,i){var l=e.call(this,t)||this;l._canApply=!1;l.canApplyChanged=new wijmo_1.Event;l._filter=wijmo_1.asType(i,ConditionFilter,!1);var r=l.getTemplate();l.applyTemplate(wijmo_1.ControlClsNames.hostElement+" "+exports.ConditionFilterEditorClsNames.hostElement,r,{_divHdr:"div-hdr",_divCmb1:"div-cmb1",_divVal1:"div-val1",_btnAnd:"btn-and",_btnOr:"btn-or",_spAnd:"sp-and",_spOr:"sp-or",_divCmb2:"div-cmb2",_divVal2:"div-val2",_lblVal:"lbl-val",_divHdr2:"div-hdr-second",_lblVal2:"lbl-val-second"});var n=wijmo_1.culture.FlexGridFilter,o=n.ariaLabels;wijmo_1.setAriaLabel(l._btnAnd,o.and);wijmo_1.setAriaLabel(l._btnOr,o.or);wijmo_1.setAttribute(l._btnAnd,"aria-describedby","filterAndDesc");wijmo_1.setAttribute(l._btnOr,"aria-describedby","filterOrDesc");l._spAnd.id="filterAndDesc";l._spOr.id="filterOrDesc";wijmo_1.setText(l._divHdr,n.header);wijmo_1.setText(l._spAnd,n.and);wijmo_1.setText(l._spOr,n.or);wijmo_1.setText(l._lblVal,o.val1);wijmo_1.setText(l._divHdr2,n.header);wijmo_1.setText(l._lblVal2,o.val2);l._linkLabelToInput(l._divHdr,l._divCmb1,"cmb1");l._linkLabelToInput(l._divHdr2,l._divCmb2,"cmb2");l._cmb1=l._createOperatorCombo(l._divCmb1,o.op1);l._val1=l._createValueInput(l._divVal1,o.val1);l._cmb2=l._createOperatorCombo(l._divCmb2,o.op2);l._val2=l._createValueInput(l._divVal2,o.val2);l._val1.hostElement.style.display="none";l._lblVal.style.display="none";l._cmb1.selectedIndexChanged.addHandler((function(e,t){var i=null==e.selectedValue||l._isShowConditionValuePart(e.selectedValue);l._val1.hostElement.style.display=i?"none":"";l._lblVal.style.display=i?"none":"";wijmo_1.setAttribute(l._val1.hostElement,"aria-hidden",i.toString());l.canApply=!i||"none"!==l._val2.hostElement.style.display}));l._val2.hostElement.style.display="none";l._lblVal2.style.display="none";l._cmb2.selectedIndexChanged.addHandler((function(e,t){var i=null==e.selectedValue||l._isShowConditionValuePart(e.selectedValue);l._val2.hostElement.style.display=i?"none":"";l._lblVal2.style.display=i?"none":"";wijmo_1.setAttribute(l._val2.hostElement,"aria-hidden",i.toString());l.canApply="none"!==l._val1.hostElement.style.display||!i}));l.addEventListener(l._lblVal,"click",(function(e){return l._onLabelClick(e,l._val1)}));l.addEventListener(l._lblVal2,"click",(function(e){return l._onLabelClick(e,l._val2)}));var a=l.hostElement;l.addEventListener(a,"change",l._btnAndOrChanged.bind(l));l.addEventListener(a,"keydown",l._keydown.bind(l));l.updateEditor();return l}Object.defineProperty(ConditionFilterEditor,"controlTemplate",{get:function(){ConditionFilterEditor._ctrlTemplate||(ConditionFilterEditor._ctrlTemplate='<div><label wj-part="div-hdr"></label><div wj-part="div-cmb1"></div><br/><label wj-part="lbl-val"></label><div wj-part="div-val1"></div><br/><div role="radiogroup" style="text-align:center"><label><input wj-part="btn-and" type="radio" role="radio"> <span wj-part="sp-and"></span> </label>&nbsp;&nbsp;&nbsp;<label><input wj-part="btn-or" type="radio" role="radio"> <span wj-part="sp-or"></span> </label></div><label wj-part="div-hdr-second"></label><div wj-part="div-cmb2"></div><br/><label wj-part="lbl-val-second"></label><div wj-part="div-val2"></div><br/></div>');return ConditionFilterEditor._ctrlTemplate},set:function(e){ConditionFilterEditor._ctrlTemplate=e},enumerable:!0,configurable:!0});ConditionFilterEditor.prototype._isShowConditionValuePart=function(e){return e==Operator.BLANK||e==Operator.NOTBLANK};ConditionFilterEditor.prototype._linkLabelToInput=function(e,t,i){var l=wijmo_1.getUniqueId(i);e.htmlFor=l;t.id=l};Object.defineProperty(ConditionFilterEditor.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0});Object.defineProperty(ConditionFilterEditor.prototype,"canApply",{get:function(){return this._canApply},set:function(e){if(e!=this._canApply){this._canApply=e;this.onCanApplyChanged()}},enumerable:!0,configurable:!0});ConditionFilterEditor.prototype.updateEditor=function(){var e=this._filter.condition1,t=this._filter.condition2;this._cmb1.selectedValue=e.operator;this._cmb2.selectedValue=t.operator;if(this._val1 instanceof input.ComboBox&&!(this._val1 instanceof input.InputTime)){this._val1.text=wijmo_1.changeType(e.value,wijmo_1.DataType.String);this._val2.text=wijmo_1.changeType(t.value,wijmo_1.DataType.String)}else{this._val1.value=e.value;this._val2.value=t.value}var i=this._filter.and;this._checkRadio(this._btnAnd,i);this._checkRadio(this._btnOr,!i)};ConditionFilterEditor.prototype.clearEditor=function(){this._cmb1.selectedValue=this._cmb2.selectedValue=null;this._val1.text=this._val2.text=null;this._checkRadio(this._btnAnd,!0);this._checkRadio(this._btnOr,!1)};Object.defineProperty(ConditionFilterEditor.prototype,"isEditorClear",{get:function(){return null==this._cmb1.selectedValue&&!this._val1.text&&null==this._cmb2.selectedValue&&!this._val2.text},enumerable:!0,configurable:!0});ConditionFilterEditor.prototype.updateFilter=function(){var e=this._filter.condition1,t=this._filter.condition2;e.operator=this._cmb1.selectedValue;t.operator=this._cmb2.selectedValue;if("value"in this._val1)if(!this._isSingleFilterMode()&&this._val1._cal&&this._val1._getParsedValue){e.value=this._val1._getParsedValue();t.value=this._val2._getParsedValue()}else{e.value=this._val1.value;t.value=this._val2.value}else{e.value=this._getComboValue(this._val1);t.value=this._getComboValue(this._val2)}this._filter.and=this._btnAnd.checked};ConditionFilterEditor.prototype.onCanApplyChanged=function(e){this.canApplyChanged.raise(this,e)};ConditionFilterEditor.prototype._getComboValue=function(e){return e.selectedIndex>-1?e.selectedValue:e.text};ConditionFilterEditor.prototype._createOperatorCombo=function(e,t){var i=this._filter.column,l=wijmo_1.culture.FlexGridFilter,r=l.stringOperators,n=wijmo_1.DataType;this._filter.dataMap||i.dataMap||(i.dataType==n.Date?r=l.dateOperators:i.dataType==n.Number?r=l.numberOperators:i.dataType==n.Boolean&&(r=l.booleanOperators));this._isSingleFilterMode()||(r=r.concat(l.multiFilterBlankOperators));var o=new input.ComboBox(e,{itemsSource:r,displayMemberPath:"name",selectedValuePath:"op",keyActionPrintCharacters:0});wijmo_1.setAriaLabel(o.inputElement,t);return o};ConditionFilterEditor.prototype._createValueInput=function(e,t){var i=this._filter,l=i.column,r=i.dataMap||l.dataMap,n=null,o=wijmo_1.DataType;if(l.dataType==o.Date)(n=i._hasDatePart()?i._hasTimePart()?new input.InputDateTime(e):new input.InputDate(e):new input.InputTime(e,{keyActionPrintCharacters:0})).format=l.format;else if(l.dataType!=o.Number||r){(n=new input.ComboBox(e)).isEditable=!0;n.trimText=!1;n.keyActionPrintCharacters=0;if(r){n.itemsSource=r.getDisplayValues();n.caseSensitiveSearch=!!l.grid&&l.grid.caseSensitiveSearch}else l.dataType==o.Boolean&&(n.itemsSource=[!0,!1])}else{(n=new input.InputNumber(e)).step=1;n.format=l.format}n.isRequired=!1;wijmo_1.setAriaLabel(n.inputElement,t);return n};ConditionFilterEditor.prototype._btnAndOrChanged=function(e){var t=e.target==this._btnAnd,i=e.target==this._btnOr;if(t||i){this._checkRadio(this._btnAnd,t);this._checkRadio(this._btnOr,i)}};ConditionFilterEditor.prototype._checkRadio=function(e,t){e.checked=t;wijmo_1.setAttribute(e,"aria-checked",t.toString());wijmo_1.setAttribute(e,"tabindex",t?null:"-1")};ConditionFilterEditor.prototype._keydown=function(e){var t=e.target==this._btnAnd,i=e.target==this._btnOr;if(t||i)switch(e.keyCode){case wijmo_1.Key.Left:case wijmo_1.Key.Right:case wijmo_1.Key.Up:case wijmo_1.Key.Down:var l=t?this._btnOr:this._btnAnd;l.click();l.focus();e.preventDefault()}};ConditionFilterEditor.prototype._onLabelClick=function(e,t){t.focus()};ConditionFilterEditor.prototype._isSingleFilterMode=function(){return!this._filter._columnFilter||this._filter._columnFilter.filterMode==FilterMode.SingleFilter};ConditionFilterEditor._ctrlTemplate="";return ConditionFilterEditor}(wijmo_1.Control);exports.ConditionFilterEditor=ConditionFilterEditor;wijmo_1._addCultureInfo("FlexGridFilter",{ariaLabels:{edit:"Edit Filter for Column",dialog:"Filter Editor for Column",asc:"Sort Column in Ascending Order",dsc:"Sort Column in Descending Order",search:"Search Item List",op1:"First Condition Operator",val1:"First Condition Value",and:"Require both Conditions",or:"Require either Condition",op2:"Second Condition Operator",val2:"Second Condition Value",active:"active",listBox:"List of options available for filtering"},accessibilityHelperMessage:{filter:{filterColumn:"Show column {name} filter dialog",closeFilterDialog:"Close Filter dialog"}},ascending:"↑ Ascending",descending:"↓ Descending",apply:"Apply",cancel:"Cancel",clear:"Clear",conditions:"Filter by Condition",values:"Filter by Value",search:"Search",selectAll:"Select All",includeSelection:"Include Current Selection",null:"(nothing)",exceedsMaxValues:"Not all items showing",popupBody:"This column has more than 250 unique items. Only the first 250 unique items are displayed.",popupOkButton:"OK",header:"Show items where the value",and:"And",or:"Or",stringOperators:[{name:"(not set)",op:null},{name:"Equals",op:Operator.EQ},{name:"Does not equal",op:Operator.NE},{name:"Begins with",op:Operator.BW},{name:"Does not begin with",op:Operator.NBW},{name:"Ends with",op:Operator.EW},{name:"Does not end with",op:Operator.NEW},{name:"Contains",op:Operator.CT},{name:"Does not contain",op:Operator.NC}],multiFilterBlankOperators:[{name:"Nothing",op:Operator.BLANK},{name:"Not Nothing",op:Operator.NOTBLANK}],numberOperators:[{name:"(not set)",op:null},{name:"Equals",op:Operator.EQ},{name:"Does not equal",op:Operator.NE},{name:"Is Greater than",op:Operator.GT},{name:"Is Greater than or equal to",op:Operator.GE},{name:"Is Less than",op:Operator.LT},{name:"Is Less than or equal to",op:Operator.LE}],dateOperators:[{name:"(not set)",op:null},{name:"Equals",op:Operator.EQ},{name:"Is Before",op:Operator.LT},{name:"Is After",op:Operator.GT}],booleanOperators:[{name:"(not set)",op:null},{name:"Equals",op:Operator.EQ},{name:"Does not equal",op:Operator.NE}]});var ColumnFilterEditor=function(e){__extends(ColumnFilterEditor,e);function ColumnFilterEditor(t,i,l){void 0===l&&(l=!0);var r=e.call(this,t,null,!0)||this;r._disallowedControls=new Set(["TransposedGrid","WjTransposedGrid","TransposedMultiRow","WjTransposedMultiRow"]);r._btnClickedHandle=r._btnClicked.bind(r);r._cbSelectAllClickedHandle=r._cbSelectAllClicked.bind(r);r._andOrChangedHandle=r._andOrChanged.bind(r);r._isConditionFilterChanged=!1;r.filterChanged=new wijmo_1.Event;r.buttonClicked=new wijmo_1.Event;r._filter=wijmo_1.asType(i,ColumnFilter);ColumnFilterEditor.isCustomedTemplate(ColumnFilterEditor.controlTemplate)&&(r._filter.filterMode===FilterMode.MultiFilter?ColumnFilterEditor.controlTemplate=ColumnFilterEditor._multiFilterTemplate:ColumnFilterEditor.controlTemplate=ColumnFilterEditor._singleFilterTemplate);var n=r.getTemplate();r._filter.filterMode===FilterMode.MultiFilter?r.applyTemplate(wijmo_1.ControlClsNames.hostElement+" "+wijmo_1.ControlClsNames.content+" "+wijmo_1.ControlClsNames.content+" "+exports.ColumnFilterEditorClsNames.hostElement,n,{_divSort:"div-sort",_btnAsc:"btn-asc",_btnDsc:"btn-dsc",_divEdtVal:"div-edt-val",_divEdtCnd:"div-edt-cnd",_btnClear:"btn-clear"}):r.applyTemplate(wijmo_1.ControlClsNames.hostElement+" "+wijmo_1.ControlClsNames.content+" "+wijmo_1.ControlClsNames.content+" "+exports.ColumnFilterEditorClsNames.hostElement,n,{_divSort:"div-sort",_btnAsc:"btn-asc",_btnDsc:"btn-dsc",_divType:"div-type",_tVal:"t-val",_tCnd:"t-cnd",_divEdtVal:"div-edt-val",_divEdtCnd:"div-edt-cnd",_btnApply:"btn-apply",_btnCancel:"btn-cancel",_btnClear:"btn-clear"});var o=wijmo_1.culture.FlexGridFilter,a=o.ariaLabels,s=r.hostElement,d=r.filter.column,u=d.grid.collectionView;wijmo_1.setAttribute(s,"role","dialog");wijmo_1.setAttribute(s,"aria-label",r._filter._ariaLabel);wijmo_1.setAriaLabel(r._btnAsc,a.asc);wijmo_1.setAriaLabel(r._btnDsc,a.dsc);wijmo_1.setText(r._btnAsc,o.ascending);wijmo_1.setText(r._btnDsc,o.descending);wijmo_1.setText(r._btnClear,o.clear);if(r._filter.filterMode===FilterMode.SingleFilter){wijmo_1.setText(r._tVal,o.values);wijmo_1.setText(r._tCnd,o.conditions);wijmo_1.setText(r._btnApply,o.apply);wijmo_1.setText(r._btnCancel,o.cancel);r._tabPanel=new wijmo_nav_1.TabPanel(r._divType.querySelector(".wj-tabpanel"),{isAnimated:!1,autoSwitch:!0,selectedIndexChanged:function(e){if(r.filter.filterType===FilterType.Both)if(e._isInitialized){var t=r.getActiveFilterType(i);e.selectedIndex=t===FilterType.Value?0:1;r._showFilter(t)}else r._showFilter(0===e.selectedIndex?FilterType.Value:FilterType.Condition);else{e.selectedIndex=r.filter.filterType===FilterType.Value?0:1;r._showFilter(r.filter.filterType)}}});r._showFilter(r.getActiveFilterType(i))}else r._showFilter();if(!d.allowSorting||r._disallowedControls.has(d.grid.constructor.name)){wijmo_1.enable(r._btnAsc,!1);wijmo_1.enable(r._btnDsc,!1)}l&&u&&u.canSort||(r._divSort.style.display="none");r._updateSortButtonState();r._btnApply&&r._btnApply.addEventListener("click",r._btnClickedHandle);r._btnCancel&&r._btnCancel.addEventListener("click",r._btnClickedHandle);r._btnClear.addEventListener("click",r._btnClickedHandle);r._btnAsc.addEventListener("click",r._btnClickedHandle);r._btnDsc.addEventListener("click",r._btnClickedHandle);r.addEventListener(s,"keydown",(function(e){if(!e.defaultPrevented){var t=e.target.tagName.match(/^(a|button)$/i);switch(e.keyCode){case wijmo_1.Key.Space:if(t){r._btnClicked(e);e.preventDefault()}break;case wijmo_1.Key.Enter:if(t)r._btnClicked(e);else{r.updateFilter();r.onFilterChanged();r.onButtonClicked()}e.preventDefault();break;case wijmo_1.Key.Escape:r.onButtonClicked();e.preventDefault();break;case wijmo_1.Key.Tab:wijmo_1.moveFocus(r.hostElement,e.shiftKey?-1:1);e.preventDefault()}}}));r.addEventListener(window,"resize",(function(){if(!r.isTouching&&!r._wasTouching)if(r.filter.filterMode===FilterMode.SingleFilter)r.onButtonClicked();else{var e=r.filter.column,t=e.grid.columnHeaders,i=t.rows.length-1,l=e.index,n=t.getCellElement(i,l),o=n?null:t.getCellBoundingRect(i,l);n?wijmo_1._updatePopupPosition(r.hostElement,n,wijmo_1.PopupPosition.BelowLeft):wijmo_1._updatePopupPosition(r.hostElement,o,wijmo_1.PopupPosition.BelowLeft)}}));return r}Object.defineProperty(ColumnFilterEditor,"controlTemplate",{get:function(){ColumnFilterEditor._ctrlTemplate||(ColumnFilterEditor._ctrlTemplate=ColumnFilterEditor._singleFilterTemplate);return ColumnFilterEditor._ctrlTemplate},set:function(e){ColumnFilterEditor._ctrlTemplate=e},enumerable:!0,configurable:!0});Object.defineProperty(ColumnFilterEditor,"_multiFilterTemplate",{get:function(){var e='\n <div wj-part="div-multi-filter">\n <div wj-part="div-edt-cnd" tabindex="-1"></div>\n <div wj-part="div-edt-val" tabindex="-1"></div>\n '+('\n <div style="text-align:right;margin-top:10px">\n <button wj-part="btn-clear" class="'+wijmo_1.InputFormElementsClsNames.btn+'"></button>\n </div>\n ')+"\n </div>\n ";return"\n <div>\n "+('\n <div wj-part="div-sort" class="'+exports.ColumnFilterEditorClsNames.sortButtons+'">\n <button wj-part="btn-asc" class="'+wijmo_1.InputFormElementsClsNames.btn+'"></button>&nbsp;&nbsp;&nbsp;\n <button wj-part="btn-dsc" class="'+wijmo_1.InputFormElementsClsNames.btn+'"></button>\n </div>\n ')+"\n "+e+"\n </div>\n "},enumerable:!0,configurable:!0});Object.defineProperty(ColumnFilterEditor,"_singleFilterTemplate",{get:function(){var e='\n <div style="text-align:right;margin-top:10px">\n <button wj-part="btn-apply" class="'+wijmo_1.InputFormElementsClsNames.btn+'"></button>&nbsp;&nbsp;\n <button wj-part="btn-cancel" class="'+wijmo_1.InputFormElementsClsNames.btn+'"></button>&nbsp;&nbsp;\n <button wj-part="btn-clear" class="'+wijmo_1.InputFormElementsClsNames.btn+'"></button>\n </div>\n ',t='\n <div wj-part="div-type">\n <div class="wj-tabpanel">\n <div>\n <div wj-part="t-val" class="'+exports.ColumnFilterEditorClsNames.filterHeader+'"></div>\n <div>\n <div wj-part="div-edt-val" tabindex="-1"></div>\n </div>\n </div>\n <div>\n <div wj-part="t-cnd" class="'+exports.ColumnFilterEditorClsNames.filterHeader+'"></div>\n <div>\n <div wj-part="div-edt-cnd" tabindex="-1"></div>\n </div>\n </div>\n </div>\n '+e+"\n </div>\n ";return"\n <div>\n "+('\n <div wj-part="div-sort" class="'+exports.ColumnFilterEditorClsNames.sortButtons+'">\n <button wj-part="btn-asc" class="'+wijmo_1.InputFormElementsClsNames.btn+'"></button>&nbsp;&nbsp;&nbsp;\n <button wj-part="btn-dsc" class="'+wijmo_1.InputFormElementsClsNames.btn+'"></button>\n </div>\n ')+"\n "+t+"\n </div>\n "},enumerable:!0,configurable:!0});ColumnFilterEditor.isCustomedTemplate=function(e){return e===ColumnFilterEditor._multiFilterTemplate||e===ColumnFilterEditor._singleFilterTemplate};Object.defineProperty(ColumnFilterEditor.prototype,"filter",{get:function(){return this._filter},enumerable:!0,configurable:!0});ColumnFilterEditor.prototype.updateEditor=function(){this._edtVal&&this._edtVal.updateEditor();this._edtCnd&&this._edtCnd.updateEditor()};ColumnFilterEditor.prototype.updateFilter=function(){var e=this.filter.filterMode;if(e==FilterMode.SingleFilter)switch(this._getFilterType()){case FilterType.Value:this._edtVal.updateFilter();this.filter.conditionFilter.clear();break;case FilterType.Condition:this._edtCnd.updateFilter();this.filter.valueFilter.clear()}else if(e==FilterMode.MultiFilter){this._edtVal&&this._edtVal.updateFilter();this._edtCnd&&this._edtCnd.updateFilter()}};ColumnFilterEditor.prototype.onFilterChanged=function(e){this.filterChanged.raise(this,e)};ColumnFilterEditor.prototype.onButtonClicked=function(e){this.buttonClicked.raise(this,e)};ColumnFilterEditor.prototype._showFilter=function(e){var t=this;this._wasTouching=this.isTouching;if(this._filter.filterMode!==FilterMode.MultiFilter){if(e==FilterType.Value&&null==this._edtVal){this._edtVal=new ValueFilterEditor(this._divEdtVal,this.filter.valueFilter);this._edtVal.canApplyChanged.addHandler((function(e){wijmo_1.enable(t._btnApply,t._edtVal.canApply)}))}if(e==FilterType.Condition&&null==this._edtCnd){this._edtCnd=new ConditionFilterEditor(this._divEdtCnd,this.filter.conditionFilter);this._edtCnd.canApplyChanged.addHandler((function(e){wijmo_1.enable(t._btnApply,t._edtCnd.canApply)}))}if(0!=(e&this.filter.filterType))if(e==FilterType.Value){this._divEdtVal.style.display="";this._divEdtCnd.style.display="none";this._edtVal.focus();this._edtVal._updateExceedsMaxValuesDisplay();wijmo_1.enable(this._btnApply,this._edtVal.canApply)}else{this._divEdtVal.style.display="none";this._divEdtCnd.style.display="";this._edtCnd.focus();wijmo_1.enable(this._btnApply,this._edtCnd.canApply)}var i=[this._tCnd,this._tVal];switch(this.filter.filterType){case FilterType.None:case FilterType.Condition:case FilterType.Value:i.forEach((function(e){e.style.display="none"}));break;default:i.forEach((function(e){e.style.display=""}))}}else{this._edtCnd||(this._edtCnd=new ConditionFilterEditor(this._divEdtCnd,this.filter.conditionFilter));this._edtVal||(this._edtVal=new ValueFilterEditor(this._divEdtVal,this.filter.valueFilter));this._edtVal._updateExceedsMaxValuesDisplay();this.bindEventsForMultiFilter()}};ColumnFilterEditor.prototype.getActiveFilterType=function(e){return this.filter.conditionFilter.isActive||0==(e.filterType&FilterType.Value)?FilterType.Condition:FilterType.Value};ColumnFilterEditor.prototype.raiseFilterChangedHandler=function(){var e=this.filter._owner;e.onFilterChanged(new wijmo_grid_1.CellRangeEventArgs(e.grid.cells,new wijmo_grid_1.CellRange(-1,this.filter.column.index)))};ColumnFilterEditor.prototype.bindEventsForMultiFilter=function(){var e=this,t=this._edtCnd,i=this._edtVal;t._cmb1.selectedIndexChanged.addHandler((function(i,l){e.setConditionFilterChanged(t._val1);e._cmb1Timer=e.updateConditionEditorAndTirggerFilterChanged()}));t._cmb2.selectedIndexChanged.addHandler((function(i,l){e.setConditionFilterChanged(t._val2);e._cmb2Timer=e.updateConditionEditorAndTirggerFilterChanged()}));t._val1.textChanged.addHandler((function(){e._isConditionFilterChanged=!0;e._val1Timer=e.updateConditionEditorAndTirggerFilterChanged()}));t._val2.textChanged.addHandler((function(){e._isConditionFilterChanged=!0;e._val2Timer=e.updateConditionEditorAndTirggerFilterChanged()}));t.hostElement.addEventListener("change",this._andOrChangedHandle);i._lbValues.itemChecked.addHandler((function(){i.updateFilter();e.raiseFilterChangedHandler();e.onFilterChanged()}));i._cbSelectAll.addEventListener("click",this._cbSelectAllClickedHandle);this._filterAppliedHandler=function(){if(e._isConditionFilterChanged){e._edtVal.updateEditor();e._isConditionFilterChanged=!1}};this._filter._owner.filterApplied.addHandler(this._filterAppliedHandler)};ColumnFilterEditor.prototype.updateConditionEditorAndTirggerFilterChanged=function(){var e=this;return setTimeout((function(){e.raiseFilterChangedHandler();e._edtCnd.updateFilter();e._isConditionFilterChanged&&e.onFilterChanged()}),wijmo_1.Control._SEARCH_DELAY+100)};ColumnFilterEditor.prototype._cbSelectAllClicked=function(){this._edtVal.updateFilter();this.raiseFilterChangedHandler();this.onFilterChanged()};ColumnFilterEditor.prototype._andOrChanged=function(e){var t=e.target==this._edtCnd._btnAnd,i=e.target==this._edtCnd._btnOr;if(t||i){this.filter.conditionFilter.isActive&&(this._isConditionFilterChanged=!0);this._andOrTimer=this.updateConditionEditorAndTirggerFilterChanged()}};ColumnFilterEditor.prototype._updateSortButtonState=function(){var e=this.filter.column,t=e?e.currentSort:"",i=wijmo_1.ControlStateClsNames.active,l=wijmo_1.culture.FlexGridFilter.ariaLabels;if("+"===t){wijmo_1.addClass(this._btnAsc,i);this._btnAsc.setAttribute("aria-label",l.asc+" "+l.active)}else if("-"===t){wijmo_1.addClass(this._btnDsc,i);this._btnDsc.setAttribute("aria-label",l.dsc+" "+l.active)}};ColumnFilterEditor.prototype._getFilterType=function(){var e=FilterType;return"none"!=this._divEdtVal.style.display?e.Value:e.Condition};ColumnFilterEditor.prototype.setConditionFilterChanged=function(e){isValueInputDisplay(e.hostElement)?e.text&&(this._isConditionFilterChanged=!0):this._isConditionFilterChanged=!0};ColumnFilterEditor.prototype._btnClicked=function(e){var t=this,i=e.target;e.preventDefault();e.stopPropagation();if(!wijmo_1.hasClass(i,wijmo_1.ControlStateClsNames.disabled)){if(i==this._btnAsc||i==this._btnDsc){var l=this.filter.column.grid,r=this.filter.column,n=r.sortMemberPath||r.binding,o=r.grid.collectionView.sortDescriptions,a=this.hostElement["$WJ-OWNR"]&&this.hostElement["$WJ-OWNR"]["wj-cell-index"];if(a){var s=a.panel,d=a.rng;null==d&&(d=new wijmo_grid_1.CellRange(a.row,a.col,a.row,a.col));var u=new wijmo_grid_1.CellRangeEventArgs(s,d,e);if(l.onSortingColumn(u)){o.deferUpdate((function(){o.clear();o.push(new wijmo_1.SortDescription(n,e.target==t._btnAsc))}));this._updateSortButtonState();l.onSortedColumn(u)}}}if(i==this._btnApply){this.updateFilter();this.onFilterChanged()}else if(i==this._btnClear){var c=this.filter.isActive;this.filter.clear();c&&this.onFilterChanged()}else this.updateEditor();this.onButtonClicked()}};ColumnFilterEditor.prototype.dispose=function(){this._filterAppliedHandler&&this._filter._owner.filterApplied.removeHandler(this._filterAppliedHandler);if(this._cmb1Timer){clearTimeout(this._cmb1Timer);this._cmb1Timer=null}if(this._cmb2Timer){clearTimeout(this._cmb2Timer);this._cmb2Timer=null}if(this._val1Timer){clearTimeout(this._val1Timer);this._val1Timer=null}if(this._val2Timer){clearTimeout(this._val2Timer);this._val2Timer=null}if(this._andOrTimer){clearTimeout(this._andOrTimer);this._andOrTimer=null}this._btnApply&&this._btnApply.removeEventListener("click",this._btnClickedHandle);this._btnCancel&&this._btnCancel.removeEventListener("click",this._btnClickedHandle);this._btnClear&&this._btnClear.removeEventListener("click",this._btnClickedHandle);this._btnAsc&&this._btnAsc.removeEventListener("click",this._btnClickedHandle);this._btnDsc&&this._btnDsc.removeEventListener("click",this._btnClickedHandle);this._edtCnd&&this._andOrChangedHandle&&this._edtCnd.hostElement.removeEventListener("change",this._andOrChangedHandle);this._edtVal&&this._edtVal._cbSelectAll&&this._edtVal._cbSelectAll.removeEventListener("click",this._cbSelectAllClickedHandle);if(this._edtVal){this._edtVal.dispose();this._edtVal=null}if(this._edtCnd){this._edtCnd.dispose();this._edtCnd=null}if(this._tabPanel){this._tabPanel.dispose();this._tabPanel=null}e.prototype.dispose.call(this)};ColumnFilterEditor._ctrlTemplate="";return ColumnFilterEditor}(wijmo_1.Control);exports.ColumnFilterEditor=ColumnFilterEditor;function isValueInputDisplay(e){return"none"!==e.style.display}wijmo_1._registerModule("wijmo.grid.filter",selfModule);
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20261.45-nightly.d20260108.t163148
3
+ * Wijmo Library 5.20261.45-nightly.d20260109.t183159
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.d20260108.t163148
3
+ * Wijmo Library 5.20261.45-nightly.d20260109.t183159
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.d20260108.t163148
3
+ * Wijmo Library 5.20261.45-nightly.d20260109.t183159
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.d20260108.t163148
3
+ * Wijmo Library 5.20261.45-nightly.d20260109.t183159
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
package/wijmo.grid.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20261.45-nightly.d20260108.t163148
3
+ * Wijmo Library 5.20261.45-nightly.d20260109.t183159
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.d20260108.t163148
3
+ * Wijmo Library 5.20261.45-nightly.d20260109.t183159
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -241,6 +241,7 @@ export declare class MultiRow extends FlexGrid {
241
241
  _collapsedHeadersWasNull: boolean;
242
242
  _btnCollapse: HTMLElement;
243
243
  _rowHdrCnt: number;
244
+ _toDimensionCheck: any;
244
245
  static _ctrlTemplate: string;
245
246
  /**
246
247
  * Gets or sets the template used to instantiate {@link MultiRow} control.
@@ -488,6 +489,10 @@ export declare class MultiRow extends FlexGrid {
488
489
  private _refreshLayoutDefinition;
489
490
  private _updateRecordIndexInFooter;
490
491
  _cloneLayoutDefinition(definition: any[]): any[];
492
+ /**
493
+ * Disposes of the control and all its resources.
494
+ */
495
+ dispose(): void;
491
496
  }
492
497
  /**
493
498
  * Provides custom merging for {@link MultiRow} controls.