gridstack
Advanced tools
Comparing version 9.5.0 to 9.5.1
@@ -21,3 +21,3 @@ { | ||
"@angular/router": "^14.2.0", | ||
"gridstack": "^9.4.0", | ||
"gridstack": "^9.5.0", | ||
"rxjs": "~7.5.0", | ||
@@ -24,0 +24,0 @@ "tslib": "^2.3.0", |
{ | ||
"name": "gridstack-angular", | ||
"version": "9.5.0", | ||
"version": "9.5.1", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^14.2.0", |
/** | ||
* gridstack-item.component.ts 9.5.0 | ||
* gridstack-item.component.ts 9.5.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* gridstack-item.component.ts 9.5.0 | ||
* gridstack-item.component.ts 9.5.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* gridstack.component.ts 9.5.0 | ||
* gridstack.component.ts 9.5.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* gridstack.component.ts 9.5.0 | ||
* gridstack.component.ts 9.5.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* gridstack-item.component.ts 9.5.0 | ||
* gridstack-item.component.ts 9.5.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* gridstack.component.ts 9.5.0 | ||
* gridstack.component.ts 9.5.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
{ | ||
"name": "gridstack-angular", | ||
"version": "9.5.0", | ||
"version": "9.5.1", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^14.2.0", |
/** | ||
* gridstack-item.component.ts 9.5.0 | ||
* gridstack-item.component.ts 9.5.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* gridstack-item.component.ts 9.5.0 | ||
* gridstack-item.component.ts 9.5.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* gridstack.component.ts 9.5.0 | ||
* gridstack.component.ts 9.5.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* gridstack.component.ts 9.5.0 | ||
* gridstack.component.ts 9.5.1 | ||
* Copyright (c) 2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-base-impl.ts 9.5.0 | ||
* dd-base-impl.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-base-impl.ts 9.5.0 | ||
* dd-base-impl.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-draggable.ts 9.5.0 | ||
* dd-draggable.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-draggable.ts 9.5.0 | ||
* dd-draggable.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -62,3 +62,3 @@ */ | ||
delete this.dragTimeout; | ||
if (this.dragging) | ||
if (this.mouseDownEvent) | ||
this._mouseUp(this.mouseDownEvent); | ||
@@ -65,0 +65,0 @@ this.disable(true); |
/** | ||
* dd-droppable.ts 9.5.0 | ||
* dd-droppable.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-droppable.ts 9.5.0 | ||
* dd-droppable.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-elements.ts 9.5.0 | ||
* dd-elements.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-elements.ts 9.5.0 | ||
* dd-elements.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-gridstack.ts 9.5.0 | ||
* dd-gridstack.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-gridstack.ts 9.5.0 | ||
* dd-gridstack.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-manager.ts 9.5.0 | ||
* dd-manager.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-manager.ts 9.5.0 | ||
* dd-manager.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-resizable-handle.ts 9.5.0 | ||
* dd-resizable-handle.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-resizable-handle.ts 9.5.0 | ||
* dd-resizable-handle.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-resizable.ts 9.5.0 | ||
* dd-resizable.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-resizable.ts 9.5.0 | ||
* dd-resizable.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* touch.ts 9.5.0 | ||
* touch.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* touch.ts 9.5.0 | ||
* touch.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* dd-base-impl.ts 9.5.0 | ||
* dd-base-impl.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* dd-base-impl.ts 9.5.0 | ||
* dd-base-impl.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* dd-draggable.ts 9.5.0 | ||
* dd-draggable.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* dd-draggable.ts 9.5.0 | ||
* dd-draggable.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -84,3 +84,3 @@ */ | ||
delete this.dragTimeout; | ||
if (this.dragging) | ||
if (this.mouseDownEvent) | ||
this._mouseUp(this.mouseDownEvent); | ||
@@ -87,0 +87,0 @@ this.disable(true); |
/** | ||
* dd-droppable.ts 9.5.0 | ||
* dd-droppable.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* dd-droppable.ts 9.5.0 | ||
* dd-droppable.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* dd-elements.ts 9.5.0 | ||
* dd-elements.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* dd-elements.ts 9.5.0 | ||
* dd-elements.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* dd-gridstack.ts 9.5.0 | ||
* dd-gridstack.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* dd-gridstack.ts 9.5.0 | ||
* dd-gridstack.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* dd-manager.ts 9.5.0 | ||
* dd-manager.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* dd-manager.ts 9.5.0 | ||
* dd-manager.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* dd-resizable-handle.ts 9.5.0 | ||
* dd-resizable-handle.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* dd-resizable-handle.ts 9.5.0 | ||
* dd-resizable-handle.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* dd-resizable.ts 9.5.0 | ||
* dd-resizable.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* dd-resizable.ts 9.5.0 | ||
* dd-resizable.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* touch.ts 9.5.0 | ||
* touch.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* touch.ts 9.5.0 | ||
* touch.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/*! | ||
* GridStack 9.5.0 | ||
* GridStack 9.5.1 | ||
* https://gridstackjs.com/ | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* gridstack-engine.ts 9.5.0 | ||
* gridstack-engine.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -33,6 +33,6 @@ */ | ||
/** return the nodes that intercept the given node. Optionally a different area can be used, as well as a second node to skip */ | ||
collide(skip: GridStackNode, area?: GridStackNode, skip2?: GridStackNode): GridStackNode; | ||
collide(skip: GridStackNode, area?: GridStackNode, skip2?: GridStackNode): GridStackNode | undefined; | ||
collideAll(skip: GridStackNode, area?: GridStackNode, skip2?: GridStackNode): GridStackNode[]; | ||
/** does a pixel coverage collision based on where we started, returning the node that has the most coverage that is >50% mid line */ | ||
protected directionCollideCoverage(node: GridStackNode, o: GridStackMoveOpts, collides: GridStackNode[]): GridStackNode; | ||
protected directionCollideCoverage(node: GridStackNode, o: GridStackMoveOpts, collides: GridStackNode[]): GridStackNode | undefined; | ||
/** does a pixel coverage returning the node that has the most coverage by area */ | ||
@@ -42,3 +42,3 @@ /** called to cache the nodes pixel rectangles used for collision detection during drag */ | ||
/** called to possibly swap between 2 nodes (same size or column, not locked, touching), returning true if successful */ | ||
swap(a: GridStackNode, b: GridStackNode): boolean; | ||
swap(a: GridStackNode, b: GridStackNode): boolean | undefined; | ||
isAreaEmpty(x: number, y: number, w: number, h: number): boolean; | ||
@@ -60,3 +60,3 @@ /** re-layout grid items to reclaim any empty space - optionally keeping the sort order exactly the same ('list' mode) vs truly finding an empty spaces */ | ||
/** part2 of preparing a node to fit inside our grid - checks for x,y,w from grid dimensions */ | ||
nodeBoundFix(node: GridStackNode, resizing?: boolean): GridStackNode; | ||
nodeBoundFix(node: GridStackNode, resizing?: boolean): GridStackEngine; | ||
/** returns a list of modified nodes from their original values */ | ||
@@ -102,3 +102,3 @@ getDirtyNodes(verify?: boolean): GridStackNode[]; | ||
cacheOneLayout(n: GridStackNode, column: number): GridStackEngine; | ||
protected findCacheLayout(n: GridStackNode, column: number): number; | ||
protected findCacheLayout(n: GridStackNode, column: number): number | undefined; | ||
removeNodeFromLayoutCache(n: GridStackNode): void; | ||
@@ -105,0 +105,0 @@ /** called to remove all internal values but the _id */ |
"use strict"; | ||
/** | ||
* gridstack-engine.ts 9.5.0 | ||
* gridstack-engine.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -366,3 +366,2 @@ */ | ||
var _a; | ||
node = node || {}; | ||
node._id = (_a = node._id) !== null && _a !== void 0 ? _a : GridStackEngine._idSeq++; | ||
@@ -413,3 +412,4 @@ // if we're missing position, have the grid position us automatically (before we set them to 0,0) | ||
} | ||
return this.nodeBoundFix(node, resizing); | ||
this.nodeBoundFix(node, resizing); | ||
return node; | ||
}; | ||
@@ -483,3 +483,3 @@ /** part2 of preparing a node to fit inside our grid - checks for x,y,w from grid dimensions */ | ||
} | ||
return node; | ||
return this; | ||
}; | ||
@@ -571,3 +571,3 @@ /** returns a list of modified nodes from their original values */ | ||
// skip prepareNode if we're in middle of column resize (not new) but do check for bounds! | ||
node = this._inColumnResize ? this.nodeBoundFix(node) : this.prepareNode(node); | ||
this._inColumnResize ? this.nodeBoundFix(node) : this.prepareNode(node); | ||
delete node._temporaryRemoved; | ||
@@ -744,3 +744,3 @@ delete node._removeDOM; | ||
utils_1.Utils.copyPos(nn, o); | ||
nn = this.nodeBoundFix(nn, resizing); | ||
this.nodeBoundFix(nn, resizing); | ||
utils_1.Utils.copyPos(o, nn); | ||
@@ -1007,2 +1007,3 @@ if (!o.forceCollide && utils_1.Utils.samePos(node, o)) | ||
GridStackEngine.prototype.cacheLayout = function (nodes, column, clear) { | ||
var _this = this; | ||
if (clear === void 0) { clear = false; } | ||
@@ -1012,3 +1013,7 @@ var copy = []; | ||
var _a; | ||
n._id = (_a = n._id) !== null && _a !== void 0 ? _a : GridStackEngine._idSeq++; // make sure we have an id in case this is new layout, else re-use id already set | ||
// make sure we have an id in case this is new layout, else re-use id already set | ||
if (n._id === undefined) { | ||
var existing = n.id ? _this.nodes.find(function (n2) { return n2.id === n.id; }) : undefined; // find existing node using users id | ||
n._id = (_a = existing === null || existing === void 0 ? void 0 : existing._id) !== null && _a !== void 0 ? _a : GridStackEngine._idSeq++; | ||
} | ||
copy[i] = { x: n.x, y: n.y, w: n.w, _id: n._id }; // only thing we change is x,y,w and id to find it back | ||
@@ -1015,0 +1020,0 @@ }); |
/** | ||
* gridstack-poly.ts 9.5.0 used for IE and older browser support (not supported in v2-v4.3.1, but again in v4.4) | ||
* gridstack-poly.ts 9.5.1 used for IE and older browser support (not supported in v2-v4.3.1, but again in v4.4) | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/*! | ||
* GridStack 9.5.0 | ||
* GridStack 9.5.1 | ||
* https://gridstackjs.com/ | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* types.ts 9.5.0 | ||
* types.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* types.ts 9.5.0 | ||
* types.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/** | ||
* utils.ts 9.5.0 | ||
* utils.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
"use strict"; | ||
/** | ||
* utils.ts 9.5.0 | ||
* utils.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -5,0 +5,0 @@ */ |
/*! | ||
* GridStack 9.5.0 | ||
* GridStack 9.5.1 | ||
* https://gridstackjs.com/ | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* gridstack-engine.ts 9.5.0 | ||
* gridstack-engine.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -33,6 +33,6 @@ */ | ||
/** return the nodes that intercept the given node. Optionally a different area can be used, as well as a second node to skip */ | ||
collide(skip: GridStackNode, area?: GridStackNode, skip2?: GridStackNode): GridStackNode; | ||
collide(skip: GridStackNode, area?: GridStackNode, skip2?: GridStackNode): GridStackNode | undefined; | ||
collideAll(skip: GridStackNode, area?: GridStackNode, skip2?: GridStackNode): GridStackNode[]; | ||
/** does a pixel coverage collision based on where we started, returning the node that has the most coverage that is >50% mid line */ | ||
protected directionCollideCoverage(node: GridStackNode, o: GridStackMoveOpts, collides: GridStackNode[]): GridStackNode; | ||
protected directionCollideCoverage(node: GridStackNode, o: GridStackMoveOpts, collides: GridStackNode[]): GridStackNode | undefined; | ||
/** does a pixel coverage returning the node that has the most coverage by area */ | ||
@@ -42,3 +42,3 @@ /** called to cache the nodes pixel rectangles used for collision detection during drag */ | ||
/** called to possibly swap between 2 nodes (same size or column, not locked, touching), returning true if successful */ | ||
swap(a: GridStackNode, b: GridStackNode): boolean; | ||
swap(a: GridStackNode, b: GridStackNode): boolean | undefined; | ||
isAreaEmpty(x: number, y: number, w: number, h: number): boolean; | ||
@@ -60,3 +60,3 @@ /** re-layout grid items to reclaim any empty space - optionally keeping the sort order exactly the same ('list' mode) vs truly finding an empty spaces */ | ||
/** part2 of preparing a node to fit inside our grid - checks for x,y,w from grid dimensions */ | ||
nodeBoundFix(node: GridStackNode, resizing?: boolean): GridStackNode; | ||
nodeBoundFix(node: GridStackNode, resizing?: boolean): GridStackEngine; | ||
/** returns a list of modified nodes from their original values */ | ||
@@ -102,3 +102,3 @@ getDirtyNodes(verify?: boolean): GridStackNode[]; | ||
cacheOneLayout(n: GridStackNode, column: number): GridStackEngine; | ||
protected findCacheLayout(n: GridStackNode, column: number): number; | ||
protected findCacheLayout(n: GridStackNode, column: number): number | undefined; | ||
removeNodeFromLayoutCache(n: GridStackNode): void; | ||
@@ -105,0 +105,0 @@ /** called to remove all internal values but the _id */ |
/** | ||
* gridstack-engine.ts 9.5.0 | ||
* gridstack-engine.ts 9.5.1 | ||
* Copyright (c) 2021-2022 Alain Dumesny - see GridStack root license | ||
@@ -332,3 +332,2 @@ */ | ||
prepareNode(node, resizing) { | ||
node = node || {}; | ||
node._id = node._id ?? GridStackEngine._idSeq++; | ||
@@ -379,3 +378,4 @@ // if we're missing position, have the grid position us automatically (before we set them to 0,0) | ||
} | ||
return this.nodeBoundFix(node, resizing); | ||
this.nodeBoundFix(node, resizing); | ||
return node; | ||
} | ||
@@ -449,3 +449,3 @@ /** part2 of preparing a node to fit inside our grid - checks for x,y,w from grid dimensions */ | ||
} | ||
return node; | ||
return this; | ||
} | ||
@@ -531,3 +531,3 @@ /** returns a list of modified nodes from their original values */ | ||
// skip prepareNode if we're in middle of column resize (not new) but do check for bounds! | ||
node = this._inColumnResize ? this.nodeBoundFix(node) : this.prepareNode(node); | ||
this._inColumnResize ? this.nodeBoundFix(node) : this.prepareNode(node); | ||
delete node._temporaryRemoved; | ||
@@ -699,3 +699,3 @@ delete node._removeDOM; | ||
Utils.copyPos(nn, o); | ||
nn = this.nodeBoundFix(nn, resizing); | ||
this.nodeBoundFix(nn, resizing); | ||
Utils.copyPos(o, nn); | ||
@@ -956,3 +956,7 @@ if (!o.forceCollide && Utils.samePos(node, o)) | ||
nodes.forEach((n, i) => { | ||
n._id = n._id ?? GridStackEngine._idSeq++; // make sure we have an id in case this is new layout, else re-use id already set | ||
// make sure we have an id in case this is new layout, else re-use id already set | ||
if (n._id === undefined) { | ||
const existing = n.id ? this.nodes.find(n2 => n2.id === n.id) : undefined; // find existing node using users id | ||
n._id = existing?._id ?? GridStackEngine._idSeq++; | ||
} | ||
copy[i] = { x: n.x, y: n.y, w: n.w, _id: n._id }; // only thing we change is x,y,w and id to find it back | ||
@@ -959,0 +963,0 @@ }); |
/*! | ||
* GridStack 9.5.0 | ||
* GridStack 9.5.1 | ||
* https://gridstackjs.com/ | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* types.ts 9.5.0 | ||
* types.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* types.ts 9.5.0 | ||
* types.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* utils.ts 9.5.0 | ||
* utils.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
/** | ||
* utils.ts 9.5.0 | ||
* utils.ts 9.5.1 | ||
* Copyright (c) 2021 Alain Dumesny - see GridStack root license | ||
@@ -4,0 +4,0 @@ */ |
@@ -8,2 +8,3 @@ Change log | ||
- [9.5.1 (2023-11-11)](#951-2023-11-11) | ||
- [9.5.0 (2023-10-26)](#950-2023-10-26) | ||
@@ -107,2 +108,8 @@ - [9.4.0 (2023-10-15)](#940-2023-10-15) | ||
## 9.5.1 (2023-11-11) | ||
* fix [#2525](https://github.com/gridstack/gridstack.js/commit/2525) Fixed unhandled exception happening in _mouseMove handler | ||
* fix potential crash in doContentResize() if grid gets deleted by the time the delay happens | ||
* fix [#2527](https://github.com/gridstack/gridstack.js/issues/2527) Incorrect layout on grid load in one column mode | ||
* fix [#2496](https://github.com/gridstack/gridstack.js/issues/2496) animation on init, introduced in 8.1.1 | ||
## 9.5.0 (2023-10-26) | ||
@@ -109,0 +116,0 @@ * feat [#1275](https://github.com/gridstack/gridstack.js/issues/1275) div scale support - Thank you [elmehdiamlou](https://github.com/elmehdiamlou) for implementing this teh right way (add scale to current code) |
{ | ||
"name": "gridstack", | ||
"version": "9.5.0", | ||
"version": "9.5.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Alain Dumesny <alaind831+github@gmail.com> (https://github.com/adumesny)", |
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 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 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 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 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 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 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 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 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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2808049
17933