@fullcalendar/premium-common
Advanced tools
Comparing version 6.0.0 to 6.0.1
/*! | ||
FullCalendar Premium Common v6.0.0 | ||
Docs & License: https://fullcalendar.io/premium | ||
FullCalendar Premium Common v6.0.1 | ||
Docs & License: https://fullcalendar.io/docs/premium | ||
(c) 2022 Adam Shaw | ||
*/ | ||
FullCalendar.PremiumCommon = (function (exports, internal, core, preact) { | ||
FullCalendar.PremiumCommon = (function (exports, core, internal, preact) { | ||
'use strict'; | ||
@@ -75,3 +75,3 @@ | ||
name: '@fullcalendar/premium-common', | ||
premiumReleaseDate: '2022-12-14', | ||
premiumReleaseDate: '2022-12-20', | ||
optionRefiners: OPTION_REFINERS, | ||
@@ -81,3 +81,3 @@ viewContainerAppends: [buildLicenseWarning], | ||
internal.globalPlugins.push(plugin); | ||
core.globalPlugins.push(plugin); | ||
@@ -90,2 +90,2 @@ exports["default"] = plugin; | ||
})({}, FullCalendar.Internal, FullCalendar, FullCalendar.Preact); | ||
})({}, FullCalendar, FullCalendar.Internal, FullCalendar.Preact); |
/*! | ||
FullCalendar Premium Common v6.0.0 | ||
Docs & License: https://fullcalendar.io/premium | ||
FullCalendar Premium Common v6.0.1 | ||
Docs & License: https://fullcalendar.io/docs/premium | ||
(c) 2022 Adam Shaw | ||
*/ | ||
FullCalendar.PremiumCommon=function(e,n,t,l){"use strict";const r=["GPL-My-Project-Is-Open-Source","CC-Attribution-NonCommercial-NoDerivatives"],i={position:"absolute",zIndex:99999,bottom:"1px",left:"1px",background:"#eee",borderColor:"#ddd",borderStyle:"solid",borderWidth:"1px 1px 0 0",padding:"2px 4px",fontSize:"12px",borderTopRightRadius:"3px"};const o={schedulerLicenseKey:String};var a=t.createPlugin({name:"@fullcalendar/premium-common",premiumReleaseDate:"2022-12-14",optionRefiners:o,viewContainerAppends:[function(e){let t=e.options.schedulerLicenseKey,o="undefined"!=typeof window?window.location.href:"";if(!/\w+:\/\/fullcalendar\.io\/|\/examples\/[\w-]+\.html$/.test(o)){let o=function(e,t){if(-1!==r.indexOf(e))return"valid";const l=(e||"").match(/^(\d+)-fcs-(\d+)$/);if(l&&10===l[1].length){const e=new Date(1e3*parseInt(l[2],10)),r=n.config.mockSchedulerReleaseDate||t;if(n.isValidDate(r)){return n.addDays(r,-372)<e?"valid":"outdated"}}return"invalid"}(t,e.pluginHooks.premiumReleaseDate);if("valid"!==o)return l.createElement("div",{className:"fc-license-message",style:i},"outdated"===o?l.createElement(l.Fragment,null,"Your license key is too old to work with this version. ",l.createElement("a",{href:"https://fullcalendar.io/docs/schedulerLicenseKey#outdated"},"More Info")):l.createElement(l.Fragment,null,"Your license key is invalid. ",l.createElement("a",{href:"https://fullcalendar.io/docs/schedulerLicenseKey#invalid"},"More Info")))}return null}]});return n.globalPlugins.push(a),e.default=a,Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar.Internal,FullCalendar,FullCalendar.Preact); | ||
FullCalendar.PremiumCommon=function(e,n,t,l){"use strict";const r=["GPL-My-Project-Is-Open-Source","CC-Attribution-NonCommercial-NoDerivatives"],i={position:"absolute",zIndex:99999,bottom:"1px",left:"1px",background:"#eee",borderColor:"#ddd",borderStyle:"solid",borderWidth:"1px 1px 0 0",padding:"2px 4px",fontSize:"12px",borderTopRightRadius:"3px"};const o={schedulerLicenseKey:String};var a=n.createPlugin({name:"@fullcalendar/premium-common",premiumReleaseDate:"2022-12-20",optionRefiners:o,viewContainerAppends:[function(e){let n=e.options.schedulerLicenseKey,o="undefined"!=typeof window?window.location.href:"";if(!/\w+:\/\/fullcalendar\.io\/|\/examples\/[\w-]+\.html$/.test(o)){let o=function(e,n){if(-1!==r.indexOf(e))return"valid";const l=(e||"").match(/^(\d+)-fcs-(\d+)$/);if(l&&10===l[1].length){const e=new Date(1e3*parseInt(l[2],10)),r=t.config.mockSchedulerReleaseDate||n;if(t.isValidDate(r)){return t.addDays(r,-372)<e?"valid":"outdated"}}return"invalid"}(n,e.pluginHooks.premiumReleaseDate);if("valid"!==o)return l.createElement("div",{className:"fc-license-message",style:i},"outdated"===o?l.createElement(l.Fragment,null,"Your license key is too old to work with this version. ",l.createElement("a",{href:"https://fullcalendar.io/docs/schedulerLicenseKey#outdated"},"More Info")):l.createElement(l.Fragment,null,"Your license key is invalid. ",l.createElement("a",{href:"https://fullcalendar.io/docs/schedulerLicenseKey#invalid"},"More Info")))}return null}]});return n.globalPlugins.push(a),e.default=a,Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar,FullCalendar.Internal,FullCalendar.Preact); |
@@ -71,3 +71,3 @@ import { createPlugin } from '@fullcalendar/core/index.js'; | ||
name: '@fullcalendar/premium-common', | ||
premiumReleaseDate: '2022-12-14', | ||
premiumReleaseDate: '2022-12-20', | ||
optionRefiners: OPTION_REFINERS, | ||
@@ -74,0 +74,0 @@ viewContainerAppends: [buildLicenseWarning], |
@@ -5,3 +5,3 @@ | ||
FullCalendar Scheduler is tri-licensed, meaning you must choose | ||
FullCalendar Premium is tri-licensed, meaning you must choose | ||
one of three licenses to use. Here is a summary of those licenses: | ||
@@ -8,0 +8,0 @@ |
{ | ||
"name": "@fullcalendar/premium-common", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"title": "FullCalendar Premium Common", | ||
"description": "Utilities for FullCalendar's premium plugins", | ||
"peerDependencies": { | ||
"@fullcalendar/core": "~6.0.0" | ||
"@fullcalendar/core": "~6.0.1" | ||
}, | ||
@@ -14,5 +14,7 @@ "type": "module", | ||
"full-sized", | ||
"fullcalendar" | ||
"fullcalendar", | ||
"scheduler", | ||
"resource" | ||
], | ||
"homepage": "https://fullcalendar.io/premium", | ||
"homepage": "https://fullcalendar.io/docs/premium", | ||
"bugs": "https://fullcalendar.io/reporting-bugs", | ||
@@ -19,0 +21,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13606