@carbon/charts-vue 0.57.0 → 0.58.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/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.58.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.58.0...v0.58.1) (2022-05-19)
7
+
8
+ **Note:** Version bump only for package @carbon/charts-vue
9
+
10
+
11
+
12
+
13
+
14
+ # [0.58.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.57.1...v0.58.0) (2022-05-16)
15
+
16
+ **Note:** Version bump only for package @carbon/charts-vue
17
+
18
+
19
+
20
+
21
+
22
+ ## [0.57.1](https://github.com/carbon-design-system/carbon-charts/compare/v0.57.0...v0.57.1) (2022-05-06)
23
+
24
+ **Note:** Version bump only for package @carbon/charts-vue
25
+
26
+
27
+
28
+
29
+
6
30
  # [0.57.0](https://github.com/carbon-design-system/carbon-charts/compare/v0.56.0...v0.57.0) (2022-04-11)
7
31
 
8
32
  **Note:** Version bump only for package @carbon/charts-vue
@@ -11287,7 +11287,7 @@ var settings_settings = {
11287
11287
  selectorFocusable: "\n a[href], area[href], input:not([disabled]),\n button:not([disabled]),select:not([disabled]),\n textarea:not([disabled]),\n iframe, object, embed, *[tabindex], *[contenteditable=true]\n "
11288
11288
  };
11289
11289
  var settings_1 = settings_settings;
11290
- /* harmony default export */ var js_settings = (settings_1);
11290
+
11291
11291
  // EXTERNAL MODULE: /home/runner/work/carbon-charts/carbon-charts/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js
11292
11292
  var ResizeObserver_es = __webpack_require__("2da1");
11293
11293
 
@@ -11481,7 +11481,7 @@ var dom_utils_DOMUtils = /** @class */ (function (_super) {
11481
11481
  var chartsprefix = tools_Tools.getProperty(options, 'style', 'prefix');
11482
11482
  var mainContainer = src_select(this.getHolder())
11483
11483
  .append('div')
11484
- .classed(js_settings.prefix + "--" + chartsprefix + "--chart-wrapper", true)
11484
+ .classed(settings_1.prefix + "--" + chartsprefix + "--chart-wrapper", true)
11485
11485
  .style('height', '100%')
11486
11486
  .style('width', '100%');
11487
11487
  mainContainer.append('g').attr('class', CSS_VERIFIER_ELEMENT_CLASSNAME);
@@ -11493,7 +11493,7 @@ var dom_utils_DOMUtils = /** @class */ (function (_super) {
11493
11493
  DOMUtils.prototype.styleHolderElement = function () {
11494
11494
  var holderElement = this.getHolder();
11495
11495
  // Add class to chart holder
11496
- src_select(this.getHolder()).classed(js_settings.prefix + "--chart-holder", true);
11496
+ src_select(this.getHolder()).classed(settings_1.prefix + "--chart-holder", true);
11497
11497
  // In order for resize events to not clash with these updates
11498
11498
  // We'll check if the width & height values passed in options
11499
11499
  // Have changed, before setting them to the holder
@@ -17914,9 +17914,9 @@ var component_Component = /** @class */ (function () {
17914
17914
  }
17915
17915
  if (this.type) {
17916
17916
  var chartprefix = tools_Tools.getProperty(this.model.getOptions(), 'style', 'prefix');
17917
- this.parent.classed(js_settings.prefix + "--" + chartprefix + "--" + this.type, true);
17917
+ this.parent.classed(settings_1.prefix + "--" + chartprefix + "--" + this.type, true);
17918
17918
  if (oldParent) {
17919
- oldParent.classed(js_settings.prefix + "--" + chartprefix + "--" + this.type, false);
17919
+ oldParent.classed(settings_1.prefix + "--" + chartprefix + "--" + this.type, false);
17920
17920
  }
17921
17921
  }
17922
17922
  };
@@ -17928,7 +17928,7 @@ var component_Component = /** @class */ (function () {
17928
17928
  if (this.type) {
17929
17929
  var chartprefix = tools_Tools.getProperty(this.model.getOptions(), 'style', 'prefix');
17930
17930
  var idSelector = this.id ? "#" + this.id : '';
17931
- var container = dom_utils_DOMUtils.appendOrSelect(this.parent, "" + (this.renderType === RenderTypes.SVG ? 'svg' : 'div') + idSelector + "." + js_settings.prefix + "--" + chartprefix + "--" + this.type);
17931
+ var container = dom_utils_DOMUtils.appendOrSelect(this.parent, "" + (this.renderType === RenderTypes.SVG ? 'svg' : 'div') + idSelector + "." + settings_1.prefix + "--" + chartprefix + "--" + this.type);
17932
17932
  if (configs.withinChartClip) {
17933
17933
  // get unique chartClipId int this chart from model
17934
17934
  var chartClipId = this.model.get('chartClipId');
@@ -18806,6 +18806,25 @@ var color_scale_legend_ColorScaleLegend = /** @class */ (function (_super) {
18806
18806
  var browser = __webpack_require__("9b04");
18807
18807
 
18808
18808
  // CONCATENATED MODULE: /home/runner/work/carbon-charts/carbon-charts/node_modules/carbon-components/es/globals/js/misc/mixin.js
18809
+ function _defineProperties(target, props) {
18810
+ for (var i = 0; i < props.length; i++) {
18811
+ var descriptor = props[i];
18812
+ descriptor.enumerable = descriptor.enumerable || false;
18813
+ descriptor.configurable = true;
18814
+ if ("value" in descriptor) descriptor.writable = true;
18815
+ Object.defineProperty(target, descriptor.key, descriptor);
18816
+ }
18817
+ }
18818
+
18819
+ function _createClass(Constructor, protoProps, staticProps) {
18820
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
18821
+ if (staticProps) _defineProperties(Constructor, staticProps);
18822
+ Object.defineProperty(Constructor, "prototype", {
18823
+ writable: false
18824
+ });
18825
+ return Constructor;
18826
+ }
18827
+
18809
18828
  function _classCallCheck(instance, Constructor) {
18810
18829
  if (!(instance instanceof Constructor)) {
18811
18830
  throw new TypeError("Cannot call a class as a function");
@@ -18896,24 +18915,18 @@ function mixin() {
18896
18915
  _classCallCheck(this, _class);
18897
18916
  }
18898
18917
 
18899
- return _class;
18918
+ return _createClass(_class);
18900
18919
  }());
18901
18920
  }
18902
18921
  // CONCATENATED MODULE: /home/runner/work/carbon-charts/carbon-charts/node_modules/carbon-components/es/globals/js/mixins/create-component.js
18903
18922
  function _typeof(obj) {
18904
18923
  "@babel/helpers - typeof";
18905
18924
 
18906
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
18907
- _typeof = function _typeof(obj) {
18908
- return typeof obj;
18909
- };
18910
- } else {
18911
- _typeof = function _typeof(obj) {
18912
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
18913
- };
18914
- }
18915
-
18916
- return _typeof(obj);
18925
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
18926
+ return typeof obj;
18927
+ } : function (obj) {
18928
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
18929
+ }, _typeof(obj);
18917
18930
  }
18918
18931
 
18919
18932
  function create_component_classCallCheck(instance, Constructor) {
@@ -18922,7 +18935,7 @@ function create_component_classCallCheck(instance, Constructor) {
18922
18935
  }
18923
18936
  }
18924
18937
 
18925
- function _defineProperties(target, props) {
18938
+ function create_component_defineProperties(target, props) {
18926
18939
  for (var i = 0; i < props.length; i++) {
18927
18940
  var descriptor = props[i];
18928
18941
  descriptor.enumerable = descriptor.enumerable || false;
@@ -18932,9 +18945,12 @@ function _defineProperties(target, props) {
18932
18945
  }
18933
18946
  }
18934
18947
 
18935
- function _createClass(Constructor, protoProps, staticProps) {
18936
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
18937
- if (staticProps) _defineProperties(Constructor, staticProps);
18948
+ function create_component_createClass(Constructor, protoProps, staticProps) {
18949
+ if (protoProps) create_component_defineProperties(Constructor.prototype, protoProps);
18950
+ if (staticProps) create_component_defineProperties(Constructor, staticProps);
18951
+ Object.defineProperty(Constructor, "prototype", {
18952
+ writable: false
18953
+ });
18938
18954
  return Constructor;
18939
18955
  }
18940
18956
 
@@ -18950,6 +18966,9 @@ function _inherits(subClass, superClass) {
18950
18966
  configurable: true
18951
18967
  }
18952
18968
  });
18969
+ Object.defineProperty(subClass, "prototype", {
18970
+ writable: false
18971
+ });
18953
18972
  if (superClass) _setPrototypeOf(subClass, superClass);
18954
18973
  }
18955
18974
 
@@ -18984,6 +19003,8 @@ function _createSuper(Derived) {
18984
19003
  function _possibleConstructorReturn(self, call) {
18985
19004
  if (call && (_typeof(call) === "object" || typeof call === "function")) {
18986
19005
  return call;
19006
+ } else if (call !== void 0) {
19007
+ throw new TypeError("Derived constructors may only return object or undefined");
18987
19008
  }
18988
19009
 
18989
19010
  return _assertThisInitialized(self);
@@ -19038,7 +19059,7 @@ function _getPrototypeOf(o) {
19038
19059
  /**
19039
19060
  * Mix-in class to manage lifecycle of component.
19040
19061
  * The constructor sets up this component's effective options,
19041
- * and registers this component't instance associated to an element.
19062
+ * and registers this component's instance associated to an element.
19042
19063
  * @implements Handle
19043
19064
  * @param {HTMLElement} element The element working as this component.
19044
19065
  * @param {object} [options] The component options.
@@ -19082,7 +19103,7 @@ function _getPrototypeOf(o) {
19082
19103
  */
19083
19104
 
19084
19105
 
19085
- _createClass(CreateComponent, [{
19106
+ create_component_createClass(CreateComponent, [{
19086
19107
  key: "release",
19087
19108
  value:
19088
19109
  /**
@@ -19170,17 +19191,11 @@ function on_on(element) {
19170
19191
  function init_component_by_launcher_typeof(obj) {
19171
19192
  "@babel/helpers - typeof";
19172
19193
 
19173
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
19174
- init_component_by_launcher_typeof = function _typeof(obj) {
19175
- return typeof obj;
19176
- };
19177
- } else {
19178
- init_component_by_launcher_typeof = function _typeof(obj) {
19179
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19180
- };
19181
- }
19182
-
19183
- return init_component_by_launcher_typeof(obj);
19194
+ return init_component_by_launcher_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
19195
+ return typeof obj;
19196
+ } : function (obj) {
19197
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19198
+ }, init_component_by_launcher_typeof(obj);
19184
19199
  }
19185
19200
 
19186
19201
  function init_component_by_launcher_classCallCheck(instance, Constructor) {
@@ -19202,6 +19217,9 @@ function init_component_by_launcher_defineProperties(target, props) {
19202
19217
  function init_component_by_launcher_createClass(Constructor, protoProps, staticProps) {
19203
19218
  if (protoProps) init_component_by_launcher_defineProperties(Constructor.prototype, protoProps);
19204
19219
  if (staticProps) init_component_by_launcher_defineProperties(Constructor, staticProps);
19220
+ Object.defineProperty(Constructor, "prototype", {
19221
+ writable: false
19222
+ });
19205
19223
  return Constructor;
19206
19224
  }
19207
19225
 
@@ -19217,6 +19235,9 @@ function init_component_by_launcher_inherits(subClass, superClass) {
19217
19235
  configurable: true
19218
19236
  }
19219
19237
  });
19238
+ Object.defineProperty(subClass, "prototype", {
19239
+ writable: false
19240
+ });
19220
19241
  if (superClass) init_component_by_launcher_setPrototypeOf(subClass, superClass);
19221
19242
  }
19222
19243
 
@@ -19251,6 +19272,8 @@ function init_component_by_launcher_createSuper(Derived) {
19251
19272
  function init_component_by_launcher_possibleConstructorReturn(self, call) {
19252
19273
  if (call && (init_component_by_launcher_typeof(call) === "object" || typeof call === "function")) {
19253
19274
  return call;
19275
+ } else if (call !== void 0) {
19276
+ throw new TypeError("Derived constructors may only return object or undefined");
19254
19277
  }
19255
19278
 
19256
19279
  return init_component_by_launcher_assertThisInitialized(self);
@@ -19393,17 +19416,11 @@ function init_component_by_launcher_getPrototypeOf(o) {
19393
19416
  function evented_state_typeof(obj) {
19394
19417
  "@babel/helpers - typeof";
19395
19418
 
19396
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
19397
- evented_state_typeof = function _typeof(obj) {
19398
- return typeof obj;
19399
- };
19400
- } else {
19401
- evented_state_typeof = function _typeof(obj) {
19402
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19403
- };
19404
- }
19405
-
19406
- return evented_state_typeof(obj);
19419
+ return evented_state_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
19420
+ return typeof obj;
19421
+ } : function (obj) {
19422
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19423
+ }, evented_state_typeof(obj);
19407
19424
  }
19408
19425
 
19409
19426
  function evented_state_toConsumableArray(arr) {
@@ -19460,6 +19477,9 @@ function evented_state_defineProperties(target, props) {
19460
19477
  function evented_state_createClass(Constructor, protoProps, staticProps) {
19461
19478
  if (protoProps) evented_state_defineProperties(Constructor.prototype, protoProps);
19462
19479
  if (staticProps) evented_state_defineProperties(Constructor, staticProps);
19480
+ Object.defineProperty(Constructor, "prototype", {
19481
+ writable: false
19482
+ });
19463
19483
  return Constructor;
19464
19484
  }
19465
19485
 
@@ -19475,6 +19495,9 @@ function evented_state_inherits(subClass, superClass) {
19475
19495
  configurable: true
19476
19496
  }
19477
19497
  });
19498
+ Object.defineProperty(subClass, "prototype", {
19499
+ writable: false
19500
+ });
19478
19501
  if (superClass) evented_state_setPrototypeOf(subClass, superClass);
19479
19502
  }
19480
19503
 
@@ -19509,6 +19532,8 @@ function evented_state_createSuper(Derived) {
19509
19532
  function evented_state_possibleConstructorReturn(self, call) {
19510
19533
  if (call && (evented_state_typeof(call) === "object" || typeof call === "function")) {
19511
19534
  return call;
19535
+ } else if (call !== void 0) {
19536
+ throw new TypeError("Derived constructors may only return object or undefined");
19512
19537
  }
19513
19538
 
19514
19539
  return evented_state_assertThisInitialized(self);
@@ -19580,7 +19605,7 @@ function evented_state_getPrototypeOf(o) {
19580
19605
  * @private
19581
19606
  */
19582
19607
  function _changeState() {
19583
- throw new Error('_changeState() should be overriden to perform actual change in state.');
19608
+ throw new Error('_changeState() should be overridden to perform actual change in state.');
19584
19609
  }
19585
19610
  /**
19586
19611
  * Changes the state of this component.
@@ -19717,17 +19742,11 @@ function getLaunchingDetails(evt) {
19717
19742
  function evented_show_hide_state_typeof(obj) {
19718
19743
  "@babel/helpers - typeof";
19719
19744
 
19720
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
19721
- evented_show_hide_state_typeof = function _typeof(obj) {
19722
- return typeof obj;
19723
- };
19724
- } else {
19725
- evented_show_hide_state_typeof = function _typeof(obj) {
19726
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19727
- };
19728
- }
19729
-
19730
- return evented_show_hide_state_typeof(obj);
19745
+ return evented_show_hide_state_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
19746
+ return typeof obj;
19747
+ } : function (obj) {
19748
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19749
+ }, evented_show_hide_state_typeof(obj);
19731
19750
  }
19732
19751
 
19733
19752
  function evented_show_hide_state_classCallCheck(instance, Constructor) {
@@ -19749,6 +19768,9 @@ function evented_show_hide_state_defineProperties(target, props) {
19749
19768
  function evented_show_hide_state_createClass(Constructor, protoProps, staticProps) {
19750
19769
  if (protoProps) evented_show_hide_state_defineProperties(Constructor.prototype, protoProps);
19751
19770
  if (staticProps) evented_show_hide_state_defineProperties(Constructor, staticProps);
19771
+ Object.defineProperty(Constructor, "prototype", {
19772
+ writable: false
19773
+ });
19752
19774
  return Constructor;
19753
19775
  }
19754
19776
 
@@ -19764,6 +19786,9 @@ function evented_show_hide_state_inherits(subClass, superClass) {
19764
19786
  configurable: true
19765
19787
  }
19766
19788
  });
19789
+ Object.defineProperty(subClass, "prototype", {
19790
+ writable: false
19791
+ });
19767
19792
  if (superClass) evented_show_hide_state_setPrototypeOf(subClass, superClass);
19768
19793
  }
19769
19794
 
@@ -19798,6 +19823,8 @@ function evented_show_hide_state_createSuper(Derived) {
19798
19823
  function evented_show_hide_state_possibleConstructorReturn(self, call) {
19799
19824
  if (call && (evented_show_hide_state_typeof(call) === "object" || typeof call === "function")) {
19800
19825
  return call;
19826
+ } else if (call !== void 0) {
19827
+ throw new TypeError("Derived constructors may only return object or undefined");
19801
19828
  }
19802
19829
 
19803
19830
  return evented_show_hide_state_assertThisInitialized(self);
@@ -19904,17 +19931,11 @@ var evented_show_hide_state_exports = [evented_state, eventedShowHideState];
19904
19931
  function handles_typeof(obj) {
19905
19932
  "@babel/helpers - typeof";
19906
19933
 
19907
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
19908
- handles_typeof = function _typeof(obj) {
19909
- return typeof obj;
19910
- };
19911
- } else {
19912
- handles_typeof = function _typeof(obj) {
19913
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19914
- };
19915
- }
19916
-
19917
- return handles_typeof(obj);
19934
+ return handles_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
19935
+ return typeof obj;
19936
+ } : function (obj) {
19937
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19938
+ }, handles_typeof(obj);
19918
19939
  }
19919
19940
 
19920
19941
  function handles_classCallCheck(instance, Constructor) {
@@ -19936,10 +19957,13 @@ function handles_defineProperties(target, props) {
19936
19957
  function handles_createClass(Constructor, protoProps, staticProps) {
19937
19958
  if (protoProps) handles_defineProperties(Constructor.prototype, protoProps);
19938
19959
  if (staticProps) handles_defineProperties(Constructor, staticProps);
19960
+ Object.defineProperty(Constructor, "prototype", {
19961
+ writable: false
19962
+ });
19939
19963
  return Constructor;
19940
19964
  }
19941
19965
 
19942
- function _get(target, property, receiver) {
19966
+ function _get() {
19943
19967
  if (typeof Reflect !== "undefined" && Reflect.get) {
19944
19968
  _get = Reflect.get;
19945
19969
  } else {
@@ -19950,14 +19974,14 @@ function _get(target, property, receiver) {
19950
19974
  var desc = Object.getOwnPropertyDescriptor(base, property);
19951
19975
 
19952
19976
  if (desc.get) {
19953
- return desc.get.call(receiver);
19977
+ return desc.get.call(arguments.length < 3 ? target : receiver);
19954
19978
  }
19955
19979
 
19956
19980
  return desc.value;
19957
19981
  };
19958
19982
  }
19959
19983
 
19960
- return _get(target, property, receiver || target);
19984
+ return _get.apply(this, arguments);
19961
19985
  }
19962
19986
 
19963
19987
  function _superPropBase(object, property) {
@@ -19981,6 +20005,9 @@ function handles_inherits(subClass, superClass) {
19981
20005
  configurable: true
19982
20006
  }
19983
20007
  });
20008
+ Object.defineProperty(subClass, "prototype", {
20009
+ writable: false
20010
+ });
19984
20011
  if (superClass) handles_setPrototypeOf(subClass, superClass);
19985
20012
  }
19986
20013
 
@@ -20015,6 +20042,8 @@ function handles_createSuper(Derived) {
20015
20042
  function handles_possibleConstructorReturn(self, call) {
20016
20043
  if (call && (handles_typeof(call) === "object" || typeof call === "function")) {
20017
20044
  return call;
20045
+ } else if (call !== void 0) {
20046
+ throw new TypeError("Derived constructors may only return object or undefined");
20018
20047
  }
20019
20048
 
20020
20049
  return handles_assertThisInitialized(self);
@@ -20128,17 +20157,11 @@ function handles_getPrototypeOf(o) {
20128
20157
  function modal_typeof(obj) {
20129
20158
  "@babel/helpers - typeof";
20130
20159
 
20131
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
20132
- modal_typeof = function _typeof(obj) {
20133
- return typeof obj;
20134
- };
20135
- } else {
20136
- modal_typeof = function _typeof(obj) {
20137
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
20138
- };
20139
- }
20140
-
20141
- return modal_typeof(obj);
20160
+ return modal_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
20161
+ return typeof obj;
20162
+ } : function (obj) {
20163
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
20164
+ }, modal_typeof(obj);
20142
20165
  }
20143
20166
 
20144
20167
  function modal_classCallCheck(instance, Constructor) {
@@ -20160,6 +20183,9 @@ function modal_defineProperties(target, props) {
20160
20183
  function modal_createClass(Constructor, protoProps, staticProps) {
20161
20184
  if (protoProps) modal_defineProperties(Constructor.prototype, protoProps);
20162
20185
  if (staticProps) modal_defineProperties(Constructor, staticProps);
20186
+ Object.defineProperty(Constructor, "prototype", {
20187
+ writable: false
20188
+ });
20163
20189
  return Constructor;
20164
20190
  }
20165
20191
 
@@ -20175,6 +20201,9 @@ function modal_inherits(subClass, superClass) {
20175
20201
  configurable: true
20176
20202
  }
20177
20203
  });
20204
+ Object.defineProperty(subClass, "prototype", {
20205
+ writable: false
20206
+ });
20178
20207
  if (superClass) modal_setPrototypeOf(subClass, superClass);
20179
20208
  }
20180
20209
 
@@ -20209,6 +20238,8 @@ function modal_createSuper(Derived) {
20209
20238
  function modal_possibleConstructorReturn(self, call) {
20210
20239
  if (call && (modal_typeof(call) === "object" || typeof call === "function")) {
20211
20240
  return call;
20241
+ } else if (call !== void 0) {
20242
+ throw new TypeError("Derived constructors may only return object or undefined");
20212
20243
  }
20213
20244
 
20214
20245
  return modal_assertThisInitialized(self);
@@ -20326,7 +20357,7 @@ var modal_Modal = /*#__PURE__*/function (_mixin) {
20326
20357
  if (_this.element.classList.contains(_this.options.classVisible) && !focusWrapNode.contains(evt.target) && _this.options.selectorsFloatingMenus.every(function (selector) {
20327
20358
  return !eventMatches(evt, selector);
20328
20359
  })) {
20329
- _this.element.querySelector(js_settings.selectorTabbable).focus();
20360
+ _this.element.querySelector(settings_1.selectorTabbable).focus();
20330
20361
  }
20331
20362
  };
20332
20363
 
@@ -20396,7 +20427,7 @@ var modal_Modal = /*#__PURE__*/function (_mixin) {
20396
20427
  if (state === 'shown' && _this2.element.offsetWidth > 0 && _this2.element.offsetHeight > 0) {
20397
20428
  _this2.previouslyFocusedNode = _this2.element.ownerDocument.activeElement;
20398
20429
 
20399
- var focusableItem = _this2.element.querySelector(_this2.options.selectorPrimaryFocus) || _this2.element.querySelector(js_settings.selectorTabbable);
20430
+ var focusableItem = _this2.element.querySelector(_this2.options.selectorPrimaryFocus) || _this2.element.querySelector(settings_1.selectorTabbable);
20400
20431
 
20401
20432
  focusableItem.focus();
20402
20433
 
@@ -20472,7 +20503,7 @@ var modal_Modal = /*#__PURE__*/function (_mixin) {
20472
20503
  /**
20473
20504
  * The component options.
20474
20505
  * If `options` is specified in the constructor, {@linkcode Modal.create .create()}, or {@linkcode Modal.init .init()},
20475
- * properties in this object are overriden for the instance being create and how {@linkcode Modal.init .init()} works.
20506
+ * properties in this object are overridden for the instance being create and how {@linkcode Modal.init .init()} works.
20476
20507
  * @member Modal.options
20477
20508
  * @type {object}
20478
20509
  * @property {string} selectorInit The CSS class to find modal dialogs.
@@ -20502,7 +20533,7 @@ var modal_Modal = /*#__PURE__*/function (_mixin) {
20502
20533
  * without being canceled by the event handler named by `eventBeforeHidden` option (`modal-beinghidden`).
20503
20534
  */
20504
20535
  function get() {
20505
- var prefix = js_settings.prefix;
20536
+ var prefix = settings_1.prefix;
20506
20537
  return {
20507
20538
  selectorInit: '[data-modal]',
20508
20539
  selectorModalClose: '[data-modal-close]',
@@ -20586,7 +20617,7 @@ var essentials_modal_Modal = /** @class */ (function (_super) {
20586
20617
  .join('') + "\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</thead>\n\n\t\t\t\t\t<tbody>" + tableArray
20587
20618
  .slice(1)
20588
20619
  .map(function (row) { return "\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t" + row.map(function (column) { return "<td>" + column + "</td>"; }).join('') + "\n\t\t\t\t\t\t\t</tr>"; })
20589
- .join('') + "\n\t\t\t\t\t</tbody>\n\t\t\t\t</table>\n\t\t\t</div>\n\n\t\t\t<div class=\"bx--modal-footer cds--modal-footer\">\n\t\t\t <div class=\"" + js_settings.prefix + "--" + chartprefix + "-modal-footer-spacer\"></div>\n\t\t\t <button class=\"bx--btn bx--btn--primary cds--btn cds--btn--primary\" type=\"button\" data-modal-primary-focus>Download as CSV</button>\n\t\t\t</div>\n\t\t</div>";
20620
+ .join('') + "\n\t\t\t\t\t</tbody>\n\t\t\t\t</table>\n\t\t\t</div>\n\n\t\t\t<div class=\"bx--modal-footer cds--modal-footer\">\n\t\t\t <div class=\"" + settings_1.prefix + "--" + chartprefix + "-modal-footer-spacer\"></div>\n\t\t\t <button class=\"bx--btn bx--btn--primary cds--btn cds--btn--primary\" type=\"button\" data-modal-primary-focus>Download as CSV</button>\n\t\t\t</div>\n\t\t</div>";
20590
20621
  };
20591
20622
  Modal.prototype.render = function () {
20592
20623
  var options = this.model.getOptions();
@@ -20594,7 +20625,7 @@ var essentials_modal_Modal = /** @class */ (function (_super) {
20594
20625
  // Grab the tooltip element
20595
20626
  var holder = src_select(this.services.domUtils.getHolder());
20596
20627
  var chartprefix = tools_Tools.getProperty(options, 'style', 'prefix');
20597
- this.modal = dom_utils_DOMUtils.appendOrSelect(holder, "div." + js_settings.prefix + "--" + chartprefix + "--modal");
20628
+ this.modal = dom_utils_DOMUtils.appendOrSelect(holder, "div." + settings_1.prefix + "--" + chartprefix + "--modal");
20598
20629
  this.addEventListeners();
20599
20630
  this.isEventListenerAdded = true;
20600
20631
  this.modal
@@ -23521,7 +23552,7 @@ var threshold_Threshold = /** @class */ (function (_super) {
23521
23552
  Threshold.prototype.appendThresholdLabel = function () {
23522
23553
  var holder = src_select(this.services.domUtils.getHolder());
23523
23554
  var chartprefix = tools_Tools.getProperty(this.getOptions(), 'style', 'prefix');
23524
- this.label = dom_utils_DOMUtils.appendOrSelect(holder, "div." + js_settings.prefix + "--" + chartprefix + "--threshold--label").classed('hidden', true);
23555
+ this.label = dom_utils_DOMUtils.appendOrSelect(holder, "div." + settings_1.prefix + "--" + chartprefix + "--threshold--label").classed('hidden', true);
23525
23556
  };
23526
23557
  Threshold.prototype.setThresholdLabelPosition = function (_a) {
23527
23558
  var event = _a.event, datum = _a.datum;
@@ -24188,7 +24219,7 @@ var tooltip_Tooltip = /** @class */ (function (_super) {
24188
24219
  // Grab the tooltip element
24189
24220
  var holder = src_select(this.services.domUtils.getHolder());
24190
24221
  var chartprefix = tools_Tools.getProperty(options, 'style', 'prefix');
24191
- this.tooltip = dom_utils_DOMUtils.appendOrSelect(holder, "div." + js_settings.prefix + "--" + chartprefix + "--tooltip");
24222
+ this.tooltip = dom_utils_DOMUtils.appendOrSelect(holder, "div." + settings_1.prefix + "--" + chartprefix + "--tooltip");
24192
24223
  this.tooltip.style('max-width', null).attr('role', 'tooltip');
24193
24224
  if (!this.isEventListenerAdded) {
24194
24225
  this.addTooltipEventListener();
@@ -35673,11 +35704,11 @@ var layout_LayoutComponent = /** @class */ (function (_super) {
35673
35704
  var chartprefix = tools_Tools.getProperty(this.model.getOptions(), 'style', 'prefix');
35674
35705
  // Add new boxes to the DOM for each layout child
35675
35706
  var updatedBoxes = parent
35676
- .classed(js_settings.prefix + "--" + chartprefix + "--layout-row", this.configs.direction === LayoutDirection.ROW)
35677
- .classed(js_settings.prefix + "--" + chartprefix + "--layout-row-reverse", this.configs.direction === LayoutDirection.ROW_REVERSE)
35678
- .classed(js_settings.prefix + "--" + chartprefix + "--layout-column", this.configs.direction === LayoutDirection.COLUMN)
35679
- .classed(js_settings.prefix + "--" + chartprefix + "--layout-column-reverse", this.configs.direction === LayoutDirection.COLUMN_REVERSE)
35680
- .classed(js_settings.prefix + "--" + chartprefix + "--layout-alignitems-center", this.configs.alignItems === LayoutAlignItems.CENTER)
35707
+ .classed(settings_1.prefix + "--" + chartprefix + "--layout-row", this.configs.direction === LayoutDirection.ROW)
35708
+ .classed(settings_1.prefix + "--" + chartprefix + "--layout-row-reverse", this.configs.direction === LayoutDirection.ROW_REVERSE)
35709
+ .classed(settings_1.prefix + "--" + chartprefix + "--layout-column", this.configs.direction === LayoutDirection.COLUMN)
35710
+ .classed(settings_1.prefix + "--" + chartprefix + "--layout-column-reverse", this.configs.direction === LayoutDirection.COLUMN_REVERSE)
35711
+ .classed(settings_1.prefix + "--" + chartprefix + "--layout-alignitems-center", this.configs.alignItems === LayoutAlignItems.CENTER)
35681
35712
  .selectAll("div.layout-child-" + this._instanceID)
35682
35713
  .data(this.children, function (d) { return d.id; });
35683
35714
  var enteringBoxes = updatedBoxes.enter().append('div');