@usecsv/react 0.2.15 → 0.2.16
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 +8 -0
- package/build/index.cjs +4 -4
- package/build/index.cjs.map +1 -1
- package/build/index.esm.js +4 -4
- package/build/index.esm.js.map +1 -1
- package/build/index.js +4 -4
- package/build/index.js.map +1 -1
- package/build/index.mjs +4 -4
- package/build/index.mjs.map +1 -1
- package/build/index.umd.js +4 -4
- package/build/index.umd.js.map +1 -1
- package/build/index.umd.min.js +3 -3
- package/build/index.umd.min.js.map +1 -1
- package/package.json +3 -3
package/build/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @usecsv/react v0.2.
|
|
2
|
+
* @usecsv/react v0.2.16
|
|
3
3
|
* (c) layercode
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -32,7 +32,7 @@ function __rest(s, e) {
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
/*!
|
|
35
|
-
* @usecsv/js v0.
|
|
35
|
+
* @usecsv/js v0.12.0
|
|
36
36
|
* (c) layercode
|
|
37
37
|
* Released under the MIT License.
|
|
38
38
|
*/
|
|
@@ -632,7 +632,7 @@ var insertIframe = function (id, importerDisplay) {
|
|
|
632
632
|
return iframe;
|
|
633
633
|
};
|
|
634
634
|
var useCsvPlugin = function (_a) {
|
|
635
|
-
var importerKey = _a.importerKey, user = _a.user, metadata = _a.metadata, onData = _a.onData, onRecordsInitial = _a.onRecordsInitial, onRecordEdit = _a.onRecordEdit, _b = _a.importerDisplay, importerDisplay = _b === void 0 ? "modal" : _b, onClose = _a.onClose, theme = _a.theme;
|
|
635
|
+
var importerKey = _a.importerKey, user = _a.user, metadata = _a.metadata, onData = _a.onData, onRecordsInitial = _a.onRecordsInitial, onRecordEdit = _a.onRecordEdit, _b = _a.importerDisplay, importerDisplay = _b === void 0 ? "modal" : _b, onClose = _a.onClose, theme = _a.theme, batchSize = _a.batchSize;
|
|
636
636
|
var id = "usecsv-".concat(Math.round(Math.random() * 100000000));
|
|
637
637
|
return whenDomReady().then(function () {
|
|
638
638
|
var iframe = insertIframe(id, importerDisplay);
|
|
@@ -664,7 +664,7 @@ var useCsvPlugin = function (_a) {
|
|
|
664
664
|
var _a;
|
|
665
665
|
(_a = document.getElementById(id)) === null || _a === void 0 ? void 0 : _a.classList.remove("loading");
|
|
666
666
|
// eslint-disable-next-line dot-notation
|
|
667
|
-
child["setParams"] && child["setParams"]({ importerKey: importerKey, user: user, metadata: metadata, importerDisplay: importerDisplay, theme: theme });
|
|
667
|
+
child["setParams"] && child["setParams"]({ importerKey: importerKey, user: user, metadata: metadata, importerDisplay: importerDisplay, theme: theme, batchSize: batchSize });
|
|
668
668
|
});
|
|
669
669
|
return iframeConnection;
|
|
670
670
|
});
|