@dso-toolkit/core 81.1.0 → 82.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 (105) hide show
  1. package/dist/bundle/dso-accordion-section.js +3 -3
  2. package/dist/bundle/dso-accordion-section.js.map +1 -1
  3. package/dist/bundle/dso-accordion.js +2 -2
  4. package/dist/bundle/dso-accordion.js.map +1 -1
  5. package/dist/bundle/dso-document-component.js +1 -1
  6. package/dist/bundle/dso-history-item.js +3 -2
  7. package/dist/bundle/dso-history-item.js.map +1 -1
  8. package/dist/bundle/dso-list-button.js +1 -1
  9. package/dist/bundle/dso-list-button.js.map +1 -1
  10. package/dist/bundle/dso-map-base-layers.js +1 -1
  11. package/dist/bundle/dso-map-overlays.js +1 -1
  12. package/dist/bundle/dso-ozon-content.js +1 -1
  13. package/dist/bundle/dso-selectable.js +1 -1
  14. package/dist/bundle/dsot-document-component-demo.js +2 -2
  15. package/dist/bundle/{p-ZFqVNkha.js → p-COQMcyrp.js} +3 -3
  16. package/dist/bundle/p-COQMcyrp.js.map +1 -0
  17. package/dist/bundle/{p-DwMDdxsX.js → p-DbaZzGS_.js} +8 -8
  18. package/dist/bundle/p-DbaZzGS_.js.map +1 -0
  19. package/dist/bundle/{p-mimda5aG.js → p-ZIaudZgD.js} +3 -3
  20. package/dist/bundle/{p-mimda5aG.js.map → p-ZIaudZgD.js.map} +1 -1
  21. package/dist/cjs/dso-accordion-section.cjs.entry.js +3 -3
  22. package/dist/cjs/dso-accordion-section.cjs.entry.js.map +1 -1
  23. package/dist/cjs/dso-accordion-section.entry.cjs.js.map +1 -1
  24. package/dist/cjs/dso-accordion.cjs.entry.js +2 -2
  25. package/dist/cjs/dso-accordion.cjs.entry.js.map +1 -1
  26. package/dist/cjs/dso-accordion.entry.cjs.js.map +1 -1
  27. package/dist/cjs/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-ozon-content-toggletip.dso-panel.dso-table.entry.cjs.js.map +1 -1
  28. package/dist/cjs/dso-alert_7.cjs.entry.js +6 -6
  29. package/dist/cjs/dso-alert_7.cjs.entry.js.map +1 -1
  30. package/dist/cjs/dso-history-item.cjs.entry.js +3 -2
  31. package/dist/cjs/dso-history-item.cjs.entry.js.map +1 -1
  32. package/dist/cjs/dso-history-item.entry.cjs.js.map +1 -1
  33. package/dist/cjs/dso-info.dso-selectable.entry.cjs.js.map +1 -1
  34. package/dist/cjs/dso-info_2.cjs.entry.js +1 -1
  35. package/dist/cjs/dso-info_2.cjs.entry.js.map +1 -1
  36. package/dist/cjs/dso-list-button.cjs.entry.js.map +1 -1
  37. package/dist/cjs/dso-list-button.entry.cjs.js.map +1 -1
  38. package/dist/collection/components/accordion/accordion.css +10 -0
  39. package/dist/collection/components/accordion/accordion.js +1 -1
  40. package/dist/collection/components/accordion/accordion.js.map +1 -1
  41. package/dist/collection/components/accordion/components/accordion-section.css +1 -0
  42. package/dist/collection/components/accordion/components/accordion-section.js +2 -2
  43. package/dist/collection/components/accordion/components/accordion-section.js.map +1 -1
  44. package/dist/collection/components/history-item/history-item.css +4 -0
  45. package/dist/collection/components/history-item/history-item.interfaces.js.map +1 -1
  46. package/dist/collection/components/history-item/history-item.js +3 -2
  47. package/dist/collection/components/history-item/history-item.js.map +1 -1
  48. package/dist/collection/components/ozon-content/nodes/figuur.node.js +4 -4
  49. package/dist/collection/components/ozon-content/nodes/figuur.node.js.map +1 -1
  50. package/dist/collection/components/selectable/selectable.css +22 -6
  51. package/dist/components/dso-accordion-section.js +3 -3
  52. package/dist/components/dso-accordion-section.js.map +1 -1
  53. package/dist/components/dso-accordion.js +2 -2
  54. package/dist/components/dso-accordion.js.map +1 -1
  55. package/dist/components/dso-history-item.js +3 -2
  56. package/dist/components/dso-history-item.js.map +1 -1
  57. package/dist/components/dso-list-button.js.map +1 -1
  58. package/dist/components/ozon-content.js +6 -6
  59. package/dist/components/ozon-content.js.map +1 -1
  60. package/dist/components/selectable.js +1 -1
  61. package/dist/components/selectable.js.map +1 -1
  62. package/dist/dso-toolkit/dso-accordion-section.entry.esm.js.map +1 -1
  63. package/dist/dso-toolkit/dso-accordion.entry.esm.js.map +1 -1
  64. package/dist/dso-toolkit/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-ozon-content-toggletip.dso-panel.dso-table.entry.esm.js.map +1 -1
  65. package/dist/dso-toolkit/dso-history-item.entry.esm.js.map +1 -1
  66. package/dist/dso-toolkit/dso-info.dso-selectable.entry.esm.js.map +1 -1
  67. package/dist/dso-toolkit/dso-list-button.entry.esm.js.map +1 -1
  68. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  69. package/dist/dso-toolkit/{p-9c063e0c.entry.js → p-004b02b7.entry.js} +2 -2
  70. package/dist/dso-toolkit/p-004b02b7.entry.js.map +1 -0
  71. package/dist/dso-toolkit/p-05275c43.entry.js +2 -0
  72. package/dist/dso-toolkit/p-05275c43.entry.js.map +1 -0
  73. package/dist/dso-toolkit/p-32b64025.entry.js.map +1 -1
  74. package/dist/dso-toolkit/p-4bd397cb.entry.js +2 -0
  75. package/dist/dso-toolkit/p-4bd397cb.entry.js.map +1 -0
  76. package/dist/dso-toolkit/p-4f87903d.entry.js +2 -0
  77. package/dist/dso-toolkit/p-4f87903d.entry.js.map +1 -0
  78. package/dist/dso-toolkit/p-5a7ce367.entry.js +2 -0
  79. package/dist/dso-toolkit/p-5a7ce367.entry.js.map +1 -0
  80. package/dist/esm/dso-accordion-section.entry.js +3 -3
  81. package/dist/esm/dso-accordion-section.entry.js.map +1 -1
  82. package/dist/esm/dso-accordion.entry.js +2 -2
  83. package/dist/esm/dso-accordion.entry.js.map +1 -1
  84. package/dist/esm/dso-alert.dso-badge.dso-image-overlay.dso-ozon-content.dso-ozon-content-toggletip.dso-panel.dso-table.entry.js.map +1 -1
  85. package/dist/esm/dso-alert_7.entry.js +6 -6
  86. package/dist/esm/dso-alert_7.entry.js.map +1 -1
  87. package/dist/esm/dso-history-item.entry.js +3 -2
  88. package/dist/esm/dso-history-item.entry.js.map +1 -1
  89. package/dist/esm/dso-info.dso-selectable.entry.js.map +1 -1
  90. package/dist/esm/dso-info_2.entry.js +1 -1
  91. package/dist/esm/dso-info_2.entry.js.map +1 -1
  92. package/dist/esm/dso-list-button.entry.js.map +1 -1
  93. package/dist/types/components/history-item/history-item.interfaces.d.ts +1 -1
  94. package/package.json +3 -3
  95. package/dist/bundle/p-DwMDdxsX.js.map +0 -1
  96. package/dist/bundle/p-ZFqVNkha.js.map +0 -1
  97. package/dist/dso-toolkit/p-622e11c0.entry.js +0 -2
  98. package/dist/dso-toolkit/p-622e11c0.entry.js.map +0 -1
  99. package/dist/dso-toolkit/p-70ea6c42.entry.js +0 -2
  100. package/dist/dso-toolkit/p-70ea6c42.entry.js.map +0 -1
  101. package/dist/dso-toolkit/p-9c063e0c.entry.js.map +0 -1
  102. package/dist/dso-toolkit/p-c123217b.entry.js +0 -2
  103. package/dist/dso-toolkit/p-c123217b.entry.js.map +0 -1
  104. package/dist/dso-toolkit/p-d14bcff7.entry.js +0 -2
  105. package/dist/dso-toolkit/p-d14bcff7.entry.js.map +0 -1
@@ -823,9 +823,9 @@ class OzonContentFiguurNode {
823
823
  };
824
824
  }
825
825
  render(node, { mapNodeToJsx, urlResolver }) {
826
- var _a, _b, _c, _d, _e;
826
+ var _a, _b, _c, _d;
827
827
  const childNodes = Array.from(node.childNodes);
828
- const titel = (_a = childNodes.find((n) => getNodeName(n) === "Titel")) === null || _a === void 0 ? void 0 : _a.textContent;
828
+ const titel = childNodes.find((n) => getNodeName(n) === "Titel");
829
829
  const bron = childNodes.find((n) => getNodeName(n) === "Bron");
830
830
  const illustratieNode = childNodes.find((n) => getNodeName(n) === "Illustratie");
831
831
  const bijschriftNode = childNodes.find((n) => getNodeName(n) === "Bijschrift");
@@ -835,17 +835,17 @@ class OzonContentFiguurNode {
835
835
  const bijschrift = bijschriftNode instanceof Element
836
836
  ? {
837
837
  inhoud: bijschriftNode.childNodes,
838
- locatie: (_b = bijschriftNode.getAttribute("locatie")) !== null && _b !== void 0 ? _b : "onder",
838
+ locatie: (_a = bijschriftNode.getAttribute("locatie")) !== null && _a !== void 0 ? _a : "onder",
839
839
  }
840
840
  : undefined;
841
841
  const src = urlResolver ? urlResolver("Illustratie", "naam", illustratie.naam, node) : illustratie.naam;
842
842
  return (index.h("div", { class: `dso-ozon-figuur ${bijschrift ? `bijschrift-${bijschrift.locatie}` : "onder"}`, style: this.getStyle(illustratie) },
843
- titel && index.h("span", { class: "figuur-titel" }, titel),
843
+ titel && index.h("span", { class: "figuur-titel" }, mapNodeToJsx(titel)),
844
844
  (bijschrift === null || bijschrift === void 0 ? void 0 : bijschrift.locatie) === "boven" && (index.h(Bijschrift, { bijschrift: bijschrift, bron: bron, mapNodeToJsx: mapNodeToJsx })),
845
845
  index.h("dso-image-overlay", { wijzigactie: wijzigactie },
846
846
  titel && (index.h("div", { slot: "titel" },
847
- index.h("span", null, titel))),
848
- index.h("img", { src: src !== null && src !== void 0 ? src : undefined, alt: (_e = (_d = (_c = illustratie.alt) !== null && _c !== void 0 ? _c : titel) !== null && _d !== void 0 ? _d : illustratie.naam) !== null && _e !== void 0 ? _e : undefined }),
847
+ index.h("span", null, mapNodeToJsx(titel)))),
848
+ index.h("img", { src: src !== null && src !== void 0 ? src : undefined, alt: (_d = (_c = (_b = illustratie.alt) !== null && _b !== void 0 ? _b : titel === null || titel === void 0 ? void 0 : titel.textContent) !== null && _c !== void 0 ? _c : illustratie.naam) !== null && _d !== void 0 ? _d : undefined }),
849
849
  (bijschrift || bron) && (index.h("div", { slot: "bijschrift" },
850
850
  index.h(Bijschrift, { bijschrift: bijschrift, bron: bron, mapNodeToJsx: mapNodeToJsx })))),
851
851
  ((bijschrift === null || bijschrift === void 0 ? void 0 : bijschrift.locatie) === "onder" || (!bijschrift && bron)) && (index.h(Bijschrift, { bijschrift: bijschrift, bron: bron, mapNodeToJsx: mapNodeToJsx }))));