@watermarkinsights/ripple 5.13.0-alpha.1 → 5.13.0-alpha.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 (402) hide show
  1. package/dist/cjs/app-globals-DztnjEf7.js +92 -0
  2. package/dist/cjs/chartFunctions-CM2Nah_s.js +731 -0
  3. package/dist/cjs/functions-CoXfjC6r.js +10450 -0
  4. package/dist/cjs/index-Cig4P4gJ.js +2082 -0
  5. package/dist/cjs/index.cjs.js +2 -0
  6. package/dist/cjs/interfaces-C7YbtGnk.js +37 -0
  7. package/dist/cjs/intl-DVt1J717.js +283 -0
  8. package/dist/cjs/loader.cjs.js +13 -0
  9. package/dist/cjs/priv-calendar.cjs.entry.js +568 -0
  10. package/dist/cjs/priv-chart-popover.cjs.entry.js +136 -0
  11. package/dist/cjs/priv-navigator-button_2.cjs.entry.js +54 -0
  12. package/dist/cjs/priv-option-list_2.cjs.entry.js +556 -0
  13. package/dist/cjs/ripple.cjs.js +25 -0
  14. package/dist/cjs/wm-action-menu_4.cjs.entry.js +702 -0
  15. package/dist/cjs/wm-chart-slice.cjs.entry.js +20 -0
  16. package/dist/cjs/wm-chart.cjs.entry.js +159 -0
  17. package/dist/cjs/wm-date-range.cjs.entry.js +479 -0
  18. package/dist/cjs/wm-datepicker.cjs.entry.js +249 -0
  19. package/dist/cjs/wm-file-list.cjs.entry.js +20 -0
  20. package/dist/cjs/wm-file.cjs.entry.js +184 -0
  21. package/dist/cjs/wm-input.cjs.entry.js +113 -0
  22. package/dist/cjs/wm-line-chart.cjs.entry.js +451 -0
  23. package/dist/cjs/wm-modal-footer.cjs.entry.js +46 -0
  24. package/dist/cjs/wm-modal-header.cjs.entry.js +38 -0
  25. package/dist/cjs/wm-modal-pss-footer.cjs.entry.js +42 -0
  26. package/dist/cjs/wm-modal-pss-header.cjs.entry.js +41 -0
  27. package/dist/cjs/wm-modal-pss.cjs.entry.js +137 -0
  28. package/dist/cjs/wm-modal.cjs.entry.js +135 -0
  29. package/dist/cjs/wm-navigation-hamburger.cjs.entry.js +50 -0
  30. package/dist/cjs/wm-navigation-item.cjs.entry.js +20 -0
  31. package/dist/cjs/wm-navigation.cjs.entry.js +118 -0
  32. package/dist/cjs/wm-navigator.cjs.entry.js +329 -0
  33. package/dist/cjs/wm-nested-select.cjs.entry.js +310 -0
  34. package/dist/cjs/wm-optgroup.cjs.entry.js +70 -0
  35. package/dist/cjs/wm-pagination.cjs.entry.js +225 -0
  36. package/dist/cjs/wm-progress-indicator.cjs.entry.js +109 -0
  37. package/dist/cjs/wm-progress-monitor.cjs.entry.js +73 -0
  38. package/dist/cjs/wm-progress-slice.cjs.entry.js +15 -0
  39. package/dist/cjs/wm-search.cjs.entry.js +210 -0
  40. package/dist/cjs/wm-select.cjs.entry.js +251 -0
  41. package/dist/cjs/wm-tab-item.cjs.entry.js +65 -0
  42. package/dist/cjs/wm-tab-list.cjs.entry.js +177 -0
  43. package/dist/cjs/wm-tab-panel.cjs.entry.js +34 -0
  44. package/dist/cjs/wm-tag-input.cjs.entry.js +879 -0
  45. package/dist/cjs/wm-tag-option.cjs.entry.js +37 -0
  46. package/dist/cjs/wm-textarea.cjs.entry.js +81 -0
  47. package/dist/cjs/wm-timepicker.cjs.entry.js +302 -0
  48. package/dist/cjs/wm-toggletip.cjs.entry.js +178 -0
  49. package/dist/cjs/wm-uploader.cjs.entry.js +315 -0
  50. package/dist/cjs/wm-wrapper.cjs.entry.js +19 -0
  51. package/dist/collection/collection-manifest.json +58 -0
  52. package/dist/collection/components/charts/chartFunctions.js +665 -0
  53. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +908 -0
  54. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +261 -0
  55. package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +128 -0
  56. package/dist/collection/components/charts/wm-chart/wm-chart.css +1274 -0
  57. package/dist/collection/components/charts/wm-chart/wm-chart.js +445 -0
  58. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.css +1067 -0
  59. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +742 -0
  60. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.css +1274 -0
  61. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +271 -0
  62. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.css +909 -0
  63. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +154 -0
  64. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +124 -0
  65. package/dist/collection/components/datepickers/datepicker.css +1044 -0
  66. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +1279 -0
  67. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +849 -0
  68. package/dist/collection/components/datepickers/wm-date-range.js +869 -0
  69. package/dist/collection/components/datepickers/wm-datepicker.js +538 -0
  70. package/dist/collection/components/selects/priv-option-list/priv-option-list.css +918 -0
  71. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +791 -0
  72. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +1181 -0
  73. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +644 -0
  74. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.css +830 -0
  75. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +265 -0
  76. package/dist/collection/components/selects/wm-option/wm-option.css +931 -0
  77. package/dist/collection/components/selects/wm-option/wm-option.js +539 -0
  78. package/dist/collection/components/selects/wm-select/wm-select.css +1104 -0
  79. package/dist/collection/components/selects/wm-select/wm-select.js +606 -0
  80. package/dist/collection/components/wm-action-menu/wm-action-menu.css +891 -0
  81. package/dist/collection/components/wm-action-menu/wm-action-menu.js +444 -0
  82. package/dist/collection/components/wm-button/wm-button.css +1261 -0
  83. package/dist/collection/components/wm-button/wm-button.js +510 -0
  84. package/dist/collection/components/wm-file/wm-file.css +927 -0
  85. package/dist/collection/components/wm-file/wm-file.js +423 -0
  86. package/dist/collection/components/wm-file-list/wm-file-list.css +820 -0
  87. package/dist/collection/components/wm-file-list/wm-file-list.js +47 -0
  88. package/dist/collection/components/wm-input/wm-input.css +993 -0
  89. package/dist/collection/components/wm-input/wm-input.js +498 -0
  90. package/dist/collection/components/wm-menuitem/wm-menuitem.css +891 -0
  91. package/dist/collection/components/wm-menuitem/wm-menuitem.js +425 -0
  92. package/dist/collection/components/wm-modal/wm-modal-footer.css +845 -0
  93. package/dist/collection/components/wm-modal/wm-modal-footer.js +152 -0
  94. package/dist/collection/components/wm-modal/wm-modal-header.css +844 -0
  95. package/dist/collection/components/wm-modal/wm-modal-header.js +83 -0
  96. package/dist/collection/components/wm-modal/wm-modal.css +892 -0
  97. package/dist/collection/components/wm-modal/wm-modal.js +356 -0
  98. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.css +852 -0
  99. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +148 -0
  100. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.css +846 -0
  101. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +86 -0
  102. package/dist/collection/components/wm-modal-pss/wm-modal-pss.css +928 -0
  103. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +369 -0
  104. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.css +847 -0
  105. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +120 -0
  106. package/dist/collection/components/wm-navigation/wm-navigation-item.css +856 -0
  107. package/dist/collection/components/wm-navigation/wm-navigation-item.js +99 -0
  108. package/dist/collection/components/wm-navigation/wm-navigation.css +898 -0
  109. package/dist/collection/components/wm-navigation/wm-navigation.js +192 -0
  110. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +850 -0
  111. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +90 -0
  112. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.css +830 -0
  113. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +130 -0
  114. package/dist/collection/components/wm-navigator/wm-navigator.css +903 -0
  115. package/dist/collection/components/wm-navigator/wm-navigator.js +515 -0
  116. package/dist/collection/components/wm-pagination/wm-pagination.css +971 -0
  117. package/dist/collection/components/wm-pagination/wm-pagination.js +373 -0
  118. package/dist/collection/components/wm-search/wm-search.css +896 -0
  119. package/dist/collection/components/wm-search/wm-search.js +462 -0
  120. package/dist/collection/components/wm-snackbar/wm-snackbar.css +1078 -0
  121. package/dist/collection/components/wm-snackbar/wm-snackbar.js +280 -0
  122. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +869 -0
  123. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +187 -0
  124. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.css +841 -0
  125. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +276 -0
  126. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.css +825 -0
  127. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +97 -0
  128. package/dist/collection/components/wm-tag-input/wm-tag-input.css +1276 -0
  129. package/dist/collection/components/wm-tag-input/wm-tag-input.js +1245 -0
  130. package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +251 -0
  131. package/dist/collection/components/wm-textarea/wm-textarea.css +980 -0
  132. package/dist/collection/components/wm-textarea/wm-textarea.js +331 -0
  133. package/dist/collection/components/wm-timepicker/wm-timepicker.css +1094 -0
  134. package/dist/collection/components/wm-timepicker/wm-timepicker.js +559 -0
  135. package/dist/collection/components/wm-toggletip/wm-toggletip.css +1152 -0
  136. package/dist/collection/components/wm-toggletip/wm-toggletip.js +295 -0
  137. package/dist/collection/components/wm-uploader/wm-uploader.css +1563 -0
  138. package/dist/collection/components/wm-uploader/wm-uploader.js +618 -0
  139. package/dist/collection/components/wm-wrapper/wm-wrapper.js +28 -0
  140. package/dist/collection/dev/button.js +0 -0
  141. package/dist/collection/dev/chart-small.js +56 -0
  142. package/dist/collection/dev/chart.js +18 -0
  143. package/dist/collection/dev/date-range.js +6 -0
  144. package/dist/collection/dev/datepicker.js +46 -0
  145. package/dist/collection/dev/file-list.js +16 -0
  146. package/dist/collection/dev/file.js +0 -0
  147. package/dist/collection/dev/input.js +6 -0
  148. package/dist/collection/dev/line-chart.js +0 -0
  149. package/dist/collection/dev/modal.js +48 -0
  150. package/dist/collection/dev/navigation.js +13 -0
  151. package/dist/collection/dev/navigator.js +34 -0
  152. package/dist/collection/dev/nested-select.js +36 -0
  153. package/dist/collection/dev/pagination.js +7 -0
  154. package/dist/collection/dev/progress-monitor.js +0 -0
  155. package/dist/collection/dev/pss-modal.js +8 -0
  156. package/dist/collection/dev/scripts.js +49 -0
  157. package/dist/collection/dev/search.js +72 -0
  158. package/dist/collection/dev/select.js +57 -0
  159. package/dist/collection/dev/snackbar.js +60 -0
  160. package/dist/collection/dev/tabs.js +44 -0
  161. package/dist/collection/dev/tag-input.js +32 -0
  162. package/dist/collection/dev/textarea.js +28 -0
  163. package/dist/collection/dev/timepicker.js +32 -0
  164. package/dist/collection/dev/toggletip.js +9 -0
  165. package/dist/collection/dev/uploader.js +139 -0
  166. package/dist/collection/global/__mocks__/functions.js +6 -0
  167. package/dist/collection/global/functions.js +825 -0
  168. package/dist/collection/global/global.js +88 -0
  169. package/dist/collection/global/interfaces.js +51 -0
  170. package/dist/collection/global/intl.js +274 -0
  171. package/dist/collection/global/services/__mocks__/http-service.js +130 -0
  172. package/dist/collection/global/services/http-service.js +50 -0
  173. package/dist/collection/lang/lang.js +5 -0
  174. package/dist/collection/lang/missing.js +43 -0
  175. package/dist/collection/lang/piglatin.js +101 -0
  176. package/dist/components/chartFunctions.js +1 -2
  177. package/dist/components/functions.js +844 -7899
  178. package/dist/components/index.js +1 -48
  179. package/dist/components/interfaces.js +0 -19
  180. package/dist/components/wm-chart.js +1 -1
  181. package/dist/components/wm-file.js +1 -1
  182. package/dist/components/wm-navigation.js +1 -1
  183. package/dist/components/wm-navigator.js +0 -41
  184. package/dist/components/wm-progress-monitor.js +2 -2
  185. package/dist/components/wm-snackbar.js +23 -15
  186. package/dist/components/wm-tab-list.js +1 -1
  187. package/dist/components/wm-tag-input.js +1 -1
  188. package/dist/components/wm-toggletip.js +1 -1
  189. package/dist/esm/app-globals-9HoPoE5v.js +90 -0
  190. package/dist/esm/chartFunctions-BFCUD5JX.js +714 -0
  191. package/dist/esm/functions-ZDMCMR3o.js +10410 -0
  192. package/dist/esm/index-EopL5zo4.js +2071 -0
  193. package/dist/esm/index.js +1 -0
  194. package/dist/esm/interfaces-CyJHzEjr.js +34 -0
  195. package/dist/esm/intl-DYVRT1s6.js +277 -0
  196. package/dist/esm/loader.js +11 -0
  197. package/dist/esm/polyfills/core-js.js +11 -0
  198. package/dist/esm/polyfills/dom.js +79 -0
  199. package/dist/esm/polyfills/es5-html-element.js +1 -0
  200. package/dist/esm/polyfills/index.js +34 -0
  201. package/dist/esm/polyfills/system.js +6 -0
  202. package/dist/esm/priv-calendar.entry.js +566 -0
  203. package/dist/esm/priv-chart-popover.entry.js +134 -0
  204. package/dist/esm/priv-navigator-button_2.entry.js +51 -0
  205. package/dist/esm/priv-option-list_2.entry.js +553 -0
  206. package/dist/esm/ripple.js +21 -0
  207. package/dist/esm/wm-action-menu_4.entry.js +697 -0
  208. package/dist/esm/wm-chart-slice.entry.js +18 -0
  209. package/dist/esm/wm-chart.entry.js +157 -0
  210. package/dist/esm/wm-date-range.entry.js +477 -0
  211. package/dist/esm/wm-datepicker.entry.js +247 -0
  212. package/dist/esm/wm-file-list.entry.js +18 -0
  213. package/dist/esm/wm-file.entry.js +182 -0
  214. package/dist/esm/wm-input.entry.js +111 -0
  215. package/dist/esm/wm-line-chart.entry.js +449 -0
  216. package/dist/esm/wm-modal-footer.entry.js +44 -0
  217. package/dist/esm/wm-modal-header.entry.js +36 -0
  218. package/dist/esm/wm-modal-pss-footer.entry.js +40 -0
  219. package/dist/esm/wm-modal-pss-header.entry.js +39 -0
  220. package/dist/esm/wm-modal-pss.entry.js +135 -0
  221. package/dist/esm/wm-modal.entry.js +133 -0
  222. package/dist/esm/wm-navigation-hamburger.entry.js +48 -0
  223. package/dist/esm/wm-navigation-item.entry.js +18 -0
  224. package/dist/esm/wm-navigation.entry.js +116 -0
  225. package/dist/esm/wm-navigator.entry.js +327 -0
  226. package/dist/esm/wm-nested-select.entry.js +308 -0
  227. package/dist/esm/wm-optgroup.entry.js +68 -0
  228. package/dist/esm/wm-pagination.entry.js +223 -0
  229. package/dist/esm/wm-progress-indicator.entry.js +107 -0
  230. package/dist/esm/wm-progress-monitor.entry.js +71 -0
  231. package/dist/esm/wm-progress-slice.entry.js +13 -0
  232. package/dist/esm/wm-search.entry.js +208 -0
  233. package/dist/esm/wm-select.entry.js +249 -0
  234. package/dist/esm/wm-tab-item.entry.js +63 -0
  235. package/dist/esm/wm-tab-list.entry.js +175 -0
  236. package/dist/esm/wm-tab-panel.entry.js +32 -0
  237. package/dist/esm/wm-tag-input.entry.js +877 -0
  238. package/dist/esm/wm-tag-option.entry.js +35 -0
  239. package/dist/esm/wm-textarea.entry.js +79 -0
  240. package/dist/esm/wm-timepicker.entry.js +300 -0
  241. package/dist/esm/wm-toggletip.entry.js +176 -0
  242. package/dist/esm/wm-uploader.entry.js +313 -0
  243. package/dist/esm/wm-wrapper.entry.js +17 -0
  244. package/dist/esm-es5/app-globals-9HoPoE5v.js +1 -0
  245. package/dist/esm-es5/chartFunctions-BFCUD5JX.js +1 -0
  246. package/dist/esm-es5/functions-ZDMCMR3o.js +1 -0
  247. package/dist/esm-es5/index-EopL5zo4.js +1 -0
  248. package/dist/esm-es5/index.js +0 -0
  249. package/dist/esm-es5/interfaces-CyJHzEjr.js +1 -0
  250. package/dist/esm-es5/intl-DYVRT1s6.js +1 -0
  251. package/dist/esm-es5/loader.js +1 -0
  252. package/dist/esm-es5/priv-calendar.entry.js +1 -0
  253. package/dist/esm-es5/priv-chart-popover.entry.js +1 -0
  254. package/dist/esm-es5/priv-navigator-button_2.entry.js +1 -0
  255. package/dist/esm-es5/priv-option-list_2.entry.js +1 -0
  256. package/dist/esm-es5/ripple.js +1 -0
  257. package/dist/esm-es5/wm-action-menu_4.entry.js +1 -0
  258. package/dist/esm-es5/wm-chart-slice.entry.js +1 -0
  259. package/dist/esm-es5/wm-chart.entry.js +1 -0
  260. package/dist/esm-es5/wm-date-range.entry.js +1 -0
  261. package/dist/esm-es5/wm-datepicker.entry.js +1 -0
  262. package/dist/esm-es5/wm-file-list.entry.js +1 -0
  263. package/dist/esm-es5/wm-file.entry.js +1 -0
  264. package/dist/esm-es5/wm-input.entry.js +1 -0
  265. package/dist/esm-es5/wm-line-chart.entry.js +1 -0
  266. package/dist/esm-es5/wm-modal-footer.entry.js +1 -0
  267. package/dist/esm-es5/wm-modal-header.entry.js +1 -0
  268. package/dist/esm-es5/wm-modal-pss-footer.entry.js +1 -0
  269. package/dist/esm-es5/wm-modal-pss-header.entry.js +1 -0
  270. package/dist/esm-es5/wm-modal-pss.entry.js +1 -0
  271. package/dist/esm-es5/wm-modal.entry.js +1 -0
  272. package/dist/esm-es5/wm-navigation-hamburger.entry.js +1 -0
  273. package/dist/esm-es5/wm-navigation-item.entry.js +1 -0
  274. package/dist/esm-es5/wm-navigation.entry.js +1 -0
  275. package/dist/esm-es5/wm-navigator.entry.js +1 -0
  276. package/dist/esm-es5/wm-nested-select.entry.js +1 -0
  277. package/dist/esm-es5/wm-optgroup.entry.js +1 -0
  278. package/dist/esm-es5/wm-pagination.entry.js +1 -0
  279. package/dist/esm-es5/wm-progress-indicator.entry.js +1 -0
  280. package/dist/esm-es5/wm-progress-monitor.entry.js +1 -0
  281. package/dist/esm-es5/wm-progress-slice.entry.js +1 -0
  282. package/dist/esm-es5/wm-search.entry.js +1 -0
  283. package/dist/esm-es5/wm-select.entry.js +1 -0
  284. package/dist/esm-es5/wm-tab-item.entry.js +1 -0
  285. package/dist/esm-es5/wm-tab-list.entry.js +1 -0
  286. package/dist/esm-es5/wm-tab-panel.entry.js +1 -0
  287. package/dist/esm-es5/wm-tag-input.entry.js +1 -0
  288. package/dist/esm-es5/wm-tag-option.entry.js +1 -0
  289. package/dist/esm-es5/wm-textarea.entry.js +1 -0
  290. package/dist/esm-es5/wm-timepicker.entry.js +1 -0
  291. package/dist/esm-es5/wm-toggletip.entry.js +1 -0
  292. package/dist/esm-es5/wm-uploader.entry.js +1 -0
  293. package/dist/esm-es5/wm-wrapper.entry.js +1 -0
  294. package/dist/index.cjs.js +1 -0
  295. package/dist/index.js +1 -0
  296. package/dist/loader/cdn.js +2 -0
  297. package/dist/loader/index.cjs.js +2 -0
  298. package/dist/loader/index.d.ts +24 -0
  299. package/dist/loader/index.es2017.js +2 -0
  300. package/dist/loader/index.js +3 -0
  301. package/dist/ripple/index.esm.js +0 -0
  302. package/dist/ripple/p-032f127e.entry.js +1 -0
  303. package/dist/ripple/p-0bd43518.system.entry.js +1 -0
  304. package/dist/ripple/p-0dccd9b4.system.entry.js +1 -0
  305. package/dist/ripple/p-0dffa9ff.system.entry.js +1 -0
  306. package/dist/ripple/p-10d2b86e.entry.js +1 -0
  307. package/dist/ripple/p-1818d7f9.entry.js +1 -0
  308. package/dist/ripple/p-18d22114.system.entry.js +1 -0
  309. package/dist/ripple/p-1a769629.system.entry.js +1 -0
  310. package/dist/ripple/p-271ba485.system.entry.js +1 -0
  311. package/dist/ripple/p-2d41fbed.system.entry.js +1 -0
  312. package/dist/ripple/p-2f26b6ac.entry.js +1 -0
  313. package/dist/ripple/p-3065bbe5.system.entry.js +1 -0
  314. package/dist/ripple/p-306caa10.entry.js +1 -0
  315. package/dist/ripple/p-32f2f3b4.system.entry.js +1 -0
  316. package/dist/ripple/p-340b73a9.system.entry.js +1 -0
  317. package/dist/ripple/p-42f9cd3d.entry.js +1 -0
  318. package/dist/ripple/p-47b525bd.entry.js +1 -0
  319. package/dist/ripple/p-492a8a9f.entry.js +1 -0
  320. package/dist/ripple/p-4c316652.system.entry.js +1 -0
  321. package/dist/ripple/p-54aeadde.entry.js +1 -0
  322. package/dist/ripple/p-568e29d3.entry.js +1 -0
  323. package/dist/ripple/p-588a86ed.system.entry.js +1 -0
  324. package/dist/ripple/p-591fd100.entry.js +1 -0
  325. package/dist/ripple/p-5a6cbc14.system.entry.js +1 -0
  326. package/dist/ripple/p-5abe1171.system.entry.js +1 -0
  327. package/dist/ripple/p-5ae17300.system.entry.js +1 -0
  328. package/dist/ripple/p-5b02ae40.entry.js +1 -0
  329. package/dist/ripple/p-5e438798.system.entry.js +1 -0
  330. package/dist/ripple/p-5ed4177e.entry.js +1 -0
  331. package/dist/ripple/p-6133160d.system.entry.js +1 -0
  332. package/dist/ripple/p-620aff89.entry.js +1 -0
  333. package/dist/ripple/p-65db2c0f.entry.js +1 -0
  334. package/dist/ripple/p-70ed57bf.entry.js +1 -0
  335. package/dist/ripple/p-735d033a.entry.js +1 -0
  336. package/dist/ripple/p-74b1e110.entry.js +1 -0
  337. package/dist/ripple/p-77a8306c.entry.js +1 -0
  338. package/dist/ripple/p-7886fe5e.system.entry.js +1 -0
  339. package/dist/ripple/p-7ce09692.system.entry.js +1 -0
  340. package/dist/ripple/p-7cf1d9eb.system.entry.js +1 -0
  341. package/dist/ripple/p-7e786c28.system.entry.js +1 -0
  342. package/dist/ripple/p-812615ae.entry.js +1 -0
  343. package/dist/ripple/p-8a33538f.entry.js +1 -0
  344. package/dist/ripple/p-8b9c4e3e.entry.js +1 -0
  345. package/dist/ripple/p-90925ea9.entry.js +1 -0
  346. package/dist/ripple/p-959afdcf.entry.js +1 -0
  347. package/dist/ripple/p-997bdd2e.system.entry.js +1 -0
  348. package/dist/ripple/p-9db5f78e.entry.js +1 -0
  349. package/dist/ripple/p-BexWEx3U.system.js +1 -0
  350. package/dist/ripple/p-BgmAsS86.system.js +1 -0
  351. package/dist/ripple/p-Buh1DT2-.js +1 -0
  352. package/dist/ripple/p-CLZytLAw.system.js +1 -0
  353. package/dist/ripple/p-CTau6pR2.system.js +2 -0
  354. package/dist/ripple/p-CwkTkxrj.system.js +1 -0
  355. package/dist/ripple/p-CyJHzEjr.js +1 -0
  356. package/dist/ripple/p-DXsimRMV.js +1 -0
  357. package/dist/ripple/p-EopL5zo4.js +2 -0
  358. package/dist/ripple/p-GXdCI-yj.system.js +1 -0
  359. package/dist/ripple/p-UJrCrAlw.system.js +1 -0
  360. package/dist/ripple/p-YWpyar7R.system.js +1 -0
  361. package/dist/ripple/p-ZDMCMR3o.js +1 -0
  362. package/dist/ripple/p-b0b94ac4.system.entry.js +1 -0
  363. package/dist/ripple/p-b12640bd.entry.js +1 -0
  364. package/dist/ripple/p-b16431b0.system.entry.js +1 -0
  365. package/dist/ripple/p-b43cc69f.entry.js +1 -0
  366. package/dist/ripple/p-b4917824.entry.js +1 -0
  367. package/dist/ripple/p-b55babe1.system.entry.js +1 -0
  368. package/dist/ripple/p-ba48d47a.entry.js +1 -0
  369. package/dist/ripple/p-ba8ca46b.system.entry.js +1 -0
  370. package/dist/ripple/p-bee35fef.entry.js +1 -0
  371. package/dist/ripple/p-c273bb1c.system.entry.js +1 -0
  372. package/dist/ripple/p-cdebe76b.system.entry.js +1 -0
  373. package/dist/ripple/p-ce9634a2.entry.js +1 -0
  374. package/dist/ripple/p-d20ed498.entry.js +1 -0
  375. package/dist/ripple/p-d3e6498c.system.entry.js +1 -0
  376. package/dist/ripple/p-d40b6ef1.system.entry.js +1 -0
  377. package/dist/ripple/p-d4481342.system.entry.js +1 -0
  378. package/dist/ripple/p-d5bcab58.entry.js +1 -0
  379. package/dist/ripple/p-d7660e7d.entry.js +1 -0
  380. package/dist/ripple/p-d85f017a.system.entry.js +1 -0
  381. package/dist/ripple/p-da5ad94c.system.entry.js +1 -0
  382. package/dist/ripple/p-dcca5771.system.entry.js +1 -0
  383. package/dist/ripple/p-dd236f42.system.entry.js +1 -0
  384. package/dist/ripple/p-de33fd67.entry.js +1 -0
  385. package/dist/ripple/p-e0c9798d.system.entry.js +1 -0
  386. package/dist/ripple/p-e3700f4c.entry.js +1 -0
  387. package/dist/ripple/p-e901154b.entry.js +1 -0
  388. package/dist/ripple/p-e9fc862d.entry.js +1 -0
  389. package/dist/ripple/p-ea885cf3.system.entry.js +1 -0
  390. package/dist/ripple/p-f4c4218c.system.entry.js +1 -0
  391. package/dist/ripple/p-f57eb234.system.entry.js +1 -0
  392. package/dist/ripple/p-f858f5f9.system.entry.js +1 -0
  393. package/dist/ripple/p-f8721463.system.entry.js +1 -0
  394. package/dist/ripple/p-f881be15.entry.js +1 -0
  395. package/dist/ripple/p-f98949ad.entry.js +1 -0
  396. package/dist/ripple/p-fdcbcdf5.entry.js +1 -0
  397. package/dist/ripple/p-sXfORL9J.js +1 -0
  398. package/dist/ripple/ripple.css +1 -0
  399. package/dist/ripple/ripple.esm.js +1 -0
  400. package/dist/ripple/ripple.js +127 -0
  401. package/package.json +2 -2
  402. /package/dist/{types/test-setup.d.ts → collection/dev/action-menu.js} +0 -0
@@ -0,0 +1,791 @@
1
+ import { h, forceUpdate } from "@stencil/core";
2
+ import { debounce, isElOrChild } from "../../../global/functions";
3
+ import { selectMessages } from "../../../global/intl";
4
+ export class PrivOptionList {
5
+ constructor() {
6
+ this.multiple = false;
7
+ this.search = false;
8
+ this.selectAll = false;
9
+ this.upwardsHeightLimit = null;
10
+ this.announcement = "";
11
+ this.searchTerm = "";
12
+ this.searchIndex = 0;
13
+ this.keysSoFar = "";
14
+ this.debouncedSearch = debounce(() => {
15
+ this.searchTerm = this.searchFieldEl.value;
16
+ this.optionListSearchChanged.emit({ searchTerm: this.searchTerm });
17
+ if (this.filteredOptions.length) {
18
+ this.announce(selectMessages.getSearchResultsFound(this.filteredOptions.length));
19
+ }
20
+ else {
21
+ this.announce(selectMessages.noSearchResults);
22
+ }
23
+ }, 150);
24
+ this.debouncedClearKeysSoFar = debounce(() => {
25
+ this.keysSoFar = "";
26
+ }, 500);
27
+ }
28
+ get childOptions() {
29
+ return Array.from(this.el.getRootNode().host.querySelectorAll("wm-option"));
30
+ }
31
+ get cloneOptions() {
32
+ return Array.from(this.el.querySelectorAll("wm-option"));
33
+ }
34
+ get allOptionEls() {
35
+ // this includes both slotted wm-options and internally created wm-options
36
+ return this.cloneOptions.concat(this.childOptions);
37
+ }
38
+ get isInNestedSelect() {
39
+ return !!this.optgroupLabel;
40
+ }
41
+ get visibleOptionEls() {
42
+ return this.allOptionEls.filter((option) => !option.classList.contains("hidden") && !option.classList.contains("filtered-out"));
43
+ }
44
+ //////////////////////////////////////
45
+ // for search variants
46
+ get filteredOptions() {
47
+ return this.childOptions.filter((option) => { var _a; return (_a = option.textContent) === null || _a === void 0 ? void 0 : _a.toLowerCase().includes(this.searchTerm.toLowerCase()); });
48
+ }
49
+ //////////////////////////////////////
50
+ //////////////////////////////////////
51
+ // for multiselect button text
52
+ get selectedOptions() {
53
+ return Array.from(this.el.querySelectorAll("wm-option")).filter((x) => x.selected);
54
+ }
55
+ get visibleSelectAllButton() {
56
+ return this.selectAll && this.multiple && this.searchTerm === "";
57
+ }
58
+ get allSelected() {
59
+ return this.childOptions.every((option) => option.selected);
60
+ }
61
+ //////////////////////////////////////
62
+ get effectiveMaxHeight() {
63
+ let result = this.maxHeight;
64
+ if (this.upwardsHeightLimit && this.el.parentElement.clientHeight > this.upwardsHeightLimit) {
65
+ result = `${this.upwardsHeightLimit -
66
+ (this.isInNestedSelect ? this.returnBtnEl.clientHeight : 0) -
67
+ (this.selectAll ? this.selectAllEl.clientHeight : 0) -
68
+ (this.search ? this.searchFieldWrapperEl.clientHeight : 0)}px`;
69
+ }
70
+ return result;
71
+ }
72
+ findAndFocusOption(ev) {
73
+ const letterPressed = ev.detail.letter.toLowerCase();
74
+ const optionPressed = ev.detail.optionEl;
75
+ if (!this.keysSoFar && letterPressed == " ") {
76
+ // if the first key entered is space, treat as a click. Otherwise include in
77
+ optionPressed.click();
78
+ }
79
+ else {
80
+ if (!this.keysSoFar) {
81
+ // if first character entered, set currently focused option as the starting index for the search
82
+ this.visibleOptionEls.forEach((option, idx) => {
83
+ if (option.focused) {
84
+ this.searchIndex = idx;
85
+ }
86
+ });
87
+ }
88
+ this.keysSoFar += letterPressed;
89
+ let nextMatch = this.findMatchInRange(this.visibleOptionEls, this.searchIndex + 1, this.visibleOptionEls.length);
90
+ if (!nextMatch) {
91
+ // if match can't be found from starting option downwards, search from top
92
+ nextMatch = this.findMatchInRange(this.visibleOptionEls, 0, this.searchIndex);
93
+ }
94
+ if (nextMatch) {
95
+ // findMatchInRange still might have returned null, only focus if match found
96
+ this.focusOption(nextMatch);
97
+ }
98
+ this.debouncedClearKeysSoFar();
99
+ }
100
+ }
101
+ handleOptionSelection(ev) {
102
+ this.focusOption(ev.detail);
103
+ }
104
+ handleChildUp(ev) {
105
+ this.moveUp(ev.detail);
106
+ }
107
+ handleChildDown(ev) {
108
+ this.moveDown(ev.detail);
109
+ }
110
+ moveToFirstOption() {
111
+ this.focusOption(this.visibleOptionEls[0]);
112
+ }
113
+ moveToLastOption() {
114
+ this.focusOption(this.visibleOptionEls[this.visibleOptionEls.length - 1]);
115
+ }
116
+ handleOptionCloneSelection(ev) {
117
+ const correspondingOption = this.findCorrespondingOption(ev.detail);
118
+ correspondingOption.click();
119
+ }
120
+ componentDidLoad() {
121
+ if (this.multiple) {
122
+ this.updateOptionVisibility();
123
+ }
124
+ }
125
+ async handleChildChange() {
126
+ // on update of wm-options selected state, rerender to update clones state
127
+ forceUpdate(this.el);
128
+ }
129
+ async clearSearch() {
130
+ if (this.search) {
131
+ this.searchFieldEl.value = "";
132
+ this.searchTerm = "";
133
+ this.optionListSearchChanged.emit({ searchTerm: this.searchTerm });
134
+ }
135
+ }
136
+ async focusOption(option) {
137
+ this.allOptionEls.forEach((i) => (i.focused = i === option));
138
+ // option must be scrolledIntoView before focused
139
+ // 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
140
+ option.scrollIntoView({ block: "nearest" });
141
+ // 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))
142
+ // when opening the dropdown, scrollIntoView must be delayed to a point where the browser recognizes content within it as able to be scrolled to
143
+ // 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
144
+ window.setTimeout(() => option.scrollIntoView({ block: "nearest" }), 60);
145
+ option.focus();
146
+ }
147
+ async handleInitialFocus(optionToSelect) {
148
+ switch (optionToSelect) {
149
+ case "next":
150
+ // search variant focuses search field
151
+ // all others focus option "after" last selected option (this can be the first option)
152
+ if (this.search) {
153
+ this.searchFieldEl.focus();
154
+ this.listboxEl.scrollTop = 0;
155
+ }
156
+ else {
157
+ this.moveDown(this.visibleOptionEls.filter((x) => x.selected).slice(-1)[0]);
158
+ }
159
+ break;
160
+ case "previous":
161
+ // search variant focuses last option
162
+ // all others focus option "above" first selected option (this can be the last option)
163
+ if (this.search) {
164
+ this.focusOption(this.visibleOptionEls[this.visibleOptionEls.length - 1]);
165
+ }
166
+ else {
167
+ this.moveUp(this.visibleOptionEls.filter((x) => x.selected)[0]);
168
+ }
169
+ break;
170
+ default:
171
+ // search variant focuses search field
172
+ // all others focus the selected option
173
+ // if no option is selected (empty multiselect), focuses first option
174
+ if (this.search) {
175
+ this.searchFieldEl.focus();
176
+ this.listboxEl.scrollTop = 0;
177
+ }
178
+ else if (this.selectedOptions.length > 0) {
179
+ this.focusOption(this.visibleOptionEls.filter((x) => x.selected)[0]);
180
+ }
181
+ else {
182
+ this.focusOption(this.visibleOptionEls[0]);
183
+ }
184
+ break;
185
+ }
186
+ }
187
+ async unfocusAll() {
188
+ this.allOptionEls.map((i) => (i.focused = false));
189
+ }
190
+ findMatchInRange(list, startIndex, endIndex) {
191
+ let match = null;
192
+ let optionsInRange = list.slice(startIndex, endIndex);
193
+ // Find the first option starting with the keysSoFar substring, searching in
194
+ // the specified range of options
195
+ optionsInRange.forEach((option) => {
196
+ const label = option.textContent;
197
+ if (!match && label && label.toLowerCase().startsWith(this.keysSoFar)) {
198
+ match = option;
199
+ }
200
+ });
201
+ return match;
202
+ }
203
+ findCorrespondingOption(el) {
204
+ // if clone, returns the child wm-option
205
+ // if child wm-option, returns clone
206
+ const isClone = el.classList.contains("clone");
207
+ return isClone
208
+ ? this.childOptions[this.cloneOptions.indexOf(el)]
209
+ : this.cloneOptions[this.childOptions.indexOf(el)];
210
+ }
211
+ handleSearchFieldBlur(ev) {
212
+ this.searchFieldWrapperEl.classList.remove("focus");
213
+ if (isElOrChild(this.el, ev.relatedTarget)) {
214
+ // do not emit a blur event when moving from searchfield to options
215
+ ev.stopPropagation();
216
+ }
217
+ }
218
+ // on search field or select all. keydown on options is handled via events.
219
+ handleKeyDown(ev) {
220
+ const el = ev.target;
221
+ switch (ev.key) {
222
+ case "ArrowDown":
223
+ ev.preventDefault();
224
+ this.moveDown(ev.target);
225
+ break;
226
+ case "ArrowUp":
227
+ ev.preventDefault();
228
+ this.moveUp(ev.target);
229
+ break;
230
+ case "ArrowLeft":
231
+ if (this.isInNestedSelect && el != this.searchFieldEl) {
232
+ ev.preventDefault();
233
+ this.wmKeyLeftPressed.emit();
234
+ }
235
+ break;
236
+ case "Escape":
237
+ ev.preventDefault();
238
+ this.wmEscKeyPressed.emit();
239
+ break;
240
+ case "Enter":
241
+ if (el === this.selectAllEl) {
242
+ ev.preventDefault();
243
+ this.handleSelectAllClick();
244
+ this.close();
245
+ }
246
+ break;
247
+ case " ":
248
+ if (el === this.selectAllEl) {
249
+ ev.preventDefault();
250
+ this.handleSelectAllClick();
251
+ }
252
+ break;
253
+ }
254
+ }
255
+ close() {
256
+ this.listboxEl.scrollTop = 0;
257
+ if (this.multiple) {
258
+ this.updateOptionVisibility();
259
+ }
260
+ this.optionListCloseRequested.emit(); // what actually happens when a close is requested is determined by the parent
261
+ }
262
+ handleSelectAllClick() {
263
+ this.allSelected ? this.deselectAllOptions() : this.selectAllOptions();
264
+ }
265
+ selectAllOptions() {
266
+ this.announce(selectMessages.allOptionsSelectedMessage);
267
+ this.optionListAllSelected.emit();
268
+ }
269
+ deselectAllOptions() {
270
+ this.announce(selectMessages.allOptionsDeselectedMessage);
271
+ this.optionListAllDeselected.emit();
272
+ }
273
+ moveUp(el) {
274
+ const focusableEls = this.visibleOptionEls;
275
+ if (this.selectAllEl) {
276
+ focusableEls.unshift(this.selectAllEl);
277
+ }
278
+ if (this.searchFieldEl) {
279
+ focusableEls.unshift(this.searchFieldEl);
280
+ }
281
+ if (this.isInNestedSelect) {
282
+ focusableEls.unshift(this.returnBtnEl);
283
+ }
284
+ const prevEl = focusableEls[focusableEls.indexOf(el) - 1] || focusableEls[focusableEls.length - 1];
285
+ if (prevEl) {
286
+ this.focusOption(prevEl);
287
+ }
288
+ }
289
+ moveDown(el) {
290
+ const focusableEls = this.visibleOptionEls;
291
+ if (this.selectAllEl) {
292
+ focusableEls.unshift(this.selectAllEl);
293
+ }
294
+ if (this.searchFieldEl) {
295
+ focusableEls.unshift(this.searchFieldEl);
296
+ }
297
+ if (this.isInNestedSelect) {
298
+ focusableEls.unshift(this.returnBtnEl);
299
+ }
300
+ const nextEl = focusableEls[focusableEls.indexOf(el) + 1] || focusableEls[0];
301
+ if (nextEl) {
302
+ this.focusOption(nextEl);
303
+ }
304
+ }
305
+ async updateOptionVisibility() {
306
+ // this runs for search multiselects, where selected options are rendered at the top of the dropdown list
307
+ // slotted wm-options are hidden if selected, and clone wm-options are made visible if selected
308
+ this.childOptions.forEach((option, idx) => {
309
+ const cloneOption = this.cloneOptions[idx];
310
+ if (option.selected) {
311
+ option.classList.add("hidden");
312
+ cloneOption.classList.remove("hidden");
313
+ }
314
+ else {
315
+ option.classList.remove("hidden");
316
+ cloneOption.classList.add("hidden");
317
+ }
318
+ });
319
+ // find last visible clone option and apply .last class
320
+ const visibleCloneOptions = this.visibleOptionEls.filter((option) => option.classList.contains("clone"));
321
+ // if all options are clones, nothing to separate from
322
+ const allClones = visibleCloneOptions.length === this.visibleOptionEls.length;
323
+ visibleCloneOptions.forEach((option, idx) => {
324
+ if (!allClones && idx === visibleCloneOptions.length - 1) {
325
+ option.classList.add("last");
326
+ }
327
+ else {
328
+ option.classList.remove("last");
329
+ }
330
+ });
331
+ }
332
+ announce(message) {
333
+ // \u00A0 is a non-breaking space character, which causes the message to be read as a new one
334
+ if (this.liveRegionEl.textContent === message) {
335
+ message += "\u00A0";
336
+ }
337
+ this.announcement = message;
338
+ }
339
+ renderReturnBtn() {
340
+ const selectionCount = this.childOptions.filter((o) => o.selected).length;
341
+ return (h("button", { ref: (el) => (this.returnBtnEl = el), id: "return-btn", class: "return-btn", onKeyDown: (ev) => this.handleKeyDown(ev), onClick: () => {
342
+ //@ts-ignore -- Check out this one weird trick TypeScript doesn't want you to know about
343
+ this.el.getRootNode().host.isExpanded = false;
344
+ } }, h("div", { class: "svg-icon svg-previous" }), h("div", { class: "return-btn-label" }, this.optgroupLabel, selectionCount > 0 && (h("span", { class: "selection-count" }, this.multiple
345
+ ? selectMessages.getOptgroupMultipleSelectionCount(selectionCount)
346
+ : selectMessages.optgroupSingleSelectionCount)))));
347
+ }
348
+ renderSearchField() {
349
+ return (h("div", { class: "search" }, h("div", { class: "searchfield-wrapper", ref: (el) => (this.searchFieldWrapperEl = el) }, h("div", { class: "svg-icon svg-search" }), 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" }, selectMessages.noSearchResults);
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 ? selectMessages.deselectAllMessage : selectMessages.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
+ renderNonOptions() {
366
+ return (h("div", { class: "non-options-wrapper" }, this.isInNestedSelect && this.renderReturnBtn(), this.search && this.renderSearchField(), this.visibleSelectAllButton && this.renderSelectAllButton()));
367
+ }
368
+ render() {
369
+ return (h("div", { key: '9bff5e1fd9c47e6a53a08771b7828006df908d65', class: "list-wrapper" }, (this.isInNestedSelect || this.search || this.visibleSelectAllButton) && this.renderNonOptions(), h("div", { key: '9064ef7a435327acd64c8789fd17fdd68c915892', id: "list", class: "options-wrapper", tabindex: -1, role: "listbox", "aria-multiselectable": this.multiple ? "true" : null, "aria-labelledby": "label", ref: (el) => (this.listboxEl = el), style: { "--max-height": this.effectiveMaxHeight } }, this.searchTerm && this.filteredOptions.length === 0 && this.renderSearchFailedMessage(), this.multiple && this.renderCloneOptions(), h("slot", { key: '42862b03eebe938669c91532d6bf5802912be520' })), h("div", { key: 'e74fd4a6d036b8eeade85b7048530b664147ccc3', id: "optionlist-announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
370
+ }
371
+ static get is() { return "priv-option-list"; }
372
+ static get originalStyleUrls() {
373
+ return {
374
+ "$": ["priv-option-list.scss"]
375
+ };
376
+ }
377
+ static get styleUrls() {
378
+ return {
379
+ "$": ["priv-option-list.css"]
380
+ };
381
+ }
382
+ static get properties() {
383
+ return {
384
+ "multiple": {
385
+ "type": "boolean",
386
+ "attribute": "multiple",
387
+ "mutable": false,
388
+ "complexType": {
389
+ "original": "boolean",
390
+ "resolved": "boolean",
391
+ "references": {}
392
+ },
393
+ "required": false,
394
+ "optional": false,
395
+ "docs": {
396
+ "tags": [],
397
+ "text": ""
398
+ },
399
+ "getter": false,
400
+ "setter": false,
401
+ "reflect": false,
402
+ "defaultValue": "false"
403
+ },
404
+ "search": {
405
+ "type": "boolean",
406
+ "attribute": "search",
407
+ "mutable": false,
408
+ "complexType": {
409
+ "original": "boolean",
410
+ "resolved": "boolean",
411
+ "references": {}
412
+ },
413
+ "required": false,
414
+ "optional": false,
415
+ "docs": {
416
+ "tags": [],
417
+ "text": ""
418
+ },
419
+ "getter": false,
420
+ "setter": false,
421
+ "reflect": false,
422
+ "defaultValue": "false"
423
+ },
424
+ "selectAll": {
425
+ "type": "boolean",
426
+ "attribute": "select-all",
427
+ "mutable": false,
428
+ "complexType": {
429
+ "original": "boolean",
430
+ "resolved": "boolean",
431
+ "references": {}
432
+ },
433
+ "required": false,
434
+ "optional": false,
435
+ "docs": {
436
+ "tags": [],
437
+ "text": ""
438
+ },
439
+ "getter": false,
440
+ "setter": false,
441
+ "reflect": false,
442
+ "defaultValue": "false"
443
+ },
444
+ "searchPlaceholder": {
445
+ "type": "string",
446
+ "attribute": "search-placeholder",
447
+ "mutable": false,
448
+ "complexType": {
449
+ "original": "string",
450
+ "resolved": "string | undefined",
451
+ "references": {}
452
+ },
453
+ "required": false,
454
+ "optional": true,
455
+ "docs": {
456
+ "tags": [],
457
+ "text": ""
458
+ },
459
+ "getter": false,
460
+ "setter": false,
461
+ "reflect": false
462
+ },
463
+ "optgroupLabel": {
464
+ "type": "string",
465
+ "attribute": "optgroup-label",
466
+ "mutable": false,
467
+ "complexType": {
468
+ "original": "string",
469
+ "resolved": "string | undefined",
470
+ "references": {}
471
+ },
472
+ "required": false,
473
+ "optional": true,
474
+ "docs": {
475
+ "tags": [],
476
+ "text": ""
477
+ },
478
+ "getter": false,
479
+ "setter": false,
480
+ "reflect": false
481
+ },
482
+ "maxHeight": {
483
+ "type": "string",
484
+ "attribute": "max-height",
485
+ "mutable": false,
486
+ "complexType": {
487
+ "original": "string",
488
+ "resolved": "string",
489
+ "references": {}
490
+ },
491
+ "required": true,
492
+ "optional": false,
493
+ "docs": {
494
+ "tags": [],
495
+ "text": ""
496
+ },
497
+ "getter": false,
498
+ "setter": false,
499
+ "reflect": false
500
+ },
501
+ "upwardsHeightLimit": {
502
+ "type": "number",
503
+ "attribute": "upwards-height-limit",
504
+ "mutable": false,
505
+ "complexType": {
506
+ "original": "number | null",
507
+ "resolved": "null | number",
508
+ "references": {}
509
+ },
510
+ "required": false,
511
+ "optional": false,
512
+ "docs": {
513
+ "tags": [],
514
+ "text": ""
515
+ },
516
+ "getter": false,
517
+ "setter": false,
518
+ "reflect": false,
519
+ "defaultValue": "null"
520
+ }
521
+ };
522
+ }
523
+ static get states() {
524
+ return {
525
+ "announcement": {},
526
+ "searchTerm": {}
527
+ };
528
+ }
529
+ static get events() {
530
+ return [{
531
+ "method": "optionListSearchChanged",
532
+ "name": "optionListSearchChanged",
533
+ "bubbles": true,
534
+ "cancelable": true,
535
+ "composed": true,
536
+ "docs": {
537
+ "tags": [],
538
+ "text": ""
539
+ },
540
+ "complexType": {
541
+ "original": "Object",
542
+ "resolved": "Object",
543
+ "references": {
544
+ "Object": {
545
+ "location": "global",
546
+ "id": "global::Object"
547
+ }
548
+ }
549
+ }
550
+ }, {
551
+ "method": "optionListCloseRequested",
552
+ "name": "optionListCloseRequested",
553
+ "bubbles": true,
554
+ "cancelable": true,
555
+ "composed": true,
556
+ "docs": {
557
+ "tags": [],
558
+ "text": ""
559
+ },
560
+ "complexType": {
561
+ "original": "any",
562
+ "resolved": "any",
563
+ "references": {}
564
+ }
565
+ }, {
566
+ "method": "optionListAllSelected",
567
+ "name": "optionListAllSelected",
568
+ "bubbles": true,
569
+ "cancelable": true,
570
+ "composed": true,
571
+ "docs": {
572
+ "tags": [],
573
+ "text": ""
574
+ },
575
+ "complexType": {
576
+ "original": "any",
577
+ "resolved": "any",
578
+ "references": {}
579
+ }
580
+ }, {
581
+ "method": "optionListAllDeselected",
582
+ "name": "optionListAllDeselected",
583
+ "bubbles": true,
584
+ "cancelable": true,
585
+ "composed": true,
586
+ "docs": {
587
+ "tags": [],
588
+ "text": ""
589
+ },
590
+ "complexType": {
591
+ "original": "any",
592
+ "resolved": "any",
593
+ "references": {}
594
+ }
595
+ }, {
596
+ "method": "wmEscKeyPressed",
597
+ "name": "wmEscKeyPressed",
598
+ "bubbles": true,
599
+ "cancelable": true,
600
+ "composed": true,
601
+ "docs": {
602
+ "tags": [],
603
+ "text": ""
604
+ },
605
+ "complexType": {
606
+ "original": "any",
607
+ "resolved": "any",
608
+ "references": {}
609
+ }
610
+ }, {
611
+ "method": "wmKeyLeftPressed",
612
+ "name": "wmKeyLeftPressed",
613
+ "bubbles": true,
614
+ "cancelable": true,
615
+ "composed": true,
616
+ "docs": {
617
+ "tags": [],
618
+ "text": ""
619
+ },
620
+ "complexType": {
621
+ "original": "any",
622
+ "resolved": "any",
623
+ "references": {}
624
+ }
625
+ }];
626
+ }
627
+ static get methods() {
628
+ return {
629
+ "handleChildChange": {
630
+ "complexType": {
631
+ "signature": "() => Promise<void>",
632
+ "parameters": [],
633
+ "references": {
634
+ "Promise": {
635
+ "location": "global",
636
+ "id": "global::Promise"
637
+ }
638
+ },
639
+ "return": "Promise<void>"
640
+ },
641
+ "docs": {
642
+ "text": "",
643
+ "tags": []
644
+ }
645
+ },
646
+ "clearSearch": {
647
+ "complexType": {
648
+ "signature": "() => Promise<void>",
649
+ "parameters": [],
650
+ "references": {
651
+ "Promise": {
652
+ "location": "global",
653
+ "id": "global::Promise"
654
+ }
655
+ },
656
+ "return": "Promise<void>"
657
+ },
658
+ "docs": {
659
+ "text": "",
660
+ "tags": []
661
+ }
662
+ },
663
+ "focusOption": {
664
+ "complexType": {
665
+ "signature": "(option: HTMLElement) => Promise<void>",
666
+ "parameters": [{
667
+ "name": "option",
668
+ "type": "HTMLElement",
669
+ "docs": ""
670
+ }],
671
+ "references": {
672
+ "Promise": {
673
+ "location": "global",
674
+ "id": "global::Promise"
675
+ },
676
+ "HTMLElement": {
677
+ "location": "global",
678
+ "id": "global::HTMLElement"
679
+ }
680
+ },
681
+ "return": "Promise<void>"
682
+ },
683
+ "docs": {
684
+ "text": "",
685
+ "tags": []
686
+ }
687
+ },
688
+ "handleInitialFocus": {
689
+ "complexType": {
690
+ "signature": "(optionToSelect?: \"next\" | \"previous\") => Promise<void>",
691
+ "parameters": [{
692
+ "name": "optionToSelect",
693
+ "type": "\"next\" | \"previous\" | undefined",
694
+ "docs": ""
695
+ }],
696
+ "references": {
697
+ "Promise": {
698
+ "location": "global",
699
+ "id": "global::Promise"
700
+ }
701
+ },
702
+ "return": "Promise<void>"
703
+ },
704
+ "docs": {
705
+ "text": "",
706
+ "tags": []
707
+ }
708
+ },
709
+ "unfocusAll": {
710
+ "complexType": {
711
+ "signature": "() => Promise<void>",
712
+ "parameters": [],
713
+ "references": {
714
+ "Promise": {
715
+ "location": "global",
716
+ "id": "global::Promise"
717
+ }
718
+ },
719
+ "return": "Promise<void>"
720
+ },
721
+ "docs": {
722
+ "text": "",
723
+ "tags": []
724
+ }
725
+ },
726
+ "updateOptionVisibility": {
727
+ "complexType": {
728
+ "signature": "() => Promise<void>",
729
+ "parameters": [],
730
+ "references": {
731
+ "Promise": {
732
+ "location": "global",
733
+ "id": "global::Promise"
734
+ }
735
+ },
736
+ "return": "Promise<void>"
737
+ },
738
+ "docs": {
739
+ "text": "",
740
+ "tags": []
741
+ }
742
+ }
743
+ };
744
+ }
745
+ static get elementRef() { return "el"; }
746
+ static get listeners() {
747
+ return [{
748
+ "name": "wmLetterPressed",
749
+ "method": "findAndFocusOption",
750
+ "target": undefined,
751
+ "capture": false,
752
+ "passive": false
753
+ }, {
754
+ "name": "wmOptionSelected",
755
+ "method": "handleOptionSelection",
756
+ "target": undefined,
757
+ "capture": false,
758
+ "passive": false
759
+ }, {
760
+ "name": "wmKeyUpPressed",
761
+ "method": "handleChildUp",
762
+ "target": undefined,
763
+ "capture": false,
764
+ "passive": false
765
+ }, {
766
+ "name": "wmKeyDownPressed",
767
+ "method": "handleChildDown",
768
+ "target": undefined,
769
+ "capture": false,
770
+ "passive": false
771
+ }, {
772
+ "name": "wmHomeKeyPressed",
773
+ "method": "moveToFirstOption",
774
+ "target": undefined,
775
+ "capture": false,
776
+ "passive": false
777
+ }, {
778
+ "name": "wmEndKeyPressed",
779
+ "method": "moveToLastOption",
780
+ "target": undefined,
781
+ "capture": false,
782
+ "passive": false
783
+ }, {
784
+ "name": "intCloneClicked",
785
+ "method": "handleOptionCloneSelection",
786
+ "target": undefined,
787
+ "capture": false,
788
+ "passive": false
789
+ }];
790
+ }
791
+ }