@wcardinal/wcardinal-ui 0.305.0 → 0.306.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.
Files changed (72) hide show
  1. package/dist/types/wcardinal/ui/d-controller-focus-impl.d.ts +2 -1
  2. package/dist/types/wcardinal/ui/d-controller-focus.d.ts +2 -1
  3. package/dist/types/wcardinal/ui/d-controller-keyboard-impl.d.ts +11 -0
  4. package/dist/types/wcardinal/ui/d-controller-keyboard.d.ts +1 -7
  5. package/dist/types/wcardinal/ui/index.d.ts +1 -0
  6. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-size-editor.d.ts +2 -2
  7. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-size-shadowed.d.ts +2 -2
  8. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-size-viewer.d.ts +2 -2
  9. package/dist/types/wcardinal/ui/shape/variant/e-shape-group-size.d.ts +2 -2
  10. package/dist/wcardinal/ui/d-controller-focus-impl.js +10 -3
  11. package/dist/wcardinal/ui/d-controller-focus-impl.js.map +1 -1
  12. package/dist/wcardinal/ui/d-controller-focus.js.map +1 -1
  13. package/dist/wcardinal/ui/d-controller-keyboard-impl.js +66 -0
  14. package/dist/wcardinal/ui/d-controller-keyboard-impl.js.map +1 -0
  15. package/dist/wcardinal/ui/d-controller-keyboard.js +1 -61
  16. package/dist/wcardinal/ui/d-controller-keyboard.js.map +1 -1
  17. package/dist/wcardinal/ui/d-controllers.js +2 -2
  18. package/dist/wcardinal/ui/d-controllers.js.map +1 -1
  19. package/dist/wcardinal/ui/index.js +1 -0
  20. package/dist/wcardinal/ui/index.js.map +1 -1
  21. package/dist/wcardinal/ui/shape/variant/e-shape-embedded-layer.js +8 -1
  22. package/dist/wcardinal/ui/shape/variant/e-shape-embedded-layer.js.map +1 -1
  23. package/dist/wcardinal/ui/shape/variant/e-shape-group-size-editor.js +2 -1
  24. package/dist/wcardinal/ui/shape/variant/e-shape-group-size-editor.js.map +1 -1
  25. package/dist/wcardinal/ui/shape/variant/e-shape-group-size-shadowed.js +2 -2
  26. package/dist/wcardinal/ui/shape/variant/e-shape-group-size-shadowed.js.map +1 -1
  27. package/dist/wcardinal/ui/shape/variant/e-shape-group-size-viewer.js +2 -1
  28. package/dist/wcardinal/ui/shape/variant/e-shape-group-size-viewer.js.map +1 -1
  29. package/dist/wcardinal/ui/shape/variant/e-shape-group-size.js.map +1 -1
  30. package/dist/wcardinal/ui/theme/dark/d-theme-dark-base.js +15 -9
  31. package/dist/wcardinal/ui/theme/dark/d-theme-dark-base.js.map +1 -1
  32. package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-processing-message.js +0 -8
  33. package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-processing-message.js.map +1 -1
  34. package/dist/wcardinal/ui/theme/dark/d-theme-dark-list-items.js +5 -5
  35. package/dist/wcardinal/ui/theme/dark/d-theme-dark-list-items.js.map +1 -1
  36. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cells.js +2 -2
  37. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cells.js.map +1 -1
  38. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-row.js +1 -1
  39. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-row.js.map +1 -1
  40. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body.js +1 -1
  41. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body.js.map +1 -1
  42. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-header-cell.js +1 -1
  43. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-header-cell.js.map +1 -1
  44. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-header.js +2 -2
  45. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-header.js.map +1 -1
  46. package/dist/wcardinal/ui/theme/white/d-theme-white-base.js +15 -9
  47. package/dist/wcardinal/ui/theme/white/d-theme-white-base.js.map +1 -1
  48. package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-processing-message.js +0 -8
  49. package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-processing-message.js.map +1 -1
  50. package/dist/wcardinal/ui/theme/white/d-theme-white-list-items.js +1 -1
  51. package/dist/wcardinal/ui/theme/white/d-theme-white-list-items.js.map +1 -1
  52. package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cells.js +2 -2
  53. package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cells.js.map +1 -1
  54. package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-row.js +1 -1
  55. package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-row.js.map +1 -1
  56. package/dist/wcardinal/ui/theme/white/d-theme-white-table-body.js +1 -1
  57. package/dist/wcardinal/ui/theme/white/d-theme-white-table-body.js.map +1 -1
  58. package/dist/wcardinal/ui/theme/white/d-theme-white-table-header-cell.js +1 -1
  59. package/dist/wcardinal/ui/theme/white/d-theme-white-table-header-cell.js.map +1 -1
  60. package/dist/wcardinal/ui/theme/white/d-theme-white-table-header.js +2 -2
  61. package/dist/wcardinal/ui/theme/white/d-theme-white-table-header.js.map +1 -1
  62. package/dist/wcardinal-ui-theme-dark.js +28 -30
  63. package/dist/wcardinal-ui-theme-dark.min.js +2 -2
  64. package/dist/wcardinal-ui-theme-dark.min.js.map +1 -1
  65. package/dist/wcardinal-ui-theme-white.js +24 -26
  66. package/dist/wcardinal-ui-theme-white.min.js +2 -2
  67. package/dist/wcardinal-ui-theme-white.min.js.map +1 -1
  68. package/dist/wcardinal-ui.cjs.js +82 -72
  69. package/dist/wcardinal-ui.js +32 -18
  70. package/dist/wcardinal-ui.min.js +2 -2
  71. package/dist/wcardinal-ui.min.js.map +1 -1
  72. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.305.0
2
+ Winter Cardinal UI v0.306.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -16437,7 +16437,7 @@ var EShapeGroupSizeEditor = /** @class */ (function () {
16437
16437
  this._isFittable = isFittable;
16438
16438
  }
16439
16439
  EShapeGroupSizeEditor.prototype.init = function () {
16440
- // DO NOTHING
16440
+ return this;
16441
16441
  };
16442
16442
  Object.defineProperty(EShapeGroupSizeEditor.prototype, "x", {
16443
16443
  get: function () {
@@ -16517,6 +16517,7 @@ var EShapeGroupSizeEditor = /** @class */ (function () {
16517
16517
  if (this._isFittable) {
16518
16518
  this.doFit();
16519
16519
  }
16520
+ return this;
16520
16521
  };
16521
16522
  EShapeGroupSizeEditor.prototype.doFit = function () {
16522
16523
  var parent = this._parent;
@@ -16687,6 +16688,7 @@ var EShapeGroupSizeViewer = /** @class */ (function () {
16687
16688
  EShapeGroupSizeViewer.prototype.init = function () {
16688
16689
  this._base.copyFrom(this);
16689
16690
  this.onChange();
16691
+ return this;
16690
16692
  };
16691
16693
  EShapeGroupSizeViewer.prototype.clone = function () {
16692
16694
  var base = this._base;
@@ -16729,7 +16731,7 @@ var EShapeGroupSizeViewer = /** @class */ (function () {
16729
16731
  return p.x === this._x && p.y === this._y;
16730
16732
  };
16731
16733
  EShapeGroupSizeViewer.prototype.fit = function () {
16732
- // DO NOTHING
16734
+ return this;
16733
16735
  };
16734
16736
  EShapeGroupSizeViewer.prototype.onChange = function () {
16735
16737
  var base = this._base;
@@ -21235,7 +21237,14 @@ var EShapeEmbeddedLayer = /** @class */ (function (_super) {
21235
21237
  }
21236
21238
  result.onChildTransformChange();
21237
21239
  result.toDirty();
21238
- result.size.init();
21240
+ var size = this.size;
21241
+ if (size instanceof EShapeGroupSizeViewer) {
21242
+ var base = size.base;
21243
+ result.size.set(base.x, base.y).init().set(size.x, size.y);
21244
+ }
21245
+ else {
21246
+ result.size.init();
21247
+ }
21239
21248
  return result;
21240
21249
  };
21241
21250
  EShapeEmbeddedLayer.prototype.newClone = function () {
@@ -38461,7 +38470,7 @@ var EShapeGroupSizeShadowed = /** @class */ (function () {
38461
38470
  this._size = new pixi_js.Point(x, y);
38462
38471
  }
38463
38472
  EShapeGroupSizeShadowed.prototype.init = function () {
38464
- // DO NOTHING
38473
+ return this;
38465
38474
  };
38466
38475
  Object.defineProperty(EShapeGroupSizeShadowed.prototype, "x", {
38467
38476
  get: function () {
@@ -38538,7 +38547,7 @@ var EShapeGroupSizeShadowed = /** @class */ (function () {
38538
38547
  return this._size.equals(point);
38539
38548
  };
38540
38549
  EShapeGroupSizeShadowed.prototype.fit = function () {
38541
- // DO NOTHING
38550
+ return this;
38542
38551
  };
38543
38552
  EShapeGroupSizeShadowed.prototype.onChange = function (ox, oy) {
38544
38553
  this._parent.onSizeChange();
@@ -45815,11 +45824,17 @@ var newShadow$1 = function (id, radius, opacity) {
45815
45824
  DThemeWhiteAtlas.add(id, d, d, "<g>" +
45816
45825
  "<defs>" +
45817
45826
  "<radialGradient id=\"".concat(id, "_filter\">") +
45818
- "<stop offset=\"0%\" stop-color=\"black\" stop-opacity=\"".concat(opacity, "\" />") +
45819
- "<stop offset=\"20%\" stop-color=\"black\" stop-opacity=\"".concat(opacity, "\" />") +
45820
- "<stop offset=\"40%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.368, "\" />") +
45821
- "<stop offset=\"60%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.135, "\" />") +
45822
- "<stop offset=\"80%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.050, "\" />") +
45827
+ "<stop offset=\"0%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.368, "\" />") +
45828
+ "<stop offset=\"30%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.368, "\" />") +
45829
+ "<stop offset=\"37%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.368, "\" />") +
45830
+ "<stop offset=\"44%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.368, "\" />") + // Math.exp(-(p-30)/14)
45831
+ "<stop offset=\"51%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.223, "\" />") +
45832
+ "<stop offset=\"58%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.135, "\" />") +
45833
+ "<stop offset=\"65%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.082, "\" />") +
45834
+ "<stop offset=\"72%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.050, "\" />") +
45835
+ "<stop offset=\"79%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.030, "\" />") +
45836
+ "<stop offset=\"86%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.018, "\" />") +
45837
+ "<stop offset=\"93%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.011, "\" />") +
45823
45838
  "<stop offset=\"100%\" stop-color=\"black\" stop-opacity=\"0\" />" +
45824
45839
  "</radialGradient>" +
45825
45840
  "</defs>" +
@@ -45827,8 +45842,8 @@ var newShadow$1 = function (id, radius, opacity) {
45827
45842
  "</g>");
45828
45843
  /* eslint-enable prettier/prettier */
45829
45844
  };
45830
- newShadow$1("shadow_weak", 12, 0.15);
45831
- newShadow$1("shadow", 24, 0.15);
45845
+ newShadow$1("shadow_weak", 24, 0.3);
45846
+ newShadow$1("shadow", 48, 0.3);
45832
45847
  /* eslint-disable prettier/prettier */
45833
45848
  DThemeWhiteAtlas.add("background", 16, 16, "<g>" +
45834
45849
  "<defs>" +
@@ -45942,10 +45957,10 @@ var DThemeWhiteBase = /** @class */ (function (_super) {
45942
45957
  return -1;
45943
45958
  };
45944
45959
  DThemeWhiteBase.prototype.newShadow = function () {
45945
- return new DShadowImpl(DThemeWhiteAtlas.mappings.shadow, 24, 24, 0, 9.6);
45960
+ return new DShadowImpl(DThemeWhiteAtlas.mappings.shadow, 48, 48, 0, 4.8);
45946
45961
  };
45947
45962
  DThemeWhiteBase.prototype.newShadowWeak = function () {
45948
- return new DShadowImpl(DThemeWhiteAtlas.mappings.shadow_weak, 12, 12, 0, 4.8);
45963
+ return new DShadowImpl(DThemeWhiteAtlas.mappings.shadow_weak, 24, 24, 0, 2.4);
45949
45964
  };
45950
45965
  DThemeWhiteBase.prototype.getCursor = function (state) {
45951
45966
  return "";
@@ -48533,7 +48548,7 @@ var DThemeWhiteListItems = /** @class */ (function () {
48533
48548
  }
48534
48549
  };
48535
48550
  DThemeWhiteListItems.prototype.getHeight = function () {
48536
- return 30;
48551
+ return 40;
48537
48552
  };
48538
48553
  DThemeWhiteListItems.prototype.getCornerMask = function () {
48539
48554
  return DCornerMask.ALL;
@@ -50756,11 +50771,6 @@ var DThemeWhiteDialogProcessing = /** @class */ (function (_super) {
50756
50771
  DThemeWhiteAtlas.add("success_mark", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
50757
50772
  "<path d=\"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z\" fill=\"#fff\" />" +
50758
50773
  "</g>");
50759
- DThemeWhiteAtlas.add("fail_mark", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
50760
- "<path d=\"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52" +
50761
- " 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8" +
50762
- "-3.58 8-8 8z\" fill=\"#fff\" />" +
50763
- "</g>");
50764
50774
  /* eslint-enable prettier/prettier */
50765
50775
  var DThemeWhiteDialogProcessingMessage = /** @class */ (function (_super) {
50766
50776
  __extends(DThemeWhiteDialogProcessingMessage, _super);
@@ -50774,9 +50784,6 @@ var DThemeWhiteDialogProcessingMessage = /** @class */ (function (_super) {
50774
50784
  if (state.isSucceeded) {
50775
50785
  return DThemeWhiteAtlas.mappings.success_mark;
50776
50786
  }
50777
- else if (state.isFailed) {
50778
- return DThemeWhiteAtlas.mappings.fail_mark;
50779
- }
50780
50787
  return null;
50781
50788
  };
50782
50789
  DThemeWhiteDialogProcessingMessage.prototype.getImageTintAlpha = function (state) {
@@ -53710,7 +53717,7 @@ var DThemeWhiteTableBody = /** @class */ (function (_super) {
53710
53717
  return null;
53711
53718
  };
53712
53719
  DThemeWhiteTableBody.prototype.getRowHeight = function () {
53713
- return 30;
53720
+ return 40;
53714
53721
  };
53715
53722
  DThemeWhiteTableBody.prototype.getInteractive = function () {
53716
53723
  return DBaseInteractive.BOTH;
@@ -53857,8 +53864,8 @@ var DThemeWhiteTableBodyCells = /** @class */ (function () {
53857
53864
  var _a;
53858
53865
  _a = DThemeWhiteTableBodyCells;
53859
53866
  DThemeWhiteTableBodyCells.BACKGROUND_COLOR = DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD;
53860
- DThemeWhiteTableBodyCells.BACKGROUND_COLOR_FROZEN_EVEN = UtilRgb.darken(_a.BACKGROUND_COLOR, 0.01);
53861
- DThemeWhiteTableBodyCells.BACKGROUND_COLOR_FROZEN_ODD = UtilRgb.darken(_a.BACKGROUND_COLOR_FROZEN_EVEN, 0.01);
53867
+ DThemeWhiteTableBodyCells.BACKGROUND_COLOR_FROZEN_EVEN = UtilRgb.darken(_a.BACKGROUND_COLOR, 0.015);
53868
+ DThemeWhiteTableBodyCells.BACKGROUND_COLOR_FROZEN_ODD = UtilRgb.darken(_a.BACKGROUND_COLOR_FROZEN_EVEN, 0.015);
53862
53869
  DThemeWhiteTableBodyCells.BORDER_COLOR = UtilRgb.darken(_a.BACKGROUND_COLOR, 0.035);
53863
53870
  DThemeWhiteTableBodyCells.BORDER_COLOR_FROZEN = UtilRgb.darken(_a.BORDER_COLOR, 0.035);
53864
53871
  return DThemeWhiteTableBodyCells;
@@ -54848,7 +54855,7 @@ var DThemeWhiteTableBodyRow = /** @class */ (function (_super) {
54848
54855
  function DThemeWhiteTableBodyRow() {
54849
54856
  var _this = _super !== null && _super.apply(this, arguments) || this;
54850
54857
  _this.BACKGROUND_COLOR_EVEN = DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD;
54851
- _this.BACKGROUND_COLOR_ODD = UtilRgb.darken(DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD, 0.01);
54858
+ _this.BACKGROUND_COLOR_ODD = UtilRgb.darken(DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD, 0.015);
54852
54859
  return _this;
54853
54860
  }
54854
54861
  DThemeWhiteTableBodyRow.prototype.getBackgroundColor = function (state) {
@@ -54879,7 +54886,7 @@ var DThemeWhiteTableHeader = /** @class */ (function (_super) {
54879
54886
  __extends(DThemeWhiteTableHeader, _super);
54880
54887
  function DThemeWhiteTableHeader() {
54881
54888
  var _this = _super !== null && _super.apply(this, arguments) || this;
54882
- _this.BACKGROUND_COLOR = UtilRgb.darken(DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD, 0.02);
54889
+ _this.BACKGROUND_COLOR = UtilRgb.darken(DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD, 0.03);
54883
54890
  _this.BORDER_COLOR = UtilRgb.darken(DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD, 0.055);
54884
54891
  return _this;
54885
54892
  }
@@ -54901,7 +54908,7 @@ var DThemeWhiteTableHeader = /** @class */ (function (_super) {
54901
54908
  return "100%";
54902
54909
  };
54903
54910
  DThemeWhiteTableHeader.prototype.getHeight = function () {
54904
- return 30;
54911
+ return 40;
54905
54912
  };
54906
54913
  return DThemeWhiteTableHeader;
54907
54914
  }(DThemeWhiteTableRow));
@@ -54936,7 +54943,7 @@ var DThemeWhiteTableHeaderCell = /** @class */ (function (_super) {
54936
54943
  __extends(DThemeWhiteTableHeaderCell, _super);
54937
54944
  function DThemeWhiteTableHeaderCell() {
54938
54945
  var _this = _super !== null && _super.apply(this, arguments) || this;
54939
- _this.BACKGROUND_COLOR = UtilRgb.darken(DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD, 0.02);
54946
+ _this.BACKGROUND_COLOR = UtilRgb.darken(DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD, 0.03);
54940
54947
  _this.BACKGROUND_COLOR_HOVERED = UtilRgb.darken(_this.BACKGROUND_COLOR, 0.017);
54941
54948
  _this.BACKGROUND_COLOR_PRESSED = UtilRgb.darken(_this.BACKGROUND_COLOR, 0.034);
54942
54949
  _this.BACKGROUND_COLOR_FROZEN = UtilRgb.darken(_this.BACKGROUND_COLOR, 0.02);
@@ -55537,11 +55544,17 @@ var newShadow = function (id, radius, opacity) {
55537
55544
  DThemeDarkAtlas.add(id, d, d, "<g>" +
55538
55545
  "<defs>" +
55539
55546
  "<radialGradient id=\"".concat(id, "_filter\">") +
55540
- "<stop offset=\"0%\" stop-color=\"black\" stop-opacity=\"".concat(opacity, "\" />") +
55541
- "<stop offset=\"20%\" stop-color=\"black\" stop-opacity=\"".concat(opacity, "\" />") +
55542
- "<stop offset=\"40%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.368, "\" />") +
55543
- "<stop offset=\"60%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.135, "\" />") +
55544
- "<stop offset=\"80%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.050, "\" />") +
55547
+ "<stop offset=\"0%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.368, "\" />") +
55548
+ "<stop offset=\"30%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.368, "\" />") +
55549
+ "<stop offset=\"37%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.368, "\" />") +
55550
+ "<stop offset=\"44%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.368, "\" />") + // Math.exp(-(p-30)/14)
55551
+ "<stop offset=\"51%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.223, "\" />") +
55552
+ "<stop offset=\"58%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.135, "\" />") +
55553
+ "<stop offset=\"65%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.082, "\" />") +
55554
+ "<stop offset=\"72%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.050, "\" />") +
55555
+ "<stop offset=\"79%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.030, "\" />") +
55556
+ "<stop offset=\"86%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.018, "\" />") +
55557
+ "<stop offset=\"93%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.011, "\" />") +
55545
55558
  "<stop offset=\"100%\" stop-color=\"black\" stop-opacity=\"0\" />" +
55546
55559
  "</radialGradient>" +
55547
55560
  "</defs>" +
@@ -55549,8 +55562,8 @@ var newShadow = function (id, radius, opacity) {
55549
55562
  "</g>");
55550
55563
  /* eslint-enable prettier/prettier */
55551
55564
  };
55552
- newShadow("shadow_weak", 12, 0.36);
55553
- newShadow("shadow", 24, 0.36);
55565
+ newShadow("shadow_weak", 24, 0.72);
55566
+ newShadow("shadow", 48, 0.72);
55554
55567
  /* eslint-disable prettier/prettier */
55555
55568
  DThemeDarkAtlas.add("background", 16, 16, "<g>" +
55556
55569
  "<defs>" +
@@ -55664,10 +55677,10 @@ var DThemeDarkBase = /** @class */ (function (_super) {
55664
55677
  return -1;
55665
55678
  };
55666
55679
  DThemeDarkBase.prototype.newShadow = function () {
55667
- return new DShadowImpl(DThemeDarkAtlas.mappings.shadow, 24, 24, 0, 9.6);
55680
+ return new DShadowImpl(DThemeDarkAtlas.mappings.shadow, 48, 48, 0, 4.8);
55668
55681
  };
55669
55682
  DThemeDarkBase.prototype.newShadowWeak = function () {
55670
- return new DShadowImpl(DThemeDarkAtlas.mappings.shadow_weak, 12, 8, 0, 4.8);
55683
+ return new DShadowImpl(DThemeDarkAtlas.mappings.shadow_weak, 24, 24, 0, 2.4);
55671
55684
  };
55672
55685
  DThemeDarkBase.prototype.getCursor = function (state) {
55673
55686
  return "";
@@ -57572,7 +57585,7 @@ var DThemeDarkListItems = /** @class */ (function () {
57572
57585
  if (baseColor != null) {
57573
57586
  this._backgroundColorEven = baseColor;
57574
57587
  this._backgroundAlphaEven = 1;
57575
- this._backgroundColorOdd = UtilRgb.blend(baseColor, 0xffffff, 0.02);
57588
+ this._backgroundColorOdd = UtilRgb.blend(baseColor, 0xffffff, 0.025);
57576
57589
  this._backgroundAlphaOdd = 1;
57577
57590
  this._invalidColor = UtilRgb.blend(baseColor, DThemeDarkConstants.INVALID_COLOR, DThemeDarkConstants.INVALID_ALPHA);
57578
57591
  this._invalidAlpha = 1;
@@ -57587,10 +57600,10 @@ var DThemeDarkListItems = /** @class */ (function () {
57587
57600
  this._weakHighlightAlpha = 1;
57588
57601
  }
57589
57602
  else {
57590
- this._backgroundColorEven = 0x000000;
57603
+ this._backgroundColorEven = 0xffffff;
57591
57604
  this._backgroundAlphaEven = 0;
57592
- this._backgroundColorOdd = 0x000000;
57593
- this._backgroundAlphaOdd = 0.02;
57605
+ this._backgroundColorOdd = 0xffffff;
57606
+ this._backgroundAlphaOdd = 0.025;
57594
57607
  this._invalidColor = DThemeDarkConstants.INVALID_COLOR;
57595
57608
  this._invalidAlpha = DThemeDarkConstants.INVALID_ALPHA;
57596
57609
  this._highlightColor = DThemeDarkConstants.HIGHLIGHT_COLOR;
@@ -57720,7 +57733,7 @@ var DThemeDarkListItems = /** @class */ (function () {
57720
57733
  }
57721
57734
  };
57722
57735
  DThemeDarkListItems.prototype.getHeight = function () {
57723
- return 30;
57736
+ return 40;
57724
57737
  };
57725
57738
  DThemeDarkListItems.prototype.getCornerMask = function () {
57726
57739
  return DCornerMask.ALL;
@@ -59924,11 +59937,6 @@ var DThemeDarkDialogProcessing = /** @class */ (function (_super) {
59924
59937
  DThemeDarkAtlas.add("success_mark", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
59925
59938
  "<path d=\"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z\" fill=\"#fff\" />" +
59926
59939
  "</g>");
59927
- DThemeDarkAtlas.add("fail_mark", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
59928
- "<path d=\"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52" +
59929
- " 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8" +
59930
- "-3.58 8-8 8z\" fill=\"#fff\" />" +
59931
- "</g>");
59932
59940
  /* eslint-enable prettier/prettier */
59933
59941
  var DThemeDarkDialogProcessingMessage = /** @class */ (function (_super) {
59934
59942
  __extends(DThemeDarkDialogProcessingMessage, _super);
@@ -59942,9 +59950,6 @@ var DThemeDarkDialogProcessingMessage = /** @class */ (function (_super) {
59942
59950
  if (state.isSucceeded) {
59943
59951
  return DThemeDarkAtlas.mappings.success_mark;
59944
59952
  }
59945
- else if (state.isFailed) {
59946
- return DThemeDarkAtlas.mappings.fail_mark;
59947
- }
59948
59953
  return null;
59949
59954
  };
59950
59955
  DThemeDarkDialogProcessingMessage.prototype.getImageTintAlpha = function (state) {
@@ -62882,7 +62887,7 @@ var DThemeDarkTableBody = /** @class */ (function (_super) {
62882
62887
  return null;
62883
62888
  };
62884
62889
  DThemeDarkTableBody.prototype.getRowHeight = function () {
62885
- return 30;
62890
+ return 40;
62886
62891
  };
62887
62892
  DThemeDarkTableBody.prototype.getInteractive = function () {
62888
62893
  return DBaseInteractive.BOTH;
@@ -62972,8 +62977,8 @@ var DThemeDarkTableBodyCells = /** @class */ (function () {
62972
62977
  var _a;
62973
62978
  _a = DThemeDarkTableBodyCells;
62974
62979
  DThemeDarkTableBodyCells.BACKGROUND_COLOR = DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD;
62975
- DThemeDarkTableBodyCells.BACKGROUND_COLOR_FROZEN_EVEN = UtilRgb.brighten(_a.BACKGROUND_COLOR, 0.02);
62976
- DThemeDarkTableBodyCells.BACKGROUND_COLOR_FROZEN_ODD = UtilRgb.brighten(_a.BACKGROUND_COLOR_FROZEN_EVEN, 0.02);
62980
+ DThemeDarkTableBodyCells.BACKGROUND_COLOR_FROZEN_EVEN = UtilRgb.brighten(_a.BACKGROUND_COLOR, 0.03);
62981
+ DThemeDarkTableBodyCells.BACKGROUND_COLOR_FROZEN_ODD = UtilRgb.brighten(_a.BACKGROUND_COLOR_FROZEN_EVEN, 0.03);
62977
62982
  DThemeDarkTableBodyCells.BORDER_COLOR = UtilRgb.darken(_a.BACKGROUND_COLOR, 0.035);
62978
62983
  DThemeDarkTableBodyCells.BORDER_COLOR_FROZEN = UtilRgb.darken(_a.BORDER_COLOR, 0.035);
62979
62984
  return DThemeDarkTableBodyCells;
@@ -63963,7 +63968,7 @@ var DThemeDarkTableBodyRow = /** @class */ (function (_super) {
63963
63968
  function DThemeDarkTableBodyRow() {
63964
63969
  var _this = _super !== null && _super.apply(this, arguments) || this;
63965
63970
  _this.BACKGROUND_COLOR_EVEN = DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD;
63966
- _this.BACKGROUND_COLOR_ODD = UtilRgb.brighten(DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD, 0.02);
63971
+ _this.BACKGROUND_COLOR_ODD = UtilRgb.brighten(DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD, 0.03);
63967
63972
  return _this;
63968
63973
  }
63969
63974
  DThemeDarkTableBodyRow.prototype.getBackgroundColor = function (state) {
@@ -63994,7 +63999,7 @@ var DThemeDarkTableHeader = /** @class */ (function (_super) {
63994
63999
  __extends(DThemeDarkTableHeader, _super);
63995
64000
  function DThemeDarkTableHeader() {
63996
64001
  var _this = _super !== null && _super.apply(this, arguments) || this;
63997
- _this.BACKGROUND_COLOR = UtilRgb.brighten(DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD, 0.02);
64002
+ _this.BACKGROUND_COLOR = UtilRgb.brighten(DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD, 0.03);
63998
64003
  _this.BORDER_COLOR = UtilRgb.darken(DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD, 0.05);
63999
64004
  return _this;
64000
64005
  }
@@ -64016,7 +64021,7 @@ var DThemeDarkTableHeader = /** @class */ (function (_super) {
64016
64021
  return "100%";
64017
64022
  };
64018
64023
  DThemeDarkTableHeader.prototype.getHeight = function () {
64019
- return 30;
64024
+ return 40;
64020
64025
  };
64021
64026
  return DThemeDarkTableHeader;
64022
64027
  }(DThemeDarkTableRow));
@@ -64051,7 +64056,7 @@ var DThemeDarkTableHeaderCell = /** @class */ (function (_super) {
64051
64056
  __extends(DThemeDarkTableHeaderCell, _super);
64052
64057
  function DThemeDarkTableHeaderCell() {
64053
64058
  var _this = _super !== null && _super.apply(this, arguments) || this;
64054
- _this.BACKGROUND_COLOR = UtilRgb.brighten(DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD, 0.02);
64059
+ _this.BACKGROUND_COLOR = UtilRgb.brighten(DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD, 0.03);
64055
64060
  _this.BACKGROUND_COLOR_HOVERED = UtilRgb.brighten(_this.BACKGROUND_COLOR, 0.08);
64056
64061
  _this.BACKGROUND_COLOR_PRESSED = UtilRgb.brighten(_this.BACKGROUND_COLOR, 0.32);
64057
64062
  _this.BACKGROUND_COLOR_FROZEN = UtilRgb.brighten(_this.BACKGROUND_COLOR, 0.02);
@@ -66468,12 +66473,12 @@ var DControllerCommandImpl = /** @class */ (function (_super) {
66468
66473
  * Copyright (C) 2019 Toshiba Corporation
66469
66474
  * SPDX-License-Identifier: Apache-2.0
66470
66475
  */
66471
- var DControllerKeyboard = /** @class */ (function (_super) {
66472
- __extends(DControllerKeyboard, _super);
66473
- function DControllerKeyboard() {
66476
+ var DControllerKeyboardImpl = /** @class */ (function (_super) {
66477
+ __extends(DControllerKeyboardImpl, _super);
66478
+ function DControllerKeyboardImpl() {
66474
66479
  return _super !== null && _super.apply(this, arguments) || this;
66475
66480
  }
66476
- DControllerKeyboard.prototype.init = function (element, stage, focusController) {
66481
+ DControllerKeyboardImpl.prototype.init = function (element, stage, focusController) {
66477
66482
  var _this = this;
66478
66483
  element.addEventListener("keydown", function (e) {
66479
66484
  _this.emit("keydown", e);
@@ -66517,13 +66522,13 @@ var DControllerKeyboard = /** @class */ (function (_super) {
66517
66522
  }
66518
66523
  });
66519
66524
  };
66520
- DControllerKeyboard.prototype.hasOnKeyDown = function (target) {
66525
+ DControllerKeyboardImpl.prototype.hasOnKeyDown = function (target) {
66521
66526
  return "onKeyDown" in target;
66522
66527
  };
66523
- DControllerKeyboard.prototype.hasOnKeyUp = function (target) {
66528
+ DControllerKeyboardImpl.prototype.hasOnKeyUp = function (target) {
66524
66529
  return "onKeyUp" in target;
66525
66530
  };
66526
- return DControllerKeyboard;
66531
+ return DControllerKeyboardImpl;
66527
66532
  }(pixi_js.utils.EventEmitter));
66528
66533
 
66529
66534
  /*
@@ -66536,7 +66541,7 @@ var DControllers = /** @class */ (function () {
66536
66541
  // Keyboard
66537
66542
  DControllers.getKeyboardController = function () {
66538
66543
  if (this.KEYBOARD == null) {
66539
- this.KEYBOARD = new DControllerKeyboard();
66544
+ this.KEYBOARD = new DControllerKeyboardImpl();
66540
66545
  }
66541
66546
  return this.KEYBOARD;
66542
66547
  };
@@ -66862,9 +66867,12 @@ var DApplicationLayer = /** @class */ (function (_super) {
66862
66867
  * Copyright (C) 2019 Toshiba Corporation
66863
66868
  * SPDX-License-Identifier: Apache-2.0
66864
66869
  */
66865
- var DControllerFocusImpl = /** @class */ (function () {
66870
+ var DControllerFocusImpl = /** @class */ (function (_super) {
66871
+ __extends(DControllerFocusImpl, _super);
66866
66872
  function DControllerFocusImpl() {
66867
- this._focused = null;
66873
+ var _this = _super !== null && _super.apply(this, arguments) || this;
66874
+ _this._focused = null;
66875
+ return _this;
66868
66876
  }
66869
66877
  DControllerFocusImpl.prototype.focus = function (focusable) {
66870
66878
  var previous = this._focused;
@@ -66876,6 +66884,7 @@ var DControllerFocusImpl = /** @class */ (function () {
66876
66884
  if (this.isFocusable(focusable)) {
66877
66885
  focusable.state.isFocused = true;
66878
66886
  }
66887
+ this.emit("change", focusable, previous, this);
66879
66888
  return previous;
66880
66889
  }
66881
66890
  return null;
@@ -66884,6 +66893,7 @@ var DControllerFocusImpl = /** @class */ (function () {
66884
66893
  if (focusable != null && this._focused === focusable) {
66885
66894
  this._focused = null;
66886
66895
  focusable.state.isFocused = false;
66896
+ this.emit("change", null, focusable, this);
66887
66897
  return focusable;
66888
66898
  }
66889
66899
  return null;
@@ -67110,7 +67120,7 @@ var DControllerFocusImpl = /** @class */ (function () {
67110
67120
  return target != null && "state" in target && target.state.isFocusReverse;
67111
67121
  };
67112
67122
  return DControllerFocusImpl;
67113
- }());
67123
+ }(pixi_js.utils.EventEmitter));
67114
67124
 
67115
67125
  /*
67116
67126
  * Copyright (C) 2019 Toshiba Corporation
@@ -91782,7 +91792,7 @@ exports.DCommandSaveAs = DCommandSaveAs;
91782
91792
  exports.DContent = DContent;
91783
91793
  exports.DControllerCommandImpl = DControllerCommandImpl;
91784
91794
  exports.DControllerFocusImpl = DControllerFocusImpl;
91785
- exports.DControllerKeyboard = DControllerKeyboard;
91795
+ exports.DControllerKeyboardImpl = DControllerKeyboardImpl;
91786
91796
  exports.DControllers = DControllers;
91787
91797
  exports.DCornerMask = DCornerMask;
91788
91798
  exports.DDiagram = DDiagram;
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.305.0
2
+ Winter Cardinal UI v0.306.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -16434,7 +16434,7 @@
16434
16434
  this._isFittable = isFittable;
16435
16435
  }
16436
16436
  EShapeGroupSizeEditor.prototype.init = function () {
16437
- // DO NOTHING
16437
+ return this;
16438
16438
  };
16439
16439
  Object.defineProperty(EShapeGroupSizeEditor.prototype, "x", {
16440
16440
  get: function () {
@@ -16514,6 +16514,7 @@
16514
16514
  if (this._isFittable) {
16515
16515
  this.doFit();
16516
16516
  }
16517
+ return this;
16517
16518
  };
16518
16519
  EShapeGroupSizeEditor.prototype.doFit = function () {
16519
16520
  var parent = this._parent;
@@ -16684,6 +16685,7 @@
16684
16685
  EShapeGroupSizeViewer.prototype.init = function () {
16685
16686
  this._base.copyFrom(this);
16686
16687
  this.onChange();
16688
+ return this;
16687
16689
  };
16688
16690
  EShapeGroupSizeViewer.prototype.clone = function () {
16689
16691
  var base = this._base;
@@ -16726,7 +16728,7 @@
16726
16728
  return p.x === this._x && p.y === this._y;
16727
16729
  };
16728
16730
  EShapeGroupSizeViewer.prototype.fit = function () {
16729
- // DO NOTHING
16731
+ return this;
16730
16732
  };
16731
16733
  EShapeGroupSizeViewer.prototype.onChange = function () {
16732
16734
  var base = this._base;
@@ -21232,7 +21234,14 @@
21232
21234
  }
21233
21235
  result.onChildTransformChange();
21234
21236
  result.toDirty();
21235
- result.size.init();
21237
+ var size = this.size;
21238
+ if (size instanceof EShapeGroupSizeViewer) {
21239
+ var base = size.base;
21240
+ result.size.set(base.x, base.y).init().set(size.x, size.y);
21241
+ }
21242
+ else {
21243
+ result.size.init();
21244
+ }
21236
21245
  return result;
21237
21246
  };
21238
21247
  EShapeEmbeddedLayer.prototype.newClone = function () {
@@ -38458,7 +38467,7 @@
38458
38467
  this._size = new pixi_js.Point(x, y);
38459
38468
  }
38460
38469
  EShapeGroupSizeShadowed.prototype.init = function () {
38461
- // DO NOTHING
38470
+ return this;
38462
38471
  };
38463
38472
  Object.defineProperty(EShapeGroupSizeShadowed.prototype, "x", {
38464
38473
  get: function () {
@@ -38535,7 +38544,7 @@
38535
38544
  return this._size.equals(point);
38536
38545
  };
38537
38546
  EShapeGroupSizeShadowed.prototype.fit = function () {
38538
- // DO NOTHING
38547
+ return this;
38539
38548
  };
38540
38549
  EShapeGroupSizeShadowed.prototype.onChange = function (ox, oy) {
38541
38550
  this._parent.onSizeChange();
@@ -47735,12 +47744,12 @@
47735
47744
  * Copyright (C) 2019 Toshiba Corporation
47736
47745
  * SPDX-License-Identifier: Apache-2.0
47737
47746
  */
47738
- var DControllerKeyboard = /** @class */ (function (_super) {
47739
- __extends(DControllerKeyboard, _super);
47740
- function DControllerKeyboard() {
47747
+ var DControllerKeyboardImpl = /** @class */ (function (_super) {
47748
+ __extends(DControllerKeyboardImpl, _super);
47749
+ function DControllerKeyboardImpl() {
47741
47750
  return _super !== null && _super.apply(this, arguments) || this;
47742
47751
  }
47743
- DControllerKeyboard.prototype.init = function (element, stage, focusController) {
47752
+ DControllerKeyboardImpl.prototype.init = function (element, stage, focusController) {
47744
47753
  var _this = this;
47745
47754
  element.addEventListener("keydown", function (e) {
47746
47755
  _this.emit("keydown", e);
@@ -47784,13 +47793,13 @@
47784
47793
  }
47785
47794
  });
47786
47795
  };
47787
- DControllerKeyboard.prototype.hasOnKeyDown = function (target) {
47796
+ DControllerKeyboardImpl.prototype.hasOnKeyDown = function (target) {
47788
47797
  return "onKeyDown" in target;
47789
47798
  };
47790
- DControllerKeyboard.prototype.hasOnKeyUp = function (target) {
47799
+ DControllerKeyboardImpl.prototype.hasOnKeyUp = function (target) {
47791
47800
  return "onKeyUp" in target;
47792
47801
  };
47793
- return DControllerKeyboard;
47802
+ return DControllerKeyboardImpl;
47794
47803
  }(pixi_js.utils.EventEmitter));
47795
47804
 
47796
47805
  /*
@@ -47803,7 +47812,7 @@
47803
47812
  // Keyboard
47804
47813
  DControllers.getKeyboardController = function () {
47805
47814
  if (this.KEYBOARD == null) {
47806
- this.KEYBOARD = new DControllerKeyboard();
47815
+ this.KEYBOARD = new DControllerKeyboardImpl();
47807
47816
  }
47808
47817
  return this.KEYBOARD;
47809
47818
  };
@@ -48129,9 +48138,12 @@
48129
48138
  * Copyright (C) 2019 Toshiba Corporation
48130
48139
  * SPDX-License-Identifier: Apache-2.0
48131
48140
  */
48132
- var DControllerFocusImpl = /** @class */ (function () {
48141
+ var DControllerFocusImpl = /** @class */ (function (_super) {
48142
+ __extends(DControllerFocusImpl, _super);
48133
48143
  function DControllerFocusImpl() {
48134
- this._focused = null;
48144
+ var _this = _super !== null && _super.apply(this, arguments) || this;
48145
+ _this._focused = null;
48146
+ return _this;
48135
48147
  }
48136
48148
  DControllerFocusImpl.prototype.focus = function (focusable) {
48137
48149
  var previous = this._focused;
@@ -48143,6 +48155,7 @@
48143
48155
  if (this.isFocusable(focusable)) {
48144
48156
  focusable.state.isFocused = true;
48145
48157
  }
48158
+ this.emit("change", focusable, previous, this);
48146
48159
  return previous;
48147
48160
  }
48148
48161
  return null;
@@ -48151,6 +48164,7 @@
48151
48164
  if (focusable != null && this._focused === focusable) {
48152
48165
  this._focused = null;
48153
48166
  focusable.state.isFocused = false;
48167
+ this.emit("change", null, focusable, this);
48154
48168
  return focusable;
48155
48169
  }
48156
48170
  return null;
@@ -48377,7 +48391,7 @@
48377
48391
  return target != null && "state" in target && target.state.isFocusReverse;
48378
48392
  };
48379
48393
  return DControllerFocusImpl;
48380
- }());
48394
+ }(pixi_js.utils.EventEmitter));
48381
48395
 
48382
48396
  /*
48383
48397
  * Copyright (C) 2019 Toshiba Corporation
@@ -74119,7 +74133,7 @@
74119
74133
  DContent: DContent,
74120
74134
  DControllerCommandImpl: DControllerCommandImpl,
74121
74135
  DControllerFocusImpl: DControllerFocusImpl,
74122
- DControllerKeyboard: DControllerKeyboard,
74136
+ DControllerKeyboardImpl: DControllerKeyboardImpl,
74123
74137
  DControllers: DControllers,
74124
74138
  DCornerMask: DCornerMask,
74125
74139
  DDiagramBaseControllerOpenType: DDiagramBaseControllerOpenType,