@designsystem-se/af 34.0.4-beta.3 → 34.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1483) hide show
  1. package/components/digi-bar-chart.js +8 -8
  2. package/components/digi-calendar-datepicker.js +37 -22
  3. package/components/digi-calendar-week-view.js +8 -8
  4. package/components/digi-calendar.js +1 -1
  5. package/components/digi-card.js +2 -2
  6. package/components/digi-chart-line.js +6 -6
  7. package/components/digi-code-block.js +1 -1
  8. package/components/digi-code-example.js +10 -10
  9. package/components/digi-code.js +1 -1
  10. package/components/digi-context-menu.js +4 -4
  11. package/components/digi-dialog.js +6 -6
  12. package/components/digi-expandable-accordion.js +5 -5
  13. package/components/digi-expandable-faq-item.js +6 -6
  14. package/components/digi-expandable-faq.js +2 -2
  15. package/components/digi-footer-card.js +1 -1
  16. package/components/digi-footer.js +4 -4
  17. package/components/digi-form-category-filter.js +4 -4
  18. package/components/digi-form-checkbox.js +1 -1
  19. package/components/digi-form-error-list.js +14 -14
  20. package/components/digi-form-fieldset.js +1 -1
  21. package/components/digi-form-file-upload.js +18 -18
  22. package/components/digi-form-filter.js +8 -8
  23. package/components/digi-form-input-search.js +9 -9
  24. package/components/digi-form-input.js +1 -1
  25. package/components/digi-form-label.js +1 -1
  26. package/components/digi-form-radiobutton.js +1 -1
  27. package/components/digi-form-radiogroup.js +1 -1
  28. package/components/digi-form-receipt.js +3 -3
  29. package/components/digi-form-select-filter.js +17 -17
  30. package/components/digi-form-select.js +1 -1
  31. package/components/digi-form-textarea.js +8 -8
  32. package/components/digi-form-validation-message.js +1 -1
  33. package/components/digi-header-avatar.js +3 -3
  34. package/components/digi-header-navigation-item.js +1 -1
  35. package/components/digi-header-navigation.js +7 -7
  36. package/components/digi-header-notification.js +2 -2
  37. package/components/digi-header.js +8 -8
  38. package/components/digi-icon-accessibility-deaf.js +2 -2
  39. package/components/digi-icon-accessibility-universal.js +2 -2
  40. package/components/digi-icon-apple.js +2 -2
  41. package/components/digi-icon-archive-outline.js +2 -2
  42. package/components/digi-icon-archive.js +2 -2
  43. package/components/digi-icon-arrow-back.js +2 -2
  44. package/components/digi-icon-arrow-down.js +2 -2
  45. package/components/digi-icon-arrow-left.js +2 -2
  46. package/components/digi-icon-arrow-right.js +1 -1
  47. package/components/digi-icon-arrow-sign-in.js +2 -2
  48. package/components/digi-icon-arrow-sign-out.js +2 -2
  49. package/components/digi-icon-arrow-up.js +2 -2
  50. package/components/digi-icon-at.js +2 -2
  51. package/components/digi-icon-bars.js +1 -1
  52. package/components/digi-icon-bell-filled.js +2 -2
  53. package/components/digi-icon-bell.js +2 -2
  54. package/components/digi-icon-book.js +2 -2
  55. package/components/digi-icon-bookmark-outline.js +2 -2
  56. package/components/digi-icon-bookmark-solid.js +2 -2
  57. package/components/digi-icon-bubble-ellipsis.js +2 -2
  58. package/components/digi-icon-bubble.js +2 -2
  59. package/components/digi-icon-building-outline.js +2 -2
  60. package/components/digi-icon-building-solid.js +2 -2
  61. package/components/digi-icon-bullseye.js +2 -2
  62. package/components/digi-icon-calculator-solid.js +2 -2
  63. package/components/digi-icon-calendar-alt-alert.js +2 -2
  64. package/components/digi-icon-calendar-alt.js +1 -1
  65. package/components/digi-icon-calendar.js +2 -2
  66. package/components/digi-icon-caret-circle-right.js +2 -2
  67. package/components/digi-icon-caret-down.js +1 -1
  68. package/components/digi-icon-caret-left.js +2 -2
  69. package/components/digi-icon-caret-right.js +2 -2
  70. package/components/digi-icon-caret-up.js +1 -1
  71. package/components/digi-icon-chart.js +1 -1
  72. package/components/digi-icon-chat.js +2 -2
  73. package/components/digi-icon-check-circle-reg-alt.js +2 -2
  74. package/components/digi-icon-check-circle-solid.js +2 -2
  75. package/components/digi-icon-check.js +1 -1
  76. package/components/digi-icon-checklist.js +2 -2
  77. package/components/digi-icon-chevron-down.js +1 -1
  78. package/components/digi-icon-chevron-left.js +1 -1
  79. package/components/digi-icon-chevron-right.js +1 -1
  80. package/components/digi-icon-chevron-up.js +1 -1
  81. package/components/digi-icon-clock.js +2 -2
  82. package/components/digi-icon-communication-play-solid.js +2 -2
  83. package/components/digi-icon-compress-alt.js +2 -2
  84. package/components/digi-icon-comunication-case.js +2 -2
  85. package/components/digi-icon-comunication-flag.js +2 -2
  86. package/components/digi-icon-comunication-graduate.js +2 -2
  87. package/components/digi-icon-comunication-play.js +2 -2
  88. package/components/digi-icon-cooperation.js +2 -2
  89. package/components/digi-icon-copy.js +1 -1
  90. package/components/digi-icon-danger-outline.js +2 -2
  91. package/components/digi-icon-download.js +2 -2
  92. package/components/digi-icon-dxa.js +2 -2
  93. package/components/digi-icon-edit.js +2 -2
  94. package/components/digi-icon-ellipsis.js +2 -2
  95. package/components/digi-icon-envelope-filled.js +2 -2
  96. package/components/digi-icon-envelope.js +2 -2
  97. package/components/digi-icon-exclamation-circle-filled.js +2 -2
  98. package/components/digi-icon-exclamation-triangle-filled.js +2 -2
  99. package/components/digi-icon-exclamation-triangle-warning.js +2 -2
  100. package/components/digi-icon-exclamation-triangle.js +2 -2
  101. package/components/digi-icon-expand-alt.js +2 -2
  102. package/components/digi-icon-external-link-alt.js +1 -1
  103. package/components/digi-icon-eye-slash.js +2 -2
  104. package/components/digi-icon-eye.js +2 -2
  105. package/components/digi-icon-facebook-square.js +2 -2
  106. package/components/digi-icon-file-add.js +1 -1
  107. package/components/digi-icon-file-document.js +2 -2
  108. package/components/digi-icon-file-excel.js +2 -2
  109. package/components/digi-icon-file-export.js +1 -1
  110. package/components/digi-icon-file-governing.js +2 -2
  111. package/components/digi-icon-file-pdf.js +2 -2
  112. package/components/digi-icon-file-powerpoint.js +2 -2
  113. package/components/digi-icon-file-remove.js +1 -1
  114. package/components/digi-icon-file-word.js +2 -2
  115. package/components/digi-icon-film.js +2 -2
  116. package/components/digi-icon-filter.js +2 -2
  117. package/components/digi-icon-folder-add.js +1 -1
  118. package/components/digi-icon-folder-directory.js +1 -1
  119. package/components/digi-icon-folder-open.js +1 -1
  120. package/components/digi-icon-folder.js +1 -1
  121. package/components/digi-icon-globe-filled.js +2 -2
  122. package/components/digi-icon-globe.js +2 -2
  123. package/components/digi-icon-headphones.js +2 -2
  124. package/components/digi-icon-heart-solid.js +2 -2
  125. package/components/digi-icon-heart.js +2 -2
  126. package/components/digi-icon-history.js +2 -2
  127. package/components/digi-icon-home.js +2 -2
  128. package/components/digi-icon-image.js +2 -2
  129. package/components/digi-icon-info-circle-solid.js +2 -2
  130. package/components/digi-icon-input-select-marker.js +1 -1
  131. package/components/digi-icon-instagram.js +2 -2
  132. package/components/digi-icon-job-suggestion.js +2 -2
  133. package/components/digi-icon-language-outline.js +1 -1
  134. package/components/digi-icon-language.js +2 -2
  135. package/components/digi-icon-laptop-phone.js +2 -2
  136. package/components/digi-icon-lattlast.js +2 -2
  137. package/components/digi-icon-licence-bus.js +2 -2
  138. package/components/digi-icon-licence-car.js +2 -2
  139. package/components/digi-icon-licence-motorcycle.js +2 -2
  140. package/components/digi-icon-licence-truck.js +2 -2
  141. package/components/digi-icon-lightbulb.js +2 -2
  142. package/components/digi-icon-linkedin-in.js +2 -2
  143. package/components/digi-icon-list-ul.js +1 -1
  144. package/components/digi-icon-lock.js +2 -2
  145. package/components/digi-icon-marker-filled.js +2 -2
  146. package/components/digi-icon-marker.js +2 -2
  147. package/components/digi-icon-media-course.js +2 -2
  148. package/components/digi-icon-media-podcast.js +2 -2
  149. package/components/digi-icon-microphone-off.js +2 -2
  150. package/components/digi-icon-microphone.js +2 -2
  151. package/components/digi-icon-minus.js +1 -1
  152. package/components/digi-icon-move.js +2 -2
  153. package/components/digi-icon-news.js +1 -1
  154. package/components/digi-icon-notification-error.js +1 -1
  155. package/components/digi-icon-notification-info.js +1 -1
  156. package/components/digi-icon-notification-succes.js +1 -1
  157. package/components/digi-icon-notification-warning.js +1 -1
  158. package/components/digi-icon-online-computervideo.js +1 -1
  159. package/components/digi-icon-online-interview.js +2 -2
  160. package/components/digi-icon-online-meeting.js +2 -2
  161. package/components/digi-icon-online-task.js +2 -2
  162. package/components/digi-icon-online-video.js +1 -1
  163. package/components/digi-icon-open-source.js +2 -2
  164. package/components/digi-icon-palette.js +2 -2
  165. package/components/digi-icon-paperclip.js +1 -1
  166. package/components/digi-icon-paste.js +1 -1
  167. package/components/digi-icon-pen.js +2 -2
  168. package/components/digi-icon-phone-hangup.js +2 -2
  169. package/components/digi-icon-phone.js +2 -2
  170. package/components/digi-icon-plus.js +1 -1
  171. package/components/digi-icon-pod.js +1 -1
  172. package/components/digi-icon-print.js +2 -2
  173. package/components/digi-icon-read.js +2 -2
  174. package/components/digi-icon-redo.js +2 -2
  175. package/components/digi-icon-scale.js +1 -1
  176. package/components/digi-icon-screensharing-off.js +2 -2
  177. package/components/digi-icon-screensharing.js +2 -2
  178. package/components/digi-icon-search.js +1 -1
  179. package/components/digi-icon-send-outline.js +2 -2
  180. package/components/digi-icon-send-solid.js +2 -2
  181. package/components/digi-icon-settings.js +2 -2
  182. package/components/digi-icon-share-alt.js +2 -2
  183. package/components/digi-icon-share-chain.js +2 -2
  184. package/components/digi-icon-sign.js +1 -1
  185. package/components/digi-icon-sliders-h.js +2 -2
  186. package/components/digi-icon-sokkandidat.js +2 -2
  187. package/components/digi-icon-sort-down.js +2 -2
  188. package/components/digi-icon-sort-up.js +2 -2
  189. package/components/digi-icon-sort.js +2 -2
  190. package/components/digi-icon-spinner.js +1 -1
  191. package/components/digi-icon-star-reg.js +2 -2
  192. package/components/digi-icon-star.js +2 -2
  193. package/components/digi-icon-suitcase-outline.js +2 -2
  194. package/components/digi-icon-suitcase-solid.js +2 -2
  195. package/components/digi-icon-system-assistance.js +2 -2
  196. package/components/digi-icon-table-column.js +2 -2
  197. package/components/digi-icon-table-row.js +2 -2
  198. package/components/digi-icon-table.js +1 -1
  199. package/components/digi-icon-task-done.js +2 -2
  200. package/components/digi-icon-toggle-off.js +2 -2
  201. package/components/digi-icon-toggle-on.js +2 -2
  202. package/components/digi-icon-trash.js +1 -1
  203. package/components/digi-icon-twitter.js +2 -2
  204. package/components/digi-icon-tyck-till.js +2 -2
  205. package/components/digi-icon-unlock.js +2 -2
  206. package/components/digi-icon-update.js +2 -2
  207. package/components/digi-icon-upload.js +2 -2
  208. package/components/digi-icon-user-add.js +1 -1
  209. package/components/digi-icon-user-alt.js +2 -2
  210. package/components/digi-icon-user-edit.js +1 -1
  211. package/components/digi-icon-users-solid.js +2 -2
  212. package/components/digi-icon-validation-error.js +1 -1
  213. package/components/digi-icon-validation-success.js +1 -1
  214. package/components/digi-icon-validation-warning.js +1 -1
  215. package/components/digi-icon-videocamera-off.js +2 -2
  216. package/components/digi-icon-videocamera.js +2 -2
  217. package/components/digi-icon-volume.js +1 -1
  218. package/components/digi-icon-web-tv.js +2 -2
  219. package/components/digi-icon-webinar.js +1 -1
  220. package/components/digi-icon-wifi-signal0.js +2 -2
  221. package/components/digi-icon-wifi-signal1.js +2 -2
  222. package/components/digi-icon-wifi-signal2.js +2 -2
  223. package/components/digi-icon-wifi-signal3.js +2 -2
  224. package/components/digi-icon-window.js +2 -2
  225. package/components/digi-icon-x-button-outline.js +1 -1
  226. package/components/digi-icon-x-button.js +2 -2
  227. package/components/digi-icon-x.js +1 -1
  228. package/components/digi-icon-youtube.js +2 -2
  229. package/components/digi-info-card-multi-container.js +2 -2
  230. package/components/digi-info-card-multi.js +11 -11
  231. package/components/digi-info-card.js +5 -5
  232. package/components/digi-layout-block.js +1 -1
  233. package/components/digi-layout-columns.js +1 -1
  234. package/components/digi-layout-container.js +1 -1
  235. package/components/digi-layout-media-object.js +1 -1
  236. package/components/digi-link-button.js +2 -2
  237. package/components/digi-link-external.js +1 -1
  238. package/components/digi-link-internal.js +1 -1
  239. package/components/digi-link.js +1 -1
  240. package/components/digi-list.js +3 -3
  241. package/components/digi-loader-skeleton.js +3 -3
  242. package/components/digi-loader-spinner.js +2 -2
  243. package/components/digi-logo.js +1 -1
  244. package/components/digi-media-figure.js +1 -1
  245. package/components/digi-media-image.js +1 -1
  246. package/components/digi-navigation-breadcrumbs.js +3 -3
  247. package/components/digi-navigation-context-menu.js +1 -1
  248. package/components/digi-navigation-pagination.js +10 -10
  249. package/components/digi-navigation-sidebar-button.js +1 -1
  250. package/components/digi-navigation-sidebar.js +5 -5
  251. package/components/digi-navigation-vertical-menu-item.js +8 -8
  252. package/components/digi-navigation-vertical-menu.js +1 -1
  253. package/components/digi-notification-alert.js +1 -1
  254. package/components/digi-notification-error-page.js +6 -6
  255. package/components/digi-progress-circle.js +11 -11
  256. package/components/digi-progress-indicator.js +7 -7
  257. package/components/digi-progress-list-item.js +9 -9
  258. package/components/digi-progress-list.js +2 -2
  259. package/components/digi-progressbar.js +3 -3
  260. package/components/digi-quote.js +3 -3
  261. package/components/digi-table.js +1 -1
  262. package/components/digi-tablist-panel.js +2 -2
  263. package/components/digi-tablist.js +7 -7
  264. package/components/digi-tag-media.js +1 -1
  265. package/components/digi-tag.js +3 -3
  266. package/components/digi-tools-feedback-banner.js +6 -6
  267. package/components/digi-tools-feedback-rating.js +7 -7
  268. package/components/digi-tools-feedback.js +3 -3
  269. package/components/digi-tools-languagepicker.js +10 -10
  270. package/components/digi-typography-heading-jumbo.js +1 -1
  271. package/components/digi-typography-meta.js +1 -1
  272. package/components/digi-typography-preamble.js +1 -1
  273. package/components/digi-typography-time.js +2 -2
  274. package/components/digi-typography.js +1 -1
  275. package/components/digi-util-breakpoint-observer.js +1 -1
  276. package/components/digi-util-detect-click-outside.js +1 -1
  277. package/components/digi-util-detect-focus-outside.js +1 -1
  278. package/components/digi-util-intersection-observer.js +1 -1
  279. package/components/digi-util-keydown-handler.js +1 -1
  280. package/components/digi-util-keyup-handler.js +1 -1
  281. package/components/digi-util-resize-observer.js +1 -1
  282. package/components/{p-c2792b81.js → p-0176102e.js} +2 -2
  283. package/components/{p-37bf67b9.js → p-08175009.js} +2 -2
  284. package/components/{p-42aa440f.js → p-08cf2c0e.js} +13 -0
  285. package/components/{p-ee898486.js → p-09558a88.js} +2 -2
  286. package/components/{p-d5aaf156.js → p-0b61f10f.js} +2 -2
  287. package/components/{p-9a48601e.js → p-0d7b08db.js} +2 -2
  288. package/components/{p-6536612d.js → p-1125ddc8.js} +39 -35
  289. package/components/{p-b0875cc2.js → p-19303dad.js} +2 -2
  290. package/components/{p-fc1513b9.js → p-19a1055b.js} +2 -2
  291. package/components/{p-2214789c.js → p-1bd2159d.js} +2 -2
  292. package/components/{p-bf970bf9.js → p-24f5d311.js} +1 -1
  293. package/components/{p-85e3c087.js → p-26249c3d.js} +2 -2
  294. package/components/{p-58cfedb8.js → p-2a63f2e6.js} +2 -2
  295. package/components/{p-1639e4b7.js → p-2bbd7c80.js} +2 -2
  296. package/components/{p-e881a2fc.js → p-2f1ac27e.js} +2 -2
  297. package/components/{p-70b51099.js → p-33c53546.js} +10 -10
  298. package/components/{p-ce4cdfca.js → p-346137ab.js} +29 -8
  299. package/components/{p-ef66bf89.js → p-3e1e6969.js} +1 -1
  300. package/components/{p-9950f0b2.js → p-3eca4900.js} +2 -2
  301. package/components/{p-f4abe624.js → p-4323193f.js} +2 -2
  302. package/components/{p-4c17fe63.js → p-46cdcafa.js} +3 -3
  303. package/components/{p-e65f3dcc.js → p-474db732.js} +2 -2
  304. package/components/{p-1b3cbd03.js → p-4a45fa2d.js} +2 -2
  305. package/components/{p-1f838d49.js → p-4d70f125.js} +2 -2
  306. package/components/{p-ce5a89e6.js → p-517bb876.js} +2 -2
  307. package/components/{p-91cd1d0f.js → p-5278a2e8.js} +2 -2
  308. package/components/{p-65f41a6a.js → p-5415afc2.js} +8 -8
  309. package/components/{p-a6cd1e08.js → p-5e98f94d.js} +2 -2
  310. package/components/{p-7c0d463d.js → p-6bb240b4.js} +2 -2
  311. package/components/{p-124f7993.js → p-6e2b2f5f.js} +1 -1
  312. package/components/{p-67abbef0.js → p-71661f2a.js} +1 -1
  313. package/components/{p-3ac0c273.js → p-71ce3c3a.js} +2 -2
  314. package/components/{p-75f8b0c5.js → p-734d320a.js} +2 -2
  315. package/components/{p-62696c3e.js → p-760d2b12.js} +2 -2
  316. package/components/{p-758b0ee8.js → p-7cbb7a7a.js} +9 -9
  317. package/components/{p-ec4b6151.js → p-7efae29b.js} +4 -4
  318. package/components/{p-09d09b66.js → p-882e478d.js} +2 -2
  319. package/components/{p-5105e437.js → p-8c64caef.js} +2 -2
  320. package/components/{p-470d6874.js → p-8cc46a2b.js} +1 -1
  321. package/components/{p-098701c6.js → p-97f95d5d.js} +2 -2
  322. package/components/{p-f4f6ca53.js → p-a3815a92.js} +1 -1
  323. package/components/{p-d174cc2a.js → p-a3ca29ce.js} +2 -2
  324. package/components/{p-9cea8708.js → p-ac2e2b47.js} +2 -2
  325. package/components/{p-18b2ee76.js → p-b153a860.js} +2 -2
  326. package/components/{p-29908d12.js → p-b3507f12.js} +2 -2
  327. package/components/{p-60acf10c.js → p-b789243d.js} +3 -3
  328. package/components/{p-29a84249.js → p-bb9167c2.js} +2 -2
  329. package/components/{p-58fc6796.js → p-c2e722fa.js} +1 -1
  330. package/components/{p-c14a1a58.js → p-c325edd3.js} +2 -2
  331. package/components/{p-fd25fbe2.js → p-c6f305ca.js} +2 -2
  332. package/components/{p-bc59dcab.js → p-c70dcde3.js} +1 -1
  333. package/components/{p-07e6c34e.js → p-c888067f.js} +2 -2
  334. package/components/{p-52854c3f.js → p-cb9426ce.js} +2 -2
  335. package/components/{p-00e0088f.js → p-ccc246b7.js} +2 -2
  336. package/components/{p-9b15f6d7.js → p-cd78d897.js} +2 -2
  337. package/components/{p-841ac620.js → p-cf6f3fb1.js} +1 -1
  338. package/components/{p-7cbcd901.js → p-d0bfbe82.js} +2 -2
  339. package/components/{p-e03e412c.js → p-e52962b0.js} +2 -2
  340. package/components/{p-e3ecb2a9.js → p-e733f09a.js} +2 -2
  341. package/components/{p-5a4195e4.js → p-e7369e2f.js} +2 -2
  342. package/components/{p-ace4a2fb.js → p-eb0fe1c6.js} +3 -3
  343. package/components/{p-a483dee7.js → p-f033f1bc.js} +2 -2
  344. package/components/{p-39ed7987.js → p-f19a887c.js} +1 -1
  345. package/components/{p-5cd1c49f.js → p-f65f552b.js} +2 -2
  346. package/components/{p-6aabd239.js → p-f9a8c6ee.js} +3 -3
  347. package/components/{p-d0c09cf2.js → p-faf3b0b5.js} +8 -8
  348. package/components/{p-295c6882.js → p-ff63ccc3.js} +2 -2
  349. package/custom-elements.json +12 -0
  350. package/dist/cjs/digi-arbetsformedlingen.cjs.js +1 -1
  351. package/dist/cjs/digi-bar-chart.cjs.entry.js +2 -2
  352. package/dist/cjs/digi-button.cjs.entry.js +130 -0
  353. package/dist/cjs/digi-calendar-week-view.cjs.entry.js +51 -52
  354. package/dist/cjs/digi-calendar_16.cjs.entry.js +3710 -0
  355. package/dist/cjs/digi-card.cjs.entry.js +1 -1
  356. package/dist/cjs/{digi-button_6.cjs.entry.js → digi-chart-line.cjs.entry.js} +3 -219
  357. package/dist/cjs/digi-code-block_3.cjs.entry.js +14 -19
  358. package/dist/cjs/digi-code-example.cjs.entry.js +5 -5
  359. package/dist/cjs/digi-code.cjs.entry.js +1 -1
  360. package/dist/cjs/digi-context-menu.cjs.entry.js +2 -2
  361. package/dist/cjs/digi-dialog.cjs.entry.js +14 -19
  362. package/dist/cjs/digi-expandable-accordion.cjs.entry.js +7 -12
  363. package/dist/cjs/digi-expandable-faq-item.cjs.entry.js +4 -4
  364. package/dist/cjs/digi-expandable-faq.cjs.entry.js +2 -2
  365. package/dist/cjs/digi-footer-card.cjs.entry.js +1 -1
  366. package/dist/cjs/digi-footer.cjs.entry.js +6 -11
  367. package/dist/cjs/digi-form-category-filter.cjs.entry.js +2 -2
  368. package/dist/cjs/digi-form-checkbox.cjs.entry.js +2 -2
  369. package/dist/cjs/digi-form-error-list.cjs.entry.js +7 -12
  370. package/dist/cjs/digi-form-file-upload.cjs.entry.js +15 -16
  371. package/dist/cjs/digi-form-filter.cjs.entry.js +6 -6
  372. package/dist/cjs/digi-form-input-search.cjs.entry.js +7 -8
  373. package/dist/cjs/digi-form-radiogroup.cjs.entry.js +1 -1
  374. package/dist/cjs/digi-form-receipt.cjs.entry.js +12 -17
  375. package/dist/cjs/digi-form-select-filter.cjs.entry.js +19 -24
  376. package/dist/cjs/digi-form-textarea.cjs.entry.js +3 -3
  377. package/dist/cjs/digi-header-avatar.cjs.entry.js +1 -1
  378. package/dist/cjs/digi-header-navigation-item.cjs.entry.js +1 -1
  379. package/dist/cjs/digi-header-navigation.cjs.entry.js +7 -12
  380. package/dist/cjs/digi-header-notification.cjs.entry.js +2 -2
  381. package/dist/cjs/digi-header.cjs.entry.js +6 -11
  382. package/dist/cjs/digi-icon-accessibility-deaf.cjs.entry.js +2 -2
  383. package/dist/cjs/digi-icon-accessibility-universal.cjs.entry.js +2 -2
  384. package/dist/cjs/digi-icon-apple.cjs.entry.js +2 -2
  385. package/dist/cjs/digi-icon-archive-outline.cjs.entry.js +2 -2
  386. package/dist/cjs/digi-icon-archive.cjs.entry.js +2 -2
  387. package/dist/cjs/digi-icon-arrow-back.cjs.entry.js +2 -2
  388. package/dist/cjs/digi-icon-arrow-down.cjs.entry.js +2 -2
  389. package/dist/cjs/digi-icon-arrow-left.cjs.entry.js +2 -2
  390. package/dist/cjs/digi-icon-arrow-right.cjs.entry.js +2 -2
  391. package/dist/cjs/digi-icon-arrow-sign-in.cjs.entry.js +2 -2
  392. package/dist/cjs/digi-icon-arrow-sign-out.cjs.entry.js +2 -2
  393. package/dist/cjs/digi-icon-arrow-up.cjs.entry.js +2 -2
  394. package/dist/cjs/digi-icon-at.cjs.entry.js +2 -2
  395. package/dist/cjs/digi-icon-bars.cjs.entry.js +2 -2
  396. package/dist/cjs/digi-icon-bell-filled.cjs.entry.js +2 -2
  397. package/dist/cjs/digi-icon-bell.cjs.entry.js +2 -2
  398. package/dist/cjs/digi-icon-book.cjs.entry.js +2 -2
  399. package/dist/cjs/digi-icon-bookmark-outline.cjs.entry.js +2 -2
  400. package/dist/cjs/digi-icon-bookmark-solid.cjs.entry.js +2 -2
  401. package/dist/cjs/digi-icon-bubble-ellipsis.cjs.entry.js +2 -2
  402. package/dist/cjs/digi-icon-bubble.cjs.entry.js +2 -2
  403. package/dist/cjs/digi-icon-building-outline.cjs.entry.js +2 -2
  404. package/dist/cjs/digi-icon-building-solid.cjs.entry.js +2 -2
  405. package/dist/cjs/digi-icon-bullseye.cjs.entry.js +2 -2
  406. package/dist/cjs/digi-icon-calculator-solid.cjs.entry.js +2 -2
  407. package/dist/cjs/digi-icon-calendar-alt-alert.cjs.entry.js +2 -2
  408. package/dist/cjs/digi-icon-calendar.cjs.entry.js +2 -2
  409. package/dist/cjs/digi-icon-caret-circle-right.cjs.entry.js +2 -2
  410. package/dist/cjs/digi-icon-caret-down_2.cjs.entry.js +4 -4
  411. package/dist/cjs/digi-icon-caret-left.cjs.entry.js +2 -2
  412. package/dist/cjs/digi-icon-caret-right.cjs.entry.js +2 -2
  413. package/dist/cjs/digi-icon-chart_2.cjs.entry.js +53 -0
  414. package/dist/cjs/digi-icon-chat.cjs.entry.js +2 -2
  415. package/dist/cjs/digi-icon-check-circle-reg-alt.cjs.entry.js +2 -2
  416. package/dist/cjs/digi-icon-check-circle-solid.cjs.entry.js +2 -2
  417. package/dist/cjs/digi-icon-check.cjs.entry.js +2 -2
  418. package/dist/cjs/digi-icon-checklist.cjs.entry.js +2 -2
  419. package/dist/cjs/digi-icon-chevron-down.cjs.entry.js +2 -2
  420. package/dist/cjs/digi-icon-chevron-up.cjs.entry.js +2 -2
  421. package/dist/cjs/digi-icon-clock.cjs.entry.js +2 -2
  422. package/dist/cjs/digi-icon-communication-play-solid.cjs.entry.js +2 -2
  423. package/dist/cjs/digi-icon-compress-alt.cjs.entry.js +2 -2
  424. package/dist/cjs/digi-icon-comunication-case.cjs.entry.js +2 -2
  425. package/dist/cjs/digi-icon-comunication-flag.cjs.entry.js +2 -2
  426. package/dist/cjs/digi-icon-comunication-graduate.cjs.entry.js +2 -2
  427. package/dist/cjs/digi-icon-comunication-play.cjs.entry.js +2 -2
  428. package/dist/cjs/digi-icon-cooperation.cjs.entry.js +2 -2
  429. package/dist/cjs/digi-icon-copy.cjs.entry.js +2 -2
  430. package/dist/cjs/digi-icon-danger-outline.cjs.entry.js +2 -2
  431. package/dist/cjs/digi-icon-download.cjs.entry.js +2 -2
  432. package/dist/cjs/digi-icon-dxa.cjs.entry.js +2 -2
  433. package/dist/cjs/digi-icon-edit.cjs.entry.js +2 -2
  434. package/dist/cjs/digi-icon-ellipsis.cjs.entry.js +2 -2
  435. package/dist/cjs/digi-icon-envelope-filled.cjs.entry.js +2 -2
  436. package/dist/cjs/digi-icon-envelope.cjs.entry.js +2 -2
  437. package/dist/cjs/digi-icon-exclamation-circle-filled.cjs.entry.js +2 -2
  438. package/dist/cjs/digi-icon-exclamation-triangle-filled.cjs.entry.js +2 -2
  439. package/dist/cjs/digi-icon-exclamation-triangle-warning.cjs.entry.js +2 -2
  440. package/dist/cjs/digi-icon-exclamation-triangle.cjs.entry.js +2 -2
  441. package/dist/cjs/digi-icon-expand-alt.cjs.entry.js +2 -2
  442. package/dist/cjs/digi-icon-external-link-alt_2.cjs.entry.js +3 -3
  443. package/dist/cjs/digi-icon-eye-slash.cjs.entry.js +2 -2
  444. package/dist/cjs/digi-icon-eye.cjs.entry.js +2 -2
  445. package/dist/cjs/digi-icon-facebook-square.cjs.entry.js +2 -2
  446. package/dist/cjs/digi-icon-file-add.cjs.entry.js +1 -1
  447. package/dist/cjs/digi-icon-file-document.cjs.entry.js +2 -2
  448. package/dist/cjs/digi-icon-file-excel.cjs.entry.js +2 -2
  449. package/dist/cjs/digi-icon-file-export.cjs.entry.js +1 -1
  450. package/dist/cjs/digi-icon-file-governing.cjs.entry.js +2 -2
  451. package/dist/cjs/digi-icon-file-pdf.cjs.entry.js +2 -2
  452. package/dist/cjs/digi-icon-file-powerpoint.cjs.entry.js +2 -2
  453. package/dist/cjs/digi-icon-file-remove.cjs.entry.js +1 -1
  454. package/dist/cjs/digi-icon-file-word.cjs.entry.js +2 -2
  455. package/dist/cjs/digi-icon-film.cjs.entry.js +2 -2
  456. package/dist/cjs/digi-icon-filter.cjs.entry.js +2 -2
  457. package/dist/cjs/digi-icon-folder-add.cjs.entry.js +1 -1
  458. package/dist/cjs/digi-icon-folder-directory.cjs.entry.js +1 -1
  459. package/dist/cjs/digi-icon-folder-open.cjs.entry.js +1 -1
  460. package/dist/cjs/digi-icon-folder.cjs.entry.js +1 -1
  461. package/dist/cjs/digi-icon-globe-filled.cjs.entry.js +2 -2
  462. package/dist/cjs/digi-icon-globe.cjs.entry.js +2 -2
  463. package/dist/cjs/digi-icon-headphones.cjs.entry.js +2 -2
  464. package/dist/cjs/digi-icon-heart-solid.cjs.entry.js +2 -2
  465. package/dist/cjs/digi-icon-heart.cjs.entry.js +2 -2
  466. package/dist/cjs/digi-icon-history.cjs.entry.js +2 -2
  467. package/dist/cjs/digi-icon-home.cjs.entry.js +2 -2
  468. package/dist/cjs/digi-icon-image.cjs.entry.js +2 -2
  469. package/dist/cjs/digi-icon-info-circle-solid.cjs.entry.js +2 -2
  470. package/dist/cjs/digi-icon-instagram.cjs.entry.js +2 -2
  471. package/dist/cjs/digi-icon-job-suggestion.cjs.entry.js +2 -2
  472. package/dist/cjs/digi-icon-language-outline_4.cjs.entry.js +11 -11
  473. package/dist/cjs/digi-icon-language.cjs.entry.js +2 -2
  474. package/dist/cjs/digi-icon-laptop-phone.cjs.entry.js +2 -2
  475. package/dist/cjs/digi-icon-lattlast.cjs.entry.js +2 -2
  476. package/dist/cjs/digi-icon-licence-bus.cjs.entry.js +2 -2
  477. package/dist/cjs/digi-icon-licence-car.cjs.entry.js +2 -2
  478. package/dist/cjs/digi-icon-licence-motorcycle.cjs.entry.js +2 -2
  479. package/dist/cjs/digi-icon-licence-truck.cjs.entry.js +2 -2
  480. package/dist/cjs/digi-icon-lightbulb.cjs.entry.js +2 -2
  481. package/dist/cjs/digi-icon-linkedin-in.cjs.entry.js +2 -2
  482. package/dist/cjs/digi-icon-list-ul_6.cjs.entry.js +12 -12
  483. package/dist/cjs/digi-icon-lock.cjs.entry.js +2 -2
  484. package/dist/cjs/digi-icon-marker-filled.cjs.entry.js +2 -2
  485. package/dist/cjs/digi-icon-marker.cjs.entry.js +2 -2
  486. package/dist/cjs/digi-icon-media-course.cjs.entry.js +2 -2
  487. package/dist/cjs/digi-icon-media-podcast.cjs.entry.js +2 -2
  488. package/dist/cjs/digi-icon-microphone-off.cjs.entry.js +2 -2
  489. package/dist/cjs/digi-icon-microphone.cjs.entry.js +2 -2
  490. package/dist/cjs/digi-icon-minus_2.cjs.entry.js +4 -4
  491. package/dist/cjs/digi-icon-move.cjs.entry.js +2 -2
  492. package/dist/cjs/digi-icon-notification-error_5.cjs.entry.js +9 -9
  493. package/dist/cjs/digi-icon-online-interview.cjs.entry.js +2 -2
  494. package/dist/cjs/digi-icon-online-meeting.cjs.entry.js +2 -2
  495. package/dist/cjs/digi-icon-online-task.cjs.entry.js +2 -2
  496. package/dist/cjs/digi-icon-open-source.cjs.entry.js +2 -2
  497. package/dist/cjs/digi-icon-palette.cjs.entry.js +2 -2
  498. package/dist/cjs/digi-icon-paperclip_3.cjs.entry.js +6 -6
  499. package/dist/cjs/digi-icon-paste.cjs.entry.js +1 -1
  500. package/dist/cjs/digi-icon-pen.cjs.entry.js +2 -2
  501. package/dist/cjs/digi-icon-phone-hangup.cjs.entry.js +2 -2
  502. package/dist/cjs/digi-icon-phone.cjs.entry.js +2 -2
  503. package/dist/cjs/digi-icon-print.cjs.entry.js +2 -2
  504. package/dist/cjs/digi-icon-read.cjs.entry.js +2 -2
  505. package/dist/cjs/digi-icon-redo.cjs.entry.js +2 -2
  506. package/dist/cjs/digi-icon-scale.cjs.entry.js +1 -1
  507. package/dist/cjs/digi-icon-screensharing-off.cjs.entry.js +2 -2
  508. package/dist/cjs/digi-icon-screensharing.cjs.entry.js +2 -2
  509. package/dist/cjs/digi-icon-search.cjs.entry.js +2 -2
  510. package/dist/cjs/digi-icon-send-outline.cjs.entry.js +2 -2
  511. package/dist/cjs/digi-icon-send-solid.cjs.entry.js +2 -2
  512. package/dist/cjs/digi-icon-settings.cjs.entry.js +2 -2
  513. package/dist/cjs/digi-icon-share-alt.cjs.entry.js +2 -2
  514. package/dist/cjs/digi-icon-share-chain.cjs.entry.js +2 -2
  515. package/dist/cjs/digi-icon-sliders-h.cjs.entry.js +2 -2
  516. package/dist/cjs/digi-icon-sokkandidat.cjs.entry.js +2 -2
  517. package/dist/cjs/digi-icon-sort-down.cjs.entry.js +2 -2
  518. package/dist/cjs/digi-icon-sort-up.cjs.entry.js +2 -2
  519. package/dist/cjs/digi-icon-sort.cjs.entry.js +2 -2
  520. package/dist/cjs/digi-icon-spinner.cjs.entry.js +2 -2
  521. package/dist/cjs/digi-icon-star-reg.cjs.entry.js +2 -2
  522. package/dist/cjs/digi-icon-star.cjs.entry.js +2 -2
  523. package/dist/cjs/digi-icon-suitcase-outline.cjs.entry.js +2 -2
  524. package/dist/cjs/digi-icon-suitcase-solid.cjs.entry.js +2 -2
  525. package/dist/cjs/digi-icon-system-assistance.cjs.entry.js +2 -2
  526. package/dist/cjs/digi-icon-table-column.cjs.entry.js +2 -2
  527. package/dist/cjs/digi-icon-table-row.cjs.entry.js +2 -2
  528. package/dist/cjs/digi-icon-task-done.cjs.entry.js +2 -2
  529. package/dist/cjs/digi-icon-toggle-off.cjs.entry.js +2 -2
  530. package/dist/cjs/digi-icon-toggle-on.cjs.entry.js +2 -2
  531. package/dist/cjs/digi-icon-twitter.cjs.entry.js +2 -2
  532. package/dist/cjs/digi-icon-tyck-till.cjs.entry.js +2 -2
  533. package/dist/cjs/digi-icon-unlock.cjs.entry.js +2 -2
  534. package/dist/cjs/digi-icon-update.cjs.entry.js +2 -2
  535. package/dist/cjs/digi-icon-upload.cjs.entry.js +2 -2
  536. package/dist/cjs/digi-icon-user-add.cjs.entry.js +1 -1
  537. package/dist/cjs/digi-icon-user-alt.cjs.entry.js +2 -2
  538. package/dist/cjs/digi-icon-user-edit.cjs.entry.js +1 -1
  539. package/dist/cjs/digi-icon-users-solid.cjs.entry.js +2 -2
  540. package/dist/cjs/digi-icon-videocamera-off.cjs.entry.js +2 -2
  541. package/dist/cjs/digi-icon-videocamera.cjs.entry.js +2 -2
  542. package/dist/cjs/digi-icon-web-tv.cjs.entry.js +2 -2
  543. package/dist/cjs/digi-icon-wifi-signal0.cjs.entry.js +2 -2
  544. package/dist/cjs/digi-icon-wifi-signal1.cjs.entry.js +2 -2
  545. package/dist/cjs/digi-icon-wifi-signal2.cjs.entry.js +2 -2
  546. package/dist/cjs/digi-icon-wifi-signal3.cjs.entry.js +2 -2
  547. package/dist/cjs/digi-icon-window.cjs.entry.js +2 -2
  548. package/dist/cjs/digi-icon-x-button.cjs.entry.js +2 -2
  549. package/dist/cjs/digi-icon-x.cjs.entry.js +30 -0
  550. package/dist/cjs/digi-icon-youtube.cjs.entry.js +2 -2
  551. package/dist/cjs/digi-info-card-multi-container.cjs.entry.js +1 -1
  552. package/dist/cjs/digi-info-card-multi.cjs.entry.js +1 -1
  553. package/dist/cjs/digi-info-card.cjs.entry.js +1 -1
  554. package/dist/cjs/digi-layout-block_2.cjs.entry.js +2 -2
  555. package/dist/cjs/digi-layout-columns.cjs.entry.js +1 -1
  556. package/dist/cjs/digi-link-button.cjs.entry.js +1 -1
  557. package/dist/cjs/digi-link-internal.cjs.entry.js +1 -1
  558. package/dist/cjs/digi-link.cjs.entry.js +1 -1
  559. package/dist/cjs/digi-list.cjs.entry.js +1 -1
  560. package/dist/cjs/digi-loader-skeleton.cjs.entry.js +3 -3
  561. package/dist/cjs/digi-loader-spinner.cjs.entry.js +1 -1
  562. package/dist/cjs/digi-logo_2.cjs.entry.js +3 -3
  563. package/dist/cjs/digi-media-figure.cjs.entry.js +1 -1
  564. package/dist/cjs/digi-media-image_2.cjs.entry.js +3 -3
  565. package/dist/cjs/digi-navigation-breadcrumbs.cjs.entry.js +3 -3
  566. package/dist/cjs/digi-navigation-pagination.cjs.entry.js +9 -14
  567. package/dist/cjs/digi-navigation-sidebar.cjs.entry.js +2 -2
  568. package/dist/cjs/digi-navigation-vertical-menu-item.cjs.entry.js +6 -6
  569. package/dist/cjs/digi-navigation-vertical-menu.cjs.entry.js +1 -1
  570. package/dist/cjs/digi-notification-alert.cjs.entry.js +11 -16
  571. package/dist/cjs/digi-notification-error-page.cjs.entry.js +22 -27
  572. package/dist/cjs/digi-progress-circle.cjs.entry.js +9 -9
  573. package/dist/cjs/digi-progress-indicator.cjs.entry.js +4 -4
  574. package/dist/cjs/digi-progress-list-item.cjs.entry.js +6 -6
  575. package/dist/cjs/digi-progress-list.cjs.entry.js +1 -1
  576. package/dist/cjs/digi-progressbar.cjs.entry.js +3 -3
  577. package/dist/cjs/digi-quote.cjs.entry.js +1 -1
  578. package/dist/cjs/digi-table.cjs.entry.js +1 -1
  579. package/dist/cjs/digi-tablist-panel.cjs.entry.js +2 -2
  580. package/dist/cjs/digi-tablist.cjs.entry.js +5 -5
  581. package/dist/cjs/digi-tag-media.cjs.entry.js +2 -2
  582. package/dist/cjs/digi-tag.cjs.entry.js +2 -2
  583. package/dist/cjs/digi-tools-feedback-banner.cjs.entry.js +1 -1
  584. package/dist/cjs/digi-tools-feedback-rating.cjs.entry.js +1 -1
  585. package/dist/cjs/digi-tools-feedback.cjs.entry.js +11 -16
  586. package/dist/cjs/digi-tools-languagepicker.cjs.entry.js +3 -3
  587. package/dist/cjs/digi-typography-heading-jumbo.cjs.entry.js +1 -1
  588. package/dist/cjs/digi-typography-meta.cjs.entry.js +1 -1
  589. package/dist/cjs/digi-typography-preamble.cjs.entry.js +1 -1
  590. package/dist/cjs/digi-typography-time.cjs.entry.js +2 -2
  591. package/dist/cjs/digi-util-breakpoint-observer.cjs.entry.js +1 -1
  592. package/dist/cjs/digi-util-detect-click-outside.cjs.entry.js +1 -1
  593. package/dist/cjs/digi-util-detect-focus-outside.cjs.entry.js +1 -1
  594. package/dist/cjs/digi-util-keyup-handler.cjs.entry.js +1 -1
  595. package/dist/cjs/digi-util-resize-observer.cjs.entry.js +1 -1
  596. package/dist/cjs/{form-input-type.enum-9c8ee12a.js → form-input-type.enum-daf781ba.js} +7 -0
  597. package/dist/cjs/{form-file-upload-variation.enum-634cfae8.js → form-validation-message-variation.enum-c5ec3e2d.js} +7 -0
  598. package/dist/cjs/{index-ac8e01b4.js → index-acb7b350.js} +189 -19
  599. package/dist/cjs/index-cfa8e9be.js +14 -34
  600. package/dist/cjs/index.cjs.js +79 -84
  601. package/dist/cjs/loader.cjs.js +1 -1
  602. package/dist/cjs/{text-ca7e238b.js → text-3157012b.js} +13 -0
  603. package/dist/cjs/{tools-feedback-variation.enum-b17e8f87.js → typography-variation.enum-cc2d8aef.js} +49 -0
  604. package/dist/collection/components/_calendar/calendar/calendar.css +10 -4
  605. package/dist/collection/components/_calendar/calendar/calendar.js +27 -23
  606. package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.css +26 -0
  607. package/dist/collection/components/_calendar/calendar-datepicker/calendar-datepicker.js +72 -13
  608. package/dist/collection/components/_calendar/week-view/calendar-week-view.js +4 -4
  609. package/dist/collection/components/_card/card/card.js +1 -1
  610. package/dist/collection/components/_chart/bar-chart/bar-chart.js +1 -1
  611. package/dist/collection/components/_chart/chart-line/chart-line.js +1 -1
  612. package/dist/collection/components/_code/code/code.js +1 -1
  613. package/dist/collection/components/_code/code-block/code-block.js +1 -1
  614. package/dist/collection/components/_code/code-example/code-example.js +4 -4
  615. package/dist/collection/components/_dialog/dialog/dialog.js +3 -3
  616. package/dist/collection/components/_expandable/expandable-accordion/expandable-accordion.js +1 -1
  617. package/dist/collection/components/_expandable/expandable-faq/expandable-faq.js +2 -2
  618. package/dist/collection/components/_expandable/expandable-faq-item/expandable-faq-item.js +4 -4
  619. package/dist/collection/components/_footer/footer/footer.js +1 -1
  620. package/dist/collection/components/_footer/footer-card/footer-card.js +1 -1
  621. package/dist/collection/components/_form/form-category-filter/form-category-filter.js +2 -2
  622. package/dist/collection/components/_form/form-checkbox/form-checkbox.js +2 -2
  623. package/dist/collection/components/_form/form-error-list/form-error-list.js +3 -3
  624. package/dist/collection/components/_form/form-fieldset/form-fieldset.js +1 -1
  625. package/dist/collection/components/_form/form-file-upload/form-file-upload.js +7 -7
  626. package/dist/collection/components/_form/form-filter/form-filter.js +5 -5
  627. package/dist/collection/components/_form/form-input/form-input.js +45 -3
  628. package/dist/collection/components/_form/form-input-search/form-input-search.js +2 -2
  629. package/dist/collection/components/_form/form-label/form-label.js +1 -1
  630. package/dist/collection/components/_form/form-radiobutton/form-radiobutton.js +2 -2
  631. package/dist/collection/components/_form/form-radiogroup/form-radiogroup.js +1 -1
  632. package/dist/collection/components/_form/form-receipt/form-receipt.js +1 -1
  633. package/dist/collection/components/_form/form-select/form-select.js +4 -4
  634. package/dist/collection/components/_form/form-select-filter/form-select-filter.js +7 -7
  635. package/dist/collection/components/_form/form-textarea/form-textarea.js +3 -3
  636. package/dist/collection/components/_form/form-validation-message/form-validation-message.js +1 -1
  637. package/dist/collection/components/_header/header/header.js +2 -2
  638. package/dist/collection/components/_header/header-avatar/header-avatar.js +1 -1
  639. package/dist/collection/components/_header/header-navigation/header-navigation.js +3 -3
  640. package/dist/collection/components/_header/header-navigation-item/header-navigation-item.js +1 -1
  641. package/dist/collection/components/_header/header-notification/header-notification.js +2 -2
  642. package/dist/collection/components/_icon/icon-accessibility-deaf/icon-accessibility-deaf.js +2 -2
  643. package/dist/collection/components/_icon/icon-accessibility-universal/icon-accessibility-universal.js +2 -2
  644. package/dist/collection/components/_icon/icon-apple/icon-apple.js +2 -2
  645. package/dist/collection/components/_icon/icon-archive/icon-archive.js +2 -2
  646. package/dist/collection/components/_icon/icon-archive-outline/icon-archive-outline.js +2 -2
  647. package/dist/collection/components/_icon/icon-arrow-back/icon-arrow-back.js +2 -2
  648. package/dist/collection/components/_icon/icon-arrow-down/icon-arrow-down.js +2 -2
  649. package/dist/collection/components/_icon/icon-arrow-left/icon-arrow-left.js +2 -2
  650. package/dist/collection/components/_icon/icon-arrow-right/icon-arrow-right.js +2 -2
  651. package/dist/collection/components/_icon/icon-arrow-sign-in/icon-arrow-sign-in.js +2 -2
  652. package/dist/collection/components/_icon/icon-arrow-sign-out/icon-arrow-sign-out.js +2 -2
  653. package/dist/collection/components/_icon/icon-arrow-up/icon-arrow-up.js +2 -2
  654. package/dist/collection/components/_icon/icon-at/icon-at.js +2 -2
  655. package/dist/collection/components/_icon/icon-bars/icon-bars.js +2 -2
  656. package/dist/collection/components/_icon/icon-bell/icon-bell.js +2 -2
  657. package/dist/collection/components/_icon/icon-bell-filled/icon-bell-filled.js +2 -2
  658. package/dist/collection/components/_icon/icon-book/icon-book.js +2 -2
  659. package/dist/collection/components/_icon/icon-bookmark-outline/icon-bookmark-outline.js +2 -2
  660. package/dist/collection/components/_icon/icon-bookmark-solid/icon-bookmark-solid.js +2 -2
  661. package/dist/collection/components/_icon/icon-bubble/icon-bubble.js +2 -2
  662. package/dist/collection/components/_icon/icon-bubble-ellipsis/icon-bubble-ellipsis.js +2 -2
  663. package/dist/collection/components/_icon/icon-building-outline/icon-building-outline.js +2 -2
  664. package/dist/collection/components/_icon/icon-building-solid/icon-building-solid.js +2 -2
  665. package/dist/collection/components/_icon/icon-bullseye/icon-bullseye.js +2 -2
  666. package/dist/collection/components/_icon/icon-calculator-solid/icon-calculator-solid.js +2 -2
  667. package/dist/collection/components/_icon/icon-calendar/icon-calendar.js +2 -2
  668. package/dist/collection/components/_icon/icon-calendar-alt/icon-calendar-alt.js +2 -2
  669. package/dist/collection/components/_icon/icon-calendar-alt-alert/icon-calendar-alt-alert.js +2 -2
  670. package/dist/collection/components/_icon/icon-caret-circle-right/icon-caret-circle-right.js +2 -2
  671. package/dist/collection/components/_icon/icon-caret-down/icon-caret-down.js +2 -2
  672. package/dist/collection/components/_icon/icon-caret-left/icon-caret-left.js +2 -2
  673. package/dist/collection/components/_icon/icon-caret-right/icon-caret-right.js +2 -2
  674. package/dist/collection/components/_icon/icon-caret-up/icon-caret-up.js +2 -2
  675. package/dist/collection/components/_icon/icon-chart/icon-chart.js +2 -2
  676. package/dist/collection/components/_icon/icon-chat/icon-chat.js +2 -2
  677. package/dist/collection/components/_icon/icon-check/icon-check.js +2 -2
  678. package/dist/collection/components/_icon/icon-check-circle-reg-alt/icon-check-circle-reg-alt.js +2 -2
  679. package/dist/collection/components/_icon/icon-check-circle-solid/icon-check-circle-solid.js +2 -2
  680. package/dist/collection/components/_icon/icon-checklist/icon-checklist.js +2 -2
  681. package/dist/collection/components/_icon/icon-chevron-down/icon-chevron-down.js +2 -2
  682. package/dist/collection/components/_icon/icon-chevron-left/icon-chevron-left.js +2 -2
  683. package/dist/collection/components/_icon/icon-chevron-right/icon-chevron-right.js +2 -2
  684. package/dist/collection/components/_icon/icon-chevron-up/icon-chevron-up.js +2 -2
  685. package/dist/collection/components/_icon/icon-clock/icon-clock.js +2 -2
  686. package/dist/collection/components/_icon/icon-communication-play-solid/icon-communication-play-solid.js +2 -2
  687. package/dist/collection/components/_icon/icon-compress-alt/icon-compress-alt.js +2 -2
  688. package/dist/collection/components/_icon/icon-comunication-case/icon-comunication-case.js +2 -2
  689. package/dist/collection/components/_icon/icon-comunication-flag/icon-comunication-flag.js +2 -2
  690. package/dist/collection/components/_icon/icon-comunication-graduate/icon-comunication-graduate.js +2 -2
  691. package/dist/collection/components/_icon/icon-comunication-play/icon-comunication-play.js +2 -2
  692. package/dist/collection/components/_icon/icon-cooperation/icon-cooperation.js +2 -2
  693. package/dist/collection/components/_icon/icon-copy/icon-copy.js +2 -2
  694. package/dist/collection/components/_icon/icon-danger-outline/icon-danger-outline.js +2 -2
  695. package/dist/collection/components/_icon/icon-download/icon-download.js +2 -2
  696. package/dist/collection/components/_icon/icon-dxa/icon-dxa.js +2 -2
  697. package/dist/collection/components/_icon/icon-edit/icon-edit.js +2 -2
  698. package/dist/collection/components/_icon/icon-ellipsis/icon-ellipsis.js +2 -2
  699. package/dist/collection/components/_icon/icon-envelope/icon-envelope.js +2 -2
  700. package/dist/collection/components/_icon/icon-envelope-filled/icon-envelope-filled.js +2 -2
  701. package/dist/collection/components/_icon/icon-exclamation-circle-filled/icon-exclamation-circle-filled.js +2 -2
  702. package/dist/collection/components/_icon/icon-exclamation-triangle/icon-exclamation-triangle.js +2 -2
  703. package/dist/collection/components/_icon/icon-exclamation-triangle-filled/icon-exclamation-triangle-filled.js +2 -2
  704. package/dist/collection/components/_icon/icon-exclamation-triangle-warning/icon-exclamation-triangle-warning.js +2 -2
  705. package/dist/collection/components/_icon/icon-expand-alt/icon-expand-alt.js +2 -2
  706. package/dist/collection/components/_icon/icon-external-link-alt/icon-external-link-alt.js +2 -2
  707. package/dist/collection/components/_icon/icon-eye/icon-eye.js +2 -2
  708. package/dist/collection/components/_icon/icon-eye-slash/icon-eye-slash.js +2 -2
  709. package/dist/collection/components/_icon/icon-facebook-square/icon-facebook-square.js +2 -2
  710. package/dist/collection/components/_icon/icon-file-add/icon-file-add.js +1 -1
  711. package/dist/collection/components/_icon/icon-file-document/icon-file-document.js +2 -2
  712. package/dist/collection/components/_icon/icon-file-excel/icon-file-excel.js +2 -2
  713. package/dist/collection/components/_icon/icon-file-export/icon-file-export.js +1 -1
  714. package/dist/collection/components/_icon/icon-file-governing/icon-file-governing.js +2 -2
  715. package/dist/collection/components/_icon/icon-file-pdf/icon-file-pdf.js +2 -2
  716. package/dist/collection/components/_icon/icon-file-powerpoint/icon-file-powerpoint.js +2 -2
  717. package/dist/collection/components/_icon/icon-file-remove/icon-file-remove.js +1 -1
  718. package/dist/collection/components/_icon/icon-file-word/icon-file-word.js +2 -2
  719. package/dist/collection/components/_icon/icon-film/icon-film.js +2 -2
  720. package/dist/collection/components/_icon/icon-filter/icon-filter.js +2 -2
  721. package/dist/collection/components/_icon/icon-folder/icon-folder.js +1 -1
  722. package/dist/collection/components/_icon/icon-folder-add/icon-folder-add.js +1 -1
  723. package/dist/collection/components/_icon/icon-folder-directory/icon-folder-directory.js +1 -1
  724. package/dist/collection/components/_icon/icon-folder-open/icon-folder-open.js +1 -1
  725. package/dist/collection/components/_icon/icon-globe/icon-globe.js +2 -2
  726. package/dist/collection/components/_icon/icon-globe-filled/icon-globe-filled.js +2 -2
  727. package/dist/collection/components/_icon/icon-headphones/icon-headphones.js +2 -2
  728. package/dist/collection/components/_icon/icon-heart/icon-heart.js +2 -2
  729. package/dist/collection/components/_icon/icon-heart-solid/icon-heart-solid.js +2 -2
  730. package/dist/collection/components/_icon/icon-history/icon-history.js +2 -2
  731. package/dist/collection/components/_icon/icon-home/icon-home.js +2 -2
  732. package/dist/collection/components/_icon/icon-image/icon-image.js +2 -2
  733. package/dist/collection/components/_icon/icon-info-circle-solid/icon-info-circle-solid.js +2 -2
  734. package/dist/collection/components/_icon/icon-input-select-marker/icon-input-select-marker.js +2 -2
  735. package/dist/collection/components/_icon/icon-instagram/icon-instagram.js +2 -2
  736. package/dist/collection/components/_icon/icon-job-suggestion/icon-job-suggestion.js +2 -2
  737. package/dist/collection/components/_icon/icon-language/icon-language.js +2 -2
  738. package/dist/collection/components/_icon/icon-language-outline/icon-language-outline.js +2 -2
  739. package/dist/collection/components/_icon/icon-laptop-phone/icon-laptop-phone.js +2 -2
  740. package/dist/collection/components/_icon/icon-lattlast/icon-lattlast.js +2 -2
  741. package/dist/collection/components/_icon/icon-licence-bus/icon-licence-bus.js +2 -2
  742. package/dist/collection/components/_icon/icon-licence-car/icon-licence-car.js +2 -2
  743. package/dist/collection/components/_icon/icon-licence-motorcycle/icon-licence-motorcycle.js +2 -2
  744. package/dist/collection/components/_icon/icon-licence-truck/icon-licence-truck.js +2 -2
  745. package/dist/collection/components/_icon/icon-lightbulb/icon-lightbulb.js +2 -2
  746. package/dist/collection/components/_icon/icon-linkedin-in/icon-linkedin-in.js +2 -2
  747. package/dist/collection/components/_icon/icon-list-ul/icon-list-ul.js +2 -2
  748. package/dist/collection/components/_icon/icon-lock/icon-lock.js +2 -2
  749. package/dist/collection/components/_icon/icon-marker/icon-marker.js +2 -2
  750. package/dist/collection/components/_icon/icon-marker-filled/icon-marker-filled.js +2 -2
  751. package/dist/collection/components/_icon/icon-media-course/icon-media-course.js +2 -2
  752. package/dist/collection/components/_icon/icon-media-podcast/icon-media-podcast.js +2 -2
  753. package/dist/collection/components/_icon/icon-microphone/icon-microphone.js +2 -2
  754. package/dist/collection/components/_icon/icon-microphone-off/icon-microphone-off.js +2 -2
  755. package/dist/collection/components/_icon/icon-minus/icon-minus.js +2 -2
  756. package/dist/collection/components/_icon/icon-move/icon-move.js +2 -2
  757. package/dist/collection/components/_icon/icon-news/icon-news.js +2 -2
  758. package/dist/collection/components/_icon/icon-notification-error/icon-notification-error.js +2 -2
  759. package/dist/collection/components/_icon/icon-notification-info/icon-notification-info.js +2 -2
  760. package/dist/collection/components/_icon/icon-notification-succes/icon-notification-succes.js +2 -2
  761. package/dist/collection/components/_icon/icon-notification-warning/icon-notification-warning.js +2 -2
  762. package/dist/collection/components/_icon/icon-online-computervideo/icon-online-computervideo.js +2 -2
  763. package/dist/collection/components/_icon/icon-online-interview/icon-online-interview.js +2 -2
  764. package/dist/collection/components/_icon/icon-online-meeting/icon-online-meeting.js +2 -2
  765. package/dist/collection/components/_icon/icon-online-task/icon-online-task.js +2 -2
  766. package/dist/collection/components/_icon/icon-online-video/icon-online-video.js +2 -2
  767. package/dist/collection/components/_icon/icon-open-source/icon-open-source.js +2 -2
  768. package/dist/collection/components/_icon/icon-palette/icon-palette.js +2 -2
  769. package/dist/collection/components/_icon/icon-paperclip/icon-paperclip.js +2 -2
  770. package/dist/collection/components/_icon/icon-paste/icon-paste.js +1 -1
  771. package/dist/collection/components/_icon/icon-pen/icon-pen.js +2 -2
  772. package/dist/collection/components/_icon/icon-phone/icon-phone.js +2 -2
  773. package/dist/collection/components/_icon/icon-phone-hangup/icon-phone-hangup.js +2 -2
  774. package/dist/collection/components/_icon/icon-plus/icon-plus.js +2 -2
  775. package/dist/collection/components/_icon/icon-pod/icon-pod.js +2 -2
  776. package/dist/collection/components/_icon/icon-print/icon-print.js +2 -2
  777. package/dist/collection/components/_icon/icon-read/icon-read.js +2 -2
  778. package/dist/collection/components/_icon/icon-redo/icon-redo.js +2 -2
  779. package/dist/collection/components/_icon/icon-scale/icon-scale.js +1 -1
  780. package/dist/collection/components/_icon/icon-screensharing/icon-screensharing.js +2 -2
  781. package/dist/collection/components/_icon/icon-screensharing-off/icon-screensharing-off.js +2 -2
  782. package/dist/collection/components/_icon/icon-search/icon-search.js +2 -2
  783. package/dist/collection/components/_icon/icon-send-outline/icon-send-outline.js +2 -2
  784. package/dist/collection/components/_icon/icon-send-solid/icon-send-solid.js +2 -2
  785. package/dist/collection/components/_icon/icon-settings/icon-settings.js +2 -2
  786. package/dist/collection/components/_icon/icon-share-alt/icon-share-alt.js +2 -2
  787. package/dist/collection/components/_icon/icon-share-chain/icon-share-chain.js +2 -2
  788. package/dist/collection/components/_icon/icon-sign/icon-sign.js +2 -2
  789. package/dist/collection/components/_icon/icon-sliders-h/icon-sliders-h.js +2 -2
  790. package/dist/collection/components/_icon/icon-sokkandidat/icon-sokkandidat.js +2 -2
  791. package/dist/collection/components/_icon/icon-sort/icon-sort.js +2 -2
  792. package/dist/collection/components/_icon/icon-sort-down/icon-sort-down.js +2 -2
  793. package/dist/collection/components/_icon/icon-sort-up/icon-sort-up.js +2 -2
  794. package/dist/collection/components/_icon/icon-spinner/icon-spinner.js +2 -2
  795. package/dist/collection/components/_icon/icon-star/icon-star.js +2 -2
  796. package/dist/collection/components/_icon/icon-star-reg/icon-star-reg.js +2 -2
  797. package/dist/collection/components/_icon/icon-suitcase-outline/icon-suitcase-outline.js +2 -2
  798. package/dist/collection/components/_icon/icon-suitcase-solid/icon-suitcase-solid.js +2 -2
  799. package/dist/collection/components/_icon/icon-system-assistance/icon-system-assistance.js +2 -2
  800. package/dist/collection/components/_icon/icon-table/icon-table.js +2 -2
  801. package/dist/collection/components/_icon/icon-table-column/icon-table-column.js +2 -2
  802. package/dist/collection/components/_icon/icon-table-row/icon-table-row.js +2 -2
  803. package/dist/collection/components/_icon/icon-task-done/icon-task-done.js +2 -2
  804. package/dist/collection/components/_icon/icon-toggle-off/icon-toggle-off.js +2 -2
  805. package/dist/collection/components/_icon/icon-toggle-on/icon-toggle-on.js +2 -2
  806. package/dist/collection/components/_icon/icon-trash/icon-trash.js +2 -2
  807. package/dist/collection/components/_icon/icon-twitter/icon-twitter.js +2 -2
  808. package/dist/collection/components/_icon/icon-tyck-till/icon-tyck-till.js +2 -2
  809. package/dist/collection/components/_icon/icon-unlock/icon-unlock.js +2 -2
  810. package/dist/collection/components/_icon/icon-update/icon-update.js +2 -2
  811. package/dist/collection/components/_icon/icon-upload/icon-upload.js +2 -2
  812. package/dist/collection/components/_icon/icon-user-add/icon-user-add.js +1 -1
  813. package/dist/collection/components/_icon/icon-user-alt/icon-user-alt.js +2 -2
  814. package/dist/collection/components/_icon/icon-user-edit/icon-user-edit.js +1 -1
  815. package/dist/collection/components/_icon/icon-users-solid/icon-users-solid.js +2 -2
  816. package/dist/collection/components/_icon/icon-validation-error/icon-validation-error.js +2 -2
  817. package/dist/collection/components/_icon/icon-validation-success/icon-validation-success.js +2 -2
  818. package/dist/collection/components/_icon/icon-validation-warning/icon-validation-warning.js +2 -2
  819. package/dist/collection/components/_icon/icon-videocamera/icon-videocamera.js +2 -2
  820. package/dist/collection/components/_icon/icon-videocamera-off/icon-videocamera-off.js +2 -2
  821. package/dist/collection/components/_icon/icon-volume/icon-volume.js +2 -2
  822. package/dist/collection/components/_icon/icon-web-tv/icon-web-tv.js +2 -2
  823. package/dist/collection/components/_icon/icon-webinar/icon-webinar.js +2 -2
  824. package/dist/collection/components/_icon/icon-wifi-signal0/icon-wifi-signal0.js +2 -2
  825. package/dist/collection/components/_icon/icon-wifi-signal1/icon-wifi-signal1.js +2 -2
  826. package/dist/collection/components/_icon/icon-wifi-signal2/icon-wifi-signal2.js +2 -2
  827. package/dist/collection/components/_icon/icon-wifi-signal3/icon-wifi-signal3.js +2 -2
  828. package/dist/collection/components/_icon/icon-window/icon-window.js +2 -2
  829. package/dist/collection/components/_icon/icon-x/icon-x.js +2 -2
  830. package/dist/collection/components/_icon/icon-x-button/icon-x-button.js +2 -2
  831. package/dist/collection/components/_icon/icon-x-button-outline/icon-x-button-outline.js +2 -2
  832. package/dist/collection/components/_icon/icon-youtube/icon-youtube.js +2 -2
  833. package/dist/collection/components/_info-card/info-card/info-card.js +1 -1
  834. package/dist/collection/components/_info-card/info-card-multi/info-card-multi.js +1 -1
  835. package/dist/collection/components/_info-card/info-card-multi-container/info-card-multi-container.js +1 -1
  836. package/dist/collection/components/_layout/layout-block/layout-block.js +1 -1
  837. package/dist/collection/components/_layout/layout-columns/layout-columns.js +1 -1
  838. package/dist/collection/components/_layout/layout-container/layout-container.js +1 -1
  839. package/dist/collection/components/_layout/layout-media-object/layout-media-object.js +1 -1
  840. package/dist/collection/components/_link/link/link.js +1 -1
  841. package/dist/collection/components/_link/link-button/link-button.js +1 -1
  842. package/dist/collection/components/_link/link-external/link-external.js +1 -1
  843. package/dist/collection/components/_link/link-internal/link-internal.js +1 -1
  844. package/dist/collection/components/_list/list/list.js +1 -1
  845. package/dist/collection/components/_loader/loader-skeleton/loader-skeleton.js +3 -3
  846. package/dist/collection/components/_loader/loader-spinner/loader-spinner.js +1 -1
  847. package/dist/collection/components/_logo/logo/logo.js +2 -2
  848. package/dist/collection/components/_media/media-figure/media-figure.js +1 -1
  849. package/dist/collection/components/_media/media-image/media-image.js +2 -2
  850. package/dist/collection/components/_navigation/navigation-breadcrumbs/navigation-breadcrumbs.js +2 -2
  851. package/dist/collection/components/_navigation/navigation-context-menu/navigation-context-menu.js +2 -2
  852. package/dist/collection/components/_navigation/navigation-context-menu-legacy/navigation-context-menu.js +5 -5
  853. package/dist/collection/components/_navigation/navigation-pagination/navigation-pagination.js +6 -6
  854. package/dist/collection/components/_navigation/navigation-sidebar/navigation-sidebar.js +2 -2
  855. package/dist/collection/components/_navigation/navigation-sidebar-button/navigation-sidebar-button.js +1 -1
  856. package/dist/collection/components/_navigation/navigation-tablist/navigation-tablist.js +5 -5
  857. package/dist/collection/components/_navigation/navigation-tablist-panel/tablist-panel.js +2 -2
  858. package/dist/collection/components/_navigation/navigation-vertical-menu/navigation-vertical-menu.js +1 -1
  859. package/dist/collection/components/_navigation/navigation-vertical-menu-item/navigation-vertical-menu-item.js +6 -6
  860. package/dist/collection/components/_notification/notification-alert/notification-alert.js +2 -2
  861. package/dist/collection/components/_notification/notification-error-page/notification-error-page.js +3 -3
  862. package/dist/collection/components/_progress/progress-circle/progress-circle.js +8 -8
  863. package/dist/collection/components/_progress/progress-indicator/progress-indicator.js +3 -3
  864. package/dist/collection/components/_progress/progress-list/progress-list.js +1 -1
  865. package/dist/collection/components/_progress/progress-list-item/progress-list-item.js +5 -5
  866. package/dist/collection/components/_progress/progressbar/progressbar.js +2 -2
  867. package/dist/collection/components/_quote/quote/quote.js +1 -1
  868. package/dist/collection/components/_table/table/table.js +1 -1
  869. package/dist/collection/components/_tag/tag/tag.js +1 -1
  870. package/dist/collection/components/_tag/tag-media/tag-media.js +2 -2
  871. package/dist/collection/components/_tools/tools-feedback/tools-feedback.js +1 -1
  872. package/dist/collection/components/_tools/tools-feedback-banner/tools-feedback-banner.js +1 -1
  873. package/dist/collection/components/_tools/tools-feedback-rating/tools-feedback-rating.js +1 -1
  874. package/dist/collection/components/_tools/tools-languagepicker/tools-languagepicker.js +3 -3
  875. package/dist/collection/components/_typography/typography/typography.js +1 -1
  876. package/dist/collection/components/_typography/typography-heading-jumbo/typography-heading-jumbo.js +1 -1
  877. package/dist/collection/components/_typography/typography-meta/typography-meta.js +1 -1
  878. package/dist/collection/components/_typography/typography-preamble/typography-preamble.js +1 -1
  879. package/dist/collection/components/_typography/typography-time/typography-time.js +1 -1
  880. package/dist/collection/components/_util/util-breakpoint-observer/util-breakpoint-observer.js +1 -1
  881. package/dist/collection/components/_util/util-detect-click-outside/util-detect-click-outside.js +1 -1
  882. package/dist/collection/components/_util/util-detect-focus-outside/util-detect-focus-outside.js +1 -1
  883. package/dist/collection/components/_util/util-intersection-observer/util-intersection-observer.js +1 -1
  884. package/dist/collection/components/_util/util-keydown-handler/util-keydown-handler.js +1 -1
  885. package/dist/collection/components/_util/util-keyup-handler/util-keyup-handler.js +1 -1
  886. package/dist/collection/components/_util/util-resize-observer/util-resize-observer.js +1 -1
  887. package/dist/collection/design-tokens/components/_navigation-context-menu.variables.scss +0 -40
  888. package/dist/collection/text/locale/sv/text.js +13 -0
  889. package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
  890. package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
  891. package/dist/digi-arbetsformedlingen/{p-2471167e.entry.js → p-02a04cf3.entry.js} +1 -1
  892. package/dist/digi-arbetsformedlingen/{p-60891430.entry.js → p-02cf07e8.entry.js} +1 -1
  893. package/dist/digi-arbetsformedlingen/{p-96a0fbfe.entry.js → p-03be1666.entry.js} +1 -1
  894. package/dist/digi-arbetsformedlingen/{p-e9007948.entry.js → p-04cec605.entry.js} +1 -1
  895. package/dist/digi-arbetsformedlingen/{p-67fa7940.entry.js → p-0693af96.entry.js} +1 -1
  896. package/dist/digi-arbetsformedlingen/{p-4a9110d2.entry.js → p-076f92de.entry.js} +1 -1
  897. package/dist/digi-arbetsformedlingen/{p-558377b4.entry.js → p-078d012a.entry.js} +1 -1
  898. package/dist/digi-arbetsformedlingen/{p-3d624a3d.entry.js → p-0793f184.entry.js} +1 -1
  899. package/dist/digi-arbetsformedlingen/p-08cf2c0e.js +1 -0
  900. package/dist/digi-arbetsformedlingen/{p-88392fc1.entry.js → p-0972c7c6.entry.js} +1 -1
  901. package/dist/digi-arbetsformedlingen/p-0aca60e0.entry.js +1 -0
  902. package/dist/digi-arbetsformedlingen/p-0de1bdec.entry.js +1 -0
  903. package/dist/digi-arbetsformedlingen/{p-45ad16c2.entry.js → p-0e4b83cc.entry.js} +1 -1
  904. package/dist/digi-arbetsformedlingen/{p-94cfb3ef.entry.js → p-0e6379a8.entry.js} +1 -1
  905. package/dist/digi-arbetsformedlingen/{p-9b39b58a.entry.js → p-0f90f61f.entry.js} +1 -1
  906. package/dist/digi-arbetsformedlingen/p-1088e9fc.entry.js +1 -0
  907. package/dist/digi-arbetsformedlingen/{p-7db9d060.entry.js → p-11b99f00.entry.js} +1 -1
  908. package/dist/digi-arbetsformedlingen/{p-d6db5310.entry.js → p-11e54b5c.entry.js} +1 -1
  909. package/dist/digi-arbetsformedlingen/{p-6216773b.entry.js → p-12de3a7e.entry.js} +1 -1
  910. package/dist/digi-arbetsformedlingen/{p-ef93f95c.entry.js → p-14e9d33a.entry.js} +1 -1
  911. package/dist/digi-arbetsformedlingen/{p-1e56d92e.entry.js → p-160e9e94.entry.js} +1 -1
  912. package/dist/digi-arbetsformedlingen/{p-0b00a2d4.entry.js → p-16effd03.entry.js} +1 -1
  913. package/dist/digi-arbetsformedlingen/{p-55ac7825.entry.js → p-1701b23a.entry.js} +1 -1
  914. package/dist/digi-arbetsformedlingen/{p-d620d1bc.entry.js → p-17a1422e.entry.js} +1 -1
  915. package/dist/digi-arbetsformedlingen/{p-95ba5067.entry.js → p-17cd7fb4.entry.js} +1 -1
  916. package/dist/digi-arbetsformedlingen/p-193488ec.entry.js +1 -0
  917. package/dist/digi-arbetsformedlingen/{p-4cb0df27.entry.js → p-19822b1c.entry.js} +1 -1
  918. package/dist/digi-arbetsformedlingen/{p-ad203d8f.entry.js → p-1a550ba9.entry.js} +1 -1
  919. package/dist/digi-arbetsformedlingen/{p-3890186e.entry.js → p-1af5bf39.entry.js} +1 -1
  920. package/dist/digi-arbetsformedlingen/{p-29ed3aed.entry.js → p-1b6da519.entry.js} +1 -1
  921. package/dist/digi-arbetsformedlingen/{p-e2d6164d.entry.js → p-22129c8d.entry.js} +1 -1
  922. package/dist/digi-arbetsformedlingen/{p-894e44e5.entry.js → p-23f75ae6.entry.js} +1 -1
  923. package/dist/digi-arbetsformedlingen/{p-09c6f4ce.entry.js → p-245a9c9e.entry.js} +1 -1
  924. package/dist/digi-arbetsformedlingen/{p-cc2db195.entry.js → p-26d2be3a.entry.js} +1 -1
  925. package/dist/digi-arbetsformedlingen/{p-9a63fa45.entry.js → p-29a3eed7.entry.js} +1 -1
  926. package/dist/digi-arbetsformedlingen/{p-283dc047.entry.js → p-2ae0f625.entry.js} +1 -1
  927. package/dist/digi-arbetsformedlingen/{p-bfd00787.entry.js → p-2c495316.entry.js} +1 -1
  928. package/dist/digi-arbetsformedlingen/{p-16b961b6.entry.js → p-2c993d15.entry.js} +1 -1
  929. package/dist/digi-arbetsformedlingen/{p-efdb94f2.entry.js → p-2ef3e74c.entry.js} +1 -1
  930. package/dist/digi-arbetsformedlingen/{p-99670736.entry.js → p-2fe35dd2.entry.js} +1 -1
  931. package/dist/digi-arbetsformedlingen/{p-992785b3.entry.js → p-303d78c4.entry.js} +1 -1
  932. package/dist/digi-arbetsformedlingen/{p-4136236e.entry.js → p-31c0d616.entry.js} +1 -1
  933. package/dist/digi-arbetsformedlingen/p-321bfe4e.entry.js +1 -0
  934. package/dist/digi-arbetsformedlingen/{p-824cdb24.entry.js → p-340cf425.entry.js} +1 -1
  935. package/dist/digi-arbetsformedlingen/p-3498b991.entry.js +1 -0
  936. package/dist/digi-arbetsformedlingen/{p-3435d338.entry.js → p-356d406f.entry.js} +1 -1
  937. package/dist/digi-arbetsformedlingen/{p-f4c49a2f.entry.js → p-36258fdd.entry.js} +1 -1
  938. package/dist/digi-arbetsformedlingen/{p-200e7117.entry.js → p-36ddd2ab.entry.js} +1 -1
  939. package/dist/digi-arbetsformedlingen/p-3887bb40.js +1 -0
  940. package/dist/digi-arbetsformedlingen/p-38ac4375.entry.js +1 -0
  941. package/dist/digi-arbetsformedlingen/{p-b8bbf421.entry.js → p-38c1a2f2.entry.js} +1 -1
  942. package/dist/digi-arbetsformedlingen/{p-246397cd.entry.js → p-39882543.entry.js} +1 -1
  943. package/dist/digi-arbetsformedlingen/{p-1c1e087c.entry.js → p-39c6215e.entry.js} +1 -1
  944. package/dist/digi-arbetsformedlingen/{p-337f4e34.entry.js → p-3a90a7fc.entry.js} +1 -1
  945. package/dist/digi-arbetsformedlingen/{p-f22db19f.entry.js → p-3aa2f442.entry.js} +1 -1
  946. package/dist/digi-arbetsformedlingen/{p-1bdefea6.entry.js → p-3d2a6129.entry.js} +1 -1
  947. package/dist/digi-arbetsformedlingen/{p-9753d608.entry.js → p-3db462ee.entry.js} +1 -1
  948. package/dist/digi-arbetsformedlingen/{p-83d79598.entry.js → p-3dee6ab1.entry.js} +1 -1
  949. package/dist/digi-arbetsformedlingen/{p-60d6eae9.entry.js → p-3deed624.entry.js} +1 -1
  950. package/dist/digi-arbetsformedlingen/{p-8ff6ab63.entry.js → p-3e190eab.entry.js} +1 -1
  951. package/dist/digi-arbetsformedlingen/{p-f3804e70.entry.js → p-3e87c270.entry.js} +1 -1
  952. package/dist/digi-arbetsformedlingen/{p-90d4ba22.entry.js → p-3f76fe1f.entry.js} +1 -1
  953. package/dist/digi-arbetsformedlingen/p-4064cd87.entry.js +1 -0
  954. package/dist/digi-arbetsformedlingen/{p-fc3c1670.entry.js → p-40dbd064.entry.js} +1 -1
  955. package/dist/digi-arbetsformedlingen/{p-855235f5.entry.js → p-41b04bce.entry.js} +1 -1
  956. package/dist/digi-arbetsformedlingen/{p-d364f443.entry.js → p-4257e1be.entry.js} +1 -1
  957. package/dist/digi-arbetsformedlingen/{p-debd0ff0.entry.js → p-43704d7d.entry.js} +1 -1
  958. package/dist/digi-arbetsformedlingen/{p-a14547cf.entry.js → p-46255d54.entry.js} +1 -1
  959. package/dist/digi-arbetsformedlingen/{p-c5e1ade7.entry.js → p-477b072a.entry.js} +1 -1
  960. package/dist/digi-arbetsformedlingen/{p-de76be08.entry.js → p-48c6416d.entry.js} +1 -1
  961. package/dist/digi-arbetsformedlingen/{p-bda42b36.entry.js → p-49045f39.entry.js} +1 -1
  962. package/dist/digi-arbetsformedlingen/{p-553a6055.entry.js → p-4bb9a961.entry.js} +1 -1
  963. package/dist/digi-arbetsformedlingen/{p-f2307475.entry.js → p-4c4b4882.entry.js} +1 -1
  964. package/dist/digi-arbetsformedlingen/{p-f9c1bea2.entry.js → p-4d99a725.entry.js} +1 -1
  965. package/dist/digi-arbetsformedlingen/{p-eb9f6abc.entry.js → p-4dd1d8db.entry.js} +1 -1
  966. package/dist/digi-arbetsformedlingen/{p-2ad0842e.entry.js → p-4e06c96a.entry.js} +1 -1
  967. package/dist/digi-arbetsformedlingen/{p-472f1194.entry.js → p-5163adc8.entry.js} +1 -1
  968. package/dist/digi-arbetsformedlingen/{p-7e156841.entry.js → p-540a773b.entry.js} +1 -1
  969. package/dist/digi-arbetsformedlingen/{p-6ae047e7.entry.js → p-550643ce.entry.js} +1 -1
  970. package/dist/digi-arbetsformedlingen/{p-cc15ee7a.entry.js → p-563e37c7.entry.js} +1 -1
  971. package/dist/digi-arbetsformedlingen/{p-3df3721e.entry.js → p-57419950.entry.js} +1 -1
  972. package/dist/digi-arbetsformedlingen/{p-fbef7342.entry.js → p-59379085.entry.js} +1 -1
  973. package/dist/digi-arbetsformedlingen/{p-091ce7e1.entry.js → p-59cae4c1.entry.js} +1 -1
  974. package/dist/digi-arbetsformedlingen/p-5c05f352.entry.js +1 -0
  975. package/dist/digi-arbetsformedlingen/p-5e58972f.entry.js +1 -0
  976. package/dist/digi-arbetsformedlingen/{p-21eb286a.entry.js → p-5f551436.entry.js} +1 -1
  977. package/dist/digi-arbetsformedlingen/{p-3a29e0a3.entry.js → p-602e1911.entry.js} +1 -1
  978. package/dist/digi-arbetsformedlingen/{p-d3e50866.entry.js → p-62d1eab7.entry.js} +1 -1
  979. package/dist/digi-arbetsformedlingen/{p-48d83e19.entry.js → p-6590140b.entry.js} +1 -1
  980. package/dist/digi-arbetsformedlingen/{p-9d79101f.entry.js → p-66f8a2c2.entry.js} +1 -1
  981. package/dist/digi-arbetsformedlingen/{p-683449c2.entry.js → p-6797dd05.entry.js} +1 -1
  982. package/dist/digi-arbetsformedlingen/{p-fe936d4c.entry.js → p-67b254fc.entry.js} +1 -1
  983. package/dist/digi-arbetsformedlingen/{p-9f4e3e11.entry.js → p-6b3938cc.entry.js} +1 -1
  984. package/dist/digi-arbetsformedlingen/{p-44313724.entry.js → p-6d54c272.entry.js} +1 -1
  985. package/dist/digi-arbetsformedlingen/{p-7b6012dd.entry.js → p-6dd033f2.entry.js} +1 -1
  986. package/dist/digi-arbetsformedlingen/{p-970e230e.entry.js → p-6ee69762.entry.js} +1 -1
  987. package/dist/digi-arbetsformedlingen/{p-2946b963.entry.js → p-6f31da13.entry.js} +1 -1
  988. package/dist/digi-arbetsformedlingen/{p-aee4c656.entry.js → p-6fc88075.entry.js} +1 -1
  989. package/dist/digi-arbetsformedlingen/{p-7ffa4ba6.entry.js → p-71ccda1b.entry.js} +1 -1
  990. package/dist/digi-arbetsformedlingen/{p-5aa65c25.entry.js → p-72be5544.entry.js} +1 -1
  991. package/dist/digi-arbetsformedlingen/{p-ed370f97.entry.js → p-736eb5c8.entry.js} +1 -1
  992. package/dist/digi-arbetsformedlingen/p-73e1a5ab.entry.js +1 -0
  993. package/dist/digi-arbetsformedlingen/{p-15e68002.entry.js → p-75e182cc.entry.js} +1 -1
  994. package/dist/digi-arbetsformedlingen/p-764b73ea.entry.js +1 -0
  995. package/dist/digi-arbetsformedlingen/{p-3c6714ba.entry.js → p-7773251e.entry.js} +1 -1
  996. package/dist/digi-arbetsformedlingen/{p-5ea527a2.entry.js → p-77fe1fd0.entry.js} +1 -1
  997. package/dist/digi-arbetsformedlingen/{p-f5bea760.entry.js → p-785e46d4.entry.js} +1 -1
  998. package/dist/digi-arbetsformedlingen/{p-281a3a0e.entry.js → p-7a22f33c.entry.js} +1 -1
  999. package/dist/digi-arbetsformedlingen/{p-f662e05a.entry.js → p-7a67e3fd.entry.js} +1 -1
  1000. package/dist/digi-arbetsformedlingen/{p-d8d82e22.entry.js → p-7a7b26b3.entry.js} +1 -1
  1001. package/dist/digi-arbetsformedlingen/{p-852cd34e.entry.js → p-7bb567b2.entry.js} +1 -1
  1002. package/dist/digi-arbetsformedlingen/{p-cdfc2cd3.entry.js → p-7deb9e89.entry.js} +1 -1
  1003. package/dist/digi-arbetsformedlingen/{p-ebd4dfd0.entry.js → p-7e5db6d4.entry.js} +1 -1
  1004. package/dist/digi-arbetsformedlingen/{p-e091049f.entry.js → p-7eb06ffb.entry.js} +1 -1
  1005. package/dist/digi-arbetsformedlingen/{p-a634bf79.entry.js → p-7ef37b46.entry.js} +1 -1
  1006. package/dist/digi-arbetsformedlingen/{p-bae7b406.entry.js → p-7f92b5e7.entry.js} +1 -1
  1007. package/dist/digi-arbetsformedlingen/{p-7309a0c6.entry.js → p-7fea860c.entry.js} +1 -1
  1008. package/dist/digi-arbetsformedlingen/{p-505b2e91.entry.js → p-80e11d4c.entry.js} +1 -1
  1009. package/dist/digi-arbetsformedlingen/{p-d62f6b83.entry.js → p-8127b7db.entry.js} +1 -1
  1010. package/dist/digi-arbetsformedlingen/{p-edda9cea.entry.js → p-82d69cca.entry.js} +1 -1
  1011. package/dist/digi-arbetsformedlingen/{p-c806f73a.entry.js → p-83113513.entry.js} +1 -1
  1012. package/dist/digi-arbetsformedlingen/{p-cd7cb485.entry.js → p-833c1a34.entry.js} +1 -1
  1013. package/dist/digi-arbetsformedlingen/{p-d518037b.entry.js → p-87423d5a.entry.js} +1 -1
  1014. package/dist/digi-arbetsformedlingen/{p-2e4b2131.entry.js → p-88a5eebc.entry.js} +1 -1
  1015. package/dist/digi-arbetsformedlingen/p-88f3a6fb.entry.js +1 -0
  1016. package/dist/digi-arbetsformedlingen/{p-cdc5d4db.entry.js → p-88f412a8.entry.js} +1 -1
  1017. package/dist/digi-arbetsformedlingen/{p-3ec0b518.entry.js → p-89215a7e.entry.js} +1 -1
  1018. package/dist/digi-arbetsformedlingen/{p-54a6ae4f.entry.js → p-8a66d2f5.entry.js} +1 -1
  1019. package/dist/digi-arbetsformedlingen/{p-547dc26b.entry.js → p-8adac287.entry.js} +1 -1
  1020. package/dist/digi-arbetsformedlingen/{p-289d9209.entry.js → p-8bb28549.entry.js} +1 -1
  1021. package/dist/digi-arbetsformedlingen/p-8bf670be.entry.js +1 -0
  1022. package/dist/digi-arbetsformedlingen/{p-a248a8f9.entry.js → p-8c70b414.entry.js} +1 -1
  1023. package/dist/digi-arbetsformedlingen/{p-bb100519.entry.js → p-8e481ebd.entry.js} +1 -1
  1024. package/dist/digi-arbetsformedlingen/p-8e90865a.entry.js +1 -0
  1025. package/dist/digi-arbetsformedlingen/p-8eb5223e.entry.js +1 -0
  1026. package/dist/digi-arbetsformedlingen/{p-483595f2.entry.js → p-91c0670e.entry.js} +1 -1
  1027. package/dist/digi-arbetsformedlingen/p-92020915.js +1 -0
  1028. package/dist/digi-arbetsformedlingen/{p-73865ac0.entry.js → p-920a6084.entry.js} +1 -1
  1029. package/dist/digi-arbetsformedlingen/{p-83845de6.entry.js → p-92bd3e86.entry.js} +1 -1
  1030. package/dist/digi-arbetsformedlingen/{p-9c6b9355.entry.js → p-92f806c4.entry.js} +1 -1
  1031. package/dist/digi-arbetsformedlingen/{p-0fa38318.entry.js → p-953ffe55.entry.js} +1 -1
  1032. package/dist/digi-arbetsformedlingen/p-95b5dda1.entry.js +1 -0
  1033. package/dist/digi-arbetsformedlingen/{p-0001cf5c.entry.js → p-97a36575.entry.js} +1 -1
  1034. package/dist/digi-arbetsformedlingen/{p-f74730ce.entry.js → p-9a55cb51.entry.js} +1 -1
  1035. package/dist/digi-arbetsformedlingen/{p-12ac6a49.entry.js → p-9ba89d2c.entry.js} +1 -1
  1036. package/dist/digi-arbetsformedlingen/{p-ad430a43.entry.js → p-9bc1c020.entry.js} +1 -1
  1037. package/dist/digi-arbetsformedlingen/{p-ce00f497.entry.js → p-9be015cf.entry.js} +1 -1
  1038. package/dist/digi-arbetsformedlingen/{p-aa6d0fd0.entry.js → p-9cbdc766.entry.js} +1 -1
  1039. package/dist/digi-arbetsformedlingen/{p-fd75941f.entry.js → p-9eef2ffc.entry.js} +1 -1
  1040. package/dist/digi-arbetsformedlingen/{p-e0f01a5e.entry.js → p-9f93007d.entry.js} +1 -1
  1041. package/dist/digi-arbetsformedlingen/{p-6e00e9cc.entry.js → p-a01a3da6.entry.js} +1 -1
  1042. package/dist/digi-arbetsformedlingen/p-a105d9fe.js +1 -0
  1043. package/dist/digi-arbetsformedlingen/{p-da3142ce.entry.js → p-a167d390.entry.js} +1 -1
  1044. package/dist/digi-arbetsformedlingen/p-a206dfa3.entry.js +1 -0
  1045. package/dist/digi-arbetsformedlingen/{p-eccdd3cc.entry.js → p-a21a91e4.entry.js} +1 -1
  1046. package/dist/digi-arbetsformedlingen/{p-3f812b05.entry.js → p-a227b733.entry.js} +1 -1
  1047. package/dist/digi-arbetsformedlingen/{p-d7859220.entry.js → p-a248f9e0.entry.js} +1 -1
  1048. package/dist/digi-arbetsformedlingen/{p-f4d6cd43.entry.js → p-a2859df3.entry.js} +1 -1
  1049. package/dist/digi-arbetsformedlingen/{p-414c94b3.entry.js → p-a8469f02.entry.js} +1 -1
  1050. package/dist/digi-arbetsformedlingen/{p-6f68f279.entry.js → p-a9332308.entry.js} +1 -1
  1051. package/dist/digi-arbetsformedlingen/{p-be52f1b2.entry.js → p-a93f2b6b.entry.js} +1 -1
  1052. package/dist/digi-arbetsformedlingen/{p-6490235a.entry.js → p-a96c44b4.entry.js} +1 -1
  1053. package/dist/digi-arbetsformedlingen/{p-52f96766.entry.js → p-aa0a4940.entry.js} +1 -1
  1054. package/dist/digi-arbetsformedlingen/{p-7127989a.entry.js → p-addcff39.entry.js} +1 -1
  1055. package/dist/digi-arbetsformedlingen/{p-152a0b44.entry.js → p-afc62148.entry.js} +1 -1
  1056. package/dist/digi-arbetsformedlingen/{p-d63fedae.entry.js → p-b056ce71.entry.js} +1 -1
  1057. package/dist/digi-arbetsformedlingen/{p-7af5843f.entry.js → p-b0bcac7a.entry.js} +1 -1
  1058. package/dist/digi-arbetsformedlingen/{p-c5727b62.entry.js → p-b14092da.entry.js} +1 -1
  1059. package/dist/digi-arbetsformedlingen/{p-6f07d1e2.entry.js → p-b20ca0d2.entry.js} +1 -1
  1060. package/dist/digi-arbetsformedlingen/{p-98b41b1a.entry.js → p-b34f09c7.entry.js} +1 -1
  1061. package/dist/digi-arbetsformedlingen/{p-b28e2233.entry.js → p-b4c0fa1a.entry.js} +1 -1
  1062. package/dist/digi-arbetsformedlingen/{p-8d9fa92a.entry.js → p-b5773ac6.entry.js} +1 -1
  1063. package/dist/digi-arbetsformedlingen/{p-0a144669.entry.js → p-b5e59413.entry.js} +1 -1
  1064. package/dist/digi-arbetsformedlingen/p-b61d361d.entry.js +1 -0
  1065. package/dist/digi-arbetsformedlingen/p-b68ddb2a.entry.js +1 -0
  1066. package/dist/digi-arbetsformedlingen/{p-cdf38b2f.entry.js → p-b737100d.entry.js} +1 -1
  1067. package/dist/digi-arbetsformedlingen/{p-1be9af09.entry.js → p-b78dae7a.entry.js} +1 -1
  1068. package/dist/digi-arbetsformedlingen/{p-258d45f9.entry.js → p-b8dac9c5.entry.js} +1 -1
  1069. package/dist/digi-arbetsformedlingen/{p-018e19b4.entry.js → p-ba5d7f76.entry.js} +1 -1
  1070. package/dist/digi-arbetsformedlingen/{p-f55935d3.entry.js → p-bde668a9.entry.js} +1 -1
  1071. package/dist/digi-arbetsformedlingen/p-be06f90f.entry.js +1 -0
  1072. package/dist/digi-arbetsformedlingen/{p-4c21b147.entry.js → p-be098fa5.entry.js} +1 -1
  1073. package/dist/digi-arbetsformedlingen/{p-7bfe28c9.entry.js → p-be6e3f1d.entry.js} +1 -1
  1074. package/dist/digi-arbetsformedlingen/{p-f0f8dbfb.entry.js → p-bf126f0a.entry.js} +1 -1
  1075. package/dist/digi-arbetsformedlingen/{p-8f3f4002.entry.js → p-bf60efc6.entry.js} +1 -1
  1076. package/dist/digi-arbetsformedlingen/{p-3dcdbf1a.entry.js → p-bf6b8be5.entry.js} +1 -1
  1077. package/dist/digi-arbetsformedlingen/{p-411a52b5.entry.js → p-bf7f5faa.entry.js} +1 -1
  1078. package/dist/digi-arbetsformedlingen/{p-fadc3f23.entry.js → p-c08fec62.entry.js} +1 -1
  1079. package/dist/digi-arbetsformedlingen/{p-4a390d2b.entry.js → p-c256bd52.entry.js} +1 -1
  1080. package/dist/digi-arbetsformedlingen/{p-8fc1143f.js → p-c2ee26cb.js} +1 -1
  1081. package/dist/digi-arbetsformedlingen/{p-f760a83a.entry.js → p-c59bcd72.entry.js} +1 -1
  1082. package/dist/digi-arbetsformedlingen/{p-112fe1c1.entry.js → p-c5afc827.entry.js} +1 -1
  1083. package/dist/digi-arbetsformedlingen/{p-e68eacf6.entry.js → p-c68ca2da.entry.js} +1 -1
  1084. package/dist/digi-arbetsformedlingen/{p-b971091a.entry.js → p-c803825a.entry.js} +1 -1
  1085. package/dist/digi-arbetsformedlingen/{p-11c7cadf.entry.js → p-cacdf700.entry.js} +1 -1
  1086. package/dist/digi-arbetsformedlingen/{p-62b96f54.entry.js → p-cbd4461c.entry.js} +1 -1
  1087. package/dist/digi-arbetsformedlingen/{p-50040b60.entry.js → p-cd6f2668.entry.js} +1 -1
  1088. package/dist/digi-arbetsformedlingen/{p-0660fc19.entry.js → p-cdab9a0e.entry.js} +1 -1
  1089. package/dist/digi-arbetsformedlingen/{p-f315fe6f.entry.js → p-ce59bde6.entry.js} +1 -1
  1090. package/dist/digi-arbetsformedlingen/{p-989b605d.entry.js → p-cf1aa952.entry.js} +1 -1
  1091. package/dist/digi-arbetsformedlingen/{p-0cb1b218.entry.js → p-cf994156.entry.js} +1 -1
  1092. package/dist/digi-arbetsformedlingen/p-d28f8b37.entry.js +1 -0
  1093. package/dist/digi-arbetsformedlingen/{p-0a1e9978.entry.js → p-d34cda5c.entry.js} +1 -1
  1094. package/dist/digi-arbetsformedlingen/{p-16fbe826.entry.js → p-d3d619a3.entry.js} +1 -1
  1095. package/dist/digi-arbetsformedlingen/p-d4a341f4.js +1 -0
  1096. package/dist/digi-arbetsformedlingen/{p-d9e96527.entry.js → p-d4ac6a10.entry.js} +1 -1
  1097. package/dist/digi-arbetsformedlingen/{p-e024647d.entry.js → p-d5d64b5d.entry.js} +1 -1
  1098. package/dist/digi-arbetsformedlingen/p-d6906bae.entry.js +1 -0
  1099. package/dist/digi-arbetsformedlingen/{p-5e245979.entry.js → p-d715b5ed.entry.js} +1 -1
  1100. package/dist/digi-arbetsformedlingen/{p-deb9c169.entry.js → p-d7d89adf.entry.js} +1 -1
  1101. package/dist/digi-arbetsformedlingen/{p-08f7cac3.entry.js → p-d807cb30.entry.js} +1 -1
  1102. package/dist/digi-arbetsformedlingen/{p-4697a052.entry.js → p-d922c956.entry.js} +1 -1
  1103. package/dist/digi-arbetsformedlingen/{p-dea3cb5c.entry.js → p-d98ec971.entry.js} +1 -1
  1104. package/dist/digi-arbetsformedlingen/{p-c068aad9.entry.js → p-da335886.entry.js} +1 -1
  1105. package/dist/digi-arbetsformedlingen/p-dce7e8b5.entry.js +1 -0
  1106. package/dist/digi-arbetsformedlingen/{p-84939fc1.entry.js → p-dea66113.entry.js} +1 -1
  1107. package/dist/digi-arbetsformedlingen/{p-dc405249.entry.js → p-dfb97030.entry.js} +1 -1
  1108. package/dist/digi-arbetsformedlingen/{p-044639bf.entry.js → p-dfd68b21.entry.js} +1 -1
  1109. package/dist/digi-arbetsformedlingen/p-dfdcdbde.entry.js +1 -0
  1110. package/dist/digi-arbetsformedlingen/{p-f81a4344.entry.js → p-dfeaa860.entry.js} +1 -1
  1111. package/dist/digi-arbetsformedlingen/{p-582ca2e2.entry.js → p-e03fe7fa.entry.js} +1 -1
  1112. package/dist/digi-arbetsformedlingen/{p-eedf4d6b.entry.js → p-e23519db.entry.js} +1 -1
  1113. package/dist/digi-arbetsformedlingen/{p-c2065119.entry.js → p-e2bd585e.entry.js} +1 -1
  1114. package/dist/digi-arbetsformedlingen/{p-fcd543da.entry.js → p-e3a9e24c.entry.js} +1 -1
  1115. package/dist/digi-arbetsformedlingen/p-e540b299.entry.js +1 -0
  1116. package/dist/digi-arbetsformedlingen/{p-232a01fa.entry.js → p-e5426458.entry.js} +1 -1
  1117. package/dist/digi-arbetsformedlingen/{p-483e9d8a.entry.js → p-e641fdee.entry.js} +1 -1
  1118. package/dist/digi-arbetsformedlingen/{p-3cee81b1.entry.js → p-e73e15b5.entry.js} +1 -1
  1119. package/dist/digi-arbetsformedlingen/{p-c5efe567.entry.js → p-e753b82b.entry.js} +1 -1
  1120. package/dist/digi-arbetsformedlingen/{p-cbf294ca.entry.js → p-e7702b99.entry.js} +1 -1
  1121. package/dist/digi-arbetsformedlingen/{p-c61c80e3.entry.js → p-e8804aab.entry.js} +1 -1
  1122. package/dist/digi-arbetsformedlingen/{p-48694534.entry.js → p-e91f230f.entry.js} +1 -1
  1123. package/dist/digi-arbetsformedlingen/{p-ba0337e4.entry.js → p-e928b31b.entry.js} +1 -1
  1124. package/dist/digi-arbetsformedlingen/{p-4e68c721.entry.js → p-eb45bd78.entry.js} +1 -1
  1125. package/dist/digi-arbetsformedlingen/{p-b5e0df04.entry.js → p-ece715b2.entry.js} +1 -1
  1126. package/dist/digi-arbetsformedlingen/{p-261867f6.entry.js → p-ef244330.entry.js} +1 -1
  1127. package/dist/digi-arbetsformedlingen/p-ef54d1eb.entry.js +1 -0
  1128. package/dist/digi-arbetsformedlingen/{p-b75b1548.entry.js → p-f1ed1dff.entry.js} +1 -1
  1129. package/dist/digi-arbetsformedlingen/{p-61b59b3b.entry.js → p-f4172911.entry.js} +1 -1
  1130. package/dist/digi-arbetsformedlingen/{p-0bc21274.entry.js → p-f584243f.entry.js} +1 -1
  1131. package/dist/digi-arbetsformedlingen/{p-34ec2b20.entry.js → p-f64c581c.entry.js} +1 -1
  1132. package/dist/digi-arbetsformedlingen/{p-135da07c.entry.js → p-f7766267.entry.js} +1 -1
  1133. package/dist/digi-arbetsformedlingen/{p-f6a9d64a.entry.js → p-f7b5f053.entry.js} +1 -1
  1134. package/dist/digi-arbetsformedlingen/{p-68f6a1d8.entry.js → p-f83cfb31.entry.js} +1 -1
  1135. package/dist/digi-arbetsformedlingen/{p-ef875efc.entry.js → p-f925fc0c.entry.js} +1 -1
  1136. package/dist/digi-arbetsformedlingen/{p-ce7e2e1e.entry.js → p-f978cede.entry.js} +1 -1
  1137. package/dist/digi-arbetsformedlingen/p-fa97c49c.entry.js +1 -0
  1138. package/dist/digi-arbetsformedlingen/p-fc27de01.entry.js +1 -0
  1139. package/dist/digi-arbetsformedlingen/p-fcfdca1e.entry.js +1 -0
  1140. package/dist/digi-arbetsformedlingen/{p-dc0e7bbf.entry.js → p-fe754f19.entry.js} +1 -1
  1141. package/dist/digi-arbetsformedlingen/{p-7f747d50.entry.js → p-feac7704.entry.js} +1 -1
  1142. package/dist/esm/digi-arbetsformedlingen.js +1 -1
  1143. package/dist/esm/digi-bar-chart.entry.js +3 -3
  1144. package/dist/esm/digi-button.entry.js +126 -0
  1145. package/dist/esm/digi-calendar-week-view.entry.js +6 -7
  1146. package/dist/esm/digi-calendar_16.entry.js +3691 -0
  1147. package/dist/esm/digi-card.entry.js +1 -1
  1148. package/dist/esm/{digi-button_6.entry.js → digi-chart-line.entry.js} +5 -216
  1149. package/dist/esm/digi-code-block_3.entry.js +8 -13
  1150. package/dist/esm/digi-code-example.entry.js +5 -5
  1151. package/dist/esm/digi-code.entry.js +1 -1
  1152. package/dist/esm/digi-context-menu.entry.js +2 -2
  1153. package/dist/esm/digi-dialog.entry.js +6 -11
  1154. package/dist/esm/digi-expandable-accordion.entry.js +5 -10
  1155. package/dist/esm/digi-expandable-faq-item.entry.js +4 -4
  1156. package/dist/esm/digi-expandable-faq.entry.js +2 -2
  1157. package/dist/esm/digi-footer-card.entry.js +1 -1
  1158. package/dist/esm/digi-footer.entry.js +4 -9
  1159. package/dist/esm/digi-form-category-filter.entry.js +2 -2
  1160. package/dist/esm/digi-form-checkbox.entry.js +2 -2
  1161. package/dist/esm/digi-form-error-list.entry.js +6 -11
  1162. package/dist/esm/digi-form-file-upload.entry.js +9 -10
  1163. package/dist/esm/digi-form-filter.entry.js +6 -6
  1164. package/dist/esm/digi-form-input-search.entry.js +3 -4
  1165. package/dist/esm/digi-form-radiogroup.entry.js +1 -1
  1166. package/dist/esm/digi-form-receipt.entry.js +4 -9
  1167. package/dist/esm/digi-form-select-filter.entry.js +11 -16
  1168. package/dist/esm/digi-form-textarea.entry.js +3 -3
  1169. package/dist/esm/digi-header-avatar.entry.js +1 -1
  1170. package/dist/esm/digi-header-navigation-item.entry.js +1 -1
  1171. package/dist/esm/digi-header-navigation.entry.js +6 -11
  1172. package/dist/esm/digi-header-notification.entry.js +2 -2
  1173. package/dist/esm/digi-header.entry.js +5 -10
  1174. package/dist/esm/digi-icon-accessibility-deaf.entry.js +2 -2
  1175. package/dist/esm/digi-icon-accessibility-universal.entry.js +2 -2
  1176. package/dist/esm/digi-icon-apple.entry.js +2 -2
  1177. package/dist/esm/digi-icon-archive-outline.entry.js +2 -2
  1178. package/dist/esm/digi-icon-archive.entry.js +2 -2
  1179. package/dist/esm/digi-icon-arrow-back.entry.js +2 -2
  1180. package/dist/esm/digi-icon-arrow-down.entry.js +2 -2
  1181. package/dist/esm/digi-icon-arrow-left.entry.js +2 -2
  1182. package/dist/esm/digi-icon-arrow-right.entry.js +2 -2
  1183. package/dist/esm/digi-icon-arrow-sign-in.entry.js +2 -2
  1184. package/dist/esm/digi-icon-arrow-sign-out.entry.js +2 -2
  1185. package/dist/esm/digi-icon-arrow-up.entry.js +2 -2
  1186. package/dist/esm/digi-icon-at.entry.js +2 -2
  1187. package/dist/esm/digi-icon-bars.entry.js +2 -2
  1188. package/dist/esm/digi-icon-bell-filled.entry.js +2 -2
  1189. package/dist/esm/digi-icon-bell.entry.js +2 -2
  1190. package/dist/esm/digi-icon-book.entry.js +2 -2
  1191. package/dist/esm/digi-icon-bookmark-outline.entry.js +2 -2
  1192. package/dist/esm/digi-icon-bookmark-solid.entry.js +2 -2
  1193. package/dist/esm/digi-icon-bubble-ellipsis.entry.js +2 -2
  1194. package/dist/esm/digi-icon-bubble.entry.js +2 -2
  1195. package/dist/esm/digi-icon-building-outline.entry.js +2 -2
  1196. package/dist/esm/digi-icon-building-solid.entry.js +2 -2
  1197. package/dist/esm/digi-icon-bullseye.entry.js +2 -2
  1198. package/dist/esm/digi-icon-calculator-solid.entry.js +2 -2
  1199. package/dist/esm/digi-icon-calendar-alt-alert.entry.js +2 -2
  1200. package/dist/esm/digi-icon-calendar.entry.js +2 -2
  1201. package/dist/esm/digi-icon-caret-circle-right.entry.js +2 -2
  1202. package/dist/esm/digi-icon-caret-down_2.entry.js +4 -4
  1203. package/dist/esm/digi-icon-caret-left.entry.js +2 -2
  1204. package/dist/esm/digi-icon-caret-right.entry.js +2 -2
  1205. package/dist/esm/digi-icon-chart_2.entry.js +48 -0
  1206. package/dist/esm/digi-icon-chat.entry.js +2 -2
  1207. package/dist/esm/digi-icon-check-circle-reg-alt.entry.js +2 -2
  1208. package/dist/esm/digi-icon-check-circle-solid.entry.js +2 -2
  1209. package/dist/esm/digi-icon-check.entry.js +2 -2
  1210. package/dist/esm/digi-icon-checklist.entry.js +2 -2
  1211. package/dist/esm/digi-icon-chevron-down.entry.js +2 -2
  1212. package/dist/esm/digi-icon-chevron-up.entry.js +2 -2
  1213. package/dist/esm/digi-icon-clock.entry.js +2 -2
  1214. package/dist/esm/digi-icon-communication-play-solid.entry.js +2 -2
  1215. package/dist/esm/digi-icon-compress-alt.entry.js +2 -2
  1216. package/dist/esm/digi-icon-comunication-case.entry.js +2 -2
  1217. package/dist/esm/digi-icon-comunication-flag.entry.js +2 -2
  1218. package/dist/esm/digi-icon-comunication-graduate.entry.js +2 -2
  1219. package/dist/esm/digi-icon-comunication-play.entry.js +2 -2
  1220. package/dist/esm/digi-icon-cooperation.entry.js +2 -2
  1221. package/dist/esm/digi-icon-copy.entry.js +2 -2
  1222. package/dist/esm/digi-icon-danger-outline.entry.js +2 -2
  1223. package/dist/esm/digi-icon-download.entry.js +2 -2
  1224. package/dist/esm/digi-icon-dxa.entry.js +2 -2
  1225. package/dist/esm/digi-icon-edit.entry.js +2 -2
  1226. package/dist/esm/digi-icon-ellipsis.entry.js +2 -2
  1227. package/dist/esm/digi-icon-envelope-filled.entry.js +2 -2
  1228. package/dist/esm/digi-icon-envelope.entry.js +2 -2
  1229. package/dist/esm/digi-icon-exclamation-circle-filled.entry.js +2 -2
  1230. package/dist/esm/digi-icon-exclamation-triangle-filled.entry.js +2 -2
  1231. package/dist/esm/digi-icon-exclamation-triangle-warning.entry.js +2 -2
  1232. package/dist/esm/digi-icon-exclamation-triangle.entry.js +2 -2
  1233. package/dist/esm/digi-icon-expand-alt.entry.js +2 -2
  1234. package/dist/esm/digi-icon-external-link-alt_2.entry.js +3 -3
  1235. package/dist/esm/digi-icon-eye-slash.entry.js +2 -2
  1236. package/dist/esm/digi-icon-eye.entry.js +2 -2
  1237. package/dist/esm/digi-icon-facebook-square.entry.js +2 -2
  1238. package/dist/esm/digi-icon-file-add.entry.js +1 -1
  1239. package/dist/esm/digi-icon-file-document.entry.js +2 -2
  1240. package/dist/esm/digi-icon-file-excel.entry.js +2 -2
  1241. package/dist/esm/digi-icon-file-export.entry.js +1 -1
  1242. package/dist/esm/digi-icon-file-governing.entry.js +2 -2
  1243. package/dist/esm/digi-icon-file-pdf.entry.js +2 -2
  1244. package/dist/esm/digi-icon-file-powerpoint.entry.js +2 -2
  1245. package/dist/esm/digi-icon-file-remove.entry.js +1 -1
  1246. package/dist/esm/digi-icon-file-word.entry.js +2 -2
  1247. package/dist/esm/digi-icon-film.entry.js +2 -2
  1248. package/dist/esm/digi-icon-filter.entry.js +2 -2
  1249. package/dist/esm/digi-icon-folder-add.entry.js +1 -1
  1250. package/dist/esm/digi-icon-folder-directory.entry.js +1 -1
  1251. package/dist/esm/digi-icon-folder-open.entry.js +1 -1
  1252. package/dist/esm/digi-icon-folder.entry.js +1 -1
  1253. package/dist/esm/digi-icon-globe-filled.entry.js +2 -2
  1254. package/dist/esm/digi-icon-globe.entry.js +2 -2
  1255. package/dist/esm/digi-icon-headphones.entry.js +2 -2
  1256. package/dist/esm/digi-icon-heart-solid.entry.js +2 -2
  1257. package/dist/esm/digi-icon-heart.entry.js +2 -2
  1258. package/dist/esm/digi-icon-history.entry.js +2 -2
  1259. package/dist/esm/digi-icon-home.entry.js +2 -2
  1260. package/dist/esm/digi-icon-image.entry.js +2 -2
  1261. package/dist/esm/digi-icon-info-circle-solid.entry.js +2 -2
  1262. package/dist/esm/digi-icon-instagram.entry.js +2 -2
  1263. package/dist/esm/digi-icon-job-suggestion.entry.js +2 -2
  1264. package/dist/esm/digi-icon-language-outline_4.entry.js +11 -11
  1265. package/dist/esm/digi-icon-language.entry.js +2 -2
  1266. package/dist/esm/digi-icon-laptop-phone.entry.js +2 -2
  1267. package/dist/esm/digi-icon-lattlast.entry.js +2 -2
  1268. package/dist/esm/digi-icon-licence-bus.entry.js +2 -2
  1269. package/dist/esm/digi-icon-licence-car.entry.js +2 -2
  1270. package/dist/esm/digi-icon-licence-motorcycle.entry.js +2 -2
  1271. package/dist/esm/digi-icon-licence-truck.entry.js +2 -2
  1272. package/dist/esm/digi-icon-lightbulb.entry.js +2 -2
  1273. package/dist/esm/digi-icon-linkedin-in.entry.js +2 -2
  1274. package/dist/esm/digi-icon-list-ul_6.entry.js +12 -12
  1275. package/dist/esm/digi-icon-lock.entry.js +2 -2
  1276. package/dist/esm/digi-icon-marker-filled.entry.js +2 -2
  1277. package/dist/esm/digi-icon-marker.entry.js +2 -2
  1278. package/dist/esm/digi-icon-media-course.entry.js +2 -2
  1279. package/dist/esm/digi-icon-media-podcast.entry.js +2 -2
  1280. package/dist/esm/digi-icon-microphone-off.entry.js +2 -2
  1281. package/dist/esm/digi-icon-microphone.entry.js +2 -2
  1282. package/dist/esm/digi-icon-minus_2.entry.js +4 -4
  1283. package/dist/esm/digi-icon-move.entry.js +2 -2
  1284. package/dist/esm/digi-icon-notification-error_5.entry.js +9 -9
  1285. package/dist/esm/digi-icon-online-interview.entry.js +2 -2
  1286. package/dist/esm/digi-icon-online-meeting.entry.js +2 -2
  1287. package/dist/esm/digi-icon-online-task.entry.js +2 -2
  1288. package/dist/esm/digi-icon-open-source.entry.js +2 -2
  1289. package/dist/esm/digi-icon-palette.entry.js +2 -2
  1290. package/dist/esm/digi-icon-paperclip_3.entry.js +6 -6
  1291. package/dist/esm/digi-icon-paste.entry.js +1 -1
  1292. package/dist/esm/digi-icon-pen.entry.js +2 -2
  1293. package/dist/esm/digi-icon-phone-hangup.entry.js +2 -2
  1294. package/dist/esm/digi-icon-phone.entry.js +2 -2
  1295. package/dist/esm/digi-icon-print.entry.js +2 -2
  1296. package/dist/esm/digi-icon-read.entry.js +2 -2
  1297. package/dist/esm/digi-icon-redo.entry.js +2 -2
  1298. package/dist/esm/digi-icon-scale.entry.js +1 -1
  1299. package/dist/esm/digi-icon-screensharing-off.entry.js +2 -2
  1300. package/dist/esm/digi-icon-screensharing.entry.js +2 -2
  1301. package/dist/esm/digi-icon-search.entry.js +2 -2
  1302. package/dist/esm/digi-icon-send-outline.entry.js +2 -2
  1303. package/dist/esm/digi-icon-send-solid.entry.js +2 -2
  1304. package/dist/esm/digi-icon-settings.entry.js +2 -2
  1305. package/dist/esm/digi-icon-share-alt.entry.js +2 -2
  1306. package/dist/esm/digi-icon-share-chain.entry.js +2 -2
  1307. package/dist/esm/digi-icon-sliders-h.entry.js +2 -2
  1308. package/dist/esm/digi-icon-sokkandidat.entry.js +2 -2
  1309. package/dist/esm/digi-icon-sort-down.entry.js +2 -2
  1310. package/dist/esm/digi-icon-sort-up.entry.js +2 -2
  1311. package/dist/esm/digi-icon-sort.entry.js +2 -2
  1312. package/dist/esm/digi-icon-spinner.entry.js +2 -2
  1313. package/dist/esm/digi-icon-star-reg.entry.js +2 -2
  1314. package/dist/esm/digi-icon-star.entry.js +2 -2
  1315. package/dist/esm/digi-icon-suitcase-outline.entry.js +2 -2
  1316. package/dist/esm/digi-icon-suitcase-solid.entry.js +2 -2
  1317. package/dist/esm/digi-icon-system-assistance.entry.js +2 -2
  1318. package/dist/esm/digi-icon-table-column.entry.js +2 -2
  1319. package/dist/esm/digi-icon-table-row.entry.js +2 -2
  1320. package/dist/esm/digi-icon-task-done.entry.js +2 -2
  1321. package/dist/esm/digi-icon-toggle-off.entry.js +2 -2
  1322. package/dist/esm/digi-icon-toggle-on.entry.js +2 -2
  1323. package/dist/esm/digi-icon-twitter.entry.js +2 -2
  1324. package/dist/esm/digi-icon-tyck-till.entry.js +2 -2
  1325. package/dist/esm/digi-icon-unlock.entry.js +2 -2
  1326. package/dist/esm/digi-icon-update.entry.js +2 -2
  1327. package/dist/esm/digi-icon-upload.entry.js +2 -2
  1328. package/dist/esm/digi-icon-user-add.entry.js +1 -1
  1329. package/dist/esm/digi-icon-user-alt.entry.js +2 -2
  1330. package/dist/esm/digi-icon-user-edit.entry.js +1 -1
  1331. package/dist/esm/digi-icon-users-solid.entry.js +2 -2
  1332. package/dist/esm/digi-icon-videocamera-off.entry.js +2 -2
  1333. package/dist/esm/digi-icon-videocamera.entry.js +2 -2
  1334. package/dist/esm/digi-icon-web-tv.entry.js +2 -2
  1335. package/dist/esm/digi-icon-wifi-signal0.entry.js +2 -2
  1336. package/dist/esm/digi-icon-wifi-signal1.entry.js +2 -2
  1337. package/dist/esm/digi-icon-wifi-signal2.entry.js +2 -2
  1338. package/dist/esm/digi-icon-wifi-signal3.entry.js +2 -2
  1339. package/dist/esm/digi-icon-window.entry.js +2 -2
  1340. package/dist/esm/digi-icon-x-button.entry.js +2 -2
  1341. package/dist/esm/digi-icon-x.entry.js +26 -0
  1342. package/dist/esm/digi-icon-youtube.entry.js +2 -2
  1343. package/dist/esm/digi-info-card-multi-container.entry.js +1 -1
  1344. package/dist/esm/digi-info-card-multi.entry.js +1 -1
  1345. package/dist/esm/digi-info-card.entry.js +1 -1
  1346. package/dist/esm/digi-layout-block_2.entry.js +2 -2
  1347. package/dist/esm/digi-layout-columns.entry.js +1 -1
  1348. package/dist/esm/digi-link-button.entry.js +1 -1
  1349. package/dist/esm/digi-link-internal.entry.js +1 -1
  1350. package/dist/esm/digi-link.entry.js +1 -1
  1351. package/dist/esm/digi-list.entry.js +1 -1
  1352. package/dist/esm/digi-loader-skeleton.entry.js +3 -3
  1353. package/dist/esm/digi-loader-spinner.entry.js +1 -1
  1354. package/dist/esm/digi-logo_2.entry.js +3 -3
  1355. package/dist/esm/digi-media-figure.entry.js +1 -1
  1356. package/dist/esm/digi-media-image_2.entry.js +3 -3
  1357. package/dist/esm/digi-navigation-breadcrumbs.entry.js +3 -3
  1358. package/dist/esm/digi-navigation-pagination.entry.js +9 -14
  1359. package/dist/esm/digi-navigation-sidebar.entry.js +2 -2
  1360. package/dist/esm/digi-navigation-vertical-menu-item.entry.js +6 -6
  1361. package/dist/esm/digi-navigation-vertical-menu.entry.js +1 -1
  1362. package/dist/esm/digi-notification-alert.entry.js +5 -10
  1363. package/dist/esm/digi-notification-error-page.entry.js +6 -11
  1364. package/dist/esm/digi-progress-circle.entry.js +9 -9
  1365. package/dist/esm/digi-progress-indicator.entry.js +4 -4
  1366. package/dist/esm/digi-progress-list-item.entry.js +6 -6
  1367. package/dist/esm/digi-progress-list.entry.js +1 -1
  1368. package/dist/esm/digi-progressbar.entry.js +3 -3
  1369. package/dist/esm/digi-quote.entry.js +1 -1
  1370. package/dist/esm/digi-table.entry.js +1 -1
  1371. package/dist/esm/digi-tablist-panel.entry.js +2 -2
  1372. package/dist/esm/digi-tablist.entry.js +5 -5
  1373. package/dist/esm/digi-tag-media.entry.js +2 -2
  1374. package/dist/esm/digi-tag.entry.js +2 -2
  1375. package/dist/esm/digi-tools-feedback-banner.entry.js +1 -1
  1376. package/dist/esm/digi-tools-feedback-rating.entry.js +1 -1
  1377. package/dist/esm/digi-tools-feedback.entry.js +4 -9
  1378. package/dist/esm/digi-tools-languagepicker.entry.js +3 -3
  1379. package/dist/esm/digi-typography-heading-jumbo.entry.js +1 -1
  1380. package/dist/esm/digi-typography-meta.entry.js +1 -1
  1381. package/dist/esm/digi-typography-preamble.entry.js +1 -1
  1382. package/dist/esm/digi-typography-time.entry.js +2 -2
  1383. package/dist/esm/digi-util-breakpoint-observer.entry.js +1 -1
  1384. package/dist/esm/digi-util-detect-click-outside.entry.js +1 -1
  1385. package/dist/esm/digi-util-detect-focus-outside.entry.js +1 -1
  1386. package/dist/esm/digi-util-keyup-handler.entry.js +1 -1
  1387. package/dist/esm/digi-util-resize-observer.entry.js +1 -1
  1388. package/dist/esm/{form-input-type.enum-3da3db27.js → form-input-type.enum-62a97d5d.js} +8 -1
  1389. package/dist/esm/{form-file-upload-variation.enum-9c49ec5e.js → form-validation-message-variation.enum-f7835fc5.js} +8 -1
  1390. package/dist/esm/index-8e318bb2.js +14 -34
  1391. package/dist/esm/{index-2fce392f.js → index-dc6b83f7.js} +170 -3
  1392. package/dist/esm/index.js +3 -8
  1393. package/dist/esm/{linear-f59f8318.js → linear-ef018ffb.js} +1 -1
  1394. package/dist/esm/loader.js +1 -1
  1395. package/dist/esm/{text-ee5498fa.js → text-26e02c8d.js} +13 -0
  1396. package/dist/esm/{tools-feedback-variation.enum-4bfb560b.js → typography-variation.enum-eff5d5d8.js} +50 -1
  1397. package/dist/types/components/_calendar/calendar/calendar.d.ts +1 -1
  1398. package/dist/types/components/_calendar/calendar-datepicker/calendar-datepicker.d.ts +11 -0
  1399. package/dist/types/components/_form/form-input/form-input.d.ts +7 -0
  1400. package/dist/types/components.d.ts +30 -0
  1401. package/dist/types/text/locale/sv/text.d.ts +13 -0
  1402. package/hydrate/index.js +635 -583
  1403. package/hydrate/index.mjs +635 -583
  1404. package/package.json +1 -1
  1405. package/dist/cjs/digi-calendar-datepicker.cjs.entry.js +0 -2475
  1406. package/dist/cjs/digi-calendar_2.cjs.entry.js +0 -474
  1407. package/dist/cjs/digi-form-input.cjs.entry.js +0 -157
  1408. package/dist/cjs/digi-form-label_5.cjs.entry.js +0 -175
  1409. package/dist/cjs/digi-form-select_2.cjs.entry.js +0 -176
  1410. package/dist/cjs/digi-icon-chevron-left.cjs.entry.js +0 -30
  1411. package/dist/cjs/digi-icon-chevron-right.cjs.entry.js +0 -30
  1412. package/dist/cjs/digi-util-keydown-handler.cjs.entry.js +0 -83
  1413. package/dist/cjs/digi-util-mutation-observer.cjs.entry.js +0 -64
  1414. package/dist/cjs/form-input-search-variation.enum-c50239bc.js +0 -8
  1415. package/dist/cjs/form-input-variation.enum-c750520c.js +0 -29
  1416. package/dist/cjs/form-select-variation.enum-528c1bf0.js +0 -16
  1417. package/dist/cjs/form-validation-message-variation.enum-855ae0be.js +0 -8
  1418. package/dist/cjs/index-cad91a90.js +0 -66
  1419. package/dist/cjs/index-e8333bcc.js +0 -174
  1420. package/dist/cjs/typography-variation.enum-5b035b3b.js +0 -7
  1421. package/dist/digi-arbetsformedlingen/p-03b8a868.entry.js +0 -1
  1422. package/dist/digi-arbetsformedlingen/p-15023a23.entry.js +0 -1
  1423. package/dist/digi-arbetsformedlingen/p-1d065367.js +0 -1
  1424. package/dist/digi-arbetsformedlingen/p-1f3345e9.js +0 -1
  1425. package/dist/digi-arbetsformedlingen/p-1f956af8.js +0 -1
  1426. package/dist/digi-arbetsformedlingen/p-3d09a145.entry.js +0 -1
  1427. package/dist/digi-arbetsformedlingen/p-3fa65c95.entry.js +0 -1
  1428. package/dist/digi-arbetsformedlingen/p-3fe226c2.entry.js +0 -1
  1429. package/dist/digi-arbetsformedlingen/p-42aa440f.js +0 -1
  1430. package/dist/digi-arbetsformedlingen/p-46eedad8.entry.js +0 -1
  1431. package/dist/digi-arbetsformedlingen/p-4ef42d4d.entry.js +0 -1
  1432. package/dist/digi-arbetsformedlingen/p-54045524.entry.js +0 -1
  1433. package/dist/digi-arbetsformedlingen/p-57981fc7.entry.js +0 -1
  1434. package/dist/digi-arbetsformedlingen/p-608accbd.entry.js +0 -1
  1435. package/dist/digi-arbetsformedlingen/p-6332ca65.entry.js +0 -1
  1436. package/dist/digi-arbetsformedlingen/p-6660ba69.entry.js +0 -1
  1437. package/dist/digi-arbetsformedlingen/p-74ed203e.entry.js +0 -1
  1438. package/dist/digi-arbetsformedlingen/p-75d2fa68.entry.js +0 -1
  1439. package/dist/digi-arbetsformedlingen/p-7933b555.js +0 -1
  1440. package/dist/digi-arbetsformedlingen/p-7aacd45f.js +0 -1
  1441. package/dist/digi-arbetsformedlingen/p-88b4d03a.js +0 -1
  1442. package/dist/digi-arbetsformedlingen/p-903b00e6.js +0 -1
  1443. package/dist/digi-arbetsformedlingen/p-905ccb30.js +0 -1
  1444. package/dist/digi-arbetsformedlingen/p-916a1979.entry.js +0 -1
  1445. package/dist/digi-arbetsformedlingen/p-91a831c6.entry.js +0 -1
  1446. package/dist/digi-arbetsformedlingen/p-92f9c4ab.entry.js +0 -1
  1447. package/dist/digi-arbetsformedlingen/p-93fbd1df.entry.js +0 -1
  1448. package/dist/digi-arbetsformedlingen/p-97362bd2.entry.js +0 -1
  1449. package/dist/digi-arbetsformedlingen/p-99efef6b.entry.js +0 -1
  1450. package/dist/digi-arbetsformedlingen/p-9aa5d11a.entry.js +0 -1
  1451. package/dist/digi-arbetsformedlingen/p-9e96ecef.entry.js +0 -1
  1452. package/dist/digi-arbetsformedlingen/p-9edd27c1.entry.js +0 -1
  1453. package/dist/digi-arbetsformedlingen/p-a20f6569.entry.js +0 -1
  1454. package/dist/digi-arbetsformedlingen/p-a29a52f3.entry.js +0 -1
  1455. package/dist/digi-arbetsformedlingen/p-af2c9017.entry.js +0 -1
  1456. package/dist/digi-arbetsformedlingen/p-b1b32d92.entry.js +0 -1
  1457. package/dist/digi-arbetsformedlingen/p-bc3d2778.js +0 -1
  1458. package/dist/digi-arbetsformedlingen/p-bf8ed9f6.entry.js +0 -1
  1459. package/dist/digi-arbetsformedlingen/p-c7949525.js +0 -1
  1460. package/dist/digi-arbetsformedlingen/p-cbf08d77.entry.js +0 -1
  1461. package/dist/digi-arbetsformedlingen/p-ec481286.entry.js +0 -1
  1462. package/dist/digi-arbetsformedlingen/p-eccaf949.entry.js +0 -1
  1463. package/dist/digi-arbetsformedlingen/p-efa40741.entry.js +0 -1
  1464. package/dist/digi-arbetsformedlingen/p-f32b5fdb.entry.js +0 -1
  1465. package/dist/digi-arbetsformedlingen/p-f447b984.js +0 -1
  1466. package/dist/digi-arbetsformedlingen/p-f9178fd3.entry.js +0 -1
  1467. package/dist/digi-arbetsformedlingen/p-fade6ba0.entry.js +0 -1
  1468. package/dist/esm/digi-calendar-datepicker.entry.js +0 -2471
  1469. package/dist/esm/digi-calendar_2.entry.js +0 -469
  1470. package/dist/esm/digi-form-input.entry.js +0 -153
  1471. package/dist/esm/digi-form-label_5.entry.js +0 -167
  1472. package/dist/esm/digi-form-select_2.entry.js +0 -171
  1473. package/dist/esm/digi-icon-chevron-left.entry.js +0 -26
  1474. package/dist/esm/digi-icon-chevron-right.entry.js +0 -26
  1475. package/dist/esm/digi-util-keydown-handler.entry.js +0 -79
  1476. package/dist/esm/digi-util-mutation-observer.entry.js +0 -60
  1477. package/dist/esm/form-input-search-variation.enum-f9d669f2.js +0 -8
  1478. package/dist/esm/form-input-variation.enum-64d9450f.js +0 -29
  1479. package/dist/esm/form-select-variation.enum-f2f6098d.js +0 -16
  1480. package/dist/esm/form-validation-message-variation.enum-bcef8a9d.js +0 -8
  1481. package/dist/esm/index-5b6c95c6.js +0 -63
  1482. package/dist/esm/index-8685f88d.js +0 -170
  1483. package/dist/esm/typography-variation.enum-38d1ef90.js +0 -7
@@ -1,2471 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-8e318bb2.js';
2
- import './badge-notification-shape.enum-e15a6245.js';
3
- import { C as CalendarDatepickerValidation } from './tools-feedback-variation.enum-4bfb560b.js';
4
- import './badge-status-variation.enum-8d6370ff.js';
5
- import './button-size.enum-2dcd673f.js';
6
- import './button-type.enum-5250ae0b.js';
7
- import './button-variation.enum-94fffdd6.js';
8
- import './calendar-week-view-heading-level.enum-6774297c.js';
9
- import './card-footer-border.enum-eed26243.js';
10
- import './bar-chart-variation.enum-97c0b47f.js';
11
- import './code-example-variation.enum-e9f9fced.js';
12
- import './code-variation.enum-1eee7c7a.js';
13
- import './expandable-faq-item-variation.enum-a8cb225b.js';
14
- import './expandable-faq-variation.enum-6934c367.js';
15
- import './footer-card-variation.enum-cc732148.js';
16
- import './form-checkbox-variation.enum-83e906fc.js';
17
- import './form-file-upload-variation.enum-9c49ec5e.js';
18
- import './form-input-search-variation.enum-f9d669f2.js';
19
- import './form-input-type.enum-3da3db27.js';
20
- import { a as FormInputValidation } from './form-input-variation.enum-64d9450f.js';
21
- import './form-select-variation.enum-f2f6098d.js';
22
- import './form-textarea-variation.enum-05017e8e.js';
23
- import './form-validation-message-variation.enum-bcef8a9d.js';
24
- import './info-card-multi-type.enum-07ee124f.js';
25
- import './info-card-variation.enum-2ccc52c1.js';
26
- import './layout-container-max-width.enum-c40018ac.js';
27
- import './layout-block-variation.enum-b7a20db4.js';
28
- import './layout-columns-variation.enum-34f7754e.js';
29
- import './layout-media-object-alignment.enum-305b86b6.js';
30
- import './link-button-variation.enum-b7f1d571.js';
31
- import './list-type.enum-fbb331ad.js';
32
- import './loader-skeleton-variation.enum-f9f867b4.js';
33
- import './loader-spinner-size.enum-0b246fa0.js';
34
- import './logo-variation.enum-5b68b79f.js';
35
- import './media-figure-alignment.enum-a1d36567.js';
36
- import './navigation-context-menu-item-type.enum-d5434f5a.js';
37
- import './navigation-context-menu-horizontal-position.enum-e5ed22c2.js';
38
- import './navigation-sidebar-variation.enum-8fead764.js';
39
- import './navigation-vertical-menu-variation.enum-c30b0ea9.js';
40
- import './progress-indicator-variation.enum-b12ba50a.js';
41
- import './progress-list-item-variation.enum-384b9a3a.js';
42
- import './progress-list-variation.enum-300bd89d.js';
43
- import './progressbar-variation.enum-40adaab4.js';
44
- import './quote-image-inner-position.enum-8e9b1e65.js';
45
- import './table-variation.enum-dd9366b6.js';
46
- import './tag-media-icon.enum-fefa191c.js';
47
- import './tag-size.enum-1e1bcf94.js';
48
- import './tools-feedback-banner-type.enum-74b4e580.js';
49
- import './tools-feedback-rating-variation.enum-29058ff2.js';
50
- import './typography-heading-jumbo-variation.enum-eb737f1b.js';
51
- import './typography-meta-variation.enum-1f7c2878.js';
52
- import './typography-time-variation.enum-34c830ef.js';
53
- import './typography-variation.enum-38d1ef90.js';
54
- import './util-breakpoint-observer-breakpoints.enum-6d004731.js';
55
- import { r as randomIdGenerator } from './randomIdGenerator.util-56406f2e.js';
56
- import { d as detectClickOutside } from './detectClickOutside.util-72594957.js';
57
- import { r as requiredArgs, t as toDate, i as isValid } from './index-8685f88d.js';
58
- import { t as toInteger, g as getUTCISOWeek, a as getUTCWeek, b as getUTCWeekYear, s as startOfUTCWeek, c as startOfUTCISOWeek, i as isProtectedWeekYearToken, d as throwProtectedError, e as isProtectedDayOfYearToken, f as subMilliseconds, h as getTimezoneOffsetInMilliseconds, j as defaultLocale, l as longFormatters } from './index-2fce392f.js';
59
- import { i as isBefore, a as isAfter } from './index-5b6c95c6.js';
60
- import './detectClosest.util-58a7504f.js';
61
-
62
- function assign(target, dirtyObject) {
63
- if (target == null) {
64
- throw new TypeError('assign requires that input parameter not be null or undefined');
65
- }
66
-
67
- dirtyObject = dirtyObject || {};
68
-
69
- for (var property in dirtyObject) {
70
- if (Object.prototype.hasOwnProperty.call(dirtyObject, property)) {
71
- target[property] = dirtyObject[property];
72
- }
73
- }
74
-
75
- return target;
76
- }
77
-
78
- // See issue: https://github.com/date-fns/date-fns/issues/376
79
-
80
- function setUTCDay(dirtyDate, dirtyDay, dirtyOptions) {
81
- requiredArgs(2, arguments);
82
- var options = dirtyOptions || {};
83
- var locale = options.locale;
84
- var localeWeekStartsOn = locale && locale.options && locale.options.weekStartsOn;
85
- var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);
86
- var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
87
-
88
- if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
89
- throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
90
- }
91
-
92
- var date = toDate(dirtyDate);
93
- var day = toInteger(dirtyDay);
94
- var currentDay = date.getUTCDay();
95
- var remainder = day % 7;
96
- var dayIndex = (remainder + 7) % 7;
97
- var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay;
98
- date.setUTCDate(date.getUTCDate() + diff);
99
- return date;
100
- }
101
-
102
- // See issue: https://github.com/date-fns/date-fns/issues/376
103
-
104
- function setUTCISODay(dirtyDate, dirtyDay) {
105
- requiredArgs(2, arguments);
106
- var day = toInteger(dirtyDay);
107
-
108
- if (day % 7 === 0) {
109
- day = day - 7;
110
- }
111
-
112
- var weekStartsOn = 1;
113
- var date = toDate(dirtyDate);
114
- var currentDay = date.getUTCDay();
115
- var remainder = day % 7;
116
- var dayIndex = (remainder + 7) % 7;
117
- var diff = (dayIndex < weekStartsOn ? 7 : 0) + day - currentDay;
118
- date.setUTCDate(date.getUTCDate() + diff);
119
- return date;
120
- }
121
-
122
- // See issue: https://github.com/date-fns/date-fns/issues/376
123
-
124
- function setUTCISOWeek(dirtyDate, dirtyISOWeek) {
125
- requiredArgs(2, arguments);
126
- var date = toDate(dirtyDate);
127
- var isoWeek = toInteger(dirtyISOWeek);
128
- var diff = getUTCISOWeek(date) - isoWeek;
129
- date.setUTCDate(date.getUTCDate() - diff * 7);
130
- return date;
131
- }
132
-
133
- // See issue: https://github.com/date-fns/date-fns/issues/376
134
-
135
- function setUTCWeek(dirtyDate, dirtyWeek, options) {
136
- requiredArgs(2, arguments);
137
- var date = toDate(dirtyDate);
138
- var week = toInteger(dirtyWeek);
139
- var diff = getUTCWeek(date, options) - week;
140
- date.setUTCDate(date.getUTCDate() - diff * 7);
141
- return date;
142
- }
143
-
144
- var MILLISECONDS_IN_HOUR = 3600000;
145
- var MILLISECONDS_IN_MINUTE = 60000;
146
- var MILLISECONDS_IN_SECOND = 1000;
147
- var numericPatterns = {
148
- month: /^(1[0-2]|0?\d)/,
149
- // 0 to 12
150
- date: /^(3[0-1]|[0-2]?\d)/,
151
- // 0 to 31
152
- dayOfYear: /^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,
153
- // 0 to 366
154
- week: /^(5[0-3]|[0-4]?\d)/,
155
- // 0 to 53
156
- hour23h: /^(2[0-3]|[0-1]?\d)/,
157
- // 0 to 23
158
- hour24h: /^(2[0-4]|[0-1]?\d)/,
159
- // 0 to 24
160
- hour11h: /^(1[0-1]|0?\d)/,
161
- // 0 to 11
162
- hour12h: /^(1[0-2]|0?\d)/,
163
- // 0 to 12
164
- minute: /^[0-5]?\d/,
165
- // 0 to 59
166
- second: /^[0-5]?\d/,
167
- // 0 to 59
168
- singleDigit: /^\d/,
169
- // 0 to 9
170
- twoDigits: /^\d{1,2}/,
171
- // 0 to 99
172
- threeDigits: /^\d{1,3}/,
173
- // 0 to 999
174
- fourDigits: /^\d{1,4}/,
175
- // 0 to 9999
176
- anyDigitsSigned: /^-?\d+/,
177
- singleDigitSigned: /^-?\d/,
178
- // 0 to 9, -0 to -9
179
- twoDigitsSigned: /^-?\d{1,2}/,
180
- // 0 to 99, -0 to -99
181
- threeDigitsSigned: /^-?\d{1,3}/,
182
- // 0 to 999, -0 to -999
183
- fourDigitsSigned: /^-?\d{1,4}/ // 0 to 9999, -0 to -9999
184
-
185
- };
186
- var timezonePatterns = {
187
- basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
188
- basic: /^([+-])(\d{2})(\d{2})|Z/,
189
- basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
190
- extended: /^([+-])(\d{2}):(\d{2})|Z/,
191
- extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
192
- };
193
-
194
- function parseNumericPattern(pattern, string, valueCallback) {
195
- var matchResult = string.match(pattern);
196
-
197
- if (!matchResult) {
198
- return null;
199
- }
200
-
201
- var value = parseInt(matchResult[0], 10);
202
- return {
203
- value: valueCallback ? valueCallback(value) : value,
204
- rest: string.slice(matchResult[0].length)
205
- };
206
- }
207
-
208
- function parseTimezonePattern(pattern, string) {
209
- var matchResult = string.match(pattern);
210
-
211
- if (!matchResult) {
212
- return null;
213
- } // Input is 'Z'
214
-
215
-
216
- if (matchResult[0] === 'Z') {
217
- return {
218
- value: 0,
219
- rest: string.slice(1)
220
- };
221
- }
222
-
223
- var sign = matchResult[1] === '+' ? 1 : -1;
224
- var hours = matchResult[2] ? parseInt(matchResult[2], 10) : 0;
225
- var minutes = matchResult[3] ? parseInt(matchResult[3], 10) : 0;
226
- var seconds = matchResult[5] ? parseInt(matchResult[5], 10) : 0;
227
- return {
228
- value: sign * (hours * MILLISECONDS_IN_HOUR + minutes * MILLISECONDS_IN_MINUTE + seconds * MILLISECONDS_IN_SECOND),
229
- rest: string.slice(matchResult[0].length)
230
- };
231
- }
232
-
233
- function parseAnyDigitsSigned(string, valueCallback) {
234
- return parseNumericPattern(numericPatterns.anyDigitsSigned, string, valueCallback);
235
- }
236
-
237
- function parseNDigits(n, string, valueCallback) {
238
- switch (n) {
239
- case 1:
240
- return parseNumericPattern(numericPatterns.singleDigit, string, valueCallback);
241
-
242
- case 2:
243
- return parseNumericPattern(numericPatterns.twoDigits, string, valueCallback);
244
-
245
- case 3:
246
- return parseNumericPattern(numericPatterns.threeDigits, string, valueCallback);
247
-
248
- case 4:
249
- return parseNumericPattern(numericPatterns.fourDigits, string, valueCallback);
250
-
251
- default:
252
- return parseNumericPattern(new RegExp('^\\d{1,' + n + '}'), string, valueCallback);
253
- }
254
- }
255
-
256
- function parseNDigitsSigned(n, string, valueCallback) {
257
- switch (n) {
258
- case 1:
259
- return parseNumericPattern(numericPatterns.singleDigitSigned, string, valueCallback);
260
-
261
- case 2:
262
- return parseNumericPattern(numericPatterns.twoDigitsSigned, string, valueCallback);
263
-
264
- case 3:
265
- return parseNumericPattern(numericPatterns.threeDigitsSigned, string, valueCallback);
266
-
267
- case 4:
268
- return parseNumericPattern(numericPatterns.fourDigitsSigned, string, valueCallback);
269
-
270
- default:
271
- return parseNumericPattern(new RegExp('^-?\\d{1,' + n + '}'), string, valueCallback);
272
- }
273
- }
274
-
275
- function dayPeriodEnumToHours(enumValue) {
276
- switch (enumValue) {
277
- case 'morning':
278
- return 4;
279
-
280
- case 'evening':
281
- return 17;
282
-
283
- case 'pm':
284
- case 'noon':
285
- case 'afternoon':
286
- return 12;
287
-
288
- case 'am':
289
- case 'midnight':
290
- case 'night':
291
- default:
292
- return 0;
293
- }
294
- }
295
-
296
- function normalizeTwoDigitYear(twoDigitYear, currentYear) {
297
- var isCommonEra = currentYear > 0; // Absolute number of the current year:
298
- // 1 -> 1 AC
299
- // 0 -> 1 BC
300
- // -1 -> 2 BC
301
-
302
- var absCurrentYear = isCommonEra ? currentYear : 1 - currentYear;
303
- var result;
304
-
305
- if (absCurrentYear <= 50) {
306
- result = twoDigitYear || 100;
307
- } else {
308
- var rangeEnd = absCurrentYear + 50;
309
- var rangeEndCentury = Math.floor(rangeEnd / 100) * 100;
310
- var isPreviousCentury = twoDigitYear >= rangeEnd % 100;
311
- result = twoDigitYear + rangeEndCentury - (isPreviousCentury ? 100 : 0);
312
- }
313
-
314
- return isCommonEra ? result : 1 - result;
315
- }
316
-
317
- var DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
318
- var DAYS_IN_MONTH_LEAP_YEAR = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; // User for validation
319
-
320
- function isLeapYearIndex(year) {
321
- return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;
322
- }
323
- /*
324
- * | | Unit | | Unit |
325
- * |-----|--------------------------------|-----|--------------------------------|
326
- * | a | AM, PM | A* | Milliseconds in day |
327
- * | b | AM, PM, noon, midnight | B | Flexible day period |
328
- * | c | Stand-alone local day of week | C* | Localized hour w/ day period |
329
- * | d | Day of month | D | Day of year |
330
- * | e | Local day of week | E | Day of week |
331
- * | f | | F* | Day of week in month |
332
- * | g* | Modified Julian day | G | Era |
333
- * | h | Hour [1-12] | H | Hour [0-23] |
334
- * | i! | ISO day of week | I! | ISO week of year |
335
- * | j* | Localized hour w/ day period | J* | Localized hour w/o day period |
336
- * | k | Hour [1-24] | K | Hour [0-11] |
337
- * | l* | (deprecated) | L | Stand-alone month |
338
- * | m | Minute | M | Month |
339
- * | n | | N | |
340
- * | o! | Ordinal number modifier | O* | Timezone (GMT) |
341
- * | p | | P | |
342
- * | q | Stand-alone quarter | Q | Quarter |
343
- * | r* | Related Gregorian year | R! | ISO week-numbering year |
344
- * | s | Second | S | Fraction of second |
345
- * | t! | Seconds timestamp | T! | Milliseconds timestamp |
346
- * | u | Extended year | U* | Cyclic year |
347
- * | v* | Timezone (generic non-locat.) | V* | Timezone (location) |
348
- * | w | Local week of year | W* | Week of month |
349
- * | x | Timezone (ISO-8601 w/o Z) | X | Timezone (ISO-8601) |
350
- * | y | Year (abs) | Y | Local week-numbering year |
351
- * | z* | Timezone (specific non-locat.) | Z* | Timezone (aliases) |
352
- *
353
- * Letters marked by * are not implemented but reserved by Unicode standard.
354
- *
355
- * Letters marked by ! are non-standard, but implemented by date-fns:
356
- * - `o` modifies the previous token to turn it into an ordinal (see `parse` docs)
357
- * - `i` is ISO day of week. For `i` and `ii` is returns numeric ISO week days,
358
- * i.e. 7 for Sunday, 1 for Monday, etc.
359
- * - `I` is ISO week of year, as opposed to `w` which is local week of year.
360
- * - `R` is ISO week-numbering year, as opposed to `Y` which is local week-numbering year.
361
- * `R` is supposed to be used in conjunction with `I` and `i`
362
- * for universal ISO week-numbering date, whereas
363
- * `Y` is supposed to be used in conjunction with `w` and `e`
364
- * for week-numbering date specific to the locale.
365
- */
366
-
367
-
368
- var parsers = {
369
- // Era
370
- G: {
371
- priority: 140,
372
- parse: function (string, token, match, _options) {
373
- switch (token) {
374
- // AD, BC
375
- case 'G':
376
- case 'GG':
377
- case 'GGG':
378
- return match.era(string, {
379
- width: 'abbreviated'
380
- }) || match.era(string, {
381
- width: 'narrow'
382
- });
383
- // A, B
384
-
385
- case 'GGGGG':
386
- return match.era(string, {
387
- width: 'narrow'
388
- });
389
- // Anno Domini, Before Christ
390
-
391
- case 'GGGG':
392
- default:
393
- return match.era(string, {
394
- width: 'wide'
395
- }) || match.era(string, {
396
- width: 'abbreviated'
397
- }) || match.era(string, {
398
- width: 'narrow'
399
- });
400
- }
401
- },
402
- set: function (date, flags, value, _options) {
403
- flags.era = value;
404
- date.setUTCFullYear(value, 0, 1);
405
- date.setUTCHours(0, 0, 0, 0);
406
- return date;
407
- },
408
- incompatibleTokens: ['R', 'u', 't', 'T']
409
- },
410
- // Year
411
- y: {
412
- // From http://www.unicode.org/reports/tr35/tr35-31/tr35-dates.html#Date_Format_Patterns
413
- // | Year | y | yy | yyy | yyyy | yyyyy |
414
- // |----------|-------|----|-------|-------|-------|
415
- // | AD 1 | 1 | 01 | 001 | 0001 | 00001 |
416
- // | AD 12 | 12 | 12 | 012 | 0012 | 00012 |
417
- // | AD 123 | 123 | 23 | 123 | 0123 | 00123 |
418
- // | AD 1234 | 1234 | 34 | 1234 | 1234 | 01234 |
419
- // | AD 12345 | 12345 | 45 | 12345 | 12345 | 12345 |
420
- priority: 130,
421
- parse: function (string, token, match, _options) {
422
- var valueCallback = function (year) {
423
- return {
424
- year: year,
425
- isTwoDigitYear: token === 'yy'
426
- };
427
- };
428
-
429
- switch (token) {
430
- case 'y':
431
- return parseNDigits(4, string, valueCallback);
432
-
433
- case 'yo':
434
- return match.ordinalNumber(string, {
435
- unit: 'year',
436
- valueCallback: valueCallback
437
- });
438
-
439
- default:
440
- return parseNDigits(token.length, string, valueCallback);
441
- }
442
- },
443
- validate: function (_date, value, _options) {
444
- return value.isTwoDigitYear || value.year > 0;
445
- },
446
- set: function (date, flags, value, _options) {
447
- var currentYear = date.getUTCFullYear();
448
-
449
- if (value.isTwoDigitYear) {
450
- var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);
451
- date.setUTCFullYear(normalizedTwoDigitYear, 0, 1);
452
- date.setUTCHours(0, 0, 0, 0);
453
- return date;
454
- }
455
-
456
- var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year;
457
- date.setUTCFullYear(year, 0, 1);
458
- date.setUTCHours(0, 0, 0, 0);
459
- return date;
460
- },
461
- incompatibleTokens: ['Y', 'R', 'u', 'w', 'I', 'i', 'e', 'c', 't', 'T']
462
- },
463
- // Local week-numbering year
464
- Y: {
465
- priority: 130,
466
- parse: function (string, token, match, _options) {
467
- var valueCallback = function (year) {
468
- return {
469
- year: year,
470
- isTwoDigitYear: token === 'YY'
471
- };
472
- };
473
-
474
- switch (token) {
475
- case 'Y':
476
- return parseNDigits(4, string, valueCallback);
477
-
478
- case 'Yo':
479
- return match.ordinalNumber(string, {
480
- unit: 'year',
481
- valueCallback: valueCallback
482
- });
483
-
484
- default:
485
- return parseNDigits(token.length, string, valueCallback);
486
- }
487
- },
488
- validate: function (_date, value, _options) {
489
- return value.isTwoDigitYear || value.year > 0;
490
- },
491
- set: function (date, flags, value, options) {
492
- var currentYear = getUTCWeekYear(date, options);
493
-
494
- if (value.isTwoDigitYear) {
495
- var normalizedTwoDigitYear = normalizeTwoDigitYear(value.year, currentYear);
496
- date.setUTCFullYear(normalizedTwoDigitYear, 0, options.firstWeekContainsDate);
497
- date.setUTCHours(0, 0, 0, 0);
498
- return startOfUTCWeek(date, options);
499
- }
500
-
501
- var year = !('era' in flags) || flags.era === 1 ? value.year : 1 - value.year;
502
- date.setUTCFullYear(year, 0, options.firstWeekContainsDate);
503
- date.setUTCHours(0, 0, 0, 0);
504
- return startOfUTCWeek(date, options);
505
- },
506
- incompatibleTokens: ['y', 'R', 'u', 'Q', 'q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']
507
- },
508
- // ISO week-numbering year
509
- R: {
510
- priority: 130,
511
- parse: function (string, token, _match, _options) {
512
- if (token === 'R') {
513
- return parseNDigitsSigned(4, string);
514
- }
515
-
516
- return parseNDigitsSigned(token.length, string);
517
- },
518
- set: function (_date, _flags, value, _options) {
519
- var firstWeekOfYear = new Date(0);
520
- firstWeekOfYear.setUTCFullYear(value, 0, 4);
521
- firstWeekOfYear.setUTCHours(0, 0, 0, 0);
522
- return startOfUTCISOWeek(firstWeekOfYear);
523
- },
524
- incompatibleTokens: ['G', 'y', 'Y', 'u', 'Q', 'q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']
525
- },
526
- // Extended year
527
- u: {
528
- priority: 130,
529
- parse: function (string, token, _match, _options) {
530
- if (token === 'u') {
531
- return parseNDigitsSigned(4, string);
532
- }
533
-
534
- return parseNDigitsSigned(token.length, string);
535
- },
536
- set: function (date, _flags, value, _options) {
537
- date.setUTCFullYear(value, 0, 1);
538
- date.setUTCHours(0, 0, 0, 0);
539
- return date;
540
- },
541
- incompatibleTokens: ['G', 'y', 'Y', 'R', 'w', 'I', 'i', 'e', 'c', 't', 'T']
542
- },
543
- // Quarter
544
- Q: {
545
- priority: 120,
546
- parse: function (string, token, match, _options) {
547
- switch (token) {
548
- // 1, 2, 3, 4
549
- case 'Q':
550
- case 'QQ':
551
- // 01, 02, 03, 04
552
- return parseNDigits(token.length, string);
553
- // 1st, 2nd, 3rd, 4th
554
-
555
- case 'Qo':
556
- return match.ordinalNumber(string, {
557
- unit: 'quarter'
558
- });
559
- // Q1, Q2, Q3, Q4
560
-
561
- case 'QQQ':
562
- return match.quarter(string, {
563
- width: 'abbreviated',
564
- context: 'formatting'
565
- }) || match.quarter(string, {
566
- width: 'narrow',
567
- context: 'formatting'
568
- });
569
- // 1, 2, 3, 4 (narrow quarter; could be not numerical)
570
-
571
- case 'QQQQQ':
572
- return match.quarter(string, {
573
- width: 'narrow',
574
- context: 'formatting'
575
- });
576
- // 1st quarter, 2nd quarter, ...
577
-
578
- case 'QQQQ':
579
- default:
580
- return match.quarter(string, {
581
- width: 'wide',
582
- context: 'formatting'
583
- }) || match.quarter(string, {
584
- width: 'abbreviated',
585
- context: 'formatting'
586
- }) || match.quarter(string, {
587
- width: 'narrow',
588
- context: 'formatting'
589
- });
590
- }
591
- },
592
- validate: function (_date, value, _options) {
593
- return value >= 1 && value <= 4;
594
- },
595
- set: function (date, _flags, value, _options) {
596
- date.setUTCMonth((value - 1) * 3, 1);
597
- date.setUTCHours(0, 0, 0, 0);
598
- return date;
599
- },
600
- incompatibleTokens: ['Y', 'R', 'q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']
601
- },
602
- // Stand-alone quarter
603
- q: {
604
- priority: 120,
605
- parse: function (string, token, match, _options) {
606
- switch (token) {
607
- // 1, 2, 3, 4
608
- case 'q':
609
- case 'qq':
610
- // 01, 02, 03, 04
611
- return parseNDigits(token.length, string);
612
- // 1st, 2nd, 3rd, 4th
613
-
614
- case 'qo':
615
- return match.ordinalNumber(string, {
616
- unit: 'quarter'
617
- });
618
- // Q1, Q2, Q3, Q4
619
-
620
- case 'qqq':
621
- return match.quarter(string, {
622
- width: 'abbreviated',
623
- context: 'standalone'
624
- }) || match.quarter(string, {
625
- width: 'narrow',
626
- context: 'standalone'
627
- });
628
- // 1, 2, 3, 4 (narrow quarter; could be not numerical)
629
-
630
- case 'qqqqq':
631
- return match.quarter(string, {
632
- width: 'narrow',
633
- context: 'standalone'
634
- });
635
- // 1st quarter, 2nd quarter, ...
636
-
637
- case 'qqqq':
638
- default:
639
- return match.quarter(string, {
640
- width: 'wide',
641
- context: 'standalone'
642
- }) || match.quarter(string, {
643
- width: 'abbreviated',
644
- context: 'standalone'
645
- }) || match.quarter(string, {
646
- width: 'narrow',
647
- context: 'standalone'
648
- });
649
- }
650
- },
651
- validate: function (_date, value, _options) {
652
- return value >= 1 && value <= 4;
653
- },
654
- set: function (date, _flags, value, _options) {
655
- date.setUTCMonth((value - 1) * 3, 1);
656
- date.setUTCHours(0, 0, 0, 0);
657
- return date;
658
- },
659
- incompatibleTokens: ['Y', 'R', 'Q', 'M', 'L', 'w', 'I', 'd', 'D', 'i', 'e', 'c', 't', 'T']
660
- },
661
- // Month
662
- M: {
663
- priority: 110,
664
- parse: function (string, token, match, _options) {
665
- var valueCallback = function (value) {
666
- return value - 1;
667
- };
668
-
669
- switch (token) {
670
- // 1, 2, ..., 12
671
- case 'M':
672
- return parseNumericPattern(numericPatterns.month, string, valueCallback);
673
- // 01, 02, ..., 12
674
-
675
- case 'MM':
676
- return parseNDigits(2, string, valueCallback);
677
- // 1st, 2nd, ..., 12th
678
-
679
- case 'Mo':
680
- return match.ordinalNumber(string, {
681
- unit: 'month',
682
- valueCallback: valueCallback
683
- });
684
- // Jan, Feb, ..., Dec
685
-
686
- case 'MMM':
687
- return match.month(string, {
688
- width: 'abbreviated',
689
- context: 'formatting'
690
- }) || match.month(string, {
691
- width: 'narrow',
692
- context: 'formatting'
693
- });
694
- // J, F, ..., D
695
-
696
- case 'MMMMM':
697
- return match.month(string, {
698
- width: 'narrow',
699
- context: 'formatting'
700
- });
701
- // January, February, ..., December
702
-
703
- case 'MMMM':
704
- default:
705
- return match.month(string, {
706
- width: 'wide',
707
- context: 'formatting'
708
- }) || match.month(string, {
709
- width: 'abbreviated',
710
- context: 'formatting'
711
- }) || match.month(string, {
712
- width: 'narrow',
713
- context: 'formatting'
714
- });
715
- }
716
- },
717
- validate: function (_date, value, _options) {
718
- return value >= 0 && value <= 11;
719
- },
720
- set: function (date, _flags, value, _options) {
721
- date.setUTCMonth(value, 1);
722
- date.setUTCHours(0, 0, 0, 0);
723
- return date;
724
- },
725
- incompatibleTokens: ['Y', 'R', 'q', 'Q', 'L', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']
726
- },
727
- // Stand-alone month
728
- L: {
729
- priority: 110,
730
- parse: function (string, token, match, _options) {
731
- var valueCallback = function (value) {
732
- return value - 1;
733
- };
734
-
735
- switch (token) {
736
- // 1, 2, ..., 12
737
- case 'L':
738
- return parseNumericPattern(numericPatterns.month, string, valueCallback);
739
- // 01, 02, ..., 12
740
-
741
- case 'LL':
742
- return parseNDigits(2, string, valueCallback);
743
- // 1st, 2nd, ..., 12th
744
-
745
- case 'Lo':
746
- return match.ordinalNumber(string, {
747
- unit: 'month',
748
- valueCallback: valueCallback
749
- });
750
- // Jan, Feb, ..., Dec
751
-
752
- case 'LLL':
753
- return match.month(string, {
754
- width: 'abbreviated',
755
- context: 'standalone'
756
- }) || match.month(string, {
757
- width: 'narrow',
758
- context: 'standalone'
759
- });
760
- // J, F, ..., D
761
-
762
- case 'LLLLL':
763
- return match.month(string, {
764
- width: 'narrow',
765
- context: 'standalone'
766
- });
767
- // January, February, ..., December
768
-
769
- case 'LLLL':
770
- default:
771
- return match.month(string, {
772
- width: 'wide',
773
- context: 'standalone'
774
- }) || match.month(string, {
775
- width: 'abbreviated',
776
- context: 'standalone'
777
- }) || match.month(string, {
778
- width: 'narrow',
779
- context: 'standalone'
780
- });
781
- }
782
- },
783
- validate: function (_date, value, _options) {
784
- return value >= 0 && value <= 11;
785
- },
786
- set: function (date, _flags, value, _options) {
787
- date.setUTCMonth(value, 1);
788
- date.setUTCHours(0, 0, 0, 0);
789
- return date;
790
- },
791
- incompatibleTokens: ['Y', 'R', 'q', 'Q', 'M', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']
792
- },
793
- // Local week of year
794
- w: {
795
- priority: 100,
796
- parse: function (string, token, match, _options) {
797
- switch (token) {
798
- case 'w':
799
- return parseNumericPattern(numericPatterns.week, string);
800
-
801
- case 'wo':
802
- return match.ordinalNumber(string, {
803
- unit: 'week'
804
- });
805
-
806
- default:
807
- return parseNDigits(token.length, string);
808
- }
809
- },
810
- validate: function (_date, value, _options) {
811
- return value >= 1 && value <= 53;
812
- },
813
- set: function (date, _flags, value, options) {
814
- return startOfUTCWeek(setUTCWeek(date, value, options), options);
815
- },
816
- incompatibleTokens: ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'i', 't', 'T']
817
- },
818
- // ISO week of year
819
- I: {
820
- priority: 100,
821
- parse: function (string, token, match, _options) {
822
- switch (token) {
823
- case 'I':
824
- return parseNumericPattern(numericPatterns.week, string);
825
-
826
- case 'Io':
827
- return match.ordinalNumber(string, {
828
- unit: 'week'
829
- });
830
-
831
- default:
832
- return parseNDigits(token.length, string);
833
- }
834
- },
835
- validate: function (_date, value, _options) {
836
- return value >= 1 && value <= 53;
837
- },
838
- set: function (date, _flags, value, options) {
839
- return startOfUTCISOWeek(setUTCISOWeek(date, value, options), options);
840
- },
841
- incompatibleTokens: ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'e', 'c', 't', 'T']
842
- },
843
- // Day of the month
844
- d: {
845
- priority: 90,
846
- subPriority: 1,
847
- parse: function (string, token, match, _options) {
848
- switch (token) {
849
- case 'd':
850
- return parseNumericPattern(numericPatterns.date, string);
851
-
852
- case 'do':
853
- return match.ordinalNumber(string, {
854
- unit: 'date'
855
- });
856
-
857
- default:
858
- return parseNDigits(token.length, string);
859
- }
860
- },
861
- validate: function (date, value, _options) {
862
- var year = date.getUTCFullYear();
863
- var isLeapYear = isLeapYearIndex(year);
864
- var month = date.getUTCMonth();
865
-
866
- if (isLeapYear) {
867
- return value >= 1 && value <= DAYS_IN_MONTH_LEAP_YEAR[month];
868
- } else {
869
- return value >= 1 && value <= DAYS_IN_MONTH[month];
870
- }
871
- },
872
- set: function (date, _flags, value, _options) {
873
- date.setUTCDate(value);
874
- date.setUTCHours(0, 0, 0, 0);
875
- return date;
876
- },
877
- incompatibleTokens: ['Y', 'R', 'q', 'Q', 'w', 'I', 'D', 'i', 'e', 'c', 't', 'T']
878
- },
879
- // Day of year
880
- D: {
881
- priority: 90,
882
- subPriority: 1,
883
- parse: function (string, token, match, _options) {
884
- switch (token) {
885
- case 'D':
886
- case 'DD':
887
- return parseNumericPattern(numericPatterns.dayOfYear, string);
888
-
889
- case 'Do':
890
- return match.ordinalNumber(string, {
891
- unit: 'date'
892
- });
893
-
894
- default:
895
- return parseNDigits(token.length, string);
896
- }
897
- },
898
- validate: function (date, value, _options) {
899
- var year = date.getUTCFullYear();
900
- var isLeapYear = isLeapYearIndex(year);
901
-
902
- if (isLeapYear) {
903
- return value >= 1 && value <= 366;
904
- } else {
905
- return value >= 1 && value <= 365;
906
- }
907
- },
908
- set: function (date, _flags, value, _options) {
909
- date.setUTCMonth(0, value);
910
- date.setUTCHours(0, 0, 0, 0);
911
- return date;
912
- },
913
- incompatibleTokens: ['Y', 'R', 'q', 'Q', 'M', 'L', 'w', 'I', 'd', 'E', 'i', 'e', 'c', 't', 'T']
914
- },
915
- // Day of week
916
- E: {
917
- priority: 90,
918
- parse: function (string, token, match, _options) {
919
- switch (token) {
920
- // Tue
921
- case 'E':
922
- case 'EE':
923
- case 'EEE':
924
- return match.day(string, {
925
- width: 'abbreviated',
926
- context: 'formatting'
927
- }) || match.day(string, {
928
- width: 'short',
929
- context: 'formatting'
930
- }) || match.day(string, {
931
- width: 'narrow',
932
- context: 'formatting'
933
- });
934
- // T
935
-
936
- case 'EEEEE':
937
- return match.day(string, {
938
- width: 'narrow',
939
- context: 'formatting'
940
- });
941
- // Tu
942
-
943
- case 'EEEEEE':
944
- return match.day(string, {
945
- width: 'short',
946
- context: 'formatting'
947
- }) || match.day(string, {
948
- width: 'narrow',
949
- context: 'formatting'
950
- });
951
- // Tuesday
952
-
953
- case 'EEEE':
954
- default:
955
- return match.day(string, {
956
- width: 'wide',
957
- context: 'formatting'
958
- }) || match.day(string, {
959
- width: 'abbreviated',
960
- context: 'formatting'
961
- }) || match.day(string, {
962
- width: 'short',
963
- context: 'formatting'
964
- }) || match.day(string, {
965
- width: 'narrow',
966
- context: 'formatting'
967
- });
968
- }
969
- },
970
- validate: function (_date, value, _options) {
971
- return value >= 0 && value <= 6;
972
- },
973
- set: function (date, _flags, value, options) {
974
- date = setUTCDay(date, value, options);
975
- date.setUTCHours(0, 0, 0, 0);
976
- return date;
977
- },
978
- incompatibleTokens: ['D', 'i', 'e', 'c', 't', 'T']
979
- },
980
- // Local day of week
981
- e: {
982
- priority: 90,
983
- parse: function (string, token, match, options) {
984
- var valueCallback = function (value) {
985
- var wholeWeekDays = Math.floor((value - 1) / 7) * 7;
986
- return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;
987
- };
988
-
989
- switch (token) {
990
- // 3
991
- case 'e':
992
- case 'ee':
993
- // 03
994
- return parseNDigits(token.length, string, valueCallback);
995
- // 3rd
996
-
997
- case 'eo':
998
- return match.ordinalNumber(string, {
999
- unit: 'day',
1000
- valueCallback: valueCallback
1001
- });
1002
- // Tue
1003
-
1004
- case 'eee':
1005
- return match.day(string, {
1006
- width: 'abbreviated',
1007
- context: 'formatting'
1008
- }) || match.day(string, {
1009
- width: 'short',
1010
- context: 'formatting'
1011
- }) || match.day(string, {
1012
- width: 'narrow',
1013
- context: 'formatting'
1014
- });
1015
- // T
1016
-
1017
- case 'eeeee':
1018
- return match.day(string, {
1019
- width: 'narrow',
1020
- context: 'formatting'
1021
- });
1022
- // Tu
1023
-
1024
- case 'eeeeee':
1025
- return match.day(string, {
1026
- width: 'short',
1027
- context: 'formatting'
1028
- }) || match.day(string, {
1029
- width: 'narrow',
1030
- context: 'formatting'
1031
- });
1032
- // Tuesday
1033
-
1034
- case 'eeee':
1035
- default:
1036
- return match.day(string, {
1037
- width: 'wide',
1038
- context: 'formatting'
1039
- }) || match.day(string, {
1040
- width: 'abbreviated',
1041
- context: 'formatting'
1042
- }) || match.day(string, {
1043
- width: 'short',
1044
- context: 'formatting'
1045
- }) || match.day(string, {
1046
- width: 'narrow',
1047
- context: 'formatting'
1048
- });
1049
- }
1050
- },
1051
- validate: function (_date, value, _options) {
1052
- return value >= 0 && value <= 6;
1053
- },
1054
- set: function (date, _flags, value, options) {
1055
- date = setUTCDay(date, value, options);
1056
- date.setUTCHours(0, 0, 0, 0);
1057
- return date;
1058
- },
1059
- incompatibleTokens: ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'c', 't', 'T']
1060
- },
1061
- // Stand-alone local day of week
1062
- c: {
1063
- priority: 90,
1064
- parse: function (string, token, match, options) {
1065
- var valueCallback = function (value) {
1066
- var wholeWeekDays = Math.floor((value - 1) / 7) * 7;
1067
- return (value + options.weekStartsOn + 6) % 7 + wholeWeekDays;
1068
- };
1069
-
1070
- switch (token) {
1071
- // 3
1072
- case 'c':
1073
- case 'cc':
1074
- // 03
1075
- return parseNDigits(token.length, string, valueCallback);
1076
- // 3rd
1077
-
1078
- case 'co':
1079
- return match.ordinalNumber(string, {
1080
- unit: 'day',
1081
- valueCallback: valueCallback
1082
- });
1083
- // Tue
1084
-
1085
- case 'ccc':
1086
- return match.day(string, {
1087
- width: 'abbreviated',
1088
- context: 'standalone'
1089
- }) || match.day(string, {
1090
- width: 'short',
1091
- context: 'standalone'
1092
- }) || match.day(string, {
1093
- width: 'narrow',
1094
- context: 'standalone'
1095
- });
1096
- // T
1097
-
1098
- case 'ccccc':
1099
- return match.day(string, {
1100
- width: 'narrow',
1101
- context: 'standalone'
1102
- });
1103
- // Tu
1104
-
1105
- case 'cccccc':
1106
- return match.day(string, {
1107
- width: 'short',
1108
- context: 'standalone'
1109
- }) || match.day(string, {
1110
- width: 'narrow',
1111
- context: 'standalone'
1112
- });
1113
- // Tuesday
1114
-
1115
- case 'cccc':
1116
- default:
1117
- return match.day(string, {
1118
- width: 'wide',
1119
- context: 'standalone'
1120
- }) || match.day(string, {
1121
- width: 'abbreviated',
1122
- context: 'standalone'
1123
- }) || match.day(string, {
1124
- width: 'short',
1125
- context: 'standalone'
1126
- }) || match.day(string, {
1127
- width: 'narrow',
1128
- context: 'standalone'
1129
- });
1130
- }
1131
- },
1132
- validate: function (_date, value, _options) {
1133
- return value >= 0 && value <= 6;
1134
- },
1135
- set: function (date, _flags, value, options) {
1136
- date = setUTCDay(date, value, options);
1137
- date.setUTCHours(0, 0, 0, 0);
1138
- return date;
1139
- },
1140
- incompatibleTokens: ['y', 'R', 'u', 'q', 'Q', 'M', 'L', 'I', 'd', 'D', 'E', 'i', 'e', 't', 'T']
1141
- },
1142
- // ISO day of week
1143
- i: {
1144
- priority: 90,
1145
- parse: function (string, token, match, _options) {
1146
- var valueCallback = function (value) {
1147
- if (value === 0) {
1148
- return 7;
1149
- }
1150
-
1151
- return value;
1152
- };
1153
-
1154
- switch (token) {
1155
- // 2
1156
- case 'i':
1157
- case 'ii':
1158
- // 02
1159
- return parseNDigits(token.length, string);
1160
- // 2nd
1161
-
1162
- case 'io':
1163
- return match.ordinalNumber(string, {
1164
- unit: 'day'
1165
- });
1166
- // Tue
1167
-
1168
- case 'iii':
1169
- return match.day(string, {
1170
- width: 'abbreviated',
1171
- context: 'formatting',
1172
- valueCallback: valueCallback
1173
- }) || match.day(string, {
1174
- width: 'short',
1175
- context: 'formatting',
1176
- valueCallback: valueCallback
1177
- }) || match.day(string, {
1178
- width: 'narrow',
1179
- context: 'formatting',
1180
- valueCallback: valueCallback
1181
- });
1182
- // T
1183
-
1184
- case 'iiiii':
1185
- return match.day(string, {
1186
- width: 'narrow',
1187
- context: 'formatting',
1188
- valueCallback: valueCallback
1189
- });
1190
- // Tu
1191
-
1192
- case 'iiiiii':
1193
- return match.day(string, {
1194
- width: 'short',
1195
- context: 'formatting',
1196
- valueCallback: valueCallback
1197
- }) || match.day(string, {
1198
- width: 'narrow',
1199
- context: 'formatting',
1200
- valueCallback: valueCallback
1201
- });
1202
- // Tuesday
1203
-
1204
- case 'iiii':
1205
- default:
1206
- return match.day(string, {
1207
- width: 'wide',
1208
- context: 'formatting',
1209
- valueCallback: valueCallback
1210
- }) || match.day(string, {
1211
- width: 'abbreviated',
1212
- context: 'formatting',
1213
- valueCallback: valueCallback
1214
- }) || match.day(string, {
1215
- width: 'short',
1216
- context: 'formatting',
1217
- valueCallback: valueCallback
1218
- }) || match.day(string, {
1219
- width: 'narrow',
1220
- context: 'formatting',
1221
- valueCallback: valueCallback
1222
- });
1223
- }
1224
- },
1225
- validate: function (_date, value, _options) {
1226
- return value >= 1 && value <= 7;
1227
- },
1228
- set: function (date, _flags, value, options) {
1229
- date = setUTCISODay(date, value, options);
1230
- date.setUTCHours(0, 0, 0, 0);
1231
- return date;
1232
- },
1233
- incompatibleTokens: ['y', 'Y', 'u', 'q', 'Q', 'M', 'L', 'w', 'd', 'D', 'E', 'e', 'c', 't', 'T']
1234
- },
1235
- // AM or PM
1236
- a: {
1237
- priority: 80,
1238
- parse: function (string, token, match, _options) {
1239
- switch (token) {
1240
- case 'a':
1241
- case 'aa':
1242
- case 'aaa':
1243
- return match.dayPeriod(string, {
1244
- width: 'abbreviated',
1245
- context: 'formatting'
1246
- }) || match.dayPeriod(string, {
1247
- width: 'narrow',
1248
- context: 'formatting'
1249
- });
1250
-
1251
- case 'aaaaa':
1252
- return match.dayPeriod(string, {
1253
- width: 'narrow',
1254
- context: 'formatting'
1255
- });
1256
-
1257
- case 'aaaa':
1258
- default:
1259
- return match.dayPeriod(string, {
1260
- width: 'wide',
1261
- context: 'formatting'
1262
- }) || match.dayPeriod(string, {
1263
- width: 'abbreviated',
1264
- context: 'formatting'
1265
- }) || match.dayPeriod(string, {
1266
- width: 'narrow',
1267
- context: 'formatting'
1268
- });
1269
- }
1270
- },
1271
- set: function (date, _flags, value, _options) {
1272
- date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
1273
- return date;
1274
- },
1275
- incompatibleTokens: ['b', 'B', 'H', 'K', 'k', 't', 'T']
1276
- },
1277
- // AM, PM, midnight
1278
- b: {
1279
- priority: 80,
1280
- parse: function (string, token, match, _options) {
1281
- switch (token) {
1282
- case 'b':
1283
- case 'bb':
1284
- case 'bbb':
1285
- return match.dayPeriod(string, {
1286
- width: 'abbreviated',
1287
- context: 'formatting'
1288
- }) || match.dayPeriod(string, {
1289
- width: 'narrow',
1290
- context: 'formatting'
1291
- });
1292
-
1293
- case 'bbbbb':
1294
- return match.dayPeriod(string, {
1295
- width: 'narrow',
1296
- context: 'formatting'
1297
- });
1298
-
1299
- case 'bbbb':
1300
- default:
1301
- return match.dayPeriod(string, {
1302
- width: 'wide',
1303
- context: 'formatting'
1304
- }) || match.dayPeriod(string, {
1305
- width: 'abbreviated',
1306
- context: 'formatting'
1307
- }) || match.dayPeriod(string, {
1308
- width: 'narrow',
1309
- context: 'formatting'
1310
- });
1311
- }
1312
- },
1313
- set: function (date, _flags, value, _options) {
1314
- date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
1315
- return date;
1316
- },
1317
- incompatibleTokens: ['a', 'B', 'H', 'K', 'k', 't', 'T']
1318
- },
1319
- // in the morning, in the afternoon, in the evening, at night
1320
- B: {
1321
- priority: 80,
1322
- parse: function (string, token, match, _options) {
1323
- switch (token) {
1324
- case 'B':
1325
- case 'BB':
1326
- case 'BBB':
1327
- return match.dayPeriod(string, {
1328
- width: 'abbreviated',
1329
- context: 'formatting'
1330
- }) || match.dayPeriod(string, {
1331
- width: 'narrow',
1332
- context: 'formatting'
1333
- });
1334
-
1335
- case 'BBBBB':
1336
- return match.dayPeriod(string, {
1337
- width: 'narrow',
1338
- context: 'formatting'
1339
- });
1340
-
1341
- case 'BBBB':
1342
- default:
1343
- return match.dayPeriod(string, {
1344
- width: 'wide',
1345
- context: 'formatting'
1346
- }) || match.dayPeriod(string, {
1347
- width: 'abbreviated',
1348
- context: 'formatting'
1349
- }) || match.dayPeriod(string, {
1350
- width: 'narrow',
1351
- context: 'formatting'
1352
- });
1353
- }
1354
- },
1355
- set: function (date, _flags, value, _options) {
1356
- date.setUTCHours(dayPeriodEnumToHours(value), 0, 0, 0);
1357
- return date;
1358
- },
1359
- incompatibleTokens: ['a', 'b', 't', 'T']
1360
- },
1361
- // Hour [1-12]
1362
- h: {
1363
- priority: 70,
1364
- parse: function (string, token, match, _options) {
1365
- switch (token) {
1366
- case 'h':
1367
- return parseNumericPattern(numericPatterns.hour12h, string);
1368
-
1369
- case 'ho':
1370
- return match.ordinalNumber(string, {
1371
- unit: 'hour'
1372
- });
1373
-
1374
- default:
1375
- return parseNDigits(token.length, string);
1376
- }
1377
- },
1378
- validate: function (_date, value, _options) {
1379
- return value >= 1 && value <= 12;
1380
- },
1381
- set: function (date, _flags, value, _options) {
1382
- var isPM = date.getUTCHours() >= 12;
1383
-
1384
- if (isPM && value < 12) {
1385
- date.setUTCHours(value + 12, 0, 0, 0);
1386
- } else if (!isPM && value === 12) {
1387
- date.setUTCHours(0, 0, 0, 0);
1388
- } else {
1389
- date.setUTCHours(value, 0, 0, 0);
1390
- }
1391
-
1392
- return date;
1393
- },
1394
- incompatibleTokens: ['H', 'K', 'k', 't', 'T']
1395
- },
1396
- // Hour [0-23]
1397
- H: {
1398
- priority: 70,
1399
- parse: function (string, token, match, _options) {
1400
- switch (token) {
1401
- case 'H':
1402
- return parseNumericPattern(numericPatterns.hour23h, string);
1403
-
1404
- case 'Ho':
1405
- return match.ordinalNumber(string, {
1406
- unit: 'hour'
1407
- });
1408
-
1409
- default:
1410
- return parseNDigits(token.length, string);
1411
- }
1412
- },
1413
- validate: function (_date, value, _options) {
1414
- return value >= 0 && value <= 23;
1415
- },
1416
- set: function (date, _flags, value, _options) {
1417
- date.setUTCHours(value, 0, 0, 0);
1418
- return date;
1419
- },
1420
- incompatibleTokens: ['a', 'b', 'h', 'K', 'k', 't', 'T']
1421
- },
1422
- // Hour [0-11]
1423
- K: {
1424
- priority: 70,
1425
- parse: function (string, token, match, _options) {
1426
- switch (token) {
1427
- case 'K':
1428
- return parseNumericPattern(numericPatterns.hour11h, string);
1429
-
1430
- case 'Ko':
1431
- return match.ordinalNumber(string, {
1432
- unit: 'hour'
1433
- });
1434
-
1435
- default:
1436
- return parseNDigits(token.length, string);
1437
- }
1438
- },
1439
- validate: function (_date, value, _options) {
1440
- return value >= 0 && value <= 11;
1441
- },
1442
- set: function (date, _flags, value, _options) {
1443
- var isPM = date.getUTCHours() >= 12;
1444
-
1445
- if (isPM && value < 12) {
1446
- date.setUTCHours(value + 12, 0, 0, 0);
1447
- } else {
1448
- date.setUTCHours(value, 0, 0, 0);
1449
- }
1450
-
1451
- return date;
1452
- },
1453
- incompatibleTokens: ['a', 'b', 'h', 'H', 'k', 't', 'T']
1454
- },
1455
- // Hour [1-24]
1456
- k: {
1457
- priority: 70,
1458
- parse: function (string, token, match, _options) {
1459
- switch (token) {
1460
- case 'k':
1461
- return parseNumericPattern(numericPatterns.hour24h, string);
1462
-
1463
- case 'ko':
1464
- return match.ordinalNumber(string, {
1465
- unit: 'hour'
1466
- });
1467
-
1468
- default:
1469
- return parseNDigits(token.length, string);
1470
- }
1471
- },
1472
- validate: function (_date, value, _options) {
1473
- return value >= 1 && value <= 24;
1474
- },
1475
- set: function (date, _flags, value, _options) {
1476
- var hours = value <= 24 ? value % 24 : value;
1477
- date.setUTCHours(hours, 0, 0, 0);
1478
- return date;
1479
- },
1480
- incompatibleTokens: ['a', 'b', 'h', 'H', 'K', 't', 'T']
1481
- },
1482
- // Minute
1483
- m: {
1484
- priority: 60,
1485
- parse: function (string, token, match, _options) {
1486
- switch (token) {
1487
- case 'm':
1488
- return parseNumericPattern(numericPatterns.minute, string);
1489
-
1490
- case 'mo':
1491
- return match.ordinalNumber(string, {
1492
- unit: 'minute'
1493
- });
1494
-
1495
- default:
1496
- return parseNDigits(token.length, string);
1497
- }
1498
- },
1499
- validate: function (_date, value, _options) {
1500
- return value >= 0 && value <= 59;
1501
- },
1502
- set: function (date, _flags, value, _options) {
1503
- date.setUTCMinutes(value, 0, 0);
1504
- return date;
1505
- },
1506
- incompatibleTokens: ['t', 'T']
1507
- },
1508
- // Second
1509
- s: {
1510
- priority: 50,
1511
- parse: function (string, token, match, _options) {
1512
- switch (token) {
1513
- case 's':
1514
- return parseNumericPattern(numericPatterns.second, string);
1515
-
1516
- case 'so':
1517
- return match.ordinalNumber(string, {
1518
- unit: 'second'
1519
- });
1520
-
1521
- default:
1522
- return parseNDigits(token.length, string);
1523
- }
1524
- },
1525
- validate: function (_date, value, _options) {
1526
- return value >= 0 && value <= 59;
1527
- },
1528
- set: function (date, _flags, value, _options) {
1529
- date.setUTCSeconds(value, 0);
1530
- return date;
1531
- },
1532
- incompatibleTokens: ['t', 'T']
1533
- },
1534
- // Fraction of second
1535
- S: {
1536
- priority: 30,
1537
- parse: function (string, token, _match, _options) {
1538
- var valueCallback = function (value) {
1539
- return Math.floor(value * Math.pow(10, -token.length + 3));
1540
- };
1541
-
1542
- return parseNDigits(token.length, string, valueCallback);
1543
- },
1544
- set: function (date, _flags, value, _options) {
1545
- date.setUTCMilliseconds(value);
1546
- return date;
1547
- },
1548
- incompatibleTokens: ['t', 'T']
1549
- },
1550
- // Timezone (ISO-8601. +00:00 is `'Z'`)
1551
- X: {
1552
- priority: 10,
1553
- parse: function (string, token, _match, _options) {
1554
- switch (token) {
1555
- case 'X':
1556
- return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, string);
1557
-
1558
- case 'XX':
1559
- return parseTimezonePattern(timezonePatterns.basic, string);
1560
-
1561
- case 'XXXX':
1562
- return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, string);
1563
-
1564
- case 'XXXXX':
1565
- return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, string);
1566
-
1567
- case 'XXX':
1568
- default:
1569
- return parseTimezonePattern(timezonePatterns.extended, string);
1570
- }
1571
- },
1572
- set: function (date, flags, value, _options) {
1573
- if (flags.timestampIsSet) {
1574
- return date;
1575
- }
1576
-
1577
- return new Date(date.getTime() - value);
1578
- },
1579
- incompatibleTokens: ['t', 'T', 'x']
1580
- },
1581
- // Timezone (ISO-8601)
1582
- x: {
1583
- priority: 10,
1584
- parse: function (string, token, _match, _options) {
1585
- switch (token) {
1586
- case 'x':
1587
- return parseTimezonePattern(timezonePatterns.basicOptionalMinutes, string);
1588
-
1589
- case 'xx':
1590
- return parseTimezonePattern(timezonePatterns.basic, string);
1591
-
1592
- case 'xxxx':
1593
- return parseTimezonePattern(timezonePatterns.basicOptionalSeconds, string);
1594
-
1595
- case 'xxxxx':
1596
- return parseTimezonePattern(timezonePatterns.extendedOptionalSeconds, string);
1597
-
1598
- case 'xxx':
1599
- default:
1600
- return parseTimezonePattern(timezonePatterns.extended, string);
1601
- }
1602
- },
1603
- set: function (date, flags, value, _options) {
1604
- if (flags.timestampIsSet) {
1605
- return date;
1606
- }
1607
-
1608
- return new Date(date.getTime() - value);
1609
- },
1610
- incompatibleTokens: ['t', 'T', 'X']
1611
- },
1612
- // Seconds timestamp
1613
- t: {
1614
- priority: 40,
1615
- parse: function (string, _token, _match, _options) {
1616
- return parseAnyDigitsSigned(string);
1617
- },
1618
- set: function (_date, _flags, value, _options) {
1619
- return [new Date(value * 1000), {
1620
- timestampIsSet: true
1621
- }];
1622
- },
1623
- incompatibleTokens: '*'
1624
- },
1625
- // Milliseconds timestamp
1626
- T: {
1627
- priority: 20,
1628
- parse: function (string, _token, _match, _options) {
1629
- return parseAnyDigitsSigned(string);
1630
- },
1631
- set: function (_date, _flags, value, _options) {
1632
- return [new Date(value), {
1633
- timestampIsSet: true
1634
- }];
1635
- },
1636
- incompatibleTokens: '*'
1637
- }
1638
- };
1639
- const parsers$1 = parsers;
1640
-
1641
- var TIMEZONE_UNIT_PRIORITY = 10; // This RegExp consists of three parts separated by `|`:
1642
- // - [yYQqMLwIdDecihHKkms]o matches any available ordinal number token
1643
- // (one of the certain letters followed by `o`)
1644
- // - (\w)\1* matches any sequences of the same letter
1645
- // - '' matches two quote characters in a row
1646
- // - '(''|[^'])+('|$) matches anything surrounded by two quote characters ('),
1647
- // except a single quote symbol, which ends the sequence.
1648
- // Two quote characters do not end the sequence.
1649
- // If there is no matching single quote
1650
- // then the sequence will continue until the end of the string.
1651
- // - . matches any single character unmatched by previous parts of the RegExps
1652
-
1653
- var formattingTokensRegExp = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g; // This RegExp catches symbols escaped by quotes, and also
1654
- // sequences of symbols P, p, and the combinations like `PPPPPPPppppp`
1655
-
1656
- var longFormattingTokensRegExp = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;
1657
- var escapedStringRegExp = /^'([^]*?)'?$/;
1658
- var doubleQuoteRegExp = /''/g;
1659
- var notWhitespaceRegExp = /\S/;
1660
- var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
1661
- /**
1662
- * @name parse
1663
- * @category Common Helpers
1664
- * @summary Parse the date.
1665
- *
1666
- * @description
1667
- * Return the date parsed from string using the given format string.
1668
- *
1669
- * > ⚠️ Please note that the `format` tokens differ from Moment.js and other libraries.
1670
- * > See: https://git.io/fxCyr
1671
- *
1672
- * The characters in the format string wrapped between two single quotes characters (') are escaped.
1673
- * Two single quotes in a row, whether inside or outside a quoted sequence, represent a 'real' single quote.
1674
- *
1675
- * Format of the format string is based on Unicode Technical Standard #35:
1676
- * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
1677
- * with a few additions (see note 5 below the table).
1678
- *
1679
- * Not all tokens are compatible. Combinations that don't make sense or could lead to bugs are prohibited
1680
- * and will throw `RangeError`. For example usage of 24-hour format token with AM/PM token will throw an exception:
1681
- *
1682
- * ```javascript
1683
- * parse('23 AM', 'HH a', new Date())
1684
- * //=> RangeError: The format string mustn't contain `HH` and `a` at the same time
1685
- * ```
1686
- *
1687
- * See the compatibility table: https://docs.google.com/spreadsheets/d/e/2PACX-1vQOPU3xUhplll6dyoMmVUXHKl_8CRDs6_ueLmex3SoqwhuolkuN3O05l4rqx5h1dKX8eb46Ul-CCSrq/pubhtml?gid=0&single=true
1688
- *
1689
- * Accepted format string patterns:
1690
- * | Unit |Prior| Pattern | Result examples | Notes |
1691
- * |---------------------------------|-----|---------|-----------------------------------|-------|
1692
- * | Era | 140 | G..GGG | AD, BC | |
1693
- * | | | GGGG | Anno Domini, Before Christ | 2 |
1694
- * | | | GGGGG | A, B | |
1695
- * | Calendar year | 130 | y | 44, 1, 1900, 2017, 9999 | 4 |
1696
- * | | | yo | 44th, 1st, 1900th, 9999999th | 4,5 |
1697
- * | | | yy | 44, 01, 00, 17 | 4 |
1698
- * | | | yyy | 044, 001, 123, 999 | 4 |
1699
- * | | | yyyy | 0044, 0001, 1900, 2017 | 4 |
1700
- * | | | yyyyy | ... | 2,4 |
1701
- * | Local week-numbering year | 130 | Y | 44, 1, 1900, 2017, 9000 | 4 |
1702
- * | | | Yo | 44th, 1st, 1900th, 9999999th | 4,5 |
1703
- * | | | YY | 44, 01, 00, 17 | 4,6 |
1704
- * | | | YYY | 044, 001, 123, 999 | 4 |
1705
- * | | | YYYY | 0044, 0001, 1900, 2017 | 4,6 |
1706
- * | | | YYYYY | ... | 2,4 |
1707
- * | ISO week-numbering year | 130 | R | -43, 1, 1900, 2017, 9999, -9999 | 4,5 |
1708
- * | | | RR | -43, 01, 00, 17 | 4,5 |
1709
- * | | | RRR | -043, 001, 123, 999, -999 | 4,5 |
1710
- * | | | RRRR | -0043, 0001, 2017, 9999, -9999 | 4,5 |
1711
- * | | | RRRRR | ... | 2,4,5 |
1712
- * | Extended year | 130 | u | -43, 1, 1900, 2017, 9999, -999 | 4 |
1713
- * | | | uu | -43, 01, 99, -99 | 4 |
1714
- * | | | uuu | -043, 001, 123, 999, -999 | 4 |
1715
- * | | | uuuu | -0043, 0001, 2017, 9999, -9999 | 4 |
1716
- * | | | uuuuu | ... | 2,4 |
1717
- * | Quarter (formatting) | 120 | Q | 1, 2, 3, 4 | |
1718
- * | | | Qo | 1st, 2nd, 3rd, 4th | 5 |
1719
- * | | | QQ | 01, 02, 03, 04 | |
1720
- * | | | QQQ | Q1, Q2, Q3, Q4 | |
1721
- * | | | QQQQ | 1st quarter, 2nd quarter, ... | 2 |
1722
- * | | | QQQQQ | 1, 2, 3, 4 | 4 |
1723
- * | Quarter (stand-alone) | 120 | q | 1, 2, 3, 4 | |
1724
- * | | | qo | 1st, 2nd, 3rd, 4th | 5 |
1725
- * | | | qq | 01, 02, 03, 04 | |
1726
- * | | | qqq | Q1, Q2, Q3, Q4 | |
1727
- * | | | qqqq | 1st quarter, 2nd quarter, ... | 2 |
1728
- * | | | qqqqq | 1, 2, 3, 4 | 3 |
1729
- * | Month (formatting) | 110 | M | 1, 2, ..., 12 | |
1730
- * | | | Mo | 1st, 2nd, ..., 12th | 5 |
1731
- * | | | MM | 01, 02, ..., 12 | |
1732
- * | | | MMM | Jan, Feb, ..., Dec | |
1733
- * | | | MMMM | January, February, ..., December | 2 |
1734
- * | | | MMMMM | J, F, ..., D | |
1735
- * | Month (stand-alone) | 110 | L | 1, 2, ..., 12 | |
1736
- * | | | Lo | 1st, 2nd, ..., 12th | 5 |
1737
- * | | | LL | 01, 02, ..., 12 | |
1738
- * | | | LLL | Jan, Feb, ..., Dec | |
1739
- * | | | LLLL | January, February, ..., December | 2 |
1740
- * | | | LLLLL | J, F, ..., D | |
1741
- * | Local week of year | 100 | w | 1, 2, ..., 53 | |
1742
- * | | | wo | 1st, 2nd, ..., 53th | 5 |
1743
- * | | | ww | 01, 02, ..., 53 | |
1744
- * | ISO week of year | 100 | I | 1, 2, ..., 53 | 5 |
1745
- * | | | Io | 1st, 2nd, ..., 53th | 5 |
1746
- * | | | II | 01, 02, ..., 53 | 5 |
1747
- * | Day of month | 90 | d | 1, 2, ..., 31 | |
1748
- * | | | do | 1st, 2nd, ..., 31st | 5 |
1749
- * | | | dd | 01, 02, ..., 31 | |
1750
- * | Day of year | 90 | D | 1, 2, ..., 365, 366 | 7 |
1751
- * | | | Do | 1st, 2nd, ..., 365th, 366th | 5 |
1752
- * | | | DD | 01, 02, ..., 365, 366 | 7 |
1753
- * | | | DDD | 001, 002, ..., 365, 366 | |
1754
- * | | | DDDD | ... | 2 |
1755
- * | Day of week (formatting) | 90 | E..EEE | Mon, Tue, Wed, ..., Sun | |
1756
- * | | | EEEE | Monday, Tuesday, ..., Sunday | 2 |
1757
- * | | | EEEEE | M, T, W, T, F, S, S | |
1758
- * | | | EEEEEE | Mo, Tu, We, Th, Fr, Sa, Su | |
1759
- * | ISO day of week (formatting) | 90 | i | 1, 2, 3, ..., 7 | 5 |
1760
- * | | | io | 1st, 2nd, ..., 7th | 5 |
1761
- * | | | ii | 01, 02, ..., 07 | 5 |
1762
- * | | | iii | Mon, Tue, Wed, ..., Sun | 5 |
1763
- * | | | iiii | Monday, Tuesday, ..., Sunday | 2,5 |
1764
- * | | | iiiii | M, T, W, T, F, S, S | 5 |
1765
- * | | | iiiiii | Mo, Tu, We, Th, Fr, Sa, Su | 5 |
1766
- * | Local day of week (formatting) | 90 | e | 2, 3, 4, ..., 1 | |
1767
- * | | | eo | 2nd, 3rd, ..., 1st | 5 |
1768
- * | | | ee | 02, 03, ..., 01 | |
1769
- * | | | eee | Mon, Tue, Wed, ..., Sun | |
1770
- * | | | eeee | Monday, Tuesday, ..., Sunday | 2 |
1771
- * | | | eeeee | M, T, W, T, F, S, S | |
1772
- * | | | eeeeee | Mo, Tu, We, Th, Fr, Sa, Su | |
1773
- * | Local day of week (stand-alone) | 90 | c | 2, 3, 4, ..., 1 | |
1774
- * | | | co | 2nd, 3rd, ..., 1st | 5 |
1775
- * | | | cc | 02, 03, ..., 01 | |
1776
- * | | | ccc | Mon, Tue, Wed, ..., Sun | |
1777
- * | | | cccc | Monday, Tuesday, ..., Sunday | 2 |
1778
- * | | | ccccc | M, T, W, T, F, S, S | |
1779
- * | | | cccccc | Mo, Tu, We, Th, Fr, Sa, Su | |
1780
- * | AM, PM | 80 | a..aaa | AM, PM | |
1781
- * | | | aaaa | a.m., p.m. | 2 |
1782
- * | | | aaaaa | a, p | |
1783
- * | AM, PM, noon, midnight | 80 | b..bbb | AM, PM, noon, midnight | |
1784
- * | | | bbbb | a.m., p.m., noon, midnight | 2 |
1785
- * | | | bbbbb | a, p, n, mi | |
1786
- * | Flexible day period | 80 | B..BBB | at night, in the morning, ... | |
1787
- * | | | BBBB | at night, in the morning, ... | 2 |
1788
- * | | | BBBBB | at night, in the morning, ... | |
1789
- * | Hour [1-12] | 70 | h | 1, 2, ..., 11, 12 | |
1790
- * | | | ho | 1st, 2nd, ..., 11th, 12th | 5 |
1791
- * | | | hh | 01, 02, ..., 11, 12 | |
1792
- * | Hour [0-23] | 70 | H | 0, 1, 2, ..., 23 | |
1793
- * | | | Ho | 0th, 1st, 2nd, ..., 23rd | 5 |
1794
- * | | | HH | 00, 01, 02, ..., 23 | |
1795
- * | Hour [0-11] | 70 | K | 1, 2, ..., 11, 0 | |
1796
- * | | | Ko | 1st, 2nd, ..., 11th, 0th | 5 |
1797
- * | | | KK | 01, 02, ..., 11, 00 | |
1798
- * | Hour [1-24] | 70 | k | 24, 1, 2, ..., 23 | |
1799
- * | | | ko | 24th, 1st, 2nd, ..., 23rd | 5 |
1800
- * | | | kk | 24, 01, 02, ..., 23 | |
1801
- * | Minute | 60 | m | 0, 1, ..., 59 | |
1802
- * | | | mo | 0th, 1st, ..., 59th | 5 |
1803
- * | | | mm | 00, 01, ..., 59 | |
1804
- * | Second | 50 | s | 0, 1, ..., 59 | |
1805
- * | | | so | 0th, 1st, ..., 59th | 5 |
1806
- * | | | ss | 00, 01, ..., 59 | |
1807
- * | Seconds timestamp | 40 | t | 512969520 | |
1808
- * | | | tt | ... | 2 |
1809
- * | Fraction of second | 30 | S | 0, 1, ..., 9 | |
1810
- * | | | SS | 00, 01, ..., 99 | |
1811
- * | | | SSS | 000, 0001, ..., 999 | |
1812
- * | | | SSSS | ... | 2 |
1813
- * | Milliseconds timestamp | 20 | T | 512969520900 | |
1814
- * | | | TT | ... | 2 |
1815
- * | Timezone (ISO-8601 w/ Z) | 10 | X | -08, +0530, Z | |
1816
- * | | | XX | -0800, +0530, Z | |
1817
- * | | | XXX | -08:00, +05:30, Z | |
1818
- * | | | XXXX | -0800, +0530, Z, +123456 | 2 |
1819
- * | | | XXXXX | -08:00, +05:30, Z, +12:34:56 | |
1820
- * | Timezone (ISO-8601 w/o Z) | 10 | x | -08, +0530, +00 | |
1821
- * | | | xx | -0800, +0530, +0000 | |
1822
- * | | | xxx | -08:00, +05:30, +00:00 | 2 |
1823
- * | | | xxxx | -0800, +0530, +0000, +123456 | |
1824
- * | | | xxxxx | -08:00, +05:30, +00:00, +12:34:56 | |
1825
- * | Long localized date | NA | P | 05/29/1453 | 5,8 |
1826
- * | | | PP | May 29, 1453 | |
1827
- * | | | PPP | May 29th, 1453 | |
1828
- * | | | PPPP | Sunday, May 29th, 1453 | 2,5,8 |
1829
- * | Long localized time | NA | p | 12:00 AM | 5,8 |
1830
- * | | | pp | 12:00:00 AM | |
1831
- * | Combination of date and time | NA | Pp | 05/29/1453, 12:00 AM | |
1832
- * | | | PPpp | May 29, 1453, 12:00:00 AM | |
1833
- * | | | PPPpp | May 29th, 1453 at ... | |
1834
- * | | | PPPPpp | Sunday, May 29th, 1453 at ... | 2,5,8 |
1835
- * Notes:
1836
- * 1. "Formatting" units (e.g. formatting quarter) in the default en-US locale
1837
- * are the same as "stand-alone" units, but are different in some languages.
1838
- * "Formatting" units are declined according to the rules of the language
1839
- * in the context of a date. "Stand-alone" units are always nominative singular.
1840
- * In `format` function, they will produce different result:
1841
- *
1842
- * `format(new Date(2017, 10, 6), 'do LLLL', {locale: cs}) //=> '6. listopad'`
1843
- *
1844
- * `format(new Date(2017, 10, 6), 'do MMMM', {locale: cs}) //=> '6. listopadu'`
1845
- *
1846
- * `parse` will try to match both formatting and stand-alone units interchangably.
1847
- *
1848
- * 2. Any sequence of the identical letters is a pattern, unless it is escaped by
1849
- * the single quote characters (see below).
1850
- * If the sequence is longer than listed in table:
1851
- * - for numerical units (`yyyyyyyy`) `parse` will try to match a number
1852
- * as wide as the sequence
1853
- * - for text units (`MMMMMMMM`) `parse` will try to match the widest variation of the unit.
1854
- * These variations are marked with "2" in the last column of the table.
1855
- *
1856
- * 3. `QQQQQ` and `qqqqq` could be not strictly numerical in some locales.
1857
- * These tokens represent the shortest form of the quarter.
1858
- *
1859
- * 4. The main difference between `y` and `u` patterns are B.C. years:
1860
- *
1861
- * | Year | `y` | `u` |
1862
- * |------|-----|-----|
1863
- * | AC 1 | 1 | 1 |
1864
- * | BC 1 | 1 | 0 |
1865
- * | BC 2 | 2 | -1 |
1866
- *
1867
- * Also `yy` will try to guess the century of two digit year by proximity with `referenceDate`:
1868
- *
1869
- * `parse('50', 'yy', new Date(2018, 0, 1)) //=> Sat Jan 01 2050 00:00:00`
1870
- *
1871
- * `parse('75', 'yy', new Date(2018, 0, 1)) //=> Wed Jan 01 1975 00:00:00`
1872
- *
1873
- * while `uu` will just assign the year as is:
1874
- *
1875
- * `parse('50', 'uu', new Date(2018, 0, 1)) //=> Sat Jan 01 0050 00:00:00`
1876
- *
1877
- * `parse('75', 'uu', new Date(2018, 0, 1)) //=> Tue Jan 01 0075 00:00:00`
1878
- *
1879
- * The same difference is true for local and ISO week-numbering years (`Y` and `R`),
1880
- * except local week-numbering years are dependent on `options.weekStartsOn`
1881
- * and `options.firstWeekContainsDate` (compare [setISOWeekYear]{@link https://date-fns.org/docs/setISOWeekYear}
1882
- * and [setWeekYear]{@link https://date-fns.org/docs/setWeekYear}).
1883
- *
1884
- * 5. These patterns are not in the Unicode Technical Standard #35:
1885
- * - `i`: ISO day of week
1886
- * - `I`: ISO week of year
1887
- * - `R`: ISO week-numbering year
1888
- * - `o`: ordinal number modifier
1889
- * - `P`: long localized date
1890
- * - `p`: long localized time
1891
- *
1892
- * 6. `YY` and `YYYY` tokens represent week-numbering years but they are often confused with years.
1893
- * You should enable `options.useAdditionalWeekYearTokens` to use them. See: https://git.io/fxCyr
1894
- *
1895
- * 7. `D` and `DD` tokens represent days of the year but they are ofthen confused with days of the month.
1896
- * You should enable `options.useAdditionalDayOfYearTokens` to use them. See: https://git.io/fxCyr
1897
- *
1898
- * 8. `P+` tokens do not have a defined priority since they are merely aliases to other tokens based
1899
- * on the given locale.
1900
- *
1901
- * using `en-US` locale: `P` => `MM/dd/yyyy`
1902
- * using `en-US` locale: `p` => `hh:mm a`
1903
- * using `pt-BR` locale: `P` => `dd/MM/yyyy`
1904
- * using `pt-BR` locale: `p` => `HH:mm`
1905
- *
1906
- * Values will be assigned to the date in the descending order of its unit's priority.
1907
- * Units of an equal priority overwrite each other in the order of appearance.
1908
- *
1909
- * If no values of higher priority are parsed (e.g. when parsing string 'January 1st' without a year),
1910
- * the values will be taken from 3rd argument `referenceDate` which works as a context of parsing.
1911
- *
1912
- * `referenceDate` must be passed for correct work of the function.
1913
- * If you're not sure which `referenceDate` to supply, create a new instance of Date:
1914
- * `parse('02/11/2014', 'MM/dd/yyyy', new Date())`
1915
- * In this case parsing will be done in the context of the current date.
1916
- * If `referenceDate` is `Invalid Date` or a value not convertible to valid `Date`,
1917
- * then `Invalid Date` will be returned.
1918
- *
1919
- * The result may vary by locale.
1920
- *
1921
- * If `formatString` matches with `dateString` but does not provides tokens, `referenceDate` will be returned.
1922
- *
1923
- * If parsing failed, `Invalid Date` will be returned.
1924
- * Invalid Date is a Date, whose time value is NaN.
1925
- * Time value of Date: http://es5.github.io/#x15.9.1.1
1926
- *
1927
- * ### v2.0.0 breaking changes:
1928
- *
1929
- * - [Changes that are common for the whole library](https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#Common-Changes).
1930
- *
1931
- * - Old `parse` was renamed to `toDate`.
1932
- * Now `parse` is a new function which parses a string using a provided format.
1933
- *
1934
- * ```javascript
1935
- * // Before v2.0.0
1936
- * parse('2016-01-01')
1937
- *
1938
- * // v2.0.0 onward (toDate no longer accepts a string)
1939
- * toDate(1392098430000) // Unix to timestamp
1940
- * toDate(new Date(2014, 1, 11, 11, 30, 30)) // Cloning the date
1941
- * parse('2016-01-01', 'yyyy-MM-dd', new Date())
1942
- * ```
1943
- *
1944
- * @param {String} dateString - the string to parse
1945
- * @param {String} formatString - the string of tokens
1946
- * @param {Date|Number} referenceDate - defines values missing from the parsed dateString
1947
- * @param {Object} [options] - an object with options.
1948
- * @param {Locale} [options.locale=defaultLocale] - the locale object. See [Locale]{@link https://date-fns.org/docs/Locale}
1949
- * @param {0|1|2|3|4|5|6} [options.weekStartsOn=0] - the index of the first day of the week (0 - Sunday)
1950
- * @param {1|2|3|4|5|6|7} [options.firstWeekContainsDate=1] - the day of January, which is always in the first week of the year
1951
- * @param {Boolean} [options.useAdditionalWeekYearTokens=false] - if true, allows usage of the week-numbering year tokens `YY` and `YYYY`;
1952
- * see: https://git.io/fxCyr
1953
- * @param {Boolean} [options.useAdditionalDayOfYearTokens=false] - if true, allows usage of the day of year tokens `D` and `DD`;
1954
- * see: https://git.io/fxCyr
1955
- * @returns {Date} the parsed date
1956
- * @throws {TypeError} 3 arguments required
1957
- * @throws {RangeError} `options.weekStartsOn` must be between 0 and 6
1958
- * @throws {RangeError} `options.firstWeekContainsDate` must be between 1 and 7
1959
- * @throws {RangeError} `options.locale` must contain `match` property
1960
- * @throws {RangeError} use `yyyy` instead of `YYYY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr
1961
- * @throws {RangeError} use `yy` instead of `YY` for formatting years using [format provided] to the input [input provided]; see: https://git.io/fxCyr
1962
- * @throws {RangeError} use `d` instead of `D` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr
1963
- * @throws {RangeError} use `dd` instead of `DD` for formatting days of the month using [format provided] to the input [input provided]; see: https://git.io/fxCyr
1964
- * @throws {RangeError} format string contains an unescaped latin alphabet character
1965
- *
1966
- * @example
1967
- * // Parse 11 February 2014 from middle-endian format:
1968
- * var result = parse('02/11/2014', 'MM/dd/yyyy', new Date())
1969
- * //=> Tue Feb 11 2014 00:00:00
1970
- *
1971
- * @example
1972
- * // Parse 28th of February in Esperanto locale in the context of 2010 year:
1973
- * import eo from 'date-fns/locale/eo'
1974
- * var result = parse('28-a de februaro', "do 'de' MMMM", new Date(2010, 0, 1), {
1975
- * locale: eo
1976
- * })
1977
- * //=> Sun Feb 28 2010 00:00:00
1978
- */
1979
-
1980
- function parse(dirtyDateString, dirtyFormatString, dirtyReferenceDate, dirtyOptions) {
1981
- requiredArgs(3, arguments);
1982
- var dateString = String(dirtyDateString);
1983
- var formatString = String(dirtyFormatString);
1984
- var options = dirtyOptions || {};
1985
- var locale = options.locale || defaultLocale;
1986
-
1987
- if (!locale.match) {
1988
- throw new RangeError('locale must contain match property');
1989
- }
1990
-
1991
- var localeFirstWeekContainsDate = locale.options && locale.options.firstWeekContainsDate;
1992
- var defaultFirstWeekContainsDate = localeFirstWeekContainsDate == null ? 1 : toInteger(localeFirstWeekContainsDate);
1993
- var firstWeekContainsDate = options.firstWeekContainsDate == null ? defaultFirstWeekContainsDate : toInteger(options.firstWeekContainsDate); // Test if weekStartsOn is between 1 and 7 _and_ is not NaN
1994
-
1995
- if (!(firstWeekContainsDate >= 1 && firstWeekContainsDate <= 7)) {
1996
- throw new RangeError('firstWeekContainsDate must be between 1 and 7 inclusively');
1997
- }
1998
-
1999
- var localeWeekStartsOn = locale.options && locale.options.weekStartsOn;
2000
- var defaultWeekStartsOn = localeWeekStartsOn == null ? 0 : toInteger(localeWeekStartsOn);
2001
- var weekStartsOn = options.weekStartsOn == null ? defaultWeekStartsOn : toInteger(options.weekStartsOn); // Test if weekStartsOn is between 0 and 6 _and_ is not NaN
2002
-
2003
- if (!(weekStartsOn >= 0 && weekStartsOn <= 6)) {
2004
- throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
2005
- }
2006
-
2007
- if (formatString === '') {
2008
- if (dateString === '') {
2009
- return toDate(dirtyReferenceDate);
2010
- } else {
2011
- return new Date(NaN);
2012
- }
2013
- }
2014
-
2015
- var subFnOptions = {
2016
- firstWeekContainsDate: firstWeekContainsDate,
2017
- weekStartsOn: weekStartsOn,
2018
- locale: locale
2019
- }; // If timezone isn't specified, it will be set to the system timezone
2020
-
2021
- var setters = [{
2022
- priority: TIMEZONE_UNIT_PRIORITY,
2023
- subPriority: -1,
2024
- set: dateToSystemTimezone,
2025
- index: 0
2026
- }];
2027
- var i;
2028
- var tokens = formatString.match(longFormattingTokensRegExp).map(function (substring) {
2029
- var firstCharacter = substring[0];
2030
-
2031
- if (firstCharacter === 'p' || firstCharacter === 'P') {
2032
- var longFormatter = longFormatters[firstCharacter];
2033
- return longFormatter(substring, locale.formatLong, subFnOptions);
2034
- }
2035
-
2036
- return substring;
2037
- }).join('').match(formattingTokensRegExp);
2038
- var usedTokens = [];
2039
-
2040
- for (i = 0; i < tokens.length; i++) {
2041
- var token = tokens[i];
2042
-
2043
- if (!options.useAdditionalWeekYearTokens && isProtectedWeekYearToken(token)) {
2044
- throwProtectedError(token, formatString, dirtyDateString);
2045
- }
2046
-
2047
- if (!options.useAdditionalDayOfYearTokens && isProtectedDayOfYearToken(token)) {
2048
- throwProtectedError(token, formatString, dirtyDateString);
2049
- }
2050
-
2051
- var firstCharacter = token[0];
2052
- var parser = parsers$1[firstCharacter];
2053
-
2054
- if (parser) {
2055
- var incompatibleTokens = parser.incompatibleTokens;
2056
-
2057
- if (Array.isArray(incompatibleTokens)) {
2058
- var incompatibleToken = void 0;
2059
-
2060
- for (var _i = 0; _i < usedTokens.length; _i++) {
2061
- var usedToken = usedTokens[_i].token;
2062
-
2063
- if (incompatibleTokens.indexOf(usedToken) !== -1 || usedToken === firstCharacter) {
2064
- incompatibleToken = usedTokens[_i];
2065
- break;
2066
- }
2067
- }
2068
-
2069
- if (incompatibleToken) {
2070
- throw new RangeError("The format string mustn't contain `".concat(incompatibleToken.fullToken, "` and `").concat(token, "` at the same time"));
2071
- }
2072
- } else if (parser.incompatibleTokens === '*' && usedTokens.length) {
2073
- throw new RangeError("The format string mustn't contain `".concat(token, "` and any other token at the same time"));
2074
- }
2075
-
2076
- usedTokens.push({
2077
- token: firstCharacter,
2078
- fullToken: token
2079
- });
2080
- var parseResult = parser.parse(dateString, token, locale.match, subFnOptions);
2081
-
2082
- if (!parseResult) {
2083
- return new Date(NaN);
2084
- }
2085
-
2086
- setters.push({
2087
- priority: parser.priority,
2088
- subPriority: parser.subPriority || 0,
2089
- set: parser.set,
2090
- validate: parser.validate,
2091
- value: parseResult.value,
2092
- index: setters.length
2093
- });
2094
- dateString = parseResult.rest;
2095
- } else {
2096
- if (firstCharacter.match(unescapedLatinCharacterRegExp)) {
2097
- throw new RangeError('Format string contains an unescaped latin alphabet character `' + firstCharacter + '`');
2098
- } // Replace two single quote characters with one single quote character
2099
-
2100
-
2101
- if (token === "''") {
2102
- token = "'";
2103
- } else if (firstCharacter === "'") {
2104
- token = cleanEscapedString(token);
2105
- } // Cut token from string, or, if string doesn't match the token, return Invalid Date
2106
-
2107
-
2108
- if (dateString.indexOf(token) === 0) {
2109
- dateString = dateString.slice(token.length);
2110
- } else {
2111
- return new Date(NaN);
2112
- }
2113
- }
2114
- } // Check if the remaining input contains something other than whitespace
2115
-
2116
-
2117
- if (dateString.length > 0 && notWhitespaceRegExp.test(dateString)) {
2118
- return new Date(NaN);
2119
- }
2120
-
2121
- var uniquePrioritySetters = setters.map(function (setter) {
2122
- return setter.priority;
2123
- }).sort(function (a, b) {
2124
- return b - a;
2125
- }).filter(function (priority, index, array) {
2126
- return array.indexOf(priority) === index;
2127
- }).map(function (priority) {
2128
- return setters.filter(function (setter) {
2129
- return setter.priority === priority;
2130
- }).sort(function (a, b) {
2131
- return b.subPriority - a.subPriority;
2132
- });
2133
- }).map(function (setterArray) {
2134
- return setterArray[0];
2135
- });
2136
- var date = toDate(dirtyReferenceDate);
2137
-
2138
- if (isNaN(date)) {
2139
- return new Date(NaN);
2140
- } // Convert the date in system timezone to the same date in UTC+00:00 timezone.
2141
- // This ensures that when UTC functions will be implemented, locales will be compatible with them.
2142
- // See an issue about UTC functions: https://github.com/date-fns/date-fns/issues/37
2143
-
2144
-
2145
- var utcDate = subMilliseconds(date, getTimezoneOffsetInMilliseconds(date));
2146
- var flags = {};
2147
-
2148
- for (i = 0; i < uniquePrioritySetters.length; i++) {
2149
- var setter = uniquePrioritySetters[i];
2150
-
2151
- if (setter.validate && !setter.validate(utcDate, setter.value, subFnOptions)) {
2152
- return new Date(NaN);
2153
- }
2154
-
2155
- var result = setter.set(utcDate, flags, setter.value, subFnOptions); // Result is tuple (date, flags)
2156
-
2157
- if (result[0]) {
2158
- utcDate = result[0];
2159
- assign(flags, result[1]); // Result is date
2160
- } else {
2161
- utcDate = result;
2162
- }
2163
- }
2164
-
2165
- return utcDate;
2166
- }
2167
-
2168
- function dateToSystemTimezone(date, flags) {
2169
- if (flags.timestampIsSet) {
2170
- return date;
2171
- }
2172
-
2173
- var convertedDate = new Date(0);
2174
- convertedDate.setFullYear(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate());
2175
- convertedDate.setHours(date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds(), date.getUTCMilliseconds());
2176
- return convertedDate;
2177
- }
2178
-
2179
- function cleanEscapedString(input) {
2180
- return input.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
2181
- }
2182
-
2183
- const calendarDatepickerCss = ".digi--util--fs--xs.sc-digi-calendar-datepicker{font-size:var(--digi--global--typography--font-size--small) !important}.digi--util--fs--s.sc-digi-calendar-datepicker{font-size:calc(var(--digi--global--typography--font-size--small) + 1px) !important}.digi--util--fs--m.sc-digi-calendar-datepicker{font-size:var(--digi--global--typography--font-size--base) !important}.digi--util--fs--l.sc-digi-calendar-datepicker{font-size:var(--digi--global--typography--font-size--large) !important}.digi--util--fw--sb.sc-digi-calendar-datepicker{font-weight:var(--digi--global--typography--font-weight--semibold) !important}.digi--util--pt--1.sc-digi-calendar-datepicker{padding-top:var(--digi--global--spacing--smallest-2) !important}.digi--util--pt--10.sc-digi-calendar-datepicker{padding-top:var(--digi--global--spacing--smallest) !important}.digi--util--pt--20.sc-digi-calendar-datepicker{padding-top:var(--digi--global--spacing--base) !important}.digi--util--pt--30.sc-digi-calendar-datepicker{padding-top:var(--digi--global--spacing--largest-2) !important}.digi--util--pt--40.sc-digi-calendar-datepicker{padding-top:var(--digi--global--spacing--largest-4) !important}.digi--util--pt--50.sc-digi-calendar-datepicker{padding-top:2.5rem !important}.digi--util--pt--60.sc-digi-calendar-datepicker{padding-top:var(--digi--global--spacing--largest-5) !important}.digi--util--pt--70.sc-digi-calendar-datepicker{padding-top:var(--digi--global--spacing--largest-6) !important}.digi--util--pt--80.sc-digi-calendar-datepicker{padding-top:4.5rem !important}.digi--util--pt--90.sc-digi-calendar-datepicker{padding-top:5rem !important}.digi--util--pb--1.sc-digi-calendar-datepicker{padding-bottom:var(--digi--global--spacing--smallest-2) !important}.digi--util--pb--10.sc-digi-calendar-datepicker{padding-bottom:var(--digi--global--spacing--smallest) !important}.digi--util--pb--20.sc-digi-calendar-datepicker{padding-bottom:var(--digi--global--spacing--base) !important}.digi--util--pb--30.sc-digi-calendar-datepicker{padding-bottom:var(--digi--global--spacing--largest-2) !important}.digi--util--pb--40.sc-digi-calendar-datepicker{padding-bottom:var(--digi--global--spacing--largest-4) !important}.digi--util--pb--50.sc-digi-calendar-datepicker{padding-bottom:2.5rem !important}.digi--util--pb--60.sc-digi-calendar-datepicker{padding-bottom:var(--digi--global--spacing--largest-5) !important}.digi--util--pb--70.sc-digi-calendar-datepicker{padding-bottom:var(--digi--global--spacing--largest-6) !important}.digi--util--pb--80.sc-digi-calendar-datepicker{padding-bottom:4.5rem !important}.digi--util--pb--90.sc-digi-calendar-datepicker{padding-bottom:5rem !important}.digi--util--p--1.sc-digi-calendar-datepicker{padding:var(--digi--global--spacing--smallest-2) !important}.digi--util--p--10.sc-digi-calendar-datepicker{padding:var(--digi--global--spacing--smallest) !important}.digi--util--p--20.sc-digi-calendar-datepicker{padding:var(--digi--global--spacing--base) !important}.digi--util--p--30.sc-digi-calendar-datepicker{padding:var(--digi--global--spacing--largest-2) !important}.digi--util--p--40.sc-digi-calendar-datepicker{padding:var(--digi--global--spacing--largest-4) !important}.digi--util--p--50.sc-digi-calendar-datepicker{padding:2.5rem !important}.digi--util--p--60.sc-digi-calendar-datepicker{padding:var(--digi--global--spacing--largest-5) !important}.digi--util--p--70.sc-digi-calendar-datepicker{padding:var(--digi--global--spacing--largest-6) !important}.digi--util--p--80.sc-digi-calendar-datepicker{padding:4.5rem !important}.digi--util--p--90.sc-digi-calendar-datepicker{padding:5rem !important}.digi--util--ptb--1.sc-digi-calendar-datepicker{padding-top:var(--digi--global--spacing--smallest-2) !important;padding-bottom:var(--digi--global--spacing--smallest-2) !important}.digi--util--ptb--10.sc-digi-calendar-datepicker{padding-top:var(--digi--global--spacing--smallest) !important;padding-bottom:var(--digi--global--spacing--smallest) !important}.digi--util--ptb--20.sc-digi-calendar-datepicker{padding-top:var(--digi--global--spacing--base) !important;padding-bottom:var(--digi--global--spacing--base) !important}.digi--util--ptb--30.sc-digi-calendar-datepicker{padding-top:var(--digi--global--spacing--largest-2) !important;padding-bottom:var(--digi--global--spacing--largest-2) !important}.digi--util--ptb--40.sc-digi-calendar-datepicker{padding-top:var(--digi--global--spacing--largest-4) !important;padding-bottom:var(--digi--global--spacing--largest-4) !important}.digi--util--ptb--50.sc-digi-calendar-datepicker{padding-top:2.5rem !important;padding-bottom:2.5rem !important}.digi--util--ptb--60.sc-digi-calendar-datepicker{padding-top:var(--digi--global--spacing--largest-5) !important;padding-bottom:var(--digi--global--spacing--largest-5) !important}.digi--util--ptb--70.sc-digi-calendar-datepicker{padding-top:var(--digi--global--spacing--largest-6) !important;padding-bottom:var(--digi--global--spacing--largest-6) !important}.digi--util--ptb--80.sc-digi-calendar-datepicker{padding-top:4.5rem !important;padding-bottom:4.5rem !important}.digi--util--ptb--90.sc-digi-calendar-datepicker{padding-top:5rem !important;padding-bottom:5rem !important}.digi--util--plr--1.sc-digi-calendar-datepicker{padding-left:var(--digi--global--spacing--smallest-2) !important;padding-right:var(--digi--global--spacing--smallest-2) !important}.digi--util--plr--10.sc-digi-calendar-datepicker{padding-left:var(--digi--global--spacing--smallest) !important;padding-right:var(--digi--global--spacing--smallest) !important}.digi--util--plr--20.sc-digi-calendar-datepicker{padding-left:var(--digi--global--spacing--base) !important;padding-right:var(--digi--global--spacing--base) !important}.digi--util--plr--30.sc-digi-calendar-datepicker{padding-left:var(--digi--global--spacing--largest-2) !important;padding-right:var(--digi--global--spacing--largest-2) !important}.digi--util--plr--40.sc-digi-calendar-datepicker{padding-left:var(--digi--global--spacing--largest-4) !important;padding-right:var(--digi--global--spacing--largest-4) !important}.digi--util--plr--50.sc-digi-calendar-datepicker{padding-left:2.5rem !important;padding-right:2.5rem !important}.digi--util--plr--60.sc-digi-calendar-datepicker{padding-left:var(--digi--global--spacing--largest-5) !important;padding-right:var(--digi--global--spacing--largest-5) !important}.digi--util--plr--70.sc-digi-calendar-datepicker{padding-left:var(--digi--global--spacing--largest-6) !important;padding-right:var(--digi--global--spacing--largest-6) !important}.digi--util--plr--80.sc-digi-calendar-datepicker{padding-left:4.5rem !important;padding-right:4.5rem !important}.digi--util--plr--90.sc-digi-calendar-datepicker{padding-left:5rem !important;padding-right:5rem !important}.digi--util--sr-only.sc-digi-calendar-datepicker{border:0;clip:rect(1px, 1px, 1px, 1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.digi--util--hidden.sc-digi-calendar-datepicker{display:none}.sc-digi-calendar-datepicker-h{--digi--datepicker--max-width:18.75rem;--digi--datepicker--border-radius:0.25rem;--digi--datepicker--focus-outline:solid var(--digi--border-width--secondary) var(--digi--color--border--secondary);--digi--datepicker--calendar--max-width:20.25rem;--digi--datepicker--calendar--show-week--max-width:23.375rem;--digi--datepicker--calendar-shadow:0 0.125rem 0.375rem 0 rgba(0, 0, 0, 0.7);--digi--datepicker--input-icon--width:1.125rem;--digi--datepicker--input-icon--horizontal-padding:1.25rem;--digi--datepicker--input-icon--vertical-padding:var(--digi--global--spacing--smallest-2);--digi--datepicker--input--inline-start:var(--digi--gutter--medium);--digi--datepicker--input--inline-end:calc(var(--digi--datepicker--input-icon--width) + var(--digi--datepicker--input-icon--horizontal-padding) * 2);--digi--datepicker--input--inactive-background:var(--digi--color--background--secondary);box-sizing:content-box}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker{position:relative;max-width:var(--digi--datepicker--max-width)}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker .digi-calendar-datepicker__inactive.sc-digi-calendar-datepicker{--digi--form-input--background--empty:var(\n --digi--datepicker--input--inactive-background\n )}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker .digi-calendar-datepicker__input-button.sc-digi-calendar-datepicker{position:absolute;top:0px;bottom:0px;right:0px;background:none;color:inherit;border:none;padding:0;font:inherit;outline:inherit;cursor:pointer}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker .digi-calendar-datepicker__input-button.sc-digi-calendar-datepicker .digi-calendar-datepicker__button-icon.sc-digi-calendar-datepicker{box-sizing:content-box;width:var(--digi--datepicker--input-icon--width);padding:var(--digi--datepicker--input-icon--vertical-padding) var(--digi--datepicker--input-icon--horizontal-padding)}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-field.sc-digi-calendar-datepicker .digi-calendar-datepicker__input-button.sc-digi-calendar-datepicker:focus-visible{outline:2px solid black;outline-offset:2px;box-shadow:0px 0px 0px 5px white}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__calendar.sc-digi-calendar-datepicker{max-width:var(--digi--datepicker--calendar--max-width);height:0px;border-radius:var(--digi--datepicker--border-radius);overflow:hidden;z-index:1}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__show-week-numbers.sc-digi-calendar-datepicker .digi-calendar-datepicker__calendar.sc-digi-calendar-datepicker{max-width:var(--digi--datepicker--calendar--show-week--max-width)}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__show-error.sc-digi-calendar-datepicker .digi-calendar-datepicker__calendar.sc-digi-calendar-datepicker{margin-top:var(--digi--gutter--medium)}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__show-calendar.sc-digi-calendar-datepicker .digi-calendar-datepicker__calendar.sc-digi-calendar-datepicker{height:auto;background-color:#fff;box-shadow:var(--digi--datepicker--calendar-shadow);position:absolute}.sc-digi-calendar-datepicker-h .digi-calendar-datepicker__input-component.sc-digi-calendar-datepicker{--digi--form-input--padding:0 var(--digi--datepicker--input--inline-end)\n 0 var(--digi--datepicker--input--inline-start)}";
2184
- const DigiCalendarDatepickerStyle0 = calendarDatepickerCss;
2185
-
2186
- const CalendarDatepicker = class {
2187
- constructor(hostRef) {
2188
- registerInstance(this, hostRef);
2189
- this.afOnDateChange = createEvent(this, "afOnDateChange", 7);
2190
- this.futureYears = 10;
2191
- this.showWrongFormatError = false;
2192
- this.showDisabledDateError = false;
2193
- this.showCalendar = false;
2194
- this.userInput = '';
2195
- this.afId = randomIdGenerator('digi-calendar-datepicker');
2196
- this.afLabel = 'Skriv in eller välj datum (åååå-mm-dd)';
2197
- this.afLabelDescription = 'Exempel: 1992-06-26';
2198
- this.afValidation = CalendarDatepickerValidation.NEUTRAL;
2199
- this.afValidationText = undefined;
2200
- this.afInvalid = false;
2201
- this.afValidationMessage = 'Eget meddelande';
2202
- this.afValidationWrongFormat = 'Fel format';
2203
- this.afValidationDisabledDate = 'Ej valbart datum';
2204
- this.afRequired = undefined;
2205
- this.afDisableValidation = undefined;
2206
- this.afRequiredText = undefined;
2207
- this.afSelectedDates = [];
2208
- this.value = [];
2209
- this.afMinDate = undefined;
2210
- this.afMaxDate = undefined;
2211
- this.afShowWeekNumber = false;
2212
- this.afMultipleDates = false;
2213
- this.afCloseOnSelect = false;
2214
- }
2215
- valueChangeHandler(newVal) {
2216
- if (this.afDisableValidation && this.afSelectedDates.length > 0) {
2217
- this.afSelectedDates = [];
2218
- }
2219
- /**
2220
- * Behövde lägga till den här förändringen för att angular med value accessor betedde sig märkligt vid onBlur av input-fält. Den reagerade när man lämnade fältet även fast fältet var tomt (pratar om watchern). Så behövde bygga en guard/gatekeeper som kontrollerar värdet först. Ska inte påverka manuell-, eller autovalidering.
2221
- */
2222
- if (Array.isArray(newVal) &&
2223
- newVal.every((d) => d instanceof Date && !isNaN(d.getTime()))) {
2224
- this.afSelectedDates = newVal;
2225
- this.userInput = '';
2226
- }
2227
- }
2228
- afMultipleDatesChangeHandler() {
2229
- var _a;
2230
- if (!this.afMultipleDates && this.afSelectedDates.length > 1) {
2231
- this.afSelectedDates = this.afSelectedDates.slice(-1);
2232
- this.value = (_a = this.afSelectedDates) !== null && _a !== void 0 ? _a : [];
2233
- }
2234
- }
2235
- clickHandler(e) {
2236
- const target = e.target;
2237
- const selector = `#${this.afId}-datepicker`;
2238
- if (detectClickOutside(target, selector)) {
2239
- this.showCalendar = false;
2240
- }
2241
- }
2242
- connectedCallback() {
2243
- this.hostElement.addEventListener('keyup', this.keyUpHandler.bind(this));
2244
- }
2245
- disconnectedCallback() {
2246
- this.hostElement.removeEventListener('keyup', this.keyUpHandler.bind(this));
2247
- }
2248
- componentDidLoad() {
2249
- var _a;
2250
- if ((_a = this.value) === null || _a === void 0 ? void 0 : _a.length) {
2251
- this.setValue(this.value);
2252
- }
2253
- }
2254
- get cssModifiers() {
2255
- return {
2256
- 'digi-calendar-datepicker__show-week-numbers': this.afShowWeekNumber,
2257
- 'digi-calendar-datepicker__show-error': this.getShowError(),
2258
- 'digi-calendar-datepicker__show-calendar': this.showCalendar
2259
- };
2260
- }
2261
- keyUpHandler(e) {
2262
- if (e.key === 'Escape' && this.showCalendar) {
2263
- this.showCalendar = false;
2264
- this.focusOnCalendarButton();
2265
- e.stopPropagation();
2266
- }
2267
- }
2268
- focusOnCalendarButton() {
2269
- const calendarButton = this.hostElement.querySelector(`#${this.afId}-button`);
2270
- calendarButton.focus();
2271
- }
2272
- toggleCalendar() {
2273
- this.showCalendar = !this.showCalendar;
2274
- }
2275
- parseInputString(value) {
2276
- return value
2277
- .split(/[&,]|och/g)
2278
- .map((text) => this.parseDateString(text.trim()));
2279
- }
2280
- resetValueAndState() {
2281
- this.showWrongFormatError = false;
2282
- this.showDisabledDateError = false;
2283
- this.setValue([]);
2284
- this.afOnDateChange.emit(['']);
2285
- this.afSelectedDates = [];
2286
- }
2287
- validateInputAndShowErrors(dates) {
2288
- this.showWrongFormatError = !!dates.find((date) => !isValid(date));
2289
- this.showDisabledDateError = !!dates.find((date) => !this.isDateSelectable(date));
2290
- }
2291
- setValue(value) {
2292
- this.afSelectedDates = value;
2293
- this.value = value;
2294
- }
2295
- /*
2296
-
2297
- Metoden tar både Stencil-specifika och vanliga DOM-event, extraherar texten användaren matat in, hanterar tom inmatning, par­sar till Date[], kör intern validering, uppdaterar komponentens state och slutligen emitterar alltid en string[] med exakt det användaren skrev – vilket gör det smidigare för Angular-value-accessorn att jobba vidare med.
2298
-
2299
- */
2300
- parseInput(evt) {
2301
- let newValue = '';
2302
- if (evt.detail && typeof evt.detail.value === 'string') {
2303
- newValue = evt.detail.value;
2304
- }
2305
- else if (evt.target && evt.target.value != null) {
2306
- newValue = evt.target.value;
2307
- }
2308
- this.userInput = newValue;
2309
- if (newValue === '') {
2310
- this.resetValueAndState();
2311
- return;
2312
- }
2313
- const dates = this.parseInputString(newValue);
2314
- this.setValue(dates); // target.value
2315
- if (!this.afDisableValidation) {
2316
- this.validateInputAndShowErrors(dates);
2317
- if (this.getShowError()) {
2318
- this.afOnDateChange.emit([]);
2319
- }
2320
- else {
2321
- this.afOnDateChange.emit(this.afSelectedDates);
2322
- }
2323
- }
2324
- else {
2325
- const dateStrs = newValue.split(/[&,]|och/g).map((s) => s.trim());
2326
- this.afOnDateChange.emit([...dateStrs]); // evt.detail
2327
- }
2328
- }
2329
- parseCalendar(evt) {
2330
- if (!(evt === null || evt === void 0 ? void 0 : evt.detail))
2331
- return;
2332
- if (!this.afDisableValidation) {
2333
- this.afInvalid = false;
2334
- this.showWrongFormatError = false;
2335
- this.showDisabledDateError = false;
2336
- }
2337
- this.userInput = '';
2338
- this.setValue(evt.detail);
2339
- if (this.afCloseOnSelect) {
2340
- this.toggleCalendar();
2341
- this.focusOnCalendarButton();
2342
- }
2343
- this.afOnDateChange.emit(this.afSelectedDates);
2344
- }
2345
- /*
2346
-
2347
- Metoden överskrider JavaScripts inbyggda "isValid"-funktion, då den tillåter att ex., "1" är rätt format medans ex., "13" är fel format vid YYYY-MM-DD krav på inmatat format.
2348
-
2349
- */
2350
- parseDateString(s) {
2351
- const raw = s.trim().replace(/[./]/g, '-');
2352
- // 1) yyyy-MM-dd
2353
- if (/^\d{4}-\d{2}-\d{2}$/.test(raw)) {
2354
- const d = parse(raw, 'yyyy-MM-dd', new Date());
2355
- return isValid(d) ? d : new Date(NaN);
2356
- }
2357
- // 2) yyyymmdd
2358
- if (/^\d{8}$/.test(raw)) {
2359
- const yyyy = raw.slice(0, 4);
2360
- const mm = raw.slice(4, 6);
2361
- const dd = raw.slice(6, 8);
2362
- const d = parse(`${yyyy}-${mm}-${dd}`, 'yyyy-MM-dd', new Date());
2363
- return isValid(d) ? d : new Date(NaN);
2364
- }
2365
- // 3) yymmdd (map to full year using the previous futureYears logic)
2366
- if (/^\d{6}$/.test(raw)) {
2367
- const yy = raw.slice(0, 2);
2368
- const mm = raw.slice(2, 4);
2369
- const dd = raw.slice(4, 6);
2370
- const yyyy = this.getFullYear(yy);
2371
- const d = parse(`${yyyy}-${mm}-${dd}`, 'yyyy-MM-dd', new Date());
2372
- return isValid(d) ? d : new Date(NaN);
2373
- }
2374
- // Everything else is invalid (so "1" and "25" will now be "Fel format")
2375
- return new Date(NaN);
2376
- }
2377
- getFullYear(s) {
2378
- if (s.length === 4)
2379
- return s;
2380
- const y = new Date().getFullYear().toString();
2381
- return parseInt(s) > parseInt(y.slice(-2)) + this.futureYears
2382
- ? parseInt(y.slice(0, -2)) - 1 + s
2383
- : y.slice(0, -2) + s;
2384
- }
2385
- isDateSelectable(date) {
2386
- if (this.afMinDate && this.isBefore(date, this.afMinDate))
2387
- return false;
2388
- if (this.afMaxDate && this.isAfter(date, this.afMaxDate))
2389
- return false;
2390
- return true;
2391
- }
2392
- isBefore(a, b) {
2393
- return isBefore(this.dateWithoutTime(a), this.dateWithoutTime(b));
2394
- }
2395
- isAfter(a, b) {
2396
- return isAfter(this.dateWithoutTime(a), this.dateWithoutTime(b));
2397
- }
2398
- dateWithoutTime(date) {
2399
- return new Date(date.getFullYear(), date.getMonth(), date.getDate());
2400
- }
2401
- getShowError() {
2402
- return (this.afInvalid || this.showWrongFormatError || this.showDisabledDateError);
2403
- }
2404
- getErrorText() {
2405
- var _a;
2406
- if (this.afInvalid) {
2407
- return (_a = this.afValidationText) !== null && _a !== void 0 ? _a : this.afValidationMessage;
2408
- }
2409
- return this.showWrongFormatError
2410
- ? this.afValidationWrongFormat
2411
- : this.afValidationDisabledDate;
2412
- }
2413
- get inputValue() {
2414
- if (this.userInput !== '') {
2415
- return this.userInput;
2416
- }
2417
- // otherwise format your real selected dates
2418
- const sorted = this.afSelectedDates
2419
- .slice()
2420
- .sort((a, b) => (this.isBefore(a, b) ? -1 : 1));
2421
- return this.datesToInputString(sorted);
2422
- }
2423
- datesToInputString(dates) {
2424
- return dates.every((date) => date instanceof Date && !isNaN(date.getTime()))
2425
- ? dates
2426
- .map((date) => date.toLocaleDateString('sv-SE'))
2427
- .flatMap((date, index, all) => {
2428
- const isLast = index == all.length - 1;
2429
- const isFirst = index === 0;
2430
- if (isFirst) {
2431
- return date;
2432
- }
2433
- else if (isLast) {
2434
- return [' och ', date];
2435
- }
2436
- else {
2437
- return [', ', date];
2438
- }
2439
- })
2440
- .join('')
2441
- : '';
2442
- }
2443
- get getSelectedDates() {
2444
- if (this.afDisableValidation && this.getShowError()) {
2445
- return this.afSelectedDates;
2446
- }
2447
- if (this.getShowError()) {
2448
- return [];
2449
- }
2450
- return this.afSelectedDates;
2451
- }
2452
- render() {
2453
- return (h(Host, { key: '44ccd8d80d879801a47b66ac19cf9bcae4dd6087' }, h("div", { key: '2408157d090c63c33d802b5bf0b0afb6d0d15af4', class: Object.assign({ 'digi-calendar-datepicker': true }, this.cssModifiers), id: `${this.afId}-datepicker` }, h("div", { key: '2f59a810b2e79132b9cf7ee51e9225f2199ab98d', class: "digi-calendar-datepicker__input-field" }, h("digi-form-input", { key: 'ef39de9113fd8e357207fad515dd6ce43520e6f2', class: 'digi-calendar-datepicker__input-component', afLabel: this.afLabel, afLabelDescription: this.afLabelDescription, afValue: this.inputValue, afValidation: this.getShowError()
2454
- ? FormInputValidation.ERROR
2455
- : FormInputValidation.NEUTRAL, afValidationText: this.getErrorText(), afId: this.afId, afAriaDescribedby: `${this.afId}--validation-message`, afRequired: this.afRequired, afRequiredText: this.afRequiredText, onAfOnChange: (evt) => {
2456
- evt.stopImmediatePropagation();
2457
- this.parseInput(evt);
2458
- } }, h("button", { key: '008b0dd4b6e9fa27256685cb8d5a070310d6fb06', id: this.afId + '-button', class: "digi-calendar-datepicker__input-button", slot: "button", "aria-label": "Visa eller d\u00F6lj kalender", "aria-expanded": this.showCalendar ? 'true' : 'false', "aria-haspopup": true, onClick: () => this.toggleCalendar(), type: "button" }, h("digi-icon-calendar-alt", { key: '31923f874f4920e18e3b444bf75133c80674ad3b', class: "digi-calendar-datepicker__button-icon", slot: "icon" })))), h("div", { key: '6b964e9aebddbf3e1023cc12ddeb5e8b3dd15854', class: "digi-calendar-datepicker__calendar" }, h("digi-calendar", { key: '3f7aa9676f1996188274bf4fee666ab63d72fc01', afActive: this.showCalendar, afShowWeekNumber: this.afShowWeekNumber, afMultipleDates: this.afMultipleDates, afSelectedDates: this.getSelectedDates, afMinDate: this.afMinDate, afMaxDate: this.afMaxDate, "aria-hidden": !this.showCalendar, onAfOnDateSelectedChange: (evt) => {
2459
- evt.stopImmediatePropagation();
2460
- this.parseCalendar(evt);
2461
- } })))));
2462
- }
2463
- get hostElement() { return getElement(this); }
2464
- static get watchers() { return {
2465
- "value": ["valueChangeHandler"],
2466
- "afMultipleDates": ["afMultipleDatesChangeHandler"]
2467
- }; }
2468
- };
2469
- CalendarDatepicker.style = DigiCalendarDatepickerStyle0;
2470
-
2471
- export { CalendarDatepicker as digi_calendar_datepicker };