blixify-ui-web 0.4.68 → 0.4.69

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":"AA8BA,OAAO,KAQN,MAAM,OAAO,CAAC;AAkEf,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AAoB1B,eAAO,MAAM,YAAY,mFAgoNvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAQN,MAAM,OAAO,CAAC;AAkEf,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AAoB1B,eAAO,MAAM,YAAY,mFAgpNvB,CAAC"}
@@ -497,6 +497,9 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
497
497
  (_a = readQueryHocRef.current) === null || _a === void 0 ? void 0 : _a.handleRefresh();
498
498
  }
499
499
  }
500
+ if (props.id === "new") {
501
+ (0, updateModule_1.handleRetrieveReferenceOptions)(selectedData, props.model, dbModule, devSettings, setReferencesOptions, setReferencesDetails);
502
+ }
500
503
  //INFO : Auth Feature
501
504
  if (props.type === "read")
502
505
  handleDTAuthMethods();
@@ -2690,8 +2693,10 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
2690
2693
  setSelectedData(newRespData);
2691
2694
  if ((_g = props.bareSettings) === null || _g === void 0 ? void 0 : _g.bareReadHandleData)
2692
2695
  props.bareSettings.bareReadHandleData(newRespData);
2693
- if (props.type === "update" && props.id !== "new")
2696
+ if ((props.type === "update" || props.type === "read") &&
2697
+ props.id !== "new") {
2694
2698
  (0, updateModule_1.handleRetrieveReferenceOptions)(newRespData, structure, dbModule, devSettings, setReferencesOptions, setReferencesDetails);
2699
+ }
2695
2700
  _h.label = 6;
2696
2701
  case 6:
2697
2702
  setModalVisible(false);
@@ -4874,7 +4879,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
4874
4879
  return null;
4875
4880
  });
4876
4881
  var kanbanData = renderGridAndListData("", "grid", kanbanTitle_2, kanbanSettings === null || kanbanSettings === void 0 ? void 0 : kanbanSettings.useColumnName);
4877
- return (react_1.default.createElement(kanban_1.Kanban, { data: kanbanData, loading: tableLoading, groupBy: groupBy_1, groupId: kanbanTitle_2 !== null && kanbanTitle_2 !== void 0 ? kanbanTitle_2 : "", groupLabel: groupLabel_1.length > 0 ? groupLabel_1 : undefined, nullColumn: nullColumn_1, alertMessage: kanbanData.length === limit
4882
+ return (react_1.default.createElement(kanban_1.Kanban, { className: "inline-flex", data: kanbanData, loading: tableLoading, groupBy: groupBy_1, groupId: kanbanTitle_2 !== null && kanbanTitle_2 !== void 0 ? kanbanTitle_2 : "", groupLabel: groupLabel_1.length > 0 ? groupLabel_1 : undefined, nullColumn: nullColumn_1, alertMessage: kanbanData.length === limit
4878
4883
  ? "Data has exceeded limit, please apply filters"
4879
4884
  : "", draggable: true, droppable: kanbanDroppable, onUpdateData: function (data) { return __awaiter(void 0, void 0, void 0, function () {
4880
4885
  var _a;