1import{d as s,e,f as r,h as i}from"./chunk-DVUC72I7.js";import"./chunk-3U4SAWXA.js";import"./chunk-TX7E3JLP.js";var d=".part-item{--padding-start:1rem;--inner-padding-end:0.75rem;--min-height:2.5rem;align-items:center;align-self:stretch;--background-activated-opacity:0;--background-focused-opacity:0}.part-item:hover{--background-hover:var(--studio-list-item-disappearing-background, linear-gradient(90deg, rgba(255, 255, 255, 0.00) 5%, rgba(255, 255, 255, 0.07) 33.76%, rgba(153, 153, 153, 0.00) 92.5%));--background-hover-opacity:1}.part-item-disabled{color:var(--studio-gray-700, #A3A3A3) !important}.part-item-selected{--background:var(--studio-list-item-disappearing-background, linear-gradient(90deg, rgba(255, 255, 255, 0.00) 5%, rgba(255, 255, 255, 0.07) 33.76%, rgba(153, 153, 153, 0.00) 92.5%))}.part-label{display:flex;height:1rem;flex-direction:column;align-items:flex-start;justify-content:center;flex:1 0 0;font-size:14px;line-height:16px;font-weight:600;font-family:var(--studio-font-family);color:var(--studio-gray-700, #A3A3A3)}.part-studio-button{width:1.5rem;height:1.5rem;-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}",c=(()=>{let a=class{constructor(t){s(this,t),this.addPartsToDeviceSync=i(this,"addPartsToDeviceSync",7),this.itemClicked=i(this,"itemClicked",7),this.fileSynced=!1,this.syncInProgress=!1}syncFile(){this.addPartsToDeviceSync.emit({value:this.sourceItem.key})}selectItem(){this.selected=!0,this.itemClicked.emit({value:this.sourceItem})}render(){return e(r,{key:"04362d7509f14da87f4b0437b3d7cf11acf12574"},e("ion-item",{key:"2a9660519708c6efca4c0936bbcf577d374a5a61",lines:"none",class:"part-item"+(this.disabled?" part-item-disabled":"")+(this.selected?" part-item-selected":""),button:!0,disabled:this.disabled,onClick:()=>this.selectItem()},e("label",{key:"6a201d357cd4e5620d3805517f3589ad1eef3f84",class:"part-label"},this.customLabel||this.sourceItem.value[this.dataLabel]||this.sourceItem.key),this.disabled?null:e("studio-button",{slot:"end",class:"part-studio-button"+(this.fileSynced?"files-synced":""),disabled:this.syncInProgress,onClick:t=>{t.stopPropagation(),this.syncFile()},color:"minimal",size:"icon-sm",loading:this.syncInProgress,endIcon:this.fileSynced?"checkmark-circle-outline":"cloud-download-outline"})))}};return a.style=d,a})();export{c as studio_dropdown_part};
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.