@wcardinal/wcardinal-ui 0.442.0 → 0.443.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-picker-color.d.ts +3 -0
- package/dist/types/wcardinal/ui/d-table-column-state.d.ts +4 -1
- package/dist/types/wcardinal/ui/d-table-state.d.ts +4 -0
- package/dist/types/wcardinal/ui/theme/common/new-svg-rounded-checkerboard.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/common/new-svg-rounded-rect.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-picker-color.d.ts +3 -0
- package/dist/types/wcardinal/ui/theme/dark/new-dark-svg-rounded-checkerboard.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-picker-color.d.ts +3 -0
- package/dist/types/wcardinal/ui/theme/white/new-white-svg-rounded-checkerboard.d.ts +1 -0
- package/dist/wcardinal/ui/d-image-piece-impl.js +8 -0
- package/dist/wcardinal/ui/d-image-piece-impl.js.map +1 -1
- package/dist/wcardinal/ui/d-picker-color.js +5 -4
- package/dist/wcardinal/ui/d-picker-color.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body.js +3 -2
- package/dist/wcardinal/ui/d-table-body.js.map +1 -1
- package/dist/wcardinal/ui/d-table-column-state.js.map +1 -1
- package/dist/wcardinal/ui/d-table-state.js +4 -0
- package/dist/wcardinal/ui/d-table-state.js.map +1 -1
- package/dist/wcardinal/ui/theme/common/new-svg-rounded-checkerboard.js +20 -0
- package/dist/wcardinal/ui/theme/common/new-svg-rounded-checkerboard.js.map +1 -0
- package/dist/wcardinal/ui/theme/common/new-svg-rounded-rect.js +15 -0
- package/dist/wcardinal/ui/theme/common/new-svg-rounded-rect.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-color-gradient.js +2 -5
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-color-gradient.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-color.js +3 -6
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-button-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-color.js +24 -35
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-picker-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cells.js +7 -2
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cells.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/new-dark-svg-rounded-checkerboard.js +5 -0
- package/dist/wcardinal/ui/theme/dark/new-dark-svg-rounded-checkerboard.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-button-color-gradient.js +2 -5
- package/dist/wcardinal/ui/theme/white/d-theme-white-button-color-gradient.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-button-color.js +3 -6
- package/dist/wcardinal/ui/theme/white/d-theme-white-button-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-picker-color.js +24 -35
- package/dist/wcardinal/ui/theme/white/d-theme-white-picker-color.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cells.js +7 -2
- package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cells.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/new-white-svg-rounded-checkerboard.js +5 -0
- package/dist/wcardinal/ui/theme/white/new-white-svg-rounded-checkerboard.js.map +1 -0
- package/dist/wcardinal-ui-theme-dark-en-us.js +71 -49
- package/dist/wcardinal-ui-theme-dark-en-us.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark-en-us.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark-ja-jp.js +71 -49
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +2 -2
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark.js +71 -49
- package/dist/wcardinal-ui-theme-dark.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-en-us.js +71 -49
- package/dist/wcardinal-ui-theme-white-en-us.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-en-us.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white-ja-jp.js +71 -49
- package/dist/wcardinal-ui-theme-white-ja-jp.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-ja-jp.min.js.map +1 -1
- package/dist/wcardinal-ui-theme-white.js +71 -49
- package/dist/wcardinal-ui-theme-white.min.js +2 -2
- package/dist/wcardinal-ui.cjs.js +127 -103
- package/dist/wcardinal-ui.js +21 -7
- 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.443.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -34260,8 +34260,16 @@ var DImagePieceImpl = /** @class */ (function () {
|
|
|
34260
34260
|
object.alpha = alpha;
|
|
34261
34261
|
result = true;
|
|
34262
34262
|
}
|
|
34263
|
+
if (!object.visible) {
|
|
34264
|
+
object.visible = true;
|
|
34265
|
+
result = true;
|
|
34266
|
+
}
|
|
34263
34267
|
return result;
|
|
34264
34268
|
}
|
|
34269
|
+
else if (object.visible) {
|
|
34270
|
+
object.visible = false;
|
|
34271
|
+
return true;
|
|
34272
|
+
}
|
|
34265
34273
|
}
|
|
34266
34274
|
}
|
|
34267
34275
|
return false;
|
|
@@ -57491,6 +57499,10 @@ var DTableState = {
|
|
|
57491
57499
|
* Cells of a right-most frozen column.
|
|
57492
57500
|
*/
|
|
57493
57501
|
FROZEN_END: "FROZEN_END",
|
|
57502
|
+
/**
|
|
57503
|
+
* Rows with data
|
|
57504
|
+
*/
|
|
57505
|
+
HAS_DATA: "HAS_DATA",
|
|
57494
57506
|
/**
|
|
57495
57507
|
* Header cells of sortable columns.
|
|
57496
57508
|
*/
|
|
@@ -57798,16 +57810,27 @@ var loadThemeWhite = function () {
|
|
|
57798
57810
|
DThemes.setDefaultThemeClass(DThemeWhite);
|
|
57799
57811
|
};
|
|
57800
57812
|
|
|
57813
|
+
var newSvgRoundedRect = function (x, y, width, height, fill, stroke, strokeWidth, strokeOpacity) {
|
|
57814
|
+
var sw = strokeWidth !== null && strokeWidth !== void 0 ? strokeWidth : 0;
|
|
57815
|
+
var o = sw * 0.5;
|
|
57816
|
+
var r = Math.max(0, 3 - o);
|
|
57817
|
+
var w = width - sw - r - r;
|
|
57818
|
+
var h = height - sw - r - r;
|
|
57819
|
+
x += o + r;
|
|
57820
|
+
y += o;
|
|
57821
|
+
return ("<path d=\"M".concat(x, ",").concat(y, " h").concat(w, " a").concat(r, ",").concat(r, " 0 0 1 ").concat(r, ",").concat(r, " v").concat(h, " a").concat(r, ",").concat(r, " 0 0 1 -").concat(r, ",").concat(r, " h-").concat(w, " a").concat(r, ",").concat(r, " 0 0 1 -").concat(r, ",-").concat(r, " v-").concat(h, " a").concat(r, ",").concat(r, " 0 0 1 ").concat(r, ",-").concat(r, "z\" fill=\"").concat(fill, "\"") +
|
|
57822
|
+
(stroke ? " stroke=\"".concat(stroke, "\"") : "") +
|
|
57823
|
+
(strokeWidth != null ? " stroke-width=\"".concat(strokeWidth, "\"") : "") +
|
|
57824
|
+
(strokeOpacity != null ? " stroke-opacity=\"".concat(strokeOpacity, "\"") : "") +
|
|
57825
|
+
" />");
|
|
57826
|
+
};
|
|
57827
|
+
|
|
57801
57828
|
/*
|
|
57802
57829
|
* Copyright (C) 2019 Toshiba Corporation
|
|
57803
57830
|
* SPDX-License-Identifier: Apache-2.0
|
|
57804
57831
|
*/
|
|
57805
|
-
// Material Design icons by Google.
|
|
57806
|
-
// Apache license version 2.0.
|
|
57807
57832
|
/* eslint-disable prettier/prettier */
|
|
57808
|
-
DThemeWhiteAtlas.add("button_color_sample", 21, 21,
|
|
57809
|
-
"<path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\" fill=\"#fff\"/>" +
|
|
57810
|
-
"</g>");
|
|
57833
|
+
DThemeWhiteAtlas.add("button_color_sample", 21, 21, newSvgRoundedRect(3, 3, 15, 15, "#fff", "#eee", 1));
|
|
57811
57834
|
/* eslint-enable prettier/prettier */
|
|
57812
57835
|
var formatter$j = function (colorAndAlpha) {
|
|
57813
57836
|
return "#".concat(UtilRgb.toCode(colorAndAlpha.color), " A").concat(colorAndAlpha.alpha.toFixed(2));
|
|
@@ -57818,7 +57841,7 @@ var DThemeWhiteButtonColor = /** @class */ (function (_super) {
|
|
|
57818
57841
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
57819
57842
|
}
|
|
57820
57843
|
DThemeWhiteButtonColor.prototype.getImageTintColor = function (state) {
|
|
57821
|
-
return
|
|
57844
|
+
return 0xffffff;
|
|
57822
57845
|
};
|
|
57823
57846
|
DThemeWhiteButtonColor.prototype.getImageSource = function (state) {
|
|
57824
57847
|
return DThemeWhiteAtlas.mappings.button_color_sample;
|
|
@@ -57856,25 +57879,35 @@ var DColorType = {
|
|
|
57856
57879
|
STANDARD: 1
|
|
57857
57880
|
};
|
|
57858
57881
|
|
|
57882
|
+
var isPatternInjected = false;
|
|
57883
|
+
var newSvgRoundedCheckerboard = function (width, height, color1, color2, stroke, strokeWidth, strokeOpacity) {
|
|
57884
|
+
var result = "";
|
|
57885
|
+
if (!isPatternInjected) {
|
|
57886
|
+
isPatternInjected = true;
|
|
57887
|
+
result =
|
|
57888
|
+
"<defs>" +
|
|
57889
|
+
"<pattern id=\"rounded-checkerboard-pattern\" patternUnits=\"userSpaceOnUse\" width=\"18\" height=\"18\">" +
|
|
57890
|
+
"<rect x=\"0\" y=\"0\" width=\"9\" height=\"9\" fill=\"".concat(color1, "\" />") +
|
|
57891
|
+
"<rect x=\"9\" y=\"0\" width=\"9\" height=\"9\" fill=\"".concat(color2, "\" />") +
|
|
57892
|
+
"<rect x=\"0\" y=\"9\" width=\"9\" height=\"9\" fill=\"".concat(color2, "\" />") +
|
|
57893
|
+
"<rect x=\"9\" y=\"9\" width=\"9\" height=\"9\" fill=\"".concat(color1, "\" />") +
|
|
57894
|
+
"</pattern>" +
|
|
57895
|
+
"</defs>";
|
|
57896
|
+
}
|
|
57897
|
+
result += newSvgRoundedRect(0, 0, width, height, "url(#rounded-checkerboard-pattern)", stroke, strokeWidth, strokeOpacity);
|
|
57898
|
+
return result;
|
|
57899
|
+
};
|
|
57900
|
+
|
|
57901
|
+
var newWhiteSvgRoundedCheckerboard = function (width, height, stroke, strokeWidth, strokeOpacity) {
|
|
57902
|
+
return newSvgRoundedCheckerboard(width, height, "#bfbfbf", "#a5a5a5", stroke, strokeWidth, strokeOpacity);
|
|
57903
|
+
};
|
|
57904
|
+
|
|
57859
57905
|
/*
|
|
57860
57906
|
* Copyright (C) 2019 Toshiba Corporation
|
|
57861
57907
|
* SPDX-License-Identifier: Apache-2.0
|
|
57862
57908
|
*/
|
|
57863
|
-
var makeCheckerboard$1 = function (width, height) {
|
|
57864
|
-
var LIGHT = "#bfbfbf";
|
|
57865
|
-
var DARK = "#a5a5a5";
|
|
57866
|
-
var result = "<g>";
|
|
57867
|
-
for (var ih = 0; ih < height; ++ih) {
|
|
57868
|
-
for (var iw = 0; iw < width; ++iw) {
|
|
57869
|
-
var color = (iw + ih) % 2 === 0 ? LIGHT : DARK;
|
|
57870
|
-
result += "<rect x=\"".concat(9 * iw, "\" y=\"").concat(9 * ih, "\" width=\"9\" height=\"9\" fill=\"").concat(color, "\" />");
|
|
57871
|
-
}
|
|
57872
|
-
}
|
|
57873
|
-
result += "</g>";
|
|
57874
|
-
return result;
|
|
57875
|
-
};
|
|
57876
57909
|
/* eslint-disable prettier/prettier */
|
|
57877
|
-
DThemeWhiteAtlas.add("picker_color_main",
|
|
57910
|
+
DThemeWhiteAtlas.add("picker_color_main", 234, 162, "<g>" +
|
|
57878
57911
|
"<linearGradient id=\"fs7w3iusfdnb\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\">" +
|
|
57879
57912
|
"<stop stop-color=\"#FFFFFF\" stop-opacity=\"0\" offset=\"0\"/>" +
|
|
57880
57913
|
"<stop stop-color=\"#FFFFFF\" stop-opacity=\"1\" offset=\"1\"/>" +
|
|
@@ -57883,13 +57916,11 @@ DThemeWhiteAtlas.add("picker_color_main", 236, 164, "<g>" +
|
|
|
57883
57916
|
"<stop stop-color=\"#000000\" stop-opacity=\"0\" offset=\"0\"/>" +
|
|
57884
57917
|
"<stop stop-color=\"#000000\" stop-opacity=\"1\" offset=\"1\"/>" +
|
|
57885
57918
|
"</linearGradient>" +
|
|
57886
|
-
|
|
57887
|
-
|
|
57888
|
-
"</g>"
|
|
57889
|
-
DThemeWhiteAtlas.add("picker_color_main_base",
|
|
57890
|
-
|
|
57891
|
-
"</g>", 1, 1, 234, 162);
|
|
57892
|
-
DThemeWhiteAtlas.add("picker_color_alpha_checkerboard", 234, 18, makeCheckerboard$1(26, 2));
|
|
57919
|
+
newSvgRoundedRect(0, 0, 234, 162, "url(#fs7w3iusfdnb)") +
|
|
57920
|
+
newSvgRoundedRect(0, 0, 234, 162, "url(#2rfcfe9874bw)") +
|
|
57921
|
+
"</g>");
|
|
57922
|
+
DThemeWhiteAtlas.add("picker_color_main_base", 234, 162, "<rect x=\"0\" y=\"0\" width=\"236\" height=\"164\" fill=\"#fff\" />");
|
|
57923
|
+
DThemeWhiteAtlas.add("picker_color_alpha_checkerboard", 234, 18, newWhiteSvgRoundedCheckerboard(234, 18));
|
|
57893
57924
|
DThemeWhiteAtlas.add("picker_color_alpha", 234, 18, "<g>" +
|
|
57894
57925
|
"<linearGradient id=\"s48afbuh44\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\">" +
|
|
57895
57926
|
"<stop stop-color=\"#FFFFFF\" stop-opacity=\"0\" offset=\"0\"/>" +
|
|
@@ -57907,20 +57938,15 @@ DThemeWhiteAtlas.add("picker_color_base", 234, 18, "<g>" +
|
|
|
57907
57938
|
"<stop stop-color=\"#FF00FF\" offset=\"0.833\"/>" +
|
|
57908
57939
|
"<stop stop-color=\"#FF0000\" offset=\"1\"/>" +
|
|
57909
57940
|
"</linearGradient>" +
|
|
57910
|
-
|
|
57941
|
+
newSvgRoundedRect(0, 0, 234, 18, "url(#ni2rbisdf3)") +
|
|
57911
57942
|
"</g>");
|
|
57912
57943
|
DThemeWhiteAtlas.add("picker_color_base_pointer", 16.2, 31.8, "<rect x=\"4.5\" y=\"4.5\" width=\"7.2\" height=\"22.8\" stroke=\"#5f5f5f\" stroke-width=\"2.4\" fill=\"none\" />");
|
|
57913
57944
|
DThemeWhiteAtlas.add("picker_color_pointer", 25.8, 25.8, "<circle cx=\"12.9\" cy=\"12.9\" r=\"4.8\" stroke=\"#5f5f5f\" stroke-width=\"2.4\" fill=\"none\" />" +
|
|
57914
57945
|
"<circle cx=\"12.9\" cy=\"12.9\" r=\"7.2\" stroke=\"#ffffff\" stroke-width=\"2.4\" fill=\"none\" />");
|
|
57915
|
-
DThemeWhiteAtlas.add("picker_color_recent_checkerboard",
|
|
57916
|
-
DThemeWhiteAtlas.add("picker_color_recent",
|
|
57917
|
-
|
|
57918
|
-
|
|
57919
|
-
"</g>", 9, 9, 18, 18);
|
|
57920
|
-
DThemeWhiteAtlas.add("picker_color_sample_checkerboard", 45, 63, makeCheckerboard$1(5, 7));
|
|
57921
|
-
DThemeWhiteAtlas.add("picker_color_sample", 47, 65, "<g>" +
|
|
57922
|
-
"<rect x=\"0\" y=\"0\" width=\"47\" height=\"65\" fill=\"#fff\" />" +
|
|
57923
|
-
"</g>", 1, 1, 45, 63);
|
|
57946
|
+
DThemeWhiteAtlas.add("picker_color_recent_checkerboard", 18, 18, newWhiteSvgRoundedCheckerboard(18, 18));
|
|
57947
|
+
DThemeWhiteAtlas.add("picker_color_recent", 18, 18, newSvgRoundedRect(0, 0, 18, 18, "#fff", "#eee", 1));
|
|
57948
|
+
DThemeWhiteAtlas.add("picker_color_sample_checkerboard", 42, 66, newWhiteSvgRoundedCheckerboard(42, 66, "#fff", 1, 0));
|
|
57949
|
+
DThemeWhiteAtlas.add("picker_color_sample", 42, 66, newSvgRoundedRect(0, 0, 42, 66, "#fff", "#eee", 1));
|
|
57924
57950
|
DThemeWhiteAtlas.add("picker_color_anchor_outlined", 25.8, 25.8, "<circle cx=\"12.9\" cy=\"12.9\" r=\"8.4\" stroke=\"none\" fill=\"#ffffff\" />" +
|
|
57925
57951
|
"<circle cx=\"12.9\" cy=\"12.9\" r=\"9.6\" stroke=\"#5f5f5f\" stroke-width=\"2.4\" fill=\"none\" />");
|
|
57926
57952
|
DThemeWhiteAtlas.add("picker_color_anchor", 28.2, 28.2, "<circle cx=\"14.1\" cy=\"14.1\" r=\"6\" stroke=\"none\" fill=\"#ffffff\" />" +
|
|
@@ -57928,9 +57954,7 @@ DThemeWhiteAtlas.add("picker_color_anchor", 28.2, 28.2, "<circle cx=\"14.1\" cy=
|
|
|
57928
57954
|
DThemeWhiteAtlas.add("picker_color_direction", 12, 30, "<path d=\"M0.6 25.8 L 12.0375 5.9895\" stroke=\"#5f5f5f\" stroke-width=\"1.2\" fill=\"none\" />" +
|
|
57929
57955
|
"<path d=\"M8.5125 25.8 A 8.475 8.475 0 0 0 4.275 18.4605\" stroke=\"#5f5f5f\" stroke-width=\"1.2\" fill=\"none\" />" +
|
|
57930
57956
|
"<rect x=\"0.6\" y=\"24.6\" width=\"11.4375\" height=\"1.2\" rx=\"0.6\" ry=\"0.6\" stroke=\"none\" fill=\"#5f5f5f\" />");
|
|
57931
|
-
DThemeWhiteAtlas.add("picker_color_standard", 18, 18, "
|
|
57932
|
-
"<rect x=\"0\" y=\"0\" width=\"18\" height=\"18\" fill=\"#fff\" stroke-width=\"1\" stroke=\"#eee\" />" +
|
|
57933
|
-
"</g>");
|
|
57957
|
+
DThemeWhiteAtlas.add("picker_color_standard", 18, 18, newSvgRoundedRect(0, 0, 18, 18, "#fff", "#eee", 1));
|
|
57934
57958
|
/* eslint-enable prettier/prettier */
|
|
57935
57959
|
var DThemeWhitePickerColor = /** @class */ (function (_super) {
|
|
57936
57960
|
__extends(DThemeWhitePickerColor, _super);
|
|
@@ -58022,7 +58046,16 @@ var DThemeWhitePickerColor = /** @class */ (function (_super) {
|
|
|
58022
58046
|
return this.getBaseMargin();
|
|
58023
58047
|
};
|
|
58024
58048
|
DThemeWhitePickerColor.prototype.getInputLabelWidth = function () {
|
|
58025
|
-
return
|
|
58049
|
+
return 18;
|
|
58050
|
+
};
|
|
58051
|
+
DThemeWhitePickerColor.prototype.getSampleWidth = function () {
|
|
58052
|
+
return 42;
|
|
58053
|
+
};
|
|
58054
|
+
DThemeWhitePickerColor.prototype.getSampleHeight = function () {
|
|
58055
|
+
return 66;
|
|
58056
|
+
};
|
|
58057
|
+
DThemeWhitePickerColor.prototype.getSampleMargin = function () {
|
|
58058
|
+
return this.getBaseMargin();
|
|
58026
58059
|
};
|
|
58027
58060
|
DThemeWhitePickerColor.prototype.getSampleCheckerboardOldTexture = function () {
|
|
58028
58061
|
return DThemeWhiteAtlas.mappings.picker_color_sample_checkerboard;
|
|
@@ -58436,12 +58469,8 @@ var DColorGradientObservable = /** @class */ (function (_super) {
|
|
|
58436
58469
|
* Copyright (C) 2019 Toshiba Corporation
|
|
58437
58470
|
* SPDX-License-Identifier: Apache-2.0
|
|
58438
58471
|
*/
|
|
58439
|
-
// Material Design icons by Google.
|
|
58440
|
-
// Apache license version 2.0.
|
|
58441
58472
|
/* eslint-disable prettier/prettier */
|
|
58442
|
-
DThemeWhiteAtlas.add("button_color_gradient_sample", 21, 21,
|
|
58443
|
-
"<path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\" fill=\"#fff\"/>" +
|
|
58444
|
-
"</g>");
|
|
58473
|
+
DThemeWhiteAtlas.add("button_color_gradient_sample", 21, 21, newSvgRoundedRect(3, 3, 15, 15, "#fff", "#eee", 1));
|
|
58445
58474
|
/* eslint-enable prettier/prettier */
|
|
58446
58475
|
var formatter$i = function () {
|
|
58447
58476
|
return "";
|
|
@@ -60622,8 +60651,13 @@ var DThemeWhiteTableBodyCells = /** @class */ (function () {
|
|
|
60622
60651
|
return DThemeWhiteConstants.COLOR;
|
|
60623
60652
|
};
|
|
60624
60653
|
DThemeWhiteTableBodyCells.getAlpha = function (state) {
|
|
60625
|
-
if (state.
|
|
60626
|
-
|
|
60654
|
+
if (state.in(DTableState.HAS_DATA)) {
|
|
60655
|
+
if (state.inEnabled) {
|
|
60656
|
+
return 1.0;
|
|
60657
|
+
}
|
|
60658
|
+
else {
|
|
60659
|
+
return 0.5;
|
|
60660
|
+
}
|
|
60627
60661
|
}
|
|
60628
60662
|
return 0;
|
|
60629
60663
|
};
|
|
@@ -68809,12 +68843,8 @@ var loadThemeDark = function () {
|
|
|
68809
68843
|
* Copyright (C) 2019 Toshiba Corporation
|
|
68810
68844
|
* SPDX-License-Identifier: Apache-2.0
|
|
68811
68845
|
*/
|
|
68812
|
-
// Material Design icons by Google.
|
|
68813
|
-
// Apache license version 2.0.
|
|
68814
68846
|
/* eslint-disable prettier/prettier */
|
|
68815
|
-
DThemeDarkAtlas.add("button_color_sample", 21, 21,
|
|
68816
|
-
"<path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\" fill=\"#fff\"/>" +
|
|
68817
|
-
"</g>");
|
|
68847
|
+
DThemeDarkAtlas.add("button_color_sample", 21, 21, newSvgRoundedRect(3, 3, 15, 15, "#fff", "#eee", 1));
|
|
68818
68848
|
/* eslint-enable prettier/prettier */
|
|
68819
68849
|
var formatter$8 = function (colorAndAlpha) {
|
|
68820
68850
|
return "#".concat(UtilRgb.toCode(colorAndAlpha.color), " A").concat(colorAndAlpha.alpha.toFixed(2));
|
|
@@ -68825,7 +68855,7 @@ var DThemeDarkButtonColor = /** @class */ (function (_super) {
|
|
|
68825
68855
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
68826
68856
|
}
|
|
68827
68857
|
DThemeDarkButtonColor.prototype.getImageTintColor = function (state) {
|
|
68828
|
-
return
|
|
68858
|
+
return 0xffffff;
|
|
68829
68859
|
};
|
|
68830
68860
|
DThemeDarkButtonColor.prototype.getImageSource = function (state) {
|
|
68831
68861
|
return DThemeDarkAtlas.mappings.button_color_sample;
|
|
@@ -68854,25 +68884,16 @@ var DThemeDarkDialogColor = /** @class */ (function (_super) {
|
|
|
68854
68884
|
return DThemeDarkDialogColor;
|
|
68855
68885
|
}(DThemeDarkDialogFitted));
|
|
68856
68886
|
|
|
68887
|
+
var newDarkSvgRoundedCheckerboard = function (width, height, stroke, strokeWidth, strokeOpacity) {
|
|
68888
|
+
return newSvgRoundedCheckerboard(width, height, "#5f5f5f", "#454545", stroke, strokeWidth, strokeOpacity);
|
|
68889
|
+
};
|
|
68890
|
+
|
|
68857
68891
|
/*
|
|
68858
68892
|
* Copyright (C) 2019 Toshiba Corporation
|
|
68859
68893
|
* SPDX-License-Identifier: Apache-2.0
|
|
68860
68894
|
*/
|
|
68861
|
-
var makeCheckerboard = function (width, height) {
|
|
68862
|
-
var LIGHT = "#5f5f5f";
|
|
68863
|
-
var DARK = "#454545";
|
|
68864
|
-
var result = "<g>";
|
|
68865
|
-
for (var ih = 0; ih < height; ++ih) {
|
|
68866
|
-
for (var iw = 0; iw < width; ++iw) {
|
|
68867
|
-
var color = (iw + ih) % 2 === 0 ? LIGHT : DARK;
|
|
68868
|
-
result += "<rect x=\"".concat(9 * iw, "\" y=\"").concat(9 * ih, "\" width=\"9\" height=\"9\" fill=\"").concat(color, "\" />");
|
|
68869
|
-
}
|
|
68870
|
-
}
|
|
68871
|
-
result += "</g>";
|
|
68872
|
-
return result;
|
|
68873
|
-
};
|
|
68874
68895
|
/* eslint-disable prettier/prettier */
|
|
68875
|
-
DThemeDarkAtlas.add("picker_color_main",
|
|
68896
|
+
DThemeDarkAtlas.add("picker_color_main", 234, 162, "<g>" +
|
|
68876
68897
|
"<linearGradient id=\"fs7w3iusfdnb\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\">" +
|
|
68877
68898
|
"<stop stop-color=\"#FFFFFF\" stop-opacity=\"0\" offset=\"0\"/>" +
|
|
68878
68899
|
"<stop stop-color=\"#FFFFFF\" stop-opacity=\"1\" offset=\"1\"/>" +
|
|
@@ -68881,13 +68902,11 @@ DThemeDarkAtlas.add("picker_color_main", 236, 164, "<g>" +
|
|
|
68881
68902
|
"<stop stop-color=\"#000000\" stop-opacity=\"0\" offset=\"0\"/>" +
|
|
68882
68903
|
"<stop stop-color=\"#000000\" stop-opacity=\"1\" offset=\"1\"/>" +
|
|
68883
68904
|
"</linearGradient>" +
|
|
68884
|
-
|
|
68885
|
-
|
|
68886
|
-
"</g>"
|
|
68887
|
-
DThemeDarkAtlas.add("picker_color_main_base",
|
|
68888
|
-
|
|
68889
|
-
"</g>", 1, 1, 234, 162);
|
|
68890
|
-
DThemeDarkAtlas.add("picker_color_alpha_checkerboard", 234, 18, makeCheckerboard(26, 2));
|
|
68905
|
+
newSvgRoundedRect(0, 0, 234, 162, "url(#fs7w3iusfdnb)") +
|
|
68906
|
+
newSvgRoundedRect(0, 0, 234, 162, "url(#2rfcfe9874bw)") +
|
|
68907
|
+
"</g>");
|
|
68908
|
+
DThemeDarkAtlas.add("picker_color_main_base", 234, 162, "<rect x=\"0\" y=\"0\" width=\"236\" height=\"164\" fill=\"#fff\" />");
|
|
68909
|
+
DThemeDarkAtlas.add("picker_color_alpha_checkerboard", 234, 18, newDarkSvgRoundedCheckerboard(234, 18));
|
|
68891
68910
|
DThemeDarkAtlas.add("picker_color_alpha", 234, 18, "<g>" +
|
|
68892
68911
|
"<linearGradient id=\"s48afbuh44\" x1=\"0%\" y1=\"0%\" x2=\"100%\" y2=\"0%\">" +
|
|
68893
68912
|
"<stop stop-color=\"#FFFFFF\" stop-opacity=\"0\" offset=\"0\"/>" +
|
|
@@ -68905,20 +68924,15 @@ DThemeDarkAtlas.add("picker_color_base", 234, 18, "<g>" +
|
|
|
68905
68924
|
"<stop stop-color=\"#FF00FF\" offset=\"0.833\"/>" +
|
|
68906
68925
|
"<stop stop-color=\"#FF0000\" offset=\"1\"/>" +
|
|
68907
68926
|
"</linearGradient>" +
|
|
68908
|
-
|
|
68927
|
+
newSvgRoundedRect(0, 0, 234, 18, "url(#ni2rbisdf3)") +
|
|
68909
68928
|
"</g>");
|
|
68910
68929
|
DThemeDarkAtlas.add("picker_color_base_pointer", 16.2, 31.8, "<rect x=\"4.5\" y=\"4.5\" width=\"7.2\" height=\"22.8\" stroke=\"#ffffff\" stroke-width=\"2.4\" fill=\"none\" />");
|
|
68911
68930
|
DThemeDarkAtlas.add("picker_color_pointer", 25.8, 25.8, "<circle cx=\"12.9\" cy=\"12.9\" r=\"4.8\" stroke=\"#5f5f5f\" stroke-width=\"2.4\" fill=\"none\" />" +
|
|
68912
68931
|
"<circle cx=\"12.9\" cy=\"12.9\" r=\"7.2\" stroke=\"#ffffff\" stroke-width=\"2.4\" fill=\"none\" />");
|
|
68913
|
-
DThemeDarkAtlas.add("picker_color_recent_checkerboard",
|
|
68914
|
-
DThemeDarkAtlas.add("picker_color_recent",
|
|
68915
|
-
|
|
68916
|
-
|
|
68917
|
-
"</g>", 9, 9, 18, 18);
|
|
68918
|
-
DThemeDarkAtlas.add("picker_color_sample_checkerboard", 45, 63, makeCheckerboard(5, 7));
|
|
68919
|
-
DThemeDarkAtlas.add("picker_color_sample", 47, 65, "<g>" +
|
|
68920
|
-
"<rect x=\"0\" y=\"0\" width=\"47\" height=\"65\" fill=\"#fff\" />" +
|
|
68921
|
-
"</g>", 1, 1, 45, 63);
|
|
68932
|
+
DThemeDarkAtlas.add("picker_color_recent_checkerboard", 18, 18, newDarkSvgRoundedCheckerboard(18, 18));
|
|
68933
|
+
DThemeDarkAtlas.add("picker_color_recent", 18, 18, newSvgRoundedRect(0, 0, 18, 18, "#fff", "#eee", 1));
|
|
68934
|
+
DThemeDarkAtlas.add("picker_color_sample_checkerboard", 42, 66, newDarkSvgRoundedCheckerboard(42, 66, "#fff", 1, 0));
|
|
68935
|
+
DThemeDarkAtlas.add("picker_color_sample", 42, 66, newSvgRoundedRect(0, 0, 42, 66, "#fff", "#eee", 1));
|
|
68922
68936
|
DThemeDarkAtlas.add("picker_color_anchor_outlined", 25.8, 25.8, "<circle cx=\"12.9\" cy=\"12.9\" r=\"8.4\" stroke=\"none\" fill=\"#ffffff\" />" +
|
|
68923
68937
|
"<circle cx=\"12.9\" cy=\"12.9\" r=\"9.6\" stroke=\"#5f5f5f\" stroke-width=\"2.4\" fill=\"none\" />");
|
|
68924
68938
|
DThemeDarkAtlas.add("picker_color_anchor", 28.2, 28.2, "<circle cx=\"14.1\" cy=\"14.1\" r=\"6\" stroke=\"none\" fill=\"#ffffff\" />" +
|
|
@@ -68926,9 +68940,7 @@ DThemeDarkAtlas.add("picker_color_anchor", 28.2, 28.2, "<circle cx=\"14.1\" cy=\
|
|
|
68926
68940
|
DThemeDarkAtlas.add("picker_color_direction", 12, 30, "<path d=\"M0.6 25.8 L 12.0375 5.9895\" stroke=\"#5f5f5f\" stroke-width=\"1.2\" fill=\"none\" />" +
|
|
68927
68941
|
"<path d=\"M8.5125 25.8 A 8.475 8.475 0 0 0 4.275 18.4605\" stroke=\"#5f5f5f\" stroke-width=\"1.2\" fill=\"none\" />" +
|
|
68928
68942
|
"<rect x=\"0.6\" y=\"24.6\" width=\"11.4375\" height=\"1.2\" rx=\"0.6\" ry=\"0.6\" stroke=\"none\" fill=\"#5f5f5f\" />");
|
|
68929
|
-
DThemeDarkAtlas.add("picker_color_standard", 18, 18, "
|
|
68930
|
-
"<rect x=\"0\" y=\"0\" width=\"18\" height=\"18\" fill=\"#fff\" stroke-width=\"1\" stroke=\"#eee\" />" +
|
|
68931
|
-
"</g>");
|
|
68943
|
+
DThemeDarkAtlas.add("picker_color_standard", 18, 18, newSvgRoundedRect(0, 0, 18, 18, "#fff", "#eee", 1));
|
|
68932
68944
|
/* eslint-enable prettier/prettier */
|
|
68933
68945
|
var DThemeDarkPickerColor = /** @class */ (function (_super) {
|
|
68934
68946
|
__extends(DThemeDarkPickerColor, _super);
|
|
@@ -69020,7 +69032,16 @@ var DThemeDarkPickerColor = /** @class */ (function (_super) {
|
|
|
69020
69032
|
return this.getBaseMargin();
|
|
69021
69033
|
};
|
|
69022
69034
|
DThemeDarkPickerColor.prototype.getInputLabelWidth = function () {
|
|
69023
|
-
return
|
|
69035
|
+
return 18;
|
|
69036
|
+
};
|
|
69037
|
+
DThemeDarkPickerColor.prototype.getSampleWidth = function () {
|
|
69038
|
+
return 42;
|
|
69039
|
+
};
|
|
69040
|
+
DThemeDarkPickerColor.prototype.getSampleHeight = function () {
|
|
69041
|
+
return 66;
|
|
69042
|
+
};
|
|
69043
|
+
DThemeDarkPickerColor.prototype.getSampleMargin = function () {
|
|
69044
|
+
return this.getBaseMargin();
|
|
69024
69045
|
};
|
|
69025
69046
|
DThemeDarkPickerColor.prototype.getSampleCheckerboardOldTexture = function () {
|
|
69026
69047
|
return DThemeDarkAtlas.mappings.picker_color_sample_checkerboard;
|
|
@@ -69115,12 +69136,8 @@ var loadThemeDarkEnUsButtonColor = function () {
|
|
|
69115
69136
|
* Copyright (C) 2019 Toshiba Corporation
|
|
69116
69137
|
* SPDX-License-Identifier: Apache-2.0
|
|
69117
69138
|
*/
|
|
69118
|
-
// Material Design icons by Google.
|
|
69119
|
-
// Apache license version 2.0.
|
|
69120
69139
|
/* eslint-disable prettier/prettier */
|
|
69121
|
-
DThemeDarkAtlas.add("button_color_gradient_sample", 21, 21,
|
|
69122
|
-
"<path d=\"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z\" fill=\"#fff\"/>" +
|
|
69123
|
-
"</g>");
|
|
69140
|
+
DThemeDarkAtlas.add("button_color_gradient_sample", 21, 21, newSvgRoundedRect(3, 3, 15, 15, "#fff", "#eee", 1));
|
|
69124
69141
|
/* eslint-enable prettier/prettier */
|
|
69125
69142
|
var formatter$7 = function () {
|
|
69126
69143
|
return "";
|
|
@@ -71203,8 +71220,13 @@ var DThemeDarkTableBodyCells = /** @class */ (function () {
|
|
|
71203
71220
|
return DThemeDarkConstants.COLOR;
|
|
71204
71221
|
};
|
|
71205
71222
|
DThemeDarkTableBodyCells.getAlpha = function (state) {
|
|
71206
|
-
if (state.
|
|
71207
|
-
|
|
71223
|
+
if (state.in(DTableState.HAS_DATA)) {
|
|
71224
|
+
if (state.inEnabled) {
|
|
71225
|
+
return 1.0;
|
|
71226
|
+
}
|
|
71227
|
+
else {
|
|
71228
|
+
return 0.5;
|
|
71229
|
+
}
|
|
71208
71230
|
}
|
|
71209
71231
|
return 0;
|
|
71210
71232
|
};
|
|
@@ -77361,10 +77383,11 @@ var DPickerColor = /** @class */ (function (_super) {
|
|
|
77361
77383
|
});
|
|
77362
77384
|
this._inputAndLabelAlpha = inputAndLabelAlpha;
|
|
77363
77385
|
// Samples
|
|
77364
|
-
var sampleWidth = (
|
|
77365
|
-
var sampleHeight =
|
|
77386
|
+
var sampleWidth = theme.getSampleWidth();
|
|
77387
|
+
var sampleHeight = theme.getSampleHeight();
|
|
77366
77388
|
var sampleX = paddingLeft + (mainWidth - inputMargin) * 0.5 + inputMargin;
|
|
77367
77389
|
var sampleY = inputY + (inputHeight + inputMargin + inputAndLabelAlpha.height - sampleHeight) * 0.5;
|
|
77390
|
+
var sampleMargin = theme.getSampleMargin();
|
|
77368
77391
|
var sampleCurrentCheckerboardSprite = new pixi_js.Sprite(theme.getSampleCheckerboardOldTexture());
|
|
77369
77392
|
this._sampleCurrentCheckerboardSprite = sampleCurrentCheckerboardSprite;
|
|
77370
77393
|
sampleCurrentCheckerboardSprite.x = sampleX;
|
|
@@ -77391,7 +77414,7 @@ var DPickerColor = /** @class */ (function (_super) {
|
|
|
77391
77414
|
this.addChild(sampleCurrentSprite);
|
|
77392
77415
|
var sampleNewCheckerboardSprite = new pixi_js.Sprite(theme.getSampleCheckerboardNewTexture());
|
|
77393
77416
|
this._sampleNewCheckerboardSprite = sampleNewCheckerboardSprite;
|
|
77394
|
-
sampleNewCheckerboardSprite.x = sampleX + sampleWidth;
|
|
77417
|
+
sampleNewCheckerboardSprite.x = sampleX + sampleWidth + sampleMargin;
|
|
77395
77418
|
sampleNewCheckerboardSprite.y = sampleY;
|
|
77396
77419
|
sampleNewCheckerboardSprite.width = sampleWidth;
|
|
77397
77420
|
sampleNewCheckerboardSprite.height = sampleHeight;
|
|
@@ -77399,7 +77422,7 @@ var DPickerColor = /** @class */ (function (_super) {
|
|
|
77399
77422
|
this.addChild(sampleNewCheckerboardSprite);
|
|
77400
77423
|
var sampleNewSprite = new pixi_js.Sprite(theme.getSampleNewTexture());
|
|
77401
77424
|
this._sampleNewSprite = sampleNewSprite;
|
|
77402
|
-
sampleNewSprite.x = sampleX + sampleWidth;
|
|
77425
|
+
sampleNewSprite.x = sampleX + sampleWidth + sampleMargin;
|
|
77403
77426
|
sampleNewSprite.y = sampleY;
|
|
77404
77427
|
sampleNewSprite.tint = this._new.color;
|
|
77405
77428
|
sampleNewSprite.alpha = this._new.alpha;
|
|
@@ -96683,6 +96706,7 @@ var DTableBody = /** @class */ (function (_super) {
|
|
|
96683
96706
|
// State
|
|
96684
96707
|
var rowState = row.state;
|
|
96685
96708
|
rowState.lock();
|
|
96709
|
+
rowState.add(DTableState.HAS_DATA);
|
|
96686
96710
|
rowState.set(DTableState.SELECTABLE, isRowSelectable);
|
|
96687
96711
|
rowState.set(DBaseState.ACTIVE, selection.contains(unmappedIndex));
|
|
96688
96712
|
rowState.remove(DBaseState.DISABLED);
|
|
@@ -96698,7 +96722,7 @@ var DTableBody = /** @class */ (function (_super) {
|
|
|
96698
96722
|
var rowState = row.state;
|
|
96699
96723
|
rowState.lock();
|
|
96700
96724
|
rowState.add(DBaseState.DISABLED);
|
|
96701
|
-
rowState.removeAll(DTableState.SELECTABLE, DBaseState.ACTIVE);
|
|
96725
|
+
rowState.removeAll(DTableState.HAS_DATA, DTableState.SELECTABLE, DBaseState.ACTIVE);
|
|
96702
96726
|
rowState.unlock();
|
|
96703
96727
|
// Data
|
|
96704
96728
|
row.unset();
|
|
@@ -96711,7 +96735,7 @@ var DTableBody = /** @class */ (function (_super) {
|
|
|
96711
96735
|
var rowState = row.state;
|
|
96712
96736
|
rowState.lock();
|
|
96713
96737
|
rowState.add(DBaseState.DISABLED);
|
|
96714
|
-
rowState.removeAll(DTableState.SELECTABLE, DBaseState.ACTIVE);
|
|
96738
|
+
rowState.removeAll(DTableState.HAS_DATA, DTableState.SELECTABLE, DBaseState.ACTIVE);
|
|
96715
96739
|
rowState.unlock();
|
|
96716
96740
|
// Data
|
|
96717
96741
|
row.unset();
|
package/dist/wcardinal-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.443.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -34257,8 +34257,16 @@
|
|
|
34257
34257
|
object.alpha = alpha;
|
|
34258
34258
|
result = true;
|
|
34259
34259
|
}
|
|
34260
|
+
if (!object.visible) {
|
|
34261
|
+
object.visible = true;
|
|
34262
|
+
result = true;
|
|
34263
|
+
}
|
|
34260
34264
|
return result;
|
|
34261
34265
|
}
|
|
34266
|
+
else if (object.visible) {
|
|
34267
|
+
object.visible = false;
|
|
34268
|
+
return true;
|
|
34269
|
+
}
|
|
34262
34270
|
}
|
|
34263
34271
|
}
|
|
34264
34272
|
return false;
|
|
@@ -56008,10 +56016,11 @@
|
|
|
56008
56016
|
});
|
|
56009
56017
|
this._inputAndLabelAlpha = inputAndLabelAlpha;
|
|
56010
56018
|
// Samples
|
|
56011
|
-
var sampleWidth = (
|
|
56012
|
-
var sampleHeight =
|
|
56019
|
+
var sampleWidth = theme.getSampleWidth();
|
|
56020
|
+
var sampleHeight = theme.getSampleHeight();
|
|
56013
56021
|
var sampleX = paddingLeft + (mainWidth - inputMargin) * 0.5 + inputMargin;
|
|
56014
56022
|
var sampleY = inputY + (inputHeight + inputMargin + inputAndLabelAlpha.height - sampleHeight) * 0.5;
|
|
56023
|
+
var sampleMargin = theme.getSampleMargin();
|
|
56015
56024
|
var sampleCurrentCheckerboardSprite = new pixi_js.Sprite(theme.getSampleCheckerboardOldTexture());
|
|
56016
56025
|
this._sampleCurrentCheckerboardSprite = sampleCurrentCheckerboardSprite;
|
|
56017
56026
|
sampleCurrentCheckerboardSprite.x = sampleX;
|
|
@@ -56038,7 +56047,7 @@
|
|
|
56038
56047
|
this.addChild(sampleCurrentSprite);
|
|
56039
56048
|
var sampleNewCheckerboardSprite = new pixi_js.Sprite(theme.getSampleCheckerboardNewTexture());
|
|
56040
56049
|
this._sampleNewCheckerboardSprite = sampleNewCheckerboardSprite;
|
|
56041
|
-
sampleNewCheckerboardSprite.x = sampleX + sampleWidth;
|
|
56050
|
+
sampleNewCheckerboardSprite.x = sampleX + sampleWidth + sampleMargin;
|
|
56042
56051
|
sampleNewCheckerboardSprite.y = sampleY;
|
|
56043
56052
|
sampleNewCheckerboardSprite.width = sampleWidth;
|
|
56044
56053
|
sampleNewCheckerboardSprite.height = sampleHeight;
|
|
@@ -56046,7 +56055,7 @@
|
|
|
56046
56055
|
this.addChild(sampleNewCheckerboardSprite);
|
|
56047
56056
|
var sampleNewSprite = new pixi_js.Sprite(theme.getSampleNewTexture());
|
|
56048
56057
|
this._sampleNewSprite = sampleNewSprite;
|
|
56049
|
-
sampleNewSprite.x = sampleX + sampleWidth;
|
|
56058
|
+
sampleNewSprite.x = sampleX + sampleWidth + sampleMargin;
|
|
56050
56059
|
sampleNewSprite.y = sampleY;
|
|
56051
56060
|
sampleNewSprite.tint = this._new.color;
|
|
56052
56061
|
sampleNewSprite.alpha = this._new.alpha;
|
|
@@ -73314,6 +73323,10 @@
|
|
|
73314
73323
|
* Cells of a right-most frozen column.
|
|
73315
73324
|
*/
|
|
73316
73325
|
FROZEN_END: "FROZEN_END",
|
|
73326
|
+
/**
|
|
73327
|
+
* Rows with data
|
|
73328
|
+
*/
|
|
73329
|
+
HAS_DATA: "HAS_DATA",
|
|
73317
73330
|
/**
|
|
73318
73331
|
* Header cells of sortable columns.
|
|
73319
73332
|
*/
|
|
@@ -75523,6 +75536,7 @@
|
|
|
75523
75536
|
// State
|
|
75524
75537
|
var rowState = row.state;
|
|
75525
75538
|
rowState.lock();
|
|
75539
|
+
rowState.add(DTableState.HAS_DATA);
|
|
75526
75540
|
rowState.set(DTableState.SELECTABLE, isRowSelectable);
|
|
75527
75541
|
rowState.set(DBaseState.ACTIVE, selection.contains(unmappedIndex));
|
|
75528
75542
|
rowState.remove(DBaseState.DISABLED);
|
|
@@ -75538,7 +75552,7 @@
|
|
|
75538
75552
|
var rowState = row.state;
|
|
75539
75553
|
rowState.lock();
|
|
75540
75554
|
rowState.add(DBaseState.DISABLED);
|
|
75541
|
-
rowState.removeAll(DTableState.SELECTABLE, DBaseState.ACTIVE);
|
|
75555
|
+
rowState.removeAll(DTableState.HAS_DATA, DTableState.SELECTABLE, DBaseState.ACTIVE);
|
|
75542
75556
|
rowState.unlock();
|
|
75543
75557
|
// Data
|
|
75544
75558
|
row.unset();
|
|
@@ -75551,7 +75565,7 @@
|
|
|
75551
75565
|
var rowState = row.state;
|
|
75552
75566
|
rowState.lock();
|
|
75553
75567
|
rowState.add(DBaseState.DISABLED);
|
|
75554
|
-
rowState.removeAll(DTableState.SELECTABLE, DBaseState.ACTIVE);
|
|
75568
|
+
rowState.removeAll(DTableState.HAS_DATA, DTableState.SELECTABLE, DBaseState.ACTIVE);
|
|
75555
75569
|
rowState.unlock();
|
|
75556
75570
|
// Data
|
|
75557
75571
|
row.unset();
|