Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

slickgrid

Package Overview
Dependencies
Maintainers
0
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slickgrid - npm Package Compare versions

Comparing version 5.13.0 to 5.13.1

6

dist/browser/controls/slick.columnpicker.js

@@ -96,3 +96,7 @@ "use strict";

let targetEvent = (_b = (_a = event == null ? void 0 : event.touches) == null ? void 0 : _a[0]) != null ? _b : event;
this._menuElm.style.top = `${targetEvent.pageY - 10}px`, this._menuElm.style.left = `${targetEvent.pageX - 10}px`, this._menuElm.style.maxHeight = `${window.innerHeight - targetEvent.clientY}px`, this._menuElm.style.display = "block", this._menuElm.setAttribute("aria-expanded", "true"), this._menuElm.appendChild(this._listElm);
if (this._menuElm) {
this._menuElm.style.display = "block";
let gridPos = this.grid.getGridPosition(), menuWidth = this._menuElm.clientWidth || 0, menuOffsetLeft = targetEvent.pageX || 0;
gridPos != null && gridPos.width && menuOffsetLeft + menuWidth >= gridPos.width && (menuOffsetLeft = menuOffsetLeft - menuWidth), this._menuElm.style.top = `${targetEvent.pageY - 10}px`, this._menuElm.style.left = `${menuOffsetLeft}px`, this._menuElm.style.maxHeight = `${window.innerHeight - targetEvent.clientY}px`, this._menuElm.setAttribute("aria-expanded", "true"), this._menuElm.appendChild(this._listElm);
}
}

@@ -99,0 +103,0 @@ updateColumnOrder() {

2

dist/browser/plugins/slick.rowdetailview.js

@@ -260,3 +260,3 @@ "use strict";

return Object.keys(this._dataView).forEach((prop) => {
console.log(item[prop]), item[prop] = null;
item[prop] = null;
}), item[this._dataViewIdProperty] = parent[this._dataViewIdProperty] + "." + offset, item[`${this._keyPrefix}collapsed`] = !0, item[`${this._keyPrefix}isPadding`] = !0, item[`${this._keyPrefix}parent`] = parent, item[`${this._keyPrefix}offset`] = offset, item;

@@ -263,0 +263,0 @@ }

@@ -184,2 +184,3 @@ "use strict";

/**
* @deprecated, to be more removed in next major since IE is no longer supported and this is no longer useful.
* Provides a workaround for the extremely slow sorting in IE.

@@ -186,0 +187,0 @@ * Does a [lexicographic] sort on a give column by temporarily overriding Object.prototype.toString

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

export * from './aggregator.interface';
export * from './autoSize.interface';
export * from './autoTooltipOption.interface';
export * from './cancellablePromiseWrapper.interface';
export * from './cellMenuOption.interface';
export * from './cellRange.interface';
export * from './checkboxSelectorOption.interface';
export * from './column.interface';
export * from './columnPicker.interface';
export * from './columnReorderFunction.type';
export * from './columnSort.interface';
export * from './compositeEditorOption.interface';
export * from './contextMenuOption.interface';
export * from './core.interface';
export * from './cssDeclaration.interface';
export * from './customTooltipOption.interface';
export * from './dataViewEvents.interface';
export * from './dataViewHints.interface';
export * from './domEvent.interface';
export * from './drag.interface';
export * from './draggableGroupingOption.interface';
export * from './editCommand.interface';
export * from './editor.interface';
export * from './editorArguments.interface';
export * from './editorValidationResult.interface';
export * from './editorValidator.interface';
export * from './elementPosition.interface';
export * from './excelCopyBufferOption.interface';
export * from './externalCopyClipCommand.interface';
export type * from './aggregator.interface';
export type * from './autoSize.interface';
export type * from './autoTooltipOption.interface';
export type * from './cancellablePromiseWrapper.interface';
export type * from './cellMenuOption.interface';
export type * from './cellRange.interface';
export type * from './checkboxSelectorOption.interface';
export type * from './column.interface';
export type * from './columnPicker.interface';
export type * from './columnReorderFunction.type';
export type * from './columnSort.interface';
export type * from './compositeEditorOption.interface';
export type * from './contextMenuOption.interface';
export type * from './core.interface';
export type * from './cssDeclaration.interface';
export type * from './customTooltipOption.interface';
export type * from './dataViewEvents.interface';
export type * from './dataViewHints.interface';
export type * from './domEvent.interface';
export type * from './drag.interface';
export type * from './draggableGroupingOption.interface';
export type * from './editCommand.interface';
export type * from './editor.interface';
export type * from './editorArguments.interface';
export type * from './editorValidationResult.interface';
export type * from './editorValidator.interface';
export type * from './elementPosition.interface';
export type * from './excelCopyBufferOption.interface';
export type * from './externalCopyClipCommand.interface';
export * from './fieldType.enum';
export * from './formatter.interface';
export * from './formatterResultObject.interface';
export * from './function.type';
export * from './gridEvents.interface';
export * from './gridMenu.interface';
export * from './gridMenuCommandItemCallbackArgs.interface';
export * from './gridMenuItem.interface';
export * from './gridMenuOption.interface';
export * from './gridOption.interface';
export * from './gridSize.interface';
export * from './grouping.interface';
export * from './groupingComparerItem.interface';
export * from './groupingFormatterItem.interface';
export * from './groupItemMetadataProviderOption.interface';
export * from './groupTotalsFormatter.interface';
export * from './headerButtonItem.interface';
export * from './headerButtonOnCommandArgs.interface';
export * from './headerButtonsOrMenu.interface';
export * from './headerMenuItems.interface';
export * from './headerMenuOption.interface';
export * from './htmlElementPosition.interface';
export * from './infer.type';
export * from './interactions.interface';
export * from './itemMetadata.interface';
export * from './menuCallbackArgs.interface';
export * from './menuCommandItem.interface';
export * from './menuCommandItemCallbackArgs.interface';
export * from './menuFromCellCallbackArgs.interface';
export * from './menuItem.interface';
export * from './menuOptionItem.interface';
export * from './menuOptionItemCallbackArgs.interface';
export * from './mouseOffsetViewport.interface';
export * from './multiColumnSort.interface';
export * from './pagingInfo.interface';
export * from './positionMethod.type';
export * from './resizerOption.interface';
export * from './rowDetailViewOption.interface';
export * from './rowInfo.interface';
export * from './rowMoveManagerOption.interface';
export * from './rowSelectionModelOption.interface';
export * from './selectableOverrideCallback.interface';
export * from './selectionModel.type';
export * from './singleColumnSort.interface';
export * from './slickGridModel.interface';
export * from './slickPlugin.interface';
export type * from './formatter.interface';
export type * from './formatterResultObject.interface';
export type * from './function.type';
export type * from './gridEvents.interface';
export type * from './gridMenu.interface';
export type * from './gridMenuCommandItemCallbackArgs.interface';
export type * from './gridMenuItem.interface';
export type * from './gridMenuOption.interface';
export type * from './gridOption.interface';
export type * from './gridSize.interface';
export type * from './grouping.interface';
export type * from './groupingComparerItem.interface';
export type * from './groupingFormatterItem.interface';
export type * from './groupItemMetadataProviderOption.interface';
export type * from './groupTotalsFormatter.interface';
export type * from './headerButtonItem.interface';
export type * from './headerButtonOnCommandArgs.interface';
export type * from './headerButtonsOrMenu.interface';
export type * from './headerMenuItems.interface';
export type * from './headerMenuOption.interface';
export type * from './htmlElementPosition.interface';
export type * from './infer.type';
export type * from './interactions.interface';
export type * from './itemMetadata.interface';
export type * from './menuCallbackArgs.interface';
export type * from './menuCommandItem.interface';
export type * from './menuCommandItemCallbackArgs.interface';
export type * from './menuFromCellCallbackArgs.interface';
export type * from './menuItem.interface';
export type * from './menuOptionItem.interface';
export type * from './menuOptionItemCallbackArgs.interface';
export type * from './mouseOffsetViewport.interface';
export type * from './multiColumnSort.interface';
export type * from './pagingInfo.interface';
export type * from './positionMethod.type';
export type * from './resizerOption.interface';
export type * from './rowDetailViewOption.interface';
export type * from './rowInfo.interface';
export type * from './rowMoveManagerOption.interface';
export type * from './rowSelectionModelOption.interface';
export type * from './selectableOverrideCallback.interface';
export type * from './selectionModel.type';
export type * from './singleColumnSort.interface';
export type * from './slickGridModel.interface';
export type * from './slickPlugin.interface';
export * from './sortDirectionNumber.enum';
export * from './usabilityOverrideFn.type';
export type * from './usabilityOverrideFn.type';
//# sourceMappingURL=index.d.ts.map

@@ -124,2 +124,3 @@ import type { Aggregator, CustomDataView, DataViewHints, Grouping, ItemMetadata, OnGroupCollapsedEventArgs, OnGroupExpandedEventArgs, OnRowCountChangedEventArgs, OnRowsChangedEventArgs, OnRowsOrCountChangedEventArgs, OnSelectedRowIdsChangedEventArgs, OnSetItemsCalledEventArgs, PagingInfo, SlickGridModel } from './models/index';

/**
* @deprecated, to be more removed in next major since IE is no longer supported and this is no longer useful.
* Provides a workaround for the extremely slow sorting in IE.

@@ -126,0 +127,0 @@ * Does a [lexicographic] sort on a give column by temporarily overriding Object.prototype.toString

@@ -13,3 +13,3 @@ import type SortableInstance from 'sortablejs';

*
* SlickGrid v5.13.0
* SlickGrid v5.13.1
*

@@ -16,0 +16,0 @@ * NOTES:

{
"name": "slickgrid",
"version": "5.13.0",
"version": "5.13.1",
"description": "A lightning fast JavaScript grid/spreadsheet",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js",

@@ -0,0 +0,0 @@ export * from './slick.columnmenu';

@@ -228,8 +228,19 @@ import { BindingEventService as BindingEventService_, Event as SlickEvent_, type SlickEventData, Utils as Utils_ } from '../slick.core';

const targetEvent: MouseEvent | Touch = (event as TouchEvent)?.touches?.[0] ?? event;
this._menuElm.style.top = `${targetEvent.pageY - 10}px`;
this._menuElm.style.left = `${targetEvent.pageX - 10}px`;
this._menuElm.style.maxHeight = `${window.innerHeight - targetEvent.clientY}px`;
this._menuElm.style.display = 'block';
this._menuElm.setAttribute('aria-expanded', 'true');
this._menuElm.appendChild(this._listElm);
if (this._menuElm) {
this._menuElm.style.display = 'block';
// auto-positioned menu left/right by available position
const gridPos = this.grid.getGridPosition();
const menuWidth = this._menuElm.clientWidth || 0;
let menuOffsetLeft = targetEvent.pageX || 0;
if (gridPos?.width && (menuOffsetLeft + menuWidth >= gridPos.width)) {
menuOffsetLeft = menuOffsetLeft - menuWidth;
}
this._menuElm.style.top = `${targetEvent.pageY - 10}px`;
this._menuElm.style.left = `${menuOffsetLeft}px`;
this._menuElm.style.maxHeight = `${window.innerHeight - targetEvent.clientY}px`;
this._menuElm.setAttribute('aria-expanded', 'true');
this._menuElm.appendChild(this._listElm);
}
}

@@ -236,0 +247,0 @@

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

export * from './aggregator.interface';
export * from './autoSize.interface';
export * from './autoTooltipOption.interface';
export * from './cancellablePromiseWrapper.interface';
export * from './cellMenuOption.interface';
export * from './cellRange.interface';
export * from './checkboxSelectorOption.interface';
export * from './column.interface';
export * from './columnPicker.interface';
export * from './columnReorderFunction.type';
export * from './columnSort.interface';
export * from './compositeEditorOption.interface';
export * from './contextMenuOption.interface';
export * from './core.interface';
export * from './cssDeclaration.interface';
export * from './customTooltipOption.interface';
export * from './dataViewEvents.interface';
export * from './dataViewHints.interface';
export * from './domEvent.interface';
export * from './drag.interface';
export * from './draggableGroupingOption.interface';
export * from './editCommand.interface';
export * from './editor.interface';
export * from './editorArguments.interface';
export * from './editorValidationResult.interface';
export * from './editorValidator.interface';
export * from './elementPosition.interface';
export * from './excelCopyBufferOption.interface';
export * from './externalCopyClipCommand.interface';
export type * from './aggregator.interface';
export type * from './autoSize.interface';
export type * from './autoTooltipOption.interface';
export type * from './cancellablePromiseWrapper.interface';
export type * from './cellMenuOption.interface';
export type * from './cellRange.interface';
export type * from './checkboxSelectorOption.interface';
export type * from './column.interface';
export type * from './columnPicker.interface';
export type * from './columnReorderFunction.type';
export type * from './columnSort.interface';
export type * from './compositeEditorOption.interface';
export type * from './contextMenuOption.interface';
export type * from './core.interface';
export type * from './cssDeclaration.interface';
export type * from './customTooltipOption.interface';
export type * from './dataViewEvents.interface';
export type * from './dataViewHints.interface';
export type * from './domEvent.interface';
export type * from './drag.interface';
export type * from './draggableGroupingOption.interface';
export type * from './editCommand.interface';
export type * from './editor.interface';
export type * from './editorArguments.interface';
export type * from './editorValidationResult.interface';
export type * from './editorValidator.interface';
export type * from './elementPosition.interface';
export type * from './excelCopyBufferOption.interface';
export type * from './externalCopyClipCommand.interface';
export * from './fieldType.enum';
export * from './formatter.interface';
export * from './formatterResultObject.interface';
export * from './function.type';
export * from './gridEvents.interface';
export * from './gridMenu.interface';
export * from './gridMenuCommandItemCallbackArgs.interface';
export * from './gridMenuItem.interface';
export * from './gridMenuOption.interface';
export * from './gridOption.interface';
export * from './gridSize.interface';
export * from './grouping.interface';
export * from './groupingComparerItem.interface';
export * from './groupingFormatterItem.interface';
export * from './groupItemMetadataProviderOption.interface';
export * from './groupTotalsFormatter.interface';
export * from './headerButtonItem.interface';
export * from './headerButtonOnCommandArgs.interface';
export * from './headerButtonsOrMenu.interface';
export * from './headerMenuItems.interface';
export * from './headerMenuOption.interface';
export * from './htmlElementPosition.interface';
export * from './infer.type';
export * from './interactions.interface';
export * from './itemMetadata.interface';
export * from './menuCallbackArgs.interface';
export * from './menuCommandItem.interface';
export * from './menuCommandItemCallbackArgs.interface';
export * from './menuFromCellCallbackArgs.interface';
export * from './menuItem.interface';
export * from './menuOptionItem.interface';
export * from './menuOptionItemCallbackArgs.interface';
export * from './mouseOffsetViewport.interface';
export * from './multiColumnSort.interface';
export * from './pagingInfo.interface';
export * from './positionMethod.type';
export * from './resizerOption.interface';
export * from './rowDetailViewOption.interface';
export * from './rowInfo.interface';
export * from './rowMoveManagerOption.interface';
export * from './rowSelectionModelOption.interface';
export * from './selectableOverrideCallback.interface';
export * from './selectionModel.type';
export * from './singleColumnSort.interface';
export * from './slickGridModel.interface';
export * from './slickPlugin.interface';
export type * from './formatter.interface';
export type * from './formatterResultObject.interface';
export type * from './function.type';
export type * from './gridEvents.interface';
export type * from './gridMenu.interface';
export type * from './gridMenuCommandItemCallbackArgs.interface';
export type * from './gridMenuItem.interface';
export type * from './gridMenuOption.interface';
export type * from './gridOption.interface';
export type * from './gridSize.interface';
export type * from './grouping.interface';
export type * from './groupingComparerItem.interface';
export type * from './groupingFormatterItem.interface';
export type * from './groupItemMetadataProviderOption.interface';
export type * from './groupTotalsFormatter.interface';
export type * from './headerButtonItem.interface';
export type * from './headerButtonOnCommandArgs.interface';
export type * from './headerButtonsOrMenu.interface';
export type * from './headerMenuItems.interface';
export type * from './headerMenuOption.interface';
export type * from './htmlElementPosition.interface';
export type * from './infer.type';
export type * from './interactions.interface';
export type * from './itemMetadata.interface';
export type * from './menuCallbackArgs.interface';
export type * from './menuCommandItem.interface';
export type * from './menuCommandItemCallbackArgs.interface';
export type * from './menuFromCellCallbackArgs.interface';
export type * from './menuItem.interface';
export type * from './menuOptionItem.interface';
export type * from './menuOptionItemCallbackArgs.interface';
export type * from './mouseOffsetViewport.interface';
export type * from './multiColumnSort.interface';
export type * from './pagingInfo.interface';
export type * from './positionMethod.type';
export type * from './resizerOption.interface';
export type * from './rowDetailViewOption.interface';
export type * from './rowInfo.interface';
export type * from './rowMoveManagerOption.interface';
export type * from './rowSelectionModelOption.interface';
export type * from './selectableOverrideCallback.interface';
export type * from './selectionModel.type';
export type * from './singleColumnSort.interface';
export type * from './slickGridModel.interface';
export type * from './slickPlugin.interface';
export * from './sortDirectionNumber.enum';
export * from './usabilityOverrideFn.type';
export type * from './usabilityOverrideFn.type';

@@ -585,3 +585,2 @@ import { SlickEvent as SlickEvent_, type SlickEventData, SlickEventHandler as SlickEventHandler_, Utils as Utils_ } from '../slick.core';

Object.keys(this._dataView).forEach(prop => {
console.log(item[prop]);
item[prop] = null;

@@ -588,0 +587,0 @@ });

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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