@dso-toolkit/core 68.3.0 → 68.5.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 (290) hide show
  1. package/dist/cjs/dso-accordion-section.cjs.entry.js +26 -6
  2. package/dist/cjs/dso-accordion-section.cjs.entry.js.map +1 -1
  3. package/dist/cjs/dso-alert_6.cjs.entry.js +21 -8
  4. package/dist/cjs/dso-alert_6.cjs.entry.js.map +1 -1
  5. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +1 -1
  6. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js.map +1 -1
  7. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +1 -1
  8. package/dist/cjs/dso-helpcenter-panel.cjs.entry.js +2 -2
  9. package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
  10. package/dist/cjs/dso-icon.cjs.entry.js +1 -1
  11. package/dist/cjs/dso-info-button.cjs.entry.js +1 -1
  12. package/dist/cjs/dso-info_2.cjs.entry.js +2 -2
  13. package/dist/cjs/dso-input-range.cjs.entry.js +2 -2
  14. package/dist/cjs/dso-label_3.cjs.entry.js +193 -0
  15. package/dist/cjs/dso-label_3.cjs.entry.js.map +1 -0
  16. package/dist/cjs/dso-legend-item.cjs.entry.js +2 -2
  17. package/dist/cjs/dso-list-button.cjs.entry.js +2 -2
  18. package/dist/cjs/dso-list-button.cjs.entry.js.map +1 -1
  19. package/dist/cjs/dso-logo.cjs.entry.js +1 -1
  20. package/dist/cjs/dso-map-base-layers.cjs.entry.js +1 -1
  21. package/dist/cjs/dso-map-controls.cjs.entry.js +1 -1
  22. package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
  23. package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
  24. package/dist/cjs/dso-modal.cjs.entry.js +2 -2
  25. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +1 -1
  26. package/dist/cjs/dso-progress-bar.cjs.entry.js +1 -1
  27. package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
  28. package/dist/cjs/dso-project-item.cjs.entry.js +1 -1
  29. package/dist/cjs/dso-responsive-element.cjs.entry.js +1 -1
  30. package/dist/cjs/dso-scrollable.cjs.entry.js +2 -2
  31. package/dist/cjs/dso-skiplink.cjs.entry.js +1 -1
  32. package/dist/cjs/dso-survey-rating.cjs.entry.js +44 -0
  33. package/dist/cjs/dso-survey-rating.cjs.entry.js.map +1 -0
  34. package/dist/cjs/dso-tabs.cjs.entry.js +1 -1
  35. package/dist/cjs/dso-toggletip.cjs.entry.js +1 -1
  36. package/dist/cjs/dso-toolkit.cjs.js +1 -1
  37. package/dist/cjs/{dso-label_2.cjs.entry.js → dso-tooltip.cjs.entry.js} +8 -123
  38. package/dist/cjs/dso-tooltip.cjs.entry.js.map +1 -0
  39. package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
  40. package/dist/cjs/dso-viewer-grid.cjs.entry.js +2 -2
  41. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
  42. package/dist/cjs/loader.cjs.js +1 -1
  43. package/dist/collection/collection-manifest.json +1 -0
  44. package/dist/collection/components/accordion/components/accordion-section.css +44 -10
  45. package/dist/collection/components/accordion/components/accordion-section.interfaces.js.map +1 -1
  46. package/dist/collection/components/accordion/components/accordion-section.js +85 -5
  47. package/dist/collection/components/accordion/components/accordion-section.js.map +1 -1
  48. package/dist/collection/components/document-component/document-component.js +38 -4
  49. package/dist/collection/components/document-component/document-component.js.map +1 -1
  50. package/dist/collection/components/document-component/document-component.models.js.map +1 -1
  51. package/dist/collection/components/document-component-demo/document-component.demo.js +1 -1
  52. package/dist/collection/components/dropdown-menu/dropdown-menu.js +1 -1
  53. package/dist/collection/components/helpcenter-panel/helpcenter-panel.js +2 -2
  54. package/dist/collection/components/highlight-box/highlight-box.js +1 -1
  55. package/dist/collection/components/icon/icon.js +1 -1
  56. package/dist/collection/components/info/info.js +1 -1
  57. package/dist/collection/components/info-button/info-button.js +1 -1
  58. package/dist/collection/components/input-range/input-range.js +2 -2
  59. package/dist/collection/components/label/label.js +3 -3
  60. package/dist/collection/components/legend-item/legend-item.js +2 -2
  61. package/dist/collection/components/list-button/list-button.css +0 -7
  62. package/dist/collection/components/list-button/list-button.js +1 -1
  63. package/dist/collection/components/logo/logo.js +1 -1
  64. package/dist/collection/components/map-base-layers/map-base-layers.js +1 -1
  65. package/dist/collection/components/map-controls/map-controls.js +1 -1
  66. package/dist/collection/components/map-overlays/map-overlays.js +1 -1
  67. package/dist/collection/components/mark-bar/mark-bar.js +1 -1
  68. package/dist/collection/components/modal/modal.js +2 -2
  69. package/dist/collection/components/ozon-content/nodes/{opschrift.node.js → kop.node.js} +3 -3
  70. package/dist/collection/components/ozon-content/nodes/kop.node.js.map +1 -0
  71. package/dist/collection/components/ozon-content/ozon-content-context.interface.js.map +1 -1
  72. package/dist/collection/components/ozon-content/ozon-content-mapper.js +8 -4
  73. package/dist/collection/components/ozon-content/ozon-content-mapper.js.map +1 -1
  74. package/dist/collection/components/ozon-content/ozon-content.js +26 -1
  75. package/dist/collection/components/ozon-content/ozon-content.js.map +1 -1
  76. package/dist/collection/components/panel/panel.css +3 -2
  77. package/dist/collection/components/plekinfo-card/plekinfo-card.js +1 -1
  78. package/dist/collection/components/progress-bar/progress-bar.js +1 -1
  79. package/dist/collection/components/progress-indicator/progress-indicator.js +1 -1
  80. package/dist/collection/components/project-item/project-item.js +1 -1
  81. package/dist/collection/components/renvooi/renvooi.js +1 -1
  82. package/dist/collection/components/responsive-element/responsive-element.js +1 -1
  83. package/dist/collection/components/scrollable/scrollable.js +2 -2
  84. package/dist/collection/components/selectable/selectable.js +1 -1
  85. package/dist/collection/components/skiplink/skiplink.js +1 -1
  86. package/dist/collection/components/slide-toggle/slide-toggle.css +5 -0
  87. package/dist/collection/components/slide-toggle/slide-toggle.js +2 -1
  88. package/dist/collection/components/slide-toggle/slide-toggle.js.map +1 -1
  89. package/dist/collection/components/survey-rating/survey-rating.css +392 -0
  90. package/dist/collection/components/survey-rating/survey-rating.interfaces.js +2 -0
  91. package/dist/collection/components/survey-rating/survey-rating.interfaces.js.map +1 -0
  92. package/dist/collection/components/survey-rating/survey-rating.js +84 -0
  93. package/dist/collection/components/survey-rating/survey-rating.js.map +1 -0
  94. package/dist/collection/components/table/table.js +1 -1
  95. package/dist/collection/components/tabs/tabs.js +1 -1
  96. package/dist/collection/components/toggletip/toggletip.js +1 -1
  97. package/dist/collection/components/tooltip/tooltip.js +1 -1
  98. package/dist/collection/components/tree-view/tree-view.js +1 -1
  99. package/dist/collection/components/viewer-grid/viewer-grid.js +2 -2
  100. package/dist/components/document-component.js +2 -1
  101. package/dist/components/document-component.js.map +1 -1
  102. package/dist/components/dropdown-menu.js +1 -1
  103. package/dist/components/dso-accordion-section.js +44 -16
  104. package/dist/components/dso-accordion-section.js.map +1 -1
  105. package/dist/components/dso-helpcenter-panel.js +2 -2
  106. package/dist/components/dso-highlight-box.js +1 -1
  107. package/dist/components/dso-input-range.js +2 -2
  108. package/dist/components/dso-legend-item.js +2 -2
  109. package/dist/components/dso-list-button.js +2 -2
  110. package/dist/components/dso-list-button.js.map +1 -1
  111. package/dist/components/dso-logo.js +1 -1
  112. package/dist/components/dso-map-base-layers.js +1 -1
  113. package/dist/components/dso-map-controls.js +1 -1
  114. package/dist/components/dso-map-overlays.js +1 -1
  115. package/dist/components/dso-mark-bar.js +1 -1
  116. package/dist/components/dso-modal.js +2 -2
  117. package/dist/components/dso-plekinfo-card.js +1 -1
  118. package/dist/components/dso-progress-bar.js +1 -1
  119. package/dist/components/dso-project-item.js +1 -1
  120. package/dist/components/dso-skiplink.js +1 -1
  121. package/dist/components/dso-survey-rating.d.ts +11 -0
  122. package/dist/components/dso-survey-rating.js +70 -0
  123. package/dist/components/dso-survey-rating.js.map +1 -0
  124. package/dist/components/dso-tabs.js +1 -1
  125. package/dist/components/dso-tree-view.js +1 -1
  126. package/dist/components/dso-viewer-grid.js +2 -2
  127. package/dist/components/dsot-document-component-demo.js +1 -1
  128. package/dist/components/icon.js +1 -1
  129. package/dist/components/index.d.ts +2 -0
  130. package/dist/components/index.js +1 -0
  131. package/dist/components/index.js.map +1 -1
  132. package/dist/components/info-button.js +1 -1
  133. package/dist/components/info.js +1 -1
  134. package/dist/components/label.js +3 -3
  135. package/dist/components/ozon-content.js +20 -6
  136. package/dist/components/ozon-content.js.map +1 -1
  137. package/dist/components/panel.js +1 -1
  138. package/dist/components/panel.js.map +1 -1
  139. package/dist/components/progress-indicator.js +1 -1
  140. package/dist/components/renvooi.js +1 -1
  141. package/dist/components/responsive-element.js +1 -1
  142. package/dist/components/scrollable.js +2 -2
  143. package/dist/components/selectable.js +1 -1
  144. package/dist/components/slide-toggle.js +3 -3
  145. package/dist/components/slide-toggle.js.map +1 -1
  146. package/dist/components/table.js +1 -1
  147. package/dist/components/toggletip.js +1 -1
  148. package/dist/components/tooltip.js +1 -1
  149. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  150. package/dist/dso-toolkit/dso-toolkit.esm.js.map +1 -1
  151. package/dist/dso-toolkit/{p-b3deb707.entry.js → p-0499bdce.entry.js} +2 -2
  152. package/dist/dso-toolkit/p-0499bdce.entry.js.map +1 -0
  153. package/dist/dso-toolkit/p-0dcef2bb.entry.js +2 -0
  154. package/dist/dso-toolkit/p-0dcef2bb.entry.js.map +1 -0
  155. package/dist/dso-toolkit/{p-df6c1f5f.entry.js → p-11e367b3.entry.js} +2 -2
  156. package/dist/dso-toolkit/{p-a6df0d43.entry.js → p-1746cde9.entry.js} +2 -2
  157. package/dist/dso-toolkit/p-1746cde9.entry.js.map +1 -0
  158. package/dist/dso-toolkit/{p-f1dc313d.entry.js → p-1ec998ba.entry.js} +2 -2
  159. package/dist/dso-toolkit/{p-35186e39.entry.js → p-236e6d02.entry.js} +2 -2
  160. package/dist/dso-toolkit/p-2aaad2dd.entry.js +2 -0
  161. package/dist/dso-toolkit/{p-3270708a.entry.js → p-3033a7f3.entry.js} +2 -2
  162. package/dist/dso-toolkit/p-323455dc.entry.js +2 -0
  163. package/dist/dso-toolkit/p-323455dc.entry.js.map +1 -0
  164. package/dist/dso-toolkit/{p-ad38ad02.entry.js → p-40d7c6bf.entry.js} +2 -2
  165. package/dist/dso-toolkit/{p-ee7e35f5.entry.js → p-4bcf2efb.entry.js} +2 -2
  166. package/dist/dso-toolkit/{p-7e626a87.entry.js → p-4e8fa5f6.entry.js} +2 -2
  167. package/dist/dso-toolkit/p-55306107.entry.js +2 -0
  168. package/dist/dso-toolkit/{p-fccb414d.entry.js.map → p-55306107.entry.js.map} +1 -1
  169. package/dist/dso-toolkit/{p-7e2c9463.entry.js → p-5cdbbba6.entry.js} +2 -2
  170. package/dist/dso-toolkit/{p-faa6b9d5.entry.js → p-5ec31b61.entry.js} +2 -2
  171. package/dist/dso-toolkit/{p-8b5409ad.entry.js → p-60e40f8f.entry.js} +2 -2
  172. package/dist/dso-toolkit/p-631af6b1.entry.js +2 -0
  173. package/dist/dso-toolkit/p-631af6b1.entry.js.map +1 -0
  174. package/dist/dso-toolkit/p-8597633a.entry.js +2 -0
  175. package/dist/dso-toolkit/{p-1aefb8a6.entry.js.map → p-8597633a.entry.js.map} +1 -1
  176. package/dist/dso-toolkit/{p-e8064fba.entry.js → p-880d04c4.entry.js} +2 -2
  177. package/dist/dso-toolkit/p-898ad366.entry.js +2 -0
  178. package/dist/dso-toolkit/p-898ad366.entry.js.map +1 -0
  179. package/dist/dso-toolkit/{p-acfb9f16.entry.js → p-9331c2fc.entry.js} +2 -2
  180. package/dist/dso-toolkit/{p-e19e851b.entry.js → p-943ad4a8.entry.js} +2 -2
  181. package/dist/dso-toolkit/{p-80c945ed.entry.js → p-984d922e.entry.js} +2 -2
  182. package/dist/dso-toolkit/{p-d9cb06fc.entry.js → p-99d7326e.entry.js} +2 -2
  183. package/dist/dso-toolkit/{p-007802e5.entry.js → p-9d176f6f.entry.js} +2 -2
  184. package/dist/dso-toolkit/{p-3be76968.entry.js → p-a496f58f.entry.js} +2 -2
  185. package/dist/dso-toolkit/{p-8a3e9f50.entry.js → p-b57af35d.entry.js} +2 -2
  186. package/dist/dso-toolkit/p-b5c5ca39.entry.js +2 -0
  187. package/dist/dso-toolkit/{p-9dbebb2e.entry.js.map → p-b5c5ca39.entry.js.map} +1 -1
  188. package/dist/dso-toolkit/{p-8cc798d5.entry.js → p-cf32927d.entry.js} +2 -2
  189. package/dist/dso-toolkit/{p-1f14320f.entry.js → p-d3131297.entry.js} +2 -2
  190. package/dist/dso-toolkit/p-e4f473e2.entry.js +2 -0
  191. package/dist/dso-toolkit/p-e4f473e2.entry.js.map +1 -0
  192. package/dist/dso-toolkit/{p-fd989862.entry.js → p-e9d15fae.entry.js} +2 -2
  193. package/dist/dso-toolkit/{p-a341b666.entry.js → p-ed33d023.entry.js} +2 -2
  194. package/dist/esm/dso-accordion-section.entry.js +26 -6
  195. package/dist/esm/dso-accordion-section.entry.js.map +1 -1
  196. package/dist/esm/dso-alert_6.entry.js +21 -8
  197. package/dist/esm/dso-alert_6.entry.js.map +1 -1
  198. package/dist/esm/dso-annotation-locatie_2.entry.js +1 -1
  199. package/dist/esm/dso-annotation-locatie_2.entry.js.map +1 -1
  200. package/dist/esm/dso-dropdown-menu.entry.js +1 -1
  201. package/dist/esm/dso-helpcenter-panel.entry.js +2 -2
  202. package/dist/esm/dso-highlight-box.entry.js +1 -1
  203. package/dist/esm/dso-icon.entry.js +1 -1
  204. package/dist/esm/dso-info-button.entry.js +1 -1
  205. package/dist/esm/dso-info_2.entry.js +2 -2
  206. package/dist/esm/dso-input-range.entry.js +2 -2
  207. package/dist/esm/dso-label_3.entry.js +187 -0
  208. package/dist/esm/dso-label_3.entry.js.map +1 -0
  209. package/dist/esm/dso-legend-item.entry.js +2 -2
  210. package/dist/esm/dso-list-button.entry.js +2 -2
  211. package/dist/esm/dso-list-button.entry.js.map +1 -1
  212. package/dist/esm/dso-logo.entry.js +1 -1
  213. package/dist/esm/dso-map-base-layers.entry.js +1 -1
  214. package/dist/esm/dso-map-controls.entry.js +1 -1
  215. package/dist/esm/dso-map-overlays.entry.js +1 -1
  216. package/dist/esm/dso-mark-bar.entry.js +1 -1
  217. package/dist/esm/dso-modal.entry.js +2 -2
  218. package/dist/esm/dso-plekinfo-card.entry.js +1 -1
  219. package/dist/esm/dso-progress-bar.entry.js +1 -1
  220. package/dist/esm/dso-progress-indicator.entry.js +1 -1
  221. package/dist/esm/dso-project-item.entry.js +1 -1
  222. package/dist/esm/dso-responsive-element.entry.js +1 -1
  223. package/dist/esm/dso-scrollable.entry.js +2 -2
  224. package/dist/esm/dso-skiplink.entry.js +1 -1
  225. package/dist/esm/dso-survey-rating.entry.js +40 -0
  226. package/dist/esm/dso-survey-rating.entry.js.map +1 -0
  227. package/dist/esm/dso-tabs.entry.js +1 -1
  228. package/dist/esm/dso-toggletip.entry.js +1 -1
  229. package/dist/esm/dso-toolkit.js +1 -1
  230. package/dist/esm/{dso-label_2.entry.js → dso-tooltip.entry.js} +5 -119
  231. package/dist/esm/dso-tooltip.entry.js.map +1 -0
  232. package/dist/esm/dso-tree-view.entry.js +1 -1
  233. package/dist/esm/dso-viewer-grid.entry.js +2 -2
  234. package/dist/esm/dsot-document-component-demo.entry.js +1 -1
  235. package/dist/esm/loader.js +1 -1
  236. package/dist/types/components/accordion/components/accordion-section.d.ts +16 -1
  237. package/dist/types/components/accordion/components/accordion-section.interfaces.d.ts +11 -0
  238. package/dist/types/components/document-component/document-component.d.ts +7 -0
  239. package/dist/types/components/document-component/document-component.models.d.ts +1 -1
  240. package/dist/types/components/ozon-content/nodes/{opschrift.node.d.ts → kop.node.d.ts} +2 -2
  241. package/dist/types/components/ozon-content/ozon-content-context.interface.d.ts +1 -0
  242. package/dist/types/components/ozon-content/ozon-content.d.ts +4 -0
  243. package/dist/types/components/survey-rating/survey-rating.d.ts +16 -0
  244. package/dist/types/components/survey-rating/survey-rating.interfaces.d.ts +15 -0
  245. package/dist/types/components.d.ts +84 -2
  246. package/package.json +3 -3
  247. package/dist/cjs/dso-label_2.cjs.entry.js.map +0 -1
  248. package/dist/cjs/dso-renvooi_2.cjs.entry.js +0 -76
  249. package/dist/cjs/dso-renvooi_2.cjs.entry.js.map +0 -1
  250. package/dist/collection/components/ozon-content/nodes/opschrift.node.js.map +0 -1
  251. package/dist/dso-toolkit/p-03e5e9e1.entry.js +0 -2
  252. package/dist/dso-toolkit/p-1ad6315b.entry.js +0 -2
  253. package/dist/dso-toolkit/p-1ad6315b.entry.js.map +0 -1
  254. package/dist/dso-toolkit/p-1aefb8a6.entry.js +0 -2
  255. package/dist/dso-toolkit/p-7e0130d8.entry.js +0 -2
  256. package/dist/dso-toolkit/p-7e0130d8.entry.js.map +0 -1
  257. package/dist/dso-toolkit/p-9dbebb2e.entry.js +0 -2
  258. package/dist/dso-toolkit/p-a6df0d43.entry.js.map +0 -1
  259. package/dist/dso-toolkit/p-b3deb707.entry.js.map +0 -1
  260. package/dist/dso-toolkit/p-eb04878c.entry.js +0 -2
  261. package/dist/dso-toolkit/p-eb04878c.entry.js.map +0 -1
  262. package/dist/dso-toolkit/p-fca1f5bd.entry.js +0 -2
  263. package/dist/dso-toolkit/p-fca1f5bd.entry.js.map +0 -1
  264. package/dist/dso-toolkit/p-fccb414d.entry.js +0 -2
  265. package/dist/esm/dso-label_2.entry.js.map +0 -1
  266. package/dist/esm/dso-renvooi_2.entry.js +0 -71
  267. package/dist/esm/dso-renvooi_2.entry.js.map +0 -1
  268. /package/dist/dso-toolkit/{p-df6c1f5f.entry.js.map → p-11e367b3.entry.js.map} +0 -0
  269. /package/dist/dso-toolkit/{p-f1dc313d.entry.js.map → p-1ec998ba.entry.js.map} +0 -0
  270. /package/dist/dso-toolkit/{p-35186e39.entry.js.map → p-236e6d02.entry.js.map} +0 -0
  271. /package/dist/dso-toolkit/{p-03e5e9e1.entry.js.map → p-2aaad2dd.entry.js.map} +0 -0
  272. /package/dist/dso-toolkit/{p-3270708a.entry.js.map → p-3033a7f3.entry.js.map} +0 -0
  273. /package/dist/dso-toolkit/{p-ad38ad02.entry.js.map → p-40d7c6bf.entry.js.map} +0 -0
  274. /package/dist/dso-toolkit/{p-ee7e35f5.entry.js.map → p-4bcf2efb.entry.js.map} +0 -0
  275. /package/dist/dso-toolkit/{p-7e626a87.entry.js.map → p-4e8fa5f6.entry.js.map} +0 -0
  276. /package/dist/dso-toolkit/{p-7e2c9463.entry.js.map → p-5cdbbba6.entry.js.map} +0 -0
  277. /package/dist/dso-toolkit/{p-faa6b9d5.entry.js.map → p-5ec31b61.entry.js.map} +0 -0
  278. /package/dist/dso-toolkit/{p-8b5409ad.entry.js.map → p-60e40f8f.entry.js.map} +0 -0
  279. /package/dist/dso-toolkit/{p-e8064fba.entry.js.map → p-880d04c4.entry.js.map} +0 -0
  280. /package/dist/dso-toolkit/{p-acfb9f16.entry.js.map → p-9331c2fc.entry.js.map} +0 -0
  281. /package/dist/dso-toolkit/{p-e19e851b.entry.js.map → p-943ad4a8.entry.js.map} +0 -0
  282. /package/dist/dso-toolkit/{p-80c945ed.entry.js.map → p-984d922e.entry.js.map} +0 -0
  283. /package/dist/dso-toolkit/{p-d9cb06fc.entry.js.map → p-99d7326e.entry.js.map} +0 -0
  284. /package/dist/dso-toolkit/{p-007802e5.entry.js.map → p-9d176f6f.entry.js.map} +0 -0
  285. /package/dist/dso-toolkit/{p-3be76968.entry.js.map → p-a496f58f.entry.js.map} +0 -0
  286. /package/dist/dso-toolkit/{p-8a3e9f50.entry.js.map → p-b57af35d.entry.js.map} +0 -0
  287. /package/dist/dso-toolkit/{p-8cc798d5.entry.js.map → p-cf32927d.entry.js.map} +0 -0
  288. /package/dist/dso-toolkit/{p-1f14320f.entry.js.map → p-d3131297.entry.js.map} +0 -0
  289. /package/dist/dso-toolkit/{p-fd989862.entry.js.map → p-e9d15fae.entry.js.map} +0 -0
  290. /package/dist/dso-toolkit/{p-a341b666.entry.js.map → p-ed33d023.entry.js.map} +0 -0
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface DsoSurveyRating extends Components.DsoSurveyRating, HTMLElement {}
4
+ export const DsoSurveyRating: {
5
+ prototype: DsoSurveyRating;
6
+ new (): DsoSurveyRating;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,70 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Fragment } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$3 } from './icon.js';
3
+ import { d as defineCustomElement$2 } from './panel.js';
4
+
5
+ const surveyRatingCss = ":host {\n display: block;\n position: absolute;\n inset-block-end: 16px;\n inset-inline-start: 16px;\n inline-size: 370px;\n box-shadow: -3px 3px 6px 0 rgba(0, 0, 0, 0.5);\n border-radius: 4px;\n}\n@media screen and (max-width: 480px) {\n :host {\n inline-size: 320px;\n inset-block-end: 0;\n inset-inline-start: 0;\n --panel-heading-padding-inline-start: 8px;\n --panel-body-padding-inline: 8px;\n }\n}\n\n*,\n*::after,\n*::before {\n box-sizing: border-box;\n}\n\n.sr-only {\n position: absolute;\n inline-size: 1px;\n block-size: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n\n.visual-rating-labels {\n display: flex;\n justify-content: space-between;\n margin-block: 8px;\n}\n\ninput[type=radio] {\n appearance: none;\n cursor: pointer;\n position: absolute;\n margin-inline: 0;\n margin-block: 0;\n inset-block: 8px 0;\n inset-inline: 0;\n z-index: 1;\n}\n\nlabel {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n inline-size: 48px;\n block-size: 48px;\n border: 1px solid #ccc;\n border-inline-end-width: 0;\n padding-block-start: 8px;\n}\n@media screen and (max-width: 480px) {\n label {\n inline-size: 43px;\n block-size: 43px;\n }\n}\nlabel:hover {\n background-color: #f2f2f2;\n}\nlabel:active {\n background-color: #e5e5e5;\n}\nlabel:first-of-type {\n border-radius: 4px 0 0 4px;\n}\nlabel:first-of-type::before {\n border-radius: 3px 0 0;\n}\nlabel:last-of-type {\n border-inline-end-width: 1px;\n border-radius: 0 4px 4px 0;\n}\nlabel:last-of-type::before {\n border-radius: 0 3px 0 0;\n}\nlabel::before {\n content: \"\";\n display: block;\n position: absolute;\n inset-block-start: 0;\n block-size: 8px;\n inline-size: 100%;\n border-block-end: 1px solid #ccc;\n}\nlabel:has(input:checked) {\n font-weight: bold;\n}\nlabel.survey-rating-1::before, label.survey-rating-1:has(input:checked) {\n --link-color: currentColor;\n --link-hover-color: currentColor;\n --link-visited-color: currentColor;\n background-color: #b62f41;\n border-color: #ccc;\n color: #fff;\n}\nlabel.survey-rating-1::before a:is(.download, .download:hover, .download:focus-visible), label.survey-rating-1:has(input:checked) a:is(.download, .download:hover, .download:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#download-wit\"));\n}\nlabel.survey-rating-1::before a:is(.extern, .extern:hover, .extern:focus-visible), label.survey-rating-1:has(input:checked) a:is(.extern, .extern:hover, .extern:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#external-link-wit\"));\n}\nlabel.survey-rating-1::before a:is([href^=\"tel:\"], [href^=\"tel:\"]:hover, [href^=\"tel:\"]:focus-visible), label.survey-rating-1:has(input:checked) a:is([href^=\"tel:\"], [href^=\"tel:\"]:hover, [href^=\"tel:\"]:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#call-wit\"));\n}\nlabel.survey-rating-1::before a:is([href^=\"mailto:\"], [href^=\"mailto:\"]:hover, [href^=\"mailto:\"]:focus-visible), label.survey-rating-1:has(input:checked) a:is([href^=\"mailto:\"], [href^=\"mailto:\"]:hover, [href^=\"mailto:\"]:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#email-wit\"));\n}\nlabel.survey-rating-2::before, label.survey-rating-2:has(input:checked) {\n --link-color: currentColor;\n --link-hover-color: currentColor;\n --link-visited-color: currentColor;\n background-color: #ce3f51;\n border-color: #ccc;\n color: #fff;\n}\nlabel.survey-rating-2::before a:is(.download, .download:hover, .download:focus-visible), label.survey-rating-2:has(input:checked) a:is(.download, .download:hover, .download:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#download-wit\"));\n}\nlabel.survey-rating-2::before a:is(.extern, .extern:hover, .extern:focus-visible), label.survey-rating-2:has(input:checked) a:is(.extern, .extern:hover, .extern:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#external-link-wit\"));\n}\nlabel.survey-rating-2::before a:is([href^=\"tel:\"], [href^=\"tel:\"]:hover, [href^=\"tel:\"]:focus-visible), label.survey-rating-2:has(input:checked) a:is([href^=\"tel:\"], [href^=\"tel:\"]:hover, [href^=\"tel:\"]:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#call-wit\"));\n}\nlabel.survey-rating-2::before a:is([href^=\"mailto:\"], [href^=\"mailto:\"]:hover, [href^=\"mailto:\"]:focus-visible), label.survey-rating-2:has(input:checked) a:is([href^=\"mailto:\"], [href^=\"mailto:\"]:hover, [href^=\"mailto:\"]:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#email-wit\"));\n}\nlabel.survey-rating-3::before, label.survey-rating-3:has(input:checked) {\n --link-color: currentColor;\n --link-hover-color: currentColor;\n --link-visited-color: currentColor;\n background-color: #e17000;\n border-color: #ccc;\n color: #191919;\n}\nlabel.survey-rating-3::before a:is(.download, .download:hover, .download:focus-visible), label.survey-rating-3:has(input:checked) a:is(.download, .download:hover, .download:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#download-zwart\"));\n}\nlabel.survey-rating-3::before a:is(.extern, .extern:hover, .extern:focus-visible), label.survey-rating-3:has(input:checked) a:is(.extern, .extern:hover, .extern:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#external-link-zwart\"));\n}\nlabel.survey-rating-3::before a:is([href^=\"tel:\"], [href^=\"tel:\"]:hover, [href^=\"tel:\"]:focus-visible), label.survey-rating-3:has(input:checked) a:is([href^=\"tel:\"], [href^=\"tel:\"]:hover, [href^=\"tel:\"]:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#call-zwart\"));\n}\nlabel.survey-rating-3::before a:is([href^=\"mailto:\"], [href^=\"mailto:\"]:hover, [href^=\"mailto:\"]:focus-visible), label.survey-rating-3:has(input:checked) a:is([href^=\"mailto:\"], [href^=\"mailto:\"]:hover, [href^=\"mailto:\"]:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#email-zwart\"));\n}\nlabel.survey-rating-4::before, label.survey-rating-4:has(input:checked) {\n --link-color: currentColor;\n --link-hover-color: currentColor;\n --link-visited-color: currentColor;\n background-color: #dcd400;\n border-color: #ccc;\n color: #191919;\n}\nlabel.survey-rating-4::before a:is(.download, .download:hover, .download:focus-visible), label.survey-rating-4:has(input:checked) a:is(.download, .download:hover, .download:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#download-zwart\"));\n}\nlabel.survey-rating-4::before a:is(.extern, .extern:hover, .extern:focus-visible), label.survey-rating-4:has(input:checked) a:is(.extern, .extern:hover, .extern:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#external-link-zwart\"));\n}\nlabel.survey-rating-4::before a:is([href^=\"tel:\"], [href^=\"tel:\"]:hover, [href^=\"tel:\"]:focus-visible), label.survey-rating-4:has(input:checked) a:is([href^=\"tel:\"], [href^=\"tel:\"]:hover, [href^=\"tel:\"]:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#call-zwart\"));\n}\nlabel.survey-rating-4::before a:is([href^=\"mailto:\"], [href^=\"mailto:\"]:hover, [href^=\"mailto:\"]:focus-visible), label.survey-rating-4:has(input:checked) a:is([href^=\"mailto:\"], [href^=\"mailto:\"]:hover, [href^=\"mailto:\"]:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#email-zwart\"));\n}\nlabel.survey-rating-5::before, label.survey-rating-5:has(input:checked) {\n --link-color: currentColor;\n --link-hover-color: currentColor;\n --link-visited-color: currentColor;\n background-color: #79b929;\n border-color: #ccc;\n color: #191919;\n}\nlabel.survey-rating-5::before a:is(.download, .download:hover, .download:focus-visible), label.survey-rating-5:has(input:checked) a:is(.download, .download:hover, .download:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#download-zwart\"));\n}\nlabel.survey-rating-5::before a:is(.extern, .extern:hover, .extern:focus-visible), label.survey-rating-5:has(input:checked) a:is(.extern, .extern:hover, .extern:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#external-link-zwart\"));\n}\nlabel.survey-rating-5::before a:is([href^=\"tel:\"], [href^=\"tel:\"]:hover, [href^=\"tel:\"]:focus-visible), label.survey-rating-5:has(input:checked) a:is([href^=\"tel:\"], [href^=\"tel:\"]:hover, [href^=\"tel:\"]:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#call-zwart\"));\n}\nlabel.survey-rating-5::before a:is([href^=\"mailto:\"], [href^=\"mailto:\"]:hover, [href^=\"mailto:\"]:focus-visible), label.survey-rating-5:has(input:checked) a:is([href^=\"mailto:\"], [href^=\"mailto:\"]:hover, [href^=\"mailto:\"]:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#email-zwart\"));\n}\nlabel.survey-rating-6::before, label.survey-rating-6:has(input:checked) {\n --link-color: currentColor;\n --link-hover-color: currentColor;\n --link-visited-color: currentColor;\n background-color: #39870c;\n border-color: #ccc;\n color: #fff;\n}\nlabel.survey-rating-6::before a:is(.download, .download:hover, .download:focus-visible), label.survey-rating-6:has(input:checked) a:is(.download, .download:hover, .download:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#download-wit\"));\n}\nlabel.survey-rating-6::before a:is(.extern, .extern:hover, .extern:focus-visible), label.survey-rating-6:has(input:checked) a:is(.extern, .extern:hover, .extern:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#external-link-wit\"));\n}\nlabel.survey-rating-6::before a:is([href^=\"tel:\"], [href^=\"tel:\"]:hover, [href^=\"tel:\"]:focus-visible), label.survey-rating-6:has(input:checked) a:is([href^=\"tel:\"], [href^=\"tel:\"]:hover, [href^=\"tel:\"]:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#call-wit\"));\n}\nlabel.survey-rating-6::before a:is([href^=\"mailto:\"], [href^=\"mailto:\"]:hover, [href^=\"mailto:\"]:focus-visible), label.survey-rating-6:has(input:checked) a:is([href^=\"mailto:\"], [href^=\"mailto:\"]:hover, [href^=\"mailto:\"]:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#email-wit\"));\n}\nlabel.survey-rating-7::before, label.survey-rating-7:has(input:checked) {\n --link-color: currentColor;\n --link-hover-color: currentColor;\n --link-visited-color: currentColor;\n background-color: #275937;\n border-color: #ccc;\n color: #fff;\n}\nlabel.survey-rating-7::before a:is(.download, .download:hover, .download:focus-visible), label.survey-rating-7:has(input:checked) a:is(.download, .download:hover, .download:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#download-wit\"));\n}\nlabel.survey-rating-7::before a:is(.extern, .extern:hover, .extern:focus-visible), label.survey-rating-7:has(input:checked) a:is(.extern, .extern:hover, .extern:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#external-link-wit\"));\n}\nlabel.survey-rating-7::before a:is([href^=\"tel:\"], [href^=\"tel:\"]:hover, [href^=\"tel:\"]:focus-visible), label.survey-rating-7:has(input:checked) a:is([href^=\"tel:\"], [href^=\"tel:\"]:hover, [href^=\"tel:\"]:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#call-wit\"));\n}\nlabel.survey-rating-7::before a:is([href^=\"mailto:\"], [href^=\"mailto:\"]:hover, [href^=\"mailto:\"]:focus-visible), label.survey-rating-7:has(input:checked) a:is([href^=\"mailto:\"], [href^=\"mailto:\"]:hover, [href^=\"mailto:\"]:focus-visible) {\n background-image: var(--_dso-di-background-image, url(\"./di.svg#email-wit\"));\n}\n\nbutton {\n -webkit-appearance: button;\n color: inherit;\n cursor: pointer;\n font: inherit;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n margin: 0;\n overflow: visible;\n text-transform: none;\n margin-block-start: 16px;\n}\nbutton[disabled] {\n cursor: default;\n}\nbutton::-moz-focus-inner {\n border: 0;\n padding: 0;\n}\nbutton.dso-secondary {\n display: inline-block;\n font-size: 1em;\n font-weight: 500;\n margin-block-end: 0;\n text-decoration: none;\n touch-action: manipulation;\n text-align: start;\n user-select: none;\n vertical-align: middle;\n}\nbutton.dso-secondary:focus, button.dso-secondary:focus-visible {\n outline-offset: 2px;\n}\nbutton.dso-secondary:active {\n outline: 0;\n}\nbutton.dso-secondary.extern::after, button.dso-secondary.download::after {\n content: \"\";\n display: inline-block;\n margin-inline-start: 8px;\n}\nbutton.dso-secondary {\n background-color: #fff;\n border-color: #39870c;\n color: #39870c;\n}\nbutton.dso-secondary {\n border-width: 1px;\n border-style: solid;\n border-radius: 4px;\n line-height: 1.5;\n min-inline-size: 56px;\n padding-block: 11px;\n padding-inline: 15px;\n}\nbutton.dso-secondary:hover {\n background-color: #d7e7ce;\n border-color: #39870c;\n color: #39870c;\n}\nbutton.dso-secondary:active {\n background-color: #39870c;\n border-color: #39870c;\n color: #fff;\n}\nbutton.dso-secondary[disabled], button.dso-secondary[disabled]:hover {\n background-color: #fff;\n border-color: #afcf9d;\n color: #afcf9d;\n}\nbutton.dso-secondary.dso-small {\n line-height: 1rem;\n}\nbutton.dso-secondary.dso-small dso-icon,\nbutton.dso-secondary.dso-small svg.di, button.dso-secondary.dso-small.extern::after, button.dso-secondary.dso-small.download::after, button.dso-secondary.dso-small.dso-spinner::before {\n margin-block-end: -4px;\n margin-block-start: -4px;\n}\nbutton.dso-secondary.dso-small.dso-spinner-left::before {\n block-size: 16px;\n inline-size: 16px;\n}\nbutton.dso-secondary.dso-small.dso-spinner-right::after {\n block-size: 16px;\n inline-size: 16px;\n}\nbutton.dso-secondary dso-icon,\nbutton.dso-secondary svg.di {\n margin-inline-start: -8px;\n margin-inline-end: 8px;\n}\nbutton.dso-secondary span + dso-icon,\nbutton.dso-secondary span + svg.di {\n margin-inline-start: 8px;\n margin-inline-end: -8px;\n}\nbutton.dso-secondary.dso-spinner-left[disabled], button.dso-secondary.dso-spinner-right[disabled] {\n background-color: #fff;\n border-color: #39870c;\n color: #39870c;\n}\nbutton.dso-secondary.dso-spinner-left::before {\n background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n content: \"\";\n display: inline-block;\n block-size: 24px;\n vertical-align: top;\n inline-size: 24px;\n margin-inline-end: 8px;\n}\nbutton.dso-secondary.dso-spinner-left:not([disabled]):hover::before {\n background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n content: \"\";\n display: inline-block;\n block-size: 24px;\n vertical-align: top;\n inline-size: 24px;\n margin-inline-end: 8px;\n}\nbutton.dso-secondary.dso-spinner-left:not([disabled]).dso-small:hover::before {\n block-size: 16px;\n inline-size: 16px;\n}\nbutton.dso-secondary.dso-spinner-right::after {\n background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n content: \"\";\n display: inline-block;\n block-size: 24px;\n vertical-align: top;\n inline-size: 24px;\n margin-inline-start: 8px;\n}\nbutton.dso-secondary.dso-spinner-right:not([disabled]):hover::after {\n background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %23fff; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n content: \"\";\n display: inline-block;\n block-size: 24px;\n vertical-align: top;\n inline-size: 24px;\n margin-inline-start: 8px;\n}\nbutton.dso-secondary.dso-spinner-right:not([disabled]).dso-small:hover::after {\n block-size: 16px;\n inline-size: 16px;\n}";
6
+ const DsoSurveyRatingStyle0 = surveyRatingCss;
7
+
8
+ const SurveyRating = /*@__PURE__*/ proxyCustomElement(class SurveyRating extends HTMLElement {
9
+ constructor() {
10
+ super();
11
+ this.__registerHost();
12
+ this.__attachShadow();
13
+ this.dsoSubmit = createEvent(this, "dsoSubmit", 7);
14
+ this.dsoClose = createEvent(this, "dsoClose", 7);
15
+ }
16
+ handleForm(e) {
17
+ e.preventDefault();
18
+ this.dsoSubmit.emit({ rating: this.rating, scale: { start: 1, end: 7 }, originalEvent: e });
19
+ }
20
+ handleChange(e) {
21
+ const target = e.target;
22
+ this.rating = Number(target.value);
23
+ }
24
+ render() {
25
+ const ratings = [
26
+ "Heel moeilijk",
27
+ "Moeilijk",
28
+ "Redelijk moeilijk",
29
+ "Neutraal",
30
+ "Redelijk makkelijk",
31
+ "Makkelijk",
32
+ "Heel makkelijk",
33
+ ];
34
+ return (h("dso-panel", { key: 'ee2d66c3664442953dfa287dbb234f1c2b24973d', emphasized: true, onDsoCloseClick: (e) => this.dsoClose.emit({ originalEvent: e }) }, h("h2", { key: '1762bf6ae0ce6c7603bdcf6986e233f71e7a48f1', slot: "heading" }, "Help ons met een onderzoek"), h("strong", { key: 'b0a318ab699be1e36b6044b115becc6682bd0bb3' }, "Hoe moeilijk of makkelijk was deze taak om uit te voeren"), h("form", { key: '3d66888af1d2d535f4723346029f9edbc03102a3', onSubmit: (e) => this.handleForm(e) }, h("div", { key: '66ed1a08b68aaa791ba1772bf2cf81f305745829', class: "visual-rating-labels", "aria-hidden": "true" }, h("span", { key: 'a0edb09da125715b09186138db492a516ecbe6ea' }, "Heel moeilijk"), h("span", { key: 'e0d3b6c28a88a4edeca0689cb5b8c62bf074ac48' }, "Heel makkelijk")), h("div", { key: '2730d1b4941f078c506bbda76af4843157abc22c', role: "radiogroup" }, ratings.map((rating, index) => {
35
+ const ratingNumber = index + 1;
36
+ return (h(Fragment, null, h("label", { class: `survey-rating-${ratingNumber}` }, ratingNumber, h("span", { class: "sr-only" }, rating), h("input", { type: "radio", name: "rating", value: ratingNumber, checked: ratingNumber === this.rating, onChange: (e) => this.handleChange(e) }))));
37
+ })), h("button", { key: '4b5a9454231d24e64cc4e09385b2161262982de7', type: "submit", class: "dso-secondary" }, h("span", { key: '6d6e9f53abec5e1522e5a8b04eea8793c354f101' }, "Antwoord verzenden")))));
38
+ }
39
+ static get style() { return DsoSurveyRatingStyle0; }
40
+ }, [1, "dso-survey-rating"]);
41
+ function defineCustomElement$1() {
42
+ if (typeof customElements === "undefined") {
43
+ return;
44
+ }
45
+ const components = ["dso-survey-rating", "dso-icon", "dso-panel"];
46
+ components.forEach(tagName => { switch (tagName) {
47
+ case "dso-survey-rating":
48
+ if (!customElements.get(tagName)) {
49
+ customElements.define(tagName, SurveyRating);
50
+ }
51
+ break;
52
+ case "dso-icon":
53
+ if (!customElements.get(tagName)) {
54
+ defineCustomElement$3();
55
+ }
56
+ break;
57
+ case "dso-panel":
58
+ if (!customElements.get(tagName)) {
59
+ defineCustomElement$2();
60
+ }
61
+ break;
62
+ } });
63
+ }
64
+
65
+ const DsoSurveyRating = SurveyRating;
66
+ const defineCustomElement = defineCustomElement$1;
67
+
68
+ export { DsoSurveyRating, defineCustomElement };
69
+
70
+ //# sourceMappingURL=dso-survey-rating.js.map
@@ -0,0 +1 @@
1
+ {"file":"dso-survey-rating.js","mappings":";;;;AAAA,MAAM,eAAe,GAAG,2qlBAA2qlB,CAAC;AACpslB,8BAAe,eAAe;;MCOjB,YAAY;;;;;;;;IAef,UAAU,CAAC,CAAQ;QACzB,CAAC,CAAC,cAAc,EAAE,CAAC;QACnB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,aAAa,EAAE,CAAC,EAAE,CAAC,CAAC;KAC7F;IAEO,YAAY,CAAC,CAAQ;QAC3B,MAAM,MAAM,GAAG,CAAC,CAAC,MAA0B,CAAC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;KACpC;IAED,MAAM;QACJ,MAAM,OAAO,GAAG;YACd,eAAe;YACf,UAAU;YACV,mBAAmB;YACnB,UAAU;YACV,oBAAoB;YACpB,WAAW;YACX,gBAAgB;SACjB,CAAC;QAEF,QACE,kEAAW,UAAU,QAAC,eAAe,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,CAAC,IACpF,2DAAI,IAAI,EAAC,SAAS,iCAAgC,EAClD,4HAAyE,EACzE,6DAAM,QAAQ,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,IACvC,4DAAK,KAAK,EAAC,sBAAsB,iBAAa,MAAM,IAClD,+EAA0B,EAC1B,gFAA2B,CACvB,EACN,4DAAK,IAAI,EAAC,YAAY,IACnB,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK;YACzB,MAAM,YAAY,GAAG,KAAK,GAAG,CAAC,CAAC;YAE/B,QACE,kBACE,aAAO,KAAK,EAAE,iBAAiB,YAAY,EAAE,IAC1C,YAAY,EACb,YAAM,KAAK,EAAC,SAAS,IAAE,MAAM,CAAQ,EACrC,aACE,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE,YAAY,EACnB,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC,MAAM,EACrC,QAAQ,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,GACrC,CACI,CACP,EACH;SACH,CAAC,CACE,EACN,+DAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,eAAe,IACzC,oFAA+B,CACxB,CACJ,CACG,EACZ;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/survey-rating/survey-rating.scss?tag=dso-survey-rating&encapsulation=shadow","src/components/survey-rating/survey-rating.tsx"],"sourcesContent":["@use \"sass:list\";\r\n@use \"sass:map\";\r\n\r\n@use \"~dso-toolkit/src/components/button\";\r\n@use \"~dso-toolkit/src/global/mixins/set-colors.mixin\" as set-colors;\r\n@use \"~dso-toolkit/src/utilities\";\r\n@use \"~dso-toolkit/src/variables/media-query-breakpoints\";\r\n@use \"~dso-toolkit/src/variables/units\";\r\n\r\n@use \"survey-rating.variables\" as survey-rating-variables;\r\n\r\n:host {\r\n display: block;\r\n position: absolute;\r\n inset-block-end: units.$u2;\r\n inset-inline-start: units.$u2;\r\n inline-size: survey-rating-variables.$survey-rating-inline-size;\r\n box-shadow: -3px 3px 6px 0 rgba(0, 0, 0, 0.5);\r\n border-radius: survey-rating-variables.$survey-rating-border-radius;\r\n\r\n @media screen and (max-width: media-query-breakpoints.$screen-xs-min) {\r\n inline-size: survey-rating-variables.$survey-rating-xs-min-inline-size;\r\n inset-block-end: 0;\r\n inset-inline-start: 0;\r\n\r\n --panel-heading-padding-inline-start: #{units.$u1};\r\n --panel-body-padding-inline: #{units.$u1};\r\n }\r\n}\r\n\r\n@include utilities.box-sizing();\r\n\r\n.sr-only {\r\n @include utilities.sr-only();\r\n}\r\n\r\n.visual-rating-labels {\r\n display: flex;\r\n justify-content: space-between;\r\n margin-block: units.$u1;\r\n}\r\n\r\ninput[type=\"radio\"] {\r\n appearance: none;\r\n cursor: pointer;\r\n position: absolute;\r\n margin-inline: 0;\r\n margin-block: 0;\r\n inset-block: units.$u1 0;\r\n inset-inline: 0;\r\n z-index: 1;\r\n}\r\n\r\nlabel {\r\n position: relative;\r\n display: inline-flex;\r\n align-items: center;\r\n justify-content: center;\r\n inline-size: survey-rating-variables.$survey-rating-input-label-size;\r\n block-size: survey-rating-variables.$survey-rating-input-label-size;\r\n border: 1px solid survey-rating-variables.$survey-rating-border-color;\r\n border-inline-end-width: 0;\r\n padding-block-start: units.$u1;\r\n\r\n @media screen and (max-width: media-query-breakpoints.$screen-xs-min) {\r\n inline-size: survey-rating-variables.$survey-rating-rating-label-xs-min-size;\r\n block-size: survey-rating-variables.$survey-rating-rating-label-xs-min-size;\r\n }\r\n\r\n &:hover {\r\n background-color: survey-rating-variables.$survey-rating-color-hover;\r\n }\r\n\r\n &:active {\r\n background-color: survey-rating-variables.$survey-rating-color-active;\r\n }\r\n\r\n &:first-of-type {\r\n border-radius: survey-rating-variables.$survey-rating-border-radius 0 0\r\n survey-rating-variables.$survey-rating-border-radius;\r\n\r\n &::before {\r\n border-radius: (survey-rating-variables.$survey-rating-border-radius - 1) 0 0;\r\n }\r\n }\r\n\r\n &:last-of-type {\r\n border-inline-end-width: 1px;\r\n border-radius: 0 survey-rating-variables.$survey-rating-border-radius\r\n survey-rating-variables.$survey-rating-border-radius 0;\r\n\r\n &::before {\r\n border-radius: 0 (survey-rating-variables.$survey-rating-border-radius - 1) 0 0;\r\n }\r\n }\r\n\r\n &::before {\r\n content: \"\";\r\n display: block;\r\n position: absolute;\r\n inset-block-start: 0;\r\n block-size: units.$u1;\r\n inline-size: 100%;\r\n border-block-end: 1px solid survey-rating-variables.$survey-rating-border-color;\r\n }\r\n\r\n &:has(input:checked) {\r\n font-weight: bold;\r\n }\r\n\r\n @each $survey-rating in survey-rating-variables.$survey-ratings {\r\n $i: list.index(survey-rating-variables.$survey-ratings, $survey-rating);\r\n $color: map.get($survey-rating, color);\r\n\r\n &.survey-rating-#{$i} {\r\n &::before,\r\n &:has(input:checked) {\r\n @include set-colors.apply($color, survey-rating-variables.$survey-rating-border-color);\r\n }\r\n }\r\n }\r\n}\r\n\r\nbutton {\r\n @include button.element();\r\n\r\n &.dso-secondary {\r\n @include button.secondary($base-styling: true);\r\n }\r\n\r\n margin-block-start: units.$u2;\r\n}\r\n","import { Component, ComponentInterface, Event, EventEmitter, Fragment, h } from \"@stencil/core\";\r\nimport { SurveyRatingCloseEvent, SurveyRatingSubmitEvent } from \"./survey-rating.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-survey-rating\",\r\n styleUrl: \"survey-rating.scss\",\r\n shadow: true,\r\n})\r\nexport class SurveyRating implements ComponentInterface {\r\n private rating: number | undefined;\r\n\r\n /**\r\n * Emitted when user submits the Survey Rating.\r\n */\r\n @Event()\r\n dsoSubmit!: EventEmitter<SurveyRatingSubmitEvent>;\r\n\r\n /**\r\n * Emitted when the user wants to close the Survey Rating.\r\n */\r\n @Event()\r\n dsoClose!: EventEmitter<SurveyRatingCloseEvent>;\r\n\r\n private handleForm(e: Event): void {\r\n e.preventDefault();\r\n this.dsoSubmit.emit({ rating: this.rating, scale: { start: 1, end: 7 }, originalEvent: e });\r\n }\r\n\r\n private handleChange(e: Event): void {\r\n const target = e.target as HTMLInputElement;\r\n this.rating = Number(target.value);\r\n }\r\n\r\n render() {\r\n const ratings = [\r\n \"Heel moeilijk\",\r\n \"Moeilijk\",\r\n \"Redelijk moeilijk\",\r\n \"Neutraal\",\r\n \"Redelijk makkelijk\",\r\n \"Makkelijk\",\r\n \"Heel makkelijk\",\r\n ];\r\n\r\n return (\r\n <dso-panel emphasized onDsoCloseClick={(e) => this.dsoClose.emit({ originalEvent: e })}>\r\n <h2 slot=\"heading\">Help ons met een onderzoek</h2>\r\n <strong>Hoe moeilijk of makkelijk was deze taak om uit te voeren</strong>\r\n <form onSubmit={(e) => this.handleForm(e)}>\r\n <div class=\"visual-rating-labels\" aria-hidden=\"true\">\r\n <span>Heel moeilijk</span>\r\n <span>Heel makkelijk</span>\r\n </div>\r\n <div role=\"radiogroup\">\r\n {ratings.map((rating, index) => {\r\n const ratingNumber = index + 1;\r\n\r\n return (\r\n <>\r\n <label class={`survey-rating-${ratingNumber}`}>\r\n {ratingNumber}\r\n <span class=\"sr-only\">{rating}</span>\r\n <input\r\n type=\"radio\"\r\n name=\"rating\"\r\n value={ratingNumber}\r\n checked={ratingNumber === this.rating}\r\n onChange={(e) => this.handleChange(e)}\r\n />\r\n </label>\r\n </>\r\n );\r\n })}\r\n </div>\r\n <button type=\"submit\" class=\"dso-secondary\">\r\n <span>Antwoord verzenden</span>\r\n </button>\r\n </form>\r\n </dso-panel>\r\n );\r\n }\r\n}\r\n"],"version":3}
@@ -67,7 +67,7 @@ const Tabs = /*@__PURE__*/ proxyCustomElement(class Tabs extends HTMLElement {
67
67
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
68
68
  }
69
69
  render() {
70
- return (h(Host, { key: 'b6060f192bc977ee552374818ef550d5ee72ae65' }, h("div", { key: 'dcd0e804fe23cfb403a13d2c6b368a30e91d0b4a', class: "tabs", role: "tablist", onKeyUp: this.keyUpHandler }, h("slot", { key: '39a49bfbd811053f2ef18ffd71887aaf6140300e' })), h("div", { key: 'cb472cefde18dd4833c5ff47855aa584a9a142b9', role: "tabpanel", tabindex: "0" }, h("slot", { key: '29d41ec7045e3a271aee5b612fd4f25ced544e76', name: "panel" }))));
70
+ return (h(Host, { key: 'eda4f3cabd4f4a373ebf5e5b2fce9c5a336f4680' }, h("div", { key: '445a0b6a745a1f45eca44ca59def6f4557904748', class: "tabs", role: "tablist", onKeyUp: this.keyUpHandler }, h("slot", { key: 'd344d2c68cc0bd6d0abbea591a7ffa22b17dbdf7' })), h("div", { key: 'c17a1774b3cf81c30e07c0c8446f05d8a6e86b95', role: "tabpanel", tabindex: "0" }, h("slot", { key: 'c32d940c2e5fe01b67919d7253bb5d2666146f6f', name: "panel" }))));
71
71
  }
72
72
  get host() { return this; }
73
73
  static get style() { return DsoTabsStyle0; }
@@ -198,7 +198,7 @@ const TreeView = /*@__PURE__*/ proxyCustomElement(class TreeView extends HTMLEle
198
198
  }
199
199
  render() {
200
200
  var _a;
201
- return (h("div", { key: '47e48fb5f1c83bda8a9ef8809f833c9f9ab6e2bc', id: "tree", class: "dso-tree", onKeyDown: (e) => this.keyDownListener(e), ref: (element) => (this.tree = element) }, h("ul", { key: '53a0949638693abb7bc815696307bb131ebf995d', role: "tree", "aria-label": "Objectenboom" }, (_a = this.collection) === null || _a === void 0 ? void 0 : _a.map((item, index) => (h(DsoTreeItem, { owner: this, ancestors: [], item: item, index: index, level: 1, setSize: this.collection.length }))))));
201
+ return (h("div", { key: 'f6f6832d0613dcb1eb30f1170cc848e5dd5a47f3', id: "tree", class: "dso-tree", onKeyDown: (e) => this.keyDownListener(e), ref: (element) => (this.tree = element) }, h("ul", { key: 'aaea2cfc733ff714e907758e41ea31fa2f460b68', role: "tree", "aria-label": "Objectenboom" }, (_a = this.collection) === null || _a === void 0 ? void 0 : _a.map((item, index) => (h(DsoTreeItem, { owner: this, ancestors: [], item: item, index: index, level: 1, setSize: this.collection.length }))))));
202
202
  }
203
203
  static get style() { return DsoTreeViewStyle0; }
204
204
  }, [1, "dso-tree-view", {
@@ -301,8 +301,8 @@ const ViewerGrid = /*@__PURE__*/ proxyCustomElement(class ViewerGrid extends HTM
301
301
  }
302
302
  render() {
303
303
  const tabLabels = this.mode === "vdk" ? viewerGridVdkTabs : viewerGridVrkTabs;
304
- return (h(Fragment, null, this.tabView && (h("nav", { key: 'b4a570fca218e0dc90e7d1e614e4423510d2b80d', class: "dso-navbar" }, h("ul", { key: 'a7d0b8eb852eb3b8e2deb4b5f843f27d841d09a2', class: "dso-nav dso-nav-sub" }, tabLabels.map((tab) => (h("li", { key: tab, class: clsx({ "dso-active": this.activeTab === tab }) }, h("button", { type: "button", class: "dso-tertiary", onClick: () => this.switchActiveTab(tab) }, viewerGridTabLabelMap[tab]))))))), (!this.tabView || (this.tabView && (this.activeTab === "main" || this.activeTab === "search"))) && (h(MainPanel, { key: '77d23e1a1280f18321c93e7913396a895f07ae6b', mode: this.mode, tabView: this.tabView, mainSize: this.mainSize, documentPanelOpen: this.documentPanelOpen, mainPanelExpanded: this.mainPanelExpanded, mainPanelHidden: this.mainPanelHidden, shrinkMain: this.emitShrinkMain, expandMain: this.emitExpandMain, toggleMainPanel: this.toggleMainPanel, dsoMainSizeChangeAnimationEnd: this.dsoMainSizeChangeAnimationEnd })), (!this.tabView ||
305
- (this.tabView && ((this.activeTab === "main" && this.mode === "vrk") || this.activeTab === "search"))) && (h(Filterpanel, { key: '54a0c9df27dce99457a8554c9beda4a519a874d2', title: this.filterpanelTitle, mode: this.mode, ref: (element) => (this.filterpanel = element), onApply: this.handleFilterpanelApply, onCancel: this.handleFilterpanelCancel, dsoCloseFilterpanel: (e) => this.dsoCloseFilterpanel.emit({ originalEvent: e }) })), (!this.tabView || (this.tabView && this.activeTab === "map")) && (h("div", { key: '04316795f2dbf17e56b4ada3fec56ebed221ddfa', class: "map", ref: (element) => (this.mapElement = element) }, h("slot", { key: 'ac81ce5768878de9ebbcb43c308b78e0c6a32723', name: "map" }))), ((!this.tabView && this.documentPanelOpen) || (this.tabView && this.activeTab === "document")) && (h(DocumentPanel, { key: '62e3fe731443d77ff460872f6fe5a7b79ea84c48', tabView: this.tabView, panelSize: this.documentPanelSize, shrinkDocumentPanel: this.shrinkDocumentPanel, expandDocumentPanel: this.expandDocumentPanel, dsoDocumentPanelSizeChangeAnimationEnd: this.dsoDocumentPanelSizeChangeAnimationEnd })), h(Overlay, { key: 'a012c61f124356e06fd18c22a4230c555751c067', ref: (element) => (this.overlay = element), dsoCloseOverlay: (e) => this.dsoCloseOverlay.emit({ originalEvent: e }) })));
304
+ return (h(Fragment, null, this.tabView && (h("nav", { key: 'd8a89e6fd85a9ec4adea0b52670c1cba714350ef', class: "dso-navbar" }, h("ul", { key: '34b3436df21fd14c6403b33b0b728415c7ee2c3f', class: "dso-nav dso-nav-sub" }, tabLabels.map((tab) => (h("li", { key: tab, class: clsx({ "dso-active": this.activeTab === tab }) }, h("button", { type: "button", class: "dso-tertiary", onClick: () => this.switchActiveTab(tab) }, viewerGridTabLabelMap[tab]))))))), (!this.tabView || (this.tabView && (this.activeTab === "main" || this.activeTab === "search"))) && (h(MainPanel, { key: 'a5166e11ec537da288535ef1f78027b6942288bc', mode: this.mode, tabView: this.tabView, mainSize: this.mainSize, documentPanelOpen: this.documentPanelOpen, mainPanelExpanded: this.mainPanelExpanded, mainPanelHidden: this.mainPanelHidden, shrinkMain: this.emitShrinkMain, expandMain: this.emitExpandMain, toggleMainPanel: this.toggleMainPanel, dsoMainSizeChangeAnimationEnd: this.dsoMainSizeChangeAnimationEnd })), (!this.tabView ||
305
+ (this.tabView && ((this.activeTab === "main" && this.mode === "vrk") || this.activeTab === "search"))) && (h(Filterpanel, { key: '994efb6648cd215a4ff8e0fe7fffe16b65a40775', title: this.filterpanelTitle, mode: this.mode, ref: (element) => (this.filterpanel = element), onApply: this.handleFilterpanelApply, onCancel: this.handleFilterpanelCancel, dsoCloseFilterpanel: (e) => this.dsoCloseFilterpanel.emit({ originalEvent: e }) })), (!this.tabView || (this.tabView && this.activeTab === "map")) && (h("div", { key: 'b021cfb6be8c3a16453eb9927f6dac93736b0d2b', class: "map", ref: (element) => (this.mapElement = element) }, h("slot", { key: '85a6dbcd00d82a8c6eb78e55755bae26aed76076', name: "map" }))), ((!this.tabView && this.documentPanelOpen) || (this.tabView && this.activeTab === "document")) && (h(DocumentPanel, { key: '163277775c959cf0f83ed6bf8bd79ff2a81d3806', tabView: this.tabView, panelSize: this.documentPanelSize, shrinkDocumentPanel: this.shrinkDocumentPanel, expandDocumentPanel: this.expandDocumentPanel, dsoDocumentPanelSizeChangeAnimationEnd: this.dsoDocumentPanelSizeChangeAnimationEnd })), h(Overlay, { key: '2577736644258d037e41fef06ec19be4d9db92fa', ref: (element) => (this.overlay = element), dsoCloseOverlay: (e) => this.dsoCloseOverlay.emit({ originalEvent: e }) })));
306
306
  }
307
307
  get host() { return this; }
308
308
  static get watchers() { return {
@@ -1818,7 +1818,7 @@ const DocumentComponentDemo = /*@__PURE__*/ proxyCustomElement(class DocumentCom
1818
1818
  render() {
1819
1819
  var _a, _b;
1820
1820
  const { DocumentComponent, MenuButton } = this;
1821
- return (h("dso-responsive-element", { key: '487ea5957411bf8fe8bf42b34555076ae30079a6', class: "dso-document-components" }, h("div", { key: '312dbb3e48673150f6d3a2318e3387994f186d14', class: "dso-navbar" }, h("ul", { key: '9f0f29ddd997906ef4a071dcc70ffb48342863bd', class: "dso-nav dso-nav-sub" }, (_b = (_a = this.getEmbeddedDocumentComponents(this.response)) === null || _a === void 0 ? void 0 : _a.documentComponents) === null || _b === void 0 ? void 0 : _b.map((d) => (h("li", { class: this.document === d ? "dso-active" : undefined }, h(MenuButton, { documentComponent: d })))))), this.document && h(DocumentComponent, { key: '5ac9f2dc49fcf37166bea36d3c00d415d55e35a9', path: [this.document] })));
1821
+ return (h("dso-responsive-element", { key: '0bdcbedac77e5fff00d9be2e0b2e725edf2ec07f', class: "dso-document-components" }, h("div", { key: 'b9068348ddfc4c5dd46d4b65eeb2a0bb28a02d8b', class: "dso-navbar" }, h("ul", { key: 'e57f4fbd2da501279edd93b0e29fa210319ded13', class: "dso-nav dso-nav-sub" }, (_b = (_a = this.getEmbeddedDocumentComponents(this.response)) === null || _a === void 0 ? void 0 : _a.documentComponents) === null || _b === void 0 ? void 0 : _b.map((d) => (h("li", { class: this.document === d ? "dso-active" : undefined }, h(MenuButton, { documentComponent: d })))))), this.document && h(DocumentComponent, { key: '64016b330af123112c59778dcd783c2a22f3a71f', path: [this.document] })));
1822
1822
  }
1823
1823
  static get watchers() { return {
1824
1824
  "jsonFile": ["jsonFileWatcher"],
@@ -690,7 +690,7 @@ const Icon = /*@__PURE__*/ proxyCustomElement(class Icon extends HTMLElement {
690
690
  if (!icon) {
691
691
  throw new TypeError(`Unknown svg: ${this.icon}`);
692
692
  }
693
- return h("span", { key: '9d80410ec84c08bc91abed479f60bddd9ee08a59', class: "icon-container", innerHTML: icon.svg });
693
+ return h("span", { key: '5805a81ad34f4f4f8adb5eaafc0019924c4b4efa', class: "icon-container", innerHTML: icon.svg });
694
694
  }
695
695
  }
696
696
  static get style() { return DsoIconStyle0; }
@@ -107,6 +107,8 @@ export { Skiplink as DsoSkiplink } from '../types/components/skiplink/skiplink';
107
107
  export { defineCustomElement as defineCustomElementDsoSkiplink } from './dso-skiplink';
108
108
  export { SlideToggle as DsoSlideToggle } from '../types/components/slide-toggle/slide-toggle';
109
109
  export { defineCustomElement as defineCustomElementDsoSlideToggle } from './dso-slide-toggle';
110
+ export { SurveyRating as DsoSurveyRating } from '../types/components/survey-rating/survey-rating';
111
+ export { defineCustomElement as defineCustomElementDsoSurveyRating } from './dso-survey-rating';
110
112
  export { Tab as DsoTab } from '../types/components/tabs/components/tab';
111
113
  export { defineCustomElement as defineCustomElementDsoTab } from './dso-tab';
112
114
  export { Table as DsoTable } from '../types/components/table/table';
@@ -53,6 +53,7 @@ export { DsoScrollable, defineCustomElement as defineCustomElementDsoScrollable
53
53
  export { DsoSelectable, defineCustomElement as defineCustomElementDsoSelectable } from './dso-selectable.js';
54
54
  export { DsoSkiplink, defineCustomElement as defineCustomElementDsoSkiplink } from './dso-skiplink.js';
55
55
  export { DsoSlideToggle, defineCustomElement as defineCustomElementDsoSlideToggle } from './dso-slide-toggle.js';
56
+ export { DsoSurveyRating, defineCustomElement as defineCustomElementDsoSurveyRating } from './dso-survey-rating.js';
56
57
  export { DsoTab, defineCustomElement as defineCustomElementDsoTab } from './dso-tab.js';
57
58
  export { DsoTable, defineCustomElement as defineCustomElementDsoTable } from './dso-table.js';
58
59
  export { DsoTabs, defineCustomElement as defineCustomElementDsoTabs } from './dso-tabs.js';
@@ -1 +1 @@
1
- {"file":"index.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
1
+ {"file":"index.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -29,7 +29,7 @@ const InfoButton = /*@__PURE__*/ proxyCustomElement(class InfoButton extends HTM
29
29
  this.dsoToggle.emit({ originalEvent: e, active: this.active });
30
30
  }
31
31
  render() {
32
- return (h(Host, { key: '69179ffb27e3ec32941102c461a6a58b45c00bde', onMouseenter: () => (this.hover = true), onMouseleave: () => (this.hover = false) }, h("button", { key: '7504a07ca41a7e61e125fba2c19c1e4b67705474', type: "button", class: clsx({ "dso-open": !!this.active, "dso-info-secondary": !!this.secondary }), "aria-expanded": typeof this.active === "boolean" ? this.active.toString() : undefined, onClick: (e) => this.handleToggle(e), ref: (element) => (this.button = element) }, h("dso-icon", { key: '3b5124b074a2b068f8d201ce86ce2554d3da7fd5', icon: this.active || this.hover ? "info-active" : "info" }), h("span", { key: 'fd62e5e40e79542a8b3055b907405cbcabc4c53d', class: "sr-only" }, this.label))));
32
+ return (h(Host, { key: 'e120f58b26565a2606afc191c43d3cd9392d7c94', onMouseenter: () => (this.hover = true), onMouseleave: () => (this.hover = false) }, h("button", { key: '452ef5c21ea617508d47f5be9a64bb7dc06dd0ef', type: "button", class: clsx({ "dso-open": !!this.active, "dso-info-secondary": !!this.secondary }), "aria-expanded": typeof this.active === "boolean" ? this.active.toString() : undefined, onClick: (e) => this.handleToggle(e), ref: (element) => (this.button = element) }, h("dso-icon", { key: '8311c98a00ed1caa8ff19d771179aa01b7289f6c', icon: this.active || this.hover ? "info-active" : "info" }), h("span", { key: '715319494ea7f899fecea285a8bb3b22c84bc61e', class: "sr-only" }, this.label))));
33
33
  }
34
34
  static get style() { return DsoInfoButtonStyle0; }
35
35
  }, [1, "dso-info-button", {
@@ -12,7 +12,7 @@ const Info = /*@__PURE__*/ proxyCustomElement(class Info extends HTMLElement {
12
12
  this.dsoClose = createEvent(this, "dsoClose", 7);
13
13
  }
14
14
  render() {
15
- return (h(Fragment, { key: '55494406dd46f311f4c33ae09621c1cd2f091652' }, h("slot", { key: '7e63e38a4d8593893de952a561027c822d75737d' }), !this.fixed && (h("button", { key: '82fb84fcd042127ed27dd1387703a89108c8da09', type: "button", onClick: (e) => this.dsoClose.emit(e) }, h("dso-icon", { key: 'd5c9066e99aae39f97d1928454aaae76828c488a', icon: "times" }), h("span", { key: '791f6e81943d44d58ca95a9b0d86e35f2f2c4e1b', class: "sr-only" }, "Sluiten")))));
15
+ return (h(Fragment, { key: 'a9db2b8522cbfa55e8629b58a9757d58931ecbca' }, h("slot", { key: '2059c0fb8926f48a4b1f36a2210d5c8e48861b1a' }), !this.fixed && (h("button", { key: '7430b1282b3a04b27185cb0f65d77ba82f28045d', type: "button", onClick: (e) => this.dsoClose.emit(e) }, h("dso-icon", { key: 'dcc0f11655e09ce94b96299f1e4ef7a9f0e72f8b', icon: "times" }), h("span", { key: '9f127628f9741a7036a9cc1b23bfe1b585ed7b29', class: "sr-only" }, "Sluiten")))));
16
16
  }
17
17
  static get style() { return DsoInfoStyle0; }
18
18
  }, [1, "dso-info", {
@@ -104,13 +104,13 @@ const Label = /*@__PURE__*/ proxyCustomElement(class Label extends HTMLElement {
104
104
  this.isTruncated = false;
105
105
  }
106
106
  render() {
107
- return (h(Fragment, { key: '09bdfc97082336a3de8208ec37ebf99b92ac02ff' }, h("span", { key: 'ef85128f41dd1d012b00a8f228def73dcd74f8ee', "aria-describedby": "toggle-anchor", class: clsx("dso-label", {
107
+ return (h(Fragment, { key: '3bf1a2b10d7cdb37d200dc8435872757f730f7f3' }, h("span", { key: '2963be77a7e44f85c07ae9885dd7aaeb4b6a04ae', "aria-describedby": "toggle-anchor", class: clsx("dso-label", {
108
108
  [`dso-label-${this.status}`]: this.status,
109
109
  "dso-compact": this.compact && !this.removable,
110
110
  "dso-hover": this.removeHover || this.removeFocus,
111
- }) }, h("slot", { key: 'd8379d7f323ec3a924305fa6a5caf0b959bcc6ac', name: "symbol" }), h("span", { key: 'f4a031ce32622795a3ce64b1b40cb0be25d65209', class: clsx("dso-label-content", {
111
+ }) }, h("slot", { key: '55b447e4ea124705739d3e65c53b3dcc87b6d8c4', name: "symbol" }), h("span", { key: '48fd3d404c04bcc3c4e69e1ac3e918997959a65c', class: clsx("dso-label-content", {
112
112
  "dso-truncate": !!this.truncate,
113
- }), ref: (element) => (this.labelContent = element), tabindex: this.truncate && this.isTruncated ? 0 : undefined, onMouseEnter: () => (this.textHover = true), onMouseLeave: () => (this.textHover = false), onFocus: () => (this.textFocus = true), onBlur: () => (this.textFocus = false) }, h("slot", { key: '05e123fabbcecff3cab78bc57b036d5e54db7026' })), this.removable && (h("button", { key: '90777393b22c3d1b560912fb8d9e12e06d46b150', type: "button", onClick: (e) => this.dsoRemoveClick.emit(e), onMouseEnter: () => (this.removeHover = true), onMouseLeave: () => (this.removeHover = false), onFocus: () => (this.removeFocus = true), onBlur: () => (this.removeFocus = false) }, h("span", { key: 'de39e773d676dc37dc91c47012e9cf06d48db6f9', class: "sr-only" }, "Verwijder: ", this.labelText), h("dso-icon", { key: '17d86f44f3f9908a96bb28ebb7e90517a6d88f64', icon: "times" })))), this.isTruncated && (h("dso-tooltip", { key: 'df8ff5796a8b8acd40ed2285161f80e4a8ab35ed', stateless: true, id: "toggle-anchor", active: this.textHover || this.textFocus, position: "top", strategy: "absolute" }, this.labelText))));
113
+ }), ref: (element) => (this.labelContent = element), tabindex: this.truncate && this.isTruncated ? 0 : undefined, onMouseEnter: () => (this.textHover = true), onMouseLeave: () => (this.textHover = false), onFocus: () => (this.textFocus = true), onBlur: () => (this.textFocus = false) }, h("slot", { key: 'ba3e40904693080e4558c9d0d982b8146092ecb2' })), this.removable && (h("button", { key: '6aa571c0e12e356951d1970e8f9afa4189c36fd0', type: "button", onClick: (e) => this.dsoRemoveClick.emit(e), onMouseEnter: () => (this.removeHover = true), onMouseLeave: () => (this.removeHover = false), onFocus: () => (this.removeFocus = true), onBlur: () => (this.removeFocus = false) }, h("span", { key: '4c06e38f4bad11a7208d924f715b0d7b4e3b5382', class: "sr-only" }, "Verwijder: ", this.labelText), h("dso-icon", { key: 'b549e2c517416cd705778addcc5594a6b2bd8b18', icon: "times" })))), this.isTruncated && (h("dso-tooltip", { key: '6782bb54d4a720f90433ded22edc81badfc6acfb', stateless: true, id: "toggle-anchor", active: this.textHover || this.textFocus, position: "top", strategy: "absolute" }, this.labelText))));
114
114
  }
115
115
  get host() { return this; }
116
116
  static get watchers() { return {
@@ -752,9 +752,9 @@ class OzonContentNootNode {
752
752
  }
753
753
  }
754
754
 
755
- class OzonContentOpschriftNode {
755
+ class OzonContentKopNode {
756
756
  constructor() {
757
- this.name = "Opschrift";
757
+ this.name = ["Opschrift", "Label", "Nummer", "Kop"];
758
758
  }
759
759
  render(node, { mapNodeToJsx }) {
760
760
  let content = mapNodeToJsx(node.childNodes);
@@ -934,7 +934,7 @@ class Mapper {
934
934
  new OzonContentTextNode(),
935
935
  new OzonContentDocumentNode(),
936
936
  new OzonContentInhoudNode(),
937
- new OzonContentOpschriftNode(),
937
+ new OzonContentKopNode(),
938
938
  new OzonContentIntRefNode(),
939
939
  new OzonContentExtRefNode(),
940
940
  new OzonContentAlNode(),
@@ -972,10 +972,18 @@ class Mapper {
972
972
  mapNodeToJsx(node, context, path) {
973
973
  var _a;
974
974
  if (node instanceof NodeList) {
975
- return h(Fragment, null, Array.from(node).map((n) => this.mapNodeToJsx(n, context, path)));
975
+ return (h(Fragment, null, Array.from(node).map((n, index) => {
976
+ return (h(Fragment, null,
977
+ context.addSpaceBeforeNode && index > 0 && " ",
978
+ this.mapNodeToJsx(n, context, path)));
979
+ })));
976
980
  }
977
981
  if (Array.isArray(node)) {
978
- return h(Fragment, null, node.map((n) => this.mapNodeToJsx(n, context, path)));
982
+ return (h(Fragment, null, node.map((n, index) => {
983
+ return (h(Fragment, null,
984
+ context.addSpaceBeforeNode && index > 0 && " ",
985
+ this.mapNodeToJsx(n, context, path)));
986
+ })));
979
987
  }
980
988
  const nodeName = getNodeName(node);
981
989
  const mapper = this.findMapper(nodeName);
@@ -1040,6 +1048,10 @@ const OzonContent = /*@__PURE__*/ proxyCustomElement(class OzonContent extends H
1040
1048
  * Setting this property creates dso-ozon-content as inline element instead of a block element.
1041
1049
  */
1042
1050
  this.inline = false;
1051
+ /**
1052
+ * Adds a non breaking space to the node element.
1053
+ */
1054
+ this.addSpaceBeforeNode = false;
1043
1055
  this.state = {};
1044
1056
  this.handleMarkItemHighlight = (text, elementRef) => {
1045
1057
  this.dsoOzonContentMarkItemHighlight.emit({ text, elementRef });
@@ -1051,6 +1063,7 @@ const OzonContent = /*@__PURE__*/ proxyCustomElement(class OzonContent extends H
1051
1063
  render() {
1052
1064
  const context = {
1053
1065
  state: this.state,
1066
+ addSpaceBeforeNode: this.addSpaceBeforeNode,
1054
1067
  inline: this.inline,
1055
1068
  mark: this.mark,
1056
1069
  setState: (state) => (this.state = state),
@@ -1058,7 +1071,7 @@ const OzonContent = /*@__PURE__*/ proxyCustomElement(class OzonContent extends H
1058
1071
  emitAnchorClick: this.dsoAnchorClick.emit,
1059
1072
  };
1060
1073
  const transformed = mapper.transform(this.content, context);
1061
- return h(Fragment, { key: 'b395bdf2fe2984a99ab4945d6271d321b762004b' }, transformed);
1074
+ return h(Fragment, { key: 'fa2f5b571b572007dace7776e56a2ce800ddc3b6' }, transformed);
1062
1075
  }
1063
1076
  static get watchers() { return {
1064
1077
  "content": ["contentWatcher"]
@@ -1067,6 +1080,7 @@ const OzonContent = /*@__PURE__*/ proxyCustomElement(class OzonContent extends H
1067
1080
  }, [1, "dso-ozon-content", {
1068
1081
  "content": [1],
1069
1082
  "inline": [516],
1083
+ "addSpaceBeforeNode": [516, "add-space-before-node"],
1070
1084
  "mark": [16],
1071
1085
  "state": [32]
1072
1086
  }, undefined, {