@wcardinal/wcardinal-ui 0.367.0 → 0.368.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-table-body-cell-action-menu.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-check.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell-color.d.ts +2 -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 +3 -2
- 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 +24 -0
- 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-area.d.ts +8 -0
- 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-tree.d.ts +2 -1
- package/dist/types/wcardinal/ui/d-table-body-cell.d.ts +3 -2
- package/dist/types/wcardinal/ui/d-table-body-row.d.ts +11 -7
- package/dist/types/wcardinal/ui/d-table-body.d.ts +1 -0
- package/dist/types/wcardinal/ui/d-table-column-type.d.ts +1 -0
- package/dist/types/wcardinal/ui/d-table-column-update.d.ts +13 -0
- package/dist/types/wcardinal/ui/d-table-column.d.ts +10 -0
- package/dist/types/wcardinal/ui/d-table-data-list-mapped.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-table-data-tree.d.ts +5 -5
- package/dist/types/wcardinal/ui/d-table-data.d.ts +2 -1
- package/dist/types/wcardinal/ui/index.d.ts +3 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-input-text-area.d.ts +16 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-text-area.d.ts +5 -0
- package/dist/types/wcardinal/ui/theme/dark/index.d.ts +2 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-table-body-cell-input-text-area.d.ts +16 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-table-body-cell-text-area.d.ts +5 -0
- package/dist/types/wcardinal/ui/theme/white/index.d.ts +2 -0
- package/dist/wcardinal/ui/d-table-body-cell-action-menu.js +3 -2
- package/dist/wcardinal/ui/d-table-body-cell-action-menu.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-button.js +2 -1
- package/dist/wcardinal/ui/d-table-body-cell-button.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-check.js +6 -5
- package/dist/wcardinal/ui/d-table-body-cell-check.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-color.js +3 -2
- package/dist/wcardinal/ui/d-table-body-cell-color.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-date.js +3 -2
- package/dist/wcardinal/ui/d-table-body-cell-date.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-datetime.js +3 -2
- package/dist/wcardinal/ui/d-table-body-cell-datetime.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-index.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-input-integer.js +3 -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 +3 -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 +73 -0
- package/dist/wcardinal/ui/d-table-body-cell-input-text-area.js.map +1 -0
- package/dist/wcardinal/ui/d-table-body-cell-input-text.js +3 -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 -4
- 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 +3 -2
- 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 +3 -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 +3 -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 +3 -2
- package/dist/wcardinal/ui/d-table-body-cell-select-promise.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-text-area.js +18 -0
- package/dist/wcardinal/ui/d-table-body-cell-text-area.js.map +1 -0
- package/dist/wcardinal/ui/d-table-body-cell-text.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-time.js +3 -2
- package/dist/wcardinal/ui/d-table-body-cell-time.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body-cell-tree.js +1 -2
- package/dist/wcardinal/ui/d-table-body-cell-tree.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 +27 -4
- package/dist/wcardinal/ui/d-table-body-row.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body.js +10 -2
- package/dist/wcardinal/ui/d-table-body.js.map +1 -1
- package/dist/wcardinal/ui/d-table-column-type.js +2 -1
- package/dist/wcardinal/ui/d-table-column-type.js.map +1 -1
- package/dist/wcardinal/ui/d-table-column-update.js +13 -0
- package/dist/wcardinal/ui/d-table-column-update.js.map +1 -0
- package/dist/wcardinal/ui/d-table-column.js.map +1 -1
- package/dist/wcardinal/ui/d-table-data-list-mapped.js.map +1 -1
- package/dist/wcardinal/ui/d-table-data-tree.js.map +1 -1
- package/dist/wcardinal/ui/d-table-data.js.map +1 -1
- package/dist/wcardinal/ui/d-table-header-cell-check.js.map +1 -1
- package/dist/wcardinal/ui/d-table.js +5 -2
- package/dist/wcardinal/ui/d-table.js.map +1 -1
- package/dist/wcardinal/ui/index.js +3 -0
- package/dist/wcardinal/ui/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-input-text-area.js +40 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-input-text-area.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-text-area.js +19 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cell-text-area.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/index.js +2 -0
- package/dist/wcardinal/ui/theme/dark/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-table.js +6 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-table.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cell-input-text-area.js +40 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cell-input-text-area.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cell-text-area.js +19 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cell-text-area.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/index.js +2 -0
- package/dist/wcardinal/ui/theme/white/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-table.js +6 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-table.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +57 -1
- package/dist/wcardinal-ui-theme-dark.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white.js +57 -1
- package/dist/wcardinal-ui-theme-white.min.js +2 -2
- package/dist/wcardinal-ui-theme-white.min.js.map +1 -1
- package/dist/wcardinal-ui.cjs.js +300 -44
- package/dist/wcardinal-ui.js +188 -44
- 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.368.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -55801,6 +55801,42 @@ var DThemeWhiteTableBodyCellInputText = /** @class */ (function (_super) {
|
|
|
55801
55801
|
return DThemeWhiteTableBodyCellInputText;
|
|
55802
55802
|
}(DThemeWhiteInputText));
|
|
55803
55803
|
|
|
55804
|
+
/*
|
|
55805
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
55806
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
55807
|
+
*/
|
|
55808
|
+
var DThemeWhiteTableBodyCellInputTextArea = /** @class */ (function (_super) {
|
|
55809
|
+
__extends(DThemeWhiteTableBodyCellInputTextArea, _super);
|
|
55810
|
+
function DThemeWhiteTableBodyCellInputTextArea() {
|
|
55811
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
55812
|
+
}
|
|
55813
|
+
DThemeWhiteTableBodyCellInputTextArea.prototype.getBackgroundColor = function (state) {
|
|
55814
|
+
return DThemeWhiteTableBodyCells.getBackgroundColor(state);
|
|
55815
|
+
};
|
|
55816
|
+
DThemeWhiteTableBodyCellInputTextArea.prototype.getBackgroundAlpha = function (state) {
|
|
55817
|
+
return DThemeWhiteTableBodyCells.getBackgroundAlpha(state);
|
|
55818
|
+
};
|
|
55819
|
+
DThemeWhiteTableBodyCellInputTextArea.prototype.getBorderColor = function (state) {
|
|
55820
|
+
return DThemeWhiteTableBodyCells.getBorderColor(state);
|
|
55821
|
+
};
|
|
55822
|
+
DThemeWhiteTableBodyCellInputTextArea.prototype.getBorderMask = function (state) {
|
|
55823
|
+
return DThemeWhiteTableBodyCells.getBorderMask(state);
|
|
55824
|
+
};
|
|
55825
|
+
DThemeWhiteTableBodyCellInputTextArea.prototype.getColor = function (state) {
|
|
55826
|
+
return DThemeWhiteTableBodyCells.getColor(state);
|
|
55827
|
+
};
|
|
55828
|
+
DThemeWhiteTableBodyCellInputTextArea.prototype.getAlpha = function (state) {
|
|
55829
|
+
return DThemeWhiteTableBodyCells.getAlpha(state);
|
|
55830
|
+
};
|
|
55831
|
+
DThemeWhiteTableBodyCellInputTextArea.prototype.getHeight = function () {
|
|
55832
|
+
return DThemeWhiteTableBodyCells.getHeight();
|
|
55833
|
+
};
|
|
55834
|
+
DThemeWhiteTableBodyCellInputTextArea.prototype.getCornerMask = function () {
|
|
55835
|
+
return DThemeWhiteTableBodyCells.getCornerMask();
|
|
55836
|
+
};
|
|
55837
|
+
return DThemeWhiteTableBodyCellInputTextArea;
|
|
55838
|
+
}(DThemeWhiteInputTextArea));
|
|
55839
|
+
|
|
55804
55840
|
/*
|
|
55805
55841
|
* Copyright (C) 2019 Toshiba Corporation
|
|
55806
55842
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -56073,6 +56109,21 @@ var DThemeWhiteTableBodyCellSelectMultiple = /** @class */ (function (_super) {
|
|
|
56073
56109
|
return DThemeWhiteTableBodyCellSelectMultiple;
|
|
56074
56110
|
}(DThemeWhiteSelectMultiple));
|
|
56075
56111
|
|
|
56112
|
+
/*
|
|
56113
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
56114
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
56115
|
+
*/
|
|
56116
|
+
var DThemeWhiteTableBodyCellTextArea = /** @class */ (function (_super) {
|
|
56117
|
+
__extends(DThemeWhiteTableBodyCellTextArea, _super);
|
|
56118
|
+
function DThemeWhiteTableBodyCellTextArea() {
|
|
56119
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
56120
|
+
}
|
|
56121
|
+
DThemeWhiteTableBodyCellTextArea.prototype.getTextAlignVertical = function () {
|
|
56122
|
+
return DAlignVertical.TOP;
|
|
56123
|
+
};
|
|
56124
|
+
return DThemeWhiteTableBodyCellTextArea;
|
|
56125
|
+
}(DThemeWhiteTableBodyCellText));
|
|
56126
|
+
|
|
56076
56127
|
/*
|
|
56077
56128
|
* Copyright (C) 2019 Toshiba Corporation
|
|
56078
56129
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -56420,6 +56471,7 @@ var loadThemeWhiteTable = function () {
|
|
|
56420
56471
|
DThemeWhite.set("DTableBodyCellIndex", DThemeWhiteTableBodyCellIndex);
|
|
56421
56472
|
DThemeWhite.set("DTableBodyCellInputInteger", DThemeWhiteTableBodyCellInputInteger);
|
|
56422
56473
|
DThemeWhite.set("DTableBodyCellInputReal", DThemeWhiteTableBodyCellInputReal);
|
|
56474
|
+
DThemeWhite.set("DTableBodyCellInputTextArea", DThemeWhiteTableBodyCellInputTextArea);
|
|
56423
56475
|
DThemeWhite.set("DTableBodyCellInputText", DThemeWhiteTableBodyCellInputText);
|
|
56424
56476
|
DThemeWhite.set("DTableBodyCellInputTreeMarker", DThemeWhiteTableBodyCellInputTreeMarker);
|
|
56425
56477
|
DThemeWhite.set("DTableBodyCellInputTreeInput", DThemeWhiteTableBodyCellInputTreeInput);
|
|
@@ -56429,6 +56481,7 @@ var loadThemeWhiteTable = function () {
|
|
|
56429
56481
|
DThemeWhite.set("DTableBodyCellSelectMenu", DThemeWhiteTableBodyCellSelectMenu);
|
|
56430
56482
|
DThemeWhite.set("DTableBodyCellSelectMultiple", DThemeWhiteTableBodyCellSelectMultiple);
|
|
56431
56483
|
DThemeWhite.set("DTableBodyCellSelectPromise", DThemeWhiteTableBodyCellSelectPromise);
|
|
56484
|
+
DThemeWhite.set("DTableBodyCellTextArea", DThemeWhiteTableBodyCellTextArea);
|
|
56432
56485
|
DThemeWhite.set("DTableBodyCellText", DThemeWhiteTableBodyCellText);
|
|
56433
56486
|
DThemeWhite.set("DTableBodyCellTree", DThemeWhiteTableBodyCellTree);
|
|
56434
56487
|
DThemeWhite.set("DTableBodyCellTime", DThemeWhiteTableBodyCellTime);
|
|
@@ -56446,6 +56499,7 @@ var loadThemeWhiteTable = function () {
|
|
|
56446
56499
|
loadThemeWhiteButtonDatetime();
|
|
56447
56500
|
loadThemeWhiteInputInteger();
|
|
56448
56501
|
loadThemeWhiteInputReal();
|
|
56502
|
+
loadThemeWhiteInputTextArea();
|
|
56449
56503
|
loadThemeWhiteInputText();
|
|
56450
56504
|
loadThemeWhiteDialogSelect();
|
|
56451
56505
|
loadThemeWhiteMenu();
|
|
@@ -65035,6 +65089,42 @@ var DThemeDarkTableBodyCellInputText = /** @class */ (function (_super) {
|
|
|
65035
65089
|
return DThemeDarkTableBodyCellInputText;
|
|
65036
65090
|
}(DThemeDarkInputText));
|
|
65037
65091
|
|
|
65092
|
+
/*
|
|
65093
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
65094
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
65095
|
+
*/
|
|
65096
|
+
var DThemeDarkTableBodyCellInputTextArea = /** @class */ (function (_super) {
|
|
65097
|
+
__extends(DThemeDarkTableBodyCellInputTextArea, _super);
|
|
65098
|
+
function DThemeDarkTableBodyCellInputTextArea() {
|
|
65099
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
65100
|
+
}
|
|
65101
|
+
DThemeDarkTableBodyCellInputTextArea.prototype.getBackgroundColor = function (state) {
|
|
65102
|
+
return DThemeDarkTableBodyCells.getBackgroundColor(state);
|
|
65103
|
+
};
|
|
65104
|
+
DThemeDarkTableBodyCellInputTextArea.prototype.getBackgroundAlpha = function (state) {
|
|
65105
|
+
return DThemeDarkTableBodyCells.getBackgroundAlpha(state);
|
|
65106
|
+
};
|
|
65107
|
+
DThemeDarkTableBodyCellInputTextArea.prototype.getBorderColor = function (state) {
|
|
65108
|
+
return DThemeDarkTableBodyCells.getBorderColor(state);
|
|
65109
|
+
};
|
|
65110
|
+
DThemeDarkTableBodyCellInputTextArea.prototype.getBorderMask = function (state) {
|
|
65111
|
+
return DThemeDarkTableBodyCells.getBorderMask(state);
|
|
65112
|
+
};
|
|
65113
|
+
DThemeDarkTableBodyCellInputTextArea.prototype.getColor = function (state) {
|
|
65114
|
+
return DThemeDarkTableBodyCells.getColor(state);
|
|
65115
|
+
};
|
|
65116
|
+
DThemeDarkTableBodyCellInputTextArea.prototype.getAlpha = function (state) {
|
|
65117
|
+
return DThemeDarkTableBodyCells.getAlpha(state);
|
|
65118
|
+
};
|
|
65119
|
+
DThemeDarkTableBodyCellInputTextArea.prototype.getHeight = function () {
|
|
65120
|
+
return DThemeDarkTableBodyCells.getHeight();
|
|
65121
|
+
};
|
|
65122
|
+
DThemeDarkTableBodyCellInputTextArea.prototype.getCornerMask = function () {
|
|
65123
|
+
return DThemeDarkTableBodyCells.getCornerMask();
|
|
65124
|
+
};
|
|
65125
|
+
return DThemeDarkTableBodyCellInputTextArea;
|
|
65126
|
+
}(DThemeDarkInputTextArea));
|
|
65127
|
+
|
|
65038
65128
|
/*
|
|
65039
65129
|
* Copyright (C) 2019 Toshiba Corporation
|
|
65040
65130
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -65307,6 +65397,21 @@ var DThemeDarkTableBodyCellSelectMultiple = /** @class */ (function (_super) {
|
|
|
65307
65397
|
return DThemeDarkTableBodyCellSelectMultiple;
|
|
65308
65398
|
}(DThemeDarkSelectMultiple));
|
|
65309
65399
|
|
|
65400
|
+
/*
|
|
65401
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
65402
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
65403
|
+
*/
|
|
65404
|
+
var DThemeDarkTableBodyCellTextArea = /** @class */ (function (_super) {
|
|
65405
|
+
__extends(DThemeDarkTableBodyCellTextArea, _super);
|
|
65406
|
+
function DThemeDarkTableBodyCellTextArea() {
|
|
65407
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
65408
|
+
}
|
|
65409
|
+
DThemeDarkTableBodyCellTextArea.prototype.getTextAlignVertical = function () {
|
|
65410
|
+
return DAlignVertical.TOP;
|
|
65411
|
+
};
|
|
65412
|
+
return DThemeDarkTableBodyCellTextArea;
|
|
65413
|
+
}(DThemeDarkTableBodyCellText));
|
|
65414
|
+
|
|
65310
65415
|
/*
|
|
65311
65416
|
* Copyright (C) 2019 Toshiba Corporation
|
|
65312
65417
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -65654,6 +65759,7 @@ var loadThemeDarkTable = function () {
|
|
|
65654
65759
|
DThemeDark.set("DTableBodyCellIndex", DThemeDarkTableBodyCellIndex);
|
|
65655
65760
|
DThemeDark.set("DTableBodyCellInputInteger", DThemeDarkTableBodyCellInputInteger);
|
|
65656
65761
|
DThemeDark.set("DTableBodyCellInputReal", DThemeDarkTableBodyCellInputReal);
|
|
65762
|
+
DThemeDark.set("DTableBodyCellInputTextArea", DThemeDarkTableBodyCellInputTextArea);
|
|
65657
65763
|
DThemeDark.set("DTableBodyCellInputText", DThemeDarkTableBodyCellInputText);
|
|
65658
65764
|
DThemeDark.set("DTableBodyCellInputTreeMarker", DThemeDarkTableBodyCellInputTreeMarker);
|
|
65659
65765
|
DThemeDark.set("DTableBodyCellInputTreeInput", DThemeDarkTableBodyCellInputTreeInput);
|
|
@@ -65663,6 +65769,7 @@ var loadThemeDarkTable = function () {
|
|
|
65663
65769
|
DThemeDark.set("DTableBodyCellSelectMenu", DThemeDarkTableBodyCellSelectMenu);
|
|
65664
65770
|
DThemeDark.set("DTableBodyCellSelectMultiple", DThemeDarkTableBodyCellSelectMultiple);
|
|
65665
65771
|
DThemeDark.set("DTableBodyCellSelectPromise", DThemeDarkTableBodyCellSelectPromise);
|
|
65772
|
+
DThemeDark.set("DTableBodyCellTextArea", DThemeDarkTableBodyCellTextArea);
|
|
65666
65773
|
DThemeDark.set("DTableBodyCellText", DThemeDarkTableBodyCellText);
|
|
65667
65774
|
DThemeDark.set("DTableBodyCellTree", DThemeDarkTableBodyCellTree);
|
|
65668
65775
|
DThemeDark.set("DTableBodyCellTime", DThemeDarkTableBodyCellTime);
|
|
@@ -65680,6 +65787,7 @@ var loadThemeDarkTable = function () {
|
|
|
65680
65787
|
loadThemeDarkButtonDatetime();
|
|
65681
65788
|
loadThemeDarkInputInteger();
|
|
65682
65789
|
loadThemeDarkInputReal();
|
|
65790
|
+
loadThemeDarkInputTextArea();
|
|
65683
65791
|
loadThemeDarkInputText();
|
|
65684
65792
|
loadThemeDarkDialogSelect();
|
|
65685
65793
|
loadThemeDarkMenu();
|
|
@@ -87055,9 +87163,10 @@ var DTableBodyCellSelectDialog = /** @class */ (function (_super) {
|
|
|
87055
87163
|
if (row !== undefined) {
|
|
87056
87164
|
var rowIndex = this._rowIndex;
|
|
87057
87165
|
var columnIndex = this._columnIndex;
|
|
87058
|
-
this._column
|
|
87166
|
+
var column = this._column;
|
|
87167
|
+
column.setter(row, columnIndex, newValue);
|
|
87059
87168
|
this.emit("change", newValue, oldValue, this);
|
|
87060
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87169
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87061
87170
|
}
|
|
87062
87171
|
};
|
|
87063
87172
|
Object.defineProperty(DTableBodyCellSelectDialog.prototype, "row", {
|
|
@@ -87160,9 +87269,10 @@ var DTableBodyCellActionMenu = /** @class */ (function (_super) {
|
|
|
87160
87269
|
if (row !== undefined) {
|
|
87161
87270
|
var rowIndex = this._rowIndex;
|
|
87162
87271
|
var columnIndex = this._columnIndex;
|
|
87163
|
-
this._column
|
|
87272
|
+
var column = this._column;
|
|
87273
|
+
column.setter(row, columnIndex, selected);
|
|
87164
87274
|
_super.prototype.onMenuSelect.call(this, selected, item, menu);
|
|
87165
|
-
this._onChange(selected, null, row, rowIndex, columnIndex, this);
|
|
87275
|
+
this._onChange(selected, null, row, rowIndex, columnIndex, column, this);
|
|
87166
87276
|
}
|
|
87167
87277
|
};
|
|
87168
87278
|
DTableBodyCellActionMenu.prototype.onKeyDownArrowDown = function (e) {
|
|
@@ -87255,9 +87365,10 @@ var DTableBodyCellSelectPromise = /** @class */ (function (_super) {
|
|
|
87255
87365
|
if (row !== undefined) {
|
|
87256
87366
|
var rowIndex = this._rowIndex;
|
|
87257
87367
|
var columnIndex = this._columnIndex;
|
|
87258
|
-
this._column
|
|
87368
|
+
var column = this._column;
|
|
87369
|
+
column.setter(row, columnIndex, newValue);
|
|
87259
87370
|
this.emit("change", newValue, oldValue, this);
|
|
87260
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87371
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87261
87372
|
}
|
|
87262
87373
|
};
|
|
87263
87374
|
Object.defineProperty(DTableBodyCellSelectPromise.prototype, "row", {
|
|
@@ -87435,8 +87546,9 @@ var DTableBodyCellButton = /** @class */ (function (_super) {
|
|
|
87435
87546
|
if (row !== undefined) {
|
|
87436
87547
|
var rowIndex = this._rowIndex;
|
|
87437
87548
|
var columnIndex = this._columnIndex;
|
|
87549
|
+
var column = this._column;
|
|
87438
87550
|
this.emit("change", null, null, this);
|
|
87439
|
-
this._onChange(null, null, row, rowIndex, columnIndex, this);
|
|
87551
|
+
this._onChange(null, null, row, rowIndex, columnIndex, column, this);
|
|
87440
87552
|
}
|
|
87441
87553
|
};
|
|
87442
87554
|
DTableBodyCellButton.prototype.onActivateKeyDown = function (e) {
|
|
@@ -87489,7 +87601,21 @@ var DTableColumnType = {
|
|
|
87489
87601
|
TIME: 11,
|
|
87490
87602
|
ACTION: 12,
|
|
87491
87603
|
LINK: 13,
|
|
87492
|
-
TREE: 14
|
|
87604
|
+
TREE: 14,
|
|
87605
|
+
TEXT_AREA: 15
|
|
87606
|
+
};
|
|
87607
|
+
|
|
87608
|
+
/**
|
|
87609
|
+
* An update region when table cells get edited.
|
|
87610
|
+
*
|
|
87611
|
+
* * CELL: Edited cells (Default).
|
|
87612
|
+
* * ROW: Rows that edited cells belongs to.
|
|
87613
|
+
* * ALL: All the rows.
|
|
87614
|
+
*/
|
|
87615
|
+
var DTableColumnUpdate = {
|
|
87616
|
+
CELL: 0,
|
|
87617
|
+
ROW: 1,
|
|
87618
|
+
ALL: 2
|
|
87493
87619
|
};
|
|
87494
87620
|
|
|
87495
87621
|
/*
|
|
@@ -87523,7 +87649,7 @@ var DTableBodyCellCheck = /** @class */ (function (_super) {
|
|
|
87523
87649
|
column.setter(row, columnIndex, newValue);
|
|
87524
87650
|
this.emit("change", newValue, oldValue, this);
|
|
87525
87651
|
var onChange = this._onChange;
|
|
87526
|
-
onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87652
|
+
onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87527
87653
|
if (newValue && column.type === DTableColumnType.CHECK_SINGLE) {
|
|
87528
87654
|
this.onChangeSingle(rowIndex, columnIndex, column, onChange);
|
|
87529
87655
|
}
|
|
@@ -87532,9 +87658,9 @@ var DTableBodyCellCheck = /** @class */ (function (_super) {
|
|
|
87532
87658
|
DTableBodyCellCheck.prototype.onChangeSingle = function (rowIndex, columnIndex, column, onChange) {
|
|
87533
87659
|
var _this = this;
|
|
87534
87660
|
var tableBodyRow = this.parent;
|
|
87535
|
-
if (tableBodyRow) {
|
|
87661
|
+
if (tableBodyRow != null) {
|
|
87536
87662
|
var tableBody = tableBodyRow.parent;
|
|
87537
|
-
if (tableBody) {
|
|
87663
|
+
if (tableBody != null) {
|
|
87538
87664
|
var isChanged_1 = false;
|
|
87539
87665
|
var getter_1 = column.getter;
|
|
87540
87666
|
var setter_1 = column.setter;
|
|
@@ -87543,12 +87669,12 @@ var DTableBodyCellCheck = /** @class */ (function (_super) {
|
|
|
87543
87669
|
if (rowIndex !== index && getter_1(row, columnIndex)) {
|
|
87544
87670
|
setter_1(row, columnIndex, false);
|
|
87545
87671
|
isChanged_1 = true;
|
|
87546
|
-
onChange(false, true, row, index, columnIndex, _this);
|
|
87672
|
+
onChange(false, true, row, index, columnIndex, column, _this);
|
|
87547
87673
|
return false;
|
|
87548
87674
|
}
|
|
87549
87675
|
return true;
|
|
87550
87676
|
});
|
|
87551
|
-
if (isChanged_1) {
|
|
87677
|
+
if (isChanged_1 && column.update !== DTableColumnUpdate.ALL) {
|
|
87552
87678
|
tableBody.update(true);
|
|
87553
87679
|
}
|
|
87554
87680
|
}
|
|
@@ -87617,9 +87743,10 @@ var DTableBodyCellColor = /** @class */ (function (_super) {
|
|
|
87617
87743
|
if (row !== undefined) {
|
|
87618
87744
|
var rowIndex = this._rowIndex;
|
|
87619
87745
|
var columnIndex = this._columnIndex;
|
|
87620
|
-
this._column
|
|
87746
|
+
var column = this._column;
|
|
87747
|
+
column.setter(row, columnIndex, newValue);
|
|
87621
87748
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
87622
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87749
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87623
87750
|
}
|
|
87624
87751
|
else {
|
|
87625
87752
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
@@ -87707,9 +87834,10 @@ var DTableBodyCellDate = /** @class */ (function (_super) {
|
|
|
87707
87834
|
if (row !== undefined) {
|
|
87708
87835
|
var rowIndex = this._rowIndex;
|
|
87709
87836
|
var columnIndex = this._columnIndex;
|
|
87710
|
-
this._column
|
|
87837
|
+
var column = this._column;
|
|
87838
|
+
column.setter(row, columnIndex, newValue);
|
|
87711
87839
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
87712
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87840
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87713
87841
|
}
|
|
87714
87842
|
else {
|
|
87715
87843
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
@@ -87799,9 +87927,10 @@ var DTableBodyCellDatetime = /** @class */ (function (_super) {
|
|
|
87799
87927
|
if (row !== undefined) {
|
|
87800
87928
|
var rowIndex = this._rowIndex;
|
|
87801
87929
|
var columnIndex = this._columnIndex;
|
|
87802
|
-
this._column
|
|
87930
|
+
var column = this._column;
|
|
87931
|
+
column.setter(row, columnIndex, newValue);
|
|
87803
87932
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
87804
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87933
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87805
87934
|
}
|
|
87806
87935
|
else {
|
|
87807
87936
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
@@ -87949,9 +88078,10 @@ var DTableBodyCellInputInteger = /** @class */ (function (_super) {
|
|
|
87949
88078
|
if (row !== undefined) {
|
|
87950
88079
|
var rowIndex = this._rowIndex;
|
|
87951
88080
|
var columnIndex = this._columnIndex;
|
|
87952
|
-
this._column
|
|
88081
|
+
var column = this._column;
|
|
88082
|
+
column.setter(row, columnIndex, newValue);
|
|
87953
88083
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
87954
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88084
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87955
88085
|
}
|
|
87956
88086
|
};
|
|
87957
88087
|
Object.defineProperty(DTableBodyCellInputInteger.prototype, "row", {
|
|
@@ -88017,9 +88147,10 @@ var DTableBodyCellInputReal = /** @class */ (function (_super) {
|
|
|
88017
88147
|
if (row !== undefined) {
|
|
88018
88148
|
var rowIndex = this._rowIndex;
|
|
88019
88149
|
var columnIndex = this._columnIndex;
|
|
88020
|
-
this._column
|
|
88150
|
+
var column = this._column;
|
|
88151
|
+
column.setter(row, columnIndex, newValue);
|
|
88021
88152
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
88022
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88153
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
88023
88154
|
}
|
|
88024
88155
|
};
|
|
88025
88156
|
Object.defineProperty(DTableBodyCellInputReal.prototype, "row", {
|
|
@@ -88066,6 +88197,75 @@ var DTableBodyCellInputReal = /** @class */ (function (_super) {
|
|
|
88066
88197
|
return DTableBodyCellInputReal;
|
|
88067
88198
|
}(DInputReal));
|
|
88068
88199
|
|
|
88200
|
+
/*
|
|
88201
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
88202
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
88203
|
+
*/
|
|
88204
|
+
var DTableBodyCellInputTextArea = /** @class */ (function (_super) {
|
|
88205
|
+
__extends(DTableBodyCellInputTextArea, _super);
|
|
88206
|
+
function DTableBodyCellInputTextArea(columnIndex, column, onChange, options) {
|
|
88207
|
+
var _this = _super.call(this, options) || this;
|
|
88208
|
+
_this._rowIndex = -1;
|
|
88209
|
+
_this._columnIndex = columnIndex;
|
|
88210
|
+
_this._column = column;
|
|
88211
|
+
_this._onChange = onChange;
|
|
88212
|
+
return _this;
|
|
88213
|
+
}
|
|
88214
|
+
DTableBodyCellInputTextArea.prototype.onValueChange = function (newValue, oldValue) {
|
|
88215
|
+
var row = this._row;
|
|
88216
|
+
if (row !== undefined) {
|
|
88217
|
+
var rowIndex = this._rowIndex;
|
|
88218
|
+
var columnIndex = this._columnIndex;
|
|
88219
|
+
var column = this._column;
|
|
88220
|
+
column.setter(row, columnIndex, newValue);
|
|
88221
|
+
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
88222
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
88223
|
+
}
|
|
88224
|
+
};
|
|
88225
|
+
Object.defineProperty(DTableBodyCellInputTextArea.prototype, "row", {
|
|
88226
|
+
get: function () {
|
|
88227
|
+
return this._row;
|
|
88228
|
+
},
|
|
88229
|
+
enumerable: false,
|
|
88230
|
+
configurable: true
|
|
88231
|
+
});
|
|
88232
|
+
Object.defineProperty(DTableBodyCellInputTextArea.prototype, "rowIndex", {
|
|
88233
|
+
get: function () {
|
|
88234
|
+
return this._rowIndex;
|
|
88235
|
+
},
|
|
88236
|
+
enumerable: false,
|
|
88237
|
+
configurable: true
|
|
88238
|
+
});
|
|
88239
|
+
Object.defineProperty(DTableBodyCellInputTextArea.prototype, "columnIndex", {
|
|
88240
|
+
get: function () {
|
|
88241
|
+
return this._columnIndex;
|
|
88242
|
+
},
|
|
88243
|
+
enumerable: false,
|
|
88244
|
+
configurable: true
|
|
88245
|
+
});
|
|
88246
|
+
Object.defineProperty(DTableBodyCellInputTextArea.prototype, "column", {
|
|
88247
|
+
get: function () {
|
|
88248
|
+
return this._column;
|
|
88249
|
+
},
|
|
88250
|
+
enumerable: false,
|
|
88251
|
+
configurable: true
|
|
88252
|
+
});
|
|
88253
|
+
DTableBodyCellInputTextArea.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
88254
|
+
this._row = row;
|
|
88255
|
+
this._rowIndex = rowIndex;
|
|
88256
|
+
this.text = String(value);
|
|
88257
|
+
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
88258
|
+
};
|
|
88259
|
+
DTableBodyCellInputTextArea.prototype.unset = function () {
|
|
88260
|
+
this._row = undefined;
|
|
88261
|
+
this._rowIndex = -1;
|
|
88262
|
+
};
|
|
88263
|
+
DTableBodyCellInputTextArea.prototype.getType = function () {
|
|
88264
|
+
return "DTableBodyCellInputTextArea";
|
|
88265
|
+
};
|
|
88266
|
+
return DTableBodyCellInputTextArea;
|
|
88267
|
+
}(DInputTextArea));
|
|
88268
|
+
|
|
88069
88269
|
/*
|
|
88070
88270
|
* Copyright (C) 2019 Toshiba Corporation
|
|
88071
88271
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -88085,9 +88285,10 @@ var DTableBodyCellInputText = /** @class */ (function (_super) {
|
|
|
88085
88285
|
if (row !== undefined) {
|
|
88086
88286
|
var rowIndex = this._rowIndex;
|
|
88087
88287
|
var columnIndex = this._columnIndex;
|
|
88088
|
-
this._column
|
|
88288
|
+
var column = this._column;
|
|
88289
|
+
column.setter(row, columnIndex, newValue);
|
|
88089
88290
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
88090
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88291
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
88091
88292
|
}
|
|
88092
88293
|
};
|
|
88093
88294
|
Object.defineProperty(DTableBodyCellInputText.prototype, "row", {
|
|
@@ -88228,9 +88429,10 @@ var DTableBodyCellInputTree = /** @class */ (function (_super) {
|
|
|
88228
88429
|
if (row !== undefined) {
|
|
88229
88430
|
var rowIndex = this._rowIndex;
|
|
88230
88431
|
var columnIndex = this._columnIndex;
|
|
88231
|
-
this._column
|
|
88432
|
+
var column = this._column;
|
|
88433
|
+
column.setter(row, columnIndex, newValue);
|
|
88232
88434
|
this.emit("change", newValue, oldValue, this);
|
|
88233
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88435
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
88234
88436
|
}
|
|
88235
88437
|
};
|
|
88236
88438
|
DTableBodyCellInputTree.prototype.newMarker = function (options) {
|
|
@@ -88319,7 +88521,7 @@ var DTableBodyCellInputTree = /** @class */ (function (_super) {
|
|
|
88319
88521
|
input.visible = true;
|
|
88320
88522
|
input.text = String(value);
|
|
88321
88523
|
var marker = this._marker;
|
|
88322
|
-
if (
|
|
88524
|
+
if (supplimental != null) {
|
|
88323
88525
|
var isOpened = !!(supplimental & 0x1);
|
|
88324
88526
|
var hasChildren = !!(supplimental & 0x2);
|
|
88325
88527
|
var level = supplimental >> 2;
|
|
@@ -88455,9 +88657,10 @@ var DTableBodyCellSelectMenu = /** @class */ (function (_super) {
|
|
|
88455
88657
|
if (row !== undefined) {
|
|
88456
88658
|
var rowIndex = this._rowIndex;
|
|
88457
88659
|
var columnIndex = this._columnIndex;
|
|
88458
|
-
this._column
|
|
88660
|
+
var column = this._column;
|
|
88661
|
+
column.setter(row, columnIndex, newValue);
|
|
88459
88662
|
_super.prototype.onValueChange.call(this, newValue, oldValue, item);
|
|
88460
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88663
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
88461
88664
|
}
|
|
88462
88665
|
};
|
|
88463
88666
|
DTableBodyCellSelectMenu.prototype.onKeyDownArrowDown = function (e) {
|
|
@@ -88526,9 +88729,10 @@ var DTableBodyCellSelectMultiple = /** @class */ (function (_super) {
|
|
|
88526
88729
|
if (row !== undefined) {
|
|
88527
88730
|
var rowIndex = this._rowIndex;
|
|
88528
88731
|
var columnIndex = this._columnIndex;
|
|
88529
|
-
this._column
|
|
88732
|
+
var column = this._column;
|
|
88733
|
+
column.setter(row, columnIndex, newValues);
|
|
88530
88734
|
_super.prototype.onValueChange.call(this, newValues, oldValues, items);
|
|
88531
|
-
this._onChange(newValues, oldValues, row, rowIndex, columnIndex, this);
|
|
88735
|
+
this._onChange(newValues, oldValues, row, rowIndex, columnIndex, column, this);
|
|
88532
88736
|
}
|
|
88533
88737
|
};
|
|
88534
88738
|
DTableBodyCellSelectMultiple.prototype.onKeyDownArrowDown = function (e) {
|
|
@@ -88578,6 +88782,21 @@ var DTableBodyCellSelectMultiple = /** @class */ (function (_super) {
|
|
|
88578
88782
|
return DTableBodyCellSelectMultiple;
|
|
88579
88783
|
}(DSelectMultiple));
|
|
88580
88784
|
|
|
88785
|
+
/*
|
|
88786
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
88787
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
88788
|
+
*/
|
|
88789
|
+
var DTableBodyCellTextArea = /** @class */ (function (_super) {
|
|
88790
|
+
__extends(DTableBodyCellTextArea, _super);
|
|
88791
|
+
function DTableBodyCellTextArea() {
|
|
88792
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
88793
|
+
}
|
|
88794
|
+
DTableBodyCellTextArea.prototype.getType = function () {
|
|
88795
|
+
return "DTableBodyCellTextArea";
|
|
88796
|
+
};
|
|
88797
|
+
return DTableBodyCellTextArea;
|
|
88798
|
+
}(DTableBodyCellText));
|
|
88799
|
+
|
|
88581
88800
|
/*
|
|
88582
88801
|
* Copyright (C) 2019 Toshiba Corporation
|
|
88583
88802
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -88597,9 +88816,10 @@ var DTableBodyCellTime = /** @class */ (function (_super) {
|
|
|
88597
88816
|
if (row !== undefined) {
|
|
88598
88817
|
var rowIndex = this._rowIndex;
|
|
88599
88818
|
var columnIndex = this._columnIndex;
|
|
88600
|
-
this._column
|
|
88819
|
+
var column = this._column;
|
|
88820
|
+
column.setter(row, columnIndex, newValue);
|
|
88601
88821
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
88602
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88822
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
88603
88823
|
}
|
|
88604
88824
|
else {
|
|
88605
88825
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
@@ -88762,7 +88982,7 @@ var DTableBodyCellTree = /** @class */ (function (_super) {
|
|
|
88762
88982
|
DTableBodyCells.set(this, row, columnIndex, this._column, false);
|
|
88763
88983
|
var link = this.link;
|
|
88764
88984
|
var padding = this._padding;
|
|
88765
|
-
if (
|
|
88985
|
+
if (supplimental != null) {
|
|
88766
88986
|
var isOpened = !!(supplimental & 0x1);
|
|
88767
88987
|
var hasChildren = !!(supplimental & 0x2);
|
|
88768
88988
|
var level = supplimental >> 2;
|
|
@@ -88913,15 +89133,27 @@ var DTableBodyRow = /** @class */ (function (_super) {
|
|
|
88913
89133
|
function DTableBodyRow(onChange, isEven, columnIndexToCellOptions, options) {
|
|
88914
89134
|
var _this = _super.call(this, options) || this;
|
|
88915
89135
|
_this._index = -1;
|
|
88916
|
-
_this.
|
|
88917
|
-
|
|
88918
|
-
|
|
89136
|
+
_this._onChange = onChange;
|
|
89137
|
+
_this._onCellChangeBound = function (newValue, oldValue, row, rowIndex, columnIndex, column) {
|
|
89138
|
+
_this.onCellChange(newValue, oldValue, row, rowIndex, columnIndex, column);
|
|
88919
89139
|
};
|
|
88920
89140
|
_this._columnIndexToCellOptions = columnIndexToCellOptions;
|
|
88921
89141
|
_this.state.isAlternated = !isEven;
|
|
88922
89142
|
_this.initCells(options, _this._columns, _this._frozen);
|
|
88923
89143
|
return _this;
|
|
88924
89144
|
}
|
|
89145
|
+
DTableBodyRow.prototype.onCellChange = function (newValue, oldValue, row, rowIndex, columnIndex, column) {
|
|
89146
|
+
this.emit("change", newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
89147
|
+
if (column.update === DTableColumnUpdate.ROW) {
|
|
89148
|
+
var value = this._value;
|
|
89149
|
+
var supplimental = this._supplimental;
|
|
89150
|
+
var index = this._index;
|
|
89151
|
+
if (value !== undefined && supplimental !== undefined) {
|
|
89152
|
+
this.set(value, supplimental, index, true);
|
|
89153
|
+
}
|
|
89154
|
+
}
|
|
89155
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
89156
|
+
};
|
|
88925
89157
|
DTableBodyRow.prototype.newCell = function (columnIndex, column, columns, options) {
|
|
88926
89158
|
var onChange = this._onCellChangeBound;
|
|
88927
89159
|
var columnIndexToCellOptions = this._columnIndexToCellOptions;
|
|
@@ -88947,6 +89179,8 @@ var DTableBodyRow = /** @class */ (function (_super) {
|
|
|
88947
89179
|
return new DTableBodyCellIndex(columnIndex, column, onChange, options);
|
|
88948
89180
|
case DTableColumnType.TEXT:
|
|
88949
89181
|
return new DTableBodyCellInputText(columnIndex, column, onChange, options);
|
|
89182
|
+
case DTableColumnType.TEXT_AREA:
|
|
89183
|
+
return new DTableBodyCellInputTextArea(columnIndex, column, onChange, options);
|
|
88950
89184
|
case DTableColumnType.TREE:
|
|
88951
89185
|
return new DTableBodyCellInputTree(columnIndex, column, onChange, options);
|
|
88952
89186
|
case DTableColumnType.INTEGER:
|
|
@@ -88982,6 +89216,8 @@ var DTableBodyRow = /** @class */ (function (_super) {
|
|
|
88982
89216
|
return new DTableBodyCellIndex(columnIndex, column, onChange, options);
|
|
88983
89217
|
case DTableColumnType.TEXT:
|
|
88984
89218
|
return new DTableBodyCellText(columnIndex, column, onChange, options);
|
|
89219
|
+
case DTableColumnType.TEXT_AREA:
|
|
89220
|
+
return new DTableBodyCellTextArea(columnIndex, column, onChange, options);
|
|
88985
89221
|
case DTableColumnType.TREE:
|
|
88986
89222
|
return new DTableBodyCellTree(columnIndex, column, onChange, options);
|
|
88987
89223
|
case DTableColumnType.INTEGER:
|
|
@@ -89131,8 +89367,12 @@ var DTableBodyRow = /** @class */ (function (_super) {
|
|
|
89131
89367
|
return target != null && "set" in target;
|
|
89132
89368
|
};
|
|
89133
89369
|
DTableBodyRow.prototype.set = function (value, supplimental, rowIndex, forcibly) {
|
|
89134
|
-
if (forcibly ||
|
|
89370
|
+
if (forcibly ||
|
|
89371
|
+
this._value !== value ||
|
|
89372
|
+
this._supplimental !== supplimental ||
|
|
89373
|
+
this._index !== rowIndex) {
|
|
89135
89374
|
this._value = value;
|
|
89375
|
+
this._supplimental = supplimental;
|
|
89136
89376
|
this._index = rowIndex;
|
|
89137
89377
|
var cells = this.children;
|
|
89138
89378
|
var cellsLength = cells.length;
|
|
@@ -90159,13 +90399,20 @@ var DTableBody = /** @class */ (function (_super) {
|
|
|
90159
90399
|
_this._isUpdateRowsCalled = false;
|
|
90160
90400
|
_this._isUpdateRowsCalledForcibly = false;
|
|
90161
90401
|
_this._workRows = [];
|
|
90162
|
-
_this._onRowChangeBound = function (newValue, oldValue, row, rowIndex, columnIndex) {
|
|
90163
|
-
|
|
90402
|
+
_this._onRowChangeBound = function (newValue, oldValue, row, rowIndex, columnIndex, column) {
|
|
90403
|
+
_this.onRowChange(newValue, oldValue, row, rowIndex, columnIndex, column);
|
|
90164
90404
|
};
|
|
90165
90405
|
_this._columnIndexToCellOptions = new Map();
|
|
90166
90406
|
_this._data.emit("init", _this._data);
|
|
90167
90407
|
return _this;
|
|
90168
90408
|
}
|
|
90409
|
+
DTableBody.prototype.onRowChange = function (newValue, oldValue, row, rowIndex, columnIndex, column) {
|
|
90410
|
+
var data = this._data;
|
|
90411
|
+
data.emit("change", newValue, oldValue, row, rowIndex, columnIndex, data);
|
|
90412
|
+
if (column.update === DTableColumnUpdate.ALL) {
|
|
90413
|
+
this.update(true);
|
|
90414
|
+
}
|
|
90415
|
+
};
|
|
90169
90416
|
DTableBody.prototype.toData = function (options) {
|
|
90170
90417
|
if (this.isData(options)) {
|
|
90171
90418
|
return options;
|
|
@@ -92039,6 +92286,7 @@ var toColumnAlign = function (options, type) {
|
|
|
92039
92286
|
}
|
|
92040
92287
|
switch (type) {
|
|
92041
92288
|
case DTableColumnType.TEXT:
|
|
92289
|
+
case DTableColumnType.TEXT_AREA:
|
|
92042
92290
|
return DAlignHorizontal.LEFT;
|
|
92043
92291
|
case DTableColumnType.REAL:
|
|
92044
92292
|
case DTableColumnType.INTEGER:
|
|
@@ -92258,7 +92506,7 @@ var toColumnRenderable = function (options, path) {
|
|
|
92258
92506
|
return true;
|
|
92259
92507
|
};
|
|
92260
92508
|
var toColumn = function (index, options) {
|
|
92261
|
-
var _a;
|
|
92509
|
+
var _a, _b;
|
|
92262
92510
|
var weight = options.weight;
|
|
92263
92511
|
var width = options.width;
|
|
92264
92512
|
if (weight != null) {
|
|
@@ -92294,7 +92542,8 @@ var toColumn = function (index, options) {
|
|
|
92294
92542
|
category: options.category,
|
|
92295
92543
|
frozen: options.frozen,
|
|
92296
92544
|
offset: 0.0,
|
|
92297
|
-
link: options.link
|
|
92545
|
+
link: options.link,
|
|
92546
|
+
update: toEnum((_b = options.update) !== null && _b !== void 0 ? _b : DTableColumnUpdate.CELL, DTableColumnUpdate)
|
|
92298
92547
|
};
|
|
92299
92548
|
};
|
|
92300
92549
|
var toColumns = function (options) {
|
|
@@ -94662,6 +94911,7 @@ exports.DTableBodyCellIndex = DTableBodyCellIndex;
|
|
|
94662
94911
|
exports.DTableBodyCellInputInteger = DTableBodyCellInputInteger;
|
|
94663
94912
|
exports.DTableBodyCellInputReal = DTableBodyCellInputReal;
|
|
94664
94913
|
exports.DTableBodyCellInputText = DTableBodyCellInputText;
|
|
94914
|
+
exports.DTableBodyCellInputTextArea = DTableBodyCellInputTextArea;
|
|
94665
94915
|
exports.DTableBodyCellInputTree = DTableBodyCellInputTree;
|
|
94666
94916
|
exports.DTableBodyCellInputTreeInput = DTableBodyCellInputTreeInput;
|
|
94667
94917
|
exports.DTableBodyCellInputTreeMarker = DTableBodyCellInputTreeMarker;
|
|
@@ -94671,6 +94921,7 @@ exports.DTableBodyCellSelectMenu = DTableBodyCellSelectMenu;
|
|
|
94671
94921
|
exports.DTableBodyCellSelectMultiple = DTableBodyCellSelectMultiple;
|
|
94672
94922
|
exports.DTableBodyCellSelectPromise = DTableBodyCellSelectPromise;
|
|
94673
94923
|
exports.DTableBodyCellText = DTableBodyCellText;
|
|
94924
|
+
exports.DTableBodyCellTextArea = DTableBodyCellTextArea;
|
|
94674
94925
|
exports.DTableBodyCellTime = DTableBodyCellTime;
|
|
94675
94926
|
exports.DTableBodyCellTree = DTableBodyCellTree;
|
|
94676
94927
|
exports.DTableBodyCells = DTableBodyCells;
|
|
@@ -94678,6 +94929,7 @@ exports.DTableBodyRow = DTableBodyRow;
|
|
|
94678
94929
|
exports.DTableCategory = DTableCategory;
|
|
94679
94930
|
exports.DTableCategoryCell = DTableCategoryCell;
|
|
94680
94931
|
exports.DTableColumnType = DTableColumnType;
|
|
94932
|
+
exports.DTableColumnUpdate = DTableColumnUpdate;
|
|
94681
94933
|
exports.DTableDataList = DTableDataList;
|
|
94682
94934
|
exports.DTableDataListFilter = DTableDataListFilter;
|
|
94683
94935
|
exports.DTableDataListMapped = DTableDataListMapped;
|
|
@@ -94893,11 +95145,13 @@ exports.DThemeDarkTableBodyCellIndex = DThemeDarkTableBodyCellIndex;
|
|
|
94893
95145
|
exports.DThemeDarkTableBodyCellInputInteger = DThemeDarkTableBodyCellInputInteger;
|
|
94894
95146
|
exports.DThemeDarkTableBodyCellInputReal = DThemeDarkTableBodyCellInputReal;
|
|
94895
95147
|
exports.DThemeDarkTableBodyCellInputText = DThemeDarkTableBodyCellInputText;
|
|
95148
|
+
exports.DThemeDarkTableBodyCellInputTextArea = DThemeDarkTableBodyCellInputTextArea;
|
|
94896
95149
|
exports.DThemeDarkTableBodyCellLink = DThemeDarkTableBodyCellLink;
|
|
94897
95150
|
exports.DThemeDarkTableBodyCellSelectDialog = DThemeDarkTableBodyCellSelectDialog;
|
|
94898
95151
|
exports.DThemeDarkTableBodyCellSelectMenu = DThemeDarkTableBodyCellSelectMenu;
|
|
94899
95152
|
exports.DThemeDarkTableBodyCellSelectPromise = DThemeDarkTableBodyCellSelectPromise;
|
|
94900
95153
|
exports.DThemeDarkTableBodyCellText = DThemeDarkTableBodyCellText;
|
|
95154
|
+
exports.DThemeDarkTableBodyCellTextArea = DThemeDarkTableBodyCellTextArea;
|
|
94901
95155
|
exports.DThemeDarkTableBodyCellTime = DThemeDarkTableBodyCellTime;
|
|
94902
95156
|
exports.DThemeDarkTableBodyCells = DThemeDarkTableBodyCells;
|
|
94903
95157
|
exports.DThemeDarkTableBodyRow = DThemeDarkTableBodyRow;
|
|
@@ -95109,11 +95363,13 @@ exports.DThemeWhiteTableBodyCellIndex = DThemeWhiteTableBodyCellIndex;
|
|
|
95109
95363
|
exports.DThemeWhiteTableBodyCellInputInteger = DThemeWhiteTableBodyCellInputInteger;
|
|
95110
95364
|
exports.DThemeWhiteTableBodyCellInputReal = DThemeWhiteTableBodyCellInputReal;
|
|
95111
95365
|
exports.DThemeWhiteTableBodyCellInputText = DThemeWhiteTableBodyCellInputText;
|
|
95366
|
+
exports.DThemeWhiteTableBodyCellInputTextArea = DThemeWhiteTableBodyCellInputTextArea;
|
|
95112
95367
|
exports.DThemeWhiteTableBodyCellLink = DThemeWhiteTableBodyCellLink;
|
|
95113
95368
|
exports.DThemeWhiteTableBodyCellSelectDialog = DThemeWhiteTableBodyCellSelectDialog;
|
|
95114
95369
|
exports.DThemeWhiteTableBodyCellSelectMenu = DThemeWhiteTableBodyCellSelectMenu;
|
|
95115
95370
|
exports.DThemeWhiteTableBodyCellSelectPromise = DThemeWhiteTableBodyCellSelectPromise;
|
|
95116
95371
|
exports.DThemeWhiteTableBodyCellText = DThemeWhiteTableBodyCellText;
|
|
95372
|
+
exports.DThemeWhiteTableBodyCellTextArea = DThemeWhiteTableBodyCellTextArea;
|
|
95117
95373
|
exports.DThemeWhiteTableBodyCellTime = DThemeWhiteTableBodyCellTime;
|
|
95118
95374
|
exports.DThemeWhiteTableBodyCells = DThemeWhiteTableBodyCells;
|
|
95119
95375
|
exports.DThemeWhiteTableBodyRow = DThemeWhiteTableBodyRow;
|