@watermarkinsights/ripple 5.22.1 → 5.23.0-alpha.1

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 (284) hide show
  1. package/dist/cjs/{app-globals-4987f41b.js → app-globals-d5560aa2.js} +1 -1
  2. package/dist/cjs/{chartFunctions-60f65883.js → chartFunctions-97471b69.js} +39 -0
  3. package/dist/cjs/index-788526f5.js +10 -2
  4. package/dist/cjs/{interfaces-85d78ae9.js → interfaces-069f135e.js} +21 -0
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/priv-calendar.cjs.entry.js +2 -2
  7. package/dist/{ripple/p-a6240a47.entry.js → cjs/priv-chart-popover-old.cjs.entry.js} +145 -1
  8. package/dist/{ripple/p-88ec49f1.entry.js → cjs/priv-chart-popover_2.cjs.entry.js} +175 -1
  9. package/dist/cjs/priv-navigator-button.cjs.entry.js +1 -1
  10. package/dist/cjs/priv-navigator-item.cjs.entry.js +1 -1
  11. package/dist/cjs/priv-option-list.cjs.entry.js +1 -1
  12. package/dist/cjs/ripple.cjs.js +2 -2
  13. package/dist/cjs/wm-action-menu_2.cjs.entry.js +3 -3
  14. package/dist/cjs/wm-button.cjs.entry.js +2 -2
  15. package/dist/cjs/wm-chart-bar.cjs.entry.js +321 -0
  16. package/dist/cjs/wm-chart.cjs.entry.js +3 -3
  17. package/dist/cjs/wm-date-range.cjs.entry.js +5 -5
  18. package/dist/cjs/wm-datepicker.cjs.entry.js +5 -5
  19. package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
  20. package/dist/cjs/wm-file.cjs.entry.js +1 -1
  21. package/dist/cjs/wm-flyout.cjs.entry.js +1 -1
  22. package/dist/cjs/wm-input.cjs.entry.js +1 -1
  23. package/dist/cjs/wm-line-chart.cjs.entry.js +3 -3
  24. package/dist/cjs/wm-modal-pss_3.cjs.entry.js +4 -4
  25. package/dist/cjs/wm-modal_3.cjs.entry.js +4 -4
  26. package/dist/cjs/wm-navigation_3.cjs.entry.js +4 -4
  27. package/dist/cjs/wm-navigator.cjs.entry.js +1 -1
  28. package/dist/cjs/wm-nested-select.cjs.entry.js +3 -3
  29. package/dist/cjs/wm-optgroup.cjs.entry.js +1 -1
  30. package/dist/cjs/wm-option_2.cjs.entry.js +5 -5
  31. package/dist/cjs/wm-pagination.cjs.entry.js +1 -1
  32. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +4 -4
  33. package/dist/cjs/wm-search.cjs.entry.js +2 -2
  34. package/dist/cjs/wm-snackbar.cjs.entry.js +2 -2
  35. package/dist/cjs/wm-tab-item_3.cjs.entry.js +6 -6
  36. package/dist/cjs/wm-tag-input.cjs.entry.js +2 -2
  37. package/dist/cjs/wm-textarea.cjs.entry.js +1 -1
  38. package/dist/cjs/wm-timepicker.cjs.entry.js +2 -2
  39. package/dist/cjs/wm-toggletip.cjs.entry.js +3 -3
  40. package/dist/cjs/wm-uploader.cjs.entry.js +2 -2
  41. package/dist/collection/collection-manifest.json +3 -0
  42. package/dist/collection/components/charts/chartFunctions.js +36 -1
  43. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +12 -10
  44. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +202 -112
  45. package/dist/collection/components/charts/priv-chart-popover-old/priv-chart-popover-old.css +961 -0
  46. package/dist/collection/components/charts/priv-chart-popover-old/priv-chart-popover-old.js +262 -0
  47. package/dist/collection/components/charts/wm-chart/wm-chart.js +2 -2
  48. package/dist/collection/components/charts/wm-chart-bar/wm-chart-bar.css +1097 -0
  49. package/dist/collection/components/charts/wm-chart-bar/wm-chart-bar.js +471 -0
  50. package/dist/collection/components/charts/wm-chart-legend/wm-chart-legend.css +903 -0
  51. package/dist/collection/components/charts/wm-chart-legend/wm-chart-legend.js +155 -0
  52. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +2 -2
  53. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +2 -2
  54. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +1 -1
  55. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +2 -2
  56. package/dist/collection/components/datepickers/wm-date-range.js +5 -5
  57. package/dist/collection/components/datepickers/wm-datepicker.js +5 -5
  58. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +1 -1
  59. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +3 -3
  60. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +1 -1
  61. package/dist/collection/components/selects/wm-option/wm-option.js +1 -1
  62. package/dist/collection/components/selects/wm-select/wm-select.js +4 -4
  63. package/dist/collection/components/wm-action-menu/wm-action-menu.js +1 -1
  64. package/dist/collection/components/wm-button/wm-button.js +1 -1
  65. package/dist/collection/components/wm-file/wm-file.js +1 -1
  66. package/dist/collection/components/wm-file-list/wm-file-list.js +1 -1
  67. package/dist/collection/components/wm-flyout/wm-flyout.js +1 -1
  68. package/dist/collection/components/wm-input/wm-input.js +1 -1
  69. package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
  70. package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
  71. package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
  72. package/dist/collection/components/wm-modal/wm-modal.js +2 -2
  73. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +1 -1
  74. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +1 -1
  75. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +2 -2
  76. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
  77. package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
  78. package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
  79. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
  80. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
  81. package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
  82. package/dist/collection/components/wm-search/wm-search.js +2 -2
  83. package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
  84. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +2 -2
  85. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +3 -3
  86. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
  87. package/dist/collection/components/wm-tag-input/wm-tag-input.js +2 -2
  88. package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
  89. package/dist/collection/components/wm-timepicker/wm-timepicker.js +2 -2
  90. package/dist/collection/components/wm-toggletip/wm-toggletip.js +3 -3
  91. package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
  92. package/dist/collection/dev/chart-bar.js +110 -0
  93. package/dist/collection/global/interfaces.js +19 -0
  94. package/dist/esm/{app-globals-92dbbc0c.js → app-globals-2d0df1cb.js} +1 -1
  95. package/dist/esm/{chartFunctions-a834e2a9.js → chartFunctions-9c95674d.js} +37 -2
  96. package/dist/esm/{functions-9df607f2.js → functions-2cfbd8c7.js} +1 -1
  97. package/dist/esm/index-130e07bb.js +10 -2
  98. package/dist/esm/{interfaces-cc5b177f.js → interfaces-30d10bc0.js} +20 -1
  99. package/dist/esm/{intl-86bec8ef.js → intl-23d21b06.js} +1 -1
  100. package/dist/esm/loader.js +2 -2
  101. package/dist/esm/priv-calendar.entry.js +3 -3
  102. package/dist/esm/priv-chart-popover-old.entry.js +141 -0
  103. package/dist/esm/priv-chart-popover_2.entry.js +170 -0
  104. package/dist/esm/priv-navigator-button.entry.js +1 -1
  105. package/dist/esm/priv-navigator-item.entry.js +1 -1
  106. package/dist/esm/priv-option-list.entry.js +3 -3
  107. package/dist/esm/ripple.js +2 -2
  108. package/dist/esm/wm-action-menu_2.entry.js +4 -4
  109. package/dist/esm/wm-button.entry.js +3 -3
  110. package/dist/esm/wm-chart-bar.entry.js +317 -0
  111. package/dist/esm/wm-chart.entry.js +5 -5
  112. package/dist/esm/wm-date-range.entry.js +6 -6
  113. package/dist/esm/wm-datepicker.entry.js +6 -6
  114. package/dist/esm/wm-file-list.entry.js +1 -1
  115. package/dist/esm/wm-file.entry.js +2 -2
  116. package/dist/esm/wm-flyout.entry.js +3 -3
  117. package/dist/esm/wm-input.entry.js +3 -3
  118. package/dist/esm/wm-line-chart.entry.js +5 -5
  119. package/dist/esm/wm-modal-pss_3.entry.js +6 -6
  120. package/dist/esm/wm-modal_3.entry.js +6 -6
  121. package/dist/esm/wm-navigation_3.entry.js +6 -6
  122. package/dist/esm/wm-navigator.entry.js +2 -2
  123. package/dist/esm/wm-nested-select.entry.js +5 -5
  124. package/dist/esm/wm-optgroup.entry.js +2 -2
  125. package/dist/esm/wm-option_2.entry.js +7 -7
  126. package/dist/esm/wm-pagination.entry.js +3 -3
  127. package/dist/esm/wm-progress-indicator_3.entry.js +5 -5
  128. package/dist/esm/wm-search.entry.js +4 -4
  129. package/dist/esm/wm-snackbar.entry.js +4 -4
  130. package/dist/esm/wm-tab-item_3.entry.js +7 -7
  131. package/dist/esm/wm-tag-input.entry.js +4 -4
  132. package/dist/esm/wm-tag-option.entry.js +1 -1
  133. package/dist/esm/wm-textarea.entry.js +3 -3
  134. package/dist/esm/wm-timepicker.entry.js +3 -3
  135. package/dist/esm/wm-toggletip.entry.js +4 -4
  136. package/dist/esm/wm-uploader.entry.js +4 -4
  137. package/dist/esm-es5/app-globals-2d0df1cb.js +1 -0
  138. package/dist/esm-es5/{chartFunctions-a834e2a9.js → chartFunctions-9c95674d.js} +1 -1
  139. package/dist/esm-es5/{functions-9df607f2.js → functions-2cfbd8c7.js} +1 -1
  140. package/dist/esm-es5/index-130e07bb.js +1 -1
  141. package/dist/esm-es5/interfaces-30d10bc0.js +1 -0
  142. package/dist/esm-es5/{intl-86bec8ef.js → intl-23d21b06.js} +1 -1
  143. package/dist/esm-es5/loader.js +1 -1
  144. package/dist/esm-es5/priv-calendar.entry.js +1 -1
  145. package/dist/esm-es5/priv-chart-popover-old.entry.js +1 -0
  146. package/dist/esm-es5/priv-chart-popover_2.entry.js +1 -0
  147. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  148. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  149. package/dist/esm-es5/priv-option-list.entry.js +1 -1
  150. package/dist/esm-es5/ripple.js +1 -1
  151. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  152. package/dist/esm-es5/wm-button.entry.js +1 -1
  153. package/dist/esm-es5/wm-chart-bar.entry.js +1 -0
  154. package/dist/esm-es5/wm-chart.entry.js +1 -1
  155. package/dist/esm-es5/wm-date-range.entry.js +1 -1
  156. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  157. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  158. package/dist/esm-es5/wm-file.entry.js +1 -1
  159. package/dist/esm-es5/wm-flyout.entry.js +1 -1
  160. package/dist/esm-es5/wm-input.entry.js +1 -1
  161. package/dist/esm-es5/wm-line-chart.entry.js +1 -1
  162. package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
  163. package/dist/esm-es5/wm-modal_3.entry.js +1 -1
  164. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  165. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  166. package/dist/esm-es5/wm-nested-select.entry.js +1 -1
  167. package/dist/esm-es5/wm-optgroup.entry.js +1 -1
  168. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  169. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  170. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  171. package/dist/esm-es5/wm-search.entry.js +1 -1
  172. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  173. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  174. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  175. package/dist/esm-es5/wm-tag-option.entry.js +1 -1
  176. package/dist/esm-es5/wm-textarea.entry.js +1 -1
  177. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  178. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  179. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  180. package/dist/ripple/{p-31558b0e.entry.js → p-01e8cea6.entry.js} +1 -1
  181. package/dist/ripple/{p-fe330a72.system.entry.js → p-0abc1b51.system.entry.js} +1 -1
  182. package/dist/ripple/{p-b1e58461.system.entry.js → p-0ad87064.system.entry.js} +1 -1
  183. package/dist/ripple/{p-f1dea7a8.system.entry.js → p-0b2a0825.system.entry.js} +1 -1
  184. package/dist/ripple/p-0d03f838.js +1 -0
  185. package/dist/ripple/{p-e618af10.entry.js → p-0ef91339.entry.js} +1 -1
  186. package/dist/ripple/{p-7c379888.system.entry.js → p-10f93b97.system.entry.js} +1 -1
  187. package/dist/ripple/{p-4e9f0f73.system.entry.js → p-1124978e.system.entry.js} +1 -1
  188. package/dist/ripple/{p-11ae67a9.entry.js → p-1430f504.entry.js} +1 -1
  189. package/dist/ripple/{p-e66ccd7b.entry.js → p-157468c5.entry.js} +1 -1
  190. package/dist/ripple/{p-1dbd86bf.system.entry.js → p-15ab0cf9.system.entry.js} +1 -1
  191. package/dist/ripple/{p-0e3015f2.system.entry.js → p-1802aedc.system.entry.js} +1 -1
  192. package/dist/ripple/{p-afd0ed83.system.entry.js → p-1c9c0cf2.system.entry.js} +1 -1
  193. package/dist/ripple/p-1eae5841.entry.js +1 -0
  194. package/dist/ripple/{p-886b50fb.entry.js → p-21114d99.entry.js} +1 -1
  195. package/dist/ripple/{p-c7b4db4e.entry.js → p-21480984.entry.js} +1 -1
  196. package/dist/ripple/{p-ac4370ae.system.entry.js → p-26d92a96.system.entry.js} +1 -1
  197. package/dist/ripple/{p-28b52ec0.entry.js → p-2e71fe42.entry.js} +1 -1
  198. package/dist/ripple/p-2f925b25.system.entry.js +1 -0
  199. package/dist/ripple/p-30a65553.system.js +1 -0
  200. package/dist/ripple/{p-f73dd1e7.js → p-325393da.js} +1 -1
  201. package/dist/ripple/{p-ef7988fe.system.entry.js → p-32f95573.system.entry.js} +1 -1
  202. package/dist/ripple/{p-0a95f175.system.entry.js → p-34574dc8.system.entry.js} +1 -1
  203. package/dist/ripple/{p-6388bf35.entry.js → p-35ef7bba.entry.js} +1 -1
  204. package/dist/ripple/{p-37e6df61.entry.js → p-377cf709.entry.js} +1 -1
  205. package/dist/ripple/{p-75cf1147.system.entry.js → p-3989274d.system.entry.js} +1 -1
  206. package/dist/ripple/{p-c0087cd0.entry.js → p-3e10eb3d.entry.js} +1 -1
  207. package/dist/ripple/{p-44dc020c.entry.js → p-51cd1c0f.entry.js} +1 -1
  208. package/dist/ripple/p-56d17ec6.js +1 -0
  209. package/dist/ripple/{p-92d489c8.system.entry.js → p-575f24e8.system.entry.js} +1 -1
  210. package/dist/ripple/{p-bbf46f8b.system.entry.js → p-576f4d06.system.entry.js} +1 -1
  211. package/dist/ripple/{p-813634c0.system.entry.js → p-5cbbaf69.system.entry.js} +1 -1
  212. package/dist/ripple/{p-840ed2ca.system.entry.js → p-5f50c561.system.entry.js} +1 -1
  213. package/dist/ripple/{p-ee713fcf.system.entry.js → p-60aa6bec.system.entry.js} +1 -1
  214. package/dist/ripple/p-62cdc8c6.system.entry.js +1 -0
  215. package/dist/ripple/{p-484c5cc5.entry.js → p-6394d25d.entry.js} +1 -1
  216. package/dist/ripple/p-6646191c.entry.js +1 -0
  217. package/dist/ripple/{p-ceaee8b9.system.entry.js → p-685863a1.system.entry.js} +1 -1
  218. package/dist/ripple/{p-6c267b11.system.entry.js → p-6d375c14.system.entry.js} +1 -1
  219. package/dist/ripple/p-78524594.entry.js +1 -0
  220. package/dist/ripple/{p-81c8d038.entry.js → p-78edd963.entry.js} +1 -1
  221. package/dist/ripple/{p-ee25af83.entry.js → p-79b3dfc8.entry.js} +1 -1
  222. package/dist/ripple/{p-a19f81a3.entry.js → p-79ec0bb2.entry.js} +1 -1
  223. package/dist/ripple/{p-ae138b2c.entry.js → p-7e0efb95.entry.js} +1 -1
  224. package/dist/ripple/{p-d59ded20.system.entry.js → p-7ee3f5ab.system.entry.js} +1 -1
  225. package/dist/ripple/{p-de9e0582.entry.js → p-84d88288.entry.js} +1 -1
  226. package/dist/ripple/p-874cc540.system.js +1 -0
  227. package/dist/ripple/{p-98a81b33.system.entry.js → p-8888e7f0.system.entry.js} +1 -1
  228. package/dist/ripple/p-8aee3856.system.js +1 -0
  229. package/dist/ripple/{p-1e4b30ac.entry.js → p-8c20ccd2.entry.js} +1 -1
  230. package/dist/ripple/{p-6d0f7f1d.system.entry.js → p-8d858325.system.entry.js} +1 -1
  231. package/dist/ripple/{p-f5c59ec1.entry.js → p-909f8797.entry.js} +1 -1
  232. package/dist/ripple/{p-0c1396e0.js → p-9246f0dc.js} +1 -1
  233. package/dist/ripple/{p-e9038796.entry.js → p-966f2c9e.entry.js} +1 -1
  234. package/dist/ripple/{p-285dbfb9.system.entry.js → p-9dc0fcd6.system.entry.js} +1 -1
  235. package/dist/ripple/{p-d9a53822.entry.js → p-a0c4a12e.entry.js} +1 -1
  236. package/dist/ripple/{p-04fe992d.entry.js → p-ad8132aa.entry.js} +1 -1
  237. package/dist/ripple/{p-5b9441ff.entry.js → p-b089276a.entry.js} +1 -1
  238. package/dist/ripple/p-b3092643.entry.js +1 -0
  239. package/dist/ripple/{p-59101b39.system.entry.js → p-b313c3d3.system.entry.js} +1 -1
  240. package/dist/ripple/{p-1f26fdb7.entry.js → p-b4ce79cd.entry.js} +1 -1
  241. package/dist/ripple/{p-24d20fc6.system.entry.js → p-b939d3cb.system.entry.js} +1 -1
  242. package/dist/ripple/{p-91194c43.entry.js → p-bc052b23.entry.js} +1 -1
  243. package/dist/ripple/{p-73914a64.system.entry.js → p-bc271e17.system.entry.js} +1 -1
  244. package/dist/ripple/{p-8286ed48.system.entry.js → p-bf83369d.system.entry.js} +1 -1
  245. package/dist/ripple/{p-7233deea.entry.js → p-c4e4a44c.entry.js} +1 -1
  246. package/dist/ripple/{p-e075695e.system.js → p-c8c8e85f.system.js} +1 -1
  247. package/dist/ripple/{p-ee9ff51e.system.js → p-c8d6b61a.system.js} +1 -1
  248. package/dist/ripple/{p-c02a5e64.system.entry.js → p-cab65a05.system.entry.js} +1 -1
  249. package/dist/ripple/{p-edbfc15c.entry.js → p-cf845266.entry.js} +1 -1
  250. package/dist/ripple/{p-0267046a.system.entry.js → p-d13b78fd.system.entry.js} +1 -1
  251. package/dist/ripple/{p-e6f6b0f4.system.entry.js → p-d4877cbc.system.entry.js} +1 -1
  252. package/dist/ripple/{p-a09d66e8.system.entry.js → p-d49676b7.system.entry.js} +1 -1
  253. package/dist/ripple/{p-7ca0a3cb.entry.js → p-d522499c.entry.js} +1 -1
  254. package/dist/ripple/{p-a111374c.entry.js → p-d62f5fd3.entry.js} +1 -1
  255. package/dist/ripple/{p-2451029c.entry.js → p-d6ca433c.entry.js} +1 -1
  256. package/dist/ripple/p-d6effc35.system.js +1 -0
  257. package/dist/ripple/p-f210f4ff.js +1 -0
  258. package/dist/ripple/{p-f680ad0f.entry.js → p-f2a1f116.entry.js} +1 -1
  259. package/dist/ripple/{p-f8c12729.system.entry.js → p-f6d60ed8.system.entry.js} +1 -1
  260. package/dist/ripple/{p-cbb67bc3.system.entry.js → p-fda4032a.system.entry.js} +1 -1
  261. package/dist/ripple/ripple.esm.js +1 -1
  262. package/dist/ripple/ripple.js +1 -1
  263. package/dist/types/components/charts/chartFunctions.d.ts +9 -1
  264. package/dist/types/components/charts/priv-chart-popover/priv-chart-popover.d.ts +20 -11
  265. package/dist/types/components/charts/priv-chart-popover-old/priv-chart-popover-old.d.ts +26 -0
  266. package/dist/types/components/charts/wm-chart/wm-chart.d.ts +1 -1
  267. package/dist/types/components/charts/wm-chart-bar/wm-chart-bar.d.ts +62 -0
  268. package/dist/types/components/charts/wm-chart-legend/wm-chart-legend.d.ts +19 -0
  269. package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +1 -1
  270. package/dist/types/components.d.ts +124 -6
  271. package/dist/types/global/interfaces.d.ts +40 -0
  272. package/package.json +2 -2
  273. package/dist/cjs/priv-chart-popover.cjs.entry.js +0 -145
  274. package/dist/esm/priv-chart-popover.entry.js +0 -141
  275. package/dist/esm-es5/app-globals-92dbbc0c.js +0 -1
  276. package/dist/esm-es5/interfaces-cc5b177f.js +0 -1
  277. package/dist/esm-es5/priv-chart-popover.entry.js +0 -1
  278. package/dist/ripple/p-082c8dc1.system.js +0 -1
  279. package/dist/ripple/p-2732bddd.js +0 -1
  280. package/dist/ripple/p-42fa7a77.system.js +0 -1
  281. package/dist/ripple/p-59ce4f69.js +0 -1
  282. package/dist/ripple/p-9d2ed715.js +0 -1
  283. package/dist/ripple/p-ac08b0a8.system.js +0 -1
  284. package/dist/ripple/p-d6b55e49.system.js +0 -1
@@ -2,31 +2,32 @@ import { h, Host } from "@stencil/core";
2
2
  import { debounce, findAllScrollableParents, intl } from "../../../global/functions";
3
3
  export class ChartPopover {
4
4
  constructor() {
5
- this.chartEl = this.el.parentElement.getRootNode().host;
6
5
  this.popoverWidth = 168;
7
6
  this.popoverClicked = false;
8
7
  this.debouncedClosePopover = debounce(async () => {
9
8
  this.open = false;
10
9
  }, 10);
10
+ this.chartData = undefined;
11
+ this.header = "";
12
+ this.text = "";
13
+ this.buttonText = "";
14
+ this.coords = { x: 0, y: 0 };
11
15
  this.open = false;
12
- this.sliceDetails = undefined;
16
+ this.announcement = "";
17
+ this.isKeying = false;
13
18
  }
14
- get eventToEmit() {
15
- return this.chartEl.nodeName === "WM-CHART"
16
- ? this.wmChartPopoverButtonTriggered
17
- : this.wmProgressIndicatorButtonTriggered;
19
+ toggleTabbingOn() {
20
+ this.isKeying = true;
18
21
  }
19
- handleClickOnDocument(ev) {
20
- // because this listener is set document-wide, whenever something inside it is clicked
21
- // the event target returned will always be the host (wm-chart)
22
+ toggleTabbingOff() {
23
+ this.isKeying = false;
24
+ }
25
+ handleClickOnDocument(_ev) {
22
26
  // the element within wm-chart is determined by the other listener and saved as var popoverClicked for use here
23
27
  // capture = false in @Listen ensures order of execution
24
28
  if (this.open) {
25
- // if the target is the popover's own slice, no need to adjust the open state
26
- if (ev.target != this.sliceDetails.sliceRef) {
27
- this.open = this.popoverClicked;
28
- this.popoverClicked = false;
29
- }
29
+ this.open = this.popoverClicked;
30
+ this.popoverClicked = false;
30
31
  }
31
32
  }
32
33
  handleClick(ev) {
@@ -39,8 +40,8 @@ export class ChartPopover {
39
40
  componentDidLoad() {
40
41
  // set up event listeners for scrolling
41
42
  // to close popover on page scroll
42
- const scrollableParents = findAllScrollableParents(this.chartEl);
43
- scrollableParents.forEach(scrollableParent => {
43
+ const scrollableParents = findAllScrollableParents(this.el);
44
+ scrollableParents.forEach((scrollableParent) => {
44
45
  if (scrollableParent === document.documentElement) {
45
46
  // For document element, listen to window scroll event
46
47
  window.addEventListener("scroll", () => {
@@ -57,70 +58,57 @@ export class ChartPopover {
57
58
  }
58
59
  handleOpenChange() {
59
60
  this.intChartPopoverOpenChanged.emit(this.open);
60
- }
61
- handleDetailsChange() {
62
- if (this.sliceDetails && this.sliceDetails.coords) {
63
- this.positionPopover();
61
+ if (this.open) {
62
+ this.popoverEl.showPopover();
63
+ }
64
+ else {
65
+ this.popoverEl.hidePopover();
64
66
  }
65
67
  }
66
- updateHighlightedInfo() {
67
- // if (this.sliceDetails) {
68
- // if (this.open) {
69
- // this.highlightSegmentInfo(this.sliceDetails);
70
- // } else {
71
- // this.removeSegmentInfoHighlight();
72
- // }
73
- // }
68
+ handleDetailsChange() {
69
+ this.positionPopover();
74
70
  }
75
71
  handleButtonClick() {
76
- if (this.sliceDetails) {
77
- const sliceRef = this.sliceDetails.sliceRef;
78
- sliceRef.click();
79
- this.eventToEmit.emit(sliceRef);
72
+ if (this.chartData) {
73
+ this.wmPopoverButtonClick.emit(this.chartData);
80
74
  }
81
75
  }
82
- renderLiveRegion() {
83
- if (this.liveRegion) {
84
- this.liveRegion.innerHTML = "";
85
- const wrapper = document.createElement("div");
86
- const titleEl = document.createElement("span");
87
- titleEl.innerHTML = this.sliceDetails.title + " " || "";
88
- wrapper.appendChild(titleEl);
89
- const textEl = document.createElement("span");
90
- textEl.innerHTML = this.sliceDetails.text + " " || "";
91
- wrapper.appendChild(textEl);
92
- if (this.sliceDetails.buttonText) {
93
- const buttonEl = document.createElement("span");
94
- buttonEl.innerHTML =
95
- this.sliceDetails.buttonText +
96
- " " +
97
- intl.formatMessage({
98
- id: "chart.infoButton",
99
- defaultMessage: "Button. Click for more information.",
100
- });
101
- wrapper.appendChild(buttonEl);
102
- }
103
- this.liveRegion.appendChild(wrapper);
76
+ announce(message) {
77
+ var _a;
78
+ // \u00A0 is a non-breaking space character, which causes the message to be read as a new one
79
+ if (((_a = this.liveRegionEl) === null || _a === void 0 ? void 0 : _a.textContent) === message) {
80
+ message += "\u00A0";
104
81
  }
82
+ this.announcement = message;
83
+ }
84
+ async announceContents() {
85
+ let contentsMessage = this.header + " " + this.text;
86
+ if (this.buttonText) {
87
+ contentsMessage +=
88
+ " " +
89
+ this.buttonText +
90
+ " " +
91
+ intl.formatMessage({
92
+ id: "chart.infoButton",
93
+ defaultMessage: "Button. Click for more information.",
94
+ });
95
+ }
96
+ this.announce(contentsMessage);
105
97
  }
106
98
  positionPopover() {
107
- this.el.style.top = this.sliceDetails.coords.y + "px";
108
- if (window.innerWidth - this.sliceDetails.coords.x >= this.popoverWidth + 10) {
109
- this.el.style.left = this.sliceDetails.coords.x + "px"; // opens on the right
99
+ this.popoverEl.style.top = this.coords.y + "px";
100
+ if (window.innerWidth - this.coords.x >= this.popoverWidth + 10) {
101
+ this.popoverEl.style.left = this.coords.x + "px"; // opens on the right
110
102
  }
111
103
  else {
112
- this.el.style.left = this.sliceDetails.coords.x - this.popoverWidth + "px"; // opens on the left
104
+ this.popoverEl.style.left = this.coords.x - this.popoverWidth + "px"; // opens on the left
113
105
  }
114
106
  }
115
107
  render() {
116
- const titleAffordance = this.sliceDetails &&
117
- this.sliceDetails.title &&
118
- (this.sliceDetails.title[0] === "-" ? "negative" : this.sliceDetails.title[0] === "+" ? "positive" : "");
119
- return (h(Host, { key: '25275e7ca9b1744629a4da08abccc1b99f301286' }, !!this.open && this.sliceDetails ? (h("div", { "aria-hidden": "true", class: "popover" }, h("h1", { class: `title ${titleAffordance}` }, this.sliceDetails.title), h("p", { class: "text" }, this.sliceDetails.text), this.sliceDetails.buttonText ? (
120
- // @ts-ignore
121
- h("button", { tabindex: "-1",
108
+ const titleAffordance = this.header && (this.header[0] === "-" ? "negative" : this.header[0] === "+" ? "positive" : "");
109
+ return (h(Host, { key: '5c7a3675940a53de167b000c9744a0f57c67388e', class: this.isKeying ? "user-is-keying" : "" }, h("div", { key: '5d3e225f174530a1b5f7d99f572efd37606d5c83', ref: (el) => (this.popoverEl = el), popover: "manual", "aria-hidden": "true", class: "popover" }, h("h1", { key: '858f7faa282336836ab4bcee639b2c3de2f9bdd0', class: `title ${titleAffordance}` }, this.header), h("p", { key: '2b1615179e45c14d2a661c4f9329134e744c16dc', class: "text" }, this.text), this.buttonText ? (h("button", { tabindex: "-1",
122
110
  // @ts-ignore
123
- focusable: "false", class: "popover-button", onClick: () => this.handleButtonClick() }, h("svg", { class: "btn-icon", height: "9", width: "9" }, h("path", { fill: "#575195", d: "M0 3.38v2.25h9V3.38H0zM0 0v2.25h4.5V0H0zm6.19 6.75H0V9h6.19V6.75z" })), h("span", { class: "button-text" }, this.sliceDetails.buttonText))) : (""))) : (""), h("div", { key: 'cdfdb9f58ebcbe375cc50214aac091c890587935', ref: (el) => (this.liveRegion = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" }, this.open && this.renderLiveRegion())));
111
+ focusable: "false", class: "popover-button", onClick: () => this.handleButtonClick() }, h("svg", { class: "btn-icon", height: "9", width: "9" }, h("path", { fill: "#575195", d: "M0 3.38v2.25h9V3.38H0zM0 0v2.25h4.5V0H0zm6.19 6.75H0V9h6.19V6.75z" })), h("span", { class: "button-text" }, this.buttonText))) : ("")), h("div", { key: '2238bbe6a805627f34ae04e8e62cef6d94546cf3', ref: (el) => (this.liveRegionEl = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" }, this.announcement)));
124
112
  }
125
113
  static get is() { return "priv-chart-popover"; }
126
114
  static get originalStyleUrls() {
@@ -135,12 +123,33 @@ export class ChartPopover {
135
123
  }
136
124
  static get properties() {
137
125
  return {
138
- "open": {
139
- "type": "boolean",
140
- "mutable": true,
126
+ "chartData": {
127
+ "type": "unknown",
128
+ "mutable": false,
141
129
  "complexType": {
142
- "original": "boolean",
143
- "resolved": "boolean",
130
+ "original": "ChartData",
131
+ "resolved": "undefined | { [key: string]: any; barLegend: string; amount: number; color?: string | undefined; popoverTitle?: string | undefined; popoverText?: string | undefined; popoverButtonText?: string | undefined; }",
132
+ "references": {
133
+ "ChartData": {
134
+ "location": "import",
135
+ "path": "../../../global/interfaces",
136
+ "id": "src/global/interfaces.ts::ChartData"
137
+ }
138
+ }
139
+ },
140
+ "required": false,
141
+ "optional": true,
142
+ "docs": {
143
+ "tags": [],
144
+ "text": ""
145
+ }
146
+ },
147
+ "header": {
148
+ "type": "string",
149
+ "mutable": false,
150
+ "complexType": {
151
+ "original": "string",
152
+ "resolved": "string",
144
153
  "references": {}
145
154
  },
146
155
  "required": false,
@@ -149,37 +158,92 @@ export class ChartPopover {
149
158
  "tags": [],
150
159
  "text": ""
151
160
  },
152
- "attribute": "open",
161
+ "attribute": "header",
153
162
  "reflect": false,
154
- "defaultValue": "false"
163
+ "defaultValue": "\"\""
164
+ },
165
+ "text": {
166
+ "type": "string",
167
+ "mutable": false,
168
+ "complexType": {
169
+ "original": "string",
170
+ "resolved": "string",
171
+ "references": {}
172
+ },
173
+ "required": false,
174
+ "optional": false,
175
+ "docs": {
176
+ "tags": [],
177
+ "text": ""
178
+ },
179
+ "attribute": "text",
180
+ "reflect": false,
181
+ "defaultValue": "\"\""
182
+ },
183
+ "buttonText": {
184
+ "type": "string",
185
+ "mutable": false,
186
+ "complexType": {
187
+ "original": "string",
188
+ "resolved": "string",
189
+ "references": {}
190
+ },
191
+ "required": false,
192
+ "optional": false,
193
+ "docs": {
194
+ "tags": [],
195
+ "text": ""
196
+ },
197
+ "attribute": "button-text",
198
+ "reflect": false,
199
+ "defaultValue": "\"\""
155
200
  },
156
- "sliceDetails": {
201
+ "coords": {
157
202
  "type": "unknown",
158
203
  "mutable": false,
159
204
  "complexType": {
160
- "original": "SliceDetails",
161
- "resolved": "undefined | { amount: number; visualAmount: number; perc: number; legend: string | null; color: string; offset: number; id: string; title: string | null; text: string | null; buttonText: string | null; sliceRef: Element; inSmallCluster: boolean; index: number; coords?: { x: number; y: number; } | undefined; }",
162
- "references": {
163
- "SliceDetails": {
164
- "location": "import",
165
- "path": "../../../global/interfaces",
166
- "id": "src/global/interfaces.ts::SliceDetails"
167
- }
168
- }
205
+ "original": "{ x: number; y: number }",
206
+ "resolved": "{ x: number; y: number; }",
207
+ "references": {}
169
208
  },
170
209
  "required": false,
171
- "optional": true,
210
+ "optional": false,
172
211
  "docs": {
173
212
  "tags": [],
174
213
  "text": ""
175
- }
214
+ },
215
+ "defaultValue": "{ x: 0, y: 0 }"
216
+ },
217
+ "open": {
218
+ "type": "boolean",
219
+ "mutable": true,
220
+ "complexType": {
221
+ "original": "boolean",
222
+ "resolved": "boolean",
223
+ "references": {}
224
+ },
225
+ "required": false,
226
+ "optional": false,
227
+ "docs": {
228
+ "tags": [],
229
+ "text": ""
230
+ },
231
+ "attribute": "open",
232
+ "reflect": false,
233
+ "defaultValue": "false"
176
234
  }
177
235
  };
178
236
  }
237
+ static get states() {
238
+ return {
239
+ "announcement": {},
240
+ "isKeying": {}
241
+ };
242
+ }
179
243
  static get events() {
180
244
  return [{
181
- "method": "wmChartPopoverButtonTriggered",
182
- "name": "wmChartPopoverButtonTriggered",
245
+ "method": "wmPopoverButtonClick",
246
+ "name": "wmPopoverButtonClick",
183
247
  "bubbles": true,
184
248
  "cancelable": true,
185
249
  "composed": true,
@@ -188,32 +252,13 @@ export class ChartPopover {
188
252
  "text": ""
189
253
  },
190
254
  "complexType": {
191
- "original": "HTMLWmChartSliceElement",
192
- "resolved": "HTMLWmChartSliceElement",
255
+ "original": "ChartData",
256
+ "resolved": "{ [key: string]: any; barLegend: string; amount: number; color?: string | undefined; popoverTitle?: string | undefined; popoverText?: string | undefined; popoverButtonText?: string | undefined; }",
193
257
  "references": {
194
- "HTMLWmChartSliceElement": {
195
- "location": "global",
196
- "id": "global::HTMLWmChartSliceElement"
197
- }
198
- }
199
- }
200
- }, {
201
- "method": "wmProgressIndicatorButtonTriggered",
202
- "name": "wmProgressIndicatorButtonTriggered",
203
- "bubbles": true,
204
- "cancelable": true,
205
- "composed": true,
206
- "docs": {
207
- "tags": [],
208
- "text": ""
209
- },
210
- "complexType": {
211
- "original": "HTMLWmProgressSliceElement",
212
- "resolved": "HTMLWmProgressSliceElement",
213
- "references": {
214
- "HTMLWmProgressSliceElement": {
215
- "location": "global",
216
- "id": "global::HTMLWmProgressSliceElement"
258
+ "ChartData": {
259
+ "location": "import",
260
+ "path": "../../../global/interfaces",
261
+ "id": "src/global/interfaces.ts::ChartData"
217
262
  }
218
263
  }
219
264
  }
@@ -234,18 +279,63 @@ export class ChartPopover {
234
279
  }
235
280
  }];
236
281
  }
282
+ static get methods() {
283
+ return {
284
+ "announceContents": {
285
+ "complexType": {
286
+ "signature": "() => Promise<void>",
287
+ "parameters": [],
288
+ "references": {
289
+ "Promise": {
290
+ "location": "global",
291
+ "id": "global::Promise"
292
+ }
293
+ },
294
+ "return": "Promise<void>"
295
+ },
296
+ "docs": {
297
+ "text": "",
298
+ "tags": []
299
+ }
300
+ }
301
+ };
302
+ }
237
303
  static get elementRef() { return "el"; }
238
304
  static get watchers() {
239
305
  return [{
240
306
  "propName": "open",
241
307
  "methodName": "handleOpenChange"
242
308
  }, {
243
- "propName": "sliceDetails",
309
+ "propName": "coords",
244
310
  "methodName": "handleDetailsChange"
245
311
  }];
246
312
  }
247
313
  static get listeners() {
248
314
  return [{
315
+ "name": "wmUserIsKeying",
316
+ "method": "toggleTabbingOn",
317
+ "target": "window",
318
+ "capture": false,
319
+ "passive": false
320
+ }, {
321
+ "name": "wmUserIsTabbing",
322
+ "method": "toggleTabbingOn",
323
+ "target": "window",
324
+ "capture": false,
325
+ "passive": false
326
+ }, {
327
+ "name": "wmUserIsNotKeying",
328
+ "method": "toggleTabbingOff",
329
+ "target": "window",
330
+ "capture": false,
331
+ "passive": false
332
+ }, {
333
+ "name": "wmUserIsNotTabbing",
334
+ "method": "toggleTabbingOff",
335
+ "target": "window",
336
+ "capture": false,
337
+ "passive": false
338
+ }, {
249
339
  "name": "click",
250
340
  "method": "handleClickOnDocument",
251
341
  "target": "document",