1import{r as e,c as a,h as i,a as t}from"./p-CLQce7zD.js";import{i as o}from"./p-BStZpeKB.js";import"./p-YZTT4Nu5.js";import"./p-AuPLCHfl.js";import"./p-E-ZsRS8r.js";const c=class{constructor(i){e(this,i),this.editedUser=a(this,"editedUser",7),this.isPlaysite=!1}save(){this.roleAccess=Object.assign({},this.roleAccess),this.el.closest("ion-popover").dismiss(this.roleAccess)}cancel(){this.el.closest("ion-popover").dismiss()}render(){return i("ion-list",{key:"b7018e4512d2ee1708bba7ce4d0d37c3bddd8d94",class:"ion-no-padding"},i("ion-item",{key:"764d0c63f2ce794b12eb844876a3e93cc057b751"},i("ion-input",{key:"cc4456ab128ad312f95948a1ac01f5ac17dbad71",label:this.isPlaysite?o("MANAGE_USERS.FIRST_NAME_LABEL"):"First Name",labelPlacement:"floating",type:"text",value:this.roleAccess.user.firstName,onIonChange:e=>this.roleAccess.user.firstName=e.detail.value})),i("ion-item",{key:"82ebce67dcb69e796e6ec53d910ba9101222a7b4"},i("ion-input",{key:"bea27ab5efd594942b40e6c923e398fc21e6cbf8",label:this.isPlaysite?o("MANAGE_USERS.LAST_NAME_LABEL"):"Last Name",labelPlacement:"floating",type:"text",value:this.roleAccess.user.lastName,onIonChange:e=>this.roleAccess.user.lastName=e.detail.value})),i("ion-item",{key:"873e84833d33cf441d196ad4ed1bec2d6d2e8598"},i("ion-buttons",{key:"2d69831662c6b6b44f3ce427eaaa39a77bd68ab0",slot:"end"},i("ion-button",{key:"0392d1d44da0f03e67ebe30e7b14f71a9e0f8ebe",fill:"solid",color:"primary",onClick:()=>this.cancel()},i("ion-icon",{key:"f3d57a2c511cad74cc15097476ed7da0ed4aa06b",name:"close-outline"}),this.isPlaysite?o("MANAGE_USERS.CANCEL_BUTTON"):"Cancel"),i("ion-button",{key:"2fd40fd9cfad40231b5ef3a857102ba94d7f8c82",fill:"solid",color:"primary",onClick:()=>this.save()},i("ion-icon",{key:"33aab722f860a26e36f4a7cdaec64621602f39f2",name:"checkmark-outline"}),this.isPlaysite?o("MANAGE_USERS.SAVE_BUTTON"):"Save"))))}get el(){return t(this)}};export{c as edit_user_popover}
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.