blixify-ui-web 1.2.46 → 1.2.48

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,mFA0/VvB,CAAC"}
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,mFAogWvB,CAAC"}
@@ -7821,7 +7821,12 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
7821
7821
  ? JSON.parse(JSON.stringify(calendarSettings_1.groupColor))
7822
7822
  : ["red", "blue", "green", "indigo", "orange", "violet", "yellow"];
7823
7823
  var valuesWithColour_1 = {};
7824
- if (calendarSettings_1 === null || calendarSettings_1 === void 0 ? void 0 : calendarSettings_1.groupId) {
7824
+ // INFO: groupColorMap pins each group value to a fixed colour
7825
+ // deterministic across fetches, unlike first-appearance assignment
7826
+ if (calendarSettings_1 === null || calendarSettings_1 === void 0 ? void 0 : calendarSettings_1.groupColorMap) {
7827
+ Object.assign(valuesWithColour_1, calendarSettings_1.groupColorMap);
7828
+ }
7829
+ else if (calendarSettings_1 === null || calendarSettings_1 === void 0 ? void 0 : calendarSettings_1.groupId) {
7825
7830
  spaceTableData.map(function (eachTableData) {
7826
7831
  var _a;
7827
7832
  if (listOfColors_1.length === 0)
@@ -7932,6 +7937,12 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
7932
7937
  setTableLoading(true);
7933
7938
  }
7934
7939
  setCalendarTabMonth(date);
7940
+ },
7941
+ // INFO: Header month paging must refetch — the month range
7942
+ // query is driven by calendarTabMonth
7943
+ onChangeMonth: function (monthStart) {
7944
+ setTableLoading(true);
7945
+ setCalendarTabMonth(monthStart);
7935
7946
  }, onClickEvent: function (event) {
7936
7947
  var _a, _b;
7937
7948
  if (event.id)