gridstack 5.1.1 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -38
- package/dist/{h5/dd-base-impl.d.ts → dd-base-impl.d.ts} +1 -1
- package/dist/{h5/dd-base-impl.js → dd-base-impl.js} +1 -3
- package/dist/dd-base-impl.js.map +1 -0
- package/dist/{es5/h5/dd-draggable.d.ts → dd-draggable.d.ts} +6 -7
- package/dist/dd-draggable.js +313 -0
- package/dist/dd-draggable.js.map +1 -0
- package/dist/{h5/dd-droppable.d.ts → dd-droppable.d.ts} +3 -2
- package/dist/dd-droppable.js +149 -0
- package/dist/dd-droppable.js.map +1 -0
- package/dist/{h5/dd-element.d.ts → dd-element.d.ts} +2 -2
- package/dist/{h5/dd-element.js → dd-element.js} +1 -1
- package/dist/dd-element.js.map +1 -0
- package/dist/dd-gridstack.d.ts +36 -0
- package/dist/{gridstack-dd.js → dd-gridstack.js} +154 -52
- package/dist/dd-gridstack.js.map +1 -0
- package/dist/dd-manager.d.ts +17 -0
- package/dist/{h5/dd-manager.js → dd-manager.js} +4 -1
- package/dist/dd-manager.js.map +1 -0
- package/dist/{es5/h5/dd-resizable-handle.d.ts → dd-resizable-handle.d.ts} +1 -1
- package/dist/{h5/dd-resizable-handle.js → dd-resizable-handle.js} +32 -8
- package/dist/dd-resizable-handle.js.map +1 -0
- package/dist/{es5/h5/dd-resizable.d.ts → dd-resizable.d.ts} +2 -2
- package/dist/{h5/dd-resizable.js → dd-resizable.js} +28 -27
- package/dist/dd-resizable.js.map +1 -0
- package/dist/dd-touch.d.ts +33 -0
- package/dist/dd-touch.js +179 -0
- package/dist/dd-touch.js.map +1 -0
- package/dist/es5/{h5/dd-base-impl.d.ts → dd-base-impl.d.ts} +1 -1
- package/dist/es5/{h5/dd-base-impl.js → dd-base-impl.js} +1 -3
- package/dist/es5/dd-base-impl.js.map +1 -0
- package/dist/{h5 → es5}/dd-draggable.d.ts +6 -7
- package/dist/es5/dd-draggable.js +335 -0
- package/dist/es5/dd-draggable.js.map +1 -0
- package/dist/es5/{h5/dd-droppable.d.ts → dd-droppable.d.ts} +3 -2
- package/dist/es5/dd-droppable.js +180 -0
- package/dist/es5/dd-droppable.js.map +1 -0
- package/dist/es5/{h5/dd-element.d.ts → dd-element.d.ts} +2 -2
- package/dist/es5/{h5/dd-element.js → dd-element.js} +1 -1
- package/dist/es5/dd-element.js.map +1 -0
- package/dist/es5/dd-gridstack.d.ts +36 -0
- package/dist/es5/{gridstack-dd.js → dd-gridstack.js} +164 -71
- package/dist/es5/dd-gridstack.js.map +1 -0
- package/dist/es5/dd-manager.d.ts +17 -0
- package/dist/es5/{h5/dd-manager.js → dd-manager.js} +4 -1
- package/dist/es5/dd-manager.js.map +1 -0
- package/dist/{h5 → es5}/dd-resizable-handle.d.ts +1 -1
- package/dist/es5/{h5/dd-resizable-handle.js → dd-resizable-handle.js} +32 -8
- package/dist/es5/dd-resizable-handle.js.map +1 -0
- package/dist/{h5 → es5}/dd-resizable.d.ts +2 -2
- package/dist/es5/{h5/dd-resizable.js → dd-resizable.js} +28 -27
- package/dist/es5/dd-resizable.js.map +1 -0
- package/dist/es5/dd-touch.d.ts +33 -0
- package/dist/es5/dd-touch.js +182 -0
- package/dist/es5/dd-touch.js.map +1 -0
- package/dist/es5/gridstack-all.js +3 -0
- package/dist/{gridstack-static.js.LICENSE.txt → es5/gridstack-all.js.LICENSE.txt} +1 -1
- package/dist/es5/gridstack-all.js.map +1 -0
- package/dist/es5/gridstack-engine.d.ts +2 -3
- package/dist/es5/gridstack-engine.js +18 -18
- package/dist/es5/gridstack-engine.js.map +1 -1
- package/dist/es5/gridstack-poly.js +1 -1
- package/dist/es5/gridstack.d.ts +8 -9
- package/dist/es5/gridstack.js +47 -35
- package/dist/es5/gridstack.js.map +1 -1
- package/dist/es5/types.d.ts +12 -16
- package/dist/es5/types.js +1 -1
- package/dist/es5/types.js.map +1 -1
- package/dist/es5/utils.d.ts +11 -1
- package/dist/es5/utils.js +67 -6
- package/dist/es5/utils.js.map +1 -1
- package/dist/gridstack-all.js +3 -0
- package/dist/{es5/gridstack-h5.js.LICENSE.txt → gridstack-all.js.LICENSE.txt} +1 -1
- package/dist/gridstack-all.js.map +1 -0
- package/dist/gridstack-engine.d.ts +2 -3
- package/dist/gridstack-engine.js +17 -18
- package/dist/gridstack-engine.js.map +1 -1
- package/dist/gridstack.css +21 -9
- package/dist/gridstack.d.ts +8 -9
- package/dist/gridstack.js +45 -35
- package/dist/gridstack.js.map +1 -1
- package/dist/gridstack.min.css +1 -1
- package/dist/src/gridstack.scss +19 -12
- package/dist/types.d.ts +12 -16
- package/dist/types.js +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils.d.ts +11 -1
- package/dist/utils.js +64 -6
- package/dist/utils.js.map +1 -1
- package/doc/CHANGES.md +7 -0
- package/doc/README.md +17 -18
- package/package.json +2 -2
- package/dist/es5/gridstack-dd.d.ts +0 -35
- package/dist/es5/gridstack-dd.js.map +0 -1
- package/dist/es5/gridstack-ddi.d.ts +0 -17
- package/dist/es5/gridstack-ddi.js +0 -31
- package/dist/es5/gridstack-ddi.js.map +0 -1
- package/dist/es5/gridstack-h5.d.ts +0 -10
- package/dist/es5/gridstack-h5.js +0 -3
- package/dist/es5/gridstack-h5.js.map +0 -1
- package/dist/es5/gridstack-jq.d.ts +0 -10
- package/dist/es5/gridstack-jq.js +0 -3
- package/dist/es5/gridstack-jq.js.LICENSE.txt +0 -99
- package/dist/es5/gridstack-jq.js.map +0 -1
- package/dist/es5/gridstack-static.d.ts +0 -9
- package/dist/es5/gridstack-static.js +0 -3
- package/dist/es5/gridstack-static.js.LICENSE.txt +0 -7
- package/dist/es5/gridstack-static.js.map +0 -1
- package/dist/es5/h5/dd-base-impl.js.map +0 -1
- package/dist/es5/h5/dd-draggable.js +0 -326
- package/dist/es5/h5/dd-draggable.js.map +0 -1
- package/dist/es5/h5/dd-droppable.js +0 -199
- package/dist/es5/h5/dd-droppable.js.map +0 -1
- package/dist/es5/h5/dd-element.js.map +0 -1
- package/dist/es5/h5/dd-manager.d.ts +0 -8
- package/dist/es5/h5/dd-manager.js.map +0 -1
- package/dist/es5/h5/dd-resizable-handle.js.map +0 -1
- package/dist/es5/h5/dd-resizable.js.map +0 -1
- package/dist/es5/h5/dd-utils.d.ts +0 -19
- package/dist/es5/h5/dd-utils.js +0 -111
- package/dist/es5/h5/dd-utils.js.map +0 -1
- package/dist/es5/h5/gridstack-dd-native.d.ts +0 -26
- package/dist/es5/h5/gridstack-dd-native.js +0 -175
- package/dist/es5/h5/gridstack-dd-native.js.map +0 -1
- package/dist/es5/jq/gridstack-dd-jqueryui.d.ts +0 -22
- package/dist/es5/jq/gridstack-dd-jqueryui.js +0 -162
- package/dist/es5/jq/gridstack-dd-jqueryui.js.map +0 -1
- package/dist/gridstack-dd.d.ts +0 -35
- package/dist/gridstack-dd.js.map +0 -1
- package/dist/gridstack-ddi.d.ts +0 -17
- package/dist/gridstack-ddi.js +0 -28
- package/dist/gridstack-ddi.js.map +0 -1
- package/dist/gridstack-h5.d.ts +0 -10
- package/dist/gridstack-h5.js +0 -3
- package/dist/gridstack-h5.js.LICENSE.txt +0 -7
- package/dist/gridstack-h5.js.map +0 -1
- package/dist/gridstack-jq.d.ts +0 -10
- package/dist/gridstack-jq.js +0 -3
- package/dist/gridstack-jq.js.LICENSE.txt +0 -99
- package/dist/gridstack-jq.js.map +0 -1
- package/dist/gridstack-static.d.ts +0 -9
- package/dist/gridstack-static.js +0 -3
- package/dist/gridstack-static.js.map +0 -1
- package/dist/h5/dd-base-impl.js.map +0 -1
- package/dist/h5/dd-draggable.js +0 -302
- package/dist/h5/dd-draggable.js.map +0 -1
- package/dist/h5/dd-droppable.js +0 -168
- package/dist/h5/dd-droppable.js.map +0 -1
- package/dist/h5/dd-element.js.map +0 -1
- package/dist/h5/dd-manager.d.ts +0 -8
- package/dist/h5/dd-manager.js.map +0 -1
- package/dist/h5/dd-resizable-handle.js.map +0 -1
- package/dist/h5/dd-resizable.js.map +0 -1
- package/dist/h5/dd-utils.d.ts +0 -19
- package/dist/h5/dd-utils.js +0 -94
- package/dist/h5/dd-utils.js.map +0 -1
- package/dist/h5/gridstack-dd-native.d.ts +0 -26
- package/dist/h5/gridstack-dd-native.js +0 -140
- package/dist/h5/gridstack-dd-native.js.map +0 -1
- package/dist/jq/gridstack-dd-jqueryui.d.ts +0 -22
- package/dist/jq/gridstack-dd-jqueryui.js +0 -133
- package/dist/jq/gridstack-dd-jqueryui.js.map +0 -1
- package/dist/jq/jquery-ui.js +0 -2
- package/dist/jq/jquery-ui.js.map +0 -1
- package/dist/jq/jquery.js +0 -2
- package/dist/jq/jquery.js.map +0 -1
- package/dist/jq/jquery.ui.touch-punch.js +0 -2
- package/dist/jq/jquery.ui.touch-punch.js.map +0 -1
package/dist/es5/gridstack.js
CHANGED
|
@@ -30,7 +30,7 @@ var __spreadArrays = (this && this.__spreadArrays) || function () {
|
|
|
30
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
31
|
exports.GridStack = void 0;
|
|
32
32
|
/*!
|
|
33
|
-
* GridStack
|
|
33
|
+
* GridStack 6.0.0
|
|
34
34
|
* https://gridstackjs.com/
|
|
35
35
|
*
|
|
36
36
|
* Copyright (c) 2021-2022 Alain Dumesny
|
|
@@ -38,12 +38,10 @@ exports.GridStack = void 0;
|
|
|
38
38
|
*/
|
|
39
39
|
var gridstack_engine_1 = require("./gridstack-engine");
|
|
40
40
|
var utils_1 = require("./utils");
|
|
41
|
-
var gridstack_ddi_1 = require("./gridstack-ddi");
|
|
42
41
|
// export all dependent file as well to make it easier for users to just import the main file
|
|
43
42
|
__exportStar(require("./types"), exports);
|
|
44
43
|
__exportStar(require("./utils"), exports);
|
|
45
44
|
__exportStar(require("./gridstack-engine"), exports);
|
|
46
|
-
__exportStar(require("./gridstack-ddi"), exports);
|
|
47
45
|
// default values for grid options - used during init and when saving out
|
|
48
46
|
var GridDefaults = {
|
|
49
47
|
column: 12,
|
|
@@ -63,14 +61,12 @@ var GridDefaults = {
|
|
|
63
61
|
float: false,
|
|
64
62
|
staticGrid: false,
|
|
65
63
|
animate: true,
|
|
66
|
-
alwaysShowResizeHandle:
|
|
64
|
+
alwaysShowResizeHandle: 'mobile',
|
|
67
65
|
resizable: {
|
|
68
|
-
autoHide: true,
|
|
69
66
|
handles: 'se'
|
|
70
67
|
},
|
|
71
68
|
draggable: {
|
|
72
69
|
handle: '.grid-stack-item-content',
|
|
73
|
-
scroll: false,
|
|
74
70
|
appendTo: 'body'
|
|
75
71
|
},
|
|
76
72
|
disableDrag: false,
|
|
@@ -83,7 +79,7 @@ var GridDefaults = {
|
|
|
83
79
|
marginUnit: 'px',
|
|
84
80
|
cellHeightUnit: 'px',
|
|
85
81
|
disableOneColumnMode: false,
|
|
86
|
-
oneColumnModeDomSort: false
|
|
82
|
+
oneColumnModeDomSort: false,
|
|
87
83
|
};
|
|
88
84
|
/**
|
|
89
85
|
* Main gridstack class - you will need to call `GridStack.init()` first to initialize your grid.
|
|
@@ -127,16 +123,15 @@ var GridStack = /** @class */ (function () {
|
|
|
127
123
|
opts.oneColumnSize = opts.oneColumnSize || anyOpts.minWidth;
|
|
128
124
|
delete anyOpts.minWidth;
|
|
129
125
|
}
|
|
130
|
-
//
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
appendTo: 'body'
|
|
126
|
+
// save original setting so we can restore on save
|
|
127
|
+
if (opts.alwaysShowResizeHandle !== undefined) {
|
|
128
|
+
opts._alwaysShowResizeHandle = opts.alwaysShowResizeHandle;
|
|
129
|
+
}
|
|
130
|
+
// elements DOM attributes override any passed options (like CSS style) - merge the two together
|
|
131
|
+
var defaults = __assign(__assign({}, utils_1.Utils.cloneDeep(GridDefaults)), { column: utils_1.Utils.toNumber(el.getAttribute('gs-column')) || GridDefaults.column, minRow: rowAttr ? rowAttr : utils_1.Utils.toNumber(el.getAttribute('gs-min-row')) || GridDefaults.minRow, maxRow: rowAttr ? rowAttr : utils_1.Utils.toNumber(el.getAttribute('gs-max-row')) || GridDefaults.maxRow, staticGrid: utils_1.Utils.toBool(el.getAttribute('gs-static')) || GridDefaults.staticGrid, _styleSheetClass: 'grid-stack-instance-' + (Math.random() * 10000).toFixed(0), draggable: {
|
|
132
|
+
handle: (opts.handleClass ? '.' + opts.handleClass : (opts.handle ? opts.handle : '')) || GridDefaults.draggable.handle,
|
|
138
133
|
}, removableOptions: {
|
|
139
|
-
accept: '.' +
|
|
134
|
+
accept: opts.itemClass ? '.' + opts.itemClass : GridDefaults.removableOptions.accept,
|
|
140
135
|
} });
|
|
141
136
|
if (el.getAttribute('gs-animate')) { // default to true, but if set to false use that instead
|
|
142
137
|
defaults.animate = utils_1.Utils.toBool(el.getAttribute('gs-animate'));
|
|
@@ -176,6 +171,10 @@ var GridStack = /** @class */ (function () {
|
|
|
176
171
|
}
|
|
177
172
|
this.cellHeight(this.opts.cellHeight, false);
|
|
178
173
|
}
|
|
174
|
+
// see if we need to adjust auto-hide
|
|
175
|
+
if (this.opts.alwaysShowResizeHandle === 'mobile') {
|
|
176
|
+
this.opts.alwaysShowResizeHandle = dd_touch_1.isTouch;
|
|
177
|
+
}
|
|
179
178
|
this.el.classList.add(this.opts._styleSheetClass);
|
|
180
179
|
this._setStaticClass();
|
|
181
180
|
var engineClass = this.opts.engineClass || GridStack.engineClass || gridstack_engine_1.GridStackEngine;
|
|
@@ -215,7 +214,7 @@ var GridStack = /** @class */ (function () {
|
|
|
215
214
|
});
|
|
216
215
|
});
|
|
217
216
|
elements_1.sort(function (a, b) { return a.i - b.i; }).forEach(function (e) { return _this._prepareElement(e.el); });
|
|
218
|
-
this.
|
|
217
|
+
this.batchUpdate(false);
|
|
219
218
|
}
|
|
220
219
|
this.setAnimation(this.opts.animate);
|
|
221
220
|
this._updateStyles();
|
|
@@ -477,6 +476,14 @@ var GridStack = /** @class */ (function () {
|
|
|
477
476
|
o.column = 'auto';
|
|
478
477
|
delete o.disableOneColumnMode;
|
|
479
478
|
}
|
|
479
|
+
var origShow = o._alwaysShowResizeHandle;
|
|
480
|
+
delete o._alwaysShowResizeHandle;
|
|
481
|
+
if (origShow !== undefined) {
|
|
482
|
+
o.alwaysShowResizeHandle = origShow;
|
|
483
|
+
}
|
|
484
|
+
else {
|
|
485
|
+
delete o.alwaysShowResizeHandle;
|
|
486
|
+
}
|
|
480
487
|
utils_1.Utils.removeInternalAndSame(o, GridDefaults);
|
|
481
488
|
o.children = list;
|
|
482
489
|
return o;
|
|
@@ -545,17 +552,24 @@ var GridStack = /** @class */ (function () {
|
|
|
545
552
|
}
|
|
546
553
|
});
|
|
547
554
|
this.engine.removedNodes = removed;
|
|
548
|
-
this.
|
|
555
|
+
this.batchUpdate(false);
|
|
549
556
|
// after commit, clear that flag
|
|
550
557
|
delete this._ignoreLayoutsNodeChange;
|
|
551
558
|
delete this._insertNotAppend;
|
|
552
559
|
return this;
|
|
553
560
|
};
|
|
554
561
|
/**
|
|
555
|
-
*
|
|
562
|
+
* use before calling a bunch of `addWidget()` to prevent un-necessary relayouts in between (more efficient)
|
|
563
|
+
* and get a single event callback. You will see no changes until `batchUpdate(false)` is called.
|
|
556
564
|
*/
|
|
557
|
-
GridStack.prototype.batchUpdate = function () {
|
|
558
|
-
|
|
565
|
+
GridStack.prototype.batchUpdate = function (flag) {
|
|
566
|
+
if (flag === void 0) { flag = true; }
|
|
567
|
+
this.engine.batchUpdate(flag);
|
|
568
|
+
if (!flag) {
|
|
569
|
+
this._triggerRemoveEvent();
|
|
570
|
+
this._triggerAddEvent();
|
|
571
|
+
this._triggerChangeEvent();
|
|
572
|
+
}
|
|
559
573
|
return this;
|
|
560
574
|
};
|
|
561
575
|
/**
|
|
@@ -630,16 +644,6 @@ var GridStack = /** @class */ (function () {
|
|
|
630
644
|
// https://stackoverflow.com/questions/21064101/understanding-offsetwidth-clientwidth-scrollwidth-and-height-respectively
|
|
631
645
|
return (this.el.clientWidth || this.el.parentElement.clientWidth || window.innerWidth);
|
|
632
646
|
};
|
|
633
|
-
/**
|
|
634
|
-
* Finishes batch updates. Updates DOM nodes. You must call it after batchUpdate.
|
|
635
|
-
*/
|
|
636
|
-
GridStack.prototype.commit = function () {
|
|
637
|
-
this.engine.commit();
|
|
638
|
-
this._triggerRemoveEvent();
|
|
639
|
-
this._triggerAddEvent();
|
|
640
|
-
this._triggerChangeEvent();
|
|
641
|
-
return this;
|
|
642
|
-
};
|
|
643
647
|
/** re-layout grid items to reclaim any empty space */
|
|
644
648
|
GridStack.prototype.compact = function () {
|
|
645
649
|
this.engine.compact();
|
|
@@ -896,7 +900,7 @@ var GridStack = /** @class */ (function () {
|
|
|
896
900
|
return;
|
|
897
901
|
// remove our DOM data (circular link) and drag&drop permanently
|
|
898
902
|
delete el.gridstackNode;
|
|
899
|
-
|
|
903
|
+
_this._removeDD(el);
|
|
900
904
|
_this.engine.removeNode(node, removeDOM, triggerEvent);
|
|
901
905
|
if (removeDOM && el.parentElement) {
|
|
902
906
|
el.remove(); // in batch mode engine.removeNode doesn't call back to remove DOM
|
|
@@ -913,11 +917,12 @@ var GridStack = /** @class */ (function () {
|
|
|
913
917
|
* @param removeDOM if `false` DOM elements won't be removed from the tree (Default? `true`).
|
|
914
918
|
*/
|
|
915
919
|
GridStack.prototype.removeAll = function (removeDOM) {
|
|
920
|
+
var _this = this;
|
|
916
921
|
if (removeDOM === void 0) { removeDOM = true; }
|
|
917
922
|
// always remove our DOM data (circular link) before list gets emptied and drag&drop permanently
|
|
918
923
|
this.engine.nodes.forEach(function (n) {
|
|
919
924
|
delete n.el.gridstackNode;
|
|
920
|
-
|
|
925
|
+
_this._removeDD(n.el);
|
|
921
926
|
});
|
|
922
927
|
this.engine.removeAll(removeDOM);
|
|
923
928
|
this._triggerRemoveEvent();
|
|
@@ -1455,7 +1460,7 @@ var GridStack = /** @class */ (function () {
|
|
|
1455
1460
|
return this;
|
|
1456
1461
|
};
|
|
1457
1462
|
/*
|
|
1458
|
-
* drag&drop empty stubs that will be implemented in gridstack
|
|
1463
|
+
* drag&drop empty stubs that will be implemented in dd-gridstack.ts for non static grid
|
|
1459
1464
|
* so we don't incur the load unless needed.
|
|
1460
1465
|
* NOTE: had to make those methods public in order to define them else as
|
|
1461
1466
|
* GridStack.prototype._setupAcceptWidget = function()
|
|
@@ -1467,7 +1472,7 @@ var GridStack = /** @class */ (function () {
|
|
|
1467
1472
|
* Called during GridStack.init() as options, but can also be called directly (last param are cached) in case the toolbar
|
|
1468
1473
|
* is dynamically create and needs to change later.
|
|
1469
1474
|
* @param dragIn string selector (ex: '.sidebar .grid-stack-item')
|
|
1470
|
-
* @param dragInOptions options - see DDDragInOpt. (default: {
|
|
1475
|
+
* @param dragInOptions options - see DDDragInOpt. (default: {handle: '.grid-stack-item-content', appendTo: 'body'}
|
|
1471
1476
|
**/
|
|
1472
1477
|
GridStack.setupDragIn = function (dragIn, dragInOptions) { };
|
|
1473
1478
|
/**
|
|
@@ -1510,6 +1515,8 @@ var GridStack = /** @class */ (function () {
|
|
|
1510
1515
|
* Enables/disables widget resizing. No-op for static grids.
|
|
1511
1516
|
*/
|
|
1512
1517
|
GridStack.prototype.enableResize = function (doEnable) { return this; };
|
|
1518
|
+
/** @internal removes any drag&drop present (called during destroy) */
|
|
1519
|
+
GridStack.prototype._removeDD = function (el) { return this; };
|
|
1513
1520
|
/** @internal called to add drag over support to support widgets */
|
|
1514
1521
|
GridStack.prototype._setupAcceptWidget = function () { return this; };
|
|
1515
1522
|
/** @internal called to setup a trash drop zone if the user specifies it */
|
|
@@ -1522,11 +1529,16 @@ var GridStack = /** @class */ (function () {
|
|
|
1522
1529
|
GridStack.prototype._dragOrResize = function (el, event, ui, node, cellWidth, cellHeight) { return; };
|
|
1523
1530
|
/** @internal called when a node leaves our area (mouse out or shape outside) **/
|
|
1524
1531
|
GridStack.prototype._leave = function (el, helper) { return; };
|
|
1532
|
+
// legacy method removed
|
|
1533
|
+
GridStack.prototype.commit = function () { utils_1.obsolete(this, this.batchUpdate(false), 'commit', 'batchUpdate', '5.2'); return this; };
|
|
1525
1534
|
/** scoping so users can call GridStack.Utils.sort() for example */
|
|
1526
1535
|
GridStack.Utils = utils_1.Utils;
|
|
1527
1536
|
/** scoping so users can call new GridStack.Engine(12) for example */
|
|
1528
1537
|
GridStack.Engine = gridstack_engine_1.GridStackEngine;
|
|
1538
|
+
GridStack.GDRev = '6.0.0';
|
|
1529
1539
|
return GridStack;
|
|
1530
1540
|
}());
|
|
1531
1541
|
exports.GridStack = GridStack;
|
|
1542
|
+
var dd_touch_1 = require("./dd-touch");
|
|
1543
|
+
__exportStar(require("./dd-gridstack"), exports);
|
|
1532
1544
|
//# sourceMappingURL=gridstack.js.map
|