@tap-payments/os-micro-frontend-shared 0.0.299 → 0.0.300
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/IconWithBadge/IconWithBadge.d.ts +1 -1
- package/build/components/IconWithBadge/IconWithBadge.js +9 -13
- package/build/components/IconWithBadge/type.d.ts +0 -3
- package/build/components/MaskedText/MaskedText.js +1 -3
- package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.d.ts +1 -3
- package/build/components/StatusIcons/ChargeStatusIcon/ChargeStatusIcon.js +2 -8
- package/build/components/StatusIcons/PayoutIcon/PayoutIcon.d.ts +1 -3
- package/build/components/StatusIcons/PayoutIcon/PayoutIcon.js +2 -8
- package/build/components/StatusIcons/RefundIcon/RefundIcon.d.ts +1 -3
- package/build/components/StatusIcons/RefundIcon/RefundIcon.js +1 -6
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +5 -39
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +4 -286
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.js +14 -43
- package/build/components/TableCells/CustomCells/BrandsCell/BrandsCell.js +1 -1
- package/build/components/TableCells/CustomCells/BrandsCell/style.js +1 -2
- package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +4 -5
- package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +1 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/style.js +5 -1
- package/build/components/TableCells/CustomCells/StatusCell/constant.d.ts +0 -34
- package/build/components/TableCells/CustomCells/StatusCell/constant.js +0 -30
- package/build/components/VirtualTable/SheetView/components/SheetViewTableRowLoading.d.ts +2 -1
- package/build/components/VirtualTable/SheetView/components/SheetViewTableRowLoading.js +6 -4
- package/build/components/VirtualTable/components/ColumnFilter/Inputs/Inputs.d.ts +1 -1
- package/build/components/VirtualTable/components/ColumnFilter/Inputs/Inputs.js +2 -2
- package/build/components/VirtualTable/components/virtualScroll/ListItemWrapper.d.ts +5 -2
- package/build/components/VirtualTable/components/virtualScroll/ListItemWrapper.js +37 -6
- package/build/components/index.d.ts +0 -1
- package/build/components/index.js +0 -1
- package/build/constants/assets.d.ts +0 -2
- package/build/constants/assets.js +0 -2
- package/build/constants/table/cell/chargeTableCellWidth.d.ts +12 -12
- package/build/constants/table/cell/chargeTableCellWidth.js +12 -12
- package/build/types/table.d.ts +1 -1
- package/package.json +2 -2
- package/build/components/SourceChips/AuthenticationChip/AuthenticationChip.d.ts +0 -7
- package/build/components/SourceChips/AuthenticationChip/AuthenticationChip.js +0 -31
- package/build/components/SourceChips/AuthenticationChip/constants.d.ts +0 -30
- package/build/components/SourceChips/AuthenticationChip/constants.js +0 -25
- package/build/components/SourceChips/AuthenticationChip/index.d.ts +0 -3
- package/build/components/SourceChips/AuthenticationChip/index.js +0 -2
- package/build/components/SourceChips/GeographyChip/GeographyChip.d.ts +0 -7
- package/build/components/SourceChips/GeographyChip/GeographyChip.js +0 -22
- package/build/components/SourceChips/GeographyChip/constants.d.ts +0 -16
- package/build/components/SourceChips/GeographyChip/constants.js +0 -11
- package/build/components/SourceChips/GeographyChip/index.d.ts +0 -2
- package/build/components/SourceChips/GeographyChip/index.js +0 -2
- package/build/components/SourceChips/PaymentAgreementChip/PaymentAgreementChip.d.ts +0 -7
- package/build/components/SourceChips/PaymentAgreementChip/PaymentAgreementChip.js +0 -21
- package/build/components/SourceChips/PaymentAgreementChip/constants.d.ts +0 -21
- package/build/components/SourceChips/PaymentAgreementChip/constants.js +0 -16
- package/build/components/SourceChips/PaymentAgreementChip/index.d.ts +0 -3
- package/build/components/SourceChips/PaymentAgreementChip/index.js +0 -2
- package/build/components/SourceChips/index.d.ts +0 -3
- package/build/components/SourceChips/index.js +0 -3
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Tap Payments
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Tap Payments
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
# os-micro-frontend-shared
|
|
2
|
-
|
|
3
|
-
## Publishing Workflow
|
|
4
|
-
|
|
5
|
-
1. Update version in package.json
|
|
6
|
-
2. Commit changes
|
|
7
|
-
3. Create and push a tag:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm version patch # or minor, major
|
|
11
|
-
git push origin main --tags
|
|
12
|
-
```
|
|
1
|
+
# os-micro-frontend-shared
|
|
2
|
+
|
|
3
|
+
## Publishing Workflow
|
|
4
|
+
|
|
5
|
+
1. Update version in package.json
|
|
6
|
+
2. Commit changes
|
|
7
|
+
3. Create and push a tag:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm version patch # or minor, major
|
|
11
|
+
git push origin main --tags
|
|
12
|
+
```
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IconWithBadgeProps } from './type';
|
|
2
|
-
export default function IconWithBadge({ mainIcon, overlayIcon, mainIconAlt, mainIconSize, containerSize, overlayPosition, borderColor, label,
|
|
2
|
+
export default function IconWithBadge({ mainIcon, overlayIcon, mainIconAlt, mainIconSize, containerSize, overlayPosition, borderColor, label, }: IconWithBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,21 +1,17 @@
|
|
|
1
|
-
import { jsx as _jsx,
|
|
2
|
-
import { useState } from 'react';
|
|
3
|
-
import Skeleton from '@mui/material/Skeleton';
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
2
|
import Box from '@mui/material/Box';
|
|
5
|
-
import { brandPlaceholderIcon } from '../../constants/index.js';
|
|
6
3
|
import { Container, BadgeBox } from './style';
|
|
4
|
+
import { brandPlaceholderIcon } from '../../constants/index.js';
|
|
7
5
|
import Tooltip from '../Tooltip';
|
|
8
|
-
export default function IconWithBadge({ mainIcon, overlayIcon, mainIconAlt = 'main icon', mainIconSize = 20, containerSize = 24, overlayPosition = { top: 10, left: 17 }, borderColor = '#F2F2F2', label = '',
|
|
9
|
-
const [isLoading, setIsLoading] = useState(true);
|
|
6
|
+
export default function IconWithBadge({ mainIcon, overlayIcon, mainIconAlt = 'main icon', mainIconSize = 20, containerSize = 24, overlayPosition = { top: 10, left: 17 }, borderColor = '#F2F2F2', label = '', }) {
|
|
10
7
|
return (_jsx(Tooltip, Object.assign({ title: label }, { children: _jsx(Box, Object.assign({ display: "flex", alignItems: "center", gap: 1, sx: { position: 'relative' } }, { children: _jsxs(Container, Object.assign({ style: {
|
|
11
8
|
borderColor,
|
|
12
9
|
width: containerSize,
|
|
13
10
|
height: containerSize,
|
|
14
|
-
} }, { children: [
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} })] })] })) })) })));
|
|
11
|
+
} }, { children: [overlayIcon && _jsx(BadgeBox, Object.assign({ sx: overlayPosition }, { children: overlayIcon })), _jsx(Box, { width: mainIconSize, height: mainIconSize, component: "img", src: mainIcon || brandPlaceholderIcon, alt: mainIconAlt, sx: {
|
|
12
|
+
borderRadius: '50%',
|
|
13
|
+
objectFit: 'scale-down',
|
|
14
|
+
}, onError: (e) => {
|
|
15
|
+
e.currentTarget.src = brandPlaceholderIcon;
|
|
16
|
+
} })] })) })) })));
|
|
21
17
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SxProps } from '@mui/material';
|
|
3
2
|
export interface IconWithBadgeProps {
|
|
4
3
|
mainIcon: string;
|
|
5
4
|
overlayIcon?: React.ReactNode;
|
|
@@ -14,6 +13,4 @@ export interface IconWithBadgeProps {
|
|
|
14
13
|
};
|
|
15
14
|
borderColor?: string;
|
|
16
15
|
label?: string;
|
|
17
|
-
sx?: SxProps;
|
|
18
|
-
onError?: (e: React.SyntheticEvent<HTMLImageElement, Event>) => void;
|
|
19
16
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import StatusChip from '../StatusChip';
|
|
3
|
-
import { Box, useTheme } from '@mui/material';
|
|
4
3
|
import { passwordDotsIcon } from '../../constants/index.js';
|
|
5
4
|
const MaskedText = ({ text, startLength = 8, endLength = 4 }) => {
|
|
6
|
-
const theme = useTheme();
|
|
7
5
|
const startText = text.slice(0, startLength);
|
|
8
6
|
const endText = text.slice(text.length - endLength);
|
|
9
|
-
return (_jsxs(
|
|
7
|
+
return (_jsxs(StatusChip, Object.assign({ sx: { display: 'flex', alignItems: 'center', gap: '4px' } }, { children: [startText, _jsx("img", { src: passwordDotsIcon, alt: "passwordDots" }), endText] })));
|
|
10
8
|
};
|
|
11
9
|
export default MaskedText;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
2
|
import { type ChargeStatus } from '../../TableCells';
|
|
3
|
-
|
|
4
|
-
export declare function ChargeStatusIcon({ chargeStatus, gatewayTooltip, acquirerTooltip, chargeTooltip, errorCode, isTextShown, gatewayCode, acquirerCode, unCapturedStyles, iconStyles, iconWrapperStyles, gatewayIconWrapperStyles, gatewayContainerStyles, gateWayIconStyles, tableMode, showBadge, }: Readonly<{
|
|
3
|
+
export declare function ChargeStatusIcon({ chargeStatus, gatewayTooltip, acquirerTooltip, chargeTooltip, errorCode, isTextShown, gatewayCode, acquirerCode, unCapturedStyles, iconStyles, iconWrapperStyles, gatewayIconWrapperStyles, gatewayContainerStyles, gateWayIconStyles, showBadge, }: Readonly<{
|
|
5
4
|
chargeStatus?: ChargeStatus;
|
|
6
5
|
gatewayTooltip?: string;
|
|
7
6
|
showAuthorizedStatus?: boolean;
|
|
@@ -18,5 +17,4 @@ export declare function ChargeStatusIcon({ chargeStatus, gatewayTooltip, acquire
|
|
|
18
17
|
gatewayContainerStyles?: CSSProperties;
|
|
19
18
|
gateWayIconStyles?: CSSProperties;
|
|
20
19
|
showBadge?: boolean;
|
|
21
|
-
tableMode?: TableMode;
|
|
22
20
|
}>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,23 +5,17 @@ import { useTranslation } from 'react-i18next';
|
|
|
5
5
|
import Tooltip from '../../Tooltip';
|
|
6
6
|
import { unCapturedStatuses } from '../../../constants/index.js';
|
|
7
7
|
import { AcquirerContainerAnimationVariants, ErrorCodeLabel, ErrorCodeLabelAnimationVariants, ErrorCodeVariants, ErrorCodeWrapper, GateWayIcon, GatewayIconWrapper, GatewayIconWrapperAnimationTransition, GatewaysContainer, GatewaysContainerAnimationVariants, StatusTextLabel, UnCapturedBadge, UnCapturedContainer, errorCodeLabelAnimation, TextViewWrapper, } from './style';
|
|
8
|
-
import { capturedStatusesStyles, unCapturedStatusesStyles, statusIcons
|
|
8
|
+
import { capturedStatusesStyles, unCapturedStatusesStyles, statusIcons } from '../../TableCells/CustomCells/StatusCell/constant';
|
|
9
9
|
import { StatusIcon, StatusIconWrapper, TextLabel } from '../../TableCells/CustomCells/style';
|
|
10
|
-
|
|
11
|
-
export function ChargeStatusIcon({ chargeStatus, gatewayTooltip, acquirerTooltip, chargeTooltip, errorCode, isTextShown, gatewayCode, acquirerCode, unCapturedStyles, iconStyles, iconWrapperStyles, gatewayIconWrapperStyles, gatewayContainerStyles, gateWayIconStyles, tableMode, showBadge = true, }) {
|
|
10
|
+
export function ChargeStatusIcon({ chargeStatus, gatewayTooltip, acquirerTooltip, chargeTooltip, errorCode, isTextShown, gatewayCode, acquirerCode, unCapturedStyles, iconStyles, iconWrapperStyles, gatewayIconWrapperStyles, gatewayContainerStyles, gateWayIconStyles, showBadge = true, }) {
|
|
12
11
|
const unCapturedStatusStyle = chargeStatus ? unCapturedStatusesStyles[chargeStatus] : null;
|
|
13
12
|
const captureStatusStyle = chargeStatus ? capturedStatusesStyles[chargeStatus] : null;
|
|
14
|
-
const sheetViewStatusStyle = chargeStatus ? chargeSheetViewChipStyles[chargeStatus] : {};
|
|
15
13
|
const theme = useTheme();
|
|
16
14
|
const { t } = useTranslation();
|
|
17
15
|
const chargeTooltipTitle = chargeTooltip && (_jsx(_Fragment, { children: _jsx("div", { children: chargeTooltip }) }));
|
|
18
16
|
const acquirerTooltipTitle = acquirerTooltip && (_jsxs(_Fragment, { children: [_jsx("div", { children: "Acquirer" }), _jsx("div", { children: acquirerTooltip })] }));
|
|
19
17
|
const gatewayTooltipTitle = gatewayTooltip && (_jsxs(_Fragment, { children: [_jsx("div", { children: "Gateway" }), _jsx("div", { children: gatewayTooltip })] }));
|
|
20
18
|
const chargeIcon = chargeStatus && statusIcons[chargeStatus] && (_jsx("div", Object.assign({ "data-testid": "ChargeStatusIcon_ChargeIcon", style: Object.assign({ display: 'flex', alignItems: 'center', justifyContent: 'center', width: '16px', height: '16px', borderRadius: unCapturedStatusStyle ? '50%' : '' }, iconWrapperStyles) }, { children: _jsx(StatusIcon, { src: statusIcons[chargeStatus], alt: "charge-icon", "data-testid": "ChargeStatusIcon_StatusIcon", style: Object.assign({ borderRadius: unCapturedStatusStyle ? '50%' : '', width: '16px', height: '16px' }, iconStyles) }) })));
|
|
21
|
-
if (tableMode === 'sheet') {
|
|
22
|
-
const { background, color, border } = sheetViewStatusStyle;
|
|
23
|
-
return _jsx(StatusChip, Object.assign({ sx: { background, color, border } }, { children: t(camelCase(chargeStatus)) }));
|
|
24
|
-
}
|
|
25
19
|
if (isTextShown) {
|
|
26
20
|
return (_jsxs(TextViewWrapper, { children: [_jsx(Tooltip, Object.assign({ title: chargeTooltipTitle }, { children: _jsxs(StatusTextLabel, Object.assign({ "data-testid": "ChargeStatusIcon_isTextShown", "data-status": camelCase(chargeStatus), sx: {
|
|
27
21
|
background: (unCapturedStatusStyle === null || unCapturedStatusStyle === void 0 ? void 0 : unCapturedStatusStyle.background) || (captureStatusStyle === null || captureStatusStyle === void 0 ? void 0 : captureStatusStyle.background) || 'transparent',
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { PayoutStatusType } from '../../TableCells';
|
|
3
|
-
import { TableMode } from '../../../types/index.js';
|
|
4
3
|
type PayoutIconProps = {
|
|
5
4
|
iconStyles?: React.CSSProperties;
|
|
6
5
|
payoutStatus?: PayoutStatusType;
|
|
7
6
|
payoutTooltip?: React.ReactNode;
|
|
8
7
|
isTextShown?: boolean;
|
|
9
|
-
tableMode?: TableMode;
|
|
10
8
|
};
|
|
11
|
-
export declare const PayoutIcon: ({ payoutStatus,
|
|
9
|
+
export declare const PayoutIcon: ({ payoutStatus, isTextShown, payoutTooltip, iconStyles }: PayoutIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
10
|
export {};
|
|
@@ -4,15 +4,9 @@ import { useTranslation } from 'react-i18next';
|
|
|
4
4
|
import Tooltip from '../../Tooltip';
|
|
5
5
|
import { StatusIcon } from '../../TableCells/CustomCells/style';
|
|
6
6
|
import { StatusTextLabel } from '../../TableCells/CustomCells/InvoiceStatusCell/style';
|
|
7
|
-
import { payoutStatusIcons
|
|
8
|
-
|
|
9
|
-
export const PayoutIcon = ({ payoutStatus = 'PENDING', tableMode, isTextShown, payoutTooltip, iconStyles }) => {
|
|
7
|
+
import { payoutStatusIcons } from '../../TableCells/CustomCells/StatusCell/constant';
|
|
8
|
+
export const PayoutIcon = ({ payoutStatus = 'PENDING', isTextShown, payoutTooltip, iconStyles }) => {
|
|
10
9
|
const { t } = useTranslation();
|
|
11
|
-
const payoutStatusStyle = payoutStatusStyles[payoutStatus];
|
|
12
|
-
if (tableMode === 'sheet') {
|
|
13
|
-
const chipText = payoutStatus === 'PENDING' ? t('scheduledPayout') : t(camelCase(payoutStatus));
|
|
14
|
-
return _jsx(StatusChip, Object.assign({ sx: Object.assign({}, payoutStatusStyle) }, { children: chipText }));
|
|
15
|
-
}
|
|
16
10
|
const title = payoutTooltip ? payoutTooltip : t(camelCase(payoutStatus));
|
|
17
11
|
return (_jsx(Tooltip, Object.assign({ title: title }, { children: isTextShown ? (_jsx(StatusTextLabel, Object.assign({ "data-testid": "StatusCell_PayoutStatusLabel" }, { children: t(camelCase(payoutStatus)) }))) : (_jsx(StatusIcon, { src: payoutStatusIcons[payoutStatus], alt: "settled-icon", "data-testid": "StatusCell_PayoutStatusIcon", style: iconStyles })) })));
|
|
18
12
|
};
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type RefundStatusType } from '../../TableCells';
|
|
3
|
-
import { TableMode } from '../../../types/index.js';
|
|
4
3
|
type RefundIconProps = {
|
|
5
4
|
iconStyles?: React.CSSProperties;
|
|
6
5
|
refundStatus?: RefundStatusType;
|
|
7
6
|
refundTooltip?: React.ReactNode;
|
|
8
7
|
refundCount?: number;
|
|
9
8
|
isTextShown?: boolean;
|
|
10
|
-
tableMode?: TableMode;
|
|
11
9
|
};
|
|
12
|
-
declare const RefundIcon: ({ isTextShown, refundStatus, refundTooltip, refundCount, iconStyles
|
|
10
|
+
declare const RefundIcon: ({ isTextShown, refundStatus, refundTooltip, refundCount, iconStyles }: RefundIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
11
|
export default RefundIcon;
|
|
@@ -8,8 +8,7 @@ import { MultiRefundContainer, MultiRefundIcon, RefundsCountBadge } from '../../
|
|
|
8
8
|
import { StatusIcon } from '../../TableCells/CustomCells/style';
|
|
9
9
|
import { StatusTextLabel } from '../../TableCells/CustomCells/InvoiceStatusCell/style';
|
|
10
10
|
import { refundStatusIcons, refundStyles } from '../../TableCells/CustomCells/StatusCell/constant';
|
|
11
|
-
|
|
12
|
-
const RefundIcon = ({ isTextShown, refundStatus = 'PENDING', refundTooltip = '', refundCount, iconStyles, tableMode }) => {
|
|
11
|
+
const RefundIcon = ({ isTextShown, refundStatus = 'PENDING', refundTooltip = '', refundCount, iconStyles }) => {
|
|
13
12
|
const { t } = useTranslation();
|
|
14
13
|
const theme = useTheme();
|
|
15
14
|
const refundCountBadge = (_jsxs(RefundsCountBadge, Object.assign({ "data-testid": "StatusCell_RefundsCountBadge", initial: { width: 0, opacity: 0, padding: '0px' }, transition: {
|
|
@@ -33,10 +32,6 @@ const RefundIcon = ({ isTextShown, refundStatus = 'PENDING', refundTooltip = '',
|
|
|
33
32
|
},
|
|
34
33
|
} }, { children: [refundCount, "x"] })));
|
|
35
34
|
const refundCountShown = (refundCount || 0) > 1;
|
|
36
|
-
if (tableMode === 'sheet') {
|
|
37
|
-
const { color, backgroundColor } = refundStyles[refundStatus];
|
|
38
|
-
return (_jsx(StatusChip, Object.assign({ textColor: color, bgColor: backgroundColor }, { children: t(camelCase(refundStatus)) })));
|
|
39
|
-
}
|
|
40
35
|
return (_jsx(_Fragment, { children: isTextShown ? (_jsx(Tooltip, Object.assign({ title: _jsx("div", { children: _jsx("div", { children: refundTooltip }) }) }, { children: _jsx(StatusTextLabel, Object.assign({ "data-testid": "StatusCell_RefundStatusLabel", sx: {
|
|
41
36
|
color: refundStyles[refundStatus].color,
|
|
42
37
|
backgroundColor: refundStyles[refundStatus].backgroundColor,
|
package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ApplicationStatusCellProps } from './type';
|
|
2
2
|
export default function ApplicationStatusCell({ acceptance, payout, hideAcceptance, hidePayout, ...props }: ApplicationStatusCellProps): import("react/jsx-runtime").JSX.Element;
|
package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js
CHANGED
|
@@ -9,48 +9,14 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
9
9
|
}
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import {
|
|
14
|
-
import { useTheme } from '@mui/material/styles';
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { acceptanceDisabledRoundedIcon, payoutDisabledRoundedIcon, acceptanceEnabledIcon, payoutGreenIcon } from '../../../../constants/index.js';
|
|
15
14
|
import Tooltip from '../../../Tooltip';
|
|
16
|
-
import
|
|
17
|
-
import {
|
|
18
|
-
import { AppsStatusContainer, StyledAppsCell, appStatusAnimation } from './style';
|
|
19
|
-
import IconWithBadge from '../../../IconWithBadge';
|
|
20
|
-
import { acceptanceBlueIcon, acceptanceWindowIcon, payoutsGreenIcon, payoutWindowIcon } from '../../../../constants/index.js';
|
|
15
|
+
import TableCell from '../../TableCell';
|
|
16
|
+
import { AppsWrapper, IconWrapper } from './style';
|
|
21
17
|
export default function ApplicationStatusCell(_a) {
|
|
22
18
|
var { acceptance, payout, hideAcceptance, hidePayout } = _a, props = __rest(_a, ["acceptance", "payout", "hideAcceptance", "hidePayout"]);
|
|
23
19
|
const isAcceptanceEnabled = (acceptance === null || acceptance === void 0 ? void 0 : acceptance.toLowerCase()) === 'enabled';
|
|
24
20
|
const isPayoutEnabled = (payout === null || payout === void 0 ? void 0 : payout.toLowerCase()) === 'enabled';
|
|
25
|
-
|
|
26
|
-
const theme = useTheme();
|
|
27
|
-
const apps = useMemo(() => [
|
|
28
|
-
{
|
|
29
|
-
icon: isAcceptanceEnabled ? acceptanceBlueIcon : acceptanceWindowIcon,
|
|
30
|
-
tooltip: 'Acceptance',
|
|
31
|
-
enabled: isAcceptanceEnabled,
|
|
32
|
-
shown: !hideAcceptance,
|
|
33
|
-
order: 0,
|
|
34
|
-
},
|
|
35
|
-
{ icon: isPayoutEnabled ? payoutsGreenIcon : payoutWindowIcon, tooltip: 'Payout', enabled: isPayoutEnabled, shown: !hidePayout, order: 1 },
|
|
36
|
-
]
|
|
37
|
-
.filter((app) => app.shown)
|
|
38
|
-
.sort((a, b) => (a.enabled !== b.enabled ? -1 : a.order - b.order)), [isAcceptanceEnabled, isPayoutEnabled, hideAcceptance, hidePayout]);
|
|
39
|
-
const appsStatus = useMemo(() => apps.map((app, index) => {
|
|
40
|
-
const sourceTooltip = app.tooltip;
|
|
41
|
-
return (_jsx(Tooltip, Object.assign({ onOpen: () => {
|
|
42
|
-
setIsTooltipOpen(true);
|
|
43
|
-
}, onClose: () => {
|
|
44
|
-
setIsTooltipOpen(false);
|
|
45
|
-
}, title: sourceTooltip }, { children: _jsx(ImageWrapper, Object.assign({ order: index, variants: appStatusAnimation(index, theme.shadows[4], 40), sx: {
|
|
46
|
-
width: '36px',
|
|
47
|
-
} }, { children: _jsx(IconWithBadge, { mainIcon: app.icon, mainIconSize: 16, containerSize: 16, sx: { borderRadius: '40px' }, onError: (e) => {
|
|
48
|
-
e.currentTarget.src = app.icon;
|
|
49
|
-
e.currentTarget.style.borderRadius = '0px';
|
|
50
|
-
}, borderColor: "transparent" }) })) }), `${app}-${index}`));
|
|
51
|
-
}), [apps, theme]);
|
|
52
|
-
const appsCount = (apps === null || apps === void 0 ? void 0 : apps.length) || 0;
|
|
53
|
-
return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(StyledAppsCell, { children: appsCount > 0 ? (_jsx(AppsStatusContainer, Object.assign({ layout: true, className: "reference-sources-container", whileHover: "animate", animate: isTooltipOpen ? 'animate' : 'start', sourcesCount: appsCount, variants: { animate: { width: appsCount * (6 + 32) } }, style: {
|
|
54
|
-
zIndex: 29,
|
|
55
|
-
} }, { children: appsStatus }))) : null }) })));
|
|
21
|
+
return (_jsx(TableCell, Object.assign({}, props, { children: _jsxs(AppsWrapper, { children: [!hideAcceptance && (_jsx(Tooltip, Object.assign({ title: 'Acceptance' }, { children: _jsxs(IconWrapper, { children: [_jsx("img", { src: isAcceptanceEnabled ? acceptanceEnabledIcon : acceptanceDisabledRoundedIcon, alt: acceptance }), ' '] }) }), acceptance)), !hidePayout && (_jsx(Tooltip, Object.assign({ title: 'Payouts' }, { children: _jsx(IconWrapper, { children: _jsx("img", { src: isPayoutEnabled ? payoutGreenIcon : payoutDisabledRoundedIcon, alt: payout }) }) }), payout))] }) })));
|
|
56
22
|
}
|
|
@@ -1,287 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
slot?: string | undefined;
|
|
7
|
-
title?: string | undefined;
|
|
8
|
-
color?: string | undefined;
|
|
9
|
-
className?: string | undefined;
|
|
10
|
-
defaultChecked?: boolean | undefined;
|
|
11
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
12
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
13
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
14
|
-
accessKey?: string | undefined;
|
|
15
|
-
autoCapitalize?: (string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined;
|
|
16
|
-
autoFocus?: boolean | undefined;
|
|
17
|
-
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
18
|
-
contextMenu?: string | undefined;
|
|
19
|
-
dir?: string | undefined;
|
|
20
|
-
draggable?: (boolean | "false" | "true") | undefined;
|
|
21
|
-
enterKeyHint?: "search" | "done" | "next" | "enter" | "go" | "previous" | "send" | undefined;
|
|
22
|
-
lang?: string | undefined;
|
|
23
|
-
nonce?: string | undefined;
|
|
24
|
-
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
25
|
-
tabIndex?: number | undefined;
|
|
26
|
-
translate?: "yes" | "no" | undefined;
|
|
27
|
-
radioGroup?: string | undefined;
|
|
28
|
-
role?: import("react").AriaRole | undefined;
|
|
29
|
-
about?: string | undefined;
|
|
30
|
-
content?: string | undefined;
|
|
31
|
-
datatype?: string | undefined;
|
|
32
|
-
inlist?: any;
|
|
33
|
-
prefix?: string | undefined;
|
|
34
|
-
property?: string | undefined;
|
|
35
|
-
rel?: string | undefined;
|
|
36
|
-
resource?: string | undefined;
|
|
37
|
-
rev?: string | undefined;
|
|
38
|
-
typeof?: string | undefined;
|
|
39
|
-
vocab?: string | undefined;
|
|
40
|
-
autoCorrect?: string | undefined;
|
|
41
|
-
autoSave?: string | undefined;
|
|
42
|
-
itemProp?: string | undefined;
|
|
43
|
-
itemScope?: boolean | undefined;
|
|
44
|
-
itemType?: string | undefined;
|
|
45
|
-
itemID?: string | undefined;
|
|
46
|
-
itemRef?: string | undefined;
|
|
47
|
-
results?: number | undefined;
|
|
48
|
-
security?: string | undefined;
|
|
49
|
-
unselectable?: "off" | "on" | undefined;
|
|
50
|
-
inputMode?: "none" | "email" | "search" | "numeric" | "url" | "text" | "tel" | "decimal" | undefined;
|
|
51
|
-
is?: string | undefined;
|
|
52
|
-
exportparts?: string | undefined;
|
|
53
|
-
part?: string | undefined;
|
|
54
|
-
"aria-activedescendant"?: string | undefined;
|
|
55
|
-
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
56
|
-
"aria-autocomplete"?: "none" | "list" | "both" | "inline" | undefined;
|
|
57
|
-
"aria-braillelabel"?: string | undefined;
|
|
58
|
-
"aria-brailleroledescription"?: string | undefined;
|
|
59
|
-
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
60
|
-
"aria-checked"?: boolean | "false" | "true" | "mixed" | undefined;
|
|
61
|
-
"aria-colcount"?: number | undefined;
|
|
62
|
-
"aria-colindex"?: number | undefined;
|
|
63
|
-
"aria-colindextext"?: string | undefined;
|
|
64
|
-
"aria-colspan"?: number | undefined;
|
|
65
|
-
"aria-controls"?: string | undefined;
|
|
66
|
-
"aria-current"?: boolean | "date" | "false" | "true" | "time" | "page" | "step" | "location" | undefined;
|
|
67
|
-
"aria-describedby"?: string | undefined;
|
|
68
|
-
"aria-description"?: string | undefined;
|
|
69
|
-
"aria-details"?: string | undefined;
|
|
70
|
-
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
71
|
-
"aria-dropeffect"?: "none" | "copy" | "link" | "move" | "execute" | "popup" | undefined;
|
|
72
|
-
"aria-errormessage"?: string | undefined;
|
|
73
|
-
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
74
|
-
"aria-flowto"?: string | undefined;
|
|
75
|
-
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
76
|
-
"aria-haspopup"?: boolean | "false" | "true" | "dialog" | "menu" | "grid" | "listbox" | "tree" | undefined;
|
|
77
|
-
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
78
|
-
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
79
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
80
|
-
"aria-label"?: string | undefined;
|
|
81
|
-
"aria-labelledby"?: string | undefined;
|
|
82
|
-
"aria-level"?: number | undefined;
|
|
83
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
84
|
-
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
85
|
-
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
86
|
-
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
87
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
88
|
-
"aria-owns"?: string | undefined;
|
|
89
|
-
"aria-placeholder"?: string | undefined;
|
|
90
|
-
"aria-posinset"?: number | undefined;
|
|
91
|
-
"aria-pressed"?: boolean | "false" | "true" | "mixed" | undefined;
|
|
92
|
-
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
93
|
-
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
94
|
-
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
95
|
-
"aria-roledescription"?: string | undefined;
|
|
96
|
-
"aria-rowcount"?: number | undefined;
|
|
97
|
-
"aria-rowindex"?: number | undefined;
|
|
98
|
-
"aria-rowindextext"?: string | undefined;
|
|
99
|
-
"aria-rowspan"?: number | undefined;
|
|
100
|
-
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
101
|
-
"aria-setsize"?: number | undefined;
|
|
102
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
103
|
-
"aria-valuemax"?: number | undefined;
|
|
104
|
-
"aria-valuemin"?: number | undefined;
|
|
105
|
-
"aria-valuenow"?: number | undefined;
|
|
106
|
-
"aria-valuetext"?: string | undefined;
|
|
107
|
-
dangerouslySetInnerHTML?: {
|
|
108
|
-
__html: string | TrustedHTML;
|
|
109
|
-
} | undefined;
|
|
110
|
-
onCopy?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
111
|
-
onCopyCapture?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
112
|
-
onCut?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
113
|
-
onCutCapture?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
114
|
-
onPaste?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
115
|
-
onPasteCapture?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
116
|
-
onCompositionEnd?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
117
|
-
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
118
|
-
onCompositionStart?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
119
|
-
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
120
|
-
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
121
|
-
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
122
|
-
onFocus?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
|
|
123
|
-
onFocusCapture?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
|
|
124
|
-
onBlur?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
|
|
125
|
-
onBlurCapture?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
|
|
126
|
-
onChange?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
127
|
-
onChangeCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
128
|
-
onBeforeInput?: import("react").InputEventHandler<HTMLSpanElement> | undefined;
|
|
129
|
-
onBeforeInputCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
130
|
-
onInput?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
131
|
-
onInputCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
132
|
-
onReset?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
133
|
-
onResetCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
134
|
-
onSubmit?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
135
|
-
onSubmitCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
136
|
-
onInvalid?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
137
|
-
onInvalidCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
138
|
-
onLoad?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
139
|
-
onLoadCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
140
|
-
onError?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
141
|
-
onErrorCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
142
|
-
onKeyDown?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
143
|
-
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
144
|
-
onKeyPress?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
145
|
-
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
146
|
-
onKeyUp?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
147
|
-
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
148
|
-
onAbort?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
149
|
-
onAbortCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
150
|
-
onCanPlay?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
151
|
-
onCanPlayCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
152
|
-
onCanPlayThrough?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
153
|
-
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
154
|
-
onDurationChange?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
155
|
-
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
156
|
-
onEmptied?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
157
|
-
onEmptiedCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
158
|
-
onEncrypted?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
159
|
-
onEncryptedCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
160
|
-
onEnded?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
161
|
-
onEndedCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
162
|
-
onLoadedData?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
163
|
-
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
164
|
-
onLoadedMetadata?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
165
|
-
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
166
|
-
onLoadStart?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
167
|
-
onLoadStartCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
168
|
-
onPause?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
169
|
-
onPauseCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
170
|
-
onPlay?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
171
|
-
onPlayCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
172
|
-
onPlaying?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
173
|
-
onPlayingCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
174
|
-
onProgress?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
175
|
-
onProgressCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
176
|
-
onRateChange?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
177
|
-
onRateChangeCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
178
|
-
onSeeked?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
179
|
-
onSeekedCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
180
|
-
onSeeking?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
181
|
-
onSeekingCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
182
|
-
onStalled?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
183
|
-
onStalledCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
184
|
-
onSuspend?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
185
|
-
onSuspendCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
186
|
-
onTimeUpdate?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
187
|
-
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
188
|
-
onVolumeChange?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
189
|
-
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
190
|
-
onWaiting?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
191
|
-
onWaitingCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
192
|
-
onAuxClick?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
193
|
-
onAuxClickCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
194
|
-
onClick?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
195
|
-
onClickCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
196
|
-
onContextMenu?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
197
|
-
onContextMenuCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
198
|
-
onDoubleClick?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
199
|
-
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
200
|
-
onDragCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
201
|
-
onDragEndCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
202
|
-
onDragEnter?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
203
|
-
onDragEnterCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
204
|
-
onDragExit?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
205
|
-
onDragExitCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
206
|
-
onDragLeave?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
207
|
-
onDragLeaveCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
208
|
-
onDragOver?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
209
|
-
onDragOverCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
210
|
-
onDragStartCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
211
|
-
onDrop?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
212
|
-
onDropCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
213
|
-
onMouseDown?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
214
|
-
onMouseDownCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
215
|
-
onMouseEnter?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
216
|
-
onMouseLeave?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
217
|
-
onMouseMove?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
218
|
-
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
219
|
-
onMouseOut?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
220
|
-
onMouseOutCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
221
|
-
onMouseOver?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
222
|
-
onMouseOverCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
223
|
-
onMouseUp?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
224
|
-
onMouseUpCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
225
|
-
onSelect?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
226
|
-
onSelectCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
227
|
-
onTouchCancel?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
228
|
-
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
229
|
-
onTouchEnd?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
230
|
-
onTouchEndCapture?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
231
|
-
onTouchMove?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
232
|
-
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
233
|
-
onTouchStart?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
234
|
-
onTouchStartCapture?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
235
|
-
onPointerDown?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
236
|
-
onPointerDownCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
237
|
-
onPointerMove?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
238
|
-
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
239
|
-
onPointerUp?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
240
|
-
onPointerUpCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
241
|
-
onPointerCancel?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
242
|
-
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
243
|
-
onPointerEnter?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
244
|
-
onPointerLeave?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
245
|
-
onPointerOver?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
246
|
-
onPointerOverCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
247
|
-
onPointerOut?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
248
|
-
onPointerOutCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
249
|
-
onGotPointerCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
250
|
-
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
251
|
-
onLostPointerCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
252
|
-
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
253
|
-
onScroll?: import("react").UIEventHandler<HTMLSpanElement> | undefined;
|
|
254
|
-
onScrollCapture?: import("react").UIEventHandler<HTMLSpanElement> | undefined;
|
|
255
|
-
onWheel?: import("react").WheelEventHandler<HTMLSpanElement> | undefined;
|
|
256
|
-
onWheelCapture?: import("react").WheelEventHandler<HTMLSpanElement> | undefined;
|
|
257
|
-
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
258
|
-
onAnimationEnd?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
259
|
-
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
260
|
-
onAnimationIteration?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
261
|
-
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
262
|
-
onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
263
|
-
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
264
|
-
} & import("framer-motion").MotionProps & import("react").RefAttributes<HTMLSpanElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
265
|
-
sourcesCount: number;
|
|
266
|
-
}, {}, {}>;
|
|
267
|
-
export declare const AppTextLabel: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
268
|
-
export declare const AppTextWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
269
|
-
export declare const appStatusAnimation: (index: number, shadow: string, xDelta?: number) => {
|
|
270
|
-
start: {
|
|
271
|
-
x: number;
|
|
272
|
-
transition: {
|
|
273
|
-
duration: number;
|
|
274
|
-
type: string;
|
|
275
|
-
ease: string;
|
|
276
|
-
};
|
|
277
|
-
};
|
|
278
|
-
animate: {
|
|
279
|
-
x: number;
|
|
280
|
-
transition: {
|
|
281
|
-
duration: number;
|
|
282
|
-
type: string;
|
|
283
|
-
ease: string;
|
|
284
|
-
};
|
|
285
|
-
boxShadow: string;
|
|
286
|
-
};
|
|
287
|
-
};
|
|
2
|
+
export declare const AppsWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
+
export declare const IconWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
4
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
5
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|