From d31eb4c89cd0a53eb3caaf2d0ce2f317c251aa89 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 4 Jul 2023 08:47:22 +0000 Subject: update fullcalendar --- library/fullcalendar/dist/index.global.js | 1697 +++++++++++++------- library/fullcalendar/dist/index.global.min.js | 6 +- .../fullcalendar/examples/background-events.html | 28 +- library/fullcalendar/examples/daygrid-views.html | 32 +- .../examples/external-dragging-2cals.html | 12 +- library/fullcalendar/examples/full-height.html | 32 +- .../fullcalendar/examples/list-sticky-header.html | 2 +- library/fullcalendar/examples/list-views.html | 32 +- library/fullcalendar/examples/month-view.html | 32 +- library/fullcalendar/examples/multimonth-view.html | 110 ++ library/fullcalendar/examples/multiweek-view.html | 107 ++ library/fullcalendar/examples/natural-height.html | 32 +- library/fullcalendar/examples/selectable.html | 32 +- library/fullcalendar/examples/timegrid-views.html | 32 +- .../packages/bootstrap4/index.global.js | 6 +- .../packages/bootstrap4/index.global.min.js | 6 +- .../packages/bootstrap5/index.global.js | 4 +- .../packages/bootstrap5/index.global.min.js | 4 +- library/fullcalendar/packages/core/index.global.js | 689 +++++--- .../fullcalendar/packages/core/index.global.min.js | 6 +- .../packages/core/locales-all.global.js | 169 +- .../packages/core/locales-all.global.min.js | 6 +- .../packages/core/locales/af.global.js | 4 +- .../packages/core/locales/af.global.min.js | 4 +- .../packages/core/locales/ar-dz.global.js | 5 +- .../packages/core/locales/ar-dz.global.min.js | 6 +- .../packages/core/locales/ar-kw.global.js | 5 +- .../packages/core/locales/ar-kw.global.min.js | 6 +- .../packages/core/locales/ar-ly.global.js | 5 +- .../packages/core/locales/ar-ly.global.min.js | 6 +- .../packages/core/locales/ar-ma.global.js | 5 +- .../packages/core/locales/ar-ma.global.min.js | 6 +- .../packages/core/locales/ar-sa.global.js | 5 +- .../packages/core/locales/ar-sa.global.min.js | 6 +- .../packages/core/locales/ar-tn.global.js | 5 +- .../packages/core/locales/ar-tn.global.min.js | 6 +- .../packages/core/locales/ar.global.js | 5 +- .../packages/core/locales/ar.global.min.js | 6 +- .../packages/core/locales/az.global.js | 5 +- .../packages/core/locales/az.global.min.js | 6 +- .../packages/core/locales/bg.global.js | 5 +- .../packages/core/locales/bg.global.min.js | 6 +- .../packages/core/locales/bn.global.js | 5 +- .../packages/core/locales/bn.global.min.js | 6 +- .../packages/core/locales/bs.global.js | 5 +- .../packages/core/locales/bs.global.min.js | 6 +- .../packages/core/locales/ca.global.js | 5 +- .../packages/core/locales/ca.global.min.js | 6 +- .../packages/core/locales/cs.global.js | 5 +- .../packages/core/locales/cs.global.min.js | 6 +- .../packages/core/locales/cy.global.js | 4 +- .../packages/core/locales/cy.global.min.js | 4 +- .../packages/core/locales/da.global.js | 5 +- .../packages/core/locales/da.global.min.js | 6 +- .../packages/core/locales/de-at.global.js | 4 +- .../packages/core/locales/de-at.global.min.js | 4 +- .../packages/core/locales/de.global.js | 4 +- .../packages/core/locales/de.global.min.js | 4 +- .../packages/core/locales/el.global.js | 5 +- .../packages/core/locales/el.global.min.js | 6 +- .../packages/core/locales/en-au.global.js | 4 +- .../packages/core/locales/en-au.global.min.js | 4 +- .../packages/core/locales/en-gb.global.js | 4 +- .../packages/core/locales/en-gb.global.min.js | 4 +- .../packages/core/locales/en-nz.global.js | 4 +- .../packages/core/locales/en-nz.global.min.js | 4 +- .../packages/core/locales/eo.global.js | 5 +- .../packages/core/locales/eo.global.min.js | 6 +- .../packages/core/locales/es-us.global.js | 5 +- .../packages/core/locales/es-us.global.min.js | 6 +- .../packages/core/locales/es.global.js | 5 +- .../packages/core/locales/es.global.min.js | 6 +- .../packages/core/locales/et.global.js | 5 +- .../packages/core/locales/et.global.min.js | 6 +- .../packages/core/locales/eu.global.js | 5 +- .../packages/core/locales/eu.global.min.js | 6 +- .../packages/core/locales/fa.global.js | 5 +- .../packages/core/locales/fa.global.min.js | 6 +- .../packages/core/locales/fi.global.js | 5 +- .../packages/core/locales/fi.global.min.js | 6 +- .../packages/core/locales/fr-ca.global.js | 6 +- .../packages/core/locales/fr-ca.global.min.js | 6 +- .../packages/core/locales/fr-ch.global.js | 6 +- .../packages/core/locales/fr-ch.global.min.js | 6 +- .../packages/core/locales/fr.global.js | 7 +- .../packages/core/locales/fr.global.min.js | 6 +- .../packages/core/locales/gl.global.js | 24 +- .../packages/core/locales/gl.global.min.js | 6 +- .../packages/core/locales/he.global.js | 7 +- .../packages/core/locales/he.global.min.js | 6 +- .../packages/core/locales/hi.global.js | 5 +- .../packages/core/locales/hi.global.min.js | 6 +- .../packages/core/locales/hr.global.js | 5 +- .../packages/core/locales/hr.global.min.js | 6 +- .../packages/core/locales/hu.global.js | 5 +- .../packages/core/locales/hu.global.min.js | 6 +- .../packages/core/locales/hy-am.global.js | 5 +- .../packages/core/locales/hy-am.global.min.js | 6 +- .../packages/core/locales/id.global.js | 5 +- .../packages/core/locales/id.global.min.js | 6 +- .../packages/core/locales/is.global.js | 5 +- .../packages/core/locales/is.global.min.js | 6 +- .../packages/core/locales/it.global.js | 5 +- .../packages/core/locales/it.global.min.js | 6 +- .../packages/core/locales/ja.global.js | 5 +- .../packages/core/locales/ja.global.min.js | 6 +- .../packages/core/locales/ka.global.js | 5 +- .../packages/core/locales/ka.global.min.js | 6 +- .../packages/core/locales/kk.global.js | 5 +- .../packages/core/locales/kk.global.min.js | 6 +- .../packages/core/locales/km.global.js | 4 +- .../packages/core/locales/km.global.min.js | 4 +- .../packages/core/locales/ko.global.js | 5 +- .../packages/core/locales/ko.global.min.js | 6 +- .../packages/core/locales/ku.global.js | 5 +- .../packages/core/locales/ku.global.min.js | 6 +- .../packages/core/locales/lb.global.js | 5 +- .../packages/core/locales/lb.global.min.js | 6 +- .../packages/core/locales/lt.global.js | 5 +- .../packages/core/locales/lt.global.min.js | 6 +- .../packages/core/locales/lv.global.js | 5 +- .../packages/core/locales/lv.global.min.js | 6 +- .../packages/core/locales/mk.global.js | 5 +- .../packages/core/locales/mk.global.min.js | 6 +- .../packages/core/locales/ms.global.js | 5 +- .../packages/core/locales/ms.global.min.js | 6 +- .../packages/core/locales/nb.global.js | 5 +- .../packages/core/locales/nb.global.min.js | 6 +- .../packages/core/locales/ne.global.js | 5 +- .../packages/core/locales/ne.global.min.js | 6 +- .../packages/core/locales/nl.global.js | 4 +- .../packages/core/locales/nl.global.min.js | 4 +- .../packages/core/locales/nn.global.js | 5 +- .../packages/core/locales/nn.global.min.js | 6 +- .../packages/core/locales/pl.global.js | 5 +- .../packages/core/locales/pl.global.min.js | 6 +- .../packages/core/locales/pt-br.global.js | 26 +- .../packages/core/locales/pt-br.global.min.js | 6 +- .../packages/core/locales/pt.global.js | 5 +- .../packages/core/locales/pt.global.min.js | 6 +- .../packages/core/locales/ro.global.js | 5 +- .../packages/core/locales/ro.global.min.js | 6 +- .../packages/core/locales/ru.global.js | 5 +- .../packages/core/locales/ru.global.min.js | 6 +- .../packages/core/locales/si-lk.global.js | 5 +- .../packages/core/locales/si-lk.global.min.js | 6 +- .../packages/core/locales/sk.global.js | 5 +- .../packages/core/locales/sk.global.min.js | 6 +- .../packages/core/locales/sl.global.js | 5 +- .../packages/core/locales/sl.global.min.js | 6 +- .../packages/core/locales/sm.global.js | 5 +- .../packages/core/locales/sm.global.min.js | 6 +- .../packages/core/locales/sq.global.js | 7 +- .../packages/core/locales/sq.global.min.js | 6 +- .../packages/core/locales/sr-cyrl.global.js | 5 +- .../packages/core/locales/sr-cyrl.global.min.js | 6 +- .../packages/core/locales/sr.global.js | 5 +- .../packages/core/locales/sr.global.min.js | 6 +- .../packages/core/locales/sv.global.js | 5 +- .../packages/core/locales/sv.global.min.js | 6 +- .../packages/core/locales/ta-in.global.js | 5 +- .../packages/core/locales/ta-in.global.min.js | 6 +- .../packages/core/locales/th.global.js | 4 +- .../packages/core/locales/th.global.min.js | 4 +- .../packages/core/locales/tr.global.js | 5 +- .../packages/core/locales/tr.global.min.js | 6 +- .../packages/core/locales/ug.global.js | 8 +- .../packages/core/locales/ug.global.min.js | 6 +- .../packages/core/locales/uk.global.js | 5 +- .../packages/core/locales/uk.global.min.js | 6 +- .../packages/core/locales/uz-cy.global.js | 34 + .../packages/core/locales/uz-cy.global.min.js | 6 + .../packages/core/locales/uz.global.js | 12 +- .../packages/core/locales/uz.global.min.js | 6 +- .../packages/core/locales/vi.global.js | 5 +- .../packages/core/locales/vi.global.min.js | 6 +- .../packages/core/locales/zh-cn.global.js | 5 +- .../packages/core/locales/zh-cn.global.min.js | 6 +- .../packages/core/locales/zh-tw.global.js | 13 +- .../packages/core/locales/zh-tw.global.min.js | 6 +- .../fullcalendar/packages/daygrid/index.global.js | 258 ++- .../packages/daygrid/index.global.min.js | 6 +- .../packages/google-calendar/index.global.js | 4 +- .../packages/google-calendar/index.global.min.js | 4 +- .../packages/icalendar/index.global.js | 4 +- .../packages/icalendar/index.global.min.js | 4 +- .../packages/interaction/index.global.js | 10 +- .../packages/interaction/index.global.min.js | 6 +- library/fullcalendar/packages/list/index.global.js | 10 +- .../fullcalendar/packages/list/index.global.min.js | 6 +- .../fullcalendar/packages/luxon1/index.global.js | 4 +- .../packages/luxon1/index.global.min.js | 4 +- .../fullcalendar/packages/luxon2/index.global.js | 4 +- .../packages/luxon2/index.global.min.js | 4 +- .../fullcalendar/packages/luxon3/index.global.js | 131 ++ .../packages/luxon3/index.global.min.js | 6 + .../packages/moment-timezone/index.global.js | 4 +- .../packages/moment-timezone/index.global.min.js | 4 +- .../fullcalendar/packages/moment/index.global.js | 4 +- .../packages/moment/index.global.min.js | 4 +- .../packages/multimonth/index.global.js | 249 +++ .../packages/multimonth/index.global.min.js | 6 + .../fullcalendar/packages/rrule/index.global.js | 34 +- .../packages/rrule/index.global.min.js | 6 +- .../fullcalendar/packages/timegrid/index.global.js | 28 +- .../packages/timegrid/index.global.min.js | 6 +- .../packages/web-component/index.global.js | 19 +- .../packages/web-component/index.global.min.js | 8 +- 208 files changed, 3301 insertions(+), 1546 deletions(-) create mode 100644 library/fullcalendar/examples/multimonth-view.html create mode 100644 library/fullcalendar/examples/multiweek-view.html create mode 100644 library/fullcalendar/packages/core/locales/uz-cy.global.js create mode 100644 library/fullcalendar/packages/core/locales/uz-cy.global.min.js create mode 100644 library/fullcalendar/packages/luxon3/index.global.js create mode 100644 library/fullcalendar/packages/luxon3/index.global.min.js create mode 100644 library/fullcalendar/packages/multimonth/index.global.js create mode 100644 library/fullcalendar/packages/multimonth/index.global.min.js (limited to 'library') diff --git a/library/fullcalendar/dist/index.global.js b/library/fullcalendar/dist/index.global.js index d2a252f78..0f67113d8 100644 --- a/library/fullcalendar/dist/index.global.js +++ b/library/fullcalendar/dist/index.global.js @@ -1,16 +1,97 @@ /*! -FullCalendar Standard Bundle v6.0.3 +FullCalendar Standard Bundle v6.1.8 Docs & License: https://fullcalendar.io/docs/initialize-globals -(c) 2022 Adam Shaw +(c) 2023 Adam Shaw */ var FullCalendar = (function (exports) { 'use strict'; - var n,l$1,u$1,i$1,t,o,r$1,f$1={},e$1=[],c$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function s(n,l){for(var u in l)n[u]=l[u];return n}function a$1(n){var l=n.parentNode;l&&l.removeChild(n);}function h(l,u,i){var t,o,r,f={};for(r in u)"key"==r?t=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return v$1(l,f,t,o,null)}function v$1(n,i,t,o,r){var f={type:n,props:i,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u$1:r};return null==r&&null!=l$1.vnode&&l$1.vnode(f),f}function y(){return {current:null}}function p(n){return n.children}function d(n,l){this.props=n,this.context=l;}function _(n,l){if(null==l)return n.__?_(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l0?v$1(k.type,k.props,k.key,k.ref?k.ref:null,k.__v):k)){if(k.__=u,k.__b=u.__b+1,null===(d=x[h])||d&&k.key==d.key&&k.type===d.type)x[h]=void 0;else for(y=0;y2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===f[o]&&(f[o]=l.defaultProps[o]);return p(l,f,t,r,null)}function p(n,i,t,r,o){var f={type:n,props:i,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++u$1:o};return null==o&&null!=l$1.vnode&&l$1.vnode(f),f}function d(){return {current:null}}function _(n){return n.children}function k$1(n,l,u,i,t){var r;for(r in u)"children"===r||"key"===r||r in l||g$2(n,r,null,u[r],i);for(r in l)t&&"function"!=typeof l[r]||"children"===r||"key"===r||"value"===r||"checked"===r||u[r]===l[r]||g$2(n,r,l[r],u[r],i);}function b$1(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a$1.test(l)?u:u+"px";}function g$2(n,l,u,i,t){var r;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||b$1(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||b$1(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])r=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?i||n.addEventListener(l,r?w$2:m$1,r):n.removeEventListener(l,r?w$2:m$1,r);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u));}}function m$1(n){t=!0;try{return this.l[n.type+!1](l$1.event?l$1.event(n):n)}finally{t=!1;}}function w$2(n){t=!0;try{return this.l[n.type+!0](l$1.event?l$1.event(n):n)}finally{t=!1;}}function x$1(n,l){this.props=n,this.context=l;}function A(n,l){if(null==l)return n.__?A(n.__,n.__.__k.indexOf(n)+1):null;for(var u;ll&&r$1.sort(function(n,l){return n.__v.__b-l.__v.__b}));$$1.__r=0;}function H$1(n,l,u,i,t,r,o,f,e,a){var h,v,y,d,k,b,g,m=i&&i.__k||s,w=m.length;for(u.__k=[],h=0;h0?p(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)){if(d.__=u,d.__b=u.__b+1,null===(y=m[h])||y&&d.key==y.key&&d.type===y.type)m[h]=void 0;else for(v=0;v=0;l--)if((u=n.__k[l])&&(i=L$1(u)))return i;return null}function M(n,u,i,t,r,o,f,e,c){var s,a,v,y,p,d,k,b,g,m,w,A,P,C,T,$=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,o=[e]),(s=l$1.__b)&&s(u);try{n:if("function"==typeof $){if(b=u.props,g=(s=$.contextType)&&t[s.__c],m=s?g?g.props.value:s.__:t,i.__c?k=(a=u.__c=i.__c).__=a.__E:("prototype"in $&&$.prototype.render?u.__c=a=new $(b,m):(u.__c=a=new x$1(b,m),a.constructor=$,a.render=B$1),g&&g.sub(a),a.props=b,a.state||(a.state={}),a.context=m,a.__n=t,v=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=$.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=h({},a.__s)),h(a.__s,$.getDerivedStateFromProps(b,a.__s))),y=a.props,p=a.state,a.__v=u,v)null==$.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else {if(null==$.getDerivedStateFromProps&&b!==y&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,m),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,m)||u.__v===i.__v){for(u.__v!==i.__v&&(a.props=b,a.state=a.__s,a.__d=!1),u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),w=0;w2&&(f.children=arguments.length>3?n.call(arguments,2):i),p(l.type,f,t||l.key,r||l.ref,null)}function G$1(n,l){var u={__c:l="__cC"+e$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,T$1(n);});},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s.slice,l$1={__e:function(n,l,u,i){for(var t,r,o;l=l.__;)if((t=l.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(n)),o=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),o=t.__d),o)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,i$1=function(n){return null!=n&&void 0===n.constructor},t=!1,x$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof n&&(n=n(h({},u),this.props)),n&&h(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),T$1(this));},x$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),T$1(this));},x$1.prototype.render=_,r$1=[],f$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,$$1.__r=0,e$1=0; var r,u,i,f=[],c=[],e=l$1.__b,a=l$1.__r,v=l$1.diffed,l=l$1.__c,m=l$1.unmount;function b(){for(var t;t=f.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(k),t.__H.__h.forEach(w$1),t.__H.__h=[];}catch(r){t.__H.__h=[],l$1.__e(r,t.__v);}}l$1.__b=function(n){r=null,e&&e(n);},l$1.__r=function(n){a&&a(n);var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=c,n.__N=n.i=void 0;})):(i.__h.forEach(k),i.__h.forEach(w$1),i.__h=[])),u=r;},l$1.diffed=function(t){v&&v(t);var o=t.__c;o&&o.__H&&(o.__H.__h.length&&(1!==f.push(o)&&i===l$1.requestAnimationFrame||((i=l$1.requestAnimationFrame)||j$1)(b)),o.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==c&&(n.__=n.__V),n.i=void 0,n.__V=c;})),u=r=null;},l$1.__c=function(t,r){r.some(function(t){try{t.__h.forEach(k),t.__h=t.__h.filter(function(n){return !n.__||w$1(n)});}catch(u){r.some(function(n){n.__h&&(n.__h=[]);}),r=[],l$1.__e(u,t.__v);}}),l&&l(t,r);},l$1.unmount=function(t){m&&m(t);var r,u=t.__c;u&&u.__H&&(u.__H.__.forEach(function(n){try{k(n);}catch(n){r=n;}}),u.__H=void 0,r&&l$1.__e(r,u.__v));};var g$1="function"==typeof requestAnimationFrame;function j$1(n){var t,r=function(){clearTimeout(u),g$1&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,100);g$1&&(t=requestAnimationFrame(r));}function k(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t;}function w$1(n){var t=r;n.__c=n.__(),r=t;} - function g(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n)if("__source"!==e&&!(e in t))return !0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return !0;return !1}function w(n){this.props=n;}(w.prototype=new d).isPureReactComponent=!0,w.prototype.shouldComponentUpdate=function(n,t){return C(this.props,n)||C(this.state,t)};var x=l$1.__b;l$1.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),x&&x(n);};var T=l$1.__e;l$1.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);T(n,t,e,r);};var I=l$1.unmount;function L(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c();}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return L(n,t,e)})),n}function U(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return U(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function D(){this.__u=0,this.t=null,this.__b=null;}function F(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function V(){this.u=null,this.o=null;}l$1.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),I&&I(n);},(D.prototype=new d).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=F(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l());};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=U(n,n.__c.__P,n.__c.__O);}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate();}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i);},D.prototype.componentWillUnmount=function(){this.t=[];},D.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=L(this.__b,r,o.__O=o.__P);}this.__b=null;}var i=e.__a&&h(p,null,n.fallback);return i&&(i.__h=null),[h(p,null,e.__a?null:n.children),i]};var W=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]>>1,1),e.i.removeChild(n);}}),P$1(h(P,{context:e.context},n.__v),e.l)):e.l&&e.componentWillUnmount();}function j(n,e){var r=h($,{__v:n,i:e});return r.containerInfo=e,r}(V.prototype=new d).__a=function(n){var t=this,e=F(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),W(t,n,r)):u();};e?e(o):o();}},V.prototype.render=function(n){this.u=null,this.o=new Map;var t=x$1(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},V.prototype.componentDidUpdate=V.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){W(n,e,t);});};var z="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,B=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,H="undefined"!=typeof document,Z=function(n){return ("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(n)};d.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(d.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n});}});});var G=l$1.event;function J(){}function K(){return this.cancelBubble}function Q(){return this.defaultPrevented}l$1.event=function(n){return G&&(n=G(n)),n.persist=J,n.isPropagationStopped=K,n.isDefaultPrevented=Q,n.nativeEvent=n};var nn={configurable:!0,get:function(){return this.class}},tn=l$1.vnode;l$1.vnode=function(n){var t=n.type,e=n.props,u=e;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in u={},e){var l=e[i];H&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in e&&null==l||("defaultValue"===i&&"value"in e&&null==e.value?i="value":"download"===i&&!0===l?l="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Z(e.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&B.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===l&&(l=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),u[i]&&(i="oninputCapture")),u[i]=l);}"select"==t&&u.multiple&&Array.isArray(u.value)&&(u.value=x$1(e.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value);})),"select"==t&&null!=u.defaultValue&&(u.value=x$1(e.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value;})),n.props=u,e.class!=e.className&&(nn.enumerable="className"in e,null!=e.className&&(u.class=e.className),Object.defineProperty(u,"className",nn));}n.$$typeof=z,tn&&tn(n);};var en=l$1.__r;l$1.__r=function(n){en&&en(n),n.__c;}; + function g(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n)if("__source"!==e&&!(e in t))return !0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return !0;return !1}function w(n){this.props=n;}(w.prototype=new x$1).isPureReactComponent=!0,w.prototype.shouldComponentUpdate=function(n,t){return C(this.props,n)||C(this.state,t)};var x=l$1.__b;l$1.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),x&&x(n);};var T=l$1.__e;l$1.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);T(n,t,e,r);};var I=l$1.unmount;function L(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c();}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return L(n,t,e)})),n}function U(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return U(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function D(){this.__u=0,this.t=null,this.__b=null;}function F(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function V(){this.u=null,this.o=null;}l$1.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),I&&I(n);},(D.prototype=new x$1).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=F(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l());};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=U(n,n.__c.__P,n.__c.__O);}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate();}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i);},D.prototype.componentWillUnmount=function(){this.t=[];},D.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=L(this.__b,r,o.__O=o.__P);}this.__b=null;}var i=e.__a&&y(_,null,n.fallback);return i&&(i.__h=null),[y(_,null,e.__a?null:n.children),i]};var W=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]>>1,1),e.i.removeChild(n);}}),D$1(y(P,{context:e.context},n.__v),e.l)):e.l&&e.componentWillUnmount();}function j(n,e){var r=y($,{__v:n,i:e});return r.containerInfo=e,r}(V.prototype=new x$1).__a=function(n){var t=this,e=F(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),W(t,n,r)):u();};e?e(o):o();}},V.prototype.render=function(n){this.u=null,this.o=new Map;var t=j$2(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},V.prototype.componentDidUpdate=V.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){W(n,e,t);});};var z="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,B=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,H="undefined"!=typeof document,Z=function(n){return ("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(n)};x$1.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(x$1.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n});}});});var G=l$1.event;function J(){}function K(){return this.cancelBubble}function Q(){return this.defaultPrevented}l$1.event=function(n){return G&&(n=G(n)),n.persist=J,n.isPropagationStopped=K,n.isDefaultPrevented=Q,n.nativeEvent=n};var nn={configurable:!0,get:function(){return this.class}},tn=l$1.vnode;l$1.vnode=function(n){var t=n.type,e=n.props,u=e;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in u={},e){var l=e[i];H&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in e&&null==l||("defaultValue"===i&&"value"in e&&null==e.value?i="value":"download"===i&&!0===l?l="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Z(e.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&B.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===l&&(l=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),u[i]&&(i="oninputCapture")),u[i]=l);}"select"==t&&u.multiple&&Array.isArray(u.value)&&(u.value=j$2(e.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value);})),"select"==t&&null!=u.defaultValue&&(u.value=j$2(e.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value;})),n.props=u,e.class!=e.className&&(nn.enumerable="className"in e,null!=e.className&&(u.class=e.className),Object.defineProperty(u,"className",nn));}n.$$typeof=z,tn&&tn(n);};var en=l$1.__r;l$1.__r=function(n){en&&en(n),n.__c;}; + + const styleTexts = []; + const styleEls = new Map(); + function injectStyles(styleText) { + styleTexts.push(styleText); + styleEls.forEach((styleEl) => { + appendStylesTo(styleEl, styleText); + }); + } + function ensureElHasStyles(el) { + if (el.isConnected) { + registerStylesRoot(el.getRootNode()); + } + } + function registerStylesRoot(rootNode) { + let styleEl = styleEls.get(rootNode); + if (!styleEl || !styleEl.isConnected) { + styleEl = rootNode.querySelector('style[data-fullcalendar]'); + if (!styleEl) { + styleEl = document.createElement('style'); + styleEl.setAttribute('data-fullcalendar', ''); + const nonce = getNonceValue(); + if (nonce) { + styleEl.nonce = nonce; + } + const parentEl = rootNode === document ? document.head : rootNode; + const insertBefore = rootNode === document + ? parentEl.querySelector('script,link[rel=stylesheet],link[as=style],style') + : parentEl.firstChild; + parentEl.insertBefore(styleEl, insertBefore); + } + styleEls.set(rootNode, styleEl); + hydrateStylesRoot(styleEl); + } + } + function hydrateStylesRoot(styleEl) { + for (const styleText of styleTexts) { + appendStylesTo(styleEl, styleText); + } + } + function appendStylesTo(styleEl, styleText) { + const { sheet } = styleEl; + const ruleCnt = sheet.cssRules.length; + styleText.split('}').forEach((styleStr, i) => { + styleStr = styleStr.trim(); + if (styleStr) { + sheet.insertRule(styleStr + '}', ruleCnt + i); + } + }); + } + // nonce + // ------------------------------------------------------------------------------------------------- + let queriedNonceValue; + function getNonceValue() { + if (queriedNonceValue === undefined) { + queriedNonceValue = queryNonceValue(); + } + return queriedNonceValue; + } + /* + TODO: discourage meta tag and instead put nonce attribute on placeholder + + + +
+ + + diff --git a/library/fullcalendar/examples/multiweek-view.html b/library/fullcalendar/examples/multiweek-view.html new file mode 100644 index 000000000..5a175fbb9 --- /dev/null +++ b/library/fullcalendar/examples/multiweek-view.html @@ -0,0 +1,107 @@ + + + + + + + + + + +
+ + + diff --git a/library/fullcalendar/examples/natural-height.html b/library/fullcalendar/examples/natural-height.html index 215067522..b62c41d68 100644 --- a/library/fullcalendar/examples/natural-height.html +++ b/library/fullcalendar/examples/natural-height.html @@ -9,7 +9,7 @@ var calendarEl = document.getElementById('calendar'); var calendar = new FullCalendar.Calendar(calendarEl, { - initialDate: '2020-09-12', + initialDate: '2023-01-12', initialView: 'timeGridWeek', headerToolbar: { left: 'prev,next today', @@ -25,57 +25,57 @@ events: [ { title: 'All Day Event', - start: '2020-09-01', + start: '2023-01-01', }, { title: 'Long Event', - start: '2020-09-07', - end: '2020-09-10' + start: '2023-01-07', + end: '2023-01-10' }, { groupId: 999, title: 'Repeating Event', - start: '2020-09-09T16:00:00' + start: '2023-01-09T16:00:00' }, { groupId: 999, title: 'Repeating Event', - start: '2020-09-16T16:00:00' + start: '2023-01-16T16:00:00' }, { title: 'Conference', - start: '2020-09-11', - end: '2020-09-13' + start: '2023-01-11', + end: '2023-01-13' }, { title: 'Meeting', - start: '2020-09-12T10:30:00', - end: '2020-09-12T12:30:00' + start: '2023-01-12T10:30:00', + end: '2023-01-12T12:30:00' }, { title: 'Lunch', - start: '2020-09-12T12:00:00' + start: '2023-01-12T12:00:00' }, { title: 'Meeting', - start: '2020-09-12T14:30:00' + start: '2023-01-12T14:30:00' }, { title: 'Happy Hour', - start: '2020-09-12T17:30:00' + start: '2023-01-12T17:30:00' }, { title: 'Dinner', - start: '2020-09-12T20:00:00' + start: '2023-01-12T20:00:00' }, { title: 'Birthday Party', - start: '2020-09-13T07:00:00' + start: '2023-01-13T07:00:00' }, { title: 'Click for Google', url: 'http://google.com/', - start: '2020-09-28' + start: '2023-01-28' } ] }); diff --git a/library/fullcalendar/examples/selectable.html b/library/fullcalendar/examples/selectable.html index 09d384498..785e90efa 100644 --- a/library/fullcalendar/examples/selectable.html +++ b/library/fullcalendar/examples/selectable.html @@ -14,7 +14,7 @@ center: 'title', right: 'dayGridMonth,timeGridWeek,timeGridDay' }, - initialDate: '2020-09-12', + initialDate: '2023-01-12', navLinks: true, // can click day/week names to navigate views selectable: true, selectMirror: true, @@ -40,57 +40,57 @@ events: [ { title: 'All Day Event', - start: '2020-09-01' + start: '2023-01-01' }, { title: 'Long Event', - start: '2020-09-07', - end: '2020-09-10' + start: '2023-01-07', + end: '2023-01-10' }, { groupId: 999, title: 'Repeating Event', - start: '2020-09-09T16:00:00' + start: '2023-01-09T16:00:00' }, { groupId: 999, title: 'Repeating Event', - start: '2020-09-16T16:00:00' + start: '2023-01-16T16:00:00' }, { title: 'Conference', - start: '2020-09-11', - end: '2020-09-13' + start: '2023-01-11', + end: '2023-01-13' }, { title: 'Meeting', - start: '2020-09-12T10:30:00', - end: '2020-09-12T12:30:00' + start: '2023-01-12T10:30:00', + end: '2023-01-12T12:30:00' }, { title: 'Lunch', - start: '2020-09-12T12:00:00' + start: '2023-01-12T12:00:00' }, { title: 'Meeting', - start: '2020-09-12T14:30:00' + start: '2023-01-12T14:30:00' }, { title: 'Happy Hour', - start: '2020-09-12T17:30:00' + start: '2023-01-12T17:30:00' }, { title: 'Dinner', - start: '2020-09-12T20:00:00' + start: '2023-01-12T20:00:00' }, { title: 'Birthday Party', - start: '2020-09-13T07:00:00' + start: '2023-01-13T07:00:00' }, { title: 'Click for Google', url: 'http://google.com/', - start: '2020-09-28' + start: '2023-01-28' } ] }); diff --git a/library/fullcalendar/examples/timegrid-views.html b/library/fullcalendar/examples/timegrid-views.html index c197b1ae5..9cd2527e2 100644 --- a/library/fullcalendar/examples/timegrid-views.html +++ b/library/fullcalendar/examples/timegrid-views.html @@ -9,7 +9,7 @@ var calendarEl = document.getElementById('calendar'); var calendar = new FullCalendar.Calendar(calendarEl, { - initialDate: '2020-09-12', + initialDate: '2023-01-12', initialView: 'timeGridWeek', nowIndicator: true, headerToolbar: { @@ -25,57 +25,57 @@ events: [ { title: 'All Day Event', - start: '2020-09-01', + start: '2023-01-01', }, { title: 'Long Event', - start: '2020-09-07', - end: '2020-09-10' + start: '2023-01-07', + end: '2023-01-10' }, { groupId: 999, title: 'Repeating Event', - start: '2020-09-09T16:00:00' + start: '2023-01-09T16:00:00' }, { groupId: 999, title: 'Repeating Event', - start: '2020-09-16T16:00:00' + start: '2023-01-16T16:00:00' }, { title: 'Conference', - start: '2020-09-11', - end: '2020-09-13' + start: '2023-01-11', + end: '2023-01-13' }, { title: 'Meeting', - start: '2020-09-12T10:30:00', - end: '2020-09-12T12:30:00' + start: '2023-01-12T10:30:00', + end: '2023-01-12T12:30:00' }, { title: 'Lunch', - start: '2020-09-12T12:00:00' + start: '2023-01-12T12:00:00' }, { title: 'Meeting', - start: '2020-09-12T14:30:00' + start: '2023-01-12T14:30:00' }, { title: 'Happy Hour', - start: '2020-09-12T17:30:00' + start: '2023-01-12T17:30:00' }, { title: 'Dinner', - start: '2020-09-12T20:00:00' + start: '2023-01-12T20:00:00' }, { title: 'Birthday Party', - start: '2020-09-13T07:00:00' + start: '2023-01-13T07:00:00' }, { title: 'Click for Google', url: 'http://google.com/', - start: '2020-09-28' + start: '2023-01-28' } ] }); diff --git a/library/fullcalendar/packages/bootstrap4/index.global.js b/library/fullcalendar/packages/bootstrap4/index.global.js index 90d3aedf8..20b3510d9 100644 --- a/library/fullcalendar/packages/bootstrap4/index.global.js +++ b/library/fullcalendar/packages/bootstrap4/index.global.js @@ -1,7 +1,7 @@ /*! -FullCalendar Bootstrap 4 Plugin v6.0.3 +FullCalendar Bootstrap 4 Plugin v6.1.8 Docs & License: https://fullcalendar.io/docs/bootstrap4 -(c) 2022 Adam Shaw +(c) 2023 Adam Shaw */ FullCalendar.Bootstrap = (function (exports, core, internal$1) { 'use strict'; @@ -37,7 +37,7 @@ FullCalendar.Bootstrap = (function (exports, core, internal$1) { BootstrapTheme.prototype.iconOverrideCustomButtonOption = 'bootstrapFontAwesome'; BootstrapTheme.prototype.iconOverridePrefix = 'fa-'; - var css_248z = ".fc-theme-bootstrap a:not([href]){color:inherit}"; + var css_248z = ".fc-theme-bootstrap a:not([href]){color:inherit}.fc-theme-bootstrap .fc-more-link:hover{text-decoration:none}"; internal$1.injectStyles(css_248z); var plugin = core.createPlugin({ diff --git a/library/fullcalendar/packages/bootstrap4/index.global.min.js b/library/fullcalendar/packages/bootstrap4/index.global.min.js index 64a7ceade..92aa8415e 100644 --- a/library/fullcalendar/packages/bootstrap4/index.global.min.js +++ b/library/fullcalendar/packages/bootstrap4/index.global.min.js @@ -1,6 +1,6 @@ /*! -FullCalendar Bootstrap 4 Plugin v6.0.3 +FullCalendar Bootstrap 4 Plugin v6.1.8 Docs & License: https://fullcalendar.io/docs/bootstrap4 -(c) 2022 Adam Shaw +(c) 2023 Adam Shaw */ -FullCalendar.Bootstrap=function(e,t,o){"use strict";class r extends o.Theme{}r.prototype.classes={root:"fc-theme-bootstrap",table:"table-bordered",tableCellShaded:"table-active",buttonGroup:"btn-group",button:"btn btn-primary",buttonActive:"active",popover:"popover",popoverHeader:"popover-header",popoverContent:"popover-body"},r.prototype.baseIconClass="fa",r.prototype.iconClasses={close:"fa-times",prev:"fa-chevron-left",next:"fa-chevron-right",prevYear:"fa-angle-double-left",nextYear:"fa-angle-double-right"},r.prototype.rtlIconClasses={prev:"fa-chevron-right",next:"fa-chevron-left",prevYear:"fa-angle-double-right",nextYear:"fa-angle-double-left"},r.prototype.iconOverrideOption="bootstrapFontAwesome",r.prototype.iconOverrideCustomButtonOption="bootstrapFontAwesome",r.prototype.iconOverridePrefix="fa-";o.injectStyles(".fc-theme-bootstrap a:not([href]){color:inherit}");var a=t.createPlugin({name:"@fullcalendar/bootstrap",themeClasses:{bootstrap:r}}),l={__proto__:null,BootstrapTheme:r};return t.globalPlugins.push(a),e.Internal=l,e.default=a,Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar,FullCalendar.Internal); \ No newline at end of file +FullCalendar.Bootstrap=function(e,t,o){"use strict";class r extends o.Theme{}r.prototype.classes={root:"fc-theme-bootstrap",table:"table-bordered",tableCellShaded:"table-active",buttonGroup:"btn-group",button:"btn btn-primary",buttonActive:"active",popover:"popover",popoverHeader:"popover-header",popoverContent:"popover-body"},r.prototype.baseIconClass="fa",r.prototype.iconClasses={close:"fa-times",prev:"fa-chevron-left",next:"fa-chevron-right",prevYear:"fa-angle-double-left",nextYear:"fa-angle-double-right"},r.prototype.rtlIconClasses={prev:"fa-chevron-right",next:"fa-chevron-left",prevYear:"fa-angle-double-right",nextYear:"fa-angle-double-left"},r.prototype.iconOverrideOption="bootstrapFontAwesome",r.prototype.iconOverrideCustomButtonOption="bootstrapFontAwesome",r.prototype.iconOverridePrefix="fa-";o.injectStyles(".fc-theme-bootstrap a:not([href]){color:inherit}.fc-theme-bootstrap .fc-more-link:hover{text-decoration:none}");var a=t.createPlugin({name:"@fullcalendar/bootstrap",themeClasses:{bootstrap:r}}),n={__proto__:null,BootstrapTheme:r};return t.globalPlugins.push(a),e.Internal=n,e.default=a,Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar,FullCalendar.Internal); \ No newline at end of file diff --git a/library/fullcalendar/packages/bootstrap5/index.global.js b/library/fullcalendar/packages/bootstrap5/index.global.js index eee322a49..47ff25497 100644 --- a/library/fullcalendar/packages/bootstrap5/index.global.js +++ b/library/fullcalendar/packages/bootstrap5/index.global.js @@ -1,7 +1,7 @@ /*! -FullCalendar Bootstrap 5 Plugin v6.0.3 +FullCalendar Bootstrap 5 Plugin v6.1.8 Docs & License: https://fullcalendar.io/docs/bootstrap5 -(c) 2022 Adam Shaw +(c) 2023 Adam Shaw */ FullCalendar.Bootstrap5 = (function (exports, core, internal$1) { 'use strict'; diff --git a/library/fullcalendar/packages/bootstrap5/index.global.min.js b/library/fullcalendar/packages/bootstrap5/index.global.min.js index 8f17785f8..9478bbacc 100644 --- a/library/fullcalendar/packages/bootstrap5/index.global.min.js +++ b/library/fullcalendar/packages/bootstrap5/index.global.min.js @@ -1,6 +1,6 @@ /*! -FullCalendar Bootstrap 5 Plugin v6.0.3 +FullCalendar Bootstrap 5 Plugin v6.1.8 Docs & License: https://fullcalendar.io/docs/bootstrap5 -(c) 2022 Adam Shaw +(c) 2023 Adam Shaw */ FullCalendar.Bootstrap5=function(e,t,o){"use strict";class r extends o.Theme{}r.prototype.classes={root:"fc-theme-bootstrap5",tableCellShaded:"fc-theme-bootstrap5-shaded",buttonGroup:"btn-group",button:"btn btn-primary",buttonActive:"active",popover:"popover",popoverHeader:"popover-header",popoverContent:"popover-body"},r.prototype.baseIconClass="bi",r.prototype.iconClasses={close:"bi-x-lg",prev:"bi-chevron-left",next:"bi-chevron-right",prevYear:"bi-chevron-double-left",nextYear:"bi-chevron-double-right"},r.prototype.rtlIconClasses={prev:"bi-chevron-right",next:"bi-chevron-left",prevYear:"bi-chevron-double-right",nextYear:"bi-chevron-double-left"},r.prototype.iconOverrideOption="buttonIcons",r.prototype.iconOverrideCustomButtonOption="icon",r.prototype.iconOverridePrefix="bi-";o.injectStyles(".fc-theme-bootstrap5 a:not([href]){color:inherit;text-decoration:inherit}.fc-theme-bootstrap5 .fc-list,.fc-theme-bootstrap5 .fc-scrollgrid,.fc-theme-bootstrap5 td,.fc-theme-bootstrap5 th{border:1px solid var(--bs-gray-400)}.fc-theme-bootstrap5 .fc-scrollgrid{border-bottom-width:0;border-right-width:0}.fc-theme-bootstrap5-shaded{background-color:var(--bs-gray-200)}");var a=t.createPlugin({name:"@fullcalendar/bootstrap5",themeClasses:{bootstrap5:r}}),n={__proto__:null,BootstrapTheme:r};return t.globalPlugins.push(a),e.Internal=n,e.default=a,Object.defineProperty(e,"__esModule",{value:!0}),e}({},FullCalendar,FullCalendar.Internal); \ No newline at end of file diff --git a/library/fullcalendar/packages/core/index.global.js b/library/fullcalendar/packages/core/index.global.js index 6f2696bae..b7eebab97 100644 --- a/library/fullcalendar/packages/core/index.global.js +++ b/library/fullcalendar/packages/core/index.global.js @@ -1,11 +1,92 @@ /*! -FullCalendar Core v6.0.3 +FullCalendar Core v6.1.8 Docs & License: https://fullcalendar.io -(c) 2022 Adam Shaw +(c) 2023 Adam Shaw */ var FullCalendar = (function (exports) { 'use strict'; + const styleTexts = []; + const styleEls = new Map(); + function injectStyles(styleText) { + styleTexts.push(styleText); + styleEls.forEach((styleEl) => { + appendStylesTo(styleEl, styleText); + }); + } + function ensureElHasStyles(el) { + if (el.isConnected) { + registerStylesRoot(el.getRootNode()); + } + } + function registerStylesRoot(rootNode) { + let styleEl = styleEls.get(rootNode); + if (!styleEl || !styleEl.isConnected) { + styleEl = rootNode.querySelector('style[data-fullcalendar]'); + if (!styleEl) { + styleEl = document.createElement('style'); + styleEl.setAttribute('data-fullcalendar', ''); + const nonce = getNonceValue(); + if (nonce) { + styleEl.nonce = nonce; + } + const parentEl = rootNode === document ? document.head : rootNode; + const insertBefore = rootNode === document + ? parentEl.querySelector('script,link[rel=stylesheet],link[as=style],style') + : parentEl.firstChild; + parentEl.insertBefore(styleEl, insertBefore); + } + styleEls.set(rootNode, styleEl); + hydrateStylesRoot(styleEl); + } + } + function hydrateStylesRoot(styleEl) { + for (const styleText of styleTexts) { + appendStylesTo(styleEl, styleText); + } + } + function appendStylesTo(styleEl, styleText) { + const { sheet } = styleEl; + const ruleCnt = sheet.cssRules.length; + styleText.split('}').forEach((styleStr, i) => { + styleStr = styleStr.trim(); + if (styleStr) { + sheet.insertRule(styleStr + '}', ruleCnt + i); + } + }); + } + // nonce + // ------------------------------------------------------------------------------------------------- + let queriedNonceValue; + function getNonceValue() { + if (queriedNonceValue === undefined) { + queriedNonceValue = queryNonceValue(); + } + return queriedNonceValue; + } + /* + TODO: discourage meta tag and instead put nonce attribute on placeholder