@dso-toolkit/core 27.4.0 → 29.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 (126) hide show
  1. package/dist/cjs/dso-alert.cjs.entry.js +2 -2
  2. package/dist/cjs/dso-attachments-counter.cjs.entry.js +2 -2
  3. package/dist/cjs/dso-autosuggest.cjs.entry.js +3 -3
  4. package/dist/cjs/dso-badge.cjs.entry.js +2 -3
  5. package/dist/cjs/dso-banner.cjs.entry.js +2 -2
  6. package/dist/cjs/dso-date-picker.cjs.entry.js +2 -2
  7. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +47 -7
  8. package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
  9. package/dist/cjs/dso-icon.cjs.entry.js +9 -3
  10. package/dist/cjs/dso-info_3.cjs.entry.js +4 -4
  11. package/dist/cjs/dso-label.cjs.entry.js +6 -7
  12. package/dist/cjs/dso-map-base-layers.cjs.entry.js +2 -2
  13. package/dist/cjs/dso-map-controls.cjs.entry.js +2 -2
  14. package/dist/cjs/dso-map-overlays.cjs.entry.js +2 -2
  15. package/dist/cjs/dso-ozon-content.cjs.entry.js +443 -0
  16. package/dist/cjs/dso-progress-bar.cjs.entry.js +2 -2
  17. package/dist/cjs/dso-progress-indicator.cjs.entry.js +2 -2
  18. package/dist/cjs/dso-toolkit.cjs.js +3 -3
  19. package/dist/cjs/dso-tooltip.cjs.entry.js +55 -23
  20. package/dist/cjs/{index-5c4e19ff.js → index-fcdfdd38.js} +97 -34
  21. package/dist/cjs/loader.cjs.js +3 -3
  22. package/dist/cjs/{v4-14140ff3.js → v4-8e8d6fbc.js} +0 -0
  23. package/dist/collection/collection-manifest.json +2 -1
  24. package/dist/collection/components/badge/badge.js +0 -1
  25. package/dist/collection/components/icon/icon.css +1 -0
  26. package/dist/collection/components/icon/icon.js +2 -0
  27. package/dist/collection/components/label/label.css +8 -0
  28. package/dist/collection/components/label/label.js +5 -6
  29. package/dist/collection/components/ozon-content/ozon-content.css +100 -0
  30. package/dist/collection/components/ozon-content/ozon-content.interfaces.js +2 -0
  31. package/dist/collection/components/ozon-content/ozon-content.js +80 -0
  32. package/dist/collection/components/ozon-content/ozon-content.template.js +9 -0
  33. package/dist/collection/components/ozon-content/ozon-content.transformer.js +91 -0
  34. package/dist/collection/icon/dso-icon-sass-function.js +2 -2
  35. package/dist/custom-elements/index.d.ts +6 -0
  36. package/dist/custom-elements/index.js +567 -52
  37. package/dist/dso-toolkit/dso-toolkit.css +1 -1
  38. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  39. package/dist/dso-toolkit/p-08427682.entry.js +1 -0
  40. package/dist/dso-toolkit/p-0a7cb861.entry.js +1 -0
  41. package/dist/dso-toolkit/p-12f7e7d7.entry.js +5 -0
  42. package/dist/dso-toolkit/{p-ad90fe4d.js → p-19b890a3.js} +0 -0
  43. package/dist/dso-toolkit/p-262858dd.entry.js +1 -0
  44. package/dist/dso-toolkit/p-2c6e9460.entry.js +1 -0
  45. package/dist/dso-toolkit/p-2e7d535c.entry.js +1 -0
  46. package/dist/dso-toolkit/p-94500196.entry.js +1 -0
  47. package/dist/dso-toolkit/p-968d9e1d.entry.js +1 -0
  48. package/dist/dso-toolkit/p-a2357726.entry.js +1 -0
  49. package/dist/dso-toolkit/p-a40eeb32.js +1 -0
  50. package/dist/dso-toolkit/p-ae6209c6.entry.js +1 -0
  51. package/dist/dso-toolkit/p-b5b946de.entry.js +1 -0
  52. package/dist/dso-toolkit/p-c5acf7e2.entry.js +1 -0
  53. package/dist/dso-toolkit/p-c9c1bc8f.entry.js +1 -0
  54. package/dist/dso-toolkit/p-d748df48.entry.js +1 -0
  55. package/dist/dso-toolkit/p-dff52fb0.entry.js +1 -0
  56. package/dist/dso-toolkit/p-e4269e02.entry.js +1 -0
  57. package/dist/dso-toolkit/p-e7700d9e.entry.js +1 -0
  58. package/dist/dso-toolkit/p-eadba8c3.entry.js +1 -0
  59. package/dist/esm/dso-alert.entry.js +2 -2
  60. package/dist/esm/dso-attachments-counter.entry.js +2 -2
  61. package/dist/esm/dso-autosuggest.entry.js +3 -3
  62. package/dist/esm/dso-badge.entry.js +2 -3
  63. package/dist/esm/dso-banner.entry.js +2 -2
  64. package/dist/esm/dso-date-picker.entry.js +2 -2
  65. package/dist/esm/dso-dropdown-menu.entry.js +47 -7
  66. package/dist/esm/dso-highlight-box.entry.js +2 -2
  67. package/dist/esm/dso-icon.entry.js +9 -3
  68. package/dist/esm/dso-info_3.entry.js +4 -4
  69. package/dist/esm/dso-label.entry.js +6 -7
  70. package/dist/esm/dso-map-base-layers.entry.js +2 -2
  71. package/dist/esm/dso-map-controls.entry.js +2 -2
  72. package/dist/esm/dso-map-overlays.entry.js +2 -2
  73. package/dist/esm/dso-ozon-content.entry.js +439 -0
  74. package/dist/esm/dso-progress-bar.entry.js +2 -2
  75. package/dist/esm/dso-progress-indicator.entry.js +2 -2
  76. package/dist/esm/dso-toolkit.js +3 -3
  77. package/dist/esm/dso-tooltip.entry.js +55 -23
  78. package/dist/esm/{index-fbcbba93.js → index-61410be2.js} +97 -34
  79. package/dist/esm/loader.js +3 -3
  80. package/dist/esm/{v4-929670b7.js → v4-fa4bb814.js} +0 -0
  81. package/dist/types/components/alert/alert.template.d.ts +2 -2
  82. package/dist/types/components/attachments-counter/attachments-counter.template.d.ts +1 -1
  83. package/dist/types/components/autosuggest/autosuggest.d.ts +2 -3
  84. package/dist/types/components/autosuggest/autosuggest.template.d.ts +1 -1
  85. package/dist/types/components/badge/badge.template.d.ts +1 -1
  86. package/dist/types/components/banner/banner.template.d.ts +1 -1
  87. package/dist/types/components/date-picker/date-picker.template.d.ts +3 -3
  88. package/dist/types/components/dropdown-menu/dropdown-menu.template.d.ts +1 -1
  89. package/dist/types/components/highlight-box/highlight-box.template.d.ts +1 -1
  90. package/dist/types/components/icon/icon.template.d.ts +1 -1
  91. package/dist/types/components/info/info.template.d.ts +1 -1
  92. package/dist/types/components/info-button/info-button.template.d.ts +1 -1
  93. package/dist/types/components/label/label.d.ts +1 -1
  94. package/dist/types/components/label/label.template.d.ts +1 -1
  95. package/dist/types/components/map-controls/map-controls.template.d.ts +1 -1
  96. package/dist/types/components/ozon-content/ozon-content.d.ts +13 -0
  97. package/dist/types/components/ozon-content/ozon-content.interfaces.d.ts +5 -0
  98. package/dist/types/components/ozon-content/ozon-content.template.d.ts +2 -0
  99. package/dist/types/components/ozon-content/ozon-content.transformer.d.ts +15 -0
  100. package/dist/types/components/progress-bar/progress-bar.template.d.ts +1 -1
  101. package/dist/types/components/progress-indicator/progress-indicator.template.d.ts +1 -1
  102. package/dist/types/components/selectable/selectable.template.d.ts +1 -1
  103. package/dist/types/components/tooltip/tooltip.template.d.ts +1 -1
  104. package/dist/types/components.d.ts +19 -2
  105. package/dist/types/globals.d.ts +12 -0
  106. package/dist/types/stencil-public-runtime.d.ts +190 -182
  107. package/loader/index.d.ts +0 -1
  108. package/package.json +34 -32
  109. package/dist/dso-toolkit/p-0acdd660.entry.js +0 -1
  110. package/dist/dso-toolkit/p-17e062d6.entry.js +0 -1
  111. package/dist/dso-toolkit/p-1b4843e8.entry.js +0 -1
  112. package/dist/dso-toolkit/p-28aaf3b6.entry.js +0 -1
  113. package/dist/dso-toolkit/p-372742ef.entry.js +0 -1
  114. package/dist/dso-toolkit/p-5d6816e3.entry.js +0 -1
  115. package/dist/dso-toolkit/p-6f031e8a.entry.js +0 -1
  116. package/dist/dso-toolkit/p-6f5a1e4e.entry.js +0 -1
  117. package/dist/dso-toolkit/p-70a658a0.entry.js +0 -1
  118. package/dist/dso-toolkit/p-8662814d.entry.js +0 -1
  119. package/dist/dso-toolkit/p-9174121a.entry.js +0 -1
  120. package/dist/dso-toolkit/p-a58e3c64.entry.js +0 -1
  121. package/dist/dso-toolkit/p-acae4c27.entry.js +0 -1
  122. package/dist/dso-toolkit/p-ae985488.js +0 -1
  123. package/dist/dso-toolkit/p-c06e43cd.entry.js +0 -1
  124. package/dist/dso-toolkit/p-e29b0619.entry.js +0 -1
  125. package/dist/dso-toolkit/p-e4ba88f4.entry.js +0 -5
  126. package/dist/dso-toolkit/p-f952c084.entry.js +0 -1
@@ -44,7 +44,7 @@ function clsx () {
44
44
 
45
45
  const alertCss = "@media screen and (min-width: 481px){.alert{padding:19px 16px 19px 63px}}@media screen and (max-width: 480px){.alert{padding:63px 16px 16px}}:host{display:block;--di-status-success:url(\"data:image/svg+xml,%3csvg id='status-success' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e %3cg%3e %3ccircle cx='12' cy='12' r='11' style='fill: %2339870c'/%3e %3cpath d='M12%2c1A11%2c11%2c0%2c1%2c1%2c1%2c12%2c11%2c11%2c0%2c0%2c1%2c12%2c1m0-1A12%2c12%2c0%2c1%2c0%2c24%2c12%2c12%2c12%2c0%2c0%2c0%2c12%2c0Z' style='fill: white'/%3e %3c/g%3e %3cpath d='M10.11%2c18%2c5.29%2c13.31A.92.92%2c0%2c0%2c1%2c5.3%2c12a1%2c1%2c0%2c0%2c1%2c1.41%2c0l3.4%2c3.3%2c7.18-7a1%2c1%2c0%2c0%2c1%2c1.41%2c0%2c.92.92%2c0%2c0%2c1%2c0%2c1.35Z' style='fill: white'/%3e %3c/svg%3e\");--di-status-danger:url(\"data:image/svg+xml,%3csvg id='status-danger-line' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e %3cg%3e %3cpath d='M22.6%2c18.51c.86%2c1.37.29%2c2.49-1.25%2c2.49H2.65C1.11%2c21%2c.54%2c19.88%2c1.4%2c18.51L10.44%2c4a1.7%2c1.7%2c0%2c0%2c1%2c3.12%2c0Z' style='fill: %23ce3f51'/%3e %3cpath d='M12%2c3a1.9%2c1.9%2c0%2c0%2c1%2c1.56%2c1l9%2c14.48c.86%2c1.37.29%2c2.49-1.25%2c2.49H2.65C1.11%2c21%2c.54%2c19.88%2c1.4%2c18.51L10.44%2c4A1.9%2c1.9%2c0%2c0%2c1%2c12%2c3m0-1A2.89%2c2.89%2c0%2c0%2c0%2c9.6%2c3.5L.55%2c18a2.75%2c2.75%2c0%2c0%2c0-.28%2c2.81A2.59%2c2.59%2c0%2c0%2c0%2c2.65%2c22h18.7a2.59%2c2.59%2c0%2c0%2c0%2c2.38-1.21A2.75%2c2.75%2c0%2c0%2c0%2c23.45%2c18L14.4%2c3.5A2.89%2c2.89%2c0%2c0%2c0%2c12%2c2Z' style='fill: white'/%3e %3c/g%3e %3cpath d='M12%2c16a1%2c1%2c0%2c0%2c1-1-.91V8.91a1%2c1%2c0%2c0%2c1%2c2%2c0v6.18A1%2c1%2c0%2c0%2c1%2c12%2c16Zm0%2c1a1%2c1%2c0%2c1%2c0%2c1%2c1A1%2c1%2c0%2c0%2c0%2c12%2c17Z' style='fill: white'/%3e %3c/svg%3e\");--di-status-warning:url(\"data:image/svg+xml,%3csvg id='status-warning' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e %3cg%3e %3cpath d='M22.6%2c18.51c.86%2c1.37.29%2c2.49-1.25%2c2.49H2.65C1.11%2c21%2c.54%2c19.88%2c1.4%2c18.51L10.44%2c4a1.7%2c1.7%2c0%2c0%2c1%2c3.12%2c0Z' style='fill: %23dcd400'/%3e %3cpath d='M12%2c3a1.9%2c1.9%2c0%2c0%2c1%2c1.56%2c1l9%2c14.48c.86%2c1.37.29%2c2.49-1.25%2c2.49H2.65C1.11%2c21%2c.54%2c19.88%2c1.4%2c18.51L10.44%2c4A1.9%2c1.9%2c0%2c0%2c1%2c12%2c3m0-1A2.89%2c2.89%2c0%2c0%2c0%2c9.6%2c3.5L.55%2c18a2.75%2c2.75%2c0%2c0%2c0-.28%2c2.81A2.59%2c2.59%2c0%2c0%2c0%2c2.65%2c22h18.7a2.59%2c2.59%2c0%2c0%2c0%2c2.38-1.21A2.75%2c2.75%2c0%2c0%2c0%2c23.45%2c18L14.4%2c3.5A2.89%2c2.89%2c0%2c0%2c0%2c12%2c2Z' style='fill: white'/%3e %3c/g%3e %3cpath d='M11.73%2c15.85a1%2c1%2c0%2c0%2c1-1-.91V8.76a1%2c1%2c0%2c0%2c1%2c2%2c0v6.18A1%2c1%2c0%2c0%2c1%2c11.73%2c15.85Zm0%2c1a1%2c1%2c0%2c1%2c0%2c1%2c1A1%2c1%2c0%2c0%2c0%2c11.73%2c16.85Z'/%3e %3c/svg%3e\");--di-status-info:url(\"data:image/svg+xml,%3csvg id='status-info' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e %3cg%3e %3ccircle cx='12' cy='12' r='11' style='fill: %232b5780'/%3e %3cpath d='M12%2c1A11%2c11%2c0%2c1%2c1%2c1%2c12%2c11%2c11%2c0%2c0%2c1%2c12%2c1m0-1A12%2c12%2c0%2c1%2c0%2c24%2c12%2c12%2c12%2c0%2c0%2c0%2c12%2c0Z' style='fill: white'/%3e %3c/g%3e %3cpath d='M11%2c8a1%2c1%2c0%2c1%2c1%2c1%2c1A1%2c1%2c0%2c0%2c1%2c11%2c8Zm2%2c8.79V11.21A1.12%2c1.12%2c0%2c0%2c0%2c12%2c10a1.12%2c1.12%2c0%2c0%2c0-1%2c1.21v5.58A1.12%2c1.12%2c0%2c0%2c0%2c12%2c18%2c1.12%2c1.12%2c0%2c0%2c0%2c13%2c16.79Z' style='fill: white'/%3e %3c/svg%3e\")}: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:24px;margin-bottom:24px;min-height:64px;position:relative}.alert:not(:first-child){margin-top:24px}.alert::before{content:\"\";left:15px;position:absolute;top:15px}.alert.alert-success{color:#191919;background-color:#e4f1d4;border-color:#e4f1d4}.alert.alert-success::before{background:var(--dso-icon, var(--di-status-success)) no-repeat;background-position:center;background-size:cover;height:32px;vertical-align:top;width:32px}.alert.alert-danger{color:#191919;background-color:#f5d8dc;border-color:#f5d8dc}.alert.alert-danger::before{background:var(--dso-icon, var(--di-status-danger)) no-repeat;background-position:center;background-size:cover;height:32px;vertical-align:top;width:32px}.alert.alert-warning{color:#191919;background-color:#f8f6cc;border-color:#f8f6cc}.alert.alert-warning::before{background:var(--dso-icon, var(--di-status-warning)) no-repeat;background-position:center;background-size:cover;height:32px;vertical-align:top;width:32px}.alert.alert-info{color:#191919;background-color:#e1ecf7;border-color:#e1ecf7}.alert.alert-info::before{background:var(--dso-icon, var(--di-status-info)) no-repeat;background-position:center;background-size:cover;height:32px;vertical-align:top;width:32px}";
46
46
 
47
- const Alert = class extends HTMLElement {
47
+ let Alert = class extends HTMLElement {
48
48
  constructor() {
49
49
  super();
50
50
  this.__registerHost();
@@ -68,7 +68,7 @@ Alert.statusMap = new Map([
68
68
 
69
69
  const attachmentsCounterCss = ":host{display:inline-block;--di-paperclip-grijs:url(\"data:image/svg+xml,%3csvg id='paperclip' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %23666%3b'%3e %3cpath fill='currentColor' d='M21.88%2c8.94%2c10%2c20.6A4.63%2c4.63%2c0%2c0%2c1%2c6.62%2c22h0a5.78%2c5.78%2c0%2c0%2c1-4.05-1.81%2c5.34%2c5.34%2c0%2c0%2c1%2c0-7.56l9.3-9.26a1%2c1%2c0%2c1%2c1%2c1.48%2c1.48l-9.3%2c9.26h0a3.26%2c3.26%2c0%2c0%2c0%2c0%2c4.6%2c3.79%2c3.79%2c0%2c0%2c0%2c2.58%2c1.21%2c2.55%2c2.55%2c0%2c0%2c0%2c1.85-.81h0L20.4%2c7.46a1.83%2c1.83%2c0%2c0%2c0%2c.5-1.39%2c2.24%2c2.24%2c0%2c0%2c0-.63-1.44%2c1.85%2c1.85%2c0%2c0%2c0-2.61%2c0h0L7.43%2c14.73a.48.48%2c0%2c0%2c0%2c0%2c.67.48.48%2c0%2c0%2c0%2c.34.14.46.46%2c0%2c0%2c0%2c.34-.14l7.36-7.28a1%2c1%2c0%2c0%2c1%2c1.48%2c0A1%2c1%2c0%2c0%2c1%2c17%2c9.6h0L9.6%2c16.88h0a2.66%2c2.66%2c0%2c0%2c1-3.65%2c0%2c2.55%2c2.55%2c0%2c0%2c1%2c0-3.63L16.17%2c3.15a4%2c4%2c0%2c0%2c1%2c5.59%2c0A4.31%2c4.31%2c0%2c0%2c1%2c23%2c6%2c3.89%2c3.89%2c0%2c0%2c1%2c21.88%2c8.94Z'/%3e %3c/svg%3e\");--di-paperclip-wit:url(\"data:image/svg+xml,%3csvg id='paperclip' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: white%3b'%3e %3cpath fill='currentColor' d='M21.88%2c8.94%2c10%2c20.6A4.63%2c4.63%2c0%2c0%2c1%2c6.62%2c22h0a5.78%2c5.78%2c0%2c0%2c1-4.05-1.81%2c5.34%2c5.34%2c0%2c0%2c1%2c0-7.56l9.3-9.26a1%2c1%2c0%2c1%2c1%2c1.48%2c1.48l-9.3%2c9.26h0a3.26%2c3.26%2c0%2c0%2c0%2c0%2c4.6%2c3.79%2c3.79%2c0%2c0%2c0%2c2.58%2c1.21%2c2.55%2c2.55%2c0%2c0%2c0%2c1.85-.81h0L20.4%2c7.46a1.83%2c1.83%2c0%2c0%2c0%2c.5-1.39%2c2.24%2c2.24%2c0%2c0%2c0-.63-1.44%2c1.85%2c1.85%2c0%2c0%2c0-2.61%2c0h0L7.43%2c14.73a.48.48%2c0%2c0%2c0%2c0%2c.67.48.48%2c0%2c0%2c0%2c.34.14.46.46%2c0%2c0%2c0%2c.34-.14l7.36-7.28a1%2c1%2c0%2c0%2c1%2c1.48%2c0A1%2c1%2c0%2c0%2c1%2c17%2c9.6h0L9.6%2c16.88h0a2.66%2c2.66%2c0%2c0%2c1-3.65%2c0%2c2.55%2c2.55%2c0%2c0%2c1%2c0-3.63L16.17%2c3.15a4%2c4%2c0%2c0%2c1%2c5.59%2c0A4.31%2c4.31%2c0%2c0%2c1%2c23%2c6%2c3.89%2c3.89%2c0%2c0%2c1%2c21.88%2c8.94Z'/%3e %3c/svg%3e\")}*,*::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;}.dso-attachments::after{background:var(--dso-icon, var(--di-paperclip-grijs)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em;content:\"\";display:inline-block}";
70
70
 
71
- const AttachmentsCounter = class extends HTMLElement {
71
+ let AttachmentsCounter = class extends HTMLElement {
72
72
  constructor() {
73
73
  super();
74
74
  this.__registerHost();
@@ -225,7 +225,7 @@ function v4(options, buf, offset) {
225
225
 
226
226
  const autosuggestCss = "ul.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}ul.sc-dso-autosuggest li.sc-dso-autosuggest{display:flex;justify-content:space-between;padding:4px 18px}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}";
227
227
 
228
- const Autosuggest = class extends HTMLElement {
228
+ let Autosuggest = class extends HTMLElement {
229
229
  constructor() {
230
230
  super();
231
231
  this.__registerHost();
@@ -427,7 +427,7 @@ const Autosuggest = class extends HTMLElement {
427
427
 
428
428
  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-radius:1em;color:#fff;display:inline-block;font-size:0.875em;line-height:1em;padding:4px 8px}.dso-badge.badge-info{background-color:#6ca4d9;color:#191919}.dso-badge.badge-primary{background-color:#275937;color:#fff}.dso-badge.badge-success{background-color:#39870c;color:#fff}.dso-badge.badge-warning{background-color:#dcd400;color:#191919}.dso-badge.badge-danger{background-color:#ce3f51;color:#fff}";
429
429
 
430
- const Badge = class extends HTMLElement {
430
+ let Badge = class extends HTMLElement {
431
431
  constructor() {
432
432
  super();
433
433
  this.__registerHost();
@@ -439,7 +439,6 @@ const Badge = class extends HTMLElement {
439
439
  static get style() { return badgeCss; }
440
440
  };
441
441
  Badge.statusMap = new Map([
442
- ['primary', 'Primair'],
443
442
  ['success', 'Gelukt'],
444
443
  ['info', 'Opmerking'],
445
444
  ['warning', 'Waarschuwing'],
@@ -448,7 +447,7 @@ Badge.statusMap = new Map([
448
447
 
449
448
  const bannerCss = ":host{display:block;--di-status-danger:url(\"data:image/svg+xml,%3csvg id='status-danger-line' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e %3cg%3e %3cpath d='M22.6%2c18.51c.86%2c1.37.29%2c2.49-1.25%2c2.49H2.65C1.11%2c21%2c.54%2c19.88%2c1.4%2c18.51L10.44%2c4a1.7%2c1.7%2c0%2c0%2c1%2c3.12%2c0Z' style='fill: %23ce3f51'/%3e %3cpath d='M12%2c3a1.9%2c1.9%2c0%2c0%2c1%2c1.56%2c1l9%2c14.48c.86%2c1.37.29%2c2.49-1.25%2c2.49H2.65C1.11%2c21%2c.54%2c19.88%2c1.4%2c18.51L10.44%2c4A1.9%2c1.9%2c0%2c0%2c1%2c12%2c3m0-1A2.89%2c2.89%2c0%2c0%2c0%2c9.6%2c3.5L.55%2c18a2.75%2c2.75%2c0%2c0%2c0-.28%2c2.81A2.59%2c2.59%2c0%2c0%2c0%2c2.65%2c22h18.7a2.59%2c2.59%2c0%2c0%2c0%2c2.38-1.21A2.75%2c2.75%2c0%2c0%2c0%2c23.45%2c18L14.4%2c3.5A2.89%2c2.89%2c0%2c0%2c0%2c12%2c2Z' style='fill: white'/%3e %3c/g%3e %3cpath d='M12%2c16a1%2c1%2c0%2c0%2c1-1-.91V8.91a1%2c1%2c0%2c0%2c1%2c2%2c0v6.18A1%2c1%2c0%2c0%2c1%2c12%2c16Zm0%2c1a1%2c1%2c0%2c1%2c0%2c1%2c1A1%2c1%2c0%2c0%2c0%2c12%2c17Z' style='fill: white'/%3e %3c/svg%3e\");--di-status-warning:url(\"data:image/svg+xml,%3csvg id='status-warning' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e %3cg%3e %3cpath d='M22.6%2c18.51c.86%2c1.37.29%2c2.49-1.25%2c2.49H2.65C1.11%2c21%2c.54%2c19.88%2c1.4%2c18.51L10.44%2c4a1.7%2c1.7%2c0%2c0%2c1%2c3.12%2c0Z' style='fill: %23dcd400'/%3e %3cpath d='M12%2c3a1.9%2c1.9%2c0%2c0%2c1%2c1.56%2c1l9%2c14.48c.86%2c1.37.29%2c2.49-1.25%2c2.49H2.65C1.11%2c21%2c.54%2c19.88%2c1.4%2c18.51L10.44%2c4A1.9%2c1.9%2c0%2c0%2c1%2c12%2c3m0-1A2.89%2c2.89%2c0%2c0%2c0%2c9.6%2c3.5L.55%2c18a2.75%2c2.75%2c0%2c0%2c0-.28%2c2.81A2.59%2c2.59%2c0%2c0%2c0%2c2.65%2c22h18.7a2.59%2c2.59%2c0%2c0%2c0%2c2.38-1.21A2.75%2c2.75%2c0%2c0%2c0%2c23.45%2c18L14.4%2c3.5A2.89%2c2.89%2c0%2c0%2c0%2c12%2c2Z' style='fill: white'/%3e %3c/g%3e %3cpath d='M11.73%2c15.85a1%2c1%2c0%2c0%2c1-1-.91V8.76a1%2c1%2c0%2c0%2c1%2c2%2c0v6.18A1%2c1%2c0%2c0%2c1%2c11.73%2c15.85Zm0%2c1a1%2c1%2c0%2c1%2c0%2c1%2c1A1%2c1%2c0%2c0%2c0%2c11.73%2c16.85Z'/%3e %3c/svg%3e\")}*,*::after,*::before{box-sizing:border-box}.dso-banner{padding:16px 0;position:relative}";
450
449
 
451
- const Banner = class extends HTMLElement {
450
+ let Banner = class extends HTMLElement {
452
451
  constructor() {
453
452
  super();
454
453
  this.__registerHost();
@@ -739,7 +738,7 @@ const keyCode = {
739
738
  };
740
739
  const DISALLOWED_CHARACTERS = /[^0-9\.\/\-]+/g;
741
740
  const TRANSITION_MS = 300;
742
- const DsoDatePicker$1 = class extends HTMLElement {
741
+ let DsoDatePicker$1 = class extends HTMLElement {
743
742
  constructor() {
744
743
  super();
745
744
  this.__registerHost();
@@ -1069,7 +1068,7 @@ const DsoDatePicker$1 = class extends HTMLElement {
1069
1068
  };
1070
1069
 
1071
1070
  /*!
1072
- * tabbable 5.2.0
1071
+ * tabbable 5.2.1
1073
1072
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
1074
1073
  */
1075
1074
  var candidateSelectors = ['input', 'select', 'textarea', 'a[href]', 'button', '[tabindex]', 'audio[controls]', 'video[controls]', '[contenteditable]:not([contenteditable="false"])', 'details>summary:first-of-type', 'details'];
@@ -1208,13 +1207,53 @@ var isHidden = function isHidden(node, displayCheck) {
1208
1207
  return width === 0 && height === 0;
1209
1208
  }
1210
1209
 
1210
+ return false;
1211
+ }; // form fields (nested) inside a disabled fieldset are not focusable/tabbable
1212
+ // unless they are in the _first_ <legend> element of the top-most disabled
1213
+ // fieldset
1214
+
1215
+
1216
+ var isDisabledFromFieldset = function isDisabledFromFieldset(node) {
1217
+ if (isInput(node) || node.tagName === 'SELECT' || node.tagName === 'TEXTAREA' || node.tagName === 'BUTTON') {
1218
+ var parentNode = node.parentElement;
1219
+
1220
+ while (parentNode) {
1221
+ if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {
1222
+ // look for the first <legend> as an immediate child of the disabled
1223
+ // <fieldset>: if the node is in that legend, it'll be enabled even
1224
+ // though the fieldset is disabled; otherwise, the node is in a
1225
+ // secondary/subsequent legend, or somewhere else within the fieldset
1226
+ // (however deep nested) and it'll be disabled
1227
+ for (var i = 0; i < parentNode.children.length; i++) {
1228
+ var child = parentNode.children.item(i);
1229
+
1230
+ if (child.tagName === 'LEGEND') {
1231
+ if (child.contains(node)) {
1232
+ return false;
1233
+ } // the node isn't in the first legend (in doc order), so no matter
1234
+ // where it is now, it'll be disabled
1235
+
1236
+
1237
+ return true;
1238
+ }
1239
+ } // the node isn't in a legend, so no matter where it is now, it'll be disabled
1240
+
1241
+
1242
+ return true;
1243
+ }
1244
+
1245
+ parentNode = parentNode.parentElement;
1246
+ }
1247
+ } // else, node's tabbable/focusable state should not be affected by a fieldset's
1248
+ // enabled/disabled state
1249
+
1250
+
1211
1251
  return false;
1212
1252
  };
1213
1253
 
1214
1254
  var isNodeMatchingSelectorFocusable = function isNodeMatchingSelectorFocusable(options, node) {
1215
- if (node.disabled || isHiddenInput(node) || isHidden(node, options.displayCheck) ||
1216
- /* For a details element with a summary, the summary element gets the focused */
1217
- isDetailsWithSummary(node)) {
1255
+ if (node.disabled || isHiddenInput(node) || isHidden(node, options.displayCheck) || // For a details element with a summary, the summary element gets the focus
1256
+ isDetailsWithSummary(node) || isDisabledFromFieldset(node)) {
1218
1257
  return false;
1219
1258
  }
1220
1259
 
@@ -1255,7 +1294,7 @@ var tabbable = function tabbable(el, options) {
1255
1294
 
1256
1295
  const dropdownMenuCss = ":host{--di-check-wit:url(\"data:image/svg+xml,%3csvg id='check' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: white%3b'%3e %3cpath fill='currentColor' d='M10.11%2c18%2c5.29%2c13.31A.92.92%2c0%2c0%2c1%2c5.3%2c12a1%2c1%2c0%2c0%2c1%2c1.41%2c0l3.4%2c3.3%2c7.18-7a1%2c1%2c0%2c0%2c1%2c1.41%2c0%2c.92.92%2c0%2c0%2c1%2c0%2c1.35Z'/%3e %3c/svg%3e\");--di-chevron-down:url(\"data:image/svg+xml,%3csvg id='chevron-down' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %2339870c%3b'%3e %3cpath fill='currentColor' d='M12%2c16%2c5.29%2c9.63a.93.93%2c0%2c0%2c1%2c0-1.35%2c1%2c1%2c0%2c0%2c1%2c1.42%2c0l5.29%2c5%2c5.29-5a1%2c1%2c0%2c0%2c1%2c1.42%2c0%2c.91.91%2c0%2c0%2c1%2c0%2c1.34Z'/%3e %3c/svg%3e\");--di-chevron-down-scampi:url(\"data:image/svg+xml,%3csvg id='chevron-down' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %23676cb0%3b'%3e %3cpath fill='currentColor' d='M12%2c16%2c5.29%2c9.63a.93.93%2c0%2c0%2c1%2c0-1.35%2c1%2c1%2c0%2c0%2c1%2c1.42%2c0l5.29%2c5%2c5.29-5a1%2c1%2c0%2c0%2c1%2c1.42%2c0%2c.91.91%2c0%2c0%2c1%2c0%2c1.34Z'/%3e %3c/svg%3e\");--di-chevron-down-wit:url(\"data:image/svg+xml,%3csvg id='chevron-down' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: white%3b'%3e %3cpath fill='currentColor' d='M12%2c16%2c5.29%2c9.63a.93.93%2c0%2c0%2c1%2c0-1.35%2c1%2c1%2c0%2c0%2c1%2c1.42%2c0l5.29%2c5%2c5.29-5a1%2c1%2c0%2c0%2c1%2c1.42%2c0%2c.91.91%2c0%2c0%2c1%2c0%2c1.34Z'/%3e %3c/svg%3e\");--di-chevron-up:url(\"data:image/svg+xml,%3csvg id='chevron-up' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %2339870c%3b'%3e %3cpath fill='currentColor' d='M18%2c16a1%2c1%2c0%2c0%2c1-.71-.28l-5.29-5-5.29%2c5a1%2c1%2c0%2c0%2c1-1.42%2c0%2c.93.93%2c0%2c0%2c1%2c0-1.35L12%2c8l6.71%2c6.38a.91.91%2c0%2c0%2c1%2c0%2c1.34A1%2c1%2c0%2c0%2c1%2c18%2c16Z'/%3e %3c/svg%3e\");--di-chevron-up-scampi:url(\"data:image/svg+xml,%3csvg id='chevron-up' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %23676cb0%3b'%3e %3cpath fill='currentColor' d='M18%2c16a1%2c1%2c0%2c0%2c1-.71-.28l-5.29-5-5.29%2c5a1%2c1%2c0%2c0%2c1-1.42%2c0%2c.93.93%2c0%2c0%2c1%2c0-1.35L12%2c8l6.71%2c6.38a.91.91%2c0%2c0%2c1%2c0%2c1.34A1%2c1%2c0%2c0%2c1%2c18%2c16Z'/%3e %3c/svg%3e\");--di-chevron-up-wit:url(\"data:image/svg+xml,%3csvg id='chevron-up' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: white%3b'%3e %3cpath fill='currentColor' d='M18%2c16a1%2c1%2c0%2c0%2c1-.71-.28l-5.29-5-5.29%2c5a1%2c1%2c0%2c0%2c1-1.42%2c0%2c.93.93%2c0%2c0%2c1%2c0-1.35L12%2c8l6.71%2c6.38a.91.91%2c0%2c0%2c1%2c0%2c1.34A1%2c1%2c0%2c0%2c1%2c18%2c16Z'/%3e %3c/svg%3e\");display:inline-block;position:relative}";
1257
1296
 
1258
- const DropdownMenu = class extends HTMLElement {
1297
+ let DropdownMenu = class extends HTMLElement {
1259
1298
  constructor() {
1260
1299
  super();
1261
1300
  this.__registerHost();
@@ -1399,7 +1438,7 @@ const DropdownMenu = class extends HTMLElement {
1399
1438
 
1400
1439
  const highlightBoxCss = ":host{--di-external-link-grijs90:url(\"data:image/svg+xml,%3csvg id='external-link' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %23191919%3b'%3e %3cpath fill='currentColor' d='M19%2c6V9.69c0%2c.33-.2.41-.43.17L17.06%2c8.35l-3.35%2c3.36a1%2c1%2c0%2c0%2c1-1.42%2c0%2c1%2c1%2c0%2c0%2c1%2c0-1.42l3.36-3.35L14.14%2c5.43C13.9%2c5.19%2c14%2c5%2c14.31%2c5H19V6ZM18%2c17V13a1%2c1%2c0%2c0%2c0-2%2c0v4a1%2c1%2c0%2c0%2c1-1%2c1H7a1%2c1%2c0%2c0%2c1-1-1V9A1%2c1%2c0%2c0%2c1%2c7%2c8h4a1%2c1%2c0%2c0%2c0%2c0-2H7A3%2c3%2c0%2c0%2c0%2c4%2c9v8a3%2c3%2c0%2c0%2c0%2c3%2c3h8A3%2c3%2c0%2c0%2c0%2c18%2c17Z'/%3e %3c/svg%3e\");--di-download-grijs90:url(\"data:image/svg+xml,%3csvg id='download' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %23191919%3b'%3e %3cpath fill='currentColor' d='M18.72%2c10.44%2c12%2c17l-6.7-6.52C4.8%2c10%2c5%2c9.63%2c5.63%2c9.63H8.5V1.82A.8.8%2c0%2c0%2c1%2c9.28%2c1h5.44a.8.8%2c0%2c0%2c1%2c.78.82V9.61h2.87C19%2c9.6%2c19.2%2c10%2c18.72%2c10.44ZM1%2c17v6H23V17Zm16%2c3a2%2c2%2c0%2c1%2c1-2-2A2%2c2%2c0%2c0%2c1%2c17%2c20Zm5%2c0a2%2c2%2c0%2c1%2c1-2-2A2%2c2%2c0%2c0%2c1%2c22%2c20Z'/%3e %3c/svg%3e\");display:block}:host-context(.row.dso-equal-heights){height:100%;min-height:auto}:host-context(.row.dso-equal-heights)>.dso-highlight-box{min-height:auto}:host-context(.row.dso-equal-heights)>.dso-highlight-box.dso-has-counter{height:calc(100% - 48px)}:host-context(.row.dso-equal-heights)>.dso-highlight-box:not(.dso-has-counter){height:calc(100% - 16px)}*,*::after,*::before{box-sizing:border-box}.dso-highlight-box{background-color:#e5e5e5;margin-top:16px;padding:16px;margin-bottom:16px}.dso-highlight-box.dso-white{background-color:#fff}.dso-highlight-box.dso-yellow{background-color:#f8f6cc}.dso-highlight-box.dso-drop-shadow{box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.2)}.dso-highlight-box.dso-border{background-color:#fff;border:1px solid #ccc;padding:15px}.dso-highlight-box.dso-has-counter{margin-top:48px}.dso-highlight-box.dso-has-counter{padding-top:40px;position:relative}.dso-highlight-box .dso-step-counter{background-color:#39870c;border:8px solid #79b929;border-radius:50%;box-sizing:content-box;color:#fff;font-size:1.25em;font-weight:500;height:32px;left:16px;line-height:32px;position:absolute;text-align:center;top:-24px;width:32px}";
1401
1440
 
1402
- const HighlightBox = class extends HTMLElement {
1441
+ let HighlightBox = class extends HTMLElement {
1403
1442
  constructor() {
1404
1443
  super();
1405
1444
  this.__registerHost();
@@ -1645,6 +1684,11 @@ const locationOutline = `<svg id="location-outline" xmlns="http://www.w3.org/200
1645
1684
  </svg>
1646
1685
  `;
1647
1686
 
1687
+ const locationSearch = `<svg id="location-search" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1688
+ <path fill="currentColor" d="M16,12a4,4,0,1,1-4-4A4,4,0,0,1,16,12Zm8,0a1,1,0,0,1-1,1H19.92A8,8,0,0,1,13,19.92V23a1,1,0,0,1-2,0V19.93a8,8,0,0,1-7-6.93H1a1,1,0,0,1,0-2H4.06a8,8,0,0,1,7-6.94V1a1,1,0,0,1,2,0V4.07A8,8,0,0,1,19.92,11H23A1,1,0,0,1,24,12Zm-6,0A6,6,0,0,0,12,6H12a6,6,0,0,0-6,6V12a6,6,0,0,0,12,0Z"/>
1689
+ </svg>
1690
+ `;
1691
+
1648
1692
  const lock = `<svg id="lock" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1649
1693
  <path fill="currentColor" d="M18.14,9H17V7A5,5,0,0,0,7,7V9H5.86A1.87,1.87,0,0,0,4,10.86v8.28A1.87,1.87,0,0,0,5.86,21H18.14A1.87,1.87,0,0,0,20,19.14V10.86A1.87,1.87,0,0,0,18.14,9ZM9,7a3,3,0,0,1,6,0V9H9Zm4.74,9.66a1.52,1.52,0,0,1,.26.84,1.5,1.5,0,1,1-2.75-.84,2.49,2.49,0,0,1-1.25-2,2.5,2.5,0,1,1,3.74,2Z"/>
1650
1694
  </svg>
@@ -1666,7 +1710,7 @@ const marker = `<svg id="marker" xmlns="http://www.w3.org/2000/svg" viewBox="0 0
1666
1710
  `;
1667
1711
 
1668
1712
  const measurement = `<svg id="measurement" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1669
- <path fill="currentColor" d="M20,2a2,2,0,0,1,2,2V20a2,2,0,0,1-2,2H4a2,2,0,0,1-2-2V4A2,2,0,0,1,4,2H20m0-2H4A4,4,0,0,0,0,4V20a4,4,0,0,0,4,4H20a4,4,0,0,0,4-4V4a4,4,0,0,0-4-4ZM6,19V5A1,1,0,0,0,4,5V19a1,1,0,0,0,2,0Zm14,0V5a1,1,0,0,0-2,0V19a1,1,0,0,0,2,0ZM11,9.92a.33.33,0,0,1-.11-.28,2.41,2.41,0,0,1,.18-.93,5.77,5.77,0,0,1,.49-.9c.1-.14.2-.28.3-.4.19-.27.33-.48.42-.64a.94.94,0,0,0,.14-.45c0-.46-.24-.69-.73-.69a1.3,1.3,0,0,0-.46.08,3.26,3.26,0,0,0-.43.2.52.52,0,0,1-.22.1c-.08,0-.17-.06-.27-.19a2.3,2.3,0,0,1-.25-.44A1,1,0,0,1,10,5a.81.81,0,0,1,.58-.75A3.18,3.18,0,0,1,11.86,4a2.1,2.1,0,0,1,1.57.59A2.23,2.23,0,0,1,14,6.2a2.34,2.34,0,0,1-.25,1.14,4.23,4.23,0,0,1-.68.93l-.17.19a5,5,0,0,0-.51.63,1.42,1.42,0,0,0-.23.58.36.36,0,0,1-.15.26.69.69,0,0,1-.37.07h-.23A.7.7,0,0,1,11,9.92ZM17,18l-2-2v1H9V16L7,18l2,2V19h6v1Zm-5-7a1,1,0,1,0,1,1A1,1,0,0,0,12,11Z"/>
1713
+ <path fill="currentColor" d="M1,24a1,1,0,0,1-1-1V1A1,1,0,0,1,2,1V23A1,1,0,0,1,1,24Zm23-1V1a1,1,0,0,0-2,0V23a1,1,0,0,0,2,0Zm-4-5-2-2v1H6V16L4,18l2,2V19H18v1Zm-8-3a1,1,0,1,0-1-1A1,1,0,0,0,12,15ZM12,3A4,4,0,0,0,8,7v.09a1,1,0,0,0,2,0V7a2,2,0,0,1,4,0c0,1.64-3,1.63-3,4v.09a1,1,0,0,0,2,0V11c0-1.36,3-1.21,3-4A4,4,0,0,0,12,3Z"/>
1670
1714
  </svg>
1671
1715
  `;
1672
1716
 
@@ -1924,6 +1968,7 @@ const icons = [
1924
1968
  { alias: 'layers', svg: layers },
1925
1969
  { alias: 'location', svg: location },
1926
1970
  { alias: 'location-outline', svg: locationOutline },
1971
+ { alias: 'location-search', svg: locationSearch },
1927
1972
  { alias: 'lock', svg: lock },
1928
1973
  { alias: 'magnet', svg: magnet },
1929
1974
  { alias: 'map-location', svg: mapLocation },
@@ -1968,7 +2013,7 @@ const icons = [
1968
2013
  { alias: 'water', svg: water },
1969
2014
  { alias: 'wip-wip', svg: wipWip }
1970
2015
  ];
1971
- const Icon = class extends HTMLElement {
2016
+ let Icon = class extends HTMLElement {
1972
2017
  constructor() {
1973
2018
  super();
1974
2019
  this.__registerHost();
@@ -1986,7 +2031,7 @@ const Icon = class extends HTMLElement {
1986
2031
 
1987
2032
  const infoCss = ":host{--di-times-bosgroen:url(\"data:image/svg+xml,%3csvg id='times' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %23275937%3b'%3e %3cpath fill='currentColor' d='M13.36%2c12l3.3-3.3A1%2c1%2c0%2c1%2c0%2c15.3%2c7.34L12%2c10.64%2c8.7%2c7.34A1%2c1%2c0%2c1%2c0%2c7.34%2c8.7l3.3%2c3.3-3.3%2c3.3A1%2c1%2c0%2c1%2c0%2c8.7%2c16.66l3.3-3.3%2c3.3%2c3.3a1%2c1%2c0%2c1%2c0%2c1.36-1.36Z'/%3e %3c/svg%3e\");display:block;background-color:#e5e5e5;padding:16px 32px 16px 16px;position:relative}:host>button{background-color:transparent;border-style:none;padding:0;position:absolute;right:0;top:0}:host>button::before{background:var(--dso-icon, var(--di-times-bosgroen)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em;content:\"\";display:inline-block}:host(:not([active]):not([fixed])){display:none}*,*::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}";
1988
2033
 
1989
- const Info = class extends HTMLElement {
2034
+ let Info = class extends HTMLElement {
1990
2035
  constructor() {
1991
2036
  super();
1992
2037
  this.__registerHost();
@@ -2001,7 +2046,7 @@ const Info = class extends HTMLElement {
2001
2046
 
2002
2047
  const infoButtonCss = ":host{display:inline-block;--di-info:url(\"data:image/svg+xml,%3csvg id='info' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %2339870c%3b'%3e %3cpath fill='currentColor' d='M12%2c3a9%2c9%2c0%2c1%2c1-9%2c9%2c9%2c9%2c0%2c0%2c1%2c9-9m0-2A11%2c11%2c0%2c1%2c0%2c23%2c12%2c11%2c11%2c0%2c0%2c0%2c12%2c1Zm0%2c8a1%2c1%2c0%2c1%2c0-1-1A1%2c1%2c0%2c0%2c0%2c12%2c9Zm1%2c7.79V11.21A1.12%2c1.12%2c0%2c0%2c0%2c12%2c10a1.12%2c1.12%2c0%2c0%2c0-1%2c1.21v5.58A1.12%2c1.12%2c0%2c0%2c0%2c12%2c18%2c1.12%2c1.12%2c0%2c0%2c0%2c13%2c16.79Z'/%3e %3c/svg%3e\");--di-info-active:url(\"data:image/svg+xml,%3csvg id='info-active' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' style='color: %2339870c%3b'%3e %3cpath fill='currentColor' d='M23%2c12A11%2c11%2c0%2c1%2c1%2c12%2c1%2c11%2c11%2c0%2c0%2c1%2c23%2c12ZM12%2c9a1%2c1%2c0%2c1%2c0-1-1A1%2c1%2c0%2c0%2c0%2c12%2c9Zm1%2c7.79V11.21A1.12%2c1.12%2c0%2c0%2c0%2c12%2c10a1.12%2c1.12%2c0%2c0%2c0-1%2c1.21v5.58A1.12%2c1.12%2c0%2c0%2c0%2c12%2c18%2c1.12%2c1.12%2c0%2c0%2c0%2c13%2c16.79Z'/%3e %3c/svg%3e\")}*,*::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}button{background:var(--dso-icon, var(--di-info)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em;border:1px solid transparent;margin-left:8px;min-width:16px;padding:0}button.dso-open,button:hover,button:active{--dso-icon:var(--di-info-active)}";
2003
2048
 
2004
- const InfoButton = class extends HTMLElement {
2049
+ let InfoButton = class extends HTMLElement {
2005
2050
  constructor() {
2006
2051
  super();
2007
2052
  this.__registerHost();
@@ -2019,9 +2064,9 @@ const InfoButton = class extends HTMLElement {
2019
2064
  static get style() { return infoButtonCss; }
2020
2065
  };
2021
2066
 
2022
- const labelCss = ":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-label{background-color:#f2f2f2;border-radius:4px;color:#191919;display:inline-block;line-height:1.5;padding:4px 8px}.dso-label:focus-within,.dso-label.dso-hover{text-decoration:line-through}.dso-label button{background:none;border:0;border-radius:0 4px 4px 0;color:inherit;float:right;font-size:16px;margin-bottom:-4px;margin-left:8px;margin-right:-4px;margin-top:0;padding:0}.dso-label button:hover{cursor:pointer}.dso-label button>dso-icon,.dso-label button>svg.di{display:block}.dso-label.dso-compact{border:0;padding:0 8px}.dso-label.dso-label-info{background-color:#6ca4d9;color:#191919}.dso-label.dso-label-primary{background-color:#275937;color:#fff}.dso-label.dso-label-success{background-color:#39870c;color:#fff}.dso-label.dso-label-warning{background-color:#dcd400;color:#191919}.dso-label.dso-label-danger{background-color:#ce3f51;color:#fff}";
2067
+ const labelCss = ":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-label{background-color:#f2f2f2;border-radius:4px;color:#191919;display:inline-block;line-height:1.5}.dso-label:not(.dso-label-bright){padding:4px 8px}.dso-label:focus-within,.dso-label.dso-hover{text-decoration:line-through}.dso-label button{background:none;border:0;border-radius:0 4px 4px 0;color:inherit;float:right;font-size:16px;margin-bottom:-4px;margin-left:8px;margin-right:-4px;margin-top:0;padding:0}.dso-label button:hover{cursor:pointer}.dso-label button>dso-icon,.dso-label button>svg.di{display:block}.dso-label.dso-compact{border:0;padding:0 8px}.dso-label.dso-label-info{background-color:#6ca4d9;color:#191919}.dso-label.dso-label-primary{background-color:#275937;color:#fff}.dso-label.dso-label-success{background-color:#39870c;color:#fff}.dso-label.dso-label-warning{background-color:#dcd400;color:#191919}.dso-label.dso-label-danger{background-color:#ce3f51;color:#fff}.dso-label.dso-label-bright{background-color:#fff;color:#191919;border:1px solid #ccc;padding:3px 7px}";
2023
2068
 
2024
- const Label = class extends HTMLElement {
2069
+ let Label = class extends HTMLElement {
2025
2070
  constructor() {
2026
2071
  super();
2027
2072
  this.__registerHost();
@@ -2035,16 +2080,15 @@ const Label = class extends HTMLElement {
2035
2080
  static get style() { return labelCss; }
2036
2081
  };
2037
2082
  Label.statusMap = new Map([
2038
- ['primary', 'Primair'],
2039
- ['info', 'Info'],
2040
- ['success', 'Succes'],
2083
+ ['info', 'Opmerking'],
2084
+ ['success', 'Gelukt'],
2041
2085
  ['warning', 'Waarschuwing'],
2042
- ['danger', 'Gevaar']
2086
+ ['danger', 'Fout']
2043
2087
  ]);
2044
2088
 
2045
2089
  const mapBaseLayersCss = ":host{display: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}fieldset{border:0;margin:0;min-width:0;padding:0}fieldset .control-label{display:inline-block;font-weight:bold;margin-bottom:8px;max-width:100%;text-align:left}";
2046
2090
 
2047
- const MapBaseLayers = class extends HTMLElement {
2091
+ let MapBaseLayers = class extends HTMLElement {
2048
2092
  constructor() {
2049
2093
  super();
2050
2094
  this.__registerHost();
@@ -2078,7 +2122,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
2078
2122
  };
2079
2123
  var _closeButtonElement, _toggleButtonElement;
2080
2124
  const transitionDuration$1 = 300; // Sync with $transition-duration in ./map-controls.scss
2081
- const MapControls = class extends HTMLElement {
2125
+ let MapControls = class extends HTMLElement {
2082
2126
  constructor() {
2083
2127
  super();
2084
2128
  this.__registerHost();
@@ -2114,7 +2158,7 @@ _closeButtonElement = new WeakMap(), _toggleButtonElement = new WeakMap();
2114
2158
 
2115
2159
  const mapOverlaysCss = ":host{display: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}fieldset{border:0;margin:0;min-width:0;padding:0}fieldset .control-label{display:inline-block;font-weight:bold;margin-bottom:8px;max-width:100%;text-align:left}";
2116
2160
 
2117
- const MapOverlays = class extends HTMLElement {
2161
+ let MapOverlays = class extends HTMLElement {
2118
2162
  constructor() {
2119
2163
  super();
2120
2164
  this.__registerHost();
@@ -2134,9 +2178,446 @@ const MapOverlays = class extends HTMLElement {
2134
2178
  static get style() { return mapOverlaysCss; }
2135
2179
  };
2136
2180
 
2181
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
2182
+
2183
+ function assertString(input) {
2184
+ var isString = typeof input === 'string' || input instanceof String;
2185
+
2186
+ if (!isString) {
2187
+ var invalidType = _typeof(input);
2188
+
2189
+ if (input === null) invalidType = 'null';else if (invalidType === 'object') invalidType = input.constructor.name;
2190
+ throw new TypeError("Expected a string but received a ".concat(invalidType));
2191
+ }
2192
+ }
2193
+
2194
+ function merge() {
2195
+ var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2196
+ var defaults = arguments.length > 1 ? arguments[1] : undefined;
2197
+
2198
+ for (var key in defaults) {
2199
+ if (typeof obj[key] === 'undefined') {
2200
+ obj[key] = defaults[key];
2201
+ }
2202
+ }
2203
+
2204
+ return obj;
2205
+ }
2206
+
2207
+ var default_fqdn_options = {
2208
+ require_tld: true,
2209
+ allow_underscores: false,
2210
+ allow_trailing_dot: false,
2211
+ allow_numeric_tld: false
2212
+ };
2213
+ function isFQDN(str, options) {
2214
+ assertString(str);
2215
+ options = merge(options, default_fqdn_options);
2216
+ /* Remove the optional trailing dot before checking validity */
2217
+
2218
+ if (options.allow_trailing_dot && str[str.length - 1] === '.') {
2219
+ str = str.substring(0, str.length - 1);
2220
+ }
2221
+
2222
+ var parts = str.split('.');
2223
+ var tld = parts[parts.length - 1];
2224
+
2225
+ if (options.require_tld) {
2226
+ // disallow fqdns without tld
2227
+ if (parts.length < 2) {
2228
+ return false;
2229
+ }
2230
+
2231
+ if (!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(tld)) {
2232
+ return false;
2233
+ } // disallow spaces && special characers
2234
+
2235
+
2236
+ if (/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20\u00A9\uFFFD]/.test(tld)) {
2237
+ return false;
2238
+ }
2239
+ } // reject numeric TLDs
2240
+
2241
+
2242
+ if (!options.allow_numeric_tld && /^\d+$/.test(tld)) {
2243
+ return false;
2244
+ }
2245
+
2246
+ return parts.every(function (part) {
2247
+ if (part.length > 63) {
2248
+ return false;
2249
+ }
2250
+
2251
+ if (!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(part)) {
2252
+ return false;
2253
+ } // disallow full-width chars
2254
+
2255
+
2256
+ if (/[\uff01-\uff5e]/.test(part)) {
2257
+ return false;
2258
+ } // disallow parts starting or ending with hyphen
2259
+
2260
+
2261
+ if (/^-|-$/.test(part)) {
2262
+ return false;
2263
+ }
2264
+
2265
+ if (!options.allow_underscores && /_/.test(part)) {
2266
+ return false;
2267
+ }
2268
+
2269
+ return true;
2270
+ });
2271
+ }
2272
+
2273
+ /**
2274
+ 11.3. Examples
2275
+
2276
+ The following addresses
2277
+
2278
+ fe80::1234 (on the 1st link of the node)
2279
+ ff02::5678 (on the 5th link of the node)
2280
+ ff08::9abc (on the 10th organization of the node)
2281
+
2282
+ would be represented as follows:
2283
+
2284
+ fe80::1234%1
2285
+ ff02::5678%5
2286
+ ff08::9abc%10
2287
+
2288
+ (Here we assume a natural translation from a zone index to the
2289
+ <zone_id> part, where the Nth zone of any scope is translated into
2290
+ "N".)
2291
+
2292
+ If we use interface names as <zone_id>, those addresses could also be
2293
+ represented as follows:
2294
+
2295
+ fe80::1234%ne0
2296
+ ff02::5678%pvc1.3
2297
+ ff08::9abc%interface10
2298
+
2299
+ where the interface "ne0" belongs to the 1st link, "pvc1.3" belongs
2300
+ to the 5th link, and "interface10" belongs to the 10th organization.
2301
+ * * */
2302
+
2303
+ var IPv4SegmentFormat = '(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])';
2304
+ var IPv4AddressFormat = "(".concat(IPv4SegmentFormat, "[.]){3}").concat(IPv4SegmentFormat);
2305
+ var IPv4AddressRegExp = new RegExp("^".concat(IPv4AddressFormat, "$"));
2306
+ var IPv6SegmentFormat = '(?:[0-9a-fA-F]{1,4})';
2307
+ var IPv6AddressRegExp = new RegExp('^(' + "(?:".concat(IPv6SegmentFormat, ":){7}(?:").concat(IPv6SegmentFormat, "|:)|") + "(?:".concat(IPv6SegmentFormat, ":){6}(?:").concat(IPv4AddressFormat, "|:").concat(IPv6SegmentFormat, "|:)|") + "(?:".concat(IPv6SegmentFormat, ":){5}(?::").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,2}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){4}(?:(:").concat(IPv6SegmentFormat, "){0,1}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,3}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){3}(?:(:").concat(IPv6SegmentFormat, "){0,2}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,4}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){2}(?:(:").concat(IPv6SegmentFormat, "){0,3}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,5}|:)|") + "(?:".concat(IPv6SegmentFormat, ":){1}(?:(:").concat(IPv6SegmentFormat, "){0,4}:").concat(IPv4AddressFormat, "|(:").concat(IPv6SegmentFormat, "){1,6}|:)|") + "(?::((?::".concat(IPv6SegmentFormat, "){0,5}:").concat(IPv4AddressFormat, "|(?::").concat(IPv6SegmentFormat, "){1,7}|:))") + ')(%[0-9a-zA-Z-.:]{1,})?$');
2308
+ function isIP(str) {
2309
+ var version = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
2310
+ assertString(str);
2311
+ version = String(version);
2312
+
2313
+ if (!version) {
2314
+ return isIP(str, 4) || isIP(str, 6);
2315
+ }
2316
+
2317
+ if (version === '4') {
2318
+ if (!IPv4AddressRegExp.test(str)) {
2319
+ return false;
2320
+ }
2321
+
2322
+ var parts = str.split('.').sort(function (a, b) {
2323
+ return a - b;
2324
+ });
2325
+ return parts[3] <= 255;
2326
+ }
2327
+
2328
+ if (version === '6') {
2329
+ return !!IPv6AddressRegExp.test(str);
2330
+ }
2331
+
2332
+ return false;
2333
+ }
2334
+
2335
+ /*
2336
+ options for isURL method
2337
+
2338
+ require_protocol - if set as true isURL will return false if protocol is not present in the URL
2339
+ require_valid_protocol - isURL will check if the URL's protocol is present in the protocols option
2340
+ protocols - valid protocols can be modified with this option
2341
+ require_host - if set as false isURL will not check if host is present in the URL
2342
+ require_port - if set as true isURL will check if port is present in the URL
2343
+ allow_protocol_relative_urls - if set as true protocol relative URLs will be allowed
2344
+ validate_length - if set as false isURL will skip string length validation (IE maximum is 2083)
2345
+
2346
+ */
2347
+
2348
+ var default_url_options = {
2349
+ protocols: ['http', 'https', 'ftp'],
2350
+ require_tld: true,
2351
+ require_protocol: false,
2352
+ require_host: true,
2353
+ require_port: false,
2354
+ require_valid_protocol: true,
2355
+ allow_underscores: false,
2356
+ allow_trailing_dot: false,
2357
+ allow_protocol_relative_urls: false,
2358
+ validate_length: true
2359
+ };
2360
+ var wrapped_ipv6 = /^\[([^\]]+)\](?::([0-9]+))?$/;
2361
+
2362
+ function isRegExp(obj) {
2363
+ return Object.prototype.toString.call(obj) === '[object RegExp]';
2364
+ }
2365
+
2366
+ function checkHost(host, matches) {
2367
+ for (var i = 0; i < matches.length; i++) {
2368
+ var match = matches[i];
2369
+
2370
+ if (host === match || isRegExp(match) && match.test(host)) {
2371
+ return true;
2372
+ }
2373
+ }
2374
+
2375
+ return false;
2376
+ }
2377
+
2378
+ function isURL(url, options) {
2379
+ assertString(url);
2380
+
2381
+ if (!url || /[\s<>]/.test(url)) {
2382
+ return false;
2383
+ }
2384
+
2385
+ if (url.indexOf('mailto:') === 0) {
2386
+ return false;
2387
+ }
2388
+
2389
+ options = merge(options, default_url_options);
2390
+
2391
+ if (options.validate_length && url.length >= 2083) {
2392
+ return false;
2393
+ }
2394
+
2395
+ var protocol, auth, host, hostname, port, port_str, split, ipv6;
2396
+ split = url.split('#');
2397
+ url = split.shift();
2398
+ split = url.split('?');
2399
+ url = split.shift();
2400
+ split = url.split('://');
2401
+
2402
+ if (split.length > 1) {
2403
+ protocol = split.shift().toLowerCase();
2404
+
2405
+ if (options.require_valid_protocol && options.protocols.indexOf(protocol) === -1) {
2406
+ return false;
2407
+ }
2408
+ } else if (options.require_protocol) {
2409
+ return false;
2410
+ } else if (url.substr(0, 2) === '//') {
2411
+ if (!options.allow_protocol_relative_urls) {
2412
+ return false;
2413
+ }
2414
+
2415
+ split[0] = url.substr(2);
2416
+ }
2417
+
2418
+ url = split.join('://');
2419
+
2420
+ if (url === '') {
2421
+ return false;
2422
+ }
2423
+
2424
+ split = url.split('/');
2425
+ url = split.shift();
2426
+
2427
+ if (url === '' && !options.require_host) {
2428
+ return true;
2429
+ }
2430
+
2431
+ split = url.split('@');
2432
+
2433
+ if (split.length > 1) {
2434
+ if (options.disallow_auth) {
2435
+ return false;
2436
+ }
2437
+
2438
+ if (split[0] === '' || split[0].substr(0, 1) === ':') {
2439
+ return false;
2440
+ }
2441
+
2442
+ auth = split.shift();
2443
+
2444
+ if (auth.indexOf(':') >= 0 && auth.split(':').length > 2) {
2445
+ return false;
2446
+ }
2447
+ }
2448
+
2449
+ hostname = split.join('@');
2450
+ port_str = null;
2451
+ ipv6 = null;
2452
+ var ipv6_match = hostname.match(wrapped_ipv6);
2453
+
2454
+ if (ipv6_match) {
2455
+ host = '';
2456
+ ipv6 = ipv6_match[1];
2457
+ port_str = ipv6_match[2] || null;
2458
+ } else {
2459
+ split = hostname.split(':');
2460
+ host = split.shift();
2461
+
2462
+ if (split.length) {
2463
+ port_str = split.join(':');
2464
+ }
2465
+ }
2466
+
2467
+ if (port_str !== null) {
2468
+ port = parseInt(port_str, 10);
2469
+
2470
+ if (!/^[0-9]+$/.test(port_str) || port <= 0 || port > 65535) {
2471
+ return false;
2472
+ }
2473
+ } else if (options.require_port) {
2474
+ return false;
2475
+ }
2476
+
2477
+ if (!isIP(host) && !isFQDN(host, options) && (!ipv6 || !isIP(ipv6, 6))) {
2478
+ return false;
2479
+ }
2480
+
2481
+ host = host || ipv6;
2482
+
2483
+ if (options.host_whitelist && !checkHost(host, options.host_whitelist)) {
2484
+ return false;
2485
+ }
2486
+
2487
+ if (options.host_blacklist && checkHost(host, options.host_blacklist)) {
2488
+ return false;
2489
+ }
2490
+
2491
+ return true;
2492
+ }
2493
+
2494
+ function transformDescriptionNote(body) {
2495
+ body.querySelectorAll('a.noot > div.noot_popup').forEach((e, index) => {
2496
+ const contentElement = e.querySelector('.od-Al');
2497
+ const ozonPopupElement = contentElement === null || contentElement === void 0 ? void 0 : contentElement.parentElement;
2498
+ const anchorElement = ozonPopupElement === null || ozonPopupElement === void 0 ? void 0 : ozonPopupElement.parentElement;
2499
+ const supElement = document.createElement('sup');
2500
+ supElement.replaceChildren(...Array.from(anchorElement.childNodes));
2501
+ anchorElement === null || anchorElement === void 0 ? void 0 : anchorElement.replaceChildren(supElement);
2502
+ anchorElement === null || anchorElement === void 0 ? void 0 : anchorElement.after(contentElement);
2503
+ ozonPopupElement === null || ozonPopupElement === void 0 ? void 0 : ozonPopupElement.remove();
2504
+ const id = (index + 1).toString(10);
2505
+ const [termId, contentId] = [`dso-ozon-term-${id}`, `dso-ozon-content-${id}`];
2506
+ anchorElement === null || anchorElement === void 0 ? void 0 : anchorElement.setAttribute('id', termId);
2507
+ anchorElement === null || anchorElement === void 0 ? void 0 : anchorElement.setAttribute('aria-controls', contentId);
2508
+ anchorElement === null || anchorElement === void 0 ? void 0 : anchorElement.setAttribute('aria-expanded', 'false');
2509
+ contentElement === null || contentElement === void 0 ? void 0 : contentElement.setAttribute('id', contentId);
2510
+ });
2511
+ return body;
2512
+ }
2513
+ function transformDocumentComponent(body) {
2514
+ body.querySelectorAll('span[data-verwijst-naar-documentcomponent]').forEach(e => {
2515
+ const a = document.createElement('a');
2516
+ a.href = `#${e.getAttribute('data-verwijst-naar-documentcomponent')}`;
2517
+ a.replaceChildren(...Array.from(e.childNodes));
2518
+ e.replaceWith(a);
2519
+ });
2520
+ return body;
2521
+ }
2522
+ const transformers = [transformDescriptionNote, transformDocumentComponent];
2523
+ class OzonContentTransformer {
2524
+ constructor(anchorClick) {
2525
+ this.anchorClick = anchorClick;
2526
+ this.domParser = new DOMParser();
2527
+ this.eventHandlers = [this.handleValidUrls, this.handleDescriptionNoteClick, this.handleContentAnchor];
2528
+ }
2529
+ setContent(content) {
2530
+ this.content = transformers.reduce((c, t) => t(c), this.domParser.parseFromString(content, 'text/html').body).children;
2531
+ }
2532
+ handleClickEvent(event) {
2533
+ this.eventHandlers.some(h => h.bind(this)(event.composedPath(), event));
2534
+ }
2535
+ handleDescriptionNoteClick(composedPath, event) {
2536
+ var _a;
2537
+ const containerIndex = composedPath.findIndex(this.isHostElement);
2538
+ if (containerIndex === -1) {
2539
+ return false;
2540
+ }
2541
+ const anchorElement = (_a = composedPath
2542
+ .slice(0, containerIndex)) === null || _a === void 0 ? void 0 : _a.find((e) => e instanceof HTMLAnchorElement && e.classList.contains('noot'));
2543
+ if (!anchorElement) {
2544
+ return false;
2545
+ }
2546
+ event.preventDefault();
2547
+ const open = anchorElement.classList.contains('dso-open');
2548
+ if (open) {
2549
+ anchorElement.classList.remove('dso-open');
2550
+ anchorElement.setAttribute('aria-expanded', 'false');
2551
+ }
2552
+ else {
2553
+ anchorElement.classList.add('dso-open');
2554
+ anchorElement.setAttribute('aria-expanded', 'true');
2555
+ }
2556
+ return true;
2557
+ }
2558
+ handleContentAnchor(composedPath, event) {
2559
+ if (composedPath.some(e => e instanceof HTMLAnchorElement)) {
2560
+ event.preventDefault();
2561
+ const anchor = composedPath.find((e) => e instanceof HTMLAnchorElement);
2562
+ const href = anchor.href;
2563
+ this.anchorClick.emit({
2564
+ href,
2565
+ documentComponent: href.substr(href.indexOf('#') + 1),
2566
+ originalEvent: event
2567
+ });
2568
+ return true;
2569
+ }
2570
+ return false;
2571
+ }
2572
+ handleValidUrls(composedPath) {
2573
+ var _a;
2574
+ const containerIndex = composedPath.findIndex(this.isHostElement);
2575
+ if (containerIndex === -1) {
2576
+ return false;
2577
+ }
2578
+ return (_a = composedPath.slice(0, containerIndex)) === null || _a === void 0 ? void 0 : _a.some(e => e instanceof HTMLAnchorElement && isURL(e.href));
2579
+ }
2580
+ isHostElement(value) {
2581
+ return value instanceof HTMLElement && value.tagName === 'DSO-OZON-CONTENT';
2582
+ }
2583
+ }
2584
+
2585
+ const ozonContentCss = "dso-ozon-content{display:block}.noot{text-decoration:none}.noot:not(.dso-open)+.od-Al{display:none}.noot.dso-open+.od-Al{display:block}.noot+.od-Al{margin:4px 0;padding:8px 32px 8px 8px;position:relative}.noot+.od-Al>a{display:block;height:24px;position:absolute;right:0;text-align:center;top:0;width:24px}.noot+.od-Al>a::before{background:var(--dso-icon, var(--di-times-zwart)) no-repeat;background-position:center;background-size:cover;height:1.5em;vertical-align:top;width:1.5em;content:\"\";display:block}.noot+.od-Al{background-color:#ebf3e6}.od-Term{font-weight:700}.od-Definitie,.od-Tussenkop{font-style:italic}.od-Inhoud,.od-Inhoud>.od-Lijst,.od-IntIoRef,.od-Lidnr,.od-LiNr,.od-Opschrift,.od-Tussenkop{display:inline}.od-Al,.od-Lijstaanhef{margin-bottom:0.75em}.od-IntIoRef{border-bottom:1px dotted}.od-LiNummer{float:left;min-width:0.7em;padding-right:0.3em;text-align:right}.od-Figuur img{margin-left:25px;max-width:100%;height:auto}.od-Figuur .od-Bijschrift{font-size:0.75rem;margin-left:25px;padding-bottom:2.5rem}.od-Tabel thead{font-weight:600}.od-Kadertekst{border:1px solid #e5e5e5;margin-bottom:1rem;padding:1rem}";
2586
+
2587
+ let OzonContent = class extends HTMLElement {
2588
+ constructor() {
2589
+ super();
2590
+ this.__registerHost();
2591
+ this.anchorClick = createEvent(this, "anchorClick", 7);
2592
+ }
2593
+ handleClick(event) {
2594
+ this.transformer.handleClickEvent(event);
2595
+ }
2596
+ componentWillLoad() {
2597
+ this.transformer = new OzonContentTransformer(this.anchorClick);
2598
+ }
2599
+ componentWillRender() {
2600
+ this.transformer.setContent(this.content);
2601
+ }
2602
+ render() {
2603
+ return h("div", { class: "dso-rich-content", ref: el => this.container = el });
2604
+ }
2605
+ componentDidRender() {
2606
+ var _a;
2607
+ const content = this.transformer.content;
2608
+ if (this.container && content) {
2609
+ this.container.replaceChildren(...Array.from(content));
2610
+ }
2611
+ else {
2612
+ (_a = this.container) === null || _a === void 0 ? void 0 : _a.replaceChildren();
2613
+ }
2614
+ }
2615
+ static get style() { return ozonContentCss; }
2616
+ };
2617
+
2137
2618
  const progressBarCss = ":host{display: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}.progress{background-color:#fff;border:1px solid #39870c;height:16px;margin-bottom:calc(16px + 1em);position:relative}.progress .progress-bar{background-color:#39870c;color:#fff;float:left;font-size:14px;height:100%;line-height:16px;text-align:center;width:0%}.progress .progress-bar>span:not(.sr-only){color:#191919;left:0;position:absolute;top:calc(100% + 8px)}";
2138
2619
 
2139
- const ProgressBar = class extends HTMLElement {
2620
+ let ProgressBar = class extends HTMLElement {
2140
2621
  constructor() {
2141
2622
  super();
2142
2623
  this.__registerHost();
@@ -2154,7 +2635,7 @@ const ProgressBar = class extends HTMLElement {
2154
2635
 
2155
2636
  const progressIndicatorCss = "*,*::after,*::before{box-sizing:border-box}.dso-progress-indicator-spinner{display:inline-block;margin:0;position:relative;vertical-align:middle}span.dso-progress-indicator-label{margin-left:16px;vertical-align:middle}:host{display:block}:host([block]){align-items:center;display:flex;justify-content:center}:host([size=small]) .dso-progress-indicator-spinner,:host(:not([size=medium]):not([size=large])) .dso-progress-indicator-spinner{height:24px;width:24px}:host([size=small]):host([block]),:host(:not([size=medium]):not([size=large])):host([block]){padding:12px 16px}:host([size=medium]) .dso-progress-indicator-spinner{height:32px;width:32px}:host([size=medium]):host([block]){padding:16px}:host([size=large]) .dso-progress-indicator-spinner{height:48px;width:48px}:host([size=large]):host([block]){padding:24px 16px}";
2156
2637
 
2157
- const Progressindicator = class extends HTMLElement {
2638
+ let Progressindicator = class extends HTMLElement {
2158
2639
  constructor() {
2159
2640
  super();
2160
2641
  this.__registerHost();
@@ -2175,7 +2656,7 @@ const Progressindicator = class extends HTMLElement {
2175
2656
 
2176
2657
  const selectableCss = ":host{display:block;padding:0 0 0 32px;position:relative}:host .dso-selectable-options{list-style:none;margin-top:8px;padding-left:0}:host .dso-selectable-options li+li{margin-top:8px}:host label{font-weight:400;line-height:24px;margin:0}:host input[type=checkbox][disabled]+label::before,:host input[type=checkbox][disabled]:active+label::before,:host input[type=checkbox][disabled]:focus+label::before,:host input[type=radio][disabled]+label::before,:host input[type=radio][disabled]:active+label::before,:host input[type=radio][disabled]:focus+label::before{background-color:#fff;box-shadow:0 0 0 2px #e5e5e5}:host input[type=checkbox],:host input[type=radio]{height:24px;left:0;margin:0;opacity:0;position:absolute;top:0;width:24px;z-index:1;zoom:1}:host input[type=checkbox]:not([disabled]),:host input[type=radio]:not([disabled]){cursor:pointer}:host input[type=checkbox]+label,:host input[type=radio]+label{display:inline;font-style:normal;padding-left:0}:host input[type=checkbox]+label::before,:host input[type=radio]+label::before{background:#fff;border:0;box-shadow:0 0 0 2px var(--dso-selectable-color, #275937);content:\"\";height:20px;left:2px;position:absolute;top:2px;width:20px}:host input[type=checkbox]:focus,:host input[type=radio]:focus{outline:0}:host input[type=checkbox]:focus+label::before,:host input[type=radio]:focus+label::before{box-shadow:0 0 0 3px var(--dso-selectable-color, #275937);height:18px;left:3px;top:3px;width:18px}:host input[type=checkbox]:active+label::before,:host input[type=checkbox].active+label::before,:host input[type=radio]:active+label::before,:host input[type=radio].active+label::before{background-color:#ebf3e6;box-shadow:0 0 0 1px #275937;height:22px;left:1px;top:1px;width:22px}:host input[type=checkbox]+label::before{border-radius:4px}:host input[type=checkbox]+label::after{background:transparent;content:\"\";left:6px;opacity:0;position:absolute;top:6px;zoom:1}:host input[type=checkbox]:checked+label::after,:host input[type=checkbox]:indeterminate+label::after{opacity:1}:host input[type=checkbox]:checked+label::after{border:solid;border-color:var(--dso-selectable-color, #39870c);border-top-color:transparent;border-width:0 0 3px 3px;height:8px;transform:rotate(-45deg);width:13px}:host input[type=checkbox]:indeterminate+label::after{background-color:var(--dso-selectable-color, #39870c);height:12px;width:12px}:host input[type=radio]+label::before{border-radius:50%}:host input[type=radio]+label::after{background-color:transparent;border-radius:50%;content:\"\";height:12px;left:6px;opacity:0;position:absolute;top:6px;width:12px;zoom:1}:host input[type=radio]:checked+label::after{background-color:var(--dso-selectable-color, #39870c);opacity:1}:host>dso-info{float:none;margin:8px 16px 0 -32px;width:calc(100% + 32px)}:host(:not(:last-child)){margin-bottom:8px}*,*::after,*::before{box-sizing:border-box}";
2177
2658
 
2178
- const Selectable = class extends HTMLElement {
2659
+ let Selectable = class extends HTMLElement {
2179
2660
  constructor() {
2180
2661
  super();
2181
2662
  this.__registerHost();
@@ -2375,17 +2856,39 @@ function getBasePlacement(placement) {
2375
2856
  return placement.split('-')[0];
2376
2857
  }
2377
2858
 
2378
- function getBoundingClientRect(element) {
2859
+ // import { isHTMLElement } from './instanceOf';
2860
+ function getBoundingClientRect(element, // eslint-disable-next-line unused-imports/no-unused-vars
2861
+ includeScale) {
2862
+
2379
2863
  var rect = element.getBoundingClientRect();
2864
+ var scaleX = 1;
2865
+ var scaleY = 1; // FIXME:
2866
+ // `offsetWidth` returns an integer while `getBoundingClientRect`
2867
+ // returns a float. This results in `scaleX` or `scaleY` being
2868
+ // non-1 when it should be for elements that aren't a full pixel in
2869
+ // width or height.
2870
+ // if (isHTMLElement(element) && includeScale) {
2871
+ // const offsetHeight = element.offsetHeight;
2872
+ // const offsetWidth = element.offsetWidth;
2873
+ // // Do not attempt to divide by 0, otherwise we get `Infinity` as scale
2874
+ // // Fallback to 1 in case both values are `0`
2875
+ // if (offsetWidth > 0) {
2876
+ // scaleX = rect.width / offsetWidth || 1;
2877
+ // }
2878
+ // if (offsetHeight > 0) {
2879
+ // scaleY = rect.height / offsetHeight || 1;
2880
+ // }
2881
+ // }
2882
+
2380
2883
  return {
2381
- width: rect.width,
2382
- height: rect.height,
2383
- top: rect.top,
2384
- right: rect.right,
2385
- bottom: rect.bottom,
2386
- left: rect.left,
2387
- x: rect.left,
2388
- y: rect.top
2884
+ width: rect.width / scaleX,
2885
+ height: rect.height / scaleY,
2886
+ top: rect.top / scaleY,
2887
+ right: rect.right / scaleX,
2888
+ bottom: rect.bottom / scaleY,
2889
+ left: rect.left / scaleX,
2890
+ x: rect.left / scaleX,
2891
+ y: rect.top / scaleY
2389
2892
  };
2390
2893
  }
2391
2894
 
@@ -2640,6 +3143,10 @@ const arrow$1 = {
2640
3143
  requiresIfExists: ['preventOverflow']
2641
3144
  };
2642
3145
 
3146
+ function getVariation(placement) {
3147
+ return placement.split('-')[1];
3148
+ }
3149
+
2643
3150
  var unsetSides = {
2644
3151
  top: 'auto',
2645
3152
  right: 'auto',
@@ -2666,6 +3173,7 @@ function mapToStyles(_ref2) {
2666
3173
  var popper = _ref2.popper,
2667
3174
  popperRect = _ref2.popperRect,
2668
3175
  placement = _ref2.placement,
3176
+ variation = _ref2.variation,
2669
3177
  offsets = _ref2.offsets,
2670
3178
  position = _ref2.position,
2671
3179
  gpuAcceleration = _ref2.gpuAcceleration,
@@ -2692,7 +3200,7 @@ function mapToStyles(_ref2) {
2692
3200
  if (offsetParent === getWindow(popper)) {
2693
3201
  offsetParent = getDocumentElement(popper);
2694
3202
 
2695
- if (getComputedStyle$1(offsetParent).position !== 'static') {
3203
+ if (getComputedStyle$1(offsetParent).position !== 'static' && position === 'absolute') {
2696
3204
  heightProp = 'scrollHeight';
2697
3205
  widthProp = 'scrollWidth';
2698
3206
  }
@@ -2701,14 +3209,14 @@ function mapToStyles(_ref2) {
2701
3209
 
2702
3210
  offsetParent = offsetParent;
2703
3211
 
2704
- if (placement === top) {
3212
+ if (placement === top || (placement === left || placement === right) && variation === end) {
2705
3213
  sideY = bottom; // $FlowFixMe[prop-missing]
2706
3214
 
2707
3215
  y -= offsetParent[heightProp] - popperRect.height;
2708
3216
  y *= gpuAcceleration ? 1 : -1;
2709
3217
  }
2710
3218
 
2711
- if (placement === left) {
3219
+ if (placement === left || (placement === top || placement === bottom) && variation === end) {
2712
3220
  sideX = right; // $FlowFixMe[prop-missing]
2713
3221
 
2714
3222
  x -= offsetParent[widthProp] - popperRect.width;
@@ -2723,7 +3231,7 @@ function mapToStyles(_ref2) {
2723
3231
  if (gpuAcceleration) {
2724
3232
  var _Object$assign;
2725
3233
 
2726
- return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
3234
+ return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
2727
3235
  }
2728
3236
 
2729
3237
  return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
@@ -2741,6 +3249,7 @@ function computeStyles(_ref4) {
2741
3249
 
2742
3250
  var commonStyles = {
2743
3251
  placement: getBasePlacement(state.placement),
3252
+ variation: getVariation(state.placement),
2744
3253
  popper: state.elements.popper,
2745
3254
  popperRect: state.rects.popper,
2746
3255
  gpuAcceleration: gpuAcceleration
@@ -3043,10 +3552,6 @@ function getClippingRect(element, boundary, rootBoundary) {
3043
3552
  return clippingRect;
3044
3553
  }
3045
3554
 
3046
- function getVariation(placement) {
3047
- return placement.split('-')[1];
3048
- }
3049
-
3050
3555
  function computeOffsets(_ref) {
3051
3556
  var reference = _ref.reference,
3052
3557
  element = _ref.element,
@@ -3132,11 +3637,10 @@ function detectOverflow(state, options) {
3132
3637
  padding = _options$padding === void 0 ? 0 : _options$padding;
3133
3638
  var paddingObject = mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
3134
3639
  var altContext = elementContext === popper ? reference : popper;
3135
- var referenceElement = state.elements.reference;
3136
3640
  var popperRect = state.rects.popper;
3137
3641
  var element = state.elements[altBoundary ? altContext : elementContext];
3138
3642
  var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
3139
- var referenceClientRect = getBoundingClientRect(referenceElement);
3643
+ var referenceClientRect = getBoundingClientRect(state.elements.reference);
3140
3644
  var popperOffsets = computeOffsets({
3141
3645
  reference: referenceClientRect,
3142
3646
  element: popperRect,
@@ -3613,16 +4117,24 @@ function getNodeScroll(node) {
3613
4117
  }
3614
4118
  }
3615
4119
 
4120
+ function isElementScaled(element) {
4121
+ var rect = element.getBoundingClientRect();
4122
+ var scaleX = rect.width / element.offsetWidth || 1;
4123
+ var scaleY = rect.height / element.offsetHeight || 1;
4124
+ return scaleX !== 1 || scaleY !== 1;
4125
+ } // Returns the composite rect of an element relative to its offsetParent.
3616
4126
  // Composite means it takes into account transforms as well as layout.
3617
4127
 
4128
+
3618
4129
  function getCompositeRect(elementOrVirtualElement, offsetParent, isFixed) {
3619
4130
  if (isFixed === void 0) {
3620
4131
  isFixed = false;
3621
4132
  }
3622
4133
 
4134
+ var isOffsetParentAnElement = isHTMLElement(offsetParent);
4135
+ isHTMLElement(offsetParent) && isElementScaled(offsetParent);
3623
4136
  var documentElement = getDocumentElement(offsetParent);
3624
4137
  var rect = getBoundingClientRect(elementOrVirtualElement);
3625
- var isOffsetParentAnElement = isHTMLElement(offsetParent);
3626
4138
  var scroll = {
3627
4139
  scrollLeft: 0,
3628
4140
  scrollTop: 0
@@ -3776,7 +4288,8 @@ function popperGenerator(generatorOptions) {
3776
4288
  var isDestroyed = false;
3777
4289
  var instance = {
3778
4290
  state: state,
3779
- setOptions: function setOptions(options) {
4291
+ setOptions: function setOptions(setOptionsAction) {
4292
+ var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
3780
4293
  cleanupModifierEffects();
3781
4294
  state.options = Object.assign({}, defaultOptions, state.options, options);
3782
4295
  state.scrollParents = {
@@ -3929,7 +4442,7 @@ const tooltipCss = ":host(:not([hidden])){display:block}*,*::after,*::before{box
3929
4442
 
3930
4443
  // Keep const in sync with $tooltip-transition-duration in @dso-toolkit/sources/tooltip.scss tooltip_root() mixin
3931
4444
  const transitionDuration = 150;
3932
- const Tooltip = class extends HTMLElement {
4445
+ let Tooltip = class extends HTMLElement {
3933
4446
  constructor() {
3934
4447
  super();
3935
4448
  this.__registerHost();
@@ -4075,6 +4588,7 @@ const DsoLabel = /*@__PURE__*/proxyCustomElement(Label, [1,"dso-label",{"compact
4075
4588
  const DsoMapBaseLayers = /*@__PURE__*/proxyCustomElement(MapBaseLayers, [1,"dso-map-base-layers",{"baseLayers":[16],"selectedBaseLayer":[1040]}]);
4076
4589
  const DsoMapControls = /*@__PURE__*/proxyCustomElement(MapControls, [1,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32]}]);
4077
4590
  const DsoMapOverlays = /*@__PURE__*/proxyCustomElement(MapOverlays, [1,"dso-map-overlays",{"overlays":[16],"checkedOverlays":[1040]}]);
4591
+ const DsoOzonContent = /*@__PURE__*/proxyCustomElement(OzonContent, [0,"dso-ozon-content",{"content":[1]},[[0,"click","handleClick"]]]);
4078
4592
  const DsoProgressBar = /*@__PURE__*/proxyCustomElement(ProgressBar, [1,"dso-progress-bar",{"progress":[2],"min":[2],"max":[2]}]);
4079
4593
  const DsoProgressIndicator = /*@__PURE__*/proxyCustomElement(Progressindicator, [1,"dso-progress-indicator",{"label":[1],"size":[1],"block":[4]}]);
4080
4594
  const DsoSelectable = /*@__PURE__*/proxyCustomElement(Selectable, [1,"dso-selectable",{"type":[1],"identifier":[1],"name":[1],"value":[1],"invalid":[4],"describedById":[1,"described-by-id"],"disabled":[4],"required":[4],"checked":[4],"indeterminate":[4],"infoFixed":[4,"info-fixed"],"infoActive":[32]}]);
@@ -4097,6 +4611,7 @@ const defineCustomElements = (opts) => {
4097
4611
  DsoMapBaseLayers,
4098
4612
  DsoMapControls,
4099
4613
  DsoMapOverlays,
4614
+ DsoOzonContent,
4100
4615
  DsoProgressBar,
4101
4616
  DsoProgressIndicator,
4102
4617
  DsoSelectable,
@@ -4109,4 +4624,4 @@ const defineCustomElements = (opts) => {
4109
4624
  }
4110
4625
  };
4111
4626
 
4112
- export { DsoAlert, DsoAttachmentsCounter, DsoAutosuggest, DsoBadge, DsoBanner, DsoDatePicker, DsoDropdownMenu, DsoHighlightBox, DsoIcon, DsoInfo, DsoInfoButton, DsoLabel, DsoMapBaseLayers, DsoMapControls, DsoMapOverlays, DsoProgressBar, DsoProgressIndicator, DsoSelectable, DsoTooltip, defineCustomElements };
4627
+ export { DsoAlert, DsoAttachmentsCounter, DsoAutosuggest, DsoBadge, DsoBanner, DsoDatePicker, DsoDropdownMenu, DsoHighlightBox, DsoIcon, DsoInfo, DsoInfoButton, DsoLabel, DsoMapBaseLayers, DsoMapControls, DsoMapOverlays, DsoOzonContent, DsoProgressBar, DsoProgressIndicator, DsoSelectable, DsoTooltip, defineCustomElements };