upgrading dependencies to jakarta and removing thorntail#502
Open
breakponchito wants to merge 2 commits intomicroprofile:mainfrom
Open
upgrading dependencies to jakarta and removing thorntail#502breakponchito wants to merge 2 commits intomicroprofile:mainfrom
breakponchito wants to merge 2 commits intomicroprofile:mainfrom
Conversation
Contributor
Author
|
Still working to pass tck that are failing after upgrading jakarta dependencies and removing thorntail |
This was referenced Nov 12, 2024
luiseufrasio
suggested changes
Apr 18, 2025
| @@ -1,6 +1,6 @@ | |||
| (function(a){if(a.PrimeFaces){a.PrimeFaces.debug("PrimeFaces already loaded, ignoring duplicate execution.");return}var b={escapeClientId:function(c){return"#"+c.replace(/:/g,"\\:")},cleanWatermarks:function(){$.watermark.hideAll()},showWatermarks:function(){$.watermark.showAll()},getWidgetById:function(e){for(var d in b.widgets){var c=b.widgets[d];if(c&&c.id===e){return c}}return null},addSubmitParam:function(d,f){var e=$(this.escapeClientId(d));for(var c in f){e.append('<input type="hidden" name="'+c+'" value="'+f[c]+'" class="ui-submit-param"/>')}return this},submit:function(f,e){var c=$(this.escapeClientId(f));var d;if(e){d=c.attr("target");c.attr("target",e)}c.submit();c.children("input.ui-submit-param").remove();if(e){if(d!==undefined){c.attr("target",d)}else{c.removeAttr("target")}}},onPost:function(){this.nonAjaxPosted=true;this.abortXHRs()},abortXHRs:function(){b.ajax.Queue.abortAll()},attachBehaviors:function(d,c){$.each(c,function(f,e){d.bind(f,function(g){e.call(d,g)})})},getCookie:function(c){return $.cookie(c)},setCookie:function(d,e,c){$.cookie(d,e,c)},deleteCookie:function(d,c){$.removeCookie(d,c)},cookiesEnabled:function(){var c=(navigator.cookieEnabled)?true:false;if(typeof navigator.cookieEnabled==="undefined"&&!c){document.cookie="testcookie";c=(document.cookie.indexOf("testcookie")!==-1)?true:false}return(c)},skinInput:function(c){c.hover(function(){$(this).addClass("ui-state-hover")},function(){$(this).removeClass("ui-state-hover")}).focus(function(){$(this).addClass("ui-state-focus")}).blur(function(){$(this).removeClass("ui-state-focus")});c.attr("role","textbox").attr("aria-disabled",c.is(":disabled")).attr("aria-readonly",c.prop("readonly"));if(c.is("textarea")){c.attr("aria-multiline",true)}return this},skinButton:function(c){c.mouseover(function(){var e=$(this);if(!c.prop("disabled")){e.addClass("ui-state-hover")}}).mouseout(function(){$(this).removeClass("ui-state-active ui-state-hover")}).mousedown(function(){var e=$(this);if(!c.prop("disabled")){e.addClass("ui-state-active").removeClass("ui-state-hover")}}).mouseup(function(){$(this).removeClass("ui-state-active").addClass("ui-state-hover")}).focus(function(){$(this).addClass("ui-state-focus")}).blur(function(){$(this).removeClass("ui-state-focus ui-state-active")}).keydown(function(f){if(f.which===$.ui.keyCode.SPACE||f.which===$.ui.keyCode.ENTER||f.which===$.ui.keyCode.NUMPAD_ENTER){$(this).addClass("ui-state-active")}}).keyup(function(){$(this).removeClass("ui-state-active")});var d=c.attr("role");if(!d){c.attr("role","button")}c.attr("aria-disabled",c.prop("disabled"));return this},skinSelect:function(c){c.mouseover(function(){var d=$(this);if(!d.hasClass("ui-state-focus")){d.addClass("ui-state-hover")}}).mouseout(function(){$(this).removeClass("ui-state-hover")}).focus(function(){$(this).addClass("ui-state-focus").removeClass("ui-state-hover")}).blur(function(){$(this).removeClass("ui-state-focus ui-state-hover")});return this},isIE:function(c){return b.env.isIE(c)},info:function(c){if(this.logger){this.logger.info(c)}},debug:function(c){if(this.logger){this.logger.debug(c)}},warn:function(c){if(this.logger){this.logger.warn(c)}if(b.isDevelopmentProjectStage()&&a.console){console.log(c)}},error:function(c){if(this.logger){this.logger.error(c)}if(b.isDevelopmentProjectStage()&&a.console){console.log(c)}},isDevelopmentProjectStage:function(){return b.settings.projectStage==="Development"},setCaretToEnd:function(d){if(d){d.focus();var e=d.value.length;if(e>0){if(d.setSelectionRange){d.setSelectionRange(0,e)}else{if(d.createTextRange){var c=d.createTextRange();c.collapse(true);c.moveEnd("character",1);c.moveStart("character",1);c.select()}}}}},changeTheme:function(g){if(g&&g!==""){var h=$('link[href*="'+b.RESOURCE_IDENTIFIER+'/theme.css"]');if(h.length===0){h=$('link[href*="'+b.RESOURCE_IDENTIFIER+'=theme.css"]')}var f=h.attr("href"),e=f.split("&")[0],d=e.split("ln=")[1],c=f.replace(d,"primefaces-"+g);h.attr("href",c)}},escapeRegExp:function(c){return this.escapeHTML(c.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"))},escapeHTML:function(c){return c.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},clearSelection:function(){if(a.getSelection){if(a.getSelection().empty){a.getSelection().empty()}else{if(a.getSelection().removeAllRanges&&a.getSelection().rangeCount>0&&a.getSelection().getRangeAt(0).getClientRects().length>0){a.getSelection().removeAllRanges()}}}else{if(document.selection&&document.selection.empty){try{document.selection.empty()}catch(c){}}}},getSelection:function(){var c="";if(a.getSelection){c=a.getSelection()}else{if(document.getSelection){c=document.getSelection()}else{if(document.selection){c=document.selection.createRange().text}}}return c},hasSelection:function(){return this.getSelection().length>0},cw:function(d,e,c){this.createWidget(d,e,c)},createWidget:function(d,f,c){c.widgetVar=f;if(this.widget[d]){var e=this.widgets[f];if(e&&(e.constructor===this.widget[d])){e.refresh(c)}else{this.widgets[f]=new this.widget[d](c);if(this.settings.legacyWidgetNamespace){a[f]=this.widgets[f]}}}else{b.error("Widget not available: "+d)}},getFacesResource:function(f,e,c){if(f.indexOf("/")===0){f=f.substring(1,f.length)}var d=$('script[src*="/'+b.RESOURCE_IDENTIFIER+'/core.js"]').attr("src");if(!d){d=$('script[src*="'+b.RESOURCE_IDENTIFIER+'=core.js"]').attr("src")}d=d.replace("core.js",f);d=d.replace("ln=primefaces","ln="+e);if(c){var h=new RegExp("[?&]v=([^&]*)").exec(d)[1];d=d.replace("v="+h,"v="+c)}var g=a.location.protocol+"//"+a.location.host;return d.indexOf(g)>=0?d:g+d},inArray:function(c,e){for(var d=0;d<c.length;d++){if(c[d]===e){return true}}return false},isNumber:function(c){return typeof c==="number"&&isFinite(c)},getScript:function(c,d){$.ajax({type:"GET",url:c,success:d,dataType:"script",cache:true,async:false})},focus:function(e,d){var c=":not(:submit):not(:button):input:visible:enabled[name]";setTimeout(function(){if(e){var i=$(b.escapeClientId(e));if(i.is(c)){i.focus()}else{i.find(c).eq(0).focus()}}else{if(d){$(b.escapeClientId(d)).find(c).eq(0).focus()}else{var h=$(c),g=h.eq(0);if(g.is(":radio")){var f=$(':radio[name="'+g.attr("name")+'"]').filter(":checked");if(f.length){f.focus()}else{g.focus()}}else{g.focus()}}}},50);b.customFocus=true},monitorDownload:function(f,c,d){if(this.cookiesEnabled()){if(f){f()}var e=d?"primefaces.download_"+d:"primefaces.download";a.downloadMonitor=setInterval(function(){var g=b.getCookie(e);if(g==="true"){if(c){c()}clearInterval(a.downloadMonitor);b.setCookie(e,null)}},1000)}},scrollTo:function(d){var c=$(b.escapeClientId(d)).offset();$("html,body").animate({scrollTop:c.top,scrollLeft:c.left},{easing:"easeInCirc"},1000)},scrollInView:function(d,g){if(g.length===0){return}var j=parseFloat(d.css("borderTopWidth"))||0,f=parseFloat(d.css("paddingTop"))||0,h=g.offset().top-d.offset().top-j-f,c=d.scrollTop(),e=d.height(),i=g.outerHeight(true);if(h<0){d.scrollTop(c+h)}else{if((h+i)>e){d.scrollTop(c+h-e+i)}}},calculateScrollbarWidth:function(){if(!this.scrollbarWidth){if(b.env.browser.msie){var e=$('<textarea cols="10" rows="2"></textarea>').css({position:"absolute",top:-1000,left:-1000}).appendTo("body"),d=$('<textarea cols="10" rows="2" style="overflow: hidden;"></textarea>').css({position:"absolute",top:-1000,left:-1000}).appendTo("body");this.scrollbarWidth=e.width()-d.width();e.add(d).remove()}else{var c=$("<div />").css({width:100,height:100,overflow:"auto",position:"absolute",top:-1000,left:-1000}).prependTo("body").append("<div />").find("div").css({width:"100%",height:200});this.scrollbarWidth=100-c.width();c.parent().remove()}}return this.scrollbarWidth},bcn:function(d,e,g){if(g){for(var c=0;c<g.length;c++){var f=g[c].call(d,e);if(f===false){if(e.preventDefault){e.preventDefault()}else{e.returnValue=false}break}}}},bcnu:function(e,f,d){if(d){for(var c=0;c<d.length;c++){var g=d[c].call(this,e,f);if(g===false){break}}}},openDialog:function(c){b.dialog.DialogHandler.openDialog(c)},closeDialog:function(c){b.dialog.DialogHandler.closeDialog(c)},showMessageInDialog:function(c){b.dialog.DialogHandler.showMessageInDialog(c)},confirm:function(c){b.dialog.DialogHandler.confirm(c)},deferredRenders:[],addDeferredRender:function(e,c,d){this.deferredRenders.push({widget:e,container:c,callback:d})},removeDeferredRenders:function(e){for(var d=(this.deferredRenders.length-1);d>=0;d--){var c=this.deferredRenders[d];if(c.widget===e){this.deferredRenders.splice(d,1)}}},invokeDeferredRenders:function(c){var g=[];for(var f=0;f<this.deferredRenders.length;f++){var d=this.deferredRenders[f];if(d.container===c){var h=d.callback.call();if(h){g.push(d.widget)}}}for(var e=0;e<g.length;e++){this.removeDeferredRenders(g[e])}},getLocaleSettings:function(){if(!this.localeSettings){var c=b.settings.locale;this.localeSettings=b.locales[c];if(!this.localeSettings){this.localeSettings=b.locales[c.split("_")[0]];if(!this.localeSettings){this.localeSettings=b.locales.en_US}}}return this.localeSettings},getAriaLabel:function(d){var c=this.getLocaleSettings()["aria"];return(c&&c[d])?c[d]:b.locales.en_US["aria"][d]},zindex:1000,customFocus:false,detachedWidgets:[],PARTIAL_REQUEST_PARAM:"javax.faces.partial.ajax",PARTIAL_UPDATE_PARAM:"javax.faces.partial.render",PARTIAL_PROCESS_PARAM:"javax.faces.partial.execute",PARTIAL_SOURCE_PARAM:"javax.faces.source",BEHAVIOR_EVENT_PARAM:"javax.faces.behavior.event",PARTIAL_EVENT_PARAM:"javax.faces.partial.event",RESET_VALUES_PARAM:"primefaces.resetvalues",IGNORE_AUTO_UPDATE_PARAM:"primefaces.ignoreautoupdate",SKIP_CHILDREN_PARAM:"primefaces.skipchildren",VIEW_STATE:"javax.faces.ViewState",CLIENT_WINDOW:"javax.faces.ClientWindow",VIEW_ROOT:"javax.faces.ViewRoot",CLIENT_ID_DATA:"primefaces.clientid",RESOURCE_IDENTIFIER:"javax.faces.resource",VERSION:"${project.version}"};b.settings={};b.util={};b.widgets={};b.locales={en_US:{closeText:"Close",prevText:"Previous",nextText:"Next",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["S","M","T","W ","T","F ","S"],weekHeader:"Week",firstDay:0,isRTL:false,showMonthAfterYear:false,yearSuffix:"",timeOnlyTitle:"Only Time",timeText:"Time",hourText:"Hour",minuteText:"Minute",secondText:"Second",currentText:"Current Date",ampm:false,month:"Month",week:"Week",day:"Day",allDayText:"All Day",aria:{"paginator.PAGE":"Page {0}","calendar.BUTTON":"Show Calendar","datatable.sort.ASC":"activate to sort column ascending","datatable.sort.DESC":"activate to sort column descending","columntoggler.CLOSE":"Close"}}};b.locales.en=b.locales.en_US;PF=function(d){var c=b.widgets[d];if(!c){b.error("Widget for var '"+d+"' not available!")}return c};a.PrimeFaces=b})(window); | |||
Contributor
There was a problem hiding this comment.
I could not understand what was changed here
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.