@tabler/core 1.0.0-beta16 → 1.0.0-beta17

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 (176) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +2 -2
  3. package/dist/css/demo.css +16 -11
  4. package/dist/css/demo.min.css +5 -5
  5. package/dist/css/demo.rtl.css +16 -11
  6. package/dist/css/demo.rtl.min.css +5 -5
  7. package/dist/css/tabler-flags.css +6 -6
  8. package/dist/css/tabler-flags.min.css +5 -5
  9. package/dist/css/tabler-flags.rtl.css +6 -6
  10. package/dist/css/tabler-flags.rtl.min.css +5 -5
  11. package/dist/css/tabler-payments.css +6 -6
  12. package/dist/css/tabler-payments.min.css +5 -5
  13. package/dist/css/tabler-payments.rtl.css +6 -6
  14. package/dist/css/tabler-payments.rtl.min.css +5 -5
  15. package/dist/css/tabler-vendors.css +17 -17
  16. package/dist/css/tabler-vendors.min.css +5 -5
  17. package/dist/css/tabler-vendors.rtl.css +17 -17
  18. package/dist/css/tabler-vendors.rtl.min.css +5 -5
  19. package/dist/css/tabler.css +1508 -745
  20. package/dist/css/tabler.min.css +5 -10
  21. package/dist/css/tabler.rtl.css +1508 -745
  22. package/dist/css/tabler.rtl.min.css +5 -10
  23. package/dist/js/demo-theme.js +4 -4
  24. package/dist/js/demo-theme.min.js +4 -4
  25. package/dist/js/demo.js +31 -28
  26. package/dist/js/demo.min.js +5 -5
  27. package/dist/js/tabler.esm.js +137 -133
  28. package/dist/js/tabler.esm.min.js +7 -7
  29. package/dist/js/tabler.js +137 -133
  30. package/dist/js/tabler.min.js +7 -7
  31. package/dist/libs/bootstrap/dist/js/bootstrap.bundle.js +521 -1310
  32. package/dist/libs/bootstrap/dist/js/bootstrap.bundle.js.map +1 -1
  33. package/dist/libs/bootstrap/dist/js/bootstrap.bundle.min.js +2 -2
  34. package/dist/libs/bootstrap/dist/js/bootstrap.bundle.min.js.map +1 -1
  35. package/dist/libs/bootstrap/dist/js/bootstrap.esm.js +520 -1309
  36. package/dist/libs/bootstrap/dist/js/bootstrap.esm.js.map +1 -1
  37. package/dist/libs/bootstrap/dist/js/bootstrap.esm.min.js +2 -2
  38. package/dist/libs/bootstrap/dist/js/bootstrap.esm.min.js.map +1 -1
  39. package/dist/libs/bootstrap/dist/js/bootstrap.js +523 -1313
  40. package/dist/libs/bootstrap/dist/js/bootstrap.js.map +1 -1
  41. package/dist/libs/bootstrap/dist/js/bootstrap.min.js +2 -2
  42. package/dist/libs/bootstrap/dist/js/bootstrap.min.js.map +1 -1
  43. package/dist/libs/plyr/dist/plyr.css +1 -1
  44. package/dist/libs/plyr/dist/plyr.js +1982 -2048
  45. package/dist/libs/plyr/dist/plyr.min.js +1 -1
  46. package/dist/libs/plyr/dist/plyr.min.js.map +1 -1
  47. package/dist/libs/plyr/dist/plyr.min.mjs +1 -1
  48. package/dist/libs/plyr/dist/plyr.min.mjs.map +1 -1
  49. package/dist/libs/plyr/dist/plyr.mjs +1982 -2048
  50. package/dist/libs/plyr/dist/plyr.polyfilled.js +1996 -2127
  51. package/dist/libs/plyr/dist/plyr.polyfilled.min.js +1 -1
  52. package/dist/libs/plyr/dist/plyr.polyfilled.min.js.map +1 -1
  53. package/dist/libs/plyr/dist/plyr.polyfilled.min.mjs +1 -1
  54. package/dist/libs/plyr/dist/plyr.polyfilled.min.mjs.map +1 -1
  55. package/dist/libs/plyr/dist/plyr.polyfilled.mjs +1996 -2127
  56. package/dist/libs/tinymce/CHANGELOG.md +49 -0
  57. package/dist/libs/tinymce/composer.json +1 -1
  58. package/dist/libs/tinymce/icons/default/icons.js +2 -1
  59. package/dist/libs/tinymce/icons/default/icons.min.js +1 -1
  60. package/dist/libs/tinymce/models/dom/model.js +1 -1
  61. package/dist/libs/tinymce/models/dom/model.min.js +1 -1
  62. package/dist/libs/tinymce/package.json +1 -1
  63. package/dist/libs/tinymce/plugins/advlist/plugin.js +1 -1
  64. package/dist/libs/tinymce/plugins/advlist/plugin.min.js +1 -1
  65. package/dist/libs/tinymce/plugins/anchor/plugin.js +1 -1
  66. package/dist/libs/tinymce/plugins/anchor/plugin.min.js +1 -1
  67. package/dist/libs/tinymce/plugins/autolink/plugin.js +1 -1
  68. package/dist/libs/tinymce/plugins/autolink/plugin.min.js +1 -1
  69. package/dist/libs/tinymce/plugins/autoresize/plugin.js +1 -1
  70. package/dist/libs/tinymce/plugins/autoresize/plugin.min.js +1 -1
  71. package/dist/libs/tinymce/plugins/autosave/plugin.js +1 -1
  72. package/dist/libs/tinymce/plugins/autosave/plugin.min.js +1 -1
  73. package/dist/libs/tinymce/plugins/charmap/plugin.js +1 -1
  74. package/dist/libs/tinymce/plugins/charmap/plugin.min.js +1 -1
  75. package/dist/libs/tinymce/plugins/code/plugin.js +1 -1
  76. package/dist/libs/tinymce/plugins/code/plugin.min.js +1 -1
  77. package/dist/libs/tinymce/plugins/codesample/plugin.js +1 -1
  78. package/dist/libs/tinymce/plugins/codesample/plugin.min.js +1 -1
  79. package/dist/libs/tinymce/plugins/directionality/plugin.js +1 -1
  80. package/dist/libs/tinymce/plugins/directionality/plugin.min.js +1 -1
  81. package/dist/libs/tinymce/plugins/emoticons/plugin.js +1 -1
  82. package/dist/libs/tinymce/plugins/emoticons/plugin.min.js +1 -1
  83. package/dist/libs/tinymce/plugins/fullscreen/plugin.js +1 -1
  84. package/dist/libs/tinymce/plugins/fullscreen/plugin.min.js +1 -1
  85. package/dist/libs/tinymce/plugins/help/plugin.js +16 -6
  86. package/dist/libs/tinymce/plugins/help/plugin.min.js +2 -2
  87. package/dist/libs/tinymce/plugins/image/plugin.js +1 -1
  88. package/dist/libs/tinymce/plugins/image/plugin.min.js +1 -1
  89. package/dist/libs/tinymce/plugins/importcss/plugin.js +1 -1
  90. package/dist/libs/tinymce/plugins/importcss/plugin.min.js +1 -1
  91. package/dist/libs/tinymce/plugins/insertdatetime/plugin.js +1 -1
  92. package/dist/libs/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
  93. package/dist/libs/tinymce/plugins/link/plugin.js +12 -3
  94. package/dist/libs/tinymce/plugins/link/plugin.min.js +2 -2
  95. package/dist/libs/tinymce/plugins/lists/plugin.js +1 -1
  96. package/dist/libs/tinymce/plugins/lists/plugin.min.js +1 -1
  97. package/dist/libs/tinymce/plugins/media/plugin.js +1 -1
  98. package/dist/libs/tinymce/plugins/media/plugin.min.js +1 -1
  99. package/dist/libs/tinymce/plugins/nonbreaking/plugin.js +1 -1
  100. package/dist/libs/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
  101. package/dist/libs/tinymce/plugins/pagebreak/plugin.js +1 -1
  102. package/dist/libs/tinymce/plugins/pagebreak/plugin.min.js +1 -1
  103. package/dist/libs/tinymce/plugins/preview/plugin.js +1 -1
  104. package/dist/libs/tinymce/plugins/preview/plugin.min.js +1 -1
  105. package/dist/libs/tinymce/plugins/quickbars/plugin.js +19 -12
  106. package/dist/libs/tinymce/plugins/quickbars/plugin.min.js +2 -2
  107. package/dist/libs/tinymce/plugins/save/plugin.js +1 -1
  108. package/dist/libs/tinymce/plugins/save/plugin.min.js +1 -1
  109. package/dist/libs/tinymce/plugins/searchreplace/plugin.js +1 -1
  110. package/dist/libs/tinymce/plugins/searchreplace/plugin.min.js +1 -1
  111. package/dist/libs/tinymce/plugins/table/plugin.js +1 -1
  112. package/dist/libs/tinymce/plugins/table/plugin.min.js +1 -1
  113. package/dist/libs/tinymce/plugins/template/plugin.js +1 -1
  114. package/dist/libs/tinymce/plugins/template/plugin.min.js +1 -1
  115. package/dist/libs/tinymce/plugins/visualblocks/plugin.js +1 -1
  116. package/dist/libs/tinymce/plugins/visualblocks/plugin.min.js +1 -1
  117. package/dist/libs/tinymce/plugins/visualchars/plugin.js +1 -1
  118. package/dist/libs/tinymce/plugins/visualchars/plugin.min.js +1 -1
  119. package/dist/libs/tinymce/plugins/wordcount/plugin.js +1 -1
  120. package/dist/libs/tinymce/plugins/wordcount/plugin.min.js +1 -1
  121. package/dist/libs/tinymce/skins/ui/oxide/content.css +3 -0
  122. package/dist/libs/tinymce/skins/ui/oxide/content.inline.css +3 -0
  123. package/dist/libs/tinymce/skins/ui/oxide/content.inline.min.css +1 -1
  124. package/dist/libs/tinymce/skins/ui/oxide/content.min.css +1 -1
  125. package/dist/libs/tinymce/skins/ui/oxide/skin.css +116 -42
  126. package/dist/libs/tinymce/skins/ui/oxide/skin.min.css +1 -1
  127. package/dist/libs/tinymce/skins/ui/oxide-dark/content.css +3 -0
  128. package/dist/libs/tinymce/skins/ui/oxide-dark/content.inline.css +3 -0
  129. package/dist/libs/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -1
  130. package/dist/libs/tinymce/skins/ui/oxide-dark/content.min.css +1 -1
  131. package/dist/libs/tinymce/skins/ui/oxide-dark/skin.css +110 -36
  132. package/dist/libs/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
  133. package/dist/libs/tinymce/skins/ui/tinymce-5/content.css +3 -0
  134. package/dist/libs/tinymce/skins/ui/tinymce-5/content.inline.css +3 -0
  135. package/dist/libs/tinymce/skins/ui/tinymce-5/content.inline.min.css +1 -1
  136. package/dist/libs/tinymce/skins/ui/tinymce-5/content.min.css +1 -1
  137. package/dist/libs/tinymce/skins/ui/tinymce-5/skin.css +119 -42
  138. package/dist/libs/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
  139. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.css +3 -0
  140. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.inline.css +3 -0
  141. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +1 -1
  142. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.min.css +1 -1
  143. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/skin.css +113 -36
  144. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
  145. package/dist/libs/tinymce/themes/silver/theme.js +2394 -377
  146. package/dist/libs/tinymce/themes/silver/theme.min.js +2 -2
  147. package/dist/libs/tinymce/tinymce.d.ts +62 -17
  148. package/dist/libs/tinymce/tinymce.js +808 -566
  149. package/dist/libs/tinymce/tinymce.min.js +2 -2
  150. package/package.json +33 -33
  151. package/src/scss/_bootstrap-components.scss +33 -33
  152. package/src/scss/_bootstrap-config.scss +6 -5
  153. package/src/scss/_core.scss +1 -0
  154. package/src/scss/_variables.scss +37 -17
  155. package/src/scss/demo/_examples.scss +1 -1
  156. package/src/scss/layout/_core.scss +1 -1
  157. package/src/scss/layout/_dark.scss +4 -10
  158. package/src/scss/layout/_navbar.scss +3 -2
  159. package/src/scss/layout/_page.scss +31 -5
  160. package/src/scss/layout/_root.scss +2 -0
  161. package/src/scss/mixins/_mixins.scss +11 -6
  162. package/src/scss/ui/_avatars.scss +18 -10
  163. package/src/scss/ui/_buttons.scss +2 -0
  164. package/src/scss/ui/_cards.scss +2 -2
  165. package/src/scss/ui/_forms.scss +2 -1
  166. package/src/scss/ui/_lists.scss +0 -95
  167. package/src/scss/ui/_pagination.scss +1 -1
  168. package/src/scss/ui/_progress.scss +1 -1
  169. package/src/scss/ui/_status.scss +1 -1
  170. package/src/scss/ui/_tables.scss +2 -2
  171. package/src/scss/ui/_timeline.scss +61 -0
  172. package/src/scss/ui/_type.scss +6 -4
  173. package/src/scss/ui/forms/_form-imagecheck.scss +1 -1
  174. package/src/scss/utils/_colors.scss +1 -1
  175. package/src/scss/vendor/_dropzone.scss +2 -2
  176. package/src/scss/vendor/_tom-select.scss +1 -0
@@ -1,17 +1,17 @@
1
1
  /*!
2
- * Tabler v1.0.0-beta16 (https://tabler.io)
3
- * @version 1.0.0-beta16
2
+ * Tabler v1.0.0-beta17 (https://tabler.io)
3
+ * @version 1.0.0-beta17
4
4
  * @link https://tabler.io
5
- * Copyright 2018-2022 The Tabler Authors
6
- * Copyright 2018-2022 codecalm.net Paweł Kuna
5
+ * Copyright 2018-2023 The Tabler Authors
6
+ * Copyright 2018-2023 codecalm.net Paweł Kuna
7
7
  * Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
8
8
  */
9
- var e,t,n="function"==typeof Map?new Map:(e=[],t=[],{has:function(t){return e.indexOf(t)>-1},get:function(n){return t[e.indexOf(n)]},set:function(n,o){-1===e.indexOf(n)&&(e.push(n),t.push(o));},delete:function(n){var o=e.indexOf(n);o>-1&&(e.splice(o,1),t.splice(o,1));}}),o=function(e){return new Event(e,{bubbles:!0})};try{new Event("test");}catch(e){o=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t};}function r(e){var t=n.get(e);t&&t.destroy();}function i(e){var t=n.get(e);t&&t.update();}var l=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((l=function(e){return e}).destroy=function(e){return e},l.update=function(e){return e}):((l=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!n.has(e)){var t,r=null,i=null,l=null,d=function(){e.clientWidth!==i&&c();},a=function(t){window.removeEventListener("resize",d,!1),e.removeEventListener("input",c,!1),e.removeEventListener("keyup",c,!1),e.removeEventListener("autosize:destroy",a,!1),e.removeEventListener("autosize:update",c,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n];}),n.delete(e);}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",a,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",c,!1),window.addEventListener("resize",d,!1),e.addEventListener("input",c,!1),e.addEventListener("autosize:update",c,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",n.set(e,{destroy:a,update:c}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),r="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(r)&&(r=0),c();}function u(t){var n=e.style.width;e.style.width="0px",e.style.width=n,e.style.overflowY=t;}function s(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),n=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+r+"px",i=e.clientWidth,t.forEach(function(e){e.node.scrollTop=e.scrollTop;}),n&&(document.documentElement.scrollTop=n);}}function c(){s();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r<t?"hidden"===n.overflowY&&(u("scroll"),s(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(u("hidden"),s(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),l!==r){l=r;var i=o("autosize:resized");try{e.dispatchEvent(i);}catch(e){}}}}(e)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e},l.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],i),e});var d=l;
9
+ var e,t,n="function"==typeof Map?new Map:(e=[],t=[],{has:function(t){return e.indexOf(t)>-1},get:function(n){return t[e.indexOf(n)]},set:function(n,o){-1===e.indexOf(n)&&(e.push(n),t.push(o));},delete:function(n){var o=e.indexOf(n);o>-1&&(e.splice(o,1),t.splice(o,1));}}),o=function(e){return new Event(e,{bubbles:!0})};try{new Event("test");}catch(e){o=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t};}function r(e){var t=n.get(e);t&&t.destroy();}function i(e){var t=n.get(e);t&&t.update();}var l=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((l=function(e){return e}).destroy=function(e){return e},l.update=function(e){return e}):((l=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return function(e){if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!n.has(e)){var t,r=null,i=null,l=null,a=function(){e.clientWidth!==i&&p();},d=function(t){window.removeEventListener("resize",a,!1),e.removeEventListener("input",p,!1),e.removeEventListener("keyup",p,!1),e.removeEventListener("autosize:destroy",d,!1),e.removeEventListener("autosize:update",p,!1),Object.keys(t).forEach(function(n){e.style[n]=t[n];}),n.delete(e);}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",d,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",p,!1),window.addEventListener("resize",a,!1),e.addEventListener("input",p,!1),e.addEventListener("autosize:update",p,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",n.set(e,{destroy:d,update:p}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),r="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(r)&&(r=0),p();}function s(t){var n=e.style.width;e.style.width="0px",e.style.width=n,e.style.overflowY=t;}function u(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&(e.parentNode.style.scrollBehavior="auto",t.push([e.parentNode,e.parentNode.scrollTop])),e=e.parentNode;return function(){return t.forEach(function(e){var t=e[0];t.scrollTop=e[1],t.style.scrollBehavior=null;})}}(e);e.style.height="",e.style.height=e.scrollHeight+r+"px",i=e.clientWidth,t();}}function p(){u();var t=Math.round(parseFloat(e.style.height)),n=window.getComputedStyle(e,null),r="content-box"===n.boxSizing?Math.round(parseFloat(n.height)):e.offsetHeight;if(r<t?"hidden"===n.overflowY&&(s("scroll"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==n.overflowY&&(s("hidden"),u(),r="content-box"===n.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),l!==r){l=r;var i=o("autosize:resized");try{e.dispatchEvent(i);}catch(e){}}}}(e)}),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e},l.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],i),e});var a=l;
10
10
 
11
11
  var elements = document.querySelectorAll('[data-bs-toggle="autosize"]');
12
12
  if (elements.length) {
13
13
  elements.forEach(function (element) {
14
- d(element);
14
+ a(element);
15
15
  });
16
16
  }
17
17
 
@@ -4716,13 +4716,19 @@ var Popper = /*#__PURE__*/Object.freeze({
4716
4716
  });
4717
4717
 
4718
4718
  /*!
4719
- * Bootstrap v5.2.2 (https://getbootstrap.com/)
4719
+ * Bootstrap v5.3.0-alpha1 (https://getbootstrap.com/)
4720
4720
  * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4721
4721
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
4722
4722
  */
4723
4723
  const MAX_UID = 1000000;
4724
4724
  const MILLISECONDS_MULTIPLIER = 1000;
4725
4725
  const TRANSITION_END = 'transitionend';
4726
+ const parseSelector = selector => {
4727
+ if (selector && window.CSS && window.CSS.escape) {
4728
+ selector = selector.replace(/#([^\s"#']+)/g, (match, id) => `#${CSS.escape(id)}`);
4729
+ }
4730
+ return selector;
4731
+ };
4726
4732
  const toType = object => {
4727
4733
  if (object === null || object === undefined) {
4728
4734
  return `${object}`;
@@ -4735,31 +4741,6 @@ const getUID = prefix => {
4735
4741
  } while (document.getElementById(prefix));
4736
4742
  return prefix;
4737
4743
  };
4738
- const getSelector = element => {
4739
- let selector = element.getAttribute('data-bs-target');
4740
- if (!selector || selector === '#') {
4741
- let hrefAttribute = element.getAttribute('href');
4742
- if (!hrefAttribute || !hrefAttribute.includes('#') && !hrefAttribute.startsWith('.')) {
4743
- return null;
4744
- }
4745
- if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) {
4746
- hrefAttribute = `#${hrefAttribute.split('#')[1]}`;
4747
- }
4748
- selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null;
4749
- }
4750
- return selector;
4751
- };
4752
- const getSelectorFromElement = element => {
4753
- const selector = getSelector(element);
4754
- if (selector) {
4755
- return document.querySelector(selector) ? selector : null;
4756
- }
4757
- return null;
4758
- };
4759
- const getElementFromSelector = element => {
4760
- const selector = getSelector(element);
4761
- return selector ? document.querySelector(selector) : null;
4762
- };
4763
4744
  const getTransitionDurationFromElement = element => {
4764
4745
  if (!element) {
4765
4746
  return 0;
@@ -4794,7 +4775,7 @@ const getElement = object => {
4794
4775
  return object.jquery ? object[0] : object;
4795
4776
  }
4796
4777
  if (typeof object === 'string' && object.length > 0) {
4797
- return document.querySelector(object);
4778
+ return document.querySelector(parseSelector(object));
4798
4779
  }
4799
4780
  return null;
4800
4781
  };
@@ -4887,10 +4868,8 @@ const defineJQueryPlugin = plugin => {
4887
4868
  }
4888
4869
  });
4889
4870
  };
4890
- const execute = callback => {
4891
- if (typeof callback === 'function') {
4892
- callback();
4893
- }
4871
+ const execute = (possibleCallback, args = [], defaultValue = possibleCallback) => {
4872
+ return typeof possibleCallback === 'function' ? possibleCallback(...args) : defaultValue;
4894
4873
  };
4895
4874
  const executeAfterTransition = (callback, transitionElement, waitForTransition = true) => {
4896
4875
  if (!waitForTransition) {
@@ -5033,9 +5012,8 @@ function removeHandler(element, events, typeEvent, handler, delegationSelector)
5033
5012
  }
5034
5013
  function removeNamespacedHandlers(element, events, typeEvent, namespace) {
5035
5014
  const storeElementEvent = events[typeEvent] || {};
5036
- for (const handlerKey of Object.keys(storeElementEvent)) {
5015
+ for (const [handlerKey, event] of Object.entries(storeElementEvent)) {
5037
5016
  if (handlerKey.includes(namespace)) {
5038
- const event = storeElementEvent[handlerKey];
5039
5017
  removeHandler(element, events, typeEvent, event.callable, event.delegationSelector);
5040
5018
  }
5041
5019
  }
@@ -5072,10 +5050,9 @@ const EventHandler = {
5072
5050
  removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.slice(1));
5073
5051
  }
5074
5052
  }
5075
- for (const keyHandlers of Object.keys(storeElementEvent)) {
5053
+ for (const [keyHandlers, event] of Object.entries(storeElementEvent)) {
5076
5054
  const handlerKey = keyHandlers.replace(stripUidRegex, '');
5077
5055
  if (!inNamespace || originalTypeEvent.includes(handlerKey)) {
5078
- const event = storeElementEvent[keyHandlers];
5079
5056
  removeHandler(element, events, typeEvent, event.callable, event.delegationSelector);
5080
5057
  }
5081
5058
  }
@@ -5115,8 +5092,8 @@ const EventHandler = {
5115
5092
  return evt;
5116
5093
  }
5117
5094
  };
5118
- function hydrateObj(obj, meta) {
5119
- for (const [key, value] of Object.entries(meta || {})) {
5095
+ function hydrateObj(obj, meta = {}) {
5096
+ for (const [key, value] of Object.entries(meta)) {
5120
5097
  try {
5121
5098
  obj[key] = value;
5122
5099
  } catch (_unused) {
@@ -5230,15 +5207,15 @@ class Config {
5230
5207
  }
5231
5208
  _mergeConfigObj(config, element) {
5232
5209
  const jsonConfig = isElement(element) ? Manipulator.getDataAttribute(element, 'config') : {};
5233
- return { ...this.constructor.Default,
5210
+ return {
5211
+ ...this.constructor.Default,
5234
5212
  ...(typeof jsonConfig === 'object' ? jsonConfig : {}),
5235
5213
  ...(isElement(element) ? Manipulator.getDataAttributes(element) : {}),
5236
5214
  ...(typeof config === 'object' ? config : {})
5237
5215
  };
5238
5216
  }
5239
5217
  _typeCheckConfig(config, configTypes = this.constructor.DefaultType) {
5240
- for (const property of Object.keys(configTypes)) {
5241
- const expectedTypes = configTypes[property];
5218
+ for (const [property, expectedTypes] of Object.entries(configTypes)) {
5242
5219
  const value = config[property];
5243
5220
  const valueType = isElement(value) ? 'element' : toType(value);
5244
5221
  if (!new RegExp(expectedTypes).test(valueType)) {
@@ -5247,7 +5224,7 @@ class Config {
5247
5224
  }
5248
5225
  }
5249
5226
  }
5250
- const VERSION = '5.2.2';
5227
+ const VERSION = '5.3.0-alpha1';
5251
5228
  class BaseComponent extends Config {
5252
5229
  constructor(element, config) {
5253
5230
  super();
@@ -5294,6 +5271,79 @@ class BaseComponent extends Config {
5294
5271
  return `${name}${this.EVENT_KEY}`;
5295
5272
  }
5296
5273
  }
5274
+ const getSelector = element => {
5275
+ let selector = element.getAttribute('data-bs-target');
5276
+ if (!selector || selector === '#') {
5277
+ let hrefAttribute = element.getAttribute('href');
5278
+ if (!hrefAttribute || !hrefAttribute.includes('#') && !hrefAttribute.startsWith('.')) {
5279
+ return null;
5280
+ }
5281
+ if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) {
5282
+ hrefAttribute = `#${hrefAttribute.split('#')[1]}`;
5283
+ }
5284
+ selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null;
5285
+ }
5286
+ return parseSelector(selector);
5287
+ };
5288
+ const SelectorEngine = {
5289
+ find(selector, element = document.documentElement) {
5290
+ return [].concat(...Element.prototype.querySelectorAll.call(element, selector));
5291
+ },
5292
+ findOne(selector, element = document.documentElement) {
5293
+ return Element.prototype.querySelector.call(element, selector);
5294
+ },
5295
+ children(element, selector) {
5296
+ return [].concat(...element.children).filter(child => child.matches(selector));
5297
+ },
5298
+ parents(element, selector) {
5299
+ const parents = [];
5300
+ let ancestor = element.parentNode.closest(selector);
5301
+ while (ancestor) {
5302
+ parents.push(ancestor);
5303
+ ancestor = ancestor.parentNode.closest(selector);
5304
+ }
5305
+ return parents;
5306
+ },
5307
+ prev(element, selector) {
5308
+ let previous = element.previousElementSibling;
5309
+ while (previous) {
5310
+ if (previous.matches(selector)) {
5311
+ return [previous];
5312
+ }
5313
+ previous = previous.previousElementSibling;
5314
+ }
5315
+ return [];
5316
+ },
5317
+ next(element, selector) {
5318
+ let next = element.nextElementSibling;
5319
+ while (next) {
5320
+ if (next.matches(selector)) {
5321
+ return [next];
5322
+ }
5323
+ next = next.nextElementSibling;
5324
+ }
5325
+ return [];
5326
+ },
5327
+ focusableChildren(element) {
5328
+ const focusables = ['a', 'button', 'input', 'textarea', 'select', 'details', '[tabindex]', '[contenteditable="true"]'].map(selector => `${selector}:not([tabindex^="-"])`).join(',');
5329
+ return this.find(focusables, element).filter(el => !isDisabled(el) && isVisible(el));
5330
+ },
5331
+ getSelectorFromElement(element) {
5332
+ const selector = getSelector(element);
5333
+ if (selector) {
5334
+ return SelectorEngine.findOne(selector) ? selector : null;
5335
+ }
5336
+ return null;
5337
+ },
5338
+ getElementFromSelector(element) {
5339
+ const selector = getSelector(element);
5340
+ return selector ? SelectorEngine.findOne(selector) : null;
5341
+ },
5342
+ getMultipleElementsFromSelector(element) {
5343
+ const selector = getSelector(element);
5344
+ return selector ? SelectorEngine.find(selector) : [];
5345
+ }
5346
+ };
5297
5347
  const enableDismissTrigger = (component, method = 'hide') => {
5298
5348
  const clickEvent = `click.dismiss${component.EVENT_KEY}`;
5299
5349
  const name = component.NAME;
@@ -5304,7 +5354,7 @@ const enableDismissTrigger = (component, method = 'hide') => {
5304
5354
  if (isDisabled(this)) {
5305
5355
  return;
5306
5356
  }
5307
- const target = getElementFromSelector(this) || this.closest(`.${name}`);
5357
+ const target = SelectorEngine.getElementFromSelector(this) || this.closest(`.${name}`);
5308
5358
  const instance = component.getOrCreateInstance(target);
5309
5359
  instance[method]();
5310
5360
  });
@@ -5379,50 +5429,6 @@ EventHandler.on(document, EVENT_CLICK_DATA_API$6, SELECTOR_DATA_TOGGLE$5, event
5379
5429
  data.toggle();
5380
5430
  });
5381
5431
  defineJQueryPlugin(Button);
5382
- const SelectorEngine = {
5383
- find(selector, element = document.documentElement) {
5384
- return [].concat(...Element.prototype.querySelectorAll.call(element, selector));
5385
- },
5386
- findOne(selector, element = document.documentElement) {
5387
- return Element.prototype.querySelector.call(element, selector);
5388
- },
5389
- children(element, selector) {
5390
- return [].concat(...element.children).filter(child => child.matches(selector));
5391
- },
5392
- parents(element, selector) {
5393
- const parents = [];
5394
- let ancestor = element.parentNode.closest(selector);
5395
- while (ancestor) {
5396
- parents.push(ancestor);
5397
- ancestor = ancestor.parentNode.closest(selector);
5398
- }
5399
- return parents;
5400
- },
5401
- prev(element, selector) {
5402
- let previous = element.previousElementSibling;
5403
- while (previous) {
5404
- if (previous.matches(selector)) {
5405
- return [previous];
5406
- }
5407
- previous = previous.previousElementSibling;
5408
- }
5409
- return [];
5410
- },
5411
- next(element, selector) {
5412
- let next = element.nextElementSibling;
5413
- while (next) {
5414
- if (next.matches(selector)) {
5415
- return [next];
5416
- }
5417
- next = next.nextElementSibling;
5418
- }
5419
- return [];
5420
- },
5421
- focusableChildren(element) {
5422
- const focusables = ['a', 'button', 'input', 'textarea', 'select', 'details', '[tabindex]', '[contenteditable="true"]'].map(selector => `${selector}:not([tabindex^="-"])`).join(',');
5423
- return this.find(focusables, element).filter(el => !isDisabled(el) && isVisible(el));
5424
- }
5425
- };
5426
5432
  const NAME$d = 'swipe';
5427
5433
  const EVENT_KEY$9 = '.bs.swipe';
5428
5434
  const EVENT_TOUCHSTART = `touchstart${EVENT_KEY$9}`;
@@ -5811,7 +5817,7 @@ class Carousel extends BaseComponent {
5811
5817
  }
5812
5818
  }
5813
5819
  EventHandler.on(document, EVENT_CLICK_DATA_API$5, SELECTOR_DATA_SLIDE, function (event) {
5814
- const target = getElementFromSelector(this);
5820
+ const target = SelectorEngine.getElementFromSelector(this);
5815
5821
  if (!target || !target.classList.contains(CLASS_NAME_CAROUSEL)) {
5816
5822
  return;
5817
5823
  }
@@ -5872,7 +5878,7 @@ class Collapse extends BaseComponent {
5872
5878
  this._triggerArray = [];
5873
5879
  const toggleList = SelectorEngine.find(SELECTOR_DATA_TOGGLE$4);
5874
5880
  for (const elem of toggleList) {
5875
- const selector = getSelectorFromElement(elem);
5881
+ const selector = SelectorEngine.getSelectorFromElement(elem);
5876
5882
  const filterElement = SelectorEngine.find(selector).filter(foundElement => foundElement === this._element);
5877
5883
  if (selector !== null && filterElement.length) {
5878
5884
  this._triggerArray.push(elem);
@@ -5954,7 +5960,7 @@ class Collapse extends BaseComponent {
5954
5960
  this._element.classList.add(CLASS_NAME_COLLAPSING);
5955
5961
  this._element.classList.remove(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW$7);
5956
5962
  for (const trigger of this._triggerArray) {
5957
- const element = getElementFromSelector(trigger);
5963
+ const element = SelectorEngine.getElementFromSelector(trigger);
5958
5964
  if (element && !this._isShown(element)) {
5959
5965
  this._addAriaAndCollapsedClass([trigger], false);
5960
5966
  }
@@ -5986,7 +5992,7 @@ class Collapse extends BaseComponent {
5986
5992
  }
5987
5993
  const children = this._getFirstLevelChildren(SELECTOR_DATA_TOGGLE$4);
5988
5994
  for (const element of children) {
5989
- const selected = getElementFromSelector(element);
5995
+ const selected = SelectorEngine.getElementFromSelector(element);
5990
5996
  if (selected) {
5991
5997
  this._addAriaAndCollapsedClass([element], this._isShown(selected));
5992
5998
  }
@@ -6025,9 +6031,7 @@ EventHandler.on(document, EVENT_CLICK_DATA_API$4, SELECTOR_DATA_TOGGLE$4, functi
6025
6031
  if (event.target.tagName === 'A' || event.delegateTarget && event.delegateTarget.tagName === 'A') {
6026
6032
  event.preventDefault();
6027
6033
  }
6028
- const selector = getSelectorFromElement(this);
6029
- const selectorElements = SelectorEngine.find(selector);
6030
- for (const element of selectorElements) {
6034
+ for (const element of SelectorEngine.getMultipleElementsFromSelector(this)) {
6031
6035
  Collapse.getOrCreateInstance(element, {
6032
6036
  toggle: false
6033
6037
  }).toggle();
@@ -6251,8 +6255,9 @@ class Dropdown extends BaseComponent {
6251
6255
  enabled: false
6252
6256
  }];
6253
6257
  }
6254
- return { ...defaultBsPopperConfig,
6255
- ...(typeof this._config.popperConfig === 'function' ? this._config.popperConfig(defaultBsPopperConfig) : this._config.popperConfig)
6258
+ return {
6259
+ ...defaultBsPopperConfig,
6260
+ ...execute(this._config.popperConfig, [defaultBsPopperConfig])
6256
6261
  };
6257
6262
  }
6258
6263
  _selectMenuItem({
@@ -6819,7 +6824,7 @@ class Modal extends BaseComponent {
6819
6824
  }
6820
6825
  }
6821
6826
  EventHandler.on(document, EVENT_CLICK_DATA_API$2, SELECTOR_DATA_TOGGLE$2, function (event) {
6822
- const target = getElementFromSelector(this);
6827
+ const target = SelectorEngine.getElementFromSelector(this);
6823
6828
  if (['A', 'AREA'].includes(this.tagName)) {
6824
6829
  event.preventDefault();
6825
6830
  }
@@ -6999,7 +7004,7 @@ class Offcanvas extends BaseComponent {
6999
7004
  }
7000
7005
  }
7001
7006
  EventHandler.on(document, EVENT_CLICK_DATA_API$1, SELECTOR_DATA_TOGGLE$1, function (event) {
7002
- const target = getElementFromSelector(this);
7007
+ const target = SelectorEngine.getElementFromSelector(this);
7003
7008
  if (['A', 'AREA'].includes(this.tagName)) {
7004
7009
  event.preventDefault();
7005
7010
  }
@@ -7149,7 +7154,8 @@ class TemplateFactory extends Config {
7149
7154
  }
7150
7155
  changeContent(content) {
7151
7156
  this._checkContent(content);
7152
- this._config.content = { ...this._config.content,
7157
+ this._config.content = {
7158
+ ...this._config.content,
7153
7159
  ...content
7154
7160
  };
7155
7161
  return this;
@@ -7203,7 +7209,7 @@ class TemplateFactory extends Config {
7203
7209
  return this._config.sanitize ? sanitizeHtml(arg, this._config.allowList, this._config.sanitizeFn) : arg;
7204
7210
  }
7205
7211
  _resolvePossibleFunction(arg) {
7206
- return typeof arg === 'function' ? arg(this) : arg;
7212
+ return execute(arg, [this]);
7207
7213
  }
7208
7214
  _putElementInTemplate(element, templateElement) {
7209
7215
  if (this._config.html) {
@@ -7332,9 +7338,6 @@ class Tooltip extends BaseComponent {
7332
7338
  dispose() {
7333
7339
  clearTimeout(this._timeout);
7334
7340
  EventHandler.off(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler);
7335
- if (this.tip) {
7336
- this.tip.remove();
7337
- }
7338
7341
  if (this._element.getAttribute('data-bs-original-title')) {
7339
7342
  this._element.setAttribute('title', this._element.getAttribute('data-bs-original-title'));
7340
7343
  }
@@ -7354,10 +7357,7 @@ class Tooltip extends BaseComponent {
7354
7357
  if (showEvent.defaultPrevented || !isInTheDom) {
7355
7358
  return;
7356
7359
  }
7357
- if (this.tip) {
7358
- this.tip.remove();
7359
- this.tip = null;
7360
- }
7360
+ this._disposePopper();
7361
7361
  const tip = this._getTipElement();
7362
7362
  this._element.setAttribute('aria-describedby', tip.getAttribute('id'));
7363
7363
  const {
@@ -7367,11 +7367,7 @@ class Tooltip extends BaseComponent {
7367
7367
  container.append(tip);
7368
7368
  EventHandler.trigger(this._element, this.constructor.eventName(EVENT_INSERTED));
7369
7369
  }
7370
- if (this._popper) {
7371
- this._popper.update();
7372
- } else {
7373
- this._popper = this._createPopper(tip);
7374
- }
7370
+ this._popper = this._createPopper(tip);
7375
7371
  tip.classList.add(CLASS_NAME_SHOW$2);
7376
7372
  if ('ontouchstart' in document.documentElement) {
7377
7373
  for (const element of [].concat(...document.body.children)) {
@@ -7411,11 +7407,10 @@ class Tooltip extends BaseComponent {
7411
7407
  return;
7412
7408
  }
7413
7409
  if (!this._isHovered) {
7414
- tip.remove();
7410
+ this._disposePopper();
7415
7411
  }
7416
7412
  this._element.removeAttribute('aria-describedby');
7417
7413
  EventHandler.trigger(this._element, this.constructor.eventName(EVENT_HIDDEN$2));
7418
- this._disposePopper();
7419
7414
  };
7420
7415
  this._queueCallback(complete, this.tip, this._isAnimated());
7421
7416
  }
@@ -7458,7 +7453,8 @@ class Tooltip extends BaseComponent {
7458
7453
  if (this._templateFactory) {
7459
7454
  this._templateFactory.changeContent(content);
7460
7455
  } else {
7461
- this._templateFactory = new TemplateFactory({ ...this._config,
7456
+ this._templateFactory = new TemplateFactory({
7457
+ ...this._config,
7462
7458
  content,
7463
7459
  extraClass: this._resolvePossibleFunction(this._config.customClass)
7464
7460
  });
@@ -7483,7 +7479,7 @@ class Tooltip extends BaseComponent {
7483
7479
  return this.tip && this.tip.classList.contains(CLASS_NAME_SHOW$2);
7484
7480
  }
7485
7481
  _createPopper(tip) {
7486
- const placement = typeof this._config.placement === 'function' ? this._config.placement.call(this, tip, this._element) : this._config.placement;
7482
+ const placement = execute(this._config.placement, [this, tip, this._element]);
7487
7483
  const attachment = AttachmentMap[placement.toUpperCase()];
7488
7484
  return createPopper(this._element, tip, this._getPopperConfig(attachment));
7489
7485
  }
@@ -7500,7 +7496,7 @@ class Tooltip extends BaseComponent {
7500
7496
  return offset;
7501
7497
  }
7502
7498
  _resolvePossibleFunction(arg) {
7503
- return typeof arg === 'function' ? arg.call(this._element) : arg;
7499
+ return execute(arg, [this._element]);
7504
7500
  }
7505
7501
  _getPopperConfig(attachment) {
7506
7502
  const defaultBsPopperConfig = {
@@ -7534,8 +7530,9 @@ class Tooltip extends BaseComponent {
7534
7530
  }
7535
7531
  }]
7536
7532
  };
7537
- return { ...defaultBsPopperConfig,
7538
- ...(typeof this._config.popperConfig === 'function' ? this._config.popperConfig(defaultBsPopperConfig) : this._config.popperConfig)
7533
+ return {
7534
+ ...defaultBsPopperConfig,
7535
+ ...execute(this._config.popperConfig, [defaultBsPopperConfig])
7539
7536
  };
7540
7537
  }
7541
7538
  _setListeners() {
@@ -7616,7 +7613,8 @@ class Tooltip extends BaseComponent {
7616
7613
  delete dataAttributes[dataAttribute];
7617
7614
  }
7618
7615
  }
7619
- config = { ...dataAttributes,
7616
+ config = {
7617
+ ...dataAttributes,
7620
7618
  ...(typeof config === 'object' && config ? config : {})
7621
7619
  };
7622
7620
  config = this._mergeConfigObj(config);
@@ -7642,9 +7640,9 @@ class Tooltip extends BaseComponent {
7642
7640
  }
7643
7641
  _getDelegateConfig() {
7644
7642
  const config = {};
7645
- for (const key in this._config) {
7646
- if (this.constructor.Default[key] !== this._config[key]) {
7647
- config[key] = this._config[key];
7643
+ for (const [key, value] of Object.entries(this._config)) {
7644
+ if (this.constructor.Default[key] !== value) {
7645
+ config[key] = value;
7648
7646
  }
7649
7647
  }
7650
7648
  config.selector = false;
@@ -7656,6 +7654,10 @@ class Tooltip extends BaseComponent {
7656
7654
  this._popper.destroy();
7657
7655
  this._popper = null;
7658
7656
  }
7657
+ if (this.tip) {
7658
+ this.tip.remove();
7659
+ this.tip = null;
7660
+ }
7659
7661
  }
7660
7662
  static jQueryInterface(config) {
7661
7663
  return this.each(function () {
@@ -7674,14 +7676,16 @@ defineJQueryPlugin(Tooltip);
7674
7676
  const NAME$3 = 'popover';
7675
7677
  const SELECTOR_TITLE = '.popover-header';
7676
7678
  const SELECTOR_CONTENT = '.popover-body';
7677
- const Default$2 = { ...Tooltip.Default,
7679
+ const Default$2 = {
7680
+ ...Tooltip.Default,
7678
7681
  content: '',
7679
7682
  offset: [0, 8],
7680
7683
  placement: 'right',
7681
7684
  template: '<div class="popover" role="tooltip">' + '<div class="popover-arrow"></div>' + '<h3 class="popover-header"></h3>' + '<div class="popover-body"></div>' + '</div>',
7682
7685
  trigger: 'click'
7683
7686
  };
7684
- const DefaultType$2 = { ...Tooltip.DefaultType,
7687
+ const DefaultType$2 = {
7688
+ ...Tooltip.DefaultType,
7685
7689
  content: '(null|string|element|function)'
7686
7690
  };
7687
7691
  class Popover extends Tooltip {
@@ -7984,7 +7988,7 @@ class Tab extends BaseComponent {
7984
7988
  return;
7985
7989
  }
7986
7990
  element.classList.add(CLASS_NAME_ACTIVE);
7987
- this._activate(getElementFromSelector(element));
7991
+ this._activate(SelectorEngine.getElementFromSelector(element));
7988
7992
  const complete = () => {
7989
7993
  if (element.getAttribute('role') !== 'tab') {
7990
7994
  element.classList.add(CLASS_NAME_SHOW$1);
@@ -8005,7 +8009,7 @@ class Tab extends BaseComponent {
8005
8009
  }
8006
8010
  element.classList.remove(CLASS_NAME_ACTIVE);
8007
8011
  element.blur();
8008
- this._deactivate(getElementFromSelector(element));
8012
+ this._deactivate(SelectorEngine.getElementFromSelector(element));
8009
8013
  const complete = () => {
8010
8014
  if (element.getAttribute('role') !== 'tab') {
8011
8015
  element.classList.remove(CLASS_NAME_SHOW$1);
@@ -8062,7 +8066,7 @@ class Tab extends BaseComponent {
8062
8066
  this._setInitialAttributesOnTargetPanel(child);
8063
8067
  }
8064
8068
  _setInitialAttributesOnTargetPanel(child) {
8065
- const target = getElementFromSelector(child);
8069
+ const target = SelectorEngine.getElementFromSelector(child);
8066
8070
  if (!target) {
8067
8071
  return;
8068
8072
  }