@tap-payments/auth-jsconnect 2.0.48 → 2.0.49

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 (172) hide show
  1. package/build/@types/app.d.ts +8 -6
  2. package/build/@types/form.d.ts +23 -22
  3. package/build/@types/theme.d.ts +1 -1
  4. package/build/api/account.d.ts +2 -2
  5. package/build/api/auth.d.ts +11 -11
  6. package/build/api/availabilityServices.d.ts +3 -3
  7. package/build/api/axios.js +1 -1
  8. package/build/api/board.d.ts +3 -3
  9. package/build/api/country.d.ts +1 -1
  10. package/build/api/data.d.ts +10 -10
  11. package/build/api/document.d.ts +25 -0
  12. package/build/api/document.js +38 -0
  13. package/build/api/entity.d.ts +10 -20
  14. package/build/api/entity.js +6 -5
  15. package/build/api/file.d.ts +2 -1
  16. package/build/api/file.js +14 -1
  17. package/build/api/index.d.ts +10 -3
  18. package/build/api/index.js +3 -1
  19. package/build/api/individual.d.ts +8 -8
  20. package/build/api/lead.d.ts +10 -10
  21. package/build/api/operator.d.ts +1 -1
  22. package/build/api/operator.js +1 -1
  23. package/build/api/user.d.ts +2 -2
  24. package/build/app/settings.d.ts +11 -2
  25. package/build/app/settings.js +1 -1
  26. package/build/app/store.d.ts +4 -4
  27. package/build/assets/locales/ar.json +3 -1
  28. package/build/assets/locales/en.json +3 -1
  29. package/build/components/Lottie/Lottie.d.ts +1 -2
  30. package/build/components/Lottie/Lottie.js +1 -1
  31. package/build/components/Lottie/index.d.ts +2 -2
  32. package/build/components/Lottie/index.js +2 -2
  33. package/build/components/Slide/Slide.d.ts +1 -1
  34. package/build/constants/app.d.ts +31 -0
  35. package/build/constants/app.js +43 -1
  36. package/build/features/app/bank/bankStore.d.ts +73 -10
  37. package/build/features/app/bank/bankStore.js +29 -15
  38. package/build/features/app/brand/brandStore.d.ts +104 -12
  39. package/build/features/app/brand/brandStore.js +65 -66
  40. package/build/features/app/business/businessStore.d.ts +163 -19
  41. package/build/features/app/business/businessStore.js +3 -3
  42. package/build/features/app/connect/connectStore.d.ts +121 -13
  43. package/build/features/app/connect/connectStore.js +1 -1
  44. package/build/features/app/connectExpress/connectExpressStore.d.ts +181 -19
  45. package/build/features/app/connectExpress/connectExpressStore.js +1 -1
  46. package/build/features/app/entity/entityStore.d.ts +76 -20
  47. package/build/features/app/entity/entityStore.js +67 -93
  48. package/build/features/app/individual/individualStore.d.ts +182 -20
  49. package/build/features/app/individual/individualStore.js +278 -135
  50. package/build/features/app/password/passwordStore.d.ts +102 -12
  51. package/build/features/app/password/passwordStore.js +1 -1
  52. package/build/features/app/signIn/signInStore.d.ts +61 -7
  53. package/build/features/app/signIn/signInStore.js +1 -1
  54. package/build/features/app/tax/taxStore.d.ts +62 -8
  55. package/build/features/app/tax/taxStore.js +25 -12
  56. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +1 -1
  57. package/build/features/bank/screens/BankDetails/BankStatement.js +4 -3
  58. package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
  59. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  60. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +13 -13
  61. package/build/features/brand/screens/BrandActivities/ActivitiesList.js +6 -7
  62. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +11 -11
  63. package/build/features/brand/screens/BrandActivities/CustomerBase.js +5 -7
  64. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +5 -7
  65. package/build/features/brand/screens/BrandActivities/OperationStartDate.d.ts +2 -2
  66. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +5 -5
  67. package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
  68. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  69. package/build/features/business/screens/Activities/ActivitiesList.d.ts +13 -13
  70. package/build/features/business/screens/Activities/OperationStartDate.d.ts +2 -2
  71. package/build/features/business/screens/BusinessType/Article.d.ts +1 -1
  72. package/build/features/business/screens/BusinessType/Article.js +1 -1
  73. package/build/features/business/screens/BusinessType/LicenseCertificate.js +2 -1
  74. package/build/features/business/screens/BusinessType/LicenseType.d.ts +5 -5
  75. package/build/features/business/screens/Customers/CustomerLocations.d.ts +11 -11
  76. package/build/features/business/screens/Customers/RefundPolicy.d.ts +5 -5
  77. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  78. package/build/features/connect/screens/Individual/Email.js +1 -1
  79. package/build/features/connect/screens/Merchant/BrandName.js +1 -1
  80. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
  81. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +5 -5
  82. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
  83. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +13 -13
  84. package/build/features/entity/screens/EntityCapital/ActivityList.js +7 -7
  85. package/build/features/entity/screens/EntityCapital/CapitalPaid.js +3 -4
  86. package/build/features/entity/screens/EntityCapital/CapitalShareCount.js +3 -4
  87. package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +3 -4
  88. package/build/features/entity/screens/EntityName/Article.d.ts +1 -1
  89. package/build/features/entity/screens/EntityName/Article.js +16 -53
  90. package/build/features/entity/screens/EntityName/EntityName.js +2 -3
  91. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +13 -13
  92. package/build/features/entity/screens/EntityName/EntityTypeList.js +4 -6
  93. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +2 -2
  94. package/build/features/entity/screens/EntityName/ExpiryDate.js +6 -6
  95. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +2 -2
  96. package/build/features/entity/screens/EntityName/IssuingDate.js +4 -5
  97. package/build/features/entity/screens/EntityName/LegalName.js +2 -4
  98. package/build/features/entity/screens/EntityName/LicenseCertificate.js +4 -3
  99. package/build/features/entity/screens/EntityName/LicenseNumber.js +4 -4
  100. package/build/features/entity/screens/EntityName/UnifiedNumber.js +3 -4
  101. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  102. package/build/features/featuresScreens.js +5 -0
  103. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +2 -2
  104. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.js +4 -3
  105. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +2 -4
  106. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +5 -6
  107. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +5 -6
  108. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +4 -4
  109. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +2 -4
  110. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.js +4 -3
  111. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +5 -6
  112. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +2 -0
  113. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.js +3 -2
  114. package/build/features/individual/screens/IndividualList/Email.d.ts +5 -1
  115. package/build/features/individual/screens/IndividualList/Email.js +73 -8
  116. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +4 -4
  117. package/build/features/individual/screens/IndividualList/UserList.js +36 -19
  118. package/build/features/individual/screens/IndividualList/validation.js +2 -1
  119. package/build/features/individual/screens/IndividualPersonalInfo/Email.js +2 -3
  120. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.js +3 -4
  121. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +5 -5
  122. package/build/features/individual/screens/IndividualPersonalInfo/ID.js +2 -3
  123. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +2 -2
  124. package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.js +6 -7
  125. package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +5 -6
  126. package/build/features/individual/screens/IndividualPersonalInfo/Name.js +2 -3
  127. package/build/features/individual/screens/IndividualPersonalInfo/Nationality.js +6 -7
  128. package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.d.ts +12 -0
  129. package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +143 -0
  130. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +5 -0
  131. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +60 -0
  132. package/build/features/individual/screens/IndividualPhoneInfo/index.d.ts +3 -0
  133. package/build/features/individual/screens/IndividualPhoneInfo/index.js +2 -0
  134. package/build/features/individual/screens/IndividualPhoneInfo/validation.d.ts +8 -0
  135. package/build/features/individual/screens/IndividualPhoneInfo/validation.js +31 -0
  136. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  137. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  138. package/build/features/shared/Address/CountryList.d.ts +9 -9
  139. package/build/features/shared/Address/InputSelect.d.ts +9 -9
  140. package/build/features/shared/Address/InputSelect.js +1 -1
  141. package/build/features/shared/Button/Button.js +1 -1
  142. package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
  143. package/build/features/shared/Button/FlowsButtons.d.ts +1 -1
  144. package/build/features/shared/Button/FlowsButtons.js +1 -1
  145. package/build/features/shared/Button/{ListButton.d.ts → IndividualActionButtons.d.ts} +5 -4
  146. package/build/features/shared/Button/IndividualActionButtons.js +132 -0
  147. package/build/features/shared/Button/index.d.ts +1 -1
  148. package/build/features/shared/Button/index.js +1 -1
  149. package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
  150. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  151. package/build/features/shared/Input/Input.d.ts +3 -3
  152. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +11 -1
  153. package/build/features/shared/UploadFile/FileUpload.d.ts +29 -0
  154. package/build/features/shared/UploadFile/FileUpload.js +263 -0
  155. package/build/features/shared/UploadFile/UploadFile.d.ts +2 -2
  156. package/build/features/shared/UploadFile/UploadWrapper.d.ts +33 -0
  157. package/build/features/shared/UploadFile/UploadWrapper.js +114 -0
  158. package/build/features/shared/UploadFile/index.d.ts +2 -1
  159. package/build/features/shared/UploadFile/index.js +2 -1
  160. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +9 -20
  161. package/build/features/shared/UploadMultipleFile/UploadFile.js +109 -24
  162. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +6 -4
  163. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.js +26 -19
  164. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +1 -1
  165. package/build/features/tax/screens/TaxDetails/TaxDocument.js +4 -3
  166. package/build/features/tax/screens/TaxDetails/VATId.js +3 -4
  167. package/build/index.d.ts +2 -2
  168. package/build/index.js +4 -3
  169. package/build/utils/array.d.ts +3 -1
  170. package/build/utils/array.js +35 -6
  171. package/package.json +1 -1
  172. package/build/features/shared/Button/ListButton.js +0 -125
@@ -14,21 +14,20 @@ import * as React from 'react';
14
14
  import { useTranslation } from 'react-i18next';
15
15
  import { useController, useFormContext } from 'react-hook-form';
16
16
  import { useAppSelector } from '../../../../hooks';
17
- import { FieldType } from '../../../../@types';
18
17
  import { removeAllOtherThanCharsAndNumber } from '../../../../utils';
19
18
  import Collapse from '../../../../components/Collapse';
20
19
  import { ScreenContainer } from '../../../shared/Containers';
21
20
  import Input from '../../../shared/Input';
22
21
  import { entitySelector } from '../../../app/entity/entityStore';
23
22
  var UnifiedNumber = function (_a) {
24
- var _b, _c, _d, _e, _f;
23
+ var _b, _c, _d;
25
24
  var show = _a.show;
26
25
  var t = useTranslation().t;
27
26
  var data = useAppSelector(entitySelector).data;
28
27
  var control = useFormContext().control;
29
28
  var entity = (data.verify.responseBody || {}).entity;
30
29
  var number = (_c = (_b = entity === null || entity === void 0 ? void 0 : entity.license) === null || _b === void 0 ? void 0 : _b.additional_info) === null || _c === void 0 ? void 0 : _c.unified_number;
31
- var disabled = ((_e = (_d = entity === null || entity === void 0 ? void 0 : entity.data_status) === null || _d === void 0 ? void 0 : _d.license) === null || _e === void 0 ? void 0 : _e.additional_info) === FieldType.NON_EDITABLE;
30
+ var disabled = false;
32
31
  var hide = !number && disabled;
33
32
  var handleChange = function (_a) {
34
33
  var target = _a.target;
@@ -37,7 +36,7 @@ var UnifiedNumber = function (_a) {
37
36
  };
38
37
  var unifiedNumberControl = useController({ control: control, name: 'unifiedNumber' });
39
38
  var unifiedNumberValue = unifiedNumberControl.field.value;
40
- var error = (_f = unifiedNumberControl.fieldState.error) === null || _f === void 0 ? void 0 : _f.message;
39
+ var error = (_d = unifiedNumberControl.fieldState.error) === null || _d === void 0 ? void 0 : _d.message;
41
40
  return (_jsx(Collapse, __assign({ in: show && !hide }, { children: _jsx(ScreenContainer, __assign({ sx: { mt: 2.5 } }, { children: _jsx(Input, { label: t('unified_number_label'), onChange: handleChange, disabled: disabled, value: unifiedNumberValue, sx: { '& .MuiInputBase-input': { cursor: 'auto' } }, placeholder: t('unified_number_hint'), warningType: 'alert', warningMessage: error && t(error) }) })) })));
42
41
  };
43
42
  export default React.memo(UnifiedNumber);
@@ -9,7 +9,7 @@ var ResetPasswordSuccess = function (_a) {
9
9
  var _b, _c;
10
10
  var t = useTranslation().t;
11
11
  var data = useAppSelector(entitySelector).data;
12
- var email = ((_c = (_b = data.verify.responseBody) === null || _b === void 0 ? void 0 : _b.business) === null || _c === void 0 ? void 0 : _c.primary_contact).email;
12
+ var email = (((_c = (_b = data.verify.responseBody) === null || _b === void 0 ? void 0 : _b.business) === null || _c === void 0 ? void 0 : _c.primary_contact) || {}).email;
13
13
  var maskedEmail = maskEmail(email);
14
14
  return (_jsx(SuccessScreen, { title: t("reset_password_success_title"), description: _jsx(Trans, { i18nKey: 'reset_password_success_description_dev', values: { email: maskedEmail } }), showEmailProviders: true }));
15
15
  };
@@ -38,6 +38,7 @@ import SuccessPasswordPage from './password/screens/Success';
38
38
  import PasswordSuccessWithFlowPage from './password/screens/SuccessWithFlowButtons';
39
39
  import PasswordResetPasswordSuccessPage from './password/screens/ResetPasswordSuccess';
40
40
  import IndividualVerifyPage from './individual/screens/Verify';
41
+ import IndividualPhoneInfoPage from './individual/screens/IndividualPhoneInfo';
41
42
  import IndividualListPage from './individual/screens/IndividualList';
42
43
  import IndividualPersonalInfo from './individual/screens/IndividualPersonalInfo';
43
44
  import AdditionalIndividualInfoPage from './individual/screens/AdditionalIndividualInfo';
@@ -232,6 +233,10 @@ export var individualFeatureScreens = [
232
233
  name: 'INDIVIDUAL_VERIFY_STEP',
233
234
  element: IndividualVerifyPage
234
235
  },
236
+ {
237
+ name: 'INDIVIDUAL_PHONE_INFO_STEP',
238
+ element: IndividualPhoneInfoPage
239
+ },
235
240
  {
236
241
  name: 'INDIVIDUAL_LOADING_DATA_STEP',
237
242
  element: IndividualDataLoadingPage
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  export declare const RoleTextStyled: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material/styles").Theme> & {
3
- align?: "right" | "left" | "inherit" | "center" | "justify" | undefined;
3
+ align?: "right" | "left" | "center" | "inherit" | "justify" | undefined;
4
4
  children?: React.ReactNode;
5
5
  classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
6
6
  gutterBottom?: boolean | undefined;
@@ -11,7 +11,7 @@ export declare const RoleTextStyled: import("@emotion/styled").StyledComponent<i
11
11
  variantMapping?: Partial<Record<"button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "inherit" | "overline" | "subtitle1" | "subtitle2" | "body1" | "body2", string>> | undefined;
12
12
  } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof React.HTMLAttributes<HTMLSpanElement>> & {
13
13
  ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
14
- }, keyof import("@mui/material/OverridableComponent").CommonProps | ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "children" | "sx" | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
14
+ }, ("border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "color" | "zIndex" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "typography" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "lineHeight" | "textAlign" | "textTransform") | "children" | "sx" | keyof import("@mui/material/OverridableComponent").CommonProps | "variant" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
15
15
  export interface AdditionalIndividualInfoProps {
16
16
  }
17
17
  declare const _default: React.MemoExoticComponent<{
@@ -6,7 +6,8 @@ import { useTranslation } from 'react-i18next';
6
6
  import { useController, useFormContext } from 'react-hook-form';
7
7
  import { useAppDispatch, useAppSelector } from '../../../../hooks';
8
8
  import { DocumentPurpose } from '../../../../@types';
9
- import { getRecentDocumentFiles } from '../../../../utils';
9
+ import { FileType } from '../../../../constants';
10
+ import { getFileDetailsFromDocument } from '../../../../utils';
10
11
  import { civilIDUploadingStatus, individualSelector } from '../../../app/individual/individualStore';
11
12
  import UploadMultipleFile from '../../../shared/UploadMultipleFile';
12
13
  var FeatureStyled = styled(ScreenContainer)(function (_a) {
@@ -29,7 +30,7 @@ var CivilIDFile = function () {
29
30
  var handleReset = function (ids) {
30
31
  civilIDFileIdControl.field.onChange(ids);
31
32
  };
32
- var defaultFiles = React.useMemo(function () { return getRecentDocumentFiles(documents, DocumentPurpose.IDENTITY_DOCUMENT); }, [documents]);
33
- return (_jsx(FeatureStyled, { children: _jsx(UploadMultipleFile, { id: 'civilID', control: control, label: t('title_civil_id'), title: t('drag_and_drop'), subTitle: t('subtitle_drop'), dragDescription: t('desc_drag_and_drop_civilID'), uploadingTitle: t('file_uploading_title'), successTitle: t('success_upload_civil_id'), onFileUploaded: handleCivilIDChange, isSubmitting: loading, onDeleteFile: handleReset, maxLimit: 4, defaultFiles: defaultFiles, purpose: DocumentPurpose.IDENTITY_DOCUMENT, fileUploadingStatus: function (uploading) { return dispatch(civilIDUploadingStatus(uploading)); } }) }));
33
+ var defaultFiles = React.useMemo(function () { return getFileDetailsFromDocument(documents, DocumentPurpose.IDENTITY_DOCUMENT); }, [documents]);
34
+ return (_jsx(FeatureStyled, { children: _jsx(UploadMultipleFile, { id: 'civilID', control: control, label: t('title_civil_id'), title: t('drag_and_drop'), subTitle: t('subtitle_drop'), dragDescription: t('desc_drag_and_drop_civilID'), uploadingTitle: t('file_uploading_title'), successTitle: t('success_upload_civil_id'), onFileUploaded: handleCivilIDChange, isSubmitting: loading, onDeleteFile: handleReset, maxLimit: 4, defaultFiles: defaultFiles, purpose: DocumentPurpose.IDENTITY_DOCUMENT, fileUploadingStatus: function (uploading) { return dispatch(civilIDUploadingStatus(uploading)); }, fileType: FileType.IMAGES }) }));
34
35
  };
35
36
  export default CivilIDFile;
@@ -16,7 +16,6 @@ import { useFormContext, useController } from 'react-hook-form';
16
16
  import { ScreenContainer } from '../../../shared/Containers';
17
17
  import Collapse from '../../../../components/Collapse';
18
18
  import { useAppSelector } from '../../../../hooks';
19
- import { FieldType } from '../../../../@types';
20
19
  import { styled, alpha } from '@mui/material/styles';
21
20
  import Mandatory from '../../../shared/Mandatory';
22
21
  import Text from '../../../../components/Text';
@@ -37,15 +36,14 @@ var RadioGroupStyled = styled(RadioGroup)(function (_a) {
37
36
  });
38
37
  });
39
38
  var InfluencerSwitch = function (_a) {
40
- var _b;
41
39
  var show = _a.show;
42
- var _c = React.useState(false), isHovered = _c[0], setIsHovered = _c[1];
40
+ var _b = React.useState(false), isHovered = _b[0], setIsHovered = _b[1];
43
41
  var control = useFormContext().control;
44
42
  var t = useTranslation().t;
45
43
  var influencerControl = useController({ name: 'isInfluencer', control: control });
46
44
  var data = useAppSelector(individualSelector).data;
47
45
  var user = (data.verify.responseBody || {}).user;
48
- var disabled = ((_b = user === null || user === void 0 ? void 0 : user.data_status) === null || _b === void 0 ? void 0 : _b.is_influencer) === FieldType.NON_EDITABLE;
46
+ var disabled = false;
49
47
  var handleOnChange = function (_a) {
50
48
  var target = _a.target;
51
49
  influencerControl.field.onChange(target.value === 'yes');
@@ -31,7 +31,6 @@ import Input from '../../../shared/Input';
31
31
  import CheckIcon from '../../../shared/CheckIcon';
32
32
  import Collapse from '../../../../components/Collapse';
33
33
  import { useAppSelector, useLanguage } from '../../../../hooks';
34
- import { FieldType } from '../../../../@types';
35
34
  import { individualSelector } from '../../../app/individual/individualStore';
36
35
  import Text from '../../../../components/Text';
37
36
  import ExpandIcon from '../../../../components/ExpandIcon';
@@ -54,10 +53,10 @@ var CheckIconStyled = styled(CheckIcon)(function (_a) {
54
53
  });
55
54
  });
56
55
  var MonthlyIncome = function (_a) {
57
- var _b, _c;
56
+ var _b;
58
57
  var rest = __rest(_a, []);
59
- var _d = React.useState([]), incomeList = _d[0], setIncomeList = _d[1];
60
- var _e = React.useState(null), anchorEl = _e[0], setAnchorEl = _e[1];
58
+ var _c = React.useState([]), incomeList = _c[0], setIncomeList = _c[1];
59
+ var _d = React.useState(null), anchorEl = _d[0], setAnchorEl = _d[1];
61
60
  var t = useTranslation().t;
62
61
  var isAr = useLanguage().isAr;
63
62
  var data = useAppSelector(individualSelector).data;
@@ -67,7 +66,7 @@ var MonthlyIncome = function (_a) {
67
66
  var monthlyIncomeControl = useController({ control: control, name: 'monthlyIncome' });
68
67
  var countryCode = settingsData.businessCountry;
69
68
  var user = (data.verify.responseBody || {}).user;
70
- var disabled = ((_b = user === null || user === void 0 ? void 0 : user.data_status) === null || _b === void 0 ? void 0 : _b.monthly_income) === FieldType.NON_EDITABLE;
69
+ var disabled = false;
71
70
  React.useEffect(function () {
72
71
  if ((monthlyIncomeList === null || monthlyIncomeList === void 0 ? void 0 : monthlyIncomeList.length) > 0) {
73
72
  setIncomeList(monthlyIncomeList);
@@ -91,7 +90,7 @@ var MonthlyIncome = function (_a) {
91
90
  monthlyIncomeControl.field.onChange(source);
92
91
  };
93
92
  var income = monthlyIncomeControl.field.value;
94
- var error = (_c = monthlyIncomeControl.fieldState.error) === null || _c === void 0 ? void 0 : _c.message;
93
+ var error = (_b = monthlyIncomeControl.fieldState.error) === null || _b === void 0 ? void 0 : _b.message;
95
94
  return (_jsx(Collapse, __assign({ in: rest.show }, { children: _jsxs(ScreenContainer, __assign({ sx: { pb: 0 } }, { children: [_jsx(Input, { label: t('please_enter_actual_income', {
96
95
  currency: t(findCurrencyByIso2(countryCode.iso2))
97
96
  }), disabled: disabled, readOnly: true, onClick: disabled ? undefined : !!anchorEl ? function () { return onCloseList(); } : onOpenList, endAdornment: disabled ? _jsx(_Fragment, {}) : _jsx(ExpandIcon, { anchorEl: !!anchorEl }), placeholder: t('choose_any_source_of_income'), value: (isAr ? income === null || income === void 0 ? void 0 : income.range.ar : income === null || income === void 0 ? void 0 : income.range.en) || '', warningMessage: error && t(error) }), _jsx(Collapse, __assign({ in: !!anchorEl }, { children: _jsx(SimpleList, { searchKeyPath: 'range.en', searchValuePath: ['range.en', 'range.ar'], list: incomeList, onSelectItem: onSelectItem, renderItem: function (item) {
@@ -27,7 +27,6 @@ import { styled } from '@mui/material/styles';
27
27
  import { useTranslation } from 'react-i18next';
28
28
  import { useController, useFormContext } from 'react-hook-form';
29
29
  import { useAppSelector, useLanguage } from '../../../../hooks';
30
- import { FieldType } from '../../../../@types';
31
30
  import { individualSelector } from '../../../app/individual/individualStore';
32
31
  import Text from '../../../../components/Text';
33
32
  import Collapse from '../../../../components/Collapse';
@@ -52,10 +51,10 @@ var CheckIconStyled = styled(CheckIcon)(function (_a) {
52
51
  });
53
52
  });
54
53
  var Occupation = function (_a) {
55
- var _b, _c, _d;
54
+ var _b, _c;
56
55
  var rest = __rest(_a, []);
57
- var _e = React.useState([]), occupationList = _e[0], setOccupationList = _e[1];
58
- var _f = React.useState(null), anchorEl = _f[0], setAnchorEl = _f[1];
56
+ var _d = React.useState([]), occupationList = _d[0], setOccupationList = _d[1];
57
+ var _e = React.useState(null), anchorEl = _e[0], setAnchorEl = _e[1];
59
58
  var t = useTranslation().t;
60
59
  var isAr = useLanguage().isAr;
61
60
  var data = useAppSelector(individualSelector).data;
@@ -63,7 +62,7 @@ var Occupation = function (_a) {
63
62
  var occupationsList = ((_b = data.individualData.responseBody) === null || _b === void 0 ? void 0 : _b.occupationList) || [];
64
63
  var occupationControl = useController({ control: control, name: 'occupation' });
65
64
  var user = (data.verify.responseBody || {}).user;
66
- var disabled = ((_c = user === null || user === void 0 ? void 0 : user.data_status) === null || _c === void 0 ? void 0 : _c.occupation) === FieldType.NON_EDITABLE;
65
+ var disabled = false;
67
66
  React.useEffect(function () {
68
67
  if ((occupationsList === null || occupationsList === void 0 ? void 0 : occupationsList.length) > 0) {
69
68
  setOccupationList(occupationsList);
@@ -84,7 +83,7 @@ var Occupation = function (_a) {
84
83
  occupationControl.field.onChange(occupation);
85
84
  };
86
85
  var occupation = occupationControl.field.value;
87
- var error = (_d = occupationControl.fieldState.error) === null || _d === void 0 ? void 0 : _d.message;
86
+ var error = (_c = occupationControl.fieldState.error) === null || _c === void 0 ? void 0 : _c.message;
88
87
  return (_jsx(Collapse, __assign({ in: rest.show }, { children: _jsxs(ScreenContainer, __assign({ sx: { pb: 2.5 } }, { children: [_jsx(Input, { required: true, disabled: disabled, label: t('occupation_title'), readOnly: true, onClick: disabled ? undefined : !!anchorEl ? function () { return onCloseList(); } : onOpenList, endAdornment: disabled ? _jsx(_Fragment, {}) : _jsx(ExpandIcon, { anchorEl: !!anchorEl }), placeholder: t('choose_any_occupation'), value: (isAr ? occupation === null || occupation === void 0 ? void 0 : occupation.name.ar : occupation === null || occupation === void 0 ? void 0 : occupation.name.en) || '', warningMessage: error && t(error) }), _jsx(Collapse, __assign({ in: !!anchorEl }, { children: _jsx(SimpleList, { searchKeyPath: 'name.en', searchValuePath: ['name.en', 'name.ar'], list: occupationList, onSelectItem: onSelectItem, renderItem: function (item) {
89
88
  var _a, _b;
90
89
  return (_jsxs(_Fragment, { children: [_jsx(Container, { children: _jsx(IncomeText, __assign({ isSelected: item.id === (occupation === null || occupation === void 0 ? void 0 : occupation.id) }, { children: isAr ? (_a = item === null || item === void 0 ? void 0 : item.name) === null || _a === void 0 ? void 0 : _a.ar : (_b = item === null || item === void 0 ? void 0 : item.name) === null || _b === void 0 ? void 0 : _b.en })) }), item.id === (occupation === null || occupation === void 0 ? void 0 : occupation.id) && _jsx(CheckIconStyled, {})] }));
@@ -10,9 +10,9 @@ export declare const InfoIconStyled: import("@emotion/styled").StyledComponent<{
10
10
  sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
11
11
  titleAccess?: string | undefined;
12
12
  viewBox?: string | undefined;
13
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.SVGProps<SVGSVGElement>, "string" | "name" | "type" | "version" | "className" | "style" | "display" | "overflow" | "visibility" | "order" | "color" | "width" | "height" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "clipPath" | "cursor" | "direction" | "filter" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "imageRendering" | "opacity" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "wordSpacing" | "writingMode" | "mask" | "offset" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "path" | "key" | "id" | "lang" | "tabIndex" | "role" | "children" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "end" | "values" | "local" | "x" | "y" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "origin" | "method" | "spacing" | "elevation" | "in" | "max" | "href" | "orientation" | "media" | "target" | "min" | "viewBox" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
13
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.SVGProps<SVGSVGElement>, "string" | "name" | "type" | "version" | "display" | "overflow" | "visibility" | "order" | "color" | "width" | "height" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "clipPath" | "cursor" | "direction" | "filter" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "imageRendering" | "opacity" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "wordSpacing" | "writingMode" | "mask" | "offset" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "style" | "path" | "key" | "className" | "id" | "lang" | "tabIndex" | "role" | "children" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "end" | "values" | "local" | "x" | "y" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "origin" | "method" | "spacing" | "elevation" | "in" | "max" | "href" | "orientation" | "media" | "target" | "min" | "viewBox" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
14
14
  ref?: ((instance: SVGSVGElement | null) => void) | React.RefObject<SVGSVGElement> | null | undefined;
15
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "fontSize" | "shapeRendering" | "children" | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
15
+ }, "color" | "fontSize" | "shapeRendering" | "children" | "sx" | keyof import("@mui/material/OverridableComponent").CommonProps | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
16
16
  export declare const InfoOutlinedIconStyled: import("@emotion/styled").StyledComponent<{
17
17
  children?: React.ReactNode;
18
18
  classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
@@ -24,9 +24,9 @@ export declare const InfoOutlinedIconStyled: import("@emotion/styled").StyledCom
24
24
  sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
25
25
  titleAccess?: string | undefined;
26
26
  viewBox?: string | undefined;
27
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.SVGProps<SVGSVGElement>, "string" | "name" | "type" | "version" | "className" | "style" | "display" | "overflow" | "visibility" | "order" | "color" | "width" | "height" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "clipPath" | "cursor" | "direction" | "filter" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "imageRendering" | "opacity" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "wordSpacing" | "writingMode" | "mask" | "offset" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "path" | "key" | "id" | "lang" | "tabIndex" | "role" | "children" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "end" | "values" | "local" | "x" | "y" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "origin" | "method" | "spacing" | "elevation" | "in" | "max" | "href" | "orientation" | "media" | "target" | "min" | "viewBox" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
27
+ } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.SVGProps<SVGSVGElement>, "string" | "name" | "type" | "version" | "display" | "overflow" | "visibility" | "order" | "color" | "width" | "height" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "clipPath" | "cursor" | "direction" | "filter" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "imageRendering" | "opacity" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "wordSpacing" | "writingMode" | "mask" | "offset" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "style" | "path" | "key" | "className" | "id" | "lang" | "tabIndex" | "role" | "children" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "end" | "values" | "local" | "x" | "y" | "alphabetic" | "hanging" | "ideographic" | "mathematical" | "origin" | "method" | "spacing" | "elevation" | "in" | "max" | "href" | "orientation" | "media" | "target" | "min" | "viewBox" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "horizAdvX" | "horizOriginX" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mode" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "yChannelSelector" | "z" | "zoomAndPan"> & {
28
28
  ref?: ((instance: SVGSVGElement | null) => void) | React.RefObject<SVGSVGElement> | null | undefined;
29
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "color" | "fontSize" | "shapeRendering" | "children" | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
29
+ }, "color" | "fontSize" | "shapeRendering" | "children" | "sx" | keyof import("@mui/material/OverridableComponent").CommonProps | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
30
30
  export interface PEPSwitchProps {
31
31
  show: boolean;
32
32
  }
@@ -19,7 +19,6 @@ import Collapse from '../../../../components/Collapse';
19
19
  import Mandatory from '../../../shared/Mandatory';
20
20
  import Text from '../../../../components/Text';
21
21
  import { useAppSelector } from '../../../../hooks';
22
- import { FieldType } from '../../../../@types';
23
22
  import RadioGroup from '../../../../components/RadioGroup';
24
23
  import RadioLabel from '../../../../components/RadioLabel';
25
24
  import Tooltip from '../../../../components/Tooltip';
@@ -56,15 +55,14 @@ export var InfoOutlinedIconStyled = styled(InfoOutlinedIcon)(function (_a) {
56
55
  });
57
56
  });
58
57
  var PEPSwitch = function (_a) {
59
- var _b;
60
58
  var show = _a.show;
61
- var _c = React.useState(false), isHovered = _c[0], setIsHovered = _c[1];
59
+ var _b = React.useState(false), isHovered = _b[0], setIsHovered = _b[1];
62
60
  var control = useFormContext().control;
63
61
  var t = useTranslation().t;
64
62
  var pepControl = useController({ name: 'isPEP', control: control });
65
63
  var data = useAppSelector(individualSelector).data;
66
64
  var user = (data.verify.responseBody || {}).user;
67
- var disabled = ((_b = user === null || user === void 0 ? void 0 : user.data_status) === null || _b === void 0 ? void 0 : _b.is_influencer) === FieldType.NON_EDITABLE;
65
+ var disabled = false;
68
66
  var handleOnChange = function (_a) {
69
67
  var target = _a.target;
70
68
  pepControl.field.onChange(target.value === 'yes');
@@ -16,7 +16,8 @@ import { useController, useFormContext } from 'react-hook-form';
16
16
  import { styled } from '@mui/material/styles';
17
17
  import { useAppDispatch, useAppSelector } from '../../../../hooks';
18
18
  import { DocumentPurpose } from '../../../../@types';
19
- import { getRecentDocumentFiles } from '../../../../utils';
19
+ import { FileType } from '../../../../constants';
20
+ import { getFileDetailsFromDocument } from '../../../../utils';
20
21
  import UploadMultipleFile from '../../../shared/UploadMultipleFile';
21
22
  import { ScreenContainer } from '../../../shared/Containers';
22
23
  import { individualSelector, signatureFileUploadingStatus } from '../../../app/individual/individualStore';
@@ -42,7 +43,7 @@ var SignatureFile = function (_a) {
42
43
  var handleReset = function (ids) {
43
44
  signatureFileIdControl.field.onChange(ids);
44
45
  };
45
- var defaultFiles = React.useMemo(function () { return getRecentDocumentFiles(documents, DocumentPurpose.CUSTOMER_SIGNATURE); }, [documents]);
46
- return (_jsx(Collapse, __assign({ in: show }, { children: _jsx(FeatureStyled, { children: _jsx(UploadMultipleFile, { id: 'signatureFileId', control: control, label: t('title_signature_file'), title: t('drag_and_drop'), subTitle: t('subtitle_drop'), dragDescription: t('desc_drag_and_drop_signature'), uploadingTitle: t('file_uploading_title'), successTitle: t('success_upload_signature_file'), onFileUploaded: handleSignatureChange, isSubmitting: loading, onDeleteFile: handleReset, maxLimit: 4, defaultFiles: defaultFiles, purpose: DocumentPurpose.CUSTOMER_SIGNATURE, fileUploadingStatus: function (uploading) { return dispatch(signatureFileUploadingStatus(uploading)); } }) }) })));
46
+ var defaultFiles = React.useMemo(function () { return getFileDetailsFromDocument(documents, DocumentPurpose.CUSTOMER_SIGNATURE); }, [documents]);
47
+ return (_jsx(Collapse, __assign({ in: show }, { children: _jsx(FeatureStyled, { children: _jsx(UploadMultipleFile, { id: 'signatureFileId', control: control, label: t('title_signature_file'), title: t('drag_and_drop'), subTitle: t('subtitle_drop'), dragDescription: t('desc_drag_and_drop_signature'), uploadingTitle: t('file_uploading_title'), successTitle: t('success_upload_signature_file'), onFileUploaded: handleSignatureChange, isSubmitting: loading, onDeleteFile: handleReset, maxLimit: 4, defaultFiles: defaultFiles, purpose: DocumentPurpose.CUSTOMER_SIGNATURE, fileUploadingStatus: function (uploading) { return dispatch(signatureFileUploadingStatus(uploading)); }, fileType: FileType.IMAGES }) }) })));
47
48
  };
48
49
  export default SignatureFile;
@@ -27,7 +27,6 @@ import { styled } from '@mui/material/styles';
27
27
  import { useTranslation } from 'react-i18next';
28
28
  import { useController, useFormContext } from 'react-hook-form';
29
29
  import { useAppSelector, useLanguage } from '../../../../hooks';
30
- import { FieldType } from '../../../../@types';
31
30
  import { individualSelector } from '../../../app/individual/individualStore';
32
31
  import Text from '../../../../components/Text';
33
32
  import Collapse from '../../../../components/Collapse';
@@ -52,10 +51,10 @@ var CheckIconStyled = styled(CheckIcon)(function (_a) {
52
51
  });
53
52
  });
54
53
  var SourceOfIncome = function (_a) {
55
- var _b, _c, _d;
54
+ var _b, _c;
56
55
  var rest = __rest(_a, []);
57
- var _e = React.useState([]), sourceList = _e[0], setSourceList = _e[1];
58
- var _f = React.useState(null), anchorEl = _f[0], setAnchorEl = _f[1];
56
+ var _d = React.useState([]), sourceList = _d[0], setSourceList = _d[1];
57
+ var _e = React.useState(null), anchorEl = _e[0], setAnchorEl = _e[1];
59
58
  var t = useTranslation().t;
60
59
  var isAr = useLanguage().isAr;
61
60
  var data = useAppSelector(individualSelector).data;
@@ -63,7 +62,7 @@ var SourceOfIncome = function (_a) {
63
62
  var sourceIncomeList = ((_b = data.individualData.responseBody) === null || _b === void 0 ? void 0 : _b.sourceIncomeList) || [];
64
63
  var sourceIncomeControl = useController({ control: control, name: 'sourceIncome' });
65
64
  var user = (data.verify.responseBody || {}).user;
66
- var disabled = ((_c = user === null || user === void 0 ? void 0 : user.data_status) === null || _c === void 0 ? void 0 : _c.source_of_income) === FieldType.NON_EDITABLE;
65
+ var disabled = false;
67
66
  React.useEffect(function () {
68
67
  if ((sourceIncomeList === null || sourceIncomeList === void 0 ? void 0 : sourceIncomeList.length) > 0) {
69
68
  setSourceList(sourceIncomeList);
@@ -84,7 +83,7 @@ var SourceOfIncome = function (_a) {
84
83
  sourceIncomeControl.field.onChange(source);
85
84
  };
86
85
  var source = sourceIncomeControl.field.value;
87
- var error = (_d = sourceIncomeControl.fieldState.error) === null || _d === void 0 ? void 0 : _d.message;
86
+ var error = (_c = sourceIncomeControl.fieldState.error) === null || _c === void 0 ? void 0 : _c.message;
88
87
  return (_jsx(Collapse, __assign({ in: rest.show }, { children: _jsxs(ScreenContainer, __assign({ sx: { pb: 2.5 } }, { children: [_jsx(Input, { required: true, disabled: disabled, label: t('tap_js_source_of_income'), readOnly: true, onClick: disabled ? undefined : !!anchorEl ? function () { return onCloseList(); } : onOpenList, endAdornment: disabled ? _jsx(_Fragment, {}) : _jsx(ExpandIcon, { anchorEl: !!anchorEl }), placeholder: t('choose_any_source_of_income'), value: (isAr ? source === null || source === void 0 ? void 0 : source.name.ar : source === null || source === void 0 ? void 0 : source.name.en) || '', warningMessage: error && t(error) }), _jsx(Collapse, __assign({ in: !!anchorEl }, { children: _jsx(SimpleList, { searchKeyPath: 'name.en', list: sourceList, onSelectItem: onSelectItem, renderItem: function (item) {
89
88
  return (_jsxs(_Fragment, { children: [_jsx(Container, { children: _jsx(IncomeText, __assign({ isSelected: item.id === (source === null || source === void 0 ? void 0 : source.id) }, { children: isAr ? item.name.ar : item === null || item === void 0 ? void 0 : item.name.en })) }), item.id === (source === null || source === void 0 ? void 0 : source.id) && _jsx(CheckIconStyled, {})] }));
90
89
  } }) }))] })) })));
@@ -2,6 +2,8 @@ import * as React from 'react';
2
2
  import { User } from '../../../../@types';
3
3
  export interface CollectPhoneEmailProps {
4
4
  activeUser?: User;
5
+ emailChecking: boolean;
6
+ setEmailChecking: (flag: boolean) => void;
5
7
  }
6
8
  declare const _default: React.MemoExoticComponent<{
7
9
  ({ activeUser }: CollectPhoneEmailProps): JSX.Element;
@@ -23,9 +23,10 @@ var CollectPhoneEmail = function (_a) {
23
23
  var countries = settingsData.countries;
24
24
  var _b = (activeUser === null || activeUser === void 0 ? void 0 : activeUser.contact) || { email: '' }, email = _b.email, phone = _b.phone;
25
25
  var isPhoneAvailable = (phone === null || phone === void 0 ? void 0 : phone.country_code) && (phone === null || phone === void 0 ? void 0 : phone.number);
26
+ var _c = React.useState(false), emailChecking = _c[0], setEmailChecking = _c[1];
26
27
  var isEmailAvailable = isValidEmail(email);
27
- var _c = React.useState(), listActive = _c[0], setListActive = _c[1];
28
- return (_jsxs(Box, __assign({ sx: { mb: 0 } }, { children: [_jsx(MobileNumber, { sx: { mb: isEmailAvailable ? 0 : 3 }, show: !isPhoneAvailable, countries: countries, onListOpen: function () { return setListActive(true); }, onListClose: function () { return setListActive(false); } }), _jsx(Email, { show: !listActive && !isEmailAvailable })] })));
28
+ var _d = React.useState(), listActive = _d[0], setListActive = _d[1];
29
+ return (_jsxs(Box, __assign({ sx: { mt: 1.5 } }, { children: [_jsx(MobileNumber, { sx: { mb: isEmailAvailable ? 0 : 3 }, show: !isPhoneAvailable, countries: countries, onListOpen: function () { return setListActive(true); }, onListClose: function () { return setListActive(false); } }), _jsx(Email, { show: !listActive && !isEmailAvailable, fetchingEmail: function (v) { return setEmailChecking(v); }, emailChecking: emailChecking })] })));
29
30
  };
30
31
  export default React.memo(CollectPhoneEmail);
31
32
  CollectPhoneEmail.defaultProps = {};
@@ -1,6 +1,10 @@
1
1
  import * as React from 'react';
2
+ import { User } from '../../../../@types';
2
3
  export interface EmailProps {
3
4
  show: boolean;
5
+ fetchingEmail: (flag: boolean) => void;
6
+ emailChecking: boolean;
7
+ activeUser?: User;
4
8
  }
5
- declare const _default: React.MemoExoticComponent<({ show }: EmailProps) => JSX.Element>;
9
+ declare const _default: React.MemoExoticComponent<({ show, fetchingEmail, emailChecking, activeUser }: EmailProps) => JSX.Element>;
6
10
  export default _default;