@watermarkinsights/ripple 5.13.0-alpha.2 → 5.13.0-alpha.3

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 (450) hide show
  1. package/dist/cjs/app-globals-DztnjEf7.js +92 -0
  2. package/dist/cjs/chartFunctions-CM2Nah_s.js +731 -0
  3. package/dist/cjs/functions-CoXfjC6r.js +10450 -0
  4. package/dist/cjs/index-Cig4P4gJ.js +2082 -0
  5. package/dist/cjs/index.cjs.js +2 -0
  6. package/dist/cjs/interfaces-C7YbtGnk.js +37 -0
  7. package/dist/cjs/intl-DVt1J717.js +283 -0
  8. package/dist/cjs/loader.cjs.js +13 -0
  9. package/dist/cjs/priv-calendar.cjs.entry.js +568 -0
  10. package/dist/cjs/priv-chart-popover.cjs.entry.js +136 -0
  11. package/dist/cjs/priv-navigator-button_2.cjs.entry.js +54 -0
  12. package/dist/cjs/priv-option-list_2.cjs.entry.js +556 -0
  13. package/dist/cjs/ripple.cjs.js +25 -0
  14. package/dist/cjs/wm-action-menu_4.cjs.entry.js +702 -0
  15. package/dist/cjs/wm-chart-slice.cjs.entry.js +20 -0
  16. package/dist/cjs/wm-chart.cjs.entry.js +159 -0
  17. package/dist/cjs/wm-date-range.cjs.entry.js +479 -0
  18. package/dist/cjs/wm-datepicker.cjs.entry.js +249 -0
  19. package/dist/cjs/wm-file-list.cjs.entry.js +20 -0
  20. package/dist/cjs/wm-file.cjs.entry.js +184 -0
  21. package/dist/cjs/wm-input.cjs.entry.js +113 -0
  22. package/dist/cjs/wm-line-chart.cjs.entry.js +451 -0
  23. package/dist/cjs/wm-modal-footer.cjs.entry.js +46 -0
  24. package/dist/cjs/wm-modal-header.cjs.entry.js +38 -0
  25. package/dist/cjs/wm-modal-pss-footer.cjs.entry.js +42 -0
  26. package/dist/cjs/wm-modal-pss-header.cjs.entry.js +41 -0
  27. package/dist/cjs/wm-modal-pss.cjs.entry.js +137 -0
  28. package/dist/cjs/wm-modal.cjs.entry.js +135 -0
  29. package/dist/cjs/wm-navigation-hamburger.cjs.entry.js +50 -0
  30. package/dist/cjs/wm-navigation-item.cjs.entry.js +20 -0
  31. package/dist/cjs/wm-navigation.cjs.entry.js +118 -0
  32. package/dist/cjs/wm-navigator.cjs.entry.js +329 -0
  33. package/dist/cjs/wm-nested-select.cjs.entry.js +310 -0
  34. package/dist/cjs/wm-optgroup.cjs.entry.js +70 -0
  35. package/dist/cjs/wm-pagination.cjs.entry.js +225 -0
  36. package/dist/cjs/wm-progress-indicator.cjs.entry.js +109 -0
  37. package/dist/cjs/wm-progress-monitor.cjs.entry.js +73 -0
  38. package/dist/cjs/wm-progress-slice.cjs.entry.js +15 -0
  39. package/dist/cjs/wm-search.cjs.entry.js +210 -0
  40. package/dist/cjs/wm-select.cjs.entry.js +251 -0
  41. package/dist/cjs/wm-tab-item.cjs.entry.js +65 -0
  42. package/dist/cjs/wm-tab-list.cjs.entry.js +177 -0
  43. package/dist/cjs/wm-tab-panel.cjs.entry.js +34 -0
  44. package/dist/cjs/wm-tag-input.cjs.entry.js +879 -0
  45. package/dist/cjs/wm-tag-option.cjs.entry.js +37 -0
  46. package/dist/cjs/wm-textarea.cjs.entry.js +81 -0
  47. package/dist/cjs/wm-timepicker.cjs.entry.js +302 -0
  48. package/dist/cjs/wm-toggletip.cjs.entry.js +178 -0
  49. package/dist/cjs/wm-uploader.cjs.entry.js +315 -0
  50. package/dist/cjs/wm-wrapper.cjs.entry.js +19 -0
  51. package/dist/collection/collection-manifest.json +58 -0
  52. package/dist/collection/components/charts/chartFunctions.js +665 -0
  53. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +908 -0
  54. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +261 -0
  55. package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +128 -0
  56. package/dist/collection/components/charts/wm-chart/wm-chart.css +1274 -0
  57. package/dist/collection/components/charts/wm-chart/wm-chart.js +445 -0
  58. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.css +1067 -0
  59. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +742 -0
  60. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.css +1274 -0
  61. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +271 -0
  62. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.css +909 -0
  63. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +154 -0
  64. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +124 -0
  65. package/dist/collection/components/datepickers/datepicker.css +1044 -0
  66. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +1279 -0
  67. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +849 -0
  68. package/dist/collection/components/datepickers/wm-date-range.js +869 -0
  69. package/dist/collection/components/datepickers/wm-datepicker.js +538 -0
  70. package/dist/collection/components/selects/priv-option-list/priv-option-list.css +918 -0
  71. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +791 -0
  72. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +1181 -0
  73. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +644 -0
  74. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.css +830 -0
  75. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +265 -0
  76. package/dist/collection/components/selects/wm-option/wm-option.css +931 -0
  77. package/dist/collection/components/selects/wm-option/wm-option.js +539 -0
  78. package/dist/collection/components/selects/wm-select/wm-select.css +1104 -0
  79. package/dist/collection/components/selects/wm-select/wm-select.js +606 -0
  80. package/dist/collection/components/wm-action-menu/wm-action-menu.css +891 -0
  81. package/dist/collection/components/wm-action-menu/wm-action-menu.js +444 -0
  82. package/dist/collection/components/wm-button/wm-button.css +1261 -0
  83. package/dist/collection/components/wm-button/wm-button.js +510 -0
  84. package/dist/collection/components/wm-file/wm-file.css +927 -0
  85. package/dist/collection/components/wm-file/wm-file.js +423 -0
  86. package/dist/collection/components/wm-file-list/wm-file-list.css +820 -0
  87. package/dist/collection/components/wm-file-list/wm-file-list.js +47 -0
  88. package/dist/collection/components/wm-input/wm-input.css +993 -0
  89. package/dist/collection/components/wm-input/wm-input.js +498 -0
  90. package/dist/collection/components/wm-menuitem/wm-menuitem.css +891 -0
  91. package/dist/collection/components/wm-menuitem/wm-menuitem.js +425 -0
  92. package/dist/collection/components/wm-modal/wm-modal-footer.css +845 -0
  93. package/dist/collection/components/wm-modal/wm-modal-footer.js +152 -0
  94. package/dist/collection/components/wm-modal/wm-modal-header.css +844 -0
  95. package/dist/collection/components/wm-modal/wm-modal-header.js +83 -0
  96. package/dist/collection/components/wm-modal/wm-modal.css +892 -0
  97. package/dist/collection/components/wm-modal/wm-modal.js +356 -0
  98. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.css +852 -0
  99. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +148 -0
  100. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.css +846 -0
  101. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +86 -0
  102. package/dist/collection/components/wm-modal-pss/wm-modal-pss.css +928 -0
  103. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +369 -0
  104. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.css +847 -0
  105. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +120 -0
  106. package/dist/collection/components/wm-navigation/wm-navigation-item.css +856 -0
  107. package/dist/collection/components/wm-navigation/wm-navigation-item.js +99 -0
  108. package/dist/collection/components/wm-navigation/wm-navigation.css +898 -0
  109. package/dist/collection/components/wm-navigation/wm-navigation.js +192 -0
  110. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +850 -0
  111. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +90 -0
  112. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.css +830 -0
  113. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +130 -0
  114. package/dist/collection/components/wm-navigator/wm-navigator.css +903 -0
  115. package/dist/collection/components/wm-navigator/wm-navigator.js +515 -0
  116. package/dist/collection/components/wm-pagination/wm-pagination.css +971 -0
  117. package/dist/collection/components/wm-pagination/wm-pagination.js +373 -0
  118. package/dist/collection/components/wm-search/wm-search.css +896 -0
  119. package/dist/collection/components/wm-search/wm-search.js +462 -0
  120. package/dist/collection/components/wm-snackbar/wm-snackbar.css +1078 -0
  121. package/dist/collection/components/wm-snackbar/wm-snackbar.js +280 -0
  122. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +869 -0
  123. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +187 -0
  124. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.css +841 -0
  125. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +276 -0
  126. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.css +825 -0
  127. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +97 -0
  128. package/dist/collection/components/wm-tag-input/wm-tag-input.css +1276 -0
  129. package/dist/collection/components/wm-tag-input/wm-tag-input.js +1245 -0
  130. package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +251 -0
  131. package/dist/collection/components/wm-textarea/wm-textarea.css +980 -0
  132. package/dist/collection/components/wm-textarea/wm-textarea.js +331 -0
  133. package/dist/collection/components/wm-timepicker/wm-timepicker.css +1094 -0
  134. package/dist/collection/components/wm-timepicker/wm-timepicker.js +559 -0
  135. package/dist/collection/components/wm-toggletip/wm-toggletip.css +1152 -0
  136. package/dist/collection/components/wm-toggletip/wm-toggletip.js +295 -0
  137. package/dist/collection/components/wm-uploader/wm-uploader.css +1563 -0
  138. package/dist/collection/components/wm-uploader/wm-uploader.js +618 -0
  139. package/dist/collection/components/wm-wrapper/wm-wrapper.js +28 -0
  140. package/dist/collection/dev/button.js +0 -0
  141. package/dist/collection/dev/chart-small.js +56 -0
  142. package/dist/collection/dev/chart.js +18 -0
  143. package/dist/collection/dev/date-range.js +6 -0
  144. package/dist/collection/dev/datepicker.js +46 -0
  145. package/dist/collection/dev/file-list.js +16 -0
  146. package/dist/collection/dev/file.js +0 -0
  147. package/dist/collection/dev/input.js +6 -0
  148. package/dist/collection/dev/line-chart.js +0 -0
  149. package/dist/collection/dev/modal.js +48 -0
  150. package/dist/collection/dev/navigation.js +13 -0
  151. package/dist/collection/dev/navigator.js +34 -0
  152. package/dist/collection/dev/nested-select.js +36 -0
  153. package/dist/collection/dev/pagination.js +7 -0
  154. package/dist/collection/dev/progress-monitor.js +0 -0
  155. package/dist/collection/dev/pss-modal.js +8 -0
  156. package/dist/collection/dev/scripts.js +49 -0
  157. package/dist/collection/dev/search.js +72 -0
  158. package/dist/collection/dev/select.js +57 -0
  159. package/dist/collection/dev/snackbar.js +60 -0
  160. package/dist/collection/dev/tabs.js +44 -0
  161. package/dist/collection/dev/tag-input.js +32 -0
  162. package/dist/collection/dev/textarea.js +28 -0
  163. package/dist/collection/dev/timepicker.js +32 -0
  164. package/dist/collection/dev/toggletip.js +9 -0
  165. package/dist/collection/dev/uploader.js +139 -0
  166. package/dist/collection/global/__mocks__/functions.js +6 -0
  167. package/dist/collection/global/functions.js +825 -0
  168. package/dist/collection/global/global.js +88 -0
  169. package/dist/collection/global/interfaces.js +51 -0
  170. package/dist/collection/global/intl.js +274 -0
  171. package/dist/collection/global/services/__mocks__/http-service.js +130 -0
  172. package/dist/collection/global/services/http-service.js +50 -0
  173. package/dist/collection/lang/lang.js +5 -0
  174. package/dist/collection/lang/missing.js +43 -0
  175. package/dist/collection/lang/piglatin.js +101 -0
  176. package/dist/components/chartFunctions.js +714 -0
  177. package/dist/components/functions.js +10410 -0
  178. package/dist/components/index.js +91 -0
  179. package/dist/components/interfaces.js +34 -0
  180. package/dist/components/intl.js +277 -0
  181. package/dist/components/priv-calendar.js +6 -0
  182. package/dist/components/priv-calendar2.js +592 -0
  183. package/dist/components/priv-chart-popover.js +6 -0
  184. package/dist/components/priv-chart-popover2.js +154 -0
  185. package/dist/components/priv-navigator-button.js +6 -0
  186. package/dist/components/priv-navigator-button2.js +42 -0
  187. package/dist/components/priv-navigator-item.js +6 -0
  188. package/dist/components/priv-navigator-item2.js +49 -0
  189. package/dist/components/priv-option-list.js +6 -0
  190. package/dist/components/priv-option-list2.js +421 -0
  191. package/dist/components/wm-action-menu.js +6 -0
  192. package/dist/components/wm-action-menu2.js +231 -0
  193. package/dist/components/wm-button.js +6 -0
  194. package/dist/components/wm-button2.js +231 -0
  195. package/dist/components/wm-chart-slice.js +41 -0
  196. package/dist/components/wm-chart.js +197 -0
  197. package/dist/components/wm-date-range.js +522 -0
  198. package/dist/components/wm-datepicker.js +287 -0
  199. package/dist/components/wm-file-list.js +38 -0
  200. package/dist/components/wm-file.js +228 -0
  201. package/dist/components/wm-input.js +152 -0
  202. package/dist/components/wm-line-chart.js +497 -0
  203. package/dist/components/wm-menuitem.js +6 -0
  204. package/dist/components/wm-menuitem2.js +146 -0
  205. package/dist/components/wm-modal-footer.js +73 -0
  206. package/dist/components/wm-modal-header.js +61 -0
  207. package/dist/components/wm-modal-pss-footer.js +69 -0
  208. package/dist/components/wm-modal-pss-header.js +64 -0
  209. package/dist/components/wm-modal-pss.js +162 -0
  210. package/dist/components/wm-modal.js +161 -0
  211. package/dist/components/wm-navigation-hamburger.js +70 -0
  212. package/dist/components/wm-navigation-item.js +40 -0
  213. package/dist/components/wm-navigation.js +144 -0
  214. package/dist/components/wm-navigator.js +369 -0
  215. package/dist/components/wm-nested-select.js +343 -0
  216. package/dist/components/wm-optgroup.js +107 -0
  217. package/dist/components/wm-option.js +6 -0
  218. package/dist/components/wm-option2.js +196 -0
  219. package/dist/components/wm-pagination.js +251 -0
  220. package/dist/components/wm-progress-indicator.js +144 -0
  221. package/dist/components/wm-progress-monitor.js +93 -0
  222. package/dist/components/wm-progress-slice.js +37 -0
  223. package/dist/components/wm-search.js +250 -0
  224. package/dist/components/wm-select.js +6 -0
  225. package/dist/components/wm-select2.js +294 -0
  226. package/dist/components/wm-snackbar.js +210 -0
  227. package/dist/components/wm-tab-item.js +85 -0
  228. package/dist/components/wm-tab-list.js +217 -0
  229. package/dist/components/wm-tab-panel.js +52 -0
  230. package/dist/components/wm-tag-input.js +919 -0
  231. package/dist/components/wm-tag-option.js +63 -0
  232. package/dist/components/wm-textarea.js +113 -0
  233. package/dist/components/wm-timepicker.js +333 -0
  234. package/dist/components/wm-toggletip.js +200 -0
  235. package/dist/components/wm-uploader.js +348 -0
  236. package/dist/components/wm-wrapper.js +34 -0
  237. package/dist/esm/app-globals-9HoPoE5v.js +90 -0
  238. package/dist/esm/chartFunctions-BFCUD5JX.js +714 -0
  239. package/dist/esm/functions-ZDMCMR3o.js +10410 -0
  240. package/dist/esm/index-EopL5zo4.js +2071 -0
  241. package/dist/esm/index.js +1 -0
  242. package/dist/esm/interfaces-CyJHzEjr.js +34 -0
  243. package/dist/esm/intl-DYVRT1s6.js +277 -0
  244. package/dist/esm/loader.js +11 -0
  245. package/dist/esm/polyfills/core-js.js +11 -0
  246. package/dist/esm/polyfills/dom.js +79 -0
  247. package/dist/esm/polyfills/es5-html-element.js +1 -0
  248. package/dist/esm/polyfills/index.js +34 -0
  249. package/dist/esm/polyfills/system.js +6 -0
  250. package/dist/esm/priv-calendar.entry.js +566 -0
  251. package/dist/esm/priv-chart-popover.entry.js +134 -0
  252. package/dist/esm/priv-navigator-button_2.entry.js +51 -0
  253. package/dist/esm/priv-option-list_2.entry.js +553 -0
  254. package/dist/esm/ripple.js +21 -0
  255. package/dist/esm/wm-action-menu_4.entry.js +697 -0
  256. package/dist/esm/wm-chart-slice.entry.js +18 -0
  257. package/dist/esm/wm-chart.entry.js +157 -0
  258. package/dist/esm/wm-date-range.entry.js +477 -0
  259. package/dist/esm/wm-datepicker.entry.js +247 -0
  260. package/dist/esm/wm-file-list.entry.js +18 -0
  261. package/dist/esm/wm-file.entry.js +182 -0
  262. package/dist/esm/wm-input.entry.js +111 -0
  263. package/dist/esm/wm-line-chart.entry.js +449 -0
  264. package/dist/esm/wm-modal-footer.entry.js +44 -0
  265. package/dist/esm/wm-modal-header.entry.js +36 -0
  266. package/dist/esm/wm-modal-pss-footer.entry.js +40 -0
  267. package/dist/esm/wm-modal-pss-header.entry.js +39 -0
  268. package/dist/esm/wm-modal-pss.entry.js +135 -0
  269. package/dist/esm/wm-modal.entry.js +133 -0
  270. package/dist/esm/wm-navigation-hamburger.entry.js +48 -0
  271. package/dist/esm/wm-navigation-item.entry.js +18 -0
  272. package/dist/esm/wm-navigation.entry.js +116 -0
  273. package/dist/esm/wm-navigator.entry.js +327 -0
  274. package/dist/esm/wm-nested-select.entry.js +308 -0
  275. package/dist/esm/wm-optgroup.entry.js +68 -0
  276. package/dist/esm/wm-pagination.entry.js +223 -0
  277. package/dist/esm/wm-progress-indicator.entry.js +107 -0
  278. package/dist/esm/wm-progress-monitor.entry.js +71 -0
  279. package/dist/esm/wm-progress-slice.entry.js +13 -0
  280. package/dist/esm/wm-search.entry.js +208 -0
  281. package/dist/esm/wm-select.entry.js +249 -0
  282. package/dist/esm/wm-tab-item.entry.js +63 -0
  283. package/dist/esm/wm-tab-list.entry.js +175 -0
  284. package/dist/esm/wm-tab-panel.entry.js +32 -0
  285. package/dist/esm/wm-tag-input.entry.js +877 -0
  286. package/dist/esm/wm-tag-option.entry.js +35 -0
  287. package/dist/esm/wm-textarea.entry.js +79 -0
  288. package/dist/esm/wm-timepicker.entry.js +300 -0
  289. package/dist/esm/wm-toggletip.entry.js +176 -0
  290. package/dist/esm/wm-uploader.entry.js +313 -0
  291. package/dist/esm/wm-wrapper.entry.js +17 -0
  292. package/dist/esm-es5/app-globals-9HoPoE5v.js +1 -0
  293. package/dist/esm-es5/chartFunctions-BFCUD5JX.js +1 -0
  294. package/dist/esm-es5/functions-ZDMCMR3o.js +1 -0
  295. package/dist/esm-es5/index-EopL5zo4.js +1 -0
  296. package/dist/esm-es5/index.js +0 -0
  297. package/dist/esm-es5/interfaces-CyJHzEjr.js +1 -0
  298. package/dist/esm-es5/intl-DYVRT1s6.js +1 -0
  299. package/dist/esm-es5/loader.js +1 -0
  300. package/dist/esm-es5/priv-calendar.entry.js +1 -0
  301. package/dist/esm-es5/priv-chart-popover.entry.js +1 -0
  302. package/dist/esm-es5/priv-navigator-button_2.entry.js +1 -0
  303. package/dist/esm-es5/priv-option-list_2.entry.js +1 -0
  304. package/dist/esm-es5/ripple.js +1 -0
  305. package/dist/esm-es5/wm-action-menu_4.entry.js +1 -0
  306. package/dist/esm-es5/wm-chart-slice.entry.js +1 -0
  307. package/dist/esm-es5/wm-chart.entry.js +1 -0
  308. package/dist/esm-es5/wm-date-range.entry.js +1 -0
  309. package/dist/esm-es5/wm-datepicker.entry.js +1 -0
  310. package/dist/esm-es5/wm-file-list.entry.js +1 -0
  311. package/dist/esm-es5/wm-file.entry.js +1 -0
  312. package/dist/esm-es5/wm-input.entry.js +1 -0
  313. package/dist/esm-es5/wm-line-chart.entry.js +1 -0
  314. package/dist/esm-es5/wm-modal-footer.entry.js +1 -0
  315. package/dist/esm-es5/wm-modal-header.entry.js +1 -0
  316. package/dist/esm-es5/wm-modal-pss-footer.entry.js +1 -0
  317. package/dist/esm-es5/wm-modal-pss-header.entry.js +1 -0
  318. package/dist/esm-es5/wm-modal-pss.entry.js +1 -0
  319. package/dist/esm-es5/wm-modal.entry.js +1 -0
  320. package/dist/esm-es5/wm-navigation-hamburger.entry.js +1 -0
  321. package/dist/esm-es5/wm-navigation-item.entry.js +1 -0
  322. package/dist/esm-es5/wm-navigation.entry.js +1 -0
  323. package/dist/esm-es5/wm-navigator.entry.js +1 -0
  324. package/dist/esm-es5/wm-nested-select.entry.js +1 -0
  325. package/dist/esm-es5/wm-optgroup.entry.js +1 -0
  326. package/dist/esm-es5/wm-pagination.entry.js +1 -0
  327. package/dist/esm-es5/wm-progress-indicator.entry.js +1 -0
  328. package/dist/esm-es5/wm-progress-monitor.entry.js +1 -0
  329. package/dist/esm-es5/wm-progress-slice.entry.js +1 -0
  330. package/dist/esm-es5/wm-search.entry.js +1 -0
  331. package/dist/esm-es5/wm-select.entry.js +1 -0
  332. package/dist/esm-es5/wm-tab-item.entry.js +1 -0
  333. package/dist/esm-es5/wm-tab-list.entry.js +1 -0
  334. package/dist/esm-es5/wm-tab-panel.entry.js +1 -0
  335. package/dist/esm-es5/wm-tag-input.entry.js +1 -0
  336. package/dist/esm-es5/wm-tag-option.entry.js +1 -0
  337. package/dist/esm-es5/wm-textarea.entry.js +1 -0
  338. package/dist/esm-es5/wm-timepicker.entry.js +1 -0
  339. package/dist/esm-es5/wm-toggletip.entry.js +1 -0
  340. package/dist/esm-es5/wm-uploader.entry.js +1 -0
  341. package/dist/esm-es5/wm-wrapper.entry.js +1 -0
  342. package/dist/index.cjs.js +1 -0
  343. package/dist/index.js +1 -0
  344. package/dist/loader/cdn.js +2 -0
  345. package/dist/loader/index.cjs.js +2 -0
  346. package/dist/loader/index.d.ts +24 -0
  347. package/dist/loader/index.es2017.js +2 -0
  348. package/dist/loader/index.js +3 -0
  349. package/dist/ripple/index.esm.js +0 -0
  350. package/dist/ripple/p-032f127e.entry.js +1 -0
  351. package/dist/ripple/p-0bd43518.system.entry.js +1 -0
  352. package/dist/ripple/p-0dccd9b4.system.entry.js +1 -0
  353. package/dist/ripple/p-0dffa9ff.system.entry.js +1 -0
  354. package/dist/ripple/p-10d2b86e.entry.js +1 -0
  355. package/dist/ripple/p-1818d7f9.entry.js +1 -0
  356. package/dist/ripple/p-18d22114.system.entry.js +1 -0
  357. package/dist/ripple/p-1a769629.system.entry.js +1 -0
  358. package/dist/ripple/p-271ba485.system.entry.js +1 -0
  359. package/dist/ripple/p-2d41fbed.system.entry.js +1 -0
  360. package/dist/ripple/p-2f26b6ac.entry.js +1 -0
  361. package/dist/ripple/p-3065bbe5.system.entry.js +1 -0
  362. package/dist/ripple/p-306caa10.entry.js +1 -0
  363. package/dist/ripple/p-32f2f3b4.system.entry.js +1 -0
  364. package/dist/ripple/p-340b73a9.system.entry.js +1 -0
  365. package/dist/ripple/p-42f9cd3d.entry.js +1 -0
  366. package/dist/ripple/p-47b525bd.entry.js +1 -0
  367. package/dist/ripple/p-492a8a9f.entry.js +1 -0
  368. package/dist/ripple/p-4c316652.system.entry.js +1 -0
  369. package/dist/ripple/p-54aeadde.entry.js +1 -0
  370. package/dist/ripple/p-568e29d3.entry.js +1 -0
  371. package/dist/ripple/p-588a86ed.system.entry.js +1 -0
  372. package/dist/ripple/p-591fd100.entry.js +1 -0
  373. package/dist/ripple/p-5a6cbc14.system.entry.js +1 -0
  374. package/dist/ripple/p-5abe1171.system.entry.js +1 -0
  375. package/dist/ripple/p-5ae17300.system.entry.js +1 -0
  376. package/dist/ripple/p-5b02ae40.entry.js +1 -0
  377. package/dist/ripple/p-5e438798.system.entry.js +1 -0
  378. package/dist/ripple/p-5ed4177e.entry.js +1 -0
  379. package/dist/ripple/p-6133160d.system.entry.js +1 -0
  380. package/dist/ripple/p-620aff89.entry.js +1 -0
  381. package/dist/ripple/p-65db2c0f.entry.js +1 -0
  382. package/dist/ripple/p-70ed57bf.entry.js +1 -0
  383. package/dist/ripple/p-735d033a.entry.js +1 -0
  384. package/dist/ripple/p-74b1e110.entry.js +1 -0
  385. package/dist/ripple/p-77a8306c.entry.js +1 -0
  386. package/dist/ripple/p-7886fe5e.system.entry.js +1 -0
  387. package/dist/ripple/p-7ce09692.system.entry.js +1 -0
  388. package/dist/ripple/p-7cf1d9eb.system.entry.js +1 -0
  389. package/dist/ripple/p-7e786c28.system.entry.js +1 -0
  390. package/dist/ripple/p-812615ae.entry.js +1 -0
  391. package/dist/ripple/p-8a33538f.entry.js +1 -0
  392. package/dist/ripple/p-8b9c4e3e.entry.js +1 -0
  393. package/dist/ripple/p-90925ea9.entry.js +1 -0
  394. package/dist/ripple/p-959afdcf.entry.js +1 -0
  395. package/dist/ripple/p-997bdd2e.system.entry.js +1 -0
  396. package/dist/ripple/p-9db5f78e.entry.js +1 -0
  397. package/dist/ripple/p-BexWEx3U.system.js +1 -0
  398. package/dist/ripple/p-BgmAsS86.system.js +1 -0
  399. package/dist/ripple/p-Buh1DT2-.js +1 -0
  400. package/dist/ripple/p-CLZytLAw.system.js +1 -0
  401. package/dist/ripple/p-CTau6pR2.system.js +2 -0
  402. package/dist/ripple/p-CwkTkxrj.system.js +1 -0
  403. package/dist/ripple/p-CyJHzEjr.js +1 -0
  404. package/dist/ripple/p-DXsimRMV.js +1 -0
  405. package/dist/ripple/p-EopL5zo4.js +2 -0
  406. package/dist/ripple/p-GXdCI-yj.system.js +1 -0
  407. package/dist/ripple/p-UJrCrAlw.system.js +1 -0
  408. package/dist/ripple/p-YWpyar7R.system.js +1 -0
  409. package/dist/ripple/p-ZDMCMR3o.js +1 -0
  410. package/dist/ripple/p-b0b94ac4.system.entry.js +1 -0
  411. package/dist/ripple/p-b12640bd.entry.js +1 -0
  412. package/dist/ripple/p-b16431b0.system.entry.js +1 -0
  413. package/dist/ripple/p-b43cc69f.entry.js +1 -0
  414. package/dist/ripple/p-b4917824.entry.js +1 -0
  415. package/dist/ripple/p-b55babe1.system.entry.js +1 -0
  416. package/dist/ripple/p-ba48d47a.entry.js +1 -0
  417. package/dist/ripple/p-ba8ca46b.system.entry.js +1 -0
  418. package/dist/ripple/p-bee35fef.entry.js +1 -0
  419. package/dist/ripple/p-c273bb1c.system.entry.js +1 -0
  420. package/dist/ripple/p-cdebe76b.system.entry.js +1 -0
  421. package/dist/ripple/p-ce9634a2.entry.js +1 -0
  422. package/dist/ripple/p-d20ed498.entry.js +1 -0
  423. package/dist/ripple/p-d3e6498c.system.entry.js +1 -0
  424. package/dist/ripple/p-d40b6ef1.system.entry.js +1 -0
  425. package/dist/ripple/p-d4481342.system.entry.js +1 -0
  426. package/dist/ripple/p-d5bcab58.entry.js +1 -0
  427. package/dist/ripple/p-d7660e7d.entry.js +1 -0
  428. package/dist/ripple/p-d85f017a.system.entry.js +1 -0
  429. package/dist/ripple/p-da5ad94c.system.entry.js +1 -0
  430. package/dist/ripple/p-dcca5771.system.entry.js +1 -0
  431. package/dist/ripple/p-dd236f42.system.entry.js +1 -0
  432. package/dist/ripple/p-de33fd67.entry.js +1 -0
  433. package/dist/ripple/p-e0c9798d.system.entry.js +1 -0
  434. package/dist/ripple/p-e3700f4c.entry.js +1 -0
  435. package/dist/ripple/p-e901154b.entry.js +1 -0
  436. package/dist/ripple/p-e9fc862d.entry.js +1 -0
  437. package/dist/ripple/p-ea885cf3.system.entry.js +1 -0
  438. package/dist/ripple/p-f4c4218c.system.entry.js +1 -0
  439. package/dist/ripple/p-f57eb234.system.entry.js +1 -0
  440. package/dist/ripple/p-f858f5f9.system.entry.js +1 -0
  441. package/dist/ripple/p-f8721463.system.entry.js +1 -0
  442. package/dist/ripple/p-f881be15.entry.js +1 -0
  443. package/dist/ripple/p-f98949ad.entry.js +1 -0
  444. package/dist/ripple/p-fdcbcdf5.entry.js +1 -0
  445. package/dist/ripple/p-sXfORL9J.js +1 -0
  446. package/dist/ripple/ripple.css +1 -0
  447. package/dist/ripple/ripple.esm.js +1 -0
  448. package/dist/ripple/ripple.js +127 -0
  449. package/package.json +2 -2
  450. /package/dist/{types/test-setup.d.ts → collection/dev/action-menu.js} +0 -0
@@ -0,0 +1,559 @@
1
+ import { h, Host } from "@stencil/core";
2
+ import { intl, shouldOpenUp, toBool, handleDisabledAttribute } from "../../global/functions";
3
+ export class Timepicker {
4
+ constructor() {
5
+ this.disabled = false;
6
+ this.value = "";
7
+ this.label = "";
8
+ this.labelPosition = "top";
9
+ this.requiredField = false;
10
+ this.isExpanded = false;
11
+ this.twelveHrValid = /^(0?[0-9]|1[0-2])\s*:?\s*([0-5][0-9])?\s?(a|p|am|pm)?$/i;
12
+ this.twentyFourHrValid = /^(0?[0-9]|1[0-9]|2[0-4])\s*:?\s*([0-5][0-9])?$/;
13
+ this.timeFormat = "hh:mm";
14
+ this.times = this.generateTimeIntervals();
15
+ this.openUp = false;
16
+ this.buttonAriaLabel = intl.formatMessage({
17
+ id: "time.selectTime",
18
+ defaultMessage: "Select time",
19
+ description: "Button text for screen readers.",
20
+ });
21
+ }
22
+ get selectedOption() {
23
+ return this.optionsList.filter((option) => option.tabIndex === 0)[0];
24
+ }
25
+ get optionsList() {
26
+ return Array.from(this.optionsEl.querySelectorAll("li"));
27
+ }
28
+ get isDisabled() {
29
+ // string "false" needs to be treated as bool False because react wrappers convert bool to string.
30
+ return toBool(this.disabled);
31
+ }
32
+ async isValidTime(input) {
33
+ return this.isValidTimeInternal(input);
34
+ }
35
+ isValidTimeInternal(input) {
36
+ return this.twelveHrValid.test(input) || this.twentyFourHrValid.test(input);
37
+ }
38
+ async reformatTime(format, time) {
39
+ return this.reformatTimeInternal(format, time);
40
+ }
41
+ announce(message) {
42
+ if (this.liveRegionEl.textContent === message) {
43
+ message += "\u00A0";
44
+ }
45
+ this.liveRegionEl.textContent = message;
46
+ }
47
+ reformatTimeInternal(format, time) {
48
+ let [hours, minutes, amPm] = this.splitTime(time);
49
+ if (format === "12") {
50
+ if (hours === 12 && !amPm) {
51
+ amPm = "PM";
52
+ }
53
+ if (hours === 0 || hours === 24) {
54
+ hours = 12;
55
+ }
56
+ if (hours > 12) {
57
+ hours -= 12;
58
+ amPm = "PM";
59
+ }
60
+ if (amPm && amPm.toUpperCase().includes("P")) {
61
+ amPm = "PM";
62
+ }
63
+ else {
64
+ amPm = "AM";
65
+ }
66
+ return `${hours.toString().padStart(2, "0")}:${minutes} ${amPm}`;
67
+ }
68
+ else if (format === "24") {
69
+ if (hours === 24) {
70
+ hours = 0;
71
+ }
72
+ if (hours === 12 && amPm && amPm.toUpperCase().includes("A")) {
73
+ hours -= 12;
74
+ }
75
+ if (amPm && amPm.toUpperCase().includes("P") && hours !== 12) {
76
+ hours += 12;
77
+ }
78
+ return `${hours.toString().padStart(2, "0")}:${minutes}`;
79
+ }
80
+ else {
81
+ return time;
82
+ }
83
+ }
84
+ handleKey(ev) {
85
+ switch (ev.key) {
86
+ case "ArrowDown":
87
+ ev.preventDefault();
88
+ if (this.isExpanded === false) {
89
+ this.open("next");
90
+ }
91
+ else {
92
+ this.moveNext(this.selectedOption);
93
+ }
94
+ break;
95
+ case "ArrowUp":
96
+ ev.preventDefault();
97
+ if (this.isExpanded === false) {
98
+ this.open("previous");
99
+ }
100
+ else {
101
+ this.movePrevious(this.selectedOption);
102
+ }
103
+ break;
104
+ case "Enter":
105
+ case " ":
106
+ if (this.isExpanded) {
107
+ ev.preventDefault();
108
+ this.handleOptionClick(this.selectedOption.dataset.time);
109
+ }
110
+ break;
111
+ case "Escape":
112
+ ev.preventDefault();
113
+ if (this.isExpanded) {
114
+ ev.stopPropagation(); // for instance if select is in a modal, esc should close the select but not the modal
115
+ this.close();
116
+ }
117
+ break;
118
+ case "Tab":
119
+ if (this.isExpanded) {
120
+ this.close(false);
121
+ }
122
+ break;
123
+ case "Home":
124
+ ev.preventDefault();
125
+ if (this.isExpanded) {
126
+ this.focusOption(this.optionsList[0]);
127
+ }
128
+ break;
129
+ case "End":
130
+ ev.preventDefault();
131
+ if (this.isExpanded) {
132
+ this.focusOption(this.optionsList[this.optionsList.length - 1]);
133
+ }
134
+ break;
135
+ }
136
+ }
137
+ handleDisabledChange() {
138
+ handleDisabledAttribute(this.el, this.isDisabled);
139
+ }
140
+ handleValueChange() {
141
+ this.inputEl.value = this.value ? this.value : "";
142
+ }
143
+ announceError() {
144
+ if (this.errorMessage) {
145
+ setTimeout(() => this.announce(this.errorMessage), 100);
146
+ }
147
+ }
148
+ componentWillLoad() {
149
+ if (this.label === "") {
150
+ console.error("You must include a label prop for the timepicker (for accessibility reasons), even if the label position is none.");
151
+ }
152
+ this.timeFormat = intl.formatMessage({
153
+ id: "time.timeFormat",
154
+ defaultMessage: "hh:mm",
155
+ });
156
+ handleDisabledAttribute(this.el, this.isDisabled);
157
+ }
158
+ componentDidLoad() {
159
+ this.optionsEl.classList.add("hidden");
160
+ }
161
+ handleOptionClick(time) {
162
+ this.close();
163
+ this.wmTimepickerTimeSelected.emit({ time: time });
164
+ }
165
+ handleInputBlur() {
166
+ this.wmTimepickerInputBlurred.emit();
167
+ this.tpWrapper.classList.remove("focus");
168
+ }
169
+ generateTimeIntervals() {
170
+ let timeIntervals = [];
171
+ let startTime = 0;
172
+ for (let i = 0; startTime < 24 * 60; i++) {
173
+ const h = Math.floor(startTime / 60);
174
+ const hour = h.toString().padStart(2, "0");
175
+ const m = (startTime % 60).toString();
176
+ const min = m.padStart(2, "0");
177
+ timeIntervals[i] = `${hour}:${min}`;
178
+ startTime = startTime + 15;
179
+ }
180
+ return timeIntervals;
181
+ }
182
+ splitTime(time) {
183
+ const splitTime = this.twelveHrValid.exec(time) || this.twentyFourHrValid.exec(time);
184
+ let hours = parseInt(splitTime[1]);
185
+ let minutes = splitTime[2] || "00";
186
+ let amPm = splitTime ? splitTime[3] : undefined;
187
+ // handles edge case uncaught by regex '0pm'
188
+ if (hours === 0 && (amPm === null || amPm === void 0 ? void 0 : amPm.toUpperCase().includes("P"))) {
189
+ // if user types '0pm' we change it to midnight
190
+ amPm = "AM";
191
+ }
192
+ return [hours, minutes, amPm];
193
+ }
194
+ open(itemToSelect) {
195
+ this.openUp = shouldOpenUp(this.el, this.optionsEl.clientHeight);
196
+ this.isExpanded = true;
197
+ this.optionsEl.classList.remove("hidden");
198
+ // focus hierarchy: preselected prop -> parsed time -> 09:00
199
+ let focusOnOpenEl = this.optionsList[36]; // 09:00
200
+ if (this.preselected) {
201
+ focusOnOpenEl = this.optionsList.filter((option) => option.dataset.time == this.preselected)[0];
202
+ }
203
+ else if (this.isValidTimeInternal(this.value)) {
204
+ const nearestTime = this.findNearestTimeInterval(this.reformatTimeInternal("24", this.value));
205
+ focusOnOpenEl = this.optionsList.filter((option) => option.dataset.time == nearestTime)[0];
206
+ }
207
+ // position option in center of dropdown
208
+ this.optionsEl.scrollTop =
209
+ (this.optionsList.findIndex((x) => x.textContent === (focusOnOpenEl === null || focusOnOpenEl === void 0 ? void 0 : focusOnOpenEl.textContent)) - 2) *
210
+ focusOnOpenEl.offsetHeight;
211
+ this.focusOption(focusOnOpenEl);
212
+ window.requestAnimationFrame(() => {
213
+ if (itemToSelect === "next") {
214
+ this.moveNext(this.selectedOption);
215
+ }
216
+ else if (itemToSelect === "previous") {
217
+ this.movePrevious(this.selectedOption);
218
+ }
219
+ });
220
+ }
221
+ close(returnFocus = true) {
222
+ this.isExpanded = false;
223
+ window.setTimeout(() => {
224
+ this.optionsEl.classList.add("hidden");
225
+ // Returns focus to button after popup closes (no need if user is tabbing)
226
+ // Delay is necessary for screenreader to get new expanded state before focus
227
+ // window.requestAnimationFrame is probably enough, but since we are already using setTimeout it may as well be here
228
+ // also UX wise, it makes sense for the button to only be focused after the animation is complete
229
+ if (returnFocus) {
230
+ this.buttonEl.focus();
231
+ }
232
+ }, 150);
233
+ }
234
+ focusOption(item) {
235
+ this.optionsList.forEach((option) => {
236
+ option.tabIndex = -1;
237
+ });
238
+ item.tabIndex = 0;
239
+ item.scrollIntoView({ block: "nearest" });
240
+ item.focus();
241
+ }
242
+ movePrevious(optionEl) {
243
+ this.focusOption(optionEl.previousElementSibling
244
+ ? optionEl.previousElementSibling
245
+ : this.optionsList[this.optionsList.length - 1]);
246
+ }
247
+ moveNext(optionEl) {
248
+ this.focusOption(optionEl.nextElementSibling ? optionEl.nextElementSibling : this.optionsList[0]);
249
+ }
250
+ findNearestTimeInterval(time) {
251
+ // accepts time in 24hr format
252
+ const minutes = parseInt(time.slice(3, 5));
253
+ // first find the closest 15 min increment
254
+ if (minutes % 15 !== 0) {
255
+ const hour = parseInt(time.slice(0, 2));
256
+ let roundedMinutes = (Math.round(minutes / 15) * 15).toString().padStart(2, "0");
257
+ if (roundedMinutes === "60") {
258
+ roundedMinutes = "00";
259
+ let roundedHour = hour + 1;
260
+ if (roundedHour === 24) {
261
+ roundedHour = 0;
262
+ }
263
+ time = time.replace(`${hour.toString().padStart(2, "0")}:`, `${roundedHour.toString().padStart(2, "0")}:`);
264
+ }
265
+ if (parseInt(roundedMinutes) < 8) {
266
+ roundedMinutes = "00";
267
+ }
268
+ time = time.replace(`:${minutes.toString().padStart(2, "0")}`, `:${roundedMinutes}`);
269
+ }
270
+ return time;
271
+ }
272
+ renderOptions() {
273
+ return this.times.map((time, index) => (h("li", { id: `option${index + 1}`, "data-time": time, role: "option", onClick: () => this.handleOptionClick(time) }, this.reformatTimeInternal("12", time))));
274
+ }
275
+ render() {
276
+ return (h(Host, { key: '6c9babdf2a8237a46321cc7fbb9185f23b6e73ee', onBlur: () => this.close(false) }, h("div", { key: '214da15a53ada6e5e1dbfb2d1d6bf73d9e0231b2', class: `wrapper label-${this.labelPosition} ${!!this.errorMessage ? "invalid" : ""}`, ref: (t) => (this.tpWrapper = t) }, h("div", { key: '3179f94028e1645d63b047e33efe756cd337ce17', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: '9d490705cd32b26bf5de757e6fd5889473a7c4c4', id: "label", class: "label", htmlFor: "time-input" }, this.label, this.requiredField && (h("span", { key: '8e54d504e4ab76a03ef7a01cdf8e1fb161c37016', class: "required", "aria-hidden": "true" }, "*"))))), h("div", { key: '22b7b8c33679f6f7c194e9d3bc3c6794af4ddedd' }, h("div", { key: '4eb746fae7776b906053429059cec00c47ce31c4', class: "inner-wrapper" }, h("input", { key: '7f17b1dfedbf3d2f574247c0fa71b256ac094a79', id: "time-input", "aria-label": this.label, "aria-describedby": "error", ref: (el) => (this.inputEl = el), onBlur: () => this.handleInputBlur(), onInput: () => (this.value = this.inputEl.value), disabled: this.isDisabled, "aria-required": this.requiredField ? "true" : null, placeholder: this.timeFormat, autocomplete: "off", value: this.value, onFocus: () => this.tpWrapper.classList.add("focus") }), h("button", { key: '1c3f6a403417b9baa4e0f17644cac84d7d6ea1af', id: "btn", ref: (el) => (this.buttonEl = el), disabled: this.isDisabled, "aria-controls": "list", "aria-expanded": this.isExpanded ? "true" : "false", "aria-label": this.buttonAriaLabel, "aria-describedby": "time-input", onClick: () => (this.isExpanded ? this.close() : this.open()),
277
+ // This addresses an issue in Safari, where clicking buttons does not focus them
278
+ // if the button does not receive focus when clicked, Timepicker incorrectly emits a blur event
279
+ onMouseDown: (ev) => {
280
+ ev.preventDefault();
281
+ this.buttonEl.focus();
282
+ } }, h("span", { key: 'd679e16b6d81f07ecf96a76a5adac12ac41d75a0', class: "svg-icon svg-time" })), h("ul", { key: 'cc793abe39ce5de00299e8d03051424b43cd8bcc', class: `options ${this.isExpanded ? "open" : ""} ${this.openUp ? "upwards" : ""}`, id: "list", role: "listbox", "aria-labelledby": "label", "aria-describedby": this.isExpanded ? "collapsed" : null, tabindex: -1, ref: (el) => (this.optionsEl = el) }, this.renderOptions())), h("div", { key: '3a82aa292fe4d5bfa374d7bcdb8a22bf9f7b3e45', id: "error", class: "error" }, this.errorMessage)), h("div", { key: '11c037ef9b0e95bd6262a34cbdf86be79ef23beb', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }))));
283
+ }
284
+ static get is() { return "wm-timepicker"; }
285
+ static get encapsulation() { return "shadow"; }
286
+ static get delegatesFocus() { return true; }
287
+ static get originalStyleUrls() {
288
+ return {
289
+ "$": ["wm-timepicker.scss"]
290
+ };
291
+ }
292
+ static get styleUrls() {
293
+ return {
294
+ "$": ["wm-timepicker.css"]
295
+ };
296
+ }
297
+ static get properties() {
298
+ return {
299
+ "disabled": {
300
+ "type": "boolean",
301
+ "attribute": "disabled",
302
+ "mutable": false,
303
+ "complexType": {
304
+ "original": "boolean",
305
+ "resolved": "boolean",
306
+ "references": {}
307
+ },
308
+ "required": false,
309
+ "optional": false,
310
+ "docs": {
311
+ "tags": [],
312
+ "text": ""
313
+ },
314
+ "getter": false,
315
+ "setter": false,
316
+ "reflect": false,
317
+ "defaultValue": "false"
318
+ },
319
+ "value": {
320
+ "type": "string",
321
+ "attribute": "value",
322
+ "mutable": true,
323
+ "complexType": {
324
+ "original": "string",
325
+ "resolved": "string",
326
+ "references": {}
327
+ },
328
+ "required": false,
329
+ "optional": false,
330
+ "docs": {
331
+ "tags": [],
332
+ "text": ""
333
+ },
334
+ "getter": false,
335
+ "setter": false,
336
+ "reflect": false,
337
+ "defaultValue": "\"\""
338
+ },
339
+ "errorMessage": {
340
+ "type": "string",
341
+ "attribute": "error-message",
342
+ "mutable": false,
343
+ "complexType": {
344
+ "original": "string",
345
+ "resolved": "string | undefined",
346
+ "references": {}
347
+ },
348
+ "required": false,
349
+ "optional": true,
350
+ "docs": {
351
+ "tags": [],
352
+ "text": ""
353
+ },
354
+ "getter": false,
355
+ "setter": false,
356
+ "reflect": false
357
+ },
358
+ "label": {
359
+ "type": "string",
360
+ "attribute": "label",
361
+ "mutable": false,
362
+ "complexType": {
363
+ "original": "string",
364
+ "resolved": "string",
365
+ "references": {}
366
+ },
367
+ "required": false,
368
+ "optional": false,
369
+ "docs": {
370
+ "tags": [],
371
+ "text": ""
372
+ },
373
+ "getter": false,
374
+ "setter": false,
375
+ "reflect": false,
376
+ "defaultValue": "\"\""
377
+ },
378
+ "labelPosition": {
379
+ "type": "string",
380
+ "attribute": "label-position",
381
+ "mutable": false,
382
+ "complexType": {
383
+ "original": "\"top\" | \"left\" | \"none\"",
384
+ "resolved": "\"left\" | \"none\" | \"top\"",
385
+ "references": {}
386
+ },
387
+ "required": false,
388
+ "optional": false,
389
+ "docs": {
390
+ "tags": [],
391
+ "text": ""
392
+ },
393
+ "getter": false,
394
+ "setter": false,
395
+ "reflect": false,
396
+ "defaultValue": "\"top\""
397
+ },
398
+ "requiredField": {
399
+ "type": "boolean",
400
+ "attribute": "required-field",
401
+ "mutable": false,
402
+ "complexType": {
403
+ "original": "boolean",
404
+ "resolved": "boolean",
405
+ "references": {}
406
+ },
407
+ "required": false,
408
+ "optional": false,
409
+ "docs": {
410
+ "tags": [],
411
+ "text": ""
412
+ },
413
+ "getter": false,
414
+ "setter": false,
415
+ "reflect": false,
416
+ "defaultValue": "false"
417
+ },
418
+ "preselected": {
419
+ "type": "string",
420
+ "attribute": "preselected",
421
+ "mutable": false,
422
+ "complexType": {
423
+ "original": "string",
424
+ "resolved": "string | undefined",
425
+ "references": {}
426
+ },
427
+ "required": false,
428
+ "optional": true,
429
+ "docs": {
430
+ "tags": [],
431
+ "text": ""
432
+ },
433
+ "getter": false,
434
+ "setter": false,
435
+ "reflect": false
436
+ }
437
+ };
438
+ }
439
+ static get states() {
440
+ return {
441
+ "isExpanded": {}
442
+ };
443
+ }
444
+ static get events() {
445
+ return [{
446
+ "method": "wmTimepickerInputBlurred",
447
+ "name": "wmTimepickerInputBlurred",
448
+ "bubbles": true,
449
+ "cancelable": true,
450
+ "composed": true,
451
+ "docs": {
452
+ "tags": [],
453
+ "text": ""
454
+ },
455
+ "complexType": {
456
+ "original": "any",
457
+ "resolved": "any",
458
+ "references": {}
459
+ }
460
+ }, {
461
+ "method": "wmTimepickerTimeSelected",
462
+ "name": "wmTimepickerTimeSelected",
463
+ "bubbles": true,
464
+ "cancelable": true,
465
+ "composed": true,
466
+ "docs": {
467
+ "tags": [],
468
+ "text": ""
469
+ },
470
+ "complexType": {
471
+ "original": "any",
472
+ "resolved": "any",
473
+ "references": {}
474
+ }
475
+ }];
476
+ }
477
+ static get methods() {
478
+ return {
479
+ "isValidTime": {
480
+ "complexType": {
481
+ "signature": "(input: string) => Promise<boolean>",
482
+ "parameters": [{
483
+ "name": "input",
484
+ "type": "string",
485
+ "docs": ""
486
+ }],
487
+ "references": {
488
+ "Promise": {
489
+ "location": "global",
490
+ "id": "global::Promise"
491
+ }
492
+ },
493
+ "return": "Promise<boolean>"
494
+ },
495
+ "docs": {
496
+ "text": "",
497
+ "tags": []
498
+ }
499
+ },
500
+ "reformatTime": {
501
+ "complexType": {
502
+ "signature": "(format: \"12\" | \"24\", time: TimeFormat12 | TimeFormat24) => Promise<string>",
503
+ "parameters": [{
504
+ "name": "format",
505
+ "type": "\"12\" | \"24\"",
506
+ "docs": ""
507
+ }, {
508
+ "name": "time",
509
+ "type": "string",
510
+ "docs": ""
511
+ }],
512
+ "references": {
513
+ "Promise": {
514
+ "location": "global",
515
+ "id": "global::Promise"
516
+ },
517
+ "TimeFormat12": {
518
+ "location": "import",
519
+ "path": "../../global/interfaces",
520
+ "id": "src/global/interfaces.ts::TimeFormat12"
521
+ },
522
+ "TimeFormat24": {
523
+ "location": "import",
524
+ "path": "../../global/interfaces",
525
+ "id": "src/global/interfaces.ts::TimeFormat24"
526
+ }
527
+ },
528
+ "return": "Promise<string>"
529
+ },
530
+ "docs": {
531
+ "text": "",
532
+ "tags": []
533
+ }
534
+ }
535
+ };
536
+ }
537
+ static get elementRef() { return "el"; }
538
+ static get watchers() {
539
+ return [{
540
+ "propName": "disabled",
541
+ "methodName": "handleDisabledChange"
542
+ }, {
543
+ "propName": "value",
544
+ "methodName": "handleValueChange"
545
+ }, {
546
+ "propName": "errorMessage",
547
+ "methodName": "announceError"
548
+ }];
549
+ }
550
+ static get listeners() {
551
+ return [{
552
+ "name": "keydown",
553
+ "method": "handleKey",
554
+ "target": undefined,
555
+ "capture": false,
556
+ "passive": false
557
+ }];
558
+ }
559
+ }