@watermarkinsights/ripple 5.12.0-9 → 5.13.0-alpha.1

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 (431) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -1
  3. package/dist/{esm/chartFunctions-1478f4db.js → components/chartFunctions.js} +31 -11
  4. package/dist/components/functions.js +17465 -0
  5. package/dist/components/index.d.ts +33 -0
  6. package/dist/{collection/global/global.js → components/index.js} +52 -2
  7. package/dist/{collection/global → components}/interfaces.js +6 -4
  8. package/dist/{esm/intl-6426ba51.js → components/intl.js} +104 -2
  9. package/dist/components/priv-calendar.d.ts +11 -0
  10. package/dist/components/priv-calendar.js +6 -0
  11. package/dist/{esm/priv-calendar.entry.js → components/priv-calendar2.js} +38 -16
  12. package/dist/components/priv-chart-popover.d.ts +11 -0
  13. package/dist/components/priv-chart-popover.js +6 -0
  14. package/dist/{esm/priv-chart-popover.entry.js → components/priv-chart-popover2.js} +30 -12
  15. package/dist/components/priv-navigator-button.d.ts +11 -0
  16. package/dist/components/priv-navigator-button.js +6 -0
  17. package/dist/{esm/priv-navigator-button.entry.js → components/priv-navigator-button2.js} +26 -9
  18. package/dist/components/priv-navigator-item.d.ts +11 -0
  19. package/dist/components/priv-navigator-item.js +6 -0
  20. package/dist/{esm/priv-navigator-item.entry.js → components/priv-navigator-item2.js} +27 -9
  21. package/dist/components/priv-option-list.d.ts +11 -0
  22. package/dist/components/priv-option-list.js +6 -0
  23. package/dist/{esm/priv-option-list.entry.js → components/priv-option-list2.js} +63 -68
  24. package/dist/components/wm-action-menu.d.ts +11 -0
  25. package/dist/components/wm-action-menu.js +6 -0
  26. package/dist/{cjs/wm-pagination.cjs.entry.js → components/wm-action-menu2.js} +216 -161
  27. package/dist/components/wm-button.d.ts +11 -0
  28. package/dist/components/wm-button.js +6 -0
  29. package/dist/{esm/wm-button.entry.js → components/wm-button2.js} +48 -20
  30. package/dist/components/wm-chart-slice.d.ts +11 -0
  31. package/dist/components/wm-chart-slice.js +41 -0
  32. package/dist/components/wm-chart.d.ts +11 -0
  33. package/dist/{esm/wm-chart.entry.js → components/wm-chart.js} +70 -25
  34. package/dist/components/wm-date-range.d.ts +11 -0
  35. package/dist/{esm/wm-date-range.entry.js → components/wm-date-range.js} +79 -26
  36. package/dist/components/wm-datepicker.d.ts +11 -0
  37. package/dist/{esm/wm-datepicker.entry.js → components/wm-datepicker.js} +53 -16
  38. package/dist/components/wm-file-list.d.ts +11 -0
  39. package/dist/{esm/wm-file-list.entry.js → components/wm-file-list.js} +28 -9
  40. package/dist/components/wm-file.d.ts +11 -0
  41. package/dist/{esm/wm-file.entry.js → components/wm-file.js} +58 -20
  42. package/dist/components/wm-input.d.ts +11 -0
  43. package/dist/{esm/wm-input.entry.js → components/wm-input.js} +53 -22
  44. package/dist/components/wm-line-chart.d.ts +11 -0
  45. package/dist/{esm/wm-line-chart.entry.js → components/wm-line-chart.js} +77 -36
  46. package/dist/components/wm-menuitem.d.ts +11 -0
  47. package/dist/components/wm-menuitem.js +6 -0
  48. package/dist/{cjs/wm-optgroup.cjs.entry.js → components/wm-menuitem2.js} +130 -58
  49. package/dist/components/wm-modal-footer.d.ts +11 -0
  50. package/dist/components/wm-modal-footer.js +73 -0
  51. package/dist/components/wm-modal-header.d.ts +11 -0
  52. package/dist/components/wm-modal-header.js +61 -0
  53. package/dist/components/wm-modal-pss-footer.d.ts +11 -0
  54. package/dist/{cjs/priv-chart-popover.cjs.entry.js → components/wm-modal-pss-footer.js} +58 -129
  55. package/dist/components/wm-modal-pss-header.d.ts +11 -0
  56. package/dist/components/wm-modal-pss-header.js +64 -0
  57. package/dist/components/wm-modal-pss.d.ts +11 -0
  58. package/dist/{cjs/wm-textarea.cjs.entry.js → components/wm-modal-pss.js} +141 -67
  59. package/dist/components/wm-modal.d.ts +11 -0
  60. package/dist/{cjs/wm-input.cjs.entry.js → components/wm-modal.js} +140 -104
  61. package/dist/components/wm-navigation-hamburger.d.ts +11 -0
  62. package/dist/{esm-es5/priv-chart-popover.entry.js → components/wm-navigation-hamburger.js} +70 -1
  63. package/dist/components/wm-navigation-item.d.ts +11 -0
  64. package/dist/{ripple/p-713ea307.entry.js → components/wm-navigation-item.js} +40 -1
  65. package/dist/components/wm-navigation.d.ts +11 -0
  66. package/dist/{ripple/p-165b5d3d.system.entry.js → components/wm-navigation.js} +144 -1
  67. package/dist/components/wm-navigator.d.ts +11 -0
  68. package/dist/{esm/wm-navigator.entry.js → components/wm-navigator.js} +106 -19
  69. package/dist/components/wm-nested-select.d.ts +11 -0
  70. package/dist/{esm/wm-nested-select.entry.js → components/wm-nested-select.js} +63 -70
  71. package/dist/components/wm-optgroup.d.ts +11 -0
  72. package/dist/{esm/wm-optgroup.entry.js → components/wm-optgroup.js} +48 -11
  73. package/dist/components/wm-option.d.ts +11 -0
  74. package/dist/components/wm-option.js +6 -0
  75. package/dist/{cjs/wm-search.cjs.entry.js → components/wm-option2.js} +168 -166
  76. package/dist/components/wm-pagination.d.ts +11 -0
  77. package/dist/{esm/wm-pagination.entry.js → components/wm-pagination.js} +105 -26
  78. package/dist/components/wm-progress-indicator.d.ts +11 -0
  79. package/dist/{esm/wm-progress-indicator_3.entry.js → components/wm-progress-indicator.js} +51 -105
  80. package/dist/components/wm-progress-monitor.d.ts +11 -0
  81. package/dist/{ripple/p-d530c703.entry.js → components/wm-progress-monitor.js} +93 -1
  82. package/dist/components/wm-progress-slice.d.ts +11 -0
  83. package/dist/components/wm-progress-slice.js +37 -0
  84. package/dist/components/wm-search.d.ts +11 -0
  85. package/dist/{esm/wm-search.entry.js → components/wm-search.js} +74 -14
  86. package/dist/components/wm-select.d.ts +11 -0
  87. package/dist/components/wm-select.js +6 -0
  88. package/dist/components/wm-select2.js +294 -0
  89. package/dist/components/wm-snackbar.d.ts +11 -0
  90. package/dist/{esm/wm-snackbar.entry.js → components/wm-snackbar.js} +46 -17
  91. package/dist/components/wm-tab-item.d.ts +11 -0
  92. package/dist/components/wm-tab-item.js +85 -0
  93. package/dist/components/wm-tab-list.d.ts +11 -0
  94. package/dist/{cjs/wm-uploader.cjs.entry.js → components/wm-tab-list.js} +174 -282
  95. package/dist/components/wm-tab-panel.d.ts +11 -0
  96. package/dist/{cjs/wm-file-list.cjs.entry.js → components/wm-tab-panel.js} +46 -17
  97. package/dist/components/wm-tag-input.d.ts +11 -0
  98. package/dist/{esm/wm-tag-input.entry.js → components/wm-tag-input.js} +86 -49
  99. package/dist/components/wm-tag-option.d.ts +11 -0
  100. package/dist/components/wm-tag-option.js +63 -0
  101. package/dist/components/wm-textarea.d.ts +11 -0
  102. package/dist/{esm/wm-textarea.entry.js → components/wm-textarea.js} +46 -17
  103. package/dist/components/wm-timepicker.d.ts +11 -0
  104. package/dist/{esm/wm-timepicker.entry.js → components/wm-timepicker.js} +49 -19
  105. package/dist/components/wm-toggletip.d.ts +11 -0
  106. package/dist/{esm/wm-toggletip.entry.js → components/wm-toggletip.js} +37 -16
  107. package/dist/components/wm-uploader.d.ts +11 -0
  108. package/dist/{esm/wm-uploader.entry.js → components/wm-uploader.js} +50 -23
  109. package/dist/components/wm-wrapper.d.ts +11 -0
  110. package/dist/components/wm-wrapper.js +34 -0
  111. package/dist/types/components/selects/priv-option-list/priv-option-list.d.ts +0 -6
  112. package/dist/types/components/wm-pagination/wm-pagination.d.ts +6 -0
  113. package/dist/types/components/wm-snackbar/wm-snackbar.d.ts +1 -0
  114. package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +1 -0
  115. package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +2 -1
  116. package/dist/types/global/intl.d.ts +22 -0
  117. package/dist/types/stencil-public-runtime.d.ts +28 -0
  118. package/package.json +5 -9
  119. package/dist/cjs/app-globals-b8352f28.js +0 -92
  120. package/dist/cjs/chartFunctions-7314b414.js +0 -712
  121. package/dist/cjs/functions-5ac8a62f.js +0 -8462
  122. package/dist/cjs/index-788526f5.js +0 -1859
  123. package/dist/cjs/index.cjs.js +0 -2
  124. package/dist/cjs/interfaces-85d78ae9.js +0 -37
  125. package/dist/cjs/intl-07aaf53c.js +0 -180
  126. package/dist/cjs/loader.cjs.js +0 -15
  127. package/dist/cjs/priv-calendar.cjs.entry.js +0 -574
  128. package/dist/cjs/priv-navigator-button.cjs.entry.js +0 -29
  129. package/dist/cjs/priv-navigator-item.cjs.entry.js +0 -35
  130. package/dist/cjs/priv-option-list.cjs.entry.js +0 -430
  131. package/dist/cjs/ripple.cjs.js +0 -25
  132. package/dist/cjs/wm-action-menu_2.cjs.entry.js +0 -335
  133. package/dist/cjs/wm-button.cjs.entry.js +0 -207
  134. package/dist/cjs/wm-chart-slice.cjs.entry.js +0 -27
  135. package/dist/cjs/wm-chart.cjs.entry.js +0 -156
  136. package/dist/cjs/wm-date-range.cjs.entry.js +0 -473
  137. package/dist/cjs/wm-datepicker.cjs.entry.js +0 -254
  138. package/dist/cjs/wm-file.cjs.entry.js +0 -194
  139. package/dist/cjs/wm-line-chart.cjs.entry.js +0 -460
  140. package/dist/cjs/wm-modal-pss_3.cjs.entry.js +0 -217
  141. package/dist/cjs/wm-modal_3.cjs.entry.js +0 -215
  142. package/dist/cjs/wm-navigation_3.cjs.entry.js +0 -188
  143. package/dist/cjs/wm-navigator.cjs.entry.js +0 -327
  144. package/dist/cjs/wm-nested-select.cjs.entry.js +0 -354
  145. package/dist/cjs/wm-option_2.cjs.entry.js +0 -439
  146. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +0 -204
  147. package/dist/cjs/wm-snackbar.cjs.entry.js +0 -177
  148. package/dist/cjs/wm-tab-item_3.cjs.entry.js +0 -258
  149. package/dist/cjs/wm-tag-input.cjs.entry.js +0 -886
  150. package/dist/cjs/wm-tag-option.cjs.entry.js +0 -43
  151. package/dist/cjs/wm-timepicker.cjs.entry.js +0 -307
  152. package/dist/cjs/wm-toggletip.cjs.entry.js +0 -183
  153. package/dist/cjs/wm-wrapper.cjs.entry.js +0 -21
  154. package/dist/collection/collection-manifest.json +0 -191
  155. package/dist/collection/components/charts/chartFunctions.js +0 -645
  156. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.css +0 -908
  157. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +0 -257
  158. package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +0 -125
  159. package/dist/collection/components/charts/wm-chart/wm-chart.css +0 -1274
  160. package/dist/collection/components/charts/wm-chart/wm-chart.js +0 -415
  161. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.css +0 -1067
  162. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +0 -722
  163. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.css +0 -1274
  164. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +0 -264
  165. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.css +0 -909
  166. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +0 -151
  167. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +0 -121
  168. package/dist/collection/components/datepickers/datepicker.css +0 -1043
  169. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +0 -1279
  170. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +0 -840
  171. package/dist/collection/components/datepickers/wm-date-range.js +0 -838
  172. package/dist/collection/components/datepickers/wm-datepicker.js +0 -524
  173. package/dist/collection/components/selects/priv-option-list/priv-option-list.css +0 -918
  174. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +0 -817
  175. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.css +0 -1181
  176. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +0 -659
  177. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.css +0 -830
  178. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +0 -258
  179. package/dist/collection/components/selects/wm-option/wm-option.css +0 -931
  180. package/dist/collection/components/selects/wm-option/wm-option.js +0 -530
  181. package/dist/collection/components/selects/wm-select/wm-select.css +0 -1104
  182. package/dist/collection/components/selects/wm-select/wm-select.js +0 -596
  183. package/dist/collection/components/wm-action-menu/wm-action-menu.css +0 -891
  184. package/dist/collection/components/wm-action-menu/wm-action-menu.js +0 -435
  185. package/dist/collection/components/wm-button/wm-button.css +0 -1261
  186. package/dist/collection/components/wm-button/wm-button.js +0 -489
  187. package/dist/collection/components/wm-file/wm-file.css +0 -927
  188. package/dist/collection/components/wm-file/wm-file.js +0 -412
  189. package/dist/collection/components/wm-file-list/wm-file-list.css +0 -820
  190. package/dist/collection/components/wm-file-list/wm-file-list.js +0 -45
  191. package/dist/collection/components/wm-input/wm-input.css +0 -992
  192. package/dist/collection/components/wm-input/wm-input.js +0 -471
  193. package/dist/collection/components/wm-menuitem/wm-menuitem.css +0 -891
  194. package/dist/collection/components/wm-menuitem/wm-menuitem.js +0 -419
  195. package/dist/collection/components/wm-modal/wm-modal-footer.css +0 -852
  196. package/dist/collection/components/wm-modal/wm-modal-footer.js +0 -141
  197. package/dist/collection/components/wm-modal/wm-modal-header.css +0 -846
  198. package/dist/collection/components/wm-modal/wm-modal-header.js +0 -78
  199. package/dist/collection/components/wm-modal/wm-modal.css +0 -890
  200. package/dist/collection/components/wm-modal/wm-modal.js +0 -350
  201. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.css +0 -852
  202. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +0 -138
  203. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.css +0 -846
  204. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +0 -82
  205. package/dist/collection/components/wm-modal-pss/wm-modal-pss.css +0 -927
  206. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +0 -362
  207. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.css +0 -847
  208. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +0 -119
  209. package/dist/collection/components/wm-navigation/wm-navigation-item.css +0 -856
  210. package/dist/collection/components/wm-navigation/wm-navigation-item.js +0 -98
  211. package/dist/collection/components/wm-navigation/wm-navigation.css +0 -898
  212. package/dist/collection/components/wm-navigation/wm-navigation.js +0 -190
  213. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +0 -849
  214. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +0 -86
  215. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.css +0 -830
  216. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +0 -124
  217. package/dist/collection/components/wm-navigator/wm-navigator.css +0 -903
  218. package/dist/collection/components/wm-navigator/wm-navigator.js +0 -496
  219. package/dist/collection/components/wm-pagination/wm-pagination.css +0 -971
  220. package/dist/collection/components/wm-pagination/wm-pagination.js +0 -311
  221. package/dist/collection/components/wm-search/wm-search.css +0 -895
  222. package/dist/collection/components/wm-search/wm-search.js +0 -427
  223. package/dist/collection/components/wm-snackbar/wm-snackbar.css +0 -1077
  224. package/dist/collection/components/wm-snackbar/wm-snackbar.js +0 -264
  225. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +0 -868
  226. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +0 -175
  227. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.css +0 -840
  228. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +0 -268
  229. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.css +0 -825
  230. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +0 -87
  231. package/dist/collection/components/wm-tag-input/wm-tag-input.css +0 -1275
  232. package/dist/collection/components/wm-tag-input/wm-tag-input.js +0 -1221
  233. package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +0 -243
  234. package/dist/collection/components/wm-textarea/wm-textarea.css +0 -979
  235. package/dist/collection/components/wm-textarea/wm-textarea.js +0 -313
  236. package/dist/collection/components/wm-timepicker/wm-timepicker.css +0 -1093
  237. package/dist/collection/components/wm-timepicker/wm-timepicker.js +0 -547
  238. package/dist/collection/components/wm-toggletip/wm-toggletip.css +0 -1153
  239. package/dist/collection/components/wm-toggletip/wm-toggletip.js +0 -289
  240. package/dist/collection/components/wm-uploader/wm-uploader.css +0 -1563
  241. package/dist/collection/components/wm-uploader/wm-uploader.js +0 -603
  242. package/dist/collection/components/wm-wrapper/wm-wrapper.js +0 -28
  243. package/dist/collection/dev/button.js +0 -0
  244. package/dist/collection/dev/chart-small.js +0 -56
  245. package/dist/collection/dev/chart.js +0 -18
  246. package/dist/collection/dev/date-range.js +0 -6
  247. package/dist/collection/dev/datepicker.js +0 -46
  248. package/dist/collection/dev/file-list.js +0 -16
  249. package/dist/collection/dev/file.js +0 -0
  250. package/dist/collection/dev/input.js +0 -6
  251. package/dist/collection/dev/line-chart.js +0 -0
  252. package/dist/collection/dev/modal.js +0 -48
  253. package/dist/collection/dev/navigation.js +0 -13
  254. package/dist/collection/dev/navigator.js +0 -34
  255. package/dist/collection/dev/nested-select.js +0 -36
  256. package/dist/collection/dev/pagination.js +0 -7
  257. package/dist/collection/dev/progress-monitor.js +0 -0
  258. package/dist/collection/dev/pss-modal.js +0 -8
  259. package/dist/collection/dev/scripts.js +0 -49
  260. package/dist/collection/dev/search.js +0 -72
  261. package/dist/collection/dev/select.js +0 -57
  262. package/dist/collection/dev/snackbar.js +0 -54
  263. package/dist/collection/dev/tabs.js +0 -44
  264. package/dist/collection/dev/tag-input.js +0 -32
  265. package/dist/collection/dev/textarea.js +0 -28
  266. package/dist/collection/dev/timepicker.js +0 -32
  267. package/dist/collection/dev/toggletip.js +0 -9
  268. package/dist/collection/dev/uploader.js +0 -139
  269. package/dist/collection/global/__mocks__/functions.js +0 -6
  270. package/dist/collection/global/functions.js +0 -825
  271. package/dist/collection/global/intl.js +0 -172
  272. package/dist/collection/global/services/__mocks__/http-service.js +0 -130
  273. package/dist/collection/global/services/http-service.js +0 -50
  274. package/dist/collection/lang/lang.js +0 -5
  275. package/dist/collection/lang/missing.js +0 -43
  276. package/dist/collection/lang/piglatin.js +0 -93
  277. package/dist/esm/app-globals-f3dbaf3e.js +0 -90
  278. package/dist/esm/functions-f53b3537.js +0 -8422
  279. package/dist/esm/index-130e07bb.js +0 -1828
  280. package/dist/esm/index.js +0 -1
  281. package/dist/esm/interfaces-cc5b177f.js +0 -34
  282. package/dist/esm/loader.js +0 -11
  283. package/dist/esm/polyfills/core-js.js +0 -11
  284. package/dist/esm/polyfills/dom.js +0 -79
  285. package/dist/esm/polyfills/es5-html-element.js +0 -1
  286. package/dist/esm/polyfills/index.js +0 -34
  287. package/dist/esm/polyfills/system.js +0 -6
  288. package/dist/esm/ripple.js +0 -20
  289. package/dist/esm/wm-action-menu_2.entry.js +0 -330
  290. package/dist/esm/wm-chart-slice.entry.js +0 -23
  291. package/dist/esm/wm-modal-pss_3.entry.js +0 -211
  292. package/dist/esm/wm-modal_3.entry.js +0 -209
  293. package/dist/esm/wm-navigation_3.entry.js +0 -182
  294. package/dist/esm/wm-option_2.entry.js +0 -434
  295. package/dist/esm/wm-tab-item_3.entry.js +0 -252
  296. package/dist/esm/wm-tag-option.entry.js +0 -39
  297. package/dist/esm/wm-wrapper.entry.js +0 -17
  298. package/dist/esm-es5/app-globals-f3dbaf3e.js +0 -1
  299. package/dist/esm-es5/chartFunctions-1478f4db.js +0 -1
  300. package/dist/esm-es5/functions-f53b3537.js +0 -1
  301. package/dist/esm-es5/index-130e07bb.js +0 -1
  302. package/dist/esm-es5/index.js +0 -0
  303. package/dist/esm-es5/interfaces-cc5b177f.js +0 -1
  304. package/dist/esm-es5/intl-6426ba51.js +0 -1
  305. package/dist/esm-es5/loader.js +0 -1
  306. package/dist/esm-es5/priv-calendar.entry.js +0 -1
  307. package/dist/esm-es5/priv-navigator-button.entry.js +0 -1
  308. package/dist/esm-es5/priv-navigator-item.entry.js +0 -1
  309. package/dist/esm-es5/priv-option-list.entry.js +0 -1
  310. package/dist/esm-es5/ripple.js +0 -1
  311. package/dist/esm-es5/wm-action-menu_2.entry.js +0 -1
  312. package/dist/esm-es5/wm-button.entry.js +0 -1
  313. package/dist/esm-es5/wm-chart-slice.entry.js +0 -1
  314. package/dist/esm-es5/wm-chart.entry.js +0 -1
  315. package/dist/esm-es5/wm-date-range.entry.js +0 -1
  316. package/dist/esm-es5/wm-datepicker.entry.js +0 -1
  317. package/dist/esm-es5/wm-file-list.entry.js +0 -1
  318. package/dist/esm-es5/wm-file.entry.js +0 -1
  319. package/dist/esm-es5/wm-input.entry.js +0 -1
  320. package/dist/esm-es5/wm-line-chart.entry.js +0 -1
  321. package/dist/esm-es5/wm-modal-pss_3.entry.js +0 -1
  322. package/dist/esm-es5/wm-modal_3.entry.js +0 -1
  323. package/dist/esm-es5/wm-navigation_3.entry.js +0 -1
  324. package/dist/esm-es5/wm-navigator.entry.js +0 -1
  325. package/dist/esm-es5/wm-nested-select.entry.js +0 -1
  326. package/dist/esm-es5/wm-optgroup.entry.js +0 -1
  327. package/dist/esm-es5/wm-option_2.entry.js +0 -1
  328. package/dist/esm-es5/wm-pagination.entry.js +0 -1
  329. package/dist/esm-es5/wm-progress-indicator_3.entry.js +0 -1
  330. package/dist/esm-es5/wm-search.entry.js +0 -1
  331. package/dist/esm-es5/wm-snackbar.entry.js +0 -1
  332. package/dist/esm-es5/wm-tab-item_3.entry.js +0 -1
  333. package/dist/esm-es5/wm-tag-input.entry.js +0 -1
  334. package/dist/esm-es5/wm-tag-option.entry.js +0 -1
  335. package/dist/esm-es5/wm-textarea.entry.js +0 -1
  336. package/dist/esm-es5/wm-timepicker.entry.js +0 -1
  337. package/dist/esm-es5/wm-toggletip.entry.js +0 -1
  338. package/dist/esm-es5/wm-uploader.entry.js +0 -1
  339. package/dist/esm-es5/wm-wrapper.entry.js +0 -1
  340. package/dist/index.cjs.js +0 -1
  341. package/dist/index.js +0 -1
  342. package/dist/loader/cdn.js +0 -2
  343. package/dist/loader/index.cjs.js +0 -2
  344. package/dist/loader/index.d.ts +0 -24
  345. package/dist/loader/index.es2017.js +0 -2
  346. package/dist/loader/index.js +0 -3
  347. package/dist/loader/package.json +0 -11
  348. package/dist/ripple/index.esm.js +0 -0
  349. package/dist/ripple/p-02bd68af.system.entry.js +0 -1
  350. package/dist/ripple/p-02e60a11.system.entry.js +0 -1
  351. package/dist/ripple/p-03fafb82.entry.js +0 -1
  352. package/dist/ripple/p-043901ab.system.entry.js +0 -1
  353. package/dist/ripple/p-0d163672.system.entry.js +0 -1
  354. package/dist/ripple/p-13b1d775.entry.js +0 -1
  355. package/dist/ripple/p-1f174e18.system.entry.js +0 -1
  356. package/dist/ripple/p-20b137a3.system.entry.js +0 -1
  357. package/dist/ripple/p-226217d3.system.entry.js +0 -1
  358. package/dist/ripple/p-233f14ec.system.entry.js +0 -1
  359. package/dist/ripple/p-243a7a17.system.entry.js +0 -1
  360. package/dist/ripple/p-263e42e0.entry.js +0 -1
  361. package/dist/ripple/p-2732bddd.js +0 -1
  362. package/dist/ripple/p-27ff3a85.js +0 -1
  363. package/dist/ripple/p-28f9e202.system.entry.js +0 -1
  364. package/dist/ripple/p-2c8153c1.entry.js +0 -1
  365. package/dist/ripple/p-3376581a.system.entry.js +0 -1
  366. package/dist/ripple/p-368e9ee9.entry.js +0 -1
  367. package/dist/ripple/p-3a2a3b70.entry.js +0 -1
  368. package/dist/ripple/p-3b5d106d.entry.js +0 -1
  369. package/dist/ripple/p-42fa7a77.system.js +0 -1
  370. package/dist/ripple/p-45b5d2d2.entry.js +0 -1
  371. package/dist/ripple/p-486b3b56.system.entry.js +0 -1
  372. package/dist/ripple/p-49e24926.entry.js +0 -1
  373. package/dist/ripple/p-4fbe205e.system.entry.js +0 -1
  374. package/dist/ripple/p-50294e3f.entry.js +0 -1
  375. package/dist/ripple/p-50ea2036.system.js +0 -1
  376. package/dist/ripple/p-529f179c.system.entry.js +0 -1
  377. package/dist/ripple/p-53400bc4.system.entry.js +0 -1
  378. package/dist/ripple/p-55f8aa05.entry.js +0 -1
  379. package/dist/ripple/p-58734b13.entry.js +0 -1
  380. package/dist/ripple/p-59cc46a6.entry.js +0 -1
  381. package/dist/ripple/p-5c62e26d.entry.js +0 -1
  382. package/dist/ripple/p-6136d0d7.entry.js +0 -1
  383. package/dist/ripple/p-658f146a.system.entry.js +0 -1
  384. package/dist/ripple/p-66141f19.entry.js +0 -1
  385. package/dist/ripple/p-727175e1.system.entry.js +0 -1
  386. package/dist/ripple/p-73056e10.system.js +0 -1
  387. package/dist/ripple/p-76f9acec.entry.js +0 -1
  388. package/dist/ripple/p-791513e7.entry.js +0 -1
  389. package/dist/ripple/p-7959c4bd.system.entry.js +0 -1
  390. package/dist/ripple/p-7a1bb29b.js +0 -1
  391. package/dist/ripple/p-81ac8d49.entry.js +0 -1
  392. package/dist/ripple/p-823d7b4e.system.entry.js +0 -1
  393. package/dist/ripple/p-82819500.system.entry.js +0 -1
  394. package/dist/ripple/p-8634abad.system.entry.js +0 -1
  395. package/dist/ripple/p-864158de.system.entry.js +0 -1
  396. package/dist/ripple/p-8c95493c.js +0 -1
  397. package/dist/ripple/p-94dc80a0.entry.js +0 -1
  398. package/dist/ripple/p-94fbf6f6.system.entry.js +0 -1
  399. package/dist/ripple/p-9b739280.entry.js +0 -1
  400. package/dist/ripple/p-a0edf336.system.entry.js +0 -1
  401. package/dist/ripple/p-a2544443.system.js +0 -1
  402. package/dist/ripple/p-a280d710.entry.js +0 -1
  403. package/dist/ripple/p-a9a7731b.system.entry.js +0 -1
  404. package/dist/ripple/p-b16f07f1.system.entry.js +0 -1
  405. package/dist/ripple/p-b78d8ab1.system.js +0 -1
  406. package/dist/ripple/p-c550716e.js +0 -1
  407. package/dist/ripple/p-ccae5bec.entry.js +0 -1
  408. package/dist/ripple/p-cd0cc88d.entry.js +0 -1
  409. package/dist/ripple/p-cef8a45b.system.js +0 -2
  410. package/dist/ripple/p-d96291e7.entry.js +0 -1
  411. package/dist/ripple/p-d9da0502.js +0 -2
  412. package/dist/ripple/p-e2fbed8c.system.entry.js +0 -1
  413. package/dist/ripple/p-e6e36701.system.entry.js +0 -1
  414. package/dist/ripple/p-e8cfa832.entry.js +0 -1
  415. package/dist/ripple/p-e973024a.entry.js +0 -1
  416. package/dist/ripple/p-ed24dc42.entry.js +0 -1
  417. package/dist/ripple/p-ee825214.entry.js +0 -1
  418. package/dist/ripple/p-ef75bf23.system.entry.js +0 -1
  419. package/dist/ripple/p-f28106ea.entry.js +0 -1
  420. package/dist/ripple/p-f471ee29.system.js +0 -1
  421. package/dist/ripple/p-f66480de.entry.js +0 -1
  422. package/dist/ripple/p-f778baf4.system.entry.js +0 -1
  423. package/dist/ripple/p-f9a71cf6.entry.js +0 -1
  424. package/dist/ripple/p-fc7965e4.system.entry.js +0 -1
  425. package/dist/ripple/p-fdfa3579.system.entry.js +0 -1
  426. package/dist/ripple/p-ff60375d.system.entry.js +0 -1
  427. package/dist/ripple/p-ffbb9fc0.system.js +0 -1
  428. package/dist/ripple/ripple.css +0 -1
  429. package/dist/ripple/ripple.esm.js +0 -1
  430. package/dist/ripple/ripple.js +0 -127
  431. /package/dist/{collection/dev/action-menu.js → types/test-setup.d.ts} +0 -0
@@ -1,524 +0,0 @@
1
- import { h, Host } from "@stencil/core";
2
- import { intl, toBool, handleDisabledAttribute, hasRoomRight, shouldOpenUp, dateToISO } from "../../global/functions";
3
- export class DatePicker {
4
- constructor() {
5
- this.openUp = false;
6
- this.popupClicked = false;
7
- this.toggleButtonClicked = false;
8
- this.value = "";
9
- this.disabled = false;
10
- this.dateFormat = "mm/dd/yyyy";
11
- this.errorMessage = undefined;
12
- this.labelPosition = "top";
13
- this.label = "";
14
- this.requiredField = false;
15
- this.preselected = undefined;
16
- this.isExpanded = false;
17
- }
18
- get isDisabled() {
19
- // string "false" needs to be treated as bool False because react wrappers convert bool to string.
20
- return toBool(this.disabled);
21
- }
22
- get calendarDate() {
23
- let calendarDate = dateToISO(new Date());
24
- const dateFormatUnits = { "mm/dd/yyyy": "US", "dd/mm/yyyy": "INT", "yyyy/mm/dd": "ISO" };
25
- if (this.value &&
26
- dateFormatUnits[this.dateFormat] &&
27
- this.isValidIsoInternal(this.reformatDateInternal(dateFormatUnits[this.dateFormat], "ISO", this.value))) {
28
- // if component has value, and value can be parsed to valid ISO
29
- calendarDate = this.reformatDateInternal(dateFormatUnits[this.dateFormat], "ISO", this.value);
30
- }
31
- else if (this.preselected) {
32
- calendarDate = this.preselected;
33
- }
34
- return calendarDate;
35
- }
36
- handleDisabledChange() {
37
- handleDisabledAttribute(this.el, this.isDisabled);
38
- }
39
- updateValue() {
40
- this.inputEl.value = this.value ? this.value : "";
41
- }
42
- announceError() {
43
- if (this.errorMessage) {
44
- setTimeout(() => this.announce(this.errorMessage), 100);
45
- }
46
- }
47
- togglePopup() {
48
- this.isExpanded ? this.closePopup() : this.openPopup();
49
- this.toggleButtonClicked = true;
50
- }
51
- closePopup(returnFocus = false) {
52
- this.isExpanded = false;
53
- this.calEl.view = "day";
54
- this.calEl.view = "day";
55
- this.popupEl.classList.remove("open");
56
- window.setTimeout(() => {
57
- //not using display none in order to get measurements of the popup while hidden
58
- this.popupEl.style.visibility = "hidden";
59
- }, 250);
60
- //Reset values so that menu reopens to day view with selected date in focus
61
- if (returnFocus) {
62
- this.toggleEl.focus();
63
- }
64
- }
65
- openPopup() {
66
- this.openUp = shouldOpenUp(this.el, this.popupEl.clientHeight, this.labelWrapperEl.clientHeight);
67
- if (hasRoomRight(this.el, 336)) {
68
- this.popupEl.style.left = "0";
69
- this.popupEl.style.right = "auto";
70
- }
71
- else {
72
- this.popupEl.style.right = "0";
73
- this.popupEl.style.left = "auto";
74
- }
75
- this.popupEl.style.visibility = "visible";
76
- window.requestAnimationFrame(() => {
77
- this.popupEl.classList.add("open");
78
- });
79
- this.isExpanded = true;
80
- this.calEl.focusDate = this.calendarDate;
81
- this.calEl.startDate = this.calendarDate;
82
- this.calEl.focusCell();
83
- }
84
- handleInput(ev) {
85
- // keep component's value in sync with input's value
86
- this.value = ev.target.value;
87
- }
88
- handleInputBlur() {
89
- this.dpWrapperEl.classList.remove("focus");
90
- this.wmDatepickerInputBlurred.emit();
91
- }
92
- handleInputFocus() {
93
- this.dpWrapperEl.classList.add("focus");
94
- }
95
- handleInputChange() {
96
- // forward change externally
97
- const event = new CustomEvent("change");
98
- this.el.dispatchEvent(event);
99
- }
100
- handleKey(ev) {
101
- if (ev.key === "Escape" && this.isExpanded) {
102
- ev.preventDefault();
103
- ev.stopPropagation(); // prevents closing of parent modal
104
- this.closePopup(true);
105
- }
106
- }
107
- blurHandler() {
108
- if (!this.popupClicked && !this.toggleButtonClicked && this.isExpanded) {
109
- this.closePopup();
110
- }
111
- this.popupClicked = false;
112
- this.toggleButtonClicked = false;
113
- }
114
- // for cases where the user clicks or uses a shortcut to leave the document
115
- handleBlurOnWindow() {
116
- if (this.isExpanded) {
117
- this.closePopup();
118
- }
119
- }
120
- handleCellTriggered(ev) {
121
- let dateElement = ev.detail.cell;
122
- let isoDate = dateElement.getAttribute("data-year") +
123
- "-" +
124
- dateElement.getAttribute("data-month") +
125
- "-" +
126
- dateElement.textContent.padStart(2, "0");
127
- this.wmDatepickerDateSelected.emit({ date: isoDate });
128
- // Create events to trigger onInput and onChange on host element, to get the updated value
129
- // Because there are more ways to input than just typing, we are firing this event upon cellTriggered
130
- const inputEvent = new CustomEvent("input");
131
- this.el.dispatchEvent(inputEvent);
132
- const changeEvent = new CustomEvent("change");
133
- this.el.dispatchEvent(changeEvent);
134
- this.closePopup(true);
135
- }
136
- async reformatDate(inputFormat, outputFormat, date) {
137
- return this.reformatDateInternal(inputFormat, outputFormat, date);
138
- }
139
- reformatDateInternal(inputFormat, outputFormat, date) {
140
- // this function reformats date strings to/from the storage format ONLY. US -> INT and vice versa is not supported.
141
- // 1, 2, or 4 digits, separator, 1 or 2 digits, separator, then 1 or 2 or 4 digits
142
- const parsableEntry = /^(\d{1}|\d{2}|\d{4})[\-\.\/]\d{1,2}[\-\.\/](\d{1}|\d{2}|\d{4})$/;
143
- if (!date) {
144
- return "";
145
- }
146
- else if (!parsableEntry.test(date)) {
147
- return date;
148
- }
149
- else {
150
- const dateArr = date.replace(/[\-\.]/gi, "/").split("/");
151
- switch (outputFormat) {
152
- case "US":
153
- return dateArr[1].padStart(2, "0") + "/" + dateArr[2].padStart(2, "0") + "/" + dateArr[0].padStart(4, "20");
154
- case "INT":
155
- return dateArr[2].padStart(2, "0") + "/" + dateArr[1].padStart(2, "0") + "/" + dateArr[0].padStart(4, "20");
156
- case "ISO":
157
- if (inputFormat === "US") {
158
- return dateArr[2].padStart(4, "20") + "-" + dateArr[0].padStart(2, "0") + "-" + dateArr[1].padStart(2, "0");
159
- }
160
- else if (inputFormat === "INT") {
161
- return dateArr[2].padStart(4, "20") + "-" + dateArr[1].padStart(2, "0") + "-" + dateArr[0].padStart(2, "0");
162
- }
163
- else if (inputFormat === "ISO") {
164
- return dateArr[0].padStart(4, "20") + "-" + dateArr[1].padStart(2, "0") + "-" + dateArr[2].padStart(2, "0");
165
- }
166
- default:
167
- return dateArr.join("/");
168
- }
169
- }
170
- }
171
- async isValidIso(input) {
172
- return this.isValidIsoInternal(input);
173
- }
174
- isValidIsoInternal(input) {
175
- const isoFormat = /^\d\d\d\d[-]\d\d[-]\d\d$/;
176
- if (!input || !isoFormat.test(input)) {
177
- return false;
178
- }
179
- else {
180
- // Parse the ISO date parts to integers
181
- const parts = input.split("-");
182
- const day = parseInt(parts[2], 10);
183
- const month = parseInt(parts[1], 10);
184
- const year = parseInt(parts[0], 10);
185
- // Check the ranges of month and year
186
- if (year < 1000 || year > 3000 || month == 0 || month > 12)
187
- return false;
188
- let monthLength = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
189
- // Adjust for leap years
190
- if (year % 400 == 0 || (year % 100 != 0 && year % 4 == 0))
191
- monthLength[1] = 29;
192
- // Check the range of the day
193
- return day > 0 && day <= monthLength[month - 1];
194
- }
195
- }
196
- componentWillLoad() {
197
- if (this.label === "") {
198
- console.error("You must include a label prop for the datepicker input (for accessibility reasons), even if the label position is none.");
199
- }
200
- handleDisabledAttribute(this.el, this.isDisabled);
201
- }
202
- componentDidLoad() {
203
- this.calEl.addEventListener("click", () => {
204
- this.popupClicked = true;
205
- });
206
- }
207
- announce(message) {
208
- // \u00A0 is a non-breaking space character, which causes the message to be read as a new one
209
- if (this.liveRegionEl.textContent === message) {
210
- message += "\u00A0";
211
- }
212
- this.liveRegionEl.textContent = message;
213
- }
214
- render() {
215
- return (h(Host, { key: '85687dcb3b87ff6b660797b7e8ceef84a9710deb', "aria-busy": "false", class: `${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'c64159f0ecc1ce84fda38106b54d7fa49a79fc65', ref: (d) => (this.dpWrapperEl = d), class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '43bed05cd8ddf12279fd007fac3be60ce20864f8', class: "label-wrapper", ref: (e) => (this.labelWrapperEl = e) }, this.labelPosition !== "none" && (h("label", { key: '9acaee7a5ed8a29971813a06a5051c2838c13065', id: "datepickerLabel", htmlFor: "date-input", class: "label", title: `${this.label} (${this.dateFormat})` }, this.label, this.requiredField && (h("span", { key: 'f3e1f8719fcc6ead12968215e2731d95b2603956', "aria-hidden": "true", class: "required" }, "*"))))), h("div", { key: '0c041afacda26e06e15275eb92f430f7d9a16520' }, h("div", { key: '25af5c4db0a4efa3310c039046541651c2f58a25', class: "single-wrapper input" }, h("input", { key: 'ba297de98ddb0c85ddac0b20f5f177b186956ded', disabled: this.isDisabled, type: "text", id: "single-date-input", class: "date-input", name: "date", placeholder: this.dateFormat, value: this.value, onFocus: () => this.handleInputFocus(), onInput: (ev) => this.handleInput(ev), onBlur: () => this.handleInputBlur(), onChange: () => this.handleInputChange(), ref: (input) => (this.inputEl = input), "aria-describedby": "error", "aria-label": this.label, "aria-required": this.requiredField ? "true" : null }), h("div", { key: 'd4c145ebda9243d464b077a250ea272090e1e9bd', class: "container", id: "wm-container" }, h("button", { key: '630191453f20cbe48e919a91928c2120ca41f66e', disabled: this.disabled, onClick: this.togglePopup.bind(this), "aria-label": intl.formatMessage({
216
- id: "date.selectDate",
217
- defaultMessage: "Select date",
218
- description: "Button text for screen readers.",
219
- }), "aria-describedby": "single-date-input", ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle" }, h("span", { key: '8d418c81d6dcb4ab2155729be5634ee7a2566048', class: "svg-icon svg-date" }), h("span", { key: '5100cad9f4ed307d753499710853de95e81c04e8', class: "calendar", title: intl.formatMessage({
220
- id: "date.calendarView",
221
- defaultMessage: "Calendar View",
222
- description: "Calendar button",
223
- }) })), h("div", { key: '36d24aeb7e59ae59284596ad362eb5459a9ad1de', class: `popup-wrapper ${this.calEl && this.calEl.view}-view ${this.openUp ? "expand-upwards" : ""}`, id: "popup-wrapper", ref: (el) => (this.popupEl = el), onClick: () => (this.popupClicked = true) }, h("div", { key: '52e0c98a890204e111f6c508177181bf69c5af28', tabIndex: 0, onFocus: () => this.calEl.focusLastFocusable() }), h("priv-calendar", { key: '12ed17f4c034aff9be9421046d52ffc4e745c929', ref: (el) => (this.calEl = el), startDate: this.calendarDate, focusDate: this.calendarDate, class: "inside" }), h("div", { key: 'c4b913e51442e1e57805934fd9071cc8796ca551', tabIndex: 0, onFocus: () => this.calEl.focusFirstFocusable() })), h("div", { key: '4194d3665db2426ea6600f01f014735c6f49c7c4', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: '538a624beb90096a1368873b8f044b0ff32bf125', id: "month-title", class: "sr-only" }, intl.formatMessage({
224
- id: "date.selectMonth",
225
- defaultMessage: "Activate to select a month.",
226
- description: "Calendar button",
227
- })), h("div", { key: '37b0366f3742eff0d38993c60e132759683cfc18', id: "year-title", class: "sr-only" }, intl.formatMessage({
228
- id: "date.selectYear",
229
- defaultMessage: "Activate to select a year.",
230
- description: "Calendar button",
231
- })))), h("div", { key: 'b21dcace67f1f10949bfa1ed0238ddbff738a2f5', id: "error", class: "error" }, this.errorMessage), h("div", { key: 'cf362caa31e7a5951365a3e3a63d119d58f746f5', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" })))));
232
- }
233
- static get is() { return "wm-datepicker"; }
234
- static get encapsulation() { return "shadow"; }
235
- static get delegatesFocus() { return true; }
236
- static get originalStyleUrls() {
237
- return {
238
- "$": ["datepicker.scss"]
239
- };
240
- }
241
- static get styleUrls() {
242
- return {
243
- "$": ["datepicker.css"]
244
- };
245
- }
246
- static get properties() {
247
- return {
248
- "value": {
249
- "type": "string",
250
- "mutable": true,
251
- "complexType": {
252
- "original": "string",
253
- "resolved": "string | undefined",
254
- "references": {}
255
- },
256
- "required": false,
257
- "optional": true,
258
- "docs": {
259
- "tags": [],
260
- "text": ""
261
- },
262
- "attribute": "value",
263
- "reflect": false,
264
- "defaultValue": "\"\""
265
- },
266
- "disabled": {
267
- "type": "boolean",
268
- "mutable": false,
269
- "complexType": {
270
- "original": "boolean",
271
- "resolved": "boolean",
272
- "references": {}
273
- },
274
- "required": false,
275
- "optional": false,
276
- "docs": {
277
- "tags": [],
278
- "text": ""
279
- },
280
- "attribute": "disabled",
281
- "reflect": false,
282
- "defaultValue": "false"
283
- },
284
- "dateFormat": {
285
- "type": "string",
286
- "mutable": false,
287
- "complexType": {
288
- "original": "string",
289
- "resolved": "string",
290
- "references": {}
291
- },
292
- "required": false,
293
- "optional": false,
294
- "docs": {
295
- "tags": [],
296
- "text": ""
297
- },
298
- "attribute": "date-format",
299
- "reflect": false,
300
- "defaultValue": "\"mm/dd/yyyy\""
301
- },
302
- "errorMessage": {
303
- "type": "string",
304
- "mutable": false,
305
- "complexType": {
306
- "original": "string",
307
- "resolved": "string | undefined",
308
- "references": {}
309
- },
310
- "required": false,
311
- "optional": true,
312
- "docs": {
313
- "tags": [],
314
- "text": ""
315
- },
316
- "attribute": "error-message",
317
- "reflect": true
318
- },
319
- "labelPosition": {
320
- "type": "string",
321
- "mutable": false,
322
- "complexType": {
323
- "original": "\"top\" | \"left\" | \"none\"",
324
- "resolved": "\"left\" | \"none\" | \"top\"",
325
- "references": {}
326
- },
327
- "required": false,
328
- "optional": false,
329
- "docs": {
330
- "tags": [],
331
- "text": ""
332
- },
333
- "attribute": "label-position",
334
- "reflect": false,
335
- "defaultValue": "\"top\""
336
- },
337
- "label": {
338
- "type": "string",
339
- "mutable": false,
340
- "complexType": {
341
- "original": "string",
342
- "resolved": "string",
343
- "references": {}
344
- },
345
- "required": false,
346
- "optional": false,
347
- "docs": {
348
- "tags": [],
349
- "text": ""
350
- },
351
- "attribute": "label",
352
- "reflect": false,
353
- "defaultValue": "\"\""
354
- },
355
- "requiredField": {
356
- "type": "boolean",
357
- "mutable": false,
358
- "complexType": {
359
- "original": "boolean",
360
- "resolved": "boolean",
361
- "references": {}
362
- },
363
- "required": false,
364
- "optional": false,
365
- "docs": {
366
- "tags": [],
367
- "text": ""
368
- },
369
- "attribute": "required-field",
370
- "reflect": false,
371
- "defaultValue": "false"
372
- },
373
- "preselected": {
374
- "type": "string",
375
- "mutable": false,
376
- "complexType": {
377
- "original": "string",
378
- "resolved": "string | undefined",
379
- "references": {}
380
- },
381
- "required": false,
382
- "optional": true,
383
- "docs": {
384
- "tags": [],
385
- "text": ""
386
- },
387
- "attribute": "preselected",
388
- "reflect": false
389
- }
390
- };
391
- }
392
- static get states() {
393
- return {
394
- "isExpanded": {}
395
- };
396
- }
397
- static get events() {
398
- return [{
399
- "method": "wmDatepickerDateSelected",
400
- "name": "wmDatepickerDateSelected",
401
- "bubbles": true,
402
- "cancelable": true,
403
- "composed": true,
404
- "docs": {
405
- "tags": [],
406
- "text": ""
407
- },
408
- "complexType": {
409
- "original": "any",
410
- "resolved": "any",
411
- "references": {}
412
- }
413
- }, {
414
- "method": "wmDatepickerInputBlurred",
415
- "name": "wmDatepickerInputBlurred",
416
- "bubbles": true,
417
- "cancelable": true,
418
- "composed": true,
419
- "docs": {
420
- "tags": [],
421
- "text": ""
422
- },
423
- "complexType": {
424
- "original": "any",
425
- "resolved": "any",
426
- "references": {}
427
- }
428
- }];
429
- }
430
- static get methods() {
431
- return {
432
- "reformatDate": {
433
- "complexType": {
434
- "signature": "(inputFormat: string, outputFormat: string, date?: string) => Promise<string>",
435
- "parameters": [{
436
- "name": "inputFormat",
437
- "type": "string",
438
- "docs": ""
439
- }, {
440
- "name": "outputFormat",
441
- "type": "string",
442
- "docs": ""
443
- }, {
444
- "name": "date",
445
- "type": "string | undefined",
446
- "docs": ""
447
- }],
448
- "references": {
449
- "Promise": {
450
- "location": "global",
451
- "id": "global::Promise"
452
- }
453
- },
454
- "return": "Promise<string>"
455
- },
456
- "docs": {
457
- "text": "",
458
- "tags": []
459
- }
460
- },
461
- "isValidIso": {
462
- "complexType": {
463
- "signature": "(input?: string) => Promise<boolean>",
464
- "parameters": [{
465
- "name": "input",
466
- "type": "string | undefined",
467
- "docs": ""
468
- }],
469
- "references": {
470
- "Promise": {
471
- "location": "global",
472
- "id": "global::Promise"
473
- }
474
- },
475
- "return": "Promise<boolean>"
476
- },
477
- "docs": {
478
- "text": "",
479
- "tags": []
480
- }
481
- }
482
- };
483
- }
484
- static get elementRef() { return "el"; }
485
- static get watchers() {
486
- return [{
487
- "propName": "disabled",
488
- "methodName": "handleDisabledChange"
489
- }, {
490
- "propName": "value",
491
- "methodName": "updateValue"
492
- }, {
493
- "propName": "errorMessage",
494
- "methodName": "announceError"
495
- }];
496
- }
497
- static get listeners() {
498
- return [{
499
- "name": "keydown",
500
- "method": "handleKey",
501
- "target": undefined,
502
- "capture": false,
503
- "passive": false
504
- }, {
505
- "name": "click",
506
- "method": "blurHandler",
507
- "target": "document",
508
- "capture": false,
509
- "passive": false
510
- }, {
511
- "name": "blur",
512
- "method": "handleBlurOnWindow",
513
- "target": "window",
514
- "capture": false,
515
- "passive": false
516
- }, {
517
- "name": "cellTriggered",
518
- "method": "handleCellTriggered",
519
- "target": undefined,
520
- "capture": false,
521
- "passive": false
522
- }];
523
- }
524
- }