Skip to content

Commit aa1f3a0

Browse files
committed
Merge branch 'release/3.1.2'
2 parents fd6a182 + 43daaab commit aa1f3a0

9 files changed

+92
-52
lines changed

components/DrillDown.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
1515

1616
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
1717

18-
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
18+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
1919

2020
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2121

2222
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
2323

2424
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
2525

26-
function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
26+
function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
2727

2828
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
2929

dist/drill-down.js

+63-34
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@ __webpack_require__.r(__webpack_exports__);
116116
/* harmony import */ var _lib_ReactFC__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_lib_ReactFC__WEBPACK_IMPORTED_MODULE_2__);
117117
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
118118

119-
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
119+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
120120

121121
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
122122

123123
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
124124

125125
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
126126

127-
function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
127+
function _iterableToArrayLimit(arr, i) { if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) { return; } var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
128128

129129
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
130130

@@ -1495,8 +1495,6 @@ module.exports = checkPropTypes;
14951495
"use strict";
14961496

14971497

1498-
function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); }
1499-
15001498
Object.defineProperty(exports, "__esModule", {
15011499
value: true
15021500
});
@@ -1510,29 +1508,56 @@ var utils = _interopRequireWildcard(__webpack_require__(14));
15101508

15111509
var _options = _interopRequireDefault(__webpack_require__(15));
15121510

1511+
function _getRequireWildcardCache() {
1512+
if (typeof WeakMap !== "function") return null;
1513+
var cache = new WeakMap();
1514+
1515+
_getRequireWildcardCache = function _getRequireWildcardCache() {
1516+
return cache;
1517+
};
1518+
1519+
return cache;
1520+
}
1521+
15131522
function _interopRequireWildcard(obj) {
15141523
if (obj && obj.__esModule) {
15151524
return obj;
1516-
} else {
1517-
var newObj = {};
1525+
}
15181526

1519-
if (obj != null) {
1520-
for (var key in obj) {
1521-
if (Object.prototype.hasOwnProperty.call(obj, key)) {
1522-
var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {};
1527+
if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
1528+
return {
1529+
"default": obj
1530+
};
1531+
}
15231532

1524-
if (desc.get || desc.set) {
1525-
Object.defineProperty(newObj, key, desc);
1526-
} else {
1527-
newObj[key] = obj[key];
1528-
}
1529-
}
1533+
var cache = _getRequireWildcardCache();
1534+
1535+
if (cache && cache.has(obj)) {
1536+
return cache.get(obj);
1537+
}
1538+
1539+
var newObj = {};
1540+
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
1541+
1542+
for (var key in obj) {
1543+
if (Object.prototype.hasOwnProperty.call(obj, key)) {
1544+
var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
1545+
1546+
if (desc && (desc.get || desc.set)) {
1547+
Object.defineProperty(newObj, key, desc);
1548+
} else {
1549+
newObj[key] = obj[key];
15301550
}
15311551
}
1552+
}
1553+
1554+
newObj["default"] = obj;
15321555

1533-
newObj["default"] = obj;
1534-
return newObj;
1556+
if (cache) {
1557+
cache.set(obj, newObj);
15351558
}
1559+
1560+
return newObj;
15361561
}
15371562

15381563
function _interopRequireDefault(obj) {
@@ -1542,13 +1567,15 @@ function _interopRequireDefault(obj) {
15421567
}
15431568

15441569
function _typeof(obj) {
1545-
if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
1570+
"@babel/helpers - typeof";
1571+
1572+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
15461573
_typeof = function _typeof(obj) {
1547-
return _typeof2(obj);
1574+
return typeof obj;
15481575
};
15491576
} else {
15501577
_typeof = function _typeof(obj) {
1551-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
1578+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
15521579
};
15531580
}
15541581

@@ -2047,14 +2074,16 @@ function bytesToUuid(buf, offset) {
20472074
var i = offset || 0;
20482075
var bth = byteToHex;
20492076
// join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
2050-
return ([bth[buf[i++]], bth[buf[i++]],
2051-
bth[buf[i++]], bth[buf[i++]], '-',
2052-
bth[buf[i++]], bth[buf[i++]], '-',
2053-
bth[buf[i++]], bth[buf[i++]], '-',
2054-
bth[buf[i++]], bth[buf[i++]], '-',
2055-
bth[buf[i++]], bth[buf[i++]],
2056-
bth[buf[i++]], bth[buf[i++]],
2057-
bth[buf[i++]], bth[buf[i++]]]).join('');
2077+
return ([
2078+
bth[buf[i++]], bth[buf[i++]],
2079+
bth[buf[i++]], bth[buf[i++]], '-',
2080+
bth[buf[i++]], bth[buf[i++]], '-',
2081+
bth[buf[i++]], bth[buf[i++]], '-',
2082+
bth[buf[i++]], bth[buf[i++]], '-',
2083+
bth[buf[i++]], bth[buf[i++]],
2084+
bth[buf[i++]], bth[buf[i++]],
2085+
bth[buf[i++]], bth[buf[i++]]
2086+
]).join('');
20582087
}
20592088

20602089
module.exports = bytesToUuid;
@@ -2067,8 +2096,6 @@ module.exports = bytesToUuid;
20672096
"use strict";
20682097

20692098

2070-
function _typeof2(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof2(obj); }
2071-
20722099
Object.defineProperty(exports, "__esModule", {
20732100
value: true
20742101
});
@@ -2081,13 +2108,15 @@ exports.checkIfDataTableExists = checkIfDataTableExists;
20812108
exports.cloneDataSource = cloneDataSource;
20822109

20832110
function _typeof(obj) {
2084-
if (typeof Symbol === "function" && _typeof2(Symbol.iterator) === "symbol") {
2111+
"@babel/helpers - typeof";
2112+
2113+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
20852114
_typeof = function _typeof(obj) {
2086-
return _typeof2(obj);
2115+
return typeof obj;
20872116
};
20882117
} else {
20892118
_typeof = function _typeof(obj) {
2090-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : _typeof2(obj);
2119+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
20912120
};
20922121
}
20932122

dist/drill-down.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-fusioncharts.js

+12-10
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ __webpack_require__.r(__webpack_exports__);
116116
/* harmony import */ var uuid_v4__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(uuid_v4__WEBPACK_IMPORTED_MODULE_1__);
117117
/* harmony import */ var _utils_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
118118
/* harmony import */ var _utils_options__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(7);
119-
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
119+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
120120

121121
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
122122

@@ -565,14 +565,16 @@ function bytesToUuid(buf, offset) {
565565
var i = offset || 0;
566566
var bth = byteToHex;
567567
// join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4
568-
return ([bth[buf[i++]], bth[buf[i++]],
569-
bth[buf[i++]], bth[buf[i++]], '-',
570-
bth[buf[i++]], bth[buf[i++]], '-',
571-
bth[buf[i++]], bth[buf[i++]], '-',
572-
bth[buf[i++]], bth[buf[i++]], '-',
573-
bth[buf[i++]], bth[buf[i++]],
574-
bth[buf[i++]], bth[buf[i++]],
575-
bth[buf[i++]], bth[buf[i++]]]).join('');
568+
return ([
569+
bth[buf[i++]], bth[buf[i++]],
570+
bth[buf[i++]], bth[buf[i++]], '-',
571+
bth[buf[i++]], bth[buf[i++]], '-',
572+
bth[buf[i++]], bth[buf[i++]], '-',
573+
bth[buf[i++]], bth[buf[i++]], '-',
574+
bth[buf[i++]], bth[buf[i++]],
575+
bth[buf[i++]], bth[buf[i++]],
576+
bth[buf[i++]], bth[buf[i++]]
577+
]).join('');
576578
}
577579

578580
module.exports = bytesToUuid;
@@ -591,7 +593,7 @@ __webpack_require__.r(__webpack_exports__);
591593
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "deepCopyOf", function() { return deepCopyOf; });
592594
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "checkIfDataTableExists", function() { return checkIfDataTableExists; });
593595
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "cloneDataSource", function() { return cloneDataSource; });
594-
function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
596+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
595597

596598
/* eslint-disable guard-for-in */
597599
function isObject(value) {

0 commit comments

Comments
 (0)