blixify-ui-web 0.4.185 → 0.4.187

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.
Files changed (31) hide show
  1. package/lib/components/data/dataTemplate/index.d.ts.map +1 -1
  2. package/lib/components/data/dataTemplate/index.js +10 -6
  3. package/lib/components/data/dataTemplate/index.js.map +1 -1
  4. package/lib/components/data/dataTemplate/spaceModel.d.ts +1 -0
  5. package/lib/components/data/dataTemplate/spaceModel.d.ts.map +1 -1
  6. package/lib/components/data/dataWrapper/index.d.ts +1 -0
  7. package/lib/components/data/dataWrapper/index.d.ts.map +1 -1
  8. package/lib/components/data/dataWrapper/index.js +3 -1
  9. package/lib/components/data/dataWrapper/index.js.map +1 -1
  10. package/lib/components/data/testData.d.ts +3 -0
  11. package/lib/components/data/testData.d.ts.map +1 -1
  12. package/lib/components/data/testData.js +4 -1
  13. package/lib/components/data/testData.js.map +1 -1
  14. package/lib/components/data/testSchema.d.ts +3 -0
  15. package/lib/components/data/testSchema.d.ts.map +1 -1
  16. package/lib/components/data/testSchema.js +633 -1
  17. package/lib/components/data/testSchema.js.map +1 -1
  18. package/lib/components/display/modal/index.js +2 -2
  19. package/lib/components/display/table/index.d.ts +2 -0
  20. package/lib/components/display/table/index.d.ts.map +1 -1
  21. package/lib/components/display/table/index.js +10 -4
  22. package/lib/components/display/table/index.js.map +1 -1
  23. package/lib/components/navigation/header/index.d.ts +1 -0
  24. package/lib/components/navigation/header/index.d.ts.map +1 -1
  25. package/lib/components/navigation/header/index.js +2 -2
  26. package/lib/components/navigation/header/index.js.map +1 -1
  27. package/lib/components/structure/link/index.d.ts +1 -0
  28. package/lib/components/structure/link/index.d.ts.map +1 -1
  29. package/lib/components/structure/link/index.js +2 -2
  30. package/lib/components/structure/link/index.js.map +1 -1
  31. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AAgCA,OAAO,KAQN,MAAM,OAAO,CAAC;AAuEf,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AAoB1B,eAAO,MAAM,YAAY,mFAihPvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AAgCA,OAAO,KAQN,MAAM,OAAO,CAAC;AAuEf,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AAoB1B,eAAO,MAAM,YAAY,mFAuhPvB,CAAC"}
@@ -1159,6 +1159,9 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
1159
1159
  type: false,
1160
1160
  msg: "Check console for error message",
1161
1161
  });
1162
+ setTimeout(function () {
1163
+ setNotification(null);
1164
+ }, 5000);
1162
1165
  }
1163
1166
  };
1164
1167
  //=====================================================================================
@@ -4806,7 +4809,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
4806
4809
  if (((_a = props.organise) === null || _a === void 0 ? void 0 : _a.extendedTabs) &&
4807
4810
  ((_b = props.organise.extendedTabs) === null || _b === void 0 ? void 0 : _b.length) > 0) {
4808
4811
  (_c = props.organise) === null || _c === void 0 ? void 0 : _c.extendedTabs.map(function (eachTab) {
4809
- var _a, _b, _c, _d, _e;
4812
+ var _a, _b, _c, _d, _e, _f;
4810
4813
  var hrefPoint = "".concat(props.localURLEndpoint, "?type=").concat(props.type, "&collection=").concat(props.collectionId);
4811
4814
  if (props.id)
4812
4815
  hrefPoint += "&data=".concat(props.id);
@@ -4819,9 +4822,10 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
4819
4822
  viewType: eachTab.viewType,
4820
4823
  viewImage: eachTab.viewImage,
4821
4824
  infinityScroll: (_a = eachTab.infinityScroll) !== null && _a !== void 0 ? _a : undefined,
4822
- calendarSettings: (_b = eachTab.calendarSettings) !== null && _b !== void 0 ? _b : undefined,
4823
- feedsSettings: (_c = eachTab.feedsSettings) !== null && _c !== void 0 ? _c : undefined,
4824
- mapSettings: (_d = eachTab.mapSettings) !== null && _d !== void 0 ? _d : undefined,
4825
+ gridContain: (_b = eachTab.gridContain) !== null && _b !== void 0 ? _b : undefined,
4826
+ calendarSettings: (_c = eachTab.calendarSettings) !== null && _c !== void 0 ? _c : undefined,
4827
+ feedsSettings: (_d = eachTab.feedsSettings) !== null && _d !== void 0 ? _d : undefined,
4828
+ mapSettings: (_e = eachTab.mapSettings) !== null && _e !== void 0 ? _e : undefined,
4825
4829
  };
4826
4830
  if (eachTab.viewType === "iframe") {
4827
4831
  if (typeof eachTab.src === "string") {
@@ -4835,7 +4839,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
4835
4839
  tabData["viewImage"] = eachTab.viewImage;
4836
4840
  }
4837
4841
  if (eachTab.type === props.type) {
4838
- tabs.push(__assign(__assign({}, tabData), (!((_e = props.edit) === null || _e === void 0 ? void 0 : _e.disabledTabsDeleteBtn) && {
4842
+ tabs.push(__assign(__assign({}, tabData), (!((_f = props.edit) === null || _f === void 0 ? void 0 : _f.disabledTabsDeleteBtn) && {
4839
4843
  del: (react_1.default.createElement(outline_1.XMarkIcon, { className: "h-4 w-4 ml-2 self-center text-red-600 hover:text-red-400 ", onClick: function (e) {
4840
4844
  e.stopPropagation();
4841
4845
  e.preventDefault();
@@ -5220,7 +5224,7 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
5220
5224
  (_b = (_a = props.organise) === null || _a === void 0 ? void 0 : _a.handleNavigate) === null || _b === void 0 ? void 0 : _b.call(_a, "read", id, "general");
5221
5225
  }, linkType: props.linkType, custom: props.custom, newTabUrl: (_y = (_x = props.newTabUrl) === null || _x === void 0 ? void 0 : _x.default) !== null && _y !== void 0 ? _y : "".concat(props.localURLEndpoint, "?data="), addNewTabUrl: (_0 = (_z = props.newTabUrl) === null || _z === void 0 ? void 0 : _z.addons) !== null && _0 !== void 0 ? _0 : "&type=read&collection=".concat(props.collectionId, "&view=general"), handleUpdatePageIndex: function (value) {
5222
5226
  handlePagination(value);
5223
- }, gridColClassName: (_1 = props.bareSettings) === null || _1 === void 0 ? void 0 : _1.bareListGridColClassName, className: "mt-5", hidePagination: (_2 = props.organise) === null || _2 === void 0 ? void 0 : _2.hidePagination })));
5227
+ }, imgContain: selectedTabData === null || selectedTabData === void 0 ? void 0 : selectedTabData.gridContain, gridColClassName: (_1 = props.bareSettings) === null || _1 === void 0 ? void 0 : _1.bareListGridColClassName, className: "mt-5", hidePagination: (_2 = props.organise) === null || _2 === void 0 ? void 0 : _2.hidePagination })));
5224
5228
  }
5225
5229
  else if (selectedTabData.viewType === "calendar") {
5226
5230
  var calendarSettings_1 = selectedTab === null || selectedTab === void 0 ? void 0 : selectedTab.calendarSettings;