import{r as s,h as i,H as a,g as o}from"./p-1ea36ff3.js";import{a as p,b as t,c as r,e as m,I as e,v as n,f as d,g as c,h as v,i as h}from"./p-0dcb86b2.js";import"./p-19ae7a5c.js";import"./p-681f800a.js";import"./p-eebad85b.js";import"./p-f97ba04a.js";import"./p-944da115.js";import"./p-a2aae1b0.js";import"./p-d50d0ec8.js";import"./p-d343a062.js";import"./p-151f608b.js";import"./p-cd1b0e39.js";import"./p-234c1f97.js";import"./p-6eb29778.js";import"./p-3b35e507.js";import"./p-240d1ae7.js";import"./p-fac8edcc.js";import"./p-48f43f2a.js";import"./p-28c66a78.js";import"./p-35267d98.js";import"./p-d27cb594.js";import"./p-50b95dd8.js";import"./p-35c7f358.js";import"./p-32f47ea6.js";import"./p-b673f44e.js";import"./p-b1fbf520.js";import"./p-6cf8ecf7.js";let w=class{constructor(i){s(this,i),this.isCreateDomainFormShown=!1,this.isMoveDomainFormShown=!1,this.isDeleteDomainFormShown=!1,this.isUpdateDomainFormShown=!1}onAction(s){const i=s.detail;if("navigation"===i.type){const s=i;if("back"===s.direction)this.isCreateDomainFormShown=!1,this.isUpdateDomainFormShown=!1,this.isMoveDomainFormShown=!1,this.isDeleteDomainFormShown=!1;else if("forward"===s.direction){const s=i;s.viewId===p?this.isCreateDomainFormShown=!0:s.viewId===t?(this.isUpdateDomainFormShown=!0,this.updateDomainFormParams=s.params):s.viewId===r?(this.isMoveDomainFormShown=!0,this.moveDomainFormParams=s.params):s.viewId===m&&(this.isDeleteDomainFormShown=!0,this.deleteDomainFormParams=s.params)}}}onInvalidation(s){var i;null===(i=this.el.querySelector(`#${s.detail.targetViewId}`))||void 0===i||i.invalidate(s)}render(){const{apiDamga:s,apiData:o,apiSozluk:p,isCreateDomainFormShown:t,isDeleteDomainFormShown:r,isMoveDomainFormShown:m,isUpdateDomainFormShown:w,product:f,products:j,updateDomainFormParams:l,workspaceOwnerships:b,moveDomainFormParams:D,deleteDomainFormParams:u}=this;return i(a,{class:"container d-block"},i("div",{class:"row justify-content-md-center"},i("div",{class:"col-sm-12"},i("dvn-app-view-list-view-table",{id:e,apiData:o,apiSozluk:p,view:n(f._id)}),t&&i("dvn-dialog",{raw:!0,shown:!0,onDismiss:()=>this.isCreateDomainFormShown=!1},i("dvn-app-view-form-view",{params:{productId:f._id},view:d(s)})),w&&i("dvn-dialog",{raw:!0,shown:!0,onDismiss:()=>this.isUpdateDomainFormShown=!1},i("dvn-app-view-form-view",{params:l,view:c(s)})),m&&i("dvn-dialog",{raw:!0,shown:!0,onDismiss:()=>this.isMoveDomainFormShown=!1},i("dvn-app-view-form-view",{params:D,view:v(s,j,b)})),r&&i("dvn-dialog",{raw:!0,shown:!0,onDismiss:()=>this.isDeleteDomainFormShown=!1},i("dvn-app-view-form-view",{params:u,view:h(s)})))))}get el(){return o(this)}};export{w as devingen_product_damga_domains}