@wcardinal/wcardinal-ui 0.395.0 → 0.396.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/wcardinal/ui/d-application-layer.js +7 -1
- package/dist/wcardinal/ui/d-application-layer.js.map +1 -1
- package/dist/wcardinal/ui/d-item-updater.js +1 -1
- package/dist/wcardinal/ui/d-item-updater.js.map +1 -1
- package/dist/wcardinal/ui/d-table-body.js +1 -1
- package/dist/wcardinal/ui/d-table-body.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark-en-us.js +1 -1
- package/dist/wcardinal-ui-theme-dark-en-us.min.js +1 -1
- package/dist/wcardinal-ui-theme-dark-ja-jp.js +1 -1
- package/dist/wcardinal-ui-theme-dark-ja-jp.min.js +1 -1
- package/dist/wcardinal-ui-theme-dark.js +1 -1
- package/dist/wcardinal-ui-theme-dark.min.js +1 -1
- package/dist/wcardinal-ui-theme-white-en-us.js +1 -1
- package/dist/wcardinal-ui-theme-white-en-us.min.js +1 -1
- package/dist/wcardinal-ui-theme-white-ja-jp.js +1 -1
- package/dist/wcardinal-ui-theme-white-ja-jp.min.js +1 -1
- package/dist/wcardinal-ui-theme-white.js +1 -1
- package/dist/wcardinal-ui-theme-white.min.js +1 -1
- package/dist/wcardinal-ui.cjs.js +10 -4
- package/dist/wcardinal-ui.js +10 -4
- package/dist/wcardinal-ui.min.js +2 -2
- package/dist/wcardinal-ui.min.js.map +1 -1
- package/package.json +1 -1
package/dist/wcardinal-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.396.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -49188,7 +49188,13 @@
|
|
|
49188
49188
|
};
|
|
49189
49189
|
DApplicationLayer.prototype.onResize = function () {
|
|
49190
49190
|
var options = this._options;
|
|
49191
|
-
var
|
|
49191
|
+
var bboxes = this._rootElement.getClientRects();
|
|
49192
|
+
if (bboxes.length <= 0) {
|
|
49193
|
+
// The root element size is (0, 0) and not visible.
|
|
49194
|
+
// In this case, skip the resizing.
|
|
49195
|
+
return;
|
|
49196
|
+
}
|
|
49197
|
+
var bbox = bboxes[0];
|
|
49192
49198
|
var newWidth = options.isWidthFixed() ? options.getWidth() : bbox.width;
|
|
49193
49199
|
var newHeight = options.isHeightFixed() ? options.getHeight() : bbox.height;
|
|
49194
49200
|
this.renderer.resize(newWidth, newHeight);
|
|
@@ -53443,7 +53449,7 @@
|
|
|
53443
53449
|
newItemIndexEnd += 1;
|
|
53444
53450
|
}
|
|
53445
53451
|
var newItemCount = newItemIndexEnd - newItemIndexStart;
|
|
53446
|
-
if (newItemCount < oldItemCount
|
|
53452
|
+
if (newItemCount < oldItemCount) {
|
|
53447
53453
|
newItemCount = oldItemCount;
|
|
53448
53454
|
newItemIndexEnd = newItemIndexStart + newItemCount;
|
|
53449
53455
|
}
|
|
@@ -71935,7 +71941,7 @@
|
|
|
71935
71941
|
var newRowIndexMappedEnd = Math.floor(newRowIndexMappedUpperBound);
|
|
71936
71942
|
newRowIndexMappedEnd += (newRowIndexMappedEnd - newRowIndexMappedStart) % 2 === 1 ? 3 : 2;
|
|
71937
71943
|
var newRowCount = newRowIndexMappedEnd - newRowIndexMappedStart;
|
|
71938
|
-
if (newRowCount < oldRowCount
|
|
71944
|
+
if (newRowCount < oldRowCount) {
|
|
71939
71945
|
newRowCount = oldRowCount;
|
|
71940
71946
|
newRowIndexMappedEnd = newRowIndexMappedStart + newRowCount;
|
|
71941
71947
|
}
|