@ai-table/grid 0.4.6 → 0.4.7
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/fesm2022/ai-table-grid.mjs +5 -4
- package/fesm2022/ai-table-grid.mjs.map +1 -1
- package/index.d.ts +3 -3
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3388,9 +3388,6 @@ function cellValueToSortValue$1(cellValue) {
|
|
|
3388
3388
|
}
|
|
3389
3389
|
|
|
3390
3390
|
class CheckboxField extends CheckboxFieldBase {
|
|
3391
|
-
transformCellValue(cellValue, options) {
|
|
3392
|
-
return transformToCellText(cellValue, options);
|
|
3393
|
-
}
|
|
3394
3391
|
isMeetFilter(condition, cellValue) {
|
|
3395
3392
|
if (cellValue === null) {
|
|
3396
3393
|
if (condition.operation === AITableFilterOperation.empty) {
|
|
@@ -10736,7 +10733,11 @@ class AITableCellProgress extends CoverCellBase {
|
|
|
10736
10733
|
const { scrollLeft } = aiTable.context.scrollState();
|
|
10737
10734
|
const pointPosition = aiTable.context.pointPosition();
|
|
10738
10735
|
const { columnIndex } = pointPosition;
|
|
10739
|
-
|
|
10736
|
+
let columnLeftX = coordinate.getColumnOffset(columnIndex) + AI_TABLE_OFFSET;
|
|
10737
|
+
const isInFrozenColumn = columnIndex < aiTable.context.frozenColumnCount();
|
|
10738
|
+
if (!isInFrozenColumn) {
|
|
10739
|
+
columnLeftX = coordinate.getColumnOffset(columnIndex) + AI_TABLE_OFFSET - scrollLeft;
|
|
10740
|
+
}
|
|
10740
10741
|
const stage = e.event.target.getStage();
|
|
10741
10742
|
if (!stage)
|
|
10742
10743
|
return;
|