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

aurelia-gridstack

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurelia-gridstack - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

38

dist/amd/elements/grid-stack-item/grid-stack-item.js

@@ -65,35 +65,35 @@ define(["require", "exports", "tslib", "aurelia-binding", "aurelia-dependency-injection", "aurelia-pal", "aurelia-templating", "aurelia-typed-observable-plugin"], function (require, exports, tslib_1, aurelia_binding_1, aurelia_dependency_injection_1, aurelia_pal_1, aurelia_templating_1, aurelia_typed_observable_plugin_1) {

};
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.number({ defaultBindingMode: aurelia_binding_1.bindingMode.twoWay }),
tslib_1.__metadata("design:type", Number)
(0, tslib_1.__metadata)("design:type", Number)
], GridStackItem.prototype, "x", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.number({ defaultBindingMode: aurelia_binding_1.bindingMode.twoWay }),
tslib_1.__metadata("design:type", Number)
(0, tslib_1.__metadata)("design:type", Number)
], GridStackItem.prototype, "y", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.number({ defaultBindingMode: aurelia_binding_1.bindingMode.twoWay }),
tslib_1.__metadata("design:type", Number)
(0, tslib_1.__metadata)("design:type", Number)
], GridStackItem.prototype, "w", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.number({ defaultBindingMode: aurelia_binding_1.bindingMode.twoWay }),
tslib_1.__metadata("design:type", Number)
(0, tslib_1.__metadata)("design:type", Number)
], GridStackItem.prototype, "h", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], GridStackItem.prototype, "noMove", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], GridStackItem.prototype, "noResize", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], GridStackItem.prototype, "locked", void 0);
GridStackItem = tslib_1.__decorate([
aurelia_dependency_injection_1.inject(Element),
aurelia_templating_1.customElement('grid-stack-item'),
aurelia_templating_1.useView(aurelia_pal_1.PLATFORM.moduleName('./grid-stack-item.html')),
tslib_1.__metadata("design:paramtypes", [Object])
GridStackItem = (0, tslib_1.__decorate)([
(0, aurelia_dependency_injection_1.inject)(Element),
(0, aurelia_templating_1.customElement)('grid-stack-item'),
(0, aurelia_templating_1.useView)(aurelia_pal_1.PLATFORM.moduleName('./grid-stack-item.html')),
(0, tslib_1.__metadata)("design:paramtypes", [Object])
], GridStackItem);

@@ -100,0 +100,0 @@ return GridStackItem;

@@ -5,3 +5,3 @@ 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) {

exports.GridStack = void 0;
gs = tslib_1.__importStar(gs);
gs = (0, tslib_1.__importStar)(gs);
var GridStack = /** @class */ (function () {

@@ -34,3 +34,8 @@ function GridStack(root) {

GridStack.prototype.attached = function () {
this.grid = gs.GridStack.init({ float: this.float }, this.root);
var _a;
var options = (_a = this.options) !== null && _a !== void 0 ? _a : {};
if (this.float !== undefined) {
options.float = this.float;
}
this.grid = gs.GridStack.init(options, this.root);
this.itemsChanged();

@@ -52,19 +57,23 @@ };

};
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.number,
tslib_1.__metadata("design:type", Number)
(0, tslib_1.__metadata)("design:type", Number)
], GridStack.prototype, "minRow", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], GridStack.prototype, "float", void 0);
tslib_1.__decorate([
aurelia_templating_1.children('.grid-stack-item'),
tslib_1.__metadata("design:type", Array)
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable,
(0, tslib_1.__metadata)("design:type", Object)
], GridStack.prototype, "options", void 0);
(0, tslib_1.__decorate)([
(0, aurelia_templating_1.children)('.grid-stack-item'),
(0, tslib_1.__metadata)("design:type", Array)
], GridStack.prototype, "items", void 0);
GridStack = tslib_1.__decorate([
aurelia_dependency_injection_1.inject(Element),
aurelia_templating_1.customElement('grid-stack'),
aurelia_templating_1.useView(aurelia_pal_1.PLATFORM.moduleName('./grid-stack.html')),
tslib_1.__metadata("design:paramtypes", [HTMLElement])
GridStack = (0, tslib_1.__decorate)([
(0, aurelia_dependency_injection_1.inject)(Element),
(0, aurelia_templating_1.customElement)('grid-stack'),
(0, aurelia_templating_1.useView)(aurelia_pal_1.PLATFORM.moduleName('./grid-stack.html')),
(0, tslib_1.__metadata)("design:paramtypes", [HTMLElement])
], GridStack);

@@ -71,0 +80,0 @@ return GridStack;

@@ -70,35 +70,35 @@ "use strict";

};
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.number({ defaultBindingMode: aurelia_binding_1.bindingMode.twoWay }),
tslib_1.__metadata("design:type", Number)
(0, tslib_1.__metadata)("design:type", Number)
], GridStackItem.prototype, "x", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.number({ defaultBindingMode: aurelia_binding_1.bindingMode.twoWay }),
tslib_1.__metadata("design:type", Number)
(0, tslib_1.__metadata)("design:type", Number)
], GridStackItem.prototype, "y", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.number({ defaultBindingMode: aurelia_binding_1.bindingMode.twoWay }),
tslib_1.__metadata("design:type", Number)
(0, tslib_1.__metadata)("design:type", Number)
], GridStackItem.prototype, "w", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.number({ defaultBindingMode: aurelia_binding_1.bindingMode.twoWay }),
tslib_1.__metadata("design:type", Number)
(0, tslib_1.__metadata)("design:type", Number)
], GridStackItem.prototype, "h", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], GridStackItem.prototype, "noMove", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], GridStackItem.prototype, "noResize", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], GridStackItem.prototype, "locked", void 0);
GridStackItem = tslib_1.__decorate([
aurelia_dependency_injection_1.inject(Element),
aurelia_templating_1.customElement('grid-stack-item'),
aurelia_templating_1.useView(aurelia_pal_1.PLATFORM.moduleName('./grid-stack-item.html')),
tslib_1.__metadata("design:paramtypes", [Object])
GridStackItem = (0, tslib_1.__decorate)([
(0, aurelia_dependency_injection_1.inject)(Element),
(0, aurelia_templating_1.customElement)('grid-stack-item'),
(0, aurelia_templating_1.useView)(aurelia_pal_1.PLATFORM.moduleName('./grid-stack-item.html')),
(0, tslib_1.__metadata)("design:paramtypes", [Object])
], GridStackItem);

@@ -105,0 +105,0 @@ return GridStackItem;

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

var aurelia_typed_observable_plugin_1 = require("aurelia-typed-observable-plugin");
var gs = tslib_1.__importStar(require("gridstack"));
var gs = (0, tslib_1.__importStar)(require("gridstack"));
// eslint-disable-next-line import/no-unassigned-import

@@ -40,3 +40,8 @@ require("gridstack/dist/h5/gridstack-dd-native");

GridStack.prototype.attached = function () {
this.grid = gs.GridStack.init({ float: this.float }, this.root);
var _a;
var options = (_a = this.options) !== null && _a !== void 0 ? _a : {};
if (this.float !== undefined) {
options.float = this.float;
}
this.grid = gs.GridStack.init(options, this.root);
this.itemsChanged();

@@ -58,19 +63,23 @@ };

};
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.number,
tslib_1.__metadata("design:type", Number)
(0, tslib_1.__metadata)("design:type", Number)
], GridStack.prototype, "minRow", void 0);
tslib_1.__decorate([
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable.booleanAttr,
tslib_1.__metadata("design:type", Boolean)
(0, tslib_1.__metadata)("design:type", Boolean)
], GridStack.prototype, "float", void 0);
tslib_1.__decorate([
aurelia_templating_1.children('.grid-stack-item'),
tslib_1.__metadata("design:type", Array)
(0, tslib_1.__decorate)([
aurelia_typed_observable_plugin_1.bindable,
(0, tslib_1.__metadata)("design:type", Object)
], GridStack.prototype, "options", void 0);
(0, tslib_1.__decorate)([
(0, aurelia_templating_1.children)('.grid-stack-item'),
(0, tslib_1.__metadata)("design:type", Array)
], GridStack.prototype, "items", void 0);
GridStack = tslib_1.__decorate([
aurelia_dependency_injection_1.inject(Element),
aurelia_templating_1.customElement('grid-stack'),
aurelia_templating_1.useView(aurelia_pal_1.PLATFORM.moduleName('./grid-stack.html')),
tslib_1.__metadata("design:paramtypes", [HTMLElement])
GridStack = (0, tslib_1.__decorate)([
(0, aurelia_dependency_injection_1.inject)(Element),
(0, aurelia_templating_1.customElement)('grid-stack'),
(0, aurelia_templating_1.useView)(aurelia_pal_1.PLATFORM.moduleName('./grid-stack.html')),
(0, tslib_1.__metadata)("design:paramtypes", [HTMLElement])
], GridStack);

@@ -77,0 +86,0 @@ return GridStack;

@@ -35,3 +35,8 @@ import { __decorate, __metadata } from "tslib";

attached() {
this.grid = gs.GridStack.init({ float: this.float }, this.root);
var _a;
const options = (_a = this.options) !== null && _a !== void 0 ? _a : {};
if (this.float !== undefined) {
options.float = this.float;
}
this.grid = gs.GridStack.init(options, this.root);
this.itemsChanged();

@@ -62,2 +67,6 @@ }

__decorate([
bindable,
__metadata("design:type", Object)
], GridStack.prototype, "options", void 0);
__decorate([
children('.grid-stack-item'),

@@ -64,0 +73,0 @@ __metadata("design:type", Array)

@@ -36,3 +36,8 @@ import { __decorate, __metadata } from "tslib";

GridStack.prototype.attached = function () {
this.grid = gs.GridStack.init({ float: this.float }, this.root);
var _a;
var options = (_a = this.options) !== null && _a !== void 0 ? _a : {};
if (this.float !== undefined) {
options.float = this.float;
}
this.grid = gs.GridStack.init(options, this.root);
this.itemsChanged();

@@ -63,2 +68,6 @@ };

__decorate([
bindable,
__metadata("design:type", Object)
], GridStack.prototype, "options", void 0);
__decorate([
children('.grid-stack-item'),

@@ -65,0 +74,0 @@ __metadata("design:type", Array)

@@ -11,2 +11,3 @@ import * as gs from 'gridstack';

floatChanged(): void;
options: gs.GridStackOptions;
private items;

@@ -13,0 +14,0 @@ itemsChanged(): void;

{
"name": "aurelia-gridstack",
"version": "1.0.0",
"version": "1.1.0",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

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

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