@madgex/design-system 1.46.1 → 1.46.2

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 (43) hide show
  1. package/coverage/cobertura-coverage.xml +1 -1
  2. package/coverage/components/accordion/accordion.js.html +1 -1
  3. package/coverage/components/accordion/index.html +1 -1
  4. package/coverage/components/inputs/combobox/vue-components/Combobox.vue.html +2 -2
  5. package/coverage/components/inputs/combobox/vue-components/index.html +1 -1
  6. package/coverage/components/inputs/multi-select/vue-components/MultiSelect.vue.html +1 -1
  7. package/coverage/components/inputs/multi-select/vue-components/MultiSelectCheckbox.vue.html +1 -1
  8. package/coverage/components/inputs/multi-select/vue-components/MultiSelectCheckboxGroup.vue.html +1 -1
  9. package/coverage/components/inputs/multi-select/vue-components/index.html +1 -1
  10. package/coverage/components/modal/index.html +1 -1
  11. package/coverage/components/modal/modal.js.html +1 -1
  12. package/coverage/components/notification/index.html +1 -1
  13. package/coverage/components/notification/notification.js.html +1 -1
  14. package/coverage/components/popover/index.html +1 -1
  15. package/coverage/components/popover/popover.js.html +1 -1
  16. package/coverage/components/switch-state/index.html +1 -1
  17. package/coverage/components/switch-state/switch-state.js.html +1 -1
  18. package/coverage/components/tabs/index.html +1 -1
  19. package/coverage/components/tabs/tabs.js.html +1 -1
  20. package/coverage/index.html +1 -1
  21. package/coverage/js/common.js.html +1 -1
  22. package/coverage/js/fractal-scripts/combobox.js.html +1 -1
  23. package/coverage/js/fractal-scripts/index.html +1 -1
  24. package/coverage/js/fractal-scripts/multiselect.js.html +1 -1
  25. package/coverage/js/fractal-scripts/notification.js.html +1 -1
  26. package/coverage/js/fractal-scripts/switch-state.js.html +1 -1
  27. package/coverage/js/index-fractal.js.html +1 -1
  28. package/coverage/js/index-polyfills.js.html +1 -1
  29. package/coverage/js/index-vue.js.html +1 -1
  30. package/coverage/js/index.html +1 -1
  31. package/coverage/js/index.js.html +1 -1
  32. package/coverage/js/polyfills/closest.js.html +1 -1
  33. package/coverage/js/polyfills/index.html +1 -1
  34. package/coverage/js/polyfills/remove.js.html +1 -1
  35. package/coverage/tokens/_config.js.html +1 -1
  36. package/coverage/tokens/index.html +1 -1
  37. package/dist/_tokens/css/_tokens.css +1 -1
  38. package/dist/_tokens/js/_tokens-module.js +1 -1
  39. package/dist/_tokens/scss/_tokens.scss +1 -1
  40. package/dist/assets/icons.json +1 -1
  41. package/dist/js/index.js +1 -1
  42. package/package.json +1 -1
  43. package/src/components/inputs/combobox/vue-components/Combobox.vue +1 -1
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" ?>
2
2
  <!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
3
- <coverage lines-valid="430" lines-covered="200" line-rate="0.46509999999999996" branches-valid="117" branches-covered="46" branch-rate="0.3932" timestamp="1587486388000" complexity="0" version="0.1">
3
+ <coverage lines-valid="430" lines-covered="200" line-rate="0.46509999999999996" branches-valid="117" branches-covered="46" branch-rate="0.3932" timestamp="1587641787965" complexity="0" version="0.1">
4
4
  <sources>
5
5
  <source>/var/lib/jenkins/jobs/madgex-design-system/branches/master/workspace</source>
6
6
  </sources>
@@ -396,7 +396,7 @@ export default accordion;
396
396
  <div class='footer quiet pad2 space-top1 center small'>
397
397
  Code coverage generated by
398
398
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
399
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
399
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
400
400
  </div>
401
401
  </div>
402
402
  <script src="../../prettify.js"></script>
@@ -94,7 +94,7 @@
94
94
  <div class='footer quiet pad2 space-top1 center small'>
95
95
  Code coverage generated by
96
96
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
97
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
97
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
98
98
  </div>
99
99
  </div>
100
100
  <script src="../../prettify.js"></script>
@@ -475,7 +475,7 @@
475
475
  @keydown.home="hiddenGuard(onKeyHome)"
476
476
  @keydown.end="hiddenGuard(onKeyEnd)"
477
477
  @keydown.esc="makeInactive"
478
- @keydown.enter="chooseOption"
478
+ @keydown.enter.stop="chooseOption"
479
479
  &gt;
480
480
  &lt;ComboboxInput
481
481
  @focus="makeActive"
@@ -678,7 +678,7 @@ export default {
678
678
  <div class='footer quiet pad2 space-top1 center small'>
679
679
  Code coverage generated by
680
680
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
681
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
681
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
682
682
  </div>
683
683
  </div>
684
684
  <script src="../../../../prettify.js"></script>
@@ -94,7 +94,7 @@
94
94
  <div class='footer quiet pad2 space-top1 center small'>
95
95
  Code coverage generated by
96
96
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
97
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
97
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
98
98
  </div>
99
99
  </div>
100
100
  <script src="../../../../prettify.js"></script>
@@ -186,7 +186,7 @@ export default {
186
186
  <div class='footer quiet pad2 space-top1 center small'>
187
187
  Code coverage generated by
188
188
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
189
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
189
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
190
190
  </div>
191
191
  </div>
192
192
  <script src="../../../../prettify.js"></script>
@@ -270,7 +270,7 @@ export default {
270
270
  <div class='footer quiet pad2 space-top1 center small'>
271
271
  Code coverage generated by
272
272
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
273
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
273
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
274
274
  </div>
275
275
  </div>
276
276
  <script src="../../../../prettify.js"></script>
@@ -282,7 +282,7 @@ export default {
282
282
  <div class='footer quiet pad2 space-top1 center small'>
283
283
  Code coverage generated by
284
284
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
285
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
285
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
286
286
  </div>
287
287
  </div>
288
288
  <script src="../../../../prettify.js"></script>
@@ -124,7 +124,7 @@
124
124
  <div class='footer quiet pad2 space-top1 center small'>
125
125
  Code coverage generated by
126
126
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
127
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
127
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
128
128
  </div>
129
129
  </div>
130
130
  <script src="../../../../prettify.js"></script>
@@ -94,7 +94,7 @@
94
94
  <div class='footer quiet pad2 space-top1 center small'>
95
95
  Code coverage generated by
96
96
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
97
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
97
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
98
98
  </div>
99
99
  </div>
100
100
  <script src="../../prettify.js"></script>
@@ -315,7 +315,7 @@ export default modals;
315
315
  <div class='footer quiet pad2 space-top1 center small'>
316
316
  Code coverage generated by
317
317
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
318
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
318
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
319
319
  </div>
320
320
  </div>
321
321
  <script src="../../prettify.js"></script>
@@ -94,7 +94,7 @@
94
94
  <div class='footer quiet pad2 space-top1 center small'>
95
95
  Code coverage generated by
96
96
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
97
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
97
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
98
98
  </div>
99
99
  </div>
100
100
  <script src="../../prettify.js"></script>
@@ -144,7 +144,7 @@ export default notification;
144
144
  <div class='footer quiet pad2 space-top1 center small'>
145
145
  Code coverage generated by
146
146
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
147
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
147
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
148
148
  </div>
149
149
  </div>
150
150
  <script src="../../prettify.js"></script>
@@ -94,7 +94,7 @@
94
94
  <div class='footer quiet pad2 space-top1 center small'>
95
95
  Code coverage generated by
96
96
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
97
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
97
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
98
98
  </div>
99
99
  </div>
100
100
  <script src="../../prettify.js"></script>
@@ -240,7 +240,7 @@ export default popovers;
240
240
  <div class='footer quiet pad2 space-top1 center small'>
241
241
  Code coverage generated by
242
242
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
243
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
243
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
244
244
  </div>
245
245
  </div>
246
246
  <script src="../../prettify.js"></script>
@@ -94,7 +94,7 @@
94
94
  <div class='footer quiet pad2 space-top1 center small'>
95
95
  Code coverage generated by
96
96
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
97
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
97
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
98
98
  </div>
99
99
  </div>
100
100
  <script src="../../prettify.js"></script>
@@ -99,7 +99,7 @@ export default switchState;
99
99
  <div class='footer quiet pad2 space-top1 center small'>
100
100
  Code coverage generated by
101
101
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
102
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
102
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
103
103
  </div>
104
104
  </div>
105
105
  <script src="../../prettify.js"></script>
@@ -94,7 +94,7 @@
94
94
  <div class='footer quiet pad2 space-top1 center small'>
95
95
  Code coverage generated by
96
96
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
97
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
97
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
98
98
  </div>
99
99
  </div>
100
100
  <script src="../../prettify.js"></script>
@@ -510,7 +510,7 @@ export default tabs;
510
510
  <div class='footer quiet pad2 space-top1 center small'>
511
511
  Code coverage generated by
512
512
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
513
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
513
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
514
514
  </div>
515
515
  </div>
516
516
  <script src="../../prettify.js"></script>
@@ -259,7 +259,7 @@
259
259
  <div class='footer quiet pad2 space-top1 center small'>
260
260
  Code coverage generated by
261
261
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
262
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
262
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
263
263
  </div>
264
264
  </div>
265
265
  <script src="prettify.js"></script>
@@ -99,7 +99,7 @@
99
99
  <div class='footer quiet pad2 space-top1 center small'>
100
100
  Code coverage generated by
101
101
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
102
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
102
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
103
103
  </div>
104
104
  </div>
105
105
  <script src="../prettify.js"></script>
@@ -210,7 +210,7 @@ export default combobox;
210
210
  <div class='footer quiet pad2 space-top1 center small'>
211
211
  Code coverage generated by
212
212
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
213
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
213
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
214
214
  </div>
215
215
  </div>
216
216
  <script src="../../prettify.js"></script>
@@ -139,7 +139,7 @@
139
139
  <div class='footer quiet pad2 space-top1 center small'>
140
140
  Code coverage generated by
141
141
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
142
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
142
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
143
143
  </div>
144
144
  </div>
145
145
  <script src="../../prettify.js"></script>
@@ -174,7 +174,7 @@ export default multiselect;
174
174
  <div class='footer quiet pad2 space-top1 center small'>
175
175
  Code coverage generated by
176
176
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
177
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
177
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
178
178
  </div>
179
179
  </div>
180
180
  <script src="../../prettify.js"></script>
@@ -123,7 +123,7 @@ export default notificationScript;
123
123
  <div class='footer quiet pad2 space-top1 center small'>
124
124
  Code coverage generated by
125
125
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
126
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
126
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
127
127
  </div>
128
128
  </div>
129
129
  <script src="../../prettify.js"></script>
@@ -135,7 +135,7 @@ export default switchStateScript;
135
135
  <div class='footer quiet pad2 space-top1 center small'>
136
136
  Code coverage generated by
137
137
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
138
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
138
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
139
139
  </div>
140
140
  </div>
141
141
  <script src="../../prettify.js"></script>
@@ -96,7 +96,7 @@ import multiselectScript from './fractal-scripts/multiselect';
96
96
  <div class='footer quiet pad2 space-top1 center small'>
97
97
  Code coverage generated by
98
98
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
99
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
99
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
100
100
  </div>
101
101
  </div>
102
102
  <script src="../prettify.js"></script>
@@ -72,7 +72,7 @@ import './polyfills/remove';
72
72
  <div class='footer quiet pad2 space-top1 center small'>
73
73
  Code coverage generated by
74
74
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
75
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
75
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
76
76
  </div>
77
77
  </div>
78
78
  <script src="../prettify.js"></script>
@@ -132,7 +132,7 @@ import MultiSelect from '../components/inputs/multi-select/vue-components/MultiS
132
132
  <div class='footer quiet pad2 space-top1 center small'>
133
133
  Code coverage generated by
134
134
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
135
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
135
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
136
136
  </div>
137
137
  </div>
138
138
  <script src="../prettify.js"></script>
@@ -154,7 +154,7 @@
154
154
  <div class='footer quiet pad2 space-top1 center small'>
155
155
  Code coverage generated by
156
156
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
157
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
157
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
158
158
  </div>
159
159
  </div>
160
160
  <script src="../prettify.js"></script>
@@ -126,7 +126,7 @@ import modals from '../components/modal/modal';
126
126
  <div class='footer quiet pad2 space-top1 center small'>
127
127
  Code coverage generated by
128
128
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
129
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
129
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
130
130
  </div>
131
131
  </div>
132
132
  <script src="../prettify.js"></script>
@@ -111,7 +111,7 @@
111
111
  <div class='footer quiet pad2 space-top1 center small'>
112
112
  Code coverage generated by
113
113
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
114
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
114
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
115
115
  </div>
116
116
  </div>
117
117
  <script src="../../prettify.js"></script>
@@ -109,7 +109,7 @@
109
109
  <div class='footer quiet pad2 space-top1 center small'>
110
110
  Code coverage generated by
111
111
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
112
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
112
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
113
113
  </div>
114
114
  </div>
115
115
  <script src="../../prettify.js"></script>
@@ -84,7 +84,7 @@
84
84
  <div class='footer quiet pad2 space-top1 center small'>
85
85
  Code coverage generated by
86
86
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
87
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
87
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
88
88
  </div>
89
89
  </div>
90
90
  <script src="../../prettify.js"></script>
@@ -552,7 +552,7 @@ const config = <span class="cstat-no" title="statement not covered" >{</span>
552
552
  <div class='footer quiet pad2 space-top1 center small'>
553
553
  Code coverage generated by
554
554
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
555
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
555
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
556
556
  </div>
557
557
  </div>
558
558
  <script src="../prettify.js"></script>
@@ -94,7 +94,7 @@
94
94
  <div class='footer quiet pad2 space-top1 center small'>
95
95
  Code coverage generated by
96
96
  <a href="https://istanbul.js.org/" target="_blank">istanbul</a>
97
- at Tue Apr 21 2020 17:26:28 GMT+0100 (British Summer Time)
97
+ at Thu Apr 23 2020 12:36:28 GMT+0100 (British Summer Time)
98
98
  </div>
99
99
  </div>
100
100
  <script src="../prettify.js"></script>
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 21 Apr 2020 16:26:52 GMT
3
+ * Generated on Thu, 23 Apr 2020 11:36:52 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 21 Apr 2020 16:26:52 GMT
3
+ * Generated on Thu, 23 Apr 2020 11:36:52 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,7 +1,7 @@
1
1
 
2
2
  /*
3
3
  Do not edit directly
4
- Generated on Tue, 21 Apr 2020 16:26:52 GMT
4
+ Generated on Thu, 23 Apr 2020 11:36:52 GMT
5
5
  */
6
6
 
7
7
  $mds-color-brand-1-light: #2990e0 !default;
@@ -1 +1 @@
1
- [{"name":"check"},{"name":"chevron-down"},{"name":"chevron-left"},{"name":"chevron-right"},{"name":"chevron-up"},{"name":"cross"},{"name":"doc-pdf"},{"name":"doc"},{"name":"email"},{"name":"job"},{"name":"location-pin"},{"name":"menu"},{"name":"question-mark"},{"name":"search"},{"name":"social-linkedin"},{"name":"social-twitter"},{"name":"social-facebook"},{"name":"spinner"},{"name":"star-fill"},{"name":"star-outline"},{"name":"user"}]
1
+ [{"name":"check"},{"name":"chevron-down"},{"name":"chevron-left"},{"name":"chevron-right"},{"name":"chevron-up"},{"name":"cross"},{"name":"doc-pdf"},{"name":"doc"},{"name":"email"},{"name":"job"},{"name":"location-pin"},{"name":"menu"},{"name":"question-mark"},{"name":"search"},{"name":"social-facebook"},{"name":"social-linkedin"},{"name":"social-twitter"},{"name":"spinner"},{"name":"star-fill"},{"name":"star-outline"},{"name":"user"}]
package/dist/js/index.js CHANGED
@@ -44,4 +44,4 @@ var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typ
44
44
  * (c) 2019 Karol Fabjańczuk
45
45
  * @license MIT
46
46
  */
47
- Object.setPrototypeOf=Object.setPrototypeOf||o;o.bind(Object);var i="undefined"!=typeof Symbol&&"undefined"!=typeof Reflect&&"undefined"!=typeof Proxy&&!Object.isSealed(Proxy),a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(){return Reflect.construct(HTMLElement,[],this.__proto__.constructor)}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"!=typeof customElements){if(i){var n=function(e){function n(e){s(this,n);var t=c(this,(n.__proto__||Object.getPrototypeOf(n)).call(this)),r=e?HTMLElement.call(e):t;return o.call(r),c(t,r)}return u(n,e),a(n,null,[{key:"observedAttributes",get:function(){return t.observedAttributes||[]}}]),n}(l);return n.prototype.connectedCallback=f,n.prototype.disconnectedCallback=d,n.prototype.attributeChangedCallback=p,v(e,n),n}var r=function(e){var t=e?HTMLElement.call(e):this;return o.call(t),t};return r.observedAttributes=t.observedAttributes||[],r.prototype=Object.create(HTMLElement.prototype,{constructor:{configurable:!0,writable:!0,value:r}}),r.prototype.connectedCallback=f,r.prototype.disconnectedCallback=d,r.prototype.attributeChangedCallback=p,v(e,r),r}function o(){!0===t.shadow&&HTMLElement.prototype.attachShadow&&this.attachShadow({mode:"open"}),"function"==typeof t.constructorCallback&&t.constructorCallback.call(this)}function f(){"function"==typeof t.connectedCallback&&t.connectedCallback.call(this)}function d(){"function"==typeof t.disconnectedCallback&&t.disconnectedCallback.call(this)}function p(e,n,r){"function"==typeof t.attributeChangedCallback&&t.attributeChangedCallback.call(this,e,n,r)}function v(e,t){var n=customElements.get(e);return void 0!==n?n:customElements.define(e,t)}}Object.setPrototypeOf(l.prototype,HTMLElement.prototype),Object.setPrototypeOf(l,HTMLElement);var d=/-(\w)/g,p=function(e){return e.replace(d,(function(e,t){return t?t.toUpperCase():""}))},v=/([^-])([A-Z])/g,h=function(e){return e.replace(v,"$1-$2").replace(v,"$1-$2").toLowerCase()};function m(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}var y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function g(e,t){if(null==e)return t!==Boolean&&void 0;var n=e,r=["true","false"].indexOf(e)>-1,o=parseFloat(n,10),i=!isNaN(o)&&isFinite(n)&&"string"==typeof n&&!n.match(/^0+[^.]\d*$/g);return t&&t!==Boolean&&(void 0===n?"undefined":y(n))!==t?n=t(e):r||t===Boolean?n=""===n||"true"===n:i&&(n=o),n}function b(e,t){if(e&&e.length)e.forEach((function(e){var n=p(e);-1===t.camelCase.indexOf(n)&&t.camelCase.push(n)}));else if(e&&"object"===(void 0===e?"undefined":y(e)))for(var n in e){var r=p(n);-1===t.camelCase.indexOf(r)&&t.camelCase.push(r),e[r]&&e[r].type&&(t.types[n]=[].concat(e[r].type)[0])}}function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={camelCase:[],hyphenate:[],types:{}};if(e.mixins&&e.mixins.forEach((function(e){b(e.props,t)})),e.extends&&e.extends.props){var n=e.extends.props;b(n,t)}return b(e.props,t),t.camelCase.forEach((function(e){t.hyphenate.push(h(e))})),t}function w(e){var t={};return m(e.attributes).forEach((function(e){t["vue-slot"===e.nodeName?"slot":e.nodeName]=e.nodeValue})),t}function x(e,t,n){var r=m(function(e){if(e.childNodes.length)return e.childNodes;if(e.content&&e.content.childNodes&&e.content.childNodes.length)return e.content.childNodes;var t=document.createElement("div");return t.innerHTML=e.innerHTML,t.childNodes}(t)).map((function(t){return"#text"===t.nodeName?t.nodeValue:e(t.tagName,{attrs:w(t),domProps:{innerHTML:t.innerHTML}})}));return n.slot=t.id,e("template",n,r)}function E(e,t){var n={bubbles:!1,cancelable:!1,detail:t},r=void 0;return"function"==typeof window.CustomEvent?r=new CustomEvent(e,n):(r=document.createEvent("CustomEvent")).initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r}function A(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=E(t,[].concat(r));e.dispatchEvent(i)}function C(e,t,n,r,o){if(!e.__vue_custom_element__){var i=t.util.extend({},n),a=function(e,t,n){var r=t.propsData||{};return n.hyphenate.forEach((function(t,o){var i=n.camelCase[o],a=e.attributes[t]||e[i],s=null;n.types[i]&&(s=n.types[i]),a instanceof Attr?r[i]=g(a.value,s):void 0!==a&&(r[i]=a)})),r}(e,i,r),s=t.version&&parseInt(t.version.split(".")[0],10)||0;if(i.beforeCreate=[].concat(i.beforeCreate||[],(function(){this.$emit=function(){for(var t,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];A.apply(void 0,[e].concat(r)),this.__proto__&&(t=this.__proto__.$emit).call.apply(t,[this].concat(r))}})),i._compiled){var c={},u=i._Ctor;u&&(c=Object.keys(u).map((function(e){return u[e]}))[0].options),c.beforeCreate=i.beforeCreate}var l=void 0;if(s>=2){var f=e.cloneNode(!0).childNodes;l={propsData:a,props:r.camelCase,computed:{reactiveProps:function(){var e=this,t={};return r.camelCase.forEach((function(n){void 0!==e[n]&&(t[n]=e[n])})),t}},render:function(e){var t={props:this.reactiveProps};return e(i,t,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=[];return m(e).forEach((function(e){if("#text"===e.nodeName)e.nodeValue.trim()&&n.push(t("span",e.nodeValue));else if("#comment"!==e.nodeName){var r=w(e),o={attrs:r,domProps:{innerHTML:""===e.innerHTML?e.innerText:e.innerHTML}};r.slot&&(o.slot=r.slot,r.slot=void 0);var i="TEMPLATE"===e.tagName?x(t,e,o):t(e.tagName,o);n.push(i)}})),n}(f,e))}}}else if(1===s)(l=i).propsData=a;else{l=i;var d={};Object.keys(a).forEach((function(e){d[e]={default:a[e]}})),l.props=d}var p=s>=2?"<div></div>":("<div>"+e.innerHTML+"</div>").replace(/vue-slot=/g,"slot=");if(o.shadow&&e.shadowRoot?(e.shadowRoot.innerHTML=p,l.el=e.shadowRoot.children[0]):(e.innerHTML=p,l.el=e.children[0]),function(e,t){t.camelCase.forEach((function(n,r){Object.defineProperty(e,n,{get:function(){return this.__vue_custom_element__[n]},set:function(e){if("object"!==(void 0===e?"undefined":y(e))&&"function"!=typeof e||!this.__vue_custom_element__){var n=t.types[t.camelCase[r]];this.setAttribute(t.hyphenate[r],g(e,n))}else{var o=t.camelCase[r];this.__vue_custom_element__[o]=e}}})}))}(e,r),"function"==typeof o.beforeCreateVueInstance&&(l=o.beforeCreateVueInstance(l)||l),e.__vue_custom_element__=new t(l),e.__vue_custom_element_props__=r,e.getVueInstance=function(){var t=e.__vue_custom_element__;return t.$children.length?t.$children[0]:t},o.shadow&&o.shadowCss&&e.shadowRoot){var v=document.createElement("style");v.type="text/css",v.appendChild(document.createTextNode(o.shadowCss)),e.shadowRoot.appendChild(v)}e.removeAttribute("vce-cloak"),e.setAttribute("vce-ready",""),A(e,"vce-ready")}}function O(e){e.customElement=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o="function"==typeof n,i=o&&{props:r.props||[]},a=_(o?i:n),s=f(t,{constructorCallback:function(){"function"==typeof r.constructorCallback&&r.constructorCallback.call(this)},connectedCallback:function(){var i=this,s=o&&n(),c=s&&s.then&&"function"==typeof s.then;if("function"==typeof r.connectedCallback&&r.connectedCallback.call(this),o&&!c)throw new Error("Async component "+t+" do not returns Promise");this.__detached__||(c?s.then((function(t){var n=_(t);C(i,e,t,n,r),"function"==typeof r.vueInstanceCreatedCallback&&r.vueInstanceCreatedCallback.call(i)})):(C(this,e,n,a,r),"function"==typeof r.vueInstanceCreatedCallback&&r.vueInstanceCreatedCallback.call(this))),this.__detached__=!1},disconnectedCallback:function(){var e=this;this.__detached__=!0,"function"==typeof r.disconnectedCallback&&r.disconnectedCallback.call(this),null!==r.destroyTimeout&&setTimeout((function(){e.__detached__&&e.__vue_custom_element__&&(e.__detached__=!1,e.__vue_custom_element__.$destroy(!0),delete e.__vue_custom_element__,delete e.__vue_custom_element_props__)}),r.destroyTimeout||3e3)},attributeChangedCallback:function(e,t,n){if(this.__vue_custom_element__&&void 0!==n){var o=p(e);"function"==typeof r.attributeChangedCallback&&r.attributeChangedCallback.call(this,e,t,n);var i=this.__vue_custom_element_props__.types[o];this.__vue_custom_element__[o]=g(n,i)}},observedAttributes:a.hyphenate,shadow:!!r.shadow&&!!HTMLElement.prototype.attachShadow});return s}}"undefined"!=typeof window&&window.Vue&&(window.Vue.use(O),O.installed&&(O.installed=!1));var T=O,S=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"mds-combobox",class:{"mds-combobox--active":!e.listBoxHidden},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:e.hiddenGuard(e.onKeyDown)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:e.hiddenGuard(e.onKeyUp)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"home",void 0,t.key,void 0)?null:e.hiddenGuard(e.onKeyHome)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"end",void 0,t.key,void 0)?null:e.hiddenGuard(e.onKeyEnd)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.makeInactive(t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.chooseOption(t)}]}},[n("ComboboxInput",{attrs:{id:e.comboboxid,name:e.name,placeholder:e.placeholder,"aria-labelledby":e.labelId,"aria-owns":e.listBoxId,"aria-expanded":e.expanded,activeDescendent:e.selectedOptionId},on:{focus:e.makeActive,blur:e.onInputBlur},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}}),e._v(" "),n("ListBox",{attrs:{id:e.listBoxId,"aria-labelledby":e.labelId,hidden:e.listBoxHidden}},[e._l(e.visibleOptions,(function(t,r){return n("ListBoxOption",{key:r,attrs:{option:t,id:e.optionId+"-"+r,focused:e.selectedOption===t},on:{mousedown:function(n){return e.clickOption(t)}}})}))],2),e._v(" "),n("div",{staticClass:"mds-visually-hidden",attrs:{"aria-live":"polite",role:"status"}},[e._v("\n "+e._s(e.resultCount)+"\n ")])],1)};S._withStripped=!0;n(112),n(113),n(114),n(116),n(117);var k=n(20),L=n.n(k),M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{role:"presentation"}},[n("input",e._b({staticClass:"mds-form-control",attrs:{autocomplete:"off",type:"text",role:"combobox","aria-autocomplete":"list","aria-activedescendant":e.activeDescendent},domProps:{value:e.value},on:{input:function(t){return e.$emit("input",t)},focus:function(t){return e.$emit("focus",t)},blur:function(t){return e.$emit("blur",t)}}},"input",e.$attrs,!1))])};function $(e,t,n,r,o,i,a,s){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}M._withStripped=!0;var I=$({name:"ComboboxInput",props:{value:{type:String,default:""},activeDescendent:{type:[String,Boolean],default:!1}},inheritAttrs:!1},M,[],!1,null,null,null);I.options.__file="src/components/inputs/combobox/vue-components/ComboboxInput.vue";var j=I.exports,N=function(){var e=this.$createElement;return(this._self._c||e)("ul",{staticClass:"mds-combobox__listbox",attrs:{role:"listbox",hidden:this.hidden}},[this._t("default")],2)};N._withStripped=!0;var P=$({name:"ListBox",props:{hidden:{type:Boolean,default:!0}}},N,[],!1,null,null,null);P.options.__file="src/components/inputs/combobox/vue-components/ListBox.vue";var H=P.exports,D=function(){var e=this,t=e.$createElement;return(e._self._c||t)("li",{staticClass:"mds-combobox__option",class:{"mds-combobox__option--focused":e.focused},attrs:{role:"option","aria-selected":e.focused.toString()},on:{mousedown:function(t){return e.$emit("mousedown",t)}}},[e._v("\n "+e._s(e.option.label)+"\n")])};D._withStripped=!0;var F=$({name:"ListBoxOption",props:{option:{type:Object,required:!0},focused:{type:Boolean,default:!1}}},D,[],!1,null,null,null);F.options.__file="src/components/inputs/combobox/vue-components/ListBoxOption.vue";var R=$({name:"Combobox",components:{ComboboxInput:j,ListBox:H,ListBoxOption:F.exports},props:{comboboxid:{type:String,required:!0},placeholder:{type:String,default:"Please combobox"},resultmessage:{type:[String,Function],default:"options available"},name:{type:[String,Boolean],default:!1},options:{type:Array,default:function(){return[]}},filterOptions:{type:Boolean,default:!0}},data:function(){return{expanded:"false",selected:null,chosen:null,searchValue:""}},computed:{inputValue:{get:function(){return this.chosenOption?this.chosenOption.label:this.searchValue},set:function(e){this.chosenOption=null,this.searchValue=e.target?e.target.value:"",this.makeActive(),this.$emit("search",this.searchValue)}},selectedOption:{get:function(){return this.selected},set:function(e){this.selected=e}},chosenOption:{get:function(){return this.chosen},set:function(e){this.chosen=e,this.selectedOption=e,this.$emit("select-option",this.chosen)}},visibleOptions:function(){var e=this;return this.filterOptions?this.options.filter((function(t){return t.label.toLowerCase().includes(e.searchValue.toLowerCase())})):this.options},labelId:function(){return"".concat(this.comboboxid,"-label")},listBoxId:function(){return"".concat(this.comboboxid,"-listbox")},optionId:function(){return"".concat(this.comboboxid,"-option")},selectedOptionId:function(){var e=this.visibleOptions.indexOf(this.selectedOption);return e>-1&&"".concat(this.optionId,"-").concat(e)},listBoxHidden:function(){return"false"===this.expanded||0===this.visibleOptions.length},lastOptionIndex:function(){return this.visibleOptions.length-1},resultCount:function(){return"function"==typeof this.resultmessage?this.resultmessage(this.visibleOptions.length):"".concat(this.visibleOptions.length," ").concat(this.resultmessage)}},methods:{makeActive:function(){this.expanded="true"},makeInactive:function(){this.expanded="false"},clickOption:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.selectedOption;this.chosenOption=e,this.makeInactive()},chooseOption:function(){this.chosenOption=this.selectedOption,this.makeInactive()},hiddenGuard:function(e){this.listBoxHidden||e.call(this)},onInputBlur:function(){this.makeInactive()},onKeyDown:function(){if(this.selectedOption){var e=this.visibleOptions.indexOf(this.selectedOption),t=e===this.lastOptionIndex?0:e+1;this.selectedOption=this.visibleOptions[t]}else{var n=L()(this.visibleOptions,1);this.selectedOption=n[0]}},onKeyUp:function(){if(this.selectedOption){var e=this.visibleOptions.indexOf(this.selectedOption),t=0===e?this.lastOptionIndex:e-1;this.selectedOption=this.visibleOptions[t]}else this.selectedOption=this.visibleOptions[this.lastOptionIndex]},onKeyHome:function(){var e=L()(this.visibleOptions,1);this.selectedOption=e[0]},onKeyEnd:function(){this.selectedOption=this.visibleOptions[this.lastOptionIndex]}}},S,[],!1,null,null,null);R.options.__file="src/components/inputs/combobox/vue-components/Combobox.vue";var B=R.exports,V=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"mds-multiselect",attrs:{"data-multiselect-id":this.name}},[t("MultiSelectCheckboxGroup",{attrs:{name:this.name,options:this.availableOptions,testId:this.name+"-group"}})],1)};V._withStripped=!0;var U=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.options?n("div",{directives:[{name:"show",rawName:"v-show",value:e.isExpanded,expression:"isExpanded"}],staticClass:"mds-multiselect__checkbox-group",class:{"mds-multiselect__checkbox-group--nested":e.nested},attrs:{"data-multiselect-id":e.testId+"-group"}},e._l(e.options,(function(t){return n("MultiSelectCheckbox",{key:t.id,attrs:{id:t.id,name:t.name,value:t.value,label:t.label},on:{expandChild:e.toggleExpand}},[t.children?n("MultiSelectCheckboxGroup",{ref:t.id+"-group",refInFor:!0,attrs:{name:e.name,testId:e.name+"-"+t.id,options:t.children,nested:!0,startExpanded:!1,childOf:t.id}}):e._e()],1)})),1):e._e()};U._withStripped=!0;var q=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"mds-multiselect__checkbox",attrs:{"data-multiselect-id":e.name+"-checkbox"}},[n("input",{attrs:{type:"checkbox",name:e.name,id:e.id},domProps:{value:e.value,checked:!!e.checked}}),n("label",{attrs:{for:e.id},on:{click:function(t){e.checked=!e.checked}}},[e._v(e._s(e.label))]),this.$slots.default?n("button",{ref:e.id+"-trigger",staticClass:"mds-button mds-button--plain mds-padding-b0",attrs:{"aria-expanded":e.isShowing?"true":"false"},on:{click:function(t){return e.toggleExpansion()},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])?null:"button"in t&&2!==t.button?null:e.toggleExpansion()},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:"button"in t&&0!==t.button?null:e.toggleExpansion()}]}},[n("svg",{staticClass:"mds-icon mds-icon--chevron-right mds-icon--after mds-icon--sm mds-animate-transform-fast",class:e.isShowing?" mds-rotate-cw-90":"",attrs:{"aria-hidden":"true",focusable:"true"}},[n("use",{attrs:{href:"/assets/icons.svg#chevron-right"}})])]):e._e(),e._v(" "),e._t("default")],2)};q._withStripped=!0;n(124);var W=$({name:"MultiSelectCheckbox",props:{id:{type:String,required:!0},name:{type:String,required:!0},checked:{type:Boolean,default:!1},label:{type:String,required:!0},value:{type:[String,Number],required:!0}},data:function(){return{isShowing:!1}},methods:{toggleExpansion:function(){this.isShowing=!this.isShowing,this.$emit("expandChild",{state:this.isShowing,id:this.$props.id})}}},q,[],!1,null,null,null);W.options.__file="src/components/inputs/multi-select/vue-components/MultiSelectCheckbox.vue";var z=$({name:"MultiSelectCheckboxGroup",components:{MultiSelectCheckbox:W.exports},props:{startExpanded:{type:Boolean,default:!0},options:{type:Array,default:function(){return[]}},name:{type:String,default:""},nested:{type:Boolean,default:!1},testId:{type:String,required:!0}},data:function(){return{isExpanded:this.$props.startExpanded}},methods:{toggleExpand:function(e){this.$refs["".concat(e.id,"-group")][0].isExpanded=e.state}}},U,[],!1,null,null,null);z.options.__file="src/components/inputs/multi-select/vue-components/MultiSelectCheckboxGroup.vue";var G=$({name:"MultiSelect",components:{MultiSelectCheckboxGroup:z.exports},props:{name:{type:[String,Boolean],default:!1},optional:{type:Boolean,default:!1},options:{type:Array,default:function(){return[]}}},data:function(){return{selected:null,availableOptions:this.options}},watch:{options:function(e){this.availableOptions=e}}},V,[],!1,null,null,null);G.options.__file="src/components/inputs/multi-select/vue-components/MultiSelect.vue";var K=G.exports;r.a.use(T),r.a.config.devtools=!1,r.a.config.keyCodes.end=35,r.a.config.keyCodes.home=36,r.a.customElement("mds-combobox",B,{connectedCallback:function(){var e=this.parentElement.querySelector("input");e&&e.remove()}}),r.a.customElement("mds-multiselect",K)},function(e,t,n){"use strict";n.r(t);n(9),n(7),n(8),n(13);var r={switchToinverse:function(e){e.classList.remove("mds-switch-state--default"),e.classList.add("mds-switch-state--inverse")},switchTodefault:function(e){e.classList.remove("mds-switch-state--inverse"),e.classList.add("mds-switch-state--default")}},o={init:function(){Array.from(document.querySelectorAll(".js-mds-switch-state")).forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget;t.classList.contains("mds-switch-state--default")?r.switchToinverse(t):(t.classList.contains("mds-switch-state--inverse"),r.switchTodefault(t))}))}))}},i={init:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3e3,r=document,o=r.body;i.hide(o);var a=document.createElement("div");a.setAttribute("role","alert"),a.classList.add("mds-notification","mds-message","mds-message--".concat(t)),a.innerText=e,i.show(o,a),setTimeout(i.hide,n,o)},show:function(e,t){e.appendChild(t)},hide:function(e){Array.from(e.querySelectorAll(".".concat("mds-notification"))).forEach((function(e){e.parentNode.removeChild(e)}))}},a=i,s={init:function(){Array.from(document.querySelectorAll(".js-notification-example")).forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget,n=t.innerText,r=t.dataset.messageType;a.init(n,r)}))}))}},c=(n(133),n(77),n(134),n(136),n(20)),u=n.n(c);var l={init:function(){!function(){var e=document.querySelector('[data-combobox-id="distance-selection"]');if(e){var t=document.getElementById("select-distance-selection"),n=Array.from(t.querySelectorAll("option")),r=e.querySelector("mds-combobox");r.options=n.slice(1).map((function(e){return{value:e.value,label:e.textContent}})),r.addEventListener("select-option",(function(e){var n=u()(e.detail,1)[0];n&&(t.value=n.value,t.querySelector('option[value="'.concat(n.value,'"]')).setAttribute("selected",!0))}))}}(),function(){var e=document.querySelector('[data-combobox-id="keywords-lookup"]');if(e){var t=e.querySelector("mds-combobox");t.filterOptions=!1,t.addEventListener("search",(function(e){var n=u()(e.detail,1)[0];n?fetch("https://api.datamuse.com/sug?s=".concat(n)).then((function(e){return e.json()})).then((function(e){var n=e.map((function(e){var t=e.word;return{value:t,label:t}}));return t.options=n,n})).catch(console.log):t.options=[]}))}}()}};n(147);function f(){Array.from(document.querySelectorAll(".js-mds-multiselect")).forEach((function(e){e.querySelector("mds-multiselect").options=function e(t){var n=[];return t.querySelectorAll(":scope > .mds-multiselect__checkbox").forEach((function(t,r){var o="null";3===t.childElementCount&&(o=t.querySelector(".mds-multiselect__checkbox-group"));var i=t.querySelector("input"),a=t.querySelector("label");n["".concat(r)]={id:i.id,name:i.name,value:i.value,label:a.innerText,checked:i.checked,children:"null"!==o?e(o):null}})),n}(e.querySelector(".mds-multiselect__checkbox-group"))}))}var d={init:function(){f()}};document.addEventListener("DOMContentLoaded",(function(){o.init(),s.init(),l.init(),d.init()}))},function(e,t,n){"use strict";n.r(t);n(9),n(7),n(8),n(75),n(13);window.addEventListener("hashchange",(function(){var e=window.location.hash.trim();Array.from(document.querySelectorAll("a[href='".concat(e,"']"))).forEach((function(e){e.click()}))}),!1);var r,o=37,i=39,a=38,s=40,c={init:function(){var e=Array.from(document.querySelectorAll(".".concat("mds-tabs__list"))),t=Array.from(document.querySelectorAll(".".concat("mds-tabs__list-item"))),n=Array.from(document.querySelectorAll(".".concat("mds-tabs__tab"))),r=Array.from(document.querySelectorAll(".".concat("mds-tabs__panel")));e.forEach((function(e){e.setAttribute("role","tablist")})),t.forEach((function(e){e.setAttribute("role","presentation")})),n.forEach((function(e){e.setAttribute("role","tab"),e.setAttribute("aria-controls",e.attributes.href.value.substring(1)),e.classList.contains("mds-tabs__tab--selected")?e.setAttribute("tabindex","0"):e.setAttribute("tabindex","-1")})),r.forEach((function(e){e.setAttribute("role","tabpanel"),e.setAttribute("aria-labelledby",e.attributes.id.value)}));var u=document.querySelectorAll(".".concat("js-tabs-item"));Array.from(u).forEach((function(e){var t=window.location.hash.trim(),n=e.attributes.href.value,r=e.closest(".".concat("mds-tabs")),o=c.getAllPanels(r),i=c.getAllTabs(r),a=c.getTargetPanel(e,r);e.addEventListener("click",(function(t){t.preventDefault(),c.updateTabs(i,o,e,a,n)})),n===t&&c.updateTabs(i,o,e,a,n)})),e.forEach((function(e){var t=e.closest(".".concat("mds-tabs")),n=c.getAllPanels(t),r=c.getAllTabs(t);e.addEventListener("keydown",(function(u){switch(u.keyCode){case o:case a:u.preventDefault(),c.moveTab(e,t,r,n,!1);break;case i:case s:u.preventDefault(),c.moveTab(e,t,r,n,!0)}}))}))},getSelectedTab:function(e){return e.querySelector(".".concat("mds-tabs__tab--selected"))},getPrevTab:function(e){return!!e.parentElement.previousSibling&&e.parentElement.previousSibling.querySelector(".".concat("mds-tabs__tab"))},getNextTab:function(e){return!!e.parentElement.nextSibling&&e.parentElement.nextSibling.querySelector(".".concat("mds-tabs__tab"))},getTargetPanel:function(e,t){var n=e.attributes.href.value;return t.querySelector(n)},getAllPanels:function(e){return Array.from(e.querySelectorAll(".".concat("mds-tabs__panel")))},getAllTabs:function(e){return Array.from(e.querySelectorAll(".".concat("mds-tabs__tab")))},moveTab:function(e,t,n,r,o){var i=c.getSelectedTab(e),a=o?c.getNextTab(i):c.getPrevTab(i);if(a){var s=a.attributes.href.value,u=c.getTargetPanel(a,t);c.updateTabs(n,r,a,u,s,!1)}},updateTabs:function(e,t,n,r,o){c.clearAllTabs(e),c.setActiveTab(n),c.clearAllPanels(t),c.setActivePanel(r,o)},clearAllTabs:function(e){e.forEach((function(e){e.classList.remove("mds-tabs__tab--selected"),e.setAttribute("aria-selected","false"),e.setAttribute("tabindex","-1")}))},clearAllPanels:function(e){e.forEach((function(e){e.classList.add("mds-tabs__panel--hidden")}))},setActiveTab:function(e){e.classList.add("mds-tabs__tab--selected"),e.setAttribute("aria-selected","true"),e.setAttribute("tabindex","0"),e.focus()},setActivePanel:function(e,t){e.classList.remove("mds-tabs__panel--hidden"),window.history.replaceState({},"",t)}},u=c,l=(n(100),n(76),n(104),{init:function(){var e=Array.from(document.querySelectorAll(".".concat("mds-accordion"))),t=window.innerWidth;e.forEach((function(e){l.checkBreakpoint(e,t)?l.setAccordion(e):e.classList.add("mds-accordion--expanded")}))},checkBreakpoint:function(e,t){var n=0;if(e.dataset.bp){var r,o=e.dataset.bp.replace(/\D/g,"");switch(e.dataset.bp.replace(/[0-9]/g,"")){case"px":n=o;break;case"em":case"rem":r=window.getComputedStyle(document.querySelector("body"))["font-size"],n=o*parseFloat(r);break;default:return!0}return!(t>n)}return!0},setAccordion:function(e){var t=e.id,n=e.querySelector(".".concat("mds-accordion__trigger")),r=e.querySelector(".".concat("mds-accordion__content")),o=l.createButton(t,e);n.classList.remove("mds-display-none"),r.setAttribute("aria-labelledby","accordion-trigger-".concat(t)),n.innerHTML="",n.appendChild(o),o.addEventListener("click",(function(e){e.preventDefault(),l.toggleExpand(o)}))},createButton:function(e,t){var n=t.querySelector(".".concat("mds-accordion__trigger"," > span")),r=document.createElement("button");return r.className="mds-accordion__trigger-button",r.classList.add("mds-button","mds-button--plain","mds-padding-b0"),r.setAttribute("id","accordion-trigger-".concat(e)),r.setAttribute("aria-expanded",!1),r.setAttribute("aria-controls","accordion-content-".concat(e)),r.append(n),r},switchLabel:function(e){var t=e;if(t.dataset.labelinverse){var n=t.textContent;t.textContent=t.dataset.labelinverse,t.setAttribute("data-labelinverse",n)}return t},toggleExpand:function(e){var t=e,n=e.querySelector(".".concat("mds-accordion__trigger-label")),r=t.closest(".".concat("mds-accordion"));"false"===t.getAttribute("aria-expanded")?(t.setAttribute("aria-expanded",!0),r.classList.add("mds-accordion--expanded")):(t.setAttribute("aria-expanded",!1),r.classList.remove("mds-accordion--expanded")),l.switchLabel(n)}}),f=l,d=n(82),p={init:function(){Array.from(document.querySelectorAll(".".concat("js-mds-popover-trigger"))).forEach((function(e){var t=e.getAttribute("id"),n="".concat(t,"-content"),r=document.getElementById(n),o=r.dataset?r.dataset.placement:null,i=new d.a(e,r,{placement:o||"top-end"});e.setAttribute("aria-expanded","false"),r.setAttribute("aria-hidden","true"),e.addEventListener("click",(function(t){t.preventDefault(),i.update(),r.classList.toggle("mds-popover--active"),p.setAriaAttr(e,r,"mds-popover--active")})),document.addEventListener("mousedown",(function(t){p.hide(e,r,i,"mds-popover--active",t)})),document.addEventListener("keydown",(function(t){p.hide(e,r,i,"mds-popover--active",t)}))}))},hide:function(e,t,n,r,o){e.contains(o.target)||n.popper.contains(o.target)||!t.classList.contains(r)||(t.classList.remove(r),p.setAriaAttr(e,t,r))},setAriaAttr:function(e,t,n){t.classList.contains(n)?(e.setAttribute("aria-expanded","true"),t.removeAttribute("aria-hidden")):(e.setAttribute("aria-expanded","false"),t.setAttribute("aria-hidden","true"))}},v=p,h=(n(77),n(108),n(110)),m=parseInt(h.size.breakpoint.md.value,10),y={init:function(){window.innerWidth>m&&Array.from(document.querySelectorAll("[".concat("data-modal-id","]"))).forEach((function(e){var t=e.getAttribute("data-modal-id"),n=document.getElementById(t),o=Array.from(n.querySelectorAll(".".concat("js-mds-modal-close"))),i=n.getAttribute("data-site-container"),a=document.getElementById(i),s=n.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]'),c=(s=Array.prototype.slice.call(s))[0],u=s[s.length-1];e.addEventListener("click",(function(e){e.preventDefault(),y.open(n,c,a)})),n.addEventListener("click",(function(e){e.target===n&&y.close(n,r,a)})),n.addEventListener("keydown",(function(e){y.trapFocus(e,c,u),"Escape"!==e.key&&"Esc"!==e.key||y.close(n,r,a)})),o.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),y.close(n,r,a)}))}))}))},open:function(e,t,n){r=document.activeElement,e.classList.add("mds-modal--active"),t.focus(),n.setAttribute("aria-hidden","true")},close:function(e,t,n){n.removeAttribute("aria-hidden"),e.classList.remove("mds-modal--active"),t.focus()},trapFocus:function(e,t,n){"Tab"===e.key&&(e.shiftKey?document.activeElement===t&&(e.preventDefault(),n.focus()):document.activeElement===n&&(e.preventDefault(),t.focus()))}},g=y;document.addEventListener("DOMContentLoaded",(function(){u.init(),f.init(),v.init(),g.init()}))}]);
47
+ Object.setPrototypeOf=Object.setPrototypeOf||o;o.bind(Object);var i="undefined"!=typeof Symbol&&"undefined"!=typeof Reflect&&"undefined"!=typeof Proxy&&!Object.isSealed(Proxy),a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(){return Reflect.construct(HTMLElement,[],this.__proto__.constructor)}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"!=typeof customElements){if(i){var n=function(e){function n(e){s(this,n);var t=c(this,(n.__proto__||Object.getPrototypeOf(n)).call(this)),r=e?HTMLElement.call(e):t;return o.call(r),c(t,r)}return u(n,e),a(n,null,[{key:"observedAttributes",get:function(){return t.observedAttributes||[]}}]),n}(l);return n.prototype.connectedCallback=f,n.prototype.disconnectedCallback=d,n.prototype.attributeChangedCallback=p,v(e,n),n}var r=function(e){var t=e?HTMLElement.call(e):this;return o.call(t),t};return r.observedAttributes=t.observedAttributes||[],r.prototype=Object.create(HTMLElement.prototype,{constructor:{configurable:!0,writable:!0,value:r}}),r.prototype.connectedCallback=f,r.prototype.disconnectedCallback=d,r.prototype.attributeChangedCallback=p,v(e,r),r}function o(){!0===t.shadow&&HTMLElement.prototype.attachShadow&&this.attachShadow({mode:"open"}),"function"==typeof t.constructorCallback&&t.constructorCallback.call(this)}function f(){"function"==typeof t.connectedCallback&&t.connectedCallback.call(this)}function d(){"function"==typeof t.disconnectedCallback&&t.disconnectedCallback.call(this)}function p(e,n,r){"function"==typeof t.attributeChangedCallback&&t.attributeChangedCallback.call(this,e,n,r)}function v(e,t){var n=customElements.get(e);return void 0!==n?n:customElements.define(e,t)}}Object.setPrototypeOf(l.prototype,HTMLElement.prototype),Object.setPrototypeOf(l,HTMLElement);var d=/-(\w)/g,p=function(e){return e.replace(d,(function(e,t){return t?t.toUpperCase():""}))},v=/([^-])([A-Z])/g,h=function(e){return e.replace(v,"$1-$2").replace(v,"$1-$2").toLowerCase()};function m(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}var y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function g(e,t){if(null==e)return t!==Boolean&&void 0;var n=e,r=["true","false"].indexOf(e)>-1,o=parseFloat(n,10),i=!isNaN(o)&&isFinite(n)&&"string"==typeof n&&!n.match(/^0+[^.]\d*$/g);return t&&t!==Boolean&&(void 0===n?"undefined":y(n))!==t?n=t(e):r||t===Boolean?n=""===n||"true"===n:i&&(n=o),n}function b(e,t){if(e&&e.length)e.forEach((function(e){var n=p(e);-1===t.camelCase.indexOf(n)&&t.camelCase.push(n)}));else if(e&&"object"===(void 0===e?"undefined":y(e)))for(var n in e){var r=p(n);-1===t.camelCase.indexOf(r)&&t.camelCase.push(r),e[r]&&e[r].type&&(t.types[n]=[].concat(e[r].type)[0])}}function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={camelCase:[],hyphenate:[],types:{}};if(e.mixins&&e.mixins.forEach((function(e){b(e.props,t)})),e.extends&&e.extends.props){var n=e.extends.props;b(n,t)}return b(e.props,t),t.camelCase.forEach((function(e){t.hyphenate.push(h(e))})),t}function w(e){var t={};return m(e.attributes).forEach((function(e){t["vue-slot"===e.nodeName?"slot":e.nodeName]=e.nodeValue})),t}function x(e,t,n){var r=m(function(e){if(e.childNodes.length)return e.childNodes;if(e.content&&e.content.childNodes&&e.content.childNodes.length)return e.content.childNodes;var t=document.createElement("div");return t.innerHTML=e.innerHTML,t.childNodes}(t)).map((function(t){return"#text"===t.nodeName?t.nodeValue:e(t.tagName,{attrs:w(t),domProps:{innerHTML:t.innerHTML}})}));return n.slot=t.id,e("template",n,r)}function E(e,t){var n={bubbles:!1,cancelable:!1,detail:t},r=void 0;return"function"==typeof window.CustomEvent?r=new CustomEvent(e,n):(r=document.createEvent("CustomEvent")).initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r}function A(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=E(t,[].concat(r));e.dispatchEvent(i)}function C(e,t,n,r,o){if(!e.__vue_custom_element__){var i=t.util.extend({},n),a=function(e,t,n){var r=t.propsData||{};return n.hyphenate.forEach((function(t,o){var i=n.camelCase[o],a=e.attributes[t]||e[i],s=null;n.types[i]&&(s=n.types[i]),a instanceof Attr?r[i]=g(a.value,s):void 0!==a&&(r[i]=a)})),r}(e,i,r),s=t.version&&parseInt(t.version.split(".")[0],10)||0;if(i.beforeCreate=[].concat(i.beforeCreate||[],(function(){this.$emit=function(){for(var t,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];A.apply(void 0,[e].concat(r)),this.__proto__&&(t=this.__proto__.$emit).call.apply(t,[this].concat(r))}})),i._compiled){var c={},u=i._Ctor;u&&(c=Object.keys(u).map((function(e){return u[e]}))[0].options),c.beforeCreate=i.beforeCreate}var l=void 0;if(s>=2){var f=e.cloneNode(!0).childNodes;l={propsData:a,props:r.camelCase,computed:{reactiveProps:function(){var e=this,t={};return r.camelCase.forEach((function(n){void 0!==e[n]&&(t[n]=e[n])})),t}},render:function(e){var t={props:this.reactiveProps};return e(i,t,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=[];return m(e).forEach((function(e){if("#text"===e.nodeName)e.nodeValue.trim()&&n.push(t("span",e.nodeValue));else if("#comment"!==e.nodeName){var r=w(e),o={attrs:r,domProps:{innerHTML:""===e.innerHTML?e.innerText:e.innerHTML}};r.slot&&(o.slot=r.slot,r.slot=void 0);var i="TEMPLATE"===e.tagName?x(t,e,o):t(e.tagName,o);n.push(i)}})),n}(f,e))}}}else if(1===s)(l=i).propsData=a;else{l=i;var d={};Object.keys(a).forEach((function(e){d[e]={default:a[e]}})),l.props=d}var p=s>=2?"<div></div>":("<div>"+e.innerHTML+"</div>").replace(/vue-slot=/g,"slot=");if(o.shadow&&e.shadowRoot?(e.shadowRoot.innerHTML=p,l.el=e.shadowRoot.children[0]):(e.innerHTML=p,l.el=e.children[0]),function(e,t){t.camelCase.forEach((function(n,r){Object.defineProperty(e,n,{get:function(){return this.__vue_custom_element__[n]},set:function(e){if("object"!==(void 0===e?"undefined":y(e))&&"function"!=typeof e||!this.__vue_custom_element__){var n=t.types[t.camelCase[r]];this.setAttribute(t.hyphenate[r],g(e,n))}else{var o=t.camelCase[r];this.__vue_custom_element__[o]=e}}})}))}(e,r),"function"==typeof o.beforeCreateVueInstance&&(l=o.beforeCreateVueInstance(l)||l),e.__vue_custom_element__=new t(l),e.__vue_custom_element_props__=r,e.getVueInstance=function(){var t=e.__vue_custom_element__;return t.$children.length?t.$children[0]:t},o.shadow&&o.shadowCss&&e.shadowRoot){var v=document.createElement("style");v.type="text/css",v.appendChild(document.createTextNode(o.shadowCss)),e.shadowRoot.appendChild(v)}e.removeAttribute("vce-cloak"),e.setAttribute("vce-ready",""),A(e,"vce-ready")}}function O(e){e.customElement=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o="function"==typeof n,i=o&&{props:r.props||[]},a=_(o?i:n),s=f(t,{constructorCallback:function(){"function"==typeof r.constructorCallback&&r.constructorCallback.call(this)},connectedCallback:function(){var i=this,s=o&&n(),c=s&&s.then&&"function"==typeof s.then;if("function"==typeof r.connectedCallback&&r.connectedCallback.call(this),o&&!c)throw new Error("Async component "+t+" do not returns Promise");this.__detached__||(c?s.then((function(t){var n=_(t);C(i,e,t,n,r),"function"==typeof r.vueInstanceCreatedCallback&&r.vueInstanceCreatedCallback.call(i)})):(C(this,e,n,a,r),"function"==typeof r.vueInstanceCreatedCallback&&r.vueInstanceCreatedCallback.call(this))),this.__detached__=!1},disconnectedCallback:function(){var e=this;this.__detached__=!0,"function"==typeof r.disconnectedCallback&&r.disconnectedCallback.call(this),null!==r.destroyTimeout&&setTimeout((function(){e.__detached__&&e.__vue_custom_element__&&(e.__detached__=!1,e.__vue_custom_element__.$destroy(!0),delete e.__vue_custom_element__,delete e.__vue_custom_element_props__)}),r.destroyTimeout||3e3)},attributeChangedCallback:function(e,t,n){if(this.__vue_custom_element__&&void 0!==n){var o=p(e);"function"==typeof r.attributeChangedCallback&&r.attributeChangedCallback.call(this,e,t,n);var i=this.__vue_custom_element_props__.types[o];this.__vue_custom_element__[o]=g(n,i)}},observedAttributes:a.hyphenate,shadow:!!r.shadow&&!!HTMLElement.prototype.attachShadow});return s}}"undefined"!=typeof window&&window.Vue&&(window.Vue.use(O),O.installed&&(O.installed=!1));var T=O,S=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"mds-combobox",class:{"mds-combobox--active":!e.listBoxHidden},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:e.hiddenGuard(e.onKeyDown)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:e.hiddenGuard(e.onKeyUp)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"home",void 0,t.key,void 0)?null:e.hiddenGuard(e.onKeyHome)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"end",void 0,t.key,void 0)?null:e.hiddenGuard(e.onKeyEnd)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.makeInactive(t)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e.chooseOption(t))}]}},[n("ComboboxInput",{attrs:{id:e.comboboxid,name:e.name,placeholder:e.placeholder,"aria-labelledby":e.labelId,"aria-owns":e.listBoxId,"aria-expanded":e.expanded,activeDescendent:e.selectedOptionId},on:{focus:e.makeActive,blur:e.onInputBlur},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}}),e._v(" "),n("ListBox",{attrs:{id:e.listBoxId,"aria-labelledby":e.labelId,hidden:e.listBoxHidden}},[e._l(e.visibleOptions,(function(t,r){return n("ListBoxOption",{key:r,attrs:{option:t,id:e.optionId+"-"+r,focused:e.selectedOption===t},on:{mousedown:function(n){return e.clickOption(t)}}})}))],2),e._v(" "),n("div",{staticClass:"mds-visually-hidden",attrs:{"aria-live":"polite",role:"status"}},[e._v("\n "+e._s(e.resultCount)+"\n ")])],1)};S._withStripped=!0;n(112),n(113),n(114),n(116),n(117);var k=n(20),L=n.n(k),M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{role:"presentation"}},[n("input",e._b({staticClass:"mds-form-control",attrs:{autocomplete:"off",type:"text",role:"combobox","aria-autocomplete":"list","aria-activedescendant":e.activeDescendent},domProps:{value:e.value},on:{input:function(t){return e.$emit("input",t)},focus:function(t){return e.$emit("focus",t)},blur:function(t){return e.$emit("blur",t)}}},"input",e.$attrs,!1))])};function $(e,t,n,r,o,i,a,s){var c,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(e,t){return c.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:e,options:u}}M._withStripped=!0;var I=$({name:"ComboboxInput",props:{value:{type:String,default:""},activeDescendent:{type:[String,Boolean],default:!1}},inheritAttrs:!1},M,[],!1,null,null,null);I.options.__file="src/components/inputs/combobox/vue-components/ComboboxInput.vue";var j=I.exports,N=function(){var e=this.$createElement;return(this._self._c||e)("ul",{staticClass:"mds-combobox__listbox",attrs:{role:"listbox",hidden:this.hidden}},[this._t("default")],2)};N._withStripped=!0;var P=$({name:"ListBox",props:{hidden:{type:Boolean,default:!0}}},N,[],!1,null,null,null);P.options.__file="src/components/inputs/combobox/vue-components/ListBox.vue";var H=P.exports,D=function(){var e=this,t=e.$createElement;return(e._self._c||t)("li",{staticClass:"mds-combobox__option",class:{"mds-combobox__option--focused":e.focused},attrs:{role:"option","aria-selected":e.focused.toString()},on:{mousedown:function(t){return e.$emit("mousedown",t)}}},[e._v("\n "+e._s(e.option.label)+"\n")])};D._withStripped=!0;var F=$({name:"ListBoxOption",props:{option:{type:Object,required:!0},focused:{type:Boolean,default:!1}}},D,[],!1,null,null,null);F.options.__file="src/components/inputs/combobox/vue-components/ListBoxOption.vue";var R=$({name:"Combobox",components:{ComboboxInput:j,ListBox:H,ListBoxOption:F.exports},props:{comboboxid:{type:String,required:!0},placeholder:{type:String,default:"Please combobox"},resultmessage:{type:[String,Function],default:"options available"},name:{type:[String,Boolean],default:!1},options:{type:Array,default:function(){return[]}},filterOptions:{type:Boolean,default:!0}},data:function(){return{expanded:"false",selected:null,chosen:null,searchValue:""}},computed:{inputValue:{get:function(){return this.chosenOption?this.chosenOption.label:this.searchValue},set:function(e){this.chosenOption=null,this.searchValue=e.target?e.target.value:"",this.makeActive(),this.$emit("search",this.searchValue)}},selectedOption:{get:function(){return this.selected},set:function(e){this.selected=e}},chosenOption:{get:function(){return this.chosen},set:function(e){this.chosen=e,this.selectedOption=e,this.$emit("select-option",this.chosen)}},visibleOptions:function(){var e=this;return this.filterOptions?this.options.filter((function(t){return t.label.toLowerCase().includes(e.searchValue.toLowerCase())})):this.options},labelId:function(){return"".concat(this.comboboxid,"-label")},listBoxId:function(){return"".concat(this.comboboxid,"-listbox")},optionId:function(){return"".concat(this.comboboxid,"-option")},selectedOptionId:function(){var e=this.visibleOptions.indexOf(this.selectedOption);return e>-1&&"".concat(this.optionId,"-").concat(e)},listBoxHidden:function(){return"false"===this.expanded||0===this.visibleOptions.length},lastOptionIndex:function(){return this.visibleOptions.length-1},resultCount:function(){return"function"==typeof this.resultmessage?this.resultmessage(this.visibleOptions.length):"".concat(this.visibleOptions.length," ").concat(this.resultmessage)}},methods:{makeActive:function(){this.expanded="true"},makeInactive:function(){this.expanded="false"},clickOption:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.selectedOption;this.chosenOption=e,this.makeInactive()},chooseOption:function(){this.chosenOption=this.selectedOption,this.makeInactive()},hiddenGuard:function(e){this.listBoxHidden||e.call(this)},onInputBlur:function(){this.makeInactive()},onKeyDown:function(){if(this.selectedOption){var e=this.visibleOptions.indexOf(this.selectedOption),t=e===this.lastOptionIndex?0:e+1;this.selectedOption=this.visibleOptions[t]}else{var n=L()(this.visibleOptions,1);this.selectedOption=n[0]}},onKeyUp:function(){if(this.selectedOption){var e=this.visibleOptions.indexOf(this.selectedOption),t=0===e?this.lastOptionIndex:e-1;this.selectedOption=this.visibleOptions[t]}else this.selectedOption=this.visibleOptions[this.lastOptionIndex]},onKeyHome:function(){var e=L()(this.visibleOptions,1);this.selectedOption=e[0]},onKeyEnd:function(){this.selectedOption=this.visibleOptions[this.lastOptionIndex]}}},S,[],!1,null,null,null);R.options.__file="src/components/inputs/combobox/vue-components/Combobox.vue";var B=R.exports,V=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"mds-multiselect",attrs:{"data-multiselect-id":this.name}},[t("MultiSelectCheckboxGroup",{attrs:{name:this.name,options:this.availableOptions,testId:this.name+"-group"}})],1)};V._withStripped=!0;var U=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.options?n("div",{directives:[{name:"show",rawName:"v-show",value:e.isExpanded,expression:"isExpanded"}],staticClass:"mds-multiselect__checkbox-group",class:{"mds-multiselect__checkbox-group--nested":e.nested},attrs:{"data-multiselect-id":e.testId+"-group"}},e._l(e.options,(function(t){return n("MultiSelectCheckbox",{key:t.id,attrs:{id:t.id,name:t.name,value:t.value,label:t.label},on:{expandChild:e.toggleExpand}},[t.children?n("MultiSelectCheckboxGroup",{ref:t.id+"-group",refInFor:!0,attrs:{name:e.name,testId:e.name+"-"+t.id,options:t.children,nested:!0,startExpanded:!1,childOf:t.id}}):e._e()],1)})),1):e._e()};U._withStripped=!0;var q=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"mds-multiselect__checkbox",attrs:{"data-multiselect-id":e.name+"-checkbox"}},[n("input",{attrs:{type:"checkbox",name:e.name,id:e.id},domProps:{value:e.value,checked:!!e.checked}}),n("label",{attrs:{for:e.id},on:{click:function(t){e.checked=!e.checked}}},[e._v(e._s(e.label))]),this.$slots.default?n("button",{ref:e.id+"-trigger",staticClass:"mds-button mds-button--plain mds-padding-b0",attrs:{"aria-expanded":e.isShowing?"true":"false"},on:{click:function(t){return e.toggleExpansion()},keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])?null:"button"in t&&2!==t.button?null:e.toggleExpansion()},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])?null:"button"in t&&0!==t.button?null:e.toggleExpansion()}]}},[n("svg",{staticClass:"mds-icon mds-icon--chevron-right mds-icon--after mds-icon--sm mds-animate-transform-fast",class:e.isShowing?" mds-rotate-cw-90":"",attrs:{"aria-hidden":"true",focusable:"true"}},[n("use",{attrs:{href:"/assets/icons.svg#chevron-right"}})])]):e._e(),e._v(" "),e._t("default")],2)};q._withStripped=!0;n(124);var W=$({name:"MultiSelectCheckbox",props:{id:{type:String,required:!0},name:{type:String,required:!0},checked:{type:Boolean,default:!1},label:{type:String,required:!0},value:{type:[String,Number],required:!0}},data:function(){return{isShowing:!1}},methods:{toggleExpansion:function(){this.isShowing=!this.isShowing,this.$emit("expandChild",{state:this.isShowing,id:this.$props.id})}}},q,[],!1,null,null,null);W.options.__file="src/components/inputs/multi-select/vue-components/MultiSelectCheckbox.vue";var z=$({name:"MultiSelectCheckboxGroup",components:{MultiSelectCheckbox:W.exports},props:{startExpanded:{type:Boolean,default:!0},options:{type:Array,default:function(){return[]}},name:{type:String,default:""},nested:{type:Boolean,default:!1},testId:{type:String,required:!0}},data:function(){return{isExpanded:this.$props.startExpanded}},methods:{toggleExpand:function(e){this.$refs["".concat(e.id,"-group")][0].isExpanded=e.state}}},U,[],!1,null,null,null);z.options.__file="src/components/inputs/multi-select/vue-components/MultiSelectCheckboxGroup.vue";var G=$({name:"MultiSelect",components:{MultiSelectCheckboxGroup:z.exports},props:{name:{type:[String,Boolean],default:!1},optional:{type:Boolean,default:!1},options:{type:Array,default:function(){return[]}}},data:function(){return{selected:null,availableOptions:this.options}},watch:{options:function(e){this.availableOptions=e}}},V,[],!1,null,null,null);G.options.__file="src/components/inputs/multi-select/vue-components/MultiSelect.vue";var K=G.exports;r.a.use(T),r.a.config.devtools=!1,r.a.config.keyCodes.end=35,r.a.config.keyCodes.home=36,r.a.customElement("mds-combobox",B,{connectedCallback:function(){var e=this.parentElement.querySelector("input");e&&e.remove()}}),r.a.customElement("mds-multiselect",K)},function(e,t,n){"use strict";n.r(t);n(9),n(7),n(8),n(13);var r={switchToinverse:function(e){e.classList.remove("mds-switch-state--default"),e.classList.add("mds-switch-state--inverse")},switchTodefault:function(e){e.classList.remove("mds-switch-state--inverse"),e.classList.add("mds-switch-state--default")}},o={init:function(){Array.from(document.querySelectorAll(".js-mds-switch-state")).forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget;t.classList.contains("mds-switch-state--default")?r.switchToinverse(t):(t.classList.contains("mds-switch-state--inverse"),r.switchTodefault(t))}))}))}},i={init:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3e3,r=document,o=r.body;i.hide(o);var a=document.createElement("div");a.setAttribute("role","alert"),a.classList.add("mds-notification","mds-message","mds-message--".concat(t)),a.innerText=e,i.show(o,a),setTimeout(i.hide,n,o)},show:function(e,t){e.appendChild(t)},hide:function(e){Array.from(e.querySelectorAll(".".concat("mds-notification"))).forEach((function(e){e.parentNode.removeChild(e)}))}},a=i,s={init:function(){Array.from(document.querySelectorAll(".js-notification-example")).forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation();var t=e.currentTarget,n=t.innerText,r=t.dataset.messageType;a.init(n,r)}))}))}},c=(n(133),n(77),n(134),n(136),n(20)),u=n.n(c);var l={init:function(){!function(){var e=document.querySelector('[data-combobox-id="distance-selection"]');if(e){var t=document.getElementById("select-distance-selection"),n=Array.from(t.querySelectorAll("option")),r=e.querySelector("mds-combobox");r.options=n.slice(1).map((function(e){return{value:e.value,label:e.textContent}})),r.addEventListener("select-option",(function(e){var n=u()(e.detail,1)[0];n&&(t.value=n.value,t.querySelector('option[value="'.concat(n.value,'"]')).setAttribute("selected",!0))}))}}(),function(){var e=document.querySelector('[data-combobox-id="keywords-lookup"]');if(e){var t=e.querySelector("mds-combobox");t.filterOptions=!1,t.addEventListener("search",(function(e){var n=u()(e.detail,1)[0];n?fetch("https://api.datamuse.com/sug?s=".concat(n)).then((function(e){return e.json()})).then((function(e){var n=e.map((function(e){var t=e.word;return{value:t,label:t}}));return t.options=n,n})).catch(console.log):t.options=[]}))}}()}};n(147);function f(){Array.from(document.querySelectorAll(".js-mds-multiselect")).forEach((function(e){e.querySelector("mds-multiselect").options=function e(t){var n=[];return t.querySelectorAll(":scope > .mds-multiselect__checkbox").forEach((function(t,r){var o="null";3===t.childElementCount&&(o=t.querySelector(".mds-multiselect__checkbox-group"));var i=t.querySelector("input"),a=t.querySelector("label");n["".concat(r)]={id:i.id,name:i.name,value:i.value,label:a.innerText,checked:i.checked,children:"null"!==o?e(o):null}})),n}(e.querySelector(".mds-multiselect__checkbox-group"))}))}var d={init:function(){f()}};document.addEventListener("DOMContentLoaded",(function(){o.init(),s.init(),l.init(),d.init()}))},function(e,t,n){"use strict";n.r(t);n(9),n(7),n(8),n(75),n(13);window.addEventListener("hashchange",(function(){var e=window.location.hash.trim();Array.from(document.querySelectorAll("a[href='".concat(e,"']"))).forEach((function(e){e.click()}))}),!1);var r,o=37,i=39,a=38,s=40,c={init:function(){var e=Array.from(document.querySelectorAll(".".concat("mds-tabs__list"))),t=Array.from(document.querySelectorAll(".".concat("mds-tabs__list-item"))),n=Array.from(document.querySelectorAll(".".concat("mds-tabs__tab"))),r=Array.from(document.querySelectorAll(".".concat("mds-tabs__panel")));e.forEach((function(e){e.setAttribute("role","tablist")})),t.forEach((function(e){e.setAttribute("role","presentation")})),n.forEach((function(e){e.setAttribute("role","tab"),e.setAttribute("aria-controls",e.attributes.href.value.substring(1)),e.classList.contains("mds-tabs__tab--selected")?e.setAttribute("tabindex","0"):e.setAttribute("tabindex","-1")})),r.forEach((function(e){e.setAttribute("role","tabpanel"),e.setAttribute("aria-labelledby",e.attributes.id.value)}));var u=document.querySelectorAll(".".concat("js-tabs-item"));Array.from(u).forEach((function(e){var t=window.location.hash.trim(),n=e.attributes.href.value,r=e.closest(".".concat("mds-tabs")),o=c.getAllPanels(r),i=c.getAllTabs(r),a=c.getTargetPanel(e,r);e.addEventListener("click",(function(t){t.preventDefault(),c.updateTabs(i,o,e,a,n)})),n===t&&c.updateTabs(i,o,e,a,n)})),e.forEach((function(e){var t=e.closest(".".concat("mds-tabs")),n=c.getAllPanels(t),r=c.getAllTabs(t);e.addEventListener("keydown",(function(u){switch(u.keyCode){case o:case a:u.preventDefault(),c.moveTab(e,t,r,n,!1);break;case i:case s:u.preventDefault(),c.moveTab(e,t,r,n,!0)}}))}))},getSelectedTab:function(e){return e.querySelector(".".concat("mds-tabs__tab--selected"))},getPrevTab:function(e){return!!e.parentElement.previousSibling&&e.parentElement.previousSibling.querySelector(".".concat("mds-tabs__tab"))},getNextTab:function(e){return!!e.parentElement.nextSibling&&e.parentElement.nextSibling.querySelector(".".concat("mds-tabs__tab"))},getTargetPanel:function(e,t){var n=e.attributes.href.value;return t.querySelector(n)},getAllPanels:function(e){return Array.from(e.querySelectorAll(".".concat("mds-tabs__panel")))},getAllTabs:function(e){return Array.from(e.querySelectorAll(".".concat("mds-tabs__tab")))},moveTab:function(e,t,n,r,o){var i=c.getSelectedTab(e),a=o?c.getNextTab(i):c.getPrevTab(i);if(a){var s=a.attributes.href.value,u=c.getTargetPanel(a,t);c.updateTabs(n,r,a,u,s,!1)}},updateTabs:function(e,t,n,r,o){c.clearAllTabs(e),c.setActiveTab(n),c.clearAllPanels(t),c.setActivePanel(r,o)},clearAllTabs:function(e){e.forEach((function(e){e.classList.remove("mds-tabs__tab--selected"),e.setAttribute("aria-selected","false"),e.setAttribute("tabindex","-1")}))},clearAllPanels:function(e){e.forEach((function(e){e.classList.add("mds-tabs__panel--hidden")}))},setActiveTab:function(e){e.classList.add("mds-tabs__tab--selected"),e.setAttribute("aria-selected","true"),e.setAttribute("tabindex","0"),e.focus()},setActivePanel:function(e,t){e.classList.remove("mds-tabs__panel--hidden"),window.history.replaceState({},"",t)}},u=c,l=(n(100),n(76),n(104),{init:function(){var e=Array.from(document.querySelectorAll(".".concat("mds-accordion"))),t=window.innerWidth;e.forEach((function(e){l.checkBreakpoint(e,t)?l.setAccordion(e):e.classList.add("mds-accordion--expanded")}))},checkBreakpoint:function(e,t){var n=0;if(e.dataset.bp){var r,o=e.dataset.bp.replace(/\D/g,"");switch(e.dataset.bp.replace(/[0-9]/g,"")){case"px":n=o;break;case"em":case"rem":r=window.getComputedStyle(document.querySelector("body"))["font-size"],n=o*parseFloat(r);break;default:return!0}return!(t>n)}return!0},setAccordion:function(e){var t=e.id,n=e.querySelector(".".concat("mds-accordion__trigger")),r=e.querySelector(".".concat("mds-accordion__content")),o=l.createButton(t,e);n.classList.remove("mds-display-none"),r.setAttribute("aria-labelledby","accordion-trigger-".concat(t)),n.innerHTML="",n.appendChild(o),o.addEventListener("click",(function(e){e.preventDefault(),l.toggleExpand(o)}))},createButton:function(e,t){var n=t.querySelector(".".concat("mds-accordion__trigger"," > span")),r=document.createElement("button");return r.className="mds-accordion__trigger-button",r.classList.add("mds-button","mds-button--plain","mds-padding-b0"),r.setAttribute("id","accordion-trigger-".concat(e)),r.setAttribute("aria-expanded",!1),r.setAttribute("aria-controls","accordion-content-".concat(e)),r.append(n),r},switchLabel:function(e){var t=e;if(t.dataset.labelinverse){var n=t.textContent;t.textContent=t.dataset.labelinverse,t.setAttribute("data-labelinverse",n)}return t},toggleExpand:function(e){var t=e,n=e.querySelector(".".concat("mds-accordion__trigger-label")),r=t.closest(".".concat("mds-accordion"));"false"===t.getAttribute("aria-expanded")?(t.setAttribute("aria-expanded",!0),r.classList.add("mds-accordion--expanded")):(t.setAttribute("aria-expanded",!1),r.classList.remove("mds-accordion--expanded")),l.switchLabel(n)}}),f=l,d=n(82),p={init:function(){Array.from(document.querySelectorAll(".".concat("js-mds-popover-trigger"))).forEach((function(e){var t=e.getAttribute("id"),n="".concat(t,"-content"),r=document.getElementById(n),o=r.dataset?r.dataset.placement:null,i=new d.a(e,r,{placement:o||"top-end"});e.setAttribute("aria-expanded","false"),r.setAttribute("aria-hidden","true"),e.addEventListener("click",(function(t){t.preventDefault(),i.update(),r.classList.toggle("mds-popover--active"),p.setAriaAttr(e,r,"mds-popover--active")})),document.addEventListener("mousedown",(function(t){p.hide(e,r,i,"mds-popover--active",t)})),document.addEventListener("keydown",(function(t){p.hide(e,r,i,"mds-popover--active",t)}))}))},hide:function(e,t,n,r,o){e.contains(o.target)||n.popper.contains(o.target)||!t.classList.contains(r)||(t.classList.remove(r),p.setAriaAttr(e,t,r))},setAriaAttr:function(e,t,n){t.classList.contains(n)?(e.setAttribute("aria-expanded","true"),t.removeAttribute("aria-hidden")):(e.setAttribute("aria-expanded","false"),t.setAttribute("aria-hidden","true"))}},v=p,h=(n(77),n(108),n(110)),m=parseInt(h.size.breakpoint.md.value,10),y={init:function(){window.innerWidth>m&&Array.from(document.querySelectorAll("[".concat("data-modal-id","]"))).forEach((function(e){var t=e.getAttribute("data-modal-id"),n=document.getElementById(t),o=Array.from(n.querySelectorAll(".".concat("js-mds-modal-close"))),i=n.getAttribute("data-site-container"),a=document.getElementById(i),s=n.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable]'),c=(s=Array.prototype.slice.call(s))[0],u=s[s.length-1];e.addEventListener("click",(function(e){e.preventDefault(),y.open(n,c,a)})),n.addEventListener("click",(function(e){e.target===n&&y.close(n,r,a)})),n.addEventListener("keydown",(function(e){y.trapFocus(e,c,u),"Escape"!==e.key&&"Esc"!==e.key||y.close(n,r,a)})),o.forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),y.close(n,r,a)}))}))}))},open:function(e,t,n){r=document.activeElement,e.classList.add("mds-modal--active"),t.focus(),n.setAttribute("aria-hidden","true")},close:function(e,t,n){n.removeAttribute("aria-hidden"),e.classList.remove("mds-modal--active"),t.focus()},trapFocus:function(e,t,n){"Tab"===e.key&&(e.shiftKey?document.activeElement===t&&(e.preventDefault(),n.focus()):document.activeElement===n&&(e.preventDefault(),t.focus()))}},g=y;document.addEventListener("DOMContentLoaded",(function(){u.init(),f.init(),v.init(),g.init()}))}]);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@madgex/design-system",
3
3
  "author": "Madgex",
4
4
  "license": "UNLICENSED",
5
- "version": "1.46.1",
5
+ "version": "1.46.2",
6
6
  "scripts": {
7
7
  "clean": "rimraf dist public tokens/build",
8
8
  "commit": "commit",
@@ -7,7 +7,7 @@
7
7
  @keydown.home="hiddenGuard(onKeyHome)"
8
8
  @keydown.end="hiddenGuard(onKeyEnd)"
9
9
  @keydown.esc="makeInactive"
10
- @keydown.enter="chooseOption"
10
+ @keydown.enter.stop="chooseOption"
11
11
  >
12
12
  <ComboboxInput
13
13
  @focus="makeActive"