ids-enterprise 4.59.0-dev.20211130 → 4.59.0-dev.20211203

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.
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.59.0-dev.20211130
4
- * Date: 2021-12-01T20:12:27.031Z
5
- * Revision: f9c623d72770bd4d5332024ad0cfadbb2f0702c5
3
+ * IDS Enterprise Components - v4.59.0-dev.20211203
4
+ * Date: 2021-12-03T21:54:33.487Z
5
+ * Revision: f5bdb8e5ae4e1d75270960065e6469f8ddff3aa4
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.59.0-dev.20211130
4
- * Date: 2021-12-01T20:12:27.031Z
5
- * Revision: f9c623d72770bd4d5332024ad0cfadbb2f0702c5
3
+ * IDS Enterprise Components - v4.59.0-dev.20211203
4
+ * Date: 2021-12-03T21:54:33.487Z
5
+ * Revision: f5bdb8e5ae4e1d75270960065e6469f8ddff3aa4
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.59.0-dev.20211130
4
- * Date: 2021-12-01T20:12:27.031Z
5
- * Revision: f9c623d72770bd4d5332024ad0cfadbb2f0702c5
3
+ * IDS Enterprise Components - v4.59.0-dev.20211203
4
+ * Date: 2021-12-03T21:54:33.487Z
5
+ * Revision: f5bdb8e5ae4e1d75270960065e6469f8ddff3aa4
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.59.0-dev.20211130
4
- * Date: 2021-12-01T20:12:27.031Z
5
- * Revision: f9c623d72770bd4d5332024ad0cfadbb2f0702c5
3
+ * IDS Enterprise Components - v4.59.0-dev.20211203
4
+ * Date: 2021-12-03T21:54:33.487Z
5
+ * Revision: f5bdb8e5ae4e1d75270960065e6469f8ddff3aa4
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.59.0-dev.20211130
4
- * Date: 2021-12-01T20:12:27.031Z
5
- * Revision: f9c623d72770bd4d5332024ad0cfadbb2f0702c5
3
+ * IDS Enterprise Components - v4.59.0-dev.20211203
4
+ * Date: 2021-12-03T21:54:33.487Z
5
+ * Revision: f5bdb8e5ae4e1d75270960065e6469f8ddff3aa4
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.59.0-dev.20211130
4
- * Date: 2021-12-01T20:12:27.031Z
5
- * Revision: f9c623d72770bd4d5332024ad0cfadbb2f0702c5
3
+ * IDS Enterprise Components - v4.59.0-dev.20211203
4
+ * Date: 2021-12-03T21:54:33.487Z
5
+ * Revision: f5bdb8e5ae4e1d75270960065e6469f8ddff3aa4
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.59.0-dev.20211130
4
- * Date: 2021-12-01T20:12:27.031Z
5
- * Revision: f9c623d72770bd4d5332024ad0cfadbb2f0702c5
3
+ * IDS Enterprise Components - v4.59.0-dev.20211203
4
+ * Date: 2021-12-03T21:54:33.487Z
5
+ * Revision: f5bdb8e5ae4e1d75270960065e6469f8ddff3aa4
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.59.0-dev.20211130
4
- * Date: 2021-12-01T20:12:27.031Z
5
- * Revision: f9c623d72770bd4d5332024ad0cfadbb2f0702c5
3
+ * IDS Enterprise Components - v4.59.0-dev.20211203
4
+ * Date: 2021-12-03T21:54:33.487Z
5
+ * Revision: f5bdb8e5ae4e1d75270960065e6469f8ddff3aa4
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.59.0-dev.20211130
4
- * Date: 2021-12-01T20:12:27.031Z
5
- * Revision: f9c623d72770bd4d5332024ad0cfadbb2f0702c5
3
+ * IDS Enterprise Components - v4.59.0-dev.20211203
4
+ * Date: 2021-12-03T21:54:33.487Z
5
+ * Revision: f5bdb8e5ae4e1d75270960065e6469f8ddff3aa4
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.59.0-dev.20211130
4
- * Date: 2021-12-01T20:12:27.031Z
5
- * Revision: f9c623d72770bd4d5332024ad0cfadbb2f0702c5
3
+ * IDS Enterprise Components - v4.59.0-dev.20211203
4
+ * Date: 2021-12-03T21:54:33.487Z
5
+ * Revision: f5bdb8e5ae4e1d75270960065e6469f8ddff3aa4
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.59.0-dev.20211130
4
- * Date: 2021-12-01T20:12:27.031Z
5
- * Revision: f9c623d72770bd4d5332024ad0cfadbb2f0702c5
3
+ * IDS Enterprise Components - v4.59.0-dev.20211203
4
+ * Date: 2021-12-03T21:54:33.487Z
5
+ * Revision: f5bdb8e5ae4e1d75270960065e6469f8ddff3aa4
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.59.0-dev.20211130
4
- * Date: 2021-12-01T20:12:27.031Z
5
- * Revision: f9c623d72770bd4d5332024ad0cfadbb2f0702c5
3
+ * IDS Enterprise Components - v4.59.0-dev.20211203
4
+ * Date: 2021-12-03T21:54:33.487Z
5
+ * Revision: f5bdb8e5ae4e1d75270960065e6469f8ddff3aa4
6
6
  *
7
7
  *
8
8
  * Apache License
package/dist/js/sohoxi.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * IDS Enterprise Components - v4.59.0-dev.20211130
3
- * Date: 2021-12-01T20:12:27.953Z
4
- * Revision: f9c623d72770bd4d5332024ad0cfadbb2f0702c5
2
+ * IDS Enterprise Components - v4.59.0-dev.20211203
3
+ * Date: 2021-12-03T21:54:34.020Z
4
+ * Revision: f5bdb8e5ae4e1d75270960065e6469f8ddff3aa4
5
5
  *
6
6
  *
7
7
  * Apache License
@@ -348,7 +348,7 @@ var Soho = (function (exports) {
348
348
 
349
349
  var name = "ids-enterprise";
350
350
  var slug = "ids-enterprise";
351
- var version = "4.59.0-dev.20211130";
351
+ var version = "4.59.0-dev.20211203";
352
352
  var description = "Infor Design System (IDS) Enterprise Components for the web";
353
353
  var repository = {
354
354
  type: "git",
@@ -918,7 +918,9 @@ var Soho = (function (exports) {
918
918
 
919
919
  xssUtils.isUrlLocal = function (url) {
920
920
  var isEmpty = url === '';
921
- return !isEmpty && (url[0] === '/' && (url.length === 1 || url[1] !== '/' && url[1] !== '\\') || url.length > 1 && url[0] === '~' && url[1] === '/') || url.length >= 1 && url[0] === '#'; // "#" or "#foo"
921
+ return !isEmpty && (url[0] === '/' && (url.length === 1 || url[1] !== '/' && url[1] !== '\\') || // "/" or "/foo" but not "//" or "/\"
922
+ url.length > 1 && url[0] === '~' && url[1] === '/') || // "~/" or "~/foo"
923
+ url.length >= 1 && url[0] === '#'; // "#" or "#foo"
922
924
  };
923
925
 
924
926
  var DOM = {};
@@ -14969,7 +14971,7 @@ var Soho = (function (exports) {
14969
14971
  * Enable a disabled badge.
14970
14972
  * @returns {void}
14971
14973
  */
14972
- enable: function enable() {
14974
+ show: function show() {
14973
14975
  this.element.find('.notification-dot').removeClass('is-disabled');
14974
14976
  },
14975
14977
 
@@ -14977,7 +14979,7 @@ var Soho = (function (exports) {
14977
14979
  * Disable a badge.
14978
14980
  * @returns {void}
14979
14981
  */
14980
- disable: function disable() {
14982
+ hide: function hide() {
14981
14983
  this.element.find('.notification-dot').addClass('is-disabled');
14982
14984
  },
14983
14985
 
@@ -15047,8 +15049,8 @@ var Soho = (function (exports) {
15047
15049
  ripple: true,
15048
15050
  hitbox: false,
15049
15051
  validate: false,
15050
- badge: false,
15051
- badgeOptions: {
15052
+ notificationBadge: false,
15053
+ notificationBadgeOptions: {
15052
15054
  position: 'upper-right',
15053
15055
  color: 'alert'
15054
15056
  },
@@ -15117,15 +15119,14 @@ var Soho = (function (exports) {
15117
15119
  * @returns {void}
15118
15120
  */
15119
15121
  createNotificationBadge: function createNotificationBadge() {
15120
- if (!this.settings.badge) {
15122
+ if (!this.settings.notificationBadge) {
15121
15123
  return;
15122
15124
  } // const badgeEl = this.element.append(`<div id="notification-badge"></div>`);
15123
15125
 
15124
15126
 
15125
15127
  this.element.notificationbadge({
15126
- position: this.settings.badgeOptions.position,
15127
- color: this.settings.badgeOptions.color,
15128
- badge: this.settings.badge
15128
+ position: this.settings.notificationBadgeOptions.position,
15129
+ color: this.settings.notificationBadgeOptions.color
15129
15130
  });
15130
15131
  },
15131
15132
 
@@ -17387,7 +17388,9 @@ var Soho = (function (exports) {
17387
17388
  }).length; // The number of times we need to see occurrences of the `targetChar` before we
17388
17389
  // know it is the one we're looking for is:
17389
17390
 
17390
- var requiredNumberOfMatches = countTargetCharInPlaceholder + countTargetCharInIntersection + countTargetCharInPipedChars + (trackRightCharacter ? 1 : 0); // Now we start looking for the location of the `targetChar`.
17391
+ var requiredNumberOfMatches = countTargetCharInPlaceholder + countTargetCharInIntersection + countTargetCharInPipedChars + ( // The character to the right of the caret isn't included in `intersection`
17392
+ // so add one if we are tracking the character to the right
17393
+ trackRightCharacter ? 1 : 0); // Now we start looking for the location of the `targetChar`.
17391
17394
  // We keep looping forward and store the index in every iteration. Once we have encountered
17392
17395
  // enough occurrences of the target character, we break out of the loop
17393
17396
  // If are searching for the second `1` in `1214`, `startingSearchIndex` will point at `4`.
@@ -21276,7 +21279,7 @@ var Soho = (function (exports) {
21276
21279
  expanderDisplay: expanderDisplayModes[0],
21277
21280
  enableTooltips: true,
21278
21281
  rerouteOnLinkClick: true,
21279
- badge: false,
21282
+ notificationBadge: false,
21280
21283
  source: null
21281
21284
  }; // Handles the conversion of deprecated settings to current settings
21282
21285
 
@@ -21554,21 +21557,18 @@ var Soho = (function (exports) {
21554
21557
  * @returns {void}
21555
21558
  */
21556
21559
  createNotificationBadge: function createNotificationBadge() {
21557
- var _this2 = this;
21558
-
21559
- if (!this.settings.badge) {
21560
+ if (!this.settings.notificationBadge) {
21560
21561
  return;
21561
21562
  }
21562
21563
 
21563
21564
  this.element.find('.accordion-header').each(function (index, val) {
21564
21565
  var headerEl = $(val);
21565
21566
 
21566
- if (!headerEl.children('.notification-badge-container')) {
21567
+ if (headerEl.children('.notification-badge-container').length < 1) {
21567
21568
  var headerData = headerEl.data();
21568
21569
  headerEl.notificationbadge({
21569
21570
  position: headerData.options.position,
21570
- color: headerData.options.color,
21571
- badge: _this2.settings.badge
21571
+ color: headerData.options.color
21572
21572
  });
21573
21573
  var icon = headerEl.find('.icon');
21574
21574
  var badgeEl = headerEl.find('.notification-badge-container');
@@ -22036,7 +22036,7 @@ var Soho = (function (exports) {
22036
22036
  * @returns {void}
22037
22037
  */
22038
22038
  toggle: function toggle(header) {
22039
- var _this3 = this;
22039
+ var _this2 = this;
22040
22040
 
22041
22041
  if (!header || !header.length || this.isDisabled(header) || this.isFiltered(header) || this.isAnimating) {
22042
22042
  return;
@@ -22044,7 +22044,7 @@ var Soho = (function (exports) {
22044
22044
 
22045
22045
  this.isAnimating = true;
22046
22046
  setTimeout(function () {
22047
- _this3.isAnimating = false;
22047
+ _this2.isAnimating = false;
22048
22048
  }, 500);
22049
22049
 
22050
22050
  if (this.isExpanded(header)) {
@@ -22160,14 +22160,11 @@ var Soho = (function (exports) {
22160
22160
  });
22161
22161
 
22162
22162
  pane.triggerHandler('afterexpand', [a]);
22163
+ pane.css('height', 'auto');
22163
22164
  self.element.trigger('afterexpand', [a]);
22164
22165
  }
22165
22166
 
22166
- if (pane.hasClass('no-transition')) {
22167
- handleAfterExpand();
22168
- } else {
22169
- pane.one('animateopencomplete', handleAfterExpand).animateOpen();
22170
- }
22167
+ handleAfterExpand();
22171
22168
  } // Load from an external source, if applicable
22172
22169
 
22173
22170
 
@@ -22278,12 +22275,7 @@ var Soho = (function (exports) {
22278
22275
  dfd.resolve();
22279
22276
  }
22280
22277
 
22281
- if (pane.hasClass('no-transition')) {
22282
- handleAfterCollapse();
22283
- } else {
22284
- pane.one('animateclosedcomplete', handleAfterCollapse).animateClosed();
22285
- }
22286
-
22278
+ handleAfterCollapse();
22287
22279
  return dfd;
22288
22280
  },
22289
22281
 
@@ -22592,7 +22584,7 @@ var Soho = (function (exports) {
22592
22584
  * @param {jQuery[]} targets element references representing accordion headers.
22593
22585
  */
22594
22586
  filter: function filter(targets) {
22595
- var _this4 = this;
22587
+ var _this3 = this;
22596
22588
 
22597
22589
  if (!targets) {
22598
22590
  return;
@@ -22608,7 +22600,7 @@ var Soho = (function (exports) {
22608
22600
 
22609
22601
  var toFilter = targets.not(this.currentlyFiltered); // Store a list of all modified parent headers
22610
22602
 
22611
- var allParentHeaders = $();
22603
+ var allTempHeaders = [];
22612
22604
  var allContentAreas = $(); // Perform filtering
22613
22605
 
22614
22606
  this.headers.add(this.contentAreas).not(toFilter).addClass('filtered');
@@ -22619,27 +22611,31 @@ var Soho = (function (exports) {
22619
22611
  if (isContentArea) {
22620
22612
  allContentAreas.push($(target));
22621
22613
  var thisParentPane = $(allParentPanes[0]);
22622
- var thisParentHeader = thisParentPane.prev('.accordion-header').filter(function (j, item) {
22623
- return allParentHeaders.index(item) === -1;
22624
- });
22614
+ thisParentPane.prev('.accordion-header').each(function (index, val) {
22615
+ if (allTempHeaders.indexOf(val) < 0) {
22616
+ allTempHeaders.push(val);
22617
+ }
22625
22618
 
22626
- if (thisParentHeader.length) {
22627
- allParentHeaders = allParentHeaders.add(thisParentHeader);
22628
- }
22619
+ return allTempHeaders;
22620
+ });
22629
22621
  } // Handle Labeling of Parent Headers
22630
22622
 
22631
22623
 
22632
22624
  if (allParentPanes.length) {
22633
- var parentHeaders = allParentPanes.prev('.accordion-header').filter(function (j, item) {
22634
- return allParentPanes.index(item) === -1;
22625
+ allParentPanes.prev('.accordion-header').each(function (index, val) {
22626
+ if (allTempHeaders.indexOf(val) < 0) {
22627
+ allTempHeaders.push(val);
22628
+ }
22629
+
22630
+ return allTempHeaders;
22635
22631
  });
22636
- allParentHeaders = allParentHeaders.add(parentHeaders);
22637
22632
  }
22638
22633
  });
22634
+ var allParentHeaders = $(allTempHeaders);
22639
22635
  allParentHeaders.addClass('has-filtered-children');
22640
22636
  var expandPromise = this.expand(allParentHeaders, true);
22641
22637
  $.when(expandPromise).done(function () {
22642
- _this4.currentlyFiltered = toFilter;
22638
+ _this3.currentlyFiltered = toFilter;
22643
22639
  self.build(undefined, true);
22644
22640
  });
22645
22641
  },
@@ -22652,7 +22648,7 @@ var Soho = (function (exports) {
22652
22648
  * if there are no headers filtered when typing a character that is not available on the accordion list.
22653
22649
  */
22654
22650
  unfilter: function unfilter(headers, isReset) {
22655
- var _this5 = this;
22651
+ var _this4 = this;
22656
22652
 
22657
22653
  if (!this.currentlyFiltered.length && !isReset) {
22658
22654
  return;
@@ -22663,7 +22659,7 @@ var Soho = (function (exports) {
22663
22659
  } // Store a list of all modified parent headers
22664
22660
 
22665
22661
 
22666
- var allParentHeaders = $(); // Reset all the things
22662
+ var allTempHeaders = []; // Reset all the things
22667
22663
 
22668
22664
  this.headers.removeClass('filtered has-filtered-children hide-focus');
22669
22665
  this.panes.removeClass('all-children-filtered no-transition');
@@ -22672,16 +22668,20 @@ var Soho = (function (exports) {
22672
22668
  var parentPanes = $(header).parents('.accordion-pane');
22673
22669
 
22674
22670
  if (parentPanes.length) {
22675
- var parentHeaders = parentPanes.prev('.accordion-header').filter(function (j, item) {
22676
- return allParentHeaders.index(item) === -1;
22671
+ parentPanes.prev('.accordion-header').each(function (index, val) {
22672
+ if (allTempHeaders.indexOf(val) < 0) {
22673
+ allTempHeaders.push(val);
22674
+ }
22675
+
22676
+ return allTempHeaders;
22677
22677
  });
22678
- allParentHeaders = allParentHeaders.add(parentHeaders);
22679
22678
  }
22680
22679
  });
22680
+ var allParentHeaders = $(allTempHeaders);
22681
22681
  allParentHeaders.removeClass('has-filtered-children');
22682
22682
  var collapseDfds = [this.collapse(headers), this.collapse(allParentHeaders)];
22683
22683
  $.when(collapseDfds).done(function () {
22684
- _this5.currentlyFiltered = _this5.currentlyFiltered.not(headers);
22684
+ _this4.currentlyFiltered = _this4.currentlyFiltered.not(headers);
22685
22685
  });
22686
22686
  },
22687
22687
 
@@ -22892,7 +22892,6 @@ var Soho = (function (exports) {
22892
22892
  });
22893
22893
  }
22894
22894
 
22895
- this.element.trigger('rendered');
22896
22895
  return this;
22897
22896
  },
22898
22897
 
@@ -22902,7 +22901,7 @@ var Soho = (function (exports) {
22902
22901
  * @returns {void}
22903
22902
  */
22904
22903
  hideTooltip: function hideTooltip() {
22905
- var _this6 = this;
22904
+ var _this5 = this;
22906
22905
 
22907
22906
  var self = window;
22908
22907
 
@@ -22915,7 +22914,7 @@ var Soho = (function (exports) {
22915
22914
 
22916
22915
 
22917
22916
  $('body, .scrollable').off('scroll.spantooltip', function () {
22918
- _this6.hideTooltip();
22917
+ _this5.hideTooltip();
22919
22918
  });
22920
22919
  },
22921
22920
 
@@ -33318,7 +33317,8 @@ var Soho = (function (exports) {
33318
33317
  var value = isPrivate ? obj._value : obj.value; //eslint-disable-line
33319
33318
 
33320
33319
  return obj && !isUndefined(value) && obj.format ? //eslint-disable-line
33321
- format(fixPercent(value, ds), obj.format, ds) : obj ? fixPercent(value, ds) : 0;
33320
+ format(fixPercent(value, ds), obj.format, ds) : //eslint-disable-line
33321
+ obj ? fixPercent(value, ds) : 0;
33322
33322
  };
33323
33323
 
33324
33324
  var self = this;
@@ -36622,7 +36622,8 @@ var Soho = (function (exports) {
36622
36622
  }
36623
36623
 
36624
36624
  if (selected < 1) {
36625
- if (typeof o.fieldName !== 'undefined' && typeof o.fieldValue !== 'undefined' && o.fieldValue === (isSingle && self.settings.isStacked ? d[0][o.fieldName] : d[o.fieldName]) || typeof o.index !== 'undefined' && o.index === i || o.data && equals(o.data, dataset[gIdx].data[i]) || o.elem && $(this).is(o.elem)) {
36625
+ if (typeof o.fieldName !== 'undefined' && typeof o.fieldValue !== 'undefined' && o.fieldValue === (isSingle && self.settings.isStacked ? d[0][o.fieldName] : d[o.fieldName]) || //eslint-disable-line
36626
+ typeof o.index !== 'undefined' && o.index === i || o.data && equals(o.data, dataset[gIdx].data[i]) || o.elem && $(this).is(o.elem)) {
36626
36627
  selected++;
36627
36628
  selector = d3.select(this);
36628
36629
  barIndex = i;
@@ -37499,7 +37500,10 @@ var Soho = (function (exports) {
37499
37500
  }).attr('class', function (d, i) {
37500
37501
  return "bar series-".concat(i);
37501
37502
  }).style('fill', function (d, i) {
37502
- return s.isStacked ? series.length === 1 ? charts.chartColor(i, 'bar-single', d) : charts.chartColor(d.index, 'bar', series[d.index]) : charts.chartColor(i, 'bar', legendMap[i]);
37503
+ return s.isStacked ? // eslint-disable-line
37504
+ series.length === 1 ? charts.chartColor(i, 'bar-single', d) : // eslint-disable-line
37505
+ charts.chartColor(d.index, 'bar', series[d.index]) : // eslint-disable-line
37506
+ charts.chartColor(i, 'bar', legendMap[i]);
37503
37507
  }) // eslint-disable-line
37504
37508
  .attr('mask', function (d, i) {
37505
37509
  if (dataset.length === 1 && dataset[0][i].pattern) {
@@ -37822,7 +37826,8 @@ var Soho = (function (exports) {
37822
37826
  return 0;
37823
37827
  }
37824
37828
 
37825
- return s.isStacked && !s.isSingle ? xScale(d.x0) + 1 : d.x < 0 ? xScale(d.x) + 1 : xScale(0) + 1;
37829
+ return s.isStacked && !s.isSingle ? xScale(d.x0) + 1 : //eslint-disable-line
37830
+ d.x < 0 ? xScale(d.x) + 1 : xScale(0) + 1;
37826
37831
  });
37827
37832
  s.svg = self.svg; // Add Legends
37828
37833
 
@@ -43852,7 +43857,9 @@ var Soho = (function (exports) {
43852
43857
  * @returns {boolean} true if the key is a control key.
43853
43858
  */
43854
43859
  isControl: function isControl(keycode) {
43855
- var valid = keycode > 7 && keycode < 48 || keycode > 90 && keycode < 94 || keycode > 111 && keycode < 146; // function keys
43860
+ var valid = keycode > 7 && keycode < 48 || // control chars
43861
+ keycode > 90 && keycode < 94 || // windows keys
43862
+ keycode > 111 && keycode < 146; // function keys
43856
43863
 
43857
43864
  return valid;
43858
43865
  },
@@ -84391,7 +84398,7 @@ var Soho = (function (exports) {
84391
84398
  } // Add it to the App Menu's list of triggers to adjust on open/close
84392
84399
 
84393
84400
 
84394
- (_$$data = $('#application-menu').data('applicationmenu')) === null || _$$data === void 0 ? void 0 : _$$data == null ? void 0 : _$$data.modifyTriggers([appMenuTrigger.children('a')], null, true);
84401
+ (_$$data = $('#application-menu').data('applicationmenu')) === null || _$$data === void 0 ? void 0 : _$$data == null ? void 0 : _$$data.modifyTriggers([appMenuTrigger.children('a')]);
84395
84402
  } // Add Tab Button
84396
84403
 
84397
84404
 
@@ -88051,9 +88058,14 @@ var Soho = (function (exports) {
88051
88058
  var valid = false;
88052
88059
 
88053
88060
  if (shiftKey) {
88054
- valid = keycode > 64 && keycode < 91 || keycode >= 33 && keycode <= 38 || keycode >= 40 && keycode <= 43 || keycode === 126 || keycode === 58 || keycode === 60 || keycode >= 123 && keycode <= 125 || keycode === 94 || keycode === 95 || keycode >= 62 && keycode <= 64;
88061
+ valid = keycode > 64 && keycode < 91 || // letter keys
88062
+ keycode >= 33 && keycode <= 38 || keycode >= 40 && keycode <= 43 || keycode === 126 || keycode === 58 || keycode === 60 || keycode >= 123 && keycode <= 125 || keycode === 94 || keycode === 95 || keycode >= 62 && keycode <= 64;
88055
88063
  } else {
88056
- valid = keycode === 13 || keycode >= 48 && keycode <= 57 || keycode >= 97 && keycode <= 122 || keycode === 59 || keycode === 61 || keycode >= 44 && keycode <= 47 || keycode === 96 || keycode >= 91 && keycode <= 93 || keycode === 39; // [\]' (in order)
88064
+ valid = keycode === 13 || // enter key
88065
+ keycode >= 48 && keycode <= 57 || // number keys
88066
+ keycode >= 97 && keycode <= 122 || // letter keys
88067
+ keycode === 59 || keycode === 61 || keycode >= 44 && keycode <= 47 || keycode === 96 || // ;=,-./` (in order)
88068
+ keycode >= 91 && keycode <= 93 || keycode === 39; // [\]' (in order)
88057
88069
  }
88058
88070
 
88059
88071
  return valid;
@@ -88128,7 +88140,8 @@ var Soho = (function (exports) {
88128
88140
  var length = value.length + (isExtraLinebreaks ? this.countLinebreaks(value) : 0);
88129
88141
  var max = self.getMaxLength();
88130
88142
  var remaining = parseInt(max, 10) - length;
88131
- var text = (self.settings.charRemainingText ? self.settings.charRemainingText : Locale.translate('CharactersLeft') === 'CharactersLeft' ? 'Characters Left' : Locale.translate('CharactersLeft')).replace('{0}', remaining.toString());
88143
+ var text = (self.settings.charRemainingText ? self.settings.charRemainingText : //eslint-disable-line
88144
+ Locale.translate('CharactersLeft') === 'CharactersLeft' ? 'Characters Left' : Locale.translate('CharactersLeft')).replace('{0}', remaining.toString());
88132
88145
 
88133
88146
  if (self.counter) {
88134
88147
  if (length >= max) {
@@ -106621,7 +106634,8 @@ var Soho = (function (exports) {
106621
106634
  if (key === 9 && e.shiftKey && target.is('.code-block-actions')) {
106622
106635
  self.focusNextPrev('prev', node);
106623
106636
  } else {
106624
- if (!isRTL && (key === 37 || key === 9 && e.shiftKey) || isRTL && (key === 39 || key === 9)) {
106637
+ if (!isRTL && (key === 37 || key === 9 && e.shiftKey) || // eslint-disable-line
106638
+ isRTL && (key === 39 || key === 9)) {
106625
106639
  // eslint-disable-line
106626
106640
  cell = getNextVisibleCell(cell, lastCell, true);
106627
106641
  } else {