@networkinternational/ni-card-management-sdk 1.0.8 → 2.0.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/README.md +140 -38
- package/android/build.gradle +14 -3
- package/android/gradle.properties +1 -0
- package/ios/NiCardManagement.swift +60 -51
- package/lib/commonjs/NICardManagementComponents/CardDetailsComponent.js +4 -2
- package/lib/commonjs/NICardManagementComponents/CardDetailsComponent.js.map +1 -1
- package/lib/commonjs/NICardManagementComponents/NiInputInterfaces.js.map +1 -1
- package/lib/commonjs/NICardManagementComponents/ViewPinComponent.js +4 -2
- package/lib/commonjs/NICardManagementComponents/ViewPinComponent.js.map +1 -1
- package/lib/commonjs/components/CardDetails/CardHolderNameGroups.js +1 -1
- package/lib/commonjs/components/CardDetails/CardNumberGroup.js +1 -1
- package/lib/commonjs/components/CardDetails/DateCVVGroupOneRow.js.map +1 -1
- package/lib/commonjs/components/NIButton/NIButton.js +28 -6
- package/lib/commonjs/components/NIButton/NIButton.js.map +1 -1
- package/lib/commonjs/config/localization.js.map +1 -1
- package/lib/commonjs/hooks/useChangePin.js +6 -4
- package/lib/commonjs/hooks/useChangePin.js.map +1 -1
- package/lib/commonjs/hooks/useGetCardDetails.js +6 -4
- package/lib/commonjs/hooks/useGetCardDetails.js.map +1 -1
- package/lib/commonjs/hooks/useSetPin.js +6 -4
- package/lib/commonjs/hooks/useSetPin.js.map +1 -1
- package/lib/commonjs/hooks/useVerifyPin.js +6 -4
- package/lib/commonjs/hooks/useVerifyPin.js.map +1 -1
- package/lib/commonjs/hooks/useViewPin.js +6 -4
- package/lib/commonjs/hooks/useViewPin.js.map +1 -1
- package/lib/commonjs/types/jsx-compat.d.js +6 -0
- package/lib/commonjs/types/jsx-compat.d.js.map +1 -0
- package/lib/commonjs/utils/normalizeNativeError.js +33 -0
- package/lib/commonjs/utils/normalizeNativeError.js.map +1 -0
- package/lib/module/NICardManagementComponents/CardDetailsComponent.js +4 -2
- package/lib/module/NICardManagementComponents/CardDetailsComponent.js.map +1 -1
- package/lib/module/NICardManagementComponents/NiInputInterfaces.js.map +1 -1
- package/lib/module/NICardManagementComponents/ViewPinComponent.js +4 -2
- package/lib/module/NICardManagementComponents/ViewPinComponent.js.map +1 -1
- package/lib/module/components/CardDetails/CardHolderNameGroups.js +1 -1
- package/lib/module/components/CardDetails/CardNumberGroup.js +1 -1
- package/lib/module/components/CardDetails/DateCVVGroupOneRow.js.map +1 -1
- package/lib/module/components/NIButton/NIButton.js +28 -6
- package/lib/module/components/NIButton/NIButton.js.map +1 -1
- package/lib/module/config/localization.js.map +1 -1
- package/lib/module/hooks/useChangePin.js +7 -5
- package/lib/module/hooks/useChangePin.js.map +1 -1
- package/lib/module/hooks/useGetCardDetails.js +7 -5
- package/lib/module/hooks/useGetCardDetails.js.map +1 -1
- package/lib/module/hooks/useSetPin.js +7 -5
- package/lib/module/hooks/useSetPin.js.map +1 -1
- package/lib/module/hooks/useVerifyPin.js +7 -5
- package/lib/module/hooks/useVerifyPin.js.map +1 -1
- package/lib/module/hooks/useViewPin.js +7 -5
- package/lib/module/hooks/useViewPin.js.map +1 -1
- package/lib/module/types/jsx-compat.d.js +2 -0
- package/lib/module/types/jsx-compat.d.js.map +1 -0
- package/lib/module/utils/normalizeNativeError.js +27 -0
- package/lib/module/utils/normalizeNativeError.js.map +1 -0
- package/lib/typescript/src/NICardManagementComponents/CardDetailsComponent.d.ts +0 -1
- package/lib/typescript/src/NICardManagementComponents/CardDetailsComponent.d.ts.map +1 -1
- package/lib/typescript/src/NICardManagementComponents/ChangePinView.d.ts +0 -1
- package/lib/typescript/src/NICardManagementComponents/ChangePinView.d.ts.map +1 -1
- package/lib/typescript/src/NICardManagementComponents/NiInputInterfaces.d.ts +1 -0
- package/lib/typescript/src/NICardManagementComponents/NiInputInterfaces.d.ts.map +1 -1
- package/lib/typescript/src/NICardManagementComponents/SetPinView.d.ts +0 -1
- package/lib/typescript/src/NICardManagementComponents/SetPinView.d.ts.map +1 -1
- package/lib/typescript/src/NICardManagementComponents/VerifyPinView.d.ts +0 -1
- package/lib/typescript/src/NICardManagementComponents/VerifyPinView.d.ts.map +1 -1
- package/lib/typescript/src/NICardManagementComponents/ViewPinComponent.d.ts +0 -1
- package/lib/typescript/src/NICardManagementComponents/ViewPinComponent.d.ts.map +1 -1
- package/lib/typescript/src/components/CardDetails/CardDetails.d.ts +0 -1
- package/lib/typescript/src/components/CardDetails/CardDetails.d.ts.map +1 -1
- package/lib/typescript/src/components/CardDetails/CardDetailsBackgroundImage.d.ts +0 -1
- package/lib/typescript/src/components/CardDetails/CardDetailsBackgroundImage.d.ts.map +1 -1
- package/lib/typescript/src/components/CardDetails/CardDetailsGroups.d.ts +0 -1
- package/lib/typescript/src/components/CardDetails/CardDetailsGroups.d.ts.map +1 -1
- package/lib/typescript/src/components/CardDetails/CardHolderNameGroups.d.ts +0 -1
- package/lib/typescript/src/components/CardDetails/CardHolderNameGroups.d.ts.map +1 -1
- package/lib/typescript/src/components/CardDetails/CardNumberGroup.d.ts +0 -1
- package/lib/typescript/src/components/CardDetails/CardNumberGroup.d.ts.map +1 -1
- package/lib/typescript/src/components/CardDetails/DateCVVGroupOneRow.d.ts +0 -1
- package/lib/typescript/src/components/CardDetails/DateCVVGroupOneRow.d.ts.map +1 -1
- package/lib/typescript/src/components/ChangePin/CaptureCurrentPin.d.ts +0 -1
- package/lib/typescript/src/components/ChangePin/CaptureCurrentPin.d.ts.map +1 -1
- package/lib/typescript/src/components/ChangePin/CaptureNewPin.d.ts +0 -1
- package/lib/typescript/src/components/ChangePin/CaptureNewPin.d.ts.map +1 -1
- package/lib/typescript/src/components/ChangePin/ChangePin.d.ts +0 -1
- package/lib/typescript/src/components/ChangePin/ChangePin.d.ts.map +1 -1
- package/lib/typescript/src/components/ChangePin/ConfirmPin.d.ts +0 -1
- package/lib/typescript/src/components/ChangePin/ConfirmPin.d.ts.map +1 -1
- package/lib/typescript/src/components/ChangePin/ReenterNewPin.d.ts +0 -1
- package/lib/typescript/src/components/ChangePin/ReenterNewPin.d.ts.map +1 -1
- package/lib/typescript/src/components/NIButton/NIButton.d.ts +0 -1
- package/lib/typescript/src/components/NIButton/NIButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Pin/CapturePin.d.ts +0 -1
- package/lib/typescript/src/components/Pin/CapturePin.d.ts.map +1 -1
- package/lib/typescript/src/components/Pin/NextButton.d.ts +0 -1
- package/lib/typescript/src/components/Pin/NextButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Pin/ShowHideButton.d.ts +0 -1
- package/lib/typescript/src/components/Pin/ShowHideButton.d.ts.map +1 -1
- package/lib/typescript/src/components/PinState/LoadingState.d.ts +0 -1
- package/lib/typescript/src/components/PinState/LoadingState.d.ts.map +1 -1
- package/lib/typescript/src/components/PinState/PinState.d.ts +0 -1
- package/lib/typescript/src/components/PinState/PinState.d.ts.map +1 -1
- package/lib/typescript/src/components/SetPin/ConfirmPin.d.ts +0 -1
- package/lib/typescript/src/components/SetPin/ConfirmPin.d.ts.map +1 -1
- package/lib/typescript/src/components/SetPin/ReenterCardPin.d.ts +0 -1
- package/lib/typescript/src/components/SetPin/ReenterCardPin.d.ts.map +1 -1
- package/lib/typescript/src/components/SetPin/SetPin.d.ts +0 -1
- package/lib/typescript/src/components/SetPin/SetPin.d.ts.map +1 -1
- package/lib/typescript/src/components/SetPin/SetUpNewCardPin.d.ts +0 -1
- package/lib/typescript/src/components/SetPin/SetUpNewCardPin.d.ts.map +1 -1
- package/lib/typescript/src/components/VerifyPin/CaptureVerifyPin.d.ts +0 -1
- package/lib/typescript/src/components/VerifyPin/CaptureVerifyPin.d.ts.map +1 -1
- package/lib/typescript/src/components/VerifyPin/ConfirmPin.d.ts +0 -1
- package/lib/typescript/src/components/VerifyPin/ConfirmPin.d.ts.map +1 -1
- package/lib/typescript/src/components/VerifyPin/VerifyPin.d.ts +0 -1
- package/lib/typescript/src/components/VerifyPin/VerifyPin.d.ts.map +1 -1
- package/lib/typescript/src/components/ViewPin/ViewPin.d.ts +0 -1
- package/lib/typescript/src/components/ViewPin/ViewPin.d.ts.map +1 -1
- package/lib/typescript/src/components/icons/PredeterminedIcon.d.ts +2 -2
- package/lib/typescript/src/components/icons/PredeterminedIcon.d.ts.map +1 -1
- package/lib/typescript/src/config/localization.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useChangePin.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useGetCardDetails.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useSetPin.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useVerifyPin.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useViewPin.d.ts +1 -1
- package/lib/typescript/src/hooks/useViewPin.d.ts.map +1 -1
- package/lib/typescript/src/interfaces/NiCardManagementInterfaces.d.ts +1 -1
- package/lib/typescript/src/interfaces/NiCardManagementInterfaces.d.ts.map +1 -1
- package/lib/typescript/src/interfaces/NiInputInterfaces.d.ts +4 -2
- package/lib/typescript/src/interfaces/NiInputInterfaces.d.ts.map +1 -1
- package/lib/typescript/src/nativeComponents/NICardManagementSDKModule.d.ts.map +1 -1
- package/lib/typescript/src/utils/formatInput.d.ts.map +1 -1
- package/lib/typescript/src/utils/normalizeNativeError.d.ts +4 -0
- package/lib/typescript/src/utils/normalizeNativeError.d.ts.map +1 -0
- package/package.json +26 -26
- package/react-native-ni-card-management.podspec +24 -17
- package/src/NICardManagementComponents/CardDetailsComponent.tsx +4 -2
- package/src/NICardManagementComponents/NiInputInterfaces.ts +2 -0
- package/src/NICardManagementComponents/ViewPinComponent.tsx +4 -2
- package/src/components/CardDetails/CardHolderNameGroups.tsx +1 -1
- package/src/components/CardDetails/CardNumberGroup.tsx +1 -1
- package/src/components/CardDetails/DateCVVGroupOneRow.tsx +1 -1
- package/src/components/NIButton/NIButton.tsx +31 -7
- package/src/config/localization.ts +2 -1
- package/src/hooks/useChangePin.ts +29 -24
- package/src/hooks/useGetCardDetails.ts +25 -20
- package/src/hooks/useSetPin.ts +27 -22
- package/src/hooks/useVerifyPin.ts +27 -22
- package/src/hooks/useViewPin.ts +25 -20
- package/src/interfaces/NiCardManagementInterfaces.ts +1 -1
- package/src/interfaces/NiInputInterfaces.ts +6 -2
- package/src/types/jsx-compat.d.ts +20 -0
- package/src/utils/normalizeNativeError.ts +54 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","
|
|
1
|
+
{"version":3,"names":["React","Pressable","Text","LinearGradient","styles","NIButton","title","mode","textColor","colors","disabled","opacity","onPress","defaultLinearGradientColors","buttonStyle","resolvedMode","contentStyle","borderRadius","borderWidth","borderColor","backgroundColor","alignItems","justifyContent","paddingVertical","paddingHorizontal","titleStyle","color","fontSize","fontWeight","createElement","start","x","y","end","locations","style","button","accessibilityRole","pressed"],"sourceRoot":"../../../../src","sources":["components/NIButton/NIButton.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,SAAS,EAAEC,IAAI,QAAwC,cAAc;AAC9E,OAAOC,cAAc,MAAM,8BAA8B;AAEzD,OAAOC,MAAM,MAAM,UAAU;AAkB7B,SAASC,QAAQA,CAAC;EAChBC,KAAK;EACLC,IAAI;EACJC,SAAS;EACTC,MAAM;EACNC,QAAQ;EACRC,OAAO;EACPC;AACiB,CAAC,EAAe;EACjC,MAAMC,2BAA2B,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC;EACrE,MAAMC,WAAsB,GAAG;IAC7BH,OAAO,EAAEA;EACX,CAAC;EACD,MAAMI,YAAY,GAAGR,IAAI,IAAI,MAAM;EAEnC,MAAMS,YAAuB,GAAG;IAC9BC,YAAY,EAAE,EAAE;IAChBC,WAAW,EAAEH,YAAY,KAAK,UAAU,GAAG,CAAC,GAAG,CAAC;IAChDI,WAAW,EAAE,0BAA0B;IACvCC,eAAe,EACbL,YAAY,KAAK,WAAW,IAAIA,YAAY,KAAK,iBAAiB,GAC9D,qBAAqB,GACrB,aAAa;IACnBM,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,eAAe,EAAE,EAAE;IACnBC,iBAAiB,EAAE;EACrB,CAAC;EAED,MAAMC,UAAqB,GAAG;IAC5BC,KAAK,EAAEhB,QAAQ,GAAG,qBAAqB,GAAGF,SAAS,IAAI,SAAS;IAChEmB,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE;EACd,CAAC;EAED,oBACE5B,KAAA,CAAA6B,aAAA,CAAC1B,cAAc;IACb2B,KAAK,EAAE;MAAEC,CAAC,EAAE,CAAC;MAAEC,CAAC,EAAE;IAAE,CAAE;IACtBC,GAAG,EAAE;MAAEF,CAAC,EAAE,CAAC;MAAEC,CAAC,EAAE;IAAE,CAAE;IACpBE,SAAS,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,GAAG,CAAE;IAC1BC,KAAK,EAAE,CAAC/B,MAAM,CAACgC,MAAM,EAAEtB,WAAW,CAAE;IACpCL,MAAM,EAAG,CAACC,QAAQ,IAAID,MAAM,IAAKI;EAA4B,gBAE7Db,KAAA,CAAA6B,aAAA,CAAC5B,SAAS;IACRoC,iBAAiB,EAAC,QAAQ;IAC1B3B,QAAQ,EAAEA,QAAS;IACnBE,OAAO,EAAEA,OAAQ;IACjBuB,KAAK,EAAEA,CAAC;MAAEG;IAAQ,CAAC,KAAK,CACtBtB,YAAY,EACZsB,OAAO,IAAI,CAAC5B,QAAQ,GAAG;MAAEC,OAAO,EAAE;IAAI,CAAC,GAAG,IAAI;EAC9C,gBAEFX,KAAA,CAAA6B,aAAA,CAAC3B,IAAI;IAACiC,KAAK,EAAEV;EAAW,GAAEnB,KAAY,CAC7B,CACG,CAAC;AAErB;AAEA,SAASD,QAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["english","cardNumber","expiry","CVV","cardHolderName","enterNewCardPin","confirmCardPIN","wrongCardPin","enterCurrentCardPin","enterVerifyCardPin","verifyPinButtonLabel","setPinButtonLabel","changePinButtonLabel","copiedToClipboard","viewPinCountdownLabel","count","show","hide","arabic","localization"],"sourceRoot":"../../../src","sources":["config/localization.ts"],"mappings":"AAAA,MAAMA,OAAO,GAAG;EACdC,UAAU,EAAE,aAAa;EACzBC,MAAM,EAAE,QAAQ;EAChBC,GAAG,EAAE,KAAK;EACVC,cAAc,EAAE,MAAM;EACtBC,eAAe,EAAE,8CAA8C;EAC/DC,cAAc,EAAE,wBAAwB;EACxCC,YAAY,EAAE,mDAAmD;EACjEC,mBAAmB,EAAE,kDAAkD;EACvEC,kBAAkB,EAAE,+CAA+C;EACnEC,oBAAoB,EAAE,YAAY;EAClCC,iBAAiB,EAAE,SAAS;EAC5BC,oBAAoB,EAAE,YAAY;EAClCC,iBAAiB,EAAE,qBAAqB;EACxCC,qBAAqB,EAAGC,KAAa,IACnC,wBAAwB,GAAGA,KAAK,GAAG,UAAU;EAC/CC,IAAI,EAAE,MAAM;EACZC,IAAI,EAAE;AACR,CAAC;AAED,MAAMC,MAAM,GAAG;EACbjB,UAAU,EAAE,aAAa;EACzBC,MAAM,EAAE,gBAAgB;EACxBC,GAAG,EAAE,mCAAmC;EACxCC,cAAc,EAAE,OAAO;EACvBC,eAAe,EAAE,6CAA6C;EAC9DC,cAAc,EAAE,gDAAgD;EAChEC,YAAY,
|
|
1
|
+
{"version":3,"names":["english","cardNumber","expiry","CVV","cardHolderName","enterNewCardPin","confirmCardPIN","wrongCardPin","enterCurrentCardPin","enterVerifyCardPin","verifyPinButtonLabel","setPinButtonLabel","changePinButtonLabel","copiedToClipboard","viewPinCountdownLabel","count","show","hide","arabic","localization"],"sourceRoot":"../../../src","sources":["config/localization.ts"],"mappings":"AAAA,MAAMA,OAAO,GAAG;EACdC,UAAU,EAAE,aAAa;EACzBC,MAAM,EAAE,QAAQ;EAChBC,GAAG,EAAE,KAAK;EACVC,cAAc,EAAE,MAAM;EACtBC,eAAe,EAAE,8CAA8C;EAC/DC,cAAc,EAAE,wBAAwB;EACxCC,YAAY,EAAE,mDAAmD;EACjEC,mBAAmB,EAAE,kDAAkD;EACvEC,kBAAkB,EAAE,+CAA+C;EACnEC,oBAAoB,EAAE,YAAY;EAClCC,iBAAiB,EAAE,SAAS;EAC5BC,oBAAoB,EAAE,YAAY;EAClCC,iBAAiB,EAAE,qBAAqB;EACxCC,qBAAqB,EAAGC,KAAa,IACnC,wBAAwB,GAAGA,KAAK,GAAG,UAAU;EAC/CC,IAAI,EAAE,MAAM;EACZC,IAAI,EAAE;AACR,CAAC;AAED,MAAMC,MAAM,GAAG;EACbjB,UAAU,EAAE,aAAa;EACzBC,MAAM,EAAE,gBAAgB;EACxBC,GAAG,EAAE,mCAAmC;EACxCC,cAAc,EAAE,OAAO;EACvBC,eAAe,EAAE,6CAA6C;EAC9DC,cAAc,EAAE,gDAAgD;EAChEC,YAAY,EACV,sFAAsF;EACxFC,mBAAmB,EAAE,6CAA6C;EAClEC,kBAAkB,EAAE,mDAAmD;EACvEC,oBAAoB,EAAE,6BAA6B;EACnDC,iBAAiB,EAAE,mBAAmB;EACtCC,oBAAoB,EAAE,+BAA+B;EACrDC,iBAAiB,EAAE,sBAAsB;EACzCC,qBAAqB,EAAGC,KAAa,IACnC,oBAAoB,GAAGA,KAAK,GAAG,4CAA4C;EAC7EC,IAAI,EAAE,WAAW;EACjBC,IAAI,EAAE;AACR,CAAC;AAED,OAAO,MAAME,YAAY,GAAG;EAC1BnB,OAAO,EAAEA,OAAO;EAChBkB,MAAM,EAAEA;AACV,CAAC"}
|
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import { useState } from 'react';
|
|
1
|
+
import { useCallback, useState } from 'react';
|
|
2
2
|
import NICardManagementSDKModule from '../nativeComponents/NICardManagementSDKModule';
|
|
3
3
|
import formatInput from '../utils/formatInput';
|
|
4
|
+
import normalizeNativeError from '../utils/normalizeNativeError';
|
|
4
5
|
export const useChangePin = () => {
|
|
5
6
|
const [result, setResult] = useState();
|
|
6
7
|
const [error, setError] = useState();
|
|
7
8
|
const [isLoading, setIsLoading] = useState(false);
|
|
8
|
-
const onChangePin = (oldPin, newPin, input, callback) => {
|
|
9
|
+
const onChangePin = useCallback((oldPin, newPin, input, callback) => {
|
|
9
10
|
setIsLoading(true);
|
|
10
11
|
NICardManagementSDKModule.changePin(oldPin, newPin, formatInput(input), (err, res) => {
|
|
11
12
|
setIsLoading(false);
|
|
12
13
|
if (err) {
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
const normalizedError = normalizeNativeError(err);
|
|
15
|
+
setError(normalizedError);
|
|
16
|
+
callback && callback(normalizedError, null);
|
|
15
17
|
} else if (res) {
|
|
16
18
|
setResult(res);
|
|
17
19
|
setError(null);
|
|
18
20
|
callback && callback(null, res);
|
|
19
21
|
}
|
|
20
22
|
});
|
|
21
|
-
};
|
|
23
|
+
}, []);
|
|
22
24
|
return {
|
|
23
25
|
result,
|
|
24
26
|
error,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useState","NICardManagementSDKModule","formatInput","useChangePin","result","setResult","error","setError","isLoading","setIsLoading","onChangePin","oldPin","newPin","input","callback","changePin","err","res"],"sourceRoot":"../../../src","sources":["hooks/useChangePin.ts"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,OAAO;
|
|
1
|
+
{"version":3,"names":["useCallback","useState","NICardManagementSDKModule","formatInput","normalizeNativeError","useChangePin","result","setResult","error","setError","isLoading","setIsLoading","onChangePin","oldPin","newPin","input","callback","changePin","err","res","normalizedError"],"sourceRoot":"../../../src","sources":["hooks/useChangePin.ts"],"mappings":"AAAA,SAASA,WAAW,EAAEC,QAAQ,QAAQ,OAAO;AAE7C,OAAOC,yBAAyB,MAAM,+CAA+C;AAErF,OAAOC,WAAW,MAAM,sBAAsB;AAC9C,OAAOC,oBAAoB,MAAM,+BAA+B;AAGhE,OAAO,MAAMC,YAAY,GAAGA,CAAA,KAAM;EAChC,MAAM,CAACC,MAAM,EAAEC,SAAS,CAAC,GAAGN,QAAQ,CAAgB,CAAC;EACrD,MAAM,CAACO,KAAK,EAAEC,QAAQ,CAAC,GAAGR,QAAQ,CAAyB,CAAC;EAC5D,MAAM,CAACS,SAAS,EAAEC,YAAY,CAAC,GAAGV,QAAQ,CAAU,KAAK,CAAC;EAE1D,MAAMW,WAAW,GAAGZ,WAAW,CAC7B,CACEa,MAAc,EACdC,MAAc,EACdC,KAAuB,EACvBC,QAAwE,KAC/D;IACTL,YAAY,CAAC,IAAI,CAAC;IAClBT,yBAAyB,CAACe,SAAS,CACjCJ,MAAM,EACNC,MAAM,EACNX,WAAW,CAACY,KAAK,CAAC,EAClB,CAACG,GAAY,EAAEC,GAA8B,KAAK;MAChDR,YAAY,CAAC,KAAK,CAAC;MACnB,IAAIO,GAAG,EAAE;QACP,MAAME,eAAe,GAAGhB,oBAAoB,CAACc,GAAG,CAAC;QACjDT,QAAQ,CAACW,eAAe,CAAC;QACzBJ,QAAQ,IAAIA,QAAQ,CAACI,eAAe,EAAE,IAAI,CAAC;MAC7C,CAAC,MAAM,IAAID,GAAG,EAAE;QACdZ,SAAS,CAACY,GAAG,CAAC;QACdV,QAAQ,CAAC,IAAI,CAAC;QACdO,QAAQ,IAAIA,QAAQ,CAAC,IAAI,EAAEG,GAAG,CAAC;MACjC;IACF,CACF,CAAC;EACH,CAAC,EACD,EACF,CAAC;EAED,OAAO;IAAEb,MAAM;IAAEE,KAAK;IAAEE,SAAS;IAAEE;EAAY,CAAC;AAClD,CAAC"}
|
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import { useState } from 'react';
|
|
1
|
+
import { useCallback, useState } from 'react';
|
|
2
2
|
import NICardManagementSDKModule from '../nativeComponents/NICardManagementSDKModule';
|
|
3
3
|
import formatInput from '../utils/formatInput';
|
|
4
|
+
import normalizeNativeError from '../utils/normalizeNativeError';
|
|
4
5
|
export const useGetCardDetails = () => {
|
|
5
6
|
const [result, setResult] = useState();
|
|
6
7
|
const [error, setError] = useState();
|
|
7
8
|
const [isLoading, setIsLoading] = useState(false);
|
|
8
|
-
const onGetCardDetails = (input, callback) => {
|
|
9
|
+
const onGetCardDetails = useCallback((input, callback) => {
|
|
9
10
|
setIsLoading(true);
|
|
10
11
|
NICardManagementSDKModule.getCardDetails(formatInput(input), (err, res) => {
|
|
11
12
|
setIsLoading(false);
|
|
12
13
|
if (err) {
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
const normalizedError = normalizeNativeError(err);
|
|
15
|
+
setError(normalizedError);
|
|
16
|
+
callback && callback(normalizedError, null);
|
|
15
17
|
} else if (res) {
|
|
16
18
|
setResult(res);
|
|
17
19
|
setError(null);
|
|
18
20
|
callback && callback(null, 'Card details retrieved with success!');
|
|
19
21
|
}
|
|
20
22
|
});
|
|
21
|
-
};
|
|
23
|
+
}, []);
|
|
22
24
|
return {
|
|
23
25
|
result,
|
|
24
26
|
error,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useState","NICardManagementSDKModule","formatInput","useGetCardDetails","result","setResult","error","setError","isLoading","setIsLoading","onGetCardDetails","input","callback","getCardDetails","err","res"],"sourceRoot":"../../../src","sources":["hooks/useGetCardDetails.ts"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,OAAO;
|
|
1
|
+
{"version":3,"names":["useCallback","useState","NICardManagementSDKModule","formatInput","normalizeNativeError","useGetCardDetails","result","setResult","error","setError","isLoading","setIsLoading","onGetCardDetails","input","callback","getCardDetails","err","res","normalizedError"],"sourceRoot":"../../../src","sources":["hooks/useGetCardDetails.ts"],"mappings":"AAAA,SAASA,WAAW,EAAEC,QAAQ,QAAQ,OAAO;AAE7C,OAAOC,yBAAyB,MAAM,+CAA+C;AAErF,OAAOC,WAAW,MAAM,sBAAsB;AAC9C,OAAOC,oBAAoB,MAAM,+BAA+B;AAMhE,OAAO,MAAMC,iBAAiB,GAAGA,CAAA,KAAM;EACrC,MAAM,CAACC,MAAM,EAAEC,SAAS,CAAC,GAAGN,QAAQ,CAA2B,CAAC;EAChE,MAAM,CAACO,KAAK,EAAEC,QAAQ,CAAC,GAAGR,QAAQ,CAAyB,CAAC;EAC5D,MAAM,CAACS,SAAS,EAAEC,YAAY,CAAC,GAAGV,QAAQ,CAAU,KAAK,CAAC;EAE1D,MAAMW,gBAAgB,GAAGZ,WAAW,CAClC,CACEa,KAAuB,EACvBC,QAAwE,KAC/D;IACTH,YAAY,CAAC,IAAI,CAAC;IAClBT,yBAAyB,CAACa,cAAc,CACtCZ,WAAW,CAACU,KAAK,CAAC,EAClB,CAACG,GAAY,EAAEC,GAAoC,KAAK;MACtDN,YAAY,CAAC,KAAK,CAAC;MACnB,IAAIK,GAAG,EAAE;QACP,MAAME,eAAe,GAAGd,oBAAoB,CAACY,GAAG,CAAC;QACjDP,QAAQ,CAACS,eAAe,CAAC;QACzBJ,QAAQ,IAAIA,QAAQ,CAACI,eAAe,EAAE,IAAI,CAAC;MAC7C,CAAC,MAAM,IAAID,GAAG,EAAE;QACdV,SAAS,CAACU,GAAG,CAAC;QACdR,QAAQ,CAAC,IAAI,CAAC;QACdK,QAAQ,IAAIA,QAAQ,CAAC,IAAI,EAAE,sCAAsC,CAAC;MACpE;IACF,CACF,CAAC;EACH,CAAC,EACD,EACF,CAAC;EAED,OAAO;IAAER,MAAM;IAAEE,KAAK;IAAEE,SAAS;IAAEE;EAAiB,CAAC;AACvD,CAAC"}
|
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import { useState } from 'react';
|
|
1
|
+
import { useCallback, useState } from 'react';
|
|
2
2
|
import NICardManagementSDKModule from '../nativeComponents/NICardManagementSDKModule';
|
|
3
3
|
import formatInput from '../utils/formatInput';
|
|
4
|
+
import normalizeNativeError from '../utils/normalizeNativeError';
|
|
4
5
|
export const useSetPin = () => {
|
|
5
6
|
const [result, setResult] = useState();
|
|
6
7
|
const [error, setError] = useState();
|
|
7
8
|
const [isLoading, setIsLoading] = useState(false);
|
|
8
|
-
const onSetPin = (pin, input, callback) => {
|
|
9
|
+
const onSetPin = useCallback((pin, input, callback) => {
|
|
9
10
|
setIsLoading(true);
|
|
10
11
|
NICardManagementSDKModule.setPin(pin, formatInput(input), (err, res) => {
|
|
11
12
|
setIsLoading(false);
|
|
12
13
|
if (err) {
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
const normalizedError = normalizeNativeError(err);
|
|
15
|
+
setError(normalizedError);
|
|
16
|
+
callback && callback(normalizedError, null);
|
|
15
17
|
} else if (res) {
|
|
16
18
|
setError(null);
|
|
17
19
|
setResult(res);
|
|
18
20
|
callback && callback(null, res);
|
|
19
21
|
}
|
|
20
22
|
});
|
|
21
|
-
};
|
|
23
|
+
}, []);
|
|
22
24
|
return {
|
|
23
25
|
result,
|
|
24
26
|
error,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useState","NICardManagementSDKModule","formatInput","useSetPin","result","setResult","error","setError","isLoading","setIsLoading","onSetPin","pin","input","callback","setPin","err","res"],"sourceRoot":"../../../src","sources":["hooks/useSetPin.ts"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,OAAO;
|
|
1
|
+
{"version":3,"names":["useCallback","useState","NICardManagementSDKModule","formatInput","normalizeNativeError","useSetPin","result","setResult","error","setError","isLoading","setIsLoading","onSetPin","pin","input","callback","setPin","err","res","normalizedError"],"sourceRoot":"../../../src","sources":["hooks/useSetPin.ts"],"mappings":"AAAA,SAASA,WAAW,EAAEC,QAAQ,QAAQ,OAAO;AAE7C,OAAOC,yBAAyB,MAAM,+CAA+C;AAErF,OAAOC,WAAW,MAAM,sBAAsB;AAC9C,OAAOC,oBAAoB,MAAM,+BAA+B;AAGhE,OAAO,MAAMC,SAAS,GAAGA,CAAA,KAAM;EAC7B,MAAM,CAACC,MAAM,EAAEC,SAAS,CAAC,GAAGN,QAAQ,CAAgB,CAAC;EACrD,MAAM,CAACO,KAAK,EAAEC,QAAQ,CAAC,GAAGR,QAAQ,CAAyB,CAAC;EAC5D,MAAM,CAACS,SAAS,EAAEC,YAAY,CAAC,GAAGV,QAAQ,CAAU,KAAK,CAAC;EAE1D,MAAMW,QAAQ,GAAGZ,WAAW,CAC1B,CACEa,GAAW,EACXC,KAAuB,EACvBC,QAAwE,KAC/D;IACTJ,YAAY,CAAC,IAAI,CAAC;IAClBT,yBAAyB,CAACc,MAAM,CAC9BH,GAAG,EACHV,WAAW,CAACW,KAAK,CAAC,EAClB,CAACG,GAAY,EAAEC,GAA8B,KAAK;MAChDP,YAAY,CAAC,KAAK,CAAC;MACnB,IAAIM,GAAG,EAAE;QACP,MAAME,eAAe,GAAGf,oBAAoB,CAACa,GAAG,CAAC;QACjDR,QAAQ,CAACU,eAAe,CAAC;QACzBJ,QAAQ,IAAIA,QAAQ,CAACI,eAAe,EAAE,IAAI,CAAC;MAC7C,CAAC,MAAM,IAAID,GAAG,EAAE;QACdT,QAAQ,CAAC,IAAI,CAAC;QACdF,SAAS,CAACW,GAAG,CAAC;QACdH,QAAQ,IAAIA,QAAQ,CAAC,IAAI,EAAEG,GAAG,CAAC;MACjC;IACF,CACF,CAAC;EACH,CAAC,EACD,EACF,CAAC;EAED,OAAO;IAAEZ,MAAM;IAAEE,KAAK;IAAEE,SAAS;IAAEE;EAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import { useState } from 'react';
|
|
1
|
+
import { useCallback, useState } from 'react';
|
|
2
2
|
import NICardManagementSDKModule from '../nativeComponents/NICardManagementSDKModule';
|
|
3
3
|
import formatInput from '../utils/formatInput';
|
|
4
|
+
import normalizeNativeError from '../utils/normalizeNativeError';
|
|
4
5
|
export const useVerifyPin = () => {
|
|
5
6
|
const [result, setResult] = useState();
|
|
6
7
|
const [error, setError] = useState();
|
|
7
8
|
const [isLoading, setIsLoading] = useState(false);
|
|
8
|
-
const onVerifyPin = (pin, input, callback) => {
|
|
9
|
+
const onVerifyPin = useCallback((pin, input, callback) => {
|
|
9
10
|
setIsLoading(true);
|
|
10
11
|
NICardManagementSDKModule.verifyPin(pin, formatInput(input), (err, res) => {
|
|
11
12
|
setIsLoading(false);
|
|
12
13
|
if (err) {
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
const normalizedError = normalizeNativeError(err);
|
|
15
|
+
setError(normalizedError);
|
|
16
|
+
callback && callback(normalizedError, null);
|
|
15
17
|
} else if (res) {
|
|
16
18
|
setResult(res);
|
|
17
19
|
setError(null);
|
|
18
20
|
callback && callback(null, res);
|
|
19
21
|
}
|
|
20
22
|
});
|
|
21
|
-
};
|
|
23
|
+
}, []);
|
|
22
24
|
return {
|
|
23
25
|
result,
|
|
24
26
|
error,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useState","NICardManagementSDKModule","formatInput","useVerifyPin","result","setResult","error","setError","isLoading","setIsLoading","onVerifyPin","pin","input","callback","verifyPin","err","res"],"sourceRoot":"../../../src","sources":["hooks/useVerifyPin.ts"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,OAAO;
|
|
1
|
+
{"version":3,"names":["useCallback","useState","NICardManagementSDKModule","formatInput","normalizeNativeError","useVerifyPin","result","setResult","error","setError","isLoading","setIsLoading","onVerifyPin","pin","input","callback","verifyPin","err","res","normalizedError"],"sourceRoot":"../../../src","sources":["hooks/useVerifyPin.ts"],"mappings":"AAAA,SAASA,WAAW,EAAEC,QAAQ,QAAQ,OAAO;AAE7C,OAAOC,yBAAyB,MAAM,+CAA+C;AAErF,OAAOC,WAAW,MAAM,sBAAsB;AAC9C,OAAOC,oBAAoB,MAAM,+BAA+B;AAGhE,OAAO,MAAMC,YAAY,GAAGA,CAAA,KAAM;EAChC,MAAM,CAACC,MAAM,EAAEC,SAAS,CAAC,GAAGN,QAAQ,CAAgB,CAAC;EACrD,MAAM,CAACO,KAAK,EAAEC,QAAQ,CAAC,GAAGR,QAAQ,CAAyB,CAAC;EAC5D,MAAM,CAACS,SAAS,EAAEC,YAAY,CAAC,GAAGV,QAAQ,CAAU,KAAK,CAAC;EAE1D,MAAMW,WAAW,GAAGZ,WAAW,CAC7B,CACEa,GAAW,EACXC,KAAuB,EACvBC,QAAwE,KAC/D;IACTJ,YAAY,CAAC,IAAI,CAAC;IAClBT,yBAAyB,CAACc,SAAS,CACjCH,GAAG,EACHV,WAAW,CAACW,KAAK,CAAC,EAClB,CAACG,GAAY,EAAEC,GAAW,KAAK;MAC7BP,YAAY,CAAC,KAAK,CAAC;MACnB,IAAIM,GAAG,EAAE;QACP,MAAME,eAAe,GAAGf,oBAAoB,CAACa,GAAG,CAAC;QACjDR,QAAQ,CAACU,eAAe,CAAC;QACzBJ,QAAQ,IAAIA,QAAQ,CAACI,eAAe,EAAE,IAAI,CAAC;MAC7C,CAAC,MAAM,IAAID,GAAG,EAAE;QACdX,SAAS,CAACW,GAAG,CAAC;QACdT,QAAQ,CAAC,IAAI,CAAC;QACdM,QAAQ,IAAIA,QAAQ,CAAC,IAAI,EAAEG,GAAG,CAAC;MACjC;IACF,CACF,CAAC;EACH,CAAC,EACD,EACF,CAAC;EAED,OAAO;IAAEZ,MAAM;IAAEE,KAAK;IAAEE,SAAS;IAAEE;EAAY,CAAC;AAClD,CAAC"}
|
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
import { useState } from 'react';
|
|
1
|
+
import { useCallback, useState } from 'react';
|
|
2
2
|
import NICardManagementSDKModule from '../nativeComponents/NICardManagementSDKModule';
|
|
3
3
|
import formatInput from '../utils/formatInput';
|
|
4
|
+
import normalizeNativeError from '../utils/normalizeNativeError';
|
|
4
5
|
export const useViewPin = () => {
|
|
5
6
|
const [result, setResult] = useState();
|
|
6
7
|
const [error, setError] = useState();
|
|
7
8
|
const [isLoading, setIsLoading] = useState(false);
|
|
8
|
-
const onViewPin = (input, callback) => {
|
|
9
|
+
const onViewPin = useCallback((input, callback) => {
|
|
9
10
|
setIsLoading(true);
|
|
10
11
|
NICardManagementSDKModule.getPin(formatInput(input), (err, res) => {
|
|
11
12
|
setIsLoading(false);
|
|
12
13
|
if (err) {
|
|
13
|
-
|
|
14
|
-
|
|
14
|
+
const normalizedError = normalizeNativeError(err);
|
|
15
|
+
setError(normalizedError);
|
|
16
|
+
callback && callback(normalizedError, null);
|
|
15
17
|
} else if (res) {
|
|
16
18
|
setResult(res);
|
|
17
19
|
setError(null);
|
|
18
20
|
callback && callback(null, res);
|
|
19
21
|
}
|
|
20
22
|
});
|
|
21
|
-
};
|
|
23
|
+
}, []);
|
|
22
24
|
return {
|
|
23
25
|
result,
|
|
24
26
|
error,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useState","NICardManagementSDKModule","formatInput","useViewPin","result","setResult","error","setError","isLoading","setIsLoading","onViewPin","input","callback","getPin","err","res"],"sourceRoot":"../../../src","sources":["hooks/useViewPin.ts"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,OAAO;
|
|
1
|
+
{"version":3,"names":["useCallback","useState","NICardManagementSDKModule","formatInput","normalizeNativeError","useViewPin","result","setResult","error","setError","isLoading","setIsLoading","onViewPin","input","callback","getPin","err","res","normalizedError"],"sourceRoot":"../../../src","sources":["hooks/useViewPin.ts"],"mappings":"AAAA,SAASA,WAAW,EAAEC,QAAQ,QAAQ,OAAO;AAE7C,OAAOC,yBAAyB,MAAM,+CAA+C;AAErF,OAAOC,WAAW,MAAM,sBAAsB;AAC9C,OAAOC,oBAAoB,MAAM,+BAA+B;AAGhE,OAAO,MAAMC,UAAU,GAAGA,CAAA,KAAM;EAC9B,MAAM,CAACC,MAAM,EAAEC,SAAS,CAAC,GAAGN,QAAQ,CAAgB,CAAC;EACrD,MAAM,CAACO,KAAK,EAAEC,QAAQ,CAAC,GAAGR,QAAQ,CAAyB,CAAC;EAC5D,MAAM,CAACS,SAAS,EAAEC,YAAY,CAAC,GAAGV,QAAQ,CAAU,KAAK,CAAC;EAE1D,MAAMW,SAAS,GAAGZ,WAAW,CAC3B,CACEa,KAAuB,EACvBC,QAAyE,KACtE;IACHH,YAAY,CAAC,IAAI,CAAC;IAClBT,yBAAyB,CAACa,MAAM,CAC9BZ,WAAW,CAACU,KAAK,CAAC,EAClB,CAACG,GAAY,EAAEC,GAAkB,KAAK;MACpCN,YAAY,CAAC,KAAK,CAAC;MACnB,IAAIK,GAAG,EAAE;QACP,MAAME,eAAe,GAAGd,oBAAoB,CAACY,GAAG,CAAC;QACjDP,QAAQ,CAACS,eAAe,CAAC;QACzBJ,QAAQ,IAAIA,QAAQ,CAACI,eAAe,EAAE,IAAI,CAAC;MAC7C,CAAC,MAAM,IAAID,GAAG,EAAE;QACdV,SAAS,CAACU,GAAG,CAAC;QACdR,QAAQ,CAAC,IAAI,CAAC;QACdK,QAAQ,IAAIA,QAAQ,CAAC,IAAI,EAAEG,GAAG,CAAC;MACjC;IACF,CACF,CAAC;EACH,CAAC,EACD,EACF,CAAC;EAED,OAAO;IAAEX,MAAM;IAAEE,KAAK;IAAEE,SAAS;IAAEE;EAAU,CAAC;AAChD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/jsx-compat.d.ts"],"mappings":"AAmBA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const DEFAULT_DOMAIN = 'com.nicardmanagement.bridge';
|
|
2
|
+
const DEFAULT_CODE = 'UNKNOWN_ERROR';
|
|
3
|
+
const normalizeNativeError = err => {
|
|
4
|
+
if (typeof err === 'string') {
|
|
5
|
+
return {
|
|
6
|
+
domain: DEFAULT_DOMAIN,
|
|
7
|
+
code: DEFAULT_CODE,
|
|
8
|
+
message: err
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
if (err && typeof err === 'object') {
|
|
12
|
+
const candidate = err;
|
|
13
|
+
const message = typeof candidate.message === 'string' ? candidate.message : typeof candidate.errorMessage === 'string' ? candidate.errorMessage : 'An unknown native error occurred';
|
|
14
|
+
return {
|
|
15
|
+
domain: typeof candidate.domain === 'string' ? candidate.domain : DEFAULT_DOMAIN,
|
|
16
|
+
code: typeof candidate.code === 'string' || typeof candidate.code === 'number' ? candidate.code : typeof candidate.errorCode === 'string' || typeof candidate.errorCode === 'number' ? candidate.errorCode : DEFAULT_CODE,
|
|
17
|
+
message
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
return {
|
|
21
|
+
domain: DEFAULT_DOMAIN,
|
|
22
|
+
code: DEFAULT_CODE,
|
|
23
|
+
message: 'An unknown native error occurred'
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default normalizeNativeError;
|
|
27
|
+
//# sourceMappingURL=normalizeNativeError.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["DEFAULT_DOMAIN","DEFAULT_CODE","normalizeNativeError","err","domain","code","message","candidate","errorMessage","errorCode"],"sourceRoot":"../../../src","sources":["utils/normalizeNativeError.ts"],"mappings":"AAEA,MAAMA,cAAc,GAAG,6BAA6B;AACpD,MAAMC,YAAY,GAAG,eAAe;AAEpC,MAAMC,oBAAoB,GAAIC,GAAY,IAAsB;EAC9D,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE;IAC3B,OAAO;MACLC,MAAM,EAAEJ,cAAc;MACtBK,IAAI,EAAEJ,YAAY;MAClBK,OAAO,EAAEH;IACX,CAAC;EACH;EAEA,IAAIA,GAAG,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE;IAClC,MAAMI,SAAS,GAAGJ,GAMjB;IAED,MAAMG,OAAO,GACX,OAAOC,SAAS,CAACD,OAAO,KAAK,QAAQ,GACjCC,SAAS,CAACD,OAAO,GACjB,OAAOC,SAAS,CAACC,YAAY,KAAK,QAAQ,GAC1CD,SAAS,CAACC,YAAY,GACtB,kCAAkC;IAExC,OAAO;MACLJ,MAAM,EACJ,OAAOG,SAAS,CAACH,MAAM,KAAK,QAAQ,GAChCG,SAAS,CAACH,MAAM,GAChBJ,cAAc;MACpBK,IAAI,EACF,OAAOE,SAAS,CAACF,IAAI,KAAK,QAAQ,IAAI,OAAOE,SAAS,CAACF,IAAI,KAAK,QAAQ,GACpEE,SAAS,CAACF,IAAI,GACd,OAAOE,SAAS,CAACE,SAAS,KAAK,QAAQ,IACvC,OAAOF,SAAS,CAACE,SAAS,KAAK,QAAQ,GACvCF,SAAS,CAACE,SAAS,GACnBR,YAAY;MAClBK;IACF,CAAC;EACH;EAEA,OAAO;IACLF,MAAM,EAAEJ,cAAc;IACtBK,IAAI,EAAEJ,YAAY;IAClBK,OAAO,EAAE;EACX,CAAC;AACH,CAAC;AAED,eAAeJ,oBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardDetailsComponent.d.ts","sourceRoot":"","sources":["../../../../src/NICardManagementComponents/CardDetailsComponent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardDetailsComponent.d.ts","sourceRoot":"","sources":["../../../../src/NICardManagementComponents/CardDetailsComponent.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAGzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AAGzF,iBAAS,oBAAoB,CAAC,EAC5B,KAAK,EACL,QAAQ,GACT,EAAE,sBAAsB,GAAG,GAAG,CAAC,OAAO,CAoDtC;AAQD,OAAO,EACL,oBAAoB,EACpB,iBAAiB,EACjB,KAAK,wBAAwB,GAC9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChangePinView.d.ts","sourceRoot":"","sources":["../../../../src/NICardManagementComponents/ChangePinView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChangePinView.d.ts","sourceRoot":"","sources":["../../../../src/NICardManagementComponents/ChangePinView.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAIrD,iBAAS,aAAa,CAAC,EACrB,KAAK,EACL,IAAI,EACJ,QAAQ,GACT,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CA2B/B;AACD,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { NIErrorResponse, NIInputInterface, NIConnectionProperties, NIGetCardSuccessResponse } from '../interfaces/NiCardManagementInterfaces';
|
|
2
2
|
export type { NIErrorResponse, NIInputInterface, NIConnectionProperties, NIGetCardSuccessResponse, };
|
|
3
|
+
export type { NIInputInterface as NIBaseInputInterface } from '../interfaces/NiCardManagementInterfaces';
|
|
3
4
|
export * from '../interfaces/NiInputInterfaces';
|
|
4
5
|
//# sourceMappingURL=NiInputInterfaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NiInputInterfaces.d.ts","sourceRoot":"","sources":["../../../../src/NICardManagementComponents/NiInputInterfaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACtB,wBAAwB,EACzB,MAAM,0CAA0C,CAAC;AAClD,YAAY,EACV,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACtB,wBAAwB,GACzB,CAAC;AAEF,cAAc,iCAAiC,CAAC"}
|
|
1
|
+
{"version":3,"file":"NiInputInterfaces.d.ts","sourceRoot":"","sources":["../../../../src/NICardManagementComponents/NiInputInterfaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACtB,wBAAwB,EACzB,MAAM,0CAA0C,CAAC;AAClD,YAAY,EACV,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACtB,wBAAwB,GACzB,CAAC;AAEF,YAAY,EAAE,gBAAgB,IAAI,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAEzG,cAAc,iCAAiC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetPinView.d.ts","sourceRoot":"","sources":["../../../../src/NICardManagementComponents/SetPinView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SetPinView.d.ts","sourceRoot":"","sources":["../../../../src/NICardManagementComponents/SetPinView.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAI/C,iBAAS,UAAU,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CA2BxE;AAED,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerifyPinView.d.ts","sourceRoot":"","sources":["../../../../src/NICardManagementComponents/VerifyPinView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VerifyPinView.d.ts","sourceRoot":"","sources":["../../../../src/NICardManagementComponents/VerifyPinView.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAIrD,iBAAS,aAAa,CAAC,EACrB,KAAK,EACL,IAAI,EACJ,QAAQ,GACT,EAAE,eAAe,GAAG,GAAG,CAAC,OAAO,CA2B/B;AAED,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewPinComponent.d.ts","sourceRoot":"","sources":["../../../../src/NICardManagementComponents/ViewPinComponent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ViewPinComponent.d.ts","sourceRoot":"","sources":["../../../../src/NICardManagementComponents/ViewPinComponent.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAIjD,iBAAS,gBAAgB,CAAC,EACxB,KAAK,EACL,IAAI,EAAE,OAAO,EACb,QAAQ,GACT,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,CAmClC;AAED,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardDetails.d.ts","sourceRoot":"","sources":["../../../../../src/components/CardDetails/CardDetails.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardDetails.d.ts","sourceRoot":"","sources":["../../../../../src/components/CardDetails/CardDetails.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAKnE,wBAAgB,WAAW,CAAC,EAC1B,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,GACR,EAAE,aAAa,GAAG,GAAG,CAAC,OAAO,CAY7B"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type NICardDetailsImage } from '../../interfaces/NiInterfaces';
|
|
3
2
|
export declare function CardDetailsBackgroundImage({ displayAttributes, getCardDetailsResult, isError, }: NICardDetailsImage): JSX.Element;
|
|
4
3
|
//# sourceMappingURL=CardDetailsBackgroundImage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardDetailsBackgroundImage.d.ts","sourceRoot":"","sources":["../../../../../src/components/CardDetails/CardDetailsBackgroundImage.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardDetailsBackgroundImage.d.ts","sourceRoot":"","sources":["../../../../../src/components/CardDetails/CardDetailsBackgroundImage.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAIxE,wBAAgB,0BAA0B,CAAC,EACzC,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,GACR,EAAE,kBAAkB,GAAG,GAAG,CAAC,OAAO,CAqBlC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type NICardDetailsGroups } from '../../interfaces/NiInterfaces';
|
|
3
2
|
export declare function CardDetailsGroups({ displayAttributes, getCardDetailsResult, isError, }: NICardDetailsGroups): JSX.Element;
|
|
4
3
|
//# sourceMappingURL=CardDetailsGroups.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardDetailsGroups.d.ts","sourceRoot":"","sources":["../../../../../src/components/CardDetails/CardDetailsGroups.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardDetailsGroups.d.ts","sourceRoot":"","sources":["../../../../../src/components/CardDetails/CardDetailsGroups.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAUzE,wBAAgB,iBAAiB,CAAC,EAChC,iBAAiB,EACjB,oBAAoB,EACpB,OAAO,GACR,EAAE,mBAAmB,GAAG,GAAG,CAAC,OAAO,CAgGnC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type NICardDetailsCardHolderNameGroups } from '../../interfaces/NiInterfaces';
|
|
3
2
|
export declare function CardDetailsCardHolderNameGroups({ cardholderName, pinContentIndex, cardDetailsVisible, setIsVisibleCopiedButton, displayAttributes, setTimeOut, }: NICardDetailsCardHolderNameGroups): JSX.Element;
|
|
4
3
|
//# sourceMappingURL=CardHolderNameGroups.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardHolderNameGroups.d.ts","sourceRoot":"","sources":["../../../../../src/components/CardDetails/CardHolderNameGroups.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardHolderNameGroups.d.ts","sourceRoot":"","sources":["../../../../../src/components/CardDetails/CardHolderNameGroups.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,KAAK,iCAAiC,EAAE,MAAM,+BAA+B,CAAC;AAMvF,wBAAgB,+BAA+B,CAAC,EAC9C,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,wBAAwB,EACxB,iBAAiB,EACjB,UAAU,GACX,EAAE,iCAAiC,GAAG,GAAG,CAAC,OAAO,CAyEjD"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type NICardDetailsCardNumberGroup } from '../../interfaces/NiInterfaces';
|
|
3
2
|
export declare function CardDetailsCardNumberGroup({ clearPan, maskedPan, pinContentIndex, cardDetailsVisible, setIsVisibleCopiedButton, displayAttributes, setTimeOut, }: NICardDetailsCardNumberGroup): JSX.Element;
|
|
4
3
|
//# sourceMappingURL=CardNumberGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardNumberGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/CardDetails/CardNumberGroup.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardNumberGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/CardDetails/CardNumberGroup.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAMlF,wBAAgB,0BAA0B,CAAC,EACzC,QAAQ,EACR,SAAS,EACT,eAAe,EACf,kBAAkB,EAClB,wBAAwB,EACxB,iBAAiB,EACjB,UAAU,GACX,EAAE,4BAA4B,GAAG,GAAG,CAAC,OAAO,CAwE5C"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { NICardDetailsDateCVVGroupOneRow } from '../../interfaces/NiInterfaces';
|
|
3
2
|
export declare function CardDetailsDateCVVGroupOneRow({ expiry, clearCVV2, pinLabelIndex, pinContentIndex, pinLabel1Index, pinContent1Index, cardDetailsVisible: { cardDetailsVisible, setCardDetailsVisible }, shouldHide, displayAttributes, isError, }: NICardDetailsDateCVVGroupOneRow): JSX.Element;
|
|
4
3
|
//# sourceMappingURL=DateCVVGroupOneRow.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateCVVGroupOneRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/CardDetails/DateCVVGroupOneRow.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DateCVVGroupOneRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/CardDetails/DateCVVGroupOneRow.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AAwBrF,wBAAgB,6BAA6B,CAAC,EAC5C,MAAM,EACN,SAAS,EACT,aAAa,EACb,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,kBAAkB,EAAE,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,EACjE,UAAU,EACV,iBAAiB,EACjB,OAAO,GACR,EAAE,+BAA+B,GAAG,GAAG,CAAC,OAAO,CAgH/C"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type NICurrentCardPin } from '../../interfaces/NiInterfaces';
|
|
3
2
|
export default function CaptureCurrentPin({ setPin: { currentPin, setCurrentPin, pinEditable }, setNextStep: { step, setNextStep }, pinType, language, theme, input, }: NICurrentCardPin): JSX.Element;
|
|
4
3
|
//# sourceMappingURL=CaptureCurrentPin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaptureCurrentPin.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChangePin/CaptureCurrentPin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CaptureCurrentPin.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChangePin/CaptureCurrentPin.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,gBAAgB,EAEtB,MAAM,+BAA+B,CAAC;AAIvC,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,MAAM,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,EAClD,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,EAClC,OAAO,EACP,QAAQ,EACR,KAAK,EACL,KAAK,GACN,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,CAqBhC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type NISetUpNewCardPin } from '../../interfaces/NiInterfaces';
|
|
3
2
|
export default function CaptureNewPin({ setPin: { pin, setPin, pinEditable }, setNextStep: { step, setNextStep }, pinType, language, theme, input, }: NISetUpNewCardPin): JSX.Element;
|
|
4
3
|
//# sourceMappingURL=CaptureNewPin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CaptureNewPin.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChangePin/CaptureNewPin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CaptureNewPin.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChangePin/CaptureNewPin.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,+BAA+B,CAAC;AAIvC,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,WAAW,EAAE,EACpC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,EAClC,OAAO,EACP,QAAQ,EACR,KAAK,EACL,KAAK,GACN,EAAE,iBAAiB,GAAG,GAAG,CAAC,OAAO,CAqBjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChangePin.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChangePin/ChangePin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChangePin.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChangePin/ChangePin.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAc,KAAK,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAS7E,iBAAS,SAAS,CAAC,EACjB,KAAK,EACL,OAAO,EACP,MAAM,EACN,SAAS,EACT,WAAW,EACX,QAAQ,GACT,EAAE,WAAW,GAAG,GAAG,CAAC,OAAO,CAuH3B;AAED,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmPin.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChangePin/ConfirmPin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConfirmPin.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChangePin/ConfirmPin.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAMlE,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,YAAY,GACb,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CA+B5B"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type NIReenterCardPin } from '../../interfaces/NiInterfaces';
|
|
3
2
|
export default function ReenterNewPin({ setPin: { confirmationPin, setConfirmationPin, pin, pinEditable }, setNextStep: { step, onConfirmPin }, pinType, language, theme, input, }: NIReenterCardPin): JSX.Element;
|
|
4
3
|
//# sourceMappingURL=ReenterNewPin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReenterNewPin.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChangePin/ReenterNewPin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReenterNewPin.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChangePin/ReenterNewPin.tsx"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,gBAAgB,EAEtB,MAAM,+BAA+B,CAAC;AAIvC,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,MAAM,EAAE,EAAE,eAAe,EAAE,kBAAkB,EAAE,GAAG,EAAE,WAAW,EAAE,EACjE,WAAW,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,EACnC,OAAO,EACP,QAAQ,EACR,KAAK,EACL,KAAK,GACN,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,CA2BhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NIButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/NIButton/NIButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NIButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/NIButton/NIButton.tsx"],"names":[],"mappings":"AAMA,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,EACA,MAAM,GACN,UAAU,GACV,WAAW,GACX,UAAU,GACV,iBAAiB,GACjB,SAAS,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,iBAAS,QAAQ,CAAC,EAChB,KAAK,EACL,IAAI,EACJ,SAAS,EACT,MAAM,EACN,QAAQ,EACR,OAAO,EACP,OAAO,GACR,EAAE,iBAAiB,GAAG,GAAG,CAAC,OAAO,CAgDjC;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type NICapturePin } from '../../interfaces/NiInterfaces';
|
|
3
2
|
export default function CapturePin({ setPin: { pin, setPin, initialPin, pinEditable }, setNextStep: { step, setNextStep, onConfirmPin }, pinType, title, pinLabel, wrongPinLabel, pinLabelIndex, showHideLabels, theme, input, showPin, }: NICapturePin): JSX.Element;
|
|
4
3
|
//# sourceMappingURL=CapturePin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CapturePin.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pin/CapturePin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CapturePin.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pin/CapturePin.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAGlE,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,EAChD,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,YAAY,EAAE,EAChD,OAAO,EACP,KAAK,EACL,QAAQ,EACR,aAAa,EACb,aAAa,EACb,cAAc,EACd,KAAK,EACL,KAAK,EACL,OAAO,GACR,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CA8L5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NextButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pin/NextButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NextButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pin/NextButton.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,YAAY,EAAc,MAAM,+BAA+B,CAAC;AAE9E,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,EAClC,QAAQ,EACR,KAAK,GACN,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CAiC5B"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type NIShowHideButton } from '../../interfaces/NiInterfaces';
|
|
3
2
|
export default function ShowHide({ setShowHide: { isShowHide, setIsShowHide }, showHideLabels: { show, hide }, theme, }: NIShowHideButton): JSX.Element;
|
|
4
3
|
//# sourceMappingURL=ShowHideButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShowHideButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pin/ShowHideButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ShowHideButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pin/ShowHideButton.tsx"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGtE,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,EAC/B,WAAW,EAAE,EAAE,UAAU,EAAE,aAAa,EAAE,EAC1C,cAAc,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,EAC9B,KAAK,GACN,EAAE,gBAAgB,GAAG,GAAG,CAAC,OAAO,CAiChC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingState.d.ts","sourceRoot":"","sources":["../../../../../src/components/PinState/LoadingState.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LoadingState.d.ts","sourceRoot":"","sources":["../../../../../src/components/PinState/LoadingState.tsx"],"names":[],"mappings":"AAOA,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,SAAS,EACT,KAAK,EACL,aAAa,GACd,EAAE;IACD,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACrC,GAAG,GAAG,CAAC,OAAO,CAcd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PinState.d.ts","sourceRoot":"","sources":["../../../../../src/components/PinState/PinState.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PinState.d.ts","sourceRoot":"","sources":["../../../../../src/components/PinState/PinState.tsx"],"names":[],"mappings":"AAKA,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,KAAK,EACL,aAAa,GACd,EAAE;IACD,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,GAAG,GAAG,CAAC,OAAO,CAiBd;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmPin.d.ts","sourceRoot":"","sources":["../../../../../src/components/SetPin/ConfirmPin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConfirmPin.d.ts","sourceRoot":"","sources":["../../../../../src/components/SetPin/ConfirmPin.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAMlE,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,YAAY,GACb,EAAE,YAAY,GAAG,GAAG,CAAC,OAAO,CA+B5B"}
|