@carbon/charts-vue 0.40.12 → 0.41.1

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/charts-vue.umd.js CHANGED
@@ -155,31 +155,6 @@ module.exports = function (input, PREFERRED_STRING) {
155
155
  };
156
156
 
157
157
 
158
- /***/ }),
159
-
160
- /***/ "09b2":
161
- /***/ (function(module, exports) {
162
-
163
- /** Used for built-in method references. */
164
- var objectProto = Object.prototype;
165
-
166
- /**
167
- * Checks if `value` is likely a prototype object.
168
- *
169
- * @private
170
- * @param {*} value The value to check.
171
- * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
172
- */
173
- function isPrototype(value) {
174
- var Ctor = value && value.constructor,
175
- proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
176
-
177
- return value === proto;
178
- }
179
-
180
- module.exports = isPrototype;
181
-
182
-
183
158
  /***/ }),
184
159
 
185
160
  /***/ "0c47":
@@ -195,66 +170,6 @@ module.exports = Object.keys || function keys(O) {
195
170
  };
196
171
 
197
172
 
198
- /***/ }),
199
-
200
- /***/ "0e19":
201
- /***/ (function(module, exports, __webpack_require__) {
202
-
203
- var Symbol = __webpack_require__("4b2c"),
204
- getRawTag = __webpack_require__("2822"),
205
- objectToString = __webpack_require__("907a");
206
-
207
- /** `Object#toString` result references. */
208
- var nullTag = '[object Null]',
209
- undefinedTag = '[object Undefined]';
210
-
211
- /** Built-in value references. */
212
- var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
213
-
214
- /**
215
- * The base implementation of `getTag` without fallbacks for buggy environments.
216
- *
217
- * @private
218
- * @param {*} value The value to query.
219
- * @returns {string} Returns the `toStringTag`.
220
- */
221
- function baseGetTag(value) {
222
- if (value == null) {
223
- return value === undefined ? undefinedTag : nullTag;
224
- }
225
- return (symToStringTag && symToStringTag in Object(value))
226
- ? getRawTag(value)
227
- : objectToString(value);
228
- }
229
-
230
- module.exports = baseGetTag;
231
-
232
-
233
- /***/ }),
234
-
235
- /***/ "0e30":
236
- /***/ (function(module, exports) {
237
-
238
- /**
239
- * This method returns `false`.
240
- *
241
- * @static
242
- * @memberOf _
243
- * @since 4.13.0
244
- * @category Util
245
- * @returns {boolean} Returns `false`.
246
- * @example
247
- *
248
- * _.times(2, _.stubFalse);
249
- * // => [false, false]
250
- */
251
- function stubFalse() {
252
- return false;
253
- }
254
-
255
- module.exports = stubFalse;
256
-
257
-
258
173
  /***/ }),
259
174
 
260
175
  /***/ "0e39":
@@ -392,6 +307,7 @@ __webpack_require__.d(events_namespaceObject, "Bar", function() { return events_
392
307
  __webpack_require__.d(events_namespaceObject, "Scatter", function() { return events_Scatter; });
393
308
  __webpack_require__.d(events_namespaceObject, "Line", function() { return events_Line; });
394
309
  __webpack_require__.d(events_namespaceObject, "Radar", function() { return events_Radar; });
310
+ __webpack_require__.d(events_namespaceObject, "Treemap", function() { return events_Treemap; });
395
311
  __webpack_require__.d(events_namespaceObject, "Tooltip", function() { return events_Tooltip; });
396
312
  __webpack_require__.d(events_namespaceObject, "Threshold", function() { return events_Threshold; });
397
313
  __webpack_require__.d(events_namespaceObject, "Legend", function() { return events_Legend; });
@@ -590,6 +506,16 @@ var events_Radar;
590
506
  Radar["X_AXIS_CLICK"] = "radar-x-axis-click";
591
507
  Radar["X_AXIS_MOUSEOUT"] = "radar-x-axis-mouseout";
592
508
  })(events_Radar || (events_Radar = {}));
509
+ /**
510
+ * enum of all treemap graph events
511
+ */
512
+ var events_Treemap;
513
+ (function (Treemap) {
514
+ Treemap["LEAF_MOUSEOVER"] = "leaf-mouseover";
515
+ Treemap["LEAF_MOUSEMOVE"] = "leaf-mousemove";
516
+ Treemap["LEAF_CLICK"] = "leaf-click";
517
+ Treemap["LEAF_MOUSEOUT"] = "leaf-mouseout";
518
+ })(events_Treemap || (events_Treemap = {}));
593
519
  /**
594
520
  * enum of all tooltip events
595
521
  */
@@ -4969,6 +4895,85 @@ function clamp_clamp(number, lower, upper) {
4969
4895
 
4970
4896
  /* harmony default export */ var lodash_es_clamp = (clamp_clamp);
4971
4897
 
4898
+ // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/lodash-es/isEmpty.js
4899
+
4900
+
4901
+
4902
+
4903
+
4904
+
4905
+
4906
+
4907
+
4908
+ /** `Object#toString` result references. */
4909
+ var isEmpty_mapTag = '[object Map]',
4910
+ isEmpty_setTag = '[object Set]';
4911
+
4912
+ /** Used for built-in method references. */
4913
+ var isEmpty_objectProto = Object.prototype;
4914
+
4915
+ /** Used to check objects for own properties. */
4916
+ var isEmpty_hasOwnProperty = isEmpty_objectProto.hasOwnProperty;
4917
+
4918
+ /**
4919
+ * Checks if `value` is an empty object, collection, map, or set.
4920
+ *
4921
+ * Objects are considered empty if they have no own enumerable string keyed
4922
+ * properties.
4923
+ *
4924
+ * Array-like values such as `arguments` objects, arrays, buffers, strings, or
4925
+ * jQuery-like collections are considered empty if they have a `length` of `0`.
4926
+ * Similarly, maps and sets are considered empty if they have a `size` of `0`.
4927
+ *
4928
+ * @static
4929
+ * @memberOf _
4930
+ * @since 0.1.0
4931
+ * @category Lang
4932
+ * @param {*} value The value to check.
4933
+ * @returns {boolean} Returns `true` if `value` is empty, else `false`.
4934
+ * @example
4935
+ *
4936
+ * _.isEmpty(null);
4937
+ * // => true
4938
+ *
4939
+ * _.isEmpty(true);
4940
+ * // => true
4941
+ *
4942
+ * _.isEmpty(1);
4943
+ * // => true
4944
+ *
4945
+ * _.isEmpty([1, 2, 3]);
4946
+ * // => false
4947
+ *
4948
+ * _.isEmpty({ 'a': 1 });
4949
+ * // => false
4950
+ */
4951
+ function isEmpty(value) {
4952
+ if (value == null) {
4953
+ return true;
4954
+ }
4955
+ if (lodash_es_isArrayLike(value) &&
4956
+ (lodash_es_isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||
4957
+ Object(isBuffer["a" /* default */])(value) || lodash_es_isTypedArray(value) || lodash_es_isArguments(value))) {
4958
+ return !value.length;
4959
+ }
4960
+ var tag = _getTag(value);
4961
+ if (tag == isEmpty_mapTag || tag == isEmpty_setTag) {
4962
+ return !value.size;
4963
+ }
4964
+ if (_isPrototype(value)) {
4965
+ return !_baseKeys(value).length;
4966
+ }
4967
+ for (var key in value) {
4968
+ if (isEmpty_hasOwnProperty.call(value, key)) {
4969
+ return false;
4970
+ }
4971
+ }
4972
+ return true;
4973
+ }
4974
+
4975
+ /* harmony default export */ var lodash_es_isEmpty = (isEmpty);
4976
+
4972
4977
  // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/lodash-es/_arraySome.js
4973
4978
  /**
4974
4979
  * A specialized version of `_.some` for arrays without support for iteratee
@@ -7067,6 +7072,7 @@ var tools_Tools;
7067
7072
  Tools.merge = lodash_es_merge;
7068
7073
  Tools.removeArrayDuplicates = lodash_es_uniq;
7069
7074
  Tools.clamp = lodash_es_clamp;
7075
+ Tools.isEmpty = lodash_es_isEmpty;
7070
7076
  Tools.isEqual = lodash_es_isEqual;
7071
7077
  Tools.flatMapDeep = lodash_es_flatMapDeep;
7072
7078
  Tools.kebabCase = lodash_es_kebabCase;
@@ -7792,7 +7798,8 @@ var gaugeChart = tools_Tools.merge({}, chart, {
7792
7798
  return number.toFixed(2) % 1 !== 0
7793
7799
  ? number.toFixed(2).toLocaleString()
7794
7800
  : number.toFixed().toLocaleString();
7795
- }
7801
+ },
7802
+ alignment: Alignments.LEFT
7796
7803
  }
7797
7804
  });
7798
7805
  /**
@@ -7844,6 +7851,14 @@ var radarChart = tools_Tools.merge({}, chart, {
7844
7851
  }
7845
7852
  }
7846
7853
  });
7854
+ /**
7855
+ * options specific to treemap charts
7856
+ */
7857
+ var treemapChart = tools_Tools.merge({}, chart, {
7858
+ data: tools_Tools.merge(chart.data, {
7859
+ groupMapsTo: "name"
7860
+ })
7861
+ });
7847
7862
  var configuration_options = {
7848
7863
  chart: chart,
7849
7864
  axisChart: axisChart,
@@ -7859,7 +7874,8 @@ var configuration_options = {
7859
7874
  donutChart: donutChart,
7860
7875
  meterChart: meterChart,
7861
7876
  radarChart: radarChart,
7862
- gaugeChart: gaugeChart
7877
+ gaugeChart: gaugeChart,
7878
+ treemapChart: treemapChart
7863
7879
  };
7864
7880
 
7865
7881
  //# sourceMappingURL=../src/configuration.js.map
@@ -9188,7 +9204,7 @@ define(Rgb, color_rgb, extend(Color, {
9188
9204
  }));
9189
9205
 
9190
9206
  function rgb_formatHex() {
9191
- return "#" + hex(this.r) + hex(this.g) + hex(this.b);
9207
+ return "#" + color_hex(this.r) + color_hex(this.g) + color_hex(this.b);
9192
9208
  }
9193
9209
 
9194
9210
  function rgb_formatRgb() {
@@ -9200,7 +9216,7 @@ function rgb_formatRgb() {
9200
9216
  + (a === 1 ? ")" : ", " + a + ")");
9201
9217
  }
9202
9218
 
9203
- function hex(value) {
9219
+ function color_hex(value) {
9204
9220
  value = Math.max(0, Math.min(255, Math.round(value) || 0));
9205
9221
  return (value < 16 ? "0" : "") + value.toString(16);
9206
9222
  }
@@ -12657,37 +12673,8 @@ var model_ChartModel = /** @class */ (function () {
12657
12673
  }
12658
12674
  return data;
12659
12675
  };
12660
- ChartModel.prototype.sanitizeDateValues = function (data) {
12661
- var options = this.getOptions();
12662
- if (!options.axes) {
12663
- return data;
12664
- }
12665
- var keysToCheck = [];
12666
- Object.keys(AxisPositions).forEach(function (axisPositionKey) {
12667
- var axisPosition = AxisPositions[axisPositionKey];
12668
- var axisOptions = options.axes[axisPosition];
12669
- if (axisOptions && axisOptions.scaleType === ScaleTypes.TIME) {
12670
- var axisMapsTo = axisOptions.mapsTo;
12671
- if (axisMapsTo !== null || axisMapsTo !== undefined) {
12672
- keysToCheck.push(axisMapsTo);
12673
- }
12674
- }
12675
- });
12676
- if (keysToCheck.length > 0) {
12677
- // Check all datapoints and sanitize dates
12678
- data.forEach(function (datum) {
12679
- keysToCheck.forEach(function (key) {
12680
- if (datum[key].getTime === undefined) {
12681
- datum[key] = new Date(datum[key]);
12682
- }
12683
- });
12684
- });
12685
- }
12686
- return data;
12687
- };
12688
12676
  ChartModel.prototype.sanitize = function (data) {
12689
12677
  data = this.getTabularData(data);
12690
- data = this.sanitizeDateValues(data);
12691
12678
  return data;
12692
12679
  };
12693
12680
  /*
@@ -13761,6 +13748,7 @@ var __extends = (undefined && undefined.__extends) || (function () {
13761
13748
 
13762
13749
  // MISC
13763
13750
 
13751
+ var CSS_VERIFIER_ELEMENT_CLASSNAME = "DONT_STYLE_ME_css_styles_verifier";
13764
13752
  var dom_utils_DOMUtils = /** @class */ (function (_super) {
13765
13753
  __extends(DOMUtils, _super);
13766
13754
  function DOMUtils() {
@@ -13888,6 +13876,7 @@ var dom_utils_DOMUtils = /** @class */ (function (_super) {
13888
13876
  this.styleHolderElement();
13889
13877
  // Add main SVG
13890
13878
  this.addSVGElement();
13879
+ this.verifyCSSStylesBeingApplied();
13891
13880
  if (this.model.getOptions().resizable) {
13892
13881
  this.addResizeListener();
13893
13882
  }
@@ -13926,8 +13915,25 @@ var dom_utils_DOMUtils = /** @class */ (function (_super) {
13926
13915
  .classed(js_settings.prefix + "--" + chartsprefix + "--chart-svg", true)
13927
13916
  .attr("height", "100%")
13928
13917
  .attr("width", "100%");
13918
+ svg.append("g").attr("class", CSS_VERIFIER_ELEMENT_CLASSNAME);
13929
13919
  this.svg = svg.node();
13930
13920
  };
13921
+ DOMUtils.prototype.verifyCSSStylesBeingApplied = function () {
13922
+ var _this = this;
13923
+ // setTimeout is needed here since in `addSVGElement()` we're appending the
13924
+ // CSS verifier element, and need to allow some time for it to become available
13925
+ // in the DOM
13926
+ setTimeout(function () {
13927
+ var cssVerifierElement = src_select(_this.svg)
13928
+ .select("g." + CSS_VERIFIER_ELEMENT_CLASSNAME)
13929
+ .node();
13930
+ var computedStyles = getComputedStyle(cssVerifierElement);
13931
+ if (computedStyles.getPropertyValue("overflow") !== "hidden" ||
13932
+ computedStyles.getPropertyValue("opacity") !== "0") {
13933
+ console.error("Missing CSS styles for Carbon Charts. Please read the Carbon Charts getting started guide.");
13934
+ }
13935
+ });
13936
+ };
13931
13937
  DOMUtils.prototype.setSVGMaxHeight = function () {
13932
13938
  // if there is a set height on the holder, leave the chart svg height at 100%
13933
13939
  if (!this.model.getOptions().height) {
@@ -18597,6 +18603,7 @@ var legend_Legend = /** @class */ (function (_super) {
18597
18603
  // Configs
18598
18604
  var checkboxRadius = legend.checkbox.radius;
18599
18605
  var hoveredItem = src_select(this);
18606
+ hoveredItem.select("rect.checkbox").classed("hovered", true);
18600
18607
  hoveredItem
18601
18608
  .append("rect")
18602
18609
  .classed("hover-stroke", true)
@@ -18629,6 +18636,7 @@ var legend_Legend = /** @class */ (function (_super) {
18629
18636
  .on("mouseout", function () {
18630
18637
  var hoveredItem = src_select(this);
18631
18638
  hoveredItem.select("rect.hover-stroke").remove();
18639
+ hoveredItem.select("rect.checkbox").classed("hovered", false);
18632
18640
  self.services.events.dispatchEvent(Events.Tooltip.HIDE);
18633
18641
  self.services.events.dispatchEvent(Events.Legend.ITEM_MOUSEOUT, {
18634
18642
  hoveredElement: hoveredItem
@@ -21871,7 +21879,9 @@ var tooltip_Tooltip = /** @class */ (function (_super) {
21871
21879
  // only applies to discrete type
21872
21880
  if (truncationType !== TruncationTypes.NONE) {
21873
21881
  return items.map(function (item) {
21874
- item.value = _this.valueFormatter(item.value);
21882
+ item.value = item.value
21883
+ ? _this.valueFormatter(item.value)
21884
+ : item.value;
21875
21885
  if (item.label && item.label.length > truncationThreshold) {
21876
21886
  item.label = tools_Tools.truncateLabel(item.label, truncationType, truncationNumCharacter);
21877
21887
  }
@@ -21891,16 +21901,17 @@ var tooltip_Tooltip = /** @class */ (function (_super) {
21891
21901
  else {
21892
21902
  var items = this.getItems(e);
21893
21903
  var formattedItems = this.formatItems(items);
21894
- var useColor_1 = this.model.isUserProvidedColorScaleValid();
21904
+ var isUserProvidedColorScaleValid_1 = this.model.isUserProvidedColorScaleValid();
21895
21905
  defaultHTML =
21896
21906
  "<ul class='multi-tooltip'>" +
21897
21907
  formattedItems
21898
21908
  .map(function (item) {
21899
- return "<li>\n\t\t\t\t\t\t\t<div class=\"datapoint-tooltip " + (item.bold ? "bold" : "") + "\">\n\t\t\t\t\t\t\t\t" + (item.class && !useColor_1 ? "<a class=\"tooltip-color " + item.class + "\"></a>" : "") + "\n\t\t\t\t\t\t\t\t" + (item.color && useColor_1
21909
+ var useColor = item.color || isUserProvidedColorScaleValid_1;
21910
+ return "<li>\n\t\t\t\t\t\t\t<div class=\"datapoint-tooltip " + (item.bold ? "bold" : "") + "\">\n\t\t\t\t\t\t\t\t" + (item.class && !useColor ? "<a class=\"tooltip-color " + item.class + "\"></a>" : "") + "\n\t\t\t\t\t\t\t\t" + (item.color && useColor
21900
21911
  ? '<a style="background-color: ' +
21901
21912
  item.color +
21902
21913
  '" class="tooltip-color"></a>'
21903
- : "") + "\n\t\t\t\t\t\t\t\t<p class=\"label\">" + item.label + "</p>\n\t\t\t\t\t\t\t\t<p class=\"value\">" + item.value + "</p>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</li>";
21914
+ : "") + "\n\t\t\t\t\t\t\t\t<p class=\"label\">" + (item.label || "") + "</p>\n\t\t\t\t\t\t\t\t<p class=\"value\">" + (item.value || "") + "</p>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</li>";
21904
21915
  })
21905
21916
  .join("") +
21906
21917
  "</ul>";
@@ -23097,6 +23108,7 @@ var bar_grouped_GroupedBar = /** @class */ (function (_super) {
23097
23108
  .selectAll("path.bar")
23098
23109
  .on("mouseover", function (datum) {
23099
23110
  var hoveredElement = src_select(this);
23111
+ hoveredElement.classed("hovered", true);
23100
23112
  hoveredElement.transition(self.services.transitions.getTransition("graph_element_mouseover_fill_update"));
23101
23113
  // Dispatch mouse event
23102
23114
  self.services.events.dispatchEvent(Events.Bar.BAR_MOUSEOVER, {
@@ -23345,6 +23357,7 @@ var bar_stacked_StackedBar = /** @class */ (function (_super) {
23345
23357
  .on("mouseover", function (datum) {
23346
23358
  var _a;
23347
23359
  var hoveredElement = src_select(this);
23360
+ hoveredElement.classed("hovered", true);
23348
23361
  hoveredElement.transition(self.services.transitions.getTransition("graph_element_mouseover_fill_update"));
23349
23362
  // Dispatch mouse event
23350
23363
  self.services.events.dispatchEvent(Events.Bar.BAR_MOUSEOVER, {
@@ -24923,7 +24936,6 @@ var gauge_Gauge = /** @class */ (function (_super) {
24923
24936
  }
24924
24937
  };
24925
24938
  Gauge.prototype.render = function (animate) {
24926
- var _this = this;
24927
24939
  if (animate === void 0) { animate = true; }
24928
24940
  var self = this;
24929
24941
  var svg = this.getContainerSVG();
@@ -24957,29 +24969,37 @@ var gauge_Gauge = /** @class */ (function (_super) {
24957
24969
  .attr("role", Roles.GROUP);
24958
24970
  // Add data arc
24959
24971
  var arcValue = svg.selectAll("path.arc-foreground").data([value]);
24960
- arcValue
24961
- .enter()
24962
- .append("path")
24963
- .attr("class", function (d) {
24964
- return _this.model.getColorClassName({
24965
- classNameTypes: [ColorClassNameTypes.FILL],
24966
- dataGroupName: d[groupMapsTo],
24967
- originalClassName: "arc-foreground"
24968
- });
24969
- })
24970
- .attr("fill", function (d) { return self.model.getFillColor(d[groupMapsTo]); })
24972
+ var arcEnter = arcValue.enter().append("path");
24973
+ arcEnter
24971
24974
  .merge(arcValue)
24975
+ .attr("class", this.model.getColorClassName({
24976
+ classNameTypes: [ColorClassNameTypes.FILL],
24977
+ dataGroupName: "value",
24978
+ originalClassName: "arc-foreground"
24979
+ }))
24980
+ .attr("fill", function (d) { return self.model.getFillColor(d[groupMapsTo]); })
24972
24981
  .attr("d", this.arc)
24973
24982
  // a11y
24974
24983
  .attr("role", Roles.GRAPHICS_SYMBOL)
24975
24984
  .attr("aria-roledescription", "value")
24976
24985
  .attr("aria-label", function (d) { return d.value; });
24977
- // Position Arc
24978
- svg.attr("transform", "translate(" + radius + ", " + radius + ")");
24979
24986
  // draw the value and delta to the center
24980
24987
  this.drawValueNumber();
24981
24988
  this.drawDelta();
24982
24989
  arcValue.exit().remove();
24990
+ var alignment = tools_Tools.getProperty(options, "gauge", "alignment");
24991
+ var width = dom_utils_DOMUtils.getSVGElementSize(this.getParent(), {
24992
+ useAttr: true
24993
+ }).width;
24994
+ // Position gauge
24995
+ var gaugeTranslateX = radius;
24996
+ if (alignment === Alignments.CENTER) {
24997
+ gaugeTranslateX = width / 2;
24998
+ }
24999
+ else if (alignment === Alignments.RIGHT) {
25000
+ gaugeTranslateX = width - radius;
25001
+ }
25002
+ svg.attr("transform", "translate(" + gaugeTranslateX + ", " + radius + ")");
24983
25003
  // Add event listeners
24984
25004
  this.addEventListeners();
24985
25005
  };
@@ -25102,7 +25122,7 @@ var gauge_Gauge = /** @class */ (function (_super) {
25102
25122
  Gauge.prototype.addEventListeners = function () {
25103
25123
  var self = this;
25104
25124
  this.parent
25105
- .selectAll("path.arc")
25125
+ .selectAll("path.arc-foreground")
25106
25126
  .on("mouseover", function (datum) {
25107
25127
  // Dispatch mouse event
25108
25128
  self.services.events.dispatchEvent(Events.Gauge.ARC_MOUSEOVER, {
@@ -25601,43 +25621,6 @@ var skeleton_lines_SkeletonLines = /** @class */ (function (_super) {
25601
25621
  }(skeleton_Skeleton));
25602
25622
 
25603
25623
  //# sourceMappingURL=../../../src/components/graphs/skeleton-lines.js.map
25604
- // CONCATENATED MODULE: ./node_modules/@carbon/charts/components/layout/spacer.js
25605
- var spacer_extends = (undefined && undefined.__extends) || (function () {
25606
- var extendStatics = function (d, b) {
25607
- extendStatics = Object.setPrototypeOf ||
25608
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
25609
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
25610
- return extendStatics(d, b);
25611
- };
25612
- return function (d, b) {
25613
- extendStatics(d, b);
25614
- function __() { this.constructor = d; }
25615
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
25616
- };
25617
- })();
25618
- // Internal Imports
25619
-
25620
-
25621
-
25622
- var spacer_Spacer = /** @class */ (function (_super) {
25623
- spacer_extends(Spacer, _super);
25624
- function Spacer() {
25625
- var _this = _super !== null && _super.apply(this, arguments) || this;
25626
- _this.type = "spacer";
25627
- return _this;
25628
- }
25629
- Spacer.prototype.render = function () {
25630
- dom_utils_DOMUtils.appendOrSelect(this.getContainerSVG(), "rect")
25631
- .attr("x", 0)
25632
- .attr("y", 0)
25633
- .attr("width", this.configs.size || spacers.default.size)
25634
- .attr("height", this.configs.size || spacers.default.size)
25635
- .attr("opacity", 0);
25636
- };
25637
- return Spacer;
25638
- }(component_Component));
25639
-
25640
- //# sourceMappingURL=../../../src/components/layout/spacer.js.map
25641
25624
  // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/d3-hierarchy/src/hierarchy/count.js
25642
25625
  function count_count(node) {
25643
25626
  var sum = 0,
@@ -25799,7 +25782,7 @@ function leastCommonAncestor(a, b) {
25799
25782
 
25800
25783
 
25801
25784
 
25802
- function hierarchy(data, children) {
25785
+ function hierarchy_hierarchy(data, children) {
25803
25786
  var root = new Node(data),
25804
25787
  valued = +data.value && (root.value = data.value),
25805
25788
  node,
@@ -25827,7 +25810,7 @@ function hierarchy(data, children) {
25827
25810
  }
25828
25811
 
25829
25812
  function node_copy() {
25830
- return hierarchy(this).eachBefore(copyData);
25813
+ return hierarchy_hierarchy(this).eachBefore(copyData);
25831
25814
  }
25832
25815
 
25833
25816
  function defaultChildren(d) {
@@ -25851,7 +25834,7 @@ function Node(data) {
25851
25834
  this.parent = null;
25852
25835
  }
25853
25836
 
25854
- Node.prototype = hierarchy.prototype = {
25837
+ Node.prototype = hierarchy_hierarchy.prototype = {
25855
25838
  constructor: Node,
25856
25839
  count: hierarchy_count,
25857
25840
  each: hierarchy_each,
@@ -25867,6 +25850,14 @@ Node.prototype = hierarchy.prototype = {
25867
25850
  copy: node_copy
25868
25851
  };
25869
25852
 
25853
+ // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/d3-hierarchy/src/treemap/round.js
25854
+ /* harmony default export */ var treemap_round = (function(node) {
25855
+ node.x0 = Math.round(node.x0);
25856
+ node.y0 = Math.round(node.y0);
25857
+ node.x1 = Math.round(node.x1);
25858
+ node.y1 = Math.round(node.y1);
25859
+ });
25860
+
25870
25861
  // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/d3-hierarchy/src/treemap/dice.js
25871
25862
  /* harmony default export */ var dice = (function(parent, x0, y0, x1, y1) {
25872
25863
  var nodes = parent.children,
@@ -25895,14 +25886,6 @@ Node.prototype = hierarchy.prototype = {
25895
25886
  }
25896
25887
  });
25897
25888
 
25898
- // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/d3-hierarchy/src/treemap/round.js
25899
- /* harmony default export */ var treemap_round = (function(node) {
25900
- node.x0 = Math.round(node.x0);
25901
- node.y0 = Math.round(node.y0);
25902
- node.x1 = Math.round(node.x1);
25903
- node.y1 = Math.round(node.y1);
25904
- });
25905
-
25906
25889
  // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/d3-hierarchy/src/treemap/squarify.js
25907
25890
 
25908
25891
 
@@ -26088,6 +26071,627 @@ function constantZero() {
26088
26071
  return treemap;
26089
26072
  });
26090
26073
 
26074
+ // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/@carbon/colors/es/index.js
26075
+ /**
26076
+ * Copyright IBM Corp. 2018, 2018
26077
+ *
26078
+ * This source code is licensed under the Apache-2.0 license found in the
26079
+ * LICENSE file in the root directory of this source tree.
26080
+ */
26081
+ var black = '#000000';
26082
+ var black100 = black;
26083
+ var white = '#ffffff';
26084
+ var white0 = white;
26085
+ var yellow = '#f1c21b';
26086
+ var yellow30 = yellow;
26087
+ var orange = '#ff832b';
26088
+ var orange40 = orange;
26089
+ var red10 = '#fff1f1';
26090
+ var red20 = '#ffd7d9';
26091
+ var red30 = '#ffb3b8';
26092
+ var red40 = '#ff8389';
26093
+ var red50 = '#fa4d56';
26094
+ var red60 = '#da1e28';
26095
+ var red70 = '#a2191f';
26096
+ var red80 = '#750e13';
26097
+ var red90 = '#520408';
26098
+ var red100 = '#2d0709';
26099
+ var red = {
26100
+ 10: red10,
26101
+ 20: red20,
26102
+ 30: red30,
26103
+ 40: red40,
26104
+ 50: red50,
26105
+ 60: red60,
26106
+ 70: red70,
26107
+ 80: red80,
26108
+ 90: red90,
26109
+ 100: red100
26110
+ };
26111
+ var magenta10 = '#fff0f7';
26112
+ var magenta20 = '#ffd6e8';
26113
+ var magenta30 = '#ffafd2';
26114
+ var magenta40 = '#ff7eb6';
26115
+ var magenta50 = '#ee5396';
26116
+ var magenta60 = '#d12771';
26117
+ var magenta70 = '#9f1853';
26118
+ var magenta80 = '#740937';
26119
+ var magenta90 = '#510224';
26120
+ var magenta100 = '#2a0a18';
26121
+ var magenta = {
26122
+ 10: magenta10,
26123
+ 20: magenta20,
26124
+ 30: magenta30,
26125
+ 40: magenta40,
26126
+ 50: magenta50,
26127
+ 60: magenta60,
26128
+ 70: magenta70,
26129
+ 80: magenta80,
26130
+ 90: magenta90,
26131
+ 100: magenta100
26132
+ };
26133
+ var purple10 = '#f6f2ff';
26134
+ var purple20 = '#e8daff';
26135
+ var purple30 = '#d4bbff';
26136
+ var purple40 = '#be95ff';
26137
+ var purple50 = '#a56eff';
26138
+ var purple60 = '#8a3ffc';
26139
+ var purple70 = '#6929c4';
26140
+ var purple80 = '#491d8b';
26141
+ var purple90 = '#31135e';
26142
+ var purple100 = '#1c0f30';
26143
+ var purple = {
26144
+ 10: purple10,
26145
+ 20: purple20,
26146
+ 30: purple30,
26147
+ 40: purple40,
26148
+ 50: purple50,
26149
+ 60: purple60,
26150
+ 70: purple70,
26151
+ 80: purple80,
26152
+ 90: purple90,
26153
+ 100: purple100
26154
+ };
26155
+ var blue10 = '#edf5ff';
26156
+ var blue20 = '#d0e2ff';
26157
+ var blue30 = '#a6c8ff';
26158
+ var blue40 = '#78a9ff';
26159
+ var blue50 = '#4589ff';
26160
+ var blue60 = '#0f62fe';
26161
+ var blue70 = '#0043ce';
26162
+ var blue80 = '#002d9c';
26163
+ var blue90 = '#001d6c';
26164
+ var blue100 = '#001141';
26165
+ var blue = {
26166
+ 10: blue10,
26167
+ 20: blue20,
26168
+ 30: blue30,
26169
+ 40: blue40,
26170
+ 50: blue50,
26171
+ 60: blue60,
26172
+ 70: blue70,
26173
+ 80: blue80,
26174
+ 90: blue90,
26175
+ 100: blue100
26176
+ };
26177
+ var cyan10 = '#e5f6ff';
26178
+ var cyan20 = '#bae6ff';
26179
+ var cyan30 = '#82cfff';
26180
+ var cyan40 = '#33b1ff';
26181
+ var cyan50 = '#1192e8';
26182
+ var cyan60 = '#0072c3';
26183
+ var cyan70 = '#00539a';
26184
+ var cyan80 = '#003a6d';
26185
+ var cyan90 = '#012749';
26186
+ var cyan100 = '#061727';
26187
+ var cyan = {
26188
+ 10: cyan10,
26189
+ 20: cyan20,
26190
+ 30: cyan30,
26191
+ 40: cyan40,
26192
+ 50: cyan50,
26193
+ 60: cyan60,
26194
+ 70: cyan70,
26195
+ 80: cyan80,
26196
+ 90: cyan90,
26197
+ 100: cyan100
26198
+ };
26199
+ var teal10 = '#d9fbfb';
26200
+ var teal20 = '#9ef0f0';
26201
+ var teal30 = '#3ddbd9';
26202
+ var teal40 = '#08bdba';
26203
+ var teal50 = '#009d9a';
26204
+ var teal60 = '#007d79';
26205
+ var teal70 = '#005d5d';
26206
+ var teal80 = '#004144';
26207
+ var teal90 = '#022b30';
26208
+ var teal100 = '#081a1c';
26209
+ var teal = {
26210
+ 10: teal10,
26211
+ 20: teal20,
26212
+ 30: teal30,
26213
+ 40: teal40,
26214
+ 50: teal50,
26215
+ 60: teal60,
26216
+ 70: teal70,
26217
+ 80: teal80,
26218
+ 90: teal90,
26219
+ 100: teal100
26220
+ };
26221
+ var green10 = '#defbe6';
26222
+ var green20 = '#a7f0ba';
26223
+ var green30 = '#6fdc8c';
26224
+ var green40 = '#42be65';
26225
+ var green50 = '#24a148';
26226
+ var green60 = '#198038';
26227
+ var green70 = '#0e6027';
26228
+ var green80 = '#044317';
26229
+ var green90 = '#022d0d';
26230
+ var green100 = '#071908';
26231
+ var green = {
26232
+ 10: green10,
26233
+ 20: green20,
26234
+ 30: green30,
26235
+ 40: green40,
26236
+ 50: green50,
26237
+ 60: green60,
26238
+ 70: green70,
26239
+ 80: green80,
26240
+ 90: green90,
26241
+ 100: green100
26242
+ };
26243
+ var coolGray10 = '#f2f4f8';
26244
+ var coolGray20 = '#dde1e6';
26245
+ var coolGray30 = '#c1c7cd';
26246
+ var coolGray40 = '#a2a9b0';
26247
+ var coolGray50 = '#878d96';
26248
+ var coolGray60 = '#697077';
26249
+ var coolGray70 = '#4d5358';
26250
+ var coolGray80 = '#343a3f';
26251
+ var coolGray90 = '#21272a';
26252
+ var coolGray100 = '#121619';
26253
+ var coolGray = {
26254
+ 10: coolGray10,
26255
+ 20: coolGray20,
26256
+ 30: coolGray30,
26257
+ 40: coolGray40,
26258
+ 50: coolGray50,
26259
+ 60: coolGray60,
26260
+ 70: coolGray70,
26261
+ 80: coolGray80,
26262
+ 90: coolGray90,
26263
+ 100: coolGray100
26264
+ };
26265
+ var gray10 = '#f4f4f4';
26266
+ var gray20 = '#e0e0e0';
26267
+ var gray30 = '#c6c6c6';
26268
+ var gray40 = '#a8a8a8';
26269
+ var gray50 = '#8d8d8d';
26270
+ var gray60 = '#6f6f6f';
26271
+ var gray70 = '#525252';
26272
+ var gray80 = '#393939';
26273
+ var gray90 = '#262626';
26274
+ var gray100 = '#161616';
26275
+ var gray = {
26276
+ 10: gray10,
26277
+ 20: gray20,
26278
+ 30: gray30,
26279
+ 40: gray40,
26280
+ 50: gray50,
26281
+ 60: gray60,
26282
+ 70: gray70,
26283
+ 80: gray80,
26284
+ 90: gray90,
26285
+ 100: gray100
26286
+ };
26287
+ var warmGray10 = '#f7f3f2';
26288
+ var warmGray20 = '#e5e0df';
26289
+ var warmGray30 = '#cac5c4';
26290
+ var warmGray40 = '#ada8a8';
26291
+ var warmGray50 = '#8f8b8b';
26292
+ var warmGray60 = '#736f6f';
26293
+ var warmGray70 = '#565151';
26294
+ var warmGray80 = '#3c3838';
26295
+ var warmGray90 = '#272525';
26296
+ var warmGray100 = '#171414';
26297
+ var warmGray = {
26298
+ 10: warmGray10,
26299
+ 20: warmGray20,
26300
+ 30: warmGray30,
26301
+ 40: warmGray40,
26302
+ 50: warmGray50,
26303
+ 60: warmGray60,
26304
+ 70: warmGray70,
26305
+ 80: warmGray80,
26306
+ 90: warmGray90,
26307
+ 100: warmGray100
26308
+ }; // Deprecated ☠️
26309
+
26310
+ var yellow20 = '#fdd13a';
26311
+ var es_colors = {
26312
+ black: {
26313
+ 100: black
26314
+ },
26315
+ blue: blue,
26316
+ coolGray: coolGray,
26317
+ cyan: cyan,
26318
+ gray: gray,
26319
+ green: green,
26320
+ magenta: magenta,
26321
+ orange: {
26322
+ 40: orange40
26323
+ },
26324
+ purple: purple,
26325
+ red: red,
26326
+ teal: teal,
26327
+ warmGray: warmGray,
26328
+ white: {
26329
+ 0: white
26330
+ },
26331
+ yellow: {
26332
+ 20: yellow20,
26333
+ 30: yellow30
26334
+ }
26335
+ };
26336
+
26337
+ /**
26338
+ * Copyright IBM Corp. 2018, 2018
26339
+ *
26340
+ * This source code is licensed under the Apache-2.0 license found in the
26341
+ * LICENSE file in the root directory of this source tree.
26342
+ */
26343
+
26344
+ /**
26345
+ * Parse a given hexcode string into an rgba statement with the given opacity
26346
+ * @param {string} hexcode
26347
+ * @param {number} opacity
26348
+ * @returns {string}
26349
+ */
26350
+ function es_rgba(hexcode, opacity) {
26351
+ var values = [hexcode.substring(1, 3), hexcode.substring(3, 5), hexcode.substring(5, 7)].map(function (string) {
26352
+ return parseInt(string, 16);
26353
+ });
26354
+ return "rgba(".concat(values[0], ", ").concat(values[1], ", ").concat(values[2], ", ").concat(opacity, ")");
26355
+ }
26356
+
26357
+ /**
26358
+ * Copyright IBM Corp. 2018, 2018
26359
+ *
26360
+ * This source code is licensed under the Apache-2.0 license found in the
26361
+ * LICENSE file in the root directory of this source tree.
26362
+ */
26363
+
26364
+
26365
+
26366
+ // CONCATENATED MODULE: ./node_modules/@carbon/charts/components/graphs/treemap.js
26367
+ var treemap_extends = (undefined && undefined.__extends) || (function () {
26368
+ var extendStatics = function (d, b) {
26369
+ extendStatics = Object.setPrototypeOf ||
26370
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26371
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
26372
+ return extendStatics(d, b);
26373
+ };
26374
+ return function (d, b) {
26375
+ extendStatics(d, b);
26376
+ function __() { this.constructor = d; }
26377
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
26378
+ };
26379
+ })();
26380
+ // Internal Imports
26381
+
26382
+
26383
+
26384
+
26385
+ // D3 Imports
26386
+
26387
+
26388
+
26389
+
26390
+ // Carbon colors
26391
+
26392
+ var findColorShade = function (hex) {
26393
+ if (!hex) {
26394
+ return null;
26395
+ }
26396
+ for (var _i = 0, _a = Object.keys(es_colors); _i < _a.length; _i++) {
26397
+ var colorName = _a[_i];
26398
+ var colorShades = es_colors[colorName];
26399
+ for (var _b = 0, _c = Object.keys(colorShades); _b < _c.length; _b++) {
26400
+ var colorShadeLevel = _c[_b];
26401
+ var colorShade = colorShades[colorShadeLevel];
26402
+ if (colorShade === hex) {
26403
+ return colorShadeLevel;
26404
+ }
26405
+ }
26406
+ }
26407
+ return null;
26408
+ };
26409
+ var textFillColor = function () {
26410
+ var correspondingLeaf = src_select(this.parentNode).select("rect.leaf");
26411
+ var correspondingLeafFill = getComputedStyle(correspondingLeaf.node(), null).getPropertyValue("fill");
26412
+ var cl = color_color(correspondingLeafFill);
26413
+ var colorShade;
26414
+ if (cl) {
26415
+ colorShade = findColorShade(cl ? cl.hex() : null);
26416
+ }
26417
+ if (colorShade === null || colorShade === undefined) {
26418
+ var lightness = hsl(cl).l;
26419
+ colorShade = Math.abs(lightness * 100 - 100);
26420
+ }
26421
+ return colorShade > 50 ? "white" : "black";
26422
+ };
26423
+ var uidCounter = 0;
26424
+ var treemap_Treemap = /** @class */ (function (_super) {
26425
+ treemap_extends(Treemap, _super);
26426
+ function Treemap() {
26427
+ var _this = _super !== null && _super.apply(this, arguments) || this;
26428
+ _this.type = "treemap";
26429
+ _this.handleLegendOnHover = function (event) {
26430
+ var hoveredElement = event.detail.hoveredElement;
26431
+ _this.parent
26432
+ .selectAll("g[data-name='leaf']")
26433
+ .transition(_this.services.transitions.getTransition("legend-hover-treemap"))
26434
+ .attr("opacity", function (d) {
26435
+ return d.parent.data.name === hoveredElement.datum()["name"] ? 1 : 0.3;
26436
+ });
26437
+ };
26438
+ _this.handleLegendMouseOut = function (event) {
26439
+ _this.parent
26440
+ .selectAll("g[data-name='leaf']")
26441
+ .transition(_this.services.transitions.getTransition("legend-mouseout-treemap"))
26442
+ .attr("opacity", 1);
26443
+ };
26444
+ return _this;
26445
+ }
26446
+ Treemap.prototype.init = function () {
26447
+ var events = this.services.events;
26448
+ // Highlight correct circle on legend item hovers
26449
+ events.addEventListener(Events.Legend.ITEM_HOVER, this.handleLegendOnHover);
26450
+ // Un-highlight circles on legend item mouseouts
26451
+ events.addEventListener(Events.Legend.ITEM_MOUSEOUT, this.handleLegendMouseOut);
26452
+ };
26453
+ Treemap.prototype.render = function (animate) {
26454
+ var _this = this;
26455
+ if (animate === void 0) { animate = true; }
26456
+ var svg = this.getContainerSVG();
26457
+ var allData = this.model.getData();
26458
+ var displayData = this.model.getDisplayData();
26459
+ var options = this.model.getOptions();
26460
+ var windowLocation = tools_Tools.getProperty(window, "location");
26461
+ var _a = dom_utils_DOMUtils.getSVGElementSize(this.parent, {
26462
+ useAttrs: true
26463
+ }), width = _a.width, height = _a.height;
26464
+ var hierarchy = hierarchy_hierarchy({
26465
+ name: options.title || "Treemap",
26466
+ children: displayData
26467
+ })
26468
+ .sum(function (d) { return d.value; })
26469
+ .sort(function (a, b) { return b.value - a.value; });
26470
+ var total = src_sum(allData, function (d) {
26471
+ return src_sum(d.children, function (child) { return child.value; });
26472
+ });
26473
+ var root = src_treemap()
26474
+ .size([width, height])
26475
+ .paddingInner(1)
26476
+ .paddingOuter(0)
26477
+ .round(true)(hierarchy);
26478
+ var transitions = this.services.transitions;
26479
+ var leafGroups = svg
26480
+ .selectAll("g[data-name='leaf']")
26481
+ .data(root.leaves(), function (leaf) { return leaf.data.name; });
26482
+ // Remove leaf groups that need to be removed
26483
+ leafGroups.exit().attr("opacity", 0).remove();
26484
+ // Add the leaf groups that need to be introduced
26485
+ var enteringLeafGroups = leafGroups
26486
+ .enter()
26487
+ .append("g")
26488
+ .attr("data-name", "leaf")
26489
+ .attr("data-uid", function () { return uidCounter++; });
26490
+ var allLeafGroups = enteringLeafGroups.merge(leafGroups);
26491
+ allLeafGroups
26492
+ .attr("data-name", "leaf")
26493
+ .transition(transitions.getTransition("treemap-group-update", animate))
26494
+ .attr("transform", function (d) { return "translate(" + d.x0 + "," + d.y0 + ")"; });
26495
+ var rects = allLeafGroups.selectAll("rect.leaf").data(function (d) { return [d]; });
26496
+ rects.exit().attr("width", 0).attr("height", 0).remove();
26497
+ var enteringRects = rects
26498
+ .enter()
26499
+ .append("rect")
26500
+ .classed("leaf", true);
26501
+ enteringRects
26502
+ .merge(rects)
26503
+ .attr("width", 0)
26504
+ .attr("height", 0)
26505
+ .attr("id", function () {
26506
+ var uid = src_select(this.parentNode).attr("data-uid");
26507
+ return options.style.prefix + "-leaf-" + uid;
26508
+ })
26509
+ .attr("class", function (d) {
26510
+ while (d.depth > 1)
26511
+ d = d.parent;
26512
+ return _this.model.getColorClassName({
26513
+ classNameTypes: [ColorClassNameTypes.FILL],
26514
+ dataGroupName: d.data.name,
26515
+ originalClassName: "leaf"
26516
+ });
26517
+ })
26518
+ .transition(this.services.transitions.getTransition("treemap-leaf-update-enter", animate))
26519
+ .attr("width", function (d) { return d.x1 - d.x0; })
26520
+ .attr("height", function (d) { return d.y1 - d.y0; });
26521
+ // Update all clip paths
26522
+ allLeafGroups
26523
+ .selectAll("clipPath")
26524
+ .data(function (d) {
26525
+ if (d.data.showLabel !== true) {
26526
+ return [];
26527
+ }
26528
+ return [1];
26529
+ }, function (d) { return d; })
26530
+ .join(function (enter) {
26531
+ enter
26532
+ .append("clipPath")
26533
+ .attr("id", function () {
26534
+ var uid = src_select(this.parentNode).attr("data-uid");
26535
+ return options.style.prefix + "-clip-" + uid;
26536
+ })
26537
+ .append("use")
26538
+ .attr("xlink:href", function () {
26539
+ var uid = src_select(this.parentNode.parentNode).attr("data-uid");
26540
+ var leafID = options.style.prefix + "-leaf-" + uid;
26541
+ return new URL("#" + leafID, windowLocation) + "";
26542
+ });
26543
+ }, function (update) { return null; }, function (exit) { return exit.remove(); });
26544
+ // Update all titles
26545
+ allLeafGroups
26546
+ .selectAll("text")
26547
+ .data(function (d) {
26548
+ if (d.data.showLabel !== true) {
26549
+ return [];
26550
+ }
26551
+ var parent = d;
26552
+ while (parent.depth > 1)
26553
+ parent = parent.parent;
26554
+ var color = hsl(_this.model.getFillColor(parent.data.name));
26555
+ return [
26556
+ {
26557
+ text: d.data.name,
26558
+ color: color.l < 0.5 ? "white" : "black"
26559
+ }
26560
+ ];
26561
+ }, function (d) { return d; })
26562
+ .join(function (enter) {
26563
+ var addedText = enter
26564
+ .append("text")
26565
+ .text(function (d) { return d.text; })
26566
+ .style("fill", textFillColor)
26567
+ .attr("x", 7)
26568
+ .attr("y", 18);
26569
+ if (windowLocation) {
26570
+ addedText.attr("clip-path", function () {
26571
+ var uid = src_select(this.parentNode).attr("data-uid");
26572
+ var clipPathID = options.style.prefix + "-clip-" + uid;
26573
+ return "url(" + (new URL("#" + clipPathID, windowLocation) + "") + ")";
26574
+ });
26575
+ }
26576
+ }, function (update) {
26577
+ return update.text(function (d) { return d.text; }).style("fill", textFillColor);
26578
+ }, function (exit) { return exit.remove(); });
26579
+ // Add event listeners to elements drawn
26580
+ this.addEventListeners();
26581
+ };
26582
+ Treemap.prototype.addEventListeners = function () {
26583
+ var self = this;
26584
+ this.parent
26585
+ .selectAll("rect.leaf")
26586
+ .on("mouseover", function (datum) {
26587
+ var hoveredElement = src_select(this);
26588
+ var fillColor = getComputedStyle(this, null).getPropertyValue("fill");
26589
+ var parent = datum;
26590
+ while (parent.depth > 1)
26591
+ parent = parent.parent;
26592
+ hoveredElement
26593
+ .transition(self.services.transitions.getTransition("graph_element_mouseover_fill_update"))
26594
+ .style("fill", function (d) {
26595
+ return color_color(fillColor).darker(0.7).toString();
26596
+ });
26597
+ // Show tooltip
26598
+ self.services.events.dispatchEvent(Events.Tooltip.SHOW, {
26599
+ hoveredElement: hoveredElement,
26600
+ items: [
26601
+ {
26602
+ color: fillColor,
26603
+ label: parent.data.name,
26604
+ bold: true
26605
+ },
26606
+ {
26607
+ label: datum.data.name,
26608
+ value: datum.data.value
26609
+ }
26610
+ ]
26611
+ });
26612
+ // Dispatch mouse event
26613
+ self.services.events.dispatchEvent(Events.Treemap.LEAF_MOUSEOVER, {
26614
+ element: hoveredElement,
26615
+ datum: datum
26616
+ });
26617
+ })
26618
+ .on("mousemove", function (datum) {
26619
+ var hoveredElement = src_select(this);
26620
+ // Dispatch mouse event
26621
+ self.services.events.dispatchEvent(Events.Treemap.LEAF_MOUSEMOVE, {
26622
+ element: hoveredElement,
26623
+ datum: datum
26624
+ });
26625
+ self.services.events.dispatchEvent(Events.Tooltip.MOVE);
26626
+ })
26627
+ .on("click", function (datum) {
26628
+ // Dispatch mouse event
26629
+ self.services.events.dispatchEvent(Events.Treemap.LEAF_CLICK, {
26630
+ element: src_select(this),
26631
+ datum: datum
26632
+ });
26633
+ })
26634
+ .on("mouseout", function (datum) {
26635
+ var hoveredElement = src_select(this);
26636
+ hoveredElement.classed("hovered", false);
26637
+ var parent = datum;
26638
+ while (parent.depth > 1)
26639
+ parent = parent.parent;
26640
+ hoveredElement
26641
+ .transition(self.services.transitions.getTransition("graph_element_mouseout_fill_update"))
26642
+ .style("fill", null);
26643
+ // Dispatch mouse event
26644
+ self.services.events.dispatchEvent(Events.Treemap.LEAF_MOUSEOUT, {
26645
+ element: hoveredElement,
26646
+ datum: datum
26647
+ });
26648
+ // Hide tooltip
26649
+ self.services.events.dispatchEvent(Events.Tooltip.HIDE, {
26650
+ hoveredElement: hoveredElement
26651
+ });
26652
+ });
26653
+ };
26654
+ return Treemap;
26655
+ }(component_Component));
26656
+
26657
+ //# sourceMappingURL=../../../src/components/graphs/treemap.js.map
26658
+ // CONCATENATED MODULE: ./node_modules/@carbon/charts/components/layout/spacer.js
26659
+ var spacer_extends = (undefined && undefined.__extends) || (function () {
26660
+ var extendStatics = function (d, b) {
26661
+ extendStatics = Object.setPrototypeOf ||
26662
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26663
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
26664
+ return extendStatics(d, b);
26665
+ };
26666
+ return function (d, b) {
26667
+ extendStatics(d, b);
26668
+ function __() { this.constructor = d; }
26669
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
26670
+ };
26671
+ })();
26672
+ // Internal Imports
26673
+
26674
+
26675
+
26676
+ var spacer_Spacer = /** @class */ (function (_super) {
26677
+ spacer_extends(Spacer, _super);
26678
+ function Spacer() {
26679
+ var _this = _super !== null && _super.apply(this, arguments) || this;
26680
+ _this.type = "spacer";
26681
+ return _this;
26682
+ }
26683
+ Spacer.prototype.render = function () {
26684
+ dom_utils_DOMUtils.appendOrSelect(this.getContainerSVG(), "rect")
26685
+ .attr("x", 0)
26686
+ .attr("y", 0)
26687
+ .attr("width", this.configs.size || spacers.default.size)
26688
+ .attr("height", this.configs.size || spacers.default.size)
26689
+ .attr("opacity", 0);
26690
+ };
26691
+ return Spacer;
26692
+ }(component_Component));
26693
+
26694
+ //# sourceMappingURL=../../../src/components/layout/spacer.js.map
26091
26695
  // CONCATENATED MODULE: ./node_modules/@carbon/charts/components/layout/layout.js
26092
26696
  var layout_extends = (undefined && undefined.__extends) || (function () {
26093
26697
  var extendStatics = function (d, b) {
@@ -26168,7 +26772,7 @@ var layout_LayoutComponent = /** @class */ (function (_super) {
26168
26772
  var _a = dom_utils_DOMUtils.getSVGElementSize(svg, {
26169
26773
  useAttrs: true
26170
26774
  }), width = _a.width, height = _a.height;
26171
- var root = hierarchy({
26775
+ var root = hierarchy_hierarchy({
26172
26776
  children: this.children
26173
26777
  }).sum(function (d) { return d.size; });
26174
26778
  // Grab the correct treemap tile function based on direction
@@ -26245,7 +26849,7 @@ var layout_LayoutComponent = /** @class */ (function (_super) {
26245
26849
  });
26246
26850
  // Pass children data to the hierarchy layout
26247
26851
  // And calculate sum of sizes
26248
- root = hierarchy({
26852
+ root = hierarchy_hierarchy({
26249
26853
  children: this.children
26250
26854
  }).sum(function (d) { return d.size; });
26251
26855
  // Compute the position of all elements within the layout
@@ -27106,6 +27710,10 @@ var two_dimensional_axes_TwoDimensionalAxes = /** @class */ (function (_super) {
27106
27710
  offset = dom_utils_DOMUtils.getSVGElementSize(child.getTitleRef(), {
27107
27711
  useBBox: true
27108
27712
  }).height;
27713
+ if (axisPosition === AxisPositions.LEFT ||
27714
+ axisPosition === AxisPositions.RIGHT) {
27715
+ offset += 5;
27716
+ }
27109
27717
  }
27110
27718
  switch (axisPosition) {
27111
27719
  case AxisPositions.TOP:
@@ -28951,10 +29559,6 @@ var zero_line_ZeroLine = /** @class */ (function (_super) {
28951
29559
  }(component_Component));
28952
29560
 
28953
29561
  //# sourceMappingURL=../../../src/components/axes/zero-line.js.map
28954
- // EXTERNAL MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/lodash/isEmpty.js
28955
- var isEmpty = __webpack_require__("330a");
28956
- var isEmpty_default = /*#__PURE__*/__webpack_require__.n(isEmpty);
28957
-
28958
29562
  // CONCATENATED MODULE: ./node_modules/@carbon/charts/components/axes/zoom-bar.js
28959
29563
  var zoom_bar_extends = (undefined && undefined.__extends) || (function () {
28960
29564
  var extendStatics = function (d, b) {
@@ -28975,7 +29579,6 @@ var zoom_bar_extends = (undefined && undefined.__extends) || (function () {
28975
29579
 
28976
29580
 
28977
29581
 
28978
-
28979
29582
  // D3 Imports
28980
29583
 
28981
29584
 
@@ -29059,7 +29662,7 @@ var zoom_bar_ZoomBar = /** @class */ (function (_super) {
29059
29662
  var mainXScaleType = cartesianScales.getMainXScaleType();
29060
29663
  if (mainXScale && mainXScaleType === ScaleTypes.TIME) {
29061
29664
  var zoomBarData = this.services.zoom.getZoomBarData();
29062
- if (isEmpty_default()(zoomBarData)) {
29665
+ if (tools_Tools.isEmpty(zoomBarData)) {
29063
29666
  // if there's no zoom bar data we can't do anything
29064
29667
  return;
29065
29668
  }
@@ -29393,6 +29996,7 @@ var zoom_bar_ZoomBar = /** @class */ (function (_super) {
29393
29996
 
29394
29997
 
29395
29998
 
29999
+
29396
30000
  // Layout
29397
30001
 
29398
30002
 
@@ -29609,6 +30213,7 @@ var model_cartesian_charts_extends = (undefined && undefined.__extends) || (func
29609
30213
  // Internal Imports
29610
30214
 
29611
30215
 
30216
+
29612
30217
  /**
29613
30218
  * This supports adding X and Y Cartesian[2D] zoom data to a ChartModel
29614
30219
  * */
@@ -29621,7 +30226,7 @@ var model_cartesian_charts_ChartModelCartesian = /** @class */ (function (_super
29621
30226
  var data;
29622
30227
  if (newData) {
29623
30228
  data = _super.prototype.setData.call(this, newData);
29624
- if (tools_Tools.getProperty(this.getOptions(), "zoomBar")) {
30229
+ if (tools_Tools.getProperty(this.getOptions(), "zoomBar", "top", "enabled")) {
29625
30230
  // if we have zoom bar data we need to update it as well
29626
30231
  this.setZoomBarData();
29627
30232
  }
@@ -29667,6 +30272,39 @@ var model_cartesian_charts_ChartModelCartesian = /** @class */ (function (_super
29667
30272
  ChartModelCartesian.prototype.getZoomBarData = function () {
29668
30273
  return this.get("zoomBarData");
29669
30274
  };
30275
+ ChartModelCartesian.prototype.sanitizeDateValues = function (data) {
30276
+ var options = this.getOptions();
30277
+ if (!options.axes) {
30278
+ return data;
30279
+ }
30280
+ var keysToCheck = [];
30281
+ Object.keys(AxisPositions).forEach(function (axisPositionKey) {
30282
+ var axisPosition = AxisPositions[axisPositionKey];
30283
+ var axisOptions = options.axes[axisPosition];
30284
+ if (axisOptions && axisOptions.scaleType === ScaleTypes.TIME) {
30285
+ var axisMapsTo = axisOptions.mapsTo;
30286
+ if (axisMapsTo !== null || axisMapsTo !== undefined) {
30287
+ keysToCheck.push(axisMapsTo);
30288
+ }
30289
+ }
30290
+ });
30291
+ if (keysToCheck.length > 0) {
30292
+ // Check all datapoints and sanitize dates
30293
+ data.forEach(function (datum) {
30294
+ keysToCheck.forEach(function (key) {
30295
+ if (tools_Tools.getProperty(datum, key, "getTime") === null) {
30296
+ datum[key] = new Date(datum[key]);
30297
+ }
30298
+ });
30299
+ });
30300
+ }
30301
+ return data;
30302
+ };
30303
+ ChartModelCartesian.prototype.sanitize = function (data) {
30304
+ data = _super.prototype.sanitize.call(this, data);
30305
+ data = this.sanitizeDateValues(data);
30306
+ return data;
30307
+ };
29670
30308
  return ChartModelCartesian;
29671
30309
  }(model_ChartModel));
29672
30310
 
@@ -31449,6 +32087,35 @@ var radar_RadarChart = /** @class */ (function (_super) {
31449
32087
  }(chart_Chart));
31450
32088
 
31451
32089
  //# sourceMappingURL=../../src/charts/radar.js.map
32090
+ // CONCATENATED MODULE: ./node_modules/@carbon/charts/model-gauge.js
32091
+ var model_gauge_extends = (undefined && undefined.__extends) || (function () {
32092
+ var extendStatics = function (d, b) {
32093
+ extendStatics = Object.setPrototypeOf ||
32094
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
32095
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
32096
+ return extendStatics(d, b);
32097
+ };
32098
+ return function (d, b) {
32099
+ extendStatics(d, b);
32100
+ function __() { this.constructor = d; }
32101
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
32102
+ };
32103
+ })();
32104
+ // Internal Imports
32105
+
32106
+ /** The gauge chart model layer */
32107
+ var GaugeChartModel = /** @class */ (function (_super) {
32108
+ model_gauge_extends(GaugeChartModel, _super);
32109
+ function GaugeChartModel(services) {
32110
+ return _super.call(this, services) || this;
32111
+ }
32112
+ GaugeChartModel.prototype.getDataGroups = function () {
32113
+ return _super.prototype.getDataGroups.call(this).filter(function (item) { return item.name !== "delta"; });
32114
+ };
32115
+ return GaugeChartModel;
32116
+ }(model_ChartModel));
32117
+
32118
+ //# sourceMappingURL=../src/model-gauge.js.map
31452
32119
  // CONCATENATED MODULE: ./node_modules/@carbon/charts/charts/gauge.js
31453
32120
  var charts_gauge_extends = (undefined && undefined.__extends) || (function () {
31454
32121
  var extendStatics = function (d, b) {
@@ -31467,12 +32134,14 @@ var charts_gauge_extends = (undefined && undefined.__extends) || (function () {
31467
32134
 
31468
32135
 
31469
32136
 
32137
+
31470
32138
  // Components
31471
32139
 
31472
32140
  var gauge_GaugeChart = /** @class */ (function (_super) {
31473
32141
  charts_gauge_extends(GaugeChart, _super);
31474
32142
  function GaugeChart(holder, chartConfigs) {
31475
32143
  var _this = _super.call(this, holder, chartConfigs) || this;
32144
+ _this.model = new GaugeChartModel(_this.services);
31476
32145
  // Merge the default options for this chart
31477
32146
  // With the user provided options
31478
32147
  _this.model.setOptions(tools_Tools.mergeDefaultChartOptions(configuration_options.gaugeChart, chartConfigs.options));
@@ -31490,6 +32159,48 @@ var gauge_GaugeChart = /** @class */ (function (_super) {
31490
32159
  }(chart_Chart));
31491
32160
 
31492
32161
  //# sourceMappingURL=../../src/charts/gauge.js.map
32162
+ // CONCATENATED MODULE: ./node_modules/@carbon/charts/charts/treemap.js
32163
+ var charts_treemap_extends = (undefined && undefined.__extends) || (function () {
32164
+ var extendStatics = function (d, b) {
32165
+ extendStatics = Object.setPrototypeOf ||
32166
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
32167
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
32168
+ return extendStatics(d, b);
32169
+ };
32170
+ return function (d, b) {
32171
+ extendStatics(d, b);
32172
+ function __() { this.constructor = d; }
32173
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
32174
+ };
32175
+ })();
32176
+ // Internal Imports
32177
+
32178
+
32179
+
32180
+ // Components
32181
+
32182
+ var treemap_TreemapChart = /** @class */ (function (_super) {
32183
+ charts_treemap_extends(TreemapChart, _super);
32184
+ function TreemapChart(holder, chartConfigs) {
32185
+ var _this = _super.call(this, holder, chartConfigs) || this;
32186
+ // Merge the default options for this chart
32187
+ // With the user provided options
32188
+ _this.model.setOptions(tools_Tools.mergeDefaultChartOptions(configuration_options.treemapChart, chartConfigs.options));
32189
+ // Initialize data, services, components etc.
32190
+ _this.init(holder, chartConfigs);
32191
+ return _this;
32192
+ }
32193
+ TreemapChart.prototype.getComponents = function () {
32194
+ // Specify what to render inside the graph-frame
32195
+ var graphFrameComponents = [new treemap_Treemap(this.model, this.services)];
32196
+ // get the base chart components and export with tooltip
32197
+ var components = this.getChartComponents(graphFrameComponents);
32198
+ return components;
32199
+ };
32200
+ return TreemapChart;
32201
+ }(chart_Chart));
32202
+
32203
+ //# sourceMappingURL=../../src/charts/treemap.js.map
31493
32204
  // CONCATENATED MODULE: ./node_modules/@carbon/charts/charts/index.js
31494
32205
 
31495
32206
 
@@ -31504,6 +32215,7 @@ var gauge_GaugeChart = /** @class */ (function (_super) {
31504
32215
 
31505
32216
 
31506
32217
 
32218
+
31507
32219
  //# sourceMappingURL=../../src/charts/index.js.map
31508
32220
  // CONCATENATED MODULE: ./node_modules/@carbon/charts/index.js
31509
32221
 
@@ -32253,6 +32965,52 @@ var ccv_radar_chart_component = normalizeComponent(
32253
32965
  )
32254
32966
 
32255
32967
  /* harmony default export */ var ccv_radar_chart = (ccv_radar_chart_component.exports);
32968
+ // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"624081f5-vue-loader-template"}!/home/travis/build/carbon-design-system/carbon-charts/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/home/travis/build/carbon-design-system/carbon-charts/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/carbon-design-system/carbon-charts/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-treemap-chart.vue?vue&type=template&id=1bc226ef&
32969
+ var ccv_treemap_chartvue_type_template_id_1bc226ef_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"ccv-treemap-chart"})}
32970
+ var ccv_treemap_chartvue_type_template_id_1bc226ef_staticRenderFns = []
32971
+
32972
+
32973
+ // CONCATENATED MODULE: ./src/ccv-treemap-chart.vue?vue&type=template&id=1bc226ef&
32974
+
32975
+ // CONCATENATED MODULE: /home/travis/build/carbon-design-system/carbon-charts/node_modules/cache-loader/dist/cjs.js??ref--12-0!/home/travis/build/carbon-design-system/carbon-charts/node_modules/thread-loader/dist/cjs.js!/home/travis/build/carbon-design-system/carbon-charts/node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!/home/travis/build/carbon-design-system/carbon-charts/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/travis/build/carbon-design-system/carbon-charts/node_modules/vue-loader/lib??vue-loader-options!./src/ccv-treemap-chart.vue?vue&type=script&lang=js&
32976
+ //
32977
+ //
32978
+ //
32979
+ //
32980
+
32981
+
32982
+ /* harmony default export */ var ccv_treemap_chartvue_type_script_lang_js_ = ({
32983
+ name: 'CcvTreemapChart',
32984
+ extends: ccv_base_chart,
32985
+ mounted: function mounted() {
32986
+ this.coreChart = new treemap_TreemapChart(this.$el, {
32987
+ data: this.data,
32988
+ options: this.options
32989
+ });
32990
+ }
32991
+ });
32992
+ // CONCATENATED MODULE: ./src/ccv-treemap-chart.vue?vue&type=script&lang=js&
32993
+ /* harmony default export */ var src_ccv_treemap_chartvue_type_script_lang_js_ = (ccv_treemap_chartvue_type_script_lang_js_);
32994
+ // CONCATENATED MODULE: ./src/ccv-treemap-chart.vue
32995
+
32996
+
32997
+
32998
+
32999
+
33000
+ /* normalize component */
33001
+
33002
+ var ccv_treemap_chart_component = normalizeComponent(
33003
+ src_ccv_treemap_chartvue_type_script_lang_js_,
33004
+ ccv_treemap_chartvue_type_template_id_1bc226ef_render,
33005
+ ccv_treemap_chartvue_type_template_id_1bc226ef_staticRenderFns,
33006
+ false,
33007
+ null,
33008
+ null,
33009
+ null
33010
+
33011
+ )
33012
+
33013
+ /* harmony default export */ var ccv_treemap_chart = (ccv_treemap_chart_component.exports);
32256
33014
  // CONCATENATED MODULE: ./src/index.js
32257
33015
 
32258
33016
 
@@ -32277,7 +33035,8 @@ var ccv_radar_chart_component = normalizeComponent(
32277
33035
 
32278
33036
 
32279
33037
 
32280
- var src_components = [ccv_area_chart, ccv_stacked_area_chart, ccv_simple_bar_chart, ccv_grouped_bar_chart, ccv_stacked_bar_chart, ccv_bubble_chart, ccv_donut_chart, ccv_gauge_chart, ccv_line_chart, ccv_pie_chart, ccv_scatter_chart, ccv_meter_chart, ccv_radar_chart];
33038
+
33039
+ var src_components = [ccv_area_chart, ccv_stacked_area_chart, ccv_simple_bar_chart, ccv_grouped_bar_chart, ccv_stacked_bar_chart, ccv_bubble_chart, ccv_donut_chart, ccv_gauge_chart, ccv_line_chart, ccv_pie_chart, ccv_scatter_chart, ccv_meter_chart, ccv_radar_chart, ccv_treemap_chart];
32281
33040
  /*
32282
33041
  Allows the module to be used as a Vue plug-in, and has an install()
32283
33042
  method (which is called when the plug-in loads) that registers all the
@@ -32367,6 +33126,7 @@ var src_components = [ccv_area_chart, ccv_stacked_area_chart, ccv_simple_bar_cha
32367
33126
  /* concated harmony reexport CcvScatterChart */__webpack_require__.d(__webpack_exports__, "CcvScatterChart", function() { return ccv_scatter_chart; });
32368
33127
  /* concated harmony reexport CcvMeterChart */__webpack_require__.d(__webpack_exports__, "CcvMeterChart", function() { return ccv_meter_chart; });
32369
33128
  /* concated harmony reexport CcvRadarChart */__webpack_require__.d(__webpack_exports__, "CcvRadarChart", function() { return ccv_radar_chart; });
33129
+ /* concated harmony reexport CcvTreemapChart */__webpack_require__.d(__webpack_exports__, "CcvTreemapChart", function() { return ccv_treemap_chart; });
32370
33130
 
32371
33131
 
32372
33132
  /* harmony default export */ var entry_lib = __webpack_exports__["default"] = (src);
@@ -32425,22 +33185,6 @@ module.exports = {
32425
33185
  };
32426
33186
 
32427
33187
 
32428
- /***/ }),
32429
-
32430
- /***/ "201b":
32431
- /***/ (function(module, exports, __webpack_require__) {
32432
-
32433
- var freeGlobal = __webpack_require__("7bdd");
32434
-
32435
- /** Detect free variable `self`. */
32436
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
32437
-
32438
- /** Used as a reference to the global object. */
32439
- var root = freeGlobal || freeSelf || Function('return this')();
32440
-
32441
- module.exports = root;
32442
-
32443
-
32444
33188
  /***/ }),
32445
33189
 
32446
33190
  /***/ "2117":
@@ -32472,20 +33216,6 @@ module.exports = function (fn, that, length) {
32472
33216
  };
32473
33217
 
32474
33218
 
32475
- /***/ }),
32476
-
32477
- /***/ "212d":
32478
- /***/ (function(module, exports, __webpack_require__) {
32479
-
32480
- var getNative = __webpack_require__("bf10"),
32481
- root = __webpack_require__("201b");
32482
-
32483
- /* Built-in method references that are verified to be native. */
32484
- var Promise = getNative(root, 'Promise');
32485
-
32486
- module.exports = Promise;
32487
-
32488
-
32489
33219
  /***/ }),
32490
33220
 
32491
33221
  /***/ "2402":
@@ -32494,59 +33224,6 @@ module.exports = Promise;
32494
33224
  exports.f = Object.getOwnPropertySymbols;
32495
33225
 
32496
33226
 
32497
- /***/ }),
32498
-
32499
- /***/ "2822":
32500
- /***/ (function(module, exports, __webpack_require__) {
32501
-
32502
- var Symbol = __webpack_require__("4b2c");
32503
-
32504
- /** Used for built-in method references. */
32505
- var objectProto = Object.prototype;
32506
-
32507
- /** Used to check objects for own properties. */
32508
- var hasOwnProperty = objectProto.hasOwnProperty;
32509
-
32510
- /**
32511
- * Used to resolve the
32512
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
32513
- * of values.
32514
- */
32515
- var nativeObjectToString = objectProto.toString;
32516
-
32517
- /** Built-in value references. */
32518
- var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
32519
-
32520
- /**
32521
- * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
32522
- *
32523
- * @private
32524
- * @param {*} value The value to query.
32525
- * @returns {string} Returns the raw `toStringTag`.
32526
- */
32527
- function getRawTag(value) {
32528
- var isOwn = hasOwnProperty.call(value, symToStringTag),
32529
- tag = value[symToStringTag];
32530
-
32531
- try {
32532
- value[symToStringTag] = undefined;
32533
- var unmasked = true;
32534
- } catch (e) {}
32535
-
32536
- var result = nativeObjectToString.call(value);
32537
- if (unmasked) {
32538
- if (isOwn) {
32539
- value[symToStringTag] = tag;
32540
- } else {
32541
- delete value[symToStringTag];
32542
- }
32543
- }
32544
- return result;
32545
- }
32546
-
32547
- module.exports = getRawTag;
32548
-
32549
-
32550
33227
  /***/ }),
32551
33228
 
32552
33229
  /***/ "2da1":
@@ -33702,90 +34379,6 @@ module.exports = function (IteratorConstructor, NAME, next) {
33702
34379
  };
33703
34380
 
33704
34381
 
33705
- /***/ }),
33706
-
33707
- /***/ "330a":
33708
- /***/ (function(module, exports, __webpack_require__) {
33709
-
33710
- var baseKeys = __webpack_require__("e2e2"),
33711
- getTag = __webpack_require__("9243"),
33712
- isArguments = __webpack_require__("6efc"),
33713
- isArray = __webpack_require__("c316"),
33714
- isArrayLike = __webpack_require__("f72d"),
33715
- isBuffer = __webpack_require__("dda8"),
33716
- isPrototype = __webpack_require__("09b2"),
33717
- isTypedArray = __webpack_require__("41dd");
33718
-
33719
- /** `Object#toString` result references. */
33720
- var mapTag = '[object Map]',
33721
- setTag = '[object Set]';
33722
-
33723
- /** Used for built-in method references. */
33724
- var objectProto = Object.prototype;
33725
-
33726
- /** Used to check objects for own properties. */
33727
- var hasOwnProperty = objectProto.hasOwnProperty;
33728
-
33729
- /**
33730
- * Checks if `value` is an empty object, collection, map, or set.
33731
- *
33732
- * Objects are considered empty if they have no own enumerable string keyed
33733
- * properties.
33734
- *
33735
- * Array-like values such as `arguments` objects, arrays, buffers, strings, or
33736
- * jQuery-like collections are considered empty if they have a `length` of `0`.
33737
- * Similarly, maps and sets are considered empty if they have a `size` of `0`.
33738
- *
33739
- * @static
33740
- * @memberOf _
33741
- * @since 0.1.0
33742
- * @category Lang
33743
- * @param {*} value The value to check.
33744
- * @returns {boolean} Returns `true` if `value` is empty, else `false`.
33745
- * @example
33746
- *
33747
- * _.isEmpty(null);
33748
- * // => true
33749
- *
33750
- * _.isEmpty(true);
33751
- * // => true
33752
- *
33753
- * _.isEmpty(1);
33754
- * // => true
33755
- *
33756
- * _.isEmpty([1, 2, 3]);
33757
- * // => false
33758
- *
33759
- * _.isEmpty({ 'a': 1 });
33760
- * // => false
33761
- */
33762
- function isEmpty(value) {
33763
- if (value == null) {
33764
- return true;
33765
- }
33766
- if (isArrayLike(value) &&
33767
- (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||
33768
- isBuffer(value) || isTypedArray(value) || isArguments(value))) {
33769
- return !value.length;
33770
- }
33771
- var tag = getTag(value);
33772
- if (tag == mapTag || tag == setTag) {
33773
- return !value.size;
33774
- }
33775
- if (isPrototype(value)) {
33776
- return !baseKeys(value).length;
33777
- }
33778
- for (var key in value) {
33779
- if (hasOwnProperty.call(value, key)) {
33780
- return false;
33781
- }
33782
- }
33783
- return true;
33784
- }
33785
-
33786
- module.exports = isEmpty;
33787
-
33788
-
33789
34382
  /***/ }),
33790
34383
 
33791
34384
  /***/ "332c":
@@ -33895,20 +34488,6 @@ module.exports = function (argument) {
33895
34488
  };
33896
34489
 
33897
34490
 
33898
- /***/ }),
33899
-
33900
- /***/ "3819":
33901
- /***/ (function(module, exports, __webpack_require__) {
33902
-
33903
- var getNative = __webpack_require__("bf10"),
33904
- root = __webpack_require__("201b");
33905
-
33906
- /* Built-in method references that are verified to be native. */
33907
- var Set = getNative(root, 'Set');
33908
-
33909
- module.exports = Set;
33910
-
33911
-
33912
34491
  /***/ }),
33913
34492
 
33914
34493
  /***/ "398c":
@@ -34014,19 +34593,6 @@ var _default = locale;
34014
34593
  exports.default = _default;
34015
34594
  module.exports = exports.default;
34016
34595
 
34017
- /***/ }),
34018
-
34019
- /***/ "3ad3":
34020
- /***/ (function(module, exports, __webpack_require__) {
34021
-
34022
- var overArg = __webpack_require__("4c0b");
34023
-
34024
- /* Built-in method references for those with the same name as other `lodash` methods. */
34025
- var nativeKeys = overArg(Object.keys, Object);
34026
-
34027
- module.exports = nativeKeys;
34028
-
34029
-
34030
34596
  /***/ }),
34031
34597
 
34032
34598
  /***/ "3cec":
@@ -34091,20 +34657,6 @@ var global = __webpack_require__("f498");
34091
34657
  module.exports = global;
34092
34658
 
34093
34659
 
34094
- /***/ }),
34095
-
34096
- /***/ "405d":
34097
- /***/ (function(module, exports, __webpack_require__) {
34098
-
34099
- var getNative = __webpack_require__("bf10"),
34100
- root = __webpack_require__("201b");
34101
-
34102
- /* Built-in method references that are verified to be native. */
34103
- var DataView = getNative(root, 'DataView');
34104
-
34105
- module.exports = DataView;
34106
-
34107
-
34108
34660
  /***/ }),
34109
34661
 
34110
34662
  /***/ "4141":
@@ -34148,96 +34700,6 @@ module.exports = DataView;
34148
34700
  })(document);
34149
34701
 
34150
34702
 
34151
- /***/ }),
34152
-
34153
- /***/ "41dd":
34154
- /***/ (function(module, exports, __webpack_require__) {
34155
-
34156
- var baseIsTypedArray = __webpack_require__("eff8"),
34157
- baseUnary = __webpack_require__("494f"),
34158
- nodeUtil = __webpack_require__("4fab");
34159
-
34160
- /* Node.js helper references. */
34161
- var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
34162
-
34163
- /**
34164
- * Checks if `value` is classified as a typed array.
34165
- *
34166
- * @static
34167
- * @memberOf _
34168
- * @since 3.0.0
34169
- * @category Lang
34170
- * @param {*} value The value to check.
34171
- * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
34172
- * @example
34173
- *
34174
- * _.isTypedArray(new Uint8Array);
34175
- * // => true
34176
- *
34177
- * _.isTypedArray([]);
34178
- * // => false
34179
- */
34180
- var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
34181
-
34182
- module.exports = isTypedArray;
34183
-
34184
-
34185
- /***/ }),
34186
-
34187
- /***/ "494f":
34188
- /***/ (function(module, exports) {
34189
-
34190
- /**
34191
- * The base implementation of `_.unary` without support for storing metadata.
34192
- *
34193
- * @private
34194
- * @param {Function} func The function to cap arguments for.
34195
- * @returns {Function} Returns the new capped function.
34196
- */
34197
- function baseUnary(func) {
34198
- return function(value) {
34199
- return func(value);
34200
- };
34201
- }
34202
-
34203
- module.exports = baseUnary;
34204
-
34205
-
34206
- /***/ }),
34207
-
34208
- /***/ "4b2c":
34209
- /***/ (function(module, exports, __webpack_require__) {
34210
-
34211
- var root = __webpack_require__("201b");
34212
-
34213
- /** Built-in value references. */
34214
- var Symbol = root.Symbol;
34215
-
34216
- module.exports = Symbol;
34217
-
34218
-
34219
- /***/ }),
34220
-
34221
- /***/ "4c0b":
34222
- /***/ (function(module, exports) {
34223
-
34224
- /**
34225
- * Creates a unary function that invokes `func` with its argument transformed.
34226
- *
34227
- * @private
34228
- * @param {Function} func The function to wrap.
34229
- * @param {Function} transform The argument transform.
34230
- * @returns {Function} Returns the new function.
34231
- */
34232
- function overArg(func, transform) {
34233
- return function(arg) {
34234
- return func(transform(arg));
34235
- };
34236
- }
34237
-
34238
- module.exports = overArg;
34239
-
34240
-
34241
34703
  /***/ }),
34242
34704
 
34243
34705
  /***/ "4cdd":
@@ -34328,44 +34790,6 @@ var wellKnownSymbol = __webpack_require__("7d53");
34328
34790
  exports.f = wellKnownSymbol;
34329
34791
 
34330
34792
 
34331
- /***/ }),
34332
-
34333
- /***/ "4fab":
34334
- /***/ (function(module, exports, __webpack_require__) {
34335
-
34336
- /* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__("7bdd");
34337
-
34338
- /** Detect free variable `exports`. */
34339
- var freeExports = true && exports && !exports.nodeType && exports;
34340
-
34341
- /** Detect free variable `module`. */
34342
- var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
34343
-
34344
- /** Detect the popular CommonJS extension `module.exports`. */
34345
- var moduleExports = freeModule && freeModule.exports === freeExports;
34346
-
34347
- /** Detect free variable `process` from Node.js. */
34348
- var freeProcess = moduleExports && freeGlobal.process;
34349
-
34350
- /** Used to access faster Node.js helpers. */
34351
- var nodeUtil = (function() {
34352
- try {
34353
- // Use `util.types` for Node.js 10+.
34354
- var types = freeModule && freeModule.require && freeModule.require('util').types;
34355
-
34356
- if (types) {
34357
- return types;
34358
- }
34359
-
34360
- // Legacy `process.binding('util')` for Node.js < 10.
34361
- return freeProcess && freeProcess.binding && freeProcess.binding('util');
34362
- } catch (e) {}
34363
- }());
34364
-
34365
- module.exports = nodeUtil;
34366
-
34367
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("6984")(module)))
34368
-
34369
34793
  /***/ }),
34370
34794
 
34371
34795
  /***/ "5268":
@@ -34549,35 +34973,6 @@ var defineWellKnownSymbol = __webpack_require__("6a89");
34549
34973
  defineWellKnownSymbol('iterator');
34550
34974
 
34551
34975
 
34552
- /***/ }),
34553
-
34554
- /***/ "6984":
34555
- /***/ (function(module, exports) {
34556
-
34557
- module.exports = function(module) {
34558
- if (!module.webpackPolyfill) {
34559
- module.deprecate = function() {};
34560
- module.paths = [];
34561
- // module.parent = undefined by default
34562
- if (!module.children) module.children = [];
34563
- Object.defineProperty(module, "loaded", {
34564
- enumerable: true,
34565
- get: function() {
34566
- return module.l;
34567
- }
34568
- });
34569
- Object.defineProperty(module, "id", {
34570
- enumerable: true,
34571
- get: function() {
34572
- return module.i;
34573
- }
34574
- });
34575
- module.webpackPolyfill = 1;
34576
- }
34577
- return module;
34578
- };
34579
-
34580
-
34581
34976
  /***/ }),
34582
34977
 
34583
34978
  /***/ "6a61":
@@ -34696,49 +35091,6 @@ module.exports = function (options, source) {
34696
35091
  };
34697
35092
 
34698
35093
 
34699
- /***/ }),
34700
-
34701
- /***/ "6efc":
34702
- /***/ (function(module, exports, __webpack_require__) {
34703
-
34704
- var baseIsArguments = __webpack_require__("ff7d"),
34705
- isObjectLike = __webpack_require__("b4b4");
34706
-
34707
- /** Used for built-in method references. */
34708
- var objectProto = Object.prototype;
34709
-
34710
- /** Used to check objects for own properties. */
34711
- var hasOwnProperty = objectProto.hasOwnProperty;
34712
-
34713
- /** Built-in value references. */
34714
- var propertyIsEnumerable = objectProto.propertyIsEnumerable;
34715
-
34716
- /**
34717
- * Checks if `value` is likely an `arguments` object.
34718
- *
34719
- * @static
34720
- * @memberOf _
34721
- * @since 0.1.0
34722
- * @category Lang
34723
- * @param {*} value The value to check.
34724
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
34725
- * else `false`.
34726
- * @example
34727
- *
34728
- * _.isArguments(function() { return arguments; }());
34729
- * // => true
34730
- *
34731
- * _.isArguments([1, 2, 3]);
34732
- * // => false
34733
- */
34734
- var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
34735
- return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
34736
- !propertyIsEnumerable.call(value, 'callee');
34737
- };
34738
-
34739
- module.exports = isArguments;
34740
-
34741
-
34742
35094
  /***/ }),
34743
35095
 
34744
35096
  /***/ "7297":
@@ -34810,39 +35162,6 @@ module.exports = function(originalModule) {
34810
35162
  };
34811
35163
 
34812
35164
 
34813
- /***/ }),
34814
-
34815
- /***/ "735f":
34816
- /***/ (function(module, exports) {
34817
-
34818
- /** Used for built-in method references. */
34819
- var funcProto = Function.prototype;
34820
-
34821
- /** Used to resolve the decompiled source of functions. */
34822
- var funcToString = funcProto.toString;
34823
-
34824
- /**
34825
- * Converts `func` to its source code.
34826
- *
34827
- * @private
34828
- * @param {Function} func The function to convert.
34829
- * @returns {string} Returns the source code.
34830
- */
34831
- function toSource(func) {
34832
- if (func != null) {
34833
- try {
34834
- return funcToString.call(func);
34835
- } catch (e) {}
34836
- try {
34837
- return (func + '');
34838
- } catch (e) {}
34839
- }
34840
- return '';
34841
- }
34842
-
34843
- module.exports = toSource;
34844
-
34845
-
34846
35165
  /***/ }),
34847
35166
 
34848
35167
  /***/ "7526":
@@ -35023,18 +35342,6 @@ module.exports = exports.default;
35023
35342
 
35024
35343
  /***/ }),
35025
35344
 
35026
- /***/ "7bdd":
35027
- /***/ (function(module, exports, __webpack_require__) {
35028
-
35029
- /* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */
35030
- var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;
35031
-
35032
- module.exports = freeGlobal;
35033
-
35034
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("7d15")))
35035
-
35036
- /***/ }),
35037
-
35038
35345
  /***/ "7c3f":
35039
35346
  /***/ (function(module, exports, __webpack_require__) {
35040
35347
 
@@ -35397,35 +35704,6 @@ module.exports = function (it) {
35397
35704
  };
35398
35705
 
35399
35706
 
35400
- /***/ }),
35401
-
35402
- /***/ "907a":
35403
- /***/ (function(module, exports) {
35404
-
35405
- /** Used for built-in method references. */
35406
- var objectProto = Object.prototype;
35407
-
35408
- /**
35409
- * Used to resolve the
35410
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
35411
- * of values.
35412
- */
35413
- var nativeObjectToString = objectProto.toString;
35414
-
35415
- /**
35416
- * Converts `value` to a string using `Object.prototype.toString`.
35417
- *
35418
- * @private
35419
- * @param {*} value The value to convert.
35420
- * @returns {string} Returns the converted string.
35421
- */
35422
- function objectToString(value) {
35423
- return nativeObjectToString.call(value);
35424
- }
35425
-
35426
- module.exports = objectToString;
35427
-
35428
-
35429
35707
  /***/ }),
35430
35708
 
35431
35709
  /***/ "910f":
@@ -35490,71 +35768,6 @@ for (var COLLECTION_NAME in DOMIterables) {
35490
35768
  }
35491
35769
 
35492
35770
 
35493
- /***/ }),
35494
-
35495
- /***/ "9243":
35496
- /***/ (function(module, exports, __webpack_require__) {
35497
-
35498
- var DataView = __webpack_require__("405d"),
35499
- Map = __webpack_require__("a9e0"),
35500
- Promise = __webpack_require__("212d"),
35501
- Set = __webpack_require__("3819"),
35502
- WeakMap = __webpack_require__("e3e5"),
35503
- baseGetTag = __webpack_require__("0e19"),
35504
- toSource = __webpack_require__("735f");
35505
-
35506
- /** `Object#toString` result references. */
35507
- var mapTag = '[object Map]',
35508
- objectTag = '[object Object]',
35509
- promiseTag = '[object Promise]',
35510
- setTag = '[object Set]',
35511
- weakMapTag = '[object WeakMap]';
35512
-
35513
- var dataViewTag = '[object DataView]';
35514
-
35515
- /** Used to detect maps, sets, and weakmaps. */
35516
- var dataViewCtorString = toSource(DataView),
35517
- mapCtorString = toSource(Map),
35518
- promiseCtorString = toSource(Promise),
35519
- setCtorString = toSource(Set),
35520
- weakMapCtorString = toSource(WeakMap);
35521
-
35522
- /**
35523
- * Gets the `toStringTag` of `value`.
35524
- *
35525
- * @private
35526
- * @param {*} value The value to query.
35527
- * @returns {string} Returns the `toStringTag`.
35528
- */
35529
- var getTag = baseGetTag;
35530
-
35531
- // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
35532
- if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
35533
- (Map && getTag(new Map) != mapTag) ||
35534
- (Promise && getTag(Promise.resolve()) != promiseTag) ||
35535
- (Set && getTag(new Set) != setTag) ||
35536
- (WeakMap && getTag(new WeakMap) != weakMapTag)) {
35537
- getTag = function(value) {
35538
- var result = baseGetTag(value),
35539
- Ctor = result == objectTag ? value.constructor : undefined,
35540
- ctorString = Ctor ? toSource(Ctor) : '';
35541
-
35542
- if (ctorString) {
35543
- switch (ctorString) {
35544
- case dataViewCtorString: return dataViewTag;
35545
- case mapCtorString: return mapTag;
35546
- case promiseCtorString: return promiseTag;
35547
- case setCtorString: return setTag;
35548
- case weakMapCtorString: return weakMapTag;
35549
- }
35550
- }
35551
- return result;
35552
- };
35553
- }
35554
-
35555
- module.exports = getTag;
35556
-
35557
-
35558
35771
  /***/ }),
35559
35772
 
35560
35773
  /***/ "92ae":
@@ -35705,20 +35918,6 @@ module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
35705
35918
  };
35706
35919
 
35707
35920
 
35708
- /***/ }),
35709
-
35710
- /***/ "a9e0":
35711
- /***/ (function(module, exports, __webpack_require__) {
35712
-
35713
- var getNative = __webpack_require__("bf10"),
35714
- root = __webpack_require__("201b");
35715
-
35716
- /* Built-in method references that are verified to be native. */
35717
- var Map = getNative(root, 'Map');
35718
-
35719
- module.exports = Map;
35720
-
35721
-
35722
35921
  /***/ }),
35723
35922
 
35724
35923
  /***/ "abdf":
@@ -35910,80 +36109,6 @@ module.exports = function (argument) {
35910
36109
  };
35911
36110
 
35912
36111
 
35913
- /***/ }),
35914
-
35915
- /***/ "b4b4":
35916
- /***/ (function(module, exports) {
35917
-
35918
- /**
35919
- * Checks if `value` is object-like. A value is object-like if it's not `null`
35920
- * and has a `typeof` result of "object".
35921
- *
35922
- * @static
35923
- * @memberOf _
35924
- * @since 4.0.0
35925
- * @category Lang
35926
- * @param {*} value The value to check.
35927
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
35928
- * @example
35929
- *
35930
- * _.isObjectLike({});
35931
- * // => true
35932
- *
35933
- * _.isObjectLike([1, 2, 3]);
35934
- * // => true
35935
- *
35936
- * _.isObjectLike(_.noop);
35937
- * // => false
35938
- *
35939
- * _.isObjectLike(null);
35940
- * // => false
35941
- */
35942
- function isObjectLike(value) {
35943
- return value != null && typeof value == 'object';
35944
- }
35945
-
35946
- module.exports = isObjectLike;
35947
-
35948
-
35949
- /***/ }),
35950
-
35951
- /***/ "b506":
35952
- /***/ (function(module, exports) {
35953
-
35954
- /**
35955
- * Checks if `value` is the
35956
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
35957
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
35958
- *
35959
- * @static
35960
- * @memberOf _
35961
- * @since 0.1.0
35962
- * @category Lang
35963
- * @param {*} value The value to check.
35964
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
35965
- * @example
35966
- *
35967
- * _.isObject({});
35968
- * // => true
35969
- *
35970
- * _.isObject([1, 2, 3]);
35971
- * // => true
35972
- *
35973
- * _.isObject(_.noop);
35974
- * // => true
35975
- *
35976
- * _.isObject(null);
35977
- * // => false
35978
- */
35979
- function isObject(value) {
35980
- var type = typeof value;
35981
- return value != null && (type == 'object' || type == 'function');
35982
- }
35983
-
35984
- module.exports = isObject;
35985
-
35986
-
35987
36112
  /***/ }),
35988
36113
 
35989
36114
  /***/ "b634":
@@ -36005,48 +36130,6 @@ module.exports = function (target, source) {
36005
36130
  };
36006
36131
 
36007
36132
 
36008
- /***/ }),
36009
-
36010
- /***/ "b742":
36011
- /***/ (function(module, exports) {
36012
-
36013
- /** Used as references for various `Number` constants. */
36014
- var MAX_SAFE_INTEGER = 9007199254740991;
36015
-
36016
- /**
36017
- * Checks if `value` is a valid array-like length.
36018
- *
36019
- * **Note:** This method is loosely based on
36020
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
36021
- *
36022
- * @static
36023
- * @memberOf _
36024
- * @since 4.0.0
36025
- * @category Lang
36026
- * @param {*} value The value to check.
36027
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
36028
- * @example
36029
- *
36030
- * _.isLength(3);
36031
- * // => true
36032
- *
36033
- * _.isLength(Number.MIN_VALUE);
36034
- * // => false
36035
- *
36036
- * _.isLength(Infinity);
36037
- * // => false
36038
- *
36039
- * _.isLength('3');
36040
- * // => false
36041
- */
36042
- function isLength(value) {
36043
- return typeof value == 'number' &&
36044
- value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
36045
- }
36046
-
36047
- module.exports = isLength;
36048
-
36049
-
36050
36133
  /***/ }),
36051
36134
 
36052
36135
  /***/ "b7fb":
@@ -36145,30 +36228,6 @@ module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperti
36145
36228
  };
36146
36229
 
36147
36230
 
36148
- /***/ }),
36149
-
36150
- /***/ "bf10":
36151
- /***/ (function(module, exports, __webpack_require__) {
36152
-
36153
- var baseIsNative = __webpack_require__("e672"),
36154
- getValue = __webpack_require__("e29f");
36155
-
36156
- /**
36157
- * Gets the native function at `key` of `object`.
36158
- *
36159
- * @private
36160
- * @param {Object} object The object to query.
36161
- * @param {string} key The key of the method to get.
36162
- * @returns {*} Returns the function if it's native, else `undefined`.
36163
- */
36164
- function getNative(object, key) {
36165
- var value = getValue(object, key);
36166
- return baseIsNative(value) ? value : undefined;
36167
- }
36168
-
36169
- module.exports = getNative;
36170
-
36171
-
36172
36231
  /***/ }),
36173
36232
 
36174
36233
  /***/ "c1a2":
@@ -36200,39 +36259,6 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
36200
36259
  }() : undefined);
36201
36260
 
36202
36261
 
36203
- /***/ }),
36204
-
36205
- /***/ "c316":
36206
- /***/ (function(module, exports) {
36207
-
36208
- /**
36209
- * Checks if `value` is classified as an `Array` object.
36210
- *
36211
- * @static
36212
- * @memberOf _
36213
- * @since 0.1.0
36214
- * @category Lang
36215
- * @param {*} value The value to check.
36216
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
36217
- * @example
36218
- *
36219
- * _.isArray([1, 2, 3]);
36220
- * // => true
36221
- *
36222
- * _.isArray(document.body.children);
36223
- * // => false
36224
- *
36225
- * _.isArray('abc');
36226
- * // => false
36227
- *
36228
- * _.isArray(_.noop);
36229
- * // => false
36230
- */
36231
- var isArray = Array.isArray;
36232
-
36233
- module.exports = isArray;
36234
-
36235
-
36236
36262
  /***/ }),
36237
36263
 
36238
36264
  /***/ "c607":
@@ -37017,109 +37043,6 @@ module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
37017
37043
  };
37018
37044
 
37019
37045
 
37020
- /***/ }),
37021
-
37022
- /***/ "daaf":
37023
- /***/ (function(module, exports, __webpack_require__) {
37024
-
37025
- var baseGetTag = __webpack_require__("0e19"),
37026
- isObject = __webpack_require__("b506");
37027
-
37028
- /** `Object#toString` result references. */
37029
- var asyncTag = '[object AsyncFunction]',
37030
- funcTag = '[object Function]',
37031
- genTag = '[object GeneratorFunction]',
37032
- proxyTag = '[object Proxy]';
37033
-
37034
- /**
37035
- * Checks if `value` is classified as a `Function` object.
37036
- *
37037
- * @static
37038
- * @memberOf _
37039
- * @since 0.1.0
37040
- * @category Lang
37041
- * @param {*} value The value to check.
37042
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
37043
- * @example
37044
- *
37045
- * _.isFunction(_);
37046
- * // => true
37047
- *
37048
- * _.isFunction(/abc/);
37049
- * // => false
37050
- */
37051
- function isFunction(value) {
37052
- if (!isObject(value)) {
37053
- return false;
37054
- }
37055
- // The use of `Object#toString` avoids issues with the `typeof` operator
37056
- // in Safari 9 which returns 'object' for typed arrays and other constructors.
37057
- var tag = baseGetTag(value);
37058
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
37059
- }
37060
-
37061
- module.exports = isFunction;
37062
-
37063
-
37064
- /***/ }),
37065
-
37066
- /***/ "dca0":
37067
- /***/ (function(module, exports, __webpack_require__) {
37068
-
37069
- var root = __webpack_require__("201b");
37070
-
37071
- /** Used to detect overreaching core-js shims. */
37072
- var coreJsData = root['__core-js_shared__'];
37073
-
37074
- module.exports = coreJsData;
37075
-
37076
-
37077
- /***/ }),
37078
-
37079
- /***/ "dda8":
37080
- /***/ (function(module, exports, __webpack_require__) {
37081
-
37082
- /* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__("201b"),
37083
- stubFalse = __webpack_require__("0e30");
37084
-
37085
- /** Detect free variable `exports`. */
37086
- var freeExports = true && exports && !exports.nodeType && exports;
37087
-
37088
- /** Detect free variable `module`. */
37089
- var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
37090
-
37091
- /** Detect the popular CommonJS extension `module.exports`. */
37092
- var moduleExports = freeModule && freeModule.exports === freeExports;
37093
-
37094
- /** Built-in value references. */
37095
- var Buffer = moduleExports ? root.Buffer : undefined;
37096
-
37097
- /* Built-in method references for those with the same name as other `lodash` methods. */
37098
- var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
37099
-
37100
- /**
37101
- * Checks if `value` is a buffer.
37102
- *
37103
- * @static
37104
- * @memberOf _
37105
- * @since 4.3.0
37106
- * @category Lang
37107
- * @param {*} value The value to check.
37108
- * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
37109
- * @example
37110
- *
37111
- * _.isBuffer(new Buffer(2));
37112
- * // => true
37113
- *
37114
- * _.isBuffer(new Uint8Array(2));
37115
- * // => false
37116
- */
37117
- var isBuffer = nativeIsBuffer || stubFalse;
37118
-
37119
- module.exports = isBuffer;
37120
-
37121
- /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("6984")(module)))
37122
-
37123
37046
  /***/ }),
37124
37047
 
37125
37048
  /***/ "df6f":
@@ -37160,131 +37083,6 @@ exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
37160
37083
  } : nativePropertyIsEnumerable;
37161
37084
 
37162
37085
 
37163
- /***/ }),
37164
-
37165
- /***/ "e29f":
37166
- /***/ (function(module, exports) {
37167
-
37168
- /**
37169
- * Gets the value at `key` of `object`.
37170
- *
37171
- * @private
37172
- * @param {Object} [object] The object to query.
37173
- * @param {string} key The key of the property to get.
37174
- * @returns {*} Returns the property value.
37175
- */
37176
- function getValue(object, key) {
37177
- return object == null ? undefined : object[key];
37178
- }
37179
-
37180
- module.exports = getValue;
37181
-
37182
-
37183
- /***/ }),
37184
-
37185
- /***/ "e2e2":
37186
- /***/ (function(module, exports, __webpack_require__) {
37187
-
37188
- var isPrototype = __webpack_require__("09b2"),
37189
- nativeKeys = __webpack_require__("3ad3");
37190
-
37191
- /** Used for built-in method references. */
37192
- var objectProto = Object.prototype;
37193
-
37194
- /** Used to check objects for own properties. */
37195
- var hasOwnProperty = objectProto.hasOwnProperty;
37196
-
37197
- /**
37198
- * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
37199
- *
37200
- * @private
37201
- * @param {Object} object The object to query.
37202
- * @returns {Array} Returns the array of property names.
37203
- */
37204
- function baseKeys(object) {
37205
- if (!isPrototype(object)) {
37206
- return nativeKeys(object);
37207
- }
37208
- var result = [];
37209
- for (var key in Object(object)) {
37210
- if (hasOwnProperty.call(object, key) && key != 'constructor') {
37211
- result.push(key);
37212
- }
37213
- }
37214
- return result;
37215
- }
37216
-
37217
- module.exports = baseKeys;
37218
-
37219
-
37220
- /***/ }),
37221
-
37222
- /***/ "e3e5":
37223
- /***/ (function(module, exports, __webpack_require__) {
37224
-
37225
- var getNative = __webpack_require__("bf10"),
37226
- root = __webpack_require__("201b");
37227
-
37228
- /* Built-in method references that are verified to be native. */
37229
- var WeakMap = getNative(root, 'WeakMap');
37230
-
37231
- module.exports = WeakMap;
37232
-
37233
-
37234
- /***/ }),
37235
-
37236
- /***/ "e672":
37237
- /***/ (function(module, exports, __webpack_require__) {
37238
-
37239
- var isFunction = __webpack_require__("daaf"),
37240
- isMasked = __webpack_require__("f6f6"),
37241
- isObject = __webpack_require__("b506"),
37242
- toSource = __webpack_require__("735f");
37243
-
37244
- /**
37245
- * Used to match `RegExp`
37246
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
37247
- */
37248
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
37249
-
37250
- /** Used to detect host constructors (Safari). */
37251
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
37252
-
37253
- /** Used for built-in method references. */
37254
- var funcProto = Function.prototype,
37255
- objectProto = Object.prototype;
37256
-
37257
- /** Used to resolve the decompiled source of functions. */
37258
- var funcToString = funcProto.toString;
37259
-
37260
- /** Used to check objects for own properties. */
37261
- var hasOwnProperty = objectProto.hasOwnProperty;
37262
-
37263
- /** Used to detect if a method is native. */
37264
- var reIsNative = RegExp('^' +
37265
- funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
37266
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
37267
- );
37268
-
37269
- /**
37270
- * The base implementation of `_.isNative` without bad shim checks.
37271
- *
37272
- * @private
37273
- * @param {*} value The value to check.
37274
- * @returns {boolean} Returns `true` if `value` is a native function,
37275
- * else `false`.
37276
- */
37277
- function baseIsNative(value) {
37278
- if (!isObject(value) || isMasked(value)) {
37279
- return false;
37280
- }
37281
- var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
37282
- return pattern.test(toSource(value));
37283
- }
37284
-
37285
- module.exports = baseIsNative;
37286
-
37287
-
37288
37086
  /***/ }),
37289
37087
 
37290
37088
  /***/ "e7a0":
@@ -37399,73 +37197,6 @@ if (!TO_STRING_TAG_SUPPORT) {
37399
37197
  }
37400
37198
 
37401
37199
 
37402
- /***/ }),
37403
-
37404
- /***/ "eff8":
37405
- /***/ (function(module, exports, __webpack_require__) {
37406
-
37407
- var baseGetTag = __webpack_require__("0e19"),
37408
- isLength = __webpack_require__("b742"),
37409
- isObjectLike = __webpack_require__("b4b4");
37410
-
37411
- /** `Object#toString` result references. */
37412
- var argsTag = '[object Arguments]',
37413
- arrayTag = '[object Array]',
37414
- boolTag = '[object Boolean]',
37415
- dateTag = '[object Date]',
37416
- errorTag = '[object Error]',
37417
- funcTag = '[object Function]',
37418
- mapTag = '[object Map]',
37419
- numberTag = '[object Number]',
37420
- objectTag = '[object Object]',
37421
- regexpTag = '[object RegExp]',
37422
- setTag = '[object Set]',
37423
- stringTag = '[object String]',
37424
- weakMapTag = '[object WeakMap]';
37425
-
37426
- var arrayBufferTag = '[object ArrayBuffer]',
37427
- dataViewTag = '[object DataView]',
37428
- float32Tag = '[object Float32Array]',
37429
- float64Tag = '[object Float64Array]',
37430
- int8Tag = '[object Int8Array]',
37431
- int16Tag = '[object Int16Array]',
37432
- int32Tag = '[object Int32Array]',
37433
- uint8Tag = '[object Uint8Array]',
37434
- uint8ClampedTag = '[object Uint8ClampedArray]',
37435
- uint16Tag = '[object Uint16Array]',
37436
- uint32Tag = '[object Uint32Array]';
37437
-
37438
- /** Used to identify `toStringTag` values of typed arrays. */
37439
- var typedArrayTags = {};
37440
- typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
37441
- typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
37442
- typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
37443
- typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
37444
- typedArrayTags[uint32Tag] = true;
37445
- typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
37446
- typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
37447
- typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
37448
- typedArrayTags[errorTag] = typedArrayTags[funcTag] =
37449
- typedArrayTags[mapTag] = typedArrayTags[numberTag] =
37450
- typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
37451
- typedArrayTags[setTag] = typedArrayTags[stringTag] =
37452
- typedArrayTags[weakMapTag] = false;
37453
-
37454
- /**
37455
- * The base implementation of `_.isTypedArray` without Node.js optimizations.
37456
- *
37457
- * @private
37458
- * @param {*} value The value to check.
37459
- * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
37460
- */
37461
- function baseIsTypedArray(value) {
37462
- return isObjectLike(value) &&
37463
- isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
37464
- }
37465
-
37466
- module.exports = baseIsTypedArray;
37467
-
37468
-
37469
37200
  /***/ }),
37470
37201
 
37471
37202
  /***/ "f1a7":
@@ -37567,73 +37298,6 @@ module.exports =
37567
37298
 
37568
37299
  /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("7d15")))
37569
37300
 
37570
- /***/ }),
37571
-
37572
- /***/ "f6f6":
37573
- /***/ (function(module, exports, __webpack_require__) {
37574
-
37575
- var coreJsData = __webpack_require__("dca0");
37576
-
37577
- /** Used to detect methods masquerading as native. */
37578
- var maskSrcKey = (function() {
37579
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
37580
- return uid ? ('Symbol(src)_1.' + uid) : '';
37581
- }());
37582
-
37583
- /**
37584
- * Checks if `func` has its source masked.
37585
- *
37586
- * @private
37587
- * @param {Function} func The function to check.
37588
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
37589
- */
37590
- function isMasked(func) {
37591
- return !!maskSrcKey && (maskSrcKey in func);
37592
- }
37593
-
37594
- module.exports = isMasked;
37595
-
37596
-
37597
- /***/ }),
37598
-
37599
- /***/ "f72d":
37600
- /***/ (function(module, exports, __webpack_require__) {
37601
-
37602
- var isFunction = __webpack_require__("daaf"),
37603
- isLength = __webpack_require__("b742");
37604
-
37605
- /**
37606
- * Checks if `value` is array-like. A value is considered array-like if it's
37607
- * not a function and has a `value.length` that's an integer greater than or
37608
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
37609
- *
37610
- * @static
37611
- * @memberOf _
37612
- * @since 4.0.0
37613
- * @category Lang
37614
- * @param {*} value The value to check.
37615
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
37616
- * @example
37617
- *
37618
- * _.isArrayLike([1, 2, 3]);
37619
- * // => true
37620
- *
37621
- * _.isArrayLike(document.body.children);
37622
- * // => true
37623
- *
37624
- * _.isArrayLike('abc');
37625
- * // => true
37626
- *
37627
- * _.isArrayLike(_.noop);
37628
- * // => false
37629
- */
37630
- function isArrayLike(value) {
37631
- return value != null && isLength(value.length) && !isFunction(value);
37632
- }
37633
-
37634
- module.exports = isArrayLike;
37635
-
37636
-
37637
37301
  /***/ }),
37638
37302
 
37639
37303
  /***/ "fa46":
@@ -37652,31 +37316,6 @@ module.exports = function (it, TAG, STATIC) {
37652
37316
  };
37653
37317
 
37654
37318
 
37655
- /***/ }),
37656
-
37657
- /***/ "ff7d":
37658
- /***/ (function(module, exports, __webpack_require__) {
37659
-
37660
- var baseGetTag = __webpack_require__("0e19"),
37661
- isObjectLike = __webpack_require__("b4b4");
37662
-
37663
- /** `Object#toString` result references. */
37664
- var argsTag = '[object Arguments]';
37665
-
37666
- /**
37667
- * The base implementation of `_.isArguments`.
37668
- *
37669
- * @private
37670
- * @param {*} value The value to check.
37671
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
37672
- */
37673
- function baseIsArguments(value) {
37674
- return isObjectLike(value) && baseGetTag(value) == argsTag;
37675
- }
37676
-
37677
- module.exports = baseIsArguments;
37678
-
37679
-
37680
37319
  /***/ }),
37681
37320
 
37682
37321
  /***/ "ff89":