import{r as t,h as e}from"./p-9f21f85f.js";import{b as i}from"./p-f88474bf.js";import{T as p}from"./p-3c2d27ae.js";import{g as s}from"./p-2c9430cc.js";import"./p-3c7a3a90.js";import"./p-7737f905.js";import"./p-0ff0ee91.js";import"./p-62d6b6a7.js";import"./p-0563ceba.js";import"./p-105f7627.js";import"./p-1e47e7bd.js";import"./p-31e77e7b.js";import"./p-825ab276.js";import"./p-6c8be41c.js";import"./p-9f31253b.js";import"./p-1187cc7c.js";import"./p-881a2bb8.js";import"./p-968ee2ec.js";import"./p-d27cb594.js";import"./p-902ec37a.js";import"./p-74e6e642.js";import"./p-84876749.js";import"./p-03b520ca.js";import"./p-e78d5616.js";import"./p-3968aca6.js";import"./p-d343a062.js";import"./p-814af281.js";import"./p-e929429b.js";import"./p-a3d5ad34.js";import"./p-c2c9e896.js";import"./p-67d3bdb0.js";import"./p-1ba76ce7.js";import"./p-0988b316.js";import"./p-65eb3f89.js";import"./p-42939000.js";import"./p-6af4d5e0.js";import"./p-5209de98.js";import"./p-19efc983.js";import"./p-e7d62c6a.js";const r=class{constructor(e){t(this,e)}componentWillLoad(){i(this.contextParams,{fetchConfig:!0}).then((t=>{this.mentornitySessionContext=t,this.view=p.decode({_id:"my-meetings-page-meeting-list-view",i18nEntryId:"my-meetings-page-meeting-list-view",table:s(this.mentornitySessionContext.organisationConfig)})})).catch((t=>{console.log(t),this.error=t}))}onAction(t){const e=t.detail;switch(e.name){case"open-meeting-detail-from-meeting-list":window.dispatchEvent(new CustomEvent("dvn.mentornity-my-meetings-wrapper.open-meeting-detail",{detail:{meetingId:e.params.meetingId}}))}}render(){const{error:t,mentornitySessionContext:i,view:p}=this;if(t)return e("dvn-card",{leanedSides:!0,tint:"danger"},"Failed to get data.");if(!i)return e("div",{class:"d-flex flex-grow-1 justify-content-center pt-3"},e("dvn-progress",{indefinite:!0}));const{apiSozluk:s,mentornityBridgeApi:r,user:o,userSettings:m}=i;return e("dvn-app-view-takvim-meeting-list-view-table",{apiSozluk:s,apiTakvim:r,userSettings:m,view:p,params:{guest1Id:o._id},scrollToFitHeight:!0})}};r.style="mentornity-my-meetings-wrapper{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;overflow:hidden}";export{r as mentornity_my_meetings_wrapper}