ato-water-lib 0.0.95 → 0.0.97
Sign up to get free protection for your applications and to get access to all the features.
@@ -5695,12 +5695,12 @@ class AtoDefaultGojsEditor {
|
|
5695
5695
|
itemTemplate: this.$(go.Panel, 'TableRow', {
|
5696
5696
|
cursor: 'pointer',
|
5697
5697
|
click: (e, obj) => {
|
5698
|
-
var _a, _b, _c;
|
5698
|
+
var _a, _b, _c, _d;
|
5699
5699
|
if (((_b = (_a = obj.panel.part.data) === null || _a === void 0 ? void 0 : _a.dataTable[obj.row]) === null || _b === void 0 ? void 0 : _b.isEditable) ===
|
5700
5700
|
false) {
|
5701
5701
|
return;
|
5702
5702
|
}
|
5703
|
-
self.onClikParamOfTable.emit(Object.assign({}, (_c = obj.panel.part.data) === null || _c === void 0 ? void 0 : _c.dataTable[obj.row]));
|
5703
|
+
self.onClikParamOfTable.emit(Object.assign({}, (_c = obj.panel.part.data) === null || _c === void 0 ? void 0 : _c.dataTable[((_d = obj.panel.part.data) === null || _d === void 0 ? void 0 : _d.isShowDataLongitudinal) ? 0 : obj.row]));
|
5704
5704
|
},
|
5705
5705
|
background: 'transparent',
|
5706
5706
|
}, this.$(go.TextBlock, '', {
|
@@ -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, {
|