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.js
CHANGED
@@ -739,15 +739,11 @@ var Table = /*#__PURE__*/function (_React$Component) {
|
|
739
739
|
if (children.props && children.props.children) {
|
740
740
|
_this.getArray(children.props.children).forEach(function (line) {
|
741
741
|
if (line.props && line.props.children) {
|
742
|
-
console.log(line.props);
|
743
|
-
|
744
742
|
_this.getArray(line.props.children).forEach(function (column) {
|
745
|
-
console.log(column.props);
|
746
|
-
|
747
743
|
if (column.props && column.props.children) {
|
748
744
|
dataCSV += column.props.children.toString() + ";";
|
749
745
|
} else {
|
750
|
-
dataCSV += '';
|
746
|
+
dataCSV += ';';
|
751
747
|
}
|
752
748
|
});
|
753
749
|
|
@@ -3374,6 +3370,18 @@ var DropzoneMultiple = /*#__PURE__*/function (_React$Component) {
|
|
3374
3370
|
});
|
3375
3371
|
};
|
3376
3372
|
|
3373
|
+
_this.addFiles = function (files) {
|
3374
|
+
var tmpFiles = files;
|
3375
|
+
|
3376
|
+
_this.setState({
|
3377
|
+
files: tmpFiles
|
3378
|
+
}, function () {
|
3379
|
+
if (_this.props.onDrop) {
|
3380
|
+
_this.props.onDrop(_this.state.files);
|
3381
|
+
}
|
3382
|
+
});
|
3383
|
+
};
|
3384
|
+
|
3377
3385
|
_this.checkExtension = function (extension) {
|
3378
3386
|
if (!_this.props.extensions || _this.props.extensions.includes(extension)) {
|
3379
3387
|
return true;
|