@watermarkinsights/ripple 5.6.0-1 → 5.6.0-3

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 (383) hide show
  1. package/dist/cjs/{chartFunctions-878f8139.js → chartFunctions-fb38580b.js} +10 -7
  2. package/dist/cjs/{functions-05e7ad5a.js → functions-a70fcff7.js} +13 -104
  3. package/dist/{esm/app-globals-8a702f67.js → cjs/global-85a3a126.js} +2 -7
  4. package/dist/cjs/index-e86c28b6.js +2653 -0
  5. package/dist/cjs/{intl-2b550151.js → intl-4a3a3a94.js} +1 -1
  6. package/dist/cjs/loader.cjs.js +4 -5
  7. package/dist/cjs/priv-calendar.cjs.entry.js +5 -6
  8. package/dist/cjs/priv-chart-popover.cjs.entry.js +5 -6
  9. package/dist/cjs/priv-navigator-button.cjs.entry.js +3 -4
  10. package/dist/cjs/priv-navigator-item.cjs.entry.js +3 -4
  11. package/dist/cjs/priv-option-list.cjs.entry.js +384 -0
  12. package/dist/cjs/ripple.cjs.js +12 -13
  13. package/dist/cjs/wm-action-menu_2.cjs.entry.js +6 -8
  14. package/dist/cjs/wm-button.cjs.entry.js +4 -5
  15. package/dist/cjs/wm-chart-slice.cjs.entry.js +1 -1
  16. package/dist/cjs/wm-chart.cjs.entry.js +9 -12
  17. package/dist/cjs/wm-date-range.cjs.entry.js +8 -9
  18. package/dist/cjs/wm-datepicker.cjs.entry.js +8 -9
  19. package/dist/cjs/wm-file-list.cjs.entry.js +3 -4
  20. package/dist/cjs/wm-file.cjs.entry.js +4 -5
  21. package/dist/cjs/wm-input.cjs.entry.js +5 -6
  22. package/dist/cjs/wm-line-chart.cjs.entry.js +14 -15
  23. package/dist/cjs/wm-modal-footer.cjs.entry.js +3 -4
  24. package/dist/cjs/wm-modal-header.cjs.entry.js +5 -6
  25. package/dist/cjs/wm-modal.cjs.entry.js +5 -6
  26. package/dist/cjs/wm-navigation_3.cjs.entry.js +10 -13
  27. package/dist/cjs/wm-navigator.cjs.entry.js +3 -4
  28. package/dist/cjs/wm-nested-select.cjs.entry.js +295 -0
  29. package/dist/cjs/wm-optgroup.cjs.entry.js +56 -0
  30. package/dist/cjs/wm-option_2.cjs.entry.js +37 -344
  31. package/dist/cjs/wm-pagination.cjs.entry.js +4 -5
  32. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +8 -10
  33. package/dist/cjs/wm-search.cjs.entry.js +6 -7
  34. package/dist/cjs/wm-snackbar.cjs.entry.js +6 -7
  35. package/dist/cjs/wm-tab-item_3.cjs.entry.js +8 -11
  36. package/dist/cjs/wm-tag-input.cjs.entry.js +7 -8
  37. package/dist/cjs/wm-tag-option.cjs.entry.js +2 -2
  38. package/dist/cjs/wm-textarea.cjs.entry.js +5 -6
  39. package/dist/cjs/wm-timepicker.cjs.entry.js +5 -6
  40. package/dist/cjs/wm-toggletip.cjs.entry.js +5 -6
  41. package/dist/cjs/wm-uploader.cjs.entry.js +6 -7
  42. package/dist/cjs/wm-wrapper.cjs.entry.js +1 -1
  43. package/dist/collection/collection-manifest.json +7 -4
  44. package/dist/collection/components/charts/chartFunctions.js +3 -3
  45. package/dist/collection/components/charts/chartFunctions.spec.js +16 -0
  46. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.e2e.js +81 -0
  47. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +2 -2
  48. package/dist/collection/components/charts/screenshots.e2e.js +96 -0
  49. package/dist/collection/components/charts/wm-chart/wm-chart.css +13 -8
  50. package/dist/collection/components/charts/wm-chart/wm-chart.e2e.js +213 -0
  51. package/dist/collection/components/charts/wm-chart/wm-chart.js +3 -5
  52. package/dist/collection/components/charts/wm-chart/wm-chart.spec.js +37 -0
  53. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.e2e.js +176 -0
  54. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +9 -9
  55. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.spec.js +163 -0
  56. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.css +13 -8
  57. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +1 -1
  58. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.e2e.js +69 -0
  59. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +1 -1
  60. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.spec.js +79 -0
  61. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +2 -2
  62. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.spec.js +89 -0
  63. package/dist/collection/components/datepickers/wm-date-range.e2e.js +443 -0
  64. package/dist/collection/components/datepickers/wm-date-range.js +13 -17
  65. package/dist/collection/components/datepickers/wm-date-range.spec.js +22 -0
  66. package/dist/collection/components/datepickers/wm-datepicker.e2e.js +382 -0
  67. package/dist/collection/components/datepickers/wm-datepicker.js +13 -17
  68. package/dist/collection/components/datepickers/wm-datepicker.spec.js +21 -0
  69. package/dist/collection/components/selects/priv-option-list/priv-option-list.css +104 -0
  70. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +714 -0
  71. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +378 -0
  72. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +581 -0
  73. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.css +77 -0
  74. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +197 -0
  75. package/dist/collection/components/{wm-select → selects/wm-select}/wm-select.css +0 -74
  76. package/dist/collection/components/selects/wm-select/wm-select.e2e.js +521 -0
  77. package/dist/collection/components/{wm-select → selects/wm-select}/wm-select.js +17 -384
  78. package/dist/collection/components/selects/wm-select/wm-select.spec.js +271 -0
  79. package/dist/collection/components/wm-action-menu/wm-action-menu.e2e.js +200 -0
  80. package/dist/collection/components/wm-action-menu/wm-action-menu.js +1 -1
  81. package/dist/collection/components/wm-action-menu/wm-action-menu.spec.js +48 -0
  82. package/dist/collection/components/wm-button/wm-button.e2e.js +55 -0
  83. package/dist/collection/components/wm-button/wm-button.js +1 -1
  84. package/dist/collection/components/wm-button/wm-button.spec.js +74 -0
  85. package/dist/collection/components/wm-file/wm-file.js +1 -1
  86. package/dist/collection/components/wm-file/wm-file.spec.js +194 -0
  87. package/dist/collection/components/wm-file-list/wm-file-list.js +1 -1
  88. package/dist/collection/components/wm-file-list/wm-file-list.spec.js +69 -0
  89. package/dist/collection/components/wm-input/wm-input.e2e.js +32 -0
  90. package/dist/collection/components/wm-input/wm-input.js +1 -1
  91. package/dist/collection/components/wm-input/wm-input.spec.js +173 -0
  92. package/dist/collection/components/wm-menuitem/wm-menuitem.e2e.js +23 -0
  93. package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
  94. package/dist/collection/components/wm-menuitem/wm-menuitem.spec.js +54 -0
  95. package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
  96. package/dist/collection/components/wm-modal/wm-modal-footer.spec.js +11 -0
  97. package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
  98. package/dist/collection/components/wm-modal/wm-modal-header.spec.js +8 -0
  99. package/dist/collection/components/wm-modal/wm-modal.e2e.js +104 -0
  100. package/dist/collection/components/wm-modal/wm-modal.js +2 -2
  101. package/dist/collection/components/wm-modal/wm-modal.spec.js +30 -0
  102. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
  103. package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
  104. package/dist/collection/components/wm-navigation/wm-navigation.e2e.js +102 -0
  105. package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
  106. package/dist/collection/components/wm-navigation/wm-navigation.spec.js +91 -0
  107. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.e2e.js +50 -0
  108. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
  109. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
  110. package/dist/collection/components/wm-navigator/wm-navigator.e2e.js +209 -0
  111. package/dist/collection/components/wm-navigator/wm-navigator.spec.js +177 -0
  112. package/dist/collection/components/wm-option/wm-option.e2e.js +22 -0
  113. package/dist/collection/components/wm-option/wm-option.js +35 -9
  114. package/dist/collection/components/wm-option/wm-option.spec.js +63 -0
  115. package/dist/collection/components/wm-pagination/wm-pagination.e2e.js +312 -0
  116. package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
  117. package/dist/collection/components/wm-search/wm-search.e2e.js +76 -0
  118. package/dist/collection/components/wm-search/wm-search.js +4 -5
  119. package/dist/collection/components/wm-search/wm-search.spec.js +71 -0
  120. package/dist/collection/components/wm-snackbar/wm-snackbar.e2e.js +112 -0
  121. package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
  122. package/dist/collection/components/wm-snackbar/wm-snackbar.spec.js +9 -0
  123. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +1 -1
  124. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +1 -1
  125. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
  126. package/dist/collection/components/wm-tabs/wm-tabs.e2e.js +91 -0
  127. package/dist/collection/components/wm-tabs/wm-tabs.spec.js +12 -0
  128. package/dist/collection/components/wm-tag-input/wm-tag-input.e2e.js +204 -0
  129. package/dist/collection/components/wm-tag-input/wm-tag-input.js +3 -3
  130. package/dist/collection/components/wm-tag-input/wm-tag-input.spec.js +195 -0
  131. package/dist/collection/components/wm-textarea/wm-textarea.e2e.js +41 -0
  132. package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
  133. package/dist/collection/components/wm-textarea/wm-textarea.spec.js +79 -0
  134. package/dist/collection/components/wm-timepicker/wm-timepicker.e2e.js +163 -0
  135. package/dist/collection/components/wm-timepicker/wm-timepicker.js +8 -11
  136. package/dist/collection/components/wm-timepicker/wm-timepicker.spec.js +147 -0
  137. package/dist/collection/components/wm-toggletip/wm-toggletip.e2e.js +69 -0
  138. package/dist/collection/components/wm-toggletip/wm-toggletip.js +2 -2
  139. package/dist/collection/components/wm-toggletip/wm-toggletip.spec.js +21 -0
  140. package/dist/collection/components/wm-uploader/wm-uploader.e2e.js +70 -0
  141. package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
  142. package/dist/collection/components/wm-uploader/wm-uploader.spec.js +234 -0
  143. package/dist/collection/dev/nested-select.js +62 -0
  144. package/dist/collection/global/functions.js +5 -0
  145. package/dist/collection/global/functions.spec.js +126 -0
  146. package/dist/collection/lang/lang.spec.js +20 -0
  147. package/dist/esm/{chartFunctions-00fd6f23.js → chartFunctions-c07590f5.js} +10 -7
  148. package/dist/esm/{functions-25781571.js → functions-dea8b0f6.js} +13 -105
  149. package/dist/{cjs/app-globals-5caee80b.js → esm/global-fc303bc4.js} +1 -10
  150. package/dist/esm/index-558b5a82.js +2622 -0
  151. package/dist/esm/{intl-df3d34d1.js → intl-417d8b33.js} +1 -1
  152. package/dist/esm/loader.js +5 -6
  153. package/dist/esm/priv-calendar.entry.js +5 -6
  154. package/dist/esm/priv-chart-popover.entry.js +5 -6
  155. package/dist/esm/priv-navigator-button.entry.js +3 -4
  156. package/dist/esm/priv-navigator-item.entry.js +3 -4
  157. package/dist/esm/priv-option-list.entry.js +380 -0
  158. package/dist/esm/ripple.js +13 -14
  159. package/dist/esm/wm-action-menu_2.entry.js +6 -8
  160. package/dist/esm/wm-button.entry.js +4 -5
  161. package/dist/esm/wm-chart-slice.entry.js +1 -1
  162. package/dist/esm/wm-chart.entry.js +9 -12
  163. package/dist/esm/wm-date-range.entry.js +8 -9
  164. package/dist/esm/wm-datepicker.entry.js +8 -9
  165. package/dist/esm/wm-file-list.entry.js +3 -4
  166. package/dist/esm/wm-file.entry.js +4 -5
  167. package/dist/esm/wm-input.entry.js +5 -6
  168. package/dist/esm/wm-line-chart.entry.js +14 -15
  169. package/dist/esm/wm-modal-footer.entry.js +3 -4
  170. package/dist/esm/wm-modal-header.entry.js +5 -6
  171. package/dist/esm/wm-modal.entry.js +5 -6
  172. package/dist/esm/wm-navigation_3.entry.js +10 -13
  173. package/dist/esm/wm-navigator.entry.js +3 -4
  174. package/dist/esm/wm-nested-select.entry.js +291 -0
  175. package/dist/esm/wm-optgroup.entry.js +52 -0
  176. package/dist/esm/wm-option_2.entry.js +37 -344
  177. package/dist/esm/wm-pagination.entry.js +4 -5
  178. package/dist/esm/wm-progress-indicator_3.entry.js +8 -10
  179. package/dist/esm/wm-search.entry.js +6 -7
  180. package/dist/esm/wm-snackbar.entry.js +6 -7
  181. package/dist/esm/wm-tab-item_3.entry.js +8 -11
  182. package/dist/esm/wm-tag-input.entry.js +7 -8
  183. package/dist/esm/wm-tag-option.entry.js +2 -2
  184. package/dist/esm/wm-textarea.entry.js +5 -6
  185. package/dist/esm/wm-timepicker.entry.js +5 -6
  186. package/dist/esm/wm-toggletip.entry.js +5 -6
  187. package/dist/esm/wm-uploader.entry.js +6 -7
  188. package/dist/esm/wm-wrapper.entry.js +1 -1
  189. package/dist/esm-es5/{chartFunctions-00fd6f23.js → chartFunctions-c07590f5.js} +1 -1
  190. package/dist/esm-es5/functions-dea8b0f6.js +1 -0
  191. package/dist/esm-es5/global-fc303bc4.js +1 -0
  192. package/dist/esm-es5/index-558b5a82.js +1 -0
  193. package/dist/esm-es5/{intl-df3d34d1.js → intl-417d8b33.js} +1 -1
  194. package/dist/esm-es5/loader.js +1 -1
  195. package/dist/esm-es5/priv-calendar.entry.js +1 -1
  196. package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
  197. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  198. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  199. package/dist/esm-es5/priv-option-list.entry.js +1 -0
  200. package/dist/esm-es5/ripple.js +1 -1
  201. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  202. package/dist/esm-es5/wm-button.entry.js +1 -1
  203. package/dist/esm-es5/wm-chart-slice.entry.js +1 -1
  204. package/dist/esm-es5/wm-chart.entry.js +1 -1
  205. package/dist/esm-es5/wm-date-range.entry.js +1 -1
  206. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  207. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  208. package/dist/esm-es5/wm-file.entry.js +1 -1
  209. package/dist/esm-es5/wm-input.entry.js +1 -1
  210. package/dist/esm-es5/wm-line-chart.entry.js +1 -1
  211. package/dist/esm-es5/wm-modal-footer.entry.js +1 -1
  212. package/dist/esm-es5/wm-modal-header.entry.js +1 -1
  213. package/dist/esm-es5/wm-modal.entry.js +1 -1
  214. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  215. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  216. package/dist/esm-es5/wm-nested-select.entry.js +1 -0
  217. package/dist/esm-es5/wm-optgroup.entry.js +1 -0
  218. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  219. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  220. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  221. package/dist/esm-es5/wm-search.entry.js +1 -1
  222. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  223. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  224. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  225. package/dist/esm-es5/wm-tag-option.entry.js +1 -1
  226. package/dist/esm-es5/wm-textarea.entry.js +1 -1
  227. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  228. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  229. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  230. package/dist/esm-es5/wm-wrapper.entry.js +1 -1
  231. package/dist/loader/cdn.js +2 -1
  232. package/dist/loader/index.cjs.js +2 -1
  233. package/dist/loader/index.d.ts +0 -3
  234. package/dist/loader/index.es2017.js +2 -1
  235. package/dist/loader/index.js +2 -1
  236. package/dist/ripple/p-021ff5fa.system.entry.js +1 -0
  237. package/dist/ripple/{p-bcff8b3a.entry.js → p-0289e88d.entry.js} +1 -1
  238. package/dist/ripple/p-03a28fd8.entry.js +1 -0
  239. package/dist/ripple/p-10fffb96.entry.js +1 -0
  240. package/dist/ripple/p-182f1286.system.entry.js +1 -0
  241. package/dist/ripple/{p-298bde1b.entry.js → p-1ae47d48.entry.js} +1 -1
  242. package/dist/ripple/p-1aead401.entry.js +1 -0
  243. package/dist/ripple/p-230cd6ec.system.entry.js +1 -0
  244. package/dist/ripple/p-24ba754f.entry.js +1 -0
  245. package/dist/ripple/p-24c56217.system.entry.js +1 -0
  246. package/dist/ripple/p-294b38ca.system.entry.js +1 -0
  247. package/dist/ripple/p-2c7bb996.system.entry.js +1 -0
  248. package/dist/ripple/p-2ed54dbc.entry.js +1 -0
  249. package/dist/ripple/p-2f899c05.system.entry.js +1 -0
  250. package/dist/ripple/p-311923b2.system.entry.js +1 -0
  251. package/dist/ripple/{p-823d7b4e.system.entry.js → p-32bf3f5b.system.entry.js} +1 -1
  252. package/dist/ripple/p-350223f1.entry.js +1 -0
  253. package/dist/ripple/p-3568472c.entry.js +1 -0
  254. package/dist/ripple/p-37687638.system.entry.js +1 -0
  255. package/dist/ripple/{p-b0c566b5.system.entry.js → p-37f39cd9.system.entry.js} +1 -1
  256. package/dist/ripple/p-3bdac9a4.entry.js +1 -0
  257. package/dist/ripple/{p-13b1d775.entry.js → p-48e09589.entry.js} +1 -1
  258. package/dist/ripple/{p-aab56a37.system.entry.js → p-4df006b1.system.entry.js} +1 -1
  259. package/dist/ripple/p-4e1065d1.system.entry.js +1 -0
  260. package/dist/ripple/{p-6e60631a.entry.js → p-503702ef.entry.js} +1 -1
  261. package/dist/ripple/{p-a1a2f8c9.system.entry.js → p-5052c9dd.system.entry.js} +1 -1
  262. package/dist/ripple/p-568c595f.js +2 -0
  263. package/dist/ripple/p-588d678d.entry.js +1 -0
  264. package/dist/ripple/p-5b9babd9.system.entry.js +1 -0
  265. package/dist/ripple/{p-8e72de50.entry.js → p-61a19aa5.entry.js} +1 -1
  266. package/dist/ripple/p-62744f66.entry.js +1 -0
  267. package/dist/ripple/{p-043901ab.system.entry.js → p-65d26233.system.entry.js} +1 -1
  268. package/dist/ripple/p-667fed4f.system.js +1 -0
  269. package/dist/ripple/p-6a6bfac8.entry.js +1 -0
  270. package/dist/ripple/{p-672ae2cb.entry.js → p-6dd5fd2e.entry.js} +1 -1
  271. package/dist/ripple/p-71ed7e56.system.entry.js +1 -0
  272. package/dist/ripple/p-87d0933f.system.entry.js +1 -0
  273. package/dist/ripple/{p-cd0cc88d.entry.js → p-88ebddd7.entry.js} +1 -1
  274. package/dist/ripple/p-8c02e3a3.entry.js +1 -0
  275. package/dist/ripple/{p-041e579b.entry.js → p-8c7d5cd9.entry.js} +1 -1
  276. package/dist/ripple/p-902a54c5.entry.js +1 -0
  277. package/dist/ripple/{p-ac40417b.system.entry.js → p-91b21054.system.entry.js} +1 -1
  278. package/dist/ripple/p-94db7841.entry.js +1 -0
  279. package/dist/ripple/p-9e9c9d20.entry.js +1 -0
  280. package/dist/ripple/p-a20333e9.entry.js +1 -0
  281. package/dist/ripple/p-ab8d78cc.system.js +2 -0
  282. package/dist/ripple/{p-67a7f0b0.entry.js → p-ace05e0b.entry.js} +1 -1
  283. package/dist/ripple/p-ade3d9a9.entry.js +1 -0
  284. package/dist/ripple/p-b0a02b42.system.entry.js +1 -0
  285. package/dist/ripple/p-b8963e4d.system.entry.js +1 -0
  286. package/dist/ripple/{p-41eb6a2e.system.entry.js → p-b918e97a.system.entry.js} +1 -1
  287. package/dist/ripple/p-b99f6b96.js +1 -0
  288. package/dist/ripple/p-b9f650c7.system.js +1 -0
  289. package/dist/ripple/p-bb884a44.js +1 -0
  290. package/dist/ripple/p-c10f3273.entry.js +1 -0
  291. package/dist/ripple/{p-a9d89ac8.system.js → p-c28863e7.system.js} +1 -1
  292. package/dist/ripple/p-c4df2809.entry.js +1 -0
  293. package/dist/ripple/p-c4ec5884.system.entry.js +1 -0
  294. package/dist/ripple/p-c51398ba.entry.js +1 -0
  295. package/dist/ripple/p-c7dfcc99.system.entry.js +1 -0
  296. package/dist/ripple/p-c885c7f9.entry.js +1 -0
  297. package/dist/ripple/p-c93275bd.system.entry.js +1 -0
  298. package/dist/ripple/p-c9543950.system.entry.js +1 -0
  299. package/dist/ripple/p-c999c1f7.system.entry.js +1 -0
  300. package/dist/ripple/{p-d93c51dd.system.entry.js → p-cb690d83.system.entry.js} +1 -1
  301. package/dist/ripple/{p-03708b88.system.js → p-cd7cef47.system.js} +1 -1
  302. package/dist/ripple/{p-f54e9ed0.js → p-d32bf479.js} +1 -1
  303. package/dist/ripple/{p-6fe35d1e.system.entry.js → p-d52545c7.system.entry.js} +1 -1
  304. package/dist/ripple/p-d9122935.system.entry.js +1 -0
  305. package/dist/ripple/p-daf03315.entry.js +1 -0
  306. package/dist/ripple/p-de283385.system.js +1 -0
  307. package/dist/ripple/p-de35505c.entry.js +1 -0
  308. package/dist/ripple/p-e004b92b.system.entry.js +1 -0
  309. package/dist/ripple/p-e26a6bd0.entry.js +1 -0
  310. package/dist/ripple/p-e42eeb59.system.entry.js +1 -0
  311. package/dist/ripple/{p-a88bf1c5.js → p-e8c12272.js} +1 -1
  312. package/dist/ripple/p-e9395ac5.entry.js +1 -0
  313. package/dist/ripple/p-eeebc2c7.entry.js +1 -0
  314. package/dist/ripple/p-f69a16d4.system.entry.js +1 -0
  315. package/dist/ripple/p-f8c6fa96.system.entry.js +1 -0
  316. package/dist/ripple/p-fb3d5a64.system.entry.js +1 -0
  317. package/dist/ripple/ripple.esm.js +1 -1
  318. package/dist/ripple/ripple.js +1 -1
  319. package/dist/types/components/selects/wm-select/wm-select.d.ts +53 -0
  320. package/dist/types/components.d.ts +148 -2
  321. package/dist/types/global/functions.d.ts +1 -0
  322. package/dist/types/stencil-public-runtime.d.ts +10 -3
  323. package/package.json +1 -1
  324. package/dist/cjs/index-788526f5.js +0 -1851
  325. package/dist/esm/index-130e07bb.js +0 -1820
  326. package/dist/esm-es5/app-globals-8a702f67.js +0 -1
  327. package/dist/esm-es5/functions-25781571.js +0 -1
  328. package/dist/esm-es5/index-130e07bb.js +0 -1
  329. package/dist/ripple/p-0af94825.entry.js +0 -1
  330. package/dist/ripple/p-0ff41567.system.entry.js +0 -1
  331. package/dist/ripple/p-13fc2164.entry.js +0 -1
  332. package/dist/ripple/p-155224a2.system.entry.js +0 -1
  333. package/dist/ripple/p-17bb1157.system.entry.js +0 -1
  334. package/dist/ripple/p-1f09134c.entry.js +0 -1
  335. package/dist/ripple/p-298c2675.entry.js +0 -1
  336. package/dist/ripple/p-2d619f83.entry.js +0 -1
  337. package/dist/ripple/p-2ef49c84.entry.js +0 -1
  338. package/dist/ripple/p-2fd12dd9.entry.js +0 -1
  339. package/dist/ripple/p-3423a9b6.system.entry.js +0 -1
  340. package/dist/ripple/p-376efca9.entry.js +0 -1
  341. package/dist/ripple/p-3b4045f8.system.entry.js +0 -1
  342. package/dist/ripple/p-3b5f4364.system.entry.js +0 -1
  343. package/dist/ripple/p-417c8e46.system.entry.js +0 -1
  344. package/dist/ripple/p-418ed08c.system.entry.js +0 -1
  345. package/dist/ripple/p-4670ccb4.system.js +0 -1
  346. package/dist/ripple/p-4baaf026.entry.js +0 -1
  347. package/dist/ripple/p-4ea1e503.entry.js +0 -1
  348. package/dist/ripple/p-5051034b.entry.js +0 -1
  349. package/dist/ripple/p-56766bb2.entry.js +0 -1
  350. package/dist/ripple/p-58988291.system.js +0 -1
  351. package/dist/ripple/p-5caaf651.system.entry.js +0 -1
  352. package/dist/ripple/p-5ece78e5.system.entry.js +0 -1
  353. package/dist/ripple/p-6d0e5159.system.entry.js +0 -1
  354. package/dist/ripple/p-6d56676e.system.entry.js +0 -1
  355. package/dist/ripple/p-748f8a97.system.entry.js +0 -1
  356. package/dist/ripple/p-7eab6bea.system.entry.js +0 -1
  357. package/dist/ripple/p-7fb95b89.entry.js +0 -1
  358. package/dist/ripple/p-830f8b3f.entry.js +0 -1
  359. package/dist/ripple/p-86fd68b3.system.entry.js +0 -1
  360. package/dist/ripple/p-88cfd58d.js +0 -1
  361. package/dist/ripple/p-8b56f9d8.system.entry.js +0 -1
  362. package/dist/ripple/p-a62e7532.entry.js +0 -1
  363. package/dist/ripple/p-b41ef3db.entry.js +0 -1
  364. package/dist/ripple/p-b7307be6.system.entry.js +0 -1
  365. package/dist/ripple/p-b80d9402.system.entry.js +0 -1
  366. package/dist/ripple/p-b8168f35.system.entry.js +0 -1
  367. package/dist/ripple/p-c2181de0.entry.js +0 -1
  368. package/dist/ripple/p-cef8a45b.system.js +0 -2
  369. package/dist/ripple/p-d5ba9de1.system.entry.js +0 -1
  370. package/dist/ripple/p-d9da0502.js +0 -2
  371. package/dist/ripple/p-ddff380b.system.js +0 -1
  372. package/dist/ripple/p-e2fe86a7.system.entry.js +0 -1
  373. package/dist/ripple/p-e4918449.js +0 -1
  374. package/dist/ripple/p-e85b1f40.entry.js +0 -1
  375. package/dist/ripple/p-ea0dfadf.system.entry.js +0 -1
  376. package/dist/ripple/p-eb14b354.entry.js +0 -1
  377. package/dist/ripple/p-ecb6c756.entry.js +0 -1
  378. package/dist/ripple/p-f09e2c22.entry.js +0 -1
  379. package/dist/ripple/p-f17fd62b.entry.js +0 -1
  380. package/dist/ripple/p-fabe4ca4.entry.js +0 -1
  381. package/dist/ripple/p-fc529ba1.system.entry.js +0 -1
  382. package/dist/types/components/wm-option/wm-option.d.ts +0 -39
  383. package/dist/types/components/wm-select/wm-select.d.ts +0 -96
@@ -0,0 +1,714 @@
1
+ import { h, forceUpdate } from "@stencil/core";
2
+ import { intl, debounce, isElOrChild } from "../../../global/functions";
3
+ export class PrivOptionList {
4
+ constructor() {
5
+ this.searchIndex = 0;
6
+ this.keysSoFar = "";
7
+ this.selectAllMessage = intl.formatMessage({
8
+ id: "select.selectAll",
9
+ defaultMessage: "Select All",
10
+ });
11
+ this.deselectAllMessage = intl.formatMessage({
12
+ id: "select.deselectAll",
13
+ defaultMessage: "Deselect All",
14
+ });
15
+ this.allOptionsSelectedMessage = intl.formatMessage({
16
+ id: "select.allOptionsSelected",
17
+ defaultMessage: "All options selected",
18
+ });
19
+ this.allOptionsDeselectedMessage = intl.formatMessage({
20
+ id: "select.allOptionsDeselected",
21
+ defaultMessage: "All options deselected",
22
+ });
23
+ this.debouncedSearch = debounce(() => {
24
+ this.searchTerm = this.searchFieldEl.value;
25
+ this.optionListSearchChanged.emit({ searchTerm: this.searchTerm });
26
+ if (this.filteredOptions.length) {
27
+ this.announce(this.resultsFoundMessage);
28
+ }
29
+ else {
30
+ this.announce(this.noResultsFoundMessage);
31
+ }
32
+ }, 150);
33
+ this.debouncedClearKeysSoFar = debounce(() => {
34
+ this.keysSoFar = "";
35
+ }, 500);
36
+ this.multiple = false;
37
+ this.search = false;
38
+ this.selectAll = false;
39
+ this.searchPlaceholder = undefined;
40
+ this.maxHeight = undefined;
41
+ this.announcement = "";
42
+ this.searchTerm = "";
43
+ }
44
+ get childOptions() {
45
+ return Array.from(this.el.getRootNode().host.querySelectorAll("wm-option"));
46
+ }
47
+ get cloneOptions() {
48
+ return Array.from(this.el.querySelectorAll("wm-option"));
49
+ }
50
+ get allOptionEls() {
51
+ // this includes both slotted wm-options and internally created wm-options
52
+ return this.cloneOptions.concat(this.childOptions);
53
+ }
54
+ get visibleOptionEls() {
55
+ return this.allOptionEls.filter((option) => !option.classList.contains("hidden") && !option.classList.contains("filtered-out"));
56
+ }
57
+ //////////////////////////////////////
58
+ // for search variants
59
+ get filteredOptions() {
60
+ return this.childOptions.filter((option) => { var _a; return (_a = option.textContent) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(this.searchTerm.toLowerCase()); });
61
+ }
62
+ //////////////////////////////////////
63
+ //////////////////////////////////////
64
+ // for multiselect button text
65
+ get selectedOptions() {
66
+ return Array.from(this.el.querySelectorAll("wm-option")).filter((x) => x.selected);
67
+ }
68
+ get visibleSelectAllButton() {
69
+ return this.selectAll && this.multiple && this.searchTerm === "";
70
+ }
71
+ get allSelected() {
72
+ return this.childOptions.every((option) => option.selected);
73
+ }
74
+ //////////////////////////////////////
75
+ get resultsFoundMessage() {
76
+ return intl.formatMessage({
77
+ id: "select.searchResultsFound",
78
+ defaultMessage: "{numResults, plural, one {1 option found} other {# options found}}",
79
+ description: "The message read by the screen reader, indicating how many results a search returned",
80
+ }, { numResults: this.filteredOptions.length });
81
+ }
82
+ get noResultsFoundMessage() {
83
+ return intl.formatMessage({
84
+ id: "select.noSearchResults",
85
+ defaultMessage: "No results found. Please try your search again.",
86
+ description: "The message displayed when no options pass the search filter",
87
+ });
88
+ }
89
+ findAndFocusOption(ev) {
90
+ const letterPressed = ev.detail.letter.toLowerCase();
91
+ const optionPressed = ev.detail.optionEl;
92
+ if (!this.keysSoFar && letterPressed == " ") {
93
+ // if the first key entered is space, treat as a click. Otherwise include in
94
+ optionPressed.click();
95
+ }
96
+ else {
97
+ if (!this.keysSoFar) {
98
+ // if first character entered, set currently focused option as the starting index for the search
99
+ this.visibleOptionEls.forEach((option, idx) => {
100
+ if (option.focused) {
101
+ this.searchIndex = idx;
102
+ }
103
+ });
104
+ }
105
+ this.keysSoFar += letterPressed;
106
+ let nextMatch = this.findMatchInRange(this.visibleOptionEls, this.searchIndex + 1, this.visibleOptionEls.length);
107
+ if (!nextMatch) {
108
+ // if match can't be found from starting option downwards, search from top
109
+ nextMatch = this.findMatchInRange(this.visibleOptionEls, 0, this.searchIndex);
110
+ }
111
+ if (nextMatch) {
112
+ // findMatchInRange still might have returned null, only focus if match found
113
+ this.focusOption(nextMatch);
114
+ }
115
+ this.debouncedClearKeysSoFar();
116
+ }
117
+ }
118
+ handleOptionSelection(ev) {
119
+ this.focusOption(ev.detail);
120
+ }
121
+ handleChildUp(ev) {
122
+ this.moveUp(ev.detail);
123
+ }
124
+ handleChildDown(ev) {
125
+ this.moveDown(ev.detail);
126
+ }
127
+ moveToFirstOption() {
128
+ this.focusOption(this.visibleOptionEls[0]);
129
+ }
130
+ moveToLastOption() {
131
+ this.focusOption(this.visibleOptionEls[this.visibleOptionEls.length - 1]);
132
+ }
133
+ handleOptionCloneSelection(ev) {
134
+ const correspondingOption = this.findCorrespondingOption(ev.detail);
135
+ correspondingOption.click();
136
+ }
137
+ componentDidLoad() {
138
+ if (this.multiple) {
139
+ this.updateOptionVisibility();
140
+ }
141
+ // Dev can overwrite the max-height rule set in the Sass file
142
+ if (this.maxHeight) {
143
+ // this.listboxEl.style.maxHeight = this.maxHeight;
144
+ this.listboxEl.style.maxHeight = this.maxHeight;
145
+ }
146
+ }
147
+ async handleChildChange(_) {
148
+ if (this.multiple) {
149
+ // on update of wm-options selected state, rerender to update clones state
150
+ forceUpdate(this.el);
151
+ }
152
+ }
153
+ async clearSearch() {
154
+ this.searchFieldEl.value = "";
155
+ this.searchTerm = "";
156
+ this.optionListSearchChanged.emit({ searchTerm: this.searchTerm });
157
+ }
158
+ async focusOption(option) {
159
+ this.allOptionEls.forEach((i) => (i.focused = i === option));
160
+ // option must be scrolledIntoView before focused
161
+ // if focus is called first the option might be positioned incorrectly (in the center of the dropdown) and scrollIntoView didload do nothing as the option will already be in view
162
+ option.scrollIntoView({ block: "nearest" });
163
+ // scrollIntoView does not work when the container of the element it's called on is not rendered to the page (in our case the dropdown is still closed and has transform: scaleY(0))
164
+ // when opening the dropdown, scrollIntoView must be delayed to a point where the browser recognizes content within it as able to be scrolled to
165
+ // in Safari in particular, the soonest this seems to happen is 20ms. The longest we can wait before any jumping in the open dropdown is noticeable is 60ms
166
+ window.setTimeout(() => option.scrollIntoView({ block: "nearest" }), 60);
167
+ option.focus();
168
+ }
169
+ async handleInitialFocus(optionToSelect) {
170
+ switch (optionToSelect) {
171
+ case "next":
172
+ // search variant focuses search field
173
+ // all others focus option "after" last selected option (this can be the first option)
174
+ if (this.search) {
175
+ this.searchFieldEl.focus();
176
+ this.listboxEl.scrollTop = 0;
177
+ }
178
+ else {
179
+ this.moveDown(this.visibleOptionEls.filter((x) => x.selected).slice(-1)[0]);
180
+ }
181
+ break;
182
+ case "previous":
183
+ // search variant focuses last option
184
+ // all others focus option "above" first selected option (this can be the last option)
185
+ if (this.search) {
186
+ this.focusOption(this.visibleOptionEls[this.visibleOptionEls.length - 1]);
187
+ }
188
+ else {
189
+ this.moveUp(this.visibleOptionEls.filter((x) => x.selected)[0]);
190
+ }
191
+ break;
192
+ default:
193
+ // search variant focuses search field
194
+ // all others focus the selected option
195
+ // if no option is selected (empty multiselect), focuses first option
196
+ if (this.search) {
197
+ this.searchFieldEl.focus();
198
+ this.listboxEl.scrollTop = 0;
199
+ }
200
+ else if (this.selectedOptions.length > 0) {
201
+ this.focusOption(this.visibleOptionEls.filter((x) => x.selected)[0]);
202
+ }
203
+ else {
204
+ this.focusOption(this.visibleOptionEls[0]);
205
+ }
206
+ break;
207
+ }
208
+ }
209
+ async unfocusAll() {
210
+ this.allOptionEls.map((i) => (i.focused = false));
211
+ }
212
+ findMatchInRange(list, startIndex, endIndex) {
213
+ let match = null;
214
+ let optionsInRange = list.slice(startIndex, endIndex);
215
+ // Find the first option starting with the keysSoFar substring, searching in
216
+ // the specified range of options
217
+ optionsInRange.forEach((option) => {
218
+ const label = option.textContent;
219
+ if (!match && label && label.toLowerCase().startsWith(this.keysSoFar)) {
220
+ match = option;
221
+ }
222
+ });
223
+ return match;
224
+ }
225
+ findCorrespondingOption(el) {
226
+ // if clone, returns the child wm-option
227
+ // if child wm-option, returns clone
228
+ const isClone = el.classList.contains("clone");
229
+ return isClone
230
+ ? this.childOptions[this.cloneOptions.indexOf(el)]
231
+ : this.cloneOptions[this.childOptions.indexOf(el)];
232
+ }
233
+ handleSearchFieldBlur(ev) {
234
+ this.searchFieldWrapperEl.classList.remove("focus");
235
+ if (isElOrChild(this.el, ev.relatedTarget)) {
236
+ // do not emit a blur event when moving from searchfield to options
237
+ ev.stopPropagation();
238
+ }
239
+ }
240
+ // on search field or select all. keydown on options is handled via events.
241
+ handleKeyDown(ev) {
242
+ const el = ev.target;
243
+ switch (ev.key) {
244
+ case "ArrowDown":
245
+ ev.preventDefault();
246
+ this.moveDown(ev.target);
247
+ break;
248
+ case "ArrowUp":
249
+ ev.preventDefault();
250
+ this.moveUp(ev.target);
251
+ break;
252
+ case "Escape":
253
+ ev.preventDefault();
254
+ this.close();
255
+ break;
256
+ case "Enter":
257
+ if (el === this.selectAllEl) {
258
+ ev.preventDefault();
259
+ this.handleSelectAllClick();
260
+ this.close();
261
+ }
262
+ break;
263
+ case " ":
264
+ if (el === this.selectAllEl) {
265
+ ev.preventDefault();
266
+ this.handleSelectAllClick();
267
+ }
268
+ break;
269
+ }
270
+ }
271
+ close() {
272
+ if (this.multiple) {
273
+ this.updateOptionVisibility();
274
+ }
275
+ this.optionListCloseRequested.emit(); // what actually happens when a close is requested is determined by the parent
276
+ }
277
+ handleSelectAllClick() {
278
+ this.allSelected ? this.deselectAllOptions() : this.selectAllOptions();
279
+ }
280
+ selectAllOptions() {
281
+ this.announce(this.allOptionsSelectedMessage);
282
+ this.optionListAllSelected.emit();
283
+ }
284
+ deselectAllOptions() {
285
+ this.announce(this.allOptionsDeselectedMessage);
286
+ this.optionListAllDeselected.emit();
287
+ }
288
+ moveUp(el) {
289
+ const focusableEls = this.visibleOptionEls;
290
+ if (this.selectAllEl) {
291
+ focusableEls.unshift(this.selectAllEl);
292
+ }
293
+ if (this.searchFieldEl) {
294
+ focusableEls.unshift(this.searchFieldEl);
295
+ }
296
+ const prevEl = focusableEls[focusableEls.indexOf(el) - 1] || focusableEls[focusableEls.length - 1];
297
+ if (prevEl) {
298
+ this.focusOption(prevEl);
299
+ }
300
+ }
301
+ moveDown(el) {
302
+ const focusableEls = this.visibleOptionEls;
303
+ if (this.selectAllEl) {
304
+ focusableEls.unshift(this.selectAllEl);
305
+ }
306
+ if (this.searchFieldEl) {
307
+ focusableEls.unshift(this.searchFieldEl);
308
+ }
309
+ const nextEl = focusableEls[focusableEls.indexOf(el) + 1] || focusableEls[0];
310
+ if (nextEl) {
311
+ this.focusOption(nextEl);
312
+ }
313
+ }
314
+ async updateOptionVisibility() {
315
+ // this runs for search multiselects, where selected options are rendered at the top of the dropdown list
316
+ // slotted wm-options are hidden if selected, and clone wm-options are made visible if selected
317
+ this.childOptions.forEach((option, idx) => {
318
+ const cloneOption = this.cloneOptions[idx];
319
+ if (option.selected) {
320
+ option.classList.add("hidden");
321
+ cloneOption.classList.remove("hidden");
322
+ }
323
+ else {
324
+ option.classList.remove("hidden");
325
+ cloneOption.classList.add("hidden");
326
+ }
327
+ });
328
+ // find last visible clone option and apply .last class
329
+ const visibleCloneOptions = this.visibleOptionEls.filter((option) => option.classList.contains("clone"));
330
+ // if all options are clones, nothing to separate from
331
+ const allClones = visibleCloneOptions.length === this.visibleOptionEls.length;
332
+ visibleCloneOptions.forEach((option, idx) => {
333
+ if (!allClones && idx === visibleCloneOptions.length - 1) {
334
+ option.classList.add("last");
335
+ }
336
+ else {
337
+ option.classList.remove("last");
338
+ }
339
+ });
340
+ }
341
+ announce(message) {
342
+ // \u00A0 is a non-breaking space character, which causes the message to be read as a new one
343
+ if (this.liveRegionEl.textContent === message) {
344
+ message += "\u00A0";
345
+ }
346
+ this.announcement = message;
347
+ }
348
+ renderSearchField() {
349
+ return (h("div", { class: "search" }, h("div", { class: "searchfield-wrapper", ref: (el) => (this.searchFieldWrapperEl = el) }, h("div", { class: "icon" }), h("input", { ref: (el) => (this.searchFieldEl = el), class: "searchfield", role: "combobox", "aria-controls": "list",
350
+ // aria-expanded={this.isExpanded ? "true" : "false"}
351
+ onKeyDown: (ev) => this.handleKeyDown(ev), onFocus: () => this.searchFieldWrapperEl.classList.add("focus"), onBlur: (ev) => this.handleSearchFieldBlur(ev), onInput: () => this.debouncedSearch(), placeholder: this.searchPlaceholder }))));
352
+ }
353
+ renderSearchFailedMessage() {
354
+ return h("div", { class: "search-results-message" }, this.noResultsFoundMessage);
355
+ }
356
+ renderSelectAllButton() {
357
+ return (h("button", { ref: (el) => (this.selectAllEl = el), class: "select-all", onClick: () => this.handleSelectAllClick(), onKeyDown: (ev) => this.handleKeyDown(ev), tabindex: "-1" }, this.allSelected ? this.deselectAllMessage : this.selectAllMessage));
358
+ }
359
+ renderCloneOptions() {
360
+ return Array.from(this.childOptions).map((o) => {
361
+ const option = o;
362
+ return (h("wm-option", { class: "clone", subinfo: option.subinfo, selected: option.selected }, option.textContent));
363
+ });
364
+ }
365
+ render() {
366
+ return (h("div", { class: "list-wrapper" }, this.search && this.renderSearchField(), this.visibleSelectAllButton && this.renderSelectAllButton(), h("div", { id: "list", class: "options-wrapper", tabindex: -1, role: "listbox", "aria-multiselectable": this.multiple ? "true" : null, "aria-labelledby": "label", ref: (el) => (this.listboxEl = el) }, this.searchTerm && this.filteredOptions.length === 0 && this.renderSearchFailedMessage(), this.multiple && this.renderCloneOptions(), h("slot", null)), h("div", { id: "optionlist-announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
367
+ }
368
+ static get is() { return "priv-option-list"; }
369
+ static get originalStyleUrls() {
370
+ return {
371
+ "$": ["priv-option-list.scss"]
372
+ };
373
+ }
374
+ static get styleUrls() {
375
+ return {
376
+ "$": ["priv-option-list.css"]
377
+ };
378
+ }
379
+ static get properties() {
380
+ return {
381
+ "multiple": {
382
+ "type": "boolean",
383
+ "mutable": false,
384
+ "complexType": {
385
+ "original": "boolean",
386
+ "resolved": "boolean",
387
+ "references": {}
388
+ },
389
+ "required": false,
390
+ "optional": false,
391
+ "docs": {
392
+ "tags": [],
393
+ "text": ""
394
+ },
395
+ "attribute": "multiple",
396
+ "reflect": false,
397
+ "defaultValue": "false"
398
+ },
399
+ "search": {
400
+ "type": "boolean",
401
+ "mutable": false,
402
+ "complexType": {
403
+ "original": "boolean",
404
+ "resolved": "boolean",
405
+ "references": {}
406
+ },
407
+ "required": false,
408
+ "optional": false,
409
+ "docs": {
410
+ "tags": [],
411
+ "text": ""
412
+ },
413
+ "attribute": "search",
414
+ "reflect": false,
415
+ "defaultValue": "false"
416
+ },
417
+ "selectAll": {
418
+ "type": "boolean",
419
+ "mutable": false,
420
+ "complexType": {
421
+ "original": "boolean",
422
+ "resolved": "boolean",
423
+ "references": {}
424
+ },
425
+ "required": false,
426
+ "optional": false,
427
+ "docs": {
428
+ "tags": [],
429
+ "text": ""
430
+ },
431
+ "attribute": "select-all",
432
+ "reflect": false,
433
+ "defaultValue": "false"
434
+ },
435
+ "searchPlaceholder": {
436
+ "type": "string",
437
+ "mutable": false,
438
+ "complexType": {
439
+ "original": "string",
440
+ "resolved": "string | undefined",
441
+ "references": {}
442
+ },
443
+ "required": false,
444
+ "optional": true,
445
+ "docs": {
446
+ "tags": [],
447
+ "text": ""
448
+ },
449
+ "attribute": "search-placeholder",
450
+ "reflect": false
451
+ },
452
+ "maxHeight": {
453
+ "type": "string",
454
+ "mutable": false,
455
+ "complexType": {
456
+ "original": "string",
457
+ "resolved": "string | undefined",
458
+ "references": {}
459
+ },
460
+ "required": false,
461
+ "optional": true,
462
+ "docs": {
463
+ "tags": [],
464
+ "text": ""
465
+ },
466
+ "attribute": "max-height",
467
+ "reflect": false
468
+ }
469
+ };
470
+ }
471
+ static get states() {
472
+ return {
473
+ "announcement": {},
474
+ "searchTerm": {}
475
+ };
476
+ }
477
+ static get events() {
478
+ return [{
479
+ "method": "optionListSearchChanged",
480
+ "name": "optionListSearchChanged",
481
+ "bubbles": true,
482
+ "cancelable": true,
483
+ "composed": true,
484
+ "docs": {
485
+ "tags": [],
486
+ "text": ""
487
+ },
488
+ "complexType": {
489
+ "original": "Object",
490
+ "resolved": "Object",
491
+ "references": {
492
+ "Object": {
493
+ "location": "global",
494
+ "id": "global::Object"
495
+ }
496
+ }
497
+ }
498
+ }, {
499
+ "method": "optionListCloseRequested",
500
+ "name": "optionListCloseRequested",
501
+ "bubbles": true,
502
+ "cancelable": true,
503
+ "composed": true,
504
+ "docs": {
505
+ "tags": [],
506
+ "text": ""
507
+ },
508
+ "complexType": {
509
+ "original": "any",
510
+ "resolved": "any",
511
+ "references": {}
512
+ }
513
+ }, {
514
+ "method": "optionListAllSelected",
515
+ "name": "optionListAllSelected",
516
+ "bubbles": true,
517
+ "cancelable": true,
518
+ "composed": true,
519
+ "docs": {
520
+ "tags": [],
521
+ "text": ""
522
+ },
523
+ "complexType": {
524
+ "original": "any",
525
+ "resolved": "any",
526
+ "references": {}
527
+ }
528
+ }, {
529
+ "method": "optionListAllDeselected",
530
+ "name": "optionListAllDeselected",
531
+ "bubbles": true,
532
+ "cancelable": true,
533
+ "composed": true,
534
+ "docs": {
535
+ "tags": [],
536
+ "text": ""
537
+ },
538
+ "complexType": {
539
+ "original": "any",
540
+ "resolved": "any",
541
+ "references": {}
542
+ }
543
+ }];
544
+ }
545
+ static get methods() {
546
+ return {
547
+ "handleChildChange": {
548
+ "complexType": {
549
+ "signature": "(_: MutationRecord) => Promise<void>",
550
+ "parameters": [{
551
+ "tags": [],
552
+ "text": ""
553
+ }],
554
+ "references": {
555
+ "Promise": {
556
+ "location": "global",
557
+ "id": "global::Promise"
558
+ },
559
+ "MutationRecord": {
560
+ "location": "global",
561
+ "id": "global::MutationRecord"
562
+ }
563
+ },
564
+ "return": "Promise<void>"
565
+ },
566
+ "docs": {
567
+ "text": "",
568
+ "tags": []
569
+ }
570
+ },
571
+ "clearSearch": {
572
+ "complexType": {
573
+ "signature": "() => Promise<void>",
574
+ "parameters": [],
575
+ "references": {
576
+ "Promise": {
577
+ "location": "global",
578
+ "id": "global::Promise"
579
+ }
580
+ },
581
+ "return": "Promise<void>"
582
+ },
583
+ "docs": {
584
+ "text": "",
585
+ "tags": []
586
+ }
587
+ },
588
+ "focusOption": {
589
+ "complexType": {
590
+ "signature": "(option: HTMLElement) => Promise<void>",
591
+ "parameters": [{
592
+ "tags": [],
593
+ "text": ""
594
+ }],
595
+ "references": {
596
+ "Promise": {
597
+ "location": "global",
598
+ "id": "global::Promise"
599
+ },
600
+ "HTMLElement": {
601
+ "location": "global",
602
+ "id": "global::HTMLElement"
603
+ }
604
+ },
605
+ "return": "Promise<void>"
606
+ },
607
+ "docs": {
608
+ "text": "",
609
+ "tags": []
610
+ }
611
+ },
612
+ "handleInitialFocus": {
613
+ "complexType": {
614
+ "signature": "(optionToSelect?: \"next\" | \"previous\") => Promise<void>",
615
+ "parameters": [{
616
+ "tags": [],
617
+ "text": ""
618
+ }],
619
+ "references": {
620
+ "Promise": {
621
+ "location": "global",
622
+ "id": "global::Promise"
623
+ }
624
+ },
625
+ "return": "Promise<void>"
626
+ },
627
+ "docs": {
628
+ "text": "",
629
+ "tags": []
630
+ }
631
+ },
632
+ "unfocusAll": {
633
+ "complexType": {
634
+ "signature": "() => Promise<void>",
635
+ "parameters": [],
636
+ "references": {
637
+ "Promise": {
638
+ "location": "global",
639
+ "id": "global::Promise"
640
+ }
641
+ },
642
+ "return": "Promise<void>"
643
+ },
644
+ "docs": {
645
+ "text": "",
646
+ "tags": []
647
+ }
648
+ },
649
+ "updateOptionVisibility": {
650
+ "complexType": {
651
+ "signature": "() => Promise<void>",
652
+ "parameters": [],
653
+ "references": {
654
+ "Promise": {
655
+ "location": "global",
656
+ "id": "global::Promise"
657
+ }
658
+ },
659
+ "return": "Promise<void>"
660
+ },
661
+ "docs": {
662
+ "text": "",
663
+ "tags": []
664
+ }
665
+ }
666
+ };
667
+ }
668
+ static get elementRef() { return "el"; }
669
+ static get listeners() {
670
+ return [{
671
+ "name": "wmLetterPressed",
672
+ "method": "findAndFocusOption",
673
+ "target": undefined,
674
+ "capture": false,
675
+ "passive": false
676
+ }, {
677
+ "name": "wmOptionSelected",
678
+ "method": "handleOptionSelection",
679
+ "target": undefined,
680
+ "capture": false,
681
+ "passive": false
682
+ }, {
683
+ "name": "wmKeyUpPressed",
684
+ "method": "handleChildUp",
685
+ "target": undefined,
686
+ "capture": false,
687
+ "passive": false
688
+ }, {
689
+ "name": "wmKeyDownPressed",
690
+ "method": "handleChildDown",
691
+ "target": undefined,
692
+ "capture": false,
693
+ "passive": false
694
+ }, {
695
+ "name": "wmHomeKeyPressed",
696
+ "method": "moveToFirstOption",
697
+ "target": undefined,
698
+ "capture": false,
699
+ "passive": false
700
+ }, {
701
+ "name": "wmEndKeyPressed",
702
+ "method": "moveToLastOption",
703
+ "target": undefined,
704
+ "capture": false,
705
+ "passive": false
706
+ }, {
707
+ "name": "intCloneClicked",
708
+ "method": "handleOptionCloneSelection",
709
+ "target": undefined,
710
+ "capture": false,
711
+ "passive": false
712
+ }];
713
+ }
714
+ }