@tap-payments/auth-jsconnect 2.1.9-test → 2.1.11-test

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.
Files changed (74) hide show
  1. package/build/@types/form.d.ts +4 -3
  2. package/build/api/board.d.ts +1 -0
  3. package/build/api/board.js +8 -1
  4. package/build/api/entity.d.ts +1 -1
  5. package/build/api/index.d.ts +1 -0
  6. package/build/assets/locales/ar.json +7 -0
  7. package/build/assets/locales/en.json +7 -0
  8. package/build/components/FileInput/DragAndDrop.d.ts +3 -2
  9. package/build/components/FileInput/DragAndDrop.js +4 -4
  10. package/build/components/Lottie/Lottie.d.ts +2924 -127
  11. package/build/components/Lottie/Lottie.js +8 -4
  12. package/build/components/Lottie/files/error.json +692 -0
  13. package/build/components/Lottie/files/start_loading.json +1140 -0
  14. package/build/components/Lottie/files/still_loading.json +1140 -0
  15. package/build/constants/validation.d.ts +1 -0
  16. package/build/constants/validation.js +1 -0
  17. package/build/features/app/bank/bankStore.js +13 -10
  18. package/build/features/app/business/businessStore.d.ts +8 -1
  19. package/build/features/app/business/businessStore.js +123 -66
  20. package/build/features/app/connect/connectStore.d.ts +1 -1
  21. package/build/features/app/connect/connectStore.js +47 -38
  22. package/build/features/app/entity/entityStore.js +37 -42
  23. package/build/features/app/individual/individualStore.js +47 -38
  24. package/build/features/app/password/passwordStore.js +19 -20
  25. package/build/features/app/tax/taxStore.js +13 -10
  26. package/build/features/bank/screens/BankDetails/BankDetails.js +13 -6
  27. package/build/features/bank/screens/BankDetails/BankStatement.js +14 -11
  28. package/build/features/bank/screens/BankDetails/validation.d.ts +22 -0
  29. package/build/features/bank/screens/BankDetails/validation.js +29 -2
  30. package/build/features/business/screens/BusinessType/Article.d.ts +6 -0
  31. package/build/features/business/screens/BusinessType/Article.js +89 -0
  32. package/build/features/business/screens/BusinessType/BusinessType.js +16 -10
  33. package/build/features/business/screens/BusinessType/EntityName.js +1 -1
  34. package/build/features/business/screens/BusinessType/LicenseCertificate.js +14 -9
  35. package/build/features/business/screens/BusinessType/LicenseList.js +3 -2
  36. package/build/features/business/screens/BusinessType/LicenseType.js +3 -3
  37. package/build/features/business/screens/BusinessType/validation.js +17 -8
  38. package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  39. package/build/features/business/screens/VerifyPACI/VerifyPACI.js +9 -134
  40. package/build/features/connect/screens/Merchant/Merchant.js +4 -24
  41. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +2 -5
  42. package/build/features/connect/screens/Merchant/SalesChannels.js +29 -99
  43. package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  44. package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +9 -73
  45. package/build/features/entity/screens/EntityInfoConfirm/Article.js +14 -11
  46. package/build/features/shared/PaciVerification/PaciVerification.d.ts +12 -0
  47. package/build/features/shared/PaciVerification/PaciVerification.js +91 -0
  48. package/build/features/{business/screens/VerifyPACI → shared/PaciVerification}/VerifyPACILoading.d.ts +1 -0
  49. package/build/features/shared/PaciVerification/VerifyPACILoading.js +13 -0
  50. package/build/features/{business/screens/VerifyPACI → shared/PaciVerification}/VerifyPACISuccess.d.ts +0 -0
  51. package/build/features/{business/screens/VerifyPACI → shared/PaciVerification}/VerifyPACISuccess.js +1 -1
  52. package/build/features/shared/PaciVerification/index.d.ts +2 -0
  53. package/build/features/shared/PaciVerification/index.js +2 -0
  54. package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +11 -0
  55. package/build/features/shared/SalesChannels/SaleChannelIconsInput.js +100 -0
  56. package/build/features/shared/SalesChannels/SalesChannel.d.ts +10 -0
  57. package/build/features/shared/SalesChannels/SalesChannel.js +132 -0
  58. package/build/features/shared/SalesChannels/index.d.ts +2 -0
  59. package/build/features/shared/SalesChannels/index.js +2 -0
  60. package/build/features/shared/UploadFile/UploadFile.d.ts +3 -2
  61. package/build/features/shared/UploadFile/UploadFile.js +13 -13
  62. package/build/hooks/index.d.ts +1 -0
  63. package/build/hooks/index.js +1 -0
  64. package/build/hooks/useCountUp.d.ts +9 -0
  65. package/build/hooks/useCountUp.js +17 -0
  66. package/package.json +1 -1
  67. package/build/components/Lottie/files/pulsating_circle_waves.json +0 -236
  68. package/build/features/business/screens/VerifyPACI/VerifyPACILoading.js +0 -23
  69. package/build/features/connect/screens/Merchant/SocialMedia.d.ts +0 -8
  70. package/build/features/connect/screens/Merchant/SocialMedia.js +0 -156
  71. package/build/features/connect/screens/VerifyPACI/VerifyPACILoading.d.ts +0 -6
  72. package/build/features/connect/screens/VerifyPACI/VerifyPACILoading.js +0 -23
  73. package/build/features/connect/screens/VerifyPACI/VerifyPACISuccess.d.ts +0 -5
  74. package/build/features/connect/screens/VerifyPACI/VerifyPACISuccess.js +0 -8
@@ -0,0 +1,132 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
13
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
14
+ if (ar || !(i in from)) {
15
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
16
+ ar[i] = from[i];
17
+ }
18
+ }
19
+ return to.concat(ar || Array.prototype.slice.call(from));
20
+ };
21
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
22
+ import React from 'react';
23
+ import Box from '@mui/material/Box';
24
+ import { alpha, styled } from '@mui/material/styles';
25
+ import { useTranslation } from 'react-i18next';
26
+ import { useLanguage } from '../../../hooks';
27
+ import Text from '../../../components/Text';
28
+ import CheckBox from '../../../components/CheckBox';
29
+ import Warning from '../../../components/Warning';
30
+ import Collapse from '../../../components/Collapse';
31
+ import { findFirstId } from '../../../utils';
32
+ import SaleChannelIconsInput from './SaleChannelIconsInput';
33
+ var InputLabelStyled = styled(Text)(function (_a) {
34
+ var theme = _a.theme;
35
+ return (__assign({ margin: theme.spacing(2.5, 2.5, 0.5, 2.5), color: alpha(theme.palette.text.primary, 0.4) }, theme.typography.caption));
36
+ });
37
+ var ContainerStyled = styled(Box)(function (_a) {
38
+ var theme = _a.theme;
39
+ return ({
40
+ display: 'flex',
41
+ flexDirection: 'row',
42
+ alignItems: 'center',
43
+ padding: theme.spacing(0, 0.5, 0, 0.5),
44
+ height: theme.spacing(3.625),
45
+ marginBlockEnd: theme.spacing(0.2)
46
+ });
47
+ });
48
+ var TextStyled = styled(Text)(function (_a) {
49
+ var theme = _a.theme;
50
+ return (__assign(__assign({ color: alpha(theme.palette.text.primary, 0.4), fontWeight: theme.typography.fontWeightLight, whiteSpace: 'pre' }, theme.typography.body2), { marginBlockStart: theme.spacing(1.75) }));
51
+ });
52
+ var CheckBoxStyled = styled(CheckBox)(function (_a) {
53
+ var theme = _a.theme;
54
+ return ({
55
+ paddingInline: '15px',
56
+ marginInlineEnd: theme.spacing(-1),
57
+ '& .MuiSvgIcon-root': {
58
+ fontSize: 30
59
+ },
60
+ '&.Mui-checked': {
61
+ color: theme.palette.text.primary,
62
+ borderRadius: theme.spacing(2.5)
63
+ }
64
+ });
65
+ });
66
+ var MandatoryStyled = styled('span')(function (_a) {
67
+ var theme = _a.theme;
68
+ return (__assign(__assign({ color: alpha(theme.palette.error.light, 0.4) }, theme.typography.h6), { fontWeight: theme.typography.fontWeightLight, verticalAlign: 'sub' }));
69
+ });
70
+ var CollapseStyled = styled(Collapse)(function (_a) {
71
+ var theme = _a.theme;
72
+ return ({
73
+ marginBlockStart: theme.spacing(2)
74
+ });
75
+ });
76
+ var SalesChannel = function (_a) {
77
+ var _b = _a.list, list = _b === void 0 ? [] : _b, onChange = _a.onChange, error = _a.error, defaultValues = _a.defaultValues;
78
+ var _c = React.useState([]), selectedSalas = _c[0], setSelectedSales = _c[1];
79
+ var _d = React.useState(''), activeSaleIconId = _d[0], setActiveSaleIconId = _d[1];
80
+ var t = useTranslation().t;
81
+ var isAr = useLanguage().isAr;
82
+ var isChecked = function (id) {
83
+ return !!selectedSalas.find(function (item) { return item.id === id; });
84
+ };
85
+ var onChangeActiveSaleIcon = function (id) {
86
+ setActiveSaleIconId(id);
87
+ };
88
+ var onSelectSalesChannel = function (channel) {
89
+ if (isChecked(channel.id)) {
90
+ var newSelectedSales = selectedSalas.filter(function (item) { return item.id !== channel.id; });
91
+ setSelectedSales(newSelectedSales);
92
+ onChange(newSelectedSales);
93
+ var item = newSelectedSales.at(-1);
94
+ if (item)
95
+ onChangeActiveSaleIcon(findFirstId([item]));
96
+ return;
97
+ }
98
+ onChangeActiveSaleIcon(findFirstId([channel]));
99
+ setSelectedSales(__spreadArray(__spreadArray([], selectedSalas, true), [channel], false));
100
+ };
101
+ var onValueChange = function (value, id) {
102
+ var newSelectedSales = selectedSalas.map(function (item) {
103
+ var _a;
104
+ if ((_a = item.sub) === null || _a === void 0 ? void 0 : _a.length) {
105
+ var sub = item.sub.map(function (subItem) {
106
+ if (subItem.id === id) {
107
+ return __assign(__assign({}, subItem), { address: value });
108
+ }
109
+ return subItem;
110
+ });
111
+ return __assign(__assign({}, item), { sub: sub });
112
+ }
113
+ if (item.id === id) {
114
+ return __assign(__assign({}, item), { address: value });
115
+ }
116
+ return item;
117
+ });
118
+ setSelectedSales(newSelectedSales);
119
+ onChange(newSelectedSales);
120
+ };
121
+ React.useEffect(function () {
122
+ if (defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.length) {
123
+ setSelectedSales(defaultValues);
124
+ onChangeActiveSaleIcon(findFirstId(defaultValues));
125
+ }
126
+ }, [defaultValues]);
127
+ return (_jsxs(_Fragment, { children: [_jsxs(Box, __assign({ sx: { mb: 3 } }, { children: [_jsxs(InputLabelStyled, { children: [t('channel_of_service'), " ", _jsx(MandatoryStyled, { children: "*" })] }), list.map(function (channel, index) {
128
+ var _a, _b;
129
+ return (_jsxs(ContainerStyled, { children: [_jsx(CheckBoxStyled, { id: channel.id, disableRipple: true, disableFocusRipple: true, focusRipple: false, checked: isChecked(channel.id), onChange: function () { return onSelectSalesChannel(channel); } }), _jsxs(TextStyled, { children: [isAr ? (_a = channel === null || channel === void 0 ? void 0 : channel.name) === null || _a === void 0 ? void 0 : _a.ar : (_b = channel === null || channel === void 0 ? void 0 : channel.name) === null || _b === void 0 ? void 0 : _b.en, " "] })] }, "".concat(channel.id, "-indx").concat(index)));
130
+ }), _jsx(CollapseStyled, __assign({ in: error === 'choose_atleast_one_channel' }, { children: _jsx(Warning, __assign({ warningType: 'alert' }, { children: t(error) })) }))] }), 'salesChannels'), _jsx(SaleChannelIconsInput, { error: error, selectedIconId: activeSaleIconId, onSelectIcon: onChangeActiveSaleIcon, onChangeValue: onValueChange, selectedChannels: selectedSalas }, 'saleChannelIconsInput')] }));
131
+ };
132
+ export default React.memo(SalesChannel);
@@ -0,0 +1,2 @@
1
+ import SalesChannel from './SalesChannel';
2
+ export default SalesChannel;
@@ -0,0 +1,2 @@
1
+ import SalesChannel from './SalesChannel';
2
+ export default SalesChannel;
@@ -20,9 +20,10 @@ interface UploadFileProps {
20
20
  isSubmitting?: boolean;
21
21
  isUploading?: boolean;
22
22
  isFileUploaded?: boolean;
23
- onFileUploaded: (file: File) => void;
23
+ onFileUploaded: (files: Array<File>) => void;
24
24
  onReset: () => void;
25
25
  initialFileName?: string;
26
+ multiple?: boolean;
26
27
  }
27
- declare const UploadFile: ({ label, required, title, subTitle, dragDescription, uploadingTitle, successTitle, isSubmitting, isUploading, isFileUploaded, error, progress, onFileUploaded, onReset, initialFileName }: UploadFileProps) => JSX.Element;
28
+ declare const UploadFile: ({ label, required, title, subTitle, dragDescription, uploadingTitle, successTitle, isSubmitting, isUploading, isFileUploaded, error, progress, onFileUploaded, onReset, initialFileName, multiple }: UploadFileProps) => JSX.Element;
28
29
  export default UploadFile;
@@ -55,21 +55,21 @@ var ClearIconStyled = styled(ClearIcon)(function (_a) {
55
55
  color: theme.palette.common.white
56
56
  });
57
57
  });
58
- export var InputContainerStyled = styled(Box)(function (_a) {
59
- var theme = _a.theme;
60
- return ({
61
- display: 'flex',
62
- width: '100%',
63
- justifyContent: 'center'
64
- });
65
- });
58
+ export var InputContainerStyled = styled(Box)(function () { return ({
59
+ display: 'flex',
60
+ width: '100%',
61
+ justifyContent: 'center'
62
+ }); });
66
63
  var UploadFile = function (_a) {
67
- var label = _a.label, required = _a.required, title = _a.title, subTitle = _a.subTitle, dragDescription = _a.dragDescription, uploadingTitle = _a.uploadingTitle, successTitle = _a.successTitle, isSubmitting = _a.isSubmitting, isUploading = _a.isUploading, isFileUploaded = _a.isFileUploaded, error = _a.error, progress = _a.progress, onFileUploaded = _a.onFileUploaded, onReset = _a.onReset, initialFileName = _a.initialFileName;
64
+ var label = _a.label, required = _a.required, title = _a.title, subTitle = _a.subTitle, dragDescription = _a.dragDescription, uploadingTitle = _a.uploadingTitle, successTitle = _a.successTitle, isSubmitting = _a.isSubmitting, isUploading = _a.isUploading, isFileUploaded = _a.isFileUploaded, error = _a.error, progress = _a.progress, onFileUploaded = _a.onFileUploaded, onReset = _a.onReset, initialFileName = _a.initialFileName, multiple = _a.multiple;
68
65
  var _b = React.useState(initialFileName || ''), fileName = _b[0], setFileName = _b[1];
69
66
  var _c = React.useState(!!initialFileName), showFile = _c[0], setShowFile = _c[1];
70
- var handleFileChange = function (file) {
71
- setFileName(maskFileName(file === null || file === void 0 ? void 0 : file.name));
72
- onFileUploaded === null || onFileUploaded === void 0 ? void 0 : onFileUploaded(file);
67
+ var handleFileChange = function (files) {
68
+ var _a;
69
+ if ((files === null || files === void 0 ? void 0 : files.length) > 0) {
70
+ setFileName(maskFileName((_a = files === null || files === void 0 ? void 0 : files[0]) === null || _a === void 0 ? void 0 : _a.name));
71
+ onFileUploaded === null || onFileUploaded === void 0 ? void 0 : onFileUploaded(files);
72
+ }
73
73
  };
74
74
  var handleReset = function () {
75
75
  if (!isSubmitting) {
@@ -86,6 +86,6 @@ var UploadFile = function (_a) {
86
86
  else
87
87
  setShowFile(false);
88
88
  }, [isFileUploaded]);
89
- return (_jsxs(FeatureStyled, { children: [_jsxs(LabelContainerStyled, { children: [_jsx(InputLabelStyled, { children: label }), required && _jsx(Mandatory, {})] }), _jsx(Collapse, __assign({ in: !showFile }, { children: _jsx(InputContainerStyled, { children: _jsx(DragAndDrop, { title: title, subTitle: subTitle, description: dragDescription, fileExists: !!fileName, uploadingTitle: uploadingTitle, successTitle: successTitle, progress: progress, uploading: isUploading, uploadSuccess: isFileUploaded, onSuccess: handleFileChange, error: error }) }) })), _jsx(Collapse, __assign({ in: showFile, timeout: 300 }, { children: _jsxs(InputContainerStyled, { children: [_jsxs(BoxStyled, { children: [_jsxs(Box, __assign({ sx: { display: 'flex' } }, { children: [_jsx(Icon, { src: ICONS_NAMES.DOC_ICON }), _jsx(Text, { children: fileName })] })), _jsx(Box, { children: _jsx(CheckIcon, {}) })] }), _jsx(UploadBoxStyled, __assign({ onClick: handleReset }, { children: _jsx(ClearIconStyled, {}) }))] }) }))] }));
89
+ return (_jsxs(FeatureStyled, { children: [_jsxs(LabelContainerStyled, { children: [_jsx(InputLabelStyled, { children: label }), required && _jsx(Mandatory, {})] }), _jsx(Collapse, __assign({ in: !showFile }, { children: _jsx(InputContainerStyled, { children: _jsx(DragAndDrop, { title: title, subTitle: subTitle, description: dragDescription, fileExists: !!fileName, uploadingTitle: uploadingTitle, successTitle: successTitle, progress: progress, uploading: isUploading, uploadSuccess: isFileUploaded, onSuccess: handleFileChange, error: error, multiple: multiple }) }) })), _jsx(Collapse, __assign({ in: showFile, timeout: 300 }, { children: _jsxs(InputContainerStyled, { children: [_jsxs(BoxStyled, { children: [_jsxs(Box, __assign({ sx: { display: 'flex' } }, { children: [_jsx(Icon, { src: ICONS_NAMES.DOC_ICON }), _jsx(Text, { children: fileName })] })), _jsx(Box, { children: _jsx(CheckIcon, {}) })] }), _jsx(UploadBoxStyled, __assign({ onClick: handleReset }, { children: _jsx(ClearIconStyled, {}) }))] }) }))] }));
90
90
  };
91
91
  export default UploadFile;
@@ -12,3 +12,4 @@ export * from './useWindowSize';
12
12
  export * from './useStepStartedListener';
13
13
  export * from './useScreen';
14
14
  export * from './useSetFromDefaultValues';
15
+ export * from './useCountUp';
@@ -12,3 +12,4 @@ export * from './useWindowSize';
12
12
  export * from './useStepStartedListener';
13
13
  export * from './useScreen';
14
14
  export * from './useSetFromDefaultValues';
15
+ export * from './useCountUp';
@@ -0,0 +1,9 @@
1
+ interface CountUpOptions {
2
+ end: number;
3
+ start?: number;
4
+ sleepMS?: number;
5
+ }
6
+ export declare const useCountUp: ({ end, start, sleepMS }: CountUpOptions) => {
7
+ count: number;
8
+ };
9
+ export {};
@@ -0,0 +1,17 @@
1
+ import { useEffect, useState } from 'react';
2
+ export var useCountUp = function (_a) {
3
+ var end = _a.end, _b = _a.start, start = _b === void 0 ? 0 : _b, _c = _a.sleepMS, sleepMS = _c === void 0 ? 0 : _c;
4
+ var _d = useState(start), count = _d[0], setCount = _d[1];
5
+ var increment = function () {
6
+ setCount(count + 1);
7
+ };
8
+ useEffect(function () {
9
+ if (count >= end)
10
+ return;
11
+ var timer = setTimeout(function () {
12
+ increment();
13
+ }, sleepMS);
14
+ return function () { return clearTimeout(timer); };
15
+ }, [count]);
16
+ return { count: count };
17
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.1.9-test",
3
+ "version": "2.1.11-test",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",
@@ -1,236 +0,0 @@
1
- {
2
- "v": "5.7.6",
3
- "fr": 60,
4
- "ip": 0,
5
- "op": 148,
6
- "w": 530,
7
- "h": 530,
8
- "nm": "Searching",
9
- "ddd": 0,
10
- "assets": [],
11
- "layers": [
12
- {
13
- "ddd": 0,
14
- "ind": 1,
15
- "ty": 4,
16
- "nm": "line 2",
17
- "sr": 1,
18
- "ks": {
19
- "o": {
20
- "a": 1,
21
- "k": [
22
- { "i": { "x": [0.667], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 30, "s": [100] },
23
- { "i": { "x": [0.667], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 97.184, "s": [100] },
24
- { "t": 169, "s": [0] }
25
- ],
26
- "ix": 11
27
- },
28
- "r": { "a": 0, "k": 0, "ix": 10 },
29
- "p": { "a": 0, "k": [264.5, 263.5, 0], "ix": 2, "l": 2 },
30
- "a": { "a": 0, "k": [0.5, -100, 0], "ix": 1, "l": 2 },
31
- "s": {
32
- "a": 1,
33
- "k": [
34
- {
35
- "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] },
36
- "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] },
37
- "t": 30,
38
- "s": [30, 30, 100]
39
- },
40
- { "t": 169, "s": [240, 240, 100] }
41
- ],
42
- "ix": 6,
43
- "l": 2
44
- }
45
- },
46
- "ao": 0,
47
- "shapes": [
48
- {
49
- "ty": "gr",
50
- "it": [
51
- {
52
- "ind": 0,
53
- "ty": "sh",
54
- "ix": 1,
55
- "ks": {
56
- "a": 0,
57
- "k": {
58
- "i": [
59
- [60.564, 0],
60
- [0, -60.564],
61
- [-60.564, 0],
62
- [0, 60.564]
63
- ],
64
- "o": [
65
- [-60.564, 0],
66
- [0, 60.564],
67
- [60.564, 0],
68
- [0, -60.564]
69
- ],
70
- "v": [
71
- [0, -109.66],
72
- [-109.66, 0],
73
- [0, 109.66],
74
- [109.66, 0]
75
- ],
76
- "c": true
77
- },
78
- "ix": 2
79
- },
80
- "nm": "Path 1",
81
- "mn": "ADBE Vector Shape - Group",
82
- "hd": false
83
- },
84
- {
85
- "ty": "st",
86
- "c": { "a": 0, "k": [0.901960784314, 0.905882352941, 0.905882352941, 1], "ix": 3 },
87
- "o": { "a": 0, "k": 100, "ix": 4 },
88
- "w": { "a": 0, "k": 1, "ix": 5 },
89
- "lc": 1,
90
- "lj": 1,
91
- "ml": 4,
92
- "bm": 0,
93
- "nm": "Stroke 1",
94
- "mn": "ADBE Vector Graphic - Stroke",
95
- "hd": false
96
- },
97
- {
98
- "ty": "tr",
99
- "p": { "a": 0, "k": [0.5, -100], "ix": 2 },
100
- "a": { "a": 0, "k": [0, 0], "ix": 1 },
101
- "s": { "a": 0, "k": [100, 100], "ix": 3 },
102
- "r": { "a": 0, "k": 0, "ix": 6 },
103
- "o": { "a": 0, "k": 100, "ix": 7 },
104
- "sk": { "a": 0, "k": 0, "ix": 4 },
105
- "sa": { "a": 0, "k": 0, "ix": 5 },
106
- "nm": "Transform"
107
- }
108
- ],
109
- "nm": "Ellipse 1",
110
- "np": 3,
111
- "cix": 2,
112
- "bm": 0,
113
- "ix": 1,
114
- "mn": "ADBE Vector Group",
115
- "hd": false
116
- }
117
- ],
118
- "ip": 30,
119
- "op": 148,
120
- "st": 30,
121
- "bm": 0
122
- },
123
- {
124
- "ddd": 0,
125
- "ind": 2,
126
- "ty": 4,
127
- "nm": "line",
128
- "sr": 1,
129
- "ks": {
130
- "o": {
131
- "a": 1,
132
- "k": [
133
- { "i": { "x": [0.667], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 0, "s": [100] },
134
- { "i": { "x": [0.667], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 67.184, "s": [100] },
135
- { "t": 139, "s": [0] }
136
- ],
137
- "ix": 11
138
- },
139
- "r": { "a": 0, "k": 0, "ix": 10 },
140
- "p": { "a": 0, "k": [264.5, 263.5, 0], "ix": 2, "l": 2 },
141
- "a": { "a": 0, "k": [0.5, -100, 0], "ix": 1, "l": 2 },
142
- "s": {
143
- "a": 1,
144
- "k": [
145
- {
146
- "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] },
147
- "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] },
148
- "t": 0,
149
- "s": [30, 30, 100]
150
- },
151
- { "t": 139, "s": [240, 240, 100] }
152
- ],
153
- "ix": 6,
154
- "l": 2
155
- }
156
- },
157
- "ao": 0,
158
- "shapes": [
159
- {
160
- "ty": "gr",
161
- "it": [
162
- {
163
- "ind": 0,
164
- "ty": "sh",
165
- "ix": 1,
166
- "ks": {
167
- "a": 0,
168
- "k": {
169
- "i": [
170
- [60.564, 0],
171
- [0, -60.564],
172
- [-60.564, 0],
173
- [0, 60.564]
174
- ],
175
- "o": [
176
- [-60.564, 0],
177
- [0, 60.564],
178
- [60.564, 0],
179
- [0, -60.564]
180
- ],
181
- "v": [
182
- [0, -109.66],
183
- [-109.66, 0],
184
- [0, 109.66],
185
- [109.66, 0]
186
- ],
187
- "c": true
188
- },
189
- "ix": 2
190
- },
191
- "nm": "Path 1",
192
- "mn": "ADBE Vector Shape - Group",
193
- "hd": false
194
- },
195
- {
196
- "ty": "st",
197
- "c": { "a": 0, "k": [0.901960784314, 0.905882352941, 0.905882352941, 1], "ix": 3 },
198
- "o": { "a": 0, "k": 100, "ix": 4 },
199
- "w": { "a": 0, "k": 1, "ix": 5 },
200
- "lc": 1,
201
- "lj": 1,
202
- "ml": 4,
203
- "bm": 0,
204
- "nm": "Stroke 1",
205
- "mn": "ADBE Vector Graphic - Stroke",
206
- "hd": false
207
- },
208
- {
209
- "ty": "tr",
210
- "p": { "a": 0, "k": [0.5, -100], "ix": 2 },
211
- "a": { "a": 0, "k": [0, 0], "ix": 1 },
212
- "s": { "a": 0, "k": [100, 100], "ix": 3 },
213
- "r": { "a": 0, "k": 0, "ix": 6 },
214
- "o": { "a": 0, "k": 100, "ix": 7 },
215
- "sk": { "a": 0, "k": 0, "ix": 4 },
216
- "sa": { "a": 0, "k": 0, "ix": 5 },
217
- "nm": "Transform"
218
- }
219
- ],
220
- "nm": "Ellipse 1",
221
- "np": 3,
222
- "cix": 2,
223
- "bm": 0,
224
- "ix": 1,
225
- "mn": "ADBE Vector Group",
226
- "hd": false
227
- }
228
- ],
229
- "ip": 0,
230
- "op": 148,
231
- "st": 0,
232
- "bm": 0
233
- }
234
- ],
235
- "markers": []
236
- }
@@ -1,23 +0,0 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { memo } from 'react';
3
- import { styled } from '@mui/material/styles';
4
- import LottieFile, { LottieAnimationFiles } from '../../../../components/Lottie';
5
- import { ICONS_NAMES } from '../../../../constants';
6
- import Icon from '../../../../components/Icon';
7
- var IconStyled = styled(Icon)(function (_a) {
8
- var theme = _a.theme;
9
- return ({
10
- position: 'absolute',
11
- top: '50%',
12
- left: '50%',
13
- transform: 'translate(-50%, -50%)',
14
- width: 64,
15
- height: 64
16
- });
17
- });
18
- var VerifyPACILoading = function (_a) {
19
- var _b = _a.loop, loop = _b === void 0 ? true : _b;
20
- return (_jsxs(_Fragment, { children: [_jsx(LottieFile, { file: LottieAnimationFiles.pulsating_circle_waves, loop: loop, width: '90%' }), _jsx(IconStyled, { src: ICONS_NAMES.PACI_VERIFY_ICON })] }));
21
- };
22
- VerifyPACILoading.defaultProps = {};
23
- export default memo(VerifyPACILoading);
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- interface SocialMediaProps {
3
- show: boolean;
4
- activeIconId: string;
5
- onSaleIconChange: (id: string) => void;
6
- }
7
- declare const _default: React.MemoExoticComponent<({ show, activeIconId, onSaleIconChange }: SocialMediaProps) => JSX.Element>;
8
- export default _default;