@watermarkinsights/ripple 5.7.0-7 → 5.7.0-8

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 (386) hide show
  1. package/dist/{esm/global-099ddc86.js → cjs/app-globals-1f689ab3.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 +5 -4
  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 +5 -4
  12. package/dist/cjs/ripple.cjs.js +13 -12
  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 +216 -0
  24. package/dist/cjs/{wm-modal.cjs.entry.js → wm-modal_3.cjs.entry.js} +81 -5
  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 +19 -7
  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.js +7 -5
  53. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +3 -3
  54. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +1 -1
  55. package/dist/collection/components/selects/wm-option/wm-option.js +1 -1
  56. package/dist/collection/components/selects/wm-select/wm-select.js +2 -2
  57. package/dist/collection/components/wm-action-menu/wm-action-menu.js +1 -1
  58. package/dist/collection/components/wm-button/wm-button.js +1 -1
  59. package/dist/collection/components/wm-file/wm-file.js +1 -1
  60. package/dist/collection/components/wm-file-list/wm-file-list.js +1 -1
  61. package/dist/collection/components/wm-input/wm-input.js +1 -1
  62. package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
  63. package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
  64. package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
  65. package/dist/collection/components/wm-modal/wm-modal.js +2 -2
  66. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.css +61 -0
  67. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +138 -0
  68. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.css +55 -0
  69. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +81 -0
  70. package/dist/collection/components/wm-modal-pss/wm-modal-pss.css +134 -0
  71. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +361 -0
  72. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
  73. package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
  74. package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
  75. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
  76. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
  77. package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
  78. package/dist/collection/components/wm-search/wm-search.js +5 -4
  79. package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
  80. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +1 -1
  81. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +1 -1
  82. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
  83. package/dist/collection/components/wm-tag-input/wm-tag-input.js +3 -3
  84. package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
  85. package/dist/collection/components/wm-timepicker/wm-timepicker.js +11 -8
  86. package/dist/collection/components/wm-toggletip/wm-toggletip.js +2 -2
  87. package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
  88. package/dist/{cjs/global-4e6e41e7.js → esm/app-globals-0f27630e.js} +7 -2
  89. package/dist/esm/{chartFunctions-dfcb1edf.js → chartFunctions-6666ced3.js} +3 -3
  90. package/dist/esm/{functions-b791a892.js → functions-03966124.js} +105 -8
  91. package/dist/esm/index-130e07bb.js +1828 -0
  92. package/dist/esm/{intl-f2f7ce8b.js → intl-2fa0087c.js} +1 -1
  93. package/dist/esm/loader.js +6 -5
  94. package/dist/esm/priv-calendar.entry.js +6 -5
  95. package/dist/esm/priv-chart-popover.entry.js +6 -5
  96. package/dist/esm/priv-navigator-button.entry.js +4 -3
  97. package/dist/esm/priv-navigator-item.entry.js +4 -3
  98. package/dist/esm/priv-option-list.entry.js +5 -4
  99. package/dist/esm/ripple.js +14 -13
  100. package/dist/esm/wm-action-menu_2.entry.js +8 -6
  101. package/dist/esm/wm-button.entry.js +5 -4
  102. package/dist/esm/wm-chart-slice.entry.js +1 -1
  103. package/dist/esm/wm-chart.entry.js +7 -6
  104. package/dist/esm/wm-date-range.entry.js +9 -8
  105. package/dist/esm/wm-datepicker.entry.js +9 -8
  106. package/dist/esm/wm-file-list.entry.js +4 -3
  107. package/dist/esm/wm-file.entry.js +5 -4
  108. package/dist/esm/wm-input.entry.js +6 -5
  109. package/dist/esm/wm-line-chart.entry.js +15 -14
  110. package/dist/esm/wm-modal-pss_3.entry.js +210 -0
  111. package/dist/esm/{wm-modal.entry.js → wm-modal_3.entry.js} +80 -6
  112. package/dist/esm/wm-navigation_3.entry.js +13 -10
  113. package/dist/esm/wm-navigator.entry.js +4 -3
  114. package/dist/esm/wm-nested-select.entry.js +8 -7
  115. package/dist/esm/wm-optgroup.entry.js +5 -4
  116. package/dist/esm/wm-option_2.entry.js +10 -8
  117. package/dist/esm/wm-pagination.entry.js +5 -4
  118. package/dist/esm/wm-progress-indicator_3.entry.js +9 -7
  119. package/dist/esm/wm-search.entry.js +7 -6
  120. package/dist/esm/wm-snackbar.entry.js +7 -6
  121. package/dist/esm/wm-tab-item_3.entry.js +11 -8
  122. package/dist/esm/wm-tag-input.entry.js +8 -7
  123. package/dist/esm/wm-tag-option.entry.js +2 -2
  124. package/dist/esm/wm-textarea.entry.js +6 -5
  125. package/dist/esm/wm-timepicker.entry.js +6 -5
  126. package/dist/esm/wm-toggletip.entry.js +6 -5
  127. package/dist/esm/wm-uploader.entry.js +7 -6
  128. package/dist/esm/wm-wrapper.entry.js +1 -1
  129. package/dist/esm-es5/app-globals-0f27630e.js +1 -0
  130. package/dist/esm-es5/{chartFunctions-dfcb1edf.js → chartFunctions-6666ced3.js} +1 -1
  131. package/dist/esm-es5/functions-03966124.js +1 -0
  132. package/dist/esm-es5/index-130e07bb.js +1 -0
  133. package/dist/esm-es5/{intl-f2f7ce8b.js → intl-2fa0087c.js} +1 -1
  134. package/dist/esm-es5/loader.js +1 -1
  135. package/dist/esm-es5/priv-calendar.entry.js +1 -1
  136. package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
  137. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  138. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  139. package/dist/esm-es5/priv-option-list.entry.js +1 -1
  140. package/dist/esm-es5/ripple.js +1 -1
  141. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  142. package/dist/esm-es5/wm-button.entry.js +1 -1
  143. package/dist/esm-es5/wm-chart-slice.entry.js +1 -1
  144. package/dist/esm-es5/wm-chart.entry.js +1 -1
  145. package/dist/esm-es5/wm-date-range.entry.js +1 -1
  146. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  147. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  148. package/dist/esm-es5/wm-file.entry.js +1 -1
  149. package/dist/esm-es5/wm-input.entry.js +1 -1
  150. package/dist/esm-es5/wm-line-chart.entry.js +1 -1
  151. package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -0
  152. package/dist/esm-es5/wm-modal_3.entry.js +1 -0
  153. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  154. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  155. package/dist/esm-es5/wm-nested-select.entry.js +1 -1
  156. package/dist/esm-es5/wm-optgroup.entry.js +1 -1
  157. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  158. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  159. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  160. package/dist/esm-es5/wm-search.entry.js +1 -1
  161. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  162. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  163. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  164. package/dist/esm-es5/wm-tag-option.entry.js +1 -1
  165. package/dist/esm-es5/wm-textarea.entry.js +1 -1
  166. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  167. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  168. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  169. package/dist/esm-es5/wm-wrapper.entry.js +1 -1
  170. package/dist/loader/cdn.js +1 -2
  171. package/dist/loader/index.cjs.js +1 -2
  172. package/dist/loader/index.d.ts +3 -0
  173. package/dist/loader/index.es2017.js +1 -2
  174. package/dist/loader/index.js +1 -2
  175. package/dist/ripple/{p-65d26233.system.entry.js → p-043901ab.system.entry.js} +1 -1
  176. package/dist/ripple/p-04c5af17.entry.js +1 -0
  177. package/dist/ripple/{p-828adbf1.system.js → p-094883e1.system.js} +1 -1
  178. package/dist/ripple/{p-a3c01e10.system.entry.js → p-0ba0c194.system.entry.js} +1 -1
  179. package/dist/ripple/p-1073ab75.system.entry.js +1 -0
  180. package/dist/ripple/p-1344f4d2.entry.js +1 -0
  181. package/dist/ripple/{p-48e09589.entry.js → p-13b1d775.entry.js} +1 -1
  182. package/dist/ripple/p-202cc2fe.system.js +1 -0
  183. package/dist/ripple/p-2261e8d4.entry.js +1 -0
  184. package/dist/ripple/p-2300c07b.entry.js +1 -0
  185. package/dist/ripple/{p-3e415c49.system.entry.js → p-236ee735.system.entry.js} +1 -1
  186. package/dist/ripple/{p-505eca1c.system.entry.js → p-26e42263.system.entry.js} +1 -1
  187. package/dist/ripple/p-2716532e.system.entry.js +1 -0
  188. package/dist/ripple/p-2903ce15.system.entry.js +1 -0
  189. package/dist/ripple/{p-e687176d.entry.js → p-2c70503a.entry.js} +1 -1
  190. package/dist/ripple/p-30f148a7.entry.js +1 -0
  191. package/dist/ripple/p-39484b51.system.entry.js +1 -0
  192. package/dist/ripple/p-3e7e6493.system.entry.js +1 -0
  193. package/dist/ripple/{p-72165bd2.entry.js → p-4b29da45.entry.js} +1 -1
  194. package/dist/ripple/{p-c2e00d4a.system.entry.js → p-4fa245d4.system.entry.js} +1 -1
  195. package/dist/ripple/p-4fae07d6.entry.js +1 -0
  196. package/dist/ripple/{p-5284791c.entry.js → p-524f0531.entry.js} +1 -1
  197. package/dist/ripple/p-563f37e8.entry.js +1 -0
  198. package/dist/ripple/p-5a2431e1.system.entry.js +1 -0
  199. package/dist/ripple/{p-db9657eb.system.entry.js → p-60206085.system.entry.js} +1 -1
  200. package/dist/ripple/p-60cb3adc.entry.js +1 -0
  201. package/dist/ripple/p-618b27e6.entry.js +1 -0
  202. package/dist/ripple/p-62bb8827.system.entry.js +1 -0
  203. package/dist/ripple/{p-fa4f1030.system.entry.js → p-664dc79d.system.entry.js} +1 -1
  204. package/dist/ripple/p-695391a9.system.entry.js +1 -0
  205. package/dist/ripple/{p-c853e185.system.entry.js → p-6bb9402a.system.entry.js} +1 -1
  206. package/dist/ripple/p-6d9acebc.system.entry.js +1 -0
  207. package/dist/ripple/p-7136efd0.entry.js +1 -0
  208. package/dist/ripple/{p-eddbcb21.js → p-785fda3d.js} +1 -1
  209. package/dist/ripple/p-79979fb1.entry.js +1 -0
  210. package/dist/ripple/p-7c2846e4.system.entry.js +1 -0
  211. package/dist/ripple/p-7f162296.system.entry.js +1 -0
  212. package/dist/ripple/p-7fba9e61.system.entry.js +1 -0
  213. package/dist/ripple/{p-32bf3f5b.system.entry.js → p-823d7b4e.system.entry.js} +1 -1
  214. package/dist/ripple/p-877d35f8.system.entry.js +1 -0
  215. package/dist/ripple/p-89a862ae.system.entry.js +1 -0
  216. package/dist/ripple/p-8ef8c943.system.entry.js +1 -0
  217. package/dist/ripple/p-9062cb9a.entry.js +1 -0
  218. package/dist/ripple/{p-f90e4094.entry.js → p-9511f0c3.entry.js} +1 -1
  219. package/dist/ripple/p-a6466fd1.entry.js +1 -0
  220. package/dist/ripple/p-ae2b2056.entry.js +1 -0
  221. package/dist/ripple/p-afa807a5.entry.js +1 -0
  222. package/dist/ripple/{p-45f9ad09.entry.js → p-b47aa85a.entry.js} +1 -1
  223. package/dist/ripple/{p-21d372ed.js → p-b4e4479b.js} +1 -1
  224. package/dist/ripple/p-b5e7db7f.system.entry.js +1 -0
  225. package/dist/ripple/{p-81c2df85.system.js → p-b8a3612c.system.js} +1 -1
  226. package/dist/ripple/p-b8e97d05.system.js +1 -0
  227. package/dist/ripple/p-b9a8d85b.entry.js +1 -0
  228. package/dist/ripple/p-bbcc61cf.entry.js +1 -0
  229. package/dist/ripple/p-c0ccce22.system.entry.js +1 -0
  230. package/dist/ripple/p-c499cfaf.entry.js +1 -0
  231. package/dist/ripple/p-c61b29cd.system.entry.js +1 -0
  232. package/dist/ripple/p-c94976c8.system.entry.js +1 -0
  233. package/dist/ripple/{p-88ebddd7.entry.js → p-cd0cc88d.entry.js} +1 -1
  234. package/dist/ripple/p-cef8a45b.system.js +2 -0
  235. package/dist/ripple/p-d307a2d5.system.entry.js +1 -0
  236. package/dist/ripple/p-d9da0502.js +2 -0
  237. package/dist/ripple/{p-5300b15d.entry.js → p-da3e143d.entry.js} +1 -1
  238. package/dist/ripple/{p-c1e3c2fb.entry.js → p-dba15615.entry.js} +1 -1
  239. package/dist/ripple/p-dd23c135.entry.js +1 -0
  240. package/dist/ripple/p-ded71900.entry.js +1 -0
  241. package/dist/ripple/p-dfcf2302.system.js +1 -0
  242. package/dist/ripple/{p-ca971eac.system.entry.js → p-e2910f91.system.entry.js} +1 -1
  243. package/dist/ripple/p-e4c40125.js +1 -0
  244. package/dist/ripple/p-e5f7fbe7.js +1 -0
  245. package/dist/ripple/p-eaf16578.system.entry.js +1 -0
  246. package/dist/ripple/p-ed2f0946.entry.js +1 -0
  247. package/dist/ripple/{p-5a9e3108.system.entry.js → p-f573e60c.system.entry.js} +1 -1
  248. package/dist/ripple/p-f78d5bc3.entry.js +1 -0
  249. package/dist/ripple/p-f9df9765.system.entry.js +1 -0
  250. package/dist/ripple/p-faae9ebb.entry.js +1 -0
  251. package/dist/ripple/p-fada6923.entry.js +1 -0
  252. package/dist/ripple/p-fe6522b9.entry.js +1 -0
  253. package/dist/ripple/p-ff74ec46.system.entry.js +1 -0
  254. package/dist/ripple/ripple.esm.js +1 -1
  255. package/dist/ripple/ripple.js +1 -1
  256. package/dist/types/components/wm-modal-pss/wm-modal-pss-footer.d.ts +14 -0
  257. package/dist/types/components/wm-modal-pss/wm-modal-pss-header.d.ts +10 -0
  258. package/dist/types/components/wm-modal-pss/wm-modal-pss.d.ts +33 -0
  259. package/dist/types/components.d.ts +88 -0
  260. package/dist/types/stencil-public-runtime.d.ts +3 -10
  261. package/package.json +1 -1
  262. package/dist/cjs/index-e86c28b6.js +0 -2653
  263. package/dist/cjs/wm-modal-footer.cjs.entry.js +0 -47
  264. package/dist/cjs/wm-modal-header.cjs.entry.js +0 -39
  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 -2622
  322. package/dist/esm/wm-modal-footer.entry.js +0 -43
  323. package/dist/esm/wm-modal-header.entry.js +0 -35
  324. package/dist/esm-es5/functions-b791a892.js +0 -1
  325. package/dist/esm-es5/global-099ddc86.js +0 -1
  326. package/dist/esm-es5/index-558b5a82.js +0 -1
  327. package/dist/esm-es5/wm-modal-footer.entry.js +0 -1
  328. package/dist/esm-es5/wm-modal-header.entry.js +0 -1
  329. package/dist/esm-es5/wm-modal.entry.js +0 -1
  330. package/dist/ripple/p-021ff5fa.system.entry.js +0 -1
  331. package/dist/ripple/p-0b1c6965.system.entry.js +0 -1
  332. package/dist/ripple/p-1389302e.system.entry.js +0 -1
  333. package/dist/ripple/p-13f51c06.entry.js +0 -1
  334. package/dist/ripple/p-149a22bf.entry.js +0 -1
  335. package/dist/ripple/p-16f65bf4.js +0 -1
  336. package/dist/ripple/p-1c170fb3.entry.js +0 -1
  337. package/dist/ripple/p-1e625a5e.entry.js +0 -1
  338. package/dist/ripple/p-215793a4.entry.js +0 -1
  339. package/dist/ripple/p-226fe4e0.entry.js +0 -1
  340. package/dist/ripple/p-22930de9.system.entry.js +0 -1
  341. package/dist/ripple/p-236af552.entry.js +0 -1
  342. package/dist/ripple/p-294b38ca.system.entry.js +0 -1
  343. package/dist/ripple/p-2e79fa49.entry.js +0 -1
  344. package/dist/ripple/p-2f664fdd.entry.js +0 -1
  345. package/dist/ripple/p-30b905eb.system.entry.js +0 -1
  346. package/dist/ripple/p-311923b2.system.entry.js +0 -1
  347. package/dist/ripple/p-320d06aa.js +0 -1
  348. package/dist/ripple/p-3568472c.entry.js +0 -1
  349. package/dist/ripple/p-3d50db36.entry.js +0 -1
  350. package/dist/ripple/p-3deaf4d9.system.entry.js +0 -1
  351. package/dist/ripple/p-41550baa.entry.js +0 -1
  352. package/dist/ripple/p-4d956340.system.entry.js +0 -1
  353. package/dist/ripple/p-50388b6f.system.entry.js +0 -1
  354. package/dist/ripple/p-568c595f.js +0 -2
  355. package/dist/ripple/p-6cc07645.system.entry.js +0 -1
  356. package/dist/ripple/p-6d129ef8.system.entry.js +0 -1
  357. package/dist/ripple/p-725230dd.system.entry.js +0 -1
  358. package/dist/ripple/p-749597da.system.entry.js +0 -1
  359. package/dist/ripple/p-7c338485.entry.js +0 -1
  360. package/dist/ripple/p-83be63f6.entry.js +0 -1
  361. package/dist/ripple/p-84603f1f.system.entry.js +0 -1
  362. package/dist/ripple/p-84ba5b74.entry.js +0 -1
  363. package/dist/ripple/p-902a54c5.entry.js +0 -1
  364. package/dist/ripple/p-a0ecb6d7.system.entry.js +0 -1
  365. package/dist/ripple/p-ab8d78cc.system.js +0 -2
  366. package/dist/ripple/p-ad7c9d21.entry.js +0 -1
  367. package/dist/ripple/p-ade3d9a9.entry.js +0 -1
  368. package/dist/ripple/p-ae82b3d2.system.js +0 -1
  369. package/dist/ripple/p-aea13873.entry.js +0 -1
  370. package/dist/ripple/p-b01f9998.system.entry.js +0 -1
  371. package/dist/ripple/p-b3a2bc1b.system.entry.js +0 -1
  372. package/dist/ripple/p-b9dbf1f4.entry.js +0 -1
  373. package/dist/ripple/p-c269536e.system.js +0 -1
  374. package/dist/ripple/p-c47fab48.entry.js +0 -1
  375. package/dist/ripple/p-c885c7f9.entry.js +0 -1
  376. package/dist/ripple/p-c9543950.system.entry.js +0 -1
  377. package/dist/ripple/p-cad0c5f9.system.entry.js +0 -1
  378. package/dist/ripple/p-dcc367a9.system.js +0 -1
  379. package/dist/ripple/p-df157138.entry.js +0 -1
  380. package/dist/ripple/p-e081fdc2.system.entry.js +0 -1
  381. package/dist/ripple/p-ed1f6b8d.system.entry.js +0 -1
  382. package/dist/ripple/p-f2101a0d.entry.js +0 -1
  383. package/dist/ripple/p-f24572f5.entry.js +0 -1
  384. package/dist/ripple/p-f40e1468.system.entry.js +0 -1
  385. package/dist/ripple/p-f4bcee58.system.entry.js +0 -1
  386. package/dist/ripple/p-ff1ed90f.entry.js +0 -1
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,s){function n(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function o(t){try{u(s.next(t))}catch(t){r(t)}}function a(t){try{u(s["throw"](t))}catch(t){r(t)}}function u(t){t.done?i(t.value):n(t.value).then(o,a)}u((s=s.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},s,n,r,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(t){return function(e){return u([t,e])}}function u(a){if(s)throw new TypeError("Generator is already executing.");while(o&&(o=0,a[0]&&(i=0)),i)try{if(s=1,n&&(r=a[0]&2?n["return"]:a[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,a[1])).done)return r;if(n=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;n=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){i.label=a[1];break}if(a[0]===6&&i.label<r[1]){i.label=r[1];r=a;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(a);break}if(r[2])i.ops.pop();i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t];n=0}finally{s=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-ab8d78cc.system.js","./p-ae82b3d2.system.js","./p-81c2df85.system.js"],(function(t){"use strict";var e,i,s,n,r,o,a,u,l;return{setters:[function(t){e=t.r;i=t.c;s=t.h;n=t.H;r=t.g},function(t){o=t.t;a=t.i;u=t.a},function(t){l=t.g}],execute:function(){var c=':host{--wmcolor-search-background:var(--wmcolor-input-background);--wmcolor-search-border:var(--wmcolor-input-border);--wmcolor-search-jump-text-focus:var(--wmcolor-interactive-focus);--wmcolor-search-jump-text:var(--wmcolor-button-text-textonly);width:100%;font-size:0.875rem}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .wm-search-wrapper{border-radius:3px;position:relative;border:1px solid var(--wmcolor-search-border);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center}:host .wm-search-wrapper .search-icon{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;font-size:1.12rem;position:absolute;left:0.4375rem}:host .wm-search-wrapper input{border:none;height:40px;padding:0 1.75rem;background:var(--wmcolor-search-background);overflow:visible;width:100%;-ms-flex:1;flex:1;font-family:inherit}:host .wm-search-wrapper:focus-within{outline:2px solid var(--wmcolor-input-border-focus);border-color:var(--wmcolor-input-border-focus)}:host .wm-search-wrapper:focus-within input{outline:none}:host .find{min-height:3rem}:host .find input{padding:16px 8px 16px 28px}:host .find .wm-find-elements{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;padding-right:16px}:host .find .wm-find-elements wm-button+wm-button{margin-left:0.25rem}:host .find .wm-find-elements .results{margin-right:0.5rem;font-style:italic}: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}:host .jump-results{all:unset;color:var(--wmcolor-search-jump-text);text-decoration:none;font-weight:500;font-size:0.875rem;display:inline-block;margin:8px 0}:host .jump-results:focus-visible{outline:3px solid var(--wmcolor-interactive-focus);outline-offset:2px}';var h=t("wm_search",function(){function t(t){e(this,t);this.wmSearchBrowseResults=i(this,"wmSearchBrowseResults",7);this.wmSearchValueChanged=i(this,"wmSearchValueChanged",7);this.linkEl=null;this.searchType="basic";this.disabled=false;this.placeholder="";this.label="";this.numResults=0;this.value="";this.isTabbing=false;this.highlightedId="";this.highlightedName=null;this.highlightedNum=0;this.previousBlurredValue="";this.parentModal=undefined;this.announcement=""}Object.defineProperty(t.prototype,"isDisabled",{get:function(){return o(this.disabled)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"resultCount",{get:function(){var t="";var e=a.formatMessage({id:"search.resultsFound",defaultMessage:"{numResults, plural, =0 {No results} one {1 result} other {# results}} found"},{numResults:this.numResults});var i=a.formatMessage({id:"search.xOfYResults",defaultMessage:"{numResults, plural, =0 {No results found} other {{current} of {numResults} results}}"},{numResults:this.numResults,current:this.highlightedNum});if(this.searchType==="basic"){t=e}else if(this.searchType==="find"){t=i}return t},enumerable:false,configurable:true});t.prototype.toggleTabbingOn=function(){this.isTabbing=true;this.linkEl&&this.linkEl.classList.remove("sr-only");this.linkEl&&this.linkEl.classList.add("user-is-tabbing")};t.prototype.toggleTabbingOff=function(){this.isTabbing=false;this.linkEl&&this.linkEl.classList.add("sr-only");this.linkEl&&this.linkEl.classList.remove("user-is-tabbing")};t.prototype.componentWillLoad=function(){if(this.placeholder===""){console.error("You must set the placeholder property for the wm-search component.")}if(this.label===""){console.error("You must set the label property for the wm-search component.")}this.hookToModal();u(this.el,this.isDisabled)};t.prototype.hookToModal=function(){var t=this;var e=this.el;while(!!e){if(e.tagName==="WM-MODAL"){this.parentModal=e}e=e.parentElement}if(this.parentModal){var i=["wmModalCloseTriggered","wmModalPrimaryTriggered","wmModalSecondaryTriggered"];i.map((function(e){t.parentModal.addEventListener(e,(function(){t.updateValue("")}))}))}};t.prototype.updateValue=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.value=t;this.resetHighlightCountToStart();return[2]}))}))};t.prototype.handleNumResultsUpdate=function(){this.resetHighlightCountToStart();if(this.value){this.announceChanges()}};t.prototype.handleDisabledChange=function(){u(this.el,this.isDisabled)};t.prototype.resetHighlightCountToStart=function(){if(this.searchType==="find"){this.highlightedNum=this.numResults?1:0}};t.prototype.announce=function(t){if(this.resultsLiveRegion.textContent===t){t+=" "}this.announcement=t};t.prototype.announceChanges=function(){var t=this;window.requestAnimationFrame((function(){var e=t.resultCount;if(t.searchType==="find"&&t.highlightedName){e+=", ".concat(t.highlightedName)}t.announce(e)}))};t.prototype.changeHighlightedNum=function(t){if(this.numResults){if(t<1){this.highlightedNum=this.numResults}else if(t>this.numResults){this.highlightedNum=1}else{this.highlightedNum=t}this.wmSearchBrowseResults.emit({position:this.highlightedNum});this.announceChanges()}};t.prototype.handleBlur=function(){if(this.previousBlurredValue!==this.value){this.wmSearchValueChanged.emit({value:this.value})}this.previousBlurredValue=this.value};t.prototype.renderResultsAndBrowseButtons=function(){var t=this;return s("div",{class:"wm-find-elements"},s("div",{id:"results-display",class:"results"},!!this.value&&this.resultCount),s("div",{class:"wm-button-collection"},s("wm-button",{"button-type":"icononly",icon:"f05d",tooltip:l.previous,"tooltip-position":"bottom",onClick:function(){return t.changeHighlightedNum(t.highlightedNum-1)},disabled:this.isDisabled||this.numResults<2,"label-for-identical-buttons":a.formatMessage({id:"search.previousResult",defaultMessage:"Press to hear previous matching result"})}),s("wm-button",{"button-type":"icononly",icon:"f045",tooltip:l.next,"tooltip-position":"bottom",onClick:function(){return t.changeHighlightedNum(t.highlightedNum+1)},disabled:this.isDisabled||this.numResults<2,"label-for-identical-buttons":a.formatMessage({id:"search.nextResult",defaultMessage:"Press to hear next matching result"})})))};t.prototype.renderJumpToLink=function(){var t=this;if(this.numResults&&this.highlightedId){return s("a",{ref:function(e){return t.linkEl=e},href:"#".concat(this.highlightedId),class:"jump-results sr-only"},a.formatMessage({id:"search.jumpToResult",defaultMessage:"Jump to search result in list"}))}else{return null}};t.prototype.render=function(){var t=this;return s(n,null,s("div",{id:"wm-search-wrapper",class:"wm-search-wrapper ".concat(this.searchType)},s("input",{disabled:this.isDisabled,id:"wm-search-input",placeholder:this.placeholder,"aria-label":"".concat(this.label?this.label+". ":"").concat(a.formatMessage({id:"search.typeToFilterResults",defaultMessage:"Type to filter the results"})),onInput:function(e){return t.updateValue(e.target.value)},onBlur:function(){return t.handleBlur()},"aria-autocomplete":"none",autocomplete:"off",value:this.value}),s("span",{class:"mdi search-icon"},String.fromCodePoint(parseInt("0xf349"))),this.searchType==="find"&&this.renderResultsAndBrowseButtons(),s("div",{id:"wm-search-live",class:"sr-only","aria-live":"polite","aria-atomic":"true",ref:function(e){return t.resultsLiveRegion=e}},this.announcement)),this.searchType==="find"&&this.renderJumpToLink())};Object.defineProperty(t,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{numResults:["handleNumResultsUpdate"],disabled:["handleDisabledChange"]}},enumerable:false,configurable:true});return t}());h.style=c}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,i){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,o){function s(t){try{a(i.next(t))}catch(t){o(t)}}function u(t){try{a(i["throw"](t))}catch(t){o(t)}}function a(t){t.done?n(t.value):r(t.value).then(s,u)}a((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},i,r,o,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(t){return function(e){return a([t,e])}}function a(u){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,u[0]&&(n=0)),n)try{if(i=1,r&&(o=u[0]&2?r["return"]:u[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;if(r=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;r=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1];o=u;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(u);break}if(o[2])n.ops.pop();n.trys.pop();continue}u=e.call(t,n)}catch(t){u=[6,t];r=0}finally{i=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-ab8d78cc.system.js","./p-ae82b3d2.system.js"],(function(t){"use strict";var e,n,i,r,o,s,u;return{setters:[function(t){e=t.r;n=t.c;i=t.h;r=t.H;o=t.g},function(t){s=t.t;u=t.a}],execute:function(){var a=":host{width:100%;display:none}: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}:host(.visible){display:unset}";var c=t("wm_optgroup",function(){function t(t){e(this,t);this.wmOptgroupAllSelected=n(this,"wmOptgroupAllSelected",7);this.wmOptgroupAllDeselected=n(this,"wmOptgroupAllDeselected",7);this.optgroupExpanded=n(this,"optgroupExpanded",7);this.optgroupHidden=n(this,"optgroupHidden",7);this.label=undefined;this.isExpanded=false;this.multiple=false;this.disabled=false}Object.defineProperty(t.prototype,"parentNestedSelect",{get:function(){return this.el.parentElement},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isDisabled",{get:function(){return s(this.disabled)},enumerable:false,configurable:true});t.prototype.isExpandedChanged=function(){var t=this;if(this.isExpanded){this.el.classList.add("visible");this.optgroupExpanded.emit();window.setTimeout((function(){t.optionListEl.handleInitialFocus()}),250)}else{this.optgroupHidden.emit(this.label);this.optionListEl.clearSearch();window.setTimeout((function(){t.el.classList.remove("visible")}),250)}if(this.parentNestedSelect.multiple){this.optionListEl.updateOptionVisibility()}};t.prototype.emitDeselection=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.wmOptgroupAllDeselected.emit();return[2]}))}))};t.prototype.handleChildChange=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.optionListEl.handleChildChange();return[2]}))}))};t.prototype.handleOptionKeyLeft=function(){this.isExpanded=false};t.prototype.componentWillLoad=function(){u(this.el,this.isDisabled)};t.prototype.render=function(){var t=this;return i(r,null,i("div",{class:"list-wrapper"},i("priv-option-list",{ref:function(e){return t.optionListEl=e},multiple:this.parentNestedSelect.multiple,search:this.parentNestedSelect.search,maxHeight:this.parentNestedSelect.constrainedMaxHeight,searchPlaceholder:this.parentNestedSelect.searchPlaceholder,optgroupLabel:this.label,selectAll:this.parentNestedSelect.selectAll,onOptionListAllSelected:function(){return t.wmOptgroupAllSelected.emit()},onOptionListAllDeselected:function(){return t.wmOptgroupAllDeselected.emit()}},i("slot",null))))};Object.defineProperty(t,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{isExpanded:["isExpandedChanged"]}},enumerable:false,configurable:true});return t}());c.style=a}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as o,h as i,H as e,g as r}from"./p-568c595f.js";import{d as n,M as s,i as a}from"./p-16f65bf4.js";const p=class{constructor(i){t(this,i),this.wmChartPopoverButtonTriggered=o(this,"wmChartPopoverButtonTriggered",7),this.wmProgressIndicatorButtonTriggered=o(this,"wmProgressIndicatorButtonTriggered",7),this.intChartPopoverOpenChanged=o(this,"intChartPopoverOpenChanged",7),this.chartEl=this.el.parentElement.getRootNode().host,this.popoverWidth=168,this.popoverClicked=!1,this.debouncedClosePopover=n((async()=>{this.open=!1}),10),this.open=!1,this.sliceDetails=void 0}get eventToEmit(){return"WM-CHART"===this.chartEl.nodeName?this.wmChartPopoverButtonTriggered:this.wmProgressIndicatorButtonTriggered}handleClickOnDocument(t){this.open&&t.target!=this.sliceDetails.sliceRef&&(this.open=this.popoverClicked,this.popoverClicked=!1)}handleClick(t){this.open&&(this.popoverClicked=t.target===this.el||this.el.contains(t.target))}componentDidLoad(){document.addEventListener("scroll",(()=>{this.debouncedClosePopover()}));const t=s(this.chartEl);t&&t.addEventListener("scroll",(()=>{this.debouncedClosePopover()}))}handleOpenChange(){this.intChartPopoverOpenChanged.emit(this.open)}handleDetailsChange(){this.sliceDetails&&this.sliceDetails.coords&&this.positionPopover()}updateHighlightedInfo(){}handleButtonClick(){if(this.sliceDetails){const t=this.sliceDetails.sliceRef;t.click(),this.eventToEmit.emit(t)}}renderLiveRegion(){if(this.liveRegion){this.liveRegion.innerHTML="";const t=document.createElement("div"),o=document.createElement("span");o.innerHTML=this.sliceDetails.title+" "||"",t.appendChild(o);const i=document.createElement("span");if(i.innerHTML=this.sliceDetails.text+" "||"",t.appendChild(i),this.sliceDetails.buttonText){const o=document.createElement("span");o.innerHTML=this.sliceDetails.buttonText+" "+a.formatMessage({id:"chart.infoButton",defaultMessage:"Button. Click for more information."}),t.appendChild(o)}this.liveRegion.appendChild(t)}}positionPopover(){this.el.style.top=this.sliceDetails.coords.y+"px",this.el.style.left=window.innerWidth-this.sliceDetails.coords.x>=this.popoverWidth+10?this.sliceDetails.coords.x+"px":this.sliceDetails.coords.x-this.popoverWidth+"px"}render(){return i(e,null,this.open&&this.sliceDetails?i("div",{"aria-hidden":"true",class:"popover"},i("h1",{class:`title ${this.sliceDetails&&this.sliceDetails.title&&("-"===this.sliceDetails.title[0]?"negative":"+"===this.sliceDetails.title[0]?"positive":"")}`},this.sliceDetails.title),i("p",{class:"text"},this.sliceDetails.text),this.sliceDetails.buttonText?i("button",{tabindex:"-1",focusable:"false",class:"popover-button",onClick:()=>this.handleButtonClick()},i("svg",{class:"btn-icon",height:"9",width:"9"},i("path",{fill:"#575195",d:"M0 3.38v2.25h9V3.38H0zM0 0v2.25h4.5V0H0zm6.19 6.75H0V9h6.19V6.75z"})),i("span",{class:"button-text"},this.sliceDetails.buttonText)):""):"",i("div",{ref:t=>this.liveRegion=t,class:"live-region sr-only","aria-live":"polite","aria-atomic":"true"},this.open&&this.renderLiveRegion()))}get el(){return r(this)}static get watchers(){return{open:["handleOpenChange"],sliceDetails:["handleDetailsChange"]}}};p.style="priv-chart-popover{--wmcolor-chart-popover-link-background:var(--wmcolor-background-transparent);--wmcolor-chart-popover-link-text-focus:var(--wmcolor-interactive-focus);--wmcolor-chart-popover-link-text:var(--wmcolor-button-text-textonly);position:fixed;z-index:10;border-radius:0.1875rem;-webkit-box-shadow:0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);-moz-box-shadow:0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);box-shadow:0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);background-color:var(--wmcolor-chart-popover-background);font-size:0.875rem;text-align:left}priv-chart-popover.user-is-tabbing .button-text{outline:3px solid var(--wmcolor-interactive-focus);outline-offset:2px}.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}.popover{width:10.5rem;padding:0.625rem 0.9375rem;-webkit-box-sizing:border-box;box-sizing:border-box}.popover .title{font-size:1em;font-weight:500;margin:0;padding-top:0;padding-left:0;padding-bottom:0.25rem}.popover .title.positive{color:var(--wmcolor-chart-label-text-positive)}.popover .title.negative{color:var(--wmcolor-chart-label-text-negative)}.popover .text{margin:0;margin-bottom:0.5rem}.popover .popover-button{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;position:relative;display:inline-block;margin-left:1rem;padding-left:0;padding-right:0;height:auto;border:none;background:var(--wmcolor-chart-popover-link-background);cursor:pointer;text-decoration:none;letter-spacing:0;text-transform:none;text-align:initial;font-size:0.875rem;font-weight:700;color:var(--wmcolor-chart-popover-link-text);line-height:normal}.popover .popover-button .button-text{display:inline-block}.popover .popover-button .btn-icon{position:absolute;top:0.1875rem;left:-1rem}.popover .popover-button:focus{outline:none}.popover .popover-button::-moz-focus-inner{border:0;outline:none}.popover .popover-button:hover{text-decoration:none}.popover .popover-button:hover span{text-decoration:underline}";export{p as priv_chart_popover}