@wcardinal/wcardinal-ui 0.297.0 → 0.299.0

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.
Files changed (99) hide show
  1. package/dist/types/wcardinal/ui/d-chart-selection-container-impl.d.ts +18 -0
  2. package/dist/types/wcardinal/ui/{d-chart-selection-gridline-container.d.ts → d-chart-selection-container.d.ts} +4 -4
  3. package/dist/types/wcardinal/ui/d-chart-selection-gridline-x.d.ts +2 -2
  4. package/dist/types/wcardinal/ui/d-chart-selection-gridline-y.d.ts +2 -2
  5. package/dist/types/wcardinal/ui/d-chart-selection-marker.d.ts +2 -2
  6. package/dist/types/wcardinal/ui/d-chart-selection-shape-base.d.ts +5 -3
  7. package/dist/types/wcardinal/ui/d-chart-selection-shape.d.ts +4 -3
  8. package/dist/types/wcardinal/ui/d-chart-selection-simple.d.ts +2 -0
  9. package/dist/types/wcardinal/ui/d-chart-selection-sub-impl.d.ts +3 -5
  10. package/dist/types/wcardinal/ui/d-chart-selection-sub.d.ts +3 -2
  11. package/dist/types/wcardinal/ui/d-table-data-list-mapped.d.ts +1 -0
  12. package/dist/types/wcardinal/ui/d-table-data.d.ts +4 -0
  13. package/dist/types/wcardinal/ui/index.d.ts +2 -2
  14. package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-x.d.ts +6 -2
  15. package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-y.d.ts +3 -2
  16. package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-marker.d.ts +2 -2
  17. package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-shape.d.ts +7 -0
  18. package/dist/types/wcardinal/ui/theme/dark/index.d.ts +4 -0
  19. package/dist/types/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-x.d.ts +6 -2
  20. package/dist/types/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-y.d.ts +3 -2
  21. package/dist/types/wcardinal/ui/theme/white/d-theme-white-chart-selection-marker.d.ts +2 -2
  22. package/dist/types/wcardinal/ui/theme/white/d-theme-white-chart-selection-shape.d.ts +7 -0
  23. package/dist/types/wcardinal/ui/theme/white/index.d.ts +4 -0
  24. package/dist/wcardinal/ui/d-chart-selection-container-impl.js +48 -0
  25. package/dist/wcardinal/ui/d-chart-selection-container-impl.js.map +1 -0
  26. package/dist/wcardinal/ui/{d-chart-selection-gridline-container.js → d-chart-selection-container.js} +1 -1
  27. package/dist/wcardinal/ui/d-chart-selection-container.js.map +1 -0
  28. package/dist/wcardinal/ui/d-chart-selection-gridline-x.js +5 -4
  29. package/dist/wcardinal/ui/d-chart-selection-gridline-x.js.map +1 -1
  30. package/dist/wcardinal/ui/d-chart-selection-gridline-y.js +5 -4
  31. package/dist/wcardinal/ui/d-chart-selection-gridline-y.js.map +1 -1
  32. package/dist/wcardinal/ui/d-chart-selection-marker.js +3 -3
  33. package/dist/wcardinal/ui/d-chart-selection-marker.js.map +1 -1
  34. package/dist/wcardinal/ui/d-chart-selection-shape-base.js +28 -10
  35. package/dist/wcardinal/ui/d-chart-selection-shape-base.js.map +1 -1
  36. package/dist/wcardinal/ui/d-chart-selection-shape.js.map +1 -1
  37. package/dist/wcardinal/ui/d-chart-selection-simple.js +22 -6
  38. package/dist/wcardinal/ui/d-chart-selection-simple.js.map +1 -1
  39. package/dist/wcardinal/ui/d-chart-selection-sub-impl.js +11 -15
  40. package/dist/wcardinal/ui/d-chart-selection-sub-impl.js.map +1 -1
  41. package/dist/wcardinal/ui/d-chart-selection-sub.js.map +1 -1
  42. package/dist/wcardinal/ui/d-table-data-list-mapped.js +11 -0
  43. package/dist/wcardinal/ui/d-table-data-list-mapped.js.map +1 -1
  44. package/dist/wcardinal/ui/d-table-data.js.map +1 -1
  45. package/dist/wcardinal/ui/index.js +2 -2
  46. package/dist/wcardinal/ui/index.js.map +1 -1
  47. package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-axis-x-datetime.js +5 -5
  48. package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-axis-x-datetime.js.map +1 -1
  49. package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-transform.js +1 -1
  50. package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate-transform.js.map +1 -1
  51. package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate.js +1 -1
  52. package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-coordinate.js.map +1 -1
  53. package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-x.js +14 -2
  54. package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-x.js.map +1 -1
  55. package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-y.js +7 -3
  56. package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline-y.js.map +1 -1
  57. package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-marker.js +8 -9
  58. package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-marker.js.map +1 -1
  59. package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-shape.js +11 -0
  60. package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-shape.js.map +1 -0
  61. package/dist/wcardinal/ui/theme/dark/index.js +4 -0
  62. package/dist/wcardinal/ui/theme/dark/index.js.map +1 -1
  63. package/dist/wcardinal/ui/theme/white/d-theme-white-chart-axis-x-datetime.js +5 -5
  64. package/dist/wcardinal/ui/theme/white/d-theme-white-chart-axis-x-datetime.js.map +1 -1
  65. package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate-transform.js +1 -1
  66. package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate-transform.js.map +1 -1
  67. package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate.js +1 -1
  68. package/dist/wcardinal/ui/theme/white/d-theme-white-chart-coordinate.js.map +1 -1
  69. package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-x.js +15 -2
  70. package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-x.js.map +1 -1
  71. package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-y.js +8 -3
  72. package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline-y.js.map +1 -1
  73. package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-marker.js +8 -9
  74. package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-marker.js.map +1 -1
  75. package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-shape.js +11 -0
  76. package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-shape.js.map +1 -0
  77. package/dist/wcardinal/ui/theme/white/index.js +4 -0
  78. package/dist/wcardinal/ui/theme/white/index.js.map +1 -1
  79. package/dist/wcardinal-ui-theme-dark.js +38 -34
  80. package/dist/wcardinal-ui-theme-dark.min.js +2 -2
  81. package/dist/wcardinal-ui-theme-dark.min.js.map +1 -1
  82. package/dist/wcardinal-ui-theme-white.js +40 -34
  83. package/dist/wcardinal-ui-theme-white.min.js +2 -2
  84. package/dist/wcardinal-ui-theme-white.min.js.map +1 -1
  85. package/dist/wcardinal-ui.cjs.js +202 -152
  86. package/dist/wcardinal-ui.js +130 -90
  87. package/dist/wcardinal-ui.min.js +2 -2
  88. package/dist/wcardinal-ui.min.js.map +1 -1
  89. package/package.json +1 -1
  90. package/dist/types/wcardinal/ui/d-chart-selection-gridline-container-impl.d.ts +0 -18
  91. package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline.d.ts +0 -7
  92. package/dist/types/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline.d.ts +0 -7
  93. package/dist/wcardinal/ui/d-chart-selection-gridline-container-impl.js +0 -50
  94. package/dist/wcardinal/ui/d-chart-selection-gridline-container-impl.js.map +0 -1
  95. package/dist/wcardinal/ui/d-chart-selection-gridline-container.js.map +0 -1
  96. package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline.js +0 -22
  97. package/dist/wcardinal/ui/theme/dark/d-theme-dark-chart-selection-gridline.js.map +0 -1
  98. package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline.js +0 -22
  99. package/dist/wcardinal/ui/theme/white/d-theme-white-chart-selection-gridline.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.297.0
2
+ Winter Cardinal UI v0.299.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -57127,6 +57127,53 @@
57127
57127
  return DChartRegionImplObservable;
57128
57128
  }());
57129
57129
 
57130
+ /*
57131
+ * Copyright (C) 2019 Toshiba Corporation
57132
+ * SPDX-License-Identifier: Apache-2.0
57133
+ */
57134
+ var DChartSelectionContainerImpl = /** @class */ (function () {
57135
+ function DChartSelectionContainerImpl(x, y) {
57136
+ this._x = x;
57137
+ this._y = y;
57138
+ }
57139
+ Object.defineProperty(DChartSelectionContainerImpl.prototype, "x", {
57140
+ get: function () {
57141
+ return this._x;
57142
+ },
57143
+ enumerable: false,
57144
+ configurable: true
57145
+ });
57146
+ Object.defineProperty(DChartSelectionContainerImpl.prototype, "y", {
57147
+ get: function () {
57148
+ return this._y;
57149
+ },
57150
+ enumerable: false,
57151
+ configurable: true
57152
+ });
57153
+ DChartSelectionContainerImpl.prototype.bind = function (container) {
57154
+ this._x.bind(container);
57155
+ this._y.bind(container);
57156
+ };
57157
+ DChartSelectionContainerImpl.prototype.unbind = function () {
57158
+ this._x.unbind();
57159
+ this._y.unbind();
57160
+ };
57161
+ DChartSelectionContainerImpl.prototype.set = function (container, position, mappedPosition, series) {
57162
+ this._x.set(container, position, mappedPosition, series);
57163
+ this._y.set(container, position, mappedPosition, series);
57164
+ };
57165
+ DChartSelectionContainerImpl.prototype.unset = function () {
57166
+ this._x.unset();
57167
+ this._y.unset();
57168
+ };
57169
+ DChartSelectionContainerImpl.prototype.update = function (container, position, mappedPosition) {
57170
+ var isXUpdated = this._x.update(container, position, mappedPosition);
57171
+ var isYUpdated = this._y.update(container, position, mappedPosition);
57172
+ return isXUpdated || isYUpdated;
57173
+ };
57174
+ return DChartSelectionContainerImpl;
57175
+ }());
57176
+
57130
57177
  /*
57131
57178
  * Copyright (C) 2019 Toshiba Corporation
57132
57179
  * SPDX-License-Identifier: Apache-2.0
@@ -57139,12 +57186,32 @@
57139
57186
  var state = new DBaseStateSetImpl().add((_a = options === null || options === void 0 ? void 0 : options.state) !== null && _a !== void 0 ? _a : DBaseState.HOVERED);
57140
57187
  this._state = state;
57141
57188
  this._isEnabled = (_b = options === null || options === void 0 ? void 0 : options.enable) !== null && _b !== void 0 ? _b : theme.isEnabled(state);
57142
- this._shape = options === null || options === void 0 ? void 0 : options.shape;
57189
+ if (options != null) {
57190
+ var shape = options.shape;
57191
+ if (shape != null) {
57192
+ if (isFunction(shape)) {
57193
+ this._newShape = shape;
57194
+ }
57195
+ else {
57196
+ this._shape = shape;
57197
+ }
57198
+ }
57199
+ }
57143
57200
  this._style = (_c = options === null || options === void 0 ? void 0 : options.style) !== null && _c !== void 0 ? _c : this.setStyle;
57144
57201
  }
57145
57202
  DChartSelectionShapeBase.prototype.bind = function (container) {
57146
57203
  if (this._isEnabled) {
57147
- var shape = this._shape || this.newShape(this._theme);
57204
+ var shape = this._shape;
57205
+ if (shape == null) {
57206
+ var state = this._state;
57207
+ var newShape = this._newShape;
57208
+ if (newShape != null) {
57209
+ shape = newShape(state);
57210
+ }
57211
+ else {
57212
+ shape = this.newShape(state, this._theme);
57213
+ }
57214
+ }
57148
57215
  this._shape = shape;
57149
57216
  shape.attach(container.plotArea.axis.container);
57150
57217
  shape.visible = false;
@@ -57156,21 +57223,18 @@
57156
57223
  shape.detach();
57157
57224
  }
57158
57225
  };
57159
- DChartSelectionShapeBase.prototype.newShape = function (theme) {
57160
- return theme.newShape(this._state);
57226
+ DChartSelectionShapeBase.prototype.newShape = function (state, theme) {
57227
+ return theme.newShape(state);
57161
57228
  };
57162
- DChartSelectionShapeBase.prototype.set = function (container, mappedPosition, series) {
57163
- this.update(container, mappedPosition);
57229
+ DChartSelectionShapeBase.prototype.set = function (container, position, mappedPosition, series) {
57230
+ this.update(container, position, mappedPosition);
57164
57231
  var shape = this._shape;
57165
57232
  if (shape) {
57166
57233
  this._style(shape, series);
57167
57234
  }
57168
57235
  };
57169
57236
  DChartSelectionShapeBase.prototype.setStyle = function (shape, series) {
57170
- var seriesShape = series.shape;
57171
- if (seriesShape) {
57172
- shape.stroke.color = seriesShape.stroke.color;
57173
- }
57237
+ // DO NOTHING
57174
57238
  };
57175
57239
  DChartSelectionShapeBase.prototype.unset = function () {
57176
57240
  var shape = this._shape;
@@ -57205,20 +57269,21 @@
57205
57269
  function DChartSelectionGridlineX() {
57206
57270
  return _super !== null && _super.apply(this, arguments) || this;
57207
57271
  }
57208
- DChartSelectionGridlineX.prototype.update = function (container, mappedPosition) {
57272
+ DChartSelectionGridlineX.prototype.update = function (container, position, mappedPosition) {
57209
57273
  var shape = this._shape;
57210
57274
  if (shape) {
57211
57275
  var mappedX = mappedPosition.x;
57212
57276
  var height = container.plotArea.height;
57213
57277
  shape.transform.position.set(mappedX, height * 0.5);
57214
57278
  shape.size.set(0, height);
57215
- shape.visible = this.isVisible(container, mappedX);
57279
+ shape.visible = this.isVisible(container, position, mappedPosition);
57216
57280
  return true;
57217
57281
  }
57218
57282
  return false;
57219
57283
  };
57220
- DChartSelectionGridlineX.prototype.isVisible = function (container, mappedX) {
57221
- return 0 <= mappedX && mappedX <= container.plotArea.width;
57284
+ DChartSelectionGridlineX.prototype.isVisible = function (container, position, mappedPosition) {
57285
+ var x = mappedPosition.x;
57286
+ return 0 <= x && x <= container.plotArea.width;
57222
57287
  };
57223
57288
  DChartSelectionGridlineX.prototype.getType = function () {
57224
57289
  return "DChartSelectionGridlineX";
@@ -57235,20 +57300,21 @@
57235
57300
  function DChartSelectionGridlineY() {
57236
57301
  return _super !== null && _super.apply(this, arguments) || this;
57237
57302
  }
57238
- DChartSelectionGridlineY.prototype.update = function (container, mappedPosition) {
57303
+ DChartSelectionGridlineY.prototype.update = function (container, position, mappedPosition) {
57239
57304
  var shape = this._shape;
57240
57305
  if (shape) {
57241
57306
  var mappedY = mappedPosition.y;
57242
57307
  var width = container.plotArea.width;
57243
57308
  shape.transform.position.set(width * 0.5, mappedY);
57244
57309
  shape.size.set(width, 0);
57245
- shape.visible = this.isVisible(container, mappedY);
57310
+ shape.visible = this.isVisible(container, position, mappedPosition);
57246
57311
  return true;
57247
57312
  }
57248
57313
  return false;
57249
57314
  };
57250
- DChartSelectionGridlineY.prototype.isVisible = function (container, mappedY) {
57251
- return 0 <= mappedY && mappedY <= container.plotArea.height;
57315
+ DChartSelectionGridlineY.prototype.isVisible = function (container, position, mappedPosition) {
57316
+ var y = mappedPosition.y;
57317
+ return 0 <= y && y <= container.plotArea.height;
57252
57318
  };
57253
57319
  DChartSelectionGridlineY.prototype.getType = function () {
57254
57320
  return "DChartSelectionGridlineY";
@@ -57256,53 +57322,6 @@
57256
57322
  return DChartSelectionGridlineY;
57257
57323
  }(DChartSelectionShapeBase));
57258
57324
 
57259
- /*
57260
- * Copyright (C) 2019 Toshiba Corporation
57261
- * SPDX-License-Identifier: Apache-2.0
57262
- */
57263
- var DChartSelectionGridlineContainerImpl = /** @class */ (function () {
57264
- function DChartSelectionGridlineContainerImpl(options) {
57265
- this._x = new DChartSelectionGridlineX(options === null || options === void 0 ? void 0 : options.x);
57266
- this._y = new DChartSelectionGridlineY(options === null || options === void 0 ? void 0 : options.y);
57267
- }
57268
- Object.defineProperty(DChartSelectionGridlineContainerImpl.prototype, "x", {
57269
- get: function () {
57270
- return this._x;
57271
- },
57272
- enumerable: false,
57273
- configurable: true
57274
- });
57275
- Object.defineProperty(DChartSelectionGridlineContainerImpl.prototype, "y", {
57276
- get: function () {
57277
- return this._y;
57278
- },
57279
- enumerable: false,
57280
- configurable: true
57281
- });
57282
- DChartSelectionGridlineContainerImpl.prototype.bind = function (container) {
57283
- this._x.bind(container);
57284
- this._y.bind(container);
57285
- };
57286
- DChartSelectionGridlineContainerImpl.prototype.unbind = function () {
57287
- this._x.unbind();
57288
- this._y.unbind();
57289
- };
57290
- DChartSelectionGridlineContainerImpl.prototype.set = function (container, mappedPosition, series) {
57291
- this._x.set(container, mappedPosition, series);
57292
- this._y.set(container, mappedPosition, series);
57293
- };
57294
- DChartSelectionGridlineContainerImpl.prototype.unset = function () {
57295
- this._x.unset();
57296
- this._y.unset();
57297
- };
57298
- DChartSelectionGridlineContainerImpl.prototype.update = function (container, mappedPosition) {
57299
- var isXUpdated = this._x.update(container, mappedPosition);
57300
- var isYUpdated = this._y.update(container, mappedPosition);
57301
- return isXUpdated || isYUpdated;
57302
- };
57303
- return DChartSelectionGridlineContainerImpl;
57304
- }());
57305
-
57306
57325
  /*
57307
57326
  * Copyright (C) 2019 Toshiba Corporation
57308
57327
  * SPDX-License-Identifier: Apache-2.0
@@ -57312,16 +57331,16 @@
57312
57331
  function DChartSelectionMarker() {
57313
57332
  return _super !== null && _super.apply(this, arguments) || this;
57314
57333
  }
57315
- DChartSelectionMarker.prototype.update = function (container, mappedPosition) {
57334
+ DChartSelectionMarker.prototype.update = function (container, position, mappedPosition) {
57316
57335
  var shape = this._shape;
57317
57336
  if (shape) {
57318
57337
  shape.transform.position.copyFrom(mappedPosition);
57319
- shape.visible = this.isVisible(container, mappedPosition);
57338
+ shape.visible = this.isVisible(container, position, mappedPosition);
57320
57339
  return true;
57321
57340
  }
57322
57341
  return false;
57323
57342
  };
57324
- DChartSelectionMarker.prototype.isVisible = function (container, mappedPosition) {
57343
+ DChartSelectionMarker.prototype.isVisible = function (container, position, mappedPosition) {
57325
57344
  var x = mappedPosition.x;
57326
57345
  var y = mappedPosition.y;
57327
57346
  var plotArea = container.plotArea;
@@ -57352,18 +57371,18 @@
57352
57371
  __extends(DChartSelectionSubImpl, _super);
57353
57372
  function DChartSelectionSubImpl(options) {
57354
57373
  var _this = this;
57355
- var _a, _b, _c;
57374
+ var _a, _b, _c, _d, _e;
57356
57375
  _this = _super.call(this) || this;
57357
57376
  _this._container = null;
57358
57377
  _this._series = null;
57359
57378
  _this._isEnabled = (_a = options.enable) !== null && _a !== void 0 ? _a : true;
57360
- _this._gridline = new DChartSelectionGridlineContainerImpl(options.gridline);
57379
+ _this._gridline = new DChartSelectionContainerImpl(new DChartSelectionGridlineX((_b = options.gridline) === null || _b === void 0 ? void 0 : _b.x), new DChartSelectionGridlineY((_c = options.gridline) === null || _c === void 0 ? void 0 : _c.y));
57361
57380
  _this._marker = new DChartSelectionMarker(options.marker);
57362
- _this._state = (_b = options.state) !== null && _b !== void 0 ? _b : DBaseState.HOVERED;
57381
+ _this._state = (_d = options.state) !== null && _d !== void 0 ? _d : DBaseState.HOVERED;
57363
57382
  _this._coordinateX = null;
57364
57383
  _this._coordinateY = null;
57365
57384
  _this._position = new pixi_js.Point();
57366
- _this._point = (_c = options.point) !== null && _c !== void 0 ? _c : DChartSelectionPoint.CLOSER;
57385
+ _this._point = (_e = options.point) !== null && _e !== void 0 ? _e : DChartSelectionPoint.CLOSER;
57367
57386
  _this._work = new pixi_js.Point();
57368
57387
  // Events
57369
57388
  var on = options.on;
@@ -57458,8 +57477,8 @@
57458
57477
  work.set(coordinateX.transform.map(coordinateX.map(position.x)), coordinateY.transform.map(coordinateY.map(position.y)));
57459
57478
  transform.apply(work, work);
57460
57479
  }
57461
- this._gridline.set(container, work, series);
57462
- this._marker.set(container, work, series);
57480
+ this._gridline.set(container, position, work, series);
57481
+ this._marker.set(container, position, work, series);
57463
57482
  DApplications.update(container.plotArea);
57464
57483
  }
57465
57484
  var oldSeries = this._series;
@@ -57473,12 +57492,6 @@
57473
57492
  }
57474
57493
  this.emit("change", this);
57475
57494
  };
57476
- DChartSelectionSubImpl.prototype.setStyle = function (shape, series) {
57477
- var seriesShape = series.shape;
57478
- if (seriesShape) {
57479
- shape.stroke.color = seriesShape.stroke.color;
57480
- }
57481
- };
57482
57495
  DChartSelectionSubImpl.prototype.unset = function () {
57483
57496
  var series = this._series;
57484
57497
  if (series) {
@@ -57500,8 +57513,8 @@
57500
57513
  var work = this._work;
57501
57514
  work.set(coordinateX.transform.map(coordinateX.map(position.x)), coordinateY.transform.map(coordinateY.map(position.y)));
57502
57515
  container.plotArea.container.localTransform.apply(work, work);
57503
- var isGridlineUpdated = this._gridline.update(container, work);
57504
- var isMarkerUpdated = this._marker.update(container, work);
57516
+ var isGridlineUpdated = this._gridline.update(container, position, work);
57517
+ var isMarkerUpdated = this._marker.update(container, position, work);
57505
57518
  return isGridlineUpdated || isMarkerUpdated;
57506
57519
  }
57507
57520
  return false;
@@ -57543,12 +57556,19 @@
57543
57556
  return _this;
57544
57557
  }
57545
57558
  DChartSelectionSimple.prototype.newSelected = function (point, options) {
57546
- return new DChartSelectionSubImpl(this.toSubOptions(point, options, DBaseState.ACTIVE));
57559
+ return new DChartSelectionSubImpl(this.toSelectedOptions(point, options));
57547
57560
  };
57548
57561
  DChartSelectionSimple.prototype.newHovered = function (point, options) {
57549
- return new DChartSelectionSubImpl(this.toSubOptions(point, options, DBaseState.HOVERED));
57562
+ return new DChartSelectionSubImpl(this.toHoveredOptions(point, options));
57563
+ };
57564
+ DChartSelectionSimple.prototype.toSelectedOptions = function (point, options) {
57565
+ return this.toSubOptions(point, options, DBaseState.ACTIVE);
57566
+ };
57567
+ DChartSelectionSimple.prototype.toHoveredOptions = function (point, options) {
57568
+ return this.toSubOptions(point, options, DBaseState.HOVERED);
57550
57569
  };
57551
57570
  DChartSelectionSimple.prototype.toSubOptions = function (point, options, state) {
57571
+ var _a, _b, _c, _d, _e, _f, _g;
57552
57572
  options = options || {};
57553
57573
  if (options.point == null) {
57554
57574
  options.point = point;
@@ -57556,19 +57576,28 @@
57556
57576
  if (options.state == null) {
57557
57577
  options.state = state;
57558
57578
  }
57559
- var gridline = options.gridline || {};
57560
- var gridlineX = gridline.x || {};
57579
+ var gridline = ((_a = options.gridline) !== null && _a !== void 0 ? _a : (options.gridline = {}));
57580
+ var gridlineX = ((_b = gridline.x) !== null && _b !== void 0 ? _b : (gridline.x = {}));
57561
57581
  if (gridlineX.state == null) {
57562
57582
  gridlineX.state = state;
57563
57583
  }
57564
- var gridlineY = gridline.y || {};
57584
+ var gridlineY = ((_c = gridline.y) !== null && _c !== void 0 ? _c : (gridline.y = {}));
57565
57585
  if (gridlineY.state == null) {
57566
57586
  gridlineY.state = state;
57567
57587
  }
57568
- var marker = options.marker || {};
57588
+ var marker = ((_d = options.marker) !== null && _d !== void 0 ? _d : (options.marker = {}));
57569
57589
  if (marker.state == null) {
57570
57590
  marker.state = state;
57571
57591
  }
57592
+ var label = ((_e = options.label) !== null && _e !== void 0 ? _e : (options.label = {}));
57593
+ var labelX = ((_f = label.x) !== null && _f !== void 0 ? _f : (label.x = {}));
57594
+ if (labelX.state == null) {
57595
+ labelX.state = state;
57596
+ }
57597
+ var labelY = ((_g = label.y) !== null && _g !== void 0 ? _g : (label.y = {}));
57598
+ if (labelY.state == null) {
57599
+ labelY.state = state;
57600
+ }
57572
57601
  return options;
57573
57602
  };
57574
57603
  DChartSelectionSimple.prototype.onClick = function (e) {
@@ -68374,6 +68403,17 @@
68374
68403
  function DTableDataListMapped(parent) {
68375
68404
  this._parent = parent;
68376
68405
  }
68406
+ Object.defineProperty(DTableDataListMapped.prototype, "rows", {
68407
+ get: function () {
68408
+ var result = [];
68409
+ this.each(function (row) {
68410
+ result.push(row);
68411
+ });
68412
+ return result;
68413
+ },
68414
+ enumerable: false,
68415
+ configurable: true
68416
+ });
68377
68417
  DTableDataListMapped.prototype.map = function (unmappedIndex) {
68378
68418
  var parent = this._parent;
68379
68419
  var sortedIndex = parent.sorter.map(unmappedIndex);
@@ -73921,7 +73961,7 @@
73921
73961
  DChartPlotAreaImpl: DChartPlotAreaImpl,
73922
73962
  DChartRegionImplObservable: DChartRegionImplObservable,
73923
73963
  DChartRegionImpl: DChartRegionImpl,
73924
- DChartSelectionGridlineContainerImpl: DChartSelectionGridlineContainerImpl,
73964
+ DChartSelectionContainerImpl: DChartSelectionContainerImpl,
73925
73965
  DChartSelectionGridlineX: DChartSelectionGridlineX,
73926
73966
  DChartSelectionGridlineY: DChartSelectionGridlineY,
73927
73967
  DChartSelectionMarker: DChartSelectionMarker,