@dso-toolkit/core 45.2.0 → 47.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/dist/cjs/clsx.m-b81c6b86.js +5 -0
  2. package/dist/cjs/{create-identifier-fa070b11.js → create-identifier-6ee2a08b.js} +1 -3
  3. package/dist/cjs/dso-accordion-section.cjs.entry.js +38 -33
  4. package/dist/cjs/dso-accordion.cjs.entry.js +17 -19
  5. package/dist/cjs/dso-alert.cjs.entry.js +11 -9
  6. package/dist/cjs/dso-attachments-counter.cjs.entry.js +4 -3
  7. package/dist/cjs/dso-autosuggest.cjs.entry.js +36 -61
  8. package/dist/cjs/dso-badge.cjs.entry.js +5 -4
  9. package/dist/cjs/dso-banner.cjs.entry.js +5 -4
  10. package/dist/cjs/dso-card-container.cjs.entry.js +20 -0
  11. package/dist/cjs/dso-card.cjs.entry.js +49 -0
  12. package/dist/cjs/dso-date-picker.cjs.entry.js +88 -128
  13. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +9 -21
  14. package/dist/cjs/dso-header.cjs.entry.js +26 -31
  15. package/dist/cjs/dso-helpcenter-panel.cjs.entry.js +22 -21
  16. package/dist/cjs/dso-highlight-box.cjs.entry.js +16 -11
  17. package/dist/cjs/dso-icon.cjs.entry.js +461 -402
  18. package/dist/cjs/dso-image-overlay.cjs.entry.js +13 -13
  19. package/dist/cjs/dso-info-button.cjs.entry.js +7 -5
  20. package/dist/cjs/dso-info_2.cjs.entry.js +22 -9
  21. package/dist/cjs/dso-label.cjs.entry.js +30 -18
  22. package/dist/cjs/dso-map-base-layers.cjs.entry.js +7 -8
  23. package/dist/cjs/dso-map-controls.cjs.entry.js +10 -8
  24. package/dist/cjs/dso-map-overlays.cjs.entry.js +7 -8
  25. package/dist/cjs/dso-modal.cjs.entry.js +63 -0
  26. package/dist/cjs/dso-ozon-content.cjs.entry.js +114 -150
  27. package/dist/cjs/dso-pagination.cjs.entry.js +24 -29
  28. package/dist/cjs/dso-progress-bar.cjs.entry.js +3 -2
  29. package/dist/cjs/dso-progress-indicator.cjs.entry.js +11 -8
  30. package/dist/cjs/dso-responsive-element.cjs.entry.js +13 -10
  31. package/dist/cjs/dso-table.cjs.entry.js +17 -17
  32. package/dist/cjs/dso-toggletip.cjs.entry.js +9 -7
  33. package/dist/cjs/dso-toolkit.cjs.js +3 -3
  34. package/dist/cjs/dso-tooltip.cjs.entry.js +103 -104
  35. package/dist/cjs/dso-tree-view.cjs.entry.js +39 -44
  36. package/dist/cjs/dso-viewer-grid.cjs.entry.js +31 -32
  37. package/dist/cjs/{focus-trap.esm-e2addb10.js → focus-trap.esm-d83fd673.js} +1 -1
  38. package/dist/cjs/{index-4066351a.js → index-ecec64a0.js} +486 -500
  39. package/dist/cjs/{index.esm-50325ea2.js → index.esm-03a9e0b4.js} +50 -112
  40. package/dist/cjs/is-modified-event-dcab03a0.js +6 -0
  41. package/dist/cjs/loader.cjs.js +3 -3
  42. package/dist/cjs/v4-abb5dc0c.js +68 -0
  43. package/dist/collection/collection-manifest.json +5 -2
  44. package/dist/collection/components/accordion/accordion.js +183 -174
  45. package/dist/collection/components/accordion/components/accordion-section.css +28 -19
  46. package/dist/collection/components/accordion/components/accordion-section.js +212 -211
  47. package/dist/collection/components/alert/alert.css +1 -1
  48. package/dist/collection/components/alert/alert.js +58 -53
  49. package/dist/collection/components/attachments-counter/attachments-counter.js +36 -33
  50. package/dist/collection/components/autosuggest/autosuggest.js +223 -240
  51. package/dist/collection/components/badge/badge.js +37 -29
  52. package/dist/collection/components/banner/banner.js +37 -29
  53. package/dist/collection/components/card/card.css +27 -0
  54. package/dist/collection/components/card/card.interfaces.js +1 -0
  55. package/dist/collection/components/card/card.js +112 -0
  56. package/dist/collection/components/card-container/card-container.css +12 -0
  57. package/dist/collection/components/card-container/card-container.interfaces.js +1 -0
  58. package/dist/collection/components/card-container/card-container.js +48 -0
  59. package/dist/collection/components/date-picker/date-localization.js +24 -45
  60. package/dist/collection/components/date-picker/date-picker-day.js +3 -5
  61. package/dist/collection/components/date-picker/date-picker-month.js +2 -10
  62. package/dist/collection/components/date-picker/date-picker.js +386 -436
  63. package/dist/collection/components/date-picker/date-utils.js +15 -15
  64. package/dist/collection/components/dropdown-menu/dropdown-menu.js +73 -82
  65. package/dist/collection/components/header/header.css +4 -33
  66. package/dist/collection/components/header/header.js +212 -247
  67. package/dist/collection/components/helpcenter-panel/helpcenter-panel.js +94 -90
  68. package/dist/collection/components/highlight-box/highlight-box.js +112 -101
  69. package/dist/collection/components/icon/icon.js +226 -209
  70. package/dist/collection/components/image-overlay/image-overlay.js +38 -44
  71. package/dist/collection/components/info/info.js +73 -65
  72. package/dist/collection/components/info-button/info-button.js +113 -102
  73. package/dist/collection/components/label/label.js +151 -140
  74. package/dist/collection/components/map-base-layers/map-base-layers.js +75 -74
  75. package/dist/collection/components/map-controls/map-controls.js +115 -116
  76. package/dist/collection/components/map-overlays/map-overlays.js +75 -74
  77. package/dist/collection/components/modal/modal.css +155 -0
  78. package/dist/collection/components/modal/modal.js +152 -0
  79. package/dist/collection/components/ozon-content/get-node-name.function.js +2 -2
  80. package/dist/collection/components/ozon-content/nodes/al.node.js +6 -8
  81. package/dist/collection/components/ozon-content/nodes/document.node.js +2 -2
  82. package/dist/collection/components/ozon-content/nodes/ext-ref.node.js +4 -9
  83. package/dist/collection/components/ozon-content/nodes/fallback.node.js +4 -4
  84. package/dist/collection/components/ozon-content/nodes/figuur.node.js +20 -32
  85. package/dist/collection/components/ozon-content/nodes/inhoud.node.js +2 -6
  86. package/dist/collection/components/ozon-content/nodes/inline-tekst-afbeelding.node.js +3 -6
  87. package/dist/collection/components/ozon-content/nodes/inline.nodes.js +3 -11
  88. package/dist/collection/components/ozon-content/nodes/int-io-ref.node.js +4 -4
  89. package/dist/collection/components/ozon-content/nodes/int-ref.node.js +4 -4
  90. package/dist/collection/components/ozon-content/nodes/lijst.node.js +12 -17
  91. package/dist/collection/components/ozon-content/nodes/noot.node.js +9 -13
  92. package/dist/collection/components/ozon-content/nodes/opschrift.node.js +2 -2
  93. package/dist/collection/components/ozon-content/nodes/table.node/colspec/colspec-mapper.js +11 -11
  94. package/dist/collection/components/ozon-content/nodes/table.node/colspec/colspec.interface.js +0 -1
  95. package/dist/collection/components/ozon-content/nodes/table.node/index.js +1 -1
  96. package/dist/collection/components/ozon-content/nodes/table.node/table-cell.js +8 -8
  97. package/dist/collection/components/ozon-content/nodes/table.node/table-colgroup.js +2 -4
  98. package/dist/collection/components/ozon-content/nodes/table.node/table-rows.js +3 -3
  99. package/dist/collection/components/ozon-content/nodes/table.node/table.node.js +13 -20
  100. package/dist/collection/components/ozon-content/nodes/text.node.js +2 -2
  101. package/dist/collection/components/ozon-content/ozon-content-mapper.js +27 -25
  102. package/dist/collection/components/ozon-content/ozon-content.interfaces.js +0 -1
  103. package/dist/collection/components/ozon-content/ozon-content.js +138 -151
  104. package/dist/collection/components/pagination/pagination.js +120 -126
  105. package/dist/collection/components/progress-bar/progress-bar.js +68 -65
  106. package/dist/collection/components/progress-indicator/progress-indicator.js +76 -70
  107. package/dist/collection/components/responsive-element/responsive-element.js +70 -58
  108. package/dist/collection/components/selectable/selectable.js +260 -243
  109. package/dist/collection/components/table/table.css +48 -61
  110. package/dist/collection/components/table/table.js +70 -81
  111. package/dist/collection/components/toggletip/toggletip.js +94 -87
  112. package/dist/collection/components/tooltip/tooltip.js +252 -254
  113. package/dist/collection/components/tree-view/tree-item.js +5 -19
  114. package/dist/collection/components/tree-view/tree-view.js +151 -139
  115. package/dist/collection/components/viewer-grid/viewer-grid-filterpanel-buttons.js +2 -7
  116. package/dist/collection/components/viewer-grid/viewer-grid.css +4 -4
  117. package/dist/collection/components/viewer-grid/viewer-grid.js +181 -198
  118. package/dist/collection/index.js +2 -2
  119. package/dist/collection/utils/create-identifier.js +1 -3
  120. package/dist/collection/utils/is-modified-event.js +2 -0
  121. package/dist/custom-elements/index.d.ts +18 -0
  122. package/dist/custom-elements/index.js +1330 -1343
  123. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  124. package/dist/dso-toolkit/p-0917f18a.entry.js +1 -0
  125. package/dist/dso-toolkit/p-0c8cd0d8.entry.js +1 -0
  126. package/dist/dso-toolkit/p-19323600.entry.js +1 -0
  127. package/dist/dso-toolkit/p-203fc66c.entry.js +1 -0
  128. package/dist/dso-toolkit/p-2b83a825.entry.js +1 -0
  129. package/dist/dso-toolkit/p-2fa96ac0.entry.js +1 -0
  130. package/dist/dso-toolkit/p-33df9903.js +1 -0
  131. package/dist/dso-toolkit/p-3635427a.js +5 -0
  132. package/dist/dso-toolkit/p-39a33b89.entry.js +1 -0
  133. package/dist/dso-toolkit/p-3ab4441a.entry.js +1 -0
  134. package/dist/dso-toolkit/p-427f6d90.entry.js +1 -0
  135. package/dist/dso-toolkit/p-44c0bb3e.entry.js +1 -0
  136. package/dist/dso-toolkit/p-46acc09f.entry.js +1 -0
  137. package/dist/dso-toolkit/p-5d7f4ff2.js +1 -0
  138. package/dist/dso-toolkit/{p-4070c1e5.js → p-6a1980b4.js} +0 -0
  139. package/dist/dso-toolkit/{p-7b37bd52.js → p-6c543986.js} +0 -0
  140. package/dist/dso-toolkit/p-746dc38a.entry.js +1 -0
  141. package/dist/dso-toolkit/p-76a1428a.entry.js +1 -0
  142. package/dist/dso-toolkit/p-78ee23c5.entry.js +1 -0
  143. package/dist/dso-toolkit/p-800e1267.entry.js +1 -0
  144. package/dist/dso-toolkit/{p-22c35db5.js → p-89d262b7.js} +2 -2
  145. package/dist/dso-toolkit/p-8aa39e7f.entry.js +1 -0
  146. package/dist/dso-toolkit/p-8f35c8f8.js +2 -0
  147. package/dist/dso-toolkit/p-9aa3fa9d.entry.js +1 -0
  148. package/dist/dso-toolkit/p-a4086aa3.entry.js +1 -0
  149. package/dist/dso-toolkit/p-a608d3bd.entry.js +1 -0
  150. package/dist/dso-toolkit/p-a9baa631.entry.js +1 -0
  151. package/dist/dso-toolkit/p-ba253bcd.entry.js +1 -0
  152. package/dist/dso-toolkit/p-c7ec6e6e.entry.js +1 -0
  153. package/dist/dso-toolkit/p-c846d208.entry.js +1 -0
  154. package/dist/dso-toolkit/p-c96acfeb.entry.js +1 -0
  155. package/dist/dso-toolkit/p-c9ad94a6.entry.js +1 -0
  156. package/dist/dso-toolkit/p-daba2d98.entry.js +1 -0
  157. package/dist/dso-toolkit/p-dcc74039.entry.js +1 -0
  158. package/dist/dso-toolkit/p-e0a37d82.entry.js +1 -0
  159. package/dist/dso-toolkit/p-e43e39cf.entry.js +1 -0
  160. package/dist/dso-toolkit/p-e8b22546.entry.js +1 -0
  161. package/dist/dso-toolkit/p-ec25868b.entry.js +1 -0
  162. package/dist/dso-toolkit/p-f93b7c7a.entry.js +1 -0
  163. package/dist/dso-toolkit/p-ff72ee4c.entry.js +1 -0
  164. package/dist/esm/clsx.m-25174a58.js +3 -0
  165. package/dist/esm/{create-identifier-22acd3a3.js → create-identifier-51ee50c4.js} +1 -3
  166. package/dist/esm/dso-accordion-section.entry.js +38 -33
  167. package/dist/esm/dso-accordion.entry.js +17 -19
  168. package/dist/esm/dso-alert.entry.js +11 -9
  169. package/dist/esm/dso-attachments-counter.entry.js +4 -3
  170. package/dist/esm/dso-autosuggest.entry.js +36 -61
  171. package/dist/esm/dso-badge.entry.js +5 -4
  172. package/dist/esm/dso-banner.entry.js +5 -4
  173. package/dist/esm/dso-card-container.entry.js +16 -0
  174. package/dist/esm/dso-card.entry.js +45 -0
  175. package/dist/esm/dso-date-picker.entry.js +88 -128
  176. package/dist/esm/dso-dropdown-menu.entry.js +9 -21
  177. package/dist/esm/dso-header.entry.js +26 -31
  178. package/dist/esm/dso-helpcenter-panel.entry.js +22 -21
  179. package/dist/esm/dso-highlight-box.entry.js +16 -11
  180. package/dist/esm/dso-icon.entry.js +461 -402
  181. package/dist/esm/dso-image-overlay.entry.js +13 -13
  182. package/dist/esm/dso-info-button.entry.js +7 -5
  183. package/dist/esm/dso-info_2.entry.js +22 -9
  184. package/dist/esm/dso-label.entry.js +30 -18
  185. package/dist/esm/dso-map-base-layers.entry.js +7 -8
  186. package/dist/esm/dso-map-controls.entry.js +10 -8
  187. package/dist/esm/dso-map-overlays.entry.js +7 -8
  188. package/dist/esm/dso-modal.entry.js +59 -0
  189. package/dist/esm/dso-ozon-content.entry.js +114 -150
  190. package/dist/esm/dso-pagination.entry.js +24 -29
  191. package/dist/esm/dso-progress-bar.entry.js +3 -2
  192. package/dist/esm/dso-progress-indicator.entry.js +11 -8
  193. package/dist/esm/dso-responsive-element.entry.js +13 -10
  194. package/dist/esm/dso-table.entry.js +17 -17
  195. package/dist/esm/dso-toggletip.entry.js +9 -7
  196. package/dist/esm/dso-toolkit.js +3 -3
  197. package/dist/esm/dso-tooltip.entry.js +103 -104
  198. package/dist/esm/dso-tree-view.entry.js +39 -44
  199. package/dist/esm/dso-viewer-grid.entry.js +31 -32
  200. package/dist/esm/{focus-trap.esm-e3b5bde3.js → focus-trap.esm-33203b60.js} +1 -1
  201. package/dist/esm/{index-771c1291.js → index-1a4dda48.js} +486 -500
  202. package/dist/esm/{index.esm-4510c39e.js → index.esm-8fc07ad8.js} +50 -112
  203. package/dist/esm/is-modified-event-34370220.js +4 -0
  204. package/dist/esm/loader.js +3 -3
  205. package/dist/esm/polyfills/css-shim.js +1 -1
  206. package/dist/esm/v4-d398bde5.js +66 -0
  207. package/dist/types/components/accordion/accordion.d.ts +2 -2
  208. package/dist/types/components/accordion/accordion.interfaces.d.ts +3 -3
  209. package/dist/types/components/accordion/components/accordion-section.d.ts +2 -2
  210. package/dist/types/components/alert/alert.d.ts +1 -1
  211. package/dist/types/components/autosuggest/autosuggest.d.ts +3 -3
  212. package/dist/types/components/badge/badge.d.ts +1 -1
  213. package/dist/types/components/banner/banner.d.ts +1 -1
  214. package/dist/types/components/card/card.d.ts +11 -0
  215. package/dist/types/components/card/card.interfaces.d.ts +5 -0
  216. package/dist/types/components/card-container/card-container.d.ts +6 -0
  217. package/dist/types/components/card-container/card-container.interfaces.d.ts +1 -0
  218. package/dist/types/components/date-picker/date-picker.d.ts +1 -1
  219. package/dist/types/components/header/header.d.ts +2 -2
  220. package/dist/types/components/header/header.interfaces.d.ts +1 -1
  221. package/dist/types/components/helpcenter-panel/helpcenter-panel.d.ts +1 -1
  222. package/dist/types/components/image-overlay/image-overlay.d.ts +1 -1
  223. package/dist/types/components/info/info.d.ts +1 -1
  224. package/dist/types/components/info-button/info-button.d.ts +1 -1
  225. package/dist/types/components/label/label.d.ts +2 -2
  226. package/dist/types/components/map-base-layers/map-base-layers.d.ts +2 -2
  227. package/dist/types/components/map-controls/map-controls.d.ts +2 -2
  228. package/dist/types/components/map-overlays/map-overlays.d.ts +3 -3
  229. package/dist/types/components/modal/modal.d.ts +24 -0
  230. package/dist/types/components/ozon-content/nodes/al.node.d.ts +2 -2
  231. package/dist/types/components/ozon-content/nodes/document.node.d.ts +2 -2
  232. package/dist/types/components/ozon-content/nodes/ext-ref.node.d.ts +2 -2
  233. package/dist/types/components/ozon-content/nodes/fallback.node.d.ts +2 -2
  234. package/dist/types/components/ozon-content/nodes/figuur.node.d.ts +2 -2
  235. package/dist/types/components/ozon-content/nodes/inhoud.node.d.ts +2 -2
  236. package/dist/types/components/ozon-content/nodes/inline-tekst-afbeelding.node.d.ts +1 -1
  237. package/dist/types/components/ozon-content/nodes/inline.nodes.d.ts +2 -2
  238. package/dist/types/components/ozon-content/nodes/int-io-ref.node.d.ts +2 -2
  239. package/dist/types/components/ozon-content/nodes/int-ref.node.d.ts +2 -2
  240. package/dist/types/components/ozon-content/nodes/lijst.node.d.ts +2 -2
  241. package/dist/types/components/ozon-content/nodes/noot.node.d.ts +2 -2
  242. package/dist/types/components/ozon-content/nodes/opschrift.node.d.ts +2 -2
  243. package/dist/types/components/ozon-content/nodes/table.node/colspec/colspec-mapper.d.ts +1 -1
  244. package/dist/types/components/ozon-content/nodes/table.node/index.d.ts +1 -1
  245. package/dist/types/components/ozon-content/nodes/table.node/table-cell.d.ts +3 -3
  246. package/dist/types/components/ozon-content/nodes/table.node/table-colgroup.d.ts +2 -2
  247. package/dist/types/components/ozon-content/nodes/table.node/table-rows.d.ts +3 -3
  248. package/dist/types/components/ozon-content/nodes/table.node/table.node.d.ts +2 -2
  249. package/dist/types/components/ozon-content/nodes/text.node.d.ts +1 -1
  250. package/dist/types/components/ozon-content/ozon-content-context.interface.d.ts +4 -4
  251. package/dist/types/components/ozon-content/ozon-content-mapper.d.ts +2 -1
  252. package/dist/types/components/ozon-content/ozon-content-node-context.interface.d.ts +2 -1
  253. package/dist/types/components/ozon-content/ozon-content-node.interface.d.ts +2 -1
  254. package/dist/types/components/ozon-content/ozon-content.d.ts +5 -4
  255. package/dist/types/components/pagination/pagination.d.ts +3 -3
  256. package/dist/types/components/progress-indicator/progress-indicator.d.ts +1 -1
  257. package/dist/types/components/responsive-element/responsive-element.d.ts +2 -2
  258. package/dist/types/components/responsive-element/responsive-element.interfaces.d.ts +1 -1
  259. package/dist/types/components/selectable/selectable.d.ts +2 -2
  260. package/dist/types/components/table/table.d.ts +2 -2
  261. package/dist/types/components/tooltip/tooltip.d.ts +2 -2
  262. package/dist/types/components/tree-view/tree-item.d.ts +3 -3
  263. package/dist/types/components/tree-view/tree-view.d.ts +5 -5
  264. package/dist/types/components/viewer-grid/viewer-grid-filterpanel-buttons.d.ts +1 -1
  265. package/dist/types/components/viewer-grid/viewer-grid.d.ts +2 -1
  266. package/dist/types/components.d.ts +199 -58
  267. package/dist/types/globals.d.ts +16 -16
  268. package/dist/types/index.d.ts +3 -3
  269. package/dist/types/stencil-public-runtime.d.ts +26 -8
  270. package/dist/types/utils/is-modified-event.d.ts +2 -0
  271. package/loader/package.json +1 -0
  272. package/package.json +16 -17
  273. package/readme.md +3 -3
  274. package/dist/cjs/clsx.m-b00fa5e1.js +0 -44
  275. package/dist/cjs/v4-8e8d6fbc.js +0 -77
  276. package/dist/collection/components/accordion/accordion.template.js +0 -26
  277. package/dist/collection/components/alert/alert.template.js +0 -20
  278. package/dist/collection/components/attachments-counter/attachments-counter.template.js +0 -6
  279. package/dist/collection/components/autosuggest/autosuggest.template.js +0 -19
  280. package/dist/collection/components/badge/badge.template.js +0 -7
  281. package/dist/collection/components/banner/banner.template.js +0 -19
  282. package/dist/collection/components/date-picker/date-picker.template.js +0 -16
  283. package/dist/collection/components/dropdown-menu/dropdown-menu.template.js +0 -36
  284. package/dist/collection/components/header/header.template.js +0 -18
  285. package/dist/collection/components/helpcenter-panel/helpcenter-panel.template.js +0 -13
  286. package/dist/collection/components/highlight-box/highlight-box.template.js +0 -20
  287. package/dist/collection/components/icon/icon.template.js +0 -10
  288. package/dist/collection/components/image-overlay/image-overlay.template.js +0 -15
  289. package/dist/collection/components/info/info.template.js +0 -12
  290. package/dist/collection/components/info-button/info-button.template.js +0 -11
  291. package/dist/collection/components/label/label.template.js +0 -23
  292. package/dist/collection/components/map-controls/map-controls.template.js +0 -23
  293. package/dist/collection/components/ozon-content/ozon-content.template.js +0 -14
  294. package/dist/collection/components/pagination/pagination.template.js +0 -11
  295. package/dist/collection/components/progress-bar/progress-bar.template.js +0 -11
  296. package/dist/collection/components/progress-indicator/progress-indicator.template.js +0 -11
  297. package/dist/collection/components/responsive-element/responsive-element.template.js +0 -10
  298. package/dist/collection/components/selectable/selectable.template.js +0 -24
  299. package/dist/collection/components/table/table.template.js +0 -26
  300. package/dist/collection/components/toggletip/toggletip.template.js +0 -12
  301. package/dist/collection/components/tooltip/tooltip.template.js +0 -7
  302. package/dist/collection/components/tree-view/tree-view.template.js +0 -11
  303. package/dist/collection/components/viewer-grid/viewer-grid.template.js +0 -20
  304. package/dist/dso-toolkit/p-02b2e01c.entry.js +0 -1
  305. package/dist/dso-toolkit/p-05a9e206.entry.js +0 -1
  306. package/dist/dso-toolkit/p-19b890a3.js +0 -1
  307. package/dist/dso-toolkit/p-1a19ce42.entry.js +0 -1
  308. package/dist/dso-toolkit/p-2e74485e.entry.js +0 -1
  309. package/dist/dso-toolkit/p-2f6b1092.entry.js +0 -1
  310. package/dist/dso-toolkit/p-3381c859.entry.js +0 -1
  311. package/dist/dso-toolkit/p-37a34037.entry.js +0 -1
  312. package/dist/dso-toolkit/p-383227b9.entry.js +0 -1
  313. package/dist/dso-toolkit/p-42450cfe.js +0 -1
  314. package/dist/dso-toolkit/p-4c44d27c.entry.js +0 -1
  315. package/dist/dso-toolkit/p-4fd140e9.entry.js +0 -1
  316. package/dist/dso-toolkit/p-53c7bf4f.entry.js +0 -1
  317. package/dist/dso-toolkit/p-662b7663.entry.js +0 -1
  318. package/dist/dso-toolkit/p-67b11174.entry.js +0 -1
  319. package/dist/dso-toolkit/p-6a414479.entry.js +0 -1
  320. package/dist/dso-toolkit/p-6cac0292.entry.js +0 -1
  321. package/dist/dso-toolkit/p-7213783b.entry.js +0 -1
  322. package/dist/dso-toolkit/p-83de460b.entry.js +0 -1
  323. package/dist/dso-toolkit/p-9aaadf4f.entry.js +0 -1
  324. package/dist/dso-toolkit/p-a5a5b24b.entry.js +0 -1
  325. package/dist/dso-toolkit/p-a9b0a83e.entry.js +0 -1
  326. package/dist/dso-toolkit/p-ac0c0eee.entry.js +0 -1
  327. package/dist/dso-toolkit/p-b6afe104.entry.js +0 -1
  328. package/dist/dso-toolkit/p-b9531adb.entry.js +0 -1
  329. package/dist/dso-toolkit/p-d2255268.entry.js +0 -1
  330. package/dist/dso-toolkit/p-de50f5f1.entry.js +0 -1
  331. package/dist/dso-toolkit/p-e16b5d71.entry.js +0 -1
  332. package/dist/dso-toolkit/p-ea1d4c81.entry.js +0 -1
  333. package/dist/dso-toolkit/p-eb326df8.entry.js +0 -1
  334. package/dist/dso-toolkit/p-ec3b8800.entry.js +0 -1
  335. package/dist/dso-toolkit/p-f1b5baf9.entry.js +0 -1
  336. package/dist/dso-toolkit/p-f8b023c4.js +0 -5
  337. package/dist/esm/clsx.m-071989db.js +0 -42
  338. package/dist/esm/v4-fa4bb814.js +0 -75
  339. package/dist/types/components/accordion/accordion.template.d.ts +0 -2
  340. package/dist/types/components/alert/alert.template.d.ts +0 -3
  341. package/dist/types/components/attachments-counter/attachments-counter.template.d.ts +0 -2
  342. package/dist/types/components/autosuggest/autosuggest.template.d.ts +0 -3
  343. package/dist/types/components/badge/badge.template.d.ts +0 -2
  344. package/dist/types/components/banner/banner.template.d.ts +0 -3
  345. package/dist/types/components/date-picker/date-picker.template.d.ts +0 -2
  346. package/dist/types/components/dropdown-menu/dropdown-menu.template.d.ts +0 -2
  347. package/dist/types/components/header/header.template.d.ts +0 -2
  348. package/dist/types/components/helpcenter-panel/helpcenter-panel.template.d.ts +0 -2
  349. package/dist/types/components/highlight-box/highlight-box.template.d.ts +0 -3
  350. package/dist/types/components/icon/icon.template.d.ts +0 -2
  351. package/dist/types/components/image-overlay/image-overlay.template.d.ts +0 -2
  352. package/dist/types/components/info/info.template.d.ts +0 -3
  353. package/dist/types/components/info-button/info-button.template.d.ts +0 -2
  354. package/dist/types/components/label/label.template.d.ts +0 -2
  355. package/dist/types/components/map-controls/map-controls.template.d.ts +0 -2
  356. package/dist/types/components/ozon-content/ozon-content.template.d.ts +0 -2
  357. package/dist/types/components/pagination/pagination.template.d.ts +0 -2
  358. package/dist/types/components/progress-bar/progress-bar.template.d.ts +0 -2
  359. package/dist/types/components/progress-indicator/progress-indicator.template.d.ts +0 -2
  360. package/dist/types/components/responsive-element/responsive-element.template.d.ts +0 -3
  361. package/dist/types/components/selectable/selectable.template.d.ts +0 -3
  362. package/dist/types/components/table/table.template.d.ts +0 -2
  363. package/dist/types/components/toggletip/toggletip.template.d.ts +0 -2
  364. package/dist/types/components/tooltip/tooltip.template.d.ts +0 -2
  365. package/dist/types/components/tree-view/tree-view.template.d.ts +0 -2
  366. package/dist/types/components/viewer-grid/viewer-grid.template.d.ts +0 -3
@@ -1,11 +1,17 @@
1
- import { r as registerInstance, f as forceUpdate, h, F as Fragment, H as Host, a as getElement } from './index-771c1291.js';
1
+ import { r as registerInstance, f as forceUpdate, h, F as Fragment, H as Host, a as getElement } from './index-1a4dda48.js';
2
2
 
3
- const accordionSectionCss = "*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}:host{display:block}:host .dso-section-handle{font-size:1em;font-weight:600;line-height:1.375em;margin:0;position:relative}:host .dso-section-handle>a:active{text-decoration:none}:host .dso-section-handle a{text-decoration:none}:host .dso-section-handle a:hover,:host .dso-section-handle a:focus{text-decoration:none}:host .dso-section-handle a:active{text-decoration:underline}:host .dso-section-handle .dso-status{font-weight:400;text-decoration:underline}:host .dso-section-handle>button,:host .dso-section-handle>a{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;font-family:Asap, sans-serif;font-size:1em;font-weight:600;line-height:1.375em;margin:0;padding:12px 16px 12px;width:100%;word-break:break-word}:host .dso-section-handle>button dso-icon,:host .dso-section-handle>a dso-icon{flex-shrink:0}:host .dso-section-handle>button>.dso-section-handle-addons:first-child,:host .dso-section-handle>button>dso-icon:first-child,:host .dso-section-handle>a>.dso-section-handle-addons:first-child,:host .dso-section-handle>a>dso-icon:first-child{margin-right:8px}:host .dso-section-handle>button>dso-icon:last-child,:host .dso-section-handle>a>dso-icon:last-child{margin-left:auto}:host .dso-section-handle>button>.dso-section-handle-addons:last-child,:host .dso-section-handle>a>.dso-section-handle-addons:last-child{margin-left:auto}:host .dso-section-handle>button>.dso-section-handle-addons:last-child dso-icon,:host .dso-section-handle>a>.dso-section-handle-addons:last-child dso-icon{margin-left:16px}:host(:not([open])) .dso-section-body{display:none}.dso-section-body{background-color:#fff;border-top:0;margin-top:-4px;padding:20px 16px 16px}:host(.dso-accordion-default) .dso-section-handle{background-color:#fff;border:1px solid #8b4a6a;border-radius:4px}:host(.dso-accordion-default) .dso-section-handle a,:host(.dso-accordion-default) .dso-section-handle button{color:#8b4a6a}:host(.dso-accordion-default) .dso-section-handle a:hover,:host(.dso-accordion-default) .dso-section-handle a:active,:host(.dso-accordion-default) .dso-section-handle a.active,:host(.dso-accordion-default) .dso-section-handle button:hover,:host(.dso-accordion-default) .dso-section-handle button:active,:host(.dso-accordion-default) .dso-section-handle button.active{color:#8b4a6a}:host(.dso-accordion-default) .dso-section-body{border:1px solid #8b4a6a;border-radius:0 0 4px 4px}:host(.dso-accordion-default[open]:not(.dso-nested-accordion))>.dso-section-handle{background-color:#8b4a6a;border-radius:4px}:host(.dso-accordion-default[open]:not(.dso-nested-accordion))>.dso-section-handle a,:host(.dso-accordion-default[open]:not(.dso-nested-accordion))>.dso-section-handle button{color:#fff}:host(.dso-accordion-default[open]:not(.dso-nested-accordion))>.dso-section-handle a dso-attachments-counter,:host(.dso-accordion-default[open]:not(.dso-nested-accordion))>.dso-section-handle button dso-attachments-counter{--dso-attachments-counter-color:#fff;--dso-icon:var(--di-paperclip-wit)}:host(.dso-accordion-default.dso-nested-accordion[open]) .dso-section-body{background-color:#d1b7c4}:host(.dso-accordion-compact) .dso-section-handle{border:1px solid transparent}:host(.dso-accordion-compact) .dso-section-handle a,:host(.dso-accordion-compact) .dso-section-handle button{color:#39870c}:host(.dso-accordion-compact) .dso-section-handle a:hover,:host(.dso-accordion-compact) .dso-section-handle a:active,:host(.dso-accordion-compact) .dso-section-handle a.active,:host(.dso-accordion-compact) .dso-section-handle button:hover,:host(.dso-accordion-compact) .dso-section-handle button:active,:host(.dso-accordion-compact) .dso-section-handle button.active{color:#39870c}:host(.dso-accordion-compact),:host(.dso-accordion-compact) .dso-section-body{border:0;border-top:1px solid #ccc}:host(.dso-accordion-compact):last-child{border-bottom:1px solid #ccc}:host(.dso-accordion-compact)+dso-accordion-section{margin-top:0}:host(.dso-accordion-compact) .dso-section-body{margin-top:0}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle{background-color:transparent}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button{color:#39870c}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a:hover,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a:active,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a.active,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button:hover,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button:active,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button.active{color:#39870c}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a dso-attachments-counter,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button dso-attachments-counter{--dso-attachments-counter-color:#666;--dso-icon:var(--di-paperclip-grijs)}:host(.dso-accordion-compact.dso-nested-accordion[open])>.dso-section-body{padding-bottom:0}:host(.dso-accordion-compact.dso-nested-accordion[open])>.dso-section-body dso-accordion-section:last-child{border-bottom:0}:host(.dso-accordion-conclusion) .dso-section-handle{background-color:#f2f2f2;border:1px solid #f2f2f2}:host(.dso-accordion-conclusion) .dso-section-handle a,:host(.dso-accordion-conclusion) .dso-section-handle button{color:#191919}:host(.dso-accordion-conclusion) .dso-section-handle a:hover,:host(.dso-accordion-conclusion) .dso-section-handle a:active,:host(.dso-accordion-conclusion) .dso-section-handle a.active,:host(.dso-accordion-conclusion) .dso-section-handle button:hover,:host(.dso-accordion-conclusion) .dso-section-handle button:active,:host(.dso-accordion-conclusion) .dso-section-handle button.active{background-color:#e5e5e5;color:#191919}:host(.dso-accordion-conclusion) .dso-section-body{border:2px solid #f2f2f2}:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle{background-color:#f2f2f2}:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle a,:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle button{color:#191919}:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle a dso-attachments-counter,:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle button dso-attachments-counter{--dso-attachments-counter-color:#666;--dso-icon:var(--di-paperclip-grijs)}:host(.dso-accordion-conclusion.dso-nested-accordion[open]){background-color:#fff;border:2px solid #f2f2f2}";
3
+ const accordionSectionCss = "*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}:host{display:block}:host .dso-section-handle{font-size:1em;font-weight:600;line-height:1.375em;margin:0;position:relative}:host .dso-section-handle>a:active{text-decoration:none}:host .dso-section-handle a{text-decoration:none}:host .dso-section-handle a:hover,:host .dso-section-handle a:focus{text-decoration:none}:host .dso-section-handle a:active{text-decoration:underline}:host .dso-section-handle .dso-status{font-weight:400;text-decoration:underline}:host .dso-section-handle>button,:host .dso-section-handle>a{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;font-family:Asap, sans-serif;font-size:1em;font-weight:600;line-height:1.375em;margin:0;padding:12px 16px 12px;text-align:start;width:100%;word-break:break-word}:host .dso-section-handle>button dso-icon,:host .dso-section-handle>a dso-icon{flex-shrink:0}:host .dso-section-handle>button>.dso-section-handle-addons:first-child,:host .dso-section-handle>button>dso-icon:first-child,:host .dso-section-handle>a>.dso-section-handle-addons:first-child,:host .dso-section-handle>a>dso-icon:first-child{margin-right:8px}:host .dso-section-handle>button>dso-icon:last-child,:host .dso-section-handle>a>dso-icon:last-child{margin-left:auto}:host .dso-section-handle>button>.dso-section-handle-addons:last-child,:host .dso-section-handle>a>.dso-section-handle-addons:last-child{margin-left:auto}:host .dso-section-handle>button>.dso-section-handle-addons:last-child dso-icon,:host .dso-section-handle>a>.dso-section-handle-addons:last-child dso-icon{margin-left:16px}:host(:not([open])) .dso-section-body{display:none}.dso-section-body{background-color:#fff;border-top:0;margin-top:-4px;padding:20px 16px 16px}:host(.dso-accordion-default) .dso-section-handle{background-color:#fff;border:1px solid #8b4a6a;border-radius:4px}:host(.dso-accordion-default) .dso-section-handle a,:host(.dso-accordion-default) .dso-section-handle button{color:#8b4a6a}:host(.dso-accordion-default) .dso-section-handle a:hover,:host(.dso-accordion-default) .dso-section-handle a:active,:host(.dso-accordion-default) .dso-section-handle a.active,:host(.dso-accordion-default) .dso-section-handle button:hover,:host(.dso-accordion-default) .dso-section-handle button:active,:host(.dso-accordion-default) .dso-section-handle button.active{color:#8b4a6a}:host(.dso-accordion-default) .dso-section-body{border:1px solid #8b4a6a;border-radius:0 0 4px 4px}:host(.dso-accordion-default[open])>.dso-section-handle{background-color:#8b4a6a;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}:host(.dso-accordion-default[open])>.dso-section-handle a,:host(.dso-accordion-default[open])>.dso-section-handle button{color:#fff}:host(.dso-accordion-default[open])>.dso-section-handle a dso-attachments-counter,:host(.dso-accordion-default[open])>.dso-section-handle button dso-attachments-counter{--dso-attachments-counter-color:#fff;--dso-icon:var(--di-paperclip-wit)}:host(.dso-accordion-default.dso-nested-accordion[open]) .dso-section-body{background-color:#e5e5e5}:host(.dso-accordion-compact) .dso-section-handle{border-bottom:1px solid transparent;border-top:1px solid #ccc}:host(.dso-accordion-compact) .dso-section-handle a,:host(.dso-accordion-compact) .dso-section-handle button{color:#39870c;padding-bottom:11px;padding-left:0;padding-top:11px}:host(.dso-accordion-compact) .dso-section-handle a:hover,:host(.dso-accordion-compact) .dso-section-handle a:active,:host(.dso-accordion-compact) .dso-section-handle a.active,:host(.dso-accordion-compact) .dso-section-handle button:hover,:host(.dso-accordion-compact) .dso-section-handle button:active,:host(.dso-accordion-compact) .dso-section-handle button.active{color:#39870c}:host(.dso-accordion-compact) .dso-section-body{padding-left:32px;padding-top:0;padding-right:0}:host(.dso-accordion-compact.dso-accordion-reverse-align) .dso-section-handle a,:host(.dso-accordion-compact.dso-accordion-reverse-align) .dso-section-handle button{padding-left:16px}:host(.dso-accordion-compact.dso-accordion-reverse-align) .dso-section-body{padding-left:16px;padding-right:0}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle{background-color:transparent}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button{color:#39870c}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a:hover,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a:active,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a.active,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button:hover,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button:active,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button.active{color:#39870c}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle a dso-attachments-counter,:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-handle button dso-attachments-counter{--dso-attachments-counter-color:#666;--dso-icon:var(--di-paperclip-grijs)}:host(.dso-accordion-compact[open]:not(.dso-nested-accordion))>.dso-section-body{border-top:0}:host(.dso-accordion-compact.dso-nested-accordion[open])>.dso-section-body{padding-bottom:0}:host(.dso-accordion-compact.dso-nested-accordion[open])>.dso-section-body dso-accordion-section:last-child{border-bottom:0}:host(.dso-accordion-conclusion) .dso-section-handle{background-color:#f2f2f2;border:1px solid #f2f2f2}:host(.dso-accordion-conclusion) .dso-section-handle a,:host(.dso-accordion-conclusion) .dso-section-handle button{color:#191919}:host(.dso-accordion-conclusion) .dso-section-handle a:hover,:host(.dso-accordion-conclusion) .dso-section-handle a:active,:host(.dso-accordion-conclusion) .dso-section-handle a.active,:host(.dso-accordion-conclusion) .dso-section-handle button:hover,:host(.dso-accordion-conclusion) .dso-section-handle button:active,:host(.dso-accordion-conclusion) .dso-section-handle button.active{background-color:#e5e5e5;color:#191919}:host(.dso-accordion-conclusion) .dso-section-body{border:2px solid #f2f2f2}:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle{background-color:#f2f2f2}:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle a,:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle button{color:#191919}:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle a dso-attachments-counter,:host(.dso-accordion-conclusion[open]:not(.dso-nested-accordion))>.dso-section-handle button dso-attachments-counter{--dso-attachments-counter-color:#666;--dso-icon:var(--di-paperclip-grijs)}:host(.dso-accordion-conclusion.dso-nested-accordion[open]){background-color:#fff}";
4
4
 
5
- let AccordionSection = class {
5
+ const AccordionSection = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
- this.heading = 'h2';
8
+ this.handleTitle = undefined;
9
+ this.heading = "h2";
10
+ this.handleUrl = undefined;
11
+ this.state = undefined;
12
+ this.attachmentCount = undefined;
13
+ this.icon = undefined;
14
+ this.status = undefined;
9
15
  this.open = false;
10
16
  this.hasNestedSection = false;
11
17
  }
@@ -13,14 +19,14 @@ let AccordionSection = class {
13
19
  const accordion = this.host.parentElement;
14
20
  if (isAccordion(accordion)) {
15
21
  this.accordion = accordion;
16
- accordion.getState().then(state => {
22
+ accordion.getState().then((state) => {
17
23
  this.accordionState = state;
18
24
  forceUpdate(this.host);
19
25
  });
20
26
  }
21
27
  }
22
28
  componentDidLoad() {
23
- this.hasNestedSection = this.host.querySelector('dso-accordion') !== null;
29
+ this.hasNestedSection = this.host.querySelector("dso-accordion") !== null;
24
30
  }
25
31
  /** Toggle this section */
26
32
  async toggleSection() {
@@ -37,40 +43,39 @@ let AccordionSection = class {
37
43
  return;
38
44
  }
39
45
  const { variant, reverseAlign } = this.accordionState;
40
- const hasAddons = this.status || this.state || this.icon || this.attachmentCount;
46
+ const hasAddons = !!this.status || !!this.state || !!this.icon || !!this.attachmentCount;
41
47
  return (h(Host, { class: {
42
- 'dso-accordion-section': true,
43
- ['dso-accordion-' + variant]: true,
44
- 'dso-nested-accordion': this.hasNestedSection,
45
- } }, h(Handle, { heading: this.heading }, h(HandleElement, { handleUrl: this.handleUrl, onClick: async (event) => await this.toggle(event), open: this.open }, reverseAlign
46
- ? (h(Fragment, null, hasAddons && (h("div", { class: "dso-section-handle-addons" }, h(HandleIcon, { icon: this.icon }))), h("span", null, this.handleTitle), h("dso-icon", { icon: this.open ? 'chevron-up' : 'chevron-down' })))
47
- : (h(Fragment, null, h("dso-icon", { icon: this.open ? 'chevron-up' : 'chevron-down' }), this.state && h("span", { class: "sr-only" }, stateMap[this.state]), h("span", null, this.handleTitle), hasAddons && (h("div", { class: "dso-section-handle-addons" }, this.status && h("span", { class: "dso-status" }, this.status), h(HandleIcon, { state: this.state, icon: this.icon, attachmentCount: this.attachmentCount }))))))), h("div", { class: "dso-section-body", style: this.open ? {} : { display: 'none' } }, h("slot", null))));
48
+ "dso-accordion-section": true,
49
+ ["dso-accordion-" + variant]: true,
50
+ "dso-nested-accordion": this.hasNestedSection,
51
+ "dso-accordion-reverse-align": this.accordionState.reverseAlign,
52
+ } }, h(Handle, { heading: this.heading }, h(HandleElement, { handleUrl: this.handleUrl, onClick: async (event) => await this.toggle(event), open: this.open }, reverseAlign ? (h(Fragment, null, hasAddons && (h("div", { class: "dso-section-handle-addons" }, h(HandleIcon, { icon: this.icon }))), h("span", null, this.handleTitle), h("dso-icon", { icon: this.open ? "chevron-up" : "chevron-down" }))) : (h(Fragment, null, h("dso-icon", { icon: this.open ? "chevron-down" : "chevron-right" }), this.state && h("span", { class: "sr-only" }, stateMap[this.state]), h("span", null, this.handleTitle), hasAddons && (h("div", { class: "dso-section-handle-addons" }, this.status && h("span", { class: "dso-status" }, this.status), h(HandleIcon, { state: this.state, icon: this.icon, attachmentCount: this.attachmentCount }))))))), h("div", { class: "dso-section-body", style: this.open ? {} : { display: "none" } }, h("slot", null))));
48
53
  }
49
54
  get host() { return getElement(this); }
50
55
  };
51
56
  function isAccordion(element) {
52
- return element instanceof HTMLElement && 'getState' in element;
57
+ return element instanceof HTMLElement && "getState" in element;
53
58
  }
54
59
  const Handle = ({ heading }, children) => {
55
60
  switch (heading) {
56
61
  default:
57
- case 'h2':
62
+ case "h2":
58
63
  return h("h2", { class: "dso-section-handle" }, children);
59
- case 'h3':
64
+ case "h3":
60
65
  return h("h3", { class: "dso-section-handle" }, children);
61
- case 'h4':
66
+ case "h4":
62
67
  return h("h4", { class: "dso-section-handle" }, children);
63
- case 'h5':
68
+ case "h5":
64
69
  return h("h5", { class: "dso-section-handle" }, children);
65
70
  }
66
71
  };
67
72
  const HandleElement = ({ handleUrl, onClick, open }, children) => {
68
73
  if (handleUrl) {
69
- return (h("a", { href: handleUrl, onClick: onClick, "aria-expanded": open ? 'true' : 'false' }, children));
74
+ return (h("a", { href: handleUrl, onClick: onClick, "aria-expanded": open ? "true" : "false" }, children));
70
75
  }
71
- return (h("button", { type: "button", onClick: onClick, "aria-expanded": open ? 'true' : 'false' }, children));
76
+ return (h("button", { type: "button", onClick: onClick, "aria-expanded": open ? "true" : "false" }, children));
72
77
  };
73
- const HandleIcon = ({ state, icon, attachmentCount }) => {
78
+ const HandleIcon = ({ state, icon, attachmentCount, }) => {
74
79
  if (state) {
75
80
  return h(HandleStateIcon, { state: state });
76
81
  }
@@ -82,23 +87,23 @@ const HandleIcon = ({ state, icon, attachmentCount }) => {
82
87
  }
83
88
  };
84
89
  const stateMap = {
85
- success: 'succes:',
86
- info: 'info:',
87
- warning: 'waarschuwing:',
88
- danger: 'fout:'
90
+ success: "succes:",
91
+ info: "info:",
92
+ warning: "waarschuwing:",
93
+ danger: "fout:",
89
94
  };
90
95
  const HandleStateIcon = ({ state }) => {
91
- if (state === 'danger') {
92
- return (h("dso-icon", { icon: "status-danger" }));
96
+ if (state === "danger") {
97
+ return h("dso-icon", { icon: "status-danger" });
93
98
  }
94
- if (state === 'success') {
95
- return (h("dso-icon", { icon: "status-success" }));
99
+ if (state === "success") {
100
+ return h("dso-icon", { icon: "status-success" });
96
101
  }
97
- if (state === 'info') {
98
- return (h("dso-icon", { icon: "status-info" }));
102
+ if (state === "info") {
103
+ return h("dso-icon", { icon: "status-info" });
99
104
  }
100
- if (state === 'warning') {
101
- return (h("dso-icon", { icon: "status-warning" }));
105
+ if (state === "warning") {
106
+ return h("dso-icon", { icon: "status-warning" });
102
107
  }
103
108
  };
104
109
  AccordionSection.style = accordionSectionCss;
@@ -1,4 +1,4 @@
1
- import { g as getRenderingRef, f as forceUpdate, r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-771c1291.js';
1
+ import { g as getRenderingRef, f as forceUpdate, r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-1a4dda48.js';
2
2
 
3
3
  const appendToMap = (map, propName, value) => {
4
4
  const items = map.get(propName);
@@ -193,33 +193,31 @@ const createStore = (defaultState, shouldUpdate) => {
193
193
 
194
194
  const accordionCss = ":host{display:block}*,*::after,*::before{box-sizing:border-box}";
195
195
 
196
- let Accordion = class {
196
+ const Accordion = class {
197
197
  constructor(hostRef) {
198
198
  registerInstance(this, hostRef);
199
199
  this.dsoToggleSection = createEvent(this, "dsoToggleSection", 7);
200
- this.variant = 'default';
201
- /** Places the chevron at the opposite side. Note: this mode does not display `state`, `attachmentCount` or `status` props on child `<dso-accordion-section>` elements */
200
+ this.variant = "default";
202
201
  this.reverseAlign = false;
203
- /** Allows multiple sections to be open at the same time. */
204
202
  this.allowMultipleOpen = false;
205
203
  const { state } = createStore({
206
- variant: this.variant || 'default',
204
+ variant: this.variant || "default",
207
205
  reverseAlign: this.reverseAlign,
208
206
  });
209
207
  this.accordionState = state;
210
208
  }
211
- updateVariant(variant = 'default') {
212
- this.accordionState.variant = variant || 'default';
209
+ updateVariant(variant = "default") {
210
+ this.accordionState.variant = variant || "default";
213
211
  }
214
212
  updateReverseAlign(reverseAlign) {
215
213
  this.accordionState.reverseAlign = reverseAlign;
216
214
  }
217
215
  watchAllowMultiple(allowMultipleOpen) {
218
216
  if (!allowMultipleOpen) {
219
- const openSections = Array.from(this.host.querySelectorAll(':scope > dso-accordion-section[open]'));
217
+ const openSections = Array.from(this.host.querySelectorAll(":scope > dso-accordion-section[open]"));
220
218
  // By removing the first section, it is kept open;
221
219
  openSections.shift();
222
- openSections.forEach(section => this.controlOpenAttribute(section, false));
220
+ openSections.forEach((section) => this.controlOpenAttribute(section, false));
223
221
  }
224
222
  }
225
223
  async getState() {
@@ -227,8 +225,8 @@ let Accordion = class {
227
225
  }
228
226
  /** Toggle a section. Pass the `<dso-accordion-section>` element or the index of the section. */
229
227
  async toggleSection(sectionElement, event) {
230
- const sections = Array.from(this.host.querySelectorAll(':scope > dso-accordion-section'));
231
- if (typeof sectionElement === 'number') {
228
+ const sections = Array.from(this.host.querySelectorAll(":scope > dso-accordion-section"));
229
+ if (typeof sectionElement === "number") {
232
230
  sectionElement = sections[sectionElement];
233
231
  }
234
232
  if (!(sectionElement instanceof HTMLElement) || !sections.includes(sectionElement)) {
@@ -251,13 +249,13 @@ let Accordion = class {
251
249
  }
252
250
  /** Closes all sections belonging to this accordion. */
253
251
  async closeOpenSections() {
254
- const sections = Array.from(this.host.querySelectorAll(':scope > dso-accordion-section'));
255
- const openSections = sections.filter(s => this.isSectionOpen(s));
256
- openSections.forEach(section => this.controlOpenAttribute(section, false));
252
+ const sections = Array.from(this.host.querySelectorAll(":scope > dso-accordion-section"));
253
+ const openSections = sections.filter((s) => this.isSectionOpen(s));
254
+ openSections.forEach((section) => this.controlOpenAttribute(section, false));
257
255
  }
258
256
  render() {
259
257
  return (h(Host, { class: {
260
- 'dso-accordion': true
258
+ "dso-accordion": true,
261
259
  } }, h("slot", null)));
262
260
  }
263
261
  emitToggleEvent(sectionElement, sections, e) {
@@ -271,14 +269,14 @@ let Accordion = class {
271
269
  });
272
270
  }
273
271
  isSectionOpen(sectionElement) {
274
- return typeof sectionElement.getAttribute('open') === 'string';
272
+ return typeof sectionElement.getAttribute("open") === "string";
275
273
  }
276
274
  controlOpenAttribute(sectionElement, setAttribute) {
277
275
  if (setAttribute) {
278
- sectionElement.setAttribute('open', '');
276
+ sectionElement.setAttribute("open", "");
279
277
  }
280
278
  else {
281
- sectionElement.removeAttribute('open');
279
+ sectionElement.removeAttribute("open");
282
280
  }
283
281
  }
284
282
  get host() { return getElement(this); }
@@ -1,25 +1,27 @@
1
- import { r as registerInstance, h } from './index-771c1291.js';
2
- import { c as clsx } from './clsx.m-071989db.js';
1
+ import { r as registerInstance, h } from './index-1a4dda48.js';
2
+ import { c as clsx } from './clsx.m-25174a58.js';
3
3
 
4
- const alertCss = ":host{display:block}:host(:not(:first-child)){margin-top:24px}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.alert{border:1px solid transparent;line-height:1.5;margin-bottom:24px;min-height:64px;position:relative}@media screen and (min-width: 481px){.alert{padding:19px 16px 19px 63px}}@media screen and (max-width: 480px){.alert{padding:63px 16px 16px}}.alert:not(:first-child){margin-top:24px}.alert.alert-success{color:#191919;background-color:#e4f1d4;border-color:#e4f1d4}.alert.alert-danger{color:#191919;background-color:#f5d8dc;border-color:#f5d8dc}.alert.alert-warning{color:#191919;background-color:#f8f6cc;border-color:#f8f6cc}.alert.alert-info{color:#191919;background-color:#e1ecf7;border-color:#e1ecf7}.alert dso-icon{left:15px;position:absolute;top:15px;height:32px;width:32px}";
4
+ const alertCss = ":host{display:block}:host(:not(:first-child)){margin-top:24px}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.alert{border:1px solid transparent;line-height:1.5;margin-bottom:24px;min-height:64px;position:relative}@media screen and (min-width: 481px){.alert{padding:19px 16px 19px 63px}}@media screen and (max-width: 480px){.alert{padding:63px 16px 16px}}.alert:not(:first-child){margin-top:24px}.alert.alert-success{color:#191919;background-color:#e4f1d4;border-color:#e4f1d4}.alert.alert-error{color:#191919;background-color:#f5d8dc;border-color:#f5d8dc}.alert.alert-warning{color:#191919;background-color:#f8f6cc;border-color:#f8f6cc}.alert.alert-info{color:#191919;background-color:#e1ecf7;border-color:#e1ecf7}.alert dso-icon{left:15px;position:absolute;top:15px;height:32px;width:32px}";
5
5
 
6
- let Alert = class {
6
+ const Alert = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
9
+ this.status = undefined;
10
+ this.roleAlert = undefined;
9
11
  }
10
12
  render() {
11
13
  const status = Alert.statusMap.get(this.status);
12
14
  if (!status) {
13
15
  throw new Error(`Invalid status ${this.status}`);
14
16
  }
15
- return (h("div", { class: clsx('alert', `alert-${this.status}`), role: this.roleAlert ? 'alert' : undefined }, h("dso-icon", { icon: 'status-' + this.status }), h("span", { class: "sr-only" }, status, ":"), h("slot", null)));
17
+ return (h("div", { class: clsx("alert", `alert-${this.status}`), role: this.roleAlert ? "alert" : undefined }, h("dso-icon", { icon: "status-" + this.status }), h("span", { class: "sr-only" }, status, ":"), h("slot", null)));
16
18
  }
17
19
  };
18
20
  Alert.statusMap = new Map([
19
- ['success', 'Gelukt'],
20
- ['info', 'Opmerking'],
21
- ['warning', 'Waarschuwing'],
22
- ['danger', 'Fout']
21
+ ["success", "Gelukt"],
22
+ ["info", "Opmerking"],
23
+ ["warning", "Waarschuwing"],
24
+ ["error", "Fout"],
23
25
  ]);
24
26
  Alert.style = alertCss;
25
27
 
@@ -1,13 +1,14 @@
1
- import { r as registerInstance, h } from './index-771c1291.js';
1
+ import { r as registerInstance, h } from './index-1a4dda48.js';
2
2
 
3
3
  const attachmentsCounterCss = ":host{display:inline-block}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.dso-attachments{color:var(--dso-attachments-counter-color, #666);display:inline-block;font-weight:400;text-decoration:none;white-space:nowrap}";
4
4
 
5
- let AttachmentsCounter = class {
5
+ const AttachmentsCounter = class {
6
6
  constructor(hostRef) {
7
7
  registerInstance(this, hostRef);
8
+ this.count = undefined;
8
9
  }
9
10
  render() {
10
- return (h("span", { class: "dso-attachments" }, this.count, " ", h("span", { class: "sr-only" }, "bijlage", this.count !== 1 ? 'n' : ''), h("dso-icon", { icon: "paperclip" })));
11
+ return (h("span", { class: "dso-attachments" }, this.count, " ", h("span", { class: "sr-only" }, "bijlage", this.count !== 1 ? "n" : ""), h("dso-icon", { icon: "paperclip" })));
11
12
  }
12
13
  };
13
14
  AttachmentsCounter.style = attachmentsCounterCss;
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment, a as getElement } from './index-771c1291.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment, a as getElement } from './index-1a4dda48.js';
2
2
  import { d as debounce_1 } from './index-f2bf58ce.js';
3
- import { v as v4 } from './v4-fa4bb814.js';
3
+ import { v as v4 } from './v4-d398bde5.js';
4
4
 
5
5
  function escapeStringRegexp(string) {
6
6
  if (typeof string !== 'string') {
@@ -16,37 +16,12 @@ function escapeStringRegexp(string) {
16
16
 
17
17
  const autosuggestCss = ".sc-dso-autosuggest-h{display:block;position:relative}ul.sc-dso-autosuggest,.autosuggest-progress-box.sc-dso-autosuggest{background-clip:padding-box;background-color:#fff;border:1px solid rgba(0, 0, 0, 0.15);border-radius:4px;box-shadow:0 6px 12px rgba(0, 0, 0, 0.175);list-style-type:none;margin-top:2px;padding:4px 0;position:absolute;left:0;right:0;top:100%;z-index:200}.autosuggest-progress-box.sc-dso-autosuggest{padding:12px 8px}ul.sc-dso-autosuggest{padding:8px 0}ul.sc-dso-autosuggest li.sc-dso-autosuggest{display:flex;justify-content:space-between;padding:4px 16px}li[aria-selected=true].sc-dso-autosuggest{cursor:pointer;background-color:#39870c}li[aria-selected=true].sc-dso-autosuggest,li[aria-selected=true].sc-dso-autosuggest .type.sc-dso-autosuggest{color:#fff}mark.sc-dso-autosuggest{font-weight:700;background-color:inherit;color:inherit;padding:0}.type.sc-dso-autosuggest{color:#666}";
18
18
 
19
- let Autosuggest = class {
19
+ const Autosuggest = class {
20
20
  constructor(hostRef) {
21
21
  registerInstance(this, hostRef);
22
22
  this.dsoSelect = createEvent(this, "dsoSelect", 7);
23
23
  this.dsoChange = createEvent(this, "dsoChange", 7);
24
24
  this.dsoSearch = createEvent(this, "dsoSearch", 7);
25
- /**
26
- * The suggestions for the value of the slotted input element. Optionally a
27
- * Suggestion can have a `type` and `item`.
28
- *
29
- * The `type` is used to style the suggestion. `item` can be use to reference
30
- * the original object that was used to create the suggestion.
31
- *
32
- * The value should be null when no suggestions have been fetched.
33
- */
34
- this.suggestions = null;
35
- /**
36
- * Shows progress indicator when fetching results.
37
- */
38
- this.loading = false;
39
- /**
40
- * To override progress indicator's default loading label.
41
- */
42
- this.loadingLabel = "Een moment geduld.";
43
- /**
44
- * Whether the previous suggestions will be presented when the input gets focus again.
45
- */
46
- this.suggestOnFocus = false;
47
- this.showSuggestions = false;
48
- this.notFound = false;
49
- this.showLoading = false;
50
25
  this.listboxId = v4();
51
26
  this.inputId = v4();
52
27
  this.labelId = v4();
@@ -59,14 +34,14 @@ let Autosuggest = class {
59
34
  this.showLoading = true;
60
35
  }
61
36
  }, this.loadingDelayed);
62
- this.inputValue = '';
37
+ this.inputValue = "";
63
38
  this.onInput = (event) => {
64
39
  if (!(event.target instanceof HTMLInputElement)) {
65
40
  throw new Error("event.target is not instanceof HTMLInputElement");
66
41
  }
67
42
  this.showLoading = !this.loadingDelayed;
68
43
  this.inputValue = event.target.value;
69
- this.debouncedEmitValue(event.target.value.match(/(\S+)/g) ? event.target.value : '');
44
+ this.debouncedEmitValue(event.target.value.match(/(\S+)/g) ? event.target.value : "");
70
45
  };
71
46
  this.onFocusIn = () => {
72
47
  if (this.suggestOnFocus) {
@@ -78,29 +53,29 @@ let Autosuggest = class {
78
53
  return;
79
54
  }
80
55
  switch (event.key) {
81
- case 'ArrowDown':
56
+ case "ArrowDown":
82
57
  if (!this.showSuggestions) {
83
- this.openSuggestions('first');
58
+ this.openSuggestions("first");
84
59
  }
85
60
  else {
86
61
  this.selectNextSuggestion();
87
62
  }
88
63
  break;
89
- case 'ArrowUp':
64
+ case "ArrowUp":
90
65
  if (!this.showSuggestions) {
91
- this.openSuggestions('last');
66
+ this.openSuggestions("last");
92
67
  }
93
68
  else {
94
69
  this.selectPreviousSuggestion();
95
70
  }
96
71
  break;
97
- case 'Tab':
72
+ case "Tab":
98
73
  this.closeSuggestions();
99
74
  return;
100
- case 'Escape':
75
+ case "Escape":
101
76
  this.closeSuggestions();
102
77
  break;
103
- case 'Enter':
78
+ case "Enter":
104
79
  this.pickSelectedValue();
105
80
  break;
106
81
  default:
@@ -108,6 +83,16 @@ let Autosuggest = class {
108
83
  }
109
84
  event.preventDefault();
110
85
  };
86
+ this.suggestions = null;
87
+ this.loading = false;
88
+ this.loadingLabel = "Een moment geduld.";
89
+ this.loadingDelayed = undefined;
90
+ this.notFoundLabel = undefined;
91
+ this.suggestOnFocus = false;
92
+ this.showSuggestions = false;
93
+ this.selectedSuggestion = undefined;
94
+ this.notFound = false;
95
+ this.showLoading = false;
111
96
  }
112
97
  suggestionsWatcher() {
113
98
  this.resetSelectedSuggestion();
@@ -123,7 +108,7 @@ let Autosuggest = class {
123
108
  this.listbox &&
124
109
  event.target instanceof Node &&
125
110
  !this.listbox.contains(event.target) &&
126
- this.input != event.target) {
111
+ this.input !== event.target) {
127
112
  this.closeSuggestions();
128
113
  }
129
114
  }
@@ -167,12 +152,12 @@ let Autosuggest = class {
167
152
  }
168
153
  markTerms(suggestionValue, terms) {
169
154
  if (!suggestionValue || !terms || terms.length === 0) {
170
- return [''];
155
+ return [""];
171
156
  }
172
- const termRegex = new RegExp(`(${escapeStringRegexp(terms[0])})`, 'gi');
157
+ const termRegex = new RegExp(`(${escapeStringRegexp(terms[0])})`, "gi");
173
158
  return suggestionValue.split(termRegex).map((valuePart) => {
174
159
  if (!valuePart) {
175
- return '';
160
+ return "";
176
161
  }
177
162
  if (termRegex.test(valuePart)) {
178
163
  return h("mark", null, valuePart);
@@ -193,7 +178,7 @@ let Autosuggest = class {
193
178
  }
194
179
  this.selectedSuggestion = this.suggestions[0];
195
180
  if (this.selectedSuggestion) {
196
- this.input.setAttribute('aria-activedescendant', this.listboxItemId(this.selectedSuggestion));
181
+ this.input.setAttribute("aria-activedescendant", this.listboxItemId(this.selectedSuggestion));
197
182
  }
198
183
  }
199
184
  selectLastSuggestion() {
@@ -202,7 +187,7 @@ let Autosuggest = class {
202
187
  }
203
188
  this.selectedSuggestion = this.suggestions[this.suggestions.length - 1];
204
189
  if (this.selectedSuggestion) {
205
- this.input.setAttribute('aria-activedescendant', this.listboxItemId(this.selectedSuggestion));
190
+ this.input.setAttribute("aria-activedescendant", this.listboxItemId(this.selectedSuggestion));
206
191
  }
207
192
  }
208
193
  selectNextSuggestion() {
@@ -213,7 +198,7 @@ let Autosuggest = class {
213
198
  const index = this.selectedSuggestion ? this.suggestions.indexOf(this.selectedSuggestion) : -1;
214
199
  this.selectedSuggestion = (_a = this.suggestions[index + 1]) !== null && _a !== void 0 ? _a : this.suggestions[0];
215
200
  if (this.selectedSuggestion) {
216
- this.input.setAttribute('aria-activedescendant', this.listboxItemId(this.selectedSuggestion));
201
+ this.input.setAttribute("aria-activedescendant", this.listboxItemId(this.selectedSuggestion));
217
202
  }
218
203
  }
219
204
  selectPreviousSuggestion() {
@@ -224,24 +209,24 @@ let Autosuggest = class {
224
209
  const index = this.selectedSuggestion ? this.suggestions.indexOf(this.selectedSuggestion) : 0;
225
210
  this.selectedSuggestion = (_a = this.suggestions[index - 1]) !== null && _a !== void 0 ? _a : this.suggestions[this.suggestions.length - 1];
226
211
  if (this.selectedSuggestion) {
227
- this.input.setAttribute('aria-activedescendant', this.listboxItemId(this.selectedSuggestion));
212
+ this.input.setAttribute("aria-activedescendant", this.listboxItemId(this.selectedSuggestion));
228
213
  }
229
214
  }
230
215
  resetSelectedSuggestion() {
231
216
  this.showLoading = !this.loadingDelayed;
232
217
  this.notFound = false;
233
218
  this.selectedSuggestion = undefined;
234
- this.input.setAttribute('aria-activedescendant', '');
219
+ this.input.setAttribute("aria-activedescendant", "");
235
220
  }
236
221
  openSuggestions(selectSuggestion) {
237
222
  var _a, _b, _c;
238
223
  this.showSuggestions = (_a = (this.suggestions && this.suggestions.length > 0)) !== null && _a !== void 0 ? _a : false;
239
224
  this.notFound = (_c = ((_b = this.suggestions) === null || _b === void 0 ? void 0 : _b.length) === 0) !== null && _c !== void 0 ? _c : false;
240
225
  this.input.setAttribute("aria-expanded", (this.showSuggestions || this.notFound).toString());
241
- if (this.showSuggestions && selectSuggestion === 'first') {
226
+ if (this.showSuggestions && selectSuggestion === "first") {
242
227
  this.selectFirstSuggestion();
243
228
  }
244
- else if (this.showSuggestions && selectSuggestion === 'last') {
229
+ else if (this.showSuggestions && selectSuggestion === "last") {
245
230
  this.selectLastSuggestion();
246
231
  }
247
232
  }
@@ -262,23 +247,13 @@ let Autosuggest = class {
262
247
  }
263
248
  listboxItemId(suggestion) {
264
249
  if (!this.suggestions) {
265
- return '';
250
+ return "";
266
251
  }
267
252
  return `${this.inputId}-${this.suggestions.indexOf(suggestion) + 1}`;
268
253
  }
269
254
  render() {
270
- const terms = this.input.value.split(' ').filter(t => t);
271
- return (h(Fragment, null, h("slot", null), this.loading && this.showLoading
272
- ? h("div", { class: "autosuggest-progress-box" }, h("dso-progress-indicator", { label: this.loadingLabel }))
273
- : h("ul", { role: "listbox", id: this.listboxId, "aria-labelledby": this.labelId, ref: element => this.listbox = element, hidden: !this.showSuggestions && !this.notFound }, this.showSuggestions && this.suggestions
274
- ? this.suggestions.map((suggestion) => (h("li", { role: "option", id: this.listboxItemId(suggestion), key: suggestion.value, onMouseEnter: () => this.selectSuggestion(suggestion), onMouseLeave: () => this.resetSelectedSuggestion(), onClick: () => this.pickSelectedValue(), "aria-selected": (suggestion === this.selectedSuggestion).toString(), "aria-label": suggestion.value }, h("span", { class: "value" }, this.markTerms(suggestion.value, terms)), suggestion.type
275
- ? (h("span", { class: "type" }, suggestion.type))
276
- : undefined)))
277
- : this.notFound
278
- ? h("li", null, h("span", { class: "value" }, !this.notFoundLabel
279
- ? this.markTerms(`${this.inputValue} is niet gevonden.`, terms)
280
- : h("span", null, this.notFoundLabel)))
281
- : undefined)));
255
+ const terms = this.input.value.split(" ").filter((t) => t);
256
+ return (h(Fragment, null, h("slot", null), this.loading && this.showLoading ? (h("div", { class: "autosuggest-progress-box" }, h("dso-progress-indicator", { label: this.loadingLabel }))) : (h("ul", { role: "listbox", id: this.listboxId, "aria-labelledby": this.labelId, ref: (element) => (this.listbox = element), hidden: !this.showSuggestions && !this.notFound }, this.showSuggestions && this.suggestions ? (this.suggestions.map((suggestion) => (h("li", { role: "option", id: this.listboxItemId(suggestion), key: suggestion.value, onMouseEnter: () => this.selectSuggestion(suggestion), onMouseLeave: () => this.resetSelectedSuggestion(), onClick: () => this.pickSelectedValue(), "aria-selected": (suggestion === this.selectedSuggestion).toString(), "aria-label": suggestion.value }, h("span", { class: "value" }, this.markTerms(suggestion.value, terms)), suggestion.type ? h("span", { class: "type" }, suggestion.type) : undefined)))) : this.notFound ? (h("li", null, h("span", { class: "value" }, !this.notFoundLabel ? (this.markTerms(`${this.inputValue} is niet gevonden.`, terms)) : (h("span", null, this.notFoundLabel))))) : undefined))));
282
257
  }
283
258
  get host() { return getElement(this); }
284
259
  static get watchers() { return {
@@ -1,14 +1,15 @@
1
- import { r as registerInstance, h } from './index-771c1291.js';
2
- import { c as clsx } from './clsx.m-071989db.js';
1
+ import { r as registerInstance, h } from './index-1a4dda48.js';
2
+ import { c as clsx } from './clsx.m-25174a58.js';
3
3
 
4
4
  const badgeCss = ":host{display:inline-block}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.dso-badge{background-color:#666;border:1px solid #666;border-radius:1em;color:#fff;display:inline-block;font-size:0.875em;line-height:1;min-width:1.5rem;padding:4px 8px;text-align:center}.dso-badge.badge-info{background-color:#6ca4d9;border-color:#6ca4d9;color:#191919}.dso-badge.badge-primary{background-color:#275937;border-color:#275937;color:#fff}.dso-badge.badge-success{background-color:#39870c;border-color:#39870c;color:#fff}.dso-badge.badge-warning{background-color:#dcd400;border-color:#dcd400;color:#191919}.dso-badge.badge-danger{background-color:#ce3f51;border-color:#ce3f51;color:#fff}.dso-badge.badge-outline{background-color:#fff;border-color:#191919;color:#191919}";
5
5
 
6
- let Badge = class {
6
+ const Badge = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
9
+ this.status = undefined;
9
10
  }
10
11
  render() {
11
- return (h("span", { class: clsx('dso-badge', { [`badge-${this.status}`]: this.status }) }, h("slot", null)));
12
+ return (h("span", { class: clsx("dso-badge", { [`badge-${this.status}`]: this.status }) }, h("slot", null)));
12
13
  }
13
14
  };
14
15
  Badge.style = badgeCss;
@@ -1,14 +1,15 @@
1
- import { r as registerInstance, h } from './index-771c1291.js';
2
- import { c as clsx } from './clsx.m-071989db.js';
1
+ import { r as registerInstance, h } from './index-1a4dda48.js';
2
+ import { c as clsx } from './clsx.m-25174a58.js';
3
3
 
4
4
  const bannerCss = ":host{display:block}*,*::after,*::before{box-sizing:border-box}.dso-banner{padding:16px 0;position:relative}";
5
5
 
6
- let Banner = class {
6
+ const Banner = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
9
+ this.status = undefined;
9
10
  }
10
11
  render() {
11
- return (h("section", { class: clsx('dso-banner', `alert-${this.status}`), role: "alert" }, h("slot", null)));
12
+ return (h("section", { class: clsx("dso-banner", `alert-${this.status}`), role: "alert" }, h("slot", null)));
12
13
  }
13
14
  };
14
15
  Banner.style = bannerCss;
@@ -0,0 +1,16 @@
1
+ import { r as registerInstance, h, F as Fragment } from './index-1a4dda48.js';
2
+
3
+ const cardContainerCss = ":host .dso-card-list{padding-left:0;list-style:none;border-bottom:1px solid #ccc;margin-top:-1px}:host .dso-card-grid{display:grid;gap:32px;grid-template-columns:repeat(3, 1fr);grid-auto-rows:1fr}";
4
+
5
+ const CardContainer = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.mode = "list";
9
+ }
10
+ render() {
11
+ return (h(Fragment, null, this.mode === "list" && (h("ul", { class: "dso-card-list" }, h("slot", null))), this.mode === "grid" && (h("div", { class: "dso-card-grid" }, h("slot", null)))));
12
+ }
13
+ };
14
+ CardContainer.style = cardContainerCss;
15
+
16
+ export { CardContainer as dso_card_container };