@watermarkinsights/ripple 5.2.0 → 5.3.0-0

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 (399) hide show
  1. package/dist/{esm/global-cb4fb91c.js → cjs/app-globals-7025eb63.js} +10 -1
  2. package/dist/cjs/{chartFunctions-2195a9d2.js → chartFunctions-9075d687.js} +3 -3
  3. package/dist/cjs/{functions-48a748f0.js → functions-b73604c3.js} +297 -7
  4. package/dist/cjs/index-3c3d6c9f.js +1810 -0
  5. package/dist/cjs/{interfaces-ad9e80a6.js → interfaces-85d78ae9.js} +3 -4
  6. package/dist/cjs/{intl-29d2cc42.js → intl-b20d5420.js} +1 -1
  7. package/dist/cjs/loader.cjs.js +5 -4
  8. package/dist/cjs/priv-calendar.cjs.entry.js +554 -0
  9. package/dist/cjs/priv-chart-popover.cjs.entry.js +6 -5
  10. package/dist/cjs/priv-navigator-button.cjs.entry.js +4 -3
  11. package/dist/cjs/priv-navigator-item.cjs.entry.js +4 -3
  12. package/dist/cjs/ripple.cjs.js +13 -12
  13. package/dist/cjs/wm-action-menu_2.cjs.entry.js +9 -7
  14. package/dist/cjs/wm-button.cjs.entry.js +6 -5
  15. package/dist/cjs/wm-chart-slice.cjs.entry.js +1 -1
  16. package/dist/cjs/wm-chart.cjs.entry.js +7 -6
  17. package/dist/cjs/wm-date-range.cjs.entry.js +446 -0
  18. package/dist/cjs/wm-datepicker.cjs.entry.js +90 -20
  19. package/dist/cjs/wm-file-list.cjs.entry.js +5 -4
  20. package/dist/cjs/wm-file.cjs.entry.js +5 -4
  21. package/dist/cjs/wm-input.cjs.entry.js +6 -5
  22. package/dist/cjs/wm-line-chart.cjs.entry.js +15 -14
  23. package/dist/cjs/wm-modal-footer.cjs.entry.js +4 -3
  24. package/dist/cjs/wm-modal-header.cjs.entry.js +6 -5
  25. package/dist/cjs/wm-modal.cjs.entry.js +6 -5
  26. package/dist/cjs/wm-navigation_3.cjs.entry.js +13 -10
  27. package/dist/cjs/wm-navigator.cjs.entry.js +5 -4
  28. package/dist/cjs/wm-option_2.cjs.entry.js +10 -8
  29. package/dist/cjs/wm-pagination.cjs.entry.js +5 -4
  30. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +9 -7
  31. package/dist/cjs/wm-search.cjs.entry.js +7 -6
  32. package/dist/cjs/wm-snackbar.cjs.entry.js +7 -6
  33. package/dist/cjs/wm-tab-item_3.cjs.entry.js +11 -8
  34. package/dist/cjs/wm-tag-input.cjs.entry.js +8 -7
  35. package/dist/cjs/wm-tag-option.cjs.entry.js +2 -2
  36. package/dist/cjs/wm-textarea.cjs.entry.js +6 -5
  37. package/dist/cjs/wm-timepicker.cjs.entry.js +6 -5
  38. package/dist/cjs/wm-toggletip.cjs.entry.js +6 -5
  39. package/dist/cjs/wm-uploader.cjs.entry.js +7 -6
  40. package/dist/cjs/wm-wrapper.cjs.entry.js +1 -1
  41. package/dist/collection/collection-manifest.json +5 -4
  42. package/dist/collection/components/charts/chartFunctions.js +1 -1
  43. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +2 -2
  44. package/dist/collection/components/charts/wm-chart/wm-chart.js +1 -1
  45. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +9 -9
  46. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +1 -1
  47. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +1 -1
  48. package/dist/collection/components/{wm-datepicker/wm-datepicker.css → datepickers/datepicker.css} +40 -28
  49. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +479 -0
  50. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +816 -0
  51. package/dist/collection/components/datepickers/wm-date-range.js +804 -0
  52. package/dist/collection/components/{wm-datepicker → datepickers}/wm-datepicker.js +114 -29
  53. package/dist/collection/components/wm-action-menu/wm-action-menu.js +1 -1
  54. package/dist/collection/components/wm-button/wm-button.js +1 -1
  55. package/dist/collection/components/wm-file/wm-file.js +1 -1
  56. package/dist/collection/components/wm-file-list/wm-file-list.js +5 -5
  57. package/dist/collection/components/wm-input/wm-input.js +1 -1
  58. package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
  59. package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
  60. package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
  61. package/dist/collection/components/wm-modal/wm-modal.js +2 -2
  62. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
  63. package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
  64. package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
  65. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
  66. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
  67. package/dist/collection/components/wm-option/wm-option.js +1 -1
  68. package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
  69. package/dist/collection/components/wm-search/wm-search.js +5 -4
  70. package/dist/collection/components/wm-select/wm-select.js +2 -2
  71. package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
  72. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +1 -1
  73. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +1 -1
  74. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
  75. package/dist/collection/components/wm-tag-input/wm-tag-input.js +3 -3
  76. package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
  77. package/dist/collection/components/wm-timepicker/wm-timepicker.js +11 -8
  78. package/dist/collection/components/wm-toggletip/wm-toggletip.js +2 -2
  79. package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
  80. package/dist/collection/dev/action-menu.js +0 -0
  81. package/dist/collection/dev/button.js +0 -0
  82. package/dist/collection/dev/chart-small.js +56 -0
  83. package/dist/collection/dev/chart.js +37 -0
  84. package/dist/collection/dev/date-range.js +6 -0
  85. package/dist/collection/dev/datepicker.js +46 -0
  86. package/dist/collection/dev/file-list.js +16 -0
  87. package/dist/collection/dev/file.js +0 -0
  88. package/dist/collection/dev/input.js +6 -0
  89. package/dist/collection/dev/line-chart.js +0 -0
  90. package/dist/collection/dev/modal.js +75 -0
  91. package/dist/collection/dev/navigation.js +13 -0
  92. package/dist/collection/dev/navigator.js +34 -0
  93. package/dist/collection/dev/pagination.js +7 -0
  94. package/dist/collection/dev/progress-monitor.js +0 -0
  95. package/dist/collection/dev/scripts.js +31 -748
  96. package/dist/collection/dev/search.js +72 -0
  97. package/dist/collection/dev/select.js +57 -0
  98. package/dist/collection/dev/snackbar.js +38 -0
  99. package/dist/collection/dev/tabs.js +44 -0
  100. package/dist/collection/dev/tag-input.js +32 -0
  101. package/dist/collection/dev/textarea.js +28 -0
  102. package/dist/collection/dev/timepicker.js +32 -0
  103. package/dist/collection/dev/toggletip.js +0 -0
  104. package/dist/collection/dev/uploader.js +139 -0
  105. package/dist/collection/global/functions.js +187 -0
  106. package/dist/collection/global/interfaces.js +3 -4
  107. package/dist/{cjs/global-d5e26274.js → esm/app-globals-0c592c57.js} +7 -2
  108. package/dist/esm/{chartFunctions-d2d8f1b2.js → chartFunctions-730742b7.js} +3 -3
  109. package/dist/esm/{functions-58918a32.js → functions-eda88c5f.js} +292 -8
  110. package/dist/esm/index-0ed3ed7d.js +1780 -0
  111. package/dist/esm/{interfaces-9b75fb61.js → interfaces-cc5b177f.js} +3 -4
  112. package/dist/esm/{intl-f9d79dff.js → intl-de8432e2.js} +1 -1
  113. package/dist/esm/loader.js +6 -5
  114. package/dist/esm/polyfills/core-js.js +0 -0
  115. package/dist/esm/polyfills/dom.js +0 -0
  116. package/dist/esm/polyfills/es5-html-element.js +0 -0
  117. package/dist/esm/polyfills/index.js +0 -0
  118. package/dist/esm/polyfills/system.js +0 -0
  119. package/dist/esm/priv-calendar.entry.js +550 -0
  120. package/dist/esm/priv-chart-popover.entry.js +6 -5
  121. package/dist/esm/priv-navigator-button.entry.js +4 -3
  122. package/dist/esm/priv-navigator-item.entry.js +4 -3
  123. package/dist/esm/ripple.js +14 -13
  124. package/dist/esm/wm-action-menu_2.entry.js +9 -7
  125. package/dist/esm/wm-button.entry.js +6 -5
  126. package/dist/esm/wm-chart-slice.entry.js +1 -1
  127. package/dist/esm/wm-chart.entry.js +7 -6
  128. package/dist/esm/wm-date-range.entry.js +442 -0
  129. package/dist/esm/wm-datepicker.entry.js +90 -20
  130. package/dist/esm/wm-file-list.entry.js +5 -4
  131. package/dist/esm/wm-file.entry.js +5 -4
  132. package/dist/esm/wm-input.entry.js +6 -5
  133. package/dist/esm/wm-line-chart.entry.js +15 -14
  134. package/dist/esm/wm-modal-footer.entry.js +4 -3
  135. package/dist/esm/wm-modal-header.entry.js +6 -5
  136. package/dist/esm/wm-modal.entry.js +6 -5
  137. package/dist/esm/wm-navigation_3.entry.js +13 -10
  138. package/dist/esm/wm-navigator.entry.js +5 -4
  139. package/dist/esm/wm-option_2.entry.js +10 -8
  140. package/dist/esm/wm-pagination.entry.js +5 -4
  141. package/dist/esm/wm-progress-indicator_3.entry.js +9 -7
  142. package/dist/esm/wm-search.entry.js +7 -6
  143. package/dist/esm/wm-snackbar.entry.js +7 -6
  144. package/dist/esm/wm-tab-item_3.entry.js +11 -8
  145. package/dist/esm/wm-tag-input.entry.js +8 -7
  146. package/dist/esm/wm-tag-option.entry.js +2 -2
  147. package/dist/esm/wm-textarea.entry.js +6 -5
  148. package/dist/esm/wm-timepicker.entry.js +6 -5
  149. package/dist/esm/wm-toggletip.entry.js +6 -5
  150. package/dist/esm/wm-uploader.entry.js +7 -6
  151. package/dist/esm/wm-wrapper.entry.js +1 -1
  152. package/dist/esm-es5/app-globals-0c592c57.js +1 -0
  153. package/dist/esm-es5/{chartFunctions-d2d8f1b2.js → chartFunctions-730742b7.js} +1 -1
  154. package/dist/esm-es5/functions-eda88c5f.js +1 -0
  155. package/dist/esm-es5/index-0ed3ed7d.js +1 -0
  156. package/dist/esm-es5/{intl-f9d79dff.js → intl-de8432e2.js} +1 -1
  157. package/dist/esm-es5/loader.js +1 -1
  158. package/dist/esm-es5/priv-calendar.entry.js +1 -0
  159. package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
  160. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  161. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  162. package/dist/esm-es5/ripple.js +1 -1
  163. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  164. package/dist/esm-es5/wm-button.entry.js +1 -1
  165. package/dist/esm-es5/wm-chart-slice.entry.js +1 -1
  166. package/dist/esm-es5/wm-chart.entry.js +1 -1
  167. package/dist/esm-es5/wm-date-range.entry.js +1 -0
  168. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  169. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  170. package/dist/esm-es5/wm-file.entry.js +1 -1
  171. package/dist/esm-es5/wm-input.entry.js +1 -1
  172. package/dist/esm-es5/wm-line-chart.entry.js +1 -1
  173. package/dist/esm-es5/wm-modal-footer.entry.js +1 -1
  174. package/dist/esm-es5/wm-modal-header.entry.js +1 -1
  175. package/dist/esm-es5/wm-modal.entry.js +1 -1
  176. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  177. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  178. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  179. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  180. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  181. package/dist/esm-es5/wm-search.entry.js +1 -1
  182. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  183. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  184. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  185. package/dist/esm-es5/wm-tag-option.entry.js +1 -1
  186. package/dist/esm-es5/wm-textarea.entry.js +1 -1
  187. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  188. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  189. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  190. package/dist/esm-es5/wm-wrapper.entry.js +1 -1
  191. package/dist/loader/cdn.js +1 -2
  192. package/dist/loader/index.cjs.js +1 -2
  193. package/dist/loader/index.d.ts +3 -0
  194. package/dist/loader/index.es2017.js +1 -2
  195. package/dist/loader/index.js +1 -2
  196. package/dist/ripple/p-0096e233.system.entry.js +1 -0
  197. package/dist/ripple/p-0ad27de3.system.entry.js +1 -0
  198. package/dist/ripple/p-0ccf9f96.entry.js +1 -0
  199. package/dist/ripple/{p-65420b71.entry.js → p-0e1523db.entry.js} +1 -1
  200. package/dist/ripple/{p-406f1e79.system.entry.js → p-0f117524.system.entry.js} +1 -1
  201. package/dist/ripple/p-0f7a85f4.entry.js +1 -0
  202. package/dist/ripple/p-13760c2c.entry.js +1 -0
  203. package/dist/ripple/p-14bab3fa.system.entry.js +1 -0
  204. package/dist/ripple/{p-add75652.system.entry.js → p-181068af.system.entry.js} +1 -1
  205. package/dist/ripple/p-1e536698.js +1 -0
  206. package/dist/ripple/{p-f9689d7a.entry.js → p-245f0080.entry.js} +1 -1
  207. package/dist/ripple/p-2c18b6d1.system.entry.js +1 -0
  208. package/dist/ripple/{p-fa3d10db.js → p-3036a712.js} +1 -1
  209. package/dist/ripple/p-340b18ea.entry.js +1 -0
  210. package/dist/ripple/p-37c39a40.system.entry.js +1 -0
  211. package/dist/ripple/{p-011a4acc.system.entry.js → p-39f4fca0.system.entry.js} +1 -1
  212. package/dist/ripple/p-3f5e94e3.system.js +1 -0
  213. package/dist/ripple/{p-a99b05de.system.entry.js → p-47d993b9.system.entry.js} +1 -1
  214. package/dist/ripple/p-48beea19.system.js +1 -0
  215. package/dist/ripple/{p-3a070f35.entry.js → p-4aae5688.entry.js} +1 -1
  216. package/dist/ripple/p-4ea963f3.system.entry.js +1 -0
  217. package/dist/ripple/p-501d3115.entry.js +1 -0
  218. package/dist/ripple/p-527581c5.entry.js +1 -0
  219. package/dist/ripple/p-563b5820.entry.js +1 -0
  220. package/dist/ripple/p-57695dba.js +2 -0
  221. package/dist/ripple/{p-6a9f7651.entry.js → p-5ab8174c.entry.js} +1 -1
  222. package/dist/ripple/p-5c6c325e.system.entry.js +1 -0
  223. package/dist/ripple/p-5f4c8d63.system.entry.js +1 -0
  224. package/dist/ripple/p-68e3e7c0.entry.js +1 -0
  225. package/dist/ripple/p-68fec757.system.entry.js +1 -0
  226. package/dist/ripple/p-6982bc34.entry.js +1 -0
  227. package/dist/ripple/p-6a793c40.system.entry.js +1 -0
  228. package/dist/ripple/p-6c31f0ad.system.entry.js +1 -0
  229. package/dist/ripple/p-6daf1bd3.system.entry.js +1 -0
  230. package/dist/ripple/p-6e406e8b.entry.js +1 -0
  231. package/dist/ripple/p-77210f26.entry.js +1 -0
  232. package/dist/ripple/p-7a844f5d.system.js +2 -0
  233. package/dist/ripple/{p-a03df46c.entry.js → p-7b5ac088.entry.js} +1 -1
  234. package/dist/ripple/p-7d5aaa73.system.entry.js +1 -0
  235. package/dist/ripple/p-80c92919.system.entry.js +1 -0
  236. package/dist/ripple/p-81fd2ed5.system.entry.js +1 -0
  237. package/dist/ripple/p-84d294d1.system.js +1 -0
  238. package/dist/ripple/p-85178a0d.entry.js +1 -0
  239. package/dist/ripple/p-8768ba4d.system.entry.js +1 -0
  240. package/dist/ripple/p-8af21b69.entry.js +1 -0
  241. package/dist/ripple/{p-eda4d59c.js → p-96cc3c63.js} +1 -1
  242. package/dist/ripple/{p-abe3242c.entry.js → p-98e77431.entry.js} +1 -1
  243. package/dist/ripple/p-a30eef53.entry.js +1 -0
  244. package/dist/ripple/{p-0ba8d3b6.system.entry.js → p-a36f5e7d.system.entry.js} +1 -1
  245. package/dist/ripple/p-ad6c979f.entry.js +1 -0
  246. package/dist/ripple/p-af8c1cfa.entry.js +1 -0
  247. package/dist/ripple/p-b19be746.entry.js +1 -0
  248. package/dist/ripple/p-b483ec14.entry.js +1 -0
  249. package/dist/ripple/p-b4a34241.entry.js +1 -0
  250. package/dist/ripple/{p-c9943d2e.system.entry.js → p-b6dcc6d8.system.entry.js} +1 -1
  251. package/dist/ripple/p-be28a95e.system.entry.js +1 -0
  252. package/dist/ripple/p-c6d970a4.entry.js +1 -0
  253. package/dist/ripple/{p-0d15e3f0.system.js → p-ce028b38.system.js} +1 -1
  254. package/dist/ripple/p-dba63006.system.entry.js +1 -0
  255. package/dist/ripple/p-dbb37269.system.entry.js +1 -0
  256. package/dist/ripple/{p-aecd5a1a.system.js → p-e0929c38.system.js} +1 -1
  257. package/dist/ripple/p-e19f8c43.js +1 -0
  258. package/dist/ripple/{p-02b625f6.system.entry.js → p-e3a15de3.system.entry.js} +1 -1
  259. package/dist/ripple/p-e3d66797.entry.js +1 -0
  260. package/dist/ripple/p-e64276f2.entry.js +1 -0
  261. package/dist/ripple/p-e9978b2f.entry.js +1 -0
  262. package/dist/ripple/p-ecbd3ea9.system.entry.js +1 -0
  263. package/dist/ripple/p-ecd26b33.system.entry.js +1 -0
  264. package/dist/ripple/p-ee49cb03.entry.js +1 -0
  265. package/dist/ripple/p-f0fbb86b.system.entry.js +1 -0
  266. package/dist/ripple/{p-7e56da2e.system.entry.js → p-f170963b.system.entry.js} +1 -1
  267. package/dist/ripple/{p-29509665.system.entry.js → p-f4f3bf9f.system.entry.js} +1 -1
  268. package/dist/ripple/{p-3e9fcb47.entry.js → p-f95bc54b.entry.js} +1 -1
  269. package/dist/ripple/{p-4fc6019b.system.entry.js → p-fd34619f.system.entry.js} +1 -1
  270. package/dist/ripple/{p-25446670.entry.js → p-ff095cec.entry.js} +1 -1
  271. package/dist/ripple/ripple.esm.js +1 -1
  272. package/dist/ripple/ripple.js +1 -1
  273. package/dist/types/components/datepickers/priv-calendar/priv-calendar.d.ts +72 -0
  274. package/dist/types/components/datepickers/wm-date-range.d.ts +68 -0
  275. package/dist/types/components/{wm-datepicker → datepickers}/wm-datepicker.d.ts +16 -2
  276. package/dist/types/components/wm-file-list/wm-file-list.d.ts +1 -1
  277. package/dist/types/components.d.ts +111 -57
  278. package/dist/types/global/functions.d.ts +25 -0
  279. package/dist/types/global/interfaces.d.ts +14 -0
  280. package/dist/types/stencil-public-runtime.d.ts +3 -10
  281. package/package.json +1 -1
  282. package/dist/cjs/index-f8ef86de.js +0 -2578
  283. package/dist/cjs/priv-datepicker.cjs.entry.js +0 -654
  284. package/dist/collection/components/charts/chartFunctions.spec.js +0 -16
  285. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.e2e.js +0 -81
  286. package/dist/collection/components/charts/screenshots.e2e.js +0 -96
  287. package/dist/collection/components/charts/wm-chart/wm-chart.e2e.js +0 -213
  288. package/dist/collection/components/charts/wm-chart/wm-chart.spec.js +0 -37
  289. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.e2e.js +0 -176
  290. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.spec.js +0 -163
  291. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.e2e.js +0 -69
  292. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.spec.js +0 -79
  293. package/dist/collection/components/wm-action-menu/wm-action-menu.e2e.js +0 -200
  294. package/dist/collection/components/wm-action-menu/wm-action-menu.spec.js +0 -48
  295. package/dist/collection/components/wm-button/wm-button.e2e.js +0 -55
  296. package/dist/collection/components/wm-button/wm-button.spec.js +0 -74
  297. package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.css +0 -323
  298. package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.js +0 -942
  299. package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.spec.js +0 -76
  300. package/dist/collection/components/wm-datepicker/wm-datepicker.e2e.js +0 -382
  301. package/dist/collection/components/wm-datepicker/wm-datepicker.spec.js +0 -21
  302. package/dist/collection/components/wm-file/wm-file.spec.js +0 -194
  303. package/dist/collection/components/wm-file-list/wm-file-list.spec.js +0 -69
  304. package/dist/collection/components/wm-input/wm-input.e2e.js +0 -32
  305. package/dist/collection/components/wm-input/wm-input.spec.js +0 -173
  306. package/dist/collection/components/wm-menuitem/wm-menuitem.e2e.js +0 -23
  307. package/dist/collection/components/wm-menuitem/wm-menuitem.spec.js +0 -54
  308. package/dist/collection/components/wm-modal/wm-modal-footer.spec.js +0 -11
  309. package/dist/collection/components/wm-modal/wm-modal-header.spec.js +0 -8
  310. package/dist/collection/components/wm-modal/wm-modal.e2e.js +0 -104
  311. package/dist/collection/components/wm-modal/wm-modal.spec.js +0 -30
  312. package/dist/collection/components/wm-navigation/wm-navigation.e2e.js +0 -102
  313. package/dist/collection/components/wm-navigation/wm-navigation.spec.js +0 -91
  314. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.e2e.js +0 -50
  315. package/dist/collection/components/wm-navigator/wm-navigator.e2e.js +0 -209
  316. package/dist/collection/components/wm-navigator/wm-navigator.spec.js +0 -177
  317. package/dist/collection/components/wm-option/wm-option.e2e.js +0 -22
  318. package/dist/collection/components/wm-option/wm-option.spec.js +0 -63
  319. package/dist/collection/components/wm-pagination/wm-pagination.e2e.js +0 -312
  320. package/dist/collection/components/wm-search/wm-search.e2e.js +0 -76
  321. package/dist/collection/components/wm-search/wm-search.spec.js +0 -71
  322. package/dist/collection/components/wm-select/wm-select.e2e.js +0 -521
  323. package/dist/collection/components/wm-select/wm-select.spec.js +0 -271
  324. package/dist/collection/components/wm-snackbar/wm-snackbar.e2e.js +0 -112
  325. package/dist/collection/components/wm-snackbar/wm-snackbar.spec.js +0 -9
  326. package/dist/collection/components/wm-tabs/wm-tabs.e2e.js +0 -91
  327. package/dist/collection/components/wm-tabs/wm-tabs.spec.js +0 -12
  328. package/dist/collection/components/wm-tag-input/wm-tag-input.e2e.js +0 -204
  329. package/dist/collection/components/wm-tag-input/wm-tag-input.spec.js +0 -195
  330. package/dist/collection/components/wm-textarea/wm-textarea.e2e.js +0 -41
  331. package/dist/collection/components/wm-textarea/wm-textarea.spec.js +0 -79
  332. package/dist/collection/components/wm-timepicker/wm-timepicker.e2e.js +0 -163
  333. package/dist/collection/components/wm-timepicker/wm-timepicker.spec.js +0 -147
  334. package/dist/collection/components/wm-toggletip/wm-toggletip.e2e.js +0 -69
  335. package/dist/collection/components/wm-toggletip/wm-toggletip.spec.js +0 -21
  336. package/dist/collection/components/wm-uploader/wm-uploader.e2e.js +0 -70
  337. package/dist/collection/components/wm-uploader/wm-uploader.spec.js +0 -234
  338. package/dist/collection/global/functions.spec.js +0 -126
  339. package/dist/collection/lang/lang.spec.js +0 -20
  340. package/dist/esm/index-f164fbca.js +0 -2548
  341. package/dist/esm/priv-datepicker.entry.js +0 -650
  342. package/dist/esm-es5/functions-58918a32.js +0 -1
  343. package/dist/esm-es5/global-cb4fb91c.js +0 -1
  344. package/dist/esm-es5/index-f164fbca.js +0 -1
  345. package/dist/esm-es5/priv-datepicker.entry.js +0 -1
  346. package/dist/ripple/p-0fe97e85.system.js +0 -2
  347. package/dist/ripple/p-105f479a.system.entry.js +0 -1
  348. package/dist/ripple/p-1453ea51.system.entry.js +0 -1
  349. package/dist/ripple/p-194bdaa4.system.entry.js +0 -1
  350. package/dist/ripple/p-30a9ba6e.entry.js +0 -1
  351. package/dist/ripple/p-31f97455.system.entry.js +0 -1
  352. package/dist/ripple/p-39dc88f3.system.entry.js +0 -1
  353. package/dist/ripple/p-3dfc4242.entry.js +0 -1
  354. package/dist/ripple/p-4428c4f0.entry.js +0 -1
  355. package/dist/ripple/p-45126063.system.entry.js +0 -1
  356. package/dist/ripple/p-4bc27adf.entry.js +0 -1
  357. package/dist/ripple/p-4de51706.js +0 -2
  358. package/dist/ripple/p-4fb3748d.js +0 -1
  359. package/dist/ripple/p-5a4f76e1.entry.js +0 -1
  360. package/dist/ripple/p-5ca67373.entry.js +0 -1
  361. package/dist/ripple/p-5ceb9894.entry.js +0 -1
  362. package/dist/ripple/p-5f89831f.system.entry.js +0 -1
  363. package/dist/ripple/p-63d5db34.entry.js +0 -1
  364. package/dist/ripple/p-63fabfed.entry.js +0 -1
  365. package/dist/ripple/p-75592b7a.entry.js +0 -1
  366. package/dist/ripple/p-7e8daaac.entry.js +0 -1
  367. package/dist/ripple/p-7ea95937.entry.js +0 -1
  368. package/dist/ripple/p-7f1efb21.entry.js +0 -1
  369. package/dist/ripple/p-82d5ea8d.system.entry.js +0 -1
  370. package/dist/ripple/p-82f7eca7.entry.js +0 -1
  371. package/dist/ripple/p-88406560.system.entry.js +0 -1
  372. package/dist/ripple/p-895bfa1f.system.js +0 -1
  373. package/dist/ripple/p-8d840770.system.js +0 -1
  374. package/dist/ripple/p-8e1fd831.entry.js +0 -1
  375. package/dist/ripple/p-95e3ee3d.js +0 -1
  376. package/dist/ripple/p-994dc497.system.entry.js +0 -1
  377. package/dist/ripple/p-9dff37db.system.entry.js +0 -1
  378. package/dist/ripple/p-a71bc14f.entry.js +0 -1
  379. package/dist/ripple/p-b0579a2a.system.entry.js +0 -1
  380. package/dist/ripple/p-b1a4f626.system.entry.js +0 -1
  381. package/dist/ripple/p-b3dfb34a.entry.js +0 -1
  382. package/dist/ripple/p-b4cb2b12.entry.js +0 -1
  383. package/dist/ripple/p-c717d895.entry.js +0 -1
  384. package/dist/ripple/p-cd5fdcb1.entry.js +0 -1
  385. package/dist/ripple/p-cd659e3e.system.entry.js +0 -1
  386. package/dist/ripple/p-d02bc2f2.system.entry.js +0 -1
  387. package/dist/ripple/p-d87de822.system.entry.js +0 -1
  388. package/dist/ripple/p-da9937f5.system.js +0 -1
  389. package/dist/ripple/p-dd479c47.entry.js +0 -1
  390. package/dist/ripple/p-df78942e.entry.js +0 -1
  391. package/dist/ripple/p-e1b60b9e.system.entry.js +0 -1
  392. package/dist/ripple/p-e5de7cae.system.entry.js +0 -1
  393. package/dist/ripple/p-eb9cb021.system.entry.js +0 -1
  394. package/dist/ripple/p-ef3e35fa.entry.js +0 -1
  395. package/dist/ripple/p-f2556f03.system.entry.js +0 -1
  396. package/dist/ripple/p-f7ac9698.system.entry.js +0 -1
  397. /package/dist/esm-es5/{interfaces-9b75fb61.js → interfaces-cc5b177f.js} +0 -0
  398. /package/dist/ripple/{p-196eb2f3.js → p-2732bddd.js} +0 -0
  399. /package/dist/ripple/{p-1402cfa2.system.js → p-42fa7a77.system.js} +0 -0
@@ -1,7 +1,11 @@
1
1
  import { h, Host } from "@stencil/core";
2
- import { toBool, handleDisabledAttribute } from "../../global/functions";
2
+ import { intl, toBool, handleDisabledAttribute, hasRoomRight, shouldOpenUp, dateToISO } from "../../global/functions";
3
3
  export class DatePicker {
4
4
  constructor() {
5
+ this.openUp = false;
6
+ this.popupClicked = false;
7
+ this.buttonClicked = false;
8
+ this.isExpanded = false;
5
9
  this.value = "";
6
10
  this.disabled = false;
7
11
  this.dateFormat = "mm/dd/yyyy";
@@ -16,17 +20,17 @@ export class DatePicker {
16
20
  return toBool(this.disabled);
17
21
  }
18
22
  get calendarDate() {
19
- let calendarDate = new Date().toISOString();
23
+ let calendarDate = dateToISO(new Date());
20
24
  const dateFormatUnits = { "mm/dd/yyyy": "US", "dd/mm/yyyy": "INT", "yyyy/mm/dd": "ISO" };
21
- if (this.preselected) {
22
- calendarDate = this.preselected;
23
- }
24
- else if (this.value &&
25
+ if (this.value &&
25
26
  dateFormatUnits[this.dateFormat] &&
26
27
  this.isValidIsoInternal(this.reformatDateInternal(dateFormatUnits[this.dateFormat], "ISO", this.value))) {
27
28
  // if component has value, and value can be parsed to valid ISO
28
29
  calendarDate = this.reformatDateInternal(dateFormatUnits[this.dateFormat], "ISO", this.value);
29
30
  }
31
+ else if (this.preselected) {
32
+ calendarDate = this.preselected;
33
+ }
30
34
  return calendarDate;
31
35
  }
32
36
  handleDisabledChange() {
@@ -40,33 +44,81 @@ export class DatePicker {
40
44
  setTimeout(() => this.announce(this.errorMessage), 100);
41
45
  }
42
46
  }
47
+ togglePopup() {
48
+ this.isExpanded ? this.closePopup() : this.openPopup();
49
+ this.buttonClicked = true;
50
+ }
51
+ closePopup(returnFocus = false) {
52
+ this.isExpanded = false;
53
+ this.popupEl.classList.remove("open");
54
+ window.setTimeout(() => {
55
+ //not using display none in order to get measurements of the popup while hidden
56
+ this.popupEl.style.visibility = "hidden";
57
+ }, 250);
58
+ //Reset values so that menu reopens to day view with selected date in focus
59
+ if (returnFocus) {
60
+ this.toggleEl.focus();
61
+ }
62
+ }
63
+ openPopup() {
64
+ this.openUp = shouldOpenUp(this.el, this.popupEl.clientHeight, this.labelWrapperEl.clientHeight);
65
+ if (hasRoomRight(this.el, 336)) {
66
+ this.popupEl.style.left = "0";
67
+ this.popupEl.style.right = "auto";
68
+ }
69
+ else {
70
+ this.popupEl.style.right = "0";
71
+ this.popupEl.style.left = "auto";
72
+ }
73
+ this.popupEl.style.visibility = "visible";
74
+ window.requestAnimationFrame(() => {
75
+ this.popupEl.classList.add("open");
76
+ });
77
+ this.isExpanded = true;
78
+ this.calEl.focusDate = this.calendarDate;
79
+ this.calEl.startDate = this.calendarDate;
80
+ this.calEl.focusCell();
81
+ }
43
82
  handleInput(ev) {
44
83
  // keep component's value in sync with input's value
45
84
  this.value = ev.target.value;
46
85
  }
47
86
  handleInputBlur() {
48
- this.dpWrapper.classList.remove("focus");
87
+ this.dpWrapperEl.classList.remove("focus");
49
88
  this.wmDatepickerInputBlurred.emit();
50
89
  }
51
90
  handleInputFocus() {
52
- this.dpWrapper.classList.add("focus");
91
+ this.dpWrapperEl.classList.add("focus");
53
92
  }
54
93
  handleInputChange() {
55
94
  // forward change externally
56
95
  const event = new CustomEvent("change");
57
96
  this.el.dispatchEvent(event);
58
97
  }
59
- handlePopupBlurred(ev) {
60
- // emit blur event when leaving component from priv-datepicker
61
- if (ev.detail.relatedTarget !== this.el) {
62
- const event = new CustomEvent("blur");
63
- // @ts-ignore
64
- event.relatedTarget = ev.detail.relatedTarget;
65
- this.el.dispatchEvent(event);
98
+ handleKey(ev) {
99
+ switch (ev.key) {
100
+ case "Escape":
101
+ ev.preventDefault();
102
+ ev.stopPropagation(); // prevents closing of parent modal
103
+ this.closePopup(true);
104
+ break;
105
+ }
106
+ }
107
+ blurHandler() {
108
+ if (!this.popupClicked && !this.buttonClicked && this.isExpanded) {
109
+ this.closePopup();
110
+ }
111
+ this.popupClicked = false;
112
+ this.buttonClicked = false;
113
+ }
114
+ // for cases where the user clicks or uses a shortcut to leave the document
115
+ handleBlurOnWindow() {
116
+ if (this.isExpanded) {
117
+ this.closePopup();
66
118
  }
67
119
  }
68
120
  handleCellTriggered(ev) {
69
- let dateElement = ev.detail;
121
+ let dateElement = ev.detail.cell;
70
122
  let isoDate = dateElement.getAttribute("data-year") +
71
123
  "-" +
72
124
  dateElement.getAttribute("data-month") +
@@ -146,6 +198,11 @@ export class DatePicker {
146
198
  }
147
199
  handleDisabledAttribute(this.el, this.isDisabled);
148
200
  }
201
+ componentDidLoad() {
202
+ this.calEl.addEventListener("click", () => {
203
+ this.popupClicked = true;
204
+ });
205
+ }
149
206
  announce(message) {
150
207
  // \u00A0 is a non-breaking space character, which causes the message to be read as a new one
151
208
  if (this.liveRegionEl.textContent === message) {
@@ -154,19 +211,31 @@ export class DatePicker {
154
211
  this.liveRegionEl.textContent = message;
155
212
  }
156
213
  render() {
157
- return (h(Host, { "aria-busy": "false", class: `${this.errorMessage ? "invalid" : ""}` }, h("div", { ref: (d) => (this.dpWrapper = d), class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { id: "datepickerLabel", htmlFor: "date-input", class: "label", title: `${this.label} (${this.dateFormat})` }, this.label, this.requiredField && (h("span", { "aria-hidden": "true", class: "required" }, "*"))))), h("div", null, h("div", { class: "inner-wrapper" }, h("input", { disabled: this.isDisabled, type: "text", id: "date-input", class: "date-input", name: "date", placeholder: this.dateFormat, value: this.value, onFocus: () => this.handleInputFocus(), onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleInputBlur(), onChange: () => this.handleInputChange(), ref: (input) => (this.inputEl = input), "aria-describedby": "error", "aria-controls": "popup", "aria-label": this.label, "aria-required": this.requiredField ? "true" : null }), h("priv-datepicker", { disabled: this.isDisabled, date: new Date(this.calendarDate) })), h("div", { id: "error", class: "error" }, this.errorMessage), h("div", { ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" })))));
214
+ return (h(Host, { key: 'dc02ac52c52f2146b6818cfb44399df8a87f2eaf', "aria-busy": "false", class: `${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'b06cb70e114f2ce2cf1705a8e917e43d570e19c8', ref: (d) => (this.dpWrapperEl = d), class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '59d5e72dd35e30cdaf7c2e8b13b2725bdfab2c15', class: "label-wrapper", ref: (e) => (this.labelWrapperEl = e) }, this.labelPosition !== "none" && (h("label", { key: '4d0dda8003a5b162a0fbf213e274fbf83bd749fb', id: "datepickerLabel", htmlFor: "date-input", class: "label", title: `${this.label} (${this.dateFormat})` }, this.label, this.requiredField && (h("span", { key: '9d8e26dceb6a9887e092fd14a1d1609c7a7a2035', "aria-hidden": "true", class: "required" }, "*"))))), h("div", { key: 'f50032f60bdd107f7863a922e342f0f0660da780' }, h("div", { key: 'ceb8ed6366d193974a9e0bf60564e2e8679ac95a', class: "single-wrapper input" }, h("input", { key: 'f827817fbca9ca48384b1f622606860d2b4c2427', disabled: this.isDisabled, type: "text", id: "single-date-input", class: "date-input", name: "date", placeholder: this.dateFormat, value: this.value, onFocus: () => this.handleInputFocus(), onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleInputBlur(), onChange: () => this.handleInputChange(), ref: (input) => (this.inputEl = input), "aria-describedby": "error", "aria-label": this.label, "aria-required": this.requiredField ? "true" : null }), h("div", { key: '55fe08e3fe5837a630b1c295fe871dd5fa716fcc', class: "container", id: "wm-container" }, h("button", { key: '7984c6a08ec8e61dd9fc57cbd5f219e1bb01822d', disabled: this.disabled, onClick: this.togglePopup.bind(this), "aria-describedby": "date-input", ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { key: 'd9767516cdfec1535d9085e8f1892a460a4236c3', class: "calendar", title: intl.formatMessage({
215
+ id: "date.calendarView",
216
+ defaultMessage: "Calendar View",
217
+ description: "Calendar button",
218
+ }) })), h("div", { key: '940e5e487e2b2a695b3e47aff7a0d8efc065a15c', class: `popup-wrapper ${this.calEl && this.calEl.view}-view ${this.openUp ? "expand-upwards" : ""}`, id: "popup-wrapper", ref: (el) => (this.popupEl = el), onClick: () => (this.popupClicked = true) }, h("div", { key: '65b02880a0a9b4f2fe50854a7ad0fd669a2b4b43', tabIndex: 0, onFocus: () => this.calEl.focusLastFocusable() }), h("priv-calendar", { key: '7354b8532fc298fbec125623ef91cbcc880d0c16', ref: (el) => (this.calEl = el), startDate: this.calendarDate, focusDate: this.calendarDate, class: "inside" }), h("div", { key: '4a6b82416033fcc71588280ccd7aa59a3b8db264', tabIndex: 0, onFocus: () => this.calEl.focusFirstFocusable() })), h("div", { key: '48aa408267854e62134274f0e089b6fdae5ec247', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: '6bb2169b1738e6e8b83c6c6cdc5bf2936cafcb64', id: "month-title", class: "sr-only" }, intl.formatMessage({
219
+ id: "date.selectMonth",
220
+ defaultMessage: "Activate to select a month.",
221
+ description: "Calendar button",
222
+ })), h("div", { key: 'd7e7703c661440d8cd86959cfb31bd18cb65fd1b', id: "year-title", class: "sr-only" }, intl.formatMessage({
223
+ id: "date.selectYear",
224
+ defaultMessage: "Activate to select a year.",
225
+ description: "Calendar button",
226
+ })))), h("div", { key: '2eb5183a34668d6fdc04960a3212f96998c80c9c', id: "error", class: "error" }, this.errorMessage), h("div", { key: '3a077f86b2332175c0ff853e13d5b903d7e0165f', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" })))));
158
227
  }
159
228
  static get is() { return "wm-datepicker"; }
160
229
  static get encapsulation() { return "shadow"; }
161
230
  static get delegatesFocus() { return true; }
162
231
  static get originalStyleUrls() {
163
232
  return {
164
- "$": ["wm-datepicker.scss"]
233
+ "$": ["datepicker.scss"]
165
234
  };
166
235
  }
167
236
  static get styleUrls() {
168
237
  return {
169
- "$": ["wm-datepicker.css"]
238
+ "$": ["datepicker.css"]
170
239
  };
171
240
  }
172
241
  static get properties() {
@@ -354,14 +423,17 @@ export class DatePicker {
354
423
  "complexType": {
355
424
  "signature": "(inputFormat: string, outputFormat: string, date?: string) => Promise<string>",
356
425
  "parameters": [{
357
- "tags": [],
358
- "text": ""
426
+ "name": "inputFormat",
427
+ "type": "string",
428
+ "docs": ""
359
429
  }, {
360
- "tags": [],
361
- "text": ""
430
+ "name": "outputFormat",
431
+ "type": "string",
432
+ "docs": ""
362
433
  }, {
363
- "tags": [],
364
- "text": ""
434
+ "name": "date",
435
+ "type": "string | undefined",
436
+ "docs": ""
365
437
  }],
366
438
  "references": {
367
439
  "Promise": {
@@ -380,8 +452,9 @@ export class DatePicker {
380
452
  "complexType": {
381
453
  "signature": "(input?: string) => Promise<boolean>",
382
454
  "parameters": [{
383
- "tags": [],
384
- "text": ""
455
+ "name": "input",
456
+ "type": "string | undefined",
457
+ "docs": ""
385
458
  }],
386
459
  "references": {
387
460
  "Promise": {
@@ -413,11 +486,23 @@ export class DatePicker {
413
486
  }
414
487
  static get listeners() {
415
488
  return [{
416
- "name": "popupBlurred",
417
- "method": "handlePopupBlurred",
489
+ "name": "keydown",
490
+ "method": "handleKey",
418
491
  "target": undefined,
419
492
  "capture": false,
420
493
  "passive": false
494
+ }, {
495
+ "name": "click",
496
+ "method": "blurHandler",
497
+ "target": "document",
498
+ "capture": false,
499
+ "passive": false
500
+ }, {
501
+ "name": "blur",
502
+ "method": "handleBlurOnWindow",
503
+ "target": "window",
504
+ "capture": false,
505
+ "passive": false
421
506
  }, {
422
507
  "name": "cellTriggered",
423
508
  "method": "handleCellTriggered",
@@ -190,7 +190,7 @@ export class ActionMenu {
190
190
  return null;
191
191
  }
192
192
  render() {
193
- return (h(Host, { onBlur: () => this.close(false) }, h("div", { class: getTextDir() }, h("wm-button", { "button-type": this.internalButtonType, tooltip: this.tooltip, "custom-background": this.darkMode ? "dark" : undefined, "label-for-identical-buttons": this.labelForIdenticalButtons, icon: this.actionMenuType === "icon" ? "f1d9" : "", iconSize: this.actionMenuType === "icon" ? "24px" : undefined, id: "menubtn", onClick: () => (this.isExpanded ? this.close() : this.open()), onBlur: (ev) => this.handleButtonBlur(ev), disabled: this.disabled, ref: (el) => (this.wmButtonEl = el), "tooltip-position": this.tooltipPosition || this.horizontalPosition, "aria-haspopup": "true", "aria-expanded": this.isExpanded ? "true" : "false", "aria-controls": "menu" }, this.buttonText), h("div", { class: `dropdown ${this.openUp ? "open-up" : ""} ${this.horizontalPosition} ${this.isExpanded ? "open" : ""} hidden`, id: "menu", tabindex: -1, role: "menu", ref: (el) => (this.itemsEl = el) }, h("slot", null)))));
193
+ return (h(Host, { key: '6aee949227af6689ef42c0602952f4a5c29c28fc', onBlur: () => this.close(false) }, h("div", { key: '3bbf25118ba469fb27d2016caf29f007bbf608ea', class: getTextDir() }, h("wm-button", { key: '2d763a0dfcabcfa2eab89f2872f033d7e2ef4d4c', "button-type": this.internalButtonType, tooltip: this.tooltip, "custom-background": this.darkMode ? "dark" : undefined, "label-for-identical-buttons": this.labelForIdenticalButtons, icon: this.actionMenuType === "icon" ? "f1d9" : "", iconSize: this.actionMenuType === "icon" ? "24px" : undefined, id: "menubtn", onClick: () => (this.isExpanded ? this.close() : this.open()), onBlur: (ev) => this.handleButtonBlur(ev), disabled: this.disabled, ref: (el) => (this.wmButtonEl = el), "tooltip-position": this.tooltipPosition || this.horizontalPosition, "aria-haspopup": "true", "aria-expanded": this.isExpanded ? "true" : "false", "aria-controls": "menu" }, this.buttonText), h("div", { key: '4c02118bca8582715ed3903efb8bb9d01ce79cbd', class: `dropdown ${this.openUp ? "open-up" : ""} ${this.horizontalPosition} ${this.isExpanded ? "open" : ""} hidden`, id: "menu", tabindex: -1, role: "menu", ref: (el) => (this.itemsEl = el) }, h("slot", { key: '5c4449c6c3cf44d419a541497f704cf576f8459c' })))));
194
194
  }
195
195
  static get is() { return "wm-action-menu"; }
196
196
  static get encapsulation() { return "shadow"; }
@@ -166,7 +166,7 @@ export class Button {
166
166
  }
167
167
  }
168
168
  render() {
169
- return (h(Host, { class: `${this.isDisabled ? "button-disabled" : ""} -${this.buttonType}` }, h("button", { id: this.id, class: `${this.buttonClasses}`, disabled: this.isDisabled, ref: (el) => (this.buttonEl = el), "aria-label": this.getAriaLabel(), "aria-hasPopup": this.ariaPopup ? "menu" : null, onMouseEnter: (ev) => this.handleMouseEnter(ev), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.handleFocus(ev), onBlur: () => hideTooltip(), onClick: () => hideTooltip() }, this.icon && (h("span", { class: "mdi", style: this.iconStyles, "aria-hidden": "true" }, String.fromCodePoint(parseInt(`0x${this.icon}`)))), h("span", { class: "button-text" }, h("slot", null)))));
169
+ return (h(Host, { key: '694b33a6186e02f844e83001bf66b4296687a889', class: `${this.isDisabled ? "button-disabled" : ""} -${this.buttonType}` }, h("button", { key: '21196e15c07331fcab0f70a67d50fe8f95834642', id: this.id, class: `${this.buttonClasses}`, disabled: this.isDisabled, ref: (el) => (this.buttonEl = el), "aria-label": this.getAriaLabel(), "aria-hasPopup": this.ariaPopup ? "menu" : null, onMouseEnter: (ev) => this.handleMouseEnter(ev), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.handleFocus(ev), onBlur: () => hideTooltip(), onClick: () => hideTooltip() }, this.icon && (h("span", { key: 'ae1db2e7a0cf98269b2817c241b2c9bf6dbcad98', class: "mdi", style: this.iconStyles, "aria-hidden": "true" }, String.fromCodePoint(parseInt(`0x${this.icon}`)))), h("span", { key: '99258f3fa73098dd63c6c398c18ed1687e48d6c8', class: "button-text" }, h("slot", { key: '386583c36cd66b7f66d02bac3c5a33d3264d1340' })))));
170
170
  }
171
171
  static get is() { return "wm-button"; }
172
172
  static get encapsulation() { return "shadow"; }
@@ -168,7 +168,7 @@ export class File {
168
168
  return (h("div", { class: `file-wrapper ${this.progress === 100 ? "checked" : ""}` }, h("div", { class: `file ${this.errorMessage ? "--error" : ""}` }, this.renderFileName(), !this.errorMessage && (h("div", { class: `right-group ${this.isCondensed ? "condensed" : ""}` }, this.renderFileInfo(), this.fileActions !== "" && this.renderFileControls())), this.errorMessage && (h("wm-button", { "permanently-delete": true, "button-type": "textonly", "label-for-identical-buttons": this.generateClearButtonLabel(this.name), onClick: () => this.wmFileErrorCleared.emit() }, this.clearButtonText))), this.errorMessage && h("div", { class: "error-message" }, this.errorMessage)));
169
169
  }
170
170
  render() {
171
- return h(Host, { role: "listitem" }, this.isUploading ? this.renderFileInProgress() : this.renderFile());
171
+ return h(Host, { key: 'ad4adea14b53d45d3e05793d42f8cf3d9bd73ccf', role: "listitem" }, this.isUploading ? this.renderFileInProgress() : this.renderFile());
172
172
  }
173
173
  static get is() { return "wm-file"; }
174
174
  static get encapsulation() { return "shadow"; }
@@ -1,10 +1,10 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class FileList {
3
3
  constructor() {
4
- this.showInfo = "time";
4
+ this.showInfo = "last-updated";
5
5
  }
6
6
  render() {
7
- return (h("div", { role: "list", class: "list-wrapper" }, h("slot", null)));
7
+ return (h("div", { key: 'b89090890295428f5bebf1b79f209ac3289f0ac8', role: "list", class: "list-wrapper" }, h("slot", { key: 'd59cef60abfacc55d0620c0013c7026bd4b4b3af' })));
8
8
  }
9
9
  static get is() { return "wm-file-list"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -25,8 +25,8 @@ export class FileList {
25
25
  "type": "string",
26
26
  "mutable": false,
27
27
  "complexType": {
28
- "original": "\"size\" | \"time\" | \"none\"",
29
- "resolved": "\"none\" | \"size\" | \"time\"",
28
+ "original": "\"size\" | \"last-updated\" | \"uploaded-by\" | \"all\" | \"none\"",
29
+ "resolved": "\"all\" | \"last-updated\" | \"none\" | \"size\" | \"uploaded-by\"",
30
30
  "references": {}
31
31
  },
32
32
  "required": false,
@@ -37,7 +37,7 @@ export class FileList {
37
37
  },
38
38
  "attribute": "show-info",
39
39
  "reflect": false,
40
- "defaultValue": "\"time\""
40
+ "defaultValue": "\"last-updated\""
41
41
  }
42
42
  };
43
43
  }
@@ -101,7 +101,7 @@ export class Input {
101
101
  : `info error`;
102
102
  }
103
103
  render() {
104
- return (h("div", { class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.inputWrapperEl = el) }, h("div", { class: "label-wrapper" }, h("label", { htmlFor: "inputfield", class: "label" }, this.label, this.characterLimit && (h("span", { class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit))), this.requiredField && (h("span", { class: "required", "aria-hidden": "true" }, "*")))), h("div", { class: "inner-wrapper" }, h("div", { class: "text-after-wrapper" }, h("div", { class: `inputfield-wrapper ${this.isDisabled ? "disabled" : ""}`, style: this.getInputWidth() }, this.symbolBefore && (h("span", { class: "symbol", id: "symbol-before" }, this.symbolBefore)), h("input", { ref: (el) => (this.inputEl = el), id: "inputfield", disabled: this.isDisabled, "aria-describedby": this.descriptors(), onInput: (ev) => this.handleInput(ev), onKeyDown: (ev) => this.handleKeyDown(ev), onBlur: () => this.handleBlur(), onFocus: () => this.handleFocus(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, maxLength: this.characterLimit || undefined, type: this.type, step: this.step, max: this.max, min: this.min, value: this.el.value }), this.symbolAfter && (h("span", { class: "symbol", id: "symbol-after" }, this.symbolAfter)), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: "character-count" }, this.charCount, "/", this.characterLimit)) : ("")), this.textAfter && (h("span", { class: "text-after", id: "text-after" }, this.textAfter))), this.info && (h("div", { id: "info", class: "info" }, this.info)), h("div", { id: "error", class: "error-message" }, this.errorMessage), h("div", { class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
104
+ return (h("div", { key: 'b9598ed315d13b3f054d4155499dc00f6b8cc855', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.inputWrapperEl = el) }, h("div", { key: '90b5fe4c5b579e1a520179db171a1d68e4bb7a9c', class: "label-wrapper" }, h("label", { key: '03f832e30622f6fd32178fa95c327feb7ea6638a', htmlFor: "inputfield", class: "label" }, this.label, this.characterLimit && (h("span", { key: '73d65801ae9fa94b946306076bf3622a40d56527', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit))), this.requiredField && (h("span", { key: '382a3b7293ba2f580ffd1f1e920bb392e872ce84', class: "required", "aria-hidden": "true" }, "*")))), h("div", { key: '2463e3168a84fcf47b624ba3507afaf7c47726da', class: "inner-wrapper" }, h("div", { key: '3f4cf72b7af8dd980e4d0f34a7337addca76d170', class: "text-after-wrapper" }, h("div", { key: '6e7812958b117361e821a48926eb6347b0158da4', class: `inputfield-wrapper ${this.isDisabled ? "disabled" : ""}`, style: this.getInputWidth() }, this.symbolBefore && (h("span", { key: '2839c13d5312ba38205d6d1aa82d3a9654d5f06c', class: "symbol", id: "symbol-before" }, this.symbolBefore)), h("input", { key: '741abc0a84608038a13f6432f28f02adc5dc4395', ref: (el) => (this.inputEl = el), id: "inputfield", disabled: this.isDisabled, "aria-describedby": this.descriptors(), onInput: (ev) => this.handleInput(ev), onKeyDown: (ev) => this.handleKeyDown(ev), onBlur: () => this.handleBlur(), onFocus: () => this.handleFocus(), placeholder: this.placeholder, autocomplete: "off", "aria-required": this.requiredField ? "true" : null, maxLength: this.characterLimit || undefined, type: this.type, step: this.step, max: this.max, min: this.min, value: this.el.value }), this.symbolAfter && (h("span", { key: '55ec76f3a809ca1491592875518c8e647843ac99', class: "symbol", id: "symbol-after" }, this.symbolAfter)), this.characterLimit && typeof this.characterLimit === "number" ? (h("div", { class: "character-count" }, this.charCount, "/", this.characterLimit)) : ("")), this.textAfter && (h("span", { key: '908591d6da6542bb2350aa7813429f451611734e', class: "text-after", id: "text-after" }, this.textAfter))), this.info && (h("div", { key: '5dbc627b5db96879daf8c2335f7ae3bb9517e767', id: "info", class: "info" }, this.info)), h("div", { key: 'df38dbf928f9990d5a9d2c6ddaba67d49686f6e4', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: 'c08662f28c17c7eda3809fb73c2badecf8e42c49', class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
105
105
  }
106
106
  static get is() { return "wm-input"; }
107
107
  static get encapsulation() { return "shadow"; }
@@ -88,7 +88,7 @@ export class Menuitem {
88
88
  }
89
89
  }
90
90
  render() {
91
- return (h(Host, { tabindex: -1, role: "menuitem", "aria-disabled": this.disabled ? "true" : null }, h("div", { class: "wrapper", "aria-disabled": this.disabled ? "true" : null }, h("span", { ref: (el) => (this.iconEl = el) }), this.el.textContent, this.description ? h("div", { class: "description" }, this.description) : "")));
91
+ return (h(Host, { key: '3976c5086e875303992f8d492b5e35a6634685b8', tabindex: -1, role: "menuitem", "aria-disabled": this.disabled ? "true" : null }, h("div", { key: 'f89220d2428b80ea543aa7727f1945cca2b3351d', class: "wrapper", "aria-disabled": this.disabled ? "true" : null }, h("span", { key: '21ac7d547e0a2ebc9bc285f3561278d373a70560', ref: (el) => (this.iconEl = el) }), this.el.textContent, this.description ? h("div", { class: "description" }, this.description) : "")));
92
92
  }
93
93
  static get is() { return "wm-menuitem"; }
94
94
  static get encapsulation() { return "shadow"; }
@@ -30,7 +30,7 @@ export class ModalFooter {
30
30
  }
31
31
  }
32
32
  render() {
33
- return (h("div", { class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.secondaryText)), h("wm-button", { "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.primaryText))));
33
+ return (h("div", { key: '6a5fc998c2cb415c166bce85dc52d6e6e6e3a230', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '3b9447834530659308618cdcd0bfb78e6ae5ee07', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: '1eba03d1acf2ff2ff063778d7c44586f0bb1cf4c', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '804287ec369acc9f27f58cd3778b8bb28b0c45b1', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.secondaryText)), h("wm-button", { key: '15b323af0a56f8ef60d4d09432fb9354b35d2cee', "button-type": this.deleteStyle ? "secondary" : "primary", "permanently-delete": this.deleteStyle, onClick: () => this.emitParentPrimaryEvent(), disabled: this.primaryActionDisabled, id: `wm-primary-${this.uid}`, ref: (el) => (!this.primaryActionDisabled ? (this.lastElement = el) : undefined) }, this.primaryText))));
34
34
  }
35
35
  static get is() { return "wm-modal-footer"; }
36
36
  static get originalStyleUrls() {
@@ -21,7 +21,7 @@ export class ModalHeader {
21
21
  parentModal.emitCloseEvent();
22
22
  }
23
23
  render() {
24
- return (h(Host, null, h("div", { class: "wm-wrapper" }, h("div", null, h("h2", { class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { class: "subtitle" }, this.subheading))), h("wm-button", { "button-type": "navigational", icon: "f156", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
24
+ return (h(Host, { key: 'f5719a0f2056c801f776efdc8c4b2c7c414627d4' }, h("div", { key: 'e5695a8b2d36f4f62cc0662e28ca54c28a865921', class: "wm-wrapper" }, h("div", { key: 'a6854d72f3972eeaf13667f04c8ec87773c4dd65' }, h("h2", { key: '5c2f249dd7467787c6fe7a68810f12c709084121', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: 'f8bde096f7807b4989249a2f85ed34d3eebeb0a5', class: "subtitle" }, this.subheading))), h("wm-button", { key: 'be27899f16d1c740c5d4b918939ee4fac281dbfe', "button-type": "navigational", icon: "f156", tooltip: globalMessages.close, "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
25
25
  }
26
26
  static get is() { return "wm-modal-header"; }
27
27
  static get originalStyleUrls() {
@@ -108,11 +108,11 @@ export class Modal {
108
108
  }
109
109
  }
110
110
  render() {
111
- return (h("dialog", { class: `${"wm-" + this.modalType}`, ref: (el) => (this.dialogEl = el), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { class: "tabtrap sr-only", tabindex: "0", onFocus: (ev) => {
111
+ return (h("dialog", { key: '124097f92fff611f4f56f9ad3238517fd0dda19e', class: `${"wm-" + this.modalType}`, ref: (el) => (this.dialogEl = el), onKeyDown: (ev) => this.handleKeyDown(ev) }, h("div", { key: 'd367e02d045c1c563ff6c310ec158b8a7b4e0287', class: "tabtrap sr-only", tabindex: "0", onFocus: (ev) => {
112
112
  const focusedFromCloseButton = ev.relatedTarget && ev.relatedTarget == this.closeButtonEl;
113
113
  // no related target means we're coming from outside the page (browser chrome), and first element should be focused instead
114
114
  focusedFromCloseButton ? this.focusLastElement.emit() : this.focusFirstElement.emit();
115
- } }), !this.hasBrowserPopoverSupport && h("div", { class: "wm-tooltip" }), h("slot", null), h("div", { class: "tabtrap sr-only", tabindex: "0", onFocus: () => {
115
+ } }), !this.hasBrowserPopoverSupport && h("div", { key: 'b6905495813d6e12e2690331fd3a5212c0769ba3', class: "wm-tooltip" }), h("slot", { key: '2360294f11e3ba94727b17df927aa37aea6ecdb3' }), h("div", { key: '51d05952f3e1b145e943e44d245cf9ed31e7f07e', class: "tabtrap sr-only", tabindex: "0", onFocus: () => {
116
116
  this.focusFirstElement.emit();
117
117
  } })));
118
118
  }
@@ -34,7 +34,7 @@ export class NavigationHamburger {
34
34
  this.wmNavigationHamburgerClicked.emit();
35
35
  }
36
36
  render() {
37
- return (h(Host, { class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { "aria-expanded": this.open, "aria-label": this.showNavMessage, onMouseEnter: () => showTooltip("right", this.el, this.showNavMessage), onMouseLeave: () => hideTooltip(), onFocus: () => this.isTabbing && showTooltip("right", this.el, this.showNavMessage), onBlur: () => hideTooltip(), onClick: () => this.handleClick() }, h("span", { class: "icon" }))));
37
+ return (h(Host, { key: 'c35b1c8c6558c87923c15e7b74575420d6263c9f', class: `hamburger ${this.open ? "nav-open" : "nav-closed"}` }, h("button", { key: '723b8603c13abf75a32f1d688c626b64efd8b32e', "aria-expanded": this.open, "aria-label": this.showNavMessage, onMouseEnter: () => showTooltip("right", this.el, this.showNavMessage), onMouseLeave: () => hideTooltip(), onFocus: () => this.isTabbing && showTooltip("right", this.el, this.showNavMessage), onBlur: () => hideTooltip(), onClick: () => this.handleClick() }, h("span", { key: '51e767410bc8436af9a6d8e56ed53485cb8b0350', class: "icon" }))));
38
38
  }
39
39
  static get is() { return "wm-navigation-hamburger"; }
40
40
  static get encapsulation() { return "shadow"; }
@@ -6,7 +6,7 @@ export class NavigationItem {
6
6
  this.active = undefined;
7
7
  }
8
8
  render() {
9
- return (h(Host, { role: "listitem" }, h("a", { class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { class: "icon", "aria-hidden": "true" }, h("slot", null)), h("div", { class: "text" }, this.text))));
9
+ return (h(Host, { key: '130176ebd99c30c1c764436948a854f216d68e37', role: "listitem" }, h("a", { key: '1bd91657782fafe9fbb80e1efa87d2293f9c0cba', class: `link ${this.active ? "active" : ""}`, href: this.href, onClick: () => this.wmNavigationItemClicked.emit() }, h("div", { key: '86bbd36f36f1559fd928880ce5cc916becab32bb', class: "icon", "aria-hidden": "true" }, h("slot", { key: 'd69b35303521eb558aba65dbd5846458f4c80641' })), h("div", { key: '22e322f554019928b41df9e6e56e8d83447de161', class: "text" }, this.text))));
10
10
  }
11
11
  static get is() { return "wm-navigation-item"; }
12
12
  static get encapsulation() { return "shadow"; }
@@ -96,9 +96,9 @@ export class Navigation {
96
96
  } }));
97
97
  }
98
98
  render() {
99
- return (h(Host, { role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { class: "tray" }, h("div", { class: "toggle-wrapper" }, h("wm-button", { ref: (el) => (this.toggleEl = el), class: "toggle", "button-type": "navigational", icon: this.open ? "f156" : "f35c", "icon-size": "2rem", tooltip: this.open ? globalMessages.close : globalMessages.open, "tooltip-position": "right", tabIndex: this.open ? undefined : -1, onClick: () => {
99
+ return (h(Host, { key: '7c5f113bb05143c981df504301dab0f30d3e0b81', role: "navigation", "aria-expanded": this.ariaExpanded, "aria-label": this.mainNavigationMessage }, this.open ? this.renderOverlay() : "", this.isCollapsible && (h("div", { key: '05ab60106ff3b97cfe670ce6d12bad6905ae6f45', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.focusLastItem() })), h("div", { key: 'ec3c3ebca88625ce03b0316acf7a45fe62c51644', class: "tray" }, h("div", { key: '6a6b9a0b8d0c0837d9dd7a18db84880b864b1bad', class: "toggle-wrapper" }, h("wm-button", { key: '261142287e111991df7647368b25fafbd036d8cc', ref: (el) => (this.toggleEl = el), class: "toggle", "button-type": "navigational", icon: this.open ? "f156" : "f35c", "icon-size": "2rem", tooltip: this.open ? globalMessages.close : globalMessages.open, "tooltip-position": "right", tabIndex: this.open ? undefined : -1, onClick: () => {
100
100
  this.open = !this.open;
101
- } })), h("ul", { class: "navlist" }, h("slot", null))), this.isCollapsible && (h("div", { class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.toggleEl.focus() }))));
101
+ } })), h("ul", { key: 'fc16fa9a144d04ae0c9052c8e35c4d0255c38540', class: "navlist" }, h("slot", { key: 'd8fbddab73f4614c544f59ceb7ac148306b2a67d' }))), this.isCollapsible && (h("div", { key: '7ee6cfee0409440f75a118dcf930aca526ceb60e', class: "trapfocus", tabindex: this.open ? 0 : undefined, onFocus: () => this.toggleEl.focus() }))));
102
102
  }
103
103
  static get is() { return "wm-navigation"; }
104
104
  static get encapsulation() { return "shadow"; }
@@ -9,7 +9,7 @@ export class PrivNavigatorButton {
9
9
  }
10
10
  render() {
11
11
  const { handleClick, altText } = this;
12
- return (h("button", { "aria-expanded": this.expanded.toString(), class: "navigator", onClick: handleClick.bind(this), "aria-label": altText }));
12
+ return (h("button", { key: '174beff7daf4010b9d65bbf18c7a98ef1e7c8dfd', "aria-expanded": this.expanded.toString(), class: "navigator", onClick: handleClick.bind(this), "aria-label": altText }));
13
13
  }
14
14
  static get is() { return "priv-navigator-button"; }
15
15
  static get encapsulation() { return "shadow"; }
@@ -16,7 +16,7 @@ export class PrivNavigatorItem {
16
16
  render() {
17
17
  const selectedClass = this.selected ? "selected" : "";
18
18
  const focusedClass = this.focused ? "focused" : "";
19
- return (h("div", { class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", null)));
19
+ return (h("div", { key: '05691ffdf9c186c891e5a3131e2eb76872936bc7', class: `navoption ${selectedClass} ${focusedClass}` }, h("slot", { key: '6a14e7dc6a2a102fe713d42d93db48626870c6b5' })));
20
20
  }
21
21
  static get is() { return "priv-navigator-item"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -137,7 +137,7 @@ export class Option {
137
137
  this.parentSelectEl.addEventListener("wmSelectSearchChanged", (ev) => this.handleSearch(ev));
138
138
  }
139
139
  render() {
140
- return (h(Host, { role: "option", tabindex: this.focused ? 0 : -1, class: this.hostClasses }, h("div", { class: `option-wrapper ${this.parentSelectEl.multiple ? "checkbox" : ""}` }, h("span", { class: "option-text", "aria-hidden": "true", ref: (el) => (this.textEl = el) }, this.el.textContent), h("span", { class: "sr-only" }, this.el.textContent)), h("div", { class: "subinfo" }, this.subinfo)));
140
+ return (h(Host, { key: 'b2816c0c9c04ab1feca35230961976a1054eec07', role: "option", tabindex: this.focused ? 0 : -1, class: this.hostClasses }, h("div", { key: '859702c06a2851a94a693916de1c8c6eeaa30ee0', class: `option-wrapper ${this.parentSelectEl.multiple ? "checkbox" : ""}` }, h("span", { key: 'ee3c7fcefdcb4931f0880a92056bd5d99fd2f42c', class: "option-text", "aria-hidden": "true", ref: (el) => (this.textEl = el) }, this.el.textContent), h("span", { key: 'ff7ffd26cedafdc7cd45301f6e0089a226961fed', class: "sr-only" }, this.el.textContent)), h("div", { key: 'cd936714d6decfd809ddb70cb7c2ffa1e338a840', class: "subinfo" }, this.subinfo)));
141
141
  }
142
142
  static get is() { return "wm-option"; }
143
143
  static get encapsulation() { return "shadow"; }
@@ -151,7 +151,7 @@ export class Pagination {
151
151
  render() {
152
152
  return (
153
153
  // do not render the component if there's only one page
154
- this.totalItems > this.itemsPerPage && (h("nav", { "aria-label": `Pagination Navigation. ${this.getCurrentPagesInView()}. Current page, ${this.currentPage}.` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { id: "status", class: "sr-only", "aria-live": "polite", "aria-relevant": "text", "aria-atomic": "true" }, this.srAnnouncement))));
154
+ this.totalItems > this.itemsPerPage && (h("nav", { key: '279170ea9344595421f6cb90c653cedc52d20e1a', "aria-label": `Pagination Navigation. ${this.getCurrentPagesInView()}. Current page, ${this.currentPage}.` }, this.isLargeSize ? this.renderLarge() : this.renderSmall(), h("div", { key: '445afa781358c9257568cedec5390067198bcbc2', id: "status", class: "sr-only", "aria-live": "polite", "aria-relevant": "text", "aria-atomic": "true" }, this.srAnnouncement))));
155
155
  }
156
156
  static get is() { return "wm-pagination"; }
157
157
  static get encapsulation() { return "shadow"; }
@@ -166,10 +166,10 @@ export class Search {
166
166
  * End search and find render helpers
167
167
  */
168
168
  render() {
169
- return (h(Host, null, h("div", { id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { disabled: this.isDisabled, id: "wm-search-input", placeholder: this.placeholder, "aria-label": `${this.label ? this.label + ". " : ""}${intl.formatMessage({
169
+ return (h(Host, { key: 'e5b19fdc5722fca49420d60834e85cc8305fcd97' }, h("div", { key: 'd4d57d6dec48789a48fd897a69b99987068aedd9', id: "wm-search-wrapper", class: `wm-search-wrapper ${this.searchType}` }, h("input", { key: '652943e2d751527e32f956e93b70926065fa03ea', disabled: this.isDisabled, id: "wm-search-input", placeholder: this.placeholder, "aria-label": `${this.label ? this.label + ". " : ""}${intl.formatMessage({
170
170
  id: "search.typeToFilterResults",
171
171
  defaultMessage: "Type to filter the results",
172
- })}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { class: "mdi search-icon" }, String.fromCodePoint(parseInt(`0xf349`))), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { id: "wm-search-live", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.resultsLiveRegion = el) }, this.announcement)), this.searchType === "find" && this.renderJumpToLink()));
172
+ })}`, onInput: (ev) => this.updateValue(ev.target.value), onBlur: () => this.handleBlur(), "aria-autocomplete": "none", autocomplete: "off", value: this.value }), h("span", { key: '290040dd6d1b910b40a926cac13eda3f6ca44828', class: "mdi search-icon" }, String.fromCodePoint(parseInt(`0xf349`))), this.searchType === "find" && this.renderResultsAndBrowseButtons(), h("div", { key: '4c2f62844d8b63944935f27a53a8d5581fcf1a25', id: "wm-search-live", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.resultsLiveRegion = el) }, this.announcement)), this.searchType === "find" && this.renderJumpToLink()));
173
173
  }
174
174
  static get is() { return "wm-search"; }
175
175
  static get encapsulation() { return "shadow"; }
@@ -380,8 +380,9 @@ export class Search {
380
380
  "complexType": {
381
381
  "signature": "(value: string) => Promise<void>",
382
382
  "parameters": [{
383
- "tags": [],
384
- "text": ""
383
+ "name": "value",
384
+ "type": "string",
385
+ "docs": ""
385
386
  }],
386
387
  "references": {
387
388
  "Promise": {
@@ -553,9 +553,9 @@ export class Select {
553
553
  ["aria-expanded"]: this.isExpanded ? "true" : "false",
554
554
  onClick: () => (this.isExpanded ? this.close() : this.open()),
555
555
  };
556
- return (h(Host, { onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { class: "label-wrapper" }, h("label", { class: "label", id: "label", htmlFor: "selectbtn" }, this.label,
556
+ return (h(Host, { key: 'e651ddc3d8ef856813389575f7b6679ab8efdc75', onBlur: (ev) => this.handleComponentBlur(ev) }, h("div", { key: 'ea379cea56ae179278c07f9e1ca022eb9837cec6', class: `wrapper ${getTextDir()} label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '06e4827c277dbdb42986722a43308fe9341c51d9', class: "label-wrapper" }, h("label", { key: '1a68ef76157e903107ede9ce317c3fb5177743fc', class: "label", id: "label", htmlFor: "selectbtn" }, this.label,
557
557
  // we can't use aria-required or required attributes because it's invalid on the elements we're using (button controlling a listbox)
558
- this.requiredField ? (h("span", { class: "required" }, h("span", { class: "sr-only" }, globalMessages.requiredField), h("span", { "aria-hidden": "true" }, "*"))) : (""))), h("div", { class: "button-wrapper" }, h("button", Object.assign({}, buttonProps, { class: "displayedoption", ref: (el) => (this.buttonEl = el), onBlur: (ev) => this.handleButtonBlur(ev), onFocus: () => this.close() }), h("span", { class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, h("span", { class: "button-text" }, this.renderButtonText()), showSubinfo && h("span", { class: "subinfo" }, this.selectedOptions[0].subinfo)), this.renderOverflowCount()), h("div", { class: `dropdown ${this.isExpanded ? "open" : ""} ${this.openUp ? "upwards" : ""}`, ref: (el) => (this.dropdownEl = el) }, 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.search && this.filteredOptions.length === 0 && this.renderSearchFailedMessage(), this.multiple && this.renderCloneOptions(), h("slot", null))), h("div", { id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), h("div", { id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
558
+ this.requiredField ? (h("span", { class: "required" }, h("span", { class: "sr-only" }, globalMessages.requiredField), h("span", { "aria-hidden": "true" }, "*"))) : (""))), h("div", { key: 'ddfbfffbcc93c0e778917208f24b3d92f1a547ff', class: "button-wrapper" }, h("button", Object.assign({ key: '1208579a1a9d35b6feafddba0073f89030118542' }, buttonProps, { class: "displayedoption", ref: (el) => (this.buttonEl = el), onBlur: (ev) => this.handleButtonBlur(ev), onFocus: () => this.close() }), h("span", { key: '62695c0ee2a634936402ba71463478e61e78b09c', class: `overflowcontrol ${showSubinfo ? "hassubinfo" : ""}` }, h("span", { key: '1b2be4467c3026556c0cc1208864ab29f9d573fa', class: "button-text" }, this.renderButtonText()), showSubinfo && h("span", { key: 'd23922289761d2fff3103b265f0d60585b4b3980', class: "subinfo" }, this.selectedOptions[0].subinfo)), this.renderOverflowCount()), h("div", { key: '9a10eb9f5b4541fcdc5a5c9d5a299e8ae91694d3', class: `dropdown ${this.isExpanded ? "open" : ""} ${this.openUp ? "upwards" : ""}`, ref: (el) => (this.dropdownEl = el) }, this.search && this.renderSearchField(), this.visibleSelectAllButton && this.renderSelectAllButton(), h("div", { key: 'bcbc50fb07fb114635c128761b8c45bc5f081f9f', id: "list", class: "options-wrapper", tabindex: -1, role: "listbox", "aria-multiselectable": this.multiple ? "true" : null, "aria-labelledby": "label", ref: (el) => (this.listboxEl = el) }, this.search && this.filteredOptions.length === 0 && this.renderSearchFailedMessage(), this.multiple && this.renderCloneOptions(), h("slot", { key: '28774d9210a5e9cf05d4db1ccaabf1642ad472f8' }))), h("div", { key: 'c9e85ecbcd361b2196aa7e3224b96437eda59f9e', id: "error", class: this.errorMessage ? "error-message" : "" }, this.errorMessage), h("div", { key: '55954488bfc277fd13521ebbfd6f9f03a3e3d022', id: "announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)))));
559
559
  }
560
560
  static get is() { return "wm-select"; }
561
561
  static get encapsulation() { return "shadow"; }
@@ -105,11 +105,11 @@ export class Snackbar {
105
105
  }, onKeyDown: (ev) => ev.key === "Enter" && this.snackLinkClicked(notification) }, h("span", { "aria-hidden": "true" }, notification.link)))), h("button", { id: `close-button-${notification.id}`, "aria-label": "Close this notification", class: "closesnack", tabindex: notification.link ? 0 : -1, onClick: () => this.snackDismissed(notification), onMouseEnter: (ev) => showTooltip("bottom", ev.target, globalMessages.close), onMouseLeave: () => hideTooltip(), onFocus: (ev) => this.isTabbing && showTooltip("bottom", ev.target, globalMessages.close), onBlur: () => hideTooltip() })), h("div", { class: "sr-only", tabindex: notification.link ? 0 : -1, onFocus: () => notification.link && this.snackDismissed(notification) })))));
106
106
  }
107
107
  render() {
108
- return (h("div", { class: {
108
+ return (h("div", { key: '623edefbaaa6e52e2f55e3fdcd105f6cec89b37e', class: {
109
109
  "wm-snackbars": true,
110
110
  empty: this.parsedNotifications.length === 0,
111
111
  "user-is-tabbing": this.isTabbing,
112
- } }, h("div", { class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement), this.renderSnackbars()));
112
+ } }, h("div", { key: '87c6400cb6682fb06d871e05c40b7c4d3ba7fdae', class: "sr-only", "aria-live": "polite", "aria-atomic": "false", id: `wm-live-region-${this.uid}`, ref: (el) => (this.liveRegionEl = el) }, this.announcement), this.renderSnackbars()));
113
113
  }
114
114
  static get is() { return "wm-snackbar"; }
115
115
  static get encapsulation() { return "shadow"; }
@@ -40,7 +40,7 @@ export class TabItem {
40
40
  "background-size": `calc(100% - ${bkgSize}${units}) 3px`,
41
41
  };
42
42
  }
43
- return (h(Host, { role: "presentation" }, h("li", { class: "tab-item", role: "presentation" }, h("a", { class: `tab ${classes}`, style: styles, role: "tab", ref: (el) => (this.linkEl = el), onClick: this.tabClicked, id: `tab-link-${this.tabId}`, onKeyDown: (ev) => this.tabPressed(ev), "aria-selected": this.selected ? "true" : "false", tabindex: this.selected ? 0 : -1 }, h("slot", null)))));
43
+ return (h(Host, { key: '0d9c95f25f36cd8e37bdacdfc73c9032ab11f8b9', role: "presentation" }, h("li", { key: '6d83fae63842be52110fdcaf1797767c8defa24e', class: "tab-item", role: "presentation" }, h("a", { key: '399e8aa507afa3b70b925969c9fd4508345098fb', class: `tab ${classes}`, style: styles, role: "tab", ref: (el) => (this.linkEl = el), onClick: this.tabClicked, id: `tab-link-${this.tabId}`, onKeyDown: (ev) => this.tabPressed(ev), "aria-selected": this.selected ? "true" : "false", tabindex: this.selected ? 0 : -1 }, h("slot", { key: '3571988e318de8baa6a9d82c464d101f38d12a51' })))));
44
44
  }
45
45
  static get is() { return "wm-tab-item"; }
46
46
  static get encapsulation() { return "shadow"; }
@@ -155,7 +155,7 @@ export class TabList {
155
155
  } }, t.textContent)));
156
156
  }
157
157
  render() {
158
- return h(Host, { class: this.menuLayout ? "menu" : "" }, this.renderMenuOrTabs());
158
+ return h(Host, { key: 'c768cc9153a707b6093d82b387d33df4b67f9adf', class: this.menuLayout ? "menu" : "" }, this.renderMenuOrTabs());
159
159
  }
160
160
  static get is() { return "wm-tab-list"; }
161
161
  static get encapsulation() { return "shadow"; }
@@ -12,7 +12,7 @@ export class TabPanel {
12
12
  this.tabPanelLoaded.emit({ tabId: this.tabId });
13
13
  }
14
14
  render() {
15
- return h(Host, { role: "tabpanel", class: { "tab-hidden": !this.active } });
15
+ return h(Host, { key: '83da2497d78709f8b891e4c3735508b992fc6a90', role: "tabpanel", class: { "tab-hidden": !this.active } });
16
16
  }
17
17
  static get is() { return "wm-tab-panel"; }
18
18
  static get originalStyleUrls() {