@dso-toolkit/core 45.1.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 (349) 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 +11 -9
  6. package/dist/cjs/dso-attachments-counter.cjs.entry.js +4 -3
  7. package/dist/cjs/dso-autosuggest.cjs.entry.js +36 -61
  8. package/dist/cjs/dso-badge.cjs.entry.js +5 -4
  9. package/dist/cjs/dso-banner.cjs.entry.js +5 -4
  10. package/dist/cjs/dso-date-picker.cjs.entry.js +89 -129
  11. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +9 -21
  12. package/dist/cjs/dso-header.cjs.entry.js +24 -30
  13. package/dist/cjs/dso-helpcenter-panel.cjs.entry.js +23 -22
  14. package/dist/cjs/dso-highlight-box.cjs.entry.js +17 -12
  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 +135 -145
  25. package/dist/cjs/dso-pagination.cjs.entry.js +23 -29
  26. package/dist/cjs/dso-progress-bar.cjs.entry.js +4 -3
  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 +89 -0
  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 +4 -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.css +10 -10
  45. package/dist/collection/components/alert/alert.js +58 -53
  46. package/dist/collection/components/attachments-counter/attachments-counter.js +36 -33
  47. package/dist/collection/components/autosuggest/autosuggest.js +223 -240
  48. package/dist/collection/components/badge/badge.js +37 -29
  49. package/dist/collection/components/banner/banner.js +37 -29
  50. package/dist/collection/components/date-picker/date-localization.js +24 -45
  51. package/dist/collection/components/date-picker/date-picker-day.js +3 -5
  52. package/dist/collection/components/date-picker/date-picker-month.js +2 -10
  53. package/dist/collection/components/date-picker/date-picker.css +2 -2
  54. package/dist/collection/components/date-picker/date-picker.js +386 -436
  55. package/dist/collection/components/date-picker/date-utils.js +15 -15
  56. package/dist/collection/components/dropdown-menu/dropdown-menu.js +73 -82
  57. package/dist/collection/components/header/header.css +24 -17
  58. package/dist/collection/components/header/header.js +210 -246
  59. package/dist/collection/components/helpcenter-panel/helpcenter-panel.css +18 -2
  60. package/dist/collection/components/helpcenter-panel/helpcenter-panel.js +94 -90
  61. package/dist/collection/components/highlight-box/highlight-box.css +1 -1
  62. package/dist/collection/components/highlight-box/highlight-box.js +112 -101
  63. package/dist/collection/components/icon/icon.js +220 -209
  64. package/dist/collection/components/image-overlay/image-overlay.js +38 -44
  65. package/dist/collection/components/info/info.js +73 -65
  66. package/dist/collection/components/info-button/info-button.js +113 -102
  67. package/dist/collection/components/label/label.js +151 -140
  68. package/dist/collection/components/map-base-layers/map-base-layers.js +75 -74
  69. package/dist/collection/components/map-controls/map-controls.js +115 -116
  70. package/dist/collection/components/map-overlays/map-overlays.js +75 -74
  71. package/dist/collection/components/modal/modal.css +155 -0
  72. package/dist/collection/components/modal/modal.js +133 -0
  73. package/dist/collection/components/ozon-content/get-node-name.function.js +2 -2
  74. package/dist/collection/components/ozon-content/nodes/al.node.js +6 -8
  75. package/dist/collection/components/ozon-content/nodes/document.node.js +2 -2
  76. package/dist/collection/components/ozon-content/nodes/ext-ref.node.js +4 -9
  77. package/dist/collection/components/ozon-content/nodes/fallback.node.js +4 -4
  78. package/dist/collection/components/ozon-content/nodes/figuur.node.js +20 -32
  79. package/dist/collection/components/ozon-content/nodes/inhoud.node.js +2 -6
  80. package/dist/collection/components/ozon-content/nodes/inline-tekst-afbeelding.node.js +3 -6
  81. package/dist/collection/components/ozon-content/nodes/inline.nodes.js +3 -11
  82. package/dist/collection/components/ozon-content/nodes/int-io-ref.node.js +4 -4
  83. package/dist/collection/components/ozon-content/nodes/int-ref.node.js +4 -4
  84. package/dist/collection/components/ozon-content/nodes/lijst.node.js +20 -0
  85. package/dist/collection/components/ozon-content/nodes/noot.node.js +9 -13
  86. package/dist/collection/components/ozon-content/nodes/opschrift.node.js +2 -2
  87. package/dist/collection/components/ozon-content/nodes/table.node/colspec/colspec-mapper.js +11 -11
  88. package/dist/collection/components/ozon-content/nodes/table.node/colspec/colspec.interface.js +0 -1
  89. package/dist/collection/components/ozon-content/nodes/table.node/index.js +1 -1
  90. package/dist/collection/components/ozon-content/nodes/table.node/table-cell.js +8 -8
  91. package/dist/collection/components/ozon-content/nodes/table.node/table-colgroup.js +2 -4
  92. package/dist/collection/components/ozon-content/nodes/table.node/table-rows.js +3 -3
  93. package/dist/collection/components/ozon-content/nodes/table.node/table.node.js +13 -19
  94. package/dist/collection/components/ozon-content/nodes/text.node.js +2 -2
  95. package/dist/collection/components/ozon-content/ozon-content-mapper.js +28 -24
  96. package/dist/collection/components/ozon-content/ozon-content.css +18 -9
  97. package/dist/collection/components/ozon-content/ozon-content.interfaces.js +0 -1
  98. package/dist/collection/components/ozon-content/ozon-content.js +138 -151
  99. package/dist/collection/components/pagination/pagination.js +119 -126
  100. package/dist/collection/components/progress-bar/progress-bar.css +1 -1
  101. package/dist/collection/components/progress-bar/progress-bar.js +68 -65
  102. package/dist/collection/components/progress-indicator/progress-indicator.js +76 -70
  103. package/dist/collection/components/responsive-element/responsive-element.js +70 -58
  104. package/dist/collection/components/selectable/selectable.js +260 -243
  105. package/dist/collection/components/table/table.css +283 -0
  106. package/dist/collection/components/table/table.interfaces.js +1 -0
  107. package/dist/collection/components/table/table.js +135 -0
  108. package/dist/collection/components/toggletip/toggletip.js +94 -87
  109. package/dist/collection/components/tooltip/tooltip.js +252 -254
  110. package/dist/collection/components/tree-view/tree-item.js +5 -19
  111. package/dist/collection/components/tree-view/tree-view.js +151 -139
  112. package/dist/collection/components/viewer-grid/viewer-grid-filterpanel-buttons.js +2 -7
  113. package/dist/collection/components/viewer-grid/viewer-grid.css +4 -84
  114. package/dist/collection/components/viewer-grid/viewer-grid.js +181 -198
  115. package/dist/collection/index.js +2 -2
  116. package/dist/collection/utils/create-identifier.js +1 -3
  117. package/dist/custom-elements/index.d.ts +12 -0
  118. package/dist/custom-elements/index.js +1301 -1328
  119. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  120. package/dist/dso-toolkit/p-0917f18a.entry.js +1 -0
  121. package/dist/dso-toolkit/p-0c8cd0d8.entry.js +1 -0
  122. package/dist/dso-toolkit/p-19323600.entry.js +1 -0
  123. package/dist/dso-toolkit/p-2b83a825.entry.js +1 -0
  124. package/dist/dso-toolkit/p-2fa96ac0.entry.js +1 -0
  125. package/dist/dso-toolkit/p-3635427a.js +5 -0
  126. package/dist/dso-toolkit/p-39a33b89.entry.js +1 -0
  127. package/dist/dso-toolkit/p-3ab4441a.entry.js +1 -0
  128. package/dist/dso-toolkit/p-3bd6cf49.entry.js +1 -0
  129. package/dist/dso-toolkit/p-3ebba0dc.entry.js +1 -0
  130. package/dist/dso-toolkit/p-427f6d90.entry.js +1 -0
  131. package/dist/dso-toolkit/p-44c0bb3e.entry.js +1 -0
  132. package/dist/dso-toolkit/p-4b994946.entry.js +1 -0
  133. package/dist/dso-toolkit/p-5d7f4ff2.js +1 -0
  134. package/dist/dso-toolkit/{p-4070c1e5.js → p-6a1980b4.js} +0 -0
  135. package/dist/dso-toolkit/{p-7b37bd52.js → p-6c543986.js} +0 -0
  136. package/dist/dso-toolkit/p-746dc38a.entry.js +1 -0
  137. package/dist/dso-toolkit/p-76a1428a.entry.js +1 -0
  138. package/dist/dso-toolkit/p-800e1267.entry.js +1 -0
  139. package/dist/dso-toolkit/p-85d516c5.entry.js +1 -0
  140. package/dist/dso-toolkit/{p-22c35db5.js → p-89d262b7.js} +2 -2
  141. package/dist/dso-toolkit/p-8c8286e6.entry.js +1 -0
  142. package/dist/dso-toolkit/p-8f35c8f8.js +2 -0
  143. package/dist/dso-toolkit/p-a4086aa3.entry.js +1 -0
  144. package/dist/dso-toolkit/p-a9baa631.entry.js +1 -0
  145. package/dist/dso-toolkit/p-c4cf2359.entry.js +1 -0
  146. package/dist/dso-toolkit/p-c7ec6e6e.entry.js +1 -0
  147. package/dist/dso-toolkit/p-c9ad94a6.entry.js +1 -0
  148. package/dist/dso-toolkit/p-daba2d98.entry.js +1 -0
  149. package/dist/dso-toolkit/p-dad32839.entry.js +1 -0
  150. package/dist/dso-toolkit/p-dcc74039.entry.js +1 -0
  151. package/dist/dso-toolkit/p-e0a37d82.entry.js +1 -0
  152. package/dist/dso-toolkit/p-e43e39cf.entry.js +1 -0
  153. package/dist/dso-toolkit/p-e8b22546.entry.js +1 -0
  154. package/dist/dso-toolkit/p-ec25868b.entry.js +1 -0
  155. package/dist/dso-toolkit/p-f93b7c7a.entry.js +1 -0
  156. package/dist/dso-toolkit/p-ff72ee4c.entry.js +1 -0
  157. package/dist/esm/clsx.m-25174a58.js +3 -0
  158. package/dist/esm/{create-identifier-22acd3a3.js → create-identifier-51ee50c4.js} +1 -3
  159. package/dist/esm/dso-accordion-section.entry.js +37 -33
  160. package/dist/esm/dso-accordion.entry.js +17 -19
  161. package/dist/esm/dso-alert.entry.js +11 -9
  162. package/dist/esm/dso-attachments-counter.entry.js +4 -3
  163. package/dist/esm/dso-autosuggest.entry.js +36 -61
  164. package/dist/esm/dso-badge.entry.js +5 -4
  165. package/dist/esm/dso-banner.entry.js +5 -4
  166. package/dist/esm/dso-date-picker.entry.js +89 -129
  167. package/dist/esm/dso-dropdown-menu.entry.js +9 -21
  168. package/dist/esm/dso-header.entry.js +24 -30
  169. package/dist/esm/dso-helpcenter-panel.entry.js +23 -22
  170. package/dist/esm/dso-highlight-box.entry.js +17 -12
  171. package/dist/esm/dso-icon.entry.js +389 -385
  172. package/dist/esm/dso-image-overlay.entry.js +13 -13
  173. package/dist/esm/dso-info-button.entry.js +7 -5
  174. package/dist/esm/dso-info_2.entry.js +22 -9
  175. package/dist/esm/dso-label.entry.js +30 -18
  176. package/dist/esm/dso-map-base-layers.entry.js +7 -8
  177. package/dist/esm/dso-map-controls.entry.js +10 -8
  178. package/dist/esm/dso-map-overlays.entry.js +7 -8
  179. package/dist/esm/dso-modal.entry.js +58 -0
  180. package/dist/esm/dso-ozon-content.entry.js +135 -145
  181. package/dist/esm/dso-pagination.entry.js +23 -29
  182. package/dist/esm/dso-progress-bar.entry.js +4 -3
  183. package/dist/esm/dso-progress-indicator.entry.js +11 -8
  184. package/dist/esm/dso-responsive-element.entry.js +13 -10
  185. package/dist/esm/dso-table.entry.js +85 -0
  186. package/dist/esm/dso-toggletip.entry.js +9 -7
  187. package/dist/esm/dso-toolkit.js +3 -3
  188. package/dist/esm/dso-tooltip.entry.js +103 -104
  189. package/dist/esm/dso-tree-view.entry.js +39 -44
  190. package/dist/esm/dso-viewer-grid.entry.js +31 -32
  191. package/dist/esm/{focus-trap.esm-e3b5bde3.js → focus-trap.esm-33203b60.js} +1 -1
  192. package/dist/esm/{index-771c1291.js → index-1a4dda48.js} +486 -500
  193. package/dist/esm/{index.esm-4510c39e.js → index.esm-8fc07ad8.js} +50 -112
  194. package/dist/esm/loader.js +3 -3
  195. package/dist/esm/polyfills/css-shim.js +1 -1
  196. package/dist/esm/v4-d398bde5.js +66 -0
  197. package/dist/types/components/accordion/accordion.d.ts +2 -2
  198. package/dist/types/components/accordion/accordion.interfaces.d.ts +3 -3
  199. package/dist/types/components/accordion/components/accordion-section.d.ts +2 -2
  200. package/dist/types/components/alert/alert.d.ts +1 -1
  201. package/dist/types/components/autosuggest/autosuggest.d.ts +3 -3
  202. package/dist/types/components/badge/badge.d.ts +1 -1
  203. package/dist/types/components/banner/banner.d.ts +1 -1
  204. package/dist/types/components/date-picker/date-picker.d.ts +1 -1
  205. package/dist/types/components/header/header.d.ts +2 -2
  206. package/dist/types/components/header/header.interfaces.d.ts +1 -1
  207. package/dist/types/components/helpcenter-panel/helpcenter-panel.d.ts +1 -1
  208. package/dist/types/components/image-overlay/image-overlay.d.ts +1 -1
  209. package/dist/types/components/info/info.d.ts +1 -1
  210. package/dist/types/components/info-button/info-button.d.ts +1 -1
  211. package/dist/types/components/label/label.d.ts +2 -2
  212. package/dist/types/components/map-base-layers/map-base-layers.d.ts +2 -2
  213. package/dist/types/components/map-controls/map-controls.d.ts +2 -2
  214. package/dist/types/components/map-overlays/map-overlays.d.ts +3 -3
  215. package/dist/types/components/modal/modal.d.ts +22 -0
  216. package/dist/types/components/ozon-content/nodes/al.node.d.ts +2 -2
  217. package/dist/types/components/ozon-content/nodes/document.node.d.ts +2 -2
  218. package/dist/types/components/ozon-content/nodes/ext-ref.node.d.ts +2 -2
  219. package/dist/types/components/ozon-content/nodes/fallback.node.d.ts +2 -2
  220. package/dist/types/components/ozon-content/nodes/figuur.node.d.ts +2 -2
  221. package/dist/types/components/ozon-content/nodes/inhoud.node.d.ts +2 -2
  222. package/dist/types/components/ozon-content/nodes/inline-tekst-afbeelding.node.d.ts +1 -1
  223. package/dist/types/components/ozon-content/nodes/inline.nodes.d.ts +2 -2
  224. package/dist/types/components/ozon-content/nodes/int-io-ref.node.d.ts +2 -2
  225. package/dist/types/components/ozon-content/nodes/int-ref.node.d.ts +2 -2
  226. package/dist/types/components/ozon-content/nodes/lijst.node.d.ts +6 -0
  227. package/dist/types/components/ozon-content/nodes/noot.node.d.ts +2 -2
  228. package/dist/types/components/ozon-content/nodes/opschrift.node.d.ts +2 -2
  229. package/dist/types/components/ozon-content/nodes/table.node/colspec/colspec-mapper.d.ts +1 -1
  230. package/dist/types/components/ozon-content/nodes/table.node/index.d.ts +1 -1
  231. package/dist/types/components/ozon-content/nodes/table.node/table-cell.d.ts +3 -3
  232. package/dist/types/components/ozon-content/nodes/table.node/table-colgroup.d.ts +2 -2
  233. package/dist/types/components/ozon-content/nodes/table.node/table-rows.d.ts +3 -3
  234. package/dist/types/components/ozon-content/nodes/table.node/table.node.d.ts +2 -2
  235. package/dist/types/components/ozon-content/nodes/text.node.d.ts +1 -1
  236. package/dist/types/components/ozon-content/ozon-content-context.interface.d.ts +4 -4
  237. package/dist/types/components/ozon-content/ozon-content-mapper.d.ts +2 -1
  238. package/dist/types/components/ozon-content/ozon-content-node-context.interface.d.ts +2 -1
  239. package/dist/types/components/ozon-content/ozon-content-node.interface.d.ts +2 -1
  240. package/dist/types/components/ozon-content/ozon-content.d.ts +5 -4
  241. package/dist/types/components/pagination/pagination.d.ts +3 -3
  242. package/dist/types/components/progress-indicator/progress-indicator.d.ts +1 -1
  243. package/dist/types/components/responsive-element/responsive-element.d.ts +2 -2
  244. package/dist/types/components/responsive-element/responsive-element.interfaces.d.ts +1 -1
  245. package/dist/types/components/selectable/selectable.d.ts +2 -2
  246. package/dist/types/components/table/table.d.ts +26 -0
  247. package/dist/types/components/table/table.interfaces.d.ts +3 -0
  248. package/dist/types/components/tooltip/tooltip.d.ts +2 -2
  249. package/dist/types/components/tree-view/tree-item.d.ts +3 -3
  250. package/dist/types/components/tree-view/tree-view.d.ts +5 -5
  251. package/dist/types/components/viewer-grid/viewer-grid-filterpanel-buttons.d.ts +1 -1
  252. package/dist/types/components/viewer-grid/viewer-grid.d.ts +2 -1
  253. package/dist/types/components.d.ts +181 -58
  254. package/dist/types/globals.d.ts +16 -16
  255. package/dist/types/index.d.ts +3 -3
  256. package/dist/types/stencil-public-runtime.d.ts +26 -8
  257. package/loader/package.json +1 -0
  258. package/package.json +15 -16
  259. package/readme.md +3 -3
  260. package/dist/cjs/clsx.m-b00fa5e1.js +0 -44
  261. package/dist/cjs/v4-8e8d6fbc.js +0 -77
  262. package/dist/collection/components/accordion/accordion.template.js +0 -26
  263. package/dist/collection/components/alert/alert.template.js +0 -20
  264. package/dist/collection/components/attachments-counter/attachments-counter.template.js +0 -6
  265. package/dist/collection/components/autosuggest/autosuggest.template.js +0 -19
  266. package/dist/collection/components/badge/badge.template.js +0 -7
  267. package/dist/collection/components/banner/banner.template.js +0 -19
  268. package/dist/collection/components/date-picker/date-picker.template.js +0 -16
  269. package/dist/collection/components/dropdown-menu/dropdown-menu.template.js +0 -36
  270. package/dist/collection/components/header/header.template.js +0 -18
  271. package/dist/collection/components/helpcenter-panel/helpcenter-panel.template.js +0 -13
  272. package/dist/collection/components/highlight-box/highlight-box.template.js +0 -20
  273. package/dist/collection/components/icon/icon.template.js +0 -10
  274. package/dist/collection/components/image-overlay/image-overlay.template.js +0 -15
  275. package/dist/collection/components/info/info.template.js +0 -12
  276. package/dist/collection/components/info-button/info-button.template.js +0 -11
  277. package/dist/collection/components/label/label.template.js +0 -23
  278. package/dist/collection/components/map-controls/map-controls.template.js +0 -23
  279. package/dist/collection/components/ozon-content/ozon-content.template.js +0 -14
  280. package/dist/collection/components/pagination/pagination.template.js +0 -11
  281. package/dist/collection/components/progress-bar/progress-bar.template.js +0 -11
  282. package/dist/collection/components/progress-indicator/progress-indicator.template.js +0 -11
  283. package/dist/collection/components/responsive-element/responsive-element.template.js +0 -10
  284. package/dist/collection/components/selectable/selectable.template.js +0 -24
  285. package/dist/collection/components/toggletip/toggletip.template.js +0 -12
  286. package/dist/collection/components/tooltip/tooltip.template.js +0 -7
  287. package/dist/collection/components/tree-view/tree-view.template.js +0 -11
  288. package/dist/collection/components/viewer-grid/viewer-grid.template.js +0 -20
  289. package/dist/dso-toolkit/p-02b2e01c.entry.js +0 -1
  290. package/dist/dso-toolkit/p-05a9e206.entry.js +0 -1
  291. package/dist/dso-toolkit/p-19b890a3.js +0 -1
  292. package/dist/dso-toolkit/p-2e74485e.entry.js +0 -1
  293. package/dist/dso-toolkit/p-2f6b1092.entry.js +0 -1
  294. package/dist/dso-toolkit/p-3381c859.entry.js +0 -1
  295. package/dist/dso-toolkit/p-37a34037.entry.js +0 -1
  296. package/dist/dso-toolkit/p-42450cfe.js +0 -1
  297. package/dist/dso-toolkit/p-4c44d27c.entry.js +0 -1
  298. package/dist/dso-toolkit/p-4fd140e9.entry.js +0 -1
  299. package/dist/dso-toolkit/p-53c7bf4f.entry.js +0 -1
  300. package/dist/dso-toolkit/p-67b11174.entry.js +0 -1
  301. package/dist/dso-toolkit/p-6cac0292.entry.js +0 -1
  302. package/dist/dso-toolkit/p-7213783b.entry.js +0 -1
  303. package/dist/dso-toolkit/p-73bbb9a6.entry.js +0 -1
  304. package/dist/dso-toolkit/p-8515d157.entry.js +0 -1
  305. package/dist/dso-toolkit/p-93b53eb7.entry.js +0 -1
  306. package/dist/dso-toolkit/p-ac0c0eee.entry.js +0 -1
  307. package/dist/dso-toolkit/p-b1a75b67.entry.js +0 -1
  308. package/dist/dso-toolkit/p-b6afe104.entry.js +0 -1
  309. package/dist/dso-toolkit/p-b9531adb.entry.js +0 -1
  310. package/dist/dso-toolkit/p-c339891f.entry.js +0 -1
  311. package/dist/dso-toolkit/p-d2255268.entry.js +0 -1
  312. package/dist/dso-toolkit/p-d6192ab8.entry.js +0 -1
  313. package/dist/dso-toolkit/p-de50f5f1.entry.js +0 -1
  314. package/dist/dso-toolkit/p-e16b5d71.entry.js +0 -1
  315. package/dist/dso-toolkit/p-e2e2106e.entry.js +0 -1
  316. package/dist/dso-toolkit/p-ea1d4c81.entry.js +0 -1
  317. package/dist/dso-toolkit/p-ec3b8800.entry.js +0 -1
  318. package/dist/dso-toolkit/p-efd815dc.entry.js +0 -1
  319. package/dist/dso-toolkit/p-f42d8240.entry.js +0 -1
  320. package/dist/dso-toolkit/p-f8b023c4.js +0 -5
  321. package/dist/esm/clsx.m-071989db.js +0 -42
  322. package/dist/esm/v4-fa4bb814.js +0 -75
  323. package/dist/types/components/accordion/accordion.template.d.ts +0 -2
  324. package/dist/types/components/alert/alert.template.d.ts +0 -3
  325. package/dist/types/components/attachments-counter/attachments-counter.template.d.ts +0 -2
  326. package/dist/types/components/autosuggest/autosuggest.template.d.ts +0 -3
  327. package/dist/types/components/badge/badge.template.d.ts +0 -2
  328. package/dist/types/components/banner/banner.template.d.ts +0 -3
  329. package/dist/types/components/date-picker/date-picker.template.d.ts +0 -2
  330. package/dist/types/components/dropdown-menu/dropdown-menu.template.d.ts +0 -2
  331. package/dist/types/components/header/header.template.d.ts +0 -2
  332. package/dist/types/components/helpcenter-panel/helpcenter-panel.template.d.ts +0 -2
  333. package/dist/types/components/highlight-box/highlight-box.template.d.ts +0 -3
  334. package/dist/types/components/icon/icon.template.d.ts +0 -2
  335. package/dist/types/components/image-overlay/image-overlay.template.d.ts +0 -2
  336. package/dist/types/components/info/info.template.d.ts +0 -3
  337. package/dist/types/components/info-button/info-button.template.d.ts +0 -2
  338. package/dist/types/components/label/label.template.d.ts +0 -2
  339. package/dist/types/components/map-controls/map-controls.template.d.ts +0 -2
  340. package/dist/types/components/ozon-content/ozon-content.template.d.ts +0 -2
  341. package/dist/types/components/pagination/pagination.template.d.ts +0 -2
  342. package/dist/types/components/progress-bar/progress-bar.template.d.ts +0 -2
  343. package/dist/types/components/progress-indicator/progress-indicator.template.d.ts +0 -2
  344. package/dist/types/components/responsive-element/responsive-element.template.d.ts +0 -3
  345. package/dist/types/components/selectable/selectable.template.d.ts +0 -3
  346. package/dist/types/components/toggletip/toggletip.template.d.ts +0 -2
  347. package/dist/types/components/tooltip/tooltip.template.d.ts +0 -2
  348. package/dist/types/components/tree-view/tree-view.template.d.ts +0 -2
  349. package/dist/types/components/viewer-grid/viewer-grid.template.d.ts +0 -3
@@ -1,192 +1,197 @@
1
- import { Component, h, Prop } from '@stencil/core';
2
- import air from '@dso-toolkit/sources/src/icons/air.svg';
3
- import angleDown from '@dso-toolkit/sources/src/icons/angle-down.svg';
4
- import angleLeft from '@dso-toolkit/sources/src/icons/angle-left.svg';
5
- import angleRight from '@dso-toolkit/sources/src/icons/angle-right.svg';
6
- import angleUp from '@dso-toolkit/sources/src/icons/angle-up.svg';
7
- import balloon from '@dso-toolkit/sources/src/icons/balloon.svg';
8
- import bars from '@dso-toolkit/sources/src/icons/bars.svg';
9
- import buildings from '@dso-toolkit/sources/src/icons/buildings.svg';
10
- import calendar from '@dso-toolkit/sources/src/icons/calendar.svg';
11
- import call from '@dso-toolkit/sources/src/icons/call.svg';
12
- import caretDown from '@dso-toolkit/sources/src/icons/caret-down.svg';
13
- import check from '@dso-toolkit/sources/src/icons/check.svg';
14
- import checkCircle from '@dso-toolkit/sources/src/icons/check-circle.svg';
15
- import chevronDown from '@dso-toolkit/sources/src/icons/chevron-down.svg';
16
- import chevronLeft from '@dso-toolkit/sources/src/icons/chevron-left.svg';
17
- import chevronRight from '@dso-toolkit/sources/src/icons/chevron-right.svg';
18
- import chevronUp from '@dso-toolkit/sources/src/icons/chevron-up.svg';
19
- import circleNotch from '@dso-toolkit/sources/src/icons/circle-notch.svg';
20
- import clock from '@dso-toolkit/sources/src/icons/clock.svg';
21
- import copy from '@dso-toolkit/sources/src/icons/copy.svg';
22
- import crown from '@dso-toolkit/sources/src/icons/crown.svg';
23
- import cultural from '@dso-toolkit/sources/src/icons/cultural.svg';
24
- import document from '@dso-toolkit/sources/src/icons/document.svg';
25
- import download from '@dso-toolkit/sources/src/icons/download.svg';
26
- import email from '@dso-toolkit/sources/src/icons/email.svg';
27
- import energy from '@dso-toolkit/sources/src/icons/energy.svg';
28
- import environment from '@dso-toolkit/sources/src/icons/environment.svg';
29
- import exclamation from '@dso-toolkit/sources/src/icons/exclamation.svg';
30
- import externalLink from '@dso-toolkit/sources/src/icons/external-link.svg';
31
- import eyeSlash from '@dso-toolkit/sources/src/icons/eye-slash.svg';
32
- import eye from '@dso-toolkit/sources/src/icons/eye.svg';
33
- import filter from '@dso-toolkit/sources/src/icons/filter.svg';
34
- import forbidden from '@dso-toolkit/sources/src/icons/forbidden.svg';
35
- import health from '@dso-toolkit/sources/src/icons/health.svg';
36
- import helpActive from '@dso-toolkit/sources/src/icons/help-active.svg';
37
- import help from '@dso-toolkit/sources/src/icons/help.svg';
38
- import house from '@dso-toolkit/sources/src/icons/house.svg';
39
- import infoActive from '@dso-toolkit/sources/src/icons/info-active.svg';
40
- import infoI from '@dso-toolkit/sources/src/icons/info-i.svg';
41
- import info from '@dso-toolkit/sources/src/icons/info.svg';
42
- import infrastructure from '@dso-toolkit/sources/src/icons/infrastructure.svg';
43
- import label from '@dso-toolkit/sources/src/icons/label.svg';
44
- import land from '@dso-toolkit/sources/src/icons/land.svg';
45
- import landscape from '@dso-toolkit/sources/src/icons/landscape.svg';
46
- import layers from '@dso-toolkit/sources/src/icons/layers.svg';
47
- import location from '@dso-toolkit/sources/src/icons/location.svg';
48
- import locationOutline from '@dso-toolkit/sources/src/icons/location-outline.svg';
49
- import locationSearch from '@dso-toolkit/sources/src/icons/location-search.svg';
50
- import lock from '@dso-toolkit/sources/src/icons/lock.svg';
51
- import magnet from '@dso-toolkit/sources/src/icons/magnet.svg';
52
- import mapLocation from '@dso-toolkit/sources/src/icons/map-location.svg';
53
- import marker from '@dso-toolkit/sources/src/icons/marker.svg';
54
- import measurement from '@dso-toolkit/sources/src/icons/measurement.svg';
55
- import minusSquare from '@dso-toolkit/sources/src/icons/minus-square.svg';
56
- import minus from '@dso-toolkit/sources/src/icons/minus.svg';
57
- import more from '@dso-toolkit/sources/src/icons/more.svg';
58
- import municipality from '@dso-toolkit/sources/src/icons/municipality.svg';
59
- import nature from '@dso-toolkit/sources/src/icons/nature.svg';
60
- import newWindow from '@dso-toolkit/sources/src/icons/new-window.svg';
61
- import paperclip from '@dso-toolkit/sources/src/icons/paperclip.svg';
62
- import parking from '@dso-toolkit/sources/src/icons/parking.svg';
63
- import pencil from '@dso-toolkit/sources/src/icons/pencil.svg';
64
- import pin from '@dso-toolkit/sources/src/icons/pin.svg';
65
- import pinOutline from '@dso-toolkit/sources/src/icons/pin-outline.svg';
66
- import plusSquare from '@dso-toolkit/sources/src/icons/plus-square.svg';
67
- import plus from '@dso-toolkit/sources/src/icons/plus.svg';
68
- import print from '@dso-toolkit/sources/src/icons/print.svg';
69
- import procedures from '@dso-toolkit/sources/src/icons/procedures.svg';
70
- import redo from '@dso-toolkit/sources/src/icons/redo.svg';
71
- import safety from '@dso-toolkit/sources/src/icons/safety.svg';
72
- import search from '@dso-toolkit/sources/src/icons/search.svg';
73
- import scale from '@dso-toolkit/sources/src/icons/scale.svg';
74
- import sitemap from '@dso-toolkit/sources/src/icons/sitemap.svg';
75
- import soil from '@dso-toolkit/sources/src/icons/soil.svg';
76
- import sortAscending from '@dso-toolkit/sources/src/icons/sort-ascending.svg';
77
- import sortDescending from '@dso-toolkit/sources/src/icons/sort-descending.svg';
78
- import sort from '@dso-toolkit/sources/src/icons/sort.svg';
79
- import sound from '@dso-toolkit/sources/src/icons/sound.svg';
80
- import statusDanger from '@dso-toolkit/sources/src/icons/status-danger.svg';
81
- import statusInfo from '@dso-toolkit/sources/src/icons/status-info.svg';
82
- import statusSuccess from '@dso-toolkit/sources/src/icons/status-success.svg';
83
- import statusWarning from '@dso-toolkit/sources/src/icons/status-warning.svg';
84
- import table from '@dso-toolkit/sources/src/icons/table.svg';
85
- import times from '@dso-toolkit/sources/src/icons/times.svg';
86
- import trash from '@dso-toolkit/sources/src/icons/trash.svg';
87
- import undo from '@dso-toolkit/sources/src/icons/undo.svg';
88
- import userLine from '@dso-toolkit/sources/src/icons/user-line.svg';
89
- import user from '@dso-toolkit/sources/src/icons/user.svg';
90
- import users from '@dso-toolkit/sources/src/icons/users.svg';
91
- import water from '@dso-toolkit/sources/src/icons/water.svg';
92
- import wipWip from '@dso-toolkit/sources/src/icons/wip-wip.svg';
1
+ import { h } from "@stencil/core";
2
+ import air from "@dso-toolkit/sources/src/icons/air.svg";
3
+ import angleDown from "@dso-toolkit/sources/src/icons/angle-down.svg";
4
+ import angleLeft from "@dso-toolkit/sources/src/icons/angle-left.svg";
5
+ import angleRight from "@dso-toolkit/sources/src/icons/angle-right.svg";
6
+ import angleUp from "@dso-toolkit/sources/src/icons/angle-up.svg";
7
+ import balloon from "@dso-toolkit/sources/src/icons/balloon.svg";
8
+ import bars from "@dso-toolkit/sources/src/icons/bars.svg";
9
+ import buildings from "@dso-toolkit/sources/src/icons/buildings.svg";
10
+ import calendar from "@dso-toolkit/sources/src/icons/calendar.svg";
11
+ import call from "@dso-toolkit/sources/src/icons/call.svg";
12
+ import caretDown from "@dso-toolkit/sources/src/icons/caret-down.svg";
13
+ import check from "@dso-toolkit/sources/src/icons/check.svg";
14
+ import checkCircle from "@dso-toolkit/sources/src/icons/check-circle.svg";
15
+ import chevronDown from "@dso-toolkit/sources/src/icons/chevron-down.svg";
16
+ import chevronLeft from "@dso-toolkit/sources/src/icons/chevron-left.svg";
17
+ import chevronRight from "@dso-toolkit/sources/src/icons/chevron-right.svg";
18
+ import chevronUp from "@dso-toolkit/sources/src/icons/chevron-up.svg";
19
+ import circleNotch from "@dso-toolkit/sources/src/icons/circle-notch.svg";
20
+ import clock from "@dso-toolkit/sources/src/icons/clock.svg";
21
+ import copy from "@dso-toolkit/sources/src/icons/copy.svg";
22
+ import crown from "@dso-toolkit/sources/src/icons/crown.svg";
23
+ import cultural from "@dso-toolkit/sources/src/icons/cultural.svg";
24
+ import document from "@dso-toolkit/sources/src/icons/document.svg";
25
+ import download from "@dso-toolkit/sources/src/icons/download.svg";
26
+ import email from "@dso-toolkit/sources/src/icons/email.svg";
27
+ import energy from "@dso-toolkit/sources/src/icons/energy.svg";
28
+ import environment from "@dso-toolkit/sources/src/icons/environment.svg";
29
+ import exclamation from "@dso-toolkit/sources/src/icons/exclamation.svg";
30
+ import externalLink from "@dso-toolkit/sources/src/icons/external-link.svg";
31
+ import eyeSlash from "@dso-toolkit/sources/src/icons/eye-slash.svg";
32
+ import eye from "@dso-toolkit/sources/src/icons/eye.svg";
33
+ import filter from "@dso-toolkit/sources/src/icons/filter.svg";
34
+ import forbidden from "@dso-toolkit/sources/src/icons/forbidden.svg";
35
+ import health from "@dso-toolkit/sources/src/icons/health.svg";
36
+ import helpActive from "@dso-toolkit/sources/src/icons/help-active.svg";
37
+ import help from "@dso-toolkit/sources/src/icons/help.svg";
38
+ import house from "@dso-toolkit/sources/src/icons/house.svg";
39
+ import infoActive from "@dso-toolkit/sources/src/icons/info-active.svg";
40
+ import infoI from "@dso-toolkit/sources/src/icons/info-i.svg";
41
+ import info from "@dso-toolkit/sources/src/icons/info.svg";
42
+ import infrastructure from "@dso-toolkit/sources/src/icons/infrastructure.svg";
43
+ import label from "@dso-toolkit/sources/src/icons/label.svg";
44
+ import land from "@dso-toolkit/sources/src/icons/land.svg";
45
+ import landscape from "@dso-toolkit/sources/src/icons/landscape.svg";
46
+ import layers from "@dso-toolkit/sources/src/icons/layers.svg";
47
+ import location from "@dso-toolkit/sources/src/icons/location.svg";
48
+ import locationOutline from "@dso-toolkit/sources/src/icons/location-outline.svg";
49
+ import locationSearch from "@dso-toolkit/sources/src/icons/location-search.svg";
50
+ import lock from "@dso-toolkit/sources/src/icons/lock.svg";
51
+ import magnet from "@dso-toolkit/sources/src/icons/magnet.svg";
52
+ import mapLayers from "@dso-toolkit/sources/src/icons/map-layers.svg";
53
+ import mapLocation from "@dso-toolkit/sources/src/icons/map-location.svg";
54
+ import marker from "@dso-toolkit/sources/src/icons/marker.svg";
55
+ import measurement from "@dso-toolkit/sources/src/icons/measurement.svg";
56
+ import minusSquare from "@dso-toolkit/sources/src/icons/minus-square.svg";
57
+ import minus from "@dso-toolkit/sources/src/icons/minus.svg";
58
+ import more from "@dso-toolkit/sources/src/icons/more.svg";
59
+ import municipality from "@dso-toolkit/sources/src/icons/municipality.svg";
60
+ import nature from "@dso-toolkit/sources/src/icons/nature.svg";
61
+ import newWindow from "@dso-toolkit/sources/src/icons/new-window.svg";
62
+ import paperclip from "@dso-toolkit/sources/src/icons/paperclip.svg";
63
+ import parking from "@dso-toolkit/sources/src/icons/parking.svg";
64
+ import pencil from "@dso-toolkit/sources/src/icons/pencil.svg";
65
+ import pin from "@dso-toolkit/sources/src/icons/pin.svg";
66
+ import pinOutline from "@dso-toolkit/sources/src/icons/pin-outline.svg";
67
+ import plusSquare from "@dso-toolkit/sources/src/icons/plus-square.svg";
68
+ import plus from "@dso-toolkit/sources/src/icons/plus.svg";
69
+ import print from "@dso-toolkit/sources/src/icons/print.svg";
70
+ import procedures from "@dso-toolkit/sources/src/icons/procedures.svg";
71
+ import redo from "@dso-toolkit/sources/src/icons/redo.svg";
72
+ import safety from "@dso-toolkit/sources/src/icons/safety.svg";
73
+ import search from "@dso-toolkit/sources/src/icons/search.svg";
74
+ import scale from "@dso-toolkit/sources/src/icons/scale.svg";
75
+ import sitemap from "@dso-toolkit/sources/src/icons/sitemap.svg";
76
+ import soil from "@dso-toolkit/sources/src/icons/soil.svg";
77
+ import sortAscending from "@dso-toolkit/sources/src/icons/sort-ascending.svg";
78
+ import sortDescending from "@dso-toolkit/sources/src/icons/sort-descending.svg";
79
+ import sort from "@dso-toolkit/sources/src/icons/sort.svg";
80
+ import sound from "@dso-toolkit/sources/src/icons/sound.svg";
81
+ import statusDanger from "@dso-toolkit/sources/src/icons/status-danger.svg";
82
+ import statusInfo from "@dso-toolkit/sources/src/icons/status-info.svg";
83
+ import statusSuccess from "@dso-toolkit/sources/src/icons/status-success.svg";
84
+ import statusWarning from "@dso-toolkit/sources/src/icons/status-warning.svg";
85
+ import table from "@dso-toolkit/sources/src/icons/table.svg";
86
+ import times from "@dso-toolkit/sources/src/icons/times.svg";
87
+ import trash from "@dso-toolkit/sources/src/icons/trash.svg";
88
+ import undo from "@dso-toolkit/sources/src/icons/undo.svg";
89
+ import userLine from "@dso-toolkit/sources/src/icons/user-line.svg";
90
+ import user from "@dso-toolkit/sources/src/icons/user.svg";
91
+ import users from "@dso-toolkit/sources/src/icons/users.svg";
92
+ import water from "@dso-toolkit/sources/src/icons/water.svg";
93
+ import wipWip from "@dso-toolkit/sources/src/icons/wip-wip.svg";
93
94
  const icons = [
94
- { alias: 'air', svg: air },
95
- { alias: 'angle-down', svg: angleDown },
96
- { alias: 'angle-left', svg: angleLeft },
97
- { alias: 'angle-right', svg: angleRight },
98
- { alias: 'angle-up', svg: angleUp },
99
- { alias: 'balloon', svg: balloon },
100
- { alias: 'bars', svg: bars },
101
- { alias: 'buildings', svg: buildings },
102
- { alias: 'calendar', svg: calendar },
103
- { alias: 'call', svg: call },
104
- { alias: 'caret-down', svg: caretDown },
105
- { alias: 'check', svg: check },
106
- { alias: 'check-circle', svg: checkCircle },
107
- { alias: 'chevron-down', svg: chevronDown },
108
- { alias: 'chevron-left', svg: chevronLeft },
109
- { alias: 'chevron-right', svg: chevronRight },
110
- { alias: 'chevron-up', svg: chevronUp },
111
- { alias: 'circle-notch', svg: circleNotch },
112
- { alias: 'clock', svg: clock },
113
- { alias: 'copy', svg: copy },
114
- { alias: 'crown', svg: crown },
115
- { alias: 'cultural', svg: cultural },
116
- { alias: 'document', svg: document },
117
- { alias: 'download', svg: download },
118
- { alias: 'email', svg: email },
119
- { alias: 'energy', svg: energy },
120
- { alias: 'environment', svg: environment },
121
- { alias: 'exclamation', svg: exclamation },
122
- { alias: 'external-link', svg: externalLink },
123
- { alias: 'eye-slash', svg: eyeSlash },
124
- { alias: 'eye', svg: eye },
125
- { alias: 'filter', svg: filter },
126
- { alias: 'forbidden', svg: forbidden },
127
- { alias: 'health', svg: health },
128
- { alias: 'help-active', svg: helpActive },
129
- { alias: 'help', svg: help },
130
- { alias: 'house', svg: house },
131
- { alias: 'info-active', svg: infoActive },
132
- { alias: 'info-i', svg: infoI },
133
- { alias: 'info', svg: info },
134
- { alias: 'infrastructure', svg: infrastructure },
135
- { alias: 'label', svg: label },
136
- { alias: 'land', svg: land },
137
- { alias: 'landscape', svg: landscape },
138
- { alias: 'layers', svg: layers },
139
- { alias: 'location', svg: location },
140
- { alias: 'location-outline', svg: locationOutline },
141
- { alias: 'location-search', svg: locationSearch },
142
- { alias: 'lock', svg: lock },
143
- { alias: 'magnet', svg: magnet },
144
- { alias: 'map-location', svg: mapLocation },
145
- { alias: 'marker', svg: marker },
146
- { alias: 'measurement', svg: measurement },
147
- { alias: 'minus-square', svg: minusSquare },
148
- { alias: 'minus', svg: minus },
149
- { alias: 'more', svg: more },
150
- { alias: 'municipality', svg: municipality },
151
- { alias: 'nature', svg: nature },
152
- { alias: 'new-window', svg: newWindow },
153
- { alias: 'paperclip', svg: paperclip },
154
- { alias: 'parking', svg: parking },
155
- { alias: 'pencil', svg: pencil },
156
- { alias: 'pin', svg: pin },
157
- { alias: 'pin-outline', svg: pinOutline },
158
- { alias: 'plus-square', svg: plusSquare },
159
- { alias: 'plus', svg: plus },
160
- { alias: 'print', svg: print },
161
- { alias: 'procedures', svg: procedures },
162
- { alias: 'redo', svg: redo },
163
- { alias: 'safety', svg: safety },
164
- { alias: 'scale', svg: scale },
165
- { alias: 'search', svg: search },
166
- { alias: 'sitemap', svg: sitemap },
167
- { alias: 'soil', svg: soil },
168
- { alias: 'sort-ascending', svg: sortAscending },
169
- { alias: 'sort-descending', svg: sortDescending },
170
- { alias: 'sort', svg: sort },
171
- { alias: 'sound', svg: sound },
172
- { alias: 'status-danger', svg: statusDanger },
173
- { alias: 'status-info', svg: statusInfo },
174
- { alias: 'status-success', svg: statusSuccess },
175
- { alias: 'status-warning', svg: statusWarning },
176
- { alias: 'table', svg: table },
177
- { alias: 'times', svg: times },
178
- { alias: 'trash', svg: trash },
179
- { alias: 'undo', svg: undo },
180
- { alias: 'user-line', svg: userLine },
181
- { alias: 'user', svg: user },
182
- { alias: 'users', svg: users },
183
- { alias: 'water', svg: water },
184
- { alias: 'wip-wip', svg: wipWip }
95
+ { alias: "air", svg: air },
96
+ { alias: "angle-down", svg: angleDown },
97
+ { alias: "angle-left", svg: angleLeft },
98
+ { alias: "angle-right", svg: angleRight },
99
+ { alias: "angle-up", svg: angleUp },
100
+ { alias: "balloon", svg: balloon },
101
+ { alias: "bars", svg: bars },
102
+ { alias: "buildings", svg: buildings },
103
+ { alias: "calendar", svg: calendar },
104
+ { alias: "call", svg: call },
105
+ { alias: "caret-down", svg: caretDown },
106
+ { alias: "check", svg: check },
107
+ { alias: "check-circle", svg: checkCircle },
108
+ { alias: "chevron-down", svg: chevronDown },
109
+ { alias: "chevron-left", svg: chevronLeft },
110
+ { alias: "chevron-right", svg: chevronRight },
111
+ { alias: "chevron-up", svg: chevronUp },
112
+ { alias: "circle-notch", svg: circleNotch },
113
+ { alias: "clock", svg: clock },
114
+ { alias: "copy", svg: copy },
115
+ { alias: "crown", svg: crown },
116
+ { alias: "cultural", svg: cultural },
117
+ { alias: "document", svg: document },
118
+ { alias: "download", svg: download },
119
+ { alias: "email", svg: email },
120
+ { alias: "energy", svg: energy },
121
+ { alias: "environment", svg: environment },
122
+ { alias: "exclamation", svg: exclamation },
123
+ { alias: "external-link", svg: externalLink },
124
+ { alias: "eye-slash", svg: eyeSlash },
125
+ { alias: "eye", svg: eye },
126
+ { alias: "filter", svg: filter },
127
+ { alias: "forbidden", svg: forbidden },
128
+ { alias: "health", svg: health },
129
+ { alias: "help-active", svg: helpActive },
130
+ { alias: "help", svg: help },
131
+ { alias: "house", svg: house },
132
+ { alias: "info-active", svg: infoActive },
133
+ { alias: "info-i", svg: infoI },
134
+ { alias: "info", svg: info },
135
+ { alias: "infrastructure", svg: infrastructure },
136
+ { alias: "label", svg: label },
137
+ { alias: "land", svg: land },
138
+ { alias: "landscape", svg: landscape },
139
+ { alias: "layers", svg: layers },
140
+ { alias: "location", svg: location },
141
+ { alias: "location-outline", svg: locationOutline },
142
+ { alias: "location-search", svg: locationSearch },
143
+ { alias: "lock", svg: lock },
144
+ { alias: "magnet", svg: magnet },
145
+ { alias: "map-layers", svg: mapLayers },
146
+ { alias: "map-location", svg: mapLocation },
147
+ { alias: "marker", svg: marker },
148
+ { alias: "measurement", svg: measurement },
149
+ { alias: "minus-square", svg: minusSquare },
150
+ { alias: "minus", svg: minus },
151
+ { alias: "more", svg: more },
152
+ { alias: "municipality", svg: municipality },
153
+ { alias: "nature", svg: nature },
154
+ { alias: "new-window", svg: newWindow },
155
+ { alias: "paperclip", svg: paperclip },
156
+ { alias: "parking", svg: parking },
157
+ { alias: "pencil", svg: pencil },
158
+ { alias: "pin", svg: pin },
159
+ { alias: "pin-outline", svg: pinOutline },
160
+ { alias: "plus-square", svg: plusSquare },
161
+ { alias: "plus", svg: plus },
162
+ { alias: "print", svg: print },
163
+ { alias: "procedures", svg: procedures },
164
+ { alias: "redo", svg: redo },
165
+ { alias: "safety", svg: safety },
166
+ { alias: "scale", svg: scale },
167
+ { alias: "search", svg: search },
168
+ { alias: "sitemap", svg: sitemap },
169
+ { alias: "soil", svg: soil },
170
+ { alias: "sort-ascending", svg: sortAscending },
171
+ { alias: "sort-descending", svg: sortDescending },
172
+ { alias: "sort", svg: sort },
173
+ { alias: "sound", svg: sound },
174
+ { alias: "status-danger", svg: statusDanger },
175
+ { alias: "status-info", svg: statusInfo },
176
+ { alias: "status-success", svg: statusSuccess },
177
+ { alias: "status-warning", svg: statusWarning },
178
+ { alias: "table", svg: table },
179
+ { alias: "times", svg: times },
180
+ { alias: "trash", svg: trash },
181
+ { alias: "undo", svg: undo },
182
+ { alias: "user-line", svg: userLine },
183
+ { alias: "user", svg: user },
184
+ { alias: "users", svg: users },
185
+ { alias: "water", svg: water },
186
+ { alias: "wip-wip", svg: wipWip },
185
187
  ];
186
188
  export class Icon {
189
+ constructor() {
190
+ this.icon = undefined;
191
+ }
187
192
  render() {
188
193
  if (this.icon) {
189
- const icon = icons.find(i => i.alias === this.icon);
194
+ const icon = icons.find((i) => i.alias === this.icon);
190
195
  if (!icon) {
191
196
  throw new TypeError(`Unknown svg: ${this.icon}`);
192
197
  }
@@ -195,29 +200,35 @@ export class Icon {
195
200
  }
196
201
  static get is() { return "dso-icon"; }
197
202
  static get encapsulation() { return "shadow"; }
198
- static get originalStyleUrls() { return {
199
- "$": ["./icon.scss"]
200
- }; }
201
- static get styleUrls() { return {
202
- "$": ["icon.css"]
203
- }; }
204
- static get properties() { return {
205
- "icon": {
206
- "type": "string",
207
- "mutable": false,
208
- "complexType": {
209
- "original": "string",
210
- "resolved": "string | undefined",
211
- "references": {}
212
- },
213
- "required": false,
214
- "optional": true,
215
- "docs": {
216
- "tags": [],
217
- "text": ""
218
- },
219
- "attribute": "icon",
220
- "reflect": false
221
- }
222
- }; }
203
+ static get originalStyleUrls() {
204
+ return {
205
+ "$": ["./icon.scss"]
206
+ };
207
+ }
208
+ static get styleUrls() {
209
+ return {
210
+ "$": ["icon.css"]
211
+ };
212
+ }
213
+ static get properties() {
214
+ return {
215
+ "icon": {
216
+ "type": "string",
217
+ "mutable": false,
218
+ "complexType": {
219
+ "original": "string",
220
+ "resolved": "string | undefined",
221
+ "references": {}
222
+ },
223
+ "required": false,
224
+ "optional": true,
225
+ "docs": {
226
+ "tags": [],
227
+ "text": ""
228
+ },
229
+ "attribute": "icon",
230
+ "reflect": false
231
+ }
232
+ };
233
+ }
223
234
  }
@@ -1,13 +1,13 @@
1
- import { Component, Element, forceUpdate, h, Host, Listen, State } from "@stencil/core";
2
- import debounce from 'debounce';
3
- import { createFocusTrap } from 'focus-trap';
1
+ import { forceUpdate, h, Host } from "@stencil/core";
2
+ import debounce from "debounce";
3
+ import { createFocusTrap } from "focus-trap";
4
4
  export class ImageOverlay {
5
5
  constructor() {
6
+ this.titelSlot = null;
7
+ this.bijschriftSlot = null;
6
8
  this.active = false;
7
9
  this.focused = false;
8
10
  this.zoomable = false;
9
- this.titelSlot = null;
10
- this.bijschriftSlot = null;
11
11
  }
12
12
  loadListener(event) {
13
13
  if (event.target instanceof HTMLImageElement) {
@@ -20,7 +20,7 @@ export class ImageOverlay {
20
20
  }
21
21
  componentDidLoad() {
22
22
  this.resizeObserver = new ResizeObserver(debounce(() => {
23
- const imgElement = this.host.querySelector('img');
23
+ const imgElement = this.host.querySelector("img");
24
24
  if (imgElement instanceof HTMLImageElement) {
25
25
  this.setZoomable(imgElement);
26
26
  }
@@ -28,7 +28,7 @@ export class ImageOverlay {
28
28
  this.mutationObserver = new MutationObserver((e) => {
29
29
  var _a, _b;
30
30
  forceUpdate(this.host);
31
- if (((_a = e[0]) === null || _a === void 0 ? void 0 : _a.type) === 'childList') {
31
+ if (((_a = e[0]) === null || _a === void 0 ? void 0 : _a.type) === "childList") {
32
32
  (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
33
33
  // <img> is gone or a new element.
34
34
  this.initZoomableImage();
@@ -37,7 +37,7 @@ export class ImageOverlay {
37
37
  this.mutationObserver.observe(this.host, {
38
38
  attributes: true,
39
39
  subtree: true,
40
- attributeFilter: ['src', 'alt'],
40
+ attributeFilter: ["src", "alt"],
41
41
  childList: true,
42
42
  });
43
43
  this.initZoomableImage();
@@ -50,7 +50,7 @@ export class ImageOverlay {
50
50
  }
51
51
  initZoomableImage() {
52
52
  var _a;
53
- const imgElement = this.host.querySelector('img');
53
+ const imgElement = this.host.querySelector("img");
54
54
  if (!(imgElement instanceof HTMLImageElement)) {
55
55
  return;
56
56
  }
@@ -66,22 +66,8 @@ export class ImageOverlay {
66
66
  }
67
67
  render() {
68
68
  var _a;
69
- const { src, alt } = (_a = this.host.querySelector('img')) !== null && _a !== void 0 ? _a : {};
70
- return (h(Host, { tabindex: this.focused || !this.zoomable ? -1 : 0, onFocus: () => { var _a; return (_a = this.buttonElement) === null || _a === void 0 ? void 0 : _a.focus(); } },
71
- this.active && src && alt && (h("div", { class: "dimmer" },
72
- h("div", { class: "wrapper", ref: element => this.wrapperElement = element },
73
- h("div", { class: "titel", hidden: !this.titelSlot },
74
- h("slot", { name: "titel" })),
75
- h("img", { src: src, alt: alt }),
76
- h("button", { type: "button", class: "close", onClick: () => this.active = false },
77
- h("dso-icon", { icon: "times" }),
78
- h("span", null, "Sluiten")),
79
- h("div", { class: "figuur-bijschrift", hidden: !this.bijschriftSlot },
80
- h("slot", { name: "bijschrift" }))))),
81
- h("slot", null),
82
- this.zoomable && (h("button", { type: "button", class: "open", ref: element => this.buttonElement = element, onClick: () => this.active = true, onFocus: () => this.focused = true, onBlur: () => this.focused = false },
83
- h("dso-icon", { icon: "external-link" }),
84
- h("span", null, "Afbeelding vergroot weergeven")))));
69
+ const { src, alt } = (_a = this.host.querySelector("img")) !== null && _a !== void 0 ? _a : {};
70
+ return (h(Host, { tabindex: this.focused || !this.zoomable ? -1 : 0, onFocus: () => { var _a; return (_a = this.buttonElement) === null || _a === void 0 ? void 0 : _a.focus(); } }, this.active && src && alt && (h("div", { class: "dimmer" }, h("div", { class: "wrapper", ref: (element) => (this.wrapperElement = element) }, h("div", { class: "titel", hidden: !this.titelSlot }, h("slot", { name: "titel" })), h("img", { src: src, alt: alt }), h("button", { type: "button", class: "close", onClick: () => (this.active = false) }, h("dso-icon", { icon: "times" }), h("span", null, "Sluiten")), h("div", { class: "figuur-bijschrift", hidden: !this.bijschriftSlot }, h("slot", { name: "bijschrift" }))))), h("slot", null), this.zoomable && (h("button", { type: "button", class: "open", ref: (element) => (this.buttonElement = element), onClick: () => (this.active = true), onFocus: () => (this.focused = true), onBlur: () => (this.focused = false) }, h("dso-icon", { icon: "external-link" }), h("span", null, "Afbeelding vergroot weergeven")))));
85
71
  }
86
72
  componentDidRender() {
87
73
  var _a, _b;
@@ -96,7 +82,7 @@ export class ImageOverlay {
96
82
  return true;
97
83
  },
98
84
  setReturnFocus: (_a = this.buttonElement) !== null && _a !== void 0 ? _a : false,
99
- onDeactivate: () => this.active = false
85
+ onDeactivate: () => (this.active = false),
100
86
  }).activate();
101
87
  }
102
88
  else if (!this.active && this.trap) {
@@ -106,23 +92,31 @@ export class ImageOverlay {
106
92
  }
107
93
  static get is() { return "dso-image-overlay"; }
108
94
  static get encapsulation() { return "shadow"; }
109
- static get originalStyleUrls() { return {
110
- "$": ["./image-overlay.scss"]
111
- }; }
112
- static get styleUrls() { return {
113
- "$": ["image-overlay.css"]
114
- }; }
115
- static get states() { return {
116
- "active": {},
117
- "focused": {},
118
- "zoomable": {}
119
- }; }
95
+ static get originalStyleUrls() {
96
+ return {
97
+ "$": ["./image-overlay.scss"]
98
+ };
99
+ }
100
+ static get styleUrls() {
101
+ return {
102
+ "$": ["image-overlay.css"]
103
+ };
104
+ }
105
+ static get states() {
106
+ return {
107
+ "active": {},
108
+ "focused": {},
109
+ "zoomable": {}
110
+ };
111
+ }
120
112
  static get elementRef() { return "host"; }
121
- static get listeners() { return [{
122
- "name": "load",
123
- "method": "loadListener",
124
- "target": undefined,
125
- "capture": true,
126
- "passive": false
127
- }]; }
113
+ static get listeners() {
114
+ return [{
115
+ "name": "load",
116
+ "method": "loadListener",
117
+ "target": undefined,
118
+ "capture": true,
119
+ "passive": false
120
+ }];
121
+ }
128
122
  }