ui-kit-ck-consultant 0.5.243 → 0.5.245
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.js +13 -5
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +13 -5
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -736,15 +736,11 @@ var Table = /*#__PURE__*/function (_React$Component) {
|
|
736
736
|
if (children.props && children.props.children) {
|
737
737
|
_this.getArray(children.props.children).forEach(function (line) {
|
738
738
|
if (line.props && line.props.children) {
|
739
|
-
console.log(line.props);
|
740
|
-
|
741
739
|
_this.getArray(line.props.children).forEach(function (column) {
|
742
|
-
console.log(column.props);
|
743
|
-
|
744
740
|
if (column.props && column.props.children) {
|
745
741
|
dataCSV += column.props.children.toString() + ";";
|
746
742
|
} else {
|
747
|
-
dataCSV += '';
|
743
|
+
dataCSV += ';';
|
748
744
|
}
|
749
745
|
});
|
750
746
|
|
@@ -3371,6 +3367,18 @@ var DropzoneMultiple = /*#__PURE__*/function (_React$Component) {
|
|
3371
3367
|
});
|
3372
3368
|
};
|
3373
3369
|
|
3370
|
+
_this.addFiles = function (files) {
|
3371
|
+
var tmpFiles = files;
|
3372
|
+
|
3373
|
+
_this.setState({
|
3374
|
+
files: tmpFiles
|
3375
|
+
}, function () {
|
3376
|
+
if (_this.props.onDrop) {
|
3377
|
+
_this.props.onDrop(_this.state.files);
|
3378
|
+
}
|
3379
|
+
});
|
3380
|
+
};
|
3381
|
+
|
3374
3382
|
_this.checkExtension = function (extension) {
|
3375
3383
|
if (!_this.props.extensions || _this.props.extensions.includes(extension)) {
|
3376
3384
|
return true;
|