@hpcc-js/other 2.13.75 → 2.13.79
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 +108 -116
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +111 -119
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +22 -21
- package/src/__package__.ts +2 -2
- package/types/__package__.d.ts +2 -2
- package/types/__package__.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.es6.js
CHANGED
|
@@ -1,24 +1,9 @@
|
|
|
1
1
|
import { HTMLWidget, timeParse, format, select, map, extent, range, Utility, Palette, CanvasWidget, SVGWidget, Entity, d3Event, Widget, Platform, selectAll, PropertyExt, local } from '@hpcc-js/common';
|
|
2
2
|
import { VerticalList, HorizontalList, Grid } from '@hpcc-js/layout';
|
|
3
3
|
|
|
4
|
-
function _mergeNamespaces(n, m) {
|
|
5
|
-
m.forEach(function (e) {
|
|
6
|
-
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
|
|
7
|
-
if (k !== 'default' && !(k in n)) {
|
|
8
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
9
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () { return e[k]; }
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
});
|
|
16
|
-
return Object.freeze(n);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
4
|
var PKG_NAME = "@hpcc-js/other";
|
|
20
|
-
var PKG_VERSION = "2.13.
|
|
21
|
-
var BUILD_VERSION = "2.
|
|
5
|
+
var PKG_VERSION = "2.13.79";
|
|
6
|
+
var BUILD_VERSION = "2.101.0";
|
|
22
7
|
|
|
23
8
|
/*! *****************************************************************************
|
|
24
9
|
Copyright (c) Microsoft Corporation.
|
|
@@ -232,8 +217,21 @@ var Audio = /** @class */ (function (_super) {
|
|
|
232
217
|
Audio.prototype._class += " other_Audio";
|
|
233
218
|
Audio.prototype.publish("source", "", "string", "Audio Source");
|
|
234
219
|
|
|
235
|
-
|
|
220
|
+
function createCommonjsModule(fn, basedir, module) {
|
|
221
|
+
return module = {
|
|
222
|
+
path: basedir,
|
|
223
|
+
exports: {},
|
|
224
|
+
require: function (path, base) {
|
|
225
|
+
return commonjsRequire(path, (base === undefined || base === null) ? module.path : base);
|
|
226
|
+
}
|
|
227
|
+
}, fn(module, module.exports), module.exports;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
function commonjsRequire () {
|
|
231
|
+
throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
|
|
232
|
+
}
|
|
236
233
|
|
|
234
|
+
var autoComplete_1 = createCommonjsModule(function (module) {
|
|
237
235
|
/*
|
|
238
236
|
JavaScript autoComplete v1.0.4
|
|
239
237
|
Copyright (c) 2014 Simon Steinberger / Pixabay
|
|
@@ -241,7 +239,6 @@ var autoComplete = {exports: {}};
|
|
|
241
239
|
License: http://www.opensource.org/licenses/mit-license.php
|
|
242
240
|
*/
|
|
243
241
|
|
|
244
|
-
(function (module) {
|
|
245
242
|
var autoComplete = (function(){
|
|
246
243
|
// "use strict";
|
|
247
244
|
function autoComplete(options){
|
|
@@ -473,19 +470,17 @@ var autoComplete = (function(){
|
|
|
473
470
|
})();
|
|
474
471
|
|
|
475
472
|
(function(){
|
|
476
|
-
if (module.exports)
|
|
473
|
+
if ( module.exports)
|
|
477
474
|
module.exports = autoComplete;
|
|
478
475
|
else
|
|
479
476
|
window.autoComplete = autoComplete;
|
|
480
477
|
})();
|
|
481
|
-
}
|
|
478
|
+
});
|
|
482
479
|
|
|
483
|
-
var
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
'default': autoComplete_1
|
|
488
|
-
}, [autoComplete.exports]));
|
|
480
|
+
var AutoComplete = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.assign(/*#__PURE__*/Object.create(null), autoComplete_1, {
|
|
481
|
+
'default': autoComplete_1,
|
|
482
|
+
__moduleExports: autoComplete_1
|
|
483
|
+
}));
|
|
489
484
|
|
|
490
485
|
function styleInject(css, ref) {
|
|
491
486
|
if ( ref === void 0 ) ref = {};
|
|
@@ -514,8 +509,8 @@ function styleInject(css, ref) {
|
|
|
514
509
|
}
|
|
515
510
|
}
|
|
516
511
|
|
|
517
|
-
var css_248z
|
|
518
|
-
styleInject(css_248z
|
|
512
|
+
var css_248z = ".other_autoCompleteText label{display:inline-block;vertical-align:top}.other_autoCompleteText input{width:100%;max-width:600px;outline:0;border-radius:100}.autocomplete-suggestions{text-align:left;cursor:default;border:1px solid #ccc;border-top:0;background:#fff;box-shadow:-1px 1px 3px rgba(0,0,0,.1);position:absolute;display:none;z-index:9999;max-height:254px;overflow:hidden;overflow-y:auto;box-sizing:border-box}.autocomplete-suggestion{position:relative;padding:0 .6em;line-height:23px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:1.02em;color:#333}.autocomplete-suggestion b{font-weight:400;color:#1f8dd6}.autocomplete-suggestion.selected{background:#f0f0f0}";
|
|
513
|
+
styleInject(css_248z);
|
|
519
514
|
|
|
520
515
|
var AutoCompleteText = /** @class */ (function (_super) {
|
|
521
516
|
__extends(AutoCompleteText, _super);
|
|
@@ -710,12 +705,12 @@ function weekday(i) {
|
|
|
710
705
|
}
|
|
711
706
|
|
|
712
707
|
var sunday = weekday(0);
|
|
713
|
-
weekday(1);
|
|
714
|
-
weekday(2);
|
|
715
|
-
weekday(3);
|
|
716
|
-
weekday(4);
|
|
717
|
-
weekday(5);
|
|
718
|
-
weekday(6);
|
|
708
|
+
var monday = weekday(1);
|
|
709
|
+
var tuesday = weekday(2);
|
|
710
|
+
var wednesday = weekday(3);
|
|
711
|
+
var thursday = weekday(4);
|
|
712
|
+
var friday = weekday(5);
|
|
713
|
+
var saturday = weekday(6);
|
|
719
714
|
|
|
720
715
|
var month = newInterval(function(date) {
|
|
721
716
|
date.setDate(1);
|
|
@@ -751,10 +746,8 @@ year.every = function(k) {
|
|
|
751
746
|
});
|
|
752
747
|
};
|
|
753
748
|
|
|
754
|
-
var
|
|
755
|
-
|
|
756
|
-
var css_248z$b = ".other_CalendarHeatMap{shape-rendering:crispEdges}.other_CalendarHeatMap .day{fill:#fff;stroke:#ccc}.other_CalendarHeatMap .day.selected{stroke:red}.other_CalendarHeatMap .day.over{stroke:orange}.other_CalendarHeatMap .day.selected.over{stroke:red}.other_CalendarHeatMap .month{fill:none;stroke:#000;stroke-width:2px}";
|
|
757
|
-
styleInject(css_248z$b);
|
|
749
|
+
var css_248z$1 = ".other_CalendarHeatMap{shape-rendering:crispEdges}.other_CalendarHeatMap .day{fill:#fff;stroke:#ccc}.other_CalendarHeatMap .day.selected{stroke:red}.other_CalendarHeatMap .day.over{stroke:orange}.other_CalendarHeatMap .day.selected.over{stroke:red}.other_CalendarHeatMap .month{fill:none;stroke:#000;stroke-width:2px}";
|
|
750
|
+
styleInject(css_248z$1);
|
|
758
751
|
|
|
759
752
|
var CalendarHeatMap = /** @class */ (function (_super) {
|
|
760
753
|
__extends(CalendarHeatMap, _super);
|
|
@@ -865,7 +858,7 @@ var CalendarHeatMap = /** @class */ (function (_super) {
|
|
|
865
858
|
dayRectElement.append("title");
|
|
866
859
|
})
|
|
867
860
|
.merge(dayRect)
|
|
868
|
-
.attr("x", function (d) { return sunday.count(
|
|
861
|
+
.attr("x", function (d) { return sunday.count(year(d), d) * cellSize; })
|
|
869
862
|
.attr("y", function (d) { return d.getDay() * cellSize; })
|
|
870
863
|
.attr("width", cellSize)
|
|
871
864
|
.attr("height", cellSize)
|
|
@@ -899,9 +892,9 @@ var CalendarHeatMap = /** @class */ (function (_super) {
|
|
|
899
892
|
function calcMonthPath(t0) {
|
|
900
893
|
var t1 = new Date(t0.getFullYear(), t0.getMonth() + 1, 0);
|
|
901
894
|
var d0 = t0.getDay();
|
|
902
|
-
var w0 = sunday.count(
|
|
895
|
+
var w0 = sunday.count(year(t0), t0);
|
|
903
896
|
var d1 = t1.getDay();
|
|
904
|
-
var w1 = sunday.count(
|
|
897
|
+
var w1 = sunday.count(year(t1), t1);
|
|
905
898
|
return "M" + (w0 + 1) * cellSize + "," + d0 * cellSize +
|
|
906
899
|
"H" + w0 * cellSize + "V" + 7 * cellSize +
|
|
907
900
|
"H" + w1 * cellSize + "V" + (d1 + 1) * cellSize +
|
|
@@ -1115,7 +1108,7 @@ ESPMappings.prototype.mapResponse = function (response) {
|
|
|
1115
1108
|
this.mapResult(response, key);
|
|
1116
1109
|
}
|
|
1117
1110
|
};
|
|
1118
|
-
var serialize
|
|
1111
|
+
var serialize = function (obj) {
|
|
1119
1112
|
var str = [];
|
|
1120
1113
|
for (var key in obj) {
|
|
1121
1114
|
if (obj.hasOwnProperty(key)) {
|
|
@@ -1138,7 +1131,7 @@ var jsonp = function (url, request, timeout) {
|
|
|
1138
1131
|
resolve(response);
|
|
1139
1132
|
};
|
|
1140
1133
|
var script = document.createElement("script");
|
|
1141
|
-
script.src = url + (url.indexOf("?") >= 0 ? "&" : "?") + "jsonp=" + callbackName + "&" + serialize
|
|
1134
|
+
script.src = url + (url.indexOf("?") >= 0 ? "&" : "?") + "jsonp=" + callbackName + "&" + serialize(request);
|
|
1142
1135
|
document.body.appendChild(script);
|
|
1143
1136
|
var progress = setInterval(function () {
|
|
1144
1137
|
if (respondedTimeout <= 0) {
|
|
@@ -1207,7 +1200,7 @@ var Comms = /** @class */ (function (_super) {
|
|
|
1207
1200
|
return new Promise(function (resolve, reject) {
|
|
1208
1201
|
var uri = url;
|
|
1209
1202
|
if (method === "GET" && request) {
|
|
1210
|
-
uri += "?" + serialize
|
|
1203
|
+
uri += "?" + serialize(request);
|
|
1211
1204
|
}
|
|
1212
1205
|
var xhr = new XMLHttpRequest();
|
|
1213
1206
|
xhr.onload = function (e) {
|
|
@@ -1228,7 +1221,7 @@ var Comms = /** @class */ (function (_super) {
|
|
|
1228
1221
|
}
|
|
1229
1222
|
else {
|
|
1230
1223
|
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
|
|
1231
|
-
xhr.send(serialize
|
|
1224
|
+
xhr.send(serialize(request));
|
|
1232
1225
|
}
|
|
1233
1226
|
});
|
|
1234
1227
|
};
|
|
@@ -1270,7 +1263,7 @@ var Basic = /** @class */ (function (_super) {
|
|
|
1270
1263
|
return this;
|
|
1271
1264
|
};
|
|
1272
1265
|
Basic.prototype.call = function (request, callback) {
|
|
1273
|
-
var url = this._url + (this._url.indexOf("?") >= 0 ? "&" : "?") + serialize
|
|
1266
|
+
var url = this._url + (this._url.indexOf("?") >= 0 ? "&" : "?") + serialize(request);
|
|
1274
1267
|
if (this._cacheCalls) {
|
|
1275
1268
|
var context_1 = this;
|
|
1276
1269
|
return new Promise(function (resolve, reject) {
|
|
@@ -1307,7 +1300,7 @@ var Basic = /** @class */ (function (_super) {
|
|
|
1307
1300
|
};
|
|
1308
1301
|
return Basic;
|
|
1309
1302
|
}(Comms));
|
|
1310
|
-
function locateRoxieResponse
|
|
1303
|
+
function locateRoxieResponse(response) {
|
|
1311
1304
|
// v5 and v6 compatible ---
|
|
1312
1305
|
for (var key in response) {
|
|
1313
1306
|
if (response[key].Row && response[key].Row instanceof Array) {
|
|
@@ -1315,7 +1308,7 @@ function locateRoxieResponse$1(response) {
|
|
|
1315
1308
|
}
|
|
1316
1309
|
var retVal = void 0;
|
|
1317
1310
|
if (typeof (response[key]) !== "string") {
|
|
1318
|
-
retVal = locateRoxieResponse
|
|
1311
|
+
retVal = locateRoxieResponse(response[key]);
|
|
1319
1312
|
}
|
|
1320
1313
|
if (retVal) {
|
|
1321
1314
|
return retVal;
|
|
@@ -1401,7 +1394,7 @@ var WsECL = /** @class */ (function (_super) {
|
|
|
1401
1394
|
pathname: "WsEcl/submit/query/" + target.target + "/" + target.query + "/json"
|
|
1402
1395
|
});
|
|
1403
1396
|
return this.jsonp(url, request).then(function (response) {
|
|
1404
|
-
var _response = locateRoxieResponse
|
|
1397
|
+
var _response = locateRoxieResponse(response);
|
|
1405
1398
|
if (!_response) {
|
|
1406
1399
|
_response = locateRoxieException(response);
|
|
1407
1400
|
}
|
|
@@ -1434,7 +1427,7 @@ var WsECL = /** @class */ (function (_super) {
|
|
|
1434
1427
|
};
|
|
1435
1428
|
return WsECL;
|
|
1436
1429
|
}(Comms));
|
|
1437
|
-
var WsWorkunits
|
|
1430
|
+
var WsWorkunits = /** @class */ (function (_super) {
|
|
1438
1431
|
__extends(WsWorkunits, _super);
|
|
1439
1432
|
function WsWorkunits() {
|
|
1440
1433
|
var _this = _super.call(this) || this;
|
|
@@ -1747,7 +1740,7 @@ HIPIERoxie.prototype.fetchResults = function (request, callback) {
|
|
|
1747
1740
|
this._resultNameCacheCount = 0;
|
|
1748
1741
|
var context = this;
|
|
1749
1742
|
return this.jsonp(url, request).then(function (response) {
|
|
1750
|
-
var _response = locateRoxieResponse
|
|
1743
|
+
var _response = locateRoxieResponse(response);
|
|
1751
1744
|
if (!_response) {
|
|
1752
1745
|
_response = locateRoxieException(response);
|
|
1753
1746
|
}
|
|
@@ -1798,12 +1791,12 @@ HIPIERoxie.prototype.call = function (request, callback) {
|
|
|
1798
1791
|
};
|
|
1799
1792
|
// HIPIEWorkunit ---
|
|
1800
1793
|
function HIPIEWorkunit() {
|
|
1801
|
-
WsWorkunits
|
|
1794
|
+
WsWorkunits.call(this);
|
|
1802
1795
|
}
|
|
1803
|
-
HIPIEWorkunit.prototype = Object.create(WsWorkunits
|
|
1796
|
+
HIPIEWorkunit.prototype = Object.create(WsWorkunits.prototype);
|
|
1804
1797
|
HIPIEWorkunit.prototype.fetchResults = function (callback) {
|
|
1805
1798
|
var context = this;
|
|
1806
|
-
return WsWorkunits
|
|
1799
|
+
return WsWorkunits.prototype.fetchResultNames.call(this).then(function (response) {
|
|
1807
1800
|
var fetchArray = [];
|
|
1808
1801
|
for (var key in context._hipieResults) {
|
|
1809
1802
|
var item = context._hipieResults[key];
|
|
@@ -1819,7 +1812,7 @@ HIPIEWorkunit.prototype.fetchResults = function (callback) {
|
|
|
1819
1812
|
});
|
|
1820
1813
|
};
|
|
1821
1814
|
HIPIEWorkunit.prototype.fetchResult = function (name, callback) {
|
|
1822
|
-
return WsWorkunits
|
|
1815
|
+
return WsWorkunits.prototype.fetchResult.call(this, { wuid: this._wuid, resultname: name }).then(function (response) {
|
|
1823
1816
|
if (callback) {
|
|
1824
1817
|
console.log("Deprecated: callback, use promise (HIPIEWorkunit.prototype.fetchResult)");
|
|
1825
1818
|
callback(response);
|
|
@@ -1916,7 +1909,7 @@ function createESPConnection(url) {
|
|
|
1916
1909
|
.url(url);
|
|
1917
1910
|
}
|
|
1918
1911
|
if (testURL.isWsWorkunits()) {
|
|
1919
|
-
return new WsWorkunits
|
|
1912
|
+
return new WsWorkunits()
|
|
1920
1913
|
.url(url);
|
|
1921
1914
|
}
|
|
1922
1915
|
if (testURL.isWsEcl()) {
|
|
@@ -1936,7 +1929,7 @@ var Comms$1 = /*#__PURE__*/Object.freeze({
|
|
|
1936
1929
|
Comms: Comms,
|
|
1937
1930
|
Basic: Basic,
|
|
1938
1931
|
WsECL: WsECL,
|
|
1939
|
-
WsWorkunits: WsWorkunits
|
|
1932
|
+
WsWorkunits: WsWorkunits,
|
|
1940
1933
|
createESPConnection: createESPConnection,
|
|
1941
1934
|
hookJsonp: hookJsonp,
|
|
1942
1935
|
HIPIEWorkunit: HIPIEWorkunit,
|
|
@@ -1978,12 +1971,12 @@ BasicComms.prototype.jsonp = function (url, request) {
|
|
|
1978
1971
|
});
|
|
1979
1972
|
};
|
|
1980
1973
|
// WsWorkunits ---
|
|
1981
|
-
function WsWorkunits(baseUrl) {
|
|
1974
|
+
function WsWorkunits$1(baseUrl) {
|
|
1982
1975
|
BasicComms.call(this);
|
|
1983
1976
|
this.url(baseUrl + "WsWorkunits/");
|
|
1984
1977
|
}
|
|
1985
|
-
WsWorkunits.prototype = Object.create(BasicComms.prototype);
|
|
1986
|
-
WsWorkunits.prototype.wuQuery = function (options) {
|
|
1978
|
+
WsWorkunits$1.prototype = Object.create(BasicComms.prototype);
|
|
1979
|
+
WsWorkunits$1.prototype.wuQuery = function (options) {
|
|
1987
1980
|
var url = this.getUrl({
|
|
1988
1981
|
pathname: "WsWorkunits/WUQuery.json"
|
|
1989
1982
|
});
|
|
@@ -2259,13 +2252,13 @@ function postFilter(results, filter) {
|
|
|
2259
2252
|
return true;
|
|
2260
2253
|
});
|
|
2261
2254
|
}
|
|
2262
|
-
function locateRoxieResponse(response) {
|
|
2255
|
+
function locateRoxieResponse$1(response) {
|
|
2263
2256
|
// v5 and v6 compatible ---
|
|
2264
2257
|
for (var key in response) {
|
|
2265
2258
|
if (response[key].Row && response[key].Row instanceof Array) {
|
|
2266
2259
|
return response;
|
|
2267
2260
|
}
|
|
2268
|
-
var retVal = locateRoxieResponse(response[key]);
|
|
2261
|
+
var retVal = locateRoxieResponse$1(response[key]);
|
|
2269
2262
|
if (retVal) {
|
|
2270
2263
|
return retVal;
|
|
2271
2264
|
}
|
|
@@ -2284,7 +2277,7 @@ RoxieQuery.prototype.query = function (options, filter) {
|
|
|
2284
2277
|
}
|
|
2285
2278
|
var context = this;
|
|
2286
2279
|
return this.jsonp(this.url(), request).then(function (response) {
|
|
2287
|
-
response = locateRoxieResponse(response);
|
|
2280
|
+
response = locateRoxieResponse$1(response);
|
|
2288
2281
|
if (response) {
|
|
2289
2282
|
if (context._resultName) {
|
|
2290
2283
|
if (response && response[context._resultName] && response[context._resultName].Row) {
|
|
@@ -2335,7 +2328,7 @@ function createConnection(url) {
|
|
|
2335
2328
|
.url(url);
|
|
2336
2329
|
if (testURL.isWsWorkunits()) {
|
|
2337
2330
|
var espConnection = createESPConnection(url);
|
|
2338
|
-
if (espConnection instanceof WsWorkunits
|
|
2331
|
+
if (espConnection instanceof WsWorkunits && espConnection.wuid()) {
|
|
2339
2332
|
return new Workunit(espConnection.getUrl({ pathname: "" }), espConnection.wuid())
|
|
2340
2333
|
.url(url);
|
|
2341
2334
|
}
|
|
@@ -2374,9 +2367,7 @@ function flattenResult(result, mappings) {
|
|
|
2374
2367
|
return retVal;
|
|
2375
2368
|
}
|
|
2376
2369
|
|
|
2377
|
-
var
|
|
2378
|
-
|
|
2379
|
-
(function (module) {
|
|
2370
|
+
var simpleheat_1 = createCommonjsModule(function (module) {
|
|
2380
2371
|
|
|
2381
2372
|
module.exports = simpleheat;
|
|
2382
2373
|
|
|
@@ -2518,14 +2509,12 @@ simpleheat.prototype = {
|
|
|
2518
2509
|
}
|
|
2519
2510
|
}
|
|
2520
2511
|
};
|
|
2521
|
-
}
|
|
2522
|
-
|
|
2523
|
-
var simpleheat_1 = simpleheat$1.exports;
|
|
2512
|
+
});
|
|
2524
2513
|
|
|
2525
|
-
var _simpleheat = /*#__PURE__*/Object.freeze(/*#__PURE__*/
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
}
|
|
2514
|
+
var _simpleheat = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.assign(/*#__PURE__*/Object.create(null), simpleheat_1, {
|
|
2515
|
+
'default': simpleheat_1,
|
|
2516
|
+
__moduleExports: simpleheat_1
|
|
2517
|
+
}));
|
|
2529
2518
|
|
|
2530
2519
|
var simpleheat = window.simpleheat || (_simpleheat && simpleheat_1) || _simpleheat;
|
|
2531
2520
|
var HeatMap = /** @class */ (function (_super) {
|
|
@@ -2772,8 +2761,8 @@ var HPCCBadge = /** @class */ (function (_super) {
|
|
|
2772
2761
|
HPCCBadge.prototype._class += " other_HPCCBadge";
|
|
2773
2762
|
HPCCBadge.prototype.publish("animation", "none", "set", "Animation Style", ["none", "accentInOut", "accentIn", "fade_in"]);
|
|
2774
2763
|
|
|
2775
|
-
var css_248z$
|
|
2776
|
-
styleInject(css_248z$
|
|
2764
|
+
var css_248z$2 = ".other_Html{height:100%;width:100%;overflow-x:auto;overflow-y:scroll}";
|
|
2765
|
+
styleInject(css_248z$2);
|
|
2777
2766
|
|
|
2778
2767
|
var Html = /** @class */ (function (_super) {
|
|
2779
2768
|
__extends(Html, _super);
|
|
@@ -2804,8 +2793,8 @@ Html.prototype.publish("html", "", "string", "Html to render", null, { tags: ["B
|
|
|
2804
2793
|
Html.prototype.publish("overflowX", null, "set", "CSS overflow-x", ["", "visible", "hidden", "scroll", "auto", "initial", "inherit"], { tags: ["Basic"], optional: true });
|
|
2805
2794
|
Html.prototype.publish("overflowY", null, "set", "CSS overflow-y", ["", "visible", "hidden", "scroll", "auto", "initial", "inherit"], { tags: ["Basic"], optional: true });
|
|
2806
2795
|
|
|
2807
|
-
var css_248z$
|
|
2808
|
-
styleInject(css_248z$
|
|
2796
|
+
var css_248z$3 = ".other_IconList .other_Html{overflow-x:hidden;overflow-y:hidden}";
|
|
2797
|
+
styleInject(css_248z$3);
|
|
2809
2798
|
|
|
2810
2799
|
var IconList = /** @class */ (function (_super) {
|
|
2811
2800
|
__extends(IconList, _super);
|
|
@@ -2854,7 +2843,7 @@ var IconList = /** @class */ (function (_super) {
|
|
|
2854
2843
|
IconList.prototype.updateListProperties = function (list, idx) {
|
|
2855
2844
|
return list
|
|
2856
2845
|
.disableScroll(true)
|
|
2857
|
-
.widgetsFlexBasis([this.iconSize() + "px", "calc(100% - "
|
|
2846
|
+
.widgetsFlexBasis([this.iconSize() + "px", "calc(100% - " + this.iconSize() + "px)"]);
|
|
2858
2847
|
};
|
|
2859
2848
|
IconList.prototype.updateEntityProperties = function (entity, idx) {
|
|
2860
2849
|
return entity
|
|
@@ -2871,8 +2860,8 @@ IconList.prototype.publish("iconColumnIndex", 0, "number", "Index of column cont
|
|
|
2871
2860
|
IconList.prototype.publish("iconColorColumnIndex", 1, "number", "Index of column containing icon color");
|
|
2872
2861
|
IconList.prototype.publish("htmlColumnIndex", 2, "number", "Index of column containing html string");
|
|
2873
2862
|
|
|
2874
|
-
var css_248z$
|
|
2875
|
-
styleInject(css_248z$
|
|
2863
|
+
var css_248z$4 = ".other_Paginator{display:block;position:absolute;white-space:nowrap}.other_Paginator .pagination{display:inline-block;white-space:nowrap;margin:0;padding:0}.other_Paginator .pagination>li{display:inline}.other_Paginator input[type=number].currentPageNumber{border:1px solid #ddd;outline:0 none;position:relative;width:37px;text-align:center}.other_Paginator div.side{padding-top:5px;padding-left:8px;vertical-align:top}.other_Paginator span.side{position:relative;color:#337ab7}.other_Paginator .pagination>div,.other_Paginator .pagination>li>a,.other_Paginator .pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.other_Paginator .pagination>li:first-child>a,.other_Paginator .pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.other_Paginator .pagination>li:last-child>a,.other_Paginator .pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.other_Paginator .pagination>li>a:focus,.other_Paginator .pagination>li>a:hover,.other_Paginator .pagination>li>span:focus,.other_Paginator .pagination>li>span:hover{color:#23527c;background-color:#eee;border-color:#ddd}.other_Paginator .pagination>.active>a,.other_Paginator .pagination>.active>a:focus,.other_Paginator .pagination>.active>a:hover,.other_Paginator .pagination>.active>span,.other_Paginator .pagination>.active>span:focus,.other_Paginator .pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.other_Paginator .pagination>.disabled>a,.other_Paginator .pagination>.disabled>a:focus,.other_Paginator .pagination>.disabled>a:hover,.other_Paginator .pagination>.disabled>span,.other_Paginator .pagination>.disabled>span:focus,.other_Paginator .pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.other_Paginator .pagination-lg>li>a,.other_Paginator .pagination-lg>li>span{padding:10px 16px;font-size:18px}.other_Paginator .pagination-lg>li:first-child>a,.other_Paginator .pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.other_Paginator .pagination-lg>li:last-child>a,.other_Paginator .pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.other_Paginator .pagination-sm>li>a,.other_Paginator .pagination-sm>li>span{padding:5px 10px;font-size:12px}.other_Paginator .pagination-sm>li:first-child>a,.other_Paginator .pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.other_Paginator .pagination-sm>li:last-child>a,.other_Paginator .pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}";
|
|
2864
|
+
styleInject(css_248z$4);
|
|
2876
2865
|
|
|
2877
2866
|
var Paginator = /** @class */ (function (_super) {
|
|
2878
2867
|
__extends(Paginator, _super);
|
|
@@ -2990,8 +2979,8 @@ Paginator.prototype.publish("adjacentPages", 2, "number", "Number of page indexe
|
|
|
2990
2979
|
Paginator.prototype.publish("bottom", 20, "number", "Pagination bottom offset", null, { tags: ["Private"] });
|
|
2991
2980
|
Paginator.prototype.publish("right", 20, "number", "Pagination right offset", null, { tags: ["Private"] });
|
|
2992
2981
|
|
|
2993
|
-
var css_248z$
|
|
2994
|
-
styleInject(css_248z$
|
|
2982
|
+
var css_248z$5 = ".other_Table{color:#333;border-width:1px;border-color:#999}.other_Table table{border-collapse:collapse;border-spacing:0}.other_Table .tableDiv{position:absolute}.labels-wrapper th,.other_Table th{padding:5px 10px;border:1px solid #a9c6c9;color:#fff;white-space:nowrap;cursor:pointer;box-sizing:border-box}.cols-wrapper tr,.other_Table thead>tr{background-color:#1f77b4}.labels-wrapper .thIcon,.other_Table .thIcon{font-family:FontAwesome;padding-left:8px}.other_Table .tableDiv tbody>tr:nth-child(odd){background-color:#f3faff;color:#000}.other_Table .tableDiv tbody>tr:nth-child(2n){background-color:#fff;color:#000}.other_Table .tableDiv tbody>tr.selected{background-color:#f48a00;color:#fff}.other_Table .rows-wrapper table>tbody>tr{background-color:#bce1fb;color:#000}.other_Table .rows-wrapper .labels-wrapper{width:100%}.other_Table table tbody>tr.selected{background-color:#f48a00;color:#fff}.other_Table .tableDiv tbody>tr.hover,.other_Table .tableDiv tbody>tr:hover,.rows-wrapper table tbody tr.hover{background-color:#bfd7e7;color:#fff}.other_Table .rows-wrapper tbody tr.hover.selected,.other_Table .tableDiv tbody>tr.selected.hover,.other_Table .tableDiv tbody>tr.selected:hover,.other_Table tr.selected.hover,.other_Table tr.selected:hover{background-color:#5ea8db;color:#fff}.other_Table td,.rows-wrapper td{padding:2px 5px;border:1px solid #a9c6c9;white-space:nowrap;box-sizing:border-box;vertical-align:middle}.other_Table tfoot td,.rows-wrapper tfoot td{background-color:#addff3;font-weight:700}";
|
|
2983
|
+
styleInject(css_248z$5);
|
|
2995
2984
|
|
|
2996
2985
|
function replacer(key, value) {
|
|
2997
2986
|
if (value instanceof Widget) {
|
|
@@ -3500,6 +3489,8 @@ var Table = /** @class */ (function (_super) {
|
|
|
3500
3489
|
if (!rowsUpdate.empty())
|
|
3501
3490
|
this.setColumnWidths(rowsUpdate);
|
|
3502
3491
|
var box;
|
|
3492
|
+
var newTableHeight;
|
|
3493
|
+
var maxWidth;
|
|
3503
3494
|
if (this.fixedSize()) {
|
|
3504
3495
|
var node = select(".tableDiv > table").node();
|
|
3505
3496
|
if (node) {
|
|
@@ -3548,11 +3539,12 @@ var Table = /** @class */ (function (_super) {
|
|
|
3548
3539
|
}
|
|
3549
3540
|
this.setOnScrollEvents(this.tableDiv.node(), tableMarginHeight);
|
|
3550
3541
|
function calcWidth() {
|
|
3551
|
-
box.width;
|
|
3552
|
-
context.tbody.property("offsetWidth") + 1;
|
|
3542
|
+
var newTableWidth = box.width;
|
|
3543
|
+
maxWidth = context.tbody.property("offsetWidth") + 1;
|
|
3553
3544
|
}
|
|
3554
3545
|
function calcHeight() {
|
|
3555
|
-
context.tbody.property("offsetHeight") + tableMarginHeight;
|
|
3546
|
+
newTableHeight = context.tbody.property("offsetHeight") + tableMarginHeight;
|
|
3547
|
+
newTableHeight = newTableHeight;
|
|
3556
3548
|
}
|
|
3557
3549
|
this._paginator.render();
|
|
3558
3550
|
setTimeout(function () {
|
|
@@ -3853,7 +3845,7 @@ Table.prototype.publish("minWidgetHeight", 240, "number", "Minimum height of a c
|
|
|
3853
3845
|
Table.prototype.publish("sortByFieldIndex", null, "number", "Index for the field/column to sort the data", null, { tags: ["Basic"], optional: true });
|
|
3854
3846
|
Table.prototype.publish("descending", false, "boolean", "Direction for sorting the data: ascending (true) or descending (false)", null, { tags: ["Basic"], optional: true });
|
|
3855
3847
|
|
|
3856
|
-
var css_248z$6 = ".other_Legend .colorBlock{
|
|
3848
|
+
var css_248z$6 = ".other_Legend .colorBlock{width:10px;height:10px}.other_Legend>table,.other_Legend>table td,.other_Legend>table th{border-collapse:collapse;border-spacing:0}.other_Table.other_Legend table{border-spacing:0}.labels-wrapper th,.other_Table.other_Legend th{padding:2px 5px;background-color:transparent;border:1px solid transparent;color:#333;white-space:nowrap;cursor:default;font-weight:400;text-align:left}.other_Table.other_Legend tr{background-color:transparent;color:#333}.other_Table.other_Legend .tableDiv tbody>tr:nth-child(odd){background-color:unset;color:#000}.other_Table.other_Legend .tableDiv tbody>tr.hover,.other_Table.other_Legend .tableDiv tbody>tr:hover,.rows-wrapper table tbody tr.hover{background-color:#bfd7e7;color:#fff}.other_Table.other_Legend thead>tr:hover{background-color:transparent}.other_Table.other_Legend tbody>tr.hover,.other_Table.other_Legend tbody>tr:hover,.rows-wrapper tbody tr.hover{background-color:#eee}.other_Table.other_Legend td,.rows-wrapper td{border-width:0;padding:2px 5px;white-space:nowrap;box-sizing:border-box}.other_Legend>.tableDiv>table>tbody>tr:hover{cursor:pointer;color:#000;background-color:#ddd}.other_Legend.horiz-legend .tableDiv{width:100%!important;text-align:left}.other_Legend.horiz-legend .tableDiv>table{display:inline-block;width:100%!important;top:0!important;left:0!important}.other_Legend.horiz-legend tbody,.other_Legend.horiz-legend thead,.other_Legend.horiz-legend tr{display:inline-block}.other_Legend.horiz-legend td,.other_Legend.horiz-legend td>div{display:inline-block;white-space:nowrap}.other_Legend.horiz-legend tr{white-space:nowrap}.other_Legend.horiz-legend tbody{display:inline-block;width:100%!important;text-align:center}";
|
|
3857
3849
|
styleInject(css_248z$6);
|
|
3858
3850
|
|
|
3859
3851
|
function _htmlColorBlock(hexColor) {
|
|
@@ -4045,8 +4037,8 @@ Legend.prototype.getBBox = function (refresh, round) {
|
|
|
4045
4037
|
return retVal;
|
|
4046
4038
|
};
|
|
4047
4039
|
|
|
4048
|
-
var css_248z$
|
|
4049
|
-
styleInject(css_248z$
|
|
4040
|
+
var css_248z$7 = ".other_MorphText .enter{fill:green}.other_MorphText .update{fill:#333}.other_MorphText .exit{fill:brown}";
|
|
4041
|
+
styleInject(css_248z$7);
|
|
4050
4042
|
|
|
4051
4043
|
var MorphText = /** @class */ (function (_super) {
|
|
4052
4044
|
__extends(MorphText, _super);
|
|
@@ -4174,8 +4166,8 @@ NestedTable.prototype.data = function (_) {
|
|
|
4174
4166
|
return origData.apply(this, arguments);
|
|
4175
4167
|
};
|
|
4176
4168
|
|
|
4177
|
-
var css_248z$
|
|
4178
|
-
styleInject(css_248z$
|
|
4169
|
+
var css_248z$8 = ".graph_Opportunity{transform:translate(20px,20px)scale(1)!important}.graph_Opportunity .group{stroke-width:1;stroke:#555;fill:#fefefe}.graph_Opportunity .group_headings{font-family:Helvetica,Arial,sans-serif;font-size:14px;font-weight:700;line-height:20px}.graph_Opportunity .node_prev_rect{fill:#fff;stroke-width:2;stroke:#000;stroke-dasharray:3,3;opacity:.6}.graph_Opportunity .node_rev_change{fill:#fff}.graph_Opportunity .node_rev_change_text{font-size:18px;font-family:Arial;color:#000;font-weight:700}.graph_Opportunity .node_date_change{fill:#fff}.graph_Opportunity .node_date_change_text{font-size:18px;font-family:Arial;color:#000;font-weight:700}.graph_Opportunity .node_prev_text{font-size:9px;font-family:Arial;opacity:.6}.graph_Opportunity .node_cur_rect{stroke-width:2;stroke:#000}.graph_Opportunity .node_cur_text{font-size:9px;font-family:Arial;text-decoration:underline}.graph_Opportunity .arrowhead{refX:6}.graph_Opportunity-tooltip.tooltip{position:absolute;text-align:left;width:350px;height:135px;padding:15px 10px 10px;font:14px arial;background:#bdbdbd;border:0;border-radius:8px;pointer-events:none;z-index:1}";
|
|
4170
|
+
styleInject(css_248z$8);
|
|
4179
4171
|
|
|
4180
4172
|
var Column = /** @class */ (function (_super) {
|
|
4181
4173
|
__extends(Column, _super);
|
|
@@ -4753,7 +4745,7 @@ function serializeToObject(widget, filter, includeData, includeState) {
|
|
|
4753
4745
|
}
|
|
4754
4746
|
return retVal;
|
|
4755
4747
|
}
|
|
4756
|
-
function serialize(widget, filter, includeData, includeState) {
|
|
4748
|
+
function serialize$1(widget, filter, includeData, includeState) {
|
|
4757
4749
|
return JSON.stringify(serializeToObject(widget, filter, includeData, includeState));
|
|
4758
4750
|
}
|
|
4759
4751
|
|
|
@@ -4767,11 +4759,11 @@ var Persist = /*#__PURE__*/Object.freeze({
|
|
|
4767
4759
|
removeTheme: removeTheme,
|
|
4768
4760
|
applyTheme: applyTheme,
|
|
4769
4761
|
serializeToObject: serializeToObject,
|
|
4770
|
-
serialize: serialize
|
|
4762
|
+
serialize: serialize$1
|
|
4771
4763
|
});
|
|
4772
4764
|
|
|
4773
|
-
var css_248z$
|
|
4774
|
-
styleInject(css_248z$
|
|
4765
|
+
var css_248z$9 = ".other_PropertyEditor{overflow-y:scroll;height:100%;width:100%}.other_PropertyEditor .other_PropertyEditor{overflow:hidden}.other_PropertyEditor .property-table{width:100%;border:solid #ddd;border-width:0 0 0 1px}.other_PropertyEditor thead>tr>th{background-color:#333}.other_PropertyEditor .other_PropertyEditor th{background-color:#444}.other_PropertyEditor .other_PropertyEditor .other_PropertyEditor th{background-color:#555}.other_PropertyEditor .other_PropertyEditor .other_PropertyEditor .other_PropertyEditor th{background-color:#666}.other_PropertyEditor .other_PropertyEditor .other_PropertyEditor .other_PropertyEditor .other_PropertyEditor th{background-color:#777}.other_PropertyEditor .headerRow{background-color:#eee}.other_PropertyEditor .other_PropertyEditor .headerRow{background-color:#ddd}.other_PropertyEditor .other_PropertyEditor .other_PropertyEditor .headerRow{background-color:#ccc}.other_PropertyEditor .other_PropertyEditor .other_PropertyEditor .other_PropertyEditor .headerRow{background-color:#bbb}.other_PropertyEditor .other_PropertyEditor .other_PropertyEditor .other_PropertyEditor .other_PropertyEditor .headerRow{background-color:#aaa}.other_PropertyEditor .fa{font-size:14px;width:14px}.other_PropertyEditor div.property-table-collapsed{display:none}.other_PropertyEditor .headerRow>.peInput{padding-top:2px}.other_PropertyEditor .headerRow>.peInput>span{font-weight:700;padding-left:2px}.other_PropertyEditor .headerRow>.peInput>i{float:right;padding-top:2px;padding-bottom:2px}.other_PropertyEditor .headerRow>span>i:hover{background-color:#555;cursor:pointer}.other_PropertyEditor .property-table thead>tr>th{text-align:left;background-color:#333;color:#fff;padding-top:2px;padding-left:4px}.other_PropertyEditor .property-table thead>tr>th>i{float:right;padding-top:2px;padding-right:4px;padding-bottom:2px}.other_PropertyEditor .property-table thead>tr>th>i:hover{background-color:#555;cursor:pointer}.other_PropertyEditor .property-table tbody>tr:nth-child(2n){background-color:#f9f9f9}.other_PropertyEditor .property-table tbody>tr:nth-child(odd){background-color:#fff}.other_PropertyEditor .property-table tbody>tr>td{text-align:left;color:#333;padding:0 0 0 2px}.other_PropertyEditor .property-table tbody>tr.disabled>td{color:grey}.other_PropertyEditor .property-table tbody>tr.invalid>td{color:red}.other_PropertyEditor .property-input-cell>div{padding-left:8px}.other_PropertyEditor .property-label{padding-right:4px;box-sizing:border-box;height:20px}.other_PropertyEditor td.property-input-cell{text-align:left;height:20px;padding:1px 0;width:80%}.other_PropertyEditor .property-input-cell>input,.other_PropertyEditor .property-input-cell>textarea{width:100%;box-sizing:border-box}.other_PropertyEditor .property-input-cell>input{height:20px}.other_PropertyEditor .property-input-cell>textarea{height:120px}.other_PropertyEditor .property-input-cell.boolean-cell{width:auto;margin:0;position:relative}.other_PropertyEditor .property-input-cell>input[type=checkbox]{width:auto;margin:0;position:absolute;top:0}.other_PropertyEditor .html-color-cell>input{width:80%}.other_PropertyEditor .html-color-cell>input[type=color]{width:20%;position:relative;top:-1px}";
|
|
4766
|
+
styleInject(css_248z$9);
|
|
4775
4767
|
|
|
4776
4768
|
function hasProperties(type) {
|
|
4777
4769
|
switch (type) {
|
|
@@ -4840,15 +4832,15 @@ var PropertyEditor = /** @class */ (function (_super) {
|
|
|
4840
4832
|
}
|
|
4841
4833
|
return true;
|
|
4842
4834
|
});
|
|
4843
|
-
var table = element.selectAll("table.property-table.table-"
|
|
4835
|
+
var table = element.selectAll("table.property-table.table-" + this.depth()).data(rootWidgets, function (d) {
|
|
4844
4836
|
// We reuse the existing DOM Nodes and this node _might_ have been a regular Input previously ---
|
|
4845
4837
|
if (typeof d.id !== "function") {
|
|
4846
|
-
return "meta-"
|
|
4838
|
+
return "meta-" + d.id;
|
|
4847
4839
|
}
|
|
4848
4840
|
return d.id();
|
|
4849
4841
|
});
|
|
4850
4842
|
table.enter().append("table")
|
|
4851
|
-
.attr("class", "property-table table-"
|
|
4843
|
+
.attr("class", "property-table table-" + this.depth())
|
|
4852
4844
|
.each(function () {
|
|
4853
4845
|
var tableElement = select(this);
|
|
4854
4846
|
// Header ---
|
|
@@ -4914,16 +4906,16 @@ var PropertyEditor = /** @class */ (function (_super) {
|
|
|
4914
4906
|
switch (context.peInputIcon()) {
|
|
4915
4907
|
case "fa-caret-up":
|
|
4916
4908
|
case "fa-caret-right":
|
|
4917
|
-
context.element().selectAll(".table-"
|
|
4909
|
+
context.element().selectAll(".table-" + context.depth() + " > tbody > tr > .headerRow > .peInput > .property-table-collapsed")
|
|
4918
4910
|
.classed("property-table-collapsed", false);
|
|
4919
|
-
context.element().selectAll(".table-"
|
|
4911
|
+
context.element().selectAll(".table-" + context.depth() + " > tbody > tr > .headerRow > .peInput > i")
|
|
4920
4912
|
.classed("fa-minus-square-o", true)
|
|
4921
4913
|
.classed("fa-plus-square-o", false);
|
|
4922
4914
|
break;
|
|
4923
4915
|
case "fa-caret-down":
|
|
4924
|
-
context.element().selectAll(".table-"
|
|
4916
|
+
context.element().selectAll(".table-" + context.depth() + " > tbody > tr > .headerRow > .peInput > div")
|
|
4925
4917
|
.classed("property-table-collapsed", true);
|
|
4926
|
-
context.element().selectAll(".table-"
|
|
4918
|
+
context.element().selectAll(".table-" + context.depth() + " > tbody > tr > .headerRow > .peInput > i")
|
|
4927
4919
|
.classed("fa-minus-square-o", false)
|
|
4928
4920
|
.classed("fa-plus-square-o", true);
|
|
4929
4921
|
break;
|
|
@@ -4962,10 +4954,10 @@ var PropertyEditor = /** @class */ (function (_super) {
|
|
|
4962
4954
|
this.refreshHideParamsIcon(th.select(".hideParamsIcon"));
|
|
4963
4955
|
};
|
|
4964
4956
|
PropertyEditor.prototype.peInputCount = function () {
|
|
4965
|
-
return this.element().selectAll(".table-"
|
|
4957
|
+
return this.element().selectAll(".table-" + this.depth() + " > tbody > tr > .headerRow > .peInput > div").size();
|
|
4966
4958
|
};
|
|
4967
4959
|
PropertyEditor.prototype.peInputCollapsedCount = function () {
|
|
4968
|
-
return this.element().selectAll(".table-"
|
|
4960
|
+
return this.element().selectAll(".table-" + this.depth() + " > tbody > tr > .headerRow > .peInput > div.property-table-collapsed").size();
|
|
4969
4961
|
};
|
|
4970
4962
|
PropertyEditor.prototype.peInputIcon = function () {
|
|
4971
4963
|
var collapsed = this.peInputCollapsedCount();
|
|
@@ -4979,7 +4971,7 @@ var PropertyEditor = /** @class */ (function (_super) {
|
|
|
4979
4971
|
};
|
|
4980
4972
|
PropertyEditor.prototype.refreshExpandIcon = function () {
|
|
4981
4973
|
var newIcon = this.peInputIcon();
|
|
4982
|
-
this.element().select(".table-"
|
|
4974
|
+
this.element().select(".table-" + this.depth() + " > thead > tr > th > .expandIcon")
|
|
4983
4975
|
.classed("fa-caret-up", false)
|
|
4984
4976
|
.classed("fa-caret-right", false)
|
|
4985
4977
|
.classed("fa-caret-down", false)
|
|
@@ -5184,9 +5176,9 @@ var PropertyEditor = /** @class */ (function (_super) {
|
|
|
5184
5176
|
}
|
|
5185
5177
|
var context = this;
|
|
5186
5178
|
element.classed("headerRow", true);
|
|
5187
|
-
var peInput = element.selectAll("div.peInput-"
|
|
5179
|
+
var peInput = element.selectAll("div.peInput-" + this.depth()).data(widgetArr, function (d) { return d.id(); });
|
|
5188
5180
|
peInput.enter().append("div")
|
|
5189
|
-
.attr("class", "peInput peInput-"
|
|
5181
|
+
.attr("class", "peInput peInput-" + this.depth())
|
|
5190
5182
|
.each(function (w) {
|
|
5191
5183
|
var peInputElement = select(this);
|
|
5192
5184
|
// Header ---
|
|
@@ -5212,7 +5204,7 @@ var PropertyEditor = /** @class */ (function (_super) {
|
|
|
5212
5204
|
var clickTarget = peInputElement.select("div");
|
|
5213
5205
|
// Header ---
|
|
5214
5206
|
select(this).select("span")
|
|
5215
|
-
.text(""
|
|
5207
|
+
.text("" + param.id);
|
|
5216
5208
|
select(this).select("i")
|
|
5217
5209
|
.classed("fa-minus-square-o", !clickTarget.classed("property-table-collapsed"))
|
|
5218
5210
|
.classed("fa-plus-square-o", clickTarget.classed("property-table-collapsed"));
|
|
@@ -5378,7 +5370,7 @@ var PropertyEditor = /** @class */ (function (_super) {
|
|
|
5378
5370
|
case "object":
|
|
5379
5371
|
element.property("value", JSON.stringify(val, function replacer(_key, value) {
|
|
5380
5372
|
if (value instanceof Widget) {
|
|
5381
|
-
return serialize(value);
|
|
5373
|
+
return serialize$1(value);
|
|
5382
5374
|
}
|
|
5383
5375
|
return value;
|
|
5384
5376
|
}, " "));
|
|
@@ -5421,8 +5413,8 @@ PropertyEditor.prototype.widget = function (_) {
|
|
|
5421
5413
|
return retVal;
|
|
5422
5414
|
};
|
|
5423
5415
|
|
|
5424
|
-
var css_248z$
|
|
5425
|
-
styleInject(css_248z$
|
|
5416
|
+
var css_248z$a = ".other_RadioCheckbox label,.other_RadioCheckbox span{vertical-align:top}";
|
|
5417
|
+
styleInject(css_248z$a);
|
|
5426
5418
|
|
|
5427
5419
|
var RadioCheckbox = /** @class */ (function (_super) {
|
|
5428
5420
|
__extends(RadioCheckbox, _super);
|
|
@@ -5526,8 +5518,8 @@ RadioCheckbox.prototype.publish("textColumn", null, "set", "RadioCheckbox value(
|
|
|
5526
5518
|
RadioCheckbox.prototype.publish("sort", null, "set", "Sort contents", ["", "ascending", "descending"], { optional: true });
|
|
5527
5519
|
RadioCheckbox.prototype.publish("multiple", false, "boolean", "Multiple selection");
|
|
5528
5520
|
|
|
5529
|
-
var css_248z$
|
|
5530
|
-
styleInject(css_248z$
|
|
5521
|
+
var css_248z$b = ".other_Select label,.other_Select span{vertical-align:top}";
|
|
5522
|
+
styleInject(css_248z$b);
|
|
5531
5523
|
|
|
5532
5524
|
var Select = /** @class */ (function (_super) {
|
|
5533
5525
|
__extends(Select, _super);
|
|
@@ -5620,8 +5612,8 @@ Select.prototype.publish("sort", null, "set", "Sort contents", ["", "ascending",
|
|
|
5620
5612
|
Select.prototype.publish("multiple", false, "boolean", "Multiple selection");
|
|
5621
5613
|
Select.prototype.publish("selectSize", 5, "number", "Size of multiselect box", null, { disable: function (w) { return !w.multiple(); } });
|
|
5622
5614
|
|
|
5623
|
-
var css_248z = ".other_ThemeEditor *{box-sizing:border-box}.other_ThemeEditor table{margin-bottom:4px
|
|
5624
|
-
styleInject(css_248z);
|
|
5615
|
+
var css_248z$c = ".other_ThemeEditor *{box-sizing:border-box}.other_ThemeEditor table{width:100%;margin-bottom:4px}.other_ThemeEditor table:last-child{margin-bottom:0}.other_ThemeEditor thead>tr>th{text-align:left}.other_ThemeEditor thead>tr>th>b{font-weight:700}.other_ThemeEditor thead>tr>th{background-color:#fafafa}.other_ThemeEditor tbody>tr>td,.other_ThemeEditor tbody>tr>th{font-weight:400;background-color:#fafafa}.other_ThemeEditor thead>tr:first-child>th{background-color:#e5e5e5}.other_ThemeEditor thead>tr.mm-content>th{padding:0 4px;font-size:12px}.other_ThemeEditor td,.other_ThemeEditor th{padding:4px;white-space:nowrap}.other_ThemeEditor thead.mm-label>tr:first-child>th{position:relative;padding-left:29px}.other_ThemeEditor thead.mm-label>tr:first-child>th:before{content:\"[+]\";position:absolute;left:3px;top:3px;color:#404040;height:15px;width:15px;font-family:monospace}.other_ThemeEditor thead.mm-label.max>tr:first-child>th:before{content:\"[-]\"}.other_ThemeEditor tr.sharedPropertyRow>td.label:after{content:\"[+]\";position:absolute;right:10px;top:3px;color:#404040;height:15px;width:15px;font-family:monospace}.other_ThemeEditor tr.sharedPropertyRow>td.label.expanded:after{content:\"[-]\"}.other_ThemeEditor tr.sharedPropertyRow>td.label{position:relative;padding-right:30px;text-decoration:underline}.other_ThemeEditor tr.sharedPropertyRow>td.label:hover{text-decoration:none;cursor:pointer}.other_ThemeEditor tr.propertyRow>td,.other_ThemeEditor tr.propertyRow>th{background-color:#f4f4f4}.other_ThemeEditor tr.propertyRow>td.label{padding-left:24px}.other_ThemeEditor table,.other_ThemeEditor td,.other_ThemeEditor th{border:1px solid #e5e5e5}.other_ThemeEditor .mm-label.min+.mm-content,.other_ThemeEditor .mm-label.min .mm-content{display:none}.mm-label:hover,.other_ThemeEditor .sharedPropertyRow>.te-label{cursor:pointer}.other_ThemeEditor .sharedPropertyRow>.te-label:hover{text-decoration:none}.other_ThemeEditor .propertyRow.shown>.te-label{padding-left:15px}.other_ThemeEditor .propertyRow>td{background-color:#f4f4f4}.other_ThemeEditor input,.other_ThemeEditor select,.other_ThemeEditor textarea{height:30px;float:left}.other_ThemeEditor input,.other_ThemeEditor select{width:150px}.other_ThemeEditor .te-checkbox{width:20px;height:20px;margin:0}.other_ThemeEditor .te-html-color-input{height:30px;width:120px}.other_ThemeEditor .te-html-color-button{width:30px}.other_ThemeEditor .te-html-color-button,.other_ThemeEditor button{background-color:#ccc;border:1px solid #a9a9a9;border-left:0;height:30px;float:left;padding:4px}.other_ThemeEditor .te-html-color-button,.other_ThemeEditor .te-section-table thead,.other_ThemeEditor button{cursor:pointer}.other_ThemeEditor .te-html-color-button:hover,.other_ThemeEditor button:hover{background-color:#bbb}.other_ThemeEditor .te-html-color-button:active,.other_ThemeEditor button:active{background-color:#aaa}.other_ThemeEditor .te-label{white-space:nowrap;width:1%;vertical-align:top}.other_ThemeEditor .te-section-table>tbody>tr:hover{background-color:#f8ff98}.te-section-table thead th{font-weight:700}.te-section-table.expanded>thead>tr>th:after{font:normal normal normal 14px/1 FontAwesome;content:\"\";float:right;margin-right:6px;margin-top:4px}.te-section-table.collapsed>thead>tr>th:after{font:normal normal normal 14px/1 FontAwesome;content:\"\";float:right;margin-right:6px;margin-top:4px}#te-tableModeOptions thead>tr>th,#te-themeEditorOptions thead>tr>th{border:1px solid #6e6e73;background-color:#6e6e73;color:#fafafa}";
|
|
5616
|
+
styleInject(css_248z$c);
|
|
5625
5617
|
|
|
5626
5618
|
function hasLocalStorage() {
|
|
5627
5619
|
var mod = "@hpcc-js/other";
|