@dso-toolkit/core 72.0.0 → 72.2.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 (438) hide show
  1. package/dist/cjs/{annotation-body-BwdNcAAd.js → annotation-body-BBlFDtNQ.js} +3 -3
  2. package/dist/cjs/{annotation-body-BwdNcAAd.js.map → annotation-body-BBlFDtNQ.js.map} +1 -1
  3. package/dist/cjs/{annotation-list-renvooi-values-GE2SwBhG.js → annotation-list-renvooi-values-BRsXjGPr.js} +3 -3
  4. package/dist/cjs/{annotation-list-renvooi-values-GE2SwBhG.js.map → annotation-list-renvooi-values-BRsXjGPr.js.map} +1 -1
  5. package/dist/cjs/{annotation-symbol-slot-Cvk1q2gb.js → annotation-symbol-slot-Ko-yyBqQ.js} +3 -3
  6. package/dist/cjs/{annotation-symbol-slot-Cvk1q2gb.js.map → annotation-symbol-slot-Ko-yyBqQ.js.map} +1 -1
  7. package/dist/cjs/dso-accordion-section.cjs.entry.js +1 -1
  8. package/dist/cjs/dso-accordion.cjs.entry.js +1 -1
  9. package/dist/cjs/dso-action-list-item.cjs.entry.js +1 -1
  10. package/dist/cjs/dso-action-list.cjs.entry.js +1 -1
  11. package/dist/cjs/dso-advanced-select.cjs.entry.js +1 -1
  12. package/dist/cjs/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.cjs.js.map +1 -1
  13. package/dist/cjs/dso-alert_6.cjs.entry.js +7 -7
  14. package/dist/cjs/dso-alert_6.cjs.entry.js.map +1 -1
  15. package/dist/cjs/dso-annotation-activiteit.cjs.entry.js +4 -4
  16. package/dist/cjs/dso-annotation-gebiedsaanwijzing.cjs.entry.js +3 -3
  17. package/dist/cjs/dso-annotation-kaart.cjs.entry.js +2 -2
  18. package/dist/cjs/dso-annotation-locatie.dso-document-component.entry.cjs.js.map +1 -1
  19. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js +4 -4
  20. package/dist/cjs/dso-annotation-locatie_2.cjs.entry.js.map +1 -1
  21. package/dist/cjs/dso-annotation-omgevingsnormwaarde.cjs.entry.js +4 -4
  22. package/dist/cjs/dso-attachments-counter_2.cjs.entry.js +1 -1
  23. package/dist/cjs/dso-autosuggest.cjs.entry.js +2 -2
  24. package/dist/cjs/dso-banner.cjs.entry.js +1 -1
  25. package/dist/cjs/dso-card-container.cjs.entry.js +1 -1
  26. package/dist/cjs/dso-card.cjs.entry.js +1 -1
  27. package/dist/cjs/dso-contact-information.cjs.entry.js +1 -1
  28. package/dist/cjs/dso-date-picker-legacy.cjs.entry.js +1 -1
  29. package/dist/cjs/dso-date-picker.cjs.entry.js +1 -1
  30. package/dist/cjs/dso-document-card.cjs.entry.js +1 -1
  31. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +1 -1
  32. package/dist/cjs/dso-header.cjs.entry.js +2 -2
  33. package/dist/cjs/dso-highlight-box.cjs.entry.js +1 -1
  34. package/dist/cjs/dso-icon.cjs.entry.js +9 -2
  35. package/dist/cjs/dso-icon.cjs.entry.js.map +1 -1
  36. package/dist/cjs/dso-icon.entry.cjs.js.map +1 -1
  37. package/dist/cjs/dso-info-button.cjs.entry.js +1 -1
  38. package/dist/cjs/dso-info_2.cjs.entry.js +2 -2
  39. package/dist/cjs/dso-input-range.cjs.entry.js +1 -1
  40. package/dist/cjs/dso-label_3.cjs.entry.js +2 -2
  41. package/dist/cjs/dso-legend-item.cjs.entry.js +1 -1
  42. package/dist/cjs/dso-list-button.cjs.entry.js +1 -1
  43. package/dist/cjs/dso-logo.cjs.entry.js +1 -1
  44. package/dist/cjs/dso-map-base-layers.cjs.entry.js +2 -2
  45. package/dist/cjs/dso-map-controls.cjs.entry.js +3 -3
  46. package/dist/cjs/dso-map-controls.cjs.entry.js.map +1 -1
  47. package/dist/cjs/dso-map-controls.entry.cjs.js.map +1 -1
  48. package/dist/cjs/dso-map-overlays.cjs.entry.js +2 -2
  49. package/dist/cjs/dso-mark-bar.cjs.entry.js +1 -1
  50. package/dist/cjs/dso-modal.cjs.entry.js +2 -2
  51. package/dist/cjs/dso-onboarding-tip.cjs.entry.js +1788 -0
  52. package/dist/cjs/dso-onboarding-tip.cjs.entry.js.map +1 -0
  53. package/dist/cjs/dso-onboarding-tip.entry.cjs.js.map +1 -0
  54. package/dist/cjs/dso-pagination.cjs.entry.js +1 -1
  55. package/dist/cjs/dso-plekinfo-card.cjs.entry.js +2 -2
  56. package/dist/cjs/dso-progress-bar.cjs.entry.js +2 -2
  57. package/dist/cjs/dso-progress-indicator.cjs.entry.js +3 -3
  58. package/dist/cjs/dso-project-item.cjs.entry.js +2 -2
  59. package/dist/cjs/dso-responsive-element.cjs.entry.js +2 -2
  60. package/dist/cjs/dso-scrollable.cjs.entry.js +3 -3
  61. package/dist/cjs/dso-skiplink.cjs.entry.js +2 -2
  62. package/dist/cjs/dso-survey-rating.cjs.entry.js +4 -4
  63. package/dist/cjs/dso-survey-rating.cjs.entry.js.map +1 -1
  64. package/dist/cjs/dso-survey-rating.entry.cjs.js.map +1 -1
  65. package/dist/cjs/dso-tab.cjs.entry.js +1 -1
  66. package/dist/cjs/dso-tabs.cjs.entry.js +2 -2
  67. package/dist/cjs/dso-toggletip.cjs.entry.js +2 -2
  68. package/dist/cjs/dso-toolkit.cjs.js +3 -3
  69. package/dist/cjs/dso-toolkit.cjs.js.map +1 -1
  70. package/dist/cjs/dso-tooltip.cjs.entry.js +2 -2
  71. package/dist/cjs/dso-tree-view.cjs.entry.js +2 -2
  72. package/dist/cjs/dso-viewer-grid.cjs.entry.js +4 -4
  73. package/dist/cjs/dso-viewer-grid.cjs.entry.js.map +1 -1
  74. package/dist/cjs/dso-viewer-grid.entry.cjs.js.map +1 -1
  75. package/dist/cjs/dsot-document-component-demo.cjs.entry.js +1 -1
  76. package/dist/cjs/{i18n-DXkB0Cg-.js → i18n-D9iWFntP.js} +106 -97
  77. package/dist/cjs/i18n-D9iWFntP.js.map +1 -0
  78. package/dist/cjs/{index-CkTcEJuV.js → index-DvrTSHdI.js} +24 -6
  79. package/dist/cjs/index-DvrTSHdI.js.map +1 -0
  80. package/dist/cjs/loader.cjs.js +2 -2
  81. package/dist/collection/collection-manifest.json +2 -1
  82. package/dist/collection/components/accordion/accordion.js +2 -2
  83. package/dist/collection/components/accordion/components/accordion-section.js +14 -14
  84. package/dist/collection/components/action-list/action-list.js +1 -1
  85. package/dist/collection/components/action-list/components/action-list-item.js +5 -5
  86. package/dist/collection/components/advanced-select/advanced-select.js +3 -1
  87. package/dist/collection/components/advanced-select/advanced-select.js.map +1 -1
  88. package/dist/collection/components/alert/alert.js +4 -4
  89. package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js +7 -6
  90. package/dist/collection/components/annotation/annotation-activiteit/annotation-activiteit.js.map +1 -1
  91. package/dist/collection/components/annotation/annotation-gebiedsaanwijzing/annotation-gebiedsaanwijzing.js +4 -4
  92. package/dist/collection/components/annotation/annotation-kaart/annotation-kaart.js +3 -3
  93. package/dist/collection/components/annotation/annotation-locatie/annotation-locatie.js +4 -4
  94. package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js +7 -6
  95. package/dist/collection/components/annotation/annotation-omgevingsnormwaarde/annotation-omgevingsnormwaarde.js.map +1 -1
  96. package/dist/collection/components/attachments-counter/attachments-counter.js +1 -1
  97. package/dist/collection/components/autosuggest/autosuggest.js +7 -5
  98. package/dist/collection/components/autosuggest/autosuggest.js.map +1 -1
  99. package/dist/collection/components/badge/badge.js +1 -1
  100. package/dist/collection/components/banner/banner.js +3 -3
  101. package/dist/collection/components/card/card.js +3 -3
  102. package/dist/collection/components/card-container/card-container.js +1 -1
  103. package/dist/collection/components/date-picker/date-picker.js +10 -10
  104. package/dist/collection/components/date-picker-legacy/date-picker-legacy.js +12 -12
  105. package/dist/collection/components/document-card/document-card.js +2 -2
  106. package/dist/collection/components/document-component/document-component.css +24 -24
  107. package/dist/collection/components/document-component/document-component.js +24 -22
  108. package/dist/collection/components/document-component/document-component.js.map +1 -1
  109. package/dist/collection/components/document-component-demo/document-component.demo.js +5 -4
  110. package/dist/collection/components/document-component-demo/document-component.demo.js.map +1 -1
  111. package/dist/collection/components/dropdown-menu/dropdown-menu.js +7 -7
  112. package/dist/collection/components/expandable/expandable.js +3 -3
  113. package/dist/collection/components/header/header.js +11 -10
  114. package/dist/collection/components/header/header.js.map +1 -1
  115. package/dist/collection/components/highlight-box/highlight-box.js +5 -5
  116. package/dist/collection/components/icon/icon.js +4 -2
  117. package/dist/collection/components/icon/icon.js.map +1 -1
  118. package/dist/collection/components/image-overlay/image-overlay.css +24 -24
  119. package/dist/collection/components/image-overlay/image-overlay.js +1 -1
  120. package/dist/collection/components/info/info.js +2 -2
  121. package/dist/collection/components/info-button/info-button.js +3 -3
  122. package/dist/collection/components/input-range/input-range.js +7 -7
  123. package/dist/collection/components/label/label.js +4 -4
  124. package/dist/collection/components/legend-item/legend-item.js +3 -3
  125. package/dist/collection/components/list-button/list-button.js +8 -8
  126. package/dist/collection/components/logo/logo.js +5 -5
  127. package/dist/collection/components/map-base-layers/map-base-layers.js +2 -1
  128. package/dist/collection/components/map-base-layers/map-base-layers.js.map +1 -1
  129. package/dist/collection/components/map-controls/map-controls.css +24 -24
  130. package/dist/collection/components/map-controls/map-controls.js +2 -2
  131. package/dist/collection/components/map-overlays/map-overlays.js +2 -1
  132. package/dist/collection/components/map-overlays/map-overlays.js.map +1 -1
  133. package/dist/collection/components/mark-bar/mark-bar.js +4 -4
  134. package/dist/collection/components/modal/modal.js +5 -5
  135. package/dist/collection/components/onboarding-tip/onboarding-tip.css +160 -0
  136. package/dist/collection/components/onboarding-tip/onboarding-tip.interfaces.js +2 -0
  137. package/dist/collection/components/onboarding-tip/onboarding-tip.interfaces.js.map +1 -0
  138. package/dist/collection/components/onboarding-tip/onboarding-tip.js +196 -0
  139. package/dist/collection/components/onboarding-tip/onboarding-tip.js.map +1 -0
  140. package/dist/collection/components/ozon-content/ozon-content.css +24 -24
  141. package/dist/collection/components/ozon-content/ozon-content.js +5 -3
  142. package/dist/collection/components/ozon-content/ozon-content.js.map +1 -1
  143. package/dist/collection/components/pagination/pagination.js +3 -2
  144. package/dist/collection/components/pagination/pagination.js.map +1 -1
  145. package/dist/collection/components/panel/panel.js +2 -2
  146. package/dist/collection/components/plekinfo-card/plekinfo-card.js +5 -5
  147. package/dist/collection/components/progress-bar/progress-bar.js +4 -4
  148. package/dist/collection/components/progress-indicator/progress-indicator.js +4 -4
  149. package/dist/collection/components/project-item/project-item.js +2 -2
  150. package/dist/collection/components/renvooi/renvooi.js +2 -1
  151. package/dist/collection/components/renvooi/renvooi.js.map +1 -1
  152. package/dist/collection/components/responsive-element/responsive-element.js +1 -1
  153. package/dist/collection/components/scrollable/scrollable.js +2 -2
  154. package/dist/collection/components/selectable/selectable.js +13 -13
  155. package/dist/collection/components/skiplink/skiplink.js +3 -3
  156. package/dist/collection/components/slide-toggle/slide-toggle.js +6 -6
  157. package/dist/collection/components/survey-rating/survey-rating.css +12 -12
  158. package/dist/collection/components/survey-rating/survey-rating.js +3 -3
  159. package/dist/collection/components/survey-rating/survey-rating.js.map +1 -1
  160. package/dist/collection/components/table/table.css +24 -24
  161. package/dist/collection/components/table/table.js +3 -3
  162. package/dist/collection/components/tabs/components/tab.js +3 -3
  163. package/dist/collection/components/tabs/tabs.js +1 -1
  164. package/dist/collection/components/toggletip/toggletip.js +5 -5
  165. package/dist/collection/components/tooltip/tooltip.js +8 -8
  166. package/dist/collection/components/tree-view/tree-view.js +2 -1
  167. package/dist/collection/components/tree-view/tree-view.js.map +1 -1
  168. package/dist/collection/components/viewer-grid/viewer-grid.css +41 -36
  169. package/dist/collection/components/viewer-grid/viewer-grid.js +13 -12
  170. package/dist/collection/components/viewer-grid/viewer-grid.js.map +1 -1
  171. package/dist/components/document-component.js +2 -2
  172. package/dist/components/document-component.js.map +1 -1
  173. package/dist/components/dso-annotation-activiteit.js +1 -1
  174. package/dist/components/dso-header.js +1 -1
  175. package/dist/components/dso-map-base-layers.js +1 -1
  176. package/dist/components/dso-map-controls.js +1 -1
  177. package/dist/components/dso-map-controls.js.map +1 -1
  178. package/dist/components/dso-onboarding-tip.d.ts +11 -0
  179. package/dist/components/dso-onboarding-tip.js +1812 -0
  180. package/dist/components/dso-onboarding-tip.js.map +1 -0
  181. package/dist/components/dso-pagination.js +1 -1
  182. package/dist/components/dso-plekinfo-card.js +1 -1
  183. package/dist/components/dso-progress-bar.js +1 -1
  184. package/dist/components/dso-project-item.js +1 -1
  185. package/dist/components/dso-skiplink.js +1 -1
  186. package/dist/components/dso-survey-rating.js +3 -3
  187. package/dist/components/dso-survey-rating.js.map +1 -1
  188. package/dist/components/dso-tabs.js +1 -1
  189. package/dist/components/dso-tree-view.js +1 -1
  190. package/dist/components/dso-viewer-grid.js +3 -3
  191. package/dist/components/dso-viewer-grid.js.map +1 -1
  192. package/dist/components/dsot-document-component-demo.js +1 -1
  193. package/dist/components/i18n.js +104 -95
  194. package/dist/components/i18n.js.map +1 -1
  195. package/dist/components/icon.js +8 -1
  196. package/dist/components/icon.js.map +1 -1
  197. package/dist/components/image-overlay.js +1 -1
  198. package/dist/components/image-overlay.js.map +1 -1
  199. package/dist/components/index.d.ts +2 -0
  200. package/dist/components/index.js +2 -1
  201. package/dist/components/index.js.map +1 -1
  202. package/dist/components/ozon-content.js +3 -3
  203. package/dist/components/ozon-content.js.map +1 -1
  204. package/dist/components/progress-indicator.js +1 -1
  205. package/dist/components/responsive-element.js +1 -1
  206. package/dist/components/scrollable.js +2 -2
  207. package/dist/components/selectable.js +1 -1
  208. package/dist/components/slide-toggle.js +1 -1
  209. package/dist/components/table.js +2 -2
  210. package/dist/components/table.js.map +1 -1
  211. package/dist/components/toggletip.js +1 -1
  212. package/dist/components/tooltip.js +1 -1
  213. package/dist/dso-toolkit/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.esm.js.map +1 -1
  214. package/dist/dso-toolkit/dso-annotation-locatie.dso-document-component.entry.esm.js.map +1 -1
  215. package/dist/dso-toolkit/dso-icon.entry.esm.js.map +1 -1
  216. package/dist/dso-toolkit/dso-map-controls.entry.esm.js.map +1 -1
  217. package/dist/dso-toolkit/dso-onboarding-tip.entry.esm.js.map +1 -0
  218. package/dist/dso-toolkit/dso-survey-rating.entry.esm.js.map +1 -1
  219. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  220. package/dist/dso-toolkit/dso-toolkit.esm.js.map +1 -1
  221. package/dist/dso-toolkit/dso-viewer-grid.entry.esm.js.map +1 -1
  222. package/dist/dso-toolkit/{p-3f85169a.entry.js → p-00431d87.entry.js} +2 -2
  223. package/dist/dso-toolkit/{p-0a2dd4a9.entry.js → p-077f0a02.entry.js} +2 -2
  224. package/dist/dso-toolkit/{p-61dfc1f5.entry.js → p-08aa7f78.entry.js} +2 -2
  225. package/dist/dso-toolkit/{p-a66fd056.entry.js → p-0b902049.entry.js} +2 -2
  226. package/dist/dso-toolkit/{p-24f64459.entry.js → p-13042742.entry.js} +2 -2
  227. package/dist/dso-toolkit/{p-b673cbdb.entry.js → p-1636f9be.entry.js} +2 -2
  228. package/dist/dso-toolkit/{p-49af1837.entry.js → p-1f7f6d8b.entry.js} +2 -2
  229. package/dist/dso-toolkit/{p-5b25e608.entry.js → p-23c5e409.entry.js} +2 -2
  230. package/dist/dso-toolkit/{p-91f1ac00.entry.js → p-2711b352.entry.js} +2 -2
  231. package/dist/dso-toolkit/{p-6b6b5ed2.entry.js → p-2a0e7fab.entry.js} +2 -2
  232. package/dist/dso-toolkit/{p-7b7ae40b.entry.js → p-3092991c.entry.js} +2 -2
  233. package/dist/dso-toolkit/p-31754dd5.entry.js +2 -0
  234. package/dist/dso-toolkit/{p-35b096ec.entry.js → p-32081789.entry.js} +2 -2
  235. package/dist/dso-toolkit/{p-7531a336.entry.js → p-37864ec3.entry.js} +2 -2
  236. package/dist/dso-toolkit/{p-1d96f67a.entry.js → p-38a17746.entry.js} +2 -2
  237. package/dist/dso-toolkit/{p-5f01431d.entry.js → p-3dc6df90.entry.js} +2 -2
  238. package/dist/dso-toolkit/{p-e87edda8.entry.js → p-4282580b.entry.js} +2 -2
  239. package/dist/dso-toolkit/{p-1da9f680.entry.js → p-45a523e5.entry.js} +2 -2
  240. package/dist/dso-toolkit/{p-55176bef.entry.js → p-47936ff6.entry.js} +2 -2
  241. package/dist/dso-toolkit/p-47bdc747.entry.js +2 -0
  242. package/dist/dso-toolkit/p-47bdc747.entry.js.map +1 -0
  243. package/dist/dso-toolkit/{p-70b9abf1.entry.js → p-487f46df.entry.js} +2 -2
  244. package/dist/dso-toolkit/{p-759d18f9.entry.js → p-49fc2235.entry.js} +2 -2
  245. package/dist/dso-toolkit/{p-a250b931.entry.js → p-4a034e40.entry.js} +2 -2
  246. package/dist/dso-toolkit/{p-5509732c.entry.js → p-4a5cc3fc.entry.js} +2 -2
  247. package/dist/dso-toolkit/p-5183876a.entry.js +2 -0
  248. package/dist/dso-toolkit/{p-43b5e74b.entry.js.map → p-5183876a.entry.js.map} +1 -1
  249. package/dist/dso-toolkit/{p-c50310e2.entry.js → p-5193e894.entry.js} +2 -2
  250. package/dist/dso-toolkit/{p-ac221ee6.entry.js → p-53b338f1.entry.js} +2 -2
  251. package/dist/dso-toolkit/{p-7f8fc024.entry.js → p-583bd6db.entry.js} +2 -2
  252. package/dist/dso-toolkit/p-6070a869.entry.js +2 -0
  253. package/dist/dso-toolkit/{p-7b715bdf.entry.js.map → p-6070a869.entry.js.map} +1 -1
  254. package/dist/dso-toolkit/{p-4956ca51.entry.js → p-621a9bbb.entry.js} +2 -2
  255. package/dist/dso-toolkit/{p-4eefa210.entry.js → p-6a2a4141.entry.js} +2 -2
  256. package/dist/dso-toolkit/{p-79e6a042.entry.js → p-6e6d93a3.entry.js} +2 -2
  257. package/dist/dso-toolkit/{p-d260469c.entry.js → p-6f211cd5.entry.js} +2 -2
  258. package/dist/dso-toolkit/{p-4790e06e.entry.js → p-78420f02.entry.js} +2 -2
  259. package/dist/dso-toolkit/{p-a0a78026.entry.js → p-86849be0.entry.js} +2 -2
  260. package/dist/dso-toolkit/{p-e232a8ad.entry.js → p-8941035f.entry.js} +2 -2
  261. package/dist/dso-toolkit/p-8a677aba.entry.js +2 -0
  262. package/dist/dso-toolkit/p-8a677aba.entry.js.map +1 -0
  263. package/dist/dso-toolkit/{p-9213f126.entry.js → p-8e1a144a.entry.js} +2 -2
  264. package/dist/dso-toolkit/{p-6dac4086.entry.js → p-90d2a099.entry.js} +2 -2
  265. package/dist/dso-toolkit/p-90d2a099.entry.js.map +1 -0
  266. package/dist/dso-toolkit/p-BbNJ4wXp.js +2 -0
  267. package/dist/dso-toolkit/p-BbNJ4wXp.js.map +1 -0
  268. package/dist/dso-toolkit/{p-CcZz5H_k.js → p-COKRRU_q.js} +2 -2
  269. package/dist/dso-toolkit/{p-CcZz5H_k.js.map → p-COKRRU_q.js.map} +1 -1
  270. package/dist/dso-toolkit/p-ChsEPkam.js +2 -0
  271. package/dist/dso-toolkit/{p-CzQFr230.js.map → p-ChsEPkam.js.map} +1 -1
  272. package/dist/dso-toolkit/p-D2Jo0W7B.js +3 -0
  273. package/dist/dso-toolkit/p-D2Jo0W7B.js.map +1 -0
  274. package/dist/dso-toolkit/{p-CXy7CeUE.js → p-D4cSA4l8.js} +2 -2
  275. package/dist/dso-toolkit/{p-CXy7CeUE.js.map → p-D4cSA4l8.js.map} +1 -1
  276. package/dist/dso-toolkit/{p-a186b796.entry.js → p-a0960751.entry.js} +2 -2
  277. package/dist/dso-toolkit/{p-2f99bb30.entry.js → p-a92bee24.entry.js} +2 -2
  278. package/dist/dso-toolkit/p-b7bbdb17.entry.js +2 -0
  279. package/dist/dso-toolkit/p-b7bbdb17.entry.js.map +1 -0
  280. package/dist/dso-toolkit/{p-c13b26ad.entry.js → p-bae3006c.entry.js} +2 -2
  281. package/dist/dso-toolkit/{p-00580562.entry.js → p-c5325945.entry.js} +2 -2
  282. package/dist/dso-toolkit/{p-5f820aec.entry.js → p-c9049181.entry.js} +2 -2
  283. package/dist/dso-toolkit/p-c9461ffa.entry.js +2 -0
  284. package/dist/dso-toolkit/{p-3cb4ac7e.entry.js.map → p-c9461ffa.entry.js.map} +1 -1
  285. package/dist/dso-toolkit/{p-896b4e39.entry.js → p-d112b93b.entry.js} +2 -2
  286. package/dist/dso-toolkit/{p-6973b064.entry.js → p-d4ac95de.entry.js} +2 -2
  287. package/dist/dso-toolkit/p-daafcc37.entry.js +2 -0
  288. package/dist/dso-toolkit/{p-7918004d.entry.js → p-dfd980b6.entry.js} +2 -2
  289. package/dist/dso-toolkit/{p-215e9ecd.entry.js → p-e097b372.entry.js} +2 -2
  290. package/dist/dso-toolkit/{p-159753d7.entry.js → p-e990ee37.entry.js} +2 -2
  291. package/dist/dso-toolkit/{p-ed11ee1b.entry.js → p-eea3b9c8.entry.js} +2 -2
  292. package/dist/esm/{annotation-body-Bwcvd5YG.js → annotation-body-C13C3XCU.js} +3 -3
  293. package/dist/esm/{annotation-body-Bwcvd5YG.js.map → annotation-body-C13C3XCU.js.map} +1 -1
  294. package/dist/esm/{annotation-list-renvooi-values-D_I-aAbM.js → annotation-list-renvooi-values-D75KxHAC.js} +3 -3
  295. package/dist/esm/{annotation-list-renvooi-values-D_I-aAbM.js.map → annotation-list-renvooi-values-D75KxHAC.js.map} +1 -1
  296. package/dist/esm/{annotation-symbol-slot-BlF4i_Mi.js → annotation-symbol-slot-CRK43mu1.js} +3 -3
  297. package/dist/esm/{annotation-symbol-slot-BlF4i_Mi.js.map → annotation-symbol-slot-CRK43mu1.js.map} +1 -1
  298. package/dist/esm/dso-accordion-section.entry.js +1 -1
  299. package/dist/esm/dso-accordion.entry.js +1 -1
  300. package/dist/esm/dso-action-list-item.entry.js +1 -1
  301. package/dist/esm/dso-action-list.entry.js +1 -1
  302. package/dist/esm/dso-advanced-select.entry.js +1 -1
  303. package/dist/esm/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-panel.dso-table.entry.js.map +1 -1
  304. package/dist/esm/dso-alert_6.entry.js +7 -7
  305. package/dist/esm/dso-alert_6.entry.js.map +1 -1
  306. package/dist/esm/dso-annotation-activiteit.entry.js +4 -4
  307. package/dist/esm/dso-annotation-gebiedsaanwijzing.entry.js +3 -3
  308. package/dist/esm/dso-annotation-kaart.entry.js +2 -2
  309. package/dist/esm/dso-annotation-locatie.dso-document-component.entry.js.map +1 -1
  310. package/dist/esm/dso-annotation-locatie_2.entry.js +4 -4
  311. package/dist/esm/dso-annotation-locatie_2.entry.js.map +1 -1
  312. package/dist/esm/dso-annotation-omgevingsnormwaarde.entry.js +4 -4
  313. package/dist/esm/dso-attachments-counter_2.entry.js +1 -1
  314. package/dist/esm/dso-autosuggest.entry.js +2 -2
  315. package/dist/esm/dso-banner.entry.js +1 -1
  316. package/dist/esm/dso-card-container.entry.js +1 -1
  317. package/dist/esm/dso-card.entry.js +1 -1
  318. package/dist/esm/dso-contact-information.entry.js +1 -1
  319. package/dist/esm/dso-date-picker-legacy.entry.js +1 -1
  320. package/dist/esm/dso-date-picker.entry.js +1 -1
  321. package/dist/esm/dso-document-card.entry.js +1 -1
  322. package/dist/esm/dso-dropdown-menu.entry.js +1 -1
  323. package/dist/esm/dso-header.entry.js +2 -2
  324. package/dist/esm/dso-highlight-box.entry.js +1 -1
  325. package/dist/esm/dso-icon.entry.js +9 -2
  326. package/dist/esm/dso-icon.entry.js.map +1 -1
  327. package/dist/esm/dso-info-button.entry.js +1 -1
  328. package/dist/esm/dso-info_2.entry.js +2 -2
  329. package/dist/esm/dso-input-range.entry.js +1 -1
  330. package/dist/esm/dso-label_3.entry.js +2 -2
  331. package/dist/esm/dso-legend-item.entry.js +1 -1
  332. package/dist/esm/dso-list-button.entry.js +1 -1
  333. package/dist/esm/dso-logo.entry.js +1 -1
  334. package/dist/esm/dso-map-base-layers.entry.js +2 -2
  335. package/dist/esm/dso-map-controls.entry.js +3 -3
  336. package/dist/esm/dso-map-controls.entry.js.map +1 -1
  337. package/dist/esm/dso-map-overlays.entry.js +2 -2
  338. package/dist/esm/dso-mark-bar.entry.js +1 -1
  339. package/dist/esm/dso-modal.entry.js +2 -2
  340. package/dist/esm/dso-onboarding-tip.entry.js +1786 -0
  341. package/dist/esm/dso-onboarding-tip.entry.js.map +1 -0
  342. package/dist/esm/dso-pagination.entry.js +1 -1
  343. package/dist/esm/dso-plekinfo-card.entry.js +2 -2
  344. package/dist/esm/dso-progress-bar.entry.js +2 -2
  345. package/dist/esm/dso-progress-indicator.entry.js +3 -3
  346. package/dist/esm/dso-project-item.entry.js +2 -2
  347. package/dist/esm/dso-responsive-element.entry.js +2 -2
  348. package/dist/esm/dso-scrollable.entry.js +3 -3
  349. package/dist/esm/dso-skiplink.entry.js +2 -2
  350. package/dist/esm/dso-survey-rating.entry.js +4 -4
  351. package/dist/esm/dso-survey-rating.entry.js.map +1 -1
  352. package/dist/esm/dso-tab.entry.js +1 -1
  353. package/dist/esm/dso-tabs.entry.js +2 -2
  354. package/dist/esm/dso-toggletip.entry.js +2 -2
  355. package/dist/esm/dso-toolkit.js +4 -4
  356. package/dist/esm/dso-toolkit.js.map +1 -1
  357. package/dist/esm/dso-tooltip.entry.js +2 -2
  358. package/dist/esm/dso-tree-view.entry.js +2 -2
  359. package/dist/esm/dso-viewer-grid.entry.js +4 -4
  360. package/dist/esm/dso-viewer-grid.entry.js.map +1 -1
  361. package/dist/esm/dsot-document-component-demo.entry.js +1 -1
  362. package/dist/esm/{i18n-D6dst_Em.js → i18n-BbNJ4wXp.js} +106 -97
  363. package/dist/esm/i18n-BbNJ4wXp.js.map +1 -0
  364. package/dist/esm/{index-BzEnSYbR.js → index-D2Jo0W7B.js} +24 -6
  365. package/dist/esm/index-D2Jo0W7B.js.map +1 -0
  366. package/dist/esm/loader.js +3 -3
  367. package/dist/types/components/onboarding-tip/onboarding-tip.d.ts +25 -0
  368. package/dist/types/components/onboarding-tip/onboarding-tip.interfaces.d.ts +4 -0
  369. package/dist/types/components/survey-rating/survey-rating.d.ts +1 -1
  370. package/dist/types/components/viewer-grid/viewer-grid.d.ts +1 -0
  371. package/dist/types/components.d.ts +43 -1
  372. package/dist/types/stencil-public-runtime.d.ts +21 -0
  373. package/package.json +9 -8
  374. package/dist/cjs/i18n-DXkB0Cg-.js.map +0 -1
  375. package/dist/cjs/index-CkTcEJuV.js.map +0 -1
  376. package/dist/dso-toolkit/p-26d6681e.entry.js +0 -2
  377. package/dist/dso-toolkit/p-26d6681e.entry.js.map +0 -1
  378. package/dist/dso-toolkit/p-3cb4ac7e.entry.js +0 -2
  379. package/dist/dso-toolkit/p-43b5e74b.entry.js +0 -2
  380. package/dist/dso-toolkit/p-6dac4086.entry.js.map +0 -1
  381. package/dist/dso-toolkit/p-7853e0ff.entry.js +0 -2
  382. package/dist/dso-toolkit/p-7b715bdf.entry.js +0 -2
  383. package/dist/dso-toolkit/p-BzEnSYbR.js +0 -3
  384. package/dist/dso-toolkit/p-BzEnSYbR.js.map +0 -1
  385. package/dist/dso-toolkit/p-CzQFr230.js +0 -2
  386. package/dist/dso-toolkit/p-D6dst_Em.js +0 -2
  387. package/dist/dso-toolkit/p-D6dst_Em.js.map +0 -1
  388. package/dist/dso-toolkit/p-a74dabd9.entry.js +0 -2
  389. package/dist/dso-toolkit/p-a74dabd9.entry.js.map +0 -1
  390. package/dist/dso-toolkit/p-b26fded2.entry.js +0 -2
  391. package/dist/esm/i18n-D6dst_Em.js.map +0 -1
  392. package/dist/esm/index-BzEnSYbR.js.map +0 -1
  393. /package/dist/dso-toolkit/{p-3f85169a.entry.js.map → p-00431d87.entry.js.map} +0 -0
  394. /package/dist/dso-toolkit/{p-0a2dd4a9.entry.js.map → p-077f0a02.entry.js.map} +0 -0
  395. /package/dist/dso-toolkit/{p-61dfc1f5.entry.js.map → p-08aa7f78.entry.js.map} +0 -0
  396. /package/dist/dso-toolkit/{p-a66fd056.entry.js.map → p-0b902049.entry.js.map} +0 -0
  397. /package/dist/dso-toolkit/{p-24f64459.entry.js.map → p-13042742.entry.js.map} +0 -0
  398. /package/dist/dso-toolkit/{p-b673cbdb.entry.js.map → p-1636f9be.entry.js.map} +0 -0
  399. /package/dist/dso-toolkit/{p-49af1837.entry.js.map → p-1f7f6d8b.entry.js.map} +0 -0
  400. /package/dist/dso-toolkit/{p-5b25e608.entry.js.map → p-23c5e409.entry.js.map} +0 -0
  401. /package/dist/dso-toolkit/{p-91f1ac00.entry.js.map → p-2711b352.entry.js.map} +0 -0
  402. /package/dist/dso-toolkit/{p-6b6b5ed2.entry.js.map → p-2a0e7fab.entry.js.map} +0 -0
  403. /package/dist/dso-toolkit/{p-7b7ae40b.entry.js.map → p-3092991c.entry.js.map} +0 -0
  404. /package/dist/dso-toolkit/{p-7853e0ff.entry.js.map → p-31754dd5.entry.js.map} +0 -0
  405. /package/dist/dso-toolkit/{p-35b096ec.entry.js.map → p-32081789.entry.js.map} +0 -0
  406. /package/dist/dso-toolkit/{p-7531a336.entry.js.map → p-37864ec3.entry.js.map} +0 -0
  407. /package/dist/dso-toolkit/{p-1d96f67a.entry.js.map → p-38a17746.entry.js.map} +0 -0
  408. /package/dist/dso-toolkit/{p-5f01431d.entry.js.map → p-3dc6df90.entry.js.map} +0 -0
  409. /package/dist/dso-toolkit/{p-e87edda8.entry.js.map → p-4282580b.entry.js.map} +0 -0
  410. /package/dist/dso-toolkit/{p-1da9f680.entry.js.map → p-45a523e5.entry.js.map} +0 -0
  411. /package/dist/dso-toolkit/{p-55176bef.entry.js.map → p-47936ff6.entry.js.map} +0 -0
  412. /package/dist/dso-toolkit/{p-70b9abf1.entry.js.map → p-487f46df.entry.js.map} +0 -0
  413. /package/dist/dso-toolkit/{p-759d18f9.entry.js.map → p-49fc2235.entry.js.map} +0 -0
  414. /package/dist/dso-toolkit/{p-a250b931.entry.js.map → p-4a034e40.entry.js.map} +0 -0
  415. /package/dist/dso-toolkit/{p-5509732c.entry.js.map → p-4a5cc3fc.entry.js.map} +0 -0
  416. /package/dist/dso-toolkit/{p-c50310e2.entry.js.map → p-5193e894.entry.js.map} +0 -0
  417. /package/dist/dso-toolkit/{p-ac221ee6.entry.js.map → p-53b338f1.entry.js.map} +0 -0
  418. /package/dist/dso-toolkit/{p-7f8fc024.entry.js.map → p-583bd6db.entry.js.map} +0 -0
  419. /package/dist/dso-toolkit/{p-4956ca51.entry.js.map → p-621a9bbb.entry.js.map} +0 -0
  420. /package/dist/dso-toolkit/{p-4eefa210.entry.js.map → p-6a2a4141.entry.js.map} +0 -0
  421. /package/dist/dso-toolkit/{p-79e6a042.entry.js.map → p-6e6d93a3.entry.js.map} +0 -0
  422. /package/dist/dso-toolkit/{p-d260469c.entry.js.map → p-6f211cd5.entry.js.map} +0 -0
  423. /package/dist/dso-toolkit/{p-4790e06e.entry.js.map → p-78420f02.entry.js.map} +0 -0
  424. /package/dist/dso-toolkit/{p-a0a78026.entry.js.map → p-86849be0.entry.js.map} +0 -0
  425. /package/dist/dso-toolkit/{p-e232a8ad.entry.js.map → p-8941035f.entry.js.map} +0 -0
  426. /package/dist/dso-toolkit/{p-9213f126.entry.js.map → p-8e1a144a.entry.js.map} +0 -0
  427. /package/dist/dso-toolkit/{p-a186b796.entry.js.map → p-a0960751.entry.js.map} +0 -0
  428. /package/dist/dso-toolkit/{p-2f99bb30.entry.js.map → p-a92bee24.entry.js.map} +0 -0
  429. /package/dist/dso-toolkit/{p-c13b26ad.entry.js.map → p-bae3006c.entry.js.map} +0 -0
  430. /package/dist/dso-toolkit/{p-00580562.entry.js.map → p-c5325945.entry.js.map} +0 -0
  431. /package/dist/dso-toolkit/{p-5f820aec.entry.js.map → p-c9049181.entry.js.map} +0 -0
  432. /package/dist/dso-toolkit/{p-896b4e39.entry.js.map → p-d112b93b.entry.js.map} +0 -0
  433. /package/dist/dso-toolkit/{p-6973b064.entry.js.map → p-d4ac95de.entry.js.map} +0 -0
  434. /package/dist/dso-toolkit/{p-b26fded2.entry.js.map → p-daafcc37.entry.js.map} +0 -0
  435. /package/dist/dso-toolkit/{p-7918004d.entry.js.map → p-dfd980b6.entry.js.map} +0 -0
  436. /package/dist/dso-toolkit/{p-215e9ecd.entry.js.map → p-e097b372.entry.js.map} +0 -0
  437. /package/dist/dso-toolkit/{p-159753d7.entry.js.map → p-e990ee37.entry.js.map} +0 -0
  438. /package/dist/dso-toolkit/{p-ed11ee1b.entry.js.map → p-eea3b9c8.entry.js.map} +0 -0
@@ -0,0 +1,160 @@
1
+ *,
2
+ *::after,
3
+ *::before {
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ .sr-only {
8
+ position: absolute;
9
+ inline-size: 1px;
10
+ block-size: 1px;
11
+ padding: 0;
12
+ margin: -1px;
13
+ overflow: hidden;
14
+ clip: rect(0, 0, 0, 0);
15
+ border: 0;
16
+ }
17
+
18
+ ::slotted([slot=heading]) {
19
+ display: flex !important;
20
+ align-items: center !important;
21
+ margin-block-end: 0 !important;
22
+ margin-block-start: 0 !important;
23
+ color: #fff !important;
24
+ line-height: 1.375 !important;
25
+ }
26
+
27
+ :host {
28
+ --_dso-button-primary-background-color: #fff;
29
+ --_dso-button-primary-border-color: #fff;
30
+ --_dso-button-primary-color: #000;
31
+ --_dso-button-primary-hover-background-color: #ccc;
32
+ --_dso-button-primary-hover-border-color: #ccc;
33
+ --_dso-button-primary-hover-color: #000;
34
+ --_dso-button-primary-active-background-color: #999;
35
+ --_dso-button-primary-active-border-color: #999;
36
+ --_dso-button-primary-active-color: #000;
37
+ --_dso-button-primary-disabled-background-color: #fff;
38
+ --_dso-button-primary-disabled-border-color: #fff;
39
+ --_dso-button-primary-disabled-color: #b2b2b2;
40
+ --_dso-button-secondary-background-color: #fff;
41
+ --_dso-button-secondary-border-color: #fff;
42
+ --_dso-button-secondary-color: #000;
43
+ --_dso-button-secondary-hover-background-color: #ccc;
44
+ --_dso-button-secondary-hover-border-color: #ccc;
45
+ --_dso-button-secondary-hover-color: #000;
46
+ --_dso-button-secondary-active-background-color: #999;
47
+ --_dso-button-secondary-active-border-color: #999;
48
+ --_dso-button-secondary-active-color: #000;
49
+ --_dso-button-secondary-disabled-background-color: #fff;
50
+ --_dso-button-secondary-disabled-border-color: #fff;
51
+ --_dso-button-secondary-disabled-color: #b2b2b2;
52
+ display: block;
53
+ filter: drop-shadow(2px 2px 16px rgba(0, 0, 0, 0.4));
54
+ }
55
+
56
+ :host([popover]) {
57
+ margin: 0 !important;
58
+ border: 0;
59
+ padding: 0;
60
+ background-color: transparent;
61
+ overflow: unset;
62
+ }
63
+
64
+ .onboarding-tip {
65
+ font-family: Asap, sans-serif;
66
+ font-style: normal;
67
+ font-weight: 400;
68
+ line-height: 1.5;
69
+ line-break: auto;
70
+ text-align: start;
71
+ text-decoration: none;
72
+ text-shadow: none;
73
+ text-transform: none;
74
+ letter-spacing: normal;
75
+ word-break: break-word;
76
+ word-spacing: normal;
77
+ word-wrap: normal;
78
+ white-space: normal;
79
+ font-size: 14px;
80
+ inset-block-start: 0;
81
+ inset-inline-start: 0;
82
+ z-index: 410;
83
+ }
84
+ @media screen and (max-width: 360px) {
85
+ .onboarding-tip {
86
+ padding-inline-start: 8px !important;
87
+ }
88
+ }
89
+
90
+ .dso-close {
91
+ -webkit-appearance: button;
92
+ color: inherit;
93
+ cursor: pointer;
94
+ font: inherit;
95
+ font-family: inherit;
96
+ font-size: inherit;
97
+ line-height: inherit;
98
+ margin: 0;
99
+ overflow: visible;
100
+ text-transform: none;
101
+ position: absolute;
102
+ inset-block-start: 0;
103
+ inset-inline-end: 0;
104
+ block-size: 32px;
105
+ inline-size: 32px;
106
+ padding: 0;
107
+ background-color: transparent;
108
+ border: 0;
109
+ text-align: center;
110
+ }
111
+ .dso-close[disabled] {
112
+ cursor: default;
113
+ }
114
+ .dso-close::-moz-focus-inner {
115
+ border: 0;
116
+ padding: 0;
117
+ }
118
+
119
+ .onboarding-tip-inner {
120
+ --link-color: #fff;
121
+ --link-hover-color: #b2b2b2;
122
+ --link-visited-color: #7f7f7f;
123
+ max-inline-size: min(360px, 100vw - 2 * 8px);
124
+ max-block-size: 40vh;
125
+ overflow: auto;
126
+ padding-block: 32px 8px;
127
+ padding-inline: 8px;
128
+ border-radius: 4px;
129
+ display: block;
130
+ font-size: 1rem;
131
+ position: relative;
132
+ z-index: 2;
133
+ }
134
+ .onboarding-tip-inner {
135
+ background-color: #2b5780;
136
+ border-color: #2b5780;
137
+ color: #fff;
138
+ }
139
+
140
+ .onboarding-tip-arrow {
141
+ border-start-start-radius: 4px;
142
+ position: absolute;
143
+ block-size: 20px;
144
+ inline-size: 20px;
145
+ background: #2b5780;
146
+ z-index: 1;
147
+ pointer-events: none;
148
+ }
149
+
150
+ .onboarding-tip-content-wrapper {
151
+ padding-inline: 16px;
152
+ padding-block-end: 16px;
153
+ }
154
+
155
+ .onboarding-tip-content-heading {
156
+ display: flex;
157
+ }
158
+ .onboarding-tip-content-heading dso-icon {
159
+ margin-inline-end: 8px;
160
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=onboarding-tip.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onboarding-tip.interfaces.js","sourceRoot":"","sources":["../../../../src/components/onboarding-tip/onboarding-tip.interfaces.ts"],"names":[],"mappings":"","sourcesContent":["export type OnboardingTipPlacement = \"top\" | \"right\" | \"bottom\" | \"left\";\r\n\r\nexport interface OnboardingTipCloseEvent {\r\n originalEvent?: MouseEvent | Event;\r\n}\r\n"]}
@@ -0,0 +1,196 @@
1
+ import { arrow, autoUpdate, computePosition, hide, offset, flip, shift } from "@floating-ui/dom";
2
+ import { h, Host } from "@stencil/core";
3
+ export class OnboardingTip {
4
+ constructor() {
5
+ /**
6
+ * Where to place the Onboarding Tip relative to its reference element.
7
+ */
8
+ this.placement = "right";
9
+ }
10
+ componentDidRender() {
11
+ if (!this.host.matches(":popover-open")) {
12
+ this.host.showPopover();
13
+ }
14
+ if (!this.cleanUp && this.referenceElement && this.tipArrowRef instanceof HTMLElement) {
15
+ this.cleanUp = OnboardingTip.positionTip(this.referenceElement, this.host, this.tipArrowRef, this.placement);
16
+ }
17
+ }
18
+ disconnectedCallback() {
19
+ var _a;
20
+ if (this.host.matches(":popover-open")) {
21
+ this.host.hidePopover();
22
+ }
23
+ (_a = this.cleanUp) === null || _a === void 0 ? void 0 : _a.call(this);
24
+ this.cleanUp = undefined;
25
+ }
26
+ /**
27
+ * This function positions the Onboarding Tip relative to its reference element. It is static so the position is calculated
28
+ * only using the passed arguments.
29
+ */
30
+ static positionTip(referenceElement, tipRef, tipArrowRef, placement) {
31
+ // Get half the arrow box's hypotenuse length
32
+ const arrowLength = tipArrowRef.offsetWidth;
33
+ const floatingOffset = Math.sqrt(2 * arrowLength ** 2) / 2;
34
+ const padding = 5;
35
+ return autoUpdate(referenceElement, tipRef, () => {
36
+ computePosition(referenceElement, tipRef, {
37
+ strategy: "fixed",
38
+ middleware: [
39
+ offset(floatingOffset),
40
+ flip({
41
+ padding,
42
+ }),
43
+ shift({
44
+ padding,
45
+ }),
46
+ arrow({
47
+ padding: padding + arrowLength,
48
+ element: tipArrowRef,
49
+ }),
50
+ hide({
51
+ padding: 42,
52
+ }),
53
+ ],
54
+ placement,
55
+ }).then(({ x, y, middlewareData, placement: computedPlacement }) => {
56
+ if (middlewareData.hide) {
57
+ Object.assign(tipRef.style, {
58
+ visibility: middlewareData.hide.referenceHidden ? "hidden" : "visible",
59
+ });
60
+ }
61
+ Object.assign(tipRef.style, {
62
+ left: `${x}px`,
63
+ top: `${y}px`,
64
+ });
65
+ const side = computedPlacement.split("-")[0];
66
+ const staticSide = side
67
+ ? {
68
+ top: "bottom",
69
+ right: "left",
70
+ bottom: "top",
71
+ left: "right",
72
+ }[side]
73
+ : "top";
74
+ let angle;
75
+ switch (staticSide) {
76
+ default:
77
+ case "top":
78
+ angle = 45;
79
+ break;
80
+ case "right":
81
+ angle = 135;
82
+ break;
83
+ case "bottom":
84
+ angle = 225;
85
+ break;
86
+ case "left":
87
+ angle = 315;
88
+ break;
89
+ }
90
+ if (middlewareData.arrow && staticSide) {
91
+ const { x: arrowX, y: arrowY } = middlewareData.arrow;
92
+ Object.assign(tipArrowRef.style, {
93
+ right: "",
94
+ bottom: "",
95
+ left: arrowX ? `${arrowX}px` : "",
96
+ top: arrowY ? `${arrowY}px` : "",
97
+ [staticSide]: `${-arrowLength / 2}px`,
98
+ transform: `rotate(${angle}deg)`,
99
+ });
100
+ }
101
+ });
102
+ });
103
+ }
104
+ render() {
105
+ return (h(Host, { key: '81f55bb9189b1e006db917d0563d67701710f519', popover: "manual" }, h("div", { key: 'eed3544de4a3a2b592c4ae418a582e87b2ee0133', class: "onboarding-tip", role: "tooltip" }, h("div", { key: '5847872cf4e5b918c525d62a3d592a765a8e8154', class: "onboarding-tip-inner" }, h("div", { key: 'c35d3a3fe5e926dde418019e1b8b209e6223d504', class: "onboarding-tip-content-wrapper" }, this.headingSlottedElement !== null && (h("div", { key: '1911891c6aff456fc4e43f80b687f87d1ba1df9d', class: "onboarding-tip-content-heading" }, h("dso-icon", { key: '3050474a5736b09709e114f1397b8160cb5b9868', icon: "light-bulb" }), h("slot", { key: '86c668f6602ba615db80c4338edc1157cdaa9999', name: "heading" }))), h("button", { key: '65d9ec9d3e84a409fa18ebd4d6343377a6e25126', type: "button", class: "dso-close", onClick: (e) => this.dsoClose.emit({ originalEvent: e }) }, h("dso-icon", { key: 'ec8eb3a63525d2736debd7986ce5546619315553', icon: "times" }), h("span", { key: '99e9048e8003e211488c7fdd2eeda4a32c740b3a', class: "sr-only" }, "Sluiten")), h("slot", { key: '886ba7c055fc303d0186dec7ca30c90d2c6c2943' }))), h("div", { key: 'e838baea223b335370a4d0f14f300fa6d48853a7', class: "onboarding-tip-arrow", ref: (ref) => (this.tipArrowRef = ref) }))));
106
+ }
107
+ get headingSlottedElement() {
108
+ return this.host.querySelector("[slot='heading']");
109
+ }
110
+ get referenceElement() {
111
+ const id = this.host.id;
112
+ if (!id) {
113
+ console.warn("Unable to find reference. Onboarding Tip has no [id] attribute.");
114
+ return;
115
+ }
116
+ const rootNode = this.host.getRootNode();
117
+ if (!(rootNode instanceof Document || rootNode instanceof ShadowRoot)) {
118
+ console.warn(`rootNode is not instance of Document or ShadowRoot`);
119
+ return;
120
+ }
121
+ const reference = rootNode.querySelector(`[aria-describedby="${id}`);
122
+ if (!reference) {
123
+ console.warn(`Unable to find reference element with aria-describedby ${id}`);
124
+ return;
125
+ }
126
+ return reference;
127
+ }
128
+ static get is() { return "dso-onboarding-tip"; }
129
+ static get encapsulation() { return "shadow"; }
130
+ static get originalStyleUrls() {
131
+ return {
132
+ "$": ["onboarding-tip.scss"]
133
+ };
134
+ }
135
+ static get styleUrls() {
136
+ return {
137
+ "$": ["onboarding-tip.css"]
138
+ };
139
+ }
140
+ static get properties() {
141
+ return {
142
+ "placement": {
143
+ "type": "string",
144
+ "attribute": "placement",
145
+ "mutable": false,
146
+ "complexType": {
147
+ "original": "OnboardingTipPlacement",
148
+ "resolved": "\"bottom\" | \"left\" | \"right\" | \"top\"",
149
+ "references": {
150
+ "OnboardingTipPlacement": {
151
+ "location": "import",
152
+ "path": "./onboarding-tip.interfaces",
153
+ "id": "src/components/onboarding-tip/onboarding-tip.interfaces.ts::OnboardingTipPlacement"
154
+ }
155
+ }
156
+ },
157
+ "required": false,
158
+ "optional": false,
159
+ "docs": {
160
+ "tags": [],
161
+ "text": "Where to place the Onboarding Tip relative to its reference element."
162
+ },
163
+ "getter": false,
164
+ "setter": false,
165
+ "reflect": false,
166
+ "defaultValue": "\"right\""
167
+ }
168
+ };
169
+ }
170
+ static get events() {
171
+ return [{
172
+ "method": "dsoClose",
173
+ "name": "dsoClose",
174
+ "bubbles": true,
175
+ "cancelable": true,
176
+ "composed": true,
177
+ "docs": {
178
+ "tags": [],
179
+ "text": "Emitted when the user closes the Onboarding Tip."
180
+ },
181
+ "complexType": {
182
+ "original": "OnboardingTipCloseEvent",
183
+ "resolved": "OnboardingTipCloseEvent",
184
+ "references": {
185
+ "OnboardingTipCloseEvent": {
186
+ "location": "import",
187
+ "path": "./onboarding-tip.interfaces",
188
+ "id": "src/components/onboarding-tip/onboarding-tip.interfaces.ts::OnboardingTipCloseEvent"
189
+ }
190
+ }
191
+ }
192
+ }];
193
+ }
194
+ static get elementRef() { return "host"; }
195
+ }
196
+ //# sourceMappingURL=onboarding-tip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onboarding-tip.js","sourceRoot":"","sources":["../../../../src/components/onboarding-tip/onboarding-tip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,EAAa,IAAI,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAC5G,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAsB,KAAK,EAAgB,IAAI,EAAE,MAAM,eAAe,CAAC;AAS3G,MAAM,OAAO,aAAa;IAL1B;QASE;;WAEG;QAEH,cAAS,GAA2B,OAAO,CAAC;KAgL7C;IAxKC,kBAAkB;QAChB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE,CAAC;YACxC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;QAC1B,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,gBAAgB,IAAI,IAAI,CAAC,WAAW,YAAY,WAAW,EAAE,CAAC;YACtF,IAAI,CAAC,OAAO,GAAG,aAAa,CAAC,WAAW,CAAC,IAAI,CAAC,gBAAgB,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;QAC/G,CAAC;IACH,CAAC;IAED,oBAAoB;;QAClB,IAAI,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE,CAAC;YACvC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;QAC1B,CAAC;QAED,MAAA,IAAI,CAAC,OAAO,oDAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,SAAS,CAA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QAAQ,IAAI,QAAQ,YAAY,UAAU,CAAC,EAAE,CAAC;YACtE,OAAO,CAAC,IAAI,CAAC,oDAAoD,CAAC,CAAC;YAEnE,OAAO;QACT,CAAC;QAED,MAAM,SAAS,GAAG,QAAQ,CAAC,aAAa,CAAc,sBAAsB,EAAE,EAAE,CAAC,CAAC;QAClF,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,OAAO,CAAC,IAAI,CAAC,0DAA0D,EAAE,EAAE,CAAC,CAAC;YAE7E,OAAO;QACT,CAAC;QAED,OAAO,SAAS,CAAC;IACnB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { arrow, autoUpdate, computePosition, hide, offset, Placement, flip, shift } from \"@floating-ui/dom\";\r\nimport { h, Component, Element, Prop, ComponentInterface, Event, EventEmitter, Host } from \"@stencil/core\";\r\n\r\nimport { OnboardingTipCloseEvent, OnboardingTipPlacement } from \"./onboarding-tip.interfaces\";\r\n\r\n@Component({\r\n tag: \"dso-onboarding-tip\",\r\n styleUrl: \"onboarding-tip.scss\",\r\n shadow: true,\r\n})\r\nexport class OnboardingTip implements ComponentInterface {\r\n @Element()\r\n private host!: HTMLDsoOnboardingTipElement;\r\n\r\n /**\r\n * Where to place the Onboarding Tip relative to its reference element.\r\n */\r\n @Prop()\r\n placement: OnboardingTipPlacement = \"right\";\r\n\r\n /**\r\n * Emitted when the user closes the Onboarding Tip.\r\n */\r\n @Event()\r\n dsoClose!: EventEmitter<OnboardingTipCloseEvent>;\r\n\r\n componentDidRender() {\r\n if (!this.host.matches(\":popover-open\")) {\r\n this.host.showPopover();\r\n }\r\n\r\n if (!this.cleanUp && this.referenceElement && this.tipArrowRef instanceof HTMLElement) {\r\n this.cleanUp = OnboardingTip.positionTip(this.referenceElement, this.host, this.tipArrowRef, this.placement);\r\n }\r\n }\r\n\r\n disconnectedCallback(): void {\r\n if (this.host.matches(\":popover-open\")) {\r\n this.host.hidePopover();\r\n }\r\n\r\n this.cleanUp?.();\r\n this.cleanUp = undefined;\r\n }\r\n\r\n /**\r\n * This function positions the Onboarding Tip relative to its reference element. It is static so the position is calculated\r\n * only using the passed arguments.\r\n */\r\n private static positionTip(\r\n referenceElement: HTMLElement,\r\n tipRef: HTMLDsoOnboardingTipElement,\r\n tipArrowRef: HTMLDivElement,\r\n placement: Placement,\r\n ) {\r\n // Get half the arrow box's hypotenuse length\r\n const arrowLength = tipArrowRef.offsetWidth;\r\n const floatingOffset = Math.sqrt(2 * arrowLength ** 2) / 2;\r\n const padding = 5;\r\n\r\n return autoUpdate(referenceElement, tipRef, () => {\r\n computePosition(referenceElement, tipRef, {\r\n strategy: \"fixed\",\r\n middleware: [\r\n offset(floatingOffset),\r\n flip({\r\n padding,\r\n }),\r\n shift({\r\n padding,\r\n }),\r\n arrow({\r\n padding: padding + arrowLength,\r\n element: tipArrowRef,\r\n }),\r\n hide({\r\n padding: 42,\r\n }),\r\n ],\r\n placement,\r\n }).then(({ x, y, middlewareData, placement: computedPlacement }) => {\r\n if (middlewareData.hide) {\r\n Object.assign(tipRef.style, {\r\n visibility: middlewareData.hide.referenceHidden ? \"hidden\" : \"visible\",\r\n });\r\n }\r\n\r\n Object.assign(tipRef.style, {\r\n left: `${x}px`,\r\n top: `${y}px`,\r\n });\r\n\r\n const side = computedPlacement.split(\"-\")[0];\r\n\r\n const staticSide = side\r\n ? {\r\n top: \"bottom\",\r\n right: \"left\",\r\n bottom: \"top\",\r\n left: \"right\",\r\n }[side]\r\n : \"top\";\r\n\r\n let angle;\r\n switch (staticSide) {\r\n default:\r\n case \"top\":\r\n angle = 45;\r\n break;\r\n case \"right\":\r\n angle = 135;\r\n break;\r\n case \"bottom\":\r\n angle = 225;\r\n break;\r\n case \"left\":\r\n angle = 315;\r\n break;\r\n }\r\n\r\n if (middlewareData.arrow && staticSide) {\r\n const { x: arrowX, y: arrowY } = middlewareData.arrow;\r\n\r\n Object.assign(tipArrowRef.style, {\r\n right: \"\",\r\n bottom: \"\",\r\n left: arrowX ? `${arrowX}px` : \"\",\r\n top: arrowY ? `${arrowY}px` : \"\",\r\n [staticSide]: `${-arrowLength / 2}px`,\r\n transform: `rotate(${angle}deg)`,\r\n });\r\n }\r\n });\r\n });\r\n }\r\n\r\n render() {\r\n return (\r\n <Host popover=\"manual\">\r\n <div class=\"onboarding-tip\" role=\"tooltip\">\r\n <div class=\"onboarding-tip-inner\">\r\n <div class=\"onboarding-tip-content-wrapper\">\r\n {this.headingSlottedElement !== null && (\r\n <div class=\"onboarding-tip-content-heading\">\r\n <dso-icon icon=\"light-bulb\"></dso-icon>\r\n <slot name=\"heading\" />\r\n </div>\r\n )}\r\n <button type=\"button\" class=\"dso-close\" onClick={(e) => this.dsoClose.emit({ originalEvent: e })}>\r\n <dso-icon icon=\"times\"></dso-icon>\r\n <span class=\"sr-only\">Sluiten</span>\r\n </button>\r\n <slot></slot>\r\n </div>\r\n </div>\r\n <div class=\"onboarding-tip-arrow\" ref={(ref) => (this.tipArrowRef = ref)}></div>\r\n </div>\r\n </Host>\r\n );\r\n }\r\n\r\n private tipArrowRef: HTMLDivElement | undefined;\r\n\r\n private get headingSlottedElement() {\r\n return this.host.querySelector(\"[slot='heading']\");\r\n }\r\n\r\n private cleanUp: ReturnType<typeof autoUpdate> | undefined;\r\n\r\n private get referenceElement(): HTMLElement | undefined {\r\n const id = this.host.id;\r\n\r\n if (!id) {\r\n console.warn(\"Unable to find reference. Onboarding Tip has no [id] attribute.\");\r\n\r\n return;\r\n }\r\n\r\n const rootNode = this.host.getRootNode();\r\n if (!(rootNode instanceof Document || rootNode instanceof ShadowRoot)) {\r\n console.warn(`rootNode is not instance of Document or ShadowRoot`);\r\n\r\n return;\r\n }\r\n\r\n const reference = rootNode.querySelector<HTMLElement>(`[aria-describedby=\"${id}`);\r\n if (!reference) {\r\n console.warn(`Unable to find reference element with aria-describedby ${id}`);\r\n\r\n return;\r\n }\r\n\r\n return reference;\r\n }\r\n}\r\n"]}
@@ -55,9 +55,9 @@ label.dso-primary.download::after {
55
55
  a.dso-primary,
56
56
  button.dso-primary,
57
57
  label.dso-primary {
58
- background-color: #39870c;
59
- border-color: #39870c;
60
- color: #fff;
58
+ background-color: var(--_dso-button-primary-background-color, #39870c);
59
+ border-color: var(--_dso-button-primary-border-color, #39870c);
60
+ color: var(--_dso-button-primary-color, #fff);
61
61
  }
62
62
  a.dso-primary,
63
63
  button.dso-primary,
@@ -73,25 +73,25 @@ label.dso-primary {
73
73
  a.dso-primary:hover,
74
74
  button.dso-primary:hover,
75
75
  label.dso-primary:hover {
76
- background-color: #275937;
77
- border-color: #275937;
78
- color: #fff;
76
+ background-color: var(--_dso-button-primary-hover-background-color, #275937);
77
+ border-color: var(--_dso-button-primary-hover-border-color, #275937);
78
+ color: var(--_dso-button-primary-hover-color, #fff);
79
79
  }
80
80
  a.dso-primary:active,
81
81
  button.dso-primary:active,
82
82
  label.dso-primary:active {
83
- background-color: #173521;
84
- border-color: #173521;
85
- color: #fff;
83
+ background-color: var(--_dso-button-primary-active-background-color, #173521);
84
+ border-color: var(--_dso-button-primary-active-border-color, #173521);
85
+ color: var(--_dso-button-primary-active-color, #fff);
86
86
  }
87
87
  a.dso-primary[disabled], a.dso-primary[disabled]:hover,
88
88
  button.dso-primary[disabled],
89
89
  button.dso-primary[disabled]:hover,
90
90
  label.dso-primary[disabled],
91
91
  label.dso-primary[disabled]:hover {
92
- background-color: #afcf9d;
93
- border-color: #afcf9d;
94
- color: #fff;
92
+ background-color: var(--_dso-button-primary-disabled-background-color, #afcf9d);
93
+ border-color: var(--_dso-button-primary-disabled-border-color, #afcf9d);
94
+ color: var(--_dso-button-primary-disabled-color, #fff);
95
95
  }
96
96
  a.dso-primary.dso-small,
97
97
  button.dso-primary.dso-small,
@@ -238,9 +238,9 @@ label.dso-secondary.download::after {
238
238
  a.dso-secondary,
239
239
  button.dso-secondary,
240
240
  label.dso-secondary {
241
- background-color: #fff;
242
- border-color: #39870c;
243
- color: #39870c;
241
+ background-color: var(--_dso-button-secondary-background-color, #fff);
242
+ border-color: var(--_dso-button-secondary-border-color, #39870c);
243
+ color: var(--_dso-button-secondary-color, #39870c);
244
244
  }
245
245
  a.dso-secondary,
246
246
  button.dso-secondary,
@@ -256,25 +256,25 @@ label.dso-secondary {
256
256
  a.dso-secondary:hover,
257
257
  button.dso-secondary:hover,
258
258
  label.dso-secondary:hover {
259
- background-color: #d7e7ce;
260
- border-color: #39870c;
261
- color: #39870c;
259
+ background-color: var(--_dso-button-secondary-hover-background-color, #d7e7ce);
260
+ border-color: var(--_dso-button-secondary-hover-border-color, #39870c);
261
+ color: var(--_dso-button-secondary-hover-color, #39870c);
262
262
  }
263
263
  a.dso-secondary:active,
264
264
  button.dso-secondary:active,
265
265
  label.dso-secondary:active {
266
- background-color: #39870c;
267
- border-color: #39870c;
268
- color: #fff;
266
+ background-color: var(--_dso-button-secondary-active-background-color, #39870c);
267
+ border-color: var(--_dso-button-secondary-active-border-color, #39870c);
268
+ color: var(--_dso-button-secondary-active-color, #fff);
269
269
  }
270
270
  a.dso-secondary[disabled], a.dso-secondary[disabled]:hover,
271
271
  button.dso-secondary[disabled],
272
272
  button.dso-secondary[disabled]:hover,
273
273
  label.dso-secondary[disabled],
274
274
  label.dso-secondary[disabled]:hover {
275
- background-color: #fff;
276
- border-color: #afcf9d;
277
- color: #afcf9d;
275
+ background-color: var(--_dso-button-secondary-disabled-background-color, #fff);
276
+ border-color: var(--_dso-button-secondary-disabled-border-color, #afcf9d);
277
+ color: var(--_dso-button-secondary-disabled-color, #afcf9d);
278
278
  }
279
279
  a.dso-secondary.dso-small,
280
280
  button.dso-secondary.dso-small,
@@ -26,7 +26,7 @@ export class OzonContent {
26
26
  urlResolver: this.urlResolver,
27
27
  };
28
28
  const transformed = mapper.transform(this.content, context);
29
- return h(Fragment, { key: '1e3413dc949ad16b20ac3209da2fe7a52f6c2fea' }, transformed);
29
+ return h(Fragment, { key: '65ffbfbf7a622e4adc07cba9aaacbcdf0334927d' }, transformed);
30
30
  }
31
31
  static get is() { return "dso-ozon-content"; }
32
32
  static get encapsulation() { return "shadow"; }
@@ -44,6 +44,7 @@ export class OzonContent {
44
44
  return {
45
45
  "content": {
46
46
  "type": "string",
47
+ "attribute": "content",
47
48
  "mutable": false,
48
49
  "complexType": {
49
50
  "original": "OzonContentInputType",
@@ -64,11 +65,11 @@ export class OzonContent {
64
65
  },
65
66
  "getter": false,
66
67
  "setter": false,
67
- "attribute": "content",
68
68
  "reflect": false
69
69
  },
70
70
  "inline": {
71
71
  "type": "boolean",
72
+ "attribute": "inline",
72
73
  "mutable": false,
73
74
  "complexType": {
74
75
  "original": "boolean",
@@ -83,12 +84,12 @@ export class OzonContent {
83
84
  },
84
85
  "getter": false,
85
86
  "setter": false,
86
- "attribute": "inline",
87
87
  "reflect": true,
88
88
  "defaultValue": "false"
89
89
  },
90
90
  "mark": {
91
91
  "type": "unknown",
92
+ "attribute": "mark",
92
93
  "mutable": false,
93
94
  "complexType": {
94
95
  "original": "OzonContentMarkFunction",
@@ -112,6 +113,7 @@ export class OzonContent {
112
113
  },
113
114
  "urlResolver": {
114
115
  "type": "unknown",
116
+ "attribute": "url-resolver",
115
117
  "mutable": false,
116
118
  "complexType": {
117
119
  "original": "OzonContentUrlResolver",
@@ -1 +1 @@
1
- {"version":3,"file":"ozon-content.js","sourceRoot":"","sources":["../../../../src/components/ozon-content/ozon-content.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,CAAC,EACD,SAAS,EAET,KAAK,EAEL,IAAI,EACJ,KAAK,EACL,QAAQ,EAER,KAAK,GACN,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAY/C,MAAM,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;AAO5B,MAAM,OAAO,WAAW;IALxB;QAYE;;WAEG;QAEH,WAAM,GAAG,KAAK,CAAC;QAgCf,UAAK,GAAyB,EAAE,CAAC;QAEzB,4BAAu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\";\r\n\r\nimport { Mapper } from \"./ozon-content-mapper\";\r\nimport { OzonContentContext } from \"./ozon-content-context.interface\";\r\nimport {\r\n OzonContentAnchorClickEvent,\r\n OzonContentInputType,\r\n OzonContentMarkFunction,\r\n OzonContentMarkItemHighlightEvent,\r\n OzonContentUrlResolver,\r\n} from \"./ozon-content.interfaces\";\r\n\r\nimport { OzonContentNodeState } from \"./ozon-content-node-state.interface\";\r\n\r\nconst mapper = new Mapper();\r\n\r\n@Component({\r\n tag: \"dso-ozon-content\",\r\n styleUrl: \"ozon-content.scss\",\r\n shadow: true,\r\n})\r\nexport class OzonContent implements ComponentInterface {\r\n /**\r\n * The XML to be rendered.\r\n */\r\n @Prop()\r\n content?: OzonContentInputType;\r\n\r\n /**\r\n * Setting this property creates dso-ozon-content as inline element instead of a block element.\r\n */\r\n @Prop({ reflect: true })\r\n inline = false;\r\n\r\n /**\r\n * To mark text.\r\n */\r\n @Prop()\r\n mark?: OzonContentMarkFunction;\r\n\r\n /**\r\n * A UrlResolver that will be called for all STOP elements that render to HTML5 elements with external references.\r\n */\r\n @Prop()\r\n urlResolver?: OzonContentUrlResolver;\r\n\r\n /**\r\n * Emitted when `<a>` is clicked.\r\n */\r\n @Event({ bubbles: false })\r\n dsoAnchorClick!: EventEmitter<OzonContentAnchorClickEvent>;\r\n\r\n /**\r\n * Emitted when a marked item is highlighted.\r\n */\r\n @Event({ bubbles: false })\r\n dsoOzonContentMarkItemHighlight!: EventEmitter<OzonContentMarkItemHighlightEvent>;\r\n\r\n @Watch(\"content\")\r\n contentWatcher() {\r\n this.state = {};\r\n }\r\n\r\n @State()\r\n state: OzonContentNodeState = {};\r\n\r\n private handleMarkItemHighlight = (text: string, elementRef: HTMLElement) => {\r\n this.dsoOzonContentMarkItemHighlight.emit({ text, elementRef });\r\n };\r\n\r\n render(): JSX.Element {\r\n const context: OzonContentContext = {\r\n state: this.state,\r\n inline: this.inline,\r\n mark: this.mark,\r\n setState: (state) => (this.state = state),\r\n emitMarkItemHighlight: this.handleMarkItemHighlight,\r\n emitAnchorClick: this.dsoAnchorClick.emit,\r\n urlResolver: this.urlResolver,\r\n };\r\n\r\n const transformed = mapper.transform(this.content, context);\r\n\r\n return <Fragment>{transformed}</Fragment>;\r\n }\r\n}\r\n\r\nconst dependencies = () => {\r\n dependencies();\r\n\r\n return (\r\n <>\r\n <dso-icon />\r\n <dso-image-overlay />\r\n <dso-tooltip />\r\n <dso-table />\r\n </>\r\n );\r\n};\r\n"]}
1
+ {"version":3,"file":"ozon-content.js","sourceRoot":"","sources":["../../../../src/components/ozon-content/ozon-content.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,CAAC,EACD,SAAS,EAET,KAAK,EAEL,IAAI,EACJ,KAAK,EACL,QAAQ,EAER,KAAK,GACN,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAY/C,MAAM,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;AAO5B,MAAM,OAAO,WAAW;IALxB;QAYE;;WAEG;QAEH,WAAM,GAAG,KAAK,CAAC;QAgCf,UAAK,GAAyB,EAAE,CAAC;QAEzB,4BAAuB,GAAG,CAAC,IAAY,EAAE,UAAuB,EAAE,EAAE;YAC1E,IAAI,CAAC,+BAA+B,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;QAClE,CAAC,CAAC;KAiBH;IA1BC,cAAc;QACZ,IAAI,CAAC,KAAK,GAAG,EAAE,CAAC;IAClB,CAAC;IASD,MAAM;QACJ,MAAM,OAAO,GAAuB;YAClC,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;YACzC,qBAAqB,EAAE,IAAI,CAAC,uBAAuB;YACnD,eAAe,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI;YACzC,WAAW,EAAE,IAAI,CAAC,WAAW;SAC9B,CAAC;QAEF,MAAM,WAAW,GAAG,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAE5D,OAAO,EAAC,QAAQ,uDAAE,WAAW,CAAY,CAAC;IAC5C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF;AAED,MAAM,YAAY,GAAG,GAAG,EAAE;IACxB,YAAY,EAAE,CAAC;IAEf,OAAO,CACL;QACE,mBAAY;QACZ,4BAAqB;QACrB,sBAAe;QACf,oBAAa,CACZ,CACJ,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import {\r\n h,\r\n Component,\r\n ComponentInterface,\r\n Event,\r\n EventEmitter,\r\n Prop,\r\n State,\r\n Fragment,\r\n JSX,\r\n Watch,\r\n} from \"@stencil/core\";\r\n\r\nimport { Mapper } from \"./ozon-content-mapper\";\r\nimport { OzonContentContext } from \"./ozon-content-context.interface\";\r\nimport {\r\n OzonContentAnchorClickEvent,\r\n OzonContentInputType,\r\n OzonContentMarkFunction,\r\n OzonContentMarkItemHighlightEvent,\r\n OzonContentUrlResolver,\r\n} from \"./ozon-content.interfaces\";\r\n\r\nimport { OzonContentNodeState } from \"./ozon-content-node-state.interface\";\r\n\r\nconst mapper = new Mapper();\r\n\r\n@Component({\r\n tag: \"dso-ozon-content\",\r\n styleUrl: \"ozon-content.scss\",\r\n shadow: true,\r\n})\r\nexport class OzonContent implements ComponentInterface {\r\n /**\r\n * The XML to be rendered.\r\n */\r\n @Prop()\r\n content?: OzonContentInputType;\r\n\r\n /**\r\n * Setting this property creates dso-ozon-content as inline element instead of a block element.\r\n */\r\n @Prop({ reflect: true })\r\n inline = false;\r\n\r\n /**\r\n * To mark text.\r\n */\r\n @Prop()\r\n mark?: OzonContentMarkFunction;\r\n\r\n /**\r\n * A UrlResolver that will be called for all STOP elements that render to HTML5 elements with external references.\r\n */\r\n @Prop()\r\n urlResolver?: OzonContentUrlResolver;\r\n\r\n /**\r\n * Emitted when `<a>` is clicked.\r\n */\r\n @Event({ bubbles: false })\r\n dsoAnchorClick!: EventEmitter<OzonContentAnchorClickEvent>;\r\n\r\n /**\r\n * Emitted when a marked item is highlighted.\r\n */\r\n @Event({ bubbles: false })\r\n dsoOzonContentMarkItemHighlight!: EventEmitter<OzonContentMarkItemHighlightEvent>;\r\n\r\n @Watch(\"content\")\r\n contentWatcher() {\r\n this.state = {};\r\n }\r\n\r\n @State()\r\n state: OzonContentNodeState = {};\r\n\r\n private handleMarkItemHighlight = (text: string, elementRef: HTMLElement) => {\r\n this.dsoOzonContentMarkItemHighlight.emit({ text, elementRef });\r\n };\r\n\r\n render(): JSX.Element {\r\n const context: OzonContentContext = {\r\n state: this.state,\r\n inline: this.inline,\r\n mark: this.mark,\r\n setState: (state) => (this.state = state),\r\n emitMarkItemHighlight: this.handleMarkItemHighlight,\r\n emitAnchorClick: this.dsoAnchorClick.emit,\r\n urlResolver: this.urlResolver,\r\n };\r\n\r\n const transformed = mapper.transform(this.content, context);\r\n\r\n return <Fragment>{transformed}</Fragment>;\r\n }\r\n}\r\n\r\nconst dependencies = () => {\r\n dependencies();\r\n\r\n return (\r\n <>\r\n <dso-icon />\r\n <dso-image-overlay />\r\n <dso-tooltip />\r\n <dso-table />\r\n </>\r\n );\r\n};\r\n"]}
@@ -154,6 +154,7 @@ export class Pagination {
154
154
  return {
155
155
  "totalPages": {
156
156
  "type": "number",
157
+ "attribute": "total-pages",
157
158
  "mutable": false,
158
159
  "complexType": {
159
160
  "original": "number",
@@ -168,11 +169,11 @@ export class Pagination {
168
169
  },
169
170
  "getter": false,
170
171
  "setter": false,
171
- "attribute": "total-pages",
172
172
  "reflect": false
173
173
  },
174
174
  "currentPage": {
175
175
  "type": "number",
176
+ "attribute": "current-page",
176
177
  "mutable": false,
177
178
  "complexType": {
178
179
  "original": "number",
@@ -187,11 +188,11 @@ export class Pagination {
187
188
  },
188
189
  "getter": false,
189
190
  "setter": false,
190
- "attribute": "current-page",
191
191
  "reflect": false
192
192
  },
193
193
  "formatHref": {
194
194
  "type": "unknown",
195
+ "attribute": "format-href",
195
196
  "mutable": false,
196
197
  "complexType": {
197
198
  "original": "(page: number) => string",