@wcardinal/wcardinal-ui 0.368.0 → 0.369.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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.368.0
2
+ Winter Cardinal UI v0.369.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -25935,12 +25935,16 @@ var UtilAttachAlign = {
25935
25935
  BOTTOM_LEFT: 13,
25936
25936
  BOTTOM_CENTER: 14,
25937
25937
  BOTTOM_RIGHT: 15,
25938
- OVER: 16
25938
+ OVER: 16,
25939
+ NONE: 17
25939
25940
  };
25940
25941
  var UtilAttach = /** @class */ (function () {
25941
25942
  function UtilAttach() {
25942
25943
  }
25943
25944
  UtilAttach.attach = function (target, bounds, offsetX, offsetY, clippingWidth, clippingHeight, align) {
25945
+ if (align === UtilAttachAlign.NONE) {
25946
+ return;
25947
+ }
25944
25948
  var width = target.width;
25945
25949
  var height = target.height;
25946
25950
  var x = 0;
@@ -26556,6 +26560,9 @@ var DDialog = /** @class */ (function (_super) {
26556
26560
  return;
26557
26561
  }
26558
26562
  var align = this._align;
26563
+ if (align === UtilAttachAlign.NONE) {
26564
+ return;
26565
+ }
26559
26566
  var opener = this._opener;
26560
26567
  if (align != null && opener != null) {
26561
26568
  var mode = this._mode;
@@ -90161,10 +90168,10 @@ var DTableDataList = /** @class */ (function (_super) {
90161
90168
  enumerable: false,
90162
90169
  configurable: true
90163
90170
  });
90164
- DTableDataList.prototype.update = function () {
90171
+ DTableDataList.prototype.update = function (forcibly) {
90165
90172
  var parent = this._parent;
90166
90173
  if (parent) {
90167
- parent.update();
90174
+ parent.update(forcibly);
90168
90175
  }
90169
90176
  };
90170
90177
  DTableDataList.prototype.lock = function () {
@@ -90173,11 +90180,10 @@ var DTableDataList = /** @class */ (function (_super) {
90173
90180
  parent.lock();
90174
90181
  }
90175
90182
  };
90176
- DTableDataList.prototype.unlock = function () {
90183
+ DTableDataList.prototype.unlock = function (callIfNeeded) {
90177
90184
  var parent = this._parent;
90178
90185
  if (parent) {
90179
- parent.unlock(false);
90180
- parent.update();
90186
+ parent.unlock(callIfNeeded);
90181
90187
  }
90182
90188
  };
90183
90189
  DTableDataList.prototype.size = function () {
@@ -90191,7 +90197,8 @@ var DTableDataList = /** @class */ (function (_super) {
90191
90197
  this._selection.clear();
90192
90198
  this._sorter.toDirty();
90193
90199
  this._filter.toDirty();
90194
- this.unlock();
90200
+ this.update();
90201
+ this.unlock(true);
90195
90202
  }
90196
90203
  };
90197
90204
  DTableDataList.prototype.clearAndAdd = function (row) {
@@ -90202,7 +90209,8 @@ var DTableDataList = /** @class */ (function (_super) {
90202
90209
  this._selection.clear();
90203
90210
  this._sorter.toDirty();
90204
90211
  this._filter.toDirty();
90205
- this.unlock();
90212
+ this.update();
90213
+ this.unlock(true);
90206
90214
  };
90207
90215
  DTableDataList.prototype.clearAndAddAll = function (newRows) {
90208
90216
  var rows = this._rows;
@@ -90214,7 +90222,8 @@ var DTableDataList = /** @class */ (function (_super) {
90214
90222
  this._selection.clear();
90215
90223
  this._sorter.toDirty();
90216
90224
  this._filter.toDirty();
90217
- this.unlock();
90225
+ this.update();
90226
+ this.unlock(true);
90218
90227
  };
90219
90228
  DTableDataList.prototype.add = function (row, index) {
90220
90229
  var rows = this._rows;
@@ -90226,7 +90235,8 @@ var DTableDataList = /** @class */ (function (_super) {
90226
90235
  this.lock();
90227
90236
  sorter.toDirty();
90228
90237
  filter.toDirty();
90229
- this.unlock();
90238
+ this.update();
90239
+ this.unlock(true);
90230
90240
  }
90231
90241
  else if (0 <= index && index < rows.length) {
90232
90242
  rows.splice(index, 0, row);
@@ -90234,7 +90244,8 @@ var DTableDataList = /** @class */ (function (_super) {
90234
90244
  selection.shift(index, 1);
90235
90245
  sorter.toDirty();
90236
90246
  filter.toDirty();
90237
- this.unlock();
90247
+ this.update();
90248
+ this.unlock(true);
90238
90249
  }
90239
90250
  };
90240
90251
  DTableDataList.prototype.addAll = function (newRows, index) {
@@ -90251,7 +90262,8 @@ var DTableDataList = /** @class */ (function (_super) {
90251
90262
  this.lock();
90252
90263
  sorter.toDirty();
90253
90264
  filter.toDirty();
90254
- this.unlock();
90265
+ this.update();
90266
+ this.unlock(true);
90255
90267
  }
90256
90268
  else if (0 <= index && index < rowsLength) {
90257
90269
  var newRowsLength = newRows.length;
@@ -90262,7 +90274,8 @@ var DTableDataList = /** @class */ (function (_super) {
90262
90274
  selection.shift(index, newRowsLength);
90263
90275
  sorter.toDirty();
90264
90276
  filter.toDirty();
90265
- this.unlock();
90277
+ this.update();
90278
+ this.unlock(true);
90266
90279
  }
90267
90280
  };
90268
90281
  DTableDataList.prototype.get = function (index) {
@@ -90280,7 +90293,8 @@ var DTableDataList = /** @class */ (function (_super) {
90280
90293
  this.lock();
90281
90294
  this._sorter.toDirty();
90282
90295
  this._filter.toDirty();
90283
- this.unlock();
90296
+ this.update();
90297
+ this.unlock(true);
90284
90298
  return result;
90285
90299
  }
90286
90300
  return null;
@@ -90293,7 +90307,8 @@ var DTableDataList = /** @class */ (function (_super) {
90293
90307
  this._selection.remove(index);
90294
90308
  this._sorter.toDirty();
90295
90309
  this._filter.toDirty();
90296
- this.unlock();
90310
+ this.update();
90311
+ this.unlock(true);
90297
90312
  return result;
90298
90313
  }
90299
90314
  return null;
@@ -91631,6 +91646,18 @@ var DTableDataTree = /** @class */ (function (_super) {
91631
91646
  parent.update(forcibly);
91632
91647
  }
91633
91648
  };
91649
+ DTableDataTree.prototype.lock = function () {
91650
+ var parent = this._parent;
91651
+ if (parent) {
91652
+ parent.lock();
91653
+ }
91654
+ };
91655
+ DTableDataTree.prototype.unlock = function (callIfNeeded) {
91656
+ var parent = this._parent;
91657
+ if (parent) {
91658
+ parent.unlock(callIfNeeded);
91659
+ }
91660
+ };
91634
91661
  DTableDataTree.prototype.size = function () {
91635
91662
  return this.rows.length;
91636
91663
  };
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.368.0
2
+ Winter Cardinal UI v0.369.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -25932,12 +25932,16 @@
25932
25932
  BOTTOM_LEFT: 13,
25933
25933
  BOTTOM_CENTER: 14,
25934
25934
  BOTTOM_RIGHT: 15,
25935
- OVER: 16
25935
+ OVER: 16,
25936
+ NONE: 17
25936
25937
  };
25937
25938
  var UtilAttach = /** @class */ (function () {
25938
25939
  function UtilAttach() {
25939
25940
  }
25940
25941
  UtilAttach.attach = function (target, bounds, offsetX, offsetY, clippingWidth, clippingHeight, align) {
25942
+ if (align === UtilAttachAlign.NONE) {
25943
+ return;
25944
+ }
25941
25945
  var width = target.width;
25942
25946
  var height = target.height;
25943
25947
  var x = 0;
@@ -26553,6 +26557,9 @@
26553
26557
  return;
26554
26558
  }
26555
26559
  var align = this._align;
26560
+ if (align === UtilAttachAlign.NONE) {
26561
+ return;
26562
+ }
26556
26563
  var opener = this._opener;
26557
26564
  if (align != null && opener != null) {
26558
26565
  var mode = this._mode;
@@ -71586,10 +71593,10 @@
71586
71593
  enumerable: false,
71587
71594
  configurable: true
71588
71595
  });
71589
- DTableDataList.prototype.update = function () {
71596
+ DTableDataList.prototype.update = function (forcibly) {
71590
71597
  var parent = this._parent;
71591
71598
  if (parent) {
71592
- parent.update();
71599
+ parent.update(forcibly);
71593
71600
  }
71594
71601
  };
71595
71602
  DTableDataList.prototype.lock = function () {
@@ -71598,11 +71605,10 @@
71598
71605
  parent.lock();
71599
71606
  }
71600
71607
  };
71601
- DTableDataList.prototype.unlock = function () {
71608
+ DTableDataList.prototype.unlock = function (callIfNeeded) {
71602
71609
  var parent = this._parent;
71603
71610
  if (parent) {
71604
- parent.unlock(false);
71605
- parent.update();
71611
+ parent.unlock(callIfNeeded);
71606
71612
  }
71607
71613
  };
71608
71614
  DTableDataList.prototype.size = function () {
@@ -71616,7 +71622,8 @@
71616
71622
  this._selection.clear();
71617
71623
  this._sorter.toDirty();
71618
71624
  this._filter.toDirty();
71619
- this.unlock();
71625
+ this.update();
71626
+ this.unlock(true);
71620
71627
  }
71621
71628
  };
71622
71629
  DTableDataList.prototype.clearAndAdd = function (row) {
@@ -71627,7 +71634,8 @@
71627
71634
  this._selection.clear();
71628
71635
  this._sorter.toDirty();
71629
71636
  this._filter.toDirty();
71630
- this.unlock();
71637
+ this.update();
71638
+ this.unlock(true);
71631
71639
  };
71632
71640
  DTableDataList.prototype.clearAndAddAll = function (newRows) {
71633
71641
  var rows = this._rows;
@@ -71639,7 +71647,8 @@
71639
71647
  this._selection.clear();
71640
71648
  this._sorter.toDirty();
71641
71649
  this._filter.toDirty();
71642
- this.unlock();
71650
+ this.update();
71651
+ this.unlock(true);
71643
71652
  };
71644
71653
  DTableDataList.prototype.add = function (row, index) {
71645
71654
  var rows = this._rows;
@@ -71651,7 +71660,8 @@
71651
71660
  this.lock();
71652
71661
  sorter.toDirty();
71653
71662
  filter.toDirty();
71654
- this.unlock();
71663
+ this.update();
71664
+ this.unlock(true);
71655
71665
  }
71656
71666
  else if (0 <= index && index < rows.length) {
71657
71667
  rows.splice(index, 0, row);
@@ -71659,7 +71669,8 @@
71659
71669
  selection.shift(index, 1);
71660
71670
  sorter.toDirty();
71661
71671
  filter.toDirty();
71662
- this.unlock();
71672
+ this.update();
71673
+ this.unlock(true);
71663
71674
  }
71664
71675
  };
71665
71676
  DTableDataList.prototype.addAll = function (newRows, index) {
@@ -71676,7 +71687,8 @@
71676
71687
  this.lock();
71677
71688
  sorter.toDirty();
71678
71689
  filter.toDirty();
71679
- this.unlock();
71690
+ this.update();
71691
+ this.unlock(true);
71680
71692
  }
71681
71693
  else if (0 <= index && index < rowsLength) {
71682
71694
  var newRowsLength = newRows.length;
@@ -71687,7 +71699,8 @@
71687
71699
  selection.shift(index, newRowsLength);
71688
71700
  sorter.toDirty();
71689
71701
  filter.toDirty();
71690
- this.unlock();
71702
+ this.update();
71703
+ this.unlock(true);
71691
71704
  }
71692
71705
  };
71693
71706
  DTableDataList.prototype.get = function (index) {
@@ -71705,7 +71718,8 @@
71705
71718
  this.lock();
71706
71719
  this._sorter.toDirty();
71707
71720
  this._filter.toDirty();
71708
- this.unlock();
71721
+ this.update();
71722
+ this.unlock(true);
71709
71723
  return result;
71710
71724
  }
71711
71725
  return null;
@@ -71718,7 +71732,8 @@
71718
71732
  this._selection.remove(index);
71719
71733
  this._sorter.toDirty();
71720
71734
  this._filter.toDirty();
71721
- this.unlock();
71735
+ this.update();
71736
+ this.unlock(true);
71722
71737
  return result;
71723
71738
  }
71724
71739
  return null;
@@ -73056,6 +73071,18 @@
73056
73071
  parent.update(forcibly);
73057
73072
  }
73058
73073
  };
73074
+ DTableDataTree.prototype.lock = function () {
73075
+ var parent = this._parent;
73076
+ if (parent) {
73077
+ parent.lock();
73078
+ }
73079
+ };
73080
+ DTableDataTree.prototype.unlock = function (callIfNeeded) {
73081
+ var parent = this._parent;
73082
+ if (parent) {
73083
+ parent.unlock(callIfNeeded);
73084
+ }
73085
+ };
73059
73086
  DTableDataTree.prototype.size = function () {
73060
73087
  return this.rows.length;
73061
73088
  };