@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 +4 -0
- package/dist/cjs/index.js +11 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +11 -4
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGES.md
CHANGED
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
|
-
|
|
18426
|
-
|
|
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: {
|