@watermarkinsights/ripple 5.30.0 → 5.31.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 (444) hide show
  1. package/dist/cjs/app-globals-df7ca137.js +103 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/priv-calendar.cjs.entry.js +27 -27
  4. package/dist/cjs/priv-chart-popover-old.cjs.entry.js +2 -2
  5. package/dist/cjs/priv-chart-popover_2.cjs.entry.js +3 -3
  6. package/dist/cjs/priv-navigator-button.cjs.entry.js +1 -1
  7. package/dist/cjs/priv-navigator-item.cjs.entry.js +1 -1
  8. package/dist/cjs/priv-option-list.cjs.entry.js +1 -1
  9. package/dist/cjs/ripple.cjs.js +1 -1
  10. package/dist/cjs/wm-action-menu_2.cjs.entry.js +5 -4
  11. package/dist/cjs/wm-button.cjs.entry.js +1 -1
  12. package/dist/cjs/wm-chart-bar.cjs.entry.js +1 -1
  13. package/dist/cjs/wm-chart-column.cjs.entry.js +1 -1
  14. package/dist/cjs/wm-chart.cjs.entry.js +1 -1
  15. package/dist/cjs/wm-date-range.cjs.entry.js +25 -9
  16. package/dist/cjs/wm-datepicker.cjs.entry.js +37 -11
  17. package/dist/cjs/wm-file-list.cjs.entry.js +1 -1
  18. package/dist/cjs/wm-file.cjs.entry.js +1 -1
  19. package/dist/cjs/wm-flyout.cjs.entry.js +6 -1
  20. package/dist/cjs/wm-input.cjs.entry.js +1 -1
  21. package/dist/cjs/wm-line-chart.cjs.entry.js +1 -1
  22. package/dist/cjs/wm-modal-pss_3.cjs.entry.js +4 -4
  23. package/dist/cjs/wm-modal_3.cjs.entry.js +19 -4
  24. package/dist/cjs/wm-navigation_3.cjs.entry.js +4 -4
  25. package/dist/cjs/wm-navigator.cjs.entry.js +1 -1
  26. package/dist/cjs/wm-nested-select.cjs.entry.js +3 -3
  27. package/dist/cjs/wm-optgroup.cjs.entry.js +11 -1
  28. package/dist/cjs/wm-option_2.cjs.entry.js +5 -5
  29. package/dist/cjs/wm-pagination.cjs.entry.js +1 -1
  30. package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +2 -2
  31. package/dist/cjs/wm-search.cjs.entry.js +2 -2
  32. package/dist/cjs/wm-snackbar.cjs.entry.js +2 -2
  33. package/dist/cjs/wm-tab-item_3.cjs.entry.js +6 -6
  34. package/dist/cjs/wm-tag-input.cjs.entry.js +2 -2
  35. package/dist/cjs/wm-tag-option.cjs.entry.js +8 -0
  36. package/dist/cjs/wm-textarea.cjs.entry.js +1 -1
  37. package/dist/cjs/wm-timepicker.cjs.entry.js +14 -2
  38. package/dist/cjs/wm-toggletip.cjs.entry.js +3 -3
  39. package/dist/cjs/wm-uploader.cjs.entry.js +2 -2
  40. package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +7 -2
  41. package/dist/collection/components/charts/priv-chart-popover-old/priv-chart-popover-old.js +7 -2
  42. package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +58 -6
  43. package/dist/collection/components/charts/wm-chart/wm-chart.js +139 -13
  44. package/dist/collection/components/charts/wm-chart-bar/wm-chart-bar.js +134 -7
  45. package/dist/collection/components/charts/wm-chart-column/wm-chart-column.js +102 -8
  46. package/dist/collection/components/charts/wm-chart-legend/wm-chart-legend.js +90 -8
  47. package/dist/collection/components/charts/wm-line-chart/wm-line-chart.js +153 -17
  48. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +63 -7
  49. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +85 -5
  50. package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +52 -6
  51. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.css +47 -47
  52. package/dist/collection/components/datepickers/priv-calendar/priv-calendar.js +33 -29
  53. package/dist/collection/components/datepickers/wm-date-range.js +246 -29
  54. package/dist/collection/components/datepickers/wm-datepicker.js +254 -30
  55. package/dist/collection/components/selects/priv-option-list/priv-option-list.js +7 -1
  56. package/dist/collection/components/selects/wm-nested-select/wm-nested-select.js +193 -17
  57. package/dist/collection/components/selects/wm-optgroup/wm-optgroup.js +116 -11
  58. package/dist/collection/components/selects/wm-option/wm-option.js +153 -18
  59. package/dist/collection/components/selects/wm-select/wm-select.js +187 -21
  60. package/dist/collection/components/wm-action-menu/wm-action-menu.js +148 -12
  61. package/dist/collection/components/wm-button/wm-button.js +212 -18
  62. package/dist/collection/components/wm-file/wm-file.js +108 -14
  63. package/dist/collection/components/wm-file-list/wm-file-list.js +74 -2
  64. package/dist/collection/components/wm-flyout/wm-flyout.js +215 -16
  65. package/dist/collection/components/wm-input/wm-input.js +195 -20
  66. package/dist/collection/components/wm-menuitem/wm-menuitem.js +62 -5
  67. package/dist/collection/components/wm-modal/wm-modal-footer.js +63 -6
  68. package/dist/collection/components/wm-modal/wm-modal-header.js +34 -3
  69. package/dist/collection/components/wm-modal/wm-modal.js +181 -14
  70. package/dist/collection/components/wm-modal-pss/wm-modal-pss-footer.js +5 -1
  71. package/dist/collection/components/wm-modal-pss/wm-modal-pss-header.js +5 -1
  72. package/dist/collection/components/wm-modal-pss/wm-modal-pss.js +6 -2
  73. package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +37 -3
  74. package/dist/collection/components/wm-navigation/wm-navigation-item.js +47 -5
  75. package/dist/collection/components/wm-navigation/wm-navigation.js +54 -4
  76. package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +5 -1
  77. package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +5 -1
  78. package/dist/collection/components/wm-navigator/wm-navigator.js +102 -9
  79. package/dist/collection/components/wm-pagination/wm-pagination.js +106 -9
  80. package/dist/collection/components/wm-search/wm-search.js +182 -16
  81. package/dist/collection/components/wm-snackbar/wm-snackbar.js +96 -5
  82. package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +66 -10
  83. package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +96 -5
  84. package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +42 -6
  85. package/dist/collection/components/wm-tag-input/wm-tag-input.js +205 -17
  86. package/dist/collection/components/wm-tag-input/wm-tag-option/wm-tag-option.js +97 -12
  87. package/dist/collection/components/wm-textarea/wm-textarea.js +116 -13
  88. package/dist/collection/components/wm-timepicker/wm-timepicker.js +190 -16
  89. package/dist/collection/components/wm-toggletip/wm-toggletip.js +87 -8
  90. package/dist/collection/components/wm-uploader/wm-uploader.js +142 -14
  91. package/dist/collection/components/wm-wrapper/wm-wrapper.js +3 -0
  92. package/dist/collection/global/services/__mocks__/http-service.js +1 -1
  93. package/dist/docs/docs.d.ts +435 -0
  94. package/dist/docs/docs.json +13915 -0
  95. package/dist/docs/props-reference.json +2028 -0
  96. package/dist/docs/skill/index.md +32 -0
  97. package/dist/docs/skill/wm-action-menu.md +93 -0
  98. package/dist/docs/skill/wm-button.md +103 -0
  99. package/dist/docs/skill/wm-chart-bar.md +129 -0
  100. package/dist/docs/skill/wm-chart-column.md +96 -0
  101. package/dist/docs/skill/wm-chart-legend.md +67 -0
  102. package/dist/docs/skill/wm-chart-slice.md +55 -0
  103. package/dist/docs/skill/wm-chart.md +92 -0
  104. package/dist/docs/skill/wm-date-range.md +153 -0
  105. package/dist/docs/skill/wm-datepicker.md +134 -0
  106. package/dist/docs/skill/wm-file-list.md +97 -0
  107. package/dist/docs/skill/wm-file.md +78 -0
  108. package/dist/docs/skill/wm-flyout.md +174 -0
  109. package/dist/docs/skill/wm-input.md +126 -0
  110. package/dist/docs/skill/wm-line-chart.md +108 -0
  111. package/dist/docs/skill/wm-menuitem.md +72 -0
  112. package/dist/docs/skill/wm-modal-footer.md +73 -0
  113. package/dist/docs/skill/wm-modal-header.md +65 -0
  114. package/dist/docs/skill/wm-modal.md +137 -0
  115. package/dist/docs/skill/wm-navigation-hamburger.md +56 -0
  116. package/dist/docs/skill/wm-navigation-item.md +69 -0
  117. package/dist/docs/skill/wm-navigation.md +66 -0
  118. package/dist/docs/skill/wm-navigator.md +91 -0
  119. package/dist/docs/skill/wm-nested-select.md +149 -0
  120. package/dist/docs/skill/wm-optgroup.md +71 -0
  121. package/dist/docs/skill/wm-option.md +68 -0
  122. package/dist/docs/skill/wm-pagination.md +95 -0
  123. package/dist/docs/skill/wm-progress-indicator.md +49 -0
  124. package/dist/docs/skill/wm-progress-monitor.md +93 -0
  125. package/dist/docs/skill/wm-progress-slice.md +41 -0
  126. package/dist/docs/skill/wm-search.md +157 -0
  127. package/dist/docs/skill/wm-select.md +148 -0
  128. package/dist/docs/skill/wm-snackbar.md +101 -0
  129. package/dist/docs/skill/wm-tab-item.md +35 -0
  130. package/dist/docs/skill/wm-tab-list.md +112 -0
  131. package/dist/docs/skill/wm-tab-panel.md +33 -0
  132. package/dist/docs/skill/wm-tag-input.md +165 -0
  133. package/dist/docs/skill/wm-tag-option.md +59 -0
  134. package/dist/docs/skill/wm-textarea.md +94 -0
  135. package/dist/docs/skill/wm-timepicker.md +139 -0
  136. package/dist/docs/skill/wm-toggletip.md +92 -0
  137. package/dist/docs/skill/wm-uploader.md +129 -0
  138. package/dist/docs/skill/wm-wrapper.md +6 -0
  139. package/dist/docs/wm-action-menu.md +111 -0
  140. package/dist/docs/wm-button.md +137 -0
  141. package/dist/docs/wm-chart-bar.md +23 -0
  142. package/dist/docs/wm-chart-column.md +26 -0
  143. package/dist/docs/wm-chart-legend.md +31 -0
  144. package/dist/docs/wm-chart-slice.md +14 -0
  145. package/dist/docs/wm-chart.md +30 -0
  146. package/dist/docs/wm-date-range.md +215 -0
  147. package/dist/docs/wm-datepicker.md +210 -0
  148. package/dist/docs/wm-file-list.md +95 -0
  149. package/dist/docs/wm-file.md +34 -0
  150. package/dist/docs/wm-flyout.md +123 -0
  151. package/dist/docs/wm-input.md +120 -0
  152. package/dist/docs/wm-line-chart.md +32 -0
  153. package/dist/docs/wm-menuitem.md +38 -0
  154. package/dist/docs/wm-modal-footer.md +106 -0
  155. package/dist/docs/wm-modal-header.md +100 -0
  156. package/dist/docs/wm-modal.md +127 -0
  157. package/dist/docs/wm-navigation-hamburger.md +91 -0
  158. package/dist/docs/wm-navigation-item.md +98 -0
  159. package/dist/docs/wm-navigation.md +101 -0
  160. package/dist/docs/wm-navigator.md +99 -0
  161. package/dist/docs/wm-nested-select.md +107 -0
  162. package/dist/docs/wm-optgroup.md +28 -0
  163. package/dist/docs/wm-option.md +24 -0
  164. package/dist/docs/wm-pagination.md +94 -0
  165. package/dist/docs/wm-progress-indicator.md +23 -0
  166. package/dist/docs/wm-progress-monitor.md +27 -0
  167. package/dist/docs/wm-progress-slice.md +16 -0
  168. package/dist/docs/wm-search.md +119 -0
  169. package/dist/docs/wm-select.md +120 -0
  170. package/dist/docs/wm-snackbar.md +87 -0
  171. package/dist/docs/wm-tab-item.md +23 -0
  172. package/dist/docs/wm-tab-list.md +98 -0
  173. package/dist/docs/wm-tab-panel.md +18 -0
  174. package/dist/docs/wm-tag-input.md +123 -0
  175. package/dist/docs/wm-tag-option.md +33 -0
  176. package/dist/docs/wm-textarea.md +101 -0
  177. package/dist/docs/wm-timepicker.md +122 -0
  178. package/dist/docs/wm-toggletip.md +86 -0
  179. package/dist/docs/wm-uploader.md +114 -0
  180. package/dist/docs/wm-wrapper.md +7 -0
  181. package/dist/esm/app-globals-466ed44b.js +101 -0
  182. package/dist/esm/loader.js +1 -1
  183. package/dist/esm/priv-calendar.entry.js +27 -27
  184. package/dist/esm/priv-chart-popover-old.entry.js +2 -2
  185. package/dist/esm/priv-chart-popover_2.entry.js +3 -3
  186. package/dist/esm/priv-navigator-button.entry.js +1 -1
  187. package/dist/esm/priv-navigator-item.entry.js +1 -1
  188. package/dist/esm/priv-option-list.entry.js +1 -1
  189. package/dist/esm/ripple.js +1 -1
  190. package/dist/esm/wm-action-menu_2.entry.js +5 -4
  191. package/dist/esm/wm-button.entry.js +1 -1
  192. package/dist/esm/wm-chart-bar.entry.js +1 -1
  193. package/dist/esm/wm-chart-column.entry.js +1 -1
  194. package/dist/esm/wm-chart.entry.js +1 -1
  195. package/dist/esm/wm-date-range.entry.js +25 -9
  196. package/dist/esm/wm-datepicker.entry.js +37 -11
  197. package/dist/esm/wm-file-list.entry.js +1 -1
  198. package/dist/esm/wm-file.entry.js +1 -1
  199. package/dist/esm/wm-flyout.entry.js +6 -1
  200. package/dist/esm/wm-input.entry.js +1 -1
  201. package/dist/esm/wm-line-chart.entry.js +1 -1
  202. package/dist/esm/wm-modal-pss_3.entry.js +4 -4
  203. package/dist/esm/wm-modal_3.entry.js +19 -4
  204. package/dist/esm/wm-navigation_3.entry.js +4 -4
  205. package/dist/esm/wm-navigator.entry.js +1 -1
  206. package/dist/esm/wm-nested-select.entry.js +3 -3
  207. package/dist/esm/wm-optgroup.entry.js +11 -1
  208. package/dist/esm/wm-option_2.entry.js +5 -5
  209. package/dist/esm/wm-pagination.entry.js +1 -1
  210. package/dist/esm/wm-progress-indicator_3.entry.js +2 -2
  211. package/dist/esm/wm-search.entry.js +2 -2
  212. package/dist/esm/wm-snackbar.entry.js +2 -2
  213. package/dist/esm/wm-tab-item_3.entry.js +6 -6
  214. package/dist/esm/wm-tag-input.entry.js +2 -2
  215. package/dist/esm/wm-tag-option.entry.js +8 -0
  216. package/dist/esm/wm-textarea.entry.js +1 -1
  217. package/dist/esm/wm-timepicker.entry.js +14 -2
  218. package/dist/esm/wm-toggletip.entry.js +3 -3
  219. package/dist/esm/wm-uploader.entry.js +2 -2
  220. package/dist/esm-es5/app-globals-466ed44b.js +1 -0
  221. package/dist/esm-es5/loader.js +1 -1
  222. package/dist/esm-es5/priv-calendar.entry.js +1 -1
  223. package/dist/esm-es5/priv-chart-popover-old.entry.js +1 -1
  224. package/dist/esm-es5/priv-chart-popover_2.entry.js +1 -1
  225. package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
  226. package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
  227. package/dist/esm-es5/priv-option-list.entry.js +1 -1
  228. package/dist/esm-es5/ripple.js +1 -1
  229. package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
  230. package/dist/esm-es5/wm-button.entry.js +1 -1
  231. package/dist/esm-es5/wm-chart-bar.entry.js +1 -1
  232. package/dist/esm-es5/wm-chart-column.entry.js +1 -1
  233. package/dist/esm-es5/wm-chart.entry.js +1 -1
  234. package/dist/esm-es5/wm-date-range.entry.js +1 -1
  235. package/dist/esm-es5/wm-datepicker.entry.js +1 -1
  236. package/dist/esm-es5/wm-file-list.entry.js +1 -1
  237. package/dist/esm-es5/wm-file.entry.js +1 -1
  238. package/dist/esm-es5/wm-flyout.entry.js +1 -1
  239. package/dist/esm-es5/wm-input.entry.js +1 -1
  240. package/dist/esm-es5/wm-line-chart.entry.js +1 -1
  241. package/dist/esm-es5/wm-modal-pss_3.entry.js +1 -1
  242. package/dist/esm-es5/wm-modal_3.entry.js +1 -1
  243. package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
  244. package/dist/esm-es5/wm-navigator.entry.js +1 -1
  245. package/dist/esm-es5/wm-nested-select.entry.js +1 -1
  246. package/dist/esm-es5/wm-optgroup.entry.js +1 -1
  247. package/dist/esm-es5/wm-option_2.entry.js +1 -1
  248. package/dist/esm-es5/wm-pagination.entry.js +1 -1
  249. package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
  250. package/dist/esm-es5/wm-search.entry.js +1 -1
  251. package/dist/esm-es5/wm-snackbar.entry.js +1 -1
  252. package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
  253. package/dist/esm-es5/wm-tag-input.entry.js +1 -1
  254. package/dist/esm-es5/wm-textarea.entry.js +1 -1
  255. package/dist/esm-es5/wm-timepicker.entry.js +1 -1
  256. package/dist/esm-es5/wm-toggletip.entry.js +1 -1
  257. package/dist/esm-es5/wm-uploader.entry.js +1 -1
  258. package/dist/ripple/{p-1fc894ac.system.entry.js → p-012bd307.system.entry.js} +1 -1
  259. package/dist/ripple/p-03f352dc.entry.js +1 -0
  260. package/dist/ripple/{p-4f53544d.entry.js → p-03ff4f41.entry.js} +1 -1
  261. package/dist/ripple/{p-2a03f658.entry.js → p-045aa27f.entry.js} +1 -1
  262. package/dist/ripple/{p-709d1765.entry.js → p-057ffccb.entry.js} +1 -1
  263. package/dist/ripple/p-06c3dc14.system.entry.js +1 -0
  264. package/dist/ripple/{p-ff6fd274.system.entry.js → p-09a80f59.system.entry.js} +1 -1
  265. package/dist/ripple/{p-3bd8537c.entry.js → p-09fb0a09.entry.js} +1 -1
  266. package/dist/ripple/p-0a05d3a3.js +1 -0
  267. package/dist/ripple/{p-3f69041f.entry.js → p-0ab9bac7.entry.js} +1 -1
  268. package/dist/ripple/{p-332a3e3d.system.entry.js → p-1059cdb9.system.entry.js} +1 -1
  269. package/dist/ripple/{p-dbdae848.system.entry.js → p-106a9459.system.entry.js} +1 -1
  270. package/dist/ripple/{p-e1a6ee77.entry.js → p-16381033.entry.js} +1 -1
  271. package/dist/ripple/{p-b11abb0d.system.entry.js → p-181109f0.system.entry.js} +1 -1
  272. package/dist/ripple/{p-bb9f54cf.system.entry.js → p-1855c3b1.system.entry.js} +1 -1
  273. package/dist/ripple/{p-4533241f.entry.js → p-1c25838e.entry.js} +1 -1
  274. package/dist/ripple/{p-fb6aee09.entry.js → p-1f67b172.entry.js} +1 -1
  275. package/dist/ripple/{p-a3dd5204.system.entry.js → p-22703bcd.system.entry.js} +1 -1
  276. package/dist/ripple/{p-a6aef87d.system.entry.js → p-237388c5.system.entry.js} +1 -1
  277. package/dist/ripple/p-237f5977.system.entry.js +1 -0
  278. package/dist/ripple/p-25d6cc45.system.js +1 -0
  279. package/dist/ripple/{p-09d5381c.entry.js → p-299d2d8b.entry.js} +1 -1
  280. package/dist/ripple/{p-e78f9572.system.entry.js → p-2c1d219f.system.entry.js} +1 -1
  281. package/dist/ripple/{p-84e04896.entry.js → p-2dbf9636.entry.js} +1 -1
  282. package/dist/ripple/{p-05dae6a0.entry.js → p-2dc1071a.entry.js} +1 -1
  283. package/dist/ripple/{p-39bac42a.entry.js → p-3216e2e7.entry.js} +1 -1
  284. package/dist/ripple/p-3252c04b.system.entry.js +1 -0
  285. package/dist/ripple/{p-7ca0bb68.system.entry.js → p-32bac954.system.entry.js} +1 -1
  286. package/dist/ripple/p-33eeaa18.entry.js +1 -0
  287. package/dist/ripple/p-3441da90.entry.js +1 -0
  288. package/dist/ripple/p-3502fd33.system.entry.js +1 -0
  289. package/dist/ripple/{p-f51404f5.entry.js → p-351000b9.entry.js} +1 -1
  290. package/dist/ripple/{p-bf3eef42.entry.js → p-3c0062c5.entry.js} +1 -1
  291. package/dist/ripple/{p-c1abc58e.entry.js → p-3d3836ad.entry.js} +1 -1
  292. package/dist/ripple/p-3e8bfc68.system.entry.js +1 -0
  293. package/dist/ripple/p-3f403a64.system.entry.js +1 -0
  294. package/dist/ripple/{p-b974a535.system.entry.js → p-43e8d384.system.entry.js} +1 -1
  295. package/dist/ripple/p-49dc64ba.entry.js +1 -0
  296. package/dist/ripple/{p-9d345fc7.system.entry.js → p-4a942d74.system.entry.js} +1 -1
  297. package/dist/ripple/p-4cc09fa3.system.entry.js +1 -0
  298. package/dist/ripple/p-5177d4fa.entry.js +1 -0
  299. package/dist/ripple/p-51fff3a7.system.entry.js +1 -0
  300. package/dist/ripple/p-54ba0eae.entry.js +1 -0
  301. package/dist/ripple/{p-c04d0eeb.system.entry.js → p-5609bde2.system.entry.js} +1 -1
  302. package/dist/ripple/{p-86148143.system.entry.js → p-56e1a71d.system.entry.js} +1 -1
  303. package/dist/ripple/{p-f94af31c.entry.js → p-578b5443.entry.js} +1 -1
  304. package/dist/ripple/p-57901fc3.entry.js +1 -0
  305. package/dist/ripple/{p-463be5be.entry.js → p-57a0cb5f.entry.js} +1 -1
  306. package/dist/ripple/{p-0db033c3.system.entry.js → p-59b3f92b.system.entry.js} +1 -1
  307. package/dist/ripple/p-5a533e7c.entry.js +1 -0
  308. package/dist/ripple/{p-5f092b39.system.entry.js → p-61a0ba92.system.entry.js} +1 -1
  309. package/dist/ripple/{p-6de83c6f.entry.js → p-623b89e0.entry.js} +1 -1
  310. package/dist/ripple/{p-6479b06b.entry.js → p-668c0758.entry.js} +1 -1
  311. package/dist/ripple/p-6a6e98c7.entry.js +1 -0
  312. package/dist/ripple/{p-b654743f.system.entry.js → p-6c46dd9a.system.entry.js} +1 -1
  313. package/dist/ripple/{p-4e7ae2c5.system.entry.js → p-6ea254d2.system.entry.js} +1 -1
  314. package/dist/ripple/p-6f875608.system.entry.js +1 -0
  315. package/dist/ripple/{p-d05b7cd3.entry.js → p-71a38bd2.entry.js} +1 -1
  316. package/dist/ripple/{p-dab54a9d.entry.js → p-73a2389d.entry.js} +1 -1
  317. package/dist/ripple/p-759d87de.entry.js +1 -0
  318. package/dist/ripple/{p-227b0af9.entry.js → p-75c5ec39.entry.js} +1 -1
  319. package/dist/ripple/{p-ee729037.system.entry.js → p-7bc3b4ee.system.entry.js} +1 -1
  320. package/dist/ripple/p-7c7988a3.entry.js +1 -0
  321. package/dist/ripple/p-81735196.entry.js +1 -0
  322. package/dist/ripple/{p-a0aba3e0.system.entry.js → p-8376699e.system.entry.js} +1 -1
  323. package/dist/ripple/{p-503330c1.system.entry.js → p-865208b7.system.entry.js} +1 -1
  324. package/dist/ripple/{p-28b8a12e.system.entry.js → p-8715d758.system.entry.js} +1 -1
  325. package/dist/ripple/p-8bfb7664.entry.js +1 -0
  326. package/dist/ripple/{p-680f5703.entry.js → p-8deb22bc.entry.js} +1 -1
  327. package/dist/ripple/p-8e32e9de.system.entry.js +1 -0
  328. package/dist/ripple/{p-bdb10d37.entry.js → p-92e3bf68.entry.js} +1 -1
  329. package/dist/ripple/{p-0feaaae9.system.entry.js → p-942b323c.system.entry.js} +1 -1
  330. package/dist/ripple/{p-5173359e.entry.js → p-94fd1dcc.entry.js} +1 -1
  331. package/dist/ripple/p-991455a2.system.entry.js +1 -0
  332. package/dist/ripple/p-99a112c8.system.entry.js +1 -0
  333. package/dist/ripple/p-9a8d91d6.entry.js +1 -0
  334. package/dist/ripple/{p-e0c0e8b0.system.entry.js → p-9afb642d.system.entry.js} +1 -1
  335. package/dist/ripple/p-9c850273.system.js +1 -0
  336. package/dist/ripple/p-a3f9e257.entry.js +1 -0
  337. package/dist/ripple/p-a5b07241.entry.js +1 -0
  338. package/dist/ripple/{p-d55bd2b9.entry.js → p-a7a6cf55.system.entry.js} +1 -1
  339. package/dist/ripple/{p-6f2d3297.system.entry.js → p-a917ea86.system.entry.js} +1 -1
  340. package/dist/ripple/p-ab5664cd.entry.js +1 -0
  341. package/dist/ripple/{p-cc028323.entry.js → p-acb04e6e.entry.js} +1 -1
  342. package/dist/ripple/p-b2624d8f.system.entry.js +1 -0
  343. package/dist/ripple/p-b5b37960.entry.js +1 -0
  344. package/dist/ripple/p-b713b6de.system.entry.js +1 -0
  345. package/dist/ripple/p-b75e9e5f.entry.js +1 -0
  346. package/dist/ripple/{p-b1924539.system.entry.js → p-b7969fd7.system.entry.js} +1 -1
  347. package/dist/ripple/{p-a7e637a5.system.entry.js → p-b9596bfc.system.entry.js} +1 -1
  348. package/dist/ripple/p-b9d3d967.system.entry.js +1 -0
  349. package/dist/ripple/{p-aafced54.system.entry.js → p-bd365c44.system.entry.js} +1 -1
  350. package/dist/ripple/p-bd9ab5ae.system.entry.js +1 -0
  351. package/dist/ripple/p-c0028f4d.system.entry.js +1 -0
  352. package/dist/ripple/p-c7d3ee52.entry.js +1 -0
  353. package/dist/ripple/p-c8e4e95b.entry.js +1 -0
  354. package/dist/ripple/p-c996ade8.entry.js +1 -0
  355. package/dist/ripple/p-ca8378b0.entry.js +1 -0
  356. package/dist/ripple/{p-bd37dd6f.entry.js → p-cc2176ad.entry.js} +1 -1
  357. package/dist/ripple/p-cd496e63.entry.js +1 -0
  358. package/dist/ripple/p-d0653c32.entry.js +1 -0
  359. package/dist/ripple/{p-9a5d11cb.entry.js → p-d11e5029.entry.js} +1 -1
  360. package/dist/ripple/p-d3d0b626.entry.js +1 -0
  361. package/dist/ripple/p-d4899263.entry.js +1 -0
  362. package/dist/ripple/p-dc82f194.entry.js +1 -0
  363. package/dist/ripple/{p-a6ef995c.system.entry.js → p-ddfb976f.system.entry.js} +1 -1
  364. package/dist/ripple/{p-ee26ba53.entry.js → p-e1899945.entry.js} +1 -1
  365. package/dist/ripple/p-e26b9711.system.entry.js +1 -0
  366. package/dist/ripple/{p-10aea5ee.system.entry.js → p-e31f597a.system.entry.js} +1 -1
  367. package/dist/ripple/p-e35de3cd.system.entry.js +1 -0
  368. package/dist/ripple/p-e3effa1a.system.entry.js +1 -0
  369. package/dist/ripple/p-e674e6a7.system.entry.js +1 -0
  370. package/dist/ripple/{p-8e6e868a.entry.js → p-e7ffd796.entry.js} +1 -1
  371. package/dist/ripple/p-e800717d.entry.js +1 -0
  372. package/dist/ripple/p-eab35bea.entry.js +1 -0
  373. package/dist/ripple/{p-df9d5b14.system.entry.js → p-ebdf16fa.system.entry.js} +1 -1
  374. package/dist/ripple/p-ed9fc1c1.system.entry.js +1 -0
  375. package/dist/ripple/p-eda49f0e.entry.js +1 -0
  376. package/dist/ripple/p-ee33fd7f.system.entry.js +1 -0
  377. package/dist/ripple/p-ee5f43fe.system.entry.js +1 -0
  378. package/dist/ripple/{p-928b3e5e.entry.js → p-f0ee3616.entry.js} +1 -1
  379. package/dist/ripple/{p-02c8bf15.system.entry.js → p-f1215c25.system.entry.js} +1 -1
  380. package/dist/ripple/p-f148ae9d.system.entry.js +1 -0
  381. package/dist/ripple/p-f307aabe.entry.js +1 -0
  382. package/dist/ripple/p-f4f6c904.system.entry.js +1 -0
  383. package/dist/ripple/p-f58833ae.system.entry.js +1 -0
  384. package/dist/ripple/p-f7fc6350.system.js +1 -1
  385. package/dist/ripple/p-f881cdc8.system.entry.js +1 -0
  386. package/dist/ripple/{p-444feb7d.system.entry.js → p-fbb37b4b.system.entry.js} +1 -1
  387. package/dist/ripple/{p-40e8071c.system.entry.js → p-fc905b2f.system.entry.js} +1 -1
  388. package/dist/ripple/ripple.esm.js +1 -1
  389. package/dist/ripple/ripple.js +1 -1
  390. package/dist/types/components/charts/priv-chart-popover/priv-chart-popover.d.ts +5 -0
  391. package/dist/types/components/charts/priv-chart-popover-old/priv-chart-popover-old.d.ts +5 -0
  392. package/dist/types/components/charts/wm-chart/wm-chart-slice.d.ts +52 -0
  393. package/dist/types/components/charts/wm-chart/wm-chart.d.ts +111 -0
  394. package/dist/types/components/charts/wm-chart-bar/wm-chart-bar.d.ts +131 -0
  395. package/dist/types/components/charts/wm-chart-column/wm-chart-column.d.ts +100 -0
  396. package/dist/types/components/charts/wm-chart-legend/wm-chart-legend.d.ts +77 -0
  397. package/dist/types/components/charts/wm-line-chart/wm-line-chart.d.ts +134 -0
  398. package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +52 -0
  399. package/dist/types/components/charts/wm-progress-monitor/wm-progress-monitor.d.ts +84 -0
  400. package/dist/types/components/charts/wm-progress-monitor/wm-progress-slice.d.ts +44 -0
  401. package/dist/types/components/datepickers/priv-calendar/priv-calendar.d.ts +6 -2
  402. package/dist/types/components/datepickers/wm-date-range.d.ts +186 -0
  403. package/dist/types/components/datepickers/wm-datepicker.d.ts +170 -2
  404. package/dist/types/components/selects/priv-option-list/priv-option-list.d.ts +6 -0
  405. package/dist/types/components/selects/wm-nested-select/wm-nested-select.d.ts +162 -0
  406. package/dist/types/components/selects/wm-optgroup/wm-optgroup.d.ts +87 -0
  407. package/dist/types/components/selects/wm-option/wm-option.d.ts +117 -0
  408. package/dist/types/components/selects/wm-select/wm-select.d.ts +164 -0
  409. package/dist/types/components/wm-action-menu/wm-action-menu.d.ts +122 -0
  410. package/dist/types/components/wm-button/wm-button.d.ts +170 -2
  411. package/dist/types/components/wm-file/wm-file.d.ts +92 -0
  412. package/dist/types/components/wm-file-list/wm-file-list.d.ts +71 -0
  413. package/dist/types/components/wm-flyout/wm-flyout.d.ts +193 -0
  414. package/dist/types/components/wm-input/wm-input.d.ts +158 -0
  415. package/dist/types/components/wm-menuitem/wm-menuitem.d.ts +58 -0
  416. package/dist/types/components/wm-modal/wm-modal-footer.d.ts +54 -0
  417. package/dist/types/components/wm-modal/wm-modal-header.d.ts +30 -0
  418. package/dist/types/components/wm-modal/wm-modal.d.ts +148 -0
  419. package/dist/types/components/wm-modal-pss/wm-modal-pss-footer.d.ts +4 -0
  420. package/dist/types/components/wm-modal-pss/wm-modal-pss-header.d.ts +4 -0
  421. package/dist/types/components/wm-modal-pss/wm-modal-pss.d.ts +4 -0
  422. package/dist/types/components/wm-navigation/wm-navigation-hamburger.d.ts +34 -0
  423. package/dist/types/components/wm-navigation/wm-navigation-item.d.ts +41 -0
  424. package/dist/types/components/wm-navigation/wm-navigation.d.ts +50 -0
  425. package/dist/types/components/wm-navigator/priv-navigator-button/priv-navigator-button.d.ts +4 -0
  426. package/dist/types/components/wm-navigator/priv-navigator-item/priv-navigator-item.d.ts +4 -0
  427. package/dist/types/components/wm-navigator/wm-navigator.d.ts +91 -3
  428. package/dist/types/components/wm-pagination/wm-pagination.d.ts +90 -0
  429. package/dist/types/components/wm-search/wm-search.d.ts +148 -5
  430. package/dist/types/components/wm-snackbar/wm-snackbar.d.ts +94 -0
  431. package/dist/types/components/wm-tabs/wm-tab-item/wm-tab-item.d.ts +43 -2
  432. package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +93 -0
  433. package/dist/types/components/wm-tabs/wm-tab-panel/wm-tab-panel.d.ts +28 -2
  434. package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +185 -0
  435. package/dist/types/components/wm-tag-input/wm-tag-option/wm-tag-option.d.ts +68 -0
  436. package/dist/types/components/wm-textarea/wm-textarea.d.ts +97 -0
  437. package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +145 -0
  438. package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +74 -0
  439. package/dist/types/components/wm-uploader/wm-uploader.d.ts +128 -0
  440. package/dist/types/components/wm-wrapper/wm-wrapper.d.ts +3 -0
  441. package/dist/types/components.d.ts +10513 -57
  442. package/package.json +2 -2
  443. package/dist/ripple/p-065b0134.entry.js +0 -1
  444. package/dist/ripple/p-210773eb.entry.js +0 -1
@@ -1,5 +1,116 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  import { intl, toBool, handleDisabledAttribute, dateToISO, showTooltip, hideTooltip, debounce, findAllScrollableParents, findPositioningBoundary, } from "../../global/functions";
3
+ /**
4
+ * Date input that lets users type a date or pick one from a calendar popup. Supports
5
+ * configurable date formats, pre-selection, validation, and full keyboard navigation of the calendar.
6
+ * Use instead of native `<input type="date">`.
7
+ *
8
+ * @keyboardInteraction
9
+ * - **Input field**: Tab moves focus to the calendar toggle button.
10
+ * - **Calendar toggle**: Space / Enter / Down Arrow opens the calendar; Shift+Tab returns to the input.
11
+ * - **Day grid**: Arrow keys navigate dates; Enter selects; Escape closes and returns focus to the toggle;
12
+ * Home/End jump to the first/last day of the month; Tab cycles through calendar controls.
13
+ * - **Month/year selectors**: Arrow keys cycle values; Tab/Shift+Tab move focus clockwise/counter-clockwise.
14
+ *
15
+ * @accessibility
16
+ * - `label` is required even when `label-position` is `"none"` — it becomes the input's `aria-label`.
17
+ * - The calendar toggle button announces "Select date" to screen readers and reflects `aria-expanded`.
18
+ * - Validation errors are announced via an `aria-live` region when `error-message` changes.
19
+ * - When the input value cannot be parsed as a valid date, the calendar opens to the current date.
20
+ *
21
+ * @usageNotes
22
+ * - Set `value` in the same format as `date-format` (default `mm/dd/yyyy`). For programmatic date
23
+ * setting, prefer ISO format via `preselected` and convert with the `reformatDate` method.
24
+ * - The calendar popup hides its toggle automatically when there is no room to display it; always
25
+ * allow users to type a date directly in the input as a fallback.
26
+ *
27
+ * @example {html} Basic datepicker
28
+ * <wm-datepicker label="Start date"></wm-datepicker>
29
+ *
30
+ * @example {react} Basic datepicker
31
+ * // The component does not update its own value after a calendar selection --
32
+ * // the app must call reformatDate and set value/errorMessage imperatively via a ref.
33
+ * const ref = useRef(null);
34
+ *
35
+ * function getFormatName(format) {
36
+ * const map = { 'mm/dd/yyyy': 'US', 'dd/mm/yyyy': 'INT', 'yyyy/mm/dd': 'ISO' };
37
+ * return format ? map[format] : 'US';
38
+ * }
39
+ *
40
+ * // event.detail is { date: string } -- ISO 8601 (YYYY-MM-DD)
41
+ * const handleDateSelected = async (event) => {
42
+ * const dp = ref.current;
43
+ * const fmt = getFormatName(dp.getAttribute('date-format'));
44
+ * dp.value = await dp.reformatDate('ISO', fmt, event.detail.date);
45
+ * dp.errorMessage = '';
46
+ * };
47
+ *
48
+ * const handleInputBlurred = async () => {
49
+ * const dp = ref.current;
50
+ * const fmt = getFormatName(dp.getAttribute('date-format'));
51
+ * if (dp.value) {
52
+ * const iso = await dp.reformatDate(fmt, 'ISO', dp.value);
53
+ * if (await dp.isValidIso(iso)) {
54
+ * dp.value = await dp.reformatDate('ISO', fmt, iso);
55
+ * dp.errorMessage = '';
56
+ * } else {
57
+ * dp.errorMessage = `Please enter a valid date in the format ${dp.getAttribute('date-format') ?? 'mm/dd/yyyy'}`;
58
+ * }
59
+ * }
60
+ * };
61
+ *
62
+ * const handleBlur = () => {
63
+ * const dp = ref.current;
64
+ * if (dp.requiredField && dp.value === '') dp.errorMessage = 'A date is required';
65
+ * };
66
+ *
67
+ * <WmDatepicker
68
+ * ref={ref}
69
+ * label="Start date"
70
+ * onWmDatepickerDateSelected={handleDateSelected}
71
+ * onWmDatepickerInputBlurred={handleInputBlurred}
72
+ * onBlur={handleBlur}
73
+ * />
74
+ *
75
+ * @example {html} Required field with validation
76
+ * <wm-datepicker label="Date of birth" required-field></wm-datepicker>
77
+ *
78
+ * @example {react} Required field with validation
79
+ * <WmDatepicker
80
+ * ref={ref}
81
+ * label="Date of birth"
82
+ * requiredField={true}
83
+ * onWmDatepickerDateSelected={handleDateSelected}
84
+ * onWmDatepickerInputBlurred={handleInputBlurred}
85
+ * onBlur={handleBlur}
86
+ * />
87
+ *
88
+ * @example {html} With validation error
89
+ * <wm-datepicker label="Start date" required-field error-message="Please enter a valid start date"></wm-datepicker>
90
+ *
91
+ * @example {react} With validation error
92
+ * <WmDatepicker label="Start date" requiredField={true} errorMessage="Please enter a valid start date" />
93
+ *
94
+ * @example {html} Pre-opened to a specific date
95
+ * <wm-datepicker label="Enrollment date" preselected="2025-09-01"></wm-datepicker>
96
+ *
97
+ * @example {react} Pre-opened to a specific date
98
+ * <WmDatepicker label="Enrollment date" preselected="2025-09-01" />
99
+ *
100
+ * @example {html} International date format
101
+ * <wm-datepicker label="Graduation date" date-format="dd/mm/yyyy"></wm-datepicker>
102
+ *
103
+ * @example {react} International date format
104
+ * <WmDatepicker label="Graduation date" dateFormat="dd/mm/yyyy" />
105
+ *
106
+ * @example {html} Disabled
107
+ * <wm-datepicker label="Locked date" value="05/15/2024" disabled></wm-datepicker>
108
+ *
109
+ * @example {react} Disabled
110
+ * <WmDatepicker label="Locked date" value="05/15/2024" disabled={true} />
111
+ *
112
+ * @category Form Inputs
113
+ */
3
114
  export class DatePicker {
4
115
  constructor() {
5
116
  this.calWidth = 336;
@@ -99,12 +210,17 @@ export class DatePicker {
99
210
  }
100
211
  get calendarDate() {
101
212
  let calendarDate = dateToISO(new Date());
102
- const dateFormatUnits = { "mm/dd/yyyy": "US", "dd/mm/yyyy": "INT", "yyyy/mm/dd": "ISO" };
213
+ const dateFormatUnits = {
214
+ "mm/dd/yyyy": "US",
215
+ "dd/mm/yyyy": "INT",
216
+ "yyyy/mm/dd": "ISO",
217
+ };
218
+ const inputFormat = dateFormatUnits[this.dateFormat];
103
219
  if (this.value &&
104
- dateFormatUnits[this.dateFormat] &&
105
- this.isValidIsoInternal(this.reformatDateInternal(dateFormatUnits[this.dateFormat], "ISO", this.value))) {
220
+ inputFormat &&
221
+ this.isValidIsoInternal(this.reformatDateInternal(inputFormat, "ISO", this.value))) {
106
222
  // if component has value, and value can be parsed to valid ISO
107
- calendarDate = this.reformatDateInternal(dateFormatUnits[this.dateFormat], "ISO", this.value);
223
+ calendarDate = this.reformatDateInternal(inputFormat, "ISO", this.value);
108
224
  }
109
225
  else if (this.preselected) {
110
226
  calendarDate = this.preselected;
@@ -191,7 +307,7 @@ export class DatePicker {
191
307
  }
192
308
  this.fit = null;
193
309
  this.isExpanded = false;
194
- this.calEl.view = "day";
310
+ this.calEl.view = "month";
195
311
  }
196
312
  }
197
313
  closePopup(returnFocus = false) {
@@ -245,6 +361,18 @@ export class DatePicker {
245
361
  this.el.dispatchEvent(changeEvent);
246
362
  this.closePopup(true);
247
363
  }
364
+ /**
365
+ * @description Converts a date string between the supported format tokens: `"US"` (mm/dd/yyyy),
366
+ * `"INT"` (dd/mm/yyyy), and `"ISO"` (YYYY-MM-DD). Direct US ↔ INT conversion is not supported —
367
+ * route through ISO as an intermediate step.
368
+ * @param inputFormat - Format of the input date string.
369
+ * @param outputFormat - Desired output format.
370
+ * @param date - The date string to reformat.
371
+ * @returns The reformatted date string, an empty string if `date` is omitted or falsy, or the
372
+ * original string unchanged if it cannot be parsed.
373
+ * @example reformatDate("US", "ISO", "06/20/1969") // → "1969-06-20"
374
+ * @example reformatDate("ISO", "US", "1969-06-20") // → "06/20/1969"
375
+ */
248
376
  async reformatDate(inputFormat, outputFormat, date) {
249
377
  return this.reformatDateInternal(inputFormat, outputFormat, date);
250
378
  }
@@ -280,6 +408,15 @@ export class DatePicker {
280
408
  }
281
409
  }
282
410
  }
411
+ /**
412
+ * @description Validates whether a string is a well-formed, calendar-correct ISO date
413
+ * (YYYY-MM-DD). Accounts for invalid day-of-month values and leap years.
414
+ * @param input - The string to validate.
415
+ * @returns `true` if the string is a valid ISO date, `false` otherwise.
416
+ * @example isValidIso("1969-06-20") // → true
417
+ * @example isValidIso("1969-06-33") // → false (day 33 does not exist)
418
+ * @example isValidIso("2023-02-29") // → false (2023 is not a leap year)
419
+ */
283
420
  async isValidIso(input) {
284
421
  return this.isValidIsoInternal(input);
285
422
  }
@@ -329,25 +466,25 @@ export class DatePicker {
329
466
  }
330
467
  render() {
331
468
  var _a, _b, _c, _d;
332
- return (h(Host, { key: '1ae084fab8bf53b87d769a314f7e6173492d35bc', "aria-busy": "false", class: `${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'ff4180135e424dfdf985819781117277925cfd4e', ref: (d) => (this.dpWrapperEl = d), class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '62df8d9f5634d50508a7a0f47d3d9d6f3d0ad16f', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: '3430b1340a0ba7355d4dc22a5bd02a800ffafa5f', id: "datepickerLabel", htmlFor: "date-input", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label)), this.labelPosition !== "none" && this.requiredField && (h("div", { key: '625126eee314eb1ac24f82e2a7bc0e48abe8ad5d', "aria-hidden": "true", class: "required" }, "*"))), h("div", { key: '39a8bc38fa6aad0a5cafd5fb3af8880229918384' }, h("div", { key: '861923fb1569879e5d8a2f593c6023f295d57e5e', class: "single-wrapper input", ref: (el) => (this.anchorEl = el) }, h("input", { key: 'aa8bf537a6c1e1d50157107a0392b90e984e6ca6', 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": "date-format-hint error", "aria-label": this.label, "aria-required": this.requiredField ? "true" : null }), h("div", { key: '7c26eb7e1a11ea1ee314ccbe9e1855f5cdd3b5ec', class: "container", id: "wm-container" }, this.canOpen && (h("button", { key: '734718b3ee64ab44fcf44f0ff34f2985f57ccf66', disabled: this.disabled, "aria-label": intl.formatMessage({
469
+ return (h(Host, { key: 'ec737a3904688317e61939e4ed997c0e4d6fa49d', "aria-busy": "false", class: `${this.errorMessage ? "invalid" : ""}` }, h("div", { key: 'ba2baa4d174b1fdb229169cd80ee8f60c308254e', ref: (d) => (this.dpWrapperEl = d), class: `wrapper label-${this.labelPosition} ${this.errorMessage ? "invalid" : ""}` }, h("div", { key: '4e196f3d7e9dc1ebc0fdd8d63cd4f9bb2888c3ed', class: "label-wrapper" }, this.labelPosition !== "none" && (h("label", { key: 'ad751fc53a81f7ea7edc88ded9a632cab9fabac1', id: "datepickerLabel", htmlFor: "date-input", class: "label", onMouseEnter: (ev) => this.handleLabelMouseEnter(ev), onMouseLeave: () => hideTooltip() }, this.label)), this.labelPosition !== "none" && this.requiredField && (h("div", { key: '4226a64b138aa35272fffce46265f82503afc25d', "aria-hidden": "true", class: "required" }, "*"))), h("div", { key: '175045b72db00588c9b8031cfbf22a2f77759e77' }, h("div", { key: '126b7c096ec657766deedb6bab0107f067c8cdd9', class: "single-wrapper input", ref: (el) => (this.anchorEl = el) }, h("input", { key: '36560f575003ffc14e2e363c24e682f8e5805f41', 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": "date-format-hint error", "aria-label": this.label, "aria-required": this.requiredField ? "true" : null }), h("div", { key: '097142daa1f08d9a135d2ed25c1161434448e3d7', class: "container", id: "wm-container" }, this.canOpen && (h("button", { key: 'ad64f7af5d81e3035b791808e9c9c35a537a86a9', disabled: this.disabled, "aria-label": intl.formatMessage({
333
470
  id: "date.selectDate",
334
471
  defaultMessage: "Select date",
335
472
  description: "Button text for screen readers.",
336
- }), "aria-describedby": "single-date-input", ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle", popoverTarget: "popup-wrapper", popoverTargetAction: "toggle" }, h("span", { key: 'eea61f1c8f02f89cca36f8d51f1028f1bb1f5801', class: "svg-icon svg-date" }), h("span", { key: '7910f167d9343f53b8d1df37845179d3580483f1', class: "calendar", title: intl.formatMessage({
473
+ }), "aria-describedby": "single-date-input", ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle", popoverTarget: "popup-wrapper", popoverTargetAction: "toggle" }, h("span", { key: 'f4860dc16c96322e45dd6f425c1b132bec93edd8', class: "svg-icon svg-date" }), h("span", { key: 'b771ffa73b5995cfb5a5a2d15902e8e57a1e9ad6', class: "calendar", title: intl.formatMessage({
337
474
  id: "date.calendarView",
338
475
  defaultMessage: "Calendar View",
339
476
  description: "Calendar button",
340
- }) }))), h("div", { key: '9c82f780494e23aefa7e188e060c8243ef9d6e01', class: `popup-wrapper ${this.calEl && this.calEl.view}-view ${this.isExpanded ? "is-open" : ""} ${!this.hasAnchor && !this.isExpanded ? "hidden" : ""} ${(_b = (_a = this.fit) === null || _a === void 0 ? void 0 : _a.vertical) !== null && _b !== void 0 ? _b : ""} ${(_d = (_c = this.fit) === null || _c === void 0 ? void 0 : _c.horizontal) !== null && _d !== void 0 ? _d : ""}`, id: "popup-wrapper", ref: (el) => (this.popupEl = el), popover: "auto",
477
+ }) }))), h("div", { key: '27823fcfcb377eea7adf0f725031b67407b8886c', class: `popup-wrapper ${this.calEl && this.calEl.view}-view ${this.isExpanded ? "is-open" : ""} ${!this.hasAnchor && !this.isExpanded ? "hidden" : ""} ${(_b = (_a = this.fit) === null || _a === void 0 ? void 0 : _a.vertical) !== null && _b !== void 0 ? _b : ""} ${(_d = (_c = this.fit) === null || _c === void 0 ? void 0 : _c.horizontal) !== null && _d !== void 0 ? _d : ""}`, id: "popup-wrapper", ref: (el) => (this.popupEl = el), popover: "auto",
341
478
  // @ts-ignore -- onToggle is a valid ToggleEvent listener for popover elements
342
- onToggle: (ev) => this.handleToggle(ev) }, h("div", { key: 'dbdff9693acf1c80fc815d9ad734b009120d634e', tabIndex: 0, onFocus: () => this.calEl.focusLastFocusable() }), h("priv-calendar", { key: '6db36aebafb43d5a9fef8a108921b0a7baa5ae6b', ref: (el) => (this.calEl = el), startDate: this.calendarDate, focusDate: this.calendarDate, class: "inside" }), h("div", { key: '8b373c91819aedd18bd23086d286ba8409daa932', tabIndex: 0, onFocus: () => this.calEl.focusFirstFocusable() })), h("div", { key: 'f77269cd2e7bce953622c574e9541eded807f708', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: '0d5de891b42a3d0b4ac38efa02eb6323719d86a3', id: "month-title", class: "sr-only" }, intl.formatMessage({
479
+ onToggle: (ev) => this.handleToggle(ev) }, h("div", { key: '42fb801ee8861ee9d69fd634b01961ca1e751d3b', tabIndex: 0, onFocus: () => this.calEl.focusLastFocusable() }), h("priv-calendar", { key: 'f6d60feb67ceb253069e3d81f1bc348a58a7c9e0', ref: (el) => (this.calEl = el), startDate: this.calendarDate, focusDate: this.calendarDate, class: "inside" }), h("div", { key: 'a8931fe7482dc487dc19cefd0eac43a6bcb5d2d4', tabIndex: 0, onFocus: () => this.calEl.focusFirstFocusable() })), h("div", { key: '7f934d9c1260c7660f9dd819c5a8c235c703e6cd', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: '0db580e9920000ee2438d0a1a3d55c670dca029f', id: "month-title", class: "sr-only" }, intl.formatMessage({
343
480
  id: "date.selectMonth",
344
481
  defaultMessage: "Activate to select a month.",
345
482
  description: "Calendar button",
346
- })), h("div", { key: '8044eaab6e1ed7b14164ecbab8adccd9cf10a8e1', id: "year-title", class: "sr-only" }, intl.formatMessage({
483
+ })), h("div", { key: 'aedeb3b51f4d5178022beb80feb69350019a94e6', id: "year-title", class: "sr-only" }, intl.formatMessage({
347
484
  id: "date.selectYear",
348
485
  defaultMessage: "Activate to select a year.",
349
486
  description: "Calendar button",
350
- })))), h("div", { key: '84e8a07316eb505d1efb41426681c1c50fc57d84', id: "error", class: "error" }, this.errorMessage), h("span", { key: 'eaadadc2b5f4d7665573feff2cce7509e306b07d', id: "date-format-hint", class: "sr-only" }, this.dateFormat), h("div", { key: 'dd22ed0f5451379701210d29c460d832c388ac0d', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" })))));
487
+ })))), h("div", { key: 'd9b334efcd6a1a8732996af354ebb3732984a9da', id: "error", class: "error" }, this.errorMessage), h("span", { key: 'ef309d1f21a4e414bb6230bb29a6e2477faf092b', id: "date-format-hint", class: "sr-only" }, this.dateFormat), h("div", { key: 'f5487f9e59eb400483ef96362a549dc52e512404', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" })))));
351
488
  }
352
489
  static get is() { return "wm-datepicker"; }
353
490
  static get encapsulation() { return "shadow"; }
@@ -375,7 +512,10 @@ export class DatePicker {
375
512
  "required": false,
376
513
  "optional": true,
377
514
  "docs": {
378
- "tags": [],
515
+ "tags": [{
516
+ "name": "description",
517
+ "text": "The date displayed in the input field, in the format specified by `date-format`. Updated as the user types. Can also be set programmatically by the application."
518
+ }],
379
519
  "text": ""
380
520
  },
381
521
  "attribute": "value",
@@ -393,7 +533,13 @@ export class DatePicker {
393
533
  "required": false,
394
534
  "optional": false,
395
535
  "docs": {
396
- "tags": [],
536
+ "tags": [{
537
+ "name": "description",
538
+ "text": "Disables the datepicker, preventing all interaction."
539
+ }, {
540
+ "name": "default",
541
+ "text": "false"
542
+ }],
397
543
  "text": ""
398
544
  },
399
545
  "attribute": "disabled",
@@ -411,7 +557,13 @@ export class DatePicker {
411
557
  "required": false,
412
558
  "optional": false,
413
559
  "docs": {
414
- "tags": [],
560
+ "tags": [{
561
+ "name": "description",
562
+ "text": "The expected date format. Shown in the input placeholder and announced to screen reader users."
563
+ }, {
564
+ "name": "default",
565
+ "text": "\"mm/dd/yyyy\""
566
+ }],
415
567
  "text": ""
416
568
  },
417
569
  "attribute": "date-format",
@@ -429,7 +581,10 @@ export class DatePicker {
429
581
  "required": false,
430
582
  "optional": true,
431
583
  "docs": {
432
- "tags": [],
584
+ "tags": [{
585
+ "name": "description",
586
+ "text": "Puts the component in an error state and displays this message below the input."
587
+ }],
433
588
  "text": ""
434
589
  },
435
590
  "attribute": "error-message",
@@ -446,7 +601,13 @@ export class DatePicker {
446
601
  "required": false,
447
602
  "optional": false,
448
603
  "docs": {
449
- "tags": [],
604
+ "tags": [{
605
+ "name": "description",
606
+ "text": "Position of the label relative to the input. `'none'` hides the label visually but keeps it accessible via `aria-label`."
607
+ }, {
608
+ "name": "default",
609
+ "text": "\"top\""
610
+ }],
450
611
  "text": ""
451
612
  },
452
613
  "attribute": "label-position",
@@ -464,7 +625,13 @@ export class DatePicker {
464
625
  "required": false,
465
626
  "optional": false,
466
627
  "docs": {
467
- "tags": [],
628
+ "tags": [{
629
+ "name": "description",
630
+ "text": "Visible label for the input. Required even when `label-position` is `'none'` \u2014 used as the ARIA accessible name."
631
+ }, {
632
+ "name": "required",
633
+ "text": undefined
634
+ }],
468
635
  "text": ""
469
636
  },
470
637
  "attribute": "label",
@@ -482,7 +649,13 @@ export class DatePicker {
482
649
  "required": false,
483
650
  "optional": false,
484
651
  "docs": {
485
- "tags": [],
652
+ "tags": [{
653
+ "name": "description",
654
+ "text": "Displays a required-field asterisk (*) next to the label."
655
+ }, {
656
+ "name": "default",
657
+ "text": "false"
658
+ }],
486
659
  "text": ""
487
660
  },
488
661
  "attribute": "required-field",
@@ -500,7 +673,10 @@ export class DatePicker {
500
673
  "required": false,
501
674
  "optional": true,
502
675
  "docs": {
503
- "tags": [],
676
+ "tags": [{
677
+ "name": "description",
678
+ "text": "The date the calendar popup focuses when first opened, in ISO format (YYYY-MM-DD). Falls back to the parsed `value`, then the current date if neither can be parsed."
679
+ }],
504
680
  "text": ""
505
681
  },
506
682
  "attribute": "preselected",
@@ -522,7 +698,13 @@ export class DatePicker {
522
698
  "cancelable": true,
523
699
  "composed": true,
524
700
  "docs": {
525
- "tags": [],
701
+ "tags": [{
702
+ "name": "description",
703
+ "text": "Fires when the user selects a date from the calendar popup."
704
+ }, {
705
+ "name": "eventDetails",
706
+ "text": "{{ date: string }} date \u2014 the selected date in ISO format (YYYY-MM-DD)."
707
+ }],
526
708
  "text": ""
527
709
  },
528
710
  "complexType": {
@@ -537,7 +719,10 @@ export class DatePicker {
537
719
  "cancelable": true,
538
720
  "composed": true,
539
721
  "docs": {
540
- "tags": [],
722
+ "tags": [{
723
+ "name": "description",
724
+ "text": "Fires when the text input loses focus."
725
+ }],
541
726
  "text": ""
542
727
  },
543
728
  "complexType": {
@@ -551,19 +736,19 @@ export class DatePicker {
551
736
  return {
552
737
  "reformatDate": {
553
738
  "complexType": {
554
- "signature": "(inputFormat: string, outputFormat: string, date?: string) => Promise<string>",
739
+ "signature": "(inputFormat: \"US\" | \"INT\" | \"ISO\", outputFormat: \"US\" | \"INT\" | \"ISO\", date?: string) => Promise<string>",
555
740
  "parameters": [{
556
741
  "name": "inputFormat",
557
- "type": "string",
558
- "docs": ""
742
+ "type": "\"US\" | \"INT\" | \"ISO\"",
743
+ "docs": "- Format of the input date string."
559
744
  }, {
560
745
  "name": "outputFormat",
561
- "type": "string",
562
- "docs": ""
746
+ "type": "\"US\" | \"INT\" | \"ISO\"",
747
+ "docs": "- Desired output format."
563
748
  }, {
564
749
  "name": "date",
565
750
  "type": "string | undefined",
566
- "docs": ""
751
+ "docs": "- The date string to reformat."
567
752
  }],
568
753
  "references": {
569
754
  "Promise": {
@@ -575,7 +760,28 @@ export class DatePicker {
575
760
  },
576
761
  "docs": {
577
762
  "text": "",
578
- "tags": []
763
+ "tags": [{
764
+ "name": "description",
765
+ "text": "Converts a date string between the supported format tokens: `\"US\"` (mm/dd/yyyy),\n`\"INT\"` (dd/mm/yyyy), and `\"ISO\"` (YYYY-MM-DD). Direct US \u2194 INT conversion is not supported \u2014\nroute through ISO as an intermediate step."
766
+ }, {
767
+ "name": "param",
768
+ "text": "inputFormat - Format of the input date string."
769
+ }, {
770
+ "name": "param",
771
+ "text": "outputFormat - Desired output format."
772
+ }, {
773
+ "name": "param",
774
+ "text": "date - The date string to reformat."
775
+ }, {
776
+ "name": "returns",
777
+ "text": "The reformatted date string, an empty string if `date` is omitted or falsy, or the\noriginal string unchanged if it cannot be parsed."
778
+ }, {
779
+ "name": "example",
780
+ "text": "reformatDate(\"US\", \"ISO\", \"06/20/1969\") // \u2192 \"1969-06-20\""
781
+ }, {
782
+ "name": "example",
783
+ "text": "reformatDate(\"ISO\", \"US\", \"1969-06-20\") // \u2192 \"06/20/1969\""
784
+ }]
579
785
  }
580
786
  },
581
787
  "isValidIso": {
@@ -584,7 +790,7 @@ export class DatePicker {
584
790
  "parameters": [{
585
791
  "name": "input",
586
792
  "type": "string | undefined",
587
- "docs": ""
793
+ "docs": "- The string to validate."
588
794
  }],
589
795
  "references": {
590
796
  "Promise": {
@@ -596,7 +802,25 @@ export class DatePicker {
596
802
  },
597
803
  "docs": {
598
804
  "text": "",
599
- "tags": []
805
+ "tags": [{
806
+ "name": "description",
807
+ "text": "Validates whether a string is a well-formed, calendar-correct ISO date\n(YYYY-MM-DD). Accounts for invalid day-of-month values and leap years."
808
+ }, {
809
+ "name": "param",
810
+ "text": "input - The string to validate."
811
+ }, {
812
+ "name": "returns",
813
+ "text": "`true` if the string is a valid ISO date, `false` otherwise."
814
+ }, {
815
+ "name": "example",
816
+ "text": "isValidIso(\"1969-06-20\") // \u2192 true"
817
+ }, {
818
+ "name": "example",
819
+ "text": "isValidIso(\"1969-06-33\") // \u2192 false (day 33 does not exist)"
820
+ }, {
821
+ "name": "example",
822
+ "text": "isValidIso(\"2023-02-29\") // \u2192 false (2023 is not a leap year)"
823
+ }]
600
824
  }
601
825
  }
602
826
  };
@@ -1,6 +1,12 @@
1
1
  import { h, forceUpdate } from "@stencil/core";
2
2
  import { debounce, isElOrChild } from "../../../global/functions";
3
3
  import { selectMessages } from "../../../global/intl";
4
+ /**
5
+ * @internal
6
+ * @description Internal listbox, search field, and Select All button used by wm-select,
7
+ * wm-nested-select, and wm-optgroup. Manages keyboard navigation, option filtering, and
8
+ * clone options for multiselect. Not for direct application use.
9
+ */
4
10
  export class PrivOptionList {
5
11
  constructor() {
6
12
  this.searchIndex = 0;
@@ -367,7 +373,7 @@ export class PrivOptionList {
367
373
  return (h("div", { class: "non-options-wrapper" }, this.isInNestedSelect && this.renderReturnBtn(), this.search && this.renderSearchField(), this.visibleSelectAllButton && this.renderSelectAllButton()));
368
374
  }
369
375
  render() {
370
- return (h("div", { key: 'd1dc259bbc48591f82a0e44017349513b7e22f60', class: "list-wrapper" }, (this.isInNestedSelect || this.search || this.visibleSelectAllButton) && this.renderNonOptions(), h("div", { key: '5ef4cd1533f03e47175ed6112996ba73a138aacd', id: "list", class: "options-wrapper", tabindex: -1, role: "listbox", "aria-multiselectable": this.multiple ? "true" : null, "aria-label": this.optgroupLabel, ref: (el) => (this.listboxEl = el), style: { "--max-height": this.effectiveMaxHeight } }, this.searchTerm && this.filteredOptions.length === 0 && this.renderSearchFailedMessage(), this.multiple && this.renderCloneOptions(), h("slot", { key: '53014694e7dc51fbfc4fe6da9abbf0749764b4a1' })), h("div", { key: 'f3e1bb6596bd0e656eb045c5a62dad39ee266985', id: "optionlist-announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
376
+ return (h("div", { key: 'edfca7bcea21613113e9498ce7f9aa5fc7546ce2', class: "list-wrapper" }, (this.isInNestedSelect || this.search || this.visibleSelectAllButton) && this.renderNonOptions(), h("div", { key: '443fbc27fa3f25984f5eaada522a990b6941a5dd', id: "list", class: "options-wrapper", tabindex: -1, role: "listbox", "aria-multiselectable": this.multiple ? "true" : null, "aria-label": this.optgroupLabel, ref: (el) => (this.listboxEl = el), style: { "--max-height": this.effectiveMaxHeight } }, this.searchTerm && this.filteredOptions.length === 0 && this.renderSearchFailedMessage(), this.multiple && this.renderCloneOptions(), h("slot", { key: '7f6fb3e4667fcd951e98b7e5466416de817a8e55' })), h("div", { key: '8753468e7a2dd5bd17bd1cfdf72d7eac0b4faf6e', id: "optionlist-announcement", "aria-live": "polite", "aria-atomic": "true", class: "sr-only", ref: (el) => (this.liveRegionEl = el) }, this.announcement)));
371
377
  }
372
378
  static get is() { return "priv-option-list"; }
373
379
  static get originalStyleUrls() {