@hpcc-js/other 2.15.22 → 2.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -20,8 +20,8 @@
20
20
  }
21
21
 
22
22
  var PKG_NAME = "@hpcc-js/other";
23
- var PKG_VERSION = "2.15.22";
24
- var BUILD_VERSION = "2.105.9";
23
+ var PKG_VERSION = "2.16.0";
24
+ var BUILD_VERSION = "2.106.0";
25
25
 
26
26
  /******************************************************************************
27
27
  Copyright (c) Microsoft Corporation.
@@ -240,7 +240,11 @@
240
240
  Audio.prototype._class += " other_Audio";
241
241
  Audio.prototype.publish("source", "", "string", "Audio Source");
242
242
 
243
- var autoComplete = {exports: {}};
243
+ function getDefaultExportFromCjs (x) {
244
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
245
+ }
246
+
247
+ var autoComplete$1 = {exports: {}};
244
248
 
245
249
  /*
246
250
  JavaScript autoComplete v1.0.5
@@ -250,251 +254,252 @@
250
254
  */
251
255
 
252
256
  (function (module) {
253
- var autoComplete = (function(){
254
- // "use strict";
255
- function autoComplete(options){
256
- if (!document.querySelector) return;
257
-
258
- // helpers
259
- function hasClass(el, className){ return el.classList ? el.classList.contains(className) : new RegExp('\\b'+ className+'\\b').test(el.className); }
260
-
261
- function addEvent(el, type, handler){
262
- if (el.attachEvent) el.attachEvent('on'+type, handler); else el.addEventListener(type, handler);
263
- }
264
- function removeEvent(el, type, handler){
265
- // if (el.removeEventListener) not working in IE11
266
- if (el.detachEvent) el.detachEvent('on'+type, handler); else el.removeEventListener(type, handler);
267
- }
268
- function live(elClass, event, cb, context){
269
- addEvent(context || document, event, function(e){
270
- var found, el = e.target || e.srcElement;
271
- while (el && !(found = hasClass(el, elClass))) el = el.parentElement;
272
- if (found) cb.call(el, e);
273
- });
274
- }
275
-
276
- var o = {
277
- selector: 0,
278
- source: 0,
279
- minChars: 3,
280
- delay: 150,
281
- offsetLeft: 0,
282
- offsetTop: 1,
283
- cache: 1,
284
- menuClass: '',
285
- renderItem: function (item, search){
286
- // escape special characters
287
- search = search.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
288
- var re = new RegExp("(" + search.split(' ').join('|') + ")", "gi");
289
- return '<div class="autocomplete-suggestion" data-val="' + item + '">' + item.replace(re, "<b>$1</b>") + '</div>';
290
- },
291
- onSelect: function(e, term, item){}
292
- };
293
- for (var k in options) { if (options.hasOwnProperty(k)) o[k] = options[k]; }
294
-
295
- // init
296
- var elems = typeof o.selector == 'object' ? [o.selector] : document.querySelectorAll(o.selector);
297
- for (var i=0; i<elems.length; i++) {
298
- var that = elems[i];
299
-
300
- // create suggestions container "sc"
301
- that.sc = document.createElement('div');
302
- that.sc.className = 'autocomplete-suggestions '+o.menuClass;
303
-
304
- that.autocompleteAttr = that.getAttribute('autocomplete');
305
- that.setAttribute('autocomplete', 'off');
306
- that.cache = {};
307
- that.last_val = '';
308
-
309
- that.updateSC = function(resize, next){
310
- var rect = that.getBoundingClientRect();
311
- that.sc.style.left = Math.round(rect.left + (window.pageXOffset || document.documentElement.scrollLeft) + o.offsetLeft) + 'px';
312
- that.sc.style.top = Math.round(rect.bottom + (window.pageYOffset || document.documentElement.scrollTop) + o.offsetTop) + 'px';
313
- that.sc.style.width = Math.round(rect.right - rect.left) + 'px'; // outerWidth
314
- if (!resize) {
315
- that.sc.style.display = 'block';
316
- that.sc.classList.remove('hide');
317
- if (!that.sc.maxHeight) { that.sc.maxHeight = parseInt((window.getComputedStyle ? getComputedStyle(that.sc, null) : that.sc.currentStyle).maxHeight); }
318
- if (!that.sc.suggestionHeight) that.sc.suggestionHeight = that.sc.querySelector('.autocomplete-suggestion').offsetHeight;
319
- if (that.sc.suggestionHeight)
320
- if (!next) that.sc.scrollTop = 0;
321
- else {
322
- var scrTop = that.sc.scrollTop, selTop = next.getBoundingClientRect().top - that.sc.getBoundingClientRect().top;
323
- if (selTop + that.sc.suggestionHeight - that.sc.maxHeight > 0)
324
- that.sc.scrollTop = selTop + that.sc.suggestionHeight + scrTop - that.sc.maxHeight;
325
- else if (selTop < 0)
326
- that.sc.scrollTop = selTop + scrTop;
327
- }
328
- }
329
- };
330
- addEvent(window, 'resize', that.updateSC);
331
- document.body.appendChild(that.sc);
332
-
333
- live('autocomplete-suggestion', 'mouseleave', function(e){
334
- var sel = that.sc.querySelector('.autocomplete-suggestion.selected');
335
- if (sel) setTimeout(function(){ sel.className = sel.className.replace('selected', ''); }, 20);
336
- }, that.sc);
337
-
338
- live('autocomplete-suggestion', 'mouseover', function(e){
339
- var sel = that.sc.querySelector('.autocomplete-suggestion.selected');
340
- if (sel) sel.className = sel.className.replace('selected', '');
341
- this.className += ' selected';
342
- }, that.sc);
343
-
344
- live('autocomplete-suggestion', 'mousedown', function(e){
345
- if (hasClass(this, 'autocomplete-suggestion')) { // else outside click
346
- var v = this.getAttribute('data-val');
347
- that.value = v;
348
- o.onSelect(e, v, this);
349
- that.sc.style.display = 'none';
350
- that.sc.classList.add("hide");
351
-
352
- }
353
- }, that.sc);
354
-
355
- that.blurHandler = function(){
356
- try { var over_sb = document.querySelector('.autocomplete-suggestions:hover'); } catch(e){ var over_sb = 0; }
357
- if (!over_sb) {
358
- that.last_val = that.value;
359
- that.sc.style.display = 'none';
360
- that.sc.classList.add("hide");
361
- setTimeout(function(){
362
- that.sc.style.display = 'none';
363
- that.sc.classList.add("hide");
364
- }, 350); // hide suggestions on fast input
365
- } else if (that !== document.activeElement) setTimeout(function(){ that.focus(); }, 20);
366
- };
367
- addEvent(that, 'blur', that.blurHandler);
368
-
369
- var suggest = function(data, val){
370
- if (!val) {
371
- var val = that.value;
372
- }
373
- that.cache[val] = data;
374
- if (data.length && val.length >= o.minChars) {
375
- var s = '';
376
- for (var i=0;i<data.length;i++) s += o.renderItem(data[i], val);
377
- that.sc.innerHTML = s;
378
- that.updateSC(0);
379
- }
380
- else {
381
- that.sc.style.display = 'none';
382
- that.sc.classList.add("hide");
383
- }
384
- };
385
-
386
- that.keydownHandler = function(e){
387
- var key = window.event ? e.keyCode : e.which;
388
- // down (40), up (38)
389
- if ((key == 40 || key == 38) && that.sc.innerHTML) {
390
- var next, sel = that.sc.querySelector('.autocomplete-suggestion.selected');
391
- if (!sel) {
392
- next = (key == 40) ? that.sc.querySelector('.autocomplete-suggestion') : that.sc.childNodes[that.sc.childNodes.length - 1]; // first : last
393
- next.className += ' selected';
394
- that.value = next.getAttribute('data-val');
395
- } else {
396
- next = (key == 40) ? sel.nextSibling : sel.previousSibling;
397
- if (next) {
398
- sel.className = sel.className.replace('selected', '');
399
- next.className += ' selected';
400
- that.value = next.getAttribute('data-val');
401
- }
402
- else { sel.className = sel.className.replace('selected', ''); that.value = that.last_val; next = 0; }
403
- }
404
- that.updateSC(0, next);
405
- return false;
406
- }
407
- // esc
408
- else if (key == 27) {
409
- that.value = that.last_val;
410
- that.sc.style.display = 'none';
411
- that.sc.classList.add("hide");
412
- }
413
- // enter
414
- else if (key == 13 || key == 9) {
415
- if (that.sc.style.display !== 'none') {
416
- e.preventDefault();
417
- }
418
- var sel = that.sc.querySelector('.autocomplete-suggestion.selected');
419
- if (sel && that.sc.style.display != 'none') {
420
- o.onSelect(e, sel.getAttribute('data-val'), sel);
421
- setTimeout(function(){
422
- that.sc.style.display = 'none';
423
- that.sc.classList.add("hide");
424
- }, 20); }
425
- }
426
- };
427
- addEvent(that, 'keydown', that.keydownHandler);
428
-
429
- that.keyupHandler = function(e){
430
- var key = window.event ? e.keyCode : e.which;
431
- if (!key || (key < 35 || key > 40) && key != 13 && key != 27) {
432
- var val = that.value;
433
- if (val.length >= o.minChars) {
434
- if (val != that.last_val) {
435
- that.last_val = val;
436
- clearTimeout(that.timer);
437
- if (o.cache) {
438
- if (val in that.cache) { suggest(that.cache[val]); return; }
439
- // no requests if previous suggestions were empty
440
- for (var i=1; i<val.length-o.minChars; i++) {
441
- var part = val.slice(0, val.length-i);
442
- if (part in that.cache && !that.cache[part].length) { suggest([]); return; }
443
- }
444
- }
445
- that.timer = setTimeout(function(){ o.source(val, suggest); }, o.delay);
446
- }
447
- } else {
448
- that.last_val = val;
449
- that.sc.style.display = 'none';
450
- that.sc.classList.add("hide");
451
- }
452
- }
453
- };
454
- addEvent(that, 'keyup', that.keyupHandler);
455
-
456
- that.focusHandler = function(e){
457
- that.last_val = '\n';
458
- that.keyupHandler(e);
459
- };
460
- if (!o.minChars) addEvent(that, 'focus', that.focusHandler);
461
- }
462
-
463
- // public destroy method
464
- this.destroy = function(){
465
- for (var i=0; i<elems.length; i++) {
466
- var that = elems[i];
467
- removeEvent(window, 'resize', that.updateSC);
468
- removeEvent(that, 'blur', that.blurHandler);
469
- removeEvent(that, 'focus', that.focusHandler);
470
- removeEvent(that, 'keydown', that.keydownHandler);
471
- removeEvent(that, 'keyup', that.keyupHandler);
472
- if (that.autocompleteAttr)
473
- that.setAttribute('autocomplete', that.autocompleteAttr);
474
- else
475
- that.removeAttribute('autocomplete');
476
- document.body.removeChild(that.sc);
477
- that = null;
478
- }
479
- };
480
- }
481
- return autoComplete;
482
- })();
483
-
484
- (function(){
485
- if (module.exports)
486
- module.exports = autoComplete;
487
- else
488
- window.autoComplete = autoComplete;
489
- })();
490
- }(autoComplete));
491
-
492
- var autoComplete_1 = autoComplete.exports;
257
+ var autoComplete = (function(){
258
+ // "use strict";
259
+ function autoComplete(options){
260
+ if (!document.querySelector) return;
261
+
262
+ // helpers
263
+ function hasClass(el, className){ return el.classList ? el.classList.contains(className) : new RegExp('\\b'+ className+'\\b').test(el.className); }
264
+
265
+ function addEvent(el, type, handler){
266
+ if (el.attachEvent) el.attachEvent('on'+type, handler); else el.addEventListener(type, handler);
267
+ }
268
+ function removeEvent(el, type, handler){
269
+ // if (el.removeEventListener) not working in IE11
270
+ if (el.detachEvent) el.detachEvent('on'+type, handler); else el.removeEventListener(type, handler);
271
+ }
272
+ function live(elClass, event, cb, context){
273
+ addEvent(context || document, event, function(e){
274
+ var found, el = e.target || e.srcElement;
275
+ while (el && !(found = hasClass(el, elClass))) el = el.parentElement;
276
+ if (found) cb.call(el, e);
277
+ });
278
+ }
279
+
280
+ var o = {
281
+ selector: 0,
282
+ source: 0,
283
+ minChars: 3,
284
+ delay: 150,
285
+ offsetLeft: 0,
286
+ offsetTop: 1,
287
+ cache: 1,
288
+ menuClass: '',
289
+ renderItem: function (item, search){
290
+ // escape special characters
291
+ search = search.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
292
+ var re = new RegExp("(" + search.split(' ').join('|') + ")", "gi");
293
+ return '<div class="autocomplete-suggestion" data-val="' + item + '">' + item.replace(re, "<b>$1</b>") + '</div>';
294
+ },
295
+ onSelect: function(e, term, item){}
296
+ };
297
+ for (var k in options) { if (options.hasOwnProperty(k)) o[k] = options[k]; }
298
+
299
+ // init
300
+ var elems = typeof o.selector == 'object' ? [o.selector] : document.querySelectorAll(o.selector);
301
+ for (var i=0; i<elems.length; i++) {
302
+ var that = elems[i];
303
+
304
+ // create suggestions container "sc"
305
+ that.sc = document.createElement('div');
306
+ that.sc.className = 'autocomplete-suggestions '+o.menuClass;
307
+
308
+ that.autocompleteAttr = that.getAttribute('autocomplete');
309
+ that.setAttribute('autocomplete', 'off');
310
+ that.cache = {};
311
+ that.last_val = '';
312
+
313
+ that.updateSC = function(resize, next){
314
+ var rect = that.getBoundingClientRect();
315
+ that.sc.style.left = Math.round(rect.left + (window.pageXOffset || document.documentElement.scrollLeft) + o.offsetLeft) + 'px';
316
+ that.sc.style.top = Math.round(rect.bottom + (window.pageYOffset || document.documentElement.scrollTop) + o.offsetTop) + 'px';
317
+ that.sc.style.width = Math.round(rect.right - rect.left) + 'px'; // outerWidth
318
+ if (!resize) {
319
+ that.sc.style.display = 'block';
320
+ that.sc.classList.remove('hide');
321
+ if (!that.sc.maxHeight) { that.sc.maxHeight = parseInt((window.getComputedStyle ? getComputedStyle(that.sc, null) : that.sc.currentStyle).maxHeight); }
322
+ if (!that.sc.suggestionHeight) that.sc.suggestionHeight = that.sc.querySelector('.autocomplete-suggestion').offsetHeight;
323
+ if (that.sc.suggestionHeight)
324
+ if (!next) that.sc.scrollTop = 0;
325
+ else {
326
+ var scrTop = that.sc.scrollTop, selTop = next.getBoundingClientRect().top - that.sc.getBoundingClientRect().top;
327
+ if (selTop + that.sc.suggestionHeight - that.sc.maxHeight > 0)
328
+ that.sc.scrollTop = selTop + that.sc.suggestionHeight + scrTop - that.sc.maxHeight;
329
+ else if (selTop < 0)
330
+ that.sc.scrollTop = selTop + scrTop;
331
+ }
332
+ }
333
+ };
334
+ addEvent(window, 'resize', that.updateSC);
335
+ document.body.appendChild(that.sc);
336
+
337
+ live('autocomplete-suggestion', 'mouseleave', function(e){
338
+ var sel = that.sc.querySelector('.autocomplete-suggestion.selected');
339
+ if (sel) setTimeout(function(){ sel.className = sel.className.replace('selected', ''); }, 20);
340
+ }, that.sc);
341
+
342
+ live('autocomplete-suggestion', 'mouseover', function(e){
343
+ var sel = that.sc.querySelector('.autocomplete-suggestion.selected');
344
+ if (sel) sel.className = sel.className.replace('selected', '');
345
+ this.className += ' selected';
346
+ }, that.sc);
347
+
348
+ live('autocomplete-suggestion', 'mousedown', function(e){
349
+ if (hasClass(this, 'autocomplete-suggestion')) { // else outside click
350
+ var v = this.getAttribute('data-val');
351
+ that.value = v;
352
+ o.onSelect(e, v, this);
353
+ that.sc.style.display = 'none';
354
+ that.sc.classList.add("hide");
355
+
356
+ }
357
+ }, that.sc);
358
+
359
+ that.blurHandler = function(){
360
+ try { var over_sb = document.querySelector('.autocomplete-suggestions:hover'); } catch(e){ var over_sb = 0; }
361
+ if (!over_sb) {
362
+ that.last_val = that.value;
363
+ that.sc.style.display = 'none';
364
+ that.sc.classList.add("hide");
365
+ setTimeout(function(){
366
+ that.sc.style.display = 'none';
367
+ that.sc.classList.add("hide");
368
+ }, 350); // hide suggestions on fast input
369
+ } else if (that !== document.activeElement) setTimeout(function(){ that.focus(); }, 20);
370
+ };
371
+ addEvent(that, 'blur', that.blurHandler);
372
+
373
+ var suggest = function(data, val){
374
+ if (!val) {
375
+ var val = that.value;
376
+ }
377
+ that.cache[val] = data;
378
+ if (data.length && val.length >= o.minChars) {
379
+ var s = '';
380
+ for (var i=0;i<data.length;i++) s += o.renderItem(data[i], val);
381
+ that.sc.innerHTML = s;
382
+ that.updateSC(0);
383
+ }
384
+ else {
385
+ that.sc.style.display = 'none';
386
+ that.sc.classList.add("hide");
387
+ }
388
+ };
389
+
390
+ that.keydownHandler = function(e){
391
+ var key = window.event ? e.keyCode : e.which;
392
+ // down (40), up (38)
393
+ if ((key == 40 || key == 38) && that.sc.innerHTML) {
394
+ var next, sel = that.sc.querySelector('.autocomplete-suggestion.selected');
395
+ if (!sel) {
396
+ next = (key == 40) ? that.sc.querySelector('.autocomplete-suggestion') : that.sc.childNodes[that.sc.childNodes.length - 1]; // first : last
397
+ next.className += ' selected';
398
+ that.value = next.getAttribute('data-val');
399
+ } else {
400
+ next = (key == 40) ? sel.nextSibling : sel.previousSibling;
401
+ if (next) {
402
+ sel.className = sel.className.replace('selected', '');
403
+ next.className += ' selected';
404
+ that.value = next.getAttribute('data-val');
405
+ }
406
+ else { sel.className = sel.className.replace('selected', ''); that.value = that.last_val; next = 0; }
407
+ }
408
+ that.updateSC(0, next);
409
+ return false;
410
+ }
411
+ // esc
412
+ else if (key == 27) {
413
+ that.value = that.last_val;
414
+ that.sc.style.display = 'none';
415
+ that.sc.classList.add("hide");
416
+ }
417
+ // enter
418
+ else if (key == 13 || key == 9) {
419
+ if (that.sc.style.display !== 'none') {
420
+ e.preventDefault();
421
+ }
422
+ var sel = that.sc.querySelector('.autocomplete-suggestion.selected');
423
+ if (sel && that.sc.style.display != 'none') {
424
+ o.onSelect(e, sel.getAttribute('data-val'), sel);
425
+ setTimeout(function(){
426
+ that.sc.style.display = 'none';
427
+ that.sc.classList.add("hide");
428
+ }, 20); }
429
+ }
430
+ };
431
+ addEvent(that, 'keydown', that.keydownHandler);
432
+
433
+ that.keyupHandler = function(e){
434
+ var key = window.event ? e.keyCode : e.which;
435
+ if (!key || (key < 35 || key > 40) && key != 13 && key != 27) {
436
+ var val = that.value;
437
+ if (val.length >= o.minChars) {
438
+ if (val != that.last_val) {
439
+ that.last_val = val;
440
+ clearTimeout(that.timer);
441
+ if (o.cache) {
442
+ if (val in that.cache) { suggest(that.cache[val]); return; }
443
+ // no requests if previous suggestions were empty
444
+ for (var i=1; i<val.length-o.minChars; i++) {
445
+ var part = val.slice(0, val.length-i);
446
+ if (part in that.cache && !that.cache[part].length) { suggest([]); return; }
447
+ }
448
+ }
449
+ that.timer = setTimeout(function(){ o.source(val, suggest); }, o.delay);
450
+ }
451
+ } else {
452
+ that.last_val = val;
453
+ that.sc.style.display = 'none';
454
+ that.sc.classList.add("hide");
455
+ }
456
+ }
457
+ };
458
+ addEvent(that, 'keyup', that.keyupHandler);
459
+
460
+ that.focusHandler = function(e){
461
+ that.last_val = '\n';
462
+ that.keyupHandler(e);
463
+ };
464
+ if (!o.minChars) addEvent(that, 'focus', that.focusHandler);
465
+ }
466
+
467
+ // public destroy method
468
+ this.destroy = function(){
469
+ for (var i=0; i<elems.length; i++) {
470
+ var that = elems[i];
471
+ removeEvent(window, 'resize', that.updateSC);
472
+ removeEvent(that, 'blur', that.blurHandler);
473
+ removeEvent(that, 'focus', that.focusHandler);
474
+ removeEvent(that, 'keydown', that.keydownHandler);
475
+ removeEvent(that, 'keyup', that.keyupHandler);
476
+ if (that.autocompleteAttr)
477
+ that.setAttribute('autocomplete', that.autocompleteAttr);
478
+ else
479
+ that.removeAttribute('autocomplete');
480
+ document.body.removeChild(that.sc);
481
+ that = null;
482
+ }
483
+ };
484
+ }
485
+ return autoComplete;
486
+ })();
487
+
488
+ (function(){
489
+ if (module.exports)
490
+ module.exports = autoComplete;
491
+ else
492
+ window.autoComplete = autoComplete;
493
+ })();
494
+ } (autoComplete$1));
495
+
496
+ var autoCompleteExports = autoComplete$1.exports;
497
+ var autoComplete = /*@__PURE__*/getDefaultExportFromCjs(autoCompleteExports);
493
498
 
494
499
  var AutoComplete = /*#__PURE__*/_mergeNamespaces({
495
500
  __proto__: null,
496
- 'default': autoComplete_1
497
- }, [autoComplete.exports]);
501
+ default: autoComplete
502
+ }, [autoCompleteExports]);
498
503
 
499
504
  function styleInject(css, ref) {
500
505
  if ( ref === void 0 ) ref = {};
@@ -766,8 +771,6 @@
766
771
  date.setFullYear(date.getFullYear() + step * k);
767
772
  });
768
773
  };
769
-
770
- var d3TimeYear = year;
771
774
  year.range;
772
775
 
773
776
  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}";
@@ -882,7 +885,7 @@
882
885
  dayRectElement.append("title");
883
886
  })
884
887
  .merge(dayRect)
885
- .attr("x", function (d) { return sunday.count(d3TimeYear(d), d) * cellSize; })
888
+ .attr("x", function (d) { return sunday.count(year(d), d) * cellSize; })
886
889
  .attr("y", function (d) { return d.getDay() * cellSize; })
887
890
  .attr("width", cellSize)
888
891
  .attr("height", cellSize)
@@ -916,9 +919,9 @@
916
919
  function calcMonthPath(t0) {
917
920
  var t1 = new Date(t0.getFullYear(), t0.getMonth() + 1, 0);
918
921
  var d0 = t0.getDay();
919
- var w0 = sunday.count(d3TimeYear(t0), t0);
922
+ var w0 = sunday.count(year(t0), t0);
920
923
  var d1 = t1.getDay();
921
- var w1 = sunday.count(d3TimeYear(t1), t1);
924
+ var w1 = sunday.count(year(t1), t1);
922
925
  return "M" + (w0 + 1) * cellSize + "," + d0 * cellSize +
923
926
  "H" + w0 * cellSize + "V" + 7 * cellSize +
924
927
  "H" + w1 * cellSize + "V" + (d1 + 1) * cellSize +
@@ -1942,17 +1945,17 @@
1942
1945
 
1943
1946
  var Comms$1 = /*#__PURE__*/Object.freeze({
1944
1947
  __proto__: null,
1945
- ESPUrl: ESPUrl,
1946
- ESPMappings: ESPMappings,
1947
- Comms: Comms,
1948
1948
  Basic: Basic,
1949
+ Comms: Comms,
1950
+ ESPMappings: ESPMappings,
1951
+ ESPUrl: ESPUrl,
1952
+ HIPIEDatabomb: HIPIEDatabomb,
1953
+ HIPIERoxie: HIPIERoxie,
1954
+ HIPIEWorkunit: HIPIEWorkunit,
1949
1955
  WsECL: WsECL,
1950
1956
  WsWorkunits: WsWorkunits$1,
1951
1957
  createESPConnection: createESPConnection,
1952
- hookJsonp: hookJsonp,
1953
- HIPIEWorkunit: HIPIEWorkunit,
1954
- HIPIERoxie: HIPIERoxie,
1955
- HIPIEDatabomb: HIPIEDatabomb
1958
+ hookJsonp: hookJsonp
1956
1959
  });
1957
1960
 
1958
1961
  function nestedRowFix(row) {
@@ -2385,160 +2388,161 @@
2385
2388
  return retVal;
2386
2389
  }
2387
2390
 
2388
- var simpleheat$1 = {exports: {}};
2391
+ var simpleheat$2 = {exports: {}};
2389
2392
 
2390
2393
  (function (module) {
2391
2394
 
2392
- module.exports = simpleheat;
2395
+ module.exports = simpleheat;
2393
2396
 
2394
- function simpleheat(canvas) {
2395
- if (!(this instanceof simpleheat)) return new simpleheat(canvas);
2397
+ function simpleheat(canvas) {
2398
+ if (!(this instanceof simpleheat)) return new simpleheat(canvas);
2396
2399
 
2397
- this._canvas = canvas = typeof canvas === 'string' ? document.getElementById(canvas) : canvas;
2400
+ this._canvas = canvas = typeof canvas === 'string' ? document.getElementById(canvas) : canvas;
2398
2401
 
2399
- this._ctx = canvas.getContext('2d');
2400
- this._width = canvas.width;
2401
- this._height = canvas.height;
2402
+ this._ctx = canvas.getContext('2d');
2403
+ this._width = canvas.width;
2404
+ this._height = canvas.height;
2402
2405
 
2403
- this._max = 1;
2404
- this._data = [];
2405
- }
2406
+ this._max = 1;
2407
+ this._data = [];
2408
+ }
2406
2409
 
2407
- simpleheat.prototype = {
2410
+ simpleheat.prototype = {
2408
2411
 
2409
- defaultRadius: 25,
2412
+ defaultRadius: 25,
2410
2413
 
2411
- defaultGradient: {
2412
- 0.4: 'blue',
2413
- 0.6: 'cyan',
2414
- 0.7: 'lime',
2415
- 0.8: 'yellow',
2416
- 1.0: 'red'
2417
- },
2414
+ defaultGradient: {
2415
+ 0.4: 'blue',
2416
+ 0.6: 'cyan',
2417
+ 0.7: 'lime',
2418
+ 0.8: 'yellow',
2419
+ 1.0: 'red'
2420
+ },
2418
2421
 
2419
- data: function (data) {
2420
- this._data = data;
2421
- return this;
2422
- },
2422
+ data: function (data) {
2423
+ this._data = data;
2424
+ return this;
2425
+ },
2423
2426
 
2424
- max: function (max) {
2425
- this._max = max;
2426
- return this;
2427
- },
2428
-
2429
- add: function (point) {
2430
- this._data.push(point);
2431
- return this;
2432
- },
2427
+ max: function (max) {
2428
+ this._max = max;
2429
+ return this;
2430
+ },
2433
2431
 
2434
- clear: function () {
2435
- this._data = [];
2436
- return this;
2437
- },
2432
+ add: function (point) {
2433
+ this._data.push(point);
2434
+ return this;
2435
+ },
2438
2436
 
2439
- radius: function (r, blur) {
2440
- blur = blur === undefined ? 15 : blur;
2437
+ clear: function () {
2438
+ this._data = [];
2439
+ return this;
2440
+ },
2441
2441
 
2442
- // create a grayscale blurred circle image that we'll use for drawing points
2443
- var circle = this._circle = this._createCanvas(),
2444
- ctx = circle.getContext('2d'),
2445
- r2 = this._r = r + blur;
2442
+ radius: function (r, blur) {
2443
+ blur = blur === undefined ? 15 : blur;
2446
2444
 
2447
- circle.width = circle.height = r2 * 2;
2445
+ // create a grayscale blurred circle image that we'll use for drawing points
2446
+ var circle = this._circle = this._createCanvas(),
2447
+ ctx = circle.getContext('2d'),
2448
+ r2 = this._r = r + blur;
2448
2449
 
2449
- ctx.shadowOffsetX = ctx.shadowOffsetY = r2 * 2;
2450
- ctx.shadowBlur = blur;
2451
- ctx.shadowColor = 'black';
2450
+ circle.width = circle.height = r2 * 2;
2452
2451
 
2453
- ctx.beginPath();
2454
- ctx.arc(-r2, -r2, r, 0, Math.PI * 2, true);
2455
- ctx.closePath();
2456
- ctx.fill();
2452
+ ctx.shadowOffsetX = ctx.shadowOffsetY = r2 * 2;
2453
+ ctx.shadowBlur = blur;
2454
+ ctx.shadowColor = 'black';
2457
2455
 
2458
- return this;
2459
- },
2456
+ ctx.beginPath();
2457
+ ctx.arc(-r2, -r2, r, 0, Math.PI * 2, true);
2458
+ ctx.closePath();
2459
+ ctx.fill();
2460
2460
 
2461
- resize: function () {
2462
- this._width = this._canvas.width;
2463
- this._height = this._canvas.height;
2464
- },
2461
+ return this;
2462
+ },
2465
2463
 
2466
- gradient: function (grad) {
2467
- // create a 256x1 gradient that we'll use to turn a grayscale heatmap into a colored one
2468
- var canvas = this._createCanvas(),
2469
- ctx = canvas.getContext('2d'),
2470
- gradient = ctx.createLinearGradient(0, 0, 0, 256);
2464
+ resize: function () {
2465
+ this._width = this._canvas.width;
2466
+ this._height = this._canvas.height;
2467
+ },
2471
2468
 
2472
- canvas.width = 1;
2473
- canvas.height = 256;
2469
+ gradient: function (grad) {
2470
+ // create a 256x1 gradient that we'll use to turn a grayscale heatmap into a colored one
2471
+ var canvas = this._createCanvas(),
2472
+ ctx = canvas.getContext('2d'),
2473
+ gradient = ctx.createLinearGradient(0, 0, 0, 256);
2474
2474
 
2475
- for (var i in grad) {
2476
- gradient.addColorStop(+i, grad[i]);
2477
- }
2475
+ canvas.width = 1;
2476
+ canvas.height = 256;
2478
2477
 
2479
- ctx.fillStyle = gradient;
2480
- ctx.fillRect(0, 0, 1, 256);
2478
+ for (var i in grad) {
2479
+ gradient.addColorStop(+i, grad[i]);
2480
+ }
2481
2481
 
2482
- this._grad = ctx.getImageData(0, 0, 1, 256).data;
2482
+ ctx.fillStyle = gradient;
2483
+ ctx.fillRect(0, 0, 1, 256);
2483
2484
 
2484
- return this;
2485
- },
2485
+ this._grad = ctx.getImageData(0, 0, 1, 256).data;
2486
2486
 
2487
- draw: function (minOpacity) {
2488
- if (!this._circle) this.radius(this.defaultRadius);
2489
- if (!this._grad) this.gradient(this.defaultGradient);
2487
+ return this;
2488
+ },
2490
2489
 
2491
- var ctx = this._ctx;
2490
+ draw: function (minOpacity) {
2491
+ if (!this._circle) this.radius(this.defaultRadius);
2492
+ if (!this._grad) this.gradient(this.defaultGradient);
2492
2493
 
2493
- ctx.clearRect(0, 0, this._width, this._height);
2494
-
2495
- // draw a grayscale heatmap by putting a blurred circle at each data point
2496
- for (var i = 0, len = this._data.length, p; i < len; i++) {
2497
- p = this._data[i];
2498
- ctx.globalAlpha = Math.max(p[2] / this._max, minOpacity === undefined ? 0.05 : minOpacity);
2499
- ctx.drawImage(this._circle, p[0] - this._r, p[1] - this._r);
2500
- }
2501
-
2502
- // colorize the heatmap, using opacity value of each pixel to get the right color from our gradient
2503
- var colored = ctx.getImageData(0, 0, this._width, this._height);
2504
- this._colorize(colored.data, this._grad);
2505
- ctx.putImageData(colored, 0, 0);
2506
-
2507
- return this;
2508
- },
2509
-
2510
- _colorize: function (pixels, gradient) {
2511
- for (var i = 0, len = pixels.length, j; i < len; i += 4) {
2512
- j = pixels[i + 3] * 4; // get gradient color from opacity value
2513
-
2514
- if (j) {
2515
- pixels[i] = gradient[j];
2516
- pixels[i + 1] = gradient[j + 1];
2517
- pixels[i + 2] = gradient[j + 2];
2518
- }
2519
- }
2520
- },
2521
-
2522
- _createCanvas: function () {
2523
- if (typeof document !== 'undefined') {
2524
- return document.createElement('canvas');
2525
- } else {
2526
- // create a new canvas instance in node.js
2527
- // the canvas class needs to have a default constructor without any parameter
2528
- return new this._canvas.constructor();
2529
- }
2530
- }
2531
- };
2532
- }(simpleheat$1));
2533
-
2534
- var simpleheat_1 = simpleheat$1.exports;
2494
+ var ctx = this._ctx;
2495
+
2496
+ ctx.clearRect(0, 0, this._width, this._height);
2497
+
2498
+ // draw a grayscale heatmap by putting a blurred circle at each data point
2499
+ for (var i = 0, len = this._data.length, p; i < len; i++) {
2500
+ p = this._data[i];
2501
+ ctx.globalAlpha = Math.max(p[2] / this._max, minOpacity === undefined ? 0.05 : minOpacity);
2502
+ ctx.drawImage(this._circle, p[0] - this._r, p[1] - this._r);
2503
+ }
2504
+
2505
+ // colorize the heatmap, using opacity value of each pixel to get the right color from our gradient
2506
+ var colored = ctx.getImageData(0, 0, this._width, this._height);
2507
+ this._colorize(colored.data, this._grad);
2508
+ ctx.putImageData(colored, 0, 0);
2509
+
2510
+ return this;
2511
+ },
2512
+
2513
+ _colorize: function (pixels, gradient) {
2514
+ for (var i = 0, len = pixels.length, j; i < len; i += 4) {
2515
+ j = pixels[i + 3] * 4; // get gradient color from opacity value
2516
+
2517
+ if (j) {
2518
+ pixels[i] = gradient[j];
2519
+ pixels[i + 1] = gradient[j + 1];
2520
+ pixels[i + 2] = gradient[j + 2];
2521
+ }
2522
+ }
2523
+ },
2524
+
2525
+ _createCanvas: function () {
2526
+ if (typeof document !== 'undefined') {
2527
+ return document.createElement('canvas');
2528
+ } else {
2529
+ // create a new canvas instance in node.js
2530
+ // the canvas class needs to have a default constructor without any parameter
2531
+ return new this._canvas.constructor();
2532
+ }
2533
+ }
2534
+ };
2535
+ } (simpleheat$2));
2536
+
2537
+ var simpleheatExports = simpleheat$2.exports;
2538
+ var simpleheat$1 = /*@__PURE__*/getDefaultExportFromCjs(simpleheatExports);
2535
2539
 
2536
2540
  var _simpleheat = /*#__PURE__*/_mergeNamespaces({
2537
2541
  __proto__: null,
2538
- 'default': simpleheat_1
2539
- }, [simpleheat$1.exports]);
2542
+ default: simpleheat$1
2543
+ }, [simpleheatExports]);
2540
2544
 
2541
- var simpleheat = window.simpleheat || (_simpleheat && simpleheat_1) || _simpleheat;
2545
+ var simpleheat = window.simpleheat || (_simpleheat && simpleheat$1) || _simpleheat;
2542
2546
  var HeatMap = /** @class */ (function (_super) {
2543
2547
  __extends(HeatMap, _super);
2544
2548
  function HeatMap() {
@@ -4753,15 +4757,15 @@
4753
4757
 
4754
4758
  var Persist = /*#__PURE__*/Object.freeze({
4755
4759
  __proto__: null,
4760
+ applyTheme: applyTheme,
4756
4761
  discover: discover,
4757
- widgetArrayWalker: widgetArrayWalker,
4758
- widgetPropertyWalker: widgetPropertyWalker,
4762
+ removeTheme: removeTheme,
4763
+ serialize: serialize,
4759
4764
  serializeTheme: serializeTheme,
4760
4765
  serializeThemeToObject: serializeThemeToObject,
4761
- removeTheme: removeTheme,
4762
- applyTheme: applyTheme,
4763
4766
  serializeToObject: serializeToObject,
4764
- serialize: serialize
4767
+ widgetArrayWalker: widgetArrayWalker,
4768
+ widgetPropertyWalker: widgetPropertyWalker
4765
4769
  });
4766
4770
 
4767
4771
  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%}";
@@ -6339,7 +6343,5 @@
6339
6343
  exports.enableCache = enableCache;
6340
6344
  exports.flattenResult = flattenResult;
6341
6345
 
6342
- Object.defineProperty(exports, '__esModule', { value: true });
6343
-
6344
6346
  }));
6345
6347
  //# sourceMappingURL=index.js.map