@wcardinal/wcardinal-ui 0.450.1 → 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.
- package/dist/types/wcardinal/ui/d-select-multiple.d.ts +4 -2
- package/dist/types/wcardinal/ui/d-select.d.ts +2 -0
- package/dist/types/wcardinal/ui/d-table-body-cell-action-menu.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-check.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-color.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-date.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-datetime.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-index.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-input-integer.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-input-real.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-input-text-area.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-input-text.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-input-tree.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-select-dialog.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-select-menu.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-select-multiple.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-select-promise.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-text.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-time.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-body-row.d.ts +1 -1
- package/dist/types/wcardinal/ui/d-table-column-selecting.d.ts +1 -1
- package/dist/wcardinal/ui/d-select-multiple.js +17 -11
- package/dist/wcardinal/ui/d-select-multiple.js.map +1 -1
- package/dist/wcardinal/ui/d-select.js +18 -12
- package/dist/wcardinal/ui/d-select.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-action-menu.js +4 -2
- package/dist/wcardinal/ui/d-table-body-cell-action-menu.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-check.js +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-check.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-color.js +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-color.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-date.js +4 -7
- package/dist/wcardinal/ui/d-table-body-cell-date.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-datetime.js +4 -7
- package/dist/wcardinal/ui/d-table-body-cell-datetime.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-index.js +4 -2
- package/dist/wcardinal/ui/d-table-body-cell-index.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-input-integer.js +4 -2
- package/dist/wcardinal/ui/d-table-body-cell-input-integer.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-input-real.js +4 -2
- package/dist/wcardinal/ui/d-table-body-cell-input-real.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-input-text-area.js +4 -2
- package/dist/wcardinal/ui/d-table-body-cell-input-text-area.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-input-text.js +4 -2
- package/dist/wcardinal/ui/d-table-body-cell-input-text.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-input-tree.js +4 -2
- package/dist/wcardinal/ui/d-table-body-cell-input-tree.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-dialog.js +5 -8
- package/dist/wcardinal/ui/d-table-body-cell-select-dialog.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-menu.js +4 -2
- package/dist/wcardinal/ui/d-table-body-cell-select-menu.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-multiple.js +4 -2
- package/dist/wcardinal/ui/d-table-body-cell-select-multiple.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-select-promise.js +4 -7
- package/dist/wcardinal/ui/d-table-body-cell-select-promise.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-text.js +4 -2
- package/dist/wcardinal/ui/d-table-body-cell-text.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-time.js +4 -7
- package/dist/wcardinal/ui/d-table-body-cell-time.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-row.js +3 -3
- package/dist/wcardinal/ui/d-table-body-row.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body.js +2 -2
- package/dist/wcardinal/ui/d-table-body.js.map +1 -1
- package/dist/wcardinal/ui/d-table-column-selecting.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark-en-us.js +1 -1
- package/dist/wcardinal-ui-theme-dark-en-us.min.js +1 -1
- package/dist/wcardinal-ui-theme-dark-ja-jp.js +1 -1
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +1 -1
- package/dist/wcardinal-ui-theme-dark.js +1 -1
- package/dist/wcardinal-ui-theme-dark.min.js +1 -1
- package/dist/wcardinal-ui-theme-white-en-us.js +1 -1
- package/dist/wcardinal-ui-theme-white-en-us.min.js +1 -1
- package/dist/wcardinal-ui-theme-white-ja-jp.js +1 -1
- package/dist/wcardinal-ui-theme-white-ja-jp.min.js +1 -1
- package/dist/wcardinal-ui-theme-white.js +1 -1
- package/dist/wcardinal-ui-theme-white.min.js +1 -1
- package/dist/wcardinal-ui.cjs.js +104 -87
- package/dist/wcardinal-ui.js +104 -87
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
package/dist/wcardinal-ui.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.451.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -77087,27 +77087,33 @@ var DSelect = /** @class */ (function (_super) {
|
|
|
77087
77087
|
* Returns a selected value or null.
|
|
77088
77088
|
*/
|
|
77089
77089
|
get: function () {
|
|
77090
|
-
return this.
|
|
77090
|
+
return this.getValue();
|
|
77091
77091
|
},
|
|
77092
77092
|
/**
|
|
77093
77093
|
* Sets to the specified value.
|
|
77094
77094
|
*/
|
|
77095
77095
|
set: function (value) {
|
|
77096
|
-
|
|
77097
|
-
var item = DMenuItems.find(this.menu, value);
|
|
77098
|
-
if (item != null) {
|
|
77099
|
-
this._value = value;
|
|
77100
|
-
this.text = item;
|
|
77101
|
-
}
|
|
77102
|
-
else {
|
|
77103
|
-
this._value = null;
|
|
77104
|
-
this.text = null;
|
|
77105
|
-
}
|
|
77106
|
-
}
|
|
77096
|
+
this.setValue(value);
|
|
77107
77097
|
},
|
|
77108
77098
|
enumerable: false,
|
|
77109
77099
|
configurable: true
|
|
77110
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
|
+
};
|
|
77111
77117
|
DSelect.prototype.getType = function () {
|
|
77112
77118
|
return "DSelect";
|
|
77113
77119
|
};
|
|
@@ -92875,27 +92881,33 @@ var DSelectMultiple = /** @class */ (function (_super) {
|
|
|
92875
92881
|
};
|
|
92876
92882
|
Object.defineProperty(DSelectMultiple.prototype, "values", {
|
|
92877
92883
|
/**
|
|
92878
|
-
* Returns
|
|
92884
|
+
* Returns selected values.
|
|
92879
92885
|
*/
|
|
92880
92886
|
get: function () {
|
|
92881
|
-
return this.
|
|
92887
|
+
return this.getValues();
|
|
92882
92888
|
},
|
|
92883
92889
|
/**
|
|
92884
|
-
* Sets to the specified
|
|
92890
|
+
* Sets to the specified values.
|
|
92885
92891
|
*/
|
|
92886
92892
|
set: function (values) {
|
|
92887
|
-
|
|
92888
|
-
if (!this.isSameValues(values, oldValues)) {
|
|
92889
|
-
var newValues = [];
|
|
92890
|
-
var newItems = [];
|
|
92891
|
-
this.updateMenuItems(this.menu, values, undefined, undefined, newValues, newItems);
|
|
92892
|
-
this._values = newValues;
|
|
92893
|
-
this.text = newItems;
|
|
92894
|
-
}
|
|
92893
|
+
this.setValues(values);
|
|
92895
92894
|
},
|
|
92896
92895
|
enumerable: false,
|
|
92897
92896
|
configurable: true
|
|
92898
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
|
+
};
|
|
92899
92911
|
DSelectMultiple.prototype.isSameValues = function (a, b) {
|
|
92900
92912
|
if (a.length === b.length) {
|
|
92901
92913
|
for (var i = 0, imax = a.length; i < imax; ++i) {
|
|
@@ -93617,7 +93629,7 @@ var DTableBodyCellSelectDialog = /** @class */ (function (_super) {
|
|
|
93617
93629
|
var oldValue_1 = (_a = this.text.computed) !== null && _a !== void 0 ? _a : null;
|
|
93618
93630
|
selecting.setter(dialog, oldValue_1);
|
|
93619
93631
|
dialog.open(this).then(function () {
|
|
93620
|
-
var newValue = selecting.getter(dialog);
|
|
93632
|
+
var newValue = selecting.getter(dialog, oldValue_1);
|
|
93621
93633
|
if (_this._isSyncEnabled) {
|
|
93622
93634
|
if (newValue !== oldValue_1) {
|
|
93623
93635
|
_this.text = newValue;
|
|
@@ -93683,17 +93695,14 @@ var DTableBodyCellSelectDialog = /** @class */ (function (_super) {
|
|
|
93683
93695
|
DTableBodyCellSelectDialog.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
93684
93696
|
this._row = row;
|
|
93685
93697
|
this._rowIndex = rowIndex;
|
|
93686
|
-
|
|
93687
|
-
|
|
93688
|
-
}
|
|
93689
|
-
else {
|
|
93690
|
-
this.text = value;
|
|
93691
|
-
}
|
|
93698
|
+
this.text.setValue(value, forcibly || this._forcibly);
|
|
93699
|
+
this._forcibly = undefined;
|
|
93692
93700
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
93693
93701
|
};
|
|
93694
|
-
DTableBodyCellSelectDialog.prototype.unset = function () {
|
|
93702
|
+
DTableBodyCellSelectDialog.prototype.unset = function (forcibly) {
|
|
93695
93703
|
this._row = undefined;
|
|
93696
93704
|
this._rowIndex = -1;
|
|
93705
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
93697
93706
|
};
|
|
93698
93707
|
DTableBodyCellSelectDialog.prototype.getType = function () {
|
|
93699
93708
|
return "DTableBodyCellSelectDialog";
|
|
@@ -93775,12 +93784,14 @@ var DTableBodyCellActionMenu = /** @class */ (function (_super) {
|
|
|
93775
93784
|
DTableBodyCellActionMenu.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
93776
93785
|
this._row = row;
|
|
93777
93786
|
this._rowIndex = rowIndex;
|
|
93778
|
-
this.text
|
|
93787
|
+
this.text.setValue(value, forcibly || this._forcibly);
|
|
93788
|
+
this._forcibly = undefined;
|
|
93779
93789
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
93780
93790
|
};
|
|
93781
|
-
DTableBodyCellActionMenu.prototype.unset = function () {
|
|
93791
|
+
DTableBodyCellActionMenu.prototype.unset = function (forcibly) {
|
|
93782
93792
|
this._row = undefined;
|
|
93783
93793
|
this._rowIndex = -1;
|
|
93794
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
93784
93795
|
};
|
|
93785
93796
|
DTableBodyCellActionMenu.prototype.getType = function () {
|
|
93786
93797
|
return "DTableBodyCellActionMenu";
|
|
@@ -93878,17 +93889,14 @@ var DTableBodyCellSelectPromise = /** @class */ (function (_super) {
|
|
|
93878
93889
|
DTableBodyCellSelectPromise.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
93879
93890
|
this._row = row;
|
|
93880
93891
|
this._rowIndex = rowIndex;
|
|
93881
|
-
|
|
93882
|
-
|
|
93883
|
-
}
|
|
93884
|
-
else {
|
|
93885
|
-
this.text = value;
|
|
93886
|
-
}
|
|
93892
|
+
this.text.setValue(value, forcibly || this._forcibly);
|
|
93893
|
+
this._forcibly = undefined;
|
|
93887
93894
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
93888
93895
|
};
|
|
93889
|
-
DTableBodyCellSelectPromise.prototype.unset = function () {
|
|
93896
|
+
DTableBodyCellSelectPromise.prototype.unset = function (forcibly) {
|
|
93890
93897
|
this._row = undefined;
|
|
93891
93898
|
this._rowIndex = -1;
|
|
93899
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
93892
93900
|
};
|
|
93893
93901
|
DTableBodyCellSelectPromise.prototype.getType = function () {
|
|
93894
93902
|
return "DTableBodyCellSelectPromise";
|
|
@@ -93956,12 +93964,14 @@ var DTableBodyCellText = /** @class */ (function (_super) {
|
|
|
93956
93964
|
DTableBodyCellText.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
93957
93965
|
this._row = row;
|
|
93958
93966
|
this._rowIndex = rowIndex;
|
|
93959
|
-
this.text
|
|
93967
|
+
this.text.setValue(value, forcibly || this._forcibly);
|
|
93968
|
+
this._forcibly = undefined;
|
|
93960
93969
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
93961
93970
|
};
|
|
93962
|
-
DTableBodyCellText.prototype.unset = function () {
|
|
93971
|
+
DTableBodyCellText.prototype.unset = function (forcibly) {
|
|
93963
93972
|
this._row = undefined;
|
|
93964
93973
|
this._rowIndex = -1;
|
|
93974
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
93965
93975
|
};
|
|
93966
93976
|
DTableBodyCellText.prototype.getType = function () {
|
|
93967
93977
|
return "DTableBodyCellText";
|
|
@@ -94172,7 +94182,7 @@ var DTableBodyCellCheck = /** @class */ (function (_super) {
|
|
|
94172
94182
|
this.state.isActive = !!value;
|
|
94173
94183
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
94174
94184
|
};
|
|
94175
|
-
DTableBodyCellCheck.prototype.unset = function () {
|
|
94185
|
+
DTableBodyCellCheck.prototype.unset = function (forcibly) {
|
|
94176
94186
|
this._row = undefined;
|
|
94177
94187
|
this._rowIndex = -1;
|
|
94178
94188
|
};
|
|
@@ -94263,7 +94273,7 @@ var DTableBodyCellColor = /** @class */ (function (_super) {
|
|
|
94263
94273
|
}
|
|
94264
94274
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
94265
94275
|
};
|
|
94266
|
-
DTableBodyCellColor.prototype.unset = function () {
|
|
94276
|
+
DTableBodyCellColor.prototype.unset = function (forcibly) {
|
|
94267
94277
|
this._row = undefined;
|
|
94268
94278
|
this._rowIndex = -1;
|
|
94269
94279
|
};
|
|
@@ -94333,12 +94343,7 @@ var DTableBodyCellDate = /** @class */ (function (_super) {
|
|
|
94333
94343
|
this._row = row;
|
|
94334
94344
|
this._rowIndex = rowIndex;
|
|
94335
94345
|
if (value instanceof Date) {
|
|
94336
|
-
|
|
94337
|
-
this.text.setValue(value, true);
|
|
94338
|
-
}
|
|
94339
|
-
else {
|
|
94340
|
-
this.text = value;
|
|
94341
|
-
}
|
|
94346
|
+
this.text.setValue(value, forcibly || this._forcibly);
|
|
94342
94347
|
}
|
|
94343
94348
|
else if (isNumber(value)) {
|
|
94344
94349
|
var text = this.text;
|
|
@@ -94351,11 +94356,13 @@ var DTableBodyCellDate = /** @class */ (function (_super) {
|
|
|
94351
94356
|
text.compute(true);
|
|
94352
94357
|
}
|
|
94353
94358
|
}
|
|
94359
|
+
this._forcibly = undefined;
|
|
94354
94360
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
94355
94361
|
};
|
|
94356
|
-
DTableBodyCellDate.prototype.unset = function () {
|
|
94362
|
+
DTableBodyCellDate.prototype.unset = function (forcibly) {
|
|
94357
94363
|
this._row = undefined;
|
|
94358
94364
|
this._rowIndex = -1;
|
|
94365
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
94359
94366
|
};
|
|
94360
94367
|
DTableBodyCellDate.prototype.getType = function () {
|
|
94361
94368
|
return "DTableBodyCellDate";
|
|
@@ -94423,12 +94430,7 @@ var DTableBodyCellDatetime = /** @class */ (function (_super) {
|
|
|
94423
94430
|
this._row = row;
|
|
94424
94431
|
this._rowIndex = rowIndex;
|
|
94425
94432
|
if (value instanceof Date) {
|
|
94426
|
-
|
|
94427
|
-
this.text.setValue(value, true);
|
|
94428
|
-
}
|
|
94429
|
-
else {
|
|
94430
|
-
this.text = value;
|
|
94431
|
-
}
|
|
94433
|
+
this.text.setValue(value, forcibly || this._forcibly);
|
|
94432
94434
|
}
|
|
94433
94435
|
else if (isNumber(value)) {
|
|
94434
94436
|
var text = this.text;
|
|
@@ -94441,11 +94443,13 @@ var DTableBodyCellDatetime = /** @class */ (function (_super) {
|
|
|
94441
94443
|
text.compute(true);
|
|
94442
94444
|
}
|
|
94443
94445
|
}
|
|
94446
|
+
this._forcibly = undefined;
|
|
94444
94447
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
94445
94448
|
};
|
|
94446
|
-
DTableBodyCellDatetime.prototype.unset = function () {
|
|
94449
|
+
DTableBodyCellDatetime.prototype.unset = function (forcibly) {
|
|
94447
94450
|
this._row = undefined;
|
|
94448
94451
|
this._rowIndex = -1;
|
|
94452
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
94449
94453
|
};
|
|
94450
94454
|
DTableBodyCellDatetime.prototype.getType = function () {
|
|
94451
94455
|
return "DTableBodyCellDatetime";
|
|
@@ -94498,12 +94502,14 @@ var DTableBodyCellIndex = /** @class */ (function (_super) {
|
|
|
94498
94502
|
DTableBodyCellIndex.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
94499
94503
|
this._row = row;
|
|
94500
94504
|
this._rowIndex = rowIndex;
|
|
94501
|
-
this.text
|
|
94505
|
+
this.text.setValue(rowIndex, forcibly || this._forcibly);
|
|
94506
|
+
this._forcibly = undefined;
|
|
94502
94507
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
94503
94508
|
};
|
|
94504
|
-
DTableBodyCellIndex.prototype.unset = function () {
|
|
94509
|
+
DTableBodyCellIndex.prototype.unset = function (forcibly) {
|
|
94505
94510
|
this._row = undefined;
|
|
94506
94511
|
this._rowIndex = -1;
|
|
94512
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
94507
94513
|
};
|
|
94508
94514
|
DTableBodyCellIndex.prototype.getType = function () {
|
|
94509
94515
|
return "DTableBodyCellIndex";
|
|
@@ -94567,12 +94573,14 @@ var DTableBodyCellInputInteger = /** @class */ (function (_super) {
|
|
|
94567
94573
|
DTableBodyCellInputInteger.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
94568
94574
|
this._row = row;
|
|
94569
94575
|
this._rowIndex = rowIndex;
|
|
94570
|
-
this.text
|
|
94576
|
+
this.text.setValue(Number(value), forcibly || this._forcibly);
|
|
94577
|
+
this._forcibly = undefined;
|
|
94571
94578
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
94572
94579
|
};
|
|
94573
|
-
DTableBodyCellInputInteger.prototype.unset = function () {
|
|
94580
|
+
DTableBodyCellInputInteger.prototype.unset = function (forcibly) {
|
|
94574
94581
|
this._row = undefined;
|
|
94575
94582
|
this._rowIndex = -1;
|
|
94583
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
94576
94584
|
};
|
|
94577
94585
|
DTableBodyCellInputInteger.prototype.getType = function () {
|
|
94578
94586
|
return "DTableBodyCellInputInteger";
|
|
@@ -94636,12 +94644,14 @@ var DTableBodyCellInputReal = /** @class */ (function (_super) {
|
|
|
94636
94644
|
DTableBodyCellInputReal.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
94637
94645
|
this._row = row;
|
|
94638
94646
|
this._rowIndex = rowIndex;
|
|
94639
|
-
this.text
|
|
94647
|
+
this.text.setValue(Number(value), forcibly || this._forcibly);
|
|
94648
|
+
this._forcibly = undefined;
|
|
94640
94649
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
94641
94650
|
};
|
|
94642
|
-
DTableBodyCellInputReal.prototype.unset = function () {
|
|
94651
|
+
DTableBodyCellInputReal.prototype.unset = function (forcibly) {
|
|
94643
94652
|
this._row = undefined;
|
|
94644
94653
|
this._rowIndex = -1;
|
|
94654
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
94645
94655
|
};
|
|
94646
94656
|
DTableBodyCellInputReal.prototype.getType = function () {
|
|
94647
94657
|
return "DTableBodyCellInputReal";
|
|
@@ -94705,12 +94715,14 @@ var DTableBodyCellInputTextArea = /** @class */ (function (_super) {
|
|
|
94705
94715
|
DTableBodyCellInputTextArea.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
94706
94716
|
this._row = row;
|
|
94707
94717
|
this._rowIndex = rowIndex;
|
|
94708
|
-
this.text
|
|
94718
|
+
this.text.setValue(String(value), forcibly || this._forcibly);
|
|
94719
|
+
this._forcibly = undefined;
|
|
94709
94720
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
94710
94721
|
};
|
|
94711
|
-
DTableBodyCellInputTextArea.prototype.unset = function () {
|
|
94722
|
+
DTableBodyCellInputTextArea.prototype.unset = function (forcibly) {
|
|
94712
94723
|
this._row = undefined;
|
|
94713
94724
|
this._rowIndex = -1;
|
|
94725
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
94714
94726
|
};
|
|
94715
94727
|
DTableBodyCellInputTextArea.prototype.getType = function () {
|
|
94716
94728
|
return "DTableBodyCellInputTextArea";
|
|
@@ -94774,12 +94786,14 @@ var DTableBodyCellInputText = /** @class */ (function (_super) {
|
|
|
94774
94786
|
DTableBodyCellInputText.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
94775
94787
|
this._row = row;
|
|
94776
94788
|
this._rowIndex = rowIndex;
|
|
94777
|
-
this.text
|
|
94789
|
+
this.text.setValue(String(value), forcibly || this._forcibly);
|
|
94790
|
+
this._forcibly = undefined;
|
|
94778
94791
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
94779
94792
|
};
|
|
94780
|
-
DTableBodyCellInputText.prototype.unset = function () {
|
|
94793
|
+
DTableBodyCellInputText.prototype.unset = function (forcibly) {
|
|
94781
94794
|
this._row = undefined;
|
|
94782
94795
|
this._rowIndex = -1;
|
|
94796
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
94783
94797
|
};
|
|
94784
94798
|
DTableBodyCellInputText.prototype.getType = function () {
|
|
94785
94799
|
return "DTableBodyCellInputText";
|
|
@@ -94971,7 +94985,8 @@ var DTableBodyCellInputTree = /** @class */ (function (_super) {
|
|
|
94971
94985
|
this._rowIndex = rowIndex;
|
|
94972
94986
|
var input = this._input;
|
|
94973
94987
|
input.visible = true;
|
|
94974
|
-
input.text
|
|
94988
|
+
input.text.setValue(String(value), forcibly || this._forcibly);
|
|
94989
|
+
this._forcibly = undefined;
|
|
94975
94990
|
var marker = this._marker;
|
|
94976
94991
|
if (supplimental != null) {
|
|
94977
94992
|
var isOpened = !!(supplimental & 0x1);
|
|
@@ -95000,11 +95015,12 @@ var DTableBodyCellInputTree = /** @class */ (function (_super) {
|
|
|
95000
95015
|
}
|
|
95001
95016
|
DTableBodyCells.set(this._input, row, columnIndex, this._column);
|
|
95002
95017
|
};
|
|
95003
|
-
DTableBodyCellInputTree.prototype.unset = function () {
|
|
95018
|
+
DTableBodyCellInputTree.prototype.unset = function (forcibly) {
|
|
95004
95019
|
this._row = undefined;
|
|
95005
95020
|
this._rowIndex = -1;
|
|
95006
95021
|
this._input.visible = false;
|
|
95007
95022
|
this._marker.hide();
|
|
95023
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
95008
95024
|
};
|
|
95009
95025
|
DTableBodyCellInputTree.prototype.getType = function () {
|
|
95010
95026
|
return "DTableBodyCellInputTree";
|
|
@@ -95149,12 +95165,14 @@ var DTableBodyCellSelectMenu = /** @class */ (function (_super) {
|
|
|
95149
95165
|
DTableBodyCellSelectMenu.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
95150
95166
|
this._row = row;
|
|
95151
95167
|
this._rowIndex = rowIndex;
|
|
95152
|
-
this.value
|
|
95168
|
+
this.setValue(value, forcibly || this._forcibly);
|
|
95169
|
+
this._forcibly = undefined;
|
|
95153
95170
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
95154
95171
|
};
|
|
95155
|
-
DTableBodyCellSelectMenu.prototype.unset = function () {
|
|
95172
|
+
DTableBodyCellSelectMenu.prototype.unset = function (forcibly) {
|
|
95156
95173
|
this._row = undefined;
|
|
95157
95174
|
this._rowIndex = -1;
|
|
95175
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
95158
95176
|
};
|
|
95159
95177
|
DTableBodyCellSelectMenu.prototype.getType = function () {
|
|
95160
95178
|
return "DTableBodyCellSelectMenu";
|
|
@@ -95221,12 +95239,14 @@ var DTableBodyCellSelectMultiple = /** @class */ (function (_super) {
|
|
|
95221
95239
|
DTableBodyCellSelectMultiple.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
95222
95240
|
this._row = row;
|
|
95223
95241
|
this._rowIndex = rowIndex;
|
|
95224
|
-
this.
|
|
95242
|
+
this.setValues(value, forcibly || this._forcibly);
|
|
95243
|
+
this._forcibly = undefined;
|
|
95225
95244
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
95226
95245
|
};
|
|
95227
|
-
DTableBodyCellSelectMultiple.prototype.unset = function () {
|
|
95246
|
+
DTableBodyCellSelectMultiple.prototype.unset = function (forcibly) {
|
|
95228
95247
|
this._row = undefined;
|
|
95229
95248
|
this._rowIndex = -1;
|
|
95249
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
95230
95250
|
};
|
|
95231
95251
|
DTableBodyCellSelectMultiple.prototype.getType = function () {
|
|
95232
95252
|
return "DTableBodyCellSelectMultiple";
|
|
@@ -95309,12 +95329,7 @@ var DTableBodyCellTime = /** @class */ (function (_super) {
|
|
|
95309
95329
|
this._row = row;
|
|
95310
95330
|
this._rowIndex = rowIndex;
|
|
95311
95331
|
if (value instanceof Date) {
|
|
95312
|
-
|
|
95313
|
-
this.text.setValue(value, true);
|
|
95314
|
-
}
|
|
95315
|
-
else {
|
|
95316
|
-
this.text = value;
|
|
95317
|
-
}
|
|
95332
|
+
this.text.setValue(value, forcibly || this._forcibly);
|
|
95318
95333
|
}
|
|
95319
95334
|
else if (isNumber(value)) {
|
|
95320
95335
|
var text = this.text;
|
|
@@ -95327,11 +95342,13 @@ var DTableBodyCellTime = /** @class */ (function (_super) {
|
|
|
95327
95342
|
text.compute(true);
|
|
95328
95343
|
}
|
|
95329
95344
|
}
|
|
95345
|
+
this._forcibly = undefined;
|
|
95330
95346
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
95331
95347
|
};
|
|
95332
|
-
DTableBodyCellTime.prototype.unset = function () {
|
|
95348
|
+
DTableBodyCellTime.prototype.unset = function (forcibly) {
|
|
95333
95349
|
this._row = undefined;
|
|
95334
95350
|
this._rowIndex = -1;
|
|
95351
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
95335
95352
|
};
|
|
95336
95353
|
DTableBodyCellTime.prototype.getType = function () {
|
|
95337
95354
|
return "DTableBodyCellTime";
|
|
@@ -95842,8 +95859,8 @@ var DTableBodyRow = /** @class */ (function (_super) {
|
|
|
95842
95859
|
DTableBodyRow.prototype.onSet = function (value, rowIndex) {
|
|
95843
95860
|
this.emit("set", value, rowIndex, this);
|
|
95844
95861
|
};
|
|
95845
|
-
DTableBodyRow.prototype.unset = function () {
|
|
95846
|
-
if (this._value !== undefined) {
|
|
95862
|
+
DTableBodyRow.prototype.unset = function (forcibly) {
|
|
95863
|
+
if (forcibly || this._value !== undefined) {
|
|
95847
95864
|
this._value = undefined;
|
|
95848
95865
|
this._index = -1;
|
|
95849
95866
|
var cells = this.children;
|
|
@@ -95851,7 +95868,7 @@ var DTableBodyRow = /** @class */ (function (_super) {
|
|
|
95851
95868
|
for (var i = 0; i < cellsLength; ++i) {
|
|
95852
95869
|
var cell = cells[i];
|
|
95853
95870
|
if (this.isCell(cell)) {
|
|
95854
|
-
cell.unset();
|
|
95871
|
+
cell.unset(forcibly);
|
|
95855
95872
|
}
|
|
95856
95873
|
}
|
|
95857
95874
|
this.onUnset();
|
|
@@ -97017,7 +97034,7 @@ var DTableBody = /** @class */ (function (_super) {
|
|
|
97017
97034
|
rowState.removeAll(DTableState.HAS_DATA, DTableState.SELECTABLE, DBaseState.ACTIVE);
|
|
97018
97035
|
rowState.unlock();
|
|
97019
97036
|
// Data
|
|
97020
|
-
row.unset();
|
|
97037
|
+
row.unset(forcibly);
|
|
97021
97038
|
}
|
|
97022
97039
|
for (var i = rowsLength - 1; dataMappedSize <= newRowIndexMappedStart + i && 0 <= i; --i) {
|
|
97023
97040
|
var row = rows[i];
|
|
@@ -97030,7 +97047,7 @@ var DTableBody = /** @class */ (function (_super) {
|
|
|
97030
97047
|
rowState.removeAll(DTableState.HAS_DATA, DTableState.SELECTABLE, DBaseState.ACTIVE);
|
|
97031
97048
|
rowState.unlock();
|
|
97032
97049
|
// Data
|
|
97033
|
-
row.unset();
|
|
97050
|
+
row.unset(forcibly);
|
|
97034
97051
|
}
|
|
97035
97052
|
this.lock();
|
|
97036
97053
|
content.position.y = newContentY;
|