@wcardinal/wcardinal-ui 0.450.0 → 0.451.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 (88) hide show
  1. package/dist/types/wcardinal/ui/d-select-multiple.d.ts +4 -2
  2. package/dist/types/wcardinal/ui/d-select.d.ts +2 -0
  3. package/dist/types/wcardinal/ui/d-table-body-cell-action-menu.d.ts +2 -1
  4. package/dist/types/wcardinal/ui/d-table-body-cell-check.d.ts +1 -1
  5. package/dist/types/wcardinal/ui/d-table-body-cell-color.d.ts +1 -1
  6. package/dist/types/wcardinal/ui/d-table-body-cell-date.d.ts +2 -1
  7. package/dist/types/wcardinal/ui/d-table-body-cell-datetime.d.ts +2 -1
  8. package/dist/types/wcardinal/ui/d-table-body-cell-index.d.ts +2 -1
  9. package/dist/types/wcardinal/ui/d-table-body-cell-input-integer.d.ts +2 -1
  10. package/dist/types/wcardinal/ui/d-table-body-cell-input-real.d.ts +2 -1
  11. package/dist/types/wcardinal/ui/d-table-body-cell-input-text-area.d.ts +2 -1
  12. package/dist/types/wcardinal/ui/d-table-body-cell-input-text.d.ts +2 -1
  13. package/dist/types/wcardinal/ui/d-table-body-cell-input-tree.d.ts +2 -1
  14. package/dist/types/wcardinal/ui/d-table-body-cell-select-dialog.d.ts +2 -1
  15. package/dist/types/wcardinal/ui/d-table-body-cell-select-menu.d.ts +2 -1
  16. package/dist/types/wcardinal/ui/d-table-body-cell-select-multiple.d.ts +2 -1
  17. package/dist/types/wcardinal/ui/d-table-body-cell-select-promise.d.ts +2 -1
  18. package/dist/types/wcardinal/ui/d-table-body-cell-text.d.ts +2 -1
  19. package/dist/types/wcardinal/ui/d-table-body-cell-time.d.ts +2 -1
  20. package/dist/types/wcardinal/ui/d-table-body-cell.d.ts +1 -1
  21. package/dist/types/wcardinal/ui/d-table-body-row.d.ts +1 -1
  22. package/dist/types/wcardinal/ui/d-table-column-selecting.d.ts +1 -1
  23. package/dist/types/wcardinal/ui/util/dynamic-atlas.d.ts +1 -0
  24. package/dist/wcardinal/ui/d-select-multiple.js +17 -11
  25. package/dist/wcardinal/ui/d-select-multiple.js.map +1 -1
  26. package/dist/wcardinal/ui/d-select.js +18 -12
  27. package/dist/wcardinal/ui/d-select.js.map +1 -1
  28. package/dist/wcardinal/ui/d-table-body-cell-action-menu.js +4 -2
  29. package/dist/wcardinal/ui/d-table-body-cell-action-menu.js.map +1 -1
  30. package/dist/wcardinal/ui/d-table-body-cell-check.js +1 -1
  31. package/dist/wcardinal/ui/d-table-body-cell-check.js.map +1 -1
  32. package/dist/wcardinal/ui/d-table-body-cell-color.js +1 -1
  33. package/dist/wcardinal/ui/d-table-body-cell-color.js.map +1 -1
  34. package/dist/wcardinal/ui/d-table-body-cell-date.js +4 -7
  35. package/dist/wcardinal/ui/d-table-body-cell-date.js.map +1 -1
  36. package/dist/wcardinal/ui/d-table-body-cell-datetime.js +4 -7
  37. package/dist/wcardinal/ui/d-table-body-cell-datetime.js.map +1 -1
  38. package/dist/wcardinal/ui/d-table-body-cell-index.js +4 -2
  39. package/dist/wcardinal/ui/d-table-body-cell-index.js.map +1 -1
  40. package/dist/wcardinal/ui/d-table-body-cell-input-integer.js +4 -2
  41. package/dist/wcardinal/ui/d-table-body-cell-input-integer.js.map +1 -1
  42. package/dist/wcardinal/ui/d-table-body-cell-input-real.js +4 -2
  43. package/dist/wcardinal/ui/d-table-body-cell-input-real.js.map +1 -1
  44. package/dist/wcardinal/ui/d-table-body-cell-input-text-area.js +4 -2
  45. package/dist/wcardinal/ui/d-table-body-cell-input-text-area.js.map +1 -1
  46. package/dist/wcardinal/ui/d-table-body-cell-input-text.js +4 -2
  47. package/dist/wcardinal/ui/d-table-body-cell-input-text.js.map +1 -1
  48. package/dist/wcardinal/ui/d-table-body-cell-input-tree.js +4 -2
  49. package/dist/wcardinal/ui/d-table-body-cell-input-tree.js.map +1 -1
  50. package/dist/wcardinal/ui/d-table-body-cell-select-dialog.js +5 -8
  51. package/dist/wcardinal/ui/d-table-body-cell-select-dialog.js.map +1 -1
  52. package/dist/wcardinal/ui/d-table-body-cell-select-menu.js +4 -2
  53. package/dist/wcardinal/ui/d-table-body-cell-select-menu.js.map +1 -1
  54. package/dist/wcardinal/ui/d-table-body-cell-select-multiple.js +4 -2
  55. package/dist/wcardinal/ui/d-table-body-cell-select-multiple.js.map +1 -1
  56. package/dist/wcardinal/ui/d-table-body-cell-select-promise.js +4 -7
  57. package/dist/wcardinal/ui/d-table-body-cell-select-promise.js.map +1 -1
  58. package/dist/wcardinal/ui/d-table-body-cell-text.js +4 -2
  59. package/dist/wcardinal/ui/d-table-body-cell-text.js.map +1 -1
  60. package/dist/wcardinal/ui/d-table-body-cell-time.js +4 -7
  61. package/dist/wcardinal/ui/d-table-body-cell-time.js.map +1 -1
  62. package/dist/wcardinal/ui/d-table-body-cell.js.map +1 -1
  63. package/dist/wcardinal/ui/d-table-body-row.js +3 -3
  64. package/dist/wcardinal/ui/d-table-body-row.js.map +1 -1
  65. package/dist/wcardinal/ui/d-table-body.js +2 -2
  66. package/dist/wcardinal/ui/d-table-body.js.map +1 -1
  67. package/dist/wcardinal/ui/d-table-column-selecting.js.map +1 -1
  68. package/dist/wcardinal/ui/util/dynamic-atlas.js +3 -0
  69. package/dist/wcardinal/ui/util/dynamic-atlas.js.map +1 -1
  70. package/dist/wcardinal/ui/util/dynamic-sdf-font-atlases.js +6 -1
  71. package/dist/wcardinal/ui/util/dynamic-sdf-font-atlases.js.map +1 -1
  72. package/dist/wcardinal-ui-theme-dark-en-us.js +1 -1
  73. package/dist/wcardinal-ui-theme-dark-en-us.min.js +1 -1
  74. package/dist/wcardinal-ui-theme-dark-ja-jp.js +1 -1
  75. package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +1 -1
  76. package/dist/wcardinal-ui-theme-dark.js +1 -1
  77. package/dist/wcardinal-ui-theme-dark.min.js +1 -1
  78. package/dist/wcardinal-ui-theme-white-en-us.js +1 -1
  79. package/dist/wcardinal-ui-theme-white-en-us.min.js +1 -1
  80. package/dist/wcardinal-ui-theme-white-ja-jp.js +1 -1
  81. package/dist/wcardinal-ui-theme-white-ja-jp.min.js +1 -1
  82. package/dist/wcardinal-ui-theme-white.js +1 -1
  83. package/dist/wcardinal-ui-theme-white.min.js +1 -1
  84. package/dist/wcardinal-ui.cjs.js +113 -88
  85. package/dist/wcardinal-ui.js +113 -88
  86. package/dist/wcardinal-ui.min.js +2 -2
  87. package/dist/wcardinal-ui.min.js.map +1 -1
  88. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.450.0
2
+ Winter Cardinal UI v0.451.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -15221,6 +15221,9 @@ var DynamicAtlas = /** @class */ (function () {
15221
15221
  }
15222
15222
  return null;
15223
15223
  };
15224
+ DynamicAtlas.prototype.contains = function (id) {
15225
+ return id in this._idToDatum;
15226
+ };
15224
15227
  DynamicAtlas.prototype.set = function (id, item) {
15225
15228
  var result = this._idToDatum[id];
15226
15229
  item.ref += 1;
@@ -16036,8 +16039,8 @@ var DynamicSDFFontAtlases = /** @class */ (function () {
16036
16039
  DynamicSDFFontAtlases.prototype.update = function (baseAtlas) {
16037
16040
  var baseTexture = baseAtlas.getBaseTexture();
16038
16041
  this._atlases.forEach(function (atlas) {
16042
+ var atlasId = atlas.id;
16039
16043
  if (atlas.update()) {
16040
- var atlasId = atlas.id;
16041
16044
  var item = baseAtlas.get(atlasId);
16042
16045
  if (item != null) {
16043
16046
  var width = atlas.width;
@@ -16053,6 +16056,11 @@ var DynamicSDFFontAtlases = /** @class */ (function () {
16053
16056
  baseAtlas.set(atlasId, new DynamicAtlasItemFontAtlas(atlas, baseTexture));
16054
16057
  }
16055
16058
  }
16059
+ else {
16060
+ if (!baseAtlas.contains(atlasId)) {
16061
+ baseAtlas.set(atlasId, new DynamicAtlasItemFontAtlas(atlas, baseTexture));
16062
+ }
16063
+ }
16056
16064
  });
16057
16065
  };
16058
16066
  DynamicSDFFontAtlases.prototype.destroy = function () {
@@ -77079,27 +77087,33 @@ var DSelect = /** @class */ (function (_super) {
77079
77087
  * Returns a selected value or null.
77080
77088
  */
77081
77089
  get: function () {
77082
- return this._value;
77090
+ return this.getValue();
77083
77091
  },
77084
77092
  /**
77085
77093
  * Sets to the specified value.
77086
77094
  */
77087
77095
  set: function (value) {
77088
- if (this._value !== value) {
77089
- var item = DMenuItems.find(this.menu, value);
77090
- if (item != null) {
77091
- this._value = value;
77092
- this.text = item;
77093
- }
77094
- else {
77095
- this._value = null;
77096
- this.text = null;
77097
- }
77098
- }
77096
+ this.setValue(value);
77099
77097
  },
77100
77098
  enumerable: false,
77101
77099
  configurable: true
77102
77100
  });
77101
+ DSelect.prototype.getValue = function () {
77102
+ return this._value;
77103
+ };
77104
+ DSelect.prototype.setValue = function (value, forcibly) {
77105
+ if (forcibly || this._value !== value) {
77106
+ var item = DMenuItems.find(this.menu, value);
77107
+ if (item != null) {
77108
+ this._value = value;
77109
+ this.text.setValue(item, forcibly);
77110
+ }
77111
+ else {
77112
+ this._value = null;
77113
+ this.text.setValue(null, forcibly);
77114
+ }
77115
+ }
77116
+ };
77103
77117
  DSelect.prototype.getType = function () {
77104
77118
  return "DSelect";
77105
77119
  };
@@ -92867,27 +92881,33 @@ var DSelectMultiple = /** @class */ (function (_super) {
92867
92881
  };
92868
92882
  Object.defineProperty(DSelectMultiple.prototype, "values", {
92869
92883
  /**
92870
- * Returns a selected value or null.
92884
+ * Returns selected values.
92871
92885
  */
92872
92886
  get: function () {
92873
- return this._values;
92887
+ return this.getValues();
92874
92888
  },
92875
92889
  /**
92876
- * Sets to the specified value.
92890
+ * Sets to the specified values.
92877
92891
  */
92878
92892
  set: function (values) {
92879
- var oldValues = this._values;
92880
- if (!this.isSameValues(values, oldValues)) {
92881
- var newValues = [];
92882
- var newItems = [];
92883
- this.updateMenuItems(this.menu, values, undefined, undefined, newValues, newItems);
92884
- this._values = newValues;
92885
- this.text = newItems;
92886
- }
92893
+ this.setValues(values);
92887
92894
  },
92888
92895
  enumerable: false,
92889
92896
  configurable: true
92890
92897
  });
92898
+ DSelectMultiple.prototype.getValues = function () {
92899
+ return this._values;
92900
+ };
92901
+ DSelectMultiple.prototype.setValues = function (values, forcibly) {
92902
+ var oldValues = this._values;
92903
+ if (forcibly || !this.isSameValues(values, oldValues)) {
92904
+ var newValues = [];
92905
+ var newItems = [];
92906
+ this.updateMenuItems(this.menu, values, undefined, undefined, newValues, newItems);
92907
+ this._values = newValues;
92908
+ this.text.setValue(newItems, forcibly);
92909
+ }
92910
+ };
92891
92911
  DSelectMultiple.prototype.isSameValues = function (a, b) {
92892
92912
  if (a.length === b.length) {
92893
92913
  for (var i = 0, imax = a.length; i < imax; ++i) {
@@ -93609,7 +93629,7 @@ var DTableBodyCellSelectDialog = /** @class */ (function (_super) {
93609
93629
  var oldValue_1 = (_a = this.text.computed) !== null && _a !== void 0 ? _a : null;
93610
93630
  selecting.setter(dialog, oldValue_1);
93611
93631
  dialog.open(this).then(function () {
93612
- var newValue = selecting.getter(dialog);
93632
+ var newValue = selecting.getter(dialog, oldValue_1);
93613
93633
  if (_this._isSyncEnabled) {
93614
93634
  if (newValue !== oldValue_1) {
93615
93635
  _this.text = newValue;
@@ -93675,17 +93695,14 @@ var DTableBodyCellSelectDialog = /** @class */ (function (_super) {
93675
93695
  DTableBodyCellSelectDialog.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
93676
93696
  this._row = row;
93677
93697
  this._rowIndex = rowIndex;
93678
- if (forcibly) {
93679
- this.text.setValue(value, true);
93680
- }
93681
- else {
93682
- this.text = value;
93683
- }
93698
+ this.text.setValue(value, forcibly || this._forcibly);
93699
+ this._forcibly = undefined;
93684
93700
  DTableBodyCells.set(this, row, columnIndex, this._column);
93685
93701
  };
93686
- DTableBodyCellSelectDialog.prototype.unset = function () {
93702
+ DTableBodyCellSelectDialog.prototype.unset = function (forcibly) {
93687
93703
  this._row = undefined;
93688
93704
  this._rowIndex = -1;
93705
+ this._forcibly || (this._forcibly = forcibly);
93689
93706
  };
93690
93707
  DTableBodyCellSelectDialog.prototype.getType = function () {
93691
93708
  return "DTableBodyCellSelectDialog";
@@ -93767,12 +93784,14 @@ var DTableBodyCellActionMenu = /** @class */ (function (_super) {
93767
93784
  DTableBodyCellActionMenu.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
93768
93785
  this._row = row;
93769
93786
  this._rowIndex = rowIndex;
93770
- this.text = value;
93787
+ this.text.setValue(value, forcibly || this._forcibly);
93788
+ this._forcibly = undefined;
93771
93789
  DTableBodyCells.set(this, row, columnIndex, this._column);
93772
93790
  };
93773
- DTableBodyCellActionMenu.prototype.unset = function () {
93791
+ DTableBodyCellActionMenu.prototype.unset = function (forcibly) {
93774
93792
  this._row = undefined;
93775
93793
  this._rowIndex = -1;
93794
+ this._forcibly || (this._forcibly = forcibly);
93776
93795
  };
93777
93796
  DTableBodyCellActionMenu.prototype.getType = function () {
93778
93797
  return "DTableBodyCellActionMenu";
@@ -93870,17 +93889,14 @@ var DTableBodyCellSelectPromise = /** @class */ (function (_super) {
93870
93889
  DTableBodyCellSelectPromise.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
93871
93890
  this._row = row;
93872
93891
  this._rowIndex = rowIndex;
93873
- if (forcibly) {
93874
- this.text.setValue(value, true);
93875
- }
93876
- else {
93877
- this.text = value;
93878
- }
93892
+ this.text.setValue(value, forcibly || this._forcibly);
93893
+ this._forcibly = undefined;
93879
93894
  DTableBodyCells.set(this, row, columnIndex, this._column);
93880
93895
  };
93881
- DTableBodyCellSelectPromise.prototype.unset = function () {
93896
+ DTableBodyCellSelectPromise.prototype.unset = function (forcibly) {
93882
93897
  this._row = undefined;
93883
93898
  this._rowIndex = -1;
93899
+ this._forcibly || (this._forcibly = forcibly);
93884
93900
  };
93885
93901
  DTableBodyCellSelectPromise.prototype.getType = function () {
93886
93902
  return "DTableBodyCellSelectPromise";
@@ -93948,12 +93964,14 @@ var DTableBodyCellText = /** @class */ (function (_super) {
93948
93964
  DTableBodyCellText.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
93949
93965
  this._row = row;
93950
93966
  this._rowIndex = rowIndex;
93951
- this.text = value;
93967
+ this.text.setValue(value, forcibly || this._forcibly);
93968
+ this._forcibly = undefined;
93952
93969
  DTableBodyCells.set(this, row, columnIndex, this._column);
93953
93970
  };
93954
- DTableBodyCellText.prototype.unset = function () {
93971
+ DTableBodyCellText.prototype.unset = function (forcibly) {
93955
93972
  this._row = undefined;
93956
93973
  this._rowIndex = -1;
93974
+ this._forcibly || (this._forcibly = forcibly);
93957
93975
  };
93958
93976
  DTableBodyCellText.prototype.getType = function () {
93959
93977
  return "DTableBodyCellText";
@@ -94164,7 +94182,7 @@ var DTableBodyCellCheck = /** @class */ (function (_super) {
94164
94182
  this.state.isActive = !!value;
94165
94183
  DTableBodyCells.set(this, row, columnIndex, this._column);
94166
94184
  };
94167
- DTableBodyCellCheck.prototype.unset = function () {
94185
+ DTableBodyCellCheck.prototype.unset = function (forcibly) {
94168
94186
  this._row = undefined;
94169
94187
  this._rowIndex = -1;
94170
94188
  };
@@ -94255,7 +94273,7 @@ var DTableBodyCellColor = /** @class */ (function (_super) {
94255
94273
  }
94256
94274
  DTableBodyCells.set(this, row, columnIndex, this._column);
94257
94275
  };
94258
- DTableBodyCellColor.prototype.unset = function () {
94276
+ DTableBodyCellColor.prototype.unset = function (forcibly) {
94259
94277
  this._row = undefined;
94260
94278
  this._rowIndex = -1;
94261
94279
  };
@@ -94325,12 +94343,7 @@ var DTableBodyCellDate = /** @class */ (function (_super) {
94325
94343
  this._row = row;
94326
94344
  this._rowIndex = rowIndex;
94327
94345
  if (value instanceof Date) {
94328
- if (forcibly) {
94329
- this.text.setValue(value, true);
94330
- }
94331
- else {
94332
- this.text = value;
94333
- }
94346
+ this.text.setValue(value, forcibly || this._forcibly);
94334
94347
  }
94335
94348
  else if (isNumber(value)) {
94336
94349
  var text = this.text;
@@ -94343,11 +94356,13 @@ var DTableBodyCellDate = /** @class */ (function (_super) {
94343
94356
  text.compute(true);
94344
94357
  }
94345
94358
  }
94359
+ this._forcibly = undefined;
94346
94360
  DTableBodyCells.set(this, row, columnIndex, this._column);
94347
94361
  };
94348
- DTableBodyCellDate.prototype.unset = function () {
94362
+ DTableBodyCellDate.prototype.unset = function (forcibly) {
94349
94363
  this._row = undefined;
94350
94364
  this._rowIndex = -1;
94365
+ this._forcibly || (this._forcibly = forcibly);
94351
94366
  };
94352
94367
  DTableBodyCellDate.prototype.getType = function () {
94353
94368
  return "DTableBodyCellDate";
@@ -94415,12 +94430,7 @@ var DTableBodyCellDatetime = /** @class */ (function (_super) {
94415
94430
  this._row = row;
94416
94431
  this._rowIndex = rowIndex;
94417
94432
  if (value instanceof Date) {
94418
- if (forcibly) {
94419
- this.text.setValue(value, true);
94420
- }
94421
- else {
94422
- this.text = value;
94423
- }
94433
+ this.text.setValue(value, forcibly || this._forcibly);
94424
94434
  }
94425
94435
  else if (isNumber(value)) {
94426
94436
  var text = this.text;
@@ -94433,11 +94443,13 @@ var DTableBodyCellDatetime = /** @class */ (function (_super) {
94433
94443
  text.compute(true);
94434
94444
  }
94435
94445
  }
94446
+ this._forcibly = undefined;
94436
94447
  DTableBodyCells.set(this, row, columnIndex, this._column);
94437
94448
  };
94438
- DTableBodyCellDatetime.prototype.unset = function () {
94449
+ DTableBodyCellDatetime.prototype.unset = function (forcibly) {
94439
94450
  this._row = undefined;
94440
94451
  this._rowIndex = -1;
94452
+ this._forcibly || (this._forcibly = forcibly);
94441
94453
  };
94442
94454
  DTableBodyCellDatetime.prototype.getType = function () {
94443
94455
  return "DTableBodyCellDatetime";
@@ -94490,12 +94502,14 @@ var DTableBodyCellIndex = /** @class */ (function (_super) {
94490
94502
  DTableBodyCellIndex.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
94491
94503
  this._row = row;
94492
94504
  this._rowIndex = rowIndex;
94493
- this.text = rowIndex;
94505
+ this.text.setValue(rowIndex, forcibly || this._forcibly);
94506
+ this._forcibly = undefined;
94494
94507
  DTableBodyCells.set(this, row, columnIndex, this._column);
94495
94508
  };
94496
- DTableBodyCellIndex.prototype.unset = function () {
94509
+ DTableBodyCellIndex.prototype.unset = function (forcibly) {
94497
94510
  this._row = undefined;
94498
94511
  this._rowIndex = -1;
94512
+ this._forcibly || (this._forcibly = forcibly);
94499
94513
  };
94500
94514
  DTableBodyCellIndex.prototype.getType = function () {
94501
94515
  return "DTableBodyCellIndex";
@@ -94559,12 +94573,14 @@ var DTableBodyCellInputInteger = /** @class */ (function (_super) {
94559
94573
  DTableBodyCellInputInteger.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
94560
94574
  this._row = row;
94561
94575
  this._rowIndex = rowIndex;
94562
- this.text = Number(value);
94576
+ this.text.setValue(Number(value), forcibly || this._forcibly);
94577
+ this._forcibly = undefined;
94563
94578
  DTableBodyCells.set(this, row, columnIndex, this._column);
94564
94579
  };
94565
- DTableBodyCellInputInteger.prototype.unset = function () {
94580
+ DTableBodyCellInputInteger.prototype.unset = function (forcibly) {
94566
94581
  this._row = undefined;
94567
94582
  this._rowIndex = -1;
94583
+ this._forcibly || (this._forcibly = forcibly);
94568
94584
  };
94569
94585
  DTableBodyCellInputInteger.prototype.getType = function () {
94570
94586
  return "DTableBodyCellInputInteger";
@@ -94628,12 +94644,14 @@ var DTableBodyCellInputReal = /** @class */ (function (_super) {
94628
94644
  DTableBodyCellInputReal.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
94629
94645
  this._row = row;
94630
94646
  this._rowIndex = rowIndex;
94631
- this.text = Number(value);
94647
+ this.text.setValue(Number(value), forcibly || this._forcibly);
94648
+ this._forcibly = undefined;
94632
94649
  DTableBodyCells.set(this, row, columnIndex, this._column);
94633
94650
  };
94634
- DTableBodyCellInputReal.prototype.unset = function () {
94651
+ DTableBodyCellInputReal.prototype.unset = function (forcibly) {
94635
94652
  this._row = undefined;
94636
94653
  this._rowIndex = -1;
94654
+ this._forcibly || (this._forcibly = forcibly);
94637
94655
  };
94638
94656
  DTableBodyCellInputReal.prototype.getType = function () {
94639
94657
  return "DTableBodyCellInputReal";
@@ -94697,12 +94715,14 @@ var DTableBodyCellInputTextArea = /** @class */ (function (_super) {
94697
94715
  DTableBodyCellInputTextArea.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
94698
94716
  this._row = row;
94699
94717
  this._rowIndex = rowIndex;
94700
- this.text = String(value);
94718
+ this.text.setValue(String(value), forcibly || this._forcibly);
94719
+ this._forcibly = undefined;
94701
94720
  DTableBodyCells.set(this, row, columnIndex, this._column);
94702
94721
  };
94703
- DTableBodyCellInputTextArea.prototype.unset = function () {
94722
+ DTableBodyCellInputTextArea.prototype.unset = function (forcibly) {
94704
94723
  this._row = undefined;
94705
94724
  this._rowIndex = -1;
94725
+ this._forcibly || (this._forcibly = forcibly);
94706
94726
  };
94707
94727
  DTableBodyCellInputTextArea.prototype.getType = function () {
94708
94728
  return "DTableBodyCellInputTextArea";
@@ -94766,12 +94786,14 @@ var DTableBodyCellInputText = /** @class */ (function (_super) {
94766
94786
  DTableBodyCellInputText.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
94767
94787
  this._row = row;
94768
94788
  this._rowIndex = rowIndex;
94769
- this.text = String(value);
94789
+ this.text.setValue(String(value), forcibly || this._forcibly);
94790
+ this._forcibly = undefined;
94770
94791
  DTableBodyCells.set(this, row, columnIndex, this._column);
94771
94792
  };
94772
- DTableBodyCellInputText.prototype.unset = function () {
94793
+ DTableBodyCellInputText.prototype.unset = function (forcibly) {
94773
94794
  this._row = undefined;
94774
94795
  this._rowIndex = -1;
94796
+ this._forcibly || (this._forcibly = forcibly);
94775
94797
  };
94776
94798
  DTableBodyCellInputText.prototype.getType = function () {
94777
94799
  return "DTableBodyCellInputText";
@@ -94963,7 +94985,8 @@ var DTableBodyCellInputTree = /** @class */ (function (_super) {
94963
94985
  this._rowIndex = rowIndex;
94964
94986
  var input = this._input;
94965
94987
  input.visible = true;
94966
- input.text = String(value);
94988
+ input.text.setValue(String(value), forcibly || this._forcibly);
94989
+ this._forcibly = undefined;
94967
94990
  var marker = this._marker;
94968
94991
  if (supplimental != null) {
94969
94992
  var isOpened = !!(supplimental & 0x1);
@@ -94992,11 +95015,12 @@ var DTableBodyCellInputTree = /** @class */ (function (_super) {
94992
95015
  }
94993
95016
  DTableBodyCells.set(this._input, row, columnIndex, this._column);
94994
95017
  };
94995
- DTableBodyCellInputTree.prototype.unset = function () {
95018
+ DTableBodyCellInputTree.prototype.unset = function (forcibly) {
94996
95019
  this._row = undefined;
94997
95020
  this._rowIndex = -1;
94998
95021
  this._input.visible = false;
94999
95022
  this._marker.hide();
95023
+ this._forcibly || (this._forcibly = forcibly);
95000
95024
  };
95001
95025
  DTableBodyCellInputTree.prototype.getType = function () {
95002
95026
  return "DTableBodyCellInputTree";
@@ -95141,12 +95165,14 @@ var DTableBodyCellSelectMenu = /** @class */ (function (_super) {
95141
95165
  DTableBodyCellSelectMenu.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
95142
95166
  this._row = row;
95143
95167
  this._rowIndex = rowIndex;
95144
- this.value = value;
95168
+ this.setValue(value, forcibly || this._forcibly);
95169
+ this._forcibly = undefined;
95145
95170
  DTableBodyCells.set(this, row, columnIndex, this._column);
95146
95171
  };
95147
- DTableBodyCellSelectMenu.prototype.unset = function () {
95172
+ DTableBodyCellSelectMenu.prototype.unset = function (forcibly) {
95148
95173
  this._row = undefined;
95149
95174
  this._rowIndex = -1;
95175
+ this._forcibly || (this._forcibly = forcibly);
95150
95176
  };
95151
95177
  DTableBodyCellSelectMenu.prototype.getType = function () {
95152
95178
  return "DTableBodyCellSelectMenu";
@@ -95213,12 +95239,14 @@ var DTableBodyCellSelectMultiple = /** @class */ (function (_super) {
95213
95239
  DTableBodyCellSelectMultiple.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
95214
95240
  this._row = row;
95215
95241
  this._rowIndex = rowIndex;
95216
- this.values = value;
95242
+ this.setValues(value, forcibly || this._forcibly);
95243
+ this._forcibly = undefined;
95217
95244
  DTableBodyCells.set(this, row, columnIndex, this._column);
95218
95245
  };
95219
- DTableBodyCellSelectMultiple.prototype.unset = function () {
95246
+ DTableBodyCellSelectMultiple.prototype.unset = function (forcibly) {
95220
95247
  this._row = undefined;
95221
95248
  this._rowIndex = -1;
95249
+ this._forcibly || (this._forcibly = forcibly);
95222
95250
  };
95223
95251
  DTableBodyCellSelectMultiple.prototype.getType = function () {
95224
95252
  return "DTableBodyCellSelectMultiple";
@@ -95301,12 +95329,7 @@ var DTableBodyCellTime = /** @class */ (function (_super) {
95301
95329
  this._row = row;
95302
95330
  this._rowIndex = rowIndex;
95303
95331
  if (value instanceof Date) {
95304
- if (forcibly) {
95305
- this.text.setValue(value, true);
95306
- }
95307
- else {
95308
- this.text = value;
95309
- }
95332
+ this.text.setValue(value, forcibly || this._forcibly);
95310
95333
  }
95311
95334
  else if (isNumber(value)) {
95312
95335
  var text = this.text;
@@ -95319,11 +95342,13 @@ var DTableBodyCellTime = /** @class */ (function (_super) {
95319
95342
  text.compute(true);
95320
95343
  }
95321
95344
  }
95345
+ this._forcibly = undefined;
95322
95346
  DTableBodyCells.set(this, row, columnIndex, this._column);
95323
95347
  };
95324
- DTableBodyCellTime.prototype.unset = function () {
95348
+ DTableBodyCellTime.prototype.unset = function (forcibly) {
95325
95349
  this._row = undefined;
95326
95350
  this._rowIndex = -1;
95351
+ this._forcibly || (this._forcibly = forcibly);
95327
95352
  };
95328
95353
  DTableBodyCellTime.prototype.getType = function () {
95329
95354
  return "DTableBodyCellTime";
@@ -95834,8 +95859,8 @@ var DTableBodyRow = /** @class */ (function (_super) {
95834
95859
  DTableBodyRow.prototype.onSet = function (value, rowIndex) {
95835
95860
  this.emit("set", value, rowIndex, this);
95836
95861
  };
95837
- DTableBodyRow.prototype.unset = function () {
95838
- if (this._value !== undefined) {
95862
+ DTableBodyRow.prototype.unset = function (forcibly) {
95863
+ if (forcibly || this._value !== undefined) {
95839
95864
  this._value = undefined;
95840
95865
  this._index = -1;
95841
95866
  var cells = this.children;
@@ -95843,7 +95868,7 @@ var DTableBodyRow = /** @class */ (function (_super) {
95843
95868
  for (var i = 0; i < cellsLength; ++i) {
95844
95869
  var cell = cells[i];
95845
95870
  if (this.isCell(cell)) {
95846
- cell.unset();
95871
+ cell.unset(forcibly);
95847
95872
  }
95848
95873
  }
95849
95874
  this.onUnset();
@@ -97009,7 +97034,7 @@ var DTableBody = /** @class */ (function (_super) {
97009
97034
  rowState.removeAll(DTableState.HAS_DATA, DTableState.SELECTABLE, DBaseState.ACTIVE);
97010
97035
  rowState.unlock();
97011
97036
  // Data
97012
- row.unset();
97037
+ row.unset(forcibly);
97013
97038
  }
97014
97039
  for (var i = rowsLength - 1; dataMappedSize <= newRowIndexMappedStart + i && 0 <= i; --i) {
97015
97040
  var row = rows[i];
@@ -97022,7 +97047,7 @@ var DTableBody = /** @class */ (function (_super) {
97022
97047
  rowState.removeAll(DTableState.HAS_DATA, DTableState.SELECTABLE, DBaseState.ACTIVE);
97023
97048
  rowState.unlock();
97024
97049
  // Data
97025
- row.unset();
97050
+ row.unset(forcibly);
97026
97051
  }
97027
97052
  this.lock();
97028
97053
  content.position.y = newContentY;