ids-enterprise 4.60.0-beta.0 → 4.60.0-beta.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.
Files changed (34) hide show
  1. package/dist/css/theme-classic-contrast.css +3 -3
  2. package/dist/css/theme-classic-contrast.min.css +3 -3
  3. package/dist/css/theme-classic-dark.css +3 -3
  4. package/dist/css/theme-classic-dark.min.css +3 -3
  5. package/dist/css/theme-classic-light.css +3 -3
  6. package/dist/css/theme-classic-light.min.css +3 -3
  7. package/dist/css/theme-new-contrast.css +3 -3
  8. package/dist/css/theme-new-contrast.min.css +3 -3
  9. package/dist/css/theme-new-dark.css +3 -3
  10. package/dist/css/theme-new-dark.min.css +3 -3
  11. package/dist/css/theme-new-light.css +3 -3
  12. package/dist/css/theme-new-light.min.css +3 -3
  13. package/dist/css/theme-soho-contrast.css +3 -3
  14. package/dist/css/theme-soho-contrast.min.css +3 -3
  15. package/dist/css/theme-soho-dark.css +3 -3
  16. package/dist/css/theme-soho-dark.min.css +3 -3
  17. package/dist/css/theme-soho-light.css +3 -3
  18. package/dist/css/theme-soho-light.min.css +3 -3
  19. package/dist/css/theme-uplift-contrast.css +3 -3
  20. package/dist/css/theme-uplift-contrast.min.css +3 -3
  21. package/dist/css/theme-uplift-dark.css +3 -3
  22. package/dist/css/theme-uplift-dark.min.css +3 -3
  23. package/dist/css/theme-uplift-light.css +3 -3
  24. package/dist/css/theme-uplift-light.min.css +3 -3
  25. package/dist/js/sohoxi.esm.js +50 -51
  26. package/dist/js/sohoxi.js +50 -51
  27. package/dist/js/sohoxi.js.map +1 -1
  28. package/dist/js/sohoxi.min.js +4 -4
  29. package/dist/js/sohoxi.min.js.map +1 -1
  30. package/dist/svg/theme-classic-svg-empty.html +8 -8
  31. package/dist/svg/theme-classic-svg.html +215 -215
  32. package/dist/svg/theme-new-svg-empty.html +8 -8
  33. package/dist/svg/theme-new-svg.html +223 -223
  34. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.60.0-beta.0
4
- * Date: 2022-02-08T15:19:24.340Z
5
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
3
+ * IDS Enterprise Components - v4.60.0-beta.1
4
+ * Date: 2022-02-09T16:12:05.679Z
5
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";/*!
2
- * IDS Enterprise Components - v4.60.0-beta.0
3
- * Date: 2022-02-08T15:19:24.340Z
4
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
2
+ * IDS Enterprise Components - v4.60.0-beta.1
3
+ * Date: 2022-02-09T16:12:05.679Z
4
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
5
5
  *
6
6
  *
7
7
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.60.0-beta.0
4
- * Date: 2022-02-08T15:19:24.340Z
5
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
3
+ * IDS Enterprise Components - v4.60.0-beta.1
4
+ * Date: 2022-02-09T16:12:05.679Z
5
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";/*!
2
- * IDS Enterprise Components - v4.60.0-beta.0
3
- * Date: 2022-02-08T15:19:24.340Z
4
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
2
+ * IDS Enterprise Components - v4.60.0-beta.1
3
+ * Date: 2022-02-09T16:12:05.679Z
4
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
5
5
  *
6
6
  *
7
7
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.60.0-beta.0
4
- * Date: 2022-02-08T15:19:24.340Z
5
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
3
+ * IDS Enterprise Components - v4.60.0-beta.1
4
+ * Date: 2022-02-09T16:12:05.679Z
5
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";/*!
2
- * IDS Enterprise Components - v4.60.0-beta.0
3
- * Date: 2022-02-08T15:19:24.340Z
4
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
2
+ * IDS Enterprise Components - v4.60.0-beta.1
3
+ * Date: 2022-02-09T16:12:05.679Z
4
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
5
5
  *
6
6
  *
7
7
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.60.0-beta.0
4
- * Date: 2022-02-08T15:19:24.340Z
5
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
3
+ * IDS Enterprise Components - v4.60.0-beta.1
4
+ * Date: 2022-02-09T16:12:05.679Z
5
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";/*!
2
- * IDS Enterprise Components - v4.60.0-beta.0
3
- * Date: 2022-02-08T15:19:24.340Z
4
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
2
+ * IDS Enterprise Components - v4.60.0-beta.1
3
+ * Date: 2022-02-09T16:12:05.679Z
4
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
5
5
  *
6
6
  *
7
7
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.60.0-beta.0
4
- * Date: 2022-02-08T15:19:24.340Z
5
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
3
+ * IDS Enterprise Components - v4.60.0-beta.1
4
+ * Date: 2022-02-09T16:12:05.679Z
5
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";/*!
2
- * IDS Enterprise Components - v4.60.0-beta.0
3
- * Date: 2022-02-08T15:19:24.340Z
4
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
2
+ * IDS Enterprise Components - v4.60.0-beta.1
3
+ * Date: 2022-02-09T16:12:05.679Z
4
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
5
5
  *
6
6
  *
7
7
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.60.0-beta.0
4
- * Date: 2022-02-08T15:19:24.340Z
5
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
3
+ * IDS Enterprise Components - v4.60.0-beta.1
4
+ * Date: 2022-02-09T16:12:05.679Z
5
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";/*!
2
- * IDS Enterprise Components - v4.60.0-beta.0
3
- * Date: 2022-02-08T15:19:24.340Z
4
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
2
+ * IDS Enterprise Components - v4.60.0-beta.1
3
+ * Date: 2022-02-09T16:12:05.679Z
4
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
5
5
  *
6
6
  *
7
7
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.60.0-beta.0
4
- * Date: 2022-02-08T15:19:24.340Z
5
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
3
+ * IDS Enterprise Components - v4.60.0-beta.1
4
+ * Date: 2022-02-09T16:12:05.679Z
5
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";/*!
2
- * IDS Enterprise Components - v4.60.0-beta.0
3
- * Date: 2022-02-08T15:19:24.340Z
4
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
2
+ * IDS Enterprise Components - v4.60.0-beta.1
3
+ * Date: 2022-02-09T16:12:05.679Z
4
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
5
5
  *
6
6
  *
7
7
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.60.0-beta.0
4
- * Date: 2022-02-08T15:19:24.340Z
5
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
3
+ * IDS Enterprise Components - v4.60.0-beta.1
4
+ * Date: 2022-02-09T16:12:05.679Z
5
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";/*!
2
- * IDS Enterprise Components - v4.60.0-beta.0
3
- * Date: 2022-02-08T15:19:24.340Z
4
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
2
+ * IDS Enterprise Components - v4.60.0-beta.1
3
+ * Date: 2022-02-09T16:12:05.679Z
4
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
5
5
  *
6
6
  *
7
7
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.60.0-beta.0
4
- * Date: 2022-02-08T15:19:24.340Z
5
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
3
+ * IDS Enterprise Components - v4.60.0-beta.1
4
+ * Date: 2022-02-09T16:12:05.679Z
5
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";/*!
2
- * IDS Enterprise Components - v4.60.0-beta.0
3
- * Date: 2022-02-08T15:19:24.340Z
4
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
2
+ * IDS Enterprise Components - v4.60.0-beta.1
3
+ * Date: 2022-02-09T16:12:05.679Z
4
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
5
5
  *
6
6
  *
7
7
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.60.0-beta.0
4
- * Date: 2022-02-08T15:19:24.340Z
5
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
3
+ * IDS Enterprise Components - v4.60.0-beta.1
4
+ * Date: 2022-02-09T16:12:05.679Z
5
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";/*!
2
- * IDS Enterprise Components - v4.60.0-beta.0
3
- * Date: 2022-02-08T15:19:24.340Z
4
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
2
+ * IDS Enterprise Components - v4.60.0-beta.1
3
+ * Date: 2022-02-09T16:12:05.679Z
4
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
5
5
  *
6
6
  *
7
7
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.60.0-beta.0
4
- * Date: 2022-02-08T15:19:24.340Z
5
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
3
+ * IDS Enterprise Components - v4.60.0-beta.1
4
+ * Date: 2022-02-09T16:12:05.679Z
5
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";/*!
2
- * IDS Enterprise Components - v4.60.0-beta.0
3
- * Date: 2022-02-08T15:19:24.340Z
4
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
2
+ * IDS Enterprise Components - v4.60.0-beta.1
3
+ * Date: 2022-02-09T16:12:05.679Z
4
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
5
5
  *
6
6
  *
7
7
  * Apache License
@@ -1,8 +1,8 @@
1
1
  @charset "UTF-8";
2
2
  /*!
3
- * IDS Enterprise Components - v4.60.0-beta.0
4
- * Date: 2022-02-08T15:19:24.340Z
5
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
3
+ * IDS Enterprise Components - v4.60.0-beta.1
4
+ * Date: 2022-02-09T16:12:05.679Z
5
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
6
6
  *
7
7
  *
8
8
  * Apache License
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";/*!
2
- * IDS Enterprise Components - v4.60.0-beta.0
3
- * Date: 2022-02-08T15:19:24.340Z
4
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
2
+ * IDS Enterprise Components - v4.60.0-beta.1
3
+ * Date: 2022-02-09T16:12:05.679Z
4
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
5
5
  *
6
6
  *
7
7
  * Apache License
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * IDS Enterprise Components - v4.60.0-beta.0
3
- * Date: 2022-02-08T15:19:25.010Z
4
- * Revision: b8c49cdf10dd13c8a23075c0f26e20decbbbc91c
2
+ * IDS Enterprise Components - v4.60.0-beta.1
3
+ * Date: 2022-02-09T16:12:06.218Z
4
+ * Revision: e27e43ce7659d6c36cdab8e43f874ec00eb0bf81
5
5
  *
6
6
  *
7
7
  * Apache License
@@ -351,7 +351,7 @@ if (!isIE11) {
351
351
 
352
352
  var name = "ids-enterprise";
353
353
  var slug = "ids-enterprise";
354
- var version = "4.60.0-beta.0";
354
+ var version = "4.60.0-beta.1";
355
355
  var description = "Infor Design System (IDS) Enterprise Components for the web";
356
356
  var repository = {
357
357
  type: "git",
@@ -40863,16 +40863,23 @@ calendarShared.getEventTypeColor = function getEventTypeColor(event, eventTypes)
40863
40863
 
40864
40864
  if (!event.type && !event.color) {
40865
40865
  return color;
40866
- }
40866
+ } // Revalidates if the event type and current event has the same color.
40867
40867
 
40868
- if (((_event$color = event.color) === null || _event$color === void 0 ? void 0 : _event$color == null ? void 0 : _event$color.substr(0, 1)) === '#' || event.color) {
40869
- return event.color;
40870
- }
40871
40868
 
40872
40869
  var eventInfo = eventTypes.filter(function (eventType) {
40873
40870
  return eventType.id === event.type;
40874
40871
  });
40875
40872
 
40873
+ if (event.color !== undefined && eventInfo.length === 1) {
40874
+ if (eventInfo[0].color !== event.color) {
40875
+ return eventInfo[0].color;
40876
+ }
40877
+ }
40878
+
40879
+ if (((_event$color = event.color) === null || _event$color === void 0 ? void 0 : _event$color == null ? void 0 : _event$color.substr(0, 1)) === '#' || event.color) {
40880
+ return event.color;
40881
+ }
40882
+
40876
40883
  if (eventInfo.length === 1) {
40877
40884
  color = eventInfo[0].color || 'azure';
40878
40885
  return color;
@@ -40891,16 +40898,22 @@ calendarShared.getEventTypeColor = function getEventTypeColor(event, eventTypes)
40891
40898
  calendarShared.getEventTypeBorderColor = function getEventTypeBorderColor(event, eventTypes) {
40892
40899
  var _event$borderColor;
40893
40900
 
40894
- var borderColor = '';
40895
-
40896
- if (((_event$borderColor = event.borderColor) === null || _event$borderColor === void 0 ? void 0 : _event$borderColor == null ? void 0 : _event$borderColor.substr(0, 1)) === '#' || event.borderColor) {
40897
- return event.borderColor;
40898
- }
40901
+ var borderColor = ''; // Revalidates if the event type and current event has the same border color.
40899
40902
 
40900
40903
  var eventInfo = eventTypes.filter(function (eventType) {
40901
40904
  return eventType.id === event.type;
40902
40905
  });
40903
40906
 
40907
+ if (event.borderColor !== undefined && eventInfo.length === 1) {
40908
+ if (eventInfo[0].borderColor !== event.borderColor) {
40909
+ return eventInfo[0].borderColor;
40910
+ }
40911
+ }
40912
+
40913
+ if (((_event$borderColor = event.borderColor) === null || _event$borderColor === void 0 ? void 0 : _event$borderColor == null ? void 0 : _event$borderColor.substr(0, 1)) === '#' || event.borderColor) {
40914
+ return event.borderColor;
40915
+ }
40916
+
40904
40917
  if (eventInfo.length === 1) {
40905
40918
  borderColor = eventInfo[0].borderColor || 'azure';
40906
40919
  return borderColor;
@@ -76136,6 +76149,7 @@ var MODAL_FULLSIZE_SETTINGS = [false, 'responsive', 'always'];
76136
76149
  * @param {boolean} [settings.hideUnderneath=false] if true, causes this modal instance to become hidden when another modal is displayed over top.
76137
76150
  * @param {boolean} [settings.suppressEnterKey=false] if true, causes the modal to not exit when the enter key is pressed.
76138
76151
  * @param {string} [settings.attributes] Add extra attributes like id's to the toast element. For example `attributes: { name: 'id', value: 'my-unique-id' }`
76152
+ * @param {function} [settings.onFocusChange] an optional callback that runs whenever the Modal API attempts to change the focused element inside of its boundaries
76139
76153
  */
76140
76154
 
76141
76155
  var MODAL_DEFAULTS = {
@@ -77046,7 +77060,13 @@ Modal.prototype = {
77046
77060
  $('.skip-link').on("focus.".concat(this.namespace), function (e) {
77047
77061
  e.preventDefault();
77048
77062
 
77049
- _this3.element.find(':focusable').first().focus();
77063
+ var targetElem = _this3.element.find(':focusable').first();
77064
+
77065
+ targetElem.focus(); // Trigger an optional callback that can further modify changes on focus
77066
+
77067
+ if (typeof self.settings.onFocusChange === 'function') {
77068
+ self.settings.onFocusChange(self, targetElem[0]);
77069
+ }
77050
77070
  });
77051
77071
 
77052
77072
  function callOpenEvent(thisElem) {
@@ -77063,42 +77083,19 @@ Modal.prototype = {
77063
77083
  function focusElement(thisElem) {
77064
77084
  if (!self.settings.autoFocus) {
77065
77085
  return;
77066
- }
77067
-
77068
- self.setFocusableElems();
77069
- var focusableElements = $(self.focusableElems).not('.modal-header .searchfield');
77070
- var hiddenFieldTagNames = ['INPUT', 'BUTTON']; // When changes happen within the subtree on the Modal, rebuilds the internal hash of
77086
+ } // When changes happen within the subtree on the Modal, rebuilds the internal hash of
77071
77087
  // tabbable elements used for retaining focus.
77072
77088
 
77073
- self.changeObserver = new MutationObserver(function (mutationsList) {
77074
- var updateFocusableElems = false;
77075
- mutationsList.forEach(function (mutation) {
77076
- if (['childList', 'subtree'].includes(mutation.type)) {
77077
- updateFocusableElems = true;
77078
- } else {
77079
- var mutationTarget = $(mutation.target);
77080
-
77081
- if (hiddenFieldTagNames.includes(mutation.target.tagName)) {
77082
- if (mutationTarget.is(':visible')) {
77083
- mutationTarget.attr('tabindex', '0');
77084
- } else {
77085
- mutationTarget.attr('tabindex', '-1');
77086
- }
77087
- }
77088
- }
77089
- });
77090
77089
 
77091
- if (updateFocusableElems) {
77092
- self.setFocusableElems();
77093
- }
77090
+ self.changeObserver = new MutationObserver(function () {
77091
+ self.setFocusableElems();
77094
77092
  });
77095
77093
  self.changeObserver.observe(self.element[0], {
77096
- attributes: true,
77097
- attributeFilter: ['class', 'style'],
77098
77094
  childList: true,
77099
77095
  subtree: true
77100
77096
  });
77101
- var focusElem = focusableElements.not(':hidden').first();
77097
+ self.setFocusableElems();
77098
+ var focusElem = $(self.focusableElems).not(':hidden').first();
77102
77099
 
77103
77100
  if (focusElem.length === 0) {
77104
77101
  focusElem = thisElem.element.find('.btn-modal-primary');
@@ -77138,7 +77135,11 @@ Modal.prototype = {
77138
77135
  } // Otherwise, just focus
77139
77136
 
77140
77137
 
77141
- focusElem.focus();
77138
+ focusElem.focus(); // Trigger an optional callback that can further modify changes on focus
77139
+
77140
+ if (typeof self.settings.onFocusChange === 'function') {
77141
+ self.settings.onFocusChange(self, focusElem[0]);
77142
+ }
77142
77143
  }
77143
77144
 
77144
77145
  var pagerElem = this.element.find('.paginated');
@@ -77358,13 +77359,7 @@ Modal.prototype = {
77358
77359
  */
77359
77360
  setFocusableElems: function setFocusableElems() {
77360
77361
  var extraSelectors = [];
77361
- var ignoredSelectors = ['option']; // Pre-configure some element types that can be visually-hidden when the Modal opens
77362
- // to make it impossible to become focused while hidden (see infor-design/enterprise#6806)
77363
-
77364
- var nonFocusableElems = $(this.element).find('input:hidden');
77365
- nonFocusableElems.each(function (i, elem) {
77366
- elem.tabIndex = -1;
77367
- });
77362
+ var ignoredSelectors = ['option'];
77368
77363
  var elems = DOM.focusableElems(this.element[0], extraSelectors, ignoredSelectors);
77369
77364
  this.focusableElems = elems;
77370
77365
  this.focusableElems.first = elems[0];
@@ -77400,7 +77395,11 @@ Modal.prototype = {
77400
77395
 
77401
77396
  if (target) {
77402
77397
  target.focus();
77403
- target.classList.remove('hide-focus');
77398
+ target.classList.remove('hide-focus'); // Trigger an optional callback that can further modify changes on focus
77399
+
77400
+ if (typeof this.settings.onFocusChange === 'function') {
77401
+ this.settings.onFocusChange(this, target);
77402
+ }
77404
77403
  }
77405
77404
  },
77406
77405