fix(qb-core): add global CreateUsableItem alias for qs-inventory compatibility

qs-inventory apelează CreateUsableItem ca funcție globală, dar qb-core definea doar QBCore.Functions.CreateUseableItem (cu 'e'). Adăugat alias global + fix 16 stringuri sparte în items.lua care blocau parsarea.
This commit is contained in:
2026-04-02 00:08:19 +03:00
parent 096ccb6399
commit 978c9bc759
827 changed files with 3570 additions and 1015 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
const _0x15fc4e=_0x59e9;function _0x5abe(){const t=["addEventLi","-text","build","textConten","xt-menu-","QqlBs","offsetWidt","32152paqTYz","click","QsSeH","-item","remove","add","classList","body","nu-","JwVHf","39892lSHFdp","length","show","context-me","45860QOmPEW","offsetHeig","buildOptio","appendChil","dIiXM","prefixIcon","6061ggebxc","button","forEach","8342577dJcEML","1309yCNyyS","menu","stener","show-conte","action","ent","SdZiC","innerWidth","style","theme","-icon","wXCvP","left","top","IFcDB","contains","hide","219uTMIfp","span","UOAAE","15TBLRGg","136098gSSRDe","items","createElem","getElement","QQucl","400406uRNkmx","icon","709074vNHysW","isOpen","name","-btn","xFBEZ","AIhNh","SBjQG","sByTagName","innerHeigh"];return(_0x5abe=function(){return t})()}function _0x59e9(t,e){const n=_0x5abe();return(_0x59e9=function(t,e){return t-=331,n[t]})(t,e)}!function(){for(var t=_0x59e9,e=_0x5abe();;)try{if(538993==-parseInt(t(379))+parseInt(t(384))/2+-parseInt(t(375))/3*(parseInt(t(344))/4)+-parseInt(t(378))/5*(-parseInt(t(386))/6)+parseInt(t(358))/7*(-parseInt(t(334))/8)+-parseInt(t(357))/9+-parseInt(t(348))/10*(-parseInt(t(354))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ContextMenu{constructor(t){var e=_0x59e9;this[e(367)]=t[e(367)],this[e(397)](t[e(380)])}[_0x15fc4e(397)](t){const e=_0x15fc4e,n={QsSeH:e(359)};this[e(359)]=document[e(381)+e(363)](n[e(336)]),this[e(359)][e(340)][e(339)](e(347)+e(342)+this[e(367)]),t[e(356)](t=>this[e(350)+"n"](t)),document[e(341)][e(351)+"d"](this[e(359)])}[_0x15fc4e(350)+"n"](t){var e=_0x15fc4e,n={IFcDB:e(335),SBjQG:e(355),wXCvP:e(376)},i=document[e(381)+e(363)]("LI"),s=(i[e(340)][e(339)](e(347)+e(342)+this[e(367)]+e(337)),i[e(395)+e(360)](n[e(372)],t[e(362)]),document[e(381)+e(363)](n[e(392)])),c=(s[e(340)][e(339)](e(347)+e(342)+this[e(367)]+e(389)),document[e(381)+e(363)]("i")),n=(c[e(340)][e(339)](e(347)+e(342)+this[e(367)]+e(368)),c[e(340)][e(339)](""+t[e(353)]),c[e(340)][e(339)](""+t[e(385)]),document[e(381)+e(363)](n[e(369)]));n[e(340)][e(339)](e(347)+e(342)+this[e(367)]+e(396)),n[e(398)+"t"]=t[e(388)],s[e(351)+"d"](c),s[e(351)+"d"](n),i[e(351)+"d"](s),this[e(359)][e(351)+"d"](i)}[_0x15fc4e(346)](t,e){var n=_0x15fc4e,i={SdZiC:function(t,e){return e<t},QqlBs:function(t,e){return t+e},dIiXM:function(t,e){return t-e},QQucl:function(t,e){return e<t},AIhNh:function(t,e){return t-e},xFBEZ:function(t,e){return t+e}},s=window[n(365)],c=window[n(394)+"t"],r=this[n(359)][n(333)+"h"],o=this[n(359)][n(349)+"ht"];i[n(364)](i[n(332)](t,r),s)&&(t=i[n(352)](t,r)),i[n(383)](i[n(332)](e,o),c)&&(e=i[n(391)](e,o)),this[n(359)][n(366)][n(370)]=i[n(390)](t,"px"),this[n(359)][n(366)][n(371)]=i[n(332)](e,"px"),this[n(359)][n(340)][n(339)](n(361)+n(331)+this[n(367)])}[_0x15fc4e(374)](){for(var t=_0x15fc4e,e={UOAAE:t(359),JwVHf:function(t,e){return t<e}},n=(this[t(359)][t(340)][t(338)](t(361)+t(331)+this[t(367)]),document[t(382)+t(393)](e[t(377)])),i=0;e[t(343)](i,n[t(345)]);i++)n[i][t(340)][t(338)](t(361)+t(331)+this[t(367)])}[_0x15fc4e(387)](){var t=_0x15fc4e;return this[t(359)][t(340)][t(373)](t(361)+t(331)+this[t(367)])}}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
const _0x161338=_0xff17;!function(){for(var n=_0xff17,t=_0x1ff2();;)try{if(644832==-parseInt(n(510))+-parseInt(n(491))/2*(parseInt(n(495))/3)+parseInt(n(505))/4+parseInt(n(494))/5*(parseInt(n(506))/6)+-parseInt(n(490))/7+-parseInt(n(480))/8*(parseInt(n(481))/9)+parseInt(n(482))/10*(parseInt(n(492))/11))break;t.push(t.shift())}catch(n){t.push(t.shift())}}();let globalScale=1;function _0x1ff2(){const n=["RGBgv","innerWidth","KUWbT","min","lgdIm","FbroP","FqGBp","innerHeigh",".container","4929540cfghQE","51684MuiHuV","QeQxt","oPhMs","scale(1)","864852hVAxxU","7912glSUzI","4014Fgpqew","1650MVArPo","transform","hxLUB","igoLx","css","onresize","scale(","TyTRJ","1438367uinwbK","314ENDhUy","75581pvaRVQ","WefKX","395ZCcAqA","17013VcTvIP"];return(_0x1ff2=function(){return n})()}function SetResponsive(){var n=_0x161338,t={RGBgv:function(n,t){return t<n},KUWbT:function(n,t){return n(t)},igoLx:n(504),QeQxt:n(483),FbroP:n(509),FqGBp:function(n,t){return n/t},lgdIm:function(n,t){return n(t)},WefKX:function(n,t){return n+t},TyTRJ:function(n,t){return n+t},hxLUB:n(488)},e=window[n(497)],r=window[n(503)+"t"];t[n(496)](e,1920)?t[n(498)]($,t[n(485)])[n(486)](t[n(507)],t[n(501)]):(e=Math[n(499)](t[n(502)](e,1920),t[n(502)](r,1080)),globalScale=e,t[n(500)]($,t[n(485)])[n(486)](t[n(507)],t[n(493)](t[n(489)](t[n(484)],e),")")))}function _0xff17(n,t){const e=_0x1ff2();return(_0xff17=function(n,t){return n-=480,e[n]})(n,t)}SetResponsive(),window[_0x161338(487)]=function(){({oPhMs:function(n){return n()}})[_0x161338(508)](SetResponsive)};
File diff suppressed because one or more lines are too long