@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
package/dist/index.modern.js
CHANGED
|
@@ -3,6 +3,7 @@ import React, { useState, Fragment as Fragment$1, useEffect, memo, useRef } from
|
|
|
3
3
|
import { configs, services, utilUrls } from '@itilite/utils';
|
|
4
4
|
import axios from 'axios';
|
|
5
5
|
import { IconButton, Menu, MenuItem, Popper, Grow, Paper, ClickAwayListener, MenuList, Typography, Box } from '@material-ui/core';
|
|
6
|
+
import { PaymentIcon } from 'react-svg-credit-card-payment-icons';
|
|
6
7
|
import { useDispatch, useSelector, Provider } from 'react-redux';
|
|
7
8
|
import { combineReducers, createStore, applyMiddleware } from 'redux';
|
|
8
9
|
import thunk from 'redux-thunk';
|
|
@@ -2277,12 +2278,12 @@ var CardsManagement = function CardsManagement(_ref) {
|
|
|
2277
2278
|
handleMenuClose();
|
|
2278
2279
|
};
|
|
2279
2280
|
var getBrandLogo = function getBrandLogo(brand) {
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2281
|
+
return /*#__PURE__*/React.createElement(PaymentIcon, {
|
|
2282
|
+
type: brand === null || brand === void 0 ? void 0 : brand.toLowerCase(),
|
|
2283
|
+
format: "flatRounded",
|
|
2284
|
+
width: 40,
|
|
2285
|
+
height: 24
|
|
2286
|
+
});
|
|
2286
2287
|
};
|
|
2287
2288
|
var getCardTypeClass = function getCardTypeClass(category) {
|
|
2288
2289
|
return category === 'Corporate' ? 'corporate' : category === 'Company' ? 'company' : 'personal';
|