dso-toolkit 40.0.0 → 41.0.1

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 (154) hide show
  1. package/components/Componenten/form-elements/group-search-bar.config.yml +2 -0
  2. package/components/Componenten/form-elements/group-search-bar.njk +1 -1
  3. package/components/Voorbeelden/10-Patronen/zoeken-in-lijst-cards.njk +5 -4
  4. package/dist/library/@dso-toolkit/core/cjs/dso-date-picker.cjs.entry.js +25 -10
  5. package/dist/library/@dso-toolkit/core/cjs/dso-ozon-content.cjs.entry.js +1 -1
  6. package/dist/library/@dso-toolkit/core/cjs/dso-pagination.cjs.entry.js +38 -0
  7. package/dist/library/@dso-toolkit/core/cjs/dso-toolkit.cjs.js +1 -1
  8. package/dist/library/@dso-toolkit/core/cjs/dso-tooltip.cjs.entry.js +40 -0
  9. package/dist/library/@dso-toolkit/core/cjs/loader.cjs.js +1 -1
  10. package/dist/library/@dso-toolkit/core/collection/collection-manifest.json +1 -0
  11. package/dist/library/@dso-toolkit/core/collection/components/date-picker/date-picker.js +25 -10
  12. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.js +4 -1
  13. package/dist/library/@dso-toolkit/core/collection/components/ozon-content/ozon-content.template.js +3 -3
  14. package/dist/library/@dso-toolkit/core/collection/components/pagination/pagination.css +68 -0
  15. package/dist/library/@dso-toolkit/core/collection/components/pagination/pagination.interfaces.js +1 -0
  16. package/dist/library/@dso-toolkit/core/collection/components/pagination/pagination.js +114 -0
  17. package/dist/library/@dso-toolkit/core/collection/components/pagination/pagination.stories.js +11 -0
  18. package/dist/library/@dso-toolkit/core/collection/components/pagination/pagination.template.js +11 -0
  19. package/dist/library/@dso-toolkit/core/collection/components/tooltip/tooltip.js +60 -0
  20. package/dist/library/@dso-toolkit/core/custom-elements/index.d.ts +6 -0
  21. package/dist/library/@dso-toolkit/core/custom-elements/index.js +104 -14
  22. package/dist/library/@dso-toolkit/core/dso-toolkit/dso-toolkit.esm.js +1 -1
  23. package/dist/library/@dso-toolkit/core/dso-toolkit/p-0777c1c4.entry.js +1 -0
  24. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-150fe323.entry.js → p-37e12c3c.entry.js} +1 -1
  25. package/dist/library/@dso-toolkit/core/dso-toolkit/p-b1dc8d76.entry.js +1 -0
  26. package/dist/library/@dso-toolkit/core/dso-toolkit/{p-a8cf15cf.entry.js → p-f1026921.entry.js} +1 -1
  27. package/dist/library/@dso-toolkit/core/esm/dso-date-picker.entry.js +25 -10
  28. package/dist/library/@dso-toolkit/core/esm/dso-ozon-content.entry.js +2 -2
  29. package/dist/library/@dso-toolkit/core/esm/dso-pagination.entry.js +34 -0
  30. package/dist/library/@dso-toolkit/core/esm/dso-toolkit.js +1 -1
  31. package/dist/library/@dso-toolkit/core/esm/dso-tooltip.entry.js +40 -0
  32. package/dist/library/@dso-toolkit/core/esm/loader.js +1 -1
  33. package/dist/library/@dso-toolkit/core/types/components/date-picker/date-picker.d.ts +1 -1
  34. package/dist/library/@dso-toolkit/core/types/components/ozon-content/ozon-content.template.d.ts +1 -1
  35. package/dist/library/@dso-toolkit/core/types/components/pagination/pagination.d.ts +22 -0
  36. package/dist/library/@dso-toolkit/core/types/components/pagination/pagination.interfaces.d.ts +8 -0
  37. package/dist/library/@dso-toolkit/core/types/components/pagination/pagination.stories.d.ts +1 -0
  38. package/dist/library/@dso-toolkit/core/types/components/pagination/pagination.template.d.ts +2 -0
  39. package/dist/library/@dso-toolkit/core/types/components/tooltip/tooltip.d.ts +6 -0
  40. package/dist/library/@dso-toolkit/core/types/components.d.ts +50 -0
  41. package/dist/library/components/detail/form--autocomplete.html +1 -1
  42. package/dist/library/components/detail/form--form-horizontal.html +2 -2
  43. package/dist/library/components/detail/form--form-vertical.html +2 -2
  44. package/dist/library/components/detail/form--header-in-legend.html +1 -1
  45. package/dist/library/components/detail/form--multi-page.html +1 -1
  46. package/dist/library/components/detail/form--sections.html +1 -1
  47. package/dist/library/components/detail/form--simple-form.html +1 -1
  48. package/dist/library/components/detail/form--single-page.html +1 -1
  49. package/dist/library/components/detail/form.html +3 -3
  50. package/dist/library/components/detail/group-search-bar--default.html +2 -2
  51. package/dist/library/components/detail/group-search-bar--search-bar-allmessages.html +4 -3
  52. package/dist/library/components/detail/group-search-bar--search-bar-error.html +4 -3
  53. package/dist/library/components/detail/group-search-bar--search-bar-help.html +2 -2
  54. package/dist/library/components/detail/group-search-bar--search-bar-infobutton-expanded.html +2 -2
  55. package/dist/library/components/detail/group-search-bar--search-bar-infobutton.html +2 -2
  56. package/dist/library/components/detail/group-search-bar--search-bar-static-info.html +2 -2
  57. package/dist/library/components/detail/group-search-bar.html +12 -10
  58. package/dist/library/components/detail/zoeken-in-lijst-cards.html +10 -8
  59. package/dist/library/components/preview/form--form-horizontal.html +2 -2
  60. package/dist/library/components/preview/form--form-vertical.html +2 -2
  61. package/dist/library/components/preview/form.html +4 -4
  62. package/dist/library/components/preview/group-search-bar--default.html +1 -1
  63. package/dist/library/components/preview/group-search-bar--search-bar-allmessages.html +2 -2
  64. package/dist/library/components/preview/group-search-bar--search-bar-error.html +2 -2
  65. package/dist/library/components/preview/group-search-bar--search-bar-help.html +1 -1
  66. package/dist/library/components/preview/group-search-bar--search-bar-infobutton-expanded.html +1 -1
  67. package/dist/library/components/preview/group-search-bar--search-bar-infobutton.html +1 -1
  68. package/dist/library/components/preview/group-search-bar--search-bar-static-info.html +1 -1
  69. package/dist/library/components/preview/group-search-bar.html +9 -9
  70. package/dist/library/components/preview/zoeken-in-lijst-cards.html +8 -6
  71. package/dist/library/components/render/form--form-horizontal.html +1 -1
  72. package/dist/library/components/render/form--form-vertical.html +1 -1
  73. package/dist/library/components/render/form.html +2 -2
  74. package/dist/library/components/render/group-search-bar--default.html +1 -1
  75. package/dist/library/components/render/group-search-bar--search-bar-allmessages.html +2 -2
  76. package/dist/library/components/render/group-search-bar--search-bar-error.html +2 -2
  77. package/dist/library/components/render/group-search-bar--search-bar-help.html +1 -1
  78. package/dist/library/components/render/group-search-bar--search-bar-infobutton-expanded.html +1 -1
  79. package/dist/library/components/render/group-search-bar--search-bar-infobutton.html +1 -1
  80. package/dist/library/components/render/group-search-bar--search-bar-static-info.html +1 -1
  81. package/dist/library/components/render/group-search-bar.html +9 -9
  82. package/dist/library/components/render/zoeken-in-lijst-cards.html +5 -4
  83. package/dist/library/dso-icons.svg +421 -387
  84. package/dist/library/styles/dso.css +258 -362
  85. package/dist/toolkit/core/packages/core/dist/dso-toolkit/dso-toolkit.esm.js +1 -1
  86. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-0777c1c4.entry.js +1 -0
  87. package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-150fe323.entry.js → p-37e12c3c.entry.js} +1 -1
  88. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-b1dc8d76.entry.js +1 -0
  89. package/dist/toolkit/core/packages/core/dist/dso-toolkit/{p-a8cf15cf.entry.js → p-f1026921.entry.js} +1 -1
  90. package/dist/toolkit/dso-icons.svg +421 -387
  91. package/dist/toolkit/styles/dso.css +258 -362
  92. package/hydrate/index.js +112 -12
  93. package/libs/@dso-toolkit/css/dist/dso-icons.svg +421 -387
  94. package/libs/@dso-toolkit/css/src/components/form/form-group.scss +22 -13
  95. package/libs/@dso-toolkit/css/src/components/form/form-groups/search-bar/form-group-search-bar.scss +17 -0
  96. package/libs/@dso-toolkit/css/src/components/form/form.scss +1 -0
  97. package/libs/@dso-toolkit/css/src/components/justify-form-groups/justify-form-groups.scss +26 -0
  98. package/libs/@dso-toolkit/css/src/components/pagination/pagination.scss +1 -93
  99. package/libs/@dso-toolkit/css/src/components/search-bar/search-bar.scss +5 -0
  100. package/{src/styles/components/_tabs.scss → libs/@dso-toolkit/css/src/components/tabs/tabs.scss} +69 -5
  101. package/libs/@dso-toolkit/css/src/dso.scss +2 -0
  102. package/libs/@dso-toolkit/sources/src/components/form/content/search-bar.content.ts +12 -0
  103. package/libs/@dso-toolkit/sources/src/components/form/form-groups/search-bar/form-group-search-bar.args.ts +124 -0
  104. package/libs/@dso-toolkit/sources/src/components/form/form.models.ts +1 -0
  105. package/libs/@dso-toolkit/sources/src/components/form/form.stories.ts +17 -1
  106. package/libs/@dso-toolkit/sources/src/components/form/models/form-group-search-bar.model.ts +7 -0
  107. package/libs/@dso-toolkit/sources/src/components/form/models/form-group.model.ts +13 -1
  108. package/libs/@dso-toolkit/sources/src/components/form/models/form.model.ts +0 -1
  109. package/libs/@dso-toolkit/sources/src/components/justify-form-groups/justify-form-groups.args.ts +15 -0
  110. package/libs/@dso-toolkit/sources/src/components/justify-form-groups/justify-form-groups.content.ts +44 -0
  111. package/libs/@dso-toolkit/sources/src/components/justify-form-groups/justify-form-groups.models.ts +7 -0
  112. package/libs/@dso-toolkit/sources/src/components/justify-form-groups/justify-form-groups.stories.ts +33 -0
  113. package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.args.ts +16 -2
  114. package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.content.ts +3 -1
  115. package/libs/@dso-toolkit/sources/src/components/ozon-content/ozon-content.models.ts +2 -0
  116. package/libs/@dso-toolkit/sources/src/components/pagination/pagination.args.ts +16 -6
  117. package/libs/@dso-toolkit/sources/src/components/pagination/pagination.models.ts +13 -2
  118. package/libs/@dso-toolkit/sources/src/components/pagination/pagination.scss +101 -0
  119. package/libs/@dso-toolkit/sources/src/components/pagination/pagination.stories.ts +9 -7
  120. package/libs/@dso-toolkit/sources/src/components/search-bar/search-bar.models.ts +7 -6
  121. package/libs/@dso-toolkit/sources/src/components/tabs/tabs.args.ts +19 -0
  122. package/libs/@dso-toolkit/sources/src/components/tabs/tabs.models.ts +9 -0
  123. package/libs/@dso-toolkit/sources/src/components/tabs/tabs.stories.ts +86 -0
  124. package/libs/@dso-toolkit/sources/src/components/tooltip/tooltip.args.ts +9 -1
  125. package/libs/@dso-toolkit/sources/src/components/tooltip/tooltip.models.ts +3 -0
  126. package/libs/@dso-toolkit/sources/src/components.scss +1 -0
  127. package/libs/@dso-toolkit/sources/src/index.ts +4 -0
  128. package/libs/@dso-toolkit/sources/src/styling/global/table.scss +9 -0
  129. package/libs/@dso-toolkit/sources/src/styling/grid/grid.scss +56 -0
  130. package/libs/@dso-toolkit/sources/src/styling/variables/colors.scss +3 -0
  131. package/libs/_bootstrap.scss +2 -2
  132. package/libs/bootstrap/_forms.scss +0 -1
  133. package/libs/bootstrap/_variables.scss +3 -7
  134. package/package.json +2 -2
  135. package/reference/render/form--form-horizontal.html +1 -1
  136. package/reference/render/form--form-vertical.html +1 -1
  137. package/reference/render/group-search-bar--default.html +1 -1
  138. package/reference/render/group-search-bar--search-bar-allmessages.html +2 -2
  139. package/reference/render/group-search-bar--search-bar-error.html +2 -2
  140. package/reference/render/group-search-bar--search-bar-help.html +1 -1
  141. package/reference/render/group-search-bar--search-bar-infobutton-expanded.html +1 -1
  142. package/reference/render/group-search-bar--search-bar-infobutton.html +1 -1
  143. package/reference/render/group-search-bar--search-bar-static-info.html +1 -1
  144. package/reference/render/zoeken-in-lijst-cards.html +5 -4
  145. package/src/styles/components/_form.scss +0 -31
  146. package/src/styles/dso.scss +3 -3
  147. package/src/styles/mixins/_bootstrap-variables.scss +0 -3
  148. package/src/styles/mixins/_dso-variables.scss +0 -3
  149. package/dist/library/@dso-toolkit/core/dso-toolkit/p-7abe091d.entry.js +0 -1
  150. package/dist/toolkit/core/packages/core/dist/dso-toolkit/p-7abe091d.entry.js +0 -1
  151. package/libs/bootstrap/_navs.scss +0 -226
  152. package/libs/bootstrap/mixins/_nav-divider.scss +0 -10
  153. package/src/styles/components/_search-bar.scss +0 -32
  154. package/src/styles/mixins/_grid.scss +0 -63
@@ -192,7 +192,7 @@
192
192
  </fieldset>
193
193
  <fieldset>
194
194
  <legend>Filter op type</legend>
195
- <div class="form-group dso-filter">
195
+ <div class="form-group dso-form-group-search-bar">
196
196
  <div class="dso-label-container">
197
197
  <label for="form-horizontal-filter_type" class="control-label">
198
198
  Type
@@ -192,7 +192,7 @@
192
192
  </fieldset>
193
193
  <fieldset>
194
194
  <legend>Filter op type</legend>
195
- <div class="form-group dso-filter">
195
+ <div class="form-group dso-form-group-search-bar">
196
196
  <div class="dso-label-container">
197
197
  <label for="form-vertical-filter_type" class="control-label">
198
198
  Type
@@ -1,4 +1,4 @@
1
- <div class="form-group dso-filter">
1
+ <div class="form-group dso-form-group-search-bar">
2
2
  <div class="dso-label-container">
3
3
  <label for="search-bar" class="control-label">
4
4
  Search bar - Default
@@ -1,4 +1,4 @@
1
- <div class="form-group dso-filter dso-invalid">
1
+ <div class="form-group dso-form-group-search-bar dso-invalid">
2
2
  <div class="dso-label-container">
3
3
  <label for="search-bar-allmessages" class="control-label">
4
4
  Search bar - Alle meldingen
@@ -15,7 +15,7 @@
15
15
  </div>
16
16
  </div>
17
17
  <div class="dso-field-container">
18
- <div class="dso-search-bar">
18
+ <div class="dso-search-bar dso-invalid">
19
19
  <div class="dso-search-bar-input">
20
20
  <span class="dso-search-icon" aria-hidden="true"></span><input type="text" aria-describedby="errorTextId_search-bar-allmessages helpTextId_search-bar-allmessages infoTextId_search-bar-allmessages" id="search-bar-error" placeholder="Bv. boomkap" aria-invalid="true" />
21
21
  <button type="button">
@@ -1,11 +1,11 @@
1
- <div class="form-group dso-filter dso-invalid">
1
+ <div class="form-group dso-form-group-search-bar dso-invalid">
2
2
  <div class="dso-label-container">
3
3
  <label for="search-bar-error" class="control-label">
4
4
  Search bar - Invalid
5
5
  </label>
6
6
  </div>
7
7
  <div class="dso-field-container">
8
- <div class="dso-search-bar">
8
+ <div class="dso-search-bar dso-invalid">
9
9
  <div class="dso-search-bar-input">
10
10
  <span class="dso-search-icon" aria-hidden="true"></span><input type="text" aria-describedby="errorTextId_search-bar-error" id="search-bar-error" placeholder="Bv. boomkap" aria-invalid="true" />
11
11
  <button type="button">
@@ -1,4 +1,4 @@
1
- <div class="form-group dso-filter">
1
+ <div class="form-group dso-form-group-search-bar">
2
2
  <div class="dso-label-container">
3
3
  <label for="search-bar-help" class="control-label">
4
4
  Search bar - Default
@@ -1,4 +1,4 @@
1
- <div class="form-group dso-filter">
1
+ <div class="form-group dso-form-group-search-bar">
2
2
  <div class="dso-label-container">
3
3
  <label for="search-bar-infobutton-expanded" class="control-label">
4
4
  Search bar - Default
@@ -1,4 +1,4 @@
1
- <div class="form-group dso-filter">
1
+ <div class="form-group dso-form-group-search-bar">
2
2
  <div class="dso-label-container">
3
3
  <label for="search-bar-infobutton" class="control-label">
4
4
  Search bar - Default
@@ -1,4 +1,4 @@
1
- <div class="form-group dso-filter">
1
+ <div class="form-group dso-form-group-search-bar">
2
2
  <div class="dso-label-container">
3
3
  <label for="search-bar-static-info" class="control-label">
4
4
  Search bar - Default
@@ -159,11 +159,12 @@
159
159
  <fieldset>
160
160
  <legend hidden></legend>
161
161
  <fieldset class="form-group dso-checkboxes">
162
- <legend class="dso-label-container">
163
- <label class="control-label">
162
+ <legend class="sr-only">Selecteer uw gewenste filter</legend>
163
+ <div class="dso-label-container">
164
+ <span class="control-label" aria-hidden="true">
164
165
  Selecteer uw gewenste filter
165
- </label>
166
- </legend>
166
+ </span>
167
+ </div>
167
168
  <div class="dso-field-container">
168
169
  <div class="dso-selectable">
169
170
  <input type="checkbox" id="aanhanger-0" name="aanhanger" value="bak" checked>
@@ -2,37 +2,6 @@
2
2
 
3
3
  @use "@dso-toolkit/css/src/components/form/form.variables" as variables;
4
4
 
5
- .form,
6
- form,
7
- .dso-section-body {
8
- .dso-justify-form-groups {
9
- display: flex;
10
-
11
- > div {
12
- flex: 1 1 0;
13
- padding-left: $u1;
14
-
15
- &:first-child {
16
- padding-left: 0;
17
- }
18
-
19
- &.dso-form-buttons {
20
- align-self: flex-end;
21
- flex: 0 0 0;
22
- }
23
- }
24
-
25
- .form-group {
26
- &,
27
- + .form-group,
28
- + .dso-form-buttons {
29
- margin-bottom: 0;
30
- margin-top: 0;
31
- }
32
- }
33
- }
34
- }
35
-
36
5
  .dso-form-buttons {
37
6
  @include clearfix();
38
7
 
@@ -2,7 +2,7 @@
2
2
  // @import "mixins/extends"; -> Moved to @sources/src/styling/typography/headings
3
3
  // @import "mixins/font-asap";
4
4
  // @import "mixins/full-width-row"; -> Moved to @dso-toolkit/sources
5
- @import "mixins/grid";
5
+ // @import "mixins/grid"; -> Moved to @dso-toolkit/sources
6
6
  // @import "mixins/tables"; -> Moved to @dso-toolkit/styling
7
7
  // @import "mixins/typography"; -> Moved to @dso-toolkit/sources
8
8
 
@@ -46,12 +46,12 @@
46
46
  // @import "components/progress-bar"; -> Moved to @dso-toolkit/styling
47
47
  // @import "components/progress-indicator"; -> Moved to @dso-toolkit/sources
48
48
  // @import "components/rich-content"; -> Moved to @dso-toolkit/sources/src/styling/global/headings
49
- @import "components/search-bar";
49
+ // @import "components/search-bar"; -> Moved to @dso-toolkit/css/src/components/form/form-group/search-bar/form-group-search-bar
50
50
  // @import "components/selectable"; // -> Moved to @dso-toolkit/styling
51
51
  // @import "components/shopping-cart"; -> Moved to @dso-toolkit/css/src/components/shopping-cart
52
52
  // @import "components/step-counter"; -> Moved to @dso-toolkit/styling
53
53
  // @import "components/table"; -> Moved to @dso-toolkit/styling
54
- @import "components/tabs";
54
+ // @import "components/tabs"; -> Moved to @dso-toolkit/styling
55
55
  // @import "components/tooltip"; -> Moved to @dso-toolkit/styling
56
56
  @import "components/tree-view";
57
57
  @import "components/well";
@@ -65,9 +65,6 @@ $navbar-padding-horizontal: 0;
65
65
  //
66
66
  //##
67
67
 
68
- $nav-disabled-link-color: #a3a3a3 !default;
69
- $nav-disabled-link-hover-color: #a3a3a3 !default;
70
-
71
68
  //== Tabs
72
69
  //
73
70
  //##
@@ -1,7 +1,4 @@
1
1
  @import "@dso-toolkit/sources/src/styling/variables/colors";
2
-
3
- $dso-minimal-screen-width: 320px;
4
-
5
2
  @import "@dso-toolkit/sources/src/styling/variables/units";
6
3
 
7
4
  $dso-button-margin-bottom: 1px;
@@ -1 +0,0 @@
1
- import{h as e,r as t,c as s,H as i,g as d}from"./p-c62606a3.js";import{c as o}from"./p-7b37bd52.js";var a;function r(e){if(!e)return;const t=e.split("-");return 3===t.length&&4===t[2].length?function(e,t,s){var i=parseInt(s,10),d=parseInt(t,10),o=parseInt(e,10);if(Number.isInteger(o)&&Number.isInteger(d)&&Number.isInteger(i)&&d>0&&d<=12&&i>0&&i<=31&&o>0)return new Date(o,d-1,i)}(t[2],t[1],t[0]):void 0}function n(e){return e?`${e.getDate().toString(10).padStart(2,"0")}-${(e.getMonth()+1).toString(10).padStart(2,"0")}-${e.getFullYear().toString(10).padStart(2,"0")}`:""}function c(e,t){return!(!e||!t)&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function l(e,t){var s=new Date(e);return s.setDate(s.getDate()+t),s}function h(e,t=a.Monday){var s=new Date(e),i=s.getDay(),d=(i<t?7:0)+i-t;return s.setDate(s.getDate()-d),s}function p(e,t=a.Monday){var s=new Date(e),i=s.getDay(),d=6+(i<t?-7:0)-(i-t);return s.setDate(s.getDate()+d),s}function u(e){return new Date(e.getFullYear(),e.getMonth(),1)}function _(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function b(e,t){const s=new Date(e);return s.setMonth(t),s}function f(e,t){const s=new Date(e);return s.setFullYear(t),s}function g(e,t,s){return k(e,t,s)===e}function k(e,t,s){const i=e.getTime();return t&&t instanceof Date&&i<t.getTime()?t:s&&s instanceof Date&&i>s.getTime()?s:e}!function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(a||(a={}));const m=({focusedDay:t,today:s,day:i,onDaySelect:d,onKeyboardNavigation:o,focusedDayRef:a,inRange:r})=>{const l=c(i,s),h=c(i,t),p=i.getMonth()!==t.getMonth(),u=!r;return e("button",{class:{"dso-date__day":!0,"is-outside":u,"is-disabled":p,"is-today":l},tabIndex:h?0:-1,onClick:function(e){d(e,i)},onKeyDown:o,disabled:u||p,type:"button",ref:e=>{h&&e&&a&&a(e)}},e("span",{"aria-hidden":"true"},i.getDate()),e("span",{class:"dso-date__vhidden"},n(i)))},x=({selectedDate:t,focusedDate:s,labelledById:i,localization:d,firstDayOfWeek:o,min:r,max:n,onDateSelect:b,onKeyboardNavigation:f,focusedDayRef:k,onMouseDown:x,onFocusIn:v})=>{const y=new Date,w=function(e,t=a.Monday){return function(e,t){const s=[];let i=e;for(;!c(i,t);)s.push(i),i=l(i,1);return s.push(i),s}(h(u(e),t),p(_(e),t))}(s,o);return e("table",{class:"dso-date__table",role:"grid","aria-labelledby":i,onFocusin:v,onMouseDown:x},e("thead",null,e("tr",null,(z=o,M=t=>e("th",{class:"dso-date__table-header",scope:"col"},e("span",{"aria-hidden":"true"},t.substr(0,2)),e("span",{class:"dso-date__vhidden"},t)),(D=d.dayNames).map(((e,t)=>M(D[(t+z)%D.length])))))),e("tbody",null,function(e){const t=[];for(let s=0;s<e.length;s+=7)t.push(e.slice(s,s+7));return t}(w).map((i=>e("tr",{class:"dso-date__row"},i.map((i=>e("td",{class:"dso-date__cell",role:"gridcell","aria-selected":c(i,t)?"true":void 0,"aria-current":c(i,y)?"date":void 0},e(m,{day:i,today:y,focusedDay:s,inRange:g(i,r,n),onDaySelect:b,onKeyboardNavigation:f,focusedDayRef:k})))))))));var D,z,M},v={buttonLabel:"Kies datum",placeholder:"dd-mm-jjjj",selectedDateMessage:"Geselecteerde datum is",prevMonthLabel:"Vorige maand",nextMonthLabel:"Volgende maand",monthSelectLabel:"Maand",yearSelectLabel:"Jaar",closeLabel:"Sluiten",keyboardInstruction:"Gebruik de pijltjestoetsen om een dag te kiezen",calendarHeading:"Kies een datum",dayNames:["Zondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag"],monthNames:["Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Dec"]},y=/[^0-9\-]+/g;let w=class{constructor(e){t(this,e),this.dateChange=s(this,"dateChange",7),this.dsoBlur=s(this,"dsoBlur",7),this.dsoKeyUp=s(this,"dsoKeyUp",7),this.dsoKeyDown=s(this,"dsoKeyDown",7),this.dsoFocus=s(this,"dsoFocus",7),this.monthSelectId=o("DsoDateMonth"),this.yearSelectId=o("DsoDateYear"),this.dialogLabelId=o("DsoDateLabel"),this.localization=v,this.firstDayOfWeek=a.Monday,this.activeFocus=!1,this.focusedDay=new Date,this.open=!1,this.visible=!1,this.name="date",this.disabled=!1,this.direction="right",this.required=!1,this.dsoAutofocus=!1,this.value="",this.enableActiveFocus=()=>{this.activeFocus=!0},this.disableActiveFocus=()=>{this.activeFocus=!1},this.toggleOpen=e=>{e.preventDefault(),this.open?this.hide(!1):this.show()},this.handleEscKey=e=>{27===e.keyCode&&this.hide()},this.handleBlur=e=>{e.stopPropagation(),this.dsoBlur.emit({component:"dso-date-picker"})},this.handleKeyUp=e=>{e.stopPropagation(),this.dsoKeyUp.emit({component:"dso-date-picker",originalEvent:e})},this.handleKeyDown=e=>{e.stopPropagation(),this.dsoKeyDown.emit({component:"dso-date-picker",originalEvent:e})},this.handleFocus=e=>{e.stopPropagation(),this.dsoFocus.emit({component:"dso-date-picker"})},this.handleTouchStart=e=>{const t=e.changedTouches[0];this.initialTouchX=t.pageX,this.initialTouchY=t.pageY},this.handleTouchMove=e=>{e.preventDefault()},this.handleTouchEnd=e=>{const t=e.changedTouches[0],s=t.pageX-this.initialTouchX,i=t.pageY-this.initialTouchY,d=Math.abs(s)>=70&&Math.abs(i)<=70,o=Math.abs(i)>=70&&Math.abs(s)<=70&&i>0;d?this.addMonths(s<0?1:-1):o&&(this.hide(!1),e.preventDefault()),this.initialTouchY=void 0,this.initialTouchX=void 0},this.handleNextMonthClick=e=>{e.preventDefault(),this.addMonths(1)},this.handlePreviousMonthClick=e=>{e.preventDefault(),this.addMonths(-1)},this.handleFirstFocusableKeydown=e=>{var t;9===e.keyCode&&e.shiftKey&&(null===(t=this.focusedDayNode)||void 0===t||t.focus(),e.preventDefault())},this.handleKeyboardNavigation=e=>{var t;if(9===e.keyCode&&!e.shiftKey)return e.preventDefault(),void(null===(t=this.firstFocusableElement)||void 0===t||t.focus());var s=!0;switch(e.keyCode){case 39:this.addDays(1);break;case 37:this.addDays(-1);break;case 40:this.addDays(7);break;case 38:this.addDays(-7);break;case 33:e.shiftKey?this.addYears(-1):this.addMonths(-1);break;case 34:e.shiftKey?this.addYears(1):this.addMonths(1);break;case 36:this.startOfWeek();break;case 35:this.endOfWeek();break;default:s=!1}s&&(e.preventDefault(),this.enableActiveFocus())},this.handleDaySelect=(e,t)=>{g(t,r(this.min),r(this.max))&&(t.getMonth()===this.focusedDay.getMonth()?(this.setValue(t),this.hide()):this.setFocusedDay(t))},this.handleMonthSelect=e=>{this.setMonth(parseInt(e.target.value,10))},this.handleYearSelect=e=>{this.setYear(parseInt(e.target.value,10))},this.handleInputChange=e=>{this.setValue(e.target.value)},this.handleKeyPress=e=>{e.key.search(y)>-1&&e.preventDefault()},this.prepareEvent=e=>{var t={component:"dso-date-picker",value:"",valueAsDate:void 0};if(e instanceof Date?t.valueAsDate=e:(t.value=e,t.valueAsDate=r(e)),t.valueAsDate&&(t.value=n(t.valueAsDate)),!t.valueAsDate&&this.required&&(t.error="required"),t.value&&!t.valueAsDate&&(t.error="invalid"),t.valueAsDate&&(this.min||this.max)){const e=r(this.min),s=r(this.max),i=k(t.valueAsDate,e,s);i!==t.valueAsDate&&i===e?(t.valueAsDate=void 0,t.error="min-range"):i!==t.valueAsDate&&i===s&&(t.valueAsDate=void 0,t.error="max-range")}return t},this.processFocusedDayNode=e=>{this.focusedDayNode=e,this.activeFocus&&this.open&&setTimeout((()=>e.focus()),0)}}handleDocumentClick(e){if(!this.open)return;const t=e.composedPath();for(const e of t)if(e instanceof Node&&this.element.contains(e))return;this.hide(!1)}async setFocus(){var e;return null===(e=this.datePickerInput)||void 0===e?void 0:e.focus()}async show(){void 0!==this.hideTimeoutId&&clearTimeout(this.hideTimeoutId),this.visible=!0,setTimeout((()=>{this.open=!0,this.setFocusedDay(r(this.value)||new Date),void 0!==this.focusTimeoutId&&clearTimeout(this.focusTimeoutId),this.focusTimeoutId=setTimeout((()=>{var e;return null===(e=this.monthSelectNode)||void 0===e?void 0:e.focus()}),300)}))}async hide(e=!0){this.open=!1,void 0!==this.focusTimeoutId&&clearTimeout(this.focusTimeoutId),this.hideTimeoutId=setTimeout((()=>{e&&this.datePickerButton&&this.datePickerButton.focus(),this.visible=!1}),500)}addDays(e){this.setFocusedDay(l(this.focusedDay,e))}addMonths(e){this.setMonth(this.focusedDay.getMonth()+e)}addYears(e){this.setYear(this.focusedDay.getFullYear()+e)}startOfWeek(){this.setFocusedDay(h(this.focusedDay,this.firstDayOfWeek))}endOfWeek(){this.setFocusedDay(p(this.focusedDay,this.firstDayOfWeek))}setMonth(e){const t=b(u(this.focusedDay),e),s=_(t),i=b(this.focusedDay,e);this.setFocusedDay(k(i,t,s))}setYear(e){const t=f(u(this.focusedDay),e),s=_(t),i=f(this.focusedDay,e);this.setFocusedDay(k(i,t,s))}setFocusedDay(e){this.focusedDay=k(e,r(this.min),r(this.max))}setValue(e){const t=this.prepareEvent(e);this.value=t.value,this.dateChange.emit(t)}componentDidLoad(){const e=r(this.value);e&&(this.value=n(e)),this.dsoAutofocus&&this.setFocus()}render(){const t=r(this.value),s=t&&n(t),d=(t||this.focusedDay).getFullYear(),o=this.focusedDay.getMonth(),a=this.focusedDay.getFullYear(),c=r(this.min),l=r(this.max),h=null!=c&&c.getMonth()===o&&c.getFullYear()===a,p=null!=l&&l.getMonth()===o&&l.getFullYear()===a;let u=d-10,_=d+10;return c&&(u=Math.max(u,c.getFullYear())),l&&(_=Math.min(_,l.getFullYear())),e(i,null,e("div",{class:{"dso-date":!0,"dso-visible":this.visible}},e("div",{class:"dso-date__input-wrapper"},e("input",{class:"dso-date__input",value:this.value,placeholder:this.localization.placeholder,id:this.identifier,disabled:this.disabled,role:this.role,required:!!this.required||void 0,"aria-autocomplete":"none",onKeyPress:this.handleKeyPress,onInput:this.handleInputChange,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyUp:this.handleKeyUp,onKeyDown:this.handleKeyDown,autoComplete:"off",ref:e=>this.datePickerInput=e}),e("button",{type:"button",class:"dso-date__toggle",onClick:this.toggleOpen,disabled:this.disabled,ref:e=>this.datePickerButton=e},e("span",{class:"dso-date__toggle-icon"},e("dso-icon",{icon:"calendar"})),e("span",{class:"dso-date__vhidden"},this.localization.buttonLabel,s&&e("span",null,", ",this.localization.selectedDateMessage," ",s)))),e("div",{class:{"dso-date__dialog":!0,"is-left":"left"===this.direction,"is-active":this.open},role:"dialog","aria-modal":"true","aria-hidden":this.open?"false":"true","aria-labelledby":this.dialogLabelId,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},e("div",{class:"dso-date__dialog-content",onKeyDown:this.handleEscKey},e("div",{class:"dso-date__vhidden dso-date__instructions","aria-live":"polite"},this.localization.keyboardInstruction),e("div",{class:"dso-date__mobile",onFocusin:this.disableActiveFocus},e("label",{class:"dso-date__mobile-heading"},this.localization.calendarHeading),e("button",{class:"dso-date__close",ref:e=>this.firstFocusableElement=e,onKeyDown:this.handleFirstFocusableKeydown,onClick:()=>this.hide(),type:"button"},e("dso-icon",{icon:"times"}),e("span",{class:"dso-date__vhidden"},this.localization.closeLabel))),e("div",{class:"dso-date__header",onFocusin:this.disableActiveFocus},e("div",null,e("h2",{id:this.dialogLabelId,class:"dso-date__vhidden","aria-live":"polite"},this.localization.monthNames[o]," ",this.focusedDay.getFullYear()),e("label",{htmlFor:this.monthSelectId,class:"dso-date__vhidden"},this.localization.monthSelectLabel),e("div",{class:"dso-date__select"},e("select",{id:this.monthSelectId,class:"dso-date__select--month",ref:e=>this.monthSelectNode=e,onChange:this.handleMonthSelect},this.localization.monthNames.map(((t,s)=>e("option",{key:t,value:s,selected:s===o},t)))),e("div",{class:"dso-date__select-label","aria-hidden":"true"},e("span",null,this.localization.monthNamesShort[o]),e("dso-icon",{icon:"chevron-down"}))),e("label",{htmlFor:this.yearSelectId,class:"dso-date__vhidden"},this.localization.yearSelectLabel),e("div",{class:"dso-date__select"},e("select",{id:this.yearSelectId,class:"dso-date__select--year",onChange:this.handleYearSelect},function(e,t){for(var s=[],i=e;i<=t;i++)s.push(i);return s}(u,_).map((t=>e("option",{key:t,selected:t===a},t)))),e("div",{class:"dso-date__select-label","aria-hidden":"true"},e("span",null,this.focusedDay.getFullYear()),e("dso-icon",{icon:"chevron-down"})))),e("div",{class:"dso-date__nav"},e("button",{class:"dso-date__prev",onClick:this.handlePreviousMonthClick,disabled:h,type:"button"},e("dso-icon",{icon:"chevron-left"}),e("span",{class:"dso-date__vhidden"},this.localization.prevMonthLabel)),e("button",{class:"dso-date__next",onClick:this.handleNextMonthClick,disabled:p,type:"button"},e("dso-icon",{icon:"chevron-right"}),e("span",{class:"dso-date__vhidden"},this.localization.nextMonthLabel)))),e(x,{selectedDate:t,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,localization:this.localization,firstDayOfWeek:this.firstDayOfWeek,focusedDayRef:this.processFocusedDayNode,min:c,max:l})))))}get element(){return d(this)}};w.style='.sc-dso-date-picker-h{display:block}.dso-date.sc-dso-date-picker *.sc-dso-date-picker,.dso-date.sc-dso-date-picker *.sc-dso-date-picker::before,.dso-date.sc-dso-date-picker *.sc-dso-date-picker::after{box-sizing:border-box}.dso-date.sc-dso-date-picker{box-sizing:border-box;color:#191919;display:block;font-family:"Asap", sans-serif;margin:0;position:relative;text-align:left;width:100%}.dso-date.sc-dso-date-picker:not(.dso-visible) .dso-date__dialog.sc-dso-date-picker{display:none}.dso-date__input.sc-dso-date-picker{display:block;width:100%;height:40px;padding:6px 14px;font-size:16px;line-height:1.5;color:#191919;background-color:#fff;background-image:none;border:1px solid #275937;border-radius:4px;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s}.dso-date__input.sc-dso-date-picker::-moz-placeholder{color:#666;opacity:1}.dso-date__input.sc-dso-date-picker:-ms-input-placeholder{color:#666}.dso-date__input.sc-dso-date-picker::-webkit-input-placeholder{color:#666}.dso-date__input.sc-dso-date-picker::-ms-expand{background-color:transparent;border:0}.dso-date__input.sc-dso-date-picker:focus{border-color:#275937;outline:0;box-shadow:inset 0 0 0 1px #275937}.dso-date__input[disabled].sc-dso-date-picker,.dso-date__input[readonly].sc-dso-date-picker,fieldset[disabled].sc-dso-date-picker .dso-date__input.sc-dso-date-picker{background-color:#fff;opacity:1}.dso-date__input[disabled].sc-dso-date-picker,fieldset[disabled].sc-dso-date-picker .dso-date__input.sc-dso-date-picker{cursor:default}.dso-date__input[disabled].sc-dso-date-picker{border-color:#e5e5e5;color:#999}.dso-date__input[readonly].sc-dso-date-picker{border-width:1px}.dso-date__input[type=text].sc-dso-date-picker{line-height:40px}.dso-date__input[size].sc-dso-date-picker{width:auto}.dso-date__toggle.sc-dso-date-picker{-moz-appearance:none;-webkit-appearance:none;-webkit-user-select:none;align-items:center;appearance:none;background:transparent;border:0;border-radius:0;border-bottom-right-radius:4px;border-top-right-radius:4px;color:#39870c;cursor:pointer;display:flex;height:38px;justify-content:center;padding:0;position:absolute;right:0;transform:translateY(-50%);top:50%;user-select:none;width:38px;z-index:101}.dso-date__toggle.sc-dso-date-picker:disabled{color:#afcf9d;cursor:pointer}.dso-date__dialog.sc-dso-date-picker{border-width:1px;display:flex;right:0;min-width:320px;opacity:0;position:absolute;top:100%;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;visibility:hidden;will-change:transform, opacity, visibility;z-index:210}@media (max-width: 35.9375em){.dso-date__dialog.sc-dso-date-picker{background:rgba(25, 25, 25, 0.5);bottom:0;position:fixed;left:0;right:0;top:0;transform:translateZ(0);transform-origin:bottom center}}.dso-date__dialog.is-left.sc-dso-date-picker{left:-11px;right:auto;width:auto}.dso-date__dialog.is-active.sc-dso-date-picker{opacity:1;transform:scale(1.0001) translateZ(0) translateY(0);visibility:visible}.dso-date__dialog-content.sc-dso-date-picker{background:#fff;border:1px solid rgba(0, 0, 0, 0.1);border-radius:4px;box-shadow:0 8px 10px 1px rgba(0, 0, 0, 0.4);margin-left:auto;margin-right:-1px;margin-top:8px;max-width:310px;min-width:290px;padding:16px;position:relative;transform:none;width:100%;z-index:210}@media (max-width: 35.9375em){.dso-date__dialog-content.sc-dso-date-picker{border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;bottom:0;left:0;margin:0;max-width:none;min-height:26em;opacity:0;padding:0 8% 20px;position:absolute;transform:translateZ(0) translateY(100%);transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;visibility:hidden;will-change:transform, opacity, visibility}.is-active.sc-dso-date-picker .dso-date__dialog-content.sc-dso-date-picker{opacity:1;transform:translateZ(0) translateY(0);visibility:visible}}.dso-date__table.sc-dso-date-picker{border-collapse:collapse;border-spacing:0;color:#191919;font-size:1rem;font-weight:400;line-height:1.25;min-width:280px;table-layout:fixed;text-align:center;width:100%}.dso-date__table-header.sc-dso-date-picker{font-size:0.875em;font-weight:600;height:36px;line-height:36px;text-decoration:none;text-transform:uppercase}.dso-date__cell.sc-dso-date-picker{height:40px;padding:1px;text-align:center;width:40px}.dso-date__day.sc-dso-date-picker{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;border-radius:50%;box-shadow:0 0 0 1px transparent;color:#191919;cursor:pointer;display:inline-block;font-family:"Asap", sans-serif;font-variant-numeric:tabular-nums;font-weight:400;height:38px;line-height:0;padding:0;position:relative;text-align:center;vertical-align:middle;width:38px;z-index:100}.dso-date__day.is-today.sc-dso-date-picker{background:transparent;height:36px;box-shadow:0 0 0 1px #39870c;width:36px}.dso-date__day.sc-dso-date-picker:hover,.dso-date__day.sc-dso-date-picker:active{background:#39870c;color:#fff}.dso-date__day.sc-dso-date-picker:focus{background:transparent;box-shadow:0 0 0 2px #275937;color:#191919;height:34px;outline:0;width:34px}[aria-selected=true].sc-dso-date-picker .dso-date__day.sc-dso-date-picker{background:#39870c;color:#fff}[aria-selected=true].sc-dso-date-picker .dso-date__day.sc-dso-date-picker:focus{background:transparent}[aria-selected=true].sc-dso-date-picker .dso-date__day.sc-dso-date-picker:focus span[aria-hidden=true].sc-dso-date-picker{background:#39870c;border:1px solid #fff;line-height:32px}.dso-date__day.is-outside.sc-dso-date-picker{background:#f2f2f2;box-shadow:none;color:#666;cursor:default;pointer-events:none}.dso-date__day.is-disabled.sc-dso-date-picker{background:#fff;cursor:default}.dso-date__day.is-disabled.sc-dso-date-picker:hover{color:#666}.dso-date__day.sc-dso-date-picker span[aria-hidden=true].sc-dso-date-picker{border-radius:50%;display:inline-block;height:34px;line-height:34px;width:34px}.dso-date__header.sc-dso-date-picker{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px;width:100%}.dso-date__header.sc-dso-date-picker span.sc-dso-date-picker{font-size:0.875rem}.dso-date__nav.sc-dso-date-picker{white-space:nowrap}.dso-date__prev.sc-dso-date-picker,.dso-date__next.sc-dso-date-picker{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;background:transparent;border:1px solid #39870c;border-radius:4px;box-sizing:border-box;color:#39870c;cursor:pointer;display:inline-flex;font-size:1em;height:32px;justify-content:center;margin-left:8px;padding:0;width:32px}@media (max-width: 35.9375em){.dso-date__prev.sc-dso-date-picker,.dso-date__next.sc-dso-date-picker{height:40px;width:40px}}.dso-date__prev.sc-dso-date-picker:hover,.dso-date__prev.sc-dso-date-picker:active,.dso-date__next.sc-dso-date-picker:hover,.dso-date__next.sc-dso-date-picker:active{background-color:#39870c;color:#fff}.dso-date__prev.sc-dso-date-picker:focus,.dso-date__next.sc-dso-date-picker:focus{background:transparent;color:#39870c}.dso-date__prev.sc-dso-date-picker:disabled,.dso-date__prev.sc-dso-date-picker:disabled:hover,.dso-date__next.sc-dso-date-picker:disabled,.dso-date__next.sc-dso-date-picker:disabled:hover{background-color:#fff;border-color:#afcf9d;color:#afcf9d;opacity:1}.dso-date__prev.sc-dso-date-picker svg.sc-dso-date-picker,.dso-date__next.sc-dso-date-picker svg.sc-dso-date-picker{margin:0 auto}.dso-date__select.sc-dso-date-picker{display:inline-flex;height:28px;line-height:28px;position:relative}.dso-date__select.sc-dso-date-picker span.sc-dso-date-picker{margin-right:4px}.dso-date__select.sc-dso-date-picker select.sc-dso-date-picker{color:#275937;cursor:pointer;font-size:1rem;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:101}.dso-date__select.sc-dso-date-picker select.sc-dso-date-picker:focus+.dso-date__select-label.sc-dso-date-picker{box-shadow:0 0 0 2px #275937}.dso-date__select.sc-dso-date-picker select.sc-dso-date-picker:disabled{color:#afcf9d}.dso-date__select-label.sc-dso-date-picker{align-items:center;border-radius:4px;color:#39870c;display:flex;padding:0 4px 0 8px;pointer-events:none;position:relative;width:100%;z-index:100}.dso-date__select-label.sc-dso-date-picker span.sc-dso-date-picker{font-size:1.25rem;font-weight:600;line-height:1.25}.dso-date__select-label.sc-dso-date-picker svg.sc-dso-date-picker{width:16px;height:16px}.dso-date__mobile.sc-dso-date-picker{align-items:center;border-bottom:1px solid rgba(0, 0, 0, 0.12);display:flex;font-size:1em;justify-content:space-between;margin-bottom:20px;margin-left:-10%;overflow:hidden;padding:12px 20px;position:relative;text-overflow:ellipsis;white-space:nowrap;width:120%}@media (min-width: 36em){.dso-date__mobile.sc-dso-date-picker{border:0;margin:0;overflow:visible;padding:0;position:absolute;right:-16px;top:-16px;width:auto}}.dso-date__mobile-heading.sc-dso-date-picker{display:inline-block;font-weight:600;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.dso-date__mobile-heading.sc-dso-date-picker{display:none}}.dso-date__close.sc-dso-date-picker{-webkit-appearance:none;align-items:center;appearance:none;background-color:#fff;border:0;border-radius:50%;color:#39870c;cursor:pointer;display:flex;font-size:1em;height:32px;justify-content:center;margin-right:-4px;padding:0;width:32px}@media (min-width: 36em){.dso-date__close.sc-dso-date-picker{margin-right:0;opacity:0}}.dso-date__close.sc-dso-date-picker:focus{box-shadow:0 0 0 2px #275937;outline:none}@media (min-width: 36em){.dso-date__close.sc-dso-date-picker:focus{opacity:1}}.dso-date__vhidden.sc-dso-date-picker{border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;padding:0;position:absolute;top:0;width:1px}';export{w as dso_date_picker}
@@ -1 +0,0 @@
1
- import{h as e,r as t,c as s,H as i,g as d}from"./p-c62606a3.js";import{c as o}from"./p-7b37bd52.js";var a;function r(e){if(!e)return;const t=e.split("-");return 3===t.length&&4===t[2].length?function(e,t,s){var i=parseInt(s,10),d=parseInt(t,10),o=parseInt(e,10);if(Number.isInteger(o)&&Number.isInteger(d)&&Number.isInteger(i)&&d>0&&d<=12&&i>0&&i<=31&&o>0)return new Date(o,d-1,i)}(t[2],t[1],t[0]):void 0}function n(e){return e?`${e.getDate().toString(10).padStart(2,"0")}-${(e.getMonth()+1).toString(10).padStart(2,"0")}-${e.getFullYear().toString(10).padStart(2,"0")}`:""}function c(e,t){return!(!e||!t)&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function l(e,t){var s=new Date(e);return s.setDate(s.getDate()+t),s}function h(e,t=a.Monday){var s=new Date(e),i=s.getDay(),d=(i<t?7:0)+i-t;return s.setDate(s.getDate()-d),s}function p(e,t=a.Monday){var s=new Date(e),i=s.getDay(),d=6+(i<t?-7:0)-(i-t);return s.setDate(s.getDate()+d),s}function u(e){return new Date(e.getFullYear(),e.getMonth(),1)}function _(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function b(e,t){const s=new Date(e);return s.setMonth(t),s}function f(e,t){const s=new Date(e);return s.setFullYear(t),s}function g(e,t,s){return k(e,t,s)===e}function k(e,t,s){const i=e.getTime();return t&&t instanceof Date&&i<t.getTime()?t:s&&s instanceof Date&&i>s.getTime()?s:e}!function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(a||(a={}));const m=({focusedDay:t,today:s,day:i,onDaySelect:d,onKeyboardNavigation:o,focusedDayRef:a,inRange:r})=>{const l=c(i,s),h=c(i,t),p=i.getMonth()!==t.getMonth(),u=!r;return e("button",{class:{"dso-date__day":!0,"is-outside":u,"is-disabled":p,"is-today":l},tabIndex:h?0:-1,onClick:function(e){d(e,i)},onKeyDown:o,disabled:u||p,type:"button",ref:e=>{h&&e&&a&&a(e)}},e("span",{"aria-hidden":"true"},i.getDate()),e("span",{class:"dso-date__vhidden"},n(i)))},x=({selectedDate:t,focusedDate:s,labelledById:i,localization:d,firstDayOfWeek:o,min:r,max:n,onDateSelect:b,onKeyboardNavigation:f,focusedDayRef:k,onMouseDown:x,onFocusIn:v})=>{const y=new Date,w=function(e,t=a.Monday){return function(e,t){const s=[];let i=e;for(;!c(i,t);)s.push(i),i=l(i,1);return s.push(i),s}(h(u(e),t),p(_(e),t))}(s,o);return e("table",{class:"dso-date__table",role:"grid","aria-labelledby":i,onFocusin:v,onMouseDown:x},e("thead",null,e("tr",null,(z=o,M=t=>e("th",{class:"dso-date__table-header",scope:"col"},e("span",{"aria-hidden":"true"},t.substr(0,2)),e("span",{class:"dso-date__vhidden"},t)),(D=d.dayNames).map(((e,t)=>M(D[(t+z)%D.length])))))),e("tbody",null,function(e){const t=[];for(let s=0;s<e.length;s+=7)t.push(e.slice(s,s+7));return t}(w).map((i=>e("tr",{class:"dso-date__row"},i.map((i=>e("td",{class:"dso-date__cell",role:"gridcell","aria-selected":c(i,t)?"true":void 0,"aria-current":c(i,y)?"date":void 0},e(m,{day:i,today:y,focusedDay:s,inRange:g(i,r,n),onDaySelect:b,onKeyboardNavigation:f,focusedDayRef:k})))))))));var D,z,M},v={buttonLabel:"Kies datum",placeholder:"dd-mm-jjjj",selectedDateMessage:"Geselecteerde datum is",prevMonthLabel:"Vorige maand",nextMonthLabel:"Volgende maand",monthSelectLabel:"Maand",yearSelectLabel:"Jaar",closeLabel:"Sluiten",keyboardInstruction:"Gebruik de pijltjestoetsen om een dag te kiezen",calendarHeading:"Kies een datum",dayNames:["Zondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrijdag","Zaterdag"],monthNames:["Januari","Februari","Maart","April","Mei","Juni","Juli","Augustus","September","Oktober","November","December"],monthNamesShort:["Jan","Feb","Mrt","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Dec"]},y=/[^0-9\-]+/g;let w=class{constructor(e){t(this,e),this.dateChange=s(this,"dateChange",7),this.dsoBlur=s(this,"dsoBlur",7),this.dsoKeyUp=s(this,"dsoKeyUp",7),this.dsoKeyDown=s(this,"dsoKeyDown",7),this.dsoFocus=s(this,"dsoFocus",7),this.monthSelectId=o("DsoDateMonth"),this.yearSelectId=o("DsoDateYear"),this.dialogLabelId=o("DsoDateLabel"),this.localization=v,this.firstDayOfWeek=a.Monday,this.activeFocus=!1,this.focusedDay=new Date,this.open=!1,this.visible=!1,this.name="date",this.disabled=!1,this.direction="right",this.required=!1,this.dsoAutofocus=!1,this.value="",this.enableActiveFocus=()=>{this.activeFocus=!0},this.disableActiveFocus=()=>{this.activeFocus=!1},this.toggleOpen=e=>{e.preventDefault(),this.open?this.hide(!1):this.show()},this.handleEscKey=e=>{27===e.keyCode&&this.hide()},this.handleBlur=e=>{e.stopPropagation(),this.dsoBlur.emit({component:"dso-date-picker"})},this.handleKeyUp=e=>{e.stopPropagation(),this.dsoKeyUp.emit({component:"dso-date-picker",originalEvent:e})},this.handleKeyDown=e=>{e.stopPropagation(),this.dsoKeyDown.emit({component:"dso-date-picker",originalEvent:e})},this.handleFocus=e=>{e.stopPropagation(),this.dsoFocus.emit({component:"dso-date-picker"})},this.handleTouchStart=e=>{const t=e.changedTouches[0];this.initialTouchX=t.pageX,this.initialTouchY=t.pageY},this.handleTouchMove=e=>{e.preventDefault()},this.handleTouchEnd=e=>{const t=e.changedTouches[0],s=t.pageX-this.initialTouchX,i=t.pageY-this.initialTouchY,d=Math.abs(s)>=70&&Math.abs(i)<=70,o=Math.abs(i)>=70&&Math.abs(s)<=70&&i>0;d?this.addMonths(s<0?1:-1):o&&(this.hide(!1),e.preventDefault()),this.initialTouchY=void 0,this.initialTouchX=void 0},this.handleNextMonthClick=e=>{e.preventDefault(),this.addMonths(1)},this.handlePreviousMonthClick=e=>{e.preventDefault(),this.addMonths(-1)},this.handleFirstFocusableKeydown=e=>{var t;9===e.keyCode&&e.shiftKey&&(null===(t=this.focusedDayNode)||void 0===t||t.focus(),e.preventDefault())},this.handleKeyboardNavigation=e=>{var t;if(9===e.keyCode&&!e.shiftKey)return e.preventDefault(),void(null===(t=this.firstFocusableElement)||void 0===t||t.focus());var s=!0;switch(e.keyCode){case 39:this.addDays(1);break;case 37:this.addDays(-1);break;case 40:this.addDays(7);break;case 38:this.addDays(-7);break;case 33:e.shiftKey?this.addYears(-1):this.addMonths(-1);break;case 34:e.shiftKey?this.addYears(1):this.addMonths(1);break;case 36:this.startOfWeek();break;case 35:this.endOfWeek();break;default:s=!1}s&&(e.preventDefault(),this.enableActiveFocus())},this.handleDaySelect=(e,t)=>{g(t,r(this.min),r(this.max))&&(t.getMonth()===this.focusedDay.getMonth()?(this.setValue(t),this.hide()):this.setFocusedDay(t))},this.handleMonthSelect=e=>{this.setMonth(parseInt(e.target.value,10))},this.handleYearSelect=e=>{this.setYear(parseInt(e.target.value,10))},this.handleInputChange=e=>{this.setValue(e.target.value)},this.handleKeyPress=e=>{e.key.search(y)>-1&&e.preventDefault()},this.prepareEvent=e=>{var t={component:"dso-date-picker",value:"",valueAsDate:void 0};if(e instanceof Date?t.valueAsDate=e:(t.value=e,t.valueAsDate=r(e)),t.valueAsDate&&(t.value=n(t.valueAsDate)),!t.valueAsDate&&this.required&&(t.error="required"),t.value&&!t.valueAsDate&&(t.error="invalid"),t.valueAsDate&&(this.min||this.max)){const e=r(this.min),s=r(this.max),i=k(t.valueAsDate,e,s);i!==t.valueAsDate&&i===e?(t.valueAsDate=void 0,t.error="min-range"):i!==t.valueAsDate&&i===s&&(t.valueAsDate=void 0,t.error="max-range")}return t},this.processFocusedDayNode=e=>{this.focusedDayNode=e,this.activeFocus&&this.open&&setTimeout((()=>e.focus()),0)}}handleDocumentClick(e){if(!this.open)return;const t=e.composedPath();for(const e of t)if(e instanceof Node&&this.element.contains(e))return;this.hide(!1)}async setFocus(){var e;return null===(e=this.datePickerInput)||void 0===e?void 0:e.focus()}async show(){void 0!==this.hideTimeoutId&&clearTimeout(this.hideTimeoutId),this.visible=!0,setTimeout((()=>{this.open=!0,this.setFocusedDay(r(this.value)||new Date),void 0!==this.focusTimeoutId&&clearTimeout(this.focusTimeoutId),this.focusTimeoutId=setTimeout((()=>{var e;return null===(e=this.monthSelectNode)||void 0===e?void 0:e.focus()}),300)}))}async hide(e=!0){this.open=!1,void 0!==this.focusTimeoutId&&clearTimeout(this.focusTimeoutId),this.hideTimeoutId=setTimeout((()=>{e&&this.datePickerButton&&this.datePickerButton.focus(),this.visible=!1}),500)}addDays(e){this.setFocusedDay(l(this.focusedDay,e))}addMonths(e){this.setMonth(this.focusedDay.getMonth()+e)}addYears(e){this.setYear(this.focusedDay.getFullYear()+e)}startOfWeek(){this.setFocusedDay(h(this.focusedDay,this.firstDayOfWeek))}endOfWeek(){this.setFocusedDay(p(this.focusedDay,this.firstDayOfWeek))}setMonth(e){const t=b(u(this.focusedDay),e),s=_(t),i=b(this.focusedDay,e);this.setFocusedDay(k(i,t,s))}setYear(e){const t=f(u(this.focusedDay),e),s=_(t),i=f(this.focusedDay,e);this.setFocusedDay(k(i,t,s))}setFocusedDay(e){this.focusedDay=k(e,r(this.min),r(this.max))}setValue(e){const t=this.prepareEvent(e);this.value=t.value,this.dateChange.emit(t)}componentDidLoad(){const e=r(this.value);e&&(this.value=n(e)),this.dsoAutofocus&&this.setFocus()}render(){const t=r(this.value),s=t&&n(t),d=(t||this.focusedDay).getFullYear(),o=this.focusedDay.getMonth(),a=this.focusedDay.getFullYear(),c=r(this.min),l=r(this.max),h=null!=c&&c.getMonth()===o&&c.getFullYear()===a,p=null!=l&&l.getMonth()===o&&l.getFullYear()===a;let u=d-10,_=d+10;return c&&(u=Math.max(u,c.getFullYear())),l&&(_=Math.min(_,l.getFullYear())),e(i,null,e("div",{class:{"dso-date":!0,"dso-visible":this.visible}},e("div",{class:"dso-date__input-wrapper"},e("input",{class:"dso-date__input",value:this.value,placeholder:this.localization.placeholder,id:this.identifier,disabled:this.disabled,role:this.role,required:!!this.required||void 0,"aria-autocomplete":"none",onKeyPress:this.handleKeyPress,onInput:this.handleInputChange,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyUp:this.handleKeyUp,onKeyDown:this.handleKeyDown,autoComplete:"off",ref:e=>this.datePickerInput=e}),e("button",{type:"button",class:"dso-date__toggle",onClick:this.toggleOpen,disabled:this.disabled,ref:e=>this.datePickerButton=e},e("span",{class:"dso-date__toggle-icon"},e("dso-icon",{icon:"calendar"})),e("span",{class:"dso-date__vhidden"},this.localization.buttonLabel,s&&e("span",null,", ",this.localization.selectedDateMessage," ",s)))),e("div",{class:{"dso-date__dialog":!0,"is-left":"left"===this.direction,"is-active":this.open},role:"dialog","aria-modal":"true","aria-hidden":this.open?"false":"true","aria-labelledby":this.dialogLabelId,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},e("div",{class:"dso-date__dialog-content",onKeyDown:this.handleEscKey},e("div",{class:"dso-date__vhidden dso-date__instructions","aria-live":"polite"},this.localization.keyboardInstruction),e("div",{class:"dso-date__mobile",onFocusin:this.disableActiveFocus},e("label",{class:"dso-date__mobile-heading"},this.localization.calendarHeading),e("button",{class:"dso-date__close",ref:e=>this.firstFocusableElement=e,onKeyDown:this.handleFirstFocusableKeydown,onClick:()=>this.hide(),type:"button"},e("dso-icon",{icon:"times"}),e("span",{class:"dso-date__vhidden"},this.localization.closeLabel))),e("div",{class:"dso-date__header",onFocusin:this.disableActiveFocus},e("div",null,e("h2",{id:this.dialogLabelId,class:"dso-date__vhidden","aria-live":"polite"},this.localization.monthNames[o]," ",this.focusedDay.getFullYear()),e("label",{htmlFor:this.monthSelectId,class:"dso-date__vhidden"},this.localization.monthSelectLabel),e("div",{class:"dso-date__select"},e("select",{id:this.monthSelectId,class:"dso-date__select--month",ref:e=>this.monthSelectNode=e,onChange:this.handleMonthSelect},this.localization.monthNames.map(((t,s)=>e("option",{key:t,value:s,selected:s===o},t)))),e("div",{class:"dso-date__select-label","aria-hidden":"true"},e("span",null,this.localization.monthNamesShort[o]),e("dso-icon",{icon:"chevron-down"}))),e("label",{htmlFor:this.yearSelectId,class:"dso-date__vhidden"},this.localization.yearSelectLabel),e("div",{class:"dso-date__select"},e("select",{id:this.yearSelectId,class:"dso-date__select--year",onChange:this.handleYearSelect},function(e,t){for(var s=[],i=e;i<=t;i++)s.push(i);return s}(u,_).map((t=>e("option",{key:t,selected:t===a},t)))),e("div",{class:"dso-date__select-label","aria-hidden":"true"},e("span",null,this.focusedDay.getFullYear()),e("dso-icon",{icon:"chevron-down"})))),e("div",{class:"dso-date__nav"},e("button",{class:"dso-date__prev",onClick:this.handlePreviousMonthClick,disabled:h,type:"button"},e("dso-icon",{icon:"chevron-left"}),e("span",{class:"dso-date__vhidden"},this.localization.prevMonthLabel)),e("button",{class:"dso-date__next",onClick:this.handleNextMonthClick,disabled:p,type:"button"},e("dso-icon",{icon:"chevron-right"}),e("span",{class:"dso-date__vhidden"},this.localization.nextMonthLabel)))),e(x,{selectedDate:t,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,localization:this.localization,firstDayOfWeek:this.firstDayOfWeek,focusedDayRef:this.processFocusedDayNode,min:c,max:l})))))}get element(){return d(this)}};w.style='.sc-dso-date-picker-h{display:block}.dso-date.sc-dso-date-picker *.sc-dso-date-picker,.dso-date.sc-dso-date-picker *.sc-dso-date-picker::before,.dso-date.sc-dso-date-picker *.sc-dso-date-picker::after{box-sizing:border-box}.dso-date.sc-dso-date-picker{box-sizing:border-box;color:#191919;display:block;font-family:"Asap", sans-serif;margin:0;position:relative;text-align:left;width:100%}.dso-date.sc-dso-date-picker:not(.dso-visible) .dso-date__dialog.sc-dso-date-picker{display:none}.dso-date__input.sc-dso-date-picker{display:block;width:100%;height:40px;padding:6px 14px;font-size:16px;line-height:1.5;color:#191919;background-color:#fff;background-image:none;border:1px solid #275937;border-radius:4px;transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s}.dso-date__input.sc-dso-date-picker::-moz-placeholder{color:#666;opacity:1}.dso-date__input.sc-dso-date-picker:-ms-input-placeholder{color:#666}.dso-date__input.sc-dso-date-picker::-webkit-input-placeholder{color:#666}.dso-date__input.sc-dso-date-picker::-ms-expand{background-color:transparent;border:0}.dso-date__input.sc-dso-date-picker:focus{border-color:#275937;outline:0;box-shadow:inset 0 0 0 1px #275937}.dso-date__input[disabled].sc-dso-date-picker,.dso-date__input[readonly].sc-dso-date-picker,fieldset[disabled].sc-dso-date-picker .dso-date__input.sc-dso-date-picker{background-color:#fff;opacity:1}.dso-date__input[disabled].sc-dso-date-picker,fieldset[disabled].sc-dso-date-picker .dso-date__input.sc-dso-date-picker{cursor:default}.dso-date__input[disabled].sc-dso-date-picker{border-color:#e5e5e5;color:#999}.dso-date__input[readonly].sc-dso-date-picker{border-width:1px}.dso-date__input[type=text].sc-dso-date-picker{line-height:40px}.dso-date__input[size].sc-dso-date-picker{width:auto}.dso-date__toggle.sc-dso-date-picker{-moz-appearance:none;-webkit-appearance:none;-webkit-user-select:none;align-items:center;appearance:none;background:transparent;border:0;border-radius:0;border-bottom-right-radius:4px;border-top-right-radius:4px;color:#39870c;cursor:pointer;display:flex;height:38px;justify-content:center;padding:0;position:absolute;right:0;transform:translateY(-50%);top:50%;user-select:none;width:38px;z-index:101}.dso-date__toggle.sc-dso-date-picker:disabled{color:#afcf9d;cursor:pointer}.dso-date__dialog.sc-dso-date-picker{border-width:1px;display:flex;right:0;min-width:320px;opacity:0;position:absolute;top:100%;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;visibility:hidden;will-change:transform, opacity, visibility;z-index:210}@media (max-width: 35.9375em){.dso-date__dialog.sc-dso-date-picker{background:rgba(25, 25, 25, 0.5);bottom:0;position:fixed;left:0;right:0;top:0;transform:translateZ(0);transform-origin:bottom center}}.dso-date__dialog.is-left.sc-dso-date-picker{left:-11px;right:auto;width:auto}.dso-date__dialog.is-active.sc-dso-date-picker{opacity:1;transform:scale(1.0001) translateZ(0) translateY(0);visibility:visible}.dso-date__dialog-content.sc-dso-date-picker{background:#fff;border:1px solid rgba(0, 0, 0, 0.1);border-radius:4px;box-shadow:0 8px 10px 1px rgba(0, 0, 0, 0.4);margin-left:auto;margin-right:-1px;margin-top:8px;max-width:310px;min-width:290px;padding:16px;position:relative;transform:none;width:100%;z-index:210}@media (max-width: 35.9375em){.dso-date__dialog-content.sc-dso-date-picker{border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;bottom:0;left:0;margin:0;max-width:none;min-height:26em;opacity:0;padding:0 8% 20px;position:absolute;transform:translateZ(0) translateY(100%);transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;visibility:hidden;will-change:transform, opacity, visibility}.is-active.sc-dso-date-picker .dso-date__dialog-content.sc-dso-date-picker{opacity:1;transform:translateZ(0) translateY(0);visibility:visible}}.dso-date__table.sc-dso-date-picker{border-collapse:collapse;border-spacing:0;color:#191919;font-size:1rem;font-weight:400;line-height:1.25;min-width:280px;table-layout:fixed;text-align:center;width:100%}.dso-date__table-header.sc-dso-date-picker{font-size:0.875em;font-weight:600;height:36px;line-height:36px;text-decoration:none;text-transform:uppercase}.dso-date__cell.sc-dso-date-picker{height:40px;padding:1px;text-align:center;width:40px}.dso-date__day.sc-dso-date-picker{-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;border-radius:50%;box-shadow:0 0 0 1px transparent;color:#191919;cursor:pointer;display:inline-block;font-family:"Asap", sans-serif;font-variant-numeric:tabular-nums;font-weight:400;height:38px;line-height:0;padding:0;position:relative;text-align:center;vertical-align:middle;width:38px;z-index:100}.dso-date__day.is-today.sc-dso-date-picker{background:transparent;height:36px;box-shadow:0 0 0 1px #39870c;width:36px}.dso-date__day.sc-dso-date-picker:hover,.dso-date__day.sc-dso-date-picker:active{background:#39870c;color:#fff}.dso-date__day.sc-dso-date-picker:focus{background:transparent;box-shadow:0 0 0 2px #275937;color:#191919;height:34px;outline:0;width:34px}[aria-selected=true].sc-dso-date-picker .dso-date__day.sc-dso-date-picker{background:#39870c;color:#fff}[aria-selected=true].sc-dso-date-picker .dso-date__day.sc-dso-date-picker:focus{background:transparent}[aria-selected=true].sc-dso-date-picker .dso-date__day.sc-dso-date-picker:focus span[aria-hidden=true].sc-dso-date-picker{background:#39870c;border:1px solid #fff;line-height:32px}.dso-date__day.is-outside.sc-dso-date-picker{background:#f2f2f2;box-shadow:none;color:#666;cursor:default;pointer-events:none}.dso-date__day.is-disabled.sc-dso-date-picker{background:#fff;cursor:default}.dso-date__day.is-disabled.sc-dso-date-picker:hover{color:#666}.dso-date__day.sc-dso-date-picker span[aria-hidden=true].sc-dso-date-picker{border-radius:50%;display:inline-block;height:34px;line-height:34px;width:34px}.dso-date__header.sc-dso-date-picker{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px;width:100%}.dso-date__header.sc-dso-date-picker span.sc-dso-date-picker{font-size:0.875rem}.dso-date__nav.sc-dso-date-picker{white-space:nowrap}.dso-date__prev.sc-dso-date-picker,.dso-date__next.sc-dso-date-picker{-moz-appearance:none;-webkit-appearance:none;align-items:center;appearance:none;background:transparent;border:1px solid #39870c;border-radius:4px;box-sizing:border-box;color:#39870c;cursor:pointer;display:inline-flex;font-size:1em;height:32px;justify-content:center;margin-left:8px;padding:0;width:32px}@media (max-width: 35.9375em){.dso-date__prev.sc-dso-date-picker,.dso-date__next.sc-dso-date-picker{height:40px;width:40px}}.dso-date__prev.sc-dso-date-picker:hover,.dso-date__prev.sc-dso-date-picker:active,.dso-date__next.sc-dso-date-picker:hover,.dso-date__next.sc-dso-date-picker:active{background-color:#39870c;color:#fff}.dso-date__prev.sc-dso-date-picker:focus,.dso-date__next.sc-dso-date-picker:focus{background:transparent;color:#39870c}.dso-date__prev.sc-dso-date-picker:disabled,.dso-date__prev.sc-dso-date-picker:disabled:hover,.dso-date__next.sc-dso-date-picker:disabled,.dso-date__next.sc-dso-date-picker:disabled:hover{background-color:#fff;border-color:#afcf9d;color:#afcf9d;opacity:1}.dso-date__prev.sc-dso-date-picker svg.sc-dso-date-picker,.dso-date__next.sc-dso-date-picker svg.sc-dso-date-picker{margin:0 auto}.dso-date__select.sc-dso-date-picker{display:inline-flex;height:28px;line-height:28px;position:relative}.dso-date__select.sc-dso-date-picker span.sc-dso-date-picker{margin-right:4px}.dso-date__select.sc-dso-date-picker select.sc-dso-date-picker{color:#275937;cursor:pointer;font-size:1rem;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:101}.dso-date__select.sc-dso-date-picker select.sc-dso-date-picker:focus+.dso-date__select-label.sc-dso-date-picker{box-shadow:0 0 0 2px #275937}.dso-date__select.sc-dso-date-picker select.sc-dso-date-picker:disabled{color:#afcf9d}.dso-date__select-label.sc-dso-date-picker{align-items:center;border-radius:4px;color:#39870c;display:flex;padding:0 4px 0 8px;pointer-events:none;position:relative;width:100%;z-index:100}.dso-date__select-label.sc-dso-date-picker span.sc-dso-date-picker{font-size:1.25rem;font-weight:600;line-height:1.25}.dso-date__select-label.sc-dso-date-picker svg.sc-dso-date-picker{width:16px;height:16px}.dso-date__mobile.sc-dso-date-picker{align-items:center;border-bottom:1px solid rgba(0, 0, 0, 0.12);display:flex;font-size:1em;justify-content:space-between;margin-bottom:20px;margin-left:-10%;overflow:hidden;padding:12px 20px;position:relative;text-overflow:ellipsis;white-space:nowrap;width:120%}@media (min-width: 36em){.dso-date__mobile.sc-dso-date-picker{border:0;margin:0;overflow:visible;padding:0;position:absolute;right:-16px;top:-16px;width:auto}}.dso-date__mobile-heading.sc-dso-date-picker{display:inline-block;font-weight:600;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.dso-date__mobile-heading.sc-dso-date-picker{display:none}}.dso-date__close.sc-dso-date-picker{-webkit-appearance:none;align-items:center;appearance:none;background-color:#fff;border:0;border-radius:50%;color:#39870c;cursor:pointer;display:flex;font-size:1em;height:32px;justify-content:center;margin-right:-4px;padding:0;width:32px}@media (min-width: 36em){.dso-date__close.sc-dso-date-picker{margin-right:0;opacity:0}}.dso-date__close.sc-dso-date-picker:focus{box-shadow:0 0 0 2px #275937;outline:none}@media (min-width: 36em){.dso-date__close.sc-dso-date-picker:focus{opacity:1}}.dso-date__vhidden.sc-dso-date-picker{border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;padding:0;position:absolute;top:0;width:1px}';export{w as dso_date_picker}
@@ -1,226 +0,0 @@
1
- //
2
- // Navs
3
- // --------------------------------------------------
4
-
5
-
6
- // Base class
7
- // --------------------------------------------------
8
-
9
- .nav {
10
- padding-left: 0; // Override default ul/ol
11
- margin-bottom: 0;
12
- list-style: none;
13
- @include clearfix;
14
-
15
- > li {
16
- position: relative;
17
- display: block;
18
-
19
- > a {
20
- position: relative;
21
- display: block;
22
- padding: $nav-link-padding;
23
- &:hover,
24
- &:focus {
25
- text-decoration: none;
26
- background-color: $nav-link-hover-bg;
27
- }
28
- }
29
-
30
- // Disabled state sets text to gray and nukes hover/tab effects
31
- &.disabled > a {
32
- color: $nav-disabled-link-color;
33
-
34
- &:hover,
35
- &:focus {
36
- color: $nav-disabled-link-hover-color;
37
- text-decoration: none;
38
- cursor: $cursor-disabled;
39
- background-color: transparent;
40
- }
41
- }
42
- }
43
-
44
- // Open dropdowns
45
- .open > a {
46
- &,
47
- &:hover,
48
- &:focus {
49
- background-color: $nav-link-hover-bg;
50
- border-color: $link-color;
51
- }
52
- }
53
-
54
- // Nav dividers (deprecated with v3.0.1)
55
- //
56
- // This should have been removed in v3 with the dropping of `.nav-list`, but
57
- // we missed it. We don't currently support this anywhere, but in the interest
58
- // of maintaining backward compatibility in case you use it, it's deprecated.
59
- .nav-divider {
60
- @include nav-divider;
61
- }
62
-
63
- // Prevent IE8 from misplacing imgs
64
- //
65
- // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
66
- > li > a > img {
67
- max-width: none;
68
- }
69
- }
70
-
71
-
72
- // Tabs
73
- // -------------------------
74
-
75
- // Give the tabs something to sit on
76
- .nav-tabs {
77
- border-bottom: 1px solid $nav-tabs-border-color;
78
- > li {
79
- float: left;
80
- // Make the list-items overlay the bottom border
81
- margin-bottom: -1px;
82
-
83
- // Actual tabs (as links)
84
- > a {
85
- margin-right: 2px;
86
- line-height: $line-height-base;
87
- border: 1px solid transparent;
88
- border-radius: $border-radius-base $border-radius-base 0 0;
89
- &:hover {
90
- border-color: $nav-tabs-link-hover-border-color $nav-tabs-link-hover-border-color $nav-tabs-border-color;
91
- }
92
- }
93
-
94
- // Active state, and its :hover to override normal :hover
95
- &.active > a {
96
- &,
97
- &:hover,
98
- &:focus {
99
- color: $nav-tabs-active-link-hover-color;
100
- cursor: default;
101
- background-color: $nav-tabs-active-link-hover-bg;
102
- border: 1px solid $nav-tabs-active-link-hover-border-color;
103
- border-bottom-color: transparent;
104
- }
105
- }
106
- }
107
- // pulling this in mainly for less shorthand
108
- &.nav-justified {
109
- @extend .nav-justified;
110
- @extend .nav-tabs-justified;
111
- }
112
- }
113
-
114
-
115
- // Pills
116
- // -------------------------
117
- .nav-pills {
118
- > li {
119
- float: left;
120
-
121
- // Links rendered as pills
122
- > a {
123
- border-radius: $nav-pills-border-radius;
124
- }
125
- + li {
126
- margin-left: 2px;
127
- }
128
-
129
- // Active state
130
- &.active > a {
131
- &,
132
- &:hover,
133
- &:focus {
134
- color: $nav-pills-active-link-hover-color;
135
- background-color: $nav-pills-active-link-hover-bg;
136
- }
137
- }
138
- }
139
- }
140
-
141
-
142
- // Stacked pills
143
- .nav-stacked {
144
- > li {
145
- float: none;
146
- + li {
147
- margin-top: 2px;
148
- margin-left: 0; // no need for this gap between nav items
149
- }
150
- }
151
- }
152
-
153
-
154
- // Nav variations
155
- // --------------------------------------------------
156
-
157
- // Justified nav links
158
- // -------------------------
159
-
160
- .nav-justified {
161
- width: 100%;
162
-
163
- > li {
164
- float: none;
165
- > a {
166
- margin-bottom: 5px;
167
- text-align: center;
168
- }
169
- }
170
-
171
- @media (min-width: $screen-sm-min) {
172
- > li {
173
- display: table-cell;
174
- width: 1%;
175
- > a {
176
- margin-bottom: 0;
177
- }
178
- }
179
- }
180
- }
181
-
182
- // Move borders to anchors instead of bottom of list
183
- //
184
- // Mixin for adding on top the shared `.nav-justified` styles for our tabs
185
- .nav-tabs-justified {
186
- border-bottom: 0;
187
-
188
- > li > a {
189
- // Override margin from .nav-tabs
190
- margin-right: 0;
191
- border-radius: $border-radius-base;
192
- }
193
-
194
- > .active > a,
195
- > .active > a:hover,
196
- > .active > a:focus {
197
- border: 1px solid $nav-tabs-justified-link-border-color;
198
- }
199
-
200
- @media (min-width: $screen-sm-min) {
201
- > li > a {
202
- border-bottom: 1px solid $nav-tabs-justified-link-border-color;
203
- border-radius: $border-radius-base $border-radius-base 0 0;
204
- }
205
- > .active > a,
206
- > .active > a:hover,
207
- > .active > a:focus {
208
- border-bottom-color: $nav-tabs-justified-active-link-border-color;
209
- }
210
- }
211
- }
212
-
213
-
214
- // Tabbable tabs
215
- // -------------------------
216
-
217
- // Hide tabbable panes to start, show them when `.active`
218
- .tab-content {
219
- > .tab-pane {
220
- display: none;
221
- }
222
- > .active {
223
- display: block;
224
- }
225
- }
226
-
@@ -1,10 +0,0 @@
1
- // Horizontal dividers
2
- //
3
- // Dividers (basically an hr) within dropdowns and nav lists
4
-
5
- @mixin nav-divider($color: #e5e5e5) {
6
- height: 1px;
7
- margin: (($line-height-computed * 0.5) - 1) 0;
8
- overflow: hidden;
9
- background-color: $color;
10
- }
@@ -1,32 +0,0 @@
1
- $dso-searchbar-invalid-border-color: $dso-danger-color;
2
- $dso-searchbar-focus-border-width: 1px;
3
-
4
- .form-group .dso-search-bar {
5
- margin-bottom: 0;
6
- width: 50%;
7
- }
8
-
9
- .dso-table-filter-wrapper .dso-search-bar {
10
- margin-bottom: $u2;
11
- width: $dso-minimal-screen-width - $u4;
12
- }
13
-
14
- .form-horizontal .dso-field-container .dso-search-bar {
15
- width: 100%;
16
- }
17
-
18
- .dso-invalid .dso-field-container .dso-search-bar {
19
- input {
20
- border-color: $dso-searchbar-invalid-border-color;
21
-
22
- &:focus {
23
- box-shadow: inset 0 0 0 $dso-searchbar-focus-border-width $dso-searchbar-invalid-border-color;
24
- }
25
- }
26
- }
27
-
28
- .dso-field-container .dso-search-bar {
29
- input {
30
- border-color: $bosgroen;
31
- }
32
- }
@@ -1,63 +0,0 @@
1
- $dso-featured-background-color: $grasgroen-10;
2
-
3
- main,
4
- form {
5
- > .dso-rich-content {
6
- margin-bottom: $dso-vertical-spacing-xlarge;
7
- }
8
-
9
- > .row {
10
- &.dso-featured {
11
- margin-bottom: $u5;
12
- padding-bottom: $u6;
13
- padding-top: $u5;
14
-
15
- & + .row div:not(.dso-rich-content) {
16
- h1,
17
- .h1,
18
- h2,
19
- .h2,
20
- h3,
21
- .h3 {
22
- &:first-child {
23
- margin-top: 0;
24
- }
25
- }
26
- }
27
- }
28
- }
29
- }
30
-
31
- .row {
32
- &.dso-banner {
33
- @include full-width-row($grid-gutter-width);
34
-
35
- background-color: $grasgroen-10;
36
- background-position: center;
37
- background-repeat: no-repeat;
38
- background-size: cover;
39
- height: 400px;
40
-
41
- &,
42
- &:not(.dso-featured):first-child {
43
- margin-bottom: $u4;
44
- padding-top: 2rem;
45
- }
46
- }
47
-
48
- &.dso-featured {
49
- @include full-width-row($grid-gutter-width);
50
-
51
- background-color: $dso-featured-background-color;
52
- }
53
-
54
- + .dso-featured {
55
- margin-top: $u3;
56
- }
57
- }
58
-
59
- .dso-banner-implementation-specific-image {
60
- // implement using background-image:
61
- // ----
62
- // background-image: url('/dummy/images/hero.png');
63
- }