@dso-toolkit/core 79.1.0 → 81.0.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 (738) hide show
  1. package/dist/bundle/dso-accordion-section.js +8 -8
  2. package/dist/bundle/dso-accordion-section.js.map +1 -1
  3. package/dist/bundle/dso-action-list-item.js +1 -1
  4. package/dist/bundle/dso-action-list.js +1 -1
  5. package/dist/bundle/dso-action-list.js.map +1 -1
  6. package/dist/bundle/dso-advanced-select.js +6 -6
  7. package/dist/bundle/dso-advanced-select.js.map +1 -1
  8. package/dist/bundle/dso-alert.js +1 -1
  9. package/dist/bundle/dso-annotation-activiteit.js +7 -7
  10. package/dist/bundle/dso-annotation-activiteit.js.map +1 -1
  11. package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +7 -7
  12. package/dist/bundle/dso-annotation-gebiedsaanwijzing.js.map +1 -1
  13. package/dist/bundle/dso-annotation-kaart.js +4 -4
  14. package/dist/bundle/dso-annotation-kaart.js.map +1 -1
  15. package/dist/bundle/dso-annotation-locatie.js +1 -1
  16. package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +7 -7
  17. package/dist/bundle/dso-annotation-omgevingsnormwaarde.js.map +1 -1
  18. package/dist/bundle/dso-attachments-counter.js +1 -1
  19. package/dist/bundle/dso-autosuggest.js +3 -3
  20. package/dist/bundle/dso-badge.js +1 -1
  21. package/dist/bundle/dso-card.js +2 -2
  22. package/dist/bundle/dso-card.js.map +1 -1
  23. package/dist/bundle/dso-contact-information.js.map +1 -1
  24. package/dist/bundle/dso-document-card.js +2 -2
  25. package/dist/bundle/dso-document-component.js +1 -1
  26. package/dist/bundle/dso-dropdown-menu.js +1 -1
  27. package/dist/bundle/dso-header.js +4 -4
  28. package/dist/bundle/dso-header.js.map +1 -1
  29. package/dist/bundle/dso-highlight-box.js +1 -1
  30. package/dist/bundle/dso-history-item.js +2 -2
  31. package/dist/bundle/dso-icon-button.js +1 -1
  32. package/dist/bundle/dso-icon.js +1 -1
  33. package/dist/bundle/dso-image-overlay.js +1 -1
  34. package/dist/bundle/dso-info-button.js +1 -1
  35. package/dist/bundle/dso-info.js +1 -1
  36. package/dist/bundle/dso-input-range.js +2 -2
  37. package/dist/bundle/dso-label.js +1 -1
  38. package/dist/bundle/dso-legend-item.js +7 -7
  39. package/dist/bundle/dso-list-button.js +7 -7
  40. package/dist/bundle/dso-list-button.js.map +1 -1
  41. package/dist/bundle/dso-logo.js +1 -1
  42. package/dist/bundle/dso-map-base-layers.js +6 -6
  43. package/dist/bundle/dso-map-controls.js +4 -4
  44. package/dist/bundle/dso-map-controls.js.map +1 -1
  45. package/dist/bundle/dso-map-overlays.js +6 -6
  46. package/dist/bundle/dso-mark-bar.js +3 -3
  47. package/dist/bundle/dso-modal.js +4 -4
  48. package/dist/bundle/dso-onboarding-tip.js +15 -7
  49. package/dist/bundle/dso-onboarding-tip.js.map +1 -1
  50. package/dist/bundle/dso-ozon-content-toggletip.d.ts +11 -0
  51. package/dist/bundle/dso-ozon-content-toggletip.js +9 -0
  52. package/dist/bundle/dso-ozon-content-toggletip.js.map +1 -0
  53. package/dist/bundle/dso-ozon-content.js +1 -1
  54. package/dist/bundle/dso-pagination.js +2 -2
  55. package/dist/bundle/dso-panel.js +1 -1
  56. package/dist/bundle/dso-plekinfo-card.js +3 -3
  57. package/dist/bundle/dso-plekinfo-card.js.map +1 -1
  58. package/dist/bundle/dso-progress-bar.js +1 -1
  59. package/dist/bundle/dso-progress-indicator.js +1 -1
  60. package/dist/bundle/dso-project-item.js +5 -5
  61. package/dist/bundle/dso-renvooi.js +1 -1
  62. package/dist/bundle/dso-responsive-element.js +1 -1
  63. package/dist/bundle/dso-scrollable.js +1 -1
  64. package/dist/bundle/dso-selectable.js +1 -1
  65. package/dist/bundle/dso-skiplink.js +2 -2
  66. package/dist/bundle/dso-slide-toggle.js +1 -1
  67. package/dist/bundle/dso-survey-rating.js +6 -6
  68. package/dist/bundle/dso-survey-rating.js.map +1 -1
  69. package/dist/bundle/dso-table.js +1 -1
  70. package/dist/bundle/dso-tabs.js +1 -1
  71. package/dist/bundle/dso-tijdreis-banner.js +3 -3
  72. package/dist/bundle/dso-tijdreis-banner.js.map +1 -1
  73. package/dist/bundle/dso-toggletip.js +1 -1
  74. package/dist/bundle/dso-tooltip.js +1 -1
  75. package/dist/bundle/dso-tree-view.js +3 -3
  76. package/dist/bundle/dso-viewer-grid.js +5 -5
  77. package/dist/bundle/dso-viewer-grid.js.map +1 -1
  78. package/dist/bundle/dsot-document-component-demo.js +36 -29
  79. package/dist/bundle/dsot-document-component-demo.js.map +1 -1
  80. package/dist/bundle/index.js +2 -2
  81. package/dist/bundle/p-B4T_HZRq.js +83 -0
  82. package/dist/bundle/{p-D-Dm2Gh7.js.map → p-B4T_HZRq.js.map} +1 -1
  83. package/dist/bundle/p-BDuXq5bx.js +169 -0
  84. package/dist/bundle/p-BDuXq5bx.js.map +1 -0
  85. package/dist/bundle/p-BJ43Q58h.js +116 -0
  86. package/dist/bundle/p-BJ43Q58h.js.map +1 -0
  87. package/dist/bundle/{p-DaQXGkxw.js → p-BZCmkczj.js} +3 -3
  88. package/dist/bundle/{p-DaQXGkxw.js.map → p-BZCmkczj.js.map} +1 -1
  89. package/dist/bundle/p-BuyCa_uF.js +101 -0
  90. package/dist/bundle/p-BuyCa_uF.js.map +1 -0
  91. package/dist/bundle/p-Bv7dmPUW.js +36 -0
  92. package/dist/bundle/{p-LlmPNkbk.js.map → p-Bv7dmPUW.js.map} +1 -1
  93. package/dist/bundle/{p-DZgHugpQ.js → p-BwJ60QDk.js} +4 -4
  94. package/dist/bundle/{p-DZgHugpQ.js.map → p-BwJ60QDk.js.map} +1 -1
  95. package/dist/bundle/p-CFAsG6Ok.js +332 -0
  96. package/dist/bundle/p-CFAsG6Ok.js.map +1 -0
  97. package/dist/bundle/{p-oGRWyph0.js → p-CHxXKwET.js} +3 -3
  98. package/dist/bundle/{p-oGRWyph0.js.map → p-CHxXKwET.js.map} +1 -1
  99. package/dist/bundle/p-CN3aN7RU.js +1211 -0
  100. package/dist/bundle/p-CN3aN7RU.js.map +1 -0
  101. package/dist/bundle/{p-ZUzIHCVc.js → p-CS5wngFb.js} +3 -3
  102. package/dist/bundle/{p-ZUzIHCVc.js.map → p-CS5wngFb.js.map} +1 -1
  103. package/dist/bundle/{p-BOnELf-b.js → p-CpYhA6kG.js} +3 -3
  104. package/dist/bundle/{p-BOnELf-b.js.map → p-CpYhA6kG.js.map} +1 -1
  105. package/dist/bundle/{p-yEg3EESJ.js → p-Cpkqb2I3.js} +5 -5
  106. package/dist/bundle/p-Cpkqb2I3.js.map +1 -0
  107. package/dist/bundle/{p-bxV-YGVG.js → p-D1M1qAkT.js} +4 -4
  108. package/dist/bundle/{p-bxV-YGVG.js.map → p-D1M1qAkT.js.map} +1 -1
  109. package/dist/bundle/{p-DdLngpp0.js → p-DAvYoaob.js} +5 -5
  110. package/dist/bundle/{p-DdLngpp0.js.map → p-DAvYoaob.js.map} +1 -1
  111. package/dist/bundle/{p-Dwv_hVo9.js → p-DTle6By6.js} +6 -8
  112. package/dist/bundle/p-DTle6By6.js.map +1 -0
  113. package/dist/bundle/p-D_6TKRgI.js +84 -0
  114. package/dist/bundle/p-D_6TKRgI.js.map +1 -0
  115. package/dist/bundle/p-Dd5JHsV3.js +111 -0
  116. package/dist/bundle/p-Dd5JHsV3.js.map +1 -0
  117. package/dist/bundle/{p-DqxeHQ0G.js → p-DpzeiE9g.js} +5 -5
  118. package/dist/bundle/{p-DqxeHQ0G.js.map → p-DpzeiE9g.js.map} +1 -1
  119. package/dist/bundle/{p-BaN2YPhJ.js → p-Dvmo0ffo.js} +7 -7
  120. package/dist/bundle/{p-BaN2YPhJ.js.map → p-Dvmo0ffo.js.map} +1 -1
  121. package/dist/bundle/{p-B1X31Uiw.js → p-UaaPHvKJ.js} +3 -3
  122. package/dist/bundle/{p-B1X31Uiw.js.map → p-UaaPHvKJ.js.map} +1 -1
  123. package/dist/bundle/p-YEwuOvaY.js +86 -0
  124. package/dist/bundle/{p-Du2B4UJi.js.map → p-YEwuOvaY.js.map} +1 -1
  125. package/dist/bundle/{p-CaZRQPYD.js → p-ZFqVNkha.js} +21 -8
  126. package/dist/bundle/p-ZFqVNkha.js.map +1 -0
  127. package/dist/bundle/p-fTG2YwZq.js +49 -0
  128. package/dist/bundle/{p-CF3bHKY3.js.map → p-fTG2YwZq.js.map} +1 -1
  129. package/dist/bundle/p-nPKr7LCS.js +115 -0
  130. package/dist/bundle/{p-Vek1sFf5.js.map → p-nPKr7LCS.js.map} +1 -1
  131. package/dist/cjs/dso-accordion-section.cjs.entry.js +1 -1
  132. package/dist/cjs/dso-accordion-section.cjs.entry.js.map +1 -1
  133. package/dist/cjs/dso-accordion-section.entry.cjs.js.map +1 -1
  134. package/dist/cjs/dso-action-list.cjs.entry.js +1 -1
  135. package/dist/cjs/dso-action-list.cjs.entry.js.map +1 -1
  136. package/dist/cjs/dso-action-list.entry.cjs.js.map +1 -1
  137. package/dist/cjs/dso-advanced-select.cjs.entry.js +1 -1
  138. package/dist/cjs/dso-advanced-select.cjs.entry.js.map +1 -1
  139. package/dist/cjs/dso-advanced-select.entry.cjs.js.map +1 -1
  140. package/dist/cjs/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-ozon-content-toggletip.dso-panel.dso-table.entry.cjs.js.map +1 -0
  141. package/dist/cjs/dso-alert_7.cjs.entry.js +1497 -0
  142. package/dist/cjs/dso-alert_7.cjs.entry.js.map +1 -0
  143. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +1 -1
  144. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js.map +1 -1
  145. package/dist/cjs/dso-annotation-activiteit.entry.cjs.js.map +1 -1
  146. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +1 -1
  147. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js.map +1 -1
  148. package/dist/cjs/dso-annotation-gebiedsaanwijzing.entry.cjs.js.map +1 -1
  149. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +1 -1
  150. package/dist/cjs/dso-annotation-kaart.cjs.entry.js.map +1 -1
  151. package/dist/cjs/dso-annotation-kaart.entry.cjs.js.map +1 -1
  152. package/dist/cjs/dso-annotation-locatie.dso-document-component.entry.cjs.js.map +1 -1
  153. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +95 -27
  154. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js.map +1 -1
  155. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +1 -1
  156. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js.map +1 -1
  157. package/dist/cjs/dso-annotation-omgevingsnormwaarde.entry.cjs.js.map +1 -1
  158. package/dist/cjs/dso-card.cjs.entry.js +1 -1
  159. package/dist/cjs/dso-card.cjs.entry.js.map +1 -1
  160. package/dist/cjs/dso-card.entry.cjs.js.map +1 -1
  161. package/dist/cjs/dso-contact-information.cjs.entry.js.map +1 -1
  162. package/dist/cjs/dso-contact-information.entry.cjs.js.map +1 -1
  163. package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
  164. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +1 -1
  165. package/dist/cjs/dso-header.cjs.entry.js +2 -2
  166. package/dist/cjs/dso-header.cjs.entry.js.map +1 -1
  167. package/dist/cjs/dso-header.entry.cjs.js.map +1 -1
  168. package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
  169. package/dist/cjs/dso-history-item.cjs.entry.js +1 -1
  170. package/dist/cjs/dso-icon-button.cjs.entry.js +4 -12
  171. package/dist/cjs/dso-icon-button.cjs.entry.js.map +1 -1
  172. package/dist/cjs/dso-icon-button.entry.cjs.js.map +1 -1
  173. package/dist/cjs/dso-icon.cjs.entry.js +4 -6
  174. package/dist/cjs/dso-icon.cjs.entry.js.map +1 -1
  175. package/dist/cjs/dso-icon.entry.cjs.js.map +1 -1
  176. package/dist/cjs/dso-info-button.cjs.entry.js +1 -1
  177. package/dist/cjs/dso-info.dso-selectable.entry.cjs.js.map +1 -1
  178. package/dist/cjs/dso-info_2.cjs.entry.js +18 -5
  179. package/dist/cjs/dso-info_2.cjs.entry.js.map +1 -1
  180. package/dist/cjs/dso-input-range.cjs.entry.js +2 -2
  181. package/dist/cjs/dso-label.dso-renvooi.dso-slide-toggle.entry.cjs.js.map +1 -1
  182. package/dist/cjs/dso-label_3.cjs.entry.js +6 -6
  183. package/dist/cjs/dso-label_3.cjs.entry.js.map +1 -1
  184. package/dist/cjs/dso-legend-item.cjs.entry.js +1 -1
  185. package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
  186. package/dist/cjs/dso-list-button.cjs.entry.js.map +1 -1
  187. package/dist/cjs/dso-list-button.entry.cjs.js.map +1 -1
  188. package/dist/cjs/dso-logo.cjs.entry.js +1 -1
  189. package/dist/cjs/dso-map-base-layers.cjs.entry.js +1 -1
  190. package/dist/cjs/dso-map-controls.cjs.entry.js +2 -2
  191. package/dist/cjs/dso-map-controls.cjs.entry.js.map +1 -1
  192. package/dist/cjs/dso-map-controls.entry.cjs.js.map +1 -1
  193. package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
  194. package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
  195. package/dist/cjs/dso-modal.cjs.entry.js +1 -1
  196. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +10 -4
  197. package/dist/cjs/dso-onboarding-tip.cjs.entry.js.map +1 -1
  198. package/dist/cjs/dso-onboarding-tip.entry.cjs.js.map +1 -1
  199. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +2 -2
  200. package/dist/cjs/dso-plekinfo-card.cjs.entry.js.map +1 -1
  201. package/dist/cjs/dso-plekinfo-card.entry.cjs.js.map +1 -1
  202. package/dist/cjs/dso-progress-bar.cjs.entry.js +1 -1
  203. package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
  204. package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
  205. package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
  206. package/dist/cjs/dso-scrollable.cjs.entry.js +2 -2
  207. package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
  208. package/dist/cjs/dso-survey-rating.cjs.entry.js +3 -3
  209. package/dist/cjs/dso-survey-rating.cjs.entry.js.map +1 -1
  210. package/dist/cjs/dso-survey-rating.entry.cjs.js.map +1 -1
  211. package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
  212. package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +2 -2
  213. package/dist/cjs/dso-tijdreis-banner.cjs.entry.js.map +1 -1
  214. package/dist/cjs/dso-tijdreis-banner.entry.cjs.js.map +1 -1
  215. package/dist/cjs/dso-toggletip.cjs.entry.js +1 -1
  216. package/dist/cjs/dso-toolkit.cjs.js +1 -1
  217. package/dist/cjs/dso-tooltip.cjs.entry.js +1 -1
  218. package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
  219. package/dist/cjs/dso-viewer-grid.cjs.entry.js +4 -4
  220. package/dist/cjs/dso-viewer-grid.cjs.entry.js.map +1 -1
  221. package/dist/cjs/dso-viewer-grid.entry.cjs.js.map +1 -1
  222. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +5 -5
  223. package/dist/cjs/dsot-document-component-demo.cjs.entry.js.map +1 -1
  224. package/dist/cjs/dsot-document-component-demo.entry.cjs.js.map +1 -1
  225. package/dist/cjs/loader.cjs.js +1 -1
  226. package/dist/cjs/parse-wijzigactie-from-node.function-DVYsomcI.js +29 -0
  227. package/dist/cjs/parse-wijzigactie-from-node.function-DVYsomcI.js.map +1 -0
  228. package/dist/cjs/tooltip.functional-component-CD9AUuU7.js +18 -0
  229. package/dist/cjs/tooltip.functional-component-CD9AUuU7.js.map +1 -0
  230. package/dist/collection/collection-manifest.json +1 -1
  231. package/dist/collection/components/accordion/components/accordion-section.css +7 -3
  232. package/dist/collection/components/action-list/action-list.css +4 -1
  233. package/dist/collection/components/advanced-select/advanced-select.css +133 -7
  234. package/dist/collection/components/alert/alert.css +99 -97
  235. package/dist/collection/components/annotation/annotation.css +14 -5
  236. package/dist/collection/components/badge/badge.css +163 -9
  237. package/dist/collection/components/card/card.css +3 -3
  238. package/dist/collection/components/document-card/document-card.js +1 -1
  239. package/dist/collection/components/document-component/document-component.css +57 -107
  240. package/dist/collection/components/document-component/document-component.interfaces.js.map +1 -1
  241. package/dist/collection/components/document-component/document-component.js +163 -57
  242. package/dist/collection/components/document-component/document-component.js.map +1 -1
  243. package/dist/collection/components/document-component-demo/document-component.demo.js +38 -11
  244. package/dist/collection/components/document-component-demo/document-component.demo.js.map +1 -1
  245. package/dist/collection/components/dropdown-menu/dropdown-menu.js +1 -1
  246. package/dist/collection/components/header/header.css +1 -1
  247. package/dist/collection/components/header/header.js +1 -1
  248. package/dist/collection/components/highlight-box/highlight-box.js +1 -1
  249. package/dist/collection/components/history-item/history-item.js +1 -1
  250. package/dist/collection/components/icon/icon.js +1 -1
  251. package/dist/collection/components/icon-button/icon-button.css +23 -24
  252. package/dist/collection/components/icon-button/icon-button.js +1 -1
  253. package/dist/collection/components/image-overlay/image-overlay.css +22 -4
  254. package/dist/collection/components/info/info.css +4 -1
  255. package/dist/collection/components/info/info.js +1 -1
  256. package/dist/collection/components/info-button/info-button.js +1 -1
  257. package/dist/collection/components/input-range/input-range.js +2 -2
  258. package/dist/collection/components/label/label.css +168 -11
  259. package/dist/collection/components/label/label.js +6 -6
  260. package/dist/collection/components/label/label.js.map +1 -1
  261. package/dist/collection/components/legend-item/legend-item.js +1 -1
  262. package/dist/collection/components/list-button/list-button.css +1 -14
  263. package/dist/collection/components/list-button/list-button.js +1 -1
  264. package/dist/collection/components/logo/logo.js +1 -1
  265. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  266. package/dist/collection/components/map-controls/map-controls.css +19 -99
  267. package/dist/collection/components/map-controls/map-controls.js +1 -1
  268. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  269. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  270. package/dist/collection/components/modal/modal.js +1 -1
  271. package/dist/collection/components/onboarding-tip/onboarding-tip.css +19 -1
  272. package/dist/collection/components/onboarding-tip/onboarding-tip.js +11 -4
  273. package/dist/collection/components/onboarding-tip/onboarding-tip.js.map +1 -1
  274. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.css +108 -0
  275. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +109 -0
  276. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js.map +1 -0
  277. package/dist/collection/components/ozon-content/nodes/int-io-ref.node.js +10 -16
  278. package/dist/collection/components/ozon-content/nodes/int-io-ref.node.js.map +1 -1
  279. package/dist/collection/components/ozon-content/nodes/int-ref.node.js +16 -16
  280. package/dist/collection/components/ozon-content/nodes/int-ref.node.js.map +1 -1
  281. package/dist/collection/components/ozon-content/nodes/noot.node.js.map +1 -1
  282. package/dist/collection/components/ozon-content/ozon-content-context.interface.js.map +1 -1
  283. package/dist/collection/components/ozon-content/ozon-content-mapper.js +5 -21
  284. package/dist/collection/components/ozon-content/ozon-content-mapper.js.map +1 -1
  285. package/dist/collection/components/ozon-content/ozon-content-node-context.interface.js.map +1 -1
  286. package/dist/collection/components/ozon-content/ozon-content.css +73 -147
  287. package/dist/collection/components/ozon-content/ozon-content.interfaces.js.map +1 -1
  288. package/dist/collection/components/ozon-content/ozon-content.js +29 -26
  289. package/dist/collection/components/ozon-content/ozon-content.js.map +1 -1
  290. package/dist/collection/components/panel/panel.css +5 -1
  291. package/dist/collection/components/plekinfo-card/plekinfo-card.css +11 -2
  292. package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
  293. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  294. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  295. package/dist/collection/components/project-item/project-item.js +1 -1
  296. package/dist/collection/components/renvooi/renvooi.css +11 -2
  297. package/dist/collection/components/responsive-element/responsive-element.js +1 -1
  298. package/dist/collection/components/scrollable/scrollable.js +2 -2
  299. package/dist/collection/components/selectable/selectable.js +1 -1
  300. package/dist/collection/components/skiplink/skiplink.js +1 -1
  301. package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
  302. package/dist/collection/components/survey-rating/survey-rating.css +54 -17
  303. package/dist/collection/components/survey-rating/survey-rating.js +2 -2
  304. package/dist/collection/components/table/table.css +19 -99
  305. package/dist/collection/components/table/table.js +1 -1
  306. package/dist/collection/components/tabs/tabs.js +1 -1
  307. package/dist/collection/components/tijdreis-banner/tijdreis-banner.css +4 -1
  308. package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +1 -1
  309. package/dist/collection/components/toggletip/toggletip.js +1 -1
  310. package/dist/collection/components/tooltip/tooltip.js +1 -1
  311. package/dist/collection/components/tree-view/tree-view.js +1 -1
  312. package/dist/collection/components/viewer-grid/components/filter-panel.js +2 -2
  313. package/dist/collection/components/viewer-grid/components/filter-panel.js.map +1 -1
  314. package/dist/collection/components/viewer-grid/viewer-grid.css +2 -16
  315. package/dist/collection/components/viewer-grid/viewer-grid.js +1 -1
  316. package/dist/collection/components/viewer-grid/viewer-grid.js.map +1 -1
  317. package/dist/collection/utils/parse-xml.js +17 -0
  318. package/dist/collection/utils/parse-xml.js.map +1 -0
  319. package/dist/components/alert.js +1 -1
  320. package/dist/components/alert.js.map +1 -1
  321. package/dist/components/annotation-locatie.js +1 -1
  322. package/dist/components/annotation-locatie.js.map +1 -1
  323. package/dist/components/badge.js +1 -1
  324. package/dist/components/badge.js.map +1 -1
  325. package/dist/components/document-component.js +119 -45
  326. package/dist/components/document-component.js.map +1 -1
  327. package/dist/components/dropdown-menu.js +1 -1
  328. package/dist/components/dso-accordion-section.js +1 -1
  329. package/dist/components/dso-accordion-section.js.map +1 -1
  330. package/dist/components/dso-action-list.js +1 -1
  331. package/dist/components/dso-action-list.js.map +1 -1
  332. package/dist/components/dso-advanced-select.js +1 -1
  333. package/dist/components/dso-advanced-select.js.map +1 -1
  334. package/dist/components/dso-annotation-activiteit.js +1 -1
  335. package/dist/components/dso-annotation-activiteit.js.map +1 -1
  336. package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
  337. package/dist/components/dso-annotation-gebiedsaanwijzing.js.map +1 -1
  338. package/dist/components/dso-annotation-kaart.js +1 -1
  339. package/dist/components/dso-annotation-kaart.js.map +1 -1
  340. package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
  341. package/dist/components/dso-annotation-omgevingsnormwaarde.js.map +1 -1
  342. package/dist/components/dso-card.js +1 -1
  343. package/dist/components/dso-card.js.map +1 -1
  344. package/dist/components/dso-contact-information.js.map +1 -1
  345. package/dist/components/dso-document-card.js +1 -1
  346. package/dist/components/dso-header.js +2 -2
  347. package/dist/components/dso-header.js.map +1 -1
  348. package/dist/components/dso-highlight-box.js +1 -1
  349. package/dist/components/dso-history-item.js +1 -1
  350. package/dist/components/dso-input-range.js +2 -2
  351. package/dist/components/dso-legend-item.js +1 -1
  352. package/dist/components/dso-list-button.js +2 -2
  353. package/dist/components/dso-list-button.js.map +1 -1
  354. package/dist/components/dso-logo.js +1 -1
  355. package/dist/components/dso-map-base-layers.js +1 -1
  356. package/dist/components/dso-map-controls.js +2 -2
  357. package/dist/components/dso-map-controls.js.map +1 -1
  358. package/dist/components/dso-map-overlays.js +1 -1
  359. package/dist/components/dso-mark-bar.js +1 -1
  360. package/dist/components/dso-modal.js +1 -1
  361. package/dist/components/dso-onboarding-tip.js +14 -6
  362. package/dist/components/dso-onboarding-tip.js.map +1 -1
  363. package/dist/components/dso-ozon-content-toggletip.d.ts +11 -0
  364. package/dist/components/dso-ozon-content-toggletip.js +9 -0
  365. package/dist/components/dso-ozon-content-toggletip.js.map +1 -0
  366. package/dist/components/dso-plekinfo-card.js +2 -2
  367. package/dist/components/dso-plekinfo-card.js.map +1 -1
  368. package/dist/components/dso-progress-bar.js +1 -1
  369. package/dist/components/dso-project-item.js +1 -1
  370. package/dist/components/dso-skiplink.js +1 -1
  371. package/dist/components/dso-survey-rating.js +3 -3
  372. package/dist/components/dso-survey-rating.js.map +1 -1
  373. package/dist/components/dso-tabs.js +1 -1
  374. package/dist/components/dso-tijdreis-banner.js +2 -2
  375. package/dist/components/dso-tijdreis-banner.js.map +1 -1
  376. package/dist/components/dso-tree-view.js +1 -1
  377. package/dist/components/dso-viewer-grid.js +5 -5
  378. package/dist/components/dso-viewer-grid.js.map +1 -1
  379. package/dist/components/dsot-document-component-demo.js +30 -23
  380. package/dist/components/dsot-document-component-demo.js.map +1 -1
  381. package/dist/components/icon-button.js +5 -109
  382. package/dist/components/icon-button.js.map +1 -1
  383. package/dist/components/icon.js +4 -6
  384. package/dist/components/icon.js.map +1 -1
  385. package/dist/components/image-overlay.js +1 -1
  386. package/dist/components/image-overlay.js.map +1 -1
  387. package/dist/components/index.d.ts +2 -2
  388. package/dist/components/index.js +1 -1
  389. package/dist/components/info-button.js +1 -1
  390. package/dist/components/info.js +2 -2
  391. package/dist/components/info.js.map +1 -1
  392. package/dist/components/label.js +7 -7
  393. package/dist/components/label.js.map +1 -1
  394. package/dist/components/ozon-content-toggletip.js +101 -0
  395. package/dist/components/ozon-content-toggletip.js.map +1 -0
  396. package/dist/components/ozon-content.js +83 -68
  397. package/dist/components/ozon-content.js.map +1 -1
  398. package/dist/components/panel.js +1 -1
  399. package/dist/components/panel.js.map +1 -1
  400. package/dist/components/progress-indicator.js +1 -1
  401. package/dist/components/renvooi.js +1 -1
  402. package/dist/components/renvooi.js.map +1 -1
  403. package/dist/components/responsive-element.js +1 -1
  404. package/dist/components/scrollable.js +2 -2
  405. package/dist/components/selectable.js +15 -2
  406. package/dist/components/selectable.js.map +1 -1
  407. package/dist/components/slide-toggle.js +1 -1
  408. package/dist/components/table.js +2 -2
  409. package/dist/components/table.js.map +1 -1
  410. package/dist/components/toggletip.js +1 -1
  411. package/dist/components/tooltip.functional-component.js +111 -0
  412. package/dist/components/tooltip.functional-component.js.map +1 -0
  413. package/dist/components/tooltip.js +1 -1
  414. package/dist/dso-toolkit/dso-accordion-section.entry.esm.js.map +1 -1
  415. package/dist/dso-toolkit/dso-action-list.entry.esm.js.map +1 -1
  416. package/dist/dso-toolkit/dso-advanced-select.entry.esm.js.map +1 -1
  417. package/dist/dso-toolkit/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-ozon-content-toggletip.dso-panel.dso-table.entry.esm.js.map +1 -0
  418. package/dist/dso-toolkit/dso-annotation-activiteit.entry.esm.js.map +1 -1
  419. package/dist/dso-toolkit/dso-annotation-gebiedsaanwijzing.entry.esm.js.map +1 -1
  420. package/dist/dso-toolkit/dso-annotation-kaart.entry.esm.js.map +1 -1
  421. package/dist/dso-toolkit/dso-annotation-locatie.dso-document-component.entry.esm.js.map +1 -1
  422. package/dist/dso-toolkit/dso-annotation-omgevingsnormwaarde.entry.esm.js.map +1 -1
  423. package/dist/dso-toolkit/dso-card.entry.esm.js.map +1 -1
  424. package/dist/dso-toolkit/dso-contact-information.entry.esm.js.map +1 -1
  425. package/dist/dso-toolkit/dso-header.entry.esm.js.map +1 -1
  426. package/dist/dso-toolkit/dso-icon-button.entry.esm.js.map +1 -1
  427. package/dist/dso-toolkit/dso-icon.entry.esm.js.map +1 -1
  428. package/dist/dso-toolkit/dso-info.dso-selectable.entry.esm.js.map +1 -1
  429. package/dist/dso-toolkit/dso-label.dso-renvooi.dso-slide-toggle.entry.esm.js.map +1 -1
  430. package/dist/dso-toolkit/dso-list-button.entry.esm.js.map +1 -1
  431. package/dist/dso-toolkit/dso-map-controls.entry.esm.js.map +1 -1
  432. package/dist/dso-toolkit/dso-onboarding-tip.entry.esm.js.map +1 -1
  433. package/dist/dso-toolkit/dso-plekinfo-card.entry.esm.js.map +1 -1
  434. package/dist/dso-toolkit/dso-survey-rating.entry.esm.js.map +1 -1
  435. package/dist/dso-toolkit/dso-tijdreis-banner.entry.esm.js.map +1 -1
  436. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  437. package/dist/dso-toolkit/dso-viewer-grid.entry.esm.js.map +1 -1
  438. package/dist/dso-toolkit/dsot-document-component-demo.entry.esm.js.map +1 -1
  439. package/dist/dso-toolkit/{p-bfde6737.entry.js → p-07220932.entry.js} +2 -2
  440. package/dist/dso-toolkit/{p-1f7492cd.entry.js → p-0a496a26.entry.js} +2 -2
  441. package/dist/dso-toolkit/p-0ee97f84.entry.js +2 -0
  442. package/dist/dso-toolkit/{p-9f138ac0.entry.js.map → p-0ee97f84.entry.js.map} +1 -1
  443. package/dist/dso-toolkit/{p-1e4f1515.entry.js → p-19019f3b.entry.js} +2 -2
  444. package/dist/dso-toolkit/p-1c1ace73.entry.js +2 -0
  445. package/dist/dso-toolkit/p-1c1ace73.entry.js.map +1 -0
  446. package/dist/dso-toolkit/p-24bd7e04.entry.js +2 -0
  447. package/dist/dso-toolkit/p-24bd7e04.entry.js.map +1 -0
  448. package/dist/dso-toolkit/p-2787bc48.entry.js +2 -0
  449. package/dist/dso-toolkit/p-2787bc48.entry.js.map +1 -0
  450. package/dist/dso-toolkit/p-27eac763.entry.js +2 -0
  451. package/dist/dso-toolkit/p-27eac763.entry.js.map +1 -0
  452. package/dist/dso-toolkit/{p-79616f47.entry.js → p-2d35ce14.entry.js} +2 -2
  453. package/dist/dso-toolkit/p-32b64025.entry.js +2 -0
  454. package/dist/dso-toolkit/{p-46de999c.entry.js.map → p-32b64025.entry.js.map} +1 -1
  455. package/dist/dso-toolkit/p-3bc30158.entry.js +2 -0
  456. package/dist/dso-toolkit/p-3bc30158.entry.js.map +1 -0
  457. package/dist/dso-toolkit/p-4341eaab.entry.js +2 -0
  458. package/dist/dso-toolkit/{p-3fd63c50.entry.js.map → p-4341eaab.entry.js.map} +1 -1
  459. package/dist/dso-toolkit/{p-4c1c2071.entry.js → p-4593ea95.entry.js} +2 -2
  460. package/dist/dso-toolkit/{p-a926abc4.entry.js → p-4a07fb41.entry.js} +2 -2
  461. package/dist/dso-toolkit/p-556f5935.entry.js +2 -0
  462. package/dist/dso-toolkit/{p-93fc1c1d.entry.js.map → p-556f5935.entry.js.map} +1 -1
  463. package/dist/dso-toolkit/p-573b9046.entry.js +2 -0
  464. package/dist/dso-toolkit/{p-0ccf331b.entry.js.map → p-573b9046.entry.js.map} +1 -1
  465. package/dist/dso-toolkit/p-6215779a.entry.js +2 -0
  466. package/dist/dso-toolkit/p-6215779a.entry.js.map +1 -0
  467. package/dist/dso-toolkit/p-622e11c0.entry.js +2 -0
  468. package/dist/dso-toolkit/{p-04a52f3c.entry.js.map → p-622e11c0.entry.js.map} +1 -1
  469. package/dist/dso-toolkit/{p-50292d0e.entry.js → p-663fb2ee.entry.js} +2 -2
  470. package/dist/dso-toolkit/{p-353feb5d.entry.js → p-6a578760.entry.js} +2 -2
  471. package/dist/dso-toolkit/{p-365e9e81.entry.js → p-70ea6c42.entry.js} +2 -2
  472. package/dist/dso-toolkit/{p-cef6e3bf.entry.js → p-76f0c45e.entry.js} +2 -2
  473. package/dist/dso-toolkit/{p-94fdb7a5.entry.js → p-7883dfda.entry.js} +2 -2
  474. package/dist/dso-toolkit/p-7b279318.entry.js +2 -0
  475. package/dist/dso-toolkit/p-7b279318.entry.js.map +1 -0
  476. package/dist/dso-toolkit/{p-57a9ed50.entry.js → p-7fed0288.entry.js} +2 -2
  477. package/dist/dso-toolkit/p-80e3a910.entry.js.map +1 -1
  478. package/dist/dso-toolkit/{p-829b8003.entry.js → p-847af791.entry.js} +2 -2
  479. package/dist/dso-toolkit/p-9232e376.entry.js +2 -0
  480. package/dist/dso-toolkit/{p-d1bbcada.entry.js.map → p-9232e376.entry.js.map} +1 -1
  481. package/dist/dso-toolkit/p-932b7006.entry.js +2 -0
  482. package/dist/dso-toolkit/p-932b7006.entry.js.map +1 -0
  483. package/dist/dso-toolkit/{p-91fc3638.entry.js → p-9b37f2a1.entry.js} +2 -2
  484. package/dist/dso-toolkit/p-BlB0--wP.js +2 -0
  485. package/dist/dso-toolkit/p-BlB0--wP.js.map +1 -0
  486. package/dist/dso-toolkit/p-DD1v6_X_.js +2 -0
  487. package/dist/dso-toolkit/p-DD1v6_X_.js.map +1 -0
  488. package/dist/dso-toolkit/{p-71c54b0e.entry.js → p-a2d60908.entry.js} +2 -2
  489. package/dist/dso-toolkit/{p-8972246f.entry.js → p-a61e4944.entry.js} +2 -2
  490. package/dist/dso-toolkit/p-a96fc5f8.entry.js +2 -0
  491. package/dist/dso-toolkit/{p-abfdf382.entry.js.map → p-a96fc5f8.entry.js.map} +1 -1
  492. package/dist/dso-toolkit/p-aa1b8321.entry.js +2 -0
  493. package/dist/dso-toolkit/p-aa1b8321.entry.js.map +1 -0
  494. package/dist/dso-toolkit/p-acdbeafd.entry.js +2 -0
  495. package/dist/dso-toolkit/p-acdbeafd.entry.js.map +1 -0
  496. package/dist/dso-toolkit/p-b12a966f.entry.js +2 -0
  497. package/dist/dso-toolkit/{p-8ed2e508.entry.js.map → p-b12a966f.entry.js.map} +1 -1
  498. package/dist/dso-toolkit/{p-06c5c71d.entry.js → p-b3f2cf42.entry.js} +2 -2
  499. package/dist/dso-toolkit/{p-7229ccdf.entry.js → p-b52165a0.entry.js} +2 -2
  500. package/dist/dso-toolkit/p-c8def649.entry.js +2 -0
  501. package/dist/dso-toolkit/p-d14bcff7.entry.js +2 -0
  502. package/dist/dso-toolkit/{p-e2ec593d.entry.js.map → p-d14bcff7.entry.js.map} +1 -1
  503. package/dist/dso-toolkit/p-d84f1295.entry.js +2 -0
  504. package/dist/dso-toolkit/p-d84f1295.entry.js.map +1 -0
  505. package/dist/dso-toolkit/{p-20459167.entry.js → p-da3c8097.entry.js} +2 -2
  506. package/dist/dso-toolkit/p-e5f7cfd3.entry.js +2 -0
  507. package/dist/dso-toolkit/{p-2512c5f5.entry.js.map → p-e5f7cfd3.entry.js.map} +1 -1
  508. package/dist/dso-toolkit/p-ebef2eef.entry.js +2 -0
  509. package/dist/dso-toolkit/p-ebef2eef.entry.js.map +1 -0
  510. package/dist/dso-toolkit/{p-7c9c4915.entry.js → p-eceff1ea.entry.js} +2 -2
  511. package/dist/dso-toolkit/{p-e9f750f2.entry.js → p-f07bf097.entry.js} +2 -2
  512. package/dist/esm/dso-accordion-section.entry.js +1 -1
  513. package/dist/esm/dso-accordion-section.entry.js.map +1 -1
  514. package/dist/esm/dso-action-list.entry.js +1 -1
  515. package/dist/esm/dso-action-list.entry.js.map +1 -1
  516. package/dist/esm/dso-advanced-select.entry.js +1 -1
  517. package/dist/esm/dso-advanced-select.entry.js.map +1 -1
  518. package/dist/esm/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-ozon-content-toggletip.dso-panel.dso-table.entry.js.map +1 -0
  519. package/dist/esm/dso-alert_7.entry.js +1489 -0
  520. package/dist/esm/dso-alert_7.entry.js.map +1 -0
  521. package/dist/esm/dso-annotation-activiteit.entry.js +1 -1
  522. package/dist/esm/dso-annotation-activiteit.entry.js.map +1 -1
  523. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +1 -1
  524. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js.map +1 -1
  525. package/dist/esm/dso-annotation-kaart.entry.js +1 -1
  526. package/dist/esm/dso-annotation-kaart.entry.js.map +1 -1
  527. package/dist/esm/dso-annotation-locatie.dso-document-component.entry.js.map +1 -1
  528. package/dist/esm/dso-annotation-locatie_2.entry.js +95 -27
  529. package/dist/esm/dso-annotation-locatie_2.entry.js.map +1 -1
  530. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +1 -1
  531. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js.map +1 -1
  532. package/dist/esm/dso-card.entry.js +1 -1
  533. package/dist/esm/dso-card.entry.js.map +1 -1
  534. package/dist/esm/dso-contact-information.entry.js.map +1 -1
  535. package/dist/esm/dso-document-card.entry.js +1 -1
  536. package/dist/esm/dso-dropdown-menu.entry.js +1 -1
  537. package/dist/esm/dso-header.entry.js +2 -2
  538. package/dist/esm/dso-header.entry.js.map +1 -1
  539. package/dist/esm/dso-highlight-box.entry.js +1 -1
  540. package/dist/esm/dso-history-item.entry.js +1 -1
  541. package/dist/esm/dso-icon-button.entry.js +5 -13
  542. package/dist/esm/dso-icon-button.entry.js.map +1 -1
  543. package/dist/esm/dso-icon.entry.js +4 -6
  544. package/dist/esm/dso-icon.entry.js.map +1 -1
  545. package/dist/esm/dso-info-button.entry.js +1 -1
  546. package/dist/esm/dso-info.dso-selectable.entry.js.map +1 -1
  547. package/dist/esm/dso-info_2.entry.js +17 -4
  548. package/dist/esm/dso-info_2.entry.js.map +1 -1
  549. package/dist/esm/dso-input-range.entry.js +2 -2
  550. package/dist/esm/dso-label.dso-renvooi.dso-slide-toggle.entry.js.map +1 -1
  551. package/dist/esm/dso-label_3.entry.js +6 -6
  552. package/dist/esm/dso-label_3.entry.js.map +1 -1
  553. package/dist/esm/dso-legend-item.entry.js +1 -1
  554. package/dist/esm/dso-list-button.entry.js +2 -2
  555. package/dist/esm/dso-list-button.entry.js.map +1 -1
  556. package/dist/esm/dso-logo.entry.js +1 -1
  557. package/dist/esm/dso-map-base-layers.entry.js +1 -1
  558. package/dist/esm/dso-map-controls.entry.js +2 -2
  559. package/dist/esm/dso-map-controls.entry.js.map +1 -1
  560. package/dist/esm/dso-map-overlays.entry.js +1 -1
  561. package/dist/esm/dso-mark-bar.entry.js +1 -1
  562. package/dist/esm/dso-modal.entry.js +1 -1
  563. package/dist/esm/dso-onboarding-tip.entry.js +10 -4
  564. package/dist/esm/dso-onboarding-tip.entry.js.map +1 -1
  565. package/dist/esm/dso-plekinfo-card.entry.js +2 -2
  566. package/dist/esm/dso-plekinfo-card.entry.js.map +1 -1
  567. package/dist/esm/dso-progress-bar.entry.js +1 -1
  568. package/dist/esm/dso-progress-indicator.entry.js +1 -1
  569. package/dist/esm/dso-project-item.entry.js +1 -1
  570. package/dist/esm/dso-responsive-element.entry.js +1 -1
  571. package/dist/esm/dso-scrollable.entry.js +2 -2
  572. package/dist/esm/dso-skiplink.entry.js +1 -1
  573. package/dist/esm/dso-survey-rating.entry.js +3 -3
  574. package/dist/esm/dso-survey-rating.entry.js.map +1 -1
  575. package/dist/esm/dso-tabs.entry.js +1 -1
  576. package/dist/esm/dso-tijdreis-banner.entry.js +2 -2
  577. package/dist/esm/dso-tijdreis-banner.entry.js.map +1 -1
  578. package/dist/esm/dso-toggletip.entry.js +1 -1
  579. package/dist/esm/dso-toolkit.js +1 -1
  580. package/dist/esm/dso-tooltip.entry.js +1 -1
  581. package/dist/esm/dso-tree-view.entry.js +1 -1
  582. package/dist/esm/dso-viewer-grid.entry.js +5 -5
  583. package/dist/esm/dso-viewer-grid.entry.js.map +1 -1
  584. package/dist/esm/dsot-document-component-demo.entry.js +5 -5
  585. package/dist/esm/dsot-document-component-demo.entry.js.map +1 -1
  586. package/dist/esm/loader.js +1 -1
  587. package/dist/esm/parse-wijzigactie-from-node.function-DD1v6_X_.js +26 -0
  588. package/dist/esm/parse-wijzigactie-from-node.function-DD1v6_X_.js.map +1 -0
  589. package/dist/esm/tooltip.functional-component-B6RTdaZw.js +16 -0
  590. package/dist/esm/tooltip.functional-component-B6RTdaZw.js.map +1 -0
  591. package/dist/types/components/document-component/document-component.d.ts +25 -10
  592. package/dist/types/components/document-component/document-component.interfaces.d.ts +8 -4
  593. package/dist/types/components/document-component-demo/document-component.demo.d.ts +11 -7
  594. package/dist/types/components/onboarding-tip/onboarding-tip.d.ts +1 -0
  595. package/dist/types/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.d.ts +20 -0
  596. package/dist/types/components/ozon-content/nodes/int-io-ref.node.d.ts +1 -1
  597. package/dist/types/components/ozon-content/nodes/int-ref.node.d.ts +1 -1
  598. package/dist/types/components/ozon-content/ozon-content-context.interface.d.ts +2 -2
  599. package/dist/types/components/ozon-content/ozon-content-mapper.d.ts +0 -2
  600. package/dist/types/components/ozon-content/ozon-content-node-context.interface.d.ts +2 -2
  601. package/dist/types/components/ozon-content/ozon-content.d.ts +5 -5
  602. package/dist/types/components/ozon-content/ozon-content.interfaces.d.ts +9 -9
  603. package/dist/types/components/viewer-grid/components/filter-panel.d.ts +1 -0
  604. package/dist/types/components.d.ts +70 -206
  605. package/dist/types/utils/parse-xml.d.ts +1 -0
  606. package/package.json +3 -3
  607. package/dist/bundle/dso-date-picker-legacy.d.ts +0 -11
  608. package/dist/bundle/dso-date-picker-legacy.js +0 -773
  609. package/dist/bundle/dso-date-picker-legacy.js.map +0 -1
  610. package/dist/bundle/p--HbwCvQM.js +0 -220
  611. package/dist/bundle/p--HbwCvQM.js.map +0 -1
  612. package/dist/bundle/p-CF3bHKY3.js +0 -49
  613. package/dist/bundle/p-CMO4UirQ.js +0 -258
  614. package/dist/bundle/p-CMO4UirQ.js.map +0 -1
  615. package/dist/bundle/p-CTcIwB2o.js +0 -1196
  616. package/dist/bundle/p-CTcIwB2o.js.map +0 -1
  617. package/dist/bundle/p-CVzuETs2.js +0 -169
  618. package/dist/bundle/p-CVzuETs2.js.map +0 -1
  619. package/dist/bundle/p-CaZRQPYD.js.map +0 -1
  620. package/dist/bundle/p-D-Dm2Gh7.js +0 -83
  621. package/dist/bundle/p-DSyv-znO.js +0 -18
  622. package/dist/bundle/p-DSyv-znO.js.map +0 -1
  623. package/dist/bundle/p-Dd-GhTkt.js +0 -84
  624. package/dist/bundle/p-Dd-GhTkt.js.map +0 -1
  625. package/dist/bundle/p-Du2B4UJi.js +0 -86
  626. package/dist/bundle/p-Dwv_hVo9.js.map +0 -1
  627. package/dist/bundle/p-LlmPNkbk.js +0 -36
  628. package/dist/bundle/p-Vek1sFf5.js +0 -115
  629. package/dist/bundle/p-yEg3EESJ.js.map +0 -1
  630. package/dist/cjs/create-identifier-C3Yh-YGw.js +0 -20
  631. package/dist/cjs/create-identifier-C3Yh-YGw.js.map +0 -1
  632. package/dist/cjs/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.cjs.js.map +0 -1
  633. package/dist/cjs/dso-alert_6.cjs.entry.js +0 -1437
  634. package/dist/cjs/dso-alert_6.cjs.entry.js.map +0 -1
  635. package/dist/cjs/dso-date-picker-legacy.cjs.entry.js +0 -732
  636. package/dist/cjs/dso-date-picker-legacy.cjs.entry.js.map +0 -1
  637. package/dist/cjs/dso-date-picker-legacy.entry.cjs.js.map +0 -1
  638. package/dist/collection/components/date-picker-legacy/date-localization.js +0 -30
  639. package/dist/collection/components/date-picker-legacy/date-localization.js.map +0 -1
  640. package/dist/collection/components/date-picker-legacy/date-picker-day.js +0 -20
  641. package/dist/collection/components/date-picker-legacy/date-picker-day.js.map +0 -1
  642. package/dist/collection/components/date-picker-legacy/date-picker-legacy.css +0 -492
  643. package/dist/collection/components/date-picker-legacy/date-picker-legacy.interfaces.js +0 -2
  644. package/dist/collection/components/date-picker-legacy/date-picker-legacy.interfaces.js.map +0 -1
  645. package/dist/collection/components/date-picker-legacy/date-picker-legacy.js +0 -904
  646. package/dist/collection/components/date-picker-legacy/date-picker-legacy.js.map +0 -1
  647. package/dist/collection/components/date-picker-legacy/date-picker-month.js +0 -26
  648. package/dist/collection/components/date-picker-legacy/date-picker-month.js.map +0 -1
  649. package/dist/collection/components/date-picker-legacy/date-utils.js +0 -155
  650. package/dist/collection/components/date-picker-legacy/date-utils.js.map +0 -1
  651. package/dist/collection/components/date-picker-legacy/utils/month-range.js +0 -28
  652. package/dist/collection/components/date-picker-legacy/utils/month-range.js.map +0 -1
  653. package/dist/collection/components/date-picker-legacy/utils/range.js +0 -8
  654. package/dist/collection/components/date-picker-legacy/utils/range.js.map +0 -1
  655. package/dist/components/create-identifier.js +0 -18
  656. package/dist/components/create-identifier.js.map +0 -1
  657. package/dist/components/dso-date-picker-legacy.d.ts +0 -11
  658. package/dist/components/dso-date-picker-legacy.js +0 -773
  659. package/dist/components/dso-date-picker-legacy.js.map +0 -1
  660. package/dist/dso-toolkit/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.esm.js.map +0 -1
  661. package/dist/dso-toolkit/dso-date-picker-legacy.entry.esm.js.map +0 -1
  662. package/dist/dso-toolkit/p-04a52f3c.entry.js +0 -2
  663. package/dist/dso-toolkit/p-0565847a.entry.js +0 -2
  664. package/dist/dso-toolkit/p-0565847a.entry.js.map +0 -1
  665. package/dist/dso-toolkit/p-0ccf331b.entry.js +0 -2
  666. package/dist/dso-toolkit/p-2512c5f5.entry.js +0 -2
  667. package/dist/dso-toolkit/p-2796b6d5.entry.js +0 -2
  668. package/dist/dso-toolkit/p-2796b6d5.entry.js.map +0 -1
  669. package/dist/dso-toolkit/p-2f8cc334.entry.js +0 -2
  670. package/dist/dso-toolkit/p-2f8cc334.entry.js.map +0 -1
  671. package/dist/dso-toolkit/p-3fd63c50.entry.js +0 -2
  672. package/dist/dso-toolkit/p-4229552b.entry.js +0 -2
  673. package/dist/dso-toolkit/p-4229552b.entry.js.map +0 -1
  674. package/dist/dso-toolkit/p-45046e40.entry.js +0 -2
  675. package/dist/dso-toolkit/p-45046e40.entry.js.map +0 -1
  676. package/dist/dso-toolkit/p-46de999c.entry.js +0 -2
  677. package/dist/dso-toolkit/p-5ab79fb4.entry.js +0 -2
  678. package/dist/dso-toolkit/p-5ab79fb4.entry.js.map +0 -1
  679. package/dist/dso-toolkit/p-734acd5e.entry.js +0 -2
  680. package/dist/dso-toolkit/p-8ed2e508.entry.js +0 -2
  681. package/dist/dso-toolkit/p-93fc1c1d.entry.js +0 -2
  682. package/dist/dso-toolkit/p-95fc086e.entry.js +0 -2
  683. package/dist/dso-toolkit/p-95fc086e.entry.js.map +0 -1
  684. package/dist/dso-toolkit/p-9f138ac0.entry.js +0 -2
  685. package/dist/dso-toolkit/p-DSyv-znO.js +0 -2
  686. package/dist/dso-toolkit/p-DSyv-znO.js.map +0 -1
  687. package/dist/dso-toolkit/p-a7057d38.entry.js +0 -2
  688. package/dist/dso-toolkit/p-a7057d38.entry.js.map +0 -1
  689. package/dist/dso-toolkit/p-aa5787d4.entry.js +0 -2
  690. package/dist/dso-toolkit/p-aa5787d4.entry.js.map +0 -1
  691. package/dist/dso-toolkit/p-abfdf382.entry.js +0 -2
  692. package/dist/dso-toolkit/p-c5d287ad.entry.js +0 -2
  693. package/dist/dso-toolkit/p-c5d287ad.entry.js.map +0 -1
  694. package/dist/dso-toolkit/p-d1bbcada.entry.js +0 -2
  695. package/dist/dso-toolkit/p-e2ec593d.entry.js +0 -2
  696. package/dist/dso-toolkit/p-fa4a3a93.entry.js +0 -2
  697. package/dist/dso-toolkit/p-fa4a3a93.entry.js.map +0 -1
  698. package/dist/dso-toolkit/p-fc1ff757.entry.js +0 -2
  699. package/dist/dso-toolkit/p-fc1ff757.entry.js.map +0 -1
  700. package/dist/dso-toolkit/p-fda214fa.entry.js +0 -2
  701. package/dist/dso-toolkit/p-fda214fa.entry.js.map +0 -1
  702. package/dist/esm/create-identifier-DSyv-znO.js +0 -18
  703. package/dist/esm/create-identifier-DSyv-znO.js.map +0 -1
  704. package/dist/esm/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.js.map +0 -1
  705. package/dist/esm/dso-alert_6.entry.js +0 -1430
  706. package/dist/esm/dso-alert_6.entry.js.map +0 -1
  707. package/dist/esm/dso-date-picker-legacy.entry.js +0 -730
  708. package/dist/esm/dso-date-picker-legacy.entry.js.map +0 -1
  709. package/dist/types/components/date-picker-legacy/date-localization.d.ts +0 -19
  710. package/dist/types/components/date-picker-legacy/date-picker-day.d.ts +0 -11
  711. package/dist/types/components/date-picker-legacy/date-picker-legacy.d.ts +0 -172
  712. package/dist/types/components/date-picker-legacy/date-picker-legacy.interfaces.d.ts +0 -14
  713. package/dist/types/components/date-picker-legacy/date-picker-month.d.ts +0 -20
  714. package/dist/types/components/date-picker-legacy/date-utils.d.ts +0 -46
  715. package/dist/types/components/date-picker-legacy/utils/month-range.d.ts +0 -2
  716. package/dist/types/components/date-picker-legacy/utils/range.d.ts +0 -1
  717. /package/dist/dso-toolkit/{p-bfde6737.entry.js.map → p-07220932.entry.js.map} +0 -0
  718. /package/dist/dso-toolkit/{p-1f7492cd.entry.js.map → p-0a496a26.entry.js.map} +0 -0
  719. /package/dist/dso-toolkit/{p-1e4f1515.entry.js.map → p-19019f3b.entry.js.map} +0 -0
  720. /package/dist/dso-toolkit/{p-79616f47.entry.js.map → p-2d35ce14.entry.js.map} +0 -0
  721. /package/dist/dso-toolkit/{p-4c1c2071.entry.js.map → p-4593ea95.entry.js.map} +0 -0
  722. /package/dist/dso-toolkit/{p-a926abc4.entry.js.map → p-4a07fb41.entry.js.map} +0 -0
  723. /package/dist/dso-toolkit/{p-50292d0e.entry.js.map → p-663fb2ee.entry.js.map} +0 -0
  724. /package/dist/dso-toolkit/{p-353feb5d.entry.js.map → p-6a578760.entry.js.map} +0 -0
  725. /package/dist/dso-toolkit/{p-365e9e81.entry.js.map → p-70ea6c42.entry.js.map} +0 -0
  726. /package/dist/dso-toolkit/{p-cef6e3bf.entry.js.map → p-76f0c45e.entry.js.map} +0 -0
  727. /package/dist/dso-toolkit/{p-94fdb7a5.entry.js.map → p-7883dfda.entry.js.map} +0 -0
  728. /package/dist/dso-toolkit/{p-57a9ed50.entry.js.map → p-7fed0288.entry.js.map} +0 -0
  729. /package/dist/dso-toolkit/{p-829b8003.entry.js.map → p-847af791.entry.js.map} +0 -0
  730. /package/dist/dso-toolkit/{p-91fc3638.entry.js.map → p-9b37f2a1.entry.js.map} +0 -0
  731. /package/dist/dso-toolkit/{p-71c54b0e.entry.js.map → p-a2d60908.entry.js.map} +0 -0
  732. /package/dist/dso-toolkit/{p-8972246f.entry.js.map → p-a61e4944.entry.js.map} +0 -0
  733. /package/dist/dso-toolkit/{p-06c5c71d.entry.js.map → p-b3f2cf42.entry.js.map} +0 -0
  734. /package/dist/dso-toolkit/{p-7229ccdf.entry.js.map → p-b52165a0.entry.js.map} +0 -0
  735. /package/dist/dso-toolkit/{p-734acd5e.entry.js.map → p-c8def649.entry.js.map} +0 -0
  736. /package/dist/dso-toolkit/{p-20459167.entry.js.map → p-da3c8097.entry.js.map} +0 -0
  737. /package/dist/dso-toolkit/{p-7c9c4915.entry.js.map → p-eceff1ea.entry.js.map} +0 -0
  738. /package/dist/dso-toolkit/{p-e9f750f2.entry.js.map → p-f07bf097.entry.js.map} +0 -0
@@ -1,732 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index-DvLsepiK.js');
4
- var createIdentifier = require('./create-identifier-C3Yh-YGw.js');
5
-
6
- const localization = {
7
- buttonLabel: "Kies datum",
8
- placeholder: "dd-mm-jjjj",
9
- selectedDateMessage: "Geselecteerde datum is",
10
- prevMonthLabel: "Vorige maand",
11
- nextMonthLabel: "Volgende maand",
12
- monthSelectLabel: "Maand",
13
- yearSelectLabel: "Jaar",
14
- closeLabel: "Sluiten",
15
- keyboardInstruction: "Gebruik de pijltjestoetsen om een dag te kiezen",
16
- calendarHeading: "Kies een datum",
17
- dayNames: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag"],
18
- monthNames: [
19
- "Januari",
20
- "Februari",
21
- "Maart",
22
- "April",
23
- "Mei",
24
- "Juni",
25
- "Juli",
26
- "Augustus",
27
- "September",
28
- "Oktober",
29
- "November",
30
- "December",
31
- ],
32
- monthNamesShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
33
- };
34
-
35
- // eslint-disable-next-line @stencil-community/ban-exported-const-enums -- This enum is not part of public API
36
- var DaysOfWeek;
37
- (function (DaysOfWeek) {
38
- DaysOfWeek[DaysOfWeek["Sunday"] = 0] = "Sunday";
39
- DaysOfWeek[DaysOfWeek["Monday"] = 1] = "Monday";
40
- DaysOfWeek[DaysOfWeek["Tuesday"] = 2] = "Tuesday";
41
- DaysOfWeek[DaysOfWeek["Wednesday"] = 3] = "Wednesday";
42
- DaysOfWeek[DaysOfWeek["Thursday"] = 4] = "Thursday";
43
- DaysOfWeek[DaysOfWeek["Friday"] = 5] = "Friday";
44
- DaysOfWeek[DaysOfWeek["Saturday"] = 6] = "Saturday";
45
- })(DaysOfWeek || (DaysOfWeek = {}));
46
- function createDate(year, month, day) {
47
- const dayInt = parseInt(day, 10);
48
- const monthInt = parseInt(month, 10);
49
- const yearInt = parseInt(year, 10);
50
- const isValid = Number.isInteger(yearInt) && // all parts should be integers
51
- Number.isInteger(monthInt) &&
52
- Number.isInteger(dayInt) &&
53
- monthInt > 0 && // month must be 1-12
54
- monthInt <= 12 &&
55
- dayInt > 0 && // day must be 1-31
56
- dayInt <= 31 &&
57
- yearInt > 0;
58
- if (isValid) {
59
- return new Date(yearInt, monthInt - 1, dayInt);
60
- }
61
- }
62
- /**
63
- * @param value date string in Dutch format D-M-YYYY
64
- */
65
- function parseDutchDate(value) {
66
- if (!value) {
67
- return;
68
- }
69
- const matches = value.split("-");
70
- if (matches.length === 3 &&
71
- typeof matches[0] === "string" &&
72
- typeof matches[1] === "string" &&
73
- typeof matches[2] === "string" &&
74
- matches[2].length === 4) {
75
- return createDate(matches[2], matches[1], matches[0]);
76
- }
77
- }
78
- /**
79
- * print date in format DD-MM-YYYY
80
- * @param date
81
- */
82
- function printDutchDate(date) {
83
- if (!date) {
84
- return "";
85
- }
86
- const d = date.getDate().toString(10).padStart(2, "0");
87
- const m = (date.getMonth() + 1).toString(10).padStart(2, "0");
88
- const y = date.getFullYear().toString(10).padStart(2, "0");
89
- return `${d}-${m}-${y}`;
90
- }
91
- /**
92
- * Compare if two dates are equal in terms of day, month, and year
93
- */
94
- function isEqual(a, b) {
95
- if (!a || !b) {
96
- return false;
97
- }
98
- return a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth() && a.getDate() === b.getDate();
99
- }
100
- function addDays(date, days) {
101
- const d = new Date(date);
102
- d.setDate(d.getDate() + days);
103
- return d;
104
- }
105
- function startOfWeek(date, firstDayOfWeek = DaysOfWeek.Monday) {
106
- const d = new Date(date);
107
- const day = d.getDay();
108
- const diff = (day < firstDayOfWeek ? 7 : 0) + day - firstDayOfWeek;
109
- d.setDate(d.getDate() - diff);
110
- return d;
111
- }
112
- function endOfWeek(date, firstDayOfWeek = DaysOfWeek.Monday) {
113
- const d = new Date(date);
114
- const day = d.getDay();
115
- const diff = (day < firstDayOfWeek ? -7 : 0) + 6 - (day - firstDayOfWeek);
116
- d.setDate(d.getDate() + diff);
117
- return d;
118
- }
119
- function startOfMonth(date) {
120
- return new Date(date.getFullYear(), date.getMonth(), 1);
121
- }
122
- function endOfMonth(date) {
123
- return new Date(date.getFullYear(), date.getMonth() + 1, 0);
124
- }
125
- function setMonth(date, month) {
126
- const d = new Date(date);
127
- d.setMonth(month);
128
- return d;
129
- }
130
- function setYear(date, year) {
131
- const d = new Date(date);
132
- d.setFullYear(year);
133
- return d;
134
- }
135
- /**
136
- * Check if date is within a min and max
137
- */
138
- function inRange(date, min, max) {
139
- return clamp(date, min, max) === date;
140
- }
141
- /**
142
- * Ensures date is within range, returns min or max if out of bounds
143
- */
144
- function clamp(date, min, max) {
145
- const time = date.getTime();
146
- if (min && min instanceof Date && time < min.getTime()) {
147
- return min;
148
- }
149
- if (max && max instanceof Date && time > max.getTime()) {
150
- return max;
151
- }
152
- return date;
153
- }
154
- /**
155
- * given start and end date, return an (inclusive) array of all dates in between
156
- * @param start
157
- * @param end
158
- */
159
- function getDaysInRange(start, end) {
160
- const days = [];
161
- let current = start;
162
- while (!isEqual(current, end)) {
163
- days.push(current);
164
- current = addDays(current, 1);
165
- }
166
- days.push(current);
167
- return days;
168
- }
169
- /**
170
- * given a date, return an array of dates from a calendar perspective
171
- * @param date
172
- * @param firstDayOfWeek
173
- */
174
- function getViewOfMonth(date, firstDayOfWeek = DaysOfWeek.Monday) {
175
- const start = startOfWeek(startOfMonth(date), firstDayOfWeek);
176
- const end = endOfWeek(endOfMonth(date), firstDayOfWeek);
177
- return getDaysInRange(start, end);
178
- }
179
-
180
- const DatePickerLegacyDay = ({ focusedDay, today, day, onDaySelect, onKeyboardNavigation, focusedDayRef, inRange, }) => {
181
- const isToday = isEqual(day, today);
182
- const isFocused = isEqual(day, focusedDay);
183
- const notCurrentMonth = day.getMonth() !== focusedDay.getMonth();
184
- const isOutsideRange = !inRange;
185
- function handleClick(e) {
186
- onDaySelect(e, day);
187
- }
188
- return (index.h("button", { class: {
189
- "dso-date__day": true,
190
- "is-today": isToday,
191
- }, tabIndex: isFocused ? 0 : -1, onClick: handleClick, onKeyDown: onKeyboardNavigation, disabled: isOutsideRange || notCurrentMonth, type: "button", ref: (el) => {
192
- if (isFocused && el && focusedDayRef) {
193
- focusedDayRef(el);
194
- }
195
- } },
196
- index.h("span", { "aria-hidden": "true" }, day.getDate()),
197
- index.h("span", { class: "dso-date__vhidden" }, printDutchDate(day))));
198
- };
199
-
200
- function chunk(array, chunkSize) {
201
- const result = [];
202
- for (let i = 0; i < array.length; i += chunkSize) {
203
- result.push(array.slice(i, i + chunkSize));
204
- }
205
- return result;
206
- }
207
- function mapWithOffset(array, startingOffset, mapFn) {
208
- return array.map((_, i) => {
209
- const adjustedIndex = (i + startingOffset) % array.length;
210
- const item = array[adjustedIndex];
211
- if (!item) {
212
- throw new Error("No item found");
213
- }
214
- return mapFn(item);
215
- });
216
- }
217
- const DatePickerLegacyMonth = ({ selectedDate, focusedDate, labelledById, localization, firstDayOfWeek, min, max, onDateSelect, onKeyboardNavigation, focusedDayRef, onMouseDown, onFocusIn, }) => {
218
- const today = new Date();
219
- const days = getViewOfMonth(focusedDate, firstDayOfWeek);
220
- return (index.h("table", { class: "dso-date__table", role: "grid", "aria-labelledby": labelledById, onFocusin: onFocusIn, onMouseDown: onMouseDown },
221
- index.h("thead", null,
222
- index.h("tr", null, mapWithOffset(localization.dayNames, firstDayOfWeek, (dayName) => (index.h("th", { class: "dso-date__table-header", scope: "col" },
223
- index.h("span", { "aria-hidden": "true" }, dayName.substr(0, 2)),
224
- index.h("span", { class: "dso-date__vhidden" }, dayName)))))),
225
- index.h("tbody", null, chunk(days, 7).map((week) => (index.h("tr", { class: "dso-date__row" }, week.map((day) => (index.h("td", { class: "dso-date__cell", role: "gridcell", "aria-selected": isEqual(day, selectedDate) ? "true" : undefined, "aria-current": isEqual(day, today) ? "date" : undefined },
226
- index.h(DatePickerLegacyDay, { day: day, today: today, focusedDay: focusedDate, inRange: inRange(day, min, max), onDaySelect: onDateSelect, onKeyboardNavigation: onKeyboardNavigation, focusedDayRef: focusedDayRef }))))))))));
227
- };
228
-
229
- function monthRange(localization, selectedYear, minDate, maxDate) {
230
- if (minDate && maxDate) {
231
- const { minYear, minMonth } = { minYear: minDate.getFullYear(), minMonth: minDate.getMonth() };
232
- const { maxYear, maxMonth } = { maxYear: maxDate.getFullYear(), maxMonth: maxDate.getMonth() };
233
- return localization.monthNames.filter((_month, index) => {
234
- if (minYear === selectedYear && maxYear === selectedYear) {
235
- return index >= minMonth && index >= maxMonth;
236
- }
237
- if (minYear === selectedYear) {
238
- return index >= minMonth;
239
- }
240
- if (maxYear === selectedYear) {
241
- return index <= maxMonth;
242
- }
243
- return true;
244
- });
245
- }
246
- if (minDate) {
247
- const { minYear, minMonth } = { minYear: minDate.getFullYear(), minMonth: minDate.getMonth() };
248
- return localization.monthNames.filter((_month, index) => minYear === selectedYear && index >= minMonth);
249
- }
250
- if (maxDate) {
251
- const { maxYear, maxMonth } = { maxYear: maxDate.getFullYear(), maxMonth: maxDate.getMonth() };
252
- return localization.monthNames.filter((_month, index) => maxYear === selectedYear && index <= maxMonth);
253
- }
254
- return localization.monthNames;
255
- }
256
-
257
- function range(from, to) {
258
- const result = [];
259
- for (let i = from; i <= to; i++) {
260
- result.push(i);
261
- }
262
- return result;
263
- }
264
-
265
- const datePickerLegacyCss = ".sc-dso-date-picker-legacy-h{display:block}[invalid].sc-dso-date-picker-legacy-h:not([invalid=false]) .dso-date__input.sc-dso-date-picker-legacy{border-color:#ce3f51}.dso-date.sc-dso-date-picker-legacy *.sc-dso-date-picker-legacy,.dso-date.sc-dso-date-picker-legacy *.sc-dso-date-picker-legacy::before,.dso-date.sc-dso-date-picker-legacy *.sc-dso-date-picker-legacy::after{box-sizing:border-box}.dso-date.sc-dso-date-picker-legacy{box-sizing:border-box;color:#191919;display:block;font-family:\"Asap\", sans-serif;margin:0;position:relative;text-align:start;inline-size:100%}.dso-date.sc-dso-date-picker-legacy:not(.dso-visible) .dso-date__dialog.sc-dso-date-picker-legacy{display:none}.dso-date__input.sc-dso-date-picker-legacy{display:block;inline-size:100%;block-size:40px;padding-block:6px;padding-inline:14px;font-size:1rem;line-height:1.5;color:#191919;background-color:#fff;background-image:none;border:1px solid #275937;border-radius:4px;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s}.dso-date__input.sc-dso-date-picker-legacy::-moz-placeholder{color:#666;opacity:1}.dso-date__input.sc-dso-date-picker-legacy:-ms-input-placeholder{color:#666}.dso-date__input.sc-dso-date-picker-legacy::-webkit-input-placeholder{color:#666}.dso-date__input.sc-dso-date-picker-legacy::-ms-expand{background-color:transparent;border:0}.dso-date__input.sc-dso-date-picker-legacy:focus{border-color:#275937;outline:0;box-shadow:inset 0 0 0 1px #275937}.dso-date__input[disabled].sc-dso-date-picker-legacy,.dso-date__input[readonly].sc-dso-date-picker-legacy,fieldset[disabled].sc-dso-date-picker-legacy .dso-date__input.sc-dso-date-picker-legacy{background-color:#fff;opacity:1}.dso-date__input[disabled].sc-dso-date-picker-legacy,fieldset[disabled].sc-dso-date-picker-legacy .dso-date__input.sc-dso-date-picker-legacy{cursor:default}.dso-date__input[disabled].sc-dso-date-picker-legacy{border-color:#e5e5e5;color:#999}.dso-date__input[readonly].sc-dso-date-picker-legacy{border-width:1px}.dso-date__input[type=text].sc-dso-date-picker-legacy{line-height:40px}.dso-date__input[size].sc-dso-date-picker-legacy{inline-size:auto}.dso-date__toggle.sc-dso-date-picker-legacy{-moz-appearance:none;-webkit-appearance:none;-webkit-user-select:none;align-items:center;appearance:none;background:transparent;border:0;border-radius:0;border-end-end-radius:4px;border-start-end-radius:4px;color:#39870c;cursor:pointer;display:flex;block-size:38px;justify-content:center;padding:0;position:absolute;inset-inline-end:0;transform:translateY(-50%);inset-block-start:50%;user-select:none;inline-size:38px;z-index:101}.dso-date__toggle.sc-dso-date-picker-legacy:disabled{color:#afcf9d;cursor:default}.dso-date__dialog.sc-dso-date-picker-legacy{border-width:1px;display:flex;inset-inline-end:0;min-inline-size:320px;opacity:0;position:absolute;inset-block-start:100%;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;visibility:hidden;will-change:transform, opacity, visibility;z-index:210}@media (max-width: 35.9375em){.dso-date__dialog.sc-dso-date-picker-legacy{background:rgba(25, 25, 25, 0.5);inset-block-end:0;position:fixed;inset-inline-start:0;inset-inline-end:0;inset-block-start:0;transform:translateZ(0);transform-origin:bottom center}}.dso-date__dialog.is-left.sc-dso-date-picker-legacy{inset-inline-start:-11px;inset-inline-end:auto;inline-size:auto}.dso-date__dialog.is-active.sc-dso-date-picker-legacy{opacity:1;transform:scale(1.0001) translateZ(0) translateY(0);visibility:visible}.dso-date__dialog-content.sc-dso-date-picker-legacy{background:#fff;border:1px solid rgba(0, 0, 0, 0.1);border-radius:4px;box-shadow:0 8px 10px 1px rgba(0, 0, 0, 0.4);margin-inline-start:auto;margin-inline-end:-1px;margin-block-start:8px;max-inline-size:310px;min-inline-size:290px;padding:16px;position:relative;transform:none;inline-size:100%;z-index:210}@media (max-width: 35.9375em){.dso-date__dialog-content.sc-dso-date-picker-legacy{border:0;border-radius:0;border-start-start-radius:4px;border-start-end-radius:4px;inset-block-end:0;inset-inline-start:0;margin:0;max-inline-size:none;min-block-size:26em;opacity:0;padding-block:0 20px;padding-inline:8%;position:absolute;transform:translateZ(0) translateY(100%);transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;visibility:hidden;will-change:transform, opacity, visibility}.is-active.sc-dso-date-picker-legacy .dso-date__dialog-content.sc-dso-date-picker-legacy{opacity:1;transform:translateZ(0) translateY(0);visibility:visible}}.dso-date__table.sc-dso-date-picker-legacy{border-collapse:collapse;border-spacing:0;color:#191919;font-size:1rem;font-weight:400;line-height:1.25;min-inline-size:280px;table-layout:fixed;text-align:center;inline-size:100%}.dso-date__table-header.sc-dso-date-picker-legacy{font-size:0.875em;font-weight:600;block-size:36px;line-height:36px;text-align:center;text-decoration:none;text-transform:uppercase}.dso-date__cell.sc-dso-date-picker-legacy{block-size:40px;padding:1px;text-align:center;inline-size:40px}.dso-date__day.sc-dso-date-picker-legacy{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;border-radius:50%;box-shadow:0 0 0 1px transparent;color:#191919;cursor:pointer;display:inline-block;font-family:\"Asap\", sans-serif;font-variant-numeric:tabular-nums;font-weight:400;block-size:38px;line-height:0;padding:0;position:relative;text-align:center;vertical-align:middle;inline-size:38px;z-index:100}.dso-date__day.is-today.sc-dso-date-picker-legacy{background:transparent;block-size:36px;box-shadow:0 0 0 1px #39870c;inline-size:36px}.dso-date__day.sc-dso-date-picker-legacy:hover,.dso-date__day.sc-dso-date-picker-legacy:active{background:#39870c;color:#fff}.dso-date__day.sc-dso-date-picker-legacy:focus{background:transparent;box-shadow:0 0 0 2px #275937;color:#191919;block-size:34px;outline:0;inline-size:34px}[aria-selected=true].sc-dso-date-picker-legacy .dso-date__day.sc-dso-date-picker-legacy{background:#39870c;color:#fff}[aria-selected=true].sc-dso-date-picker-legacy .dso-date__day.sc-dso-date-picker-legacy:focus{background:transparent}[aria-selected=true].sc-dso-date-picker-legacy .dso-date__day.sc-dso-date-picker-legacy:focus span[aria-hidden=true].sc-dso-date-picker-legacy{background:#39870c;border:1px solid #fff;line-height:32px}.dso-date__day.sc-dso-date-picker-legacy:disabled{background:#fff;color:#ccc;cursor:default}.dso-date__day.sc-dso-date-picker-legacy span[aria-hidden=true].sc-dso-date-picker-legacy{border-radius:50%;display:inline-block;block-size:34px;line-height:34px;inline-size:34px}.dso-date__header.sc-dso-date-picker-legacy{align-items:center;display:flex;justify-content:space-between;margin-block-end:16px;inline-size:100%}.dso-date__header.sc-dso-date-picker-legacy span.sc-dso-date-picker-legacy{font-size:0.875rem}.dso-date__nav.sc-dso-date-picker-legacy{white-space:nowrap}.dso-date__prev.sc-dso-date-picker-legacy,.dso-date__next.sc-dso-date-picker-legacy{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;background:transparent;border:1px solid #39870c;border-radius:4px;box-sizing:border-box;color:#39870c;cursor:pointer;display:inline-flex;font-size:1em;block-size:32px;justify-content:center;margin-inline-start:8px;padding:0;inline-size:32px}@media (max-width: 35.9375em){.dso-date__prev.sc-dso-date-picker-legacy,.dso-date__next.sc-dso-date-picker-legacy{block-size:40px;inline-size:40px}}.dso-date__prev.sc-dso-date-picker-legacy:hover,.dso-date__prev.sc-dso-date-picker-legacy:active,.dso-date__next.sc-dso-date-picker-legacy:hover,.dso-date__next.sc-dso-date-picker-legacy:active{background-color:#39870c;color:#fff}.dso-date__prev.sc-dso-date-picker-legacy:focus,.dso-date__next.sc-dso-date-picker-legacy:focus{background:transparent;color:#39870c}.dso-date__prev.sc-dso-date-picker-legacy:disabled,.dso-date__prev.sc-dso-date-picker-legacy:disabled:hover,.dso-date__next.sc-dso-date-picker-legacy:disabled,.dso-date__next.sc-dso-date-picker-legacy:disabled:hover{background-color:#fff;border-color:#afcf9d;color:#afcf9d;opacity:1}.dso-date__prev.sc-dso-date-picker-legacy svg.sc-dso-date-picker-legacy,.dso-date__next.sc-dso-date-picker-legacy svg.sc-dso-date-picker-legacy{margin-block:0;margin-inline:auto}.dso-date__select.sc-dso-date-picker-legacy{display:inline-flex;block-size:28px;line-height:28px;position:relative}.dso-date__select.sc-dso-date-picker-legacy span.sc-dso-date-picker-legacy{margin-inline-end:4px}.dso-date__select.sc-dso-date-picker-legacy select.sc-dso-date-picker-legacy{color:#275937;cursor:pointer;font-size:1rem;block-size:100%;inset-inline-start:0;opacity:0;position:absolute;inset-block-start:0;inline-size:100%;z-index:101}.dso-date__select.sc-dso-date-picker-legacy select.sc-dso-date-picker-legacy:focus+.dso-date__select-label.sc-dso-date-picker-legacy{box-shadow:0 0 0 2px #275937}.dso-date__select.sc-dso-date-picker-legacy select.sc-dso-date-picker-legacy:disabled{color:#afcf9d}.dso-date__select-label.sc-dso-date-picker-legacy{align-items:center;border-radius:4px;color:#39870c;display:flex;padding-block:0;padding-inline:8px 4px;pointer-events:none;position:relative;inline-size:100%;z-index:100}.dso-date__select-label.sc-dso-date-picker-legacy span.sc-dso-date-picker-legacy{font-size:1.25rem;font-weight:600;line-height:1.25}.dso-date__select-label.sc-dso-date-picker-legacy svg.sc-dso-date-picker-legacy{inline-size:16px;block-size:16px}.dso-date__mobile.sc-dso-date-picker-legacy{align-items:center;border-block-end:1px solid rgba(0, 0, 0, 0.12);display:flex;font-size:1em;justify-content:space-between;margin-block-end:20px;margin-inline-start:-10%;overflow:hidden;padding-block:12px;padding-inline:20px;position:relative;text-overflow:ellipsis;white-space:nowrap;inline-size:120%}@media (min-width: 36em){.dso-date__mobile.sc-dso-date-picker-legacy{border:0;margin:0;overflow:visible;padding:0;position:absolute;inset-inline-end:-16px;inset-block-start:-16px;inline-size:auto}}.dso-date__mobile-heading.sc-dso-date-picker-legacy{display:inline-block;font-weight:600;max-inline-size:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.dso-date__mobile-heading.sc-dso-date-picker-legacy{display:none}}.dso-date__close.sc-dso-date-picker-legacy{-webkit-appearance:none;align-items:center;appearance:none;background-color:#fff;border:0;border-radius:50%;color:#39870c;cursor:pointer;display:flex;font-size:1em;block-size:32px;justify-content:center;margin-inline-end:-4px;padding:0;inline-size:32px}@media (min-width: 36em){.dso-date__close.sc-dso-date-picker-legacy{margin-inline-end:0;opacity:0}}.dso-date__close.sc-dso-date-picker-legacy:focus{box-shadow:0 0 0 2px #275937;outline:none}@media (min-width: 36em){.dso-date__close.sc-dso-date-picker-legacy:focus{opacity:1}}.dso-date__vhidden.sc-dso-date-picker-legacy{border:0;clip:rect(1px, 1px, 1px, 1px);block-size:1px;overflow:hidden;padding:0;position:absolute;inset-block-start:0;inline-size:1px}";
266
-
267
- const keyCode = {
268
- TAB: 9,
269
- ESC: 27,
270
- PAGE_UP: 33,
271
- PAGE_DOWN: 34,
272
- END: 35,
273
- HOME: 36,
274
- LEFT: 37,
275
- UP: 38,
276
- RIGHT: 39,
277
- DOWN: 40,
278
- };
279
- const DISALLOWED_CHARACTERS = /[^0-9-]+/g;
280
- const TRANSITION_MS = 300;
281
- function cleanValue(input, regex) {
282
- const value = input.value;
283
- const cursor = input.selectionStart;
284
- if (!cursor) {
285
- return value;
286
- }
287
- const beforeCursor = value.slice(0, cursor);
288
- const afterCursor = value.slice(cursor, value.length);
289
- const filteredBeforeCursor = beforeCursor.replace(regex, "");
290
- const filterAfterCursor = afterCursor.replace(regex, "");
291
- const newValue = filteredBeforeCursor + filterAfterCursor;
292
- const newCursor = filteredBeforeCursor.length;
293
- input.value = newValue;
294
- input.selectionStart = input.selectionEnd = newCursor;
295
- return newValue;
296
- }
297
- const DsoDatePickerLegacy = class {
298
- constructor(hostRef) {
299
- index.registerInstance(this, hostRef);
300
- this.dsoDateChange = index.createEvent(this, "dsoDateChange", 7);
301
- this.dsoBlur = index.createEvent(this, "dsoBlur", 7);
302
- this.dsoKeyUp = index.createEvent(this, "dsoKeyUp", 7);
303
- this.dsoKeyDown = index.createEvent(this, "dsoKeyDown", 7);
304
- this.dsoFocus = index.createEvent(this, "dsoFocus", 7);
305
- /**
306
- * Own Properties
307
- */
308
- this.monthSelectId = createIdentifier.createIdentifier("DsoDateMonth");
309
- this.yearSelectId = createIdentifier.createIdentifier("DsoDateYear");
310
- this.dialogLabelId = createIdentifier.createIdentifier("DsoDateLabel");
311
- this.localization = localization;
312
- this.firstDayOfWeek = DaysOfWeek.Monday;
313
- /**
314
- * State() variables
315
- */
316
- this.activeFocus = false;
317
- this.focusedDay = new Date();
318
- this.open = false;
319
- this.visible = false;
320
- /**
321
- * Public Property API
322
- */
323
- /**
324
- * Name of the date picker input.
325
- */
326
- this.name = "date";
327
- /**
328
- * Makes the date picker input component disabled. This prevents users from being able to
329
- * interact with the input, and conveys its inactive state to assistive technologies.
330
- */
331
- this.disabled = false;
332
- /**
333
- * Defines a specific role attribute for the date picker input.
334
- */
335
- this.role = null;
336
- /**
337
- * Forces the opening direction of the calendar modal to be always left or right.
338
- * This setting can be useful when the input is smaller than the opening date picker
339
- * would be as by default the picker always opens towards right.
340
- */
341
- this.direction = "right";
342
- /**
343
- * Should the input be marked as required?
344
- */
345
- this.required = false;
346
- /**
347
- * Should the input be focused on load?
348
- */
349
- this.dsoAutofocus = false;
350
- /**
351
- * Date value. Must be in Dutch date format: DD-MM-YYYY.
352
- */
353
- this.value = "";
354
- /**
355
- * Local methods.
356
- */
357
- this.enableActiveFocus = () => {
358
- this.activeFocus = true;
359
- };
360
- this.disableActiveFocus = () => {
361
- this.activeFocus = false;
362
- };
363
- this.toggleOpen = (e) => {
364
- e.preventDefault();
365
- if (this.open) {
366
- this.hide(false);
367
- }
368
- else {
369
- this.show();
370
- }
371
- };
372
- this.handleEscKey = (event) => {
373
- if (event.keyCode === keyCode.ESC) {
374
- this.hide();
375
- }
376
- };
377
- this.handleBlur = (event) => {
378
- event.stopPropagation();
379
- this.dsoBlur.emit({
380
- component: "dso-date-picker-legacy",
381
- });
382
- };
383
- this.handleKeyUp = (event) => {
384
- event.stopPropagation();
385
- this.dsoKeyUp.emit({
386
- component: "dso-date-picker-legacy",
387
- originalEvent: event,
388
- });
389
- };
390
- this.handleKeyDown = (event) => {
391
- event.stopPropagation();
392
- this.dsoKeyDown.emit({
393
- component: "dso-date-picker-legacy",
394
- originalEvent: event,
395
- });
396
- };
397
- this.handleFocus = (event) => {
398
- event.stopPropagation();
399
- this.dsoFocus.emit({
400
- component: "dso-date-picker-legacy",
401
- });
402
- };
403
- this.handleTouchStart = (event) => {
404
- const touch = event.changedTouches[0];
405
- if (!touch) {
406
- throw new Error("No touch found");
407
- }
408
- this.initialTouchX = touch.pageX;
409
- this.initialTouchY = touch.pageY;
410
- };
411
- this.handleTouchMove = (event) => {
412
- event.preventDefault();
413
- };
414
- this.handleTouchEnd = (event) => {
415
- var _a, _b;
416
- const touch = event.changedTouches[0];
417
- if (!touch) {
418
- throw new Error("No touch found");
419
- }
420
- const distX = touch.pageX - ((_a = this.initialTouchX) !== null && _a !== void 0 ? _a : 0); // get horizontal dist traveled
421
- const distY = touch.pageY - ((_b = this.initialTouchY) !== null && _b !== void 0 ? _b : 0); // get vertical dist traveled
422
- const threshold = 70;
423
- const isHorizontalSwipe = Math.abs(distX) >= threshold && Math.abs(distY) <= threshold;
424
- const isDownwardsSwipe = Math.abs(distY) >= threshold && Math.abs(distX) <= threshold && distY > 0;
425
- if (isHorizontalSwipe) {
426
- this.addMonths(distX < 0 ? 1 : -1);
427
- }
428
- else if (isDownwardsSwipe) {
429
- this.hide(false);
430
- event.preventDefault();
431
- }
432
- this.initialTouchY = undefined;
433
- this.initialTouchX = undefined;
434
- };
435
- this.handleNextMonthClick = (event) => {
436
- event.preventDefault();
437
- this.addMonths(1);
438
- };
439
- this.handlePreviousMonthClick = (event) => {
440
- event.preventDefault();
441
- this.addMonths(-1);
442
- };
443
- this.handleFirstFocusableKeydown = (event) => {
444
- var _a;
445
- // this ensures focus is trapped inside the dialog
446
- if (event.keyCode === keyCode.TAB && event.shiftKey) {
447
- (_a = this.focusedDayNode) === null || _a === void 0 ? void 0 : _a.focus();
448
- event.preventDefault();
449
- }
450
- };
451
- this.handleKeyboardNavigation = (event) => {
452
- var _a;
453
- // handle tab separately, since it needs to be treated
454
- // differently to other keyboard interactions
455
- if (event.keyCode === keyCode.TAB && !event.shiftKey) {
456
- event.preventDefault();
457
- (_a = this.firstFocusableElement) === null || _a === void 0 ? void 0 : _a.focus();
458
- return;
459
- }
460
- let handled = true;
461
- switch (event.keyCode) {
462
- case keyCode.RIGHT:
463
- this.addDays(1);
464
- break;
465
- case keyCode.LEFT:
466
- this.addDays(-1);
467
- break;
468
- case keyCode.DOWN:
469
- this.addDays(7);
470
- break;
471
- case keyCode.UP:
472
- this.addDays(-7);
473
- break;
474
- case keyCode.PAGE_UP:
475
- if (event.shiftKey) {
476
- this.addYears(-1);
477
- }
478
- else {
479
- this.addMonths(-1);
480
- }
481
- break;
482
- case keyCode.PAGE_DOWN:
483
- if (event.shiftKey) {
484
- this.addYears(1);
485
- }
486
- else {
487
- this.addMonths(1);
488
- }
489
- break;
490
- case keyCode.HOME:
491
- this.startOfWeek();
492
- break;
493
- case keyCode.END:
494
- this.endOfWeek();
495
- break;
496
- default:
497
- handled = false;
498
- }
499
- if (handled) {
500
- event.preventDefault();
501
- this.enableActiveFocus();
502
- }
503
- };
504
- this.handleDaySelect = (_event, day) => {
505
- if (!inRange(day, parseDutchDate(this.min), parseDutchDate(this.max))) {
506
- return;
507
- }
508
- if (day.getMonth() === this.focusedDay.getMonth()) {
509
- this.setValue(day);
510
- this.hide();
511
- }
512
- else {
513
- this.setFocusedDay(day);
514
- }
515
- };
516
- this.handleMonthSelect = (e) => {
517
- // Todo
518
- if (e.target instanceof HTMLSelectElement) {
519
- this.setMonth(parseInt(e.target.value, 10));
520
- }
521
- };
522
- this.handleYearSelect = (e) => {
523
- if (e.target instanceof HTMLSelectElement) {
524
- this.setYear(parseInt(e.target.value, 10));
525
- }
526
- };
527
- this.handleInputChange = (e) => {
528
- const target = e.target;
529
- const cleanedValue = cleanValue(target, DISALLOWED_CHARACTERS);
530
- this.setValue(cleanedValue);
531
- };
532
- this.prepareEvent = (value) => {
533
- const event = {
534
- component: "dso-date-picker-legacy",
535
- value: "",
536
- valueAsDate: undefined,
537
- };
538
- if (value instanceof Date) {
539
- event.valueAsDate = value;
540
- }
541
- else {
542
- event.value = value;
543
- event.valueAsDate = parseDutchDate(value);
544
- }
545
- if (event.valueAsDate) {
546
- event.value = printDutchDate(event.valueAsDate);
547
- }
548
- if (!event.valueAsDate && this.required) {
549
- event.error = "required";
550
- }
551
- if (event.value && !event.valueAsDate) {
552
- event.error = "invalid";
553
- }
554
- if (event.valueAsDate && (this.min || this.max)) {
555
- const min = parseDutchDate(this.min);
556
- const max = parseDutchDate(this.max);
557
- const clampValue = clamp(event.valueAsDate, min, max);
558
- if (clampValue !== event.valueAsDate && clampValue === min) {
559
- event.valueAsDate = undefined;
560
- event.error = "min-range";
561
- }
562
- else if (clampValue !== event.valueAsDate && clampValue === max) {
563
- event.valueAsDate = undefined;
564
- event.error = "max-range";
565
- }
566
- }
567
- return event;
568
- };
569
- this.processFocusedDayNode = (element) => {
570
- this.focusedDayNode = element;
571
- if (this.activeFocus && this.open) {
572
- setTimeout(() => element.focus(), 0);
573
- }
574
- };
575
- }
576
- /**
577
- * Component event handling.
578
- */
579
- handleDocumentClick(e) {
580
- if (!this.open) {
581
- return;
582
- }
583
- const path = e.composedPath();
584
- for (const target of path) {
585
- if (target instanceof Node && this.element.contains(target)) {
586
- return;
587
- }
588
- }
589
- this.hide(false);
590
- }
591
- /**
592
- * Sets focus on the date picker's input. Use this method instead of the global `focus()`.
593
- */
594
- async setFocus() {
595
- var _a;
596
- return (_a = this.datePickerLegacyInput) === null || _a === void 0 ? void 0 : _a.focus();
597
- }
598
- /**
599
- * Public methods API
600
- */
601
- /**
602
- * Show the calendar modal, moving focus to the calendar inside.
603
- */
604
- async show() {
605
- if (typeof this.hideTimeoutId !== "undefined") {
606
- clearTimeout(this.hideTimeoutId);
607
- }
608
- this.visible = true;
609
- setTimeout(() => {
610
- this.open = true;
611
- this.setFocusedDay(parseDutchDate(this.value) || new Date());
612
- if (typeof this.focusTimeoutId !== "undefined") {
613
- clearTimeout(this.focusTimeoutId);
614
- }
615
- this.focusTimeoutId = setTimeout(() => { var _a; return (_a = this.monthSelectNode) === null || _a === void 0 ? void 0 : _a.focus(); }, TRANSITION_MS);
616
- });
617
- }
618
- /**
619
- * Hide the calendar modal. Set `moveFocusToButton` to false to prevent focus
620
- * returning to the date picker's button. Default is true.
621
- */
622
- async hide(moveFocusToButton = true) {
623
- this.open = false;
624
- // in cases where calendar is quickly shown and hidden
625
- // we should avoid moving focus to the button
626
- if (typeof this.focusTimeoutId !== "undefined") {
627
- clearTimeout(this.focusTimeoutId);
628
- }
629
- this.hideTimeoutId = setTimeout(() => {
630
- if (moveFocusToButton && this.datePickerLegacyButton) {
631
- this.datePickerLegacyButton.focus();
632
- }
633
- this.visible = false;
634
- }, TRANSITION_MS + 200);
635
- }
636
- addDays(days) {
637
- this.setFocusedDay(addDays(this.focusedDay, days));
638
- }
639
- addMonths(months) {
640
- this.setMonth(this.focusedDay.getMonth() + months);
641
- }
642
- addYears(years) {
643
- this.setYear(this.focusedDay.getFullYear() + years);
644
- }
645
- startOfWeek() {
646
- this.setFocusedDay(startOfWeek(this.focusedDay, this.firstDayOfWeek));
647
- }
648
- endOfWeek() {
649
- this.setFocusedDay(endOfWeek(this.focusedDay, this.firstDayOfWeek));
650
- }
651
- setMonth(month) {
652
- const min = setMonth(startOfMonth(this.focusedDay), month);
653
- const max = endOfMonth(min);
654
- const date = setMonth(this.focusedDay, month);
655
- this.setFocusedDay(clamp(date, min, max));
656
- }
657
- setYear(year) {
658
- const min = setYear(startOfMonth(this.focusedDay), year);
659
- const max = endOfMonth(min);
660
- const date = setYear(this.focusedDay, year);
661
- this.setFocusedDay(clamp(date, min, max));
662
- }
663
- setFocusedDay(day) {
664
- this.focusedDay = clamp(day, parseDutchDate(this.min), parseDutchDate(this.max));
665
- }
666
- setValue(value) {
667
- const event = this.prepareEvent(value);
668
- this.value = typeof value === "string" ? value : event.value;
669
- if (this.value !== this.previousValue) {
670
- this.dsoDateChange.emit(event);
671
- this.previousValue = this.value;
672
- }
673
- }
674
- componentWillLoad() {
675
- const minDate = parseDutchDate(this.min);
676
- const maxDate = parseDutchDate(this.max);
677
- if (minDate && minDate > this.focusedDay) {
678
- this.focusedDay = minDate;
679
- }
680
- if (maxDate && maxDate < this.focusedDay) {
681
- this.focusedDay = maxDate;
682
- }
683
- }
684
- componentDidLoad() {
685
- const valueAsDate = parseDutchDate(this.value);
686
- if (valueAsDate) {
687
- this.previousValue = this.value = printDutchDate(valueAsDate);
688
- }
689
- if (this.dsoAutofocus) {
690
- this.setFocus();
691
- }
692
- }
693
- /**
694
- * render() function
695
- * Always the last one in the class.
696
- */
697
- render() {
698
- var _a, _b;
699
- const valueAsDate = parseDutchDate(this.value);
700
- const formattedDate = valueAsDate && printDutchDate(valueAsDate);
701
- const selectedYear = (valueAsDate || this.focusedDay).getFullYear();
702
- const focusedMonth = this.focusedDay.getMonth();
703
- const focusedYear = this.focusedDay.getFullYear();
704
- const minDate = parseDutchDate(this.min);
705
- const maxDate = parseDutchDate(this.max);
706
- const prevMonthDisabled = minDate && minDate.getMonth() === focusedMonth && minDate.getFullYear() === focusedYear;
707
- const nextMonthDisabled = maxDate && maxDate.getMonth() === focusedMonth && maxDate.getFullYear() === focusedYear;
708
- let minYear = selectedYear - 10;
709
- let maxYear = selectedYear + 10;
710
- if (minDate) {
711
- minYear = Math.max(minYear, minDate.getFullYear());
712
- }
713
- if (maxDate) {
714
- maxYear = Math.min(maxYear, maxDate.getFullYear());
715
- }
716
- return (index.h(index.Host, { key: '396b32409bc093895e3f35d18dba8bd7e6777f46' }, index.h("div", { key: 'd5a5787fcc7f6a5126a266ff5add00b7ff586cba', class: { "dso-date": true, "dso-visible": this.visible } }, index.h("div", { key: '85fd7e86974ab53580fb452ac1f18bc12a907c6d', class: "dso-date__input-wrapper" }, index.h("input", { key: 'b4f2997aa317cdf00396ff49d6c0a5f72764d503', class: "dso-date__input", value: this.value, placeholder: this.localization.placeholder, id: this.identifier, disabled: this.disabled, role: (_a = this.role) !== null && _a !== void 0 ? _a : undefined, required: this.required ? true : undefined, "aria-autocomplete": "none", "aria-invalid": (_b = this.invalid) === null || _b === void 0 ? void 0 : _b.toString(), "aria-describedby": this.describedBy, onInput: this.handleInputChange, onFocus: this.handleFocus, onBlur: this.handleBlur, onKeyUp: this.handleKeyUp, onKeyDown: this.handleKeyDown, autoComplete: "off", ref: (element) => (this.datePickerLegacyInput = element) }), index.h("button", { key: 'e2b34c1e6d804f6bf96aaea34daea995c59cbec5', type: "button", class: "dso-date__toggle", onClick: this.toggleOpen, disabled: this.disabled, ref: (element) => (this.datePickerLegacyButton = element) }, index.h("span", { key: '578b0315ed115d28f7906d585914bc6dae2a40cc', class: "dso-date__toggle-icon" }, index.h("dso-icon", { key: '90488726ea142805085372ed273ef6a10691f85a', icon: "calendar" })), index.h("span", { key: '34d925fe5facf889afa518e64150121df6e0ade7', class: "dso-date__vhidden" }, this.localization.buttonLabel, formattedDate && (index.h("span", { key: '53471bfd4a6d8a3dd7a27582fadbf847f824f1dd' }, ", ", this.localization.selectedDateMessage, " ", formattedDate))))), index.h("div", { key: '6a292ed13e8dfa5b972c8f1133238a535511cb8e', class: {
717
- "dso-date__dialog": true,
718
- "is-left": this.direction === "left",
719
- "is-active": this.open,
720
- }, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, index.h("div", { key: 'f8bb4ca24600a728f81e4247ef94641794ad84e3', class: "dso-date__dialog-content", onKeyDown: this.handleEscKey }, index.h("div", { key: '1582c6e4e4d89c4339f791c43e3fc01e18f03989', class: "dso-date__vhidden dso-date__instructions", "aria-live": "polite" }, this.localization.keyboardInstruction), index.h("div", { key: '3158d79a673e502aaa701fc41a2a15dd6ba5dc4b', class: "dso-date__mobile", onFocusin: this.disableActiveFocus }, index.h("label", { key: 'fcc075c9782196ec11a77f5d6aa703b8e48cea78', class: "dso-date__mobile-heading" }, this.localization.calendarHeading), index.h("button", { key: 'bee7a83296c5f1f3bfe498c0392f41bebb9fd27d', class: "dso-date__close", ref: (element) => (this.firstFocusableElement = element), onKeyDown: this.handleFirstFocusableKeydown, onClick: () => this.hide(), type: "button" }, index.h("dso-icon", { key: '3f66fe3d47a25baea3d7c148b1f5bec301f2bc29', icon: "times" }), index.h("span", { key: 'c5d4618409573374228a7e4489cdbfe1c66fdd7c', class: "dso-date__vhidden" }, this.localization.closeLabel))), index.h("div", { key: 'd9ba961084fb524b7f94139ce2a9857e9f7e1b0d', class: "dso-date__header", onFocusin: this.disableActiveFocus }, index.h("div", { key: '37d0dbcc0d777aafd31866d81dd758372585e908' }, index.h("h2", { key: 'de0e154dc96dc4e5cb3bcd2e588201a6cc5c9259', id: this.dialogLabelId, class: "dso-date__vhidden", "aria-live": "polite" }, this.localization.monthNames[focusedMonth], " ", this.focusedDay.getFullYear()), index.h("label", { key: 'cd0ffce7c78da9bf2d49bdca4d0394341608e249', htmlFor: this.monthSelectId, class: "dso-date__vhidden" }, this.localization.monthSelectLabel), index.h("div", { key: '48230fd3e09c932282bbb4990eda095cb95fce06', class: "dso-date__select" }, index.h("select", { key: 'f00134b32f100aefd5c61a4de98e221ed09137a2', id: this.monthSelectId, class: "dso-date__select--month", ref: (element) => (this.monthSelectNode = element), onChange: this.handleMonthSelect }, monthRange(this.localization, selectedYear, minDate, maxDate).map((month) => {
721
- const index$1 = this.localization.monthNames.indexOf(month);
722
- return (index.h("option", { key: month, value: index$1, selected: index$1 === focusedMonth }, month));
723
- })), index.h("div", { key: 'a1670f7170408e13a577b9bb65ce222e02341af6', class: "dso-date__select-label", "aria-hidden": "true" }, index.h("span", { key: 'c0878373562b07a3c4860c766219da9289734fd3' }, this.localization.monthNamesShort[focusedMonth]), index.h("dso-icon", { key: '64b610f732f03334432be7ccdc60fa634b83b5b1', icon: "chevron-down" }))), index.h("label", { key: 'bb21bbcb63a45b503d26f9c50fa0ab987a7d7081', htmlFor: this.yearSelectId, class: "dso-date__vhidden" }, this.localization.yearSelectLabel), index.h("div", { key: '9a2ecf4ed6c4396a15ccadd40f2c04d9bf60dcbc', class: "dso-date__select" }, index.h("select", { key: 'a1a935ba195eca516b0a94e129ed320c64dd43ef', id: this.yearSelectId, class: "dso-date__select--year", onChange: this.handleYearSelect }, range(minYear, maxYear).map((year) => (index.h("option", { key: year, selected: year === focusedYear }, year)))), index.h("div", { key: 'b16f15541e3637b65b39dd0b8e871710e36e59bb', class: "dso-date__select-label", "aria-hidden": "true" }, index.h("span", { key: '64a6a5a00cbcf3ee9268c478cf2c1ff2d40e0abe' }, this.focusedDay.getFullYear()), index.h("dso-icon", { key: 'c0744674bcbba803aeaeca6ac1d684a1e7d3894a', icon: "chevron-down" })))), index.h("div", { key: '433d90659d6521b41a8cccd7683fad3da0bd4b2a', class: "dso-date__nav" }, index.h("button", { key: 'b40b6fd0c99e18e9f033cf1d41127194404408a1', class: "dso-date__prev", onClick: this.handlePreviousMonthClick, disabled: prevMonthDisabled, type: "button" }, index.h("dso-icon", { key: 'e658b36996f0d2e3d9c164f746b66220a75dcbbf', icon: "chevron-left" }), index.h("span", { key: '499a5213ff977b13bd36ff4e91d83730a13ab51d', class: "dso-date__vhidden" }, this.localization.prevMonthLabel)), index.h("button", { key: 'dcd28b6b36bfbf16de2fe529e5dbf4e65920c66b', class: "dso-date__next", onClick: this.handleNextMonthClick, disabled: nextMonthDisabled, type: "button" }, index.h("dso-icon", { key: '034b916fa47349e82bdf2a95c9dab465784f1499', icon: "chevron-right" }), index.h("span", { key: '184cef66312cdcea2a50d0dcc218a55963577398', class: "dso-date__vhidden" }, this.localization.nextMonthLabel)))), index.h(DatePickerLegacyMonth, { key: '254d598e4ed0ca17332abef195292828262712c7', selectedDate: valueAsDate, focusedDate: this.focusedDay, onDateSelect: this.handleDaySelect, onKeyboardNavigation: this.handleKeyboardNavigation, labelledById: this.dialogLabelId, localization: this.localization, firstDayOfWeek: this.firstDayOfWeek, focusedDayRef: this.processFocusedDayNode, min: minDate, max: maxDate }))))));
724
- }
725
- get element() { return index.getElement(this); }
726
- };
727
- DsoDatePickerLegacy.style = datePickerLegacyCss;
728
-
729
- exports.dso_date_picker_legacy = DsoDatePickerLegacy;
730
- //# sourceMappingURL=dso-date-picker-legacy.entry.cjs.js.map
731
-
732
- //# sourceMappingURL=dso-date-picker-legacy.cjs.entry.js.map