@hpcc-js/common 3.3.9 → 3.4.1

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
@@ -1736,7 +1736,7 @@ function nogamma(a, b) {
1736
1736
  return d ? linear$2(a, d) : constant$5(isNaN(a) ? b : a);
1737
1737
  }
1738
1738
  __name(nogamma, "nogamma");
1739
- const interpolateRgb = (/* @__PURE__ */ __name(function rgbGamma(y) {
1739
+ const interpolateRgb = (/* @__PURE__ */ __name((function rgbGamma(y) {
1740
1740
  var color2 = gamma(y);
1741
1741
  function rgb$1(start2, end) {
1742
1742
  var r = color2((start2 = rgb(start2)).r, (end = rgb(end)).r), g = color2(start2.g, end.g), b = color2(start2.b, end.b), opacity = nogamma(start2.opacity, end.opacity);
@@ -1751,7 +1751,7 @@ const interpolateRgb = (/* @__PURE__ */ __name(function rgbGamma(y) {
1751
1751
  __name(rgb$1, "rgb$1");
1752
1752
  rgb$1.gamma = rgbGamma;
1753
1753
  return rgb$1;
1754
- }, "rgbGamma"))(1);
1754
+ }), "rgbGamma"))(1);
1755
1755
  function rgbSpline(spline) {
1756
1756
  return function(colors2) {
1757
1757
  var n = colors2.length, r = new Array(n), g = new Array(n), b = new Array(n), i, color2;
@@ -2087,7 +2087,7 @@ __name(hcl, "hcl");
2087
2087
  const hcl$1 = hcl(hue$1);
2088
2088
  var hclLong = hcl(nogamma);
2089
2089
  function cubehelix$1(hue2) {
2090
- return (/* @__PURE__ */ __name(function cubehelixGamma(y) {
2090
+ return (/* @__PURE__ */ __name((function cubehelixGamma(y) {
2091
2091
  y = +y;
2092
2092
  function cubehelix2(start2, end) {
2093
2093
  var h = hue2((start2 = cubehelix$3(start2)).h, (end = cubehelix$3(end)).h), s = nogamma(start2.s, end.s), l = nogamma(start2.l, end.l), opacity = nogamma(start2.opacity, end.opacity);
@@ -2102,7 +2102,7 @@ function cubehelix$1(hue2) {
2102
2102
  __name(cubehelix2, "cubehelix");
2103
2103
  cubehelix2.gamma = cubehelixGamma;
2104
2104
  return cubehelix2;
2105
- }, "cubehelixGamma"))(1);
2105
+ }), "cubehelixGamma"))(1);
2106
2106
  }
2107
2107
  __name(cubehelix$1, "cubehelix$1");
2108
2108
  const cubehelix$2 = cubehelix$1(hue$1);
@@ -2661,7 +2661,7 @@ function cubicInOut(t) {
2661
2661
  }
2662
2662
  __name(cubicInOut, "cubicInOut");
2663
2663
  var exponent$1 = 3;
2664
- var polyIn = (/* @__PURE__ */ __name(function custom(e) {
2664
+ var polyIn = (/* @__PURE__ */ __name((function custom(e) {
2665
2665
  e = +e;
2666
2666
  function polyIn2(t) {
2667
2667
  return Math.pow(t, e);
@@ -2669,8 +2669,8 @@ var polyIn = (/* @__PURE__ */ __name(function custom(e) {
2669
2669
  __name(polyIn2, "polyIn");
2670
2670
  polyIn2.exponent = custom;
2671
2671
  return polyIn2;
2672
- }, "custom"))(exponent$1);
2673
- var polyOut = (/* @__PURE__ */ __name(function custom2(e) {
2672
+ }), "custom"))(exponent$1);
2673
+ var polyOut = (/* @__PURE__ */ __name((function custom2(e) {
2674
2674
  e = +e;
2675
2675
  function polyOut2(t) {
2676
2676
  return 1 - Math.pow(1 - t, e);
@@ -2678,8 +2678,8 @@ var polyOut = (/* @__PURE__ */ __name(function custom2(e) {
2678
2678
  __name(polyOut2, "polyOut");
2679
2679
  polyOut2.exponent = custom2;
2680
2680
  return polyOut2;
2681
- }, "custom"))(exponent$1);
2682
- var polyInOut = (/* @__PURE__ */ __name(function custom3(e) {
2681
+ }), "custom"))(exponent$1);
2682
+ var polyInOut = (/* @__PURE__ */ __name((function custom3(e) {
2683
2683
  e = +e;
2684
2684
  function polyInOut2(t) {
2685
2685
  return ((t *= 2) <= 1 ? Math.pow(t, e) : 2 - Math.pow(2 - t, e)) / 2;
@@ -2687,7 +2687,7 @@ var polyInOut = (/* @__PURE__ */ __name(function custom3(e) {
2687
2687
  __name(polyInOut2, "polyInOut");
2688
2688
  polyInOut2.exponent = custom3;
2689
2689
  return polyInOut2;
2690
- }, "custom"))(exponent$1);
2690
+ }), "custom"))(exponent$1);
2691
2691
  var pi = Math.PI, halfPi = pi / 2;
2692
2692
  function sinIn(t) {
2693
2693
  return +t === 1 ? 1 : 1 - Math.cos(t * halfPi);
@@ -2743,7 +2743,7 @@ function bounceInOut(t) {
2743
2743
  }
2744
2744
  __name(bounceInOut, "bounceInOut");
2745
2745
  var overshoot = 1.70158;
2746
- var backIn = (/* @__PURE__ */ __name(function custom4(s) {
2746
+ var backIn = (/* @__PURE__ */ __name((function custom4(s) {
2747
2747
  s = +s;
2748
2748
  function backIn2(t) {
2749
2749
  return (t = +t) * t * (s * (t - 1) + t);
@@ -2751,8 +2751,8 @@ var backIn = (/* @__PURE__ */ __name(function custom4(s) {
2751
2751
  __name(backIn2, "backIn");
2752
2752
  backIn2.overshoot = custom4;
2753
2753
  return backIn2;
2754
- }, "custom"))(overshoot);
2755
- var backOut = (/* @__PURE__ */ __name(function custom5(s) {
2754
+ }), "custom"))(overshoot);
2755
+ var backOut = (/* @__PURE__ */ __name((function custom5(s) {
2756
2756
  s = +s;
2757
2757
  function backOut2(t) {
2758
2758
  return --t * t * ((t + 1) * s + t) + 1;
@@ -2760,8 +2760,8 @@ var backOut = (/* @__PURE__ */ __name(function custom5(s) {
2760
2760
  __name(backOut2, "backOut");
2761
2761
  backOut2.overshoot = custom5;
2762
2762
  return backOut2;
2763
- }, "custom"))(overshoot);
2764
- var backInOut = (/* @__PURE__ */ __name(function custom6(s) {
2763
+ }), "custom"))(overshoot);
2764
+ var backInOut = (/* @__PURE__ */ __name((function custom6(s) {
2765
2765
  s = +s;
2766
2766
  function backInOut2(t) {
2767
2767
  return ((t *= 2) < 1 ? t * t * ((s + 1) * t - s) : (t -= 2) * t * ((s + 1) * t + s) + 2) / 2;
@@ -2769,9 +2769,9 @@ var backInOut = (/* @__PURE__ */ __name(function custom6(s) {
2769
2769
  __name(backInOut2, "backInOut");
2770
2770
  backInOut2.overshoot = custom6;
2771
2771
  return backInOut2;
2772
- }, "custom"))(overshoot);
2772
+ }), "custom"))(overshoot);
2773
2773
  var tau = 2 * Math.PI, amplitude = 1, period = 0.3;
2774
- var elasticIn = (/* @__PURE__ */ __name(function custom7(a, p) {
2774
+ var elasticIn = (/* @__PURE__ */ __name((function custom7(a, p) {
2775
2775
  var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);
2776
2776
  function elasticIn2(t) {
2777
2777
  return a * tpmt(- --t) * Math.sin((s - t) / p);
@@ -2784,8 +2784,8 @@ var elasticIn = (/* @__PURE__ */ __name(function custom7(a, p) {
2784
2784
  return custom7(a, p2);
2785
2785
  };
2786
2786
  return elasticIn2;
2787
- }, "custom"))(amplitude, period);
2788
- var elasticOut = (/* @__PURE__ */ __name(function custom8(a, p) {
2787
+ }), "custom"))(amplitude, period);
2788
+ var elasticOut = (/* @__PURE__ */ __name((function custom8(a, p) {
2789
2789
  var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);
2790
2790
  function elasticOut2(t) {
2791
2791
  return 1 - a * tpmt(t = +t) * Math.sin((t + s) / p);
@@ -2798,8 +2798,8 @@ var elasticOut = (/* @__PURE__ */ __name(function custom8(a, p) {
2798
2798
  return custom8(a, p2);
2799
2799
  };
2800
2800
  return elasticOut2;
2801
- }, "custom"))(amplitude, period);
2802
- var elasticInOut = (/* @__PURE__ */ __name(function custom9(a, p) {
2801
+ }), "custom"))(amplitude, period);
2802
+ var elasticInOut = (/* @__PURE__ */ __name((function custom9(a, p) {
2803
2803
  var s = Math.asin(1 / (a = Math.max(1, a))) * (p /= tau);
2804
2804
  function elasticInOut2(t) {
2805
2805
  return ((t = t * 2 - 1) < 0 ? a * tpmt(-t) * Math.sin((s - t) / p) : 2 - a * tpmt(t) * Math.sin((s + t) / p)) / 2;
@@ -2812,7 +2812,7 @@ var elasticInOut = (/* @__PURE__ */ __name(function custom9(a, p) {
2812
2812
  return custom9(a, p2);
2813
2813
  };
2814
2814
  return elasticInOut2;
2815
- }, "custom"))(amplitude, period);
2815
+ }), "custom"))(amplitude, period);
2816
2816
  var defaultTiming = {
2817
2817
  time: null,
2818
2818
  // Set on use.
@@ -4831,8 +4831,8 @@ function applyMixins(derivedCtor, baseCtors) {
4831
4831
  }
4832
4832
  __name(applyMixins, "applyMixins");
4833
4833
  const _Class = class _Class {
4834
+ _class;
4834
4835
  constructor() {
4835
- __publicField(this, "_class");
4836
4836
  this._class = Object.getPrototypeOf(this)._class;
4837
4837
  }
4838
4838
  class(_) {
@@ -4926,15 +4926,15 @@ function isPrivate(obj, key) {
4926
4926
  }
4927
4927
  __name(isPrivate, "isPrivate");
4928
4928
  const _Meta = class _Meta {
4929
+ id;
4930
+ type;
4931
+ origDefaultValue;
4932
+ defaultValue;
4933
+ description;
4934
+ set;
4935
+ ext;
4936
+ checkedAssign;
4929
4937
  constructor(id2, defaultValue, type2, description, set2, ext) {
4930
- __publicField(this, "id");
4931
- __publicField(this, "type");
4932
- __publicField(this, "origDefaultValue");
4933
- __publicField(this, "defaultValue");
4934
- __publicField(this, "description");
4935
- __publicField(this, "set");
4936
- __publicField(this, "ext");
4937
- __publicField(this, "checkedAssign");
4938
4938
  ext = ext || {};
4939
4939
  this.id = id2;
4940
4940
  this.type = type2;
@@ -5045,13 +5045,13 @@ const _Meta = class _Meta {
5045
5045
  __name(_Meta, "Meta");
5046
5046
  let Meta = _Meta;
5047
5047
  const _MetaProxy = class _MetaProxy {
5048
+ id;
5049
+ type;
5050
+ proxy;
5051
+ method;
5052
+ defaultValue;
5053
+ ext;
5048
5054
  constructor(id2, proxy, method, defaultValue, ext) {
5049
- __publicField(this, "id");
5050
- __publicField(this, "type");
5051
- __publicField(this, "proxy");
5052
- __publicField(this, "method");
5053
- __publicField(this, "defaultValue");
5054
- __publicField(this, "ext");
5055
5055
  this.id = id2;
5056
5056
  this.type = "proxy";
5057
5057
  this.proxy = proxy;
@@ -5068,12 +5068,12 @@ function isMetaProxy(meta) {
5068
5068
  __name(isMetaProxy, "isMetaProxy");
5069
5069
  let propExtID = 0;
5070
5070
  const _PropertyExt = class _PropertyExt extends Class {
5071
+ _id;
5072
+ _watchArrIdx;
5073
+ _watchArr;
5074
+ _publishedProperties = [];
5071
5075
  constructor() {
5072
5076
  super();
5073
- __publicField(this, "_id");
5074
- __publicField(this, "_watchArrIdx");
5075
- __publicField(this, "_watchArr");
5076
- __publicField(this, "_publishedProperties", []);
5077
5077
  this.calcPublishedProperties();
5078
5078
  this._id = "_pe" + ++propExtID;
5079
5079
  this._watchArrIdx = 0;
@@ -5186,7 +5186,7 @@ const _PropertyExt = class _PropertyExt extends Class {
5186
5186
  }
5187
5187
  break;
5188
5188
  case "widget":
5189
- retVal[prop.id] = val == null ? void 0 : val.serialize();
5189
+ retVal[prop.id] = val?.serialize();
5190
5190
  break;
5191
5191
  default:
5192
5192
  if (this[`${prop.id}_modified`]()) {
@@ -5595,9 +5595,9 @@ function _naturalSort(a, b, order, idx, sortCaseSensitive) {
5595
5595
  }
5596
5596
  __name(_naturalSort, "_naturalSort");
5597
5597
  const _SelectionBase = class _SelectionBase {
5598
+ __widget;
5599
+ __svgGlowID;
5598
5600
  constructor(widget) {
5599
- __publicField(this, "__widget");
5600
- __publicField(this, "__svgGlowID");
5601
5601
  this.__widget = widget;
5602
5602
  }
5603
5603
  svgGlowID() {
@@ -5610,21 +5610,9 @@ const _SelectionBase = class _SelectionBase {
5610
5610
  __name(_SelectionBase, "SelectionBase");
5611
5611
  let SelectionBase = _SelectionBase;
5612
5612
  const _SelectionBag = class _SelectionBag extends SelectionBase {
5613
+ items;
5613
5614
  constructor(widget) {
5614
5615
  super(widget);
5615
- __publicField(this, "items");
5616
- __publicField(this, "click", /* @__PURE__ */ __name(function(item, evt) {
5617
- if (evt.ctrlKey) {
5618
- if (this.items[item._id]) {
5619
- this.remove(item);
5620
- } else {
5621
- this.append(item);
5622
- }
5623
- } else {
5624
- this.clear();
5625
- this.append(item);
5626
- }
5627
- }, "click"));
5628
5616
  this.items = {};
5629
5617
  }
5630
5618
  clear() {
@@ -5663,28 +5651,40 @@ const _SelectionBag = class _SelectionBag extends SelectionBase {
5663
5651
  this.append(item);
5664
5652
  }, this);
5665
5653
  }
5654
+ click = /* @__PURE__ */ __name(function(item, evt) {
5655
+ if (evt.ctrlKey) {
5656
+ if (this.items[item._id]) {
5657
+ this.remove(item);
5658
+ } else {
5659
+ this.append(item);
5660
+ }
5661
+ } else {
5662
+ this.clear();
5663
+ this.append(item);
5664
+ }
5665
+ }, "click");
5666
5666
  };
5667
5667
  __name(_SelectionBag, "SelectionBag");
5668
5668
  let SelectionBag = _SelectionBag;
5669
5669
  const _SimpleSelection = class _SimpleSelection extends SelectionBase {
5670
5670
  constructor(widget, widgetElement, skipBringToTop) {
5671
5671
  super(widget);
5672
- __publicField(this, "_widgetElement");
5673
- __publicField(this, "_skipBringToTop");
5674
- __publicField(this, "_initialSelection");
5675
5672
  this.widgetElement(widgetElement);
5676
5673
  this.skipBringToTop(skipBringToTop);
5677
5674
  }
5675
+ _widgetElement;
5678
5676
  widgetElement(_) {
5679
5677
  if (!arguments.length) return this._widgetElement;
5680
5678
  this._widgetElement = _;
5681
5679
  return this;
5682
5680
  }
5681
+ _skipBringToTop;
5683
5682
  skipBringToTop(_) {
5684
5683
  if (!arguments.length) return this._skipBringToTop;
5685
5684
  this._skipBringToTop = _;
5686
5685
  return this;
5687
5686
  }
5687
+ _initialSelection;
5688
5688
  enter(elements) {
5689
5689
  const context = this;
5690
5690
  elements.each(function(d) {
@@ -6358,11 +6358,11 @@ const d3Aggr = {
6358
6358
  };
6359
6359
  let lastFoundFormat = null;
6360
6360
  const _Field = class _Field extends PropertyExt {
6361
+ _owner;
6362
+ idx;
6363
+ _children = [];
6361
6364
  constructor(id2) {
6362
6365
  super();
6363
- __publicField(this, "_owner");
6364
- __publicField(this, "idx");
6365
- __publicField(this, "_children", []);
6366
6366
  this._id = id2 || this._id;
6367
6367
  }
6368
6368
  owner(_) {
@@ -6489,12 +6489,12 @@ Field.prototype.publish("type", "", "set", "Type", ["", "string", "number", "boo
6489
6489
  Field.prototype.publish("mask", "", "string", "Time Mask", null, { disable: /* @__PURE__ */ __name((w) => w.type() !== "time", "disable"), optional: true });
6490
6490
  Field.prototype.publish("format", "", "string", "Format", null, { optional: true });
6491
6491
  const _Grid = class _Grid extends PropertyExt {
6492
+ _dataChecksum;
6493
+ _dataVersion;
6494
+ _data = [];
6495
+ _dataChecksums = [];
6492
6496
  constructor(dataChecksum) {
6493
6497
  super();
6494
- __publicField(this, "_dataChecksum");
6495
- __publicField(this, "_dataVersion");
6496
- __publicField(this, "_data", []);
6497
- __publicField(this, "_dataChecksums", []);
6498
6498
  dataChecksum = dataChecksum || false;
6499
6499
  this._dataChecksum = dataChecksum;
6500
6500
  this._dataVersion = 0;
@@ -6924,12 +6924,12 @@ Grid.prototype.fields = function(_, clone) {
6924
6924
  }) : _);
6925
6925
  };
6926
6926
  const _LegacyView = class _LegacyView {
6927
+ _grid;
6928
+ _parsedData;
6929
+ _parsedDataChecksum;
6930
+ _formattedData;
6931
+ _formattedDataChecksum;
6927
6932
  constructor(grid) {
6928
- __publicField(this, "_grid");
6929
- __publicField(this, "_parsedData");
6930
- __publicField(this, "_parsedDataChecksum");
6931
- __publicField(this, "_formattedData");
6932
- __publicField(this, "_formattedDataChecksum");
6933
6933
  this._grid = grid;
6934
6934
  }
6935
6935
  checksum() {
@@ -6984,12 +6984,12 @@ const _LegacyView = class _LegacyView {
6984
6984
  __name(_LegacyView, "LegacyView");
6985
6985
  let LegacyView = _LegacyView;
6986
6986
  const _RollupView = class _RollupView extends LegacyView {
6987
+ _columnIndicies;
6988
+ _rollup;
6989
+ _nestChecksum;
6990
+ _nest;
6987
6991
  constructor(grid, columns, rollup) {
6988
6992
  super(grid);
6989
- __publicField(this, "_columnIndicies");
6990
- __publicField(this, "_rollup");
6991
- __publicField(this, "_nestChecksum");
6992
- __publicField(this, "_nest");
6993
6993
  if (!(columns instanceof Array)) {
6994
6994
  columns = [columns];
6995
6995
  }
@@ -7120,30 +7120,24 @@ const Database = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
7120
7120
  }, Symbol.toStringTag, { value: "Module" }));
7121
7121
  let widgetID = 0;
7122
7122
  const _Widget = class _Widget extends PropertyExt {
7123
+ _tag;
7124
+ _isRootNode = true;
7125
+ _db = new Grid();
7126
+ _pos;
7127
+ _prevPos;
7128
+ _size;
7129
+ _widgetScale;
7130
+ _visible;
7131
+ _display;
7132
+ _dataMeta = {};
7133
+ _target;
7134
+ _placeholderElement;
7135
+ _parentWidget;
7136
+ _element;
7137
+ _renderCount;
7138
+ _overlayElement;
7123
7139
  constructor() {
7124
7140
  super();
7125
- __publicField(this, "_tag");
7126
- __publicField(this, "_isRootNode", true);
7127
- __publicField(this, "_db", new Grid());
7128
- __publicField(this, "_pos");
7129
- __publicField(this, "_prevPos");
7130
- __publicField(this, "_size");
7131
- __publicField(this, "_widgetScale");
7132
- __publicField(this, "_visible");
7133
- __publicField(this, "_display");
7134
- __publicField(this, "_dataMeta", {});
7135
- __publicField(this, "_target");
7136
- __publicField(this, "_placeholderElement");
7137
- __publicField(this, "_parentWidget");
7138
- __publicField(this, "_element");
7139
- __publicField(this, "_renderCount");
7140
- __publicField(this, "_overlayElement");
7141
- __publicField(this, "_appData", new Object({}));
7142
- // Render ---
7143
- __publicField(this, "_prevNow", 0);
7144
- __publicField(this, "_lazyRender", debounce(function(debouncedCallback) {
7145
- this.render(debouncedCallback);
7146
- }, 100));
7147
7141
  this._id = _Widget._idSeed + widgetID++;
7148
7142
  this._db = new Grid();
7149
7143
  this._pos = { x: 0, y: 0 };
@@ -7365,6 +7359,7 @@ const _Widget = class _Widget extends PropertyExt {
7365
7359
  this._dataMeta = _;
7366
7360
  return this;
7367
7361
  }
7362
+ _appData = new Object({});
7368
7363
  appData(key, value) {
7369
7364
  if (arguments.length < 2) return this._appData[key];
7370
7365
  this._appData[key] = value;
@@ -7553,6 +7548,8 @@ const _Widget = class _Widget extends PropertyExt {
7553
7548
  }, this);
7554
7549
  return widgets;
7555
7550
  }
7551
+ // Render ---
7552
+ _prevNow = 0;
7556
7553
  render(callback) {
7557
7554
  if (window.__hpcc_debug) {
7558
7555
  const now2 = Date.now();
@@ -7628,6 +7625,9 @@ const _Widget = class _Widget extends PropertyExt {
7628
7625
  });
7629
7626
  });
7630
7627
  }
7628
+ _lazyRender = debounce(function(debouncedCallback) {
7629
+ this.render(debouncedCallback);
7630
+ }, 100);
7631
7631
  lazyRender(callback) {
7632
7632
  this._lazyRender(callback);
7633
7633
  return this;
@@ -7672,11 +7672,11 @@ Widget.prototype.classed = function(str_obj, _) {
7672
7672
  return origClassed.apply(this, arguments);
7673
7673
  };
7674
7674
  const _HTMLWidget = class _HTMLWidget extends Widget {
7675
+ observer;
7676
+ _drawStartPos;
7677
+ _boundingBox;
7675
7678
  constructor() {
7676
7679
  super();
7677
- __publicField(this, "observer");
7678
- __publicField(this, "_drawStartPos");
7679
- __publicField(this, "_boundingBox");
7680
7680
  this._drawStartPos = "origin";
7681
7681
  this._tag = "div";
7682
7682
  this._boundingBox = null;
@@ -7806,9 +7806,9 @@ __name(_HTMLWidget, "HTMLWidget");
7806
7806
  let HTMLWidget = _HTMLWidget;
7807
7807
  HTMLWidget.prototype._class += " common_HTMLWidget";
7808
7808
  const _CanvasWidget = class _CanvasWidget extends HTMLWidget {
7809
+ _ctx;
7809
7810
  constructor() {
7810
7811
  super();
7811
- __publicField(this, "_ctx");
7812
7812
  this._tag = "canvas";
7813
7813
  }
7814
7814
  resize(size) {
@@ -7836,7 +7836,7 @@ function version() {
7836
7836
  return _version;
7837
7837
  }
7838
7838
  __name(version, "version");
7839
- const ieVersion = function() {
7839
+ const ieVersion = (function() {
7840
7840
  const ua = navigator.userAgent;
7841
7841
  let tem;
7842
7842
  const M = ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || [];
@@ -7848,7 +7848,7 @@ const ieVersion = function() {
7848
7848
  return parseFloat(M[2]);
7849
7849
  }
7850
7850
  return null;
7851
- }();
7851
+ })();
7852
7852
  const isIE = ieVersion !== null;
7853
7853
  const svgMarkerGlitch = isIE && ieVersion <= 12;
7854
7854
  let _scrollBarWidth = null;
@@ -7948,11 +7948,11 @@ const Platform = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
7948
7948
  version
7949
7949
  }, Symbol.toStringTag, { value: "Module" }));
7950
7950
  const _Transition = class _Transition {
7951
+ _widget;
7952
+ _duration;
7953
+ _delay;
7954
+ _ease;
7951
7955
  constructor(widget) {
7952
- __publicField(this, "_widget");
7953
- __publicField(this, "_duration");
7954
- __publicField(this, "_delay");
7955
- __publicField(this, "_ease");
7956
7956
  this._widget = widget;
7957
7957
  this._duration = 250;
7958
7958
  this._delay = 0;
@@ -8045,12 +8045,12 @@ const intersectCircleLine = /* @__PURE__ */ __name(function(c, r, a1, a2) {
8045
8045
  return result;
8046
8046
  }, "intersectCircleLine");
8047
8047
  const _SVGGlowFilter = class _SVGGlowFilter {
8048
+ filter;
8049
+ feOffset;
8050
+ feColorMatrix;
8051
+ feGaussianBlur;
8052
+ feBlend;
8048
8053
  constructor(target, id2) {
8049
- __publicField(this, "filter");
8050
- __publicField(this, "feOffset");
8051
- __publicField(this, "feColorMatrix");
8052
- __publicField(this, "feGaussianBlur");
8053
- __publicField(this, "feBlend");
8054
8054
  this.filter = target.append("filter").attr("id", id2).attr("width", "130%").attr("height", "130%");
8055
8055
  this.feOffset = this.filter.append("feOffset").attr("result", "offOut").attr("in", "SourceGraphic").attr("dx", "0").attr("dy", "0");
8056
8056
  this.feColorMatrix = this.filter.append("feColorMatrix").attr("result", "matrixOut").attr("in", "offOut").attr("type", "matrix").attr("values", this.rgb2ColorMatrix("red"));
@@ -8089,21 +8089,14 @@ const _SVGGlowFilter = class _SVGGlowFilter {
8089
8089
  __name(_SVGGlowFilter, "SVGGlowFilter");
8090
8090
  let SVGGlowFilter = _SVGGlowFilter;
8091
8091
  const _SVGWidget = class _SVGWidget extends Widget {
8092
+ _boundingBox;
8093
+ transition;
8094
+ _drawStartPos;
8095
+ _svgSelectionFilter;
8096
+ _parentRelativeDiv;
8097
+ _parentOverlay;
8092
8098
  constructor() {
8093
8099
  super();
8094
- __publicField(this, "_boundingBox");
8095
- __publicField(this, "transition");
8096
- __publicField(this, "_drawStartPos");
8097
- __publicField(this, "_svgSelectionFilter");
8098
- __publicField(this, "_parentRelativeDiv");
8099
- __publicField(this, "_parentOverlay");
8100
- __publicField(this, "_enableOverflow", false);
8101
- __publicField(this, "_enableOverflowScroll", true);
8102
- __publicField(this, "_popMarkersDebounced", debounce(function(element) {
8103
- if (svgMarkerGlitch) {
8104
- this._popMarkers(element);
8105
- }
8106
- }, 250));
8107
8100
  this._tag = "g";
8108
8101
  this._boundingBox = null;
8109
8102
  this.transition = new Transition(this);
@@ -8117,11 +8110,13 @@ const _SVGWidget = class _SVGWidget extends Widget {
8117
8110
  }
8118
8111
  return retVal;
8119
8112
  }
8113
+ _enableOverflow = false;
8120
8114
  enableOverflow(_) {
8121
8115
  if (!arguments.length) return this._enableOverflow;
8122
8116
  this._enableOverflow = _;
8123
8117
  return this;
8124
8118
  }
8119
+ _enableOverflowScroll = true;
8125
8120
  enableOverflowScroll(_) {
8126
8121
  if (!arguments.length) return this._enableOverflowScroll;
8127
8122
  this._enableOverflowScroll = _;
@@ -8146,6 +8141,7 @@ const _SVGWidget = class _SVGWidget extends Widget {
8146
8141
  });
8147
8142
  break;
8148
8143
  case "center":
8144
+ /* falls through */
8149
8145
  default:
8150
8146
  this.pos({
8151
8147
  x: this._size.width / 2,
@@ -8425,6 +8421,11 @@ const _SVGWidget = class _SVGWidget extends Widget {
8425
8421
  }).attr("fixme-start", null).attr("fixme-end", null);
8426
8422
  }
8427
8423
  }
8424
+ _popMarkersDebounced = debounce(function(element) {
8425
+ if (svgMarkerGlitch) {
8426
+ this._popMarkers(element);
8427
+ }
8428
+ }, 250);
8428
8429
  _fixIEMarkers(element) {
8429
8430
  if (svgMarkerGlitch) {
8430
8431
  this._pushMarkers(element);
@@ -8438,10 +8439,9 @@ let SVGWidget = _SVGWidget;
8438
8439
  SVGWidget.prototype._class += " common_SVGWidget";
8439
8440
  SVGWidget.prototype.publish("selectionGlowColor", "red", "html-color", "Selection Glow Color");
8440
8441
  const _Text = class _Text extends SVGWidget {
8442
+ _textElement;
8441
8443
  constructor() {
8442
8444
  super();
8443
- __publicField(this, "_textElement");
8444
- __publicField(this, "_prevHash");
8445
8445
  }
8446
8446
  getBBox(refresh = false, round = false) {
8447
8447
  const textParts = this.text().split("\n");
@@ -8477,6 +8477,7 @@ const _Text = class _Text extends SVGWidget {
8477
8477
  this.dblclick();
8478
8478
  });
8479
8479
  }
8480
+ _prevHash;
8480
8481
  update(domNode, element) {
8481
8482
  super.update(domNode, element);
8482
8483
  const hash = this.hashSum([], { width: this.width() });
@@ -8519,9 +8520,9 @@ Text.prototype.publish("colorFill", null, "html-color", "Fill Color", null, { ta
8519
8520
  Text.prototype.publish("colorStroke", null, "html-color", "Fill Color", null, { tags: ["Basic"] });
8520
8521
  Text.prototype.publish("rotation", 0, "number", "Degrees of rotation", null, { tags: ["Basic"] });
8521
8522
  const _FAChar = class _FAChar extends SVGWidget {
8523
+ _text;
8522
8524
  constructor() {
8523
8525
  super();
8524
- __publicField(this, "_text");
8525
8526
  this._text = new Text().fontFamily("FontAwesome");
8526
8527
  }
8527
8528
  enter(domNode, element) {
@@ -8901,10 +8902,6 @@ var index = {
8901
8902
  12: ["#8dd3c7", "#ffffb3", "#bebada", "#fb8072", "#80b1d3", "#fdb462", "#b3de69", "#fccde5", "#d9d9d9", "#bc80bd", "#ccebc5", "#ffed6f"]
8902
8903
  }
8903
8904
  };
8904
- const _colorbrewer = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8905
- __proto__: null,
8906
- default: index
8907
- }, Symbol.toStringTag, { value: "Module" }));
8908
8905
  var array = Array.prototype;
8909
8906
  var map = array.map;
8910
8907
  var slice = array.slice;
@@ -9586,7 +9583,7 @@ const d3Schemes = {
9586
9583
  category20b: d3SchemeCategory20b,
9587
9584
  category20c: d3SchemeCategory20c
9588
9585
  };
9589
- const m_colorbrewer = index || _colorbrewer;
9586
+ const m_colorbrewer = index;
9590
9587
  const m_d3 = {
9591
9588
  Viridis: d3InterpolateViridis,
9592
9589
  Magma: magma,
@@ -9886,10 +9883,9 @@ const Palette = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
9886
9883
  textColor
9887
9884
  }, Symbol.toStringTag, { value: "Module" }));
9888
9885
  const _Shape = class _Shape extends SVGWidget {
9886
+ _tooltipElement;
9889
9887
  constructor() {
9890
9888
  super();
9891
- __publicField(this, "_tooltipElement");
9892
- __publicField(this, "_prevHash");
9893
9889
  }
9894
9890
  contains(point2) {
9895
9891
  switch (this.shape()) {
@@ -9909,6 +9905,7 @@ const _Shape = class _Shape extends SVGWidget {
9909
9905
  super.enter(domNode, element);
9910
9906
  delete this._prevHash;
9911
9907
  }
9908
+ _prevHash;
9912
9909
  update(_domNode, element) {
9913
9910
  const shape = element.selectAll("rect,circle,ellipse,path").data([this.shape()], function(d) {
9914
9911
  return d;
@@ -9999,14 +9996,13 @@ Shape.prototype.radius = function(_) {
9999
9996
  return Math.max(this.width(), this.height()) / 2;
10000
9997
  };
10001
9998
  const _Icon = class _Icon extends SVGWidget {
9999
+ _shapeWidget;
10000
+ _faChar;
10001
+ _defs;
10002
+ _root;
10003
+ _tooltipElement;
10002
10004
  constructor() {
10003
10005
  super();
10004
- __publicField(this, "_shapeWidget");
10005
- __publicField(this, "_faChar");
10006
- __publicField(this, "_defs");
10007
- __publicField(this, "_root");
10008
- __publicField(this, "_tooltipElement");
10009
- __publicField(this, "_prevHash");
10010
10006
  this._shapeWidget = new Shape();
10011
10007
  this._faChar = new FAChar();
10012
10008
  }
@@ -10046,6 +10042,7 @@ const _Icon = class _Icon extends SVGWidget {
10046
10042
  }
10047
10043
  dblclick(_domNode) {
10048
10044
  }
10045
+ _prevHash;
10049
10046
  update(domNode, element) {
10050
10047
  super.update(domNode, element);
10051
10048
  const hash = this.hashSum();
@@ -10088,19 +10085,19 @@ Icon.prototype.publish("paddingPercent", 45, "number", "Padding Percent", null,
10088
10085
  Icon.prototype.publishProxy("shape_colorFill", "_shapeWidget", "colorFill");
10089
10086
  Icon.prototype.publishProxy("shape_colorStroke", "_shapeWidget", "colorStroke");
10090
10087
  const _Entity = class _Entity extends SVGWidget {
10088
+ _icon_widget;
10089
+ _background_widget;
10090
+ _title_widget;
10091
+ _desc_widget;
10092
+ _annotation_widgets;
10093
+ _element_anno;
10094
+ _element_background;
10095
+ _element_desc;
10096
+ _element_icon;
10097
+ _element_title;
10098
+ _annotationLocal = local$1();
10091
10099
  constructor() {
10092
10100
  super();
10093
- __publicField(this, "_icon_widget");
10094
- __publicField(this, "_background_widget");
10095
- __publicField(this, "_title_widget");
10096
- __publicField(this, "_desc_widget");
10097
- __publicField(this, "_annotation_widgets");
10098
- __publicField(this, "_element_anno");
10099
- __publicField(this, "_element_background");
10100
- __publicField(this, "_element_desc");
10101
- __publicField(this, "_element_icon");
10102
- __publicField(this, "_element_title");
10103
- __publicField(this, "_annotationLocal", local$1());
10104
10101
  this._background_widget = new Shape();
10105
10102
  this._icon_widget = new Icon();
10106
10103
  this._title_widget = new Text();
@@ -10220,9 +10217,9 @@ Entity.prototype.publishProxy("cornerRadius", "_background_widget");
10220
10217
  Entity.prototype.publishProxy("arrowHeight", "_background_widget");
10221
10218
  Entity.prototype.publishProxy("arrowWidth", "_background_widget");
10222
10219
  const _EntityCard = class _EntityCard extends Entity {
10220
+ _element_textbox;
10223
10221
  constructor() {
10224
10222
  super();
10225
- __publicField(this, "_element_textbox");
10226
10223
  }
10227
10224
  enter(domNode, element) {
10228
10225
  super.enter(domNode, element);
@@ -10272,9 +10269,9 @@ EntityCard.prototype._class += " common_EntityCard";
10272
10269
  EntityCard.prototype.publish("fixedWidth", null, "number", "fixedWidth");
10273
10270
  EntityCard.prototype.publish("fixedHeight", null, "number", "fixedHeight");
10274
10271
  const _EntityPin = class _EntityPin extends Entity {
10272
+ _element_textbox;
10275
10273
  constructor() {
10276
10274
  super();
10277
- __publicField(this, "_element_textbox");
10278
10275
  }
10279
10276
  enter(domNode, element) {
10280
10277
  super.enter(domNode, element);
@@ -10355,9 +10352,9 @@ EntityPin.prototype.publish("iconOnlyShowOnHover", false, "boolean", "iconOnlySh
10355
10352
  EntityPin.prototype.publish("descriptionOnlyShowOnHover", false, "boolean", "descriptionOnlyShowOnHover");
10356
10353
  EntityPin.prototype.publish("annotationOnlyShowOnHover", false, "boolean", "annotationOnlyShowOnHover");
10357
10354
  const _EntityRect = class _EntityRect extends Entity {
10355
+ _element_textbox;
10358
10356
  constructor() {
10359
10357
  super();
10360
- __publicField(this, "_element_textbox");
10361
10358
  }
10362
10359
  enter(domNode, element) {
10363
10360
  super.enter(domNode, element);
@@ -10405,11 +10402,9 @@ EntityRect.prototype._class += " common_EntityRect";
10405
10402
  EntityRect.prototype.publish("fixedWidth", null, "number", "fixedWidth");
10406
10403
  EntityRect.prototype.publish("fixedHeight", null, "number", "fixedHeight");
10407
10404
  const _EntityRectList = class _EntityRectList extends HTMLWidget {
10405
+ _enityRectLocal = local$1();
10408
10406
  constructor() {
10409
10407
  super();
10410
- __publicField(this, "_enityRectLocal", local$1());
10411
- // SimpleSelectionMixin
10412
- __publicField(this, "_selection");
10413
10408
  SimpleSelectionMixin.call(this, true);
10414
10409
  }
10415
10410
  entityRectData() {
@@ -10467,6 +10462,8 @@ const _EntityRectList = class _EntityRectList extends HTMLWidget {
10467
10462
  }
10468
10463
  dblclick(row, column, selected) {
10469
10464
  }
10465
+ // SimpleSelectionMixin
10466
+ _selection;
10470
10467
  };
10471
10468
  __name(_EntityRectList, "EntityRectList");
10472
10469
  __publicField(_EntityRectList, "__inputs", [{
@@ -10516,11 +10513,10 @@ EntityRectList.prototype.publish("descriptionColorColumn", null, "set", "Descrip
10516
10513
  return this.columns();
10517
10514
  }, { optional: true });
10518
10515
  const _TextBox = class _TextBox extends SVGWidget {
10516
+ _shape;
10517
+ _text;
10519
10518
  constructor() {
10520
10519
  super();
10521
- __publicField(this, "_shape");
10522
- __publicField(this, "_text");
10523
- __publicField(this, "_prevHash");
10524
10520
  this._shape = new Shape().shape("rect").on("click", () => {
10525
10521
  this.click();
10526
10522
  }).on("dblclick", () => {
@@ -10565,6 +10561,7 @@ const _TextBox = class _TextBox extends SVGWidget {
10565
10561
  this._shape.target(domNode).tooltip(this.tooltip());
10566
10562
  this._text.target(domNode);
10567
10563
  }
10564
+ _prevHash;
10568
10565
  update(domNode, element) {
10569
10566
  super.update(domNode, element);
10570
10567
  const hash = this.hashSum();
@@ -10617,10 +10614,10 @@ TextBox.prototype.publishProxy("anchor", "_text");
10617
10614
  TextBox.prototype.publish("fixedSize", null);
10618
10615
  TextBox.prototype.publish("tooltip", "", "string", "Tooltip", null, { tags: ["Private"] });
10619
10616
  const _EntityVertex = class _EntityVertex extends Entity {
10617
+ _textbox_widget;
10618
+ _element_textbox;
10620
10619
  constructor() {
10621
10620
  super();
10622
- __publicField(this, "_textbox_widget");
10623
- __publicField(this, "_element_textbox");
10624
10621
  this._textbox_widget = new TextBox();
10625
10622
  }
10626
10623
  enter(domNode, element) {
@@ -10672,9 +10669,9 @@ EntityVertex.prototype.publishProxy("textboxColorStroke", "_textbox_widget", "sh
10672
10669
  EntityVertex.prototype.publishProxy("textboxColorFill", "_textbox_widget", "shape_colorFill");
10673
10670
  EntityVertex.prototype.publishProxy("textboxFontColor", "_textbox_widget", "text_colorFill");
10674
10671
  let Image$1 = (_a = class extends HTMLWidget {
10672
+ _imgElement;
10675
10673
  constructor() {
10676
10674
  super();
10677
- __publicField(this, "_imgElement");
10678
10675
  }
10679
10676
  enter(domNode, element) {
10680
10677
  super.enter(domNode, element);
@@ -10746,9 +10743,9 @@ Image$1.prototype.publish("customHeight", "20%", "string", "Applies this height
10746
10743
  Image$1.prototype.publish("lockAspectRatio", true, "boolean", "Locks the aspect ratio when scaling/stretching", null, { tags: ["Basic"], disable: /* @__PURE__ */ __name((w) => w.sizing() !== "fit", "disable") });
10747
10744
  Image$1.prototype.publish("alignment", "center", "set", "Image Alignment", ["center", "origin"], { tags: ["Basic"] });
10748
10745
  const _List = class _List extends SVGWidget {
10746
+ _listWidgets;
10749
10747
  constructor() {
10750
10748
  super();
10751
- __publicField(this, "_listWidgets");
10752
10749
  this._listWidgets = {};
10753
10750
  }
10754
10751
  update(domNode, element) {
@@ -10806,11 +10803,11 @@ let List = _List;
10806
10803
  List.prototype._class += " common_List";
10807
10804
  List.prototype.publish("anchor", "start", "set", "Anchor Position", ["", "start", "middle", "end"], { tags: ["Private"] });
10808
10805
  const _Menu = class _Menu extends SVGWidget {
10806
+ _icon = new Icon().shape("square").diameter(14).paddingPercent(0);
10807
+ _list = new List();
10808
+ _open;
10809
10809
  constructor() {
10810
10810
  super();
10811
- __publicField(this, "_icon", new Icon().shape("square").diameter(14).paddingPercent(0));
10812
- __publicField(this, "_list", new List());
10813
- __publicField(this, "_open");
10814
10811
  const context = this;
10815
10812
  this._list.click = function(d) {
10816
10813
  event.stopPropagation();
@@ -10884,11 +10881,11 @@ Menu.prototype._class += " common_Menu";
10884
10881
  Menu.prototype.publishProxy("faChar", "_icon", null, "");
10885
10882
  Menu.prototype.publishProxy("paddingPercent", "_icon", null, 10);
10886
10883
  const _ProgressBar = class _ProgressBar extends PropertyExt {
10884
+ _elementID;
10885
+ _running = false;
10886
+ _style;
10887
10887
  constructor() {
10888
10888
  super();
10889
- __publicField(this, "_elementID");
10890
- __publicField(this, "_running", false);
10891
- __publicField(this, "_style");
10892
10889
  }
10893
10890
  calcCSS(halflife, perc) {
10894
10891
  const bar_size = this.size();
@@ -11130,6 +11127,7 @@ function d3Drag() {
11130
11127
  break;
11131
11128
  case "end":
11132
11129
  delete gestures[id2], --active2;
11130
+ // nobreak
11133
11131
  case "drag":
11134
11132
  p = point2(container2, id2), n = active2;
11135
11133
  break;
@@ -11161,18 +11159,18 @@ function d3Drag() {
11161
11159
  }
11162
11160
  __name(d3Drag, "d3Drag");
11163
11161
  const _Surface = class _Surface extends SVGWidget {
11162
+ _origMenuParam;
11163
+ _origShowContent;
11164
+ _iconWidget;
11165
+ _containerWidget;
11166
+ _titleRectWidget;
11167
+ _textWidget;
11168
+ _menuWidget;
11169
+ _surfaceButtons;
11170
+ _clipRect;
11171
+ buttonContainer;
11164
11172
  constructor() {
11165
11173
  super();
11166
- __publicField(this, "_origMenuParam");
11167
- __publicField(this, "_origShowContent");
11168
- __publicField(this, "_iconWidget");
11169
- __publicField(this, "_containerWidget");
11170
- __publicField(this, "_titleRectWidget");
11171
- __publicField(this, "_textWidget");
11172
- __publicField(this, "_menuWidget");
11173
- __publicField(this, "_surfaceButtons");
11174
- __publicField(this, "_clipRect");
11175
- __publicField(this, "buttonContainer");
11176
11174
  this._iconWidget = new Icon().faChar("").paddingPercent(50);
11177
11175
  this._containerWidget = new Shape().class("container").shape("rect");
11178
11176
  this._titleRectWidget = new Shape().class("title").shape("rect");
@@ -11366,19 +11364,19 @@ Surface.prototype.showContent = function(_) {
11366
11364
  return retVal;
11367
11365
  };
11368
11366
  const _ResizeSurface = class _ResizeSurface extends Surface {
11367
+ handleWidth;
11368
+ handles;
11369
+ dispatch;
11370
+ drag;
11371
+ _domNode;
11372
+ _dragHandlePos;
11373
+ _dragStartPos;
11374
+ _dragStartSize;
11375
+ _prevPosSize;
11376
+ _textPosSize;
11377
+ _iconPosSize;
11369
11378
  constructor() {
11370
11379
  super();
11371
- __publicField(this, "handleWidth");
11372
- __publicField(this, "handles");
11373
- __publicField(this, "dispatch");
11374
- __publicField(this, "drag");
11375
- __publicField(this, "_domNode");
11376
- __publicField(this, "_dragHandlePos");
11377
- __publicField(this, "_dragStartPos");
11378
- __publicField(this, "_dragStartSize");
11379
- __publicField(this, "_prevPosSize");
11380
- __publicField(this, "_textPosSize");
11381
- __publicField(this, "_iconPosSize");
11382
11380
  this.handleWidth = 8;
11383
11381
  this.handles = [{ loc: "NW" }, { loc: "N" }, { loc: "NE" }, { loc: "E" }, { loc: "SE" }, { loc: "S" }, { loc: "SW" }, { loc: "W" }];
11384
11382
  const context = this;
@@ -11413,6 +11411,7 @@ const _ResizeSurface = class _ResizeSurface extends Surface {
11413
11411
  case "NW":
11414
11412
  delta.x = _dx / 2;
11415
11413
  delta.w = -_dx;
11414
+ /* falls through */
11416
11415
  case "N":
11417
11416
  delta.y = _dy / 2;
11418
11417
  delta.h = -_dy;
@@ -11420,6 +11419,7 @@ const _ResizeSurface = class _ResizeSurface extends Surface {
11420
11419
  case "NE":
11421
11420
  delta.y = _dy / 2;
11422
11421
  delta.h = -_dy;
11422
+ /* falls through */
11423
11423
  case "E":
11424
11424
  delta.x = _dx / 2;
11425
11425
  delta.w = _dx;
@@ -11427,6 +11427,7 @@ const _ResizeSurface = class _ResizeSurface extends Surface {
11427
11427
  case "SE":
11428
11428
  delta.x = _dx / 2;
11429
11429
  delta.w = _dx;
11430
+ /* falls through */
11430
11431
  case "S":
11431
11432
  delta.y = _dy / 2;
11432
11433
  delta.h = _dy;
@@ -11434,6 +11435,7 @@ const _ResizeSurface = class _ResizeSurface extends Surface {
11434
11435
  case "SW":
11435
11436
  delta.y = _dy / 2;
11436
11437
  delta.h = _dy;
11438
+ /* falls through */
11437
11439
  case "W":
11438
11440
  delta.x = _dx / 2;
11439
11441
  delta.w = -_dx;
@@ -11935,10 +11937,10 @@ function d3Zoom() {
11935
11937
  }
11936
11938
  __name(d3Zoom, "d3Zoom");
11937
11939
  const _Button = class _Button extends HTMLWidget {
11940
+ _enabled = true;
11941
+ _i;
11938
11942
  constructor() {
11939
11943
  super();
11940
- __publicField(this, "_enabled", true);
11941
- __publicField(this, "_i");
11942
11944
  this._tag = "a";
11943
11945
  }
11944
11946
  enter(domNode, element) {
@@ -12008,9 +12010,9 @@ let Spacer = _Spacer;
12008
12010
  Spacer.prototype._class += " common_Spacer";
12009
12011
  Spacer.prototype.publish("vline", true, "boolean");
12010
12012
  const _SelectDropDown = class _SelectDropDown extends HTMLWidget {
12013
+ _enabled = true;
12011
12014
  constructor() {
12012
12015
  super();
12013
- __publicField(this, "_enabled", true);
12014
12016
  this._tag = "select";
12015
12017
  }
12016
12018
  enabled(_) {
@@ -12056,10 +12058,10 @@ SelectDropDown.prototype.publish("values", {}, "object", "Label, Values");
12056
12058
  SelectDropDown.prototype.publish("selected", "", "string", "Selected Item");
12057
12059
  SelectDropDown.prototype.publish("tooltip", "", "string", "Displays as the button alt text attribute");
12058
12060
  const _IconBar = class _IconBar extends HTMLWidget {
12061
+ _divIconBar;
12062
+ _buttons = [];
12059
12063
  constructor() {
12060
12064
  super();
12061
- __publicField(this, "_divIconBar");
12062
- __publicField(this, "_buttons", []);
12063
12065
  }
12064
12066
  enter(domNode, element) {
12065
12067
  super.enter(domNode, element);
@@ -12101,10 +12103,7 @@ IconBar.prototype._class += " common_IconBar";
12101
12103
  IconBar.prototype.publish("buttons", [], "widgetArray", null, { internal: true });
12102
12104
  IconBar.prototype.publish("hiddenButtons", [], "widgetArray", null, { internal: true });
12103
12105
  const _SelectionButton = class _SelectionButton extends StickyButton {
12104
- constructor() {
12105
- super(...arguments);
12106
- __publicField(this, "_owner");
12107
- }
12106
+ _owner;
12108
12107
  enter(domNode, element) {
12109
12108
  element.on("click.sel", (d, idx, groups) => {
12110
12109
  this.selected(true).render();
@@ -12142,12 +12141,12 @@ __name(_SelectionBar, "SelectionBar");
12142
12141
  let SelectionBar = _SelectionBar;
12143
12142
  SelectionBar.prototype._class += " common_SelectionBar";
12144
12143
  const _TitleBar = class _TitleBar extends IconBar {
12144
+ _divTitle;
12145
+ _divTitleIcon;
12146
+ _divTitleText;
12147
+ _divDescriptionText;
12145
12148
  constructor() {
12146
12149
  super();
12147
- __publicField(this, "_divTitle");
12148
- __publicField(this, "_divTitleIcon");
12149
- __publicField(this, "_divTitleText");
12150
- __publicField(this, "_divDescriptionText");
12151
12150
  }
12152
12151
  enter(domNode, element) {
12153
12152
  this._divTitle = element.append("div").attr("class", "title-title").style("min-width", "0px");
@@ -12177,46 +12176,46 @@ TitleBar.prototype.publish("description", null, "string", "Description text", nu
12177
12176
  TitleBar.prototype.publish("descriptionFont", "", "string", "Description font-family");
12178
12177
  TitleBar.prototype.publish("descriptionFontSize", 10, "number", "Description font-size (pixels)");
12179
12178
  const _SVGZoomWidget = class _SVGZoomWidget extends SVGWidget {
12179
+ _renderElement;
12180
+ _currZoom;
12181
+ _zoomScale = 1;
12182
+ _zoomTranslate = [0, 0];
12183
+ _zoomRoot;
12184
+ _zoomGrab;
12185
+ _zoomG;
12186
+ _prevZoomable;
12187
+ _marqueeSelectionRoot;
12188
+ _marqueeSelection;
12189
+ _autoSelectionMode = false;
12190
+ _toggleMarqueeSelection = new ToggleButton().faChar("fa-square-o").tooltip("Marquee Selection").on("click", () => {
12191
+ if (this._toggleMarqueeSelection.selected()) {
12192
+ this.mouseMode("marqueeSelection");
12193
+ }
12194
+ this.updateIconBar();
12195
+ });
12196
+ _toggleZoom = new ToggleButton().faChar("fa-mouse-pointer").tooltip("Zoom").on("click", () => {
12197
+ if (this._toggleZoom.selected()) {
12198
+ this.mouseMode("zoom");
12199
+ }
12200
+ this.updateIconBar();
12201
+ });
12202
+ _iconBar = new IconBar().buttons([
12203
+ this._toggleMarqueeSelection,
12204
+ this._toggleZoom,
12205
+ new Spacer().vline(false),
12206
+ new Button().faChar("fa-arrows-alt").tooltip("Zoom to fit").on("click", () => {
12207
+ this.zoomToFit();
12208
+ }),
12209
+ new Spacer().vline(false),
12210
+ new Button().faChar("fa-plus").tooltip("Zoom in").on("click", () => {
12211
+ this.zoomPlus();
12212
+ }),
12213
+ new Button().faChar("fa-minus").tooltip("Zoom out").on("click", () => {
12214
+ this.zoomMinus();
12215
+ })
12216
+ ]);
12180
12217
  constructor() {
12181
12218
  super();
12182
- __publicField(this, "_renderElement");
12183
- __publicField(this, "_currZoom");
12184
- __publicField(this, "_zoomScale", 1);
12185
- __publicField(this, "_zoomTranslate", [0, 0]);
12186
- __publicField(this, "_zoomRoot");
12187
- __publicField(this, "_zoomGrab");
12188
- __publicField(this, "_zoomG");
12189
- __publicField(this, "_prevZoomable");
12190
- __publicField(this, "_marqueeSelectionRoot");
12191
- __publicField(this, "_marqueeSelection");
12192
- __publicField(this, "_autoSelectionMode", false);
12193
- __publicField(this, "_toggleMarqueeSelection", new ToggleButton().faChar("fa-square-o").tooltip("Marquee Selection").on("click", () => {
12194
- if (this._toggleMarqueeSelection.selected()) {
12195
- this.mouseMode("marqueeSelection");
12196
- }
12197
- this.updateIconBar();
12198
- }));
12199
- __publicField(this, "_toggleZoom", new ToggleButton().faChar("fa-mouse-pointer").tooltip("Zoom").on("click", () => {
12200
- if (this._toggleZoom.selected()) {
12201
- this.mouseMode("zoom");
12202
- }
12203
- this.updateIconBar();
12204
- }));
12205
- __publicField(this, "_iconBar", new IconBar().buttons([
12206
- this._toggleMarqueeSelection,
12207
- this._toggleZoom,
12208
- new Spacer().vline(false),
12209
- new Button().faChar("fa-arrows-alt").tooltip("Zoom to fit").on("click", () => {
12210
- this.zoomToFit();
12211
- }),
12212
- new Spacer().vline(false),
12213
- new Button().faChar("fa-plus").tooltip("Zoom in").on("click", () => {
12214
- this.zoomPlus();
12215
- }),
12216
- new Button().faChar("fa-minus").tooltip("Zoom out").on("click", () => {
12217
- this.zoomMinus();
12218
- })
12219
- ]));
12220
12219
  this._currZoom = d3Zoom().scaleExtent([0.05, 20]).on("zoom end", (evt) => {
12221
12220
  this.onZoomed();
12222
12221
  });