@visactor/vtable 0.9.1-alpha.3 → 0.9.1-alpha.4
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.
- package/cjs/core/BaseTable.d.ts +1 -1
- package/cjs/core/BaseTable.js +10 -9
- package/cjs/core/BaseTable.js.map +1 -1
- package/cjs/index.d.ts +3 -3
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/cjs/scenegraph/component/table-component.js +4 -4
- package/cjs/scenegraph/component/table-component.js.map +1 -1
- package/cjs/scenegraph/group-creater/cell-type/progress-bar-cell.js +16 -15
- package/cjs/scenegraph/group-creater/cell-type/progress-bar-cell.js.map +1 -1
- package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js +12 -13
- package/cjs/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -1
- package/cjs/tools/LimitPromiseQueue.js +1 -1
- package/cjs/tools/NumberMap.js +2 -1
- package/cjs/tools/Rect.js +1 -1
- package/cjs/tools/calc.js +1 -1
- package/cjs/tools/debounce.js +1 -1
- package/cjs/tools/dom.js +1 -1
- package/cjs/tools/env.js +1 -1
- package/cjs/tools/global.js +1 -1
- package/cjs/tools/helper.js +1 -1
- package/cjs/tooltip/BaseTooltip.js +1 -1
- package/cjs/tooltip/Tooltip.js +1 -2
- package/cjs/tooltip/TooltipHandler.js +1 -1
- package/cjs/ts-types/base-table.js +1 -1
- package/cjs/ts-types/common.js +1 -1
- package/cjs/ts-types/customElement.js +1 -1
- package/cjs/ts-types/customLayout.js +1 -1
- package/cjs/ts-types/events.js +1 -1
- package/cjs/ts-types/icon.js +1 -1
- package/cjs/ts-types/pivot-table/corner.d.ts +6 -6
- package/cjs/ts-types/pivot-table/corner.js.map +1 -1
- package/cjs/ts-types/pivot-table/dimension/index.d.ts +1 -1
- package/cjs/ts-types/pivot-table/dimension/index.js.map +1 -1
- package/cjs/ts-types/pivot-table/indicator/chart-indicator.d.ts +1 -1
- package/cjs/ts-types/pivot-table/indicator/chart-indicator.js.map +1 -1
- package/cjs/ts-types/pivot-table/indicator/image-indicator.d.ts +2 -2
- package/cjs/ts-types/pivot-table/indicator/image-indicator.js.map +1 -1
- package/cjs/ts-types/pivot-table/indicator/index.d.ts +2 -3
- package/cjs/ts-types/pivot-table/indicator/index.js.map +1 -1
- package/cjs/ts-types/pivot-table/indicator/link-indicator.d.ts +2 -2
- package/cjs/ts-types/pivot-table/indicator/link-indicator.js.map +1 -1
- package/cjs/ts-types/pivot-table/indicator/progress-indicator.d.ts +1 -1
- package/cjs/ts-types/pivot-table/indicator/progress-indicator.js.map +1 -1
- package/cjs/ts-types/pivot-table/indicator/sparkline-indicator.d.ts +1 -1
- package/cjs/ts-types/pivot-table/indicator/sparkline-indicator.js.map +1 -1
- package/cjs/ts-types/sparkline.d.ts +2 -4
- package/cjs/ts-types/sparkline.js.map +1 -1
- package/cjs/ts-types/style-define.d.ts +1 -5
- package/cjs/ts-types/style-define.js.map +1 -1
- package/dist/vtable.js +53 -44
- package/dist/vtable.min.js +2 -2
- package/es/core/BaseTable.d.ts +1 -1
- package/es/core/BaseTable.js +11 -8
- package/es/core/BaseTable.js.map +1 -1
- package/es/index.d.ts +3 -3
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/es/scenegraph/component/table-component.js +4 -4
- package/es/scenegraph/component/table-component.js.map +1 -1
- package/es/scenegraph/group-creater/cell-type/progress-bar-cell.js +15 -15
- package/es/scenegraph/group-creater/cell-type/progress-bar-cell.js.map +1 -1
- package/es/scenegraph/group-creater/cell-type/spark-line-cell.js +12 -13
- package/es/scenegraph/group-creater/cell-type/spark-line-cell.js.map +1 -1
- package/es/tools/LimitPromiseQueue.js +1 -1
- package/es/tools/NumberMap.js +2 -1
- package/es/tools/Rect.js +1 -1
- package/es/tools/calc.js +1 -1
- package/es/tools/debounce.js +1 -1
- package/es/tools/dom.js +1 -1
- package/es/tools/env.js +1 -1
- package/es/tools/global.js +1 -1
- package/es/tools/helper.js +1 -1
- package/es/tooltip/BaseTooltip.js +1 -1
- package/es/tooltip/Tooltip.js +1 -2
- package/es/tooltip/TooltipHandler.js +1 -1
- package/es/ts-types/base-table.js +1 -1
- package/es/ts-types/common.js +1 -1
- package/es/ts-types/customElement.js +1 -1
- package/es/ts-types/customLayout.js +1 -1
- package/es/ts-types/events.js +1 -1
- package/es/ts-types/icon.js +1 -1
- package/es/ts-types/pivot-table/corner.d.ts +6 -6
- package/es/ts-types/pivot-table/corner.js.map +1 -1
- package/es/ts-types/pivot-table/dimension/index.d.ts +1 -1
- package/es/ts-types/pivot-table/dimension/index.js.map +1 -1
- package/es/ts-types/pivot-table/indicator/chart-indicator.d.ts +1 -1
- package/es/ts-types/pivot-table/indicator/chart-indicator.js.map +1 -1
- package/es/ts-types/pivot-table/indicator/image-indicator.d.ts +2 -2
- package/es/ts-types/pivot-table/indicator/image-indicator.js.map +1 -1
- package/es/ts-types/pivot-table/indicator/index.d.ts +2 -3
- package/es/ts-types/pivot-table/indicator/index.js.map +1 -1
- package/es/ts-types/pivot-table/indicator/link-indicator.d.ts +2 -2
- package/es/ts-types/pivot-table/indicator/link-indicator.js.map +1 -1
- package/es/ts-types/pivot-table/indicator/progress-indicator.d.ts +1 -1
- package/es/ts-types/pivot-table/indicator/progress-indicator.js.map +1 -1
- package/es/ts-types/pivot-table/indicator/sparkline-indicator.d.ts +1 -1
- package/es/ts-types/pivot-table/indicator/sparkline-indicator.js.map +1 -1
- package/es/ts-types/sparkline.d.ts +2 -4
- package/es/ts-types/sparkline.js.map +1 -1
- package/es/ts-types/style-define.d.ts +1 -5
- package/es/ts-types/style-define.js.map +1 -1
- package/package.json +5 -5
package/dist/vtable.js
CHANGED
|
@@ -9882,7 +9882,7 @@
|
|
|
9882
9882
|
}, {
|
|
9883
9883
|
key: "lineEnd",
|
|
9884
9884
|
value: function lineEnd() {
|
|
9885
|
-
if (2 === this._point) _point$1(this, 6 * this._x1 - (this._x0 + 4 * this._x1), 6 * this._y1 - (this._y0 + 4 * this._y1), !1 !== this.
|
|
9885
|
+
if (2 === this._point) _point$1(this, 6 * this._x1 - (this._x0 + 4 * this._x1), 6 * this._y1 - (this._y0 + 4 * this._y1), !1 !== this._lastDefined1 && !1 !== this._lastDefined2);
|
|
9886
9886
|
(this._line || 0 !== this._line && 1 === this._point) && this.context.closePath(), this._line = 1 - this._line;
|
|
9887
9887
|
}
|
|
9888
9888
|
}, {
|
|
@@ -9892,15 +9892,15 @@
|
|
|
9892
9892
|
y = p.y;
|
|
9893
9893
|
switch (this._point) {
|
|
9894
9894
|
case 0:
|
|
9895
|
-
this._point = 1, this._line ? this.context.lineTo(x, y, !1 !== this.
|
|
9895
|
+
this._point = 1, this._line ? this.context.lineTo(x, y, !1 !== this._lastDefined1 && !1 !== this._lastDefined2) : this.context.moveTo(x, y);
|
|
9896
9896
|
break;
|
|
9897
9897
|
case 1:
|
|
9898
9898
|
this._point = 2;
|
|
9899
9899
|
break;
|
|
9900
9900
|
default:
|
|
9901
|
-
_point$1(this, x, y, !1 !== this.
|
|
9901
|
+
_point$1(this, x, y, !1 !== this._lastDefined1 && !1 !== this._lastDefined2);
|
|
9902
9902
|
}
|
|
9903
|
-
this._x0 = this._x1, this._x1 = x, this._y0 = this._y1, this._y1 = y, this.
|
|
9903
|
+
this._x0 = this._x1, this._x1 = x, this._y0 = this._y1, this._y1 = y, this._lastDefined1 = this._lastDefined2, this._lastDefined2 = p.defined;
|
|
9904
9904
|
}
|
|
9905
9905
|
}, {
|
|
9906
9906
|
key: "tryUpdateLength",
|
|
@@ -9973,10 +9973,10 @@
|
|
|
9973
9973
|
value: function lineEnd() {
|
|
9974
9974
|
switch (this._point) {
|
|
9975
9975
|
case 2:
|
|
9976
|
-
this.context.lineTo(this._x1, this._y1, !1 !== this.
|
|
9976
|
+
this.context.lineTo(this._x1, this._y1, !1 !== this._lastDefined2);
|
|
9977
9977
|
break;
|
|
9978
9978
|
case 3:
|
|
9979
|
-
_point(this, this._t0, slope2(this, this._t0), !1 !== this.
|
|
9979
|
+
_point(this, this._t0, slope2(this, this._t0), !1 !== this._lastDefined2);
|
|
9980
9980
|
}
|
|
9981
9981
|
(this._line || 0 !== this._line && 1 === this._point) && this.context.closePath(), this._line = 1 - this._line;
|
|
9982
9982
|
}
|
|
@@ -9989,18 +9989,18 @@
|
|
|
9989
9989
|
if (x !== this._x1 || y !== this._y1) {
|
|
9990
9990
|
switch (this._point) {
|
|
9991
9991
|
case 0:
|
|
9992
|
-
this._point = 1, this._line ? this.context.lineTo(x, y, !1 !== this.
|
|
9992
|
+
this._point = 1, this._line ? this.context.lineTo(x, y, !1 !== this._lastDefined1 && !1 !== this._lastDefined2) : this.context.moveTo(x, y);
|
|
9993
9993
|
break;
|
|
9994
9994
|
case 1:
|
|
9995
9995
|
this._point = 2;
|
|
9996
9996
|
break;
|
|
9997
9997
|
case 2:
|
|
9998
|
-
this._point = 3, _point(this, slope2(this, t1 = slope3(this, x, y)), t1, !1 !== this.
|
|
9998
|
+
this._point = 3, _point(this, slope2(this, t1 = slope3(this, x, y)), t1, !1 !== this._lastDefined1 && !1 !== this._lastDefined2);
|
|
9999
9999
|
break;
|
|
10000
10000
|
default:
|
|
10001
|
-
_point(this, this._t0, t1 = slope3(this, x, y), !1 !== this.
|
|
10001
|
+
_point(this, this._t0, t1 = slope3(this, x, y), !1 !== this._lastDefined1 && !1 !== this._lastDefined2);
|
|
10002
10002
|
}
|
|
10003
|
-
this._x0 = this._x1, this._x1 = x, this._y0 = this._y1, this._y1 = y, this._t0 = t1, this.
|
|
10003
|
+
this._x0 = this._x1, this._x1 = x, this._y0 = this._y1, this._y1 = y, this._t0 = t1, this._lastDefined1 = this._lastDefined2, this._lastDefined2 = !1 !== p.defined;
|
|
10004
10004
|
}
|
|
10005
10005
|
}
|
|
10006
10006
|
}, {
|
|
@@ -14585,7 +14585,12 @@
|
|
|
14585
14585
|
}();
|
|
14586
14586
|
ColorStore.store255 = {}, ColorStore.store1 = {};
|
|
14587
14587
|
|
|
14588
|
+
function colorArrayToString(color) {
|
|
14589
|
+
var alphaChannel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;
|
|
14590
|
+
return Array.isArray(color) ? alphaChannel ? "rgb(".concat(Math.round(color[0]), ",").concat(Math.round(color[1]), ",").concat(Math.round(color[2]), ",").concat(color[3].toFixed(2), ")") : "rgb(".concat(Math.round(color[0]), ",").concat(Math.round(color[1]), ",").concat(Math.round(color[2]), ")") : color;
|
|
14591
|
+
}
|
|
14588
14592
|
function interpolateColor(from, to, ratio, alphaChannel, cb) {
|
|
14593
|
+
if (!from || !to) return from && colorArrayToString(from) || to && colorArrayToString(to) || !1;
|
|
14589
14594
|
var fromArray,
|
|
14590
14595
|
toArray,
|
|
14591
14596
|
fromGradient = !1,
|
|
@@ -14605,8 +14610,7 @@
|
|
|
14605
14610
|
return !1;
|
|
14606
14611
|
}
|
|
14607
14612
|
cb && cb(fromArray, toArray);
|
|
14608
|
-
|
|
14609
|
-
return alphaChannel ? "rgb(".concat(Math.round(result[0]), ",").concat(Math.round(result[1]), ",").concat(Math.round(result[2]), ",").concat(result[3].toFixed(2), ")") : "rgb(".concat(Math.round(result[0]), ",").concat(Math.round(result[1]), ",").concat(Math.round(result[2]), ")");
|
|
14613
|
+
return colorArrayToString(interpolatePureColorArray(fromArray, toArray, ratio), alphaChannel);
|
|
14610
14614
|
}
|
|
14611
14615
|
function interpolateGradientLinearColor(fc, tc, ratio) {
|
|
14612
14616
|
var fStops = fc.stops,
|
|
@@ -34056,7 +34060,7 @@
|
|
|
34056
34060
|
return percentCompleteBarGroup;
|
|
34057
34061
|
}
|
|
34058
34062
|
if ((progressBarDefine.barType ?? 'default') === 'default') {
|
|
34059
|
-
const
|
|
34063
|
+
const percentile = num < progressBarDefine.min
|
|
34060
34064
|
? 0
|
|
34061
34065
|
: num > progressBarDefine.max
|
|
34062
34066
|
? 1
|
|
@@ -34071,7 +34075,7 @@
|
|
|
34071
34075
|
context: null,
|
|
34072
34076
|
value,
|
|
34073
34077
|
dataValue,
|
|
34074
|
-
|
|
34078
|
+
percentile
|
|
34075
34079
|
});
|
|
34076
34080
|
if (bgFillColor) {
|
|
34077
34081
|
const barBack = createRect({
|
|
@@ -34083,7 +34087,7 @@
|
|
|
34083
34087
|
});
|
|
34084
34088
|
percentCompleteBarGroup.addChild(barBack);
|
|
34085
34089
|
}
|
|
34086
|
-
const barSize = Math.min(barMaxWidth *
|
|
34090
|
+
const barSize = Math.min(barMaxWidth * percentile, barMaxWidth);
|
|
34087
34091
|
const fillColor = getOrApply(barColor, {
|
|
34088
34092
|
col,
|
|
34089
34093
|
row,
|
|
@@ -34091,7 +34095,7 @@
|
|
|
34091
34095
|
context: null,
|
|
34092
34096
|
value,
|
|
34093
34097
|
dataValue,
|
|
34094
|
-
|
|
34098
|
+
percentile
|
|
34095
34099
|
}) || '#20a8d8';
|
|
34096
34100
|
const barMain = createRect({
|
|
34097
34101
|
x: barLeft,
|
|
@@ -34119,7 +34123,7 @@
|
|
|
34119
34123
|
context: null,
|
|
34120
34124
|
value,
|
|
34121
34125
|
dataValue,
|
|
34122
|
-
|
|
34126
|
+
percentile: positiveRate
|
|
34123
34127
|
});
|
|
34124
34128
|
if (bgFillColor) {
|
|
34125
34129
|
const barBack = createRect({
|
|
@@ -34153,7 +34157,7 @@
|
|
|
34153
34157
|
context: null,
|
|
34154
34158
|
value,
|
|
34155
34159
|
dataValue,
|
|
34156
|
-
|
|
34160
|
+
percentile: negativeRate
|
|
34157
34161
|
}) || '#20a8d8';
|
|
34158
34162
|
const barNega = createRect({
|
|
34159
34163
|
x: barRectNega.left,
|
|
@@ -34184,7 +34188,7 @@
|
|
|
34184
34188
|
context: null,
|
|
34185
34189
|
value,
|
|
34186
34190
|
dataValue,
|
|
34187
|
-
|
|
34191
|
+
percentile: positiveRate
|
|
34188
34192
|
}) || '#20a8d8';
|
|
34189
34193
|
const barPosi = createRect({
|
|
34190
34194
|
x: barRectPosi.left,
|
|
@@ -34221,7 +34225,7 @@
|
|
|
34221
34225
|
context: null,
|
|
34222
34226
|
value,
|
|
34223
34227
|
dataValue,
|
|
34224
|
-
|
|
34228
|
+
percentile: positiveRate
|
|
34225
34229
|
}) || '#20a8d8';
|
|
34226
34230
|
if (barMarkPosition === 'right') {
|
|
34227
34231
|
const markLeft = barRightToLeft
|
|
@@ -34250,7 +34254,7 @@
|
|
|
34250
34254
|
context: null,
|
|
34251
34255
|
value,
|
|
34252
34256
|
dataValue,
|
|
34253
|
-
|
|
34257
|
+
percentile: negativeRate
|
|
34254
34258
|
}) || '#20a8d8';
|
|
34255
34259
|
if (barMarkPosition === 'right') {
|
|
34256
34260
|
const markLeft = barRightToLeft
|
|
@@ -34284,9 +34288,9 @@
|
|
|
34284
34288
|
const _negativeRange = progressBarDefine.min < 0 ? -progressBarDefine.min : 0;
|
|
34285
34289
|
const _positiveRange = progressBarDefine.max > 0 ? progressBarDefine.max : 0;
|
|
34286
34290
|
const range = Math.max(_negativeRange, _positiveRange);
|
|
34287
|
-
const
|
|
34291
|
+
const percentile = range === 0 ? 0 : Math.abs(num) / range;
|
|
34288
34292
|
const barMaxWidth = width - barPaddingLeft - barPaddingRight - 1;
|
|
34289
|
-
const barSize = Math.min(barMaxWidth *
|
|
34293
|
+
const barSize = Math.min(barMaxWidth * percentile, barMaxWidth);
|
|
34290
34294
|
const barTop = bottom - barPaddingBottom - barHeight - barBottom - 1;
|
|
34291
34295
|
const barLeft = barRightToLeft ? right - barPaddingRight - barSize : left + barPaddingLeft;
|
|
34292
34296
|
const barBgFillColor = getOrApply(barBgColor, {
|
|
@@ -34296,7 +34300,7 @@
|
|
|
34296
34300
|
context: null,
|
|
34297
34301
|
value,
|
|
34298
34302
|
dataValue,
|
|
34299
|
-
|
|
34303
|
+
percentile
|
|
34300
34304
|
}) || '#f0f3f5';
|
|
34301
34305
|
const barBg = createRect({
|
|
34302
34306
|
x: barLeft,
|
|
@@ -34321,7 +34325,7 @@
|
|
|
34321
34325
|
table,
|
|
34322
34326
|
context: null,
|
|
34323
34327
|
value,
|
|
34324
|
-
|
|
34328
|
+
percentile,
|
|
34325
34329
|
dataValue
|
|
34326
34330
|
}) || '#20a8d8';
|
|
34327
34331
|
}
|
|
@@ -34334,7 +34338,7 @@
|
|
|
34334
34338
|
context: null,
|
|
34335
34339
|
value,
|
|
34336
34340
|
dataValue,
|
|
34337
|
-
|
|
34341
|
+
percentile
|
|
34338
34342
|
}) || '#20a8d8';
|
|
34339
34343
|
}
|
|
34340
34344
|
const bar = createRect({
|
|
@@ -34358,7 +34362,7 @@
|
|
|
34358
34362
|
context: null,
|
|
34359
34363
|
value,
|
|
34360
34364
|
dataValue,
|
|
34361
|
-
|
|
34365
|
+
percentile
|
|
34362
34366
|
}) || '#20a8d8';
|
|
34363
34367
|
}
|
|
34364
34368
|
else {
|
|
@@ -34370,7 +34374,7 @@
|
|
|
34370
34374
|
context: null,
|
|
34371
34375
|
value,
|
|
34372
34376
|
dataValue,
|
|
34373
|
-
|
|
34377
|
+
percentile
|
|
34374
34378
|
}) || '#20a8d8';
|
|
34375
34379
|
}
|
|
34376
34380
|
if (barMarkPosition === 'right') {
|
|
@@ -35175,8 +35179,8 @@
|
|
|
35175
35179
|
line.max = yScale.range()[1];
|
|
35176
35180
|
const symbolGroup = chartGroup.getChildByName('sparkline-symbol-group');
|
|
35177
35181
|
if (symbolGroup) {
|
|
35178
|
-
const isShowIsolatedPoint = sparklineSpec.
|
|
35179
|
-
if (sparklineSpec.
|
|
35182
|
+
const isShowIsolatedPoint = sparklineSpec.pointShowRule === 'isolatedPoint';
|
|
35183
|
+
if (sparklineSpec.pointShowRule === 'all') {
|
|
35180
35184
|
for (let i = 0; i < items.length; i++) {
|
|
35181
35185
|
const { x, y, defined } = items[i];
|
|
35182
35186
|
if (defined) {
|
|
@@ -35218,7 +35222,7 @@
|
|
|
35218
35222
|
const line = createLine({
|
|
35219
35223
|
x: 0,
|
|
35220
35224
|
y: 0,
|
|
35221
|
-
curveType: specObj.smooth
|
|
35225
|
+
curveType: specObj.smooth ? 'monotoneX' : 'linear',
|
|
35222
35226
|
stroke: specObj.line?.style?.stroke ?? 'blue',
|
|
35223
35227
|
lineWidth: specObj.line?.style?.strokeWidth ?? 2
|
|
35224
35228
|
});
|
|
@@ -37031,8 +37035,8 @@
|
|
|
37031
37035
|
const y = Math.min(tableHeight, totalHeight);
|
|
37032
37036
|
const rangeEnd = Math.max(0.05, (tableWidth - frozenColsWidth) / (totalWidth - frozenColsWidth));
|
|
37033
37037
|
this.hScrollBar.setAttributes({
|
|
37034
|
-
x: frozenColsWidth,
|
|
37035
|
-
y: y - (this.table.theme.scrollStyle.hoverOn ? width :
|
|
37038
|
+
x: frozenColsWidth + (!this.table.theme.scrollStyle.hoverOn ? this.table.scenegraph.tableGroup.attribute.x : 0),
|
|
37039
|
+
y: y - (this.table.theme.scrollStyle.hoverOn ? width : -this.table.scenegraph.tableGroup.attribute.y),
|
|
37036
37040
|
width: tableWidth - frozenColsWidth,
|
|
37037
37041
|
range: [0, rangeEnd],
|
|
37038
37042
|
visible: visible === 'always'
|
|
@@ -37050,8 +37054,8 @@
|
|
|
37050
37054
|
const x = Math.min(tableWidth, totalWidth);
|
|
37051
37055
|
const rangeEnd = Math.max(0.05, (tableHeight - frozenRowsHeight) / (totalHeight - frozenRowsHeight));
|
|
37052
37056
|
this.vScrollBar.setAttributes({
|
|
37053
|
-
x: x - (this.table.theme.scrollStyle.hoverOn ? width :
|
|
37054
|
-
y: frozenRowsHeight,
|
|
37057
|
+
x: x - (this.table.theme.scrollStyle.hoverOn ? width : -this.table.scenegraph.tableGroup.attribute.x),
|
|
37058
|
+
y: frozenRowsHeight + (!this.table.theme.scrollStyle.hoverOn ? this.table.scenegraph.tableGroup.attribute.y : 0),
|
|
37055
37059
|
height: tableHeight - frozenRowsHeight,
|
|
37056
37060
|
range: [0, rangeEnd],
|
|
37057
37061
|
visible: visible === 'always'
|
|
@@ -44328,7 +44332,7 @@
|
|
|
44328
44332
|
return TABLE_EVENT_TYPE;
|
|
44329
44333
|
}
|
|
44330
44334
|
options;
|
|
44331
|
-
version = "0.9.1-alpha.
|
|
44335
|
+
version = "0.9.1-alpha.4";
|
|
44332
44336
|
pagerConf;
|
|
44333
44337
|
id = `VTable${Date.now()}`;
|
|
44334
44338
|
headerStyleCache;
|
|
@@ -45934,8 +45938,10 @@
|
|
|
45934
45938
|
return {
|
|
45935
45939
|
textAlign: theme.text.textAlign,
|
|
45936
45940
|
textBaseline: theme.text.textBaseline,
|
|
45937
|
-
bgColor: theme.group.fill
|
|
45938
|
-
|
|
45941
|
+
bgColor: isBoolean(theme.group.fill)
|
|
45942
|
+
? getProp('bgColor', actStyle, col, row, this)
|
|
45943
|
+
: theme.group.fill,
|
|
45944
|
+
color: isBoolean(theme.text.fill) ? getProp('color', actStyle, col, row, this) : theme.text.fill,
|
|
45939
45945
|
fontFamily: theme.text.fontFamily,
|
|
45940
45946
|
fontSize: theme.text.fontSize,
|
|
45941
45947
|
fontWeight: theme.text.fontWeight,
|
|
@@ -45945,13 +45951,16 @@
|
|
|
45945
45951
|
autoWrapText: autoWrapText ?? false,
|
|
45946
45952
|
lineClamp: lineClamp ?? 'auto',
|
|
45947
45953
|
textOverflow,
|
|
45948
|
-
borderColor: theme.group.stroke
|
|
45954
|
+
borderColor: isBoolean(theme.group.stroke)
|
|
45955
|
+
? getProp('borderColor', actStyle, col, row, this)
|
|
45956
|
+
: theme.group.stroke,
|
|
45949
45957
|
borderLineWidth: theme.group.lineWidth,
|
|
45950
45958
|
borderLineDash: theme.group.lineDash,
|
|
45951
|
-
underline: theme.text.underline,
|
|
45952
|
-
|
|
45953
|
-
|
|
45954
|
-
|
|
45959
|
+
underline: !!theme.text.underline,
|
|
45960
|
+
lineThrough: !!theme.text.lineThrough,
|
|
45961
|
+
padding: theme._vtable.padding,
|
|
45962
|
+
underlineWidth: theme.text.underline,
|
|
45963
|
+
lineThroughLineWidth: theme.text.lineThrough
|
|
45955
45964
|
};
|
|
45956
45965
|
}
|
|
45957
45966
|
getAllBodyCells(colMaxCount, rowMaxCount) {
|
|
@@ -51124,7 +51133,7 @@
|
|
|
51124
51133
|
percentCalc: percentCalc
|
|
51125
51134
|
});
|
|
51126
51135
|
|
|
51127
|
-
const version = "0.9.1-alpha.
|
|
51136
|
+
const version = "0.9.1-alpha.4";
|
|
51128
51137
|
function getIcons() {
|
|
51129
51138
|
return get();
|
|
51130
51139
|
}
|