@dso-toolkit/core 97.1.0 → 98.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 (538) hide show
  1. package/dist/bundle/dso-accordion-section.js +15 -14
  2. package/dist/bundle/dso-accordion.js +2 -276
  3. package/dist/bundle/dso-action-list-item.js +3 -3
  4. package/dist/bundle/dso-action-list.js +2 -2
  5. package/dist/bundle/dso-advanced-select.js +109 -232
  6. package/dist/bundle/dso-alert.js +1 -1
  7. package/dist/bundle/dso-annotation-activiteit.js +10 -10
  8. package/dist/bundle/dso-annotation-gebiedsaanwijzing.js +9 -9
  9. package/dist/bundle/dso-annotation-kaart.js +6 -6
  10. package/dist/bundle/dso-annotation-locatie.js +1 -1
  11. package/dist/bundle/dso-annotation-omgevingsnormwaarde.js +10 -10
  12. package/dist/bundle/dso-attachments-counter.js +1 -1
  13. package/dist/bundle/dso-autosuggest.js +26 -17
  14. package/dist/bundle/dso-badge.js +1 -1
  15. package/dist/bundle/dso-banner.js +3 -3
  16. package/dist/bundle/dso-button-group.js +1 -1
  17. package/dist/bundle/dso-card-container.js +1 -1
  18. package/dist/bundle/dso-card.js +3 -3
  19. package/dist/bundle/dso-contact-information.js +1 -1
  20. package/dist/bundle/dso-cursor-tooltip.js +1 -1
  21. package/dist/bundle/dso-date-picker.js +1 -1
  22. package/dist/bundle/dso-document-card.js +3 -3
  23. package/dist/bundle/dso-document-component.js +1 -1
  24. package/dist/bundle/dso-dropdown-menu-group.d.ts +11 -0
  25. package/dist/bundle/dso-dropdown-menu-group.js +51 -0
  26. package/dist/bundle/dso-dropdown-menu-item.d.ts +11 -0
  27. package/dist/bundle/dso-dropdown-menu-item.js +70 -0
  28. package/dist/bundle/dso-dropdown-menu.js +93 -107
  29. package/dist/bundle/dso-expandable.js +1 -1
  30. package/dist/bundle/dso-header.js +23 -6
  31. package/dist/bundle/dso-highlight-box.js +2 -2
  32. package/dist/bundle/dso-history-item.js +3 -3
  33. package/dist/bundle/dso-icon-button.js +1 -1
  34. package/dist/bundle/dso-icon.js +1 -1
  35. package/dist/bundle/dso-image-overlay.js +1 -1
  36. package/dist/bundle/dso-info-button.js +1 -1
  37. package/dist/bundle/dso-info.js +1 -1
  38. package/dist/bundle/dso-input-range.js +3 -3
  39. package/dist/bundle/dso-label.js +1 -1
  40. package/dist/bundle/dso-legend-group.js +5 -5
  41. package/dist/bundle/dso-legend-item.js +8 -8
  42. package/dist/bundle/dso-legend.js +7 -7
  43. package/dist/bundle/dso-list-button.js +9 -9
  44. package/dist/bundle/dso-logo.js +2 -2
  45. package/dist/bundle/dso-map-base-layers.js +9 -9
  46. package/dist/bundle/dso-map-controls.js +8 -8
  47. package/dist/bundle/dso-map-layer-object.js +5 -5
  48. package/dist/bundle/dso-map-layer.js +5 -5
  49. package/dist/bundle/dso-map-message.js +4 -4
  50. package/dist/bundle/dso-map-overlays.js +9 -9
  51. package/dist/bundle/dso-mark-bar.js +4 -4
  52. package/dist/bundle/dso-modal.js +1 -1
  53. package/dist/bundle/dso-onboarding-tip.js +5 -5
  54. package/dist/bundle/dso-ozon-content-toggletip.js +1 -1
  55. package/dist/bundle/dso-ozon-content.js +1 -1
  56. package/dist/bundle/dso-pagination.js +3 -3
  57. package/dist/bundle/dso-panel.js +1 -1
  58. package/dist/bundle/dso-plekinfo-card.js +5 -5
  59. package/dist/bundle/dso-progress-indicator.js +1 -1
  60. package/dist/bundle/dso-project-item.js +6 -6
  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-segmented-button.js +2 -2
  65. package/dist/bundle/dso-selectable.js +1 -1
  66. package/dist/bundle/dso-skiplink.js +3 -3
  67. package/dist/bundle/dso-slide-toggle.js +1 -1
  68. package/dist/bundle/dso-survey-rating.js +7 -7
  69. package/dist/bundle/dso-tab.js +1 -1
  70. package/dist/bundle/dso-table.js +1 -1
  71. package/dist/bundle/dso-tabs.js +2 -2
  72. package/dist/bundle/dso-tijdreis-banner.js +3 -3
  73. package/dist/bundle/dso-tooltip.js +2 -2
  74. package/dist/bundle/dso-tree-view.js +5 -5
  75. package/dist/bundle/dso-viewer-grid.js +4 -4
  76. package/dist/bundle/dsot-document-component-demo.js +18 -18
  77. package/dist/bundle/index.js +6 -2
  78. package/dist/bundle/p-B75VIizV.js +166 -0
  79. package/dist/bundle/{p-jon8ZgCu.js → p-B94z5NjB.js} +19 -5
  80. package/dist/bundle/{p-CA57bAyP.js → p-BCqaYIQt.js} +3 -3
  81. package/dist/bundle/{p-D1ciWwSo.js → p-BFzVw-DT.js} +2 -2
  82. package/dist/bundle/{p-ChO20JhC.js → p-BHpXZF8A.js} +4 -4
  83. package/dist/bundle/{p-DaRtnn5i.js → p-BO8XMsvv.js} +1 -1
  84. package/dist/bundle/p-BXiN5sX-.js +189 -0
  85. package/dist/{esm/index.esm-PsHl6ZhV.js → bundle/p-BZ0vuOVx.js} +1 -1
  86. package/dist/bundle/{p-CFPWVcsY.js → p-BfWc_aEb.js} +4 -4
  87. package/dist/bundle/{p-D33HZm70.js → p-Bk1uG4K2.js} +7 -7
  88. package/dist/bundle/p-BlVogjOP.js +1209 -0
  89. package/dist/bundle/{p-rHiKziuf.js → p-ByYAhz9G.js} +1 -1
  90. package/dist/bundle/p-C2TaY3C1.js +148 -0
  91. package/dist/bundle/{p-HMxVj4ab.js → p-C5AGixB6.js} +2 -2
  92. package/dist/bundle/{p-C7VfGukK.js → p-CFFKe8A0.js} +2 -2
  93. package/dist/bundle/{p-B2ZlmdWO.js → p-CH7Qz1nD.js} +5 -5
  94. package/dist/bundle/{p-DwBHVuoZ.js → p-CRgylkO_.js} +12 -4
  95. package/dist/bundle/p-CaARHb7c.js +122 -0
  96. package/dist/bundle/p-CvSgAdem.js +83 -0
  97. package/dist/bundle/{p-DtNjY6f6.js → p-CxCyh-ue.js} +6 -6
  98. package/dist/bundle/{p-DYFOhFhk.js → p-D-E3DKqU.js} +2 -2
  99. package/dist/bundle/p-D1Oc-tJz.js +124 -0
  100. package/dist/bundle/{p-Bh_AjQ7z.js → p-D9ik-TAM.js} +7 -7
  101. package/dist/bundle/{p-CcFEBE0l.js → p-DFS4M3wz.js} +4 -4
  102. package/dist/bundle/{p-C-8vTVVo.js → p-DH5oGVbg.js} +9 -9
  103. package/dist/bundle/{p-BNEJjrr8.js → p-DTmh2fpe.js} +2 -2
  104. package/dist/bundle/p-DVuh3xxM.js +278 -0
  105. package/dist/bundle/p-DbanifFc.js +341 -0
  106. package/dist/bundle/{p-BIShp3sw.js → p-Di7uBIhp.js} +1 -1
  107. package/dist/bundle/{p-WEiXvjCu.js → p-DiFgvE1s.js} +1 -1
  108. package/dist/bundle/{p-DgKvq-q9.js → p-_Cugwqbf.js} +1 -1
  109. package/dist/bundle/{p-CgXakBQA.js → p-_TVwcL7Y.js} +1 -1
  110. package/dist/bundle/{p-CKnJRPZn.js → p-_WFAb7kl.js} +27 -8
  111. package/dist/cjs/{annotation-body-DorcBRdu.js → annotation-body-CiWbOM67.js} +1 -1
  112. package/dist/cjs/{annotation-list-renvooi-values-DY_nt_wa.js → annotation-list-renvooi-values-BeNFLgnO.js} +1 -1
  113. package/dist/cjs/{annotation-watcher-DuftgGaK.js → annotation-watcher-5j3WUBEz.js} +1 -1
  114. package/dist/cjs/dso-accordion-section.cjs.entry.js +8 -7
  115. package/dist/cjs/dso-accordion.cjs.entry.js +3 -277
  116. package/dist/cjs/dso-action-list-item.cjs.entry.js +2 -2
  117. package/dist/cjs/dso-action-list.cjs.entry.js +2 -2
  118. package/dist/cjs/dso-advanced-select.cjs.entry.js +103 -226
  119. package/dist/cjs/dso-alert_7.cjs.entry.js +68 -27
  120. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +5 -5
  121. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +4 -4
  122. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +3 -3
  123. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +6 -6
  124. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +5 -5
  125. package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +3 -3
  126. package/dist/cjs/dso-autosuggest.cjs.entry.js +23 -14
  127. package/dist/cjs/dso-banner.cjs.entry.js +2 -2
  128. package/dist/cjs/dso-button-group.cjs.entry.js +2 -2
  129. package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
  130. package/dist/cjs/dso-card.cjs.entry.js +2 -2
  131. package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
  132. package/dist/cjs/dso-cursor-tooltip.cjs.entry.js +1 -1
  133. package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
  134. package/dist/cjs/dso-document-card.cjs.entry.js +2 -2
  135. package/dist/cjs/dso-dropdown-menu-group.cjs.entry.js +31 -0
  136. package/dist/cjs/dso-dropdown-menu-item.cjs.entry.js +41 -0
  137. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +80 -101
  138. package/dist/cjs/dso-header.cjs.entry.js +21 -4
  139. package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
  140. package/dist/cjs/dso-history-item.cjs.entry.js +2 -2
  141. package/dist/cjs/dso-icon-button.cjs.entry.js +97 -0
  142. package/dist/cjs/{dso-icon_2.cjs.entry.js → dso-icon.cjs.entry.js} +2 -95
  143. package/dist/cjs/dso-info_3.cjs.entry.js +7 -7
  144. package/dist/cjs/dso-input-range.cjs.entry.js +3 -3
  145. package/dist/cjs/dso-label_3.cjs.entry.js +7 -7
  146. package/dist/cjs/dso-legend-group.cjs.entry.js +3 -3
  147. package/dist/cjs/dso-legend-item.cjs.entry.js +3 -3
  148. package/dist/cjs/dso-legend.cjs.entry.js +4 -4
  149. package/dist/cjs/dso-list-button.cjs.entry.js +3 -3
  150. package/dist/cjs/dso-logo.cjs.entry.js +2 -2
  151. package/dist/cjs/dso-map-base-layers.cjs.entry.js +3 -3
  152. package/dist/cjs/dso-map-controls.cjs.entry.js +4 -4
  153. package/dist/cjs/dso-map-layer-object.cjs.entry.js +4 -4
  154. package/dist/cjs/dso-map-layer.cjs.entry.js +4 -4
  155. package/dist/cjs/dso-map-message.cjs.entry.js +3 -3
  156. package/dist/cjs/dso-map-overlays.cjs.entry.js +3 -3
  157. package/dist/cjs/dso-mark-bar.cjs.entry.js +2 -2
  158. package/dist/cjs/dso-modal.cjs.entry.js +4 -4
  159. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +2 -2
  160. package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
  161. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +4 -4
  162. package/dist/cjs/dso-progress-indicator.cjs.entry.js +3 -3
  163. package/dist/cjs/dso-project-item.cjs.entry.js +3 -3
  164. package/dist/cjs/dso-responsive-element.cjs.entry.js +19 -5
  165. package/dist/cjs/dso-scrollable.cjs.entry.js +4 -4
  166. package/dist/cjs/dso-segmented-button.cjs.entry.js +2 -2
  167. package/dist/cjs/dso-skiplink.cjs.entry.js +2 -2
  168. package/dist/cjs/dso-survey-rating.cjs.entry.js +4 -4
  169. package/dist/cjs/dso-tab.cjs.entry.js +1 -1
  170. package/dist/cjs/dso-tabs.cjs.entry.js +2 -2
  171. package/dist/cjs/dso-tijdreis-banner.cjs.entry.js +2 -2
  172. package/dist/cjs/dso-toolkit.cjs.js +3 -3
  173. package/dist/cjs/dso-tooltip.cjs.entry.js +2 -2
  174. package/dist/cjs/dso-tree-view.cjs.entry.js +3 -3
  175. package/dist/cjs/dso-viewer-grid.cjs.entry.js +4 -4
  176. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
  177. package/dist/cjs/{i18n-5XH7oHkT.js → i18n-DxQ6ZWA0.js} +12 -4
  178. package/dist/cjs/index-D8SsuyUx.js +280 -0
  179. package/dist/cjs/{index-BOI4CviS.js → index-fOjUpMJG.js} +1 -1
  180. package/dist/cjs/loader.cjs.js +2 -2
  181. package/dist/cjs/{parse-wijzigactie-from-node.function-BbYINqVA.js → parse-wijzigactie-from-node.function-Bi4NE9Tt.js} +1 -1
  182. package/dist/cjs/{tooltip.functional-component-CW6vXWhM.js → tooltip.functional-component-D6oJmzwD.js} +1 -1
  183. package/dist/cjs/{wrap-wijzigactie.functional-component-BOafAh_v.js → wrap-wijzigactie.functional-component-CV8gX7lQ.js} +1 -1
  184. package/dist/collection/collection-manifest.json +3 -1
  185. package/dist/collection/components/accordion/components/accordion-section.css +5 -5
  186. package/dist/collection/components/accordion/components/accordion-section.js +6 -5
  187. package/dist/collection/components/action-list/action-list.css +5 -5
  188. package/dist/collection/components/action-list/components/action-list-item.css +4 -4
  189. package/dist/collection/components/alert/alert.css +82 -89
  190. package/dist/collection/components/alert/alert.js +1 -1
  191. package/dist/collection/components/annotation/annotation.css +3 -3
  192. package/dist/collection/components/autosuggest/autosuggest.js +21 -12
  193. package/dist/collection/components/badge/badge.css +5 -5
  194. package/dist/collection/components/banner/banner.css +31 -31
  195. package/dist/collection/components/button-group/button-group.css +11 -11
  196. package/dist/collection/components/card/card.css +6 -6
  197. package/dist/collection/components/document-card/document-card.css +1 -1
  198. package/dist/collection/components/document-component/document-component.css +35 -35
  199. package/dist/collection/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.css +16 -0
  200. package/dist/collection/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.js +55 -0
  201. package/dist/collection/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.css +80 -0
  202. package/dist/collection/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.js +160 -0
  203. package/dist/collection/components/dropdown-menu/dropdown-menu.css +482 -2
  204. package/dist/collection/components/dropdown-menu/dropdown-menu.interfaces.js +1 -0
  205. package/dist/collection/components/dropdown-menu/dropdown-menu.js +134 -142
  206. package/dist/collection/components/expandable/expandable.js +2 -2
  207. package/dist/collection/components/header/header.js +19 -2
  208. package/dist/collection/components/highlight-box/highlight-box.js +1 -1
  209. package/dist/collection/components/history-item/history-item.js +1 -1
  210. package/dist/collection/components/icon/icon.js +1 -1
  211. package/dist/collection/components/icon-button/icon-button.css +28 -28
  212. package/dist/collection/components/icon-button/icon-button.js +1 -1
  213. package/dist/collection/components/image-overlay/image-overlay.css +6 -6
  214. package/dist/collection/components/image-overlay/image-overlay.js +23 -4
  215. package/dist/collection/components/info/info.js +1 -1
  216. package/dist/collection/components/info-button/info-button.css +6 -6
  217. package/dist/collection/components/info-button/info-button.js +1 -1
  218. package/dist/collection/components/input-range/input-range.js +2 -2
  219. package/dist/collection/components/label/label.css +4 -4
  220. package/dist/collection/components/label/label.js +2 -2
  221. package/dist/collection/components/legend/legend-group/legend-group.js +1 -1
  222. package/dist/collection/components/legend/legend-item/legend-item.js +1 -1
  223. package/dist/collection/components/legend/legend.css +3 -3
  224. package/dist/collection/components/legend/legend.js +1 -1
  225. package/dist/collection/components/list-button/list-button.css +9 -9
  226. package/dist/collection/components/list-button/list-button.js +1 -1
  227. package/dist/collection/components/logo/logo.js +1 -1
  228. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  229. package/dist/collection/components/map-controls/map-controls.css +28 -28
  230. package/dist/collection/components/map-controls/map-controls.js +1 -1
  231. package/dist/collection/components/map-layer/components/map-layer-object.css +2 -2
  232. package/dist/collection/components/map-layer/components/map-layer-object.js +1 -1
  233. package/dist/collection/components/map-layer/map-layer.css +2 -2
  234. package/dist/collection/components/map-layer/map-layer.js +1 -1
  235. package/dist/collection/components/map-message/map-message.js +2 -2
  236. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  237. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  238. package/dist/collection/components/modal/modal.css +18 -19
  239. package/dist/collection/components/modal/modal.js +1 -1
  240. package/dist/collection/components/onboarding-tip/onboarding-tip.js +1 -1
  241. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.css +8 -8
  242. package/dist/collection/components/ozon-content/components/ozon-content-toggletip/ozon-content-toggletip.js +1 -1
  243. package/dist/collection/components/ozon-content/ozon-content.css +60 -60
  244. package/dist/collection/components/ozon-content/ozon-content.js +3 -3
  245. package/dist/collection/components/panel/panel.js +1 -1
  246. package/dist/collection/components/plekinfo-card/plekinfo-card.css +6 -6
  247. package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
  248. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  249. package/dist/collection/components/project-item/project-item.css +22 -22
  250. package/dist/collection/components/project-item/project-item.js +1 -1
  251. package/dist/collection/components/renvooi/renvooi.css +7 -7
  252. package/dist/collection/components/responsive-element/responsive-element.js +18 -4
  253. package/dist/collection/components/scrollable/scrollable.css +7 -7
  254. package/dist/collection/components/scrollable/scrollable.js +2 -2
  255. package/dist/collection/components/segmented-button/segmented-button.js +1 -1
  256. package/dist/collection/components/selectable/selectable.css +3 -3
  257. package/dist/collection/components/selectable/selectable.js +1 -1
  258. package/dist/collection/components/skiplink/skiplink.js +1 -1
  259. package/dist/collection/components/slide-toggle/slide-toggle.js +1 -1
  260. package/dist/collection/components/survey-rating/survey-rating.css +6 -6
  261. package/dist/collection/components/survey-rating/survey-rating.js +2 -2
  262. package/dist/collection/components/table/table.css +36 -36
  263. package/dist/collection/components/table/table.js +30 -8
  264. package/dist/collection/components/tabs/tabs.js +1 -1
  265. package/dist/collection/components/tijdreis-banner/tijdreis-banner.js +1 -1
  266. package/dist/collection/components/tooltip/tooltip.js +1 -1
  267. package/dist/collection/components/tree-view/tree-view.js +2 -2
  268. package/dist/collection/components/viewer-grid/viewer-grid.css +17 -13
  269. package/dist/collection/components/viewer-grid/viewer-grid.js +2 -2
  270. package/dist/components/alert.js +1 -1
  271. package/dist/components/annotation-locatie.js +1 -1
  272. package/dist/components/badge.js +1 -1
  273. package/dist/components/button-group.js +1 -1
  274. package/dist/components/document-component.js +1 -1
  275. package/dist/components/dso-accordion-section.js +1 -1
  276. package/dist/components/dso-accordion.js +1 -1
  277. package/dist/components/dso-action-list-item.js +1 -1
  278. package/dist/components/dso-action-list.js +1 -1
  279. package/dist/components/dso-advanced-select.js +3 -5
  280. package/dist/components/dso-annotation-activiteit.js +1 -1
  281. package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
  282. package/dist/components/dso-annotation-kaart.js +1 -1
  283. package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
  284. package/dist/components/dso-autosuggest.js +1 -1
  285. package/dist/components/dso-banner.js +1 -1
  286. package/dist/components/dso-card.js +1 -1
  287. package/dist/components/dso-document-card.js +1 -1
  288. package/dist/components/dso-dropdown-menu-group.d.ts +11 -0
  289. package/dist/components/dso-dropdown-menu-group.js +1 -0
  290. package/dist/components/dso-dropdown-menu-item.d.ts +11 -0
  291. package/dist/components/dso-dropdown-menu-item.js +1 -0
  292. package/dist/components/dso-dropdown-menu.js +1 -1
  293. package/dist/components/dso-header.js +1 -1
  294. package/dist/components/dso-highlight-box.js +1 -1
  295. package/dist/components/dso-history-item.js +1 -1
  296. package/dist/components/dso-input-range.js +1 -1
  297. package/dist/components/dso-legend-group.js +1 -1
  298. package/dist/components/dso-legend-item.js +1 -1
  299. package/dist/components/dso-legend.js +1 -1
  300. package/dist/components/dso-list-button.js +1 -1
  301. package/dist/components/dso-logo.js +1 -1
  302. package/dist/components/dso-map-base-layers.js +1 -1
  303. package/dist/components/dso-map-controls.js +1 -1
  304. package/dist/components/dso-map-layer-object.js +1 -1
  305. package/dist/components/dso-map-layer.js +1 -1
  306. package/dist/components/dso-map-message.js +1 -1
  307. package/dist/components/dso-map-overlays.js +1 -1
  308. package/dist/components/dso-mark-bar.js +1 -1
  309. package/dist/components/dso-onboarding-tip.js +1 -1
  310. package/dist/components/dso-plekinfo-card.js +1 -1
  311. package/dist/components/dso-project-item.js +1 -1
  312. package/dist/components/dso-segmented-button.js +1 -1
  313. package/dist/components/dso-skiplink.js +1 -1
  314. package/dist/components/dso-survey-rating.js +1 -1
  315. package/dist/components/dso-tabs.js +1 -1
  316. package/dist/components/dso-tijdreis-banner.js +1 -1
  317. package/dist/components/dso-tooltip.js +1 -1
  318. package/dist/components/dso-tree-view.js +1 -1
  319. package/dist/components/dso-viewer-grid.js +1 -1
  320. package/dist/components/expandable.js +1 -1
  321. package/dist/components/i18n.js +1 -1
  322. package/dist/components/icon-button.js +1 -1
  323. package/dist/components/icon.js +1 -1
  324. package/dist/components/image-overlay.js +1 -1
  325. package/dist/components/index.d.ts +4 -0
  326. package/dist/components/index.esm.js +1 -1
  327. package/dist/components/index.js +1 -1
  328. package/dist/components/index2.js +1 -1
  329. package/dist/components/index3.js +1 -0
  330. package/dist/components/info-button.js +1 -1
  331. package/dist/components/info.js +1 -1
  332. package/dist/components/label.js +1 -1
  333. package/dist/components/modal.js +1 -1
  334. package/dist/components/ozon-content-toggletip.js +1 -1
  335. package/dist/components/ozon-content.js +1 -1
  336. package/dist/components/panel.js +1 -1
  337. package/dist/components/progress-indicator.js +1 -1
  338. package/dist/components/renvooi.js +1 -1
  339. package/dist/components/responsive-element.js +1 -1
  340. package/dist/components/scrollable.js +1 -1
  341. package/dist/components/selectable.js +1 -1
  342. package/dist/components/slide-toggle.js +1 -1
  343. package/dist/components/table.js +1 -1
  344. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  345. package/dist/dso-toolkit/p-01ef7894.entry.js +1 -0
  346. package/dist/dso-toolkit/p-14c01a1b.entry.js +1 -0
  347. package/dist/dso-toolkit/{p-44549e9c.entry.js → p-1512f23c.entry.js} +1 -1
  348. package/dist/dso-toolkit/{p-540a8027.entry.js → p-15cf1d50.entry.js} +1 -1
  349. package/dist/dso-toolkit/{p-2d1eb113.entry.js → p-1bcb1be6.entry.js} +1 -1
  350. package/dist/dso-toolkit/{p-d9800183.entry.js → p-20dff64b.entry.js} +1 -1
  351. package/dist/dso-toolkit/{p-be7adaac.entry.js → p-2adca4ff.entry.js} +1 -1
  352. package/dist/dso-toolkit/p-2c966756.entry.js +1 -0
  353. package/dist/dso-toolkit/{p-f066244e.entry.js → p-2eecf6c8.entry.js} +1 -1
  354. package/dist/dso-toolkit/p-388128c4.entry.js +1 -0
  355. package/dist/dso-toolkit/{p-dabed551.entry.js → p-3b7b2b8f.entry.js} +1 -1
  356. package/dist/dso-toolkit/{p-e03ff53f.entry.js → p-3defafe9.entry.js} +1 -1
  357. package/dist/dso-toolkit/{p-798eeae6.entry.js → p-4172e122.entry.js} +1 -1
  358. package/dist/dso-toolkit/p-43d180dd.entry.js +1 -0
  359. package/dist/dso-toolkit/{p-bb7ac6f7.entry.js → p-45b1fde3.entry.js} +1 -1
  360. package/dist/dso-toolkit/p-45d91da0.entry.js +1 -0
  361. package/dist/dso-toolkit/p-4855c2f3.entry.js +1 -0
  362. package/dist/dso-toolkit/p-48a683ed.entry.js +1 -0
  363. package/dist/dso-toolkit/{p-c9768843.entry.js → p-4da1153e.entry.js} +1 -1
  364. package/dist/dso-toolkit/{p-2edbfaae.entry.js → p-4fc4d02f.entry.js} +1 -1
  365. package/dist/dso-toolkit/p-4fc83300.entry.js +1 -0
  366. package/dist/dso-toolkit/{p-8e206e7e.entry.js → p-520dc726.entry.js} +1 -1
  367. package/dist/dso-toolkit/p-5517c4f6.entry.js +1 -0
  368. package/dist/dso-toolkit/{p-cce55fbb.entry.js → p-57ff1b4b.entry.js} +1 -1
  369. package/dist/dso-toolkit/{p-4020bb89.entry.js → p-5904bfcb.entry.js} +1 -1
  370. package/dist/dso-toolkit/p-5962b2d4.entry.js +1 -0
  371. package/dist/dso-toolkit/p-5a3e159b.entry.js +1 -0
  372. package/dist/dso-toolkit/{p-6ebe1b0e.entry.js → p-70972000.entry.js} +1 -1
  373. package/dist/dso-toolkit/p-7379b3bc.entry.js +1 -0
  374. package/dist/dso-toolkit/p-737d1d0e.entry.js +1 -0
  375. package/dist/dso-toolkit/{p-181cb6f7.entry.js → p-796cebce.entry.js} +1 -1
  376. package/dist/dso-toolkit/{p-3047432c.entry.js → p-7a2c40f3.entry.js} +1 -1
  377. package/dist/dso-toolkit/{p-85c2c887.entry.js → p-7b8b9188.entry.js} +1 -1
  378. package/dist/dso-toolkit/p-7c41ad14.entry.js +5 -0
  379. package/dist/dso-toolkit/{p-875b414d.entry.js → p-7d9ce75e.entry.js} +1 -1
  380. package/dist/dso-toolkit/{p-626ae90b.entry.js → p-845d3d61.entry.js} +1 -1
  381. package/dist/dso-toolkit/p-85d562bd.entry.js +1 -0
  382. package/dist/dso-toolkit/p-8b46e524.entry.js +1 -0
  383. package/dist/dso-toolkit/{p-ea1f5082.entry.js → p-91e4c3e6.entry.js} +1 -1
  384. package/dist/dso-toolkit/{p-b2202cd6.entry.js → p-965ee5c3.entry.js} +1 -1
  385. package/dist/dso-toolkit/{p-b4747ac0.entry.js → p-96d40735.entry.js} +1 -1
  386. package/dist/dso-toolkit/p-9b9588a4.entry.js +1 -0
  387. package/dist/dso-toolkit/{p-e08e43be.entry.js → p-9e4fcb9a.entry.js} +1 -1
  388. package/dist/dso-toolkit/{p-PsHl6ZhV.js → p-BZ0vuOVx.js} +1 -1
  389. package/dist/dso-toolkit/{p-PjubEIMY.js → p-CDgoS98P.js} +1 -1
  390. package/dist/dso-toolkit/{p-Chbfdofl.js → p-CHpgprST.js} +1 -1
  391. package/dist/dso-toolkit/p-CKvC5fms.js +1 -0
  392. package/dist/dso-toolkit/p-CRgylkO_.js +1 -0
  393. package/dist/dso-toolkit/p-CWxbEBiv.js +1 -0
  394. package/dist/dso-toolkit/p-CmOx9B7G.js +1 -0
  395. package/dist/dso-toolkit/p-Cw_CPOlV.js +1 -0
  396. package/dist/dso-toolkit/p-DHGCm31c.js +1 -0
  397. package/dist/dso-toolkit/p-a8ef7b7e.entry.js +1 -0
  398. package/dist/dso-toolkit/{p-fc8f252a.entry.js → p-adf26ede.entry.js} +1 -1
  399. package/dist/dso-toolkit/p-b469a75d.entry.js +1 -0
  400. package/dist/dso-toolkit/{p-c3d5ccc6.entry.js → p-b59d6811.entry.js} +1 -1
  401. package/dist/dso-toolkit/p-c41060e1.entry.js +1 -0
  402. package/dist/dso-toolkit/{p-75e5057e.entry.js → p-c782af02.entry.js} +1 -1
  403. package/dist/dso-toolkit/{p-84f647aa.entry.js → p-cb7a5987.entry.js} +1 -1
  404. package/dist/dso-toolkit/{p-e311d101.entry.js → p-cb8ad08f.entry.js} +1 -1
  405. package/dist/dso-toolkit/{p-3fe44227.entry.js → p-cdaeddbf.entry.js} +1 -1
  406. package/dist/dso-toolkit/p-d91feee5.entry.js +1 -0
  407. package/dist/dso-toolkit/{p-b270f26b.entry.js → p-ddbbc77d.entry.js} +1 -1
  408. package/dist/dso-toolkit/p-e53de048.entry.js +1 -0
  409. package/dist/dso-toolkit/{p-e1f30dbb.entry.js → p-e7323c65.entry.js} +1 -1
  410. package/dist/dso-toolkit/{p-a14ee5bd.entry.js → p-e7a860be.entry.js} +1 -1
  411. package/dist/dso-toolkit/p-e803701e.entry.js +1 -0
  412. package/dist/dso-toolkit/{p-d877c432.entry.js → p-edddf0f5.entry.js} +1 -1
  413. package/dist/dso-toolkit/{p-7a809a49.entry.js → p-f52d7bb1.entry.js} +1 -1
  414. package/dist/dso-toolkit/p-fdf9798a.entry.js +1 -0
  415. package/dist/dso-toolkit/{p-d87dd7c8.entry.js → p-fe00cb79.entry.js} +1 -1
  416. package/dist/esm/{annotation-body-DeKLxp3F.js → annotation-body-DBGu5INB.js} +1 -1
  417. package/dist/esm/{annotation-list-renvooi-values-CGxBKqb7.js → annotation-list-renvooi-values-DoTvSWOI.js} +1 -1
  418. package/dist/esm/{annotation-watcher-BO_h7wWk.js → annotation-watcher-Dm4MhmMp.js} +1 -1
  419. package/dist/esm/dso-accordion-section.entry.js +8 -7
  420. package/dist/esm/dso-accordion.entry.js +2 -276
  421. package/dist/esm/dso-action-list-item.entry.js +2 -2
  422. package/dist/esm/dso-action-list.entry.js +2 -2
  423. package/dist/esm/dso-advanced-select.entry.js +104 -227
  424. package/dist/esm/dso-alert_7.entry.js +68 -27
  425. package/dist/esm/dso-annotation-activiteit.entry.js +5 -5
  426. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +4 -4
  427. package/dist/esm/dso-annotation-kaart.entry.js +3 -3
  428. package/dist/esm/dso-annotation-locatie_2.entry.js +6 -6
  429. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +5 -5
  430. package/dist/esm/dso-attachments-counter_2.entry.js +3 -3
  431. package/dist/esm/dso-autosuggest.entry.js +23 -14
  432. package/dist/esm/dso-banner.entry.js +2 -2
  433. package/dist/esm/dso-button-group.entry.js +2 -2
  434. package/dist/esm/dso-card-container.entry.js +1 -1
  435. package/dist/esm/dso-card.entry.js +2 -2
  436. package/dist/esm/dso-contact-information.entry.js +1 -1
  437. package/dist/esm/dso-cursor-tooltip.entry.js +1 -1
  438. package/dist/esm/dso-date-picker.entry.js +1 -1
  439. package/dist/esm/dso-document-card.entry.js +2 -2
  440. package/dist/esm/dso-dropdown-menu-group.entry.js +29 -0
  441. package/dist/esm/dso-dropdown-menu-item.entry.js +39 -0
  442. package/dist/esm/dso-dropdown-menu.entry.js +80 -101
  443. package/dist/esm/dso-header.entry.js +22 -5
  444. package/dist/esm/dso-highlight-box.entry.js +2 -2
  445. package/dist/esm/dso-history-item.entry.js +2 -2
  446. package/dist/esm/dso-icon-button.entry.js +95 -0
  447. package/dist/esm/{dso-icon_2.entry.js → dso-icon.entry.js} +3 -95
  448. package/dist/esm/dso-info_3.entry.js +7 -7
  449. package/dist/esm/dso-input-range.entry.js +3 -3
  450. package/dist/esm/dso-label_3.entry.js +7 -7
  451. package/dist/esm/dso-legend-group.entry.js +3 -3
  452. package/dist/esm/dso-legend-item.entry.js +3 -3
  453. package/dist/esm/dso-legend.entry.js +4 -4
  454. package/dist/esm/dso-list-button.entry.js +3 -3
  455. package/dist/esm/dso-logo.entry.js +2 -2
  456. package/dist/esm/dso-map-base-layers.entry.js +3 -3
  457. package/dist/esm/dso-map-controls.entry.js +4 -4
  458. package/dist/esm/dso-map-layer-object.entry.js +4 -4
  459. package/dist/esm/dso-map-layer.entry.js +4 -4
  460. package/dist/esm/dso-map-message.entry.js +3 -3
  461. package/dist/esm/dso-map-overlays.entry.js +3 -3
  462. package/dist/esm/dso-mark-bar.entry.js +2 -2
  463. package/dist/esm/dso-modal.entry.js +4 -4
  464. package/dist/esm/dso-onboarding-tip.entry.js +2 -2
  465. package/dist/esm/dso-pagination.entry.js +1 -1
  466. package/dist/esm/dso-plekinfo-card.entry.js +4 -4
  467. package/dist/esm/dso-progress-indicator.entry.js +3 -3
  468. package/dist/esm/dso-project-item.entry.js +3 -3
  469. package/dist/esm/dso-responsive-element.entry.js +19 -5
  470. package/dist/esm/dso-scrollable.entry.js +4 -4
  471. package/dist/esm/dso-segmented-button.entry.js +2 -2
  472. package/dist/esm/dso-skiplink.entry.js +2 -2
  473. package/dist/esm/dso-survey-rating.entry.js +4 -4
  474. package/dist/esm/dso-tab.entry.js +1 -1
  475. package/dist/esm/dso-tabs.entry.js +2 -2
  476. package/dist/esm/dso-tijdreis-banner.entry.js +2 -2
  477. package/dist/esm/dso-toolkit.js +4 -4
  478. package/dist/esm/dso-tooltip.entry.js +2 -2
  479. package/dist/esm/dso-tree-view.entry.js +3 -3
  480. package/dist/esm/dso-viewer-grid.entry.js +4 -4
  481. package/dist/esm/dsot-document-component-demo.entry.js +1 -1
  482. package/dist/esm/{i18n-DwBHVuoZ.js → i18n-CRgylkO_.js} +12 -4
  483. package/dist/esm/index-OTFpj3vR.js +278 -0
  484. package/dist/esm/{index-DrQGiJP8.js → index-pqfDfKeZ.js} +1 -1
  485. package/dist/{bundle/p-PsHl6ZhV.js → esm/index.esm-BZ0vuOVx.js} +1 -1
  486. package/dist/esm/loader.js +3 -3
  487. package/dist/esm/{parse-wijzigactie-from-node.function-BroGebB4.js → parse-wijzigactie-from-node.function-Cn1GXjSM.js} +1 -1
  488. package/dist/esm/{tooltip.functional-component-nHAIYF3o.js → tooltip.functional-component-CsWjK64w.js} +1 -1
  489. package/dist/esm/{wrap-wijzigactie.functional-component-BCT1o51-.js → wrap-wijzigactie.functional-component-DzSLSv0i.js} +1 -1
  490. package/dist/types/components/annotation/annotation-list-renvooi-values.d.ts +2 -2
  491. package/dist/types/components/autosuggest/autosuggest.d.ts +2 -0
  492. package/dist/types/components/dropdown-menu/dropdown-menu-group/dropdown-menu-group.d.ts +12 -0
  493. package/dist/types/components/dropdown-menu/dropdown-menu-item/dropdown-menu-item.d.ts +31 -0
  494. package/dist/types/components/dropdown-menu/dropdown-menu.d.ts +25 -20
  495. package/dist/types/components/dropdown-menu/dropdown-menu.interfaces.d.ts +10 -0
  496. package/dist/types/components/header/header.d.ts +3 -0
  497. package/dist/types/components/image-overlay/image-overlay.d.ts +3 -0
  498. package/dist/types/components/responsive-element/responsive-element.d.ts +3 -0
  499. package/dist/types/components/table/table.d.ts +3 -0
  500. package/dist/types/components.d.ts +99 -25
  501. package/dist/types/stencil-public-runtime.d.ts +1 -0
  502. package/package.json +13 -13
  503. package/dist/bundle/p-0h9cOnX9.js +0 -148
  504. package/dist/bundle/p-6-0kKG2F.js +0 -189
  505. package/dist/bundle/p-BnDZHxeO.js +0 -166
  506. package/dist/bundle/p-C2l5d-V9.js +0 -341
  507. package/dist/bundle/p-C332B2dN.js +0 -100
  508. package/dist/bundle/p-HXung-P3.js +0 -1209
  509. package/dist/bundle/p-z2uKmX1Q.js +0 -83
  510. package/dist/bundle/p-zYhsKlIm.js +0 -124
  511. package/dist/dso-toolkit/p-0146f231.entry.js +0 -1
  512. package/dist/dso-toolkit/p-040f3f53.entry.js +0 -1
  513. package/dist/dso-toolkit/p-0cc62094.entry.js +0 -1
  514. package/dist/dso-toolkit/p-1bb92456.entry.js +0 -7
  515. package/dist/dso-toolkit/p-1ea5fb0d.entry.js +0 -1
  516. package/dist/dso-toolkit/p-4a493df9.entry.js +0 -1
  517. package/dist/dso-toolkit/p-5a25d8d9.entry.js +0 -1
  518. package/dist/dso-toolkit/p-61fd983a.entry.js +0 -1
  519. package/dist/dso-toolkit/p-6c41b0a9.entry.js +0 -1
  520. package/dist/dso-toolkit/p-7f3898d7.entry.js +0 -1
  521. package/dist/dso-toolkit/p-869027bc.entry.js +0 -1
  522. package/dist/dso-toolkit/p-8b9194ca.entry.js +0 -1
  523. package/dist/dso-toolkit/p-9b0716d8.entry.js +0 -1
  524. package/dist/dso-toolkit/p-9ce75fcd.entry.js +0 -1
  525. package/dist/dso-toolkit/p-AZpKxz9p.js +0 -1
  526. package/dist/dso-toolkit/p-BKr5d3Gu.js +0 -1
  527. package/dist/dso-toolkit/p-Dev1bLxp.js +0 -1
  528. package/dist/dso-toolkit/p-DwBHVuoZ.js +0 -1
  529. package/dist/dso-toolkit/p-a286ac17.entry.js +0 -1
  530. package/dist/dso-toolkit/p-a8184705.entry.js +0 -1
  531. package/dist/dso-toolkit/p-ab33a108.entry.js +0 -1
  532. package/dist/dso-toolkit/p-b2d0319d.entry.js +0 -1
  533. package/dist/dso-toolkit/p-bf803e4f.entry.js +0 -1
  534. package/dist/dso-toolkit/p-c0111a70.entry.js +0 -1
  535. package/dist/dso-toolkit/p-d4539b83.entry.js +0 -1
  536. package/dist/dso-toolkit/p-db32a77a.entry.js +0 -1
  537. package/dist/dso-toolkit/p-go_iJ4_L.js +0 -1
  538. /package/dist/dso-toolkit/{p-DrQGiJP8.js → p-pqfDfKeZ.js} +0 -0
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BOI4CviS.js');
3
+ var index = require('./index-fOjUpMJG.js');
4
4
  var clsx = require('./clsx-BtxeOLZW.js');
5
5
  var index_esm = require('./index.esm-C3mvhVxy.js');
6
6
  var isModifiedEvent = require('./is-modified-event-Dh9YsHw8.js');
7
7
 
8
8
  /*!
9
- * focus-trap 8.1.0
9
+ * focus-trap 8.2.1
10
10
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
11
11
  */
12
12
 
@@ -18,31 +18,6 @@ function _arrayLikeToArray(r, a) {
18
18
  function _arrayWithoutHoles(r) {
19
19
  if (Array.isArray(r)) return _arrayLikeToArray(r);
20
20
  }
21
- function asyncGeneratorStep(n, t, e, r, o, a, c) {
22
- try {
23
- var i = n[a](c),
24
- u = i.value;
25
- } catch (n) {
26
- return void e(n);
27
- }
28
- i.done ? t(u) : Promise.resolve(u).then(r, o);
29
- }
30
- function _asyncToGenerator(n) {
31
- return function () {
32
- var t = this,
33
- e = arguments;
34
- return new Promise(function (r, o) {
35
- var a = n.apply(t, e);
36
- function _next(n) {
37
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
38
- }
39
- function _throw(n) {
40
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
41
- }
42
- _next(void 0);
43
- });
44
- };
45
- }
46
21
  function _createForOfIteratorHelper(r, e) {
47
22
  var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
48
23
  if (!t) {
@@ -126,109 +101,6 @@ function _objectSpread2(e) {
126
101
  }
127
102
  return e;
128
103
  }
129
- function _regenerator() {
130
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
131
- var e,
132
- t,
133
- r = "function" == typeof Symbol ? Symbol : {},
134
- n = r.iterator || "@@iterator",
135
- o = r.toStringTag || "@@toStringTag";
136
- function i(r, n, o, i) {
137
- var c = n && n.prototype instanceof Generator ? n : Generator,
138
- u = Object.create(c.prototype);
139
- return _regeneratorDefine(u, "_invoke", function (r, n, o) {
140
- var i,
141
- c,
142
- u,
143
- f = 0,
144
- p = o || [],
145
- y = false,
146
- G = {
147
- p: 0,
148
- n: 0,
149
- v: e,
150
- a: d,
151
- f: d.bind(e, 4),
152
- d: function (t, r) {
153
- return i = t, c = 0, u = e, G.n = r, a;
154
- }
155
- };
156
- function d(r, n) {
157
- for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
158
- var o,
159
- i = p[t],
160
- d = G.p,
161
- l = i[2];
162
- r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
163
- }
164
- if (o || r > 1) return a;
165
- throw y = true, n;
166
- }
167
- return function (o, p, l) {
168
- if (f > 1) throw TypeError("Generator is already running");
169
- for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
170
- i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
171
- try {
172
- if (f = 2, i) {
173
- if (c || (o = "next"), t = i[o]) {
174
- if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
175
- if (!t.done) return t;
176
- u = t.value, c < 2 && (c = 0);
177
- } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
178
- i = e;
179
- } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
180
- } catch (t) {
181
- i = e, c = 1, u = t;
182
- } finally {
183
- f = 1;
184
- }
185
- }
186
- return {
187
- value: t,
188
- done: y
189
- };
190
- };
191
- }(r, o, i), true), u;
192
- }
193
- var a = {};
194
- function Generator() {}
195
- function GeneratorFunction() {}
196
- function GeneratorFunctionPrototype() {}
197
- t = Object.getPrototypeOf;
198
- var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
199
- return this;
200
- }), t),
201
- u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
202
- function f(e) {
203
- return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
204
- }
205
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
206
- return this;
207
- }), _regeneratorDefine(u, "toString", function () {
208
- return "[object Generator]";
209
- }), (_regenerator = function () {
210
- return {
211
- w: i,
212
- m: f
213
- };
214
- })();
215
- }
216
- function _regeneratorDefine(e, r, n, t) {
217
- var i = Object.defineProperty;
218
- _regeneratorDefine = function (e, r, n, t) {
219
- function o(r, n) {
220
- _regeneratorDefine(e, r, function (e) {
221
- return this._invoke(r, n, e);
222
- });
223
- }
224
- r ? i ? i(e, r, {
225
- value: n,
226
- enumerable: !t,
227
- configurable: !t,
228
- writable: !t
229
- }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
230
- }, _regeneratorDefine(e, r, n, t);
231
- }
232
104
  function _toConsumableArray(r) {
233
105
  return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
234
106
  }
@@ -357,6 +229,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
357
229
  returnFocusOnDeactivate: true,
358
230
  escapeDeactivates: true,
359
231
  delayInitialFocus: true,
232
+ delayReturnFocus: true,
360
233
  isolateSubtrees: false,
361
234
  isKeyForward: isKeyForward,
362
235
  isKeyBackward: isKeyBackward
@@ -506,6 +379,25 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
506
379
  }
507
380
  return node;
508
381
  };
382
+
383
+ /**
384
+ * Gets the current activeElement. If it's a web-component and has open shadow-root
385
+ * it will recursively search inside shadow roots for the "true" activeElement.
386
+ *
387
+ * @param {Document | ShadowRoot} el
388
+ *
389
+ * @returns {HTMLElement|null} The element that currently has the focus. `null` if a focused element isn't found.
390
+ **/
391
+ var _getActiveElement = function getActiveElement(el) {
392
+ var activeElement = el.activeElement;
393
+ if (!activeElement) {
394
+ return null;
395
+ }
396
+ if (activeElement.shadowRoot && activeElement.shadowRoot.activeElement !== null) {
397
+ return _getActiveElement(activeElement.shadowRoot);
398
+ }
399
+ return activeElement;
400
+ };
509
401
  var getInitialFocusNode = function getInitialFocusNode() {
510
402
  var node = getNodeForOption('initialFocus', {
511
403
  hasFallback: true
@@ -516,9 +408,11 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
516
408
  return false;
517
409
  }
518
410
  if (node === undefined || node && !index_esm.isFocusable(node, config.tabbableOptions)) {
411
+ var activeElement = _getActiveElement(doc);
412
+
519
413
  // option not specified nor focusable: use fallback options
520
- if (findContainerIndex(doc.activeElement) >= 0) {
521
- node = doc.activeElement;
414
+ if (findContainerIndex(activeElement) >= 0) {
415
+ node = activeElement;
522
416
  } else {
523
417
  var firstTabbableGroup = state.tabbableGroups[0];
524
418
  var firstTabbableNode = firstTabbableGroup && firstTabbableGroup.firstTabbableNode;
@@ -630,25 +524,6 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
630
524
  throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.");
631
525
  }
632
526
  };
633
-
634
- /**
635
- * Gets the current activeElement. If it's a web-component and has open shadow-root
636
- * it will recursively search inside shadow roots for the "true" activeElement.
637
- *
638
- * @param {Document | ShadowRoot} el
639
- *
640
- * @returns {HTMLElement} The element that currently has the focus
641
- **/
642
- var _getActiveElement = function getActiveElement(el) {
643
- var activeElement = el.activeElement;
644
- if (!activeElement) {
645
- return;
646
- }
647
- if (activeElement.shadowRoot && activeElement.shadowRoot.activeElement !== null) {
648
- return _getActiveElement(activeElement.shadowRoot);
649
- }
650
- return activeElement;
651
- };
652
527
  var _tryFocus = function tryFocus(node) {
653
528
  if (node === false) {
654
529
  return;
@@ -969,12 +844,13 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
969
844
  /**
970
845
  * Adds listeners to the document necessary for trapping focus and attempts to set focus
971
846
  * to the configured initial focus node. Does nothing if the trap isn't active.
972
- * @returns {Promise<void>} Resolved (always) once the initial focus node has been focused.
973
- * Also resolved if the trap isn't active.
847
+ * @returns {Promise<void> | undefined} A promise resolved once the initial focus node has
848
+ * been focused when `delayInitialFocus=true`; `undefined` when focus is set synchronously
849
+ * or the trap isn't active.
974
850
  */
975
851
  var addListeners = function addListeners() {
976
852
  if (!state.active) {
977
- return Promise.resolve();
853
+ return;
978
854
  }
979
855
 
980
856
  // There can be only one listening focus trap at a time
@@ -982,7 +858,7 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
982
858
 
983
859
  // Delay ensures that the focused element doesn't capture the event
984
860
  // that caused the focus trap activation.
985
- /** @type {Promise<void>} */
861
+ /** @type {Promise<void> | undefined} */
986
862
  var promise;
987
863
  if (config.delayInitialFocus) {
988
864
  // NOTE: Promise constructor callback is called synchronously, which is what we want
@@ -994,7 +870,6 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
994
870
  });
995
871
  });
996
872
  } else {
997
- promise = Promise.resolve();
998
873
  _tryFocus(getInitialFocusNode());
999
874
  }
1000
875
  doc.addEventListener('focusin', checkFocusIn, true);
@@ -1103,17 +978,27 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
1103
978
  //
1104
979
 
1105
980
  var checkDomRemoval = function checkDomRemoval(mutations) {
981
+ var focusedNode = state.mostRecentlyFocusedNode;
982
+ if (!focusedNode) {
983
+ return;
984
+ }
1106
985
  var isFocusedNodeRemoved = mutations.some(function (mutation) {
1107
986
  var removedNodes = Array.from(mutation.removedNodes);
1108
987
  return removedNodes.some(function (node) {
1109
- return node === state.mostRecentlyFocusedNode;
988
+ return node === focusedNode || typeof node.contains === 'function' && node.contains(focusedNode);
1110
989
  });
1111
990
  });
1112
991
 
1113
- // If the currently focused is removed then browsers will move focus to the
992
+ // If the currently focused node is removed then browsers will move focus to the
1114
993
  // <body> element. If this happens, try to move focus back into the trap.
1115
- if (isFocusedNodeRemoved) {
1116
- _tryFocus(getInitialFocusNode());
994
+ if (isFocusedNodeRemoved && state.containers.some(function (container) {
995
+ return container === null || container === void 0 ? void 0 : container.isConnected;
996
+ })) {
997
+ // Refresh tabbable state before resolving initial focus because
998
+ // getInitialFocusNode() may fall back to the first tabbable node in the trap.
999
+ updateTabbableNodes();
1000
+ var initialFocusNode = getInitialFocusNode();
1001
+ _tryFocus(initialFocusNode);
1117
1002
  }
1118
1003
  };
1119
1004
 
@@ -1176,37 +1061,30 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
1176
1061
  onActivate === null || onActivate === void 0 || onActivate({
1177
1062
  trap: trap
1178
1063
  });
1179
- var finishActivation = /*#__PURE__*/function () {
1180
- var _ref6 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
1181
- return _regenerator().w(function (_context) {
1182
- while (1) switch (_context.n) {
1183
- case 0:
1184
- if (checkCanFocusTrap) {
1185
- updateTabbableNodes();
1186
- }
1187
-
1188
- // NOTE: wait for initial focus node to get focused before we potentially isolate
1189
- // the subtrees with aria-hidden while focus is still in some other subtree and
1190
- // not yet in the trap, resulting in some browsers (e.g. Chrome) logging to the
1191
- // console that they, "Blocked aria-hidden on an element because its descendant
1192
- // retained focus..."
1193
- _context.n = 1;
1194
- return addListeners();
1195
- case 1:
1196
- trap._setSubtreeIsolation(true);
1197
- updateObservedNodes();
1198
- onPostActivate === null || onPostActivate === void 0 || onPostActivate({
1199
- trap: trap
1200
- });
1201
- case 2:
1202
- return _context.a(2);
1203
- }
1204
- }, _callee);
1205
- }));
1206
- return function finishActivation() {
1207
- return _ref6.apply(this, arguments);
1064
+ var finishActivation = function finishActivation() {
1065
+ if (checkCanFocusTrap) {
1066
+ updateTabbableNodes();
1067
+ }
1068
+ var afterListeners = function afterListeners() {
1069
+ trap._setSubtreeIsolation(true);
1070
+ updateObservedNodes();
1071
+ onPostActivate === null || onPostActivate === void 0 || onPostActivate({
1072
+ trap: trap
1073
+ });
1208
1074
  };
1209
- }();
1075
+
1076
+ // NOTE: wait for initial focus node to get focused (whether activation is fully,
1077
+ // partially, or not asynchronous) before we potentially isolate the subtrees
1078
+ // with aria-hidden while focus is still in some other subtree and not yet in
1079
+ // the trap, resulting in some browsers (e.g. Chrome) logging to the console that
1080
+ // they, "Blocked aria-hidden on an element because its descendant retained focus..."
1081
+ var listenersPromise = addListeners();
1082
+ if (listenersPromise) {
1083
+ listenersPromise.then(afterListeners);
1084
+ } else {
1085
+ afterListeners();
1086
+ }
1087
+ };
1210
1088
  if (checkCanFocusTrap) {
1211
1089
  checkCanFocusTrap(state.containers.concat()).then(finishActivation, finishActivation);
1212
1090
  return this;
@@ -1254,20 +1132,26 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
1254
1132
  var onDeactivate = getOption(options, 'onDeactivate');
1255
1133
  var onPostDeactivate = getOption(options, 'onPostDeactivate');
1256
1134
  var checkCanReturnFocus = getOption(options, 'checkCanReturnFocus');
1135
+ var delayReturnFocus = getOption(options, 'delayReturnFocus');
1257
1136
  var returnFocus = getOption(options, 'returnFocus', 'returnFocusOnDeactivate');
1258
1137
  onDeactivate === null || onDeactivate === void 0 || onDeactivate({
1259
1138
  trap: trap
1260
1139
  });
1261
- var finishDeactivation = function finishDeactivation() {
1262
- delay(function () {
1263
- if (returnFocus) {
1264
- _tryFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation));
1265
- }
1266
- onPostDeactivate === null || onPostDeactivate === void 0 || onPostDeactivate({
1267
- trap: trap
1268
- });
1140
+ var completeDeactivation = function completeDeactivation() {
1141
+ if (returnFocus) {
1142
+ _tryFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation));
1143
+ }
1144
+ onPostDeactivate === null || onPostDeactivate === void 0 || onPostDeactivate({
1145
+ trap: trap
1269
1146
  });
1270
1147
  };
1148
+ var finishDeactivation = function finishDeactivation() {
1149
+ if (delayReturnFocus && returnFocus) {
1150
+ delay(completeDeactivation);
1151
+ } else {
1152
+ completeDeactivation();
1153
+ }
1154
+ };
1271
1155
  if (returnFocus && checkCanReturnFocus) {
1272
1156
  checkCanReturnFocus(getReturnFocusNode(state.nodeFocusedBeforeActivation)).then(finishDeactivation, finishDeactivation);
1273
1157
  return this;
@@ -1340,35 +1224,28 @@ var createFocusTrap = function createFocusTrap(elements, userOptions) {
1340
1224
  onUnpause === null || onUnpause === void 0 || onUnpause({
1341
1225
  trap: trap
1342
1226
  });
1343
- var finishUnpause = /*#__PURE__*/function () {
1344
- var _ref7 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
1345
- return _regenerator().w(function (_context2) {
1346
- while (1) switch (_context2.n) {
1347
- case 0:
1348
- updateTabbableNodes();
1349
-
1350
- // NOTE: wait for initial focus node to get focused before we potentially isolate
1351
- // the subtrees with aria-hidden while focus is still in some other subtree and
1352
- // not yet in the trap, resulting in some browsers (e.g. Chrome) logging to the
1353
- // console that they, "Blocked aria-hidden on an element because its descendant
1354
- // retained focus..."
1355
- _context2.n = 1;
1356
- return addListeners();
1357
- case 1:
1358
- trap._setSubtreeIsolation(true);
1359
- updateObservedNodes();
1360
- onPostUnpause === null || onPostUnpause === void 0 || onPostUnpause({
1361
- trap: trap
1362
- });
1363
- case 2:
1364
- return _context2.a(2);
1365
- }
1366
- }, _callee2);
1367
- }));
1368
- return function finishUnpause() {
1369
- return _ref7.apply(this, arguments);
1227
+ var finishUnpause = function finishUnpause() {
1228
+ updateTabbableNodes();
1229
+ var afterListeners = function afterListeners() {
1230
+ trap._setSubtreeIsolation(true);
1231
+ updateObservedNodes();
1232
+ onPostUnpause === null || onPostUnpause === void 0 || onPostUnpause({
1233
+ trap: trap
1234
+ });
1370
1235
  };
1371
- }();
1236
+
1237
+ // NOTE: wait for initial focus node to get focused (whether activation is fully,
1238
+ // partially, or not asynchronous) before we potentially isolate the subtrees
1239
+ // with aria-hidden while focus is still in some other subtree and not yet in
1240
+ // the trap, resulting in some browsers (e.g. Chrome) logging to the console that
1241
+ // they, "Blocked aria-hidden on an element because its descendant retained focus..."
1242
+ var listenersPromise = addListeners();
1243
+ if (listenersPromise) {
1244
+ listenersPromise.then(afterListeners);
1245
+ } else {
1246
+ afterListeners();
1247
+ }
1248
+ };
1372
1249
  finishUnpause();
1373
1250
  }
1374
1251
  return this;