public_html/layouts/basic/modules/Calendar/resources/CalendarView.min.js.map
{"version":3,"file":"CalendarView.min.js","sources":["CalendarView.js"],"sourcesContent":["/* {[The file is published on the basis of YetiForce Public License 6.5 that can be found in the following directory: licenses/LicenseEN.txt or yetiforce.com]} */\n'use strict';\n/**\n * Class representing an extended calendar.\n * @extends Calendar_Calendar_Js\n */\nwindow.calendarLoaded = false; //Global calendar flag needed for correct loading data from history browser in year view\nwindow.Calendar_Calendar_Js = class Calendar_Calendar_Js extends Vtiger_Calendar_Js {\n\t/**\n\t * Go to records list\n\t * @param {string} link\n\t */\n\tstatic goToRecordsList(link) {\n\t\tconst self = app.pageController,\n\t\t\tstatus = app.getMainParams('activityStateLabels', true),\n\t\t\toptions = self.getDefaultParams();\n\t\tif (options['cvid']) {\n\t\t\tlink += '&viewname=' + options['cvid'];\n\t\t} else {\n\t\t\tlink += '&viewname=All';\n\t\t}\n\t\tlet searchParams = '[\"activitystatus\",\"e\",\"' + status[app.getMainParams('showType')].join() + '\"]';\n\t\tsearchParams += ',[\"date_start\",\"bw\",\"' + options['start'] + ' 00:00:00,' + options['end'] + ' 23:59:59\"]';\n\t\tif (options['user']) {\n\t\t\tsearchParams += ',[\"assigned_user_id\",\"e\",\"' + options['user']['selectedIds'].join('##') + '\"]';\n\t\t}\n\t\tlink += '&search_params=[[' + encodeURIComponent(searchParams) + ']]';\n\t\twindow.location.href = link;\n\t}\n\t/**\n\t * Create calendar's options.\n\t * @param {jQuery} container\n\t * @param {bool} readonly\n\t * @param {boolean} browserHistory\n\t */\n\tconstructor(container, readonly, browserHistory = true) {\n\t\tsuper(container, readonly, browserHistory);\n\t}\n\t/**\n\t * Set calendar module options.\n\t * @returns {{allDaySlot: boolean, dayClick: object, selectable: boolean}}\n\t */\n\tsetCalendarModuleOptions() {\n\t\tconst self = this;\n\t\treturn {\n\t\t\tallDaySlot: app.getMainParams('allDaySlot'),\n\t\t\tdateClick: (args) => {\n\t\t\t\tif (this.eventCreate == 1) {\n\t\t\t\t\tthis.showCalendarCreateView().done((form) => {\n\t\t\t\t\t\tif (this.getSidebarView().find('.tab-pane.active').hasClass('js-right-panel-event') === false) {\n\t\t\t\t\t\t\tthis.getSidebarView().find('.js-right-panel-event-link').trigger('click');\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.dayCallbackCreateModal(form, args);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t},\n\t\t\tselectable: false,\n\t\t\teventClick: function (info) {\n\t\t\t\tinfo.jsEvent.preventDefault();\n\t\t\t\tconst element = $(info.el);\n\t\t\t\tlet link = element.attr('href');\n\t\t\t\tif (!link) {\n\t\t\t\t\tlink = element.find('a').attr('href');\n\t\t\t\t}\n\t\t\t\tif (!self.readonly && self.eventEdit) {\n\t\t\t\t\tself.showSidebarEvent(link);\n\t\t\t\t} else {\n\t\t\t\t\twindow.location.assign(link.replace('view=', 'xview=') + '&view=Detail');\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n\t/**\n\t * Show sidebar event\n\t * @param {*} params\n\t * @returns {Promise}\n\t */\n\tshowSidebarEvent(params) {\n\t\tconst self = this,\n\t\t\taDeferred = $.Deferred();\n\t\tconst progressInstance = $.progressIndicator({ blockInfo: { enabled: true } });\n\t\tif (typeof params == 'number') {\n\t\t\tparams = {\n\t\t\t\tmodule: this.module,\n\t\t\t\tview: 'EventForm',\n\t\t\t\trecord: params\n\t\t\t};\n\t\t}\n\t\tAppConnector.request(params)\n\t\t\t.done((data) => {\n\t\t\t\tprogressInstance.progressIndicator({ mode: 'hide' });\n\t\t\t\tself.openRightPanel();\n\t\t\t\tthis.updateSidebar(data);\n\t\t\t\tlet sidebar = self.getSidebarView();\n\t\t\t\tif (sidebar.find('form').length) {\n\t\t\t\t\tself.registerEditForm(sidebar);\n\t\t\t\t} else {\n\t\t\t\t\tapp.showNewScrollbar(sidebar.find('.js-calendar__form__wrapper'), {\n\t\t\t\t\t\tsuppressScrollX: true\n\t\t\t\t\t});\n\t\t\t\t\tsidebar.find('.js-activity-state .js-summary-close-edit').on('click', function () {\n\t\t\t\t\t\tself.showCalendarCreateView();\n\t\t\t\t\t});\n\t\t\t\t\tsidebar.find('.js-activity-state .editRecord').on('click', function () {\n\t\t\t\t\t\tself.showSidebarEvent($(this).data('id'));\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\taDeferred.resolve(sidebar.find('.js-qc-form'));\n\t\t\t})\n\t\t\t.fail((error) => {\n\t\t\t\tprogressInstance.progressIndicator({ mode: 'hide' });\n\t\t\t\tapp.errorLog(error);\n\t\t\t});\n\t\treturn aDeferred.promise();\n\t}\n\t/**\n\t * Open sidebar right panel\n\t */\n\topenRightPanel() {\n\t\tif (this.getSidebarView().hasClass('hideSiteBar')) {\n\t\t\tthis.getSidebarView().find('.js-toggle-site-bar-right-button').trigger('click');\n\t\t}\n\t}\n\t/**\n\t * Update sidebar\n\t * @param {html} data\n\t */\n\tupdateSidebar(data) {\n\t\tthis.getSidebarView().find('.js-qc-form').html(data);\n\t\tthis.showRightPanelForm();\n\t}\n\t/**\n\t * Show sidebar right panel form\n\t */\n\tshowRightPanelForm() {\n\t\tconst calendarRightPanel = this.getSidebarView();\n\t\tif (!calendarRightPanel.find('.js-right-panel-event').hasClass('active')) {\n\t\t\tcalendarRightPanel.find('.js-right-panel-event-link').trigger('click');\n\t\t}\n\t\tapp.showNewScrollbar(calendarRightPanel.find('.js-calendar__form__wrapper'), {\n\t\t\tsuppressScrollX: true\n\t\t});\n\t}\n\t/**\n\t * Register events to EditView\n\t * @param {jQuery} sideBar\n\t */\n\tregisterEditForm(sideBar) {\n\t\tconst editViewInstance = Vtiger_Edit_Js.getInstanceByModuleName(sideBar.find('[name=\"module\"]').val());\n\t\tlet rightFormCreate = sideBar.find('form.js-form');\n\t\teditViewInstance.registerBasicEvents(rightFormCreate);\n\t\trightFormCreate.validationEngine(app.validationEngineOptions);\n\t\tApp.Fields.Picklist.showSelect2ElementView(sideBar.find('select'));\n\t\tsideBar.find('.js-summary-close-edit').on('click', () => {\n\t\t\tthis.showCalendarCreateView();\n\t\t});\n\t\tApp.Components.QuickCreate.registerPostLoadEvents(rightFormCreate, {\n\t\t\tcallbackFunction: this.registerAfterSubmitForm(this)\n\t\t});\n\t\tnew App.Fields.Text.Editor(sideBar.find('.js-editor'), { height: '5em', toolbar: 'Min' });\n\t}\n\t/**\n\t * Register actions to do after save record\n\t * @param {object} self\n\t * @param {object} data\n\t * @returns {function}\n\t */\n\tregisterAfterSubmitForm(self) {\n\t\tlet returnFunction = function (data) {\n\t\t\tif (data.success) {\n\t\t\t\tself.reloadCalendarData();\n\t\t\t\tself.refreshDatesRowView();\n\t\t\t\tself.getSidebarView().find('.js-qc-form').html('');\n\t\t\t\tself.showCalendarCreateView();\n\t\t\t\twindow.popoverCache = {};\n\t\t\t}\n\t\t};\n\t\treturn returnFunction;\n\t}\n\t/**\n\t * Load calendar data\n\t */\n\tloadCalendarData() {\n\t\tconst self = this,\n\t\t\tprogressInstance = $.progressIndicator({ blockInfo: { enabled: true } });\n\t\tlet options = this.getDefaultParams();\n\t\tself.fullCalendar.removeAllEvents();\n\t\tself.clearFilterButton(options['user']);\n\t\toptions.historyUrl = `index.php?module=${options['module']}&view=Calendar&history=true&viewType=${\n\t\t\tthis.fullCalendar.view.type\n\t\t}&start=${options['start']}&end=${options['end']}&user=${JSON.stringify(options['user'])}&time=${\n\t\t\toptions['time']\n\t\t}&cvid=${options['cvid']}&hiddenDays=${this.fullCalendar.getOption('hiddenDays')}`;\n\t\tlet connectorMethod = window['AppConnector']['request'];\n\t\tif (this.browserHistory && window.calendarLoaded) {\n\t\t\tconnectorMethod = window['AppConnector']['requestPjax'];\n\t\t}\n\t\tif (this.browserHistoryConfig && Object.keys(this.browserHistoryConfig).length && !window.calendarLoaded) {\n\t\t\toptions = Object.assign(options, {\n\t\t\t\tstart: this.browserHistoryConfig.start,\n\t\t\t\tend: this.browserHistoryConfig.end,\n\t\t\t\tuser: this.browserHistoryConfig.user,\n\t\t\t\ttime: this.browserHistoryConfig.time,\n\t\t\t\tcvid: this.browserHistoryConfig.cvid\n\t\t\t});\n\t\t\tconnectorMethod = window['AppConnector']['request'];\n\t\t\tapp.setMainParams('showType', this.browserHistoryConfig.time);\n\t\t\tapp.setMainParams('usersId', this.browserHistoryConfig.user);\n\t\t}\n\t\tconnectorMethod(options).done((events) => {\n\t\t\tself.fullCalendar.removeAllEvents();\n\t\t\tself.fullCalendar.addEventSource(events.result);\n\t\t\tprogressInstance.progressIndicator({ mode: 'hide' });\n\t\t});\n\t\twindow.calendarLoaded = true;\n\t}\n\t/**\n\t * Show create view\n\t * @returns {Promise}\n\t */\n\tshowCalendarCreateView() {\n\t\tconst aDeferred = $.Deferred();\n\t\tif (this.eventCreate == 1) {\n\t\t\tconst sideBar = this.getSidebarView(),\n\t\t\t\tqcForm = sideBar.find('.js-qc-form');\n\t\t\tif (qcForm.find('form').length > 0 && qcForm.find('input[name=record]').length === 0) {\n\t\t\t\taDeferred.resolve(qcForm);\n\t\t\t} else {\n\t\t\t\tlet progressInstance = $.progressIndicator({ blockInfo: { enabled: true } });\n\t\t\t\tthis.showSidebarEvent({ module: this.module, view: 'EventForm' })\n\t\t\t\t\t.done(() => {\n\t\t\t\t\t\tprogressInstance.progressIndicator({ mode: 'hide' });\n\t\t\t\t\t\tthis.registerAutofillTime();\n\t\t\t\t\t\taDeferred.resolve(qcForm);\n\t\t\t\t\t})\n\t\t\t\t\t.fail((error) => {\n\t\t\t\t\t\tprogressInstance.progressIndicator({ mode: 'hide' });\n\t\t\t\t\t\tapp.errorLog(error);\n\t\t\t\t\t});\n\t\t\t}\n\t\t} else {\n\t\t\taDeferred.reject();\n\t\t}\n\t\treturn aDeferred.promise();\n\t}\n\t/**\n\t * Auto select date in create view in extended calendar\n\t */\n\tregisterAutofillTime() {\n\t\tif (app.getMainParams('autofillTime')) {\n\t\t\tthis.container.find('.js-autofill').prop('checked', 'checked').trigger('change');\n\t\t}\n\t}\n\t/**\n\t * Register cache settings\n\t */\n\tregisterCacheSettings() {\n\t\tconst self = this;\n\t\t$('.siteBarRight .filterField').each(function (index) {\n\t\t\tlet name = $(this).attr('id');\n\t\t\tlet value = app.moduleCacheGet(name);\n\t\t\tlet element = $('#' + name);\n\t\t\tif (element.length > 0 && value != null) {\n\t\t\t\tif (element.attr('type') == 'checkbox') {\n\t\t\t\t\telement.prop('checked', value);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tthis.getCalendarView()\n\t\t\t.find('.fc-toolbar .fc-button')\n\t\t\t.on('click', function (e) {\n\t\t\t\tlet element = $(e.currentTarget);\n\t\t\t\tif (element.hasClass('fc-' + self.fullCalendar.view.type + '-button')) {\n\t\t\t\t\tapp.moduleCacheSet('defaultView', self.fullCalendar.view.type);\n\t\t\t\t} else if (\n\t\t\t\t\telement.hasClass('fc-prev-button') ||\n\t\t\t\t\telement.hasClass('fc-next-button') ||\n\t\t\t\t\telement.hasClass('fc-today-button')\n\t\t\t\t) {\n\t\t\t\t\tapp.moduleCacheSet('start', App.Fields.Date.dateToUserFormat(self.fullCalendar.view.activeStart));\n\t\t\t\t\tapp.moduleCacheSet('end', App.Fields.Date.dateToUserFormat(self.fullCalendar.view.activeEnd));\n\t\t\t\t}\n\t\t\t});\n\t\tconst keys = app.moduleCacheKeys();\n\t\tif (keys.length > 0) {\n\t\t\tlet alert = $('#moduleCacheAlert');\n\t\t\talert.find('.cacheClear').on('click', function (e) {\n\t\t\t\tapp.moduleCacheClear();\n\t\t\t\talert.addClass('d-none');\n\t\t\t\tlocation.reload();\n\t\t\t});\n\t\t}\n\t}\n\t/**\n\t * Register site bar events\n\t */\n\tregisterSiteBarEvents() {\n\t\tlet calendarRightPanel = $('.js-calendar-right-panel');\n\t\tcalendarRightPanel.find('.js-show-sitebar').on('click', () => {\n\t\t\tif (calendarRightPanel.hasClass('hideSiteBar')) {\n\t\t\t\tcalendarRightPanel.find('.js-toggle-site-bar-right-button').trigger('click');\n\t\t\t}\n\t\t});\n\t}\n\t/**\n\t * Register popover buttons' click\n\t */\n\tregisterPopoverButtonsClickEvent() {\n\t\t$(document).on('click', '.js-calendar-popover__button', this.showCalendarPopoverLinkInSidebar.bind(this));\n\t}\n\t/**\n\t * Show popover link in sidebar\n\t * @param {jQuery.Event} e click event\n\t * @returns {boolean}\n\t */\n\tshowCalendarPopoverLinkInSidebar(e) {\n\t\tlet href = e.currentTarget.href;\n\t\tconst hrefObject = app.convertUrlToObject(href);\n\t\tif (hrefObject.module !== 'Calendar' || (hrefObject.view !== 'Edit' && hrefObject.view !== 'Detail')) {\n\t\t\treturn true;\n\t\t} else {\n\t\t\te.preventDefault();\n\t\t\tconst sidebarView = hrefObject.view === 'Edit' ? 'EventForm' : 'ActivityState';\n\t\t\thref = href.replace(hrefObject.view, sidebarView);\n\t\t\tthis.showSidebarEvent(href);\n\t\t}\n\t}\n\t/**\n\t * Register events\n\t */\n\tregisterEvents() {\n\t\tsuper.registerEvents();\n\t\tthis.registerSiteBarEvents();\n\t\tthis.registerPopoverButtonsClickEvent();\n\t\tElementQueries.listen();\n\t\tthis.showCalendarCreateView();\n\t}\n};\n"],"names":["_typeof","o","Symbol","iterator","constructor","prototype","_classCallCheck","instance","Constructor","TypeError","_defineProperties","target","props","descriptor","i","length","enumerable","configurable","writable","Object","defineProperty","_toPropertyKey","key","_createClass","protoProps","staticProps","arg","_toPrimitive","String","input","hint","prim","toPrimitive","res","call","Number","_get","Reflect","get","bind","property","receiver","base","_superPropBase","desc","getOwnPropertyDescriptor","arguments","value","apply","object","hasOwnProperty","_getPrototypeOf","_inherits","subClass","superClass","create","_setPrototypeOf","p","setPrototypeOf","__proto__","_createSuper","Derived","hasNativeReflectConstruct","_isNativeReflectConstruct","result","Super","NewTarget","construct","_possibleConstructorReturn","self","_assertThisInitialized","ReferenceError","sham","Proxy","Boolean","valueOf","e","getPrototypeOf","window","calendarLoaded","Calendar_Calendar_Js","_Vtiger_Calendar_Js","container","readonly","browserHistory","_super","setCalendarModuleOptions","_this","allDaySlot","app","getMainParams","dateClick","args","eventCreate","showCalendarCreateView","done","form","getSidebarView","find","hasClass","trigger","dayCallbackCreateModal","selectable","eventClick","info","jsEvent","preventDefault","element","$","el","link","attr","eventEdit","showSidebarEvent","location","assign","replace","params","_this2","aDeferred","Deferred","progressInstance","progressIndicator","blockInfo","enabled","module","view","record","AppConnector","request","data","mode","openRightPanel","updateSidebar","sidebar","registerEditForm","showNewScrollbar","suppressScrollX","on","resolve","fail","error","errorLog","promise","html","showRightPanelForm","calendarRightPanel","sideBar","_this3","editViewInstance","Vtiger_Edit_Js","getInstanceByModuleName","val","rightFormCreate","registerBasicEvents","validationEngine","validationEngineOptions","App","Fields","Picklist","showSelect2ElementView","Components","QuickCreate","registerPostLoadEvents","callbackFunction","registerAfterSubmitForm","Text","Editor","height","toolbar","returnFunction","success","reloadCalendarData","refreshDatesRowView","popoverCache","loadCalendarData","options","getDefaultParams","fullCalendar","removeAllEvents","clearFilterButton","user","historyUrl","concat","type","start","end","JSON","stringify","time","cvid","getOption","connectorMethod","requestPjax","browserHistoryConfig","keys","setMainParams","events","addEventSource","_this4","qcForm","registerAutofillTime","reject","prop","registerCacheSettings","each","name","moduleCacheGet","getCalendarView","currentTarget","moduleCacheSet","Date","dateToUserFormat","activeStart","activeEnd","moduleCacheKeys","alert","moduleCacheClear","addClass","reload","registerSiteBarEvents","registerPopoverButtonsClickEvent","document","showCalendarPopoverLinkInSidebar","href","hrefObject","convertUrlToObject","sidebarView","registerEvents","ElementQueries","listen","goToRecordsList","pageController","status","searchParams","join","selectedIds","encodeURIComponent","Vtiger_Calendar_Js"],"mappings":";;AAAA,kKACA,YAAY,CACZ;AACA;AACA;AACA,GAHA,SAAAA,OAAAA,CAAAC,CAAA,CAAA,CAAA,yBAAA,CAAA,OAAAD,OAAA,CAAA,UAAA,EAAA,OAAAE,MAAA,EAAA,QAAA,EAAA,OAAAA,MAAA,CAAAC,QAAA,CAAA,SAAAF,CAAA,CAAA,CAAA,OAAA,OAAAA,CAAA,CAAA,CAAA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