1/* eslint-disable */ 2this.BXmaker = this.BXmaker || {}; 3this.BXmaker.Core = this.BXmaker.Core || {}; 4(function (exports,ui_vue3) { 5 'use strict'; 6 7 var clickoutside = { 8 beforeMount: function beforeMount(element, binding, vnode) { 9 element.clickoutsideEvent = function (event) { 10 if (element == event.target || element.contains(event.target)) { 11 return; 12 } 13 if (typeof binding.value === 'function') { 14 binding.value(event); 15 } 16 }; 17 if (binding.arg && !'enabled' in binding.arg) { 18 document.body.addEventListener('click', element.clickoutsideEvent); 19 } 20 }, 21 updated: function updated(element, binding) { 22 if (binding.arg && 'enabled' in binding.arg) { 23 if (binding.arg.enabled) { 24 document.body.addEventListener('click', element.clickoutsideEvent); 25 } else { 26 document.body.removeEventListener('click', element.clickoutsideEvent); 27 } 28 } 29 }, 30 unmounted: function unmounted(element) { 31 document.body.removeEventListener('click', element.clickoutsideEvent); 32 } 33 }; 34 35 exports.clickoutside = clickoutside; 36 37}((this.BXmaker.Core.Directives = this.BXmaker.Core.Directives || {}),BX.Vue3)); 38//# sourceMappingURL=clickoutside.bundle.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.