@visactor/vtable 1.7.5 → 1.7.6
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.js +1 -1
- package/cjs/core/BaseTable.js.map +1 -1
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/cjs/scenegraph/style/frame-border.js +5 -5
- package/cjs/scenegraph/style/frame-border.js.map +1 -1
- package/cjs/themes/theme.d.ts +2 -1
- package/cjs/themes/theme.js +10 -7
- package/cjs/themes/theme.js.map +1 -1
- package/cjs/vrender.js.map +1 -1
- package/dist/vtable.js +14 -11
- package/dist/vtable.min.js +2 -2
- package/es/core/BaseTable.js +1 -1
- package/es/core/BaseTable.js.map +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/es/scenegraph/style/frame-border.js +3 -3
- package/es/scenegraph/style/frame-border.js.map +1 -1
- package/es/themes/theme.d.ts +2 -1
- package/es/themes/theme.js +10 -7
- package/es/themes/theme.js.map +1 -1
- package/es/vrender.js.map +1 -1
- package/package.json +4 -4
package/dist/vtable.js
CHANGED
|
@@ -28024,6 +28024,9 @@
|
|
|
28024
28024
|
getExtendTheme() {
|
|
28025
28025
|
return this.internalTheme.obj;
|
|
28026
28026
|
}
|
|
28027
|
+
clearBodyStyleCache() {
|
|
28028
|
+
this._body = null;
|
|
28029
|
+
}
|
|
28027
28030
|
get font() {
|
|
28028
28031
|
const { obj, superTheme } = this.internalTheme;
|
|
28029
28032
|
return getProp$1(obj, superTheme, ['font'], ['bodyStyle', 'font']);
|
|
@@ -28182,14 +28185,6 @@
|
|
|
28182
28185
|
}
|
|
28183
28186
|
return this._defaultStyle;
|
|
28184
28187
|
}
|
|
28185
|
-
get headerStyle() {
|
|
28186
|
-
if (!this._header) {
|
|
28187
|
-
const { obj, superTheme } = this.internalTheme;
|
|
28188
|
-
const header = ingoreNoneValueMerge({}, this.defaultStyle, superTheme.headerStyle, obj.headerStyle);
|
|
28189
|
-
this._header = this.getStyle(header);
|
|
28190
|
-
}
|
|
28191
|
-
return this._header;
|
|
28192
|
-
}
|
|
28193
28188
|
get cornerHeaderStyle() {
|
|
28194
28189
|
if (!this._cornerHeader) {
|
|
28195
28190
|
const { obj, superTheme } = this.internalTheme;
|
|
@@ -28261,6 +28256,14 @@
|
|
|
28261
28256
|
}
|
|
28262
28257
|
return this._rowHeader;
|
|
28263
28258
|
}
|
|
28259
|
+
get headerStyle() {
|
|
28260
|
+
if (!this._header) {
|
|
28261
|
+
const { obj, superTheme } = this.internalTheme;
|
|
28262
|
+
const header = ingoreNoneValueMerge({}, this.defaultStyle, superTheme.headerStyle, obj.headerStyle);
|
|
28263
|
+
this._header = this.getStyle(header);
|
|
28264
|
+
}
|
|
28265
|
+
return this._header;
|
|
28266
|
+
}
|
|
28264
28267
|
get bodyStyle() {
|
|
28265
28268
|
if (!this._body) {
|
|
28266
28269
|
const { obj, superTheme } = this.internalTheme;
|
|
@@ -37246,7 +37249,7 @@
|
|
|
37246
37249
|
if (borderLineWidth) {
|
|
37247
37250
|
rectAttributes.stroke = true;
|
|
37248
37251
|
rectAttributes.fill = false;
|
|
37249
|
-
rectAttributes.stroke = getStroke(borderColor, strokeArray, borderLineWidth);
|
|
37252
|
+
rectAttributes.stroke = getStroke(borderColor ?? '#E1E4E8', strokeArray, borderLineWidth);
|
|
37250
37253
|
rectAttributes.lineWidth = borderLineWidth;
|
|
37251
37254
|
borderLineDash && (rectAttributes.lineDash = borderLineDash);
|
|
37252
37255
|
rectAttributes.lineCap = 'butt';
|
|
@@ -54624,7 +54627,7 @@
|
|
|
54624
54627
|
return TABLE_EVENT_TYPE;
|
|
54625
54628
|
}
|
|
54626
54629
|
options;
|
|
54627
|
-
version = "1.7.
|
|
54630
|
+
version = "1.7.6";
|
|
54628
54631
|
pagination;
|
|
54629
54632
|
id = `VTable${Date.now()}`;
|
|
54630
54633
|
headerStyleCache;
|
|
@@ -73563,7 +73566,7 @@
|
|
|
73563
73566
|
}
|
|
73564
73567
|
|
|
73565
73568
|
registerForVrender();
|
|
73566
|
-
const version = "1.7.
|
|
73569
|
+
const version = "1.7.6";
|
|
73567
73570
|
function getIcons() {
|
|
73568
73571
|
return get$2();
|
|
73569
73572
|
}
|