ekyc_cc_sdk 0.0.0-stage → 0.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.
Files changed (51) hide show
  1. package/README.md +31 -2
  2. package/dist-lib/App.d.ts +28 -0
  3. package/dist-lib/App.d.ts.map +1 -0
  4. package/dist-lib/components/CardCaptureGuide.d.ts +11 -0
  5. package/dist-lib/components/CardCaptureGuide.d.ts.map +1 -0
  6. package/dist-lib/components/CardCaptureStep.d.ts +12 -0
  7. package/dist-lib/components/CardCaptureStep.d.ts.map +1 -0
  8. package/dist-lib/components/FigmaIcon.d.ts +11 -0
  9. package/dist-lib/components/FigmaIcon.d.ts.map +1 -0
  10. package/dist-lib/components/LivenessGuideIcons.d.ts +16 -0
  11. package/dist-lib/components/LivenessGuideIcons.d.ts.map +1 -0
  12. package/dist-lib/components/LivenessStep.d.ts +11 -0
  13. package/dist-lib/components/LivenessStep.d.ts.map +1 -0
  14. package/dist-lib/components/LogPanel.d.ts +8 -0
  15. package/dist-lib/components/LogPanel.d.ts.map +1 -0
  16. package/dist-lib/components/ReviewStep.d.ts +21 -0
  17. package/dist-lib/components/ReviewStep.d.ts.map +1 -0
  18. package/dist-lib/components/SessionSetupStep.d.ts +12 -0
  19. package/dist-lib/components/SessionSetupStep.d.ts.map +1 -0
  20. package/dist-lib/components/StepIndicator.d.ts +7 -0
  21. package/dist-lib/components/StepIndicator.d.ts.map +1 -0
  22. package/dist-lib/ekyc_cc_sdk.js +80604 -0
  23. package/dist-lib/hooks/useCamera.d.ts +32 -0
  24. package/dist-lib/hooks/useCamera.d.ts.map +1 -0
  25. package/dist-lib/i18n/I18nContext.d.ts +13 -0
  26. package/dist-lib/i18n/I18nContext.d.ts.map +1 -0
  27. package/dist-lib/i18n/translations.d.ts +127 -0
  28. package/dist-lib/i18n/translations.d.ts.map +1 -0
  29. package/dist-lib/sdk.d.ts +50 -0
  30. package/dist-lib/sdk.d.ts.map +1 -0
  31. package/dist-lib/services/cardDetector.d.ts +37 -0
  32. package/dist-lib/services/cardDetector.d.ts.map +1 -0
  33. package/dist-lib/services/ekycApi.d.ts +69 -0
  34. package/dist-lib/services/ekycApi.d.ts.map +1 -0
  35. package/dist-lib/services/livenessDetector.d.ts +49 -0
  36. package/dist-lib/services/livenessDetector.d.ts.map +1 -0
  37. package/dist-lib/services/videoRecorder.d.ts +22 -0
  38. package/dist-lib/services/videoRecorder.d.ts.map +1 -0
  39. package/dist-lib/types/ekyc.d.ts +72 -0
  40. package/dist-lib/types/ekyc.d.ts.map +1 -0
  41. package/dist-lib/utils/audio.d.ts +5 -0
  42. package/dist-lib/utils/audio.d.ts.map +1 -0
  43. package/dist-lib/utils/bundledAssets.d.ts +6 -0
  44. package/dist-lib/utils/bundledAssets.d.ts.map +1 -0
  45. package/dist-lib/utils/embedContext.d.ts +25 -0
  46. package/dist-lib/utils/embedContext.d.ts.map +1 -0
  47. package/dist-lib/utils/perspectiveWarp.d.ts +52 -0
  48. package/dist-lib/utils/perspectiveWarp.d.ts.map +1 -0
  49. package/dist-lib/utils/publicAsset.d.ts +9 -0
  50. package/dist-lib/utils/publicAsset.d.ts.map +1 -0
  51. package/package.json +51 -4
package/README.md CHANGED
@@ -1,3 +1,32 @@
1
- # Temporary Holding Version
1
+ # eKYC Web Demo
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Ứng dụng web xác thực eKYC chạy hoàn toàn trên trình duyệt (React + TypeScript + Vite), tái sử dụng trực tiếp model TFLite từ Android SDK (`edge-s-cc-fp16.tflite`) và MediaPipe FaceLandmarker.
4
+
5
+ ## Tính năng đã triển khai
6
+
7
+ 1. **Chụp CCCD Mặt trước & Mặt sau (`src/components/CardCaptureStep.tsx`)**
8
+ - Chạy model YOLOv5 FP16 `public/models/edge-s-cc-fp16.tflite` (416×416, 30 classes từ `labels-chip.txt`) qua `@tensorflow/tfjs-tflite` (WASM nội bộ tại `public/wasm/tflite/`).
9
+ - Tự động nhận diện 4 góc thẻ (`tl`, `tr`, `br`, `bl`) và phân loại thẻ (`CCCDCHIP`, `CC`, `CCCD`, `CMND9SO`, `PASSPORT`).
10
+ - Kiểm tra đúng mặt trước/mặt sau, khớp loại thẻ giữa 2 mặt, kiểm tra độ nét (Laplacian variance) và độ ổn định 3 frame liên tiếp -> tự động chụp & nắn phẳng (**homography perspective warp**) ra ảnh chuẩn **`1600 × 1000`** (`1800 × 1000` với Hộ chiếu).
11
+ - Fallback: Khung ướm + nút **Chụp thủ công theo khung** luôn sẵn sàng.
12
+
13
+ 2. **Xác thực Liveness khuôn mặt (`src/components/LivenessStep.tsx`)**
14
+ - Chạy `@mediapipe/tasks-vision` (`FaceLandmarker`, WASM nội bộ tại `public/wasm/mediapipe/`).
15
+ - **Pha 1:** Giữ mặt thẳng trong khung oval -> tự động chụp ảnh chân dung nhìn thẳng (`liveness_img.jpg`).
16
+ - **Pha 2:** Quay **1 video liên tục** (ưu tiên MP4 H.264, fallback WebM) qua **3 thử thách ngẫu nhiên** chọn từ: quay trái, quay phải, cười, chớp mắt, nghiêng trái, nghiêng phải, kèm giọng nói hướng dẫn tiếng Việt (`public/audio/*.mp3`).
17
+ - **Strict mode:** Chỉ cho phép 1 khuôn mặt trong khung, timeout 10s mỗi thử thách; mất mặt / nhiều mặt / hết giờ sẽ reset với bộ thử thách ngẫu nhiên mới.
18
+
19
+ 3. **Chế độ Demo & Tích hợp Server (`src/components/ReviewStep.tsx`, `src/services/ekycApi.ts`)**
20
+ - Mặc định chạy **Demo Mode** (chưa lấy session, chưa gửi dữ liệu lên server): cho phép xem lại, phát lại video liveness, tải từng file về máy và kiểm tra payload `multipart/form-data`.
21
+ - Sẵn hàm `submitEkycToServer()` trong `src/services/ekycApi.ts` khớp 100% contract của Android SDK (`front_img`, `back_img`, `liveness_img`, `liveness_1..3`, `card_type`, `platform: "web"` + API upload `verify_video` riêng kèm `transaction`).
22
+
23
+ ## Chạy local
24
+
25
+ ```bash
26
+ npm install
27
+ npm run dev
28
+ ```
29
+
30
+ Mở `http://localhost:5173` trên trình duyệt.
31
+
32
+ > **Lưu ý khi test trên điện thoại (iOS Safari / Android Chrome):** Trình duyệt yêu cầu **HTTPS** (hoặc `localhost`) để cấp quyền Camera (`getUserMedia`). Có thể dùng `ngrok` / `cloudflared` / reverse proxy HTTPS khi mở từ điện thoại.
@@ -0,0 +1,28 @@
1
+ export interface EkycCompletePayload {
2
+ session?: string;
3
+ transactionId?: string;
4
+ data?: unknown;
5
+ }
6
+ export interface EkycCancelPayload {
7
+ session?: string;
8
+ }
9
+ export interface EkycClosePayload {
10
+ session?: string;
11
+ transactionId?: string;
12
+ data?: unknown;
13
+ }
14
+ export interface EkycAppProps {
15
+ sdkMode?: boolean;
16
+ sessionId?: string;
17
+ apiKey?: string;
18
+ proxyUrl?: string;
19
+ customData?: string;
20
+ debug?: boolean;
21
+ className?: string;
22
+ onComplete?: (payload: EkycCompletePayload) => void;
23
+ onCancel?: (payload: EkycCancelPayload) => void;
24
+ onClose?: (payload: EkycClosePayload) => void;
25
+ }
26
+ export declare function App(props?: EkycAppProps): import("react").JSX.Element;
27
+ export default App;
28
+ //# sourceMappingURL=App.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AAuBA,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,IAAI,CAAC;IACpD,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAChD,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAC/C;AAkDD,wBAAgB,GAAG,CAAC,KAAK,GAAE,YAAiB,+BAmX3C;AAED,eAAe,GAAG,CAAC"}
@@ -0,0 +1,11 @@
1
+ interface CardSideIconProps {
2
+ pose: 'FRONT' | 'BACK';
3
+ className?: string;
4
+ }
5
+ export declare function CardSideIcon({ pose, className }: CardSideIconProps): import("react").JSX.Element;
6
+ interface CardCaptureGuideProps {
7
+ expectedPose: 'FRONT' | 'BACK';
8
+ }
9
+ export declare function CardCaptureGuide({ expectedPose }: CardCaptureGuideProps): import("react").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=CardCaptureGuide.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardCaptureGuide.d.ts","sourceRoot":"","sources":["../../src/components/CardCaptureGuide.tsx"],"names":[],"mappings":"AAEA,UAAU,iBAAiB;IACzB,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,SAAsB,EAAE,EAAE,iBAAiB,+BAuC/E;AAED,UAAU,qBAAqB;IAC7B,YAAY,EAAE,OAAO,GAAG,MAAM,CAAC;CAChC;AAED,wBAAgB,gBAAgB,CAAC,EAAE,YAAY,EAAE,EAAE,qBAAqB,+BAwEvE"}
@@ -0,0 +1,12 @@
1
+ import type { CapturedCard, NationalIdType } from '../types/ekyc';
2
+ interface CardCaptureStepProps {
3
+ expectedPose: 'FRONT' | 'BACK';
4
+ frontCardType?: NationalIdType;
5
+ muted?: boolean;
6
+ isDebugMode?: boolean;
7
+ onConfirm: (card: CapturedCard) => void;
8
+ onBack?: () => void;
9
+ }
10
+ export declare function CardCaptureStep({ expectedPose, frontCardType, muted, isDebugMode, onConfirm, onBack, }: CardCaptureStepProps): import("react").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=CardCaptureStep.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardCaptureStep.d.ts","sourceRoot":"","sources":["../../src/components/CardCaptureStep.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EACV,YAAY,EAGZ,cAAc,EACf,MAAM,eAAe,CAAC;AAWvB,UAAU,oBAAoB;IAC5B,YAAY,EAAE,OAAO,GAAG,MAAM,CAAC;IAC/B,aAAa,CAAC,EAAE,cAAc,CAAC;IAC/B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAkBD,wBAAgB,eAAe,CAAC,EAC9B,YAAY,EACZ,aAAa,EACb,KAAa,EACb,WAAmB,EACnB,SAAS,EACT,MAAM,GACP,EAAE,oBAAoB,+BAotBtB"}
@@ -0,0 +1,11 @@
1
+ interface FigmaIconProps {
2
+ src: string;
3
+ className?: string;
4
+ }
5
+ /**
6
+ * Renders any exported Figma SVG using CSS mask-image so Tailwind `text-*` colors
7
+ * tint the icon cleanly on dark backgrounds.
8
+ */
9
+ export declare function FigmaIcon({ src, className }: FigmaIconProps): import("react").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=FigmaIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FigmaIcon.d.ts","sourceRoot":"","sources":["../../src/components/FigmaIcon.tsx"],"names":[],"mappings":"AAEA,UAAU,cAAc;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,EAAE,GAAG,EAAE,SAAqB,EAAE,EAAE,cAAc,+BAkBvE"}
@@ -0,0 +1,16 @@
1
+ import type { LivenessActionType } from '../types/ekyc';
2
+ interface FaceSilhouetteOverlayProps {
3
+ tone: 'idle' | 'active' | 'good' | 'error';
4
+ }
5
+ /**
6
+ * Aspect-locked (11:14) human face silhouette guide with dark vignette outside.
7
+ * Uses preserveAspectRatio="xMidYMid meet" so it never stretches horizontally.
8
+ */
9
+ export declare function FaceSilhouetteOverlay({ tone }: FaceSilhouetteOverlayProps): import("react").JSX.Element;
10
+ export declare function LivenessPreStartGuide(): import("react").JSX.Element;
11
+ interface LivenessActionIllustrationProps {
12
+ action: LivenessActionType;
13
+ }
14
+ export declare function LivenessActionIllustration({ action }: LivenessActionIllustrationProps): import("react").JSX.Element;
15
+ export {};
16
+ //# sourceMappingURL=LivenessGuideIcons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LivenessGuideIcons.d.ts","sourceRoot":"","sources":["../../src/components/LivenessGuideIcons.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD,UAAU,0BAA0B;IAClC,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;CAC5C;AAYD;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,EAAE,IAAI,EAAE,EAAE,0BAA0B,+BA0CzE;AAED,wBAAgB,qBAAqB,gCA6BpC;AAED,UAAU,+BAA+B;IACvC,MAAM,EAAE,kBAAkB,CAAC;CAC5B;AAED,wBAAgB,0BAA0B,CAAC,EAAE,MAAM,EAAE,EAAE,+BAA+B,+BA0FrF"}
@@ -0,0 +1,11 @@
1
+ import { type LivenessResult } from '../types/ekyc';
2
+ interface LivenessStepProps {
3
+ muted: boolean;
4
+ isDebugMode?: boolean;
5
+ onToggleMute: () => void;
6
+ onComplete: (result: LivenessResult) => void;
7
+ onBack: () => void;
8
+ }
9
+ export declare function LivenessStep({ muted, isDebugMode, onToggleMute, onComplete, onBack, }: LivenessStepProps): import("react").JSX.Element;
10
+ export {};
11
+ //# sourceMappingURL=LivenessStep.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LivenessStep.d.ts","sourceRoot":"","sources":["../../src/components/LivenessStep.tsx"],"names":[],"mappings":"AAuBA,OAAO,EAIL,KAAK,cAAc,EACpB,MAAM,eAAe,CAAC;AAavB,UAAU,iBAAiB;IACzB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB,UAAU,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;IAC7C,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB;AA+BD,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,WAAmB,EACnB,YAAY,EACZ,UAAU,EACV,MAAM,GACP,EAAE,iBAAiB,+BAyoBnB"}
@@ -0,0 +1,8 @@
1
+ import type { EkycLogEntry } from '../types/ekyc';
2
+ interface LogPanelProps {
3
+ logs: EkycLogEntry[];
4
+ onClear: () => void;
5
+ }
6
+ export declare function LogPanel({ logs, onClear }: LogPanelProps): import("react").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=LogPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogPanel.d.ts","sourceRoot":"","sources":["../../src/components/LogPanel.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAElD,UAAU,aAAa;IACrB,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AASD,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,aAAa,+BA+DxD"}
@@ -0,0 +1,21 @@
1
+ import { type EmbedContext } from '../utils/embedContext';
2
+ import { type EkycSubmitResult } from '../services/ekycApi';
3
+ import type { EkycSessionData, EkycStep } from '../types/ekyc';
4
+ interface ReviewStepProps {
5
+ session: EkycSessionData;
6
+ initialSessionId?: string;
7
+ initialApiKey?: string;
8
+ initialProxyUrl?: string;
9
+ customData?: string;
10
+ isDebugMode?: boolean;
11
+ sdkMode?: boolean;
12
+ embedContext?: EmbedContext;
13
+ onComplete?: (result: EkycSubmitResult) => void;
14
+ onClose?: (result?: EkycSubmitResult) => void;
15
+ onLog?: (level: 'info' | 'success' | 'warn' | 'error', step: string, message: string, detail?: string) => void;
16
+ onJumpToStep: (step: EkycStep) => void;
17
+ onRestart: () => void;
18
+ }
19
+ export declare function ReviewStep({ session, initialSessionId, initialApiKey, initialProxyUrl, customData, isDebugMode, sdkMode, embedContext, onComplete, onClose, onLog, onJumpToStep, onRestart, }: ReviewStepProps): import("react").JSX.Element;
20
+ export {};
21
+ //# sourceMappingURL=ReviewStep.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReviewStep.d.ts","sourceRoot":"","sources":["../../src/components/ReviewStep.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAKL,KAAK,gBAAgB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAE/D,UAAU,eAAe;IACvB,OAAO,EAAE,eAAe,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAChD,OAAO,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC9C,KAAK,CAAC,EAAE,CACN,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,EAC5C,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,MAAM,KACZ,IAAI,CAAC;IACV,YAAY,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACvC,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AA0CD,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,gBAAqB,EACrB,aAAkB,EAClB,eAAoB,EACpB,UAAe,EACf,WAAmB,EACnB,OAAe,EACf,YAKC,EACD,UAAU,EACV,OAAO,EACP,KAAK,EACL,YAAY,EACZ,SAAS,GACV,EAAE,eAAe,+BAkkBjB"}
@@ -0,0 +1,12 @@
1
+ interface SessionSetupStepProps {
2
+ onStartDebugFlow: (params: {
3
+ sessionId: string;
4
+ apiKey: string;
5
+ proxyUrl: string;
6
+ customData: string;
7
+ }) => void;
8
+ onLog: (level: 'info' | 'success' | 'warn' | 'error', step: string, message: string, detail?: string) => void;
9
+ }
10
+ export declare function SessionSetupStep({ onStartDebugFlow, onLog }: SessionSetupStepProps): import("react").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=SessionSetupStep.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SessionSetupStep.d.ts","sourceRoot":"","sources":["../../src/components/SessionSetupStep.tsx"],"names":[],"mappings":"AAIA,UAAU,qBAAqB;IAC7B,gBAAgB,EAAE,CAAC,MAAM,EAAE;QACzB,SAAS,EAAE,MAAM,CAAC;QAClB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;KACpB,KAAK,IAAI,CAAC;IACX,KAAK,EAAE,CACL,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,EAC5C,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,MAAM,KACZ,IAAI,CAAC;CACX;AAED,wBAAgB,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,KAAK,EAAE,EAAE,qBAAqB,+BAsHlF"}
@@ -0,0 +1,7 @@
1
+ import type { EkycStep } from '../types/ekyc';
2
+ interface StepIndicatorProps {
3
+ currentStep: EkycStep;
4
+ }
5
+ export declare function StepIndicator({ currentStep }: StepIndicatorProps): import("react").JSX.Element | null;
6
+ export {};
7
+ //# sourceMappingURL=StepIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StepIndicator.d.ts","sourceRoot":"","sources":["../../src/components/StepIndicator.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAG9C,UAAU,kBAAkB;IAC1B,WAAW,EAAE,QAAQ,CAAC;CACvB;AAED,wBAAgB,aAAa,CAAC,EAAE,WAAW,EAAE,EAAE,kBAAkB,sCAwFhE"}