aurelia-gridstack
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -15,4 +15,7 @@ define(["require", "exports", "tslib", "aurelia-dependency-injection", "aurelia-pal", "aurelia-templating", "aurelia-typed-observable-plugin", "gridstack", "gridstack/dist/h5/gridstack-dd-native"], function (require, exports, tslib_1, aurelia_dependency_injection_1, aurelia_pal_1, aurelia_templating_1, aurelia_typed_observable_plugin_1, gs) { | ||
var _a; | ||
(_a = this.grid) === null || _a === void 0 ? void 0 : _a.float(this.float); | ||
(_a = this.grid) === null || _a === void 0 ? void 0 : _a.float(this.getFloat()); | ||
}; | ||
GridStack.prototype.getFloat = function () { | ||
return this.float || this.float === '' ? true : false; | ||
}; | ||
GridStack.prototype.itemsChanged = function () { | ||
@@ -37,3 +40,3 @@ var _this = this; | ||
if (this.float !== undefined) { | ||
options.float = this.float; | ||
options.float = this.getFloat(); | ||
} | ||
@@ -62,4 +65,4 @@ this.grid = gs.GridStack.init(options, this.root); | ||
(0, tslib_1.__decorate)([ | ||
aurelia_typed_observable_plugin_1.bindable.booleanAttr, | ||
(0, tslib_1.__metadata)("design:type", Boolean) | ||
aurelia_typed_observable_plugin_1.bindable, | ||
(0, tslib_1.__metadata)("design:type", Object) | ||
], GridStack.prototype, "float", void 0); | ||
@@ -66,0 +69,0 @@ (0, tslib_1.__decorate)([ |
@@ -21,4 +21,7 @@ "use strict"; | ||
var _a; | ||
(_a = this.grid) === null || _a === void 0 ? void 0 : _a.float(this.float); | ||
(_a = this.grid) === null || _a === void 0 ? void 0 : _a.float(this.getFloat()); | ||
}; | ||
GridStack.prototype.getFloat = function () { | ||
return this.float || this.float === '' ? true : false; | ||
}; | ||
GridStack.prototype.itemsChanged = function () { | ||
@@ -43,3 +46,3 @@ var _this = this; | ||
if (this.float !== undefined) { | ||
options.float = this.float; | ||
options.float = this.getFloat(); | ||
} | ||
@@ -68,4 +71,4 @@ this.grid = gs.GridStack.init(options, this.root); | ||
(0, tslib_1.__decorate)([ | ||
aurelia_typed_observable_plugin_1.bindable.booleanAttr, | ||
(0, tslib_1.__metadata)("design:type", Boolean) | ||
aurelia_typed_observable_plugin_1.bindable, | ||
(0, tslib_1.__metadata)("design:type", Object) | ||
], GridStack.prototype, "float", void 0); | ||
@@ -72,0 +75,0 @@ (0, tslib_1.__decorate)([ |
@@ -18,4 +18,7 @@ import { __decorate, __metadata } from "tslib"; | ||
var _a; | ||
(_a = this.grid) === null || _a === void 0 ? void 0 : _a.float(this.float); | ||
(_a = this.grid) === null || _a === void 0 ? void 0 : _a.float(this.getFloat()); | ||
} | ||
getFloat() { | ||
return this.float || this.float === '' ? true : false; | ||
} | ||
itemsChanged() { | ||
@@ -39,3 +42,3 @@ if (!this.grid || !this.items) { | ||
if (this.float !== undefined) { | ||
options.float = this.float; | ||
options.float = this.getFloat(); | ||
} | ||
@@ -64,4 +67,4 @@ this.grid = gs.GridStack.init(options, this.root); | ||
__decorate([ | ||
bindable.booleanAttr, | ||
__metadata("design:type", Boolean) | ||
bindable, | ||
__metadata("design:type", Object) | ||
], GridStack.prototype, "float", void 0); | ||
@@ -68,0 +71,0 @@ __decorate([ |
@@ -18,4 +18,7 @@ import { __decorate, __metadata } from "tslib"; | ||
var _a; | ||
(_a = this.grid) === null || _a === void 0 ? void 0 : _a.float(this.float); | ||
(_a = this.grid) === null || _a === void 0 ? void 0 : _a.float(this.getFloat()); | ||
}; | ||
GridStack.prototype.getFloat = function () { | ||
return this.float || this.float === '' ? true : false; | ||
}; | ||
GridStack.prototype.itemsChanged = function () { | ||
@@ -40,3 +43,3 @@ var _this = this; | ||
if (this.float !== undefined) { | ||
options.float = this.float; | ||
options.float = this.getFloat(); | ||
} | ||
@@ -65,4 +68,4 @@ this.grid = gs.GridStack.init(options, this.root); | ||
__decorate([ | ||
bindable.booleanAttr, | ||
__metadata("design:type", Boolean) | ||
bindable, | ||
__metadata("design:type", Object) | ||
], GridStack.prototype, "float", void 0); | ||
@@ -69,0 +72,0 @@ __decorate([ |
@@ -9,4 +9,5 @@ import * as gs from 'gridstack'; | ||
minRowChanged(): void; | ||
float: boolean; | ||
float: string | boolean | undefined; | ||
floatChanged(): void; | ||
getFloat(): boolean; | ||
options: gs.GridStackOptions; | ||
@@ -13,0 +14,0 @@ private items; |
{ | ||
"name": "aurelia-gridstack", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"publishConfig": { | ||
@@ -46,5 +46,5 @@ "access": "public" | ||
"aurelia-typed-observable-plugin": "^0.4.2", | ||
"gridstack": "^4.2.5", | ||
"gridstack": "^5.0.0", | ||
"tslib": "^2.1.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 not supported yet
80402
849