@watermarkinsights/ripple 5.23.0-alpha.8 → 5.23.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 (284) hide show
  1. package/dist/cjs/{app-globals-100b4517.js → app-globals-1dce8469.js} +1 -1
  2. package/dist/cjs/{chartFunctions-8d17cbb8.js → chartFunctions-0df7cc7b.js} +0 -57
  3. package/dist/cjs/index-788526f5.js +2 -10
  4. package/dist/cjs/{interfaces-8419be91.js → interfaces-85d78ae9.js} +0 -22
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/priv-calendar.cjs.entry.js +2 -2
  7. package/dist/cjs/priv-chart-popover.cjs.entry.js +145 -0
  8. package/dist/cjs/priv-navigator-button.cjs.entry.js +1 -1
  9. package/dist/cjs/priv-navigator-item.cjs.entry.js +1 -1
  10. package/dist/cjs/priv-option-list.cjs.entry.js +1 -1
  11. package/dist/cjs/ripple.cjs.js +2 -2
  12. package/dist/cjs/wm-action-menu_2.cjs.entry.js +3 -3
  13. package/dist/cjs/wm-button.cjs.entry.js +2 -2
  14. package/dist/cjs/wm-chart.cjs.entry.js +3 -3
  15. package/dist/cjs/wm-date-range.cjs.entry.js +5 -5
  16. package/dist/cjs/wm-datepicker.cjs.entry.js +5 -5
  17. package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
  18. package/dist/cjs/wm-file.cjs.entry.js +1 -1
  19. package/dist/cjs/wm-flyout.cjs.entry.js +1 -1
  20. package/dist/cjs/wm-input.cjs.entry.js +1 -1
  21. package/dist/cjs/wm-line-chart.cjs.entry.js +3 -3
  22. package/dist/cjs/wm-modal-pss_3.cjs.entry.js +4 -4
  23. package/dist/cjs/wm-modal_3.cjs.entry.js +4 -4
  24. package/dist/cjs/wm-navigation_3.cjs.entry.js +4 -4
  25. package/dist/cjs/wm-navigator.cjs.entry.js +1 -1
  26. package/dist/cjs/wm-nested-select.cjs.entry.js +3 -3
  27. package/dist/cjs/wm-optgroup.cjs.entry.js +1 -1
  28. package/dist/cjs/wm-option_2.cjs.entry.js +5 -5
  29. package/dist/cjs/wm-pagination.cjs.entry.js +1 -1
  30. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +4 -4
  31. package/dist/cjs/wm-search.cjs.entry.js +2 -2
  32. package/dist/cjs/wm-snackbar.cjs.entry.js +2 -2
  33. package/dist/cjs/wm-tab-item_3.cjs.entry.js +6 -6
  34. package/dist/cjs/wm-tag-input.cjs.entry.js +2 -2
  35. package/dist/cjs/wm-textarea.cjs.entry.js +1 -1
  36. package/dist/cjs/wm-timepicker.cjs.entry.js +2 -2
  37. package/dist/cjs/wm-toggletip.cjs.entry.js +3 -3
  38. package/dist/cjs/wm-uploader.cjs.entry.js +2 -2
  39. package/dist/collection/collection-manifest.json +0 -3
  40. package/dist/collection/components/charts/chartFunctions.js +1 -53
  41. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +24 -24
  42. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +115 -193
  43. package/dist/collection/components/charts/wm-chart/wm-chart.js +2 -2
  44. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +2 -2
  45. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +2 -2
  46. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +1 -1
  47. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +2 -2
  48. package/dist/collection/components/datepickers/wm-date-range.js +5 -5
  49. package/dist/collection/components/datepickers/wm-datepicker.js +5 -5
  50. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +1 -1
  51. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +3 -3
  52. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +1 -1
  53. package/dist/collection/components/selects/wm-option/wm-option.js +1 -1
  54. package/dist/collection/components/selects/wm-select/wm-select.js +4 -4
  55. package/dist/collection/components/wm-action-menu/wm-action-menu.js +1 -1
  56. package/dist/collection/components/wm-button/wm-button.js +1 -1
  57. package/dist/collection/components/wm-file/wm-file.js +1 -1
  58. package/dist/collection/components/wm-file-list/wm-file-list.js +1 -1
  59. package/dist/collection/components/wm-flyout/wm-flyout.js +1 -1
  60. package/dist/collection/components/wm-input/wm-input.js +1 -1
  61. package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
  62. package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
  63. package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
  64. package/dist/collection/components/wm-modal/wm-modal.js +2 -2
  65. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +1 -1
  66. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +1 -1
  67. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +2 -2
  68. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
  69. package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
  70. package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
  71. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
  72. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
  73. package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
  74. package/dist/collection/components/wm-search/wm-search.js +2 -2
  75. package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
  76. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +2 -2
  77. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +3 -3
  78. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
  79. package/dist/collection/components/wm-tag-input/wm-tag-input.js +2 -2
  80. package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
  81. package/dist/collection/components/wm-timepicker/wm-timepicker.js +2 -2
  82. package/dist/collection/components/wm-toggletip/wm-toggletip.js +3 -3
  83. package/dist/collection/components/wm-uploader/wm-uploader.js +2 -2
  84. package/dist/collection/global/interfaces.js +0 -21
  85. package/dist/esm/{app-globals-15abb237.js → app-globals-414c059e.js} +1 -1
  86. package/dist/esm/{chartFunctions-93592f14.js → chartFunctions-27b48dc4.js} +2 -54
  87. package/dist/esm/{functions-c1d5f184.js → functions-2c6d93bb.js} +1 -1
  88. package/dist/esm/index-130e07bb.js +2 -10
  89. package/dist/esm/{interfaces-7e50d034.js → interfaces-cc5b177f.js} +1 -22
  90. package/dist/esm/{intl-8c69d10b.js → intl-23e93368.js} +1 -1
  91. package/dist/esm/loader.js +2 -2
  92. package/dist/esm/priv-calendar.entry.js +3 -3
  93. package/dist/esm/priv-chart-popover.entry.js +141 -0
  94. package/dist/esm/priv-navigator-button.entry.js +1 -1
  95. package/dist/esm/priv-navigator-item.entry.js +1 -1
  96. package/dist/esm/priv-option-list.entry.js +3 -3
  97. package/dist/esm/ripple.js +2 -2
  98. package/dist/esm/wm-action-menu_2.entry.js +4 -4
  99. package/dist/esm/wm-button.entry.js +3 -3
  100. package/dist/esm/wm-chart.entry.js +5 -5
  101. package/dist/esm/wm-date-range.entry.js +6 -6
  102. package/dist/esm/wm-datepicker.entry.js +6 -6
  103. package/dist/esm/wm-file-list.entry.js +1 -1
  104. package/dist/esm/wm-file.entry.js +2 -2
  105. package/dist/esm/wm-flyout.entry.js +3 -3
  106. package/dist/esm/wm-input.entry.js +3 -3
  107. package/dist/esm/wm-line-chart.entry.js +5 -5
  108. package/dist/esm/wm-modal-pss_3.entry.js +6 -6
  109. package/dist/esm/wm-modal_3.entry.js +6 -6
  110. package/dist/esm/wm-navigation_3.entry.js +6 -6
  111. package/dist/esm/wm-navigator.entry.js +2 -2
  112. package/dist/esm/wm-nested-select.entry.js +5 -5
  113. package/dist/esm/wm-optgroup.entry.js +2 -2
  114. package/dist/esm/wm-option_2.entry.js +7 -7
  115. package/dist/esm/wm-pagination.entry.js +3 -3
  116. package/dist/esm/wm-progress-indicator_3.entry.js +5 -5
  117. package/dist/esm/wm-search.entry.js +4 -4
  118. package/dist/esm/wm-snackbar.entry.js +4 -4
  119. package/dist/esm/wm-tab-item_3.entry.js +7 -7
  120. package/dist/esm/wm-tag-input.entry.js +4 -4
  121. package/dist/esm/wm-tag-option.entry.js +1 -1
  122. package/dist/esm/wm-textarea.entry.js +3 -3
  123. package/dist/esm/wm-timepicker.entry.js +3 -3
  124. package/dist/esm/wm-toggletip.entry.js +4 -4
  125. package/dist/esm/wm-uploader.entry.js +4 -4
  126. package/dist/esm-es5/app-globals-414c059e.js +1 -0
  127. package/dist/esm-es5/{chartFunctions-93592f14.js → chartFunctions-27b48dc4.js} +1 -1
  128. package/dist/esm-es5/{functions-c1d5f184.js → functions-2c6d93bb.js} +1 -1
  129. package/dist/esm-es5/index-130e07bb.js +1 -1
  130. package/dist/esm-es5/interfaces-cc5b177f.js +1 -0
  131. package/dist/esm-es5/{intl-8c69d10b.js → intl-23e93368.js} +1 -1
  132. package/dist/esm-es5/loader.js +1 -1
  133. package/dist/esm-es5/priv-calendar.entry.js +1 -1
  134. package/dist/esm-es5/priv-chart-popover.entry.js +1 -0
  135. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  136. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  137. package/dist/esm-es5/priv-option-list.entry.js +1 -1
  138. package/dist/esm-es5/ripple.js +1 -1
  139. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  140. package/dist/esm-es5/wm-button.entry.js +1 -1
  141. package/dist/esm-es5/wm-chart.entry.js +1 -1
  142. package/dist/esm-es5/wm-date-range.entry.js +1 -1
  143. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  144. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  145. package/dist/esm-es5/wm-file.entry.js +1 -1
  146. package/dist/esm-es5/wm-flyout.entry.js +1 -1
  147. package/dist/esm-es5/wm-input.entry.js +1 -1
  148. package/dist/esm-es5/wm-line-chart.entry.js +1 -1
  149. package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
  150. package/dist/esm-es5/wm-modal_3.entry.js +1 -1
  151. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  152. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  153. package/dist/esm-es5/wm-nested-select.entry.js +1 -1
  154. package/dist/esm-es5/wm-optgroup.entry.js +1 -1
  155. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  156. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  157. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  158. package/dist/esm-es5/wm-search.entry.js +1 -1
  159. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  160. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  161. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  162. package/dist/esm-es5/wm-tag-option.entry.js +1 -1
  163. package/dist/esm-es5/wm-textarea.entry.js +1 -1
  164. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  165. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  166. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  167. package/dist/ripple/{p-fc67950d.entry.js → p-05bf4861.entry.js} +1 -1
  168. package/dist/ripple/{p-3410da36.entry.js → p-0e87b27c.entry.js} +1 -1
  169. package/dist/{esm/priv-chart-popover-old.entry.js → ripple/p-12be705d.entry.js} +1 -141
  170. package/dist/ripple/{p-d9d16c9d.entry.js → p-1383232e.entry.js} +1 -1
  171. package/dist/ripple/{p-55cdf672.system.entry.js → p-13dbee96.system.entry.js} +1 -1
  172. package/dist/ripple/{p-ffa6f621.entry.js → p-167a1551.entry.js} +1 -1
  173. package/dist/ripple/{p-fe49bfb7.system.entry.js → p-1b1e8c74.system.entry.js} +1 -1
  174. package/dist/ripple/{p-724fbe77.entry.js → p-1da9ec6b.entry.js} +1 -1
  175. package/dist/ripple/{p-c04fad73.entry.js → p-20909c85.entry.js} +1 -1
  176. package/dist/ripple/p-219fffa2.system.js +1 -0
  177. package/dist/ripple/{p-3b2e7166.entry.js → p-22b8a7ad.entry.js} +1 -1
  178. package/dist/ripple/{p-0efafbd8.system.entry.js → p-26025eaf.system.entry.js} +1 -1
  179. package/dist/ripple/p-2732bddd.js +1 -0
  180. package/dist/ripple/{p-0e418fe4.system.entry.js → p-27f0bfbe.system.entry.js} +1 -1
  181. package/dist/ripple/{p-b37fbb7e.entry.js → p-29a35cf1.entry.js} +1 -1
  182. package/dist/ripple/{p-086da1c5.system.entry.js → p-2c3720f8.system.entry.js} +1 -1
  183. package/dist/ripple/{p-cd5aa832.system.entry.js → p-2c8a08ba.system.entry.js} +1 -1
  184. package/dist/ripple/{p-defdef0c.system.entry.js → p-31f9bf67.system.entry.js} +1 -1
  185. package/dist/ripple/{p-f91c86d2.system.entry.js → p-36ec7139.system.entry.js} +1 -1
  186. package/dist/ripple/{p-25043b32.entry.js → p-3f729889.entry.js} +1 -1
  187. package/dist/ripple/{p-da88bdfa.system.entry.js → p-40ffe09f.system.entry.js} +1 -1
  188. package/dist/ripple/p-42fa7a77.system.js +1 -0
  189. package/dist/ripple/{p-9bcdb6ae.entry.js → p-433c4b14.entry.js} +1 -1
  190. package/dist/ripple/{p-90f0283c.system.entry.js → p-4c879bfe.system.entry.js} +1 -1
  191. package/dist/ripple/{p-4b813987.entry.js → p-4dd7bc41.entry.js} +1 -1
  192. package/dist/ripple/{p-49b75a61.entry.js → p-52ae2103.entry.js} +1 -1
  193. package/dist/ripple/{p-2d5bd606.system.entry.js → p-551a76e7.system.entry.js} +1 -1
  194. package/dist/ripple/{p-fce3ce5c.system.entry.js → p-596f5afb.system.entry.js} +1 -1
  195. package/dist/ripple/{p-c5030fa3.system.entry.js → p-61a922fe.system.entry.js} +1 -1
  196. package/dist/ripple/{p-f503991a.system.js → p-61dcb4e2.system.js} +1 -1
  197. package/dist/ripple/{p-aecb621d.entry.js → p-6b425696.entry.js} +1 -1
  198. package/dist/ripple/{p-262d5bd5.system.entry.js → p-6f0b18d3.system.entry.js} +1 -1
  199. package/dist/ripple/{p-48950aef.entry.js → p-6fcf8596.entry.js} +1 -1
  200. package/dist/ripple/{p-d4051c50.system.entry.js → p-71eb58ff.system.entry.js} +1 -1
  201. package/dist/ripple/{p-1641d37f.entry.js → p-774aeaec.entry.js} +1 -1
  202. package/dist/ripple/{p-24ce5997.entry.js → p-79830298.entry.js} +1 -1
  203. package/dist/ripple/{p-0886099f.system.entry.js → p-7a1357c7.system.entry.js} +1 -1
  204. package/dist/ripple/p-7a99655b.system.js +1 -0
  205. package/dist/ripple/{p-367df770.entry.js → p-80d9ecad.entry.js} +1 -1
  206. package/dist/ripple/{p-275386c1.system.entry.js → p-8cb6d4e3.system.entry.js} +1 -1
  207. package/dist/ripple/{p-bfe3c687.system.entry.js → p-8d1f1807.system.entry.js} +1 -1
  208. package/dist/{cjs/priv-chart-popover_2.cjs.entry.js → ripple/p-93b93c0d.entry.js} +1 -175
  209. package/dist/ripple/{p-7f4a409e.entry.js → p-9584643c.entry.js} +1 -1
  210. package/dist/ripple/{p-7c103a48.system.entry.js → p-96e50cae.system.entry.js} +1 -1
  211. package/dist/ripple/{p-08ba2a77.system.entry.js → p-988f6e9e.system.entry.js} +1 -1
  212. package/dist/ripple/{p-c97b06b5.system.entry.js → p-9b2a0556.system.entry.js} +1 -1
  213. package/dist/ripple/{p-b1afda53.entry.js → p-9d5d923b.entry.js} +1 -1
  214. package/dist/ripple/{p-3de0e2b0.entry.js → p-a38ccbb2.entry.js} +1 -1
  215. package/dist/ripple/{p-2d042b40.system.entry.js → p-a962d037.system.entry.js} +1 -1
  216. package/dist/ripple/{p-b589b0da.entry.js → p-a9acc631.entry.js} +1 -1
  217. package/dist/ripple/{p-74b5624a.system.entry.js → p-ab78ff23.system.entry.js} +1 -1
  218. package/dist/ripple/{p-4934d53f.system.entry.js → p-b279c27c.system.entry.js} +1 -1
  219. package/dist/ripple/{p-a289d92b.system.entry.js → p-b5242adb.system.entry.js} +1 -1
  220. package/dist/ripple/{p-94842057.entry.js → p-b64b9fd2.entry.js} +1 -1
  221. package/dist/ripple/{p-8a4d79dc.system.entry.js → p-b7ff7fc6.system.entry.js} +1 -1
  222. package/dist/ripple/{p-a402c6bb.system.js → p-bac7a453.system.js} +1 -1
  223. package/dist/ripple/{p-f2b09954.system.entry.js → p-bd32c897.system.entry.js} +1 -1
  224. package/dist/ripple/p-c2027a82.system.js +1 -0
  225. package/dist/ripple/{p-6434eacf.entry.js → p-c35dbb2a.entry.js} +1 -1
  226. package/dist/ripple/{p-d002e65f.entry.js → p-cb063eaa.entry.js} +1 -1
  227. package/dist/ripple/{p-ff25bdd6.entry.js → p-cce8848a.entry.js} +1 -1
  228. package/dist/ripple/{p-35dfeacb.system.entry.js → p-d69863d6.system.entry.js} +1 -1
  229. package/dist/ripple/{p-e70f1e74.entry.js → p-d80355c4.entry.js} +1 -1
  230. package/dist/ripple/{p-c3ba7789.entry.js → p-d87e1091.entry.js} +1 -1
  231. package/dist/ripple/{p-eee663f4.system.entry.js → p-dbdfa041.system.entry.js} +1 -1
  232. package/dist/ripple/{p-f6844f41.entry.js → p-e2bff587.entry.js} +1 -1
  233. package/dist/ripple/{p-0356e736.system.entry.js → p-e6400084.system.entry.js} +1 -1
  234. package/dist/ripple/{p-f031ced7.js → p-ea1034db.js} +1 -1
  235. package/dist/ripple/{p-af9e6028.system.entry.js → p-ed5fed71.system.entry.js} +1 -1
  236. package/dist/ripple/{p-86f5e918.entry.js → p-effe3051.entry.js} +1 -1
  237. package/dist/ripple/{p-17f3fa47.system.entry.js → p-f0ee9638.system.entry.js} +1 -1
  238. package/dist/ripple/{p-23f08f5a.entry.js → p-f371e94c.entry.js} +1 -1
  239. package/dist/ripple/{p-6a2fb1a1.js → p-f446c841.js} +1 -1
  240. package/dist/ripple/p-f8858a30.js +1 -0
  241. package/dist/ripple/p-f8917d58.js +1 -0
  242. package/dist/ripple/{p-46c77ecb.system.entry.js → p-f99af0ab.system.entry.js} +1 -1
  243. package/dist/ripple/{p-3436e819.entry.js → p-fda74191.entry.js} +1 -1
  244. package/dist/ripple/ripple.esm.js +1 -1
  245. package/dist/ripple/ripple.js +1 -1
  246. package/dist/types/components/charts/chartFunctions.d.ts +1 -10
  247. package/dist/types/components/charts/priv-chart-popover/priv-chart-popover.d.ts +11 -20
  248. package/dist/types/components/charts/wm-chart/wm-chart.d.ts +1 -1
  249. package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +1 -1
  250. package/dist/types/components.d.ts +8 -126
  251. package/dist/types/global/interfaces.d.ts +0 -48
  252. package/package.json +2 -2
  253. package/dist/cjs/priv-chart-popover-old.cjs.entry.js +0 -145
  254. package/dist/cjs/wm-chart-bar.cjs.entry.js +0 -336
  255. package/dist/collection/components/charts/priv-chart-popover-old/priv-chart-popover-old.css +0 -963
  256. package/dist/collection/components/charts/priv-chart-popover-old/priv-chart-popover-old.js +0 -262
  257. package/dist/collection/components/charts/wm-chart-bar/wm-chart-bar.css +0 -1078
  258. package/dist/collection/components/charts/wm-chart-bar/wm-chart-bar.js +0 -474
  259. package/dist/collection/components/charts/wm-chart-legend/wm-chart-legend.css +0 -903
  260. package/dist/collection/components/charts/wm-chart-legend/wm-chart-legend.js +0 -155
  261. package/dist/collection/dev/chart-bar.js +0 -137
  262. package/dist/esm/priv-chart-popover_2.entry.js +0 -170
  263. package/dist/esm/wm-chart-bar.entry.js +0 -332
  264. package/dist/esm-es5/app-globals-15abb237.js +0 -1
  265. package/dist/esm-es5/interfaces-7e50d034.js +0 -1
  266. package/dist/esm-es5/priv-chart-popover-old.entry.js +0 -1
  267. package/dist/esm-es5/priv-chart-popover_2.entry.js +0 -1
  268. package/dist/esm-es5/wm-chart-bar.entry.js +0 -1
  269. package/dist/ripple/p-09a08b00.system.js +0 -1
  270. package/dist/ripple/p-1baeb967.entry.js +0 -1
  271. package/dist/ripple/p-24598e3e.entry.js +0 -1
  272. package/dist/ripple/p-5e3d8652.js +0 -1
  273. package/dist/ripple/p-625d4010.entry.js +0 -1
  274. package/dist/ripple/p-75816848.system.js +0 -1
  275. package/dist/ripple/p-8ac14bb1.system.js +0 -1
  276. package/dist/ripple/p-986d1792.entry.js +0 -1
  277. package/dist/ripple/p-c2e70f44.system.js +0 -1
  278. package/dist/ripple/p-cda66d45.js +0 -1
  279. package/dist/ripple/p-e4e3fe1d.system.entry.js +0 -1
  280. package/dist/ripple/p-f7742db8.system.entry.js +0 -1
  281. package/dist/ripple/p-fe625125.js +0 -1
  282. package/dist/types/components/charts/priv-chart-popover-old/priv-chart-popover-old.d.ts +0 -26
  283. package/dist/types/components/charts/wm-chart-bar/wm-chart-bar.d.ts +0 -54
  284. package/dist/types/components/charts/wm-chart-legend/wm-chart-legend.d.ts +0 -19
@@ -1,262 +0,0 @@
1
- import { h, Host } from "@stencil/core";
2
- import { debounce, findAllScrollableParents, intl } from "../../../global/functions";
3
- export class ChartPopoverOld {
4
- constructor() {
5
- this.chartEl = this.el.parentElement.getRootNode().host;
6
- this.popoverWidth = 168;
7
- this.popoverClicked = false;
8
- this.debouncedClosePopover = debounce(async () => {
9
- this.open = false;
10
- }, 10);
11
- this.open = false;
12
- this.sliceDetails = undefined;
13
- }
14
- get eventToEmit() {
15
- return this.chartEl.nodeName === "WM-CHART"
16
- ? this.wmChartPopoverButtonTriggered
17
- : this.wmProgressIndicatorButtonTriggered;
18
- }
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
- // the element within wm-chart is determined by the other listener and saved as var popoverClicked for use here
23
- // capture = false in @Listen ensures order of execution
24
- 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
- }
30
- }
31
- }
32
- handleClick(ev) {
33
- if (this.open) {
34
- // if the click is on the popover,
35
- // set popoverClicked to true. It will be used by the other listener above
36
- this.popoverClicked = ev.target === this.el || this.el.contains(ev.target);
37
- }
38
- }
39
- componentDidLoad() {
40
- // set up event listeners for scrolling
41
- // to close popover on page scroll
42
- const scrollableParents = findAllScrollableParents(this.chartEl);
43
- scrollableParents.forEach((scrollableParent) => {
44
- if (scrollableParent === document.documentElement) {
45
- // For document element, listen to window scroll event
46
- window.addEventListener("scroll", () => {
47
- this.debouncedClosePopover();
48
- });
49
- }
50
- else {
51
- // For regular elements, listen to their scroll event
52
- scrollableParent.addEventListener("scroll", () => {
53
- this.debouncedClosePopover();
54
- });
55
- }
56
- });
57
- }
58
- handleOpenChange() {
59
- this.intChartPopoverOpenChanged.emit(this.open);
60
- }
61
- handleDetailsChange() {
62
- if (this.sliceDetails && this.sliceDetails.coords) {
63
- this.positionPopover();
64
- }
65
- }
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);
80
- }
81
- }
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);
104
- }
105
- }
106
- 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
110
- }
111
- else {
112
- this.el.style.left = this.sliceDetails.coords.x - this.popoverWidth + "px"; // opens on the left
113
- }
114
- }
115
- 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: '451fc4292dd8d53e32a995d78f11bd7e9ada80cb' }, !!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",
122
- // @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: 'a173018e185daf622fefe1a0787ec3e4ed3d5c77', ref: (el) => (this.liveRegion = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" }, this.open && this.renderLiveRegion())));
124
- }
125
- static get is() { return "priv-chart-popover-old"; }
126
- static get originalStyleUrls() {
127
- return {
128
- "$": ["priv-chart-popover-old.scss"]
129
- };
130
- }
131
- static get styleUrls() {
132
- return {
133
- "$": ["priv-chart-popover-old.css"]
134
- };
135
- }
136
- static get properties() {
137
- return {
138
- "open": {
139
- "type": "boolean",
140
- "mutable": true,
141
- "complexType": {
142
- "original": "boolean",
143
- "resolved": "boolean",
144
- "references": {}
145
- },
146
- "required": false,
147
- "optional": false,
148
- "docs": {
149
- "tags": [],
150
- "text": ""
151
- },
152
- "attribute": "open",
153
- "reflect": false,
154
- "defaultValue": "false"
155
- },
156
- "sliceDetails": {
157
- "type": "unknown",
158
- "mutable": false,
159
- "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
- }
169
- },
170
- "required": false,
171
- "optional": true,
172
- "docs": {
173
- "tags": [],
174
- "text": ""
175
- }
176
- }
177
- };
178
- }
179
- static get events() {
180
- return [{
181
- "method": "wmChartPopoverButtonTriggered",
182
- "name": "wmChartPopoverButtonTriggered",
183
- "bubbles": true,
184
- "cancelable": true,
185
- "composed": true,
186
- "docs": {
187
- "tags": [],
188
- "text": ""
189
- },
190
- "complexType": {
191
- "original": "HTMLWmChartSliceElement",
192
- "resolved": "HTMLWmChartSliceElement",
193
- "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"
217
- }
218
- }
219
- }
220
- }, {
221
- "method": "intChartPopoverOpenChanged",
222
- "name": "intChartPopoverOpenChanged",
223
- "bubbles": true,
224
- "cancelable": true,
225
- "composed": true,
226
- "docs": {
227
- "tags": [],
228
- "text": ""
229
- },
230
- "complexType": {
231
- "original": "boolean",
232
- "resolved": "boolean",
233
- "references": {}
234
- }
235
- }];
236
- }
237
- static get elementRef() { return "el"; }
238
- static get watchers() {
239
- return [{
240
- "propName": "open",
241
- "methodName": "handleOpenChange"
242
- }, {
243
- "propName": "sliceDetails",
244
- "methodName": "handleDetailsChange"
245
- }];
246
- }
247
- static get listeners() {
248
- return [{
249
- "name": "click",
250
- "method": "handleClickOnDocument",
251
- "target": "document",
252
- "capture": false,
253
- "passive": false
254
- }, {
255
- "name": "click",
256
- "method": "handleClick",
257
- "target": undefined,
258
- "capture": false,
259
- "passive": false
260
- }];
261
- }
262
- }