@wcardinal/wcardinal-ui 0.366.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-dialog-select-search-function.d.ts +1 -13
- 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-dialog-select-search-function.js +1 -18
- package/dist/wcardinal/ui/d-dialog-select-search-function.js.map +1 -1
- package/dist/wcardinal/ui/d-dialog-select-search-impl.js +4 -4
- package/dist/wcardinal/ui/d-dialog-select-search-impl.js.map +1 -1
- 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 +304 -70
- package/dist/wcardinal-ui.js +192 -70
- 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();
|
|
@@ -73949,29 +74057,6 @@ var DDialogSelectList = /** @class */ (function (_super) {
|
|
|
73949
74057
|
return DDialogSelectList;
|
|
73950
74058
|
}(DList));
|
|
73951
74059
|
|
|
73952
|
-
/*
|
|
73953
|
-
* Copyright (C) 2019 Toshiba Corporation
|
|
73954
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
73955
|
-
*/
|
|
73956
|
-
var DDialogSelectSearchFunctions = {
|
|
73957
|
-
isUncategorized: function (search) {
|
|
73958
|
-
return search.length <= 1;
|
|
73959
|
-
},
|
|
73960
|
-
toCategorized: function (search) {
|
|
73961
|
-
if (search == null) {
|
|
73962
|
-
return function (word, categoryId) { return Promise.resolve([]); };
|
|
73963
|
-
}
|
|
73964
|
-
else if (this.isUncategorized(search)) {
|
|
73965
|
-
return function (word, categoryId) {
|
|
73966
|
-
return search(word);
|
|
73967
|
-
};
|
|
73968
|
-
}
|
|
73969
|
-
else {
|
|
73970
|
-
return search;
|
|
73971
|
-
}
|
|
73972
|
-
}
|
|
73973
|
-
};
|
|
73974
|
-
|
|
73975
74060
|
/*
|
|
73976
74061
|
* Copyright (C) 2019 Toshiba Corporation
|
|
73977
74062
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -73980,16 +74065,17 @@ var DDialogSelectSearhImpl = /** @class */ (function (_super) {
|
|
|
73980
74065
|
__extends(DDialogSelectSearhImpl, _super);
|
|
73981
74066
|
function DDialogSelectSearhImpl(search) {
|
|
73982
74067
|
var _this = _super.call(this) || this;
|
|
73983
|
-
_this._search =
|
|
74068
|
+
_this._search =
|
|
74069
|
+
search !== null && search !== void 0 ? search : (function (word, categoryId) { return Promise.resolve([]); });
|
|
73984
74070
|
_this._id = 0;
|
|
73985
74071
|
_this._idCompleted = 0;
|
|
73986
74072
|
return _this;
|
|
73987
74073
|
}
|
|
73988
74074
|
DDialogSelectSearhImpl.prototype.create = function (args) {
|
|
73989
74075
|
var _this = this;
|
|
73990
|
-
var _a;
|
|
73991
74076
|
var id = ++this._id;
|
|
73992
|
-
|
|
74077
|
+
var search = this._search;
|
|
74078
|
+
(args.length <= 1 ? search(args[0]) : search(args[0], args[1])).then(function (searchResult) {
|
|
73993
74079
|
if (_this._id === id) {
|
|
73994
74080
|
_this._idCompleted = id;
|
|
73995
74081
|
_this.emit("success", _this, searchResult);
|
|
@@ -87077,9 +87163,10 @@ var DTableBodyCellSelectDialog = /** @class */ (function (_super) {
|
|
|
87077
87163
|
if (row !== undefined) {
|
|
87078
87164
|
var rowIndex = this._rowIndex;
|
|
87079
87165
|
var columnIndex = this._columnIndex;
|
|
87080
|
-
this._column
|
|
87166
|
+
var column = this._column;
|
|
87167
|
+
column.setter(row, columnIndex, newValue);
|
|
87081
87168
|
this.emit("change", newValue, oldValue, this);
|
|
87082
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87169
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87083
87170
|
}
|
|
87084
87171
|
};
|
|
87085
87172
|
Object.defineProperty(DTableBodyCellSelectDialog.prototype, "row", {
|
|
@@ -87182,9 +87269,10 @@ var DTableBodyCellActionMenu = /** @class */ (function (_super) {
|
|
|
87182
87269
|
if (row !== undefined) {
|
|
87183
87270
|
var rowIndex = this._rowIndex;
|
|
87184
87271
|
var columnIndex = this._columnIndex;
|
|
87185
|
-
this._column
|
|
87272
|
+
var column = this._column;
|
|
87273
|
+
column.setter(row, columnIndex, selected);
|
|
87186
87274
|
_super.prototype.onMenuSelect.call(this, selected, item, menu);
|
|
87187
|
-
this._onChange(selected, null, row, rowIndex, columnIndex, this);
|
|
87275
|
+
this._onChange(selected, null, row, rowIndex, columnIndex, column, this);
|
|
87188
87276
|
}
|
|
87189
87277
|
};
|
|
87190
87278
|
DTableBodyCellActionMenu.prototype.onKeyDownArrowDown = function (e) {
|
|
@@ -87277,9 +87365,10 @@ var DTableBodyCellSelectPromise = /** @class */ (function (_super) {
|
|
|
87277
87365
|
if (row !== undefined) {
|
|
87278
87366
|
var rowIndex = this._rowIndex;
|
|
87279
87367
|
var columnIndex = this._columnIndex;
|
|
87280
|
-
this._column
|
|
87368
|
+
var column = this._column;
|
|
87369
|
+
column.setter(row, columnIndex, newValue);
|
|
87281
87370
|
this.emit("change", newValue, oldValue, this);
|
|
87282
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87371
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87283
87372
|
}
|
|
87284
87373
|
};
|
|
87285
87374
|
Object.defineProperty(DTableBodyCellSelectPromise.prototype, "row", {
|
|
@@ -87457,8 +87546,9 @@ var DTableBodyCellButton = /** @class */ (function (_super) {
|
|
|
87457
87546
|
if (row !== undefined) {
|
|
87458
87547
|
var rowIndex = this._rowIndex;
|
|
87459
87548
|
var columnIndex = this._columnIndex;
|
|
87549
|
+
var column = this._column;
|
|
87460
87550
|
this.emit("change", null, null, this);
|
|
87461
|
-
this._onChange(null, null, row, rowIndex, columnIndex, this);
|
|
87551
|
+
this._onChange(null, null, row, rowIndex, columnIndex, column, this);
|
|
87462
87552
|
}
|
|
87463
87553
|
};
|
|
87464
87554
|
DTableBodyCellButton.prototype.onActivateKeyDown = function (e) {
|
|
@@ -87511,7 +87601,21 @@ var DTableColumnType = {
|
|
|
87511
87601
|
TIME: 11,
|
|
87512
87602
|
ACTION: 12,
|
|
87513
87603
|
LINK: 13,
|
|
87514
|
-
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
|
|
87515
87619
|
};
|
|
87516
87620
|
|
|
87517
87621
|
/*
|
|
@@ -87545,7 +87649,7 @@ var DTableBodyCellCheck = /** @class */ (function (_super) {
|
|
|
87545
87649
|
column.setter(row, columnIndex, newValue);
|
|
87546
87650
|
this.emit("change", newValue, oldValue, this);
|
|
87547
87651
|
var onChange = this._onChange;
|
|
87548
|
-
onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87652
|
+
onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87549
87653
|
if (newValue && column.type === DTableColumnType.CHECK_SINGLE) {
|
|
87550
87654
|
this.onChangeSingle(rowIndex, columnIndex, column, onChange);
|
|
87551
87655
|
}
|
|
@@ -87554,9 +87658,9 @@ var DTableBodyCellCheck = /** @class */ (function (_super) {
|
|
|
87554
87658
|
DTableBodyCellCheck.prototype.onChangeSingle = function (rowIndex, columnIndex, column, onChange) {
|
|
87555
87659
|
var _this = this;
|
|
87556
87660
|
var tableBodyRow = this.parent;
|
|
87557
|
-
if (tableBodyRow) {
|
|
87661
|
+
if (tableBodyRow != null) {
|
|
87558
87662
|
var tableBody = tableBodyRow.parent;
|
|
87559
|
-
if (tableBody) {
|
|
87663
|
+
if (tableBody != null) {
|
|
87560
87664
|
var isChanged_1 = false;
|
|
87561
87665
|
var getter_1 = column.getter;
|
|
87562
87666
|
var setter_1 = column.setter;
|
|
@@ -87565,12 +87669,12 @@ var DTableBodyCellCheck = /** @class */ (function (_super) {
|
|
|
87565
87669
|
if (rowIndex !== index && getter_1(row, columnIndex)) {
|
|
87566
87670
|
setter_1(row, columnIndex, false);
|
|
87567
87671
|
isChanged_1 = true;
|
|
87568
|
-
onChange(false, true, row, index, columnIndex, _this);
|
|
87672
|
+
onChange(false, true, row, index, columnIndex, column, _this);
|
|
87569
87673
|
return false;
|
|
87570
87674
|
}
|
|
87571
87675
|
return true;
|
|
87572
87676
|
});
|
|
87573
|
-
if (isChanged_1) {
|
|
87677
|
+
if (isChanged_1 && column.update !== DTableColumnUpdate.ALL) {
|
|
87574
87678
|
tableBody.update(true);
|
|
87575
87679
|
}
|
|
87576
87680
|
}
|
|
@@ -87639,9 +87743,10 @@ var DTableBodyCellColor = /** @class */ (function (_super) {
|
|
|
87639
87743
|
if (row !== undefined) {
|
|
87640
87744
|
var rowIndex = this._rowIndex;
|
|
87641
87745
|
var columnIndex = this._columnIndex;
|
|
87642
|
-
this._column
|
|
87746
|
+
var column = this._column;
|
|
87747
|
+
column.setter(row, columnIndex, newValue);
|
|
87643
87748
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
87644
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87749
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87645
87750
|
}
|
|
87646
87751
|
else {
|
|
87647
87752
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
@@ -87729,9 +87834,10 @@ var DTableBodyCellDate = /** @class */ (function (_super) {
|
|
|
87729
87834
|
if (row !== undefined) {
|
|
87730
87835
|
var rowIndex = this._rowIndex;
|
|
87731
87836
|
var columnIndex = this._columnIndex;
|
|
87732
|
-
this._column
|
|
87837
|
+
var column = this._column;
|
|
87838
|
+
column.setter(row, columnIndex, newValue);
|
|
87733
87839
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
87734
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87840
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87735
87841
|
}
|
|
87736
87842
|
else {
|
|
87737
87843
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
@@ -87821,9 +87927,10 @@ var DTableBodyCellDatetime = /** @class */ (function (_super) {
|
|
|
87821
87927
|
if (row !== undefined) {
|
|
87822
87928
|
var rowIndex = this._rowIndex;
|
|
87823
87929
|
var columnIndex = this._columnIndex;
|
|
87824
|
-
this._column
|
|
87930
|
+
var column = this._column;
|
|
87931
|
+
column.setter(row, columnIndex, newValue);
|
|
87825
87932
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
87826
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87933
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87827
87934
|
}
|
|
87828
87935
|
else {
|
|
87829
87936
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
@@ -87971,9 +88078,10 @@ var DTableBodyCellInputInteger = /** @class */ (function (_super) {
|
|
|
87971
88078
|
if (row !== undefined) {
|
|
87972
88079
|
var rowIndex = this._rowIndex;
|
|
87973
88080
|
var columnIndex = this._columnIndex;
|
|
87974
|
-
this._column
|
|
88081
|
+
var column = this._column;
|
|
88082
|
+
column.setter(row, columnIndex, newValue);
|
|
87975
88083
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
87976
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88084
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87977
88085
|
}
|
|
87978
88086
|
};
|
|
87979
88087
|
Object.defineProperty(DTableBodyCellInputInteger.prototype, "row", {
|
|
@@ -88039,9 +88147,10 @@ var DTableBodyCellInputReal = /** @class */ (function (_super) {
|
|
|
88039
88147
|
if (row !== undefined) {
|
|
88040
88148
|
var rowIndex = this._rowIndex;
|
|
88041
88149
|
var columnIndex = this._columnIndex;
|
|
88042
|
-
this._column
|
|
88150
|
+
var column = this._column;
|
|
88151
|
+
column.setter(row, columnIndex, newValue);
|
|
88043
88152
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
88044
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88153
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
88045
88154
|
}
|
|
88046
88155
|
};
|
|
88047
88156
|
Object.defineProperty(DTableBodyCellInputReal.prototype, "row", {
|
|
@@ -88088,6 +88197,75 @@ var DTableBodyCellInputReal = /** @class */ (function (_super) {
|
|
|
88088
88197
|
return DTableBodyCellInputReal;
|
|
88089
88198
|
}(DInputReal));
|
|
88090
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
|
+
|
|
88091
88269
|
/*
|
|
88092
88270
|
* Copyright (C) 2019 Toshiba Corporation
|
|
88093
88271
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -88107,9 +88285,10 @@ var DTableBodyCellInputText = /** @class */ (function (_super) {
|
|
|
88107
88285
|
if (row !== undefined) {
|
|
88108
88286
|
var rowIndex = this._rowIndex;
|
|
88109
88287
|
var columnIndex = this._columnIndex;
|
|
88110
|
-
this._column
|
|
88288
|
+
var column = this._column;
|
|
88289
|
+
column.setter(row, columnIndex, newValue);
|
|
88111
88290
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
88112
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88291
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
88113
88292
|
}
|
|
88114
88293
|
};
|
|
88115
88294
|
Object.defineProperty(DTableBodyCellInputText.prototype, "row", {
|
|
@@ -88250,9 +88429,10 @@ var DTableBodyCellInputTree = /** @class */ (function (_super) {
|
|
|
88250
88429
|
if (row !== undefined) {
|
|
88251
88430
|
var rowIndex = this._rowIndex;
|
|
88252
88431
|
var columnIndex = this._columnIndex;
|
|
88253
|
-
this._column
|
|
88432
|
+
var column = this._column;
|
|
88433
|
+
column.setter(row, columnIndex, newValue);
|
|
88254
88434
|
this.emit("change", newValue, oldValue, this);
|
|
88255
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88435
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
88256
88436
|
}
|
|
88257
88437
|
};
|
|
88258
88438
|
DTableBodyCellInputTree.prototype.newMarker = function (options) {
|
|
@@ -88341,7 +88521,7 @@ var DTableBodyCellInputTree = /** @class */ (function (_super) {
|
|
|
88341
88521
|
input.visible = true;
|
|
88342
88522
|
input.text = String(value);
|
|
88343
88523
|
var marker = this._marker;
|
|
88344
|
-
if (
|
|
88524
|
+
if (supplimental != null) {
|
|
88345
88525
|
var isOpened = !!(supplimental & 0x1);
|
|
88346
88526
|
var hasChildren = !!(supplimental & 0x2);
|
|
88347
88527
|
var level = supplimental >> 2;
|
|
@@ -88477,9 +88657,10 @@ var DTableBodyCellSelectMenu = /** @class */ (function (_super) {
|
|
|
88477
88657
|
if (row !== undefined) {
|
|
88478
88658
|
var rowIndex = this._rowIndex;
|
|
88479
88659
|
var columnIndex = this._columnIndex;
|
|
88480
|
-
this._column
|
|
88660
|
+
var column = this._column;
|
|
88661
|
+
column.setter(row, columnIndex, newValue);
|
|
88481
88662
|
_super.prototype.onValueChange.call(this, newValue, oldValue, item);
|
|
88482
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88663
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
88483
88664
|
}
|
|
88484
88665
|
};
|
|
88485
88666
|
DTableBodyCellSelectMenu.prototype.onKeyDownArrowDown = function (e) {
|
|
@@ -88548,9 +88729,10 @@ var DTableBodyCellSelectMultiple = /** @class */ (function (_super) {
|
|
|
88548
88729
|
if (row !== undefined) {
|
|
88549
88730
|
var rowIndex = this._rowIndex;
|
|
88550
88731
|
var columnIndex = this._columnIndex;
|
|
88551
|
-
this._column
|
|
88732
|
+
var column = this._column;
|
|
88733
|
+
column.setter(row, columnIndex, newValues);
|
|
88552
88734
|
_super.prototype.onValueChange.call(this, newValues, oldValues, items);
|
|
88553
|
-
this._onChange(newValues, oldValues, row, rowIndex, columnIndex, this);
|
|
88735
|
+
this._onChange(newValues, oldValues, row, rowIndex, columnIndex, column, this);
|
|
88554
88736
|
}
|
|
88555
88737
|
};
|
|
88556
88738
|
DTableBodyCellSelectMultiple.prototype.onKeyDownArrowDown = function (e) {
|
|
@@ -88600,6 +88782,21 @@ var DTableBodyCellSelectMultiple = /** @class */ (function (_super) {
|
|
|
88600
88782
|
return DTableBodyCellSelectMultiple;
|
|
88601
88783
|
}(DSelectMultiple));
|
|
88602
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
|
+
|
|
88603
88800
|
/*
|
|
88604
88801
|
* Copyright (C) 2019 Toshiba Corporation
|
|
88605
88802
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -88619,9 +88816,10 @@ var DTableBodyCellTime = /** @class */ (function (_super) {
|
|
|
88619
88816
|
if (row !== undefined) {
|
|
88620
88817
|
var rowIndex = this._rowIndex;
|
|
88621
88818
|
var columnIndex = this._columnIndex;
|
|
88622
|
-
this._column
|
|
88819
|
+
var column = this._column;
|
|
88820
|
+
column.setter(row, columnIndex, newValue);
|
|
88623
88821
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
88624
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88822
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
88625
88823
|
}
|
|
88626
88824
|
else {
|
|
88627
88825
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
@@ -88784,7 +88982,7 @@ var DTableBodyCellTree = /** @class */ (function (_super) {
|
|
|
88784
88982
|
DTableBodyCells.set(this, row, columnIndex, this._column, false);
|
|
88785
88983
|
var link = this.link;
|
|
88786
88984
|
var padding = this._padding;
|
|
88787
|
-
if (
|
|
88985
|
+
if (supplimental != null) {
|
|
88788
88986
|
var isOpened = !!(supplimental & 0x1);
|
|
88789
88987
|
var hasChildren = !!(supplimental & 0x2);
|
|
88790
88988
|
var level = supplimental >> 2;
|
|
@@ -88935,15 +89133,27 @@ var DTableBodyRow = /** @class */ (function (_super) {
|
|
|
88935
89133
|
function DTableBodyRow(onChange, isEven, columnIndexToCellOptions, options) {
|
|
88936
89134
|
var _this = _super.call(this, options) || this;
|
|
88937
89135
|
_this._index = -1;
|
|
88938
|
-
_this.
|
|
88939
|
-
|
|
88940
|
-
|
|
89136
|
+
_this._onChange = onChange;
|
|
89137
|
+
_this._onCellChangeBound = function (newValue, oldValue, row, rowIndex, columnIndex, column) {
|
|
89138
|
+
_this.onCellChange(newValue, oldValue, row, rowIndex, columnIndex, column);
|
|
88941
89139
|
};
|
|
88942
89140
|
_this._columnIndexToCellOptions = columnIndexToCellOptions;
|
|
88943
89141
|
_this.state.isAlternated = !isEven;
|
|
88944
89142
|
_this.initCells(options, _this._columns, _this._frozen);
|
|
88945
89143
|
return _this;
|
|
88946
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
|
+
};
|
|
88947
89157
|
DTableBodyRow.prototype.newCell = function (columnIndex, column, columns, options) {
|
|
88948
89158
|
var onChange = this._onCellChangeBound;
|
|
88949
89159
|
var columnIndexToCellOptions = this._columnIndexToCellOptions;
|
|
@@ -88969,6 +89179,8 @@ var DTableBodyRow = /** @class */ (function (_super) {
|
|
|
88969
89179
|
return new DTableBodyCellIndex(columnIndex, column, onChange, options);
|
|
88970
89180
|
case DTableColumnType.TEXT:
|
|
88971
89181
|
return new DTableBodyCellInputText(columnIndex, column, onChange, options);
|
|
89182
|
+
case DTableColumnType.TEXT_AREA:
|
|
89183
|
+
return new DTableBodyCellInputTextArea(columnIndex, column, onChange, options);
|
|
88972
89184
|
case DTableColumnType.TREE:
|
|
88973
89185
|
return new DTableBodyCellInputTree(columnIndex, column, onChange, options);
|
|
88974
89186
|
case DTableColumnType.INTEGER:
|
|
@@ -89004,6 +89216,8 @@ var DTableBodyRow = /** @class */ (function (_super) {
|
|
|
89004
89216
|
return new DTableBodyCellIndex(columnIndex, column, onChange, options);
|
|
89005
89217
|
case DTableColumnType.TEXT:
|
|
89006
89218
|
return new DTableBodyCellText(columnIndex, column, onChange, options);
|
|
89219
|
+
case DTableColumnType.TEXT_AREA:
|
|
89220
|
+
return new DTableBodyCellTextArea(columnIndex, column, onChange, options);
|
|
89007
89221
|
case DTableColumnType.TREE:
|
|
89008
89222
|
return new DTableBodyCellTree(columnIndex, column, onChange, options);
|
|
89009
89223
|
case DTableColumnType.INTEGER:
|
|
@@ -89153,8 +89367,12 @@ var DTableBodyRow = /** @class */ (function (_super) {
|
|
|
89153
89367
|
return target != null && "set" in target;
|
|
89154
89368
|
};
|
|
89155
89369
|
DTableBodyRow.prototype.set = function (value, supplimental, rowIndex, forcibly) {
|
|
89156
|
-
if (forcibly ||
|
|
89370
|
+
if (forcibly ||
|
|
89371
|
+
this._value !== value ||
|
|
89372
|
+
this._supplimental !== supplimental ||
|
|
89373
|
+
this._index !== rowIndex) {
|
|
89157
89374
|
this._value = value;
|
|
89375
|
+
this._supplimental = supplimental;
|
|
89158
89376
|
this._index = rowIndex;
|
|
89159
89377
|
var cells = this.children;
|
|
89160
89378
|
var cellsLength = cells.length;
|
|
@@ -90181,13 +90399,20 @@ var DTableBody = /** @class */ (function (_super) {
|
|
|
90181
90399
|
_this._isUpdateRowsCalled = false;
|
|
90182
90400
|
_this._isUpdateRowsCalledForcibly = false;
|
|
90183
90401
|
_this._workRows = [];
|
|
90184
|
-
_this._onRowChangeBound = function (newValue, oldValue, row, rowIndex, columnIndex) {
|
|
90185
|
-
|
|
90402
|
+
_this._onRowChangeBound = function (newValue, oldValue, row, rowIndex, columnIndex, column) {
|
|
90403
|
+
_this.onRowChange(newValue, oldValue, row, rowIndex, columnIndex, column);
|
|
90186
90404
|
};
|
|
90187
90405
|
_this._columnIndexToCellOptions = new Map();
|
|
90188
90406
|
_this._data.emit("init", _this._data);
|
|
90189
90407
|
return _this;
|
|
90190
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
|
+
};
|
|
90191
90416
|
DTableBody.prototype.toData = function (options) {
|
|
90192
90417
|
if (this.isData(options)) {
|
|
90193
90418
|
return options;
|
|
@@ -92061,6 +92286,7 @@ var toColumnAlign = function (options, type) {
|
|
|
92061
92286
|
}
|
|
92062
92287
|
switch (type) {
|
|
92063
92288
|
case DTableColumnType.TEXT:
|
|
92289
|
+
case DTableColumnType.TEXT_AREA:
|
|
92064
92290
|
return DAlignHorizontal.LEFT;
|
|
92065
92291
|
case DTableColumnType.REAL:
|
|
92066
92292
|
case DTableColumnType.INTEGER:
|
|
@@ -92280,7 +92506,7 @@ var toColumnRenderable = function (options, path) {
|
|
|
92280
92506
|
return true;
|
|
92281
92507
|
};
|
|
92282
92508
|
var toColumn = function (index, options) {
|
|
92283
|
-
var _a;
|
|
92509
|
+
var _a, _b;
|
|
92284
92510
|
var weight = options.weight;
|
|
92285
92511
|
var width = options.width;
|
|
92286
92512
|
if (weight != null) {
|
|
@@ -92316,7 +92542,8 @@ var toColumn = function (index, options) {
|
|
|
92316
92542
|
category: options.category,
|
|
92317
92543
|
frozen: options.frozen,
|
|
92318
92544
|
offset: 0.0,
|
|
92319
|
-
link: options.link
|
|
92545
|
+
link: options.link,
|
|
92546
|
+
update: toEnum((_b = options.update) !== null && _b !== void 0 ? _b : DTableColumnUpdate.CELL, DTableColumnUpdate)
|
|
92320
92547
|
};
|
|
92321
92548
|
};
|
|
92322
92549
|
var toColumns = function (options) {
|
|
@@ -94684,6 +94911,7 @@ exports.DTableBodyCellIndex = DTableBodyCellIndex;
|
|
|
94684
94911
|
exports.DTableBodyCellInputInteger = DTableBodyCellInputInteger;
|
|
94685
94912
|
exports.DTableBodyCellInputReal = DTableBodyCellInputReal;
|
|
94686
94913
|
exports.DTableBodyCellInputText = DTableBodyCellInputText;
|
|
94914
|
+
exports.DTableBodyCellInputTextArea = DTableBodyCellInputTextArea;
|
|
94687
94915
|
exports.DTableBodyCellInputTree = DTableBodyCellInputTree;
|
|
94688
94916
|
exports.DTableBodyCellInputTreeInput = DTableBodyCellInputTreeInput;
|
|
94689
94917
|
exports.DTableBodyCellInputTreeMarker = DTableBodyCellInputTreeMarker;
|
|
@@ -94693,6 +94921,7 @@ exports.DTableBodyCellSelectMenu = DTableBodyCellSelectMenu;
|
|
|
94693
94921
|
exports.DTableBodyCellSelectMultiple = DTableBodyCellSelectMultiple;
|
|
94694
94922
|
exports.DTableBodyCellSelectPromise = DTableBodyCellSelectPromise;
|
|
94695
94923
|
exports.DTableBodyCellText = DTableBodyCellText;
|
|
94924
|
+
exports.DTableBodyCellTextArea = DTableBodyCellTextArea;
|
|
94696
94925
|
exports.DTableBodyCellTime = DTableBodyCellTime;
|
|
94697
94926
|
exports.DTableBodyCellTree = DTableBodyCellTree;
|
|
94698
94927
|
exports.DTableBodyCells = DTableBodyCells;
|
|
@@ -94700,6 +94929,7 @@ exports.DTableBodyRow = DTableBodyRow;
|
|
|
94700
94929
|
exports.DTableCategory = DTableCategory;
|
|
94701
94930
|
exports.DTableCategoryCell = DTableCategoryCell;
|
|
94702
94931
|
exports.DTableColumnType = DTableColumnType;
|
|
94932
|
+
exports.DTableColumnUpdate = DTableColumnUpdate;
|
|
94703
94933
|
exports.DTableDataList = DTableDataList;
|
|
94704
94934
|
exports.DTableDataListFilter = DTableDataListFilter;
|
|
94705
94935
|
exports.DTableDataListMapped = DTableDataListMapped;
|
|
@@ -94915,11 +95145,13 @@ exports.DThemeDarkTableBodyCellIndex = DThemeDarkTableBodyCellIndex;
|
|
|
94915
95145
|
exports.DThemeDarkTableBodyCellInputInteger = DThemeDarkTableBodyCellInputInteger;
|
|
94916
95146
|
exports.DThemeDarkTableBodyCellInputReal = DThemeDarkTableBodyCellInputReal;
|
|
94917
95147
|
exports.DThemeDarkTableBodyCellInputText = DThemeDarkTableBodyCellInputText;
|
|
95148
|
+
exports.DThemeDarkTableBodyCellInputTextArea = DThemeDarkTableBodyCellInputTextArea;
|
|
94918
95149
|
exports.DThemeDarkTableBodyCellLink = DThemeDarkTableBodyCellLink;
|
|
94919
95150
|
exports.DThemeDarkTableBodyCellSelectDialog = DThemeDarkTableBodyCellSelectDialog;
|
|
94920
95151
|
exports.DThemeDarkTableBodyCellSelectMenu = DThemeDarkTableBodyCellSelectMenu;
|
|
94921
95152
|
exports.DThemeDarkTableBodyCellSelectPromise = DThemeDarkTableBodyCellSelectPromise;
|
|
94922
95153
|
exports.DThemeDarkTableBodyCellText = DThemeDarkTableBodyCellText;
|
|
95154
|
+
exports.DThemeDarkTableBodyCellTextArea = DThemeDarkTableBodyCellTextArea;
|
|
94923
95155
|
exports.DThemeDarkTableBodyCellTime = DThemeDarkTableBodyCellTime;
|
|
94924
95156
|
exports.DThemeDarkTableBodyCells = DThemeDarkTableBodyCells;
|
|
94925
95157
|
exports.DThemeDarkTableBodyRow = DThemeDarkTableBodyRow;
|
|
@@ -95131,11 +95363,13 @@ exports.DThemeWhiteTableBodyCellIndex = DThemeWhiteTableBodyCellIndex;
|
|
|
95131
95363
|
exports.DThemeWhiteTableBodyCellInputInteger = DThemeWhiteTableBodyCellInputInteger;
|
|
95132
95364
|
exports.DThemeWhiteTableBodyCellInputReal = DThemeWhiteTableBodyCellInputReal;
|
|
95133
95365
|
exports.DThemeWhiteTableBodyCellInputText = DThemeWhiteTableBodyCellInputText;
|
|
95366
|
+
exports.DThemeWhiteTableBodyCellInputTextArea = DThemeWhiteTableBodyCellInputTextArea;
|
|
95134
95367
|
exports.DThemeWhiteTableBodyCellLink = DThemeWhiteTableBodyCellLink;
|
|
95135
95368
|
exports.DThemeWhiteTableBodyCellSelectDialog = DThemeWhiteTableBodyCellSelectDialog;
|
|
95136
95369
|
exports.DThemeWhiteTableBodyCellSelectMenu = DThemeWhiteTableBodyCellSelectMenu;
|
|
95137
95370
|
exports.DThemeWhiteTableBodyCellSelectPromise = DThemeWhiteTableBodyCellSelectPromise;
|
|
95138
95371
|
exports.DThemeWhiteTableBodyCellText = DThemeWhiteTableBodyCellText;
|
|
95372
|
+
exports.DThemeWhiteTableBodyCellTextArea = DThemeWhiteTableBodyCellTextArea;
|
|
95139
95373
|
exports.DThemeWhiteTableBodyCellTime = DThemeWhiteTableBodyCellTime;
|
|
95140
95374
|
exports.DThemeWhiteTableBodyCells = DThemeWhiteTableBodyCells;
|
|
95141
95375
|
exports.DThemeWhiteTableBodyRow = DThemeWhiteTableBodyRow;
|