Huge News!Announcing our $40M Series B led by Abstract Ventures.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.3.1 to 2.0.0

13

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

@@ -1,2 +0,2 @@

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) {
define(["require", "exports", "tslib", "aurelia-dependency-injection", "aurelia-pal", "aurelia-templating", "aurelia-typed-observable-plugin", "gridstack"], function (require, exports, tslib_1, aurelia_dependency_injection_1, aurelia_pal_1, aurelia_templating_1, aurelia_typed_observable_plugin_1, gs) {
"use strict";

@@ -20,2 +20,9 @@ Object.defineProperty(exports, "__esModule", { value: true });

};
GridStack.prototype.staticChanged = function () {
var _a;
(_a = this.grid) === null || _a === void 0 ? void 0 : _a.setStatic(this.getStatic());
};
GridStack.prototype.getStatic = function () {
return this.static || this.static === '' ? true : false;
};
GridStack.prototype.itemsChanged = function () {

@@ -70,2 +77,6 @@ var _this = this;

tslib_1.__metadata("design:type", Object)
], GridStack.prototype, "static", void 0);
tslib_1.__decorate([
aurelia_typed_observable_plugin_1.bindable,
tslib_1.__metadata("design:type", Object)
], GridStack.prototype, "options", void 0);

@@ -72,0 +83,0 @@ tslib_1.__decorate([

@@ -10,4 +10,2 @@ "use strict";

var gs = tslib_1.__importStar(require("gridstack"));
// eslint-disable-next-line import/no-unassigned-import
require("gridstack/dist/h5/gridstack-dd-native");
var GridStack = /** @class */ (function () {

@@ -27,2 +25,9 @@ function GridStack(root) {

};
GridStack.prototype.staticChanged = function () {
var _a;
(_a = this.grid) === null || _a === void 0 ? void 0 : _a.setStatic(this.getStatic());
};
GridStack.prototype.getStatic = function () {
return this.static || this.static === '' ? true : false;
};
GridStack.prototype.itemsChanged = function () {

@@ -77,2 +82,6 @@ var _this = this;

tslib_1.__metadata("design:type", Object)
], GridStack.prototype, "static", void 0);
tslib_1.__decorate([
aurelia_typed_observable_plugin_1.bindable,
tslib_1.__metadata("design:type", Object)
], GridStack.prototype, "options", void 0);

@@ -79,0 +88,0 @@ tslib_1.__decorate([

@@ -7,4 +7,2 @@ import { __decorate, __metadata } from "tslib";

import * as gs from 'gridstack';
// eslint-disable-next-line import/no-unassigned-import
import 'gridstack/dist/h5/gridstack-dd-native';
let GridStack = class GridStack {

@@ -24,2 +22,9 @@ constructor(root) {

}
staticChanged() {
var _a;
(_a = this.grid) === null || _a === void 0 ? void 0 : _a.setStatic(this.getStatic());
}
getStatic() {
return this.static || this.static === '' ? true : false;
}
itemsChanged() {

@@ -73,2 +78,6 @@ if (!this.grid || !this.items) {

__metadata("design:type", Object)
], GridStack.prototype, "static", void 0);
__decorate([
bindable,
__metadata("design:type", Object)
], GridStack.prototype, "options", void 0);

@@ -75,0 +84,0 @@ __decorate([

@@ -7,4 +7,2 @@ import { __decorate, __metadata } from "tslib";

import * as gs from 'gridstack';
// eslint-disable-next-line import/no-unassigned-import
import 'gridstack/dist/h5/gridstack-dd-native';
var GridStack = /** @class */ (function () {

@@ -24,2 +22,9 @@ function GridStack(root) {

};
GridStack.prototype.staticChanged = function () {
var _a;
(_a = this.grid) === null || _a === void 0 ? void 0 : _a.setStatic(this.getStatic());
};
GridStack.prototype.getStatic = function () {
return this.static || this.static === '' ? true : false;
};
GridStack.prototype.itemsChanged = function () {

@@ -74,2 +79,6 @@ var _this = this;

__metadata("design:type", Object)
], GridStack.prototype, "static", void 0);
__decorate([
bindable,
__metadata("design:type", Object)
], GridStack.prototype, "options", void 0);

@@ -76,0 +85,0 @@ __decorate([

4

dist/types/elements/grid-stack/grid-stack.d.ts
import * as gs from 'gridstack';
import 'gridstack/dist/h5/gridstack-dd-native';
export declare class GridStack {

@@ -12,2 +11,5 @@ root: HTMLElement;

getFloat(): boolean;
static: string | boolean | undefined;
staticChanged(): void;
getStatic(): boolean;
options: gs.GridStackOptions;

@@ -14,0 +16,0 @@ private items;

{
"name": "aurelia-gridstack",
"version": "1.3.1",
"version": "2.0.0",
"publishConfig": {

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

"aurelia-typed-observable-plugin": "^0.5.1",
"gridstack": "^5.0.0",
"gridstack": "^6.0.0",
"tslib": "^2.4.0"
}
}

@@ -58,4 +58,12 @@ # aurelia-gridstack

### Static
You can lock a grid by setting `static` on the grid-stack component:
```html
<grid-stack static></grid-stack>
```
## Contribution
If you feel that something is missing please submit an issue or better yet a PR.

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

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