schummar-table 0.45.0 → 0.45.2
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/index.cjs +7 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2807,7 +2807,8 @@ function DateFilter(_a) {
|
|
|
2807
2807
|
filterBy = convertDateOrArray,
|
|
2808
2808
|
minDate,
|
|
2809
2809
|
maxDate,
|
|
2810
|
-
showCalendarWeek
|
|
2810
|
+
showCalendarWeek,
|
|
2811
|
+
showTime
|
|
2811
2812
|
} = _b, props = __objRest(_b, [
|
|
2812
2813
|
"locale",
|
|
2813
2814
|
"firstDayOfWeek",
|
|
@@ -2817,7 +2818,8 @@ function DateFilter(_a) {
|
|
|
2817
2818
|
"filterBy",
|
|
2818
2819
|
"minDate",
|
|
2819
2820
|
"maxDate",
|
|
2820
|
-
"showCalendarWeek"
|
|
2821
|
+
"showCalendarWeek",
|
|
2822
|
+
"showTime"
|
|
2821
2823
|
]);
|
|
2822
2824
|
const { value = null, onChange } = useFilter(__spreadProps(__spreadValues({}, props), {
|
|
2823
2825
|
filterBy,
|
|
@@ -2848,7 +2850,8 @@ function DateFilter(_a) {
|
|
|
2848
2850
|
quickOptions,
|
|
2849
2851
|
minDate,
|
|
2850
2852
|
maxDate,
|
|
2851
|
-
showCalendarWeek
|
|
2853
|
+
showCalendarWeek,
|
|
2854
|
+
showTime
|
|
2852
2855
|
}
|
|
2853
2856
|
)
|
|
2854
2857
|
}
|
|
@@ -5059,9 +5062,9 @@ function Virtualized(_a) {
|
|
|
5059
5062
|
var _a3;
|
|
5060
5063
|
const itemIds2 = state.activeItems.map((item) => item.id);
|
|
5061
5064
|
const root = probeRef.current && findScrollRoot(probeRef.current);
|
|
5065
|
+
if (!state.props.virtual) return { itemIds: itemIds2 };
|
|
5062
5066
|
if (!probeRef.current || !root || !document.contains(root) || state.displaySizePx === void 0)
|
|
5063
5067
|
return {};
|
|
5064
|
-
if (!state.props.virtual) return { itemIds: itemIds2 };
|
|
5065
5068
|
const {
|
|
5066
5069
|
rowHeight,
|
|
5067
5070
|
initalRowHeight,
|