@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
@@ -1 +1 @@
1
- {"version":3,"file":"slide-toggle.js","sourceRoot":"","sources":["../../../../src/components/slide-toggle/slide-toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,SAAS,EAAsB,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAgB,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtH,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAQ1B,MAAM,OAAO,WAAW;IALxB;QASE;;WAEG;QAEH,YAAO,GAAG,KAAK,CAAC;QAEhB;;WAEG;QAEH,aAAQ,GAAG,KAAK,CAAC;QAiBjB;;WAEG;QAEH,eAAU,GAAG,EAAE,EAAE,CAAC;KA+CnB;IAvCS,YAAY,CAAC,CAAQ;QAC3B,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC;YACxB,aAAa,EAAE,CAAC;YAChB,OAAO,EAAE,CAAC,IAAI,CAAC,OAAO;SACvB,CAAC,CAAC;IACL,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC;IAC/D,CAAC;IAED,MAAM;QACJ,OAAO,CACL;YACE,6EACE,EAAE,EAAE,IAAI,CAAC,UAAU,EACnB,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,YAAY,kBACJ,EAAE,GAAG,IAAI,CAAC,OAAO,EAC/B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,IAChC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EACpE,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;gBAEvE,4DAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW;oBAChF,0DAAG,IAAI,EAAC,MAAM,eAAW,SAAS;wBAChC,6DAAM,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,IAAI,EAAC,cAAc,EAAC,EAAE,EAAC,IAAI,GAAG;wBAC3D,+DAAQ,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,EAAC,IAAI,EAAC,cAAc,GAAG,CAC1C,CACA,CACC;YACR,IAAI,CAAC,eAAe,IAAI,CACvB,8DAAO,OAAO,EAAE,IAAI,CAAC,UAAU;gBAC7B,8DAAQ,CACF,CACT,CACA,CACJ,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { h, Component, ComponentInterface, Event, Fragment, Prop, EventEmitter, Element, State } from \"@stencil/core\";\r\nimport { v4 } from \"uuid\";\r\nimport { SlideToggleActiveEvent } from \"./slide-toggle.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-slide-toggle\",\r\n styleUrl: \"slide-toggle.scss\",\r\n shadow: false,\r\n})\r\nexport class SlideToggle implements ComponentInterface {\r\n @Element()\r\n private host!: HTMLDsoSlideToggleElement;\r\n\r\n /**\r\n * Set to true if Slide Toggle is checked.\r\n */\r\n @Prop()\r\n checked = false;\r\n\r\n /**\r\n * Disables the Slide Toggle, preventing it from checking/unchecking and therefor not emitting any events.\r\n */\r\n @Prop()\r\n disabled = false;\r\n\r\n /**\r\n * When provided the `<button>` will be labelled with `aria-label`. For a visible label provide a `<span>` inside the component.\r\n */\r\n @Prop()\r\n accessibleLabel?: string;\r\n\r\n /**\r\n * Provide the `id` of the element that labels this element. this property sets the `aria-labelledby` on the switch button.\r\n */\r\n @Prop()\r\n labelledbyId?: string;\r\n\r\n @State()\r\n hasVisibleLabel?: boolean;\r\n\r\n /**\r\n * Provide an `id` for the `<button>`. Useful for placing your to place your own `<label for=\"id\">`.\r\n */\r\n @Prop()\r\n identifier = v4();\r\n\r\n /**\r\n * Emitted when user checks or unchecks the Slide Toggle.\r\n */\r\n @Event({ composed: false })\r\n dsoActiveChange!: EventEmitter<SlideToggleActiveEvent>;\r\n\r\n private handleSwitch(e: Event): void {\r\n this.dsoActiveChange.emit({\r\n originalEvent: e,\r\n checked: !this.checked,\r\n });\r\n }\r\n\r\n componentWillLoad(): void {\r\n this.hasVisibleLabel = this.host.querySelector(\"*\") !== null;\r\n }\r\n\r\n render() {\r\n return (\r\n <>\r\n <button\r\n id={this.identifier}\r\n role=\"switch\"\r\n class=\"dso-slider\"\r\n aria-checked={\"\" + this.checked}\r\n disabled={this.disabled}\r\n onClick={(e) => this.handleSwitch(e)}\r\n {...(this.accessibleLabel ? { \"aria-label\": this.accessibleLabel } : {})}\r\n {...(this.labelledbyId ? { \"aria-labelledby\": this.labelledbyId } : {})}\r\n >\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"40\" height=\"20\" viewBox=\"0 0 40 20\">\r\n <g fill=\"none\" fill-rule=\"evenodd\">\r\n <rect width=\"40\" height=\"20\" fill=\"currentColor\" rx=\"10\" />\r\n <circle cy=\"10\" r=\"8\" fill=\"currentColor\" />\r\n </g>\r\n </svg>\r\n </button>\r\n {this.hasVisibleLabel && (\r\n <label htmlFor={this.identifier}>\r\n <slot />\r\n </label>\r\n )}\r\n </>\r\n );\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"slide-toggle.js","sourceRoot":"","sources":["../../../../src/components/slide-toggle/slide-toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,SAAS,EAAsB,KAAK,EAAE,IAAI,EAAgB,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACtH,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAS1B,MAAM,OAAO,WAAW;IANxB;QAUE;;WAEG;QAEH,YAAO,GAAG,KAAK,CAAC;QAEhB;;WAEG;QAEH,aAAQ,GAAG,KAAK,CAAC;QAiBjB;;WAEG;QAEH,eAAU,GAAG,EAAE,EAAE,CAAC;KA+CnB;IAvCS,YAAY,CAAC,CAAQ;QAC3B,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC;YACxB,aAAa,EAAE,CAAC;YAChB,OAAO,EAAE,CAAC,IAAI,CAAC,OAAO;SACvB,CAAC,CAAC;IACL,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,KAAK,IAAI,CAAC;IAC/D,CAAC;IAED,MAAM;QACJ,OAAO,CACL;YACE,6EACE,EAAE,EAAE,IAAI,CAAC,UAAU,EACnB,IAAI,EAAC,QAAQ,EACb,KAAK,EAAC,YAAY,kBACJ,EAAE,GAAG,IAAI,CAAC,OAAO,EAC/B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,IAChC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EACpE,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;gBAEvE,4DAAK,KAAK,EAAC,4BAA4B,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,OAAO,EAAC,WAAW;oBAChF,0DAAG,IAAI,EAAC,MAAM,eAAW,SAAS;wBAChC,6DAAM,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,IAAI,EAAC,cAAc,EAAC,EAAE,EAAC,IAAI,GAAG;wBAC3D,+DAAQ,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,EAAC,IAAI,EAAC,cAAc,GAAG,CAC1C,CACA,CACC;YACR,IAAI,CAAC,eAAe,IAAI,CACvB,8DAAO,OAAO,EAAE,IAAI,CAAC,UAAU;gBAC7B,8DAAQ,CACF,CACT,CACA,CACJ,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { h, Component, ComponentInterface, Event, Prop, EventEmitter, Element, State, Fragment } from \"@stencil/core\";\r\nimport { v4 } from \"uuid\";\r\nimport { SlideToggleActiveEvent } from \"./slide-toggle.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-slide-toggle\",\r\n styleUrl: \"slide-toggle.scss\",\r\n scoped: true,\r\n shadow: false,\r\n})\r\nexport class SlideToggle implements ComponentInterface {\r\n @Element()\r\n private host!: HTMLDsoSlideToggleElement;\r\n\r\n /**\r\n * Set to true if Slide Toggle is checked.\r\n */\r\n @Prop()\r\n checked = false;\r\n\r\n /**\r\n * Disables the Slide Toggle, preventing it from checking/unchecking and therefor not emitting any events.\r\n */\r\n @Prop()\r\n disabled = false;\r\n\r\n /**\r\n * When provided the `<button>` will be labelled with `aria-label`. For a visible label provide a `<span>` inside the component.\r\n */\r\n @Prop()\r\n accessibleLabel?: string;\r\n\r\n /**\r\n * Provide the `id` of the element that labels this element. this property sets the `aria-labelledby` on the switch button.\r\n */\r\n @Prop()\r\n labelledbyId?: string;\r\n\r\n @State()\r\n hasVisibleLabel?: boolean;\r\n\r\n /**\r\n * Provide an `id` for the `<button>`. Useful for placing your to place your own `<label for=\"id\">`.\r\n */\r\n @Prop()\r\n identifier = v4();\r\n\r\n /**\r\n * Emitted when user checks or unchecks the Slide Toggle.\r\n */\r\n @Event({ composed: false })\r\n dsoActiveChange!: EventEmitter<SlideToggleActiveEvent>;\r\n\r\n private handleSwitch(e: Event): void {\r\n this.dsoActiveChange.emit({\r\n originalEvent: e,\r\n checked: !this.checked,\r\n });\r\n }\r\n\r\n componentWillLoad(): void {\r\n this.hasVisibleLabel = this.host.querySelector(\"*\") !== null;\r\n }\r\n\r\n render() {\r\n return (\r\n <>\r\n <button\r\n id={this.identifier}\r\n role=\"switch\"\r\n class=\"dso-slider\"\r\n aria-checked={\"\" + this.checked}\r\n disabled={this.disabled}\r\n onClick={(e) => this.handleSwitch(e)}\r\n {...(this.accessibleLabel ? { \"aria-label\": this.accessibleLabel } : {})}\r\n {...(this.labelledbyId ? { \"aria-labelledby\": this.labelledbyId } : {})}\r\n >\r\n <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"40\" height=\"20\" viewBox=\"0 0 40 20\">\r\n <g fill=\"none\" fill-rule=\"evenodd\">\r\n <rect width=\"40\" height=\"20\" fill=\"currentColor\" rx=\"10\" />\r\n <circle cy=\"10\" r=\"8\" fill=\"currentColor\" />\r\n </g>\r\n </svg>\r\n </button>\r\n {this.hasVisibleLabel && (\r\n <label htmlFor={this.identifier}>\r\n <slot />\r\n </label>\r\n )}\r\n </>\r\n );\r\n }\r\n}\r\n"]}
@@ -0,0 +1,392 @@
1
+ :host {
2
+ display: block;
3
+ position: absolute;
4
+ inset-block-end: 16px;
5
+ inset-inline-start: 16px;
6
+ inline-size: 370px;
7
+ box-shadow: -3px 3px 6px 0 rgba(0, 0, 0, 0.5);
8
+ border-radius: 4px;
9
+ }
10
+ @media screen and (max-width: 480px) {
11
+ :host {
12
+ inline-size: 320px;
13
+ inset-block-end: 0;
14
+ inset-inline-start: 0;
15
+ --panel-heading-padding-inline-start: 8px;
16
+ --panel-body-padding-inline: 8px;
17
+ }
18
+ }
19
+
20
+ *,
21
+ *::after,
22
+ *::before {
23
+ box-sizing: border-box;
24
+ }
25
+
26
+ .sr-only {
27
+ position: absolute;
28
+ inline-size: 1px;
29
+ block-size: 1px;
30
+ padding: 0;
31
+ margin: -1px;
32
+ overflow: hidden;
33
+ clip: rect(0, 0, 0, 0);
34
+ border: 0;
35
+ }
36
+
37
+ .visual-rating-labels {
38
+ display: flex;
39
+ justify-content: space-between;
40
+ margin-block: 8px;
41
+ }
42
+
43
+ input[type=radio] {
44
+ appearance: none;
45
+ cursor: pointer;
46
+ position: absolute;
47
+ margin-inline: 0;
48
+ margin-block: 0;
49
+ inset-block: 8px 0;
50
+ inset-inline: 0;
51
+ z-index: 1;
52
+ }
53
+
54
+ label {
55
+ position: relative;
56
+ display: inline-flex;
57
+ align-items: center;
58
+ justify-content: center;
59
+ inline-size: 48px;
60
+ block-size: 48px;
61
+ border: 1px solid #ccc;
62
+ border-inline-end-width: 0;
63
+ padding-block-start: 8px;
64
+ }
65
+ @media screen and (max-width: 480px) {
66
+ label {
67
+ inline-size: 43px;
68
+ block-size: 43px;
69
+ }
70
+ }
71
+ label:hover {
72
+ background-color: #f2f2f2;
73
+ }
74
+ label:active {
75
+ background-color: #e5e5e5;
76
+ }
77
+ label:first-of-type {
78
+ border-radius: 4px 0 0 4px;
79
+ }
80
+ label:first-of-type::before {
81
+ border-radius: 3px 0 0;
82
+ }
83
+ label:last-of-type {
84
+ border-inline-end-width: 1px;
85
+ border-radius: 0 4px 4px 0;
86
+ }
87
+ label:last-of-type::before {
88
+ border-radius: 0 3px 0 0;
89
+ }
90
+ label::before {
91
+ content: "";
92
+ display: block;
93
+ position: absolute;
94
+ inset-block-start: 0;
95
+ block-size: 8px;
96
+ inline-size: 100%;
97
+ border-block-end: 1px solid #ccc;
98
+ }
99
+ label:has(input:checked) {
100
+ font-weight: bold;
101
+ }
102
+ label.survey-rating-1::before, label.survey-rating-1:has(input:checked) {
103
+ --link-color: currentColor;
104
+ --link-hover-color: currentColor;
105
+ --link-visited-color: currentColor;
106
+ background-color: #b62f41;
107
+ border-color: #ccc;
108
+ color: #fff;
109
+ }
110
+ label.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) {
111
+ background-image: var(--_dso-di-background-image, url("./di.svg#download-wit"));
112
+ }
113
+ label.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) {
114
+ background-image: var(--_dso-di-background-image, url("./di.svg#external-link-wit"));
115
+ }
116
+ label.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) {
117
+ background-image: var(--_dso-di-background-image, url("./di.svg#call-wit"));
118
+ }
119
+ label.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) {
120
+ background-image: var(--_dso-di-background-image, url("./di.svg#email-wit"));
121
+ }
122
+ label.survey-rating-2::before, label.survey-rating-2:has(input:checked) {
123
+ --link-color: currentColor;
124
+ --link-hover-color: currentColor;
125
+ --link-visited-color: currentColor;
126
+ background-color: #ce3f51;
127
+ border-color: #ccc;
128
+ color: #fff;
129
+ }
130
+ label.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) {
131
+ background-image: var(--_dso-di-background-image, url("./di.svg#download-wit"));
132
+ }
133
+ label.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) {
134
+ background-image: var(--_dso-di-background-image, url("./di.svg#external-link-wit"));
135
+ }
136
+ label.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) {
137
+ background-image: var(--_dso-di-background-image, url("./di.svg#call-wit"));
138
+ }
139
+ label.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) {
140
+ background-image: var(--_dso-di-background-image, url("./di.svg#email-wit"));
141
+ }
142
+ label.survey-rating-3::before, label.survey-rating-3:has(input:checked) {
143
+ --link-color: currentColor;
144
+ --link-hover-color: currentColor;
145
+ --link-visited-color: currentColor;
146
+ background-color: #e17000;
147
+ border-color: #ccc;
148
+ color: #191919;
149
+ }
150
+ label.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) {
151
+ background-image: var(--_dso-di-background-image, url("./di.svg#download-zwart"));
152
+ }
153
+ label.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) {
154
+ background-image: var(--_dso-di-background-image, url("./di.svg#external-link-zwart"));
155
+ }
156
+ label.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) {
157
+ background-image: var(--_dso-di-background-image, url("./di.svg#call-zwart"));
158
+ }
159
+ label.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) {
160
+ background-image: var(--_dso-di-background-image, url("./di.svg#email-zwart"));
161
+ }
162
+ label.survey-rating-4::before, label.survey-rating-4:has(input:checked) {
163
+ --link-color: currentColor;
164
+ --link-hover-color: currentColor;
165
+ --link-visited-color: currentColor;
166
+ background-color: #dcd400;
167
+ border-color: #ccc;
168
+ color: #191919;
169
+ }
170
+ label.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) {
171
+ background-image: var(--_dso-di-background-image, url("./di.svg#download-zwart"));
172
+ }
173
+ label.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) {
174
+ background-image: var(--_dso-di-background-image, url("./di.svg#external-link-zwart"));
175
+ }
176
+ label.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) {
177
+ background-image: var(--_dso-di-background-image, url("./di.svg#call-zwart"));
178
+ }
179
+ label.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) {
180
+ background-image: var(--_dso-di-background-image, url("./di.svg#email-zwart"));
181
+ }
182
+ label.survey-rating-5::before, label.survey-rating-5:has(input:checked) {
183
+ --link-color: currentColor;
184
+ --link-hover-color: currentColor;
185
+ --link-visited-color: currentColor;
186
+ background-color: #79b929;
187
+ border-color: #ccc;
188
+ color: #191919;
189
+ }
190
+ label.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) {
191
+ background-image: var(--_dso-di-background-image, url("./di.svg#download-zwart"));
192
+ }
193
+ label.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) {
194
+ background-image: var(--_dso-di-background-image, url("./di.svg#external-link-zwart"));
195
+ }
196
+ label.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) {
197
+ background-image: var(--_dso-di-background-image, url("./di.svg#call-zwart"));
198
+ }
199
+ label.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) {
200
+ background-image: var(--_dso-di-background-image, url("./di.svg#email-zwart"));
201
+ }
202
+ label.survey-rating-6::before, label.survey-rating-6:has(input:checked) {
203
+ --link-color: currentColor;
204
+ --link-hover-color: currentColor;
205
+ --link-visited-color: currentColor;
206
+ background-color: #39870c;
207
+ border-color: #ccc;
208
+ color: #fff;
209
+ }
210
+ label.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) {
211
+ background-image: var(--_dso-di-background-image, url("./di.svg#download-wit"));
212
+ }
213
+ label.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) {
214
+ background-image: var(--_dso-di-background-image, url("./di.svg#external-link-wit"));
215
+ }
216
+ label.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) {
217
+ background-image: var(--_dso-di-background-image, url("./di.svg#call-wit"));
218
+ }
219
+ label.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) {
220
+ background-image: var(--_dso-di-background-image, url("./di.svg#email-wit"));
221
+ }
222
+ label.survey-rating-7::before, label.survey-rating-7:has(input:checked) {
223
+ --link-color: currentColor;
224
+ --link-hover-color: currentColor;
225
+ --link-visited-color: currentColor;
226
+ background-color: #275937;
227
+ border-color: #ccc;
228
+ color: #fff;
229
+ }
230
+ label.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) {
231
+ background-image: var(--_dso-di-background-image, url("./di.svg#download-wit"));
232
+ }
233
+ label.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) {
234
+ background-image: var(--_dso-di-background-image, url("./di.svg#external-link-wit"));
235
+ }
236
+ label.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) {
237
+ background-image: var(--_dso-di-background-image, url("./di.svg#call-wit"));
238
+ }
239
+ label.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) {
240
+ background-image: var(--_dso-di-background-image, url("./di.svg#email-wit"));
241
+ }
242
+
243
+ button {
244
+ -webkit-appearance: button;
245
+ color: inherit;
246
+ cursor: pointer;
247
+ font: inherit;
248
+ font-family: inherit;
249
+ font-size: inherit;
250
+ line-height: inherit;
251
+ margin: 0;
252
+ overflow: visible;
253
+ text-transform: none;
254
+ margin-block-start: 16px;
255
+ }
256
+ button[disabled] {
257
+ cursor: default;
258
+ }
259
+ button::-moz-focus-inner {
260
+ border: 0;
261
+ padding: 0;
262
+ }
263
+ button.dso-secondary {
264
+ display: inline-block;
265
+ font-size: 1em;
266
+ font-weight: 500;
267
+ margin-block-end: 0;
268
+ text-decoration: none;
269
+ touch-action: manipulation;
270
+ text-align: start;
271
+ user-select: none;
272
+ vertical-align: middle;
273
+ }
274
+ button.dso-secondary:focus, button.dso-secondary:focus-visible {
275
+ outline-offset: 2px;
276
+ }
277
+ button.dso-secondary:active {
278
+ outline: 0;
279
+ }
280
+ button.dso-secondary.extern::after, button.dso-secondary.download::after {
281
+ content: "";
282
+ display: inline-block;
283
+ margin-inline-start: 8px;
284
+ }
285
+ button.dso-secondary {
286
+ background-color: #fff;
287
+ border-color: #39870c;
288
+ color: #39870c;
289
+ }
290
+ button.dso-secondary {
291
+ border-width: 1px;
292
+ border-style: solid;
293
+ border-radius: 4px;
294
+ line-height: 1.5;
295
+ min-inline-size: 56px;
296
+ padding-block: 11px;
297
+ padding-inline: 15px;
298
+ }
299
+ button.dso-secondary:hover {
300
+ background-color: #d7e7ce;
301
+ border-color: #39870c;
302
+ color: #39870c;
303
+ }
304
+ button.dso-secondary:active {
305
+ background-color: #39870c;
306
+ border-color: #39870c;
307
+ color: #fff;
308
+ }
309
+ button.dso-secondary[disabled], button.dso-secondary[disabled]:hover {
310
+ background-color: #fff;
311
+ border-color: #afcf9d;
312
+ color: #afcf9d;
313
+ }
314
+ button.dso-secondary.dso-small {
315
+ line-height: 1rem;
316
+ }
317
+ button.dso-secondary.dso-small dso-icon,
318
+ button.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 {
319
+ margin-block-end: -4px;
320
+ margin-block-start: -4px;
321
+ }
322
+ button.dso-secondary.dso-small.dso-spinner-left::before {
323
+ block-size: 16px;
324
+ inline-size: 16px;
325
+ }
326
+ button.dso-secondary.dso-small.dso-spinner-right::after {
327
+ block-size: 16px;
328
+ inline-size: 16px;
329
+ }
330
+ button.dso-secondary dso-icon,
331
+ button.dso-secondary svg.di {
332
+ margin-inline-start: -8px;
333
+ margin-inline-end: 8px;
334
+ }
335
+ button.dso-secondary span + dso-icon,
336
+ button.dso-secondary span + svg.di {
337
+ margin-inline-start: 8px;
338
+ margin-inline-end: -8px;
339
+ }
340
+ button.dso-secondary.dso-spinner-left[disabled], button.dso-secondary.dso-spinner-right[disabled] {
341
+ background-color: #fff;
342
+ border-color: #39870c;
343
+ color: #39870c;
344
+ }
345
+ button.dso-secondary.dso-spinner-left::before {
346
+ 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");
347
+ background-repeat: no-repeat;
348
+ content: "";
349
+ display: inline-block;
350
+ block-size: 24px;
351
+ vertical-align: top;
352
+ inline-size: 24px;
353
+ margin-inline-end: 8px;
354
+ }
355
+ button.dso-secondary.dso-spinner-left:not([disabled]):hover::before {
356
+ 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");
357
+ background-repeat: no-repeat;
358
+ content: "";
359
+ display: inline-block;
360
+ block-size: 24px;
361
+ vertical-align: top;
362
+ inline-size: 24px;
363
+ margin-inline-end: 8px;
364
+ }
365
+ button.dso-secondary.dso-spinner-left:not([disabled]).dso-small:hover::before {
366
+ block-size: 16px;
367
+ inline-size: 16px;
368
+ }
369
+ button.dso-secondary.dso-spinner-right::after {
370
+ 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");
371
+ background-repeat: no-repeat;
372
+ content: "";
373
+ display: inline-block;
374
+ block-size: 24px;
375
+ vertical-align: top;
376
+ inline-size: 24px;
377
+ margin-inline-start: 8px;
378
+ }
379
+ button.dso-secondary.dso-spinner-right:not([disabled]):hover::after {
380
+ 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");
381
+ background-repeat: no-repeat;
382
+ content: "";
383
+ display: inline-block;
384
+ block-size: 24px;
385
+ vertical-align: top;
386
+ inline-size: 24px;
387
+ margin-inline-start: 8px;
388
+ }
389
+ button.dso-secondary.dso-spinner-right:not([disabled]).dso-small:hover::after {
390
+ block-size: 16px;
391
+ inline-size: 16px;
392
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=survey-rating.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"survey-rating.interfaces.js","sourceRoot":"","sources":["../../../../src/components/survey-rating/survey-rating.interfaces.ts"],"names":[],"mappings":"","sourcesContent":["export interface SurveyRatingSubmitEvent {\r\n /** The selected rating. One-based. */\r\n rating: number | undefined;\r\n scale: SurveyRatingScale;\r\n originalEvent?: Event;\r\n}\r\n\r\nexport interface SurveyRatingCloseEvent {\r\n originalEvent: Event;\r\n}\r\nexport interface SurveyRatingScale {\r\n /** The start of the scale. One-based */\r\n start: number;\r\n /** The end of the scale, including the end. One-based. */\r\n end: number;\r\n}\r\n"]}
@@ -0,0 +1,84 @@
1
+ import { Fragment, h } from "@stencil/core";
2
+ export class SurveyRating {
3
+ handleForm(e) {
4
+ e.preventDefault();
5
+ this.dsoSubmit.emit({ rating: this.rating, scale: { start: 1, end: 7 }, originalEvent: e });
6
+ }
7
+ handleChange(e) {
8
+ const target = e.target;
9
+ this.rating = Number(target.value);
10
+ }
11
+ render() {
12
+ const ratings = [
13
+ "Heel moeilijk",
14
+ "Moeilijk",
15
+ "Redelijk moeilijk",
16
+ "Neutraal",
17
+ "Redelijk makkelijk",
18
+ "Makkelijk",
19
+ "Heel makkelijk",
20
+ ];
21
+ 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) => {
22
+ const ratingNumber = index + 1;
23
+ 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) }))));
24
+ })), h("button", { key: '4b5a9454231d24e64cc4e09385b2161262982de7', type: "submit", class: "dso-secondary" }, h("span", { key: '6d6e9f53abec5e1522e5a8b04eea8793c354f101' }, "Antwoord verzenden")))));
25
+ }
26
+ static get is() { return "dso-survey-rating"; }
27
+ static get encapsulation() { return "shadow"; }
28
+ static get originalStyleUrls() {
29
+ return {
30
+ "$": ["survey-rating.scss"]
31
+ };
32
+ }
33
+ static get styleUrls() {
34
+ return {
35
+ "$": ["survey-rating.css"]
36
+ };
37
+ }
38
+ static get events() {
39
+ return [{
40
+ "method": "dsoSubmit",
41
+ "name": "dsoSubmit",
42
+ "bubbles": true,
43
+ "cancelable": true,
44
+ "composed": true,
45
+ "docs": {
46
+ "tags": [],
47
+ "text": "Emitted when user submits the Survey Rating."
48
+ },
49
+ "complexType": {
50
+ "original": "SurveyRatingSubmitEvent",
51
+ "resolved": "SurveyRatingSubmitEvent",
52
+ "references": {
53
+ "SurveyRatingSubmitEvent": {
54
+ "location": "import",
55
+ "path": "./survey-rating.interfaces",
56
+ "id": "src/components/survey-rating/survey-rating.interfaces.ts::SurveyRatingSubmitEvent"
57
+ }
58
+ }
59
+ }
60
+ }, {
61
+ "method": "dsoClose",
62
+ "name": "dsoClose",
63
+ "bubbles": true,
64
+ "cancelable": true,
65
+ "composed": true,
66
+ "docs": {
67
+ "tags": [],
68
+ "text": "Emitted when the user wants to close the Survey Rating."
69
+ },
70
+ "complexType": {
71
+ "original": "SurveyRatingCloseEvent",
72
+ "resolved": "SurveyRatingCloseEvent",
73
+ "references": {
74
+ "SurveyRatingCloseEvent": {
75
+ "location": "import",
76
+ "path": "./survey-rating.interfaces",
77
+ "id": "src/components/survey-rating/survey-rating.interfaces.ts::SurveyRatingCloseEvent"
78
+ }
79
+ }
80
+ }
81
+ }];
82
+ }
83
+ }
84
+ //# sourceMappingURL=survey-rating.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"survey-rating.js","sourceRoot":"","sources":["../../../../src/components/survey-rating/survey-rating.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAsB,KAAK,EAAgB,QAAQ,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAQhG,MAAM,OAAO,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;IAC9F,CAAC;IAEO,YAAY,CAAC,CAAQ;QAC3B,MAAM,MAAM,GAAG,CAAC,CAAC,MAA0B,CAAC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACrC,CAAC;IAED,MAAM;QACJ,MAAM,OAAO,GAAG;YACd,eAAe;YACf,UAAU;YACV,mBAAmB;YACnB,UAAU;YACV,oBAAoB;YACpB,WAAW;YACX,gBAAgB;SACjB,CAAC;QAEF,OAAO,CACL,kEAAW,UAAU,QAAC,eAAe,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,CAAC;YACpF,2DAAI,IAAI,EAAC,SAAS,iCAAgC;YAClD,4HAAyE;YACzE,6DAAM,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;gBACvC,4DAAK,KAAK,EAAC,sBAAsB,iBAAa,MAAM;oBAClD,+EAA0B;oBAC1B,gFAA2B,CACvB;gBACN,4DAAK,IAAI,EAAC,YAAY,IACnB,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE;oBAC7B,MAAM,YAAY,GAAG,KAAK,GAAG,CAAC,CAAC;oBAE/B,OAAO,CACL;wBACE,aAAO,KAAK,EAAE,iBAAiB,YAAY,EAAE;4BAC1C,YAAY;4BACb,YAAM,KAAK,EAAC,SAAS,IAAE,MAAM,CAAQ;4BACrC,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,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,GACrC,CACI,CACP,CACJ,CAAC;gBACJ,CAAC,CAAC,CACE;gBACN,+DAAQ,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,eAAe;oBACzC,oFAA+B,CACxB,CACJ,CACG,CACb,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["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"]}
@@ -35,7 +35,7 @@ export class Table {
35
35
  render() {
36
36
  var _a, _b;
37
37
  const caption = (_b = (_a = this.host.querySelector(":scope > table > caption")) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim();
38
- return (h(Host, { key: 'c2832a7a8fbf7221d15064ee4c7bb56d7b661cd2' }, this.modalActive && this.placeholderHeight && (h("div", { key: '9d14b2910f07abb13387e293d790045a32455b35', class: "dso-table-placeholder", style: { height: `${this.placeholderHeight}px` } })), this.modalActive && h("div", { key: '224ae9f6099a65a434331a7b474367b99553f693', class: "dso-modal-overlay" }), h("div", { key: '38aa3032ac4982d600147da57050456096b418a9', class: { "dso-modal": this.modalActive } }, h("div", Object.assign({ key: '4bfc958b97f90948559d98649e651fe5fdb19701', class: { "dso-dialog": this.modalActive, "dso-table-dialog": true }, ref: (element) => (this.focusTrapElement = element) }, (this.modalActive ? { ["aria-labelledby"]: this.labelledbyId, role: "dialog" } : {})), (this.isResponsive || !this.noModal) && (h("div", { key: '2a4fd6f51f39000c50f9d65e592d1b313f9b3867', class: "dso-table-utilities", style: this.modalActive ? { display: "none" } : undefined }, this.isResponsive && (h("div", { key: '48d81bc181ed4c5401e31b825b456a34ce476f82', class: "dso-responsive-message" }, h("span", { key: '1be9558ee93f669e43f538d93eca0c17e52b8f23' }, "beweeg de tabel van links naar rechts"))), !this.noModal && (h("button", { key: 'e4bb42988a77996e5497d27ffcf9566b2453c52e', type: "button", class: "dso-tertiary open-modal-button", ref: (element) => (this.buttonElement = element), onClick: () => this.openModal() }, h("span", { key: 'f097bc0aa7a6f915ab014e231a70b72628b68dba', class: "sr-only" }, "tabel ", caption !== null && caption !== void 0 ? caption : "", " "), h("span", { key: '7e3e59f79db68d7580a1914acabd632f13674e94' }, "vergroten"), h("dso-icon", { key: '9fd46d9a187178a22850428353c049647f9d5efb', icon: "external-link" }))))), this.modalActive && (h("div", { key: '8611aa82f23537b9124721a8aae0b8f6306cf020', class: "dso-header" }, h("h2", { key: '9d3d1c3e71ef886af0c497ce915e0e90834b0233', id: this.labelledbyId, class: { "sr-only": !caption } }, caption || "Uitvergrote tabel dialoog"), h("button", { key: '65079ed9d1285c0edf9c2c02c672d0730db7ad99', type: "button", class: "dso-close", onClick: () => this.closeModal() }, h("dso-icon", { key: 'c37f9e87a4e81750b8374135545c5ca162bfbafd', icon: "times" }), h("span", { key: 'd1000458d15eadfc4dcb9a47045966f0d5a31b0b', class: "sr-only" }, "Sluiten")))), h("div", { key: 'ec46a114de1d6f4b20536de22c892f3d6140631a', class: { "dso-body": this.modalActive, "dso-table-body": true } }, h("slot", { key: '4b1aa7f1b106c4af05fe747484199bd5fe6a25ce' }))))));
38
+ return (h(Host, { key: '4a3e31c590ead4a74f0550073b1bbc148ae70f78' }, this.modalActive && this.placeholderHeight && (h("div", { key: '7620ca23d4f808ef8bec14678eedd55f97c3ae29', class: "dso-table-placeholder", style: { height: `${this.placeholderHeight}px` } })), this.modalActive && h("div", { key: '4eb447ab8afc2630f0e30be8311bd1105a85b83c', class: "dso-modal-overlay" }), h("div", { key: 'c1b585dde75ddc92c8922b049628dbcd8a100d34', class: { "dso-modal": this.modalActive } }, h("div", Object.assign({ key: '88ad8719f80c3c4f65ab7e6879e4abad690298cb', class: { "dso-dialog": this.modalActive, "dso-table-dialog": true }, ref: (element) => (this.focusTrapElement = element) }, (this.modalActive ? { ["aria-labelledby"]: this.labelledbyId, role: "dialog" } : {})), (this.isResponsive || !this.noModal) && (h("div", { key: '9613603a64d41db5ee116369202d4ba515b73d8f', class: "dso-table-utilities", style: this.modalActive ? { display: "none" } : undefined }, this.isResponsive && (h("div", { key: '46257884cb6e02250b1afd4b26a3a0578cd48877', class: "dso-responsive-message" }, h("span", { key: '7a3c406ad5ec4f94f4d073ff9a53edb18c02f542' }, "beweeg de tabel van links naar rechts"))), !this.noModal && (h("button", { key: 'c336fe4775b023a440177806fa54e5625f529908', type: "button", class: "dso-tertiary open-modal-button", ref: (element) => (this.buttonElement = element), onClick: () => this.openModal() }, h("span", { key: 'c8bf55ed14ce3118a6a241b5720d6f0324b7cedd', class: "sr-only" }, "tabel ", caption !== null && caption !== void 0 ? caption : "", " "), h("span", { key: 'f4e0d52eb32d641dd3f90c29d6d0f67249e1c1bc' }, "vergroten"), h("dso-icon", { key: '22f45a465920a501450cb3f379fc01172bbf75f7', icon: "external-link" }))))), this.modalActive && (h("div", { key: '4fc87b95fe133e9719f9b79e0c8da9dd90ca5107', class: "dso-header" }, h("h2", { key: '005ce442e38893e10598314a207df249e65c98c2', id: this.labelledbyId, class: { "sr-only": !caption } }, caption || "Uitvergrote tabel dialoog"), h("button", { key: 'd85326b032ac6a859f94b35ad05281c6b0dbdd2e', type: "button", class: "dso-close", onClick: () => this.closeModal() }, h("dso-icon", { key: 'e31275c0fb68c4ba60cada741193ed992b31b8e4', icon: "times" }), h("span", { key: '96ba7a49baaa9d88963c92e7265bc3d4f2d5236f', class: "sr-only" }, "Sluiten")))), h("div", { key: '2c6aac7907786c603247f02b71df2ef85e63d2c6', class: { "dso-body": this.modalActive, "dso-table-body": true } }, h("slot", { key: '11c944f3e16fc5481f0e29c68d0316df41bcd038' }))))));
39
39
  }
40
40
  openModal() {
41
41
  this.placeholderHeight = this.host.clientHeight;
@@ -64,7 +64,7 @@ export class Tabs {
64
64
  (_a = this.mutationObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
65
65
  }
66
66
  render() {
67
- 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" }))));
67
+ 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" }))));
68
68
  }
69
69
  static get is() { return "dso-tabs"; }
70
70
  static get encapsulation() { return "shadow"; }
@@ -44,7 +44,7 @@ export class Toggletip {
44
44
  };
45
45
  }
46
46
  render() {
47
- return (h(Fragment, null, h("dso-info-button", { key: 'b9f976371e5462835f246b59be2603e15e4aaffe', "aria-describedby": "toggle", onClick: this.click, label: this.label, active: this.active, secondary: this.secondary, ref: (element) => (this.infoButton = element) }), h("dso-tooltip", { key: '238ae287cec697f812f75e94a0b4bc33d210d35e', stateless: true, descriptive: true, id: "toggle", strategy: "absolute", active: this.active, position: this.position, small: this.small }, h("slot", { key: '28efbfb2a2872551777ba04c2354d51a59e37612' }))));
47
+ return (h(Fragment, null, h("dso-info-button", { key: 'c6b7ee824a9ad3417f394467177fa3b07a59a710', "aria-describedby": "toggle", onClick: this.click, label: this.label, active: this.active, secondary: this.secondary, ref: (element) => (this.infoButton = element) }), h("dso-tooltip", { key: 'a82167f713fc51dbafcad6758527ce7c36e28552', stateless: true, descriptive: true, id: "toggle", strategy: "absolute", active: this.active, position: this.position, small: this.small }, h("slot", { key: '5f4548c244f97b6278b7642bb927d3133dab872c' }))));
48
48
  }
49
49
  static get is() { return "dso-toggletip"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -189,7 +189,7 @@ export class Tooltip {
189
189
  }
190
190
  }
191
191
  render() {
192
- return (h(Host, { key: '7f2ebd625883a8e59230ec8a602f1c44c916937a', class: { hidden: this.hidden }, role: "tooltip", onClick: this.listenClick }, h("div", { key: '6bab482a2379cb4608a13bea079dd0b09f7b62f2', class: clsx("tooltip", { in: this.active }) }, !this.noArrow && h("div", { key: 'dde1f4e1862728b33a18ca6cb711b6443e7b284b', "data-popper-arrow": true, class: "tooltip-arrow" }), h("div", { key: 'd100e8d4bd426a7af6f32151aa0f5a96d3dda00e', "aria-hidden": !this.descriptive || undefined, class: clsx("tooltip-inner", { "dso-small": this.small }) }, h("slot", { key: '3b1e4e2cd77dc05caf6898d67a3065815a11a667' })))));
192
+ return (h(Host, { key: '0dae667b622fac9d6e45eead0e5ffd0b3c4fc64a', class: { hidden: this.hidden }, role: "tooltip", onClick: this.listenClick }, h("div", { key: '8b80667d0734bfd9ea91f698ddf31493f7c27e49', class: clsx("tooltip", { in: this.active }) }, !this.noArrow && h("div", { key: '7124f75b7ba640b0a5e63a15917eddf0ade65853', "data-popper-arrow": true, class: "tooltip-arrow" }), h("div", { key: '962322da0404132b4b4ef4046ca70b1b25d11f1f', "aria-hidden": !this.descriptive || undefined, class: clsx("tooltip-inner", { "dso-small": this.small }) }, h("slot", { key: '1fec252ad2f238dc8b8969bc4aa2d237b5aae943' })))));
193
193
  }
194
194
  activatePopper() {
195
195
  var _a;
@@ -174,7 +174,7 @@ export class TreeView {
174
174
  }
175
175
  render() {
176
176
  var _a;
177
- 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 }))))));
177
+ 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 }))))));
178
178
  }
179
179
  static get is() { return "dso-tree-view"; }
180
180
  static get encapsulation() { return "shadow"; }
@@ -193,8 +193,8 @@ export class ViewerGrid {
193
193
  }
194
194
  render() {
195
195
  const tabLabels = this.mode === "vdk" ? viewerGridVdkTabs : viewerGridVrkTabs;
196
- 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 ||
197
- (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 }) })));
196
+ 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 ||
197
+ (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 }) })));
198
198
  }
199
199
  static get is() { return "dso-viewer-grid"; }
200
200
  static get encapsulation() { return "shadow"; }