@visactor/vtable 1.6.2-alpha.2 → 1.6.2-alpha.3
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/group-creater/progress/update-position/dynamic-set-x.js +1 -1
- package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-x.js.map +1 -1
- package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-y.js +6 -6
- package/cjs/scenegraph/group-creater/progress/update-position/dynamic-set-y.js.map +1 -1
- package/cjs/ts-types/base-table.js.map +1 -1
- package/cjs/vrender.js.map +1 -1
- package/dist/vtable.js +10 -10
- package/dist/vtable.min.js +1 -1
- 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/group-creater/progress/update-position/dynamic-set-x.js +1 -1
- package/es/scenegraph/group-creater/progress/update-position/dynamic-set-x.js.map +1 -1
- package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.js +6 -6
- package/es/scenegraph/group-creater/progress/update-position/dynamic-set-y.js.map +1 -1
- package/es/ts-types/base-table.js.map +1 -1
- package/es/vrender.js.map +1 -1
- package/package.json +4 -4
package/cjs/vrender.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/vrender.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qEAA0D;AAC1D,kCAAgC;AAChC,yDAA8F;AAC9F,yDAqBgC;AAIhC,IAAI,QAAQ,GAAG,KAAK,CAAC;AACrB,SAAgB,kBAAkB;IAChC,IAAI,QAAQ,EAAE;QACZ,OAAO;KACR;IACD,QAAQ,GAAG,IAAI,CAAC;IAEhB,IAAA,+BAAgB,GAAE,CAAC;IAEnB,IAAI,IAAA,2BAAY,GAAE,EAAE;QAClB,IAAA,6BAAc,EAAC,wBAAS,CAAC,CAAC;KAC3B;SAAM,IAAI,IAAA,wBAAS,GAAE,EAAE;QACtB,IAAA,0BAAW,EAAC,wBAAS,CAAC,CAAC;KACxB;IACD,IAAA,0BAAW,GAAE,CAAC;IAGd,IAAA,6BAAc,GAAE,CAAC;IAEjB,IAAA,4BAAa,GAAE,CAAC;IAChB,IAAA,4BAAa,GAAE,CAAC;IAChB,IAAA,2BAAY,GAAE,CAAC;IAIf,IAAA,2BAAY,GAAE,CAAC;IAEf,IAAA,+BAAgB,GAAE,CAAC;IACnB,IAAA,iCAAkB,GAAE,CAAC;IACrB,IAAA,6BAAc,GAAE,CAAC;IACjB,IAAA,2BAAY,GAAE,CAAC;IAGf,IAAA,+BAAU,GAAE,CAAC;AACf,CAAC;AAjCD,gDAiCC;AAED,uDAA6D;AAApD,yGAAA,SAAS,OAAA;AAClB,uDAAqD;AAA5C,2GAAA,WAAW,OAAA;AACpB,uDAAsD;AAA7C,4GAAA,YAAY,OAAA;AAErB,yDAAuC;AACvC,yDAAuC;AACvC,+DAA6C","file":"vrender.js","sourcesContent":["import { loadPoptip } from '@visactor/vrender-components';\nimport '@visactor/vrender-core';\nimport { container, isBrowserEnv, isNodeEnv, preLoadAllModule } from '@visactor/vrender-core';\nimport {\n loadBrowserEnv,\n loadNodeEnv,\n registerArc,\n registerArc3d,\n registerArea,\n registerCircle,\n registerGlyph,\n registerGroup,\n registerImage,\n registerLine,\n registerPath,\n registerPolygon,\n registerPyramid3d,\n registerRect,\n registerRect3d,\n registerRichtext,\n registerShadowRoot,\n registerSymbol,\n registerText,\n registerWrapText\n} from '@visactor/vrender-kits';\n// 导出版本号\n// export const version = \"1.6.2-alpha.
|
|
1
|
+
{"version":3,"sources":["../src/vrender.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qEAA0D;AAC1D,kCAAgC;AAChC,yDAA8F;AAC9F,yDAqBgC;AAIhC,IAAI,QAAQ,GAAG,KAAK,CAAC;AACrB,SAAgB,kBAAkB;IAChC,IAAI,QAAQ,EAAE;QACZ,OAAO;KACR;IACD,QAAQ,GAAG,IAAI,CAAC;IAEhB,IAAA,+BAAgB,GAAE,CAAC;IAEnB,IAAI,IAAA,2BAAY,GAAE,EAAE;QAClB,IAAA,6BAAc,EAAC,wBAAS,CAAC,CAAC;KAC3B;SAAM,IAAI,IAAA,wBAAS,GAAE,EAAE;QACtB,IAAA,0BAAW,EAAC,wBAAS,CAAC,CAAC;KACxB;IACD,IAAA,0BAAW,GAAE,CAAC;IAGd,IAAA,6BAAc,GAAE,CAAC;IAEjB,IAAA,4BAAa,GAAE,CAAC;IAChB,IAAA,4BAAa,GAAE,CAAC;IAChB,IAAA,2BAAY,GAAE,CAAC;IAIf,IAAA,2BAAY,GAAE,CAAC;IAEf,IAAA,+BAAgB,GAAE,CAAC;IACnB,IAAA,iCAAkB,GAAE,CAAC;IACrB,IAAA,6BAAc,GAAE,CAAC;IACjB,IAAA,2BAAY,GAAE,CAAC;IAGf,IAAA,+BAAU,GAAE,CAAC;AACf,CAAC;AAjCD,gDAiCC;AAED,uDAA6D;AAApD,yGAAA,SAAS,OAAA;AAClB,uDAAqD;AAA5C,2GAAA,WAAW,OAAA;AACpB,uDAAsD;AAA7C,4GAAA,YAAY,OAAA;AAErB,yDAAuC;AACvC,yDAAuC;AACvC,+DAA6C","file":"vrender.js","sourcesContent":["import { loadPoptip } from '@visactor/vrender-components';\nimport '@visactor/vrender-core';\nimport { container, isBrowserEnv, isNodeEnv, preLoadAllModule } from '@visactor/vrender-core';\nimport {\n loadBrowserEnv,\n loadNodeEnv,\n registerArc,\n registerArc3d,\n registerArea,\n registerCircle,\n registerGlyph,\n registerGroup,\n registerImage,\n registerLine,\n registerPath,\n registerPolygon,\n registerPyramid3d,\n registerRect,\n registerRect3d,\n registerRichtext,\n registerShadowRoot,\n registerSymbol,\n registerText,\n registerWrapText\n} from '@visactor/vrender-kits';\n// 导出版本号\n// export const version = \"1.6.2-alpha.3\";\n\nlet registed = false;\nexport function registerForVrender() {\n if (registed) {\n return;\n }\n registed = true;\n // 注册内置组件\n preLoadAllModule();\n\n if (isBrowserEnv()) {\n loadBrowserEnv(container);\n } else if (isNodeEnv()) {\n loadNodeEnv(container);\n }\n registerArc();\n // registerArc3d();\n // registerArea();\n registerCircle();\n // registerGlyph();\n registerGroup();\n registerImage();\n registerLine();\n // registerPath();\n // registerPolygon();\n // registerPyramid3d();\n registerRect();\n // registerRect3d();\n registerRichtext();\n registerShadowRoot();\n registerSymbol();\n registerText();\n // registerWrapText();\n\n loadPoptip();\n}\n\nexport { Direction, Timeline } from '@visactor/vrender-core';\nexport { GroupFadeIn } from '@visactor/vrender-core';\nexport { GroupFadeOut } from '@visactor/vrender-core';\n\nexport * from '@visactor/vrender-core';\nexport * from '@visactor/vrender-kits';\nexport * from '@visactor/vrender-components';\n"]}
|
package/dist/vtable.js
CHANGED
|
@@ -57864,8 +57864,8 @@
|
|
|
57864
57864
|
return;
|
|
57865
57865
|
}
|
|
57866
57866
|
const screenTopRow = proxy.screenTopRow;
|
|
57867
|
-
const topRow = Math.max(proxy.bodyTopRow, screenTopRow - proxy.screenRowCount * (proxy.table.options.rowUpdateBufferCount ?? 1));
|
|
57868
|
-
const bottomRow = Math.min(proxy.bodyBottomRow, screenTopRow + proxy.screenRowCount * (1 + (proxy.table.options.rowUpdateBufferCount ?? 1)));
|
|
57867
|
+
const topRow = Math.max(proxy.bodyTopRow, screenTopRow - Math.ceil(proxy.screenRowCount * (proxy.table.options.rowUpdateBufferCount ?? 1)));
|
|
57868
|
+
const bottomRow = Math.min(proxy.bodyBottomRow, screenTopRow + Math.ceil(proxy.screenRowCount * (1 + (proxy.table.options.rowUpdateBufferCount ?? 1))));
|
|
57869
57869
|
for (let row = topRow; row <= bottomRow; row++) {
|
|
57870
57870
|
const cellGroup = proxy.highPerformanceGetCell(colGroup.col, row, true);
|
|
57871
57871
|
proxy.updateCellGroupContent(cellGroup);
|
|
@@ -58079,8 +58079,8 @@
|
|
|
58079
58079
|
syncBottomRow = distEndRow;
|
|
58080
58080
|
}
|
|
58081
58081
|
else {
|
|
58082
|
-
const topRow = Math.max(proxy.bodyTopRow, screenTopRow - proxy.screenRowCount * (proxy.table.options.rowUpdateBufferCount ?? 1));
|
|
58083
|
-
const bottomRow = Math.min(proxy.bodyBottomRow, screenTopRow + proxy.screenRowCount * (1 + (proxy.table.options.rowUpdateBufferCount ?? 1)));
|
|
58082
|
+
const topRow = Math.max(proxy.bodyTopRow, screenTopRow - Math.ceil(proxy.screenRowCount * (proxy.table.options.rowUpdateBufferCount ?? 1)));
|
|
58083
|
+
const bottomRow = Math.min(proxy.bodyBottomRow, screenTopRow + Math.ceil(proxy.screenRowCount * (1 + (proxy.table.options.rowUpdateBufferCount ?? 1))));
|
|
58084
58084
|
syncTopRow = topRow;
|
|
58085
58085
|
syncBottomRow = bottomRow;
|
|
58086
58086
|
}
|
|
@@ -58118,8 +58118,8 @@
|
|
|
58118
58118
|
syncBottomRow = distEndRow;
|
|
58119
58119
|
}
|
|
58120
58120
|
else {
|
|
58121
|
-
syncTopRow = Math.max(proxy.bodyTopRow, screenTopRow - proxy.screenRowCount * (proxy.table.options.rowUpdateBufferCount ?? 1));
|
|
58122
|
-
syncBottomRow = Math.min(proxy.bodyBottomRow, screenTopRow + proxy.screenRowCount * (1 + (proxy.table.options.rowUpdateBufferCount ?? 1)));
|
|
58121
|
+
syncTopRow = Math.max(proxy.bodyTopRow, screenTopRow - Math.ceil(proxy.screenRowCount * (proxy.table.options.rowUpdateBufferCount ?? 1)));
|
|
58122
|
+
syncBottomRow = Math.min(proxy.bodyBottomRow, screenTopRow + Math.ceil(proxy.screenRowCount * (1 + (proxy.table.options.rowUpdateBufferCount ?? 1))));
|
|
58123
58123
|
}
|
|
58124
58124
|
computeRowsHeight(proxy.table, syncTopRow, syncBottomRow, false);
|
|
58125
58125
|
updateAllRowPosition(distStartRowY, count, direction, proxy);
|
|
@@ -58231,8 +58231,8 @@
|
|
|
58231
58231
|
let sync = true;
|
|
58232
58232
|
if (async) {
|
|
58233
58233
|
const screenLeftCol = proxy.screenLeftCol;
|
|
58234
|
-
leftCol = Math.max(proxy.bodyLeftCol, screenLeftCol - proxy.screenColCount * (proxy.table.options.columnUpdateBufferCount ?? 1));
|
|
58235
|
-
rightCol = Math.min(proxy.bodyRightCol, screenLeftCol + proxy.screenColCount * (1 + (proxy.table.options.columnUpdateBufferCount ?? 1)));
|
|
58234
|
+
leftCol = Math.max(proxy.bodyLeftCol, screenLeftCol - Math.ceil(proxy.screenColCount * (proxy.table.options.columnUpdateBufferCount ?? 1)));
|
|
58235
|
+
rightCol = Math.min(proxy.bodyRightCol, screenLeftCol + Math.ceil(proxy.screenColCount * (1 + (proxy.table.options.columnUpdateBufferCount ?? 1))));
|
|
58236
58236
|
if (leftCol !== proxy.bodyLeftCol || rightCol !== proxy.bodyRightCol) {
|
|
58237
58237
|
sync = false;
|
|
58238
58238
|
}
|
|
@@ -71932,7 +71932,7 @@
|
|
|
71932
71932
|
return TABLE_EVENT_TYPE;
|
|
71933
71933
|
}
|
|
71934
71934
|
options;
|
|
71935
|
-
version = "1.6.2-alpha.
|
|
71935
|
+
version = "1.6.2-alpha.3";
|
|
71936
71936
|
pagination;
|
|
71937
71937
|
id = `VTable${Date.now()}`;
|
|
71938
71938
|
headerStyleCache;
|
|
@@ -92424,7 +92424,7 @@
|
|
|
92424
92424
|
}
|
|
92425
92425
|
|
|
92426
92426
|
registerForVrender();
|
|
92427
|
-
const version = "1.6.2-alpha.
|
|
92427
|
+
const version = "1.6.2-alpha.3";
|
|
92428
92428
|
function getIcons() {
|
|
92429
92429
|
return get$2();
|
|
92430
92430
|
}
|