1import{af as a}from"./vendor-B2oIjyY4.js";import{E as i}from"./event-resource-grant-form-DFxPP5cH.js";import{ru as n,p as u,sE as p}from"./main-CJK8sxkW.js";import"./event-resource-grant-select-B38yPuzX.js";import"./utils-BrGWxHGL.js";import"./types-CfePoqz9.js";import"./util-BfxKk6_A.js";import"./bounded-range-fetch-CggGfMWc.js";import"./vendor-charts-BqgCVUWx.js";const x=()=>{var r;const{source:s}=n(),{workspace:t}=u(),{mutateAsync:o}=p();return a.jsx(i,{id:s.id,type:"event_source",description:"Use the checkboxes below to configure which actions each user group can perform for this event source and its related resources.",createdByUserId:(r=s.created_by_user)==null?void 0:r.id,onSubmitGrants:async c=>{await o({objects:c.map(e=>({user_group_id:e.user_group_id,workspace_id:String(t==null?void 0:t.id),resource_id:s.id,can_edit:e.can_edit??!1,can_sync:e.can_sync??!1,can_access_data:e.can_access_data??!1}))})}})};export{x as EventSourcePermissions}; 2//# sourceMappingURL=grants-ZbMwhNav.js.map
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.