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

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

There is a newer version: 3.5.0
Show newest version
!function(o){var e=(t.sendRequest=function(e,t,n,i,r){jsf.ajax.request(e,t,{"javax.faces.behavior.event":t,render:n.join(", "),params:i,"butterfaces.params":i,onevent:function(e){r&&o.Ajax.disableElementsOnRequest(e,n)}})},t.disableElementsOnRequest=function(e,t){switch(e.status){case"begin":for(var n=0;n").addClass("butter-component-expandable-readonly-container").insertAfter(e),i=$("").addClass("input-group-text glyphicon glyphicon-resize-full");this.originalElement.appendTo(n),$("
").addClass("butter-component-expandable-readonly-icon").append(i).appendTo(n)},a.prototype.createGhostElement=function(){return $("
")},a.prototype.isExpansionEventIgnored=function(e){return!1},a.prototype.onGhostElementCreated=function(){},a.prototype.onGhostElementCollapsed=function(e){},a.prototype.transferValueToGhostElement=function(){$("
").html(this.originalElement.html()).addClass("butter-component-expandable-ghost-readonlyContent").appendTo(this.ghostElement)},a);function a(e){var t=r.call(this,e)||this;return t.originalElement=t.rootElement.find(".butter-component-value-readonly"),t.rearrangeOriginalElementStructure(),t}e.DivExpandable=o;var s,l=(__extends(c,s=t),c.prototype.addInputGroupAddon=function(){this.originalElement.addClass("form-control").parent().addClass("input-group"),$('').insertAfter(this.originalElement)},c.prototype.handleBlurEvent=function(e){this.blockBlurEventOnOriginal&&e.preventDefault()},c.prototype.createGhostElement=function(){return $("