@wcardinal/wcardinal-ui 0.367.0 → 0.369.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-list.d.ts +2 -2
- package/dist/types/wcardinal/ui/d-table-data-tree.d.ts +7 -5
- package/dist/types/wcardinal/ui/d-table-data.d.ts +7 -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/types/wcardinal/ui/util/util-attach.d.ts +1 -0
- package/dist/wcardinal/ui/d-dialog.js +3 -0
- package/dist/wcardinal/ui/d-dialog.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-list.js +22 -14
- package/dist/wcardinal/ui/d-table-data-list.js.map +1 -1
- package/dist/wcardinal/ui/d-table-data-tree.js +12 -0
- 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/util/util-attach.js +5 -1
- package/dist/wcardinal/ui/util/util-attach.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 +342 -59
- package/dist/wcardinal-ui.js +230 -59
- 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.369.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -25935,12 +25935,16 @@ var UtilAttachAlign = {
|
|
|
25935
25935
|
BOTTOM_LEFT: 13,
|
|
25936
25936
|
BOTTOM_CENTER: 14,
|
|
25937
25937
|
BOTTOM_RIGHT: 15,
|
|
25938
|
-
OVER: 16
|
|
25938
|
+
OVER: 16,
|
|
25939
|
+
NONE: 17
|
|
25939
25940
|
};
|
|
25940
25941
|
var UtilAttach = /** @class */ (function () {
|
|
25941
25942
|
function UtilAttach() {
|
|
25942
25943
|
}
|
|
25943
25944
|
UtilAttach.attach = function (target, bounds, offsetX, offsetY, clippingWidth, clippingHeight, align) {
|
|
25945
|
+
if (align === UtilAttachAlign.NONE) {
|
|
25946
|
+
return;
|
|
25947
|
+
}
|
|
25944
25948
|
var width = target.width;
|
|
25945
25949
|
var height = target.height;
|
|
25946
25950
|
var x = 0;
|
|
@@ -26556,6 +26560,9 @@ var DDialog = /** @class */ (function (_super) {
|
|
|
26556
26560
|
return;
|
|
26557
26561
|
}
|
|
26558
26562
|
var align = this._align;
|
|
26563
|
+
if (align === UtilAttachAlign.NONE) {
|
|
26564
|
+
return;
|
|
26565
|
+
}
|
|
26559
26566
|
var opener = this._opener;
|
|
26560
26567
|
if (align != null && opener != null) {
|
|
26561
26568
|
var mode = this._mode;
|
|
@@ -55801,6 +55808,42 @@ var DThemeWhiteTableBodyCellInputText = /** @class */ (function (_super) {
|
|
|
55801
55808
|
return DThemeWhiteTableBodyCellInputText;
|
|
55802
55809
|
}(DThemeWhiteInputText));
|
|
55803
55810
|
|
|
55811
|
+
/*
|
|
55812
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
55813
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
55814
|
+
*/
|
|
55815
|
+
var DThemeWhiteTableBodyCellInputTextArea = /** @class */ (function (_super) {
|
|
55816
|
+
__extends(DThemeWhiteTableBodyCellInputTextArea, _super);
|
|
55817
|
+
function DThemeWhiteTableBodyCellInputTextArea() {
|
|
55818
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
55819
|
+
}
|
|
55820
|
+
DThemeWhiteTableBodyCellInputTextArea.prototype.getBackgroundColor = function (state) {
|
|
55821
|
+
return DThemeWhiteTableBodyCells.getBackgroundColor(state);
|
|
55822
|
+
};
|
|
55823
|
+
DThemeWhiteTableBodyCellInputTextArea.prototype.getBackgroundAlpha = function (state) {
|
|
55824
|
+
return DThemeWhiteTableBodyCells.getBackgroundAlpha(state);
|
|
55825
|
+
};
|
|
55826
|
+
DThemeWhiteTableBodyCellInputTextArea.prototype.getBorderColor = function (state) {
|
|
55827
|
+
return DThemeWhiteTableBodyCells.getBorderColor(state);
|
|
55828
|
+
};
|
|
55829
|
+
DThemeWhiteTableBodyCellInputTextArea.prototype.getBorderMask = function (state) {
|
|
55830
|
+
return DThemeWhiteTableBodyCells.getBorderMask(state);
|
|
55831
|
+
};
|
|
55832
|
+
DThemeWhiteTableBodyCellInputTextArea.prototype.getColor = function (state) {
|
|
55833
|
+
return DThemeWhiteTableBodyCells.getColor(state);
|
|
55834
|
+
};
|
|
55835
|
+
DThemeWhiteTableBodyCellInputTextArea.prototype.getAlpha = function (state) {
|
|
55836
|
+
return DThemeWhiteTableBodyCells.getAlpha(state);
|
|
55837
|
+
};
|
|
55838
|
+
DThemeWhiteTableBodyCellInputTextArea.prototype.getHeight = function () {
|
|
55839
|
+
return DThemeWhiteTableBodyCells.getHeight();
|
|
55840
|
+
};
|
|
55841
|
+
DThemeWhiteTableBodyCellInputTextArea.prototype.getCornerMask = function () {
|
|
55842
|
+
return DThemeWhiteTableBodyCells.getCornerMask();
|
|
55843
|
+
};
|
|
55844
|
+
return DThemeWhiteTableBodyCellInputTextArea;
|
|
55845
|
+
}(DThemeWhiteInputTextArea));
|
|
55846
|
+
|
|
55804
55847
|
/*
|
|
55805
55848
|
* Copyright (C) 2019 Toshiba Corporation
|
|
55806
55849
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -56073,6 +56116,21 @@ var DThemeWhiteTableBodyCellSelectMultiple = /** @class */ (function (_super) {
|
|
|
56073
56116
|
return DThemeWhiteTableBodyCellSelectMultiple;
|
|
56074
56117
|
}(DThemeWhiteSelectMultiple));
|
|
56075
56118
|
|
|
56119
|
+
/*
|
|
56120
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
56121
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
56122
|
+
*/
|
|
56123
|
+
var DThemeWhiteTableBodyCellTextArea = /** @class */ (function (_super) {
|
|
56124
|
+
__extends(DThemeWhiteTableBodyCellTextArea, _super);
|
|
56125
|
+
function DThemeWhiteTableBodyCellTextArea() {
|
|
56126
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
56127
|
+
}
|
|
56128
|
+
DThemeWhiteTableBodyCellTextArea.prototype.getTextAlignVertical = function () {
|
|
56129
|
+
return DAlignVertical.TOP;
|
|
56130
|
+
};
|
|
56131
|
+
return DThemeWhiteTableBodyCellTextArea;
|
|
56132
|
+
}(DThemeWhiteTableBodyCellText));
|
|
56133
|
+
|
|
56076
56134
|
/*
|
|
56077
56135
|
* Copyright (C) 2019 Toshiba Corporation
|
|
56078
56136
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -56420,6 +56478,7 @@ var loadThemeWhiteTable = function () {
|
|
|
56420
56478
|
DThemeWhite.set("DTableBodyCellIndex", DThemeWhiteTableBodyCellIndex);
|
|
56421
56479
|
DThemeWhite.set("DTableBodyCellInputInteger", DThemeWhiteTableBodyCellInputInteger);
|
|
56422
56480
|
DThemeWhite.set("DTableBodyCellInputReal", DThemeWhiteTableBodyCellInputReal);
|
|
56481
|
+
DThemeWhite.set("DTableBodyCellInputTextArea", DThemeWhiteTableBodyCellInputTextArea);
|
|
56423
56482
|
DThemeWhite.set("DTableBodyCellInputText", DThemeWhiteTableBodyCellInputText);
|
|
56424
56483
|
DThemeWhite.set("DTableBodyCellInputTreeMarker", DThemeWhiteTableBodyCellInputTreeMarker);
|
|
56425
56484
|
DThemeWhite.set("DTableBodyCellInputTreeInput", DThemeWhiteTableBodyCellInputTreeInput);
|
|
@@ -56429,6 +56488,7 @@ var loadThemeWhiteTable = function () {
|
|
|
56429
56488
|
DThemeWhite.set("DTableBodyCellSelectMenu", DThemeWhiteTableBodyCellSelectMenu);
|
|
56430
56489
|
DThemeWhite.set("DTableBodyCellSelectMultiple", DThemeWhiteTableBodyCellSelectMultiple);
|
|
56431
56490
|
DThemeWhite.set("DTableBodyCellSelectPromise", DThemeWhiteTableBodyCellSelectPromise);
|
|
56491
|
+
DThemeWhite.set("DTableBodyCellTextArea", DThemeWhiteTableBodyCellTextArea);
|
|
56432
56492
|
DThemeWhite.set("DTableBodyCellText", DThemeWhiteTableBodyCellText);
|
|
56433
56493
|
DThemeWhite.set("DTableBodyCellTree", DThemeWhiteTableBodyCellTree);
|
|
56434
56494
|
DThemeWhite.set("DTableBodyCellTime", DThemeWhiteTableBodyCellTime);
|
|
@@ -56446,6 +56506,7 @@ var loadThemeWhiteTable = function () {
|
|
|
56446
56506
|
loadThemeWhiteButtonDatetime();
|
|
56447
56507
|
loadThemeWhiteInputInteger();
|
|
56448
56508
|
loadThemeWhiteInputReal();
|
|
56509
|
+
loadThemeWhiteInputTextArea();
|
|
56449
56510
|
loadThemeWhiteInputText();
|
|
56450
56511
|
loadThemeWhiteDialogSelect();
|
|
56451
56512
|
loadThemeWhiteMenu();
|
|
@@ -65035,6 +65096,42 @@ var DThemeDarkTableBodyCellInputText = /** @class */ (function (_super) {
|
|
|
65035
65096
|
return DThemeDarkTableBodyCellInputText;
|
|
65036
65097
|
}(DThemeDarkInputText));
|
|
65037
65098
|
|
|
65099
|
+
/*
|
|
65100
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
65101
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
65102
|
+
*/
|
|
65103
|
+
var DThemeDarkTableBodyCellInputTextArea = /** @class */ (function (_super) {
|
|
65104
|
+
__extends(DThemeDarkTableBodyCellInputTextArea, _super);
|
|
65105
|
+
function DThemeDarkTableBodyCellInputTextArea() {
|
|
65106
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
65107
|
+
}
|
|
65108
|
+
DThemeDarkTableBodyCellInputTextArea.prototype.getBackgroundColor = function (state) {
|
|
65109
|
+
return DThemeDarkTableBodyCells.getBackgroundColor(state);
|
|
65110
|
+
};
|
|
65111
|
+
DThemeDarkTableBodyCellInputTextArea.prototype.getBackgroundAlpha = function (state) {
|
|
65112
|
+
return DThemeDarkTableBodyCells.getBackgroundAlpha(state);
|
|
65113
|
+
};
|
|
65114
|
+
DThemeDarkTableBodyCellInputTextArea.prototype.getBorderColor = function (state) {
|
|
65115
|
+
return DThemeDarkTableBodyCells.getBorderColor(state);
|
|
65116
|
+
};
|
|
65117
|
+
DThemeDarkTableBodyCellInputTextArea.prototype.getBorderMask = function (state) {
|
|
65118
|
+
return DThemeDarkTableBodyCells.getBorderMask(state);
|
|
65119
|
+
};
|
|
65120
|
+
DThemeDarkTableBodyCellInputTextArea.prototype.getColor = function (state) {
|
|
65121
|
+
return DThemeDarkTableBodyCells.getColor(state);
|
|
65122
|
+
};
|
|
65123
|
+
DThemeDarkTableBodyCellInputTextArea.prototype.getAlpha = function (state) {
|
|
65124
|
+
return DThemeDarkTableBodyCells.getAlpha(state);
|
|
65125
|
+
};
|
|
65126
|
+
DThemeDarkTableBodyCellInputTextArea.prototype.getHeight = function () {
|
|
65127
|
+
return DThemeDarkTableBodyCells.getHeight();
|
|
65128
|
+
};
|
|
65129
|
+
DThemeDarkTableBodyCellInputTextArea.prototype.getCornerMask = function () {
|
|
65130
|
+
return DThemeDarkTableBodyCells.getCornerMask();
|
|
65131
|
+
};
|
|
65132
|
+
return DThemeDarkTableBodyCellInputTextArea;
|
|
65133
|
+
}(DThemeDarkInputTextArea));
|
|
65134
|
+
|
|
65038
65135
|
/*
|
|
65039
65136
|
* Copyright (C) 2019 Toshiba Corporation
|
|
65040
65137
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -65307,6 +65404,21 @@ var DThemeDarkTableBodyCellSelectMultiple = /** @class */ (function (_super) {
|
|
|
65307
65404
|
return DThemeDarkTableBodyCellSelectMultiple;
|
|
65308
65405
|
}(DThemeDarkSelectMultiple));
|
|
65309
65406
|
|
|
65407
|
+
/*
|
|
65408
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
65409
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
65410
|
+
*/
|
|
65411
|
+
var DThemeDarkTableBodyCellTextArea = /** @class */ (function (_super) {
|
|
65412
|
+
__extends(DThemeDarkTableBodyCellTextArea, _super);
|
|
65413
|
+
function DThemeDarkTableBodyCellTextArea() {
|
|
65414
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
65415
|
+
}
|
|
65416
|
+
DThemeDarkTableBodyCellTextArea.prototype.getTextAlignVertical = function () {
|
|
65417
|
+
return DAlignVertical.TOP;
|
|
65418
|
+
};
|
|
65419
|
+
return DThemeDarkTableBodyCellTextArea;
|
|
65420
|
+
}(DThemeDarkTableBodyCellText));
|
|
65421
|
+
|
|
65310
65422
|
/*
|
|
65311
65423
|
* Copyright (C) 2019 Toshiba Corporation
|
|
65312
65424
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -65654,6 +65766,7 @@ var loadThemeDarkTable = function () {
|
|
|
65654
65766
|
DThemeDark.set("DTableBodyCellIndex", DThemeDarkTableBodyCellIndex);
|
|
65655
65767
|
DThemeDark.set("DTableBodyCellInputInteger", DThemeDarkTableBodyCellInputInteger);
|
|
65656
65768
|
DThemeDark.set("DTableBodyCellInputReal", DThemeDarkTableBodyCellInputReal);
|
|
65769
|
+
DThemeDark.set("DTableBodyCellInputTextArea", DThemeDarkTableBodyCellInputTextArea);
|
|
65657
65770
|
DThemeDark.set("DTableBodyCellInputText", DThemeDarkTableBodyCellInputText);
|
|
65658
65771
|
DThemeDark.set("DTableBodyCellInputTreeMarker", DThemeDarkTableBodyCellInputTreeMarker);
|
|
65659
65772
|
DThemeDark.set("DTableBodyCellInputTreeInput", DThemeDarkTableBodyCellInputTreeInput);
|
|
@@ -65663,6 +65776,7 @@ var loadThemeDarkTable = function () {
|
|
|
65663
65776
|
DThemeDark.set("DTableBodyCellSelectMenu", DThemeDarkTableBodyCellSelectMenu);
|
|
65664
65777
|
DThemeDark.set("DTableBodyCellSelectMultiple", DThemeDarkTableBodyCellSelectMultiple);
|
|
65665
65778
|
DThemeDark.set("DTableBodyCellSelectPromise", DThemeDarkTableBodyCellSelectPromise);
|
|
65779
|
+
DThemeDark.set("DTableBodyCellTextArea", DThemeDarkTableBodyCellTextArea);
|
|
65666
65780
|
DThemeDark.set("DTableBodyCellText", DThemeDarkTableBodyCellText);
|
|
65667
65781
|
DThemeDark.set("DTableBodyCellTree", DThemeDarkTableBodyCellTree);
|
|
65668
65782
|
DThemeDark.set("DTableBodyCellTime", DThemeDarkTableBodyCellTime);
|
|
@@ -65680,6 +65794,7 @@ var loadThemeDarkTable = function () {
|
|
|
65680
65794
|
loadThemeDarkButtonDatetime();
|
|
65681
65795
|
loadThemeDarkInputInteger();
|
|
65682
65796
|
loadThemeDarkInputReal();
|
|
65797
|
+
loadThemeDarkInputTextArea();
|
|
65683
65798
|
loadThemeDarkInputText();
|
|
65684
65799
|
loadThemeDarkDialogSelect();
|
|
65685
65800
|
loadThemeDarkMenu();
|
|
@@ -87055,9 +87170,10 @@ var DTableBodyCellSelectDialog = /** @class */ (function (_super) {
|
|
|
87055
87170
|
if (row !== undefined) {
|
|
87056
87171
|
var rowIndex = this._rowIndex;
|
|
87057
87172
|
var columnIndex = this._columnIndex;
|
|
87058
|
-
this._column
|
|
87173
|
+
var column = this._column;
|
|
87174
|
+
column.setter(row, columnIndex, newValue);
|
|
87059
87175
|
this.emit("change", newValue, oldValue, this);
|
|
87060
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87176
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87061
87177
|
}
|
|
87062
87178
|
};
|
|
87063
87179
|
Object.defineProperty(DTableBodyCellSelectDialog.prototype, "row", {
|
|
@@ -87160,9 +87276,10 @@ var DTableBodyCellActionMenu = /** @class */ (function (_super) {
|
|
|
87160
87276
|
if (row !== undefined) {
|
|
87161
87277
|
var rowIndex = this._rowIndex;
|
|
87162
87278
|
var columnIndex = this._columnIndex;
|
|
87163
|
-
this._column
|
|
87279
|
+
var column = this._column;
|
|
87280
|
+
column.setter(row, columnIndex, selected);
|
|
87164
87281
|
_super.prototype.onMenuSelect.call(this, selected, item, menu);
|
|
87165
|
-
this._onChange(selected, null, row, rowIndex, columnIndex, this);
|
|
87282
|
+
this._onChange(selected, null, row, rowIndex, columnIndex, column, this);
|
|
87166
87283
|
}
|
|
87167
87284
|
};
|
|
87168
87285
|
DTableBodyCellActionMenu.prototype.onKeyDownArrowDown = function (e) {
|
|
@@ -87255,9 +87372,10 @@ var DTableBodyCellSelectPromise = /** @class */ (function (_super) {
|
|
|
87255
87372
|
if (row !== undefined) {
|
|
87256
87373
|
var rowIndex = this._rowIndex;
|
|
87257
87374
|
var columnIndex = this._columnIndex;
|
|
87258
|
-
this._column
|
|
87375
|
+
var column = this._column;
|
|
87376
|
+
column.setter(row, columnIndex, newValue);
|
|
87259
87377
|
this.emit("change", newValue, oldValue, this);
|
|
87260
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87378
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87261
87379
|
}
|
|
87262
87380
|
};
|
|
87263
87381
|
Object.defineProperty(DTableBodyCellSelectPromise.prototype, "row", {
|
|
@@ -87435,8 +87553,9 @@ var DTableBodyCellButton = /** @class */ (function (_super) {
|
|
|
87435
87553
|
if (row !== undefined) {
|
|
87436
87554
|
var rowIndex = this._rowIndex;
|
|
87437
87555
|
var columnIndex = this._columnIndex;
|
|
87556
|
+
var column = this._column;
|
|
87438
87557
|
this.emit("change", null, null, this);
|
|
87439
|
-
this._onChange(null, null, row, rowIndex, columnIndex, this);
|
|
87558
|
+
this._onChange(null, null, row, rowIndex, columnIndex, column, this);
|
|
87440
87559
|
}
|
|
87441
87560
|
};
|
|
87442
87561
|
DTableBodyCellButton.prototype.onActivateKeyDown = function (e) {
|
|
@@ -87489,7 +87608,21 @@ var DTableColumnType = {
|
|
|
87489
87608
|
TIME: 11,
|
|
87490
87609
|
ACTION: 12,
|
|
87491
87610
|
LINK: 13,
|
|
87492
|
-
TREE: 14
|
|
87611
|
+
TREE: 14,
|
|
87612
|
+
TEXT_AREA: 15
|
|
87613
|
+
};
|
|
87614
|
+
|
|
87615
|
+
/**
|
|
87616
|
+
* An update region when table cells get edited.
|
|
87617
|
+
*
|
|
87618
|
+
* * CELL: Edited cells (Default).
|
|
87619
|
+
* * ROW: Rows that edited cells belongs to.
|
|
87620
|
+
* * ALL: All the rows.
|
|
87621
|
+
*/
|
|
87622
|
+
var DTableColumnUpdate = {
|
|
87623
|
+
CELL: 0,
|
|
87624
|
+
ROW: 1,
|
|
87625
|
+
ALL: 2
|
|
87493
87626
|
};
|
|
87494
87627
|
|
|
87495
87628
|
/*
|
|
@@ -87523,7 +87656,7 @@ var DTableBodyCellCheck = /** @class */ (function (_super) {
|
|
|
87523
87656
|
column.setter(row, columnIndex, newValue);
|
|
87524
87657
|
this.emit("change", newValue, oldValue, this);
|
|
87525
87658
|
var onChange = this._onChange;
|
|
87526
|
-
onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87659
|
+
onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87527
87660
|
if (newValue && column.type === DTableColumnType.CHECK_SINGLE) {
|
|
87528
87661
|
this.onChangeSingle(rowIndex, columnIndex, column, onChange);
|
|
87529
87662
|
}
|
|
@@ -87532,9 +87665,9 @@ var DTableBodyCellCheck = /** @class */ (function (_super) {
|
|
|
87532
87665
|
DTableBodyCellCheck.prototype.onChangeSingle = function (rowIndex, columnIndex, column, onChange) {
|
|
87533
87666
|
var _this = this;
|
|
87534
87667
|
var tableBodyRow = this.parent;
|
|
87535
|
-
if (tableBodyRow) {
|
|
87668
|
+
if (tableBodyRow != null) {
|
|
87536
87669
|
var tableBody = tableBodyRow.parent;
|
|
87537
|
-
if (tableBody) {
|
|
87670
|
+
if (tableBody != null) {
|
|
87538
87671
|
var isChanged_1 = false;
|
|
87539
87672
|
var getter_1 = column.getter;
|
|
87540
87673
|
var setter_1 = column.setter;
|
|
@@ -87543,12 +87676,12 @@ var DTableBodyCellCheck = /** @class */ (function (_super) {
|
|
|
87543
87676
|
if (rowIndex !== index && getter_1(row, columnIndex)) {
|
|
87544
87677
|
setter_1(row, columnIndex, false);
|
|
87545
87678
|
isChanged_1 = true;
|
|
87546
|
-
onChange(false, true, row, index, columnIndex, _this);
|
|
87679
|
+
onChange(false, true, row, index, columnIndex, column, _this);
|
|
87547
87680
|
return false;
|
|
87548
87681
|
}
|
|
87549
87682
|
return true;
|
|
87550
87683
|
});
|
|
87551
|
-
if (isChanged_1) {
|
|
87684
|
+
if (isChanged_1 && column.update !== DTableColumnUpdate.ALL) {
|
|
87552
87685
|
tableBody.update(true);
|
|
87553
87686
|
}
|
|
87554
87687
|
}
|
|
@@ -87617,9 +87750,10 @@ var DTableBodyCellColor = /** @class */ (function (_super) {
|
|
|
87617
87750
|
if (row !== undefined) {
|
|
87618
87751
|
var rowIndex = this._rowIndex;
|
|
87619
87752
|
var columnIndex = this._columnIndex;
|
|
87620
|
-
this._column
|
|
87753
|
+
var column = this._column;
|
|
87754
|
+
column.setter(row, columnIndex, newValue);
|
|
87621
87755
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
87622
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87756
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87623
87757
|
}
|
|
87624
87758
|
else {
|
|
87625
87759
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
@@ -87707,9 +87841,10 @@ var DTableBodyCellDate = /** @class */ (function (_super) {
|
|
|
87707
87841
|
if (row !== undefined) {
|
|
87708
87842
|
var rowIndex = this._rowIndex;
|
|
87709
87843
|
var columnIndex = this._columnIndex;
|
|
87710
|
-
this._column
|
|
87844
|
+
var column = this._column;
|
|
87845
|
+
column.setter(row, columnIndex, newValue);
|
|
87711
87846
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
87712
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87847
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87713
87848
|
}
|
|
87714
87849
|
else {
|
|
87715
87850
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
@@ -87799,9 +87934,10 @@ var DTableBodyCellDatetime = /** @class */ (function (_super) {
|
|
|
87799
87934
|
if (row !== undefined) {
|
|
87800
87935
|
var rowIndex = this._rowIndex;
|
|
87801
87936
|
var columnIndex = this._columnIndex;
|
|
87802
|
-
this._column
|
|
87937
|
+
var column = this._column;
|
|
87938
|
+
column.setter(row, columnIndex, newValue);
|
|
87803
87939
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
87804
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
87940
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87805
87941
|
}
|
|
87806
87942
|
else {
|
|
87807
87943
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
@@ -87949,9 +88085,10 @@ var DTableBodyCellInputInteger = /** @class */ (function (_super) {
|
|
|
87949
88085
|
if (row !== undefined) {
|
|
87950
88086
|
var rowIndex = this._rowIndex;
|
|
87951
88087
|
var columnIndex = this._columnIndex;
|
|
87952
|
-
this._column
|
|
88088
|
+
var column = this._column;
|
|
88089
|
+
column.setter(row, columnIndex, newValue);
|
|
87953
88090
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
87954
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88091
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
87955
88092
|
}
|
|
87956
88093
|
};
|
|
87957
88094
|
Object.defineProperty(DTableBodyCellInputInteger.prototype, "row", {
|
|
@@ -88017,9 +88154,10 @@ var DTableBodyCellInputReal = /** @class */ (function (_super) {
|
|
|
88017
88154
|
if (row !== undefined) {
|
|
88018
88155
|
var rowIndex = this._rowIndex;
|
|
88019
88156
|
var columnIndex = this._columnIndex;
|
|
88020
|
-
this._column
|
|
88157
|
+
var column = this._column;
|
|
88158
|
+
column.setter(row, columnIndex, newValue);
|
|
88021
88159
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
88022
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88160
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
88023
88161
|
}
|
|
88024
88162
|
};
|
|
88025
88163
|
Object.defineProperty(DTableBodyCellInputReal.prototype, "row", {
|
|
@@ -88066,6 +88204,75 @@ var DTableBodyCellInputReal = /** @class */ (function (_super) {
|
|
|
88066
88204
|
return DTableBodyCellInputReal;
|
|
88067
88205
|
}(DInputReal));
|
|
88068
88206
|
|
|
88207
|
+
/*
|
|
88208
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
88209
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
88210
|
+
*/
|
|
88211
|
+
var DTableBodyCellInputTextArea = /** @class */ (function (_super) {
|
|
88212
|
+
__extends(DTableBodyCellInputTextArea, _super);
|
|
88213
|
+
function DTableBodyCellInputTextArea(columnIndex, column, onChange, options) {
|
|
88214
|
+
var _this = _super.call(this, options) || this;
|
|
88215
|
+
_this._rowIndex = -1;
|
|
88216
|
+
_this._columnIndex = columnIndex;
|
|
88217
|
+
_this._column = column;
|
|
88218
|
+
_this._onChange = onChange;
|
|
88219
|
+
return _this;
|
|
88220
|
+
}
|
|
88221
|
+
DTableBodyCellInputTextArea.prototype.onValueChange = function (newValue, oldValue) {
|
|
88222
|
+
var row = this._row;
|
|
88223
|
+
if (row !== undefined) {
|
|
88224
|
+
var rowIndex = this._rowIndex;
|
|
88225
|
+
var columnIndex = this._columnIndex;
|
|
88226
|
+
var column = this._column;
|
|
88227
|
+
column.setter(row, columnIndex, newValue);
|
|
88228
|
+
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
88229
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
88230
|
+
}
|
|
88231
|
+
};
|
|
88232
|
+
Object.defineProperty(DTableBodyCellInputTextArea.prototype, "row", {
|
|
88233
|
+
get: function () {
|
|
88234
|
+
return this._row;
|
|
88235
|
+
},
|
|
88236
|
+
enumerable: false,
|
|
88237
|
+
configurable: true
|
|
88238
|
+
});
|
|
88239
|
+
Object.defineProperty(DTableBodyCellInputTextArea.prototype, "rowIndex", {
|
|
88240
|
+
get: function () {
|
|
88241
|
+
return this._rowIndex;
|
|
88242
|
+
},
|
|
88243
|
+
enumerable: false,
|
|
88244
|
+
configurable: true
|
|
88245
|
+
});
|
|
88246
|
+
Object.defineProperty(DTableBodyCellInputTextArea.prototype, "columnIndex", {
|
|
88247
|
+
get: function () {
|
|
88248
|
+
return this._columnIndex;
|
|
88249
|
+
},
|
|
88250
|
+
enumerable: false,
|
|
88251
|
+
configurable: true
|
|
88252
|
+
});
|
|
88253
|
+
Object.defineProperty(DTableBodyCellInputTextArea.prototype, "column", {
|
|
88254
|
+
get: function () {
|
|
88255
|
+
return this._column;
|
|
88256
|
+
},
|
|
88257
|
+
enumerable: false,
|
|
88258
|
+
configurable: true
|
|
88259
|
+
});
|
|
88260
|
+
DTableBodyCellInputTextArea.prototype.set = function (value, row, supplimental, rowIndex, columnIndex, forcibly) {
|
|
88261
|
+
this._row = row;
|
|
88262
|
+
this._rowIndex = rowIndex;
|
|
88263
|
+
this.text = String(value);
|
|
88264
|
+
DTableBodyCells.set(this, row, columnIndex, this._column);
|
|
88265
|
+
};
|
|
88266
|
+
DTableBodyCellInputTextArea.prototype.unset = function () {
|
|
88267
|
+
this._row = undefined;
|
|
88268
|
+
this._rowIndex = -1;
|
|
88269
|
+
};
|
|
88270
|
+
DTableBodyCellInputTextArea.prototype.getType = function () {
|
|
88271
|
+
return "DTableBodyCellInputTextArea";
|
|
88272
|
+
};
|
|
88273
|
+
return DTableBodyCellInputTextArea;
|
|
88274
|
+
}(DInputTextArea));
|
|
88275
|
+
|
|
88069
88276
|
/*
|
|
88070
88277
|
* Copyright (C) 2019 Toshiba Corporation
|
|
88071
88278
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -88085,9 +88292,10 @@ var DTableBodyCellInputText = /** @class */ (function (_super) {
|
|
|
88085
88292
|
if (row !== undefined) {
|
|
88086
88293
|
var rowIndex = this._rowIndex;
|
|
88087
88294
|
var columnIndex = this._columnIndex;
|
|
88088
|
-
this._column
|
|
88295
|
+
var column = this._column;
|
|
88296
|
+
column.setter(row, columnIndex, newValue);
|
|
88089
88297
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
88090
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88298
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
88091
88299
|
}
|
|
88092
88300
|
};
|
|
88093
88301
|
Object.defineProperty(DTableBodyCellInputText.prototype, "row", {
|
|
@@ -88228,9 +88436,10 @@ var DTableBodyCellInputTree = /** @class */ (function (_super) {
|
|
|
88228
88436
|
if (row !== undefined) {
|
|
88229
88437
|
var rowIndex = this._rowIndex;
|
|
88230
88438
|
var columnIndex = this._columnIndex;
|
|
88231
|
-
this._column
|
|
88439
|
+
var column = this._column;
|
|
88440
|
+
column.setter(row, columnIndex, newValue);
|
|
88232
88441
|
this.emit("change", newValue, oldValue, this);
|
|
88233
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88442
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
88234
88443
|
}
|
|
88235
88444
|
};
|
|
88236
88445
|
DTableBodyCellInputTree.prototype.newMarker = function (options) {
|
|
@@ -88319,7 +88528,7 @@ var DTableBodyCellInputTree = /** @class */ (function (_super) {
|
|
|
88319
88528
|
input.visible = true;
|
|
88320
88529
|
input.text = String(value);
|
|
88321
88530
|
var marker = this._marker;
|
|
88322
|
-
if (
|
|
88531
|
+
if (supplimental != null) {
|
|
88323
88532
|
var isOpened = !!(supplimental & 0x1);
|
|
88324
88533
|
var hasChildren = !!(supplimental & 0x2);
|
|
88325
88534
|
var level = supplimental >> 2;
|
|
@@ -88455,9 +88664,10 @@ var DTableBodyCellSelectMenu = /** @class */ (function (_super) {
|
|
|
88455
88664
|
if (row !== undefined) {
|
|
88456
88665
|
var rowIndex = this._rowIndex;
|
|
88457
88666
|
var columnIndex = this._columnIndex;
|
|
88458
|
-
this._column
|
|
88667
|
+
var column = this._column;
|
|
88668
|
+
column.setter(row, columnIndex, newValue);
|
|
88459
88669
|
_super.prototype.onValueChange.call(this, newValue, oldValue, item);
|
|
88460
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88670
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
88461
88671
|
}
|
|
88462
88672
|
};
|
|
88463
88673
|
DTableBodyCellSelectMenu.prototype.onKeyDownArrowDown = function (e) {
|
|
@@ -88526,9 +88736,10 @@ var DTableBodyCellSelectMultiple = /** @class */ (function (_super) {
|
|
|
88526
88736
|
if (row !== undefined) {
|
|
88527
88737
|
var rowIndex = this._rowIndex;
|
|
88528
88738
|
var columnIndex = this._columnIndex;
|
|
88529
|
-
this._column
|
|
88739
|
+
var column = this._column;
|
|
88740
|
+
column.setter(row, columnIndex, newValues);
|
|
88530
88741
|
_super.prototype.onValueChange.call(this, newValues, oldValues, items);
|
|
88531
|
-
this._onChange(newValues, oldValues, row, rowIndex, columnIndex, this);
|
|
88742
|
+
this._onChange(newValues, oldValues, row, rowIndex, columnIndex, column, this);
|
|
88532
88743
|
}
|
|
88533
88744
|
};
|
|
88534
88745
|
DTableBodyCellSelectMultiple.prototype.onKeyDownArrowDown = function (e) {
|
|
@@ -88578,6 +88789,21 @@ var DTableBodyCellSelectMultiple = /** @class */ (function (_super) {
|
|
|
88578
88789
|
return DTableBodyCellSelectMultiple;
|
|
88579
88790
|
}(DSelectMultiple));
|
|
88580
88791
|
|
|
88792
|
+
/*
|
|
88793
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
88794
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
88795
|
+
*/
|
|
88796
|
+
var DTableBodyCellTextArea = /** @class */ (function (_super) {
|
|
88797
|
+
__extends(DTableBodyCellTextArea, _super);
|
|
88798
|
+
function DTableBodyCellTextArea() {
|
|
88799
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
88800
|
+
}
|
|
88801
|
+
DTableBodyCellTextArea.prototype.getType = function () {
|
|
88802
|
+
return "DTableBodyCellTextArea";
|
|
88803
|
+
};
|
|
88804
|
+
return DTableBodyCellTextArea;
|
|
88805
|
+
}(DTableBodyCellText));
|
|
88806
|
+
|
|
88581
88807
|
/*
|
|
88582
88808
|
* Copyright (C) 2019 Toshiba Corporation
|
|
88583
88809
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -88597,9 +88823,10 @@ var DTableBodyCellTime = /** @class */ (function (_super) {
|
|
|
88597
88823
|
if (row !== undefined) {
|
|
88598
88824
|
var rowIndex = this._rowIndex;
|
|
88599
88825
|
var columnIndex = this._columnIndex;
|
|
88600
|
-
this._column
|
|
88826
|
+
var column = this._column;
|
|
88827
|
+
column.setter(row, columnIndex, newValue);
|
|
88601
88828
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
88602
|
-
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
88829
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
88603
88830
|
}
|
|
88604
88831
|
else {
|
|
88605
88832
|
_super.prototype.onValueChange.call(this, newValue, oldValue);
|
|
@@ -88762,7 +88989,7 @@ var DTableBodyCellTree = /** @class */ (function (_super) {
|
|
|
88762
88989
|
DTableBodyCells.set(this, row, columnIndex, this._column, false);
|
|
88763
88990
|
var link = this.link;
|
|
88764
88991
|
var padding = this._padding;
|
|
88765
|
-
if (
|
|
88992
|
+
if (supplimental != null) {
|
|
88766
88993
|
var isOpened = !!(supplimental & 0x1);
|
|
88767
88994
|
var hasChildren = !!(supplimental & 0x2);
|
|
88768
88995
|
var level = supplimental >> 2;
|
|
@@ -88913,15 +89140,27 @@ var DTableBodyRow = /** @class */ (function (_super) {
|
|
|
88913
89140
|
function DTableBodyRow(onChange, isEven, columnIndexToCellOptions, options) {
|
|
88914
89141
|
var _this = _super.call(this, options) || this;
|
|
88915
89142
|
_this._index = -1;
|
|
88916
|
-
_this.
|
|
88917
|
-
|
|
88918
|
-
|
|
89143
|
+
_this._onChange = onChange;
|
|
89144
|
+
_this._onCellChangeBound = function (newValue, oldValue, row, rowIndex, columnIndex, column) {
|
|
89145
|
+
_this.onCellChange(newValue, oldValue, row, rowIndex, columnIndex, column);
|
|
88919
89146
|
};
|
|
88920
89147
|
_this._columnIndexToCellOptions = columnIndexToCellOptions;
|
|
88921
89148
|
_this.state.isAlternated = !isEven;
|
|
88922
89149
|
_this.initCells(options, _this._columns, _this._frozen);
|
|
88923
89150
|
return _this;
|
|
88924
89151
|
}
|
|
89152
|
+
DTableBodyRow.prototype.onCellChange = function (newValue, oldValue, row, rowIndex, columnIndex, column) {
|
|
89153
|
+
this.emit("change", newValue, oldValue, row, rowIndex, columnIndex, this);
|
|
89154
|
+
if (column.update === DTableColumnUpdate.ROW) {
|
|
89155
|
+
var value = this._value;
|
|
89156
|
+
var supplimental = this._supplimental;
|
|
89157
|
+
var index = this._index;
|
|
89158
|
+
if (value !== undefined && supplimental !== undefined) {
|
|
89159
|
+
this.set(value, supplimental, index, true);
|
|
89160
|
+
}
|
|
89161
|
+
}
|
|
89162
|
+
this._onChange(newValue, oldValue, row, rowIndex, columnIndex, column, this);
|
|
89163
|
+
};
|
|
88925
89164
|
DTableBodyRow.prototype.newCell = function (columnIndex, column, columns, options) {
|
|
88926
89165
|
var onChange = this._onCellChangeBound;
|
|
88927
89166
|
var columnIndexToCellOptions = this._columnIndexToCellOptions;
|
|
@@ -88947,6 +89186,8 @@ var DTableBodyRow = /** @class */ (function (_super) {
|
|
|
88947
89186
|
return new DTableBodyCellIndex(columnIndex, column, onChange, options);
|
|
88948
89187
|
case DTableColumnType.TEXT:
|
|
88949
89188
|
return new DTableBodyCellInputText(columnIndex, column, onChange, options);
|
|
89189
|
+
case DTableColumnType.TEXT_AREA:
|
|
89190
|
+
return new DTableBodyCellInputTextArea(columnIndex, column, onChange, options);
|
|
88950
89191
|
case DTableColumnType.TREE:
|
|
88951
89192
|
return new DTableBodyCellInputTree(columnIndex, column, onChange, options);
|
|
88952
89193
|
case DTableColumnType.INTEGER:
|
|
@@ -88982,6 +89223,8 @@ var DTableBodyRow = /** @class */ (function (_super) {
|
|
|
88982
89223
|
return new DTableBodyCellIndex(columnIndex, column, onChange, options);
|
|
88983
89224
|
case DTableColumnType.TEXT:
|
|
88984
89225
|
return new DTableBodyCellText(columnIndex, column, onChange, options);
|
|
89226
|
+
case DTableColumnType.TEXT_AREA:
|
|
89227
|
+
return new DTableBodyCellTextArea(columnIndex, column, onChange, options);
|
|
88985
89228
|
case DTableColumnType.TREE:
|
|
88986
89229
|
return new DTableBodyCellTree(columnIndex, column, onChange, options);
|
|
88987
89230
|
case DTableColumnType.INTEGER:
|
|
@@ -89131,8 +89374,12 @@ var DTableBodyRow = /** @class */ (function (_super) {
|
|
|
89131
89374
|
return target != null && "set" in target;
|
|
89132
89375
|
};
|
|
89133
89376
|
DTableBodyRow.prototype.set = function (value, supplimental, rowIndex, forcibly) {
|
|
89134
|
-
if (forcibly ||
|
|
89377
|
+
if (forcibly ||
|
|
89378
|
+
this._value !== value ||
|
|
89379
|
+
this._supplimental !== supplimental ||
|
|
89380
|
+
this._index !== rowIndex) {
|
|
89135
89381
|
this._value = value;
|
|
89382
|
+
this._supplimental = supplimental;
|
|
89136
89383
|
this._index = rowIndex;
|
|
89137
89384
|
var cells = this.children;
|
|
89138
89385
|
var cellsLength = cells.length;
|
|
@@ -89921,10 +90168,10 @@ var DTableDataList = /** @class */ (function (_super) {
|
|
|
89921
90168
|
enumerable: false,
|
|
89922
90169
|
configurable: true
|
|
89923
90170
|
});
|
|
89924
|
-
DTableDataList.prototype.update = function () {
|
|
90171
|
+
DTableDataList.prototype.update = function (forcibly) {
|
|
89925
90172
|
var parent = this._parent;
|
|
89926
90173
|
if (parent) {
|
|
89927
|
-
parent.update();
|
|
90174
|
+
parent.update(forcibly);
|
|
89928
90175
|
}
|
|
89929
90176
|
};
|
|
89930
90177
|
DTableDataList.prototype.lock = function () {
|
|
@@ -89933,11 +90180,10 @@ var DTableDataList = /** @class */ (function (_super) {
|
|
|
89933
90180
|
parent.lock();
|
|
89934
90181
|
}
|
|
89935
90182
|
};
|
|
89936
|
-
DTableDataList.prototype.unlock = function () {
|
|
90183
|
+
DTableDataList.prototype.unlock = function (callIfNeeded) {
|
|
89937
90184
|
var parent = this._parent;
|
|
89938
90185
|
if (parent) {
|
|
89939
|
-
parent.unlock(
|
|
89940
|
-
parent.update();
|
|
90186
|
+
parent.unlock(callIfNeeded);
|
|
89941
90187
|
}
|
|
89942
90188
|
};
|
|
89943
90189
|
DTableDataList.prototype.size = function () {
|
|
@@ -89951,7 +90197,8 @@ var DTableDataList = /** @class */ (function (_super) {
|
|
|
89951
90197
|
this._selection.clear();
|
|
89952
90198
|
this._sorter.toDirty();
|
|
89953
90199
|
this._filter.toDirty();
|
|
89954
|
-
this.
|
|
90200
|
+
this.update();
|
|
90201
|
+
this.unlock(true);
|
|
89955
90202
|
}
|
|
89956
90203
|
};
|
|
89957
90204
|
DTableDataList.prototype.clearAndAdd = function (row) {
|
|
@@ -89962,7 +90209,8 @@ var DTableDataList = /** @class */ (function (_super) {
|
|
|
89962
90209
|
this._selection.clear();
|
|
89963
90210
|
this._sorter.toDirty();
|
|
89964
90211
|
this._filter.toDirty();
|
|
89965
|
-
this.
|
|
90212
|
+
this.update();
|
|
90213
|
+
this.unlock(true);
|
|
89966
90214
|
};
|
|
89967
90215
|
DTableDataList.prototype.clearAndAddAll = function (newRows) {
|
|
89968
90216
|
var rows = this._rows;
|
|
@@ -89974,7 +90222,8 @@ var DTableDataList = /** @class */ (function (_super) {
|
|
|
89974
90222
|
this._selection.clear();
|
|
89975
90223
|
this._sorter.toDirty();
|
|
89976
90224
|
this._filter.toDirty();
|
|
89977
|
-
this.
|
|
90225
|
+
this.update();
|
|
90226
|
+
this.unlock(true);
|
|
89978
90227
|
};
|
|
89979
90228
|
DTableDataList.prototype.add = function (row, index) {
|
|
89980
90229
|
var rows = this._rows;
|
|
@@ -89986,7 +90235,8 @@ var DTableDataList = /** @class */ (function (_super) {
|
|
|
89986
90235
|
this.lock();
|
|
89987
90236
|
sorter.toDirty();
|
|
89988
90237
|
filter.toDirty();
|
|
89989
|
-
this.
|
|
90238
|
+
this.update();
|
|
90239
|
+
this.unlock(true);
|
|
89990
90240
|
}
|
|
89991
90241
|
else if (0 <= index && index < rows.length) {
|
|
89992
90242
|
rows.splice(index, 0, row);
|
|
@@ -89994,7 +90244,8 @@ var DTableDataList = /** @class */ (function (_super) {
|
|
|
89994
90244
|
selection.shift(index, 1);
|
|
89995
90245
|
sorter.toDirty();
|
|
89996
90246
|
filter.toDirty();
|
|
89997
|
-
this.
|
|
90247
|
+
this.update();
|
|
90248
|
+
this.unlock(true);
|
|
89998
90249
|
}
|
|
89999
90250
|
};
|
|
90000
90251
|
DTableDataList.prototype.addAll = function (newRows, index) {
|
|
@@ -90011,7 +90262,8 @@ var DTableDataList = /** @class */ (function (_super) {
|
|
|
90011
90262
|
this.lock();
|
|
90012
90263
|
sorter.toDirty();
|
|
90013
90264
|
filter.toDirty();
|
|
90014
|
-
this.
|
|
90265
|
+
this.update();
|
|
90266
|
+
this.unlock(true);
|
|
90015
90267
|
}
|
|
90016
90268
|
else if (0 <= index && index < rowsLength) {
|
|
90017
90269
|
var newRowsLength = newRows.length;
|
|
@@ -90022,7 +90274,8 @@ var DTableDataList = /** @class */ (function (_super) {
|
|
|
90022
90274
|
selection.shift(index, newRowsLength);
|
|
90023
90275
|
sorter.toDirty();
|
|
90024
90276
|
filter.toDirty();
|
|
90025
|
-
this.
|
|
90277
|
+
this.update();
|
|
90278
|
+
this.unlock(true);
|
|
90026
90279
|
}
|
|
90027
90280
|
};
|
|
90028
90281
|
DTableDataList.prototype.get = function (index) {
|
|
@@ -90040,7 +90293,8 @@ var DTableDataList = /** @class */ (function (_super) {
|
|
|
90040
90293
|
this.lock();
|
|
90041
90294
|
this._sorter.toDirty();
|
|
90042
90295
|
this._filter.toDirty();
|
|
90043
|
-
this.
|
|
90296
|
+
this.update();
|
|
90297
|
+
this.unlock(true);
|
|
90044
90298
|
return result;
|
|
90045
90299
|
}
|
|
90046
90300
|
return null;
|
|
@@ -90053,7 +90307,8 @@ var DTableDataList = /** @class */ (function (_super) {
|
|
|
90053
90307
|
this._selection.remove(index);
|
|
90054
90308
|
this._sorter.toDirty();
|
|
90055
90309
|
this._filter.toDirty();
|
|
90056
|
-
this.
|
|
90310
|
+
this.update();
|
|
90311
|
+
this.unlock(true);
|
|
90057
90312
|
return result;
|
|
90058
90313
|
}
|
|
90059
90314
|
return null;
|
|
@@ -90159,13 +90414,20 @@ var DTableBody = /** @class */ (function (_super) {
|
|
|
90159
90414
|
_this._isUpdateRowsCalled = false;
|
|
90160
90415
|
_this._isUpdateRowsCalledForcibly = false;
|
|
90161
90416
|
_this._workRows = [];
|
|
90162
|
-
_this._onRowChangeBound = function (newValue, oldValue, row, rowIndex, columnIndex) {
|
|
90163
|
-
|
|
90417
|
+
_this._onRowChangeBound = function (newValue, oldValue, row, rowIndex, columnIndex, column) {
|
|
90418
|
+
_this.onRowChange(newValue, oldValue, row, rowIndex, columnIndex, column);
|
|
90164
90419
|
};
|
|
90165
90420
|
_this._columnIndexToCellOptions = new Map();
|
|
90166
90421
|
_this._data.emit("init", _this._data);
|
|
90167
90422
|
return _this;
|
|
90168
90423
|
}
|
|
90424
|
+
DTableBody.prototype.onRowChange = function (newValue, oldValue, row, rowIndex, columnIndex, column) {
|
|
90425
|
+
var data = this._data;
|
|
90426
|
+
data.emit("change", newValue, oldValue, row, rowIndex, columnIndex, data);
|
|
90427
|
+
if (column.update === DTableColumnUpdate.ALL) {
|
|
90428
|
+
this.update(true);
|
|
90429
|
+
}
|
|
90430
|
+
};
|
|
90169
90431
|
DTableBody.prototype.toData = function (options) {
|
|
90170
90432
|
if (this.isData(options)) {
|
|
90171
90433
|
return options;
|
|
@@ -91384,6 +91646,18 @@ var DTableDataTree = /** @class */ (function (_super) {
|
|
|
91384
91646
|
parent.update(forcibly);
|
|
91385
91647
|
}
|
|
91386
91648
|
};
|
|
91649
|
+
DTableDataTree.prototype.lock = function () {
|
|
91650
|
+
var parent = this._parent;
|
|
91651
|
+
if (parent) {
|
|
91652
|
+
parent.lock();
|
|
91653
|
+
}
|
|
91654
|
+
};
|
|
91655
|
+
DTableDataTree.prototype.unlock = function (callIfNeeded) {
|
|
91656
|
+
var parent = this._parent;
|
|
91657
|
+
if (parent) {
|
|
91658
|
+
parent.unlock(callIfNeeded);
|
|
91659
|
+
}
|
|
91660
|
+
};
|
|
91387
91661
|
DTableDataTree.prototype.size = function () {
|
|
91388
91662
|
return this.rows.length;
|
|
91389
91663
|
};
|
|
@@ -92039,6 +92313,7 @@ var toColumnAlign = function (options, type) {
|
|
|
92039
92313
|
}
|
|
92040
92314
|
switch (type) {
|
|
92041
92315
|
case DTableColumnType.TEXT:
|
|
92316
|
+
case DTableColumnType.TEXT_AREA:
|
|
92042
92317
|
return DAlignHorizontal.LEFT;
|
|
92043
92318
|
case DTableColumnType.REAL:
|
|
92044
92319
|
case DTableColumnType.INTEGER:
|
|
@@ -92258,7 +92533,7 @@ var toColumnRenderable = function (options, path) {
|
|
|
92258
92533
|
return true;
|
|
92259
92534
|
};
|
|
92260
92535
|
var toColumn = function (index, options) {
|
|
92261
|
-
var _a;
|
|
92536
|
+
var _a, _b;
|
|
92262
92537
|
var weight = options.weight;
|
|
92263
92538
|
var width = options.width;
|
|
92264
92539
|
if (weight != null) {
|
|
@@ -92294,7 +92569,8 @@ var toColumn = function (index, options) {
|
|
|
92294
92569
|
category: options.category,
|
|
92295
92570
|
frozen: options.frozen,
|
|
92296
92571
|
offset: 0.0,
|
|
92297
|
-
link: options.link
|
|
92572
|
+
link: options.link,
|
|
92573
|
+
update: toEnum((_b = options.update) !== null && _b !== void 0 ? _b : DTableColumnUpdate.CELL, DTableColumnUpdate)
|
|
92298
92574
|
};
|
|
92299
92575
|
};
|
|
92300
92576
|
var toColumns = function (options) {
|
|
@@ -94662,6 +94938,7 @@ exports.DTableBodyCellIndex = DTableBodyCellIndex;
|
|
|
94662
94938
|
exports.DTableBodyCellInputInteger = DTableBodyCellInputInteger;
|
|
94663
94939
|
exports.DTableBodyCellInputReal = DTableBodyCellInputReal;
|
|
94664
94940
|
exports.DTableBodyCellInputText = DTableBodyCellInputText;
|
|
94941
|
+
exports.DTableBodyCellInputTextArea = DTableBodyCellInputTextArea;
|
|
94665
94942
|
exports.DTableBodyCellInputTree = DTableBodyCellInputTree;
|
|
94666
94943
|
exports.DTableBodyCellInputTreeInput = DTableBodyCellInputTreeInput;
|
|
94667
94944
|
exports.DTableBodyCellInputTreeMarker = DTableBodyCellInputTreeMarker;
|
|
@@ -94671,6 +94948,7 @@ exports.DTableBodyCellSelectMenu = DTableBodyCellSelectMenu;
|
|
|
94671
94948
|
exports.DTableBodyCellSelectMultiple = DTableBodyCellSelectMultiple;
|
|
94672
94949
|
exports.DTableBodyCellSelectPromise = DTableBodyCellSelectPromise;
|
|
94673
94950
|
exports.DTableBodyCellText = DTableBodyCellText;
|
|
94951
|
+
exports.DTableBodyCellTextArea = DTableBodyCellTextArea;
|
|
94674
94952
|
exports.DTableBodyCellTime = DTableBodyCellTime;
|
|
94675
94953
|
exports.DTableBodyCellTree = DTableBodyCellTree;
|
|
94676
94954
|
exports.DTableBodyCells = DTableBodyCells;
|
|
@@ -94678,6 +94956,7 @@ exports.DTableBodyRow = DTableBodyRow;
|
|
|
94678
94956
|
exports.DTableCategory = DTableCategory;
|
|
94679
94957
|
exports.DTableCategoryCell = DTableCategoryCell;
|
|
94680
94958
|
exports.DTableColumnType = DTableColumnType;
|
|
94959
|
+
exports.DTableColumnUpdate = DTableColumnUpdate;
|
|
94681
94960
|
exports.DTableDataList = DTableDataList;
|
|
94682
94961
|
exports.DTableDataListFilter = DTableDataListFilter;
|
|
94683
94962
|
exports.DTableDataListMapped = DTableDataListMapped;
|
|
@@ -94893,11 +95172,13 @@ exports.DThemeDarkTableBodyCellIndex = DThemeDarkTableBodyCellIndex;
|
|
|
94893
95172
|
exports.DThemeDarkTableBodyCellInputInteger = DThemeDarkTableBodyCellInputInteger;
|
|
94894
95173
|
exports.DThemeDarkTableBodyCellInputReal = DThemeDarkTableBodyCellInputReal;
|
|
94895
95174
|
exports.DThemeDarkTableBodyCellInputText = DThemeDarkTableBodyCellInputText;
|
|
95175
|
+
exports.DThemeDarkTableBodyCellInputTextArea = DThemeDarkTableBodyCellInputTextArea;
|
|
94896
95176
|
exports.DThemeDarkTableBodyCellLink = DThemeDarkTableBodyCellLink;
|
|
94897
95177
|
exports.DThemeDarkTableBodyCellSelectDialog = DThemeDarkTableBodyCellSelectDialog;
|
|
94898
95178
|
exports.DThemeDarkTableBodyCellSelectMenu = DThemeDarkTableBodyCellSelectMenu;
|
|
94899
95179
|
exports.DThemeDarkTableBodyCellSelectPromise = DThemeDarkTableBodyCellSelectPromise;
|
|
94900
95180
|
exports.DThemeDarkTableBodyCellText = DThemeDarkTableBodyCellText;
|
|
95181
|
+
exports.DThemeDarkTableBodyCellTextArea = DThemeDarkTableBodyCellTextArea;
|
|
94901
95182
|
exports.DThemeDarkTableBodyCellTime = DThemeDarkTableBodyCellTime;
|
|
94902
95183
|
exports.DThemeDarkTableBodyCells = DThemeDarkTableBodyCells;
|
|
94903
95184
|
exports.DThemeDarkTableBodyRow = DThemeDarkTableBodyRow;
|
|
@@ -95109,11 +95390,13 @@ exports.DThemeWhiteTableBodyCellIndex = DThemeWhiteTableBodyCellIndex;
|
|
|
95109
95390
|
exports.DThemeWhiteTableBodyCellInputInteger = DThemeWhiteTableBodyCellInputInteger;
|
|
95110
95391
|
exports.DThemeWhiteTableBodyCellInputReal = DThemeWhiteTableBodyCellInputReal;
|
|
95111
95392
|
exports.DThemeWhiteTableBodyCellInputText = DThemeWhiteTableBodyCellInputText;
|
|
95393
|
+
exports.DThemeWhiteTableBodyCellInputTextArea = DThemeWhiteTableBodyCellInputTextArea;
|
|
95112
95394
|
exports.DThemeWhiteTableBodyCellLink = DThemeWhiteTableBodyCellLink;
|
|
95113
95395
|
exports.DThemeWhiteTableBodyCellSelectDialog = DThemeWhiteTableBodyCellSelectDialog;
|
|
95114
95396
|
exports.DThemeWhiteTableBodyCellSelectMenu = DThemeWhiteTableBodyCellSelectMenu;
|
|
95115
95397
|
exports.DThemeWhiteTableBodyCellSelectPromise = DThemeWhiteTableBodyCellSelectPromise;
|
|
95116
95398
|
exports.DThemeWhiteTableBodyCellText = DThemeWhiteTableBodyCellText;
|
|
95399
|
+
exports.DThemeWhiteTableBodyCellTextArea = DThemeWhiteTableBodyCellTextArea;
|
|
95117
95400
|
exports.DThemeWhiteTableBodyCellTime = DThemeWhiteTableBodyCellTime;
|
|
95118
95401
|
exports.DThemeWhiteTableBodyCells = DThemeWhiteTableBodyCells;
|
|
95119
95402
|
exports.DThemeWhiteTableBodyRow = DThemeWhiteTableBodyRow;
|