@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, dateFind, toBool, handleDisabledAttribute, dateToISO, calendar_months, debounce, findAllScrollableParents, findPositioningBoundary, } from "../../global/functions";
3
+ /**
4
+ * Two linked date inputs (start and end) with a shared calendar popup for selecting a date
5
+ * range. Users can type or click to set each date. Provides separate error states for start
6
+ * and end, and emits distinct blur events for each input. Use instead of two native
7
+ * `<input type="date">` elements when a range is required.
8
+ *
9
+ * @keyboardInteraction
10
+ * - **Input fields**: Tab moves focus between start input, end input, and the calendar toggle.
11
+ * - **Calendar toggle**: Space / Enter opens the calendar; Escape closes it and returns focus.
12
+ * - **Day grid**: Arrow keys navigate dates; Enter selects. After selecting the first date,
13
+ * the calendar resets for a second selection. Selecting a date earlier than the first date
14
+ * automatically swaps start and end.
15
+ * - **Month/year selectors**: Arrow keys cycle values; Tab/Shift+Tab move focus through controls.
16
+ *
17
+ * @accessibility
18
+ * - `label-start` and `label-end` are required for accessibility — always provide both even if
19
+ * visually implied by context.
20
+ * - The calendar toggle announces "Select range" to screen readers and reflects `aria-expanded`.
21
+ * - Validation errors are announced via an `aria-live` region when `error-message` changes.
22
+ * - The calendar popup hides its toggle when there is no room to display it; users can still
23
+ * type dates directly into the inputs.
24
+ *
25
+ * @usageNotes
26
+ * - Set `value-start` and `value-end` in the format specified by `date-format` (default
27
+ * `mm/dd/yyyy`). For programmatic pre-population, prefer ISO format via `preselected` and
28
+ * convert with the `reformatDate` method.
29
+ * - `wmRangeSelection` emits a detail object with `startDate` and `endDate`, each in ISO, US,
30
+ * and INT formats.
31
+ * - The same-date re-selection rule: clicking the same date as `date1` a second time resets the
32
+ * range selection so the user can pick a new `date1`.
33
+ *
34
+ * @example {html} Basic date range
35
+ * <wm-date-range label-start="Start date" label-end="End date"></wm-date-range>
36
+ *
37
+ * @example {react} Basic date range
38
+ * // The component does not update its own values after a calendar selection --
39
+ * // the app must call reformatDate and set valueStart/valueEnd imperatively via a ref.
40
+ * const ref = useRef(null);
41
+ *
42
+ * function getFormatName(format) {
43
+ * const map = { 'mm/dd/yyyy': 'US', 'dd/mm/yyyy': 'INT', 'yyyy/mm/dd': 'ISO' };
44
+ * return format ? map[format] : 'US';
45
+ * }
46
+ *
47
+ * // event.detail is { startDate: { iso, us, int }, endDate: { iso, us, int } }
48
+ * const handleRangeSelection = async (event) => {
49
+ * const dr = ref.current;
50
+ * const fmt = getFormatName(dr.getAttribute('date-format'));
51
+ * dr.valueStart = await dr.reformatDate('ISO', fmt, event.detail.startDate.iso);
52
+ * dr.valueEnd = await dr.reformatDate('ISO', fmt, event.detail.endDate.iso);
53
+ * dr.errorMessage = '';
54
+ * };
55
+ *
56
+ * const handleInputBlurred = async (field) => {
57
+ * const dr = ref.current;
58
+ * const fmt = getFormatName(dr.getAttribute('date-format'));
59
+ * const value = field === 'start' ? dr.valueStart : dr.valueEnd;
60
+ * if (value) {
61
+ * const iso = await dr.reformatDate(fmt, 'ISO', value);
62
+ * if (await dr.isValidISO(iso)) {
63
+ * const display = await dr.reformatDate('ISO', fmt, iso);
64
+ * if (field === 'start') dr.valueStart = display;
65
+ * else dr.valueEnd = display;
66
+ * dr.errorMessage = '';
67
+ * dr.invalidStart = false;
68
+ * dr.invalidEnd = false;
69
+ * } else {
70
+ * dr.errorMessage = `Please enter a valid date in the format ${dr.getAttribute('date-format') ?? 'mm/dd/yyyy'}`;
71
+ * if (field === 'start') dr.invalidStart = true;
72
+ * else dr.invalidEnd = true;
73
+ * }
74
+ * }
75
+ * };
76
+ *
77
+ * <WmDateRange
78
+ * ref={ref}
79
+ * labelStart="Start date"
80
+ * labelEnd="End date"
81
+ * onWmRangeSelection={handleRangeSelection}
82
+ * onWmStartInputBlur={() => handleInputBlurred('start')}
83
+ * onWmEndInputBlur={() => handleInputBlurred('end')}
84
+ * />
85
+ *
86
+ * @example {html} Required fields with validation
87
+ * <wm-date-range label-start="From" label-end="To" required-field></wm-date-range>
88
+ *
89
+ * @example {react} Required fields with validation
90
+ * <WmDateRange
91
+ * ref={ref}
92
+ * labelStart="From"
93
+ * labelEnd="To"
94
+ * requiredField={true}
95
+ * onWmRangeSelection={handleRangeSelection}
96
+ * onWmStartInputBlur={() => handleInputBlurred('start')}
97
+ * onWmEndInputBlur={() => handleInputBlurred('end')}
98
+ * />
99
+ *
100
+ * @example {html} International date format
101
+ * <wm-date-range label-start="Start" label-end="End" date-format="dd/mm/yyyy"></wm-date-range>
102
+ *
103
+ * @example {react} International date format
104
+ * <WmDateRange labelStart="Start" labelEnd="End" dateFormat="dd/mm/yyyy" />
105
+ *
106
+ * @example {html} Disabled
107
+ * <wm-date-range label-start="Start" label-end="End" disabled></wm-date-range>
108
+ *
109
+ * @example {react} Disabled
110
+ * <WmDateRange labelStart="Start" labelEnd="End" disabled={true} />
111
+ *
112
+ * @category Form Inputs
113
+ */
3
114
  export class DateRange {
4
115
  constructor() {
5
116
  this.calWidth = 681; // 673 + 8px of room
@@ -276,8 +387,8 @@ export class DateRange {
276
387
  this.endCalEl.startDate = undefined;
277
388
  this.endCalEl.endDate = undefined;
278
389
  this.endCalEl.hoverDate = undefined;
279
- this.startCalEl.view = "day";
280
- this.endCalEl.view = "day";
390
+ this.startCalEl.view = "month";
391
+ this.endCalEl.view = "month";
281
392
  this.isExpanded = false;
282
393
  }
283
394
  }
@@ -330,7 +441,7 @@ export class DateRange {
330
441
  const oldYear = dateFind.year.asInt(this.oldFocusVal);
331
442
  const newMonth = dateFind.month.asInt(newFocusVal);
332
443
  const oldMonth = dateFind.month.asInt(this.oldFocusVal);
333
- if (cal.view === "day") {
444
+ if (cal.view === "month") {
334
445
  if (newYear != oldYear || newMonth != oldMonth) {
335
446
  this.liveRegionEl.innerHTML = intl.formatMessage({
336
447
  id: "date.viewingMonth",
@@ -443,6 +554,16 @@ export class DateRange {
443
554
  this.startCalEl.hoverDate = this.startCalEl.startDate === ev.detail ? undefined : ev.detail;
444
555
  this.endCalEl.hoverDate = this.endCalEl.startDate === ev.detail ? undefined : ev.detail;
445
556
  }
557
+ /**
558
+ * @description Converts a date string between `"US"` (mm/dd/yyyy), `"INT"` (dd/mm/yyyy),
559
+ * and `"ISO"` (YYYY-MM-DD). Direct US ↔ INT conversion is not supported — route through
560
+ * ISO as an intermediate step.
561
+ * @param inputFormat - Format of the input date string (`"US"`, `"INT"`, or `"ISO"`).
562
+ * @param outputFormat - Desired output format (`"US"`, `"INT"`, or `"ISO"`).
563
+ * @param date - The date string to reformat.
564
+ * @returns The reformatted date string, an empty string if `date` is omitted, or the original
565
+ * string unchanged if it cannot be parsed.
566
+ */
446
567
  async reformatDate(inputFormat, outputFormat, date) {
447
568
  return this._reformatDate(inputFormat, outputFormat, date);
448
569
  }
@@ -480,6 +601,12 @@ export class DateRange {
480
601
  }
481
602
  }
482
603
  }
604
+ /**
605
+ * @description Validates whether a string is a well-formed, calendar-correct ISO date
606
+ * (YYYY-MM-DD). Accounts for invalid day-of-month values and leap years.
607
+ * @param input - The string to validate.
608
+ * @returns `true` if the string is a valid ISO date, `false` otherwise.
609
+ */
483
610
  async isValidISO(input) {
484
611
  return this._isValidISO(input);
485
612
  }
@@ -529,25 +656,25 @@ export class DateRange {
529
656
  }
530
657
  render() {
531
658
  var _a, _b, _c, _d;
532
- return (h(Host, { key: '9840d0cb5b3aff858d939fbe2d67dc1d51535c05', "aria-busy": "false" }, h("div", { key: '71e3eb8f71812140abc538cbfec3111c2e2b9cba', ref: (d) => (this.wrapperEl = d), class: "wrapper" }, h("div", { key: '094295f1471f1ba0eaea5c65617447efc5dca770', class: "range-wrapper cal", ref: (el) => (this.anchorEl = el) }, h("div", { key: '00bcfac555be41fe8b2f885e2a0335c8d41efd28', class: "label-wrapper", id: "start-label-wrapper" }, h("label", { key: '1f23a2bb3163e550f9929be4dbd6335bf5bf6579', id: "startlabel", htmlFor: "start-date-input", class: "label" }, this.labelStart, this.requiredField && (h("span", { key: '40dc9394b28b616e1dbfdb028f504474e8576fce', "aria-hidden": "true", class: "required" }, "*")))), h("div", { key: '75addeddb3c54576c90fb9c6c662e525934f6166', class: "label-wrapper", id: "end-label-wrapper" }, h("label", { key: '3015302e413b2bd033dffb9edacc1ecb7c06fb68', id: "endlabel", htmlFor: "end-date-input", class: "label" }, this.labelEnd, this.requiredField && (h("span", { key: '6f27560f7730e1efc19c8f9f7b1845f7a4fc5489', "aria-hidden": "true", class: "required" }, "*")))), h("input", { key: 'a350aea0fa321f076f7b0258e6717b349f551813', disabled: this._disabled, type: "text", id: "start-date-input", class: `date-input input ${this.invalidStart ? "invalid" : ""}`, name: "start-date", placeholder: this.dateFormat, value: this.valueStart, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleStartInput(ev), onBlur: () => this.handleStartInputBlur(), ref: (input) => (this.startInputEl = input), "aria-describedby": "date-format-hint error", "aria-label": this.labelStart, "aria-required": this.requiredField ? "true" : null }), h("div", { key: 'f3d74eae497160213ac05d99467ab254d30167b1', id: "hyphen" }, "\u00A0-\u00A0"), h("input", { key: '4e77331018a0ce06846adae9ce01f0acd556dcd8', disabled: this._disabled, type: "text", id: "end-date-input", class: `date-input input ${this.invalidEnd ? "invalid" : ""}`, name: "end-date", placeholder: this.dateFormat, value: this.valueEnd, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleEndInput(ev), onBlur: () => this.handleEndInputBlur(), ref: (input) => (this.endInputEl = input), "aria-describedby": "date-format-hint error", "aria-label": this.labelEnd, "aria-required": this.requiredField ? "true" : null }), h("div", { key: '47f502431bd898d5baab11e483990585e49b648e', class: "toggle-wrapper", id: "toggle-wrapper" }, this.canOpen && (h("button", { key: 'b7dc42e4733418c6da7ecb5eae5a896ad0d92f4d', disabled: this.disabled, "aria-describedby": "start-date-input end-date-input", "aria-label": intl.formatMessage({
659
+ return (h(Host, { key: '576f553f284eef57b1b80d2770ebaaaa486b2a65', "aria-busy": "false" }, h("div", { key: 'd1b8749f84940f811277ea0d4cbdf6548f552a21', ref: (d) => (this.wrapperEl = d), class: "wrapper" }, h("div", { key: '4879d908500055bbcf9435445a3c3352e08c8239', class: "range-wrapper cal", ref: (el) => (this.anchorEl = el) }, h("div", { key: '7659bcc76e110904961a006f57148c8eaf8ad81e', class: "label-wrapper", id: "start-label-wrapper" }, h("label", { key: '824d8f9ec6bd3ea6ec29e2670f30b4c2d83955a3', id: "startlabel", htmlFor: "start-date-input", class: "label" }, this.labelStart, this.requiredField && (h("span", { key: '8553c682f6a1be43f6a76a97d22ba67447c90c6d', "aria-hidden": "true", class: "required" }, "*")))), h("div", { key: 'f8d28e4e6759cb11622d9386873d6419f4de3fdc', class: "label-wrapper", id: "end-label-wrapper" }, h("label", { key: '4c3d0bbf5a58a4a0c567041fe51002f897f29592', id: "endlabel", htmlFor: "end-date-input", class: "label" }, this.labelEnd, this.requiredField && (h("span", { key: 'aabf372102b5cb425108c3b95caeebe35a7e890d', "aria-hidden": "true", class: "required" }, "*")))), h("input", { key: 'e0f084896c043648d79cae89a1aa192395bf61de', disabled: this._disabled, type: "text", id: "start-date-input", class: `date-input input ${this.invalidStart ? "invalid" : ""}`, name: "start-date", placeholder: this.dateFormat, value: this.valueStart, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleStartInput(ev), onBlur: () => this.handleStartInputBlur(), ref: (input) => (this.startInputEl = input), "aria-describedby": "date-format-hint error", "aria-label": this.labelStart, "aria-required": this.requiredField ? "true" : null }), h("div", { key: '8dc7e190cfe901e308d2a665f93d7d89f2fea731', id: "hyphen" }, "\u00A0-\u00A0"), h("input", { key: 'e354bfaa40907bd99b6d0e152869f170b5f90f4f', disabled: this._disabled, type: "text", id: "end-date-input", class: `date-input input ${this.invalidEnd ? "invalid" : ""}`, name: "end-date", placeholder: this.dateFormat, value: this.valueEnd, onFocus: () => this.handleFocus(), onInput: (ev) => this.handleEndInput(ev), onBlur: () => this.handleEndInputBlur(), ref: (input) => (this.endInputEl = input), "aria-describedby": "date-format-hint error", "aria-label": this.labelEnd, "aria-required": this.requiredField ? "true" : null }), h("div", { key: '75e537ec719c5aaabff86531fa5abf8b72a2d3ef', class: "toggle-wrapper", id: "toggle-wrapper" }, this.canOpen && (h("button", { key: '5b65696c08716602b4db77a21c329e5b1b53adf9', disabled: this.disabled, "aria-describedby": "start-date-input end-date-input", "aria-label": intl.formatMessage({
533
660
  id: "date.selectRange",
534
661
  defaultMessage: "Select range",
535
662
  description: "Button text for screen readers.",
536
- }), ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle", popoverTarget: "popup-wrapper", popoverTargetAction: "toggle" }, h("span", { key: '8fcd8c7cbaff39440838c15354de40ea79230dfd', class: "svg-icon svg-date" }), h("span", { key: '392288ecb5e6617395b306d9e7993ef41c9f27d2', class: "calendar", title: intl.formatMessage({
663
+ }), ref: (el) => (this.toggleEl = el), "aria-expanded": `${this.isExpanded}`, class: "toggle", id: "toggle", popoverTarget: "popup-wrapper", popoverTargetAction: "toggle" }, h("span", { key: '0cc4cbf6dfd6da128d9a33a72e3e89dab812c72a', class: "svg-icon svg-date" }), h("span", { key: '9fe596dc14752fa2f505aa6c1ab893ffa1f14b1b', class: "calendar", title: intl.formatMessage({
537
664
  id: "date.calendarView",
538
665
  defaultMessage: "Calendar View",
539
666
  description: "Calendar button",
540
- }) })))), h("div", { key: 'a88e17a38bbee302551a7abc458f9a387afe1d89', class: `popup-wrapper popup-range ${this.startCalEl && this.startCalEl.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",
667
+ }) })))), h("div", { key: '1b7934722e2b0187ae6424141cc1e08cb5dda8d0', class: `popup-wrapper popup-range ${this.startCalEl && this.startCalEl.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",
541
668
  // @ts-ignore -- onToggle is a valid ToggleEvent listener for popover elements
542
- onToggle: (ev) => this.handleToggle(ev) }, h("div", { key: '968c8f59c78dc1358295d5f5a7db69952f31da35', class: "trapfocus", tabIndex: this.isExpanded ? 0 : undefined, onFocus: () => this.endCalEl.focusLastFocusable() }), h("priv-calendar", { key: '73c5f5df127cb560aeaf7131ce4ba6e167857693', ref: (el) => (this.startCalEl = el), onDateFocus: (ev) => this.handleDateFocus(ev) }), h("priv-calendar", { key: 'f3177d31c0bcf97d010e16ee4f8ee43568fd28b2', ref: (el) => (this.endCalEl = el), onDateFocus: (ev) => this.handleDateFocus(ev) }), h("div", { key: '278ae43445deae7239390b01f0a01c16f3fc0f17', class: "trapfocus", tabIndex: this.isExpanded ? 0 : undefined, onFocus: () => this.startCalEl.focusFirstFocusable() }))), h("div", { key: '2528c193f264b94886be679235595c69d081800c' }, h("div", { key: '4e9a81c12822d560cb0b949b2da38b6f26204c32', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: '82603d1a7ed918904df6649f76549a41a644d2ed', id: "month-title", class: "sr-only" }, intl.formatMessage({
669
+ onToggle: (ev) => this.handleToggle(ev) }, h("div", { key: 'cde40c3cdaee6e1641f7062debb2c301850d8967', class: "trapfocus", tabIndex: this.isExpanded ? 0 : undefined, onFocus: () => this.endCalEl.focusLastFocusable() }), h("priv-calendar", { key: 'c2f18d3d19fd9fded7c3bda37a521843870aae91', ref: (el) => (this.startCalEl = el), onDateFocus: (ev) => this.handleDateFocus(ev) }), h("priv-calendar", { key: '2f99a6e4dadfe42b53fe207871af112bf2780c56', ref: (el) => (this.endCalEl = el), onDateFocus: (ev) => this.handleDateFocus(ev) }), h("div", { key: 'df0c41dd0779a7586e666f5b530d7f7d449a54bb', class: "trapfocus", tabIndex: this.isExpanded ? 0 : undefined, onFocus: () => this.startCalEl.focusFirstFocusable() }))), h("div", { key: '7f3971b1af72d54ccc07f52531c1d17fecb6d7ab' }, h("div", { key: '0bed6cb1cf5f5ada1c926623d8b6dacb5dc34287', id: "live-region", "aria-live": "polite", "aria-relevant": "text", class: "sr-only" }), h("div", { key: '237bf9699d0305031f0f0bd04c9d8027c84dc1ed', id: "month-title", class: "sr-only" }, intl.formatMessage({
543
670
  id: "date.selectMonth",
544
671
  defaultMessage: "Activate to select a month.",
545
672
  description: "Calendar button",
546
- })), h("div", { key: '0c98b239ffa8a8f6f27a9eee4e302f8daddc4c89', id: "year-title", class: "sr-only" }, intl.formatMessage({
673
+ })), h("div", { key: 'ce586f8192676950d0221ce709b79dba29a956c8', id: "year-title", class: "sr-only" }, intl.formatMessage({
547
674
  id: "date.selectYear",
548
675
  defaultMessage: "Activate to select a year.",
549
676
  description: "Calendar button",
550
- }))), h("div", { key: '13e1dc0b81ffedda3b7f6316ee07d2dc9a8712b9', id: "error", class: "error" }, this.errorMessage), h("span", { key: '5b8d811a975b5dec9e0e9e2c81bd56d5360f178a', id: "date-format-hint", class: "sr-only" }, this.dateFormat), h("div", { key: '0746adc5f997c314567c5f942de26216a449ce57', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }))));
677
+ }))), h("div", { key: '913aaac21cc36b8172a1b28b45d9d2c9432e623f', id: "error", class: "error" }, this.errorMessage), h("span", { key: '066481609119ee85db50856e30b7c2f188bab078', id: "date-format-hint", class: "sr-only" }, this.dateFormat), h("div", { key: '77f64053567c3c2a4e2038205a9787a1cfa846b8', ref: (el) => (this.liveRegionEl = el), class: "sr-only", "aria-live": "polite", "aria-atomic": "true" }))));
551
678
  }
552
679
  static get is() { return "wm-date-range"; }
553
680
  static get encapsulation() { return "shadow"; }
@@ -575,7 +702,13 @@ export class DateRange {
575
702
  "required": false,
576
703
  "optional": false,
577
704
  "docs": {
578
- "tags": [],
705
+ "tags": [{
706
+ "name": "description",
707
+ "text": "The date format shown in the input placeholders and announced to screen readers."
708
+ }, {
709
+ "name": "default",
710
+ "text": "\"mm/dd/yyyy\""
711
+ }],
579
712
  "text": ""
580
713
  },
581
714
  "attribute": "date-format",
@@ -593,7 +726,13 @@ export class DateRange {
593
726
  "required": false,
594
727
  "optional": false,
595
728
  "docs": {
596
- "tags": [],
729
+ "tags": [{
730
+ "name": "description",
731
+ "text": "Disables the entire date range component, preventing all interaction."
732
+ }, {
733
+ "name": "default",
734
+ "text": "false"
735
+ }],
597
736
  "text": ""
598
737
  },
599
738
  "attribute": "disabled",
@@ -611,7 +750,10 @@ export class DateRange {
611
750
  "required": false,
612
751
  "optional": true,
613
752
  "docs": {
614
- "tags": [],
753
+ "tags": [{
754
+ "name": "description",
755
+ "text": "Puts the component in an error state and displays this message below both\ninputs. Use with `invalid-start` and/or `invalid-end` to highlight specific fields."
756
+ }],
615
757
  "text": ""
616
758
  },
617
759
  "attribute": "error-message",
@@ -628,7 +770,13 @@ export class DateRange {
628
770
  "required": false,
629
771
  "optional": false,
630
772
  "docs": {
631
- "tags": [],
773
+ "tags": [{
774
+ "name": "description",
775
+ "text": "Puts the start date input in an error state (red border). Use with\n`error-message`."
776
+ }, {
777
+ "name": "default",
778
+ "text": "false"
779
+ }],
632
780
  "text": ""
633
781
  },
634
782
  "attribute": "invalid-start",
@@ -646,7 +794,13 @@ export class DateRange {
646
794
  "required": false,
647
795
  "optional": false,
648
796
  "docs": {
649
- "tags": [],
797
+ "tags": [{
798
+ "name": "description",
799
+ "text": "Puts the end date input in an error state (red border). Use with\n`error-message`."
800
+ }, {
801
+ "name": "default",
802
+ "text": "false"
803
+ }],
650
804
  "text": ""
651
805
  },
652
806
  "attribute": "invalid-end",
@@ -664,7 +818,13 @@ export class DateRange {
664
818
  "required": false,
665
819
  "optional": false,
666
820
  "docs": {
667
- "tags": [],
821
+ "tags": [{
822
+ "name": "description",
823
+ "text": "Visible label for the start date input. Required for accessibility."
824
+ }, {
825
+ "name": "required",
826
+ "text": undefined
827
+ }],
668
828
  "text": ""
669
829
  },
670
830
  "attribute": "label-start",
@@ -682,7 +842,13 @@ export class DateRange {
682
842
  "required": false,
683
843
  "optional": false,
684
844
  "docs": {
685
- "tags": [],
845
+ "tags": [{
846
+ "name": "description",
847
+ "text": "Visible label for the end date input. Required for accessibility."
848
+ }, {
849
+ "name": "required",
850
+ "text": undefined
851
+ }],
686
852
  "text": ""
687
853
  },
688
854
  "attribute": "label-end",
@@ -700,7 +866,10 @@ export class DateRange {
700
866
  "required": false,
701
867
  "optional": true,
702
868
  "docs": {
703
- "tags": [],
869
+ "tags": [{
870
+ "name": "description",
871
+ "text": "The ISO date (YYYY-MM-DD) the calendar popup opens to when first opened and\nno `value-start` is set. Falls back to today's date if omitted."
872
+ }],
704
873
  "text": ""
705
874
  },
706
875
  "attribute": "preselected",
@@ -717,7 +886,13 @@ export class DateRange {
717
886
  "required": false,
718
887
  "optional": false,
719
888
  "docs": {
720
- "tags": [],
889
+ "tags": [{
890
+ "name": "description",
891
+ "text": "Displays a required-field asterisk (*) next to each label."
892
+ }, {
893
+ "name": "default",
894
+ "text": "false"
895
+ }],
721
896
  "text": ""
722
897
  },
723
898
  "attribute": "required-field",
@@ -735,7 +910,10 @@ export class DateRange {
735
910
  "required": false,
736
911
  "optional": true,
737
912
  "docs": {
738
- "tags": [],
913
+ "tags": [{
914
+ "name": "description",
915
+ "text": "The value of the start date input, in the format specified by `date-format`.\nUpdated as the user types or picks from the calendar."
916
+ }],
739
917
  "text": ""
740
918
  },
741
919
  "attribute": "value-start",
@@ -753,7 +931,10 @@ export class DateRange {
753
931
  "required": false,
754
932
  "optional": true,
755
933
  "docs": {
756
- "tags": [],
934
+ "tags": [{
935
+ "name": "description",
936
+ "text": "The value of the end date input, in the format specified by `date-format`.\nUpdated as the user types or picks from the calendar."
937
+ }],
757
938
  "text": ""
758
939
  },
759
940
  "attribute": "value-end",
@@ -776,7 +957,13 @@ export class DateRange {
776
957
  "cancelable": true,
777
958
  "composed": true,
778
959
  "docs": {
779
- "tags": [],
960
+ "tags": [{
961
+ "name": "description",
962
+ "text": "Fires when the user completes a range selection from the calendar popup."
963
+ }, {
964
+ "name": "eventDetails",
965
+ "text": "{{ startDate: { iso: string, us: string, int: string }, endDate: { iso: string, us: string, int: string } }}\nstartDate and endDate \u2014 each formatted in ISO (YYYY-MM-DD), US (mm/dd/yyyy), and INT\n(dd/mm/yyyy). The dates are always returned in chronological order regardless of the order\nthey were clicked."
966
+ }],
780
967
  "text": ""
781
968
  },
782
969
  "complexType": {
@@ -791,7 +978,10 @@ export class DateRange {
791
978
  "cancelable": true,
792
979
  "composed": true,
793
980
  "docs": {
794
- "tags": [],
981
+ "tags": [{
982
+ "name": "description",
983
+ "text": "Fires when the start date input loses focus."
984
+ }],
795
985
  "text": ""
796
986
  },
797
987
  "complexType": {
@@ -806,7 +996,10 @@ export class DateRange {
806
996
  "cancelable": true,
807
997
  "composed": true,
808
998
  "docs": {
809
- "tags": [],
999
+ "tags": [{
1000
+ "name": "description",
1001
+ "text": "Fires when the end date input loses focus."
1002
+ }],
810
1003
  "text": ""
811
1004
  },
812
1005
  "complexType": {
@@ -824,15 +1017,15 @@ export class DateRange {
824
1017
  "parameters": [{
825
1018
  "name": "inputFormat",
826
1019
  "type": "string",
827
- "docs": ""
1020
+ "docs": "- Format of the input date string (`\"US\"`, `\"INT\"`, or `\"ISO\"`)."
828
1021
  }, {
829
1022
  "name": "outputFormat",
830
1023
  "type": "string",
831
- "docs": ""
1024
+ "docs": "- Desired output format (`\"US\"`, `\"INT\"`, or `\"ISO\"`)."
832
1025
  }, {
833
1026
  "name": "date",
834
1027
  "type": "string | undefined",
835
- "docs": ""
1028
+ "docs": "- The date string to reformat."
836
1029
  }],
837
1030
  "references": {
838
1031
  "Promise": {
@@ -844,7 +1037,22 @@ export class DateRange {
844
1037
  },
845
1038
  "docs": {
846
1039
  "text": "",
847
- "tags": []
1040
+ "tags": [{
1041
+ "name": "description",
1042
+ "text": "Converts a date string between `\"US\"` (mm/dd/yyyy), `\"INT\"` (dd/mm/yyyy),\nand `\"ISO\"` (YYYY-MM-DD). Direct US \u2194 INT conversion is not supported \u2014 route through\nISO as an intermediate step."
1043
+ }, {
1044
+ "name": "param",
1045
+ "text": "inputFormat - Format of the input date string (`\"US\"`, `\"INT\"`, or `\"ISO\"`)."
1046
+ }, {
1047
+ "name": "param",
1048
+ "text": "outputFormat - Desired output format (`\"US\"`, `\"INT\"`, or `\"ISO\"`)."
1049
+ }, {
1050
+ "name": "param",
1051
+ "text": "date - The date string to reformat."
1052
+ }, {
1053
+ "name": "returns",
1054
+ "text": "The reformatted date string, an empty string if `date` is omitted, or the original\nstring unchanged if it cannot be parsed."
1055
+ }]
848
1056
  }
849
1057
  },
850
1058
  "isValidISO": {
@@ -853,7 +1061,7 @@ export class DateRange {
853
1061
  "parameters": [{
854
1062
  "name": "input",
855
1063
  "type": "string | undefined",
856
- "docs": ""
1064
+ "docs": "- The string to validate."
857
1065
  }],
858
1066
  "references": {
859
1067
  "Promise": {
@@ -865,7 +1073,16 @@ export class DateRange {
865
1073
  },
866
1074
  "docs": {
867
1075
  "text": "",
868
- "tags": []
1076
+ "tags": [{
1077
+ "name": "description",
1078
+ "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."
1079
+ }, {
1080
+ "name": "param",
1081
+ "text": "input - The string to validate."
1082
+ }, {
1083
+ "name": "returns",
1084
+ "text": "`true` if the string is a valid ISO date, `false` otherwise."
1085
+ }]
869
1086
  }
870
1087
  }
871
1088
  };