@salesgenterp/ui-components 0.4.316 → 0.4.317

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.js CHANGED
@@ -2488,6 +2488,7 @@ var Dashboard = function Dashboard(_ref) {
2488
2488
  defaultStoreId = _ref.defaultStoreId,
2489
2489
  storeIdList = _ref.storeIdList,
2490
2490
  isNightMode = _ref.isNightMode,
2491
+ hideBannerSection = _ref.hideBannerSection,
2491
2492
  exploreCategoryImage = _ref.exploreCategoryImage,
2492
2493
  sectionLeftImageSection = _ref.sectionLeftImageSection,
2493
2494
  sectionRightImageSection = _ref.sectionRightImageSection,
@@ -2760,7 +2761,7 @@ var Dashboard = function Dashboard(_ref) {
2760
2761
  }, (totalIcons === null || totalIcons === void 0 ? void 0 : (_totalIcons$find = totalIcons.find(function (icons) {
2761
2762
  return (icons === null || icons === void 0 ? void 0 : icons.name) === (data === null || data === void 0 ? void 0 : data.name);
2762
2763
  })) === null || _totalIcons$find === void 0 ? void 0 : _totalIcons$find.icon) || (isAmount ? /*#__PURE__*/React__default.createElement(md.MdMonetizationOn, null) : /*#__PURE__*/React__default.createElement(gr.GrStackOverflow, null))), /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("p", null, data === null || data === void 0 ? void 0 : data.name), /*#__PURE__*/React__default.createElement("h3", null, "" + (isAmount ? renderMoney(data === null || data === void 0 ? void 0 : data.value) : data === null || data === void 0 ? void 0 : data.value)))));
2763
- }))), /*#__PURE__*/React__default.createElement(BannerContainer, null, /*#__PURE__*/React__default.createElement(material.Grid, {
2764
+ }))), !hideBannerSection && /*#__PURE__*/React__default.createElement(BannerContainer, null, /*#__PURE__*/React__default.createElement(material.Grid, {
2764
2765
  container: true,
2765
2766
  spacing: 3,
2766
2767
  alignItems: "center"
@@ -4416,6 +4417,7 @@ var AccountDetails = function AccountDetails(_ref) {
4416
4417
  onChangePath = _ref.onChangePath,
4417
4418
  maxWidth = _ref.maxWidth,
4418
4419
  logoUrl = _ref.logoUrl,
4420
+ hideBannerSection = _ref.hideBannerSection,
4419
4421
  sectionLeftImageSection = _ref.sectionLeftImageSection,
4420
4422
  exploreCategoryImage = _ref.exploreCategoryImage,
4421
4423
  sectionRightImageSection = _ref.sectionRightImageSection,
@@ -4554,6 +4556,7 @@ var AccountDetails = function AccountDetails(_ref) {
4554
4556
  storeIdList: storeIdList,
4555
4557
  defaultStoreId: defaultStoreId,
4556
4558
  isNightMode: isNightMode,
4559
+ hideBannerSection: hideBannerSection,
4557
4560
  exploreCategoryImage: exploreCategoryImage,
4558
4561
  sectionLeftImageSection: sectionLeftImageSection,
4559
4562
  sectionRightImageSection: sectionRightImageSection,