@dso-toolkit/core 45.0.1 → 45.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 (192) hide show
  1. package/dist/cjs/dso-accordion-section.cjs.entry.js +110 -0
  2. package/dist/cjs/dso-accordion.cjs.entry.js +297 -0
  3. package/dist/cjs/dso-alert.cjs.entry.js +3 -3
  4. package/dist/cjs/dso-attachments-counter.cjs.entry.js +3 -3
  5. package/dist/cjs/dso-autosuggest.cjs.entry.js +1 -1
  6. package/dist/cjs/dso-badge.cjs.entry.js +1 -1
  7. package/dist/cjs/dso-banner.cjs.entry.js +2 -2
  8. package/dist/cjs/dso-date-picker.cjs.entry.js +2 -2
  9. package/dist/cjs/dso-dropdown-menu.cjs.entry.js +3 -3
  10. package/dist/cjs/dso-header.cjs.entry.js +6 -6
  11. package/dist/cjs/dso-helpcenter-panel.cjs.entry.js +59 -3
  12. package/dist/cjs/dso-highlight-box.cjs.entry.js +2 -2
  13. package/dist/cjs/dso-icon.cjs.entry.js +2 -2
  14. package/dist/cjs/dso-image-overlay.cjs.entry.js +11 -5
  15. package/dist/cjs/dso-info-button.cjs.entry.js +4 -3
  16. package/dist/cjs/dso-info_2.cjs.entry.js +3 -3
  17. package/dist/cjs/dso-label.cjs.entry.js +1 -1
  18. package/dist/cjs/dso-map-base-layers.cjs.entry.js +1 -1
  19. package/dist/cjs/dso-map-controls.cjs.entry.js +2 -2
  20. package/dist/cjs/dso-map-overlays.cjs.entry.js +1 -1
  21. package/dist/cjs/dso-ozon-content.cjs.entry.js +77 -16
  22. package/dist/cjs/dso-pagination.cjs.entry.js +99 -7
  23. package/dist/cjs/dso-progress-bar.cjs.entry.js +2 -2
  24. package/dist/cjs/dso-progress-indicator.cjs.entry.js +1 -1
  25. package/dist/cjs/dso-responsive-element.cjs.entry.js +6 -1
  26. package/dist/cjs/dso-table.cjs.entry.js +89 -0
  27. package/dist/cjs/dso-toggletip.cjs.entry.js +2 -2
  28. package/dist/cjs/dso-toolkit.cjs.js +2 -2
  29. package/dist/cjs/dso-tooltip.cjs.entry.js +1 -1
  30. package/dist/cjs/dso-tree-view.cjs.entry.js +1 -1
  31. package/dist/cjs/dso-viewer-grid.cjs.entry.js +11 -5
  32. package/dist/cjs/{focus-trap.esm-a85643b0.js → focus-trap.esm-e2addb10.js} +28 -11
  33. package/dist/cjs/{index-0a7c679a.js → index-4066351a.js} +7 -0
  34. package/dist/cjs/{index.esm-3520a2a6.js → index.esm-50325ea2.js} +110 -12
  35. package/dist/cjs/loader.cjs.js +2 -2
  36. package/dist/collection/collection-manifest.json +3 -0
  37. package/dist/collection/components/accordion/accordion.css +9 -0
  38. package/dist/collection/components/accordion/accordion.interfaces.js +1 -0
  39. package/dist/collection/components/accordion/accordion.js +260 -0
  40. package/dist/collection/components/accordion/accordion.template.js +26 -0
  41. package/dist/collection/components/accordion/components/accordion-section.css +221 -0
  42. package/dist/collection/components/accordion/components/accordion-section.js +292 -0
  43. package/dist/collection/components/alert/alert.css +14 -51
  44. package/dist/collection/components/alert/alert.js +1 -0
  45. package/dist/collection/components/attachments-counter/attachments-counter.css +0 -12
  46. package/dist/collection/components/attachments-counter/attachments-counter.js +2 -1
  47. package/dist/collection/components/banner/banner.css +0 -4
  48. package/dist/collection/components/date-picker/date-picker.css +2 -2
  49. package/dist/collection/components/dropdown-menu/dropdown-menu.css +0 -7
  50. package/dist/collection/components/header/header.css +38 -390
  51. package/dist/collection/components/header/header.js +22 -24
  52. package/dist/collection/components/header/header.template.js +1 -1
  53. package/dist/collection/components/helpcenter-panel/helpcenter-panel.css +21 -104
  54. package/dist/collection/components/helpcenter-panel/helpcenter-panel.js +71 -5
  55. package/dist/collection/components/highlight-box/highlight-box.css +1 -3
  56. package/dist/collection/components/image-overlay/image-overlay.css +37 -1134
  57. package/dist/collection/components/image-overlay/image-overlay.js +13 -3
  58. package/dist/collection/components/image-overlay/image-overlay.template.js +9 -1
  59. package/dist/collection/components/info/info.css +19 -1070
  60. package/dist/collection/components/info/info.js +1 -0
  61. package/dist/collection/components/info-button/info-button.css +8 -17
  62. package/dist/collection/components/info-button/info-button.js +9 -3
  63. package/dist/collection/components/map-controls/map-controls.css +20 -1172
  64. package/dist/collection/components/ozon-content/nodes/figuur.node.js +41 -6
  65. package/dist/collection/components/ozon-content/nodes/lijst.node.js +25 -0
  66. package/dist/collection/components/ozon-content/nodes/table.node/table.node.js +8 -7
  67. package/dist/collection/components/ozon-content/ozon-content-mapper.js +2 -0
  68. package/dist/collection/components/ozon-content/ozon-content.css +39 -49
  69. package/dist/collection/components/pagination/pagination.css +1 -0
  70. package/dist/collection/components/pagination/pagination.js +122 -14
  71. package/dist/collection/components/progress-bar/progress-bar.css +1 -1
  72. package/dist/collection/components/responsive-element/responsive-element.interfaces.js +1 -0
  73. package/dist/collection/components/responsive-element/responsive-element.js +48 -1
  74. package/dist/collection/components/responsive-element/responsive-element.template.js +4 -2
  75. package/dist/collection/components/table/table.css +296 -0
  76. package/dist/collection/components/table/table.interfaces.js +1 -0
  77. package/dist/collection/components/table/table.js +146 -0
  78. package/dist/collection/components/table/table.template.js +26 -0
  79. package/dist/collection/components/toggletip/toggletip.css +4 -0
  80. package/dist/collection/components/viewer-grid/viewer-grid.css +34 -1300
  81. package/dist/collection/components/viewer-grid/viewer-grid.js +12 -1
  82. package/dist/custom-elements/index.d.ts +18 -0
  83. package/dist/custom-elements/index.js +2052 -1230
  84. package/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  85. package/dist/dso-toolkit/p-02b2e01c.entry.js +1 -0
  86. package/dist/dso-toolkit/{p-d780f9ff.entry.js → p-05a9e206.entry.js} +1 -1
  87. package/dist/dso-toolkit/p-1a19ce42.entry.js +1 -0
  88. package/dist/dso-toolkit/p-22c35db5.js +5 -0
  89. package/dist/dso-toolkit/{p-361528b4.entry.js → p-2e74485e.entry.js} +1 -1
  90. package/dist/dso-toolkit/p-2f6b1092.entry.js +1 -0
  91. package/dist/dso-toolkit/{p-bf4d6f63.entry.js → p-3381c859.entry.js} +1 -1
  92. package/dist/dso-toolkit/{p-3799366e.entry.js → p-37a34037.entry.js} +1 -1
  93. package/dist/dso-toolkit/p-383227b9.entry.js +1 -0
  94. package/dist/dso-toolkit/p-42450cfe.js +1 -0
  95. package/dist/dso-toolkit/p-4c44d27c.entry.js +1 -0
  96. package/dist/dso-toolkit/{p-91b6a181.entry.js → p-4fd140e9.entry.js} +1 -1
  97. package/dist/dso-toolkit/p-53c7bf4f.entry.js +1 -0
  98. package/dist/dso-toolkit/p-662b7663.entry.js +1 -0
  99. package/dist/dso-toolkit/{p-d60876c2.entry.js → p-67b11174.entry.js} +1 -1
  100. package/dist/dso-toolkit/{p-375a2523.entry.js → p-6a414479.entry.js} +1 -1
  101. package/dist/dso-toolkit/{p-e4bcafc4.entry.js → p-6cac0292.entry.js} +1 -1
  102. package/dist/dso-toolkit/p-7213783b.entry.js +1 -0
  103. package/dist/dso-toolkit/p-83de460b.entry.js +1 -0
  104. package/dist/dso-toolkit/p-9aaadf4f.entry.js +1 -0
  105. package/dist/dso-toolkit/p-a5a5b24b.entry.js +1 -0
  106. package/dist/dso-toolkit/p-a9b0a83e.entry.js +1 -0
  107. package/dist/dso-toolkit/p-ac0c0eee.entry.js +1 -0
  108. package/dist/dso-toolkit/p-b6afe104.entry.js +1 -0
  109. package/dist/dso-toolkit/{p-590cbab6.entry.js → p-b9531adb.entry.js} +1 -1
  110. package/dist/dso-toolkit/{p-6bc71e48.entry.js → p-d2255268.entry.js} +1 -1
  111. package/dist/dso-toolkit/p-de50f5f1.entry.js +1 -0
  112. package/dist/dso-toolkit/p-e16b5d71.entry.js +1 -0
  113. package/dist/dso-toolkit/p-ea1d4c81.entry.js +1 -0
  114. package/dist/dso-toolkit/p-eb326df8.entry.js +1 -0
  115. package/dist/dso-toolkit/{p-25f8dbc6.entry.js → p-ec3b8800.entry.js} +1 -1
  116. package/dist/dso-toolkit/{p-16635f4b.entry.js → p-f1b5baf9.entry.js} +1 -1
  117. package/dist/dso-toolkit/p-f8b023c4.js +5 -0
  118. package/dist/esm/dso-accordion-section.entry.js +106 -0
  119. package/dist/esm/dso-accordion.entry.js +293 -0
  120. package/dist/esm/dso-alert.entry.js +3 -3
  121. package/dist/esm/dso-attachments-counter.entry.js +3 -3
  122. package/dist/esm/dso-autosuggest.entry.js +1 -1
  123. package/dist/esm/dso-badge.entry.js +1 -1
  124. package/dist/esm/dso-banner.entry.js +2 -2
  125. package/dist/esm/dso-date-picker.entry.js +2 -2
  126. package/dist/esm/dso-dropdown-menu.entry.js +3 -3
  127. package/dist/esm/dso-header.entry.js +6 -6
  128. package/dist/esm/dso-helpcenter-panel.entry.js +59 -3
  129. package/dist/esm/dso-highlight-box.entry.js +2 -2
  130. package/dist/esm/dso-icon.entry.js +2 -2
  131. package/dist/esm/dso-image-overlay.entry.js +11 -5
  132. package/dist/esm/dso-info-button.entry.js +4 -3
  133. package/dist/esm/dso-info_2.entry.js +3 -3
  134. package/dist/esm/dso-label.entry.js +1 -1
  135. package/dist/esm/dso-map-base-layers.entry.js +1 -1
  136. package/dist/esm/dso-map-controls.entry.js +2 -2
  137. package/dist/esm/dso-map-overlays.entry.js +1 -1
  138. package/dist/esm/dso-ozon-content.entry.js +77 -16
  139. package/dist/esm/dso-pagination.entry.js +99 -7
  140. package/dist/esm/dso-progress-bar.entry.js +2 -2
  141. package/dist/esm/dso-progress-indicator.entry.js +1 -1
  142. package/dist/esm/dso-responsive-element.entry.js +6 -1
  143. package/dist/esm/dso-table.entry.js +85 -0
  144. package/dist/esm/dso-toggletip.entry.js +2 -2
  145. package/dist/esm/dso-toolkit.js +2 -2
  146. package/dist/esm/dso-tooltip.entry.js +1 -1
  147. package/dist/esm/dso-tree-view.entry.js +1 -1
  148. package/dist/esm/dso-viewer-grid.entry.js +11 -5
  149. package/dist/esm/{focus-trap.esm-a01ad6c9.js → focus-trap.esm-e3b5bde3.js} +28 -11
  150. package/dist/esm/{index-1602fde1.js → index-771c1291.js} +7 -1
  151. package/dist/esm/{index.esm-45465af7.js → index.esm-4510c39e.js} +110 -12
  152. package/dist/esm/loader.js +2 -2
  153. package/dist/types/components/accordion/accordion.d.ts +32 -0
  154. package/dist/types/components/accordion/accordion.interfaces.d.ts +20 -0
  155. package/dist/types/components/accordion/accordion.template.d.ts +2 -0
  156. package/dist/types/components/accordion/components/accordion-section.d.ts +25 -0
  157. package/dist/types/components/helpcenter-panel/helpcenter-panel.d.ts +11 -0
  158. package/dist/types/components/image-overlay/image-overlay.d.ts +3 -0
  159. package/dist/types/components/info-button/info-button.d.ts +1 -0
  160. package/dist/types/components/ozon-content/nodes/figuur.node.d.ts +4 -1
  161. package/dist/types/components/ozon-content/nodes/lijst.node.d.ts +6 -0
  162. package/dist/types/components/pagination/pagination.d.ts +15 -0
  163. package/dist/types/components/responsive-element/responsive-element.d.ts +5 -2
  164. package/dist/types/components/responsive-element/responsive-element.interfaces.d.ts +5 -0
  165. package/dist/types/components/responsive-element/responsive-element.template.d.ts +1 -1
  166. package/dist/types/components/table/table.d.ts +26 -0
  167. package/dist/types/components/table/table.interfaces.d.ts +3 -0
  168. package/dist/types/components/table/table.template.d.ts +2 -0
  169. package/dist/types/components.d.ts +128 -0
  170. package/package.json +4 -3
  171. package/readme.md +0 -7
  172. package/dist/collection/icon/dso-icon-sass-function.js +0 -42
  173. package/dist/dso-toolkit/dso-toolkit.css +0 -1
  174. package/dist/dso-toolkit/p-02272301.entry.js +0 -1
  175. package/dist/dso-toolkit/p-10a6db1a.entry.js +0 -1
  176. package/dist/dso-toolkit/p-131d54e3.js +0 -5
  177. package/dist/dso-toolkit/p-1450f113.entry.js +0 -1
  178. package/dist/dso-toolkit/p-15d0f2eb.entry.js +0 -1
  179. package/dist/dso-toolkit/p-3b5f957e.entry.js +0 -1
  180. package/dist/dso-toolkit/p-49938275.entry.js +0 -1
  181. package/dist/dso-toolkit/p-5a56d726.entry.js +0 -1
  182. package/dist/dso-toolkit/p-5e5fbd41.js +0 -5
  183. package/dist/dso-toolkit/p-68d49733.entry.js +0 -1
  184. package/dist/dso-toolkit/p-7b716383.entry.js +0 -1
  185. package/dist/dso-toolkit/p-b95bc2c7.entry.js +0 -1
  186. package/dist/dso-toolkit/p-c1070a58.entry.js +0 -1
  187. package/dist/dso-toolkit/p-c62606a3.js +0 -1
  188. package/dist/dso-toolkit/p-e7888d49.entry.js +0 -1
  189. package/dist/dso-toolkit/p-eb17d45e.entry.js +0 -1
  190. package/dist/dso-toolkit/p-f726111e.entry.js +0 -1
  191. package/dist/dso-toolkit/p-fd8a8509.entry.js +0 -1
  192. package/dist/types/icon/dso-icon-sass-function.d.ts +0 -4
@@ -2,19 +2,30 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0a7c679a.js');
5
+ const index = require('./index-4066351a.js');
6
6
 
7
- const paginationCss = ":host{display:block}*,*::after,*::before{box-sizing:border-box}.pagination{text-align:center}.pagination>li{display:inline-block;font-weight:bold;line-height:calc(2rem - 4px);text-align:center;vertical-align:middle}.pagination>li>a,.pagination>li>span{align-items:center;color:#39870c;display:flex;height:2rem;justify-content:center;position:relative;width:2rem}.pagination>li>a:active,.pagination>li>span:active{background-color:#ebf3e6}.pagination>li>span{border:2px solid transparent;border-radius:50%}.pagination>li a{line-height:2rem;text-decoration:none}.pagination>li a:hover,.pagination>li a:focus{text-decoration:none}.pagination>li a:hover::after,.pagination>li a:focus::after{border-bottom-color:#39870c}.pagination>li a::after{border-bottom:3px solid transparent;bottom:0;content:\"\";display:inline-block;left:0;position:absolute;width:100%}.pagination>li.active span{background-color:#39870c;color:#fff}.pagination>li+li{margin-left:8px}.dso-page-hidden{visibility:hidden}";
7
+ const paginationCss = ":host{display:block}*,*::after,*::before{box-sizing:border-box}.pagination{padding-inline-start:initial;text-align:center}.pagination>li{display:inline-block;font-weight:bold;line-height:calc(2rem - 4px);text-align:center;vertical-align:middle}.pagination>li>a,.pagination>li>span{align-items:center;color:#39870c;display:flex;height:2rem;justify-content:center;position:relative;width:2rem}.pagination>li>a:active,.pagination>li>span:active{background-color:#ebf3e6}.pagination>li>span{border:2px solid transparent;border-radius:50%}.pagination>li a{line-height:2rem;text-decoration:none}.pagination>li a:hover,.pagination>li a:focus{text-decoration:none}.pagination>li a:hover::after,.pagination>li a:focus::after{border-bottom-color:#39870c}.pagination>li a::after{border-bottom:3px solid transparent;bottom:0;content:\"\";display:inline-block;left:0;position:absolute;width:100%}.pagination>li.active span{background-color:#39870c;color:#fff}.pagination>li+li{margin-left:8px}.dso-page-hidden{visibility:hidden}";
8
8
 
9
9
  let Pagination = class {
10
10
  constructor(hostRef) {
11
11
  index.registerInstance(this, hostRef);
12
12
  this.dsoSelectPage = index.createEvent(this, "dsoSelectPage", 7);
13
+ this.sizePositionsMap = {
14
+ small: 7,
15
+ medium: 9,
16
+ large: 11,
17
+ };
13
18
  /**
14
19
  * This function is called to format the href
15
20
  */
16
21
  this.formatHref = (page) => '#' + page;
17
22
  }
23
+ /**
24
+ * Listens to the dsoSizeChange event on Responsive Element
25
+ */
26
+ sizeChangeHandler(event) {
27
+ this.availablePositions = this.getAvailablePositions(this.sizePositionsMap[event.detail]);
28
+ }
18
29
  clickHandler(e, page) {
19
30
  this.dsoSelectPage.emit({
20
31
  originalEvent: e,
@@ -23,18 +34,99 @@ let Pagination = class {
23
34
  });
24
35
  }
25
36
  ;
26
- render() {
37
+ componentDidLoad() {
27
38
  var _a;
39
+ (_a = this.responsiveElement) === null || _a === void 0 ? void 0 : _a.getSize().then((size) => this.availablePositions = this.getAvailablePositions(this.sizePositionsMap[size]));
40
+ }
41
+ render() {
42
+ var _a, _b, _c;
28
43
  if (!this.totalPages) {
29
44
  return null;
30
45
  }
46
+ if (this.availablePositions === undefined) {
47
+ return (index.h("dso-responsive-element", { ref: element => this.responsiveElement = element }));
48
+ }
49
+ const availablePositions = this.availablePositions;
31
50
  const currentPage = (_a = this.currentPage) !== null && _a !== void 0 ? _a : 0;
32
- const pages = Array.from({ length: this.totalPages }, (_value, i) => i + 1);
33
- const currentPageOutOfBounds = currentPage < pages[0] || currentPage > pages[pages.length - 1];
34
- return (index.h("ul", { class: "pagination" }, index.h("li", { class: (currentPage <= pages[0] || currentPageOutOfBounds) ? 'dso-page-hidden' : undefined }, index.h("a", { href: this.formatHref(pages[0]), "aria-label": "Vorige", onClick: e => currentPage && this.clickHandler(e, pages[currentPage - 2]) }, index.h("dso-icon", { icon: "chevron-left" }))), pages.map(page => (index.h("li", { key: page, class: currentPage === page ? 'active' : undefined }, currentPage === page
51
+ const pages = this.getPages(currentPage, this.availablePositions, this.totalPages);
52
+ return (index.h("dso-responsive-element", { ref: element => this.responsiveElement = element }, index.h("ul", { class: "pagination" }, index.h("li", { class: (currentPage <= 1 || currentPage > this.totalPages) ? 'dso-page-hidden' : undefined }, index.h("a", { href: this.formatHref((_b = pages[pages.indexOf(currentPage) - 1]) !== null && _b !== void 0 ? _b : 1), "aria-label": "Vorige", onClick: e => { var _a; return currentPage && this.clickHandler(e, (_a = pages[pages.indexOf(currentPage) - 1]) !== null && _a !== void 0 ? _a : 1); } }, index.h("dso-icon", { icon: "chevron-left" }))), (pages).map(page => (index.h(index.Fragment, null, this.showEllipsisBeforeLast(pages, page, availablePositions, pages[pages.length - 1]) &&
53
+ index.h("li", null, index.h("span", null, "...")), index.h("li", { key: page, class: currentPage === page ? 'active' : undefined }, currentPage === page
35
54
  ? (index.h("span", { "aria-current": "page" }, page))
36
- : (index.h("a", { href: this.formatHref(page), onClick: e => this.clickHandler(e, page) }, page))))), index.h("li", { class: (currentPage >= pages[pages.length - 1] || currentPageOutOfBounds) ? 'dso-page-hidden' : undefined }, index.h("a", { href: this.formatHref(pages[pages.length - 1]), "aria-label": "Volgende", onClick: e => currentPage && this.clickHandler(e, pages[currentPage]) }, index.h("dso-icon", { icon: "chevron-right" })))));
55
+ : (index.h("a", { href: this.formatHref(page), onClick: e => this.clickHandler(e, page) }, page))), this.showEllipsisAfterFirst(pages, page, availablePositions) &&
56
+ index.h("li", null, index.h("span", null, "..."))))), index.h("li", { class: (currentPage < 1 || currentPage >= this.totalPages) ? 'dso-page-hidden' : undefined }, index.h("a", { href: this.formatHref((_c = pages[pages.indexOf(currentPage) + 1]) !== null && _c !== void 0 ? _c : this.totalPages), "aria-label": "Volgende", onClick: e => { var _a; return currentPage && this.clickHandler(e, (_a = pages[pages.indexOf(currentPage) + 1]) !== null && _a !== void 0 ? _a : this.totalPages); } }, index.h("dso-icon", { icon: "chevron-right" }))))));
57
+ }
58
+ getAvailablePositions(sizePositions) {
59
+ if (sizePositions % 2 === 0) { // Even aantal posities zorgt voor een scheve pagination
60
+ return sizePositions - 1;
61
+ }
62
+ if (sizePositions <= 3) { // Voor het kunnen tonen van de vorige knop, volgende knop en 1 pagina zijn minimaal 3 posities nodig.
63
+ return 3;
64
+ }
65
+ return sizePositions;
66
+ }
67
+ getPages(currentPage, availablePositions, totalPages) {
68
+ if (totalPages + 2 <= availablePositions) { // + 2 voor de vorige en volgende knop
69
+ return Array.from({ length: totalPages }, (_value, i) => i + 1);
70
+ }
71
+ if (availablePositions === 3) {
72
+ return [currentPage];
73
+ }
74
+ if (availablePositions === 5) {
75
+ return [1, currentPage, totalPages];
76
+ }
77
+ return [
78
+ 1,
79
+ ...this.getPageRange(currentPage, availablePositions, totalPages),
80
+ totalPages
81
+ ];
82
+ }
83
+ getPageRange(currentPage, availablePositions, totalPages) {
84
+ const range = [];
85
+ const positionRange = Math.floor(availablePositions / 2);
86
+ if (currentPage <= positionRange) {
87
+ for (let i = 2; i <= availablePositions - 4; i++) {
88
+ range.push(i);
89
+ }
90
+ }
91
+ if (currentPage >= positionRange && currentPage <= totalPages - positionRange) {
92
+ if (positionRange === 1) {
93
+ if (currentPage > totalPages - 2) {
94
+ range.push(totalPages - 2);
95
+ }
96
+ range.push(currentPage);
97
+ if (currentPage < 3) {
98
+ range.push(3);
99
+ }
100
+ }
101
+ if (positionRange > 1) {
102
+ const pagesBeforeOrAfter = positionRange - 3;
103
+ for (let i = Math.min(currentPage - pagesBeforeOrAfter, totalPages - positionRange); i <= Math.max(currentPage + pagesBeforeOrAfter, positionRange); i++) {
104
+ if (i > 2 && i < totalPages - 1) {
105
+ range.push(i);
106
+ }
107
+ }
108
+ }
109
+ }
110
+ if (currentPage > totalPages - positionRange) {
111
+ for (let i = totalPages - (availablePositions - 5); i <= totalPages - 1; i++) {
112
+ range.push(i);
113
+ }
114
+ }
115
+ return range.filter((v, i, a) => a.indexOf(v) === i);
116
+ }
117
+ showEllipsisAfterFirst(pages, page, availablePositions) {
118
+ return pages.indexOf(page) === 0 &&
119
+ pages[pages.length - 1] > availablePositions - 2 &&
120
+ !pages.some(p => p === 2) &&
121
+ availablePositions >= 7;
122
+ }
123
+ showEllipsisBeforeLast(pages, page, availablePositions, totalPages) {
124
+ return pages.indexOf(page) === pages.length - 1 &&
125
+ pages[pages.length - 1] > availablePositions - 2 &&
126
+ !pages.some(p => p === totalPages - 1) &&
127
+ availablePositions >= 7;
37
128
  }
129
+ get host() { return index.getElement(this); }
38
130
  };
39
131
  Pagination.style = paginationCss;
40
132
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0a7c679a.js');
5
+ const index = require('./index-4066351a.js');
6
6
 
7
- const progressBarCss = ":host{display:block}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.progress{margin-bottom:8px}.progress #progress-bar-label{font-size:0.875rem;margin-top:8px}.progress .progress-bar{background-color:#fff;border:1px solid #39870c;display:block;height:16px}.progress .progress-bar>span{background-color:#39870c;float:left;height:100%;width:0%}";
7
+ const progressBarCss = ":host{display:block}*,*::after,*::before{box-sizing:border-box}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.progress{margin-bottom:8px}.progress #progress-bar-label{font-size:14px;margin-top:8px}.progress .progress-bar{background-color:#fff;border:1px solid #39870c;display:block;height:16px}.progress .progress-bar>span{background-color:#39870c;float:left;height:100%;width:0%}";
8
8
 
9
9
  let ProgressBar = class {
10
10
  constructor(hostRef) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0a7c679a.js');
5
+ const index = require('./index-4066351a.js');
6
6
 
7
7
  const progressIndicatorCss = "*,*::after,*::before{box-sizing:border-box}.dso-progress-indicator-spinner{display:inline-block;margin:0;position:relative;vertical-align:middle}span.dso-progress-indicator-label{margin-left:16px;vertical-align:middle}:host([block]){align-items:center;display:flex;justify-content:center}:host([size=small]) .dso-progress-indicator-spinner,:host(:not([size=medium]):not([size=large])) .dso-progress-indicator-spinner{height:24px;width:24px}:host([size=small]):host([block]),:host(:not([size=medium]):not([size=large])):host([block]){padding:12px 16px}:host([size=medium]) .dso-progress-indicator-spinner{height:32px;width:32px}:host([size=medium]):host([block]){padding:16px}:host([size=large]) .dso-progress-indicator-spinner{height:48px;width:48px}:host([size=large]):host([block]){padding:24px 16px}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0a7c679a.js');
5
+ const index = require('./index-4066351a.js');
6
6
 
7
7
  const responsiveElementCss = ":host{display:block}";
8
8
 
@@ -20,14 +20,19 @@ const elementSizes = [
20
20
  let ResponsiveElement = class {
21
21
  constructor(hostRef) {
22
22
  index.registerInstance(this, hostRef);
23
+ this.dsoSizeChange = index.createEvent(this, "dsoSizeChange", 7);
23
24
  this.sizeAlias = elementSizes[0].alias;
24
25
  this.sizeWidth = 0;
25
26
  this.observer = new ResizeObserver(([entry]) => {
26
27
  var _a, _b;
27
28
  const size = (_b = (_a = elementSizes.find(s => entry.contentRect.width >= s.width)) === null || _a === void 0 ? void 0 : _a.alias) !== null && _b !== void 0 ? _b : elementSizes[0].alias;
28
29
  this.sizeAlias = size;
30
+ this.dsoSizeChange.emit(size);
29
31
  });
30
32
  }
33
+ async getSize() {
34
+ return this.sizeAlias;
35
+ }
31
36
  componentWillLoad() {
32
37
  this.observer.observe(this.host);
33
38
  }
@@ -0,0 +1,89 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-4066351a.js');
6
+ const index$1 = require('./index-794ad37a.js');
7
+ const focusTrap_esm = require('./focus-trap.esm-e2addb10.js');
8
+ const v4 = require('./v4-8e8d6fbc.js');
9
+ require('./index.esm-50325ea2.js');
10
+
11
+ const tableCss = "@keyframes slideInFromTop {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n.dso-modal .dso-dialog {\n background-color: #fff;\n box-shadow: 0 8px 24px 0 rgba(25, 25, 25, 0.4);\n}\n.dso-modal .dso-header {\n border-bottom: 1px solid #ccc;\n min-height: 32px;\n padding: 16px;\n position: relative;\n}\n.dso-modal .dso-header h2 {\n margin: 0;\n max-width: calc(100% - 24px);\n}\n.dso-modal .dso-header .dso-close {\n background-color: transparent;\n border: 0;\n cursor: pointer;\n color: #39870c;\n height: 32px;\n padding: 0;\n position: absolute;\n right: 13px;\n text-align: center;\n top: 16px;\n width: 32px;\n}\n.dso-modal .dso-body {\n height: calc(100% - 96px - 1.5rem);\n max-height: calc(70vh - 144px - 1.5em);\n min-height: 1.5rem;\n overflow-x: auto;\n padding: 32px;\n}\n.dso-modal .dso-body p {\n margin: 0 0 16px;\n}\n.dso-modal .dso-body ul,\n.dso-modal .dso-body ol {\n margin-bottom: 16px;\n}\n.dso-modal .dso-body ul:not(.list-group):not(.dso-link-list):not(.dso-columns-list),\n.dso-modal .dso-body ol:not(.list-group):not(.dso-link-list):not(.dso-columns-list) {\n padding-inline-start: 24px;\n}\n.dso-modal .dso-body pre {\n margin: 0 0 16px;\n}\n.dso-modal .dso-body blockquote {\n padding: 16px 24px;\n}\n.dso-modal .dso-body dso-highlight-box,\n.dso-modal .dso-body .dso-highlight-box {\n margin-bottom: 24px;\n}\n.dso-modal .dso-body img {\n height: auto;\n max-width: 100%;\n}\n.dso-modal .dso-footer {\n min-height: 80px;\n padding: 0 32px 32px;\n text-align: right;\n}\n.dso-modal .dso-footer .dso-tertiary,\n.dso-modal .dso-footer .btn-link {\n float: left;\n line-height: calc(1.5em - 1px);\n padding: 11px 0;\n position: relative;\n}\n.dso-modal.dso-confirm .dso-footer button:first-child {\n float: left;\n}\n@media screen and (min-width: 768px) {\n .dso-modal {\n bottom: 0;\n height: 100%;\n left: 0;\n position: fixed;\n right: 0;\n top: 0;\n z-index: 530;\n }\n .dso-modal .dso-dialog {\n animation: 1s ease-out 0s 1 slideInFromTop;\n margin: auto;\n margin-top: 15vh;\n max-width: 640px;\n opacity: 1;\n }\n .dso-modal .dso-footer .btn + .dso-secondary, .dso-modal .dso-footer .btn + .btn-default, .dso-modal .dso-footer .dso-primary + .dso-secondary, .dso-modal .dso-footer .dso-primary + .btn-default, .dso-modal .dso-footer .dso-secondary + .dso-secondary, .dso-modal .dso-footer .dso-secondary + .btn-default, .dso-modal .dso-footer .dso-tertiary + .dso-secondary, .dso-modal .dso-footer .dso-tertiary + .btn-default {\n margin-left: 16px;\n }\n .dso-modal .dso-footer .btn + .dso-tertiary, .dso-modal .dso-footer .btn + .btn-link, .dso-modal .dso-footer .dso-primary + .dso-tertiary, .dso-modal .dso-footer .dso-primary + .btn-link, .dso-modal .dso-footer .dso-secondary + .dso-tertiary, .dso-modal .dso-footer .dso-secondary + .btn-link, .dso-modal .dso-footer .dso-tertiary + .dso-tertiary, .dso-modal .dso-footer .dso-tertiary + .btn-link {\n margin-left: 0;\n }\n}\n@media screen and (max-width: 767px) {\n .dso-modal {\n max-width: 100%;\n }\n .dso-modal .dso-footer .btn + .btn, .dso-modal .dso-footer .btn + .dso-primary, .dso-modal .dso-footer .btn + .dso-secondary, .dso-modal .dso-footer .btn + .dso-tertiary, .dso-modal .dso-footer .dso-primary + .btn, .dso-modal .dso-footer .dso-primary + .dso-primary, .dso-modal .dso-footer .dso-primary + .dso-secondary, .dso-modal .dso-footer .dso-primary + .dso-tertiary, .dso-modal .dso-footer .dso-secondary + .btn, .dso-modal .dso-footer .dso-secondary + .dso-primary, .dso-modal .dso-footer .dso-secondary + .dso-secondary, .dso-modal .dso-footer .dso-secondary + .dso-tertiary, .dso-modal .dso-footer .dso-tertiary + .btn, .dso-modal .dso-footer .dso-tertiary + .dso-primary, .dso-modal .dso-footer .dso-tertiary + .dso-secondary, .dso-modal .dso-footer .dso-tertiary + .dso-tertiary {\n margin-left: 0;\n }\n .dso-modal .dso-footer button {\n text-align: center;\n width: 100%;\n }\n .dso-modal .dso-footer button + button {\n margin-top: 8px;\n }\n .dso-modal .dso-footer button.dso-tertiary,\n.dso-modal .dso-footer button.dso-tertiary span, .dso-modal .dso-footer button.btn-link,\n.dso-modal .dso-footer button.btn-link span {\n float: none;\n }\n}\n\n:host {\n display: block;\n margin-bottom: 24px;\n}\n\n.dso-header h2 {\n color: #275937;\n font-size: 1.5rem;\n font-weight: 700;\n}\n.dso-header .dso-close {\n color: #275937;\n}\n\n:host .dso-modal {\n inset: 0px;\n height: 100%;\n position: fixed;\n z-index: 530;\n}\n\n.dso-modal .dso-dialog.dso-table-dialog {\n max-width: calc(100% - 2rem);\n}\n@media screen and (max-width: 767px) {\n .dso-modal .dso-dialog.dso-table-dialog {\n max-width: 100%;\n }\n}\n\n:host([is-responsive]) .dso-table-body {\n border: 1px solid #ccc;\n margin-bottom: 0;\n overflow-y: hidden;\n width: 100%;\n}\n:host([is-responsive]) .dso-table-body.dso-body {\n width: calc(100% - 64px);\n}\n\n.dso-table-utilities {\n align-items: center;\n display: flex;\n justify-content: space-between;\n margin-bottom: 8px;\n}\n.dso-table-utilities .dso-responsive-message {\n margin-bottom: 0;\n}\n.dso-table-utilities .dso-responsive-message:only-child {\n width: 100%;\n}\n.dso-table-utilities .open-modal-button:only-child {\n margin-left: auto;\n}\n\n.dso-responsive-message {\n font-size: 0.8em;\n margin-bottom: 8px;\n position: relative;\n text-align: center;\n}\n\n.dso-tertiary {\n display: inline-block;\n font-size: 1em;\n font-weight: 500;\n margin-bottom: 0;\n text-decoration: none;\n touch-action: manipulation;\n text-align: left;\n user-select: none;\n vertical-align: middle;\n border: 0;\n color: #39870c;\n line-height: 1;\n padding: 0;\n background-color: transparent;\n cursor: pointer;\n}\n.dso-tertiary:focus, .dso-tertiary:focus-visible {\n outline-offset: 2px;\n}\n.dso-tertiary:active {\n outline: 0;\n}\n.dso-tertiary[disabled] {\n color: #afcf9d;\n}\n.dso-tertiary[disabled].dso-spinner-left, .dso-tertiary[disabled].dso-spinner-right {\n color: #39870c;\n}\n.dso-tertiary:not([disabled]):hover {\n color: #676cb0;\n text-decoration: underline;\n text-underline-position: under;\n}\n.dso-tertiary:not([disabled]):active {\n color: #676cb0;\n}\n.dso-tertiary.btn-align {\n line-height: calc(1.5em - 1px);\n padding: 11px 0;\n position: relative;\n}\n.dso-tertiary.dso-spinner-left::before {\n background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n content: \"\";\n display: inline-block;\n height: 24px;\n vertical-align: middle;\n width: 24px;\n margin-right: 8px;\n}\n.dso-tertiary.dso-spinner-right::after {\n background-image: url(\"data:image/svg+xml,%3Csvg class='spinner' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E .spinner %7B animation: rotator 8s linear infinite; transform-origin: center; %7D @keyframes rotator %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D .path %7B stroke-dasharray: 265; stroke-dashoffset: 0; transform-origin: center; stroke: %2339870c; animation: dash 2s ease-in-out infinite; %7D @keyframes dash %7B 0%25 %7B stroke-dashoffset: 265; %7D 50%25 %7B stroke-dashoffset: 65; transform:rotate(90deg); %7D 100%25 %7B stroke-dashoffset: 265; transform:rotate(360deg); %7D %3C/style%3E%3Ccircle class='path' fill='none' stroke-width='10' stroke-linecap='butt' cx='50' cy='50' r='45'%3E%3C/circle%3E%3C/svg%3E\");\n background-repeat: no-repeat;\n content: \"\";\n display: inline-block;\n height: 24px;\n vertical-align: middle;\n width: 24px;\n margin-left: 8px;\n}\n.dso-tertiary dso-icon + span:not(.sr-only),\n.dso-tertiary svg.di + span:not(.sr-only),\n.dso-tertiary span:not(.sr-only) + dso-icon,\n.dso-tertiary span:not(.sr-only) + svg.di {\n margin-left: 8px;\n}\n.dso-tertiary svg.di.di-chevron-down + span:not(.sr-only),\n.dso-tertiary svg.di.di-chevron-up + span:not(.sr-only),\n.dso-tertiary span:not(.sr-only) + svg.di.di-chevron-down,\n.dso-tertiary span:not(.sr-only) + svg.di.di-chevron-up {\n margin-left: 4px;\n}\n.dso-tertiary dso-icon[icon=chevron-left] + span:not(.sr-only),\n.dso-tertiary dso-icon[icon=chevron-right] + span:not(.sr-only),\n.dso-tertiary svg.di.di-angle-down + span:not(.sr-only),\n.dso-tertiary svg.di.di-angle-up + span:not(.sr-only),\n.dso-tertiary span:not(.sr-only) + svg.di.di-angle-down,\n.dso-tertiary span:not(.sr-only) + svg.di.di-angle-up,\n.dso-tertiary span:not(.sr-only) + dso-icon[icon=chevron-left],\n.dso-tertiary span:not(.sr-only) + dso-icon[icon=chevron-right] {\n margin-left: 0;\n}\n.dso-tertiary dso-icon,\n.dso-tertiary svg.di,\n.dso-tertiary span {\n vertical-align: middle;\n}\n\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n border: 0;\n}\n\n.dso-table-placeholder {\n box-shadow: inset 0 0 0 1px #ccc;\n display: grid;\n place-content: center;\n}";
12
+
13
+ let Table = class {
14
+ constructor(hostRef) {
15
+ index.registerInstance(this, hostRef);
16
+ this.labelledbyId = v4.v4();
17
+ /** Prevents the table being opened in a modal. */
18
+ this.noModal = false;
19
+ /** Indicates whether the table is currently horizontally scrollable */
20
+ this.isResponsive = false;
21
+ this.modalActive = false;
22
+ }
23
+ startResponsiveBehavior() {
24
+ var _a;
25
+ (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.observe(this.host);
26
+ }
27
+ componentWillLoad() {
28
+ this.resizeObserver = new ResizeObserver(index$1.debounce_1(entries => this.setResponsiveTable(entries), 200));
29
+ }
30
+ componentDidLoad() {
31
+ this.startResponsiveBehavior();
32
+ }
33
+ componentDidRender() {
34
+ this.setFocusTrap();
35
+ }
36
+ disconnectedCallback() {
37
+ var _a;
38
+ (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
39
+ }
40
+ render() {
41
+ var _a;
42
+ const caption = (_a = this.host.querySelector(':scope > table > caption')) === null || _a === void 0 ? void 0 : _a.textContent;
43
+ return (index.h(index.Host, null, this.modalActive && this.placeholderHeight && (index.h("div", { class: "dso-table-placeholder", style: { height: `${this.placeholderHeight}px` } })), index.h("div", { class: { 'dso-modal': this.modalActive } }, index.h("div", Object.assign({ class: { 'dso-dialog': this.modalActive, 'dso-table-dialog': true }, ref: element => this.focusTrapElement = element }, this.modalActive ? { ['aria-labelledby']: this.labelledbyId, role: 'dialog' } : {}), (this.isResponsive || !this.noModal) && (index.h("div", { class: "dso-table-utilities", style: this.modalActive ? { display: 'none' } : undefined }, this.isResponsive && (index.h("div", { class: "dso-responsive-message" }, index.h("span", null, "beweeg de tabel van links naar rechts"))), !this.noModal && (index.h("button", { type: "button", class: "dso-tertiary open-modal-button", ref: element => this.buttonElement = element, onClick: () => this.openModal() }, index.h("span", { class: "sr-only" }, "tabel ", caption !== null && caption !== void 0 ? caption : '', " "), index.h("span", null, "vergroten"), index.h("dso-icon", { icon: "external-link" }))))), this.modalActive && (index.h("div", { class: "dso-header" }, index.h("h2", { id: this.labelledbyId, class: { 'sr-only': !caption } }, caption || 'Uitvergrote tabel dialoog'), index.h("button", { type: "button", class: "dso-close", onClick: () => this.closeModal() }, index.h("dso-icon", { icon: "times" }), index.h("span", { class: "sr-only" }, "Sluiten")))), index.h("div", { class: { 'dso-body': this.modalActive, 'dso-table-body': true } }, index.h("slot", null))))));
44
+ }
45
+ openModal() {
46
+ this.placeholderHeight = this.host.clientHeight;
47
+ document.body.classList.add('dso-modal-open');
48
+ this.modalActive = true;
49
+ }
50
+ closeModal() {
51
+ this.placeholderHeight = undefined;
52
+ document.body.classList.remove('dso-modal-open', 'dso-modal-open');
53
+ this.modalActive = false;
54
+ }
55
+ setFocusTrap() {
56
+ var _a, _b;
57
+ if (this.modalActive && this.focusTrapElement && !this.trap) {
58
+ this.trap = focusTrap_esm.createFocusTrap([this.host, this.focusTrapElement], {
59
+ escapeDeactivates: true,
60
+ clickOutsideDeactivates: (e) => {
61
+ if (e instanceof MouseEvent && e.composedPath()[0] === this.focusTrapElement) {
62
+ this.closeModal();
63
+ return false;
64
+ }
65
+ return true;
66
+ },
67
+ setReturnFocus: (_a = this.buttonElement) !== null && _a !== void 0 ? _a : false,
68
+ onDeactivate: () => this.closeModal(),
69
+ tabbableOptions: {
70
+ getShadowRoot: true,
71
+ }
72
+ }).activate();
73
+ }
74
+ else if (!this.modalActive && this.trap) {
75
+ (_b = this.trap) === null || _b === void 0 ? void 0 : _b.deactivate();
76
+ delete this.trap;
77
+ }
78
+ }
79
+ setResponsiveTable([dsoTable]) {
80
+ const tableElement = dsoTable.target.querySelector('table');
81
+ if (dsoTable && tableElement instanceof HTMLTableElement) {
82
+ this.isResponsive = Math.floor(tableElement.getBoundingClientRect().width) > Math.floor(dsoTable.contentRect.width);
83
+ }
84
+ }
85
+ get host() { return index.getElement(this); }
86
+ };
87
+ Table.style = tableCss;
88
+
89
+ exports.dso_table = Table;
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0a7c679a.js');
5
+ const index = require('./index-4066351a.js');
6
6
 
7
- const toggletipCss = "*,*::after,*::before{box-sizing:border-box}:host(:focus){outline:none}";
7
+ const toggletipCss = "*,*::after,*::before{box-sizing:border-box}:host{display:inline-block}:host(:focus){outline:none}";
8
8
 
9
9
  let Toggletip = class {
10
10
  constructor(hostRef) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-0a7c679a.js');
3
+ const index = require('./index-4066351a.js');
4
4
 
5
5
  /*
6
6
  Stencil Client Patch Browser v2.10.0 | MIT Licensed | https://stenciljs.com
@@ -15,5 +15,5 @@ const patchBrowser = () => {
15
15
  };
16
16
 
17
17
  patchBrowser().then(options => {
18
- return index.bootstrapLazy([["dso-map-base-layers.cjs",[[1,"dso-map-base-layers",{"group":[1],"baseLayers":[16]}]]],["dso-map-overlays.cjs",[[1,"dso-map-overlays",{"group":[1],"overlays":[16]}]]],["dso-header.cjs",[[1,"dso-header",{"mainMenu":[16],"useDropDownMenu":[1,"use-drop-down-menu"],"authStatus":[1,"auth-status"],"loginUrl":[1,"login-url"],"logoutUrl":[1,"logout-url"],"userProfileName":[1,"user-profile-name"],"userProfileUrl":[1,"user-profile-url"],"userHomeUrl":[1,"user-home-url"],"showDropDown":[32],"hasSubLogo":[32],"overflowMenuItems":[32]}]]],["dso-label.cjs",[[1,"dso-label",{"compact":[4],"removable":[4],"status":[1],"truncate":[4],"removeHover":[32],"removeFocus":[32],"textHover":[32],"textFocus":[32],"truncatedContent":[32],"labelText":[32]}]]],["dso-toggletip.cjs",[[1,"dso-toggletip",{"label":[1],"position":[1],"small":[4],"secondary":[4],"active":[32]}]]],["dso-tree-view.cjs",[[1,"dso-tree-view",{"collection":[16],"focusItem":[64]}]]],["dso-autosuggest.cjs",[[6,"dso-autosuggest",{"suggestions":[16],"loading":[4],"loadingLabel":[1,"loading-label"],"loadingDelayed":[2,"loading-delayed"],"notFoundLabel":[1,"not-found-label"],"suggestOnFocus":[4,"suggest-on-focus"],"showSuggestions":[32],"selectedSuggestion":[32],"notFound":[32],"showLoading":[32]},[[4,"click","onDocumentClick"]]]]],["dso-date-picker.cjs",[[2,"dso-date-picker",{"name":[1],"identifier":[1],"disabled":[516],"role":[1],"direction":[1],"required":[4],"dsoAutofocus":[4,"dso-autofocus"],"value":[1537],"min":[1],"max":[1],"activeFocus":[32],"focusedDay":[32],"open":[32],"visible":[32],"setFocus":[64],"show":[64],"hide":[64]},[[6,"click","handleDocumentClick"]]]]],["dso-helpcenter-panel.cjs",[[1,"dso-helpcenter-panel",{"label":[1],"url":[1],"visibility":[32],"isOpen":[32],"slideState":[32],"loadIframe":[32]}]]],["dso-image-overlay.cjs",[[1,"dso-image-overlay",{"active":[32],"focused":[32],"zoomable":[32]},[[2,"load","loadListener"]]]]],["dso-map-controls.cjs",[[1,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32]}]]],["dso-pagination.cjs",[[1,"dso-pagination",{"totalPages":[2,"total-pages"],"currentPage":[2,"current-page"],"formatHref":[16]}]]],["dso-viewer-grid.cjs",[[1,"dso-viewer-grid",{"filterpanelOpen":[516,"filterpanel-open"],"overlayOpen":[516,"overlay-open"],"initialMainSize":[1,"initial-main-size"],"mainSize":[32]}]]],["dso-alert.cjs",[[1,"dso-alert",{"status":[1],"roleAlert":[4,"role-alert"]}]]],["dso-attachments-counter.cjs",[[1,"dso-attachments-counter",{"count":[2]}]]],["dso-badge.cjs",[[1,"dso-badge",{"status":[1]}]]],["dso-banner.cjs",[[1,"dso-banner",{"status":[1]}]]],["dso-highlight-box.cjs",[[1,"dso-highlight-box",{"yellow":[4],"border":[4],"white":[4],"dropShadow":[4,"drop-shadow"],"step":[2]}]]],["dso-ozon-content.cjs",[[6,"dso-ozon-content",{"content":[1],"inline":[516],"deleted":[516],"interactive":[520],"state":[32]}]]],["dso-progress-bar.cjs",[[1,"dso-progress-bar",{"progress":[2],"min":[2],"max":[2]}]]],["dso-responsive-element.cjs",[[1,"dso-responsive-element",{"sizeAlias":[32],"sizeWidth":[32]}]]],["dso-dropdown-menu.cjs",[[1,"dso-dropdown-menu",{"open":[1540],"dropdownAlign":[1,"dropdown-align"],"checkable":[4]}]]],["dso-progress-indicator.cjs",[[1,"dso-progress-indicator",{"label":[1],"size":[1],"block":[4]}]]],["dso-tooltip.cjs",[[1,"dso-tooltip",{"descriptive":[516],"position":[1],"strategy":[1],"for":[1],"noArrow":[4,"no-arrow"],"stateless":[4],"small":[4],"active":[1540],"hidden":[32],"activate":[64],"deactivate":[64]},[[0,"click","listenClick"]]]]],["dso-info-button.cjs",[[1,"dso-info-button",{"active":[1540],"secondary":[4],"label":[1],"setFocus":[64]}]]],["dso-info_2.cjs",[[6,"dso-selectable",{"type":[1],"identifier":[1],"name":[1],"value":[1],"invalid":[4],"describedById":[1,"described-by-id"],"disabled":[4],"required":[4],"checked":[4],"indeterminate":[4],"infoFixed":[4,"info-fixed"],"infoActive":[32],"toggleInfo":[64]}],[1,"dso-info",{"fixed":[516],"active":[516]}]]],["dso-icon.cjs",[[1,"dso-icon",{"icon":[1]}]]]], options);
18
+ return index.bootstrapLazy([["dso-icon.cjs",[[1,"dso-icon",{"icon":[1]}]]],["dso-map-base-layers.cjs",[[1,"dso-map-base-layers",{"group":[1],"baseLayers":[16]}]]],["dso-map-overlays.cjs",[[1,"dso-map-overlays",{"group":[1],"overlays":[16]}]]],["dso-toggletip.cjs",[[1,"dso-toggletip",{"label":[1],"position":[1],"small":[4],"secondary":[4],"active":[32]}]]],["dso-accordion-section.cjs",[[1,"dso-accordion-section",{"handleTitle":[1,"handle-title"],"heading":[1],"handleUrl":[1,"handle-url"],"state":[1],"attachmentCount":[2,"attachment-count"],"icon":[1],"status":[1],"open":[1540],"hasNestedSection":[32],"toggleSection":[64]}]]],["dso-header.cjs",[[6,"dso-header",{"mainMenu":[16],"useDropDownMenu":[1,"use-drop-down-menu"],"authStatus":[1,"auth-status"],"loginUrl":[1,"login-url"],"logoutUrl":[1,"logout-url"],"userProfileName":[1,"user-profile-name"],"userProfileUrl":[1,"user-profile-url"],"userHomeUrl":[1,"user-home-url"],"showDropDown":[32],"hasSubLogo":[32],"overflowMenuItems":[32]}]]],["dso-label.cjs",[[1,"dso-label",{"compact":[4],"removable":[4],"status":[1],"truncate":[4],"removeHover":[32],"removeFocus":[32],"textHover":[32],"textFocus":[32],"truncatedContent":[32],"labelText":[32]}]]],["dso-pagination.cjs",[[1,"dso-pagination",{"totalPages":[2,"total-pages"],"currentPage":[2,"current-page"],"formatHref":[16],"availablePositions":[32]},[[0,"dsoSizeChange","sizeChangeHandler"]]]]],["dso-tree-view.cjs",[[1,"dso-tree-view",{"collection":[16],"focusItem":[64]}]]],["dso-alert.cjs",[[1,"dso-alert",{"status":[1],"roleAlert":[4,"role-alert"]}]]],["dso-autosuggest.cjs",[[6,"dso-autosuggest",{"suggestions":[16],"loading":[4],"loadingLabel":[1,"loading-label"],"loadingDelayed":[2,"loading-delayed"],"notFoundLabel":[1,"not-found-label"],"suggestOnFocus":[4,"suggest-on-focus"],"showSuggestions":[32],"selectedSuggestion":[32],"notFound":[32],"showLoading":[32]},[[4,"click","onDocumentClick"]]]]],["dso-date-picker.cjs",[[2,"dso-date-picker",{"name":[1],"identifier":[1],"disabled":[516],"role":[1],"direction":[1],"required":[4],"dsoAutofocus":[4,"dso-autofocus"],"value":[1537],"min":[1],"max":[1],"activeFocus":[32],"focusedDay":[32],"open":[32],"visible":[32],"setFocus":[64],"show":[64],"hide":[64]},[[6,"click","handleDocumentClick"]]]]],["dso-helpcenter-panel.cjs",[[1,"dso-helpcenter-panel",{"label":[1],"url":[1],"visibility":[32],"isOpen":[32],"slideState":[32],"loadIframe":[32]},[[8,"keydown","keyDownListener"]]]]],["dso-image-overlay.cjs",[[1,"dso-image-overlay",{"active":[32],"focused":[32],"zoomable":[32]},[[2,"load","loadListener"]]]]],["dso-map-controls.cjs",[[1,"dso-map-controls",{"open":[1540],"disableZoom":[1,"disable-zoom"],"hideContent":[32]}]]],["dso-table.cjs",[[1,"dso-table",{"noModal":[516,"no-modal"],"isResponsive":[516,"is-responsive"],"modalActive":[32],"placeholderHeight":[32]}]]],["dso-viewer-grid.cjs",[[1,"dso-viewer-grid",{"filterpanelOpen":[516,"filterpanel-open"],"overlayOpen":[516,"overlay-open"],"initialMainSize":[1,"initial-main-size"],"mainSize":[32]}]]],["dso-accordion.cjs",[[1,"dso-accordion",{"variant":[513],"reverseAlign":[516,"reverse-align"],"allowMultipleOpen":[516,"allow-multiple-open"],"getState":[64],"toggleSection":[64],"closeOpenSections":[64]}]]],["dso-badge.cjs",[[1,"dso-badge",{"status":[1]}]]],["dso-banner.cjs",[[1,"dso-banner",{"status":[1]}]]],["dso-highlight-box.cjs",[[1,"dso-highlight-box",{"yellow":[4],"border":[4],"white":[4],"dropShadow":[4,"drop-shadow"],"step":[2]}]]],["dso-ozon-content.cjs",[[6,"dso-ozon-content",{"content":[1],"inline":[516],"deleted":[516],"interactive":[520],"state":[32]}]]],["dso-progress-bar.cjs",[[1,"dso-progress-bar",{"progress":[2],"min":[2],"max":[2]}]]],["dso-attachments-counter.cjs",[[1,"dso-attachments-counter",{"count":[2]}]]],["dso-dropdown-menu.cjs",[[1,"dso-dropdown-menu",{"open":[1540],"dropdownAlign":[1,"dropdown-align"],"checkable":[4]}]]],["dso-responsive-element.cjs",[[1,"dso-responsive-element",{"sizeAlias":[32],"sizeWidth":[32],"getSize":[64]}]]],["dso-progress-indicator.cjs",[[1,"dso-progress-indicator",{"label":[1],"size":[1],"block":[4]}]]],["dso-tooltip.cjs",[[1,"dso-tooltip",{"descriptive":[516],"position":[1],"strategy":[1],"for":[1],"noArrow":[4,"no-arrow"],"stateless":[4],"small":[4],"active":[1540],"hidden":[32],"activate":[64],"deactivate":[64]},[[0,"click","listenClick"]]]]],["dso-info-button.cjs",[[1,"dso-info-button",{"active":[1540],"secondary":[4],"label":[1],"hover":[32],"setFocus":[64]}]]],["dso-info_2.cjs",[[6,"dso-selectable",{"type":[1],"identifier":[1],"name":[1],"value":[1],"invalid":[4],"describedById":[1,"described-by-id"],"disabled":[4],"required":[4],"checked":[4],"indeterminate":[4],"infoFixed":[4,"info-fixed"],"infoActive":[32],"toggleInfo":[64]}],[1,"dso-info",{"fixed":[516],"active":[516]}]]]], options);
19
19
  });
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0a7c679a.js');
5
+ const index = require('./index-4066351a.js');
6
6
  const clsx_m = require('./clsx.m-b00fa5e1.js');
7
7
 
8
8
  var top = 'top';
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-0a7c679a.js');
5
+ const index = require('./index-4066351a.js');
6
6
  const clsx_m = require('./clsx.m-b00fa5e1.js');
7
7
 
8
8
  const DsoTreeItem = ({ owner, ancestors, item, index: index$1, level, setSize }) => {