import{r as s,h as i,H as o,g as a}from"./p-ec7718e6.js";import"./p-2d511d0e.js";import"./p-35c7f358.js";import"./p-3c3b4f3f.js";import"./p-04ac75cf.js";import"./p-d66fb38c.js";import"./p-e249790d.js";import"./p-552063c3.js";import"./p-9c626387.js";import"./p-ae623d5d.js";import"./p-0f7a11a0.js";import"./p-3ad9a076.js";import"./p-a8682d9e.js";import"./p-d343a062.js";import"./p-ce633ff3.js";import"./p-598a7fd7.js";import"./p-c788c392.js";import"./p-6cf8ecf7.js";import"./p-b673f44e.js";import"./p-67db8424.js";import"./p-953734b6.js";import"./p-f411c688.js";import"./p-6a05905d.js";import"./p-0fb5fd0d.js";import{a as t,b as p,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-5dc19923.js";const 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===t?this.isCreateDomainFormShown=!0:s.viewId===p?(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:a,isCreateDomainFormShown:t,isDeleteDomainFormShown:p,isMoveDomainFormShown:r,isUpdateDomainFormShown:m,product:w,products:f,updateDomainFormParams:j,workspaceOwnerships:l,moveDomainFormParams:D,deleteDomainFormParams:g}=this;return i(o,{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:a,view:n(w._id)}),t&&i("dvn-dialog",{raw:!0,shown:!0,onDismiss:()=>this.isCreateDomainFormShown=!1},i("dvn-app-view-form-view",{params:{productId:w._id},view:d(s)})),m&&i("dvn-dialog",{raw:!0,shown:!0,onDismiss:()=>this.isUpdateDomainFormShown=!1},i("dvn-app-view-form-view",{params:j,view:c(s)})),r&&i("dvn-dialog",{raw:!0,shown:!0,onDismiss:()=>this.isMoveDomainFormShown=!1},i("dvn-app-view-form-view",{params:D,view:v(s,f,l)})),p&&i("dvn-dialog",{raw:!0,shown:!0,onDismiss:()=>this.isDeleteDomainFormShown=!1},i("dvn-app-view-form-view",{params:g,view:h(s)})))))}get el(){return a(this)}};export{w as devingen_product_damga_domains}