1
0
Fork 0
forked from Simnation/Main
Main/resources/[tools]/unlimited-spectre/html/assets/Role.239e54eb.js

2 lines
25 KiB
JavaScript
Raw Normal View History

2025-06-07 08:51:21 +02:00
import{_ as A,R as a,P as t,o as b,X as M,a7 as m,a as i,w as d,a6 as V,ab as E,c as f,V as y,a5 as c,W as g,U as r,a9 as G,aP as j,aQ as D,T as U,aV as w,aT as n}from"./app-014d9ed9.js";import{Q as R}from"./QBadge.718e7c58.js";import{a as L,Q as C,c as I}from"./QItemLabel.b6dd3adb.js";import{Q as O}from"./QSelect.d7ce3d4c.js";import{d as S}from"./utils.9ce591f3.js";import{B as T}from"./BasicDialog.9dd9de92.js";import"./externalHosting.js";import"./position-engine.65ebcb34.js";import"./selection.2a17b691.js";import"./rtl.b51694b1.js";const B={name:"Role",data(){return{RESOURCE:a,ACTION:t,toggleState:!1,pendingSave:!1,pendingDelete:!1,role:{},roleColors:["red","pink","purple","deep-purple","indigo","blue","light-blue","cyan","teal","green","light-green","lime","yellow","amber","orange","deep-orange","brown","grey","blue-grey"],permissions:{"game.livemap.read":{active:!1,action:t.GAME.LIVEMAP.READ,subject:a.GAME},"game.livemap.player":{active:!1,action:t.GAME.LIVEMAP.PLAYER,subject:a.GAME},"game.livemap.vehicle":{active:!1,action:t.GAME.LIVEMAP.VEHICLE,subject:a.GAME},"game.waypoint.read":{active:!1,action:t.GAME.WAYPOINT.READ,subject:a.GAME},"game.waypoint.modify":{active:!1,action:t.GAME.WAYPOINT.MODIFY,subject:a.GAME},"game.waypoint.delete":{active:!1,action:t.GAME.WAYPOINT.DELETE,subject:a.GAME},"game.waypoint.create":{active:!1,action:t.GAME.WAYPOINT.CREATE,subject:a.GAME},"game.account.read":{active:!1,action:t.GAME.ACCOUNT.READ,subject:a.GAME},"game.player.read":{active:!1,action:t.GAME.PLAYER.READ,subject:a.GAME},"game.player.modify":{active:!1,action:t.GAME.PLAYER.MODIFY,subject:a.GAME},"game.player.delete":{active:!1,action:t.GAME.PLAYER.DELETE,subject:a.GAME},"game.player.license":{active:!1,action:t.GAME.PLAYER.LICENSE,subject:a.GAME},"game.player.job":{active:!1,action:t.GAME.PLAYER.JOB,subject:a.GAME},"game.player.gang":{active:!1,action:t.GAME.PLAYER.GANG,subject:a.GAME},"game.player.kick":{active:!1,action:t.GAME.PLAYER.KICK,subject:a.GAME},"game.player.warn":{active:!1,action:t.GAME.PLAYER.WARN,subject:a.GAME},"game.player.ban":{active:!1,action:t.GAME.PLAYER.BAN,subject:a.GAME},"game.player.money":{active:!1,action:t.GAME.PLAYER.MONEY,subject:a.GAME},"game.player.meta":{active:!1,action:t.GAME.PLAYER.META,subject:a.GAME},"game.player.position":{active:!1,action:t.GAME.PLAYER.POSITION,subject:a.GAME},"game.player.inventory":{active:!1,action:t.GAME.PLAYER.INVENTORY,subject:a.GAME},"game.player.screen":{active:!1,action:t.GAME.PLAYER.SCREEN,subject:a.GAME},"game.vehicle.read":{active:!1,action:t.GAME.VEHICLE.READ,subject:a.GAME},"game.vehicle.modify":{active:!1,action:t.GAME.VEHICLE.MODIFY,subject:a.GAME},"game.vehicle.delete":{active:!1,action:t.GAME.VEHICLE.DELETE,subject:a.GAME},"game.vehicle.create":{active:!1,action:t.GAME.VEHICLE.CREATE,subject:a.GAME},"game.vehicle.despawn":{active:!1,action:t.GAME.VEHICLE.DESPAWN,subject:a.GAME},"game.vehicle.repair":{active:!1,action:t.GAME.VEHICLE.REPAIR,subject:a.GAME},"game.stashes.read":{active:!1,action:t.GAME.STASHES.READ,subject:a.GAME},"game.stashes.modify":{active:!1,action:t.GAME.STASHES.MODIFY,subject:a.GAME},"game.stashes.delete":{active:!1,action:t.GAME.STASHES.DELETE,subject:a.GAME},"game.logs.read":{active:!1,action:t.GAME.LOGS.READ,subject:a.GAME},"game.logs.game":{active:!1,action:t.GAME.LOGS.GAME,subject:a.GAME},"game.logs.player":{active:!1,action:t.GAME.LOGS.PLAYER,subject:a.GAME},"game.logs.dev":{active:!1,action:t.GAME.LOGS.DEV,subject:a.GAME},"game.logs.web":{active:!1,action:t.GAME.LOGS.WEB,subject:a.GAME},"dev.item.read":{active:!1,action:t.DEV.ITEM.READ,subject:a.DEV},"dev.item.modify":{active:!1,action:t.DEV.ITEM.MODIFY,subject:a.DEV},"dev.item.delete":{active:!1,action:t.DEV.ITEM.DELETE,subject:a.DEV},"dev.item.create":{active:!1,action:t.DEV.ITEM.CREATE,subject:a.DEV},"dev.job.read":{active:!1,action:t.DEV.JOB.READ,subject:a.DEV},"dev.job.modify":{active:!1,action:t.DEV.JOB.MODIFY,subject:a.DEV},"dev.job.delete":{active:!1,action:t.DEV.JOB.DELETE,subject:a.DEV},"dev.job.create":{active:!1,action:t.DEV.JOB.CREATE,subject:a.DEV},"dev.gan