mirror of https://github.com/ColorlibHQ/AdminLTE
update plugin files
parent
431f19b0ec
commit
76de56d35a
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
|
||||
* Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
*/
|
||||
.fa,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
|
||||
* Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
*/
|
||||
@font-face {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
|
||||
* Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
*/
|
||||
@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-brands-400.eot);src:url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.woff) format("woff"),url(../webfonts/fa-brands-400.ttf) format("truetype"),url(../webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands";font-weight:400}
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
|
||||
* Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
*/
|
||||
.fa,
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
|
||||
* Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
*/
|
||||
@font-face {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
|
||||
* Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
*/
|
||||
@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-regular-400.eot);src:url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.woff) format("woff"),url(../webfonts/fa-regular-400.ttf) format("truetype"),url(../webfonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-family:"Font Awesome 5 Free";font-weight:400}
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
|
||||
* Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
*/
|
||||
@font-face {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
|
||||
* Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
*/
|
||||
@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.eot);src:url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.woff) format("woff"),url(../webfonts/fa-solid-900.ttf) format("truetype"),url(../webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.fas{font-family:"Font Awesome 5 Free";font-weight:900}
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
|
||||
* Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
*/
|
||||
svg:not(:root).svg-inline--fa {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
* Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
|
||||
* Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com
|
||||
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
*/
|
||||
.fa.fa-glass:before {
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -2,11 +2,11 @@
|
|||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
|
||||
<metadata>
|
||||
Created by FontForge 20200314 at Mon Oct 5 09:50:45 2020
|
||||
Created by FontForge 20200314 at Wed Jan 13 11:57:55 2021
|
||||
By Robert Madole
|
||||
Copyright (c) Font Awesome
|
||||
</metadata>
|
||||
<!-- Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><defs>
|
||||
<!-- Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><defs>
|
||||
<font id="FontAwesome5Brands-Regular" horiz-adv-x="448" >
|
||||
<font-face
|
||||
font-family="Font Awesome 5 Brands Regular"
|
||||
|
|
Before Width: | Height: | Size: 730 KiB After Width: | Height: | Size: 730 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -2,11 +2,11 @@
|
|||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
|
||||
<metadata>
|
||||
Created by FontForge 20200314 at Mon Oct 5 09:50:45 2020
|
||||
Created by FontForge 20200314 at Wed Jan 13 11:57:54 2021
|
||||
By Robert Madole
|
||||
Copyright (c) Font Awesome
|
||||
</metadata>
|
||||
<!-- Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><defs>
|
||||
<!-- Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><defs>
|
||||
<font id="FontAwesome5Free-Regular" horiz-adv-x="512" >
|
||||
<font-face
|
||||
font-family="Font Awesome 5 Free Regular"
|
||||
|
|
Before Width: | Height: | Size: 141 KiB After Width: | Height: | Size: 141 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -2,11 +2,11 @@
|
|||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
|
||||
<metadata>
|
||||
Created by FontForge 20200314 at Mon Oct 5 09:50:45 2020
|
||||
Created by FontForge 20200314 at Wed Jan 13 11:57:55 2021
|
||||
By Robert Madole
|
||||
Copyright (c) Font Awesome
|
||||
</metadata>
|
||||
<!-- Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><defs>
|
||||
<!-- Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><defs>
|
||||
<font id="FontAwesome5Free-Solid" horiz-adv-x="512" >
|
||||
<font-face
|
||||
font-family="Font Awesome 5 Free Solid"
|
||||
|
|
Before Width: | Height: | Size: 896 KiB After Width: | Height: | Size: 896 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1347,6 +1347,29 @@
|
|||
};
|
||||
|
||||
var l64 = {
|
||||
code: 'ta-in',
|
||||
week: {
|
||||
dow: 1, // Monday is the first day of the week.
|
||||
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||
},
|
||||
buttonText: {
|
||||
prev: 'முந்தைய',
|
||||
next: 'அடுத்தது',
|
||||
today: 'இன்று',
|
||||
month: 'மாதம்',
|
||||
week: 'சனிக்கிழமை',
|
||||
day: 'நாள்',
|
||||
list: 'தினசரி கதை',
|
||||
},
|
||||
weekText: 'வார',
|
||||
allDayText: 'நாள் முழுவதும்',
|
||||
moreLinkText: function(n) {
|
||||
return '+ மேலும் ' + n
|
||||
},
|
||||
noEventsText: 'நிகழ்வைக் காட்டவில்லை',
|
||||
};
|
||||
|
||||
var l65 = {
|
||||
code: 'th',
|
||||
week: {
|
||||
dow: 1, // Monday is the first day of the week.
|
||||
|
@ -1370,7 +1393,7 @@
|
|||
noEventsText: 'ไม่มีกิจกรรมที่จะแสดง',
|
||||
};
|
||||
|
||||
var l65 = {
|
||||
var l66 = {
|
||||
code: 'tr',
|
||||
week: {
|
||||
dow: 1, // Monday is the first day of the week.
|
||||
|
@ -1391,7 +1414,7 @@
|
|||
noEventsText: 'Gösterilecek etkinlik yok',
|
||||
};
|
||||
|
||||
var l66 = {
|
||||
var l67 = {
|
||||
code: 'ug',
|
||||
buttonText: {
|
||||
month: 'ئاي',
|
||||
|
@ -1402,7 +1425,7 @@
|
|||
allDayText: 'پۈتۈن كۈن',
|
||||
};
|
||||
|
||||
var l67 = {
|
||||
var l68 = {
|
||||
code: 'uk',
|
||||
week: {
|
||||
dow: 1, // Monday is the first day of the week.
|
||||
|
@ -1425,7 +1448,7 @@
|
|||
noEventsText: 'Немає подій для відображення',
|
||||
};
|
||||
|
||||
var l68 = {
|
||||
var l69 = {
|
||||
code: 'uz',
|
||||
buttonText: {
|
||||
month: 'Oy',
|
||||
|
@ -1440,7 +1463,7 @@
|
|||
noEventsText: "Ko'rsatish uchun voqealar yo'q",
|
||||
};
|
||||
|
||||
var l69 = {
|
||||
var l70 = {
|
||||
code: 'vi',
|
||||
week: {
|
||||
dow: 1, // Monday is the first day of the week.
|
||||
|
@ -1463,7 +1486,7 @@
|
|||
noEventsText: 'Không có sự kiện để hiển thị',
|
||||
};
|
||||
|
||||
var l70 = {
|
||||
var l71 = {
|
||||
code: 'zh-cn',
|
||||
week: {
|
||||
// GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
|
||||
|
@ -1487,7 +1510,7 @@
|
|||
noEventsText: '没有事件显示',
|
||||
};
|
||||
|
||||
var l71 = {
|
||||
var l72 = {
|
||||
code: 'zh-tw',
|
||||
buttonText: {
|
||||
prev: '上月',
|
||||
|
@ -1507,7 +1530,7 @@
|
|||
/* eslint max-len: off */
|
||||
|
||||
var localesAll = [
|
||||
l0, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23, l24, l25, l26, l27, l28, l29, l30, l31, l32, l33, l34, l35, l36, l37, l38, l39, l40, l41, l42, l43, l44, l45, l46, l47, l48, l49, l50, l51, l52, l53, l54, l55, l56, l57, l58, l59, l60, l61, l62, l63, l64, l65, l66, l67, l68, l69, l70, l71,
|
||||
l0, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22, l23, l24, l25, l26, l27, l28, l29, l30, l31, l32, l33, l34, l35, l36, l37, l38, l39, l40, l41, l42, l43, l44, l45, l46, l47, l48, l49, l50, l51, l52, l53, l54, l55, l56, l57, l58, l59, l60, l61, l62, l63, l64, l65, l66, l67, l68, l69, l70, l71, l72,
|
||||
];
|
||||
|
||||
return localesAll;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,29 @@
|
|||
FullCalendar.globalLocales.push(function () {
|
||||
'use strict';
|
||||
|
||||
var taIn = {
|
||||
code: 'ta-in',
|
||||
week: {
|
||||
dow: 1, // Monday is the first day of the week.
|
||||
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
||||
},
|
||||
buttonText: {
|
||||
prev: 'முந்தைய',
|
||||
next: 'அடுத்தது',
|
||||
today: 'இன்று',
|
||||
month: 'மாதம்',
|
||||
week: 'சனிக்கிழமை',
|
||||
day: 'நாள்',
|
||||
list: 'தினசரி கதை',
|
||||
},
|
||||
weekText: 'வார',
|
||||
allDayText: 'நாள் முழுவதும்',
|
||||
moreLinkText: function(n) {
|
||||
return '+ மேலும் ' + n
|
||||
},
|
||||
noEventsText: 'நிகழ்வைக் காட்டவில்லை',
|
||||
};
|
||||
|
||||
return taIn;
|
||||
|
||||
}());
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
FullCalendar v5.5.0
|
||||
FullCalendar v5.5.1
|
||||
Docs & License: https://fullcalendar.io/
|
||||
(c) 2020 Adam Shaw
|
||||
*/
|
||||
|
@ -8740,15 +8740,15 @@ var FullCalendar = (function (exports) {
|
|||
var bodySectionNodes = [];
|
||||
var footSectionNodes = [];
|
||||
while (configI < configCnt && (currentConfig = sectionConfigs[configI]).type === 'header') {
|
||||
headSectionNodes.push(this.renderSection(currentConfig, configI, microColGroupNode));
|
||||
headSectionNodes.push(this.renderSection(currentConfig, microColGroupNode));
|
||||
configI += 1;
|
||||
}
|
||||
while (configI < configCnt && (currentConfig = sectionConfigs[configI]).type === 'body') {
|
||||
bodySectionNodes.push(this.renderSection(currentConfig, configI, microColGroupNode));
|
||||
bodySectionNodes.push(this.renderSection(currentConfig, microColGroupNode));
|
||||
configI += 1;
|
||||
}
|
||||
while (configI < configCnt && (currentConfig = sectionConfigs[configI]).type === 'footer') {
|
||||
footSectionNodes.push(this.renderSection(currentConfig, configI, microColGroupNode));
|
||||
footSectionNodes.push(this.renderSection(currentConfig, microColGroupNode));
|
||||
configI += 1;
|
||||
}
|
||||
// firefox bug: when setting height on table and there is a thead or tfoot,
|
||||
|
@ -8761,13 +8761,13 @@ var FullCalendar = (function (exports) {
|
|||
style: { height: props.height },
|
||||
}, Boolean(!isBuggy && headSectionNodes.length) && createElement.apply(void 0, __spreadArrays(['thead', {}], headSectionNodes)), Boolean(!isBuggy && bodySectionNodes.length) && createElement.apply(void 0, __spreadArrays(['tbody', {}], bodySectionNodes)), Boolean(!isBuggy && footSectionNodes.length) && createElement.apply(void 0, __spreadArrays(['tfoot', {}], footSectionNodes)), isBuggy && createElement.apply(void 0, __spreadArrays(['tbody', {}], headSectionNodes, bodySectionNodes, footSectionNodes)));
|
||||
};
|
||||
SimpleScrollGrid.prototype.renderSection = function (sectionConfig, sectionI, microColGroupNode) {
|
||||
SimpleScrollGrid.prototype.renderSection = function (sectionConfig, microColGroupNode) {
|
||||
if ('outerContent' in sectionConfig) {
|
||||
return (createElement(Fragment, { key: sectionConfig.key }, sectionConfig.outerContent));
|
||||
}
|
||||
return (createElement("tr", { key: sectionConfig.key, className: getSectionClassNames(sectionConfig, this.props.liquid).join(' ') }, this.renderChunkTd(sectionConfig, sectionI, microColGroupNode, sectionConfig.chunk)));
|
||||
return (createElement("tr", { key: sectionConfig.key, className: getSectionClassNames(sectionConfig, this.props.liquid).join(' ') }, this.renderChunkTd(sectionConfig, microColGroupNode, sectionConfig.chunk)));
|
||||
};
|
||||
SimpleScrollGrid.prototype.renderChunkTd = function (sectionConfig, sectionI, microColGroupNode, chunkConfig) {
|
||||
SimpleScrollGrid.prototype.renderChunkTd = function (sectionConfig, microColGroupNode, chunkConfig) {
|
||||
if ('outerContent' in chunkConfig) {
|
||||
return chunkConfig.outerContent;
|
||||
}
|
||||
|
@ -8781,11 +8781,12 @@ var FullCalendar = (function (exports) {
|
|||
forceYScrollbars ? 'scroll' :
|
||||
!needsYScrolling ? 'hidden' :
|
||||
'auto';
|
||||
var sectionKey = sectionConfig.key;
|
||||
var content = renderChunkContent(sectionConfig, chunkConfig, {
|
||||
tableColGroupNode: microColGroupNode,
|
||||
tableMinWidth: '',
|
||||
clientWidth: scrollerClientWidths[sectionI] !== undefined ? scrollerClientWidths[sectionI] : null,
|
||||
clientHeight: scrollerClientHeights[sectionI] !== undefined ? scrollerClientHeights[sectionI] : null,
|
||||
clientWidth: scrollerClientWidths[sectionKey] !== undefined ? scrollerClientWidths[sectionKey] : null,
|
||||
clientHeight: scrollerClientHeights[sectionKey] !== undefined ? scrollerClientHeights[sectionKey] : null,
|
||||
expandRows: sectionConfig.expandRows,
|
||||
syncRowHeights: false,
|
||||
rowSyncHeights: [],
|
||||
|
@ -8793,13 +8794,14 @@ var FullCalendar = (function (exports) {
|
|||
});
|
||||
return (createElement("td", { ref: chunkConfig.elRef },
|
||||
createElement("div", { className: "fc-scroller-harness" + (isLiquid ? ' fc-scroller-harness-liquid' : '') },
|
||||
createElement(Scroller, { ref: this.scrollerRefs.createRef(sectionI), elRef: this.scrollerElRefs.createRef(sectionI), overflowY: overflowY, overflowX: !props.liquid ? 'visible' : 'hidden' /* natural height? */, maxHeight: sectionConfig.maxHeight, liquid: isLiquid, liquidIsAbsolute // because its within a harness
|
||||
createElement(Scroller, { ref: this.scrollerRefs.createRef(sectionKey), elRef: this.scrollerElRefs.createRef(sectionKey), overflowY: overflowY, overflowX: !props.liquid ? 'visible' : 'hidden' /* natural height? */, maxHeight: sectionConfig.maxHeight, liquid: isLiquid, liquidIsAbsolute // because its within a harness
|
||||
: true }, content))));
|
||||
};
|
||||
SimpleScrollGrid.prototype._handleScrollerEl = function (scrollerEl, key) {
|
||||
var sectionI = parseInt(key, 10);
|
||||
var chunkConfig = this.props.sections[sectionI].chunk;
|
||||
setRef(chunkConfig.scrollerElRef, scrollerEl);
|
||||
var section = getSectionByKey(this.props.sections, key);
|
||||
if (section) {
|
||||
setRef(section.chunk.scrollerElRef, scrollerEl);
|
||||
}
|
||||
};
|
||||
SimpleScrollGrid.prototype.componentDidMount = function () {
|
||||
this.handleSizing();
|
||||
|
@ -8819,26 +8821,27 @@ var FullCalendar = (function (exports) {
|
|||
};
|
||||
SimpleScrollGrid.prototype.computeScrollerDims = function () {
|
||||
var scrollbarWidth = getScrollbarWidths();
|
||||
var sectionCnt = this.props.sections.length;
|
||||
var _a = this, scrollerRefs = _a.scrollerRefs, scrollerElRefs = _a.scrollerElRefs;
|
||||
var forceYScrollbars = false;
|
||||
var scrollerClientWidths = {};
|
||||
var scrollerClientHeights = {};
|
||||
for (var sectionI = 0; sectionI < sectionCnt; sectionI += 1) { // along edge
|
||||
var scroller = scrollerRefs.currentMap[sectionI];
|
||||
for (var sectionKey in scrollerRefs.currentMap) {
|
||||
var scroller = scrollerRefs.currentMap[sectionKey];
|
||||
if (scroller && scroller.needsYScrolling()) {
|
||||
forceYScrollbars = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
for (var sectionI = 0; sectionI < sectionCnt; sectionI += 1) { // along edge
|
||||
var scrollerEl = scrollerElRefs.currentMap[sectionI];
|
||||
for (var _i = 0, _b = this.props.sections; _i < _b.length; _i++) {
|
||||
var section = _b[_i];
|
||||
var sectionKey = section.key;
|
||||
var scrollerEl = scrollerElRefs.currentMap[sectionKey];
|
||||
if (scrollerEl) {
|
||||
var harnessEl = scrollerEl.parentNode; // TODO: weird way to get this. need harness b/c doesn't include table borders
|
||||
scrollerClientWidths[sectionI] = Math.floor(harnessEl.getBoundingClientRect().width - (forceYScrollbars
|
||||
scrollerClientWidths[sectionKey] = Math.floor(harnessEl.getBoundingClientRect().width - (forceYScrollbars
|
||||
? scrollbarWidth.y // use global because scroller might not have scrollbars yet but will need them in future
|
||||
: 0));
|
||||
scrollerClientHeights[sectionI] = Math.floor(harnessEl.getBoundingClientRect().height);
|
||||
scrollerClientHeights[sectionKey] = Math.floor(harnessEl.getBoundingClientRect().height);
|
||||
}
|
||||
}
|
||||
return { forceYScrollbars: forceYScrollbars, scrollerClientWidths: scrollerClientWidths, scrollerClientHeights: scrollerClientHeights };
|
||||
|
@ -8849,6 +8852,15 @@ var FullCalendar = (function (exports) {
|
|||
scrollerClientWidths: isPropsEqual,
|
||||
scrollerClientHeights: isPropsEqual,
|
||||
});
|
||||
function getSectionByKey(sections, key) {
|
||||
for (var _i = 0, sections_1 = sections; _i < sections_1.length; _i++) {
|
||||
var section = sections_1[_i];
|
||||
if (section.key === key) {
|
||||
return section;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
var EventRoot = /** @class */ (function (_super) {
|
||||
__extends(EventRoot, _super);
|
||||
|
@ -9030,7 +9042,7 @@ var FullCalendar = (function (exports) {
|
|||
|
||||
// exports
|
||||
// --------------------------------------------------------------------------------------------------
|
||||
var version = '5.5.0'; // important to type it, so .d.ts has generic string
|
||||
var version = '5.5.1'; // important to type it, so .d.ts has generic string
|
||||
|
||||
var Calendar = /** @class */ (function (_super) {
|
||||
__extends(Calendar, _super);
|
||||
|
@ -12754,10 +12766,10 @@ var FullCalendar = (function (exports) {
|
|||
}
|
||||
|
||||
var TimeColsSlatsCoords = /** @class */ (function () {
|
||||
function TimeColsSlatsCoords(positions, dateProfile, slatMetas) {
|
||||
function TimeColsSlatsCoords(positions, dateProfile, slotDuration) {
|
||||
this.positions = positions;
|
||||
this.dateProfile = dateProfile;
|
||||
this.slatMetas = slatMetas;
|
||||
this.slotDuration = slotDuration;
|
||||
}
|
||||
TimeColsSlatsCoords.prototype.safeComputeTop = function (date) {
|
||||
var dateProfile = this.dateProfile;
|
||||
|
@ -12783,12 +12795,10 @@ var FullCalendar = (function (exports) {
|
|||
// This is a makeshify way to compute the time-top. Assumes all slatMetas dates are uniform.
|
||||
// Eventually allow computation with arbirary slat dates.
|
||||
TimeColsSlatsCoords.prototype.computeTimeTop = function (duration) {
|
||||
var _a = this, positions = _a.positions, dateProfile = _a.dateProfile, slatMetas = _a.slatMetas;
|
||||
var _a = this, positions = _a.positions, dateProfile = _a.dateProfile;
|
||||
var len = positions.els.length;
|
||||
// we assume dates are uniform
|
||||
var slotDurationMs = slatMetas[1].date.valueOf() - slatMetas[0].date.valueOf();
|
||||
// floating-point value of # of slots covered
|
||||
var slatCoverage = (duration.milliseconds - asRoughMs(dateProfile.slotMinTime)) / slotDurationMs;
|
||||
var slatCoverage = (duration.milliseconds - asRoughMs(dateProfile.slotMinTime)) / asRoughMs(this.slotDuration);
|
||||
var slatIndex;
|
||||
var slatRemainder;
|
||||
// compute a floating-point number for how many slats should be progressed through.
|
||||
|
@ -12871,13 +12881,13 @@ var FullCalendar = (function (exports) {
|
|||
}
|
||||
};
|
||||
TimeColsSlats.prototype.updateSizing = function () {
|
||||
var props = this.props;
|
||||
var _a = this, context = _a.context, props = _a.props;
|
||||
if (props.onCoords &&
|
||||
props.clientWidth !== null // means sizing has stabilized
|
||||
) {
|
||||
var rootEl = this.rootElRef.current;
|
||||
if (rootEl.offsetHeight) { // not hidden by css
|
||||
props.onCoords(new TimeColsSlatsCoords(new PositionCache(this.rootElRef.current, collectSlatEls(this.slatElRefs.currentMap, props.slatMetas), false, true), this.props.dateProfile, props.slatMetas));
|
||||
props.onCoords(new TimeColsSlatsCoords(new PositionCache(this.rootElRef.current, collectSlatEls(this.slatElRefs.currentMap, props.slatMetas), false, true), this.props.dateProfile, context.options.slotDuration));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
.uplot, .uplot *, .uplot *::before, .uplot *::after {box-sizing: border-box;}.uplot {font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";line-height: 1.5;width: min-content;}.u-title {text-align: center;font-size: 18px;font-weight: bold;}.u-wrap {position: relative;user-select: none;}.u-over, .u-under {position: absolute;}.u-under {overflow: hidden;}.uplot canvas {display: block;position: relative;width: 100%;height: 100%;}.u-legend {font-size: 14px;margin: auto;text-align: center;}.u-inline {display: block;}.u-inline * {display: inline-block;}.u-inline tr {margin-right: 16px;}.u-legend th {font-weight: 600;}.u-legend th > * {vertical-align: middle;display: inline-block;}.u-legend .u-marker {width: 1em;height: 1em;margin-right: 4px;border: 2px solid transparent;}.u-series:first-child .u-marker {display: none;}.u-inline.u-live th::after {content: ":";vertical-align: middle;}.u-inline:not(.u-live) .u-value {display: none;}.u-series > * {padding: 4px;}.u-series th {cursor: pointer;}.u-legend .u-off > * {opacity: 0.3;}.u-select {background: rgba(0,0,0,0.07);position: absolute;pointer-events: none;}.u-cursor-x, .u-cursor-y {position: absolute;left: 0;top: 0;pointer-events: none;will-change: transform;z-index: 100;}.u-cursor-x {height: 100%;border-right: 1px dashed #607D8B;}.u-cursor-y {width: 100%;border-bottom: 1px dashed #607D8B;}.u-cursor-pt {position: absolute;top: 0;left: 0;border-radius: 50%;pointer-events: none;will-change: transform;z-index: 100;/*this has to be !important since we set inline "background" shorthand */background-clip: content-box !important;}.u-select.u-off, .u-cursor-x.u-off, .u-cursor-y.u-off, .u-cursor-pt.u-off {display: none;}
|
||||
.uplot, .uplot *, .uplot *::before, .uplot *::after {box-sizing: border-box;}.uplot {font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";line-height: 1.5;width: min-content;}.u-title {text-align: center;font-size: 18px;font-weight: bold;}.u-wrap {position: relative;user-select: none;}.u-over, .u-under {position: absolute;}.u-under {overflow: hidden;}.uplot canvas {display: block;position: relative;width: 100%;height: 100%;}.u-legend {font-size: 14px;margin: auto;text-align: center;}.u-inline {display: block;}.u-inline * {display: inline-block;}.u-inline tr {margin-right: 16px;}.u-legend th {font-weight: 600;}.u-legend th > * {vertical-align: middle;display: inline-block;}.u-legend .u-marker {width: 1em;height: 1em;margin-right: 4px;background-clip: content-box !important;}.u-inline.u-live th::after {content: ":";vertical-align: middle;}.u-inline:not(.u-live) .u-value {display: none;}.u-series > * {padding: 4px;}.u-series th {cursor: pointer;}.u-legend .u-off > * {opacity: 0.3;}.u-select {background: rgba(0,0,0,0.07);position: absolute;pointer-events: none;}.u-cursor-x, .u-cursor-y {position: absolute;left: 0;top: 0;pointer-events: none;will-change: transform;z-index: 100;}.u-hz .u-cursor-x, .u-vt .u-cursor-y {height: 100%;border-right: 1px dashed #607D8B;}.u-hz .u-cursor-y, .u-vt .u-cursor-x {width: 100%;border-bottom: 1px dashed #607D8B;}.u-cursor-pt {position: absolute;top: 0;left: 0;border-radius: 50%;pointer-events: none;will-change: transform;z-index: 100;/*this has to be !important since we set inline "background" shorthand */background-clip: content-box !important;}.u-select.u-off, .u-cursor-x.u-off, .u-cursor-y.u-off, .u-cursor-pt.u-off {display: none;}
|
Loading…
Reference in New Issue