@inveniosoftware/react-invenio-app-ils 1.0.0-alpha.71 → 1.0.0-alpha.72

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/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ Version 1.0.0-alpha.72 (released 2022-10-24)
4
+
5
+ - eitems: increase vocabulary source size to 60
6
+
3
7
  Version 1.0.0-alpha.71 (released 2022-10-07)
4
8
 
5
9
  - series: improve search tip popup and fix searchbar autofocus
package/dist/cjs/index.js CHANGED
@@ -18421,9 +18421,15 @@ var RJSFVocabulary = /*#__PURE__*/function (_Component) {
18421
18421
 
18422
18422
  _this.query = function () {
18423
18423
  var options = _this.props.options;
18424
- var vocabularyType = options.vocabularyType;
18425
- var query = vocabularyApi.query().withType(vocabularyType).qs();
18426
- return vocabularyApi.list(query);
18424
+ var vocabularyType = options.vocabularyType,
18425
+ size = options.size;
18426
+ var query = vocabularyApi.query(size).withType(vocabularyType);
18427
+
18428
+ if (size !== null) {
18429
+ query = query.withSize(size);
18430
+ }
18431
+
18432
+ return vocabularyApi.list(query.qs());
18427
18433
  };
18428
18434
 
18429
18435
  _this.fetchAll = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
@@ -33210,7 +33216,8 @@ var uiSchema$6 = function uiSchema(title) {
33210
33216
  source: {
33211
33217
  'ui:widget': 'vocabulary',
33212
33218
  'ui:options': {
33213
- vocabularyType: invenioConfig.VOCABULARIES.eitem.source
33219
+ vocabularyType: invenioConfig.VOCABULARIES.eitem.source,
33220
+ size: 60
33214
33221
  }
33215
33222
  },
33216
33223
  urls: {