@wcardinal/wcardinal-ui 0.304.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 (74) 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/shape/variant/to-resized.js +80 -20
  31. package/dist/wcardinal/ui/shape/variant/to-resized.js.map +1 -1
  32. package/dist/wcardinal/ui/theme/dark/d-theme-dark-base.js +15 -9
  33. package/dist/wcardinal/ui/theme/dark/d-theme-dark-base.js.map +1 -1
  34. package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-processing-message.js +0 -8
  35. package/dist/wcardinal/ui/theme/dark/d-theme-dark-dialog-processing-message.js.map +1 -1
  36. package/dist/wcardinal/ui/theme/dark/d-theme-dark-list-items.js +5 -5
  37. package/dist/wcardinal/ui/theme/dark/d-theme-dark-list-items.js.map +1 -1
  38. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cells.js +2 -2
  39. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-cells.js.map +1 -1
  40. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-row.js +1 -1
  41. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body-row.js.map +1 -1
  42. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body.js +1 -1
  43. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-body.js.map +1 -1
  44. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-header-cell.js +1 -1
  45. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-header-cell.js.map +1 -1
  46. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-header.js +2 -2
  47. package/dist/wcardinal/ui/theme/dark/d-theme-dark-table-header.js.map +1 -1
  48. package/dist/wcardinal/ui/theme/white/d-theme-white-base.js +15 -9
  49. package/dist/wcardinal/ui/theme/white/d-theme-white-base.js.map +1 -1
  50. package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-processing-message.js +0 -8
  51. package/dist/wcardinal/ui/theme/white/d-theme-white-dialog-processing-message.js.map +1 -1
  52. package/dist/wcardinal/ui/theme/white/d-theme-white-list-items.js +1 -1
  53. package/dist/wcardinal/ui/theme/white/d-theme-white-list-items.js.map +1 -1
  54. package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cells.js +2 -2
  55. package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-cells.js.map +1 -1
  56. package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-row.js +1 -1
  57. package/dist/wcardinal/ui/theme/white/d-theme-white-table-body-row.js.map +1 -1
  58. package/dist/wcardinal/ui/theme/white/d-theme-white-table-body.js +1 -1
  59. package/dist/wcardinal/ui/theme/white/d-theme-white-table-body.js.map +1 -1
  60. package/dist/wcardinal/ui/theme/white/d-theme-white-table-header-cell.js +1 -1
  61. package/dist/wcardinal/ui/theme/white/d-theme-white-table-header-cell.js.map +1 -1
  62. package/dist/wcardinal/ui/theme/white/d-theme-white-table-header.js +2 -2
  63. package/dist/wcardinal/ui/theme/white/d-theme-white-table-header.js.map +1 -1
  64. package/dist/wcardinal-ui-theme-dark.js +28 -30
  65. package/dist/wcardinal-ui-theme-dark.min.js +2 -2
  66. package/dist/wcardinal-ui-theme-dark.min.js.map +1 -1
  67. package/dist/wcardinal-ui-theme-white.js +24 -26
  68. package/dist/wcardinal-ui-theme-white.min.js +2 -2
  69. package/dist/wcardinal-ui-theme-white.min.js.map +1 -1
  70. package/dist/wcardinal-ui.cjs.js +160 -92
  71. package/dist/wcardinal-ui.js +110 -38
  72. package/dist/wcardinal-ui.min.js +2 -2
  73. package/dist/wcardinal-ui.min.js.map +1 -1
  74. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.304.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();
@@ -44277,46 +44286,104 @@ var toSizeRounded = function (value) {
44277
44286
  * SPDX-License-Identifier: Apache-2.0
44278
44287
  */
44279
44288
  var toResized = function (shape, from, to, centerMode, isPerfect) {
44289
+ var cposition = EShapeCapabilities.contains(shape, EShapeCapability.POSITION);
44290
+ var cwidth = EShapeCapabilities.contains(shape, EShapeCapability.WIDTH);
44291
+ var cheight = EShapeCapabilities.contains(shape, EShapeCapability.HEIGHT);
44280
44292
  shape.disallowUploadedUpdate();
44281
44293
  var position = shape.transform.position;
44282
44294
  if (centerMode) {
44283
44295
  var dx = Math.abs(to.x - from.x);
44284
44296
  var dy = Math.abs(to.y - from.y);
44285
44297
  if (isPerfect) {
44286
- var hsize = Math.max(dx, dy);
44287
- var size = hsize + hsize;
44288
- shape.size.set(toSizeNormalized(size), toSizeNormalized(size));
44289
- position.set(toSizeRounded(from.x), toSizeRounded(from.y));
44298
+ var d = Math.max(dx, dy);
44299
+ var s = toSizeNormalized(d + d);
44300
+ var x = toSizeRounded(from.x);
44301
+ var y = toSizeRounded(from.y);
44302
+ var size = shape.size;
44303
+ if (cwidth && cheight) {
44304
+ size.set(s, s);
44305
+ }
44306
+ else if (cwidth) {
44307
+ size.x = s;
44308
+ }
44309
+ else if (cheight) {
44310
+ size.y = s;
44311
+ }
44312
+ if (cposition) {
44313
+ position.set(x, y);
44314
+ }
44290
44315
  }
44291
44316
  else {
44292
- shape.size.set(toSizeNormalized(dx + dx), toSizeNormalized(dy + dy));
44293
- position.set(toSizeRounded(from.x), toSizeRounded(from.y));
44317
+ var w = toSizeNormalized(dx + dx);
44318
+ var h = toSizeNormalized(dy + dy);
44319
+ var x = toSizeRounded(from.x);
44320
+ var y = toSizeRounded(from.y);
44321
+ var size = shape.size;
44322
+ if (cwidth && cheight) {
44323
+ size.set(w, h);
44324
+ }
44325
+ else if (cwidth) {
44326
+ size.x = w;
44327
+ }
44328
+ else if (cheight) {
44329
+ size.y = h;
44330
+ }
44331
+ if (cposition) {
44332
+ position.set(x, y);
44333
+ }
44294
44334
  }
44295
44335
  }
44296
44336
  else {
44297
44337
  if (isPerfect) {
44298
44338
  var dx = to.x - from.x;
44299
44339
  var dy = to.y - from.y;
44300
- var size = Math.max(Math.abs(dx), Math.abs(dy));
44301
- var x2 = from.x + (dx < 0 ? -size : +size);
44302
- var y2 = from.y + (dy < 0 ? -size : +size);
44303
- var hsize = size * 0.5;
44304
- var x = Math.min(from.x, x2) + hsize;
44305
- var y = Math.min(from.y, y2) + hsize;
44306
- shape.size.set(toSizeNormalized(size), toSizeNormalized(size));
44307
- position.set(toSizeRounded(x), toSizeRounded(y));
44340
+ var d = Math.max(Math.abs(dx), Math.abs(dy));
44341
+ var x2 = from.x + (dx < 0 ? -d : +d);
44342
+ var y2 = from.y + (dy < 0 ? -d : +d);
44343
+ var hd = d * 0.5;
44344
+ var s = toSizeNormalized(d);
44345
+ var x = toSizeRounded(Math.min(from.x, x2) + hd);
44346
+ var y = toSizeRounded(Math.min(from.y, y2) + hd);
44347
+ var size = shape.size;
44348
+ if (cwidth && cheight) {
44349
+ size.set(s, s);
44350
+ }
44351
+ else if (cwidth) {
44352
+ size.x = s;
44353
+ }
44354
+ else if (cheight) {
44355
+ size.y = s;
44356
+ }
44357
+ if (cposition) {
44358
+ position.set(x, y);
44359
+ }
44308
44360
  }
44309
44361
  else {
44310
44362
  var x0 = Math.min(from.x, to.x);
44311
44363
  var y0 = Math.min(from.y, to.y);
44312
44364
  var x1 = Math.max(from.x, to.x);
44313
44365
  var y1 = Math.max(from.y, to.y);
44314
- var width = x1 - x0;
44315
- var height = y1 - y0;
44316
- var px = width * 0.5;
44317
- var py = height * 0.5;
44318
- shape.size.set(toSizeNormalized(width), toSizeNormalized(height));
44319
- position.set(toSizeRounded(x0 + px), toSizeRounded(y0 + py));
44366
+ var dx = x1 - x0;
44367
+ var dy = y1 - y0;
44368
+ var px = dx * 0.5;
44369
+ var py = dy * 0.5;
44370
+ var w = toSizeNormalized(dx);
44371
+ var h = toSizeNormalized(dy);
44372
+ var x = toSizeRounded(x0 + px);
44373
+ var y = toSizeRounded(y0 + py);
44374
+ var size = shape.size;
44375
+ if (cwidth && cheight) {
44376
+ size.set(w, h);
44377
+ }
44378
+ else if (cwidth) {
44379
+ size.x = w;
44380
+ }
44381
+ else if (cheight) {
44382
+ size.y = h;
44383
+ }
44384
+ if (cposition) {
44385
+ position.set(x, y);
44386
+ }
44320
44387
  }
44321
44388
  }
44322
44389
  shape.allowUploadedUpdate();
@@ -45757,11 +45824,17 @@ var newShadow$1 = function (id, radius, opacity) {
45757
45824
  DThemeWhiteAtlas.add(id, d, d, "<g>" +
45758
45825
  "<defs>" +
45759
45826
  "<radialGradient id=\"".concat(id, "_filter\">") +
45760
- "<stop offset=\"0%\" stop-color=\"black\" stop-opacity=\"".concat(opacity, "\" />") +
45761
- "<stop offset=\"20%\" stop-color=\"black\" stop-opacity=\"".concat(opacity, "\" />") +
45762
- "<stop offset=\"40%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.368, "\" />") +
45763
- "<stop offset=\"60%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.135, "\" />") +
45764
- "<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, "\" />") +
45765
45838
  "<stop offset=\"100%\" stop-color=\"black\" stop-opacity=\"0\" />" +
45766
45839
  "</radialGradient>" +
45767
45840
  "</defs>" +
@@ -45769,8 +45842,8 @@ var newShadow$1 = function (id, radius, opacity) {
45769
45842
  "</g>");
45770
45843
  /* eslint-enable prettier/prettier */
45771
45844
  };
45772
- newShadow$1("shadow_weak", 12, 0.15);
45773
- newShadow$1("shadow", 24, 0.15);
45845
+ newShadow$1("shadow_weak", 24, 0.3);
45846
+ newShadow$1("shadow", 48, 0.3);
45774
45847
  /* eslint-disable prettier/prettier */
45775
45848
  DThemeWhiteAtlas.add("background", 16, 16, "<g>" +
45776
45849
  "<defs>" +
@@ -45884,10 +45957,10 @@ var DThemeWhiteBase = /** @class */ (function (_super) {
45884
45957
  return -1;
45885
45958
  };
45886
45959
  DThemeWhiteBase.prototype.newShadow = function () {
45887
- return new DShadowImpl(DThemeWhiteAtlas.mappings.shadow, 24, 24, 0, 9.6);
45960
+ return new DShadowImpl(DThemeWhiteAtlas.mappings.shadow, 48, 48, 0, 4.8);
45888
45961
  };
45889
45962
  DThemeWhiteBase.prototype.newShadowWeak = function () {
45890
- 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);
45891
45964
  };
45892
45965
  DThemeWhiteBase.prototype.getCursor = function (state) {
45893
45966
  return "";
@@ -48475,7 +48548,7 @@ var DThemeWhiteListItems = /** @class */ (function () {
48475
48548
  }
48476
48549
  };
48477
48550
  DThemeWhiteListItems.prototype.getHeight = function () {
48478
- return 30;
48551
+ return 40;
48479
48552
  };
48480
48553
  DThemeWhiteListItems.prototype.getCornerMask = function () {
48481
48554
  return DCornerMask.ALL;
@@ -50698,11 +50771,6 @@ var DThemeWhiteDialogProcessing = /** @class */ (function (_super) {
50698
50771
  DThemeWhiteAtlas.add("success_mark", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
50699
50772
  "<path d=\"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z\" fill=\"#fff\" />" +
50700
50773
  "</g>");
50701
- DThemeWhiteAtlas.add("fail_mark", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
50702
- "<path d=\"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52" +
50703
- " 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" +
50704
- "-3.58 8-8 8z\" fill=\"#fff\" />" +
50705
- "</g>");
50706
50774
  /* eslint-enable prettier/prettier */
50707
50775
  var DThemeWhiteDialogProcessingMessage = /** @class */ (function (_super) {
50708
50776
  __extends(DThemeWhiteDialogProcessingMessage, _super);
@@ -50716,9 +50784,6 @@ var DThemeWhiteDialogProcessingMessage = /** @class */ (function (_super) {
50716
50784
  if (state.isSucceeded) {
50717
50785
  return DThemeWhiteAtlas.mappings.success_mark;
50718
50786
  }
50719
- else if (state.isFailed) {
50720
- return DThemeWhiteAtlas.mappings.fail_mark;
50721
- }
50722
50787
  return null;
50723
50788
  };
50724
50789
  DThemeWhiteDialogProcessingMessage.prototype.getImageTintAlpha = function (state) {
@@ -53652,7 +53717,7 @@ var DThemeWhiteTableBody = /** @class */ (function (_super) {
53652
53717
  return null;
53653
53718
  };
53654
53719
  DThemeWhiteTableBody.prototype.getRowHeight = function () {
53655
- return 30;
53720
+ return 40;
53656
53721
  };
53657
53722
  DThemeWhiteTableBody.prototype.getInteractive = function () {
53658
53723
  return DBaseInteractive.BOTH;
@@ -53799,8 +53864,8 @@ var DThemeWhiteTableBodyCells = /** @class */ (function () {
53799
53864
  var _a;
53800
53865
  _a = DThemeWhiteTableBodyCells;
53801
53866
  DThemeWhiteTableBodyCells.BACKGROUND_COLOR = DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD;
53802
- DThemeWhiteTableBodyCells.BACKGROUND_COLOR_FROZEN_EVEN = UtilRgb.darken(_a.BACKGROUND_COLOR, 0.01);
53803
- 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);
53804
53869
  DThemeWhiteTableBodyCells.BORDER_COLOR = UtilRgb.darken(_a.BACKGROUND_COLOR, 0.035);
53805
53870
  DThemeWhiteTableBodyCells.BORDER_COLOR_FROZEN = UtilRgb.darken(_a.BORDER_COLOR, 0.035);
53806
53871
  return DThemeWhiteTableBodyCells;
@@ -54790,7 +54855,7 @@ var DThemeWhiteTableBodyRow = /** @class */ (function (_super) {
54790
54855
  function DThemeWhiteTableBodyRow() {
54791
54856
  var _this = _super !== null && _super.apply(this, arguments) || this;
54792
54857
  _this.BACKGROUND_COLOR_EVEN = DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD;
54793
- _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);
54794
54859
  return _this;
54795
54860
  }
54796
54861
  DThemeWhiteTableBodyRow.prototype.getBackgroundColor = function (state) {
@@ -54821,7 +54886,7 @@ var DThemeWhiteTableHeader = /** @class */ (function (_super) {
54821
54886
  __extends(DThemeWhiteTableHeader, _super);
54822
54887
  function DThemeWhiteTableHeader() {
54823
54888
  var _this = _super !== null && _super.apply(this, arguments) || this;
54824
- _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);
54825
54890
  _this.BORDER_COLOR = UtilRgb.darken(DThemeWhiteConstants.BACKGROUND_COLOR_ON_BOARD, 0.055);
54826
54891
  return _this;
54827
54892
  }
@@ -54843,7 +54908,7 @@ var DThemeWhiteTableHeader = /** @class */ (function (_super) {
54843
54908
  return "100%";
54844
54909
  };
54845
54910
  DThemeWhiteTableHeader.prototype.getHeight = function () {
54846
- return 30;
54911
+ return 40;
54847
54912
  };
54848
54913
  return DThemeWhiteTableHeader;
54849
54914
  }(DThemeWhiteTableRow));
@@ -54878,7 +54943,7 @@ var DThemeWhiteTableHeaderCell = /** @class */ (function (_super) {
54878
54943
  __extends(DThemeWhiteTableHeaderCell, _super);
54879
54944
  function DThemeWhiteTableHeaderCell() {
54880
54945
  var _this = _super !== null && _super.apply(this, arguments) || this;
54881
- _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);
54882
54947
  _this.BACKGROUND_COLOR_HOVERED = UtilRgb.darken(_this.BACKGROUND_COLOR, 0.017);
54883
54948
  _this.BACKGROUND_COLOR_PRESSED = UtilRgb.darken(_this.BACKGROUND_COLOR, 0.034);
54884
54949
  _this.BACKGROUND_COLOR_FROZEN = UtilRgb.darken(_this.BACKGROUND_COLOR, 0.02);
@@ -55479,11 +55544,17 @@ var newShadow = function (id, radius, opacity) {
55479
55544
  DThemeDarkAtlas.add(id, d, d, "<g>" +
55480
55545
  "<defs>" +
55481
55546
  "<radialGradient id=\"".concat(id, "_filter\">") +
55482
- "<stop offset=\"0%\" stop-color=\"black\" stop-opacity=\"".concat(opacity, "\" />") +
55483
- "<stop offset=\"20%\" stop-color=\"black\" stop-opacity=\"".concat(opacity, "\" />") +
55484
- "<stop offset=\"40%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.368, "\" />") +
55485
- "<stop offset=\"60%\" stop-color=\"black\" stop-opacity=\"".concat(opacity * 0.135, "\" />") +
55486
- "<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, "\" />") +
55487
55558
  "<stop offset=\"100%\" stop-color=\"black\" stop-opacity=\"0\" />" +
55488
55559
  "</radialGradient>" +
55489
55560
  "</defs>" +
@@ -55491,8 +55562,8 @@ var newShadow = function (id, radius, opacity) {
55491
55562
  "</g>");
55492
55563
  /* eslint-enable prettier/prettier */
55493
55564
  };
55494
- newShadow("shadow_weak", 12, 0.36);
55495
- newShadow("shadow", 24, 0.36);
55565
+ newShadow("shadow_weak", 24, 0.72);
55566
+ newShadow("shadow", 48, 0.72);
55496
55567
  /* eslint-disable prettier/prettier */
55497
55568
  DThemeDarkAtlas.add("background", 16, 16, "<g>" +
55498
55569
  "<defs>" +
@@ -55606,10 +55677,10 @@ var DThemeDarkBase = /** @class */ (function (_super) {
55606
55677
  return -1;
55607
55678
  };
55608
55679
  DThemeDarkBase.prototype.newShadow = function () {
55609
- return new DShadowImpl(DThemeDarkAtlas.mappings.shadow, 24, 24, 0, 9.6);
55680
+ return new DShadowImpl(DThemeDarkAtlas.mappings.shadow, 48, 48, 0, 4.8);
55610
55681
  };
55611
55682
  DThemeDarkBase.prototype.newShadowWeak = function () {
55612
- 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);
55613
55684
  };
55614
55685
  DThemeDarkBase.prototype.getCursor = function (state) {
55615
55686
  return "";
@@ -57514,7 +57585,7 @@ var DThemeDarkListItems = /** @class */ (function () {
57514
57585
  if (baseColor != null) {
57515
57586
  this._backgroundColorEven = baseColor;
57516
57587
  this._backgroundAlphaEven = 1;
57517
- this._backgroundColorOdd = UtilRgb.blend(baseColor, 0xffffff, 0.02);
57588
+ this._backgroundColorOdd = UtilRgb.blend(baseColor, 0xffffff, 0.025);
57518
57589
  this._backgroundAlphaOdd = 1;
57519
57590
  this._invalidColor = UtilRgb.blend(baseColor, DThemeDarkConstants.INVALID_COLOR, DThemeDarkConstants.INVALID_ALPHA);
57520
57591
  this._invalidAlpha = 1;
@@ -57529,10 +57600,10 @@ var DThemeDarkListItems = /** @class */ (function () {
57529
57600
  this._weakHighlightAlpha = 1;
57530
57601
  }
57531
57602
  else {
57532
- this._backgroundColorEven = 0x000000;
57603
+ this._backgroundColorEven = 0xffffff;
57533
57604
  this._backgroundAlphaEven = 0;
57534
- this._backgroundColorOdd = 0x000000;
57535
- this._backgroundAlphaOdd = 0.02;
57605
+ this._backgroundColorOdd = 0xffffff;
57606
+ this._backgroundAlphaOdd = 0.025;
57536
57607
  this._invalidColor = DThemeDarkConstants.INVALID_COLOR;
57537
57608
  this._invalidAlpha = DThemeDarkConstants.INVALID_ALPHA;
57538
57609
  this._highlightColor = DThemeDarkConstants.HIGHLIGHT_COLOR;
@@ -57662,7 +57733,7 @@ var DThemeDarkListItems = /** @class */ (function () {
57662
57733
  }
57663
57734
  };
57664
57735
  DThemeDarkListItems.prototype.getHeight = function () {
57665
- return 30;
57736
+ return 40;
57666
57737
  };
57667
57738
  DThemeDarkListItems.prototype.getCornerMask = function () {
57668
57739
  return DCornerMask.ALL;
@@ -59866,11 +59937,6 @@ var DThemeDarkDialogProcessing = /** @class */ (function (_super) {
59866
59937
  DThemeDarkAtlas.add("success_mark", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
59867
59938
  "<path d=\"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z\" fill=\"#fff\" />" +
59868
59939
  "</g>");
59869
- DThemeDarkAtlas.add("fail_mark", 21, 21, "<g transform=\"scale(0.875,0.875)\">" +
59870
- "<path d=\"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52" +
59871
- " 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" +
59872
- "-3.58 8-8 8z\" fill=\"#fff\" />" +
59873
- "</g>");
59874
59940
  /* eslint-enable prettier/prettier */
59875
59941
  var DThemeDarkDialogProcessingMessage = /** @class */ (function (_super) {
59876
59942
  __extends(DThemeDarkDialogProcessingMessage, _super);
@@ -59884,9 +59950,6 @@ var DThemeDarkDialogProcessingMessage = /** @class */ (function (_super) {
59884
59950
  if (state.isSucceeded) {
59885
59951
  return DThemeDarkAtlas.mappings.success_mark;
59886
59952
  }
59887
- else if (state.isFailed) {
59888
- return DThemeDarkAtlas.mappings.fail_mark;
59889
- }
59890
59953
  return null;
59891
59954
  };
59892
59955
  DThemeDarkDialogProcessingMessage.prototype.getImageTintAlpha = function (state) {
@@ -62824,7 +62887,7 @@ var DThemeDarkTableBody = /** @class */ (function (_super) {
62824
62887
  return null;
62825
62888
  };
62826
62889
  DThemeDarkTableBody.prototype.getRowHeight = function () {
62827
- return 30;
62890
+ return 40;
62828
62891
  };
62829
62892
  DThemeDarkTableBody.prototype.getInteractive = function () {
62830
62893
  return DBaseInteractive.BOTH;
@@ -62914,8 +62977,8 @@ var DThemeDarkTableBodyCells = /** @class */ (function () {
62914
62977
  var _a;
62915
62978
  _a = DThemeDarkTableBodyCells;
62916
62979
  DThemeDarkTableBodyCells.BACKGROUND_COLOR = DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD;
62917
- DThemeDarkTableBodyCells.BACKGROUND_COLOR_FROZEN_EVEN = UtilRgb.brighten(_a.BACKGROUND_COLOR, 0.02);
62918
- 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);
62919
62982
  DThemeDarkTableBodyCells.BORDER_COLOR = UtilRgb.darken(_a.BACKGROUND_COLOR, 0.035);
62920
62983
  DThemeDarkTableBodyCells.BORDER_COLOR_FROZEN = UtilRgb.darken(_a.BORDER_COLOR, 0.035);
62921
62984
  return DThemeDarkTableBodyCells;
@@ -63905,7 +63968,7 @@ var DThemeDarkTableBodyRow = /** @class */ (function (_super) {
63905
63968
  function DThemeDarkTableBodyRow() {
63906
63969
  var _this = _super !== null && _super.apply(this, arguments) || this;
63907
63970
  _this.BACKGROUND_COLOR_EVEN = DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD;
63908
- _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);
63909
63972
  return _this;
63910
63973
  }
63911
63974
  DThemeDarkTableBodyRow.prototype.getBackgroundColor = function (state) {
@@ -63936,7 +63999,7 @@ var DThemeDarkTableHeader = /** @class */ (function (_super) {
63936
63999
  __extends(DThemeDarkTableHeader, _super);
63937
64000
  function DThemeDarkTableHeader() {
63938
64001
  var _this = _super !== null && _super.apply(this, arguments) || this;
63939
- _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);
63940
64003
  _this.BORDER_COLOR = UtilRgb.darken(DThemeDarkConstants.BACKGROUND_COLOR_ON_BOARD, 0.05);
63941
64004
  return _this;
63942
64005
  }
@@ -63958,7 +64021,7 @@ var DThemeDarkTableHeader = /** @class */ (function (_super) {
63958
64021
  return "100%";
63959
64022
  };
63960
64023
  DThemeDarkTableHeader.prototype.getHeight = function () {
63961
- return 30;
64024
+ return 40;
63962
64025
  };
63963
64026
  return DThemeDarkTableHeader;
63964
64027
  }(DThemeDarkTableRow));
@@ -63993,7 +64056,7 @@ var DThemeDarkTableHeaderCell = /** @class */ (function (_super) {
63993
64056
  __extends(DThemeDarkTableHeaderCell, _super);
63994
64057
  function DThemeDarkTableHeaderCell() {
63995
64058
  var _this = _super !== null && _super.apply(this, arguments) || this;
63996
- _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);
63997
64060
  _this.BACKGROUND_COLOR_HOVERED = UtilRgb.brighten(_this.BACKGROUND_COLOR, 0.08);
63998
64061
  _this.BACKGROUND_COLOR_PRESSED = UtilRgb.brighten(_this.BACKGROUND_COLOR, 0.32);
63999
64062
  _this.BACKGROUND_COLOR_FROZEN = UtilRgb.brighten(_this.BACKGROUND_COLOR, 0.02);
@@ -66410,12 +66473,12 @@ var DControllerCommandImpl = /** @class */ (function (_super) {
66410
66473
  * Copyright (C) 2019 Toshiba Corporation
66411
66474
  * SPDX-License-Identifier: Apache-2.0
66412
66475
  */
66413
- var DControllerKeyboard = /** @class */ (function (_super) {
66414
- __extends(DControllerKeyboard, _super);
66415
- function DControllerKeyboard() {
66476
+ var DControllerKeyboardImpl = /** @class */ (function (_super) {
66477
+ __extends(DControllerKeyboardImpl, _super);
66478
+ function DControllerKeyboardImpl() {
66416
66479
  return _super !== null && _super.apply(this, arguments) || this;
66417
66480
  }
66418
- DControllerKeyboard.prototype.init = function (element, stage, focusController) {
66481
+ DControllerKeyboardImpl.prototype.init = function (element, stage, focusController) {
66419
66482
  var _this = this;
66420
66483
  element.addEventListener("keydown", function (e) {
66421
66484
  _this.emit("keydown", e);
@@ -66459,13 +66522,13 @@ var DControllerKeyboard = /** @class */ (function (_super) {
66459
66522
  }
66460
66523
  });
66461
66524
  };
66462
- DControllerKeyboard.prototype.hasOnKeyDown = function (target) {
66525
+ DControllerKeyboardImpl.prototype.hasOnKeyDown = function (target) {
66463
66526
  return "onKeyDown" in target;
66464
66527
  };
66465
- DControllerKeyboard.prototype.hasOnKeyUp = function (target) {
66528
+ DControllerKeyboardImpl.prototype.hasOnKeyUp = function (target) {
66466
66529
  return "onKeyUp" in target;
66467
66530
  };
66468
- return DControllerKeyboard;
66531
+ return DControllerKeyboardImpl;
66469
66532
  }(pixi_js.utils.EventEmitter));
66470
66533
 
66471
66534
  /*
@@ -66478,7 +66541,7 @@ var DControllers = /** @class */ (function () {
66478
66541
  // Keyboard
66479
66542
  DControllers.getKeyboardController = function () {
66480
66543
  if (this.KEYBOARD == null) {
66481
- this.KEYBOARD = new DControllerKeyboard();
66544
+ this.KEYBOARD = new DControllerKeyboardImpl();
66482
66545
  }
66483
66546
  return this.KEYBOARD;
66484
66547
  };
@@ -66804,9 +66867,12 @@ var DApplicationLayer = /** @class */ (function (_super) {
66804
66867
  * Copyright (C) 2019 Toshiba Corporation
66805
66868
  * SPDX-License-Identifier: Apache-2.0
66806
66869
  */
66807
- var DControllerFocusImpl = /** @class */ (function () {
66870
+ var DControllerFocusImpl = /** @class */ (function (_super) {
66871
+ __extends(DControllerFocusImpl, _super);
66808
66872
  function DControllerFocusImpl() {
66809
- this._focused = null;
66873
+ var _this = _super !== null && _super.apply(this, arguments) || this;
66874
+ _this._focused = null;
66875
+ return _this;
66810
66876
  }
66811
66877
  DControllerFocusImpl.prototype.focus = function (focusable) {
66812
66878
  var previous = this._focused;
@@ -66818,6 +66884,7 @@ var DControllerFocusImpl = /** @class */ (function () {
66818
66884
  if (this.isFocusable(focusable)) {
66819
66885
  focusable.state.isFocused = true;
66820
66886
  }
66887
+ this.emit("change", focusable, previous, this);
66821
66888
  return previous;
66822
66889
  }
66823
66890
  return null;
@@ -66826,6 +66893,7 @@ var DControllerFocusImpl = /** @class */ (function () {
66826
66893
  if (focusable != null && this._focused === focusable) {
66827
66894
  this._focused = null;
66828
66895
  focusable.state.isFocused = false;
66896
+ this.emit("change", null, focusable, this);
66829
66897
  return focusable;
66830
66898
  }
66831
66899
  return null;
@@ -67052,7 +67120,7 @@ var DControllerFocusImpl = /** @class */ (function () {
67052
67120
  return target != null && "state" in target && target.state.isFocusReverse;
67053
67121
  };
67054
67122
  return DControllerFocusImpl;
67055
- }());
67123
+ }(pixi_js.utils.EventEmitter));
67056
67124
 
67057
67125
  /*
67058
67126
  * Copyright (C) 2019 Toshiba Corporation
@@ -91724,7 +91792,7 @@ exports.DCommandSaveAs = DCommandSaveAs;
91724
91792
  exports.DContent = DContent;
91725
91793
  exports.DControllerCommandImpl = DControllerCommandImpl;
91726
91794
  exports.DControllerFocusImpl = DControllerFocusImpl;
91727
- exports.DControllerKeyboard = DControllerKeyboard;
91795
+ exports.DControllerKeyboardImpl = DControllerKeyboardImpl;
91728
91796
  exports.DControllers = DControllers;
91729
91797
  exports.DCornerMask = DCornerMask;
91730
91798
  exports.DDiagram = DDiagram;