@tap-payments/os-micro-frontend-shared 0.1.260 → 0.1.261-test.1
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/build/components/Chip/style.d.ts +0 -1
- package/build/components/CountBadge/style.d.ts +0 -1
- package/build/components/CountryFilter/CountryFilter.d.ts +13 -0
- package/build/components/CountryFilter/CountryFilter.js +71 -0
- package/build/components/CountryFilter/index.d.ts +2 -0
- package/build/components/CountryFilter/index.js +2 -0
- package/build/components/CountryFilter/style.d.ts +6 -0
- package/build/components/CountryFilter/style.js +7 -0
- package/build/components/Customer/CustomerDropdown/CustomerDropdown.d.ts +8 -0
- package/build/components/Customer/CustomerDropdown/CustomerDropdown.js +39 -0
- package/build/components/Customer/CustomerDropdown/index.d.ts +1 -0
- package/build/components/Customer/CustomerDropdown/index.js +1 -0
- package/build/components/Customer/CustomerDropdown/style.d.ts +10 -0
- package/build/components/Customer/CustomerDropdown/style.js +30 -0
- package/build/components/Customer/CustomerForms/EmailForm.d.ts +12 -0
- package/build/components/Customer/CustomerForms/EmailForm.js +76 -0
- package/build/components/Customer/CustomerForms/FullInfo.d.ts +13 -0
- package/build/components/Customer/CustomerForms/FullInfo.js +72 -0
- package/build/components/Customer/CustomerForms/FullInfoForm.d.ts +12 -0
- package/build/components/Customer/CustomerForms/FullInfoForm.js +74 -0
- package/build/components/Customer/CustomerForms/PhoneNumberForm.d.ts +12 -0
- package/build/components/Customer/CustomerForms/PhoneNumberForm.js +71 -0
- package/build/components/Customer/CustomerForms/index.d.ts +9 -0
- package/build/components/Customer/CustomerForms/index.js +9 -0
- package/build/components/Customer/CustomerForms/style.d.ts +25 -0
- package/build/components/Customer/CustomerForms/style.js +71 -0
- package/build/components/Customer/CustomerForms/validation.d.ts +30 -0
- package/build/components/Customer/CustomerForms/validation.js +42 -0
- package/build/components/Customer/index.d.ts +2 -0
- package/build/components/Customer/index.js +2 -0
- package/build/components/Dialog/style.d.ts +0 -1
- package/build/components/Error/Error.d.ts +1 -1
- package/build/components/FlippingCard/style.d.ts +0 -1
- package/build/components/ImageWrapper/ImageWrapper.d.ts +0 -1
- package/build/components/Inputs/CountriesDropDown/CountriesDropdown.d.ts +3 -3
- package/build/components/Inputs/CountriesDropDown/CountriesDropdown.js +3 -3
- package/build/components/JSONViewer/style.d.ts +0 -1
- package/build/components/LeftPeekRightExpandingChip/style.d.ts +0 -1
- package/build/components/PhoneFilter/PhoneFilter.d.ts +9 -0
- package/build/components/PhoneFilter/PhoneFilter.js +13 -0
- package/build/components/PhoneFilter/index.d.ts +2 -0
- package/build/components/PhoneFilter/index.js +2 -0
- package/build/components/RightLeftExpandingCenterChip/style.d.ts +0 -1
- package/build/components/SearchButton/styles.d.ts +0 -1
- package/build/components/StatusIcons/AuthIcons/style.d.ts +0 -1
- package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +0 -1
- package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +0 -1
- package/build/components/StatusIcons/SourceIcons/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/IDButton/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +0 -1
- package/build/components/TableCells/CustomCells/style.d.ts +0 -1
- package/build/components/VirtualTables/components/style.d.ts +0 -1
- package/build/components/index.d.ts +3 -0
- package/build/components/index.js +3 -0
- package/build/constants/apps.d.ts +11 -0
- package/build/constants/apps.js +4 -0
- package/build/types/account.d.ts +2 -1
- package/build/types/account.js +1 -0
- package/package.json +20 -19
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const MobileWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
5
|
+
export declare const SearchWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
8
|
+
export declare const FormWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
+
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
11
|
+
export declare const SubmitButton: import("@emotion/styled").StyledComponent<import("@mui/material/Button").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
12
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
13
|
+
}, "color" | "disabled" | "classes" | "className" | "style" | "tabIndex" | "children" | "sx" | "variant" | "size" | "fullWidth" | "href" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableElevation" | "disableFocusRipple" | "endIcon" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
14
|
+
export declare const InputStyled: import("@emotion/styled").StyledComponent<Readonly<import("@mui/material").InputProps & {
|
|
15
|
+
isError?: boolean | undefined;
|
|
16
|
+
}> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
17
|
+
error?: boolean | undefined;
|
|
18
|
+
}, {}, {}>;
|
|
19
|
+
export declare const InputNumberStyled: import("@emotion/styled").StyledComponent<Omit<Readonly<import("@mui/material").InputProps & {
|
|
20
|
+
isError?: boolean | undefined;
|
|
21
|
+
hideArrows?: boolean | undefined;
|
|
22
|
+
}>, "ref"> & import("react").RefAttributes<HTMLInputElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
23
|
+
error?: boolean | undefined;
|
|
24
|
+
}, {}, {}>;
|
|
25
|
+
export declare const ErrorStyled: import("@emotion/styled").StyledComponent<import("../../Error/Error").ErrorI & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import Box from '@mui/material/Box';
|
|
2
|
+
import Button from '@mui/material/Button';
|
|
3
|
+
import { styled, alpha } from '@mui/material/styles';
|
|
4
|
+
import { Input, InputNumber, Error } from '../../index.js';
|
|
5
|
+
export const MobileWrapper = styled(Box)(({ theme }) => ({
|
|
6
|
+
border: `1px solid ${theme.palette.divider}`,
|
|
7
|
+
display: 'flex',
|
|
8
|
+
position: 'relative',
|
|
9
|
+
paddingInline: '8px',
|
|
10
|
+
alignItems: 'center',
|
|
11
|
+
borderRadius: '4px',
|
|
12
|
+
height: '40px',
|
|
13
|
+
}));
|
|
14
|
+
export const SearchWrapper = styled(Box)(() => ({
|
|
15
|
+
display: 'flex',
|
|
16
|
+
alignItems: 'center',
|
|
17
|
+
}));
|
|
18
|
+
export const FormWrapper = styled(Box)(({ theme }) => ({
|
|
19
|
+
padding: '8px',
|
|
20
|
+
display: 'flex',
|
|
21
|
+
flexDirection: 'column',
|
|
22
|
+
gap: '8px',
|
|
23
|
+
position: 'relative',
|
|
24
|
+
background: theme.palette.common.white,
|
|
25
|
+
borderRadius: '4px',
|
|
26
|
+
width: 'max-content',
|
|
27
|
+
maxWidth: 230,
|
|
28
|
+
boxShadow: theme.shadows[3],
|
|
29
|
+
}));
|
|
30
|
+
export const SubmitButton = styled(Button)(({ theme }) => ({
|
|
31
|
+
display: 'flex',
|
|
32
|
+
alignItems: 'center',
|
|
33
|
+
justifyContent: 'center',
|
|
34
|
+
textTransform: 'capitalize',
|
|
35
|
+
padding: '8px 13px',
|
|
36
|
+
minWidth: 89,
|
|
37
|
+
height: 32,
|
|
38
|
+
fontSize: '11px',
|
|
39
|
+
borderRadius: '4px',
|
|
40
|
+
fontWeight: 700,
|
|
41
|
+
background: theme.palette.info.dark,
|
|
42
|
+
color: theme.palette.common.white,
|
|
43
|
+
textAlign: 'center',
|
|
44
|
+
'&.Mui-disabled': {
|
|
45
|
+
backgroundColor: alpha(theme.palette.grey[700], 0.5),
|
|
46
|
+
color: theme.palette.common.white,
|
|
47
|
+
cursor: 'not-allowed',
|
|
48
|
+
},
|
|
49
|
+
'&:hover': {
|
|
50
|
+
background: theme.palette.info.dark,
|
|
51
|
+
},
|
|
52
|
+
}));
|
|
53
|
+
export const InputStyled = styled(Input, { shouldForwardProp: (props) => props !== 'error' })(({ error }) => (Object.assign({ img: {
|
|
54
|
+
cursor: 'pointer',
|
|
55
|
+
} }, (error && {
|
|
56
|
+
borderBottomLeftRadius: 0,
|
|
57
|
+
borderBottomRightRadius: 0,
|
|
58
|
+
borderBottom: 'none',
|
|
59
|
+
}))));
|
|
60
|
+
export const InputNumberStyled = styled(InputNumber, { shouldForwardProp: (props) => props !== 'error' })(({ error }) => (Object.assign({ img: {
|
|
61
|
+
cursor: 'pointer',
|
|
62
|
+
} }, (error && {
|
|
63
|
+
borderBottomLeftRadius: 0,
|
|
64
|
+
borderBottomRightRadius: 0,
|
|
65
|
+
borderBottom: 'none',
|
|
66
|
+
}))));
|
|
67
|
+
export const ErrorStyled = styled(Error)(() => ({
|
|
68
|
+
borderTopLeftRadius: 0,
|
|
69
|
+
borderTopRightRadius: 0,
|
|
70
|
+
height: 25,
|
|
71
|
+
}));
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as Yup from 'yup';
|
|
2
|
+
export declare const validationEmailFromSchema: Yup.ObjectSchema<{
|
|
3
|
+
email: string;
|
|
4
|
+
firstName: string;
|
|
5
|
+
lastName: string;
|
|
6
|
+
}, Yup.AnyObject, {
|
|
7
|
+
email: undefined;
|
|
8
|
+
firstName: undefined;
|
|
9
|
+
lastName: undefined;
|
|
10
|
+
}, "">;
|
|
11
|
+
export declare const validationFullInfoSchema: (numberLen: number) => Yup.ObjectSchema<{
|
|
12
|
+
email: string | undefined;
|
|
13
|
+
phoneNumber: string | undefined;
|
|
14
|
+
firstName: string;
|
|
15
|
+
lastName: string;
|
|
16
|
+
}, Yup.AnyObject, {
|
|
17
|
+
email: undefined;
|
|
18
|
+
phoneNumber: undefined;
|
|
19
|
+
firstName: undefined;
|
|
20
|
+
lastName: undefined;
|
|
21
|
+
}, "">;
|
|
22
|
+
export declare const validationPhoneNumberSchema: (numberLen: number) => Yup.ObjectSchema<{
|
|
23
|
+
firstName: string;
|
|
24
|
+
lastName: string;
|
|
25
|
+
phoneNumber: string;
|
|
26
|
+
}, Yup.AnyObject, {
|
|
27
|
+
firstName: undefined;
|
|
28
|
+
lastName: undefined;
|
|
29
|
+
phoneNumber: undefined;
|
|
30
|
+
}, "">;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as Yup from 'yup';
|
|
2
|
+
export const validationEmailFromSchema = Yup.object().shape({
|
|
3
|
+
email: Yup.string()
|
|
4
|
+
.matches(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i, 'invalidEmail')
|
|
5
|
+
.required('requiredEmail'),
|
|
6
|
+
firstName: Yup.string().required('requiredFirstName').min(3, 'invalidFirstName'),
|
|
7
|
+
lastName: Yup.string().required('requiredLastName').min(3, 'invalidLastName'),
|
|
8
|
+
});
|
|
9
|
+
export const validationFullInfoSchema = (numberLen) => Yup.object()
|
|
10
|
+
.shape({
|
|
11
|
+
email: Yup.string()
|
|
12
|
+
.transform((value, originalValue) => {
|
|
13
|
+
if (originalValue === '')
|
|
14
|
+
return undefined;
|
|
15
|
+
return value;
|
|
16
|
+
})
|
|
17
|
+
.matches(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{1,}$/i, 'invalidEmail')
|
|
18
|
+
.optional(),
|
|
19
|
+
phoneNumber: Yup.string()
|
|
20
|
+
.transform((value, originalValue) => {
|
|
21
|
+
if (!originalValue)
|
|
22
|
+
return undefined;
|
|
23
|
+
return value;
|
|
24
|
+
})
|
|
25
|
+
.length(numberLen, `invalidMobile`)
|
|
26
|
+
.optional(),
|
|
27
|
+
firstName: Yup.string().min(3, 'invalidFirstName').required('requiredFirstName'),
|
|
28
|
+
lastName: Yup.string().min(3, 'invalidLastName').required('requiredLastName'),
|
|
29
|
+
})
|
|
30
|
+
.test('atLeastOne', 'atLeastOne', function testAtLeastOne(_, ctx) {
|
|
31
|
+
var _a;
|
|
32
|
+
const { email, phoneNumber } = (_a = this.originalValue) !== null && _a !== void 0 ? _a : {};
|
|
33
|
+
if (!email && !phoneNumber) {
|
|
34
|
+
return ctx.createError({ message: 'atLeastOne' });
|
|
35
|
+
}
|
|
36
|
+
return true;
|
|
37
|
+
});
|
|
38
|
+
export const validationPhoneNumberSchema = (numberLen) => Yup.object().shape({
|
|
39
|
+
firstName: Yup.string().required('requiredFirstName').min(3, 'invalidFirstName'),
|
|
40
|
+
lastName: Yup.string().required('requiredLastName').min(3, 'invalidLastName'),
|
|
41
|
+
phoneNumber: Yup.string().length(numberLen, `invalidMobile`).required('requiredMobile'),
|
|
42
|
+
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BoxProps } from '@mui/material/Box';
|
|
3
|
-
interface ErrorI extends BoxProps {
|
|
3
|
+
export interface ErrorI extends BoxProps {
|
|
4
4
|
error: string;
|
|
5
5
|
}
|
|
6
6
|
declare function Error({ error, ...props }: ErrorI): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { Country } from '../../../types/index.js';
|
|
3
|
-
declare function
|
|
3
|
+
declare function CountriesDropdown({ defaultCountry, value: selectedCountry, onChangeCountry, required, countries, isLoading, }: {
|
|
4
4
|
value?: Partial<Country>;
|
|
5
5
|
defaultCountry?: string;
|
|
6
6
|
onChangeCountry?: (country: Country) => void;
|
|
7
7
|
required?: boolean;
|
|
8
8
|
countries: Country[];
|
|
9
|
-
|
|
9
|
+
isLoading: boolean;
|
|
10
10
|
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
declare const _default: import("react").MemoExoticComponent<typeof
|
|
11
|
+
declare const _default: import("react").MemoExoticComponent<typeof CountriesDropdown>;
|
|
12
12
|
export default _default;
|
|
@@ -6,7 +6,7 @@ import Popper from '@mui/material/Popper';
|
|
|
6
6
|
import Skeleton from '@mui/material/Skeleton';
|
|
7
7
|
import { downArrowIcon, searchIcon } from '../../../constants/index.js';
|
|
8
8
|
import { CountryStyled, CountriesWrapper, CountriesList, InputStyled, CountryButton, Required } from './style';
|
|
9
|
-
function
|
|
9
|
+
function CountriesDropdown({ defaultCountry, value: selectedCountry, onChangeCountry, required, countries = [], isLoading = false, }) {
|
|
10
10
|
const [anchorEl, setAnchorEl] = useState(null);
|
|
11
11
|
const [filteredCountries, setFilteredCountries] = useState([]);
|
|
12
12
|
const [searchValue, setSearchValue] = useState();
|
|
@@ -45,7 +45,7 @@ function CountriesCode({ defaultCountry, value: selectedCountry, onChangeCountry
|
|
|
45
45
|
}
|
|
46
46
|
setFilteredCountries(countries.filter((country) => country.idd_prefix.toString().startsWith(value.toString())));
|
|
47
47
|
};
|
|
48
|
-
if (
|
|
48
|
+
if (isLoading) {
|
|
49
49
|
return _jsx(Skeleton, { variant: "rectangular", width: 56.5, height: 20, sx: { borderRadius: '4px' } });
|
|
50
50
|
}
|
|
51
51
|
return (_jsx(ClickAwayListener, Object.assign({ onClickAway: closeDropdown }, { children: _jsxs(Box, Object.assign({ "data-testid": "CountriesCode", sx: { position: 'relative' } }, { children: [_jsxs(CountryButton, Object.assign({ type: "button", onClick: openDropdown, sx: {
|
|
@@ -56,4 +56,4 @@ function CountriesCode({ defaultCountry, value: selectedCountry, onChangeCountry
|
|
|
56
56
|
selectNewCode(country);
|
|
57
57
|
} }, { children: [country.logo ? _jsx("img", { src: country.logo, alt: "c", className: "logo" }) : _jsx(Skeleton, { variant: "rectangular", className: "logo" }), _jsx("span", { children: `+${country.idd_prefix}` })] }), `country-code-${country.countryId}`))) })] })) }))] })) })));
|
|
58
58
|
}
|
|
59
|
-
export default memo(
|
|
59
|
+
export default memo(CountriesDropdown);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Country } from '../../types/index.js';
|
|
2
|
+
export default function PhoneFilter({ onPhoneChange, onCountryChange, selectedPhone, selectedCountry, countriesOptions, isCountriesLoading, }: {
|
|
3
|
+
onPhoneChange: (phone: string) => void;
|
|
4
|
+
onCountryChange: (countryId: string) => void;
|
|
5
|
+
selectedPhone?: string;
|
|
6
|
+
selectedCountry?: Country;
|
|
7
|
+
countriesOptions: Country[];
|
|
8
|
+
isCountriesLoading: boolean;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { PhoneInputBase } from '../index.js';
|
|
3
|
+
export default function PhoneFilter({ onPhoneChange, onCountryChange, selectedPhone, selectedCountry, countriesOptions, isCountriesLoading, }) {
|
|
4
|
+
return (_jsx(PhoneInputBase, { "data-testid": `ColumnFilterInputs_PhoneInput`, phoneValue: selectedPhone, onPhoneChange: (val) => {
|
|
5
|
+
onPhoneChange(val);
|
|
6
|
+
}, countryValue: selectedCountry, onCountryChange: (c) => {
|
|
7
|
+
onCountryChange(c === null || c === void 0 ? void 0 : c.countryId);
|
|
8
|
+
}, countries: countriesOptions || [], isCountriesLoading: isCountriesLoading || false, hasError: false, disabled: isCountriesLoading, placeholder: 'User Mobile', sx: {
|
|
9
|
+
'&.MuiInputBase-root': {
|
|
10
|
+
paddingLeft: '0px !important',
|
|
11
|
+
},
|
|
12
|
+
} }));
|
|
13
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
import { TableMode } from '../../../../types/index.js';
|
|
4
3
|
export declare const ActionCellContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & {
|
|
5
4
|
tableMode?: TableMode | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledAppsCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const AppsStatusContainer: import("@emotion/styled").StyledComponent<{
|
|
5
4
|
hidden?: boolean | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const AuthIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
4
3
|
export declare const AuthCellContainer: import("@emotion/styled").StyledComponent<{
|
|
5
4
|
hidden?: boolean | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const ReferenceSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const SalesChannelsContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const ReferenceSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
5
4
|
hidden?: boolean | undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
4
3
|
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
5
4
|
export declare const PaymentSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
2
|
export declare const GeographyBox: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
4
3
|
variant?: "Global" | "Regional" | "Local" | undefined;
|
|
5
4
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -128,3 +128,6 @@ export * from './VAT';
|
|
|
128
128
|
export * from './Discount';
|
|
129
129
|
export * from './MerchantLogo';
|
|
130
130
|
export * from './FilterDropdown';
|
|
131
|
+
export { default as PhoneFilter } from './PhoneFilter';
|
|
132
|
+
export { default as CountryFilter } from './CountryFilter';
|
|
133
|
+
export * from './Customer';
|
|
@@ -128,3 +128,6 @@ export * from './VAT';
|
|
|
128
128
|
export * from './Discount';
|
|
129
129
|
export * from './MerchantLogo';
|
|
130
130
|
export * from './FilterDropdown';
|
|
131
|
+
export { default as PhoneFilter } from './PhoneFilter';
|
|
132
|
+
export { default as CountryFilter } from './CountryFilter';
|
|
133
|
+
export * from './Customer';
|
package/build/constants/apps.js
CHANGED
|
@@ -320,6 +320,10 @@ export const APP_CODES = {
|
|
|
320
320
|
code: 'BRAND',
|
|
321
321
|
functions: { view: { code: 'VIEW' }, update: { code: 'UPDATE' } },
|
|
322
322
|
},
|
|
323
|
+
appSettings: {
|
|
324
|
+
code: 'APP_SETTINGS',
|
|
325
|
+
functions: { view: { code: 'VIEW' }, update: { code: 'UPDATE' } },
|
|
326
|
+
},
|
|
323
327
|
},
|
|
324
328
|
},
|
|
325
329
|
order: {
|
package/build/types/account.d.ts
CHANGED
package/build/types/account.js
CHANGED