@bento-core/paginated-table 1.0.1-ccdihub.67 → 1.0.1-ccdihub.68
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.
|
@@ -11,8 +11,10 @@ var _DownloadManifestBtn = _interopRequireDefault(require("./DownloadManifestBtn
|
|
|
11
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
12
|
const ButtonView = props => {
|
|
13
13
|
const {
|
|
14
|
-
btnType
|
|
14
|
+
btnType,
|
|
15
|
+
cartFiles
|
|
15
16
|
} = props;
|
|
17
|
+
console.log('cartFiles:', cartFiles);
|
|
16
18
|
if (_AddFiles.btnTypes.DOWNLOAD_MANIFEST === btnType) {
|
|
17
19
|
return /*#__PURE__*/_react.default.createElement(_DownloadManifestBtn.default, props);
|
|
18
20
|
}
|
|
@@ -21,11 +21,13 @@ const DownloadManifestView = props => {
|
|
|
21
21
|
const {
|
|
22
22
|
tooltipCofig,
|
|
23
23
|
clsName,
|
|
24
|
-
title
|
|
24
|
+
title,
|
|
25
|
+
cartFiles
|
|
25
26
|
} = props;
|
|
26
27
|
/**
|
|
27
28
|
* get cart state
|
|
28
29
|
*/
|
|
30
|
+
console.log('hehehhe:', cartFiles);
|
|
29
31
|
const cartContext = (0, _react.useContext)(_cart.CartContext);
|
|
30
32
|
const {
|
|
31
33
|
context
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bento-core/paginated-table",
|
|
3
|
-
"version": "1.0.1-ccdihub.
|
|
3
|
+
"version": "1.0.1-ccdihub.68",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "npm run lint && cross-env-shell rm -rf dist && NODE_ENV=production BABEL_ENV=es babel src --out-dir dist --copy-files",
|
|
@@ -6,8 +6,9 @@ import DownloadManifestView from './DownloadManifestBtn';
|
|
|
6
6
|
const ButtonView = (props) => {
|
|
7
7
|
const {
|
|
8
8
|
btnType,
|
|
9
|
+
cartFiles,
|
|
9
10
|
} = props;
|
|
10
|
-
|
|
11
|
+
console.log('cartFiles:', cartFiles);
|
|
11
12
|
if (btnTypes.DOWNLOAD_MANIFEST === btnType) {
|
|
12
13
|
return (
|
|
13
14
|
<DownloadManifestView {...props} />
|
|
@@ -12,10 +12,12 @@ const DownloadManifestView = (props) => {
|
|
|
12
12
|
tooltipCofig,
|
|
13
13
|
clsName,
|
|
14
14
|
title,
|
|
15
|
+
cartFiles,
|
|
15
16
|
} = props;
|
|
16
17
|
/**
|
|
17
18
|
* get cart state
|
|
18
19
|
*/
|
|
20
|
+
console.log('hehehhe:', cartFiles);
|
|
19
21
|
const cartContext = useContext(CartContext);
|
|
20
22
|
const { context } = cartContext;
|
|
21
23
|
const {
|