diff --git a/infrastructure/eid-wallet/src/routes/(app)/settings/+page.svelte b/infrastructure/eid-wallet/src/routes/(app)/settings/+page.svelte index 8559d46d..70a671c1 100644 --- a/infrastructure/eid-wallet/src/routes/(app)/settings/+page.svelte +++ b/infrastructure/eid-wallet/src/routes/(app)/settings/+page.svelte @@ -146,59 +146,63 @@ $effect(() => { - -
-

- ⚠️ Delete Account Warning -

-

- Are you sure you want to delete your account? This action will: -

- -
- Cancel - Continue +{#if isDeleteConfirmationOpen} + +
+

+ ⚠️ Delete Account Warning +

+

+ Are you sure you want to delete your account? This action will: +

+
    +
  • • Permanently delete all your personal data
  • +
  • • Remove your ePassport and eVault access
  • +
  • • Delete your eName and all associated credentials
  • +
  • • Make your data inaccessible within 24 hours
  • +
  • • This action cannot be undone
  • +
+
+ Cancel + Continue +
-
- + +{/if} - -
-

- 🚨 Final Confirmation -

-

- This is your final warning. Once you confirm: -

-
-

- All your data will be permanently deleted and you will lose - access to your ePassport, eVault, and eName forever. +{#if isFinalConfirmationOpen} + +

+

+ 🚨 Final Confirmation +

+

+ This is your final warning. Once you confirm:

+
+

+ All your data will be permanently deleted and you will lose + access to your ePassport, eVault, and eName forever. +

+
+

+ Are you absolutely certain you want to proceed? +

+
+ Cancel + Delete +
-

- Are you absolutely certain you want to proceed? -

-
- Cancel - Delete -
-
- + +{/if} diff --git a/infrastructure/eid-wallet/src/routes/(auth)/onboarding/+page.svelte b/infrastructure/eid-wallet/src/routes/(auth)/onboarding/+page.svelte index cbbb7e2a..d2f784c9 100644 --- a/infrastructure/eid-wallet/src/routes/(auth)/onboarding/+page.svelte +++ b/infrastructure/eid-wallet/src/routes/(auth)/onboarding/+page.svelte @@ -302,8 +302,8 @@ onMount(async () => { >

- @@ -349,8 +349,11 @@ onMount(async () => { placeholder="Enter your demo name for ePassport" />
- ContinueContinue
{:else} @@ -365,69 +368,70 @@ onMount(async () => { placeholder="Enter verification code" />
- NextNext
{/if} - {:else} - {#if checkingHardware} -
-
- -

Checking device capabilities...

-
+ {:else if checkingHardware} +
+
+ +

Checking device capabilities...

- {:else if showHardwareError} -

- Hardware Security Not Available -

-

- Your phone doesn't support hardware crypto keys, which is a requirement for verified IDs. -

-

- Please use the pre-verification code option to create a demo account instead. -

-
- { - isPaneOpen = false; - handlePreVerified(); - }} - > - Use Pre-Verification Code - +
+ {:else if showHardwareError} +

+ Hardware Security Not Available +

+

+ Your phone doesn't support hardware crypto keys, which is a + requirement for verified IDs. +

+

+ Please use the pre-verification code option to create a demo account + instead. +

+
+ { + isPaneOpen = false; + handlePreVerified(); + }} + > + Use Pre-Verification Code + +
+ {:else if loading} +
+
+ +

Initializing security keys...

- {:else} - {#if loading} -
-
- -

Initializing security keys...

-
-
- {:else} -

- Your Digital Self begins with the Real You -

-

- In the Web 3.0 Data Space, identity is linked to reality. We begin - by verifying your real-world passport, which serves as the - foundation for issuing your secure ePassport. At the same time, we - generate your eName – a unique digital identifier – and create your - eVault to store and protect your personal data. -

-
- Next -
- {/if} - {/if} +
+ {:else} +

+ Your Digital Self begins with the Real You +

+

+ In the Web 3.0 Data Space, identity is linked to reality. We begin + by verifying your real-world passport, which serves as the + foundation for issuing your secure ePassport. At the same time, we + generate your eName – a unique digital identifier – and create your + eVault to store and protect your personal data. +

+
+ Next +
{/if} diff --git a/platforms/blabsy/src/components/input/image-preview.tsx b/platforms/blabsy/src/components/input/image-preview.tsx index e35afc91..6ecf5c33 100644 --- a/platforms/blabsy/src/components/input/image-preview.tsx +++ b/platforms/blabsy/src/components/input/image-preview.tsx @@ -67,9 +67,9 @@ export function ImagePreview({ type: img.type })) }); - + const processed = combineBase64Images(imagesPreview); - + console.log('[ImagePreview] Processed images:', { originalCount: imagesPreview?.length || 0, processedCount: processed.length, @@ -82,7 +82,7 @@ export function ImagePreview({ type: img.type })) }); - + return processed; }, [imagesPreview]); diff --git a/platforms/blabsy/src/lib/utils/image-utils.ts b/platforms/blabsy/src/lib/utils/image-utils.ts index 70128f6f..7f4ab678 100644 --- a/platforms/blabsy/src/lib/utils/image-utils.ts +++ b/platforms/blabsy/src/lib/utils/image-utils.ts @@ -42,7 +42,10 @@ export function combineBase64Images( } else { // Handle odd number of images (last item) if (dataPart) { - if (dataPart.src.startsWith('data:') && !dataPart.src.includes(',')) { + if ( + dataPart.src.startsWith('data:') && + !dataPart.src.includes(',') + ) { // Incomplete base64 image, skip it } else { result.push(dataPart);