@hpcc-js/phosphor 2.16.4 → 2.16.6

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 { select, Widget as Widget$1, HTMLWidget } from '@hpcc-js/common';
2
2
 
3
3
  var PKG_NAME = "@hpcc-js/phosphor";
4
- var PKG_VERSION = "2.16.4";
5
- var BUILD_VERSION = "2.104.8";
4
+ var PKG_VERSION = "2.16.6";
5
+ var BUILD_VERSION = "2.104.13";
6
6
 
7
7
  // Copyright (c) Jupyter Development Team.
8
8
  // Distributed under the terms of the Modified BSD License.
@@ -5297,6 +5297,8 @@ var Private$o;
5297
5297
  *
5298
5298
  * #### Notes
5299
5299
  * Most operations have `O(log32 n)` or better complexity.
5300
+ *
5301
+ * @deprecated This class will be removed in @lumino/collections@^2.0.0
5300
5302
  */
5301
5303
  var BPlusTree = /** @class */ (function () {
5302
5304
  /**
@@ -5582,6 +5584,8 @@ var BPlusTree = /** @class */ (function () {
5582
5584
  }());
5583
5585
  /**
5584
5586
  * The namespace for the `BPlusTree` class statics.
5587
+ *
5588
+ * @deprecated This namespace will be removed in @lumino/collections@^2.0.0
5585
5589
  */
5586
5590
  (function (BPlusTree) {
5587
5591
  /**
@@ -14272,13 +14276,14 @@ var AccordionPanel = /** @class */ (function (_super) {
14272
14276
  var Renderer = /** @class */ (function (_super) {
14273
14277
  __extends$4(Renderer, _super);
14274
14278
  function Renderer() {
14275
- var _this = _super !== null && _super.apply(this, arguments) || this;
14279
+ var _this = _super.call(this) || this;
14276
14280
  /**
14277
14281
  * A selector which matches any title node in the accordion.
14278
14282
  */
14279
14283
  _this.titleClassName = 'lm-AccordionPanel-title';
14280
14284
  _this._titleID = 0;
14281
14285
  _this._titleKeys = new WeakMap();
14286
+ _this._uuid = ++Renderer._nInstance;
14282
14287
  return _this;
14283
14288
  }
14284
14289
  /**
@@ -14304,7 +14309,6 @@ var AccordionPanel = /** @class */ (function (_super) {
14304
14309
  handle.setAttribute('tabindex', '0');
14305
14310
  handle.id = this.createTitleKey(data);
14306
14311
  handle.className = this.titleClassName;
14307
- handle.title = data.caption;
14308
14312
  for (var aData in data.dataset) {
14309
14313
  handle.dataset[aData] = data.dataset[aData];
14310
14314
  }
@@ -14313,6 +14317,7 @@ var AccordionPanel = /** @class */ (function (_super) {
14313
14317
  var label = handle.appendChild(document.createElement('span'));
14314
14318
  label.className = 'lm-AccordionPanel-titleLabel';
14315
14319
  label.textContent = data.label;
14320
+ label.title = data.caption || data.label;
14316
14321
  return handle;
14317
14322
  };
14318
14323
  /**
@@ -14329,11 +14334,12 @@ var AccordionPanel = /** @class */ (function (_super) {
14329
14334
  Renderer.prototype.createTitleKey = function (data) {
14330
14335
  var key = this._titleKeys.get(data);
14331
14336
  if (key === undefined) {
14332
- key = "title-key-" + this._titleID++;
14337
+ key = "title-key-" + this._uuid + "-" + this._titleID++;
14333
14338
  this._titleKeys.set(data, key);
14334
14339
  }
14335
14340
  return key;
14336
14341
  };
14342
+ Renderer._nInstance = 0;
14337
14343
  return Renderer;
14338
14344
  }(SplitPanel$1.Renderer));
14339
14345
  AccordionPanel.Renderer = Renderer;
@@ -19064,6 +19070,7 @@ var TabBar = /** @class */ (function (_super) {
19064
19070
  this.closeIconSelector = '.lm-TabBar-tabCloseIcon';
19065
19071
  this._tabID = 0;
19066
19072
  this._tabKeys = new WeakMap();
19073
+ this._uuid = ++Renderer._nInstance;
19067
19074
  }
19068
19075
  /**
19069
19076
  * Render the virtual element for a tab.
@@ -19150,7 +19157,7 @@ var TabBar = /** @class */ (function (_super) {
19150
19157
  Renderer.prototype.createTabKey = function (data) {
19151
19158
  var key = this._tabKeys.get(data.title);
19152
19159
  if (key === undefined) {
19153
- key = "tab-key-" + this._tabID++;
19160
+ key = "tab-key-" + this._uuid + "-" + this._tabID++;
19154
19161
  this._tabKeys.set(data.title, key);
19155
19162
  }
19156
19163
  return key;
@@ -19229,6 +19236,7 @@ var TabBar = /** @class */ (function (_super) {
19229
19236
  var extra = data.title.iconClass;
19230
19237
  return extra ? name + " " + extra : name;
19231
19238
  };
19239
+ Renderer._nInstance = 0;
19232
19240
  return Renderer;
19233
19241
  }());
19234
19242
  TabBar.Renderer = Renderer;