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