ywana-core8 0.0.863 → 0.0.865
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/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/domain/CollectionPage.js +21 -17
- package/src/domain2/CollectionPage.js +0 -1
- package/src/http/client.js +2 -2
- package/src/incubator/{pdfViewer.js → PDFViewer.js} +5 -3
package/dist/index.modern.js
CHANGED
@@ -127,9 +127,9 @@ var HTTPClient = function HTTPClient(domain, securityCtx) {
|
|
127
127
|
var token = securityCtx ? securityCtx.token() : null;
|
128
128
|
return fetchAsync('PATCH', domain + URL, body, token, headers);
|
129
129
|
},
|
130
|
-
DELETE: function DELETE(URL, headers) {
|
130
|
+
DELETE: function DELETE(URL, body, headers) {
|
131
131
|
var token = securityCtx ? securityCtx.token() : null;
|
132
|
-
return fetchAsync('DELETE', domain + URL,
|
132
|
+
return fetchAsync('DELETE', domain + URL, body, token, headers);
|
133
133
|
}
|
134
134
|
};
|
135
135
|
};
|
@@ -7023,6 +7023,7 @@ var CollectionEditor$1 = function CollectionEditor(props) {
|
|
7023
7023
|
}));
|
7024
7024
|
}
|
7025
7025
|
}
|
7026
|
+
var hasMenu = canDelete;
|
7026
7027
|
return selected && form ? /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement(Header, {
|
7027
7028
|
icon: icon,
|
7028
7029
|
title: renderTitle()
|
@@ -7030,7 +7031,7 @@ var CollectionEditor$1 = function CollectionEditor(props) {
|
|
7030
7031
|
icon: "close",
|
7031
7032
|
clickable: true,
|
7032
7033
|
action: clear
|
7033
|
-
}), /*#__PURE__*/React.createElement(MenuIcon, {
|
7034
|
+
}), !hasMenu ? null : /*#__PURE__*/React.createElement(MenuIcon, {
|
7034
7035
|
align: "alignRight"
|
7035
7036
|
}, /*#__PURE__*/React.createElement(Menu, null, canDelete ? /*#__PURE__*/React.createElement(MenuItem, {
|
7036
7037
|
label: "Eliminar",
|