@ukic/canary-web-components 2.0.0-canary.10 → 2.0.0-canary.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (460) hide show
  1. package/dist/cjs/core.cjs.js +1 -1
  2. package/dist/cjs/{helpers-7a069459.js → helpers-b525d45a.js} +2 -7
  3. package/dist/cjs/helpers-b525d45a.js.map +1 -0
  4. package/dist/cjs/{helpers-f75cf7cf.js → helpers-c4444a7e.js} +48 -94
  5. package/dist/cjs/helpers-c4444a7e.js.map +1 -0
  6. package/dist/cjs/ic-accordion.cjs.entry.js +1 -1
  7. package/dist/cjs/ic-alert.cjs.entry.js +1 -1
  8. package/dist/cjs/ic-back-to-top.cjs.entry.js +1 -1
  9. package/dist/cjs/ic-badge.cjs.entry.js +1 -1
  10. package/dist/cjs/ic-breadcrumb-group.cjs.entry.js +1 -1
  11. package/dist/cjs/ic-breadcrumb.cjs.entry.js +1 -1
  12. package/dist/cjs/ic-button_3.cjs.entry.js +2 -8
  13. package/dist/cjs/ic-button_3.cjs.entry.js.map +1 -1
  14. package/dist/cjs/ic-card.cjs.entry.js +1 -1
  15. package/dist/cjs/ic-checkbox-group.cjs.entry.js +1 -1
  16. package/dist/cjs/ic-checkbox.cjs.entry.js +1 -1
  17. package/dist/cjs/ic-chip.cjs.entry.js +1 -1
  18. package/dist/cjs/ic-data-row.cjs.entry.js +1 -1
  19. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js +57 -0
  20. package/dist/cjs/ic-data-table-title-bar.cjs.entry.js.map +1 -0
  21. package/dist/cjs/ic-data-table.cjs.entry.js +308 -43
  22. package/dist/cjs/ic-data-table.cjs.entry.js.map +1 -1
  23. package/dist/cjs/ic-dialog.cjs.entry.js +1 -1
  24. package/dist/cjs/ic-divider.cjs.entry.js +1 -1
  25. package/dist/cjs/{ic-pagination-bar.cjs.entry.js → ic-empty-state_2.cjs.entry.js} +34 -4
  26. package/dist/cjs/ic-empty-state_2.cjs.entry.js.map +1 -0
  27. package/dist/cjs/ic-footer-link-group.cjs.entry.js +1 -1
  28. package/dist/cjs/ic-footer-link.cjs.entry.js +1 -1
  29. package/dist/cjs/ic-footer.cjs.entry.js +1 -1
  30. package/dist/cjs/ic-hero.cjs.entry.js +1 -1
  31. package/dist/cjs/ic-horizontal-scroll.cjs.entry.js +1 -1
  32. package/dist/cjs/{ic-menu.cjs.entry.js → ic-input-component-container_3.cjs.entry.js} +69 -5
  33. package/dist/cjs/ic-input-component-container_3.cjs.entry.js.map +1 -0
  34. package/dist/cjs/ic-input-label_2.cjs.entry.js +86 -0
  35. package/dist/cjs/ic-input-label_2.cjs.entry.js.map +1 -0
  36. package/dist/cjs/ic-link.cjs.entry.js +1 -1
  37. package/dist/cjs/ic-menu-group.cjs.entry.js +1 -1
  38. package/dist/cjs/ic-menu-item.cjs.entry.js +1 -1
  39. package/dist/cjs/ic-menu-with-multi.cjs.entry.js +1 -1
  40. package/dist/cjs/ic-menu-with-multi.cjs.entry.js.map +1 -1
  41. package/dist/cjs/ic-navigation-button.cjs.entry.js +1 -1
  42. package/dist/cjs/ic-navigation-group.cjs.entry.js +13 -16
  43. package/dist/cjs/ic-navigation-group.cjs.entry.js.map +1 -1
  44. package/dist/cjs/ic-navigation-item.cjs.entry.js +32 -28
  45. package/dist/cjs/ic-navigation-item.cjs.entry.js.map +1 -1
  46. package/dist/cjs/ic-navigation-menu.cjs.entry.js +1 -1
  47. package/dist/cjs/ic-page-header.cjs.entry.js +1 -1
  48. package/dist/cjs/ic-pagination_4.cjs.entry.js +5 -5
  49. package/dist/cjs/ic-pagination_4.cjs.entry.js.map +1 -1
  50. package/dist/cjs/ic-popover-menu.cjs.entry.js +1 -1
  51. package/dist/cjs/ic-radio-group.cjs.entry.js +1 -1
  52. package/dist/cjs/ic-radio-option.cjs.entry.js +1 -1
  53. package/dist/cjs/ic-search-bar.cjs.entry.js +1 -1
  54. package/dist/cjs/ic-select-with-multi.cjs.entry.js +19 -6
  55. package/dist/cjs/ic-select-with-multi.cjs.entry.js.map +1 -1
  56. package/dist/cjs/ic-side-navigation.cjs.entry.js +1 -1
  57. package/dist/cjs/ic-status-tag.cjs.entry.js +1 -1
  58. package/dist/cjs/ic-step.cjs.entry.js +1 -1
  59. package/dist/cjs/ic-stepper.cjs.entry.js +1 -1
  60. package/dist/cjs/ic-switch.cjs.entry.js +1 -1
  61. package/dist/cjs/ic-tab-group.cjs.entry.js +1 -1
  62. package/dist/cjs/ic-tab-panel.cjs.entry.js +1 -1
  63. package/dist/cjs/ic-tab.cjs.entry.js +1 -1
  64. package/dist/cjs/ic-theme.cjs.entry.js +1 -1
  65. package/dist/cjs/ic-toast.cjs.entry.js +1 -1
  66. package/dist/cjs/ic-toggle-button.cjs.entry.js +1 -1
  67. package/dist/cjs/ic-top-navigation.cjs.entry.js +60 -46
  68. package/dist/cjs/ic-top-navigation.cjs.entry.js.map +1 -1
  69. package/dist/cjs/ic-typography.cjs.entry.js +35 -11
  70. package/dist/cjs/ic-typography.cjs.entry.js.map +1 -1
  71. package/dist/cjs/index-4cf27b16.js +10 -18
  72. package/dist/cjs/loader.cjs.js +1 -1
  73. package/dist/collection/collection-manifest.json +1 -2
  74. package/dist/collection/components/ic-data-table/ic-data-table.css +82 -7
  75. package/dist/collection/components/ic-data-table/ic-data-table.js +535 -44
  76. package/dist/collection/components/ic-data-table/ic-data-table.js.map +1 -1
  77. package/dist/collection/components/ic-data-table/ic-data-table.types.js.map +1 -1
  78. package/dist/collection/components/ic-data-table/story-data.js +386 -11
  79. package/dist/collection/components/ic-data-table/story-data.js.map +1 -1
  80. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.e2e.js +217 -0
  81. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.e2e.js.map +1 -0
  82. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js +319 -0
  83. package/dist/collection/components/ic-data-table/test/basic/ic-data-table.spec.js.map +1 -1
  84. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.css +87 -0
  85. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js +160 -0
  86. package/dist/collection/components/ic-data-table-title-bar/ic-data-table-title-bar.js.map +1 -0
  87. package/dist/collection/components/{ic-date-picker/test/a11y/ic-date-picker.test.a11y.js → ic-data-table-title-bar/test/a11y/ic-data-table-title-bar.test.a11y.js} +3 -5
  88. package/dist/collection/components/ic-data-table-title-bar/test/a11y/ic-data-table-title-bar.test.a11y.js.map +1 -0
  89. package/dist/collection/components/ic-data-table-title-bar/test/basic/ic-data-table-title-bar.spec.js +70 -0
  90. package/dist/collection/components/ic-data-table-title-bar/test/basic/ic-data-table-title-bar.spec.js.map +1 -0
  91. package/dist/collection/components/ic-menu-with-multi/ic-menu.js +2 -2
  92. package/dist/collection/components/ic-menu-with-multi/ic-menu.js.map +1 -1
  93. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js +1 -1
  94. package/dist/collection/components/ic-pagination-bar/ic-pagination-bar.js.map +1 -1
  95. package/dist/collection/components/ic-select-with-multi/ic-select.js +2 -2
  96. package/dist/collection/components/ic-select-with-multi/ic-select.js.map +1 -1
  97. package/dist/collection/utils/constants.js +0 -55
  98. package/dist/collection/utils/constants.js.map +1 -1
  99. package/dist/collection/utils/helpers.js +43 -259
  100. package/dist/collection/utils/helpers.js.map +1 -1
  101. package/dist/collection/utils/types.js +0 -45
  102. package/dist/collection/utils/types.js.map +1 -1
  103. package/dist/components/helpers.js +2 -7
  104. package/dist/components/helpers.js.map +1 -1
  105. package/dist/components/helpers2.js +45 -91
  106. package/dist/components/helpers2.js.map +1 -1
  107. package/dist/components/ic-button2.js +3 -11
  108. package/dist/components/ic-button2.js.map +1 -1
  109. package/dist/components/ic-card.js +1 -1
  110. package/dist/components/ic-checkbox-group.js +1 -1
  111. package/dist/components/ic-checkbox.js +1 -1
  112. package/dist/components/ic-chip.js +1 -1
  113. package/dist/components/{ic-date-input.d.ts → ic-data-table-title-bar.d.ts} +4 -4
  114. package/dist/components/ic-data-table-title-bar.js +136 -0
  115. package/dist/components/ic-data-table-title-bar.js.map +1 -0
  116. package/dist/components/ic-data-table.js +334 -49
  117. package/dist/components/ic-data-table.js.map +1 -1
  118. package/dist/components/ic-empty-state.js +1 -57
  119. package/dist/components/ic-empty-state.js.map +1 -1
  120. package/dist/{esm/ic-empty-state.entry.js → components/ic-empty-state2.js} +38 -11
  121. package/dist/components/ic-empty-state2.js.map +1 -0
  122. package/dist/components/ic-input-component-container2.js +1 -1
  123. package/dist/components/ic-input-component-container2.js.map +1 -1
  124. package/dist/components/ic-link2.js +1 -1
  125. package/dist/components/ic-menu-item2.js +1 -1
  126. package/dist/components/ic-menu2.js +2 -2
  127. package/dist/components/ic-menu2.js.map +1 -1
  128. package/dist/components/ic-menu3.js +1 -1
  129. package/dist/components/ic-menu3.js.map +1 -1
  130. package/dist/components/ic-navigation-button.js +1 -1
  131. package/dist/components/ic-navigation-group.js +12 -15
  132. package/dist/components/ic-navigation-group.js.map +1 -1
  133. package/dist/components/ic-navigation-item.js +32 -28
  134. package/dist/components/ic-navigation-item.js.map +1 -1
  135. package/dist/components/ic-pagination-bar2.js +1 -1
  136. package/dist/components/ic-pagination-bar2.js.map +1 -1
  137. package/dist/components/ic-pagination-item2.js +1 -1
  138. package/dist/components/ic-pagination2.js +5 -5
  139. package/dist/components/ic-pagination2.js.map +1 -1
  140. package/dist/components/ic-radio-group.js +1 -1
  141. package/dist/components/ic-radio-option.js +1 -1
  142. package/dist/components/ic-search-bar.js +1 -1
  143. package/dist/components/ic-select-with-multi.js +14 -1
  144. package/dist/components/ic-select-with-multi.js.map +1 -1
  145. package/dist/components/ic-select2.js +1 -1
  146. package/dist/components/ic-switch.js +1 -1
  147. package/dist/components/ic-tab.js +1 -1
  148. package/dist/components/ic-text-field2.js +1 -1
  149. package/dist/components/ic-toggle-button.js +1 -1
  150. package/dist/components/ic-top-navigation.js +61 -47
  151. package/dist/components/ic-top-navigation.js.map +1 -1
  152. package/dist/components/ic-typography2.js +38 -12
  153. package/dist/components/ic-typography2.js.map +1 -1
  154. package/dist/core/core.css +1 -1
  155. package/dist/core/core.esm.js +1 -1
  156. package/dist/core/core.esm.js.map +1 -1
  157. package/dist/core/{p-8ea47d42.entry.js → p-045359e1.entry.js} +2 -2
  158. package/dist/core/{p-3745da83.entry.js → p-10fb4c46.entry.js} +2 -2
  159. package/dist/core/p-169bfa51.entry.js +2 -0
  160. package/dist/core/p-169bfa51.entry.js.map +1 -0
  161. package/dist/core/{p-2e2e0099.entry.js → p-1ca332ca.entry.js} +2 -2
  162. package/dist/core/p-1e91f540.entry.js +2 -0
  163. package/dist/core/p-1e91f540.entry.js.map +1 -0
  164. package/dist/core/{p-d4fdd8c1.entry.js → p-204ace96.entry.js} +2 -2
  165. package/dist/core/{p-5fe96107.entry.js → p-2eac7dcc.entry.js} +2 -2
  166. package/dist/core/p-347e8dab.entry.js +2 -0
  167. package/dist/core/p-347e8dab.entry.js.map +1 -0
  168. package/dist/core/p-3803a5b5.entry.js +2 -0
  169. package/dist/core/p-3803a5b5.entry.js.map +1 -0
  170. package/dist/core/{p-36508aad.entry.js → p-4753bac8.entry.js} +2 -2
  171. package/dist/core/{p-4f1ffa39.entry.js → p-4baa0916.entry.js} +2 -2
  172. package/dist/core/{p-776671cf.entry.js → p-4f413fc0.entry.js} +2 -2
  173. package/dist/core/p-5171169f.entry.js +2 -0
  174. package/dist/core/p-5171169f.entry.js.map +1 -0
  175. package/dist/core/{p-9d540656.entry.js → p-595be57d.entry.js} +2 -2
  176. package/dist/core/{p-7cecf5d5.entry.js → p-5ae93c16.entry.js} +2 -2
  177. package/dist/core/{p-1ce75941.entry.js → p-5e0c830b.entry.js} +2 -2
  178. package/dist/core/p-5ee4319c.entry.js +2 -0
  179. package/dist/core/p-5ee4319c.entry.js.map +1 -0
  180. package/dist/core/p-5f4e96ec.entry.js +2 -0
  181. package/dist/core/p-5f4e96ec.entry.js.map +1 -0
  182. package/dist/core/{p-e74f1d09.entry.js → p-624d4f5f.entry.js} +2 -2
  183. package/dist/core/{p-9d01a7ad.entry.js → p-6933f8e9.entry.js} +2 -2
  184. package/dist/core/{p-5e2e6c3b.entry.js → p-6c3044b6.entry.js} +2 -2
  185. package/dist/core/p-7267fe19.entry.js +2 -0
  186. package/dist/core/p-7267fe19.entry.js.map +1 -0
  187. package/dist/core/{p-6690bc04.entry.js → p-75dac3d1.entry.js} +2 -2
  188. package/dist/core/{p-85609bdd.entry.js → p-7ef8d616.entry.js} +2 -2
  189. package/dist/core/{p-a0f9b259.entry.js → p-81ddc39d.entry.js} +2 -2
  190. package/dist/core/{p-a6447b13.entry.js → p-869954a2.entry.js} +2 -2
  191. package/dist/core/{p-47ac6838.entry.js → p-88d54b72.entry.js} +2 -2
  192. package/dist/core/{p-06ae5bec.entry.js → p-8b08d8fe.entry.js} +2 -2
  193. package/dist/core/{p-ca8cbd6a.entry.js → p-917c5721.entry.js} +2 -2
  194. package/dist/core/p-942282cd.entry.js +2 -0
  195. package/dist/core/p-942282cd.entry.js.map +1 -0
  196. package/dist/core/p-96b3e7e2.js +2 -0
  197. package/dist/core/p-96b3e7e2.js.map +1 -0
  198. package/dist/core/p-9caf19eb.js +2 -0
  199. package/dist/core/p-9caf19eb.js.map +1 -0
  200. package/dist/core/{p-76d26018.entry.js → p-a0f8efb2.entry.js} +2 -2
  201. package/dist/core/{p-a42c2f37.entry.js → p-a31031a5.entry.js} +2 -2
  202. package/dist/core/{p-b306cbc8.entry.js → p-a434c3d4.entry.js} +2 -2
  203. package/dist/core/{p-86012178.entry.js → p-a43c12cd.entry.js} +2 -2
  204. package/dist/core/{p-8c90110a.entry.js → p-a50c3b9e.entry.js} +2 -2
  205. package/dist/core/p-aac4185b.entry.js +2 -0
  206. package/dist/core/p-aac4185b.entry.js.map +1 -0
  207. package/dist/core/{p-1b7d426b.entry.js → p-ab09986c.entry.js} +2 -2
  208. package/dist/core/{p-9e3178e8.entry.js → p-b6639e4a.entry.js} +2 -2
  209. package/dist/core/{p-9e3178e8.entry.js.map → p-b6639e4a.entry.js.map} +1 -1
  210. package/dist/core/{p-62e22508.entry.js → p-b82dcc29.entry.js} +2 -2
  211. package/dist/core/{p-d5c99ec3.entry.js → p-ba86928c.entry.js} +2 -2
  212. package/dist/core/{p-d3856ed3.entry.js → p-c34848da.entry.js} +2 -2
  213. package/dist/core/{p-98448bdb.entry.js → p-d8469ac0.entry.js} +2 -2
  214. package/dist/core/{p-1832f4b5.entry.js → p-db9c03c0.entry.js} +2 -2
  215. package/dist/core/{p-ae422058.entry.js → p-e3997d60.entry.js} +2 -2
  216. package/dist/core/{p-982a6e88.entry.js → p-e834344e.entry.js} +2 -2
  217. package/dist/core/p-f14454b1.entry.js +2 -0
  218. package/dist/core/{p-f55ad6ae.entry.js.map → p-f14454b1.entry.js.map} +1 -1
  219. package/dist/core/{p-c7820c23.entry.js → p-f3c840cd.entry.js} +2 -2
  220. package/dist/core/p-f6888309.entry.js +2 -0
  221. package/dist/core/p-f6888309.entry.js.map +1 -0
  222. package/dist/core/p-f74a8752.entry.js +2 -0
  223. package/dist/core/p-f74a8752.entry.js.map +1 -0
  224. package/dist/core/{p-5759d771.entry.js → p-f7a14c01.entry.js} +2 -2
  225. package/dist/core/{p-0939ce92.entry.js → p-f843da01.entry.js} +2 -2
  226. package/dist/core/{p-e84b0310.entry.js → p-fc5611e2.entry.js} +2 -2
  227. package/dist/esm/core.js +1 -1
  228. package/dist/esm/{helpers-7aa21b0a.js → helpers-12b4266a.js} +2 -7
  229. package/dist/esm/helpers-12b4266a.js.map +1 -0
  230. package/dist/esm/{helpers-f328a7b6.js → helpers-1f07eb61.js} +46 -92
  231. package/dist/esm/helpers-1f07eb61.js.map +1 -0
  232. package/dist/esm/ic-accordion.entry.js +1 -1
  233. package/dist/esm/ic-alert.entry.js +1 -1
  234. package/dist/esm/ic-back-to-top.entry.js +1 -1
  235. package/dist/esm/ic-badge.entry.js +1 -1
  236. package/dist/esm/ic-breadcrumb-group.entry.js +1 -1
  237. package/dist/esm/ic-breadcrumb.entry.js +1 -1
  238. package/dist/esm/ic-button_3.entry.js +2 -8
  239. package/dist/esm/ic-button_3.entry.js.map +1 -1
  240. package/dist/esm/ic-card.entry.js +1 -1
  241. package/dist/esm/ic-checkbox-group.entry.js +1 -1
  242. package/dist/esm/ic-checkbox.entry.js +1 -1
  243. package/dist/esm/ic-chip.entry.js +1 -1
  244. package/dist/esm/ic-data-row.entry.js +1 -1
  245. package/dist/esm/ic-data-table-title-bar.entry.js +53 -0
  246. package/dist/esm/ic-data-table-title-bar.entry.js.map +1 -0
  247. package/dist/esm/ic-data-table.entry.js +309 -44
  248. package/dist/esm/ic-data-table.entry.js.map +1 -1
  249. package/dist/esm/ic-dialog.entry.js +1 -1
  250. package/dist/esm/ic-divider.entry.js +1 -1
  251. package/dist/esm/{ic-pagination-bar.entry.js → ic-empty-state_2.entry.js} +34 -5
  252. package/dist/esm/ic-empty-state_2.entry.js.map +1 -0
  253. package/dist/esm/ic-footer-link-group.entry.js +1 -1
  254. package/dist/esm/ic-footer-link.entry.js +1 -1
  255. package/dist/esm/ic-footer.entry.js +1 -1
  256. package/dist/esm/ic-hero.entry.js +1 -1
  257. package/dist/esm/ic-horizontal-scroll.entry.js +1 -1
  258. package/dist/esm/{ic-menu.entry.js → ic-input-component-container_3.entry.js} +69 -7
  259. package/dist/esm/ic-input-component-container_3.entry.js.map +1 -0
  260. package/dist/esm/ic-input-label_2.entry.js +81 -0
  261. package/dist/esm/ic-input-label_2.entry.js.map +1 -0
  262. package/dist/esm/ic-link.entry.js +1 -1
  263. package/dist/esm/ic-menu-group.entry.js +1 -1
  264. package/dist/esm/ic-menu-item.entry.js +1 -1
  265. package/dist/esm/ic-menu-with-multi.entry.js +1 -1
  266. package/dist/esm/ic-menu-with-multi.entry.js.map +1 -1
  267. package/dist/esm/ic-navigation-button.entry.js +1 -1
  268. package/dist/esm/ic-navigation-group.entry.js +13 -16
  269. package/dist/esm/ic-navigation-group.entry.js.map +1 -1
  270. package/dist/esm/ic-navigation-item.entry.js +32 -28
  271. package/dist/esm/ic-navigation-item.entry.js.map +1 -1
  272. package/dist/esm/ic-navigation-menu.entry.js +1 -1
  273. package/dist/esm/ic-page-header.entry.js +1 -1
  274. package/dist/esm/ic-pagination_4.entry.js +5 -5
  275. package/dist/esm/ic-pagination_4.entry.js.map +1 -1
  276. package/dist/esm/ic-popover-menu.entry.js +1 -1
  277. package/dist/esm/ic-radio-group.entry.js +1 -1
  278. package/dist/esm/ic-radio-option.entry.js +1 -1
  279. package/dist/esm/ic-search-bar.entry.js +1 -1
  280. package/dist/esm/ic-select-with-multi.entry.js +14 -1
  281. package/dist/esm/ic-select-with-multi.entry.js.map +1 -1
  282. package/dist/esm/ic-side-navigation.entry.js +1 -1
  283. package/dist/esm/ic-status-tag.entry.js +1 -1
  284. package/dist/esm/ic-step.entry.js +1 -1
  285. package/dist/esm/ic-stepper.entry.js +1 -1
  286. package/dist/esm/ic-switch.entry.js +1 -1
  287. package/dist/esm/ic-tab-group.entry.js +1 -1
  288. package/dist/esm/ic-tab-panel.entry.js +1 -1
  289. package/dist/esm/ic-tab.entry.js +1 -1
  290. package/dist/esm/ic-theme.entry.js +1 -1
  291. package/dist/esm/ic-toast.entry.js +1 -1
  292. package/dist/esm/ic-toggle-button.entry.js +1 -1
  293. package/dist/esm/ic-top-navigation.entry.js +60 -46
  294. package/dist/esm/ic-top-navigation.entry.js.map +1 -1
  295. package/dist/esm/ic-typography.entry.js +36 -12
  296. package/dist/esm/ic-typography.entry.js.map +1 -1
  297. package/dist/esm/index-93509377.js +10 -18
  298. package/dist/esm/loader.js +1 -1
  299. package/dist/esm/polyfills/core-js.js +0 -0
  300. package/dist/esm/polyfills/dom.js +0 -0
  301. package/dist/esm/polyfills/es5-html-element.js +0 -0
  302. package/dist/esm/polyfills/index.js +0 -0
  303. package/dist/esm/polyfills/system.js +0 -0
  304. package/dist/types/components/ic-data-table/ic-data-table.d.ts +96 -1
  305. package/dist/types/components/ic-data-table/ic-data-table.types.d.ts +11 -0
  306. package/dist/types/components/ic-data-table/story-data.d.ts +99 -0
  307. package/dist/types/components/ic-data-table-title-bar/ic-data-table-title-bar.d.ts +36 -0
  308. package/dist/types/components/ic-menu-with-multi/ic-menu.d.ts +2 -2
  309. package/dist/types/components/ic-select-with-multi/ic-select.d.ts +2 -2
  310. package/dist/types/components.d.ts +141 -389
  311. package/dist/types/utils/constants.d.ts +0 -37
  312. package/dist/types/utils/helpers.d.ts +16 -83
  313. package/dist/types/utils/types.d.ts +1 -92
  314. package/hydrate/index.js +945 -2932
  315. package/package.json +3 -4
  316. package/dist/cjs/date-helpers-c9551119.js +0 -150
  317. package/dist/cjs/date-helpers-c9551119.js.map +0 -1
  318. package/dist/cjs/helpers-7a069459.js.map +0 -1
  319. package/dist/cjs/helpers-f75cf7cf.js.map +0 -1
  320. package/dist/cjs/ic-date-input.cjs.entry.js +0 -1073
  321. package/dist/cjs/ic-date-input.cjs.entry.js.map +0 -1
  322. package/dist/cjs/ic-date-picker.cjs.entry.js +0 -1050
  323. package/dist/cjs/ic-date-picker.cjs.entry.js.map +0 -1
  324. package/dist/cjs/ic-empty-state.cjs.entry.js +0 -38
  325. package/dist/cjs/ic-empty-state.cjs.entry.js.map +0 -1
  326. package/dist/cjs/ic-input-component-container_4.cjs.entry.js +0 -150
  327. package/dist/cjs/ic-input-component-container_4.cjs.entry.js.map +0 -1
  328. package/dist/cjs/ic-menu.cjs.entry.js.map +0 -1
  329. package/dist/cjs/ic-pagination-bar.cjs.entry.js.map +0 -1
  330. package/dist/collection/assets/calendar.svg +0 -3
  331. package/dist/collection/components/ic-date-input/ic-date-input.css +0 -560
  332. package/dist/collection/components/ic-date-input/ic-date-input.js +0 -1668
  333. package/dist/collection/components/ic-date-input/ic-date-input.js.map +0 -1
  334. package/dist/collection/components/ic-date-input/story-data.js +0 -28
  335. package/dist/collection/components/ic-date-input/story-data.js.map +0 -1
  336. package/dist/collection/components/ic-date-input/test/basic/ic-date-input.spec.js +0 -1156
  337. package/dist/collection/components/ic-date-input/test/basic/ic-date-input.spec.js.map +0 -1
  338. package/dist/collection/components/ic-date-input/test/helpers/ic-date-input.js +0 -42
  339. package/dist/collection/components/ic-date-input/test/helpers/ic-date-input.js.map +0 -1
  340. package/dist/collection/components/ic-date-picker/ic-date-picker.css +0 -878
  341. package/dist/collection/components/ic-date-picker/ic-date-picker.js +0 -1506
  342. package/dist/collection/components/ic-date-picker/ic-date-picker.js.map +0 -1
  343. package/dist/collection/components/ic-date-picker/ic-day-button.js +0 -36
  344. package/dist/collection/components/ic-date-picker/ic-day-button.js.map +0 -1
  345. package/dist/collection/components/ic-date-picker/ic-month-picker.js +0 -29
  346. package/dist/collection/components/ic-date-picker/ic-month-picker.js.map +0 -1
  347. package/dist/collection/components/ic-date-picker/ic-year-picker.js +0 -39
  348. package/dist/collection/components/ic-date-picker/ic-year-picker.js.map +0 -1
  349. package/dist/collection/components/ic-date-picker/story-data.js +0 -147
  350. package/dist/collection/components/ic-date-picker/story-data.js.map +0 -1
  351. package/dist/collection/components/ic-date-picker/test/a11y/ic-date-picker.test.a11y.js.map +0 -1
  352. package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker-utils.spec.js +0 -207
  353. package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker-utils.spec.js.map +0 -1
  354. package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker.spec.js +0 -962
  355. package/dist/collection/components/ic-date-picker/test/basic/ic-date-picker.spec.js.map +0 -1
  356. package/dist/collection/utils/date-helpers.js +0 -133
  357. package/dist/collection/utils/date-helpers.js.map +0 -1
  358. package/dist/components/ic-date-input.js +0 -8
  359. package/dist/components/ic-date-input.js.map +0 -1
  360. package/dist/components/ic-date-input2.js +0 -1301
  361. package/dist/components/ic-date-input2.js.map +0 -1
  362. package/dist/components/ic-date-picker.d.ts +0 -11
  363. package/dist/components/ic-date-picker.js +0 -1171
  364. package/dist/components/ic-date-picker.js.map +0 -1
  365. package/dist/core/p-16f67397.entry.js +0 -2
  366. package/dist/core/p-16f67397.entry.js.map +0 -1
  367. package/dist/core/p-2c1fecb9.entry.js +0 -2
  368. package/dist/core/p-2c1fecb9.entry.js.map +0 -1
  369. package/dist/core/p-33679c06.entry.js +0 -2
  370. package/dist/core/p-33679c06.entry.js.map +0 -1
  371. package/dist/core/p-33dd24eb.js +0 -2
  372. package/dist/core/p-33dd24eb.js.map +0 -1
  373. package/dist/core/p-5392bca0.entry.js +0 -2
  374. package/dist/core/p-5392bca0.entry.js.map +0 -1
  375. package/dist/core/p-550a5674.entry.js +0 -2
  376. package/dist/core/p-550a5674.entry.js.map +0 -1
  377. package/dist/core/p-6c0e2ceb.entry.js +0 -2
  378. package/dist/core/p-6c0e2ceb.entry.js.map +0 -1
  379. package/dist/core/p-8ab12a15.entry.js +0 -2
  380. package/dist/core/p-8ab12a15.entry.js.map +0 -1
  381. package/dist/core/p-aabab75f.entry.js +0 -2
  382. package/dist/core/p-aabab75f.entry.js.map +0 -1
  383. package/dist/core/p-c7590421.entry.js +0 -2
  384. package/dist/core/p-c7590421.entry.js.map +0 -1
  385. package/dist/core/p-caf857de.entry.js +0 -2
  386. package/dist/core/p-caf857de.entry.js.map +0 -1
  387. package/dist/core/p-cd799087.js +0 -2
  388. package/dist/core/p-cd799087.js.map +0 -1
  389. package/dist/core/p-d32692e2.entry.js +0 -2
  390. package/dist/core/p-d32692e2.entry.js.map +0 -1
  391. package/dist/core/p-d35c7c18.js +0 -2
  392. package/dist/core/p-d35c7c18.js.map +0 -1
  393. package/dist/core/p-e189f1d0.entry.js +0 -2
  394. package/dist/core/p-e189f1d0.entry.js.map +0 -1
  395. package/dist/core/p-e5d76564.entry.js +0 -2
  396. package/dist/core/p-e5d76564.entry.js.map +0 -1
  397. package/dist/core/p-f55ad6ae.entry.js +0 -2
  398. package/dist/core/p-f91527a0.entry.js +0 -2
  399. package/dist/core/p-f91527a0.entry.js.map +0 -1
  400. package/dist/esm/date-helpers-0e5e32a7.js +0 -136
  401. package/dist/esm/date-helpers-0e5e32a7.js.map +0 -1
  402. package/dist/esm/helpers-7aa21b0a.js.map +0 -1
  403. package/dist/esm/helpers-f328a7b6.js.map +0 -1
  404. package/dist/esm/ic-date-input.entry.js +0 -1069
  405. package/dist/esm/ic-date-input.entry.js.map +0 -1
  406. package/dist/esm/ic-date-picker.entry.js +0 -1046
  407. package/dist/esm/ic-date-picker.entry.js.map +0 -1
  408. package/dist/esm/ic-empty-state.entry.js.map +0 -1
  409. package/dist/esm/ic-input-component-container_4.entry.js +0 -143
  410. package/dist/esm/ic-input-component-container_4.entry.js.map +0 -1
  411. package/dist/esm/ic-menu.entry.js.map +0 -1
  412. package/dist/esm/ic-pagination-bar.entry.js.map +0 -1
  413. package/dist/types/components/ic-date-input/ic-date-input.d.ts +0 -242
  414. package/dist/types/components/ic-date-input/story-data.d.ts +0 -1
  415. package/dist/types/components/ic-date-input/test/helpers/ic-date-input.d.ts +0 -23
  416. package/dist/types/components/ic-date-picker/ic-date-picker.d.ts +0 -251
  417. package/dist/types/components/ic-date-picker/ic-day-button.d.ts +0 -16
  418. package/dist/types/components/ic-date-picker/ic-month-picker.d.ts +0 -14
  419. package/dist/types/components/ic-date-picker/ic-year-picker.d.ts +0 -16
  420. package/dist/types/components/ic-date-picker/story-data.d.ts +0 -22
  421. package/dist/types/utils/date-helpers.d.ts +0 -22
  422. /package/dist/core/{p-8ea47d42.entry.js.map → p-045359e1.entry.js.map} +0 -0
  423. /package/dist/core/{p-3745da83.entry.js.map → p-10fb4c46.entry.js.map} +0 -0
  424. /package/dist/core/{p-2e2e0099.entry.js.map → p-1ca332ca.entry.js.map} +0 -0
  425. /package/dist/core/{p-d4fdd8c1.entry.js.map → p-204ace96.entry.js.map} +0 -0
  426. /package/dist/core/{p-5fe96107.entry.js.map → p-2eac7dcc.entry.js.map} +0 -0
  427. /package/dist/core/{p-36508aad.entry.js.map → p-4753bac8.entry.js.map} +0 -0
  428. /package/dist/core/{p-4f1ffa39.entry.js.map → p-4baa0916.entry.js.map} +0 -0
  429. /package/dist/core/{p-776671cf.entry.js.map → p-4f413fc0.entry.js.map} +0 -0
  430. /package/dist/core/{p-9d540656.entry.js.map → p-595be57d.entry.js.map} +0 -0
  431. /package/dist/core/{p-7cecf5d5.entry.js.map → p-5ae93c16.entry.js.map} +0 -0
  432. /package/dist/core/{p-1ce75941.entry.js.map → p-5e0c830b.entry.js.map} +0 -0
  433. /package/dist/core/{p-e74f1d09.entry.js.map → p-624d4f5f.entry.js.map} +0 -0
  434. /package/dist/core/{p-9d01a7ad.entry.js.map → p-6933f8e9.entry.js.map} +0 -0
  435. /package/dist/core/{p-5e2e6c3b.entry.js.map → p-6c3044b6.entry.js.map} +0 -0
  436. /package/dist/core/{p-6690bc04.entry.js.map → p-75dac3d1.entry.js.map} +0 -0
  437. /package/dist/core/{p-85609bdd.entry.js.map → p-7ef8d616.entry.js.map} +0 -0
  438. /package/dist/core/{p-a0f9b259.entry.js.map → p-81ddc39d.entry.js.map} +0 -0
  439. /package/dist/core/{p-a6447b13.entry.js.map → p-869954a2.entry.js.map} +0 -0
  440. /package/dist/core/{p-47ac6838.entry.js.map → p-88d54b72.entry.js.map} +0 -0
  441. /package/dist/core/{p-06ae5bec.entry.js.map → p-8b08d8fe.entry.js.map} +0 -0
  442. /package/dist/core/{p-ca8cbd6a.entry.js.map → p-917c5721.entry.js.map} +0 -0
  443. /package/dist/core/{p-76d26018.entry.js.map → p-a0f8efb2.entry.js.map} +0 -0
  444. /package/dist/core/{p-a42c2f37.entry.js.map → p-a31031a5.entry.js.map} +0 -0
  445. /package/dist/core/{p-b306cbc8.entry.js.map → p-a434c3d4.entry.js.map} +0 -0
  446. /package/dist/core/{p-86012178.entry.js.map → p-a43c12cd.entry.js.map} +0 -0
  447. /package/dist/core/{p-8c90110a.entry.js.map → p-a50c3b9e.entry.js.map} +0 -0
  448. /package/dist/core/{p-1b7d426b.entry.js.map → p-ab09986c.entry.js.map} +0 -0
  449. /package/dist/core/{p-62e22508.entry.js.map → p-b82dcc29.entry.js.map} +0 -0
  450. /package/dist/core/{p-d5c99ec3.entry.js.map → p-ba86928c.entry.js.map} +0 -0
  451. /package/dist/core/{p-d3856ed3.entry.js.map → p-c34848da.entry.js.map} +0 -0
  452. /package/dist/core/{p-98448bdb.entry.js.map → p-d8469ac0.entry.js.map} +0 -0
  453. /package/dist/core/{p-1832f4b5.entry.js.map → p-db9c03c0.entry.js.map} +0 -0
  454. /package/dist/core/{p-ae422058.entry.js.map → p-e3997d60.entry.js.map} +0 -0
  455. /package/dist/core/{p-982a6e88.entry.js.map → p-e834344e.entry.js.map} +0 -0
  456. /package/dist/core/{p-c7820c23.entry.js.map → p-f3c840cd.entry.js.map} +0 -0
  457. /package/dist/core/{p-5759d771.entry.js.map → p-f7a14c01.entry.js.map} +0 -0
  458. /package/dist/core/{p-0939ce92.entry.js.map → p-f843da01.entry.js.map} +0 -0
  459. /package/dist/core/{p-e84b0310.entry.js.map → p-fc5611e2.entry.js.map} +0 -0
  460. /package/dist/types/components/{ic-date-picker/test/a11y/ic-date-picker.test.a11y.d.ts → ic-data-table-title-bar/test/a11y/ic-data-table-title-bar.test.a11y.d.ts} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"ic-date-input.spec.js","sourceRoot":"","sources":["../../../../../src/components/ic-date-input/test/basic/ic-date-input.spec.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,aAAa,GACd,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,gDAAgD,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AAEnF,MAAM,SAAS,GAAG,YAAY,CAAC;AAC/B,MAAM,SAAS,GAAG,YAAY,CAAC;AAC/B,MAAM,cAAc,GAAG,IAAI,IAAI,CAAC,kBAAkB,CAAC,CAAC,WAAW,EAAE,CAAC;AAClE,MAAM,MAAM,GAAG,G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,kBAAkB,EAAE,CAAC;YAEzD,MAAM,CACJ,iBAAiB,CAAC,uBAAuB,CAAC,WAAW,CAAC,CACvD,CAAC,SAAS,EAAE,CAAC;QAChB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;QAC9B,EAAE,CAAC,kCAAkC,EAAE,KAAK,IAAI,EAAE;YAChD,MAAM,EAAE,SAAS,EAAE,iBAAiB,EAAE,GAAG,MAAM,kBAAkB,EAAE,CAAC;YACpE,MAAM,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YAEvC,MAAM,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { newSpecPage } from \"@stencil/core/testing\";\nimport { DateInput } from \"../../ic-date-input\";\nimport {\n handleEvent,\n createDateInputEnv,\n keyboardEvent,\n} from \"../helpers/ic-date-input\";\nimport { IcButton } from \"@ukic/web-components/dist/components/ic-button\";\nimport { IcInputLabel } from \"@ukic/web-components/dist/components/ic-input-label\";\n\nconst DATE_1970 = \"01/01/1970\";\nconst DATE_2000 = \"01/01/2000\";\nconst ZULU_TIME_2000 = new Date(\"28 November 2001\").toISOString();\nconst HYPHEN = \"-\";\n\nconst ARIA_INVALID = \"aria-invalid\";\n\ndescribe(\"ic-date-input component\", () => {\n it(\"should render\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel],\n html: `<ic-date-input label=\"Test label\"></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render as required\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel],\n html: `<ic-date-input label=\"Test label\" required></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render as disabled\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel],\n html: `<ic-date-input label=\"Test label\" disabled></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render small\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel],\n html: `<ic-date-input label=\"Test label\" size=\"small\" show-calendar-button=\"true\"></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render large\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel],\n html: `<ic-date-input label=\"Test label\" size=\"large\" show-calendar-button=\"true\"></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render with custom helper text\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel],\n html: `<ic-date-input label=\"Test label\" helper-text=\"Test helper text\"></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render correctly with MM/DD/YYYY format\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel],\n html: `<ic-date-input label=\"Test label\" date-format=\"MM/DD/YYYY\"></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render correctly with YYYY/MM/DD format\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel],\n html: `<ic-date-input label=\"Test label\" date-format=\"YYY/MM/DD\"></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render with custom validation status and text\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel],\n html: `<ic-date-input label=\"Test label\" validation-status=\"error\" validation-text=\"Test error text\"></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render with open calendar button\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel, IcButton],\n html: `<ic-date-input label=\"Test label\" value=\"21/01/2001\" show-calendar-button=\"true\"></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should render disabled, with calendar button\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel, IcButton],\n html: `<ic-date-input label=\"Test label\" value=\"21/01/2001\" show-calendar-button=\"true\" disabled></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n describe(\"date format conversion\", () => {\n it(\"should handle single digit day and month\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel],\n html: `<ic-date-input label=\"Test label\" value=\"1/1/2001\"></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should handle US format value - DD/MM/YYYY date format\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel],\n html: `<ic-date-input label=\"Test label\" value=\"07/26/2001\"></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should handle US format value - MM/DD/YYYY date format\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel],\n html: `<ic-date-input label=\"Test label\" value=\"07/26/2001\" date-format=\"MM/DD/YYYY\"></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should handle US format value - YYYY/MM/DD date format\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel],\n html: `<ic-date-input label=\"Test label\" value=\"07/26/2001\" date-format=\"YYYY/MM/DD\"></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should handle ambiguous value - DD/MM/YYYY date format\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel],\n html: `<ic-date-input label=\"Test label\" value=\"07/10/2001\" date-format=\"DD/MM/YYYY\"></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should handle ambiguous value - MM/DD/YYYY date format\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel],\n html: `<ic-date-input label=\"Test label\" value=\"07/10/2001\" date-format=\"MM/DD/YYYY\"></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n\n it(\"should handle ambiguous value - YYYY/MM/DD date format\", async () => {\n const page = await newSpecPage({\n components: [DateInput, IcInputLabel],\n html: `<ic-date-input label=\"Test label\" value=\"07/10/2001\" date-format=\"YYYY/MM/DD\"></ic-date-input>`,\n });\n\n expect(page.root).toMatchSnapshot();\n });\n });\n\n describe(\"handleInput\", () => {\n it(\"should call moveToNextInput, setinputValue and setPreventInput when day set to 4\", async () => {\n const { dayInput, componentInstance } = await createDateInputEnv();\n\n const spyMoveToInput = jest.spyOn(componentInstance, \"moveToNextInput\");\n const spySetInputValue = jest.spyOn(componentInstance, \"setInputValue\");\n const spySetPreventInput = jest.spyOn(\n componentInstance,\n \"setPreventInput\"\n );\n\n componentInstance.preventAutoFormatting = false;\n\n dayInput.value = \"4\";\n componentInstance.handleInput(handleEvent(dayInput));\n\n expect(spyMoveToInput).toHaveBeenCalled();\n expect(spySetInputValue).toHaveBeenCalled();\n expect(spySetPreventInput).toHaveBeenCalled();\n });\n\n it(\"should call setInputValue, setPreventInput and moveToNextInput when preventFormatting is set to true and value has 2 characters\", async () => {\n const { dayInput, componentInstance } = await createDateInputEnv();\n\n const spyMoveToInput = jest.spyOn(componentInstance, \"moveToNextInput\");\n const spySetInputValue = jest.spyOn(componentInstance, \"setInputValue\");\n const spySetPreventInput = jest.spyOn(\n componentInstance,\n \"setPreventInput\"\n );\n\n componentInstance.preventAutoFormatting = true;\n\n dayInput.value = \"11\";\n componentInstance.handleInput(handleEvent(dayInput));\n\n expect(spyMoveToInput).toHaveBeenCalled();\n expect(spySetInputValue).toHaveBeenCalled();\n expect(spySetPreventInput).toHaveBeenCalled();\n });\n\n it(\"should call setInputValue when formatting is true and event is Arrow key\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n const spyMoveToInput = jest.spyOn(componentInstance, \"moveToNextInput\");\n const spySetInputValue = jest.spyOn(componentInstance, \"setInputValue\");\n\n componentInstance.preventAutoFormatting = true;\n\n dayInput.value = \"1\"; // Line 249\n componentInstance.handleInput(handleEvent(dayInput));\n\n expect(spyMoveToInput).not.toHaveBeenCalled();\n expect(spySetInputValue).toHaveBeenCalled();\n });\n\n it(\"should not call moveToNextInput and setinputValue when day set to 1\", async () => {\n const { dayInput, componentInstance } = await createDateInputEnv();\n\n const spyMoveToInput = jest.spyOn(componentInstance, \"moveToNextInput\");\n const spySetInputValue = jest.spyOn(componentInstance, \"setInputValue\");\n const spySetPreventInput = jest.spyOn(\n componentInstance,\n \"setPreventInput\"\n );\n\n componentInstance.preventAutoFormatting = false;\n\n dayInput.value = \"1\";\n componentInstance.handleInput(handleEvent(dayInput));\n\n expect(spyMoveToInput).not.toHaveBeenCalled();\n expect(spySetInputValue).not.toHaveBeenCalled();\n expect(spySetPreventInput).toHaveBeenCalled();\n });\n\n it(\"should call moveToNextInput and setinputValue when month set to 2\", async () => {\n const { monthInput, componentInstance } = await createDateInputEnv();\n\n const spyMoveToInput = jest.spyOn(componentInstance, \"moveToNextInput\");\n const spySetInputValue = jest.spyOn(componentInstance, \"setInputValue\");\n\n componentInstance.preventAutoFormatting = false;\n\n monthInput.value = \"2\";\n componentInstance.handleInput(handleEvent(monthInput));\n\n expect(spyMoveToInput).toHaveBeenCalled();\n expect(spySetInputValue).toHaveBeenCalled();\n });\n\n it(\"should not call moveToNextInput and setinputValue when month set to 1\", async () => {\n const { monthInput, componentInstance } = await createDateInputEnv();\n\n const spyMoveToInput = jest.spyOn(componentInstance, \"moveToNextInput\");\n const spySetInputValue = jest.spyOn(componentInstance, \"setInputValue\");\n\n componentInstance.preventAutoFormatting = false;\n\n monthInput.value = \"1\";\n componentInstance.handleInput(handleEvent(monthInput));\n\n expect(spyMoveToInput).not.toHaveBeenCalled();\n expect(spySetInputValue).not.toHaveBeenCalled();\n });\n\n it(\"should set day input value to 01 if 00 is day value\", async () => {\n const { dayInput, componentInstance } = await createDateInputEnv();\n\n const spyMoveToInput = jest.spyOn(componentInstance, \"moveToNextInput\");\n const spySetInputValue = jest.spyOn(componentInstance, \"setInputValue\");\n const spySetPreventInput = jest.spyOn(\n componentInstance,\n \"setPreventInput\"\n );\n\n componentInstance.preventAutoFormatting = false;\n\n dayInput.value = \"00\";\n componentInstance.handleInput(handleEvent(dayInput));\n\n expect(dayInput.value).toBe(\"01\");\n expect(spyMoveToInput).toHaveBeenCalled();\n expect(spySetInputValue).toHaveBeenCalled();\n expect(spySetPreventInput).toHaveBeenCalled();\n });\n\n it(\"should set month input value to 01 if 00 is month value\", async () => {\n const { monthInput, componentInstance } = await createDateInputEnv();\n\n const spyMoveToInput = jest.spyOn(componentInstance, \"moveToNextInput\");\n const spySetInputValue = jest.spyOn(componentInstance, \"setInputValue\");\n const spySetPreventInput = jest.spyOn(\n componentInstance,\n \"setPreventInput\"\n );\n\n componentInstance.preventAutoFormatting = false;\n\n monthInput.value = \"00\";\n componentInstance.handleInput(handleEvent(monthInput));\n\n expect(monthInput.value).toBe(\"01\");\n expect(spyMoveToInput).toHaveBeenCalled();\n expect(spySetInputValue).toHaveBeenCalled();\n expect(spySetPreventInput).toHaveBeenCalled();\n });\n\n it(\"should call moveToNextInput, setinputValue and setPreventInput when year set to 2001\", async () => {\n const { yearInput, componentInstance } = await createDateInputEnv();\n\n const spyMoveToInput = jest.spyOn(componentInstance, \"moveToNextInput\");\n const spySetInputValue = jest.spyOn(componentInstance, \"setInputValue\");\n const spySetPreventInput = jest.spyOn(\n componentInstance,\n \"setPreventInput\"\n );\n\n componentInstance.preventAutoFormatting = false;\n\n yearInput.value = \"2001\";\n componentInstance.handleInput(handleEvent(yearInput));\n\n expect(spyMoveToInput).toHaveBeenCalled();\n expect(spySetInputValue).toHaveBeenCalled();\n expect(spySetPreventInput).toHaveBeenCalled();\n });\n\n it(\"should not call moveToNextInput when year set to 20\", async () => {\n const { yearInput, componentInstance } = await createDateInputEnv();\n\n const spyMoveToInput = jest.spyOn(componentInstance, \"moveToNextInput\");\n\n componentInstance.preventAutoFormatting = false;\n\n yearInput.value = \"20\";\n componentInstance.handleInput(handleEvent(yearInput));\n\n expect(spyMoveToInput).not.toHaveBeenCalled();\n });\n\n it(\"should not have fit-to-value class when empty string value is set for day input\", async () => {\n const { dayInput, componentInstance } = await createDateInputEnv();\n\n dayInput.value = \"\";\n componentInstance.handleInput(handleEvent(dayInput));\n\n expect(dayInput.className.includes(\"fit-to-value\")).toBeFalsy();\n });\n });\n\n describe(\"handleKeyDown\", () => {\n it(\"should call moveToNextInput when a hyphen, dash or dot are inputted\", async () => {\n const { componentInstance, component } = await createDateInputEnv();\n const spyMoveToInput = jest.spyOn(componentInstance, \"moveToNextInput\");\n const spyPreventInput = jest.spyOn(componentInstance, \"preventInput\");\n // const spyNotifyScreenReader = jest.spyOn(\n // componentInstance,\n // \"notifyScreenReader\"\n // );\n const event = new KeyboardEvent(\"keydown\", { key: \"/\" });\n component?.dispatchEvent(event);\n\n componentInstance.handleKeyDown(event, false);\n\n expect(spyMoveToInput).toHaveBeenCalled();\n expect(spyPreventInput).toHaveBeenCalled();\n // expect(spyNotifyScreenReader).toHaveBeenCalled();\n\n expect(componentInstance.isDateSetFromKeyboardEvent).toBe(true);\n });\n\n it(\"should call handleLeftRightArrowKeyPress when ArrowLeft is pressed\", async () => {\n const { componentInstance } = await createDateInputEnv();\n const spyHandleLeftRightArrowKeyPress = jest.spyOn(\n componentInstance,\n \"handleLeftRightArrowKeyPress\"\n );\n\n const keyboardEvent = {\n preventDefault: (): null => null,\n key: \"ArrowLeft\",\n };\n\n componentInstance.handleKeyDown(keyboardEvent);\n\n expect(spyHandleLeftRightArrowKeyPress).toHaveBeenCalled();\n });\n\n it(\"should set preventAutoFormatting as true and call handleUpDownArrowKeyPress when the ArrowUp key is pressed\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n const keyboardEvent = {\n key: \"ArrowUp\",\n preventDefault: (): null => null,\n target: dayInput,\n };\n\n const spyHandleUpDownArrowKeyPress = jest.spyOn(\n componentInstance,\n \"handleUpDownArrowKeyPress\"\n );\n\n const spyPreventInput = jest.spyOn(componentInstance, \"preventInput\");\n\n componentInstance.handleKeyDown(keyboardEvent, false);\n\n expect(componentInstance.preventAutoFormatting).toBe(true);\n expect(spyHandleUpDownArrowKeyPress).toHaveBeenCalled();\n\n expect(spyPreventInput).toHaveBeenCalled();\n expect(componentInstance.isDateSetFromKeyboardEvent).toBe(true);\n });\n\n it(\"should set preventAutoFormatting as true and call handleUpDownArrowKeyPress when the ArrowDown key is pressed\", async () => {\n const { dayInput, componentInstance } = await createDateInputEnv();\n\n const keyboardEvent = {\n key: \"ArrowDown\",\n preventDefault: (): null => null,\n target: dayInput,\n };\n\n const spyHandleUpDownArrowKeyPress = jest.spyOn(\n componentInstance,\n \"handleUpDownArrowKeyPress\"\n );\n\n const spyPreventInput = jest.spyOn(componentInstance, \"preventInput\");\n\n componentInstance.handleKeyDown(keyboardEvent, false);\n\n expect(componentInstance.preventAutoFormatting).toBe(true);\n expect(spyHandleUpDownArrowKeyPress).toHaveBeenCalled();\n\n expect(spyPreventInput).toHaveBeenCalled();\n expect(componentInstance.isDateSetFromKeyboardEvent).toBe(true);\n });\n });\n\n describe(\"handleBlur\", () => {\n it(\"should call autocompleteInput method\", async () => {\n const { dayInput, componentInstance } = await createDateInputEnv();\n\n const spyAutocompleteInput = jest.spyOn(\n componentInstance,\n \"autocompleteInput\"\n );\n\n componentInstance.handleBlur(handleEvent(dayInput));\n\n expect(spyAutocompleteInput).toHaveBeenCalled();\n });\n });\n\n describe(\"handleLeftRightArrowKeyPress\", () => {\n it(\"should call moveToNextInput if ArrowRight is pressed\", async () => {\n const { dayInput, componentInstance } = await createDateInputEnv();\n\n const spyMoveToNextInput = jest.spyOn(\n componentInstance,\n \"moveToNextInput\"\n );\n\n componentInstance.handleLeftRightArrowKeyPress(dayInput, \"arrowright\");\n\n expect(spyMoveToNextInput).toBeCalled();\n });\n\n it(\"should call moveToPreviousInput if ArrowLeft is pressed\", async () => {\n const { dayInput, componentInstance } = await createDateInputEnv();\n\n const spyMoveToPreviousInput = jest.spyOn(\n componentInstance,\n \"moveToPreviousInput\"\n );\n\n componentInstance.handleLeftRightArrowKeyPress(dayInput, \"ArrowLeft\");\n\n expect(spyMoveToPreviousInput).toBeCalled();\n });\n });\n\n describe(\"handleUpDownArrowKeyPress\", () => {\n it(\"should set day value to 1 if day value is 31 and ArrowUp is pressed\", async () => {\n const { dayInput, componentInstance } = await createDateInputEnv();\n\n dayInput.value = \"31\";\n\n componentInstance.handleUpDownArrowKeyPress(\n dayInput,\n keyboardEvent(\"ArrowUp\")\n );\n\n expect(dayInput.value).toBe(\"01\");\n });\n it(\"should set day value to 13 if day value is 12 and ArrowUp is pressed\", async () => {\n const { dayInput, componentInstance } = await createDateInputEnv();\n\n dayInput.value = \"12\";\n\n componentInstance.handleUpDownArrowKeyPress(\n dayInput,\n keyboardEvent(\"ArrowUp\")\n );\n\n expect(dayInput.value).toBe(\"13\");\n });\n it(\"should set month value to 1 if month value is 12 and ArrowUp is pressed\", async () => {\n const { monthInput, componentInstance } = await createDateInputEnv();\n\n monthInput.value = \"12\";\n\n componentInstance.handleUpDownArrowKeyPress(\n monthInput,\n keyboardEvent(\"ArrowUp\")\n );\n\n expect(monthInput.value).toBe(\"01\");\n });\n it(\"should set month value to 11 if month value is 10 and ArrowUp is pressed\", async () => {\n const { monthInput, componentInstance } = await createDateInputEnv();\n\n monthInput.value = \"10\";\n\n componentInstance.handleUpDownArrowKeyPress(\n monthInput,\n keyboardEvent(\"ArrowUp\")\n );\n\n expect(monthInput.value).toBe(\"11\");\n });\n it(\"should set year value to 0 if year value is 9999 and ArrowUp is pressed\", async () => {\n const { yearInput, componentInstance } = await createDateInputEnv();\n\n yearInput.value = \"9999\";\n\n componentInstance.handleUpDownArrowKeyPress(\n yearInput,\n keyboardEvent(\"ArrowUp\")\n );\n\n expect(yearInput.value).toBe(\"00\");\n });\n it(\"should set day value to 31 if day value is 1 and ArrowDown is pressed\", async () => {\n const { dayInput, componentInstance } = await createDateInputEnv();\n\n dayInput.value = \"1\";\n\n componentInstance.handleUpDownArrowKeyPress(\n dayInput,\n keyboardEvent(\"ArrowDown\")\n );\n\n expect(dayInput.value).toBe(\"31\");\n });\n it(\"should set day value to 10 if day value is 11 and ArrowDown is pressed\", async () => {\n const { dayInput, componentInstance } = await createDateInputEnv();\n\n dayInput.value = \"11\";\n\n componentInstance.handleUpDownArrowKeyPress(\n dayInput,\n keyboardEvent(\"ArrowDown\")\n );\n\n expect(dayInput.value).toBe(\"10\");\n });\n it(\"should set month value to 12 if month value is 1 and ArrowDown is pressed\", async () => {\n const { monthInput, componentInstance } = await createDateInputEnv();\n\n monthInput.value = \"1\";\n\n componentInstance.handleUpDownArrowKeyPress(\n monthInput,\n keyboardEvent(\"ArrowDown\")\n );\n\n expect(monthInput.value).toBe(\"12\");\n });\n it(\"should set year value to 9999 if year value is 0 and ArrowDown is pressed\", async () => {\n const { yearInput, componentInstance } = await createDateInputEnv();\n\n yearInput.value = \"0\";\n\n componentInstance.handleUpDownArrowKeyPress(\n yearInput,\n keyboardEvent(\"ArrowDown\")\n );\n\n expect(yearInput.value).toBe(\"9999\");\n });\n it(\"should set day value to 31 if day value is empty and ArrowDown is pressed\", async () => {\n const { dayInput, componentInstance } = await createDateInputEnv();\n\n dayInput.value = \"\";\n\n componentInstance.handleUpDownArrowKeyPress(\n dayInput,\n keyboardEvent(\"ArrowDown\")\n );\n\n expect(dayInput.value).toBe(\"31\");\n });\n it(\"should set month value to 12 if month value is empty and ArrowDown is pressed\", async () => {\n const { monthInput, componentInstance } = await createDateInputEnv();\n\n monthInput.value = \"\";\n\n componentInstance.handleUpDownArrowKeyPress(\n monthInput,\n keyboardEvent(\"ArrowDown\")\n );\n\n expect(monthInput.value).toBe(\"12\");\n });\n it(\"should set year value to this year if year value is empty and ArrowDown is pressed\", async () => {\n const { yearInput, componentInstance } = await createDateInputEnv();\n\n yearInput.value = \"\";\n\n componentInstance.handleUpDownArrowKeyPress(\n yearInput,\n keyboardEvent(\"ArrowDown\")\n );\n\n expect(yearInput.value).toBe(`${new Date().getFullYear()}`);\n });\n it(\"should set year value to this year if year value is empty and ArrowUp is pressed\", async () => {\n const { yearInput, componentInstance } = await createDateInputEnv();\n\n yearInput.value = \"\";\n\n componentInstance.handleUpDownArrowKeyPress(\n yearInput,\n keyboardEvent(\"ArrowUp\")\n );\n\n expect(yearInput.value).toBe(`${new Date().getFullYear()}`);\n });\n });\n\n describe(\"handleDateChange\", () => {\n it(\"should emit icChange with 1st January 2000 as Date object if day, month and year is set\", async () => {\n const { component, componentInstance } = await createDateInputEnv();\n\n const eventSpy = jest.fn();\n\n componentInstance.day = \"01\";\n componentInstance.month = \"01\";\n componentInstance.year = \"2000\";\n componentInstance.invalidDateText = \"\";\n\n const date = new Date(\n +componentInstance.year,\n +componentInstance.month - 1,\n +componentInstance.day\n );\n\n componentInstance.selectedDate = date;\n\n component?.addEventListener(\"icChange\", eventSpy);\n\n componentInstance.handleDateChange();\n\n expect(eventSpy).toBeCalledWith(\n expect.objectContaining({\n detail: expect.objectContaining({\n value: date,\n }),\n })\n );\n });\n it(\"should set value as 1st January 2000 as Date object if day, month and year is set\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n componentInstance.day = \"01\";\n componentInstance.month = \"01\";\n componentInstance.year = \"2000\";\n componentInstance.invalidDateText = \"\";\n\n const date = new Date(\n +componentInstance.year,\n +componentInstance.month - 1,\n +componentInstance.day\n );\n\n componentInstance.selectedDate = date;\n\n componentInstance.handleDateChange();\n\n expect(componentInstance.value).toBe(date);\n });\n it(\"should set selectedDateInfoEl with 1st January 2000 as string if day, month and year is set\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n componentInstance.day = \"01\";\n componentInstance.month = \"01\";\n componentInstance.year = \"2000\";\n componentInstance.invalidDateText = \"\";\n\n const date = new Date(\n +componentInstance.year,\n +componentInstance.month - 1,\n +componentInstance.day\n );\n\n componentInstance.selectedDate = date;\n\n componentInstance.handleDateChange();\n\n expect(componentInstance.selectedDateInfoEl.textContent).toBe(\n \"Selected date: Saturday, 1 January 2000\"\n );\n });\n it(\"should emit icChange with null if day, month or year is not set\", async () => {\n const { component, componentInstance } = await createDateInputEnv();\n\n const eventSpy = jest.fn();\n\n componentInstance.day = \"\";\n componentInstance.month = \"\";\n componentInstance.year = \"2000\";\n componentInstance.invalidDateText = \"\";\n\n const date = new Date(\n +componentInstance.year,\n +componentInstance.month - 1,\n +componentInstance.day\n );\n\n componentInstance.selectedDate = date;\n\n component?.addEventListener(\"icChange\", eventSpy);\n\n componentInstance.handleDateChange();\n\n expect(eventSpy).toBeCalledWith(\n expect.objectContaining({\n detail: expect.objectContaining({\n value: null,\n }),\n })\n );\n });\n it(\"should set value to null if day, month or year is not set\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n componentInstance.day = \"\";\n componentInstance.month = \"\";\n componentInstance.year = \"2000\";\n componentInstance.invalidDateText = \"\";\n\n const date = new Date(\n +componentInstance.year,\n +componentInstance.month - 1,\n +componentInstance.day\n );\n\n componentInstance.selectedDate = date;\n\n componentInstance.handleDateChange();\n\n expect(componentInstance.value).toBe(null);\n });\n it(\"should set selectedDateInfoEl with empty string if day, month and year is set\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n componentInstance.day = \"\";\n componentInstance.month = \"\";\n componentInstance.year = \"2000\";\n componentInstance.invalidDateText = \"\";\n\n const date = new Date(\n +componentInstance.year,\n +componentInstance.month - 1,\n +componentInstance.day\n );\n\n componentInstance.selectedDate = date;\n\n componentInstance.handleDateChange();\n\n expect(componentInstance.selectedDateInfoEl.textContent).toBe(\"\");\n });\n\n it(\"should set previousSelectedDate as selectedDate if not previously matching\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n componentInstance.day = \"01\";\n componentInstance.month = \"01\";\n componentInstance.year = \"2000\";\n componentInstance.invalidDateText = \"\";\n\n const date = new Date(\n +componentInstance.year,\n +componentInstance.month - 1,\n +componentInstance.day\n );\n\n componentInstance.selectedDate = date;\n\n componentInstance.handleDateChange();\n\n expect(componentInstance.previousSelectedDate).toBe(\n componentInstance.selectedDate\n );\n });\n it(\"should call updateInputValues if isDateSetFromKeyboardEvent is false\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n componentInstance.day = \"01\";\n componentInstance.month = \"01\";\n componentInstance.year = \"2000\";\n componentInstance.invalidDateText = \"\";\n\n const date = new Date(\n +componentInstance.year,\n +componentInstance.month - 1,\n +componentInstance.day\n );\n\n componentInstance.selectedDate = date;\n\n const spyUpdateInputValues = jest.spyOn(\n componentInstance,\n \"updateInputValues\"\n );\n\n componentInstance.isDateSetFromKeyboardEvent = false;\n\n componentInstance.handleDateChange();\n\n expect(spyUpdateInputValues).toBeCalled();\n });\n });\n\n describe(\"handlePaste\", () => {\n const clipboardEvent = (value: string, input?: HTMLInputElement) => {\n return {\n clipboardData: {\n getData: () => value,\n },\n target: input,\n preventDefault: (): null => null,\n };\n };\n\n it(\"should set day, month and year input values from paste event with 01/01/2000\", async () => {\n const { componentInstance, dayInput, monthInput, yearInput } =\n await createDateInputEnv();\n\n componentInstance.handlePaste(clipboardEvent(DATE_2000));\n\n expect(dayInput.value).toBe(\"01\");\n expect(monthInput.value).toBe(\"01\");\n expect(yearInput.value).toBe(\"2000\");\n });\n it(\"should set day, month and year input values from paste event with 01-01-2000\", async () => {\n const { componentInstance, dayInput, monthInput, yearInput } =\n await createDateInputEnv();\n\n componentInstance.handlePaste(clipboardEvent(\"01-01-2000\"));\n\n expect(dayInput.value).toBe(\"01\");\n expect(monthInput.value).toBe(\"01\");\n expect(yearInput.value).toBe(\"2000\");\n });\n\n it(\"should set day, month and year input values from paste event with 2000/01/01\", async () => {\n const { componentInstance, dayInput, monthInput, yearInput } =\n // eslint-disable-next-line sonarjs/no-duplicate-string\n await createDateInputEnv(\"YYYY/MM/DD\");\n\n componentInstance.handlePaste(clipboardEvent(\"2000/01/01\"));\n\n expect(dayInput.value).toBe(\"01\");\n expect(monthInput.value).toBe(\"01\");\n expect(yearInput.value).toBe(\"2000\");\n });\n\n it(`should set day, month and year input values from paste event with ${ZULU_TIME_2000}`, async () => {\n const { componentInstance, dayInput, monthInput, yearInput } =\n await createDateInputEnv(\"YYYY/MM/DD\");\n\n componentInstance.handlePaste(clipboardEvent(ZULU_TIME_2000)); // 2001-11-28T00:00:00.000Z\n\n expect(dayInput.value).toBe(\"28\");\n expect(monthInput.value).toBe(\"11\");\n expect(yearInput.value).toBe(\"2001\");\n });\n\n it(\"should call setInputValue if date valid\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n const spySetInputValue = jest.spyOn(componentInstance, \"setInputValue\");\n\n componentInstance.handlePaste(clipboardEvent(DATE_2000));\n\n expect(spySetInputValue).toBeCalled();\n });\n it(\"should not call setInputValue if date invalid\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n const spySetInputValue = jest.spyOn(componentInstance, \"setInputValue\");\n\n componentInstance.handlePaste(clipboardEvent(\"01:01:2000\"));\n\n expect(spySetInputValue).not.toBeCalled();\n });\n\n it(\"should call checkSingleCopiedValueIsValid if copied value is 1\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n const spyCheckSingleCopiedValueIsValid = jest.spyOn(\n componentInstance,\n \"checkSingleCopiedValueIsValid\"\n );\n\n componentInstance.handlePaste(clipboardEvent(\"1\", dayInput));\n\n expect(spyCheckSingleCopiedValueIsValid).toBeCalled();\n });\n it(\"should call checkSingleCopiedValueIsValid if copied value is 31\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n const spyCheckSingleCopiedValueIsValid = jest.spyOn(\n componentInstance,\n \"checkSingleCopiedValueIsValid\"\n );\n\n componentInstance.handlePaste(clipboardEvent(\"31\", dayInput));\n\n expect(spyCheckSingleCopiedValueIsValid).toBeCalled();\n });\n it(\"should call checkSingleCopiedValueIsValid if copied value is 2001\", async () => {\n const { componentInstance, yearInput } = await createDateInputEnv();\n\n const spyCheckSingleCopiedValueIsValid = jest.spyOn(\n componentInstance,\n \"checkSingleCopiedValueIsValid\"\n );\n\n componentInstance.handlePaste(clipboardEvent(\"2001\", yearInput));\n\n expect(spyCheckSingleCopiedValueIsValid).toBeCalled();\n });\n it(\"should not call checkSingleCopiedValueIsValid if copied value is :1\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n const spyCheckSingleCopiedValueIsValid = jest.spyOn(\n componentInstance,\n \"checkSingleCopiedValueIsValid\"\n );\n\n componentInstance.handlePaste(clipboardEvent(\":1\", dayInput));\n\n expect(spyCheckSingleCopiedValueIsValid).not.toBeCalled();\n });\n it(\"should not call checkSingleCopiedValueIsValid if copied value is :14\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n const spyCheckSingleCopiedValueIsValid = jest.spyOn(\n componentInstance,\n \"checkSingleCopiedValueIsValid\"\n );\n\n componentInstance.handlePaste(clipboardEvent(\":14\", dayInput));\n\n expect(spyCheckSingleCopiedValueIsValid).not.toBeCalled();\n });\n it(\"should not call checkSingleCopiedValueIsValid if copied value is -39\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n const spyCheckSingleCopiedValueIsValid = jest.spyOn(\n componentInstance,\n \"checkSingleCopiedValueIsValid\"\n );\n\n componentInstance.handlePaste(clipboardEvent(\"-39\", dayInput));\n\n expect(spyCheckSingleCopiedValueIsValid).not.toBeCalled();\n });\n it(\"should not call checkSingleCopiedValueIsValid if copied value is 5 digits\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n const spyCheckSingleCopiedValueIsValid = jest.spyOn(\n componentInstance,\n \"checkSingleCopiedValueIsValid\"\n );\n\n componentInstance.handlePaste(clipboardEvent(\"12345\", dayInput));\n\n expect(spyCheckSingleCopiedValueIsValid).not.toBeCalled();\n });\n\n it(\"should update invalidText and set validationStatus if invalid copied single value\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n componentInstance.handlePaste(clipboardEvent(\"-1\", dayInput));\n\n expect(componentInstance.invalidDateText).toBe(\n \"Please paste a valid day\"\n );\n expect(componentInstance.validationStatus).toBe(\"error\");\n });\n });\n\n describe(\"setValidationMessage\", () => {\n it(\"should set invalidDateText if date (day) is not valid\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n componentInstance.day = \"32\";\n componentInstance.month = \"1\";\n componentInstance.year = \"2000\";\n\n componentInstance.setValidationMessage();\n\n expect(componentInstance.invalidDateText).toBe(\n \"Please enter a valid date.\"\n );\n });\n it(\"should set invalidDateText if date (month) is not valid\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n componentInstance.day = \"1\";\n componentInstance.month = \"13\";\n componentInstance.year = \"2000\";\n\n componentInstance.setValidationMessage();\n\n expect(componentInstance.invalidDateText).toBe(\n \"Please enter a valid date.\"\n );\n });\n it(\"should set invalidDateText as empty string if date is not complete\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n componentInstance.day = \"\";\n componentInstance.month = \"1\";\n componentInstance.year = \"2000\";\n\n componentInstance.setValidationMessage();\n\n expect(componentInstance.invalidDateText).toBe(\"\");\n });\n it(\"should set invalidDateText to disablePastMessage if date is in past\", async () => {\n const { component, componentInstance } = await createDateInputEnv();\n\n component.disablePast = true;\n\n componentInstance.day = \"10\";\n componentInstance.month = \"8\";\n componentInstance.year = \"2022\";\n\n componentInstance.setValidationMessage();\n\n expect(componentInstance.invalidDateText).toBe(\n componentInstance.disablePastMessage\n );\n });\n it(\"should set invalidDateText to disableFutureMessage if date is in future\", async () => {\n const { component, componentInstance } = await createDateInputEnv();\n\n component.disableFuture = true;\n\n componentInstance.day = \"31\";\n componentInstance.month = \"8\";\n componentInstance.year = \"2024\";\n\n componentInstance.setValidationMessage();\n\n expect(componentInstance.invalidDateText).toBe(\n componentInstance.disableFutureMessage\n );\n });\n it(\"should set invalidDateText empty string if date valid\", async () => {\n const { component, componentInstance } = await createDateInputEnv();\n\n component.disableFuture = true;\n\n componentInstance.day = \"1\";\n componentInstance.month = \"1\";\n componentInstance.year = \"2000\";\n\n componentInstance.setValidationMessage();\n\n expect(componentInstance.invalidDateText).toBe(\"\");\n });\n it(\"should set invalidDateText to min message if date is before min date\", async () => {\n const { component, componentInstance } = await createDateInputEnv();\n\n component.min = \"10-07-2023\";\n\n componentInstance.day = \"1\";\n componentInstance.month = \"1\";\n componentInstance.year = \"2023\";\n\n componentInstance.setValidationMessage();\n\n expect(componentInstance.invalidDateText).toBe(\n \"Please enter a date after 10/07/2023.\"\n );\n\n component.dateFormat = \"MM/DD/YYYY\";\n\n componentInstance.setValidationMessage();\n\n expect(componentInstance.invalidDateText).toBe(\n \"Please enter a date after 07/10/2023.\"\n );\n\n component.dateFormat = \"YYYY/MM/DD\";\n\n componentInstance.setValidationMessage();\n\n expect(componentInstance.invalidDateText).toBe(\n \"Please enter a date after 2023/07/10.\"\n );\n });\n it(\"should set invalidDateText to disablePastMessage if both dateUntilNow and min prop have been set\", async () => {\n const { component, componentInstance } = await createDateInputEnv();\n\n component.disablePast = true;\n component.min = \"30-07-2024\";\n\n componentInstance.day = \"1\";\n componentInstance.month = \"1\";\n componentInstance.year = \"2000\";\n\n componentInstance.setValidationMessage();\n\n expect(componentInstance.invalidDateText).toBe(\n componentInstance.disablePastMessage\n );\n });\n it(\"should set invalidDateText to max message if date is after max date\", async () => {\n const { component, componentInstance } = await createDateInputEnv();\n\n component.max = \"10-07-2023\";\n\n componentInstance.day = \"1\";\n componentInstance.month = \"8\";\n componentInstance.year = \"2023\";\n\n componentInstance.setValidationMessage();\n\n expect(componentInstance.invalidDateText).toBe(\n \"Please enter a date before 10/07/2023.\"\n );\n\n component.dateFormat = \"MM/DD/YYYY\";\n\n componentInstance.setValidationMessage();\n\n expect(componentInstance.invalidDateText).toBe(\n \"Please enter a date before 07/10/2023.\"\n );\n\n component.dateFormat = \"YYYY/MM/DD\";\n\n componentInstance.setValidationMessage();\n\n expect(componentInstance.invalidDateText).toBe(\n \"Please enter a date before 2023/07/10.\"\n );\n });\n it(\"should set invalidDateText to disableFutureMessage if both dateFromNow and max prop have been set\", async () => {\n const { component, componentInstance } = await createDateInputEnv();\n\n component.disableFuture = true;\n component.max = \"30-07-2023\";\n\n componentInstance.day = \"1\";\n componentInstance.month = \"8\";\n componentInstance.year = \"2025\";\n\n componentInstance.setValidationMessage();\n\n expect(componentInstance.invalidDateText).toBe(\n componentInstance.disableFutureMessage\n );\n });\n it(\"should set invalidDateText to disableDays message if date is on a disabled weekday\", async () => {\n const { component, componentInstance } = await createDateInputEnv();\n\n component.disableDays = [0, 1];\n\n componentInstance.day = \"16\";\n componentInstance.month = \"7\";\n componentInstance.year = \"2023\";\n\n componentInstance.setValidationMessage();\n\n expect(componentInstance.invalidDateText).toBe(\n componentInstance.disableDaysMessage\n );\n });\n });\n\n describe(\"setDate\", () => {\n it(\"should set a date in Date format and call setValidationMessage\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n const spySetValidationMessage = jest.spyOn(\n componentInstance,\n \"setValidationMessage\"\n );\n\n componentInstance.setDate(new Date(500000000000));\n\n expect(spySetValidationMessage).toHaveBeenCalled();\n });\n\n it(\"should set a date in string format and call setValidationMessage\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n const spySetValidationMessage = jest.spyOn(\n componentInstance,\n \"setValidationMessage\"\n );\n\n componentInstance.setDate(DATE_1970);\n\n expect(componentInstance.year).toMatch(\"1970\");\n\n expect(spySetValidationMessage).toHaveBeenCalled();\n });\n it(\"should set the Zulu ISOString into the correct date variables\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n componentInstance.setDate(ZULU_TIME_2000); // 2001-11-28T00:00:00.000Z\n\n expect(componentInstance.day).toMatch(\"28\");\n expect(componentInstance.month).toMatch(\"11\");\n expect(componentInstance.year).toMatch(\"2001\");\n });\n it(\"should set inputs to null if date is null\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n componentInstance.setDate(null);\n\n expect(componentInstance.day).toBeNull();\n expect(componentInstance.month).toBeNull();\n expect(componentInstance.year).toBeNull();\n });\n });\n\n describe(\"autocompleteInput\", () => {\n it(\"should call autocompleteYear method if input is the year\", async () => {\n const { componentInstance, yearInput } = await createDateInputEnv();\n\n const spyAutocompleteYear = jest.spyOn(\n componentInstance,\n \"autocompleteYear\"\n );\n\n yearInput.value = \"2000\";\n\n componentInstance.autocompleteInput(yearInput);\n\n expect(spyAutocompleteYear).toBeCalled();\n });\n it(\"should set day to 01 if 0 has been entered as an input value\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n dayInput.value = \"0\";\n\n componentInstance.autocompleteInput(dayInput);\n\n expect(dayInput.value).toBe(\"01\");\n });\n it(\"should set day to 05 if 5 has been entered as an input value\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n dayInput.value = \"5\";\n\n componentInstance.autocompleteInput(dayInput);\n\n expect(dayInput.value).toBe(\"05\");\n });\n it(\"should set month to 01 if 0 has been entered as an input value\", async () => {\n const { componentInstance, monthInput } = await createDateInputEnv();\n\n monthInput.value = \"0\";\n\n componentInstance.autocompleteInput(monthInput);\n\n expect(monthInput.value).toBe(\"01\");\n });\n it(\"should set month to 05 if 5 has been entered as an input value\", async () => {\n const { componentInstance, monthInput } = await createDateInputEnv();\n\n monthInput.value = \"5\";\n\n componentInstance.autocompleteInput(monthInput);\n\n expect(monthInput.value).toBe(\"05\");\n });\n it(\"should call setInputValue method\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n const spySetInputValue = jest.spyOn(componentInstance, \"setInputValue\");\n\n dayInput.value = \"0\";\n\n componentInstance.autocompleteInput(dayInput);\n\n expect(spySetInputValue).toBeCalled();\n });\n });\n\n describe(\"autocompleteYear\", () => {\n it(\"should set the year input value to 2001 if 1 is inputted as year value\", async () => {\n const { componentInstance, yearInput } = await createDateInputEnv();\n\n yearInput.value = \"1\";\n\n componentInstance.autocompleteYear();\n\n expect(yearInput.value).toBe(\"2001\");\n });\n it(\"should set the year input value to 2010\", async () => {\n const { componentInstance, yearInput } = await createDateInputEnv();\n\n yearInput.value = \"10\";\n\n componentInstance.autocompleteYear();\n\n expect(yearInput.value).toBe(\"2010\");\n });\n it(\"should set the year input value to 2100\", async () => {\n const { componentInstance, yearInput } = await createDateInputEnv();\n\n yearInput.value = \"100\";\n\n componentInstance.autocompleteYear();\n\n expect(yearInput.value).toBe(\"2100\");\n });\n it(\"should not call setInputValue method if no year has been set\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n const spySetInputValue = jest.spyOn(componentInstance, \"setInputValue\");\n\n componentInstance.autocompleteYear();\n\n expect(spySetInputValue).not.toBeCalled();\n });\n });\n\n describe(\"handleFormReset\", () => {\n it(\"should call the setDate, setValidationMessage & handleDateChange event handlers\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n const spySetDate = jest.spyOn(componentInstance, \"setDate\");\n const spySetValidationMessage = jest.spyOn(\n componentInstance,\n \"setValidationMessage\"\n );\n const spyHandleDateChange = jest.spyOn(\n componentInstance,\n \"handleDateChange\"\n );\n\n componentInstance.handleFormReset();\n\n expect(spySetDate).toHaveBeenCalled();\n expect(spySetValidationMessage).toHaveBeenCalled();\n expect(spyHandleDateChange).toHaveBeenCalled();\n });\n });\n\n describe(\"convertToDate\", () => {\n it(\"should return null if either the year, month or day strings are empty\", async () => {\n const { componentInstance } = await createDateInputEnv();\n expect(componentInstance.convertToDate(\"\", \"03\", \"09\")).toBeNull();\n expect(componentInstance.convertToDate(\"1970\", \"\", \"09\")).toBeNull();\n expect(componentInstance.convertToDate(\"2000\", \"12\", \"\")).toBeNull();\n });\n\n it(\"should return the Date format of a date string\", async () => {\n const { componentInstance } = await createDateInputEnv();\n expect(componentInstance.convertToDate(\"2000\", \"01\", \"01\")).toEqual(\n new Date(+\"2000\", +\"01\" - 1, +\"01\")\n );\n });\n });\n\n describe(\"preventInput\", () => {\n // eslint-disable-next-line sonarjs/no-duplicate-string\n it(\"should return undefined if isInputPrevented is false\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n const getSelectedTextMock = jest.fn().mockReturnValue(false);\n window.getSelection = jest\n .fn()\n .mockReturnValue({ toString: getSelectedTextMock });\n\n let keyboardEvent = {\n key: \"e\",\n preventDefault: jest.fn(),\n };\n\n componentInstance.preventInput(keyboardEvent, true);\n expect(keyboardEvent.preventDefault).toHaveBeenCalled();\n\n keyboardEvent = {\n key: \".\",\n preventDefault: jest.fn(),\n };\n\n componentInstance.preventInput(keyboardEvent, true);\n expect(keyboardEvent.preventDefault).toHaveBeenCalled();\n\n keyboardEvent = {\n key: HYPHEN,\n preventDefault: jest.fn(),\n };\n\n componentInstance.preventInput(keyboardEvent, true);\n expect(keyboardEvent.preventDefault).toHaveBeenCalled();\n });\n\n it('should return undefined if isInputPrevented is false or if a key other than \"e\", \".\" or \"-\" is pressed', async () => {\n const { componentInstance, component } = await createDateInputEnv();\n\n const getSelectedTextMock = jest.fn().mockReturnValue(false);\n window.getSelection = jest\n .fn()\n .mockReturnValue({ toString: getSelectedTextMock });\n\n let event = new KeyboardEvent(\"keydown\", { key: HYPHEN });\n component?.dispatchEvent(event);\n\n expect(componentInstance.preventInput(event, false)).toBeUndefined();\n\n event = new KeyboardEvent(\"keydown\", { key: \"a\" });\n component?.dispatchEvent(event);\n\n expect(componentInstance.preventInput(event, true)).toBeUndefined();\n });\n });\n\n describe(\"handleHostBlur\", () => {\n // eslint-disable-next-line sonarjs/no-duplicate-string\n it(\"should return undefined if isInputPrevented is false\", async () => {\n const { componentInstance, component } = await createDateInputEnv();\n const eventSpy = jest.fn();\n component?.addEventListener(\"icBlur\", eventSpy);\n const value = new Date(500000000000);\n componentInstance.handleHostBlur();\n\n expect(eventSpy).toHaveBeenCalledWith(\n expect.objectContaining({ detail: expect.objectContaining(value) })\n );\n });\n });\n\n describe(\"handleHostFocus\", () => {\n // eslint-disable-next-line sonarjs/no-duplicate-string\n it(\"should return undefined if isInputPrevented is false\", async () => {\n const { componentInstance, component } = await createDateInputEnv();\n const eventSpy = jest.fn();\n component?.addEventListener(\"icFocus\", eventSpy);\n const value = new Date(500000000000);\n componentInstance.handleHostFocus();\n\n expect(eventSpy).toHaveBeenCalledWith(\n expect.objectContaining({ detail: expect.objectContaining(value) })\n );\n });\n });\n\n describe(\"handleClear\", () => {\n it(\"should clear the inputs\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n componentInstance.day = \"1\";\n componentInstance.month = \"1\";\n componentInstance.year = \"2000\";\n\n componentInstance.handleClear();\n\n expect(componentInstance.day).toMatch(\"\");\n expect(componentInstance.month).toMatch(\"\");\n expect(componentInstance.year).toMatch(\"\");\n });\n });\n\n describe(\"handleCalendarOpen\", () => {\n it(\"should emit calendarButtonClicked with 1st January 2000 as Date object if calendar button is clicked\", async () => {\n const { component, componentInstance } = await createDateInputEnv();\n\n const eventSpy = jest.fn();\n\n componentInstance.day = \"01\";\n componentInstance.month = \"01\";\n componentInstance.year = \"2000\";\n\n const date = new Date(\n +componentInstance.year,\n +componentInstance.month - 1,\n +componentInstance.day\n );\n\n componentInstance.selectedDate = date;\n\n component?.addEventListener(\"calendarButtonClicked\", eventSpy);\n\n componentInstance.handleCalendarOpen({\n stopImmediatePropagation: jest.fn(),\n });\n\n expect(eventSpy).toBeCalledWith(\n expect.objectContaining({\n detail: expect.objectContaining({\n value: date,\n }),\n })\n );\n });\n });\n\n describe(\"notifyScreenReader\", () => {\n it(\"should call notifyScreenReaderArrowKeys if event isKeyboardOrEvent is true\", async () => {\n const { dayInput, componentInstance } = await createDateInputEnv();\n const spyNotifyScreenReaderArrowKeys = jest.spyOn(\n componentInstance,\n \"notifyScreenReaderArrowKeys\"\n );\n\n componentInstance.isKeyboardOrEvent = jest\n .fn()\n .mockReturnValueOnce(() => true);\n\n componentInstance.notifyScreenReader(dayInput, keyboardEvent(\"ArrowUp\"));\n\n expect(spyNotifyScreenReaderArrowKeys).toBeCalled();\n });\n });\n\n describe(\"componentWillLoad\", () => {\n it(\"should set helperText to default value if not set\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n componentInstance.helperText = \"\";\n\n componentInstance.componentWillLoad();\n\n expect(componentInstance.helperText).toBe(\n \"Use format \" + componentInstance.dateFormat\n );\n });\n\n it(\"should call setDate when value is set\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n const spySetDate = jest.spyOn(componentInstance, \"setDate\");\n\n componentInstance.value = DATE_2000;\n\n componentInstance.componentWillLoad();\n\n expect(spySetDate).toBeCalled();\n });\n });\n\n describe(\"componentWillUpdate\", () => {\n it(\"should call setDate if isDateSetFromKeyboardEvent is set to false\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n componentInstance.isDateSetFromKeyboardEvent = false;\n\n const spySetDate = jest.spyOn(componentInstance, \"setDate\");\n\n componentInstance.componentWillUpdate();\n\n expect(spySetDate).toBeCalled();\n });\n\n it(\"should call setValidationMessage and handleDateChange\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n componentInstance.isDateSetFromKeyboardEvent = false;\n\n const spySetValidationMessage = jest.spyOn(\n componentInstance,\n \"setValidationMessage\"\n );\n const spyHandleDateChange = jest.spyOn(\n componentInstance,\n \"handleDateChange\"\n );\n\n componentInstance.componentWillUpdate();\n\n expect(spySetValidationMessage).toBeCalled();\n expect(spyHandleDateChange).toBeCalled();\n });\n\n it(\"should set isDateSetFromKeyboardEvent to false\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n componentInstance.isDateSetFromKeyboardEvent = true;\n\n componentInstance.componentWillUpdate();\n\n expect(componentInstance.isDateSetFromKeyboardEvent).toBeFalsy();\n });\n });\n\n describe(\"getArialLabel\", () => {\n it(\"should get aria-label day from input\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n const ariaLabel = componentInstance.getAriaLabel(dayInput);\n\n expect(ariaLabel).toBe(\"day\");\n });\n });\n\n describe(\"setAriaInvalid\", () => {\n it(\"should set aria-invalid on day input if validDay is invalid\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n const validDay = false;\n const validMonth = true;\n const validDate = true;\n const disanbledDate = false;\n\n componentInstance.setAriaInvalid(\n validDay,\n validMonth,\n validDate,\n disanbledDate\n );\n\n expect(dayInput).toHaveAttribute(ARIA_INVALID);\n expect(dayInput.getAttribute(ARIA_INVALID)).toBe(\"true\");\n });\n\n it(\"should set aria-invalid on month input if validMonth is invalid\", async () => {\n const { componentInstance, monthInput } = await createDateInputEnv();\n\n const validDay = true;\n const validMonth = false;\n const validDate = true;\n const disanbledDate = false;\n\n componentInstance.setAriaInvalid(\n validDay,\n validMonth,\n validDate,\n disanbledDate\n );\n\n expect(monthInput).toHaveAttribute(ARIA_INVALID);\n expect(monthInput.getAttribute(ARIA_INVALID)).toBe(\"true\");\n });\n });\n\n describe(\"getDate()\", () => {\n it(\"should return null from getDate if no value is entered\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n componentInstance.selectedDate = null;\n\n const dateValue = await componentInstance.getDate();\n\n expect(dateValue).toBeNull();\n });\n\n it(\"should return partial date due to date object if incomplete date\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n const date = new Date(\"37/01\");\n\n componentInstance.selectedDate = date;\n\n const dateValue = await componentInstance.getDate();\n\n expect(dateValue).toBe(date);\n });\n\n it(\"should return invalid date if invalid date\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n const date = new Date(\"37/99/99\");\n\n componentInstance.selectedDate = date;\n\n const dateValue = await componentInstance.getDate();\n\n expect(dateValue).toBeInstanceOf(Date);\n expect(dateValue.toString()).toBe(\"Invalid Date\");\n });\n\n it(\"should return valid date\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n const date = new Date(\"01/01/2001\");\n\n componentInstance.selectedDate = date;\n\n const dateValue = await componentInstance.getDate();\n\n expect(dateValue).toBe(date);\n });\n });\n describe(\"checkSingleCopiedValueIsValid\", () => {\n it(\"should return true if dayInput pasted value is 1\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n const isValid = componentInstance.checkSingleCopiedValueIsValid(\n dayInput,\n \"1\"\n );\n\n expect(isValid).toBeTruthy();\n });\n it(\"should return true if dayInput pasted value is 31\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n const isValid = componentInstance.checkSingleCopiedValueIsValid(\n dayInput,\n \"31\"\n );\n\n expect(isValid).toBeTruthy();\n });\n it(\"should return true if dayInput pasted value is 24\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n const isValid = componentInstance.checkSingleCopiedValueIsValid(\n dayInput,\n \"24\"\n );\n\n expect(isValid).toBeTruthy();\n });\n it(\"should return false if dayInput pasted value is 0\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n const isValid = componentInstance.checkSingleCopiedValueIsValid(\n dayInput,\n \"0\"\n );\n\n expect(isValid).toBeFalsy();\n });\n it(\"should return false if dayInput pasted value is above 31\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n\n const isValid = componentInstance.checkSingleCopiedValueIsValid(\n dayInput,\n \"32\"\n );\n\n expect(isValid).toBeFalsy();\n });\n it(\"should return false if monthInput pasted value is 0\", async () => {\n const { componentInstance, monthInput } = await createDateInputEnv();\n\n const isValid = componentInstance.checkSingleCopiedValueIsValid(\n monthInput,\n \"0\"\n );\n\n expect(isValid).toBeFalsy();\n });\n it(\"should return true if monthInput pasted value is 1\", async () => {\n const { componentInstance, monthInput } = await createDateInputEnv();\n\n const isValid = componentInstance.checkSingleCopiedValueIsValid(\n monthInput,\n \"1\"\n );\n\n expect(isValid).toBeTruthy();\n });\n it(\"should return true if monthInput pasted value is 12\", async () => {\n const { componentInstance, monthInput } = await createDateInputEnv();\n\n const isValid = componentInstance.checkSingleCopiedValueIsValid(\n monthInput,\n \"12\"\n );\n\n expect(isValid).toBeTruthy();\n });\n it(\"should return false if monthInput pasted value is 13\", async () => {\n const { componentInstance, monthInput } = await createDateInputEnv();\n\n const isValid = componentInstance.checkSingleCopiedValueIsValid(\n monthInput,\n \"13\"\n );\n\n expect(isValid).toBeFalsy();\n });\n it(\"should return true if yearMonth pasted value passed in\", async () => {\n const { componentInstance, yearInput } = await createDateInputEnv();\n\n const isValid = componentInstance.checkSingleCopiedValueIsValid(\n yearInput,\n \"11\"\n );\n\n expect(isValid).toBeTruthy();\n });\n it(\"should return false if undefined input with pasted value passed in\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n const isValid = componentInstance.checkSingleCopiedValueIsValid(\n undefined,\n \"11\"\n );\n\n expect(isValid).toBeFalsy();\n });\n });\n describe(\"setInputPasteValue\", () => {\n it(\"should set CSS class and paste value into input\", async () => {\n const { componentInstance, dayInput } = await createDateInputEnv();\n const VALUE = \"11\";\n\n componentInstance.setInputPasteValue(dayInput, VALUE);\n\n expect(dayInput.value).toBe(VALUE);\n expect(dayInput).toHaveClass(\"fit-to-value\");\n });\n });\n\n describe(\"isPastedStringDateValid\", () => {\n it(\"should return true if 1/1/2001 is value\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n expect(\n componentInstance.isPastedStringDateValid(\"1/1/2001\")\n ).toBeTruthy();\n });\n it(\"should return true if 1-1-2001 is value\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n expect(\n componentInstance.isPastedStringDateValid(\"1-1-2001\")\n ).toBeTruthy();\n });\n it(\"should return true if 1.1.2001 is value\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n expect(\n componentInstance.isPastedStringDateValid(\"1.1.2001\")\n ).toBeTruthy();\n });\n it(\"should return true if abc is value\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n expect(componentInstance.isPastedStringDateValid(\"abc\")).toBeFalsy();\n });\n it(\"should return true if 123456789 is value\", async () => {\n const { componentInstance } = await createDateInputEnv();\n\n expect(\n componentInstance.isPastedStringDateValid(\"123456789\")\n ).toBeFalsy();\n });\n });\n\n describe(\"setDisableDays\", () => {\n it(\"should test setting disableDays \", async () => {\n const { component, componentInstance } = await createDateInputEnv();\n await component.setDisableDays([0, 1]);\n\n expect(componentInstance.disableDays).toEqual([0, 1]);\n });\n });\n});\n"]}
@@ -1,42 +0,0 @@
1
- import { newSpecPage } from "@stencil/core/testing";
2
- import { DateInput } from "../../ic-date-input";
3
- import { h } from "@stencil/core";
4
- import { IcInputLabel } from "@ukic/web-components/dist/components/ic-input-label";
5
- export const createDateInput = (format = "DD/MM/YYYY") => newSpecPage({
6
- components: [DateInput, IcInputLabel],
7
- template: () => (h("ic-date-input", { label: "Test label", "date-format": format })),
8
- });
9
- export const handleEvent = (input) => {
10
- return {
11
- inputType: "insertText",
12
- target: input,
13
- data: input.value,
14
- };
15
- };
16
- export const keyboardEvent = (keyboardKey) => {
17
- return {
18
- key: `${keyboardKey}`,
19
- preventDefault: () => null,
20
- };
21
- };
22
- export const createDateInputEnv = async (format) => {
23
- const page = await createDateInput(format);
24
- const component = page.root;
25
- const componentInstance = page.rootInstance;
26
- const dayInput = component.shadowRoot.querySelector(".day-input");
27
- const monthInput = component.shadowRoot.querySelector(".month-input");
28
- const yearInput = component.shadowRoot.querySelector(".year-input");
29
- const mockSelect = jest.fn();
30
- dayInput.select = mockSelect;
31
- monthInput.select = mockSelect;
32
- yearInput.select = mockSelect;
33
- return {
34
- page,
35
- component,
36
- componentInstance,
37
- dayInput,
38
- monthInput,
39
- yearInput,
40
- };
41
- };
42
- //# sourceMappingURL=ic-date-input.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ic-date-input.js","sourceRoot":"","sources":["../../../../../src/components/ic-date-input/test/helpers/ic-date-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,qDAAqD,CAAC;AAsBnF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,MAAM,GAAG,YAAY,EAAqB,EAAE,CAC1E,WAAW,CAAC;IACV,UAAU,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC;IACrC,QAAQ,EAAE,GAAG,EAAE,CAAC,CACd,qBAAe,KAAK,EAAC,YAAY,iBAAc,MAAM,GAAkB,CACxE;CACF,CAAC,CAAC;AAEL,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,KAAuB,EAAa,EAAE;IAChE,OAAO;QACL,SAAS,EAAE,YAAY;QACvB,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,KAAK,CAAC,KAAK;KAClB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,WAAmB,EAAiB,EAAE;IAClE,OAAO;QACL,GAAG,EAAE,GAAG,WAAW,EAAE;QACrB,cAAc,EAAE,GAAS,EAAE,CAAC,IAAI;KACjC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAG,KAAK,EACrC,MAAe,EACS,EAAE;IAC1B,MAAM,IAAI,GAAG,MAAM,eAAe,CAAC,MAAM,CAAC,CAAC;IAE3C,MAAM,SAAS,GAAG,IAAI,CAAC,IAA8B,CAAC;IACtD,MAAM,iBAAiB,GAAG,IAAI,CAAC,YAAY,CAAC;IAE5C,MAAM,QAAQ,GAAG,SAAS,CAAC,UAAU,CAAC,aAAa,CACjD,YAAY,CACO,CAAC;IACtB,MAAM,UAAU,GAAG,SAAS,CAAC,UAAU,CAAC,aAAa,CACnD,cAAc,CACK,CAAC;IACtB,MAAM,SAAS,GAAG,SAAS,CAAC,UAAU,CAAC,aAAa,CAClD,aAAa,CACM,CAAC;IAEtB,MAAM,UAAU,GAAG,IAAI,CAAC,EAAE,EAAE,CAAC;IAE7B,QAAQ,CAAC,MAAM,GAAG,UAAU,CAAC;IAC7B,UAAU,CAAC,MAAM,GAAG,UAAU,CAAC;IAC/B,SAAS,CAAC,MAAM,GAAG,UAAU,CAAC;IAE9B,OAAO;QACL,IAAI;QACJ,SAAS;QACT,iBAAiB;QACjB,QAAQ;QACR,UAAU;QACV,SAAS;KACV,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { SpecPage, newSpecPage } from \"@stencil/core/testing\";\nimport { DateInput } from \"../../ic-date-input\";\nimport { h } from \"@stencil/core\";\nimport { IcInputLabel } from \"@ukic/web-components/dist/components/ic-input-label\";\n\ninterface EventType {\n inputType: string;\n target: HTMLInputElement;\n data: string;\n}\n\ninterface KeyboardEvent {\n key: string;\n preventDefault: () => void;\n}\n\ninterface DateInputType {\n page: SpecPage;\n component: HTMLIcDateInputElement;\n componentInstance: any;\n dayInput: HTMLInputElement;\n monthInput: HTMLInputElement;\n yearInput: HTMLInputElement;\n}\n\nexport const createDateInput = (format = \"DD/MM/YYYY\"): Promise<SpecPage> =>\n newSpecPage({\n components: [DateInput, IcInputLabel],\n template: () => (\n <ic-date-input label=\"Test label\" date-format={format}></ic-date-input>\n ),\n });\n\nexport const handleEvent = (input: HTMLInputElement): EventType => {\n return {\n inputType: \"insertText\",\n target: input,\n data: input.value,\n };\n};\n\nexport const keyboardEvent = (keyboardKey: string): KeyboardEvent => {\n return {\n key: `${keyboardKey}`,\n preventDefault: (): void => null,\n };\n};\n\nexport const createDateInputEnv = async (\n format?: string\n): Promise<DateInputType> => {\n const page = await createDateInput(format);\n\n const component = page.root as HTMLIcDateInputElement;\n const componentInstance = page.rootInstance;\n\n const dayInput = component.shadowRoot.querySelector(\n \".day-input\"\n ) as HTMLInputElement;\n const monthInput = component.shadowRoot.querySelector(\n \".month-input\"\n ) as HTMLInputElement;\n const yearInput = component.shadowRoot.querySelector(\n \".year-input\"\n ) as HTMLInputElement;\n\n const mockSelect = jest.fn();\n\n dayInput.select = mockSelect;\n monthInput.select = mockSelect;\n yearInput.select = mockSelect;\n\n return {\n page,\n component,\n componentInstance,\n dayInput,\n monthInput,\n yearInput,\n };\n};\n"]}