@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.js CHANGED
@@ -5,8 +5,8 @@
5
5
  })(this, (function (exports, common) { 'use strict';
6
6
 
7
7
  var PKG_NAME = "@hpcc-js/phosphor";
8
- var PKG_VERSION = "2.16.4";
9
- var BUILD_VERSION = "2.104.8";
8
+ var PKG_VERSION = "2.16.6";
9
+ var BUILD_VERSION = "2.104.13";
10
10
 
11
11
  // Copyright (c) Jupyter Development Team.
12
12
  // Distributed under the terms of the Modified BSD License.
@@ -5301,6 +5301,8 @@
5301
5301
  *
5302
5302
  * #### Notes
5303
5303
  * Most operations have `O(log32 n)` or better complexity.
5304
+ *
5305
+ * @deprecated This class will be removed in @lumino/collections@^2.0.0
5304
5306
  */
5305
5307
  var BPlusTree = /** @class */ (function () {
5306
5308
  /**
@@ -5586,6 +5588,8 @@
5586
5588
  }());
5587
5589
  /**
5588
5590
  * The namespace for the `BPlusTree` class statics.
5591
+ *
5592
+ * @deprecated This namespace will be removed in @lumino/collections@^2.0.0
5589
5593
  */
5590
5594
  (function (BPlusTree) {
5591
5595
  /**
@@ -14276,13 +14280,14 @@
14276
14280
  var Renderer = /** @class */ (function (_super) {
14277
14281
  __extends$4(Renderer, _super);
14278
14282
  function Renderer() {
14279
- var _this = _super !== null && _super.apply(this, arguments) || this;
14283
+ var _this = _super.call(this) || this;
14280
14284
  /**
14281
14285
  * A selector which matches any title node in the accordion.
14282
14286
  */
14283
14287
  _this.titleClassName = 'lm-AccordionPanel-title';
14284
14288
  _this._titleID = 0;
14285
14289
  _this._titleKeys = new WeakMap();
14290
+ _this._uuid = ++Renderer._nInstance;
14286
14291
  return _this;
14287
14292
  }
14288
14293
  /**
@@ -14308,7 +14313,6 @@
14308
14313
  handle.setAttribute('tabindex', '0');
14309
14314
  handle.id = this.createTitleKey(data);
14310
14315
  handle.className = this.titleClassName;
14311
- handle.title = data.caption;
14312
14316
  for (var aData in data.dataset) {
14313
14317
  handle.dataset[aData] = data.dataset[aData];
14314
14318
  }
@@ -14317,6 +14321,7 @@
14317
14321
  var label = handle.appendChild(document.createElement('span'));
14318
14322
  label.className = 'lm-AccordionPanel-titleLabel';
14319
14323
  label.textContent = data.label;
14324
+ label.title = data.caption || data.label;
14320
14325
  return handle;
14321
14326
  };
14322
14327
  /**
@@ -14333,11 +14338,12 @@
14333
14338
  Renderer.prototype.createTitleKey = function (data) {
14334
14339
  var key = this._titleKeys.get(data);
14335
14340
  if (key === undefined) {
14336
- key = "title-key-" + this._titleID++;
14341
+ key = "title-key-" + this._uuid + "-" + this._titleID++;
14337
14342
  this._titleKeys.set(data, key);
14338
14343
  }
14339
14344
  return key;
14340
14345
  };
14346
+ Renderer._nInstance = 0;
14341
14347
  return Renderer;
14342
14348
  }(SplitPanel$1.Renderer));
14343
14349
  AccordionPanel.Renderer = Renderer;
@@ -19068,6 +19074,7 @@
19068
19074
  this.closeIconSelector = '.lm-TabBar-tabCloseIcon';
19069
19075
  this._tabID = 0;
19070
19076
  this._tabKeys = new WeakMap();
19077
+ this._uuid = ++Renderer._nInstance;
19071
19078
  }
19072
19079
  /**
19073
19080
  * Render the virtual element for a tab.
@@ -19154,7 +19161,7 @@
19154
19161
  Renderer.prototype.createTabKey = function (data) {
19155
19162
  var key = this._tabKeys.get(data.title);
19156
19163
  if (key === undefined) {
19157
- key = "tab-key-" + this._tabID++;
19164
+ key = "tab-key-" + this._uuid + "-" + this._tabID++;
19158
19165
  this._tabKeys.set(data.title, key);
19159
19166
  }
19160
19167
  return key;
@@ -19233,6 +19240,7 @@
19233
19240
  var extra = data.title.iconClass;
19234
19241
  return extra ? name + " " + extra : name;
19235
19242
  };
19243
+ Renderer._nInstance = 0;
19236
19244
  return Renderer;
19237
19245
  }());
19238
19246
  TabBar.Renderer = Renderer;