PageSourceSearch

https://myg2.g2ocean.com/assets/OrganisationSettingsIndex-CFvUDcR4.js

js g2ocean.com collected 2026-09-26 10:53:23 UTC 1,889 bytes, 1 lines download raw bytes

1import{w as u,x as r,B as d,P as b,C as m,Y as y,V as l,aM as p,ay as I,az as O,j as s}from"./vendor-YXgVPBQl.js";import{c as E,ag as S,aj as w,bl as h,ah as v,cH as x,f as P,O as R,n as _}from"./app_admin-DnIMOVmj.js";import"./vendor_leaflet-D4pRDrnS.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};a.SENTRY_RELEASE={id:"[email protected]"};var n=new a.Error().stack;n&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[n]="f48bd423-246f-438a-a97e-2be1ef5093af",a._sentryDebugIdIdentifier="sentry-dbid-f48bd423-246f-438a-a97e-2be1ef5093af")}catch{}})();const T={class:"col-span-full space-y-2"},C=u({__name:"OrganisationSettingsIndex",props:{organisationId:{},organisation:{}},setup(a){const n=E(),o=s(()=>_(["organization.update.any","organization.update.own"],a.organisation)),c=S(),g=s(()=>{var e,i;return{title:(e=a.organisation)==null?void 0:e.name,actions:v(o.value,{label:"Edit Organisation",icon:"ic:baseline-edit",variant:"btn-secondary",to:{name:"OrganisationSettingsEdit",params:{organisationId:a.organisationId,name:(i=a.organisation)==null?void 0:i.name,view:"show"}}})}}),t=e=>({name:e,params:{organisationId:a.organisationId}}),f=s(()=>{var e;return[{label:"companies",icon:"mdi:briefcase",to:t("OrganisationSettingsCompaniesIndex")},{label:"users",icon:"mdi:account-multiple",to:t("OrganisationSettingsUserListIndex")},{label:"settings",icon:"mdi:cog",to:t("OrganisationSettingsLiveIndex"),enabled:n.isG2OEmployee},{label:"kpi settings",icon:"mdi:bullseye-arrow",to:t("OrganisationSettingsKpisIndex"),enabled:((e=a.organisation)==null?void 0:e.type)!==x.PORT_AGENCY&&P(R.KPIS,a.organisation)&&n.isG2OEmployee}]});return(e,i)=>(r(),d(h,I(O(g.value)),{default:b(()=>[m("div",T,[y(w,{tabs:f.value},null,8,["tabs"]),(r(),d(l(p),{key:l(c)}))])]),_:1},16))}});export{C as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.