@tabler/core 1.0.0-beta15 → 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 (191) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +2 -2
  3. package/dist/css/demo.css +18 -13
  4. package/dist/css/demo.min.css +5 -5
  5. package/dist/css/demo.rtl.css +18 -13
  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 +22 -38
  16. package/dist/css/tabler-vendors.min.css +5 -5
  17. package/dist/css/tabler-vendors.rtl.css +22 -38
  18. package/dist/css/tabler-vendors.rtl.min.css +5 -5
  19. package/dist/css/tabler.css +3077 -1493
  20. package/dist/css/tabler.min.css +5 -10
  21. package/dist/css/tabler.rtl.css +3081 -1493
  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 +37 -46
  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/apexcharts/dist/apexcharts.amd.js +1 -1
  32. package/dist/libs/apexcharts/dist/apexcharts.common.js +4 -4
  33. package/dist/libs/apexcharts/dist/apexcharts.css +193 -303
  34. package/dist/libs/apexcharts/dist/apexcharts.esm.js +4 -4
  35. package/dist/libs/apexcharts/dist/apexcharts.js +22774 -22066
  36. package/dist/libs/apexcharts/dist/apexcharts.min.js +4 -4
  37. package/dist/libs/bootstrap/dist/js/bootstrap.bundle.js +521 -1310
  38. package/dist/libs/bootstrap/dist/js/bootstrap.bundle.js.map +1 -1
  39. package/dist/libs/bootstrap/dist/js/bootstrap.bundle.min.js +2 -2
  40. package/dist/libs/bootstrap/dist/js/bootstrap.bundle.min.js.map +1 -1
  41. package/dist/libs/bootstrap/dist/js/bootstrap.esm.js +520 -1309
  42. package/dist/libs/bootstrap/dist/js/bootstrap.esm.js.map +1 -1
  43. package/dist/libs/bootstrap/dist/js/bootstrap.esm.min.js +2 -2
  44. package/dist/libs/bootstrap/dist/js/bootstrap.esm.min.js.map +1 -1
  45. package/dist/libs/bootstrap/dist/js/bootstrap.js +523 -1313
  46. package/dist/libs/bootstrap/dist/js/bootstrap.js.map +1 -1
  47. package/dist/libs/bootstrap/dist/js/bootstrap.min.js +2 -2
  48. package/dist/libs/bootstrap/dist/js/bootstrap.min.js.map +1 -1
  49. package/dist/libs/plyr/dist/plyr.css +1 -1
  50. package/dist/libs/plyr/dist/plyr.js +1982 -2048
  51. package/dist/libs/plyr/dist/plyr.min.js +1 -1
  52. package/dist/libs/plyr/dist/plyr.min.js.map +1 -1
  53. package/dist/libs/plyr/dist/plyr.min.mjs +1 -1
  54. package/dist/libs/plyr/dist/plyr.min.mjs.map +1 -1
  55. package/dist/libs/plyr/dist/plyr.mjs +1982 -2048
  56. package/dist/libs/plyr/dist/plyr.polyfilled.js +1996 -2127
  57. package/dist/libs/plyr/dist/plyr.polyfilled.min.js +1 -1
  58. package/dist/libs/plyr/dist/plyr.polyfilled.min.js.map +1 -1
  59. package/dist/libs/plyr/dist/plyr.polyfilled.min.mjs +1 -1
  60. package/dist/libs/plyr/dist/plyr.polyfilled.min.mjs.map +1 -1
  61. package/dist/libs/plyr/dist/plyr.polyfilled.mjs +1996 -2127
  62. package/dist/libs/tinymce/CHANGELOG.md +49 -0
  63. package/dist/libs/tinymce/composer.json +1 -1
  64. package/dist/libs/tinymce/icons/default/icons.js +2 -1
  65. package/dist/libs/tinymce/icons/default/icons.min.js +1 -1
  66. package/dist/libs/tinymce/models/dom/model.js +1 -1
  67. package/dist/libs/tinymce/models/dom/model.min.js +1 -1
  68. package/dist/libs/tinymce/package.json +1 -1
  69. package/dist/libs/tinymce/plugins/advlist/plugin.js +1 -1
  70. package/dist/libs/tinymce/plugins/advlist/plugin.min.js +1 -1
  71. package/dist/libs/tinymce/plugins/anchor/plugin.js +1 -1
  72. package/dist/libs/tinymce/plugins/anchor/plugin.min.js +1 -1
  73. package/dist/libs/tinymce/plugins/autolink/plugin.js +1 -1
  74. package/dist/libs/tinymce/plugins/autolink/plugin.min.js +1 -1
  75. package/dist/libs/tinymce/plugins/autoresize/plugin.js +1 -1
  76. package/dist/libs/tinymce/plugins/autoresize/plugin.min.js +1 -1
  77. package/dist/libs/tinymce/plugins/autosave/plugin.js +1 -1
  78. package/dist/libs/tinymce/plugins/autosave/plugin.min.js +1 -1
  79. package/dist/libs/tinymce/plugins/charmap/plugin.js +1 -1
  80. package/dist/libs/tinymce/plugins/charmap/plugin.min.js +1 -1
  81. package/dist/libs/tinymce/plugins/code/plugin.js +1 -1
  82. package/dist/libs/tinymce/plugins/code/plugin.min.js +1 -1
  83. package/dist/libs/tinymce/plugins/codesample/plugin.js +1 -1
  84. package/dist/libs/tinymce/plugins/codesample/plugin.min.js +1 -1
  85. package/dist/libs/tinymce/plugins/directionality/plugin.js +1 -1
  86. package/dist/libs/tinymce/plugins/directionality/plugin.min.js +1 -1
  87. package/dist/libs/tinymce/plugins/emoticons/plugin.js +1 -1
  88. package/dist/libs/tinymce/plugins/emoticons/plugin.min.js +1 -1
  89. package/dist/libs/tinymce/plugins/fullscreen/plugin.js +1 -1
  90. package/dist/libs/tinymce/plugins/fullscreen/plugin.min.js +1 -1
  91. package/dist/libs/tinymce/plugins/help/plugin.js +16 -6
  92. package/dist/libs/tinymce/plugins/help/plugin.min.js +2 -2
  93. package/dist/libs/tinymce/plugins/image/plugin.js +1 -1
  94. package/dist/libs/tinymce/plugins/image/plugin.min.js +1 -1
  95. package/dist/libs/tinymce/plugins/importcss/plugin.js +1 -1
  96. package/dist/libs/tinymce/plugins/importcss/plugin.min.js +1 -1
  97. package/dist/libs/tinymce/plugins/insertdatetime/plugin.js +1 -1
  98. package/dist/libs/tinymce/plugins/insertdatetime/plugin.min.js +1 -1
  99. package/dist/libs/tinymce/plugins/link/plugin.js +12 -3
  100. package/dist/libs/tinymce/plugins/link/plugin.min.js +2 -2
  101. package/dist/libs/tinymce/plugins/lists/plugin.js +1 -1
  102. package/dist/libs/tinymce/plugins/lists/plugin.min.js +1 -1
  103. package/dist/libs/tinymce/plugins/media/plugin.js +1 -1
  104. package/dist/libs/tinymce/plugins/media/plugin.min.js +1 -1
  105. package/dist/libs/tinymce/plugins/nonbreaking/plugin.js +1 -1
  106. package/dist/libs/tinymce/plugins/nonbreaking/plugin.min.js +1 -1
  107. package/dist/libs/tinymce/plugins/pagebreak/plugin.js +1 -1
  108. package/dist/libs/tinymce/plugins/pagebreak/plugin.min.js +1 -1
  109. package/dist/libs/tinymce/plugins/preview/plugin.js +1 -1
  110. package/dist/libs/tinymce/plugins/preview/plugin.min.js +1 -1
  111. package/dist/libs/tinymce/plugins/quickbars/plugin.js +19 -12
  112. package/dist/libs/tinymce/plugins/quickbars/plugin.min.js +2 -2
  113. package/dist/libs/tinymce/plugins/save/plugin.js +1 -1
  114. package/dist/libs/tinymce/plugins/save/plugin.min.js +1 -1
  115. package/dist/libs/tinymce/plugins/searchreplace/plugin.js +1 -1
  116. package/dist/libs/tinymce/plugins/searchreplace/plugin.min.js +1 -1
  117. package/dist/libs/tinymce/plugins/table/plugin.js +1 -1
  118. package/dist/libs/tinymce/plugins/table/plugin.min.js +1 -1
  119. package/dist/libs/tinymce/plugins/template/plugin.js +1 -1
  120. package/dist/libs/tinymce/plugins/template/plugin.min.js +1 -1
  121. package/dist/libs/tinymce/plugins/visualblocks/plugin.js +1 -1
  122. package/dist/libs/tinymce/plugins/visualblocks/plugin.min.js +1 -1
  123. package/dist/libs/tinymce/plugins/visualchars/plugin.js +1 -1
  124. package/dist/libs/tinymce/plugins/visualchars/plugin.min.js +1 -1
  125. package/dist/libs/tinymce/plugins/wordcount/plugin.js +1 -1
  126. package/dist/libs/tinymce/plugins/wordcount/plugin.min.js +1 -1
  127. package/dist/libs/tinymce/skins/ui/oxide/content.css +3 -0
  128. package/dist/libs/tinymce/skins/ui/oxide/content.inline.css +3 -0
  129. package/dist/libs/tinymce/skins/ui/oxide/content.inline.min.css +1 -1
  130. package/dist/libs/tinymce/skins/ui/oxide/content.min.css +1 -1
  131. package/dist/libs/tinymce/skins/ui/oxide/skin.css +116 -42
  132. package/dist/libs/tinymce/skins/ui/oxide/skin.min.css +1 -1
  133. package/dist/libs/tinymce/skins/ui/oxide-dark/content.css +3 -0
  134. package/dist/libs/tinymce/skins/ui/oxide-dark/content.inline.css +3 -0
  135. package/dist/libs/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -1
  136. package/dist/libs/tinymce/skins/ui/oxide-dark/content.min.css +1 -1
  137. package/dist/libs/tinymce/skins/ui/oxide-dark/skin.css +110 -36
  138. package/dist/libs/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
  139. package/dist/libs/tinymce/skins/ui/tinymce-5/content.css +3 -0
  140. package/dist/libs/tinymce/skins/ui/tinymce-5/content.inline.css +3 -0
  141. package/dist/libs/tinymce/skins/ui/tinymce-5/content.inline.min.css +1 -1
  142. package/dist/libs/tinymce/skins/ui/tinymce-5/content.min.css +1 -1
  143. package/dist/libs/tinymce/skins/ui/tinymce-5/skin.css +119 -42
  144. package/dist/libs/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
  145. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.css +3 -0
  146. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.inline.css +3 -0
  147. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +1 -1
  148. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/content.min.css +1 -1
  149. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/skin.css +113 -36
  150. package/dist/libs/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
  151. package/dist/libs/tinymce/themes/silver/theme.js +2394 -377
  152. package/dist/libs/tinymce/themes/silver/theme.min.js +2 -2
  153. package/dist/libs/tinymce/tinymce.d.ts +62 -17
  154. package/dist/libs/tinymce/tinymce.js +808 -566
  155. package/dist/libs/tinymce/tinymce.min.js +2 -2
  156. package/package.json +45 -41
  157. package/src/scss/_bootstrap-components.scss +33 -33
  158. package/src/scss/_bootstrap-config.scss +6 -5
  159. package/src/scss/{_mixins-override.scss → _bootstrap-override.scss} +7 -0
  160. package/src/scss/_config.scss +1 -1
  161. package/src/scss/_core.scss +2 -0
  162. package/src/scss/_variables.scss +60 -28
  163. package/src/scss/demo/_examples.scss +1 -1
  164. package/src/scss/layout/_core.scss +1 -1
  165. package/src/scss/layout/_dark.scss +4 -10
  166. package/src/scss/layout/_navbar.scss +3 -2
  167. package/src/scss/layout/_page.scss +31 -5
  168. package/src/scss/layout/_root.scss +3 -1
  169. package/src/scss/mixins/_functions.scss +2 -1
  170. package/src/scss/mixins/_mixins.scss +11 -6
  171. package/src/scss/ui/_avatars.scss +18 -10
  172. package/src/scss/ui/_breadcrumbs.scss +23 -1
  173. package/src/scss/ui/_button-group.scss +14 -0
  174. package/src/scss/ui/_buttons.scss +12 -1
  175. package/src/scss/ui/_cards.scss +2 -2
  176. package/src/scss/ui/_forms.scss +2 -17
  177. package/src/scss/ui/_images.scss +7 -2
  178. package/src/scss/ui/_lists.scss +0 -95
  179. package/src/scss/ui/_pagination.scss +1 -1
  180. package/src/scss/ui/_progress.scss +1 -1
  181. package/src/scss/ui/_status.scss +1 -1
  182. package/src/scss/ui/_steps.scss +81 -59
  183. package/src/scss/ui/_tables.scss +2 -2
  184. package/src/scss/ui/_timeline.scss +61 -0
  185. package/src/scss/ui/_type.scss +6 -4
  186. package/src/scss/ui/forms/_form-colorinput.scss +1 -2
  187. package/src/scss/ui/forms/_form-imagecheck.scss +1 -1
  188. package/src/scss/ui/forms/_form-selectgroup.scss +3 -3
  189. package/src/scss/utils/_colors.scss +11 -6
  190. package/src/scss/vendor/_dropzone.scss +2 -2
  191. package/src/scss/vendor/_tom-select.scss +1 -0
package/dist/js/tabler.js CHANGED
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * Tabler v1.0.0-beta15 (https://tabler.io)
3
- * @version 1.0.0-beta15
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
9
  (function (factory) {
@@ -11,12 +11,12 @@
11
11
  factory();
12
12
  })((function () { 'use strict';
13
13
 
14
- 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;
14
+ 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;
15
15
 
16
16
  var elements = document.querySelectorAll('[data-bs-toggle="autosize"]');
17
17
  if (elements.length) {
18
18
  elements.forEach(function (element) {
19
- d(element);
19
+ a(element);
20
20
  });
21
21
  }
22
22
 
@@ -4721,13 +4721,19 @@
4721
4721
  });
4722
4722
 
4723
4723
  /*!
4724
- * Bootstrap v5.2.2 (https://getbootstrap.com/)
4724
+ * Bootstrap v5.3.0-alpha1 (https://getbootstrap.com/)
4725
4725
  * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4726
4726
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
4727
4727
  */
4728
4728
  const MAX_UID = 1000000;
4729
4729
  const MILLISECONDS_MULTIPLIER = 1000;
4730
4730
  const TRANSITION_END = 'transitionend';
4731
+ const parseSelector = selector => {
4732
+ if (selector && window.CSS && window.CSS.escape) {
4733
+ selector = selector.replace(/#([^\s"#']+)/g, (match, id) => `#${CSS.escape(id)}`);
4734
+ }
4735
+ return selector;
4736
+ };
4731
4737
  const toType = object => {
4732
4738
  if (object === null || object === undefined) {
4733
4739
  return `${object}`;
@@ -4740,31 +4746,6 @@
4740
4746
  } while (document.getElementById(prefix));
4741
4747
  return prefix;
4742
4748
  };
4743
- const getSelector = element => {
4744
- let selector = element.getAttribute('data-bs-target');
4745
- if (!selector || selector === '#') {
4746
- let hrefAttribute = element.getAttribute('href');
4747
- if (!hrefAttribute || !hrefAttribute.includes('#') && !hrefAttribute.startsWith('.')) {
4748
- return null;
4749
- }
4750
- if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) {
4751
- hrefAttribute = `#${hrefAttribute.split('#')[1]}`;
4752
- }
4753
- selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null;
4754
- }
4755
- return selector;
4756
- };
4757
- const getSelectorFromElement = element => {
4758
- const selector = getSelector(element);
4759
- if (selector) {
4760
- return document.querySelector(selector) ? selector : null;
4761
- }
4762
- return null;
4763
- };
4764
- const getElementFromSelector = element => {
4765
- const selector = getSelector(element);
4766
- return selector ? document.querySelector(selector) : null;
4767
- };
4768
4749
  const getTransitionDurationFromElement = element => {
4769
4750
  if (!element) {
4770
4751
  return 0;
@@ -4799,7 +4780,7 @@
4799
4780
  return object.jquery ? object[0] : object;
4800
4781
  }
4801
4782
  if (typeof object === 'string' && object.length > 0) {
4802
- return document.querySelector(object);
4783
+ return document.querySelector(parseSelector(object));
4803
4784
  }
4804
4785
  return null;
4805
4786
  };
@@ -4892,10 +4873,8 @@
4892
4873
  }
4893
4874
  });
4894
4875
  };
4895
- const execute = callback => {
4896
- if (typeof callback === 'function') {
4897
- callback();
4898
- }
4876
+ const execute = (possibleCallback, args = [], defaultValue = possibleCallback) => {
4877
+ return typeof possibleCallback === 'function' ? possibleCallback(...args) : defaultValue;
4899
4878
  };
4900
4879
  const executeAfterTransition = (callback, transitionElement, waitForTransition = true) => {
4901
4880
  if (!waitForTransition) {
@@ -5038,9 +5017,8 @@
5038
5017
  }
5039
5018
  function removeNamespacedHandlers(element, events, typeEvent, namespace) {
5040
5019
  const storeElementEvent = events[typeEvent] || {};
5041
- for (const handlerKey of Object.keys(storeElementEvent)) {
5020
+ for (const [handlerKey, event] of Object.entries(storeElementEvent)) {
5042
5021
  if (handlerKey.includes(namespace)) {
5043
- const event = storeElementEvent[handlerKey];
5044
5022
  removeHandler(element, events, typeEvent, event.callable, event.delegationSelector);
5045
5023
  }
5046
5024
  }
@@ -5077,10 +5055,9 @@
5077
5055
  removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.slice(1));
5078
5056
  }
5079
5057
  }
5080
- for (const keyHandlers of Object.keys(storeElementEvent)) {
5058
+ for (const [keyHandlers, event] of Object.entries(storeElementEvent)) {
5081
5059
  const handlerKey = keyHandlers.replace(stripUidRegex, '');
5082
5060
  if (!inNamespace || originalTypeEvent.includes(handlerKey)) {
5083
- const event = storeElementEvent[keyHandlers];
5084
5061
  removeHandler(element, events, typeEvent, event.callable, event.delegationSelector);
5085
5062
  }
5086
5063
  }
@@ -5120,8 +5097,8 @@
5120
5097
  return evt;
5121
5098
  }
5122
5099
  };
5123
- function hydrateObj(obj, meta) {
5124
- for (const [key, value] of Object.entries(meta || {})) {
5100
+ function hydrateObj(obj, meta = {}) {
5101
+ for (const [key, value] of Object.entries(meta)) {
5125
5102
  try {
5126
5103
  obj[key] = value;
5127
5104
  } catch (_unused) {
@@ -5235,15 +5212,15 @@
5235
5212
  }
5236
5213
  _mergeConfigObj(config, element) {
5237
5214
  const jsonConfig = isElement(element) ? Manipulator.getDataAttribute(element, 'config') : {};
5238
- return { ...this.constructor.Default,
5215
+ return {
5216
+ ...this.constructor.Default,
5239
5217
  ...(typeof jsonConfig === 'object' ? jsonConfig : {}),
5240
5218
  ...(isElement(element) ? Manipulator.getDataAttributes(element) : {}),
5241
5219
  ...(typeof config === 'object' ? config : {})
5242
5220
  };
5243
5221
  }
5244
5222
  _typeCheckConfig(config, configTypes = this.constructor.DefaultType) {
5245
- for (const property of Object.keys(configTypes)) {
5246
- const expectedTypes = configTypes[property];
5223
+ for (const [property, expectedTypes] of Object.entries(configTypes)) {
5247
5224
  const value = config[property];
5248
5225
  const valueType = isElement(value) ? 'element' : toType(value);
5249
5226
  if (!new RegExp(expectedTypes).test(valueType)) {
@@ -5252,7 +5229,7 @@
5252
5229
  }
5253
5230
  }
5254
5231
  }
5255
- const VERSION = '5.2.2';
5232
+ const VERSION = '5.3.0-alpha1';
5256
5233
  class BaseComponent extends Config {
5257
5234
  constructor(element, config) {
5258
5235
  super();
@@ -5299,6 +5276,79 @@
5299
5276
  return `${name}${this.EVENT_KEY}`;
5300
5277
  }
5301
5278
  }
5279
+ const getSelector = element => {
5280
+ let selector = element.getAttribute('data-bs-target');
5281
+ if (!selector || selector === '#') {
5282
+ let hrefAttribute = element.getAttribute('href');
5283
+ if (!hrefAttribute || !hrefAttribute.includes('#') && !hrefAttribute.startsWith('.')) {
5284
+ return null;
5285
+ }
5286
+ if (hrefAttribute.includes('#') && !hrefAttribute.startsWith('#')) {
5287
+ hrefAttribute = `#${hrefAttribute.split('#')[1]}`;
5288
+ }
5289
+ selector = hrefAttribute && hrefAttribute !== '#' ? hrefAttribute.trim() : null;
5290
+ }
5291
+ return parseSelector(selector);
5292
+ };
5293
+ const SelectorEngine = {
5294
+ find(selector, element = document.documentElement) {
5295
+ return [].concat(...Element.prototype.querySelectorAll.call(element, selector));
5296
+ },
5297
+ findOne(selector, element = document.documentElement) {
5298
+ return Element.prototype.querySelector.call(element, selector);
5299
+ },
5300
+ children(element, selector) {
5301
+ return [].concat(...element.children).filter(child => child.matches(selector));
5302
+ },
5303
+ parents(element, selector) {
5304
+ const parents = [];
5305
+ let ancestor = element.parentNode.closest(selector);
5306
+ while (ancestor) {
5307
+ parents.push(ancestor);
5308
+ ancestor = ancestor.parentNode.closest(selector);
5309
+ }
5310
+ return parents;
5311
+ },
5312
+ prev(element, selector) {
5313
+ let previous = element.previousElementSibling;
5314
+ while (previous) {
5315
+ if (previous.matches(selector)) {
5316
+ return [previous];
5317
+ }
5318
+ previous = previous.previousElementSibling;
5319
+ }
5320
+ return [];
5321
+ },
5322
+ next(element, selector) {
5323
+ let next = element.nextElementSibling;
5324
+ while (next) {
5325
+ if (next.matches(selector)) {
5326
+ return [next];
5327
+ }
5328
+ next = next.nextElementSibling;
5329
+ }
5330
+ return [];
5331
+ },
5332
+ focusableChildren(element) {
5333
+ const focusables = ['a', 'button', 'input', 'textarea', 'select', 'details', '[tabindex]', '[contenteditable="true"]'].map(selector => `${selector}:not([tabindex^="-"])`).join(',');
5334
+ return this.find(focusables, element).filter(el => !isDisabled(el) && isVisible(el));
5335
+ },
5336
+ getSelectorFromElement(element) {
5337
+ const selector = getSelector(element);
5338
+ if (selector) {
5339
+ return SelectorEngine.findOne(selector) ? selector : null;
5340
+ }
5341
+ return null;
5342
+ },
5343
+ getElementFromSelector(element) {
5344
+ const selector = getSelector(element);
5345
+ return selector ? SelectorEngine.findOne(selector) : null;
5346
+ },
5347
+ getMultipleElementsFromSelector(element) {
5348
+ const selector = getSelector(element);
5349
+ return selector ? SelectorEngine.find(selector) : [];
5350
+ }
5351
+ };
5302
5352
  const enableDismissTrigger = (component, method = 'hide') => {
5303
5353
  const clickEvent = `click.dismiss${component.EVENT_KEY}`;
5304
5354
  const name = component.NAME;
@@ -5309,7 +5359,7 @@
5309
5359
  if (isDisabled(this)) {
5310
5360
  return;
5311
5361
  }
5312
- const target = getElementFromSelector(this) || this.closest(`.${name}`);
5362
+ const target = SelectorEngine.getElementFromSelector(this) || this.closest(`.${name}`);
5313
5363
  const instance = component.getOrCreateInstance(target);
5314
5364
  instance[method]();
5315
5365
  });
@@ -5384,50 +5434,6 @@
5384
5434
  data.toggle();
5385
5435
  });
5386
5436
  defineJQueryPlugin(Button);
5387
- const SelectorEngine = {
5388
- find(selector, element = document.documentElement) {
5389
- return [].concat(...Element.prototype.querySelectorAll.call(element, selector));
5390
- },
5391
- findOne(selector, element = document.documentElement) {
5392
- return Element.prototype.querySelector.call(element, selector);
5393
- },
5394
- children(element, selector) {
5395
- return [].concat(...element.children).filter(child => child.matches(selector));
5396
- },
5397
- parents(element, selector) {
5398
- const parents = [];
5399
- let ancestor = element.parentNode.closest(selector);
5400
- while (ancestor) {
5401
- parents.push(ancestor);
5402
- ancestor = ancestor.parentNode.closest(selector);
5403
- }
5404
- return parents;
5405
- },
5406
- prev(element, selector) {
5407
- let previous = element.previousElementSibling;
5408
- while (previous) {
5409
- if (previous.matches(selector)) {
5410
- return [previous];
5411
- }
5412
- previous = previous.previousElementSibling;
5413
- }
5414
- return [];
5415
- },
5416
- next(element, selector) {
5417
- let next = element.nextElementSibling;
5418
- while (next) {
5419
- if (next.matches(selector)) {
5420
- return [next];
5421
- }
5422
- next = next.nextElementSibling;
5423
- }
5424
- return [];
5425
- },
5426
- focusableChildren(element) {
5427
- const focusables = ['a', 'button', 'input', 'textarea', 'select', 'details', '[tabindex]', '[contenteditable="true"]'].map(selector => `${selector}:not([tabindex^="-"])`).join(',');
5428
- return this.find(focusables, element).filter(el => !isDisabled(el) && isVisible(el));
5429
- }
5430
- };
5431
5437
  const NAME$d = 'swipe';
5432
5438
  const EVENT_KEY$9 = '.bs.swipe';
5433
5439
  const EVENT_TOUCHSTART = `touchstart${EVENT_KEY$9}`;
@@ -5816,7 +5822,7 @@
5816
5822
  }
5817
5823
  }
5818
5824
  EventHandler.on(document, EVENT_CLICK_DATA_API$5, SELECTOR_DATA_SLIDE, function (event) {
5819
- const target = getElementFromSelector(this);
5825
+ const target = SelectorEngine.getElementFromSelector(this);
5820
5826
  if (!target || !target.classList.contains(CLASS_NAME_CAROUSEL)) {
5821
5827
  return;
5822
5828
  }
@@ -5877,7 +5883,7 @@
5877
5883
  this._triggerArray = [];
5878
5884
  const toggleList = SelectorEngine.find(SELECTOR_DATA_TOGGLE$4);
5879
5885
  for (const elem of toggleList) {
5880
- const selector = getSelectorFromElement(elem);
5886
+ const selector = SelectorEngine.getSelectorFromElement(elem);
5881
5887
  const filterElement = SelectorEngine.find(selector).filter(foundElement => foundElement === this._element);
5882
5888
  if (selector !== null && filterElement.length) {
5883
5889
  this._triggerArray.push(elem);
@@ -5959,7 +5965,7 @@
5959
5965
  this._element.classList.add(CLASS_NAME_COLLAPSING);
5960
5966
  this._element.classList.remove(CLASS_NAME_COLLAPSE, CLASS_NAME_SHOW$7);
5961
5967
  for (const trigger of this._triggerArray) {
5962
- const element = getElementFromSelector(trigger);
5968
+ const element = SelectorEngine.getElementFromSelector(trigger);
5963
5969
  if (element && !this._isShown(element)) {
5964
5970
  this._addAriaAndCollapsedClass([trigger], false);
5965
5971
  }
@@ -5991,7 +5997,7 @@
5991
5997
  }
5992
5998
  const children = this._getFirstLevelChildren(SELECTOR_DATA_TOGGLE$4);
5993
5999
  for (const element of children) {
5994
- const selected = getElementFromSelector(element);
6000
+ const selected = SelectorEngine.getElementFromSelector(element);
5995
6001
  if (selected) {
5996
6002
  this._addAriaAndCollapsedClass([element], this._isShown(selected));
5997
6003
  }
@@ -6030,9 +6036,7 @@
6030
6036
  if (event.target.tagName === 'A' || event.delegateTarget && event.delegateTarget.tagName === 'A') {
6031
6037
  event.preventDefault();
6032
6038
  }
6033
- const selector = getSelectorFromElement(this);
6034
- const selectorElements = SelectorEngine.find(selector);
6035
- for (const element of selectorElements) {
6039
+ for (const element of SelectorEngine.getMultipleElementsFromSelector(this)) {
6036
6040
  Collapse.getOrCreateInstance(element, {
6037
6041
  toggle: false
6038
6042
  }).toggle();
@@ -6256,8 +6260,9 @@
6256
6260
  enabled: false
6257
6261
  }];
6258
6262
  }
6259
- return { ...defaultBsPopperConfig,
6260
- ...(typeof this._config.popperConfig === 'function' ? this._config.popperConfig(defaultBsPopperConfig) : this._config.popperConfig)
6263
+ return {
6264
+ ...defaultBsPopperConfig,
6265
+ ...execute(this._config.popperConfig, [defaultBsPopperConfig])
6261
6266
  };
6262
6267
  }
6263
6268
  _selectMenuItem({
@@ -6824,7 +6829,7 @@
6824
6829
  }
6825
6830
  }
6826
6831
  EventHandler.on(document, EVENT_CLICK_DATA_API$2, SELECTOR_DATA_TOGGLE$2, function (event) {
6827
- const target = getElementFromSelector(this);
6832
+ const target = SelectorEngine.getElementFromSelector(this);
6828
6833
  if (['A', 'AREA'].includes(this.tagName)) {
6829
6834
  event.preventDefault();
6830
6835
  }
@@ -7004,7 +7009,7 @@
7004
7009
  }
7005
7010
  }
7006
7011
  EventHandler.on(document, EVENT_CLICK_DATA_API$1, SELECTOR_DATA_TOGGLE$1, function (event) {
7007
- const target = getElementFromSelector(this);
7012
+ const target = SelectorEngine.getElementFromSelector(this);
7008
7013
  if (['A', 'AREA'].includes(this.tagName)) {
7009
7014
  event.preventDefault();
7010
7015
  }
@@ -7154,7 +7159,8 @@
7154
7159
  }
7155
7160
  changeContent(content) {
7156
7161
  this._checkContent(content);
7157
- this._config.content = { ...this._config.content,
7162
+ this._config.content = {
7163
+ ...this._config.content,
7158
7164
  ...content
7159
7165
  };
7160
7166
  return this;
@@ -7208,7 +7214,7 @@
7208
7214
  return this._config.sanitize ? sanitizeHtml(arg, this._config.allowList, this._config.sanitizeFn) : arg;
7209
7215
  }
7210
7216
  _resolvePossibleFunction(arg) {
7211
- return typeof arg === 'function' ? arg(this) : arg;
7217
+ return execute(arg, [this]);
7212
7218
  }
7213
7219
  _putElementInTemplate(element, templateElement) {
7214
7220
  if (this._config.html) {
@@ -7337,9 +7343,6 @@
7337
7343
  dispose() {
7338
7344
  clearTimeout(this._timeout);
7339
7345
  EventHandler.off(this._element.closest(SELECTOR_MODAL), EVENT_MODAL_HIDE, this._hideModalHandler);
7340
- if (this.tip) {
7341
- this.tip.remove();
7342
- }
7343
7346
  if (this._element.getAttribute('data-bs-original-title')) {
7344
7347
  this._element.setAttribute('title', this._element.getAttribute('data-bs-original-title'));
7345
7348
  }
@@ -7359,10 +7362,7 @@
7359
7362
  if (showEvent.defaultPrevented || !isInTheDom) {
7360
7363
  return;
7361
7364
  }
7362
- if (this.tip) {
7363
- this.tip.remove();
7364
- this.tip = null;
7365
- }
7365
+ this._disposePopper();
7366
7366
  const tip = this._getTipElement();
7367
7367
  this._element.setAttribute('aria-describedby', tip.getAttribute('id'));
7368
7368
  const {
@@ -7372,11 +7372,7 @@
7372
7372
  container.append(tip);
7373
7373
  EventHandler.trigger(this._element, this.constructor.eventName(EVENT_INSERTED));
7374
7374
  }
7375
- if (this._popper) {
7376
- this._popper.update();
7377
- } else {
7378
- this._popper = this._createPopper(tip);
7379
- }
7375
+ this._popper = this._createPopper(tip);
7380
7376
  tip.classList.add(CLASS_NAME_SHOW$2);
7381
7377
  if ('ontouchstart' in document.documentElement) {
7382
7378
  for (const element of [].concat(...document.body.children)) {
@@ -7416,11 +7412,10 @@
7416
7412
  return;
7417
7413
  }
7418
7414
  if (!this._isHovered) {
7419
- tip.remove();
7415
+ this._disposePopper();
7420
7416
  }
7421
7417
  this._element.removeAttribute('aria-describedby');
7422
7418
  EventHandler.trigger(this._element, this.constructor.eventName(EVENT_HIDDEN$2));
7423
- this._disposePopper();
7424
7419
  };
7425
7420
  this._queueCallback(complete, this.tip, this._isAnimated());
7426
7421
  }
@@ -7463,7 +7458,8 @@
7463
7458
  if (this._templateFactory) {
7464
7459
  this._templateFactory.changeContent(content);
7465
7460
  } else {
7466
- this._templateFactory = new TemplateFactory({ ...this._config,
7461
+ this._templateFactory = new TemplateFactory({
7462
+ ...this._config,
7467
7463
  content,
7468
7464
  extraClass: this._resolvePossibleFunction(this._config.customClass)
7469
7465
  });
@@ -7488,7 +7484,7 @@
7488
7484
  return this.tip && this.tip.classList.contains(CLASS_NAME_SHOW$2);
7489
7485
  }
7490
7486
  _createPopper(tip) {
7491
- const placement = typeof this._config.placement === 'function' ? this._config.placement.call(this, tip, this._element) : this._config.placement;
7487
+ const placement = execute(this._config.placement, [this, tip, this._element]);
7492
7488
  const attachment = AttachmentMap[placement.toUpperCase()];
7493
7489
  return createPopper(this._element, tip, this._getPopperConfig(attachment));
7494
7490
  }
@@ -7505,7 +7501,7 @@
7505
7501
  return offset;
7506
7502
  }
7507
7503
  _resolvePossibleFunction(arg) {
7508
- return typeof arg === 'function' ? arg.call(this._element) : arg;
7504
+ return execute(arg, [this._element]);
7509
7505
  }
7510
7506
  _getPopperConfig(attachment) {
7511
7507
  const defaultBsPopperConfig = {
@@ -7539,8 +7535,9 @@
7539
7535
  }
7540
7536
  }]
7541
7537
  };
7542
- return { ...defaultBsPopperConfig,
7543
- ...(typeof this._config.popperConfig === 'function' ? this._config.popperConfig(defaultBsPopperConfig) : this._config.popperConfig)
7538
+ return {
7539
+ ...defaultBsPopperConfig,
7540
+ ...execute(this._config.popperConfig, [defaultBsPopperConfig])
7544
7541
  };
7545
7542
  }
7546
7543
  _setListeners() {
@@ -7621,7 +7618,8 @@
7621
7618
  delete dataAttributes[dataAttribute];
7622
7619
  }
7623
7620
  }
7624
- config = { ...dataAttributes,
7621
+ config = {
7622
+ ...dataAttributes,
7625
7623
  ...(typeof config === 'object' && config ? config : {})
7626
7624
  };
7627
7625
  config = this._mergeConfigObj(config);
@@ -7647,9 +7645,9 @@
7647
7645
  }
7648
7646
  _getDelegateConfig() {
7649
7647
  const config = {};
7650
- for (const key in this._config) {
7651
- if (this.constructor.Default[key] !== this._config[key]) {
7652
- config[key] = this._config[key];
7648
+ for (const [key, value] of Object.entries(this._config)) {
7649
+ if (this.constructor.Default[key] !== value) {
7650
+ config[key] = value;
7653
7651
  }
7654
7652
  }
7655
7653
  config.selector = false;
@@ -7661,6 +7659,10 @@
7661
7659
  this._popper.destroy();
7662
7660
  this._popper = null;
7663
7661
  }
7662
+ if (this.tip) {
7663
+ this.tip.remove();
7664
+ this.tip = null;
7665
+ }
7664
7666
  }
7665
7667
  static jQueryInterface(config) {
7666
7668
  return this.each(function () {
@@ -7679,14 +7681,16 @@
7679
7681
  const NAME$3 = 'popover';
7680
7682
  const SELECTOR_TITLE = '.popover-header';
7681
7683
  const SELECTOR_CONTENT = '.popover-body';
7682
- const Default$2 = { ...Tooltip.Default,
7684
+ const Default$2 = {
7685
+ ...Tooltip.Default,
7683
7686
  content: '',
7684
7687
  offset: [0, 8],
7685
7688
  placement: 'right',
7686
7689
  template: '<div class="popover" role="tooltip">' + '<div class="popover-arrow"></div>' + '<h3 class="popover-header"></h3>' + '<div class="popover-body"></div>' + '</div>',
7687
7690
  trigger: 'click'
7688
7691
  };
7689
- const DefaultType$2 = { ...Tooltip.DefaultType,
7692
+ const DefaultType$2 = {
7693
+ ...Tooltip.DefaultType,
7690
7694
  content: '(null|string|element|function)'
7691
7695
  };
7692
7696
  class Popover extends Tooltip {
@@ -7989,7 +7993,7 @@
7989
7993
  return;
7990
7994
  }
7991
7995
  element.classList.add(CLASS_NAME_ACTIVE);
7992
- this._activate(getElementFromSelector(element));
7996
+ this._activate(SelectorEngine.getElementFromSelector(element));
7993
7997
  const complete = () => {
7994
7998
  if (element.getAttribute('role') !== 'tab') {
7995
7999
  element.classList.add(CLASS_NAME_SHOW$1);
@@ -8010,7 +8014,7 @@
8010
8014
  }
8011
8015
  element.classList.remove(CLASS_NAME_ACTIVE);
8012
8016
  element.blur();
8013
- this._deactivate(getElementFromSelector(element));
8017
+ this._deactivate(SelectorEngine.getElementFromSelector(element));
8014
8018
  const complete = () => {
8015
8019
  if (element.getAttribute('role') !== 'tab') {
8016
8020
  element.classList.remove(CLASS_NAME_SHOW$1);
@@ -8067,7 +8071,7 @@
8067
8071
  this._setInitialAttributesOnTargetPanel(child);
8068
8072
  }
8069
8073
  _setInitialAttributesOnTargetPanel(child) {
8070
- const target = getElementFromSelector(child);
8074
+ const target = SelectorEngine.getElementFromSelector(child);
8071
8075
  if (!target) {
8072
8076
  return;
8073
8077
  }