blixify-ui-web 1.2.50 → 1.2.51
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AAiCA,OAAO,KASN,MAAM,OAAO,CAAC;AA+Ef,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AAoC1B,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AAiCA,OAAO,KASN,MAAM,OAAO,CAAC;AA+Ef,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AAoC1B,eAAO,MAAM,YAAY,mFA+jWvB,CAAC"}
|
|
@@ -7949,9 +7949,15 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
7949
7949
|
if (view === newCalendarViewMode)
|
|
7950
7950
|
return;
|
|
7951
7951
|
setNewCalendarViewMode(view);
|
|
7952
|
-
// INFO:
|
|
7953
|
-
|
|
7954
|
-
|
|
7952
|
+
// INFO: month and agenda share the month range —
|
|
7953
|
+
// only week changes the query cond. Only set loading
|
|
7954
|
+
// when a refetch will actually fire, otherwise
|
|
7955
|
+
// nothing clears it and the spinner hangs forever.
|
|
7956
|
+
var nextCalendarView = view === "week" ? "timeGridWeek" : "dayGridMonth";
|
|
7957
|
+
if (nextCalendarView !== calendarView) {
|
|
7958
|
+
setCalendarView(nextCalendarView);
|
|
7959
|
+
setTableLoading(true);
|
|
7960
|
+
}
|
|
7955
7961
|
}, className: "rounded-md px-3 py-1 text-xs font-medium capitalize ".concat(newCalendarViewMode === view
|
|
7956
7962
|
? "bg-primary-500 text-white"
|
|
7957
7963
|
: "text-gray-500 hover:bg-gray-50") }, view)); })))),
|