ui-kit-ck-consultant 0.6.14 → 0.6.16
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 +9 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -45,6 +45,14 @@ function _setPrototypeOf(o, p) {
|
|
45
45
|
return _setPrototypeOf(o, p);
|
46
46
|
}
|
47
47
|
|
48
|
+
function _assertThisInitialized(self) {
|
49
|
+
if (self === void 0) {
|
50
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
51
|
+
}
|
52
|
+
|
53
|
+
return self;
|
54
|
+
}
|
55
|
+
|
48
56
|
var style = {"modal":"_Tr9L0","modal_container":"_2YluD","no_background":"_2vjgy","large":"_22C7A","extraLarge":"_VOwgj","modal_right":"_eWY0H","modal_move":"_20eCx","modal_valid":"_RsujT","modal_close":"_1AbTJ","modal_custom":"_33Wb2","modal_header":"_2EzqX","modal_body":"_1-Y1J","full_modal_container":"_1w6wH","full_modal_header":"_2wSoq","full_modal_body":"_3bfp5","full_modal_body_no_padding":"_Pf5Uh","full_modal_body_no_overflow":"_3sTgK"};
|
49
57
|
|
50
58
|
var Modal = /*#__PURE__*/function (_React$Component) {
|
@@ -894,9 +902,7 @@ var Table = /*#__PURE__*/function (_React$Component) {
|
|
894
902
|
var dataCSV = '';
|
895
903
|
|
896
904
|
if (_this.props && _this.props.children) {
|
897
|
-
var table =
|
898
|
-
return child.type === 'table';
|
899
|
-
});
|
905
|
+
var table = _assertThisInitialized(_this);
|
900
906
|
|
901
907
|
if (table) {
|
902
908
|
var thead = _this.getArray(table.props.children).find(function (child) {
|