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