ui-kit-ck-consultant 0.6.14 → 0.6.15
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.modern.js
CHANGED
@@ -42,6 +42,14 @@ function _setPrototypeOf(o, p) {
|
|
42
42
|
return _setPrototypeOf(o, p);
|
43
43
|
}
|
44
44
|
|
45
|
+
function _assertThisInitialized(self) {
|
46
|
+
if (self === void 0) {
|
47
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
48
|
+
}
|
49
|
+
|
50
|
+
return self;
|
51
|
+
}
|
52
|
+
|
45
53
|
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"};
|
46
54
|
|
47
55
|
var Modal = /*#__PURE__*/function (_React$Component) {
|
@@ -891,9 +899,7 @@ var Table = /*#__PURE__*/function (_React$Component) {
|
|
891
899
|
var dataCSV = '';
|
892
900
|
|
893
901
|
if (_this.props && _this.props.children) {
|
894
|
-
var table =
|
895
|
-
return child.type === 'table';
|
896
|
-
});
|
902
|
+
var table = _assertThisInitialized(_this);
|
897
903
|
|
898
904
|
if (table) {
|
899
905
|
var thead = _this.getArray(table.props.children).find(function (child) {
|