@salesgenterp/ui-components 0.4.254 → 0.4.255
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 -5
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -5
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8039,11 +8039,11 @@ var StyledTableRow = styled__default(material.TableRow)(_templateObject16$1 || (
|
|
|
8039
8039
|
}, function (props) {
|
|
8040
8040
|
return props.bg || 'red';
|
|
8041
8041
|
});
|
|
8042
|
-
var StyledTableCell = styled__default(material.TableCell)(_templateObject17$1 || (_templateObject17$1 = _taggedTemplateLiteralLoose(["\n && {\n border: none;\n font-size: 1em;\n .noAboveSm {\n display: none;\n }\n @media only screen and (max-width: 748px) {\n display: ", ";\n padding: 0.5em 0.3em;\n .noAboveSm {\n display: inline-block;\n margin-right: 6px;\n }\n }\n }\n"])), function (props) {
|
|
8042
|
+
var StyledTableCell = styled__default(material.TableCell)(_templateObject17$1 || (_templateObject17$1 = _taggedTemplateLiteralLoose(["\n &&,\n p {\n word-break: break-all;\n }\n && {\n border: none;\n font-size: 1em;\n .noAboveSm {\n display: none;\n }\n @media only screen and (max-width: 748px) {\n display: ", ";\n padding: 0.5em 0.3em;\n .noAboveSm {\n display: inline-block;\n margin-right: 6px;\n }\n }\n }\n"])), function (props) {
|
|
8043
8043
|
return props.noSmall ? 'none' : '';
|
|
8044
8044
|
});
|
|
8045
8045
|
var BottomGrid = styled__default(material.Grid)(_templateObject18$1 || (_templateObject18$1 = _taggedTemplateLiteralLoose(["\n .bold {\n font-weight: 600;\n text-transform: capitalize;\n margin: 1em 0;\n font-size: 1em;\n }\n .icon {\n font-size: 1.6em;\n color: ", ";\n }\n textarea {\n width: 100%;\n resize: none;\n border: 1px solid\n ", ";\n border-radius: 4px;\n margin-bottom: 2em;\n padding: 1em;\n background: ", ";\n }\n p {\n font-size: 12px;\n .ul {\n text-decoration: underline;\n font-size: inherit;\n }\n }\n .bottom {\n margin-left: 3em;\n font-style: italic;\n span {\n font-weight: 600;\n color: ", ";\n\n cursor: pointer;\n &:hover {\n text-decoration: underline;\n }\n }\n }\n"])), function (prop) {
|
|
8046
|
-
return prop.
|
|
8046
|
+
return prop.primaryColor || 'rgba(253, 0, 21, 1)';
|
|
8047
8047
|
}, function (prop) {
|
|
8048
8048
|
var _prop$bgTextArea;
|
|
8049
8049
|
return ((_prop$bgTextArea = prop.bgTextArea) === null || _prop$bgTextArea === void 0 ? void 0 : _prop$bgTextArea.border) || 'rgba(253, 0, 21, 0.5)';
|
|
@@ -8692,7 +8692,6 @@ var Step2 = function Step2(_ref) {
|
|
|
8692
8692
|
var _React$useState = React__default.useState(),
|
|
8693
8693
|
method = _React$useState[0],
|
|
8694
8694
|
setMethod = _React$useState[1];
|
|
8695
|
-
console.log('method: ', method);
|
|
8696
8695
|
var _React$useState2 = React__default.useState(),
|
|
8697
8696
|
expandCarrier = _React$useState2[0],
|
|
8698
8697
|
setExpandCarrier = _React$useState2[1];
|
|
@@ -9427,7 +9426,8 @@ var Step3 = function Step3(_ref) {
|
|
|
9427
9426
|
style: {
|
|
9428
9427
|
opacity: storeCredits >= total && useStoreCr && '.5',
|
|
9429
9428
|
background: '#f7f7f7',
|
|
9430
|
-
borderRadius: '1rem'
|
|
9429
|
+
borderRadius: '1rem',
|
|
9430
|
+
padding: '1rem'
|
|
9431
9431
|
}
|
|
9432
9432
|
}, /*#__PURE__*/React__default.createElement(CardHeading, null, "Select Card"), /*#__PURE__*/React__default.createElement(CreditCardFextField, {
|
|
9433
9433
|
bgInput: styles === null || styles === void 0 ? void 0 : (_styles$input = styles.input) === null || _styles$input === void 0 ? void 0 : _styles$input.bg,
|
|
@@ -9437,7 +9437,7 @@ var Step3 = function Step3(_ref) {
|
|
|
9437
9437
|
return /*#__PURE__*/React__default.createElement(PaymentLi, {
|
|
9438
9438
|
onClick: function onClick() {
|
|
9439
9439
|
var _creditCardListData$p3, _creditCardListData$p4, _creditCardListData$p5;
|
|
9440
|
-
setSelectCardValue(
|
|
9440
|
+
setSelectCardValue(data === null || data === void 0 ? void 0 : data.customerPaymentProfileId);
|
|
9441
9441
|
setAddNewCard(false);
|
|
9442
9442
|
var cardData = creditCardListData === null || creditCardListData === void 0 ? void 0 : (_creditCardListData$p3 = creditCardListData.profile) === null || _creditCardListData$p3 === void 0 ? void 0 : (_creditCardListData$p4 = _creditCardListData$p3.paymentProfiles) === null || _creditCardListData$p4 === void 0 ? void 0 : _creditCardListData$p4.find(function (d) {
|
|
9443
9443
|
return (d === null || d === void 0 ? void 0 : d.customerPaymentProfileId) === (data === null || data === void 0 ? void 0 : data.customerPaymentProfileId);
|