File manager - Edit - /home/web/vm-3fadc827.na4u.ru/www/bitrix/modules/calendar/install/js/calendar/calendarsection/dist/calendarsection.bundle.min.js
Back
this.BX=this.BX||{};(function(e,t,s,n){"use strict";var r=function(){function e(){babelHelpers.classCallCheck(this,e)}babelHelpers.createClass(e,null,[{key:"getNewEntrySectionId",value:function t(){return e.newEntrySectionId}},{key:"setNewEntrySectionId",value:function t(s){e.newEntrySectionId=parseInt(s)}},{key:"getSectionGroupList",value:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var r=t.type,_=t.ownerId,a=t.userId,E=t.trackingUsersList||s.Util.getFollowedUserList(a),i=[],l;if(r==="user"){if(a===_){l=n.Loc.getMessage("EC_SEC_SLIDER_MY_CALENDARS_LIST")}else{l=n.Loc.getMessage("EC_SEC_SLIDER_USER_CALENDARS_LIST")}}else if(r==="group"){l=n.Loc.getMessage("EC_SEC_SLIDER_GROUP_CALENDARS_LIST")}else if(r==="location"){l=n.Loc.getMessage("EC_SEC_SLIDER_TYPE_LOCATION_LIST")}else if(r==="resource"){l=n.Loc.getMessage("EC_SEC_SLIDER_TYPE_RESOURCE_LIST")}else{l=n.Loc.getMessage("EC_SEC_SLIDER_TITLE_COMP_CAL")}i.push({title:l,type:r,belongsToView:true});if(r!=="user"||a!==_){i.push({title:n.Loc.getMessage("EC_SEC_SLIDER_MY_CALENDARS_LIST"),type:"user",ownerId:a})}if(r!=="company"&&r!=="company_calendar"){i.push({title:n.Loc.getMessage("EC_SEC_SLIDER_TITLE_COMP_CAL"),type:"company"})}if(n.Type.isArray(E)){E.forEach(function(e){if(parseInt(e.ID)!==_||r!=="user"){i.push({title:BX.util.htmlspecialchars(e.FORMATTED_NAME),type:"user",ownerId:parseInt(e.ID)})}},this)}i.push({title:n.Loc.getMessage("EC_SEC_SLIDER_POPUP_MENU_ADD_GROUP"),type:"group"});i.push({title:n.Loc.getMessage("EC_SEC_SLIDER_TITLE_RESOURCE_CAL"),type:"resource"});i.push({title:n.Loc.getMessage("EC_SEC_SLIDER_TITLE_LOCATION_CAL"),type:"location"});return i}}]);return e}();babelHelpers.defineProperty(r,"newEntrySectionId",null);var _=function e(){babelHelpers.classCallCheck(this,e)};e.CalendarSectionManager=r;e.CalendarSection=_})(this.BX.Calendar=this.BX.Calendar||{},BX.Calendar,BX.Calendar,BX); //# sourceMappingURL=calendarsection.bundle.map.js
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.24 |
proxy
|
phpinfo
|
Settings