@salesgenterp/ui-components 0.4.391 → 0.4.393
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 +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1132,7 +1132,7 @@ var APIStaticPage = function APIStaticPage(_ref) {
|
|
|
1132
1132
|
theme: colors
|
|
1133
1133
|
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(material.CssBaseline, null), /*#__PURE__*/React__default.createElement(Root, null, loading ? /*#__PURE__*/React__default.createElement(Loader, null) : staticPage ? /*#__PURE__*/React__default.createElement(StaticContainer, null, !hideRouteBar && /*#__PURE__*/React__default.createElement("h1", {
|
|
1134
1134
|
className: "top-bar"
|
|
1135
|
-
}, (staticPage === null || staticPage === void 0 ? void 0 : staticPage.
|
|
1135
|
+
}, (staticPage === null || staticPage === void 0 ? void 0 : staticPage.title) || (staticPage === null || staticPage === void 0 ? void 0 : staticPage.header)), mapSrc && contactUsForm && /*#__PURE__*/React__default.createElement("iframe", {
|
|
1136
1136
|
width: "100%",
|
|
1137
1137
|
height: "600",
|
|
1138
1138
|
src: mapSrc,
|
|
@@ -1149,7 +1149,7 @@ var APIStaticPage = function APIStaticPage(_ref) {
|
|
|
1149
1149
|
}
|
|
1150
1150
|
}, !hideRouteBar && /*#__PURE__*/React__default.createElement("div", {
|
|
1151
1151
|
className: "route-bar"
|
|
1152
|
-
}, /*#__PURE__*/React__default.createElement("p", null, /*#__PURE__*/React__default.createElement(ai.AiOutlineHome, null), "\xA0Home\xA0", /*#__PURE__*/React__default.createElement(ai.AiOutlineRight, null), "\xA0", staticPage === null || staticPage === void 0 ? void 0 : staticPage.title)), /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
1152
|
+
}, /*#__PURE__*/React__default.createElement("p", null, /*#__PURE__*/React__default.createElement(ai.AiOutlineHome, null), "\xA0Home\xA0", /*#__PURE__*/React__default.createElement(ai.AiOutlineRight, null), "\xA0", (staticPage === null || staticPage === void 0 ? void 0 : staticPage.header) || (staticPage === null || staticPage === void 0 ? void 0 : staticPage.title))), /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
1153
1153
|
container: true,
|
|
1154
1154
|
spacing: 4,
|
|
1155
1155
|
justifyContent: "center"
|
|
@@ -9367,7 +9367,8 @@ var StaticPage = function StaticPage(_ref) {
|
|
|
9367
9367
|
googleReCaptchaKey = _ref.googleReCaptchaKey,
|
|
9368
9368
|
apiEndPoint = _ref.apiEndPoint,
|
|
9369
9369
|
token = _ref.token,
|
|
9370
|
-
logoUrl = _ref.logoUrl
|
|
9370
|
+
logoUrl = _ref.logoUrl,
|
|
9371
|
+
hideRouteBar = _ref.hideRouteBar;
|
|
9371
9372
|
return /*#__PURE__*/React__default.createElement(styled.ThemeProvider, {
|
|
9372
9373
|
theme: colors
|
|
9373
9374
|
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(material.CssBaseline, null), /*#__PURE__*/React__default.createElement(Root$c, null, /*#__PURE__*/React__default.createElement(StaticContainer$1, null, /*#__PURE__*/React__default.createElement("h1", {
|
|
@@ -9387,7 +9388,7 @@ var StaticPage = function StaticPage(_ref) {
|
|
|
9387
9388
|
style: {
|
|
9388
9389
|
maxWidth: maxWidth || 1470
|
|
9389
9390
|
}
|
|
9390
|
-
}, /*#__PURE__*/React__default.createElement("div", {
|
|
9391
|
+
}, !hideRouteBar && /*#__PURE__*/React__default.createElement("div", {
|
|
9391
9392
|
className: "route-bar"
|
|
9392
9393
|
}, /*#__PURE__*/React__default.createElement("p", null, /*#__PURE__*/React__default.createElement(ai.AiOutlineHome, null), "\xA0Home\xA0", /*#__PURE__*/React__default.createElement(ai.AiOutlineRight, null), "\xA0", data.mainTitle)), /*#__PURE__*/React__default.createElement(material.Grid, {
|
|
9393
9394
|
container: true,
|