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