diff --git a/resources/[tools]/unlimited-spectre/.fxap b/resources/[tools]/unlimited-spectre/.fxap deleted file mode 100644 index f9fb63eb7..000000000 Binary files a/resources/[tools]/unlimited-spectre/.fxap and /dev/null differ diff --git a/resources/[tools]/unlimited-spectre/bans.log b/resources/[tools]/unlimited-spectre/bans.log deleted file mode 100644 index fc7e1dcb6..000000000 --- a/resources/[tools]/unlimited-spectre/bans.log +++ /dev/null @@ -1 +0,0 @@ -[2025/04/30 21:52:26]: [WWH84309] tim has banned Max Becker until Tue Jan 19 2038 04:14:07 GMT+0100 (Central European Standard Time) with reason 'Zu Jung'. diff --git a/resources/[tools]/unlimited-spectre/client/index.lua b/resources/[tools]/unlimited-spectre/client/index.lua deleted file mode 100644 index e152c6eda..000000000 Binary files a/resources/[tools]/unlimited-spectre/client/index.lua and /dev/null differ diff --git a/resources/[tools]/unlimited-spectre/config.json b/resources/[tools]/unlimited-spectre/config.json deleted file mode 100644 index b281d0169..000000000 --- a/resources/[tools]/unlimited-spectre/config.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "port": "3000", - "unlDisableServe": "false", - "unlMySQLSessions": "false", - - "QBName": "qb-core", - "QBObject": "QBCore", - "QBShared": "QBShared", - - "vehGarageColumn": "garage", - "vehStateColumn": "state", - "vehTables": [ - { - "table": "trunkitems", - "column": "plate" - }, - { - "table": "gloveboxitems", - "column": "plate" - } - ], - - "stashTables": [ - { - "type": "Stash", - "updateTriggerType": "stash", - "identifier": "stash", - "itemColumn": "items", - "table": "stashitems", - "maxSlots": 50 - }, - { - "type": "Trunk", - "updateTriggerType": "trunk", - "identifier": "plate", - "itemColumn": "items", - "table": "trunkitems", - "maxSlots": 30 - }, - { - "type": "Glovebox", - "updateTriggerType": "glovebox", - "identifier": "plate", - "itemColumn": "items", - "table": "gloveboxitems", - "maxSlots": 5 - } - ], - - "additionalMoneyTypes": {}, - - "usedInventory": "qs-inventory", - "maxPlayerSlots": "40", - - "disableWeaponLogs": "false", - "excludeWeaponLogsFromDiscord": "false", - "unlDiscordHook": "false", - "unlGameDiscordHook": "false", - "unlPlayerDiscordHook": "false", - "unlDevDiscordHook": "false", - "unlWebDiscordHook": "false", - - "dashboardInterval": "5000", - "mapInterval": "1250", - - "customHandleDeadEvent": "false", - "customHandleCuffedEvent": "false" -} diff --git a/resources/[tools]/unlimited-spectre/error.log b/resources/[tools]/unlimited-spectre/error.log deleted file mode 100644 index 2421d03a3..000000000 --- a/resources/[tools]/unlimited-spectre/error.log +++ /dev/null @@ -1,45 +0,0 @@ -[[31merror[39m][UnlSpectre][2025/04/26 23:40:48]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/26 23:40:55]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/26 23:41:09]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/26 23:41:32]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/26 23:41:41]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/26 23:41:58]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/26 23:42:57]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/26 23:43:07]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/26 23:43:18]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/26 23:43:34]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/26 23:43:36]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/26 23:44:22]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/26 23:44:40]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/26 23:44:48]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/26 23:44:58]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/26 23:45:14]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/26 23:45:55]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/26 23:45:59]: ENOENT: no such file or directory, scandir '/home/evolution/files/resources//[inventory]/ox_inventory/html/images' -[[31merror[39m][UnlSpectre][2025/04/28 18:48:28]: Cannot read properties of undefined (reading 'PlayerData') -[[31merror[39m][UnlSpectre][2025/05/02 14:35:25]: Cannot read properties of undefined (reading 'PlayerData') -[[31merror[39m][UnlSpectre][2025/05/02 14:35:46]: Cannot read properties of undefined (reading 'PlayerData') -[[31merror[39m][UnlSpectre][2025/05/03 00:13:51]: undefined -[[31merror[39m][UnlSpectre][2025/05/05 20:01:24]: Not Found -[[31merror[39m][UnlSpectre][2025/05/06 20:38:40]: undefined -[[31merror[39m][UnlSpectre][2025/05/18 21:22:22]: Internal Server Error -[[31merror[39m][UnlSpectre][2025/05/21 17:00:15]: Cannot read properties of null (reading 'undefined') -[[31merror[39m][UnlSpectre][2025/05/23 14:29:19]: Cannot read properties of null (reading 'citizenid') -[[31merror[39m][UnlSpectre][2025/05/23 15:35:41]: undefined -[[31merror[39m][UnlSpectre][2025/05/25 22:17:26]: Internal Server Error -[[31merror[39m][UnlSpectre][2025/05/25 22:17:33]: Internal Server Error -[[31merror[39m][UnlSpectre][2025/05/28 22:14:45]: undefined -[[31merror[39m][UnlSpectre][2025/05/30 14:08:37]: Cannot read properties of null (reading 'citizenid') -[[31merror[39m][UnlSpectre][2025/05/31 12:25:53]: Error in nested ref call for unlimited-spectre. unlimited-spectre tried to call a function reference in qb-core but the reference wasn't valid. (did qb-core restart recently?) -[[31merror[39m][UnlSpectre][2025/05/31 12:49:54]: Error in nested ref call for unlimited-spectre. unlimited-spectre tried to call a function reference in qb-core but the reference wasn't valid. (did qb-core restart recently?) -[[31merror[39m][UnlSpectre][2025/05/31 12:50:11]: Error in nested ref call for unlimited-spectre. unlimited-spectre tried to call a function reference in qb-core but the reference wasn't valid. (did qb-core restart recently?) -[[31merror[39m][UnlSpectre][2025/06/01 22:12:12]: Internal Server Error -[[31merror[39m][UnlSpectre][2025/06/01 22:12:39]: Internal Server Error -[[31merror[39m][UnlSpectre][2025/06/07 17:58:37]: Internal Server Error -[[31merror[39m][UnlSpectre][2025/06/13 13:44:26]: Error in nested ref call for unlimited-spectre. unlimited-spectre tried to call a function reference in qb-core but the reference wasn't valid. (did qb-core restart recently?) -[[31merror[39m][UnlSpectre][2025/06/24 17:08:42]: Error in nested ref call for unlimited-spectre. unlimited-spectre tried to call a function reference in qb-core but the reference wasn't valid. (did qb-core restart recently?) -[[31merror[39m][UnlSpectre][2025/06/24 17:08:43]: Error in nested ref call for unlimited-spectre. unlimited-spectre tried to call a function reference in qb-core but the reference wasn't valid. (did qb-core restart recently?) -[[31merror[39m][UnlSpectre][2025/06/25 00:38:36]: Cannot read properties of null (reading 'citizenid') -[[31merror[39m][UnlSpectre][2025/06/26 04:04:41]: Error in nested ref call for unlimited-spectre. unlimited-spectre tried to call a function reference in qb-core but the reference wasn't valid. (did qb-core restart recently?) -[[31merror[39m][UnlSpectre][2025/06/26 04:04:42]: Error in nested ref call for unlimited-spectre. unlimited-spectre tried to call a function reference in qb-core but the reference wasn't valid. (did qb-core restart recently?) -[[31merror[39m][UnlSpectre][2025/06/26 04:04:43]: Error in nested ref call for unlimited-spectre. unlimited-spectre tried to call a function reference in qb-core but the reference wasn't valid. (did qb-core restart recently?) diff --git a/resources/[tools]/unlimited-spectre/fxmanifest.lua b/resources/[tools]/unlimited-spectre/fxmanifest.lua deleted file mode 100644 index 890021b16..000000000 --- a/resources/[tools]/unlimited-spectre/fxmanifest.lua +++ /dev/null @@ -1,26 +0,0 @@ -version '1.2.3' -author 'Unlimited.wtf' - -fx_version 'adamant' -games { 'gta5' } - -lua54 'yes' - -server_scripts { - 'server/lua/wrapper.lua', - 'server/index.js', -} - -client_scripts { - 'client/index.lua' -} - -files { - 'hashes.json' -} - -dependencies { - 'qb-core' -} - -dependency '/assetpacks' \ No newline at end of file diff --git a/resources/[tools]/unlimited-spectre/hashes.json b/resources/[tools]/unlimited-spectre/hashes.json deleted file mode 100644 index 864869dc7..000000000 --- a/resources/[tools]/unlimited-spectre/hashes.json +++ /dev/null @@ -1,290 +0,0 @@ -{ - "94989220": "Combat Shotgun", - "406929569": "Fertilizer Can", - "727643628": "Ceramic Pistol", - "1171102963": "Stun Gun", - "1470379660": "Perico Pistol", - "1853742572": "Precision Rifle", - "-1834847097": "Antique Cavalry Dagger", - "-1786099057": "Baseball Bat", - "-102323637": "Broken Bottle", - "-2067956739": "Crowbar", - "-1569615261": "Fist", - "-1951375401": "Flashlight", - "-102973651": "Hatchet", - "-656458692": "Brass Knuckles", - "-1716189206": "Knife", - "-581044007": "Machete", - "-538741184": "Switchblade", - "-853065399": "Battle Axe", - "-1810795771": "Pool Cue", - "-1075685676": "Pistol Mk II", - "-1716589765": "Pistol .50", - "-1076751822": "SNS Pistol", - "-2009644972": "SNS Pistol Mk II", - "-771403250": "Heavy Pistol", - "-598887786": "Marksman Pistol", - "-1045183535": "Heavy Revolver", - "-879347409": "Heavy Revolver Mk II", - "-1746263880": "Double Action Revolver", - "-1355376991": "Up-n-Atomizer", - "-1853920116": "Navy Revolver", - "-270015777": "Assault SMG", - "-619010992": "Machine Pistol", - "-1121678507": "Mini SMG", - "-494615257": "Assault Shotgun", - "-1654528753": "Bullpup Shotgun", - "-1466123874": "Musket", - "-275439685": "Double Barrel Shotgun", - "-1074790547": "Assault Rifle", - "-2084633992": "Carbine Rifle", - "-86904375": "Carbine Rifle Mk II", - "-1357824103": "Advanced Rifle", - "-1063057011": "Special Carbine", - "-1768145561": "Special Carbine Mk II", - "-2066285827": "Bullpup Rifle Mk II", - "-1658906650": "Military Rifle", - "-947031628": "Heavy Rifle", - "-774507221": "Tactical Rifle", - "-1660422300": "MG", - "-608341376": "Combat MG Mk II", - "-952879014": "Marksman Rifle", - "-1312131151": "RPG", - "-1568386805": "Grenade Launcher", - "-1238556825": "Widowmaker", - "-618237638": "Compact EMP Launcher", - "-1813897027": "Grenade", - "-1600701090": "BZ Gas", - "-1420407917": "Proximity Mines", - "-1169823560": "Pipe Bombs", - "-37975472": "Tear Gas", - "-72657034": "Parachute", - "-1168940174": "Hazardous Jerry Can", - "2460120199": "Antique Cavalry Dagger", - "2508868239": "Baseball Bat", - "4192643659": "Bottle", - "2227010557": "Crowbar", - "2725352035": "Fist", - "2343591895": "Flashlight", - "1141786504": "Golf Club", - "1317494643": "Hammer", - "4191993645": "Hatchet", - "3638508604": "Knuckle", - "2578778090": "Knife", - "3713923289": "Machete", - "3756226112": "Switchblade", - "1737195953": "Nightstick", - "419712736": "Pipe Wrench", - "3441901897": "Battle Axe", - "2484171525": "Pool Cue", - "940833800": "Stone Hatchet", - "453432689": "Pistol", - "3219281620": "Pistol MK2", - "1593441988": "Combat Pistol", - "584646201": "AP Pistol", - "911657153": "Stun Gun", - "2578377531": "Pistol .50", - "3218215474": "SNS Pistol", - "2285322324": "SNS Pistol MK2", - "3523564046": "Heavy Pistol", - "137902532": "Vintage Pistol", - "1198879012": "Flare Gun", - "3696079510": "Marksman Pistol", - "3249783761": "Heavy Revolver", - "3415619887": "Heavy Revolver MK2", - "2548703416": "Double Action", - "2939590305": "Up-n-Atomizer", - "324215364": "Micro SMG", - "736523883": "SMG", - "2024373456": "SMG MK2", - "4024951519": "Assault SMG", - "171789620": "Combat PDW", - "3675956304": "Machine Pistol", - "3173288789": "Mini SMG", - "1198256469": "Unholy Hellbringer", - "487013001": "Pump Shotgun", - "1432025498": "Pump Shotgun MK2", - "2017895192": "Sawed-Off Shotgun", - "3800352039": "Assault Shotgun", - "2640438543": "Bullpup Shotgun", - "2828843422": "Musket", - "984333226": "Heavy Shotgun", - "4019527611": "Double Barrel Shotgun", - "317205821": "Sweeper Shotgun", - "3220176749": "Assault Rifle", - "961495388": "Assault Rifle MK2", - "2210333304": "Carbine Rifle", - "4208062921": "Carbine Rifle MK2", - "2937143193": "Advanced Rifle", - "3231910285": "Special Carbine", - "2526821735": "Special Carbine MK2", - "2132975508": "Bullpup Rifle", - "2228681469": "Bullpup Rifle MK2", - "1649403952": "Compact Rifle", - "2634544996": "MG", - "2144741730": "Combat MG", - "3686625920": "Combat MG MK2", - "1627465347": "Gusenberg Sweeper", - "100416529": "Sniper Rifle", - "205991906": "Heavy Sniper", - "177293209": "Heavy Sniper MK2", - "3342088282": "Marksman Rifle", - "1785463520": "Marksman Rifle MK2", - "2982836145": "RPG", - "2726580491": "Grenade Launcher", - "1305664598": "Smoke Grenade Launcher", - "1119849093": "Minigun", - "2138347493": "Firework Launcher", - "1834241177": "Railgun", - "1672152130": "Homing Launcher", - "125959754": "Compact Grenade Launcher", - "3056410471": "Ray Minigun", - "2481070269": "Grenade", - "2694266206": "BZ Gas", - "4256991824": "Smoke Grenade", - "1233104067": "Flare", - "615608432": "Molotov", - "741814745": "Sticky Bomb", - "2874559379": "Proximity Mine", - "126349499": "Snowball", - "3125143736": "Pipe Bomb", - "600439132": "Baseball", - "883325847": "Jerry Can", - "101631238": "Fire Extinguisher", - "4222310262": "Parachute", - "2461879995": "Electric Fence", - "3425972830": "Hit by Water Cannon", - "133987706": "Rammed by Car", - "2741846334": "Run Over by Car", - "3452007600": "Fall", - "4194021054": "Animal", - "324506233": "Airstrike Rocket", - "2339582971": "Bleeding", - "2294779575": "Briefcase", - "28811031": "Briefcase 02", - "148160082": "Cougar", - "1223143800": "Barbed Wire", - "4284007675": "Drowning", - "1936677264": "Drowning In Vehicle", - "539292904": "Explosion", - "910830060": "Exhaustion", - "3750660587": "Fire", - "341774354": "Heli Crash", - "3204302209": "Vehicle Rocket", - "2282558706": "Vehicle Akula Barrage", - "431576697": "Vehicle Akula Minigun", - "2092838988": "Vehicle Akula Missile", - "476907586": "Vehicle Akula Turret Dual", - "3048454573": "Vehicle Akula Turret Single", - "328167896": "Vehicle APC Cannon", - "190244068": "Vehicle APC MG", - "1151689097": "Vehicle APC Missile", - "3293463361": "Vehicle Ardent MG", - "2556895291": "Vehicle Avenger Cannon", - "2756453005": "Vehicle Barrage Rear GL", - "1200179045": "Vehicle Barrage Rear MG", - "525623141": "Vehicle Barrage Rear Minigun", - "4148791700": "Vehicle Barrage Top MG", - "1000258817": "Vehicle Barrage Top Minigun", - "3628350041": "Vehicle Bombushka Cannon", - "741027160": "Vehicle Bombushka Dual MG", - "3959029566": "Vehicle Cannon Blazer", - "1817275304": "Vehicle Caracara MG", - "1338760315": "Vehicle Caracara Minigun", - "2722615358": "Vehicle Cherno Missile", - "3936892403": "Vehicle Comet MG", - "2600428406": "Vehicle Deluxo MG", - "3036244276": "Vehicle Deluxo Missile", - "1595421922": "Vehicle Dogfighter MG", - "3393648765": "Vehicle Dogfighter Missile", - "2700898573": "Vehicle Dune Grenade Launcher", - "3507816399": "Vehicle Dune MG", - "1416047217": "Vehicle Dune Minigun", - "1566990507": "Vehicle Enemy Laser", - "1987049393": "Vehicle Hacker Missile", - "2011877270": "Vehicle Hacker Missile Homing", - "1331922171": "Vehicle Halftrack Dual MG", - "1226518132": "Vehicle Halftrack Quad MG", - "855547631": "Vehicle Havok Minigun", - "785467445": "Vehicle Hunter Barrage", - "704686874": "Vehicle Hunter Cannon", - "1119518887": "Vehicle Hunter MG", - "153396725": "Vehicle Hunter Missile", - "2861067768": "Vehicle Insurgent Minigun", - "507170720": "Vehicle Khanjali Cannon", - "2206953837": "Vehicle Khanjali Cannon Heavy", - "394659298": "Vehicle Khanjali GL", - "711953949": "Vehicle Khanjali MG", - "3754621092": "Vehicle Menacer MG", - "3303022956": "Vehicle Microlight MG", - "3846072740": "Vehicle Mobileops Cannon", - "3857952303": "Vehicle Mogul Dual Nose", - "3123149825": "Vehicle Mogul Dual Turret", - "4128808778": "Vehicle Mogul Nose", - "3808236382": "Vehicle Mogul Turret", - "2220197671": "Vehicle Mule4 MG", - "1198717003": "Vehicle Mule4 Missile", - "3708963429": "Vehicle Mule4 Turret GL", - "2786772340": "Vehicle Nightshark MG", - "1097917585": "Vehicle Nose Turret Valkyrie", - "3643944669": "Vehicle Oppressor MG", - "2344076862": "Vehicle Oppressor Missile", - "3595383913": "Vehicle Oppressor2 Cannon", - "3796180438": "Vehicle Oppressor2 MG", - "1966766321": "Vehicle Oppressor2 Missile", - "3473446624": "Vehicle Plane Rocket", - "1186503822": "Vehicle Player Buzzard", - "3800181289": "Vehicle Player Lazer", - "1638077257": "Vehicle Player Savage", - "2456521956": "Vehicle Pounder2 Barrage", - "2467888918": "Vehicle Pounder2 GL", - "2263283790": "Vehicle Pounder2 Mini", - "162065050": "Vehicle Pounder2 Missile", - "3530961278": "Vehicle Radar", - "3177079402": "Vehicle Revolter MG", - "3878337474": "Vehicle Rogue Cannon", - "158495693": "Vehicle Rogue MG", - "1820910717": "Vehicle Rogue Missile", - "50118905": "Vehicle Ruiner Bullet", - "84788907": "Vehicle Ruiner Rocket", - "3946965070": "Vehicle Savestra MG", - "231629074": "Vehicle Scramjet MG", - "3169388763": "Vehicle Scramjet Missile", - "1371067624": "Vehicle Seabreeze MG", - "3450622333": "Vehicle Searchlight", - "4171469727": "Vehicle Space Rocket", - "3355244860": "Vehicle Speedo4 MG", - "3595964737": "Vehicle Speedo4 Turret MG", - "2667462330": "Vehicle Speedo4 Turret Mini", - "968648323": "Vehicle Strikeforce Barrage", - "955522731": "Vehicle Strikeforce Cannon", - "519052682": "Vehicle Strikeforce Missile", - "1176362416": "Vehicle Subcar MG", - "3565779982": "Vehicle Subcar Missile", - "3884172218": "Vehicle Subcar Torpedo", - "1744687076": "Vehicle Tampa Dual Minigun", - "3670375085": "Vehicle Tampa Fixed Minigun", - "2656583842": "Vehicle Tampa Missile", - "1015268368": "Vehicle Tampa Mortar", - "1945616459": "Vehicle Tank", - "3683206664": "Vehicle Technical Minigun", - "1697521053": "Vehicle Thruster MG", - "1177935125": "Vehicle Thruster Missile", - "2156678476": "Vehicle Trailer Dualaa", - "341154295": "Vehicle Trailer Missile", - "1192341548": "Vehicle Trailer Quad MG", - "2966510603": "Vehicle Tula Dual MG", - "1217122433": "Vehicle Tula MG", - "376489128": "Vehicle Tula Minigun", - "1100844565": "Vehicle Tula Nose MG", - "3041872152": "Vehicle Turret Boxville", - "1155224728": "Vehicle Turret Insurgent", - "729375873": "Vehicle Turret Limo", - "2144528907": "Vehicle Turret Technical", - "2756787765": "Vehicle Turret Valkyrie", - "4094131943": "Vehicle Vigilante MG", - "1347266149": "Vehicle Vigilante Missile", - "2275421702": "Vehicle Viseris MG", - "1150790720": "Vehicle Volatol Dual MG", - "1741783703": "Vehicle Water Cannon" -} diff --git a/resources/[tools]/unlimited-spectre/html/assets/Account.56521d7f.js b/resources/[tools]/unlimited-spectre/html/assets/Account.56521d7f.js deleted file mode 100644 index 495a18388..000000000 --- a/resources/[tools]/unlimited-spectre/html/assets/Account.56521d7f.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as w,o as y,X as _,a7 as u,a as n,w as s,a6 as b,a5 as $,U as c,a9 as k,S as L,W as f}from"./app-014d9ed9.js";import{Q as N,a as v,b as m}from"./QTable.d759a99d.js";import{b as R}from"./QSelect.d7ce3d4c.js";import"./externalHosting.js";import"./QList.9d5bb77f.js";import"./QMarkupTable.ba6854cc.js";import"./QItemLabel.b6dd3adb.js";import"./position-engine.65ebcb34.js";import"./selection.2a17b691.js";import"./rtl.b51694b1.js";const x={name:"Account",data(){return{columns:[{name:"firstname",align:"left",label:this.$i18n.t("components.playerList.headers.firstname"),field:e=>e.firstname,format:e=>`${e}`,sortable:!0},{name:"lastname",align:"left",label:this.$i18n.t("components.playerList.headers.lastname"),field:e=>e.lastname,format:e=>`${e}`,sortable:!0},{name:"name",align:"left",label:this.$i18n.t("components.playerList.headers.name"),field:e=>e.name,format:e=>`${e}`,sortable:!0},{name:"citizenid",align:"left",label:this.$i18n.t("components.playerList.headers.citizenid"),field:e=>e.citizenid,format:e=>`${e}`,sortable:!0},{name:"job",align:"left",label:this.$i18n.t("components.playerList.headers.job"),field:e=>e.job,format:e=>`${e}`},{name:"gang",align:"left",label:this.$i18n.t("components.playerList.headers.gang"),field:e=>e.gang,format:e=>`${e}`},{name:"online",align:"center",label:this.$i18n.t("components.playerList.headers.online"),field:e=>e.online,format:e=>`${e}`}],accountName:"",players:[],pagination:{sortBy:"firstname",descending:!1,page:1,rowsPerPage:25,rowsNumber:25},loading:!0,filter:"",loaded:!1}},methods:{getRowsNumberCount(e){return this.$axios.post("/api/accounts/account-player-count",{license:this.$route.params.license,filter:e}).then(i=>i.data.count)},fetchFromServer(e,i,l,g,o){return this.$axios.post(`/api/accounts/${this.$route.params.license}`,{startRow:e,count:i,filter:l,sortBy:g,descending:o}).then(r=>{let t=[];return r.data.players.forEach(a=>{const d=JSON.parse(a.job),h=JSON.parse(a.gang),p=JSON.parse(a.charinfo);t.push({citizenid:a==null?void 0:a.citizenid,firstname:p==null?void 0:p.firstname,lastname:p==null?void 0:p.lastname,name:a==null?void 0:a.name,gang:h==null?void 0:h.label,job:d==null?void 0:d.label,online:a==null?void 0:a.online})}),t}).catch(r=>{this.loading=!1,this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t("general.timeout")})})},async onRequest(e){const{page:i,rowsPerPage:l,sortBy:g,descending:o}=e.pagination,r=e.filter;this.loading=!0,this.pagination.rowsNumber=await this.getRowsNumberCount(r);const t=l===0?this.pagination.rowsNumber:l,a=(i-1)*l,d=await this.fetchFromServer(a,t,r,g,o);this.loaded||(this.accountName=d[0].name,this.loaded=!0),this.players.splice(0,this.players.length,...d),this.pagination.page=i,this.pagination.rowsPerPage=l,this.pagination.sortBy=g,this.pagination.descending=o,this.loading=!1},onRowClick(e){this.$router.push({name:"game-player-detail",params:{citizenid:e.citizenid}})},getPaginationLabel(e,i,l){return this.$i18n.t("components.playerList.paginationLabel",{from:e,to:i,total:l})}},mounted(){this.$refs.tableRef.requestServerInteraction()}},C={class:"row"},z={class:"col-12"},P={class:"q-ma-sm row"},q={class:"text-h6"},Q={class:"text-primary"},S={class:"col-12"};function B(e,i,l,g,o,r){return y(),_("div",C,[u("div",z,[u("div",P,[n(b,{class:"bg-secondary full-width row"},{default:s(()=>[n($,{class:"col-12"},{default:s(()=>[u("div",q,[u("span",Q,c(o.accountName),1)])]),_:1})]),_:1}),n(b,{class:"bg-secondary full-width row q-mt-md"},{default:s(()=>[u("div",S,[n(N,{ref:"tableRef",color:"primary","card-class":"bg-secondary text-main","table-class":"text-main","table-header-class":"text-primary",flat:"",rows:o.players,columns:o.columns,"row-key":"name",pagination:o.pagination,"onUpdate:pagination":i[1]||(i[1]=t=>o.pagination=t),"rows-per-page-options":[0,25,50,100],"no-results-label":e.$t("components.playerList.noData"),"loading-label":e.$t("components.playerList.loadData"),loading:o.loading,filter:o.filter,"binary-state-sort":"","pagination-label":r.getPaginationLabel,"rows-per-page-label":`${e.$t("components.playerList.recordsPerPage")}:`,onRequest:r.onRequest},{"top-right":s(()=>[n(k,{"input-style":{color:"var(--q-main)"},borderless:"",dense:"",debounce:"300",modelValue:o.filter,"onUpdate:modelValue":i[0]||(i[0]=t=>o.filter=t),placeholder:e.$t("general.search")},{append:s(()=>[n(L,{class:"text-main",name:"search"})]),_:1},8,["input-style","modelValue","placeholder"])]),body:s(t=>[n(v,{props:t,onClick:a=>r.onRowClick(t.row),class:"cursor-pointer"},{default:s(()=>[n(m,{key:"firstname",props:t},{default:s(()=>[f(c(t.row.firstname),1)]),_:2},1032,["props"]),n(m,{key:"lastname",props:t},{default:s(()=>[f(c(t.row.lastname),1)]),_:2},1032,["props"]),n(m,{key:"name",props:t},{default:s(()=>[f(c(t.row.name),1)]),_:2},1032,["props"]),n(m,{key:"citizenid",props:t},{default:s(()=>[f(c(t.row.citizenid),1)]),_:2},1032,["props"]),n(m,{key:"job",props:t},{default:s(()=>[f(c(t.row.job),1)]),_:2},1032,["props"]),n(m,{key:"gang",props:t},{default:s(()=>[f(c(t.row.gang),1)]),_:2},1032,["props"]),n(m,{key:"online",props:t},{default:s(()=>[n(R,{size:"sm",color:t.row.online?"positive":"negative","text-color":"main",label:t.row.online?"Online":"Offline"},null,8,["color","label"])]),_:2},1032,["props"])]),_:2},1032,["props","onClick"])]),_:1},8,["rows","columns","pagination","no-results-label","loading-label","loading","filter","pagination-label","rows-per-page-label","onRequest"])])]),_:1})])])])}const F=w(x,[["render",B]]);export{F as default}; diff --git a/resources/[tools]/unlimited-spectre/html/assets/AccountList.2d40e541.js b/resources/[tools]/unlimited-spectre/html/assets/AccountList.2d40e541.js deleted file mode 100644 index 8184e3802..000000000 --- a/resources/[tools]/unlimited-spectre/html/assets/AccountList.2d40e541.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as f,bh as b,o as h,X as w,a as s,w as r,a6 as _,c as y,bi as v,r as $,a7 as u,U as l,aE as L,a9 as k,S,W as p}from"./app-014d9ed9.js";import{Q as P,a as R,b as m}from"./QTable.d759a99d.js";import"./externalHosting.js";import"./QList.9d5bb77f.js";import"./QMarkupTable.ba6854cc.js";import"./QSelect.d7ce3d4c.js";import"./QItemLabel.b6dd3adb.js";import"./position-engine.65ebcb34.js";import"./selection.2a17b691.js";import"./rtl.b51694b1.js";const q={name:"AccountList",data(){return{columns:[{name:"name",align:"left",label:this.$i18n.t("components.accountList.headers.name"),field:t=>t.name,format:t=>`${t}`,sortable:!0},{name:"license",align:"left",label:this.$i18n.t("components.accountList.headers.license"),field:t=>t.license,format:t=>`${t}`,sortable:!0},{name:"character_count",align:"center",label:this.$i18n.t("components.accountList.headers.character_count"),field:t=>t.character_count,format:t=>`${t}`,sortable:!0},{name:"last_active",align:"center",label:this.$i18n.t("components.accountList.headers.last_active"),field:t=>t.last_active,format:t=>`${t}`,sortable:!0}],accounts:[],pagination:{sortBy:"name",descending:!1,page:1,rowsPerPage:25,rowsNumber:25},loading:!0}},methods:{getRowsNumberCount(t){return this.$axios.post("/api/accounts/account-count",{filter:t}).then(a=>a.data.count)},fetchFromServer(t,a,i,c,n){return this.$axios.post("/api/accounts",{startRow:t,count:a,filter:i,sortBy:c,descending:n}).then(o=>o.data.accounts||[]).catch(o=>{this.loading=!1,this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t("general.timeout")})}).finally(()=>this.loading=!1)},async onRequest(t){const{page:a,rowsPerPage:i,sortBy:c,descending:n}=t.pagination,o=t.filter;this.loading=!0,this.pagination.rowsNumber=await this.getRowsNumberCount(o);const d=i===0?this.pagination.rowsNumber:i,e=(a-1)*i,g=await this.fetchFromServer(e,d,o,c,n);this.accounts.splice(0,this.accounts.length,...g),this.pagination.page=a,this.pagination.rowsPerPage=i,this.pagination.sortBy=c,this.pagination.descending=n,this.paginationSave=this.pagination,this.loading=!1},onRowClick(t){this.$router.push({name:"game-account-detail",params:{license:t.license}})},getPaginationLabel(t,a,i){return this.$i18n.t("components.accountList.paginationLabel",{from:t,to:a,total:i})},updatePagination(t){this.loading||(this.paginationSave=t,this.pagination=t)}},computed:{...b(v,["searchFilter","paginationSave"])},mounted(){this.$route.name==="game-account-list"&&(this.pagination={...this.paginationSave},this.$refs.tableRef.requestServerInteraction())}},C={key:0,class:"row q-pa-sm"},B={class:"row"},N={class:"col-12"},Q={class:"q-mx-md q-my-sm row"},x={class:"text-caption text-sub"};function F(t,a,i,c,n,o){const d=$("router-view");return t.$route.name==="game-account-list"?(h(),w("div",C,[s(_,{class:"bg-secondary full-width"},{default:r(()=>[u("div",B,[u("div",N,[u("div",Q,[u("div",x,l(t.$t("components.accountList.subheader")),1)]),s(L),s(P,{ref:"tableRef",color:"primary","card-class":"bg-secondary text-main","table-class":"text-main","table-header-class":"text-primary",flat:"",rows:n.accounts,columns:n.columns,"row-key":"name",pagination:n.pagination,"onUpdate:pagination":[a[1]||(a[1]=e=>n.pagination=e),o.updatePagination],"rows-per-page-options":[0,25,50,100],"no-results-label":t.$t("components.accountList.noData"),"loading-label":t.$t("components.accountList.loadData"),loading:n.loading,filter:t.searchFilter,"binary-state-sort":"","pagination-label":o.getPaginationLabel,"rows-per-page-label":`${t.$t("components.accountList.recordsPerPage")}:`,onRequest:o.onRequest},{"top-right":r(()=>[s(k,{"input-style":{color:"var(--q-main)"},borderless:"",dense:"",debounce:"300",modelValue:t.searchFilter,"onUpdate:modelValue":a[0]||(a[0]=e=>t.searchFilter=e),placeholder:t.$t("general.search")},{append:r(()=>[s(S,{class:"text-main",name:"search"})]),_:1},8,["input-style","modelValue","placeholder"])]),body:r(e=>[s(R,{props:e,onClick:g=>o.onRowClick(e.row),class:"cursor-pointer"},{default:r(()=>[s(m,{key:"name",props:e},{default:r(()=>[p(l(e.row.name),1)]),_:2},1032,["props"]),s(m,{key:"license",props:e},{default:r(()=>[p(l(e.row.license),1)]),_:2},1032,["props"]),s(m,{key:"character_count",props:e},{default:r(()=>[p(l(e.row.character_count),1)]),_:2},1032,["props"]),s(m,{key:"last_active",props:e},{default:r(()=>[p(l(new Date(e.row.last_active*1e3).toLocaleString()),1)]),_:2},1032,["props"])]),_:2},1032,["props","onClick"])]),_:1},8,["rows","columns","pagination","no-results-label","loading-label","loading","filter","pagination-label","rows-per-page-label","onRequest","onUpdate:pagination"])])])]),_:1})])):(h(),y(d,{key:1}))}const z=f(q,[["render",F]]);export{z as default}; diff --git a/resources/[tools]/unlimited-spectre/html/assets/Auth.6fa50dd9.js b/resources/[tools]/unlimited-spectre/html/assets/Auth.6fa50dd9.js deleted file mode 100644 index 0c51e9d14..000000000 --- a/resources/[tools]/unlimited-spectre/html/assets/Auth.6fa50dd9.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o,ad as a,ae as i,o as r,X as n,bN as c}from"./app-014d9ed9.js";import"./externalHosting.js";const d=""+new URL("logo.be249712.png",import.meta.url).href;const _={name:"AuthProcess",methods:{...a(i,["UPDATE_ACCESS_TOKEN","UPDATE_USER_DATA"]),queryString(t){return Object.keys(t).map(e=>e+"="+encodeURIComponent(t[e])).join("&")}},mounted(){this.$axios.post(`/auth/${this.$route.params.provider}/callback?${this.queryString(this.$route.query)}`).then(t=>{const e=t.data.resCode,s=t.data.resMsg;if(!e){this.$q.notify({message:this.$t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$t(`components.auth.msg.error.${s}`)}),this.$router.push({name:"auth-login"});return}this.UPDATE_ACCESS_TOKEN(t.data.accessToken),this.UPDATE_USER_DATA(t.data.userData),this.$socket.connect(),this.$router.push({path:"/"})})}},h={id:"auth-loading"},u=c('
${f.code}
`},"size-1":{cmd:"fontSize",param:"1",icon:y.size1||y.size,tip:f.size1,htmlTip:`${f.size1}`},"size-2":{cmd:"fontSize",param:"2",icon:y.size2||y.size,tip:f.size2,htmlTip:`${f.size2}`},"size-3":{cmd:"fontSize",param:"3",icon:y.size3||y.size,tip:f.size3,htmlTip:`${f.size3}`},"size-4":{cmd:"fontSize",param:"4",icon:y.size4||y.size,tip:f.size4,htmlTip:`${f.size4}`},"size-5":{cmd:"fontSize",param:"5",icon:y.size5||y.size,tip:f.size5,htmlTip:`${f.size5}`},"size-6":{cmd:"fontSize",param:"6",icon:y.size6||y.size,tip:f.size6,htmlTip:`${f.size6}`},"size-7":{cmd:"fontSize",param:"7",icon:y.size7||y.size,tip:f.size7,htmlTip:`${f.size7}`}}}),Ae=D(()=>{const f=e.definitions||{},y=e.definitions||e.fonts?ha(!0,{},j.value,f,Gs(L,s.lang.editor.defaultFont,s.iconSet.editor.font,e.fonts)):j.value;return e.toolbar.map(T=>T.map(S=>{if(S.options)return{type:"dropdown",icon:S.icon,label:S.label,size:"sm",dense:!0,fixedLabel:S.fixedLabel,fixedIcon:S.fixedIcon,highlight:S.highlight,list:S.list,options:S.options.map(Ie=>y[Ie])};const I=y[S];return I?I.type==="no-state"||f[S]&&(I.cmd===void 0||j.value[I.cmd]&&j.value[I.cmd].type==="no-state")?I:Object.assign({type:"toggle"},I):{type:"slot",slot:S}}))}),F={$q:s,props:e,slots:t,inFullscreen:C,toggleFullscreen:A,runCmd:ze,isViewingSource:V,editLinkUrl:$,toolbarBackgroundClass:Q,buttonProps:b,contentRef:O,buttons:Ae,setContent:Le};ce(()=>e.modelValue,f=>{de!==f&&(de=f,Le(f,!0))});const Oe=D(()=>e.toolbar&&e.toolbar.length>0),Te=D(()=>{const f={},y=T=>{T.key&&(f[T.key]={cmd:T.cmd,param:T.param})};return Ae.value.forEach(T=>{T.forEach(S=>{S.options?S.options.forEach(y):y(S)})}),f}),we=D(()=>C.value?e.contentStyle:[{minHeight:e.minHeight,height:e.height,maxHeight:e.maxHeight},e.contentStyle]),W=D(()=>`q-editor q-editor--${V.value===!0?"source":"default"}`+(e.disable===!0?" disabled":"")+(C.value===!0?" fullscreen column":"")+(e.square===!0?" q-editor--square no-border-radius":"")+(e.flat===!0?" q-editor--flat":"")+(e.dense===!0?" q-editor--dense":"")+(m.value===!0?" q-editor--dark q-dark":"")),lt=D(()=>[e.contentClass,"q-editor__content",{col:C.value,"overflow-auto":C.value||e.maxHeight}]),re=D(()=>e.disable===!0?{"aria-disabled":"true"}:e.readonly===!0?{"aria-readonly":"true"}:{});function me(){if(O.value!==null){const f=`inner${V.value===!0?"Text":"HTML"}`,y=O.value[f];y!==e.modelValue&&(de=y,o("update:modelValue",y))}}function Pe(f){if(o("keydown",f),f.ctrlKey!==!0||Kt(f)===!0){oe();return}const y=f.keyCode,T=Te.value[y];if(T!==void 0){const{cmd:S,param:I}=T;Fa(f),ze(S,I,!1)}}function Re(f){oe(),o("click",f)}function X(f){if(O.value!==null){const{scrollTop:y,scrollHeight:T}=O.value;le=T-y}F.caret.save(),o("blur",f)}function he(f){gt(()=>{O.value!==null&&le!==void 0&&(O.value.scrollTop=O.value.scrollHeight-le)}),o("focus",f)}function Me(f){const y=q.value;if(y!==null&&y.contains(f.target)===!0&&(f.relatedTarget===null||y.contains(f.relatedTarget)!==!0)){const T=`inner${V.value===!0?"Text":"HTML"}`;F.caret.restorePosition(O.value[T].length),oe()}}function He(f){const y=q.value;y!==null&&y.contains(f.target)===!0&&(f.relatedTarget===null||y.contains(f.relatedTarget)!==!0)&&(F.caret.savePosition(),oe())}function pe(){le=void 0}function Ye(f){F.caret.save()}function Le(f,y){if(O.value!==null){y===!0&&F.caret.savePosition();const T=`inner${V.value===!0?"Text":"HTML"}`;O.value[T]=f,y===!0&&(F.caret.restorePosition(O.value[T].length),oe())}}function ze(f,y,T=!0){fe(),F.caret.restore(),F.caret.apply(f,y,()=>{fe(),F.caret.save(),T&&oe()})}function oe(){setTimeout(()=>{$.value=null,a.$forceUpdate()},1)}function fe(){Qa(()=>{O.value!==null&&O.value.focus({preventScroll:!0})})}function Qe(){return O.value}return Wt(()=>{F.caret=a.caret=new Ls(O.value,F),Le(e.modelValue),oe(),document.addEventListener("selectionchange",Ye)}),ja(()=>{document.removeEventListener("selectionchange",Ye)}),Object.assign(a,{runCmd:ze,refreshToolbar:oe,focus:fe,getContentEl:Qe}),()=>{let f;if(Oe.value){const y=[v("div",{key:"qedt_top",class:"q-editor__toolbar row no-wrap scroll-x"+Q.value},Us(F))];$.value!==null&&y.push(v("div",{key:"qedt_btm",class:"q-editor__toolbar row no-wrap items-center scroll-x"+Q.value},js(F))),f=v("div",{key:"toolbar_ctainer",class:"q-editor__toolbars-container"},y)}return v("div",{ref:q,class:W.value,style:{height:C.value===!0?"100%":null},...re.value,onFocusin:Me,onFocusout:He},[f,v("div",{ref:O,style:we.value,class:lt.value,contenteditable:J.value,placeholder:e.placeholder,...k.listeners.value,onInput:me,onKeydown:Pe,onClick:Re,onBlur:X,onFocus:he,onMousedown:pe,onTouchstartPassive:pe})])}}}),Ws={name:"PlayerNotes",data(){return{note:""}},methods:{trySaveNotes(){this.$axios.post(`/api/players/${this.$route.params.citizenid}/notes`,{note:this.note}).then(e=>{if(!e.data.resCode){this.$q.notify({message:"Error",position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t(`components.player.msg.error.${e.data.resMsg}`)});return}this.$q.notify({message:this.$i18n.t("general.success"),position:"top",color:"green",icon:"fas fa-check",caption:this.$i18n.t("general.saved")})})}},async mounted(){await this.$axios.get(`/api/players/${this.$route.params.citizenid}/notes`).then(e=>{const t=e.data.note,o=e.data.resCode;if(!t&&!o){this.$q.notify({message:"Error",position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t("components.player.msg.error.fetchingNotes")});return}this.note=t||""})}},Zs={class:"row q-mb-md"},Ks={class:"col-12 q-px-sm"};function Xs(e,t,o,i,a,l){return g(),P("div",Zs,[u("div",Ks,[c(Z,{class:"bg-secondary q-mt-sm q-pa-md full-height"},{default:h(()=>[c(Js,{modelValue:a.note,"onUpdate:modelValue":t[0]||(t[0]=s=>a.note=s),"min-height":"56vh","content-class":"bg-dark text-main","toolbar-bg":"dark","toolbar-toggle-color":"primary","toolbar-color":"sub","toolbar-text-color":"sub",square:""},null,8,["modelValue"]),c(M,{"text-color":"main",color:"primary",onClick:l.trySaveNotes,label:e.$t("general.save"),class:"q-mt-md"},null,8,["onClick","label"])]),_:1})])])}const er=ue(Ws,[["render",Xs]]),tr={name:"Player",components:{PlayerGeneral:Cs,PlayerVehicles:Hs,PlayerLogs:Ds,PlayerNotes:er},data(){return{playerName:null,activeTab:"general",playerTabs:[{name:"general",icon:"account_circle",label:this.$i18n.t("components.player.tabs.general"),component:"player-general"},{name:"vehicles",icon:"directions_car",label:this.$i18n.t("components.player.tabs.vehicles"),component:"player-vehicles"},{name:"logs",icon:"description",label:this.$i18n.t("components.player.tabs.logs"),component:"player-logs"},{name:"notes",icon:"support",label:this.$i18n.t("components.player.tabs.notes"),component:"player-notes"}]}}},ar={key:0,class:"row"},nr={class:"col-12"},or={class:"row"},lr={class:"text-h6"},sr={class:"text-primary"},rr={class:"col-12"},ir={class:"q-ma-sm row justify-end"};function cr(e,t,o,i,a,l){const s=Ja("router-view");return e.$route.name!=="game-player-inventory"?(g(),P("div",ar,[u("div",nr,[u("div",or,[c(Z,{class:"q-ma-sm bg-secondary row",style:{width:"100%"}},{default:h(()=>[c(H,{class:"col-12"},{default:h(()=>[u("div",lr,[u("span",sr,p(a.playerName),1)])]),_:1}),c(H,{class:"col-12"},{default:h(()=>[c(Ka,{modelValue:a.activeTab,"onUpdate:modelValue":t[0]||(t[0]=m=>a.activeTab=m),class:"text-main full-width row","indicator-color":"primary","active-color":"primary"},{default:h(()=>[(g(!0),P(ee,null,Ge(a.playerTabs,m=>(g(),G(Xa,{key:m.name,name:m.name,icon:m.icon,label:m.label},null,8,["name","icon","label"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),c(Za,{modelValue:a.activeTab,"onUpdate:modelValue":t[2]||(t[2]=m=>a.activeTab=m),animated:"","transition-prev":"fade","transition-next":"fade",class:"full-width bg-transparent"},{default:h(()=>[(g(!0),P(ee,null,Ge(a.playerTabs,m=>(g(),G(en,{key:m.name+"_panel",name:m.name,class:"overflow-hidden q-pa-none"},{default:h(()=>[(g(),G(Wa(m.component),{onUpdatePlayerName:t[1]||(t[1]=C=>a.playerName=C)},null,32))]),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"])])]),u("div",rr,[u("div",ir,[c(M,{"text-color":"main",color:"primary",onClick:t[3]||(t[3]=m=>e.$router.push({name:"game-player-list"})),label:e.$t("general.back"),class:"q-mr-auto"},null,8,["label"])])])])):(g(),G(s,{key:1}))}const Or=ue(tr,[["render",cr]]);export{Or as default};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/Player.3ea5adaf.css b/resources/[tools]/unlimited-spectre/html/assets/Player.3ea5adaf.css
deleted file mode 100644
index 544367c0a..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/Player.3ea5adaf.css
+++ /dev/null
@@ -1 +0,0 @@
-.log-container[data-v-a7cc3e3f]{overflow:auto;background:#3b4253;height:56vh;border-top-right-radius:4px;border-top-left-radius:4px}
diff --git a/resources/[tools]/unlimited-spectre/html/assets/PlayerList.2d511afa.js b/resources/[tools]/unlimited-spectre/html/assets/PlayerList.2d511afa.js
deleted file mode 100644
index c89959d67..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/PlayerList.2d511afa.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as w,bh as y,o as b,X as $,a,w as i,a6 as _,c as v,bi as L,r as k,a7 as f,U as l,aE as S,a9 as P,S as R,W as g}from"./app-014d9ed9.js";import{Q as C,a as N,b as m}from"./QTable.d759a99d.js";import{b as q}from"./QSelect.d7ce3d4c.js";import"./externalHosting.js";import"./QList.9d5bb77f.js";import"./QMarkupTable.ba6854cc.js";import"./QItemLabel.b6dd3adb.js";import"./position-engine.65ebcb34.js";import"./selection.2a17b691.js";import"./rtl.b51694b1.js";const z={name:"PlayerList",data(){return{columns:[{name:"firstname",align:"left",label:this.$i18n.t("components.playerList.headers.firstname"),field:e=>e.firstname,format:e=>`${e}`,sortable:!0},{name:"lastname",align:"left",label:this.$i18n.t("components.playerList.headers.lastname"),field:e=>e.lastname,format:e=>`${e}`,sortable:!0},{name:"name",align:"left",label:this.$i18n.t("components.playerList.headers.name"),field:e=>e.name,format:e=>`${e}`,sortable:!0},{name:"citizenid",align:"left",label:this.$i18n.t("components.playerList.headers.citizenid"),field:e=>e.citizenid,format:e=>`${e}`,sortable:!0},{name:"job",align:"left",label:this.$i18n.t("components.playerList.headers.job"),field:e=>e.job,format:e=>`${e}`},{name:"gang",align:"left",label:this.$i18n.t("components.playerList.headers.gang"),field:e=>e.gang,format:e=>`${e}`},{name:"online",align:"center",label:this.$i18n.t("components.playerList.headers.online"),field:e=>e.online,format:e=>`${e}`}],players:[],pagination:{sortBy:"firstname",descending:!1,page:1,rowsPerPage:25,rowsNumber:25},loading:!0}},methods:{getRowsNumberCount(e){return this.$axios.post("/api/players/player-count",{filter:e}).then(n=>n.data.count)},fetchFromServer(e,n,r,u,o){return this.$axios.post("/api/players",{startRow:e,count:n,filter:r,sortBy:u,descending:o}).then(s=>{let p=[];return s.data.players.forEach(t=>{const c=JSON.parse(t.job),h=JSON.parse(t.gang),d=JSON.parse(t.charinfo);p.push({citizenid:t==null?void 0:t.citizenid,firstname:d==null?void 0:d.firstname,lastname:d==null?void 0:d.lastname,name:t==null?void 0:t.name,gang:h==null?void 0:h.label,job:c==null?void 0:c.label,online:t==null?void 0:t.online})}),p}).catch(s=>{this.loading=!1,this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t("general.timeout")})})},async onRequest(e){const{page:n,rowsPerPage:r,sortBy:u,descending:o}=e.pagination,s=e.filter;this.loading=!0,this.pagination.rowsNumber=await this.getRowsNumberCount(s);const p=r===0?this.pagination.rowsNumber:r,t=(n-1)*r,c=await this.fetchFromServer(t,p,s,u,o);this.players.splice(0,this.players.length,...c),this.pagination.page=n,this.pagination.rowsPerPage=r,this.pagination.sortBy=u,this.pagination.descending=o,this.paginationSave=this.pagination,this.loading=!1},onRowClick(e){this.$router.push({name:"game-player-detail",params:{citizenid:e.citizenid}})},getPaginationLabel(e,n,r){return this.$i18n.t("components.playerList.paginationLabel",{from:e,to:n,total:r})},updatePagination(e){this.loading||(this.paginationSave=e,this.pagination=e)}},computed:{...y(L,["searchFilter","paginationSave"])},mounted(){this.$route.name==="game-player-list"&&(this.pagination={...this.paginationSave},this.$refs.tableRef.requestServerInteraction())}},Q={key:0,class:"row q-pa-sm"},B={class:"row"},x={class:"col-12"},j={class:"q-mx-md q-my-sm row"},F={class:"text-caption text-sub"};function V(e,n,r,u,o,s){const p=k("router-view");return e.$route.name==="game-player-list"?(b(),$("div",Q,[a(_,{class:"bg-secondary full-width"},{default:i(()=>[f("div",B,[f("div",x,[f("div",j,[f("div",F,l(e.$t("components.playerList.subheader")),1)]),a(S),a(C,{ref:"tableRef",color:"primary","card-class":"bg-secondary text-main","table-class":"text-main","table-header-class":"text-primary",flat:"",rows:o.players,columns:o.columns,"row-key":"name",pagination:o.pagination,"onUpdate:pagination":[n[1]||(n[1]=t=>o.pagination=t),s.updatePagination],"rows-per-page-options":[0,25,50,100],"no-results-label":e.$t("components.playerList.noData"),"loading-label":e.$t("components.playerList.loadData"),loading:o.loading,filter:e.searchFilter,"binary-state-sort":"","pagination-label":s.getPaginationLabel,"rows-per-page-label":`${e.$t("components.playerList.recordsPerPage")}:`,onRequest:s.onRequest},{"top-right":i(()=>[a(P,{"input-style":{color:"var(--q-main)"},borderless:"",dense:"",debounce:"300",modelValue:e.searchFilter,"onUpdate:modelValue":n[0]||(n[0]=t=>e.searchFilter=t),placeholder:e.$t("general.search")},{append:i(()=>[a(R,{class:"text-main",name:"search"})]),_:1},8,["input-style","modelValue","placeholder"])]),body:i(t=>[a(N,{props:t,onClick:c=>s.onRowClick(t.row),class:"cursor-pointer"},{default:i(()=>[a(m,{key:"firstname",props:t},{default:i(()=>[g(l(t.row.firstname),1)]),_:2},1032,["props"]),a(m,{key:"lastname",props:t},{default:i(()=>[g(l(t.row.lastname),1)]),_:2},1032,["props"]),a(m,{key:"name",props:t},{default:i(()=>[g(l(t.row.name),1)]),_:2},1032,["props"]),a(m,{key:"citizenid",props:t},{default:i(()=>[g(l(t.row.citizenid),1)]),_:2},1032,["props"]),a(m,{key:"job",props:t},{default:i(()=>[g(l(t.row.job),1)]),_:2},1032,["props"]),a(m,{key:"gang",props:t},{default:i(()=>[g(l(t.row.gang),1)]),_:2},1032,["props"]),a(m,{key:"online",props:t},{default:i(()=>[a(q,{size:"sm",color:t.row.online?"positive":"negative","text-color":"main",label:t.row.online?"Online":"Offline"},null,8,["color","label"])]),_:2},1032,["props"])]),_:2},1032,["props","onClick"])]),_:1},8,["rows","columns","pagination","no-results-label","loading-label","loading","filter","pagination-label","rows-per-page-label","onRequest","onUpdate:pagination"])])])]),_:1})])):(b(),v(p,{key:1}))}const G=w(z,[["render",V]]);export{G as default};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/QBadge.718e7c58.js b/resources/[tools]/unlimited-spectre/html/assets/QBadge.718e7c58.js
deleted file mode 100644
index 14c048ab3..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/QBadge.718e7c58.js
+++ /dev/null
@@ -1 +0,0 @@
-import{b as i,q as l,x as r,v as u}from"./app-014d9ed9.js";const d=["top","middle","bottom"],c=i({name:"QBadge",props:{color:String,textColor:String,floating:Boolean,transparent:Boolean,multiLine:Boolean,outline:Boolean,rounded:Boolean,label:[Number,String],align:{type:String,validator:e=>d.includes(e)}},setup(e,{slots:a}){const n=l(()=>e.align!==void 0?{verticalAlign:e.align}:null),o=l(()=>{const t=e.outline===!0&&e.color||e.textColor;return`q-badge flex inline items-center no-wrap q-badge--${e.multiLine===!0?"multi":"single"}-line`+(e.outline===!0?" q-badge--outline":e.color!==void 0?` bg-${e.color}`:"")+(t!==void 0?` text-${t}`:"")+(e.floating===!0?" q-badge--floating":"")+(e.rounded===!0?" q-badge--rounded":"")+(e.transparent===!0?" q-badge--transparent":"")});return()=>r("div",{class:o.value,style:n.value,role:"status","aria-label":e.label},u(a.default,e.label!==void 0?[e.label]:[]))}});export{c as Q};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/QExpansionItem.593bd861.js b/resources/[tools]/unlimited-spectre/html/assets/QExpansionItem.593bd861.js
deleted file mode 100644
index f40492bd4..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/QExpansionItem.593bd861.js
+++ /dev/null
@@ -1 +0,0 @@
-import{aC as z,b as W,a0 as A,E as X,F as Y,G as Z,H as p,k,aD as w,J as ee,q as o,d as x,f as te,x as n,aE as _,h as ne,L as ae,aF as ie,A as oe,S as C,ap as le}from"./app-014d9ed9.js";import{a as ue,c as y,Q as S}from"./QItemLabel.b6dd3adb.js";import{Q as ce}from"./QSlideTransition.104e08c1.js";const u=z({}),de=Object.keys(A),ve=W({name:"QExpansionItem",props:{...A,...X,...Y,icon:String,label:String,labelLines:[Number,String],caption:String,captionLines:[Number,String],dense:Boolean,toggleAriaLabel:String,expandIcon:String,expandedIcon:String,expandIconClass:[Array,String,Object],duration:Number,headerInsetLevel:Number,contentInsetLevel:Number,expandSeparator:Boolean,defaultOpened:Boolean,hideExpandIcon:Boolean,expandIconToggle:Boolean,switchToggleSide:Boolean,denseToggle:Boolean,group:String,popup:Boolean,headerStyle:[Array,String,Object],headerClass:[Array,String,Object]},emits:[...Z,"click","after-show","after-hide"],setup(e,{slots:g,emit:v}){const{proxy:{$q:d}}=ne(),f=p(e,d),a=k(e.modelValue!==null?e.modelValue:e.defaultOpened),h=k(null),b=w(),{show:Q,hide:I,toggle:m}=ee({showing:a});let l,c;const B=o(()=>`q-expansion-item q-item-type q-expansion-item--${a.value===!0?"expanded":"collapsed"} q-expansion-item--${e.popup===!0?"popup":"standard"}`),O=o(()=>e.contentInsetLevel===void 0?null:{["padding"+(d.lang.rtl===!0?"Right":"Left")]:e.contentInsetLevel*56+"px"}),r=o(()=>e.disable!==!0&&(e.href!==void 0||e.to!==void 0&&e.to!==null&&e.to!=="")),E=o(()=>{const t={};return de.forEach(i=>{t[i]=e[i]}),t}),P=o(()=>r.value===!0||e.expandIconToggle!==!0),j=o(()=>e.expandedIcon!==void 0&&a.value===!0?e.expandedIcon:e.expandIcon||d.iconSet.expansionItem[e.denseToggle===!0?"denseIcon":"icon"]),N=o(()=>e.disable!==!0&&(r.value===!0||e.expandIconToggle===!0)),D=o(()=>({expanded:a.value===!0,detailsId:e.targetUid,toggle:m,show:Q,hide:I})),T=o(()=>{const t=e.toggleAriaLabel!==void 0?e.toggleAriaLabel:d.lang.label[a.value===!0?"collapse":"expand"](e.label);return{role:"button","aria-expanded":a.value===!0?"true":"false","aria-owns":b,"aria-controls":b,"aria-label":t}});x(()=>e.group,t=>{c!==void 0&&c(),t!==void 0&&L()});function H(t){r.value!==!0&&m(t),v("click",t)}function R(t){t.keyCode===13&&q(t,!0)}function q(t,i){i!==!0&&h.value!==null&&h.value.focus(),m(t),le(t)}function G(){v("after-show")}function $(){v("after-hide")}function L(){l===void 0&&(l=w()),a.value===!0&&(u[e.group]=l);const t=x(a,s=>{s===!0?u[e.group]=l:u[e.group]===l&&delete u[e.group]}),i=x(()=>u[e.group],(s,J)=>{J===l&&s!==void 0&&s!==l&&I()});c=()=>{t(),i(),u[e.group]===l&&delete u[e.group],c=void 0}}function K(){const t={class:[`q-focusable relative-position cursor-pointer${e.denseToggle===!0&&e.switchToggleSide===!0?" items-end":""}`,e.expandIconClass],side:e.switchToggleSide!==!0,avatar:e.switchToggleSide},i=[n(C,{class:"q-expansion-item__toggle-icon"+(e.expandedIcon===void 0&&a.value===!0?" q-expansion-item__toggle-icon--rotated":""),name:j.value})];return N.value===!0&&(Object.assign(t,{tabindex:0,...T.value,onClick:q,onKeyup:R}),i.unshift(n("div",{ref:h,class:"q-expansion-item__toggle-focus q-icon q-focus-helper q-focus-helper--rounded",tabindex:-1}))),n(S,t,()=>i)}function M(){let t;return g.header!==void 0?t=[].concat(g.header(D.value)):(t=[n(S,()=>[n(y,{lines:e.labelLines},()=>e.label||""),e.caption?n(y,{lines:e.captionLines,caption:!0},()=>e.caption):null])],e.icon&&t[e.switchToggleSide===!0?"push":"unshift"](n(S,{side:e.switchToggleSide===!0,avatar:e.switchToggleSide!==!0},()=>n(C,{name:e.icon})))),e.disable!==!0&&e.hideExpandIcon!==!0&&t[e.switchToggleSide===!0?"unshift":"push"](K()),t}function U(){const t={ref:"item",style:e.headerStyle,class:e.headerClass,dark:f.value,disable:e.disable,dense:e.dense,insetLevel:e.headerInsetLevel};return P.value===!0&&(t.clickable=!0,t.onClick=H,Object.assign(t,r.value===!0?E.value:T.value)),n(ue,t,M)}function F(){return ae(n("div",{key:"e-content",class:"q-expansion-item__content relative-position",style:O.value,id:b},oe(g.default)),[[ie,a.value]])}function V(){const t=[U(),n(ce,{duration:e.duration,onShow:G,onHide:$},F)];return e.expandSeparator===!0&&t.push(n(_,{class:"q-expansion-item__border q-expansion-item__border--top absolute-top",dark:f.value}),n(_,{class:"q-expansion-item__border q-expansion-item__border--bottom absolute-bottom",dark:f.value})),t}return e.group!==void 0&&L(),te(()=>{c!==void 0&&c()}),()=>n("div",{class:B.value},[n("div",{class:"q-expansion-item__container relative-position"},V())])}});export{ve as Q};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/QForm.8d79ab03.js b/resources/[tools]/unlimited-spectre/html/assets/QForm.8d79ab03.js
deleted file mode 100644
index fe3e46e64..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/QForm.8d79ab03.js
+++ /dev/null
@@ -1 +0,0 @@
-import{b as S,k as A,aG as E,aH as I,e as B,x as R,A as V,h as q,aI as Q,ap as F,z as j,aJ as k,t as D,aK as K}from"./app-014d9ed9.js";const G=S({name:"QForm",props:{autofocus:Boolean,noErrorFocus:Boolean,noResetFocus:Boolean,greedy:Boolean,onSubmit:Function},emits:["reset","validation-success","validation-error"],setup(a,{slots:C,emit:f}){const P=q(),u=A(null);let i=0;const s=[];function d(e){const r=typeof e=="boolean"?e:a.noErrorFocus!==!0,l=++i,y=(t,o)=>{f("validation-"+(t===!0?"success":"error"),o)},g=t=>{const o=t.validate();return typeof o.then=="function"?o.then(n=>({valid:n,comp:t}),n=>({valid:!1,comp:t,err:n})):Promise.resolve({valid:o,comp:t})};return(a.greedy===!0?Promise.all(s.map(g)).then(t=>t.filter(o=>o.valid!==!0)):s.reduce((t,o)=>t.then(()=>g(o).then(n=>{if(n.valid===!1)return Promise.reject(n)})),Promise.resolve()).catch(t=>[t])).then(t=>{if(t===void 0||t.length===0)return l===i&&y(!0),!0;if(l===i){const{comp:o,err:n}=t[0];if(n!==void 0&&console.error(n),y(!1,o),r===!0){const p=t.find(({comp:x})=>typeof x.focus=="function"&&Q(x.$)===!1);p!==void 0&&p.comp.focus()}}return!1})}function v(){i++,s.forEach(e=>{typeof e.resetValidation=="function"&&e.resetValidation()})}function m(e){e!==void 0&&F(e);const r=i+1;d().then(l=>{r===i&&l===!0&&(a.onSubmit!==void 0?f("submit",e):e!==void 0&&e.target!==void 0&&typeof e.target.submit=="function"&&e.target.submit())})}function b(e){e!==void 0&&F(e),f("reset"),j(()=>{v(),a.autofocus===!0&&a.noResetFocus!==!0&&c()})}function c(){k(()=>{if(u.value===null)return;const e=u.value.querySelector("[autofocus], [data-autofocus]")||Array.prototype.find.call(u.value.querySelectorAll("[tabindex]"),r=>r.tabIndex>-1);e!=null&&e.focus({preventScroll:!0})})}D(K,{bindComponent(e){s.push(e)},unbindComponent(e){const r=s.indexOf(e);r>-1&&s.splice(r,1)}});let h=!1;return E(()=>{h=!0}),I(()=>{h===!0&&a.autofocus===!0&&c()}),B(()=>{a.autofocus===!0&&c()}),Object.assign(P.proxy,{validate:d,resetValidation:v,submit:m,reset:b,focus:c,getValidationComponents:()=>s}),()=>R("form",{class:"q-form",ref:u,onSubmit:m,onReset:b},V(C.default))}});export{G as Q};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/QImg.91aecb73.js b/resources/[tools]/unlimited-spectre/html/assets/QImg.91aecb73.js
deleted file mode 100644
index 2f5d18597..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/QImg.91aecb73.js
+++ /dev/null
@@ -1 +0,0 @@
-import{q as d,b as R,k as o,d as j,f as I,x as l,ao as Q,A as $,bB as E}from"./app-014d9ed9.js";const F={ratio:[String,Number]};function H(e,a){return d(()=>{const r=Number(e.ratio||(a!==void 0?a.value:void 0));return isNaN(r)!==!0&&r>0?{paddingBottom:`${100/r}%`}:null})}const L=16/9,O=R({name:"QImg",props:{...F,src:String,srcset:String,sizes:String,alt:String,crossorigin:String,decoding:String,referrerpolicy:String,draggable:Boolean,loading:{type:String,default:"lazy"},fetchpriority:{type:String,default:"auto"},width:String,height:String,initialRatio:{type:[Number,String],default:L},placeholderSrc:String,fit:{type:String,default:"cover"},position:{type:String,default:"50% 50%"},imgClass:String,imgStyle:Object,noSpinner:Boolean,noNativeMenu:Boolean,noTransition:Boolean,spinnerColor:String,spinnerSize:String},emits:["load","error"],setup(e,{slots:a,emit:r}){const m=o(e.initialRatio),v=H(e,m);let t;const n=[o(null),o(e.placeholderSrc!==void 0?{src:e.placeholderSrc}:null)],s=o(0),c=o(!1),g=o(!1),_=d(()=>`q-img q-img--${e.noNativeMenu===!0?"no-":""}menu`),q=d(()=>({width:e.width,height:e.height})),C=d(()=>`q-img__image ${e.imgClass!==void 0?e.imgClass+" ":""}q-img__image--with${e.noTransition===!0?"out":""}-transition`),w=d(()=>({...e.imgStyle,objectFit:e.fit,objectPosition:e.position}));j(()=>h(),S);function h(){return e.src||e.srcset||e.sizes?{src:e.src,srcset:e.srcset,sizes:e.sizes}:null}function S(i){if(clearTimeout(t),g.value=!1,i===null){c.value=!1,n[0].value=null,n[1].value=null;return}c.value=!0,n[s.value].value=i}function T({target:i}){t!==null&&(clearTimeout(t),m.value=i.naturalHeight===0?.5:i.naturalWidth/i.naturalHeight,y(i,1))}function y(i,u){t===null||u===1e3||(i.complete===!0?z(i):t=setTimeout(()=>{y(i,u+1)},50))}function z(i){t!==null&&(s.value=s.value===1?0:1,n[s.value].value=null,c.value=!1,g.value=!1,r("load",i.currentSrc||i.src))}function B(i){clearTimeout(t),c.value=!1,g.value=!0,n[0].value=null,n[1].value=null,r("error",i)}function N(i,u){return l("div",{class:"q-img__container absolute-full",key:i},u)}function b(i){const u=n[i].value,f={key:"img_"+i,class:C.value,style:w.value,crossorigin:e.crossorigin,decoding:e.decoding,referrerpolicy:e.referrerpolicy,height:e.height,width:e.width,loading:e.loading,fetchpriority:e.fetchpriority,"aria-hidden":"true",draggable:e.draggable,...u};return s.value===i?(f.class+=" q-img__image--waiting",Object.assign(f,{onLoad:T,onError:B})):f.class+=" q-img__image--loaded",N("img"+i,l("img",f))}function k(){return c.value!==!0?l("div",{key:"content",class:"q-img__content absolute-full q-anchor--skip"},$(a[g.value===!0?"error":"default"])):l("div",{key:"loading",class:"q-img__loading absolute-full flex flex-center"},a.loading!==void 0?a.loading():e.noSpinner===!0?void 0:[l(E,{color:e.spinnerColor,size:e.spinnerSize})])}return S(h()),I(()=>{clearTimeout(t),t=null}),()=>{const i=[];return v.value!==null&&i.push(l("div",{key:"filler",style:v.value})),g.value!==!0&&(n[0].value!==null&&i.push(b(0)),n[1].value!==null&&i.push(b(1))),i.push(l(Q,{name:"q-transition--fade"},k)),l("div",{class:_.value,style:q.value,role:"img","aria-label":e.alt},i)}}});export{O as Q};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/QItemLabel.b6dd3adb.js b/resources/[tools]/unlimited-spectre/html/assets/QItemLabel.b6dd3adb.js
deleted file mode 100644
index 6ef353005..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/QItemLabel.b6dd3adb.js
+++ /dev/null
@@ -1 +0,0 @@
-import{b as v,q as i,x as c,A as q,F as L,a0 as I,H as E,a1 as Q,k as b,as as S,ap as A,D as K,h as R}from"./app-014d9ed9.js";function D(e,t,n){return n<=t?t:Math.min(n,Math.max(t,e))}function $(e,t,n){if(n<=t)return t;const l=n-t+1;let u=t+(e-t)%l;return u${e.data.newPw}
`},cancel:!0,persistent:!0})}).catch(e=>{})})}},mounted(){this.$axios.get(`/api/users/${this.$route.params.userId}`).then(e=>{const t=e.data.user,r=e.data.roles;if(!t||!r){this.$q.notify({message:e.data.msg,position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:"Error"});return}this.user=t,this.roles=r})}},R={class:"row"},U={class:"col-12"},O={class:"q-ma-sm row"},Q={class:"text-h6"},V={class:"text-primary"},M={class:"text-main"},N={class:"col-12"},T={class:"q-ma-sm row justify-end"};function W(e,t,r,A,s,l){return c(),$("div",R,[i("div",U,[i("div",O,[o(v,{class:"bg-secondary full-width row"},{default:a(()=>[o(h,{class:"col-12"},{default:a(()=>[i("div",Q,[g(d(e.$t("components.user.edit"))+": ",1),i("span",V,d(s.user.name),1)])]),_:1}),o(h,{class:"col-12 col-md-6"},{default:a(()=>[o(E,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",placeholder:"Unlimited.wtf",modelValue:s.user.fxname,"onUpdate:modelValue":t[0]||(t[0]=n=>s.user.fxname=n),label:e.$t("components.user.fxname")},null,8,["input-style","modelValue","label"]),o(I,{class:"q-mt-md",label:e.$t("components.user.role"),color:"primary","label-color":"primary",filled:"",modelValue:s.user.roleId,"onUpdate:modelValue":t[1]||(t[1]=n=>s.user.roleId=n),"emit-value":"","input-class":"text-main","input-debounce":"0",options:s.roles,"popup-content-class":"bg-secondary text-main"},{selected:a(()=>[i("div",M,d(s.user.roleId),1)]),option:a(n=>[o(_,x(S(n.itemProps)),{default:a(()=>[o(w,null,{default:a(()=>[o(q,{class:k(`text-${n.opt.color}`)},{default:a(()=>[g(d(n.opt.value),1)]),_:2},1032,["class"])]),_:2},1024)]),_:2},1040)]),_:1},8,["label","modelValue","options"])]),_:1}),o(h,{class:"col-12 col-md-6 text-center"},{default:a(()=>[l.can(s.ACTION.WEB.USER.MODIFY,s.RESOURCE.WEB)?(c(),p(m,{key:0,"text-color":"main",color:"primary",onClick:l.resetPassword,label:e.$t("components.user.resetPasswort"),class:"q-ma-sm"},null,8,["onClick","label"])):u("",!0)]),_:1})]),_:1})])]),i("div",N,[i("div",T,[o(m,{"text-color":"main",disable:s.pendingDelete||s.pendingSave,color:"primary",onClick:t[2]||(t[2]=n=>e.$router.push({name:"web-user-list"})),label:e.$t("general.back"),class:"q-mr-auto"},null,8,["disable","label"]),l.can(s.ACTION.WEB.USER.MODIFY,s.RESOURCE.WEB)?(c(),p(m,{key:0,"text-color":"main",loading:s.pendingSave,disable:s.pendingDelete,color:"primary",onClick:l.trySave,label:e.$t("general.save"),class:"q-mr-sm"},null,8,["loading","disable","onClick","label"])):u("",!0),l.can(s.ACTION.WEB.USER.DELETE,s.RESOURCE.WEB)?(c(),p(m,{key:1,"text-color":"main",loading:s.pendingDelete,disable:s.pendingSave,color:"negative",onClick:l.tryDelete,label:e.$t("general.delete")},null,8,["loading","disable","onClick","label"])):u("",!0)])])])}const Z=C(D,[["render",W]]);export{Z as default};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/UserCreate.b66e777a.js b/resources/[tools]/unlimited-spectre/html/assets/UserCreate.b66e777a.js
deleted file mode 100644
index ad0c14e83..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/UserCreate.b66e777a.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as c,o as f,X as g,a7 as a,a as l,w as t,a6 as y,ab as h,a5 as m,a9 as i,U as d,aP as w,aQ as b,T as v,W as C,S as V}from"./app-014d9ed9.js";import{a as q,Q,c as S}from"./QItemLabel.b6dd3adb.js";import{Q as $}from"./QSelect.d7ce3d4c.js";import{Q as P}from"./QForm.8d79ab03.js";import"./externalHosting.js";import"./position-engine.65ebcb34.js";import"./selection.2a17b691.js";import"./rtl.b51694b1.js";const x={name:"UserCreate",data(){return{pendingSave:!1,user:{name:"",roleId:"",password:"",fxname:""},isPwd:!0,passwordCon:"",roles:[]}},computed:{ConfirmPWD(){return[s=>!!s||this.$t("rules.required"),s=>s===this.user.password||this.$t("rules.passwordConfirm"),s=>s&&!/\s/.test(s)||this.$t("rules.noSpace")]}},methods:{trySave(){this.$refs.userForm.validate().then(s=>{if(!s){this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t("components.user.msg.error.missingFields",{name:this.user.name})});return}this.pendingSave=!0,this.$axios.post("/api/users/create",this.user).then(o=>{if(this.pendingSave=!1,!o.data.resCode){const n=o.data.resMsg;this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t(`components.user.msg.error.${n}`,{name:this.user.name})});return}this.$q.notify({message:this.$i18n.t("general.success"),position:"top",color:"green",icon:"fas fa-check",caption:this.$i18n.t("general.saved")}),this.$router.push({name:"web-user-list"})}).catch(o=>{})})}},mounted(){this.$axios.get("/api/roles/list").then(s=>{const o=s.data.roles;if(!o){this.$q.notify({message:s.data.msg,position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:"Error"});return}this.roles=Object.freeze(o)}).catch(s=>{console.error(s)})}},I={class:"row"},U={class:"col-12"},_={class:"q-ma-sm row"},k={class:"text-main"},z={class:"col-12"},B={class:"q-ma-sm row justify-end"};function F(s,o,p,n,r,u){return f(),g("div",I,[a("div",U,[a("div",_,[l(y,{class:"bg-secondary full-width"},{default:t(()=>[l(P,{ref:"userForm",class:"row"},{default:t(()=>[l(m,{class:"col-12 col-md-6"},{default:t(()=>[l(i,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",modelValue:r.user.name,"onUpdate:modelValue":o[0]||(o[0]=e=>r.user.name=e),label:s.$t("general.username"),"lazy-rules":"",rules:[e=>e&&e.length>0||s.$t("rules.required"),e=>e&&!/\s/.test(e)||s.$t("rules.noSpace")]},null,8,["input-style","modelValue","label","rules"]),l(i,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",placeholder:"Unlimited.wtf",modelValue:r.user.fxname,"onUpdate:modelValue":o[1]||(o[1]=e=>r.user.fxname=e),label:s.$t("components.user.fxname")},null,8,["input-style","modelValue","label"]),l($,{class:"q-mt-md",label:s.$t("components.user.role"),color:"primary","label-color":"primary",filled:"",modelValue:r.user.roleId,"onUpdate:modelValue":o[2]||(o[2]=e=>r.user.roleId=e),"emit-value":"","input-class":"text-main","input-debounce":"0",options:r.roles,"popup-content-class":"bg-secondary text-main"},{selected:t(()=>[a("div",k,d(r.user.roleId),1)]),option:t(e=>[l(q,w(b(e.itemProps)),{default:t(()=>[l(Q,null,{default:t(()=>[l(S,{class:v(`text-${e.opt.color}`)},{default:t(()=>[C(d(e.opt.value),1)]),_:2},1032,["class"])]),_:2},1024)]),_:2},1040)]),_:1},8,["label","modelValue","options"])]),_:1}),l(m,{class:"col-12 col-md-6"},{default:t(()=>[l(i,{"label-color":"primary","input-style":{color:"var(--q-main)"},label:s.$t("general.password"),modelValue:r.user.password,"onUpdate:modelValue":o[4]||(o[4]=e=>r.user.password=e),filled:"","lazy-rules":"",type:r.isPwd?"password":"text",rules:[e=>e&&e.length>0||s.$t("rules.required"),e=>e&&!/\s/.test(e)||s.$t("rules.noSpace")]},{append:t(()=>[l(V,{name:r.isPwd?"visibility_off":"visibility",class:"cursor-pointer text-primary",onClick:o[3]||(o[3]=e=>r.isPwd=!r.isPwd)},null,8,["name"])]),_:1},8,["input-style","label","modelValue","type","rules"]),l(i,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",modelValue:r.passwordCon,"onUpdate:modelValue":o[5]||(o[5]=e=>r.passwordCon=e),label:s.$t("general.confirmPassword"),"lazy-rules":"",type:r.isPwd?"password":"text",rules:u.ConfirmPWD},null,8,["input-style","modelValue","label","type","rules"])]),_:1})]),_:1},512)]),_:1})])]),a("div",z,[a("div",B,[l(h,{"text-color":"main",loading:r.pendingSave,color:"primary",onClick:u.trySave,label:s.$t("general.create"),class:"q-mr-sm"},null,8,["loading","onClick","label"])])])])}const O=c(x,[["render",F]]);export{O as default};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/UserList.e541b3ac.js b/resources/[tools]/unlimited-spectre/html/assets/UserList.e541b3ac.js
deleted file mode 100644
index 5f4e42dad..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/UserList.e541b3ac.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as f,P as w,R as y,bh as k,o as l,X as _,a as t,w as s,a6 as L,c as m,bi as $,r as v,a7 as n,U as p,ab as C,V as u,aE as E,a9 as S,S as g,W as b}from"./app-014d9ed9.js";import{Q as U,a as P,b as d}from"./QTable.d759a99d.js";import{d as Q}from"./utils.9ce591f3.js";import"./externalHosting.js";import"./QList.9d5bb77f.js";import"./QMarkupTable.ba6854cc.js";import"./QSelect.d7ce3d4c.js";import"./QItemLabel.b6dd3adb.js";import"./position-engine.65ebcb34.js";import"./selection.2a17b691.js";import"./rtl.b51694b1.js";const R={name:"UserList",data(){return{ACTION:w,RESOURCE:y,columns:[{name:"name",align:"left",label:this.$i18n.t("components.userList.headers.name"),field:e=>e.name,format:e=>`${e}`,sortable:!0},{name:"role",align:"left",label:this.$i18n.t("components.userList.headers.role"),field:e=>e.roleId,format:e=>`${e}`,sortable:!0},{name:"master",align:"center",label:this.$i18n.t("components.userList.headers.master"),field:e=>e.isMaster,format:e=>`${e}`,sortable:!0}],users:[],pagination:{sortBy:"desc",descending:!1,page:1,rowsPerPage:25},loading:!0}},methods:{can:Q,onRowClick(e){this.$router.push({name:"web-user-detail",params:{userId:e.name}})},getPaginationLabel(e,o,c){return this.$i18n.t("components.userList.paginationLabel",{from:e,to:o,total:c})},updatePagination(e){this.loading||(this.paginationSave=e,this.pagination=e)}},computed:{...k($,["searchFilter","paginationSave"])},mounted(){this.$route.name==="web-user-list"&&this.$axios.get("/api/users").then(e=>{this.users=e.data.users,this.loading=!1,this.pagination={...this.paginationSave}})}},B={key:0,class:"row q-pa-sm"},V={class:"row"},I={class:"col-12"},T={class:"q-mx-md q-my-sm row flex-center"},q={class:"text-caption text-sub"},N={class:"q-ml-auto"};function x(e,o,c,F,r,i){const h=v("router-view");return e.$route.name==="web-user-list"?(l(),_("div",B,[t(L,{class:"bg-secondary full-width"},{default:s(()=>[n("div",V,[n("div",I,[n("div",T,[n("div",q,p(e.$t("components.userList.subheader")),1),n("div",N,[i.can(r.ACTION.WEB.USER.CREATE,r.RESOURCE.WEB)?(l(),m(C,{key:0,"text-color":"main",color:"primary",onClick:o[0]||(o[0]=a=>e.$router.push({name:"web-user-create"})),label:e.$t("components.userList.createUser"),class:"q-ma-sm"},null,8,["label"])):u("",!0)])]),t(E),t(U,{color:"primary","card-class":"bg-secondary text-main","table-class":"text-main","table-header-class":"text-primary",flat:"",rows:r.users,columns:r.columns,"row-key":"name",pagination:r.pagination,"rows-per-page-options":[0,25,50,100],"no-results-label":e.$t("components.userList.noData"),"loading-label":e.$t("components.userList.loadData"),loading:r.loading,filter:e.searchFilter,"pagination-label":i.getPaginationLabel,"rows-per-page-label":`${e.$t("components.userList.recordsPerPage")}:`,"onUpdate:pagination":i.updatePagination},{"top-right":s(()=>[t(S,{"input-style":{color:"var(--q-main)"},borderless:"",dense:"",debounce:"300",modelValue:e.searchFilter,"onUpdate:modelValue":o[1]||(o[1]=a=>e.searchFilter=a),placeholder:e.$t("general.search")},{append:s(()=>[t(g,{class:"text-main",name:"search"})]),_:1},8,["input-style","modelValue","placeholder"])]),body:s(a=>[t(P,{props:a,onClick:O=>i.onRowClick(a.row),class:"cursor-pointer"},{default:s(()=>[t(d,{key:"name",props:a},{default:s(()=>[b(p(a.row.name),1)]),_:2},1032,["props"]),t(d,{key:"role",props:a},{default:s(()=>[b(p(a.row.roleId),1)]),_:2},1032,["props"]),t(d,{key:"master",props:a},{default:s(()=>[a.row.isMaster?(l(),m(g,{key:0,name:"fa fa-crown",color:"amber"})):u("",!0)]),_:2},1032,["props"])]),_:2},1032,["props","onClick"])]),_:1},8,["rows","columns","pagination","no-results-label","loading-label","loading","filter","pagination-label","rows-per-page-label","onUpdate:pagination"])])])]),_:1})])):(l(),m(h,{key:1}))}const Y=f(R,[["render",x]]);export{Y as default};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/Vehicle.14c8f95c.js b/resources/[tools]/unlimited-spectre/html/assets/Vehicle.14c8f95c.js
deleted file mode 100644
index 843aea195..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/Vehicle.14c8f95c.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as E,R as D,P as N,o as m,X as f,a7 as a,a as t,w as n,a6 as b,ab as u,c as y,V as q,a5 as p,W as C,U as h,a9 as r,Y as S,Z as w}from"./app-014d9ed9.js";import{Q as V}from"./QForm.8d79ab03.js";import{Q as U}from"./QSelect.d7ce3d4c.js";import{Q}from"./QTooltip.9d840032.js";import{Q as I}from"./QMarkupTable.ba6854cc.js";import{d as O}from"./utils.9ce591f3.js";import{B as $}from"./BasicDialog.9dd9de92.js";import"./externalHosting.js";import"./QItemLabel.b6dd3adb.js";import"./position-engine.65ebcb34.js";import"./selection.2a17b691.js";import"./rtl.b51694b1.js";const B={name:"Vehicle",data(){return{RESOURCE:D,ACTION:N,defaults:["name","brand","model","price","category","categorylabel","hash","shop"],vehicle:{},customVars:[],pendingSave:!1,pendingDelete:!1}},methods:{can:O,isNumeric(e){return typeof e!="string"?!1:!isNaN(e)&&!isNaN(parseFloat(e))},isBoolean(e){return e==="true"||(e==="false"?!1:e)},addCustomVar(){this.customVars.push({name:"",value:""})},removeVar(e,l){e>-1&&this.$q.dialog({component:$,componentProps:{title:this.$i18n.t("components.devVehicle.deleteHeader"),message:this.$i18n.t("components.devVehicle.deleteCustomVarMsg",{name:l.name})},cancel:!0,persistent:!0}).onOk(()=>{delete this.vehicle[l.oldName],this.customVars.splice(e,1)})},trySave(){this.$refs.customVarForm.validate().then(e=>{if(!e){this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t("components.devVehicle.msg.error.uniqueVars")});return}this.customVars.forEach(l=>{!l.name||(l.oldName=l.name,this.vehicle[l.name]=this.isNumeric(l.value)?Number(l.value):this.isBoolean(l.value))}),this.pendingSave=!0,this.$axios.patch(`/api/dev-vehicles/save/${this.$route.params.vehicleId}`,this.vehicle).then(l=>{if(this.pendingSave=!1,!l.data.resCode){const v=l.data.resMsg;this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t(`components.devVehicle.msg.error.${v}`,{name:this.job.name})});return}this.$q.notify({message:this.$i18n.t("general.success"),position:"top",color:"green",icon:"fas fa-check",caption:this.$i18n.t("general.saved")})}).catch(l=>{console.error(l)})})},tryDelete(){this.pendingDelete=!0,this.$q.dialog({component:$,componentProps:{title:this.$i18n.t("components.devVehicle.deleteHeader"),message:this.$i18n.t("components.devVehicle.deleteMsg",{model:this.vehicle.model})},cancel:!0,persistent:!0}).onOk(()=>{this.$axios.delete(`/api/dev-vehicles/delete/${this.$route.params.vehicleId}`).then(e=>{if(this.pendingDelete=!1,!e.data.resCode){const c=e.data.resMsg;this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t(`components.devVehicle.msg.error.${c}`)});return}this.$q.notify({message:this.$i18n.t("general.success"),position:"top",color:"green",icon:"fas fa-check",caption:this.$i18n.t("general.deleted")}),this.$router.push({name:"dev-vehicle-list"})}).catch(e=>{})}).onCancel(()=>{this.pendingDelete=!1})}},mounted(){this.$axios.get(`/api/dev-vehicles/${this.$route.params.vehicleId}`).then(e=>{const l=e.data.vehicle;if(!l){this.$q.notify({message:e.data.msg,position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:"Error"});return}this.vehicle=l,this.vehicle.shop=Array.isArray(l.shop)?l.shop:[l.shop];for(const[c,v]of Object.entries(l))this.defaults.includes(c.toLowerCase())||this.customVars.push({name:c,value:v,oldName:c})}).catch(e=>{console.error(e)})}},L={class:"row"},M={class:"col-12"},_={class:"q-ma-sm row"},R={class:"text-h6"},T={class:"text-primary"},F={class:"col-12"},A={class:"q-ma-sm row"},x={class:"row"},H={class:"text-h6"},j={class:"text-caption text-sub"},P={class:"q-ml-auto"},z={style:{width:"30px"},class:"text-right vertical-middle"},Y={class:"col-12"},W={class:"q-ma-sm row justify-end"};function X(e,l,c,v,o,d){return m(),f("div",L,[a("div",M,[a("div",_,[t(b,{class:"bg-secondary full-width row"},{default:n(()=>[t(p,{class:"col-12"},{default:n(()=>[a("div",R,[C(h(e.$t("components.devVehicle.edit"))+": ",1),a("span",T,h(o.vehicle.model),1)])]),_:1}),t(p,{class:"col-12 col-md-6"},{default:n(()=>[t(V,{ref:"vehDefaults"},{default:n(()=>[t(r,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",disable:"",modelValue:o.vehicle.model,"onUpdate:modelValue":l[0]||(l[0]=s=>o.vehicle.model=s),label:e.$t("components.devVehicle.model")},null,8,["input-style","modelValue","label"]),t(r,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",disable:"",class:"q-mt-md",modelValue:o.vehicle.model,"onUpdate:modelValue":l[1]||(l[1]=s=>o.vehicle.model=s),label:e.$t("components.devVehicle.hash")},null,8,["input-style","modelValue","label"]),t(r,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",class:"q-mt-md",modelValue:o.vehicle.name,"onUpdate:modelValue":l[2]||(l[2]=s=>o.vehicle.name=s),label:e.$t("components.devVehicle.name")},null,8,["input-style","modelValue","label"]),t(r,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",class:"q-mt-md",modelValue:o.vehicle.brand,"onUpdate:modelValue":l[3]||(l[3]=s=>o.vehicle.brand=s),label:e.$t("components.devVehicle.brand")},null,8,["input-style","modelValue","label"])]),_:1},512)]),_:1}),t(p,{class:"col-12 col-md-6"},{default:n(()=>[t(V,{ref:"vehShop"},{default:n(()=>[t(r,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",modelValue:o.vehicle.category,"onUpdate:modelValue":l[4]||(l[4]=s=>o.vehicle.category=s),label:e.$t("components.devVehicle.category")},null,8,["input-style","modelValue","label"]),t(r,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",class:"q-mt-md",modelValue:o.vehicle.categoryLabel,"onUpdate:modelValue":l[5]||(l[5]=s=>o.vehicle.categoryLabel=s),label:e.$t("components.devVehicle.categoryLabel")},null,8,["input-style","modelValue","label"]),t(r,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",class:"q-mt-md",modelValue:o.vehicle.price,"onUpdate:modelValue":l[6]||(l[6]=s=>o.vehicle.price=s),modelModifiers:{number:!0},type:"number",label:e.$t("components.devVehicle.price")},null,8,["input-style","modelValue","label"]),t(U,{ref:"accept",label:e.$t("components.devVehicle.shop"),color:"primary","label-color":"primary",filled:"",multiple:"",modelValue:o.vehicle.shop,"onUpdate:modelValue":l[7]||(l[7]=s=>o.vehicle.shop=s),"popup-content-class":"bg-secondary text-main","use-input":"","use-chips":"","hide-dropdown-icon":"","input-debounce":"0","new-value-mode":"add-unique","input-class":"text-main",class:"q-mt-md"},null,8,["label","modelValue"])]),_:1},512)]),_:1})]),_:1})])]),a("div",F,[a("div",A,[t(b,{class:"bg-secondary full-width row"},{default:n(()=>[t(p,{class:"col-12"},{default:n(()=>[a("div",x,[a("div",null,[a("div",H,h(e.$t("components.devVehicle.customVariables")),1),a("div",j,h(e.$t("components.devVehicle.customVarSub")),1)]),a("div",P,[t(u,{"text-color":"main",color:"primary",label:e.$t("components.devVehicle.addCustomVar"),onClick:d.addCustomVar},null,8,["label","onClick"])])])]),_:1}),t(p,{class:"col-12"},{default:n(()=>[t(V,{ref:"customVarForm"},{default:n(()=>[t(I,{class:"bg-secondary text-main",flat:"",square:"",separator:"none"},{default:n(()=>[a("tbody",null,[(m(!0),f(S,null,w(o.customVars,(s,g)=>(m(),f("tr",{key:`${g}-customVar`},[a("td",null,[t(r,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",modelValue:s.name,"onUpdate:modelValue":i=>s.name=i,label:e.$t("components.devVehicle.customVarName"),"lazy-rules":"",rules:[i=>i&&i.length>0||e.$t("rules.required"),i=>i&&!/\s/.test(i)||e.$t("rules.noSpace"),i=>i&&o.customVars.filter(k=>k.name===i).length<=1||e.$t("rules.unique"),i=>i&&!o.defaults.includes(i.toLowerCase())||e.$t("rules.defaults")]},null,8,["input-style","modelValue","onUpdate:modelValue","label","rules"])]),a("td",null,[t(r,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",class:"q-field--with-bottom",modelValue:s.value,"onUpdate:modelValue":i=>s.value=i,label:e.$t("components.devVehicle.customVarValue")},null,8,["input-style","modelValue","onUpdate:modelValue","label"])]),a("td",z,[t(u,{"text-color":"main",class:"text-red-6",dense:"",flat:"",icon:"fas fa-trash",size:"xs",onClick:i=>d.removeVar(g,s)},{default:n(()=>[t(Q,null,{default:n(()=>[C(h(e.$t("general.delete")),1)]),_:1})]),_:2},1032,["onClick"])])]))),128))])]),_:1})]),_:1},512)]),_:1})]),_:1})])]),a("div",Y,[a("div",W,[t(u,{"text-color":"main",disable:o.pendingDelete||o.pendingSave,color:"primary",onClick:l[8]||(l[8]=s=>e.$router.push({name:"dev-vehicle-list"})),label:e.$t("general.back"),class:"q-mr-auto"},null,8,["disable","label"]),d.can(o.ACTION.DEV.VEHICLE.MODIFY,o.RESOURCE.DEV)?(m(),y(u,{key:0,"text-color":"main",loading:o.pendingSave,disable:o.pendingDelete,color:"primary",onClick:d.trySave,label:e.$t("general.save"),class:"q-mr-sm"},null,8,["loading","disable","onClick","label"])):q("",!0),d.can(o.ACTION.DEV.VEHICLE.DELETE,o.RESOURCE.DEV)?(m(),y(u,{key:1,"text-color":"main",loading:o.pendingDelete,disable:o.pendingSave,color:"negative",onClick:d.tryDelete,label:e.$t("general.delete")},null,8,["loading","disable","onClick","label"])):q("",!0)])])])}const re=E(B,[["render",X]]);export{re as default};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/Vehicle.2c374c7e.js b/resources/[tools]/unlimited-spectre/html/assets/Vehicle.2c374c7e.js
deleted file mode 100644
index a2d56200f..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/Vehicle.2c374c7e.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as k,P as V,R as A,o as r,X as c,a7 as t,a as i,w as m,a6 as f,ab as d,a5 as v,c as g,V as y,U as o,Y as p,a9 as u}from"./app-014d9ed9.js";import{Q as E}from"./QMarkupTable.ba6854cc.js";import{Q as M}from"./QForm.8d79ab03.js";import{d as O}from"./utils.9ce591f3.js";import{B as C}from"./BasicDialog.9dd9de92.js";import{B as q}from"./BasicInput.94e22095.js";import"./externalHosting.js";const x={name:"Vehicle",data(){return{ACTION:V,RESOURCE:A,vehicle:{},oldPlate:null}},methods:{can:O,async loadVehicle(){await this.$axios.get(`/api/vehicles/${this.$route.params.vehicleId}`).then(l=>{const s=l.data.vehicle;if(!l.data.resCode){this.$q.notify({message:"Error",position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t("components.vehicle.msg.error.noMatch")}),this.$router.push({name:"game-vehicle-list"});return}this.vehicle=s,this.oldPlate=s.plate})},updatePlate(){this.$refs.plate.validate().then(l=>{if(!l){this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t("components.gang.msg.error.allowedCharsNumbers")});return}this.$axios.post("/api/vehicles/changePlate",{id:this.vehicle.id,plate:this.oldPlate,newPlate:this.vehicle.plate}).then(s=>{if(!s.data.resCode){const b=s.data.resMsg;this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t(`components.vehicle.msg.error.${b}`)});return}this.$q.notify({message:this.$i18n.t("general.success"),position:"top",color:"green",icon:"fas fa-check",caption:this.$i18n.t("general.saved")}),this.loadVehicle()}).catch(s=>{})})},updateField(l){this.$axios.post("/api/vehicles/updateField",{id:this.vehicle.id,value:this.vehicle[l],field:l,plate:this.vehicle.plate}).then(s=>{if(!s.data.resCode){const b=s.data.resMsg;this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t(`components.vehicle.msg.error.${b}`)});return}this.$q.notify({message:this.$i18n.t("general.success"),position:"top",color:"green",icon:"fas fa-check",caption:this.$i18n.t("general.saved")}),this.loadVehicle()}).catch(s=>{})},changeOwner(){this.$q.dialog({component:q,componentProps:{title:this.$i18n.t("components.vehicle.changeOwnerHeader"),message:this.$i18n.t("components.vehicle.changeOwnerInput")},cancel:!0,persistent:!0}).onOk(l=>{const s=l.input;if(!s){this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t("components.vehicle.msg.error.missingData")});return}this.$axios.post("/api/vehicles/changeOwner",{id:this.vehicle.id,citizenid:s}).then(h=>{if(!h.data.resCode){const e=h.data.resMsg;this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t(`components.vehicle.msg.error.${e}`)});return}this.$q.notify({message:this.$i18n.t("general.success"),position:"top",color:"green",icon:"fas fa-check",caption:this.$i18n.t("general.saved")}),this.loadVehicle()}).catch(h=>{})})},repairVehicle(){this.$axios.post("/api/vehicles/repair",{id:this.vehicle.id,plate:this.vehicle.plate}).then(l=>{if(!l.data.resCode){const h=l.data.resMsg;this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t(`components.vehicle.msg.error.${h}`)});return}this.$q.notify({message:this.$i18n.t("general.success"),position:"top",color:"green",icon:"fas fa-check",caption:this.$i18n.t("general.saved")}),this.loadVehicle()}).catch(l=>{})},despawnehicle(){this.$q.dialog({component:C,componentProps:{title:this.$i18n.t("components.vehicle.despawnHeader"),message:this.$i18n.t("components.vehicle.despawnMsg")},cancel:!0,persistent:!0}).onOk(()=>{this.$axios.post("/api/vehicles/despawn",{id:this.vehicle.id,plate:this.vehicle.plate}).then(l=>{if(!l.data.resCode){const h=l.data.resMsg;this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t(`components.vehicle.msg.error.${h}`)});return}this.$q.notify({message:this.$i18n.t("general.success"),position:"top",color:"green",icon:"fas fa-check",caption:this.$i18n.t("general.deleted")})}).catch(l=>{})})},deleteVehicle(){this.$q.dialog({component:C,componentProps:{title:this.$i18n.t("components.vehicle.deleteHeader"),message:this.$i18n.t("components.vehicle.deleteMsg")},cancel:!0,persistent:!0}).onOk(()=>{this.$axios.post("/api/vehicles/delete",{id:this.vehicle.id,plate:this.vehicle.plate}).then(l=>{if(!l.data.resCode){const h=l.data.resMsg;this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t(`components.vehicle.msg.error.${h}`)});return}this.$q.notify({message:this.$i18n.t("general.success"),position:"top",color:"green",icon:"fas fa-check",caption:this.$i18n.t("general.deleted")}),this.$router.push({name:"game-vehicle-list"})}).catch(l=>{})})}},mounted(){this.loadVehicle()}},I={class:"row"},R={class:"col-12 q-pa-sm"},w={class:"row"},G={class:"row"},U={class:"col-12 col-md-6 q-pa-sm"},_={class:"text-h6"},S={class:"text-main"},$={key:0},F={class:"text-left"},N={class:"text-left"},T={class:"text-left"},D={key:1,class:"text-left"},H={class:"text-left"},L={class:"text-left"},Y={class:"text-h6"},P={class:"text-main"},B={class:"text-left"},z={style:{"min-width":"250px"}},Q={key:1},j={class:"text-left"},W={style:{"min-width":"250px"}},X={key:1},Z={class:"text-left"},J={style:{"min-width":"250px"}},K={key:1},ee={class:"text-left"},le={style:{"min-width":"250px"}},te={key:1},se={class:"text-left"},ne={style:{"min-width":"250px"}},ie={key:1},oe={class:"col-12 col-md-6 q-pa-sm"},ae={class:"text-h6"},re={class:"text-main"},ce={class:"text-left"},de={class:"text-left"},me={class:"text-left"},he={style:{"min-width":"250px"}},pe={key:1},ue={class:"text-left"},ve={class:"text-left"},ye={class:"text-left"},ge={style:{"min-width":"250px"}},be={key:1},fe={class:"text-left"},Ee={style:{"min-width":"250px"}},Ce={key:1},ke={class:"text-left"},Ve={style:{"min-width":"250px"}},Ae={key:1},Me={class:"text-left"},Oe={style:{"min-width":"250px"}},qe={key:1},xe={class:"text-left"},Ie={style:{"min-width":"250px"}},Re={key:1},we={class:"text-left"},Ge={style:{"min-width":"250px"}},Ue={key:1},_e={class:"col-12"},Se={class:"q-ma-sm row justify-end"};function $e(l,s,h,b,e,a){return r(),c("div",I,[t("div",R,[t("div",w,[i(f,{class:"bg-secondary row",style:{width:"100%"}},{default:m(()=>[i(v,{class:"q-pa-none"},{default:m(()=>[t("div",G,[a.can(e.ACTION.GAME.STASHES.READ,e.RESOURCE.GAME)?(r(),g(d,{key:0,"text-color":"main",class:"q-ma-md",color:"primary",label:l.$t("components.vehicle.buttons.openTrunk"),onClick:s[0]||(s[0]=n=>l.$router.push({name:"game-stashes-detail",params:{stashId:e.vehicle.plate},query:{type:"Trunk"}}))},null,8,["label"])):y("",!0),a.can(e.ACTION.GAME.STASHES.READ,e.RESOURCE.GAME)?(r(),g(d,{key:1,"text-color":"main",class:"q-ma-md",color:"primary",label:l.$t("components.vehicle.buttons.openGlovebox"),onClick:s[1]||(s[1]=n=>l.$router.push({name:"game-stashes-detail",params:{stashId:e.vehicle.plate},query:{type:"Glovebox"}}))},null,8,["label"])):y("",!0),a.can(e.ACTION.GAME.VEHICLE.MODIFY,e.RESOURCE.GAME)?(r(),g(d,{key:2,"text-color":"main",class:"q-ma-md",color:"primary",label:l.$t("components.vehicle.buttons.changeOwner"),onClick:a.changeOwner},null,8,["label","onClick"])):y("",!0),a.can(e.ACTION.GAME.VEHICLE.DESPAWN,e.RESOURCE.GAME)?(r(),g(d,{key:3,"text-color":"main",class:"q-ma-md",color:"primary",label:l.$t("components.vehicle.buttons.despawnVehicle"),onClick:a.despawnehicle},null,8,["label","onClick"])):y("",!0),a.can(e.ACTION.GAME.VEHICLE.REPAIR,e.RESOURCE.GAME)?(r(),g(d,{key:4,"text-color":"main",class:"q-ma-md",color:"primary",label:l.$t("components.vehicle.buttons.repairVehicle"),onClick:a.repairVehicle},null,8,["label","onClick"])):y("",!0),a.can(e.ACTION.GAME.VEHICLE.DELETE,e.RESOURCE.GAME)?(r(),g(d,{key:5,"text-color":"main",class:"q-ma-md",color:"primary",label:l.$t("components.vehicle.buttons.deleteVehicle"),onClick:a.deleteVehicle},null,8,["label","onClick"])):y("",!0)])]),_:1})]),_:1})])]),t("div",U,[i(f,{class:"bg-secondary col-12 col-md-6",style:{height:"100%"}},{default:m(()=>[i(v,{class:"col-12"},{default:m(()=>[t("div",_,[t("span",S,o(l.$t("components.vehicle.header.owner")),1)])]),_:1}),i(v,{class:"col-12"},{default:m(()=>[i(E,{class:"bg-secondary text-main",flat:"",square:"",separator:"none"},{default:m(()=>[e.vehicle.ownerName?(r(),c("tr",$,[t("td",F,o(l.$t("components.vehicle.labels.owner")),1),t("td",N,o(e.vehicle.ownerName),1)])):y("",!0),t("tr",null,[t("td",T,o(l.$t("components.vehicle.labels.citizenid")),1),a.can(e.ACTION.GAME.PLAYER.READ,e.RESOURCE.GAME)?(r(),c("td",{key:0,class:"text-left cursor-pointer text-primary",style:{"text-decoration":"underline"},onClick:s[2]||(s[2]=n=>l.$router.push({name:"game-player-detail",params:{citizenid:e.vehicle.citizenid}}))},o(e.vehicle.citizenid),1)):(r(),c("td",D,o(e.vehicle.citizenid),1))]),t("tr",null,[t("td",H,o(l.$t("components.vehicle.labels.license")),1),t("td",L,o(e.vehicle.license),1)])]),_:1})]),_:1}),i(v,{class:"col-12"},{default:m(()=>[t("div",Y,[t("span",P,o(l.$t("components.vehicle.header.payment")),1)])]),_:1}),i(v,{class:"col-12"},{default:m(()=>[i(E,{class:"bg-secondary text-main",flat:"",square:"",separator:"none"},{default:m(()=>[t("tr",null,[t("td",B,o(l.$t("components.vehicle.labels.depotprice")),1),a.can(e.ACTION.GAME.VEHICLE.MODIFY,e.RESOURCE.GAME)?(r(),c(p,{key:0},[t("td",z,[i(u,{dense:"","label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",type:"number",modelValue:e.vehicle.depotprice,"onUpdate:modelValue":s[3]||(s[3]=n=>e.vehicle.depotprice=n),label:l.$t("components.vehicle.labels.depotprice")},null,8,["input-style","modelValue","label"])]),t("td",null,[i(d,{"text-color":"main",class:"q-ml-md",color:"primary",style:{"max-height":"24px"},filled:"",onClick:s[4]||(s[4]=n=>a.updateField("depotprice")),label:l.$t("general.save")},null,8,["label"])])],64)):(r(),c("td",Q,o(e.vehicle.depotprice),1))]),t("tr",null,[t("td",j,o(l.$t("components.vehicle.labels.balance")),1),a.can(e.ACTION.GAME.VEHICLE.MODIFY,e.RESOURCE.GAME)?(r(),c(p,{key:0},[t("td",W,[i(u,{dense:"","label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",type:"number",modelValue:e.vehicle.balance,"onUpdate:modelValue":s[5]||(s[5]=n=>e.vehicle.balance=n),label:l.$t("components.vehicle.labels.balance")},null,8,["input-style","modelValue","label"])]),t("td",null,[i(d,{"text-color":"main",class:"q-ml-md",color:"primary",style:{"max-height":"24px"},filled:"",onClick:s[6]||(s[6]=n=>a.updateField("balance")),label:l.$t("general.save")},null,8,["label"])])],64)):(r(),c("td",X,o(e.vehicle.balance),1))]),t("tr",null,[t("td",Z,o(l.$t("components.vehicle.labels.paymentamount")),1),a.can(e.ACTION.GAME.VEHICLE.MODIFY,e.RESOURCE.GAME)?(r(),c(p,{key:0},[t("td",J,[i(u,{dense:"","label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",type:"number",modelValue:e.vehicle.paymentamount,"onUpdate:modelValue":s[7]||(s[7]=n=>e.vehicle.paymentamount=n),label:l.$t("components.vehicle.labels.paymentamount")},null,8,["input-style","modelValue","label"])]),t("td",null,[i(d,{"text-color":"main",class:"q-ml-md",color:"primary",style:{"max-height":"24px"},onClick:s[8]||(s[8]=n=>a.updateField("paymentamount")),label:l.$t("general.save")},null,8,["label"])])],64)):(r(),c("td",K,o(e.vehicle.paymentamount),1))]),t("tr",null,[t("td",ee,o(l.$t("components.vehicle.labels.paymentsleft")),1),a.can(e.ACTION.GAME.VEHICLE.MODIFY,e.RESOURCE.GAME)?(r(),c(p,{key:0},[t("td",le,[i(u,{dense:"","label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",type:"number",modelValue:e.vehicle.paymentsleft,"onUpdate:modelValue":s[9]||(s[9]=n=>e.vehicle.paymentsleft=n),label:l.$t("components.vehicle.labels.paymentsleft")},null,8,["input-style","modelValue","label"])]),t("td",null,[i(d,{"text-color":"main",class:"q-ml-md",color:"primary",style:{"max-height":"24px"},onClick:s[10]||(s[10]=n=>a.updateField("paymentsleft")),label:l.$t("general.save")},null,8,["label"])])],64)):(r(),c("td",te,o(e.vehicle.paymentsleft),1))]),t("tr",null,[t("td",se,o(l.$t("components.vehicle.labels.financetime")),1),a.can(e.ACTION.GAME.VEHICLE.MODIFY,e.RESOURCE.GAME)?(r(),c(p,{key:0},[t("td",ne,[i(u,{dense:"","label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",type:"number",modelValue:e.vehicle.financetime,"onUpdate:modelValue":s[11]||(s[11]=n=>e.vehicle.financetime=n),label:l.$t("components.vehicle.labels.financetime")},null,8,["input-style","modelValue","label"])]),t("td",null,[i(d,{"text-color":"main",class:"q-ml-md",color:"primary",style:{"max-height":"24px"},onClick:s[12]||(s[12]=n=>a.updateField("financetime")),label:l.$t("general.save")},null,8,["label"])])],64)):(r(),c("td",ie,o(e.vehicle.financetime),1))])]),_:1})]),_:1})]),_:1})]),t("div",oe,[i(f,{class:"bg-secondary col-12 col-md-6",style:{height:"100%"}},{default:m(()=>[i(v,{class:"col-12"},{default:m(()=>[t("div",ae,[t("span",re,o(l.$t("components.vehicle.header.car")),1)])]),_:1}),i(v,{class:"col-12"},{default:m(()=>[i(E,{class:"bg-secondary text-main",flat:"",square:"",separator:"none"},{default:m(()=>[t("tr",null,[t("td",ce,o(l.$t("components.vehicle.labels.model")),1),t("td",de,o(e.vehicle.vehicle),1)]),t("tr",null,[t("td",me,o(l.$t("components.vehicle.labels.plate")),1),a.can(e.ACTION.GAME.VEHICLE.MODIFY,e.RESOURCE.GAME)?(r(),c(p,{key:0},[t("td",he,[i(M,{ref:"plate"},{default:m(()=>[i(u,{dense:"","label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",maxlength:"8",modelValue:e.vehicle.plate,"onUpdate:modelValue":s[13]||(s[13]=n=>e.vehicle.plate=n),label:l.$t("components.vehicle.labels.plate"),"lazy-rules":"",rules:[n=>n&&/^[a-zA-Z0-9 ]+$/.test(n)||l.$t("rules.onlyCharsNumbers")]},null,8,["input-style","modelValue","label","rules"])]),_:1},512)]),t("td",null,[i(d,{"text-color":"main",class:"q-ml-md",color:"primary",style:{"max-height":"24px"},onClick:s[14]||(s[14]=n=>a.updatePlate()),label:l.$t("general.save")},null,8,["label"])])],64)):(r(),c("td",pe,o(e.vehicle.plate),1))]),t("tr",null,[t("td",ue,o(l.$t("components.vehicle.labels.fakeplate")),1),t("td",ve,o(e.vehicle.fakeplate),1)]),t("tr",null,[t("td",ye,o(l.$t("components.vehicle.labels.drivingdistance")),1),a.can(e.ACTION.GAME.VEHICLE.MODIFY,e.RESOURCE.GAME)?(r(),c(p,{key:0},[t("td",ge,[i(u,{dense:"","label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",type:"number",modelValue:e.vehicle.drivingdistance,"onUpdate:modelValue":s[15]||(s[15]=n=>e.vehicle.drivingdistance=n),label:l.$t("components.vehicle.labels.drivingdistance")},null,8,["input-style","modelValue","label"])]),t("td",null,[i(d,{"text-color":"main",class:"q-ml-md",color:"primary",style:{"max-height":"24px"},onClick:s[16]||(s[16]=n=>a.updateField("drivingdistance")),label:l.$t("general.save")},null,8,["label"])])],64)):(r(),c("td",be,o(e.vehicle.drivingdistance),1))]),t("tr",null,[t("td",fe,o(l.$t("components.vehicle.labels.garage")),1),a.can(e.ACTION.GAME.VEHICLE.MODIFY,e.RESOURCE.GAME)?(r(),c(p,{key:0},[t("td",Ee,[i(u,{dense:"","label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",modelValue:e.vehicle.garage,"onUpdate:modelValue":s[17]||(s[17]=n=>e.vehicle.garage=n),label:l.$t("components.vehicle.labels.garage")},null,8,["input-style","modelValue","label"])]),t("td",null,[i(d,{"text-color":"main",class:"q-ml-md",color:"primary",style:{"max-height":"24px"},onClick:s[18]||(s[18]=n=>a.updateField("garage")),label:l.$t("general.save")},null,8,["label"])])],64)):(r(),c("td",Ce,o(e.vehicle.garage),1))]),t("tr",null,[t("td",ke,o(l.$t("components.vehicle.labels.state")),1),a.can(e.ACTION.GAME.VEHICLE.MODIFY,e.RESOURCE.GAME)?(r(),c(p,{key:0},[t("td",Ve,[i(u,{dense:"","label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",type:"number",modelValue:e.vehicle.state,"onUpdate:modelValue":s[19]||(s[19]=n=>e.vehicle.state=n),label:l.$t("components.vehicle.labels.state")},null,8,["input-style","modelValue","label"])]),t("td",null,[i(d,{"text-color":"main",class:"q-ml-md",color:"primary",style:{"max-height":"24px"},onClick:s[20]||(s[20]=n=>a.updateField("state")),label:l.$t("general.save")},null,8,["label"])])],64)):(r(),c("td",Ae,o(e.vehicle.state),1))]),t("tr",null,[t("td",Me,o(l.$t("components.vehicle.labels.fuel")),1),a.can(e.ACTION.GAME.VEHICLE.MODIFY,e.RESOURCE.GAME)?(r(),c(p,{key:0},[t("td",Oe,[i(u,{dense:"","label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",type:"number",modelValue:e.vehicle.fuel,"onUpdate:modelValue":s[21]||(s[21]=n=>e.vehicle.fuel=n),label:l.$t("components.vehicle.labels.fuel")},null,8,["input-style","modelValue","label"])]),t("td",null,[i(d,{"text-color":"main",class:"q-ml-md",color:"primary",style:{"max-height":"24px"},onClick:s[22]||(s[22]=n=>a.updateField("fuel")),label:l.$t("general.save")},null,8,["label"])])],64)):(r(),c("td",qe,o(e.vehicle.fuel),1))]),t("tr",null,[t("td",xe,o(l.$t("components.vehicle.labels.engine")),1),a.can(e.ACTION.GAME.VEHICLE.MODIFY,e.RESOURCE.GAME)?(r(),c(p,{key:0},[t("td",Ie,[i(u,{dense:"","label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",type:"number",modelValue:e.vehicle.engine,"onUpdate:modelValue":s[23]||(s[23]=n=>e.vehicle.engine=n),label:l.$t("components.vehicle.labels.engine")},null,8,["input-style","modelValue","label"])]),t("td",null,[i(d,{"text-color":"main",class:"q-ml-md",color:"primary",style:{"max-height":"24px"},onClick:s[24]||(s[24]=n=>a.updateField("engine")),label:l.$t("general.save")},null,8,["label"])])],64)):(r(),c("td",Re,o(e.vehicle.engine),1))]),t("tr",null,[t("td",we,o(l.$t("components.vehicle.labels.body")),1),a.can(e.ACTION.GAME.VEHICLE.MODIFY,e.RESOURCE.GAME)?(r(),c(p,{key:0},[t("td",Ge,[i(u,{dense:"","label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",type:"number",modelValue:e.vehicle.body,"onUpdate:modelValue":s[25]||(s[25]=n=>e.vehicle.body=n),label:l.$t("components.vehicle.labels.body")},null,8,["input-style","modelValue","label"])]),t("td",null,[i(d,{"text-color":"main",class:"q-ml-md",color:"primary",style:{"max-height":"24px"},onClick:s[26]||(s[26]=n=>a.updateField("body")),label:l.$t("general.save")},null,8,["label"])])],64)):(r(),c("td",Ue,o(e.vehicle.body),1))])]),_:1})]),_:1})]),_:1})]),t("div",_e,[t("div",Se,[i(d,{"text-color":"main",color:"primary",onClick:s[27]||(s[27]=n=>l.$router.push({name:"game-vehicle-list"})),label:l.$t("general.back"),class:"q-mr-auto"},null,8,["label"])])])])}const Pe=k(x,[["render",$e]]);export{Pe as default};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/VehicleCreate.6dc6c35d.js b/resources/[tools]/unlimited-spectre/html/assets/VehicleCreate.6dc6c35d.js
deleted file mode 100644
index d184a694c..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/VehicleCreate.6dc6c35d.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as u,o as p,X as h,a7 as a,a as i,w as o,a6 as v,ab as f,a5 as r,U as g,a9 as n}from"./app-014d9ed9.js";import{Q as y}from"./QForm.8d79ab03.js";import"./externalHosting.js";const b={name:"VehicleCreate",data(){return{pendingSave:!1,citizenid:null,vehicle:{}}},methods:{tryCreateVehicle(){this.$refs.vehicleCreate.validate().then(t=>{!t||(this.pendingSave=!0,this.$axios.post("/api/vehicles/create",{citizenid:this.citizenid,vehicle:this.vehicle}).then(l=>{if(this.pendingSave=!1,!l.data.resCode){const c=l.data.resMsg;this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t(`components.vehicle.msg.error.${c}`)});return}this.$q.notify({message:this.$i18n.t("general.success"),position:"top",color:"green",icon:"fas fa-check",caption:this.$i18n.t("general.saved")}),this.$router.push({name:"game-vehicle-list"})}).catch(l=>{}))})}},mounted(){this.citizenid=this.$route.query.citizenid||""}},V={class:"row"},C={class:"col-12"},q={class:"q-ma-sm row"},$={class:"text-h6"},z={class:"col-12"},w={class:"q-ma-sm row justify-end"};function _(t,l,d,c,s,m){return p(),h("div",V,[a("div",C,[a("div",q,[i(v,{class:"bg-secondary full-width row"},{default:o(()=>[i(r,{class:"col-12"},{default:o(()=>[a("div",$,g(t.$t("components.vehicleCreate.new"))+":",1)]),_:1}),i(r,{class:"col-12 col-md-6"},{default:o(()=>[i(y,{ref:"vehicleCreate"},{default:o(()=>[i(n,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",modelValue:s.citizenid,"onUpdate:modelValue":l[0]||(l[0]=e=>s.citizenid=e),label:t.$t("components.vehicle.labels.citizenid")},null,8,["input-style","modelValue","label"]),i(n,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",class:"q-mt-md",modelValue:s.vehicle.model,"onUpdate:modelValue":l[1]||(l[1]=e=>s.vehicle.model=e),label:t.$t("components.vehicle.labels.model"),"lazy-rules":"",rules:[e=>e&&e.length>0||t.$t("rules.required")]},null,8,["input-style","modelValue","label","rules"]),i(n,{class:"q-mt-md",dense:"","label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",maxlength:"8",modelValue:s.vehicle.plate,"onUpdate:modelValue":l[2]||(l[2]=e=>s.vehicle.plate=e),label:t.$t("components.vehicle.labels.plate"),"lazy-rules":"",rules:[e=>e&&/^[a-zA-Z0-9 ]+$/.test(e)||t.$t("rules.onlyCharsNumbers")]},null,8,["input-style","modelValue","label","rules"])]),_:1},512)]),_:1}),i(r,{class:"col-12 col-md-6"},{default:o(()=>[i(n,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",modelValue:s.vehicle.garage,"onUpdate:modelValue":l[3]||(l[3]=e=>s.vehicle.garage=e),label:t.$t("components.vehicle.labels.garage")},null,8,["input-style","modelValue","label"]),i(n,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",class:"q-mt-md",type:"number",modelValue:s.vehicle.state,"onUpdate:modelValue":l[4]||(l[4]=e=>s.vehicle.state=e),modelModifiers:{number:!0},label:t.$t("components.vehicle.labels.state")},null,8,["input-style","modelValue","label"])]),_:1})]),_:1})])]),a("div",z,[a("div",w,[i(f,{"text-color":"main",loading:s.pendingSave,color:"primary",onClick:m.tryCreateVehicle,label:t.$t("general.create"),class:"q-mr-sm"},null,8,["loading","onClick","label"])])])])}const k=u(b,[["render",_]]);export{k as default};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/VehicleCreate.ec46f0b2.js b/resources/[tools]/unlimited-spectre/html/assets/VehicleCreate.ec46f0b2.js
deleted file mode 100644
index e154c5ed5..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/VehicleCreate.ec46f0b2.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as q,o as p,X as h,a7 as i,a as o,w as n,a6 as V,ab as v,a5 as d,U as c,a9 as m,Y as $,Z as C,W as w}from"./app-014d9ed9.js";import{Q as f}from"./QForm.8d79ab03.js";import{Q as S}from"./QSelect.d7ce3d4c.js";import{Q as U}from"./QTooltip.9d840032.js";import{Q as k}from"./QMarkupTable.ba6854cc.js";import{B as Q}from"./BasicDialog.9dd9de92.js";import"./externalHosting.js";import"./QItemLabel.b6dd3adb.js";import"./position-engine.65ebcb34.js";import"./selection.2a17b691.js";import"./rtl.b51694b1.js";const N={name:"VehicleCreate",data(){return{defaults:["name","brand","model","price","category","categorylabel","hash","shop"],pendingSave:!1,vehicle:{name:"",brand:"",model:"",price:0,category:"",categoryLabel:"",hash:"",shop:[]},customVars:[]}},methods:{isNumeric(e){return typeof e!="string"?!1:!isNaN(e)&&!isNaN(parseFloat(e))},isBoolean(e){return e==="true"||(e==="false"?!1:e)},addCustomVar(){this.customVars.push({name:"",value:""})},removeVar(e){const t=this.customVars.indexOf(e);t>-1&&this.$q.dialog({component:Q,componentProps:{title:this.$i18n.t("components.devVehicle.deleteHeader"),message:this.$i18n.t("components.devVehicle.deleteCustomVarMsg",{name:e.name})},cancel:!0,persistent:!0}).onOk(()=>{this.customVars.splice(t,1)})},trySave(){this.$refs.vehDefaults.validate().then(e=>{if(!e){this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t("components.devVehicle.msg.error.missingFields")});return}this.$refs.customVarForm.validate().then(t=>{if(!t){this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t("components.devVehicle.msg.error.uniqueVars")});return}this.customVars.forEach(r=>{!r.name||(this.vehicle[r.name]=this.isNumeric(r.value)?Number(r.value):this.isBoolean(r.value))}),this.pendingSave=!0,this.$axios.post("/api/dev-vehicles/create",this.vehicle).then(r=>{if(this.pendingSave=!1,!r.data.resCode){const s=r.data.resMsg;this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t(`components.devVehicle.msg.error.${s}`,{name:this.vehicle.model})});return}this.$q.notify({message:this.$i18n.t("general.success"),position:"top",color:"green",icon:"fas fa-check",caption:this.$i18n.t("general.saved")}),this.$router.push({name:"dev-vehicle-list"})}).catch(()=>{})})})}}},B={class:"row"},_={class:"col-12"},L={class:"q-ma-sm row"},F={class:"text-h6"},M={class:"col-12"},D={class:"q-ma-sm row"},x={class:"row"},z={class:"text-h6"},T={class:"text-caption text-sub"},E={class:"q-ml-auto"},O={style:{width:"30px"},class:"text-right vertical-middle"},j={class:"col-12"},H={class:"q-ma-sm row justify-end"};function I(e,t,r,b,s,u){return p(),h("div",B,[i("div",_,[i("div",L,[o(V,{class:"bg-secondary full-width row"},{default:n(()=>[o(d,{class:"col-12"},{default:n(()=>[i("div",F,c(e.$t("components.devVehicleCreate.new"))+": ",1)]),_:1}),o(d,{class:"col-12 col-md-6"},{default:n(()=>[o(f,{ref:"vehDefaults"},{default:n(()=>[o(m,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",modelValue:s.vehicle.model,"onUpdate:modelValue":t[0]||(t[0]=l=>s.vehicle.model=l),onChange:t[1]||(t[1]=l=>{s.vehicle.model=l.toLowerCase()}),"lazy-rules":"",rules:[l=>l&&l.length>0||e.$t("rules.required"),l=>l&&!/\s/.test(l)||e.$t("rules.noSpace")],label:e.$t("components.devVehicle.model")},null,8,["input-style","modelValue","rules","label"]),o(m,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",disable:"",class:"q-mt-md",modelValue:s.vehicle.model,"onUpdate:modelValue":t[2]||(t[2]=l=>s.vehicle.model=l),label:e.$t("components.devVehicle.hash")},null,8,["input-style","modelValue","label"]),o(m,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",class:"q-mt-md",modelValue:s.vehicle.name,"onUpdate:modelValue":t[3]||(t[3]=l=>s.vehicle.name=l),label:e.$t("components.devVehicle.name")},null,8,["input-style","modelValue","label"]),o(m,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",class:"q-mt-md",modelValue:s.vehicle.brand,"onUpdate:modelValue":t[4]||(t[4]=l=>s.vehicle.brand=l),label:e.$t("components.devVehicle.brand")},null,8,["input-style","modelValue","label"])]),_:1},512)]),_:1}),o(d,{class:"col-12 col-md-6"},{default:n(()=>[o(f,{ref:"vehShop"},{default:n(()=>[o(m,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",modelValue:s.vehicle.category,"onUpdate:modelValue":t[5]||(t[5]=l=>s.vehicle.category=l),label:e.$t("components.devVehicle.category")},null,8,["input-style","modelValue","label"]),o(m,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",class:"q-mt-md",modelValue:s.vehicle.categoryLabel,"onUpdate:modelValue":t[6]||(t[6]=l=>s.vehicle.categoryLabel=l),label:e.$t("components.devVehicle.categoryLabel")},null,8,["input-style","modelValue","label"]),o(m,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",class:"q-mt-md",modelValue:s.vehicle.price,"onUpdate:modelValue":t[7]||(t[7]=l=>s.vehicle.price=l),modelModifiers:{number:!0},type:"number",label:e.$t("components.devVehicle.price")},null,8,["input-style","modelValue","label"]),o(S,{ref:"accept",label:e.$t("components.devVehicle.shop"),color:"primary","label-color":"primary",filled:"",multiple:"",modelValue:s.vehicle.shop,"onUpdate:modelValue":t[8]||(t[8]=l=>s.vehicle.shop=l),"popup-content-class":"bg-secondary text-main","use-input":"","use-chips":"","hide-dropdown-icon":"","input-debounce":"0","new-value-mode":"add-unique","input-class":"text-main",class:"q-mt-md"},null,8,["label","modelValue"])]),_:1},512)]),_:1})]),_:1})])]),i("div",M,[i("div",D,[o(V,{class:"bg-secondary full-width row"},{default:n(()=>[o(d,{class:"col-12"},{default:n(()=>[i("div",x,[i("div",null,[i("div",z,c(e.$t("components.devVehicle.customVariables")),1),i("div",T,c(e.$t("components.devVehicle.customVarSub")),1)]),i("div",E,[o(v,{"text-color":"main",color:"primary",label:e.$t("components.devVehicle.addCustomVar"),onClick:u.addCustomVar},null,8,["label","onClick"])])])]),_:1}),o(d,{class:"col-12"},{default:n(()=>[o(f,{ref:"customVarForm"},{default:n(()=>[o(k,{class:"bg-secondary text-main",flat:"",square:"",separator:"none"},{default:n(()=>[i("tbody",null,[(p(!0),h($,null,C(s.customVars,(l,y)=>(p(),h("tr",{key:`${y}-customVar`},[i("td",null,[o(m,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",modelValue:l.name,"onUpdate:modelValue":a=>l.name=a,label:e.$t("components.devVehicle.customVarName"),"lazy-rules":"",rules:[a=>a&&a.length>0||e.$t("rules.required"),a=>a&&!/\s/.test(a)||e.$t("rules.noSpace"),a=>a&&s.customVars.filter(g=>g.name===a).length<=1||e.$t("rules.unique"),a=>a&&!s.defaults.includes(a.toLowerCase())||e.$t("rules.defaults")]},null,8,["input-style","modelValue","onUpdate:modelValue","label","rules"])]),i("td",null,[o(m,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",class:"q-field--with-bottom",modelValue:l.value,"onUpdate:modelValue":a=>l.value=a,label:e.$t("components.devVehicle.customVarValue")},null,8,["input-style","modelValue","onUpdate:modelValue","label"])]),i("td",O,[o(v,{"text-color":"main",class:"text-red-6",dense:"",flat:"",icon:"fas fa-trash",size:"xs",onClick:a=>u.removeVar(l)},{default:n(()=>[o(U,null,{default:n(()=>[w(c(e.$t("general.delete")),1)]),_:1})]),_:2},1032,["onClick"])])]))),128))])]),_:1})]),_:1},512)]),_:1})]),_:1})])]),i("div",j,[i("div",H,[o(v,{"text-color":"main",loading:s.pendingSave,color:"primary",onClick:u.trySave,label:e.$t("general.create"),class:"q-mr-sm"},null,8,["loading","onClick","label"])])])])}const le=q(N,[["render",I]]);export{le as default};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/VehicleList.27315f59.js b/resources/[tools]/unlimited-spectre/html/assets/VehicleList.27315f59.js
deleted file mode 100644
index 77c472dba..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/VehicleList.27315f59.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as v,P as w,R as y,bh as $,o as g,X as L,a,w as n,a6 as k,c as f,bi as C,r as R,a7 as h,U as c,ab as S,V as _,aE as P,a9 as q,S as E,W as d}from"./app-014d9ed9.js";import{Q as V,a as N,b as r}from"./QTable.d759a99d.js";import{b}from"./QSelect.d7ce3d4c.js";import{d as Q}from"./utils.9ce591f3.js";import"./externalHosting.js";import"./QList.9d5bb77f.js";import"./QMarkupTable.ba6854cc.js";import"./QItemLabel.b6dd3adb.js";import"./position-engine.65ebcb34.js";import"./selection.2a17b691.js";import"./rtl.b51694b1.js";const B={name:"VehicleList",data(){return{ACTION:w,RESOURCE:y,columns:[{name:"citizenid",align:"left",label:this.$i18n.t("components.vehicleList.headers.owner"),field:e=>e.citizenid,format:e=>`${e}`,sortable:!0},{name:"plate",align:"left",label:this.$i18n.t("components.vehicleList.headers.plate"),field:e=>e.plate,format:e=>`${e}`,sortable:!0},{name:"vehicle",align:"left",label:this.$i18n.t("components.vehicleList.headers.vehicle"),field:e=>e.vehicle,format:e=>`${e}`},{name:"spawned",align:"center",label:this.$i18n.t("components.vehicleList.headers.spawned"),field:e=>e.spawned,format:e=>`${e}`},{name:"state",align:"center",label:this.$i18n.t("components.vehicleList.headers.state"),field:e=>e.state,format:e=>`${e}`},{name:"engine",align:"center",label:this.$i18n.t("components.vehicleList.headers.engine"),field:e=>e.engine,format:e=>`${e}`},{name:"body",align:"center",label:this.$i18n.t("components.vehicleList.headers.body"),field:e=>e.body,format:e=>`${e}`},{name:"fuel",align:"center",label:this.$i18n.t("components.vehicleList.headers.fuel"),field:e=>e.fuel,format:e=>`${e}`}],vehicles:[],pagination:{sortBy:"plate",descending:!1,page:1,rowsPerPage:25},loading:!0}},methods:{can:Q,getRowsNumberCount(e){return this.$axios.post("/api/vehicles/vehicle-count",{filter:e}).then(i=>i.data.count)},fetchFromServer(e,i,l,p,o){return this.$axios.post("/api/vehicles",{startRow:e,count:i,filter:l,sortBy:p,descending:o}).then(s=>s.data.vehicles).catch(s=>{this.loading=!1,this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t("general.timeout")})})},async onRequest(e){const{page:i,rowsPerPage:l,sortBy:p,descending:o}=e.pagination,s=e.filter;this.loading=!0,this.pagination.rowsNumber=await this.getRowsNumberCount(s);const m=l===0?this.pagination.rowsNumber:l,t=(i-1)*l,u=await this.fetchFromServer(t,m,s,p,o);this.vehicles.splice(0,this.vehicles.length,...u),this.pagination.page=i,this.pagination.rowsPerPage=l,this.pagination.sortBy=p,this.pagination.descending=o,this.paginationSave=this.pagination,this.loading=!1},onRowClick(e){this.$router.push({name:"game-vehicle-detail",params:{vehicleId:e.id}})},getPaginationLabel(e,i,l){return this.$i18n.t("components.vehicleList.paginationLabel",{from:e,to:i,total:l})},updatePagination(e){this.loading||(this.paginationSave=e,this.pagination=e)}},computed:{...$(C,["searchFilter","paginationSave"])},mounted(){this.$route.name==="game-vehicle-list"&&(this.pagination={...this.paginationSave},this.$refs.tableRef.requestServerInteraction())}},x={key:0,class:"row q-pa-sm"},I={class:"row"},T={class:"col-12"},z={class:"q-mx-md q-my-sm row flex-center"},F={class:"text-caption text-sub"},U={class:"q-ml-auto"};function A(e,i,l,p,o,s){const m=R("router-view");return e.$route.name==="game-vehicle-list"?(g(),L("div",x,[a(k,{class:"bg-secondary full-width"},{default:n(()=>[h("div",I,[h("div",T,[h("div",z,[h("div",F,c(e.$t("components.vehicleList.subheader")),1),h("div",U,[s.can(o.ACTION.GAME.VEHICLE.CREATE,o.RESOURCE.GAME)?(g(),f(S,{key:0,"text-color":"main",color:"primary",onClick:i[0]||(i[0]=t=>e.$router.push({name:"game-vehicle-create"})),label:e.$t("components.vehicleList.createVehicle"),class:"q-ma-sm"},null,8,["label"])):_("",!0)])]),a(P),a(V,{ref:"tableRef",color:"primary","card-class":"bg-secondary text-main","table-class":"text-main","table-header-class":"text-primary",flat:"",rows:o.vehicles,columns:o.columns,"row-key":"name",pagination:o.pagination,"onUpdate:pagination":[i[2]||(i[2]=t=>o.pagination=t),s.updatePagination],"rows-per-page-options":[0,25,50,100],"no-results-label":e.$t("components.vehicleList.noData"),"loading-label":e.$t("components.vehicleList.loadData"),loading:o.loading,filter:e.searchFilter,"binary-state-sort":"","pagination-label":s.getPaginationLabel,"rows-per-page-label":`${e.$t("components.vehicleList.recordsPerPage")}:`,onRequest:s.onRequest},{"top-right":n(()=>[a(q,{"input-style":{color:"var(--q-main)"},borderless:"",dense:"",debounce:"300",modelValue:e.searchFilter,"onUpdate:modelValue":i[1]||(i[1]=t=>e.searchFilter=t),placeholder:e.$t("general.search")},{append:n(()=>[a(E,{class:"text-main",name:"search"})]),_:1},8,["input-style","modelValue","placeholder"])]),body:n(t=>[a(N,{props:t,onClick:u=>s.onRowClick(t.row),class:"cursor-pointer"},{default:n(()=>[a(r,{key:"citizenid",props:t},{default:n(()=>[d(c(t.row.citizenid),1)]),_:2},1032,["props"]),a(r,{key:"plate",props:t},{default:n(()=>[d(c(t.row.plate),1)]),_:2},1032,["props"]),a(r,{key:"vehicle",props:t},{default:n(()=>[d(c(t.row.vehicle),1)]),_:2},1032,["props"]),a(r,{key:"spawned",props:t,style:{width:"50px"}},{default:n(()=>[a(b,{size:"sm",color:t.row.spawned?"positive":"negative","text-color":"main",label:t.row.spawned?e.$t("general.yes"):e.$t("general.no")},null,8,["color","label"])]),_:2},1032,["props"]),a(r,{key:"state",props:t,style:{width:"50px"}},{default:n(()=>[a(b,{size:"sm",color:"primary","text-color":"main",label:t.row.state===0?e.$t("components.vehicleList.outside"):t.row.state===1?e.$t("components.vehicleList.garage"):e.$t("components.vehicleList.inpound")},null,8,["label"])]),_:2},1032,["props"]),a(r,{key:"engine",props:t,style:{width:"30px"}},{default:n(()=>[d(c(t.row.engine),1)]),_:2},1032,["props"]),a(r,{key:"body",props:t,style:{width:"30px"}},{default:n(()=>[d(c(t.row.body),1)]),_:2},1032,["props"]),a(r,{key:"fuel",props:t,style:{width:"30px"}},{default:n(()=>[d(c(t.row.fuel),1)]),_:2},1032,["props"])]),_:2},1032,["props","onClick"])]),_:1},8,["rows","columns","pagination","no-results-label","loading-label","loading","filter","pagination-label","rows-per-page-label","onRequest","onUpdate:pagination"])])])]),_:1})])):(g(),f(m,{key:1}))}const Z=v(B,[["render",A]]);export{Z as default};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/VehicleList.808e053f.js b/resources/[tools]/unlimited-spectre/html/assets/VehicleList.808e053f.js
deleted file mode 100644
index b552a3499..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/VehicleList.808e053f.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as u,P as f,R as b,bh as v,o as m,X as y,a as t,w as o,a6 as w,c as p,bi as V,r as $,a7 as c,U as s,ab as k,V as L,aE as _,a9 as C,S as E,W as n}from"./app-014d9ed9.js";import{Q as S,a as P,b as r}from"./QTable.d759a99d.js";import{d as Q}from"./utils.9ce591f3.js";import"./externalHosting.js";import"./QList.9d5bb77f.js";import"./QMarkupTable.ba6854cc.js";import"./QSelect.d7ce3d4c.js";import"./QItemLabel.b6dd3adb.js";import"./position-engine.65ebcb34.js";import"./selection.2a17b691.js";import"./rtl.b51694b1.js";const R={name:"VehicleList",data(){return{ACTION:f,RESOURCE:b,vehicles:[],columns:[{name:"name",align:"left",label:this.$i18n.t("components.devVehicleList.headers.name"),field:e=>e.name,format:e=>`${e}`,sortable:!0},{name:"brand",align:"left",label:this.$i18n.t("components.devVehicleList.headers.brand"),field:e=>e.brand,format:e=>`${e}`,sortable:!0},{name:"model",align:"left",label:this.$i18n.t("components.devVehicleList.headers.model"),field:e=>e.model,format:e=>`${e}`,sortable:!0},{name:"hash",align:"left",label:this.$i18n.t("components.devVehicleList.headers.hash"),field:e=>e.hash,format:e=>`${e}`,sortable:!0},{name:"price",align:"center",label:this.$i18n.t("components.devVehicleList.headers.price"),field:e=>e.price,format:e=>`${e}`,sortable:!0},{name:"category",align:"left",label:this.$i18n.t("components.devVehicleList.headers.category"),field:e=>e.category,format:e=>`${e}`,sortable:!0}],pagination:{sortBy:"desc",descending:!1,page:1,rowsPerPage:25},loading:!0}},computed:{...v(V,["searchFilter","paginationSave"])},methods:{can:Q,onRowClick(e){this.$router.push({name:"dev-vehicle-detail",params:{vehicleId:e.key}})},getPaginationLabel(e,i,d){return this.$i18n.t("components.devVehicleList.paginationLabel",{from:e,to:i,total:d})},updatePagination(e){this.loading||(this.paginationSave=e,this.pagination=e)}},mounted(){this.$route.name==="dev-vehicle-list"&&this.$axios.get("/api/dev-vehicles").then(e=>{for(const[i,d]of Object.entries(e.data.vehicles))this.vehicles.push({key:i,...d});this.loading=!1,this.pagination={...this.paginationSave}}).catch(e=>{this.loading=!1,this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t("general.timeout")})})}},T={key:0,class:"row q-pa-sm"},q={class:"row"},B={class:"col-12"},I={class:"q-mx-md q-my-sm row flex-center"},N={class:"text-caption text-grey"},U={class:"q-ml-auto"};function D(e,i,d,O,l,h){const g=$("router-view");return e.$route.name==="dev-vehicle-list"?(m(),y("div",T,[t(w,{class:"bg-secondary full-width"},{default:o(()=>[c("div",q,[c("div",B,[c("div",I,[c("div",N,s(e.$t("components.devVehicleList.subheader")),1),c("div",U,[h.can(l.ACTION.DEV.VEHICLE.CREATE,l.RESOURCE.DEV)?(m(),p(k,{key:0,color:"primary",onClick:i[0]||(i[0]=a=>e.$router.push({name:"dev-vehicle-create"})),label:e.$t("components.devVehicleList.createVehicle"),class:"q-ma-sm"},null,8,["label"])):L("",!0)])]),t(_),t(S,{color:"primary","card-class":"bg-secondary text-white","table-class":"text-white","table-header-class":"text-primary",flat:"",rows:l.vehicles,columns:l.columns,"row-key":"name",pagination:l.pagination,"rows-per-page-options":[0,25,50,100],"no-results-label":e.$t("components.devVehicleList.noData"),"loading-label":e.$t("components.devVehicleList.loadData"),loading:l.loading,filter:e.searchFilter,"pagination-label":h.getPaginationLabel,"rows-per-page-label":`${e.$t("components.devVehicleList.recordsPerPage")}:`,"onUpdate:pagination":h.updatePagination},{"top-right":o(()=>[t(C,{"input-style":{color:"white"},borderless:"",dense:"",debounce:"300",modelValue:e.searchFilter,"onUpdate:modelValue":i[1]||(i[1]=a=>e.searchFilter=a),placeholder:e.$t("general.search")},{append:o(()=>[t(E,{class:"text-white",name:"search"})]),_:1},8,["modelValue","placeholder"])]),body:o(a=>[t(P,{props:a,onClick:x=>h.onRowClick(a.row),class:"cursor-pointer"},{default:o(()=>[t(r,{key:"name",props:a},{default:o(()=>[n(s(a.row.name),1)]),_:2},1032,["props"]),t(r,{key:"brand",props:a},{default:o(()=>[n(s(a.row.brand),1)]),_:2},1032,["props"]),t(r,{key:"model",props:a},{default:o(()=>[n(s(a.row.model),1)]),_:2},1032,["props"]),t(r,{key:"hash",props:a},{default:o(()=>[n(s(a.row.hash),1)]),_:2},1032,["props"]),t(r,{key:"price",props:a},{default:o(()=>[n(s(a.row.price),1)]),_:2},1032,["props"]),t(r,{key:"category",props:a},{default:o(()=>[n(s(a.row.category),1)]),_:2},1032,["props"])]),_:2},1032,["props","onClick"])]),_:1},8,["rows","columns","pagination","no-results-label","loading-label","loading","filter","pagination-label","rows-per-page-label","onUpdate:pagination"])])])]),_:1})])):(m(),p(g,{key:1}))}const Y=u(R,[["render",D]]);export{Y as default};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/Waypoint.2ac9fd2f.js b/resources/[tools]/unlimited-spectre/html/assets/Waypoint.2ac9fd2f.js
deleted file mode 100644
index 60805fc2e..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/Waypoint.2ac9fd2f.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as f,R as w,P as b,o as d,X as $,a7 as l,a,w as n,a6 as v,ab as m,c as y,V as g,a5 as i,W as C,U as h,a9 as p}from"./app-014d9ed9.js";import{Q as q}from"./QForm.8d79ab03.js";import{d as k}from"./utils.9ce591f3.js";import{B as V}from"./BasicDialog.9dd9de92.js";import"./externalHosting.js";const E={name:"Waypoint",data(){return{RESOURCE:w,ACTION:b,pendingSave:!1,pendingDelete:!1,waypoint:{name:"",label:"",coords:{x:0,y:0,z:0}}}},methods:{can:k,trySave(){this.$refs.waypointForm.validate().then(e=>{if(!e){this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t("components.waypoint.msg.error.missingFields",{name:this.waypoint.name})});return}this.pendingSave=!0,this.$axios.patch(`/api/waypoints/save/${this.waypoint.name}`,this.waypoint).then(o=>{if(this.pendingSave=!1,!o.data.resCode){const u=o.data.resMsg;this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t(`components.waypoint.msg.error.${u}`,{name:this.waypoint.name})});return}this.$q.notify({message:this.$i18n.t("general.success"),position:"top",color:"green",icon:"fas fa-check",caption:this.$i18n.t("general.saved")}),this.$router.push({name:"game-waypoint-list"})}).catch(o=>{console.error(o)})})},tryDelete(){this.pendingDelete=!0,this.$q.dialog({component:V,componentProps:{title:this.$i18n.t("components.waypoint.deleteHeader"),message:this.$i18n.t("components.waypoint.deleteMsg",{name:this.waypoint.name})},cancel:!0,persistent:!0}).onOk(()=>{this.$axios.delete(`/api/waypoints/delete/${this.waypoint.name}`).then(e=>{if(this.pendingDelete=!1,!e.data.resCode){const c=e.data.resMsg;this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t(`components.waypoint.msg.error.${c}`,{name:this.waypoint.name})});return}this.$q.notify({message:this.$i18n.t("general.success"),position:"top",color:"green",icon:"fas fa-check",caption:this.$i18n.t("general.deleted")}),this.$router.push({name:"game-waypoint-list"})}).catch(e=>{})}).onCancel(()=>{this.pendingDelete=!1})}},mounted(){this.$axios.get(`/api/waypoints/${this.$route.params.waypointId}`).then(e=>{const o=e.data.waypoint;if(!o){this.$q.notify({message:e.data.msg,position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:"Error"});return}this.waypoint=o})}},D={class:"row"},S={class:"col-12"},_={class:"q-ma-sm row"},x={class:"text-h6"},M={class:"text-primary"},O={class:"col-12 row"},A={class:"col-12"},N={class:"q-ma-sm row justify-end"};function z(e,o,c,u,t,r){return d(),$("div",D,[l("div",S,[l("div",_,[a(v,{class:"bg-secondary full-width"},{default:n(()=>[a(q,{ref:"waypointForm",class:"row"},{default:n(()=>[a(i,{class:"col-12"},{default:n(()=>[l("div",x,[C(h(e.$t("components.waypoint.edit"))+": ",1),l("span",M,h(t.waypoint.name),1)])]),_:1}),a(i,{class:"col-12 col-md-6"},{default:n(()=>[a(p,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",modelValue:t.waypoint.label,"onUpdate:modelValue":o[0]||(o[0]=s=>t.waypoint.label=s),label:e.$t("components.waypoint.labels.label"),"lazy-rules":"",rules:[s=>s&&!0||e.$t("rules.required")]},null,8,["input-style","modelValue","label","rules"])]),_:1}),l("div",O,[a(i,{class:"col-12 col-md-4"},{default:n(()=>[a(p,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",type:"number",modelValue:t.waypoint.coords.x,"onUpdate:modelValue":o[1]||(o[1]=s=>t.waypoint.coords.x=s),label:"x","lazy-rules":"",mask:"#.#",rules:[s=>s!==null&&s!==""||e.$t("rules.required")]},null,8,["input-style","modelValue","rules"])]),_:1}),a(i,{class:"col-12 col-md-4"},{default:n(()=>[a(p,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",type:"number",modelValue:t.waypoint.coords.y,"onUpdate:modelValue":o[2]||(o[2]=s=>t.waypoint.coords.y=s),label:"y","lazy-rules":"",mask:"#.#",rules:[s=>s!==null&&s!==""||e.$t("rules.required")]},null,8,["input-style","modelValue","rules"])]),_:1}),a(i,{class:"col-12 col-md-4"},{default:n(()=>[a(p,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",type:"number",modelValue:t.waypoint.coords.z,"onUpdate:modelValue":o[3]||(o[3]=s=>t.waypoint.coords.z=s),label:"z","lazy-rules":"",mask:"#.#",rules:[s=>s!==null&&s!==""||e.$t("rules.required")]},null,8,["input-style","modelValue","rules"])]),_:1})])]),_:1},512)]),_:1})])]),l("div",A,[l("div",N,[a(m,{"text-color":"main",disable:t.pendingDelete||t.pendingSave,color:"primary",onClick:o[4]||(o[4]=s=>e.$router.push({name:"game-waypoint-list"})),label:e.$t("general.back"),class:"q-mr-auto"},null,8,["disable","label"]),r.can(t.ACTION.GAME.WAYPOINT.MODIFY,t.RESOURCE.GAME)?(d(),y(m,{key:0,"text-color":"main",loading:t.pendingSave,disable:t.pendingDelete,color:"primary",onClick:r.trySave,label:e.$t("general.save"),class:"q-mr-sm"},null,8,["loading","disable","onClick","label"])):g("",!0),r.can(t.ACTION.GAME.WAYPOINT.DELETE,t.RESOURCE.GAME)?(d(),y(m,{key:1,"text-color":"main",loading:t.pendingDelete,disable:t.pendingSave,color:"negative",onClick:r.tryDelete,label:e.$t("general.delete")},null,8,["loading","disable","onClick","label"])):g("",!0)])])])}const Q=f(E,[["render",z]]);export{Q as default};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/WaypointCreate.3336c8d8.js b/resources/[tools]/unlimited-spectre/html/assets/WaypointCreate.3336c8d8.js
deleted file mode 100644
index 774a83d52..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/WaypointCreate.3336c8d8.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as p,o as c,X as y,a7 as i,a as s,w as t,a6 as f,ab as w,a5 as r,a9 as n}from"./app-014d9ed9.js";import{Q as b}from"./QForm.8d79ab03.js";import"./externalHosting.js";const h={name:"WaypointCreate",data(){return{pendingSave:!1,waypoint:{name:"",label:"",coords:{x:0,y:0,z:0}}}},methods:{trySave(){this.$refs.waypointForm.validate().then(o=>{if(!o){this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t("components.waypoint.msg.error.missingFields",{name:this.waypoint.name})});return}this.pendingSave=!0,this.$axios.post("/api/waypoints/create",this.waypoint).then(l=>{if(this.pendingSave=!1,!l.data.resCode){const u=l.data.resMsg;this.$q.notify({message:this.$i18n.t("general.error"),position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t(`components.waypoint.msg.error.${u}`,{name:this.waypoint.name})});return}this.$q.notify({message:this.$i18n.t("general.success"),position:"top",color:"green",icon:"fas fa-check",caption:this.$i18n.t("general.saved")}),this.$router.push({name:"game-waypoint-list"})}).catch(l=>{console.error(l)})})}},mounted(){if(this.$route.query.coords){const o=Object.fromEntries(new URLSearchParams(this.$route.query.coords));this.waypoint.coords=o}}},g={class:"row"},q={class:"col-12"},V={class:"q-ma-sm row"},$={class:"col-12"},v={class:"q-ma-sm row justify-end"};function C(o,l,d,u,a,m){return c(),y("div",g,[i("div",q,[i("div",V,[s(f,{class:"bg-secondary full-width"},{default:t(()=>[s(b,{ref:"waypointForm",class:"row"},{default:t(()=>[s(r,{class:"col-12 col-md-6"},{default:t(()=>[s(n,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",modelValue:a.waypoint.name,"onUpdate:modelValue":l[0]||(l[0]=e=>a.waypoint.name=e),label:o.$t("components.waypoint.labels.name"),"lazy-rules":"",rules:[e=>e&&e.length>0||o.$t("rules.required"),e=>e&&!/\s/.test(e)||o.$t("rules.noSpace")]},null,8,["input-style","modelValue","label","rules"])]),_:1}),s(r,{class:"col-12 col-md-6"},{default:t(()=>[s(n,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",modelValue:a.waypoint.label,"onUpdate:modelValue":l[1]||(l[1]=e=>a.waypoint.label=e),label:o.$t("components.waypoint.labels.label"),"lazy-rules":"",rules:[e=>e&&!0||o.$t("rules.required")]},null,8,["input-style","modelValue","label","rules"])]),_:1}),s(r,{class:"col-12 col-md-4"},{default:t(()=>[s(n,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",type:"number",modelValue:a.waypoint.coords.x,"onUpdate:modelValue":l[2]||(l[2]=e=>a.waypoint.coords.x=e),label:"x","lazy-rules":"",mask:"#.#",rules:[e=>e!==null&&e!==""||o.$t("rules.required")]},null,8,["input-style","modelValue","rules"])]),_:1}),s(r,{class:"col-12 col-md-4"},{default:t(()=>[s(n,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",type:"number",modelValue:a.waypoint.coords.y,"onUpdate:modelValue":l[3]||(l[3]=e=>a.waypoint.coords.y=e),label:"y","lazy-rules":"",mask:"#.#",rules:[e=>e!==null&&e!==""||o.$t("rules.required")]},null,8,["input-style","modelValue","rules"])]),_:1}),s(r,{class:"col-12 col-md-4"},{default:t(()=>[s(n,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",type:"number",modelValue:a.waypoint.coords.z,"onUpdate:modelValue":l[4]||(l[4]=e=>a.waypoint.coords.z=e),label:"z","lazy-rules":"",mask:"#.#",rules:[e=>e!==null&&e!==""||o.$t("rules.required")]},null,8,["input-style","modelValue","rules"])]),_:1})]),_:1},512)]),_:1})])]),i("div",$,[i("div",v,[s(w,{"text-color":"main",loading:a.pendingSave,color:"primary",onClick:m.trySave,label:o.$t("general.create"),class:"q-mr-sm"},null,8,["loading","onClick","label"])])])])}const _=p(h,[["render",C]]);export{_ as default};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/WaypointList.3a8867bc.js b/resources/[tools]/unlimited-spectre/html/assets/WaypointList.3a8867bc.js
deleted file mode 100644
index 20b14b821..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/WaypointList.3a8867bc.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as w,P as y,R as b,bh as h,o as p,X as f,a as t,w as o,a6 as _,c as g,bi as k,r as $,a7 as i,U as l,ab as v,V as C,aE as L,a9 as E,S as P,W as m}from"./app-014d9ed9.js";import{Q as S,a as Q,b as d}from"./QTable.d759a99d.js";import{d as R}from"./utils.9ce591f3.js";import"./externalHosting.js";import"./QList.9d5bb77f.js";import"./QMarkupTable.ba6854cc.js";import"./QSelect.d7ce3d4c.js";import"./QItemLabel.b6dd3adb.js";import"./position-engine.65ebcb34.js";import"./selection.2a17b691.js";import"./rtl.b51694b1.js";const T={name:"WaypointMap",data(){return{ACTION:y,RESOURCE:b,columns:[{name:"name",align:"left",label:this.$i18n.t("components.waypointList.headers.name"),field:a=>a.name,format:a=>`${a}`,sortable:!0},{name:"label",align:"left",label:this.$i18n.t("components.waypointList.headers.label"),field:a=>a.label,format:a=>`${a}`,sortable:!0},{name:"coords",align:"left",label:this.$i18n.t("components.waypointList.headers.coords"),field:a=>a.coords,format:a=>`${a}`}],waypoints:[],pagination:{sortBy:"desc",descending:!1,page:1,rowsPerPage:25},loading:!0}},methods:{can:R,onRowClick(a){this.$router.push({name:"game-waypoint-detail",params:{waypointId:a.name}})},getPaginationLabel(a,n,c){return this.$i18n.t("components.waypointList.paginationLabel",{from:a,to:n,total:c})},updatePagination(a){this.loading||(this.paginationSave=a,this.pagination=a)}},computed:{...h(k,["searchFilter","paginationSave"])},mounted(){this.$route.name==="game-waypoint-list"&&this.$axios.get("/api/waypoints").then(a=>{this.waypoints=a.data.waypoints,this.loading=!1,this.pagination={...this.paginationSave}})}},V={key:0,class:"row q-pa-sm"},N={class:"row"},q={class:"col-12"},A={class:"q-mx-md q-my-sm row flex-center"},B={class:"text-caption text-sub"},I={class:"q-ml-auto"};function U(a,n,c,W,s,r){const u=$("router-view");return a.$route.name==="game-waypoint-list"?(p(),f("div",V,[t(_,{class:"bg-secondary full-width"},{default:o(()=>[i("div",N,[i("div",q,[i("div",A,[i("div",B,l(a.$t("components.waypointList.subheader")),1),i("div",I,[r.can(s.ACTION.GAME.WAYPOINT.CREATE,s.RESOURCE.GAME)?(p(),g(v,{key:0,"text-color":"main",color:"primary",onClick:n[0]||(n[0]=e=>a.$router.push({name:"game-waypoint-create"})),label:a.$t("components.waypointList.createWaypoint"),class:"q-ma-sm"},null,8,["label"])):C("",!0)])]),t(L),t(S,{color:"primary","card-class":"bg-secondary text-main","table-class":"text-main","table-header-class":"text-primary",flat:"",rows:s.waypoints,columns:s.columns,"row-key":"name",pagination:s.pagination,"rows-per-page-options":[0,25,50,100],"no-results-label":a.$t("components.waypointList.noData"),"loading-label":a.$t("components.waypointList.loadData"),loading:s.loading,filter:a.searchFilter,"pagination-label":r.getPaginationLabel,"rows-per-page-label":`${a.$t("components.waypointList.recordsPerPage")}:`,"onUpdate:pagination":r.updatePagination},{"top-right":o(()=>[t(E,{"input-style":{color:"var(--q-main)"},borderless:"",dense:"",debounce:"300",modelValue:a.searchFilter,"onUpdate:modelValue":n[1]||(n[1]=e=>a.searchFilter=e),placeholder:a.$t("general.search")},{append:o(()=>[t(P,{class:"text-main",name:"search"})]),_:1},8,["input-style","modelValue","placeholder"])]),body:o(e=>[t(Q,{props:e,onClick:O=>r.onRowClick(e.row),class:"cursor-pointer"},{default:o(()=>[t(d,{key:"name",props:e},{default:o(()=>[m(l(e.row.name),1)]),_:2},1032,["props"]),t(d,{key:"label",props:e},{default:o(()=>[m(l(e.row.label),1)]),_:2},1032,["props"]),t(d,{key:"coords",props:e},{default:o(()=>[m(l(e.row.coords),1)]),_:2},1032,["props"])]),_:2},1032,["props","onClick"])]),_:1},8,["rows","columns","pagination","no-results-label","loading-label","loading","filter","pagination-label","rows-per-page-label","onUpdate:pagination"])])])]),_:1})])):(p(),g(u,{key:1}))}const K=w(T,[["render",U]]);export{K as default};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/WaypointsModal.ac8f44d9.js b/resources/[tools]/unlimited-spectre/html/assets/WaypointsModal.ac8f44d9.js
deleted file mode 100644
index f22e3ce6d..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/WaypointsModal.ac8f44d9.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as u,o as y,c as h,w as i,a as e,a5 as d,a7 as r,S as f,a8 as g,a9 as p,ab as n,U as c,aV as C,aa as b,a6 as x,ac as w,aP as q,aQ as v,W as V}from"./app-014d9ed9.js";import{a as _,Q as H,c as Q}from"./QItemLabel.b6dd3adb.js";import{Q as $}from"./QSelect.d7ce3d4c.js";const M={data(){return{input:"",time:0,hwid:!1}},props:{title:String,message:String},emits:["ok","hide"],methods:{show(){this.$refs.dialog.show()},hide(){this.$refs.dialog.hide()},onDialogHide(){this.$emit("hide")},onOKClick(){this.$emit("ok",{input:this.input,time:this.time,hwid:this.hwid}),this.hide()},onCancelClick(){this.hide()}}},S=["innerHTML"],T=["innerHTML"],D={class:"row justify-center"},L={class:"text-caption text-sub q-mt-sm"};function I(a,l,m,k,t,s){return y(),h(w,{ref:"dialog",onHide:s.onDialogHide},{default:i(()=>[e(x,{class:"q-dialog-plugin bg-secondary text-main"},{default:i(()=>[e(d,{class:"row"},{default:i(()=>[r("div",{class:"text-body2",innerHTML:m.title},null,8,S),e(f,{class:"q-ml-auto cursor-pointer",name:"close",onClick:g(s.hide,["stop"])},null,8,["onClick"])]),_:1}),e(d,null,{default:i(()=>[r("div",{class:"text-subtitle1 q-mb-md",innerHTML:m.message},null,8,T),e(p,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",modelValue:t.input,"onUpdate:modelValue":l[0]||(l[0]=o=>t.input=o),label:a.$t("general.reason")},null,8,["input-style","modelValue","label"]),r("div",D,[e(n,{"text-color":"main",color:"primary",label:"1h",class:"q-mt-md q-mx-xs text-lowercase",onClick:l[1]||(l[1]=o=>t.time=3600)}),e(n,{"text-color":"main",color:"primary",label:"1d",class:"q-mt-md q-mx-xs text-lowercase",onClick:l[2]||(l[2]=o=>t.time=3600*24)}),e(n,{"text-color":"main",color:"primary",label:"3d",class:"q-mt-md q-mx-xs text-lowercase",onClick:l[3]||(l[3]=o=>t.time=3600*24*3)}),e(n,{"text-color":"main",color:"primary",label:"7d",class:"q-mt-md q-mx-xs text-lowercase",onClick:l[4]||(l[4]=o=>t.time=3600*24*7)}),e(n,{"text-color":"main",color:"primary",label:"14d",class:"q-mt-md q-mx-xs text-lowercase",onClick:l[5]||(l[5]=o=>t.time=3600*24*14)}),e(n,{"text-color":"main",color:"primary",label:"perm",class:"q-mt-md q-mx-xs text-lowercase",onClick:l[6]||(l[6]=o=>t.time=2147483647)})]),e(p,{"label-color":"primary","input-style":{color:"var(--q-main)"},filled:"",class:"q-mt-md",type:"number",modelValue:t.time,"onUpdate:modelValue":l[7]||(l[7]=o=>t.time=o),label:a.$t("general.time")},null,8,["input-style","modelValue","label"]),r("div",L,c(a.$t("general.bantime")),1),e(C,{class:"q-mt-md text-primary",color:"primary",modelValue:t.hwid,"onUpdate:modelValue":l[8]||(l[8]=o=>t.hwid=o),label:"HWID","left-label":""},null,8,["modelValue"])]),_:1}),e(b,{align:"center"},{default:i(()=>[e(n,{"text-color":"main",color:"primary",label:a.$t("general.ok"),onClick:s.onOKClick},null,8,["label","onClick"])]),_:1})]),_:1})]),_:1},8,["onHide"])}const z=u(M,[["render",I]]),P={name:"WaypointsModal",data(){return{waypoint:{name:null,label:"",coords:{x:0,y:0,z:0}},waypoints:null}},props:{title:String},emits:["ok","hide"],methods:{show(){this.$refs.dialog.show()},hide(){this.$refs.dialog.hide()},onDialogHide(){this.$emit("hide")},onOKClick(){this.$emit("ok",{coords:this.waypoint.coords}),this.hide()},onCancelClick(){this.hide()}},async mounted(){await this.$axios.get("/api/waypoints").then(a=>{const l=a.data.waypoints;if(l.length===0){this.$q.notify({message:"Error",position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t("components.waypoint.msg.error.no_waypoints")});return}this.waypoints=l}).catch(()=>{this.$q.notify({message:"Error",position:"top",color:"red",icon:"fas fa-exclamation-triangle",caption:this.$i18n.t("components.waypoint.msg.error.failedFetchWaypoints")}),this.hide()})}},W=["innerHTML"],B={class:"text-main"};function U(a,l,m,k,t,s){return y(),h(w,{ref:"dialog",onHide:s.onDialogHide},{default:i(()=>[e(x,{class:"q-dialog-plugin bg-secondary text-main"},{default:i(()=>[e(d,{class:"row"},{default:i(()=>[r("div",{class:"text-body2",innerHTML:m.title},null,8,W),e(f,{class:"q-ml-auto cursor-pointer",name:"close",onClick:g(s.hide,["stop"])},null,8,["onClick"])]),_:1}),e(d,null,{default:i(()=>[e($,{label:a.$t("components.waypoint.labels.label"),color:"primary","label-color":"primary",modelValue:t.waypoint,"onUpdate:modelValue":l[0]||(l[0]=o=>t.waypoint=o),options:t.waypoints,"popup-content-style":{backgroundColor:"var(--q-secondary)"}},{selected:i(()=>[r("div",B,c(t.waypoint.label),1)]),option:i(o=>[e(_,q(v(o.itemProps)),{default:i(()=>[e(H,null,{default:i(()=>[e(Q,{class:"text-main"},{default:i(()=>[V(c(o.opt.label),1)]),_:2},1024)]),_:2},1024)]),_:2},1040)]),_:1},8,["label","modelValue","options","popup-content-style"])]),_:1}),e(b,{align:"center"},{default:i(()=>[e(n,{"text-color":"main",color:"primary",label:a.$t("general.ok"),onClick:s.onOKClick,disable:!t.waypoint.name},null,8,["label","onClick","disable"])]),_:1})]),_:1})]),_:1},8,["onHide"])}const E=u(P,[["render",U]]);export{z as P,E as W};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/_commonjsHelpers.c10bf6cb.js b/resources/[tools]/unlimited-spectre/html/assets/_commonjsHelpers.c10bf6cb.js
deleted file mode 100644
index 47c4ba6a9..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/_commonjsHelpers.c10bf6cb.js
+++ /dev/null
@@ -1 +0,0 @@
-var f=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function u(t){var o=t.default;if(typeof o=="function"){var e=function(){return o.apply(this,arguments)};e.prototype=o.prototype}else e={};return Object.defineProperty(e,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}),e}export{f as c,u as g};
diff --git a/resources/[tools]/unlimited-spectre/html/assets/app-014d9ed9.js b/resources/[tools]/unlimited-spectre/html/assets/app-014d9ed9.js
deleted file mode 100644
index 049793ad8..000000000
--- a/resources/[tools]/unlimited-spectre/html/assets/app-014d9ed9.js
+++ /dev/null
@@ -1,32 +0,0 @@
-var Zp=Object.defineProperty;var Xp=(e,t,n)=>t in e?Zp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var qn=(e,t,n)=>(Xp(e,typeof t!="symbol"?t+"":t,n),n);import{e as ln}from"./externalHosting.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))a(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&a(s)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerpolicy&&(i.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?i.credentials="include":r.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function a(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function oo(e,t){const n=Object.create(null),a=e.split(",");for(let r=0;r