@tap-payments/auth-jsconnect 2.4.44-test → 2.4.47-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 (144) hide show
  1. package/build/@types/app.d.ts +21 -15
  2. package/build/@types/form.d.ts +19 -19
  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/brand.d.ts +1 -1
  10. package/build/api/country.d.ts +1 -1
  11. package/build/api/data.d.ts +10 -10
  12. package/build/api/document.d.ts +2 -2
  13. package/build/api/entity.d.ts +8 -8
  14. package/build/api/file.d.ts +1 -1
  15. package/build/api/individual.d.ts +5 -5
  16. package/build/api/init.d.ts +1 -1
  17. package/build/api/lead.d.ts +10 -10
  18. package/build/api/operator.d.ts +1 -1
  19. package/build/api/operator.js +1 -1
  20. package/build/api/user.d.ts +2 -2
  21. package/build/app/settings.d.ts +11 -2
  22. package/build/app/settings.js +1 -1
  23. package/build/app/store.d.ts +4 -4
  24. package/build/components/AnimationFlow/BottomSheet.js +1 -1
  25. package/build/components/Slide/Slide.d.ts +1 -1
  26. package/build/constants/app.d.ts +1 -1
  27. package/build/features/app/bank/bankStore.d.ts +82 -10
  28. package/build/features/app/bank/bankStore.js +1 -1
  29. package/build/features/app/brand/brandStore.d.ts +112 -13
  30. package/build/features/app/brand/brandStore.js +1 -1
  31. package/build/features/app/business/businessStore.d.ts +162 -18
  32. package/build/features/app/business/businessStore.js +1 -1
  33. package/build/features/app/connect/connectStore.d.ts +121 -13
  34. package/build/features/app/connect/connectStore.js +3 -3
  35. package/build/features/app/connectExpress/connectExpressStore.d.ts +211 -22
  36. package/build/features/app/connectExpress/connectExpressStore.js +1 -1
  37. package/build/features/app/entity/entityStore.d.ts +82 -10
  38. package/build/features/app/entity/entityStore.js +1 -1
  39. package/build/features/app/individual/individualStore.d.ts +175 -22
  40. package/build/features/app/individual/individualStore.js +1 -1
  41. package/build/features/app/password/passwordStore.d.ts +102 -12
  42. package/build/features/app/password/passwordStore.js +1 -1
  43. package/build/features/app/signIn/signInStore.d.ts +61 -7
  44. package/build/features/app/signIn/signInStore.js +1 -1
  45. package/build/features/app/tax/taxStore.d.ts +72 -9
  46. package/build/features/app/tax/taxStore.js +1 -1
  47. package/build/features/bank/screens/BankDetails/BankName.d.ts +1 -1
  48. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +1 -1
  49. package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +1 -1
  50. package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
  51. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +6 -6
  52. package/build/features/brand/screens/BrandActivities/ActivitiesList.js +4 -7
  53. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +3 -3
  54. package/build/features/brand/screens/BrandActivities/CustomerBase.js +4 -7
  55. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.js +4 -7
  56. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +4 -7
  57. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +5 -5
  58. package/build/features/brand/screens/BrandActivities/TAC.d.ts +2 -2
  59. package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +1 -1
  60. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +1 -1
  61. package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
  62. package/build/features/brand/screens/BrandInfo/Segments.js +2 -10
  63. package/build/features/brand/screens/BrandInfo/TeamSize.js +2 -10
  64. package/build/features/business/screens/Activities/ActivitiesList.d.ts +2 -2
  65. package/build/features/business/screens/Activities/ActivitiesList.js +11 -8
  66. package/build/features/business/screens/Activities/OperationStartDate.d.ts +1 -1
  67. package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +1 -1
  68. package/build/features/business/screens/BusinessType/Article.d.ts +1 -1
  69. package/build/features/business/screens/BusinessType/EntityLicenseList.js +3 -6
  70. package/build/features/business/screens/BusinessType/LicenseList.js +3 -6
  71. package/build/features/business/screens/BusinessType/LicenseType.d.ts +3 -3
  72. package/build/features/business/screens/Customers/CustomerLocations.d.ts +7 -7
  73. package/build/features/business/screens/Customers/CustomerLocations.js +4 -7
  74. package/build/features/business/screens/Customers/ExpectedCustomers.js +4 -7
  75. package/build/features/business/screens/Customers/ExpectedSalesRange.js +4 -7
  76. package/build/features/business/screens/Customers/RefundPolicy.d.ts +4 -4
  77. package/build/features/connect/Connect.js +6 -3
  78. package/build/features/connect/screens/Individual/Email.js +1 -1
  79. package/build/features/connect/screens/Merchant/BrandList.js +2 -7
  80. package/build/features/connect/screens/Merchant/BrandName.js +1 -1
  81. package/build/features/connect/screens/Merchant/Segments.js +2 -7
  82. package/build/features/connect/screens/Merchant/TeamSize.js +2 -7
  83. package/build/features/connect/screens/ThankYou/ThankYou.js +4 -1
  84. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
  85. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +4 -7
  86. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +3 -3
  87. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +2 -2
  88. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
  89. package/build/features/connectExpress/screens/NID/TAC.d.ts +2 -2
  90. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +2 -2
  91. package/build/features/entity/screens/EntityCapital/ActivityList.js +11 -8
  92. package/build/features/entity/screens/EntityName/Article.d.ts +1 -1
  93. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +6 -6
  94. package/build/features/entity/screens/EntityName/EntityTypeList.js +4 -7
  95. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +1 -1
  96. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +1 -1
  97. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +1 -1
  98. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +1 -1
  99. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +2 -10
  100. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +2 -10
  101. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +2 -2
  102. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +2 -10
  103. package/build/features/individual/screens/IndividualList/Email.js +1 -1
  104. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +2 -2
  105. package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.js +2 -10
  106. package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.js +2 -10
  107. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +3 -3
  108. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +1 -1
  109. package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.js +2 -10
  110. package/build/features/individual/screens/IndividualPersonalInfo/Nationality.js +2 -10
  111. package/build/features/shared/Address/CountryList.d.ts +6 -6
  112. package/build/features/shared/Address/InputSelect.d.ts +6 -6
  113. package/build/features/shared/Address/InputSelect.js +1 -1
  114. package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
  115. package/build/features/shared/Button/FlowsButtons.d.ts +1 -1
  116. package/build/features/shared/Button/FlowsButtons.js +1 -1
  117. package/build/features/shared/Button/IndividualActionButtons.d.ts +1 -1
  118. package/build/features/shared/CheckIcon/CheckIcon.d.ts +1 -1
  119. package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
  120. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  121. package/build/features/shared/Footer/PoweredByFooter.d.ts +1 -1
  122. package/build/features/shared/Input/Input.d.ts +4 -5
  123. package/build/features/shared/Input/index.d.ts +2 -1
  124. package/build/features/shared/InputSelect/InputSelect.d.ts +4 -0
  125. package/build/features/shared/InputSelect/InputSelect.js +27 -0
  126. package/build/features/shared/InputSelect/index.d.ts +2 -0
  127. package/build/features/shared/InputSelect/index.js +2 -0
  128. package/build/features/shared/UploadFile/FileUpload.d.ts +3 -3
  129. package/build/features/shared/UploadFile/FileUpload.js +1 -1
  130. package/build/features/shared/UploadFile/UploadFile.d.ts +2 -2
  131. package/build/features/shared/UploadFile/UploadWrapper.d.ts +2 -2
  132. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +3 -3
  133. package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
  134. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +2 -2
  135. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +1 -1
  136. package/build/features/tax/screens/TaxDetails/VATId.d.ts +1 -1
  137. package/build/hooks/useDataVerified.d.ts +1 -1
  138. package/build/hooks/useExcludeReadOnlyFelids.d.ts +1 -1
  139. package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +1 -1
  140. package/build/hooks/useFormReadOnly.d.ts +1 -1
  141. package/build/utils/array.js +1 -1
  142. package/build/utils/gtm.d.ts +3 -2
  143. package/build/utils/gtm.js +3 -0
  144. package/package.json +1 -1
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { CustomInputProps } from '../Input';
3
+ export declare const InputStyled: import("@emotion/styled").StyledComponent<CustomInputProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
4
+ export default function InputSelect(props: CustomInputProps): JSX.Element;
@@ -0,0 +1,27 @@
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
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { styled } from '@mui/material/styles';
14
+ import Input from '../Input';
15
+ 2;
16
+ export var InputStyled = styled(Input)(function (_a) {
17
+ var readOnly = _a.readOnly;
18
+ return ({
19
+ '& .MuiInputBase-input': {
20
+ cursor: readOnly ? 'default' : 'pointer',
21
+ WebkitTextFillColor: 'inherit'
22
+ }
23
+ });
24
+ });
25
+ export default function InputSelect(props) {
26
+ return _jsx(InputStyled, __assign({ disabled: true }, props));
27
+ }
@@ -0,0 +1,2 @@
1
+ import InputSelect from './InputSelect';
2
+ export default InputSelect;
@@ -0,0 +1,2 @@
1
+ import InputSelect from './InputSelect';
2
+ export default InputSelect;
@@ -6,10 +6,10 @@ export declare const InputContainerStyled: import("@emotion/styled").StyledCompo
6
6
  component?: React.ElementType<any> | undefined;
7
7
  ref?: React.Ref<unknown> | undefined;
8
8
  sx?: SxProps<Theme> | undefined;
9
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
9
+ } & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
10
10
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
11
- }, 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" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
12
- export declare type FileUploadProps = {
11
+ }, ("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" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
12
+ export type FileUploadProps = {
13
13
  key?: string;
14
14
  show: boolean;
15
15
  purpose: string;
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
24
24
  function verb(n) { return function (v) { return step([n, v]); }; }
25
25
  function step(op) {
26
26
  if (f) throw new TypeError("Generator is already executing.");
27
- while (_) try {
27
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
28
28
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29
29
  if (y = 0, t) op = [op[0] & 2, t.value];
30
30
  switch (op[0]) {
@@ -4,9 +4,9 @@ export declare const InputContainerStyled: import("@emotion/styled").StyledCompo
4
4
  component?: React.ElementType<any> | undefined;
5
5
  ref?: React.Ref<unknown> | undefined;
6
6
  sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
7
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
7
+ } & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
8
8
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
9
- }, 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" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
9
+ }, ("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" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
10
10
  interface UploadFileProps {
11
11
  label: string;
12
12
  required?: boolean;
@@ -7,9 +7,9 @@ export declare const InputContainerStyled: import("@emotion/styled").StyledCompo
7
7
  component?: React.ElementType<any> | undefined;
8
8
  ref?: React.Ref<unknown> | undefined;
9
9
  sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
10
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
10
+ } & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
11
11
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
12
- }, 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" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
12
+ }, ("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" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
13
13
  interface UploadWrapperProps {
14
14
  id: string;
15
15
  control: Control<FieldValues, any>;
@@ -6,10 +6,10 @@ export declare const InputContainerStyled: import("@emotion/styled").StyledCompo
6
6
  component?: React.ElementType<any> | undefined;
7
7
  ref?: React.Ref<unknown> | undefined;
8
8
  sx?: SxProps<Theme> | undefined;
9
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
9
+ } & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
10
10
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
11
- }, 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" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
12
- export declare type UploadFileProps = {
11
+ }, ("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" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<Theme>, {}, {}>;
12
+ export type UploadFileProps = {
13
13
  index: number;
14
14
  purpose: string;
15
15
  file: File;
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
24
24
  function verb(n) { return function (v) { return step([n, v]); }; }
25
25
  function step(op) {
26
26
  if (f) throw new TypeError("Generator is already executing.");
27
- while (_) try {
27
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
28
28
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29
29
  if (y = 0, t) op = [op[0] & 2, t.value];
30
30
  switch (op[0]) {
@@ -7,9 +7,9 @@ export declare const InputContainerStyled: import("@emotion/styled").StyledCompo
7
7
  component?: React.ElementType<any> | undefined;
8
8
  ref?: React.Ref<unknown> | undefined;
9
9
  sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme> | undefined;
10
- } & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
10
+ } & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
11
11
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
12
- }, 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" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
12
+ }, ("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" | "component" | "ref" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
13
13
  interface UploadMultipleFileProps {
14
14
  id: string;
15
15
  control: Control<FieldValues, any>;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type ConfirmPolicyProps = {
2
+ type ConfirmPolicyProps = {
3
3
  readOnly?: boolean;
4
4
  };
5
5
  declare const ConfirmPolicy: ({ readOnly }: ConfirmPolicyProps) => JSX.Element;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare type VATIdProps = {
2
+ type VATIdProps = {
3
3
  readOnly?: boolean;
4
4
  isVerified?: boolean;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { FieldType } from '../@types';
2
- declare type DataVerified<T> = {
2
+ type DataVerified<T> = {
3
3
  [K in keyof T]?: boolean;
4
4
  };
5
5
  export declare const useDataVerified: <T = undefined>(dataVerification: Record<keyof T, FieldType>, verifiedKeys: (keyof T)[]) => DataVerified<T>;
@@ -1,5 +1,5 @@
1
1
  import { FieldValues, UseFormReturn } from 'react-hook-form';
2
- declare type ReadOnly<TF, V> = {
2
+ type ReadOnly<TF, V> = {
3
3
  [key in keyof TF]: V;
4
4
  };
5
5
  export declare const useExcludeReadOnlyFelids: <TF extends FieldValues = FieldValues>({ formState }: UseFormReturn<TF, any>, readOnly: ReadOnly<TF, boolean>) => {
@@ -1,5 +1,5 @@
1
1
  import { FieldValues, UseFormReturn } from 'react-hook-form';
2
- declare type ReadOnly<TF, V> = {
2
+ type ReadOnly<TF, V> = {
3
3
  [key in keyof TF]: V;
4
4
  };
5
5
  export declare const useFormErrorAndUpdateReadOnly: <TF extends FieldValues = FieldValues>(methods: UseFormReturn<TF, any>, readOnlyData: { [key in keyof TF]: boolean; }, noneEditable?: Record<any, boolean>) => ReadOnly<TF, boolean>;
@@ -1,5 +1,5 @@
1
1
  import { FieldValues, UseFormReturn } from 'react-hook-form';
2
- declare type ReadOnly<TF, V> = {
2
+ type ReadOnly<TF, V> = {
3
3
  [key in keyof TF]: V;
4
4
  };
5
5
  export declare const useFormReadOnly: <TF extends FieldValues = FieldValues>(methods: UseFormReturn<TF, any>, extraData?: { [key in keyof TF]?: any; }) => ReadOnly<TF, boolean>;
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
24
24
  function verb(n) { return function (v) { return step([n, v]); }; }
25
25
  function step(op) {
26
26
  if (f) throw new TypeError("Generator is already executing.");
27
- while (_) try {
27
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
28
28
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29
29
  if (y = 0, t) op = [op[0] & 2, t.value];
30
30
  switch (op[0]) {
@@ -1,4 +1,5 @@
1
- import { DataLayer } from '../@types';
2
- export declare const pushToDataLayer: (data: DataLayer) => void;
1
+ import { CountryTrackingData, DataLayer, LeadIdentificationData } from '../@types';
2
+ export declare const pushToDataLayer: (data: DataLayer | CountryTrackingData | LeadIdentificationData) => void;
3
3
  export declare const initializeGTM: () => void;
4
4
  export declare const sendCustomEventToGTM: (data: DataLayer) => void;
5
+ export declare const sendCustomDimension: (data: CountryTrackingData | LeadIdentificationData) => void;
@@ -21,3 +21,6 @@ export var initializeGTM = function () {
21
21
  export var sendCustomEventToGTM = function (data) {
22
22
  pushToDataLayer(__assign({ event_value: 0, event_noninteraction: 0, event_label: '' }, data));
23
23
  };
24
+ export var sendCustomDimension = function (data) {
25
+ pushToDataLayer(data);
26
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.4.44-test",
3
+ "version": "2.4.47-test",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",