@watermarkinsights/ripple 5.14.0-alpha.0 → 5.14.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 (451) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/app-globals-fe68e4ad.js +92 -0
  3. package/dist/cjs/chartFunctions-781589c1.js +742 -0
  4. package/dist/cjs/functions-c7404c42.js +10531 -0
  5. package/dist/cjs/index-788526f5.js +1863 -0
  6. package/dist/cjs/index.cjs.js +2 -0
  7. package/dist/cjs/interfaces-85d78ae9.js +37 -0
  8. package/dist/cjs/intl-88adb57d.js +283 -0
  9. package/dist/cjs/loader.cjs.js +15 -0
  10. package/dist/cjs/priv-calendar.cjs.entry.js +574 -0
  11. package/dist/cjs/priv-chart-popover.cjs.entry.js +140 -0
  12. package/dist/cjs/priv-navigator-button.cjs.entry.js +29 -0
  13. package/dist/cjs/priv-navigator-item.cjs.entry.js +35 -0
  14. package/dist/cjs/priv-option-list.cjs.entry.js +393 -0
  15. package/dist/cjs/ripple.cjs.js +25 -0
  16. package/dist/cjs/wm-action-menu_2.cjs.entry.js +335 -0
  17. package/dist/cjs/wm-button.cjs.entry.js +207 -0
  18. package/dist/cjs/wm-chart-slice.cjs.entry.js +27 -0
  19. package/dist/cjs/wm-chart.cjs.entry.js +163 -0
  20. package/dist/cjs/wm-date-range.cjs.entry.js +484 -0
  21. package/dist/cjs/wm-datepicker.cjs.entry.js +254 -0
  22. package/dist/cjs/wm-file-list.cjs.entry.js +23 -0
  23. package/dist/cjs/wm-file.cjs.entry.js +194 -0
  24. package/dist/cjs/wm-flyout.cjs.entry.js +180 -0
  25. package/dist/cjs/wm-input.cjs.entry.js +125 -0
  26. package/dist/cjs/wm-line-chart.cjs.entry.js +461 -0
  27. package/dist/cjs/wm-modal-pss_3.cjs.entry.js +217 -0
  28. package/dist/cjs/wm-modal_3.cjs.entry.js +217 -0
  29. package/dist/cjs/wm-navigation_3.cjs.entry.js +188 -0
  30. package/dist/cjs/wm-navigator.cjs.entry.js +327 -0
  31. package/dist/cjs/wm-nested-select.cjs.entry.js +315 -0
  32. package/dist/cjs/wm-optgroup.cjs.entry.js +74 -0
  33. package/dist/cjs/wm-option_2.cjs.entry.js +427 -0
  34. package/dist/cjs/wm-pagination.cjs.entry.js +228 -0
  35. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +204 -0
  36. package/dist/cjs/wm-search.cjs.entry.js +194 -0
  37. package/dist/cjs/wm-snackbar.cjs.entry.js +189 -0
  38. package/dist/cjs/wm-tab-item_3.cjs.entry.js +263 -0
  39. package/dist/cjs/wm-tag-input.cjs.entry.js +892 -0
  40. package/dist/cjs/wm-tag-option.cjs.entry.js +43 -0
  41. package/dist/cjs/wm-textarea.cjs.entry.js +88 -0
  42. package/dist/cjs/wm-timepicker.cjs.entry.js +307 -0
  43. package/dist/cjs/wm-toggletip.cjs.entry.js +183 -0
  44. package/dist/cjs/wm-uploader.cjs.entry.js +325 -0
  45. package/dist/cjs/wm-wrapper.cjs.entry.js +21 -0
  46. package/dist/collection/collection-manifest.json +197 -0
  47. package/dist/collection/components/charts/chartFunctions.js +675 -0
  48. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +922 -0
  49. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +257 -0
  50. package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +125 -0
  51. package/dist/collection/components/charts/wm-chart/wm-chart.css +1288 -0
  52. package/dist/collection/components/charts/wm-chart/wm-chart.js +422 -0
  53. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.css +1080 -0
  54. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +723 -0
  55. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.css +1288 -0
  56. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +264 -0
  57. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.css +922 -0
  58. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +151 -0
  59. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +121 -0
  60. package/dist/collection/components/datepickers/datepicker.css +1057 -0
  61. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +1292 -0
  62. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +840 -0
  63. package/dist/collection/components/datepickers/wm-date-range.js +849 -0
  64. package/dist/collection/components/datepickers/wm-datepicker.js +524 -0
  65. package/dist/collection/components/selects/priv-option-list/priv-option-list.css +931 -0
  66. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +780 -0
  67. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +1194 -0
  68. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +620 -0
  69. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.css +843 -0
  70. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +258 -0
  71. package/dist/collection/components/selects/wm-option/wm-option.css +944 -0
  72. package/dist/collection/components/selects/wm-option/wm-option.js +530 -0
  73. package/dist/collection/components/selects/wm-select/wm-select.css +1117 -0
  74. package/dist/collection/components/selects/wm-select/wm-select.js +584 -0
  75. package/dist/collection/components/wm-action-menu/wm-action-menu.css +904 -0
  76. package/dist/collection/components/wm-action-menu/wm-action-menu.js +435 -0
  77. package/dist/collection/components/wm-button/wm-button.css +1371 -0
  78. package/dist/collection/components/wm-button/wm-button.js +489 -0
  79. package/dist/collection/components/wm-file/wm-file.css +940 -0
  80. package/dist/collection/components/wm-file/wm-file.js +412 -0
  81. package/dist/collection/components/wm-file-list/wm-file-list.css +833 -0
  82. package/dist/collection/components/wm-file-list/wm-file-list.js +45 -0
  83. package/dist/collection/components/wm-flyout/wm-flyout.css +1027 -0
  84. package/dist/collection/components/wm-flyout/wm-flyout.js +448 -0
  85. package/dist/collection/components/wm-input/wm-input.css +1017 -0
  86. package/dist/collection/components/wm-input/wm-input.js +471 -0
  87. package/dist/collection/components/wm-menuitem/wm-menuitem.css +904 -0
  88. package/dist/collection/components/wm-menuitem/wm-menuitem.js +419 -0
  89. package/dist/collection/components/wm-modal/wm-modal-footer.css +858 -0
  90. package/dist/collection/components/wm-modal/wm-modal-footer.js +142 -0
  91. package/dist/collection/components/wm-modal/wm-modal-header.css +857 -0
  92. package/dist/collection/components/wm-modal/wm-modal-header.js +79 -0
  93. package/dist/collection/components/wm-modal/wm-modal.css +905 -0
  94. package/dist/collection/components/wm-modal/wm-modal.js +350 -0
  95. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.css +865 -0
  96. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +138 -0
  97. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.css +859 -0
  98. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +82 -0
  99. package/dist/collection/components/wm-modal-pss/wm-modal-pss.css +941 -0
  100. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +362 -0
  101. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.css +860 -0
  102. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +119 -0
  103. package/dist/collection/components/wm-navigation/wm-navigation-item.css +869 -0
  104. package/dist/collection/components/wm-navigation/wm-navigation-item.js +98 -0
  105. package/dist/collection/components/wm-navigation/wm-navigation.css +911 -0
  106. package/dist/collection/components/wm-navigation/wm-navigation.js +190 -0
  107. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +863 -0
  108. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +86 -0
  109. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.css +843 -0
  110. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +124 -0
  111. package/dist/collection/components/wm-navigator/wm-navigator.css +916 -0
  112. package/dist/collection/components/wm-navigator/wm-navigator.js +496 -0
  113. package/dist/collection/components/wm-pagination/wm-pagination.css +984 -0
  114. package/dist/collection/components/wm-pagination/wm-pagination.js +363 -0
  115. package/dist/collection/components/wm-search/wm-search.css +909 -0
  116. package/dist/collection/components/wm-search/wm-search.js +427 -0
  117. package/dist/collection/components/wm-snackbar/wm-snackbar.css +1091 -0
  118. package/dist/collection/components/wm-snackbar/wm-snackbar.js +276 -0
  119. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +882 -0
  120. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +175 -0
  121. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.css +854 -0
  122. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +273 -0
  123. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.css +838 -0
  124. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +87 -0
  125. package/dist/collection/components/wm-tag-input/wm-tag-input.css +1289 -0
  126. package/dist/collection/components/wm-tag-input/wm-tag-input.js +1227 -0
  127. package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +243 -0
  128. package/dist/collection/components/wm-textarea/wm-textarea.css +993 -0
  129. package/dist/collection/components/wm-textarea/wm-textarea.js +313 -0
  130. package/dist/collection/components/wm-timepicker/wm-timepicker.css +1107 -0
  131. package/dist/collection/components/wm-timepicker/wm-timepicker.js +547 -0
  132. package/dist/collection/components/wm-toggletip/wm-toggletip.css +1165 -0
  133. package/dist/collection/components/wm-toggletip/wm-toggletip.js +289 -0
  134. package/dist/collection/components/wm-uploader/wm-uploader.css +1673 -0
  135. package/dist/collection/components/wm-uploader/wm-uploader.js +603 -0
  136. package/dist/collection/components/wm-wrapper/wm-wrapper.js +28 -0
  137. package/dist/collection/dev/button.js +0 -0
  138. package/dist/collection/dev/chart-small.js +56 -0
  139. package/dist/collection/dev/chart.js +18 -0
  140. package/dist/collection/dev/date-range.js +6 -0
  141. package/dist/collection/dev/datepicker.js +46 -0
  142. package/dist/collection/dev/file-list.js +16 -0
  143. package/dist/collection/dev/file.js +0 -0
  144. package/dist/collection/dev/flyout.js +194 -0
  145. package/dist/collection/dev/input.js +6 -0
  146. package/dist/collection/dev/line-chart.js +0 -0
  147. package/dist/collection/dev/modal.js +48 -0
  148. package/dist/collection/dev/navigation.js +13 -0
  149. package/dist/collection/dev/navigator.js +34 -0
  150. package/dist/collection/dev/nested-select.js +36 -0
  151. package/dist/collection/dev/pagination.js +7 -0
  152. package/dist/collection/dev/progress-monitor.js +0 -0
  153. package/dist/collection/dev/pss-modal.js +8 -0
  154. package/dist/collection/dev/scripts.js +49 -0
  155. package/dist/collection/dev/search.js +72 -0
  156. package/dist/collection/dev/select.js +57 -0
  157. package/dist/collection/dev/snackbar.js +60 -0
  158. package/dist/collection/dev/tabs.js +44 -0
  159. package/dist/collection/dev/tag-input.js +32 -0
  160. package/dist/collection/dev/textarea.js +28 -0
  161. package/dist/collection/dev/timepicker.js +32 -0
  162. package/dist/collection/dev/toggletip.js +9 -0
  163. package/dist/collection/dev/uploader.js +139 -0
  164. package/dist/collection/global/__mocks__/functions.js +6 -0
  165. package/dist/collection/global/functions.js +841 -0
  166. package/dist/{components/index.js → collection/global/global.js} +2 -52
  167. package/dist/{components → collection/global}/interfaces.js +4 -6
  168. package/dist/collection/global/intl.js +274 -0
  169. package/dist/collection/global/services/__mocks__/http-service.js +130 -0
  170. package/dist/collection/global/services/http-service.js +50 -0
  171. package/dist/collection/lang/lang.js +5 -0
  172. package/dist/collection/lang/missing.js +43 -0
  173. package/dist/collection/lang/piglatin.js +101 -0
  174. package/dist/esm/app-globals-09d4d8c1.js +90 -0
  175. package/dist/{components/chartFunctions.js → esm/chartFunctions-246aabf9.js} +17 -7
  176. package/dist/{components/functions.js → esm/functions-aad18286.js} +938 -7913
  177. package/dist/esm/index-130e07bb.js +1832 -0
  178. package/dist/esm/index.js +1 -0
  179. package/dist/esm/interfaces-cc5b177f.js +34 -0
  180. package/dist/{components/intl.js → esm/intl-c8686c73.js} +1 -1
  181. package/dist/esm/loader.js +11 -0
  182. package/dist/esm/polyfills/core-js.js +11 -0
  183. package/dist/esm/polyfills/dom.js +79 -0
  184. package/dist/esm/polyfills/es5-html-element.js +1 -0
  185. package/dist/esm/polyfills/index.js +34 -0
  186. package/dist/esm/polyfills/system.js +6 -0
  187. package/dist/esm/priv-calendar.entry.js +570 -0
  188. package/dist/esm/priv-chart-popover.entry.js +136 -0
  189. package/dist/esm/priv-navigator-button.entry.js +25 -0
  190. package/dist/esm/priv-navigator-item.entry.js +31 -0
  191. package/dist/esm/priv-option-list.entry.js +389 -0
  192. package/dist/esm/ripple.js +20 -0
  193. package/dist/esm/wm-action-menu_2.entry.js +330 -0
  194. package/dist/esm/wm-button.entry.js +203 -0
  195. package/dist/esm/wm-chart-slice.entry.js +23 -0
  196. package/dist/esm/wm-chart.entry.js +159 -0
  197. package/dist/esm/wm-date-range.entry.js +480 -0
  198. package/dist/esm/wm-datepicker.entry.js +250 -0
  199. package/dist/esm/wm-file-list.entry.js +19 -0
  200. package/dist/esm/wm-file.entry.js +190 -0
  201. package/dist/esm/wm-flyout.entry.js +176 -0
  202. package/dist/{components/wm-progress-monitor.js → esm/wm-input.entry.js} +107 -79
  203. package/dist/esm/wm-line-chart.entry.js +457 -0
  204. package/dist/esm/wm-modal-pss_3.entry.js +211 -0
  205. package/dist/esm/wm-modal_3.entry.js +211 -0
  206. package/dist/esm/wm-navigation_3.entry.js +182 -0
  207. package/dist/esm/wm-navigator.entry.js +323 -0
  208. package/dist/esm/wm-nested-select.entry.js +311 -0
  209. package/dist/esm/wm-optgroup.entry.js +70 -0
  210. package/dist/esm/wm-option_2.entry.js +422 -0
  211. package/dist/esm/wm-pagination.entry.js +224 -0
  212. package/dist/esm/wm-progress-indicator_3.entry.js +198 -0
  213. package/dist/esm/wm-search.entry.js +190 -0
  214. package/dist/esm/wm-snackbar.entry.js +185 -0
  215. package/dist/esm/wm-tab-item_3.entry.js +257 -0
  216. package/dist/esm/wm-tag-input.entry.js +888 -0
  217. package/dist/esm/wm-tag-option.entry.js +39 -0
  218. package/dist/esm/wm-textarea.entry.js +84 -0
  219. package/dist/esm/wm-timepicker.entry.js +303 -0
  220. package/dist/esm/wm-toggletip.entry.js +179 -0
  221. package/dist/esm/wm-uploader.entry.js +321 -0
  222. package/dist/esm/wm-wrapper.entry.js +17 -0
  223. package/dist/esm-es5/app-globals-09d4d8c1.js +1 -0
  224. package/dist/esm-es5/chartFunctions-246aabf9.js +1 -0
  225. package/dist/esm-es5/functions-aad18286.js +1 -0
  226. package/dist/esm-es5/index-130e07bb.js +1 -0
  227. package/dist/esm-es5/index.js +0 -0
  228. package/dist/esm-es5/interfaces-cc5b177f.js +1 -0
  229. package/dist/esm-es5/intl-c8686c73.js +1 -0
  230. package/dist/esm-es5/loader.js +1 -0
  231. package/dist/{components/wm-button2.js → esm-es5/priv-calendar.entry.js} +1 -231
  232. package/dist/esm-es5/priv-chart-popover.entry.js +1 -0
  233. package/dist/esm-es5/priv-navigator-button.entry.js +1 -0
  234. package/dist/esm-es5/priv-navigator-item.entry.js +1 -0
  235. package/dist/esm-es5/priv-option-list.entry.js +1 -0
  236. package/dist/esm-es5/ripple.js +1 -0
  237. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -0
  238. package/dist/esm-es5/wm-button.entry.js +1 -0
  239. package/dist/esm-es5/wm-chart-slice.entry.js +1 -0
  240. package/dist/esm-es5/wm-chart.entry.js +1 -0
  241. package/dist/esm-es5/wm-date-range.entry.js +1 -0
  242. package/dist/{components/wm-progress-indicator.js → esm-es5/wm-datepicker.entry.js} +1 -144
  243. package/dist/esm-es5/wm-file-list.entry.js +1 -0
  244. package/dist/{components/wm-modal-pss-footer.js → esm-es5/wm-file.entry.js} +1 -69
  245. package/dist/esm-es5/wm-flyout.entry.js +1 -0
  246. package/dist/{components/wm-navigation-item.js → esm-es5/wm-input.entry.js} +1 -40
  247. package/dist/esm-es5/wm-line-chart.entry.js +1 -0
  248. package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -0
  249. package/dist/esm-es5/wm-modal_3.entry.js +1 -0
  250. package/dist/esm-es5/wm-navigation_3.entry.js +1 -0
  251. package/dist/{components/wm-navigation-hamburger.js → esm-es5/wm-navigator.entry.js} +1 -70
  252. package/dist/esm-es5/wm-nested-select.entry.js +1 -0
  253. package/dist/esm-es5/wm-optgroup.entry.js +1 -0
  254. package/dist/esm-es5/wm-option_2.entry.js +1 -0
  255. package/dist/esm-es5/wm-pagination.entry.js +1 -0
  256. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -0
  257. package/dist/esm-es5/wm-search.entry.js +1 -0
  258. package/dist/{components/wm-toggletip.js → esm-es5/wm-snackbar.entry.js} +1 -200
  259. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -0
  260. package/dist/esm-es5/wm-tag-input.entry.js +1 -0
  261. package/dist/esm-es5/wm-tag-option.entry.js +1 -0
  262. package/dist/esm-es5/wm-textarea.entry.js +1 -0
  263. package/dist/esm-es5/wm-timepicker.entry.js +1 -0
  264. package/dist/esm-es5/wm-toggletip.entry.js +1 -0
  265. package/dist/esm-es5/wm-uploader.entry.js +1 -0
  266. package/dist/esm-es5/wm-wrapper.entry.js +1 -0
  267. package/dist/index.cjs.js +1 -0
  268. package/dist/index.js +1 -0
  269. package/dist/loader/cdn.js +2 -0
  270. package/dist/loader/index.cjs.js +2 -0
  271. package/dist/loader/index.d.ts +24 -0
  272. package/dist/loader/index.es2017.js +2 -0
  273. package/dist/loader/index.js +3 -0
  274. package/dist/loader/package.json +11 -0
  275. package/dist/ripple/index.esm.js +0 -0
  276. package/dist/ripple/p-02634e13.entry.js +1 -0
  277. package/dist/ripple/p-043901ab.system.entry.js +1 -0
  278. package/dist/ripple/p-0494eb2c.system.js +1 -0
  279. package/dist/ripple/p-07318072.system.entry.js +1 -0
  280. package/dist/{components/priv-navigator-button2.js → ripple/p-07a4b825.entry.js} +1 -42
  281. package/dist/ripple/p-09cc1991.system.js +1 -0
  282. package/dist/ripple/p-0a4a2582.system.entry.js +1 -0
  283. package/dist/ripple/p-0be3f364.entry.js +1 -0
  284. package/dist/ripple/p-1111367a.system.entry.js +1 -0
  285. package/dist/ripple/p-13b1d775.entry.js +1 -0
  286. package/dist/ripple/p-1a0c51ee.system.entry.js +1 -0
  287. package/dist/ripple/p-2732bddd.js +1 -0
  288. package/dist/ripple/p-2785c796.entry.js +1 -0
  289. package/dist/ripple/p-2af01e17.system.entry.js +1 -0
  290. package/dist/{components/priv-calendar2.js → ripple/p-2c954741.system.entry.js} +1 -592
  291. package/dist/ripple/p-2e8211ba.system.entry.js +1 -0
  292. package/dist/ripple/p-366193d0.system.entry.js +1 -0
  293. package/dist/ripple/p-42fa7a77.system.js +1 -0
  294. package/dist/ripple/p-496564b3.entry.js +1 -0
  295. package/dist/{components/priv-option-list2.js → ripple/p-4eaab96c.system.entry.js} +1 -421
  296. package/dist/ripple/p-501aa9b9.entry.js +1 -0
  297. package/dist/ripple/p-50ea2036.system.js +1 -0
  298. package/dist/{components/wm-snackbar.js → ripple/p-58361d0e.system.entry.js} +1 -202
  299. package/dist/ripple/p-5acc08cd.system.entry.js +1 -0
  300. package/dist/ripple/p-66e539e2.entry.js +1 -0
  301. package/dist/ripple/p-678483ca.entry.js +1 -0
  302. package/dist/{components/wm-chart.js → ripple/p-67f7aa48.system.entry.js} +1 -197
  303. package/dist/{components/wm-input.js → ripple/p-68b63f21.entry.js} +1 -152
  304. package/dist/{components/wm-modal-footer.js → ripple/p-6b41644b.entry.js} +1 -73
  305. package/dist/ripple/p-6d0b3395.entry.js +1 -0
  306. package/dist/ripple/p-6d99517c.system.entry.js +1 -0
  307. package/dist/ripple/p-6e7c833c.system.js +1 -0
  308. package/dist/ripple/p-703841a3.entry.js +1 -0
  309. package/dist/ripple/p-70c6d33e.system.entry.js +1 -0
  310. package/dist/ripple/p-723254b6.js +1 -0
  311. package/dist/ripple/p-73081234.entry.js +1 -0
  312. package/dist/ripple/p-7360ce37.entry.js +1 -0
  313. package/dist/ripple/p-7a6f535f.system.entry.js +1 -0
  314. package/dist/ripple/p-7fc313a9.js +1 -0
  315. package/dist/ripple/p-823d7b4e.system.entry.js +1 -0
  316. package/dist/ripple/p-86bd3990.system.entry.js +1 -0
  317. package/dist/ripple/p-8cd81897.system.entry.js +1 -0
  318. package/dist/ripple/p-8ea25e54.system.js +1 -0
  319. package/dist/ripple/p-91785165.entry.js +1 -0
  320. package/dist/ripple/p-936e4fc3.entry.js +1 -0
  321. package/dist/ripple/p-948173a2.system.entry.js +1 -0
  322. package/dist/{components/wm-file.js → ripple/p-94ef3015.entry.js} +1 -228
  323. package/dist/ripple/p-9bfe715c.system.entry.js +1 -0
  324. package/dist/ripple/p-a58ae308.system.entry.js +1 -0
  325. package/dist/{components/wm-optgroup.js → ripple/p-a5bdcf1b.entry.js} +1 -107
  326. package/dist/{components/wm-modal.js → ripple/p-a81d3859.entry.js} +1 -161
  327. package/dist/ripple/p-b254cdce.entry.js +1 -0
  328. package/dist/ripple/p-b26f4852.entry.js +1 -0
  329. package/dist/ripple/p-b55bb2ab.entry.js +1 -0
  330. package/dist/ripple/p-b65b9b4c.entry.js +1 -0
  331. package/dist/ripple/p-bbb37d6e.entry.js +1 -0
  332. package/dist/ripple/p-bf8e69a3.js +1 -0
  333. package/dist/ripple/p-c234c194.system.js +1 -0
  334. package/dist/ripple/p-c3ab1c4b.system.entry.js +1 -0
  335. package/dist/ripple/p-c8ef0086.entry.js +1 -0
  336. package/dist/ripple/p-c94ce42f.js +1 -0
  337. package/dist/{components/wm-modal-pss.js → ripple/p-ca6bf276.entry.js} +1 -162
  338. package/dist/{components/wm-timepicker.js → ripple/p-cbfb44b5.system.entry.js} +1 -333
  339. package/dist/ripple/p-cd0cc88d.entry.js +1 -0
  340. package/dist/ripple/p-cd5c59ef.system.entry.js +1 -0
  341. package/dist/ripple/p-cef8a45b.system.js +2 -0
  342. package/dist/ripple/p-d332cc27.system.entry.js +1 -0
  343. package/dist/ripple/p-d3adbf48.system.entry.js +1 -0
  344. package/dist/ripple/p-d4f082db.system.entry.js +1 -0
  345. package/dist/ripple/p-d837c7d4.entry.js +1 -0
  346. package/dist/ripple/p-d9da0502.js +2 -0
  347. package/dist/ripple/p-de13b15f.system.entry.js +1 -0
  348. package/dist/ripple/p-de5b5ff0.system.entry.js +1 -0
  349. package/dist/ripple/p-e156c0c2.entry.js +1 -0
  350. package/dist/ripple/p-e455876c.system.entry.js +1 -0
  351. package/dist/ripple/p-e9c4ed97.entry.js +1 -0
  352. package/dist/ripple/p-eb74d85f.entry.js +1 -0
  353. package/dist/ripple/p-ed5dfa29.entry.js +1 -0
  354. package/dist/ripple/p-ee4026e0.system.entry.js +1 -0
  355. package/dist/ripple/p-f1b36057.entry.js +1 -0
  356. package/dist/ripple/p-f37094fe.system.entry.js +1 -0
  357. package/dist/ripple/p-f912ce26.system.entry.js +1 -0
  358. package/dist/ripple/p-fadea131.entry.js +1 -0
  359. package/dist/ripple/p-ff650269.system.entry.js +1 -0
  360. package/dist/ripple/ripple.esm.js +1 -0
  361. package/dist/ripple/ripple.js +127 -0
  362. package/dist/types/components/wm-flyout/wm-flyout.d.ts +47 -0
  363. package/dist/types/components.d.ts +56 -0
  364. package/dist/types/global/functions.d.ts +1 -0
  365. package/dist/types/stencil-public-runtime.d.ts +0 -28
  366. package/package.json +3 -4
  367. package/dist/components/index.d.ts +0 -33
  368. package/dist/components/priv-calendar.d.ts +0 -11
  369. package/dist/components/priv-calendar.js +0 -6
  370. package/dist/components/priv-chart-popover.d.ts +0 -11
  371. package/dist/components/priv-chart-popover.js +0 -6
  372. package/dist/components/priv-chart-popover2.js +0 -154
  373. package/dist/components/priv-navigator-button.d.ts +0 -11
  374. package/dist/components/priv-navigator-button.js +0 -6
  375. package/dist/components/priv-navigator-item.d.ts +0 -11
  376. package/dist/components/priv-navigator-item.js +0 -6
  377. package/dist/components/priv-navigator-item2.js +0 -49
  378. package/dist/components/priv-option-list.d.ts +0 -11
  379. package/dist/components/priv-option-list.js +0 -6
  380. package/dist/components/wm-action-menu.d.ts +0 -11
  381. package/dist/components/wm-action-menu.js +0 -6
  382. package/dist/components/wm-action-menu2.js +0 -231
  383. package/dist/components/wm-button.d.ts +0 -11
  384. package/dist/components/wm-button.js +0 -6
  385. package/dist/components/wm-chart-slice.d.ts +0 -11
  386. package/dist/components/wm-chart-slice.js +0 -41
  387. package/dist/components/wm-chart.d.ts +0 -11
  388. package/dist/components/wm-date-range.d.ts +0 -11
  389. package/dist/components/wm-date-range.js +0 -522
  390. package/dist/components/wm-datepicker.d.ts +0 -11
  391. package/dist/components/wm-datepicker.js +0 -287
  392. package/dist/components/wm-file-list.d.ts +0 -11
  393. package/dist/components/wm-file-list.js +0 -38
  394. package/dist/components/wm-file.d.ts +0 -11
  395. package/dist/components/wm-input.d.ts +0 -11
  396. package/dist/components/wm-line-chart.d.ts +0 -11
  397. package/dist/components/wm-line-chart.js +0 -497
  398. package/dist/components/wm-menuitem.d.ts +0 -11
  399. package/dist/components/wm-menuitem.js +0 -6
  400. package/dist/components/wm-menuitem2.js +0 -146
  401. package/dist/components/wm-modal-footer.d.ts +0 -11
  402. package/dist/components/wm-modal-header.d.ts +0 -11
  403. package/dist/components/wm-modal-header.js +0 -61
  404. package/dist/components/wm-modal-pss-footer.d.ts +0 -11
  405. package/dist/components/wm-modal-pss-header.d.ts +0 -11
  406. package/dist/components/wm-modal-pss-header.js +0 -64
  407. package/dist/components/wm-modal-pss.d.ts +0 -11
  408. package/dist/components/wm-modal.d.ts +0 -11
  409. package/dist/components/wm-navigation-hamburger.d.ts +0 -11
  410. package/dist/components/wm-navigation-item.d.ts +0 -11
  411. package/dist/components/wm-navigation.d.ts +0 -11
  412. package/dist/components/wm-navigation.js +0 -144
  413. package/dist/components/wm-navigator.d.ts +0 -11
  414. package/dist/components/wm-navigator.js +0 -410
  415. package/dist/components/wm-nested-select.d.ts +0 -11
  416. package/dist/components/wm-nested-select.js +0 -343
  417. package/dist/components/wm-optgroup.d.ts +0 -11
  418. package/dist/components/wm-option.d.ts +0 -11
  419. package/dist/components/wm-option.js +0 -6
  420. package/dist/components/wm-option2.js +0 -196
  421. package/dist/components/wm-pagination.d.ts +0 -11
  422. package/dist/components/wm-pagination.js +0 -251
  423. package/dist/components/wm-progress-indicator.d.ts +0 -11
  424. package/dist/components/wm-progress-monitor.d.ts +0 -11
  425. package/dist/components/wm-progress-slice.d.ts +0 -11
  426. package/dist/components/wm-progress-slice.js +0 -37
  427. package/dist/components/wm-search.d.ts +0 -11
  428. package/dist/components/wm-search.js +0 -250
  429. package/dist/components/wm-select.d.ts +0 -11
  430. package/dist/components/wm-select.js +0 -6
  431. package/dist/components/wm-select2.js +0 -294
  432. package/dist/components/wm-snackbar.d.ts +0 -11
  433. package/dist/components/wm-tab-item.d.ts +0 -11
  434. package/dist/components/wm-tab-item.js +0 -85
  435. package/dist/components/wm-tab-list.d.ts +0 -11
  436. package/dist/components/wm-tab-list.js +0 -217
  437. package/dist/components/wm-tab-panel.d.ts +0 -11
  438. package/dist/components/wm-tab-panel.js +0 -52
  439. package/dist/components/wm-tag-input.d.ts +0 -11
  440. package/dist/components/wm-tag-input.js +0 -919
  441. package/dist/components/wm-tag-option.d.ts +0 -11
  442. package/dist/components/wm-tag-option.js +0 -63
  443. package/dist/components/wm-textarea.d.ts +0 -11
  444. package/dist/components/wm-textarea.js +0 -113
  445. package/dist/components/wm-timepicker.d.ts +0 -11
  446. package/dist/components/wm-toggletip.d.ts +0 -11
  447. package/dist/components/wm-uploader.d.ts +0 -11
  448. package/dist/components/wm-uploader.js +0 -348
  449. package/dist/components/wm-wrapper.d.ts +0 -11
  450. package/dist/components/wm-wrapper.js +0 -34
  451. /package/dist/{types/test-setup.d.ts → collection/dev/action-menu.js} +0 -0
@@ -0,0 +1,547 @@
1
+ import { h, Host } from "@stencil/core";
2
+ import { intl, shouldOpenUp, toBool, handleDisabledAttribute } from "../../global/functions";
3
+ export class Timepicker {
4
+ constructor() {
5
+ this.twelveHrValid = /^(0?[0-9]|1[0-2])\s*:?\s*([0-5][0-9])?\s?(a|p|am|pm)?$/i;
6
+ this.twentyFourHrValid = /^(0?[0-9]|1[0-9]|2[0-4])\s*:?\s*([0-5][0-9])?$/;
7
+ this.timeFormat = "hh:mm";
8
+ this.times = this.generateTimeIntervals();
9
+ this.openUp = false;
10
+ this.buttonAriaLabel = intl.formatMessage({
11
+ id: "time.selectTime",
12
+ defaultMessage: "Select time",
13
+ description: "Button text for screen readers.",
14
+ });
15
+ this.disabled = false;
16
+ this.value = "";
17
+ this.errorMessage = undefined;
18
+ this.label = "";
19
+ this.labelPosition = "top";
20
+ this.requiredField = false;
21
+ this.preselected = undefined;
22
+ this.isExpanded = false;
23
+ }
24
+ get selectedOption() {
25
+ return this.optionsList.filter((option) => option.tabIndex === 0)[0];
26
+ }
27
+ get optionsList() {
28
+ return Array.from(this.optionsEl.querySelectorAll("li"));
29
+ }
30
+ get isDisabled() {
31
+ // string "false" needs to be treated as bool False because react wrappers convert bool to string.
32
+ return toBool(this.disabled);
33
+ }
34
+ async isValidTime(input) {
35
+ return this.isValidTimeInternal(input);
36
+ }
37
+ isValidTimeInternal(input) {
38
+ return this.twelveHrValid.test(input) || this.twentyFourHrValid.test(input);
39
+ }
40
+ async reformatTime(format, time) {
41
+ return this.reformatTimeInternal(format, time);
42
+ }
43
+ announce(message) {
44
+ if (this.liveRegionEl.textContent === message) {
45
+ message += "\u00A0";
46
+ }
47
+ this.liveRegionEl.textContent = message;
48
+ }
49
+ reformatTimeInternal(format, time) {
50
+ let [hours, minutes, amPm] = this.splitTime(time);
51
+ if (format === "12") {
52
+ if (hours === 12 && !amPm) {
53
+ amPm = "PM";
54
+ }
55
+ if (hours === 0 || hours === 24) {
56
+ hours = 12;
57
+ }
58
+ if (hours > 12) {
59
+ hours -= 12;
60
+ amPm = "PM";
61
+ }
62
+ if (amPm && amPm.toUpperCase().includes("P")) {
63
+ amPm = "PM";
64
+ }
65
+ else {
66
+ amPm = "AM";
67
+ }
68
+ return `${hours.toString().padStart(2, "0")}:${minutes} ${amPm}`;
69
+ }
70
+ else if (format === "24") {
71
+ if (hours === 24) {
72
+ hours = 0;
73
+ }
74
+ if (hours === 12 && amPm && amPm.toUpperCase().includes("A")) {
75
+ hours -= 12;
76
+ }
77
+ if (amPm && amPm.toUpperCase().includes("P") && hours !== 12) {
78
+ hours += 12;
79
+ }
80
+ return `${hours.toString().padStart(2, "0")}:${minutes}`;
81
+ }
82
+ else {
83
+ return time;
84
+ }
85
+ }
86
+ handleKey(ev) {
87
+ switch (ev.key) {
88
+ case "ArrowDown":
89
+ ev.preventDefault();
90
+ if (this.isExpanded === false) {
91
+ this.open("next");
92
+ }
93
+ else {
94
+ this.moveNext(this.selectedOption);
95
+ }
96
+ break;
97
+ case "ArrowUp":
98
+ ev.preventDefault();
99
+ if (this.isExpanded === false) {
100
+ this.open("previous");
101
+ }
102
+ else {
103
+ this.movePrevious(this.selectedOption);
104
+ }
105
+ break;
106
+ case "Enter":
107
+ case " ":
108
+ if (this.isExpanded) {
109
+ ev.preventDefault();
110
+ this.handleOptionClick(this.selectedOption.dataset.time);
111
+ }
112
+ break;
113
+ case "Escape":
114
+ ev.preventDefault();
115
+ if (this.isExpanded) {
116
+ ev.stopPropagation(); // for instance if select is in a modal, esc should close the select but not the modal
117
+ this.close();
118
+ }
119
+ break;
120
+ case "Tab":
121
+ if (this.isExpanded) {
122
+ this.close(false);
123
+ }
124
+ break;
125
+ case "Home":
126
+ ev.preventDefault();
127
+ if (this.isExpanded) {
128
+ this.focusOption(this.optionsList[0]);
129
+ }
130
+ break;
131
+ case "End":
132
+ ev.preventDefault();
133
+ if (this.isExpanded) {
134
+ this.focusOption(this.optionsList[this.optionsList.length - 1]);
135
+ }
136
+ break;
137
+ }
138
+ }
139
+ handleDisabledChange() {
140
+ handleDisabledAttribute(this.el, this.isDisabled);
141
+ }
142
+ handleValueChange() {
143
+ this.inputEl.value = this.value ? this.value : "";
144
+ }
145
+ announceError() {
146
+ if (this.errorMessage) {
147
+ setTimeout(() => this.announce(this.errorMessage), 100);
148
+ }
149
+ }
150
+ componentWillLoad() {
151
+ if (this.label === "") {
152
+ console.error("You must include a label prop for the timepicker (for accessibility reasons), even if the label position is none.");
153
+ }
154
+ this.timeFormat = intl.formatMessage({
155
+ id: "time.timeFormat",
156
+ defaultMessage: "hh:mm",
157
+ });
158
+ handleDisabledAttribute(this.el, this.isDisabled);
159
+ }
160
+ componentDidLoad() {
161
+ this.optionsEl.classList.add("hidden");
162
+ }
163
+ handleOptionClick(time) {
164
+ this.close();
165
+ this.wmTimepickerTimeSelected.emit({ time: time });
166
+ }
167
+ handleInputBlur() {
168
+ this.wmTimepickerInputBlurred.emit();
169
+ this.tpWrapper.classList.remove("focus");
170
+ }
171
+ generateTimeIntervals() {
172
+ let timeIntervals = [];
173
+ let startTime = 0;
174
+ for (let i = 0; startTime < 24 * 60; i++) {
175
+ const h = Math.floor(startTime / 60);
176
+ const hour = h.toString().padStart(2, "0");
177
+ const m = (startTime % 60).toString();
178
+ const min = m.padStart(2, "0");
179
+ timeIntervals[i] = `${hour}:${min}`;
180
+ startTime = startTime + 15;
181
+ }
182
+ return timeIntervals;
183
+ }
184
+ splitTime(time) {
185
+ const splitTime = this.twelveHrValid.exec(time) || this.twentyFourHrValid.exec(time);
186
+ let hours = parseInt(splitTime[1]);
187
+ let minutes = splitTime[2] || "00";
188
+ let amPm = splitTime ? splitTime[3] : undefined;
189
+ // handles edge case uncaught by regex '0pm'
190
+ if (hours === 0 && (amPm === null || amPm === void 0 ? void 0 : amPm.toUpperCase().includes("P"))) {
191
+ // if user types '0pm' we change it to midnight
192
+ amPm = "AM";
193
+ }
194
+ return [hours, minutes, amPm];
195
+ }
196
+ open(itemToSelect) {
197
+ this.openUp = shouldOpenUp(this.el, this.optionsEl.clientHeight);
198
+ this.isExpanded = true;
199
+ this.optionsEl.classList.remove("hidden");
200
+ // focus hierarchy: preselected prop -> parsed time -> 09:00
201
+ let focusOnOpenEl = this.optionsList[36]; // 09:00
202
+ if (this.preselected) {
203
+ focusOnOpenEl = this.optionsList.filter((option) => option.dataset.time == this.preselected)[0];
204
+ }
205
+ else if (this.isValidTimeInternal(this.value)) {
206
+ const nearestTime = this.findNearestTimeInterval(this.reformatTimeInternal("24", this.value));
207
+ focusOnOpenEl = this.optionsList.filter((option) => option.dataset.time == nearestTime)[0];
208
+ }
209
+ // position option in center of dropdown
210
+ this.optionsEl.scrollTop =
211
+ (this.optionsList.findIndex((x) => x.textContent === (focusOnOpenEl === null || focusOnOpenEl === void 0 ? void 0 : focusOnOpenEl.textContent)) - 2) *
212
+ focusOnOpenEl.offsetHeight;
213
+ this.focusOption(focusOnOpenEl);
214
+ window.requestAnimationFrame(() => {
215
+ if (itemToSelect === "next") {
216
+ this.moveNext(this.selectedOption);
217
+ }
218
+ else if (itemToSelect === "previous") {
219
+ this.movePrevious(this.selectedOption);
220
+ }
221
+ });
222
+ }
223
+ close(returnFocus = true) {
224
+ this.isExpanded = false;
225
+ window.setTimeout(() => {
226
+ this.optionsEl.classList.add("hidden");
227
+ // Returns focus to button after popup closes (no need if user is tabbing)
228
+ // Delay is necessary for screenreader to get new expanded state before focus
229
+ // window.requestAnimationFrame is probably enough, but since we are already using setTimeout it may as well be here
230
+ // also UX wise, it makes sense for the button to only be focused after the animation is complete
231
+ if (returnFocus) {
232
+ this.buttonEl.focus();
233
+ }
234
+ }, 150);
235
+ }
236
+ focusOption(item) {
237
+ this.optionsList.forEach((option) => {
238
+ option.tabIndex = -1;
239
+ });
240
+ item.tabIndex = 0;
241
+ item.scrollIntoView({ block: "nearest" });
242
+ item.focus();
243
+ }
244
+ movePrevious(optionEl) {
245
+ this.focusOption(optionEl.previousElementSibling
246
+ ? optionEl.previousElementSibling
247
+ : this.optionsList[this.optionsList.length - 1]);
248
+ }
249
+ moveNext(optionEl) {
250
+ this.focusOption(optionEl.nextElementSibling ? optionEl.nextElementSibling : this.optionsList[0]);
251
+ }
252
+ findNearestTimeInterval(time) {
253
+ // accepts time in 24hr format
254
+ const minutes = parseInt(time.slice(3, 5));
255
+ // first find the closest 15 min increment
256
+ if (minutes % 15 !== 0) {
257
+ const hour = parseInt(time.slice(0, 2));
258
+ let roundedMinutes = (Math.round(minutes / 15) * 15).toString().padStart(2, "0");
259
+ if (roundedMinutes === "60") {
260
+ roundedMinutes = "00";
261
+ let roundedHour = hour + 1;
262
+ if (roundedHour === 24) {
263
+ roundedHour = 0;
264
+ }
265
+ time = time.replace(`${hour.toString().padStart(2, "0")}:`, `${roundedHour.toString().padStart(2, "0")}:`);
266
+ }
267
+ if (parseInt(roundedMinutes) < 8) {
268
+ roundedMinutes = "00";
269
+ }
270
+ time = time.replace(`:${minutes.toString().padStart(2, "0")}`, `:${roundedMinutes}`);
271
+ }
272
+ return time;
273
+ }
274
+ renderOptions() {
275
+ 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))));
276
+ }
277
+ render() {
278
+ return (h(Host, { key: '75c58eb3889b4608731626a626c3e258d0ec847f', onBlur: () => this.close(false) }, h("div", { key: 'ca41df7312aee146f9bba55a014db11a4bc7bdca', class: `wrapper label-${this.labelPosition} ${!!this.errorMessage ? "invalid" : ""}`, ref: (t) => (this.tpWrapper = t) }, h("div", { key: '9b23e549863796691cd801d1f7dc4aa2647cd500', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: '0a2962b5f6012d7e574a7514c754fd50c6d799a3', id: "label", class: "label", htmlFor: "time-input" }, this.label, this.requiredField && (h("span", { key: '4dd27ce330c1576bcd95c414686504e843b7f383', class: "required", "aria-hidden": "true" }, "*"))))), h("div", { key: 'f25c696ee97660f53339083b8fd8350c6fef3709' }, h("div", { key: '09a6c2e7d95170af417bfb9ec25ba8a57532d666', class: "inner-wrapper" }, h("input", { key: 'c5ab576ef84f9909530fd0ab04f634019ce8ac9a', 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: '9669a42ba3897487e8c5ba2096ccbd69431ed6d0', 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()),
279
+ // This addresses an issue in Safari, where clicking buttons does not focus them
280
+ // if the button does not receive focus when clicked, Timepicker incorrectly emits a blur event
281
+ onMouseDown: (ev) => {
282
+ ev.preventDefault();
283
+ this.buttonEl.focus();
284
+ } }, h("span", { key: '1895dd0bb547ff6538c7c9c71ef908789cf0a063', class: "svg-icon svg-time" })), h("ul", { key: 'ff29ad47af475536ee5ff28b331d119a1a62d34f', 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: '1bfc84ec0632852c000dc94ef8e63ec55689174e', id: "error", class: "error" }, this.errorMessage)), h("div", { key: 'd7c1b581e3441cadeb547f29399aee7412011670', id: "live-polite", class: "sr-only", "aria-live": "polite", "aria-atomic": "true", ref: (el) => (this.liveRegionEl = el) }))));
285
+ }
286
+ static get is() { return "wm-timepicker"; }
287
+ static get encapsulation() { return "shadow"; }
288
+ static get delegatesFocus() { return true; }
289
+ static get originalStyleUrls() {
290
+ return {
291
+ "$": ["wm-timepicker.scss"]
292
+ };
293
+ }
294
+ static get styleUrls() {
295
+ return {
296
+ "$": ["wm-timepicker.css"]
297
+ };
298
+ }
299
+ static get properties() {
300
+ return {
301
+ "disabled": {
302
+ "type": "boolean",
303
+ "mutable": false,
304
+ "complexType": {
305
+ "original": "boolean",
306
+ "resolved": "boolean",
307
+ "references": {}
308
+ },
309
+ "required": false,
310
+ "optional": false,
311
+ "docs": {
312
+ "tags": [],
313
+ "text": ""
314
+ },
315
+ "attribute": "disabled",
316
+ "reflect": false,
317
+ "defaultValue": "false"
318
+ },
319
+ "value": {
320
+ "type": "string",
321
+ "mutable": true,
322
+ "complexType": {
323
+ "original": "string",
324
+ "resolved": "string",
325
+ "references": {}
326
+ },
327
+ "required": false,
328
+ "optional": false,
329
+ "docs": {
330
+ "tags": [],
331
+ "text": ""
332
+ },
333
+ "attribute": "value",
334
+ "reflect": false,
335
+ "defaultValue": "\"\""
336
+ },
337
+ "errorMessage": {
338
+ "type": "string",
339
+ "mutable": false,
340
+ "complexType": {
341
+ "original": "string",
342
+ "resolved": "string | undefined",
343
+ "references": {}
344
+ },
345
+ "required": false,
346
+ "optional": true,
347
+ "docs": {
348
+ "tags": [],
349
+ "text": ""
350
+ },
351
+ "attribute": "error-message",
352
+ "reflect": false
353
+ },
354
+ "label": {
355
+ "type": "string",
356
+ "mutable": false,
357
+ "complexType": {
358
+ "original": "string",
359
+ "resolved": "string",
360
+ "references": {}
361
+ },
362
+ "required": false,
363
+ "optional": false,
364
+ "docs": {
365
+ "tags": [],
366
+ "text": ""
367
+ },
368
+ "attribute": "label",
369
+ "reflect": false,
370
+ "defaultValue": "\"\""
371
+ },
372
+ "labelPosition": {
373
+ "type": "string",
374
+ "mutable": false,
375
+ "complexType": {
376
+ "original": "\"top\" | \"left\" | \"none\"",
377
+ "resolved": "\"left\" | \"none\" | \"top\"",
378
+ "references": {}
379
+ },
380
+ "required": false,
381
+ "optional": false,
382
+ "docs": {
383
+ "tags": [],
384
+ "text": ""
385
+ },
386
+ "attribute": "label-position",
387
+ "reflect": false,
388
+ "defaultValue": "\"top\""
389
+ },
390
+ "requiredField": {
391
+ "type": "boolean",
392
+ "mutable": false,
393
+ "complexType": {
394
+ "original": "boolean",
395
+ "resolved": "boolean",
396
+ "references": {}
397
+ },
398
+ "required": false,
399
+ "optional": false,
400
+ "docs": {
401
+ "tags": [],
402
+ "text": ""
403
+ },
404
+ "attribute": "required-field",
405
+ "reflect": false,
406
+ "defaultValue": "false"
407
+ },
408
+ "preselected": {
409
+ "type": "string",
410
+ "mutable": false,
411
+ "complexType": {
412
+ "original": "string",
413
+ "resolved": "string | undefined",
414
+ "references": {}
415
+ },
416
+ "required": false,
417
+ "optional": true,
418
+ "docs": {
419
+ "tags": [],
420
+ "text": ""
421
+ },
422
+ "attribute": "preselected",
423
+ "reflect": false
424
+ }
425
+ };
426
+ }
427
+ static get states() {
428
+ return {
429
+ "isExpanded": {}
430
+ };
431
+ }
432
+ static get events() {
433
+ return [{
434
+ "method": "wmTimepickerInputBlurred",
435
+ "name": "wmTimepickerInputBlurred",
436
+ "bubbles": true,
437
+ "cancelable": true,
438
+ "composed": true,
439
+ "docs": {
440
+ "tags": [],
441
+ "text": ""
442
+ },
443
+ "complexType": {
444
+ "original": "any",
445
+ "resolved": "any",
446
+ "references": {}
447
+ }
448
+ }, {
449
+ "method": "wmTimepickerTimeSelected",
450
+ "name": "wmTimepickerTimeSelected",
451
+ "bubbles": true,
452
+ "cancelable": true,
453
+ "composed": true,
454
+ "docs": {
455
+ "tags": [],
456
+ "text": ""
457
+ },
458
+ "complexType": {
459
+ "original": "any",
460
+ "resolved": "any",
461
+ "references": {}
462
+ }
463
+ }];
464
+ }
465
+ static get methods() {
466
+ return {
467
+ "isValidTime": {
468
+ "complexType": {
469
+ "signature": "(input: string) => Promise<boolean>",
470
+ "parameters": [{
471
+ "name": "input",
472
+ "type": "string",
473
+ "docs": ""
474
+ }],
475
+ "references": {
476
+ "Promise": {
477
+ "location": "global",
478
+ "id": "global::Promise"
479
+ }
480
+ },
481
+ "return": "Promise<boolean>"
482
+ },
483
+ "docs": {
484
+ "text": "",
485
+ "tags": []
486
+ }
487
+ },
488
+ "reformatTime": {
489
+ "complexType": {
490
+ "signature": "(format: \"12\" | \"24\", time: TimeFormat12 | TimeFormat24) => Promise<string>",
491
+ "parameters": [{
492
+ "name": "format",
493
+ "type": "\"12\" | \"24\"",
494
+ "docs": ""
495
+ }, {
496
+ "name": "time",
497
+ "type": "string",
498
+ "docs": ""
499
+ }],
500
+ "references": {
501
+ "Promise": {
502
+ "location": "global",
503
+ "id": "global::Promise"
504
+ },
505
+ "TimeFormat12": {
506
+ "location": "import",
507
+ "path": "../../global/interfaces",
508
+ "id": "src/global/interfaces.ts::TimeFormat12"
509
+ },
510
+ "TimeFormat24": {
511
+ "location": "import",
512
+ "path": "../../global/interfaces",
513
+ "id": "src/global/interfaces.ts::TimeFormat24"
514
+ }
515
+ },
516
+ "return": "Promise<string>"
517
+ },
518
+ "docs": {
519
+ "text": "",
520
+ "tags": []
521
+ }
522
+ }
523
+ };
524
+ }
525
+ static get elementRef() { return "el"; }
526
+ static get watchers() {
527
+ return [{
528
+ "propName": "disabled",
529
+ "methodName": "handleDisabledChange"
530
+ }, {
531
+ "propName": "value",
532
+ "methodName": "handleValueChange"
533
+ }, {
534
+ "propName": "errorMessage",
535
+ "methodName": "announceError"
536
+ }];
537
+ }
538
+ static get listeners() {
539
+ return [{
540
+ "name": "keydown",
541
+ "method": "handleKey",
542
+ "target": undefined,
543
+ "capture": false,
544
+ "passive": false
545
+ }];
546
+ }
547
+ }