ato-water-lib 0.0.96 → 0.0.97
Sign up to get free protection for your applications and to get access to all the features.
@@ -5734,16 +5734,16 @@ class AtoDefaultGojsEditor {
|
|
5734
5734
|
}), new go.Binding('minSize', '', (data, panel) => {
|
5735
5735
|
var _a;
|
5736
5736
|
return (_a = data === null || data === void 0 ? void 0 : data.minSizeValue) !== null && _a !== void 0 ? _a : new go.Size(90, 14);
|
5737
|
-
|
5738
|
-
|
5739
|
-
// NaN
|
5740
|
-
// );
|
5737
|
+
}), new go.Binding('maxSize', '', (data) => {
|
5738
|
+
return data === null || data === void 0 ? void 0 : data.maxSizeValue;
|
5741
5739
|
}), this.$(go.TextBlock, '', {
|
5742
5740
|
column: 0,
|
5743
5741
|
margin: 0,
|
5744
5742
|
alignment: go.Spot.Left,
|
5745
5743
|
overflow: go.TextBlock.OverflowEllipsis,
|
5746
5744
|
cursor: 'pointer',
|
5745
|
+
wrap: go.TextBlock.None,
|
5746
|
+
maxSize: new go.Size(Infinity, NaN),
|
5747
5747
|
toolTip: this.$('ToolTip', this.$(go.TextBlock, {
|
5748
5748
|
margin: 4,
|
5749
5749
|
}, new go.Binding('text', '', (data, panel) => {
|
@@ -5765,8 +5765,11 @@ class AtoDefaultGojsEditor {
|
|
5765
5765
|
}
|
5766
5766
|
return data.color;
|
5767
5767
|
}), new go.Binding('maxSize', '', (data) => {
|
5768
|
+
var _a, _b, _c, _d;
|
5769
|
+
if (!(data === null || data === void 0 ? void 0 : data.isReadOnly) && !this._initialOptions.isReadOnly) {
|
5770
|
+
return new go.Size(((_a = data === null || data === void 0 ? void 0 : data.maxSizeValue) === null || _a === void 0 ? void 0 : _a.width) ? (((_b = data === null || data === void 0 ? void 0 : data.maxSizeValue) === null || _b === void 0 ? void 0 : _b.width) - 15) : NaN, (_d = (_c = data === null || data === void 0 ? void 0 : data.maxSizeValue) === null || _c === void 0 ? void 0 : _c.height) !== null && _d !== void 0 ? _d : NaN);
|
5771
|
+
}
|
5768
5772
|
return data === null || data === void 0 ? void 0 : data.maxSizeValue;
|
5769
|
-
// new go.Size(data?.maxSizeValue || 190, 14);
|
5770
5773
|
}), new go.Binding('font', '', (data) => {
|
5771
5774
|
return data === null || data === void 0 ? void 0 : data.font;
|
5772
5775
|
})), this.$(go.Picture, {
|