@carbon/charts-vue 0.58.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/charts-vue.umd.js CHANGED
@@ -11296,7 +11296,7 @@ var settings_settings = {
11296
11296
  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 "
11297
11297
  };
11298
11298
  var settings_1 = settings_settings;
11299
- /* harmony default export */ var js_settings = (settings_1);
11299
+
11300
11300
  // EXTERNAL MODULE: /home/runner/work/carbon-charts/carbon-charts/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js
11301
11301
  var ResizeObserver_es = __webpack_require__("2da1");
11302
11302
 
@@ -11490,7 +11490,7 @@ var dom_utils_DOMUtils = /** @class */ (function (_super) {
11490
11490
  var chartsprefix = tools_Tools.getProperty(options, 'style', 'prefix');
11491
11491
  var mainContainer = src_select(this.getHolder())
11492
11492
  .append('div')
11493
- .classed(js_settings.prefix + "--" + chartsprefix + "--chart-wrapper", true)
11493
+ .classed(settings_1.prefix + "--" + chartsprefix + "--chart-wrapper", true)
11494
11494
  .style('height', '100%')
11495
11495
  .style('width', '100%');
11496
11496
  mainContainer.append('g').attr('class', CSS_VERIFIER_ELEMENT_CLASSNAME);
@@ -11502,7 +11502,7 @@ var dom_utils_DOMUtils = /** @class */ (function (_super) {
11502
11502
  DOMUtils.prototype.styleHolderElement = function () {
11503
11503
  var holderElement = this.getHolder();
11504
11504
  // Add class to chart holder
11505
- src_select(this.getHolder()).classed(js_settings.prefix + "--chart-holder", true);
11505
+ src_select(this.getHolder()).classed(settings_1.prefix + "--chart-holder", true);
11506
11506
  // In order for resize events to not clash with these updates
11507
11507
  // We'll check if the width & height values passed in options
11508
11508
  // Have changed, before setting them to the holder
@@ -17923,9 +17923,9 @@ var component_Component = /** @class */ (function () {
17923
17923
  }
17924
17924
  if (this.type) {
17925
17925
  var chartprefix = tools_Tools.getProperty(this.model.getOptions(), 'style', 'prefix');
17926
- this.parent.classed(js_settings.prefix + "--" + chartprefix + "--" + this.type, true);
17926
+ this.parent.classed(settings_1.prefix + "--" + chartprefix + "--" + this.type, true);
17927
17927
  if (oldParent) {
17928
- oldParent.classed(js_settings.prefix + "--" + chartprefix + "--" + this.type, false);
17928
+ oldParent.classed(settings_1.prefix + "--" + chartprefix + "--" + this.type, false);
17929
17929
  }
17930
17930
  }
17931
17931
  };
@@ -17937,7 +17937,7 @@ var component_Component = /** @class */ (function () {
17937
17937
  if (this.type) {
17938
17938
  var chartprefix = tools_Tools.getProperty(this.model.getOptions(), 'style', 'prefix');
17939
17939
  var idSelector = this.id ? "#" + this.id : '';
17940
- var container = dom_utils_DOMUtils.appendOrSelect(this.parent, "" + (this.renderType === RenderTypes.SVG ? 'svg' : 'div') + idSelector + "." + js_settings.prefix + "--" + chartprefix + "--" + this.type);
17940
+ var container = dom_utils_DOMUtils.appendOrSelect(this.parent, "" + (this.renderType === RenderTypes.SVG ? 'svg' : 'div') + idSelector + "." + settings_1.prefix + "--" + chartprefix + "--" + this.type);
17941
17941
  if (configs.withinChartClip) {
17942
17942
  // get unique chartClipId int this chart from model
17943
17943
  var chartClipId = this.model.get('chartClipId');
@@ -18815,6 +18815,25 @@ var color_scale_legend_ColorScaleLegend = /** @class */ (function (_super) {
18815
18815
  var browser = __webpack_require__("9b04");
18816
18816
 
18817
18817
  // CONCATENATED MODULE: /home/runner/work/carbon-charts/carbon-charts/node_modules/carbon-components/es/globals/js/misc/mixin.js
18818
+ function _defineProperties(target, props) {
18819
+ for (var i = 0; i < props.length; i++) {
18820
+ var descriptor = props[i];
18821
+ descriptor.enumerable = descriptor.enumerable || false;
18822
+ descriptor.configurable = true;
18823
+ if ("value" in descriptor) descriptor.writable = true;
18824
+ Object.defineProperty(target, descriptor.key, descriptor);
18825
+ }
18826
+ }
18827
+
18828
+ function _createClass(Constructor, protoProps, staticProps) {
18829
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
18830
+ if (staticProps) _defineProperties(Constructor, staticProps);
18831
+ Object.defineProperty(Constructor, "prototype", {
18832
+ writable: false
18833
+ });
18834
+ return Constructor;
18835
+ }
18836
+
18818
18837
  function _classCallCheck(instance, Constructor) {
18819
18838
  if (!(instance instanceof Constructor)) {
18820
18839
  throw new TypeError("Cannot call a class as a function");
@@ -18905,24 +18924,18 @@ function mixin() {
18905
18924
  _classCallCheck(this, _class);
18906
18925
  }
18907
18926
 
18908
- return _class;
18927
+ return _createClass(_class);
18909
18928
  }());
18910
18929
  }
18911
18930
  // CONCATENATED MODULE: /home/runner/work/carbon-charts/carbon-charts/node_modules/carbon-components/es/globals/js/mixins/create-component.js
18912
18931
  function _typeof(obj) {
18913
18932
  "@babel/helpers - typeof";
18914
18933
 
18915
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
18916
- _typeof = function _typeof(obj) {
18917
- return typeof obj;
18918
- };
18919
- } else {
18920
- _typeof = function _typeof(obj) {
18921
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
18922
- };
18923
- }
18924
-
18925
- return _typeof(obj);
18934
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
18935
+ return typeof obj;
18936
+ } : function (obj) {
18937
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
18938
+ }, _typeof(obj);
18926
18939
  }
18927
18940
 
18928
18941
  function create_component_classCallCheck(instance, Constructor) {
@@ -18931,7 +18944,7 @@ function create_component_classCallCheck(instance, Constructor) {
18931
18944
  }
18932
18945
  }
18933
18946
 
18934
- function _defineProperties(target, props) {
18947
+ function create_component_defineProperties(target, props) {
18935
18948
  for (var i = 0; i < props.length; i++) {
18936
18949
  var descriptor = props[i];
18937
18950
  descriptor.enumerable = descriptor.enumerable || false;
@@ -18941,9 +18954,12 @@ function _defineProperties(target, props) {
18941
18954
  }
18942
18955
  }
18943
18956
 
18944
- function _createClass(Constructor, protoProps, staticProps) {
18945
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
18946
- if (staticProps) _defineProperties(Constructor, staticProps);
18957
+ function create_component_createClass(Constructor, protoProps, staticProps) {
18958
+ if (protoProps) create_component_defineProperties(Constructor.prototype, protoProps);
18959
+ if (staticProps) create_component_defineProperties(Constructor, staticProps);
18960
+ Object.defineProperty(Constructor, "prototype", {
18961
+ writable: false
18962
+ });
18947
18963
  return Constructor;
18948
18964
  }
18949
18965
 
@@ -18959,6 +18975,9 @@ function _inherits(subClass, superClass) {
18959
18975
  configurable: true
18960
18976
  }
18961
18977
  });
18978
+ Object.defineProperty(subClass, "prototype", {
18979
+ writable: false
18980
+ });
18962
18981
  if (superClass) _setPrototypeOf(subClass, superClass);
18963
18982
  }
18964
18983
 
@@ -18993,6 +19012,8 @@ function _createSuper(Derived) {
18993
19012
  function _possibleConstructorReturn(self, call) {
18994
19013
  if (call && (_typeof(call) === "object" || typeof call === "function")) {
18995
19014
  return call;
19015
+ } else if (call !== void 0) {
19016
+ throw new TypeError("Derived constructors may only return object or undefined");
18996
19017
  }
18997
19018
 
18998
19019
  return _assertThisInitialized(self);
@@ -19047,7 +19068,7 @@ function _getPrototypeOf(o) {
19047
19068
  /**
19048
19069
  * Mix-in class to manage lifecycle of component.
19049
19070
  * The constructor sets up this component's effective options,
19050
- * and registers this component't instance associated to an element.
19071
+ * and registers this component's instance associated to an element.
19051
19072
  * @implements Handle
19052
19073
  * @param {HTMLElement} element The element working as this component.
19053
19074
  * @param {object} [options] The component options.
@@ -19091,7 +19112,7 @@ function _getPrototypeOf(o) {
19091
19112
  */
19092
19113
 
19093
19114
 
19094
- _createClass(CreateComponent, [{
19115
+ create_component_createClass(CreateComponent, [{
19095
19116
  key: "release",
19096
19117
  value:
19097
19118
  /**
@@ -19179,17 +19200,11 @@ function on_on(element) {
19179
19200
  function init_component_by_launcher_typeof(obj) {
19180
19201
  "@babel/helpers - typeof";
19181
19202
 
19182
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
19183
- init_component_by_launcher_typeof = function _typeof(obj) {
19184
- return typeof obj;
19185
- };
19186
- } else {
19187
- init_component_by_launcher_typeof = function _typeof(obj) {
19188
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19189
- };
19190
- }
19191
-
19192
- return init_component_by_launcher_typeof(obj);
19203
+ return init_component_by_launcher_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
19204
+ return typeof obj;
19205
+ } : function (obj) {
19206
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19207
+ }, init_component_by_launcher_typeof(obj);
19193
19208
  }
19194
19209
 
19195
19210
  function init_component_by_launcher_classCallCheck(instance, Constructor) {
@@ -19211,6 +19226,9 @@ function init_component_by_launcher_defineProperties(target, props) {
19211
19226
  function init_component_by_launcher_createClass(Constructor, protoProps, staticProps) {
19212
19227
  if (protoProps) init_component_by_launcher_defineProperties(Constructor.prototype, protoProps);
19213
19228
  if (staticProps) init_component_by_launcher_defineProperties(Constructor, staticProps);
19229
+ Object.defineProperty(Constructor, "prototype", {
19230
+ writable: false
19231
+ });
19214
19232
  return Constructor;
19215
19233
  }
19216
19234
 
@@ -19226,6 +19244,9 @@ function init_component_by_launcher_inherits(subClass, superClass) {
19226
19244
  configurable: true
19227
19245
  }
19228
19246
  });
19247
+ Object.defineProperty(subClass, "prototype", {
19248
+ writable: false
19249
+ });
19229
19250
  if (superClass) init_component_by_launcher_setPrototypeOf(subClass, superClass);
19230
19251
  }
19231
19252
 
@@ -19260,6 +19281,8 @@ function init_component_by_launcher_createSuper(Derived) {
19260
19281
  function init_component_by_launcher_possibleConstructorReturn(self, call) {
19261
19282
  if (call && (init_component_by_launcher_typeof(call) === "object" || typeof call === "function")) {
19262
19283
  return call;
19284
+ } else if (call !== void 0) {
19285
+ throw new TypeError("Derived constructors may only return object or undefined");
19263
19286
  }
19264
19287
 
19265
19288
  return init_component_by_launcher_assertThisInitialized(self);
@@ -19402,17 +19425,11 @@ function init_component_by_launcher_getPrototypeOf(o) {
19402
19425
  function evented_state_typeof(obj) {
19403
19426
  "@babel/helpers - typeof";
19404
19427
 
19405
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
19406
- evented_state_typeof = function _typeof(obj) {
19407
- return typeof obj;
19408
- };
19409
- } else {
19410
- evented_state_typeof = function _typeof(obj) {
19411
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19412
- };
19413
- }
19414
-
19415
- return evented_state_typeof(obj);
19428
+ return evented_state_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
19429
+ return typeof obj;
19430
+ } : function (obj) {
19431
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19432
+ }, evented_state_typeof(obj);
19416
19433
  }
19417
19434
 
19418
19435
  function evented_state_toConsumableArray(arr) {
@@ -19469,6 +19486,9 @@ function evented_state_defineProperties(target, props) {
19469
19486
  function evented_state_createClass(Constructor, protoProps, staticProps) {
19470
19487
  if (protoProps) evented_state_defineProperties(Constructor.prototype, protoProps);
19471
19488
  if (staticProps) evented_state_defineProperties(Constructor, staticProps);
19489
+ Object.defineProperty(Constructor, "prototype", {
19490
+ writable: false
19491
+ });
19472
19492
  return Constructor;
19473
19493
  }
19474
19494
 
@@ -19484,6 +19504,9 @@ function evented_state_inherits(subClass, superClass) {
19484
19504
  configurable: true
19485
19505
  }
19486
19506
  });
19507
+ Object.defineProperty(subClass, "prototype", {
19508
+ writable: false
19509
+ });
19487
19510
  if (superClass) evented_state_setPrototypeOf(subClass, superClass);
19488
19511
  }
19489
19512
 
@@ -19518,6 +19541,8 @@ function evented_state_createSuper(Derived) {
19518
19541
  function evented_state_possibleConstructorReturn(self, call) {
19519
19542
  if (call && (evented_state_typeof(call) === "object" || typeof call === "function")) {
19520
19543
  return call;
19544
+ } else if (call !== void 0) {
19545
+ throw new TypeError("Derived constructors may only return object or undefined");
19521
19546
  }
19522
19547
 
19523
19548
  return evented_state_assertThisInitialized(self);
@@ -19589,7 +19614,7 @@ function evented_state_getPrototypeOf(o) {
19589
19614
  * @private
19590
19615
  */
19591
19616
  function _changeState() {
19592
- throw new Error('_changeState() should be overriden to perform actual change in state.');
19617
+ throw new Error('_changeState() should be overridden to perform actual change in state.');
19593
19618
  }
19594
19619
  /**
19595
19620
  * Changes the state of this component.
@@ -19726,17 +19751,11 @@ function getLaunchingDetails(evt) {
19726
19751
  function evented_show_hide_state_typeof(obj) {
19727
19752
  "@babel/helpers - typeof";
19728
19753
 
19729
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
19730
- evented_show_hide_state_typeof = function _typeof(obj) {
19731
- return typeof obj;
19732
- };
19733
- } else {
19734
- evented_show_hide_state_typeof = function _typeof(obj) {
19735
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19736
- };
19737
- }
19738
-
19739
- return evented_show_hide_state_typeof(obj);
19754
+ return evented_show_hide_state_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
19755
+ return typeof obj;
19756
+ } : function (obj) {
19757
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19758
+ }, evented_show_hide_state_typeof(obj);
19740
19759
  }
19741
19760
 
19742
19761
  function evented_show_hide_state_classCallCheck(instance, Constructor) {
@@ -19758,6 +19777,9 @@ function evented_show_hide_state_defineProperties(target, props) {
19758
19777
  function evented_show_hide_state_createClass(Constructor, protoProps, staticProps) {
19759
19778
  if (protoProps) evented_show_hide_state_defineProperties(Constructor.prototype, protoProps);
19760
19779
  if (staticProps) evented_show_hide_state_defineProperties(Constructor, staticProps);
19780
+ Object.defineProperty(Constructor, "prototype", {
19781
+ writable: false
19782
+ });
19761
19783
  return Constructor;
19762
19784
  }
19763
19785
 
@@ -19773,6 +19795,9 @@ function evented_show_hide_state_inherits(subClass, superClass) {
19773
19795
  configurable: true
19774
19796
  }
19775
19797
  });
19798
+ Object.defineProperty(subClass, "prototype", {
19799
+ writable: false
19800
+ });
19776
19801
  if (superClass) evented_show_hide_state_setPrototypeOf(subClass, superClass);
19777
19802
  }
19778
19803
 
@@ -19807,6 +19832,8 @@ function evented_show_hide_state_createSuper(Derived) {
19807
19832
  function evented_show_hide_state_possibleConstructorReturn(self, call) {
19808
19833
  if (call && (evented_show_hide_state_typeof(call) === "object" || typeof call === "function")) {
19809
19834
  return call;
19835
+ } else if (call !== void 0) {
19836
+ throw new TypeError("Derived constructors may only return object or undefined");
19810
19837
  }
19811
19838
 
19812
19839
  return evented_show_hide_state_assertThisInitialized(self);
@@ -19913,17 +19940,11 @@ var evented_show_hide_state_exports = [evented_state, eventedShowHideState];
19913
19940
  function handles_typeof(obj) {
19914
19941
  "@babel/helpers - typeof";
19915
19942
 
19916
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
19917
- handles_typeof = function _typeof(obj) {
19918
- return typeof obj;
19919
- };
19920
- } else {
19921
- handles_typeof = function _typeof(obj) {
19922
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19923
- };
19924
- }
19925
-
19926
- return handles_typeof(obj);
19943
+ return handles_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
19944
+ return typeof obj;
19945
+ } : function (obj) {
19946
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
19947
+ }, handles_typeof(obj);
19927
19948
  }
19928
19949
 
19929
19950
  function handles_classCallCheck(instance, Constructor) {
@@ -19945,10 +19966,13 @@ function handles_defineProperties(target, props) {
19945
19966
  function handles_createClass(Constructor, protoProps, staticProps) {
19946
19967
  if (protoProps) handles_defineProperties(Constructor.prototype, protoProps);
19947
19968
  if (staticProps) handles_defineProperties(Constructor, staticProps);
19969
+ Object.defineProperty(Constructor, "prototype", {
19970
+ writable: false
19971
+ });
19948
19972
  return Constructor;
19949
19973
  }
19950
19974
 
19951
- function _get(target, property, receiver) {
19975
+ function _get() {
19952
19976
  if (typeof Reflect !== "undefined" && Reflect.get) {
19953
19977
  _get = Reflect.get;
19954
19978
  } else {
@@ -19959,14 +19983,14 @@ function _get(target, property, receiver) {
19959
19983
  var desc = Object.getOwnPropertyDescriptor(base, property);
19960
19984
 
19961
19985
  if (desc.get) {
19962
- return desc.get.call(receiver);
19986
+ return desc.get.call(arguments.length < 3 ? target : receiver);
19963
19987
  }
19964
19988
 
19965
19989
  return desc.value;
19966
19990
  };
19967
19991
  }
19968
19992
 
19969
- return _get(target, property, receiver || target);
19993
+ return _get.apply(this, arguments);
19970
19994
  }
19971
19995
 
19972
19996
  function _superPropBase(object, property) {
@@ -19990,6 +20014,9 @@ function handles_inherits(subClass, superClass) {
19990
20014
  configurable: true
19991
20015
  }
19992
20016
  });
20017
+ Object.defineProperty(subClass, "prototype", {
20018
+ writable: false
20019
+ });
19993
20020
  if (superClass) handles_setPrototypeOf(subClass, superClass);
19994
20021
  }
19995
20022
 
@@ -20024,6 +20051,8 @@ function handles_createSuper(Derived) {
20024
20051
  function handles_possibleConstructorReturn(self, call) {
20025
20052
  if (call && (handles_typeof(call) === "object" || typeof call === "function")) {
20026
20053
  return call;
20054
+ } else if (call !== void 0) {
20055
+ throw new TypeError("Derived constructors may only return object or undefined");
20027
20056
  }
20028
20057
 
20029
20058
  return handles_assertThisInitialized(self);
@@ -20137,17 +20166,11 @@ function handles_getPrototypeOf(o) {
20137
20166
  function modal_typeof(obj) {
20138
20167
  "@babel/helpers - typeof";
20139
20168
 
20140
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
20141
- modal_typeof = function _typeof(obj) {
20142
- return typeof obj;
20143
- };
20144
- } else {
20145
- modal_typeof = function _typeof(obj) {
20146
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
20147
- };
20148
- }
20149
-
20150
- return modal_typeof(obj);
20169
+ return modal_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
20170
+ return typeof obj;
20171
+ } : function (obj) {
20172
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
20173
+ }, modal_typeof(obj);
20151
20174
  }
20152
20175
 
20153
20176
  function modal_classCallCheck(instance, Constructor) {
@@ -20169,6 +20192,9 @@ function modal_defineProperties(target, props) {
20169
20192
  function modal_createClass(Constructor, protoProps, staticProps) {
20170
20193
  if (protoProps) modal_defineProperties(Constructor.prototype, protoProps);
20171
20194
  if (staticProps) modal_defineProperties(Constructor, staticProps);
20195
+ Object.defineProperty(Constructor, "prototype", {
20196
+ writable: false
20197
+ });
20172
20198
  return Constructor;
20173
20199
  }
20174
20200
 
@@ -20184,6 +20210,9 @@ function modal_inherits(subClass, superClass) {
20184
20210
  configurable: true
20185
20211
  }
20186
20212
  });
20213
+ Object.defineProperty(subClass, "prototype", {
20214
+ writable: false
20215
+ });
20187
20216
  if (superClass) modal_setPrototypeOf(subClass, superClass);
20188
20217
  }
20189
20218
 
@@ -20218,6 +20247,8 @@ function modal_createSuper(Derived) {
20218
20247
  function modal_possibleConstructorReturn(self, call) {
20219
20248
  if (call && (modal_typeof(call) === "object" || typeof call === "function")) {
20220
20249
  return call;
20250
+ } else if (call !== void 0) {
20251
+ throw new TypeError("Derived constructors may only return object or undefined");
20221
20252
  }
20222
20253
 
20223
20254
  return modal_assertThisInitialized(self);
@@ -20335,7 +20366,7 @@ var modal_Modal = /*#__PURE__*/function (_mixin) {
20335
20366
  if (_this.element.classList.contains(_this.options.classVisible) && !focusWrapNode.contains(evt.target) && _this.options.selectorsFloatingMenus.every(function (selector) {
20336
20367
  return !eventMatches(evt, selector);
20337
20368
  })) {
20338
- _this.element.querySelector(js_settings.selectorTabbable).focus();
20369
+ _this.element.querySelector(settings_1.selectorTabbable).focus();
20339
20370
  }
20340
20371
  };
20341
20372
 
@@ -20405,7 +20436,7 @@ var modal_Modal = /*#__PURE__*/function (_mixin) {
20405
20436
  if (state === 'shown' && _this2.element.offsetWidth > 0 && _this2.element.offsetHeight > 0) {
20406
20437
  _this2.previouslyFocusedNode = _this2.element.ownerDocument.activeElement;
20407
20438
 
20408
- var focusableItem = _this2.element.querySelector(_this2.options.selectorPrimaryFocus) || _this2.element.querySelector(js_settings.selectorTabbable);
20439
+ var focusableItem = _this2.element.querySelector(_this2.options.selectorPrimaryFocus) || _this2.element.querySelector(settings_1.selectorTabbable);
20409
20440
 
20410
20441
  focusableItem.focus();
20411
20442
 
@@ -20481,7 +20512,7 @@ var modal_Modal = /*#__PURE__*/function (_mixin) {
20481
20512
  /**
20482
20513
  * The component options.
20483
20514
  * If `options` is specified in the constructor, {@linkcode Modal.create .create()}, or {@linkcode Modal.init .init()},
20484
- * properties in this object are overriden for the instance being create and how {@linkcode Modal.init .init()} works.
20515
+ * properties in this object are overridden for the instance being create and how {@linkcode Modal.init .init()} works.
20485
20516
  * @member Modal.options
20486
20517
  * @type {object}
20487
20518
  * @property {string} selectorInit The CSS class to find modal dialogs.
@@ -20511,7 +20542,7 @@ var modal_Modal = /*#__PURE__*/function (_mixin) {
20511
20542
  * without being canceled by the event handler named by `eventBeforeHidden` option (`modal-beinghidden`).
20512
20543
  */
20513
20544
  function get() {
20514
- var prefix = js_settings.prefix;
20545
+ var prefix = settings_1.prefix;
20515
20546
  return {
20516
20547
  selectorInit: '[data-modal]',
20517
20548
  selectorModalClose: '[data-modal-close]',
@@ -20595,7 +20626,7 @@ var essentials_modal_Modal = /** @class */ (function (_super) {
20595
20626
  .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
20596
20627
  .slice(1)
20597
20628
  .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>"; })
20598
- .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>";
20629
+ .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>";
20599
20630
  };
20600
20631
  Modal.prototype.render = function () {
20601
20632
  var options = this.model.getOptions();
@@ -20603,7 +20634,7 @@ var essentials_modal_Modal = /** @class */ (function (_super) {
20603
20634
  // Grab the tooltip element
20604
20635
  var holder = src_select(this.services.domUtils.getHolder());
20605
20636
  var chartprefix = tools_Tools.getProperty(options, 'style', 'prefix');
20606
- this.modal = dom_utils_DOMUtils.appendOrSelect(holder, "div." + js_settings.prefix + "--" + chartprefix + "--modal");
20637
+ this.modal = dom_utils_DOMUtils.appendOrSelect(holder, "div." + settings_1.prefix + "--" + chartprefix + "--modal");
20607
20638
  this.addEventListeners();
20608
20639
  this.isEventListenerAdded = true;
20609
20640
  this.modal
@@ -23530,7 +23561,7 @@ var threshold_Threshold = /** @class */ (function (_super) {
23530
23561
  Threshold.prototype.appendThresholdLabel = function () {
23531
23562
  var holder = src_select(this.services.domUtils.getHolder());
23532
23563
  var chartprefix = tools_Tools.getProperty(this.getOptions(), 'style', 'prefix');
23533
- this.label = dom_utils_DOMUtils.appendOrSelect(holder, "div." + js_settings.prefix + "--" + chartprefix + "--threshold--label").classed('hidden', true);
23564
+ this.label = dom_utils_DOMUtils.appendOrSelect(holder, "div." + settings_1.prefix + "--" + chartprefix + "--threshold--label").classed('hidden', true);
23534
23565
  };
23535
23566
  Threshold.prototype.setThresholdLabelPosition = function (_a) {
23536
23567
  var event = _a.event, datum = _a.datum;
@@ -24197,7 +24228,7 @@ var tooltip_Tooltip = /** @class */ (function (_super) {
24197
24228
  // Grab the tooltip element
24198
24229
  var holder = src_select(this.services.domUtils.getHolder());
24199
24230
  var chartprefix = tools_Tools.getProperty(options, 'style', 'prefix');
24200
- this.tooltip = dom_utils_DOMUtils.appendOrSelect(holder, "div." + js_settings.prefix + "--" + chartprefix + "--tooltip");
24231
+ this.tooltip = dom_utils_DOMUtils.appendOrSelect(holder, "div." + settings_1.prefix + "--" + chartprefix + "--tooltip");
24201
24232
  this.tooltip.style('max-width', null).attr('role', 'tooltip');
24202
24233
  if (!this.isEventListenerAdded) {
24203
24234
  this.addTooltipEventListener();
@@ -35682,11 +35713,11 @@ var layout_LayoutComponent = /** @class */ (function (_super) {
35682
35713
  var chartprefix = tools_Tools.getProperty(this.model.getOptions(), 'style', 'prefix');
35683
35714
  // Add new boxes to the DOM for each layout child
35684
35715
  var updatedBoxes = parent
35685
- .classed(js_settings.prefix + "--" + chartprefix + "--layout-row", this.configs.direction === LayoutDirection.ROW)
35686
- .classed(js_settings.prefix + "--" + chartprefix + "--layout-row-reverse", this.configs.direction === LayoutDirection.ROW_REVERSE)
35687
- .classed(js_settings.prefix + "--" + chartprefix + "--layout-column", this.configs.direction === LayoutDirection.COLUMN)
35688
- .classed(js_settings.prefix + "--" + chartprefix + "--layout-column-reverse", this.configs.direction === LayoutDirection.COLUMN_REVERSE)
35689
- .classed(js_settings.prefix + "--" + chartprefix + "--layout-alignitems-center", this.configs.alignItems === LayoutAlignItems.CENTER)
35716
+ .classed(settings_1.prefix + "--" + chartprefix + "--layout-row", this.configs.direction === LayoutDirection.ROW)
35717
+ .classed(settings_1.prefix + "--" + chartprefix + "--layout-row-reverse", this.configs.direction === LayoutDirection.ROW_REVERSE)
35718
+ .classed(settings_1.prefix + "--" + chartprefix + "--layout-column", this.configs.direction === LayoutDirection.COLUMN)
35719
+ .classed(settings_1.prefix + "--" + chartprefix + "--layout-column-reverse", this.configs.direction === LayoutDirection.COLUMN_REVERSE)
35720
+ .classed(settings_1.prefix + "--" + chartprefix + "--layout-alignitems-center", this.configs.alignItems === LayoutAlignItems.CENTER)
35690
35721
  .selectAll("div.layout-child-" + this._instanceID)
35691
35722
  .data(this.children, function (d) { return d.id; });
35692
35723
  var enteringBoxes = updatedBoxes.enter().append('div');