@hpcc-js/phosphor 3.2.0 → 3.2.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
@@ -390,13 +390,9 @@ var MapIterator = (
390
390
  })(Private$s || (Private$s = {}));
391
391
  function reduce(object, fn, initial) {
392
392
  var index = 0, it = iter(object), first = it.next();
393
- if (first === void 0 && initial === void 0)
394
- throw new TypeError("Reduce of empty iterable with no initial value.");
395
393
  if (first === void 0)
396
394
  return initial;
397
395
  var second = it.next();
398
- if (second === void 0 && initial === void 0)
399
- return first;
400
396
  if (second === void 0)
401
397
  return fn(initial, first, index++);
402
398
  var accumulator;
@@ -650,7 +646,7 @@ var AttachedProperty = (
650
646
  Private$r.ownerData.delete(owner);
651
647
  }
652
648
  AttachedProperty2.clearData = clearData;
653
- })(AttachedProperty || (AttachedProperty = {}));
649
+ })(AttachedProperty);
654
650
  var Private$r;
655
651
  (function(Private2) {
656
652
  Private2.ownerData = /* @__PURE__ */ new WeakMap(), Private2.nextPID = /* @__PURE__ */ function() {
@@ -728,7 +724,7 @@ var Signal = (
728
724
  return Private$q.exceptionHandler = handler, old;
729
725
  }
730
726
  Signal2.setExceptionHandler = setExceptionHandler;
731
- })(Signal || (Signal = {}));
727
+ })(Signal);
732
728
  var Private$q;
733
729
  (function(Private2) {
734
730
  Private2.exceptionHandler = function(err) {
@@ -948,7 +944,7 @@ var DisposableSet = (
948
944
  }), set;
949
945
  }
950
946
  DisposableSet2.from = from;
951
- })(DisposableSet || (DisposableSet = {}));
947
+ })(DisposableSet);
952
948
  var ObservableDisposableSet = (
953
949
  /** @class */
954
950
  function(_super) {
@@ -979,7 +975,7 @@ var ObservableDisposableSet = (
979
975
  }), set;
980
976
  }
981
977
  ObservableDisposableSet2.from = from;
982
- })(ObservableDisposableSet || (ObservableDisposableSet = {}));
978
+ })(ObservableDisposableSet);
983
979
  var ClipboardExt;
984
980
  (function(ClipboardExt2) {
985
981
  function copyText(text) {
@@ -1158,7 +1154,7 @@ var KeycodeLayout = (
1158
1154
  return keySet;
1159
1155
  }
1160
1156
  KeycodeLayout2.convertToKeySet = convertToKeySet;
1161
- })(KeycodeLayout || (KeycodeLayout = {}));
1157
+ })(KeycodeLayout);
1162
1158
  var EN_US = new KeycodeLayout(
1163
1159
  "en-us",
1164
1160
  {
@@ -1515,7 +1511,7 @@ var __assign$1 = function() {
1515
1511
  return event.ctrlKey && mods.push("Ctrl"), event.altKey && mods.push("Alt"), event.shiftKey && mods.push("Shift"), event.metaKey && Platform.IS_MAC && mods.push("Cmd"), mods.push(key), mods.join(" ");
1516
1512
  }
1517
1513
  CommandRegistry2.keystrokeForKeydownEvent = keystrokeForKeydownEvent;
1518
- })(CommandRegistry || (CommandRegistry = {}));
1514
+ })(CommandRegistry);
1519
1515
  var Private$n;
1520
1516
  (function(Private2) {
1521
1517
  Private2.CHORD_TIMEOUT = 1e3;
@@ -1753,7 +1749,7 @@ var BPlusTree = (
1753
1749
  return tree.assign(items), tree;
1754
1750
  }
1755
1751
  BPlusTree2.from = from;
1756
- })(BPlusTree || (BPlusTree = {}));
1752
+ })(BPlusTree);
1757
1753
  var Private$1$1;
1758
1754
  (function(Private2) {
1759
1755
  var BranchNode = (
@@ -2325,7 +2321,7 @@ var LinkedList = (
2325
2321
  }()
2326
2322
  );
2327
2323
  LinkedList2.RetroNodeIterator = RetroNodeIterator;
2328
- })(LinkedList || (LinkedList = {}));
2324
+ })(LinkedList);
2329
2325
  var Private$m;
2330
2326
  (function(Private2) {
2331
2327
  var LinkedListNode = (
@@ -2691,7 +2687,7 @@ var Drag = (
2691
2687
  }
2692
2688
  Drag2.overrideCursor = overrideCursor;
2693
2689
  var overrideCursorID = 0;
2694
- })(Drag || (Drag = {}));
2690
+ })(Drag);
2695
2691
  var Private$l;
2696
2692
  (function(Private2) {
2697
2693
  Private2.SCROLL_EDGE_SIZE = 20;
@@ -2884,7 +2880,7 @@ function h(tag) {
2884
2880
  }
2885
2881
  (function(h2) {
2886
2882
  h2.a = h2.bind(void 0, "a"), h2.abbr = h2.bind(void 0, "abbr"), h2.address = h2.bind(void 0, "address"), h2.area = h2.bind(void 0, "area"), h2.article = h2.bind(void 0, "article"), h2.aside = h2.bind(void 0, "aside"), h2.audio = h2.bind(void 0, "audio"), h2.b = h2.bind(void 0, "b"), h2.bdi = h2.bind(void 0, "bdi"), h2.bdo = h2.bind(void 0, "bdo"), h2.blockquote = h2.bind(void 0, "blockquote"), h2.br = h2.bind(void 0, "br"), h2.button = h2.bind(void 0, "button"), h2.canvas = h2.bind(void 0, "canvas"), h2.caption = h2.bind(void 0, "caption"), h2.cite = h2.bind(void 0, "cite"), h2.code = h2.bind(void 0, "code"), h2.col = h2.bind(void 0, "col"), h2.colgroup = h2.bind(void 0, "colgroup"), h2.data = h2.bind(void 0, "data"), h2.datalist = h2.bind(void 0, "datalist"), h2.dd = h2.bind(void 0, "dd"), h2.del = h2.bind(void 0, "del"), h2.dfn = h2.bind(void 0, "dfn"), h2.div = h2.bind(void 0, "div"), h2.dl = h2.bind(void 0, "dl"), h2.dt = h2.bind(void 0, "dt"), h2.em = h2.bind(void 0, "em"), h2.embed = h2.bind(void 0, "embed"), h2.fieldset = h2.bind(void 0, "fieldset"), h2.figcaption = h2.bind(void 0, "figcaption"), h2.figure = h2.bind(void 0, "figure"), h2.footer = h2.bind(void 0, "footer"), h2.form = h2.bind(void 0, "form"), h2.h1 = h2.bind(void 0, "h1"), h2.h2 = h2.bind(void 0, "h2"), h2.h3 = h2.bind(void 0, "h3"), h2.h4 = h2.bind(void 0, "h4"), h2.h5 = h2.bind(void 0, "h5"), h2.h6 = h2.bind(void 0, "h6"), h2.header = h2.bind(void 0, "header"), h2.hr = h2.bind(void 0, "hr"), h2.i = h2.bind(void 0, "i"), h2.iframe = h2.bind(void 0, "iframe"), h2.img = h2.bind(void 0, "img"), h2.input = h2.bind(void 0, "input"), h2.ins = h2.bind(void 0, "ins"), h2.kbd = h2.bind(void 0, "kbd"), h2.label = h2.bind(void 0, "label"), h2.legend = h2.bind(void 0, "legend"), h2.li = h2.bind(void 0, "li"), h2.main = h2.bind(void 0, "main"), h2.map = h2.bind(void 0, "map"), h2.mark = h2.bind(void 0, "mark"), h2.meter = h2.bind(void 0, "meter"), h2.nav = h2.bind(void 0, "nav"), h2.noscript = h2.bind(void 0, "noscript"), h2.object = h2.bind(void 0, "object"), h2.ol = h2.bind(void 0, "ol"), h2.optgroup = h2.bind(void 0, "optgroup"), h2.option = h2.bind(void 0, "option"), h2.output = h2.bind(void 0, "output"), h2.p = h2.bind(void 0, "p"), h2.param = h2.bind(void 0, "param"), h2.pre = h2.bind(void 0, "pre"), h2.progress = h2.bind(void 0, "progress"), h2.q = h2.bind(void 0, "q"), h2.rp = h2.bind(void 0, "rp"), h2.rt = h2.bind(void 0, "rt"), h2.ruby = h2.bind(void 0, "ruby"), h2.s = h2.bind(void 0, "s"), h2.samp = h2.bind(void 0, "samp"), h2.section = h2.bind(void 0, "section"), h2.select = h2.bind(void 0, "select"), h2.small = h2.bind(void 0, "small"), h2.source = h2.bind(void 0, "source"), h2.span = h2.bind(void 0, "span"), h2.strong = h2.bind(void 0, "strong"), h2.sub = h2.bind(void 0, "sub"), h2.summary = h2.bind(void 0, "summary"), h2.sup = h2.bind(void 0, "sup"), h2.table = h2.bind(void 0, "table"), h2.tbody = h2.bind(void 0, "tbody"), h2.td = h2.bind(void 0, "td"), h2.textarea = h2.bind(void 0, "textarea"), h2.tfoot = h2.bind(void 0, "tfoot"), h2.th = h2.bind(void 0, "th"), h2.thead = h2.bind(void 0, "thead"), h2.time = h2.bind(void 0, "time"), h2.title = h2.bind(void 0, "title"), h2.tr = h2.bind(void 0, "tr"), h2.track = h2.bind(void 0, "track"), h2.u = h2.bind(void 0, "u"), h2.ul = h2.bind(void 0, "ul"), h2.var_ = h2.bind(void 0, "var"), h2.video = h2.bind(void 0, "video"), h2.wbr = h2.bind(void 0, "wbr");
2887
- })(h || (h = {}));
2883
+ })(h);
2888
2884
  var VirtualDOM;
2889
2885
  (function(VirtualDOM2) {
2890
2886
  function realize(node) {
@@ -3800,7 +3796,7 @@ var Title = (
3800
3796
  MessageLoop.sendMessage(widget, Widget2.Msg.BeforeDetach), widget.node.parentNode.removeChild(widget.node), MessageLoop.sendMessage(widget, Widget2.Msg.AfterDetach);
3801
3797
  }
3802
3798
  Widget2.detach = detach;
3803
- })(Widget || (Widget = {}));
3799
+ })(Widget);
3804
3800
  var Private$j;
3805
3801
  (function(Private2) {
3806
3802
  Private2.titleProperty = new AttachedProperty({
@@ -4004,7 +4000,7 @@ var Layout = (
4004
4000
  Private$i.verticalAlignmentProperty.set(widget, value);
4005
4001
  }
4006
4002
  Layout2.setVerticalAlignment = setVerticalAlignment;
4007
- })(Layout || (Layout = {}));
4003
+ })(Layout);
4008
4004
  var LayoutItem = (
4009
4005
  /** @class */
4010
4006
  function() {
@@ -4425,7 +4421,7 @@ var Utils$1 = Utils, SplitLayout = (
4425
4421
  Private$h.stretchProperty.set(widget, value);
4426
4422
  }
4427
4423
  SplitLayout2.setStretch = setStretch;
4428
- })(SplitLayout || (SplitLayout = {}));
4424
+ })(SplitLayout);
4429
4425
  var Private$h;
4430
4426
  (function(Private2) {
4431
4427
  Private2.stretchProperty = new AttachedProperty({
@@ -4740,7 +4736,7 @@ var SplitPanel$1 = (
4740
4736
  SplitLayout.setStretch(widget, value);
4741
4737
  }
4742
4738
  SplitPanel2.setStretch = setStretch;
4743
- })(SplitPanel$1 || (SplitPanel$1 = {}));
4739
+ })(SplitPanel$1);
4744
4740
  var Private$e;
4745
4741
  (function(Private2) {
4746
4742
  function createLayout(options) {
@@ -4914,7 +4910,7 @@ var AccordionPanel = (
4914
4910
  }(SplitPanel$1.Renderer)
4915
4911
  );
4916
4912
  AccordionPanel2.Renderer = Renderer, AccordionPanel2.defaultRenderer = new Renderer();
4917
- })(AccordionPanel || (AccordionPanel = {}));
4913
+ })(AccordionPanel);
4918
4914
  var Private$d;
4919
4915
  (function(Private2) {
4920
4916
  function createLayout(options) {
@@ -5120,7 +5116,7 @@ var BoxLayout = (
5120
5116
  Private$c.sizeBasisProperty.set(widget, value);
5121
5117
  }
5122
5118
  BoxLayout2.setSizeBasis = setSizeBasis;
5123
- })(BoxLayout || (BoxLayout = {}));
5119
+ })(BoxLayout);
5124
5120
  var Private$c;
5125
5121
  (function(Private2) {
5126
5122
  Private2.stretchProperty = new AttachedProperty({
@@ -5244,7 +5240,7 @@ var BoxPanel = (
5244
5240
  BoxLayout.setSizeBasis(widget, value);
5245
5241
  }
5246
5242
  BoxPanel2.setSizeBasis = setSizeBasis;
5247
- })(BoxPanel || (BoxPanel = {}));
5243
+ })(BoxPanel);
5248
5244
  var Private$b;
5249
5245
  (function(Private2) {
5250
5246
  function createLayout(options) {
@@ -5523,7 +5519,7 @@ var CommandPalette = (
5523
5519
  }()
5524
5520
  );
5525
5521
  CommandPalette2.Renderer = Renderer, CommandPalette2.defaultRenderer = new Renderer();
5526
- })(CommandPalette || (CommandPalette = {}));
5522
+ })(CommandPalette);
5527
5523
  var Private$a;
5528
5524
  (function(Private2) {
5529
5525
  function createNode() {
@@ -6182,7 +6178,7 @@ var Menu = (
6182
6178
  }()
6183
6179
  );
6184
6180
  Menu2.Renderer = Renderer, Menu2.defaultRenderer = new Renderer();
6185
- })(Menu || (Menu = {}));
6181
+ })(Menu);
6186
6182
  var Private$9;
6187
6183
  (function(Private2) {
6188
6184
  Private2.TIMER_DELAY = 300, Private2.SUBMENU_OVERLAP = 3;
@@ -7040,7 +7036,7 @@ var TabBar = (
7040
7036
  }()
7041
7037
  );
7042
7038
  TabBar2.Renderer = Renderer, TabBar2.defaultRenderer = new Renderer(), TabBar2.addButtonSelector = ".lm-TabBar-addButton";
7043
- })(TabBar || (TabBar = {}));
7039
+ })(TabBar);
7044
7040
  var Private$7;
7045
7041
  (function(Private2) {
7046
7042
  Private2.DRAG_THRESHOLD = 5, Private2.DETACH_THRESHOLD = 20;
@@ -8173,7 +8169,7 @@ var DockPanel$1 = (
8173
8169
  }()
8174
8170
  );
8175
8171
  DockPanel2.Renderer = Renderer, DockPanel2.defaultRenderer = new Renderer();
8176
- })(DockPanel$1 || (DockPanel$1 = {}));
8172
+ })(DockPanel$1);
8177
8173
  var Private$5;
8178
8174
  (function(Private2) {
8179
8175
  Private2.GOLDEN_RATIO = 0.618, Private2.DEFAULT_EDGES = {
@@ -8601,7 +8597,7 @@ var GridLayout = (
8601
8597
  Private$4.cellConfigProperty.set(widget, Private$4.normalizeConfig(value));
8602
8598
  }
8603
8599
  GridLayout2.setCellConfig = setCellConfig;
8604
- })(GridLayout || (GridLayout = {}));
8600
+ })(GridLayout);
8605
8601
  var Private$4;
8606
8602
  (function(Private2) {
8607
8603
  Private2.cellConfigProperty = new AttachedProperty({
@@ -8959,7 +8955,7 @@ var MenuBar = (
8959
8955
  }()
8960
8956
  );
8961
8957
  MenuBar2.Renderer = Renderer, MenuBar2.defaultRenderer = new Renderer();
8962
- })(MenuBar || (MenuBar = {}));
8958
+ })(MenuBar);
8963
8959
  var Private$3;
8964
8960
  (function(Private2) {
8965
8961
  function createNode() {