@kiva/kv-components 3.22.0 → 3.22.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.
- package/CHANGELOG.md +19 -0
- package/package.json +2 -2
- package/vue/KvLocationSelector.vue +2 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.22.2](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.22.1...@kiva/kv-components@3.22.2) (2023-05-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* regions watcher removed from location selector ([#255](https://github.com/kiva/kv-ui-elements/issues/255)) ([69a5c7b](https://github.com/kiva/kv-ui-elements/commit/69a5c7b8430f1732fb04d08aa2a6b4768720dbf4))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [3.22.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.22.0...@kiva/kv-components@3.22.1) (2023-05-26)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @kiva/kv-components
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.22.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.21.2...@kiva/kv-components@3.22.0) (2023-05-24)
|
|
7
26
|
|
|
8
27
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "3.22.
|
|
3
|
+
"version": "3.22.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"optional": true
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "c29465a89a0cd252816abf35539038dfa0a6560d"
|
|
79
79
|
}
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
:disabled="item.disabled"
|
|
61
61
|
@change="updateLocation"
|
|
62
62
|
>
|
|
63
|
-
{{ item.title }}
|
|
63
|
+
{{ item.title }} ({{ item.numberLoans }})
|
|
64
64
|
</kv-checkbox>
|
|
65
65
|
</li>
|
|
66
66
|
</div>
|
|
@@ -165,6 +165,7 @@ export default {
|
|
|
165
165
|
return countries.map((c) => ({
|
|
166
166
|
value: c.isoCode,
|
|
167
167
|
title: getItemLabel(c),
|
|
168
|
+
numberLoans: c.numLoansFundraising,
|
|
168
169
|
disabled: c.numLoansFundraising === 0,
|
|
169
170
|
}));
|
|
170
171
|
};
|
|
@@ -215,13 +216,6 @@ export default {
|
|
|
215
216
|
return total;
|
|
216
217
|
};
|
|
217
218
|
|
|
218
|
-
watch(regions, (val) => {
|
|
219
|
-
if (displayedRegions.value.sort().toString() !== val.sort().toString()) {
|
|
220
|
-
displayedRegions.value = val;
|
|
221
|
-
}
|
|
222
|
-
resetCountries();
|
|
223
|
-
});
|
|
224
|
-
|
|
225
219
|
watch(activeIsoCodes, (val) => {
|
|
226
220
|
if (selected.value.sort().toString() !== val.sort().toString()) {
|
|
227
221
|
selected.value = val;
|