Socket
Socket
Sign inDemoInstall

@fullcalendar/vue

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fullcalendar/vue - npm Package Compare versions

Comparing version 5.2.0 to 5.3.0

6

CHANGELOG.md
next
----
- no longer expose component as 'fullcalendar' when used globally
v5.2.0 (2020-07-30)

@@ -3,0 +9,0 @@ -------------------

1

dist/main.global.js

@@ -221,3 +221,2 @@ var FullCalendarVue = (function (exports, Vue, core) {

Vue.component('FullCalendar', FullCalendar);
Vue.component('fullcalendar', FullCalendar); // for when using embedded HTML templates, must be lowercase
}

@@ -224,0 +223,0 @@ }

@@ -1,1 +0,1 @@

var FullCalendarVue=function(e,n,t){"use strict";n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n;var r=function(){return(r=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},o={headerToolbar:!0,footerToolbar:!0,events:!0,eventSources:!0,resources:!0};function i(e){return function(n){return{vue:e(n)}}}var a=t.createPlugin({contentTypeHandlers:{vue:function(){var e,t;return function(r,o){if(e!==r&&(e&&t&&t.$destroy(),e=r),t)t.content=o;else{t=new n({props:{content:Array},propsData:{content:o},render:function(e){var n=this.content;return 1===n.length?n[0]:e("span",{},n)}});var i=document.createElement("span");r.appendChild(i),t.$mount(i)}}}}});var s=n.extend({props:{options:Object},data:function(){return{renderId:0}},render:function(e){return e("div",{attrs:{"data-fc-render-id":this.renderId}})},mounted:function(){var e=this.$options;e.scopedSlotOptions=function(e,n){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=n(e[r],r));return t}(this.$scopedSlots,i);var n=new t.Calendar(this.$el,this.buildOptions(this.options));e.calendar=n,n.render()},methods:{getApi:function(){return this.$options.calendar},buildOptions:function(e){var n=this.$options;return e=e||{},r(r(r({},n.scopedSlotOptions),e),{plugins:(e.plugins||[]).concat([a])})}},beforeUpdate:function(){this.getApi().resumeRendering()},beforeDestroy:function(){this.getApi().destroy()},watch:function(){var e={options:{deep:!0,handler:function(e){var n=this.getApi();n.pauseRendering(),n.resetOptions(this.buildOptions(e)),this.renderId++}}},n=function(n){e["options."+n]={deep:!0,handler:function(e){var t;if(void 0!==e){var o=this.getApi();o.pauseRendering(),o.resetOptions(((t={})[n]=function(e){return"object"==typeof e&&(Array.isArray(e)?e=Array.prototype.slice.call(e):e&&(e=r({},e))),e}(e),t),!0),this.renderId++}}}};for(var t in o)n(t);return e}()});var u,c=!1;function d(e){c||(c=!0,e.component("FullCalendar",s),e.component("fullcalendar",s))}return(u="undefined"!=typeof globalThis?globalThis.Vue:window.Vue)&&u.use({install:d}),Object.keys(t).forEach((function(n){"default"!==n&&Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})})),e.default=s,e.install=d,e}({},Vue,FullCalendar);
var FullCalendarVue=function(e,n,t){"use strict";n=n&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n;var r=function(){return(r=Object.assign||function(e){for(var n,t=1,r=arguments.length;t<r;t++)for(var o in n=arguments[t])Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o]);return e}).apply(this,arguments)},o={headerToolbar:!0,footerToolbar:!0,events:!0,eventSources:!0,resources:!0};function i(e){return function(n){return{vue:e(n)}}}var a=t.createPlugin({contentTypeHandlers:{vue:function(){var e,t;return function(r,o){if(e!==r&&(e&&t&&t.$destroy(),e=r),t)t.content=o;else{t=new n({props:{content:Array},propsData:{content:o},render:function(e){var n=this.content;return 1===n.length?n[0]:e("span",{},n)}});var i=document.createElement("span");r.appendChild(i),t.$mount(i)}}}}});var s=n.extend({props:{options:Object},data:function(){return{renderId:0}},render:function(e){return e("div",{attrs:{"data-fc-render-id":this.renderId}})},mounted:function(){var e=this.$options;e.scopedSlotOptions=function(e,n){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=n(e[r],r));return t}(this.$scopedSlots,i);var n=new t.Calendar(this.$el,this.buildOptions(this.options));e.calendar=n,n.render()},methods:{getApi:function(){return this.$options.calendar},buildOptions:function(e){var n=this.$options;return e=e||{},r(r(r({},n.scopedSlotOptions),e),{plugins:(e.plugins||[]).concat([a])})}},beforeUpdate:function(){this.getApi().resumeRendering()},beforeDestroy:function(){this.getApi().destroy()},watch:function(){var e={options:{deep:!0,handler:function(e){var n=this.getApi();n.pauseRendering(),n.resetOptions(this.buildOptions(e)),this.renderId++}}},n=function(n){e["options."+n]={deep:!0,handler:function(e){var t;if(void 0!==e){var o=this.getApi();o.pauseRendering(),o.resetOptions(((t={})[n]=function(e){return"object"==typeof e&&(Array.isArray(e)?e=Array.prototype.slice.call(e):e&&(e=r({},e))),e}(e),t),!0),this.renderId++}}}};for(var t in o)n(t);return e}()});var u,c=!1;function d(e){c||(c=!0,e.component("FullCalendar",s))}return(u="undefined"!=typeof globalThis?globalThis.Vue:window.Vue)&&u.use({install:d}),Object.keys(t).forEach((function(n){"default"!==n&&Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})})),e.default=s,e.install=d,e}({},Vue,FullCalendar);

@@ -15,3 +15,2 @@ import FullCalendarComponent from './FullCalendar';

Vue.component('FullCalendar', FullCalendarComponent);
Vue.component('fullcalendar', FullCalendarComponent); // for when using embedded HTML templates, must be lowercase
}

@@ -18,0 +17,0 @@ }

{
"name": "@fullcalendar/vue",
"version": "5.2.0",
"version": "5.3.0",
"title": "FullCalendar Vue Component",

@@ -28,3 +28,3 @@ "description": "An official FullCalendar component for Vue",

"dependencies": {
"@fullcalendar/core": "~5.2.0",
"@fullcalendar/core": "~5.3.0",
"tslib": "^2.0.0"

@@ -39,3 +39,3 @@ },

"@babel/preset-env": "^7.8.4",
"@fullcalendar/daygrid": "~5.2.0",
"@fullcalendar/daygrid": "~5.3.0",
"@rollup/plugin-node-resolve": "^8.4.0",

@@ -42,0 +42,0 @@ "@vue/test-utils": "^1.0.3",

@@ -19,3 +19,2 @@ import { VueConstructor } from 'vue'

Vue.component('FullCalendar', FullCalendarComponent)
Vue.component('fullcalendar', FullCalendarComponent) // for when using embedded HTML templates, must be lowercase
}

@@ -22,0 +21,0 @@ }

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc