var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function o(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n["throw"](e))}catch(e){a(e)}}function l(e){e.done?i(e.value):r(e.value).then(o,s)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,r&&(a=o[0]&2?r["return"]:o[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;if(r=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;r=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(o[0]===6&&i.label<a[1]){i.label=a[1];a=o;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(o);break}if(a[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];r=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{r as registerInstance,h,H as Host,g as getElement}from"./index-ecdfb761.js";import{t as takvimMeetingListI18nDefault}from"./i18n-f54b4247.js";var dvnAppViewTakvimMeetingListViewTableCss="dvn-app-view-takvim-meeting-list-view-table{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;overflow:hidden}";var DvnAppViewTakvimMeetingListViewTable=function(){function e(e){registerInstance(this,e)}e.prototype.invalidate=function(e){return __awaiter(this,void 0,void 0,(function(){var e,t;return __generator(this,(function(i){(t=(e=this.el.querySelector("takvim-meeting-list"))===null||e===void 0?void 0:e.invalidate)===null||t===void 0?void 0:t.call(e);return[2]}))}))};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:e=this;return[4,this.apiSozluk.getContent(this.view.i18nEntryId,takvimMeetingListI18nDefault)];case 1:e.strings=t.sent();return[2]}}))}))};e.prototype.render=function(){var e=this,t=e.scrollToFitHeight,i=e.userSettings,n=e.params,r=n.guest1Id,a=n.guest2Id,o=e.view;var s=[r,a].filter((function(e){return!!e}));return h(Host,null,h("takvim-meeting-list",{apiTakvim:this.apiTakvim,calendarConfigId:o.table._id,guestIDs:s,userSettings:i,strings:this.strings,scrollToFit:t}))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DvnAppViewTakvimMeetingListViewTable.style=dvnAppViewTakvimMeetingListViewTableCss;export{DvnAppViewTakvimMeetingListViewTable as dvn_app_view_takvim_meeting_list_view_table};