@dso-toolkit/core 72.1.0 → 73.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 (507) hide show
  1. package/dist/cjs/{annotation-body-BwdNcAAd.js → annotation-body-BBlFDtNQ.js} +3 -3
  2. package/dist/cjs/{annotation-body-BwdNcAAd.js.map → annotation-body-BBlFDtNQ.js.map} +1 -1
  3. package/dist/cjs/{annotation-list-renvooi-values-GE2SwBhG.js → annotation-list-renvooi-values-BRsXjGPr.js} +3 -3
  4. package/dist/cjs/{annotation-list-renvooi-values-GE2SwBhG.js.map → annotation-list-renvooi-values-BRsXjGPr.js.map} +1 -1
  5. package/dist/cjs/{annotation-symbol-slot-Cvk1q2gb.js → annotation-symbol-slot-Ko-yyBqQ.js} +3 -3
  6. package/dist/cjs/{annotation-symbol-slot-Cvk1q2gb.js.map → annotation-symbol-slot-Ko-yyBqQ.js.map} +1 -1
  7. package/dist/cjs/dso-accordion-section.cjs.entry.js +1 -1
  8. package/dist/cjs/dso-accordion-section.cjs.entry.js.map +1 -1
  9. package/dist/cjs/dso-accordion-section.entry.cjs.js.map +1 -1
  10. package/dist/cjs/dso-accordion.cjs.entry.js +1 -1
  11. package/dist/cjs/dso-action-list-item.cjs.entry.js +1 -1
  12. package/dist/cjs/dso-action-list.cjs.entry.js +1 -1
  13. package/dist/cjs/dso-advanced-select.cjs.entry.js +1 -1
  14. package/dist/cjs/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.cjs.js.map +1 -1
  15. package/dist/cjs/dso-alert_6.cjs.entry.js +5 -5
  16. package/dist/cjs/dso-alert_6.cjs.entry.js.map +1 -1
  17. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +5 -5
  18. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js.map +1 -1
  19. package/dist/cjs/dso-annotation-activiteit.entry.cjs.js.map +1 -1
  20. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +4 -4
  21. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js.map +1 -1
  22. package/dist/cjs/dso-annotation-gebiedsaanwijzing.entry.cjs.js.map +1 -1
  23. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +3 -3
  24. package/dist/cjs/dso-annotation-kaart.cjs.entry.js.map +1 -1
  25. package/dist/cjs/dso-annotation-kaart.entry.cjs.js.map +1 -1
  26. package/dist/cjs/dso-annotation-locatie.dso-document-component.entry.cjs.js.map +1 -1
  27. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +5 -5
  28. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js.map +1 -1
  29. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +5 -5
  30. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js.map +1 -1
  31. package/dist/cjs/dso-annotation-omgevingsnormwaarde.entry.cjs.js.map +1 -1
  32. package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +1 -1
  33. package/dist/cjs/dso-autosuggest.cjs.entry.js +53 -59
  34. package/dist/cjs/dso-autosuggest.cjs.entry.js.map +1 -1
  35. package/dist/cjs/dso-autosuggest.entry.cjs.js.map +1 -1
  36. package/dist/cjs/dso-banner.cjs.entry.js +1 -1
  37. package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
  38. package/dist/cjs/dso-card.cjs.entry.js +2 -2
  39. package/dist/cjs/dso-card.cjs.entry.js.map +1 -1
  40. package/dist/cjs/dso-card.entry.cjs.js.map +1 -1
  41. package/dist/cjs/dso-contact-information.cjs.entry.js +2 -2
  42. package/dist/cjs/dso-contact-information.cjs.entry.js.map +1 -1
  43. package/dist/cjs/dso-contact-information.entry.cjs.js.map +1 -1
  44. package/dist/cjs/dso-date-picker-legacy.cjs.entry.js +1 -1
  45. package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
  46. package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
  47. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +1 -1
  48. package/dist/cjs/dso-header.cjs.entry.js +2 -2
  49. package/dist/cjs/dso-header.cjs.entry.js.map +1 -1
  50. package/dist/cjs/dso-header.entry.cjs.js.map +1 -1
  51. package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
  52. package/dist/cjs/dso-icon.cjs.entry.js +1 -1
  53. package/dist/cjs/dso-info-button.cjs.entry.js +1 -1
  54. package/dist/cjs/dso-info_2.cjs.entry.js +2 -2
  55. package/dist/cjs/dso-input-range.cjs.entry.js +1 -1
  56. package/dist/cjs/dso-label_3.cjs.entry.js +2 -2
  57. package/dist/cjs/dso-legend-item.cjs.entry.js +1 -1
  58. package/dist/cjs/dso-list-button.cjs.entry.js +3 -3
  59. package/dist/cjs/dso-list-button.cjs.entry.js.map +1 -1
  60. package/dist/cjs/dso-list-button.entry.cjs.js.map +1 -1
  61. package/dist/cjs/dso-logo.cjs.entry.js +2 -2
  62. package/dist/cjs/dso-logo.cjs.entry.js.map +1 -1
  63. package/dist/cjs/dso-logo.entry.cjs.js.map +1 -1
  64. package/dist/cjs/dso-map-base-layers.cjs.entry.js +3 -3
  65. package/dist/cjs/dso-map-controls.cjs.entry.js +3 -3
  66. package/dist/cjs/dso-map-overlays.cjs.entry.js +3 -3
  67. package/dist/cjs/dso-mark-bar.cjs.entry.js +2 -2
  68. package/dist/cjs/dso-modal.cjs.entry.js +4 -4
  69. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +2 -2
  70. package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
  71. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +2 -2
  72. package/dist/cjs/dso-progress-bar.cjs.entry.js +2 -2
  73. package/dist/cjs/dso-progress-indicator.cjs.entry.js +3 -3
  74. package/dist/cjs/dso-project-item.cjs.entry.js +2 -2
  75. package/dist/cjs/dso-responsive-element.cjs.entry.js +2 -2
  76. package/dist/cjs/dso-scrollable.cjs.entry.js +3 -3
  77. package/dist/cjs/dso-skiplink.cjs.entry.js +2 -2
  78. package/dist/cjs/dso-survey-rating.cjs.entry.js +3 -3
  79. package/dist/cjs/dso-survey-rating.cjs.entry.js.map +1 -1
  80. package/dist/cjs/dso-survey-rating.entry.cjs.js.map +1 -1
  81. package/dist/cjs/dso-tab.cjs.entry.js +1 -1
  82. package/dist/cjs/dso-tab.cjs.entry.js.map +1 -1
  83. package/dist/cjs/dso-tab.entry.cjs.js.map +1 -1
  84. package/dist/cjs/dso-tabs.cjs.entry.js +2 -2
  85. package/dist/cjs/dso-tabs.cjs.entry.js.map +1 -1
  86. package/dist/cjs/dso-tabs.entry.cjs.js.map +1 -1
  87. package/dist/cjs/dso-toggletip.cjs.entry.js +2 -2
  88. package/dist/cjs/dso-toolkit.cjs.js +3 -3
  89. package/dist/cjs/dso-toolkit.cjs.js.map +1 -1
  90. package/dist/cjs/dso-tooltip.cjs.entry.js +2 -2
  91. package/dist/cjs/dso-tree-view.cjs.entry.js +2 -2
  92. package/dist/cjs/dso-viewer-grid.cjs.entry.js +4 -4
  93. package/dist/cjs/dso-viewer-grid.cjs.entry.js.map +1 -1
  94. package/dist/cjs/dso-viewer-grid.entry.cjs.js.map +1 -1
  95. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
  96. package/dist/cjs/{i18n-DXkB0Cg-.js → i18n-D9iWFntP.js} +106 -97
  97. package/dist/cjs/i18n-D9iWFntP.js.map +1 -0
  98. package/dist/cjs/{index-CkTcEJuV.js → index-DvrTSHdI.js} +24 -6
  99. package/dist/cjs/index-DvrTSHdI.js.map +1 -0
  100. package/dist/cjs/loader.cjs.js +2 -2
  101. package/dist/collection/collection-manifest.json +1 -1
  102. package/dist/collection/components/accordion/accordion.js +2 -2
  103. package/dist/collection/components/accordion/components/accordion-section.js +14 -14
  104. package/dist/collection/components/action-list/action-list.js +1 -1
  105. package/dist/collection/components/action-list/components/action-list-item.js +5 -5
  106. package/dist/collection/components/advanced-select/advanced-select.js +3 -1
  107. package/dist/collection/components/advanced-select/advanced-select.js.map +1 -1
  108. package/dist/collection/components/alert/alert.js +4 -4
  109. package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +7 -6
  110. package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js.map +1 -1
  111. package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +4 -4
  112. package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.js +3 -3
  113. package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js +4 -4
  114. package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js +7 -6
  115. package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js.map +1 -1
  116. package/dist/collection/components/annotation/annotation.css +5 -4
  117. package/dist/collection/components/attachments-counter/attachments-counter.js +1 -1
  118. package/dist/collection/components/autosuggest/autosuggest.css +2 -1
  119. package/dist/collection/components/autosuggest/autosuggest.js +58 -63
  120. package/dist/collection/components/autosuggest/autosuggest.js.map +1 -1
  121. package/dist/collection/components/badge/badge.js +1 -1
  122. package/dist/collection/components/banner/banner.js +3 -3
  123. package/dist/collection/components/card/card.css +5 -4
  124. package/dist/collection/components/card/card.js +3 -3
  125. package/dist/collection/components/card-container/card-container.js +1 -1
  126. package/dist/collection/components/contact-information/contact-information.css +2 -2
  127. package/dist/collection/components/date-picker/date-picker.js +10 -10
  128. package/dist/collection/components/date-picker-legacy/date-picker-legacy.js +12 -12
  129. package/dist/collection/components/document-card/document-card.js +2 -2
  130. package/dist/collection/components/document-component/document-component.css +1 -0
  131. package/dist/collection/components/document-component/document-component.js +24 -22
  132. package/dist/collection/components/document-component/document-component.js.map +1 -1
  133. package/dist/collection/components/document-component-demo/document-component.demo.js +5 -4
  134. package/dist/collection/components/document-component-demo/document-component.demo.js.map +1 -1
  135. package/dist/collection/components/dropdown-menu/dropdown-menu.js +7 -7
  136. package/dist/collection/components/expandable/expandable.js +3 -3
  137. package/dist/collection/components/header/header.js +11 -10
  138. package/dist/collection/components/header/header.js.map +1 -1
  139. package/dist/collection/components/highlight-box/highlight-box.js +5 -5
  140. package/dist/collection/components/icon/icon.js +1 -1
  141. package/dist/collection/components/image-overlay/image-overlay.js +1 -1
  142. package/dist/collection/components/info/info.js +2 -2
  143. package/dist/collection/components/info-button/info-button.js +3 -3
  144. package/dist/collection/components/input-range/input-range.js +7 -7
  145. package/dist/collection/components/label/label.js +4 -4
  146. package/dist/collection/components/legend-item/legend-item.js +3 -3
  147. package/dist/collection/components/list-button/list-button.css +2 -1
  148. package/dist/collection/components/list-button/list-button.js +9 -9
  149. package/dist/collection/components/list-button/list-button.js.map +1 -1
  150. package/dist/collection/components/logo/logo.js +6 -6
  151. package/dist/collection/components/map-base-layers/map-base-layers.js +3 -2
  152. package/dist/collection/components/map-base-layers/map-base-layers.js.map +1 -1
  153. package/dist/collection/components/map-controls/map-controls.js +3 -3
  154. package/dist/collection/components/map-overlays/map-overlays.js +3 -2
  155. package/dist/collection/components/map-overlays/map-overlays.js.map +1 -1
  156. package/dist/collection/components/mark-bar/mark-bar.js +5 -5
  157. package/dist/collection/components/modal/modal.js +7 -7
  158. package/dist/collection/components/onboarding-tip/onboarding-tip.js +2 -2
  159. package/dist/collection/components/ozon-content/ozon-content.css +1 -0
  160. package/dist/collection/components/ozon-content/ozon-content.js +5 -3
  161. package/dist/collection/components/ozon-content/ozon-content.js.map +1 -1
  162. package/dist/collection/components/pagination/pagination.js +3 -2
  163. package/dist/collection/components/pagination/pagination.js.map +1 -1
  164. package/dist/collection/components/panel/panel.js +2 -2
  165. package/dist/collection/components/plekinfo-card/plekinfo-card.js +5 -5
  166. package/dist/collection/components/progress-bar/progress-bar.js +4 -4
  167. package/dist/collection/components/progress-indicator/progress-indicator.js +4 -4
  168. package/dist/collection/components/project-item/project-item.js +2 -2
  169. package/dist/collection/components/renvooi/renvooi.js +2 -1
  170. package/dist/collection/components/renvooi/renvooi.js.map +1 -1
  171. package/dist/collection/components/responsive-element/responsive-element.js +1 -1
  172. package/dist/collection/components/scrollable/scrollable.js +2 -2
  173. package/dist/collection/components/selectable/selectable.js +13 -13
  174. package/dist/collection/components/skiplink/skiplink.js +3 -3
  175. package/dist/collection/components/slide-toggle/slide-toggle.js +6 -6
  176. package/dist/collection/components/survey-rating/survey-rating.js +3 -3
  177. package/dist/collection/components/survey-rating/survey-rating.js.map +1 -1
  178. package/dist/collection/components/table/table.js +3 -3
  179. package/dist/collection/components/tabs/components/tab.js +3 -3
  180. package/dist/collection/components/tabs/tabs.js +1 -1
  181. package/dist/collection/components/toggletip/toggletip.js +5 -5
  182. package/dist/collection/components/tooltip/tooltip.js +8 -8
  183. package/dist/collection/components/tree-view/tree-view.js +2 -1
  184. package/dist/collection/components/tree-view/tree-view.js.map +1 -1
  185. package/dist/collection/components/viewer-grid/viewer-grid.css +5 -0
  186. package/dist/collection/components/viewer-grid/viewer-grid.js +13 -12
  187. package/dist/collection/components/viewer-grid/viewer-grid.js.map +1 -1
  188. package/dist/components/annotation-locatie.js +1 -1
  189. package/dist/components/annotation-locatie.js.map +1 -1
  190. package/dist/components/document-component.js +2 -2
  191. package/dist/components/document-component.js.map +1 -1
  192. package/dist/components/dso-accordion-section.js.map +1 -1
  193. package/dist/components/dso-annotation-activiteit.js +2 -2
  194. package/dist/components/dso-annotation-activiteit.js.map +1 -1
  195. package/dist/components/dso-annotation-gebiedsaanwijzing.js +1 -1
  196. package/dist/components/dso-annotation-gebiedsaanwijzing.js.map +1 -1
  197. package/dist/components/dso-annotation-kaart.js +1 -1
  198. package/dist/components/dso-annotation-kaart.js.map +1 -1
  199. package/dist/components/dso-annotation-omgevingsnormwaarde.js +1 -1
  200. package/dist/components/dso-annotation-omgevingsnormwaarde.js.map +1 -1
  201. package/dist/components/dso-autosuggest.js +52 -59
  202. package/dist/components/dso-autosuggest.js.map +1 -1
  203. package/dist/components/dso-card.js +1 -1
  204. package/dist/components/dso-card.js.map +1 -1
  205. package/dist/components/dso-contact-information.js +1 -1
  206. package/dist/components/dso-contact-information.js.map +1 -1
  207. package/dist/components/dso-header.js +1 -1
  208. package/dist/components/dso-header.js.map +1 -1
  209. package/dist/components/dso-list-button.js +2 -2
  210. package/dist/components/dso-list-button.js.map +1 -1
  211. package/dist/components/dso-logo.js +1 -1
  212. package/dist/components/dso-logo.js.map +1 -1
  213. package/dist/components/dso-map-base-layers.js +2 -2
  214. package/dist/components/dso-map-controls.js +1 -1
  215. package/dist/components/dso-map-overlays.js +1 -1
  216. package/dist/components/dso-mark-bar.js +1 -1
  217. package/dist/components/dso-modal.js +2 -2
  218. package/dist/components/dso-onboarding-tip.js +1 -1
  219. package/dist/components/dso-pagination.js +1 -1
  220. package/dist/components/dso-plekinfo-card.js +1 -1
  221. package/dist/components/dso-progress-bar.js +1 -1
  222. package/dist/components/dso-project-item.js +1 -1
  223. package/dist/components/dso-skiplink.js +1 -1
  224. package/dist/components/dso-survey-rating.js +2 -2
  225. package/dist/components/dso-survey-rating.js.map +1 -1
  226. package/dist/components/dso-tab.js.map +1 -1
  227. package/dist/components/dso-tabs.js +1 -1
  228. package/dist/components/dso-tabs.js.map +1 -1
  229. package/dist/components/dso-tree-view.js +1 -1
  230. package/dist/components/dso-viewer-grid.js +3 -3
  231. package/dist/components/dso-viewer-grid.js.map +1 -1
  232. package/dist/components/dsot-document-component-demo.js +1 -1
  233. package/dist/components/i18n.js +104 -95
  234. package/dist/components/i18n.js.map +1 -1
  235. package/dist/components/index.js +1 -1
  236. package/dist/components/ozon-content.js +3 -3
  237. package/dist/components/ozon-content.js.map +1 -1
  238. package/dist/components/progress-indicator.js +1 -1
  239. package/dist/components/responsive-element.js +1 -1
  240. package/dist/components/scrollable.js +2 -2
  241. package/dist/components/selectable.js +1 -1
  242. package/dist/components/slide-toggle.js +1 -1
  243. package/dist/components/table.js +1 -1
  244. package/dist/components/toggletip.js +1 -1
  245. package/dist/components/tooltip.js +1 -1
  246. package/dist/dso-toolkit/dso-accordion-section.entry.esm.js.map +1 -1
  247. package/dist/dso-toolkit/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.esm.js.map +1 -1
  248. package/dist/dso-toolkit/dso-annotation-activiteit.entry.esm.js.map +1 -1
  249. package/dist/dso-toolkit/dso-annotation-gebiedsaanwijzing.entry.esm.js.map +1 -1
  250. package/dist/dso-toolkit/dso-annotation-kaart.entry.esm.js.map +1 -1
  251. package/dist/dso-toolkit/dso-annotation-locatie.dso-document-component.entry.esm.js.map +1 -1
  252. package/dist/dso-toolkit/dso-annotation-omgevingsnormwaarde.entry.esm.js.map +1 -1
  253. package/dist/dso-toolkit/dso-autosuggest.entry.esm.js.map +1 -1
  254. package/dist/dso-toolkit/dso-card.entry.esm.js.map +1 -1
  255. package/dist/dso-toolkit/dso-contact-information.entry.esm.js.map +1 -1
  256. package/dist/dso-toolkit/dso-header.entry.esm.js.map +1 -1
  257. package/dist/dso-toolkit/dso-list-button.entry.esm.js.map +1 -1
  258. package/dist/dso-toolkit/dso-logo.entry.esm.js.map +1 -1
  259. package/dist/dso-toolkit/dso-survey-rating.entry.esm.js.map +1 -1
  260. package/dist/dso-toolkit/dso-tab.entry.esm.js.map +1 -1
  261. package/dist/dso-toolkit/dso-tabs.entry.esm.js.map +1 -1
  262. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  263. package/dist/dso-toolkit/dso-toolkit.esm.js.map +1 -1
  264. package/dist/dso-toolkit/dso-viewer-grid.entry.esm.js.map +1 -1
  265. package/dist/dso-toolkit/{p-61dfc1f5.entry.js → p-08aa7f78.entry.js} +2 -2
  266. package/dist/dso-toolkit/{p-0e6d0886.entry.js → p-0917a964.entry.js} +2 -2
  267. package/dist/dso-toolkit/{p-09dcedd1.entry.js → p-0a38c6fa.entry.js} +2 -2
  268. package/dist/dso-toolkit/{p-a66fd056.entry.js → p-0b902049.entry.js} +2 -2
  269. package/dist/dso-toolkit/{p-24f64459.entry.js → p-13042742.entry.js} +2 -2
  270. package/dist/dso-toolkit/p-13b2dc83.entry.js +2 -0
  271. package/dist/dso-toolkit/p-13b2dc83.entry.js.map +1 -0
  272. package/dist/dso-toolkit/p-15700a11.entry.js +2 -0
  273. package/dist/dso-toolkit/p-15700a11.entry.js.map +1 -0
  274. package/dist/dso-toolkit/{p-70fc8d65.entry.js → p-1882b8ad.entry.js} +2 -2
  275. package/dist/dso-toolkit/{p-49af1837.entry.js → p-1f7f6d8b.entry.js} +2 -2
  276. package/dist/dso-toolkit/{p-5b25e608.entry.js → p-23c5e409.entry.js} +2 -2
  277. package/dist/dso-toolkit/{p-6b6b5ed2.entry.js → p-2a0e7fab.entry.js} +2 -2
  278. package/dist/dso-toolkit/p-2a0e7fab.entry.js.map +1 -0
  279. package/dist/dso-toolkit/p-2cac4eb4.entry.js +2 -0
  280. package/dist/dso-toolkit/p-2cac4eb4.entry.js.map +1 -0
  281. package/dist/dso-toolkit/{p-3aac8417.entry.js → p-2d22eaa5.entry.js} +2 -2
  282. package/dist/dso-toolkit/p-33acabc1.entry.js +2 -0
  283. package/dist/dso-toolkit/p-33acabc1.entry.js.map +1 -0
  284. package/dist/dso-toolkit/{p-3315d028.entry.js → p-33e435a4.entry.js} +2 -2
  285. package/dist/dso-toolkit/{p-1d96f67a.entry.js → p-38a17746.entry.js} +2 -2
  286. package/dist/dso-toolkit/p-3ada9fe0.entry.js +2 -0
  287. package/dist/dso-toolkit/p-3ada9fe0.entry.js.map +1 -0
  288. package/dist/dso-toolkit/{p-5f01431d.entry.js → p-3dc6df90.entry.js} +2 -2
  289. package/dist/dso-toolkit/p-3dc6df90.entry.js.map +1 -0
  290. package/dist/dso-toolkit/{p-1da9f680.entry.js → p-45a523e5.entry.js} +2 -2
  291. package/dist/dso-toolkit/{p-55176bef.entry.js → p-47936ff6.entry.js} +2 -2
  292. package/dist/dso-toolkit/{p-70b9abf1.entry.js → p-487f46df.entry.js} +2 -2
  293. package/dist/dso-toolkit/{p-bb88881a.entry.js → p-49c301fd.entry.js} +2 -2
  294. package/dist/dso-toolkit/{p-759d18f9.entry.js → p-49fc2235.entry.js} +2 -2
  295. package/dist/dso-toolkit/{p-a250b931.entry.js → p-4a034e40.entry.js} +2 -2
  296. package/dist/dso-toolkit/p-4fd85452.entry.js +2 -0
  297. package/dist/dso-toolkit/p-4fd85452.entry.js.map +1 -0
  298. package/dist/dso-toolkit/{p-9213f126.entry.js → p-52cd0064.entry.js} +2 -2
  299. package/dist/dso-toolkit/{p-13cda4e5.entry.js → p-60a2339f.entry.js} +2 -2
  300. package/dist/dso-toolkit/{p-4956ca51.entry.js → p-621a9bbb.entry.js} +2 -2
  301. package/dist/dso-toolkit/{p-6c413b75.entry.js → p-638cfb25.entry.js} +2 -2
  302. package/dist/dso-toolkit/{p-c059397d.entry.js → p-6841ccee.entry.js} +2 -2
  303. package/dist/dso-toolkit/p-6bbde78f.entry.js +2 -0
  304. package/dist/dso-toolkit/p-6bbde78f.entry.js.map +1 -0
  305. package/dist/dso-toolkit/p-75819075.entry.js +2 -0
  306. package/dist/dso-toolkit/{p-4790e06e.entry.js → p-78420f02.entry.js} +2 -2
  307. package/dist/dso-toolkit/{p-c01b6283.entry.js → p-8123ed2f.entry.js} +2 -2
  308. package/dist/dso-toolkit/p-8123ed2f.entry.js.map +1 -0
  309. package/dist/dso-toolkit/{p-e232a8ad.entry.js → p-8941035f.entry.js} +2 -2
  310. package/dist/dso-toolkit/{p-ada03e5c.entry.js → p-8a677aba.entry.js} +2 -2
  311. package/dist/dso-toolkit/{p-ebc43652.entry.js → p-99fcc628.entry.js} +2 -2
  312. package/dist/dso-toolkit/p-99fcc628.entry.js.map +1 -0
  313. package/dist/dso-toolkit/p-BbNJ4wXp.js +2 -0
  314. package/dist/dso-toolkit/p-BbNJ4wXp.js.map +1 -0
  315. package/dist/dso-toolkit/{p-CcZz5H_k.js → p-COKRRU_q.js} +2 -2
  316. package/dist/dso-toolkit/{p-CcZz5H_k.js.map → p-COKRRU_q.js.map} +1 -1
  317. package/dist/dso-toolkit/p-ChsEPkam.js +2 -0
  318. package/dist/dso-toolkit/{p-CzQFr230.js.map → p-ChsEPkam.js.map} +1 -1
  319. package/dist/dso-toolkit/p-D2Jo0W7B.js +3 -0
  320. package/dist/dso-toolkit/p-D2Jo0W7B.js.map +1 -0
  321. package/dist/dso-toolkit/{p-CXy7CeUE.js → p-D4cSA4l8.js} +2 -2
  322. package/dist/dso-toolkit/{p-CXy7CeUE.js.map → p-D4cSA4l8.js.map} +1 -1
  323. package/dist/dso-toolkit/{p-a186b796.entry.js → p-a0960751.entry.js} +2 -2
  324. package/dist/dso-toolkit/p-a0960751.entry.js.map +1 -0
  325. package/dist/dso-toolkit/{p-ee93ae83.entry.js → p-a676810d.entry.js} +2 -2
  326. package/dist/dso-toolkit/{p-ee93ae83.entry.js.map → p-a676810d.entry.js.map} +1 -1
  327. package/dist/dso-toolkit/{p-70d63a6a.entry.js → p-aa6c0df1.entry.js} +2 -2
  328. package/dist/dso-toolkit/p-aa6c0df1.entry.js.map +1 -0
  329. package/dist/dso-toolkit/{p-6a620f5f.entry.js → p-ad5f409c.entry.js} +2 -2
  330. package/dist/dso-toolkit/{p-0a2dd4a9.entry.js → p-be3f30c8.entry.js} +2 -2
  331. package/dist/dso-toolkit/{p-ca14935b.entry.js → p-c1f19841.entry.js} +2 -2
  332. package/dist/dso-toolkit/p-ce882c53.entry.js +2 -0
  333. package/dist/dso-toolkit/{p-35b096ec.entry.js.map → p-ce882c53.entry.js.map} +1 -1
  334. package/dist/dso-toolkit/{p-215e9ecd.entry.js → p-e097b372.entry.js} +2 -2
  335. package/dist/dso-toolkit/p-e3ddc3cf.entry.js +2 -0
  336. package/dist/dso-toolkit/{p-159753d7.entry.js → p-e990ee37.entry.js} +2 -2
  337. package/dist/dso-toolkit/{p-5509732c.entry.js → p-ee4c2669.entry.js} +2 -2
  338. package/dist/dso-toolkit/p-ee4c2669.entry.js.map +1 -0
  339. package/dist/dso-toolkit/{p-ed11ee1b.entry.js → p-eea3b9c8.entry.js} +2 -2
  340. package/dist/dso-toolkit/{p-53910728.entry.js → p-f0d63537.entry.js} +2 -2
  341. package/dist/dso-toolkit/p-f35cd2b5.entry.js +2 -0
  342. package/dist/dso-toolkit/p-f35cd2b5.entry.js.map +1 -0
  343. package/dist/dso-toolkit/{p-d260469c.entry.js → p-f579815f.entry.js} +2 -2
  344. package/dist/dso-toolkit/p-f579815f.entry.js.map +1 -0
  345. package/dist/dso-toolkit/{p-f6a81839.entry.js → p-fa1cbcb0.entry.js} +2 -2
  346. package/dist/esm/{annotation-body-Bwcvd5YG.js → annotation-body-C13C3XCU.js} +3 -3
  347. package/dist/esm/{annotation-body-Bwcvd5YG.js.map → annotation-body-C13C3XCU.js.map} +1 -1
  348. package/dist/esm/{annotation-list-renvooi-values-D_I-aAbM.js → annotation-list-renvooi-values-D75KxHAC.js} +3 -3
  349. package/dist/esm/{annotation-list-renvooi-values-D_I-aAbM.js.map → annotation-list-renvooi-values-D75KxHAC.js.map} +1 -1
  350. package/dist/esm/{annotation-symbol-slot-BlF4i_Mi.js → annotation-symbol-slot-CRK43mu1.js} +3 -3
  351. package/dist/esm/{annotation-symbol-slot-BlF4i_Mi.js.map → annotation-symbol-slot-CRK43mu1.js.map} +1 -1
  352. package/dist/esm/dso-accordion-section.entry.js +1 -1
  353. package/dist/esm/dso-accordion-section.entry.js.map +1 -1
  354. package/dist/esm/dso-accordion.entry.js +1 -1
  355. package/dist/esm/dso-action-list-item.entry.js +1 -1
  356. package/dist/esm/dso-action-list.entry.js +1 -1
  357. package/dist/esm/dso-advanced-select.entry.js +1 -1
  358. package/dist/esm/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.js.map +1 -1
  359. package/dist/esm/dso-alert_6.entry.js +5 -5
  360. package/dist/esm/dso-alert_6.entry.js.map +1 -1
  361. package/dist/esm/dso-annotation-activiteit.entry.js +5 -5
  362. package/dist/esm/dso-annotation-activiteit.entry.js.map +1 -1
  363. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +4 -4
  364. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js.map +1 -1
  365. package/dist/esm/dso-annotation-kaart.entry.js +3 -3
  366. package/dist/esm/dso-annotation-kaart.entry.js.map +1 -1
  367. package/dist/esm/dso-annotation-locatie.dso-document-component.entry.js.map +1 -1
  368. package/dist/esm/dso-annotation-locatie_2.entry.js +5 -5
  369. package/dist/esm/dso-annotation-locatie_2.entry.js.map +1 -1
  370. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +5 -5
  371. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js.map +1 -1
  372. package/dist/esm/dso-attachments-counter_2.entry.js +1 -1
  373. package/dist/esm/dso-autosuggest.entry.js +53 -59
  374. package/dist/esm/dso-autosuggest.entry.js.map +1 -1
  375. package/dist/esm/dso-banner.entry.js +1 -1
  376. package/dist/esm/dso-card-container.entry.js +1 -1
  377. package/dist/esm/dso-card.entry.js +2 -2
  378. package/dist/esm/dso-card.entry.js.map +1 -1
  379. package/dist/esm/dso-contact-information.entry.js +2 -2
  380. package/dist/esm/dso-contact-information.entry.js.map +1 -1
  381. package/dist/esm/dso-date-picker-legacy.entry.js +1 -1
  382. package/dist/esm/dso-date-picker.entry.js +1 -1
  383. package/dist/esm/dso-document-card.entry.js +1 -1
  384. package/dist/esm/dso-dropdown-menu.entry.js +1 -1
  385. package/dist/esm/dso-header.entry.js +2 -2
  386. package/dist/esm/dso-header.entry.js.map +1 -1
  387. package/dist/esm/dso-highlight-box.entry.js +1 -1
  388. package/dist/esm/dso-icon.entry.js +1 -1
  389. package/dist/esm/dso-info-button.entry.js +1 -1
  390. package/dist/esm/dso-info_2.entry.js +2 -2
  391. package/dist/esm/dso-input-range.entry.js +1 -1
  392. package/dist/esm/dso-label_3.entry.js +2 -2
  393. package/dist/esm/dso-legend-item.entry.js +1 -1
  394. package/dist/esm/dso-list-button.entry.js +3 -3
  395. package/dist/esm/dso-list-button.entry.js.map +1 -1
  396. package/dist/esm/dso-logo.entry.js +2 -2
  397. package/dist/esm/dso-logo.entry.js.map +1 -1
  398. package/dist/esm/dso-map-base-layers.entry.js +3 -3
  399. package/dist/esm/dso-map-controls.entry.js +3 -3
  400. package/dist/esm/dso-map-overlays.entry.js +3 -3
  401. package/dist/esm/dso-mark-bar.entry.js +2 -2
  402. package/dist/esm/dso-modal.entry.js +4 -4
  403. package/dist/esm/dso-onboarding-tip.entry.js +2 -2
  404. package/dist/esm/dso-pagination.entry.js +1 -1
  405. package/dist/esm/dso-plekinfo-card.entry.js +2 -2
  406. package/dist/esm/dso-progress-bar.entry.js +2 -2
  407. package/dist/esm/dso-progress-indicator.entry.js +3 -3
  408. package/dist/esm/dso-project-item.entry.js +2 -2
  409. package/dist/esm/dso-responsive-element.entry.js +2 -2
  410. package/dist/esm/dso-scrollable.entry.js +3 -3
  411. package/dist/esm/dso-skiplink.entry.js +2 -2
  412. package/dist/esm/dso-survey-rating.entry.js +3 -3
  413. package/dist/esm/dso-survey-rating.entry.js.map +1 -1
  414. package/dist/esm/dso-tab.entry.js +1 -1
  415. package/dist/esm/dso-tab.entry.js.map +1 -1
  416. package/dist/esm/dso-tabs.entry.js +2 -2
  417. package/dist/esm/dso-tabs.entry.js.map +1 -1
  418. package/dist/esm/dso-toggletip.entry.js +2 -2
  419. package/dist/esm/dso-toolkit.js +4 -4
  420. package/dist/esm/dso-toolkit.js.map +1 -1
  421. package/dist/esm/dso-tooltip.entry.js +2 -2
  422. package/dist/esm/dso-tree-view.entry.js +2 -2
  423. package/dist/esm/dso-viewer-grid.entry.js +4 -4
  424. package/dist/esm/dso-viewer-grid.entry.js.map +1 -1
  425. package/dist/esm/dsot-document-component-demo.entry.js +1 -1
  426. package/dist/esm/{i18n-D6dst_Em.js → i18n-BbNJ4wXp.js} +106 -97
  427. package/dist/esm/i18n-BbNJ4wXp.js.map +1 -0
  428. package/dist/esm/{index-BzEnSYbR.js → index-D2Jo0W7B.js} +24 -6
  429. package/dist/esm/index-D2Jo0W7B.js.map +1 -0
  430. package/dist/esm/loader.js +3 -3
  431. package/dist/types/components/autosuggest/autosuggest.d.ts +1 -3
  432. package/dist/types/components/survey-rating/survey-rating.d.ts +1 -1
  433. package/dist/types/components/viewer-grid/viewer-grid.d.ts +1 -0
  434. package/dist/types/components.d.ts +1 -1
  435. package/dist/types/stencil-public-runtime.d.ts +21 -0
  436. package/package.json +8 -8
  437. package/dist/cjs/i18n-DXkB0Cg-.js.map +0 -1
  438. package/dist/cjs/index-CkTcEJuV.js.map +0 -1
  439. package/dist/dso-toolkit/p-2f99bb30.entry.js +0 -2
  440. package/dist/dso-toolkit/p-2f99bb30.entry.js.map +0 -1
  441. package/dist/dso-toolkit/p-35b096ec.entry.js +0 -2
  442. package/dist/dso-toolkit/p-5509732c.entry.js.map +0 -1
  443. package/dist/dso-toolkit/p-5f01431d.entry.js.map +0 -1
  444. package/dist/dso-toolkit/p-6b6b5ed2.entry.js.map +0 -1
  445. package/dist/dso-toolkit/p-70d63a6a.entry.js.map +0 -1
  446. package/dist/dso-toolkit/p-710e1719.entry.js +0 -2
  447. package/dist/dso-toolkit/p-7531a336.entry.js +0 -2
  448. package/dist/dso-toolkit/p-7918004d.entry.js +0 -2
  449. package/dist/dso-toolkit/p-7918004d.entry.js.map +0 -1
  450. package/dist/dso-toolkit/p-79e6a042.entry.js +0 -2
  451. package/dist/dso-toolkit/p-79e6a042.entry.js.map +0 -1
  452. package/dist/dso-toolkit/p-7b7ae40b.entry.js +0 -2
  453. package/dist/dso-toolkit/p-7b7ae40b.entry.js.map +0 -1
  454. package/dist/dso-toolkit/p-91f1ac00.entry.js +0 -2
  455. package/dist/dso-toolkit/p-91f1ac00.entry.js.map +0 -1
  456. package/dist/dso-toolkit/p-BzEnSYbR.js +0 -3
  457. package/dist/dso-toolkit/p-BzEnSYbR.js.map +0 -1
  458. package/dist/dso-toolkit/p-CzQFr230.js +0 -2
  459. package/dist/dso-toolkit/p-D6dst_Em.js +0 -2
  460. package/dist/dso-toolkit/p-D6dst_Em.js.map +0 -1
  461. package/dist/dso-toolkit/p-a186b796.entry.js.map +0 -1
  462. package/dist/dso-toolkit/p-b673cbdb.entry.js +0 -2
  463. package/dist/dso-toolkit/p-b673cbdb.entry.js.map +0 -1
  464. package/dist/dso-toolkit/p-c01b6283.entry.js.map +0 -1
  465. package/dist/dso-toolkit/p-d260469c.entry.js.map +0 -1
  466. package/dist/dso-toolkit/p-e87edda8.entry.js +0 -2
  467. package/dist/dso-toolkit/p-e87edda8.entry.js.map +0 -1
  468. package/dist/dso-toolkit/p-ebc43652.entry.js.map +0 -1
  469. package/dist/dso-toolkit/p-ee5df97d.entry.js +0 -2
  470. package/dist/dso-toolkit/p-ee5df97d.entry.js.map +0 -1
  471. package/dist/esm/i18n-D6dst_Em.js.map +0 -1
  472. package/dist/esm/index-BzEnSYbR.js.map +0 -1
  473. /package/dist/dso-toolkit/{p-61dfc1f5.entry.js.map → p-08aa7f78.entry.js.map} +0 -0
  474. /package/dist/dso-toolkit/{p-0e6d0886.entry.js.map → p-0917a964.entry.js.map} +0 -0
  475. /package/dist/dso-toolkit/{p-09dcedd1.entry.js.map → p-0a38c6fa.entry.js.map} +0 -0
  476. /package/dist/dso-toolkit/{p-a66fd056.entry.js.map → p-0b902049.entry.js.map} +0 -0
  477. /package/dist/dso-toolkit/{p-24f64459.entry.js.map → p-13042742.entry.js.map} +0 -0
  478. /package/dist/dso-toolkit/{p-70fc8d65.entry.js.map → p-1882b8ad.entry.js.map} +0 -0
  479. /package/dist/dso-toolkit/{p-49af1837.entry.js.map → p-1f7f6d8b.entry.js.map} +0 -0
  480. /package/dist/dso-toolkit/{p-5b25e608.entry.js.map → p-23c5e409.entry.js.map} +0 -0
  481. /package/dist/dso-toolkit/{p-3aac8417.entry.js.map → p-2d22eaa5.entry.js.map} +0 -0
  482. /package/dist/dso-toolkit/{p-3315d028.entry.js.map → p-33e435a4.entry.js.map} +0 -0
  483. /package/dist/dso-toolkit/{p-1d96f67a.entry.js.map → p-38a17746.entry.js.map} +0 -0
  484. /package/dist/dso-toolkit/{p-1da9f680.entry.js.map → p-45a523e5.entry.js.map} +0 -0
  485. /package/dist/dso-toolkit/{p-55176bef.entry.js.map → p-47936ff6.entry.js.map} +0 -0
  486. /package/dist/dso-toolkit/{p-70b9abf1.entry.js.map → p-487f46df.entry.js.map} +0 -0
  487. /package/dist/dso-toolkit/{p-bb88881a.entry.js.map → p-49c301fd.entry.js.map} +0 -0
  488. /package/dist/dso-toolkit/{p-759d18f9.entry.js.map → p-49fc2235.entry.js.map} +0 -0
  489. /package/dist/dso-toolkit/{p-a250b931.entry.js.map → p-4a034e40.entry.js.map} +0 -0
  490. /package/dist/dso-toolkit/{p-9213f126.entry.js.map → p-52cd0064.entry.js.map} +0 -0
  491. /package/dist/dso-toolkit/{p-13cda4e5.entry.js.map → p-60a2339f.entry.js.map} +0 -0
  492. /package/dist/dso-toolkit/{p-4956ca51.entry.js.map → p-621a9bbb.entry.js.map} +0 -0
  493. /package/dist/dso-toolkit/{p-6c413b75.entry.js.map → p-638cfb25.entry.js.map} +0 -0
  494. /package/dist/dso-toolkit/{p-c059397d.entry.js.map → p-6841ccee.entry.js.map} +0 -0
  495. /package/dist/dso-toolkit/{p-710e1719.entry.js.map → p-75819075.entry.js.map} +0 -0
  496. /package/dist/dso-toolkit/{p-4790e06e.entry.js.map → p-78420f02.entry.js.map} +0 -0
  497. /package/dist/dso-toolkit/{p-e232a8ad.entry.js.map → p-8941035f.entry.js.map} +0 -0
  498. /package/dist/dso-toolkit/{p-ada03e5c.entry.js.map → p-8a677aba.entry.js.map} +0 -0
  499. /package/dist/dso-toolkit/{p-6a620f5f.entry.js.map → p-ad5f409c.entry.js.map} +0 -0
  500. /package/dist/dso-toolkit/{p-0a2dd4a9.entry.js.map → p-be3f30c8.entry.js.map} +0 -0
  501. /package/dist/dso-toolkit/{p-ca14935b.entry.js.map → p-c1f19841.entry.js.map} +0 -0
  502. /package/dist/dso-toolkit/{p-215e9ecd.entry.js.map → p-e097b372.entry.js.map} +0 -0
  503. /package/dist/dso-toolkit/{p-7531a336.entry.js.map → p-e3ddc3cf.entry.js.map} +0 -0
  504. /package/dist/dso-toolkit/{p-159753d7.entry.js.map → p-e990ee37.entry.js.map} +0 -0
  505. /package/dist/dso-toolkit/{p-ed11ee1b.entry.js.map → p-eea3b9c8.entry.js.map} +0 -0
  506. /package/dist/dso-toolkit/{p-53910728.entry.js.map → p-f0d63537.entry.js.map} +0 -0
  507. /package/dist/dso-toolkit/{p-f6a81839.entry.js.map → p-fa1cbcb0.entry.js.map} +0 -0
@@ -240,6 +240,7 @@ export class DropdownMenu {
240
240
  return {
241
241
  "open": {
242
242
  "type": "boolean",
243
+ "attribute": "open",
243
244
  "mutable": true,
244
245
  "complexType": {
245
246
  "original": "boolean",
@@ -254,12 +255,12 @@ export class DropdownMenu {
254
255
  },
255
256
  "getter": false,
256
257
  "setter": false,
257
- "attribute": "open",
258
258
  "reflect": true,
259
259
  "defaultValue": "false"
260
260
  },
261
261
  "dropdownAlign": {
262
262
  "type": "string",
263
+ "attribute": "dropdown-align",
263
264
  "mutable": false,
264
265
  "complexType": {
265
266
  "original": "\"left\" | \"right\"",
@@ -274,12 +275,12 @@ export class DropdownMenu {
274
275
  },
275
276
  "getter": false,
276
277
  "setter": false,
277
- "attribute": "dropdown-align",
278
278
  "reflect": false,
279
279
  "defaultValue": "\"left\""
280
280
  },
281
281
  "dropdownOptionsOffset": {
282
282
  "type": "number",
283
+ "attribute": "dropdown-options-offset",
283
284
  "mutable": false,
284
285
  "complexType": {
285
286
  "original": "number",
@@ -294,12 +295,12 @@ export class DropdownMenu {
294
295
  },
295
296
  "getter": false,
296
297
  "setter": false,
297
- "attribute": "dropdown-options-offset",
298
298
  "reflect": false,
299
299
  "defaultValue": "2"
300
300
  },
301
301
  "checkable": {
302
302
  "type": "boolean",
303
+ "attribute": "checkable",
303
304
  "mutable": false,
304
305
  "complexType": {
305
306
  "original": "boolean",
@@ -314,12 +315,12 @@ export class DropdownMenu {
314
315
  },
315
316
  "getter": false,
316
317
  "setter": false,
317
- "attribute": "checkable",
318
318
  "reflect": false,
319
319
  "defaultValue": "false"
320
320
  },
321
321
  "boundary": {
322
322
  "type": "string",
323
+ "attribute": "boundary",
323
324
  "mutable": false,
324
325
  "complexType": {
325
326
  "original": "string",
@@ -334,11 +335,11 @@ export class DropdownMenu {
334
335
  },
335
336
  "getter": false,
336
337
  "setter": false,
337
- "attribute": "boundary",
338
338
  "reflect": false
339
339
  },
340
340
  "placement": {
341
341
  "type": "string",
342
+ "attribute": "placement",
342
343
  "mutable": false,
343
344
  "complexType": {
344
345
  "original": "Placement",
@@ -359,11 +360,11 @@ export class DropdownMenu {
359
360
  },
360
361
  "getter": false,
361
362
  "setter": false,
362
- "attribute": "placement",
363
363
  "reflect": false
364
364
  },
365
365
  "strategy": {
366
366
  "type": "string",
367
+ "attribute": "strategy",
367
368
  "mutable": false,
368
369
  "complexType": {
369
370
  "original": "\"auto\" | \"absolute\" | \"fixed\"",
@@ -378,7 +379,6 @@ export class DropdownMenu {
378
379
  },
379
380
  "getter": false,
380
381
  "setter": false,
381
- "attribute": "strategy",
382
382
  "reflect": false,
383
383
  "defaultValue": "\"auto\""
384
384
  }
@@ -55,6 +55,7 @@ export class Expandable {
55
55
  return {
56
56
  "open": {
57
57
  "type": "boolean",
58
+ "attribute": "open",
58
59
  "mutable": false,
59
60
  "complexType": {
60
61
  "original": "boolean",
@@ -69,11 +70,11 @@ export class Expandable {
69
70
  },
70
71
  "getter": false,
71
72
  "setter": false,
72
- "attribute": "open",
73
73
  "reflect": true
74
74
  },
75
75
  "enableAnimation": {
76
76
  "type": "boolean",
77
+ "attribute": "enable-animation",
77
78
  "mutable": false,
78
79
  "complexType": {
79
80
  "original": "boolean",
@@ -88,12 +89,12 @@ export class Expandable {
88
89
  },
89
90
  "getter": false,
90
91
  "setter": false,
91
- "attribute": "enable-animation",
92
92
  "reflect": true,
93
93
  "defaultValue": "false"
94
94
  },
95
95
  "minimumHeight": {
96
96
  "type": "number",
97
+ "attribute": "minimum-height",
97
98
  "mutable": false,
98
99
  "complexType": {
99
100
  "original": "number",
@@ -108,7 +109,6 @@ export class Expandable {
108
109
  },
109
110
  "getter": false,
110
111
  "setter": false,
111
- "attribute": "minimum-height",
112
112
  "reflect": false
113
113
  }
114
114
  };
@@ -148,6 +148,7 @@ export class Header {
148
148
  return {
149
149
  "mainMenu": {
150
150
  "type": "unknown",
151
+ "attribute": "main-menu",
151
152
  "mutable": false,
152
153
  "complexType": {
153
154
  "original": "HeaderMenuItem[]",
@@ -172,6 +173,7 @@ export class Header {
172
173
  },
173
174
  "useDropDownMenu": {
174
175
  "type": "string",
176
+ "attribute": "use-drop-down-menu",
175
177
  "mutable": false,
176
178
  "complexType": {
177
179
  "original": "\"always\" | \"auto\"",
@@ -186,12 +188,12 @@ export class Header {
186
188
  },
187
189
  "getter": false,
188
190
  "setter": false,
189
- "attribute": "use-drop-down-menu",
190
191
  "reflect": false,
191
192
  "defaultValue": "\"auto\""
192
193
  },
193
194
  "authStatus": {
194
195
  "type": "string",
196
+ "attribute": "auth-status",
195
197
  "mutable": false,
196
198
  "complexType": {
197
199
  "original": "\"none\" | \"loggedIn\" | \"loggedOut\"",
@@ -206,12 +208,12 @@ export class Header {
206
208
  },
207
209
  "getter": false,
208
210
  "setter": false,
209
- "attribute": "auth-status",
210
211
  "reflect": false,
211
212
  "defaultValue": "\"none\""
212
213
  },
213
214
  "loginUrl": {
214
215
  "type": "string",
216
+ "attribute": "login-url",
215
217
  "mutable": false,
216
218
  "complexType": {
217
219
  "original": "string",
@@ -226,11 +228,11 @@ export class Header {
226
228
  },
227
229
  "getter": false,
228
230
  "setter": false,
229
- "attribute": "login-url",
230
231
  "reflect": false
231
232
  },
232
233
  "logoutUrl": {
233
234
  "type": "string",
235
+ "attribute": "logout-url",
234
236
  "mutable": false,
235
237
  "complexType": {
236
238
  "original": "string",
@@ -245,11 +247,11 @@ export class Header {
245
247
  },
246
248
  "getter": false,
247
249
  "setter": false,
248
- "attribute": "logout-url",
249
250
  "reflect": false
250
251
  },
251
252
  "showHelp": {
252
253
  "type": "boolean",
254
+ "attribute": "show-help",
253
255
  "mutable": false,
254
256
  "complexType": {
255
257
  "original": "boolean | undefined",
@@ -264,12 +266,12 @@ export class Header {
264
266
  },
265
267
  "getter": false,
266
268
  "setter": false,
267
- "attribute": "show-help",
268
269
  "reflect": false,
269
270
  "defaultValue": "false"
270
271
  },
271
272
  "helpUrl": {
272
273
  "type": "string",
274
+ "attribute": "help-url",
273
275
  "mutable": false,
274
276
  "complexType": {
275
277
  "original": "string",
@@ -284,11 +286,11 @@ export class Header {
284
286
  },
285
287
  "getter": false,
286
288
  "setter": false,
287
- "attribute": "help-url",
288
289
  "reflect": false
289
290
  },
290
291
  "userProfileName": {
291
292
  "type": "string",
293
+ "attribute": "user-profile-name",
292
294
  "mutable": false,
293
295
  "complexType": {
294
296
  "original": "string",
@@ -303,11 +305,11 @@ export class Header {
303
305
  },
304
306
  "getter": false,
305
307
  "setter": false,
306
- "attribute": "user-profile-name",
307
308
  "reflect": false
308
309
  },
309
310
  "userProfileUrl": {
310
311
  "type": "string",
312
+ "attribute": "user-profile-url",
311
313
  "mutable": false,
312
314
  "complexType": {
313
315
  "original": "string",
@@ -322,11 +324,11 @@ export class Header {
322
324
  },
323
325
  "getter": false,
324
326
  "setter": false,
325
- "attribute": "user-profile-url",
326
327
  "reflect": false
327
328
  },
328
329
  "userHomeUrl": {
329
330
  "type": "string",
331
+ "attribute": "user-home-url",
330
332
  "mutable": false,
331
333
  "complexType": {
332
334
  "original": "string",
@@ -341,11 +343,11 @@ export class Header {
341
343
  },
342
344
  "getter": false,
343
345
  "setter": false,
344
- "attribute": "user-home-url",
345
346
  "reflect": false
346
347
  },
347
348
  "userHomeActive": {
348
349
  "type": "boolean",
350
+ "attribute": "user-home-active",
349
351
  "mutable": false,
350
352
  "complexType": {
351
353
  "original": "boolean",
@@ -360,7 +362,6 @@ export class Header {
360
362
  },
361
363
  "getter": false,
362
364
  "setter": false,
363
- "attribute": "user-home-active",
364
365
  "reflect": false
365
366
  }
366
367
  };
@@ -1 +1 @@
1
- {"version":3,"file":"header.js","sourceRoot":"","sources":["../../../../src/components/header/header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEzG,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGhE,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,MAAM,uBAAuB,GAAG,GAAG,CAAC;AAOpC,MAAM,OAAO,MAAM;IALnB;QAyBE;;WAEG;QAEH,aAAQ,GAAsB,EAAE,CAAC;QAEjC;;WAEG;QAEH,oBAAe,GAAsB,MAAM,CAAC;QAE5C;;WAEG;QAEH,eAAU,GAAsC,MAAM,CAAC;QAgBvD;;WAEG;QAEH,aAAQ,GAAI,KAAK,CAAC;QAqClB,sBAAiB,GAAG,CAAC,CAAC;QAGtB,0BAAqB,GAAG,CAAC,CAAC;QAyClB,SAAI,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;QAwD3C,mBAAc,GAAG,QAAQ,CAAC,GAAG,EAAE;;YACrC,MAAA,IAAI,CAAC,eAAe,0CAAE,eAAe,CAAC,MAAM,CAAC,CAAC;YAC9C,MAAA,IAAI,CAAC,eAAe,0CAAE,eAAe,CAAC,UAAU,CAAC,CAAC;YAElD,IAAI,CAAC,eAAe,EAAE,CAAC;YACvB,IAAI,CAAC,eAAe,EAAE,CAAC;YAEvB,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;gBACtB,IAAI,CAAC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AAQ,IAAI,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAC1E;iDACA,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CACpB,CACD,CACY,CACjB,CACN;4BACA,IAAI,CAAC,WAAW,IAAI,CACnB,UAAI,KAAK,EAAE,IAAI,CAAC,gBAAgB,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,cAAc,EAAE,CAAC;gCACtE,SACE,IAAI,EAAE,IAAI,CAAC,WAAW,kBACR,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,EACtD,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,EAAE,UAAU,EAAE,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC;oCAE3E,gBAAU,IAAI,EAAC,WAAW,GAAY;oCACrC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CACpB,CACD,CACN,CACE,CACD,CACP,CACA,CACJ,CACG,CACL,CACJ,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Fragment, h, Prop, State, Watch } from \"@stencil/core\";\r\n\r\nimport clsx from \"clsx\";\r\nimport debounce from \"debounce\";\r\n\r\nimport { i18n } from \"../../utils/i18n\";\r\nimport { isModifiedEvent } from \"../../utils/is-modified-event\";\r\n\r\nimport { HeaderEvent, HeaderMenuItem, HeaderNavigationType } from \"./header.interfaces\";\r\nimport { translations } from \"./header.i18n\";\r\n\r\nconst minDesktopViewportWidth = 992;\r\n\r\n@Component({\r\n tag: \"dso-header\",\r\n styleUrl: \"header.scss\",\r\n shadow: true,\r\n})\r\nexport class Header {\r\n private clickHandler(\r\n e: MouseEvent,\r\n type: HeaderNavigationType,\r\n options?: { menuItem?: HeaderMenuItem; url?: string },\r\n ) {\r\n this.dsoHeaderClick.emit({\r\n originalEvent: e,\r\n isModifiedEvent: isModifiedEvent(e),\r\n type,\r\n menuItem: options?.menuItem,\r\n url: options?.url ?? options?.menuItem?.url,\r\n });\r\n }\r\n\r\n private dropdownElement?: HTMLElement;\r\n\r\n @Element()\r\n host!: HTMLDsoHeaderElement;\r\n\r\n /**\r\n * The main menu items.\r\n */\r\n @Prop()\r\n mainMenu?: HeaderMenuItem[] = [];\r\n\r\n /**\r\n * Either have the dropdown menu appear automatically or always.\r\n */\r\n @Prop()\r\n useDropDownMenu: \"always\" | \"auto\" = \"auto\";\r\n\r\n /**\r\n * Used to show the login/logout option. 'none' renders nothing.\r\n */\r\n @Prop()\r\n authStatus: \"none\" | \"loggedIn\" | \"loggedOut\" = \"none\";\r\n\r\n /**\r\n * When the `authStatus` is `loggedOut` a loginUrl can be provided.\r\n * The login button will then render as an anchor.\r\n */\r\n @Prop()\r\n loginUrl?: string;\r\n\r\n /**\r\n * The URL to open when the user activates \"logout\".\r\n * If no URL is specified, a button element is used instead.\r\n */\r\n @Prop()\r\n logoutUrl?: string;\r\n\r\n /**\r\n * Show a help-button or link in the header\r\n */\r\n @Prop()\r\n showHelp? = false;\r\n\r\n /**\r\n * The URL to open when the user activates \"help\".\r\n * If no URL is specified, a button element is used instead.\r\n */\r\n @Prop()\r\n helpUrl?: string;\r\n\r\n /**\r\n * The name to show when the user is logged in.\r\n */\r\n @Prop()\r\n userProfileName?: string;\r\n\r\n /**\r\n * The URL to open when the user activates the profile url.\r\n */\r\n @Prop()\r\n userProfileUrl?: string;\r\n\r\n /**\r\n * The URL to open when the user activates \"Mijn Omgevingsloket\".\r\n */\r\n @Prop()\r\n userHomeUrl?: string;\r\n\r\n /**\r\n * Set this to true when the user is at \"Mijn Omgevingsloket\".\r\n */\r\n @Prop()\r\n userHomeActive?: boolean;\r\n\r\n @State()\r\n showDropDown?: boolean;\r\n\r\n @State()\r\n overflowMenuItems = 0;\r\n\r\n @State()\r\n dropdownOptionsOffset = 0;\r\n\r\n /**\r\n * Emitted when something in the header is selected.\r\n *\r\n * `event.detail.type` indicates the functionality the user pressed. eg. `'login'` or `'menuItem'`\r\n */\r\n @Event()\r\n dsoHeaderClick!: EventEmitter<HeaderEvent>;\r\n\r\n @Watch(\"useDropDownMenu\")\r\n setShowDropDown(value: \"always\" | \"auto\") {\r\n if (value === \"auto\") {\r\n this.setDropDownMenu();\r\n\r\n return;\r\n }\r\n\r\n this.showDropDown = value === \"always\";\r\n }\r\n\r\n private wrapper: HTMLDivElement | undefined;\r\n\r\n private nav: HTMLUListElement | undefined;\r\n\r\n private shrinkMenuToFit() {\r\n if (!this.wrapper || !this.nav) {\r\n return;\r\n }\r\n\r\n if (this.wrapper.clientWidth >= this.nav.clientWidth) {\r\n return;\r\n }\r\n\r\n if (this.mainMenu && this.overflowMenuItems >= this.mainMenu.length) {\r\n return;\r\n }\r\n\r\n this.overflowMenuItems++;\r\n }\r\n\r\n private text = i18n(() => this.host, translations);\r\n\r\n componentDidRender() {\r\n if (!this.host.isConnected) {\r\n return;\r\n }\r\n\r\n if (this.showDropDown) {\r\n this.dropdownOptionsOffset = this.calculateDropdownOptionsOffset();\r\n\r\n return;\r\n }\r\n\r\n window.setTimeout(() => this.shrinkMenuToFit(), 0);\r\n }\r\n\r\n componentDidLoad() {\r\n this.setShowDropDown(this.useDropDownMenu);\r\n\r\n if (this.showDropDown) {\r\n this.dropdownOptionsOffset = this.calculateDropdownOptionsOffset();\r\n }\r\n }\r\n\r\n private setOverflowMenu() {\r\n if (this.showDropDown) {\r\n return;\r\n }\r\n\r\n if (this.overflowMenuItems !== 0) {\r\n this.overflowMenuItems = 0;\r\n return;\r\n }\r\n\r\n this.shrinkMenuToFit();\r\n }\r\n\r\n private setDropDownMenu() {\r\n if (this.useDropDownMenu !== \"auto\") {\r\n return;\r\n }\r\n\r\n this.showDropDown = window.innerWidth < minDesktopViewportWidth;\r\n }\r\n\r\n private calculateDropdownOptionsOffset() {\r\n if (!this.dropdownElement) {\r\n return 0;\r\n }\r\n\r\n return (\r\n this.host.clientHeight -\r\n (this.dropdownElement?.getBoundingClientRect().bottom - this.host.getBoundingClientRect().top)\r\n );\r\n }\r\n\r\n private onWindowResize = debounce(() => {\r\n this.dropdownElement?.removeAttribute(\"open\");\r\n this.dropdownElement?.removeAttribute(\"tabindex\");\r\n\r\n this.setDropDownMenu();\r\n this.setOverflowMenu();\r\n\r\n if (this.showDropDown) {\r\n this.dropdownOptionsOffset = this.calculateDropdownOptionsOffset();\r\n }\r\n }, 100);\r\n\r\n connectedCallback() {\r\n window.addEventListener(\"resize\", this.onWindowResize);\r\n }\r\n\r\n disconnectedCallback() {\r\n window.removeEventListener(\"resize\", this.onWindowResize);\r\n }\r\n\r\n private MenuItem = (item: HeaderMenuItem) => {\r\n return (\r\n <li class={item.active ? \"dso-active\" : undefined}>\r\n <a\r\n href={item.url}\r\n aria-current={item.active ? \"page\" : undefined}\r\n onClick={(e) => this.clickHandler(e, \"menuItem\", { menuItem: item })}\r\n >\r\n {item.label}\r\n </a>\r\n </li>\r\n );\r\n };\r\n\r\n render() {\r\n // Prevent 'flickering' when useDropDownMenu = 'always'\r\n if (this.showDropDown === undefined) {\r\n return;\r\n }\r\n\r\n return (\r\n <>\r\n <div\r\n class={clsx(\"dso-header\", {\r\n [\"use-drop-down\"]: this.showDropDown,\r\n })}\r\n ref={(element) => (this.wrapper = element)}\r\n >\r\n <div class=\"logo-container\">\r\n <slot name=\"logo\" />\r\n </div>\r\n {this.showDropDown &&\r\n this.mainMenu &&\r\n (this.mainMenu.length > 0 || this.userHomeUrl || this.authStatus !== \"none\") && (\r\n <div class=\"dropdown\">\r\n <dso-dropdown-menu\r\n dropdown-align=\"right\"\r\n strategy=\"absolute\"\r\n dropdownOptionsOffset={this.dropdownOptionsOffset}\r\n ref={(element) => (this.dropdownElement = element)}\r\n >\r\n <button type=\"button\" slot=\"toggle\">\r\n <span>{this.text(\"menu\")}</span>\r\n <dso-icon icon=\"chevron-down\"></dso-icon>\r\n </button>\r\n <div class=\"dso-dropdown-options\">\r\n <ul>\r\n {this.mainMenu.map(this.MenuItem)}\r\n {this.userHomeUrl && (\r\n <li>\r\n <a\r\n href={this.userHomeUrl}\r\n onClick={(e) => this.clickHandler(e, \"userHome\", { url: this.userHomeUrl })}\r\n >\r\n {this.text(\"userHome\")}\r\n </a>\r\n </li>\r\n )}\r\n {this.userProfileUrl && this.userProfileName && this.authStatus === \"loggedIn\" && (\r\n <li>\r\n <a\r\n href={this.userProfileUrl}\r\n onClick={(e) => this.clickHandler(e, \"profile\", { url: this.userProfileUrl })}\r\n >\r\n {this.userProfileName}\r\n <span class=\"profile-label\"> - Mijn profiel</span>\r\n </a>\r\n </li>\r\n )}\r\n {this.authStatus === \"loggedOut\" && (\r\n <li>\r\n {this.loginUrl ? (\r\n <a\r\n href={this.loginUrl}\r\n onClick={(e) => this.clickHandler(e, \"login\", { url: this.loginUrl })}\r\n >\r\n {this.text(\"login\")}\r\n </a>\r\n ) : (\r\n <button type=\"button\" onClick={(e) => this.clickHandler(e, \"login\")}>\r\n {this.text(\"login\")}\r\n </button>\r\n )}\r\n </li>\r\n )}\r\n {this.authStatus === \"loggedIn\" && (\r\n <li>\r\n {this.logoutUrl ? (\r\n <a\r\n href={this.logoutUrl}\r\n onClick={(e) => this.clickHandler(e, \"logout\", { url: this.logoutUrl })}\r\n >\r\n {this.text(\"logout\")}\r\n </a>\r\n ) : (\r\n <button type=\"button\" onClick={(e) => this.clickHandler(e, \"logout\")}>\r\n {this.text(\"logout\")}\r\n </button>\r\n )}\r\n </li>\r\n )}\r\n {this.showHelp && (\r\n <li>\r\n {this.helpUrl ? (\r\n <a\r\n href={this.helpUrl}\r\n class=\"dso-tertiary\"\r\n onClick={(e) => this.clickHandler(e, \"help\", { url: this.helpUrl })}\r\n >\r\n <span>{this.text(\"help\")}</span>\r\n <dso-icon icon=\"help\"></dso-icon>\r\n </a>\r\n ) : (\r\n <button type=\"button\" class=\"dso-tertiary\" onClick={(e) => this.clickHandler(e, \"help\")}>\r\n <span>{this.text(\"help\")}</span>\r\n <dso-icon icon=\"help\"></dso-icon>\r\n </button>\r\n )}\r\n </li>\r\n )}\r\n </ul>\r\n </div>\r\n </dso-dropdown-menu>\r\n </div>\r\n )}\r\n {!this.showDropDown && (\r\n <>\r\n <div class=\"dso-header-session\">\r\n {this.userProfileUrl && this.userProfileName && this.authStatus === \"loggedIn\" && (\r\n <div class=\"profile\">\r\n <a\r\n href={this.userProfileUrl}\r\n class=\"dso-tertiary\"\r\n onClick={(e) => this.clickHandler(e, \"profile\", { url: this.userProfileUrl })}\r\n >\r\n {this.userProfileName}\r\n </a>\r\n </div>\r\n )}\r\n {this.authStatus === \"loggedOut\" && (\r\n <div class=\"login\">\r\n {this.loginUrl ? (\r\n <a\r\n href={this.loginUrl}\r\n class=\"dso-tertiary\"\r\n onClick={(e) => this.clickHandler(e, \"login\", { url: this.loginUrl })}\r\n >\r\n {this.text(\"login\")}\r\n </a>\r\n ) : (\r\n <button class=\"dso-tertiary\" type=\"button\" onClick={(e) => this.clickHandler(e, \"login\")}>\r\n {this.text(\"login\")}\r\n </button>\r\n )}\r\n </div>\r\n )}\r\n {this.authStatus === \"loggedIn\" && (\r\n <div class=\"logout\">\r\n {this.logoutUrl ? (\r\n <a\r\n href={this.logoutUrl}\r\n class=\"dso-tertiary\"\r\n onClick={(e) => this.clickHandler(e, \"logout\", { url: this.logoutUrl })}\r\n >\r\n {this.text(\"logout\")}\r\n </a>\r\n ) : (\r\n <button class=\"dso-tertiary\" type=\"button\" onClick={(e) => this.clickHandler(e, \"logout\")}>\r\n {this.text(\"logout\")}\r\n </button>\r\n )}\r\n </div>\r\n )}\r\n {this.showHelp && (\r\n <div class=\"help\">\r\n {this.helpUrl ? (\r\n <a\r\n href={this.helpUrl}\r\n class=\"dso-tertiary\"\r\n onClick={(e) => this.clickHandler(e, \"help\", { url: this.helpUrl })}\r\n >\r\n <span>{this.text(\"help\")}</span>\r\n <dso-icon icon=\"help\"></dso-icon>\r\n </a>\r\n ) : (\r\n <button class=\"dso-tertiary\" type=\"button\" onClick={(e) => this.clickHandler(e, \"help\")}>\r\n <span>{this.text(\"help\")}</span>\r\n <dso-icon icon=\"help\"></dso-icon>\r\n </button>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n {((this.mainMenu && this.mainMenu.length > 0) || this.userHomeUrl) && (\r\n <nav class=\"dso-navbar\">\r\n <ul class=\"dso-nav dso-nav-main\" ref={(element) => (this.nav = element)}>\r\n {this.mainMenu &&\r\n this.mainMenu\r\n .filter((_, index) => this.mainMenu && index < this.mainMenu.length - this.overflowMenuItems)\r\n .map(this.MenuItem)}\r\n {this.overflowMenuItems > 0 && (\r\n <li>\r\n <dso-dropdown-menu placement=\"bottom\">\r\n <button type=\"button\" slot=\"toggle\">\r\n <span>{this.text(\"overflowMenu\")}</span>\r\n <dso-icon icon=\"chevron-down\"></dso-icon>\r\n </button>\r\n <div class=\"dso-dropdown-options\">\r\n <ul>\r\n {this.mainMenu &&\r\n this.mainMenu\r\n .filter(\r\n (_, index) =>\r\n this.mainMenu && index >= this.mainMenu.length - this.overflowMenuItems,\r\n )\r\n .map(this.MenuItem)}\r\n </ul>\r\n </div>\r\n </dso-dropdown-menu>\r\n </li>\r\n )}\r\n {this.userHomeUrl && (\r\n <li class={clsx(\"menu-user-home\", { \"dso-active\": this.userHomeActive })}>\r\n <a\r\n href={this.userHomeUrl}\r\n aria-current={this.userHomeActive ? \"page\" : undefined}\r\n onClick={(e) => this.clickHandler(e, \"userHome\", { url: this.userHomeUrl })}\r\n >\r\n <dso-icon icon=\"user-line\"></dso-icon>\r\n {this.text(\"userHome\")}\r\n </a>\r\n </li>\r\n )}\r\n </ul>\r\n </nav>\r\n )}\r\n </>\r\n )}\r\n </div>\r\n </>\r\n );\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"header.js","sourceRoot":"","sources":["../../../../src/components/header/header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEzG,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,QAAQ,MAAM,UAAU,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGhE,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,MAAM,uBAAuB,GAAG,GAAG,CAAC;AAOpC,MAAM,OAAO,MAAM;IALnB;QAyBE;;WAEG;QAEH,aAAQ,GAAsB,EAAE,CAAC;QAEjC;;WAEG;QAEH,oBAAe,GAAsB,MAAM,CAAC;QAE5C;;WAEG;QAEH,eAAU,GAAsC,MAAM,CAAC;QAgBvD;;WAEG;QAEH,aAAQ,GAAI,KAAK,CAAC;QAqClB,sBAAiB,GAAG,CAAC,CAAC;QAGtB,0BAAqB,GAAG,CAAC,CAAC;QAyClB,SAAI,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;QAwD3C,mBAAc,GAAG,QAAQ,CAAC,GAAG,EAAE;;YACrC,MAAA,IAAI,CAAC,eAAe,0CAAE,eAAe,CAAC,MAAM,CAAC,CAAC;YAC9C,MAAA,IAAI,CAAC,eAAe,0CAAE,eAAe,CAAC,UAAU,CAAC,CAAC;YAElD,IAAI,CAAC,eAAe,EAAE,CAA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;4CACZ,IAAI,CAAC,QAAQ;iDACV,MAAM,CACL,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CACX,IAAI,CAAC,QAAQ,IAAI,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC,iBAAiB,CAC1E;iDACA,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CACpB,CACD,CACY,CACjB,CACN;4BACA,IAAI,CAAC,WAAW,IAAI,CACnB,UAAI,KAAK,EAAE,IAAI,CAAC,gBAAgB,EAAE,EAAE,YAAY,EAAE,IAAI,CAAC,cAAc,EAAE,CAAC;gCACtE,SACE,IAAI,EAAE,IAAI,CAAC,WAAW,kBACR,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,EACtD,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,EAAE,UAAU,EAAE,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC;oCAE3E,gBAAU,IAAI,EAAC,WAAW,GAAY;oCACrC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CACpB,CACD,CACN,CACE,CACD,CACP,CACA,CACJ,CACG,CACL,CACJ,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Fragment, h, Prop, State, Watch } from \"@stencil/core\";\r\n\r\nimport clsx from \"clsx\";\r\nimport debounce from \"debounce\";\r\n\r\nimport { i18n } from \"../../utils/i18n\";\r\nimport { isModifiedEvent } from \"../../utils/is-modified-event\";\r\n\r\nimport { HeaderEvent, HeaderMenuItem, HeaderNavigationType } from \"./header.interfaces\";\r\nimport { translations } from \"./header.i18n\";\r\n\r\nconst minDesktopViewportWidth = 992;\r\n\r\n@Component({\r\n tag: \"dso-header\",\r\n styleUrl: \"header.scss\",\r\n shadow: true,\r\n})\r\nexport class Header {\r\n private clickHandler(\r\n e: MouseEvent,\r\n type: HeaderNavigationType,\r\n options?: { menuItem?: HeaderMenuItem; url?: string },\r\n ) {\r\n this.dsoHeaderClick.emit({\r\n originalEvent: e,\r\n isModifiedEvent: isModifiedEvent(e),\r\n type,\r\n menuItem: options?.menuItem,\r\n url: options?.url ?? options?.menuItem?.url,\r\n });\r\n }\r\n\r\n private dropdownElement?: HTMLElement;\r\n\r\n @Element()\r\n host!: HTMLDsoHeaderElement;\r\n\r\n /**\r\n * The main menu items.\r\n */\r\n @Prop()\r\n mainMenu?: HeaderMenuItem[] = [];\r\n\r\n /**\r\n * Either have the dropdown menu appear automatically or always.\r\n */\r\n @Prop()\r\n useDropDownMenu: \"always\" | \"auto\" = \"auto\";\r\n\r\n /**\r\n * Used to show the login/logout option. 'none' renders nothing.\r\n */\r\n @Prop()\r\n authStatus: \"none\" | \"loggedIn\" | \"loggedOut\" = \"none\";\r\n\r\n /**\r\n * When the `authStatus` is `loggedOut` a loginUrl can be provided.\r\n * The login button will then render as an anchor.\r\n */\r\n @Prop()\r\n loginUrl?: string;\r\n\r\n /**\r\n * The URL to open when the user activates \"logout\".\r\n * If no URL is specified, a button element is used instead.\r\n */\r\n @Prop()\r\n logoutUrl?: string;\r\n\r\n /**\r\n * Show a help-button or link in the header\r\n */\r\n @Prop()\r\n showHelp? = false;\r\n\r\n /**\r\n * The URL to open when the user activates \"help\".\r\n * If no URL is specified, a button element is used instead.\r\n */\r\n @Prop()\r\n helpUrl?: string;\r\n\r\n /**\r\n * The name to show when the user is logged in.\r\n */\r\n @Prop()\r\n userProfileName?: string;\r\n\r\n /**\r\n * The URL to open when the user activates the profile url.\r\n */\r\n @Prop()\r\n userProfileUrl?: string;\r\n\r\n /**\r\n * The URL to open when the user activates \"Mijn Omgevingsloket\".\r\n */\r\n @Prop()\r\n userHomeUrl?: string;\r\n\r\n /**\r\n * Set this to true when the user is at \"Mijn Omgevingsloket\".\r\n */\r\n @Prop()\r\n userHomeActive?: boolean;\r\n\r\n @State()\r\n showDropDown?: boolean;\r\n\r\n @State()\r\n overflowMenuItems = 0;\r\n\r\n @State()\r\n dropdownOptionsOffset = 0;\r\n\r\n /**\r\n * Emitted when something in the header is selected.\r\n *\r\n * `event.detail.type` indicates the functionality the user pressed. eg. `'login'` or `'menuItem'`\r\n */\r\n @Event()\r\n dsoHeaderClick!: EventEmitter<HeaderEvent>;\r\n\r\n @Watch(\"useDropDownMenu\")\r\n setShowDropDown(value: \"always\" | \"auto\") {\r\n if (value === \"auto\") {\r\n this.setDropDownMenu();\r\n\r\n return;\r\n }\r\n\r\n this.showDropDown = value === \"always\";\r\n }\r\n\r\n private wrapper: HTMLDivElement | undefined;\r\n\r\n private nav: HTMLUListElement | undefined;\r\n\r\n private shrinkMenuToFit() {\r\n if (!this.wrapper || !this.nav) {\r\n return;\r\n }\r\n\r\n if (this.wrapper.clientWidth >= this.nav.clientWidth) {\r\n return;\r\n }\r\n\r\n if (this.mainMenu && this.overflowMenuItems >= this.mainMenu.length) {\r\n return;\r\n }\r\n\r\n this.overflowMenuItems++;\r\n }\r\n\r\n private text = i18n(() => this.host, translations);\r\n\r\n componentDidRender() {\r\n if (!this.host.isConnected) {\r\n return;\r\n }\r\n\r\n if (this.showDropDown) {\r\n this.dropdownOptionsOffset = this.calculateDropdownOptionsOffset();\r\n\r\n return;\r\n }\r\n\r\n window.setTimeout(() => this.shrinkMenuToFit(), 0);\r\n }\r\n\r\n componentDidLoad() {\r\n this.setShowDropDown(this.useDropDownMenu);\r\n\r\n if (this.showDropDown) {\r\n this.dropdownOptionsOffset = this.calculateDropdownOptionsOffset();\r\n }\r\n }\r\n\r\n private setOverflowMenu() {\r\n if (this.showDropDown) {\r\n return;\r\n }\r\n\r\n if (this.overflowMenuItems !== 0) {\r\n this.overflowMenuItems = 0;\r\n return;\r\n }\r\n\r\n this.shrinkMenuToFit();\r\n }\r\n\r\n private setDropDownMenu() {\r\n if (this.useDropDownMenu !== \"auto\") {\r\n return;\r\n }\r\n\r\n this.showDropDown = window.innerWidth < minDesktopViewportWidth;\r\n }\r\n\r\n private calculateDropdownOptionsOffset() {\r\n if (!this.dropdownElement) {\r\n return 0;\r\n }\r\n\r\n return (\r\n this.host.clientHeight -\r\n (this.dropdownElement?.getBoundingClientRect().bottom - this.host.getBoundingClientRect().top)\r\n );\r\n }\r\n\r\n private onWindowResize = debounce(() => {\r\n this.dropdownElement?.removeAttribute(\"open\");\r\n this.dropdownElement?.removeAttribute(\"tabindex\");\r\n\r\n this.setDropDownMenu();\r\n this.setOverflowMenu();\r\n\r\n if (this.showDropDown) {\r\n this.dropdownOptionsOffset = this.calculateDropdownOptionsOffset();\r\n }\r\n }, 100);\r\n\r\n connectedCallback() {\r\n window.addEventListener(\"resize\", this.onWindowResize);\r\n }\r\n\r\n disconnectedCallback() {\r\n window.removeEventListener(\"resize\", this.onWindowResize);\r\n }\r\n\r\n private MenuItem = (item: HeaderMenuItem) => {\r\n return (\r\n <li class={item.active ? \"dso-active\" : undefined}>\r\n <a\r\n href={item.url}\r\n aria-current={item.active ? \"page\" : undefined}\r\n onClick={(e) => this.clickHandler(e, \"menuItem\", { menuItem: item })}\r\n >\r\n {item.label}\r\n </a>\r\n </li>\r\n );\r\n };\r\n\r\n render() {\r\n // Prevent 'flickering' when useDropDownMenu = 'always'\r\n if (this.showDropDown === undefined) {\r\n return;\r\n }\r\n\r\n return (\r\n <>\r\n <div\r\n class={clsx(\"dso-header\", {\r\n [\"use-drop-down\"]: this.showDropDown,\r\n })}\r\n ref={(element) => (this.wrapper = element)}\r\n >\r\n <div class=\"logo-container\">\r\n <slot name=\"logo\" />\r\n </div>\r\n {this.showDropDown &&\r\n this.mainMenu &&\r\n (this.mainMenu.length > 0 || this.userHomeUrl || this.authStatus !== \"none\") && (\r\n <div class=\"dropdown\">\r\n <dso-dropdown-menu\r\n dropdown-align=\"right\"\r\n strategy=\"absolute\"\r\n dropdownOptionsOffset={this.dropdownOptionsOffset}\r\n ref={(element) => (this.dropdownElement = element)}\r\n >\r\n <button type=\"button\" slot=\"toggle\">\r\n <span>{this.text(\"menu\")}</span>\r\n <dso-icon icon=\"chevron-down\"></dso-icon>\r\n </button>\r\n <div class=\"dso-dropdown-options\">\r\n <ul>\r\n {this.mainMenu.map(this.MenuItem)}\r\n {this.userHomeUrl && (\r\n <li>\r\n <a\r\n href={this.userHomeUrl}\r\n onClick={(e) => this.clickHandler(e, \"userHome\", { url: this.userHomeUrl })}\r\n >\r\n {this.text(\"userHome\")}\r\n </a>\r\n </li>\r\n )}\r\n {this.userProfileUrl && this.userProfileName && this.authStatus === \"loggedIn\" && (\r\n <li>\r\n <a\r\n href={this.userProfileUrl}\r\n onClick={(e) => this.clickHandler(e, \"profile\", { url: this.userProfileUrl })}\r\n >\r\n {this.userProfileName}\r\n <span class=\"profile-label\"> - Mijn profiel</span>\r\n </a>\r\n </li>\r\n )}\r\n {this.authStatus === \"loggedOut\" && (\r\n <li>\r\n {this.loginUrl ? (\r\n <a\r\n href={this.loginUrl}\r\n onClick={(e) => this.clickHandler(e, \"login\", { url: this.loginUrl })}\r\n >\r\n {this.text(\"login\")}\r\n </a>\r\n ) : (\r\n <button type=\"button\" onClick={(e) => this.clickHandler(e, \"login\")}>\r\n {this.text(\"login\")}\r\n </button>\r\n )}\r\n </li>\r\n )}\r\n {this.authStatus === \"loggedIn\" && (\r\n <li>\r\n {this.logoutUrl ? (\r\n <a\r\n href={this.logoutUrl}\r\n onClick={(e) => this.clickHandler(e, \"logout\", { url: this.logoutUrl })}\r\n >\r\n {this.text(\"logout\")}\r\n </a>\r\n ) : (\r\n <button type=\"button\" onClick={(e) => this.clickHandler(e, \"logout\")}>\r\n {this.text(\"logout\")}\r\n </button>\r\n )}\r\n </li>\r\n )}\r\n {this.showHelp && (\r\n <li>\r\n {this.helpUrl ? (\r\n <a\r\n href={this.helpUrl}\r\n class=\"dso-tertiary\"\r\n onClick={(e) => this.clickHandler(e, \"help\", { url: this.helpUrl })}\r\n >\r\n <span>{this.text(\"help\")}</span>\r\n <dso-icon icon=\"help\"></dso-icon>\r\n </a>\r\n ) : (\r\n <button type=\"button\" class=\"dso-tertiary\" onClick={(e) => this.clickHandler(e, \"help\")}>\r\n <span>{this.text(\"help\")}</span>\r\n <dso-icon icon=\"help\"></dso-icon>\r\n </button>\r\n )}\r\n </li>\r\n )}\r\n </ul>\r\n </div>\r\n </dso-dropdown-menu>\r\n </div>\r\n )}\r\n {!this.showDropDown && (\r\n <>\r\n <div class=\"dso-header-session\">\r\n {this.userProfileUrl && this.userProfileName && this.authStatus === \"loggedIn\" && (\r\n <div class=\"profile\">\r\n <a\r\n href={this.userProfileUrl}\r\n class=\"dso-tertiary\"\r\n onClick={(e) => this.clickHandler(e, \"profile\", { url: this.userProfileUrl })}\r\n >\r\n {this.userProfileName}\r\n </a>\r\n </div>\r\n )}\r\n {this.authStatus === \"loggedOut\" && (\r\n <div class=\"login\">\r\n {this.loginUrl ? (\r\n <a\r\n href={this.loginUrl}\r\n class=\"dso-tertiary\"\r\n onClick={(e) => this.clickHandler(e, \"login\", { url: this.loginUrl })}\r\n >\r\n {this.text(\"login\")}\r\n </a>\r\n ) : (\r\n <button class=\"dso-tertiary\" type=\"button\" onClick={(e) => this.clickHandler(e, \"login\")}>\r\n {this.text(\"login\")}\r\n </button>\r\n )}\r\n </div>\r\n )}\r\n {this.authStatus === \"loggedIn\" && (\r\n <div class=\"logout\">\r\n {this.logoutUrl ? (\r\n <a\r\n href={this.logoutUrl}\r\n class=\"dso-tertiary\"\r\n onClick={(e) => this.clickHandler(e, \"logout\", { url: this.logoutUrl })}\r\n >\r\n {this.text(\"logout\")}\r\n </a>\r\n ) : (\r\n <button class=\"dso-tertiary\" type=\"button\" onClick={(e) => this.clickHandler(e, \"logout\")}>\r\n {this.text(\"logout\")}\r\n </button>\r\n )}\r\n </div>\r\n )}\r\n {this.showHelp && (\r\n <div class=\"help\">\r\n {this.helpUrl ? (\r\n <a\r\n href={this.helpUrl}\r\n class=\"dso-tertiary\"\r\n onClick={(e) => this.clickHandler(e, \"help\", { url: this.helpUrl })}\r\n >\r\n <span>{this.text(\"help\")}</span>\r\n <dso-icon icon=\"help\"></dso-icon>\r\n </a>\r\n ) : (\r\n <button class=\"dso-tertiary\" type=\"button\" onClick={(e) => this.clickHandler(e, \"help\")}>\r\n <span>{this.text(\"help\")}</span>\r\n <dso-icon icon=\"help\"></dso-icon>\r\n </button>\r\n )}\r\n </div>\r\n )}\r\n </div>\r\n {((this.mainMenu && this.mainMenu.length > 0) || this.userHomeUrl) && (\r\n <nav class=\"dso-navbar\">\r\n <ul class=\"dso-nav dso-nav-main\" ref={(element) => (this.nav = element)}>\r\n {this.mainMenu &&\r\n this.mainMenu\r\n .filter((_, index) => this.mainMenu && index < this.mainMenu.length - this.overflowMenuItems)\r\n .map(this.MenuItem)}\r\n {this.overflowMenuItems > 0 && (\r\n <li>\r\n <dso-dropdown-menu placement=\"bottom\">\r\n <button type=\"button\" slot=\"toggle\">\r\n <span>{this.text(\"overflowMenu\")}</span>\r\n <dso-icon icon=\"chevron-down\"></dso-icon>\r\n </button>\r\n <div class=\"dso-dropdown-options\">\r\n <ul>\r\n {this.mainMenu &&\r\n this.mainMenu\r\n .filter(\r\n (_, index) =>\r\n this.mainMenu && index >= this.mainMenu.length - this.overflowMenuItems,\r\n )\r\n .map(this.MenuItem)}\r\n </ul>\r\n </div>\r\n </dso-dropdown-menu>\r\n </li>\r\n )}\r\n {this.userHomeUrl && (\r\n <li class={clsx(\"menu-user-home\", { \"dso-active\": this.userHomeActive })}>\r\n <a\r\n href={this.userHomeUrl}\r\n aria-current={this.userHomeActive ? \"page\" : undefined}\r\n onClick={(e) => this.clickHandler(e, \"userHome\", { url: this.userHomeUrl })}\r\n >\r\n <dso-icon icon=\"user-line\"></dso-icon>\r\n {this.text(\"userHome\")}\r\n </a>\r\n </li>\r\n )}\r\n </ul>\r\n </nav>\r\n )}\r\n </>\r\n )}\r\n </div>\r\n </>\r\n );\r\n }\r\n}\r\n"]}
@@ -21,6 +21,7 @@ export class HighlightBox {
21
21
  return {
22
22
  "yellow": {
23
23
  "type": "boolean",
24
+ "attribute": "yellow",
24
25
  "mutable": false,
25
26
  "complexType": {
26
27
  "original": "boolean",
@@ -35,11 +36,11 @@ export class HighlightBox {
35
36
  },
36
37
  "getter": false,
37
38
  "setter": false,
38
- "attribute": "yellow",
39
39
  "reflect": true
40
40
  },
41
41
  "border": {
42
42
  "type": "boolean",
43
+ "attribute": "border",
43
44
  "mutable": false,
44
45
  "complexType": {
45
46
  "original": "boolean",
@@ -54,11 +55,11 @@ export class HighlightBox {
54
55
  },
55
56
  "getter": false,
56
57
  "setter": false,
57
- "attribute": "border",
58
58
  "reflect": true
59
59
  },
60
60
  "white": {
61
61
  "type": "boolean",
62
+ "attribute": "white",
62
63
  "mutable": false,
63
64
  "complexType": {
64
65
  "original": "boolean",
@@ -73,11 +74,11 @@ export class HighlightBox {
73
74
  },
74
75
  "getter": false,
75
76
  "setter": false,
76
- "attribute": "white",
77
77
  "reflect": true
78
78
  },
79
79
  "dropShadow": {
80
80
  "type": "boolean",
81
+ "attribute": "drop-shadow",
81
82
  "mutable": false,
82
83
  "complexType": {
83
84
  "original": "boolean",
@@ -92,11 +93,11 @@ export class HighlightBox {
92
93
  },
93
94
  "getter": false,
94
95
  "setter": false,
95
- "attribute": "drop-shadow",
96
96
  "reflect": true
97
97
  },
98
98
  "step": {
99
99
  "type": "number",
100
+ "attribute": "step",
100
101
  "mutable": false,
101
102
  "complexType": {
102
103
  "original": "number",
@@ -111,7 +112,6 @@ export class HighlightBox {
111
112
  },
112
113
  "getter": false,
113
114
  "setter": false,
114
- "attribute": "step",
115
115
  "reflect": true
116
116
  }
117
117
  };
@@ -233,6 +233,7 @@ export class Icon {
233
233
  return {
234
234
  "icon": {
235
235
  "type": "string",
236
+ "attribute": "icon",
236
237
  "mutable": false,
237
238
  "complexType": {
238
239
  "original": "string",
@@ -247,7 +248,6 @@ export class Icon {
247
248
  },
248
249
  "getter": false,
249
250
  "setter": false,
250
- "attribute": "icon",
251
251
  "reflect": false
252
252
  }
253
253
  };
@@ -122,6 +122,7 @@ export class ImageOverlay {
122
122
  return {
123
123
  "wijzigactie": {
124
124
  "type": "string",
125
+ "attribute": "wijzigactie",
125
126
  "mutable": false,
126
127
  "complexType": {
127
128
  "original": "string",
@@ -136,7 +137,6 @@ export class ImageOverlay {
136
137
  },
137
138
  "getter": false,
138
139
  "setter": false,
139
- "attribute": "wijzigactie",
140
140
  "reflect": false
141
141
  }
142
142
  };
@@ -19,6 +19,7 @@ export class Info {
19
19
  return {
20
20
  "fixed": {
21
21
  "type": "boolean",
22
+ "attribute": "fixed",
22
23
  "mutable": false,
23
24
  "complexType": {
24
25
  "original": "boolean",
@@ -33,11 +34,11 @@ export class Info {
33
34
  },
34
35
  "getter": false,
35
36
  "setter": false,
36
- "attribute": "fixed",
37
37
  "reflect": true
38
38
  },
39
39
  "active": {
40
40
  "type": "boolean",
41
+ "attribute": "active",
41
42
  "mutable": false,
42
43
  "complexType": {
43
44
  "original": "boolean",
@@ -52,7 +53,6 @@ export class Info {
52
53
  },
53
54
  "getter": false,
54
55
  "setter": false,
55
- "attribute": "active",
56
56
  "reflect": true
57
57
  }
58
58
  };
@@ -38,6 +38,7 @@ export class InfoButton {
38
38
  return {
39
39
  "active": {
40
40
  "type": "boolean",
41
+ "attribute": "active",
41
42
  "mutable": true,
42
43
  "complexType": {
43
44
  "original": "boolean",
@@ -52,11 +53,11 @@ export class InfoButton {
52
53
  },
53
54
  "getter": false,
54
55
  "setter": false,
55
- "attribute": "active",
56
56
  "reflect": true
57
57
  },
58
58
  "secondary": {
59
59
  "type": "boolean",
60
+ "attribute": "secondary",
60
61
  "mutable": false,
61
62
  "complexType": {
62
63
  "original": "boolean",
@@ -71,11 +72,11 @@ export class InfoButton {
71
72
  },
72
73
  "getter": false,
73
74
  "setter": false,
74
- "attribute": "secondary",
75
75
  "reflect": false
76
76
  },
77
77
  "label": {
78
78
  "type": "string",
79
+ "attribute": "label",
79
80
  "mutable": false,
80
81
  "complexType": {
81
82
  "original": "string",
@@ -90,7 +91,6 @@ export class InfoButton {
90
91
  },
91
92
  "getter": false,
92
93
  "setter": false,
93
- "attribute": "label",
94
94
  "reflect": false,
95
95
  "defaultValue": "\"Toelichting bij optie\""
96
96
  }