@lazerlen/legend-calendar 1.2.0 → 1.4.0

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.mjs CHANGED
@@ -759,7 +759,7 @@ var CalendarItemDay = /* @__PURE__ */ memo(function CalendarItemDay2(t0) {
759
759
  return t7;
760
760
  });
761
761
  var CalendarItemDayContainer = /* @__PURE__ */ memo(function CalendarItemDayContainer2(t0) {
762
- const $ = _c3(21);
762
+ const $ = _c3(29);
763
763
  const {
764
764
  children,
765
765
  isStartOfWeek,
@@ -826,29 +826,65 @@ var CalendarItemDayContainer = /* @__PURE__ */ memo(function CalendarItemDayCont
826
826
  }
827
827
  const activeDayFiller = t5;
828
828
  let t6;
829
- if ($[15] !== activeDayFiller) {
830
- t6 = activeDayFiller ? /* @__PURE__ */ _jsx2(View, {
829
+ if ($[15] !== metadata || $[16] !== theme) {
830
+ t6 = typeof (theme == null ? void 0 : theme.activeDayRangeBackground) === "function" && metadata ? theme.activeDayRangeBackground(metadata) : theme == null ? void 0 : theme.activeDayRangeBackground;
831
+ $[15] = metadata;
832
+ $[16] = theme;
833
+ $[17] = t6;
834
+ } else {
835
+ t6 = $[17];
836
+ }
837
+ const rangeBackgroundTheme = t6;
838
+ let t7;
839
+ if ($[18] !== rangeBackgroundTheme) {
840
+ t7 = rangeBackgroundTheme ? __spreadValues({
841
+ position: "absolute",
842
+ top: 0,
843
+ bottom: 0,
844
+ left: 0,
845
+ right: 0
846
+ }, rangeBackgroundTheme) : null;
847
+ $[18] = rangeBackgroundTheme;
848
+ $[19] = t7;
849
+ } else {
850
+ t7 = $[19];
851
+ }
852
+ const rangeBackground = t7;
853
+ let t8;
854
+ if ($[20] !== rangeBackground) {
855
+ t8 = rangeBackground ? /* @__PURE__ */ _jsx2(View, {
856
+ style: rangeBackground
857
+ }) : null;
858
+ $[20] = rangeBackground;
859
+ $[21] = t8;
860
+ } else {
861
+ t8 = $[21];
862
+ }
863
+ let t9;
864
+ if ($[22] !== activeDayFiller) {
865
+ t9 = activeDayFiller ? /* @__PURE__ */ _jsx2(View, {
831
866
  style: activeDayFiller
832
867
  }) : null;
833
- $[15] = activeDayFiller;
834
- $[16] = t6;
868
+ $[22] = activeDayFiller;
869
+ $[23] = t9;
835
870
  } else {
836
- t6 = $[16];
871
+ t9 = $[23];
837
872
  }
838
- let t7;
839
- if ($[17] !== children || $[18] !== spacerStyles || $[19] !== t6) {
840
- t7 = /* @__PURE__ */ _jsxs(View, {
873
+ let t10;
874
+ if ($[24] !== children || $[25] !== spacerStyles || $[26] !== t8 || $[27] !== t9) {
875
+ t10 = /* @__PURE__ */ _jsxs(View, {
841
876
  style: spacerStyles,
842
- children: [t6, children]
877
+ children: [t8, t9, children]
843
878
  });
844
- $[17] = children;
845
- $[18] = spacerStyles;
846
- $[19] = t6;
847
- $[20] = t7;
879
+ $[24] = children;
880
+ $[25] = spacerStyles;
881
+ $[26] = t8;
882
+ $[27] = t9;
883
+ $[28] = t10;
848
884
  } else {
849
- t7 = $[20];
885
+ t10 = $[28];
850
886
  }
851
- return t7;
887
+ return t10;
852
888
  });
853
889
  var CalendarItemDayWithContainer = /* @__PURE__ */ memo(function CalendarItemDayWithContainer2(t0) {
854
890
  const $ = _c3(14);
@@ -1955,7 +1991,7 @@ import { jsx as _jsx10 } from "react/jsx-runtime";
1955
1991
  var LegendList = LegendListBase;
1956
1992
  var keyExtractor = (month) => month.id;
1957
1993
  function CalendarList(t0) {
1958
- const $ = _c12(42);
1994
+ const $ = _c12(49);
1959
1995
  const _a = t0, {
1960
1996
  ref
1961
1997
  } = _a, props = __objRest(_a, [
@@ -1963,23 +1999,25 @@ function CalendarList(t0) {
1963
1999
  ]);
1964
2000
  const _b = props, {
1965
2001
  calendarInitialMonthId,
1966
- calendarPastScrollRangeInMonths: t1,
1967
- calendarFutureScrollRangeInMonths: t2,
1968
- calendarFirstDayOfWeek: t3,
2002
+ calendarInitialScrollToActiveRange: t1,
2003
+ calendarPastScrollRangeInMonths: t2,
2004
+ calendarFutureScrollRangeInMonths: t3,
2005
+ calendarFirstDayOfWeek: t4,
1969
2006
  calendarFormatLocale,
1970
- calendarSpacing: t4,
2007
+ calendarSpacing: t5,
1971
2008
  calendarRowHorizontalSpacing,
1972
- calendarRowVerticalSpacing: t5,
1973
- calendarMonthHeaderHeight: t6,
1974
- calendarDayHeight: t7,
1975
- calendarWeekHeaderHeight: t8,
1976
- calendarAdditionalHeight: t9,
2009
+ calendarRowVerticalSpacing: t6,
2010
+ calendarMonthHeaderHeight: t7,
2011
+ calendarDayHeight: t8,
2012
+ calendarWeekHeaderHeight: t9,
2013
+ calendarAdditionalHeight: t10,
1977
2014
  calendarColorScheme,
1978
2015
  theme,
1979
2016
  onEndReached,
1980
2017
  onStartReached
1981
2018
  } = _b, otherProps = __objRest(_b, [
1982
2019
  "calendarInitialMonthId",
2020
+ "calendarInitialScrollToActiveRange",
1983
2021
  "calendarPastScrollRangeInMonths",
1984
2022
  "calendarFutureScrollRangeInMonths",
1985
2023
  "calendarFirstDayOfWeek",
@@ -1996,15 +2034,16 @@ function CalendarList(t0) {
1996
2034
  "onEndReached",
1997
2035
  "onStartReached"
1998
2036
  ]);
1999
- const calendarPastScrollRangeInMonths = t1 === void 0 ? 12 : t1;
2000
- const calendarFutureScrollRangeInMonths = t2 === void 0 ? 12 : t2;
2001
- const calendarFirstDayOfWeek = t3 === void 0 ? "sunday" : t3;
2002
- const calendarSpacing = t4 === void 0 ? 20 : t4;
2003
- const calendarRowVerticalSpacing = t5 === void 0 ? 8 : t5;
2004
- const calendarMonthHeaderHeight = t6 === void 0 ? 20 : t6;
2005
- const calendarDayHeight = t7 === void 0 ? 32 : t7;
2006
- const calendarWeekHeaderHeight = t8 === void 0 ? calendarDayHeight : t8;
2007
- const calendarAdditionalHeight = t9 === void 0 ? 0 : t9;
2037
+ const calendarInitialScrollToActiveRange = t1 === void 0 ? true : t1;
2038
+ const calendarPastScrollRangeInMonths = t2 === void 0 ? 12 : t2;
2039
+ const calendarFutureScrollRangeInMonths = t3 === void 0 ? 12 : t3;
2040
+ const calendarFirstDayOfWeek = t4 === void 0 ? "sunday" : t4;
2041
+ const calendarSpacing = t5 === void 0 ? 20 : t5;
2042
+ const calendarRowVerticalSpacing = t6 === void 0 ? 8 : t6;
2043
+ const calendarMonthHeaderHeight = t7 === void 0 ? 20 : t7;
2044
+ const calendarDayHeight = t8 === void 0 ? 32 : t8;
2045
+ const calendarWeekHeaderHeight = t9 === void 0 ? calendarDayHeight : t9;
2046
+ const calendarAdditionalHeight = t10 === void 0 ? 0 : t10;
2008
2047
  const _c14 = otherProps, {
2009
2048
  calendarActiveDateRanges,
2010
2049
  calendarDisabledDateIds,
@@ -2065,50 +2104,87 @@ function CalendarList(t0) {
2065
2104
  calendarMaxDateId,
2066
2105
  calendarMinDateId
2067
2106
  });
2068
- const monthListWithCalendarProps = monthList.map((month) => __spreadProps(__spreadValues({}, month), {
2107
+ let computedInitialScrollIndex = initialMonthIndex;
2108
+ if (calendarInitialScrollToActiveRange && calendarActiveDateRanges) {
2109
+ const firstRange = calendarActiveDateRanges[0];
2110
+ if (firstRange == null ? void 0 : firstRange.startId) {
2111
+ let t112;
2112
+ if ($[0] !== firstRange.startId) {
2113
+ const startDate = fromDateId(firstRange.startId);
2114
+ t112 = toDateId(startOfMonth(startDate));
2115
+ $[0] = firstRange.startId;
2116
+ $[1] = t112;
2117
+ } else {
2118
+ t112 = $[1];
2119
+ }
2120
+ const monthId = t112;
2121
+ let t122;
2122
+ if ($[2] !== monthId || $[3] !== monthList) {
2123
+ let t132;
2124
+ if ($[5] !== monthId) {
2125
+ t132 = (month) => month.id === monthId;
2126
+ $[5] = monthId;
2127
+ $[6] = t132;
2128
+ } else {
2129
+ t132 = $[6];
2130
+ }
2131
+ t122 = monthList.findIndex(t132);
2132
+ $[2] = monthId;
2133
+ $[3] = monthList;
2134
+ $[4] = t122;
2135
+ } else {
2136
+ t122 = $[4];
2137
+ }
2138
+ const monthIndex = t122;
2139
+ if (monthIndex !== -1) {
2140
+ computedInitialScrollIndex = monthIndex;
2141
+ }
2142
+ }
2143
+ }
2144
+ const monthListWithCalendarProps = monthList.map((month_0) => __spreadProps(__spreadValues({}, month_0), {
2069
2145
  calendarProps
2070
2146
  }));
2071
- let t10;
2072
- if ($[0] !== appendMonths || $[1] !== calendarFutureScrollRangeInMonths || $[2] !== onEndReached) {
2073
- t10 = (info) => {
2147
+ let t11;
2148
+ if ($[7] !== appendMonths || $[8] !== calendarFutureScrollRangeInMonths || $[9] !== onEndReached) {
2149
+ t11 = (info) => {
2074
2150
  appendMonths(calendarFutureScrollRangeInMonths);
2075
2151
  onEndReached == null ? void 0 : onEndReached(info);
2076
2152
  };
2077
- $[0] = appendMonths;
2078
- $[1] = calendarFutureScrollRangeInMonths;
2079
- $[2] = onEndReached;
2080
- $[3] = t10;
2153
+ $[7] = appendMonths;
2154
+ $[8] = calendarFutureScrollRangeInMonths;
2155
+ $[9] = onEndReached;
2156
+ $[10] = t11;
2081
2157
  } else {
2082
- t10 = $[3];
2158
+ t11 = $[10];
2083
2159
  }
2084
- const handleOnEndReached = t10;
2085
- let t11;
2086
- if ($[4] !== calendarPastScrollRangeInMonths || $[5] !== onStartReached || $[6] !== prependMonths) {
2087
- t11 = (info_0) => {
2160
+ const handleOnEndReached = t11;
2161
+ let t12;
2162
+ if ($[11] !== calendarPastScrollRangeInMonths || $[12] !== onStartReached || $[13] !== prependMonths) {
2163
+ t12 = (info_0) => {
2088
2164
  prependMonths(calendarPastScrollRangeInMonths);
2089
2165
  onStartReached == null ? void 0 : onStartReached(info_0);
2090
2166
  };
2091
- $[4] = calendarPastScrollRangeInMonths;
2092
- $[5] = onStartReached;
2093
- $[6] = prependMonths;
2094
- $[7] = t11;
2167
+ $[11] = calendarPastScrollRangeInMonths;
2168
+ $[12] = onStartReached;
2169
+ $[13] = prependMonths;
2170
+ $[14] = t12;
2095
2171
  } else {
2096
- t11 = $[7];
2172
+ t12 = $[14];
2097
2173
  }
2098
- const handleOnStartReached = t11;
2099
- let t12;
2100
- if ($[8] !== addMissingMonths || $[9] !== calendarAdditionalHeight || $[10] !== calendarDayHeight || $[11] !== calendarMonthHeaderHeight || $[12] !== calendarRowVerticalSpacing || $[13] !== calendarSpacing || $[14] !== calendarWeekHeaderHeight || $[15] !== monthList) {
2101
- t12 = (date) => {
2102
- const monthId = toDateId(startOfMonth(date));
2174
+ const handleOnStartReached = t12;
2175
+ let t13;
2176
+ if ($[15] !== addMissingMonths || $[16] !== calendarAdditionalHeight || $[17] !== calendarDayHeight || $[18] !== calendarMonthHeaderHeight || $[19] !== calendarRowVerticalSpacing || $[20] !== calendarSpacing || $[21] !== calendarWeekHeaderHeight || $[22] !== monthList) {
2177
+ t13 = (date) => {
2178
+ const monthId_0 = toDateId(startOfMonth(date));
2103
2179
  let baseMonthList = monthList;
2104
- let index = baseMonthList.findIndex((month_0) => month_0.id === monthId);
2180
+ let index = baseMonthList.findIndex((month_1) => month_1.id === monthId_0);
2105
2181
  if (index === -1) {
2106
- baseMonthList = addMissingMonths(monthId);
2107
- index = baseMonthList.findIndex((month_1) => month_1.id === monthId);
2182
+ baseMonthList = addMissingMonths(monthId_0);
2183
+ index = baseMonthList.findIndex((month_2) => month_2.id === monthId_0);
2108
2184
  }
2109
- return baseMonthList.slice(0, index).reduce((acc, month_2) => {
2185
+ return baseMonthList.slice(0, index).reduce((acc, month_3) => {
2110
2186
  const currentHeight = getHeightForMonth({
2111
- calendarMonth: month_2,
2187
+ calendarMonth: month_3,
2112
2188
  calendarSpacing,
2113
2189
  calendarDayHeight,
2114
2190
  calendarMonthHeaderHeight,
@@ -2119,30 +2195,30 @@ function CalendarList(t0) {
2119
2195
  return acc + currentHeight;
2120
2196
  }, 0);
2121
2197
  };
2122
- $[8] = addMissingMonths;
2123
- $[9] = calendarAdditionalHeight;
2124
- $[10] = calendarDayHeight;
2125
- $[11] = calendarMonthHeaderHeight;
2126
- $[12] = calendarRowVerticalSpacing;
2127
- $[13] = calendarSpacing;
2128
- $[14] = calendarWeekHeaderHeight;
2129
- $[15] = monthList;
2130
- $[16] = t12;
2131
- } else {
2132
- t12 = $[16];
2133
- }
2134
- const getScrollOffsetForMonth = t12;
2198
+ $[15] = addMissingMonths;
2199
+ $[16] = calendarAdditionalHeight;
2200
+ $[17] = calendarDayHeight;
2201
+ $[18] = calendarMonthHeaderHeight;
2202
+ $[19] = calendarRowVerticalSpacing;
2203
+ $[20] = calendarSpacing;
2204
+ $[21] = calendarWeekHeaderHeight;
2205
+ $[22] = monthList;
2206
+ $[23] = t13;
2207
+ } else {
2208
+ t13 = $[23];
2209
+ }
2210
+ const getScrollOffsetForMonth = t13;
2135
2211
  const legendListRef = useRef(null);
2136
- let t13;
2137
- if ($[17] !== calendarDayHeight || $[18] !== calendarFirstDayOfWeek || $[19] !== calendarRowVerticalSpacing || $[20] !== calendarWeekHeaderHeight || $[21] !== getScrollOffsetForMonth) {
2138
- t13 = () => ({
2139
- scrollToMonth(date_0, animated, t142) {
2212
+ let t14;
2213
+ if ($[24] !== calendarDayHeight || $[25] !== calendarFirstDayOfWeek || $[26] !== calendarRowVerticalSpacing || $[27] !== calendarWeekHeaderHeight || $[28] !== getScrollOffsetForMonth) {
2214
+ t14 = () => ({
2215
+ scrollToMonth(date_0, animated, t152) {
2140
2216
  const {
2141
- additionalOffset: t152
2142
- } = t142 === void 0 ? {
2217
+ additionalOffset: t162
2218
+ } = t152 === void 0 ? {
2143
2219
  additionalOffset: 0
2144
- } : t142;
2145
- const additionalOffset = t152 === void 0 ? 0 : t152;
2220
+ } : t152;
2221
+ const additionalOffset = t162 === void 0 ? 0 : t162;
2146
2222
  setTimeout(() => {
2147
2223
  var _a2;
2148
2224
  (_a2 = legendListRef.current) == null ? void 0 : _a2.scrollToOffset({
@@ -2151,14 +2227,14 @@ function CalendarList(t0) {
2151
2227
  });
2152
2228
  }, 0);
2153
2229
  },
2154
- scrollToDate(date_1, animated_0, t162) {
2230
+ scrollToDate(date_1, animated_0, t172) {
2155
2231
  var _a2;
2156
2232
  const {
2157
- additionalOffset: t172
2158
- } = t162 === void 0 ? {
2233
+ additionalOffset: t182
2234
+ } = t172 === void 0 ? {
2159
2235
  additionalOffset: 0
2160
- } : t162;
2161
- const additionalOffset_0 = t172 === void 0 ? 0 : t172;
2236
+ } : t172;
2237
+ const additionalOffset_0 = t182 === void 0 ? 0 : t182;
2162
2238
  const currentMonthOffset = getScrollOffsetForMonth(date_1);
2163
2239
  const weekOfMonthIndex = getWeekOfMonth(date_1, calendarFirstDayOfWeek);
2164
2240
  const rowHeight = calendarDayHeight + calendarRowVerticalSpacing;
@@ -2177,30 +2253,30 @@ function CalendarList(t0) {
2177
2253
  });
2178
2254
  }
2179
2255
  });
2180
- $[17] = calendarDayHeight;
2181
- $[18] = calendarFirstDayOfWeek;
2182
- $[19] = calendarRowVerticalSpacing;
2183
- $[20] = calendarWeekHeaderHeight;
2184
- $[21] = getScrollOffsetForMonth;
2185
- $[22] = t13;
2256
+ $[24] = calendarDayHeight;
2257
+ $[25] = calendarFirstDayOfWeek;
2258
+ $[26] = calendarRowVerticalSpacing;
2259
+ $[27] = calendarWeekHeaderHeight;
2260
+ $[28] = getScrollOffsetForMonth;
2261
+ $[29] = t14;
2186
2262
  } else {
2187
- t13 = $[22];
2263
+ t14 = $[29];
2188
2264
  }
2189
- useImperativeHandle(ref, t13);
2190
- let t14;
2191
- if ($[23] !== calendarSpacing) {
2192
- t14 = {
2265
+ useImperativeHandle(ref, t14);
2266
+ let t15;
2267
+ if ($[30] !== calendarSpacing) {
2268
+ t15 = {
2193
2269
  paddingBottom: calendarSpacing
2194
2270
  };
2195
- $[23] = calendarSpacing;
2196
- $[24] = t14;
2271
+ $[30] = calendarSpacing;
2272
+ $[31] = t15;
2197
2273
  } else {
2198
- t14 = $[24];
2274
+ t15 = $[31];
2199
2275
  }
2200
- const calendarContainerStyle = t14;
2201
- let t15;
2202
- if ($[25] !== calendarAdditionalHeight || $[26] !== calendarDayHeight || $[27] !== calendarMonthHeaderHeight || $[28] !== calendarRowVerticalSpacing || $[29] !== calendarSpacing || $[30] !== calendarWeekHeaderHeight) {
2203
- t15 = (item) => getHeightForMonth({
2276
+ const calendarContainerStyle = t15;
2277
+ let t16;
2278
+ if ($[32] !== calendarAdditionalHeight || $[33] !== calendarDayHeight || $[34] !== calendarMonthHeaderHeight || $[35] !== calendarRowVerticalSpacing || $[36] !== calendarSpacing || $[37] !== calendarWeekHeaderHeight) {
2279
+ t16 = (item) => getHeightForMonth({
2204
2280
  calendarMonth: item,
2205
2281
  calendarSpacing,
2206
2282
  calendarDayHeight,
@@ -2209,23 +2285,23 @@ function CalendarList(t0) {
2209
2285
  calendarWeekHeaderHeight,
2210
2286
  calendarAdditionalHeight
2211
2287
  });
2212
- $[25] = calendarAdditionalHeight;
2213
- $[26] = calendarDayHeight;
2214
- $[27] = calendarMonthHeaderHeight;
2215
- $[28] = calendarRowVerticalSpacing;
2216
- $[29] = calendarSpacing;
2217
- $[30] = calendarWeekHeaderHeight;
2218
- $[31] = t15;
2288
+ $[32] = calendarAdditionalHeight;
2289
+ $[33] = calendarDayHeight;
2290
+ $[34] = calendarMonthHeaderHeight;
2291
+ $[35] = calendarRowVerticalSpacing;
2292
+ $[36] = calendarSpacing;
2293
+ $[37] = calendarWeekHeaderHeight;
2294
+ $[38] = t16;
2219
2295
  } else {
2220
- t15 = $[31];
2296
+ t16 = $[38];
2221
2297
  }
2222
- const getFixedItemSize = t15;
2223
- let t16;
2224
- if ($[32] !== calendarContainerStyle) {
2225
- t16 = (t172) => {
2298
+ const getFixedItemSize = t16;
2299
+ let t17;
2300
+ if ($[39] !== calendarContainerStyle) {
2301
+ t17 = (t182) => {
2226
2302
  const {
2227
2303
  item: item_0
2228
- } = t172;
2304
+ } = t182;
2229
2305
  return /* @__PURE__ */ _jsx10(View7, {
2230
2306
  style: calendarContainerStyle,
2231
2307
  children: /* @__PURE__ */ _jsx10(Calendar, __spreadValues({
@@ -2233,21 +2309,21 @@ function CalendarList(t0) {
2233
2309
  }, item_0.calendarProps))
2234
2310
  });
2235
2311
  };
2236
- $[32] = calendarContainerStyle;
2237
- $[33] = t16;
2312
+ $[39] = calendarContainerStyle;
2313
+ $[40] = t17;
2238
2314
  } else {
2239
- t16 = $[33];
2315
+ t17 = $[40];
2240
2316
  }
2241
- const handleRenderItem = t16;
2317
+ const handleRenderItem = t17;
2242
2318
  const handleViewableItemsChanged = _temp;
2243
- let t17;
2244
- if ($[34] !== flatListProps || $[35] !== getFixedItemSize || $[36] !== handleOnEndReached || $[37] !== handleOnStartReached || $[38] !== handleRenderItem || $[39] !== initialMonthIndex || $[40] !== monthListWithCalendarProps) {
2245
- t17 = /* @__PURE__ */ _jsx10(LegendList, __spreadValues({
2319
+ let t18;
2320
+ if ($[41] !== computedInitialScrollIndex || $[42] !== flatListProps || $[43] !== getFixedItemSize || $[44] !== handleOnEndReached || $[45] !== handleOnStartReached || $[46] !== handleRenderItem || $[47] !== monthListWithCalendarProps) {
2321
+ t18 = /* @__PURE__ */ _jsx10(LegendList, __spreadValues({
2246
2322
  data: monthListWithCalendarProps,
2247
2323
  drawDistance: 560,
2248
2324
  estimatedItemSize: 273,
2249
2325
  getFixedItemSize,
2250
- initialScrollIndex: initialMonthIndex,
2326
+ initialScrollIndex: computedInitialScrollIndex,
2251
2327
  keyExtractor,
2252
2328
  maintainVisibleContentPosition: true,
2253
2329
  onEndReached: handleOnEndReached,
@@ -2259,18 +2335,18 @@ function CalendarList(t0) {
2259
2335
  showsVerticalScrollIndicator: false,
2260
2336
  style: styles8.container
2261
2337
  }, flatListProps));
2262
- $[34] = flatListProps;
2263
- $[35] = getFixedItemSize;
2264
- $[36] = handleOnEndReached;
2265
- $[37] = handleOnStartReached;
2266
- $[38] = handleRenderItem;
2267
- $[39] = initialMonthIndex;
2268
- $[40] = monthListWithCalendarProps;
2269
- $[41] = t17;
2270
- } else {
2271
- t17 = $[41];
2272
- }
2273
- return t17;
2338
+ $[41] = computedInitialScrollIndex;
2339
+ $[42] = flatListProps;
2340
+ $[43] = getFixedItemSize;
2341
+ $[44] = handleOnEndReached;
2342
+ $[45] = handleOnStartReached;
2343
+ $[46] = handleRenderItem;
2344
+ $[47] = monthListWithCalendarProps;
2345
+ $[48] = t18;
2346
+ } else {
2347
+ t18 = $[48];
2348
+ }
2349
+ return t18;
2274
2350
  }
2275
2351
  function _temp() {
2276
2352
  }