@wcardinal/wcardinal-ui 0.329.0 → 0.330.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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Winter Cardinal UI v0.329.0
2
+ Winter Cardinal UI v0.330.0
3
3
  Copyright (C) 2019 Toshiba Corporation
4
4
  SPDX-License-Identifier: Apache-2.0
5
5
 
@@ -22288,6 +22288,9 @@
22288
22288
  version: serialized.version,
22289
22289
  id: serialized.id,
22290
22290
  name: serialized.name,
22291
+ label: serialized.label,
22292
+ summary: serialized.summary,
22293
+ description: serialized.description,
22291
22294
  thumbnail: serialized.thumbnail,
22292
22295
  data: JSON.stringify({
22293
22296
  width: serialized.width,
@@ -22310,8 +22313,11 @@
22310
22313
  version: target.version,
22311
22314
  id: target.id,
22312
22315
  name: target.name,
22316
+ label: target.label,
22313
22317
  width: data.width,
22314
22318
  height: data.height,
22319
+ summary: target.summary,
22320
+ description: target.description,
22315
22321
  background: data.background,
22316
22322
  tile: data.tile,
22317
22323
  resources: data.resources,
@@ -61619,8 +61625,11 @@
61619
61625
  var isAmbient = this._isAmbient;
61620
61626
  return {
61621
61627
  name: serialized.name,
61628
+ label: serialized.label,
61622
61629
  width: serialized.width,
61623
61630
  height: serialized.height,
61631
+ summary: serialized.summary,
61632
+ description: serialized.description,
61624
61633
  background: this.toCanvasBaseBackgroundOptions(serialized, theme, isAmbient),
61625
61634
  border: isAmbient ? { color: null } : undefined,
61626
61635
  outline: isAmbient ? { color: null } : undefined,
@@ -62088,7 +62097,9 @@
62088
62097
  var DDiagramCanvasBase = /** @class */ (function (_super) {
62089
62098
  __extends(DDiagramCanvasBase, _super);
62090
62099
  function DDiagramCanvasBase(options) {
62091
- var _this = _super.call(this, options) || this;
62100
+ var _this = this;
62101
+ var _a, _b, _c;
62102
+ _this = _super.call(this, options) || this;
62092
62103
  // Background
62093
62104
  var theme = _this.theme;
62094
62105
  if (!_this.isAmbient(theme, options)) {
@@ -62098,6 +62109,12 @@
62098
62109
  var layer = new DDiagramLayerContainer(_this.width, _this.height);
62099
62110
  _this._layer = layer;
62100
62111
  _this.addChild(layer);
62112
+ // Label
62113
+ _this._label = (_a = options === null || options === void 0 ? void 0 : options.label) !== null && _a !== void 0 ? _a : "";
62114
+ // Summary
62115
+ _this._summary = (_b = options === null || options === void 0 ? void 0 : options.summary) !== null && _b !== void 0 ? _b : "";
62116
+ // Description
62117
+ _this._description = (_c = options === null || options === void 0 ? void 0 : options.description) !== null && _c !== void 0 ? _c : "";
62101
62118
  // Tile
62102
62119
  var tile = new DDiagramCanvasTile(_this, options === null || options === void 0 ? void 0 : options.tile);
62103
62120
  _this._tile = tile;
@@ -62112,6 +62129,36 @@
62112
62129
  var _a, _b;
62113
62130
  return (_b = (_a = options === null || options === void 0 ? void 0 : options.background) === null || _a === void 0 ? void 0 : _a.base) !== null && _b !== void 0 ? _b : theme.getBackgroundBase();
62114
62131
  };
62132
+ Object.defineProperty(DDiagramCanvasBase.prototype, "label", {
62133
+ get: function () {
62134
+ return this._label;
62135
+ },
62136
+ set: function (label) {
62137
+ this._label = label;
62138
+ },
62139
+ enumerable: false,
62140
+ configurable: true
62141
+ });
62142
+ Object.defineProperty(DDiagramCanvasBase.prototype, "summary", {
62143
+ get: function () {
62144
+ return this._summary;
62145
+ },
62146
+ set: function (summary) {
62147
+ this._summary = summary;
62148
+ },
62149
+ enumerable: false,
62150
+ configurable: true
62151
+ });
62152
+ Object.defineProperty(DDiagramCanvasBase.prototype, "description", {
62153
+ get: function () {
62154
+ return this._description;
62155
+ },
62156
+ set: function (description) {
62157
+ this._description = description;
62158
+ },
62159
+ enumerable: false,
62160
+ configurable: true
62161
+ });
62115
62162
  Object.defineProperty(DDiagramCanvasBase.prototype, "tile", {
62116
62163
  get: function () {
62117
62164
  return this._tile;
@@ -62775,8 +62822,11 @@
62775
62822
  version: DDiagramSerializedVersion,
62776
62823
  id: id,
62777
62824
  name: this.name,
62825
+ label: this.label,
62778
62826
  width: this.width,
62779
62827
  height: this.height,
62828
+ summary: this.summary,
62829
+ description: this.description,
62780
62830
  background: {
62781
62831
  color: isNumber(backgroundColor) ? backgroundColor : 0xffffff,
62782
62832
  alpha: isNumber(backgroundAlpha) ? backgroundAlpha : 0