@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,730 +0,0 @@
1
- import { h, r as registerInstance, c as createEvent, H as Host, g as getElement } from './index-DxWmN7gh.js';
2
- import { c as createIdentifier } from './create-identifier-DSyv-znO.js';
3
-
4
- const localization = {
5
- buttonLabel: "Kies datum",
6
- placeholder: "dd-mm-jjjj",
7
- selectedDateMessage: "Geselecteerde datum is",
8
- prevMonthLabel: "Vorige maand",
9
- nextMonthLabel: "Volgende maand",
10
- monthSelectLabel: "Maand",
11
- yearSelectLabel: "Jaar",
12
- closeLabel: "Sluiten",
13
- keyboardInstruction: "Gebruik de pijltjestoetsen om een dag te kiezen",
14
- calendarHeading: "Kies een datum",
15
- dayNames: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag"],
16
- monthNames: [
17
- "Januari",
18
- "Februari",
19
- "Maart",
20
- "April",
21
- "Mei",
22
- "Juni",
23
- "Juli",
24
- "Augustus",
25
- "September",
26
- "Oktober",
27
- "November",
28
- "December",
29
- ],
30
- monthNamesShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
31
- };
32
-
33
- // eslint-disable-next-line @stencil-community/ban-exported-const-enums -- This enum is not part of public API
34
- var DaysOfWeek;
35
- (function (DaysOfWeek) {
36
- DaysOfWeek[DaysOfWeek["Sunday"] = 0] = "Sunday";
37
- DaysOfWeek[DaysOfWeek["Monday"] = 1] = "Monday";
38
- DaysOfWeek[DaysOfWeek["Tuesday"] = 2] = "Tuesday";
39
- DaysOfWeek[DaysOfWeek["Wednesday"] = 3] = "Wednesday";
40
- DaysOfWeek[DaysOfWeek["Thursday"] = 4] = "Thursday";
41
- DaysOfWeek[DaysOfWeek["Friday"] = 5] = "Friday";
42
- DaysOfWeek[DaysOfWeek["Saturday"] = 6] = "Saturday";
43
- })(DaysOfWeek || (DaysOfWeek = {}));
44
- function createDate(year, month, day) {
45
- const dayInt = parseInt(day, 10);
46
- const monthInt = parseInt(month, 10);
47
- const yearInt = parseInt(year, 10);
48
- const isValid = Number.isInteger(yearInt) && // all parts should be integers
49
- Number.isInteger(monthInt) &&
50
- Number.isInteger(dayInt) &&
51
- monthInt > 0 && // month must be 1-12
52
- monthInt <= 12 &&
53
- dayInt > 0 && // day must be 1-31
54
- dayInt <= 31 &&
55
- yearInt > 0;
56
- if (isValid) {
57
- return new Date(yearInt, monthInt - 1, dayInt);
58
- }
59
- }
60
- /**
61
- * @param value date string in Dutch format D-M-YYYY
62
- */
63
- function parseDutchDate(value) {
64
- if (!value) {
65
- return;
66
- }
67
- const matches = value.split("-");
68
- if (matches.length === 3 &&
69
- typeof matches[0] === "string" &&
70
- typeof matches[1] === "string" &&
71
- typeof matches[2] === "string" &&
72
- matches[2].length === 4) {
73
- return createDate(matches[2], matches[1], matches[0]);
74
- }
75
- }
76
- /**
77
- * print date in format DD-MM-YYYY
78
- * @param date
79
- */
80
- function printDutchDate(date) {
81
- if (!date) {
82
- return "";
83
- }
84
- const d = date.getDate().toString(10).padStart(2, "0");
85
- const m = (date.getMonth() + 1).toString(10).padStart(2, "0");
86
- const y = date.getFullYear().toString(10).padStart(2, "0");
87
- return `${d}-${m}-${y}`;
88
- }
89
- /**
90
- * Compare if two dates are equal in terms of day, month, and year
91
- */
92
- function isEqual(a, b) {
93
- if (!a || !b) {
94
- return false;
95
- }
96
- return a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth() && a.getDate() === b.getDate();
97
- }
98
- function addDays(date, days) {
99
- const d = new Date(date);
100
- d.setDate(d.getDate() + days);
101
- return d;
102
- }
103
- function startOfWeek(date, firstDayOfWeek = DaysOfWeek.Monday) {
104
- const d = new Date(date);
105
- const day = d.getDay();
106
- const diff = (day < firstDayOfWeek ? 7 : 0) + day - firstDayOfWeek;
107
- d.setDate(d.getDate() - diff);
108
- return d;
109
- }
110
- function endOfWeek(date, firstDayOfWeek = DaysOfWeek.Monday) {
111
- const d = new Date(date);
112
- const day = d.getDay();
113
- const diff = (day < firstDayOfWeek ? -7 : 0) + 6 - (day - firstDayOfWeek);
114
- d.setDate(d.getDate() + diff);
115
- return d;
116
- }
117
- function startOfMonth(date) {
118
- return new Date(date.getFullYear(), date.getMonth(), 1);
119
- }
120
- function endOfMonth(date) {
121
- return new Date(date.getFullYear(), date.getMonth() + 1, 0);
122
- }
123
- function setMonth(date, month) {
124
- const d = new Date(date);
125
- d.setMonth(month);
126
- return d;
127
- }
128
- function setYear(date, year) {
129
- const d = new Date(date);
130
- d.setFullYear(year);
131
- return d;
132
- }
133
- /**
134
- * Check if date is within a min and max
135
- */
136
- function inRange(date, min, max) {
137
- return clamp(date, min, max) === date;
138
- }
139
- /**
140
- * Ensures date is within range, returns min or max if out of bounds
141
- */
142
- function clamp(date, min, max) {
143
- const time = date.getTime();
144
- if (min && min instanceof Date && time < min.getTime()) {
145
- return min;
146
- }
147
- if (max && max instanceof Date && time > max.getTime()) {
148
- return max;
149
- }
150
- return date;
151
- }
152
- /**
153
- * given start and end date, return an (inclusive) array of all dates in between
154
- * @param start
155
- * @param end
156
- */
157
- function getDaysInRange(start, end) {
158
- const days = [];
159
- let current = start;
160
- while (!isEqual(current, end)) {
161
- days.push(current);
162
- current = addDays(current, 1);
163
- }
164
- days.push(current);
165
- return days;
166
- }
167
- /**
168
- * given a date, return an array of dates from a calendar perspective
169
- * @param date
170
- * @param firstDayOfWeek
171
- */
172
- function getViewOfMonth(date, firstDayOfWeek = DaysOfWeek.Monday) {
173
- const start = startOfWeek(startOfMonth(date), firstDayOfWeek);
174
- const end = endOfWeek(endOfMonth(date), firstDayOfWeek);
175
- return getDaysInRange(start, end);
176
- }
177
-
178
- const DatePickerLegacyDay = ({ focusedDay, today, day, onDaySelect, onKeyboardNavigation, focusedDayRef, inRange, }) => {
179
- const isToday = isEqual(day, today);
180
- const isFocused = isEqual(day, focusedDay);
181
- const notCurrentMonth = day.getMonth() !== focusedDay.getMonth();
182
- const isOutsideRange = !inRange;
183
- function handleClick(e) {
184
- onDaySelect(e, day);
185
- }
186
- return (h("button", { class: {
187
- "dso-date__day": true,
188
- "is-today": isToday,
189
- }, tabIndex: isFocused ? 0 : -1, onClick: handleClick, onKeyDown: onKeyboardNavigation, disabled: isOutsideRange || notCurrentMonth, type: "button", ref: (el) => {
190
- if (isFocused && el && focusedDayRef) {
191
- focusedDayRef(el);
192
- }
193
- } },
194
- h("span", { "aria-hidden": "true" }, day.getDate()),
195
- h("span", { class: "dso-date__vhidden" }, printDutchDate(day))));
196
- };
197
-
198
- function chunk(array, chunkSize) {
199
- const result = [];
200
- for (let i = 0; i < array.length; i += chunkSize) {
201
- result.push(array.slice(i, i + chunkSize));
202
- }
203
- return result;
204
- }
205
- function mapWithOffset(array, startingOffset, mapFn) {
206
- return array.map((_, i) => {
207
- const adjustedIndex = (i + startingOffset) % array.length;
208
- const item = array[adjustedIndex];
209
- if (!item) {
210
- throw new Error("No item found");
211
- }
212
- return mapFn(item);
213
- });
214
- }
215
- const DatePickerLegacyMonth = ({ selectedDate, focusedDate, labelledById, localization, firstDayOfWeek, min, max, onDateSelect, onKeyboardNavigation, focusedDayRef, onMouseDown, onFocusIn, }) => {
216
- const today = new Date();
217
- const days = getViewOfMonth(focusedDate, firstDayOfWeek);
218
- return (h("table", { class: "dso-date__table", role: "grid", "aria-labelledby": labelledById, onFocusin: onFocusIn, onMouseDown: onMouseDown },
219
- h("thead", null,
220
- h("tr", null, mapWithOffset(localization.dayNames, firstDayOfWeek, (dayName) => (h("th", { class: "dso-date__table-header", scope: "col" },
221
- h("span", { "aria-hidden": "true" }, dayName.substr(0, 2)),
222
- h("span", { class: "dso-date__vhidden" }, dayName)))))),
223
- h("tbody", null, chunk(days, 7).map((week) => (h("tr", { class: "dso-date__row" }, week.map((day) => (h("td", { class: "dso-date__cell", role: "gridcell", "aria-selected": isEqual(day, selectedDate) ? "true" : undefined, "aria-current": isEqual(day, today) ? "date" : undefined },
224
- h(DatePickerLegacyDay, { day: day, today: today, focusedDay: focusedDate, inRange: inRange(day, min, max), onDaySelect: onDateSelect, onKeyboardNavigation: onKeyboardNavigation, focusedDayRef: focusedDayRef }))))))))));
225
- };
226
-
227
- function monthRange(localization, selectedYear, minDate, maxDate) {
228
- if (minDate && maxDate) {
229
- const { minYear, minMonth } = { minYear: minDate.getFullYear(), minMonth: minDate.getMonth() };
230
- const { maxYear, maxMonth } = { maxYear: maxDate.getFullYear(), maxMonth: maxDate.getMonth() };
231
- return localization.monthNames.filter((_month, index) => {
232
- if (minYear === selectedYear && maxYear === selectedYear) {
233
- return index >= minMonth && index >= maxMonth;
234
- }
235
- if (minYear === selectedYear) {
236
- return index >= minMonth;
237
- }
238
- if (maxYear === selectedYear) {
239
- return index <= maxMonth;
240
- }
241
- return true;
242
- });
243
- }
244
- if (minDate) {
245
- const { minYear, minMonth } = { minYear: minDate.getFullYear(), minMonth: minDate.getMonth() };
246
- return localization.monthNames.filter((_month, index) => minYear === selectedYear && index >= minMonth);
247
- }
248
- if (maxDate) {
249
- const { maxYear, maxMonth } = { maxYear: maxDate.getFullYear(), maxMonth: maxDate.getMonth() };
250
- return localization.monthNames.filter((_month, index) => maxYear === selectedYear && index <= maxMonth);
251
- }
252
- return localization.monthNames;
253
- }
254
-
255
- function range(from, to) {
256
- const result = [];
257
- for (let i = from; i <= to; i++) {
258
- result.push(i);
259
- }
260
- return result;
261
- }
262
-
263
- 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}";
264
-
265
- const keyCode = {
266
- TAB: 9,
267
- ESC: 27,
268
- PAGE_UP: 33,
269
- PAGE_DOWN: 34,
270
- END: 35,
271
- HOME: 36,
272
- LEFT: 37,
273
- UP: 38,
274
- RIGHT: 39,
275
- DOWN: 40,
276
- };
277
- const DISALLOWED_CHARACTERS = /[^0-9-]+/g;
278
- const TRANSITION_MS = 300;
279
- function cleanValue(input, regex) {
280
- const value = input.value;
281
- const cursor = input.selectionStart;
282
- if (!cursor) {
283
- return value;
284
- }
285
- const beforeCursor = value.slice(0, cursor);
286
- const afterCursor = value.slice(cursor, value.length);
287
- const filteredBeforeCursor = beforeCursor.replace(regex, "");
288
- const filterAfterCursor = afterCursor.replace(regex, "");
289
- const newValue = filteredBeforeCursor + filterAfterCursor;
290
- const newCursor = filteredBeforeCursor.length;
291
- input.value = newValue;
292
- input.selectionStart = input.selectionEnd = newCursor;
293
- return newValue;
294
- }
295
- const DsoDatePickerLegacy = class {
296
- constructor(hostRef) {
297
- registerInstance(this, hostRef);
298
- this.dsoDateChange = createEvent(this, "dsoDateChange", 7);
299
- this.dsoBlur = createEvent(this, "dsoBlur", 7);
300
- this.dsoKeyUp = createEvent(this, "dsoKeyUp", 7);
301
- this.dsoKeyDown = createEvent(this, "dsoKeyDown", 7);
302
- this.dsoFocus = createEvent(this, "dsoFocus", 7);
303
- /**
304
- * Own Properties
305
- */
306
- this.monthSelectId = createIdentifier("DsoDateMonth");
307
- this.yearSelectId = createIdentifier("DsoDateYear");
308
- this.dialogLabelId = createIdentifier("DsoDateLabel");
309
- this.localization = localization;
310
- this.firstDayOfWeek = DaysOfWeek.Monday;
311
- /**
312
- * State() variables
313
- */
314
- this.activeFocus = false;
315
- this.focusedDay = new Date();
316
- this.open = false;
317
- this.visible = false;
318
- /**
319
- * Public Property API
320
- */
321
- /**
322
- * Name of the date picker input.
323
- */
324
- this.name = "date";
325
- /**
326
- * Makes the date picker input component disabled. This prevents users from being able to
327
- * interact with the input, and conveys its inactive state to assistive technologies.
328
- */
329
- this.disabled = false;
330
- /**
331
- * Defines a specific role attribute for the date picker input.
332
- */
333
- this.role = null;
334
- /**
335
- * Forces the opening direction of the calendar modal to be always left or right.
336
- * This setting can be useful when the input is smaller than the opening date picker
337
- * would be as by default the picker always opens towards right.
338
- */
339
- this.direction = "right";
340
- /**
341
- * Should the input be marked as required?
342
- */
343
- this.required = false;
344
- /**
345
- * Should the input be focused on load?
346
- */
347
- this.dsoAutofocus = false;
348
- /**
349
- * Date value. Must be in Dutch date format: DD-MM-YYYY.
350
- */
351
- this.value = "";
352
- /**
353
- * Local methods.
354
- */
355
- this.enableActiveFocus = () => {
356
- this.activeFocus = true;
357
- };
358
- this.disableActiveFocus = () => {
359
- this.activeFocus = false;
360
- };
361
- this.toggleOpen = (e) => {
362
- e.preventDefault();
363
- if (this.open) {
364
- this.hide(false);
365
- }
366
- else {
367
- this.show();
368
- }
369
- };
370
- this.handleEscKey = (event) => {
371
- if (event.keyCode === keyCode.ESC) {
372
- this.hide();
373
- }
374
- };
375
- this.handleBlur = (event) => {
376
- event.stopPropagation();
377
- this.dsoBlur.emit({
378
- component: "dso-date-picker-legacy",
379
- });
380
- };
381
- this.handleKeyUp = (event) => {
382
- event.stopPropagation();
383
- this.dsoKeyUp.emit({
384
- component: "dso-date-picker-legacy",
385
- originalEvent: event,
386
- });
387
- };
388
- this.handleKeyDown = (event) => {
389
- event.stopPropagation();
390
- this.dsoKeyDown.emit({
391
- component: "dso-date-picker-legacy",
392
- originalEvent: event,
393
- });
394
- };
395
- this.handleFocus = (event) => {
396
- event.stopPropagation();
397
- this.dsoFocus.emit({
398
- component: "dso-date-picker-legacy",
399
- });
400
- };
401
- this.handleTouchStart = (event) => {
402
- const touch = event.changedTouches[0];
403
- if (!touch) {
404
- throw new Error("No touch found");
405
- }
406
- this.initialTouchX = touch.pageX;
407
- this.initialTouchY = touch.pageY;
408
- };
409
- this.handleTouchMove = (event) => {
410
- event.preventDefault();
411
- };
412
- this.handleTouchEnd = (event) => {
413
- var _a, _b;
414
- const touch = event.changedTouches[0];
415
- if (!touch) {
416
- throw new Error("No touch found");
417
- }
418
- const distX = touch.pageX - ((_a = this.initialTouchX) !== null && _a !== void 0 ? _a : 0); // get horizontal dist traveled
419
- const distY = touch.pageY - ((_b = this.initialTouchY) !== null && _b !== void 0 ? _b : 0); // get vertical dist traveled
420
- const threshold = 70;
421
- const isHorizontalSwipe = Math.abs(distX) >= threshold && Math.abs(distY) <= threshold;
422
- const isDownwardsSwipe = Math.abs(distY) >= threshold && Math.abs(distX) <= threshold && distY > 0;
423
- if (isHorizontalSwipe) {
424
- this.addMonths(distX < 0 ? 1 : -1);
425
- }
426
- else if (isDownwardsSwipe) {
427
- this.hide(false);
428
- event.preventDefault();
429
- }
430
- this.initialTouchY = undefined;
431
- this.initialTouchX = undefined;
432
- };
433
- this.handleNextMonthClick = (event) => {
434
- event.preventDefault();
435
- this.addMonths(1);
436
- };
437
- this.handlePreviousMonthClick = (event) => {
438
- event.preventDefault();
439
- this.addMonths(-1);
440
- };
441
- this.handleFirstFocusableKeydown = (event) => {
442
- var _a;
443
- // this ensures focus is trapped inside the dialog
444
- if (event.keyCode === keyCode.TAB && event.shiftKey) {
445
- (_a = this.focusedDayNode) === null || _a === void 0 ? void 0 : _a.focus();
446
- event.preventDefault();
447
- }
448
- };
449
- this.handleKeyboardNavigation = (event) => {
450
- var _a;
451
- // handle tab separately, since it needs to be treated
452
- // differently to other keyboard interactions
453
- if (event.keyCode === keyCode.TAB && !event.shiftKey) {
454
- event.preventDefault();
455
- (_a = this.firstFocusableElement) === null || _a === void 0 ? void 0 : _a.focus();
456
- return;
457
- }
458
- let handled = true;
459
- switch (event.keyCode) {
460
- case keyCode.RIGHT:
461
- this.addDays(1);
462
- break;
463
- case keyCode.LEFT:
464
- this.addDays(-1);
465
- break;
466
- case keyCode.DOWN:
467
- this.addDays(7);
468
- break;
469
- case keyCode.UP:
470
- this.addDays(-7);
471
- break;
472
- case keyCode.PAGE_UP:
473
- if (event.shiftKey) {
474
- this.addYears(-1);
475
- }
476
- else {
477
- this.addMonths(-1);
478
- }
479
- break;
480
- case keyCode.PAGE_DOWN:
481
- if (event.shiftKey) {
482
- this.addYears(1);
483
- }
484
- else {
485
- this.addMonths(1);
486
- }
487
- break;
488
- case keyCode.HOME:
489
- this.startOfWeek();
490
- break;
491
- case keyCode.END:
492
- this.endOfWeek();
493
- break;
494
- default:
495
- handled = false;
496
- }
497
- if (handled) {
498
- event.preventDefault();
499
- this.enableActiveFocus();
500
- }
501
- };
502
- this.handleDaySelect = (_event, day) => {
503
- if (!inRange(day, parseDutchDate(this.min), parseDutchDate(this.max))) {
504
- return;
505
- }
506
- if (day.getMonth() === this.focusedDay.getMonth()) {
507
- this.setValue(day);
508
- this.hide();
509
- }
510
- else {
511
- this.setFocusedDay(day);
512
- }
513
- };
514
- this.handleMonthSelect = (e) => {
515
- // Todo
516
- if (e.target instanceof HTMLSelectElement) {
517
- this.setMonth(parseInt(e.target.value, 10));
518
- }
519
- };
520
- this.handleYearSelect = (e) => {
521
- if (e.target instanceof HTMLSelectElement) {
522
- this.setYear(parseInt(e.target.value, 10));
523
- }
524
- };
525
- this.handleInputChange = (e) => {
526
- const target = e.target;
527
- const cleanedValue = cleanValue(target, DISALLOWED_CHARACTERS);
528
- this.setValue(cleanedValue);
529
- };
530
- this.prepareEvent = (value) => {
531
- const event = {
532
- component: "dso-date-picker-legacy",
533
- value: "",
534
- valueAsDate: undefined,
535
- };
536
- if (value instanceof Date) {
537
- event.valueAsDate = value;
538
- }
539
- else {
540
- event.value = value;
541
- event.valueAsDate = parseDutchDate(value);
542
- }
543
- if (event.valueAsDate) {
544
- event.value = printDutchDate(event.valueAsDate);
545
- }
546
- if (!event.valueAsDate && this.required) {
547
- event.error = "required";
548
- }
549
- if (event.value && !event.valueAsDate) {
550
- event.error = "invalid";
551
- }
552
- if (event.valueAsDate && (this.min || this.max)) {
553
- const min = parseDutchDate(this.min);
554
- const max = parseDutchDate(this.max);
555
- const clampValue = clamp(event.valueAsDate, min, max);
556
- if (clampValue !== event.valueAsDate && clampValue === min) {
557
- event.valueAsDate = undefined;
558
- event.error = "min-range";
559
- }
560
- else if (clampValue !== event.valueAsDate && clampValue === max) {
561
- event.valueAsDate = undefined;
562
- event.error = "max-range";
563
- }
564
- }
565
- return event;
566
- };
567
- this.processFocusedDayNode = (element) => {
568
- this.focusedDayNode = element;
569
- if (this.activeFocus && this.open) {
570
- setTimeout(() => element.focus(), 0);
571
- }
572
- };
573
- }
574
- /**
575
- * Component event handling.
576
- */
577
- handleDocumentClick(e) {
578
- if (!this.open) {
579
- return;
580
- }
581
- const path = e.composedPath();
582
- for (const target of path) {
583
- if (target instanceof Node && this.element.contains(target)) {
584
- return;
585
- }
586
- }
587
- this.hide(false);
588
- }
589
- /**
590
- * Sets focus on the date picker's input. Use this method instead of the global `focus()`.
591
- */
592
- async setFocus() {
593
- var _a;
594
- return (_a = this.datePickerLegacyInput) === null || _a === void 0 ? void 0 : _a.focus();
595
- }
596
- /**
597
- * Public methods API
598
- */
599
- /**
600
- * Show the calendar modal, moving focus to the calendar inside.
601
- */
602
- async show() {
603
- if (typeof this.hideTimeoutId !== "undefined") {
604
- clearTimeout(this.hideTimeoutId);
605
- }
606
- this.visible = true;
607
- setTimeout(() => {
608
- this.open = true;
609
- this.setFocusedDay(parseDutchDate(this.value) || new Date());
610
- if (typeof this.focusTimeoutId !== "undefined") {
611
- clearTimeout(this.focusTimeoutId);
612
- }
613
- this.focusTimeoutId = setTimeout(() => { var _a; return (_a = this.monthSelectNode) === null || _a === void 0 ? void 0 : _a.focus(); }, TRANSITION_MS);
614
- });
615
- }
616
- /**
617
- * Hide the calendar modal. Set `moveFocusToButton` to false to prevent focus
618
- * returning to the date picker's button. Default is true.
619
- */
620
- async hide(moveFocusToButton = true) {
621
- this.open = false;
622
- // in cases where calendar is quickly shown and hidden
623
- // we should avoid moving focus to the button
624
- if (typeof this.focusTimeoutId !== "undefined") {
625
- clearTimeout(this.focusTimeoutId);
626
- }
627
- this.hideTimeoutId = setTimeout(() => {
628
- if (moveFocusToButton && this.datePickerLegacyButton) {
629
- this.datePickerLegacyButton.focus();
630
- }
631
- this.visible = false;
632
- }, TRANSITION_MS + 200);
633
- }
634
- addDays(days) {
635
- this.setFocusedDay(addDays(this.focusedDay, days));
636
- }
637
- addMonths(months) {
638
- this.setMonth(this.focusedDay.getMonth() + months);
639
- }
640
- addYears(years) {
641
- this.setYear(this.focusedDay.getFullYear() + years);
642
- }
643
- startOfWeek() {
644
- this.setFocusedDay(startOfWeek(this.focusedDay, this.firstDayOfWeek));
645
- }
646
- endOfWeek() {
647
- this.setFocusedDay(endOfWeek(this.focusedDay, this.firstDayOfWeek));
648
- }
649
- setMonth(month) {
650
- const min = setMonth(startOfMonth(this.focusedDay), month);
651
- const max = endOfMonth(min);
652
- const date = setMonth(this.focusedDay, month);
653
- this.setFocusedDay(clamp(date, min, max));
654
- }
655
- setYear(year) {
656
- const min = setYear(startOfMonth(this.focusedDay), year);
657
- const max = endOfMonth(min);
658
- const date = setYear(this.focusedDay, year);
659
- this.setFocusedDay(clamp(date, min, max));
660
- }
661
- setFocusedDay(day) {
662
- this.focusedDay = clamp(day, parseDutchDate(this.min), parseDutchDate(this.max));
663
- }
664
- setValue(value) {
665
- const event = this.prepareEvent(value);
666
- this.value = typeof value === "string" ? value : event.value;
667
- if (this.value !== this.previousValue) {
668
- this.dsoDateChange.emit(event);
669
- this.previousValue = this.value;
670
- }
671
- }
672
- componentWillLoad() {
673
- const minDate = parseDutchDate(this.min);
674
- const maxDate = parseDutchDate(this.max);
675
- if (minDate && minDate > this.focusedDay) {
676
- this.focusedDay = minDate;
677
- }
678
- if (maxDate && maxDate < this.focusedDay) {
679
- this.focusedDay = maxDate;
680
- }
681
- }
682
- componentDidLoad() {
683
- const valueAsDate = parseDutchDate(this.value);
684
- if (valueAsDate) {
685
- this.previousValue = this.value = printDutchDate(valueAsDate);
686
- }
687
- if (this.dsoAutofocus) {
688
- this.setFocus();
689
- }
690
- }
691
- /**
692
- * render() function
693
- * Always the last one in the class.
694
- */
695
- render() {
696
- var _a, _b;
697
- const valueAsDate = parseDutchDate(this.value);
698
- const formattedDate = valueAsDate && printDutchDate(valueAsDate);
699
- const selectedYear = (valueAsDate || this.focusedDay).getFullYear();
700
- const focusedMonth = this.focusedDay.getMonth();
701
- const focusedYear = this.focusedDay.getFullYear();
702
- const minDate = parseDutchDate(this.min);
703
- const maxDate = parseDutchDate(this.max);
704
- const prevMonthDisabled = minDate && minDate.getMonth() === focusedMonth && minDate.getFullYear() === focusedYear;
705
- const nextMonthDisabled = maxDate && maxDate.getMonth() === focusedMonth && maxDate.getFullYear() === focusedYear;
706
- let minYear = selectedYear - 10;
707
- let maxYear = selectedYear + 10;
708
- if (minDate) {
709
- minYear = Math.max(minYear, minDate.getFullYear());
710
- }
711
- if (maxDate) {
712
- maxYear = Math.min(maxYear, maxDate.getFullYear());
713
- }
714
- return (h(Host, { key: '396b32409bc093895e3f35d18dba8bd7e6777f46' }, h("div", { key: 'd5a5787fcc7f6a5126a266ff5add00b7ff586cba', class: { "dso-date": true, "dso-visible": this.visible } }, h("div", { key: '85fd7e86974ab53580fb452ac1f18bc12a907c6d', class: "dso-date__input-wrapper" }, 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) }), h("button", { key: 'e2b34c1e6d804f6bf96aaea34daea995c59cbec5', type: "button", class: "dso-date__toggle", onClick: this.toggleOpen, disabled: this.disabled, ref: (element) => (this.datePickerLegacyButton = element) }, h("span", { key: '578b0315ed115d28f7906d585914bc6dae2a40cc', class: "dso-date__toggle-icon" }, h("dso-icon", { key: '90488726ea142805085372ed273ef6a10691f85a', icon: "calendar" })), h("span", { key: '34d925fe5facf889afa518e64150121df6e0ade7', class: "dso-date__vhidden" }, this.localization.buttonLabel, formattedDate && (h("span", { key: '53471bfd4a6d8a3dd7a27582fadbf847f824f1dd' }, ", ", this.localization.selectedDateMessage, " ", formattedDate))))), h("div", { key: '6a292ed13e8dfa5b972c8f1133238a535511cb8e', class: {
715
- "dso-date__dialog": true,
716
- "is-left": this.direction === "left",
717
- "is-active": this.open,
718
- }, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, h("div", { key: 'f8bb4ca24600a728f81e4247ef94641794ad84e3', class: "dso-date__dialog-content", onKeyDown: this.handleEscKey }, h("div", { key: '1582c6e4e4d89c4339f791c43e3fc01e18f03989', class: "dso-date__vhidden dso-date__instructions", "aria-live": "polite" }, this.localization.keyboardInstruction), h("div", { key: '3158d79a673e502aaa701fc41a2a15dd6ba5dc4b', class: "dso-date__mobile", onFocusin: this.disableActiveFocus }, h("label", { key: 'fcc075c9782196ec11a77f5d6aa703b8e48cea78', class: "dso-date__mobile-heading" }, this.localization.calendarHeading), h("button", { key: 'bee7a83296c5f1f3bfe498c0392f41bebb9fd27d', class: "dso-date__close", ref: (element) => (this.firstFocusableElement = element), onKeyDown: this.handleFirstFocusableKeydown, onClick: () => this.hide(), type: "button" }, h("dso-icon", { key: '3f66fe3d47a25baea3d7c148b1f5bec301f2bc29', icon: "times" }), h("span", { key: 'c5d4618409573374228a7e4489cdbfe1c66fdd7c', class: "dso-date__vhidden" }, this.localization.closeLabel))), h("div", { key: 'd9ba961084fb524b7f94139ce2a9857e9f7e1b0d', class: "dso-date__header", onFocusin: this.disableActiveFocus }, h("div", { key: '37d0dbcc0d777aafd31866d81dd758372585e908' }, h("h2", { key: 'de0e154dc96dc4e5cb3bcd2e588201a6cc5c9259', id: this.dialogLabelId, class: "dso-date__vhidden", "aria-live": "polite" }, this.localization.monthNames[focusedMonth], " ", this.focusedDay.getFullYear()), h("label", { key: 'cd0ffce7c78da9bf2d49bdca4d0394341608e249', htmlFor: this.monthSelectId, class: "dso-date__vhidden" }, this.localization.monthSelectLabel), h("div", { key: '48230fd3e09c932282bbb4990eda095cb95fce06', class: "dso-date__select" }, 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) => {
719
- const index = this.localization.monthNames.indexOf(month);
720
- return (h("option", { key: month, value: index, selected: index === focusedMonth }, month));
721
- })), h("div", { key: 'a1670f7170408e13a577b9bb65ce222e02341af6', class: "dso-date__select-label", "aria-hidden": "true" }, h("span", { key: 'c0878373562b07a3c4860c766219da9289734fd3' }, this.localization.monthNamesShort[focusedMonth]), h("dso-icon", { key: '64b610f732f03334432be7ccdc60fa634b83b5b1', icon: "chevron-down" }))), h("label", { key: 'bb21bbcb63a45b503d26f9c50fa0ab987a7d7081', htmlFor: this.yearSelectId, class: "dso-date__vhidden" }, this.localization.yearSelectLabel), h("div", { key: '9a2ecf4ed6c4396a15ccadd40f2c04d9bf60dcbc', class: "dso-date__select" }, h("select", { key: 'a1a935ba195eca516b0a94e129ed320c64dd43ef', id: this.yearSelectId, class: "dso-date__select--year", onChange: this.handleYearSelect }, range(minYear, maxYear).map((year) => (h("option", { key: year, selected: year === focusedYear }, year)))), h("div", { key: 'b16f15541e3637b65b39dd0b8e871710e36e59bb', class: "dso-date__select-label", "aria-hidden": "true" }, h("span", { key: '64a6a5a00cbcf3ee9268c478cf2c1ff2d40e0abe' }, this.focusedDay.getFullYear()), h("dso-icon", { key: 'c0744674bcbba803aeaeca6ac1d684a1e7d3894a', icon: "chevron-down" })))), h("div", { key: '433d90659d6521b41a8cccd7683fad3da0bd4b2a', class: "dso-date__nav" }, h("button", { key: 'b40b6fd0c99e18e9f033cf1d41127194404408a1', class: "dso-date__prev", onClick: this.handlePreviousMonthClick, disabled: prevMonthDisabled, type: "button" }, h("dso-icon", { key: 'e658b36996f0d2e3d9c164f746b66220a75dcbbf', icon: "chevron-left" }), h("span", { key: '499a5213ff977b13bd36ff4e91d83730a13ab51d', class: "dso-date__vhidden" }, this.localization.prevMonthLabel)), h("button", { key: 'dcd28b6b36bfbf16de2fe529e5dbf4e65920c66b', class: "dso-date__next", onClick: this.handleNextMonthClick, disabled: nextMonthDisabled, type: "button" }, h("dso-icon", { key: '034b916fa47349e82bdf2a95c9dab465784f1499', icon: "chevron-right" }), h("span", { key: '184cef66312cdcea2a50d0dcc218a55963577398', class: "dso-date__vhidden" }, this.localization.nextMonthLabel)))), 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 }))))));
722
- }
723
- get element() { return getElement(this); }
724
- };
725
- DsoDatePickerLegacy.style = datePickerLegacyCss;
726
-
727
- export { DsoDatePickerLegacy as dso_date_picker_legacy };
728
- //# sourceMappingURL=dso-date-picker-legacy.entry.js.map
729
-
730
- //# sourceMappingURL=dso-date-picker-legacy.entry.js.map