@watermarkinsights/ripple 5.7.0-10 → 5.7.0-12

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 (378) hide show
  1. package/dist/{esm/global-687694e4.js → cjs/app-globals-4843dce4.js} +10 -1
  2. package/dist/cjs/{chartFunctions-995023b1.js → chartFunctions-d2a1f4c7.js} +3 -3
  3. package/dist/cjs/{functions-e24249e6.js → functions-5ac8a62f.js} +104 -7
  4. package/dist/cjs/index-788526f5.js +1859 -0
  5. package/dist/cjs/{intl-5aeba788.js → intl-57d1cfd1.js} +1 -1
  6. package/dist/cjs/loader.cjs.js +4 -3
  7. package/dist/cjs/priv-calendar.cjs.entry.js +6 -5
  8. package/dist/cjs/priv-chart-popover.cjs.entry.js +6 -5
  9. package/dist/cjs/priv-navigator-button.cjs.entry.js +4 -3
  10. package/dist/cjs/priv-navigator-item.cjs.entry.js +4 -3
  11. package/dist/cjs/priv-option-list.cjs.entry.js +18 -6
  12. package/dist/cjs/ripple.cjs.js +12 -11
  13. package/dist/cjs/wm-action-menu_2.cjs.entry.js +8 -6
  14. package/dist/cjs/wm-button.cjs.entry.js +5 -4
  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 +9 -8
  18. package/dist/cjs/wm-datepicker.cjs.entry.js +9 -8
  19. package/dist/cjs/wm-file-list.cjs.entry.js +4 -3
  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-pss_3.cjs.entry.js +31 -27
  24. package/dist/cjs/wm-modal_3.cjs.entry.js +13 -10
  25. package/dist/cjs/wm-navigation_3.cjs.entry.js +13 -10
  26. package/dist/cjs/wm-navigator.cjs.entry.js +4 -3
  27. package/dist/cjs/wm-nested-select.cjs.entry.js +8 -7
  28. package/dist/cjs/wm-optgroup.cjs.entry.js +5 -4
  29. package/dist/cjs/wm-option_2.cjs.entry.js +10 -8
  30. package/dist/cjs/wm-pagination.cjs.entry.js +5 -4
  31. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +9 -7
  32. package/dist/cjs/wm-search.cjs.entry.js +7 -6
  33. package/dist/cjs/wm-snackbar.cjs.entry.js +7 -6
  34. package/dist/cjs/wm-tab-item_3.cjs.entry.js +11 -8
  35. package/dist/cjs/wm-tag-input.cjs.entry.js +8 -7
  36. package/dist/cjs/wm-tag-option.cjs.entry.js +2 -2
  37. package/dist/cjs/wm-textarea.cjs.entry.js +6 -5
  38. package/dist/cjs/wm-timepicker.cjs.entry.js +6 -5
  39. package/dist/cjs/wm-toggletip.cjs.entry.js +6 -5
  40. package/dist/cjs/wm-uploader.cjs.entry.js +7 -6
  41. package/dist/cjs/wm-wrapper.cjs.entry.js +1 -1
  42. package/dist/collection/collection-manifest.json +2 -2
  43. package/dist/collection/components/charts/chartFunctions.js +1 -1
  44. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +2 -2
  45. package/dist/collection/components/charts/wm-chart/wm-chart.js +1 -1
  46. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +9 -9
  47. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +1 -1
  48. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +1 -1
  49. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +2 -2
  50. package/dist/collection/components/datepickers/wm-date-range.js +17 -13
  51. package/dist/collection/components/datepickers/wm-datepicker.js +17 -13
  52. package/dist/collection/components/selects/priv-option-list/priv-option-list.css +9 -0
  53. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +19 -6
  54. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +3 -3
  55. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +1 -1
  56. package/dist/collection/components/selects/wm-option/wm-option.js +1 -1
  57. package/dist/collection/components/selects/wm-select/wm-select.js +2 -2
  58. package/dist/collection/components/wm-action-menu/wm-action-menu.js +1 -1
  59. package/dist/collection/components/wm-button/wm-button.js +1 -1
  60. package/dist/collection/components/wm-file/wm-file.js +1 -1
  61. package/dist/collection/components/wm-file-list/wm-file-list.js +1 -1
  62. package/dist/collection/components/wm-input/wm-input.js +1 -1
  63. package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
  64. package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
  65. package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
  66. package/dist/collection/components/wm-modal/wm-modal.js +2 -2
  67. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.css +12 -0
  68. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +2 -2
  69. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.css +12 -0
  70. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +3 -2
  71. package/dist/collection/components/wm-modal-pss/wm-modal-pss.css +16 -2
  72. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +14 -13
  73. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
  74. package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
  75. package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
  76. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
  77. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
  78. package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
  79. package/dist/collection/components/wm-search/wm-search.js +5 -4
  80. package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
  81. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +1 -1
  82. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +1 -1
  83. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
  84. package/dist/collection/components/wm-tag-input/wm-tag-input.js +3 -3
  85. package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
  86. package/dist/collection/components/wm-timepicker/wm-timepicker.js +11 -8
  87. package/dist/collection/components/wm-toggletip/wm-toggletip.js +2 -2
  88. package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
  89. package/dist/collection/dev/pss-modal.js +8 -0
  90. package/dist/collection/dev/scripts.js +12 -15
  91. package/dist/{cjs/global-d1944ab2.js → esm/app-globals-f82e2e43.js} +7 -2
  92. package/dist/esm/{chartFunctions-dfcb1edf.js → chartFunctions-580870de.js} +3 -3
  93. package/dist/esm/{functions-b791a892.js → functions-f39e6177.js} +105 -8
  94. package/dist/esm/index-130e07bb.js +1828 -0
  95. package/dist/esm/{intl-f2f7ce8b.js → intl-dda73e98.js} +1 -1
  96. package/dist/esm/loader.js +5 -4
  97. package/dist/esm/priv-calendar.entry.js +6 -5
  98. package/dist/esm/priv-chart-popover.entry.js +6 -5
  99. package/dist/esm/priv-navigator-button.entry.js +4 -3
  100. package/dist/esm/priv-navigator-item.entry.js +4 -3
  101. package/dist/esm/priv-option-list.entry.js +18 -6
  102. package/dist/esm/ripple.js +13 -12
  103. package/dist/esm/wm-action-menu_2.entry.js +8 -6
  104. package/dist/esm/wm-button.entry.js +5 -4
  105. package/dist/esm/wm-chart-slice.entry.js +1 -1
  106. package/dist/esm/wm-chart.entry.js +7 -6
  107. package/dist/esm/wm-date-range.entry.js +9 -8
  108. package/dist/esm/wm-datepicker.entry.js +9 -8
  109. package/dist/esm/wm-file-list.entry.js +4 -3
  110. package/dist/esm/wm-file.entry.js +5 -4
  111. package/dist/esm/wm-input.entry.js +6 -5
  112. package/dist/esm/wm-line-chart.entry.js +15 -14
  113. package/dist/esm/wm-modal-pss_3.entry.js +29 -25
  114. package/dist/esm/wm-modal_3.entry.js +13 -10
  115. package/dist/esm/wm-navigation_3.entry.js +13 -10
  116. package/dist/esm/wm-navigator.entry.js +4 -3
  117. package/dist/esm/wm-nested-select.entry.js +8 -7
  118. package/dist/esm/wm-optgroup.entry.js +5 -4
  119. package/dist/esm/wm-option_2.entry.js +10 -8
  120. package/dist/esm/wm-pagination.entry.js +5 -4
  121. package/dist/esm/wm-progress-indicator_3.entry.js +9 -7
  122. package/dist/esm/wm-search.entry.js +7 -6
  123. package/dist/esm/wm-snackbar.entry.js +7 -6
  124. package/dist/esm/wm-tab-item_3.entry.js +11 -8
  125. package/dist/esm/wm-tag-input.entry.js +8 -7
  126. package/dist/esm/wm-tag-option.entry.js +2 -2
  127. package/dist/esm/wm-textarea.entry.js +6 -5
  128. package/dist/esm/wm-timepicker.entry.js +6 -5
  129. package/dist/esm/wm-toggletip.entry.js +6 -5
  130. package/dist/esm/wm-uploader.entry.js +7 -6
  131. package/dist/esm/wm-wrapper.entry.js +1 -1
  132. package/dist/esm-es5/app-globals-f82e2e43.js +1 -0
  133. package/dist/esm-es5/{chartFunctions-dfcb1edf.js → chartFunctions-580870de.js} +1 -1
  134. package/dist/esm-es5/functions-f39e6177.js +1 -0
  135. package/dist/esm-es5/index-130e07bb.js +1 -0
  136. package/dist/esm-es5/{intl-f2f7ce8b.js → intl-dda73e98.js} +1 -1
  137. package/dist/esm-es5/loader.js +1 -1
  138. package/dist/esm-es5/priv-calendar.entry.js +1 -1
  139. package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
  140. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  141. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  142. package/dist/esm-es5/priv-option-list.entry.js +1 -1
  143. package/dist/esm-es5/ripple.js +1 -1
  144. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  145. package/dist/esm-es5/wm-button.entry.js +1 -1
  146. package/dist/esm-es5/wm-chart-slice.entry.js +1 -1
  147. package/dist/esm-es5/wm-chart.entry.js +1 -1
  148. package/dist/esm-es5/wm-date-range.entry.js +1 -1
  149. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  150. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  151. package/dist/esm-es5/wm-file.entry.js +1 -1
  152. package/dist/esm-es5/wm-input.entry.js +1 -1
  153. package/dist/esm-es5/wm-line-chart.entry.js +1 -1
  154. package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
  155. package/dist/esm-es5/wm-modal_3.entry.js +1 -1
  156. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  157. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  158. package/dist/esm-es5/wm-nested-select.entry.js +1 -1
  159. package/dist/esm-es5/wm-optgroup.entry.js +1 -1
  160. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  161. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  162. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  163. package/dist/esm-es5/wm-search.entry.js +1 -1
  164. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  165. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  166. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  167. package/dist/esm-es5/wm-tag-option.entry.js +1 -1
  168. package/dist/esm-es5/wm-textarea.entry.js +1 -1
  169. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  170. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  171. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  172. package/dist/esm-es5/wm-wrapper.entry.js +1 -1
  173. package/dist/loader/cdn.js +1 -2
  174. package/dist/loader/index.cjs.js +1 -2
  175. package/dist/loader/index.d.ts +3 -0
  176. package/dist/loader/index.es2017.js +1 -2
  177. package/dist/loader/index.js +1 -2
  178. package/dist/ripple/{p-65d26233.system.entry.js → p-043901ab.system.entry.js} +1 -1
  179. package/dist/ripple/p-07728274.system.entry.js +1 -0
  180. package/dist/ripple/{p-c1e3c2fb.entry.js → p-08f8d514.entry.js} +1 -1
  181. package/dist/ripple/{p-db9657eb.system.entry.js → p-09a2b674.system.entry.js} +1 -1
  182. package/dist/ripple/p-0a34fcb5.entry.js +1 -0
  183. package/dist/ripple/{p-c853e185.system.entry.js → p-0ddae2a9.system.entry.js} +1 -1
  184. package/dist/ripple/p-0e2a22ae.system.entry.js +1 -0
  185. package/dist/ripple/{p-48e09589.entry.js → p-13b1d775.entry.js} +1 -1
  186. package/dist/ripple/p-1db0e425.system.entry.js +1 -0
  187. package/dist/ripple/p-25876f66.system.entry.js +1 -0
  188. package/dist/ripple/{p-c2e00d4a.system.entry.js → p-26f0e002.system.entry.js} +1 -1
  189. package/dist/ripple/{p-eddbcb21.js → p-28f57d27.js} +1 -1
  190. package/dist/ripple/p-29d4515a.system.entry.js +1 -0
  191. package/dist/ripple/p-302fdc48.system.js +1 -0
  192. package/dist/ripple/p-3f486eed.system.js +1 -0
  193. package/dist/ripple/p-43328b55.entry.js +1 -0
  194. package/dist/ripple/p-45ecb7c2.system.entry.js +1 -0
  195. package/dist/ripple/p-46423187.entry.js +1 -0
  196. package/dist/ripple/p-47ae626d.entry.js +1 -0
  197. package/dist/ripple/p-4c4f6975.system.entry.js +1 -0
  198. package/dist/ripple/p-5012dbbd.system.entry.js +1 -0
  199. package/dist/ripple/p-582f31de.entry.js +1 -0
  200. package/dist/ripple/p-59062511.entry.js +1 -0
  201. package/dist/ripple/p-5e8e65a4.entry.js +1 -0
  202. package/dist/ripple/{p-5284791c.entry.js → p-5eac85ef.entry.js} +1 -1
  203. package/dist/ripple/p-5edde9c7.system.entry.js +1 -0
  204. package/dist/ripple/p-611ae855.entry.js +1 -0
  205. package/dist/ripple/{p-f90e4094.entry.js → p-6353196c.entry.js} +1 -1
  206. package/dist/ripple/p-640ad470.system.entry.js +1 -0
  207. package/dist/ripple/p-65817387.entry.js +1 -0
  208. package/dist/ripple/p-66c550ee.system.entry.js +1 -0
  209. package/dist/ripple/{p-e687176d.entry.js → p-695915d1.entry.js} +1 -1
  210. package/dist/ripple/p-6a44fb2e.system.entry.js +1 -0
  211. package/dist/ripple/{p-5a9e3108.system.entry.js → p-7373746a.system.entry.js} +1 -1
  212. package/dist/ripple/{p-21d372ed.js → p-73ce9af7.js} +1 -1
  213. package/dist/ripple/{p-5300b15d.entry.js → p-76d248e6.entry.js} +1 -1
  214. package/dist/ripple/p-78f2e1a4.entry.js +1 -0
  215. package/dist/ripple/{p-828adbf1.system.js → p-80893d2c.system.js} +1 -1
  216. package/dist/ripple/{p-32bf3f5b.system.entry.js → p-823d7b4e.system.entry.js} +1 -1
  217. package/dist/ripple/p-84ba26d4.entry.js +1 -0
  218. package/dist/ripple/p-88351f28.entry.js +1 -0
  219. package/dist/ripple/p-89a2db02.js +1 -0
  220. package/dist/ripple/p-8c5a6222.system.entry.js +1 -0
  221. package/dist/ripple/p-8f5755ba.system.entry.js +1 -0
  222. package/dist/ripple/{p-0b1c6965.system.entry.js → p-9673d4bb.system.entry.js} +1 -1
  223. package/dist/ripple/p-98722601.system.entry.js +1 -0
  224. package/dist/ripple/{p-45f9ad09.entry.js → p-98df2c1b.entry.js} +1 -1
  225. package/dist/ripple/p-9fce2ede.entry.js +1 -0
  226. package/dist/ripple/p-a792027f.system.entry.js +1 -0
  227. package/dist/ripple/{p-a3c01e10.system.entry.js → p-aacc2eb4.system.entry.js} +1 -1
  228. package/dist/ripple/p-aae2d577.entry.js +1 -0
  229. package/dist/ripple/p-ab4a5b31.system.entry.js +1 -0
  230. package/dist/ripple/p-abb112f9.entry.js +1 -0
  231. package/dist/ripple/{p-ca971eac.system.entry.js → p-abcabbcd.system.entry.js} +1 -1
  232. package/dist/ripple/p-ad7c0be3.entry.js +1 -0
  233. package/dist/ripple/p-b0888c07.entry.js +1 -0
  234. package/dist/ripple/{p-81c2df85.system.js → p-b0dddc8b.system.js} +1 -1
  235. package/dist/ripple/p-bd3d8207.entry.js +1 -0
  236. package/dist/ripple/p-be03eb42.entry.js +1 -0
  237. package/dist/ripple/p-c1861e9f.js +1 -0
  238. package/dist/ripple/p-c1f0c657.entry.js +1 -0
  239. package/dist/ripple/{p-fa4f1030.system.entry.js → p-c34c9cbb.system.entry.js} +1 -1
  240. package/dist/ripple/p-c497187e.entry.js +1 -0
  241. package/dist/ripple/p-c8ecf28b.system.entry.js +1 -0
  242. package/dist/ripple/{p-88ebddd7.entry.js → p-cd0cc88d.entry.js} +1 -1
  243. package/dist/ripple/{p-505eca1c.system.entry.js → p-ce5548d8.system.entry.js} +1 -1
  244. package/dist/ripple/p-cef8a45b.system.js +2 -0
  245. package/dist/ripple/p-d60c6330.system.entry.js +1 -0
  246. package/dist/ripple/p-d9da0502.js +2 -0
  247. package/dist/ripple/p-dbc96051.entry.js +1 -0
  248. package/dist/ripple/p-df694f7b.system.entry.js +1 -0
  249. package/dist/ripple/p-e11f755d.system.js +1 -0
  250. package/dist/ripple/p-e364d638.entry.js +1 -0
  251. package/dist/ripple/{p-72165bd2.entry.js → p-e803fb5c.entry.js} +1 -1
  252. package/dist/ripple/p-e883a4e2.entry.js +1 -0
  253. package/dist/ripple/p-f096fd7b.entry.js +1 -0
  254. package/dist/ripple/{p-3e415c49.system.entry.js → p-f5e126a7.system.entry.js} +1 -1
  255. package/dist/ripple/p-fdcdcf81.system.entry.js +1 -0
  256. package/dist/ripple/p-ffddb512.system.entry.js +1 -0
  257. package/dist/ripple/ripple.esm.js +1 -1
  258. package/dist/ripple/ripple.js +1 -1
  259. package/dist/types/components/wm-modal-pss/wm-modal-pss-footer.d.ts +1 -1
  260. package/dist/types/components/wm-modal-pss/wm-modal-pss-header.d.ts +1 -1
  261. package/dist/types/components/wm-modal-pss/wm-modal-pss.d.ts +33 -0
  262. package/dist/types/stencil-public-runtime.d.ts +3 -10
  263. package/package.json +1 -1
  264. package/dist/cjs/index-e86c28b6.js +0 -2649
  265. package/dist/collection/components/charts/chartFunctions.spec.js +0 -16
  266. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.e2e.js +0 -81
  267. package/dist/collection/components/charts/screenshots.e2e.js +0 -96
  268. package/dist/collection/components/charts/wm-chart/wm-chart.e2e.js +0 -213
  269. package/dist/collection/components/charts/wm-chart/wm-chart.spec.js +0 -37
  270. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.e2e.js +0 -176
  271. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.spec.js +0 -163
  272. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.e2e.js +0 -69
  273. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.spec.js +0 -79
  274. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.spec.js +0 -89
  275. package/dist/collection/components/datepickers/wm-date-range.e2e.js +0 -443
  276. package/dist/collection/components/datepickers/wm-date-range.spec.js +0 -22
  277. package/dist/collection/components/datepickers/wm-datepicker.e2e.js +0 -382
  278. package/dist/collection/components/datepickers/wm-datepicker.spec.js +0 -21
  279. package/dist/collection/components/selects/wm-option/wm-option.e2e.js +0 -22
  280. package/dist/collection/components/selects/wm-option/wm-option.spec.js +0 -63
  281. package/dist/collection/components/selects/wm-select/wm-select.e2e.js +0 -521
  282. package/dist/collection/components/selects/wm-select/wm-select.spec.js +0 -271
  283. package/dist/collection/components/wm-action-menu/wm-action-menu.e2e.js +0 -200
  284. package/dist/collection/components/wm-action-menu/wm-action-menu.spec.js +0 -48
  285. package/dist/collection/components/wm-button/wm-button.e2e.js +0 -55
  286. package/dist/collection/components/wm-button/wm-button.spec.js +0 -74
  287. package/dist/collection/components/wm-file/wm-file.spec.js +0 -194
  288. package/dist/collection/components/wm-file-list/wm-file-list.spec.js +0 -69
  289. package/dist/collection/components/wm-input/wm-input.e2e.js +0 -32
  290. package/dist/collection/components/wm-input/wm-input.spec.js +0 -173
  291. package/dist/collection/components/wm-menuitem/wm-menuitem.e2e.js +0 -23
  292. package/dist/collection/components/wm-menuitem/wm-menuitem.spec.js +0 -54
  293. package/dist/collection/components/wm-modal/wm-modal-footer.spec.js +0 -11
  294. package/dist/collection/components/wm-modal/wm-modal-header.spec.js +0 -8
  295. package/dist/collection/components/wm-modal/wm-modal.e2e.js +0 -104
  296. package/dist/collection/components/wm-modal/wm-modal.spec.js +0 -30
  297. package/dist/collection/components/wm-navigation/wm-navigation.e2e.js +0 -102
  298. package/dist/collection/components/wm-navigation/wm-navigation.spec.js +0 -91
  299. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.e2e.js +0 -50
  300. package/dist/collection/components/wm-navigator/wm-navigator.e2e.js +0 -209
  301. package/dist/collection/components/wm-navigator/wm-navigator.spec.js +0 -177
  302. package/dist/collection/components/wm-pagination/wm-pagination.e2e.js +0 -312
  303. package/dist/collection/components/wm-search/wm-search.e2e.js +0 -76
  304. package/dist/collection/components/wm-search/wm-search.spec.js +0 -71
  305. package/dist/collection/components/wm-snackbar/wm-snackbar.e2e.js +0 -112
  306. package/dist/collection/components/wm-snackbar/wm-snackbar.spec.js +0 -9
  307. package/dist/collection/components/wm-tabs/wm-tabs.e2e.js +0 -91
  308. package/dist/collection/components/wm-tabs/wm-tabs.spec.js +0 -12
  309. package/dist/collection/components/wm-tag-input/wm-tag-input.e2e.js +0 -204
  310. package/dist/collection/components/wm-tag-input/wm-tag-input.spec.js +0 -195
  311. package/dist/collection/components/wm-textarea/wm-textarea.e2e.js +0 -41
  312. package/dist/collection/components/wm-textarea/wm-textarea.spec.js +0 -79
  313. package/dist/collection/components/wm-timepicker/wm-timepicker.e2e.js +0 -163
  314. package/dist/collection/components/wm-timepicker/wm-timepicker.spec.js +0 -147
  315. package/dist/collection/components/wm-toggletip/wm-toggletip.e2e.js +0 -69
  316. package/dist/collection/components/wm-toggletip/wm-toggletip.spec.js +0 -21
  317. package/dist/collection/components/wm-uploader/wm-uploader.e2e.js +0 -70
  318. package/dist/collection/components/wm-uploader/wm-uploader.spec.js +0 -234
  319. package/dist/collection/global/functions.spec.js +0 -126
  320. package/dist/collection/lang/lang.spec.js +0 -20
  321. package/dist/esm/index-558b5a82.js +0 -2618
  322. package/dist/esm-es5/functions-b791a892.js +0 -1
  323. package/dist/esm-es5/global-687694e4.js +0 -1
  324. package/dist/esm-es5/index-558b5a82.js +0 -1
  325. package/dist/ripple/p-012cab20.entry.js +0 -1
  326. package/dist/ripple/p-021ff5fa.system.entry.js +0 -1
  327. package/dist/ripple/p-02deae76.entry.js +0 -1
  328. package/dist/ripple/p-1389302e.system.entry.js +0 -1
  329. package/dist/ripple/p-149a22bf.entry.js +0 -1
  330. package/dist/ripple/p-16f65bf4.js +0 -1
  331. package/dist/ripple/p-1d18d9d2.system.entry.js +0 -1
  332. package/dist/ripple/p-1e625a5e.entry.js +0 -1
  333. package/dist/ripple/p-215793a4.entry.js +0 -1
  334. package/dist/ripple/p-226fe4e0.entry.js +0 -1
  335. package/dist/ripple/p-236af552.entry.js +0 -1
  336. package/dist/ripple/p-2e79fa49.entry.js +0 -1
  337. package/dist/ripple/p-30b905eb.system.entry.js +0 -1
  338. package/dist/ripple/p-311923b2.system.entry.js +0 -1
  339. package/dist/ripple/p-3d50db36.entry.js +0 -1
  340. package/dist/ripple/p-3deaf4d9.system.entry.js +0 -1
  341. package/dist/ripple/p-41550baa.entry.js +0 -1
  342. package/dist/ripple/p-568c595f.js +0 -2
  343. package/dist/ripple/p-6cc07645.system.entry.js +0 -1
  344. package/dist/ripple/p-6d129ef8.system.entry.js +0 -1
  345. package/dist/ripple/p-6e725656.system.entry.js +0 -1
  346. package/dist/ripple/p-6fdfe9f4.system.entry.js +0 -1
  347. package/dist/ripple/p-725230dd.system.entry.js +0 -1
  348. package/dist/ripple/p-749597da.system.entry.js +0 -1
  349. package/dist/ripple/p-77e48f61.system.entry.js +0 -1
  350. package/dist/ripple/p-83be63f6.entry.js +0 -1
  351. package/dist/ripple/p-84ba5b74.entry.js +0 -1
  352. package/dist/ripple/p-902a54c5.entry.js +0 -1
  353. package/dist/ripple/p-a0ecb6d7.system.entry.js +0 -1
  354. package/dist/ripple/p-ab8d78cc.system.js +0 -2
  355. package/dist/ripple/p-ad1bdcd6.js +0 -1
  356. package/dist/ripple/p-add3ab3d.system.js +0 -1
  357. package/dist/ripple/p-ade3d9a9.entry.js +0 -1
  358. package/dist/ripple/p-ae82b3d2.system.js +0 -1
  359. package/dist/ripple/p-aea13873.entry.js +0 -1
  360. package/dist/ripple/p-b01f9998.system.entry.js +0 -1
  361. package/dist/ripple/p-b9dbf1f4.entry.js +0 -1
  362. package/dist/ripple/p-bf7d98d8.entry.js +0 -1
  363. package/dist/ripple/p-c47fab48.entry.js +0 -1
  364. package/dist/ripple/p-c885c7f9.entry.js +0 -1
  365. package/dist/ripple/p-c9543950.system.entry.js +0 -1
  366. package/dist/ripple/p-ca397ba6.system.js +0 -1
  367. package/dist/ripple/p-cad0c5f9.system.entry.js +0 -1
  368. package/dist/ripple/p-cff5d7e9.system.entry.js +0 -1
  369. package/dist/ripple/p-df157138.entry.js +0 -1
  370. package/dist/ripple/p-e081fdc2.system.entry.js +0 -1
  371. package/dist/ripple/p-ed1f6b8d.system.entry.js +0 -1
  372. package/dist/ripple/p-f13b034e.entry.js +0 -1
  373. package/dist/ripple/p-f2101a0d.entry.js +0 -1
  374. package/dist/ripple/p-f24572f5.entry.js +0 -1
  375. package/dist/ripple/p-f3f4620c.entry.js +0 -1
  376. package/dist/ripple/p-f40e1468.system.entry.js +0 -1
  377. package/dist/ripple/p-f4bcee58.system.entry.js +0 -1
  378. package/dist/ripple/p-ff1ed90f.entry.js +0 -1
@@ -1,9 +1,10 @@
1
- import { r as registerInstance, f as forceUpdate, h, H as Host, g as getElement } from './index-558b5a82.js';
2
- import { g as generateId, d as debounce } from './functions-b791a892.js';
3
- import { a as allChartsDetails, h as handleChartKeydown, g as getDetails, r as removeSegmentInfoHighlight, b as renderSimpleBar, c as renderStackedBar, d as renderDoughnut, e as renderInstructionsText, f as renderLegend, i as renderHiddenValuesMessage, j as exitChart, k as amountToPercent } from './chartFunctions-dfcb1edf.js';
4
- import { c as chartMessages } from './intl-f2f7ce8b.js';
1
+ import { r as registerInstance, f as forceUpdate, h, H as Host, g as getElement } from './index-130e07bb.js';
2
+ import { g as generateId, d as debounce } from './functions-f39e6177.js';
3
+ import { a as allChartsDetails, h as handleChartKeydown, g as getDetails, r as removeSegmentInfoHighlight, b as renderSimpleBar, c as renderStackedBar, d as renderDoughnut, e as renderInstructionsText, f as renderLegend, i as renderHiddenValuesMessage, j as exitChart, k as amountToPercent } from './chartFunctions-580870de.js';
4
+ import { c as chartMessages } from './intl-dda73e98.js';
5
5
 
6
6
  const wmChartCss = ":host{--wmcolor-chart-label-text-negative:var(--wmcolor-text-negative);--wmcolor-chart-label-text-positive:var(--wmcolor-text-positive);--wmcolor-chart-label-text:var(--wmcolor-text);--wmcolor-chart-subinfo-text:var(--wmcolor-text);--wmcolor-chart-value-text:var(--wmcolor-text);display:block}:host .component-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;font-size:0.875rem;position:relative;outline:none;}:host .component-wrapper:focus-visible{outline:3px solid var(--wmcolor-interactive-focus);outline-offset:2px}:host .component-wrapper .label{display:block;margin:0;padding-bottom:0.25rem;font-weight:600;position:relative}:host .component-wrapper .label .subinfo{display:block;font-weight:normal;font-style:italic;bottom:0.25rem;width:100%;color:var(--wmcolor-chart-subinfo-text)}:host .component-wrapper .label.custom-width{width:var(--custom-label-width)}:host .component-wrapper .label.--none{display:none}:host .component-wrapper .doughnut-svg,:host .component-wrapper .inner-stacked-bar-wrapper{overflow:visible}:host .component-wrapper .bar-wrapper{-ms-flex-positive:1;flex-grow:1;width:100%}:host .component-wrapper .bar-wrapper .inner-stacked-bar-wrapper{width:100%}:host .component-wrapper .bar-wrapper .inner-stacked-bar-wrapper .values{display:-ms-flexbox;display:flex;gap:2px;margin-bottom:8px}:host .component-wrapper .bar-wrapper .inner-stacked-bar-wrapper .values.none{margin:0}:host .component-wrapper .bar-wrapper .inner-stacked-bar-wrapper .stacked-bar-segments-wrapper{display:-ms-flexbox;display:flex;gap:2px}:host .component-wrapper .bar-wrapper .inner-stacked-bar-wrapper .stacked-bar-segments-wrapper .stacked-bar-segment{height:30px;cursor:pointer}:host .component-wrapper .segment{print-color-adjust:exact;-webkit-print-color-adjust:exact}:host .component-wrapper .segment.fixed-width{-ms-flex-negative:0;flex-shrink:0}:host .component-wrapper .doughnut-wrapper{-webkit-border-radius:4px;-moz-border-radius:4px;-ms-border-radius:4px;border-radius:4px}:host .component-wrapper .doughnut-wrapper .doughnut-segment{cursor:pointer}:host .component-wrapper .value-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}:host .component-wrapper .value-wrapper .fixed-width{-ms-flex-negative:0;flex-shrink:0}:host .component-wrapper .value-wrapper .value.hidden{visibility:hidden}:host .component-wrapper .faded{opacity:0.3}:host .component-wrapper path:active,:host .component-wrapper path:hover,:host .component-wrapper path:focus,:host .component-wrapper .stacked-bar-segment:active,:host .component-wrapper .stacked-bar-segment:hover,:host .component-wrapper .stacked-bar-segment:focus{outline:none}:host .component-wrapper .stacked-bar-segment:active.stacked-bar-segment:not(:focus-visible),:host .component-wrapper .stacked-bar-segment:hover.stacked-bar-segment:not(:focus-visible),:host .component-wrapper .stacked-bar-segment:focus.stacked-bar-segment:not(:focus-visible){-webkit-box-shadow:0px 0px 6px #333;-moz-box-shadow:0px 0px 6px #333;box-shadow:0px 0px 6px #333}:host .component-wrapper path:active.doughnut-segment:not(:focus-visible),:host .component-wrapper path:hover.doughnut-segment:not(:focus-visible),:host .component-wrapper path:focus.doughnut-segment:not(:focus-visible),:host .component-wrapper .stacked-bar-segment:active.doughnut-segment:not(:focus-visible),:host .component-wrapper .stacked-bar-segment:hover.doughnut-segment:not(:focus-visible),:host .component-wrapper .stacked-bar-segment:focus.doughnut-segment:not(:focus-visible){-webkit-filter:url(#wmHoverDropShadow);filter:url(#wmHoverDropShadow)}:host .component-wrapper path::-moz-focus-inner,:host .component-wrapper .stacked-bar-segment::-moz-focus-inner{border:0;outline:none}:host .component-wrapper .stacked-bar-segment:focus-visible{outline:3px solid var(--wmcolor-interactive-focus);outline-offset:2px;-webkit-box-shadow:0 0 0 7px white;box-shadow:0 0 0 7px white;z-index:1}:host .component-wrapper #kfbg1{stroke:white;stroke-width:10px}:host .component-wrapper #kfstroke{stroke:var(--wmcolor-interactive-focus);stroke-width:6px}:host .component-wrapper #kfbg2{stroke:white;stroke-width:2px}:host .component-wrapper.doughnut{width:300px}:host .component-wrapper.doughnut1 label,:host .component-wrapper.doughnut1 .label-text,:host .component-wrapper.doughnut2 label,:host .component-wrapper.doughnut2 .label-text,:host .component-wrapper.doughnut3 label,:host .component-wrapper.doughnut3 .label-text{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}:host .component-wrapper.doughnut{-ms-flex-align:center;align-items:center}:host .component-wrapper.doughnut label{text-align:center;width:100%;padding-bottom:1.5rem}:host .component-wrapper.doughnut label .subinfo{position:absolute}:host .component-wrapper.doughnut .completion-message{padding-top:0.625rem}:host .component-wrapper.bar{-ms-flex-align:start;align-items:flex-start}:host .component-wrapper.bar label{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host .component-wrapper.bar label .subinfo{position:initial}:host .component-wrapper.bar .chart-wrapper{display:-ms-flexbox;display:flex}:host .component-wrapper.bar .chart-wrapper .single-perc{width:4rem;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;height:30px;-ms-flex-align:center;align-items:center}:host .component-wrapper.bar .chart-wrapper .inner-stacked-bar-wrapper{-ms-flex:1;flex:1}:host .component-wrapper.bar .chart-wrapper .completion-message{width:100%;text-align:right;margin-top:0.25rem}@media screen and (min-width: 768px){:host .component-wrapper.bar{-ms-flex-direction:row;flex-direction:row}:host .component-wrapper.bar label{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;min-height:30px;width:12rem;text-align:left;padding-right:1.25rem;padding-bottom:0;-ms-flex:none;flex:none}:host .component-wrapper.bar .bar-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host .component-wrapper.bar .bar-wrapper .single-perc{text-align:center;padding-left:0.5rem;-ms-flex-pack:center;justify-content:center}}:host .component-wrapper.bar2,:host .component-wrapper.bar3,:host .component-wrapper.bar4,:host .component-wrapper.bar5{-ms-flex-align:start;align-items:flex-start}:host .component-wrapper.bar4 .inner-stacked-bar-wrapper,:host .component-wrapper.bar5 .inner-stacked-bar-wrapper{height:30px;margin-bottom:0}:host .component-wrapper.bar4 .inner-stacked-bar-wrapper.show-values,:host .component-wrapper.bar5 .inner-stacked-bar-wrapper.show-values{height:60px;margin-top:0}:host .component-wrapper.bar3 .chart-wrapper{position:relative;height:116px}:host .component-wrapper.bar3 .chart-wrapper .inner-stacked-bar-wrapper{position:absolute;top:35px;left:0;right:0;bottom:0;height:30px}:host .component-wrapper.bar3 .chart-wrapper .axis{position:absolute;top:0;left:0;width:100%;overflow:visible;-webkit-transform:translate(0px, 96px);transform:translate(0px, 96px)}:host .component-wrapper.bar3 .chart-wrapper .axis line{stroke:var(--wmcolor-chart-gridline);stroke-width:1px}:host .component-wrapper.bar3 .hidden-values-warning{margin-top:1.25rem}:host .component-wrapper.bar3 .bar3-axis-label{position:absolute;bottom:-4px;width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}:host .component-wrapper.bar6,:host .component-wrapper.bar7{--chartPadding:48px;-ms-flex-align:start;align-items:flex-start}:host .component-wrapper.bar6 .chart-wrapper,:host .component-wrapper.bar7 .chart-wrapper{width:100%}:host .component-wrapper.bar6 .chart,:host .component-wrapper.bar7 .chart{position:relative;padding-right:var(--chartPadding)}:host .component-wrapper.bar6 .gridlines,:host .component-wrapper.bar7 .gridlines{position:absolute;left:var(--labelWidth);right:var(--chartPadding);top:0;bottom:0;background-image:linear-gradient(90deg, var(--wmcolor-chart-gridline) 1px, transparent 1px);background-position:-1px;border-left:1px solid var(--wmcolor-chart-gridline);border-bottom:1px solid var(--wmcolor-chart-gridline);background-size:var(--backgroundSize)}:host .component-wrapper.bar6 .rows,:host .component-wrapper.bar7 .rows{display:grid;grid-template-columns:var(--labelWidth) auto;grid-auto-rows:minmax(30px, 1fr);-ms-flex-align:center;align-items:center;position:relative;z-index:1}:host .component-wrapper.bar6 .rows .label,:host .component-wrapper.bar7 .rows .label{font-weight:400;padding:0 0.75rem 0 0;text-align:right;margin:0.75rem 0}:host .component-wrapper.bar6 .rows .label.hidden,:host .component-wrapper.bar7 .rows .label.hidden{visibility:hidden;white-space:nowrap}:host .component-wrapper.bar6 .bar,:host .component-wrapper.bar7 .bar{height:30px;position:relative}:host .component-wrapper.bar6 .bar .value,:host .component-wrapper.bar7 .bar .value{position:absolute;top:50%;right:-0.5rem;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}:host .component-wrapper.bar6 .x-axis,:host .component-wrapper.bar7 .x-axis{margin-left:var(--labelWidth);margin-right:var(--chartPadding);display:-ms-flexbox;display:flex;postion:relative}:host .component-wrapper.bar6 .tick,:host .component-wrapper.bar7 .tick{-ms-flex:1;flex:1;text-align:right}:host .component-wrapper.bar6 .tick span,:host .component-wrapper.bar7 .tick span{-webkit-transform:translateX(50%);transform:translateX(50%);display:inline-block}:host .component-wrapper.bar6 .zero,:host .component-wrapper.bar7 .zero{position:absolute;-webkit-transform:translateX(-50%);transform:translateX(-50%)}:host .component-wrapper.bar6 .bar:active,:host .component-wrapper.bar6 .bar:hover,:host .component-wrapper.bar6 .bar:focus,:host .component-wrapper.bar7 .bar:active,:host .component-wrapper.bar7 .bar:hover,:host .component-wrapper.bar7 .bar:focus{outline:none}:host .component-wrapper.bar6 .bar:active.bar:not(:focus-visible),:host .component-wrapper.bar6 .bar:hover.bar:not(:focus-visible),:host .component-wrapper.bar6 .bar:focus.bar:not(:focus-visible),:host .component-wrapper.bar7 .bar:active.bar:not(:focus-visible),:host .component-wrapper.bar7 .bar:hover.bar:not(:focus-visible),:host .component-wrapper.bar7 .bar:focus.bar:not(:focus-visible){-webkit-box-shadow:0px 0px 6px #333;-moz-box-shadow:0px 0px 6px #333;box-shadow:0px 0px 6px #333}:host .component-wrapper.bar6 .bar:focus-visible,:host .component-wrapper.bar7 .bar:focus-visible{outline:3px solid var(--wmcolor-interactive-focus);outline-offset:2px;-webkit-box-shadow:0 0 0 7px white;box-shadow:0 0 0 7px white;z-index:1}:host .component-wrapper.left-label{-ms-flex-direction:row;flex-direction:row}:host .component-wrapper.left-label .label{width:12rem;padding-right:1.25rem;-ms-flex:none;flex:none;-ms-flex-item-align:end;align-self:flex-end;min-height:30px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}:host .component-wrapper .hidden-values-warning{font-size:0.75rem;font-style:italic;max-width:100%}:host .component-wrapper .hidden-values-warning.hidden{display:none}@media print{:host .component-wrapper .hidden-values-warning{display:none}}:host #chart-instructions{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}:host .component-wrapper .legend-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center}:host .component-wrapper .legend-wrapper .legend{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;text-align:center;padding-top:0.25rem;padding-bottom:0.75rem;-webkit-box-sizing:border-box;box-sizing:border-box}:host .component-wrapper .legend-wrapper .legend.bar6{display:none}:host .component-wrapper .legend-wrapper .legend.--top{margin-top:-0.75rem}:host .component-wrapper .legend-wrapper .legend.--top .legend-item{padding-top:0.75rem}:host .component-wrapper .legend-wrapper .legend.--top .legend-color{top:0.75rem}:host .component-wrapper .legend-wrapper .legend.--bottom{margin-bottom:-0.75rem}:host .component-wrapper .legend-wrapper .legend.--bottom .legend-item{padding-bottom:0.75rem}:host .component-wrapper .legend-wrapper .legend.--bottom .legend-color{top:-0.75rem}:host .component-wrapper .legend-wrapper .legend .legend-item{position:relative}:host .component-wrapper .legend-wrapper .legend .legend-item.faded{opacity:0.3}:host .component-wrapper .legend-wrapper .legend .legend-item:not(:last-of-type){padding-right:1.25rem}:host .component-wrapper .legend-wrapper .legend .legend-text{font-size:0.875rem;padding-left:1rem;line-height:1}:host .component-wrapper .legend-wrapper .legend .legend-color{position:absolute;left:0;bottom:0;margin:auto;width:0.6875rem;height:0.6875rem;print-color-adjust:exact;-webkit-print-color-adjust:exact}:host .component-wrapper .legend-wrapper .legend .print-value{display:none}:host .component-wrapper .legend-wrapper .legend .print-value.force-visible{display:unset}@media print{:host .component-wrapper .legend-wrapper .legend .print-value{display:unset}}:host .component-wrapper .legend-wrapper .legend.bar3{padding-bottom:1.25rem}";
7
+ const WmChartStyle0 = wmChartCss;
7
8
 
8
9
  const Chart = class {
9
10
  constructor(hostRef) {
@@ -141,11 +142,11 @@ const Chart = class {
141
142
  }
142
143
  }
143
144
  render() {
144
- return (h(Host, { onBlur: () => exitChart.call(this) }, h("div", { ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${this.currentChartType} ${this.isTabbing && !this.userIsNavigating ? "user-is-tabbing" : ""} ${this.labelPosition === "left" && this.currentChartType === "bar4" ? "left-label" : ""}`, role: "application", "aria-label": this.ariaLabelText, tabindex: 0, "aria-roledescription": chartMessages.interactiveChart, "aria-describedby": "chart-instructions" }, h("label", { id: `label-${this.uid}`, class: `label --${this.labelPosition}`, htmlFor: `graphic-${this.uid}` }, h("span", { class: "label-text" }, this.label), this.subinfo ? h("span", { class: "subinfo" }, this.subinfo) : ""), this.isBar && renderLegend.call(this, this.currentChartType), this.renderChart(), this.isDoughnut && renderLegend.call(this, this.currentChartType), h("priv-chart-popover", { class: this.isTabbing ? "user-is-tabbing" : "", onIntChartPopoverOpenChanged: (ev) => this.handlePopoverOpenChanged(ev) }), this.isBar && !this.printMode && renderHiddenValuesMessage()), renderInstructionsText()));
145
+ return (h(Host, { key: 'ef9b572d9a621ce353e3a9938f742fcbc112bdaa', onBlur: () => exitChart.call(this) }, h("div", { key: '1986f84f897d79ccf0d0b8553bcd8d10470910f1', ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${this.currentChartType} ${this.isTabbing && !this.userIsNavigating ? "user-is-tabbing" : ""} ${this.labelPosition === "left" && this.currentChartType === "bar4" ? "left-label" : ""}`, role: "application", "aria-label": this.ariaLabelText, tabindex: 0, "aria-roledescription": chartMessages.interactiveChart, "aria-describedby": "chart-instructions" }, h("label", { key: 'dce7ee04fed3d9eb491eebf2c90c3b951776b2bb', id: `label-${this.uid}`, class: `label --${this.labelPosition}`, htmlFor: `graphic-${this.uid}` }, h("span", { key: '3a88022a876f5e26861cd38f7770dde825a23928', class: "label-text" }, this.label), this.subinfo ? h("span", { class: "subinfo" }, this.subinfo) : ""), this.isBar && renderLegend.call(this, this.currentChartType), this.renderChart(), this.isDoughnut && renderLegend.call(this, this.currentChartType), h("priv-chart-popover", { key: '3eebb869fd86ef29cce02239139019ba833d1e5f', class: this.isTabbing ? "user-is-tabbing" : "", onIntChartPopoverOpenChanged: (ev) => this.handlePopoverOpenChanged(ev) }), this.isBar && !this.printMode && renderHiddenValuesMessage()), renderInstructionsText()));
145
146
  }
146
147
  static get delegatesFocus() { return true; }
147
148
  get el() { return getElement(this); }
148
149
  };
149
- Chart.style = wmChartCss;
150
+ Chart.style = WmChartStyle0;
150
151
 
151
152
  export { Chart as wm_chart };
@@ -1,7 +1,8 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-558b5a82.js';
2
- import { t as toBool, j as dateToISO, a as handleDisabledAttribute, k as shouldOpenUp, B as getContextMeasurements, C as dateFind, D as calendar_months, E as findParentWithHiddenOverflow, i as intl } from './functions-b791a892.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment, H as Host, g as getElement } from './index-130e07bb.js';
2
+ import { t as toBool, j as dateToISO, a as handleDisabledAttribute, k as shouldOpenUp, B as getContextMeasurements, C as dateFind, D as calendar_months, E as findParentWithHiddenOverflow, i as intl } from './functions-f39e6177.js';
3
3
 
4
4
  const datepickerCss = ":host{--wmcolor-datepicker-background:var(--wmcolor-background);--wmcolor-datepicker-day-background-hover:var(--wmcolor-interactive-background-hover);--wmcolor-datepicker-day-background-selected:var(--wmcolor-interactive);--wmcolor-datepicker-day-text-outside:var(--wmcolor-interactive-disabled);--wmcolor-datepicker-day-text-selected:var(--wmcolor-interactive-text-selected);--wmcolor-datepicker-day-text:var(--wmcolor-text);--wmcolor-datepicker-input-background-disabled:var(--wmcolor-input-background-disabled);--wmcolor-datepicker-input-background:var(--wmcolor-input-background);--wmcolor-datepicker-input-border:var(--wmcolor-input-border);--wmcolor-datepicker-input-text-disabled:var(--wmcolor-input-text-disabled);--wmcolor-datepicker-input-text:var(--wmcolor-input-text);--wmcolor-datepicker-month-background-hover:var(--wmcolor-interactive-background-hover);--wmcolor-datepicker-month-background-selected:var(--wmcolor-interactive);--wmcolor-datepicker-month-background:var(--wmcolor-text);--wmcolor-datepicker-month-border:var(--wmcolor-border-light);--wmcolor-datepicker-month-text-selected:var(--wmcolor-text-ondark);--wmcolor-datepicker-month-text:var(--wmcolor-interactive);--wmcolor-datepicker-navigation-background-hover:var(--wmcolor-button-background-navigational-hover);--wmcolor-datepicker-navigation-background:var(--wmcolor-button-background-navigational);--wmcolor-datepicker-navigation-text:var(--wmcolor-button-icon-navigational);--wmcolor-datepicker-selector-background:var(--wmcolor-button-background-secondary);--wmcolor-datepicker-selector-border:var(--wmcolor-button-border-secondary);--wmcolor-datepicker-selector-text:var(--wmcolor-button-text-secondary);--wmcolor-datepicker-toggle-background-disabled:var(--wmcolor-input-background-disabled);--wmcolor-datepicker-toggle-background-hover:var(--wmcolor-interactive-background-hover);--wmcolor-datepicker-toggle-background:var(--wmcolor-input-background);--wmcolor-datepicker-toggle-icon-disabled:var(--wmcolor-interactive-disabled);--wmcolor-datepicker-toggle-icon:var(--wmcolor-interactive);--wmcolor-datepicker-weekdays-background:var(--wmcolor-table-header-background);--wmcolor-datepicker-weekdays-text:var(--wmcolor-text);font-family:inherit}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-size:0.875rem}:host .wrapper .label{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}:host .wrapper .label .required{color:var(--wmcolor-text-required)}:host .wrapper.label-left{-ms-flex-direction:row;flex-direction:row}:host .wrapper.label-left .label-wrapper{line-height:2.5rem}:host .wrapper.label-left .label-wrapper .label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:2.5rem;white-space:normal;margin-bottom:0;margin-right:0.75rem}:host .wrapper.label-none label{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}:host .wrapper.invalid .label{color:var(--wmcolor-text-error)}:host .wrapper.invalid .label:after{display:inline-block;font:normal normal normal 24px/1 \"Material Design Icons\";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:\"\\f026\";margin-left:0.3125rem}[dir=RTL] :host .wrapper.invalid .label:after{margin-left:0;margin-right:0.3125rem}:host .wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}:host .wrapper{position:relative}:host .wrapper .single-wrapper,:host .wrapper .range-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;position:relative}:host .wrapper .date-input{border-radius:3px;color:var(--wmcolor-datepicker-input-text);font-size:0.875rem;padding:0.625rem 0.9375rem 0.5rem;min-width:0;-ms-flex:1;flex:1;margin:0;background-color:var(--wmcolor-datepicker-input-background)}:host .wrapper .date-input:disabled{background-color:var(--wmcolor-datepicker-input-background-disabled);color:var(--wmcolor-datepicker-input-text-disabled)}:host .wrapper .date-input:focus{outline:none}:host .wrapper .input{height:2.5rem;border:1px solid var(--wmcolor-datepicker-input-border);-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;max-width:236px;}:host .wrapper #single-date-input{height:100%;border:none;border-radius:3px;-webkit-margin-end:3px;margin-inline-end:3px}:host .wrapper .range-wrapper{max-width:257px;display:grid;grid-template-rows:minmax(21px, 1fr) 38px;grid-template-columns:120px 17px 120px;grid-template-areas:\"start-label-wrapper . end-label-wrapper\" \"start-date-input hyphen end-date-input\"}:host .wrapper .range-wrapper #start-label-wrapper{grid-area:start-label-wrapper}:host .wrapper .range-wrapper #end-label-wrapper{grid-area:end-label-wrapper}:host .wrapper .range-wrapper #start-date-input{grid-area:start-date-input}:host .wrapper .range-wrapper #hyphen{grid-area:hyphen}:host .wrapper .range-wrapper #end-date-input{grid-area:end-date-input}:host .wrapper .range-wrapper .label{text-wrap:wrap}:host .wrapper .range-wrapper.cal{max-width:305px;-webkit-column-gap:4px;-moz-column-gap:4px;column-gap:4px;grid-template-columns:120px 17px 120px 36px;grid-template-areas:\"start-label-wrapper . end-label-wrapper .\" \"start-date-input hyphen end-date-input toggle-wrapper\"}:host .wrapper .range-wrapper.cal #toggle-wrapper{grid-area:toggle-wrapper}:host .wrapper #start-date-input,:host .wrapper #end-date-input{max-width:120px}:host .wrapper #start-date-input:focus,:host .wrapper #end-date-input:focus{outline:2px solid var(--wmcolor-input-border-focus);border-color:var(--wmcolor-input-border-focus)}:host .wrapper.invalid .input,:host .wrapper .date-input.invalid{-webkit-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);-moz-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);box-shadow:0 0 0 1px var(--wmcolor-input-border-error);border-color:var(--wmcolor-input-border-error)}:host .wrapper .error{display:block;font-style:italic;color:var(--wmcolor-text-error);font-size:0.875rem;margin-bottom:4px;top:100%;left:0}:host .wrapper .error:not(:empty){margin-top:0.25rem}:host .wrapper.focus #single-date-input{outline:2px solid var(--wmcolor-input-border-focus);border-color:var(--wmcolor-input-border-focus)}.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}";
5
+ const WmDateRangeStyle0 = datepickerCss;
5
6
 
6
7
  const DateRange = class {
7
8
  constructor(hostRef) {
@@ -436,23 +437,23 @@ const DateRange = class {
436
437
  }
437
438
  }
438
439
  render() {
439
- return (h(Host, { "aria-busy": "false" }, h("div", { ref: (d) => (this.wrapperEl = d), class: "wrapper" }, h("div", { class: `range-wrapper ${this.calWidth <= this.availSpace ? "cal" : ""}` }, h("div", { class: "label-wrapper", id: "start-label-wrapper" }, h("label", { ref: (e) => (this.labelEl = e), id: "startlabel", htmlFor: "start-date-input", class: "label", title: `${this.labelStart} (${this.dateFormat})` }, this.labelStart, this.requiredField && (h("span", { "aria-hidden": "true", class: "required" }, "*")))), h("div", { class: "label-wrapper", id: "end-label-wrapper" }, h("label", { id: "endlabel", htmlFor: "end-date-input", class: "label", title: `${this.labelEnd} (${this.dateFormat})` }, this.labelEnd, this.requiredField && (h("span", { "aria-hidden": "true", class: "required" }, "*")))), h("input", { disabled: this._disabled, type: "text", id: "start-date-input", class: `date-input input ${this.invalidStart ? "invalid" : ""}`, name: "start-date", placeholder: this.dateFormat, value: this.valueStart, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleStartInput(ev), onBlur: () => this.handleStartInputBlur(), ref: (input) => (this.startInputEl = input), "aria-describedby": "error", "aria-label": this.labelStart, "aria-required": this.requiredField ? "true" : null }), h("div", { id: "hyphen" }, "\u00A0-\u00A0"), h("input", { disabled: this._disabled, type: "text", id: "end-date-input", class: `date-input input ${this.invalidEnd ? "invalid" : ""}`, name: "end-date", placeholder: this.dateFormat, value: this.valueEnd, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleEndInput(ev), onBlur: () => this.handleEndInputBlur(), ref: (input) => (this.endInputEl = input), "aria-describedby": "error", "aria-label": this.labelEnd, "aria-required": this.requiredField ? "true" : null }), h("div", { class: "toggle-wrapper", id: "toggle-wrapper" }, this.calWidth <= this.availSpace && (h("button", { disabled: this.disabled, onClick: this.togglePopup.bind(this), "aria-describedby": "start-date-input end-date-input", "aria-label": intl.formatMessage({
440
+ return (h(Host, { key: 'ffe68e278952d867cd9d1bf4945a91a9218aff41', "aria-busy": "false" }, h("div", { key: '256076b4ecb500f80bde6a0f4b74e0e090a8ebba', ref: (d) => (this.wrapperEl = d), class: "wrapper" }, h("div", { key: '1a16aee3f2c90b120fea6c3de7853a5f58f95c2b', class: `range-wrapper ${this.calWidth <= this.availSpace ? "cal" : ""}` }, h("div", { key: '2bf81bc7b7820b71820fa903f612247deb6b8592', class: "label-wrapper", id: "start-label-wrapper" }, h("label", { key: '09e8a0ee78eb5f19f6a3e94ce8c2bfefaff4a909', ref: (e) => (this.labelEl = e), id: "startlabel", htmlFor: "start-date-input", class: "label", title: `${this.labelStart} (${this.dateFormat})` }, this.labelStart, this.requiredField && (h("span", { key: '0deb9d862a52d6b044572a06645408805be1126e', "aria-hidden": "true", class: "required" }, "*")))), h("div", { key: 'ec5368e1736f8b83290238b483965aab0f9f3945', class: "label-wrapper", id: "end-label-wrapper" }, h("label", { key: '6cb070abde6ce9064a030c408894f29af6118984', id: "endlabel", htmlFor: "end-date-input", class: "label", title: `${this.labelEnd} (${this.dateFormat})` }, this.labelEnd, this.requiredField && (h("span", { key: 'e4def58969ee10495955c76ff6df4af0b721d98b', "aria-hidden": "true", class: "required" }, "*")))), h("input", { key: '141c909bdeae5c05fc5ca24bfe3f62c756c59bb1', disabled: this._disabled, type: "text", id: "start-date-input", class: `date-input input ${this.invalidStart ? "invalid" : ""}`, name: "start-date", placeholder: this.dateFormat, value: this.valueStart, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleStartInput(ev), onBlur: () => this.handleStartInputBlur(), ref: (input) => (this.startInputEl = input), "aria-describedby": "error", "aria-label": this.labelStart, "aria-required": this.requiredField ? "true" : null }), h("div", { key: '71e1f4d5bfac5687c6c0dc78b0c7bf0e23963932', id: "hyphen" }, "\u00A0-\u00A0"), h("input", { key: '66da2b524e10f19471dfe98e8088f29223fcf1e5', disabled: this._disabled, type: "text", id: "end-date-input", class: `date-input input ${this.invalidEnd ? "invalid" : ""}`, name: "end-date", placeholder: this.dateFormat, value: this.valueEnd, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleEndInput(ev), onBlur: () => this.handleEndInputBlur(), ref: (input) => (this.endInputEl = input), "aria-describedby": "error", "aria-label": this.labelEnd, "aria-required": this.requiredField ? "true" : null }), h("div", { key: 'd13e35362381766550f1555db5bc86043f29ae55', class: "toggle-wrapper", id: "toggle-wrapper" }, this.calWidth <= this.availSpace && (h("button", { key: '083f289ad53ef80ebf5bcb04f28cb85f4bf1cce6', disabled: this.disabled, onClick: this.togglePopup.bind(this), "aria-describedby": "start-date-input end-date-input", "aria-label": intl.formatMessage({
440
441
  id: "date.selectRange",
441
442
  defaultMessage: "Select range",
442
443
  description: "Button text for screen readers.",
443
- }), ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { class: "calendar", title: intl.formatMessage({
444
+ }), ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { key: 'c127dd1ac1f883218997250dc0455d2cd67b4e54', class: "calendar", title: intl.formatMessage({
444
445
  id: "date.calendarView",
445
446
  defaultMessage: "Calendar View",
446
447
  description: "Calendar button",
447
- }) })))), this.renderCalendars()), h("div", null, h("div", { id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { id: "month-title", class: "sr-only" }, intl.formatMessage({
448
+ }) })))), this.renderCalendars()), h("div", { key: 'f73ab32bcf2cebc82a8afd9129a1d3fcf9e0bc2b' }, h("div", { key: '2d7f933a92f36483ecfd801c4ae17bf7baa92c71', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: 'ca4fd9da247934ff4644b099c883fed0158d0c86', id: "month-title", class: "sr-only" }, intl.formatMessage({
448
449
  id: "date.selectMonth",
449
450
  defaultMessage: "Activate to select a month.",
450
451
  description: "Calendar button",
451
- })), h("div", { id: "year-title", class: "sr-only" }, intl.formatMessage({
452
+ })), h("div", { key: '22d83e68a09a15072afcc3368fdf957838a5da1f', id: "year-title", class: "sr-only" }, intl.formatMessage({
452
453
  id: "date.selectYear",
453
454
  defaultMessage: "Activate to select a year.",
454
455
  description: "Calendar button",
455
- }))), h("div", { id: "error", class: "error" }, this.errorMessage), h("div", { ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }))));
456
+ }))), h("div", { key: '6fbc73d0c1d280133b445c9fd4acd14a1be673e0', id: "error", class: "error" }, this.errorMessage), h("div", { key: '4dac5d364845b7a4c656db95e0aae877b902692b', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }))));
456
457
  }
457
458
  static get delegatesFocus() { return true; }
458
459
  get el() { return getElement(this); }
@@ -463,6 +464,6 @@ const DateRange = class {
463
464
  "errorMessage": ["handleErrorMessage"]
464
465
  }; }
465
466
  };
466
- DateRange.style = datepickerCss;
467
+ DateRange.style = WmDateRangeStyle0;
467
468
 
468
469
  export { DateRange as wm_date_range };
@@ -1,7 +1,8 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-558b5a82.js';
2
- import { t as toBool, j as dateToISO, a as handleDisabledAttribute, k as shouldOpenUp, l as hasRoomRight, i as intl } from './functions-b791a892.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-130e07bb.js';
2
+ import { t as toBool, j as dateToISO, a as handleDisabledAttribute, k as shouldOpenUp, l as hasRoomRight, i as intl } from './functions-f39e6177.js';
3
3
 
4
4
  const datepickerCss = ":host{--wmcolor-datepicker-background:var(--wmcolor-background);--wmcolor-datepicker-day-background-hover:var(--wmcolor-interactive-background-hover);--wmcolor-datepicker-day-background-selected:var(--wmcolor-interactive);--wmcolor-datepicker-day-text-outside:var(--wmcolor-interactive-disabled);--wmcolor-datepicker-day-text-selected:var(--wmcolor-interactive-text-selected);--wmcolor-datepicker-day-text:var(--wmcolor-text);--wmcolor-datepicker-input-background-disabled:var(--wmcolor-input-background-disabled);--wmcolor-datepicker-input-background:var(--wmcolor-input-background);--wmcolor-datepicker-input-border:var(--wmcolor-input-border);--wmcolor-datepicker-input-text-disabled:var(--wmcolor-input-text-disabled);--wmcolor-datepicker-input-text:var(--wmcolor-input-text);--wmcolor-datepicker-month-background-hover:var(--wmcolor-interactive-background-hover);--wmcolor-datepicker-month-background-selected:var(--wmcolor-interactive);--wmcolor-datepicker-month-background:var(--wmcolor-text);--wmcolor-datepicker-month-border:var(--wmcolor-border-light);--wmcolor-datepicker-month-text-selected:var(--wmcolor-text-ondark);--wmcolor-datepicker-month-text:var(--wmcolor-interactive);--wmcolor-datepicker-navigation-background-hover:var(--wmcolor-button-background-navigational-hover);--wmcolor-datepicker-navigation-background:var(--wmcolor-button-background-navigational);--wmcolor-datepicker-navigation-text:var(--wmcolor-button-icon-navigational);--wmcolor-datepicker-selector-background:var(--wmcolor-button-background-secondary);--wmcolor-datepicker-selector-border:var(--wmcolor-button-border-secondary);--wmcolor-datepicker-selector-text:var(--wmcolor-button-text-secondary);--wmcolor-datepicker-toggle-background-disabled:var(--wmcolor-input-background-disabled);--wmcolor-datepicker-toggle-background-hover:var(--wmcolor-interactive-background-hover);--wmcolor-datepicker-toggle-background:var(--wmcolor-input-background);--wmcolor-datepicker-toggle-icon-disabled:var(--wmcolor-interactive-disabled);--wmcolor-datepicker-toggle-icon:var(--wmcolor-interactive);--wmcolor-datepicker-weekdays-background:var(--wmcolor-table-header-background);--wmcolor-datepicker-weekdays-text:var(--wmcolor-text);font-family:inherit}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-size:0.875rem}:host .wrapper .label{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}:host .wrapper .label .required{color:var(--wmcolor-text-required)}:host .wrapper.label-left{-ms-flex-direction:row;flex-direction:row}:host .wrapper.label-left .label-wrapper{line-height:2.5rem}:host .wrapper.label-left .label-wrapper .label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:2.5rem;white-space:normal;margin-bottom:0;margin-right:0.75rem}:host .wrapper.label-none label{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}:host .wrapper.invalid .label{color:var(--wmcolor-text-error)}:host .wrapper.invalid .label:after{display:inline-block;font:normal normal normal 24px/1 \"Material Design Icons\";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:\"\\f026\";margin-left:0.3125rem}[dir=RTL] :host .wrapper.invalid .label:after{margin-left:0;margin-right:0.3125rem}:host .wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}:host .wrapper{position:relative}:host .wrapper .single-wrapper,:host .wrapper .range-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;position:relative}:host .wrapper .date-input{border-radius:3px;color:var(--wmcolor-datepicker-input-text);font-size:0.875rem;padding:0.625rem 0.9375rem 0.5rem;min-width:0;-ms-flex:1;flex:1;margin:0;background-color:var(--wmcolor-datepicker-input-background)}:host .wrapper .date-input:disabled{background-color:var(--wmcolor-datepicker-input-background-disabled);color:var(--wmcolor-datepicker-input-text-disabled)}:host .wrapper .date-input:focus{outline:none}:host .wrapper .input{height:2.5rem;border:1px solid var(--wmcolor-datepicker-input-border);-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;max-width:236px;}:host .wrapper #single-date-input{height:100%;border:none;border-radius:3px;-webkit-margin-end:3px;margin-inline-end:3px}:host .wrapper .range-wrapper{max-width:257px;display:grid;grid-template-rows:minmax(21px, 1fr) 38px;grid-template-columns:120px 17px 120px;grid-template-areas:\"start-label-wrapper . end-label-wrapper\" \"start-date-input hyphen end-date-input\"}:host .wrapper .range-wrapper #start-label-wrapper{grid-area:start-label-wrapper}:host .wrapper .range-wrapper #end-label-wrapper{grid-area:end-label-wrapper}:host .wrapper .range-wrapper #start-date-input{grid-area:start-date-input}:host .wrapper .range-wrapper #hyphen{grid-area:hyphen}:host .wrapper .range-wrapper #end-date-input{grid-area:end-date-input}:host .wrapper .range-wrapper .label{text-wrap:wrap}:host .wrapper .range-wrapper.cal{max-width:305px;-webkit-column-gap:4px;-moz-column-gap:4px;column-gap:4px;grid-template-columns:120px 17px 120px 36px;grid-template-areas:\"start-label-wrapper . end-label-wrapper .\" \"start-date-input hyphen end-date-input toggle-wrapper\"}:host .wrapper .range-wrapper.cal #toggle-wrapper{grid-area:toggle-wrapper}:host .wrapper #start-date-input,:host .wrapper #end-date-input{max-width:120px}:host .wrapper #start-date-input:focus,:host .wrapper #end-date-input:focus{outline:2px solid var(--wmcolor-input-border-focus);border-color:var(--wmcolor-input-border-focus)}:host .wrapper.invalid .input,:host .wrapper .date-input.invalid{-webkit-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);-moz-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);box-shadow:0 0 0 1px var(--wmcolor-input-border-error);border-color:var(--wmcolor-input-border-error)}:host .wrapper .error{display:block;font-style:italic;color:var(--wmcolor-text-error);font-size:0.875rem;margin-bottom:4px;top:100%;left:0}:host .wrapper .error:not(:empty){margin-top:0.25rem}:host .wrapper.focus #single-date-input{outline:2px solid var(--wmcolor-input-border-focus);border-color:var(--wmcolor-input-border-focus)}.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}";
5
+ const WmDatepickerStyle0 = datepickerCss;
5
6
 
6
7
  const DatePicker = class {
7
8
  constructor(hostRef) {
@@ -218,23 +219,23 @@ const DatePicker = class {
218
219
  this.liveRegionEl.textContent = message;
219
220
  }
220
221
  render() {
221
- return (h(Host, { "aria-busy": "false", class: `${this.errorMessage ? "invalid" : ""}` }, h("div", { ref: (d) => (this.dpWrapperEl = d), class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { class: "label-wrapper", ref: (e) => (this.labelWrapperEl = e) }, 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: "single-wrapper input" }, h("input", { 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", { class: "container", id: "wm-container" }, h("button", { disabled: this.disabled, onClick: this.togglePopup.bind(this), "aria-label": intl.formatMessage({
222
+ return (h(Host, { key: 'daac54e642a4c00b37dff5167cf0fd3322b98874', "aria-busy": "false", class: `${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '0633196770bcd3965a8fe60ecd1972653ed3e25c', ref: (d) => (this.dpWrapperEl = d), class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'ba80e128d0345635d90c4641c508d05eb4d3794e', class: "label-wrapper", ref: (e) => (this.labelWrapperEl = e) }, this.labelPosition !== "none" && (h("label", { key: '4905e937c7e6249537c5ed43f77331883d006794', id: "datepickerLabel", htmlFor: "date-input", class: "label", title: `${this.label} (${this.dateFormat})` }, this.label, this.requiredField && (h("span", { key: '637e35c7f255629aa75cf177822154a1e6e6e7b3', "aria-hidden": "true", class: "required" }, "*"))))), h("div", { key: '8676b6e03022cd8787d0a77a0b3e6c4dd8419b59' }, h("div", { key: 'e9f24478e3beb32f38ef65aff197d7872e1f3d67', class: "single-wrapper input" }, h("input", { key: '4661fedeafd62c45e1aec2aad699faede4d750b6', 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: '0a2afc12a5e44bcb8a9deb92c7171945c67289f4', class: "container", id: "wm-container" }, h("button", { key: 'b6b63ef23dee93ff470de4d5a5d2769086bcb808', disabled: this.disabled, onClick: this.togglePopup.bind(this), "aria-label": intl.formatMessage({
222
223
  id: "date.selectDate",
223
224
  defaultMessage: "Select date",
224
225
  description: "Button text for screen readers.",
225
- }), "aria-describedby": "single-date-input", ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { class: "calendar", title: intl.formatMessage({
226
+ }), "aria-describedby": "single-date-input", ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { key: 'debb3ae89f32960a7a269b9f6c951f5bb7bfd874', class: "calendar", title: intl.formatMessage({
226
227
  id: "date.calendarView",
227
228
  defaultMessage: "Calendar View",
228
229
  description: "Calendar button",
229
- }) })), h("div", { 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", { tabIndex: 0, onFocus: () => this.calEl.focusLastFocusable() }), h("priv-calendar", { ref: (el) => (this.calEl = el), startDate: this.calendarDate, focusDate: this.calendarDate, class: "inside" }), h("div", { tabIndex: 0, onFocus: () => this.calEl.focusFirstFocusable() })), h("div", { id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { id: "month-title", class: "sr-only" }, intl.formatMessage({
230
+ }) })), h("div", { key: '87ff9723a2960d5725f5f731dcc0d30719a8bb09', 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: '989a9bc4bd537394bfb2fe1ecd83311bb57187d4', tabIndex: 0, onFocus: () => this.calEl.focusLastFocusable() }), h("priv-calendar", { key: '3253b7e256dc7137aae2c4c2a79099e0093ecc65', ref: (el) => (this.calEl = el), startDate: this.calendarDate, focusDate: this.calendarDate, class: "inside" }), h("div", { key: '9cacded01a3163bebd249d6ed4601ca9a6c3dfd0', tabIndex: 0, onFocus: () => this.calEl.focusFirstFocusable() })), h("div", { key: 'fe890d55779f0619bc6c144d1fd47cc2cb26fe04', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: '71e28a0c1aaa2c1ddce511bfbf0d9cf6794382ab', id: "month-title", class: "sr-only" }, intl.formatMessage({
230
231
  id: "date.selectMonth",
231
232
  defaultMessage: "Activate to select a month.",
232
233
  description: "Calendar button",
233
- })), h("div", { id: "year-title", class: "sr-only" }, intl.formatMessage({
234
+ })), h("div", { key: '2df13fae273fd2186e35d50ab58d888b45bf0b40', id: "year-title", class: "sr-only" }, intl.formatMessage({
234
235
  id: "date.selectYear",
235
236
  defaultMessage: "Activate to select a year.",
236
237
  description: "Calendar button",
237
- })))), h("div", { id: "error", class: "error" }, this.errorMessage), h("div", { ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" })))));
238
+ })))), h("div", { key: '71ca47b61c3ffd7e19c273ae3e4c68a7f3ef1afd', id: "error", class: "error" }, this.errorMessage), h("div", { key: '5adc31a91d03cd34d01e48a88617481051905341', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" })))));
238
239
  }
239
240
  static get delegatesFocus() { return true; }
240
241
  get el() { return getElement(this); }
@@ -244,6 +245,6 @@ const DatePicker = class {
244
245
  "errorMessage": ["announceError"]
245
246
  }; }
246
247
  };
247
- DatePicker.style = datepickerCss;
248
+ DatePicker.style = WmDatepickerStyle0;
248
249
 
249
250
  export { DatePicker as wm_datepicker };
@@ -1,6 +1,7 @@
1
- import { r as registerInstance, h, g as getElement } from './index-558b5a82.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-130e07bb.js';
2
2
 
3
3
  const wmFileListCss = ":host{display:block}.list-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:0.5rem}";
4
+ const WmFileListStyle0 = wmFileListCss;
4
5
 
5
6
  const FileList = class {
6
7
  constructor(hostRef) {
@@ -8,11 +9,11 @@ const FileList = class {
8
9
  this.showInfo = "last-updated";
9
10
  }
10
11
  render() {
11
- return (h("div", { role: "list", class: "list-wrapper" }, h("slot", null)));
12
+ return (h("div", { key: '16fa7f9a1af582a79c5f5ddf08fd790d0d168d09', role: "list", class: "list-wrapper" }, h("slot", { key: '8cbe213b542e89fec9cd0f169a74703195480f0a' })));
12
13
  }
13
14
  static get delegatesFocus() { return true; }
14
15
  get el() { return getElement(this); }
15
16
  };
16
- FileList.style = wmFileListCss;
17
+ FileList.style = WmFileListStyle0;
17
18
 
18
19
  export { FileList as wm_file_list };
@@ -1,7 +1,8 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-558b5a82.js';
2
- import { i as intl, m as truncateText, s as showTooltip, h as hideTooltip } from './functions-b791a892.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-130e07bb.js';
2
+ import { i as intl, m as truncateText, s as showTooltip, h as hideTooltip } from './functions-f39e6177.js';
3
3
 
4
4
  const wmFileCss = ":host{--wmcolor-file-background-error:var(--wmcolor-background-error);--wmcolor-file-background:var(--wmcolor-background-readonly);--wmcolor-file-border-error:var(--wmcolor-border-error);--wmcolor-file-border:var(--wmcolor-border);--wmcolor-file-checkmark-icon:var(--wmcolor-positive);--wmcolor-file-progress:var(--wmcolor-progress);display:block;width:100%}.file-wrapper{font-size:0.875rem;position:relative;list-style:none}.file-wrapper .file{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;min-height:3.5rem;padding:0.5rem 1.25rem;position:relative;background:var(--wmcolor-file-background);border:1px solid var(--wmcolor-file-border);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}.file-wrapper .file .filename{display:inline-block;white-space:nowrap}.file-wrapper .file .left-group{overflow:hidden;min-width:5.3125rem;-ms-flex-positive:1;flex-grow:1}.file-wrapper .file .right-group{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:end;-ms-flex-align:center;align-items:center;gap:1rem;min-width:0;padding-left:5rem}.file-wrapper .file .right-group.condensed{padding-left:2.5rem}.file-wrapper .file .right-group .file-controls{display:-ms-flexbox;display:flex;gap:1rem}.file-wrapper .file .right-group .file-info{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:end;align-items:end;gap:0.25rem;text-align:right;min-width:8.5rem;max-width:450px;-ms-flex:1;flex:1}.file-wrapper .file .right-group .file-info .uploader-name{max-width:100%;overflow-wrap:break-word}.file-wrapper .file.--error{border:1px solid var(--wmcolor-file-border-error);background-color:var(--wmcolor-file-background-error);height:3.75rem}.file-wrapper.checked .file:after{display:inline-block;font:normal normal normal 24px/1 \"Material Design Icons\";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:\"\\f133\";position:absolute;right:-44px;color:var(--wmcolor-file-checkmark-icon);font-size:28px;line-height:1}.name-wrapper{overflow:hidden}.progress{position:absolute;left:0;top:0;right:0;height:8px}.error-message{display:block;font-style:italic;color:var(--wmcolor-text-error);font-size:0.875rem}.error-message:not(:empty){margin-top:0.25rem}.sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}";
5
+ const WmFileStyle0 = wmFileCss;
5
6
 
6
7
  const File = class {
7
8
  constructor(hostRef) {
@@ -176,11 +177,11 @@ const File = class {
176
177
  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)));
177
178
  }
178
179
  render() {
179
- return h(Host, { role: "listitem" }, this.isUploading ? this.renderFileInProgress() : this.renderFile());
180
+ return h(Host, { key: '52a959f4c66f10815ef4f19f39f77a77dedb0da2', role: "listitem" }, this.isUploading ? this.renderFileInProgress() : this.renderFile());
180
181
  }
181
182
  static get delegatesFocus() { return true; }
182
183
  get el() { return getElement(this); }
183
184
  };
184
- File.style = wmFileCss;
185
+ File.style = WmFileStyle0;
185
186
 
186
187
  export { File as wm_file };
@@ -1,8 +1,9 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-558b5a82.js';
2
- import { t as toBool, a as handleDisabledAttribute, b as triggerFormSubmit } from './functions-b791a892.js';
3
- import { g as globalMessages } from './intl-f2f7ce8b.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-130e07bb.js';
2
+ import { t as toBool, a as handleDisabledAttribute, b as triggerFormSubmit } from './functions-f39e6177.js';
3
+ import { g as globalMessages } from './intl-dda73e98.js';
4
4
 
5
5
  const wmInputCss = ":host{font-family:inherit;width:100%}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-size:0.875rem}:host .wrapper .label{display:block;line-height:normal;font-weight:600;white-space:nowrap;margin-bottom:0.25rem}:host .wrapper .label .required{color:var(--wmcolor-text-required)}:host .wrapper.label-left{-ms-flex-direction:row;flex-direction:row}:host .wrapper.label-left .label-wrapper{line-height:2.5rem}:host .wrapper.label-left .label-wrapper .label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:2.5rem;white-space:normal;margin-bottom:0;margin-right:0.75rem}:host .wrapper.label-none label{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}:host .wrapper.invalid .label{color:var(--wmcolor-text-error)}:host .wrapper.invalid .label:after{display:inline-block;font:normal normal normal 24px/1 \"Material Design Icons\";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:\"\\f026\";margin-left:0.3125rem}[dir=RTL] :host .wrapper.invalid .label:after{margin-left:0;margin-right:0.3125rem}:host .wrapper.rtl.label-left .label{margin-right:0;margin-left:0.75rem}:host .wrapper .inner-wrapper{width:100%}:host .wrapper .text-after-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px}:host .wrapper .text-after{-ms-flex:0 1 fit-content;flex:0 1 fit-content}:host .wrapper .inputfield-wrapper{height:2.5rem;min-width:6.25rem;border:1px solid var(--wmcolor-input-border);-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;display:-ms-flexbox;display:flex}:host .wrapper .inputfield-wrapper.disabled{background-color:var(--wmcolor-input-background-disabled);color:var(--wmcolor-input-text-disabled)}:host .wrapper .inputfield-wrapper.disabled .symbol{background:none}:host .wrapper .symbol{display:-ms-flexbox;display:flex;background-color:var(--wmcolor-input-unit-background);-ms-flex:0 0 44px;flex:0 0 44px;padding-inline:8px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}:host .wrapper .character-count{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;min-width:5rem;background-color:var(--wmcolor-input-charcount-background);font-size:0.875rem;font-weight:500;-ms-flex-item-align:stretch;align-self:stretch}:host .wrapper input{-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;border-radius:3px;border:none;font-family:inherit;font-size:0.875rem;height:100%;-ms-flex:1;flex:1;padding:0.75rem 1rem;width:100%}:host .wrapper input:focus{outline:none}:host .wrapper input[type=number]{padding-right:0}:host .wrapper .info{font-style:italic;line-height:100%;margin:4px 0}:host .wrapper.invalid .inputfield-wrapper{-webkit-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);-moz-box-shadow:0 0 0 1px var(--wmcolor-input-border-error);box-shadow:0 0 0 1px var(--wmcolor-input-border-error);border-color:var(--wmcolor-input-border-error)}:host .wrapper.invalid .error-message{display:block;font-style:italic;color:var(--wmcolor-text-error);font-size:0.875rem;line-height:100%}:host .wrapper.invalid .error-message:not(:empty){margin-top:0.25rem}:host .wrapper:focus .inputfield-wrapper,:host .wrapper.focus .inputfield-wrapper{outline:2px solid var(--wmcolor-input-border-focus);border-color:var(--wmcolor-input-border-focus)}:host .sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}";
6
+ const WmInputStyle0 = wmInputCss;
6
7
 
7
8
  const Input = class {
8
9
  constructor(hostRef) {
@@ -106,7 +107,7 @@ const Input = class {
106
107
  : `info error`;
107
108
  }
108
109
  render() {
109
- 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))));
110
+ return (h("div", { key: 'e219826e8ec52669b73b16e66d82deea84b7f593', class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}`, ref: (el) => (this.inputWrapperEl = el) }, h("div", { key: '8cfc4c4afc56d5348f8a9745af5901abda97a2c3', class: "label-wrapper" }, h("label", { key: 'df2108c3e02502f163dba71fe37bb03d10c65adc', htmlFor: "inputfield", class: "label" }, this.label, this.characterLimit && (h("span", { key: 'e6d62de3abd1720bf2c91f8aa0ba7b762bd9b418', class: "sr-only" }, " ", globalMessages.getCharacterLimit(this.characterLimit))), this.requiredField && (h("span", { key: 'd51f417e80cf759ceebd0f72d3865e4286b83b3b', class: "required", "aria-hidden": "true" }, "*")))), h("div", { key: 'b9fb3a468a29d210577c25cfc4196a1f50e991a9', class: "inner-wrapper" }, h("div", { key: 'f322c7ca4ed76d24ae5c1ca594f8966201fb7be3', class: "text-after-wrapper" }, h("div", { key: 'a345cef67eec1b1b5ed925c3dcf565ae058f866e', class: `inputfield-wrapper ${this.isDisabled ? "disabled" : ""}`, style: this.getInputWidth() }, this.symbolBefore && (h("span", { key: '0ebd25a2b64eef53206ced6400d9cffc5e01ff8f', class: "symbol", id: "symbol-before" }, this.symbolBefore)), h("input", { key: '3352d1aaa1d9883acdd130da7dfa6306c1dd931e', 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: '41ced18e37742c56e8d32467a0d53f82e1de218f', 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: 'e0f3768910badbdc340ff85cb09ae33fd70e58af', class: "text-after", id: "text-after" }, this.textAfter))), this.info && (h("div", { key: '0ac67602b46c7a78ec24ed8ea3ee2addb77fbaed', id: "info", class: "info" }, this.info)), h("div", { key: '3395da0c425661c8a47cad02ff79f71f42306384', id: "error", class: "error-message" }, this.errorMessage), h("div", { key: '93c2b68809b48d4c24f826aa1236096a042f1b48', class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }, this.announcement))));
110
111
  }
111
112
  static get delegatesFocus() { return true; }
112
113
  get el() { return getElement(this); }
@@ -115,6 +116,6 @@ const Input = class {
115
116
  "errorMessage": ["announceError"]
116
117
  }; }
117
118
  };
118
- Input.style = wmInputCss;
119
+ Input.style = WmInputStyle0;
119
120
 
120
121
  export { Input as wm_input };
@@ -1,9 +1,10 @@
1
- import { r as registerInstance, f as forceUpdate, h, H as Host, g as getElement } from './index-558b5a82.js';
2
- import { d as debounce, F as transposeMatrix, x as csvToArray, G as wrapAround, H as getSmallestSkipInterval, I as calcPercentageInRange } from './functions-b791a892.js';
3
- import { n as abbrNumber, o as getInterval } from './chartFunctions-dfcb1edf.js';
4
- import { l as lineChartMessages, c as chartMessages, g as globalMessages } from './intl-f2f7ce8b.js';
1
+ import { r as registerInstance, f as forceUpdate, h, H as Host, g as getElement } from './index-130e07bb.js';
2
+ import { d as debounce, F as transposeMatrix, x as csvToArray, G as wrapAround, H as getSmallestSkipInterval, I as calcPercentageInRange } from './functions-f39e6177.js';
3
+ import { n as abbrNumber, o as getInterval } from './chartFunctions-580870de.js';
4
+ import { l as lineChartMessages, c as chartMessages, g as globalMessages } from './intl-dda73e98.js';
5
5
 
6
6
  const wmLineChartCss = ":host{--wmcolor-linechart-currentposition:var(--wmcolor-lavender);--wmcolor-linechart-delta-text-negative:var(--wmcolor-text-negative);--wmcolor-linechart-delta-text-positive:var(--wmcolor-text-positive);--wmcolor-linechart-gridline:var(--wmcolor-chart-gridline);--wmcolor-linechart-highlight-background:var(--wmcolor-interactive-background-highlight);--wmcolor-linechart-popover-background:var(--wmcolor-chart-popover-background);display:block;height:500px;width:100%;font-size:14px;overflow-y:visible;overflow-x:auto}:host .component-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:562px;width:100%;height:100%;outline:none}:host .icon{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;position:relative;color:var(--iconColor);-webkit-transform:var(--translation, unset);transform:var(--translation, unset)}:host .icon:before{display:inline-block;font:normal normal normal 24px/1 \"Material Design Icons\";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:var(--icon);padding:0 3px;z-index:1}:host .icon:after{color:white;position:absolute;left:3px;-webkit-transform:scale(180%);transform:scale(180%);display:inline-block;font:normal normal normal 24px/1 \"Material Design Icons\";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:var(--icon);z-index:0}:host .legend{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:8px 16px;margin-top:4px;margin-bottom:16px}:host .legend .legend-label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;cursor:default;font-weight:600}:host .legend .legend-label.faded{opacity:0.3}:host .legend .legend-label .icon{margin-right:4px}:host .legend .visibility-toggle{margin-left:4px}:host .chart-wrapper{position:relative;-ms-flex-positive:1;flex-grow:1;display:grid;grid-template-columns:auto auto 1fr;grid-template-rows:1fr auto auto;margin-right:16px}:host .chart-label{font-size:14px;font-weight:600}:host .chart-label.--y-axis{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;width:var(--labelWidth);align-self:center;margin-right:16px;grid-area:1/1/2/2;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}:host .chart-label.--x-axis{margin-top:16px;text-align:center;grid-area:3/3/4/4}:host .y-intervals{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;grid-area:1/2/2/3;margin-right:4px}:host .y-intervals .y-interval{text-align:right}:host .x-intervals{display:grid;grid-template-columns:var(--columns);grid-area:2/3/3/4;line-height:1;margin-top:4px}:host .x-intervals .x-interval{text-align:center}:host .x-intervals .x-interval:first-child{text-align:left}:host .x-intervals .x-interval:last-child{text-align:right}:host .x-intervals .x-interval.hidden{visibility:hidden}:host .plot-area{position:relative;grid-area:1/3/2/4;background-image:linear-gradient(90deg, var(--wmcolor-linechart-gridline) 1px, transparent 1px);border-bottom:1px solid var(--wmcolor-linechart-gridline);background-size:var(--backgroundSize)}:host .plot-area.right-border{border-right:1px solid var(--wmcolor-linechart-gridline)}:host .line{position:absolute;width:100%;height:100%}:host .line .icon{position:absolute;-webkit-transform:var(--translation);transform:var(--translation);left:var(--xPosition);top:var(--yPosition);z-index:1}:host .line .icon:focus{z-index:2;outline:none}:host .line .icon:focus:before{outline:3px solid var(--wmcolor-interactive-focus);outline-offset:0;border-radius:3px}:host .line .line-svg{height:100%;width:100%}:host .line.faded{opacity:0.3}:host .line.focused{z-index:1}:host .line.hidden{visibility:hidden}:host .hover-area-wrapper{position:absolute;width:100%;height:100%;top:0;left:0;display:grid;grid-template-rows:1fr;grid-template-columns:var(--columns)}:host .hover-indicator{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;height:100%;width:2px;border:1px solid var(--wmcolor-linechart-currentposition);-webkit-transform:translateX(-50%);transform:translateX(-50%);left:var(--xPosition);grid-column:3/4;grid-row:1/2;pointer-events:none}:host .popover{width:-webkit-max-content;width:-moz-max-content;width:max-content;max-width:400px;background-color:var(--wmcolor-linechart-popover-background);position:absolute;top:var(--topPosition, 0);left:var(--leftPosition, unset);right:var(--rightPosition, unset);padding:16px;border-radius:5px;-webkit-box-shadow:0px 2px 10px 0px rgba(0, 0, 0, 0.09);box-shadow:0px 2px 10px 0px rgba(0, 0, 0, 0.09);-webkit-transform:translateY(-50%);transform:translateY(-50%);line-height:1;z-index:3;grid-column:3/4;grid-row:1/2;pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box}:host .popover .title{font-size:16px;font-weight:600}:host .popover .comparison-title{font-style:italic;margin-top:4px}:host .popover .unit{font-size:12px;font-weight:600}:host .popover .unit.--x{margin-left:4px}:host .popover .popover-table{margin-top:16px}:host .popover .popover-table .popover-row{line-height:1}:host .popover .popover-table .popover-row:not(:last-child) td{padding-bottom:8px}:host .popover .popover-table .popover-row .row-label{font-weight:600;padding-right:16px;overflow-wrap:anywhere}:host .popover .popover-table .popover-row .row-label .icon{margin-right:4px}:host .popover .popover-table .popover-row .row-value,:host .popover .popover-table .popover-row .delta{text-align:right;white-space:nowrap}:host .popover .popover-table .popover-row .delta{padding-left:12px;font-weight:600}:host .popover .popover-table .popover-row .delta.--positive{color:var(--wmcolor-linechart-delta-text-positive)}:host .popover .popover-table .popover-row .delta.--negative{color:var(--wmcolor-linechart-delta-text-negative)}:host .highlight{position:absolute;height:100%;background-color:color-mix(in srgb, var(--wmcolor-linechart-highlight-background) 60%, transparent);left:var(--startPercentage);right:var(--endPercentage)}:host .sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important}";
7
+ const WmLineChartStyle0 = wmLineChartCss;
7
8
 
8
9
  const LineChart = class {
9
10
  constructor(hostRef) {
@@ -16,12 +17,12 @@ const LineChart = class {
16
17
  this.displayedXIntervals = [];
17
18
  this.yIntervals = [];
18
19
  this.lineStyles = [
19
- { color: "#8b86ca", icon: "f536" },
20
- { color: "#2e1b46", icon: "f12f" },
21
- { color: "#0089e4", icon: "f763" },
22
- { color: "#088000", icon: "f4ce" },
23
- { color: "#ea8500", icon: "f70a" },
24
- { color: "#d54f41", icon: "f536" },
20
+ { color: "#8b86ca", icon: "f536" }, // lavender, triangle
21
+ { color: "#2e1b46", icon: "f12f" }, // midnight, circle
22
+ { color: "#0089e4", icon: "f763" }, // blue, square
23
+ { color: "#088000", icon: "f4ce" }, // forest, star
24
+ { color: "#ea8500", icon: "f70a" }, // orange, rhombus
25
+ { color: "#d54f41", icon: "f536" }, // red, upside down triangle
25
26
  { color: "#146ca9", icon: "f6ff" }, // blue, upside down triangle
26
27
  ];
27
28
  this.debouncedResize = debounce(async () => {
@@ -417,7 +418,7 @@ const LineChart = class {
417
418
  popoverStyle = {
418
419
  "--leftPosition": `0%`,
419
420
  "--topPosition": "0%",
420
- maxWidth: Math.min(this.el.clientWidth - 2, 400) + "px",
421
+ maxWidth: Math.min(this.el.clientWidth - 2, 400) + "px", // take up no more max-width than is visually available
421
422
  transform: `translateX(calc(${displaceLeft}))`, // align with left edge of component
422
423
  };
423
424
  }
@@ -457,9 +458,9 @@ const LineChart = class {
457
458
  return h("div", { class: "highlight", style: highlightStyle });
458
459
  }
459
460
  render() {
460
- return (h(Host, { onBlur: () => this.resetDataPointFocus(), onMouseLeave: () => (this.popoverIndex = -1) }, h("div", { class: "component-wrapper", role: "application", "aria-roledescription": chartMessages.interactiveChart, "aria-label": this.label, "aria-describedby": "chart-description" }, this.renderLegend(), h("div", { class: "chart-wrapper" }, h("div", { class: "chart-label --y-axis", style: { "--labelWidth": this.labelWidth } }, this.yAxisLabel, this.parsedUnits[1] && ` (${this.parsedUnits[1]})`), this.renderYIntervals(), h("div", { ref: (el) => (this.plotAreaEl = el), class: `plot-area ${this.hasPartialInterval ? "" : "right-border"}`, style: {
461
+ return (h(Host, { key: '9817eea8765cce513a0848cd222a6409c8f1f912', onBlur: () => this.resetDataPointFocus(), onMouseLeave: () => (this.popoverIndex = -1) }, h("div", { key: '60de41437bb425483be4b5a24fc2468c8e8f8d4e', class: "component-wrapper", role: "application", "aria-roledescription": chartMessages.interactiveChart, "aria-label": this.label, "aria-describedby": "chart-description" }, this.renderLegend(), h("div", { key: '2029ed03f09b8c133ee430f7b1d70c9dded326f3', class: "chart-wrapper" }, h("div", { key: '4e9123177b8c02cf1fef010d370b2b1a23b2015c', class: "chart-label --y-axis", style: { "--labelWidth": this.labelWidth } }, this.yAxisLabel, this.parsedUnits[1] && ` (${this.parsedUnits[1]})`), this.renderYIntervals(), h("div", { key: '3cbe51169818095cd830e7b8099d3a10980e3cf2', ref: (el) => (this.plotAreaEl = el), class: `plot-area ${this.hasPartialInterval ? "" : "right-border"}`, style: {
461
462
  "--backgroundSize": `${this.dataPointMatrix[0][this.xIntervals.indexOf(this.displayedXIntervals[1])].xPositionPercent}%`,
462
- } }, this.highlightStart && this.renderHighlight(), this.renderData(), this.renderHoverAreas()), this.popoverIndex !== -1 && this.renderHoverIndicator(), this.popoverIndex !== -1 && this.renderPopover(), this.renderXIntervals(), h("div", { class: "chart-label --x-axis" }, this.xAxisLabel, this.parsedUnits[0] && ` (${this.parsedUnits[0]})`)), h("div", { id: "chart-description", class: "sr-only" }, `${lineChartMessages.instructions} ${this.description}`), h("div", { ref: (el) => (this.liveRegionEl = el), "aria-live": "polite", class: "sr-only" }, this.announcement))));
463
+ } }, this.highlightStart && this.renderHighlight(), this.renderData(), this.renderHoverAreas()), this.popoverIndex !== -1 && this.renderHoverIndicator(), this.popoverIndex !== -1 && this.renderPopover(), this.renderXIntervals(), h("div", { key: 'dad130dfb9063769dd36316cb060c90a8f1c8cb8', class: "chart-label --x-axis" }, this.xAxisLabel, this.parsedUnits[0] && ` (${this.parsedUnits[0]})`)), h("div", { key: 'bb4ffc7fbae6ab63e6f3e16c1d7e8a98c382e243', id: "chart-description", class: "sr-only" }, `${lineChartMessages.instructions} ${this.description}`), h("div", { key: 'de40d0eecd0db387912b45fb2b4576b37e3876aa', ref: (el) => (this.liveRegionEl = el), "aria-live": "polite", class: "sr-only" }, this.announcement))));
463
464
  }
464
465
  get el() { return getElement(this); }
465
466
  static get watchers() { return {
@@ -467,6 +468,6 @@ const LineChart = class {
467
468
  "intervalSkip": ["handleIntervalSkip"]
468
469
  }; }
469
470
  };
470
- LineChart.style = wmLineChartCss;
471
+ LineChart.style = WmLineChartStyle0;
471
472
 
472
473
  export { LineChart as wm_line_chart };
@@ -1,8 +1,11 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-558b5a82.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-130e07bb.js';
2
+ import { g as generateId, c as checkForActiveElInShadow } from './functions-f39e6177.js';
3
+ import { g as globalMessages } from './intl-dda73e98.js';
2
4
 
3
- const wmModalPssCss = "wm-modal-pss{--wmcolor-modal-background:var(--wmcolor-background);--wmcolor-modal-border:var(--wmcolor-border);--wmcolor-modal-heading:var(--wmcolor-text);--wmcolor-modal-overlay:var(--wmcolor-overlay);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);z-index:2001;width:80vw;max-width:750px;max-height:80vh;-webkit-box-shadow:0px 11px 15px 0px rgba(0, 0, 0, 0.2), 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14);box-shadow:0px 11px 15px 0px rgba(0, 0, 0, 0.2), 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14)}wm-modal-pss *{-webkit-box-sizing:border-box;box-sizing:border-box}wm-modal-pss>*{width:80vw;max-width:750px;background:var(--wmcolor-modal-background)}wm-modal-pss>*:focus{outline:none}wm-modal-pss wm-modal-pss-header,wm-modal-pss wm-modal-pss-footer{padding:20px 30px}wm-modal-pss wm-modal-pss-header{z-index:2003}wm-modal-pss wm-modal-pss-footer{z-index:2003}wm-modal-pss>:not(wm-modal-pss-header):not(wm-modal-pss-footer){max-height:calc(80vh - 166px);z-index:2002}wm-modal-pss.wm-modal wm-modal-pss-header{border-bottom:1px solid var(--wmcolor-modal-border)}wm-modal-pss.wm-modal wm-modal-pss-footer{border-top:1px solid var(--wmcolor-modal-border)}@media only screen and (max-width: 768px){wm-modal-pss.wm-modal{height:100%;max-height:none;max-width:none;width:100vw}wm-modal-pss.wm-modal>*{max-width:none;width:100vw}wm-modal-pss.wm-modal>*:not(wm-modal-pss-header):not(wm-modal-pss-footer){max-height:none;height:calc(100vh - 166px)}}wm-modal-pss.wm-dialog>:not(wm-modal-pss-header):not(wm-modal-pss-footer){padding:0 30px 20px 30px;font-size:0.875rem;border:none}wm-modal-pss .overlay{width:100vw;height:100vh;max-width:none;max-height:none;position:fixed !important;top:-1;bottom:1;left:-1;right:1;-webkit-transform:translate(0%, 0%);transform:translate(0%, 0%);background-color:var(--wmcolor-modal-overlay);-webkit-transition:opacity 0.5s ease-out;transition:opacity 0.5s ease-out;z-index:2000}wm-modal-pss.hide{visibility:hidden}wm-modal-pss .sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important;top:0;left:0}";
5
+ const wmModalPssCss = "wm-modal-pss{--wmcolor-modal-background:var(--wmcolor-background);--wmcolor-modal-border:var(--wmcolor-border);--wmcolor-modal-heading:var(--wmcolor-text);--wmcolor-modal-overlay:var(--wmcolor-overlay);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;position:fixed;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);z-index:2001;width:80vw;max-width:750px;max-height:80vh;-webkit-box-shadow:0px 11px 15px 0px rgba(0, 0, 0, 0.2), 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14);-moz-box-shadow:0px 11px 15px 0px rgba(0, 0, 0, 0.2), 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14);box-shadow:0px 11px 15px 0px rgba(0, 0, 0, 0.2), 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14)}wm-modal-pss *{-webkit-box-sizing:border-box;box-sizing:border-box}wm-modal-pss>*{width:80vw;max-width:750px;background:var(--wmcolor-modal-background)}wm-modal-pss>*:focus{outline:none}wm-modal-pss wm-modal-pss-header,wm-modal-pss wm-modal-pss-footer{padding:1.25rem 1.875rem}wm-modal-pss wm-modal-pss-header{z-index:2003}wm-modal-pss wm-modal-pss-footer{z-index:2003}wm-modal-pss>:not(wm-modal-pss-header):not(wm-modal-pss-footer){max-height:calc(80vh - 166px);z-index:2002}wm-modal-pss.wm-modal wm-modal-pss-header{border-bottom:1px solid var(--wmcolor-modal-border)}wm-modal-pss.wm-modal wm-modal-pss-footer{border-top:1px solid var(--wmcolor-modal-border)}@media only screen and (max-width: 768px){wm-modal-pss.wm-modal{height:100%;max-height:none;max-width:none;width:100vw}wm-modal-pss.wm-modal>*{max-width:none;width:100vw}wm-modal-pss.wm-modal>*:not(wm-modal-pss-header):not(wm-modal-pss-footer){max-height:none;height:calc(100vh - 166px)}}wm-modal-pss.wm-dialog>:not(wm-modal-pss-header):not(wm-modal-pss-footer){padding:0 1.875rem 1.25rem 1.875rem;font-size:0.875rem;border:none}wm-modal-pss .overlay{width:100vw;height:100vh;max-width:none;max-height:none;position:fixed !important;top:-1;bottom:1;left:-1;right:1;-webkit-transform:translate(0%, 0%);transform:translate(0%, 0%);background-color:var(--wmcolor-modal-overlay);-ms-transition:opacity 0.5s ease-out;-webkit-transition:opacity 0.5s ease-out;-moz-transition:opacity 0.5s ease-out;transition:opacity 0.5s ease-out;z-index:2000}wm-modal-pss.hide{visibility:hidden}wm-modal-pss .sr-only{position:absolute !important;width:1px !important;height:1px !important;padding:0 !important;border:0 !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;white-space:nowrap !important;margin:-1px !important;top:0;left:0}";
6
+ const WmModalPssStyle0 = wmModalPssCss;
4
7
 
5
- const Modal = class {
8
+ const ModalPss = class {
6
9
  constructor(hostRef) {
7
10
  registerInstance(this, hostRef);
8
11
  this.focusLastElement = createEvent(this, "focusLastElement", 3);
@@ -33,6 +36,12 @@ const Modal = class {
33
36
  toggleModal() {
34
37
  this.open ? this.showModal() : this.hideModal();
35
38
  }
39
+ //The below not implemented in light of the fact that the app does often need to keep track of the modal's state itself so that it can update the data displayed in the body:
40
+ //App can also open modal by emitting wmShowModal event. Event needs to include the modal's unique id as the event detail, or else all modals on the page will open when wmShowModal event is dispatched.
41
+ // @Listen("wmShowModal", { target: "window" })
42
+ // doesEventMatchId(ev: CustomEvent) {
43
+ // ev.detail === this.uid && this.showModal();
44
+ // }
36
45
  handleClick(ev) {
37
46
  this.open && ev.target === this.overlayEl && this.focusOnOpenEl.focus();
38
47
  }
@@ -67,14 +76,13 @@ const Modal = class {
67
76
  componentWillLoad() {
68
77
  if (this.elementToFocus === "primary" || this.elementToFocus === "secondary") {
69
78
  if (!this.el.id) {
70
- console.error("For accessibility purposes, you need to set the modal content wrapper's id to 'content-[id of wm-modal-pss]'.");
79
+ console.error("You are telling the modal to focus an element in the footer when it opens. That's fine! But when you do that, you also need to give the wm-modal-wrapper an ID and set the ID of the modal body to 'content-[id of wm-modal-wrapper]. This is for accessibility purposes.");
71
80
  }
72
81
  }
73
82
  this.el.focus = () => {
74
83
  this.focusOnOpenEl.focus();
75
84
  };
76
- const generatedId = "wmcl-" + Math.random().toString(36).substr(2, 10);
77
- this.uid = this.el.id ? this.el.id : generatedId;
85
+ this.uid = this.el.id ? this.el.id : generateId();
78
86
  }
79
87
  componentDidLoad() {
80
88
  if (this.open) {
@@ -105,13 +113,7 @@ const Modal = class {
105
113
  this.focusOnCloseEl = elToFocus.parentElement;
106
114
  }
107
115
  else {
108
- let el;
109
- while (elToFocus && elToFocus.shadowRoot) {
110
- el = elToFocus.shadowRoot.activeElement;
111
- }
112
- if (el) {
113
- this.focusOnCloseEl = el;
114
- }
116
+ this.focusOnCloseEl = checkForActiveElInShadow(elToFocus);
115
117
  }
116
118
  }
117
119
  redirectFocusFromBody() {
@@ -120,9 +122,9 @@ const Modal = class {
120
122
  }
121
123
  }
122
124
  render() {
123
- return (h(Host, { class: `${this.open ? "" : "hide "}${"wm-" + this.modalType}`, role: "dialog", "aria-describedby": `wm-modal-heading-text-${this.uid}`, "aria-modal": "true", tabindex: this.open ? 0 : null, onFocus: () => {
125
+ return (h(Host, { key: '95cba8f98f359a1bf9fa8ffa1f1b808e4057fd13', class: `${this.open ? "" : "hide "}${"wm-" + this.modalType}`, role: "dialog", "aria-describedby": `wm-modal-heading-text-${this.uid}`, "aria-modal": "true", tabindex: this.open ? 0 : null, onFocus: () => {
124
126
  this.focusLastElement.emit();
125
- } }, h("div", { class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { class: "sr-only", tabIndex: 0, onFocus: () => {
127
+ } }, h("div", { key: '7ff7bb8191f9ce9c20a40e43ea302ed79f485369', class: "overlay", ref: (el) => (this.overlayEl = el) }), h("div", { key: 'b646215d4ce43b477784d5c4285fcae624fb092b', class: "sr-only", tabIndex: 0, onFocus: () => {
126
128
  this.focusFirstElement.emit();
127
129
  } })));
128
130
  }
@@ -131,11 +133,12 @@ const Modal = class {
131
133
  "open": ["toggleModal"]
132
134
  }; }
133
135
  };
134
- Modal.style = wmModalPssCss;
136
+ ModalPss.style = WmModalPssStyle0;
135
137
 
136
- const wmModalPssFooterCss = "wm-modal-pss-footer{border-radius:0px 0px 5px 5px;margin-top:-1px}wm-modal-pss-footer .wm-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}@media only screen and (max-width: 650px){wm-modal-pss-footer .wm-wrapper.footer-text{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}}wm-modal-pss-footer .wm-wrapper wm-button+wm-button{margin-left:1rem}wm-modal-pss-footer .wm-wrapper .wm-info{font-size:0.875rem;font-style:italic}@media only screen and (max-width: 650px){wm-modal-pss-footer .wm-wrapper .wm-info{padding-bottom:0.625rem}}wm-modal-pss-footer .wm-wrapper .wm-info:focus{outline:none}";
138
+ const wmModalPssFooterCss = "wm-modal-pss-footer{-webkit-border-radius:0px 0px 5px 5px;-moz-border-radius:0px 0px 5px 5px;-ms-border-radius:0px 0px 5px 5px;border-radius:0px 0px 5px 5px;margin-top:-1px}wm-modal-pss-footer .wm-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}@media only screen and (max-width: 650px){wm-modal-pss-footer .wm-wrapper.footer-text{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}}wm-modal-pss-footer .wm-wrapper wm-button+wm-button{margin-left:1rem}wm-modal-pss-footer .wm-wrapper .wm-info{font-size:0.875rem;font-style:italic}@media only screen and (max-width: 650px){wm-modal-pss-footer .wm-wrapper .wm-info{padding-bottom:0.625rem}}wm-modal-pss-footer .wm-wrapper .wm-info:focus{outline:none}";
139
+ const WmModalPssFooterStyle0 = wmModalPssFooterCss;
137
140
 
138
- const ModalFooter = class {
141
+ const ModalPssFooter = class {
139
142
  constructor(hostRef) {
140
143
  registerInstance(this, hostRef);
141
144
  this.secondaryText = "";
@@ -164,15 +167,16 @@ const ModalFooter = class {
164
167
  parentModal.emitSecondaryEvent();
165
168
  }
166
169
  render() {
167
- 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) : null) }, 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) : null) }, this.primaryText))));
170
+ return (h("div", { key: 'fd15e13b05f9e0674a445032a977e1a0e66c6c2c', class: `wm-wrapper ${this.infoText ? " footer-text" : ""}` }, h("div", { key: '3d1647513210275f9c21cc6628de572d9762e735', class: "wm-info", "aria-live": "polite" }, this.infoText), h("div", { key: '6932a4e853c6d089717fc5077fc80632509df20a', class: "wm-button-collection" }, this.secondaryText && (h("wm-button", { key: '3589ebfff9731c263682a2c522c952457cf7d5c0', onClick: () => this.emitParentSecondaryEvent(), id: `wm-secondary-${this.uid}`, ref: (el) => (this.primaryActionDisabled ? (this.lastElement = el) : null) }, this.secondaryText)), h("wm-button", { key: '6dd855605985ddfee0c5e25c6cf2e4109da40e4b', "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) : null) }, this.primaryText))));
168
171
  }
169
172
  get el() { return getElement(this); }
170
173
  };
171
- ModalFooter.style = wmModalPssFooterCss;
174
+ ModalPssFooter.style = WmModalPssFooterStyle0;
172
175
 
173
- const wmModalPssHeaderCss = "wm-modal-pss-header{border-radius:5px 5px 0 0px;margin-bottom:-1px}wm-modal-pss-header .wm-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}wm-modal-pss-header .wm-wrapper .title{margin:0;font-weight:600;font-size:1.125rem;color:var(--wmcolor-modal-heading);line-height:normal}wm-modal-pss-header .wm-wrapper .title .subtitle{display:block;font-size:0.875rem;font-weight:normal}wm-modal-pss-header .wm-wrapper .title:focus{outline:none}";
176
+ const wmModalPssHeaderCss = "wm-modal-pss-header{-webkit-border-radius:5px 5px 0 0px;-moz-border-radius:5px 5px 0 0px;-ms-border-radius:5px 5px 0 0px;border-radius:5px 5px 0 0px;margin-bottom:-1px}wm-modal-pss-header .wm-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}wm-modal-pss-header .wm-wrapper .title{margin:0;font-weight:600;font-size:1.125rem;color:var(--wmcolor-modal-heading);line-height:normal}wm-modal-pss-header .wm-wrapper .title .subtitle{display:block;font-size:0.875rem;font-weight:normal}wm-modal-pss-header .wm-wrapper .title:focus{outline:none}";
177
+ const WmModalPssHeaderStyle0 = wmModalPssHeaderCss;
174
178
 
175
- const ModalHeader = class {
179
+ const ModalPssHeader = class {
176
180
  constructor(hostRef) {
177
181
  registerInstance(this, hostRef);
178
182
  this.heading = "";
@@ -198,10 +202,10 @@ const ModalHeader = class {
198
202
  // this.headingElement.focus();
199
203
  // }
200
204
  render() {
201
- 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: "Close", "tooltip-position": "left", id: `wm-modal-close-${this.uid}`, ref: (el) => (this.closeButtonEl = el), onClick: () => this.emitParentCloseEvent() }))));
205
+ return (h(Host, { key: '3e126dd6f86d4a312e82cf75fd5e129ed9760b18' }, h("div", { key: '1978120a54a62722b26c6c0f3c1d5c5150abc5d7', class: "wm-wrapper" }, h("div", { key: '07e41cb87c58da13e58d0fd34663b415a5733c3f' }, h("h2", { key: 'c748a8b6f33726483e9184c4715368ca14fe0ea4', class: "title", id: `wm-modal-heading-text-${this.uid}` }, this.heading, h("span", { key: 'c75c70cbc97e763984667fa1457ca92fa828280f', class: "subtitle" }, this.subheading))), h("wm-button", { key: '7ad88c30a4bcdc44ce420cb181ef5e9cdaaabe41', "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() }))));
202
206
  }
203
207
  get el() { return getElement(this); }
204
208
  };
205
- ModalHeader.style = wmModalPssHeaderCss;
209
+ ModalPssHeader.style = WmModalPssHeaderStyle0;
206
210
 
207
- export { Modal as wm_modal_pss, ModalFooter as wm_modal_pss_footer, ModalHeader as wm_modal_pss_header };
211
+ export { ModalPss as wm_modal_pss, ModalPssFooter as wm_modal_pss_footer, ModalPssHeader as wm_modal_pss_header };