@usecsv/react 0.0.1 → 0.0.2
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 +6 -0
- package/build/index.cjs +8 -2
- package/build/index.cjs.map +1 -1
- package/build/index.esm.js +8 -2
- package/build/index.esm.js.map +1 -1
- package/build/index.js +8 -2
- package/build/index.js.map +1 -1
- package/build/index.mjs +8 -2
- package/build/index.mjs.map +1 -1
- package/build/index.umd.js +8 -2
- package/build/index.umd.js.map +1 -1
- package/build/index.umd.min.js +4 -4
- package/build/index.umd.min.js.map +1 -1
- package/package.json +6 -6
package/build/index.esm.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @usecsv/react v0.0.
|
|
2
|
+
* @usecsv/react v0.0.2
|
|
3
3
|
* (c) layercode
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
/*!
|
|
8
|
-
* @usecsv/js v0.0.
|
|
8
|
+
* @usecsv/js v0.0.12
|
|
9
9
|
* (c) layercode
|
|
10
10
|
* Released under the MIT License.
|
|
11
11
|
*/
|
|
@@ -577,6 +577,12 @@ var useCsvPlugin = function (_a) {
|
|
|
577
577
|
var iframe = insertIframe(id);
|
|
578
578
|
var iframeConnection = connectToChild({
|
|
579
579
|
iframe: iframe,
|
|
580
|
+
methods: {
|
|
581
|
+
closeIframe: function () {
|
|
582
|
+
var _a;
|
|
583
|
+
(_a = document.getElementById(id)) === null || _a === void 0 ? void 0 : _a.remove();
|
|
584
|
+
},
|
|
585
|
+
},
|
|
580
586
|
});
|
|
581
587
|
iframeConnection.promise.then(function (child) {
|
|
582
588
|
var _a;
|