{"version":3,"sources":["webpack:///./src/views/Meetings/Calendar.vue","webpack:///./src/components/Calendar/MeetingsCalendar.vue","webpack:///./node_modules/@syncfusion/ej2-schedule/src/schedule/renderer/view-base.js","webpack:///./node_modules/@syncfusion/ej2-schedule/src/schedule/renderer/vertical-view.js","webpack:///./node_modules/@syncfusion/ej2-schedule/src/schedule/renderer/day.js","webpack:///./node_modules/@syncfusion/ej2-schedule/src/schedule/renderer/week.js","webpack:///./node_modules/@syncfusion/ej2-schedule/src/schedule/renderer/work-week.js","webpack:///./node_modules/@syncfusion/ej2-schedule/src/schedule/event-renderer/agenda-base.js","webpack:///./node_modules/@syncfusion/ej2-schedule/src/schedule/renderer/agenda.js","webpack:///./src/components/Calendar/AgendaEventTemplate.vue","webpack:///src/components/Calendar/AgendaEventTemplate.vue","webpack:///./src/components/Calendar/AgendaEventTemplate.vue?a823","webpack:///./src/components/Calendar/AgendaEventTemplate.vue?9b35","webpack:///src/components/Calendar/MeetingsCalendar.vue","webpack:///./src/components/Calendar/MeetingsCalendar.vue?9cfc","webpack:///./src/components/Calendar/MeetingsCalendar.vue?ac69","webpack:///src/views/Meetings/Calendar.vue","webpack:///./src/views/Meetings/Calendar.vue?a41d","webpack:///./src/views/Meetings/Calendar.vue?2f66"],"names":["render","_vm","this","_c","_self","key","redrawIndex","staticClass","searchText","attrs","items","fields","loading","on","clickedRow","scopedSlots","_u","fn","data","_v","_s","FormatDateTimeRelative","item","message","created_date","FormatDateTime","open_from_date","open_to_date","bytesToSize","size","directives","name","rawName","modifiers","$t","message_type","getLogo","has_attachment","_e","subject","message_uuid","external","participants","external_system_participant","loa_level","proxy","totalItems","limit","getSent","model","value","currentPage","callback","$$v","expression","currentView","listMeetingKey","clickedEvent","changedView","staticRenderFns","user","information","loaded","redrawKey","ref","heightPixels","firstDay","locale","onActionComplete","eventSettings","oneventRendered","onCellClick","onCellDoubleClick","popupOpen","navigating","onEventClick","agendaEventTemplate","ViewBase","parent","previousNextAction","prototype","isTimelineView","indexOf","getContentRows","refreshHeader","refreshResourceHeader","element","querySelector","lastElementChild","firstElementChild","resTd","appendChild","resourceBase","createResourceColumn","notify","getDayName","date","getDayNames","getDay","getDate","globalize","formatDate","format","calendar","getCalendarMode","getTime","isAdaptive","activeViewOptions","timeFormat","skeleton","getTimeString","getTimelineDate","text","util","createEventTable","trCount","eventTable","className","getEventRows","eventContainer","eventRows","row","uiStateValues","isGroupAdaptive","renderedResources","setAttribute","parseInt","toString","groupIndex","push","collapseRows","wrap","group","resources","length","hideResourceRows","createTableLayout","clsName","table","tbody","setAriaAttributes","getLabelText","createColGroup","lastRow","colSpan","map","reduce","prev","next","colGroupEle","i","getScrollXIndent","content","offsetHeight","clientHeight","scrollTopPanel","target","getDatesHeaderElement","scrollLeft","scrollHeaderLabels","headerTable","colWidth","offsetWidth","querySelectorAll","applyLeft","headerCells","isRtl","currentCell","tdLeft","hiddenLeft","_i","headerCells_2","cell","getAttribute","Math","floor","children","style","classNames","classNames_1","slice","call","_a","headerCells_1","enableRtl","addAttributes","td","template","getHeaderBarHeight","headerBarHeight","headerModule","getHeaderElement","resHeader","renderPanel","type","setPanel","panel","getPanel","getDateSlots","renderDates","workDays","generateColumnLevels","getColumnLevels","colLevels","highlightCurrentTime","getStartDate","getEndDate","startDate","endDate","getStartHour","startHour","getStartEndTime","Date","getEndHour","endHour","isCurrentDate","setHours","currentTimezoneDate","isCurrentMonth","displayDate","numberOfWeeks","activeView","getCurrentTime","getFullYear","getMonth","isWorkDay","isWorkHour","setMilliseconds","getRenderDates","selectedDate","start","firstDayOfWeek","length_1","interval","showWeekend","length_2","dayCount","agendaDaysCount","previousNextIconHandler","getNextPreviousDate","daysCount","count","weekLength","view","viewStr","charAt","toLowerCase","substring","localeObj","getConstant","getDateRangeText","dateFormat","formatDateRange","formattedStr","longDateFormat","mode","trim","toLocaleLowerCase","substr","getMobileDateElement","innerHTML","setResourceHeaderContent","tdElement","tdData","resourceHeaderTemplate","resource","resourceData","scheduleId","id","viewName","resourceHeaderTemplateName","templateId","quickTemplate","getResourceHeaderTemplate","resourceText","sanitize","textField","renderResourceMobileLayout","lastResourceLevel","renderResourceHeader","renderResourceTree","addAutoHeightClass","rowAutoHeight","getColElements","setColWidth","colElements","contentBody","colWidth_1","getBoundingClientRect","width","resourceColumn","cssClass","headerCellElements","forEach","ele","headerCellColSpan","resetColWidth","colElements_1","col","getContentAreaElement","wireExpandCollapseIconEvents","resourceCollection","treeIcons","treeIcons_1","icon","clearEvents","add","onTreeIconClick","scrollToDate","scrollDate","scrollWrap","tdDate","dateElement","scrollWidth","clientWidth","getContentTable","offsetLeft","scrollTop","offsetTop","setPersistence","enablePersistence","contentWrap","retainScrollPosition","conWrap","getViewStartDate","getResourceRenderDates","getViewEndDate","getAdjustedDate","startTime","timeScale","enable","setDate","resetColLevels","expandedResources","renderedCount","virtualScrollModule","getRenderedCount","lastLevel","byDate","index","setRenderedDates","destroy","parentNode","__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","constructor","create","_super","VerticalView","_this","viewClass","isInverseTableSelect","baseCssClass","appointment","getModuleName","addEventListener","scrollUiUpdate","renderEvents","removeEventListener","off","renderAppointments","onContentScroll","e","removeNewEventElement","scrollLeftPanel","top","left","quickPopup","quickPopupHide","onAdaptiveMove","action","preventDefault","onAdaptiveScroll","isDestroyed","leftPanel","getLeftPanelElement","args","dateHeader","timeCells","getScrollableElement","header","scrollerHeight","setContentHeight","scrollBarWidth","cssProperties","rtlBorder","rtlPadding","isDateHeaderScroll","enableAllDayScroll","classList","contains","border","padding","isPreventScrollUpdate","isInitial","scrollToWorkHour","leftPanelElement","height","workHours","highlight","firstWorkHourCell","scrollToHour","hour","headerElement","getTopFromDateTime","level","columnLevels","generateResourceLevels","hideNonWorkingDays","setProperties","setCalendarDate","updateDateRange","resourceLevel","resStartHour","startHourField","resEndHour","endHourField","dateSlots","workStartHour","workEndHour","end","dateCol","renderDates_1","isWorkHourRange","headerRows","option","currentDate","showTimeIndicator","currentDateIndex","getCurrentTimeIndicatorIndex","workCells","changeCurrentTimePosition","currentTimeIndicatorTimer","getSeconds","getMilliseconds","window","setTimeout","clearCurrentTimeIndicatorTimer","updateCurrentTimeIndicatorTimer","allowVirtualScrolling","_b","getIndexOfDate","resIndex","clearInterval","removeCurrentTimeIndicatorElements","setInterval","queryString","timeIndicator","timeIndicator_1","indicator","firstRow","rows","topInPx","rowIndex","cells","timeCellsWrap","timeTrs","isNaN","curTimeWrap","styles","currentDateIndex_1","day","currentTimeEle","diffInMinutes","getHours","getMinutes","getWorkCellHeight","slotCount","parseFloat","toFixed","getTdContent","cntEle","wrapper","templateName","dateHeaderTemplate","dateHeaderTemplateName","getDateHeaderTemplate","childNodes","majorSlotTemplate","getMajorSlotTemplate","minorSlotTemplate","getMinorSlotTemplate","cellTemplate","cellTemplateName","getCellTemplate","renderHeader","renderLayout","clsList","ignoreWhitespace","renderContent","tr","dateTd","renderDatesHeader","indentTd","renderLeftIndent","workTd","scrollContainer","renderTimeCells","renderContentArea","touchMoveEvent","levels","timesTd","renderVirtualTrack","nth","tbl","trEle","rowCount","ntr_1","cloneNode","data_1","showWeekNumber","weekNo","getWeekNumberContent","title","createTd","renderHeaderIndentTemplate","ntr","appointmentExpandCollapse","container","j","createAllDayRow","ntd","wireCellEvents","thead","eventBase","createEventWrapper","tdEle","isMinMaxDate","wireMouseEvents","elementType","trigger","workCellAction","cellMouseDown","cellClick","cellDblClick","handler","r","first","last","getTimeSlotRows","renderContentTable","tBody","renderContentTableHeader","createContentTd","getContentTdClass","cellDate","args_1","tooltipTemplate","getEndDateFromStartDate","msMajorInterval","msInterval","round","msStartHour","msEndHour","duration","abs","getTimezoneOffset","dt","timeOffset","majorTickDivider","middle","timeSlots","contentScrollableEle","remove","scheduleTouchModule","resetValues","Day","Week","WorkWeek","AgendaBase","createAgendaContentElement","listData","aTd","groupOrder","listElement","fieldMapping","eventFields","noEvents","createList","createElement","moduleName","listClass","itemClass","listElements","li","templateEle","appWrapper","Guid","getReadonlyAttribute","getAnnouncementString","applyResourceColor","eventTemplate","createAppointment","eventTemplateName","getAppointmentTemplate","recurrenceRule","iconClass","recurrenceID","cancel","eventArgs","renderTemplates","event","eventSubject","default","eventLocation","location","appSubjectWrap","appSubjectText","appLocation","strDate","endTime","isAllDay","allDayStr","timeStr","milliSeconds","eventString","displayStr","appDateTime","processAgendaEvents","events","eventsProcessed","events_1","event_1","spanned","splitEventByDay","concat","wireEventActions","eventElement","eventElement_1","wireAppointmentEvents","getEventDetails","dateHeaderElement","dateHeaderElement_1","agendaModule","dayNavigationClick","calculateResourceTableElement","noOfDays","agendaDate","agendaLastDate","days","resColl","resData","initialDate","lastLevelInfo","tempLastLevelInfo","tempIndex","eventObj","dateObj","firstDate","finalDate","agendaCollection","filterEvents","hideEmptyAgendaDays","res","resDataCollection","resDayCollection","undefined","rowSpan","eventData","tempObj","topResources","tempGroupedData","totalRowSpan","y","dataSource","x","z","u","idField","createResourceTableRow","totalCollection","renderEmptyContent","tContent","tempData","tContentCollection","parentCollection","w","rowSpanCollection","filter","createDateHeaderElement","insertBefore","dateTemplate","eTr","createTableRowElement","eTd","dTd","Agenda","agendaDates","virtualScrollTop","wireEvents","eventLoad","eventsData","generatedDates","eventCollection","processedData","filterEventsByResource","renderInitialContent","contentArea","refreshEvent","refreshDate","generateOccurrence","emptyTBody","lastDate","contentChild","emptyTBody_1","minDate","isObject","appointmentFiltering","updateHeaderText","updateHeaderItems","filterData","nTr","cTd","agendaScrolling","virtualScrolling","filterDate","scrollHeight","totalHeight","direction","topElement","getElementFromScrollerPosition","getDateFromElement","getPreviousNextDate","s","scrollToValue","selectedElements","getSelectedAppointments","focus","filterElement","liDetails","liCollection","a","showHeaderBar","getStartDateFromEndDate","dateStart","dateEnd","min","apply","max","maxDate","currentTarget","changeView","unWireEvents","onAgendaScrollUiUpdate","headerHeight","getEvents","changeDate","GetTitle","messageIcon","Location","Subject","methods","getFormattedTime","IsCreator","FromName","computed","FromUserUuid","user_uuid","SameDay","StartTime","toISOString","EndTime","getYear","mounted","component","loadCldr","require","CustomAdaptor","ODataV4Adaptor","vueInstance","vue","processResponse","original","arguments","arr","responseObject","Id","Description","description","IsReadonly","isReadonly","Recurrence","recurrence","RoomId","roomId","MessageUuid","messageUuid","from_useruuid","from_name","FromEmail","from_email","CategoryColor","props","provide","schedule","components","readOnly","localeText","AgendaEventTemplate","categoryColor","backgroundColor","$emit","obj","init","teams","context","DataManager","url","hostname","adaptor","crossDomain","headers","$cookies","get","token","setCulture","L10n","load","pixels","innerHeight","SentRecipients","MeetingsCalendar","selectedIndex","state","options","class","thClass","label","sortable","changeList","console","log","UpdateItem","self","$http","post","functionbox_uuid","then","response","removed","splice","catch","watch","refresh"],"mappings":"+5VAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,UAAU,CAACE,IAAI,QAAUJ,EAAIK,YAAYC,YAAY,QAAQ,CAAoB,IAAlBN,EAAIO,WAAkBL,EAAG,MAAM,CAACA,EAAG,UAAU,CAACM,MAAM,CAAC,MAAQ,GAAG,SAAW,GAAG,MAAQR,EAAIS,MAAM,MAAQ,GAAG,OAAST,EAAIU,OAAO,KAAOV,EAAIW,SAASC,GAAG,CAAC,cAAcZ,EAAIa,YAAYC,YAAYd,EAAIe,GAAG,CAAC,CAACX,IAAI,6BAA6BY,GAAG,SAASC,GAAM,MAAO,CAACjB,EAAIkB,GAAGlB,EAAImB,GAAGnB,EAAIoB,uBAAuBH,EAAKI,KAAKC,QAAQC,mBAAmB,CAACnB,IAAI,+BAA+BY,GAAG,SAASC,GAAM,MAAO,CAACjB,EAAIkB,GAAGlB,EAAImB,GAAGnB,EAAIwB,eAAeP,EAAKI,KAAKC,QAAQG,qBAAqB,CAACrB,IAAI,6BAA6BY,GAAG,SAASC,GAAM,MAAO,CAACjB,EAAIkB,GAAGlB,EAAImB,GAAGnB,EAAIwB,eAAeP,EAAKI,KAAKC,QAAQI,mB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,MAAA,2CACAG,UAAA,MAKA7E,QAAA,CACA8E,aACA,KAAAnxB,YAAA,EACA,KAAAH,WAEAZ,QAAAd,GACA,2BAAAA,EAAA,QAEAR,WAAAI,EAAAiU,GACA,KAAA4e,cAAA5e,EACA,KAAAud,MAAA,iBAAAxxB,EAAAK,QAAAiB,eAEAQ,QAAA,WAqBAuxB,QAAAC,IAAA,YAEAC,WAAA,SAAAjyB,GACA,OAAAA,EAAA,CACA,IAAAkyB,EAAA,KACA,KAAAC,MACAC,KAAA,KAAAhxB,KAAAqvB,SAAA,8BACA4B,iBAAA,GACAryB,iBAEAsyB,KAAAC,IAEA,GAAAA,EAAA7zB,KAAAK,QAAAyzB,SACA,GAAAD,EAAA7zB,KAAAK,QAAAyzB,QAEAN,EAAAh0B,MAAAu0B,OAAAP,EAAAX,cAAA,GAEAW,EAAAh0B,MAAAg0B,EAAAX,eAAAgB,EAAA7zB,KAEAwzB,EAAAp0B,YAAAo0B,EAAAp0B,YAAA,IAEA40B,MAAA,UAGAzxB,aAAAnC,GACAA,EAAA4uB,QAAA5uB,EAAA4uB,QAAAD,cACA3uB,EAAA0uB,UAAA1uB,EAAA0uB,UAAAC,cACA,KAAAyC,MAAA,iBAAApxB,IAEAoC,YAAAyL,GACA,KAAA5L,YAAA4L,IAGAygB,SAAA,CACApsB,iBACA,6BAAAlD,cAGA60B,MAAA,CACA30B,WAAA,WACA,QAAAA,WAAA8H,QACA,KAAAtF,UAEA,KAAAxC,WAAA8H,QAAA,GACA,KAAAtF,WAGAoyB,UACA,KAAA90B,eAEAyC,MAAA,WACA,KAAAC,YAGAotB,QAAA,WACA,KAAAptB,YC/QiW,ICO7V,EAAY,eACd,EACAhD,EACA2D,GACA,EACA,KACA,KACA,MAIa,e","file":"js/MeetingsSent~31ecd969.530a43ee.4.2.0.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('section',{key:'sent_' + _vm.redrawIndex,staticClass:\"mt-2\"},[(_vm.searchText != '')?_c('div',[_c('b-table',{attrs:{\"small\":\"\",\"bordered\":\"\",\"items\":_vm.items,\"hover\":\"\",\"fields\":_vm.fields,\"busy\":_vm.loading},on:{\"row-clicked\":_vm.clickedRow},scopedSlots:_vm._u([{key:\"cell(message.created_date)\",fn:function(data){return [_vm._v(_vm._s(_vm.FormatDateTimeRelative(data.item.message.created_date)))]}},{key:\"cell(message.open_from_date)\",fn:function(data){return [_vm._v(_vm._s(_vm.FormatDateTime(data.item.message.open_from_date)))]}},{key:\"cell(message.open_to_date)\",fn:function(data){return [_vm._v(_vm._s(_vm.FormatDateTime(data.item.message.open_to_date)))]}},{key:\"cell(message.size)\",fn:function(data){return [_vm._v(\"\\n \"+_vm._s(_vm.bytesToSize(data.item.message.size))+\"\\n \")]}},{key:\"cell(message.message_type)\",fn:function(data){return [_c('b-img',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",modifiers:{\"hover\":true}}],attrs:{\"height\":\"20\",\"width\":\"20\",\"title\":_vm.$t('MESSAGES.TYPE.' + data.item.message.message_type),\"alt\":_vm.$t('MESSAGES.TYPE.' + data.item.message.message_type),\"src\":_vm.getLogo(data.item.message.message_type)}})]}},{key:\"cell(message.has_attachment)\",fn:function(data){return [(data.item.message.has_attachment)?_c('span',[_c('i',{staticClass:\"fal fa-paperclip\"})]):_vm._e()]}},{key:\"cell(message.id)\",fn:function(data){return [(data.item.message.has_attachment)?_c('span',[_c('i',{staticClass:\"fal fa-paperclip\"})]):_vm._e(),_vm._v(\"\\n \"+_vm._s(data.item.message.subject)),_c('br'),_c('small',[_vm._v(_vm._s(_vm.FormatDateTimeRelative(data.item.message.created_date)))]),_c('br'),_c('SentRecipients',{attrs:{\"message_uuid\":data.item.message.message_uuid,\"external\":data.item.external,\"participants\":data.item.participants,\"external_system_participant\":data.item.external_system_participant}})]}},{key:\"cell(message.loa_level)\",fn:function(data){return [(data.item.message.loa_level != 1)?_c('i',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",modifiers:{\"hover\":true}}],staticClass:\"fal fa-info-square\",attrs:{\"title\":_vm.$t('LOA.INFO.' + data.item.message.loa_level)}}):_vm._e(),_vm._v(\"\\n \"+_vm._s(_vm.$t(\"LOA.LEVEL.\" + data.item.message.loa_level))+\"\\n \")]}},{key:\"cell(message.custom_identifier)\",fn:function(data){return [_c('SentRecipients',{attrs:{\"message_uuid\":data.item.message_uuid,\"external\":data.item.external,\"participants\":data.item.participants,\"external_system_participant\":data.item.external_system_participant}})]}},{key:\"table-busy\",fn:function(){return [_c('div',{staticClass:\"text-center my-2\"},[_c('b-spinner',{staticClass:\"align-middle\"})],1)]},proxy:true}],null,false,3785123158)}),_c('b-pagination',{staticClass:\"mt-2\",attrs:{\"total-rows\":_vm.totalItems,\"per-page\":_vm.limit,\"pills\":\"\"},on:{\"input\":_vm.getSent},model:{value:(_vm.currentPage),callback:function ($$v) {_vm.currentPage=$$v},expression:\"currentPage\"}})],1):_vm._e(),(_vm.searchText == '')?_c('MeetingsCalendar',{key:'MeetingsCalendar_' + _vm.redrawIndex,attrs:{\"currentView\":_vm.currentView,\"redrawView\":_vm.listMeetingKey},on:{\"clickedEvent\":_vm.clickedEvent,\"changedView\":_vm.changedView}}):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.user.information)?_c('section',[(_vm.loaded)?_c('ejs-schedule',{key:_vm.redrawKey,ref:\"ScheduleObj\",attrs:{\"readOnly\":\"true\",\"height\":_vm.heightPixels,\"firstDayOfWeek\":_vm.firstDay,\"locale\":_vm.user.information.locale,\"currentView\":_vm.currentView,\"actionComplete\":_vm.onActionComplete,\"showHeaderBar\":\"false\",\"allowInline\":\"false\",\"allowAdding\":\"false\",\"allowEditing\":\"false\",\"enableMaxHeight\":\"false\",\"allowMultiRowSelection\":\"false\",\"showQuickInfo\":\"false\",\"eventSettings\":_vm.eventSettings,\"eventRendered\":_vm.oneventRendered},on:{\"cellClick\":_vm.onCellClick,\"cellDoubleClick\":_vm.onCellDoubleClick,\"popupOpen\":_vm.popupOpen,\"navigating\":_vm.navigating,\"eventClick\":_vm.onEventClick}},[_c('e-views',[_c('e-view',{attrs:{\"option\":\"Day\",\"eventTemplate\":_vm.agendaEventTemplate}}),_c('e-view',{attrs:{\"option\":\"Week\",\"eventTemplate\":_vm.agendaEventTemplate}}),_c('e-view',{attrs:{\"option\":\"WorkWeek\",\"eventTemplate\":_vm.agendaEventTemplate}}),_c('e-view',{attrs:{\"option\":\"Agenda\",\"eventTemplate\":_vm.agendaEventTemplate}})],1)],1):_vm._e()],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { createElement, append, prepend, isNullOrUndefined, getValue, getDefaultDateObject, cldrData, addClass, setStyleAttribute, formatUnit, EventHandler, remove } from '@syncfusion/ej2-base';\nimport * as cls from '../base/css-constant';\nimport * as event from '../base/constant';\nimport * as util from '../base/util';\n/**\n * view base\n */\nvar ViewBase = /** @class */ (function () {\n /**\n * Constructor\n *\n * @param {Schedule} parent Accepts the schedule instance\n */\n function ViewBase(parent) {\n this.previousNextAction = 'next';\n this.parent = parent;\n }\n ViewBase.prototype.isTimelineView = function () {\n return this.parent.currentView.indexOf('Timeline') !== -1;\n };\n ViewBase.prototype.getContentRows = function () {\n return [];\n };\n ViewBase.prototype.refreshHeader = function () {\n // Method to refresh the date header\n };\n ViewBase.prototype.refreshResourceHeader = function () {\n remove(this.element.querySelector('tbody').lastElementChild.firstElementChild);\n var resTd = createElement('td');\n resTd.appendChild(this.parent.resourceBase.createResourceColumn());\n prepend([resTd], this.element.querySelector('tbody').lastElementChild);\n this.parent.notify(event.contentReady, {});\n };\n ViewBase.prototype.getDayName = function (date) {\n return this.parent.getDayNames('abbreviated')[date.getDay()];\n };\n ViewBase.prototype.getDate = function (date) {\n return this.parent.globalize.formatDate(date, { format: 'd', calendar: this.parent.getCalendarMode() });\n };\n ViewBase.prototype.getTime = function (date) {\n if (this.parent.isAdaptive) {\n if (this.parent.activeViewOptions.timeFormat === 'HH:mm' || this.parent.activeViewOptions.timeFormat === 'HH.mm') {\n return this.parent.globalize.formatDate(date, { format: 'H', calendar: this.parent.getCalendarMode() });\n }\n return this.parent.globalize.formatDate(date, { skeleton: 'h', calendar: this.parent.getCalendarMode() });\n }\n return this.parent.getTimeString(date);\n };\n ViewBase.prototype.getTimelineDate = function (date) {\n var text = this.parent.globalize.formatDate(date, { skeleton: 'MMMd', calendar: this.parent.getCalendarMode() }) + ', ' +\n this.parent.getDayNames('wide')[date.getDay()];\n return util.capitalizeFirstWord(text, 'multiple');\n };\n ViewBase.prototype.createEventTable = function (trCount) {\n var eventTable = createElement('div', { className: cls.EVENT_TABLE_CLASS });\n append(this.getEventRows(trCount), eventTable);\n return eventTable;\n };\n ViewBase.prototype.getEventRows = function (trCount) {\n var eventRows = [];\n var eventContainer;\n for (var row = 0; row < trCount; row++) {\n eventContainer = createElement('div', { className: cls.APPOINTMENT_CONTAINER_CLASS });\n if (this.parent.resourceBase && !this.parent.uiStateValues.isGroupAdaptive && this.parent.resourceBase.renderedResources) {\n eventContainer.setAttribute('data-group-index', this.parent.resourceBase.renderedResources[parseInt(row.toString(), 10)].groupIndex.toString());\n }\n eventRows.push(eventContainer);\n }\n return eventRows;\n };\n ViewBase.prototype.collapseRows = function (wrap) {\n if (this.parent.activeViewOptions.group.resources.length > 0 && !this.parent.uiStateValues.isGroupAdaptive) {\n this.parent.resourceBase.hideResourceRows(wrap.querySelector('tbody'));\n this.parent.resourceBase.hideResourceRows(wrap.querySelector('.' + cls.EVENT_TABLE_CLASS));\n }\n };\n ViewBase.prototype.createTableLayout = function (className) {\n var clsName = className || '';\n var table = createElement('table', { className: cls.SCHEDULE_TABLE_CLASS + ' ' + clsName });\n var tbody = createElement('tbody');\n table.appendChild(tbody);\n return table;\n };\n ViewBase.prototype.setAriaAttributes = function (table) {\n table.setAttribute('role', 'grid');\n table.setAttribute('aria-label', this.getLabelText(this.parent.currentView));\n };\n ViewBase.prototype.createColGroup = function (table, lastRow) {\n var length = lastRow.length;\n if (lastRow[0] && lastRow[0].colSpan) {\n length = lastRow.map(function (value) { return value.colSpan; }).reduce(function (prev, next) { return prev + next; });\n }\n var colGroupEle = createElement('colgroup');\n for (var i = 0; i < length; i++) {\n colGroupEle.appendChild(createElement('col'));\n }\n prepend([colGroupEle], table);\n };\n ViewBase.prototype.getScrollXIndent = function (content) {\n return content.offsetHeight - content.clientHeight > 0 ? util.getScrollBarWidth() : 0;\n };\n ViewBase.prototype.scrollTopPanel = function (target) {\n this.getDatesHeaderElement().firstElementChild.scrollLeft = target.scrollLeft;\n };\n ViewBase.prototype.scrollHeaderLabels = function (target) {\n var headerTable = this.element.querySelector('.e-date-header-wrap table');\n var colWidth = headerTable.offsetWidth / headerTable.querySelectorAll('colgroup col').length;\n var applyLeft = function (headerCells, isRtl) {\n var currentCell;\n var tdLeft = 0;\n var colSpan = 0;\n var hiddenLeft = isRtl ? -(target.scrollLeft) : target.scrollLeft;\n for (var _i = 0, headerCells_2 = headerCells; _i < headerCells_2.length; _i++) {\n var cell = headerCells_2[_i];\n colSpan += parseInt(cell.getAttribute('colSpan'), 10);\n if (colSpan > Math.floor(hiddenLeft / colWidth)) {\n currentCell = cell;\n break;\n }\n tdLeft += cell.offsetWidth;\n }\n if (!isNullOrUndefined(currentCell)) {\n currentCell.children[0].style[isRtl ? 'right' : 'left'] = (hiddenLeft - tdLeft) + 'px';\n }\n };\n var classNames = ['.e-header-year-cell', '.e-header-month-cell', '.e-header-week-cell', '.e-header-cells'];\n for (var _i = 0, classNames_1 = classNames; _i < classNames_1.length; _i++) {\n var className = classNames_1[_i];\n var headerCells = [].slice.call(this.element.querySelectorAll(className));\n if (headerCells.length > 0) {\n for (var _a = 0, headerCells_1 = headerCells; _a < headerCells_1.length; _a++) {\n var element = headerCells_1[_a];\n element.children[0].style[this.parent.enableRtl ? 'right' : 'left'] = '';\n }\n applyLeft(headerCells, this.parent.enableRtl);\n }\n }\n };\n ViewBase.prototype.addAttributes = function (td, element) {\n if (td.template) {\n append(td.template, element);\n }\n if (td.colSpan) {\n element.setAttribute('colspan', td.colSpan.toString());\n }\n if (td.className) {\n addClass([element], td.className);\n }\n };\n ViewBase.prototype.getHeaderBarHeight = function () {\n var headerBarHeight = 2;\n if (this.parent.headerModule) {\n headerBarHeight += util.getOuterHeight(this.parent.headerModule.getHeaderElement());\n }\n if (this.parent.uiStateValues.isGroupAdaptive) {\n var resHeader = this.parent.element.querySelector('.' + cls.RESOURCE_HEADER_TOOLBAR);\n if (resHeader) {\n headerBarHeight += resHeader.offsetHeight;\n }\n }\n return headerBarHeight;\n };\n ViewBase.prototype.renderPanel = function (type) {\n if (type === cls.PREVIOUS_PANEL_CLASS) {\n prepend([this.element], this.parent.element.querySelector('.' + cls.TABLE_CONTAINER_CLASS));\n }\n else {\n this.parent.element.querySelector('.' + cls.TABLE_CONTAINER_CLASS).appendChild(this.element);\n }\n };\n ViewBase.prototype.setPanel = function (panel) {\n this.element = panel;\n };\n ViewBase.prototype.getPanel = function () {\n return this.element;\n };\n ViewBase.prototype.getDatesHeaderElement = function () {\n return this.element.querySelector('.' + cls.DATE_HEADER_CONTAINER_CLASS);\n };\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n ViewBase.prototype.getDateSlots = function (renderDates, workDays) {\n return []; // Here getDateSlots only need in vertical and month views\n };\n ViewBase.prototype.generateColumnLevels = function () {\n return []; // Here generateColumnLevels only need in vertical and month views\n };\n ViewBase.prototype.getColumnLevels = function () {\n return this.colLevels;\n };\n ViewBase.prototype.highlightCurrentTime = function () {\n // Here showTimeIndicator functionalities\n };\n ViewBase.prototype.getStartDate = function () {\n return this.renderDates[0];\n };\n ViewBase.prototype.getEndDate = function () {\n return this.renderDates[this.renderDates.length - 1];\n };\n ViewBase.prototype.startDate = function () {\n return this.renderDates[0];\n };\n ViewBase.prototype.endDate = function () {\n return util.addDays(this.renderDates[this.renderDates.length - 1], 1);\n };\n ViewBase.prototype.getStartHour = function () {\n var startHour = this.parent.getStartEndTime(this.parent.activeViewOptions.startHour);\n if (isNullOrUndefined(startHour)) {\n startHour = new Date(2000, 0, 0, 0);\n }\n return startHour;\n };\n ViewBase.prototype.getEndHour = function () {\n var endHour = this.parent.getStartEndTime(this.parent.activeViewOptions.endHour);\n if (isNullOrUndefined(endHour)) {\n endHour = new Date(2000, 0, 0, 0);\n }\n return endHour;\n };\n ViewBase.prototype.isCurrentDate = function (date) {\n return date.setHours(0, 0, 0, 0) === new Date(this.parent.currentTimezoneDate).setHours(0, 0, 0, 0);\n };\n ViewBase.prototype.isCurrentMonth = function (date) {\n if (this.parent.activeViewOptions.displayDate || this.parent.activeViewOptions.numberOfWeeks > 0) {\n return this.parent.activeView.getStartDate().getTime() <= this.parent.getCurrentTime().getTime() &&\n this.parent.activeView.getEndDate().getTime() >= this.parent.getCurrentTime().getTime();\n }\n return date.getFullYear() ===\n this.parent.getCurrentTime().getFullYear() && date.getMonth() === this.parent.getCurrentTime().getMonth();\n };\n ViewBase.prototype.isWorkDay = function (date, workDays) {\n if (workDays === void 0) { workDays = this.parent.activeViewOptions.workDays; }\n if (workDays.indexOf(date.getDay()) >= 0) {\n return true;\n }\n return false;\n };\n ViewBase.prototype.isWorkHour = function (date, startHour, endHour, workDays) {\n if (isNullOrUndefined(startHour) || isNullOrUndefined(endHour)) {\n return false;\n }\n startHour.setMilliseconds(0);\n endHour.setMilliseconds(0);\n return !(util.getDateInMs(date) < util.getDateInMs(startHour) || util.getDateInMs(date) >= util.getDateInMs(endHour) ||\n !this.isWorkDay(date, workDays));\n };\n ViewBase.prototype.getRenderDates = function (workDays) {\n var renderDates = [];\n // Due to same code for vertical and time line, week & work week views, if condition has used\n if (this.parent.currentView === 'Week' || this.parent.currentView === 'TimelineWeek') {\n var selectedDate = util.resetTime(this.parent.selectedDate);\n var start = util.getWeekFirstDate(selectedDate, this.parent.activeViewOptions.firstDayOfWeek);\n for (var i = 0, length_1 = util.WEEK_LENGTH * this.parent.activeViewOptions.interval; i < length_1; i++) {\n if (this.parent.activeViewOptions.showWeekend) {\n renderDates.push(start);\n }\n else {\n if (this.isWorkDay(start, workDays)) {\n renderDates.push(start);\n }\n }\n start = util.addDays(start, 1);\n }\n }\n else if (this.parent.currentView === 'WorkWeek' || this.parent.currentView === 'TimelineWorkWeek') {\n var start = util.getWeekFirstDate(util.resetTime(this.parent.selectedDate), this.parent.activeViewOptions.firstDayOfWeek);\n for (var i = 0, length_2 = util.WEEK_LENGTH * this.parent.activeViewOptions.interval; i < length_2; i++) {\n if (this.isWorkDay(start, workDays)) {\n renderDates.push(start);\n }\n start = util.addDays(start, 1);\n }\n }\n else {\n var dayCount = this.parent.currentView === 'Agenda' ? this.parent.agendaDaysCount :\n this.parent.activeViewOptions.interval;\n var start = util.resetTime(this.parent.selectedDate);\n do {\n if (this.parent.activeViewOptions.showWeekend) {\n renderDates.push(start);\n }\n else {\n if (this.isWorkDay(start, workDays)) {\n renderDates.push(start);\n }\n }\n start = util.addDays(start, 1);\n } while (dayCount !== renderDates.length);\n }\n if (!workDays) {\n this.renderDates = renderDates;\n }\n if (this.parent.headerModule) {\n this.parent.headerModule.previousNextIconHandler();\n }\n return renderDates;\n };\n ViewBase.prototype.getNextPreviousDate = function (type) {\n this.previousNextAction = type;\n if (this.parent.currentView === 'Day' || this.parent.currentView === 'TimelineDay') {\n if (this.parent.activeViewOptions.showWeekend) {\n var daysCount = this.parent.activeViewOptions.interval;\n return util.addDays(this.parent.selectedDate, type === 'next' ? daysCount : -daysCount);\n }\n else {\n var date = void 0;\n if (type === 'next') {\n date = util.addDays(this.renderDates.slice(-1)[0], 1);\n while (!this.isWorkDay(date)) {\n date = util.addDays(date, 1);\n }\n }\n else {\n date = util.addDays(this.renderDates[0], -1);\n var count = 0;\n do {\n if (this.isWorkDay(date)) {\n count += 1;\n }\n if (this.parent.activeViewOptions.interval !== count) {\n date = util.addDays(date, -1);\n }\n } while (this.parent.activeViewOptions.interval !== count);\n }\n return date;\n }\n }\n var weekLength = type === 'next' ? util.WEEK_LENGTH : -util.WEEK_LENGTH;\n return util.addDays(this.parent.selectedDate, weekLength * this.parent.activeViewOptions.interval);\n };\n ViewBase.prototype.getLabelText = function (view) {\n var viewStr = view.charAt(0).toLowerCase() + view.substring(1);\n return this.parent.localeObj.getConstant(viewStr) + ' of ' + util.capitalizeFirstWord(this.parent.globalize.formatDate(this.parent.selectedDate, { skeleton: 'long', calendar: this.parent.getCalendarMode() }), 'single');\n };\n ViewBase.prototype.getDateRangeText = function () {\n if (this.parent.isAdaptive) {\n var formatDate = (this.parent.activeViewOptions.dateFormat) ? this.parent.activeViewOptions.dateFormat : 'MMMM y';\n return util.capitalizeFirstWord(this.parent.globalize.formatDate(this.parent.selectedDate, { format: formatDate, calendar: this.parent.getCalendarMode() }), 'single');\n }\n return this.formatDateRange(this.renderDates[0], this.renderDates[this.renderDates.length - 1]);\n };\n ViewBase.prototype.formatDateRange = function (startDate, endDate) {\n var globalize = this.parent.globalize;\n var mode = this.parent.getCalendarMode();\n if (startDate === endDate) {\n endDate = null;\n }\n if (!isNullOrUndefined(this.parent.activeViewOptions.dateFormat)) {\n var text = '';\n if (!endDate) {\n text = globalize.formatDate(startDate, { format: this.parent.activeViewOptions.dateFormat, calendar: mode });\n return util.capitalizeFirstWord(text, 'multiple');\n }\n text = (globalize.formatDate(startDate, { format: this.parent.activeViewOptions.dateFormat, calendar: mode }) +\n ' - ' + globalize.formatDate(endDate, { format: this.parent.activeViewOptions.dateFormat, calendar: mode }));\n return util.capitalizeFirstWord(text, 'multiple');\n }\n var formattedStr;\n var longDateFormat;\n if (this.parent.locale === 'en' || this.parent.locale === 'en-US') {\n longDateFormat = getValue('dateFormats.long', getDefaultDateObject(mode));\n }\n else {\n longDateFormat = getValue('main.' + '' + this.parent.locale + '.dates.calendars.' + mode + '.dateFormats.long', cldrData);\n }\n if (!endDate) {\n return util.capitalizeFirstWord(globalize.formatDate(startDate, { format: longDateFormat, calendar: mode }), 'single');\n }\n var dateFormat = longDateFormat.trim().toLocaleLowerCase();\n if (dateFormat.substr(0, 1) === 'd') {\n if (startDate.getFullYear() === endDate.getFullYear()) {\n if (startDate.getMonth() === endDate.getMonth()) {\n formattedStr = globalize.formatDate(startDate, { format: 'dd', calendar: mode }) + ' - ' +\n globalize.formatDate(endDate, { format: 'dd MMMM yyyy', calendar: mode });\n }\n else {\n formattedStr = globalize.formatDate(startDate, { format: 'dd MMM', calendar: mode }) + ' - ' +\n globalize.formatDate(endDate, { format: 'dd MMM yyyy', calendar: mode });\n }\n }\n else {\n formattedStr = globalize.formatDate(startDate, { format: 'dd MMM yyyy', calendar: mode }) + ' - ' +\n globalize.formatDate(endDate, { format: 'dd MMM yyyy', calendar: mode });\n }\n }\n else if (dateFormat.substr(0, 1) === 'm') {\n if (startDate.getFullYear() === endDate.getFullYear()) {\n if (startDate.getMonth() === endDate.getMonth()) {\n formattedStr = globalize.formatDate(startDate, { format: 'MMMM dd', calendar: mode }) + ' - ' +\n globalize.formatDate(endDate, { format: 'dd, yyyy', calendar: mode });\n }\n else {\n formattedStr = globalize.formatDate(startDate, { format: 'MMM dd', calendar: mode }) + ' - ' +\n globalize.formatDate(endDate, { format: 'MMM dd, yyyy', calendar: mode });\n }\n }\n else {\n formattedStr = globalize.\n formatDate(startDate, { format: 'MMM dd, yyyy', calendar: mode }) + ' - ' +\n globalize.formatDate(endDate, { format: 'MMM dd, yyyy', calendar: mode });\n }\n }\n else {\n formattedStr = globalize.formatDate(startDate, { format: longDateFormat, calendar: mode }) + ' - ' +\n globalize.formatDate(endDate, { format: longDateFormat, calendar: mode });\n }\n return util.capitalizeFirstWord(formattedStr, 'multiple');\n };\n ViewBase.prototype.getMobileDateElement = function (date, className) {\n var wrap = createElement('div', {\n className: className,\n innerHTML: '