@tap-payments/os-micro-frontend-shared 0.0.10 → 0.0.12
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/LICENSE +21 -21
- package/README.md +12 -12
- package/build/components/{AppWindow/AppWindow.js → AppWindowWrapper/AppWindowWrapper.js} +1 -1
- package/build/components/{AppWindow → AppWindowWrapper}/headers/AccountHeader/AccountHeader.js +1 -1
- package/build/components/{AppWindow → AppWindowWrapper}/headers/AccountHeader/index.d.ts +1 -1
- package/build/components/AppWindowWrapper/headers/AccountHeader/index.js +3 -0
- package/build/components/AppWindowWrapper/index.d.ts +5 -0
- package/build/components/AppWindowWrapper/index.js +4 -0
- package/build/components/{AppWindow → AppWindowWrapper}/type.d.ts +1 -1
- package/build/components/BackgroundAnimation/index.d.ts +1 -1
- package/build/components/BackgroundAnimation/index.js +1 -1
- package/build/components/Button/index.d.ts +1 -1
- package/build/components/Button/index.js +1 -1
- package/build/components/CountBadge/index.d.ts +3 -4
- package/build/components/CountBadge/index.js +3 -4
- package/build/components/Dialog/index.d.ts +1 -0
- package/build/components/Dialog/index.js +1 -0
- package/build/components/DropdownButton/style.d.ts +1 -1
- package/build/components/DropdownButton/style.js +1 -1
- package/build/components/DropdownButton/type.d.ts +1 -1
- package/build/components/DropdownMenu/index.d.ts +3 -0
- package/build/components/DropdownMenu/index.js +2 -0
- package/build/components/InputBase/AmountInputBase/index.d.ts +2 -1
- package/build/components/InputBase/AmountInputBase/index.js +2 -1
- package/build/components/InputBase/PhoneInputBase/index.d.ts +1 -1
- package/build/components/InputBase/PhoneInputBase/index.js +1 -1
- package/build/components/InputBase/SelectBase/index.d.ts +1 -1
- package/build/components/InputBase/SelectBase/index.js +1 -1
- package/build/components/InputBase/index.d.ts +2 -2
- package/build/components/InputBase/index.js +2 -2
- package/build/components/Inputs/{PhoneInput/CountriesCode/CountriesCode.d.ts → CountriesDropDown/CountriesDropdown.d.ts} +1 -1
- package/build/components/Inputs/{PhoneInput/CountriesCode/CountriesCode.js → CountriesDropDown/CountriesDropdown.js} +1 -1
- package/build/components/Inputs/CountriesDropDown/index.d.ts +2 -0
- package/build/components/Inputs/CountriesDropDown/index.js +2 -0
- package/build/components/Inputs/{PhoneInput/CountriesCode → CountriesDropDown}/style.d.ts +10 -0
- package/build/components/Inputs/{PhoneInput/CountriesCode → CountriesDropDown}/style.js +24 -1
- package/build/components/Inputs/index.d.ts +3 -3
- package/build/components/Inputs/index.js +3 -3
- package/build/components/JSONViewer/components/index.d.ts +2 -2
- package/build/components/JSONViewer/components/index.js +2 -2
- package/build/components/NestedDropdown/Dropdown.js +1 -1
- package/build/components/NestedDropdown/index.d.ts +2 -0
- package/build/components/NestedDropdown/index.js +2 -0
- package/build/components/RFH/Inputs/MultiSelect/index.d.ts +2 -1
- package/build/components/RFH/Inputs/MultiSelect/index.js +2 -1
- package/build/components/RFH/Inputs/index.d.ts +7 -7
- package/build/components/RFH/Inputs/index.js +7 -7
- package/build/components/StatusButton/style.d.ts +1 -1
- package/build/components/StatusButton/style.js +1 -1
- package/build/components/StatusButton/type.d.ts +1 -1
- package/build/components/StatusIcons/index.d.ts +14 -14
- package/build/components/StatusIcons/index.js +14 -14
- package/build/components/TableCells/CustomCells/ActionCell/ActionCell.d.ts +4 -1
- package/build/components/TableCells/CustomCells/ActionCell/ActionCell.js +7 -10
- package/build/components/TableCells/CustomCells/ActionCell/components/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/ActionCell/components/index.js +1 -2
- package/build/components/TableCells/CustomCells/ActionCell/hooks/useActionCell.d.ts +0 -3
- package/build/components/TableCells/CustomCells/ActionCell/hooks/useActionCell.js +2 -11
- package/build/components/TableCells/CustomCells/ActionCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/ActionCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/AgreementCell/AgreementCell.js +2 -2
- package/build/components/TableCells/CustomCells/AgreementCell/index.d.ts +1 -3
- package/build/components/TableCells/CustomCells/AgreementCell/index.js +1 -3
- package/build/components/TableCells/CustomCells/AmountCell/AmountCell.js +2 -2
- package/build/components/TableCells/CustomCells/AmountCell/AmountConversionTooltipLabel.js +1 -1
- package/build/components/TableCells/CustomCells/AmountCell/index.d.ts +2 -2
- package/build/components/TableCells/CustomCells/AmountCell/index.js +2 -2
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/index.d.ts +2 -2
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/index.js +2 -2
- package/build/components/TableCells/CustomCells/AppsCell/index.d.ts +2 -2
- package/build/components/TableCells/CustomCells/AppsCell/index.js +2 -2
- package/build/components/TableCells/CustomCells/AuthCell/AuthCell.js +1 -1
- package/build/components/TableCells/CustomCells/AuthCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/AuthCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/AuthenticationCell/AuthenticationCell.js +2 -2
- package/build/components/TableCells/CustomCells/AuthenticationCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/AuthenticationCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/AuthenticationStatusCell.js +2 -2
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/AuthenticationTypeCell.js +1 -1
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/AvatarCell/index.d.ts +2 -2
- package/build/components/TableCells/CustomCells/AvatarCell/index.js +2 -2
- package/build/components/TableCells/CustomCells/BalanceCell/BalanceCell.js +2 -2
- package/build/components/TableCells/CustomCells/BalanceCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/BalanceCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/BankCell/BankCell.js +1 -1
- package/build/components/TableCells/CustomCells/BankCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/BankCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/BankReferenceCell/BankReferenceCell.d.ts +2 -2
- package/build/components/TableCells/CustomCells/BankReferenceCell/BankReferenceCell.js +1 -2
- package/build/components/TableCells/CustomCells/BankReferenceCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/BankReferenceCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/BrandCell/BrandCell.js +1 -1
- package/build/components/TableCells/CustomCells/BrandCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/BrandCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/BrandsCell/index.d.ts +2 -2
- package/build/components/TableCells/CustomCells/BrandsCell/index.js +2 -2
- package/build/components/TableCells/CustomCells/BusinessStatusCell/index.d.ts +2 -2
- package/build/components/TableCells/CustomCells/BusinessStatusCell/index.js +2 -2
- package/build/components/TableCells/CustomCells/ChannelsCell/ChannelsCell.js +2 -2
- package/build/components/TableCells/CustomCells/ChannelsCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/ChannelsCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/CheckoutStatusCell.js +1 -1
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/index.d.ts +2 -3
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/index.js +1 -3
- package/build/components/TableCells/CustomCells/CurrencyCell/CurrencyCell.d.ts +2 -2
- package/build/components/TableCells/CustomCells/CurrencyCell/CurrencyCell.js +1 -2
- package/build/components/TableCells/CustomCells/CurrencyCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/CurrencyCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/CustomerCell/CustomerCell.js +1 -1
- package/build/components/TableCells/CustomCells/CustomerCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/CustomerCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/DateCell/DateCell.js +1 -1
- package/build/components/TableCells/CustomCells/DateCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/DateCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/DestinationCell/DestinationCell.js +1 -1
- package/build/components/TableCells/CustomCells/DestinationCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/DestinationCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/DestinationCell/utils.js +1 -1
- package/build/components/TableCells/CustomCells/DestinationStatusCell/DestinationStatusCell.js +1 -1
- package/build/components/TableCells/CustomCells/DestinationStatusCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/DestinationStatusCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/DeviceCell/DeviceCell.js +1 -1
- package/build/components/TableCells/CustomCells/DeviceCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/DeviceCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.js +1 -1
- package/build/components/TableCells/CustomCells/DueDateCell/index.d.ts +1 -3
- package/build/components/TableCells/CustomCells/DueDateCell/index.js +1 -3
- package/build/components/TableCells/CustomCells/EntityCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/EntityCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/IDButton/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/IDButton/index.js +1 -2
- package/build/components/TableCells/CustomCells/IndividualsCell/index.d.ts +2 -2
- package/build/components/TableCells/CustomCells/IndividualsCell/index.js +2 -2
- package/build/components/TableCells/CustomCells/IntentsStatusCell/IntentsStatusCell.js +1 -1
- package/build/components/TableCells/CustomCells/IntentsStatusCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/IntentsStatusCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.js +2 -2
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/index.d.ts +2 -2
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/index.js +2 -2
- package/build/components/TableCells/CustomCells/MarketPlaceCell/index.d.ts +2 -2
- package/build/components/TableCells/CustomCells/MarketPlaceCell/index.js +2 -2
- package/build/components/TableCells/CustomCells/MetadataCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/MetadataCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/OrderCell/OrderCell.js +1 -1
- package/build/components/TableCells/CustomCells/OrderCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/OrderCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/PayoutDateCell/PayoutDateCell.js +1 -1
- package/build/components/TableCells/CustomCells/PayoutDateCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/PayoutDateCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/PayoutReportCell/PayoutReportCell.d.ts +2 -2
- package/build/components/TableCells/CustomCells/PayoutReportCell/PayoutReportCell.js +1 -2
- package/build/components/TableCells/CustomCells/PayoutReportCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/PayoutReportCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/PayoutStatusCell/PayoutStatusCell.js +1 -1
- package/build/components/TableCells/CustomCells/PayoutStatusCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/PayoutStatusCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/ProductsCell/ProductsCell.js +1 -1
- package/build/components/TableCells/CustomCells/ProductsCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/ProductsCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.d.ts +1 -2
- package/build/components/TableCells/CustomCells/ReceiptCell/ReceiptCell.js +2 -3
- package/build/components/TableCells/CustomCells/ReceiptCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/ReceiptCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/ReferenceCell/ReferenceCell.js +2 -2
- package/build/components/TableCells/CustomCells/ReferenceCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/ReferenceCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/RefundChargeCell/RefundChargeCell.js +2 -2
- package/build/components/TableCells/CustomCells/RefundChargeCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/RefundChargeCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.js +1 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStateIcon.d.ts +2 -0
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/{RefundIcon.js → RefundStateIcon.js} +1 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.js +2 -2
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/index.d.ts +1 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/index.js +1 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/index.d.ts +2 -2
- package/build/components/TableCells/CustomCells/RefundStatusCell/index.js +2 -2
- package/build/components/TableCells/CustomCells/SourceCell/SourceCell.js +2 -2
- package/build/components/TableCells/CustomCells/SourceCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/SourceCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/SourceMergedCell/SourceMergedCell.js +1 -1
- package/build/components/TableCells/CustomCells/SourceMergedCell/index.d.ts +2 -2
- package/build/components/TableCells/CustomCells/SourceMergedCell/index.js +2 -2
- package/build/components/TableCells/CustomCells/StatusCell/StatusCell.js +1 -1
- package/build/components/TableCells/CustomCells/StatusCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/StatusCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/TextTableCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/TextTableCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/TextWithBadgeCell/TextWithBadgeCell.js +1 -1
- package/build/components/TableCells/CustomCells/TextWithBadgeCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/TextWithBadgeCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/TokenStatusCell/TokenStatusCell.js +1 -1
- package/build/components/TableCells/CustomCells/TokenStatusCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/TokenStatusCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/WalletCell/WalletCell.js +1 -1
- package/build/components/TableCells/CustomCells/WalletCell/index.d.ts +1 -2
- package/build/components/TableCells/CustomCells/WalletCell/index.js +1 -2
- package/build/components/TableCells/CustomCells/index.d.ts +1 -0
- package/build/components/TableCells/CustomCells/index.js +1 -0
- package/build/components/TableCells/CustomCells/style.js +1 -1
- package/build/components/TableCells/CustomCells/type.d.ts +0 -6
- package/build/components/TableCells/index.d.ts +2 -3
- package/build/components/TableCells/index.js +2 -3
- package/build/components/VirtualTable/components/ColumnFilter/index.d.ts +2 -2
- package/build/components/VirtualTable/components/ColumnFilter/index.js +2 -2
- package/build/components/VirtualTable/components/TableHeader.js +1 -1
- package/build/components/index.d.ts +9 -9
- package/build/components/index.js +8 -8
- package/build/types/analytics.d.ts +1 -0
- package/package.json +88 -88
- package/build/components/AppWindow/headers/AccountHeader/index.js +0 -3
- package/build/components/AppWindow/index.d.ts +0 -5
- package/build/components/AppWindow/index.js +0 -4
- package/build/components/Dropdown/index.d.ts +0 -3
- package/build/components/Dropdown/index.js +0 -2
- package/build/components/Inputs/PhoneInput/CountriesCode/index.d.ts +0 -3
- package/build/components/Inputs/PhoneInput/CountriesCode/index.js +0 -3
- package/build/components/Inputs/PhoneInput/index.d.ts +0 -2
- package/build/components/Inputs/PhoneInput/index.js +0 -2
- package/build/components/Inputs/PhoneInput/style.d.ts +0 -11
- package/build/components/Inputs/PhoneInput/style.js +0 -25
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundIcon.d.ts +0 -2
- /package/build/components/{AppWindow/window → AppWindowWrapper/AppWindow}/AppWindow.d.ts +0 -0
- /package/build/components/{AppWindow/window → AppWindowWrapper/AppWindow}/AppWindow.js +0 -0
- /package/build/components/{AppWindow/window → AppWindowWrapper/AppWindow}/constant.d.ts +0 -0
- /package/build/components/{AppWindow/window → AppWindowWrapper/AppWindow}/constant.js +0 -0
- /package/build/components/{AppWindow/window → AppWindowWrapper/AppWindow}/index.d.ts +0 -0
- /package/build/components/{AppWindow/window → AppWindowWrapper/AppWindow}/index.js +0 -0
- /package/build/components/{AppWindow/window → AppWindowWrapper/AppWindow}/style.d.ts +0 -0
- /package/build/components/{AppWindow/window → AppWindowWrapper/AppWindow}/style.js +0 -0
- /package/build/components/{AppWindow/window → AppWindowWrapper/AppWindow}/type.d.ts +0 -0
- /package/build/components/{AppWindow/context → AppWindowWrapper/AppWindow}/type.js +0 -0
- /package/build/components/{AppWindow/AppWindow.d.ts → AppWindowWrapper/AppWindowWrapper.d.ts} +0 -0
- /package/build/components/{AppWindow → AppWindowWrapper}/context/Provider.d.ts +0 -0
- /package/build/components/{AppWindow → AppWindowWrapper}/context/Provider.js +0 -0
- /package/build/components/{AppWindow → AppWindowWrapper}/context/context.d.ts +0 -0
- /package/build/components/{AppWindow → AppWindowWrapper}/context/context.js +0 -0
- /package/build/components/{AppWindow → AppWindowWrapper}/context/index.d.ts +0 -0
- /package/build/components/{AppWindow → AppWindowWrapper}/context/index.js +0 -0
- /package/build/components/{AppWindow → AppWindowWrapper}/context/type.d.ts +0 -0
- /package/build/components/{AppWindow/headers/AccountHeader/components/AccountHeaderTitle → AppWindowWrapper/context}/type.js +0 -0
- /package/build/components/{AppWindow → AppWindowWrapper}/headers/AccountHeader/AccountHeader.d.ts +0 -0
- /package/build/components/{AppWindow → AppWindowWrapper}/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.d.ts +0 -0
- /package/build/components/{AppWindow → AppWindowWrapper}/headers/AccountHeader/components/AccountHeaderTitle/AccountHeaderTitle.js +0 -0
- /package/build/components/{AppWindow → AppWindowWrapper}/headers/AccountHeader/components/AccountHeaderTitle/index.d.ts +0 -0
- /package/build/components/{AppWindow → AppWindowWrapper}/headers/AccountHeader/components/AccountHeaderTitle/index.js +0 -0
- /package/build/components/{AppWindow → AppWindowWrapper}/headers/AccountHeader/components/AccountHeaderTitle/type.d.ts +0 -0
- /package/build/components/{AppWindow/headers/AccountHeader → AppWindowWrapper/headers/AccountHeader/components/AccountHeaderTitle}/type.js +0 -0
- /package/build/components/{AppWindow → AppWindowWrapper}/headers/AccountHeader/type.d.ts +0 -0
- /package/build/components/{AppWindow → AppWindowWrapper/headers/AccountHeader}/type.js +0 -0
- /package/build/components/{AppWindow/window → AppWindowWrapper}/type.js +0 -0
- /package/build/components/{Dropdown/Dropdown.d.ts → DropdownMenu/DropdownMenu.d.ts} +0 -0
- /package/build/components/{Dropdown/Dropdown.js → DropdownMenu/DropdownMenu.js} +0 -0
- /package/build/components/{Dropdown → DropdownMenu}/styles.d.ts +0 -0
- /package/build/components/{Dropdown → DropdownMenu}/styles.js +0 -0
- /package/build/components/{Dropdown → DropdownMenu}/type.d.ts +0 -0
- /package/build/components/{Dropdown → DropdownMenu}/type.js +0 -0
- /package/build/components/NestedDropdown/{MenuItem.d.ts → NestedMenuItem.d.ts} +0 -0
- /package/build/components/NestedDropdown/{MenuItem.js → NestedMenuItem.js} +0 -0
|
@@ -10,26 +10,25 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
13
|
-
import
|
|
13
|
+
import { memo } from 'react';
|
|
14
14
|
import { AnimatePresence, motion } from 'framer-motion';
|
|
15
15
|
import { useTranslation } from 'react-i18next';
|
|
16
|
-
import Dropdown from '../../../
|
|
16
|
+
import Dropdown from '../../../DropdownMenu';
|
|
17
17
|
import Tooltip from '../../../Tooltip';
|
|
18
|
-
import TableCell from '../../../TableCells
|
|
18
|
+
import { TableCell } from '../../../TableCells';
|
|
19
19
|
import StyledBadge, { BadgeVariants } from '../../../CountBadge';
|
|
20
20
|
import { jsonBlackIcon } from '../../../../constants/index.js';
|
|
21
21
|
import ActionIconsVariants from './components/ActionIconsVariants';
|
|
22
22
|
import { actionIcons, colorToVariant, flags } from './constant';
|
|
23
23
|
import { useActionCell } from './hooks/useActionCell';
|
|
24
24
|
import { ActionCellContainer, ActionIcon, ActionsIconContainer } from './style';
|
|
25
|
-
import IDButton from '../IDButton';
|
|
25
|
+
import { IDButton } from '../IDButton';
|
|
26
26
|
import { BadgeWrapper, IdButtonContainer, TextLabel, TransparentButton } from '../style';
|
|
27
|
-
const JSONViewer = React.lazy(() => import('../../../JSONViewer/JSONViewer'));
|
|
28
27
|
function ActionCell(_a) {
|
|
29
28
|
var _b, _c;
|
|
30
|
-
var { flag,
|
|
29
|
+
var { flag, actions, flagTooltip, flagsCount, dropdownAction, onCloseDropdown, isDropdownShown = true, row, showJsonViewer = true, isTextShown, showIdButton = true, rowId, onJsonViewClick } = _a, props = __rest(_a, ["flag", "actions", "flagTooltip", "flagsCount", "dropdownAction", "onCloseDropdown", "isDropdownShown", "row", "showJsonViewer", "isTextShown", "showIdButton", "rowId", "onJsonViewClick"]);
|
|
31
30
|
const { t } = useTranslation();
|
|
32
|
-
const { open, anchorEl,
|
|
31
|
+
const { open, anchorEl, filteredActions, isAnyActionLoading, isAnyActionHasError, isAnyActionSuccessful, areThereAnyShownActions, handleClick, handleClose, } = useActionCell({ actions, isDropdownShown, onCloseDropdown });
|
|
33
32
|
return (_jsx(TableCell, Object.assign({}, props, { sx: {
|
|
34
33
|
overflow: 'visible',
|
|
35
34
|
} }, { children: _jsxs(ActionCellContainer, Object.assign({ "data-testid": "ActionCell_ActionCellContainer" }, { children: [flag && (_jsx(_Fragment, { children: isTextShown ? (_jsx(Tooltip, Object.assign({ title: flagTooltip }, { children: _jsx(TextLabel, Object.assign({ "data-testid": "ActionCell_FlagLabel", sx: {
|
|
@@ -77,9 +76,7 @@ function ActionCell(_a) {
|
|
|
77
76
|
alignItems: 'center',
|
|
78
77
|
justifyContent: 'center',
|
|
79
78
|
gap: '5px',
|
|
80
|
-
} }, { children: [showJsonViewer && (
|
|
81
|
-
setJsonAnchorEl(null);
|
|
82
|
-
}, isAppMinimized: isAppMinimized, windowOrder: windowOrder, requestJson: JSON.stringify(requestBody, null, 2) }) })] })), _jsxs(ActionsIconContainer, Object.assign({ id: "styled-popover", selected: !!dropdownAction || open, "data-testid": "ActionCell_ActionsIconContainer", "data-is-active": areThereAnyShownActions, sx: Object.assign({}, (!areThereAnyShownActions && {
|
|
79
|
+
} }, { children: [showJsonViewer && (_jsx(_Fragment, { children: _jsx(TransparentButton, Object.assign({ onClick: onJsonViewClick, type: "button", "data-testid": "ActionCell_TransparentButton" }, { children: _jsx(Tooltip, Object.assign({ title: t('jsonViewer') }, { children: _jsx(IdButtonContainer, Object.assign({ "data-testid": "ActionCell_IdButtonContainer" }, { children: _jsx(motion.img, { src: jsonBlackIcon, alt: "icon" }, "id-icon") })) })) })) })), _jsxs(ActionsIconContainer, Object.assign({ id: "styled-popover", selected: !!dropdownAction || open, "data-testid": "ActionCell_ActionsIconContainer", "data-is-active": areThereAnyShownActions, sx: Object.assign({}, (!areThereAnyShownActions && {
|
|
83
80
|
pointerEvents: 'none',
|
|
84
81
|
})) }, { children: [_jsx(TransparentButton, Object.assign({ onClick: handleClick, "data-testid": "ActionCell_ActionsIconContainer_TransparentButton", "data-is-active": areThereAnyShownActions, sx: Object.assign({}, (!areThereAnyShownActions && {
|
|
85
82
|
pointerEvents: 'none',
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default ActionIconsVariants;
|
|
1
|
+
export { default as ActionIconsVariants } from './ActionIconsVariants';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default ActionIconsVariants;
|
|
1
|
+
export { default as ActionIconsVariants } from './ActionIconsVariants';
|
|
@@ -7,8 +7,6 @@ interface UseActionCellProps {
|
|
|
7
7
|
}
|
|
8
8
|
export declare function useActionCell({ actions, isDropdownShown, onCloseDropdown }: Readonly<UseActionCellProps>): {
|
|
9
9
|
anchorEl: HTMLElement | null;
|
|
10
|
-
setJsonAnchorEl: React.Dispatch<React.SetStateAction<HTMLElement | null>>;
|
|
11
|
-
jsonAnchorEl: HTMLElement | null;
|
|
12
10
|
open: boolean;
|
|
13
11
|
filteredActions: {
|
|
14
12
|
label: string;
|
|
@@ -27,6 +25,5 @@ export declare function useActionCell({ actions, isDropdownShown, onCloseDropdow
|
|
|
27
25
|
areThereAnyShownActions: boolean;
|
|
28
26
|
handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
29
27
|
handleClose: () => void;
|
|
30
|
-
handleIdIconClick: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
31
28
|
};
|
|
32
29
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { useEffect, useState } from 'react';
|
|
2
2
|
export function useActionCell({ actions, isDropdownShown, onCloseDropdown }) {
|
|
3
|
-
const [anchorEl, setAnchorEl] =
|
|
4
|
-
const [jsonAnchorEl, setJsonAnchorEl] = React.useState(null);
|
|
3
|
+
const [anchorEl, setAnchorEl] = useState(null);
|
|
5
4
|
const open = Boolean(anchorEl);
|
|
6
5
|
const filteredActions = actions.filter((a) => a.isShown !== false);
|
|
7
6
|
const isAnyActionLoading = filteredActions.some((a) => a.isLoading);
|
|
@@ -18,11 +17,6 @@ export function useActionCell({ actions, isDropdownShown, onCloseDropdown }) {
|
|
|
18
17
|
setAnchorEl(null);
|
|
19
18
|
onCloseDropdown === null || onCloseDropdown === void 0 ? void 0 : onCloseDropdown();
|
|
20
19
|
};
|
|
21
|
-
const handleIdIconClick = (e) => {
|
|
22
|
-
var _a;
|
|
23
|
-
(_a = e === null || e === void 0 ? void 0 : e.stopPropagation) === null || _a === void 0 ? void 0 : _a.call(e);
|
|
24
|
-
setJsonAnchorEl(e.currentTarget);
|
|
25
|
-
};
|
|
26
20
|
useEffect(() => {
|
|
27
21
|
if (!isDropdownShown) {
|
|
28
22
|
setAnchorEl(null);
|
|
@@ -30,8 +24,6 @@ export function useActionCell({ actions, isDropdownShown, onCloseDropdown }) {
|
|
|
30
24
|
}, [isDropdownShown]);
|
|
31
25
|
return {
|
|
32
26
|
anchorEl,
|
|
33
|
-
setJsonAnchorEl,
|
|
34
|
-
jsonAnchorEl,
|
|
35
27
|
open,
|
|
36
28
|
filteredActions,
|
|
37
29
|
isAnyActionLoading,
|
|
@@ -40,6 +32,5 @@ export function useActionCell({ actions, isDropdownShown, onCloseDropdown }) {
|
|
|
40
32
|
areThereAnyShownActions,
|
|
41
33
|
handleClick,
|
|
42
34
|
handleClose,
|
|
43
|
-
handleIdIconClick,
|
|
44
35
|
};
|
|
45
36
|
}
|
|
@@ -15,8 +15,8 @@ import { useTranslation } from 'react-i18next';
|
|
|
15
15
|
import { useTheme } from '@mui/material/styles';
|
|
16
16
|
import { CountAnimatedBadge } from '../../../CountBadge';
|
|
17
17
|
import { AgreementImageWrapper, paymentSourceAnimation } from '../../../CountBadge/style';
|
|
18
|
-
import {
|
|
19
|
-
import
|
|
18
|
+
import { TableCell } from '../../../TableCells';
|
|
19
|
+
import { PaymentSourcesContainer, StyledSourceCell, StyledSourceImage } from '../../../TableCells/CustomCells/SourceCell/style';
|
|
20
20
|
import Tooltip from '../../../Tooltip';
|
|
21
21
|
import { noAgreementIcon } from '../../../../constants/index.js';
|
|
22
22
|
import { formatOrdinal } from '../../../../utils/index.js';
|
|
@@ -10,9 +10,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
-
import TableCell from '../../../TableCells';
|
|
13
|
+
import { TableCell } from '../../../TableCells';
|
|
14
14
|
import Tooltip from '../../../Tooltip';
|
|
15
|
-
import CurrencyIcon from '../../../
|
|
15
|
+
import { CurrencyIcon } from '../../../index.js';
|
|
16
16
|
import { getCurrenciesIcon } from '../../../../constants/index.js';
|
|
17
17
|
import { formatAmountWithCurrency } from '../../../../utils/index.js';
|
|
18
18
|
import { AmountCellContainer, ConversionBadge, CurrencySpan, DecimalSpan, FlagContainer } from './style';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { conversionTypesLabels, formatAmountWithCurrency } from '../../../../utils/index.js';
|
|
3
|
-
import CurrencyIcon from '../../../
|
|
3
|
+
import { CurrencyIcon } from '../../../index.js';
|
|
4
4
|
import { ConversionTooltip, ConversionTooltipRow } from './style';
|
|
5
5
|
export const AmountConversionTooltipLabel = ({ type, selectAmount, selectCurrency, requestAmount, requestCurrency, merchantAmount, merchantCurrency, }) => {
|
|
6
6
|
const customerSelectValue = formatAmountWithCurrency(selectAmount, selectCurrency);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export { default as AmountCell } from './AmountCell';
|
|
2
|
+
export { AmountConversionTooltipLabel } from './AmountConversionTooltipLabel';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export { default as AmountCell } from './AmountCell';
|
|
2
|
+
export { AmountConversionTooltipLabel } from './AmountConversionTooltipLabel';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export { default as ApplicationStatusCell } from './ApplicationStatusCell';
|
|
2
|
+
export * from './type';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export { default as ApplicationStatusCell } from './ApplicationStatusCell';
|
|
2
|
+
export * from './type';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export { default as AppsCell } from './AppsCell';
|
|
2
|
+
export * from './type';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export { default as AppsCell } from './AppsCell';
|
|
2
|
+
export * from './type';
|
|
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import Tooltip from '../../../Tooltip';
|
|
14
|
-
import TableCell from '../../../TableCells
|
|
14
|
+
import { TableCell } from '../../../TableCells';
|
|
15
15
|
import { threeDsIcon } from '../../../../constants/index.js';
|
|
16
16
|
import { AuthIcon } from './style';
|
|
17
17
|
import { BadgeWrapper, TextLabel } from '../style';
|
|
@@ -12,9 +12,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { useMemo } from 'react';
|
|
14
14
|
import { useTheme } from '@mui/material';
|
|
15
|
-
import ImageWrapper from '../../../
|
|
15
|
+
import { ImageWrapper } from '../../../index.js';
|
|
16
16
|
import Tooltip from '../../../Tooltip';
|
|
17
|
-
import TableCell from '../../../TableCells
|
|
17
|
+
import { TableCell } from '../../../TableCells';
|
|
18
18
|
import { authenticationTypes, statusLabels } from './constant';
|
|
19
19
|
import { AuthCellContainer, AuthSourceAnimation, AuthenticationStatusesContainer, BadgeTextWrapper, PartialIcon } from './style';
|
|
20
20
|
import { TextLabel } from '../style';
|
package/build/components/TableCells/CustomCells/AuthenticationStatusCell/AuthenticationStatusCell.js
CHANGED
|
@@ -14,10 +14,10 @@ import camelCase from 'lodash/camelCase';
|
|
|
14
14
|
import { useTranslation } from 'react-i18next';
|
|
15
15
|
import Tooltip from '../../../Tooltip';
|
|
16
16
|
import { ChargeStatusIcon } from '../../../StatusIcons';
|
|
17
|
-
import TableCell from '../../../TableCells
|
|
18
|
-
import { authorizedStatusIcons } from '../../../TableCells/CustomCells/StatusCell/constant';
|
|
17
|
+
import { TableCell } from '../../../TableCells';
|
|
19
18
|
import { authenticationStatusIcons, chargeStatusIcons } from './constant';
|
|
20
19
|
import { StatusCellContainer, StatusIcon } from '../style';
|
|
20
|
+
import { authorizedStatusIcons } from '../StatusCell/constant';
|
|
21
21
|
function AuthenticationStatusCell(_a) {
|
|
22
22
|
var { status, authorizedStatus, chargeStatus, chargeTooltip, gatewayTooltip, acquirerTooltip, errorCode } = _a, props = __rest(_a, ["status", "authorizedStatus", "chargeStatus", "chargeTooltip", "gatewayTooltip", "acquirerTooltip", "errorCode"]);
|
|
23
23
|
const { t } = useTranslation();
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
export { default as AuthenticationStatusCell } from './AuthenticationStatusCell';
|
|
2
2
|
export type { AuthenticationStatusCellProps, AuthenticationStatusType } from './type';
|
|
3
|
-
export default AuthenticationStatusCell;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default AuthenticationStatusCell;
|
|
1
|
+
export { default as AuthenticationStatusCell } from './AuthenticationStatusCell';
|
package/build/components/TableCells/CustomCells/AuthenticationTypeCell/AuthenticationTypeCell.js
CHANGED
|
@@ -13,7 +13,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
13
13
|
import camelCase from 'lodash/camelCase';
|
|
14
14
|
import { useTranslation } from 'react-i18next';
|
|
15
15
|
import Tooltip from '../../../Tooltip';
|
|
16
|
-
import TableCell from '../../../TableCells
|
|
16
|
+
import { TableCell } from '../../../TableCells';
|
|
17
17
|
import { authenticationStatusIcons } from './constant';
|
|
18
18
|
import { StatusCellContainer, StatusIconWrapper, StatusIcon } from '../style';
|
|
19
19
|
function AuthenticationTypeCell(_a) {
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default AuthenticationTypeCell;
|
|
1
|
+
export { default as AuthenticationTypeCell } from './AuthenticationTypeCell';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export { default as AvatarCell } from './AvatarCell';
|
|
2
|
+
export * from './type';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export { default as AvatarCell } from './AvatarCell';
|
|
2
|
+
export * from './type';
|
|
@@ -14,8 +14,8 @@ import { useMemo } from 'react';
|
|
|
14
14
|
import { useTheme } from '@mui/material/styles';
|
|
15
15
|
import { motion } from 'framer-motion';
|
|
16
16
|
import Tooltip from '../../../Tooltip';
|
|
17
|
-
import TableCell from '../../../TableCells
|
|
18
|
-
import CurrencyIcon from '../../../
|
|
17
|
+
import { TableCell } from '../../../TableCells';
|
|
18
|
+
import { CurrencyIcon } from '../../../index.js';
|
|
19
19
|
import { formatAmountWithCurrency } from '../../../../utils/index.js';
|
|
20
20
|
import { BalanceCellContainer, PercentageContainer } from './style';
|
|
21
21
|
import { formatPercentage } from './utils';
|
|
@@ -12,7 +12,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import Tooltip from '../../../Tooltip';
|
|
14
14
|
import CountryFlag from '../../../CountryFlag';
|
|
15
|
-
import TableCell from '../../../TableCells
|
|
15
|
+
import { TableCell } from '../../../TableCells';
|
|
16
16
|
import { bankIcon } from '../../../../constants/index.js';
|
|
17
17
|
import { getCountryName } from '../../../../utils/index.js';
|
|
18
18
|
import { BankCellContainer, BankIcon, BankIdContainer, BankWrapper, IconWrapper } from './style';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
interface BankReferenceCellProps {
|
|
2
2
|
reference: string;
|
|
3
3
|
}
|
|
4
|
-
declare function BankReferenceCell({ reference }: BankReferenceCellProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export
|
|
4
|
+
export declare function BankReferenceCell({ reference }: BankReferenceCellProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export {};
|
|
@@ -3,9 +3,8 @@ import Box from '@mui/material/Box';
|
|
|
3
3
|
import Tooltip from '../../../Tooltip';
|
|
4
4
|
import { acquirerIcon } from '../../../../constants/index.js';
|
|
5
5
|
import { Bank } from './style';
|
|
6
|
-
function BankReferenceCell({ reference }) {
|
|
6
|
+
export function BankReferenceCell({ reference }) {
|
|
7
7
|
if (!reference)
|
|
8
8
|
return _jsx(_Fragment, {});
|
|
9
9
|
return (_jsx(Tooltip, Object.assign({ title: `Bank - ${reference}` }, { children: _jsx(Bank, { children: _jsx(Box, { component: "img", src: acquirerIcon, alt: "bank", width: 14 }) }) })));
|
|
10
10
|
}
|
|
11
|
-
export default BankReferenceCell;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default BankReferenceCell;
|
|
1
|
+
export * from './BankReferenceCell';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default BankReferenceCell;
|
|
1
|
+
export * from './BankReferenceCell';
|
|
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import Tooltip from '../../../Tooltip';
|
|
14
|
-
import TableCell from '../../../TableCells';
|
|
14
|
+
import { TableCell } from '../../../TableCells';
|
|
15
15
|
import { brandPlaceholderIcon } from '../../../../constants/index.js';
|
|
16
16
|
import { BrandCellContainer, WalletIcon, WalletIconContainer } from './style';
|
|
17
17
|
function BrandCell(_a) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export { default as BrandsCell } from './BrandsCell';
|
|
2
|
+
export * from './type';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export { default as BrandsCell } from './BrandsCell';
|
|
2
|
+
export * from './type';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export { default as BusinessStatusCell } from './BusinessStatusCell';
|
|
2
|
+
export * from './type';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export { default as BusinessStatusCell } from './BusinessStatusCell';
|
|
2
|
+
export * from './type';
|
|
@@ -14,8 +14,8 @@ import { useTheme } from '@mui/material/styles';
|
|
|
14
14
|
import { useTranslation } from 'react-i18next';
|
|
15
15
|
import Tooltip from '../../../Tooltip';
|
|
16
16
|
import { paymentSourceAnimation } from '../../../CountBadge/style';
|
|
17
|
-
import ImageWrapper from '../../../
|
|
18
|
-
import TableCell from '../../../TableCells
|
|
17
|
+
import { ImageWrapper } from '../../../index.js';
|
|
18
|
+
import { TableCell } from '../../../TableCells';
|
|
19
19
|
import { channelsIcon } from './constant';
|
|
20
20
|
import { ChannelTextLabel, ChannelTextWrapper, PaymentSourcesContainer, StyledSourceCell, StyledSourceImage } from './style';
|
|
21
21
|
function ChannelsCell(_a) {
|
|
@@ -13,7 +13,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
13
13
|
import { useTranslation } from 'react-i18next';
|
|
14
14
|
import camelCase from 'lodash/camelCase';
|
|
15
15
|
import Tooltip from '../../../Tooltip';
|
|
16
|
-
import TableCell from '../../../TableCells
|
|
16
|
+
import { TableCell } from '../../../TableCells';
|
|
17
17
|
import { statusIcons } from './constant';
|
|
18
18
|
import { StatusIcon } from '../style';
|
|
19
19
|
function CheckoutStatusCell(_a) {
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export default CheckoutStatusCell;
|
|
1
|
+
export { default as CheckoutStatusCell } from './CheckoutStatusCell';
|
|
2
|
+
export { CheckoutStatusProps } from './type';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
interface CurrencyCellPRops {
|
|
2
2
|
currency: string;
|
|
3
3
|
}
|
|
4
|
-
declare function CurrencyCell({ currency }: CurrencyCellPRops): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export
|
|
4
|
+
export declare function CurrencyCell({ currency }: CurrencyCellPRops): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export {};
|
|
@@ -2,7 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { getCurrenciesIcon } from '../../../../constants/index.js';
|
|
3
3
|
import { Currency, FlagContainer, Wrapper } from './style';
|
|
4
4
|
import { FlagIcon } from '../style';
|
|
5
|
-
function CurrencyCell({ currency }) {
|
|
5
|
+
export function CurrencyCell({ currency }) {
|
|
6
6
|
return (_jsxs(Wrapper, { children: [_jsx(FlagContainer, { children: _jsx(FlagIcon, { src: getCurrenciesIcon(currency), alt: currency }) }), _jsx(Currency, { children: currency })] }));
|
|
7
7
|
}
|
|
8
|
-
export default CurrencyCell;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default CurrencyCell;
|
|
1
|
+
export * from './CurrencyCell';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default CurrencyCell;
|
|
1
|
+
export * from './CurrencyCell';
|
|
@@ -16,7 +16,7 @@ import Tooltip from '../../../Tooltip';
|
|
|
16
16
|
import { merchantInitiatedIcon, timezoneIcon } from '../../../../constants/index.js';
|
|
17
17
|
import { getRandomGradientColor, isArabic } from '../../../../utils/index.js';
|
|
18
18
|
import { StyledCustomerCell, StyledCustomerIcon, StyledCustomerIconContainer, StyledCustomerName } from './style';
|
|
19
|
-
import TableCell from '../../../TableCells
|
|
19
|
+
import { TableCell } from '../../../TableCells';
|
|
20
20
|
import { AvatarStyled, StarBadgeWrapper } from '../style';
|
|
21
21
|
function CustomerCell(_a) {
|
|
22
22
|
var _b;
|
|
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { useMemo } from 'react';
|
|
14
|
-
import TableCell from '../../../TableCells
|
|
14
|
+
import { TableCell } from '../../../TableCells';
|
|
15
15
|
import Tooltip from '../../../Tooltip';
|
|
16
16
|
import CountryFlag from '../../../CountryFlag';
|
|
17
17
|
import { formatCellDate, getCountryName } from '../../../../utils/index.js';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default DateCell;
|
|
1
|
+
export { default as DateCell } from './DateCell';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default DateCell;
|
|
1
|
+
export { default as DateCell } from './DateCell';
|
|
@@ -16,7 +16,7 @@ import { formatAmount } from '../../../../utils/index.js';
|
|
|
16
16
|
import { DestinationCellContainer, DestinationCount, StyledDestinationCell, StyledDestinationIcon } from './styled';
|
|
17
17
|
import TableCell from '../../TableCell';
|
|
18
18
|
import { TextLabel } from '../style';
|
|
19
|
-
import CurrencyIcon from '../../../
|
|
19
|
+
import { CurrencyIcon } from '../../../index.js';
|
|
20
20
|
function DestinationCell(_a) {
|
|
21
21
|
var _b, _c, _d, _e, _f;
|
|
22
22
|
var { destinationsCount, destinationsTooltip, isTextShown, destination, destinationsAmount, hidden, iconDirection } = _a, props = __rest(_a, ["destinationsCount", "destinationsTooltip", "isTextShown", "destination", "destinationsAmount", "hidden", "iconDirection"]);
|