@wcardinal/wcardinal-ui 0.433.0 → 0.435.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-layout-board.d.ts +16 -0
- package/dist/types/wcardinal/ui/index.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/dark/d-theme-dark-layout-board.d.ts +10 -0
- package/dist/types/wcardinal/ui/theme/dark/index-zz-zz.d.ts +1 -0
- package/dist/types/wcardinal/ui/theme/white/d-theme-white-layout-board.d.ts +10 -0
- package/dist/types/wcardinal/ui/theme/white/index-zz-zz.d.ts +1 -0
- package/dist/wcardinal/ui/d-layout-board.js +26 -0
- package/dist/wcardinal/ui/d-layout-board.js.map +1 -0
- package/dist/wcardinal/ui/index.js +1 -0
- package/dist/wcardinal/ui/index.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-diagram-canvas-editor.js +8 -6
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-diagram-canvas-editor.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-layout-board.js +29 -0
- package/dist/wcardinal/ui/theme/dark/d-theme-dark-layout-board.js.map +1 -0
- package/dist/wcardinal/ui/theme/dark/index-zz-zz.js +1 -0
- package/dist/wcardinal/ui/theme/dark/index-zz-zz.js.map +1 -1
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-layout.js +2 -0
- package/dist/wcardinal/ui/theme/dark/load/load-theme-dark-layout.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-diagram-canvas-editor.js +8 -6
- package/dist/wcardinal/ui/theme/white/d-theme-white-diagram-canvas-editor.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/d-theme-white-layout-board.js +29 -0
- package/dist/wcardinal/ui/theme/white/d-theme-white-layout-board.js.map +1 -0
- package/dist/wcardinal/ui/theme/white/index-zz-zz.js +1 -0
- package/dist/wcardinal/ui/theme/white/index-zz-zz.js.map +1 -1
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-layout.js +2 -0
- package/dist/wcardinal/ui/theme/white/load/load-theme-white-layout.js.map +1 -1
- package/dist/wcardinal-ui-theme-dark-en-us.js +36 -7
- 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 +36 -7
- 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 +36 -7
- package/dist/wcardinal-ui-theme-dark.min.js +2 -2
- package/dist/wcardinal-ui-theme-white-en-us.js +36 -7
- 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 +36 -7
- 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 +36 -7
- package/dist/wcardinal-ui-theme-white.min.js +2 -2
- package/dist/wcardinal-ui.cjs.js +95 -13
- package/dist/wcardinal-ui.js +25 -1
- 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.435.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -51859,6 +51859,31 @@ var loadThemeWhiteInputText = function () {
|
|
|
51859
51859
|
DThemeWhite.set("DInputText", DThemeWhiteInputText);
|
|
51860
51860
|
};
|
|
51861
51861
|
|
|
51862
|
+
/*
|
|
51863
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
51864
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
51865
|
+
*/
|
|
51866
|
+
var DThemeWhiteLayoutBoard = /** @class */ (function (_super) {
|
|
51867
|
+
__extends(DThemeWhiteLayoutBoard, _super);
|
|
51868
|
+
function DThemeWhiteLayoutBoard() {
|
|
51869
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
51870
|
+
}
|
|
51871
|
+
DThemeWhiteLayoutBoard.prototype.getBackgroundColor = function (state) {
|
|
51872
|
+
return null;
|
|
51873
|
+
};
|
|
51874
|
+
DThemeWhiteLayoutBoard.prototype.getBorderColor = function (state) {
|
|
51875
|
+
return null;
|
|
51876
|
+
};
|
|
51877
|
+
DThemeWhiteLayoutBoard.prototype.getInteractive = function () {
|
|
51878
|
+
return DBaseInteractive.CHILDREN;
|
|
51879
|
+
};
|
|
51880
|
+
DThemeWhiteLayoutBoard.prototype.newState = function (state) {
|
|
51881
|
+
_super.prototype.newState.call(this, state);
|
|
51882
|
+
state.isFocusable = false;
|
|
51883
|
+
};
|
|
51884
|
+
return DThemeWhiteLayoutBoard;
|
|
51885
|
+
}(DThemeWhiteBase));
|
|
51886
|
+
|
|
51862
51887
|
/*
|
|
51863
51888
|
* Copyright (C) 2019 Toshiba Corporation
|
|
51864
51889
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -51902,6 +51927,7 @@ var loadThemeWhiteLayout = function () {
|
|
|
51902
51927
|
DThemeWhite.set("DLayoutHorizontal", DThemeWhiteLayoutHorizontal);
|
|
51903
51928
|
DThemeWhite.set("DLayoutSpace", DThemeWhiteLayoutSpace);
|
|
51904
51929
|
DThemeWhite.set("DLayoutVertical", DThemeWhiteLayoutVertical);
|
|
51930
|
+
DThemeWhite.set("DLayoutBoard", DThemeWhiteLayoutBoard);
|
|
51905
51931
|
};
|
|
51906
51932
|
|
|
51907
51933
|
/*
|
|
@@ -56321,12 +56347,14 @@ var toGridScale$1 = function (scale) {
|
|
|
56321
56347
|
if (scale <= 0 || 1 <= scale) {
|
|
56322
56348
|
return 1;
|
|
56323
56349
|
}
|
|
56324
|
-
var
|
|
56325
|
-
|
|
56326
|
-
|
|
56327
|
-
|
|
56328
|
-
|
|
56329
|
-
|
|
56350
|
+
var s = 1 / scale;
|
|
56351
|
+
s = s | (s >> 1);
|
|
56352
|
+
s = s | (s >> 2);
|
|
56353
|
+
s = s | (s >> 4);
|
|
56354
|
+
s = s | (s >> 8);
|
|
56355
|
+
s = s | (s >> 16);
|
|
56356
|
+
s = s | (s >> 32);
|
|
56357
|
+
return s - (s >> 1);
|
|
56330
56358
|
};
|
|
56331
56359
|
var toGridSize$1 = function (grid, width, height, scale) {
|
|
56332
56360
|
var canvas = Math.max(width, height);
|
|
@@ -62880,6 +62908,31 @@ var loadThemeDarkInputText = function () {
|
|
|
62880
62908
|
DThemeDark.set("DInputText", DThemeDarkInputText);
|
|
62881
62909
|
};
|
|
62882
62910
|
|
|
62911
|
+
/*
|
|
62912
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
62913
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
62914
|
+
*/
|
|
62915
|
+
var DThemeDarkLayoutBoard = /** @class */ (function (_super) {
|
|
62916
|
+
__extends(DThemeDarkLayoutBoard, _super);
|
|
62917
|
+
function DThemeDarkLayoutBoard() {
|
|
62918
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
62919
|
+
}
|
|
62920
|
+
DThemeDarkLayoutBoard.prototype.getBackgroundColor = function (state) {
|
|
62921
|
+
return null;
|
|
62922
|
+
};
|
|
62923
|
+
DThemeDarkLayoutBoard.prototype.getBorderColor = function (state) {
|
|
62924
|
+
return null;
|
|
62925
|
+
};
|
|
62926
|
+
DThemeDarkLayoutBoard.prototype.getInteractive = function () {
|
|
62927
|
+
return DBaseInteractive.CHILDREN;
|
|
62928
|
+
};
|
|
62929
|
+
DThemeDarkLayoutBoard.prototype.newState = function (state) {
|
|
62930
|
+
_super.prototype.newState.call(this, state);
|
|
62931
|
+
state.isFocusable = false;
|
|
62932
|
+
};
|
|
62933
|
+
return DThemeDarkLayoutBoard;
|
|
62934
|
+
}(DThemeDarkBase));
|
|
62935
|
+
|
|
62883
62936
|
/*
|
|
62884
62937
|
* Copyright (C) 2019 Toshiba Corporation
|
|
62885
62938
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -62923,6 +62976,7 @@ var loadThemeDarkLayout = function () {
|
|
|
62923
62976
|
DThemeDark.set("DLayoutHorizontal", DThemeDarkLayoutHorizontal);
|
|
62924
62977
|
DThemeDark.set("DLayoutSpace", DThemeDarkLayoutSpace);
|
|
62925
62978
|
DThemeDark.set("DLayoutVertical", DThemeDarkLayoutVertical);
|
|
62979
|
+
DThemeDark.set("DLayoutBoard", DThemeDarkLayoutBoard);
|
|
62926
62980
|
};
|
|
62927
62981
|
|
|
62928
62982
|
/*
|
|
@@ -66866,12 +66920,14 @@ var toGridScale = function (scale) {
|
|
|
66866
66920
|
if (scale <= 0 || 1 <= scale) {
|
|
66867
66921
|
return 1;
|
|
66868
66922
|
}
|
|
66869
|
-
var
|
|
66870
|
-
|
|
66871
|
-
|
|
66872
|
-
|
|
66873
|
-
|
|
66874
|
-
|
|
66923
|
+
var s = 1 / scale;
|
|
66924
|
+
s = s | (s >> 1);
|
|
66925
|
+
s = s | (s >> 2);
|
|
66926
|
+
s = s | (s >> 4);
|
|
66927
|
+
s = s | (s >> 8);
|
|
66928
|
+
s = s | (s >> 16);
|
|
66929
|
+
s = s | (s >> 32);
|
|
66930
|
+
return s - (s >> 1);
|
|
66875
66931
|
};
|
|
66876
66932
|
var toGridSize = function (grid, width, height, scale) {
|
|
66877
66933
|
var canvas = Math.max(width, height);
|
|
@@ -90067,6 +90123,29 @@ var DInputTextArea = /** @class */ (function (_super) {
|
|
|
90067
90123
|
return DInputTextArea;
|
|
90068
90124
|
}(DInput));
|
|
90069
90125
|
|
|
90126
|
+
/*
|
|
90127
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
90128
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
90129
|
+
*/
|
|
90130
|
+
/**
|
|
90131
|
+
* A board for layouting elements.
|
|
90132
|
+
* Unlike {@link DLayoutVertical} and {@link DLayoutHorizontal},
|
|
90133
|
+
* this class doesn't change the position and the size of children.
|
|
90134
|
+
* Unlike {@link DBase} and {@link DBoard}, this class doesn't have
|
|
90135
|
+
* the background, the border, and the outline. And its children are
|
|
90136
|
+
* interactive by default.
|
|
90137
|
+
*/
|
|
90138
|
+
var DLayoutBoard = /** @class */ (function (_super) {
|
|
90139
|
+
__extends(DLayoutBoard, _super);
|
|
90140
|
+
function DLayoutBoard() {
|
|
90141
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
90142
|
+
}
|
|
90143
|
+
DLayoutBoard.prototype.getType = function () {
|
|
90144
|
+
return "DLayoutBoard";
|
|
90145
|
+
};
|
|
90146
|
+
return DLayoutBoard;
|
|
90147
|
+
}(DBase));
|
|
90148
|
+
|
|
90070
90149
|
/*
|
|
90071
90150
|
* Copyright (C) 2019 Toshiba Corporation
|
|
90072
90151
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -101582,6 +101661,7 @@ exports.DInputTextAndLabel = DInputTextAndLabel;
|
|
|
101582
101661
|
exports.DInputTextArea = DInputTextArea;
|
|
101583
101662
|
exports.DItemUpdater = DItemUpdater;
|
|
101584
101663
|
exports.DLayout = DLayout;
|
|
101664
|
+
exports.DLayoutBoard = DLayoutBoard;
|
|
101585
101665
|
exports.DLayoutClearType = DLayoutClearType;
|
|
101586
101666
|
exports.DLayoutDirection = DLayoutDirection;
|
|
101587
101667
|
exports.DLayoutHorizontal = DLayoutHorizontal;
|
|
@@ -101937,6 +102017,7 @@ exports.DThemeDarkJaJpPickerDate = DThemeDarkJaJpPickerDate;
|
|
|
101937
102017
|
exports.DThemeDarkJaJpPickerDatetime = DThemeDarkJaJpPickerDatetime;
|
|
101938
102018
|
exports.DThemeDarkJaJpPickerTime = DThemeDarkJaJpPickerTime;
|
|
101939
102019
|
exports.DThemeDarkLayout = DThemeDarkLayout;
|
|
102020
|
+
exports.DThemeDarkLayoutBoard = DThemeDarkLayoutBoard;
|
|
101940
102021
|
exports.DThemeDarkLayoutHorizontal = DThemeDarkLayoutHorizontal;
|
|
101941
102022
|
exports.DThemeDarkLayoutSpace = DThemeDarkLayoutSpace;
|
|
101942
102023
|
exports.DThemeDarkLayoutVertical = DThemeDarkLayoutVertical;
|
|
@@ -102208,6 +102289,7 @@ exports.DThemeWhiteJaJpPickerDate = DThemeWhiteJaJpPickerDate;
|
|
|
102208
102289
|
exports.DThemeWhiteJaJpPickerDatetime = DThemeWhiteJaJpPickerDatetime;
|
|
102209
102290
|
exports.DThemeWhiteJaJpPickerTime = DThemeWhiteJaJpPickerTime;
|
|
102210
102291
|
exports.DThemeWhiteLayout = DThemeWhiteLayout;
|
|
102292
|
+
exports.DThemeWhiteLayoutBoard = DThemeWhiteLayoutBoard;
|
|
102211
102293
|
exports.DThemeWhiteLayoutHorizontal = DThemeWhiteLayoutHorizontal;
|
|
102212
102294
|
exports.DThemeWhiteLayoutSpace = DThemeWhiteLayoutSpace;
|
|
102213
102295
|
exports.DThemeWhiteLayoutVertical = DThemeWhiteLayoutVertical;
|
package/dist/wcardinal-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Winter Cardinal UI v0.
|
|
2
|
+
Winter Cardinal UI v0.435.0
|
|
3
3
|
Copyright (C) 2019 Toshiba Corporation
|
|
4
4
|
SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
|
|
@@ -68882,6 +68882,29 @@
|
|
|
68882
68882
|
return DInputTextArea;
|
|
68883
68883
|
}(DInput));
|
|
68884
68884
|
|
|
68885
|
+
/*
|
|
68886
|
+
* Copyright (C) 2019 Toshiba Corporation
|
|
68887
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
68888
|
+
*/
|
|
68889
|
+
/**
|
|
68890
|
+
* A board for layouting elements.
|
|
68891
|
+
* Unlike {@link DLayoutVertical} and {@link DLayoutHorizontal},
|
|
68892
|
+
* this class doesn't change the position and the size of children.
|
|
68893
|
+
* Unlike {@link DBase} and {@link DBoard}, this class doesn't have
|
|
68894
|
+
* the background, the border, and the outline. And its children are
|
|
68895
|
+
* interactive by default.
|
|
68896
|
+
*/
|
|
68897
|
+
var DLayoutBoard = /** @class */ (function (_super) {
|
|
68898
|
+
__extends(DLayoutBoard, _super);
|
|
68899
|
+
function DLayoutBoard() {
|
|
68900
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
68901
|
+
}
|
|
68902
|
+
DLayoutBoard.prototype.getType = function () {
|
|
68903
|
+
return "DLayoutBoard";
|
|
68904
|
+
};
|
|
68905
|
+
return DLayoutBoard;
|
|
68906
|
+
}(DBase));
|
|
68907
|
+
|
|
68885
68908
|
/*
|
|
68886
68909
|
* Copyright (C) 2019 Toshiba Corporation
|
|
68887
68910
|
* SPDX-License-Identifier: Apache-2.0
|
|
@@ -81065,6 +81088,7 @@
|
|
|
81065
81088
|
DInputText: DInputText,
|
|
81066
81089
|
DInput: DInput,
|
|
81067
81090
|
DItemUpdater: DItemUpdater,
|
|
81091
|
+
DLayoutBoard: DLayoutBoard,
|
|
81068
81092
|
DLayoutClearType: DLayoutClearType,
|
|
81069
81093
|
DLayoutDirection: DLayoutDirection,
|
|
81070
81094
|
DLayoutHorizontal: DLayoutHorizontal,
|