@watermarkinsights/ripple 5.10.0-9 → 5.11.0-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 (436) hide show
  1. package/dist/{esm/global-af0a58b2.js → cjs/app-globals-ae02016c.js} +11 -2
  2. package/dist/cjs/{chartFunctions-995023b1.js → chartFunctions-a3a08880.js} +13 -7
  3. package/dist/cjs/{functions-e24249e6.js → functions-5ac8a62f.js} +104 -7
  4. package/dist/cjs/index-788526f5.js +1859 -0
  5. package/dist/cjs/{intl-5aeba788.js → intl-07aaf53c.js} +16 -15
  6. package/dist/cjs/loader.cjs.js +5 -4
  7. package/dist/cjs/priv-calendar.cjs.entry.js +7 -6
  8. package/dist/cjs/priv-chart-popover.cjs.entry.js +7 -6
  9. package/dist/cjs/priv-navigator-button.cjs.entry.js +5 -4
  10. package/dist/cjs/priv-navigator-item.cjs.entry.js +5 -4
  11. package/dist/cjs/priv-option-list.cjs.entry.js +6 -5
  12. package/dist/cjs/ripple.cjs.js +13 -12
  13. package/dist/cjs/wm-action-menu_2.cjs.entry.js +10 -8
  14. package/dist/cjs/wm-button.cjs.entry.js +6 -5
  15. package/dist/cjs/wm-chart-slice.cjs.entry.js +1 -1
  16. package/dist/cjs/wm-chart.cjs.entry.js +8 -7
  17. package/dist/cjs/wm-date-range.cjs.entry.js +10 -9
  18. package/dist/cjs/wm-datepicker.cjs.entry.js +10 -9
  19. package/dist/cjs/wm-file-list.cjs.entry.js +5 -4
  20. package/dist/cjs/wm-file.cjs.entry.js +14 -10
  21. package/dist/cjs/wm-input.cjs.entry.js +7 -6
  22. package/dist/cjs/wm-line-chart.cjs.entry.js +16 -15
  23. package/dist/cjs/wm-modal-pss_3.cjs.entry.js +16 -13
  24. package/dist/cjs/wm-modal_3.cjs.entry.js +16 -13
  25. package/dist/cjs/wm-navigation_3.cjs.entry.js +16 -13
  26. package/dist/cjs/wm-navigator.cjs.entry.js +5 -4
  27. package/dist/cjs/wm-nested-select.cjs.entry.js +9 -8
  28. package/dist/cjs/wm-optgroup.cjs.entry.js +6 -5
  29. package/dist/cjs/wm-option_2.cjs.entry.js +12 -10
  30. package/dist/cjs/wm-pagination.cjs.entry.js +6 -5
  31. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +17 -10
  32. package/dist/cjs/wm-search.cjs.entry.js +8 -7
  33. package/dist/cjs/wm-snackbar.cjs.entry.js +8 -7
  34. package/dist/cjs/wm-tab-item_3.cjs.entry.js +14 -11
  35. package/dist/cjs/wm-tag-input.cjs.entry.js +9 -8
  36. package/dist/cjs/wm-tag-option.cjs.entry.js +2 -2
  37. package/dist/cjs/wm-textarea.cjs.entry.js +7 -6
  38. package/dist/cjs/wm-timepicker.cjs.entry.js +7 -6
  39. package/dist/cjs/wm-toggletip.cjs.entry.js +7 -6
  40. package/dist/cjs/wm-uploader.cjs.entry.js +113 -19
  41. package/dist/cjs/wm-wrapper.cjs.entry.js +1 -1
  42. package/dist/collection/collection-manifest.json +2 -2
  43. package/dist/collection/components/charts/chartFunctions.js +11 -5
  44. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +193 -1
  45. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +2 -2
  46. package/dist/collection/components/charts/wm-chart/wm-chart.css +196 -5
  47. package/dist/collection/components/charts/wm-chart/wm-chart.js +1 -1
  48. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.css +193 -1
  49. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +9 -9
  50. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.css +196 -5
  51. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +7 -2
  52. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.css +193 -1
  53. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +1 -1
  54. package/dist/collection/components/datepickers/datepicker.css +193 -1
  55. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +193 -1
  56. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +2 -2
  57. package/dist/collection/components/datepickers/wm-date-range.js +17 -13
  58. package/dist/collection/components/datepickers/wm-datepicker.js +17 -13
  59. package/dist/collection/components/selects/priv-option-list/priv-option-list.css +193 -1
  60. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +7 -5
  61. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +193 -1
  62. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +3 -3
  63. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.css +193 -1
  64. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +1 -1
  65. package/dist/collection/components/selects/wm-option/wm-option.css +193 -1
  66. package/dist/collection/components/selects/wm-option/wm-option.js +1 -1
  67. package/dist/collection/components/selects/wm-select/wm-select.css +193 -1
  68. package/dist/collection/components/selects/wm-select/wm-select.js +2 -2
  69. package/dist/collection/components/wm-action-menu/wm-action-menu.css +193 -1
  70. package/dist/collection/components/wm-action-menu/wm-action-menu.js +1 -1
  71. package/dist/collection/components/wm-button/wm-button.css +194 -2
  72. package/dist/collection/components/wm-button/wm-button.js +1 -1
  73. package/dist/collection/components/wm-file/wm-file.css +202 -7
  74. package/dist/collection/components/wm-file/wm-file.js +11 -8
  75. package/dist/collection/components/wm-file-list/wm-file-list.css +194 -1
  76. package/dist/collection/components/wm-file-list/wm-file-list.js +1 -1
  77. package/dist/collection/components/wm-input/wm-input.css +193 -1
  78. package/dist/collection/components/wm-input/wm-input.js +1 -1
  79. package/dist/collection/components/wm-menuitem/wm-menuitem.css +193 -1
  80. package/dist/collection/components/wm-menuitem/wm-menuitem.js +1 -1
  81. package/dist/collection/components/wm-modal/wm-modal-footer.css +193 -1
  82. package/dist/collection/components/wm-modal/wm-modal-footer.js +1 -1
  83. package/dist/collection/components/wm-modal/wm-modal-header.css +193 -1
  84. package/dist/collection/components/wm-modal/wm-modal-header.js +1 -1
  85. package/dist/collection/components/wm-modal/wm-modal.css +193 -1
  86. package/dist/collection/components/wm-modal/wm-modal.js +2 -2
  87. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.css +193 -1
  88. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +1 -1
  89. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.css +193 -1
  90. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +1 -1
  91. package/dist/collection/components/wm-modal-pss/wm-modal-pss.css +193 -1
  92. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +2 -2
  93. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.css +193 -1
  94. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +1 -1
  95. package/dist/collection/components/wm-navigation/wm-navigation-item.css +193 -1
  96. package/dist/collection/components/wm-navigation/wm-navigation-item.js +1 -1
  97. package/dist/collection/components/wm-navigation/wm-navigation.css +193 -1
  98. package/dist/collection/components/wm-navigation/wm-navigation.js +2 -2
  99. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +193 -1
  100. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +1 -1
  101. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.css +193 -1
  102. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +1 -1
  103. package/dist/collection/components/wm-navigator/wm-navigator.css +193 -1
  104. package/dist/collection/components/wm-pagination/wm-pagination.css +193 -1
  105. package/dist/collection/components/wm-pagination/wm-pagination.js +1 -1
  106. package/dist/collection/components/wm-search/wm-search.css +193 -1
  107. package/dist/collection/components/wm-search/wm-search.js +5 -4
  108. package/dist/collection/components/wm-snackbar/wm-snackbar.css +193 -1
  109. package/dist/collection/components/wm-snackbar/wm-snackbar.js +2 -2
  110. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +193 -1
  111. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +1 -1
  112. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.css +193 -1
  113. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +1 -1
  114. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.css +193 -1
  115. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +1 -1
  116. package/dist/collection/components/wm-tag-input/wm-tag-input.css +193 -1
  117. package/dist/collection/components/wm-tag-input/wm-tag-input.js +3 -3
  118. package/dist/collection/components/wm-textarea/wm-textarea.css +193 -1
  119. package/dist/collection/components/wm-textarea/wm-textarea.js +1 -1
  120. package/dist/collection/components/wm-timepicker/wm-timepicker.css +193 -1
  121. package/dist/collection/components/wm-timepicker/wm-timepicker.js +11 -8
  122. package/dist/collection/components/wm-toggletip/wm-toggletip.css +193 -1
  123. package/dist/collection/components/wm-toggletip/wm-toggletip.js +2 -2
  124. package/dist/collection/components/wm-uploader/wm-uploader.css +373 -19
  125. package/dist/collection/components/wm-uploader/wm-uploader.js +168 -14
  126. package/dist/collection/global/global.js +1 -1
  127. package/dist/collection/global/intl.js +15 -14
  128. package/dist/{cjs/global-58d83ea2.js → esm/app-globals-17b41ab8.js} +8 -3
  129. package/dist/esm/{chartFunctions-34f19953.js → chartFunctions-21d5a3d3.js} +13 -7
  130. package/dist/esm/{functions-8800c690.js → functions-f39e6177.js} +105 -8
  131. package/dist/esm/index-130e07bb.js +1828 -0
  132. package/dist/esm/{intl-b110ca8d.js → intl-a0ebf99e.js} +16 -15
  133. package/dist/esm/loader.js +6 -5
  134. package/dist/esm/priv-calendar.entry.js +7 -6
  135. package/dist/esm/priv-chart-popover.entry.js +7 -6
  136. package/dist/esm/priv-navigator-button.entry.js +5 -4
  137. package/dist/esm/priv-navigator-item.entry.js +5 -4
  138. package/dist/esm/priv-option-list.entry.js +6 -5
  139. package/dist/esm/ripple.js +14 -13
  140. package/dist/esm/wm-action-menu_2.entry.js +10 -8
  141. package/dist/esm/wm-button.entry.js +6 -5
  142. package/dist/esm/wm-chart-slice.entry.js +1 -1
  143. package/dist/esm/wm-chart.entry.js +8 -7
  144. package/dist/esm/wm-date-range.entry.js +10 -9
  145. package/dist/esm/wm-datepicker.entry.js +10 -9
  146. package/dist/esm/wm-file-list.entry.js +5 -4
  147. package/dist/esm/wm-file.entry.js +14 -10
  148. package/dist/esm/wm-input.entry.js +7 -6
  149. package/dist/esm/wm-line-chart.entry.js +16 -15
  150. package/dist/esm/wm-modal-pss_3.entry.js +16 -13
  151. package/dist/esm/wm-modal_3.entry.js +16 -13
  152. package/dist/esm/wm-navigation_3.entry.js +16 -13
  153. package/dist/esm/wm-navigator.entry.js +5 -4
  154. package/dist/esm/wm-nested-select.entry.js +9 -8
  155. package/dist/esm/wm-optgroup.entry.js +6 -5
  156. package/dist/esm/wm-option_2.entry.js +12 -10
  157. package/dist/esm/wm-pagination.entry.js +6 -5
  158. package/dist/esm/wm-progress-indicator_3.entry.js +17 -10
  159. package/dist/esm/wm-search.entry.js +8 -7
  160. package/dist/esm/wm-snackbar.entry.js +8 -7
  161. package/dist/esm/wm-tab-item_3.entry.js +14 -11
  162. package/dist/esm/wm-tag-input.entry.js +9 -8
  163. package/dist/esm/wm-tag-option.entry.js +2 -2
  164. package/dist/esm/wm-textarea.entry.js +7 -6
  165. package/dist/esm/wm-timepicker.entry.js +7 -6
  166. package/dist/esm/wm-toggletip.entry.js +7 -6
  167. package/dist/esm/wm-uploader.entry.js +113 -19
  168. package/dist/esm/wm-wrapper.entry.js +1 -1
  169. package/dist/esm-es5/app-globals-17b41ab8.js +1 -0
  170. package/dist/esm-es5/chartFunctions-21d5a3d3.js +1 -0
  171. package/dist/esm-es5/functions-f39e6177.js +1 -0
  172. package/dist/esm-es5/index-130e07bb.js +1 -0
  173. package/dist/esm-es5/{intl-b110ca8d.js → intl-a0ebf99e.js} +1 -1
  174. package/dist/esm-es5/loader.js +1 -1
  175. package/dist/esm-es5/priv-calendar.entry.js +1 -1
  176. package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
  177. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  178. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  179. package/dist/esm-es5/priv-option-list.entry.js +1 -1
  180. package/dist/esm-es5/ripple.js +1 -1
  181. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  182. package/dist/esm-es5/wm-button.entry.js +1 -1
  183. package/dist/esm-es5/wm-chart-slice.entry.js +1 -1
  184. package/dist/esm-es5/wm-chart.entry.js +1 -1
  185. package/dist/esm-es5/wm-date-range.entry.js +1 -1
  186. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  187. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  188. package/dist/esm-es5/wm-file.entry.js +1 -1
  189. package/dist/esm-es5/wm-input.entry.js +1 -1
  190. package/dist/esm-es5/wm-line-chart.entry.js +1 -1
  191. package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
  192. package/dist/esm-es5/wm-modal_3.entry.js +1 -1
  193. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  194. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  195. package/dist/esm-es5/wm-nested-select.entry.js +1 -1
  196. package/dist/esm-es5/wm-optgroup.entry.js +1 -1
  197. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  198. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  199. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  200. package/dist/esm-es5/wm-search.entry.js +1 -1
  201. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  202. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  203. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  204. package/dist/esm-es5/wm-tag-option.entry.js +1 -1
  205. package/dist/esm-es5/wm-textarea.entry.js +1 -1
  206. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  207. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  208. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  209. package/dist/esm-es5/wm-wrapper.entry.js +1 -1
  210. package/dist/loader/cdn.js +1 -2
  211. package/dist/loader/index.cjs.js +1 -2
  212. package/dist/loader/index.d.ts +3 -0
  213. package/dist/loader/index.es2017.js +1 -2
  214. package/dist/loader/index.js +1 -2
  215. package/dist/ripple/p-0335da82.entry.js +1 -0
  216. package/dist/ripple/p-035bb5e7.entry.js +1 -0
  217. package/dist/ripple/{p-65d26233.system.entry.js → p-043901ab.system.entry.js} +1 -1
  218. package/dist/ripple/p-044cbd11.system.entry.js +1 -0
  219. package/dist/ripple/p-069ec9d0.system.entry.js +1 -0
  220. package/dist/ripple/p-07087139.system.entry.js +1 -0
  221. package/dist/ripple/p-0bffed17.entry.js +1 -0
  222. package/dist/ripple/p-0d77c2f2.system.entry.js +1 -0
  223. package/dist/ripple/p-0e1d1d0e.entry.js +1 -0
  224. package/dist/ripple/{p-48e09589.entry.js → p-13b1d775.entry.js} +1 -1
  225. package/dist/ripple/p-1c9e0cae.system.entry.js +1 -0
  226. package/dist/ripple/p-2686e38f.entry.js +1 -0
  227. package/dist/ripple/p-26c0304e.entry.js +1 -0
  228. package/dist/ripple/p-2b07e7f1.system.entry.js +1 -0
  229. package/dist/ripple/p-2e1f1f9e.entry.js +1 -0
  230. package/dist/ripple/p-2f07262e.entry.js +1 -0
  231. package/dist/ripple/p-3405e16e.entry.js +1 -0
  232. package/dist/ripple/p-342e6ba1.system.entry.js +1 -0
  233. package/dist/ripple/p-36fa8451.entry.js +1 -0
  234. package/dist/ripple/p-37b044c7.system.js +1 -0
  235. package/dist/ripple/p-3f486eed.system.js +1 -0
  236. package/dist/ripple/p-44b7ac3f.system.entry.js +1 -0
  237. package/dist/ripple/p-46979d51.entry.js +1 -0
  238. package/dist/ripple/p-4b0989d7.entry.js +1 -0
  239. package/dist/ripple/p-4ffed2a0.system.entry.js +1 -0
  240. package/dist/ripple/p-540dc07f.entry.js +1 -0
  241. package/dist/ripple/p-585d603f.entry.js +1 -0
  242. package/dist/ripple/p-5a05046a.system.entry.js +1 -0
  243. package/dist/ripple/p-5c2fc698.entry.js +1 -0
  244. package/dist/ripple/p-5f247e4a.entry.js +1 -0
  245. package/dist/ripple/p-65d2c6b7.entry.js +1 -0
  246. package/dist/ripple/p-6b119eec.system.entry.js +1 -0
  247. package/dist/ripple/p-6c1553b1.system.entry.js +1 -0
  248. package/dist/ripple/p-6c716f1c.system.entry.js +1 -0
  249. package/dist/ripple/p-72935ed4.entry.js +1 -0
  250. package/dist/ripple/{p-b976c84b.entry.js → p-76d248e6.entry.js} +1 -1
  251. package/dist/ripple/p-7718d572.system.entry.js +1 -0
  252. package/dist/ripple/p-79b5df24.entry.js +1 -0
  253. package/dist/ripple/p-7dec8712.system.entry.js +1 -0
  254. package/dist/ripple/{p-32bf3f5b.system.entry.js → p-823d7b4e.system.entry.js} +1 -1
  255. package/dist/ripple/p-8270cd9e.system.entry.js +1 -0
  256. package/dist/ripple/p-89a2db02.js +1 -0
  257. package/dist/ripple/p-8acb1dc0.entry.js +1 -0
  258. package/dist/ripple/p-8b983e94.system.entry.js +1 -0
  259. package/dist/ripple/p-8f1a78e1.system.js +1 -0
  260. package/dist/ripple/p-9160d382.system.entry.js +1 -0
  261. package/dist/ripple/p-91fc6acf.system.entry.js +1 -0
  262. package/dist/ripple/{p-02dc1562.js → p-9708c995.js} +1 -1
  263. package/dist/ripple/p-97c524e5.system.entry.js +1 -0
  264. package/dist/ripple/p-a7b1398e.system.js +1 -0
  265. package/dist/ripple/p-a89a0ce4.system.entry.js +1 -0
  266. package/dist/ripple/p-a96fd05a.entry.js +1 -0
  267. package/dist/ripple/p-aaa18797.entry.js +1 -0
  268. package/dist/ripple/p-aab342f1.entry.js +1 -0
  269. package/dist/ripple/p-aae83494.system.entry.js +1 -0
  270. package/dist/ripple/p-ade89f97.system.entry.js +1 -0
  271. package/dist/ripple/p-b02dfe01.system.entry.js +1 -0
  272. package/dist/ripple/p-b8912fba.system.entry.js +1 -0
  273. package/dist/ripple/{p-ee31c799.system.js → p-bb25b9af.system.js} +1 -1
  274. package/dist/ripple/p-c22b9ac6.entry.js +1 -0
  275. package/dist/ripple/{p-4743176d.system.entry.js → p-c34c9cbb.system.entry.js} +1 -1
  276. package/dist/ripple/{p-88ebddd7.entry.js → p-cd0cc88d.entry.js} +1 -1
  277. package/dist/ripple/p-cef8a45b.system.js +2 -0
  278. package/dist/ripple/p-d19f494d.system.entry.js +1 -0
  279. package/dist/ripple/p-d3ffe48c.system.entry.js +1 -0
  280. package/dist/ripple/p-d49cd886.entry.js +1 -0
  281. package/dist/ripple/p-d7ce58a3.entry.js +1 -0
  282. package/dist/ripple/p-d9da0502.js +2 -0
  283. package/dist/ripple/p-e3083b58.entry.js +1 -0
  284. package/dist/ripple/p-e8023928.system.entry.js +1 -0
  285. package/dist/ripple/p-eb832c89.entry.js +1 -0
  286. package/dist/ripple/p-ecd38ef7.entry.js +1 -0
  287. package/dist/ripple/p-ee307bf6.entry.js +1 -0
  288. package/dist/ripple/p-f1abfaa1.entry.js +1 -0
  289. package/dist/ripple/p-f4067dfb.js +1 -0
  290. package/dist/ripple/p-f41ab9ea.js +1 -0
  291. package/dist/ripple/p-f4ed6ee8.system.entry.js +1 -0
  292. package/dist/ripple/p-f9222794.system.entry.js +1 -0
  293. package/dist/ripple/p-fd862f4e.system.entry.js +1 -0
  294. package/dist/ripple/ripple.css +1 -1
  295. package/dist/ripple/ripple.esm.js +1 -1
  296. package/dist/ripple/ripple.js +1 -1
  297. package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +1 -1
  298. package/dist/types/components/wm-file/wm-file.d.ts +1 -0
  299. package/dist/types/components/wm-uploader/wm-uploader.d.ts +19 -3
  300. package/dist/types/components.d.ts +4 -0
  301. package/dist/types/global/intl.d.ts +3 -2
  302. package/dist/types/stencil-public-runtime.d.ts +3 -10
  303. package/package.json +5 -5
  304. package/dist/cjs/index-e86c28b6.js +0 -2649
  305. package/dist/collection/components/charts/chartFunctions.spec.js +0 -16
  306. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.e2e.js +0 -81
  307. package/dist/collection/components/charts/screenshots.e2e.js +0 -96
  308. package/dist/collection/components/charts/wm-chart/wm-chart.e2e.js +0 -213
  309. package/dist/collection/components/charts/wm-chart/wm-chart.spec.js +0 -37
  310. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.e2e.js +0 -176
  311. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.spec.js +0 -163
  312. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.e2e.js +0 -69
  313. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.spec.js +0 -79
  314. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.spec.js +0 -89
  315. package/dist/collection/components/datepickers/wm-date-range.e2e.js +0 -443
  316. package/dist/collection/components/datepickers/wm-date-range.spec.js +0 -22
  317. package/dist/collection/components/datepickers/wm-datepicker.e2e.js +0 -382
  318. package/dist/collection/components/datepickers/wm-datepicker.spec.js +0 -21
  319. package/dist/collection/components/selects/wm-option/wm-option.e2e.js +0 -22
  320. package/dist/collection/components/selects/wm-option/wm-option.spec.js +0 -63
  321. package/dist/collection/components/selects/wm-select/wm-select.e2e.js +0 -521
  322. package/dist/collection/components/selects/wm-select/wm-select.spec.js +0 -271
  323. package/dist/collection/components/wm-action-menu/wm-action-menu.e2e.js +0 -200
  324. package/dist/collection/components/wm-action-menu/wm-action-menu.spec.js +0 -48
  325. package/dist/collection/components/wm-button/wm-button.e2e.js +0 -55
  326. package/dist/collection/components/wm-button/wm-button.spec.js +0 -74
  327. package/dist/collection/components/wm-file/wm-file.spec.js +0 -194
  328. package/dist/collection/components/wm-file-list/wm-file-list.spec.js +0 -69
  329. package/dist/collection/components/wm-input/wm-input.e2e.js +0 -32
  330. package/dist/collection/components/wm-input/wm-input.spec.js +0 -173
  331. package/dist/collection/components/wm-menuitem/wm-menuitem.e2e.js +0 -23
  332. package/dist/collection/components/wm-menuitem/wm-menuitem.spec.js +0 -54
  333. package/dist/collection/components/wm-modal/wm-modal-footer.spec.js +0 -11
  334. package/dist/collection/components/wm-modal/wm-modal-header.spec.js +0 -8
  335. package/dist/collection/components/wm-modal/wm-modal.e2e.js +0 -104
  336. package/dist/collection/components/wm-modal/wm-modal.spec.js +0 -30
  337. package/dist/collection/components/wm-navigation/wm-navigation.e2e.js +0 -102
  338. package/dist/collection/components/wm-navigation/wm-navigation.spec.js +0 -91
  339. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.e2e.js +0 -50
  340. package/dist/collection/components/wm-navigator/wm-navigator.e2e.js +0 -209
  341. package/dist/collection/components/wm-navigator/wm-navigator.spec.js +0 -177
  342. package/dist/collection/components/wm-pagination/wm-pagination.e2e.js +0 -312
  343. package/dist/collection/components/wm-search/wm-search.e2e.js +0 -76
  344. package/dist/collection/components/wm-search/wm-search.spec.js +0 -71
  345. package/dist/collection/components/wm-snackbar/wm-snackbar.e2e.js +0 -112
  346. package/dist/collection/components/wm-snackbar/wm-snackbar.spec.js +0 -9
  347. package/dist/collection/components/wm-tabs/wm-tabs.e2e.js +0 -91
  348. package/dist/collection/components/wm-tabs/wm-tabs.spec.js +0 -12
  349. package/dist/collection/components/wm-tag-input/wm-tag-input.e2e.js +0 -204
  350. package/dist/collection/components/wm-tag-input/wm-tag-input.spec.js +0 -195
  351. package/dist/collection/components/wm-textarea/wm-textarea.e2e.js +0 -41
  352. package/dist/collection/components/wm-textarea/wm-textarea.spec.js +0 -79
  353. package/dist/collection/components/wm-timepicker/wm-timepicker.e2e.js +0 -163
  354. package/dist/collection/components/wm-timepicker/wm-timepicker.spec.js +0 -147
  355. package/dist/collection/components/wm-toggletip/wm-toggletip.e2e.js +0 -69
  356. package/dist/collection/components/wm-toggletip/wm-toggletip.spec.js +0 -21
  357. package/dist/collection/components/wm-uploader/wm-uploader.e2e.js +0 -70
  358. package/dist/collection/components/wm-uploader/wm-uploader.spec.js +0 -234
  359. package/dist/collection/global/functions.spec.js +0 -126
  360. package/dist/collection/lang/lang.spec.js +0 -20
  361. package/dist/esm/index-558b5a82.js +0 -2618
  362. package/dist/esm-es5/chartFunctions-34f19953.js +0 -1
  363. package/dist/esm-es5/functions-8800c690.js +0 -1
  364. package/dist/esm-es5/global-af0a58b2.js +0 -1
  365. package/dist/esm-es5/index-558b5a82.js +0 -1
  366. package/dist/ripple/p-0195213e.system.entry.js +0 -1
  367. package/dist/ripple/p-04c6d049.entry.js +0 -1
  368. package/dist/ripple/p-0aded1ad.system.entry.js +0 -1
  369. package/dist/ripple/p-10cfa4f1.system.entry.js +0 -1
  370. package/dist/ripple/p-1465e576.system.entry.js +0 -1
  371. package/dist/ripple/p-1bd2cb0c.system.entry.js +0 -1
  372. package/dist/ripple/p-214ae691.entry.js +0 -1
  373. package/dist/ripple/p-28efe40a.system.js +0 -1
  374. package/dist/ripple/p-2b783e04.entry.js +0 -1
  375. package/dist/ripple/p-2f49268a.entry.js +0 -1
  376. package/dist/ripple/p-303593cb.js +0 -1
  377. package/dist/ripple/p-32867e2e.entry.js +0 -1
  378. package/dist/ripple/p-3a9a98ff.entry.js +0 -1
  379. package/dist/ripple/p-3e854aad.system.entry.js +0 -1
  380. package/dist/ripple/p-40ce8220.system.entry.js +0 -1
  381. package/dist/ripple/p-414032d3.entry.js +0 -1
  382. package/dist/ripple/p-41476faa.system.entry.js +0 -1
  383. package/dist/ripple/p-4378b6b9.system.js +0 -1
  384. package/dist/ripple/p-43f68b56.system.entry.js +0 -1
  385. package/dist/ripple/p-4de1777b.system.entry.js +0 -1
  386. package/dist/ripple/p-4fc47d67.entry.js +0 -1
  387. package/dist/ripple/p-50010933.entry.js +0 -1
  388. package/dist/ripple/p-50c2bb00.entry.js +0 -1
  389. package/dist/ripple/p-568c595f.js +0 -2
  390. package/dist/ripple/p-56cdd9af.system.entry.js +0 -1
  391. package/dist/ripple/p-5943c8b1.js +0 -1
  392. package/dist/ripple/p-5a216138.system.entry.js +0 -1
  393. package/dist/ripple/p-600fdedd.system.entry.js +0 -1
  394. package/dist/ripple/p-6277db44.entry.js +0 -1
  395. package/dist/ripple/p-63c226a0.system.entry.js +0 -1
  396. package/dist/ripple/p-64461414.entry.js +0 -1
  397. package/dist/ripple/p-6a47a797.entry.js +0 -1
  398. package/dist/ripple/p-6f18ff34.entry.js +0 -1
  399. package/dist/ripple/p-73e4e23a.entry.js +0 -1
  400. package/dist/ripple/p-78176eec.system.entry.js +0 -1
  401. package/dist/ripple/p-7ea2523a.system.entry.js +0 -1
  402. package/dist/ripple/p-98cc1aae.system.entry.js +0 -1
  403. package/dist/ripple/p-a118292d.entry.js +0 -1
  404. package/dist/ripple/p-a7e55fb6.entry.js +0 -1
  405. package/dist/ripple/p-a9bdc8ed.entry.js +0 -1
  406. package/dist/ripple/p-ab254e2b.entry.js +0 -1
  407. package/dist/ripple/p-ab8d78cc.system.js +0 -2
  408. package/dist/ripple/p-b2c2245e.entry.js +0 -1
  409. package/dist/ripple/p-b75b811f.entry.js +0 -1
  410. package/dist/ripple/p-b77706d6.entry.js +0 -1
  411. package/dist/ripple/p-b80a3bf5.entry.js +0 -1
  412. package/dist/ripple/p-bca4b4b6.system.entry.js +0 -1
  413. package/dist/ripple/p-be22192b.system.entry.js +0 -1
  414. package/dist/ripple/p-c354e78a.system.entry.js +0 -1
  415. package/dist/ripple/p-ce5532cc.entry.js +0 -1
  416. package/dist/ripple/p-cf2a23e8.system.entry.js +0 -1
  417. package/dist/ripple/p-cf817b9c.system.js +0 -1
  418. package/dist/ripple/p-d3eb9335.entry.js +0 -1
  419. package/dist/ripple/p-d412aa02.system.entry.js +0 -1
  420. package/dist/ripple/p-d6da12dc.system.entry.js +0 -1
  421. package/dist/ripple/p-deb96326.entry.js +0 -1
  422. package/dist/ripple/p-dee79f8c.system.entry.js +0 -1
  423. package/dist/ripple/p-df253834.system.entry.js +0 -1
  424. package/dist/ripple/p-e14233fd.entry.js +0 -1
  425. package/dist/ripple/p-e77ac9d0.entry.js +0 -1
  426. package/dist/ripple/p-e963cbc7.system.entry.js +0 -1
  427. package/dist/ripple/p-ebe2b432.system.entry.js +0 -1
  428. package/dist/ripple/p-eca78c2b.js +0 -1
  429. package/dist/ripple/p-ecd3ac6e.system.entry.js +0 -1
  430. package/dist/ripple/p-edd87140.system.js +0 -1
  431. package/dist/ripple/p-f14d1a31.system.entry.js +0 -1
  432. package/dist/ripple/p-f394a24f.entry.js +0 -1
  433. package/dist/ripple/p-f42e1ea9.entry.js +0 -1
  434. package/dist/ripple/p-faad130f.entry.js +0 -1
  435. package/dist/ripple/p-fb3d7911.system.entry.js +0 -1
  436. package/dist/ripple/p-ff0dba4e.system.entry.js +0 -1
@@ -1,11 +1,14 @@
1
1
  import { h, Host, forceUpdate, } from "@stencil/core";
2
2
  import { uploaderMessages } from "../../global/intl";
3
+ import { intl } from "../../global/functions";
3
4
  export class Uploader {
4
5
  constructor() {
5
6
  this.batchCount = 0; // used to calculate the aggregate upload progress
6
7
  this.prevUploadCount = 0; // comparison to determine whether or not to announce updated count
7
8
  this.fileIdToDelete = "";
8
9
  this.label = undefined;
10
+ this.uploaderType = "select";
11
+ this.dropArea = "component";
9
12
  this.buttonText = undefined;
10
13
  this.icon = undefined;
11
14
  this.fileTypes = "pdf txt log xml doc docx xls xlsx ppt pptx gif jpg jpeg png csv";
@@ -54,11 +57,75 @@ export class Uploader {
54
57
  setTimeout(() => this.announce(this.errorMessage, this.politeLiveRegionEl), 100);
55
58
  }
56
59
  }
57
- componentWillLoad() {
58
- if (!this.buttonText) {
59
- console.error("wm-uploader: button-text is a required property");
60
+ ///////// Drop Event Handling ////////
61
+ handleDocumentDragEnter() {
62
+ if (this.uploaderType == "drop") {
63
+ this.beginDropListening();
60
64
  }
61
65
  }
66
+ handleDocumentMouseOut() {
67
+ if (this.uploaderType == "drop" && this.dropAreaEl) {
68
+ this.endDropListening();
69
+ }
70
+ }
71
+ handleDocumentDragLeave(ev) {
72
+ if (this.uploaderType == "drop") {
73
+ // Do not end drop listening for events that bubble up from children of this uploader
74
+ if (ev.target.closest("wm-uploader") == this.el) {
75
+ this.endDropListening();
76
+ }
77
+ }
78
+ }
79
+ handleDocumentVisibilityChange() {
80
+ // If a file is dropped outside of the drop area, if the browser opens the file in new tab, a dragleave event is not fired. This handles that case
81
+ if (this.uploaderType == "drop") {
82
+ this.endDropListening();
83
+ }
84
+ }
85
+ handleDragEnter(ev) {
86
+ if (this.uploaderType == "drop") {
87
+ ev.preventDefault();
88
+ this.el.classList.add("dragging");
89
+ }
90
+ }
91
+ handleDragOver(ev) {
92
+ if (this.uploaderType == "drop") {
93
+ ev.preventDefault();
94
+ }
95
+ }
96
+ handleDragLeave(ev) {
97
+ if (this.uploaderType == "drop") {
98
+ ev.preventDefault();
99
+ this.endDropListening();
100
+ this.el.classList.remove("dragging");
101
+ }
102
+ }
103
+ handleDrop(ev) {
104
+ if (this.uploaderType == "drop") {
105
+ ev.preventDefault();
106
+ this.el.classList.remove("dragging");
107
+ this.endDropListening();
108
+ if (ev.dataTransfer.files) {
109
+ const files = Array.from(ev.dataTransfer.files);
110
+ if (files.length > 0) {
111
+ this.batchCount = files.length;
112
+ this.wmUploaderFilesSelected.emit(files);
113
+ }
114
+ }
115
+ }
116
+ }
117
+ beginDropListening() {
118
+ if (this.dropArea == "page") {
119
+ this.dropOverlayEl.showPopover();
120
+ }
121
+ this.dropAreaEl.classList.add("listening");
122
+ }
123
+ endDropListening() {
124
+ if (this.dropArea == "page") {
125
+ this.dropOverlayEl.hidePopover();
126
+ }
127
+ this.dropAreaEl.classList.remove("listening");
128
+ }
62
129
  componentDidLoad() {
63
130
  if (document.body.classList.contains("wmcl-user-is-tabbing")) {
64
131
  this.toggleTabbingOn();
@@ -155,15 +222,14 @@ export class Uploader {
155
222
  }
156
223
  }
157
224
  }
158
- handleUploadButtonChange(ev) {
159
- const inputEl = ev.target;
160
- if (inputEl.files) {
161
- const files = Array.from(inputEl.files);
225
+ handleUploadButtonChange() {
226
+ if (this.uploadButtonEl.files) {
227
+ const files = Array.from(this.uploadButtonEl.files);
162
228
  if (files.length > 0) {
163
229
  this.batchCount = files.length;
164
230
  this.wmUploaderFilesSelected.emit(files);
165
231
  }
166
- ev.target.value = ""; // reset to ensure that onChange is triggered when the same file is selected a second time
232
+ this.uploadButtonEl.value = ""; // reset to ensure that onChange is triggered when the same file is selected a second time
167
233
  }
168
234
  }
169
235
  announce(message, liveRegionEl) {
@@ -188,15 +254,40 @@ export class Uploader {
188
254
  return (h("span", { class: "mdi", "aria-hidden": "true" }, String.fromCodePoint(parseInt(`0x${this.icon}`))));
189
255
  }
190
256
  }
191
- renderUploadButton(classes) {
257
+ renderUploadButton() {
192
258
  let accessibleLabel = `${this.label && this.label !== this.buttonText ? `${this.label}, ` : ""}${this.buttonText}`;
193
- return (h("div", { class: "info-wrapper" }, h("input", { name: "input", id: "input", ref: (el) => (this.uploadButtonEl = el), class: "sr-only", "aria-label": accessibleLabel, "aria-required": this.requiredField ? "true" : null, "aria-describedby": `${this.errorMessage ? "error " : ""}file-count max-size accepted-types`, type: "file", multiple: true, onClick: (ev) => this.handleUploadButtonClick(ev), onChange: (ev) => this.handleUploadButtonChange(ev) }), h("label", { htmlFor: "input", class: `wm-button ${classes}` }, this.icon && this.renderIcon(), this.buttonText)));
259
+ return (h("div", { class: "button-wrapper" }, h("input", { name: "input", id: "input", ref: (el) => (this.uploadButtonEl = el), class: "sr-only", "aria-label": accessibleLabel, "aria-required": this.requiredField ? "true" : null, "aria-describedby": `${this.errorMessage ? "error " : ""}file-count max-size accepted-types`, type: "file", multiple: true, onClick: (ev) => this.handleUploadButtonClick(ev), onChange: () => this.handleUploadButtonChange() }), h("label", { htmlFor: "input", class: `wm-button -secondary ${this.isDisabled ? "disabled" : ""}` }, this.icon && this.renderIcon(), this.buttonText), this.uploaderType == "select" && this.renderFileCount()));
260
+ }
261
+ renderDropButton() {
262
+ let accessibleLabel = `${this.label && this.label !== this.buttonText ? `${this.label}, ` : ""}${uploaderMessages.dropInstructions}`;
263
+ return (h("div", { class: "button-wrapper -drop" }, h("input", { name: "input", id: "input", ref: (el) => (this.uploadButtonEl = el), class: "sr-only", "aria-label": accessibleLabel, "aria-required": this.requiredField ? "true" : null, "aria-describedby": `${this.errorMessage ? "error " : ""}file-count max-size accepted-types`, type: "file", multiple: true, onClick: (ev) => this.handleUploadButtonClick(ev), onChange: () => this.handleUploadButtonChange() }), h("label", { htmlFor: "input", class: `${this.isDisabled ? "disabled" : ""}` }, h("div", { class: "prompt" }, h("span", { class: "upload-arrow" }), h("span", { id: "drop-text", class: `wm-button -textonly ${this.isDisabled ? "disabled" : ""}` }, h("span", { class: "default-text" }, uploaderMessages.dropInstructions), h("span", { class: "dragging-text" }, uploaderMessages.dropFile))), this.renderFileCount())));
194
264
  }
195
265
  renderHeader() {
196
- return (h("div", { class: "header" }, h("div", { class: "notif-wrapper" }, this.renderUploadButton(`-secondary ${this.isDisabled ? "disabled" : ""}`), this.renderRequirements()), h("div", { id: "accepted-types", class: "accepted-types" }, uploaderMessages.getAcceptedFileTypes(this.validTypes, this.fileTypes.split(" ").length)), this.notif && h("div", { class: "notif" }, this.notif), h("div", { id: "error" }, this.errorMessage)));
266
+ return (h("div", { class: "header" }, h("div", { class: "notif-wrapper" }, this.uploaderType == "select" ? this.renderUploadButton() : this.renderDropButton(), this.renderRequirements()), this.notif && h("div", { class: "notif" }, this.notif), h("div", { id: "error" }, this.errorMessage)));
267
+ }
268
+ renderFileCount() {
269
+ if (this.maxFiles) {
270
+ return h("div", { id: "file-count" }, uploaderMessages.getFileCount(this.uploadedFileEls.length, this.maxFiles));
271
+ }
197
272
  }
198
273
  renderRequirements() {
199
- return (h("div", { class: "requirements" }, this.maxFiles && (h("span", { id: "file-count" }, uploaderMessages.getFileCount(this.uploadedFileEls.length, this.maxFiles))), this.maxSize && h("span", { id: "max-size" }, uploaderMessages.getMaxSize(this.maxSize))));
274
+ const maxSizeMessage = intl.formatMessage({
275
+ id: "uploader.maxSize",
276
+ defaultMessage: "<b>Maximum File Size:</b> {maxSize}",
277
+ description: "An indicator of the maximum file size the uploader allows",
278
+ }, {
279
+ maxSize: this.maxSize,
280
+ b: (chunks) => h("span", { style: { "font-weight": "600" } }, chunks),
281
+ });
282
+ const acceptedTypesMessage = intl.formatMessage({
283
+ id: "uploader.acceptedFileTypes",
284
+ defaultMessage: "<b>Accepted File {amount, plural, =1 {Type} other {Types}}:</b> {fileTypes}",
285
+ }, {
286
+ fileTypes: this.validTypes,
287
+ amount: this.fileTypes.split(" ").length,
288
+ b: (chunks) => h("span", { style: { "font-weight": "600" } }, chunks),
289
+ });
290
+ return (h("details", { class: "requirements" }, h("summary", null, uploaderMessages.fileRequirements), h("div", { class: "requirements-wrapper" }, h("div", { id: "accepted-types", class: "accepted-types" }, acceptedTypesMessage), this.maxSize && h("span", { id: "max-size" }, maxSizeMessage))));
200
291
  }
201
292
  renderListContainer() {
202
293
  const hasNewlyUploadedFiles = this.fileEls.filter((file) => file.progress && file.progress === 100).length;
@@ -205,10 +296,13 @@ export class Uploader {
205
296
  renderLabel() {
206
297
  return (h("div", { class: `wrapper ${this.errorMessage ? "invalid" : ""}` }, h("div", { id: "label", class: `label` }, this.label, this.requiredField && (h("span", { class: "required", "aria-hidden": "true" }, "*")))));
207
298
  }
299
+ renderDropArea() {
300
+ return (h("div", { class: `drop-area -${this.dropArea}`, ref: (el) => (this.dropAreaEl = el), onDragEnter: (ev) => this.handleDragEnter(ev), onDragOver: (ev) => this.handleDragOver(ev), onDragLeave: (ev) => this.handleDragLeave(ev), onDrop: (ev) => this.handleDrop(ev) }, this.dropArea == "page" && (h("div", { ref: (el) => (this.dropOverlayEl = el), class: "drop-overlay", popover: "manual" }, h("span", { class: "upload-arrow" }), h("span", null, "Drop to Upload")))));
301
+ }
208
302
  render() {
209
- return (h(Host, null, this.label && this.renderLabel(), this.renderHeader(), this.renderListContainer(), h("div", { ref: (el) => (this.assertiveLiveRegionEl = el), class: "live-region sr-only", "aria-live": "assertive" // since it's directly linked to the action the user took, it should be read in priority. With polite, some messages get dismissed in favor of the page title
303
+ return (h(Host, { key: '2fceb6af60332a9740298457c2dd6b3176f4d138', class: `-${this.dropArea}` }, this.uploaderType == "drop" && this.renderDropArea(), this.label && this.renderLabel(), this.renderHeader(), this.renderListContainer(), h("div", { key: '70f4e9a42c17a2583d9f5effad1c9ef7561ffe15', ref: (el) => (this.assertiveLiveRegionEl = el), class: "live-region sr-only", "aria-live": "assertive" // since it's directly linked to the action the user took, it should be read in priority. With polite, some messages get dismissed in favor of the page title
210
304
  ,
211
- "aria-atomic": "true" }), h("div", { ref: (el) => (this.politeLiveRegionEl = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" })));
305
+ "aria-atomic": "true" }), h("div", { key: '3be25509a8136b8d09162c48bcd8c7766e17639a', ref: (el) => (this.politeLiveRegionEl = el), class: "live-region sr-only", "aria-live": "polite", "aria-atomic": "true" })));
212
306
  }
213
307
  static get is() { return "wm-uploader"; }
214
308
  static get encapsulation() { return "shadow"; }
@@ -242,6 +336,42 @@ export class Uploader {
242
336
  "attribute": "label",
243
337
  "reflect": false
244
338
  },
339
+ "uploaderType": {
340
+ "type": "string",
341
+ "mutable": false,
342
+ "complexType": {
343
+ "original": "\"select\" | \"drop\"",
344
+ "resolved": "\"drop\" | \"select\"",
345
+ "references": {}
346
+ },
347
+ "required": false,
348
+ "optional": false,
349
+ "docs": {
350
+ "tags": [],
351
+ "text": ""
352
+ },
353
+ "attribute": "uploader-type",
354
+ "reflect": false,
355
+ "defaultValue": "\"select\""
356
+ },
357
+ "dropArea": {
358
+ "type": "string",
359
+ "mutable": false,
360
+ "complexType": {
361
+ "original": "\"component\" | \"page\"",
362
+ "resolved": "\"component\" | \"page\"",
363
+ "references": {}
364
+ },
365
+ "required": false,
366
+ "optional": false,
367
+ "docs": {
368
+ "tags": [],
369
+ "text": ""
370
+ },
371
+ "attribute": "drop-area",
372
+ "reflect": false,
373
+ "defaultValue": "\"component\""
374
+ },
245
375
  "buttonText": {
246
376
  "type": "string",
247
377
  "mutable": false,
@@ -444,6 +574,30 @@ export class Uploader {
444
574
  "target": undefined,
445
575
  "capture": false,
446
576
  "passive": false
577
+ }, {
578
+ "name": "dragenter",
579
+ "method": "handleDocumentDragEnter",
580
+ "target": "document",
581
+ "capture": false,
582
+ "passive": true
583
+ }, {
584
+ "name": "mouseout",
585
+ "method": "handleDocumentMouseOut",
586
+ "target": "document",
587
+ "capture": false,
588
+ "passive": true
589
+ }, {
590
+ "name": "dragleave",
591
+ "method": "handleDocumentDragLeave",
592
+ "target": "document",
593
+ "capture": false,
594
+ "passive": true
595
+ }, {
596
+ "name": "visibilitychange",
597
+ "method": "handleDocumentVisibilityChange",
598
+ "target": "document",
599
+ "capture": false,
600
+ "passive": false
447
601
  }];
448
602
  }
449
603
  }
@@ -4,7 +4,7 @@ import { version } from "../../package.json";
4
4
  // test envs return 0 for plugin.length
5
5
  // do not print version number there as it causes issues
6
6
  if (window.navigator.plugins.length > 0) {
7
- console.log("Ripple component library", version);
7
+ console.log("%cRipple component library %c%s", "color: #575195; font-weight: bold", "font-weight: bold", version);
8
8
  }
9
9
  // Dispatching events to track whether user is navigating with keyboard or mouse
10
10
  // no longer necessary for keyboard focus indicators (thanks to :focus-visible)
@@ -97,16 +97,24 @@ export const uploaderMessages = {
97
97
  defaultMessage: "The file must be more than 0 bytes",
98
98
  description: "Error message when user attempts to upload a file of no size",
99
99
  }),
100
+ dropInstructions: intl.formatMessage({
101
+ id: "uploader.dropInstructions",
102
+ defaultMessage: "Browse or Drag Files Here",
103
+ description: "Instructions for how to choose files to upload",
104
+ }),
105
+ dropFile: intl.formatMessage({
106
+ id: "uploader.dropFile",
107
+ defaultMessage: "Drop to Upload",
108
+ description: "Prompt for use to drop the file they're currently dragging",
109
+ }),
110
+ fileRequirements: intl.formatMessage({
111
+ id: "uploader.fileRequirements",
112
+ defaultMessage: "File Requirements",
113
+ description: "Expandable button revealing the uploader's file requirements",
114
+ }),
100
115
  // -------------------------------------------------------------------------- //
101
116
  // Functions //
102
117
  // -------------------------------------------------------------------------- //
103
- getAcceptedFileTypes: (validTypes, amount) => intl.formatMessage({
104
- id: "uploader.acceptedFileTypes",
105
- defaultMessage: "Accepted file {amount, plural, =1 {type} other {types}}: {fileTypes}",
106
- }, {
107
- fileTypes: validTypes,
108
- amount: amount,
109
- }),
110
118
  getFilesAdded: (numFiles) => intl.formatMessage({
111
119
  id: "uploader.filesAdded",
112
120
  defaultMessage: "{numFiles, plural, one {1 file added} other {# files added}}",
@@ -128,13 +136,6 @@ export const uploaderMessages = {
128
136
  id: "uploader.invalidFileType",
129
137
  defaultMessage: "The file type is invalid. Accepted types: {validTypes}",
130
138
  }, { validTypes }),
131
- getMaxSize: (maxSize) => intl.formatMessage({
132
- id: "uploader.maxSize",
133
- defaultMessage: "Maximum file size {maxSize}",
134
- description: "An indicator of the maximum file size the uploader allows",
135
- }, {
136
- maxSize: maxSize,
137
- }),
138
139
  getUploadProgress: (percentage) => intl.formatMessage({
139
140
  id: "uploader.uploadProgress",
140
141
  defaultMessage: "Upload progress: {percentage}%",
@@ -1,12 +1,12 @@
1
- 'use strict';
1
+ import './index-130e07bb.js';
2
2
 
3
- const version = "5.10.0-9";
3
+ const version = "5.11.0-0";
4
4
 
5
5
  // PRINT RIPPLE VERSION IN CONSOLE
6
6
  // test envs return 0 for plugin.length
7
7
  // do not print version number there as it causes issues
8
8
  if (window.navigator.plugins.length > 0) {
9
- console.log("Ripple component library", version);
9
+ console.log("%cRipple component library %c%s", "color: #575195; font-weight: bold", "font-weight: bold", version);
10
10
  }
11
11
  // Dispatching events to track whether user is navigating with keyboard or mouse
12
12
  // no longer necessary for keyboard focus indicators (thanks to :focus-visible)
@@ -83,3 +83,8 @@ tooltipStyles.textContent = `
83
83
  document.head.appendChild(tooltipStyles);
84
84
  tooltipContainer.appendChild(tooltipEl);
85
85
  document.querySelector("body").appendChild(tooltipContainer);
86
+ const globalFn = () => { };
87
+
88
+ const globalScripts = globalFn;
89
+
90
+ export { globalScripts as g };
@@ -1,5 +1,5 @@
1
- import { h } from './index-558b5a82.js';
2
- import { i as intl, c as checkForActiveElInShadow, e as safeMultiplyFloat, f as getPosition } from './functions-8800c690.js';
1
+ import { h } from './index-130e07bb.js';
2
+ import { i as intl, c as checkForActiveElInShadow, e as safeMultiplyFloat, f as getPosition } from './functions-f39e6177.js';
3
3
 
4
4
  const colors = {
5
5
  salmon: "#ff5f4e",
@@ -50,7 +50,7 @@ const allChartsDetails = {
50
50
  },
51
51
  bar2: {
52
52
  size: 400,
53
- colors: [colors.gray, colors.periwinkle, colors.midnight, colors.cyan, colors.salmon],
53
+ colors: [colors.gray, colors.lavender, colors.periwinkle, colors.midnight, colors.cyan, colors.salmon],
54
54
  padding: 0,
55
55
  category: "stackedBar",
56
56
  },
@@ -69,7 +69,7 @@ const allChartsDetails = {
69
69
  bar5: {
70
70
  size: 400,
71
71
  colors: [
72
- colors.gray,
72
+ colors.gray, // this is only used if prop notStartedColor is set
73
73
  colors.lavender,
74
74
  colors.midnight,
75
75
  "#0089e4",
@@ -305,9 +305,15 @@ async function getDetails(chartType) {
305
305
  const children = Array.from(this.el.children);
306
306
  this.total = children.reduce((total, slice) => (total += parseInt(slice.getAttribute("amount") || "0")), 0);
307
307
  let chartColors = [...allChartsDetails[chartType].colors];
308
- if (this.chartType === "bar2" && this.el.children.length <= 4) {
309
- // remove midnight
310
- chartColors.splice(2, 1);
308
+ if (this.chartType === "bar2") {
309
+ if (children.length <= 5) {
310
+ // remove lavender
311
+ chartColors.splice(1, 1);
312
+ }
313
+ if (children.length <= 4) {
314
+ // remove midnight
315
+ chartColors.splice(2, 1);
316
+ }
311
317
  }
312
318
  // Set colors when bar3 has only 2 slices
313
319
  if (chartType === "bar3" && children.length === 2) {
@@ -3088,7 +3088,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3088
3088
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3089
3089
  PERFORMANCE OF THIS SOFTWARE.
3090
3090
  ***************************************************************************** */
3091
- /* global Reflect, Promise, SuppressedError, Symbol */
3091
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
3092
3092
 
3093
3093
  var extendStatics = function(d, b) {
3094
3094
  extendStatics = Object.setPrototypeOf ||
@@ -3344,7 +3344,7 @@ function parseDateTimeSkeleton(skeleton) {
3344
3344
  throw new RangeError('`D/F/g` (day) patterns are not supported, use `d` instead');
3345
3345
  // Weekday
3346
3346
  case 'E':
3347
- result.weekday = len === 4 ? 'short' : len === 5 ? 'narrow' : 'short';
3347
+ result.weekday = len === 4 ? 'long' : len === 5 ? 'narrow' : 'short';
3348
3348
  break;
3349
3349
  case 'e':
3350
3350
  if (len < 4) {
@@ -3402,7 +3402,7 @@ function parseDateTimeSkeleton(skeleton) {
3402
3402
  result.timeZoneName = len < 4 ? 'short' : 'long';
3403
3403
  break;
3404
3404
  case 'Z': // 1..3, 4, 5: The ISO8601 varios formats
3405
- case 'O': // 1, 4: miliseconds in day short, long
3405
+ case 'O': // 1, 4: milliseconds in day short, long
3406
3406
  case 'v': // 1, 4: generic non-location format
3407
3407
  case 'V': // 1, 2, 3, 4: time zone ID or city
3408
3408
  case 'X': // 1, 2, 3, 4: The ISO8601 varios formats
@@ -3633,6 +3633,27 @@ function parseNumberSkeleton(tokens) {
3633
3633
  case 'scale':
3634
3634
  result.scale = parseFloat(token.options[0]);
3635
3635
  continue;
3636
+ case 'rounding-mode-floor':
3637
+ result.roundingMode = 'floor';
3638
+ continue;
3639
+ case 'rounding-mode-ceiling':
3640
+ result.roundingMode = 'ceil';
3641
+ continue;
3642
+ case 'rounding-mode-down':
3643
+ result.roundingMode = 'trunc';
3644
+ continue;
3645
+ case 'rounding-mode-up':
3646
+ result.roundingMode = 'expand';
3647
+ continue;
3648
+ case 'rounding-mode-half-even':
3649
+ result.roundingMode = 'halfEven';
3650
+ continue;
3651
+ case 'rounding-mode-half-down':
3652
+ result.roundingMode = 'halfTrunc';
3653
+ continue;
3654
+ case 'rounding-mode-half-up':
3655
+ result.roundingMode = 'halfExpand';
3656
+ continue;
3636
3657
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
3637
3658
  case 'integer-width':
3638
3659
  if (token.options.length > 1) {
@@ -3832,6 +3853,10 @@ var timeData = {
3832
3853
  "hb",
3833
3854
  "H"
3834
3855
  ],
3856
+ "BI": [
3857
+ "H",
3858
+ "h"
3859
+ ],
3835
3860
  "BJ": [
3836
3861
  "H",
3837
3862
  "hB"
@@ -3881,6 +3906,10 @@ var timeData = {
3881
3906
  "hb",
3882
3907
  "hB"
3883
3908
  ],
3909
+ "BY": [
3910
+ "H",
3911
+ "h"
3912
+ ],
3884
3913
  "BZ": [
3885
3914
  "H",
3886
3915
  "h",
@@ -3969,6 +3998,10 @@ var timeData = {
3969
3998
  "H",
3970
3999
  "hB"
3971
4000
  ],
4001
+ "CW": [
4002
+ "H",
4003
+ "hB"
4004
+ ],
3972
4005
  "CX": [
3973
4006
  "H",
3974
4007
  "h",
@@ -4084,6 +4117,10 @@ var timeData = {
4084
4117
  "H",
4085
4118
  "hB"
4086
4119
  ],
4120
+ "FO": [
4121
+ "H",
4122
+ "h"
4123
+ ],
4087
4124
  "FR": [
4088
4125
  "H",
4089
4126
  "hB"
@@ -4129,6 +4166,10 @@ var timeData = {
4129
4166
  "hb",
4130
4167
  "hB"
4131
4168
  ],
4169
+ "GL": [
4170
+ "H",
4171
+ "h"
4172
+ ],
4132
4173
  "GM": [
4133
4174
  "h",
4134
4175
  "hb",
@@ -4193,6 +4234,10 @@ var timeData = {
4193
4234
  "H",
4194
4235
  "hB"
4195
4236
  ],
4237
+ "HU": [
4238
+ "H",
4239
+ "h"
4240
+ ],
4196
4241
  "IC": [
4197
4242
  "H",
4198
4243
  "h",
@@ -4265,8 +4310,8 @@ var timeData = {
4265
4310
  ],
4266
4311
  "JP": [
4267
4312
  "H",
4268
- "h",
4269
- "K"
4313
+ "K",
4314
+ "h"
4270
4315
  ],
4271
4316
  "KE": [
4272
4317
  "hB",
@@ -4417,6 +4462,10 @@ var timeData = {
4417
4462
  "H",
4418
4463
  "hB"
4419
4464
  ],
4465
+ "MG": [
4466
+ "H",
4467
+ "h"
4468
+ ],
4420
4469
  "MH": [
4421
4470
  "h",
4422
4471
  "hb",
@@ -4472,6 +4521,18 @@ var timeData = {
4472
4521
  "hb",
4473
4522
  "hB"
4474
4523
  ],
4524
+ "MT": [
4525
+ "H",
4526
+ "h"
4527
+ ],
4528
+ "MU": [
4529
+ "H",
4530
+ "h"
4531
+ ],
4532
+ "MV": [
4533
+ "H",
4534
+ "h"
4535
+ ],
4475
4536
  "MW": [
4476
4537
  "h",
4477
4538
  "hb",
@@ -4529,6 +4590,10 @@ var timeData = {
4529
4590
  "H",
4530
4591
  "hB"
4531
4592
  ],
4593
+ "NO": [
4594
+ "H",
4595
+ "h"
4596
+ ],
4532
4597
  "NP": [
4533
4598
  "H",
4534
4599
  "h",
@@ -4590,6 +4655,10 @@ var timeData = {
4590
4655
  "hB",
4591
4656
  "H"
4592
4657
  ],
4658
+ "PL": [
4659
+ "H",
4660
+ "h"
4661
+ ],
4593
4662
  "PM": [
4594
4663
  "H",
4595
4664
  "hB"
@@ -4648,6 +4717,10 @@ var timeData = {
4648
4717
  "RU": [
4649
4718
  "H"
4650
4719
  ],
4720
+ "RW": [
4721
+ "H",
4722
+ "h"
4723
+ ],
4651
4724
  "SA": [
4652
4725
  "h",
4653
4726
  "hB",
@@ -4780,12 +4853,24 @@ var timeData = {
4780
4853
  "H",
4781
4854
  "hB"
4782
4855
  ],
4856
+ "TH": [
4857
+ "H",
4858
+ "h"
4859
+ ],
4860
+ "TJ": [
4861
+ "H",
4862
+ "h"
4863
+ ],
4783
4864
  "TL": [
4784
4865
  "H",
4785
4866
  "hB",
4786
4867
  "hb",
4787
4868
  "h"
4788
4869
  ],
4870
+ "TM": [
4871
+ "H",
4872
+ "h"
4873
+ ],
4789
4874
  "TN": [
4790
4875
  "h",
4791
4876
  "hB",
@@ -4881,6 +4966,10 @@ var timeData = {
4881
4966
  "H",
4882
4967
  "hB"
4883
4968
  ],
4969
+ "VN": [
4970
+ "H",
4971
+ "h"
4972
+ ],
4884
4973
  "VU": [
4885
4974
  "h",
4886
4975
  "H"
@@ -4920,6 +5009,10 @@ var timeData = {
4920
5009
  "H",
4921
5010
  "hB"
4922
5011
  ],
5012
+ "ZW": [
5013
+ "H",
5014
+ "h"
5015
+ ],
4923
5016
  "af-ZA": [
4924
5017
  "H",
4925
5018
  "h",
@@ -6823,8 +6916,8 @@ function createDefaultFormatters(cache) {
6823
6916
  }
6824
6917
  var IntlMessageFormat = /** @class */ (function () {
6825
6918
  function IntlMessageFormat(message, locales, overrideFormats, opts) {
6826
- if (locales === void 0) { locales = IntlMessageFormat.defaultLocale; }
6827
6919
  var _this = this;
6920
+ if (locales === void 0) { locales = IntlMessageFormat.defaultLocale; }
6828
6921
  this.formatterCache = {
6829
6922
  number: {},
6830
6923
  dateTime: {},
@@ -7561,7 +7654,6 @@ function formatRelativeTime(config, getRelativeTimeFormat, value, unit, options)
7561
7654
  var NUMBER_FORMAT_OPTIONS = [
7562
7655
  'style',
7563
7656
  'currency',
7564
- 'currencyDisplay',
7565
7657
  'unit',
7566
7658
  'unitDisplay',
7567
7659
  'useGrouping',
@@ -7579,6 +7671,11 @@ var NUMBER_FORMAT_OPTIONS = [
7579
7671
  'unit',
7580
7672
  'unitDisplay',
7581
7673
  'numberingSystem',
7674
+ // ES2023 NumberFormat
7675
+ 'trailingZeroDisplay',
7676
+ 'roundingPriority',
7677
+ 'roundingIncrement',
7678
+ 'roundingMode',
7582
7679
  ];
7583
7680
  function getFormatter(_a, getNumberFormat, options) {
7584
7681
  var locale = _a.locale, formats = _a.formats, onError = _a.onError;
@@ -8322,4 +8419,4 @@ const weekdays = [
8322
8419
  intl.formatMessage({ id: "date.saturday", defaultMessage: "Saturday" }),
8323
8420
  ];
8324
8421
 
8325
- export { throttle as A, getContextMeasurements as B, dateFind as C, calendar_months as D, findParentWithHiddenOverflow as E, transposeMatrix as F, wrapAround as G, getSmallestSkipInterval as H, calcPercentageInRange as I, makeISO as J, weekdays as K, getMonthLength as L, findScrollableParent as M, handleDisabledAttribute as a, triggerFormSubmit as b, checkForActiveElInShadow as c, debounce as d, safeMultiplyFloat as e, getPosition as f, generateId as g, hideTooltip as h, intl as i, dateToISO as j, shouldOpenUp as k, hasRoomRight as l, truncateText as m, snakeCaseToCamelCase as n, getNewIndexToFocus as o, shouldOpenDown as p, shouldShiftRight as q, shouldShiftLeft as r, showTooltip as s, toBool as t, measureText as u, findNext as v, findPrev as w, csvToArray as x, getTextDir as y, isElOrChild as z };
8422
+ export { throttle as A, getContextMeasurements as B, dateFind as C, calendar_months as D, findParentWithHiddenOverflow as E, transposeMatrix as F, wrapAround as G, getSmallestSkipInterval as H, calcPercentageInRange as I, makeISO as J, getMonthLength as K, weekdays as L, findScrollableParent as M, handleDisabledAttribute as a, triggerFormSubmit as b, checkForActiveElInShadow as c, debounce as d, safeMultiplyFloat as e, getPosition as f, generateId as g, hideTooltip as h, intl as i, dateToISO as j, shouldOpenUp as k, hasRoomRight as l, truncateText as m, snakeCaseToCamelCase as n, getNewIndexToFocus as o, shouldOpenDown as p, shouldShiftRight as q, shouldShiftLeft as r, showTooltip as s, toBool as t, measureText as u, findNext as v, findPrev as w, csvToArray as x, getTextDir as y, isElOrChild as z };