@itilite/iui-user-management 1.4.7724 → 1.4.7726
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/amex~KhiVVORY.png +0 -0
- package/dist/diners~ppWhzqPw.png +0 -0
- package/dist/discover~bnLdjLIy.png +0 -0
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -6
- package/dist/index.modern.js.map +1 -1
- package/dist/masterCard~eGXbErPW.png +0 -0
- package/dist/unionPay~boILkyzh.png +0 -0
- package/dist/visa~BjGiZFyo.png +0 -0
- package/package.json +2 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var React__default = _interopDefault(React);
|
|
|
6
6
|
var utils = require('@itilite/utils');
|
|
7
7
|
var axios = _interopDefault(require('axios'));
|
|
8
8
|
var core = require('@material-ui/core');
|
|
9
|
+
var reactSvgCreditCardPaymentIcons = require('react-svg-credit-card-payment-icons');
|
|
9
10
|
var reactRedux = require('react-redux');
|
|
10
11
|
var redux = require('redux');
|
|
11
12
|
var thunk = _interopDefault(require('redux-thunk'));
|
|
@@ -2280,12 +2281,12 @@ var CardsManagement = function CardsManagement(_ref) {
|
|
|
2280
2281
|
handleMenuClose();
|
|
2281
2282
|
};
|
|
2282
2283
|
var getBrandLogo = function getBrandLogo(brand) {
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2284
|
+
return /*#__PURE__*/React__default.createElement(reactSvgCreditCardPaymentIcons.PaymentIcon, {
|
|
2285
|
+
type: brand === null || brand === void 0 ? void 0 : brand.toLowerCase(),
|
|
2286
|
+
format: "flatRounded",
|
|
2287
|
+
width: 40,
|
|
2288
|
+
height: 24
|
|
2289
|
+
});
|
|
2289
2290
|
};
|
|
2290
2291
|
var getCardTypeClass = function getCardTypeClass(category) {
|
|
2291
2292
|
return category === 'Corporate' ? 'corporate' : category === 'Company' ? 'company' : 'personal';
|