@hpcc-js/layout 2.49.11 → 2.49.12

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/dist/index.es6.js CHANGED
@@ -3,114 +3,119 @@ import { Table } from '@hpcc-js/dgrid2';
3
3
  import { instanceOfIHighlight } from '@hpcc-js/api';
4
4
 
5
5
  function _mergeNamespaces(n, m) {
6
- m.forEach(function (e) {
7
- e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
8
- if (k !== 'default' && !(k in n)) {
9
- var d = Object.getOwnPropertyDescriptor(e, k);
10
- Object.defineProperty(n, k, d.get ? d : {
11
- enumerable: true,
12
- get: function () { return e[k]; }
13
- });
14
- }
6
+ m.forEach(function (e) {
7
+ e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
8
+ if (k !== 'default' && !(k in n)) {
9
+ var d = Object.getOwnPropertyDescriptor(e, k);
10
+ Object.defineProperty(n, k, d.get ? d : {
11
+ enumerable: true,
12
+ get: function () { return e[k]; }
15
13
  });
14
+ }
16
15
  });
17
- return Object.freeze(n);
16
+ });
17
+ return Object.freeze(n);
18
18
  }
19
19
 
20
20
  var PKG_NAME = "@hpcc-js/layout";
21
- var PKG_VERSION = "2.49.11";
22
- var BUILD_VERSION = "2.104.28";
23
-
24
- /******************************************************************************
25
- Copyright (c) Microsoft Corporation.
26
-
27
- Permission to use, copy, modify, and/or distribute this software for any
28
- purpose with or without fee is hereby granted.
29
-
30
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
31
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
32
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
33
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
34
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
35
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
36
- PERFORMANCE OF THIS SOFTWARE.
37
- ***************************************************************************** */
38
- /* global Reflect, Promise */
39
-
40
- var extendStatics = function(d, b) {
41
- extendStatics = Object.setPrototypeOf ||
42
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
43
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
44
- return extendStatics(d, b);
45
- };
46
-
47
- function __extends(d, b) {
48
- if (typeof b !== "function" && b !== null)
49
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
50
- extendStatics(d, b);
51
- function __() { this.constructor = d; }
52
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
53
- }
54
-
55
- var __assign = function() {
56
- __assign = Object.assign || function __assign(t) {
57
- for (var s, i = 1, n = arguments.length; i < n; i++) {
58
- s = arguments[i];
59
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
60
- }
61
- return t;
62
- };
63
- return __assign.apply(this, arguments);
64
- };
65
-
66
- function __awaiter(thisArg, _arguments, P, generator) {
67
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
68
- return new (P || (P = Promise))(function (resolve, reject) {
69
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
70
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
71
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
72
- step((generator = generator.apply(thisArg, _arguments || [])).next());
73
- });
74
- }
75
-
76
- function __generator(thisArg, body) {
77
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
78
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
79
- function verb(n) { return function (v) { return step([n, v]); }; }
80
- function step(op) {
81
- if (f) throw new TypeError("Generator is already executing.");
82
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
83
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
84
- if (y = 0, t) op = [op[0] & 2, t.value];
85
- switch (op[0]) {
86
- case 0: case 1: t = op; break;
87
- case 4: _.label++; return { value: op[1], done: false };
88
- case 5: _.label++; y = op[1]; op = [0]; continue;
89
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
90
- default:
91
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
92
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
93
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
94
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
95
- if (t[2]) _.ops.pop();
96
- _.trys.pop(); continue;
97
- }
98
- op = body.call(thisArg, _);
99
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
100
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
101
- }
102
- }
103
-
104
- function __spreadArray(to, from, pack) {
105
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
106
- if (ar || !(i in from)) {
107
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
108
- ar[i] = from[i];
109
- }
110
- }
111
- return to.concat(ar || Array.prototype.slice.call(from));
21
+ var PKG_VERSION = "2.49.12";
22
+ var BUILD_VERSION = "2.104.30";
23
+
24
+ /******************************************************************************
25
+ Copyright (c) Microsoft Corporation.
26
+
27
+ Permission to use, copy, modify, and/or distribute this software for any
28
+ purpose with or without fee is hereby granted.
29
+
30
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
31
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
32
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
33
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
34
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
35
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
36
+ PERFORMANCE OF THIS SOFTWARE.
37
+ ***************************************************************************** */
38
+ /* global Reflect, Promise, SuppressedError, Symbol */
39
+
40
+ var extendStatics = function(d, b) {
41
+ extendStatics = Object.setPrototypeOf ||
42
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
43
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
44
+ return extendStatics(d, b);
45
+ };
46
+
47
+ function __extends(d, b) {
48
+ if (typeof b !== "function" && b !== null)
49
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
50
+ extendStatics(d, b);
51
+ function __() { this.constructor = d; }
52
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
112
53
  }
113
54
 
55
+ var __assign = function() {
56
+ __assign = Object.assign || function __assign(t) {
57
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
58
+ s = arguments[i];
59
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
60
+ }
61
+ return t;
62
+ };
63
+ return __assign.apply(this, arguments);
64
+ };
65
+
66
+ function __awaiter(thisArg, _arguments, P, generator) {
67
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
68
+ return new (P || (P = Promise))(function (resolve, reject) {
69
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
70
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
71
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
72
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
73
+ });
74
+ }
75
+
76
+ function __generator(thisArg, body) {
77
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
78
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
79
+ function verb(n) { return function (v) { return step([n, v]); }; }
80
+ function step(op) {
81
+ if (f) throw new TypeError("Generator is already executing.");
82
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
83
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
84
+ if (y = 0, t) op = [op[0] & 2, t.value];
85
+ switch (op[0]) {
86
+ case 0: case 1: t = op; break;
87
+ case 4: _.label++; return { value: op[1], done: false };
88
+ case 5: _.label++; y = op[1]; op = [0]; continue;
89
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
90
+ default:
91
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
92
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
93
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
94
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
95
+ if (t[2]) _.ops.pop();
96
+ _.trys.pop(); continue;
97
+ }
98
+ op = body.call(thisArg, _);
99
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
100
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
101
+ }
102
+ }
103
+
104
+ function __spreadArray(to, from, pack) {
105
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
106
+ if (ar || !(i in from)) {
107
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
108
+ ar[i] = from[i];
109
+ }
110
+ }
111
+ return to.concat(ar || Array.prototype.slice.call(from));
112
+ }
113
+
114
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
115
+ var e = new Error(message);
116
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
117
+ };
118
+
114
119
  function styleInject(css, ref) {
115
120
  if ( ref === void 0 ) ref = {};
116
121
  var insertAt = ref.insertAt;
@@ -4188,8 +4193,8 @@ return GridList;
4188
4193
  var gridList = gridList$1.exports;
4189
4194
 
4190
4195
  var _GridList = /*#__PURE__*/_mergeNamespaces({
4191
- __proto__: null,
4192
- 'default': gridList
4196
+ __proto__: null,
4197
+ 'default': gridList
4193
4198
  }, [gridList$1.exports]);
4194
4199
 
4195
4200
  var css_248z$3 = ".layout_Grid>.ddCell{position:absolute}.layout_Grid>.laneBackground{background:#f5f5f5;border-style:solid;border-width:1px;position:absolute}.layout_Grid>.lane{border-radius:0;border-style:none;opacity:.25;pointer-events:none;position:absolute}.layout_Grid>.ddCell.draggable{background-color:#f8f8ff;border-radius:0;border-style:solid;border-width:1px;cursor:move}.layout_Grid>.ddCell.draggable>.resizeHandle{border-style:none;bottom:0;cursor:nwse-resize;height:8px;position:absolute;right:0;width:8px}.layout_Grid>.ddCell.draggable .resizeHandleDisplay{background-color:none;border-color:#a9a9a9;border-style:solid;border-width:0 2px 2px 0;bottom:2px;height:4px;position:absolute;right:2px;width:4px}.layout_Grid>.ddCell.draggable .resizeHandleDisplay:hover{border-color:orange}.layout_Grid>.dragging{background:repeating-linear-gradient(-45deg,transparent,transparent 4px,hsla(0,0%,39%,.1) 0,hsla(0,0%,39%,.1) 8px)}.layout_Grid>.dragging,.layout_Grid>.resizing{border:1px solid gray;border-radius:0;position:absolute}.layout_Grid>.resizing{background-color:orange;background:repeating-linear-gradient(-45deg,transparent,transparent 4px,orange 0,orange 8px);opacity:.3}.layout_Grid>.ddCell.draggable .common_Widget.selected{background-color:gray;background:repeating-linear-gradient(-45deg,transparent,transparent 4px,rgba(100,0,0,.1) 0,rgba(100,0,0,.1) 8px);border:1px solid red;border-radius:0;position:absolute}.layout_Grid #drag-me:before{content:\"#\" attr(id);font-weight:700}";