@dso-toolkit/core 51.2.1 → 51.4.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 (211) hide show
  1. package/dist/cjs/annotation.service-e980f478.js +21 -0
  2. package/dist/cjs/dso-accordion-section.cjs.entry.js +1 -1
  3. package/dist/cjs/dso-accordion.cjs.entry.js +2 -192
  4. package/dist/cjs/dso-alert.cjs.entry.js +1 -1
  5. package/dist/cjs/dso-annotation-button.cjs.entry.js +25 -0
  6. package/dist/cjs/dso-annotation-output.cjs.entry.js +35 -0
  7. package/dist/cjs/dso-badge.cjs.entry.js +1 -1
  8. package/dist/cjs/dso-card.cjs.entry.js +5 -3
  9. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +45 -1
  10. package/dist/cjs/dso-expandable-heading.cjs.entry.js +47 -0
  11. package/dist/cjs/dso-expandable.cjs.entry.js +20 -0
  12. package/dist/cjs/dso-header.cjs.entry.js +1 -1
  13. package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
  14. package/dist/cjs/dso-image-overlay.cjs.entry.js +1 -2
  15. package/dist/cjs/dso-info_2.cjs.entry.js +4 -3
  16. package/dist/cjs/dso-label.cjs.entry.js +2 -2
  17. package/dist/cjs/dso-map-controls.cjs.entry.js +12 -4
  18. package/dist/cjs/dso-toolkit.cjs.js +1 -1
  19. package/dist/cjs/dso-tooltip.cjs.entry.js +4 -1801
  20. package/dist/cjs/index-71b733b1.js +196 -0
  21. package/dist/cjs/index.cjs.js +7 -0
  22. package/dist/cjs/loader.cjs.js +1 -1
  23. package/dist/cjs/map-controls.interfaces-5ceec716.js +5 -0
  24. package/dist/cjs/popper-6adb1c1a.js +1803 -0
  25. package/dist/collection/collection-manifest.json +4 -0
  26. package/dist/collection/components/accordion/components/accordion-section.css +6 -11
  27. package/dist/collection/components/alert/alert.css +4 -4
  28. package/dist/collection/components/annotation-button/annotation-button.css +3 -0
  29. package/dist/collection/components/annotation-button/annotation-button.js +45 -0
  30. package/dist/collection/components/annotation-output/annotation-output.css +82 -0
  31. package/dist/collection/components/annotation-output/annotation-output.interfaces.js +1 -0
  32. package/dist/collection/components/annotation-output/annotation-output.js +126 -0
  33. package/dist/collection/components/badge/badge.css +7 -2
  34. package/dist/collection/components/badge/badge.js +2 -2
  35. package/dist/collection/components/card/card.css +0 -1
  36. package/dist/collection/components/card/card.js +22 -2
  37. package/dist/collection/components/dropdown-menu/dropdown-menu.css +0 -1
  38. package/dist/collection/components/dropdown-menu/dropdown-menu.js +64 -0
  39. package/dist/collection/components/expandable/expandable.css +24 -0
  40. package/dist/collection/components/expandable/expandable.js +42 -0
  41. package/dist/collection/components/expandable-heading/expandable-heading.css +145 -0
  42. package/dist/collection/components/expandable-heading/expandable-heading.interfaces.js +1 -0
  43. package/dist/collection/components/expandable-heading/expandable-heading.js +117 -0
  44. package/dist/collection/components/expandable-heading/heading.js +16 -0
  45. package/dist/collection/components/header/header.css +2 -2
  46. package/dist/collection/components/highlight-box/highlight-box.css +1 -0
  47. package/dist/collection/components/image-overlay/image-overlay.js +1 -3
  48. package/dist/collection/components/info/info.css +1 -0
  49. package/dist/collection/components/label/label.css +11 -10
  50. package/dist/collection/components/label/label.js +3 -3
  51. package/dist/collection/components/map-controls/map-controls.interfaces.js +1 -0
  52. package/dist/collection/components/map-controls/map-controls.js +58 -2
  53. package/dist/collection/components/selectable/selectable.css +1 -0
  54. package/dist/collection/components/selectable/selectable.js +19 -1
  55. package/dist/collection/index.js +3 -0
  56. package/dist/collection/services/annotation.service.js +16 -0
  57. package/dist/components/annotation.service.js +19 -0
  58. package/dist/components/dropdown-menu.js +47 -2
  59. package/dist/components/dso-accordion-section.js +2 -2
  60. package/dist/components/dso-accordion.js +2 -192
  61. package/dist/components/dso-alert.js +1 -1
  62. package/dist/components/dso-annotation-button.d.ts +11 -0
  63. package/dist/components/dso-annotation-button.js +45 -0
  64. package/dist/components/dso-annotation-output.d.ts +11 -0
  65. package/dist/components/dso-annotation-output.js +69 -0
  66. package/dist/components/dso-autosuggest.js +1 -1
  67. package/dist/components/dso-badge.js +1 -1
  68. package/dist/components/dso-card.js +7 -4
  69. package/dist/components/dso-expandable-heading.d.ts +11 -0
  70. package/dist/components/dso-expandable-heading.js +77 -0
  71. package/dist/components/dso-expandable.d.ts +11 -0
  72. package/dist/components/dso-expandable.js +6 -0
  73. package/dist/components/dso-header.js +2 -2
  74. package/dist/components/dso-highlight-box.js +1 -1
  75. package/dist/components/dso-image-overlay.js +2 -4
  76. package/dist/components/dso-label.js +2 -2
  77. package/dist/components/dso-map-controls.js +14 -4
  78. package/dist/components/dso-table.js +1 -1
  79. package/dist/components/expandable.js +33 -0
  80. package/dist/components/index.d.ts +4 -0
  81. package/dist/components/index.js +5 -1
  82. package/dist/components/index2.js +185 -61
  83. package/dist/components/index3.js +70 -0
  84. package/dist/components/info.js +1 -1
  85. package/dist/components/popper.js +1799 -0
  86. package/dist/components/selectable.js +4 -2
  87. package/dist/components/tooltip.js +4 -1801
  88. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  89. package/dist/dso-toolkit/index.esm.js +1 -0
  90. package/dist/dso-toolkit/p-07952ece.entry.js +1 -0
  91. package/dist/dso-toolkit/p-09424a1d.entry.js +1 -0
  92. package/dist/dso-toolkit/{p-a9baa631.entry.js → p-0af9bfb1.entry.js} +1 -1
  93. package/dist/dso-toolkit/{p-746dc38a.entry.js → p-0fce0861.entry.js} +1 -1
  94. package/dist/dso-toolkit/{p-abbcbe6a.entry.js → p-147ec7bd.entry.js} +1 -1
  95. package/dist/dso-toolkit/{p-a8cb2eae.entry.js → p-1aef13ee.entry.js} +1 -1
  96. package/dist/dso-toolkit/{p-19323600.entry.js → p-1cb94d7d.entry.js} +1 -1
  97. package/dist/dso-toolkit/p-1cea3b99.js +1 -0
  98. package/dist/dso-toolkit/{p-c846d208.entry.js → p-22f9240a.entry.js} +1 -1
  99. package/dist/dso-toolkit/p-30df5586.entry.js +1 -0
  100. package/dist/dso-toolkit/{p-427f6d90.entry.js → p-3914ad70.entry.js} +1 -1
  101. package/dist/dso-toolkit/{p-67c4987c.entry.js → p-43f3d736.entry.js} +1 -1
  102. package/dist/dso-toolkit/p-452c7fbb.entry.js +1 -0
  103. package/dist/dso-toolkit/{p-3b8cbd05.entry.js → p-494fe8e5.entry.js} +1 -1
  104. package/dist/dso-toolkit/p-4b18389c.entry.js +1 -0
  105. package/dist/dso-toolkit/p-4b8535b7.js +1 -0
  106. package/dist/dso-toolkit/p-4c8426b7.entry.js +1 -0
  107. package/dist/dso-toolkit/{p-8aa39e7f.entry.js → p-5082d823.entry.js} +1 -1
  108. package/dist/dso-toolkit/{p-ff72ee4c.entry.js → p-588bc4d7.entry.js} +1 -1
  109. package/dist/dso-toolkit/p-67df25a7.entry.js +1 -0
  110. package/dist/dso-toolkit/p-6cdc1acd.entry.js +1 -0
  111. package/dist/dso-toolkit/{p-11176cb8.entry.js → p-82465cdc.entry.js} +1 -1
  112. package/dist/dso-toolkit/p-85b18dbd.js +1 -0
  113. package/dist/dso-toolkit/p-89b97fce.js +1 -0
  114. package/dist/dso-toolkit/{p-8e9f6355.entry.js → p-96efc763.entry.js} +1 -1
  115. package/dist/dso-toolkit/{p-8f35c8f8.js → p-98fd1658.js} +1 -1
  116. package/dist/dso-toolkit/p-9b07b034.entry.js +1 -0
  117. package/dist/dso-toolkit/p-ad0b38cf.entry.js +1 -0
  118. package/dist/dso-toolkit/{p-6080bb9e.entry.js → p-ba0da696.entry.js} +1 -1
  119. package/dist/dso-toolkit/p-c1226b66.entry.js +1 -0
  120. package/dist/dso-toolkit/{p-520a2cdd.entry.js → p-c16ce11e.entry.js} +1 -1
  121. package/dist/dso-toolkit/p-c2a4f4ea.entry.js +1 -0
  122. package/dist/dso-toolkit/{p-655eff47.entry.js → p-c54ad578.entry.js} +1 -1
  123. package/dist/dso-toolkit/{p-35687d62.entry.js → p-d4772fb0.entry.js} +1 -1
  124. package/dist/dso-toolkit/{p-2fa96ac0.entry.js → p-d6ea8670.entry.js} +1 -1
  125. package/dist/dso-toolkit/{p-ec25868b.entry.js → p-d987ef37.entry.js} +1 -1
  126. package/dist/dso-toolkit/{p-92ad1cdb.entry.js → p-e00a3019.entry.js} +1 -1
  127. package/dist/dso-toolkit/p-e3c9c7d0.entry.js +1 -0
  128. package/dist/dso-toolkit/{p-ec4501bb.entry.js → p-e4f667b3.entry.js} +1 -1
  129. package/dist/dso-toolkit/p-ee1acb32.entry.js +1 -0
  130. package/dist/dso-toolkit/{p-55142124.entry.js → p-efdf5c91.entry.js} +1 -1
  131. package/dist/dso-toolkit/p-f3f0d6c9.entry.js +1 -0
  132. package/dist/dso-toolkit/p-f53860da.entry.js +1 -0
  133. package/dist/dso-toolkit/{p-76a1428a.entry.js → p-f8a08ba1.entry.js} +1 -1
  134. package/dist/esm/annotation.service-d0add3fc.js +19 -0
  135. package/dist/esm/dso-accordion-section.entry.js +2 -2
  136. package/dist/esm/dso-accordion.entry.js +2 -192
  137. package/dist/esm/dso-alert.entry.js +2 -2
  138. package/dist/esm/dso-annotation-button.entry.js +21 -0
  139. package/dist/esm/dso-annotation-output.entry.js +31 -0
  140. package/dist/esm/dso-attachments-counter.entry.js +1 -1
  141. package/dist/esm/dso-autosuggest.entry.js +1 -1
  142. package/dist/esm/dso-badge.entry.js +2 -2
  143. package/dist/esm/dso-banner.entry.js +1 -1
  144. package/dist/esm/dso-card-container.entry.js +1 -1
  145. package/dist/esm/dso-card.entry.js +6 -4
  146. package/dist/esm/dso-date-picker.entry.js +1 -1
  147. package/dist/esm/dso-dropdown-menu.entry.js +46 -2
  148. package/dist/esm/dso-expandable-heading.entry.js +43 -0
  149. package/dist/esm/dso-expandable.entry.js +16 -0
  150. package/dist/esm/dso-header.entry.js +2 -2
  151. package/dist/esm/dso-helpcenter-panel.entry.js +1 -1
  152. package/dist/esm/dso-highlight-box.entry.js +2 -2
  153. package/dist/esm/dso-icon.entry.js +1 -1
  154. package/dist/esm/dso-image-overlay.entry.js +2 -3
  155. package/dist/esm/dso-info-button.entry.js +1 -1
  156. package/dist/esm/dso-info_2.entry.js +5 -4
  157. package/dist/esm/dso-label.entry.js +3 -3
  158. package/dist/esm/dso-list-button.entry.js +1 -1
  159. package/dist/esm/dso-map-base-layers.entry.js +1 -1
  160. package/dist/esm/dso-map-controls.entry.js +11 -3
  161. package/dist/esm/dso-map-overlays.entry.js +1 -1
  162. package/dist/esm/dso-modal.entry.js +1 -1
  163. package/dist/esm/dso-ozon-content.entry.js +1 -1
  164. package/dist/esm/dso-pagination.entry.js +1 -1
  165. package/dist/esm/dso-progress-bar.entry.js +1 -1
  166. package/dist/esm/dso-progress-indicator.entry.js +1 -1
  167. package/dist/esm/dso-responsive-element.entry.js +1 -1
  168. package/dist/esm/dso-slide-toggle.entry.js +1 -1
  169. package/dist/esm/dso-table.entry.js +1 -1
  170. package/dist/esm/dso-toggletip.entry.js +1 -1
  171. package/dist/esm/dso-toolkit.js +2 -2
  172. package/dist/esm/dso-tooltip.entry.js +2 -1799
  173. package/dist/esm/dso-tree-view.entry.js +1 -1
  174. package/dist/esm/dso-viewer-grid.entry.js +1 -1
  175. package/dist/esm/{index-1a4dda48.js → index-ac5a22a3.js} +1 -1
  176. package/dist/esm/index-d6ffb688.js +194 -0
  177. package/dist/esm/index.js +1 -1
  178. package/dist/esm/loader.js +2 -2
  179. package/dist/esm/map-controls.interfaces-2323e8ac.js +3 -0
  180. package/dist/esm/popper-467f7841.js +1799 -0
  181. package/dist/types/components/annotation-button/annotation-button.d.ts +7 -0
  182. package/dist/types/components/annotation-output/annotation-output.d.ts +12 -0
  183. package/dist/types/components/annotation-output/annotation-output.interfaces.d.ts +4 -0
  184. package/dist/types/components/badge/badge.d.ts +1 -1
  185. package/dist/types/components/card/card.d.ts +1 -0
  186. package/dist/types/components/dropdown-menu/dropdown-menu.d.ts +5 -0
  187. package/dist/types/components/expandable/expandable.d.ts +4 -0
  188. package/dist/types/components/expandable-heading/expandable-heading.d.ts +11 -0
  189. package/dist/types/components/expandable-heading/expandable-heading.interfaces.d.ts +5 -0
  190. package/dist/types/components/expandable-heading/heading.d.ts +9 -0
  191. package/dist/types/components/image-overlay/image-overlay.d.ts +0 -1
  192. package/dist/types/components/label/label.d.ts +1 -1
  193. package/dist/types/components/map-controls/map-controls.d.ts +9 -0
  194. package/dist/types/components/map-controls/map-controls.interfaces.d.ts +5 -0
  195. package/dist/types/components/selectable/selectable.d.ts +1 -0
  196. package/dist/types/components.d.ts +113 -4
  197. package/dist/types/index.d.ts +3 -0
  198. package/dist/types/services/annotation.service.d.ts +10 -0
  199. package/package.json +2 -2
  200. package/dist/dso-toolkit/p-04ffcc93.entry.js +0 -1
  201. package/dist/dso-toolkit/p-06b4f78d.entry.js +0 -1
  202. package/dist/dso-toolkit/p-0e5315a3.entry.js +0 -1
  203. package/dist/dso-toolkit/p-36cd87c4.entry.js +0 -1
  204. package/dist/dso-toolkit/p-46acc09f.entry.js +0 -1
  205. package/dist/dso-toolkit/p-6bd8515a.entry.js +0 -1
  206. package/dist/dso-toolkit/p-78ee23c5.entry.js +0 -1
  207. package/dist/dso-toolkit/p-9287b2f2.entry.js +0 -1
  208. package/dist/dso-toolkit/p-c2157b55.entry.js +0 -1
  209. package/dist/dso-toolkit/p-c7ec6e6e.entry.js +0 -1
  210. package/dist/dso-toolkit/p-ce475f06.entry.js +0 -1
  211. package/dist/dso-toolkit/p-d7b2adc3.entry.js +0 -1
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ const index = require('./index-71b733b1.js');
4
+
5
+ class AnnotationService {
6
+ static get state() {
7
+ if (!this._state) {
8
+ AnnotationService.initializeStore();
9
+ }
10
+ return this._state;
11
+ }
12
+ static toggle(id) {
13
+ this._state[id] = !this._state[id];
14
+ }
15
+ static initializeStore() {
16
+ const { state } = index.createStore({});
17
+ AnnotationService._state = state;
18
+ }
19
+ }
20
+
21
+ exports.AnnotationService = AnnotationService;
@@ -1372,7 +1372,7 @@ const HandleIcon = ({ state, icon, attachmentCount }) => {
1372
1372
  }
1373
1373
  };
1374
1374
 
1375
- const accordionSectionCss = "*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}:host{display:block}:host .dso-section-handle{font-size:1em;font-weight:600;line-height:1.375em;margin:0;position:relative}:host .dso-section-handle>a:active{text-decoration:none}:host .dso-section-handle a{text-decoration:none}:host .dso-section-handle a:hover,:host .dso-section-handle a:focus{text-decoration:none}:host .dso-section-handle a:active{text-decoration:underline}:host .dso-section-handle .dso-status{font-weight:400;text-decoration:underline}:host .dso-section-handle>button,:host .dso-section-handle>a{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;font-family:Asap, sans-serif;font-size:1em;font-weight:600;line-height:1.375em;margin:0;padding:12px 16px 12px;text-align:start;width:100%;word-break:break-word}:host .dso-section-handle>button dso-icon,:host .dso-section-handle>a dso-icon{flex-shrink:0}:host .dso-section-handle>button dso-icon.dso-section-handle-chevron,:host .dso-section-handle>a dso-icon.dso-section-handle-chevron{transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1);transform:rotate(0)}:host .dso-section-handle>button>.dso-section-handle-addons:first-child,:host .dso-section-handle>button>dso-icon:first-child,:host .dso-section-handle>a>.dso-section-handle-addons:first-child,:host .dso-section-handle>a>dso-icon:first-child{margin-right:8px}:host .dso-section-handle>button>dso-icon:last-child,:host .dso-section-handle>a>dso-icon:last-child{margin-left:auto}:host .dso-section-handle>button>.dso-section-handle-addons:last-child,:host .dso-section-handle>a>.dso-section-handle-addons:last-child{margin-left:auto}:host .dso-section-handle>button>.dso-section-handle-addons:last-child dso-attachments-counter,:host .dso-section-handle>button>.dso-section-handle-addons:last-child dso-icon,:host .dso-section-handle>a>.dso-section-handle-addons:last-child dso-attachments-counter,:host .dso-section-handle>a>.dso-section-handle-addons:last-child dso-icon{margin-left:16px}:host([open]) .dso-section-body{position:inherit;visibility:inherit}:host([open]) .dso-section-handle>button .dso-section-handle-chevron:first-child,:host([open]) .dso-section-handle>a .dso-section-handle-chevron:first-child{transform:rotate(90deg)}:host([open]) .dso-section-handle>button .dso-section-handle-chevron:last-child,:host([open]) .dso-section-handle>a .dso-section-handle-chevron:last-child{transform:rotate(-180deg)}.dso-section-body{background-color:#fff;border-top:0;margin-top:-4px;overflow-y:hidden}.dso-section-body:not(.dso-animate-ready){position:absolute;visibility:hidden}.dso-section-body .dso-section-body-content{padding:20px 16px 16px}:host(.dso-accordion-default) .dso-section-handle{background-color:#fff;border:1px solid #8b4a6a;border-radius:4px}:host(.dso-accordion-default) .dso-section-handle a,:host(.dso-accordion-default) .dso-section-handle button{color:#8b4a6a}:host(.dso-accordion-default) .dso-section-handle a:hover,:host(.dso-accordion-default) .dso-section-handle a:active,:host(.dso-accordion-default) .dso-section-handle a.active,:host(.dso-accordion-default) .dso-section-handle button:hover,:host(.dso-accordion-default) .dso-section-handle button:active,:host(.dso-accordion-default) .dso-section-handle button.active{color:#8b4a6a}:host(.dso-accordion-default) .dso-section-body{border:1px solid #8b4a6a;border-radius:0 0 4px 4px}:host(.dso-accordion-default[open])>.dso-section-handle{background-color:#8b4a6a;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}:host(.dso-accordion-default[open])>.dso-section-handle a,:host(.dso-accordion-default[open])>.dso-section-handle button{color:#fff}:host(.dso-accordion-default[open])>.dso-section-handle a dso-attachments-counter,:host(.dso-accordion-default[open])>.dso-section-handle button dso-attachments-counter{--dso-attachments-counter-color:#fff;--dso-icon:var(--di-paperclip-wit)}:host(.dso-accordion-default.dso-nested-accordion[open]) .dso-section-body{background-color:#e5e5e5}:host(.dso-accordion-compact) .dso-section-handle{border-bottom:1px solid transparent;border-top:1px solid #ccc}:host(.dso-accordion-compact) .dso-section-handle a,:host(.dso-accordion-compact) .dso-section-handle button{color:#39870c;padding-bottom:11px;padding-left:0;padding-top:11px}:host(.dso-accordion-compact) .dso-section-handle a:hover,:host(.dso-accordion-compact) .dso-section-handle a:active,:host(.dso-accordion-compact) .dso-section-handle a.active,:host(.dso-accordion-compact) .dso-section-handle button:hover,:host(.dso-accordion-compact) .dso-section-handle button:active,:host(.dso-accordion-compact) .dso-section-handle button.active{color:#39870c}:host(.dso-accordion-compact) .dso-section-body .dso-section-body-content{padding-left:32px;padding-top:0;padding-right:0}:host(.dso-accordion-compact.dso-accordion-reverse-align) .dso-section-handle a,:host(.dso-accordion-compact.dso-accordion-reverse-align) .dso-section-handle button{padding-left:16px}:host(.dso-accordion-compact.dso-accordion-reverse-align) .dso-section-body .dso-section-body-content{padding-left:16px;padding-right:0}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle{background-color:transparent}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button{color:#39870c}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a:hover,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a:active,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a.active,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button:hover,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button:active,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button.active{color:#39870c}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a dso-attachments-counter,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button dso-attachments-counter{--dso-attachments-counter-color:#666;--dso-icon:var(--di-paperclip-grijs)}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-body{border-top:0}:host(.dso-accordion-compact.dso-nested-accordion[open])>.dso-section-body{padding-bottom:0}:host(.dso-accordion-compact.dso-nested-accordion[open])>.dso-section-body dso-accordion-section:last-child{border-bottom:0}:host(.dso-accordion-conclusion) .dso-section-handle{background-color:#f2f2f2;border:1px solid #f2f2f2}:host(.dso-accordion-conclusion) .dso-section-handle a,:host(.dso-accordion-conclusion) .dso-section-handle button{color:#191919}:host(.dso-accordion-conclusion) .dso-section-handle a:hover,:host(.dso-accordion-conclusion) .dso-section-handle a:active,:host(.dso-accordion-conclusion) .dso-section-handle a.active,:host(.dso-accordion-conclusion) .dso-section-handle button:hover,:host(.dso-accordion-conclusion) .dso-section-handle button:active,:host(.dso-accordion-conclusion) .dso-section-handle button.active{background-color:#e5e5e5;color:#191919}:host(.dso-accordion-conclusion) .dso-section-body{border:2px solid #f2f2f2}:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle{background-color:#f2f2f2}:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle a,:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle button{color:#191919}:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle a dso-attachments-counter,:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle button dso-attachments-counter{--dso-attachments-counter-color:#666;--dso-icon:var(--di-paperclip-grijs)}:host(.dso-accordion-conclusion.dso-nested-accordion[open]){background-color:#fff}";
1375
+ const accordionSectionCss = "*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}:host{display:block}:host .dso-section-handle{font-size:1em;font-weight:600;line-height:1.375em;margin:0;position:relative}:host .dso-section-handle>a:active{text-decoration:none}:host .dso-section-handle a{text-decoration:none}:host .dso-section-handle a:hover,:host .dso-section-handle a:focus{text-decoration:none}:host .dso-section-handle a:active{text-decoration:underline}:host .dso-section-handle .dso-status{font-weight:400;text-decoration:underline}:host .dso-section-handle>button,:host .dso-section-handle>a{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;font-family:Asap, sans-serif;font-size:1em;font-weight:600;line-height:1.375em;margin:0;padding:12px 16px 12px;text-align:start;width:100%;word-break:break-word}:host .dso-section-handle>button dso-icon,:host .dso-section-handle>a dso-icon{flex-shrink:0}:host .dso-section-handle>button dso-icon.dso-section-handle-chevron,:host .dso-section-handle>a dso-icon.dso-section-handle-chevron{transition:transform 260ms cubic-bezier(0.4, 0, 0.2, 1);transform:rotate(0)}:host .dso-section-handle>button>.dso-section-handle-addons:first-child,:host .dso-section-handle>button>dso-icon:first-child,:host .dso-section-handle>a>.dso-section-handle-addons:first-child,:host .dso-section-handle>a>dso-icon:first-child{margin-right:8px}:host .dso-section-handle>button>dso-icon:last-child,:host .dso-section-handle>a>dso-icon:last-child{margin-left:auto}:host .dso-section-handle>button>.dso-section-handle-addons:last-child,:host .dso-section-handle>a>.dso-section-handle-addons:last-child{margin-left:auto}:host .dso-section-handle>button>.dso-section-handle-addons:last-child dso-attachments-counter,:host .dso-section-handle>button>.dso-section-handle-addons:last-child dso-icon,:host .dso-section-handle>a>.dso-section-handle-addons:last-child dso-attachments-counter,:host .dso-section-handle>a>.dso-section-handle-addons:last-child dso-icon{margin-left:16px}:host([open]) .dso-section-body{position:inherit;visibility:inherit}:host([open]) .dso-section-handle>button .dso-section-handle-chevron:first-child,:host([open]) .dso-section-handle>a .dso-section-handle-chevron:first-child{transform:rotate(90deg)}:host([open]) .dso-section-handle>button .dso-section-handle-chevron:last-child,:host([open]) .dso-section-handle>a .dso-section-handle-chevron:last-child{transform:rotate(-180deg)}.dso-section-body{background-color:#fff;border-top:0;margin-top:-4px;overflow-y:hidden}.dso-section-body:not(.dso-animate-ready){position:absolute;visibility:hidden}.dso-section-body .dso-section-body-content{padding:20px 16px 16px}:host(.dso-accordion-default) .dso-section-handle{background-color:#fff;border:1px solid #8b4a6a;border-radius:4px}:host(.dso-accordion-default) .dso-section-handle a,:host(.dso-accordion-default) .dso-section-handle button{color:#8b4a6a}:host(.dso-accordion-default) .dso-section-handle a:hover,:host(.dso-accordion-default) .dso-section-handle a:active,:host(.dso-accordion-default) .dso-section-handle a.active,:host(.dso-accordion-default) .dso-section-handle button:hover,:host(.dso-accordion-default) .dso-section-handle button:active,:host(.dso-accordion-default) .dso-section-handle button.active{color:#8b4a6a}:host(.dso-accordion-default) .dso-section-body{border:1px solid #8b4a6a;border-radius:0 0 4px 4px}:host(.dso-accordion-default[open])>.dso-section-handle{background-color:#8b4a6a;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}:host(.dso-accordion-default[open])>.dso-section-handle a,:host(.dso-accordion-default[open])>.dso-section-handle button{color:#fff}:host(.dso-accordion-default[open])>.dso-section-handle a dso-attachments-counter,:host(.dso-accordion-default[open])>.dso-section-handle button dso-attachments-counter{--dso-attachments-counter-color:#fff;--dso-icon:var(--di-paperclip-wit)}:host(.dso-accordion-default.dso-nested-accordion[open]) .dso-section-body{background-color:#e5e5e5}:host(.dso-accordion-compact) .dso-section-handle{border-bottom:1px solid transparent;border-top:1px solid #ccc}:host(.dso-accordion-compact) .dso-section-handle a,:host(.dso-accordion-compact) .dso-section-handle button{color:#39870c;padding-bottom:11px;padding-left:0;padding-top:11px}:host(.dso-accordion-compact) .dso-section-handle a:hover,:host(.dso-accordion-compact) .dso-section-handle a:active,:host(.dso-accordion-compact) .dso-section-handle a.active,:host(.dso-accordion-compact) .dso-section-handle button:hover,:host(.dso-accordion-compact) .dso-section-handle button:active,:host(.dso-accordion-compact) .dso-section-handle button.active{color:#39870c}:host(.dso-accordion-compact) .dso-section-body .dso-section-body-content{padding-left:32px;padding-top:0;padding-right:0}:host(.dso-accordion-compact.dso-accordion-reverse-align) .dso-section-handle a,:host(.dso-accordion-compact.dso-accordion-reverse-align) .dso-section-handle button{padding-left:16px}:host(.dso-accordion-compact.dso-accordion-reverse-align) .dso-section-body .dso-section-body-content{padding-left:16px;padding-right:0}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle{background-color:transparent}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button{color:#39870c}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a:hover,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a:active,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a.active,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button:hover,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button:active,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button.active{color:#39870c}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a dso-attachments-counter,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button dso-attachments-counter{--dso-attachments-counter-color:#666;--dso-icon:var(--di-paperclip-grijs)}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-body{border-top:0}:host(.dso-accordion-compact.dso-nested-accordion[open])>.dso-section-body{padding-bottom:0}:host(.dso-accordion-compact.dso-nested-accordion[open])>.dso-section-body dso-accordion-section:last-child{border-bottom:0}:host(.dso-accordion-conclusion) .dso-section-handle{background-color:#f2f2f2;border:1px solid #f2f2f2}:host(.dso-accordion-conclusion) .dso-section-handle a,:host(.dso-accordion-conclusion) .dso-section-handle button{color:#000}:host(.dso-accordion-conclusion) .dso-section-handle a:hover,:host(.dso-accordion-conclusion) .dso-section-handle a:active,:host(.dso-accordion-conclusion) .dso-section-handle a.active,:host(.dso-accordion-conclusion) .dso-section-handle button:hover,:host(.dso-accordion-conclusion) .dso-section-handle button:active,:host(.dso-accordion-conclusion) .dso-section-handle button.active{background-color:#e5e5e5}:host(.dso-accordion-conclusion) .dso-section-handle a dso-attachments-counter,:host(.dso-accordion-conclusion) .dso-section-handle button dso-attachments-counter{--dso-attachments-counter-color:#000;--dso-icon:var(--di-paperclip-zwart)}:host(.dso-accordion-conclusion) .dso-section-body{border:2px solid #f2f2f2}:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle{background-color:#f2f2f2}:host(.dso-accordion-conclusion.dso-nested-accordion[open]){background-color:#fff}";
1376
1376
 
1377
1377
  const AccordionSection = class {
1378
1378
  constructor(hostRef) {
@@ -3,197 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-ecec64a0.js');
6
-
7
- const appendToMap = (map, propName, value) => {
8
- const items = map.get(propName);
9
- if (!items) {
10
- map.set(propName, [value]);
11
- }
12
- else if (!items.includes(value)) {
13
- items.push(value);
14
- }
15
- };
16
- const debounce = (fn, ms) => {
17
- let timeoutId;
18
- return (...args) => {
19
- if (timeoutId) {
20
- clearTimeout(timeoutId);
21
- }
22
- timeoutId = setTimeout(() => {
23
- timeoutId = 0;
24
- fn(...args);
25
- }, ms);
26
- };
27
- };
28
-
29
- /**
30
- * Check if a possible element isConnected.
31
- * The property might not be there, so we check for it.
32
- *
33
- * We want it to return true if isConnected is not a property,
34
- * otherwise we would remove these elements and would not update.
35
- *
36
- * Better leak in Edge than to be useless.
37
- */
38
- const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
39
- const cleanupElements = debounce((map) => {
40
- for (let key of map.keys()) {
41
- map.set(key, map.get(key).filter(isConnected));
42
- }
43
- }, 2000);
44
- const stencilSubscription = () => {
45
- if (typeof index.getRenderingRef !== 'function') {
46
- // If we are not in a stencil project, we do nothing.
47
- // This function is not really exported by @stencil/core.
48
- return {};
49
- }
50
- const elmsToUpdate = new Map();
51
- return {
52
- dispose: () => elmsToUpdate.clear(),
53
- get: (propName) => {
54
- const elm = index.getRenderingRef();
55
- if (elm) {
56
- appendToMap(elmsToUpdate, propName, elm);
57
- }
58
- },
59
- set: (propName) => {
60
- const elements = elmsToUpdate.get(propName);
61
- if (elements) {
62
- elmsToUpdate.set(propName, elements.filter(index.forceUpdate));
63
- }
64
- cleanupElements(elmsToUpdate);
65
- },
66
- reset: () => {
67
- elmsToUpdate.forEach((elms) => elms.forEach(index.forceUpdate));
68
- cleanupElements(elmsToUpdate);
69
- },
70
- };
71
- };
72
-
73
- const unwrap = (val) => (typeof val === 'function' ? val() : val);
74
- const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
75
- const unwrappedState = unwrap(defaultState);
76
- let states = new Map(Object.entries(unwrappedState !== null && unwrappedState !== void 0 ? unwrappedState : {}));
77
- const handlers = {
78
- dispose: [],
79
- get: [],
80
- set: [],
81
- reset: [],
82
- };
83
- const reset = () => {
84
- var _a;
85
- // When resetting the state, the default state may be a function - unwrap it to invoke it.
86
- // otherwise, the state won't be properly reset
87
- states = new Map(Object.entries((_a = unwrap(defaultState)) !== null && _a !== void 0 ? _a : {}));
88
- handlers.reset.forEach((cb) => cb());
89
- };
90
- const dispose = () => {
91
- // Call first dispose as resetting the state would
92
- // cause less updates ;)
93
- handlers.dispose.forEach((cb) => cb());
94
- reset();
95
- };
96
- const get = (propName) => {
97
- handlers.get.forEach((cb) => cb(propName));
98
- return states.get(propName);
99
- };
100
- const set = (propName, value) => {
101
- const oldValue = states.get(propName);
102
- if (shouldUpdate(value, oldValue, propName)) {
103
- states.set(propName, value);
104
- handlers.set.forEach((cb) => cb(propName, value, oldValue));
105
- }
106
- };
107
- const state = (typeof Proxy === 'undefined'
108
- ? {}
109
- : new Proxy(unwrappedState, {
110
- get(_, propName) {
111
- return get(propName);
112
- },
113
- ownKeys(_) {
114
- return Array.from(states.keys());
115
- },
116
- getOwnPropertyDescriptor() {
117
- return {
118
- enumerable: true,
119
- configurable: true,
120
- };
121
- },
122
- has(_, propName) {
123
- return states.has(propName);
124
- },
125
- set(_, propName, value) {
126
- set(propName, value);
127
- return true;
128
- },
129
- }));
130
- const on = (eventName, callback) => {
131
- handlers[eventName].push(callback);
132
- return () => {
133
- removeFromArray(handlers[eventName], callback);
134
- };
135
- };
136
- const onChange = (propName, cb) => {
137
- const unSet = on('set', (key, newValue) => {
138
- if (key === propName) {
139
- cb(newValue);
140
- }
141
- });
142
- // We need to unwrap the defaultState because it might be a function.
143
- // Otherwise we might not be sending the right reset value.
144
- const unReset = on('reset', () => cb(unwrap(defaultState)[propName]));
145
- return () => {
146
- unSet();
147
- unReset();
148
- };
149
- };
150
- const use = (...subscriptions) => {
151
- const unsubs = subscriptions.reduce((unsubs, subscription) => {
152
- if (subscription.set) {
153
- unsubs.push(on('set', subscription.set));
154
- }
155
- if (subscription.get) {
156
- unsubs.push(on('get', subscription.get));
157
- }
158
- if (subscription.reset) {
159
- unsubs.push(on('reset', subscription.reset));
160
- }
161
- if (subscription.dispose) {
162
- unsubs.push(on('dispose', subscription.dispose));
163
- }
164
- return unsubs;
165
- }, []);
166
- return () => unsubs.forEach((unsub) => unsub());
167
- };
168
- const forceUpdate = (key) => {
169
- const oldValue = states.get(key);
170
- handlers.set.forEach((cb) => cb(key, oldValue, oldValue));
171
- };
172
- return {
173
- state,
174
- get,
175
- set,
176
- on,
177
- onChange,
178
- use,
179
- dispose,
180
- reset,
181
- forceUpdate,
182
- };
183
- };
184
- const removeFromArray = (array, item) => {
185
- const index = array.indexOf(item);
186
- if (index >= 0) {
187
- array[index] = array[array.length - 1];
188
- array.length--;
189
- }
190
- };
191
-
192
- const createStore = (defaultState, shouldUpdate) => {
193
- const map = createObservableMap(defaultState, shouldUpdate);
194
- map.use(stencilSubscription());
195
- return map;
196
- };
6
+ const index$1 = require('./index-71b733b1.js');
197
7
 
198
8
  const accordionCss = ":host{display:block}*,*::after,*::before{box-sizing:border-box}";
199
9
 
@@ -205,7 +15,7 @@ const Accordion = class {
205
15
  this.variant = "default";
206
16
  this.reverseAlign = false;
207
17
  this.allowMultipleOpen = false;
208
- const { state } = createStore({
18
+ const { state } = index$1.createStore({
209
19
  variant: this.variant || "default",
210
20
  reverseAlign: this.reverseAlign,
211
21
  allowMultipleOpen: this.allowMultipleOpen,
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-ecec64a0.js');
6
6
  const clsx_m = require('./clsx.m-b81c6b86.js');
7
7
 
8
- const alertCss = ":host{display:block}:host(:not(:first-child)){margin-top:24px}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.alert{border:1px solid transparent;line-height:1.5;margin-bottom:24px;min-height:64px;position:relative}@media screen and (min-width: 481px){.alert{padding:19px 16px 19px 63px}}@media screen and (max-width: 480px){.alert{padding:63px 16px 16px}}.alert:not(:first-child){margin-top:24px}.alert.alert-success{color:#191919;background-color:#e4f1d4;border-color:#e4f1d4}.alert.alert-error{color:#191919;background-color:#f5d8dc;border-color:#f5d8dc}.alert.alert-warning{color:#191919;background-color:#f8f6cc;border-color:#f8f6cc}.alert.alert-info{color:#191919;background-color:#e1ecf7;border-color:#e1ecf7}.alert dso-icon{left:15px;position:absolute;top:15px;height:32px;width:32px}";
8
+ const alertCss = ":host{display:block}:host(:not(:first-child)){margin-top:24px}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.alert{border:1px solid transparent;line-height:1.5;margin-bottom:24px;min-height:64px;position:relative}@media screen and (min-width: 481px){.alert{padding:19px 16px 19px 63px}}@media screen and (max-width: 480px){.alert{padding:63px 16px 16px}}.alert:not(:first-child){margin-top:24px}.alert.alert-success{color:#000;background-color:#e4f1d4;border-color:#e4f1d4}.alert.alert-error{color:#000;background-color:#f5d8dc;border-color:#f5d8dc}.alert.alert-warning{color:#000;background-color:#f8f6cc;border-color:#f8f6cc}.alert.alert-info{color:#000;background-color:#e1ecf7;border-color:#e1ecf7}.alert dso-icon{left:15px;position:absolute;top:15px;height:32px;width:32px}";
9
9
 
10
10
  const Alert = class {
11
11
  constructor(hostRef) {
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-ecec64a0.js');
6
+ const annotation_service = require('./annotation.service-e980f478.js');
7
+ require('./index-71b733b1.js');
8
+
9
+ const annotationButtonCss = "dso-annotation-button{display:block}";
10
+
11
+ const AnnotationButton = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.identifier = undefined;
15
+ }
16
+ componentDidLoad() {
17
+ this.annotationOutput = document.querySelector(`dso-annotation-output[identifier='${this.identifier}']`);
18
+ }
19
+ render() {
20
+ return (index.h("button", { type: "button", class: "dso-tertiary", "aria-controls": this.identifier, "aria-expanded": annotation_service.AnnotationService.state[this.identifier] ? "true" : "false", onClick: (e) => { var _a; return (_a = this.annotationOutput) === null || _a === void 0 ? void 0 : _a.toggleAnnotation(e, this.identifier); } }, index.h("dso-icon", { icon: "label" }), index.h("span", { class: "sr-only" }, "Toelichting bekijken")));
21
+ }
22
+ };
23
+ AnnotationButton.style = annotationButtonCss;
24
+
25
+ exports.dso_annotation_button = AnnotationButton;
@@ -0,0 +1,35 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-ecec64a0.js');
6
+ const annotation_service = require('./annotation.service-e980f478.js');
7
+ require('./index-71b733b1.js');
8
+
9
+ const annotationOutputCss = "*,*::after,*::before{box-sizing:border-box}dso-annotation-output{display:block}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.dso-annotation-header{align-items:center;background-color:#f2f2f2;clear:both;display:flex;margin-bottom:2px;margin-top:8px;padding-left:16px;padding-right:8px;padding-top:8px;padding-bottom:8px}.dso-annotation-header>*[slot=title]{color:#000;font-size:1.25rem;margin-bottom:0;margin-top:0}.dso-annotation-header>*:nth-child(2){margin-left:auto}dso-responsive-element[small] .dso-annotation-header,dso-responsive-element[medium] .dso-annotation-header{display:grid;row-gap:8px}dso-responsive-element[small] .dso-annotation-header *[slot=title],dso-responsive-element[medium] .dso-annotation-header *[slot=title]{grid-row:1;grid-column:1}dso-responsive-element[small] .dso-annotation-header *[slot=addons],dso-responsive-element[medium] .dso-annotation-header *[slot=addons]{grid-row:2;grid-column:1;margin-left:initial}dso-responsive-element[small] .dso-annotation-header .dso-annotation-close-button,dso-responsive-element[medium] .dso-annotation-header .dso-annotation-close-button{grid-row:1;grid-column:2;margin-left:8px;text-align:end}.dso-annotation-content{background-color:#f2f2f2;padding-left:16px;padding-right:8px;padding-top:8px;padding-bottom:8px}.dso-annotation-close-button{margin-left:32px}.dso-annotation-prefix{font-style:italic}";
10
+
11
+ const AnnotationOutput = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.dsoToggle = index.createEvent(this, "dsoToggle", 7);
15
+ this.identifier = undefined;
16
+ this.annotationPrefix = undefined;
17
+ }
18
+ async toggleAnnotation(e, identifier) {
19
+ annotation_service.AnnotationService.toggle(identifier);
20
+ this.dsoToggle.emit({
21
+ originalEvent: e,
22
+ open: annotation_service.AnnotationService.state[this.identifier],
23
+ });
24
+ }
25
+ toggleHandler(e) {
26
+ this.toggleAnnotation(e, this.identifier);
27
+ }
28
+ render() {
29
+ const expandableProperties = annotation_service.AnnotationService.state[this.identifier] ? { open: true } : {};
30
+ return (index.h("dso-responsive-element", null, index.h("dso-expandable", Object.assign({ id: this.identifier }, expandableProperties), this.annotationPrefix && index.h("span", { class: "dso-annotation-prefix" }, this.annotationPrefix), index.h("div", { class: "dso-annotation-header" }, index.h("slot", { name: "title" }), index.h("slot", { name: "addons" }), index.h("button", { type: "button", class: "dso-tertiary dso-annotation-close-button", onClick: (e) => this.toggleHandler(e) }, index.h("dso-icon", { icon: "times" }), index.h("span", { class: "sr-only" }, "Toelichting sluiten"))), index.h("div", { class: "dso-annotation-content" }, index.h("slot", null)))));
31
+ }
32
+ };
33
+ AnnotationOutput.style = annotationOutputCss;
34
+
35
+ exports.dso_annotation_output = AnnotationOutput;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-ecec64a0.js');
6
6
  const clsx_m = require('./clsx.m-b81c6b86.js');
7
7
 
8
- const badgeCss = ":host{display:inline-block}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.dso-badge{background-color:#666;border:1px solid #666;border-radius:1em;color:#fff;display:inline-block;font-size:0.875em;line-height:1;min-width:1.5rem;padding:4px 8px;text-align:center}.dso-badge.badge-info{background-color:#6ca4d9;border-color:#6ca4d9;color:#191919}.dso-badge.badge-primary{background-color:#275937;border-color:#275937;color:#fff}.dso-badge.badge-success{background-color:#39870c;border-color:#39870c;color:#fff}.dso-badge.badge-warning{background-color:#dcd400;border-color:#dcd400;color:#191919}.dso-badge.badge-danger{background-color:#ce3f51;border-color:#ce3f51;color:#fff}.dso-badge.badge-error{background-color:#ce3f51;border-color:#ce3f51;color:#fff}.dso-badge.badge-outline{background-color:#fff;border-color:#191919;color:#191919}";
8
+ const badgeCss = ":host{display:inline-block}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.dso-badge{background-color:#666;border:1px solid #666;border-radius:1em;color:#fff;display:inline-block;font-size:0.875em;line-height:1;min-width:1.5rem;padding:4px 8px;text-align:center}.dso-badge.badge-info{background-color:#6ca4d9;border-color:#6ca4d9;color:#000}.dso-badge.badge-primary{background-color:#275937;border-color:#275937;color:#fff}.dso-badge.badge-success{background-color:#39870c;border-color:#39870c;color:#fff}.dso-badge.badge-warning{background-color:#dcd400;border-color:#dcd400;color:#000}.dso-badge.badge-danger{background-color:#ce3f51;border-color:#ce3f51;color:#fff}.dso-badge.badge-error{background-color:#ce3f51;border-color:#ce3f51;color:#fff}.dso-badge.badge-outline{background-color:#fff;border-color:#191919;color:#191919}.dso-badge.badge-attention{background-color:#8b4a6a;border-color:#8b4a6a;color:#fff}";
9
9
 
10
10
  const Badge = class {
11
11
  constructor(hostRef) {
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-ecec64a0.js');
6
+ const clsx_m = require('./clsx.m-b81c6b86.js');
6
7
  const isModifiedEvent = require('./is-modified-event-dcab03a0.js');
7
8
 
8
9
  const isInteractiveElement = (element) => {
@@ -12,7 +13,7 @@ const isInteractiveElement = (element) => {
12
13
  element.tagName.startsWith("DSO-TOGGLETIP"));
13
14
  };
14
15
 
15
- const cardCss = ":host .dso-card-selectable,:host .dso-card-image{grid-row:span 2}*,*::after,*::before{box-sizing:border-box}:host{display:block}:host .dso-card-heading{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}@media screen and (max-width: 480px){:host .dso-card-heading{flex-wrap:wrap}}:host .dso-card-image{margin-right:8px}";
16
+ const cardCss = ":host .dso-card-selectable,:host .dso-card-image{grid-row:span 2}*,*::after,*::before{box-sizing:border-box}:host{display:block}:host .dso-card-heading{align-items:center;display:flex;margin-bottom:8px}@media screen and (max-width: 480px){:host .dso-card-heading{flex-wrap:wrap}}:host .dso-card-image{margin-right:8px}";
16
17
 
17
18
  const Card = class {
18
19
  constructor(hostRef) {
@@ -20,9 +21,10 @@ const Card = class {
20
21
  this.dsoCardClicked = index.createEvent(this, "dsoCardClicked", 7);
21
22
  this.isSelectable = false;
22
23
  this.hasImage = false;
24
+ this.clickable = true;
23
25
  }
24
26
  clickEventHandler(e) {
25
- if (!(e.target instanceof HTMLElement)) {
27
+ if (!(e.target instanceof HTMLElement) || !this.clickable) {
26
28
  return;
27
29
  }
28
30
  let element = e.target;
@@ -44,7 +46,7 @@ const Card = class {
44
46
  this.hasImage = this.host.querySelector("*[slot = 'image']") !== null;
45
47
  }
46
48
  render() {
47
- return (index.h(index.Host, { onClick: (e) => this.clickEventHandler(e) }, index.h("div", { class: "dso-card-selectable", hidden: !this.isSelectable }, index.h("slot", { name: "selectable" })), index.h("div", { class: "dso-card-image", hidden: !this.hasImage }, index.h("slot", { name: "image" })), index.h("div", { class: "dso-card-heading" }, index.h("slot", { name: "heading" }), index.h("slot", { name: "interactions" })), index.h("div", { class: "dso-card-content" }, index.h("slot", { name: "content" }))));
49
+ return (index.h(index.Host, { class: clsx_m.clsx({ "dso-not-clickable": !this.clickable }), onClick: (e) => this.clickEventHandler(e) }, index.h("div", { class: "dso-card-selectable", hidden: !this.isSelectable }, index.h("slot", { name: "selectable" })), index.h("div", { class: "dso-card-image", hidden: !this.hasImage }, index.h("slot", { name: "image" })), index.h("div", { class: "dso-card-heading" }, index.h("slot", { name: "heading" }), index.h("slot", { name: "interactions" })), index.h("div", { class: "dso-card-content" }, index.h("slot", { name: "content" }))));
48
50
  }
49
51
  get host() { return index.getElement(this); }
50
52
  };
@@ -5,8 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-ecec64a0.js');
6
6
  const index_esm = require('./index.esm-03a9e0b4.js');
7
7
  const v4 = require('./v4-abb5dc0c.js');
8
+ const popper = require('./popper-6adb1c1a.js');
8
9
 
9
- const dropdownMenuCss = ":host(:focus){outline:none}:host{display:inline-block;position:relative}";
10
+ const dropdownMenuCss = ":host(:focus){outline:none}:host{display:inline-block}";
10
11
 
11
12
  const DropdownMenu = class {
12
13
  constructor(hostRef) {
@@ -47,6 +48,15 @@ const DropdownMenu = class {
47
48
  this.open = false;
48
49
  this.dropdownAlign = "left";
49
50
  this.checkable = false;
51
+ this.boundary = undefined;
52
+ }
53
+ watchPosition() {
54
+ if (!this.popper) {
55
+ return;
56
+ }
57
+ this.popper.setOptions({
58
+ placement: this.dropdownAlign === "right" ? "bottom-end" : "bottom-start",
59
+ });
50
60
  }
51
61
  get button() {
52
62
  const button = this.host.querySelector('button[slot="toggle"]');
@@ -79,8 +89,35 @@ const DropdownMenu = class {
79
89
  li.setAttribute("role", "none");
80
90
  }
81
91
  }
92
+ if (this.popper) {
93
+ return;
94
+ }
95
+ const dropdownOptions = this.host.querySelector(".dso-dropdown-options");
96
+ if (!(dropdownOptions instanceof HTMLElement)) {
97
+ throw new Error("dropdown options element is not instanceof HTMLElement");
98
+ }
99
+ this.popper = popper.createPopper(this.button, dropdownOptions, {
100
+ placement: this.dropdownAlign === "right" ? "bottom-end" : "bottom-start",
101
+ modifiers: [
102
+ {
103
+ name: "offset",
104
+ options: {
105
+ offset: [0, 2], // 2px margin between button and options
106
+ },
107
+ },
108
+ {
109
+ name: "preventOverflow",
110
+ options: {
111
+ boundary: this.boundary ? document.querySelector(this.boundary) : null,
112
+ },
113
+ enabled: this.boundary !== undefined,
114
+ },
115
+ ],
116
+ });
82
117
  }
83
118
  componentDidRender() {
119
+ var _a;
120
+ (_a = this.popper) === null || _a === void 0 ? void 0 : _a.update();
84
121
  for (const li of Array.from(this.host.getElementsByTagName("li"))) {
85
122
  for (const tab of index_esm.tabbable(li)) {
86
123
  tab.setAttribute("role", this.checkable ? "menuitemradio" : "menuitem");
@@ -101,6 +138,10 @@ const DropdownMenu = class {
101
138
  }
102
139
  });
103
140
  }
141
+ disconnectedCallback() {
142
+ var _a;
143
+ (_a = this.popper) === null || _a === void 0 ? void 0 : _a.destroy();
144
+ }
104
145
  getActiveElement(root = document) {
105
146
  const activeEl = root.activeElement;
106
147
  if (!activeEl) {
@@ -127,6 +168,9 @@ const DropdownMenu = class {
127
168
  return (index.h(index.Host, { onFocusout: this.focusOutListener, tabindex: this.open ? "-1" : undefined }, index.h("slot", { name: "toggle" }), index.h("div", { hidden: !this.open }, index.h("slot", null))));
128
169
  }
129
170
  get host() { return index.getElement(this); }
171
+ static get watchers() { return {
172
+ "dropdownAlign": ["watchPosition"]
173
+ }; }
130
174
  };
131
175
  DropdownMenu.style = dropdownMenuCss;
132
176
 
@@ -0,0 +1,47 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-ecec64a0.js');
6
+ const clsx_m = require('./clsx.m-b81c6b86.js');
7
+ const v4 = require('./v4-abb5dc0c.js');
8
+
9
+ const Heading = ({ heading, ref, className }, children) => {
10
+ switch (heading) {
11
+ default:
12
+ case "h2":
13
+ return (index.h("h2", { ref: ref, class: className }, children));
14
+ case "h3":
15
+ return (index.h("h3", { ref: ref, class: className }, children));
16
+ case "h4":
17
+ return (index.h("h4", { ref: ref, class: className }, children));
18
+ case "h5":
19
+ return (index.h("h5", { ref: ref, class: className }, children));
20
+ case "h6":
21
+ return (index.h("h6", { ref: ref, class: className }, children));
22
+ }
23
+ };
24
+
25
+ const expandableHeadingCss = "h1,.h1,h2,.h2,h3,.h3{margin-bottom:16px;margin-top:24px}h1,.h1{line-height:1.25}h1{color:#275937;font-size:2rem;font-weight:700}h2,.h2{line-height:1.33}h2{color:#275937;font-size:1.5rem;font-weight:700}h3,.h3{line-height:1.2}h3{color:#275937;font-size:1.25rem;font-weight:600}h4,.h4,h5,.h5,h6,.h6{margin-bottom:16px;margin-top:12px}h4,.h4{line-height:1.5}h4{color:#275937;font-size:1rem;font-weight:600}h5,.h5{line-height:1.5}h5{color:#191919;font-size:1rem;font-weight:600}h6,.h6{line-height:1.5}:host{display:block}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.expandable-heading{align-items:center;display:flex;margin-bottom:8px;margin-top:8px}.expandable-heading h2,.expandable-heading h3,.expandable-heading h4,.expandable-heading h5,.expandable-heading h6{font-size:1rem;margin-bottom:0;margin-right:8px;margin-top:0}.expandable-heading button{align-items:flex-start;cursor:pointer;background-color:transparent;border:0;color:inherit;display:flex;line-height:24px;font-size:inherit;font-weight:inherit;padding:0;text-align:left}.expandable-heading button>dso-icon{flex-shrink:0}.expandable-heading.dso-expandable-heading-black button{color:#000}dso-expandable{padding-left:24px}.addons-end{display:inline-block;margin-left:auto}";
26
+
27
+ const ExpandableHeading = class {
28
+ constructor(hostRef) {
29
+ index.registerInstance(this, hostRef);
30
+ this.dsoToggle = index.createEvent(this, "dsoToggle", 7);
31
+ this.identifier = v4.v4();
32
+ this.open = undefined;
33
+ this.heading = "h2";
34
+ this.color = "default";
35
+ }
36
+ toggle(e) {
37
+ this.open = !this.open;
38
+ this.dsoToggle.emit({ originalEvent: e, open: this.open });
39
+ }
40
+ render() {
41
+ const expandableProperties = this.open ? { open: true } : {};
42
+ return (index.h(index.Fragment, null, index.h("div", { class: clsx_m.clsx("expandable-heading", this.color === "black" ? "dso-expandable-heading-black" : "") }, index.h(Heading, { heading: this.heading }, index.h("button", { type: "button", "aria-expanded": this.open ? "true" : "false", "aria-controls": this.identifier, onClick: (e) => this.toggle(e) }, index.h("dso-icon", { icon: this.open ? "chevron-down" : "chevron-right" }), index.h("slot", { name: "title" }))), index.h("slot", { name: "addons-start" }), index.h("div", { class: "addons-end" }, index.h("slot", { name: "addons-end" }))), index.h("dso-expandable", Object.assign({ id: this.identifier }, expandableProperties), index.h("slot", null))));
43
+ }
44
+ };
45
+ ExpandableHeading.style = expandableHeadingCss;
46
+
47
+ exports.dso_expandable_heading = ExpandableHeading;
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-ecec64a0.js');
6
+
7
+ const expandableCss = ":host{display:none}:host([open]){display:block}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}";
8
+
9
+ const Expandable = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.open = undefined;
13
+ }
14
+ render() {
15
+ return (index.h(index.Host, { "aria-hidden": this.open ? "false" : "true" }, index.h("slot", null)));
16
+ }
17
+ };
18
+ Expandable.style = expandableCss;
19
+
20
+ exports.dso_expandable = Expandable;
@@ -7,7 +7,7 @@ const clsx_m = require('./clsx.m-b81c6b86.js');
7
7
  const index$1 = require('./index-794ad37a.js');
8
8
  const isModifiedEvent = require('./is-modified-event-dcab03a0.js');
9
9
 
10
- const headerCss = ".sc-dso-header-h{display:block}.dso-header.sc-dso-header{border-bottom:1px solid #ccc;display:flex;flex-wrap:wrap;position:relative}@media screen and (min-width: 768px){.dso-header.sc-dso-header{align-items:center}}@media screen and (max-width: 991px){.dso-header.use-drop-down.sc-dso-header{flex-wrap:nowrap}}.dso-header.sc-dso-header .dso-nav.sc-dso-header{border:0}.logo-container.sc-dso-header{display:flex;flex-wrap:wrap;gap:0 24px;padding-bottom:16px;padding-top:16px}.login.sc-dso-header .dso-tertiary.sc-dso-header,.logout.sc-dso-header .dso-tertiary.sc-dso-header{cursor:pointer;font-family:Asap, sans-serif;font-weight:600;vertical-align:text-bottom}.profile.sc-dso-header a.sc-dso-header,.logout.sc-dso-header a.sc-dso-header,.login.sc-dso-header a.sc-dso-header{text-decoration:none;color:#39870c;font-weight:600}.profile.sc-dso-header a.sc-dso-header:hover,.profile.sc-dso-header a.sc-dso-header:focus,.logout.sc-dso-header a.sc-dso-header:hover,.logout.sc-dso-header a.sc-dso-header:focus,.login.sc-dso-header a.sc-dso-header:hover,.login.sc-dso-header a.sc-dso-header:focus{text-decoration:none}.profile.sc-dso-header a.sc-dso-header:active,.logout.sc-dso-header a.sc-dso-header:active,.login.sc-dso-header a.sc-dso-header:active{text-decoration:underline}.dso-header-session.sc-dso-header{display:flex;margin-left:auto}.dso-header-session.sc-dso-header .profile.sc-dso-header a.sc-dso-header{margin-left:8px}.dso-header-session.sc-dso-header .profile.sc-dso-header+.logout.sc-dso-header{border-left:3px solid #ccc;margin-left:16px;padding-left:16px}.dso-navbar.sc-dso-header{flex-basis:100%}.dso-navbar.sc-dso-header .dso-dropdown-options.sc-dso-header{border-top:1px solid #ccc}dso-dropdown-menu.sc-dso-header button.sc-dso-header{align-items:flex-end;background-color:transparent;border:0;display:flex;font-family:Asap, sans-serif;padding-right:32px}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{border:0;border-radius:0}@media screen and (min-width: 768px){dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{width:375px}}@media screen and (max-width: 767px){dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{width:100%}}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header a.sc-dso-header{color:#275937;font-size:1.25rem;padding:16px;white-space:pre-wrap}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header a.sc-dso-header:focus{color:#fff}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header a.sc-dso-header:hover{background-color:#fff;color:#275937;text-decoration:underline}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.dso-active.sc-dso-header a.sc-dso-header{font-weight:600}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header+li.sc-dso-header{border-top:1px solid #ccc}.dropdown.sc-dso-header{margin-left:auto}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header{position:static}@media screen and (max-width: 767px){.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header{margin-top:28px}}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{right:0;top:100%}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header{color:#39870c;font-size:16px;font-weight:600;line-height:normal;position:relative}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header::after{margin-left:8px;position:absolute;right:0px;top:50%;transform:translateY(-50%)}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header:hover,.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header:active{cursor:pointer;text-decoration:underline}.dso-nav.sc-dso-header{align-items:end;column-gap:32px;display:flex;list-style:none;margin-bottom:0;margin-top:0;padding-left:0}.dso-nav.sc-dso-header>li.sc-dso-header{margin-bottom:4px}.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header{display:block}.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header,.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header:hover,.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header:focus,.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header:visited{color:#275937}.dso-nav.sc-dso-header>li.dso-active.sc-dso-header,.dso-nav.sc-dso-header>li.is-active.sc-dso-header{margin-bottom:0}.dso-nav.sc-dso-header>li.dso-active.sc-dso-header>a.sc-dso-header,.dso-nav.sc-dso-header>li.is-active.sc-dso-header>a.sc-dso-header{border-bottom:4px solid #8b4a6a;font-weight:bold}.dso-nav.dso-nav-main.sc-dso-header{display:flex !important}.dso-nav.dso-nav-main.sc-dso-header>li.sc-dso-header>a.sc-dso-header{text-decoration:none;font-size:1.25em;line-height:1;margin-top:8px;padding:16px 0;white-space:nowrap}.dso-nav.dso-nav-main.sc-dso-header>li.sc-dso-header>a.sc-dso-header:hover,.dso-nav.dso-nav-main.sc-dso-header>li.sc-dso-header>a.sc-dso-header:focus,.dso-nav.dso-nav-main.sc-dso-header>li.sc-dso-header>a.sc-dso-header:active{text-decoration:underline}.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{left:-1rem;top:calc(100% + 3px)}.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header{font-size:1.25em;line-height:1;margin-top:8px;padding:16px 0;align-items:center;color:#275937;padding-right:32px}.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header:hover,.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header:active{cursor:pointer;text-decoration:underline}.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header::after{margin-left:8px;position:absolute;right:0px;top:auto;transform:none}.dso-nav.sc-dso-header .menu-user-home.sc-dso-header{margin-left:auto}.dso-nav.sc-dso-header .menu-user-home.sc-dso-header dso-icon.sc-dso-header{height:1em;margin-right:8px;position:relative;top:-2px;width:1.2em}";
10
+ const headerCss = ".sc-dso-header-h{display:block}.dso-header.sc-dso-header{border-bottom:1px solid #ccc;display:flex;flex-wrap:wrap;position:relative}@media screen and (min-width: 768px){.dso-header.sc-dso-header{align-items:center}}@media screen and (max-width: 991px){.dso-header.use-drop-down.sc-dso-header{flex-wrap:nowrap}}.dso-header.sc-dso-header .dso-nav.sc-dso-header{border:0}.logo-container.sc-dso-header{display:flex;flex-wrap:wrap;gap:0 24px;padding-bottom:16px;padding-top:16px}.login.sc-dso-header .dso-tertiary.sc-dso-header,.logout.sc-dso-header .dso-tertiary.sc-dso-header{cursor:pointer;font-family:Asap, sans-serif;font-weight:600;vertical-align:text-bottom}.profile.sc-dso-header a.sc-dso-header,.logout.sc-dso-header a.sc-dso-header,.login.sc-dso-header a.sc-dso-header{text-decoration:none;color:#39870c;font-weight:600}.profile.sc-dso-header a.sc-dso-header:hover,.profile.sc-dso-header a.sc-dso-header:focus,.logout.sc-dso-header a.sc-dso-header:hover,.logout.sc-dso-header a.sc-dso-header:focus,.login.sc-dso-header a.sc-dso-header:hover,.login.sc-dso-header a.sc-dso-header:focus{text-decoration:none}.profile.sc-dso-header a.sc-dso-header:active,.logout.sc-dso-header a.sc-dso-header:active,.login.sc-dso-header a.sc-dso-header:active{text-decoration:underline}.dso-header-session.sc-dso-header{display:flex;margin-left:auto}.dso-header-session.sc-dso-header .profile.sc-dso-header a.sc-dso-header{margin-left:8px}.dso-header-session.sc-dso-header .profile.sc-dso-header+.logout.sc-dso-header{border-left:3px solid #ccc;margin-left:16px;padding-left:16px}.dso-navbar.sc-dso-header{flex-basis:100%}.dso-navbar.sc-dso-header .dso-dropdown-options.sc-dso-header{border-top:1px solid #ccc}dso-dropdown-menu.sc-dso-header button.sc-dso-header{align-items:flex-end;background-color:transparent;border:0;display:flex;font-family:Asap, sans-serif;padding-right:32px}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{border:0;border-radius:0}@media screen and (min-width: 768px){dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{width:375px}}@media screen and (max-width: 767px){dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{width:100%}}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header a.sc-dso-header{color:#275937;font-size:1.25rem;padding:16px;white-space:pre-wrap}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header a.sc-dso-header:focus{color:#fff}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header a.sc-dso-header:hover{background-color:#fff;color:#275937;text-decoration:underline}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.dso-active.sc-dso-header a.sc-dso-header{font-weight:600}dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header ul.sc-dso-header li.sc-dso-header+li.sc-dso-header{border-top:1px solid #ccc}.dropdown.sc-dso-header{margin-left:auto}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header{position:static}@media screen and (max-width: 767px){.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header{margin-top:28px}}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{right:0;top:100%}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header{color:#39870c;font-size:16px;font-weight:600;line-height:normal;position:relative}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header::after{margin-left:8px;position:absolute;right:0px;top:50%;transform:translateY(-50%)}.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header:hover,.dropdown.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header:active{cursor:pointer;text-decoration:underline}.dso-nav.sc-dso-header{align-items:end;column-gap:32px;display:flex;list-style:none;margin-bottom:0;margin-top:0;padding-left:0}.dso-nav.sc-dso-header>li.sc-dso-header{margin-bottom:4px}.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header{display:block}.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header,.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header:hover,.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header:focus,.dso-nav.sc-dso-header>li.sc-dso-header>a.sc-dso-header:visited{color:#275937}.dso-nav.sc-dso-header>li.dso-active.sc-dso-header,.dso-nav.sc-dso-header>li.is-active.sc-dso-header{margin-bottom:0}.dso-nav.sc-dso-header>li.dso-active.sc-dso-header>a.sc-dso-header,.dso-nav.sc-dso-header>li.is-active.sc-dso-header>a.sc-dso-header{border-bottom:4px solid #8b4a6a;font-weight:bold}.dso-nav.dso-nav-main.sc-dso-header{display:flex !important}.dso-nav.dso-nav-main.sc-dso-header>li.sc-dso-header>a.sc-dso-header{text-decoration:none;font-size:1.25em;line-height:1;margin-top:8px;padding:16px 0;white-space:nowrap}.dso-nav.dso-nav-main.sc-dso-header>li.sc-dso-header>a.sc-dso-header:hover,.dso-nav.dso-nav-main.sc-dso-header>li.sc-dso-header>a.sc-dso-header:focus,.dso-nav.dso-nav-main.sc-dso-header>li.sc-dso-header>a.sc-dso-header:active{text-decoration:underline}.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header .dso-dropdown-options.sc-dso-header{left:-1rem !important;top:3px !important}.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header{font-size:1.25em;line-height:1;margin-top:8px;padding:16px 0;align-items:center;color:#275937;padding-right:32px}.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header:hover,.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header:active{cursor:pointer;text-decoration:underline}.dso-nav.dso-nav-main.sc-dso-header dso-dropdown-menu.sc-dso-header button.sc-dso-header::after{margin-left:8px;position:absolute;right:0px;top:auto;transform:none}.dso-nav.sc-dso-header .menu-user-home.sc-dso-header{margin-left:auto}.dso-nav.sc-dso-header .menu-user-home.sc-dso-header dso-icon.sc-dso-header{height:1em;margin-right:8px;position:relative;top:-2px;width:1.2em}";
11
11
 
12
12
  const minDesktopViewportWidth = 992;
13
13
  const Header = class {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-ecec64a0.js');
6
6
  const clsx_m = require('./clsx.m-b81c6b86.js');
7
7
 
8
- const highlightBoxCss = ":host{display:block}:host-context(.row.dso-equal-heights){height:100%;min-height:auto}:host-context(.row.dso-equal-heights)>.dso-highlight-box{min-height:auto}:host-context(.row.dso-equal-heights)>.dso-highlight-box.dso-has-counter{height:calc(100% - 48px)}:host-context(.row.dso-equal-heights)>.dso-highlight-box:not(.dso-has-counter){height:calc(100% - 16px)}*,*::after,*::before{box-sizing:border-box}.dso-highlight-box{background-color:#f2f2f2;margin-top:16px;padding:16px;margin-bottom:24px}.dso-highlight-box.dso-white{background-color:#fff}.dso-highlight-box.dso-yellow{background-color:#f8f6cc}.dso-highlight-box.dso-drop-shadow{box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.2)}.dso-highlight-box.dso-border{background-color:#fff;border:1px solid #ccc;padding:15px}.dso-highlight-box.dso-has-counter{margin-top:48px}.dso-highlight-box.dso-has-counter{padding-top:2.5rem;position:relative}.dso-highlight-box .dso-step-counter{background-color:#275937;border:8px solid #79b929;border-radius:50%;box-sizing:content-box;color:#fff;font-size:1.25rem;font-weight:500;height:2rem;left:16px;line-height:2rem;position:absolute;text-align:center;top:-1.5rem;width:2rem}.dso-highlight-box .dso-step-counter svg.di{height:1.5rem;margin-top:0.25rem;width:1.5rem}.dso-highlight-box>dso-icon{vertical-align:text-top}";
8
+ const highlightBoxCss = ":host{display:block}:host-context(.row.dso-equal-heights){height:100%;min-height:auto}:host-context(.row.dso-equal-heights)>.dso-highlight-box{min-height:auto}:host-context(.row.dso-equal-heights)>.dso-highlight-box.dso-has-counter{height:calc(100% - 48px)}:host-context(.row.dso-equal-heights)>.dso-highlight-box:not(.dso-has-counter){height:calc(100% - 16px)}*,*::after,*::before{box-sizing:border-box}.dso-highlight-box{background-color:#f2f2f2;color:#000;margin-top:16px;padding:16px;margin-bottom:24px}.dso-highlight-box.dso-white{background-color:#fff}.dso-highlight-box.dso-yellow{background-color:#f8f6cc}.dso-highlight-box.dso-drop-shadow{box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.2)}.dso-highlight-box.dso-border{background-color:#fff;border:1px solid #ccc;padding:15px}.dso-highlight-box.dso-has-counter{margin-top:48px}.dso-highlight-box.dso-has-counter{padding-top:2.5rem;position:relative}.dso-highlight-box .dso-step-counter{background-color:#275937;border:8px solid #79b929;border-radius:50%;box-sizing:content-box;color:#fff;font-size:1.25rem;font-weight:500;height:2rem;left:16px;line-height:2rem;position:absolute;text-align:center;top:-1.5rem;width:2rem}.dso-highlight-box .dso-step-counter svg.di{height:1.5rem;margin-top:0.25rem;width:1.5rem}.dso-highlight-box>dso-icon{vertical-align:text-top}";
9
9
 
10
10
  const HighlightBox = class {
11
11
  constructor(hostRef) {
@@ -15,7 +15,6 @@ const ImageOverlay = class {
15
15
  this.titelSlot = null;
16
16
  this.bijschriftSlot = null;
17
17
  this.active = false;
18
- this.focused = false;
19
18
  this.zoomable = false;
20
19
  }
21
20
  loadListener(event) {
@@ -76,7 +75,7 @@ const ImageOverlay = class {
76
75
  render() {
77
76
  var _a;
78
77
  const { src, alt } = (_a = this.host.querySelector("img")) !== null && _a !== void 0 ? _a : {};
79
- return (index.h(index.Host, { tabindex: this.focused || !this.zoomable ? -1 : 0, onFocus: () => { var _a; return (_a = this.buttonElement) === null || _a === void 0 ? void 0 : _a.focus(); } }, this.active && src && alt && (index.h("div", { class: "dimmer" }, index.h("div", { class: "wrapper", ref: (element) => (this.wrapperElement = element) }, index.h("div", { class: "titel", hidden: !this.titelSlot }, index.h("slot", { name: "titel" })), index.h("img", { src: src, alt: alt }), index.h("button", { type: "button", class: "close", onClick: () => (this.active = false) }, index.h("dso-icon", { icon: "times" }), index.h("span", null, "Sluiten")), index.h("div", { class: "figuur-bijschrift", hidden: !this.bijschriftSlot }, index.h("slot", { name: "bijschrift" }))))), index.h("slot", null), this.zoomable && (index.h("button", { type: "button", class: "open", ref: (element) => (this.buttonElement = element), onClick: () => (this.active = true), onFocus: () => (this.focused = true), onBlur: () => (this.focused = false) }, index.h("dso-icon", { icon: "external-link" }), index.h("span", null, "Afbeelding vergroot weergeven")))));
78
+ return (index.h(index.Host, { onClick: () => { var _a; return (_a = this.buttonElement) === null || _a === void 0 ? void 0 : _a.focus(); } }, this.active && src && alt && (index.h("div", { class: "dimmer" }, index.h("div", { class: "wrapper", ref: (element) => (this.wrapperElement = element) }, index.h("div", { class: "titel", hidden: !this.titelSlot }, index.h("slot", { name: "titel" })), index.h("img", { src: src, alt: alt }), index.h("button", { type: "button", class: "close", onClick: () => (this.active = false) }, index.h("dso-icon", { icon: "times" }), index.h("span", null, "Sluiten")), index.h("div", { class: "figuur-bijschrift", hidden: !this.bijschriftSlot }, index.h("slot", { name: "bijschrift" }))))), index.h("slot", null), this.zoomable && (index.h("button", { type: "button", class: "open", ref: (element) => (this.buttonElement = element), onClick: () => (this.active = true) }, index.h("dso-icon", { icon: "external-link" }), index.h("span", null, "Afbeelding vergroot weergeven")))));
80
79
  }
81
80
  componentDidRender() {
82
81
  var _a, _b;