react-native-unit-components 2.0.2 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +0 -4
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +1 -0
- package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +1 -0
- package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js +2 -0
- package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js +1 -1
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js +3 -3
- package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +29 -2
- package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js +3 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js.map +1 -1
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js +7 -0
- package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js.map +1 -1
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.js.map +1 -1
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js +2 -0
- package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
- package/lib/commonjs/components/UNCreateCardComponent/UNCreateCardComponent.js +84 -0
- package/lib/commonjs/components/UNCreateCardComponent/UNCreateCardComponent.js.map +1 -0
- package/lib/commonjs/components/UNCreateCardComponent/UNCreateCardComponent.utils.js +19 -0
- package/lib/commonjs/components/UNCreateCardComponent/UNCreateCardComponent.utils.js.map +1 -0
- package/lib/commonjs/components/UNCreateCardComponent/index.js +21 -0
- package/lib/commonjs/components/UNCreateCardComponent/index.js.map +1 -0
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js +39 -8
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -1
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +18 -3
- package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js.map +1 -1
- package/lib/commonjs/components/index.js +11 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/helpers/BottomSheet/BottomSheet.js +2 -2
- package/lib/commonjs/helpers/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/commonjs/messages/webMessages/cardMessage.js +1 -0
- package/lib/commonjs/messages/webMessages/cardMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/multipleCardsMessage.js +1 -0
- package/lib/commonjs/messages/webMessages/multipleCardsMessage.js.map +1 -1
- package/lib/commonjs/messages/webMessages/onLoadMessage.js +1 -0
- package/lib/commonjs/messages/webMessages/onLoadMessage.js.map +1 -1
- package/lib/commonjs/scripts/html/bodyScript.js +76 -48
- package/lib/commonjs/scripts/html/bodyScript.js.map +1 -1
- package/lib/commonjs/slices/SharedEventsSlice.js.map +1 -1
- package/lib/commonjs/types/internal/bottomSheet.types.js +1 -0
- package/lib/commonjs/types/internal/bottomSheet.types.js.map +1 -1
- package/lib/commonjs/types/internal/webComponent.types.js +1 -0
- package/lib/commonjs/types/internal/webComponent.types.js.map +1 -1
- package/lib/commonjs/types/shared/account.types.js +6 -1
- package/lib/commonjs/types/shared/account.types.js.map +1 -1
- package/lib/commonjs/types/shared/createCard.types.js +21 -0
- package/lib/commonjs/types/shared/createCard.types.js.map +1 -0
- package/lib/commonjs/types/shared/customer.types.js +5 -5
- package/lib/commonjs/types/shared/customer.types.js.map +1 -1
- package/lib/commonjs/types/shared/index.js +11 -0
- package/lib/commonjs/types/shared/index.js.map +1 -1
- package/lib/commonjs/unitComponentsSdkManager/UnitComponentsSdk.constants.js +1 -1
- package/lib/commonjs/unitComponentsSdkManager/UnitComponentsSdkManager.js +1 -1
- package/lib/commonjs/webComponent/html.js +8 -0
- package/lib/commonjs/webComponent/html.js.map +1 -1
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +1 -0
- package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -1
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +1 -0
- package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -1
- package/lib/module/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
- package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js +2 -0
- package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
- package/lib/module/components/UNActivityComponent/UNActivityComponent.js +2 -2
- package/lib/module/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
- package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js +1 -1
- package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +30 -3
- package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js +3 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js.map +1 -1
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js +7 -0
- package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js.map +1 -1
- package/lib/module/components/UNCardComponent/UNCardComponent.js.map +1 -1
- package/lib/module/components/UNCardComponent/UNCardComponent.utils.js +2 -0
- package/lib/module/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
- package/lib/module/components/UNCreateCardComponent/UNCreateCardComponent.js +76 -0
- package/lib/module/components/UNCreateCardComponent/UNCreateCardComponent.js.map +1 -0
- package/lib/module/components/UNCreateCardComponent/UNCreateCardComponent.utils.js +12 -0
- package/lib/module/components/UNCreateCardComponent/UNCreateCardComponent.utils.js.map +1 -0
- package/lib/module/components/UNCreateCardComponent/index.js +2 -0
- package/lib/module/components/UNCreateCardComponent/index.js.map +1 -0
- package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js +40 -9
- package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -1
- package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +14 -2
- package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js.map +1 -1
- package/lib/module/components/index.js +1 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/helpers/BottomSheet/BottomSheet.js +2 -2
- package/lib/module/helpers/BottomSheet/BottomSheet.js.map +1 -1
- package/lib/module/messages/webMessages/cardMessage.js +1 -0
- package/lib/module/messages/webMessages/cardMessage.js.map +1 -1
- package/lib/module/messages/webMessages/multipleCardsMessage.js +1 -0
- package/lib/module/messages/webMessages/multipleCardsMessage.js.map +1 -1
- package/lib/module/messages/webMessages/onLoadMessage.js +1 -0
- package/lib/module/messages/webMessages/onLoadMessage.js.map +1 -1
- package/lib/module/scripts/html/bodyScript.js +75 -47
- package/lib/module/scripts/html/bodyScript.js.map +1 -1
- package/lib/module/slices/SharedEventsSlice.js.map +1 -1
- package/lib/module/types/internal/bottomSheet.types.js +1 -0
- package/lib/module/types/internal/bottomSheet.types.js.map +1 -1
- package/lib/module/types/internal/webComponent.types.js +1 -0
- package/lib/module/types/internal/webComponent.types.js.map +1 -1
- package/lib/module/types/shared/account.types.js +5 -0
- package/lib/module/types/shared/account.types.js.map +1 -1
- package/lib/module/types/shared/createCard.types.js +14 -0
- package/lib/module/types/shared/createCard.types.js.map +1 -0
- package/lib/module/types/shared/customer.types.js +4 -4
- package/lib/module/types/shared/customer.types.js.map +1 -1
- package/lib/module/types/shared/index.js +1 -0
- package/lib/module/types/shared/index.js.map +1 -1
- package/lib/module/unitComponentsSdkManager/UnitComponentsSdk.constants.js +1 -1
- package/lib/module/unitComponentsSdkManager/UnitComponentsSdkManager.js +1 -1
- package/lib/module/webComponent/html.js +9 -1
- package/lib/module/webComponent/html.js.map +1 -1
- package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.d.ts +2 -1
- package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.d.ts +2 -1
- package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.d.ts +2 -1
- package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.utils.d.ts +1 -1
- package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.utils.d.ts +1 -1
- package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts +2 -2
- package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNCardComponent/UNCardComponent.d.ts +2 -0
- package/lib/typescript/src/components/UNCardComponent/UNCardComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNCardComponent/UNCardComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/UNCreateCardComponent/UNCreateCardComponent.d.ts +16 -0
- package/lib/typescript/src/components/UNCreateCardComponent/UNCreateCardComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/UNCreateCardComponent/UNCreateCardComponent.utils.d.ts +3 -0
- package/lib/typescript/src/components/UNCreateCardComponent/UNCreateCardComponent.utils.d.ts.map +1 -0
- package/lib/typescript/src/components/UNCreateCardComponent/index.d.ts +2 -0
- package/lib/typescript/src/components/UNCreateCardComponent/index.d.ts.map +1 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.d.ts +1 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.d.ts +5 -0
- package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.d.ts.map +1 -1
- package/lib/typescript/src/components/index.d.ts +1 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -1
- package/lib/typescript/src/messages/webMessages/cardMessage.d.ts +4 -2
- package/lib/typescript/src/messages/webMessages/cardMessage.d.ts.map +1 -1
- package/lib/typescript/src/messages/webMessages/multipleCardsMessage.d.ts +4 -2
- package/lib/typescript/src/messages/webMessages/multipleCardsMessage.d.ts.map +1 -1
- package/lib/typescript/src/messages/webMessages/onLoadMessage.d.ts +7 -3
- package/lib/typescript/src/messages/webMessages/onLoadMessage.d.ts.map +1 -1
- package/lib/typescript/src/scripts/html/bodyScript.d.ts +6 -2
- package/lib/typescript/src/scripts/html/bodyScript.d.ts.map +1 -1
- package/lib/typescript/src/slices/SharedEventsSlice.d.ts +11 -3
- package/lib/typescript/src/slices/SharedEventsSlice.d.ts.map +1 -1
- package/lib/typescript/src/store/store.d.ts +14 -2
- package/lib/typescript/src/store/store.d.ts.map +1 -1
- package/lib/typescript/src/types/internal/bottomSheet.types.d.ts +8 -2
- package/lib/typescript/src/types/internal/bottomSheet.types.d.ts.map +1 -1
- package/lib/typescript/src/types/internal/webComponent.types.d.ts +1 -0
- package/lib/typescript/src/types/internal/webComponent.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/account.types.d.ts +4 -0
- package/lib/typescript/src/types/shared/account.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/createCard.types.d.ts +166 -0
- package/lib/typescript/src/types/shared/createCard.types.d.ts.map +1 -0
- package/lib/typescript/src/types/shared/customer.types.d.ts +3 -3
- package/lib/typescript/src/types/shared/customer.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/index.d.ts +1 -0
- package/lib/typescript/src/types/shared/index.d.ts.map +1 -1
- package/lib/typescript/src/webComponent/html.d.ts.map +1 -1
- package/lib/typescript/tests/e2e/app-tests.d.ts +2 -0
- package/lib/typescript/tests/e2e/app-tests.d.ts.map +1 -0
- package/lib/typescript/tests/e2e/component-tests.d.ts +2 -0
- package/lib/typescript/tests/e2e/component-tests.d.ts.map +1 -0
- package/lib/typescript/tests/e2e/main.test.d.ts +2 -0
- package/lib/typescript/tests/e2e/main.test.d.ts.map +1 -0
- package/lib/typescript/tests/utils.d.ts +3 -0
- package/lib/typescript/tests/utils.d.ts.map +1 -0
- package/package.json +9 -4
- package/src/components/UNACHCreditComponent/UNACHCreditComponent.tsx +2 -1
- package/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.ts +1 -0
- package/src/components/UNACHDebitComponent/UNACHDebitComponent.tsx +2 -1
- package/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.ts +1 -0
- package/src/components/UNAccountComponent/UNAccountComponent.tsx +3 -2
- package/src/components/UNAccountComponent/UNAccountComponent.utils.ts +2 -1
- package/src/components/UNActivityComponent/UNActivityComponent.tsx +2 -2
- package/src/components/UNActivityComponent/UNActivityComponent.utils.ts +1 -1
- package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.ts +32 -1
- package/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.tsx +7 -0
- package/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.tsx +7 -0
- package/src/components/UNCardComponent/UNCardComponent.tsx +2 -0
- package/src/components/UNCardComponent/UNCardComponent.utils.ts +4 -1
- package/src/components/UNCreateCardComponent/UNCreateCardComponent.tsx +94 -0
- package/src/components/UNCreateCardComponent/UNCreateCardComponent.utils.ts +14 -0
- package/src/components/UNCreateCardComponent/index.ts +1 -0
- package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.tsx +44 -9
- package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.ts +17 -2
- package/src/components/index.ts +1 -0
- package/src/helpers/BottomSheet/BottomSheet.tsx +2 -2
- package/src/messages/webMessages/cardMessage.ts +6 -1
- package/src/messages/webMessages/multipleCardsMessage.ts +3 -1
- package/src/messages/webMessages/onLoadMessage.ts +9 -2
- package/src/scripts/html/bodyScript.ts +77 -48
- package/src/slices/SharedEventsSlice.ts +15 -3
- package/src/types/internal/bottomSheet.types.ts +9 -1
- package/src/types/internal/webComponent.types.ts +1 -0
- package/src/types/shared/account.types.ts +5 -0
- package/src/types/shared/createCard.types.ts +187 -0
- package/src/types/shared/customer.types.ts +3 -3
- package/src/types/shared/index.ts +1 -0
- package/src/unitComponentsSdkManager/UnitComponentsSdk.constants.ts +1 -1
- package/src/unitComponentsSdkManager/UnitComponentsSdkManager.ts +1 -1
- package/src/webComponent/html.ts +11 -1
|
@@ -9,7 +9,7 @@ export declare const store: import("@reduxjs/toolkit/dist/configureStore").Toolk
|
|
|
9
9
|
key: import("../messages/webMessages/cardMessage").CardMessage.CARD_ACTIVATED;
|
|
10
10
|
data: import("..").UNCard;
|
|
11
11
|
} | {
|
|
12
|
-
key: import("../messages/webMessages/
|
|
12
|
+
key: import("../messages/webMessages/cardMessage").CardMessage.CARD_CREATED;
|
|
13
13
|
data: import("..").UNCard;
|
|
14
14
|
} | {
|
|
15
15
|
key: import("../messages/webMessages/accountMessage").AccountMessage;
|
|
@@ -17,6 +17,12 @@ export declare const store: import("@reduxjs/toolkit/dist/configureStore").Toolk
|
|
|
17
17
|
} | {
|
|
18
18
|
key: import("../messages/webMessages/activityMessage").ActivityMessage;
|
|
19
19
|
data: string;
|
|
20
|
+
} | {
|
|
21
|
+
key: import("../messages/webMessages/multipleCardsMessage").MultipleCardsMessage.UNIT_MULTIPLE_CARDS_CARD_CLICKED;
|
|
22
|
+
data: import("..").UNCard;
|
|
23
|
+
} | {
|
|
24
|
+
key: import("../messages/webMessages/multipleCardsMessage").MultipleCardsMessage.UNIT_MULTIPLE_CARDS_FILTERS_CHANGED;
|
|
25
|
+
data: string;
|
|
20
26
|
} | {
|
|
21
27
|
key: import("../messages/webMessages/unitComponentsMessages").UnitComponentsMessage.UNIT_REQUEST_CLOSE_FLOW;
|
|
22
28
|
data: {
|
|
@@ -56,7 +62,7 @@ export declare const store: import("@reduxjs/toolkit/dist/configureStore").Toolk
|
|
|
56
62
|
key: import("../messages/webMessages/cardMessage").CardMessage.CARD_ACTIVATED;
|
|
57
63
|
data: import("..").UNCard;
|
|
58
64
|
} | {
|
|
59
|
-
key: import("../messages/webMessages/
|
|
65
|
+
key: import("../messages/webMessages/cardMessage").CardMessage.CARD_CREATED;
|
|
60
66
|
data: import("..").UNCard;
|
|
61
67
|
} | {
|
|
62
68
|
key: import("../messages/webMessages/accountMessage").AccountMessage;
|
|
@@ -64,6 +70,12 @@ export declare const store: import("@reduxjs/toolkit/dist/configureStore").Toolk
|
|
|
64
70
|
} | {
|
|
65
71
|
key: import("../messages/webMessages/activityMessage").ActivityMessage;
|
|
66
72
|
data: string;
|
|
73
|
+
} | {
|
|
74
|
+
key: import("../messages/webMessages/multipleCardsMessage").MultipleCardsMessage.UNIT_MULTIPLE_CARDS_CARD_CLICKED;
|
|
75
|
+
data: import("..").UNCard;
|
|
76
|
+
} | {
|
|
77
|
+
key: import("../messages/webMessages/multipleCardsMessage").MultipleCardsMessage.UNIT_MULTIPLE_CARDS_FILTERS_CHANGED;
|
|
78
|
+
data: string;
|
|
67
79
|
} | {
|
|
68
80
|
key: import("../messages/webMessages/unitComponentsMessages").UnitComponentsMessage.UNIT_REQUEST_CLOSE_FLOW;
|
|
69
81
|
data: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../src/store/store.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../../src/store/store.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAOhB,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,KAAK,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -6,6 +6,7 @@ import { UNACHDebitComponentProps } from '../../components/UNACHDebitComponent';
|
|
|
6
6
|
import { UNCheckDepositComponentProps } from '../../components/UNCheckDepositComponent';
|
|
7
7
|
import { UNBookPaymentComponentProps } from '../../components/UNBookPaymentComponent';
|
|
8
8
|
import { UNWirePaymentComponentProps } from '../../components/UNWirePaymentComponent';
|
|
9
|
+
import { UNCreateCardComponentProps } from '../../components/UNCreateCardComponent';
|
|
9
10
|
export declare enum BottomSheetNativePlaceType {
|
|
10
11
|
overFullScreen = "overFullScreen",
|
|
11
12
|
modal = "modal",
|
|
@@ -28,7 +29,8 @@ export declare enum BottomSheetNativeComponentType {
|
|
|
28
29
|
ACHDebitComponent = "UNACHDebitComponent",
|
|
29
30
|
CheckDepositComponent = "UNCheckDepositComponent",
|
|
30
31
|
BookPaymentComponent = "UNBookPaymentComponent",
|
|
31
|
-
WirePaymentComponent = "UNWirePaymentComponent"
|
|
32
|
+
WirePaymentComponent = "UNWirePaymentComponent",
|
|
33
|
+
CreateCardComponent = "UNCreateCardComponent"
|
|
32
34
|
}
|
|
33
35
|
export type BottomSheetNativeAddToWalletComponentType = {
|
|
34
36
|
type: BottomSheetNativeComponentType.AddToWalletComponent;
|
|
@@ -54,7 +56,11 @@ export type BottomSheetNativeWirePaymentComponentType = {
|
|
|
54
56
|
type: BottomSheetNativeComponentType.WirePaymentComponent;
|
|
55
57
|
props: UNWirePaymentComponentProps;
|
|
56
58
|
};
|
|
57
|
-
export type
|
|
59
|
+
export type BottomSheetNativeCreateCardComponentType = {
|
|
60
|
+
type: BottomSheetNativeComponentType.CreateCardComponent;
|
|
61
|
+
props: UNCreateCardComponentProps;
|
|
62
|
+
};
|
|
63
|
+
export type BottomSheetNativeComponent = BottomSheetNativeAddToWalletComponentType | BottomSheetNativeACHCreditComponentType | BottomSheetNativeACHDebitComponentType | BottomSheetNativeCheckDepositComponentType | BottomSheetNativeBookPaymentComponentType | BottomSheetNativeWirePaymentComponentType | BottomSheetNativeCreateCardComponentType;
|
|
58
64
|
export type BottomSheetSlotData = {
|
|
59
65
|
componentName?: WebComponentType;
|
|
60
66
|
componentResourceId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bottomSheet.types.d.ts","sourceRoot":"","sources":["../../../../../src/types/internal/bottomSheet.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAC/F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EACL,2BAA2B,EAC5B,MAAM,oFAAoF,CAAC;AAC5F,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AACxF,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"bottomSheet.types.d.ts","sourceRoot":"","sources":["../../../../../src/types/internal/bottomSheet.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mDAAmD,CAAC;AAC/F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EACL,2BAA2B,EAC5B,MAAM,oFAAoF,CAAC;AAC5F,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAChF,OAAO,EAAE,4BAA4B,EAAE,MAAM,0CAA0C,CAAC;AACxF,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAw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wCAAwC,GAAG;IACrD,IAAI,EAAE,8BAA8B,CAAC,mBAAmB,CAAC;IACzD,KAAK,EAAE,0BAA0B,CAAA;CAClC,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG,yCAAyC,GAC9E,uCAAuC,GACvC,sCAAsC,GACtC,0CAA0C,GAC1C,yCAAyC,GACzC,yCAAyC,GACzC,wCAAwC,CAAA;AAE5C,MAAM,MAAM,mBAAmB,GAAG;IAEhC,aAAa,CAAC,EAAE,gBAAgB,CAAC;IACjC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,qBAAqB,EAAE,qBAAqB,CAAA;CAC7C,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,SAAS,EAAE,0BAA0B,CAAC;IACtC,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,WAAW,CAAC,EAAE,0BAA0B,CAAC;CAC1C,CAAA;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,wBAAwB,CAAC,IAAI,CAAC;IACpC,IAAI,EAAE,mBAAmB,CAAA;CAC1B;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,wBAAwB,CAAC,eAAe,CAAC;IAC/C,IAAI,EAAE,mBAAmB,CAAA;CAC1B"}
|
|
@@ -15,6 +15,7 @@ export declare enum WebComponentType {
|
|
|
15
15
|
wirePayment = "unit-elements-wire-payment",
|
|
16
16
|
whiteLabelApp = "unit-elements-white-label-app",
|
|
17
17
|
multiFactorAuthentication = "unit-elements-multi-factor-authentication",
|
|
18
|
+
createCard = "unit-elements-create-card",
|
|
18
19
|
cardMenu = "unit-elements-card-menu"
|
|
19
20
|
}
|
|
20
21
|
export declare enum PresentationMode {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webComponent.types.d.ts","sourceRoot":"","sources":["../../../../../src/types/internal/webComponent.types.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IAC1B,IAAI,uBAAuB;IAC3B,aAAa,iCAAiC;IAC9C,WAAW,+BAA+B;IAC1C,QAAQ,2BAA2B;IACnC,IAAI,2BAA2B;IAC/B,OAAO,0BAA0B;IACjC,YAAY,gCAAgC;IAC5C,eAAe,oCAAoC;IACnD,gBAAgB,qCAAqC;IACrD,UAAU,8BAA8B;IACxC,cAAc,kCAAkC;IAChD,aAAa,iCAAiC;IAC9C,eAAe,mCAAmC;IAClD,WAAW,+BAA+B;IAC1C,aAAa,kCAAkC;IAC/C,yBAAyB,8CAA8C;IACvE,QAAQ,4BAA4B;CACrC;AAED,oBAAY,gBAAgB;IAS1B,mBAAmB,wBAAwB;IAC3C,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB"}
|
|
1
|
+
{"version":3,"file":"webComponent.types.d.ts","sourceRoot":"","sources":["../../../../../src/types/internal/webComponent.types.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IAC1B,IAAI,uBAAuB;IAC3B,aAAa,iCAAiC;IAC9C,WAAW,+BAA+B;IAC1C,QAAQ,2BAA2B;IACnC,IAAI,2BAA2B;IAC/B,OAAO,0BAA0B;IACjC,YAAY,gCAAgC;IAC5C,eAAe,oCAAoC;IACnD,gBAAgB,qCAAqC;IACrD,UAAU,8BAA8B;IACxC,cAAc,kCAAkC;IAChD,aAAa,iCAAiC;IAC9C,eAAe,mCAAmC;IAClD,WAAW,+BAA+B;IAC1C,aAAa,kCAAkC;IAC/C,yBAAyB,8CAA8C;IACvE,UAAU,8BAA8B;IACxC,QAAQ,4BAA4B;CACrC;AAED,oBAAY,gBAAgB;IAS1B,mBAAmB,wBAAwB;IAC3C,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.types.d.ts","sourceRoot":"","sources":["../../../../../src/types/shared/account.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM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,aAAa;IACvB,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,kBAAkB,uBAAuB;IACzC,eAAe,oBAAoB;IACnC,gBAAgB,qBAAqB;IACrC,aAAa,kBAAkB;IAC/B,0BAA0B,+BAA+B;CAC1D;AAED,oBAAY,mBAAmB;IAC7B,kBAAkB,uBAAuB;IACzC,qBAAqB,0BAA0B;IAC/C,8BAA8B,mCAAmC;CAClE;AAED,oBAAY,iBAAiB;IAC3B,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,gBAAgB,qBAAqB;CACtC;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,SAAS,CAAA;CACnB"}
|
|
1
|
+
{"version":3,"file":"account.types.d.ts","sourceRoot":"","sources":["../../../../../src/types/shared/account.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEtD,MAAM,MAAM,SAAS,GAAG,gBAAgB,GAAG,cAAc,GAAG,eAAe,CAAA;AAE3E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,aAAa,CAAC,cAAc,CAAA;IAClC,UAAU,EAAE;QACV,SAAS,EAAE,IAAI,CAAA;QACf,SAAS,CAAC,EAAE,IAAI,CAAA;QAChB,IAAI,EAAE,MAAM,CAAA;QACZ,cAAc,EAAE,MAAM,CAAA;QACtB,aAAa,EAAE,MAAM,CAAA;QACrB,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;QAClC,mBAAmB,CAAC,EAAE,MAAM,CAAA;QAC5B,sBAAsB,CAAC,EAAE;YACvB,aAAa,EAAE,MAAM,CAAA;YACrB,aAAa,EAAE,MAAM,CAAA;SACtB,CAAA;QACD,OAAO,EAAE,MAAM,C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NAccountType } from './account.types';
|
|
2
|
+
import { UNCustomerType } from './customer.types';
|
|
3
|
+
import { UNAddress, UNBusinessContact, UNFullName, UNPhone } from './types';
|
|
4
|
+
export declare enum UNCreateCardType {
|
|
5
|
+
Virtual = "virtual",
|
|
6
|
+
Physical = "physical"
|
|
7
|
+
}
|
|
8
|
+
export type UNCreateCardComponentResources = {
|
|
9
|
+
type: 'createCardComponentResources';
|
|
10
|
+
attributes: {
|
|
11
|
+
accounts: UNCreateCardComponentAccount[];
|
|
12
|
+
customer: UNCreateCardCustomer;
|
|
13
|
+
possibleCardholders: UNCardholder[];
|
|
14
|
+
resourceDiscovery: UNResourceDiscovery;
|
|
15
|
+
bin?: UNBin[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export type UNCreateCardCustomer = UNCreateCardComponentIndividualCustomer | UNCreateCardComponentBusinessCustomer;
|
|
19
|
+
export type UNCreateCardComponentIndividualCustomer = {
|
|
20
|
+
type: UNCustomerType.IndividualCustomer;
|
|
21
|
+
attributes: {
|
|
22
|
+
fullName: UNFullName;
|
|
23
|
+
address: UNAddress;
|
|
24
|
+
dateOfBirth: Date;
|
|
25
|
+
email: string;
|
|
26
|
+
phone: UNPhone;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export type UNCreateCardComponentBusinessCustomer = {
|
|
30
|
+
type: UNCustomerType.BusinessCustomer;
|
|
31
|
+
attributes: {
|
|
32
|
+
name: UNFullName;
|
|
33
|
+
address: UNAddress;
|
|
34
|
+
phone: UNPhone;
|
|
35
|
+
contact: UNBusinessContact;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export type UNCreateCardComponentAccount = UNCreateCardComponentDepositAccount | UNCreateCardComponentCreditAccount;
|
|
39
|
+
export type UNCreateCardComponentDepositAccount = {
|
|
40
|
+
type: UNAccountType.DepositAccount;
|
|
41
|
+
id: string;
|
|
42
|
+
attributes: {
|
|
43
|
+
name: string;
|
|
44
|
+
tags: {
|
|
45
|
+
[key: string]: string;
|
|
46
|
+
};
|
|
47
|
+
routingNumber: string;
|
|
48
|
+
accountNumber: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
export type UNCreateCardComponentCreditAccount = {
|
|
52
|
+
type: UNAccountType.CreditAccount;
|
|
53
|
+
id: string;
|
|
54
|
+
attributes: {
|
|
55
|
+
name: string;
|
|
56
|
+
tags: {
|
|
57
|
+
[key: string]: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export type UNCardholderAttributes = {
|
|
62
|
+
fullName: UNFullName;
|
|
63
|
+
address?: UNAddress;
|
|
64
|
+
dateOfBirth?: Date;
|
|
65
|
+
email?: string;
|
|
66
|
+
phone?: UNPhone;
|
|
67
|
+
};
|
|
68
|
+
export type UNCardholder = {
|
|
69
|
+
type: 'possibleCardholder';
|
|
70
|
+
attributes: UNCardholderAttributes;
|
|
71
|
+
};
|
|
72
|
+
export interface UNResourceDiscovery {
|
|
73
|
+
type: 'resourceDiscovery';
|
|
74
|
+
attributes: {
|
|
75
|
+
featureSettings?: UNFeatureSettings;
|
|
76
|
+
accountManifest?: UNAccountManifest[];
|
|
77
|
+
legalLinks?: UNLegalLinks;
|
|
78
|
+
brandName?: string;
|
|
79
|
+
supportComponent?: UNSupportComponent;
|
|
80
|
+
};
|
|
81
|
+
relationships: {
|
|
82
|
+
customer: {
|
|
83
|
+
data: {
|
|
84
|
+
type: 'customer';
|
|
85
|
+
id: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
accounts: {
|
|
89
|
+
data: UNRelationship[];
|
|
90
|
+
};
|
|
91
|
+
cards: {
|
|
92
|
+
data: UNRelationship[];
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
export interface UNFeatureSettings {
|
|
97
|
+
wirePayment?: {
|
|
98
|
+
enabled: boolean;
|
|
99
|
+
};
|
|
100
|
+
achDebitPayment?: {
|
|
101
|
+
enabled: boolean;
|
|
102
|
+
};
|
|
103
|
+
quickbooks?: {
|
|
104
|
+
enabled: boolean;
|
|
105
|
+
};
|
|
106
|
+
sameDayAch?: {
|
|
107
|
+
enabled: boolean;
|
|
108
|
+
};
|
|
109
|
+
appUsers?: {
|
|
110
|
+
enabled: boolean;
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
export interface UNAccountManifest {
|
|
114
|
+
type: 'depositAccountManifest';
|
|
115
|
+
attributes: {
|
|
116
|
+
accountId: string;
|
|
117
|
+
bankName: string;
|
|
118
|
+
maxNumberOfPhysicalCards?: number;
|
|
119
|
+
maxNumberOfVirtualCards?: number;
|
|
120
|
+
dailyCardWithdrawalLimit: number;
|
|
121
|
+
dailyCardDepositLimit: number;
|
|
122
|
+
dailyCardPurchaseLimit: number;
|
|
123
|
+
outgoingWireFee: number;
|
|
124
|
+
outgoingAchFee: number;
|
|
125
|
+
sameDayAchFee: number;
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
export interface UNLegalLinks {
|
|
129
|
+
privacyPolicyUrl?: string;
|
|
130
|
+
electronicDisclosuresUrl?: string;
|
|
131
|
+
depositTermsUrl?: string;
|
|
132
|
+
clientTermsUrl?: string;
|
|
133
|
+
cardholderTermsUrl?: string;
|
|
134
|
+
cashAdvancedTermsUrl?: string;
|
|
135
|
+
debitCardDisclosureUrl?: string;
|
|
136
|
+
additionalDisclosures?: UNAdditionalDisclosure[];
|
|
137
|
+
}
|
|
138
|
+
export type UNAdditionalDisclosure = {
|
|
139
|
+
title: string;
|
|
140
|
+
url: string;
|
|
141
|
+
};
|
|
142
|
+
export type UNSupportComponent = {
|
|
143
|
+
attributes: {
|
|
144
|
+
provider?: UNSupportType;
|
|
145
|
+
widgetId?: string;
|
|
146
|
+
widgetToken?: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
export declare enum UNSupportType {
|
|
150
|
+
Zendesk = "zendesk"
|
|
151
|
+
}
|
|
152
|
+
type UNRelationship = {
|
|
153
|
+
type: string;
|
|
154
|
+
id: string;
|
|
155
|
+
};
|
|
156
|
+
export type UNBin = {
|
|
157
|
+
attributes: {
|
|
158
|
+
bin: string;
|
|
159
|
+
institutionId: string;
|
|
160
|
+
product: string;
|
|
161
|
+
};
|
|
162
|
+
type: 'whiteLabelBinDto';
|
|
163
|
+
};
|
|
164
|
+
export declare function parseUNCreateCardTypes(input?: string | null): UNCreateCardType[];
|
|
165
|
+
export {};
|
|
166
|
+
//# sourceMappingURL=createCard.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createCard.types.d.ts","sourceRoot":"","sources":["../../../../../src/types/shared/createCard.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAE5E,oBAAY,gBAAgB;IAC1B,OAAO,YAAY;IACnB,QAAQ,aAAa;CACtB;AAED,MAAM,MAAM,8BAA8B,GAAG;IAC3C,IAAI,EAAE,8BAA8B,CAAA;IACpC,UAAU,EAAE;QACV,QAAQ,EAAE,4BAA4B,EAAE,CAAA;QACxC,QAAQ,EAAE,oBAAoB,CAAA;QAC9B,mBAAmB,EAAE,YAAY,EAAE,CAAA;QACnC,iBAAiB,EAAE,mBAAmB,CAAA;QACtC,GAAG,CAAC,EAAE,KAAK,EAAE,CAAA;KACd,CAAA;CACF,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,uCAAuC,GAAG,qCAAqC,CAAA;AAElH,MAAM,MAAM,uCAAuC,GAAG;IACpD,IAAI,EAAE,cAAc,CAAC,kBAAkB,CAAA;IACvC,UAAU,EAAE;QACV,QAAQ,EAAE,UAAU,CAAA;QACpB,OAAO,EAAE,SAAS,CAAA;QAClB,WAAW,EAAE,IAAI,CAAA;QACjB,KAAK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Address, UNBusinessContact, UNFullName, UNPhone } from './types';
|
|
2
2
|
export type UNCustomer = UNIndividualCustomer | UNBusinessCustomer;
|
|
3
3
|
export type UNBusinessCustomer = {
|
|
4
|
-
type:
|
|
4
|
+
type: UNCustomerType.BusinessCustomer;
|
|
5
5
|
id: string;
|
|
6
6
|
attributes: {
|
|
7
7
|
createdAt: Date;
|
|
@@ -40,7 +40,7 @@ export type UNBusinessCustomer = {
|
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
export type UNIndividualCustomer = {
|
|
43
|
-
type:
|
|
43
|
+
type: UNCustomerType.IndividualCustomer;
|
|
44
44
|
id: string;
|
|
45
45
|
attributes: {
|
|
46
46
|
createdAt: Date;
|
|
@@ -84,7 +84,7 @@ export type UNIndividualCustomer = {
|
|
|
84
84
|
};
|
|
85
85
|
};
|
|
86
86
|
};
|
|
87
|
-
export declare enum
|
|
87
|
+
export declare enum UNCustomerType {
|
|
88
88
|
IndividualCustomer = "individualCustomer",
|
|
89
89
|
BusinessCustomer = "businessCustomer"
|
|
90
90
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customer.types.d.ts","sourceRoot":"","sources":["../../../../../src/types/shared/customer.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,iBAAiB,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEzF,MAAM,MAAM,UAAU,GAAG,oBAAoB,GAAG,kBAAkB,CAAA;AAElE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"customer.types.d.ts","sourceRoot":"","sources":["../../../../../src/types/shared/customer.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,iBAAiB,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEzF,MAAM,MAAM,UAAU,GAAG,oBAAoB,GAAG,kBAAkB,CAA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Q,aAAa;CACtB;AAED,oBAAY,eAAe;IACzB,QAAQ,aAAa;IACrB,gBAAgB,qBAAqB;IACrC,iBAAiB,sBAAsB;IACvC,kBAAkB,uBAAuB;IACzC,uBAAuB,4BAA4B;IACnD,oBAAoB,yBAAyB;IAC7C,qBAAqB,0BAA0B;IAC/C,+BAA+B,oCAAoC;CACpE;AAED,oBAAY,UAAU;IACpB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;CACd;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,UAAU,CAAA;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,OAAO,CAAA;CACf,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mCAAmC,CAAC;AAClD,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/types/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mCAAmC,CAAC;AAClD,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../../src/webComponent/html.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../../src/webComponent/html.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,gBAAgB;;;;;;CAM5B,CAAC;AAEF,QAAA,MAAM,QAAQ,QAiGb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-tests.d.ts","sourceRoot":"","sources":["../../../../tests/e2e/app-tests.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-tests.d.ts","sourceRoot":"","sources":["../../../../tests/e2e/component-tests.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"main.test.d.ts","sourceRoot":"","sources":["../../../../tests/e2e/main.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../tests/utils.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,aAAc,MAAM,QAAQ,MAAM,QAAQ,IAAI,CAAC,KAAG,IAQlE,CAAC;AAmBF,eAAO,MAAM,iBAAiB,cACjB,MAAM,aACN,MAAM,eACJ,MAAM,KAClB,QAAQ,IAAI,CA2Bd,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-unit-components",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Unit React Native components",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -31,7 +31,9 @@
|
|
|
31
31
|
"cleanNodeModules": "rm -rf node_modules",
|
|
32
32
|
"bootstrap": "yarn cleanNodeModules && yarn example cleanNodeModules && yarn example && yarn && yarn example pods",
|
|
33
33
|
"cleanAll": "rm -rf node_modules example/node_modules android/build example/android/build example/ios/pods",
|
|
34
|
-
"installAll": "yarn
|
|
34
|
+
"installAll": "yarn installOldArch && yarn installNewArch",
|
|
35
|
+
"installOldArch": "yarn install && cd example && yarn install && cd ios && pod install",
|
|
36
|
+
"installNewArch": "yarn install && cd exampleNewArch && yarn install && cd ios && pod install"
|
|
35
37
|
},
|
|
36
38
|
"keywords": [
|
|
37
39
|
"react-native",
|
|
@@ -48,24 +50,26 @@
|
|
|
48
50
|
"@babel/eslint-parser": "^7.18.2",
|
|
49
51
|
"@react-native-community/eslint-config": "^3.0.2",
|
|
50
52
|
"@react-native/codegen": "^0.78.0",
|
|
51
|
-
"@types/jest": "^
|
|
53
|
+
"@types/jest": "^29.5",
|
|
52
54
|
"@types/react": "18.2.0",
|
|
53
55
|
"@types/react-native": "^0.69.9",
|
|
54
56
|
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
|
55
57
|
"@typescript-eslint/parser": "^5.45.0",
|
|
58
|
+
"detox": "20.39.0",
|
|
56
59
|
"eslint": "^8.54.0",
|
|
57
60
|
"eslint-config-airbnb": "^19.0.4",
|
|
58
61
|
"eslint-config-prettier": "^9.0.0",
|
|
59
62
|
"eslint-plugin-prettier": "^5.0.1",
|
|
60
63
|
"eslint-plugin-react": "^7.33.2",
|
|
61
64
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
62
|
-
"jest": "
|
|
65
|
+
"jest": "~29.7",
|
|
63
66
|
"prettier": "^2.0.5",
|
|
64
67
|
"react": "18.2.0",
|
|
65
68
|
"react-native": "0.69.9",
|
|
66
69
|
"react-native-builder-bob": "^0.23.2",
|
|
67
70
|
"react-native-tscodegen": "^0.72.0",
|
|
68
71
|
"react-native-webview": "^13.6.3",
|
|
72
|
+
"ts-jest": "29.3.4",
|
|
69
73
|
"typescript": "^4.5.2"
|
|
70
74
|
},
|
|
71
75
|
"resolutions": {
|
|
@@ -88,6 +92,7 @@
|
|
|
88
92
|
"preset": "react-native",
|
|
89
93
|
"modulePathIgnorePatterns": [
|
|
90
94
|
"<rootDir>/example/node_modules",
|
|
95
|
+
"<rootDir>/exampleNewArch/node_modules",
|
|
91
96
|
"<rootDir>/lib/"
|
|
92
97
|
]
|
|
93
98
|
},
|
|
@@ -37,11 +37,12 @@ export interface UNACHCreditComponentProps {
|
|
|
37
37
|
isAutoFocus?: boolean;
|
|
38
38
|
fee?: number;
|
|
39
39
|
withPlaid?: boolean;
|
|
40
|
+
sameDay?: boolean;
|
|
41
|
+
showSameDaySelection?: boolean;
|
|
40
42
|
onPaymentCreated?: (data: UNACHPayment) => void;
|
|
41
43
|
onInitialStageBackButtonClicked?: () => void;
|
|
42
44
|
onFinalStageDoneButtonClicked?: () => void;
|
|
43
45
|
onLoad?: (response: UNComponentsOnLoadResponse<UNACHOnLoadData>) => void;
|
|
44
|
-
sameDay?: boolean;
|
|
45
46
|
plaidAccountFilters?: UNPlaidAccountFilter[];
|
|
46
47
|
plaidLinkCustomizationName?: string;
|
|
47
48
|
initialStageBackButton?: boolean;
|
|
@@ -14,6 +14,7 @@ export const getACHCreditParams = (props: UNACHCreditComponentProps) => {
|
|
|
14
14
|
${props.fee ? `fee="${props.fee}"` : ''}
|
|
15
15
|
style="height: 100%"
|
|
16
16
|
same-day="${props.sameDay ?? false}"
|
|
17
|
+
show-same-day-selection="${props.showSameDaySelection ?? false}"
|
|
17
18
|
${plaidAccountFiltersParam}
|
|
18
19
|
${plaidLinkCustomizationNameParam}
|
|
19
20
|
initial-stage-back-button="${props.initialStageBackButton ?? false}"
|
|
@@ -36,11 +36,12 @@ export interface UNACHDebitComponentProps {
|
|
|
36
36
|
language?: string;
|
|
37
37
|
isAutoFocus?: boolean;
|
|
38
38
|
fee?: number;
|
|
39
|
+
sameDay?: boolean;
|
|
40
|
+
showSameDaySelection?: boolean;
|
|
39
41
|
onPaymentCreated?: (data: UNACHPayment) => void;
|
|
40
42
|
onLoad?: (response: UNComponentsOnLoadResponse<UNACHOnLoadData>) => void;
|
|
41
43
|
onInitialStageBackButtonClicked?: () => void;
|
|
42
44
|
onFinalStageDoneButtonClicked?: () => void;
|
|
43
|
-
sameDay?: boolean;
|
|
44
45
|
plaidAccountFilters?: UNPlaidAccountFilter[];
|
|
45
46
|
plaidLinkCustomizationName?: string;
|
|
46
47
|
initialStageBackButton?: boolean;
|
|
@@ -14,6 +14,7 @@ export const getACHDebitParams = (props: UNACHDebitComponentProps) => {
|
|
|
14
14
|
${props.fee ? `fee="${props.fee}"` : ''}
|
|
15
15
|
style="height: 100%"
|
|
16
16
|
same-day="${props.sameDay ?? false}"
|
|
17
|
+
show-same-day-selection="${props.showSameDaySelection ?? false}"
|
|
17
18
|
${plaidAccountFiltersParam}
|
|
18
19
|
${plaidLinkCustomizationNameParam}
|
|
19
20
|
initial-stage-back-button="${props.initialStageBackButton ?? false}"
|
|
@@ -23,7 +23,8 @@ import type {
|
|
|
23
23
|
UNCreditAccount,
|
|
24
24
|
UNComponentsError,
|
|
25
25
|
UNComponentsOnLoadResponse,
|
|
26
|
-
UNComponentsOnLoadResponseData
|
|
26
|
+
UNComponentsOnLoadResponseData,
|
|
27
|
+
UNAccountStatusPosition
|
|
27
28
|
} from '../../types/shared';
|
|
28
29
|
import { AccountMessage } from '../../messages/webMessages/accountMessage';
|
|
29
30
|
import { RESPONSE_KEYS, UnitOnLoadResponseEvent } from '../../messages/webMessages/onLoadMessage';
|
|
@@ -51,6 +52,7 @@ export interface UNAccountComponentProps {
|
|
|
51
52
|
hideActionsMenuButton?: boolean;
|
|
52
53
|
hideSelectionMenuButton?: boolean;
|
|
53
54
|
hideAccountStatus?: boolean;
|
|
55
|
+
accountStatusPosition?: UNAccountStatusPosition;
|
|
54
56
|
hideAccountDetails?: boolean;
|
|
55
57
|
hideAccountButtons?: boolean;
|
|
56
58
|
hideAccountCtaBanner?: boolean;
|
|
@@ -160,7 +162,6 @@ const UNAccountComponent = React.forwardRef<UNAccountRef, UNAccountComponentProp
|
|
|
160
162
|
type: BottomSheetRenderingType.Slot,
|
|
161
163
|
data: slotData,
|
|
162
164
|
} as SlotRendering;
|
|
163
|
-
|
|
164
165
|
dispatch(setEvent({ key: BottomSheetNativeMessage.REQUEST_RENDERING, data }));
|
|
165
166
|
|
|
166
167
|
break;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UNAccountAction, UNAccountComponentProps } from './UNAccountComponent';
|
|
2
2
|
import { RequestRefreshEvent, RequestRenderingEvent } from '../../messages/webMessages/unitComponentsMessages';
|
|
3
3
|
import type WebView from 'react-native-webview';
|
|
4
|
-
import type
|
|
4
|
+
import { UNAccountStatusPosition, type UNAccountMenuAction } from '../../types/shared';
|
|
5
5
|
import { WebComponentType } from '../../types/internal/webComponent.types';
|
|
6
6
|
import { LISTENERS } from '../../scripts/html/bodyScript';
|
|
7
7
|
import { DISPATCH_REQUEST_REFRESH } from '../../scripts/html/bodyScript';
|
|
@@ -14,6 +14,7 @@ export const getAccountParams = (props: UNAccountComponentProps) => {
|
|
|
14
14
|
hide-actions-menu-button="${props.hideActionsMenuButton || false}"
|
|
15
15
|
hide-selection-menu-button="${props.hideSelectionMenuButton || false}"
|
|
16
16
|
hide-account-status="${props.hideAccountStatus || false}"
|
|
17
|
+
account-status-position="${props.accountStatusPosition || UNAccountStatusPosition.End}"
|
|
17
18
|
hide-account-details="${props.hideAccountDetails || false}"
|
|
18
19
|
hide-account-buttons="${props.hideAccountButtons || false}"
|
|
19
20
|
hide-account-cta-banner="${props.hideAccountCtaBanner || false}"
|
|
@@ -19,7 +19,7 @@ import { WebComponent } from '../../webComponent/WebComponent';
|
|
|
19
19
|
import {
|
|
20
20
|
getActivityParams,
|
|
21
21
|
getActivityScript,
|
|
22
|
-
|
|
22
|
+
injectActivityFiltersChanged,
|
|
23
23
|
injectRefreshEventIfNeeded,
|
|
24
24
|
} from './UNActivityComponent.utils';
|
|
25
25
|
import type WebView from 'react-native-webview';
|
|
@@ -81,7 +81,7 @@ const UNActivityComponent = React.forwardRef<UNActivityRef, UNActivityComponentP
|
|
|
81
81
|
}));
|
|
82
82
|
|
|
83
83
|
const dispatchActivityFiltersChanged = (query: string) => {
|
|
84
|
-
|
|
84
|
+
injectActivityFiltersChanged(webRef.current, query);
|
|
85
85
|
};
|
|
86
86
|
|
|
87
87
|
useListenerToEvent({ busEventKey: UnitComponentsMessage.UNIT_REQUEST_REFRESH, action: requestRefresh });
|
|
@@ -31,6 +31,6 @@ export const injectRefreshEventIfNeeded = (currentWeb: WebView | null, requestRe
|
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
export const
|
|
34
|
+
export const injectActivityFiltersChanged = (currentWeb: WebView | null, query: string) => {
|
|
35
35
|
currentWeb?.injectJavaScript(`dispatchActivityFilterChangedEvent('${query}')`);
|
|
36
36
|
};
|