@hpcc-js/common 2.71.17 → 2.71.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es6.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { classID2Meta, hashSum, isArray } from '@hpcc-js/util';
2
2
 
3
3
  var PKG_NAME = "@hpcc-js/common";
4
- var PKG_VERSION = "2.71.17";
5
- var BUILD_VERSION = "2.105.9";
4
+ var PKG_VERSION = "2.71.18";
5
+ var BUILD_VERSION = "2.105.12";
6
6
 
7
7
  /******************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -3460,12 +3460,12 @@ function active(node, name) {
3460
3460
  return null;
3461
3461
  }
3462
3462
 
3463
- function d3Ascending(a, b) {
3463
+ function ascending(a, b) {
3464
3464
  return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
3465
3465
  }
3466
3466
 
3467
- function bisector$1(compare) {
3468
- if (compare.length === 1) compare = ascendingComparator$1(compare);
3467
+ function bisector(compare) {
3468
+ if (compare.length === 1) compare = ascendingComparator(compare);
3469
3469
  return {
3470
3470
  left: function(a, x, lo, hi) {
3471
3471
  if (lo == null) lo = 0;
@@ -3490,15 +3490,15 @@ function bisector$1(compare) {
3490
3490
  };
3491
3491
  }
3492
3492
 
3493
- function ascendingComparator$1(f) {
3493
+ function ascendingComparator(f) {
3494
3494
  return function(d, x) {
3495
- return d3Ascending(f(d), x);
3495
+ return ascending(f(d), x);
3496
3496
  };
3497
3497
  }
3498
3498
 
3499
- var ascendingBisect$1 = bisector$1(d3Ascending);
3500
- var bisectRight$1 = ascendingBisect$1.right;
3501
- var bisectLeft = ascendingBisect$1.left;
3499
+ var ascendingBisect = bisector(ascending);
3500
+ var bisectRight = ascendingBisect.right;
3501
+ var bisectLeft = ascendingBisect.left;
3502
3502
 
3503
3503
  function pairs(array, f) {
3504
3504
  if (f == null) f = pair;
@@ -3535,7 +3535,7 @@ function d3Descending(a, b) {
3535
3535
  return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;
3536
3536
  }
3537
3537
 
3538
- function number$3(x) {
3538
+ function number$2(x) {
3539
3539
  return x === null ? NaN : +x;
3540
3540
  }
3541
3541
 
@@ -3550,7 +3550,7 @@ function d3Variance(values, valueof) {
3550
3550
 
3551
3551
  if (valueof == null) {
3552
3552
  while (++i < n) {
3553
- if (!isNaN(value = number$3(values[i]))) {
3553
+ if (!isNaN(value = number$2(values[i]))) {
3554
3554
  delta = value - mean;
3555
3555
  mean += delta / ++m;
3556
3556
  sum += delta * (value - mean);
@@ -3560,7 +3560,7 @@ function d3Variance(values, valueof) {
3560
3560
 
3561
3561
  else {
3562
3562
  while (++i < n) {
3563
- if (!isNaN(value = number$3(valueof(values[i], i, values)))) {
3563
+ if (!isNaN(value = number$2(valueof(values[i], i, values)))) {
3564
3564
  delta = value - mean;
3565
3565
  mean += delta / ++m;
3566
3566
  sum += delta * (value - mean);
@@ -3629,7 +3629,7 @@ function identity$3(x) {
3629
3629
  return x;
3630
3630
  }
3631
3631
 
3632
- function range(start, stop, step) {
3632
+ function sequence(start, stop, step) {
3633
3633
  start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step;
3634
3634
 
3635
3635
  var i = -1,
@@ -3643,11 +3643,11 @@ function range(start, stop, step) {
3643
3643
  return range;
3644
3644
  }
3645
3645
 
3646
- var e10$1 = Math.sqrt(50),
3647
- e5$1 = Math.sqrt(10),
3648
- e2$1 = Math.sqrt(2);
3646
+ var e10 = Math.sqrt(50),
3647
+ e5 = Math.sqrt(10),
3648
+ e2 = Math.sqrt(2);
3649
3649
 
3650
- function ticks$1(start, stop, count) {
3650
+ function ticks(start, stop, count) {
3651
3651
  var reverse,
3652
3652
  i = -1,
3653
3653
  n,
@@ -3657,7 +3657,7 @@ function ticks$1(start, stop, count) {
3657
3657
  stop = +stop, start = +start, count = +count;
3658
3658
  if (start === stop && count > 0) return [start];
3659
3659
  if (reverse = stop < start) n = start, start = stop, stop = n;
3660
- if ((step = tickIncrement$1(start, stop, count)) === 0 || !isFinite(step)) return [];
3660
+ if ((step = tickIncrement(start, stop, count)) === 0 || !isFinite(step)) return [];
3661
3661
 
3662
3662
  if (step > 0) {
3663
3663
  start = Math.ceil(start / step);
@@ -3676,22 +3676,22 @@ function ticks$1(start, stop, count) {
3676
3676
  return ticks;
3677
3677
  }
3678
3678
 
3679
- function tickIncrement$1(start, stop, count) {
3679
+ function tickIncrement(start, stop, count) {
3680
3680
  var step = (stop - start) / Math.max(0, count),
3681
3681
  power = Math.floor(Math.log(step) / Math.LN10),
3682
3682
  error = step / Math.pow(10, power);
3683
3683
  return power >= 0
3684
- ? (error >= e10$1 ? 10 : error >= e5$1 ? 5 : error >= e2$1 ? 2 : 1) * Math.pow(10, power)
3685
- : -Math.pow(10, -power) / (error >= e10$1 ? 10 : error >= e5$1 ? 5 : error >= e2$1 ? 2 : 1);
3684
+ ? (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1) * Math.pow(10, power)
3685
+ : -Math.pow(10, -power) / (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1);
3686
3686
  }
3687
3687
 
3688
- function tickStep$1(start, stop, count) {
3688
+ function tickStep(start, stop, count) {
3689
3689
  var step0 = Math.abs(stop - start) / Math.max(0, count),
3690
3690
  step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)),
3691
3691
  error = step0 / step1;
3692
- if (error >= e10$1) step1 *= 10;
3693
- else if (error >= e5$1) step1 *= 5;
3694
- else if (error >= e2$1) step1 *= 2;
3692
+ if (error >= e10) step1 *= 10;
3693
+ else if (error >= e5) step1 *= 5;
3694
+ else if (error >= e2) step1 *= 2;
3695
3695
  return stop < start ? -step1 : step1;
3696
3696
  }
3697
3697
 
@@ -3721,8 +3721,8 @@ function histogram() {
3721
3721
 
3722
3722
  // Convert number of thresholds into uniform thresholds.
3723
3723
  if (!Array.isArray(tz)) {
3724
- tz = tickStep$1(x0, x1, tz);
3725
- tz = range(Math.ceil(x0 / tz) * tz, x1, tz); // exclusive
3724
+ tz = tickStep(x0, x1, tz);
3725
+ tz = sequence(Math.ceil(x0 / tz) * tz, x1, tz); // exclusive
3726
3726
  }
3727
3727
 
3728
3728
  // Remove any thresholds outside the domain.
@@ -3744,7 +3744,7 @@ function histogram() {
3744
3744
  for (i = 0; i < n; ++i) {
3745
3745
  x = values[i];
3746
3746
  if (x0 <= x && x <= x1) {
3747
- bins[bisectRight$1(tz, x, 0, m)].push(data[i]);
3747
+ bins[bisectRight(tz, x, 0, m)].push(data[i]);
3748
3748
  }
3749
3749
  }
3750
3750
 
@@ -3766,8 +3766,8 @@ function histogram() {
3766
3766
  return histogram;
3767
3767
  }
3768
3768
 
3769
- function quantile$1(values, p, valueof) {
3770
- if (valueof == null) valueof = number$3;
3769
+ function threshold$1(values, p, valueof) {
3770
+ if (valueof == null) valueof = number$2;
3771
3771
  if (!(n = values.length)) return;
3772
3772
  if ((p = +p) <= 0 || n < 2) return +valueof(values[0], 0, values);
3773
3773
  if (p >= 1) return +valueof(values[n - 1], n - 1, values);
@@ -3780,8 +3780,8 @@ function quantile$1(values, p, valueof) {
3780
3780
  }
3781
3781
 
3782
3782
  function freedmanDiaconis(values, min, max) {
3783
- values = map$3.call(values, number$3).sort(d3Ascending);
3784
- return Math.ceil((max - min) / (2 * (quantile$1(values, 0.75) - quantile$1(values, 0.25)) * Math.pow(values.length, -1 / 3)));
3783
+ values = map$3.call(values, number$2).sort(ascending);
3784
+ return Math.ceil((max - min) / (2 * (threshold$1(values, 0.75) - threshold$1(values, 0.25)) * Math.pow(values.length, -1 / 3)));
3785
3785
  }
3786
3786
 
3787
3787
  function scott(values, min, max) {
@@ -3832,14 +3832,14 @@ function d3Mean(values, valueof) {
3832
3832
 
3833
3833
  if (valueof == null) {
3834
3834
  while (++i < n) {
3835
- if (!isNaN(value = number$3(values[i]))) sum += value;
3835
+ if (!isNaN(value = number$2(values[i]))) sum += value;
3836
3836
  else --m;
3837
3837
  }
3838
3838
  }
3839
3839
 
3840
3840
  else {
3841
3841
  while (++i < n) {
3842
- if (!isNaN(value = number$3(valueof(values[i], i, values)))) sum += value;
3842
+ if (!isNaN(value = number$2(valueof(values[i], i, values)))) sum += value;
3843
3843
  else --m;
3844
3844
  }
3845
3845
  }
@@ -3855,7 +3855,7 @@ function d3Median(values, valueof) {
3855
3855
 
3856
3856
  if (valueof == null) {
3857
3857
  while (++i < n) {
3858
- if (!isNaN(value = number$3(values[i]))) {
3858
+ if (!isNaN(value = number$2(values[i]))) {
3859
3859
  numbers.push(value);
3860
3860
  }
3861
3861
  }
@@ -3863,13 +3863,13 @@ function d3Median(values, valueof) {
3863
3863
 
3864
3864
  else {
3865
3865
  while (++i < n) {
3866
- if (!isNaN(value = number$3(valueof(values[i], i, values)))) {
3866
+ if (!isNaN(value = number$2(valueof(values[i], i, values)))) {
3867
3867
  numbers.push(value);
3868
3868
  }
3869
3869
  }
3870
3870
  }
3871
3871
 
3872
- return quantile$1(numbers.sort(d3Ascending), 0.5);
3872
+ return threshold$1(numbers.sort(ascending), 0.5);
3873
3873
  }
3874
3874
 
3875
3875
  function merge(arrays) {
@@ -3943,7 +3943,7 @@ function scan(values, compare) {
3943
3943
  xi,
3944
3944
  xj = values[j];
3945
3945
 
3946
- if (compare == null) compare = d3Ascending;
3946
+ if (compare == null) compare = ascending;
3947
3947
 
3948
3948
  while (++i < n) {
3949
3949
  if (compare(xi = values[i], xj) < 0 || compare(xj, xj) !== 0) {
@@ -4835,8 +4835,6 @@ millisecond.every = function(k) {
4835
4835
  return (end - start) / k;
4836
4836
  });
4837
4837
  };
4838
-
4839
- var utcMillisecond = millisecond;
4840
4838
  millisecond.range;
4841
4839
 
4842
4840
  var durationSecond$1 = 1e3;
@@ -4854,8 +4852,6 @@ var second = newInterval(function(date) {
4854
4852
  }, function(date) {
4855
4853
  return date.getUTCSeconds();
4856
4854
  });
4857
-
4858
- var utcSecond = second;
4859
4855
  second.range;
4860
4856
 
4861
4857
  var minute = newInterval(function(date) {
@@ -4867,8 +4863,6 @@ var minute = newInterval(function(date) {
4867
4863
  }, function(date) {
4868
4864
  return date.getMinutes();
4869
4865
  });
4870
-
4871
- var timeMinute = minute;
4872
4866
  minute.range;
4873
4867
 
4874
4868
  var hour = newInterval(function(date) {
@@ -4880,8 +4874,6 @@ var hour = newInterval(function(date) {
4880
4874
  }, function(date) {
4881
4875
  return date.getHours();
4882
4876
  });
4883
-
4884
- var timeHour = hour;
4885
4877
  hour.range;
4886
4878
 
4887
4879
  var day = newInterval(function(date) {
@@ -4893,8 +4885,6 @@ var day = newInterval(function(date) {
4893
4885
  }, function(date) {
4894
4886
  return date.getDate() - 1;
4895
4887
  });
4896
-
4897
- var timeDay = day;
4898
4888
  day.range;
4899
4889
 
4900
4890
  function weekday(i) {
@@ -4934,8 +4924,6 @@ var month = newInterval(function(date) {
4934
4924
  }, function(date) {
4935
4925
  return date.getMonth();
4936
4926
  });
4937
-
4938
- var timeMonth = month;
4939
4927
  month.range;
4940
4928
 
4941
4929
  var year = newInterval(function(date) {
@@ -4959,8 +4947,6 @@ year.every = function(k) {
4959
4947
  date.setFullYear(date.getFullYear() + step * k);
4960
4948
  });
4961
4949
  };
4962
-
4963
- var timeYear = year;
4964
4950
  year.range;
4965
4951
 
4966
4952
  var utcMinute = newInterval(function(date) {
@@ -4972,8 +4958,6 @@ var utcMinute = newInterval(function(date) {
4972
4958
  }, function(date) {
4973
4959
  return date.getUTCMinutes();
4974
4960
  });
4975
-
4976
- var utcMinute$1 = utcMinute;
4977
4961
  utcMinute.range;
4978
4962
 
4979
4963
  var utcHour = newInterval(function(date) {
@@ -4985,8 +4969,6 @@ var utcHour = newInterval(function(date) {
4985
4969
  }, function(date) {
4986
4970
  return date.getUTCHours();
4987
4971
  });
4988
-
4989
- var utcHour$1 = utcHour;
4990
4972
  utcHour.range;
4991
4973
 
4992
4974
  var utcDay = newInterval(function(date) {
@@ -4998,8 +4980,6 @@ var utcDay = newInterval(function(date) {
4998
4980
  }, function(date) {
4999
4981
  return date.getUTCDate() - 1;
5000
4982
  });
5001
-
5002
- var utcDay$1 = utcDay;
5003
4983
  utcDay.range;
5004
4984
 
5005
4985
  function utcWeekday(i) {
@@ -5039,8 +5019,6 @@ var utcMonth = newInterval(function(date) {
5039
5019
  }, function(date) {
5040
5020
  return date.getUTCMonth();
5041
5021
  });
5042
-
5043
- var utcMonth$1 = utcMonth;
5044
5022
  utcMonth.range;
5045
5023
 
5046
5024
  var utcYear = newInterval(function(date) {
@@ -5064,8 +5042,6 @@ utcYear.every = function(k) {
5064
5042
  date.setUTCFullYear(date.getUTCFullYear() + step * k);
5065
5043
  });
5066
5044
  };
5067
-
5068
- var utcYear$1 = utcYear;
5069
5045
  utcYear.range;
5070
5046
 
5071
5047
  function localDate(d) {
@@ -5256,7 +5232,7 @@ function formatLocale(locale) {
5256
5232
  return function(string) {
5257
5233
  var d = newDate(1900, undefined, 1),
5258
5234
  i = parseSpecifier(d, specifier, string += "", 0),
5259
- week, day;
5235
+ week, day$1;
5260
5236
  if (i != string.length) return null;
5261
5237
 
5262
5238
  // If a UNIX timestamp is specified, return it.
@@ -5277,25 +5253,25 @@ function formatLocale(locale) {
5277
5253
  if (d.V < 1 || d.V > 53) return null;
5278
5254
  if (!("w" in d)) d.w = 1;
5279
5255
  if ("Z" in d) {
5280
- week = utcDate(newDate(d.y, 0, 1)), day = week.getUTCDay();
5281
- week = day > 4 || day === 0 ? utcMonday.ceil(week) : utcMonday(week);
5282
- week = utcDay$1.offset(week, (d.V - 1) * 7);
5256
+ week = utcDate(newDate(d.y, 0, 1)), day$1 = week.getUTCDay();
5257
+ week = day$1 > 4 || day$1 === 0 ? utcMonday.ceil(week) : utcMonday(week);
5258
+ week = utcDay.offset(week, (d.V - 1) * 7);
5283
5259
  d.y = week.getUTCFullYear();
5284
5260
  d.m = week.getUTCMonth();
5285
5261
  d.d = week.getUTCDate() + (d.w + 6) % 7;
5286
5262
  } else {
5287
- week = localDate(newDate(d.y, 0, 1)), day = week.getDay();
5288
- week = day > 4 || day === 0 ? monday.ceil(week) : monday(week);
5289
- week = timeDay.offset(week, (d.V - 1) * 7);
5263
+ week = localDate(newDate(d.y, 0, 1)), day$1 = week.getDay();
5264
+ week = day$1 > 4 || day$1 === 0 ? monday.ceil(week) : monday(week);
5265
+ week = day.offset(week, (d.V - 1) * 7);
5290
5266
  d.y = week.getFullYear();
5291
5267
  d.m = week.getMonth();
5292
5268
  d.d = week.getDate() + (d.w + 6) % 7;
5293
5269
  }
5294
5270
  } else if ("W" in d || "U" in d) {
5295
5271
  if (!("w" in d)) d.w = "u" in d ? d.u % 7 : "W" in d ? 1 : 0;
5296
- day = "Z" in d ? utcDate(newDate(d.y, 0, 1)).getUTCDay() : localDate(newDate(d.y, 0, 1)).getDay();
5272
+ day$1 = "Z" in d ? utcDate(newDate(d.y, 0, 1)).getUTCDay() : localDate(newDate(d.y, 0, 1)).getDay();
5297
5273
  d.m = 0;
5298
- d.d = "W" in d ? (d.w + 6) % 7 + d.W * 7 - (day + 5) % 7 : d.w + d.U * 7 - (day + 6) % 7;
5274
+ d.d = "W" in d ? (d.w + 6) % 7 + d.W * 7 - (day$1 + 5) % 7 : d.w + d.U * 7 - (day$1 + 6) % 7;
5299
5275
  }
5300
5276
 
5301
5277
  // If a time zone is specified, all fields are interpreted as UTC and then
@@ -5581,7 +5557,7 @@ function formatHour12(d, p) {
5581
5557
  }
5582
5558
 
5583
5559
  function formatDayOfYear(d, p) {
5584
- return pad(1 + timeDay.count(timeYear(d), d), p, 3);
5560
+ return pad(1 + day.count(year(d), d), p, 3);
5585
5561
  }
5586
5562
 
5587
5563
  function formatMilliseconds(d, p) {
@@ -5610,7 +5586,7 @@ function formatWeekdayNumberMonday(d) {
5610
5586
  }
5611
5587
 
5612
5588
  function formatWeekNumberSunday(d, p) {
5613
- return pad(sunday.count(timeYear(d) - 1, d), p, 2);
5589
+ return pad(sunday.count(year(d) - 1, d), p, 2);
5614
5590
  }
5615
5591
 
5616
5592
  function dISO(d) {
@@ -5620,7 +5596,7 @@ function dISO(d) {
5620
5596
 
5621
5597
  function formatWeekNumberISO(d, p) {
5622
5598
  d = dISO(d);
5623
- return pad(thursday.count(timeYear(d), d) + (timeYear(d).getDay() === 4), p, 2);
5599
+ return pad(thursday.count(year(d), d) + (year(d).getDay() === 4), p, 2);
5624
5600
  }
5625
5601
 
5626
5602
  function formatWeekdayNumberSunday(d) {
@@ -5628,7 +5604,7 @@ function formatWeekdayNumberSunday(d) {
5628
5604
  }
5629
5605
 
5630
5606
  function formatWeekNumberMonday(d, p) {
5631
- return pad(monday.count(timeYear(d) - 1, d), p, 2);
5607
+ return pad(monday.count(year(d) - 1, d), p, 2);
5632
5608
  }
5633
5609
 
5634
5610
  function formatYear(d, p) {
@@ -5670,7 +5646,7 @@ function formatUTCHour12(d, p) {
5670
5646
  }
5671
5647
 
5672
5648
  function formatUTCDayOfYear(d, p) {
5673
- return pad(1 + utcDay$1.count(utcYear$1(d), d), p, 3);
5649
+ return pad(1 + utcDay.count(utcYear(d), d), p, 3);
5674
5650
  }
5675
5651
 
5676
5652
  function formatUTCMilliseconds(d, p) {
@@ -5699,7 +5675,7 @@ function formatUTCWeekdayNumberMonday(d) {
5699
5675
  }
5700
5676
 
5701
5677
  function formatUTCWeekNumberSunday(d, p) {
5702
- return pad(utcSunday.count(utcYear$1(d) - 1, d), p, 2);
5678
+ return pad(utcSunday.count(utcYear(d) - 1, d), p, 2);
5703
5679
  }
5704
5680
 
5705
5681
  function UTCdISO(d) {
@@ -5709,7 +5685,7 @@ function UTCdISO(d) {
5709
5685
 
5710
5686
  function formatUTCWeekNumberISO(d, p) {
5711
5687
  d = UTCdISO(d);
5712
- return pad(utcThursday.count(utcYear$1(d), d) + (utcYear$1(d).getUTCDay() === 4), p, 2);
5688
+ return pad(utcThursday.count(utcYear(d), d) + (utcYear(d).getUTCDay() === 4), p, 2);
5713
5689
  }
5714
5690
 
5715
5691
  function formatUTCWeekdayNumberSunday(d) {
@@ -5717,7 +5693,7 @@ function formatUTCWeekdayNumberSunday(d) {
5717
5693
  }
5718
5694
 
5719
5695
  function formatUTCWeekNumberMonday(d, p) {
5720
- return pad(utcMonday.count(utcYear$1(d) - 1, d), p, 2);
5696
+ return pad(utcMonday.count(utcYear(d) - 1, d), p, 2);
5721
5697
  }
5722
5698
 
5723
5699
  function formatUTCYear(d, p) {
@@ -7024,7 +7000,7 @@ function multiSort(data, sortBy) {
7024
7000
  var lVal = l[sortBy[i].idx];
7025
7001
  var rVal = r[sortBy[i].idx];
7026
7002
  if (lVal !== rVal) {
7027
- return sortBy[i].reverse ? d3Descending(lVal, rVal) : d3Ascending(lVal, rVal);
7003
+ return sortBy[i].reverse ? d3Descending(lVal, rVal) : ascending(lVal, rVal);
7028
7004
  }
7029
7005
  }
7030
7006
  return 0;
@@ -7370,38 +7346,38 @@ function safeRaise(domNode) {
7370
7346
 
7371
7347
  var Utility = /*#__PURE__*/Object.freeze({
7372
7348
  __proto__: null,
7373
- SelectionBase: SelectionBase,
7349
+ Selection: Selection,
7374
7350
  SelectionBag: SelectionBag,
7351
+ SelectionBase: SelectionBase,
7375
7352
  SimpleSelection: SimpleSelection,
7376
7353
  SimpleSelectionMixin: SimpleSelectionMixin,
7377
- faKeys: faKeys,
7378
- fa5Class: fa5Class,
7379
- faChar: faChar,
7380
- faCode: faCode,
7381
- removeHTMLFromString: removeHTMLFromString,
7382
- templateFields: templateFields,
7383
- template: template,
7384
- naturalSort: naturalSort,
7385
- multiSort: multiSort,
7386
- Selection: Selection,
7387
- urlParams: urlParams,
7388
- endsWith: endsWith,
7354
+ checksum: checksum,
7389
7355
  d3ArrayAdapter: d3ArrayAdapter,
7356
+ debounce: debounce,
7390
7357
  downloadBlob: downloadBlob,
7391
- timestamp: timestamp,
7392
7358
  downloadString: downloadString,
7393
- widgetPath: widgetPath,
7394
- parseClassID: parseClassID,
7395
- checksum: checksum,
7396
- getTime: getTime,
7397
- mixin: mixin,
7359
+ endsWith: endsWith,
7398
7360
  exists: exists,
7361
+ fa5Class: fa5Class,
7362
+ faChar: faChar,
7363
+ faCode: faCode,
7364
+ faKeys: faKeys,
7365
+ getTime: getTime,
7399
7366
  logStringify: logStringify,
7400
- debounce: debounce,
7367
+ mixin: mixin,
7368
+ multiSort: multiSort,
7369
+ naturalSort: naturalSort,
7370
+ parseClassID: parseClassID,
7401
7371
  parseVersionString: parseVersionString,
7402
- textSize: textSize,
7372
+ removeHTMLFromString: removeHTMLFromString,
7373
+ safeRaise: safeRaise,
7374
+ template: template,
7375
+ templateFields: templateFields,
7403
7376
  textRect: textRect,
7404
- safeRaise: safeRaise
7377
+ textSize: textSize,
7378
+ timestamp: timestamp,
7379
+ urlParams: urlParams,
7380
+ widgetPath: widgetPath
7405
7381
  });
7406
7382
 
7407
7383
  var d3Aggr = {
@@ -9105,11 +9081,11 @@ Math.sign = Math.sign || function (x) {
9105
9081
 
9106
9082
  var Platform = /*#__PURE__*/Object.freeze({
9107
9083
  __proto__: null,
9108
- version: version,
9084
+ getScrollbarWidth: getScrollbarWidth,
9109
9085
  ieVersion: ieVersion,
9110
9086
  isIE: isIE,
9111
9087
  svgMarkerGlitch: svgMarkerGlitch,
9112
- getScrollbarWidth: getScrollbarWidth
9088
+ version: version
9113
9089
  });
9114
9090
 
9115
9091
  var Transition = /** @class */ (function () {
@@ -10114,131 +10090,9 @@ var index = {
10114
10090
 
10115
10091
  var _colorbrewer = /*#__PURE__*/Object.freeze({
10116
10092
  __proto__: null,
10117
- 'default': index
10093
+ default: index
10118
10094
  });
10119
10095
 
10120
- function ascending(a, b) {
10121
- return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
10122
- }
10123
-
10124
- function bisector(compare) {
10125
- if (compare.length === 1) compare = ascendingComparator(compare);
10126
- return {
10127
- left: function(a, x, lo, hi) {
10128
- if (lo == null) lo = 0;
10129
- if (hi == null) hi = a.length;
10130
- while (lo < hi) {
10131
- var mid = lo + hi >>> 1;
10132
- if (compare(a[mid], x) < 0) lo = mid + 1;
10133
- else hi = mid;
10134
- }
10135
- return lo;
10136
- },
10137
- right: function(a, x, lo, hi) {
10138
- if (lo == null) lo = 0;
10139
- if (hi == null) hi = a.length;
10140
- while (lo < hi) {
10141
- var mid = lo + hi >>> 1;
10142
- if (compare(a[mid], x) > 0) hi = mid;
10143
- else lo = mid + 1;
10144
- }
10145
- return lo;
10146
- }
10147
- };
10148
- }
10149
-
10150
- function ascendingComparator(f) {
10151
- return function(d, x) {
10152
- return ascending(f(d), x);
10153
- };
10154
- }
10155
-
10156
- var ascendingBisect = bisector(ascending);
10157
- var bisectRight = ascendingBisect.right;
10158
-
10159
- function number$2(x) {
10160
- return x === null ? NaN : +x;
10161
- }
10162
-
10163
- function sequence(start, stop, step) {
10164
- start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step;
10165
-
10166
- var i = -1,
10167
- n = Math.max(0, Math.ceil((stop - start) / step)) | 0,
10168
- range = new Array(n);
10169
-
10170
- while (++i < n) {
10171
- range[i] = start + i * step;
10172
- }
10173
-
10174
- return range;
10175
- }
10176
-
10177
- var e10 = Math.sqrt(50),
10178
- e5 = Math.sqrt(10),
10179
- e2 = Math.sqrt(2);
10180
-
10181
- function ticks(start, stop, count) {
10182
- var reverse,
10183
- i = -1,
10184
- n,
10185
- ticks,
10186
- step;
10187
-
10188
- stop = +stop, start = +start, count = +count;
10189
- if (start === stop && count > 0) return [start];
10190
- if (reverse = stop < start) n = start, start = stop, stop = n;
10191
- if ((step = tickIncrement(start, stop, count)) === 0 || !isFinite(step)) return [];
10192
-
10193
- if (step > 0) {
10194
- start = Math.ceil(start / step);
10195
- stop = Math.floor(stop / step);
10196
- ticks = new Array(n = Math.ceil(stop - start + 1));
10197
- while (++i < n) ticks[i] = (start + i) * step;
10198
- } else {
10199
- start = Math.floor(start * step);
10200
- stop = Math.ceil(stop * step);
10201
- ticks = new Array(n = Math.ceil(start - stop + 1));
10202
- while (++i < n) ticks[i] = (start - i) / step;
10203
- }
10204
-
10205
- if (reverse) ticks.reverse();
10206
-
10207
- return ticks;
10208
- }
10209
-
10210
- function tickIncrement(start, stop, count) {
10211
- var step = (stop - start) / Math.max(0, count),
10212
- power = Math.floor(Math.log(step) / Math.LN10),
10213
- error = step / Math.pow(10, power);
10214
- return power >= 0
10215
- ? (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1) * Math.pow(10, power)
10216
- : -Math.pow(10, -power) / (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1);
10217
- }
10218
-
10219
- function tickStep(start, stop, count) {
10220
- var step0 = Math.abs(stop - start) / Math.max(0, count),
10221
- step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)),
10222
- error = step0 / step1;
10223
- if (error >= e10) step1 *= 10;
10224
- else if (error >= e5) step1 *= 5;
10225
- else if (error >= e2) step1 *= 2;
10226
- return stop < start ? -step1 : step1;
10227
- }
10228
-
10229
- function threshold$1(values, p, valueof) {
10230
- if (valueof == null) valueof = number$2;
10231
- if (!(n = values.length)) return;
10232
- if ((p = +p) <= 0 || n < 2) return +valueof(values[0], 0, values);
10233
- if (p >= 1) return +valueof(values[n - 1], n - 1, values);
10234
- var n,
10235
- i = (n - 1) * p,
10236
- i0 = Math.floor(i),
10237
- value0 = +valueof(values[i0], i0, values),
10238
- value1 = +valueof(values[i0 + 1], i0 + 1, values);
10239
- return value0 + (value1 - value0) * (i - i0);
10240
- }
10241
-
10242
10096
  var array = Array.prototype;
10243
10097
 
10244
10098
  var map = array.map;
@@ -11044,11 +10898,11 @@ function calendar(year, month, week, day, hour, minute, second, millisecond, for
11044
10898
  }
11045
10899
 
11046
10900
  function time() {
11047
- return calendar(timeYear, timeMonth, sunday, timeDay, timeHour, timeMinute, utcSecond, utcMillisecond, timeFormat).domain([new Date(2000, 0, 1), new Date(2000, 0, 2)]);
10901
+ return calendar(year, month, sunday, day, hour, minute, second, millisecond, timeFormat).domain([new Date(2000, 0, 1), new Date(2000, 0, 2)]);
11048
10902
  }
11049
10903
 
11050
10904
  function utcTime() {
11051
- return calendar(utcYear$1, utcMonth$1, utcSunday, utcDay$1, utcHour$1, utcMinute$1, utcSecond, utcMillisecond, utcFormat).domain([Date.UTC(2000, 0, 1), Date.UTC(2000, 0, 2)]);
10905
+ return calendar(utcYear, utcMonth, utcSunday, utcDay, utcHour, utcMinute, second, millisecond, utcFormat).domain([Date.UTC(2000, 0, 1), Date.UTC(2000, 0, 2)]);
11052
10906
  }
11053
10907
 
11054
10908
  function colors(s) {
@@ -11436,9 +11290,9 @@ var Palette = /*#__PURE__*/Object.freeze({
11436
11290
  __proto__: null,
11437
11291
  fetchOrdinalItem: fetchOrdinalItem,
11438
11292
  fetchRainbowItem: fetchRainbowItem,
11439
- test: test,
11440
11293
  ordinal: ordinal,
11441
11294
  rainbow: rainbow,
11295
+ test: test,
11442
11296
  textColor: textColor
11443
11297
  });
11444
11298
 
@@ -15213,5 +15067,5 @@ function brush$1(dim) {
15213
15067
 
15214
15068
  var d3Event = function () { return event; };
15215
15069
 
15216
- export { BUILD_VERSION, Button, CanvasWidget, Class, Database, Entity, EntityCard, EntityPin, EntityRect, EntityRectList, EntityVertex, FAChar, FormatSpecifier, HTMLWidget, Icon, IconBar, Image$1 as Image, List, Menu, Meta, PKG_NAME, PKG_VERSION, Palette, Platform, ProgressBar, PropertyExt, ResizeSurface, SVGGlowFilter, SVGWidget, SVGZoomWidget, SelectDropDown, SelectionBar, SelectionButton, Shape, Spacer, StickyButton, Surface, Text, TextBox, TitleBar, ToggleButton, Utility, Widget, WidgetArray, active, d3Ascending as ascending, autoType, bisectRight$1 as bisect, bisectLeft, bisectRight$1 as bisectRight, bisector$1 as bisector, brush, brushSelection, brushX, brushY, point$1 as clientPoint, color, create$1 as create, creator, cross, csvFormat, csvFormatBody, csvFormatRow, csvFormatRows, csvFormatValue, csvParse, csvParseRows, cubehelix$3 as cubehelix, customEvent, d3Event, d3Descending as descending, d3Deviation as deviation, dispatch, d3Drag as drag, dragDisable, yesdrag as dragEnable, dsv as dsvFormat, backInOut as easeBack, backIn as easeBackIn, backInOut as easeBackInOut, backOut as easeBackOut, bounceOut as easeBounce, bounceIn as easeBounceIn, bounceInOut as easeBounceInOut, bounceOut as easeBounceOut, circleInOut as easeCircle, circleIn as easeCircleIn, circleInOut as easeCircleInOut, circleOut as easeCircleOut, cubicInOut as easeCubic, cubicIn as easeCubicIn, cubicInOut as easeCubicInOut, cubicOut as easeCubicOut, elasticOut as easeElastic, elasticIn as easeElasticIn, elasticInOut as easeElasticInOut, elasticOut as easeElasticOut, expInOut as easeExp, expIn as easeExpIn, expInOut as easeExpInOut, expOut as easeExpOut, linear$1 as easeLinear, polyInOut as easePoly, polyIn as easePolyIn, polyInOut as easePolyInOut, polyOut as easePolyOut, quadInOut as easeQuad, quadIn as easeQuadIn, quadInOut as easeQuadInOut, quadOut as easeQuadOut, sinInOut as easeSin, sinIn as easeSinIn, sinInOut as easeSinInOut, sinOut as easeSinOut, entries, event, extent, fontAwsesomeStyle, format, defaultLocale$1 as formatDefaultLocale, formatLocale$1 as formatLocale, formatPrefix, formatSpecifier, gray, hcl$2 as hcl, histogram, hsl$2 as hsl, interpolate$1 as interpolate, array$2 as interpolateArray, basis$1 as interpolateBasis, basisClosed as interpolateBasisClosed, cool as interpolateCool, cubehelix$2 as interpolateCubehelix, cubehelix as interpolateCubehelixDefault, cubehelixLong as interpolateCubehelixLong, date$1 as interpolateDate, discrete as interpolateDiscrete, hcl$1 as interpolateHcl, hclLong as interpolateHclLong, hsl$1 as interpolateHsl, hslLong as interpolateHslLong, hue as interpolateHue, inferno as interpolateInferno, lab as interpolateLab, magma as interpolateMagma, reinterpolate$1 as interpolateNumber, numberArray as interpolateNumberArray, object as interpolateObject, plasma as interpolatePlasma, rainbow$2 as interpolateRainbow, interpolateRgb, rgbBasis as interpolateRgbBasis, rgbBasisClosed as interpolateRgbBasisClosed, interpolateRound, interpolateString, interpolateTransformCss, interpolateTransformSvg, d3InterpolateViridis as interpolateViridis, warm as interpolateWarm, interpolateZoom, interrupt, formatIso$1 as isoFormat, parseIso$1 as isoParse, keys, lab$1 as lab, lch, local$1 as local, map$2 as map, matcher, d3Max as max, d3Mean as mean, d3Median as median, merge, d3Min as min, mouse, namespace, namespaces, d3Nest as nest, pairs, permute, piecewise, precisionFixed, precisionPrefix, precisionRound, publish, publishProxy, quantile$1 as quantile, quantize$1 as quantize, range, rgb, band as scaleBand, identity$1 as scaleIdentity, implicit as scaleImplicit, linear as scaleLinear, log as scaleLog, ordinal$1 as scaleOrdinal, point as scalePoint, pow as scalePow, quantile as scaleQuantile, quantize as scaleQuantize, sequential as scaleSequential, sqrt as scaleSqrt, threshold as scaleThreshold, time as scaleTime, utcTime as scaleUtc, scan, d3SchemeCategory10 as schemeCategory10, d3SchemeCategory20 as schemeCategory20, d3SchemeCategory20b as schemeCategory20b, d3SchemeCategory20c as schemeCategory20c, select, selectAll, selection, selector, selectorAll, set, shuffle, styleValue as style, d3Sum as sum, freedmanDiaconis as thresholdFreedmanDiaconis, scott as thresholdScott, sturges as thresholdSturges, tickIncrement$1 as tickIncrement, tickStep$1 as tickStep, ticks$1 as ticks, timeFormat, defaultLocale as timeFormatDefaultLocale, formatLocale as timeFormatLocale, timeParse, touch, touches, transition, transpose, tsvFormat, tsvFormatBody, tsvFormatRow, tsvFormatRows, tsvFormatValue, tsvParse, tsvParseRows, utcFormat, utcParse, d3Values as values, d3Variance as variance, defaultView as window, zip, d3Zoom as zoom, identity as zoomIdentity, transform as zoomTransform };
15070
+ export { BUILD_VERSION, Button, CanvasWidget, Class, Database, Entity, EntityCard, EntityPin, EntityRect, EntityRectList, EntityVertex, FAChar, FormatSpecifier, HTMLWidget, Icon, IconBar, Image$1 as Image, List, Menu, Meta, PKG_NAME, PKG_VERSION, Palette, Platform, ProgressBar, PropertyExt, ResizeSurface, SVGGlowFilter, SVGWidget, SVGZoomWidget, SelectDropDown, SelectionBar, SelectionButton, Shape, Spacer, StickyButton, Surface, Text, TextBox, TitleBar, ToggleButton, Utility, Widget, WidgetArray, active, ascending, autoType, bisectRight as bisect, bisectLeft, bisectRight, bisector, brush, brushSelection, brushX, brushY, point$1 as clientPoint, color, create$1 as create, creator, cross, csvFormat, csvFormatBody, csvFormatRow, csvFormatRows, csvFormatValue, csvParse, csvParseRows, cubehelix$3 as cubehelix, customEvent, d3Event, d3Descending as descending, d3Deviation as deviation, dispatch, d3Drag as drag, dragDisable, yesdrag as dragEnable, dsv as dsvFormat, backInOut as easeBack, backIn as easeBackIn, backInOut as easeBackInOut, backOut as easeBackOut, bounceOut as easeBounce, bounceIn as easeBounceIn, bounceInOut as easeBounceInOut, bounceOut as easeBounceOut, circleInOut as easeCircle, circleIn as easeCircleIn, circleInOut as easeCircleInOut, circleOut as easeCircleOut, cubicInOut as easeCubic, cubicIn as easeCubicIn, cubicInOut as easeCubicInOut, cubicOut as easeCubicOut, elasticOut as easeElastic, elasticIn as easeElasticIn, elasticInOut as easeElasticInOut, elasticOut as easeElasticOut, expInOut as easeExp, expIn as easeExpIn, expInOut as easeExpInOut, expOut as easeExpOut, linear$1 as easeLinear, polyInOut as easePoly, polyIn as easePolyIn, polyInOut as easePolyInOut, polyOut as easePolyOut, quadInOut as easeQuad, quadIn as easeQuadIn, quadInOut as easeQuadInOut, quadOut as easeQuadOut, sinInOut as easeSin, sinIn as easeSinIn, sinInOut as easeSinInOut, sinOut as easeSinOut, entries, event, extent, fontAwsesomeStyle, format, defaultLocale$1 as formatDefaultLocale, formatLocale$1 as formatLocale, formatPrefix, formatSpecifier, gray, hcl$2 as hcl, histogram, hsl$2 as hsl, interpolate$1 as interpolate, array$2 as interpolateArray, basis$1 as interpolateBasis, basisClosed as interpolateBasisClosed, cool as interpolateCool, cubehelix$2 as interpolateCubehelix, cubehelix as interpolateCubehelixDefault, cubehelixLong as interpolateCubehelixLong, date$1 as interpolateDate, discrete as interpolateDiscrete, hcl$1 as interpolateHcl, hclLong as interpolateHclLong, hsl$1 as interpolateHsl, hslLong as interpolateHslLong, hue as interpolateHue, inferno as interpolateInferno, lab as interpolateLab, magma as interpolateMagma, reinterpolate$1 as interpolateNumber, numberArray as interpolateNumberArray, object as interpolateObject, plasma as interpolatePlasma, rainbow$2 as interpolateRainbow, interpolateRgb, rgbBasis as interpolateRgbBasis, rgbBasisClosed as interpolateRgbBasisClosed, interpolateRound, interpolateString, interpolateTransformCss, interpolateTransformSvg, d3InterpolateViridis as interpolateViridis, warm as interpolateWarm, interpolateZoom, interrupt, formatIso$1 as isoFormat, parseIso$1 as isoParse, keys, lab$1 as lab, lch, local$1 as local, map$2 as map, matcher, d3Max as max, d3Mean as mean, d3Median as median, merge, d3Min as min, mouse, namespace, namespaces, d3Nest as nest, pairs, permute, piecewise, precisionFixed, precisionPrefix, precisionRound, publish, publishProxy, threshold$1 as quantile, quantize$1 as quantize, sequence as range, rgb, band as scaleBand, identity$1 as scaleIdentity, implicit as scaleImplicit, linear as scaleLinear, log as scaleLog, ordinal$1 as scaleOrdinal, point as scalePoint, pow as scalePow, quantile as scaleQuantile, quantize as scaleQuantize, sequential as scaleSequential, sqrt as scaleSqrt, threshold as scaleThreshold, time as scaleTime, utcTime as scaleUtc, scan, d3SchemeCategory10 as schemeCategory10, d3SchemeCategory20 as schemeCategory20, d3SchemeCategory20b as schemeCategory20b, d3SchemeCategory20c as schemeCategory20c, select, selectAll, selection, selector, selectorAll, set, shuffle, styleValue as style, d3Sum as sum, freedmanDiaconis as thresholdFreedmanDiaconis, scott as thresholdScott, sturges as thresholdSturges, tickIncrement, tickStep, ticks, timeFormat, defaultLocale as timeFormatDefaultLocale, formatLocale as timeFormatLocale, timeParse, touch, touches, transition, transpose, tsvFormat, tsvFormatBody, tsvFormatRow, tsvFormatRows, tsvFormatValue, tsvParse, tsvParseRows, utcFormat, utcParse, d3Values as values, d3Variance as variance, defaultView as window, zip, d3Zoom as zoom, identity as zoomIdentity, transform as zoomTransform };
15217
15071
  //# sourceMappingURL=index.es6.js.map