@watermarkinsights/ripple 5.22.0-alpha.4 → 5.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. package/dist/cjs/{app-globals-054d0c9e.js → app-globals-49be3826.js} +19 -17
  2. package/dist/cjs/{chartFunctions-d9aa9891.js → chartFunctions-60f65883.js} +1 -40
  3. package/dist/cjs/{functions-505d6601.js → functions-71af585d.js} +2 -6
  4. package/dist/cjs/index-788526f5.js +2 -10
  5. package/dist/cjs/{interfaces-069f135e.js → interfaces-85d78ae9.js} +0 -21
  6. package/dist/cjs/{intl-e7d7e719.js → intl-169a8805.js} +1 -1
  7. package/dist/cjs/loader.cjs.js +2 -2
  8. package/dist/cjs/priv-calendar.cjs.entry.js +3 -3
  9. package/dist/cjs/priv-chart-popover.cjs.entry.js +145 -0
  10. package/dist/cjs/priv-navigator-button.cjs.entry.js +1 -1
  11. package/dist/cjs/priv-navigator-item.cjs.entry.js +1 -1
  12. package/dist/cjs/priv-option-list.cjs.entry.js +3 -3
  13. package/dist/cjs/ripple.cjs.js +2 -2
  14. package/dist/cjs/wm-action-menu_2.cjs.entry.js +4 -4
  15. package/dist/cjs/wm-button.cjs.entry.js +3 -3
  16. package/dist/cjs/wm-chart.cjs.entry.js +5 -5
  17. package/dist/cjs/wm-date-range.cjs.entry.js +6 -6
  18. package/dist/cjs/wm-datepicker.cjs.entry.js +6 -6
  19. package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
  20. package/dist/cjs/wm-file.cjs.entry.js +2 -2
  21. package/dist/cjs/wm-flyout.cjs.entry.js +3 -3
  22. package/dist/cjs/wm-input.cjs.entry.js +3 -3
  23. package/dist/cjs/wm-line-chart.cjs.entry.js +5 -5
  24. package/dist/cjs/wm-modal-pss_3.cjs.entry.js +6 -6
  25. package/dist/cjs/wm-modal_3.cjs.entry.js +6 -6
  26. package/dist/cjs/wm-navigation_3.cjs.entry.js +6 -6
  27. package/dist/cjs/wm-navigator.cjs.entry.js +2 -2
  28. package/dist/cjs/wm-nested-select.cjs.entry.js +5 -5
  29. package/dist/cjs/wm-optgroup.cjs.entry.js +2 -2
  30. package/dist/cjs/wm-option_2.cjs.entry.js +7 -7
  31. package/dist/cjs/wm-pagination.cjs.entry.js +3 -3
  32. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +5 -5
  33. package/dist/cjs/wm-search.cjs.entry.js +4 -4
  34. package/dist/cjs/wm-snackbar.cjs.entry.js +4 -4
  35. package/dist/cjs/wm-tab-item_3.cjs.entry.js +7 -7
  36. package/dist/cjs/wm-tag-input.cjs.entry.js +4 -4
  37. package/dist/cjs/wm-tag-option.cjs.entry.js +1 -1
  38. package/dist/cjs/wm-textarea.cjs.entry.js +3 -3
  39. package/dist/cjs/wm-timepicker.cjs.entry.js +3 -3
  40. package/dist/cjs/wm-toggletip.cjs.entry.js +4 -4
  41. package/dist/cjs/wm-uploader.cjs.entry.js +4 -4
  42. package/dist/collection/collection-manifest.json +0 -3
  43. package/dist/collection/components/charts/chartFunctions.js +1 -36
  44. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +9 -11
  45. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +112 -190
  46. package/dist/collection/components/charts/wm-chart/wm-chart.js +2 -2
  47. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +2 -2
  48. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +2 -2
  49. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +1 -1
  50. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +2 -2
  51. package/dist/collection/components/datepickers/wm-date-range.js +5 -5
  52. package/dist/collection/components/datepickers/wm-datepicker.js +5 -5
  53. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +1 -1
  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 +4 -4
  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-flyout/wm-flyout.js +1 -1
  63. package/dist/collection/components/wm-input/wm-input.js +1 -1
  64. package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
  65. package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
  66. package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
  67. package/dist/collection/components/wm-modal/wm-modal.js +2 -2
  68. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +1 -1
  69. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +1 -1
  70. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +2 -2
  71. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
  72. package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
  73. package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
  74. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
  75. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
  76. package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
  77. package/dist/collection/components/wm-search/wm-search.js +2 -2
  78. package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
  79. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +2 -2
  80. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +3 -3
  81. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
  82. package/dist/collection/components/wm-tag-input/wm-tag-input.js +2 -2
  83. package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
  84. package/dist/collection/components/wm-timepicker/wm-timepicker.js +2 -2
  85. package/dist/collection/components/wm-toggletip/wm-toggletip.js +3 -3
  86. package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
  87. package/dist/collection/global/functions.js +2 -6
  88. package/dist/collection/global/global.js +18 -16
  89. package/dist/collection/global/interfaces.js +0 -19
  90. package/dist/esm/{app-globals-20ff89a4.js → app-globals-fec6fcef.js} +19 -17
  91. package/dist/esm/{chartFunctions-f22160b5.js → chartFunctions-a834e2a9.js} +2 -37
  92. package/dist/esm/{functions-14aaf49d.js → functions-9df607f2.js} +2 -6
  93. package/dist/esm/index-130e07bb.js +2 -10
  94. package/dist/esm/{interfaces-16deca17.js → interfaces-cc5b177f.js} +1 -20
  95. package/dist/esm/{intl-7b5f8017.js → intl-86bec8ef.js} +1 -1
  96. package/dist/esm/loader.js +2 -2
  97. package/dist/esm/priv-calendar.entry.js +3 -3
  98. package/dist/esm/priv-chart-popover.entry.js +141 -0
  99. package/dist/esm/priv-navigator-button.entry.js +1 -1
  100. package/dist/esm/priv-navigator-item.entry.js +1 -1
  101. package/dist/esm/priv-option-list.entry.js +3 -3
  102. package/dist/esm/ripple.js +2 -2
  103. package/dist/esm/wm-action-menu_2.entry.js +4 -4
  104. package/dist/esm/wm-button.entry.js +3 -3
  105. package/dist/esm/wm-chart.entry.js +5 -5
  106. package/dist/esm/wm-date-range.entry.js +6 -6
  107. package/dist/esm/wm-datepicker.entry.js +6 -6
  108. package/dist/esm/wm-file-list.entry.js +1 -1
  109. package/dist/esm/wm-file.entry.js +2 -2
  110. package/dist/esm/wm-flyout.entry.js +3 -3
  111. package/dist/esm/wm-input.entry.js +3 -3
  112. package/dist/esm/wm-line-chart.entry.js +5 -5
  113. package/dist/esm/wm-modal-pss_3.entry.js +6 -6
  114. package/dist/esm/wm-modal_3.entry.js +6 -6
  115. package/dist/esm/wm-navigation_3.entry.js +6 -6
  116. package/dist/esm/wm-navigator.entry.js +2 -2
  117. package/dist/esm/wm-nested-select.entry.js +5 -5
  118. package/dist/esm/wm-optgroup.entry.js +2 -2
  119. package/dist/esm/wm-option_2.entry.js +7 -7
  120. package/dist/esm/wm-pagination.entry.js +3 -3
  121. package/dist/esm/wm-progress-indicator_3.entry.js +5 -5
  122. package/dist/esm/wm-search.entry.js +4 -4
  123. package/dist/esm/wm-snackbar.entry.js +4 -4
  124. package/dist/esm/wm-tab-item_3.entry.js +7 -7
  125. package/dist/esm/wm-tag-input.entry.js +4 -4
  126. package/dist/esm/wm-tag-option.entry.js +1 -1
  127. package/dist/esm/wm-textarea.entry.js +3 -3
  128. package/dist/esm/wm-timepicker.entry.js +3 -3
  129. package/dist/esm/wm-toggletip.entry.js +4 -4
  130. package/dist/esm/wm-uploader.entry.js +4 -4
  131. package/dist/esm-es5/app-globals-fec6fcef.js +1 -0
  132. package/dist/esm-es5/{chartFunctions-f22160b5.js → chartFunctions-a834e2a9.js} +1 -1
  133. package/dist/esm-es5/{functions-14aaf49d.js → functions-9df607f2.js} +1 -1
  134. package/dist/esm-es5/index-130e07bb.js +1 -1
  135. package/dist/esm-es5/interfaces-cc5b177f.js +1 -0
  136. package/dist/esm-es5/{intl-7b5f8017.js → intl-86bec8ef.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 -0
  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.entry.js +1 -1
  147. package/dist/esm-es5/wm-date-range.entry.js +1 -1
  148. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  149. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  150. package/dist/esm-es5/wm-file.entry.js +1 -1
  151. package/dist/esm-es5/wm-flyout.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/ripple/{p-135ecb41.system.entry.js → p-0267046a.system.entry.js} +1 -1
  173. package/dist/ripple/{p-72643f00.entry.js → p-04fe992d.entry.js} +1 -1
  174. package/dist/ripple/{p-984b3aa2.system.entry.js → p-0a95f175.system.entry.js} +1 -1
  175. package/dist/ripple/{p-220fa36a.js → p-0c1396e0.js} +1 -1
  176. package/dist/ripple/{p-91145304.system.entry.js → p-0e3015f2.system.entry.js} +1 -1
  177. package/dist/ripple/{p-94ec4e2c.entry.js → p-11ae67a9.entry.js} +1 -1
  178. package/dist/ripple/p-1db0bb59.system.js +1 -0
  179. package/dist/ripple/{p-37fbdcf9.system.entry.js → p-1dbd86bf.system.entry.js} +1 -1
  180. package/dist/ripple/{p-7781f941.entry.js → p-1e4b30ac.entry.js} +1 -1
  181. package/dist/ripple/{p-e50d77b9.entry.js → p-1f26fdb7.entry.js} +1 -1
  182. package/dist/ripple/{p-6e6a9598.entry.js → p-2451029c.entry.js} +1 -1
  183. package/dist/ripple/{p-8c378a26.system.entry.js → p-24d20fc6.system.entry.js} +1 -1
  184. package/dist/ripple/p-2732bddd.js +1 -0
  185. package/dist/ripple/{p-3d1098fb.system.entry.js → p-285dbfb9.system.entry.js} +1 -1
  186. package/dist/ripple/{p-c1cbb630.entry.js → p-28b52ec0.entry.js} +1 -1
  187. package/dist/ripple/{p-093dd5b3.entry.js → p-31558b0e.entry.js} +1 -1
  188. package/dist/ripple/{p-6ae45e19.entry.js → p-37e6df61.entry.js} +1 -1
  189. package/dist/ripple/p-42fa7a77.system.js +1 -0
  190. package/dist/ripple/{p-366f253f.entry.js → p-44dc020c.entry.js} +1 -1
  191. package/dist/ripple/{p-7a6d6c76.entry.js → p-484c5cc5.entry.js} +1 -1
  192. package/dist/ripple/{p-241c2d63.entry.js → p-4c374ff7.entry.js} +1 -1
  193. package/dist/ripple/{p-1124978e.system.entry.js → p-4e9f0f73.system.entry.js} +1 -1
  194. package/dist/ripple/{p-2b15945c.system.entry.js → p-59101b39.system.entry.js} +1 -1
  195. package/dist/ripple/p-59ce4f69.js +1 -0
  196. package/dist/ripple/{p-b00cdcc6.entry.js → p-5b9441ff.entry.js} +1 -1
  197. package/dist/ripple/p-5dc32453.js +1 -0
  198. package/dist/ripple/{p-22cbc43b.entry.js → p-6388bf35.entry.js} +1 -1
  199. package/dist/ripple/{p-b6d2b2c9.system.entry.js → p-6c267b11.system.entry.js} +1 -1
  200. package/dist/ripple/{p-8d858325.system.entry.js → p-6d0f7f1d.system.entry.js} +1 -1
  201. package/dist/ripple/{p-99f4dc24.entry.js → p-7233deea.entry.js} +1 -1
  202. package/dist/ripple/{p-9ea227e3.system.entry.js → p-73914a64.system.entry.js} +1 -1
  203. package/dist/ripple/{p-9f089a36.system.entry.js → p-75cf1147.system.entry.js} +1 -1
  204. package/dist/ripple/{p-d2ed3598.system.entry.js → p-7c379888.system.entry.js} +1 -1
  205. package/dist/ripple/{p-1b7774ab.entry.js → p-7ca0a3cb.entry.js} +1 -1
  206. package/dist/ripple/{p-e5af888f.system.entry.js → p-813634c0.system.entry.js} +1 -1
  207. package/dist/ripple/{p-12eaf2d7.entry.js → p-81c8d038.entry.js} +1 -1
  208. package/dist/ripple/{p-6643047f.system.entry.js → p-8286ed48.system.entry.js} +1 -1
  209. package/dist/ripple/{p-b41dfeea.system.entry.js → p-840ed2ca.system.entry.js} +1 -1
  210. package/dist/ripple/{p-21114d99.entry.js → p-886b50fb.entry.js} +1 -1
  211. package/dist/{cjs/priv-chart-popover_2.cjs.entry.js → ripple/p-88ec49f1.entry.js} +1 -175
  212. package/dist/ripple/{p-e0743224.entry.js → p-91194c43.entry.js} +1 -1
  213. package/dist/ripple/{p-f381b796.system.entry.js → p-92d489c8.system.entry.js} +1 -1
  214. package/dist/ripple/{p-6a18191e.system.entry.js → p-98a81b33.system.entry.js} +1 -1
  215. package/dist/ripple/{p-43b61559.system.entry.js → p-a09d66e8.system.entry.js} +1 -1
  216. package/dist/ripple/{p-d6e81f61.entry.js → p-a111374c.entry.js} +1 -1
  217. package/dist/ripple/{p-28890409.entry.js → p-a19f81a3.entry.js} +1 -1
  218. package/dist/{cjs/priv-chart-popover-old.cjs.entry.js → ripple/p-a6240a47.entry.js} +1 -145
  219. package/dist/ripple/p-ac08b0a8.system.js +1 -0
  220. package/dist/ripple/{p-87992e3d.system.entry.js → p-ac4370ae.system.entry.js} +1 -1
  221. package/dist/ripple/{p-1c86be31.entry.js → p-ae138b2c.entry.js} +1 -1
  222. package/dist/ripple/{p-b2875298.system.entry.js → p-afd0ed83.system.entry.js} +1 -1
  223. package/dist/ripple/{p-c5c98974.system.entry.js → p-b1e58461.system.entry.js} +1 -1
  224. package/dist/ripple/{p-7568137d.system.entry.js → p-bbf46f8b.system.entry.js} +1 -1
  225. package/dist/ripple/{p-04f8cae1.system.entry.js → p-bc29023c.system.entry.js} +1 -1
  226. package/dist/ripple/{p-31468e67.entry.js → p-c0087cd0.entry.js} +1 -1
  227. package/dist/ripple/{p-30c0aa58.system.entry.js → p-c02a5e64.system.entry.js} +1 -1
  228. package/dist/ripple/{p-743536ae.system.entry.js → p-cbb67bc3.system.entry.js} +1 -1
  229. package/dist/ripple/{p-8bb49d8f.system.entry.js → p-ceaee8b9.system.entry.js} +1 -1
  230. package/dist/ripple/{p-780de72e.system.entry.js → p-d59ded20.system.entry.js} +1 -1
  231. package/dist/ripple/{p-12f39b2f.entry.js → p-d9a53822.entry.js} +1 -1
  232. package/dist/ripple/{p-cc0cbbac.entry.js → p-de9e0582.entry.js} +1 -1
  233. package/dist/ripple/{p-3967eef9.system.js → p-e075695e.system.js} +1 -1
  234. package/dist/ripple/{p-c24b745f.entry.js → p-e618af10.entry.js} +1 -1
  235. package/dist/ripple/{p-4ba001c1.entry.js → p-e66ccd7b.entry.js} +1 -1
  236. package/dist/ripple/{p-bd7a5b99.system.entry.js → p-e6f6b0f4.system.entry.js} +1 -1
  237. package/dist/ripple/{p-966f2c9e.entry.js → p-e9038796.entry.js} +1 -1
  238. package/dist/ripple/{p-7cd03a52.entry.js → p-edbfc15c.entry.js} +1 -1
  239. package/dist/ripple/{p-b52e3001.entry.js → p-ee25af83.entry.js} +1 -1
  240. package/dist/ripple/{p-a0b38e60.system.js → p-ee9ff51e.system.js} +1 -1
  241. package/dist/ripple/{p-221dedba.system.entry.js → p-ef7988fe.system.entry.js} +1 -1
  242. package/dist/ripple/{p-0b2a0825.system.entry.js → p-f1dea7a8.system.entry.js} +1 -1
  243. package/dist/ripple/p-f297a080.system.js +1 -0
  244. package/dist/ripple/{p-909f8797.entry.js → p-f5c59ec1.entry.js} +1 -1
  245. package/dist/ripple/{p-8f96f4f8.entry.js → p-f680ad0f.entry.js} +1 -1
  246. package/dist/ripple/{p-e72235c6.js → p-f73dd1e7.js} +1 -1
  247. package/dist/ripple/{p-b8d69c73.system.entry.js → p-f8c12729.system.entry.js} +1 -1
  248. package/dist/ripple/{p-a7bddbfd.system.entry.js → p-fe330a72.system.entry.js} +1 -1
  249. package/dist/ripple/ripple.esm.js +1 -1
  250. package/dist/ripple/ripple.js +1 -1
  251. package/dist/types/components/charts/chartFunctions.d.ts +1 -9
  252. package/dist/types/components/charts/priv-chart-popover/priv-chart-popover.d.ts +11 -20
  253. package/dist/types/components/charts/wm-chart/wm-chart.d.ts +1 -1
  254. package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +1 -1
  255. package/dist/types/components.d.ts +6 -124
  256. package/dist/types/global/interfaces.d.ts +0 -41
  257. package/package.json +2 -2
  258. package/dist/cjs/wm-chart-bar.cjs.entry.js +0 -299
  259. package/dist/collection/components/charts/priv-chart-popover-old/priv-chart-popover-old.css +0 -961
  260. package/dist/collection/components/charts/priv-chart-popover-old/priv-chart-popover-old.js +0 -262
  261. package/dist/collection/components/charts/wm-chart-bar/wm-chart-bar.css +0 -1071
  262. package/dist/collection/components/charts/wm-chart-bar/wm-chart-bar.js +0 -423
  263. package/dist/collection/components/charts/wm-chart-legend/wm-chart-legend.css +0 -903
  264. package/dist/collection/components/charts/wm-chart-legend/wm-chart-legend.js +0 -155
  265. package/dist/collection/dev/chart-bar.js +0 -110
  266. package/dist/esm/priv-chart-popover-old.entry.js +0 -141
  267. package/dist/esm/priv-chart-popover_2.entry.js +0 -170
  268. package/dist/esm/wm-chart-bar.entry.js +0 -295
  269. package/dist/esm-es5/app-globals-20ff89a4.js +0 -1
  270. package/dist/esm-es5/interfaces-16deca17.js +0 -1
  271. package/dist/esm-es5/priv-chart-popover-old.entry.js +0 -1
  272. package/dist/esm-es5/priv-chart-popover_2.entry.js +0 -1
  273. package/dist/esm-es5/wm-chart-bar.entry.js +0 -1
  274. package/dist/ripple/p-0b5e5682.js +0 -1
  275. package/dist/ripple/p-0d5884f6.system.entry.js +0 -1
  276. package/dist/ripple/p-1c133402.system.entry.js +0 -1
  277. package/dist/ripple/p-25e10302.system.js +0 -1
  278. package/dist/ripple/p-30874e40.entry.js +0 -1
  279. package/dist/ripple/p-403e834e.entry.js +0 -1
  280. package/dist/ripple/p-4869f367.system.js +0 -1
  281. package/dist/ripple/p-55f2245c.js +0 -1
  282. package/dist/ripple/p-784fc89d.system.js +0 -1
  283. package/dist/ripple/p-7b6a4bd6.entry.js +0 -1
  284. package/dist/ripple/p-87e8cef4.system.js +0 -1
  285. package/dist/ripple/p-c464dfd1.entry.js +0 -1
  286. package/dist/ripple/p-efa7cdcc.js +0 -1
  287. package/dist/types/components/charts/priv-chart-popover-old/priv-chart-popover-old.d.ts +0 -26
  288. package/dist/types/components/charts/wm-chart-bar/wm-chart-bar.d.ts +0 -58
  289. package/dist/types/components/charts/wm-chart-legend/wm-chart-legend.d.ts +0 -19
@@ -143,7 +143,7 @@ function minSpacing(width) {
143
143
  // minimum spacing between 2 ticks, in px
144
144
  return scale(width, 300, 900, 70, 150);
145
145
  }
146
- export function getMaxTicks(width) {
146
+ function getMaxTicks(width) {
147
147
  return Math.round(width / minSpacing(width));
148
148
  }
149
149
  export function getInterval(largest, maxticks) {
@@ -673,38 +673,3 @@ export function renderCompletionMessage() {
673
673
  export function renderHiddenValuesMessage() {
674
674
  return (h("div", { class: "hidden-values-warning hidden" }, textHiddenMessage, h("br", null), seeDetailsMessage));
675
675
  }
676
- export function formatDisplayValue(amount, amountTotal, valueFormat) {
677
- switch (valueFormat) {
678
- case "amount":
679
- return amount.toLocaleString();
680
- case "percentage":
681
- return `${Math.round((amount / amountTotal) * 100).toFixed(0)}%`;
682
- default:
683
- case "none":
684
- return "";
685
- }
686
- }
687
- export function isNiceInterval(interval, niceValues = [1, 1.5, 2, 2.5, 3, 5, 10]) {
688
- const magnitude = Math.pow(10, Math.floor(Math.log10(interval)));
689
- const normalized = interval / magnitude;
690
- const normalizedComparision = niceValues.some((nice) => Math.abs(normalized - nice) < 0.0001); // check equality with floating point tolerance
691
- return normalizedComparision;
692
- }
693
- export function suffixNumber(value) {
694
- if (value >= 1000000)
695
- return `${(value / 1000000).toFixed(value % 1000000 === 0 ? 0 : 1)}M`;
696
- if (value >= 1000)
697
- return `${(value / 1000).toFixed(value % 1000 === 0 ? 0 : 1)}K`;
698
- return value.toString();
699
- }
700
- export function findLargestNiceInterval(maxIntervals, total) {
701
- // Given a max number of intervals and a total, iterate down until a nice way to divide the total is found.
702
- // Otherwise, return 1 interval
703
- for (let intervals = maxIntervals; intervals >= 1; intervals--) {
704
- const candidateInterval = total / intervals;
705
- if (isNiceInterval(candidateInterval)) {
706
- return { numIntervals: intervals, interval: candidateInterval };
707
- }
708
- }
709
- return { numIntervals: 1, interval: total };
710
- }
@@ -865,6 +865,15 @@ priv-chart-popover {
865
865
  --wmcolor-chart-popover-link-text-focus: var(--wmcolor-interactive-focus);
866
866
  --wmcolor-chart-popover-link-text: var(--wmcolor-interactive);
867
867
  --wmcolor-chart-popover-background: var(--wmcolor-background);
868
+ position: fixed;
869
+ z-index: 10;
870
+ border-radius: 0.1875rem;
871
+ -webkit-box-shadow: 0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);
872
+ -moz-box-shadow: 0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);
873
+ box-shadow: 0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);
874
+ background-color: var(--wmcolor-chart-popover-background);
875
+ font-size: 0.875rem;
876
+ text-align: left;
868
877
  }
869
878
  priv-chart-popover.user-is-tabbing .button-text {
870
879
  outline: 3px solid var(--wmcolor-interactive-focus);
@@ -885,17 +894,6 @@ priv-chart-popover.user-is-tabbing .button-text {
885
894
  }
886
895
 
887
896
  .popover {
888
- position: fixed;
889
- margin: 0;
890
- padding: 0;
891
- border: none;
892
- border-radius: 0.1875rem;
893
- -webkit-box-shadow: 0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);
894
- -moz-box-shadow: 0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);
895
- box-shadow: 0 11px 15px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.12);
896
- background-color: var(--wmcolor-chart-popover-background);
897
- font-size: 0.875rem;
898
- text-align: left;
899
897
  width: 10.5rem;
900
898
  padding: 0.625rem 0.9375rem;
901
899
  box-sizing: border-box;
@@ -2,32 +2,31 @@ 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;
5
6
  this.popoverWidth = 168;
6
7
  this.popoverClicked = false;
7
8
  this.debouncedClosePopover = debounce(async () => {
8
9
  this.open = false;
9
10
  }, 10);
10
- this.chartData = undefined;
11
- this.header = "";
12
- this.text = "";
13
- this.buttonText = "";
14
- this.coords = { x: 0, y: 0 };
15
11
  this.open = false;
16
- this.announcement = "";
17
- this.isTabbing = false;
12
+ this.sliceDetails = undefined;
18
13
  }
19
- toggleTabbingOn() {
20
- this.isTabbing = true;
14
+ get eventToEmit() {
15
+ return this.chartEl.nodeName === "WM-CHART"
16
+ ? this.wmChartPopoverButtonTriggered
17
+ : this.wmProgressIndicatorButtonTriggered;
21
18
  }
22
- toggleTabbingOff() {
23
- this.isTabbing = false;
24
- }
25
- handleClickOnDocument(_ev) {
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)
26
22
  // the element within wm-chart is determined by the other listener and saved as var popoverClicked for use here
27
23
  // capture = false in @Listen ensures order of execution
28
24
  if (this.open) {
29
- this.open = this.popoverClicked;
30
- this.popoverClicked = false;
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
+ }
31
30
  }
32
31
  }
33
32
  handleClick(ev) {
@@ -40,8 +39,8 @@ export class ChartPopover {
40
39
  componentDidLoad() {
41
40
  // set up event listeners for scrolling
42
41
  // to close popover on page scroll
43
- const scrollableParents = findAllScrollableParents(this.el);
44
- scrollableParents.forEach((scrollableParent) => {
42
+ const scrollableParents = findAllScrollableParents(this.chartEl);
43
+ scrollableParents.forEach(scrollableParent => {
45
44
  if (scrollableParent === document.documentElement) {
46
45
  // For document element, listen to window scroll event
47
46
  window.addEventListener("scroll", () => {
@@ -58,57 +57,70 @@ export class ChartPopover {
58
57
  }
59
58
  handleOpenChange() {
60
59
  this.intChartPopoverOpenChanged.emit(this.open);
61
- if (this.open) {
62
- this.popoverEl.showPopover();
63
- }
64
- else {
65
- this.popoverEl.hidePopover();
66
- }
67
60
  }
68
61
  handleDetailsChange() {
69
- this.positionPopover();
70
- }
71
- handleButtonClick() {
72
- if (this.chartData) {
73
- this.wmPopoverButtonClick.emit(this.chartData);
62
+ if (this.sliceDetails && this.sliceDetails.coords) {
63
+ this.positionPopover();
74
64
  }
75
65
  }
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";
66
+ updateHighlightedInfo() {
67
+ // if (this.sliceDetails) {
68
+ // if (this.open) {
69
+ // this.highlightSegmentInfo(this.sliceDetails);
70
+ // } else {
71
+ // this.removeSegmentInfoHighlight();
72
+ // }
73
+ // }
74
+ }
75
+ handleButtonClick() {
76
+ if (this.sliceDetails) {
77
+ const sliceRef = this.sliceDetails.sliceRef;
78
+ sliceRef.click();
79
+ this.eventToEmit.emit(sliceRef);
81
80
  }
82
- this.announcement = message;
83
81
  }
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
- });
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);
95
104
  }
96
- this.announce(contentsMessage);
97
105
  }
98
106
  positionPopover() {
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
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
102
110
  }
103
111
  else {
104
- this.popoverEl.style.left = this.coords.x - this.popoverWidth + "px"; // opens on the left
112
+ this.el.style.left = this.sliceDetails.coords.x - this.popoverWidth + "px"; // opens on the left
105
113
  }
106
114
  }
107
115
  render() {
108
- const titleAffordance = this.header && (this.header[0] === "-" ? "negative" : this.header[0] === "+" ? "positive" : "");
109
- return (h(Host, { key: '7f6b028aee35ec85334b34083e991b0c4ea2a21e', class: this.isTabbing ? "user-is-tabbing" : "" }, h("div", { key: '4fc8cbaf266b9b5d3613b28d2d6fbd6eb4d9f5c1', ref: (el) => (this.popoverEl = el), popover: "manual", "aria-hidden": "true", class: "popover" }, h("h1", { key: '99af3558a4f40d3eb5cd6a6d149d0d01cf730dc0', class: `title ${titleAffordance}` }, this.header), h("p", { key: 'b7404a255a298171b8eb9e2f6f0689fba433cbeb', class: "text" }, this.text), this.buttonText ? (h("button", { tabindex: "-1",
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",
110
122
  // @ts-ignore
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: 'be4379d80b04f4c9e6b01c353587297c1ed6b2dc', ref: (el) => (this.liveRegionEl = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" }, this.announcement)));
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())));
112
124
  }
113
125
  static get is() { return "priv-chart-popover"; }
114
126
  static get originalStyleUrls() {
@@ -123,69 +135,12 @@ export class ChartPopover {
123
135
  }
124
136
  static get properties() {
125
137
  return {
126
- "chartData": {
127
- "type": "unknown",
128
- "mutable": false,
129
- "complexType": {
130
- "original": "ChartData",
131
- "resolved": "undefined | { [key: string]: any; label: 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",
153
- "references": {}
154
- },
155
- "required": false,
156
- "optional": false,
157
- "docs": {
158
- "tags": [],
159
- "text": ""
160
- },
161
- "attribute": "header",
162
- "reflect": 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,
138
+ "open": {
139
+ "type": "boolean",
140
+ "mutable": true,
186
141
  "complexType": {
187
- "original": "string",
188
- "resolved": "string",
142
+ "original": "boolean",
143
+ "resolved": "boolean",
189
144
  "references": {}
190
145
  },
191
146
  "required": false,
@@ -194,56 +149,37 @@ export class ChartPopover {
194
149
  "tags": [],
195
150
  "text": ""
196
151
  },
197
- "attribute": "button-text",
152
+ "attribute": "open",
198
153
  "reflect": false,
199
- "defaultValue": "\"\""
154
+ "defaultValue": "false"
200
155
  },
201
- "coords": {
156
+ "sliceDetails": {
202
157
  "type": "unknown",
203
158
  "mutable": false,
204
159
  "complexType": {
205
- "original": "{ x: number; y: number }",
206
- "resolved": "{ x: number; y: number; }",
207
- "references": {}
208
- },
209
- "required": false,
210
- "optional": false,
211
- "docs": {
212
- "tags": [],
213
- "text": ""
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": {}
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
+ }
224
169
  },
225
170
  "required": false,
226
- "optional": false,
171
+ "optional": true,
227
172
  "docs": {
228
173
  "tags": [],
229
174
  "text": ""
230
- },
231
- "attribute": "open",
232
- "reflect": false,
233
- "defaultValue": "false"
175
+ }
234
176
  }
235
177
  };
236
178
  }
237
- static get states() {
238
- return {
239
- "announcement": {},
240
- "isTabbing": {}
241
- };
242
- }
243
179
  static get events() {
244
180
  return [{
245
- "method": "wmPopoverButtonClick",
246
- "name": "wmPopoverButtonClick",
181
+ "method": "wmChartPopoverButtonTriggered",
182
+ "name": "wmChartPopoverButtonTriggered",
247
183
  "bubbles": true,
248
184
  "cancelable": true,
249
185
  "composed": true,
@@ -252,13 +188,32 @@ export class ChartPopover {
252
188
  "text": ""
253
189
  },
254
190
  "complexType": {
255
- "original": "ChartData",
256
- "resolved": "{ [key: string]: any; label: string; amount: number; color?: string | undefined; popoverTitle?: string | undefined; popoverText?: string | undefined; popoverButtonText?: string | undefined; }",
191
+ "original": "HTMLWmChartSliceElement",
192
+ "resolved": "HTMLWmChartSliceElement",
257
193
  "references": {
258
- "ChartData": {
259
- "location": "import",
260
- "path": "../../../global/interfaces",
261
- "id": "src/global/interfaces.ts::ChartData"
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"
262
217
  }
263
218
  }
264
219
  }
@@ -279,51 +234,18 @@ export class ChartPopover {
279
234
  }
280
235
  }];
281
236
  }
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
- }
303
237
  static get elementRef() { return "el"; }
304
238
  static get watchers() {
305
239
  return [{
306
240
  "propName": "open",
307
241
  "methodName": "handleOpenChange"
308
242
  }, {
309
- "propName": "coords",
243
+ "propName": "sliceDetails",
310
244
  "methodName": "handleDetailsChange"
311
245
  }];
312
246
  }
313
247
  static get listeners() {
314
248
  return [{
315
- "name": "wmUserIsTabbing",
316
- "method": "toggleTabbingOn",
317
- "target": "window",
318
- "capture": false,
319
- "passive": false
320
- }, {
321
- "name": "wmUserIsNotTabbing",
322
- "method": "toggleTabbingOff",
323
- "target": "window",
324
- "capture": false,
325
- "passive": false
326
- }, {
327
249
  "name": "click",
328
250
  "method": "handleClickOnDocument",
329
251
  "target": "document",
@@ -29,7 +29,7 @@ export class Chart {
29
29
  this.focusedSliceId = undefined;
30
30
  }
31
31
  get popoverEl() {
32
- return this.el.shadowRoot.querySelector("priv-chart-popover-old");
32
+ return this.el.shadowRoot.querySelector("priv-chart-popover");
33
33
  }
34
34
  get sliceEls() {
35
35
  return Array.from(this.el.shadowRoot.querySelectorAll(".segment"));
@@ -145,7 +145,7 @@ export class Chart {
145
145
  }
146
146
  }
147
147
  render() {
148
- return (h(Host, { key: '64a6dc03c5a44de1cb06d0ddfa90cf88cf1c467c', onBlur: () => exitChart.call(this) }, h("div", { key: '31b4a39ce530c5e3552b1896feaa081f2e368d1b', 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: 'a62e78dd0eb3f50da81cc09137ea5bc7115b7cf4', id: `label-${this.uid}`, class: `label --${this.labelPosition}`, htmlFor: `graphic-${this.uid}` }, h("span", { key: '9a7219c06f7ef4a1a59f9b23a15574c65942e6c6', 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-old", { key: '39e2523ab60097506e841578fe978e69fe9c3b4b', class: this.isTabbing ? "user-is-tabbing" : "", onIntChartPopoverOpenChanged: (ev) => this.handlePopoverOpenChanged(ev) }), this.isBar && !this.printMode && renderHiddenValuesMessage()), renderInstructionsText()));
148
+ return (h(Host, { key: '495e0455dbad63e662f11ea1c2f61713c9ad52b6', onBlur: () => exitChart.call(this) }, h("div", { key: '8a51cc400c25ea93797a01bb0ae2eb4fdbce8300', 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: 'c4cf7b324a1347e4fc2d97ca9b7c2e50d5526a63', id: `label-${this.uid}`, class: `label --${this.labelPosition}`, htmlFor: `graphic-${this.uid}` }, h("span", { key: '950e135dca88ae28d156047daee4618628753b49', 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: '303b440f6098d37b8c1851b65d9e61d5792441ea', class: this.isTabbing ? "user-is-tabbing" : "", onIntChartPopoverOpenChanged: (ev) => this.handlePopoverOpenChanged(ev) }), this.isBar && !this.printMode && renderHiddenValuesMessage()), renderInstructionsText()));
149
149
  }
150
150
  static get is() { return "wm-chart"; }
151
151
  static get encapsulation() { return "shadow"; }
@@ -437,9 +437,9 @@ export class LineChart {
437
437
  return h("div", { class: "highlight", style: highlightStyle });
438
438
  }
439
439
  render() {
440
- return (h(Host, { key: 'd71077fd494817a5d75776302d8772ea86cab2a2', onBlur: () => this.resetDataPointFocus(), onMouseLeave: () => (this.popoverIndex = -1) }, h("div", { key: '73ee07cd573cc5aa3034ef447481bd2303aea2c2', class: "component-wrapper", role: "application", "aria-roledescription": chartMessages.interactiveChart, "aria-label": this.label, "aria-describedby": "chart-description" }, this.renderLegend(), h("div", { key: 'b3187c1ca6cfde74edaca2d5c9005de4e03d9a64', class: "chart-wrapper" }, h("div", { key: '6077543fac538b72c07940d3c7e66d5d30d0a228', class: "chart-label --y-axis", style: { "--labelWidth": this.labelWidth } }, this.yAxisLabel, this.parsedUnits[1] && ` (${this.parsedUnits[1]})`), this.renderYIntervals(), h("div", { key: '7afba40086fabc3fe27693159f6dd09b74675d14', ref: (el) => (this.plotAreaEl = el), class: `plot-area ${this.hasPartialInterval ? "" : "right-border"}`, style: {
440
+ return (h(Host, { key: 'fb0d9a5d98e31e44e873a45a057151abf8422af2', onBlur: () => this.resetDataPointFocus(), onMouseLeave: () => (this.popoverIndex = -1) }, h("div", { key: '8ad9a77f2ed681fe3e0e12d22e478f578a5f5378', class: "component-wrapper", role: "application", "aria-roledescription": chartMessages.interactiveChart, "aria-label": this.label, "aria-describedby": "chart-description" }, this.renderLegend(), h("div", { key: '8c75ab0d44e8b843bd00ac7c884010f86a7c32ed', class: "chart-wrapper" }, h("div", { key: '733592d351ba71b9e48591ccc87406c90ba6ee1c', class: "chart-label --y-axis", style: { "--labelWidth": this.labelWidth } }, this.yAxisLabel, this.parsedUnits[1] && ` (${this.parsedUnits[1]})`), this.renderYIntervals(), h("div", { key: 'a5d35aca9eb498bf41641978206cda9504d26531', ref: (el) => (this.plotAreaEl = el), class: `plot-area ${this.hasPartialInterval ? "" : "right-border"}`, style: {
441
441
  "--backgroundSize": `${this.dataPointMatrix[0][this.xIntervals.indexOf(this.displayedXIntervals[1])].xPositionPercent}%`,
442
- } }, this.highlightStart && this.renderHighlight(), this.renderData(), this.renderHoverAreas()), this.popoverIndex !== -1 && this.renderHoverIndicator(), this.popoverIndex !== -1 && this.renderPopover(), this.renderXIntervals(), h("div", { key: 'f3b2098f7c228bb3319b48a0b5dcc94affebeea9', class: "chart-label --x-axis" }, this.xAxisLabel, this.parsedUnits[0] && ` (${this.parsedUnits[0]})`)), h("div", { key: '52b27249cdfa10fd9952445997018f70d0af746e', id: "chart-description", class: "sr-only" }, `${lineChartMessages.instructions} ${this.description}`), h("div", { key: 'd975b96198f6d4596bbe285b7c52697fc1ee1d87', ref: (el) => (this.liveRegionEl = el), "aria-live": "polite", class: "sr-only" }, this.announcement))));
442
+ } }, this.highlightStart && this.renderHighlight(), this.renderData(), this.renderHoverAreas()), this.popoverIndex !== -1 && this.renderHoverIndicator(), this.popoverIndex !== -1 && this.renderPopover(), this.renderXIntervals(), h("div", { key: '848ec2e4cc1342d06c771dd5043e663c274862d2', class: "chart-label --x-axis" }, this.xAxisLabel, this.parsedUnits[0] && ` (${this.parsedUnits[0]})`)), h("div", { key: 'd9db30e4e1d3eaec8a9fd16a60dc6d15dff0d352', id: "chart-description", class: "sr-only" }, `${lineChartMessages.instructions} ${this.description}`), h("div", { key: '7042ad9fe099a30dde2385a71a4a78d9eb022b73', ref: (el) => (this.liveRegionEl = el), "aria-live": "polite", class: "sr-only" }, this.announcement))));
443
443
  }
444
444
  static get is() { return "wm-line-chart"; }
445
445
  static get encapsulation() { return "shadow"; }
@@ -21,7 +21,7 @@ export class ProgressIndicator {
21
21
  this.focusedSliceId = undefined;
22
22
  }
23
23
  get popoverEl() {
24
- return this.el.shadowRoot.querySelector("priv-chart-popover-old");
24
+ return this.el.shadowRoot.querySelector("priv-chart-popover");
25
25
  }
26
26
  get sliceEls() {
27
27
  return Array.from(this.el.shadowRoot.querySelectorAll(".segment"));
@@ -95,7 +95,7 @@ export class ProgressIndicator {
95
95
  }
96
96
  }
97
97
  render() {
98
- return (h(Host, { key: '5a5639b1bc20b8c33439e2eaffb608b0a7011095', onBlur: () => exitChart.call(this) }, h("div", { key: 'f26436d3427d12c9a5a6236b82a35de6a8223644', ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${this.mode} ${this.isTabbing && !this.userIsNavigating ? "user-is-tabbing" : ""}`, role: "application", "aria-label": this.ariaLabelText, tabindex: "0", "aria-roledescription": this.chartRoleDescription, "aria-describedby": `chart-instructions` }, h("label", { key: 'ae685bf92604deda11ae6bd253117d92b82950cf', id: `label-${this.uid}`, class: "label", htmlFor: `graphic-${this.uid}` }, h("span", { key: 'ed9cf74269fa625d0c106eb7d309297ee436af57', class: "label-text" }, this.label), this.subinfo ? h("span", { class: "subinfo" }, this.subinfo) : ""), this.mode && this.renderBarOrDoughnut(), this.mode === "doughnut" ? renderLegend.call(this, this.mode) : "", h("priv-chart-popover-old", { key: '783e866f5438191f655afcc23756a713b954e394', class: this.isTabbing ? "user-is-tabbing" : "", onIntChartPopoverOpenChanged: (ev) => this.handlePopoverOpenChanged(ev) }), this.mode === "doughnut" ? renderCompletionMessage.call(this) : ""), renderInstructionsText()));
98
+ return (h(Host, { key: '05666b54ac54aa245610f80b91f44f15ab242b23', onBlur: () => exitChart.call(this) }, h("div", { key: '0bae0b3024cbf29cc8a6da5e68884004772c4380', ref: (el) => (this.componentWrapperEl = el), class: `component-wrapper ${this.mode} ${this.isTabbing && !this.userIsNavigating ? "user-is-tabbing" : ""}`, role: "application", "aria-label": this.ariaLabelText, tabindex: "0", "aria-roledescription": this.chartRoleDescription, "aria-describedby": `chart-instructions` }, h("label", { key: 'b43987a6beb4fb9526a59aefd5d7fb265fcff8f7', id: `label-${this.uid}`, class: "label", htmlFor: `graphic-${this.uid}` }, h("span", { key: 'ead5c96e6147c1461419914f46b3cc05b792b78d', class: "label-text" }, this.label), this.subinfo ? h("span", { class: "subinfo" }, this.subinfo) : ""), this.mode && this.renderBarOrDoughnut(), this.mode === "doughnut" ? renderLegend.call(this, this.mode) : "", h("priv-chart-popover", { key: '502cd128a387accac34456f289bb78802a52a650', class: this.isTabbing ? "user-is-tabbing" : "", onIntChartPopoverOpenChanged: (ev) => this.handlePopoverOpenChanged(ev) }), this.mode === "doughnut" ? renderCompletionMessage.call(this) : ""), renderInstructionsText()));
99
99
  }
100
100
  static get is() { return "wm-progress-indicator"; }
101
101
  static get encapsulation() { return "shadow"; }
@@ -59,7 +59,7 @@ export class ProgressMonitor {
59
59
  }))));
60
60
  }
61
61
  render() {
62
- return (h(Host, { key: 'da5c58c7da486d6df7dae66ced77dacdf626de10', class: this.mode === "doughnut" ? "row" : "column" }, this.modeInitialized && this.groupLegend && this.mode === "bar" && this.renderLegend(), this.modeInitialized && h("slot", { key: '7255760c249e5e5a7855bfd5136d3ddc4f46d607' })));
62
+ return (h(Host, { key: '402d49cded01a03166bcf88d9a97116fe36d4586', class: this.mode === "doughnut" ? "row" : "column" }, this.modeInitialized && this.groupLegend && this.mode === "bar" && this.renderLegend(), this.modeInitialized && h("slot", { key: '137935e1ee1337a58d7b09412522e4ab0bdcdf4b' })));
63
63
  }
64
64
  static get is() { return "wm-progress-monitor"; }
65
65
  static get encapsulation() { return "shadow"; }
@@ -567,11 +567,11 @@ export class PrivCalendar {
567
567
  return (h("div", { class: "month-view" }, h("div", { "aria-labelledby": "popup-title-year", role: "grid", class: "months" }, h("div", { role: "row", class: "month-row" }, calendar_months.slice(0, 3).map((month, index) => this.renderMonth(month, index))), h("div", { role: "row", class: "month-row" }, calendar_months.slice(3, 6).map((month, index) => this.renderMonth(month, index + 3))), h("div", { role: "row", class: "month-row" }, calendar_months.slice(6, 9).map((month, index) => this.renderMonth(month, index + 6))), h("div", { role: "row", class: "month-row" }, calendar_months.slice(9).map((month, index) => this.renderMonth(month, index + 9))))));
568
568
  }
569
569
  render() {
570
- return (h(Host, { key: '2aafd5b792462429620aa1ff8e0682f3564cda98', onMouseOut: (ev) => {
570
+ return (h(Host, { key: '3787997230f2db89ba8e051b757d986a1b41f51d', onMouseOut: (ev) => {
571
571
  // @ts-ignore
572
572
  if (!this.el.parentElement.contains(ev.toElement))
573
573
  this.outOfCal.emit();
574
- }, role: "application", "aria-describedby": `application-${this.uid}` }, h("div", { key: '1d7766c4097d8c8c0bb072824037ed7ad1a1a133', class: `popup ${this.view}-view` }, this.renderHeader(), this.view === "day" ? this.renderDayView() : this.renderMonthView()), h("div", { key: 'b32936860f9cdb52b648d0a06d11273650c2e7ff', id: `application-${this.uid}`, class: "sr-only" }, this.calName, this.calInstructions)));
574
+ }, role: "application", "aria-describedby": `application-${this.uid}` }, h("div", { key: 'c82e165ff59c7e1fb5f955410c8db3d7c604c285', class: `popup ${this.view}-view` }, this.renderHeader(), this.view === "day" ? this.renderDayView() : this.renderMonthView()), h("div", { key: '2e5e1276ed683f6893bec62dd461cc250b61a7b8', id: `application-${this.uid}`, class: "sr-only" }, this.calName, this.calInstructions)));
575
575
  }
576
576
  static get is() { return "priv-calendar"; }
577
577
  static get originalStyleUrls() {
@@ -444,23 +444,23 @@ export class DateRange {
444
444
  }
445
445
  }
446
446
  render() {
447
- return (h(Host, { key: 'b109396fe2f21a64cd873e8b9440775cc519dd45', "aria-busy": "false" }, h("div", { key: '3ecaff1fcd454d766c1d50f100157630dcc28950', ref: (d) => (this.wrapperEl = d), class: "wrapper" }, h("div", { key: 'ac794c5db9db4fca716ca590ac15a2e616e8ebcc', class: `range-wrapper ${this.calWidth <= this.availSpace ? "cal" : ""}` }, h("div", { key: '246f8c3699298e040602bfd7c2de46512e5c8952', class: "label-wrapper", id: "start-label-wrapper" }, h("label", { key: 'ce137b04a07d3acee7506f94c5d6f64192488d3c', 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: '43af18445ddec4791e7538f3e7840c8db1cf5174', "aria-hidden": "true", class: "required" }, "*")))), h("div", { key: '67d809798eef2a00a3a1990b2f62cb61b08bee66', class: "label-wrapper", id: "end-label-wrapper" }, h("label", { key: 'f9b732848c704062663fc864f572c9038b09b184', id: "endlabel", htmlFor: "end-date-input", class: "label", title: `${this.labelEnd} (${this.dateFormat})` }, this.labelEnd, this.requiredField && (h("span", { key: '4528718ba765daa294d13a866076c7496d907418', "aria-hidden": "true", class: "required" }, "*")))), h("input", { key: '9b408000f1406925cfb03ac3c48012f6a6ece1b9', 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: '88e094d36a7cd7f1c89f566fffa80d7be3fba084', id: "hyphen" }, "\u00A0-\u00A0"), h("input", { key: '6a77eb81537f301f0feecb6e33ff8b5af29fdf52', 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: 'b39dd26bd7846e53bb4e7dee29f261e8349e5838', class: "toggle-wrapper", id: "toggle-wrapper" }, this.calWidth <= this.availSpace && (h("button", { key: '5afa94522fe03b78300b60714eb7a43357a15975', disabled: this.disabled, onClick: this.togglePopup.bind(this), "aria-describedby": "start-date-input end-date-input", "aria-label": intl.formatMessage({
447
+ return (h(Host, { key: '3ef7ed01702cd08cb88153b157c05870f357b83d', "aria-busy": "false" }, h("div", { key: 'a26ffe7e83d668c81c361a2baf5111d338074f4f', ref: (d) => (this.wrapperEl = d), class: "wrapper" }, h("div", { key: '5110a41705760e61460ae63222d33983f50cbbcc', class: `range-wrapper ${this.calWidth <= this.availSpace ? "cal" : ""}` }, h("div", { key: 'cd73ac4cd1156a08f8433cd5172c308e73f468e5', class: "label-wrapper", id: "start-label-wrapper" }, h("label", { key: '7fa4734f43aecd6a5cb73d93c1162fd5783ad2ac', 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: 'be4ad3de3b7b1fa8b1f20ae86502e661d5561f9c', "aria-hidden": "true", class: "required" }, "*")))), h("div", { key: '274e44b68f05bdc28ab25836ee5162876ba2dc37', class: "label-wrapper", id: "end-label-wrapper" }, h("label", { key: '439389958522c3245d79cf03ad3f8abf621adfdd', id: "endlabel", htmlFor: "end-date-input", class: "label", title: `${this.labelEnd} (${this.dateFormat})` }, this.labelEnd, this.requiredField && (h("span", { key: '20a1a75cfc195d9503d7f079d56435f3ac7a3ce2', "aria-hidden": "true", class: "required" }, "*")))), h("input", { key: 'c850bd46e4835f8878e2c7d39fe930e38917671c', 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: '4cb1a5498a6378b08915563e628f45367892fe4d', id: "hyphen" }, "\u00A0-\u00A0"), h("input", { key: 'a321356204252e7c57dff7b3b392f44d6d0b9cf3', 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: 'f6be34dda1f360b99a3708545a151c004b479635', class: "toggle-wrapper", id: "toggle-wrapper" }, this.calWidth <= this.availSpace && (h("button", { key: '5af514ad9b7fd30f5e83ebe83fd35890fdb53ee5', disabled: this.disabled, onClick: this.togglePopup.bind(this), "aria-describedby": "start-date-input end-date-input", "aria-label": intl.formatMessage({
448
448
  id: "date.selectRange",
449
449
  defaultMessage: "Select range",
450
450
  description: "Button text for screen readers.",
451
- }), ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { key: 'db42cd8e357bf257a346bfb5019d75007e162908', class: "svg-icon svg-date" }), h("span", { key: 'd793353d00d8a0397eafdc1d4173eb2cd2088ed7', class: "calendar", title: intl.formatMessage({
451
+ }), ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { key: 'ed9caf670fd667a9959363834c1accebfb0b82cb', class: "svg-icon svg-date" }), h("span", { key: '10bc0a7086071adad12d6cbe5c5c92a82260a619', class: "calendar", title: intl.formatMessage({
452
452
  id: "date.calendarView",
453
453
  defaultMessage: "Calendar View",
454
454
  description: "Calendar button",
455
- }) })))), this.renderCalendars()), h("div", { key: '16e75fa0fbb3b1ee089ff5d8049300c98da35958' }, h("div", { key: '19172dfe01394e18ac34b358a6968c70db7f2573', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: 'b22d6de99f843512efa277b56545ffaf5a8f897c', id: "month-title", class: "sr-only" }, intl.formatMessage({
455
+ }) })))), this.renderCalendars()), h("div", { key: '6bcacc7025eef282cacfdc9c8ba44c88d01dfb3c' }, h("div", { key: '45942b8f722908db886d39fe23c7ae2e9c39eca5', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: 'f3613e50ea33148b7027b2fbb9147f8eee2c98a5', id: "month-title", class: "sr-only" }, intl.formatMessage({
456
456
  id: "date.selectMonth",
457
457
  defaultMessage: "Activate to select a month.",
458
458
  description: "Calendar button",
459
- })), h("div", { key: 'a52c29ca8e72a426f234ab31507c55810272141e', id: "year-title", class: "sr-only" }, intl.formatMessage({
459
+ })), h("div", { key: 'ca798dd858d872a87852078781058699e3ebc5f6', id: "year-title", class: "sr-only" }, intl.formatMessage({
460
460
  id: "date.selectYear",
461
461
  defaultMessage: "Activate to select a year.",
462
462
  description: "Calendar button",
463
- }))), h("div", { key: '1764a2d8a8d496a7b35c57c0c74403e5e602ec23', id: "error", class: "error" }, this.errorMessage), h("div", { key: 'd53344bf16c637a22a3a29c52ddfbefb433edef3', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }))));
463
+ }))), h("div", { key: 'e77548bc61a4d4c9bf0b0985694aa298383caf3e', id: "error", class: "error" }, this.errorMessage), h("div", { key: 'ec8b80ac48c0c65cfa7be019dc242e8fa7901332', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }))));
464
464
  }
465
465
  static get is() { return "wm-date-range"; }
466
466
  static get encapsulation() { return "shadow"; }