angular-gridster2
Advanced tools
Comparing version 3.16.3 to 3.17.0
@@ -32,2 +32,5 @@ "use strict"; | ||
widget = this.gridster.grid[i]; | ||
if (widget.$item.compactEnabled === false) { | ||
continue; | ||
} | ||
moved = this.moveUpTillCollision(widget); | ||
@@ -61,2 +64,5 @@ if (moved) { | ||
widget = this.gridster.grid[i]; | ||
if (widget.$item.compactEnabled === false) { | ||
continue; | ||
} | ||
moved = this.moveLeftTillCollision(widget); | ||
@@ -95,2 +101,2 @@ if (moved) { | ||
exports.GridsterCompact = GridsterCompact; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy50bXAvZ3JpZHN0ZXJDb21wYWN0LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxzQ0FBeUM7QUFFekMsMkRBQXVEO0FBSXZEO0lBRUUseUJBQW9CLFFBQTJCO1FBQTNCLGFBQVEsR0FBUixRQUFRLENBQW1CO0lBQy9DLENBQUM7SUFFRCxzQ0FBWSxHQUFaO1FBQ0UsRUFBRSxDQUFDLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxRQUFRLENBQUMsV0FBVyxLQUFLLE1BQU0sQ0FBQyxDQUFDLENBQUM7WUFDbEQsRUFBRSxDQUFDLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxRQUFRLENBQUMsV0FBVyxLQUFLLFdBQVcsQ0FBQyxDQUFDLENBQUM7Z0JBQ3ZELElBQUksQ0FBQyxjQUFjLEVBQUUsQ0FBQztZQUN4QixDQUFDO1lBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsUUFBUSxDQUFDLFdBQVcsS0FBSyxhQUFhLENBQUMsQ0FBQyxDQUFDO2dCQUNoRSxJQUFJLENBQUMsZ0JBQWdCLEVBQUUsQ0FBQztZQUMxQixDQUFDO1lBQUMsSUFBSSxDQUFD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WZ0VGlsbENvbGxpc2lvbihpdGVtQ29tcG9uZW50OiBHcmlkc3Rlckl0ZW1Db21wb25lbnQpOiBib29sZWFuIHtcbiAgICBpdGVtQ29tcG9uZW50LiRpdGVtLnggLT0gMTtcbiAgICBpZiAodGhpcy5ncmlkc3Rlci5jaGVja0NvbGxpc2lvbihpdGVtQ29tcG9uZW50LiRpdGVtKSkge1xuICAgICAgaXRlbUNvbXBvbmVudC4kaXRlbS54ICs9IDE7XG4gICAgICByZXR1cm4gZmFsc2U7XG4gICAgfSBlbHNlIHtcbiAgICAgIHRoaXMubW92ZUxlZnRUaWxsQ29sbGlzaW9uKGl0ZW1Db21wb25lbnQpO1xuICAgICAgcmV0dXJuIHRydWU7XG4gICAgfVxuICB9XG5zdGF0aWMgZGVjb3JhdG9yczogRGVjb3JhdG9ySW52b2NhdGlvbltdID0gW1xueyB0eXBlOiBJbmplY3RhYmxlIH0sXG5dO1xuLyoqIEBub2NvbGxhcHNlICovXG5zdGF0aWMgY3RvclBhcmFtZXRlcnM6ICgpID0+ICh7dHlwZTogYW55LCBkZWNvcmF0b3JzPzogRGVjb3JhdG9ySW52b2NhdGlvbltdfXxudWxsKVtdID0gKCkgPT4gW1xue3R5cGU6IEdyaWRzdGVyQ29tcG9uZW50LCB9LFxuXTtcbn1cblxuaW50ZXJmYWNlIERlY29yYXRvckludm9jYXRpb24ge1xuICB0eXBlOiBGdW5jdGlvbjtcbiAgYXJncz86IGFueVtdO1xufVxuIl19 |
@@ -7,7 +7,11 @@ import { GridsterComponent } from './gridster.component'; | ||
emptyCellClick: Function | null; | ||
emptyCellClickTouch: Function | null; | ||
emptyCellContextMenu: Function | null; | ||
emptyCellDrop: Function | null; | ||
emptyCellDrag: Function | null; | ||
emptyCellDragTouch: Function | null; | ||
emptyCellMMove: Function; | ||
emptyCellMMoveTouch: Function; | ||
emptyCellUp: Function; | ||
emptyCellUpTouch: Function; | ||
emptyCellMove: Function | null; | ||
@@ -14,0 +18,0 @@ constructor(gridster: GridsterComponent); |
@@ -13,8 +13,12 @@ "use strict"; | ||
this.emptyCellClick = this.gridster.renderer.listen(this.gridster.el, 'click', this.emptyCellClickCb.bind(this)); | ||
this.emptyCellClickTouch = this.gridster.renderer.listen(this.gridster.el, 'touchend', this.emptyCellClickCb.bind(this)); | ||
} | ||
else if (!this.gridster.$options.enableEmptyCellClick && this.emptyCellClick) { | ||
else if (!this.gridster.$options.enableEmptyCellClick && this.emptyCellClick && this.emptyCellClickTouch) { | ||
this.emptyCellClick(); | ||
this.emptyCellClickTouch(); | ||
this.emptyCellClick = null; | ||
this.emptyCellClickTouch = null; | ||
} | ||
if (this.gridster.$options.enableEmptyCellContextMenu && !this.emptyCellContextMenu && this.gridster.$options.emptyCellContextMenuCallback) { | ||
if (this.gridster.$options.enableEmptyCellContextMenu && !this.emptyCellContextMenu && | ||
this.gridster.$options.emptyCellContextMenuCallback) { | ||
this.emptyCellContextMenu = this.gridster.renderer.listen(this.gridster.el, 'contextmenu', this.emptyCellContextMenuCb.bind(this)); | ||
@@ -38,6 +42,9 @@ } | ||
this.emptyCellDrag = this.gridster.renderer.listen(this.gridster.el, 'mousedown', this.emptyCellMouseDown.bind(this)); | ||
this.emptyCellDragTouch = this.gridster.renderer.listen(this.gridster.el, 'touchstart', this.emptyCellMouseDown.bind(this)); | ||
} | ||
else if (!this.gridster.$options.enableEmptyCellDrag && this.emptyCellDrag) { | ||
else if (!this.gridster.$options.enableEmptyCellDrag && this.emptyCellDrag && this.emptyCellDragTouch) { | ||
this.emptyCellDrag(); | ||
this.emptyCellDragTouch(); | ||
this.emptyCellDrag = null; | ||
this.emptyCellDragTouch = null; | ||
} | ||
@@ -101,3 +108,5 @@ }; | ||
this.emptyCellMMove = this.gridster.renderer.listen('window', 'mousemove', this.emptyCellMouseMove.bind(this)); | ||
this.emptyCellMMoveTouch = this.gridster.renderer.listen('window', 'touchmove', this.emptyCellMouseMove.bind(this)); | ||
this.emptyCellUp = this.gridster.renderer.listen('window', 'mouseup', this.emptyCellMouseUp.bind(this)); | ||
this.emptyCellUpTouch = this.gridster.renderer.listen('window', 'touchend', this.emptyCellMouseUp.bind(this)); | ||
}; | ||
@@ -116,3 +125,5 @@ GridsterEmptyCell.prototype.emptyCellMouseMove = function (e) { | ||
this.emptyCellMMove(); | ||
this.emptyCellMMoveTouch(); | ||
this.emptyCellUp(); | ||
this.emptyCellUpTouch(); | ||
var item = this.getValidItemFromEvent(e, this.initialItem); | ||
@@ -174,2 +185,2 @@ if (item) { | ||
exports.GridsterEmptyCell = GridsterEmptyCell; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy50bXAvZ3JpZHN0ZXJFbXB0eUNlbGwuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHNDQUF5QztBQUV6QywyREFBdUQ7QUFDdkQsaUVBQXNEO0FBSXREO0lBVUUsMkJBQW9CLFFBQTJCO1FBQTNCLGFBQVEsR0FBUixRQUFRLENBQW1CO0lBQy9DLENBQUM7SUFFRCx5Q0FBYSxHQUFiO1FBQ0UsRUFBRSxDQUFDLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxRQUFRLENBQUMsb0JBQW9CLElBQUksQ0FBQyxJQUFJLENBQUMsY0FBYyxJQUFJLElBQUksQ0FBQyxRQUFRLENBQUMsUUFBUSxDQUFDLHNCQUFzQixDQUFDLENBQUMsQ0FBQztZQUN6SCxJQUFJLENBQUMsY0FBYyxHQUFHLElBQUksQ0FBQyxRQUFRLENBQUMsUUFBUSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsUUFBUSxDQUFDLEVBQUUsRUFBRSxPQUFPLEVBQUUsSUFBSSxDQUFDLGdCQUFnQixDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDO1FBQ25ILENBQUM7UUFBQyxJQUFJLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxJQUFJLENB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XMuZ3JpZHN0ZXIuJG9wdGlvbnMuZW1wdHlDZWxsRHJhZ01heFJvd3MgLSAxKSB7XG4gICAgICAgIGl0ZW0ueSA9IHRoaXMuZ3JpZHN0ZXIubW92aW5nSXRlbS55O1xuICAgICAgfVxuICAgIH1cbiAgICBpZiAodGhpcy5ncmlkc3Rlci5jaGVja0NvbGxpc2lvbihpdGVtKSkge1xuICAgICAgcmV0dXJuO1xuICAgIH1cbiAgICByZXR1cm4gaXRlbTtcbiAgfVxuc3RhdGljIGRlY29yYXRvcnM6IERlY29yYXRvckludm9jYXRpb25bXSA9IFtcbnsgdHlwZTogSW5qZWN0YWJsZSB9LFxuXTtcbi8qKiBAbm9jb2xsYXBzZSAqL1xuc3RhdGljIGN0b3JQYXJhbWV0ZXJzOiAoKSA9PiAoe3R5cGU6IGFueSwgZGVjb3JhdG9ycz86IERlY29yYXRvckludm9jYXRpb25bXX18bnVsbClbXSA9ICgpID0+IFtcbnt0eXBlOiBHcmlkc3RlckNvbXBvbmVudCwgfSxcbl07XG59XG5cbmludGVyZmFjZSBEZWNvcmF0b3JJbnZvY2F0aW9uIHtcbiAgdHlwZTogRnVuY3Rpb247XG4gIGFyZ3M/OiBhbnlbXTtcbn1cbiJdfQ== |
@@ -37,2 +37,3 @@ "use strict"; | ||
resizeEnabled: undefined, | ||
compactEnabled: undefined, | ||
maxItemRows: undefined, | ||
@@ -153,2 +154,2 @@ minItemRows: undefined, | ||
exports.GridsterItemComponent = GridsterItemComponent; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy50bXAvZ3JpZHN0ZXJJdGVtLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHNDQVV1QjtBQUd2QiwyREFBdUQ7QUFDdkQseUVBQThEO0FBQzlELHlFQUE4RDtBQUM5RCxpRUFBc0Q7QUFJdEQ7SUFvQkUsK0JBQVksRUFBYyxFQUFHLFF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90dG9tOiAwOyB9ICA6aG9zdCA6Om5nLWRlZXAgLmdyaWRzdGVyLWl0ZW0tY29udGVudCB7ICAgLXdlYmtpdC11c2VyLXNlbGVjdDogYXV0bzsgICAtbW96LXVzZXItc2VsZWN0OiBhdXRvOyAgIC1tcy11c2VyLXNlbGVjdDogYXV0bzsgICB1c2VyLXNlbGVjdDogYXV0bzsgfSAgOmhvc3QoOmhvdmVyKSAuZ3JpZHN0ZXItaXRlbS1yZXNpemFibGUtaGFuZGxlci5oYW5kbGUtc2UgeyAgIGJvcmRlci1jb2xvcjogdHJhbnNwYXJlbnQgdHJhbnNwYXJlbnQgI2NjYyB9YF1cbn0sIF0gfSxcbl07XG4vKiogQG5vY29sbGFwc2UgKi9cbnN0YXRpYyBjdG9yUGFyYW1ldGVyczogKCkgPT4gKHt0eXBlOiBhbnksIGRlY29yYXRvcnM/OiBEZWNvcmF0b3JJbnZvY2F0aW9uW119fG51bGwpW10gPSAoKSA9PiBbXG57dHlwZTogRWxlbWVudFJlZiwgfSxcbnt0eXBlOiBHcmlkc3RlckNvbXBvbmVudCwgZGVjb3JhdG9yczogW3sgdHlwZTogSG9zdCB9LCBdfSxcbnt0eXBlOiBSZW5kZXJlcjIsIH0sXG5dO1xuc3RhdGljIHByb3BEZWNvcmF0b3JzOiB7W2tleTogc3RyaW5nXTogRGVjb3JhdG9ySW52b2NhdGlvbltdfSA9IHtcbidpdGVtJzogW3sgdHlwZTogSW5wdXQgfSxdLFxuJ2l0ZW1DaGFuZ2UnOiBbeyB0eXBlOiBPdXRwdXQgfSxdLFxuJ2l0ZW1SZXNpemUnOiBbeyB0eXBlOiBPdXRwdXQgfSxdLFxufTtcbn1cblxuaW50ZXJmYWNlIERlY29yYXRvckludm9jYXRpb24ge1xuICB0eXBlOiBGdW5jdGlvbjtcbiAgYXJncz86IGFueVtdO1xufVxuIl19 |
@@ -9,2 +9,3 @@ export interface GridsterItem { | ||
resizeEnabled?: boolean; | ||
compactEnabled?: boolean; | ||
maxItemRows?: number; | ||
@@ -11,0 +12,0 @@ minItemRows?: number; |
@@ -34,4 +34,10 @@ "use strict"; | ||
if (e.clientX === undefined && e.touches) { | ||
e.clientX = e.touches[0].clientX; | ||
e.clientY = e.touches[0].clientY; | ||
if (e.touches && e.touches.length) { | ||
e.clientX = e.touches[0].clientX; | ||
e.clientY = e.touches[0].clientY; | ||
} | ||
else if (e.changedTouches && e.changedTouches.length) { | ||
e.clientX = e.changedTouches[0].clientX; | ||
e.clientY = e.changedTouches[0].clientY; | ||
} | ||
} | ||
@@ -71,2 +77,2 @@ }; | ||
exports.GridsterUtils = GridsterUtils; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy50bXAvZ3JpZHN0ZXJVdGlscy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsc0NBQXlDO0FBS3pDO0lBQUE7SUFpRUEsQ0FBQztJQS9EUSxtQkFBSyxHQUFaLFVBQWEsSUFBUyxFQUFFLElBQVMsRUFBRSxVQUFlO1FBQ2hELEdBQUcsQ0FBQyxDQUFDLElBQU0sQ0FBQyxJQUFJLElBQUksQ0FBQyxDQUFDLENBQUM7WUFDckIsRUFBRSxDQUFDLENBQUMsSUFBSSxDQUFDLGNBQWMsQ0FBQyxDQUFDLENBQUMsSUFBSSxVQUFVLENBQUMsY0FBYyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQztnQkFDM0QsRUFBRSxDQUFDLENBQUMsT0FBTyxJQUFJLENBQUMsQ0FBQyxDQUFDLEtBQUssUUFBUSxDQUFDLENBQUMsQ0FBQztvQkFDaEMsSUFBSSxDQUFDLENBQUMsQ0FBQyxHQUFHLGFBQWEsQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxFQUFFLElBQUksQ0FBQyxDQUFDLENBQUMsRUFBRSxVQUFVLENBQUMsQ0FBQyxDQUFDLENB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tcbiAgICB9XG4gICAgaWYgKHRhcmdldC5jbGFzc0xpc3QgJiYgdGFyZ2V0LmNsYXNzTGlzdC5jb250YWlucyhjb250ZW50Q2xhc3MpKSB7XG4gICAgICByZXR1cm4gdHJ1ZTtcbiAgICB9IGVsc2Uge1xuICAgICAgcmV0dXJuIEdyaWRzdGVyVXRpbHMuY2hlY2tDb250ZW50Q2xhc3ModGFyZ2V0LnBhcmVudE5vZGUsIGN1cnJlbnQsIGNvbnRlbnRDbGFzcyk7XG4gICAgfVxuICB9XG5zdGF0aWMgZGVjb3JhdG9yczogRGVjb3JhdG9ySW52b2NhdGlvbltdID0gW1xueyB0eXBlOiBJbmplY3RhYmxlIH0sXG5dO1xuLyoqIEBub2NvbGxhcHNlICovXG5zdGF0aWMgY3RvclBhcmFtZXRlcnM6ICgpID0+ICh7dHlwZTogYW55LCBkZWNvcmF0b3JzPzogRGVjb3JhdG9ySW52b2NhdGlvbltdfXxudWxsKVtdID0gKCkgPT4gW1xuXTtcbn1cblxuaW50ZXJmYWNlIERlY29yYXRvckludm9jYXRpb24ge1xuICB0eXBlOiBGdW5jdGlvbjtcbiAgYXJncz86IGFueVtdO1xufVxuIl19 |
{ | ||
"name": "angular-gridster2", | ||
"version": "3.16.3", | ||
"version": "3.17.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -205,2 +205,3 @@ angular-gridster2 | ||
resizeEnabled?: boolean; // override grid option resizable.enabled | ||
compactEnabled?: boolean; // disable compact | ||
maxItemRows?: number; // override grid option maxItemRows | ||
@@ -207,0 +208,0 @@ minItemRows?: number; // override grid option minItemRows |
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
466868
2935
274