@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.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
|
|
|
@@ -55705,27 +55705,33 @@
|
|
|
55705
55705
|
* Returns a selected value or null.
|
|
55706
55706
|
*/
|
|
55707
55707
|
get: function () {
|
|
55708
|
-
return this.
|
|
55708
|
+
return this.getValue();
|
|
55709
55709
|
},
|
|
55710
55710
|
/**
|
|
55711
55711
|
* Sets to the specified value.
|
|
55712
55712
|
*/
|
|
55713
55713
|
set: function (value) {
|
|
55714
|
-
|
|
55715
|
-
var item = DMenuItems.find(this.menu, value);
|
|
55716
|
-
if (item != null) {
|
|
55717
|
-
this._value = value;
|
|
55718
|
-
this.text = item;
|
|
55719
|
-
}
|
|
55720
|
-
else {
|
|
55721
|
-
this._value = null;
|
|
55722
|
-
this.text = null;
|
|
55723
|
-
}
|
|
55724
|
-
}
|
|
55714
|
+
this.setValue(value);
|
|
55725
55715
|
},
|
|
55726
55716
|
enumerable: false,
|
|
55727
55717
|
configurable: true
|
|
55728
55718
|
});
|
|
55719
|
+
DSelect.prototype.getValue = function () {
|
|
55720
|
+
return this._value;
|
|
55721
|
+
};
|
|
55722
|
+
DSelect.prototype.setValue = function (value, forcibly) {
|
|
55723
|
+
if (forcibly || this._value !== value) {
|
|
55724
|
+
var item = DMenuItems.find(this.menu, value);
|
|
55725
|
+
if (item != null) {
|
|
55726
|
+
this._value = value;
|
|
55727
|
+
this.text.setValue(item, forcibly);
|
|
55728
|
+
}
|
|
55729
|
+
else {
|
|
55730
|
+
this._value = null;
|
|
55731
|
+
this.text.setValue(null, forcibly);
|
|
55732
|
+
}
|
|
55733
|
+
}
|
|
55734
|
+
};
|
|
55729
55735
|
DSelect.prototype.getType = function () {
|
|
55730
55736
|
return "DSelect";
|
|
55731
55737
|
};
|
|
@@ -71592,27 +71598,33 @@
|
|
|
71592
71598
|
};
|
|
71593
71599
|
Object.defineProperty(DSelectMultiple.prototype, "values", {
|
|
71594
71600
|
/**
|
|
71595
|
-
* Returns
|
|
71601
|
+
* Returns selected values.
|
|
71596
71602
|
*/
|
|
71597
71603
|
get: function () {
|
|
71598
|
-
return this.
|
|
71604
|
+
return this.getValues();
|
|
71599
71605
|
},
|
|
71600
71606
|
/**
|
|
71601
|
-
* Sets to the specified
|
|
71607
|
+
* Sets to the specified values.
|
|
71602
71608
|
*/
|
|
71603
71609
|
set: function (values) {
|
|
71604
|
-
|
|
71605
|
-
if (!this.isSameValues(values, oldValues)) {
|
|
71606
|
-
var newValues = [];
|
|
71607
|
-
var newItems = [];
|
|
71608
|
-
this.updateMenuItems(this.menu, values, undefined, undefined, newValues, newItems);
|
|
71609
|
-
this._values = newValues;
|
|
71610
|
-
this.text = newItems;
|
|
71611
|
-
}
|
|
71610
|
+
this.setValues(values);
|
|
71612
71611
|
},
|
|
71613
71612
|
enumerable: false,
|
|
71614
71613
|
configurable: true
|
|
71615
71614
|
});
|
|
71615
|
+
DSelectMultiple.prototype.getValues = function () {
|
|
71616
|
+
return this._values;
|
|
71617
|
+
};
|
|
71618
|
+
DSelectMultiple.prototype.setValues = function (values, forcibly) {
|
|
71619
|
+
var oldValues = this._values;
|
|
71620
|
+
if (forcibly || !this.isSameValues(values, oldValues)) {
|
|
71621
|
+
var newValues = [];
|
|
71622
|
+
var newItems = [];
|
|
71623
|
+
this.updateMenuItems(this.menu, values, undefined, undefined, newValues, newItems);
|
|
71624
|
+
this._values = newValues;
|
|
71625
|
+
this.text.setValue(newItems, forcibly);
|
|
71626
|
+
}
|
|
71627
|
+
};
|
|
71616
71628
|
DSelectMultiple.prototype.isSameValues = function (a, b) {
|
|
71617
71629
|
if (a.length === b.length) {
|
|
71618
71630
|
for (var i = 0, imax = a.length; i < imax; ++i) {
|
|
@@ -72375,7 +72387,7 @@
|
|
|
72375
72387
|
var oldValue_1 = (_a = this.text.computed) !== null && _a !== void 0 ? _a : null;
|
|
72376
72388
|
selecting.setter(dialog, oldValue_1);
|
|
72377
72389
|
dialog.open(this).then(function () {
|
|
72378
|
-
var newValue = selecting.getter(dialog);
|
|
72390
|
+
var newValue = selecting.getter(dialog, oldValue_1);
|
|
72379
72391
|
if (_this._isSyncEnabled) {
|
|
72380
72392
|
if (newValue !== oldValue_1) {
|
|
72381
72393
|
_this.text = newValue;
|
|
@@ -72441,17 +72453,14 @@
|
|
|
72441
72453
|
DTableBodyCellSelectDialog.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
72442
72454
|
this._row = row;
|
|
72443
72455
|
this._rowIndex = rowIndex;
|
|
72444
|
-
|
|
72445
|
-
|
|
72446
|
-
}
|
|
72447
|
-
else {
|
|
72448
|
-
this.text = value;
|
|
72449
|
-
}
|
|
72456
|
+
this.text.setValue(value, forcibly || this._forcibly);
|
|
72457
|
+
this._forcibly = undefined;
|
|
72450
72458
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
72451
72459
|
};
|
|
72452
|
-
DTableBodyCellSelectDialog.prototype.unset = function () {
|
|
72460
|
+
DTableBodyCellSelectDialog.prototype.unset = function (forcibly) {
|
|
72453
72461
|
this._row = undefined;
|
|
72454
72462
|
this._rowIndex = -1;
|
|
72463
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
72455
72464
|
};
|
|
72456
72465
|
DTableBodyCellSelectDialog.prototype.getType = function () {
|
|
72457
72466
|
return "DTableBodyCellSelectDialog";
|
|
@@ -72533,12 +72542,14 @@
|
|
|
72533
72542
|
DTableBodyCellActionMenu.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
72534
72543
|
this._row = row;
|
|
72535
72544
|
this._rowIndex = rowIndex;
|
|
72536
|
-
this.text
|
|
72545
|
+
this.text.setValue(value, forcibly || this._forcibly);
|
|
72546
|
+
this._forcibly = undefined;
|
|
72537
72547
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
72538
72548
|
};
|
|
72539
|
-
DTableBodyCellActionMenu.prototype.unset = function () {
|
|
72549
|
+
DTableBodyCellActionMenu.prototype.unset = function (forcibly) {
|
|
72540
72550
|
this._row = undefined;
|
|
72541
72551
|
this._rowIndex = -1;
|
|
72552
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
72542
72553
|
};
|
|
72543
72554
|
DTableBodyCellActionMenu.prototype.getType = function () {
|
|
72544
72555
|
return "DTableBodyCellActionMenu";
|
|
@@ -72636,17 +72647,14 @@
|
|
|
72636
72647
|
DTableBodyCellSelectPromise.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
72637
72648
|
this._row = row;
|
|
72638
72649
|
this._rowIndex = rowIndex;
|
|
72639
|
-
|
|
72640
|
-
|
|
72641
|
-
}
|
|
72642
|
-
else {
|
|
72643
|
-
this.text = value;
|
|
72644
|
-
}
|
|
72650
|
+
this.text.setValue(value, forcibly || this._forcibly);
|
|
72651
|
+
this._forcibly = undefined;
|
|
72645
72652
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
72646
72653
|
};
|
|
72647
|
-
DTableBodyCellSelectPromise.prototype.unset = function () {
|
|
72654
|
+
DTableBodyCellSelectPromise.prototype.unset = function (forcibly) {
|
|
72648
72655
|
this._row = undefined;
|
|
72649
72656
|
this._rowIndex = -1;
|
|
72657
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
72650
72658
|
};
|
|
72651
72659
|
DTableBodyCellSelectPromise.prototype.getType = function () {
|
|
72652
72660
|
return "DTableBodyCellSelectPromise";
|
|
@@ -72714,12 +72722,14 @@
|
|
|
72714
72722
|
DTableBodyCellText.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
72715
72723
|
this._row = row;
|
|
72716
72724
|
this._rowIndex = rowIndex;
|
|
72717
|
-
this.text
|
|
72725
|
+
this.text.setValue(value, forcibly || this._forcibly);
|
|
72726
|
+
this._forcibly = undefined;
|
|
72718
72727
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
72719
72728
|
};
|
|
72720
|
-
DTableBodyCellText.prototype.unset = function () {
|
|
72729
|
+
DTableBodyCellText.prototype.unset = function (forcibly) {
|
|
72721
72730
|
this._row = undefined;
|
|
72722
72731
|
this._rowIndex = -1;
|
|
72732
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
72723
72733
|
};
|
|
72724
72734
|
DTableBodyCellText.prototype.getType = function () {
|
|
72725
72735
|
return "DTableBodyCellText";
|
|
@@ -72930,7 +72940,7 @@
|
|
|
72930
72940
|
this.state.isActive = !!value;
|
|
72931
72941
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
72932
72942
|
};
|
|
72933
|
-
DTableBodyCellCheck.prototype.unset = function () {
|
|
72943
|
+
DTableBodyCellCheck.prototype.unset = function (forcibly) {
|
|
72934
72944
|
this._row = undefined;
|
|
72935
72945
|
this._rowIndex = -1;
|
|
72936
72946
|
};
|
|
@@ -73021,7 +73031,7 @@
|
|
|
73021
73031
|
}
|
|
73022
73032
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
73023
73033
|
};
|
|
73024
|
-
DTableBodyCellColor.prototype.unset = function () {
|
|
73034
|
+
DTableBodyCellColor.prototype.unset = function (forcibly) {
|
|
73025
73035
|
this._row = undefined;
|
|
73026
73036
|
this._rowIndex = -1;
|
|
73027
73037
|
};
|
|
@@ -73091,12 +73101,7 @@
|
|
|
73091
73101
|
this._row = row;
|
|
73092
73102
|
this._rowIndex = rowIndex;
|
|
73093
73103
|
if (value instanceof Date) {
|
|
73094
|
-
|
|
73095
|
-
this.text.setValue(value, true);
|
|
73096
|
-
}
|
|
73097
|
-
else {
|
|
73098
|
-
this.text = value;
|
|
73099
|
-
}
|
|
73104
|
+
this.text.setValue(value, forcibly || this._forcibly);
|
|
73100
73105
|
}
|
|
73101
73106
|
else if (isNumber(value)) {
|
|
73102
73107
|
var text = this.text;
|
|
@@ -73109,11 +73114,13 @@
|
|
|
73109
73114
|
text.compute(true);
|
|
73110
73115
|
}
|
|
73111
73116
|
}
|
|
73117
|
+
this._forcibly = undefined;
|
|
73112
73118
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
73113
73119
|
};
|
|
73114
|
-
DTableBodyCellDate.prototype.unset = function () {
|
|
73120
|
+
DTableBodyCellDate.prototype.unset = function (forcibly) {
|
|
73115
73121
|
this._row = undefined;
|
|
73116
73122
|
this._rowIndex = -1;
|
|
73123
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
73117
73124
|
};
|
|
73118
73125
|
DTableBodyCellDate.prototype.getType = function () {
|
|
73119
73126
|
return "DTableBodyCellDate";
|
|
@@ -73181,12 +73188,7 @@
|
|
|
73181
73188
|
this._row = row;
|
|
73182
73189
|
this._rowIndex = rowIndex;
|
|
73183
73190
|
if (value instanceof Date) {
|
|
73184
|
-
|
|
73185
|
-
this.text.setValue(value, true);
|
|
73186
|
-
}
|
|
73187
|
-
else {
|
|
73188
|
-
this.text = value;
|
|
73189
|
-
}
|
|
73191
|
+
this.text.setValue(value, forcibly || this._forcibly);
|
|
73190
73192
|
}
|
|
73191
73193
|
else if (isNumber(value)) {
|
|
73192
73194
|
var text = this.text;
|
|
@@ -73199,11 +73201,13 @@
|
|
|
73199
73201
|
text.compute(true);
|
|
73200
73202
|
}
|
|
73201
73203
|
}
|
|
73204
|
+
this._forcibly = undefined;
|
|
73202
73205
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
73203
73206
|
};
|
|
73204
|
-
DTableBodyCellDatetime.prototype.unset = function () {
|
|
73207
|
+
DTableBodyCellDatetime.prototype.unset = function (forcibly) {
|
|
73205
73208
|
this._row = undefined;
|
|
73206
73209
|
this._rowIndex = -1;
|
|
73210
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
73207
73211
|
};
|
|
73208
73212
|
DTableBodyCellDatetime.prototype.getType = function () {
|
|
73209
73213
|
return "DTableBodyCellDatetime";
|
|
@@ -73256,12 +73260,14 @@
|
|
|
73256
73260
|
DTableBodyCellIndex.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
73257
73261
|
this._row = row;
|
|
73258
73262
|
this._rowIndex = rowIndex;
|
|
73259
|
-
this.text
|
|
73263
|
+
this.text.setValue(rowIndex, forcibly || this._forcibly);
|
|
73264
|
+
this._forcibly = undefined;
|
|
73260
73265
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
73261
73266
|
};
|
|
73262
|
-
DTableBodyCellIndex.prototype.unset = function () {
|
|
73267
|
+
DTableBodyCellIndex.prototype.unset = function (forcibly) {
|
|
73263
73268
|
this._row = undefined;
|
|
73264
73269
|
this._rowIndex = -1;
|
|
73270
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
73265
73271
|
};
|
|
73266
73272
|
DTableBodyCellIndex.prototype.getType = function () {
|
|
73267
73273
|
return "DTableBodyCellIndex";
|
|
@@ -73325,12 +73331,14 @@
|
|
|
73325
73331
|
DTableBodyCellInputInteger.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
73326
73332
|
this._row = row;
|
|
73327
73333
|
this._rowIndex = rowIndex;
|
|
73328
|
-
this.text
|
|
73334
|
+
this.text.setValue(Number(value), forcibly || this._forcibly);
|
|
73335
|
+
this._forcibly = undefined;
|
|
73329
73336
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
73330
73337
|
};
|
|
73331
|
-
DTableBodyCellInputInteger.prototype.unset = function () {
|
|
73338
|
+
DTableBodyCellInputInteger.prototype.unset = function (forcibly) {
|
|
73332
73339
|
this._row = undefined;
|
|
73333
73340
|
this._rowIndex = -1;
|
|
73341
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
73334
73342
|
};
|
|
73335
73343
|
DTableBodyCellInputInteger.prototype.getType = function () {
|
|
73336
73344
|
return "DTableBodyCellInputInteger";
|
|
@@ -73394,12 +73402,14 @@
|
|
|
73394
73402
|
DTableBodyCellInputReal.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
73395
73403
|
this._row = row;
|
|
73396
73404
|
this._rowIndex = rowIndex;
|
|
73397
|
-
this.text
|
|
73405
|
+
this.text.setValue(Number(value), forcibly || this._forcibly);
|
|
73406
|
+
this._forcibly = undefined;
|
|
73398
73407
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
73399
73408
|
};
|
|
73400
|
-
DTableBodyCellInputReal.prototype.unset = function () {
|
|
73409
|
+
DTableBodyCellInputReal.prototype.unset = function (forcibly) {
|
|
73401
73410
|
this._row = undefined;
|
|
73402
73411
|
this._rowIndex = -1;
|
|
73412
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
73403
73413
|
};
|
|
73404
73414
|
DTableBodyCellInputReal.prototype.getType = function () {
|
|
73405
73415
|
return "DTableBodyCellInputReal";
|
|
@@ -73463,12 +73473,14 @@
|
|
|
73463
73473
|
DTableBodyCellInputTextArea.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
73464
73474
|
this._row = row;
|
|
73465
73475
|
this._rowIndex = rowIndex;
|
|
73466
|
-
this.text
|
|
73476
|
+
this.text.setValue(String(value), forcibly || this._forcibly);
|
|
73477
|
+
this._forcibly = undefined;
|
|
73467
73478
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
73468
73479
|
};
|
|
73469
|
-
DTableBodyCellInputTextArea.prototype.unset = function () {
|
|
73480
|
+
DTableBodyCellInputTextArea.prototype.unset = function (forcibly) {
|
|
73470
73481
|
this._row = undefined;
|
|
73471
73482
|
this._rowIndex = -1;
|
|
73483
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
73472
73484
|
};
|
|
73473
73485
|
DTableBodyCellInputTextArea.prototype.getType = function () {
|
|
73474
73486
|
return "DTableBodyCellInputTextArea";
|
|
@@ -73532,12 +73544,14 @@
|
|
|
73532
73544
|
DTableBodyCellInputText.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
73533
73545
|
this._row = row;
|
|
73534
73546
|
this._rowIndex = rowIndex;
|
|
73535
|
-
this.text
|
|
73547
|
+
this.text.setValue(String(value), forcibly || this._forcibly);
|
|
73548
|
+
this._forcibly = undefined;
|
|
73536
73549
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
73537
73550
|
};
|
|
73538
|
-
DTableBodyCellInputText.prototype.unset = function () {
|
|
73551
|
+
DTableBodyCellInputText.prototype.unset = function (forcibly) {
|
|
73539
73552
|
this._row = undefined;
|
|
73540
73553
|
this._rowIndex = -1;
|
|
73554
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
73541
73555
|
};
|
|
73542
73556
|
DTableBodyCellInputText.prototype.getType = function () {
|
|
73543
73557
|
return "DTableBodyCellInputText";
|
|
@@ -73795,7 +73809,8 @@
|
|
|
73795
73809
|
this._rowIndex = rowIndex;
|
|
73796
73810
|
var input = this._input;
|
|
73797
73811
|
input.visible = true;
|
|
73798
|
-
input.text
|
|
73812
|
+
input.text.setValue(String(value), forcibly || this._forcibly);
|
|
73813
|
+
this._forcibly = undefined;
|
|
73799
73814
|
var marker = this._marker;
|
|
73800
73815
|
if (supplimental != null) {
|
|
73801
73816
|
var isOpened = !!(supplimental & 0x1);
|
|
@@ -73824,11 +73839,12 @@
|
|
|
73824
73839
|
}
|
|
73825
73840
|
DTableBodyCells.set(this._input, row, columnIndex, this._column);
|
|
73826
73841
|
};
|
|
73827
|
-
DTableBodyCellInputTree.prototype.unset = function () {
|
|
73842
|
+
DTableBodyCellInputTree.prototype.unset = function (forcibly) {
|
|
73828
73843
|
this._row = undefined;
|
|
73829
73844
|
this._rowIndex = -1;
|
|
73830
73845
|
this._input.visible = false;
|
|
73831
73846
|
this._marker.hide();
|
|
73847
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
73832
73848
|
};
|
|
73833
73849
|
DTableBodyCellInputTree.prototype.getType = function () {
|
|
73834
73850
|
return "DTableBodyCellInputTree";
|
|
@@ -73973,12 +73989,14 @@
|
|
|
73973
73989
|
DTableBodyCellSelectMenu.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
73974
73990
|
this._row = row;
|
|
73975
73991
|
this._rowIndex = rowIndex;
|
|
73976
|
-
this.value
|
|
73992
|
+
this.setValue(value, forcibly || this._forcibly);
|
|
73993
|
+
this._forcibly = undefined;
|
|
73977
73994
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
73978
73995
|
};
|
|
73979
|
-
DTableBodyCellSelectMenu.prototype.unset = function () {
|
|
73996
|
+
DTableBodyCellSelectMenu.prototype.unset = function (forcibly) {
|
|
73980
73997
|
this._row = undefined;
|
|
73981
73998
|
this._rowIndex = -1;
|
|
73999
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
73982
74000
|
};
|
|
73983
74001
|
DTableBodyCellSelectMenu.prototype.getType = function () {
|
|
73984
74002
|
return "DTableBodyCellSelectMenu";
|
|
@@ -74045,12 +74063,14 @@
|
|
|
74045
74063
|
DTableBodyCellSelectMultiple.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
74046
74064
|
this._row = row;
|
|
74047
74065
|
this._rowIndex = rowIndex;
|
|
74048
|
-
this.
|
|
74066
|
+
this.setValues(value, forcibly || this._forcibly);
|
|
74067
|
+
this._forcibly = undefined;
|
|
74049
74068
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
74050
74069
|
};
|
|
74051
|
-
DTableBodyCellSelectMultiple.prototype.unset = function () {
|
|
74070
|
+
DTableBodyCellSelectMultiple.prototype.unset = function (forcibly) {
|
|
74052
74071
|
this._row = undefined;
|
|
74053
74072
|
this._rowIndex = -1;
|
|
74073
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
74054
74074
|
};
|
|
74055
74075
|
DTableBodyCellSelectMultiple.prototype.getType = function () {
|
|
74056
74076
|
return "DTableBodyCellSelectMultiple";
|
|
@@ -74133,12 +74153,7 @@
|
|
|
74133
74153
|
this._row = row;
|
|
74134
74154
|
this._rowIndex = rowIndex;
|
|
74135
74155
|
if (value instanceof Date) {
|
|
74136
|
-
|
|
74137
|
-
this.text.setValue(value, true);
|
|
74138
|
-
}
|
|
74139
|
-
else {
|
|
74140
|
-
this.text = value;
|
|
74141
|
-
}
|
|
74156
|
+
this.text.setValue(value, forcibly || this._forcibly);
|
|
74142
74157
|
}
|
|
74143
74158
|
else if (isNumber(value)) {
|
|
74144
74159
|
var text = this.text;
|
|
@@ -74151,11 +74166,13 @@
|
|
|
74151
74166
|
text.compute(true);
|
|
74152
74167
|
}
|
|
74153
74168
|
}
|
|
74169
|
+
this._forcibly = undefined;
|
|
74154
74170
|
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
74155
74171
|
};
|
|
74156
|
-
DTableBodyCellTime.prototype.unset = function () {
|
|
74172
|
+
DTableBodyCellTime.prototype.unset = function (forcibly) {
|
|
74157
74173
|
this._row = undefined;
|
|
74158
74174
|
this._rowIndex = -1;
|
|
74175
|
+
this._forcibly || (this._forcibly = forcibly);
|
|
74159
74176
|
};
|
|
74160
74177
|
DTableBodyCellTime.prototype.getType = function () {
|
|
74161
74178
|
return "DTableBodyCellTime";
|
|
@@ -74666,8 +74683,8 @@
|
|
|
74666
74683
|
DTableBodyRow.prototype.onSet = function (value, rowIndex) {
|
|
74667
74684
|
this.emit("set", value, rowIndex, this);
|
|
74668
74685
|
};
|
|
74669
|
-
DTableBodyRow.prototype.unset = function () {
|
|
74670
|
-
if (this._value !== undefined) {
|
|
74686
|
+
DTableBodyRow.prototype.unset = function (forcibly) {
|
|
74687
|
+
if (forcibly || this._value !== undefined) {
|
|
74671
74688
|
this._value = undefined;
|
|
74672
74689
|
this._index = -1;
|
|
74673
74690
|
var cells = this.children;
|
|
@@ -74675,7 +74692,7 @@
|
|
|
74675
74692
|
for (var i = 0; i < cellsLength; ++i) {
|
|
74676
74693
|
var cell = cells[i];
|
|
74677
74694
|
if (this.isCell(cell)) {
|
|
74678
|
-
cell.unset();
|
|
74695
|
+
cell.unset(forcibly);
|
|
74679
74696
|
}
|
|
74680
74697
|
}
|
|
74681
74698
|
this.onUnset();
|
|
@@ -75841,7 +75858,7 @@
|
|
|
75841
75858
|
rowState.removeAll(DTableState.HAS_DATA, DTableState.SELECTABLE, DBaseState.ACTIVE);
|
|
75842
75859
|
rowState.unlock();
|
|
75843
75860
|
// Data
|
|
75844
|
-
row.unset();
|
|
75861
|
+
row.unset(forcibly);
|
|
75845
75862
|
}
|
|
75846
75863
|
for (var i = rowsLength - 1; dataMappedSize <= newRowIndexMappedStart + i && 0 <= i; --i) {
|
|
75847
75864
|
var row = rows[i];
|
|
@@ -75854,7 +75871,7 @@
|
|
|
75854
75871
|
rowState.removeAll(DTableState.HAS_DATA, DTableState.SELECTABLE, DBaseState.ACTIVE);
|
|
75855
75872
|
rowState.unlock();
|
|
75856
75873
|
// Data
|
|
75857
|
-
row.unset();
|
|
75874
|
+
row.unset(forcibly);
|
|
75858
75875
|
}
|
|
75859
75876
|
this.lock();
|
|
75860
75877
|
content.position.y = newContentY;
|