All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.butterfaces-dist-js.butterfaces-treebox.min.js Maven / Gradle / Ivy

There is a newer version: 3.5.0
Show newest version
var ButterFaces;!function(e){var r=function(){function e(){}return e.removeTrivialTreeDropDown=function(e){this.removeTrivialTreeDropDownById(e),this.removeUnAssociatedTrivialTreeDropDowns()},e.removeUnAssociatedTrivialTreeDropDowns=function(){var e=document.querySelectorAll(".tr-dropdown[data-tree-box-id]");Array.prototype.slice.call(e,0).forEach(function(e){var r=e.getAttribute("data-tree-box-id");0===document.querySelectorAll(".butter-component-treebox[data-tree-box-id="+r+"]").length&&e.parentNode.removeChild(e)})},e.removeTrivialTreeDropDownById=function(e){var r=document.querySelectorAll(".tr-dropdown[data-tree-box-id="+e+"]");Array.prototype.slice.call(r,0).forEach(function(e){e.parentNode.removeChild(e)})},e}();e.TreeBox=r}(ButterFaces||(ButterFaces={}));
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJ1dHRlcmZhY2VzLXRyZWVib3gudHMiXSwibmFtZXMiOlsiQnV0dGVyRmFjZXMiLCJUcmVlQm94IiwicmVtb3ZlVHJpdmlhbFRyZWVEcm9wRG93biIsInRyZWVCb3hJZCIsInRoaXMiLCJyZW1vdmVUcml2aWFsVHJlZURyb3BEb3duQnlJZCIsInJlbW92ZVVuQXNzb2NpYXRlZFRyaXZpYWxUcmVlRHJvcERvd25zIiwiZHJvcGRvd25zIiwiZG9jdW1lbnQiLCJxdWVyeVNlbGVjdG9yQWxsIiwiQXJyYXkiLCJwcm90b3R5cGUiLCJzbGljZSIsImNhbGwiLCJmb3JFYWNoIiwiZHJvcGRvd24iLCJkcm9wZG93bklkIiwiZ2V0QXR0cmlidXRlIiwibGVuZ3RoIiwicGFyZW50Tm9kZSIsInJlbW92ZUNoaWxkIl0sIm1hcHBpbmdzIjoiQUFBQSxJQUFVQSxhQUFWLFNBQVVBLEdBRU4sSUFBQU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BbGwoXCIudHItZHJvcGRvd25bZGF0YS10cmVlLWJveC1pZD1cIiArIHRyZWVCb3hJZCArIFwiXVwiKTtcbiAgICAgICAgICAgIEFycmF5LnByb3RvdHlwZS5zbGljZS5jYWxsKGRyb3Bkb3ducywgMCkuZm9yRWFjaCgoZHJvcGRvd246IGFueSkgPT4ge1xuICAgICAgICAgICAgICAgIGRyb3Bkb3duLnBhcmVudE5vZGUucmVtb3ZlQ2hpbGQoZHJvcGRvd24pO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgIH1cbiAgICB9XG5cbn0iXX0=




© 2015 - 2024 Weber Informatics LLC | Privacy Policy