import{r as t,h as e}from"./p-9f21f85f.js";import{b as i}from"./p-c44f96b9.js";import{T as p}from"./p-b990d4fa.js";import{g as s}from"./p-905285ef.js";import"./p-6a6f355f.js";import"./p-aa5ffe14.js";import"./p-293acc32.js";import"./p-f2965a61.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-1187cc7c.js";import"./p-881a2bb8.js";import"./p-968ee2ec.js";import"./p-d27cb594.js";import"./p-9c82afa0.js";import"./p-d6c479ab.js";import"./p-10cfccbb.js";import"./p-8d2ddf16.js";import"./p-25d382ec.js";import"./p-3968aca6.js";import"./p-d343a062.js";import"./p-814af281.js";import"./p-e929429b.js";import"./p-c2c9e896.js";import"./p-cb585cde.js";import"./p-3d141e05.js";import"./p-d59ffc5b.js";import"./p-0988b316.js";import"./p-65eb3f89.js";import"./p-42939000.js";import"./p-5d192a8d.js";import"./p-a86d8cf2.js";import"./p-3ccedaa0.js";import"./p-9aa2fafd.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}