@dolusoft/query-table 3.5.0 → 3.5.1
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/dist/query-table.js
CHANGED
|
@@ -1681,12 +1681,12 @@ var useHeaderGeometry = (options) => {
|
|
|
1681
1681
|
headerCells(table).forEach((cell, index) => {
|
|
1682
1682
|
const drawn = cells[index];
|
|
1683
1683
|
if (drawn) {
|
|
1684
|
-
const
|
|
1685
|
-
next[drawn.key] =
|
|
1684
|
+
const exact = cell.getBoundingClientRect().width;
|
|
1685
|
+
next[drawn.key] = Math.round(exact);
|
|
1686
1686
|
if (drawn.side === "left") {
|
|
1687
1687
|
nextOffsets[drawn.key] = left;
|
|
1688
|
-
left +=
|
|
1689
|
-
} else if (drawn.side === "right") rights.push([drawn.key,
|
|
1688
|
+
left += exact;
|
|
1689
|
+
} else if (drawn.side === "right") rights.push([drawn.key, exact]);
|
|
1690
1690
|
}
|
|
1691
1691
|
});
|
|
1692
1692
|
let right = 0;
|
|
@@ -3404,7 +3404,8 @@ var query_table_default = /* @__PURE__ */ defineComponent({
|
|
|
3404
3404
|
* a segment without an operator uses `condition`.
|
|
3405
3405
|
* - `number`: one rule with a number value; text that is not a finite number
|
|
3406
3406
|
* gives `[]`.
|
|
3407
|
-
* - `integer`: the same, but only a whole number; `2.5`
|
|
3407
|
+
* - `integer`: the same, but only a whole number in the safe range; `2.5`
|
|
3408
|
+
* and `9007199254740993` give `[]`.
|
|
3408
3409
|
* - `bool`: `'true'` or `'false'` gives one rule with a boolean value;
|
|
3409
3410
|
* anything else gives `[]`.
|
|
3410
3411
|
* - `date` and `datetime`: one rule with the trimmed text as its value; the
|