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