@watermarkinsights/ripple 3.26.0 → 3.26.1-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 (278) hide show
  1. package/README.md +3 -3
  2. package/dist/cjs/{chartFunctions-b7452189.js → chartFunctions-d746b939.js} +596 -596
  3. package/dist/cjs/{functions-a047a8ea.js → functions-68f637b4.js} +503 -503
  4. package/dist/cjs/{global-21ae6c78.js → global-ae47f0c9.js} +72 -72
  5. package/dist/cjs/{http-service-494d81de.js → http-service-9e8c4dd5.js} +49 -49
  6. package/dist/cjs/{interfaces-a3338581.js → interfaces-30a74c1f.js} +29 -29
  7. package/dist/cjs/{intl-47d63c8f.js → intl-d9ffc76c.js} +131 -131
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/cjs/priv-chart-popover.cjs.entry.js +91 -91
  10. package/dist/cjs/priv-datepicker.cjs.entry.js +657 -657
  11. package/dist/cjs/priv-navigator-button.cjs.entry.js +19 -19
  12. package/dist/cjs/priv-navigator-item.cjs.entry.js +23 -23
  13. package/dist/cjs/ripple.cjs.js +1 -1
  14. package/dist/cjs/wm-action-menu_2.cjs.entry.js +334 -334
  15. package/dist/cjs/wm-button.cjs.entry.js +260 -260
  16. package/dist/cjs/wm-chart-slice.cjs.entry.js +18 -18
  17. package/dist/cjs/wm-chart.cjs.entry.js +183 -183
  18. package/dist/cjs/wm-datepicker.cjs.entry.js +263 -263
  19. package/dist/cjs/wm-file-list.cjs.entry.js +35 -35
  20. package/dist/cjs/wm-file.cjs.entry.js +181 -181
  21. package/dist/cjs/wm-input.cjs.entry.js +136 -136
  22. package/dist/cjs/wm-modal-footer.cjs.entry.js +33 -33
  23. package/dist/cjs/wm-modal-header.cjs.entry.js +32 -32
  24. package/dist/cjs/wm-modal.cjs.entry.js +152 -152
  25. package/dist/cjs/wm-navigation_3.cjs.entry.js +225 -225
  26. package/dist/cjs/wm-navigator.cjs.entry.js +264 -264
  27. package/dist/cjs/wm-network-uploader.cjs.entry.js +465 -465
  28. package/dist/cjs/wm-option_2.cjs.entry.js +768 -768
  29. package/dist/cjs/wm-pagination.cjs.entry.js +179 -179
  30. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +155 -155
  31. package/dist/cjs/wm-search.cjs.entry.js +184 -184
  32. package/dist/cjs/wm-snackbar.cjs.entry.js +155 -155
  33. package/dist/cjs/wm-tab-item_3.cjs.entry.js +265 -265
  34. package/dist/cjs/wm-tag-input-row.cjs.entry.js +14 -14
  35. package/dist/cjs/wm-tag-input.cjs.entry.js +939 -939
  36. package/dist/cjs/wm-timepicker.cjs.entry.js +385 -385
  37. package/dist/cjs/wm-toggletip.cjs.entry.js +130 -130
  38. package/dist/cjs/wm-uploader.cjs.entry.js +441 -441
  39. package/dist/cjs/wm-wrapper.cjs.entry.js +12 -12
  40. package/dist/collection/components/charts/chartFunctions.js +562 -562
  41. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +267 -267
  42. package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +125 -125
  43. package/dist/collection/components/charts/wm-chart/wm-chart.js +450 -450
  44. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +207 -207
  45. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +143 -143
  46. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +121 -121
  47. package/dist/collection/components/wm-action-menu/wm-action-menu.js +472 -472
  48. package/dist/collection/components/wm-button/wm-button.js +575 -575
  49. package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.js +983 -983
  50. package/dist/collection/components/wm-datepicker/wm-datepicker.js +491 -491
  51. package/dist/collection/components/wm-file/wm-file.js +313 -313
  52. package/dist/collection/components/wm-file-list/wm-file-list.js +152 -152
  53. package/dist/collection/components/wm-input/wm-input.js +509 -509
  54. package/dist/collection/components/wm-menuitem/wm-menuitem.js +454 -454
  55. package/dist/collection/components/wm-modal/wm-modal-footer.js +138 -138
  56. package/dist/collection/components/wm-modal/wm-modal-header.js +82 -82
  57. package/dist/collection/components/wm-modal/wm-modal.js +462 -462
  58. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +176 -176
  59. package/dist/collection/components/wm-navigation/wm-navigation-item.js +130 -130
  60. package/dist/collection/components/wm-navigation/wm-navigation.js +217 -217
  61. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +106 -106
  62. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +123 -123
  63. package/dist/collection/components/wm-navigator/wm-navigator.js +467 -467
  64. package/dist/collection/components/wm-option/wm-option.js +435 -435
  65. package/dist/collection/components/wm-pagination/wm-pagination.js +370 -370
  66. package/dist/collection/components/wm-search/wm-search.js +439 -439
  67. package/dist/collection/components/wm-select/wm-select.js +1054 -1054
  68. package/dist/collection/components/wm-snackbar/wm-snackbar.js +282 -282
  69. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +211 -211
  70. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.css +0 -1
  71. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +327 -327
  72. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +108 -108
  73. package/dist/collection/components/wm-tag-input/wm-tag-input-row/wm-tag-input-row.js +122 -122
  74. package/dist/collection/components/wm-tag-input/wm-tag-input.js +1294 -1294
  75. package/dist/collection/components/wm-timepicker/wm-timepicker.js +605 -605
  76. package/dist/collection/components/wm-toggletip/wm-toggletip.js +253 -253
  77. package/dist/collection/components/wm-uploader/wm-network-uploader/wm-network-uploader.js +772 -772
  78. package/dist/collection/components/wm-uploader/wm-uploader.js +964 -964
  79. package/dist/collection/components/wm-wrapper/wm-wrapper.js +28 -28
  80. package/dist/collection/dev/scripts.js +20 -20
  81. package/dist/collection/global/__mocks__/functions.js +6 -6
  82. package/dist/collection/global/functions.js +546 -546
  83. package/dist/collection/global/global.js +79 -79
  84. package/dist/collection/global/interfaces.js +49 -49
  85. package/dist/collection/global/intl.js +132 -132
  86. package/dist/collection/global/services/__mocks__/http-service.js +130 -130
  87. package/dist/collection/global/services/http-service.js +50 -50
  88. package/dist/collection/lang/lang.js +5 -5
  89. package/dist/collection/lang/missing.js +43 -43
  90. package/dist/collection/lang/piglatin.js +93 -93
  91. package/dist/esm/{chartFunctions-9d629e09.js → chartFunctions-5c1ad085.js} +596 -596
  92. package/dist/esm/{functions-3b813e0c.js → functions-b2582352.js} +503 -503
  93. package/dist/esm/{global-c7bb5530.js → global-770519f0.js} +72 -72
  94. package/dist/esm/{http-service-3dc3b3e7.js → http-service-5d037e16.js} +49 -49
  95. package/dist/esm/{interfaces-2b97fab2.js → interfaces-61c6305b.js} +29 -29
  96. package/dist/esm/{intl-d544f922.js → intl-6732dd5b.js} +131 -131
  97. package/dist/esm/loader.js +1 -1
  98. package/dist/esm/polyfills/core-js.js +0 -0
  99. package/dist/esm/polyfills/dom.js +0 -0
  100. package/dist/esm/polyfills/es5-html-element.js +0 -0
  101. package/dist/esm/polyfills/index.js +0 -0
  102. package/dist/esm/polyfills/system.js +0 -0
  103. package/dist/esm/priv-chart-popover.entry.js +91 -91
  104. package/dist/esm/priv-datepicker.entry.js +657 -657
  105. package/dist/esm/priv-navigator-button.entry.js +19 -19
  106. package/dist/esm/priv-navigator-item.entry.js +23 -23
  107. package/dist/esm/ripple.js +1 -1
  108. package/dist/esm/wm-action-menu_2.entry.js +334 -334
  109. package/dist/esm/wm-button.entry.js +260 -260
  110. package/dist/esm/wm-chart-slice.entry.js +18 -18
  111. package/dist/esm/wm-chart.entry.js +183 -183
  112. package/dist/esm/wm-datepicker.entry.js +263 -263
  113. package/dist/esm/wm-file-list.entry.js +35 -35
  114. package/dist/esm/wm-file.entry.js +181 -181
  115. package/dist/esm/wm-input.entry.js +136 -136
  116. package/dist/esm/wm-modal-footer.entry.js +33 -33
  117. package/dist/esm/wm-modal-header.entry.js +32 -32
  118. package/dist/esm/wm-modal.entry.js +152 -152
  119. package/dist/esm/wm-navigation_3.entry.js +225 -225
  120. package/dist/esm/wm-navigator.entry.js +264 -264
  121. package/dist/esm/wm-network-uploader.entry.js +465 -465
  122. package/dist/esm/wm-option_2.entry.js +768 -768
  123. package/dist/esm/wm-pagination.entry.js +179 -179
  124. package/dist/esm/wm-progress-indicator_3.entry.js +155 -155
  125. package/dist/esm/wm-search.entry.js +184 -184
  126. package/dist/esm/wm-snackbar.entry.js +155 -155
  127. package/dist/esm/wm-tab-item_3.entry.js +265 -265
  128. package/dist/esm/wm-tag-input-row.entry.js +14 -14
  129. package/dist/esm/wm-tag-input.entry.js +939 -939
  130. package/dist/esm/wm-timepicker.entry.js +385 -385
  131. package/dist/esm/wm-toggletip.entry.js +130 -130
  132. package/dist/esm/wm-uploader.entry.js +441 -441
  133. package/dist/esm/wm-wrapper.entry.js +12 -12
  134. package/dist/esm-es5/{chartFunctions-9d629e09.js → chartFunctions-5c1ad085.js} +1 -1
  135. package/dist/esm-es5/global-770519f0.js +1 -0
  136. package/dist/esm-es5/{intl-d544f922.js → intl-6732dd5b.js} +1 -1
  137. package/dist/esm-es5/loader.js +1 -1
  138. package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
  139. package/dist/esm-es5/priv-datepicker.entry.js +1 -1
  140. package/dist/esm-es5/ripple.js +1 -1
  141. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  142. package/dist/esm-es5/wm-button.entry.js +1 -1
  143. package/dist/esm-es5/wm-chart.entry.js +1 -1
  144. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  145. package/dist/esm-es5/wm-file.entry.js +1 -1
  146. package/dist/esm-es5/wm-input.entry.js +1 -1
  147. package/dist/esm-es5/wm-modal-header.entry.js +1 -1
  148. package/dist/esm-es5/wm-modal.entry.js +1 -1
  149. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  150. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  151. package/dist/esm-es5/wm-network-uploader.entry.js +1 -1
  152. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  153. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  154. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  155. package/dist/esm-es5/wm-search.entry.js +1 -1
  156. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  157. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  158. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  159. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  160. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  161. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  162. package/dist/ripple/{p-56ba575c.system.entry.js → p-00edfbc8.system.entry.js} +1 -1
  163. package/dist/ripple/{p-0cfc0d13.entry.js → p-0414179c.entry.js} +1 -1
  164. package/dist/ripple/{p-f6c9c95f.entry.js → p-043b4874.entry.js} +1 -1
  165. package/dist/ripple/{p-ea99fb58.system.entry.js → p-0503e614.system.entry.js} +1 -1
  166. package/dist/ripple/{p-09a04f55.system.entry.js → p-061914bf.system.entry.js} +1 -1
  167. package/dist/ripple/{p-4f5a48dd.system.entry.js → p-0648aa61.system.entry.js} +1 -1
  168. package/dist/ripple/{p-2d46dbea.entry.js → p-076a8729.entry.js} +1 -1
  169. package/dist/ripple/{p-d973fe13.system.entry.js → p-08e1c91b.system.entry.js} +1 -1
  170. package/dist/ripple/{p-ae1e1db8.entry.js → p-094388f1.entry.js} +1 -1
  171. package/dist/ripple/{p-8c853762.entry.js → p-17490d32.entry.js} +1 -1
  172. package/dist/ripple/{p-51b38033.entry.js → p-22b74491.entry.js} +1 -1
  173. package/dist/ripple/{p-4fb81a33.system.entry.js → p-2948bf33.system.entry.js} +1 -1
  174. package/dist/ripple/{p-2cde4ade.system.entry.js → p-2cef256c.system.entry.js} +1 -1
  175. package/dist/ripple/{p-2dd5f5c3.system.entry.js → p-3313df40.system.entry.js} +1 -1
  176. package/dist/ripple/{p-7f15df83.entry.js → p-3aaf86e4.entry.js} +1 -1
  177. package/dist/ripple/{p-b3d97de8.entry.js → p-3b582301.entry.js} +1 -1
  178. package/dist/ripple/{p-42f8f3ff.entry.js → p-42739dba.entry.js} +1 -1
  179. package/dist/ripple/{p-236dab05.system.entry.js → p-462e7cf8.system.entry.js} +1 -1
  180. package/dist/ripple/{p-fe76e568.entry.js → p-49f7f1da.entry.js} +1 -1
  181. package/dist/ripple/{p-38819b27.system.entry.js → p-4e7489a3.system.entry.js} +1 -1
  182. package/dist/ripple/{p-832910a0.entry.js → p-5ddb1660.entry.js} +1 -1
  183. package/dist/ripple/{p-fea37751.system.entry.js → p-60f58a39.system.entry.js} +1 -1
  184. package/dist/ripple/{p-35790e4e.system.entry.js → p-64b64f40.system.entry.js} +1 -1
  185. package/dist/ripple/{p-84ce9b67.system.entry.js → p-66bb46e5.system.entry.js} +1 -1
  186. package/dist/ripple/{p-8b23f32b.entry.js → p-6f96c28d.entry.js} +1 -1
  187. package/dist/ripple/p-719816e6.system.entry.js +1 -0
  188. package/dist/ripple/{p-f6f80b8d.system.entry.js → p-731beaab.system.entry.js} +1 -1
  189. package/dist/ripple/{p-630bd6f5.system.entry.js → p-7dafc84b.system.entry.js} +1 -1
  190. package/dist/ripple/{p-18c2f4fe.js → p-7ee31208.js} +1 -1
  191. package/dist/ripple/{p-8ff578ad.system.entry.js → p-81b26d3a.system.entry.js} +1 -1
  192. package/dist/ripple/{p-ffb83b6f.entry.js → p-918dc303.entry.js} +1 -1
  193. package/dist/ripple/{p-3aa8e5f5.entry.js → p-926aab51.entry.js} +1 -1
  194. package/dist/ripple/{p-54a2b7d6.system.js → p-9706537b.system.js} +1 -1
  195. package/dist/ripple/p-9ad652d9.system.js +1 -0
  196. package/dist/ripple/{p-95f4e5a1.entry.js → p-9b28a31f.entry.js} +1 -1
  197. package/dist/ripple/{p-5708349e.entry.js → p-9b293f13.entry.js} +1 -1
  198. package/dist/ripple/{p-95aa793b.system.entry.js → p-9b9e60aa.system.entry.js} +1 -1
  199. package/dist/ripple/{p-2cd5477a.entry.js → p-9baf62ae.entry.js} +1 -1
  200. package/dist/ripple/p-9c2b8fb4.js +1 -0
  201. package/dist/ripple/{p-a48e4f1a.system.js → p-a1f5f82f.system.js} +1 -1
  202. package/dist/ripple/{p-09bc0aa7.entry.js → p-a2f10a77.entry.js} +1 -1
  203. package/dist/ripple/{p-f2bb38d0.system.entry.js → p-a5662a2c.system.entry.js} +1 -1
  204. package/dist/ripple/{p-0ef638b7.entry.js → p-a9080b82.entry.js} +1 -1
  205. package/dist/ripple/{p-72b9b986.entry.js → p-a966a18c.entry.js} +1 -1
  206. package/dist/ripple/{p-a006968b.system.entry.js → p-accdf91c.system.entry.js} +1 -1
  207. package/dist/ripple/{p-6eb2c2d5.system.js → p-b7982fab.system.js} +1 -1
  208. package/dist/ripple/{p-c3665c9f.system.entry.js → p-b805612a.system.entry.js} +1 -1
  209. package/dist/ripple/{p-eeeec290.entry.js → p-bd94e7c3.entry.js} +1 -1
  210. package/dist/ripple/{p-05563588.entry.js → p-d5a420fa.entry.js} +1 -1
  211. package/dist/ripple/{p-d96b86c9.js → p-d7f77b2c.js} +1 -1
  212. package/dist/ripple/{p-8775e10b.system.entry.js → p-e6fde200.system.entry.js} +1 -1
  213. package/dist/ripple/{p-12c70659.system.entry.js → p-f740c48c.system.entry.js} +1 -1
  214. package/dist/ripple/{p-bdecbb63.entry.js → p-f8418ac9.entry.js} +1 -1
  215. package/dist/ripple/ripple.esm.js +1 -1
  216. package/dist/ripple/ripple.js +1 -1
  217. package/dist/types/components/charts/chartFunctions.d.ts +37 -37
  218. package/dist/types/components/charts/priv-chart-popover/priv-chart-popover.d.ts +27 -27
  219. package/dist/types/components/charts/wm-chart/wm-chart-slice.d.ts +11 -11
  220. package/dist/types/components/charts/wm-chart/wm-chart.d.ts +47 -47
  221. package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +29 -29
  222. package/dist/types/components/charts/wm-progress-monitor/wm-progress-monitor.d.ts +20 -20
  223. package/dist/types/components/charts/wm-progress-monitor/wm-progress-slice.d.ts +10 -10
  224. package/dist/types/components/wm-action-menu/wm-action-menu.d.ts +49 -49
  225. package/dist/types/components/wm-button/wm-button.d.ts +49 -49
  226. package/dist/types/components/wm-datepicker/priv-datepicker/priv-datepicker.d.ts +80 -80
  227. package/dist/types/components/wm-datepicker/wm-datepicker.d.ts +42 -42
  228. package/dist/types/components/wm-file/wm-file.d.ts +40 -40
  229. package/dist/types/components/wm-file-list/wm-file-list.d.ts +16 -16
  230. package/dist/types/components/wm-input/wm-input.d.ts +57 -57
  231. package/dist/types/components/wm-menuitem/wm-menuitem.d.ts +34 -34
  232. package/dist/types/components/wm-modal/wm-modal-footer.d.ts +14 -14
  233. package/dist/types/components/wm-modal/wm-modal-header.d.ts +10 -10
  234. package/dist/types/components/wm-modal/wm-modal.d.ts +40 -40
  235. package/dist/types/components/wm-navigation/wm-navigation-hamburger.d.ts +21 -21
  236. package/dist/types/components/wm-navigation/wm-navigation-item.d.ts +13 -13
  237. package/dist/types/components/wm-navigation/wm-navigation.d.ts +26 -26
  238. package/dist/types/components/wm-navigator/priv-navigator-button/priv-navigator-button.d.ts +10 -10
  239. package/dist/types/components/wm-navigator/priv-navigator-item/priv-navigator-item.d.ts +13 -13
  240. package/dist/types/components/wm-navigator/wm-navigator.d.ts +61 -61
  241. package/dist/types/components/wm-option/wm-option.d.ts +34 -34
  242. package/dist/types/components/wm-pagination/wm-pagination.d.ts +32 -32
  243. package/dist/types/components/wm-search/wm-search.d.ts +77 -77
  244. package/dist/types/components/wm-select/wm-select.d.ts +101 -101
  245. package/dist/types/components/wm-snackbar/wm-snackbar.d.ts +31 -31
  246. package/dist/types/components/wm-tabs/wm-tab-item/wm-tab-item.d.ts +37 -37
  247. package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +52 -52
  248. package/dist/types/components/wm-tabs/wm-tab-panel/wm-tab-panel.d.ts +20 -20
  249. package/dist/types/components/wm-tag-input/wm-tag-input-row/wm-tag-input-row.d.ts +11 -11
  250. package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +136 -136
  251. package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +62 -62
  252. package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +28 -28
  253. package/dist/types/components/wm-uploader/wm-network-uploader/wm-network-uploader.d.ts +85 -85
  254. package/dist/types/components/wm-uploader/wm-uploader.d.ts +99 -99
  255. package/dist/types/components/wm-wrapper/wm-wrapper.d.ts +7 -7
  256. package/dist/types/components.d.ts +27 -27
  257. package/dist/types/global/__mocks__/functions.d.ts +6 -6
  258. package/dist/types/global/functions.d.ts +49 -49
  259. package/dist/types/global/global.d.ts +1 -1
  260. package/dist/types/global/interfaces.d.ts +74 -74
  261. package/dist/types/global/intl.d.ts +29 -29
  262. package/dist/types/global/services/__mocks__/http-service.d.ts +6 -6
  263. package/dist/types/global/services/http-service.d.ts +4 -4
  264. package/dist/types/lang/lang.d.ts +5 -5
  265. package/package.json +46 -46
  266. package/dist/esm-es5/global-c7bb5530.js +0 -1
  267. package/dist/ripple/p-169606b9.system.js +0 -1
  268. package/dist/ripple/p-4444add0.system.entry.js +0 -1
  269. package/dist/ripple/p-76015762.js +0 -1
  270. /package/dist/esm-es5/{functions-3b813e0c.js → functions-b2582352.js} +0 -0
  271. /package/dist/esm-es5/{http-service-3dc3b3e7.js → http-service-5d037e16.js} +0 -0
  272. /package/dist/esm-es5/{interfaces-2b97fab2.js → interfaces-61c6305b.js} +0 -0
  273. /package/dist/ripple/{p-f5df5903.system.js → p-08b7ec08.system.js} +0 -0
  274. /package/dist/ripple/{p-9d02957d.system.js → p-313b6073.system.js} +0 -0
  275. /package/dist/ripple/{p-4a0e1d2d.js → p-5384856b.js} +0 -0
  276. /package/dist/ripple/{p-43f1298b.js → p-888bec42.js} +0 -0
  277. /package/dist/ripple/{p-190afa40.system.js → p-9e94ae94.system.js} +0 -0
  278. /package/dist/ripple/{p-fd8070fb.js → p-a6d6eae7.js} +0 -0
@@ -1,74 +1,74 @@
1
- export type Notification = {
2
- message: string;
3
- id: string;
4
- link: string;
5
- newWindow: boolean;
6
- };
7
- export type label = string | undefined;
8
- export type CssClassMap = {
9
- [className: string]: boolean;
10
- };
11
- interface IconLabels {
12
- [index: string]: string;
13
- }
14
- export type Product = {
15
- description?: string;
16
- samlLinkUrl?: string;
17
- iconUrl: string;
18
- id: string;
19
- linkUrl: string;
20
- name: string;
21
- };
22
- export type NavigatorPayload = {
23
- connection_name?: string;
24
- current_product_id: string;
25
- email: string;
26
- logout_url: string;
27
- products: Product[];
28
- };
29
- export type validButtonTypes = "primary" | "secondary" | "textonly" | "icononly" | "navigational" | "selector" | "selector-primary" | "pairpositive" | "pairnegative";
30
- export declare const iconLabels: IconLabels;
31
- export declare function getIconCodeFromName(icon: string): string;
32
- export declare const defaultMode = "planning";
33
- export declare const getWmMode: (ref?: any) => any;
34
- export type TooltipPlacement = "top" | "bottom" | "left" | "right" | "bottom-left" | "bottom-right" | "top-right" | "top-left";
35
- export type SliceElement = (SVGElement | HTMLElement);
36
- export type SliceDetails = {
37
- amount: number;
38
- perc: number;
39
- legend: string | null;
40
- color: string;
41
- offset: number;
42
- id: string;
43
- title: string | null;
44
- text: string | null;
45
- buttonText: string | null;
46
- sliceRef: Element;
47
- inSmallCluster: boolean;
48
- coords?: {
49
- x: number;
50
- y: number;
51
- };
52
- };
53
- export type ChartDetails = {
54
- size: number;
55
- colors: Array<string>;
56
- thickness?: number;
57
- padding: number;
58
- category: "doughnut" | "stackedBar" | "simpleBar";
59
- };
60
- export type ChartType = "doughnut" | "bar" | "doughnut1" | "doughnut2" | "doughnut2b" | "doughnut3" | "bar2" | "bar2b" | "bar3" | "bar4" | "bar5" | "bar6" | "bar7" | "doughnut0" | "bar1";
61
- export type LegendItem = {
62
- key: string;
63
- color: string;
64
- };
65
- export type UploadedFile = {
66
- name: string;
67
- id: string;
68
- type: string;
69
- lastUpdated: string;
70
- progress?: number;
71
- fileActions?: string;
72
- size?: string;
73
- };
74
- export {};
1
+ export type Notification = {
2
+ message: string;
3
+ id: string;
4
+ link: string;
5
+ newWindow: boolean;
6
+ };
7
+ export type label = string | undefined;
8
+ export type CssClassMap = {
9
+ [className: string]: boolean;
10
+ };
11
+ interface IconLabels {
12
+ [index: string]: string;
13
+ }
14
+ export type Product = {
15
+ description?: string;
16
+ samlLinkUrl?: string;
17
+ iconUrl: string;
18
+ id: string;
19
+ linkUrl: string;
20
+ name: string;
21
+ };
22
+ export type NavigatorPayload = {
23
+ connection_name?: string;
24
+ current_product_id: string;
25
+ email: string;
26
+ logout_url: string;
27
+ products: Product[];
28
+ };
29
+ export type validButtonTypes = "primary" | "secondary" | "textonly" | "icononly" | "navigational" | "selector" | "selector-primary" | "pairpositive" | "pairnegative";
30
+ export declare const iconLabels: IconLabels;
31
+ export declare function getIconCodeFromName(icon: string): string;
32
+ export declare const defaultMode = "planning";
33
+ export declare const getWmMode: (ref?: any) => any;
34
+ export type TooltipPlacement = "top" | "bottom" | "left" | "right" | "bottom-left" | "bottom-right" | "top-right" | "top-left";
35
+ export type SliceElement = (SVGElement | HTMLElement);
36
+ export type SliceDetails = {
37
+ amount: number;
38
+ perc: number;
39
+ legend: string | null;
40
+ color: string;
41
+ offset: number;
42
+ id: string;
43
+ title: string | null;
44
+ text: string | null;
45
+ buttonText: string | null;
46
+ sliceRef: Element;
47
+ inSmallCluster: boolean;
48
+ coords?: {
49
+ x: number;
50
+ y: number;
51
+ };
52
+ };
53
+ export type ChartDetails = {
54
+ size: number;
55
+ colors: Array<string>;
56
+ thickness?: number;
57
+ padding: number;
58
+ category: "doughnut" | "stackedBar" | "simpleBar";
59
+ };
60
+ export type ChartType = "doughnut" | "bar" | "doughnut1" | "doughnut2" | "doughnut2b" | "doughnut3" | "bar2" | "bar2b" | "bar3" | "bar4" | "bar5" | "bar6" | "bar7" | "doughnut0" | "bar1";
61
+ export type LegendItem = {
62
+ key: string;
63
+ color: string;
64
+ };
65
+ export type UploadedFile = {
66
+ name: string;
67
+ id: string;
68
+ type: string;
69
+ lastUpdated: string;
70
+ progress?: number;
71
+ fileActions?: string;
72
+ size?: string;
73
+ };
74
+ export {};
@@ -1,29 +1,29 @@
1
- export declare const globalMessages: {
2
- characterLimitReached: string;
3
- close: string;
4
- genericError: string;
5
- newWindow: string;
6
- next: string;
7
- open: string;
8
- previous: string;
9
- requiredError: string;
10
- requiredField: string;
11
- getCharactersEntered: (charCount: number, charLimit: number) => string;
12
- getCharacterLimit: (characterLimit: number) => string;
13
- };
14
- export declare const uploaderMessages: {
15
- duplicateName: string;
16
- fileLimitExceeded: string;
17
- fileLimitReached: string;
18
- finishedUploading: string;
19
- waitToUpload: string;
20
- zeroFileSize: string;
21
- getAcceptedFileTypes: (validTypes: string, amount: number) => string;
22
- getFilesAdded: (numFiles: number) => string;
23
- getFileCount: (fileListLength: number, maxFiles: number) => string;
24
- getFileTooLarge: (maxSize: number) => string;
25
- getFilesUploading: (numFilesUploading: number) => string;
26
- getInvalidFileType: (validTypes: string) => string;
27
- getMaxSize: (maxSize: number) => string;
28
- getUploadProgress: (percentage: number) => string;
29
- };
1
+ export declare const globalMessages: {
2
+ characterLimitReached: string;
3
+ close: string;
4
+ genericError: string;
5
+ newWindow: string;
6
+ next: string;
7
+ open: string;
8
+ previous: string;
9
+ requiredError: string;
10
+ requiredField: string;
11
+ getCharactersEntered: (charCount: number, charLimit: number) => string;
12
+ getCharacterLimit: (characterLimit: number) => string;
13
+ };
14
+ export declare const uploaderMessages: {
15
+ duplicateName: string;
16
+ fileLimitExceeded: string;
17
+ fileLimitReached: string;
18
+ finishedUploading: string;
19
+ waitToUpload: string;
20
+ zeroFileSize: string;
21
+ getAcceptedFileTypes: (validTypes: string, amount: number) => string;
22
+ getFilesAdded: (numFiles: number) => string;
23
+ getFileCount: (fileListLength: number, maxFiles: number) => string;
24
+ getFileTooLarge: (maxSize: number) => string;
25
+ getFilesUploading: (numFilesUploading: number) => string;
26
+ getInvalidFileType: (validTypes: string) => string;
27
+ getMaxSize: (maxSize: number) => string;
28
+ getUploadProgress: (percentage: number) => string;
29
+ };
@@ -1,6 +1,6 @@
1
- export declare const getRequest: (url: string) => Promise<any>;
2
- export declare const postRequest: (url: string, payload: any) => Promise<void | {
3
- url: string;
4
- }>;
5
- export declare const deleteRequest: (url: string) => Promise<void>;
6
- export declare const putRequest: (_url: string, _file: any) => Promise<void>;
1
+ export declare const getRequest: (url: string) => Promise<any>;
2
+ export declare const postRequest: (url: string, payload: any) => Promise<void | {
3
+ url: string;
4
+ }>;
5
+ export declare const deleteRequest: (url: string) => Promise<void>;
6
+ export declare const putRequest: (_url: string, _file: any) => Promise<void>;
@@ -1,4 +1,4 @@
1
- export declare const getRequest: (url: string) => Promise<any>;
2
- export declare const postRequest: (url: string, payload: Object) => Promise<any>;
3
- export declare const deleteRequest: (url: string) => Promise<any>;
4
- export declare const putRequest: (url: string, file: File, onProgress: Function) => Promise<unknown>;
1
+ export declare const getRequest: (url: string) => Promise<any>;
2
+ export declare const postRequest: (url: string, payload: Object) => Promise<any>;
3
+ export declare const deleteRequest: (url: string) => Promise<any>;
4
+ export declare const putRequest: (url: string, file: File, onProgress: Function) => Promise<unknown>;
@@ -1,5 +1,5 @@
1
- import en from "./compiled-lang/en.json";
2
- import fr from "./compiled-lang/fr.json";
3
- import es from "./compiled-lang/es.json";
4
- import pig from "./compiled-lang/pig.json";
5
- export { en, fr, es, pig };
1
+ import en from "./compiled-lang/en.json";
2
+ import fr from "./compiled-lang/fr.json";
3
+ import es from "./compiled-lang/es.json";
4
+ import pig from "./compiled-lang/pig.json";
5
+ export { en, fr, es, pig };
package/package.json CHANGED
@@ -1,46 +1,46 @@
1
- {
2
- "name": "@watermarkinsights/ripple",
3
- "version": "3.26.0",
4
- "description": "Ripple Component Library",
5
- "license": "MIT",
6
- "module": "dist/index.js",
7
- "main": "dist/index.cjs.js",
8
- "unpkg": "dist/ripple/ripple.js",
9
- "types": "dist/types/components.d.ts",
10
- "collection": "dist/collection/collection-manifest.json",
11
- "files": [
12
- "dist/"
13
- ],
14
- "es2017": "dist/esm/index.mjs",
15
- "es2015": "dist/esm/index.mjs",
16
- "scripts": {
17
- "local.pss": "sh ./scripts/build-local-pss.sh",
18
- "local.aqua": "sh ./scripts/build-local-aqf.sh",
19
- "local.ripple": "sh ./scripts/build-local-ripple.sh",
20
- "local.wrappers": "sh ./scripts/build-local-wrappers.sh",
21
- "build": "stencil build",
22
- "release": "sh ./scripts/release.sh",
23
- "start": "stencil build --dev --watch --serve",
24
- "test": "npx browserslist@latest --update-db && stencil test --spec --e2e",
25
- "test.snapshot": "stencil test --spec --e2e -u",
26
- "test.watch": "stencil test --spec --e2e --watch",
27
- "test.watchAll": "stencil test --spec --e2e --watchAll",
28
- "test.coverage": "stencil test --spec --coverage --collectCoverageFrom='src/**/*.{js,jsx,ts,tsx}'",
29
- "extract": "formatjs extract ./src/**/*.tsx --out-file ./src/lang/en.json && node ./src/lang/piglatin.js",
30
- "compile": "formatjs compile-folder ./src/lang src/lang/compiled-lang/ --ast",
31
- "missing": "node ./src/lang/missing.js"
32
- },
33
- "dependencies": {
34
- "@formatjs/intl": "^2.6.5"
35
- },
36
- "devDependencies": {
37
- "@axe-core/puppeteer": "^4.6.0",
38
- "@formatjs/cli": "^6.0.1",
39
- "@stencil/core": "^3.2.0",
40
- "@stencil/react-output-target": "^0.4.0",
41
- "@stencil/sass": "^2.0.3",
42
- "@types/jest": "^27.0.3",
43
- "@types/puppeteer": "^7.0.4",
44
- "jest": "^27.0.3"
45
- }
46
- }
1
+ {
2
+ "name": "@watermarkinsights/ripple",
3
+ "version": "3.26.1-0",
4
+ "description": "Ripple Component Library",
5
+ "license": "MIT",
6
+ "module": "dist/index.js",
7
+ "main": "dist/index.cjs.js",
8
+ "unpkg": "dist/ripple/ripple.js",
9
+ "types": "dist/types/components.d.ts",
10
+ "collection": "dist/collection/collection-manifest.json",
11
+ "files": [
12
+ "dist/"
13
+ ],
14
+ "es2017": "dist/esm/index.mjs",
15
+ "es2015": "dist/esm/index.mjs",
16
+ "scripts": {
17
+ "local.pss": "sh ./scripts/build-local-pss.sh",
18
+ "local.aqua": "sh ./scripts/build-local-aqf.sh",
19
+ "local.ripple": "sh ./scripts/build-local-ripple.sh",
20
+ "local.wrappers": "sh ./scripts/build-local-wrappers.sh",
21
+ "build": "stencil build",
22
+ "release": "sh ./scripts/release.sh",
23
+ "start": "stencil build --dev --watch --serve",
24
+ "test": "npx browserslist@latest --update-db && stencil test --spec --e2e",
25
+ "test.snapshot": "stencil test --spec --e2e -u",
26
+ "test.watch": "stencil test --spec --e2e --watch",
27
+ "test.watchAll": "stencil test --spec --e2e --watchAll",
28
+ "test.coverage": "stencil test --spec --coverage --collectCoverageFrom='src/**/*.{js,jsx,ts,tsx}'",
29
+ "extract": "formatjs extract ./src/**/*.tsx --out-file ./src/lang/en.json && node ./src/lang/piglatin.js",
30
+ "compile": "formatjs compile-folder ./src/lang src/lang/compiled-lang/ --ast",
31
+ "missing": "node ./src/lang/missing.js"
32
+ },
33
+ "dependencies": {
34
+ "@formatjs/intl": "^2.6.5"
35
+ },
36
+ "devDependencies": {
37
+ "@axe-core/puppeteer": "^4.6.0",
38
+ "@formatjs/cli": "^6.0.1",
39
+ "@stencil/core": "^3.2.0",
40
+ "@stencil/react-output-target": "^0.4.0",
41
+ "@stencil/sass": "^2.0.3",
42
+ "@types/jest": "^27.0.3",
43
+ "@types/puppeteer": "^7.0.4",
44
+ "jest": "^27.0.3"
45
+ }
46
+ }
@@ -1 +0,0 @@
1
- var version="3.26.0";if(window.navigator.plugins.length>0){console.log("Ripple component library",version)}function wmComponentKeys(n){if(n.key=="Tab"){var t=new Event("wmUserIsTabbing");window.dispatchEvent(t);document.querySelector("body").classList.add("wmcl-user-is-tabbing")}if(n.key=="ArrowLeft"||n.key=="ArrowUp"||n.key=="ArrowRight"||n.key=="ArrowDown"){var t=new Event("wmUserIsKeying");window.dispatchEvent(t);document.querySelector("body").classList.add("wmcl-user-is-keying")}}function wmComponentMouseDownOnce(){var n=new Event("wmUserIsNotTabbing");window.dispatchEvent(n);document.querySelector("body").classList.remove("wmcl-user-is-tabbing");document.querySelector("body").classList.remove("wmcl-user-is-keying")}window.addEventListener("keydown",wmComponentKeys);window.addEventListener("mousedown",wmComponentMouseDownOnce);var tooltipContainer=document.createElement("div");tooltipContainer.id="wm-tooltip-container";var tooltipEl=document.createElement("div");tooltipEl.id="wm-tooltip";tooltipEl.setAttribute("aria-hidden","true");var tooltipStyles=document.createElement("style");tooltipStyles.textContent="\n#wm-tooltip {\n position: fixed;\n overflow: hidden;\n pointer-events: none;\n line-height: normal;\n font-family: inherit;\n font-size: 0.875rem;\n text-transform: none;\n font-weight: normal;\n background: black;\n color: #fff;\n z-index: 999999;\n max-width: var(--wmTooltipMaxWidth, 13.75rem);\n margin-right: 1.5rem;\n padding: 0.375rem;\n transition-property: opacity;\n transition-delay: 0s;\n opacity: 0;\n top: 0;\n left: 0;\n transform: translateZ(0);\n will-change: transform;\n transform: translate(var(--wmTooltipLeft), var(--wmTooltipTop));\n}\n\n#wm-tooltip.open {\n transition-delay: 500ms;\n opacity: 1;\n}\n";document.head.appendChild(tooltipStyles);tooltipContainer.appendChild(tooltipEl);document.querySelector("body").appendChild(tooltipContainer);
@@ -1 +0,0 @@
1
- System.register([],(function(){"use strict";return{execute:function(){var n="3.26.0";if(window.navigator.plugins.length>0){console.log("Ripple component library",n)}function e(n){if(n.key=="Tab"){var e=new Event("wmUserIsTabbing");window.dispatchEvent(e);document.querySelector("body").classList.add("wmcl-user-is-tabbing")}if(n.key=="ArrowLeft"||n.key=="ArrowUp"||n.key=="ArrowRight"||n.key=="ArrowDown"){var e=new Event("wmUserIsKeying");window.dispatchEvent(e);document.querySelector("body").classList.add("wmcl-user-is-keying")}}function t(){var n=new Event("wmUserIsNotTabbing");window.dispatchEvent(n);document.querySelector("body").classList.remove("wmcl-user-is-tabbing");document.querySelector("body").classList.remove("wmcl-user-is-keying")}window.addEventListener("keydown",e);window.addEventListener("mousedown",t);var o=document.createElement("div");o.id="wm-tooltip-container";var i=document.createElement("div");i.id="wm-tooltip";i.setAttribute("aria-hidden","true");var r=document.createElement("style");r.textContent="\n#wm-tooltip {\n position: fixed;\n overflow: hidden;\n pointer-events: none;\n line-height: normal;\n font-family: inherit;\n font-size: 0.875rem;\n text-transform: none;\n font-weight: normal;\n background: black;\n color: #fff;\n z-index: 999999;\n max-width: var(--wmTooltipMaxWidth, 13.75rem);\n margin-right: 1.5rem;\n padding: 0.375rem;\n transition-property: opacity;\n transition-delay: 0s;\n opacity: 0;\n top: 0;\n left: 0;\n transform: translateZ(0);\n will-change: transform;\n transform: translate(var(--wmTooltipLeft), var(--wmTooltipTop));\n}\n\n#wm-tooltip.open {\n transition-delay: 500ms;\n opacity: 1;\n}\n";document.head.appendChild(r);o.appendChild(i);document.querySelector("body").appendChild(o)}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-c4ca5d46.system.js","./p-190afa40.system.js"],(function(t){"use strict";var e,i,n,a,o,r,s,l;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;o=t.g;r=t.f},function(t){s=t.d;l=t.g}],execute:function(){var b=":host{font-family:inherit;display:inline-block}:host *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .tab-item{list-style-type:none;height:100%;display:inline-block}:host .tab-item .tab{-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;color:#575195;text-decoration:none;letter-spacing:0.7px;font-size:0.875rem;font-weight:500;opacity:1;position:relative;text-transform:uppercase;display:inline-block;height:3.3333333333em;line-height:3.3333333333em;padding-right:1.5rem;padding-left:1.5rem}:host .tab-item .tab[aria-selected=true]{font-weight:700;opacity:1;background:-webkit-gradient(linear, left top, left bottom, from(currentColor), to(currentColor)) bottom/0 0 no-repeat;background:linear-gradient(currentColor, currentColor) bottom/0 0 no-repeat;background-size:calc(100% - 50px) 3px}:host .tab-item .tab[aria-selected=true].dark{color:#fff}:host .tab-item .tab,:host .tab-item .tab:hover,:host .tab-item .tab:active{outline:none}:host .tab-item .tab:focus{outline:none}:host .tab-item .tab.dark:not([aria-selected=true]){opacity:0.8;color:#fff}:host .tab-item .tab.user-is-tabbing:focus:not(:active){outline:none;-webkit-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;-moz-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e;box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #61279e}:host .tab-item .tab.user-is-tabbing:focus:not(:active)::-moz-focus-inner{border:0}:host .tab-item .tab.user-is-tabbing:focus:not(:active).dark{-webkit-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #c6b4e3;-moz-box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #c6b4e3;box-shadow:0 2px 2px 0 rgba(244, 243, 246, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 0 4px 3px #c6b4e3;outline:none}:host.hide{display:none}";var c=t("wm_tab_item",function(){function t(t){var n=this;e(this,t);this.wmTabSelected=i(this,"wmTabSelected",7);this.tabSelected=i(this,"tabSelected",7);this.keydownOnTabItem=i(this,"keydownOnTabItem",7);this.tabItemLoaded=i(this,"tabItemLoaded",7);this.tabClicked=function(t){t.preventDefault();n.wmTabSelected.emit({tabId:n.tabId});n.tabSelected.emit({tabId:n.tabId})};this.tabPressed=function(t){var e=t.key;if(e==="Enter"||e===" "){t.preventDefault();n.wmTabSelected.emit({tabId:n.tabId});n.tabSelected.emit({tabId:n.tabId})}else if(e.includes("Arrow")){t.preventDefault();n.keydownOnTabItem.emit({tabItem:n.el,key:t.key})}};this.selected=false;this.show=true;this.tabId=""}Object.defineProperty(t.prototype,"parentTabList",{get:function(){return this.el.parentElement},enumerable:false,configurable:true});t.prototype.toggleTabbingOn=function(){this.linkEl&&this.linkEl.classList.add("user-is-tabbing")};t.prototype.toggleTabbingOff=function(){this.linkEl&&this.linkEl.classList.remove("user-is-tabbing")};t.prototype.componentDidLoad=function(){this.tabItemLoaded.emit()};t.prototype.render=function(){var t=this;var e=this.show?"":"hide ";e+=this.parentTabList&&this.parentTabList.customBackground=="dark"?"dark":"";var i={};var o=this.parentTabList&&this.parentTabList.customPadding;if(o){var r=parseInt(o,10)*2||0;var s=o.split(/([0-9]+)/).pop();i={"padding-left":this.parentTabList.customPadding,"padding-right":this.parentTabList.customPadding,"background-size":"calc(100% - ".concat(r).concat(s,") 3px")}}return n(a,{role:"presentation"},n("li",{class:"tab-item",role:"presentation"},n("a",{class:"tab ".concat(e),style:i,role:"tab",ref:function(e){return t.linkEl=e},onClick:this.tabClicked,id:"tab-link-".concat(this.tabId),onKeyDown:function(e){return t.tabPressed(e)},"aria-selected":this.selected?"true":"false",tabindex:this.selected?0:-1},n("slot",null))))};Object.defineProperty(t,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());c.style=b;var d=":host,wm-tab-list{position:relative;white-space:nowrap;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;display:block}:host *,wm-tab-list *{-webkit-box-sizing:border-box;box-sizing:border-box}:host .tabcontainer,wm-tab-list .tabcontainer{margin:0;margin-left:-24px;width:100%;height:4.0625rem;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;padding:0}:host .tabcontainer.dark,wm-tab-list .tabcontainer.dark{background:#353b48;margin:0}:host wm-select,wm-tab-list wm-select{padding:0.375rem 0}";var u=t("wm_tab_list",function(){function t(t){var n=this;e(this,t);this.wmTabSelected=i(this,"wmTabSelected",7);this.tabSelected=i(this,"tabSelected",7);this.debouncedSetLayout=s((function(){if(!n.listWidth){n.setListWidth()}r(n.el)}),250);this.customBackground=undefined;this.customPadding=undefined;this.selectedTab=undefined;this.controllerEnabled=false}Object.defineProperty(t.prototype,"menuLayout",{get:function(){if(this.listWidth){return this.el.offsetWidth<this.listWidth-24}else{return false}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"tabItems",{get:function(){return Array.from(this.el.querySelectorAll("wm-tab-item"))},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"selectedTabItem",{get:function(){return this.tabItems.filter((function(t){return t.selected}))[0]},enumerable:false,configurable:true});t.prototype.getLinkEl=function(t){return t.shadowRoot.querySelector("a")};Object.defineProperty(t.prototype,"panels",{get:function(){var t=Array.from(document.querySelectorAll("wm-tab-panel"));var e=this.tabItems.map((function(t){return t.tabId}));return t.filter((function(t){return e.includes(t.tabId)}))},enumerable:false,configurable:true});t.prototype.getPanel=function(t){return this.panels.find((function(e){return e.tabId===t}))};t.prototype.setListWidth=function(){var t=this.tabItems.reduce((function(t,e){return t+e.offsetWidth}),0);this.listWidth=t&&t>0?t:this.listWidth};t.prototype.setSelected=function(t){this.tabItems.map((function(e){return e.selected=e.tabId===t}));var e=this.panels.length===1&&this.tabItems.length>1;if(e){this.setAttributesOnPanel(this.panels[0],this.selectedTabItem);this.panels[0].active=true}else{this.panels.map((function(e){return e.active=e.tabId===t}))}};t.prototype.showItems=function(){this.tabItems.map((function(t){return t.show=true}))};t.prototype.hideItems=function(){this.tabItems.map((function(t){return t.show=false}))};t.prototype.componentWillLoad=function(){var t=this;this.el.focus=function(){t.selectedTabItem&&t.selectedTabItem.focus()}};t.prototype.componentDidLoad=function(){this.setLayout();var t=this.selectedTab||this.tabItems[0].tabId;this.setSelected(t)};t.prototype.tabItemLoaded=function(t){this.setAriaOnPanelAndTab(t.target)};t.prototype.setAriaOnPanelAndTab=function(t){var e=this.getPanel(t.tabId);if(!e){if(this.panels.length===1){this.setAttributesOnTab(t,this.panels[0])}}else{this.setAttributesOnPanel(e,t);this.setAttributesOnTab(t,e)}};t.prototype.setAttributesOnTab=function(t,e){var i=this.getLinkEl(t);if(i){i.setAttribute("aria-controls",e.id);i.setAttribute("href","#".concat(e.id))}};t.prototype.removeAttributesOnTab=function(t){var e=this.getLinkEl(t);if(e){e.removeAttribute("aria-controls");e.removeAttribute("href")}};t.prototype.setAttributesOnPanel=function(t,e){var i=this.getLinkEl(e);if(i){t.setAttribute("aria-labelledby",i.id);t.setAttribute("tab-id",e.tabId)}};t.prototype.handleTabSelected=function(t){if(this.controllerEnabled){this.setSelected(t.detail.tabId)}};t.prototype.handleKeydown=function(t){var e=t.detail.key;var i=this.tabItems.indexOf(t.detail.tabItem);if(e==="ArrowLeft"||e==="ArrowRight"){this.handleLeftRightArrow(i,e)}};t.prototype.handleLeftRightArrow=function(t,e){if(e){t=e==="ArrowLeft"?t-1:t+1}if(t<0){t=this.tabItems.length-1}else if(t===this.tabItems.length){t=0}var i=this.tabItems[t];this.getLinkEl(i).focus()};t.prototype.setLayout=function(){this.debouncedSetLayout()};t.prototype.renderMenuOrTabs=function(){if(this.menuLayout){this.hideItems();return n("wm-select",{label:"Tab Selection","label-position":"none"},this.renderOptions())}else{this.showItems();var t={};if(this.customPadding){t={"margin-left":"-"+this.customPadding}}return n("ul",{class:"tabcontainer ".concat(this.customBackground||""),style:t,role:"tablist"},n("slot",null))}};t.prototype.renderOptions=function(){var t=this;return this.tabItems.map((function(e){return n("wm-option",{id:"tab-link-".concat(e.tabId),selected:e.tabId===t.selectedTab,onClick:function(i){i.preventDefault();t.wmTabSelected.emit({tabId:e.tabId});t.tabSelected.emit({tabId:e.tabId})}},e.textContent)}))};t.prototype.render=function(){return n(a,{class:this.menuLayout?"menu":""},this.renderMenuOrTabs())};Object.defineProperty(t,"delegatesFocus",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selectedTab:["setSelected"]}},enumerable:false,configurable:true});return t}());u.style=d;var p="wm-tab-panel{visibility:inherit}wm-tab-panel.tab-hidden{display:none}wm-tab-panel:active{outline:none}wm-tab-panel:focus{outline:none}wm-tab-panel.user-is-tabbing:focus{outline:-webkit-focus-ring-color auto 5px}";var h=t("wm_tab_panel",function(){function t(t){e(this,t);this.tabPanelLoaded=i(this,"tabPanelLoaded",7);this.active=false;this.tabId=""}t.prototype.componentWillLoad=function(){!this.el.id&&this.el.setAttribute("id",l())};t.prototype.componentDidLoad=function(){this.tabPanelLoaded.emit({tabId:this.tabId})};t.prototype.toggleTabbingOn=function(){this.el.classList.add("user-is-tabbing")};t.prototype.toggleTabbingOff=function(){this.el.classList.remove("user-is-tabbing")};t.prototype.render=function(){return n(a,{role:"tabpanel",class:{"tab-hidden":!this.active}})};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());h.style=p}}}));
@@ -1 +0,0 @@
1
- window.navigator.plugins.length>0&&console.log("Ripple component library","3.26.0"),window.addEventListener("keydown",(function(n){if("Tab"==n.key){var o=new Event("wmUserIsTabbing");window.dispatchEvent(o),document.querySelector("body").classList.add("wmcl-user-is-tabbing")}"ArrowLeft"!=n.key&&"ArrowUp"!=n.key&&"ArrowRight"!=n.key&&"ArrowDown"!=n.key||(o=new Event("wmUserIsKeying"),window.dispatchEvent(o),document.querySelector("body").classList.add("wmcl-user-is-keying"))})),window.addEventListener("mousedown",(function(){var n=new Event("wmUserIsNotTabbing");window.dispatchEvent(n),document.querySelector("body").classList.remove("wmcl-user-is-tabbing"),document.querySelector("body").classList.remove("wmcl-user-is-keying")}));const n=document.createElement("div");n.id="wm-tooltip-container";const o=document.createElement("div");o.id="wm-tooltip",o.setAttribute("aria-hidden","true");const t=document.createElement("style");t.textContent="\n#wm-tooltip {\n position: fixed;\n overflow: hidden;\n pointer-events: none;\n line-height: normal;\n font-family: inherit;\n font-size: 0.875rem;\n text-transform: none;\n font-weight: normal;\n background: black;\n color: #fff;\n z-index: 999999;\n max-width: var(--wmTooltipMaxWidth, 13.75rem);\n margin-right: 1.5rem;\n padding: 0.375rem;\n transition-property: opacity;\n transition-delay: 0s;\n opacity: 0;\n top: 0;\n left: 0;\n transform: translateZ(0);\n will-change: transform;\n transform: translate(var(--wmTooltipLeft), var(--wmTooltipTop));\n}\n\n#wm-tooltip.open {\n transition-delay: 500ms;\n opacity: 1;\n}\n",document.head.appendChild(t),n.appendChild(o),document.querySelector("body").appendChild(n);
File without changes
File without changes
File without changes