New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fullcalendar/scrollgrid

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fullcalendar/scrollgrid - npm Package Compare versions

Comparing version 5.1.0 to 5.2.0

main.global.js

4

main.d.ts
import { BaseComponent, ScrollGridProps, createElement, ScrollGridSectionConfig, VNode, ScrollGridChunkConfig, CssDimValue, ColProps, PluginDef } from '@fullcalendar/common';
import { BaseComponent, ScrollGridProps, VNode, ScrollGridSectionConfig, ScrollGridChunkConfig, CssDimValue, ColProps, PluginDef } from '@fullcalendar/common';
import '@fullcalendar/premium-common';

@@ -41,3 +41,3 @@

state: ScrollGridState;
render(): createElement.JSX.Element;
render(): VNode;
renderSection(sectionConfig: ScrollGridSectionConfig, sectionIndex: number, colGroupStats: ColGroupStat[], microColGroupNodes: VNode[], sectionRowMaxHeights: number[][][]): VNode;

@@ -44,0 +44,0 @@ renderChunk(sectionConfig: ScrollGridSectionConfig, sectionIndex: number, colGroupStat: ColGroupStat | undefined, microColGroupNode: VNode | undefined, chunkConfig: ScrollGridChunkConfig, chunkIndex: number, rowHeights: number[]): VNode;

/*!
FullCalendar Scheduler v5.1.0
FullCalendar Scheduler v5.2.0
Docs & License: https://fullcalendar.io/scheduler
(c) 2020 Adam Shaw
*/
import { Emitter, DelayedRunner, htmlToElement, removeElement, computeEdges, findElements, translateRect, computeInnerRect, applyStyle, createRef, getScrollbarWidths, setRef, getIsRtlScrollbarOnLeft, createElement, Scroller, isPropsEqual, BaseComponent, memoizeArraylike, renderMicroColGroup, RefMap, memoizeHashlike, getScrollGridClassNames, Fragment, getSectionClassNames, getAllowYScrolling, getSectionHasLiquidHeight, renderChunkContent, computeShrinkWidth, collectFromHash, mapHash, isArraysEqual, sanitizeShrinkWidth, hasShrinkWidth, compareObjs, isColPropsEqual, createPlugin } from '@fullcalendar/common';
import { Emitter, DelayedRunner, removeElement, computeEdges, findElements, translateRect, computeInnerRect, applyStyle, createRef, getScrollbarWidths, setRef, getIsRtlScrollbarOnLeft, createElement, Scroller, isPropsEqual, BaseComponent, memoizeArraylike, renderMicroColGroup, RefMap, memoizeHashlike, getScrollGridClassNames, getCanVGrowWithinCell, Fragment, getSectionClassNames, getAllowYScrolling, getSectionHasLiquidHeight, renderChunkContent, computeShrinkWidth, collectFromHash, mapHash, isArraysEqual, sanitizeShrinkWidth, hasShrinkWidth, compareObjs, isColPropsEqual, createPlugin } from '@fullcalendar/common';
import premiumCommonPlugin from '@fullcalendar/premium-common';

@@ -148,3 +148,11 @@ import { __extends, __assign, __spreadArrays } from 'tslib';

function detectRtlScrollSystem() {
var el = htmlToElement("<div style=\" position: absolute; top: -1000px; width: 1px; height: 1px; overflow: scroll; direction: rtl; font-size: 100px; \">A</div>");
var el = document.createElement('div');
el.style.position = 'absolute';
el.style.top = '-1000px';
el.style.width = '1px';
el.style.height = '1px';
el.style.overflow = 'scroll';
el.style.direction = 'rtl';
el.style.fontSize = '100px';
el.innerHTML = 'A';
document.body.appendChild(el);

@@ -168,3 +176,2 @@ var system;

var STICKY_PROP_VAL = computeStickyPropVal(); // if null, means not supported at all
var IS_MS_EDGE = /Edge/.test(navigator.userAgent); // TODO: what about Chromeum-based Edge?

@@ -203,3 +210,3 @@ var STICKY_SELECTOR = '.fc-sticky';

this.usingRelative =
!STICKY_PROP_VAL || // IE11
!computeStickyPropVal() || // IE11
(IS_MS_EDGE && isRtl); // https://stackoverflow.com/questions/56835658/in-microsoft-edge-sticky-positioning-doesnt-work-when-combined-with-dir-rtl

@@ -325,4 +332,7 @@ if (this.usingRelative) {

function computeStickyPropVal() {
var el = htmlToElement('<div style="position:-webkit-sticky;position:sticky"></div>');
var val = el.style.position;
var el = document.createElement('div');
el.className = 'fc-sticky';
document.body.appendChild(el);
var val = window.getComputedStyle(el).position;
removeElement(el);
if (val.indexOf('sticky') !== -1) {

@@ -573,8 +583,7 @@ return val;

}
return (createElement(Fragment, null,
createElement("table", { ref: props.elRef, className: classNames.join(' ') },
renderMacroColGroup(colGroupStats, shrinkWidths),
Boolean(headSectionNodes.length) && createElement.apply(void 0, __spreadArrays(['thead', {}], headSectionNodes)),
Boolean(bodySectionNodes.length) && createElement.apply(void 0, __spreadArrays(['tbody', {}], bodySectionNodes)),
Boolean(footSectionNodes.length) && createElement.apply(void 0, __spreadArrays(['tfoot', {}], footSectionNodes)))));
var isBuggy = !getCanVGrowWithinCell(); // see NOTE in SimpleScrollGrid
return createElement('table', {
ref: props.elRef,
className: classNames.join(' ')
}, renderMacroColGroup(colGroupStats, shrinkWidths), 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)));
};

@@ -581,0 +590,0 @@ ScrollGrid.prototype.renderSection = function (sectionConfig, sectionIndex, colGroupStats, microColGroupNodes, sectionRowMaxHeights) {

{
"name": "@fullcalendar/scrollgrid",
"version": "5.1.0",
"version": "5.2.0",
"title": "FullCalendar ScrollGrid Plugin",

@@ -8,8 +8,11 @@ "description": "Tabular data chunked into scrollable panes",

"dependencies": {
"@fullcalendar/common": "~5.1.0",
"@fullcalendar/premium-common": "~5.1.0",
"@fullcalendar/common": "~5.2.0",
"@fullcalendar/premium-common": "~5.2.0",
"tslib": "^2.0.0"
},
"type": "module",
"main": "main.js",
"types": "main.d.ts",
"jsdelivr": "main.global.min.js",
"browserGlobal": "FullCalendarScrollGrid",
"homepage": "https://fullcalendar.io/scheduler",

@@ -16,0 +19,0 @@ "bugs": "https://fullcalendar.io/reporting-bugs",

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