ui-kit-ck-consultant 0.6.13 → 0.6.14
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 +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -7
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -880,14 +880,14 @@ var Table = /*#__PURE__*/function (_React$Component) {
|
|
880
880
|
}
|
881
881
|
};
|
882
882
|
|
883
|
-
_this.
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
};
|
883
|
+
_this.extractText = function (node) {
|
884
|
+
if (typeof node === 'string') return node.trim();
|
885
|
+
if (Array.isArray(node)) return node.map(_this.extractText).join(' ');
|
886
|
+
if (node.props && node.props.children) return _this.extractText(node.props.children);
|
887
|
+
return '';
|
888
|
+
};
|
890
889
|
|
890
|
+
_this.getCSV = function (callback) {
|
891
891
|
var dataCSV = '';
|
892
892
|
|
893
893
|
if (_this.props && _this.props.children) {
|