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